From aabdcc0e1f4fa81c2c7e97e0a793ed3e4bc681d6 Mon Sep 17 00:00:00 2001 From: Ben Greear Date: Mon, 22 Feb 2021 15:43:12 -0800 Subject: [PATCH 01/45] skd-set-profile: Only remove profile if cmd-line-arg is given Otherwise, leave it set up so we can actually use the settings. Default sleep-time to 0 since the longer sleep time was just a hack to work around bugs in the cloud/ap. --- tools/sdk_set_profile.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/tools/sdk_set_profile.py b/tools/sdk_set_profile.py index dedc15452..1f622195b 100755 --- a/tools/sdk_set_profile.py +++ b/tools/sdk_set_profile.py @@ -31,6 +31,8 @@ def main(): help="Should we skip the WPA2 ssid or not", default=False) parser.add_argument("--skip-profiles", dest="skip_profiles", action='store_true', help="Should we skip creating new ssid profiles?", default=False) + parser.add_argument("--cleanup-profile", dest="cleanup_profile", action='store_true', + help="Should we clean up profiles after creating them?", default=False) parser.add_argument("--psk-5g-wpa2", dest="psk_5g_wpa2", type=str, help="Allow over-riding the 5g-wpa2 PSK value.") @@ -54,7 +56,7 @@ def main(): help="Mode of AP Profile [bridge/nat/vlan]", required=True) parser.add_argument("--sleep-after-profile", dest="sleep", type=int, - help="Enter the sleep interval delay between each profile push", required=False, default=5000) + help="Enter the sleep interval delay in ms between each profile push. Default is 0", required=False, default=0) # Not implemented yet. #parser.add_argument("--rf-mode", type=str, # choices=["modeN", "modeAC", "modeGN", "modeX", "modeA", "modeB", "modeG", "modeAB"], @@ -206,8 +208,10 @@ def main(): time.sleep(sleep) ap_object.create_ap_profile(eq_id=equipment_id, fw_model=fw_model, mode=args.mode) ap_object.validate_changes(mode=args.mode) - time.sleep(5) - ap_object.cleanup_profile(equipment_id=equipment_id) + if args.cleanup_profile: + time.sleep(5) + print("Removing profile...") + ap_object.cleanup_profile(equipment_id=equipment_id) print("Profiles Created") From 0542064739082d5f024aaf65f91f0de57c9ce58d Mon Sep 17 00:00:00 2001 From: Ben Greear Date: Tue, 23 Feb 2021 13:35:16 -0800 Subject: [PATCH 02/45] Add support for cig194c DUT type. And example for configuring it in nola-15 testbed. Signed-off-by: Ben Greear --- tests/UnitTestBase.py | 2 +- tools/USAGE_EXAMPLES.txt | 11 ++++++++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/tests/UnitTestBase.py b/tests/UnitTestBase.py index 7f2d76c34..d791c9a8a 100644 --- a/tests/UnitTestBase.py +++ b/tests/UnitTestBase.py @@ -103,7 +103,7 @@ def add_base_parse_args(parser): help="Force upgrading firmware even if it is already current version", default=False) parser.add_argument("-m", "--model", type=str, - choices=['ea8300', 'ecw5410', 'ecw5211', 'ec420', 'wf188n', 'eap102', 'None'], + choices=['ea8300', 'ecw5410', 'ecw5211', 'ec420', 'wf188n', 'eap102', 'eap101', 'cig194c', 'None'], help="AP model to be run", required=True) parser.add_argument("--equipment-id", type=str, help="AP model ID, as exists in the cloud-sdk. -1 to auto-detect.", diff --git a/tools/USAGE_EXAMPLES.txt b/tools/USAGE_EXAMPLES.txt index 26de00b41..e6594614a 100644 --- a/tools/USAGE_EXAMPLES.txt +++ b/tools/USAGE_EXAMPLES.txt @@ -111,16 +111,21 @@ Testbed 12 (Basic, wf188n) Testbed-15 -# Set AP profile on NOLA-15 +# Set AP profile on NOLA-15 (ap-1) ./sdk_set_profile.py --testrail-user-id NONE --model ecw5410 --ap-jumphost-address localhost --ap-jumphost-port 8953 \ --ap-jumphost-password pumpkin77 --ap-jumphost-tty /dev/ttyAP4 --lanforge-ip-address localhost --lanforge-port-number 8952 \ --default-ap-profile TipWlan-2-Radios --sdk-base-url https://wlan-portal-svc-nola-15.cicd.lab.wlan.tip.build \ --skip-radius --skip-wpa --verbose --testbed "NOLA-15" --ssid-5g-wpa2 Default-SSID-5gl --psk-5g-wpa2 12345678 \ --ssid-2g-wpa2 Default-SSID-2g --psk-2g-wpa2 12345678 --mode bridge -# Update firmware +# Update firmware (ap-1) ./sdk_upgrade_fw.py --testrail-user-id NONE --model ecw5410 --ap-jumphost-address localhost --ap-jumphost-port 8953 \ --ap-jumphost-password pumpkin77 --ap-jumphost-tty /dev/ttyAP4 --testbed \"NOLA-15\" \ --sdk-base-url https://wlan-portal-svc-nola-15.cicd.lab.wlan.tip.build --force-upgrade true - +# Set AP profile on NOLA-15 (ap-2, cig194c) +./sdk_set_profile.py --testrail-user-id NONE --model cig194c --ap-jumphost-address localhost --ap-jumphost-port 8953 \ + --ap-jumphost-password pumpkin77 --ap-jumphost-tty /dev/ttyAP5 --lanforge-ip-address localhost --lanforge-port-number 8952 \ + --default-ap-profile TipWlan-2-Radios --sdk-base-url https://wlan-portal-svc-nola-15.cicd.lab.wlan.tip.build \ + --skip-radius --skip-wpa --verbose --testbed "NOLA-15b" --ssid-5g-wpa2 Default-SSID-5gl-cig --psk-5g-wpa2 12345678 \ + --ssid-2g-wpa2 Default-SSID-2g-cig --psk-2g-wpa2 12345678 --mode bridge From 5b6645d2a55ab81ddf61d030bb06dc5e0acbf817 Mon Sep 17 00:00:00 2001 From: bealler Date: Tue, 23 Feb 2021 16:44:01 -0500 Subject: [PATCH 03/45] Add cicd_sanity scripts to repo --- tests/cicd_sanity/ap_connect.py | 187 +++ tests/cicd_sanity/cicd_sanity.py | 2061 ++++++++++++++++++++++++++ tests/cicd_sanity/cloud_connect.py | 292 ++++ tests/cicd_sanity/sanity_status.json | 1 + tests/cicd_sanity/test_info.py | 291 ++++ tests/cicd_sanity/testrail.py | 194 +++ 6 files changed, 3026 insertions(+) create mode 100644 tests/cicd_sanity/ap_connect.py create mode 100755 tests/cicd_sanity/cicd_sanity.py create mode 100755 tests/cicd_sanity/cloud_connect.py create mode 100755 tests/cicd_sanity/sanity_status.json create mode 100755 tests/cicd_sanity/test_info.py create mode 100644 tests/cicd_sanity/testrail.py diff --git a/tests/cicd_sanity/ap_connect.py b/tests/cicd_sanity/ap_connect.py new file mode 100644 index 000000000..5e9aa60ed --- /dev/null +++ b/tests/cicd_sanity/ap_connect.py @@ -0,0 +1,187 @@ +################################################################################## +# Module contains functions to get specific data from AP CLI using SSH +# +# Used by Nightly_Sanity and Throughput_Test ##################################### +################################################################################## + +import paramiko +from paramiko import SSHClient +import socket +import os +import subprocess + +owrt_args = "--prompt root@OpenAp -s serial --log stdout --user root --passwd openwifi" + +def ssh_cli_active_fw(ap_ip, username, password): + print(ap_ip) + try: + if 'tty' in ap_ip: + print("AP is connected using serial cable") + ap_cmd = '/usr/opensync/bin/ovsh s AWLAN_Node -c | grep FW_IMAGE_ACTIVE' + cmd = "cd ../../lanforge/lanforge-scripts && python3 openwrt_ctl.py %s -t %s --action cmd --value \"%s\""%(owrt_args, ap_ip, ap_cmd) + with subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True) as p: + output, errors = p.communicate() + version_matrix = str(output.decode('utf-8').splitlines()) + version_matrix_split = version_matrix.partition('FW_IMAGE_ACTIVE","')[2] + cli_active_fw = version_matrix_split.partition('"],[')[0] + print(cli_active_fw) + + ap_cmd = '/usr/opensync/bin/ovsh s Manager -c | grep status' + cmd = "ap_connectcd ../../lanforge/lanforge-scripts && python3 openwrt_ctl.py %s -t %s --action cmd --value \"%s\"" % (owrt_args, ap_ip, ap_cmd) + with subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True) as p: + output, errors = p.communicate() + status = str(output.decode('utf-8').splitlines()) + + else: + print("AP is accessible by SSH") + client = paramiko.SSHClient() + client.set_missing_host_key_policy(paramiko.AutoAddPolicy()) + client.connect(ap_ip, username=username, password=password, timeout=5) + stdin, stdout, stderr = client.exec_command('/usr/opensync/bin/ovsh s AWLAN_Node -c | grep FW_IMAGE_ACTIVE') + version_matrix = str(stdout.read(), 'utf-8') + err = str(stderr.read(), 'utf-8') + #print("version-matrix: %s stderr: %s" % (version_matrix, err)) + version_matrix_split = version_matrix.partition('FW_IMAGE_ACTIVE","')[2] + cli_active_fw = version_matrix_split.partition('"],[')[0] + stdin, stdout, stderr = client.exec_command('/usr/opensync/bin/ovsh s Manager -c | grep status') + status = str(stdout.read(), 'utf-8') + + + print("status: %s" %(status)) + + if "ACTIVE" in status: + # print("AP is in Active state") + state = "active" + elif "BACKOFF" in status: + # print("AP is in Backoff state") + state = "backoff" + else: + # print("AP is not in Active state") + state = "unknown" + + cli_info = { + "state": state, + "active_fw": cli_active_fw + } + + return (cli_info) + + except paramiko.ssh_exception.AuthenticationException: + print("Authentication Error, Check Credentials") + return "ERROR" + except paramiko.SSHException: + print("Cannot SSH to the AP") + return "ERROR" + except socket.timeout: + print("AP Unreachable") + return "ERROR" + +def iwinfo_status(ap_ip, username, password): + try: + if 'tty' in ap_ip: + ap_cmd = 'iwinfo | grep ESSID' + cmd = "ap_connectcd ../../lanforge/lanforge-scripts && python3 openwrt_ctl.py %s -t %s --action cmd --value \"%s\"" % ( + owrt_args, ap_ip, ap_cmd) + with subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True) as p: + output, errors = p.communicate() + for line in output.decode('utf-8').splitlines(): + print(line) + + else: + client = paramiko.SSHClient() + client.set_missing_host_key_policy(paramiko.AutoAddPolicy()) + client.connect(ap_ip, username=username, password=password, timeout=5) + stdin, stdout, stderr = client.exec_command('iwinfo | grep ESSID') + + for line in stdout.read().splitlines(): + print(line) + + except paramiko.ssh_exception.AuthenticationException: + print("Authentication Error, Check Credentials") + return "ERROR" + except paramiko.SSHException: + print("Cannot SSH to the AP") + return "ERROR" + except socket.timeout: + print("AP Unreachable") + return "ERROR" + +def get_vif_config(ap_ip, username, password): + try: + if 'tty' in ap_ip: + ap_cmd = "/usr/opensync/bin/ovsh s Wifi_VIF_Config -c | grep 'ssid :'" + cmd = "ap_connectcd ../../lanforge/lanforge-scripts && python3 openwrt_ctl.py %s -t %s --action cmd --value \"%s\"" % ( + owrt_args, ap_ip, ap_cmd) + with subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True) as p: + output, errors = p.communicate() + ssid_output_raw = output.decode('utf-8').splitlines() + raw = output.decode('utf-8').splitlines() + ssid_output = [] + for line in raw: + if 'ssid :' in line: + ssid_output.append(line) + print(ssid_output) + ssid_list = [s.replace('ssid : ','') for s in ssid_output] + return ssid_list + else: + client = paramiko.SSHClient() + client.set_missing_host_key_policy(paramiko.AutoAddPolicy()) + client.connect(ap_ip, username=username, password=password, timeout=5) + stdin, stdout, stderr = client.exec_command( + "/usr/opensync/bin/ovsh s Wifi_VIF_Config -c | grep 'ssid :'") + + output = str(stdout.read(), 'utf-8') + ssid_output = output.splitlines() + + ssid_list = [s.strip('ssid : ') for s in ssid_output] + return ssid_list + + except paramiko.ssh_exception.AuthenticationException: + print("Authentication Error, Check Credentials") + return "ERROR" + except paramiko.SSHException: + print("Cannot SSH to the AP") + return "ERROR" + except socket.timeout: + print("AP Unreachable") + return "ERROR" + +def get_vif_state(ap_ip, username, password): + try: + if 'tty' in ap_ip: + ap_cmd = "/usr/opensync/bin/ovsh s Wifi_VIF_State -c | grep 'ssid :'" + cmd = "ap_connectcd ../../lanforge/lanforge-scripts && python3 openwrt_ctl.py %s -t %s --action cmd --value \"%s\"" % ( + owrt_args, ap_ip, ap_cmd) + with subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True) as p: + output, errors = p.communicate() + ssid_output_raw = output.decode('utf-8').splitlines() + raw = output.decode('utf-8').splitlines() + ssid_output = [] + for line in raw: + if 'ssid :' in line: + ssid_output.append(line) + print(ssid_output) + ssid_list = [s.replace('ssid : ','') for s in ssid_output] + return ssid_list + else: + client = paramiko.SSHClient() + client.set_missing_host_key_policy(paramiko.AutoAddPolicy()) + client.connect(ap_ip, username=username, password=password, timeout=5) + stdin, stdout, stderr = client.exec_command( + "/usr/opensync/bin/ovsh s Wifi_VIF_State -c | grep 'ssid :'") + + output = str(stdout.read(), 'utf-8') + ssid_output = output.splitlines() + + ssid_list = [s.strip('ssid : ') for s in ssid_output] + return ssid_list + + except paramiko.ssh_exception.AuthenticationException: + print("Authentication Error, Check Credentials") + return "ERROR" + except paramiko.SSHException: + print("Cannot SSH to the AP") + return "ERROR" + except socket.timeout: + print("AP Unreachable") + return "ERROR" diff --git a/tests/cicd_sanity/cicd_sanity.py b/tests/cicd_sanity/cicd_sanity.py new file mode 100755 index 000000000..da8902bc7 --- /dev/null +++ b/tests/cicd_sanity/cicd_sanity.py @@ -0,0 +1,2061 @@ +#!/usr/bin/python3 + +import base64 +import urllib.request +from bs4 import BeautifulSoup +import ssl +import subprocess, os +from artifactory import ArtifactoryPath +import tarfile +import paramiko +from paramiko import SSHClient +from scp import SCPClient +import os +import pexpect +from pexpect import pxssh +import sys +import paramiko +from scp import SCPClient +import pprint +from pprint import pprint +from os import listdir +import re +import requests +import json +import testrail +import logging +import datetime +import time +from datetime import date +from shutil import copyfile +import argparse +import importlib + +# For finding files +# https://stackoverflow.com/questions/3207219/how-do-i-list-all-files-of-a-directory +import glob + +# external_results_dir=/var/tmp/lanforge + +if sys.version_info[0] != 3: + print("This script requires Python 3") + exit(1) +for folder in 'py-json', 'py-scripts': + if folder not in sys.path: + sys.path.append(f'../../lanforge/lanforge-scripts/{folder}') + +sys.path.append(f'../../libs/lanforge') +#sys.path.append(f'../../libs/testrails') +#sys.path.append(f'../../libs/apnos') +#sys.path.append(f'../../libs/cloudsdk') +sys.path.append(f'../../libs') +#sys.path.append(f'../test_utility/') +sys.path.append(f'../') + +from LANforge.LFUtils import * + +# if you lack __init__.py in this directory you will not find sta_connect module# + +if 'py-json' not in sys.path: + sys.path.append('../../py-scripts') + +import sta_connect2 +from sta_connect2 import StaConnect2 +import testrail +from testrail import APIClient +import eap_connect +from eap_connect import EAPConnect +import cloud_connect +from cloud_connect import CloudSDK +import ap_connect +from ap_connect import ssh_cli_active_fw +from ap_connect import iwinfo_status + +###Class for jfrog Interaction +class GetBuild: + def __init__(self): + self.user = jfrog_user + self.password = jfrog_pwd + ssl._create_default_https_context = ssl._create_unverified_context + + def get_latest_image(self, url, build): + auth = str( + base64.b64encode( + bytes('%s:%s' % (self.user, self.password), 'utf-8') + ), + 'ascii' + ).strip() + headers = {'Authorization': 'Basic ' + auth} + + ''' FIND THE LATEST FILE NAME''' + # print(url) + req = urllib.request.Request(url, headers=headers) + response = urllib.request.urlopen(req) + html = response.read() + soup = BeautifulSoup(html, features="html.parser") + ##find the last pending link on dev + last_link = soup.find_all('a', href=re.compile(build))[-1] + latest_file = last_link['href'] + latest_fw = latest_file.replace('.tar.gz', '') + return latest_fw + + +###Class for Tests +class RunTest: + def Single_Client_Connectivity(self, port, radio, prefix, ssid_name, ssid_psk, security, station, test_case, rid): + '''SINGLE CLIENT CONNECTIVITY using test_connect2.py''' + staConnect = StaConnect2(lanforge_ip, 8080, debug_=False) + staConnect.sta_mode = 0 + staConnect.upstream_resource = 1 + staConnect.upstream_port = port + staConnect.radio = radio + staConnect.resource = 1 + staConnect.dut_ssid = ssid_name + staConnect.dut_passwd = ssid_psk + staConnect.dut_security = security + staConnect.station_names = station + staConnect.sta_prefix = prefix + staConnect.runtime_secs = 10 + staConnect.bringup_time_sec = 60 + staConnect.cleanup_on_exit = True + # staConnect.cleanup() + staConnect.setup() + staConnect.start() + print("napping %f sec" % staConnect.runtime_secs) + time.sleep(staConnect.runtime_secs) + staConnect.stop() + staConnect.cleanup() + run_results = staConnect.get_result_list() + for result in run_results: + print("test result: " + result) + # result = 'pass' + print("Single Client Connectivity :", staConnect.passes) + if staConnect.passes() == True: + print("Single client connection to", ssid_name, "successful. Test Passed") + client.update_testrail(case_id=test_case, run_id=rid, status_id=1, msg='Client connectivity passed') + logger.info("Client connectivity to " + ssid_name + " Passed") + return ("passed") + else: + client.update_testrail(case_id=test_case, run_id=rid, status_id=5, msg='Client connectivity failed') + print("Single client connection to", ssid_name, "unsuccessful. Test Failed") + logger.warning("Client connectivity to " + ssid_name + " FAILED") + return ("failed") + + def Single_Client_EAP(port, sta_list, ssid_name, radio, sta_prefix, security, eap_type, identity, ttls_password, test_case, + rid): + eap_connect = EAPConnect(lanforge_ip, 8080, _debug_on=False) + eap_connect.upstream_resource = 1 + eap_connect.upstream_port = port + eap_connect.security = security + eap_connect.sta_list = sta_list + eap_connect.station_names = sta_list + eap_connect.sta_prefix = sta_prefix + eap_connect.ssid = ssid_name + eap_connect.radio = radio + eap_connect.eap = eap_type + eap_connect.identity = identity + eap_connect.ttls_passwd = ttls_password + eap_connect.runtime_secs = 10 + eap_connect.setup() + eap_connect.start() + print("napping %f sec" % eap_connect.runtime_secs) + time.sleep(eap_connect.runtime_secs) + eap_connect.stop() + eap_connect.cleanup() + run_results = eap_connect.get_result_list() + for result in run_results: + print("test result: " + result) + # result = 'pass' + print("Single Client Connectivity :", eap_connect.passes) + if eap_connect.passes() == True: + print("Single client connection to", ssid_name, "successful. Test Passed") + client.update_testrail(case_id=test_case, run_id=rid, status_id=1, msg='Client connectivity passed') + logger.info("Client connectivity to " + ssid_name + " Passed") + return ("passed") + else: + client.update_testrail(case_id=test_case, run_id=rid, status_id=5, msg='Client connectivity failed') + print("Single client connection to", ssid_name, "unsuccessful. Test Failed") + logger.warning("Client connectivity to " + ssid_name + " FAILED") + return ("failed") + + def testrail_retest(self, test_case, rid, ssid_name): + client.update_testrail(case_id=test_case, run_id=rid, status_id=4, + msg='Error in Client Connectivity Test. Needs to be Re-run') + print("Error in test for single client connection to", ssid_name) + logger.warning("ERROR testing Client connectivity to " + ssid_name) + +### Directories +local_dir = os.getenv('SANITY_LOG_DIR') +report_path = os.getenv('SANITY_REPORT_DIR') +report_template = os.getenv('REPORT_TEMPLATE') + +## TestRail Information +tr_user = os.getenv('TR_USER') +tr_pw = os.getenv('TR_PWD') +milestoneId = os.getenv('MILESTONE') +projectId = os.getenv('PROJECT_ID') +testRunPrefix = os.getenv('TEST_RUN_PREFIX') + +##Jfrog credentials +jfrog_user = os.getenv('JFROG_USER') +jfrog_pwd = os.getenv('JFROG_PWD') + + +## AP Credentials +ap_username = os.getenv('AP_USER') + +logger = logging.getLogger('Nightly_Sanity') +hdlr = logging.FileHandler(local_dir + "/Nightly_Sanity.log") +formatter = logging.Formatter('%(asctime)s %(levelname)s %(message)s') +hdlr.setFormatter(formatter) +logger.addHandler(hdlr) +logger.setLevel(logging.INFO) + +testrail_url = os.getenv('TR_URL') +client: APIClient = APIClient(testrail_url) +client.user = tr_user +client.password = tr_pw + +# Command Line Args +parser = argparse.ArgumentParser(description="Sanity Testing on Firmware Build") +parser.add_argument("-b", "--build", type=str, default="pending", + help="FW commit ID (latest pending build on dev is default)") +parser.add_argument("-i", "--ignore", type=str, default='no', choices=['yes', 'no'], + help="Set to 'no' to ignore current running version on AP and run sanity including upgrade") +parser.add_argument("-r", "--report", type=str, default=report_path, help="Report directory path other than default - directory must already exist!") +parser.add_argument("-m", "--model", type=str, choices=['ea8300', 'ecw5410', 'ecw5211', 'ec420', "wf188n", "wf194c", "ex227", "ex447", "eap101", "eap102"], + help="AP model to be run") +parser.add_argument("-f", "--file", type=str, help="Test Info file name", default="test_info") +parser.add_argument("--tr_prefix", type=str, default=testRunPrefix, help="Testrail test run prefix override (default is Env variable)") +parser.add_argument("--skip_upgrade", dest="skip_upgrade", action='store_true', help="Skip Upgrade testing") +parser.set_defaults(skip_eap=False) +parser.add_argument("--skip_eap", dest="skip_eap", action='store_true', help="Skip EAP testing") +parser.set_defaults(skip_eap=False) +parser.add_argument("--skip_bridge", dest="skip_bridge", action='store_true', help="Skip Bridge testing") +parser.set_defaults(skip_bridge=False) +parser.add_argument("--skip_nat", dest="skip_nat", action='store_true', help="Skip NAT testing") +parser.set_defaults(skip_nat=False) +parser.add_argument("--skip_vlan", dest="skip_vlan", action='store_true', help="Skip VLAN testing") +parser.set_defaults(skip_vlan=False) +args = parser.parse_args() + +build = args.build +ignore = args.ignore +report_path = args.report +test_file = args.file + +# Import info for lab setup and APs under test +test_info_module = os.path.splitext(test_file)[0] +test_info = importlib.import_module(test_info_module) + +equipment_id_dict = test_info.equipment_id_dict +profile_info_dict = test_info.profile_info_dict +cloud_sdk_models = test_info.cloud_sdk_models +equipment_ip_dict = test_info.equipment_ip_dict +equipment_credentials_dict = test_info.equipment_credentials_dict +ap_models = test_info.ap_models +customer_id = test_info.customer_id +cloud_type = test_info.cloud_type +test_cases = test_info.test_cases + +# Set CloudSDK URL +cloudSDK_url = test_info.cloudSDK_url +# CloudSDK credentials +cloud_user = test_info.cloud_user +cloud_password = test_info.cloud_password + +# RADIUS info and EAP credentials +radius_info = test_info.radius_info +identity = test_info.radius_info["eap_identity"] +ttls_password = test_info.radius_info["eap_pwd"] + +if args.model is not None: + model_id = args.model + equipment_ids = { + model_id: equipment_id_dict[model_id] + } + print("User requested test on equipment ID:",equipment_ids) + +if args.tr_prefix is not None: + testRunPrefix = args.tr_prefix + + + +####Use variables other than defaults for running tests on custom FW etc +equipment_ids = equipment_id_dict + +##LANForge Information +lanforge_ip = test_info.lanforge_ip +#lanforge_prefix = test_info.lanforge_prefix + +print("Start of Sanity Testing...") +print("Test file used will be: "+test_file) +print("TestRail Test Run Prefix is: "+testRunPrefix) +print("Skipping Upgrade Tests? " + str(args.skip_upgrade)) +print("Skipping EAP Tests? " + str(args.skip_eap)) +print("Skipping Bridge Tests? " + str(args.skip_bridge)) +print("Skipping NAT Tests? " + str(args.skip_nat)) +print("Skipping VLAN Tests? " + str(args.skip_vlan)) +print("Testing Latest Build with Tag: " + build) + +if ignore == 'yes': + print("Will ignore if AP is already running build under test and run sanity regardless...") +else: + print("Checking for APs requiring upgrade to latest build...") + +######Testrail Project and Run ID Information ############################## + +Test: RunTest = RunTest() + +projId = client.get_project_id(project_name=projectId) +print("TIP WLAN Project ID is:", projId) + +logger.info('Start of Nightly Sanity') + +###Dictionaries +ap_latest_dict = { + "ec420": "Unknown", + "ea8300": "Unknown", + "ecw5211": "unknown", + "ecw5410": "unknown" +} + +# import json file used by throughput test +sanity_status = json.load(open("sanity_status.json")) + +############################################################################ +#################### Create Report ######################################### +############################################################################ + +# Create Report Folder for Today +today = str(date.today()) +try: + os.mkdir(report_path + today) +except OSError: + print("Creation of the directory %s failed" % report_path) +else: + print("Successfully created the directory %s " % report_path) + +logger.info('Report data can be found here: ' + report_path + today) + +# Copy report template to folder. If template doesn't exist, continue anyway with log +try: + copyfile(report_template, report_path + today + '/report.php') + +except: + print("No report template created. Report data will still be saved. Continuing with tests...") + +##Create report_data dictionary +tc_results = dict.fromkeys(test_cases.values(), "not run") + +report_data = dict() +report_data["cloud_sdk"] = dict.fromkeys(ap_models, "") +for key in report_data["cloud_sdk"]: + report_data["cloud_sdk"][key] = { + "date": "N/A", + "commitId": "N/A", + "projectVersion": "N/A" + } +report_data["fw_available"] = dict.fromkeys(ap_models, "Unknown") +report_data["fw_under_test"] = dict.fromkeys(ap_models, "N/A") +report_data['pass_percent'] = dict.fromkeys(ap_models, "") + +report_data['tests'] = dict.fromkeys(ap_models, "") +for key in ap_models: + report_data['tests'][key] = dict.fromkeys(test_cases.values(), "not run") +print(report_data) + +# write to report_data contents to json file so it has something in case of unexpected fail +with open(report_path + today + '/report_data.json', 'w') as report_json_file: + json.dump(report_data, report_json_file) + +###Get Cloud Bearer Token +bearer = CloudSDK.get_bearer(cloudSDK_url, cloud_type, cloud_user, cloud_password) + +############################################################################ +#################### Jfrog Firmware Check ################################## +############################################################################ + +for model in ap_models: + apModel = model + cloudModel = cloud_sdk_models[apModel] + # print(cloudModel) + ###Check Latest FW on jFrog + jfrog_url = 'https://tip.jfrog.io/artifactory/tip-wlan-ap-firmware/' + url = jfrog_url + apModel + "/dev/" + Build: GetBuild = GetBuild() + latest_image = Build.get_latest_image(url, build) + print(model, "Latest FW on jFrog:", latest_image) + ap_latest_dict[model] = latest_image + +print(ap_latest_dict) +#################################################################################### +############ Update FW and Run Test Cases on Each AP Variant ####################### +#################################################################################### +#################################################################################### + +for key in equipment_ids: + ##Get Bearer Token to make sure its valid (long tests can require re-auth) + bearer = CloudSDK.get_bearer(cloudSDK_url, cloud_type, cloud_user, cloud_password) + + ###Get Current AP Firmware and upgrade + equipment_id = equipment_id_dict[key] + ap_ip = equipment_ip_dict[key] + ap_username = "root" + ap_password = equipment_credentials_dict[key] + print("AP MODEL UNDER TEST IS", key) + try: + ap_cli_info = ssh_cli_active_fw(ap_ip, ap_username, ap_password) + ap_cli_fw = ap_cli_info['active_fw'] + except: + ap_cli_info = "ERROR" + print("Cannot Reach AP CLI, will not test this variant") + report_data["pass_percent"][key] = "AP offline" + continue + + fw_model = ap_cli_fw.partition("-")[0] + print('Current Active AP FW from CLI:', ap_cli_fw) + + if ap_cli_info['state'] != "active": + print('Manager Status not Active. Skipping AP Model!') + report_data["pass_percent"][key] = "AP offline" + continue + + else: + print('Manager Status Active. Proceed with tests...') + ###Find Latest FW for Current AP Model and Get FW ID + ##Compare Latest and Current AP FW and Upgrade + latest_ap_image = ap_latest_dict[fw_model] + + if ap_cli_fw == latest_ap_image and ignore == 'no' and args.skip_upgrade != True: + print('FW does not require updating') + report_data['fw_available'][key] = "No" + logger.info(fw_model + " does not require upgrade. Not performing sanity tests for this AP variant") + cloudsdk_cluster_info = { + "date": "N/A", + "commitId": "N/A", + "projectVersion": "N/A" + } + report_data['cloud_sdk'][key] = cloudsdk_cluster_info + + else: + if ap_cli_fw == latest_ap_image and ignore == "yes": + print('AP is already running FW version under test. Ignored based on ignore flag') + report_data['fw_available'][key] = "Yes" + elif args.skip_upgrade == True: + print("User requested to skip upgrade, will use existing version and not upgrade AP") + report_data['fw_available'][key] = "N/A" + report_data['fw_under_test'][key] = ap_cli_fw + latest_ap_image = ap_cli_fw + else: + print('FW needs updating') + report_data['fw_available'][key] = "Yes" + report_data['fw_under_test'][key] = latest_ap_image + + ###Create Test Run + today = str(date.today()) + case_ids = list(test_cases.values()) + + ##Remove unused test cases based on command line arguments + + # Skip upgrade argument + if args.skip_upgrade == True: + case_ids.remove(test_cases["upgrade_api"]) + else: + pass + + # Skip Bridge argument + if args.skip_bridge == True: + for x in test_cases: + if "bridge" in x: + case_ids.remove(test_cases[x]) + else: + pass + + # Skip NAT argument + if args.skip_nat == True: + for x in test_cases: + if "nat" in x: + case_ids.remove(test_cases[x]) + else: + pass + + # Skip VLAN argument + if args.skip_vlan == True: + for x in test_cases: + if "vlan" in x: + case_ids.remove(test_cases[x]) + else: + pass + + # Skip EAP argument + if args.skip_eap == True: + case_ids.remove(test_cases["radius_profile"]) + for x in test_cases: + if "eap" in x and test_cases[x] in case_ids: + case_ids.remove(test_cases[x]) + else: + pass + + test_run_name = testRunPrefix + fw_model + "_" + today + "_" + latest_ap_image + client.create_testrun(name=test_run_name, case_ids=case_ids, project_id=projId, milestone_id=milestoneId, + description="Automated Nightly Sanity test run for new firmware build") + rid = client.get_run_id(test_run_name=testRunPrefix + fw_model + "_" + today + "_" + latest_ap_image) + print("TIP run ID is:", rid) + + ###GetCloudSDK Version + print("Getting CloudSDK version information...") + try: + cluster_ver = CloudSDK.get_cloudsdk_version(cloudSDK_url, bearer) + print("CloudSDK Version Information:") + print("-------------------------------------------") + print(cluster_ver) + print("-------------------------------------------") + + cloudsdk_cluster_info = {} + cloudsdk_cluster_info['date'] = cluster_ver['commitDate'] + cloudsdk_cluster_info['commitId'] = cluster_ver['commitID'] + cloudsdk_cluster_info['projectVersion'] = cluster_ver['projectVersion'] + report_data['cloud_sdk'][key] = cloudsdk_cluster_info + client.update_testrail(case_id=test_cases["cloud_ver"], run_id=rid, status_id=1, + msg='Read CloudSDK version from API successfully') + report_data['tests'][key][test_cases["cloud_ver"]] = "passed" + + except: + cluster_ver = 'error' + print("ERROR: CloudSDK Version Unavailable") + logger.info('CloudSDK version Unavailable') + cloudsdk_cluster_info = { + "date": "unknown", + "commitId": "unknown", + "projectVersion": "unknown" + } + client.update_testrail(case_id=test_cases["cloud_ver"], run_id=rid, status_id=5, + msg='Could not read CloudSDK version from API') + report_data['cloud_sdk'][key] = cloudsdk_cluster_info + report_data['tests'][key][test_cases["cloud_ver"]] = "failed" + + with open(report_path + today + '/report_data.json', 'w') as report_json_file: + json.dump(report_data, report_json_file) + + # Update TR Testrun with CloudSDK info for use in QA portal + sdk_description = cloudsdk_cluster_info["date"]+" (Commit ID: "+cloudsdk_cluster_info["commitId"]+")" + update_test = client.update_testrun(rid,sdk_description) + print(update_test) + + # Test Create Firmware Version + test_id_fw = test_cases["create_fw"] + latest_image = ap_latest_dict[key] + cloudModel = cloud_sdk_models[key] + print(cloudModel) + firmware_list_by_model = CloudSDK.CloudSDK_images(cloudModel, cloudSDK_url, bearer) + print("Available", cloudModel, "Firmware on CloudSDK:", firmware_list_by_model) + + if latest_image in firmware_list_by_model: + print("Latest Firmware", latest_image, "is already on CloudSDK, need to delete to test create FW API") + old_fw_id = CloudSDK.get_firmware_id(latest_image, cloudSDK_url, bearer) + delete_fw = CloudSDK.delete_firmware(str(old_fw_id), cloudSDK_url, bearer) + fw_url = "https://" + jfrog_user + ":" + jfrog_pwd + "@tip.jfrog.io/artifactory/tip-wlan-ap-firmware/" + key + "/dev/" + latest_image + ".tar.gz" + commit = latest_image.split("-")[-1] + try: + fw_upload_status = CloudSDK.firwmare_upload(commit, cloudModel, latest_image, fw_url, cloudSDK_url, + bearer) + fw_id = fw_upload_status['id'] + print("Upload Complete.", latest_image, "FW ID is", fw_id) + client.update_testrail(case_id=test_id_fw, run_id=rid, status_id=1, + msg='Create new FW version by API successful') + report_data['tests'][key][test_id_fw] = "passed" + except: + fw_upload_status = 'error' + print("Unable to upload new FW version. Skipping Sanity on AP Model") + client.update_testrail(case_id=test_id_fw, run_id=rid, status_id=5, + msg='Error creating new FW version by API') + report_data['tests'][key][test_id_fw] = "failed" + continue + else: + print("Latest Firmware is not on CloudSDK! Uploading...") + fw_url = "https://" + jfrog_user + ":" + jfrog_pwd + "@tip.jfrog.io/artifactory/tip-wlan-ap-firmware/" + key + "/dev/" + latest_image + ".tar.gz" + commit = latest_image.split("-")[-1] + try: + fw_upload_status = CloudSDK.firwmare_upload(commit, cloudModel, latest_image, fw_url, cloudSDK_url, + bearer) + fw_id = fw_upload_status['id'] + print("Upload Complete.", latest_image, "FW ID is", fw_id) + client.update_testrail(case_id=test_id_fw, run_id=rid, status_id=1, + msg='Create new FW version by API successful') + report_data['tests'][key][test_id_fw] = "passed" + except: + fw_upload_status = 'error' + print("Unable to upload new FW version. Skipping Sanity on AP Model") + client.update_testrail(case_id=test_id_fw, run_id=rid, status_id=5, + msg='Error creating new FW version by API') + report_data['tests'][key][test_id_fw] = "failed" + continue + + # Upgrade AP firmware + if args.skip_upgrade == True: + print("User Requested to Not Performing Upgrade, skipping to Connectivity Tests") + else: + print("Upgrading...firmware ID is: ", fw_id) + upgrade_fw = CloudSDK.update_firmware(equipment_id, str(fw_id), cloudSDK_url, bearer) + logger.info("Lab " + fw_model + " Requires FW update") + print(upgrade_fw) + + if "success" in upgrade_fw: + if upgrade_fw["success"] == True: + print("CloudSDK Upgrade Request Success") + report_data['tests'][key][test_cases["upgrade_api"]] = "passed" + client.update_testrail(case_id=test_cases["upgrade_api"], run_id=rid, status_id=1, + msg='Upgrade request using API successful') + logger.info('Firmware upgrade API successfully sent') + else: + print("Cloud SDK Upgrade Request Error!") + # mark upgrade test case as failed with CloudSDK error + client.update_testrail(case_id=test_cases["upgrade_api"], run_id=rid, status_id=5, + msg='Error requesting upgrade via API') + report_data['tests'][key][test_cases["upgrade_api"]] = "failed" + logger.warning('Firmware upgrade API failed to send') + continue + else: + print("Cloud SDK Upgrade Request Error!") + # mark upgrade test case as failed with CloudSDK error + client.update_testrail(case_id=test_cases["upgrade_api"], run_id=rid, status_id=5, + msg='Error requesting upgrade via API') + report_data['tests'][key][test_cases["upgrade_api"]] = "failed" + logger.warning('Firmware upgrade API failed to send') + continue + + time.sleep(300) + + # Check if upgrade success is displayed on CloudSDK + test_id_cloud = test_cases["cloud_fw"] + cloud_ap_fw = CloudSDK.ap_firmware(customer_id, equipment_id, cloudSDK_url, bearer) + print('Current AP Firmware from CloudSDK:', cloud_ap_fw) + logger.info('AP Firmware from CloudSDK: ' + cloud_ap_fw) + if cloud_ap_fw == "ERROR": + print("AP FW Could not be read from CloudSDK") + + elif cloud_ap_fw == latest_ap_image: + print("CloudSDK status shows upgrade successful!") + + else: + print("AP FW from CloudSDK status is not latest build. Will check AP CLI.") + + # Check if upgrade successful on AP CLI + test_id_cli = test_cases["ap_upgrade"] + try: + ap_cli_info = ssh_cli_active_fw(ap_ip, ap_username, ap_password) + ap_cli_fw = ap_cli_info['active_fw'] + print("CLI reporting AP Active FW as:", ap_cli_fw) + logger.info('Firmware from CLI: ' + ap_cli_fw) + except: + ap_cli_info = "ERROR" + print("Cannot Reach AP CLI to confirm upgrade!") + logger.warning('Cannot Reach AP CLI to confirm upgrade!') + client.update_testrail(case_id=test_id_cli, run_id=rid, status_id=4, + msg='Cannot reach AP after upgrade to check CLI - re-test required') + continue + + if cloud_ap_fw == latest_ap_image and ap_cli_fw == latest_ap_image: + print("CloudSDK and AP CLI both show upgrade success, passing upgrade test case") + client.update_testrail(case_id=test_id_cli, run_id=rid, status_id=1, + msg='Upgrade to ' + latest_ap_image + ' successful') + client.update_testrail(case_id=test_id_cloud, run_id=rid, status_id=1, + msg='CLOUDSDK reporting correct firmware version.') + report_data['tests'][key][test_id_cli] = "passed" + report_data['tests'][key][test_id_cloud] = "passed" + print(report_data['tests'][key]) + + elif cloud_ap_fw != latest_ap_image and ap_cli_fw == latest_ap_image: + print("AP CLI shows upgrade success - CloudSDK reporting error!") + ##Raise CloudSDK error but continue testing + client.update_testrail(case_id=test_id_cli, run_id=rid, status_id=1, + msg='Upgrade to ' + latest_ap_image + ' successful.') + client.update_testrail(case_id=test_id_cloud, run_id=rid, status_id=5, + msg='CLOUDSDK reporting incorrect firmware version.') + report_data['tests'][key][test_id_cli] = "passed" + report_data['tests'][key][test_id_cloud] = "failed" + print(report_data['tests'][key]) + + elif cloud_ap_fw == latest_ap_image and ap_cli_fw != latest_ap_image: + print("AP CLI shows upgrade failed - CloudSDK reporting error!") + # Testrail TC fail + client.update_testrail(case_id=test_id_cli, run_id=rid, status_id=5, + msg='AP failed to download or apply new FW. Upgrade to ' + latest_ap_image + ' Failed') + client.update_testrail(case_id=test_id_cloud, run_id=rid, status_id=5, + msg='CLOUDSDK reporting incorrect firmware version.') + report_data['tests'][key][test_id_cli] = "failed" + report_data['tests'][key][test_id_cloud] = "failed" + print(report_data['tests'][key]) + continue + + elif cloud_ap_fw != latest_ap_image and ap_cli_fw != latest_ap_image: + print("Upgrade Failed! Confirmed on CloudSDK and AP CLI. Upgrade test case failed.") + ##fail TR testcase and exit + client.update_testrail(case_id=test_id_cli, run_id=rid, status_id=5, + msg='AP failed to download or apply new FW. Upgrade to ' + latest_ap_image + ' Failed') + report_data['tests'][key][test_id_cli] = "failed" + print(report_data['tests'][key]) + continue + + else: + print("Unable to determine upgrade status. Skipping AP variant") + # update TR testcase as error + client.update_testrail(case_id=test_id_cli, run_id=rid, status_id=4, + msg='Cannot determine upgrade status - re-test required') + report_data['tests'][key][test_id_cli] = "error" + print(report_data['tests'][key]) + continue + + print(report_data) + + ###Check AP Manager Status + manager_status = ap_cli_info['state'] + + if manager_status != "active": + print("Manager status is " + manager_status + "! Not connected to the cloud.") + print("Waiting 30 seconds and re-checking status") + time.sleep(30) + ap_cli_info = ssh_cli_active_fw(ap_ip, ap_username, ap_password) + manager_status = ap_cli_info['state'] + if manager_status != "active": + print("Manager status is", manager_status, "! Not connected to the cloud.") + print("Manager status fails multiple checks - failing test case.") + ##fail cloud connectivity testcase + client.update_testrail(case_id=test_cases["cloud_connection"], run_id=rid, status_id=5, + msg='CloudSDK connectivity failed') + report_data['tests'][key][test_cases["cloud_connection"]] = "failed" + continue + else: + print("Manager status is Active. Proceeding to connectivity testing!") + # TC522 pass in Testrail + client.update_testrail(case_id=test_cases["cloud_connection"], run_id=rid, status_id=1, + msg='Manager status is Active') + report_data['tests'][key][test_cases["cloud_connection"]] = "passed" + else: + print("Manager status is Active. Proceeding to connectivity testing!") + # TC5222 pass in testrail + client.update_testrail(case_id=test_cases["cloud_connection"], run_id=rid, status_id=1, + msg='Manager status is Active') + report_data['tests'][key][test_cases["cloud_connection"]] = "passed" + # Pass cloud connectivity test case + + # Update report json + with open(report_path + today + '/report_data.json', 'w') as report_json_file: + json.dump(report_data, report_json_file) + + # Create List of Created Profiles to Delete After Test + delete_list = [] + + # Create RADIUS profile - used for all EAP SSIDs + if args.skip_eap != True: + radius_template = "templates/radius_profile_template.json" + radius_name = "Automation_RADIUS_"+today + server_ip = radius_info['server_ip'] + secret = radius_info['secret'] + auth_port = radius_info['auth_port'] + try: + radius_profile = CloudSDK.create_radius_profile(cloudSDK_url, bearer, radius_template, radius_name, customer_id, + server_ip, secret, + auth_port) + print("radius profile Id is", radius_profile) + client.update_testrail(case_id=test_cases["radius_profile"], run_id=rid, status_id=1, + msg='RADIUS profile created successfully') + report_data['tests'][key][test_cases["radius_profile"]] = "passed" + # Add created RADIUS profile to list for deletion at end of test + delete_list.append(radius_profile) + except: + radius_profile = 'error' + print("RADIUS Profile Create Error, will use existing profile for tests") + # Set backup profile ID so test can continue + radius_profile = test_info.radius_profile + server_name = "Lab-RADIUS" + client.update_testrail(case_id=test_cases["radius_profile"], run_id=rid, status_id=5, + msg='Failed to create RADIUS profile') + report_data['tests'][key][test_cases["radius_profile"]] = "failed" + else: + print("Skipped creating RADIUS profile based on skip_eap argument") + + # Set RF Profile Id depending on AP capability + if test_info.ap_spec[key] == "wifi5": + rfProfileId = test_info.rf_profile_wifi5 + print("using Wi-Fi5 profile Id") + elif test_info.ap_spec[key] == "wifi6": + rfProfileId = test_info.rf_profile_wifi6 + print("using Wi-Fi6 profile Id") + else: + rfProfileId = 10 + print("Unknown AP radio spec, using default RF profile") + + ########################################################################### + ############## Bridge Mode Client Connectivity ############################ + ########################################################################### + if args.skip_bridge != True: + ### Create SSID Profiles + ssid_template = "templates/ssid_profile_template.json" + child_profiles = [rfProfileId] + + # 5G SSIDs + if args.skip_eap != True: + try: + fiveG_eap = CloudSDK.create_ssid_profile(cloudSDK_url, bearer, ssid_template, + fw_model + '_5G_EAP_' + today, customer_id, profile_info_dict[fw_model]["fiveG_WPA2-EAP_SSID"], None, + radius_profile, + "wpa2OnlyRadius", "BRIDGE", 1, + ["is5GHzU", "is5GHz", "is5GHzL"]) + print("5G EAP SSID created successfully - bridge mode") + client.update_testrail(case_id=test_cases["ssid_5g_eap_bridge"], run_id=rid, status_id=1, + msg='5G EAP SSID created successfully - bridge mode') + report_data['tests'][key][test_cases["ssid_5g_eap_bridge"]] = "passed" + # Add create profile to list for AP profile + child_profiles.append(fiveG_eap) + # Add created profile to list for deletion at end of test + delete_list.append(fiveG_eap) + except: + fiveG_eap = "error" + print("5G EAP SSID create failed - bridge mode") + client.update_testrail(case_id=test_cases["ssid_5g_eap_bridge"], run_id=rid, status_id=5, + msg='5G EAP SSID create failed - bridge mode') + report_data['tests'][key][test_cases["ssid_5g_eap_bridge"]] = "failed" + + else: + pass + + try: + fiveG_wpa2 = CloudSDK.create_ssid_profile(cloudSDK_url, bearer, ssid_template, + fw_model + '_5G_WPA2_' + today, customer_id, + profile_info_dict[fw_model]["fiveG_WPA2_SSID"], + profile_info_dict[fw_model]["fiveG_WPA2_PSK"], + 0, "wpa2OnlyPSK", "BRIDGE", 1, + ["is5GHzU", "is5GHz", "is5GHzL"]) + print("5G WPA2 SSID created successfully - bridge mode") + client.update_testrail(case_id=test_cases["ssid_5g_wpa2_bridge"], run_id=rid, status_id=1, + msg='5G WPA2 SSID created successfully - bridge mode') + report_data['tests'][key][test_cases["ssid_5g_wpa2_bridge"]] = "passed" + # Add created profile to list for AP profile + child_profiles.append(fiveG_wpa2) + # Add created profile to list for deletion at end of test + delete_list.append(fiveG_wpa2) + except: + fiveG_wpa2 = "error" + print("5G WPA2 SSID create failed - bridge mode") + client.update_testrail(case_id=test_cases["ssid_5g_wpa2_bridge"], run_id=rid, status_id=5, + msg='5G WPA2 SSID create failed - bridge mode') + report_data['tests'][key][test_cases["ssid_5g_wpa2_bridge"]] = "failed" + + try: + fiveG_wpa = CloudSDK.create_ssid_profile(cloudSDK_url, bearer, ssid_template, + fw_model + '_5G_WPA_' + today, customer_id, + profile_info_dict[fw_model]["fiveG_WPA_SSID"], + profile_info_dict[fw_model]["fiveG_WPA_PSK"], + 0, "wpaPSK", "BRIDGE", 1, + ["is5GHzU", "is5GHz", "is5GHzL"]) + print("5G WPA SSID created successfully - bridge mode") + client.update_testrail(case_id=test_cases["ssid_5g_wpa_bridge"], run_id=rid, status_id=1, + msg='5G WPA SSID created successfully - bridge mode') + report_data['tests'][key][test_cases["ssid_5g_wpa_bridge"]] = "passed" + # Add created profile to list for AP profile + child_profiles.append(fiveG_wpa) + # Add created profile to list for deletion at end of test + delete_list.append(fiveG_wpa) + except: + fiveG_wpa = "error" + print("5G WPA SSID create failed - bridge mode") + client.update_testrail(case_id=test_cases["ssid_5g_wpa_bridge"], run_id=rid, status_id=5, + msg='5G WPA SSID create failed - bridge mode') + report_data['tests'][key][test_cases["ssid_5g_wpa_bridge"]] = "failed" + + # 2.4G SSIDs + if args.skip_eap != True: + try: + twoFourG_eap = CloudSDK.create_ssid_profile(cloudSDK_url, bearer, ssid_template, + fw_model + '_2G_EAP_' + today, customer_id, + profile_info_dict[fw_model]["twoFourG_WPA2-EAP_SSID"], + None, + radius_profile, "wpa2OnlyRadius", "BRIDGE", 1, + ["is2dot4GHz"]) + print("2.4G EAP SSID created successfully - bridge mode") + client.update_testrail(case_id=test_cases["ssid_2g_eap_bridge"], run_id=rid, status_id=1, + msg='2.4G EAP SSID created successfully - bridge mode') + report_data['tests'][key][test_cases["ssid_2g_eap_bridge"]] = "passed" + # Add created profile to list for AP profile + child_profiles.append(twoFourG_eap) + # Add created profile to list for deletion at end of test + delete_list.append(twoFourG_eap) + except: + twoFourG_eap = "error" + print("2.4G EAP SSID create failed - bridge mode") + client.update_testrail(case_id=test_cases["ssid_2g_eap_bridge"], run_id=rid, status_id=5, + msg='2.4G EAP SSID create failed - bridge mode') + report_data['tests'][key][test_cases["ssid_2g_eap_bridge"]] = "failed" + else: + pass + + try: + twoFourG_wpa2 = CloudSDK.create_ssid_profile(cloudSDK_url, bearer, ssid_template, + fw_model + '_2G_WPA2_' + today, customer_id, + profile_info_dict[fw_model]["twoFourG_WPA2_SSID"], + profile_info_dict[fw_model]["twoFourG_WPA2_PSK"], + 0, "wpa2OnlyPSK", "BRIDGE", 1, + ["is2dot4GHz"]) + print("2.4G WPA2 SSID created successfully - bridge mode") + client.update_testrail(case_id=test_cases["ssid_2g_wpa2_bridge"], run_id=rid, status_id=1, + msg='2.4G WPA2 SSID created successfully - bridge mode') + report_data['tests'][key][test_cases["ssid_2g_wpa2_bridge"]] = "passed" + # Add created profile to list for AP profile + child_profiles.append(twoFourG_wpa2) + # Add created profile to list for deletion at end of test + delete_list.append(twoFourG_wpa2) + except: + twoFourG_wpa2 = "error" + print("2.4G WPA2 SSID create failed - bridge mode") + client.update_testrail(case_id=test_cases["ssid_2g_wpa2_bridge"], run_id=rid, status_id=5, + msg='2.4G WPA2 SSID create failed - bridge mode') + report_data['tests'][key][test_cases["ssid_2g_wpa2_bridge"]] = "failed" + + try: + twoFourG_wpa = CloudSDK.create_ssid_profile(cloudSDK_url, bearer, ssid_template, + fw_model + '_2G_WPA_' + today, customer_id, + profile_info_dict[fw_model]["twoFourG_WPA_SSID"], + profile_info_dict[fw_model]["twoFourG_WPA_PSK"], + 0, "wpaPSK", "BRIDGE", 1, + ["is2dot4GHz"]) + print("2.4G WPA SSID created successfully - bridge mode") + client.update_testrail(case_id=test_cases["ssid_2g_wpa_bridge"], run_id=rid, status_id=1, + msg='2.4G WPA SSID created successfully - bridge mode') + report_data['tests'][key][test_cases["ssid_2g_wpa_bridge"]] = "passed" + # Add created profile to list for AP profile + child_profiles.append(twoFourG_wpa) + # Add created profile to list for deletion at end of test + delete_list.append(twoFourG_wpa) + except: + twoFourG_wpa = "error" + print("2.4G WPA SSID create failed - bridge mode") + client.update_testrail(case_id=test_cases["ssid_2g_wpa_bridge"], run_id=rid, status_id=5, + msg='2.4G WPA SSID create failed - bridge mode') + report_data['tests'][key][test_cases["ssid_2g_wpa_bridge"]] = "failed" + + ### Create AP Bridge Profile + print(child_profiles) + + ap_template = "templates/ap_profile_template.json" + name = "Nightly_Sanity_" + fw_model + "_" + today + "_bridge" + + try: + create_ap_profile = CloudSDK.create_ap_profile(cloudSDK_url, bearer, ap_template, name, customer_id, child_profiles) + test_profile_id = create_ap_profile + print("Test Profile ID for Test is:", test_profile_id) + client.update_testrail(case_id=test_cases["ap_bridge"], run_id=rid, status_id=1, + msg='AP profile for bridge tests created successfully') + report_data['tests'][key][test_cases["ap_bridge"]] = "passed" + # Add created profile to list for deletion at end of test + delete_list.append(test_profile_id) + except: + create_ap_profile = "error" + #test_profile_id = profile_info_dict[fw_model]["profile_id"] + print("Error creating AP profile for bridge tests. Will use existing AP profile") + client.update_testrail(case_id=test_cases["ap_bridge"], run_id=rid, status_id=5, + msg='AP profile for bridge tests could not be created using API') + report_data['tests'][key][test_cases["ap_bridge"]] = "failed" + + ### Set Proper AP Profile for Bridge SSID Tests + ap_profile = CloudSDK.set_ap_profile(equipment_id, test_profile_id, cloudSDK_url, bearer) + + ### Wait for Profile Push + time.sleep(180) + + ### Check if VIF Config and VIF State reflect AP Profile from CloudSDK + ## VIF Config + if args.skip_eap != True: + ssid_config = profile_info_dict[key]["ssid_list"] + else: + ssid_config = [x for x in profile_info_dict[key]["ssid_list"] if "-EAP" not in x] + try: + print("SSIDs in AP Profile:", ssid_config) + + ssid_list = ap_connect.get_vif_config(ap_ip, ap_username, ap_password) + print("SSIDs in AP VIF Config:", ssid_list) + + if set(ssid_list) == set(ssid_config): + print("SSIDs in Wifi_VIF_Config Match AP Profile Config") + client.update_testrail(case_id=test_cases["bridge_vifc"], run_id=rid, status_id=1, + msg='SSIDs in VIF Config matches AP Profile Config') + report_data['tests'][key][test_cases["bridge_vifc"]] = "passed" + else: + print("SSIDs in Wifi_VIF_Config do not match desired AP Profile Config") + client.update_testrail(case_id=test_cases["bridge_vifc"], run_id=rid, status_id=5, + msg='SSIDs in VIF Config do not match AP Profile Config') + report_data['tests'][key][test_cases["bridge_vifc"]] = "failed" + except: + ssid_list = "ERROR" + print("Error accessing VIF Config from AP CLI") + client.update_testrail(case_id=test_cases["bridge_vifc"], run_id=rid, status_id=4, + msg='Cannot determine VIF Config - re-test required') + report_data['tests'][key][test_cases["bridge_vifc"]] = "error" + # VIF State + try: + ssid_state = ap_connect.get_vif_state(ap_ip, ap_username, ap_password) + print("SSIDs in AP VIF State:", ssid_state) + + if set(ssid_state) == set(ssid_config): + print("SSIDs properly applied on AP") + client.update_testrail(case_id=test_cases["bridge_vifs"], run_id=rid, status_id=1, + msg='SSIDs in VIF Config applied to VIF State') + report_data['tests'][key][test_cases["bridge_vifs"]] = "passed" + else: + print("SSIDs not applied on AP") + client.update_testrail(case_id=test_cases["bridge_vifs"], run_id=rid, status_id=5, + msg='SSIDs in VIF Config not applied to VIF State') + report_data['tests'][key][test_cases["bridge_vifs"]] = "failed" + + except: + ssid_list = "ERROR" + print("Error accessing VIF State from AP CLI") + print("Error accessing VIF Config from AP CLI") + client.update_testrail(case_id=test_cases["bridge_vifs"], run_id=rid, status_id=4, + msg='Cannot determine VIF State - re-test required') + report_data['tests'][key][test_cases["bridge_vifs"]] = "error" + + # Set LANForge port for tests + port = test_info.lanforge_bridge_port + + # print iwinfo for information + iwinfo = iwinfo_status(ap_ip, ap_username, ap_password) + print(iwinfo) + + ###Run Client Single Connectivity Test Cases for Bridge SSIDs + # TC5214 - 2.4 GHz WPA2-Enterprise + if args.skip_eap != True: + test_case = test_cases["2g_eap_bridge"] + radio = test_info.lanforge_2dot4g + #sta_list = [lanforge_prefix + "5214"] + sta_list = [test_info.lanforge_2dot4g_station] + prefix = test_info.lanforge_2dot4g_prefix + ssid_name = profile_info_dict[fw_model]["twoFourG_WPA2-EAP_SSID"] + security = "wpa2" + eap_type = "TTLS" + try: + test_result = RunTest.Single_Client_EAP(port, sta_list, ssid_name, radio, prefix, security, eap_type, + identity, + ttls_password, test_case, rid) + except: + test_result = "error" + Test.testrail_retest(test_case, rid, ssid_name) + pass + report_data['tests'][key][int(test_case)] = test_result + time.sleep(10) + else: + pass + + ###Run Client Single Connectivity Test Cases for Bridge SSIDs + # TC - 2.4 GHz WPA2 + test_case = test_cases["2g_wpa2_bridge"] + radio = test_info.lanforge_2dot4g + #station = [lanforge_prefix + "2237"] + station = [test_info.lanforge_2dot4g_station] + prefix = test_info.lanforge_2dot4g_prefix + ssid_name = profile_info_dict[fw_model]["twoFourG_WPA2_SSID"] + ssid_psk = profile_info_dict[fw_model]["twoFourG_WPA2_PSK"] + security = "wpa2" + try: + test_result = Test.Single_Client_Connectivity(port, radio, prefix, ssid_name, ssid_psk, security, station, + test_case, + rid) + except: + test_result = "error" + Test.testrail_retest(test_case, rid, ssid_name) + pass + report_data['tests'][key][int(test_case)] = test_result + time.sleep(10) + + # TC - 2.4 GHz WPA + test_case = test_cases["2g_wpa_bridge"] + radio = test_info.lanforge_2dot4g + #station = [lanforge_prefix + "2420"] + station = [test_info.lanforge_2dot4g_station] + prefix = test_info.lanforge_2dot4g_prefix + ssid_name = profile_info_dict[fw_model]["twoFourG_WPA_SSID"] + ssid_psk = profile_info_dict[fw_model]["twoFourG_WPA_PSK"] + security = "wpa" + try: + test_result = Test.Single_Client_Connectivity(port, radio, prefix, ssid_name, ssid_psk, security, station, + test_case, + rid) + except: + test_result = "error" + Test.testrail_retest(test_case, rid, ssid_name) + pass + report_data['tests'][key][int(test_case)] = test_result + time.sleep(10) + + # TC - 5 GHz WPA2-Enterprise + if args.skip_eap != True: + test_case = test_cases["5g_eap_bridge"] + radio = test_info.lanforge_5g + #sta_list = [lanforge_prefix + "5215"] + sta_list = [test_info.lanforge_5g_station] + prefix = test_info.lanforge_5g_prefix + ssid_name = profile_info_dict[fw_model]["fiveG_WPA2-EAP_SSID"] + security = "wpa2" + eap_type = "TTLS" + try: + test_result = RunTest.Single_Client_EAP(port, sta_list, ssid_name, radio, prefix, security, eap_type, + identity, + ttls_password, test_case, rid) + except: + test_result = "error" + Test.testrail_retest(test_case, rid, ssid_name) + pass + report_data['tests'][key][int(test_case)] = test_result + time.sleep(10) + else: + pass + + # TC 5 GHz WPA2 + test_case = test_cases["5g_wpa2_bridge"] + radio = test_info.lanforge_5g + #station = [lanforge_prefix + "2236"] + station = [test_info.lanforge_5g_station] + prefix = test_info.lanforge_5g_prefix + ssid_name = profile_info_dict[fw_model]["fiveG_WPA2_SSID"] + ssid_psk = profile_info_dict[fw_model]["fiveG_WPA2_PSK"] + security = "wpa2" + try: + test_result = Test.Single_Client_Connectivity(port, radio, prefix, ssid_name, ssid_psk, security, station, + test_case, + rid) + except: + test_result = "error" + Test.testrail_retest(test_case, rid, ssid_name) + pass + report_data['tests'][key][int(test_case)] = test_result + time.sleep(10) + + # TC - 5 GHz WPA + test_case = test_cases["5g_wpa_bridge"] + radio = test_info.lanforge_5g + #station = [lanforge_prefix + "2419"] + station = [test_info.lanforge_5g_station] + prefix = test_info.lanforge_5g_prefix + ssid_name = profile_info_dict[fw_model]["fiveG_WPA_SSID"] + ssid_psk = profile_info_dict[fw_model]["fiveG_WPA_PSK"] + security = "wpa" + try: + test_result = Test.Single_Client_Connectivity(port, radio, prefix, ssid_name, ssid_psk, security, station, + test_case, + rid) + except: + test_result = "error" + Test.testrail_retest(test_case, rid, ssid_name) + pass + report_data['tests'][key][int(test_case)] = test_result + time.sleep(10) + + # Update SSID Profile + update_profile_id = str(fiveG_wpa) + update_ssid = key+"_Updated_SSID" + update_auth = "wpa2OnlyPSK" + update_security = "wpa2" + update_psk = "12345678" + update_profile = CloudSDK.update_ssid_profile(cloudSDK_url, bearer, update_profile_id, update_ssid, update_auth, update_psk) + print(update_profile) + time.sleep(90) + + # TC - Update Bridge SSID profile + test_case = test_cases["bridge_ssid_update"] + radio = test_info.lanforge_5g + station = [test_info.lanforge_5g_station] + prefix = test_info.lanforge_5g_prefix + try: + test_result = Test.Single_Client_Connectivity(port, radio, prefix, update_ssid, update_psk, + update_security, station, + test_case, + rid) + except: + test_result = "error" + Test.testrail_retest(test_case, rid, update_ssid) + pass + report_data['tests'][key][int(test_case)] = test_result + time.sleep(5) + + print(report_data['tests'][key]) + logger.info("Testing for " + fw_model + "Bridge Mode SSIDs Complete") + with open(report_path + today + '/report_data.json', 'w') as report_json_file: + json.dump(report_data, report_json_file) + else: + print("Skipping Bridge tests at user request...") + pass + + ########################################################################### + ################# NAT Mode Client Connectivity ############################ + ########################################################################### + if args.skip_nat != True: + child_profiles = [rfProfileId] + ### Create SSID Profiles + ssid_template = "templates/ssid_profile_template.json" + + # 5G SSIDs + if args.skip_eap != True: + try: + fiveG_eap = CloudSDK.create_ssid_profile(cloudSDK_url, bearer, ssid_template, + fw_model + '_5G_EAP_NAT_' + today, customer_id, + profile_info_dict[fw_model + '_nat'][ + "fiveG_WPA2-EAP_SSID"], None, + radius_profile, + "wpa2OnlyRadius", "NAT", 1, + ["is5GHzU", "is5GHz", "is5GHzL"]) + print("5G EAP SSID created successfully - NAT mode") + client.update_testrail(case_id=test_cases["ssid_5g_eap_nat"], run_id=rid, status_id=1, + msg='5G EAP SSID created successfully - NAT mode') + report_data['tests'][key][test_cases["ssid_5g_eap_nat"]] = "passed" + # Add created profile to list for AP profile + child_profiles.append(fiveG_eap) + # Add created profile to list for deletion at end of test + delete_list.append(fiveG_eap) + + except: + fiveG_eap = "error" + print("5G EAP SSID create failed - NAT mode") + client.update_testrail(case_id=test_cases["ssid_5g_eap_nat"], run_id=rid, status_id=5, + msg='5G EAP SSID create failed - NAT mode') + report_data['tests'][key][test_cases["ssid_5g_eap_nat"]] = "failed" + else: + pass + + try: + fiveG_wpa2 = CloudSDK.create_ssid_profile(cloudSDK_url, bearer, ssid_template, + fw_model + '_5G_WPA2_NAT_' + today, customer_id, + profile_info_dict[fw_model + '_nat']["fiveG_WPA2_SSID"], + profile_info_dict[fw_model + '_nat']["fiveG_WPA2_PSK"], + 0, "wpa2OnlyPSK", "NAT", 1, + ["is5GHzU", "is5GHz", "is5GHzL"]) + print("5G WPA2 SSID created successfully - NAT mode") + client.update_testrail(case_id=test_cases["ssid_5g_wpa2_nat"], run_id=rid, status_id=1, + msg='5G WPA2 SSID created successfully - NAT mode') + report_data['tests'][key][test_cases["ssid_5g_wpa2_nat"]] = "passed" + # Add created profile to list for AP profile + child_profiles.append(fiveG_wpa2) + # Add created profile to list for deletion at end of test + delete_list.append(fiveG_wpa2) + except: + fiveG_wpa2 = "error" + print("5G WPA2 SSID create failed - NAT mode") + client.update_testrail(case_id=test_cases["ssid_5g_wpa2_nat"], run_id=rid, status_id=5, + msg='5G WPA2 SSID create failed - NAT mode') + report_data['tests'][key][test_cases["ssid_5g_wpa2_nat"]] = "failed" + + try: + fiveG_wpa = CloudSDK.create_ssid_profile(cloudSDK_url, bearer, ssid_template, + fw_model + '_5G_WPA_NAT_' + today, customer_id, + profile_info_dict[fw_model + '_nat']["fiveG_WPA_SSID"], + profile_info_dict[fw_model + '_nat']["fiveG_WPA_PSK"], + 0, "wpaPSK", "NAT", 1, + ["is5GHzU", "is5GHz", "is5GHzL"]) + print("5G WPA SSID created successfully - NAT mode") + client.update_testrail(case_id=test_cases["ssid_5g_wpa_nat"], run_id=rid, status_id=1, + msg='5G WPA SSID created successfully - NAT mode') + report_data['tests'][key][test_cases["ssid_5g_wpa_nat"]] = "passed" + # Add created profile to list for AP profile + child_profiles.append(fiveG_wpa) + # Add created profile to list for deletion at end of test + delete_list.append(fiveG_wpa) + except: + fiveG_wpa = "error" + print("5G WPA SSID create failed - NAT mode") + client.update_testrail(case_id=test_cases["ssid_5g_wpa_nat"], run_id=rid, status_id=5, + msg='5G WPA SSID create failed - NAT mode') + report_data['tests'][key][test_cases["ssid_5g_wpa_nat"]] = "failed" + + # 2.4G SSIDs + if args.skip_eap != True: + try: + twoFourG_eap = CloudSDK.create_ssid_profile(cloudSDK_url, bearer, ssid_template, + fw_model + '_2G_EAP_NAT_' + today, customer_id, + profile_info_dict[fw_model + '_nat'][ + "twoFourG_WPA2-EAP_SSID"], + None, + radius_profile, "wpa2OnlyRadius", "NAT", 1, ["is2dot4GHz"]) + print("2.4G EAP SSID created successfully - NAT mode") + client.update_testrail(case_id=test_cases["ssid_2g_eap_nat"], run_id=rid, status_id=1, + msg='2.4G EAP SSID created successfully - NAT mode') + report_data['tests'][key][test_cases["ssid_2g_eap_nat"]] = "passed" + # Add created profile to list for AP profile + child_profiles.append(twoFourG_eap) + # Add created profile to list for deletion at end of test + delete_list.append(twoFourG_eap) + except: + twoFourG_eap = "error" + print("2.4G EAP SSID create failed - NAT mode") + client.update_testrail(case_id=test_cases["ssid_2g_eap_nat"], run_id=rid, status_id=5, + msg='2.4G EAP SSID create failed - NAT mode') + report_data['tests'][key][test_cases["ssid_2g_eap_nat"]] = "failed" + else: + pass + + try: + twoFourG_wpa2 = CloudSDK.create_ssid_profile(cloudSDK_url, bearer, ssid_template, + fw_model + '_2G_WPA2_NAT_' + today, customer_id, + profile_info_dict[fw_model + '_nat']["twoFourG_WPA2_SSID"], + profile_info_dict[fw_model + '_nat']["twoFourG_WPA2_PSK"], + 0, "wpa2OnlyPSK", "NAT", 1, + ["is2dot4GHz"]) + print("2.4G WPA2 SSID created successfully - NAT mode") + client.update_testrail(case_id=test_cases["ssid_2g_wpa2_nat"], run_id=rid, status_id=1, + msg='2.4G WPA2 SSID created successfully - NAT mode') + report_data['tests'][key][test_cases["ssid_2g_wpa2_nat"]] = "passed" + # Add created profile to list for AP profile + child_profiles.append(twoFourG_wpa2) + # Add created profile to list for deletion at end of test + delete_list.append(twoFourG_wpa2) + except: + twoFourG_wpa2 = "error" + print("2.4G WPA2 SSID create failed - NAT mode") + client.update_testrail(case_id=test_cases["ssid_2g_wpa2_nat"], run_id=rid, status_id=5, + msg='2.4G WPA2 SSID create failed - NAT mode') + report_data['tests'][key][test_cases["ssid_2g_wpa2_nat"]] = "failed" + try: + twoFourG_wpa = CloudSDK.create_ssid_profile(cloudSDK_url, bearer, ssid_template, + fw_model + '_2G_WPA_NAT_' + today, customer_id, + profile_info_dict[fw_model + '_nat']["twoFourG_WPA_SSID"], + profile_info_dict[fw_model + '_nat']["twoFourG_WPA_PSK"], + 0, "wpaPSK", "NAT", 1, + ["is2dot4GHz"]) + print("2.4G WPA SSID created successfully - NAT mode") + client.update_testrail(case_id=test_cases["ssid_2g_wpa_nat"], run_id=rid, status_id=1, + msg='2.4G WPA SSID created successfully - NAT mode') + report_data['tests'][key][test_cases["ssid_2g_wpa_nat"]] = "passed" + # Add created profile to list for AP profile + child_profiles.append(twoFourG_wpa) + # Add created profile to list for deletion at end of test + delete_list.append(twoFourG_wpa) + except: + twoFourG_wpa = "error" + print("2.4G WPA SSID create failed - NAT mode") + client.update_testrail(case_id=test_cases["ssid_2g_wpa_nat"], run_id=rid, status_id=5, + msg='2.4G WPA SSID create failed - NAT mode') + report_data['tests'][key][test_cases["ssid_2g_wpa_nat"]] = "failed" + + ### Create AP NAT Profile + print(child_profiles) + ap_template = "templates/ap_profile_template.json" + name = "Nightly_Sanity_" + fw_model + "_" + today + "_nat" + + try: + create_ap_profile = CloudSDK.create_ap_profile(cloudSDK_url, bearer, ap_template, name, customer_id, child_profiles) + test_profile_id = create_ap_profile + print("Test Profile ID for Test is:", test_profile_id) + client.update_testrail(case_id=test_cases["ap_nat"], run_id=rid, status_id=1, + msg='AP profile for NAT tests created successfully') + report_data['tests'][key][test_cases["ap_nat"]] = "passed" + # Add created profile to list for AP profile + # Add created profile to list for deletion at end of test + delete_list.append(test_profile_id) + except: + create_ap_profile = "error" + #test_profile_id = profile_info_dict[fw_model + '_nat']["profile_id"] + print("Error creating AP profile for NAT tests. Will use existing AP profile") + client.update_testrail(case_id=test_cases["ap_nat"], run_id=rid, status_id=5, + msg='AP profile for NAT tests could not be created using API') + report_data['tests'][key][test_cases["ap_nat"]] = "failed" + + ###Set Proper AP Profile for NAT SSID Tests + ap_profile = CloudSDK.set_ap_profile(equipment_id, test_profile_id, cloudSDK_url, bearer) + + ### Wait for Profile Push + time.sleep(180) + + ###Check if VIF Config and VIF State reflect AP Profile from CloudSDK + ## VIF Config + if args.skip_eap != True: + ssid_config = profile_info_dict[fw_model + '_nat']["ssid_list"] + else: + ssid_config = [x for x in profile_info_dict[fw_model + '_nat']["ssid_list"] if "-EAP" not in x] + try: + print("SSIDs in AP Profile:", ssid_config) + + ssid_list = ap_connect.get_vif_config(ap_ip, ap_username, ap_password) + print("SSIDs in AP VIF Config:", ssid_list) + + if set(ssid_list) == set(ssid_config): + print("SSIDs in Wifi_VIF_Config Match AP Profile Config") + client.update_testrail(case_id=test_cases["nat_vifc"], run_id=rid, status_id=1, + msg='SSIDs in VIF Config matches AP Profile Config') + report_data['tests'][key][test_cases["nat_vifc"]] = "passed" + else: + print("SSIDs in Wifi_VIF_Config do not match desired AP Profile Config") + client.update_testrail(case_id=test_cases["nat_vifc"], run_id=rid, status_id=5, + msg='SSIDs in VIF Config do not match AP Profile Config') + report_data['tests'][key][test_cases["nat_vifc"]] = "failed" + except: + ssid_list = "ERROR" + print("Error accessing VIF Config from AP CLI") + client.update_testrail(case_id=test_cases["nat_vifc"], run_id=rid, status_id=4, + msg='Cannot determine VIF Config - re-test required') + report_data['tests'][key][test_cases["nat_vifc"]] = "error" + # VIF State + try: + ssid_state = ap_connect.get_vif_state(ap_ip, ap_username, ap_password) + print("SSIDs in AP VIF State:", ssid_state) + + if set(ssid_state) == set(ssid_config): + print("SSIDs properly applied on AP") + client.update_testrail(case_id=test_cases["nat_vifs"], run_id=rid, status_id=1, + msg='SSIDs in VIF Config applied to VIF State') + report_data['tests'][key][test_cases["nat_vifs"]] = "passed" + else: + print("SSIDs not applied on AP") + client.update_testrail(case_id=test_cases["nat_vifs"], run_id=rid, status_id=5, + msg='SSIDs in VIF Config not applied to VIF State') + report_data['tests'][key][test_cases["nat_vifs"]] = "failed" + except: + ssid_list = "ERROR" + print("Error accessing VIF State from AP CLI") + print("Error accessing VIF Config from AP CLI") + client.update_testrail(case_id=test_cases["nat_vifs"], run_id=rid, status_id=4, + msg='Cannot determine VIF State - re-test required') + report_data['tests'][key][test_cases["nat_vifs"]] = "error" + + ### Set LANForge port for tests + port = test_info.lanforge_bridge_port + + # Print iwinfo for logs + iwinfo = iwinfo_status(ap_ip, ap_username, ap_password) + print(iwinfo) + + ###Run Client Single Connectivity Test Cases for NAT SSIDs + # TC - 2.4 GHz WPA2-Enterprise NAT + if args.skip_eap != True: + test_case = test_cases["2g_eap_nat"] + radio = test_info.lanforge_2dot4g + #sta_list = [lanforge_prefix + "5216"] + sta_list = [test_info.lanforge_2dot4g_station] + prefix = test_info.lanforge_2dot4g_prefix + ssid_name = profile_info_dict[fw_model + '_nat']["twoFourG_WPA2-EAP_SSID"] + security = "wpa2" + eap_type = "TTLS" + try: + test_result = RunTest.Single_Client_EAP(port, sta_list, ssid_name, radio, prefix, security, eap_type, + identity, + ttls_password, test_case, rid) + except: + test_result = "error" + Test.testrail_retest(test_case, rid, ssid_name) + pass + report_data['tests'][key][int(test_case)] = test_result + time.sleep(10) + else: + pass + + # TC - 2.4 GHz WPA2 NAT + test_case = test_cases["2g_wpa2_nat"] + radio = test_info.lanforge_2dot4g + #station = [lanforge_prefix + "4325"] + station = [test_info.lanforge_2dot4g_station] + prefix = test_info.lanforge_2dot4g_prefix + ssid_name = profile_info_dict[fw_model + '_nat']["twoFourG_WPA2_SSID"] + ssid_psk = profile_info_dict[fw_model + '_nat']["twoFourG_WPA2_PSK"] + security = "wpa2" + try: + test_result = Test.Single_Client_Connectivity(port, radio, prefix, ssid_name, ssid_psk, security, station, + test_case, + rid) + except: + test_result = "error" + Test.testrail_retest(test_case, rid, ssid_name) + pass + report_data['tests'][key][int(test_case)] = test_result + time.sleep(10) + + # TC - 2.4 GHz WPA NAT + test_case = test_cases["2g_wpa_nat"] + radio = test_info.lanforge_2dot4g + #station = [lanforge_prefix + "4323"] + station = [test_info.lanforge_2dot4g_station] + prefix = test_info.lanforge_2dot4g_prefix + ssid_name = profile_info_dict[fw_model + '_nat']["twoFourG_WPA_SSID"] + ssid_psk = profile_info_dict[fw_model + '_nat']["twoFourG_WPA_PSK"] + security = "wpa" + try: + test_result = Test.Single_Client_Connectivity(port, radio, prefix, ssid_name, ssid_psk, security, station, + test_case, rid) + except: + test_result = "error" + Test.testrail_retest(test_case, rid, ssid_name) + pass + report_data['tests'][key][int(test_case)] = test_result + time.sleep(10) + + # TC - 5 GHz WPA2-Enterprise NAT + if args.skip_eap != True: + test_case = test_cases["5g_eap_nat"] + radio = test_info.lanforge_5g + #sta_list = [lanforge_prefix + "5217"] + sta_list = [test_info.lanforge_5g_station] + prefix = test_info.lanforge_5g_prefix + ssid_name = profile_info_dict[fw_model + '_nat']["fiveG_WPA2-EAP_SSID"] + security = "wpa2" + eap_type = "TTLS" + try: + test_result = RunTest.Single_Client_EAP(port, sta_list, ssid_name, radio, prefix, security, eap_type, + identity, + ttls_password, test_case, rid) + except: + test_result = "error" + Test.testrail_retest(test_case, rid, ssid_name) + pass + report_data['tests'][key][int(test_case)] = test_result + time.sleep(10) + + # TC - 5 GHz WPA2 NAT + test_case = test_cases["5g_wpa2_nat"] + radio = test_info.lanforge_5g + #station = [lanforge_prefix + "4326"] + station = [test_info.lanforge_5g_station] + prefix = test_info.lanforge_5g_prefix + ssid_name = profile_info_dict[fw_model + '_nat']["fiveG_WPA2_SSID"] + ssid_psk = profile_info_dict[fw_model]["fiveG_WPA2_PSK"] + security = "wpa2" + try: + test_result = Test.Single_Client_Connectivity(port, radio, prefix, ssid_name, ssid_psk, security, station, + test_case, + rid) + except: + test_result = "error" + Test.testrail_retest(test_case, rid, ssid_name) + pass + report_data['tests'][key][int(test_case)] = test_result + time.sleep(10) + + # TC - 5 GHz WPA NAT + test_case = test_cases["5g_wpa_nat"] + radio = test_info.lanforge_5g + #station = [lanforge_prefix + "4324"] + station = [test_info.lanforge_5g_station] + prefix = test_info.lanforge_5g_prefix + ssid_name = profile_info_dict[fw_model + '_nat']["fiveG_WPA_SSID"] + ssid_psk = profile_info_dict[fw_model]["fiveG_WPA_PSK"] + security = "wpa" + try: + test_result = Test.Single_Client_Connectivity(port, radio, prefix, ssid_name, ssid_psk, security, station, + test_case, + rid) + except: + test_result = "error" + Test.testrail_retest(test_case, rid, ssid_name) + pass + report_data['tests'][key][int(test_case)] = test_result + time.sleep(10) + + # Update SSID Profile + update_profile_id = str(fiveG_wpa2) + update_ssid = key + "_Updated_SSID_NAT" + update_auth = "wpaPSK" + update_security = "wpa" + update_psk = "12345678" + update_profile = CloudSDK.update_ssid_profile(cloudSDK_url, bearer, update_profile_id, update_ssid, + update_auth, update_psk) + print(update_profile) + time.sleep(90) + + # TC - Update NAT SSID profile + test_case = test_cases["nat_ssid_update"] + radio = test_info.lanforge_5g + station = [test_info.lanforge_5g_station] + prefix = test_info.lanforge_5g_prefix + try: + test_result = Test.Single_Client_Connectivity(port, radio, prefix, update_ssid, update_psk, + update_security, station, + test_case, + rid) + except: + test_result = "error" + Test.testrail_retest(test_case, rid, update_ssid) + pass + report_data['tests'][key][int(test_case)] = test_result + time.sleep(5) + + print(report_data['tests'][key]) + logger.info("Testing for " + fw_model + "NAT Mode SSIDs Complete") + with open(report_path + today + '/report_data.json', 'w') as report_json_file: + json.dump(report_data, report_json_file) + else: + print("Skipping NAT tests at user request...") + pass + + ########################################################################### + ################# Customer VLAN Client Connectivity ####################### + ########################################################################### + if args.skip_vlan != True: + child_profiles = [rfProfileId] + ### Create SSID Profiles + ssid_template = "templates/ssid_profile_template.json" + + # 5G SSIDs + if args.skip_eap != True: + try: + fiveG_eap = CloudSDK.create_ssid_profile(cloudSDK_url, bearer, ssid_template, + fw_model + '_5G_EAP_VLAN' + today, customer_id, + profile_info_dict[fw_model + '_vlan'][ + "fiveG_WPA2-EAP_SSID"], None, + radius_profile, + "wpa2OnlyRadius", "BRIDGE", test_info.vlan, + ["is5GHzU", "is5GHz", "is5GHzL"]) + print("5G EAP SSID created successfully - custom VLAN mode") + client.update_testrail(case_id=test_cases["ssid_5g_eap_vlan"], run_id=rid, status_id=1, + msg='5G EAP SSID created successfully - Custom VLAN mode') + report_data['tests'][key][test_cases["ssid_5g_eap_vlan"]] = "passed" + # Add created profile to list for AP profile + child_profiles.append(fiveG_eap) + # Add created profile to list for deletion at end of test + delete_list.append(fiveG_eap) + + except: + fiveG_eap = "error" + print("5G EAP SSID create failed - custom VLAN mode") + client.update_testrail(case_id=test_cases["ssid_5g_eap_vlan"], run_id=rid, status_id=5, + msg='5G EAP SSID create failed - custom VLAN mode') + report_data['tests'][key][test_cases["ssid_5g_eap_vlan"]] = "failed" + else: + pass + + try: + fiveG_wpa2 = CloudSDK.create_ssid_profile(cloudSDK_url, bearer, ssid_template, + fw_model + '_5G_WPA2_VLAN' + today, customer_id, + profile_info_dict[fw_model + '_vlan']["fiveG_WPA2_SSID"], + profile_info_dict[fw_model + '_vlan']["fiveG_WPA2_PSK"], + 0, "wpa2OnlyPSK", "BRIDGE", test_info.vlan, + ["is5GHzU", "is5GHz", "is5GHzL"]) + print("5G WPA2 SSID created successfully - custom VLAN mode") + client.update_testrail(case_id=test_cases["ssid_5g_wpa2_vlan"], run_id=rid, status_id=1, + msg='5G WPA2 SSID created successfully - custom VLAN mode') + report_data['tests'][key][test_cases["ssid_5g_wpa2_vlan"]] = "passed" + # Add created profile to list for AP profile + child_profiles.append(fiveG_wpa2) + # Add created profile to list for deletion at end of test + delete_list.append(fiveG_wpa2) + except: + fiveG_wpa2 = "error" + print("5G WPA2 SSID create failed - custom VLAN mode") + client.update_testrail(case_id=test_cases["ssid_5g_wpa2_vlan"], run_id=rid, status_id=5, + msg='5G WPA2 SSID create failed - custom VLAN mode') + report_data['tests'][key][test_cases["ssid_5g_wpa2_vlan"]] = "failed" + + try: + fiveG_wpa = CloudSDK.create_ssid_profile(cloudSDK_url, bearer, ssid_template, + fw_model + '_5G_WPA_VLAN_' + today, customer_id, + profile_info_dict[fw_model + '_vlan']["fiveG_WPA_SSID"], + profile_info_dict[fw_model + '_vlan']["fiveG_WPA_PSK"], + 0, "wpaPSK", "BRIDGE", test_info.vlan, + ["is5GHzU", "is5GHz", "is5GHzL"]) + print("5G WPA SSID created successfully - custom VLAN mode") + client.update_testrail(case_id=test_cases["ssid_5g_wpa_vlan"], run_id=rid, status_id=1, + msg='5G WPA SSID created successfully - custom VLAN mode') + report_data['tests'][key][test_cases["ssid_5g_wpa_vlan"]] = "passed" + # Add created profile to list for AP profile + child_profiles.append(fiveG_wpa) + # Add created profile to list for deletion at end of test + delete_list.append(fiveG_wpa) + except: + fiveG_wpa = "error" + print("5G WPA SSID create failed - custom VLAN mode") + client.update_testrail(case_id=test_cases["ssid_5g_wpa_vlan"], run_id=rid, status_id=5, + msg='5G WPA SSID create failed - custom VLAN mode') + report_data['tests'][key][test_cases["ssid_5g_wpa_vlan"]] = "failed" + + # 2.4G SSIDs + if args.skip_eap != True: + try: + twoFourG_eap = CloudSDK.create_ssid_profile(cloudSDK_url, bearer, ssid_template, + fw_model + '_2G_EAP_VLAN_' + today, customer_id, + profile_info_dict[fw_model + '_vlan'][ + "twoFourG_WPA2-EAP_SSID"], + None, + radius_profile, "wpa2OnlyRadius", "BRIDGE", test_info.vlan, + ["is2dot4GHz"]) + print("2.4G EAP SSID created successfully - custom VLAN mode") + client.update_testrail(case_id=test_cases["ssid_2g_eap_vlan"], run_id=rid, status_id=1, + msg='2.4G EAP SSID created successfully - custom VLAN mode') + report_data['tests'][key][test_cases["ssid_2g_eap_vlan"]] = "passed" + # Add created profile to list for AP profile + child_profiles.append(twoFourG_eap) + # Add created profile to list for deletion at end of test + delete_list.append(twoFourG_eap) + except: + twoFourG_eap = "error" + print("2.4G EAP SSID create failed - custom VLAN mode") + client.update_testrail(case_id=test_cases["ssid_2g_eap_vlan"], run_id=rid, status_id=5, + msg='2.4G EAP SSID create failed - custom VLAN mode') + report_data['tests'][key][test_cases["ssid_2g_eap_vlan"]] = "failed" + else: + pass + + try: + twoFourG_wpa2 = CloudSDK.create_ssid_profile(cloudSDK_url, bearer, ssid_template, + fw_model + '_2G_WPA2_VLAN_' + today, customer_id, + profile_info_dict[fw_model + '_vlan'][ + "twoFourG_WPA2_SSID"], + profile_info_dict[fw_model + '_vlan']["twoFourG_WPA2_PSK"], + 0, "wpa2OnlyPSK", "BRIDGE", test_info.vlan, + ["is2dot4GHz"]) + print("2.4G WPA2 SSID created successfully - custom VLAN mode") + client.update_testrail(case_id=test_cases["ssid_2g_wpa2_vlan"], run_id=rid, status_id=1, + msg='2.4G WPA2 SSID created successfully - custom VLAN mode') + report_data['tests'][key][test_cases["ssid_2g_wpa2_vlan"]] = "passed" + # Add created profile to list for AP profile + child_profiles.append(twoFourG_wpa2) + # Add created profile to list for deletion at end of test + delete_list.append(twoFourG_wpa2) + except: + twoFourG_wpa2 = "error" + print("2.4G WPA2 SSID create failed - custom VLAN mode") + client.update_testrail(case_id=test_cases["ssid_2g_wpa2_vlan"], run_id=rid, status_id=5, + msg='2.4G WPA2 SSID create failed - custom VLAN mode') + report_data['tests'][key][test_cases["ssid_2g_wpa2_vlan"]] = "failed" + + try: + twoFourG_wpa = CloudSDK.create_ssid_profile(cloudSDK_url, bearer, ssid_template, + fw_model + '_2G_WPA_VLAN_' + today, customer_id, + profile_info_dict[fw_model + '_vlan']["twoFourG_WPA_SSID"], + profile_info_dict[fw_model + '_vlan']["twoFourG_WPA_PSK"], + 0, "wpaPSK", "BRIDGE", test_info.vlan, + ["is2dot4GHz"]) + print("2.4G WPA SSID created successfully - custom VLAN mode") + client.update_testrail(case_id=test_cases["ssid_2g_wpa_vlan"], run_id=rid, status_id=1, + msg='2.4G WPA SSID created successfully - custom VLAN mode') + report_data['tests'][key][test_cases["ssid_2g_wpa_vlan"]] = "passed" + # Add created profile to list for AP profile + child_profiles.append(twoFourG_wpa) + # Add created profile to list for deletion at end of test + delete_list.append(twoFourG_wpa) + except: + twoFourG_wpa = "error" + print("2.4G WPA SSID create failed - custom VLAN mode") + client.update_testrail(case_id=test_cases["ssid_2g_wpa_vlan"], run_id=rid, status_id=5, + msg='2.4G WPA SSID create failed - custom VLAN mode') + report_data['tests'][key][test_cases["ssid_2g_wpa_vlan"]] = "failed" + + ### Create AP VLAN Profile + print(child_profiles) + ap_template = "templates/ap_profile_template.json" + name = "Nightly_Sanity_" + fw_model + "_" + today + "_vlan" + + try: + create_ap_profile = CloudSDK.create_ap_profile(cloudSDK_url, bearer, ap_template, name, customer_id, child_profiles) + test_profile_id = create_ap_profile + print("Test Profile ID for Test is:", test_profile_id) + client.update_testrail(case_id=test_cases["ap_vlan"], run_id=rid, status_id=1, + msg='AP profile for VLAN tests created successfully') + report_data['tests'][key][test_cases["ap_vlan"]] = "passed" + # Add created profile to list for deletion at end of test + delete_list.append(test_profile_id) + except: + create_ap_profile = "error" + #test_profile_id = profile_info_dict[fw_model + '_vlan']["profile_id"] + print("Error creating AP profile for bridge tests. Will use existing AP profile") + client.update_testrail(case_id=test_cases["ap_vlan"], run_id=rid, status_id=5, + msg='AP profile for VLAN tests could not be created using API') + report_data['tests'][key][test_cases["ap_vlan"]] = "failed" + + ### Set Proper AP Profile for VLAN SSID Tests + ap_profile = CloudSDK.set_ap_profile(equipment_id, test_profile_id, cloudSDK_url, bearer) + + ### Wait for Profile Push + time.sleep(180) + + ###Check if VIF Config and VIF State reflect AP Profile from CloudSDK + ## VIF Config + if args.skip_eap != True: + ssid_config = profile_info_dict[fw_model + '_vlan']["ssid_list"] + else: + ssid_config = [x for x in profile_info_dict[fw_model + '_vlan']["ssid_list"] if "-EAP" not in x] + + try: + print("SSIDs in AP Profile:", ssid_config) + + ssid_list = ap_connect.get_vif_config(ap_ip, ap_username, ap_password) + print("SSIDs in AP VIF Config:", ssid_list) + + if set(ssid_list) == set(ssid_config): + print("SSIDs in Wifi_VIF_Config Match AP Profile Config") + client.update_testrail(case_id=test_cases["vlan_vifc"], run_id=rid, status_id=1, + msg='SSIDs in VIF Config matches AP Profile Config') + report_data['tests'][key][test_cases["vlan_vifc"]] = "passed" + else: + print("SSIDs in Wifi_VIF_Config do not match desired AP Profile Config") + client.update_testrail(case_id=test_cases["vlan_vifc"], run_id=rid, status_id=5, + msg='SSIDs in VIF Config do not match AP Profile Config') + report_data['tests'][key][test_cases["vlan_vifc"]] = "failed" + except: + ssid_list = "ERROR" + print("Error accessing VIF Config from AP CLI") + client.update_testrail(case_id=test_cases["vlan_vifc"], run_id=rid, status_id=4, + msg='Cannot determine VIF Config - re-test required') + report_data['tests'][key][test_cases["vlan_vifc"]] = "error" + # VIF State + try: + ssid_state = ap_connect.get_vif_state(ap_ip, ap_username, ap_password) + print("SSIDs in AP VIF State:", ssid_state) + + if set(ssid_state) == set(ssid_config): + print("SSIDs properly applied on AP") + client.update_testrail(case_id=test_cases["vlan_vifs"], run_id=rid, status_id=1, + msg='SSIDs in VIF Config applied to VIF State') + report_data['tests'][key][test_cases["vlan_vifs"]] = "passed" + else: + print("SSIDs not applied on AP") + client.update_testrail(case_id=test_cases["vlan_vifs"], run_id=rid, status_id=5, + msg='SSIDs in VIF Config not applied to VIF State') + report_data['tests'][key][test_cases["vlan_vifs"]] = "failed" + except: + ssid_list = "ERROR" + print("Error accessing VIF State from AP CLI") + print("Error accessing VIF Config from AP CLI") + client.update_testrail(case_id=test_cases["vlan_vifs"], run_id=rid, status_id=4, + msg='Cannot determine VIF State - re-test required') + report_data['tests'][key][test_cases["vlan_vifs"]] = "error" + + ### Set port for LANForge + port = test_info.lanforge_vlan_port + + # Print iwinfo for logs + iwinfo = iwinfo_status(ap_ip, ap_username, ap_password) + print(iwinfo) + + ###Run Client Single Connectivity Test Cases for VLAN SSIDs + # TC- 2.4 GHz WPA2-Enterprise VLAN + if args.skip_eap != True: + test_case = test_cases["2g_eap_vlan"] + radio = test_info.lanforge_2dot4g + #sta_list = [lanforge_prefix + "5253"] + sta_list = [test_info.lanforge_2dot4g_station] + prefix = test_info.lanforge_2dot4g_prefix + ssid_name = profile_info_dict[fw_model + '_vlan']["twoFourG_WPA2-EAP_SSID"] + security = "wpa2" + eap_type = "TTLS" + try: + test_result = RunTest.Single_Client_EAP(port, sta_list, ssid_name, radio, prefix, security, eap_type, + identity, + ttls_password, test_case, rid) + except: + test_result = "error" + Test.testrail_retest(test_case, rid, ssid_name) + pass + report_data['tests'][key][int(test_case)] = test_result + time.sleep(10) + else: + pass + # TC - 2.4 GHz WPA2 VLAN + test_case = test_cases["2g_wpa2_vlan"] + radio = test_info.lanforge_2dot4g + #station = [lanforge_prefix + "5251"] + station = [test_info.lanforge_2dot4g_station] + prefix = test_info.lanforge_2dot4g_prefix + ssid_name = profile_info_dict[fw_model + '_vlan']["twoFourG_WPA2_SSID"] + ssid_psk = profile_info_dict[fw_model + '_vlan']["twoFourG_WPA2_PSK"] + security = "wpa2" + try: + test_result = Test.Single_Client_Connectivity(port, radio, prefix, ssid_name, ssid_psk, security, station, + test_case, + rid) + except: + test_result = "error" + Test.testrail_retest(test_case, rid, ssid_name) + pass + report_data['tests'][key][int(test_case)] = test_result + time.sleep(10) + + # TC 4323 - 2.4 GHz WPA VLAN + test_case = test_cases["2g_wpa_vlan"] + radio = test_info.lanforge_2dot4g + #station = [lanforge_prefix + "5252"] + station = [test_info.lanforge_2dot4g_station] + prefix = test_info.lanforge_2dot4g_prefix + ssid_name = profile_info_dict[fw_model + '_vlan']["twoFourG_WPA_SSID"] + ssid_psk = profile_info_dict[fw_model + '_vlan']["twoFourG_WPA_PSK"] + security = "wpa" + try: + test_result = Test.Single_Client_Connectivity(port, radio, prefix, ssid_name, ssid_psk, security, station, + test_case, rid) + except: + test_result = "error" + Test.testrail_retest(test_case, rid, ssid_name) + pass + report_data['tests'][key][int(test_case)] = test_result + time.sleep(10) + + # TC - 5 GHz WPA2-Enterprise VLAN + if args.skip_eap != True: + test_case = test_cases["5g_eap_vlan"] + radio = test_info.lanforge_5g + #sta_list = [lanforge_prefix + "5250"] + sta_list = [test_info.lanforge_5g_station] + prefix = test_info.lanforge_5g_prefix + ssid_name = profile_info_dict[fw_model + '_vlan']["fiveG_WPA2-EAP_SSID"] + security = "wpa2" + eap_type = "TTLS" + try: + test_result = RunTest.Single_Client_EAP(port, sta_list, ssid_name, radio, prefix, security, eap_type, + identity, + ttls_password, test_case, rid) + except: + test_result = "error" + Test.testrail_retest(test_case, rid, ssid_name) + pass + report_data['tests'][key][int(test_case)] = test_result + time.sleep(10) + else: + pass + + # TC - 5 GHz WPA2 VLAN + test_case = test_cases["5g_wpa2_vlan"] + radio = test_info.lanforge_5g + #station = [lanforge_prefix + "5248"] + station = [test_info.lanforge_5g_station] + prefix = test_info.lanforge_5g_prefix + ssid_name = profile_info_dict[fw_model + '_vlan']["fiveG_WPA2_SSID"] + ssid_psk = profile_info_dict[fw_model]["fiveG_WPA2_PSK"] + security = "wpa2" + try: + test_result = Test.Single_Client_Connectivity(port, radio, prefix, ssid_name, ssid_psk, security, station, + test_case, + rid) + except: + test_result = "error" + Test.testrail_retest(test_case, rid, ssid_name) + pass + report_data['tests'][key][int(test_case)] = test_result + time.sleep(10) + + # TC 4324 - 5 GHz WPA VLAN + test_case = test_cases["5g_wpa_vlan"] + radio = test_info.lanforge_5g + #station = [lanforge_prefix + "5249"] + station = [test_info.lanforge_5g_station] + prefix = test_info.lanforge_5g_prefix + ssid_name = profile_info_dict[fw_model + '_vlan']["fiveG_WPA_SSID"] + ssid_psk = profile_info_dict[fw_model]["fiveG_WPA_PSK"] + security = "wpa" + try: + test_result = Test.Single_Client_Connectivity(port, radio, prefix, ssid_name, ssid_psk, security, station, + test_case, + rid) + except: + test_result = "error" + Test.testrail_retest(test_case, rid, ssid_name) + pass + report_data['tests'][key][int(test_case)] = test_result + time.sleep(10) + + # Update SSID Profile + update_profile_id = str(fiveG_wpa) + update_ssid = key + "_Updated_SSID_NAT" + update_auth = "open" + update_security = "open" + update_psk = "" + update_profile = CloudSDK.update_ssid_profile(cloudSDK_url, bearer, update_profile_id, update_ssid, + update_auth, update_psk) + print(update_profile) + time.sleep(90) + + # TC - Updated VLAN SSID profile + test_case = test_cases["vlan_ssid_update"] + radio = test_info.lanforge_5g + station = [test_info.lanforge_5g_station] + prefix = test_info.lanforge_5g_prefix + try: + test_result = Test.Single_Client_Connectivity(port, radio, prefix, update_ssid, update_psk, + update_security, station, + test_case, + rid) + except: + test_result = "error" + Test.testrail_retest(test_case, rid, update_ssid) + pass + report_data['tests'][key][int(test_case)] = test_result + time.sleep(5) + + print(report_data['tests'][key]) + logger.info("Testing for " + fw_model + "Custom VLAN SSIDs Complete") + else: + print("Skipping VLAN tests at user request...") + pass + + logger.info("Testing for " + fw_model + "Complete") + + # Add indication of complete TC pass/fail to sanity_status for pass to external json used by Throughput Test + x = all(status == "passed" for status in report_data["tests"][key].values()) + print(x) + + if x == True: + sanity_status['sanity_status'][key] = "passed" + + else: + sanity_status['sanity_status'][key] = "failed" + + ##Update sanity_status.json to indicate there has been a test on at least one AP model tonight + sanity_status['sanity_run']['new_data'] = "yes" + + print(sanity_status) + + # write to json file + with open('sanity_status.json', 'w') as json_file: + json.dump(sanity_status, json_file) + + # write to report_data contents to json file so it has something in case of unexpected fail + print(report_data) + with open(report_path + today + '/report_data.json', 'w') as report_json_file: + json.dump(report_data, report_json_file) + + ########################################################################### + ################# Post-test Prfofile Cleanup ############################## + ########################################################################### + + # Set AP to use permanently available profile to allow for deletion of RADIUS, SSID, and AP profiles + print("Cleaning up! Deleting created test profiles") + print("Set AP to profile not created in test") + ap_profile = CloudSDK.set_ap_profile(equipment_id, 6, cloudSDK_url, bearer) + time.sleep(5) + + # Delete profiles in delete_list + for x in delete_list: + delete_profile = CloudSDK.delete_profile(cloudSDK_url, bearer, str(x)) + if delete_profile == "SUCCESS": + print("profile", x, "delete successful") + else: + print("Error deleting profile") + +# Dump all sanity test results to external json file again just to be sure +with open('sanity_status.json', 'w') as json_file: + json.dump(sanity_status, json_file) + +# Calculate percent of tests passed for report +for key in ap_models: + if report_data['fw_available'][key] == "No": + report_data["pass_percent"][key] = "Not Run" + else: + # no_of_tests = len(report_data["tests"][key]) + passed_tests = sum(x == "passed" for x in report_data["tests"][key].values()) + failed_tests = sum(y == "failed" for y in report_data["tests"][key].values()) + error_tests = sum(z == "error" for z in report_data["tests"][key].values()) + no_of_tests = len(case_ids) + if no_of_tests == 0: + print("No tests run for", key) + else: + print("--- Test Data for", key, "---") + print(key, "tests passed:", passed_tests) + print(key, "tests failed:", failed_tests) + print(key, "tests with error:", error_tests) + print(key, "total tests:", no_of_tests) + percent = float(passed_tests / no_of_tests) * 100 + percent_pass = round(percent, 2) + print(key, "pass rate is", str(percent_pass) + "%") + print("---------------------------") + report_data["pass_percent"][key] = str(percent_pass) + '%' + +# write to report_data contents to json file +print(report_data) +with open(report_path + today + '/report_data.json', 'w') as report_json_file: + json.dump(report_data, report_json_file) + +print(".....End of Sanity Test.....") +logger.info("End of Sanity Test run") diff --git a/tests/cicd_sanity/cloud_connect.py b/tests/cicd_sanity/cloud_connect.py new file mode 100755 index 000000000..f6a3722ce --- /dev/null +++ b/tests/cicd_sanity/cloud_connect.py @@ -0,0 +1,292 @@ +#!/usr/bin/python3 + +################################################################################## +# Module contains functions to interact with CloudSDK using APIs +# Start by calling get_bearer to obtain bearer token, then other APIs can be used +# +# Used by Nightly_Sanity and Throughput_Test ##################################### +################################################################################## + +import base64 +import urllib.request +from bs4 import BeautifulSoup +import ssl +import subprocess, os +from artifactory import ArtifactoryPath +import tarfile +import paramiko +from paramiko import SSHClient +from scp import SCPClient +import os +import pexpect +from pexpect import pxssh +import sys +import paramiko +from scp import SCPClient +import pprint +from pprint import pprint +from os import listdir +import re +import requests +import json +import logging +import datetime +import time + +###Class for CloudSDK Interaction via RestAPI +class CloudSDK: + def get_bearer(cloudSDK_url, cloud_type, user, password): + cloud_login_url = cloudSDK_url+"/management/"+cloud_type+"/oauth2/token" + payload = ''' + { + "userId": "'''+user+'''", + "password": "'''+password+'''" + } + ''' + headers = { + 'Content-Type': 'application/json' + } + try: + token_response = requests.request("POST", cloud_login_url, headers=headers, data=payload) + except requests.exceptions.RequestException as e: + raise SystemExit("Exiting Script! Cloud not get bearer token for reason:",e) + token_data = token_response.json() + bearer_token = token_data['access_token'] + return(bearer_token) + + def ap_firmware(customer_id,equipment_id, cloudSDK_url, bearer): + equip_fw_url = cloudSDK_url+"/portal/status/forEquipment?customerId="+customer_id+"&equipmentId="+equipment_id + payload = {} + headers = { + 'Authorization': 'Bearer ' + bearer + } + status_response = requests.request("GET", equip_fw_url, headers=headers, data=payload) + status_code = status_response.status_code + if status_code == 200: + status_data = status_response.json() + #print(status_data) + try: + current_ap_fw = status_data[2]['details']['reportedSwVersion'] + return current_ap_fw + except: + current_ap_fw = "error" + return "ERROR" + + else: + return "ERROR" + + def CloudSDK_images(apModel, cloudSDK_url, bearer): + getFW_url = cloudSDK_url+"/portal/firmware/version/byEquipmentType?equipmentType=AP&modelId=" + apModel + payload = {} + headers = { + 'Authorization': 'Bearer ' + bearer + } + response = requests.request("GET", getFW_url, headers=headers, data=payload) + ap_fw_details = response.json() + ###return ap_fw_details + fwlist = [] + for version in ap_fw_details: + fwlist.append(version.get('versionName')) + return(fwlist) + #fw_versionNames = ap_fw_details[0]['versionName'] + #return fw_versionNames + + def firwmare_upload(commit, apModel,latest_image,fw_url,cloudSDK_url,bearer): + fw_upload_url = cloudSDK_url+"/portal/firmware/version" + payload = "{\n \"model_type\": \"FirmwareVersion\",\n \"id\": 0,\n \"equipmentType\": \"AP\",\n \"modelId\": \""+apModel+"\",\n \"versionName\": \""+latest_image+"\",\n \"description\": \"\",\n \"filename\": \""+fw_url+"\",\n \"commit\": \""+commit+"\",\n \"validationMethod\": \"MD5_CHECKSUM\",\n \"validationCode\": \"19494befa87eb6bb90a64fd515634263\",\n \"releaseDate\": 1596192028877,\n \"createdTimestamp\": 0,\n \"lastModifiedTimestamp\": 0\n}\n\n" + headers = { + 'Content-Type': 'application/json', + 'Authorization': 'Bearer ' + bearer + } + + response = requests.request("POST", fw_upload_url, headers=headers, data=payload) + #print(response) + upload_result = response.json() + return(upload_result) + + def get_firmware_id(latest_ap_image, cloudSDK_url, bearer): + #print(latest_ap_image) + fw_id_url = cloudSDK_url+"/portal/firmware/version/byName?firmwareVersionName="+latest_ap_image + + payload = {} + headers = { + 'Authorization': 'Bearer ' + bearer + } + response = requests.request("GET", fw_id_url, headers=headers, data=payload) + fw_data = response.json() + latest_fw_id = fw_data['id'] + return latest_fw_id + + def delete_firmware(fw_id, cloudSDK_url, bearer): + url = cloudSDK_url + '/portal/firmware/version?firmwareVersionId=' + fw_id + payload = {} + headers = { + 'Authorization': 'Bearer ' + bearer + } + response = requests.request("DELETE", url, headers=headers, data=payload) + return(response) + + def update_firmware(equipment_id, latest_firmware_id, cloudSDK_url, bearer): + url = cloudSDK_url+"/portal/equipmentGateway/requestFirmwareUpdate?equipmentId="+equipment_id+"&firmwareVersionId="+latest_firmware_id + + payload = {} + headers = { + 'Authorization': 'Bearer ' + bearer + } + + response = requests.request("POST", url, headers=headers, data=payload) + #print(response.text) + return response.json() + + def set_ap_profile(equipment_id, test_profile_id, cloudSDK_url, bearer): + ###Get AP Info + url = cloudSDK_url+"/portal/equipment?equipmentId="+equipment_id + payload = {} + headers = { + 'Authorization': 'Bearer ' + bearer + } + + response = requests.request("GET", url, headers=headers, data=payload) + print(response) + + ###Add Lab Profile ID to Equipment + equipment_info = response.json() + #print(equipment_info) + equipment_info["profileId"] = test_profile_id + #print(equipment_info) + + ###Update AP Info with Required Profile ID + url = cloudSDK_url+"/portal/equipment" + headers = { + 'Content-Type': 'application/json', + 'Authorization': 'Bearer ' + bearer + } + + response = requests.request("PUT", url, headers=headers, data=json.dumps(equipment_info)) + #print(response) + + def get_cloudsdk_version(cloudSDK_url, bearer): + #print(latest_ap_image) + url = cloudSDK_url+"/ping" + + payload = {} + headers = { + 'Authorization': 'Bearer ' + bearer + } + response = requests.request("GET", url, headers=headers, data=payload) + cloud_sdk_version = response.json() + return cloud_sdk_version + + def create_ap_profile(cloudSDK_url, bearer, template, name, customer_id, child_profiles): + with open(template, 'r+') as ap_profile: + profile = json.load(ap_profile) + profile["name"] = name + profile['customerId'] = customer_id + profile["childProfileIds"] = child_profiles + + with open(template, 'w') as ap_profile: + json.dump(profile, ap_profile) + + url = cloudSDK_url+"/portal/profile" + headers = { + 'Content-Type': 'application/json', + 'Authorization': 'Bearer ' + bearer + } + response = requests.request("POST", url, headers=headers, data=open(template, 'rb')) + ap_profile = response.json() + print(ap_profile) + ap_profile_id = ap_profile['id'] + return ap_profile_id + + def create_ssid_profile(cloudSDK_url, bearer, template, name, customer_id, ssid, passkey, radius, security, mode, vlan, radios): + with open(template, 'r+') as ssid_profile: + profile = json.load(ssid_profile) + profile['name'] = name + profile['customerId'] = customer_id + profile['details']['ssid'] = ssid + profile['details']['keyStr'] = passkey + profile['details']['radiusServiceId'] = radius + profile['details']['secureMode'] = security + profile['details']['forwardMode'] = mode + profile['details']['vlanId'] = vlan + profile['details']['appliedRadios'] = radios + if radius != 0: + profile["childProfileIds"] = [radius] + else: + profile["childProfileIds"] = [] + with open(template, 'w') as ssid_profile: + json.dump(profile, ssid_profile) + + url = cloudSDK_url + "/portal/profile" + headers = { + 'Content-Type': 'application/json', + 'Authorization': 'Bearer ' + bearer + } + response = requests.request("POST", url, headers=headers, data=open(template, 'rb')) + ssid_profile = response.json() + #print(ssid_profile) + ssid_profile_id = ssid_profile['id'] + return ssid_profile_id + + def create_radius_profile(cloudSDK_url, bearer, template, name, customer_id, server_ip, secret, auth_port): + with open(template, 'r+') as radius_profile: + profile = json.load(radius_profile) + + profile['name'] = name + profile['customerId'] = customer_id + profile['details']["primaryRadiusAuthServer"]['ipAddress'] = server_ip + profile['details']["primaryRadiusAuthServer"]['secret'] = secret + profile['details']["primaryRadiusAuthServer"]['port'] = auth_port + + with open(template, 'w') as radius_profile: + json.dump(profile, radius_profile) + + url = cloudSDK_url + "/portal/profile" + headers = { + 'Content-Type': 'application/json', + 'Authorization': 'Bearer ' + bearer + } + response = requests.request("POST", url, headers=headers, data=open(template, 'rb')) + radius_profile = response.json() + radius_profile_id = radius_profile['id'] + return radius_profile_id + + def delete_profile(cloudSDK_url, bearer, profile_id): + url = cloudSDK_url + "/portal/profile?profileId="+profile_id + payload = {} + headers = { + 'Authorization': 'Bearer ' + bearer + } + del_profile = requests.request("DELETE", url, headers=headers, data=payload) + status_code = del_profile.status_code + if status_code == 200: + return("SUCCESS") + else: + return ("ERROR") + + def update_ssid_profile(cloudSDK_url, bearer, profile_id, new_ssid, new_secure_mode, new_psk): + get_profile_url = cloudSDK_url + "/portal/profile?profileId="+profile_id + + payload = {} + headers = headers = { + 'Authorization': 'Bearer ' + bearer + } + + response = requests.request("GET", get_profile_url, headers=headers, data=payload) + original_profile = response.json() + print(original_profile) + + original_profile['details']['ssid'] = new_ssid + original_profile['details']['secureMode'] = new_secure_mode + original_profile['details']['keyStr'] = new_psk + + put_profile_url = cloudSDK_url + "/portal/profile" + payload = original_profile + headers = headers = { + 'Content-Type': 'application/json', + 'Authorization': 'Bearer ' + bearer + } + response = requests.request("PUT", put_profile_url, headers=headers, json=payload) + print(response) + updated_profile = response.json() + return updated_profile \ No newline at end of file diff --git a/tests/cicd_sanity/sanity_status.json b/tests/cicd_sanity/sanity_status.json new file mode 100755 index 000000000..a68c377e2 --- /dev/null +++ b/tests/cicd_sanity/sanity_status.json @@ -0,0 +1 @@ +{"sanity_status": {"ea8300": "passed", "ecw5211": "passed", "ecw5410": "passed", "ec420": "passed", "wf188n": "failed", "wf193c": "failed", "ex227": "passed", "ex447": "failed", "eap101": "failed", "eap102": "failed", "wf194c": "failed"}, "sanity_run": {"new_data": "yes"}} \ No newline at end of file diff --git a/tests/cicd_sanity/test_info.py b/tests/cicd_sanity/test_info.py new file mode 100755 index 000000000..395cfc864 --- /dev/null +++ b/tests/cicd_sanity/test_info.py @@ -0,0 +1,291 @@ +#!/usr/bin/python3 + +##AP Models Under Test +ap_models = ["ecw5410"] + +##Cloud Type(cloudSDK = v1) +cloud_type = "v1" +cloudSDK_url = "https://wlan-portal-svc-nola-ext-02.cicd.lab.wlan.tip.build" +customer_id = "2" +cloud_user = "support@example.com" +cloud_password = "support" + +##LANForge Info +lanforge_ip = "10.10.10.201" +lanforge_2dot4g = "wiphy6" +lanforge_5g = "wiphy6" +# For single client connectivity use cases, use full station name for prefix to only read traffic from client under test +lanforge_2dot4g_prefix = "wlan6" +lanforge_5g_prefix = "wlan6" +lanforge_2dot4g_station = "wlan6" +lanforge_5g_station = "wlan6" +lanforge_bridge_port = "eth2" +# VLAN interface on LANForge - must be configured to use alias of "vlan###" to accommodate sta_connect2 library +lanforge_vlan_port = "vlan100" +vlan = 100 + +# Equipment IDs for Lab APs under test - for test to loop through multiple APs put additional keys in the dictionary +equipment_id_dict = { + "ecw5410": "5", +} +# Equipment IPs for SSH or serial connection information +equipment_ip_dict = { + "ecw5410": "10.10.10.105" +} + +equipment_credentials_dict = { + "ecw5410": "openwifi", +} + +##RADIUS Info +radius_info = { + "server_ip": "10.10.10.203", + "secret": "testing123", + "auth_port": 1812, + "eap_identity": "testing", + "eap_pwd": "admin123" +} +##AP Models for firmware upload +cloud_sdk_models = { + "ec420": "EC420-G1", + "ea8300": "EA8300-CA", + "ecw5211": "ECW5211", + "ecw5410": "ECW5410", + "wf188n": "WF188N", + "wf194c": "WF194C", + "ex227": "EX227", + "ex447": "EX447", + "eap101": "EAP101", + "eap102": "EAP102" +} + +ap_spec = { + "ec420": "wifi5", + "ea8300": "wifi5", + "ecw5211": "wifi5", + "ecw5410": "wifi5", + "wf188n": "wifi6", + "wf194c": "wifi6", + "ex227": "wifi6", + "ex447": "wifi6", + "eap101": "wifi6", + "eap102": "wifi6" +} + +mimo_5g = { + "ec420": "4x4", + "ea8300": "2x2", + "ecw5211": "2x2", + "ecw5410": "4x4", + "wf188n": "2x2", + "wf194c": "8x8", + "ex227": "", + "ex447": "", + "eap101": "2x2", + "eap102": "4x4" +} + +mimo_2dot4g = { + "ec420": "2x2", + "ea8300": "2x2", + "ecw5211": "2x2", + "ecw5410": "4x4", + "wf188n": "2x2", + "wf194c": "4x4", + "ex227": "", + "ex447": "", + "eap101": "2x2", + "eap102": "4x4" +} + +sanity_status = { + "ea8300": "failed", + "ecw5211": 'passed', + "ecw5410": 'failed', + "ec420": 'failed', + "wf188n": "failed", + "wf194c": "failed", + "ex227": "failed", + "ex447": "failed", + "eap101": "failed", + "eap102": "failed" +} + +##Test Case information - Maps a generic TC name to TestRail TC numbers +test_cases = { + "ap_upgrade": 2233, + "5g_wpa2_bridge": 2236, + "2g_wpa2_bridge": 2237, + "5g_wpa_bridge": 2419, + "2g_wpa_bridge": 2420, + "2g_wpa_nat": 4323, + "5g_wpa_nat": 4324, + "2g_wpa2_nat": 4325, + "5g_wpa2_nat": 4326, + "2g_eap_bridge": 5214, + "5g_eap_bridge": 5215, + "2g_eap_nat": 5216, + "5g_eap_nat": 5217, + "cloud_connection": 5222, + "cloud_fw": 5247, + "5g_wpa2_vlan": 5248, + "5g_wpa_vlan": 5249, + "5g_eap_vlan": 5250, + "2g_wpa2_vlan": 5251, + "2g_wpa_vlan": 5252, + "2g_eap_vlan": 5253, + "cloud_ver": 5540, + "bridge_vifc": 5541, + "nat_vifc": 5542, + "vlan_vifc": 5543, + "bridge_vifs": 5544, + "nat_vifs": 5545, + "vlan_vifs": 5546, + "upgrade_api": 5547, + "create_fw": 5548, + "ap_bridge": 5641, + "ap_nat": 5642, + "ap_vlan": 5643, + "ssid_2g_eap_bridge": 5644, + "ssid_2g_wpa2_bridge": 5645, + "ssid_2g_wpa_bridge": 5646, + "ssid_5g_eap_bridge": 5647, + "ssid_5g_wpa2_bridge": 5648, + "ssid_5g_wpa_bridge": 5649, + "ssid_2g_eap_nat": 5650, + "ssid_2g_wpa2_nat": 5651, + "ssid_2g_wpa_nat": 5652, + "ssid_5g_eap_nat": 5653, + "ssid_5g_wpa2_nat": 5654, + "ssid_5g_wpa_nat": 5655, + "ssid_2g_eap_vlan": 5656, + "ssid_2g_wpa2_vlan": 5657, + "ssid_2g_wpa_vlan": 5658, + "ssid_5g_eap_vlan": 5659, + "ssid_5g_wpa2_vlan": 5660, + "ssid_5g_wpa_vlan": 5661, + "radius_profile": 5808, + "bridge_ssid_update": 8742, + "nat_ssid_update": 8743, + "vlan_ssid_update": 8744 +} + +## Other profiles +radius_profile = 9 +rf_profile_wifi5 = 10 +rf_profile_wifi6 = 762 + +###Testing AP Profile Information +profile_info_dict = { + "ecw5410": { + "profile_id": "6", + "childProfileIds": [ + 3647, + 10, + 11, + 12, + 13, + 190, + 191 + ], + "fiveG_WPA2_SSID": "ECW5410_5G_WPA2", + "fiveG_WPA2_PSK": "Connectus123$", + "fiveG_WPA_SSID": "ECW5410_5G_WPA", + "fiveG_WPA_PSK": "Connectus123$", + "fiveG_OPEN_SSID": "ECW5410_5G_OPEN", + "fiveG_WPA2-EAP_SSID": "ECW5410_5G_WPA2-EAP", + "twoFourG_OPEN_SSID": "ECW5410_2dot4G_OPEN", + "twoFourG_WPA2_SSID": "ECW5410_2dot4G_WPA2", + "twoFourG_WPA2_PSK": "Connectus123$", + "twoFourG_WPA_SSID": "ECW5410_2dot4G_WPA", + "twoFourG_WPA_PSK": "Connectus123$", + "twoFourG_WPA2-EAP_SSID": "ECW5410_2dot4G_WPA2-EAP", + "fiveG_WPA2_profile": 3647, + "fiveG_WPA_profile": 13, + "fiveG_WPA2-EAP_profile": 191, + "twoFourG_WPA2_profile": 11, + "twoFourG_WPA_profile": 12, + "twoFourG_WPA2-EAP_profile": 190, + "ssid_list": [ + "ECW5410_5G_WPA2", + "ECW5410_5G_WPA", + "ECW5410_5G_WPA2-EAP", + "ECW5410_2dot4G_WPA2", + "ECW5410_2dot4G_WPA", + "ECW5410_2dot4G_WPA2-EAP" + ] + }, + + "ecw5410_nat": { + "fiveG_WPA2_SSID": "ECW5410_5G_WPA2_NAT", + "fiveG_WPA2_PSK": "Connectus123$", + "fiveG_WPA_SSID": "ECW5410_5G_WPA_NAT", + "fiveG_WPA_PSK": "Connectus123$", + "fiveG_OPEN_SSID": "ECW5410_5G_OPEN_NAT", + "fiveG_WPA2-EAP_SSID": "ECW5410_5G_WPA2-EAP_NAT", + "twoFourG_OPEN_SSID": "ECW5410_2dot4G_OPEN_NAT", + "twoFourG_WPA2_SSID": "ECW5410_2dot4G_WPA2_NAT", + "twoFourG_WPA2_PSK": "Connectus123$", + "twoFourG_WPA_SSID": "ECW5410_2dot4G_WPA_NAT", + "twoFourG_WPA_PSK": "Connectus123$", + "twoFourG_WPA2-EAP_SSID": "ECW5410_2dot4G_WPA2-EAP_NAT", + "ssid_list": [ + "ECW5410_5G_WPA2_NAT", + "ECW5410_5G_WPA_NAT", + "ECW5410_5G_WPA2-EAP_NAT", + "ECW5410_2dot4G_WPA2_NAT", + "ECW5410_2dot4G_WPA_NAT", + "ECW5410_2dot4G_WPA2-EAP_NAT" + ] + }, + + "ecw5410_vlan": { + "fiveG_WPA2_SSID": "ECW5410_5G_WPA2_VLAN", + "fiveG_WPA2_PSK": "Connectus123$", + "fiveG_WPA_SSID": "ECW5410_5G_WPA_VLAN", + "fiveG_WPA_PSK": "Connectus123$", + "fiveG_OPEN_SSID": "ECW5410_5G_OPEN_VLAN", + "fiveG_WPA2-EAP_SSID": "ECW5410_5G_WPA2-EAP_VLAN", + "twoFourG_OPEN_SSID": "ECW5410_2dot4G_OPEN_VLAN", + "twoFourG_WPA2_SSID": "ECW5410_2dot4G_WPA2_VLAN", + "twoFourG_WPA2_PSK": "Connectus123$", + "twoFourG_WPA_SSID": "ECW5410_2dot4G_WPA_VLAN", + "twoFourG_WPA_PSK": "Connectus123$", + "twoFourG_WPA2-EAP_SSID": "ECW5410_2dot4G_WPA2-EAP_VLAN", + "ssid_list": [ + "ECW5410_5G_WPA2_VLAN", + "ECW5410_5G_WPA_VLAN", + "ECW5410_5G_WPA2-EAP_VLAN", + "ECW5410_2dot4G_WPA2_VLAN", + "ECW5410_2dot4G_WPA_VLAN", + "ECW5410_2dot4G_WPA2-EAP_VLAN" + ] + }, + # example for tri-radio AP + "ea8300": { + "fiveG_WPA2_SSID": "EA8300_5G_WPA2", + "fiveG_WPA2_PSK": "Connectus123$", + "fiveG_WPA_SSID": "EA8300_5G_WPA", + "fiveG_WPA_PSK": "Connectus123$", + "fiveG_OPEN_SSID": "EA8300_5G_OPEN", + "fiveG_WPA2-EAP_SSID": "EA8300_5G_WPA2-EAP", + "twoFourG_OPEN_SSID": "EA8300_2dot4G_OPEN", + "twoFourG_WPA2_SSID": "EA8300_2dot4G_WPA2", + "twoFourG_WPA2_PSK": "Connectus123$", + "twoFourG_WPA_SSID": "EA8300_2dot4G_WPA", + "twoFourG_WPA_PSK": "Connectus123$", + "twoFourG_WPA2-EAP_SSID": "EA8300_2dot4G_WPA2-EAP", + # EA8300 has 2x 5GHz SSIDs because it is a tri-radio AP! + "ssid_list": [ + "EA8300_5G_WPA2", + "EA8300_5G_WPA2", + "EA8300_5G_WPA", + "EA8300_5G_WPA", + "EA8300_5G_WPA2-EAP", + "EA8300_5G_WPA2-EAP", + "EA8300_2dot4G_WPA2", + "EA8300_2dot4G_WPA", + "EA8300_2dot4G_WPA2-EAP" + ] + }, +} diff --git a/tests/cicd_sanity/testrail.py b/tests/cicd_sanity/testrail.py new file mode 100644 index 000000000..6125cf37e --- /dev/null +++ b/tests/cicd_sanity/testrail.py @@ -0,0 +1,194 @@ +"""TestRail API binding for Python 3.x. + +""" + +#################################################################### +# Custom version of testrail_api module +# +# Used by Nightly_Sanity ########################################### +#################################################################### + +import base64 +import json + +import requests +from pprint import pprint +import os +tr_user=os.getenv('TR_USER') +tr_pw=os.getenv('TR_PWD') +project = os.getenv('PROJECT_ID') + + +class APIClient: + def __init__(self, base_url): + self.user = tr_user + self.password = tr_pw + if not base_url.endswith('/'): + base_url += '/' + self.__url = base_url + 'index.php?/api/v2/' + + + def send_get(self, uri, filepath=None): + """Issue a GET request (read) against the API. + + Args: + uri: The API method to call including parameters, e.g. get_case/1. + filepath: The path and file name for attachment download; used only + for 'get_attachment/:attachment_id'. + + Returns: + A dict containing the result of the request. + """ + return self.__send_request('GET', uri, filepath) + + def send_post(self, uri, data): + """Issue a POST request (write) against the API. + + Args: + uri: The API method to call, including parameters, e.g. add_case/1. + data: The data to submit as part of the request as a dict; strings + must be UTF-8 encoded. If adding an attachment, must be the + path to the file. + + Returns: + A dict containing the result of the request. + """ + return self.__send_request('POST', uri, data) + + def __send_request(self, method, uri, data): + url = self.__url + uri + + auth = str( + base64.b64encode( + bytes('%s:%s' % (self.user, self.password), 'utf-8') + ), + 'ascii' + ).strip() + headers = {'Authorization': 'Basic ' + auth} + #print("Method =" , method) + + if method == 'POST': + if uri[:14] == 'add_attachment': # add_attachment API method + files = {'attachment': (open(data, 'rb'))} + response = requests.post(url, headers=headers, files=files) + files['attachment'].close() + else: + headers['Content-Type'] = 'application/json' + payload = bytes(json.dumps(data), 'utf-8') + response = requests.post(url, headers=headers, data=payload) + else: + headers['Content-Type'] = 'application/json' + response = requests.get(url, headers=headers) + #print("headers = ", headers) + #print("resonse=", response) + #print("response code =", response.status_code) + + if response.status_code > 201: + + try: + error = response.json() + except: # response.content not formatted as JSON + error = str(response.content) + #raise APIError('TestRail API returned HTTP %s (%s)' % (response.status_code, error)) + print('TestRail API returned HTTP %s (%s)' % (response.status_code, error)) + return + else: + print(uri[:15]) + if uri[:15] == 'get_attachments': # Expecting file, not JSON + try: + print('opening file') + print (str(response.content)) + open(data, 'wb').write(response.content) + print('opened file') + return (data) + except: + return ("Error saving attachment.") + else: + + try: + return response.json() + except: # Nothing to return + return {} + + def get_project_id(self, project_name): + "Get the project ID using project name" + project_id = None + projects = client.send_get('get_projects') + ##pprint(projects) + for project in projects: + if project['name']== project_name: + project_id = project['id'] + # project_found_flag=True + break + print("project Id =",project_id) + return project_id + + def get_run_id(self, test_run_name): + "Get the run ID using test name and project name" + run_id = None + project_id = client.get_project_id(project_name=project) + + try: + test_runs = client.send_get('get_runs/%s' % (project_id)) + #print("------------TEST RUNS----------") + #pprint(test_runs) + + except Exception: + print + 'Exception in update_testrail() updating TestRail.' + return None + else: + for test_run in test_runs: + if test_run['name'] == test_run_name: + run_id = test_run['id'] + #print("run Id in Test Runs=",run_id) + break + return run_id + + + def update_testrail(self, case_id, run_id, status_id, msg): + "Update TestRail for a given run_id and case_id" + update_flag = False + # Get the TestRail client account details + # Update the result in TestRail using send_post function. + # Parameters for add_result_for_case is the combination of runid and case id. + # status_id is 1 for Passed, 2 For Blocked, 4 for Retest and 5 for Failed + #status_id = 1 if result_flag is True else 5 + + print("result status Pass/Fail = ", status_id) + print("case id=", case_id) + print("run id passed to update is ", run_id, case_id) + if run_id is not None: + try: + result = client.send_post( + 'add_result_for_case/%s/%s' % (run_id, case_id), + {'status_id': status_id, 'comment': msg}) + print("result in post",result) + except Exception: + print + 'Exception in update_testrail() updating TestRail.' + + else: + print + 'Updated test result for case: %s in test run: %s with msg:%s' % (case_id, run_id, msg) + + return update_flag + + def create_testrun(self, name, case_ids, project_id, milestone_id, description): + result = client.send_post( + 'add_run/%s' % (project_id), + {'name': name, 'case_ids': case_ids, 'milestone_id': milestone_id, 'description': description, 'include_all': False}) + print("result in post", result) + + def update_testrun(self, runid, description): + result = client.send_post( + 'update_run/%s' % (runid), + {'description': description}) + print("result in post", result) + + +client: APIClient = APIClient(os.getenv('TR_URL')) + + +class APIError(Exception): + pass From 64cafec13a9416ded2aac111b01fcab8ff25b380 Mon Sep 17 00:00:00 2001 From: bealler Date: Tue, 23 Feb 2021 20:31:34 -0500 Subject: [PATCH 04/45] Add cicd_sanity templates for ap, radius, ssid and reports --- tests/cicd_sanity/reports/report_template.php | 1838 +++++++++++++++++ .../templates/ap_profile_template.json | 1 + .../templates/radius_profile_template.json | 1 + .../templates/ssid_profile_template.json | 1 + 4 files changed, 1841 insertions(+) create mode 100755 tests/cicd_sanity/reports/report_template.php create mode 100644 tests/cicd_sanity/templates/ap_profile_template.json create mode 100644 tests/cicd_sanity/templates/radius_profile_template.json create mode 100644 tests/cicd_sanity/templates/ssid_profile_template.json diff --git a/tests/cicd_sanity/reports/report_template.php b/tests/cicd_sanity/reports/report_template.php new file mode 100755 index 000000000..8ceb44161 --- /dev/null +++ b/tests/cicd_sanity/reports/report_template.php @@ -0,0 +1,1838 @@ + + + + +Testing Report + + + + + + + + +
+

CICD Nightly Sanity Report -

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Test Results

Scroll Down for Additional AP Models... +
EA8300 ResultECW5211 ResultECW5410 ResultEC420 Result
New FW Available
FW Under Test
CloudSDK Commit Date
CloudSDK Commit ID
CloudSDK Project Version
Test Pass Rate
Test CaseCategoryDescription
5540CloudSDKGet CloudSDK Version with API
5548CloudSDKCreate FW version on CloudSDK using API
5547CloudSDKRequest AP Upgrade using API
2233APAP Upgrade Successful
5247CloudSDKCloudSDK Reports Correct FW
5222CloudSDKAP-CloudSDK Connection Active
5808CloudSDKCreate RADIUS Profile
5644CloudSDKCreate SSID Profile 2.4 GHz WPA2-EAP - Bridge Mode
5645CloudSDKCreate SSID Profile 2.4 GHz WPA2 - Bridge Mode
5646CloudSDKCreate SSID Profile 2.4 GHz WPA - Bridge Mode
5647CloudSDKCreate SSID Profile 5 GHz WPA2-EAP - Bridge Mode
5647CloudSDKCreate SSID Profile 5 GHz WPA2 - Bridge Mode
5648CloudSDKCreate SSID Profile 5 GHz WPA - Bridge Mode
5641CloudSDKCreate AP Profile - Bridge Mode
5541CloudSDKCloudSDK Pushes Correct AP Profile - Bridge Mode
5544APAP Applies Correct AP Profile - Bridge Mode
5214APClient connects to 2.4 GHz WPA2-EAP - Bridge Mode
2237APClient connects to 2.4 GHz WPA2 - Bridge Mode
2420APClient connects to 2.4 GHz WPA - Bridge Mode
5215APClient connects to 5 GHz WPA2-EAP - Bridge Mode
2236APClient connects to 5 GHz WPA2 - Bridge Mode
2419APClient connects to 5 GHz WPA - Bridge Mode
8742APClient connects to Updated SSID - Bridge Mode
5650CloudSDKCreate SSID Profile 2.4 GHz WPA2-EAP - NAT Mode
5651CloudSDKCreate SSID Profile 2.4 GHz WPA2 - NAT Mode
5652CloudSDKCreate SSID Profile 2.4 GHz WPA - NAT Mode
5653CloudSDKCreate SSID Profile 5 GHz WPA2-EAP - NAT Mode
5654CloudSDKCreate SSID Profile 5 GHz WPA2 - NAT Mode
5655CloudSDKCreate SSID Profile 5 GHz WPA - NAT Mode
5642CloudSDKCreate AP Profile - NAT Mode
5542CloudSDKCloudSDK Pushes Correct AP Profile - NAT Mode
5545APAP Applies Correct AP Profile - NAT Mode
5216APClient connects to 2.4 GHz WPA2-EAP - NAT Mode
4325APClient connects to 2.4 GHz WPA2 - NAT Mode
4323APClient connects to 2.4 GHz WPA - NAT Mode
5217APClient connects to 5 GHz WPA2-EAP - NAT Mode
4326APClient connects to 5 GHz WPA2 - NAT Mode
4324APClient connects to 5 GHz WPA - NAT Mode
8743APClient connects to Updated SSID - NAT Mode
5656CloudSDKCreate SSID Profile 2.4 GHz WPA2-EAP - Custom VLAN
5657CloudSDKCreate SSID Profile 2.4 GHz WPA2 - Custom VLAN
5658CloudSDKCreate SSID Profile 2.4 GHz WPA - Custom VLAN
5659CloudSDKCreate SSID Profile 5 GHz WPA2-EAP - Custom VLAN
5660CloudSDKCreate SSID Profile 5 GHz WPA2 - Custom VLAN
5661CloudSDKCreate SSID Profile 5 GHz WPA - Custom VLAN
5643CloudSDKCreate AP Profile - Custom VLAN
5543CloudSDKCloudSDK Pushes Correct AP Profile - Custom VLAN
5546APAP Applies Correct AP Profile - Custom VLAN
5253APClient connects to 2.4 GHz WPA2-EAP - Custom VLAN
5251APClient connects to 2.4 GHz WPA2 - Custom VLAN
5252APClient connects to 2.4 GHz WPA - Custom VLAN
5250APClient connects to 5 GHz WPA2-EAP - Custom VLAN
5248APClient connects to 5 GHz WPA2 - Custom VLAN
5249APClient connects to 5 GHz WPA - Custom VLAN
8744APClient connects to Updated SSID - Custom VLAN
WF188N ResultWF194C ResultEX227 ResultEX447 Result
New FW Available
FW Under Test
CloudSDK Commit Date
CloudSDK Commit ID
CloudSDK Project Version
Test Pass Rate
Test CaseCategoryDescription
5540CloudSDKGet CloudSDK Version with API
5548CloudSDKCreate FW version on CloudSDK using API
5547CloudSDKRequest AP Upgrade using API
2233APAP Upgrade Successful
5247CloudSDKCloudSDK Reports Correct FW
5222CloudSDKAP-CloudSDK Connection Active
5808CloudSDKCreate RADIUS Profile
5644CloudSDKCreate SSID Profile 2.4 GHz WPA2-EAP - Bridge Mode
5645CloudSDKCreate SSID Profile 2.4 GHz WPA2 - Bridge Mode
5646CloudSDKCreate SSID Profile 2.4 GHz WPA - Bridge Mode
5647CloudSDKCreate SSID Profile 5 GHz WPA2-EAP - Bridge Mode
5647CloudSDKCreate SSID Profile 5 GHz WPA2 - Bridge Mode
5648CloudSDKCreate SSID Profile 5 GHz WPA - Bridge Mode
5641CloudSDKCreate AP Profile - Bridge Mode
5541CloudSDKCloudSDK Pushes Correct AP Profile - Bridge Mode
5544APAP Applies Correct AP Profile - Bridge Mode
5214APClient connects to 2.4 GHz WPA2-EAP - Bridge Mode
2237APClient connects to 2.4 GHz WPA2 - Bridge Mode
2420APClient connects to 2.4 GHz WPA - Bridge Mode
5215APClient connects to 5 GHz WPA2-EAP - Bridge Mode
2236APClient connects to 5 GHz WPA2 - Bridge Mode
2419APClient connects to 5 GHz WPA - Bridge Mode
8742APClient connects to Updated SSID - Bridge Mode
5650CloudSDKCreate SSID Profile 2.4 GHz WPA2-EAP - NAT Mode
5651CloudSDKCreate SSID Profile 2.4 GHz WPA2 - NAT Mode
5652CloudSDKCreate SSID Profile 2.4 GHz WPA - NAT Mode
5653CloudSDKCreate SSID Profile 5 GHz WPA2-EAP - NAT Mode
5654CloudSDKCreate SSID Profile 5 GHz WPA2 - NAT Mode
5655CloudSDKCreate SSID Profile 5 GHz WPA - NAT Mode
5642CloudSDKCreate AP Profile - NAT Mode
5542CloudSDKCloudSDK Pushes Correct AP Profile - NAT Mode
5545APAP Applies Correct AP Profile - NAT Mode
5216APClient connects to 2.4 GHz WPA2-EAP - NAT Mode
4325APClient connects to 2.4 GHz WPA2 - NAT Mode
4323APClient connects to 2.4 GHz WPA - NAT Mode
5217APClient connects to 5 GHz WPA2-EAP - NAT Mode
4326APClient connects to 5 GHz WPA2 - NAT Mode
8743APClient connects to Updated SSID - NAT Mode
4324APClient connects to 5 GHz WPA - NAT Mode
5656CloudSDKCreate SSID Profile 2.4 GHz WPA2-EAP - Custom VLAN
5657CloudSDKCreate SSID Profile 2.4 GHz WPA2 - Custom VLAN
5658CloudSDKCreate SSID Profile 2.4 GHz WPA - Custom VLAN
5659CloudSDKCreate SSID Profile 5 GHz WPA2-EAP - Custom VLAN
5660CloudSDKCreate SSID Profile 5 GHz WPA2 - Custom VLAN
5661CloudSDKCreate SSID Profile 5 GHz WPA - Custom VLAN
5643CloudSDKCreate AP Profile - Custom VLAN
5543CloudSDKCloudSDK Pushes Correct AP Profile - Custom VLAN
5546APAP Applies Correct AP Profile - Custom VLAN
5253APClient connects to 2.4 GHz WPA2-EAP - Custom VLAN
5251APClient connects to 2.4 GHz WPA2 - Custom VLAN
5252APClient connects to 2.4 GHz WPA - Custom VLAN
5250APClient connects to 5 GHz WPA2-EAP - Custom VLAN
5248APClient connects to 5 GHz WPA2 - Custom VLAN
5249APClient connects to 5 GHz WPA - Custom VLAN
8744APClient connects to Updated SSID - VLAN Mode
EAP101 ResultEAP102 Result
New FW Available
FW Under Test
CloudSDK Commit Date
CloudSDK Commit ID
CloudSDK Project Version
Test Pass Rate
Test CaseCategoryDescription
5540CloudSDKGet CloudSDK Version with API
5548CloudSDKCreate FW version on CloudSDK using API
5547CloudSDKRequest AP Upgrade using API
2233APAP Upgrade Successful
5247CloudSDKCloudSDK Reports Correct FW
5222CloudSDKAP-CloudSDK Connection Active
5808CloudSDKCreate RADIUS Profile
5644CloudSDKCreate SSID Profile 2.4 GHz WPA2-EAP - Bridge Mode
5645CloudSDKCreate SSID Profile 2.4 GHz WPA2 - Bridge Mode
5646CloudSDKCreate SSID Profile 2.4 GHz WPA - Bridge Mode
5647CloudSDKCreate SSID Profile 5 GHz WPA2-EAP - Bridge Mode
5647CloudSDKCreate SSID Profile 5 GHz WPA2 - Bridge Mode
5648CloudSDKCreate SSID Profile 5 GHz WPA - Bridge Mode
5641CloudSDKCreate AP Profile - Bridge Mode
5541CloudSDKCloudSDK Pushes Correct AP Profile - Bridge Mode
5544APAP Applies Correct AP Profile - Bridge Mode
5214APClient connects to 2.4 GHz WPA2-EAP - Bridge Mode
2237APClient connects to 2.4 GHz WPA2 - Bridge Mode
2420APClient connects to 2.4 GHz WPA - Bridge Mode
5215APClient connects to 5 GHz WPA2-EAP - Bridge Mode
2236APClient connects to 5 GHz WPA2 - Bridge Mode
2419APClient connects to 5 GHz WPA - Bridge Mode
8742APClient connects to Updated SSID - Bridge Mode
5650CloudSDKCreate SSID Profile 2.4 GHz WPA2-EAP - NAT Mode
5651CloudSDKCreate SSID Profile 2.4 GHz WPA2 - NAT Mode
5652CloudSDKCreate SSID Profile 2.4 GHz WPA - NAT Mode
5653CloudSDKCreate SSID Profile 5 GHz WPA2-EAP - NAT Mode
5654CloudSDKCreate SSID Profile 5 GHz WPA2 - NAT Mode
5655CloudSDKCreate SSID Profile 5 GHz WPA - NAT Mode
5642CloudSDKCreate AP Profile - NAT Mode
5542CloudSDKCloudSDK Pushes Correct AP Profile - NAT Mode
5545APAP Applies Correct AP Profile - NAT Mode
5216APClient connects to 2.4 GHz WPA2-EAP - NAT Mode
4325APClient connects to 2.4 GHz WPA2 - NAT Mode
4323APClient connects to 2.4 GHz WPA - NAT Mode
5217APClient connects to 5 GHz WPA2-EAP - NAT Mode
4326APClient connects to 5 GHz WPA2 - NAT Mode
4324APClient connects to 5 GHz WPA - NAT Mode
8743APClient connects to Updated SSID - NAT Mode
5656CloudSDKCreate SSID Profile 2.4 GHz WPA2-EAP - Custom VLAN
5657CloudSDKCreate SSID Profile 2.4 GHz WPA2 - Custom VLAN
5658CloudSDKCreate SSID Profile 2.4 GHz WPA - Custom VLAN
5659CloudSDKCreate SSID Profile 5 GHz WPA2-EAP - Custom VLAN
5660CloudSDKCreate SSID Profile 5 GHz WPA2 - Custom VLAN
5661CloudSDKCreate SSID Profile 5 GHz WPA - Custom VLAN
5643CloudSDKCreate AP Profile - Custom VLAN
5543CloudSDKCloudSDK Pushes Correct AP Profile - Custom VLAN
5546APAP Applies Correct AP Profile - Custom VLAN
5253APClient connects to 2.4 GHz WPA2-EAP - Custom VLAN
5251APClient connects to 2.4 GHz WPA2 - Custom VLAN
5252APClient connects to 2.4 GHz WPA - Custom VLAN
5250APClient connects to 5 GHz WPA2-EAP - Custom VLAN
5248APClient connects to 5 GHz WPA2 - Custom VLAN
5249APClient connects to 5 GHz WPA - Custom VLAN
8744APClient connects to Updated SSID - Custom
+ + \ No newline at end of file diff --git a/tests/cicd_sanity/templates/ap_profile_template.json b/tests/cicd_sanity/templates/ap_profile_template.json new file mode 100644 index 000000000..506661942 --- /dev/null +++ b/tests/cicd_sanity/templates/ap_profile_template.json @@ -0,0 +1 @@ +{"model_type": "Profile", "id": 2, "customerId": "2", "profileType": "equipment_ap", "name": "Nightly_Sanity_wf194c_2021-02-23_vlan", "details": {"model_type": "ApNetworkConfiguration", "networkConfigVersion": "AP-1", "equipmentType": "AP", "vlanNative": true, "vlan": 0, "ntpServer": {"model_type": "AutoOrManualString", "auto": true, "value": null}, "syslogRelay": {"model_type": "SyslogRelay", "enabled": false, "srvHostIp": null, "srvHostPort": 514, "severity": "NOTICE"}, "rtlsSettings": {"model_type": "RtlsSettings", "enabled": false, "srvHostIp": null, "srvHostPort": 0}, "syntheticClientEnabled": false, "ledControlEnabled": true, "equipmentDiscovery": false, "greTunnelName": null, "greParentIfName": null, "greLocalInetAddr": null, "greRemoteInetAddr": null, "greRemoteMacAddr": null, "radioMap": {"is5GHz": {"model_type": "RadioProfileConfiguration", "bestApEnabled": true, "bestAPSteerType": "both"}, "is2dot4GHz": {"model_type": "RadioProfileConfiguration", "bestApEnabled": true, "bestAPSteerType": "both"}, "is5GHzU": {"model_type": "RadioProfileConfiguration", "bestApEnabled": true, "bestAPSteerType": "both"}, "is5GHzL": {"model_type": "RadioProfileConfiguration", "bestApEnabled": true, "bestAPSteerType": "both"}}, "profileType": "equipment_ap"}, "createdTimestamp": 1598524693438, "lastModifiedTimestamp": 1607377963675, "childProfileIds": [762, 1292, 1293, 1294, 1295, 1296, 1297, 1299, 1300, 1301, 1302, 1303, 1304]} \ No newline at end of file diff --git a/tests/cicd_sanity/templates/radius_profile_template.json b/tests/cicd_sanity/templates/radius_profile_template.json new file mode 100644 index 000000000..6330d1444 --- /dev/null +++ b/tests/cicd_sanity/templates/radius_profile_template.json @@ -0,0 +1 @@ +{"model_type": "Profile", "id": 129, "customerId": "2", "profileType": "radius", "name": "Automation_RADIUS_2021-02-23", "details": {"model_type": "RadiusProfile", "primaryRadiusAuthServer": {"model_type": "RadiusServer", "ipAddress": "10.10.10.203", "secret": "testing123", "port": 1812, "timeout": 5}, "secondaryRadiusAuthServer": null, "primaryRadiusAccountingServer": null, "secondaryRadiusAccountingServer": null, "profileType": "radius"}, "createdTimestamp": 1602263176599, "lastModifiedTimestamp": 1611708334061, "childProfileIds": []} \ No newline at end of file diff --git a/tests/cicd_sanity/templates/ssid_profile_template.json b/tests/cicd_sanity/templates/ssid_profile_template.json new file mode 100644 index 000000000..cdaf1d6cd --- /dev/null +++ b/tests/cicd_sanity/templates/ssid_profile_template.json @@ -0,0 +1 @@ +{"model_type": "Profile", "id": 28, "customerId": "2", "profileType": "ssid", "name": "wf194c_2G_WPA_VLAN_2021-02-23", "details": {"model_type": "SsidConfiguration", "ssid": "WF194C_2dot4G_WPA_VLAN", "appliedRadios": ["is2dot4GHz"], "ssidAdminState": "enabled", "secureMode": "wpaPSK", "vlanId": 100, "keyStr": "Connectus123$", "broadcastSsid": "enabled", "keyRefresh": 0, "noLocalSubnets": false, "radiusServiceName": "Radius-Accounting-Profile", "radiusAccountingServiceName": null, "radiusAcountingServiceInterval": null, "captivePortalId": null, "bandwidthLimitDown": 0, "bandwidthLimitUp": 0, "clientBandwidthLimitDown": 0, "clientBandwidthLimitUp": 0, "videoTrafficOnly": false, "radioBasedConfigs": {"is2dot4GHz": {"model_type": "RadioBasedSsidConfiguration", "enable80211r": null, "enable80211k": null, "enable80211v": null}, "is5GHz": {"model_type": "RadioBasedSsidConfiguration", "enable80211r": null, "enable80211k": null, "enable80211v": null}, "is5GHzU": {"model_type": "RadioBasedSsidConfiguration", "enable80211r": null, "enable80211k": null, "enable80211v": null}, "is5GHzL": {"model_type": "RadioBasedSsidConfiguration", "enable80211r": null, "enable80211k": null, "enable80211v": null}}, "bonjourGatewayProfileId": null, "enable80211w": null, "wepConfig": null, "forwardMode": "BRIDGE", "profileType": "ssid", "radiusServiceId": 0}, "createdTimestamp": 1598557809816, "lastModifiedTimestamp": 1598557809816, "childProfileIds": []} \ No newline at end of file From 0730a34782757197eadbd48039278805f1fd03ec Mon Sep 17 00:00:00 2001 From: bealler Date: Tue, 23 Feb 2021 20:39:15 -0500 Subject: [PATCH 05/45] typo in ap_connect file --- tests/cicd_sanity/ap_connect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/cicd_sanity/ap_connect.py b/tests/cicd_sanity/ap_connect.py index 5e9aa60ed..a61e2e81b 100644 --- a/tests/cicd_sanity/ap_connect.py +++ b/tests/cicd_sanity/ap_connect.py @@ -27,7 +27,7 @@ def ssh_cli_active_fw(ap_ip, username, password): print(cli_active_fw) ap_cmd = '/usr/opensync/bin/ovsh s Manager -c | grep status' - cmd = "ap_connectcd ../../lanforge/lanforge-scripts && python3 openwrt_ctl.py %s -t %s --action cmd --value \"%s\"" % (owrt_args, ap_ip, ap_cmd) + cmd = "cd ../../lanforge/lanforge-scripts && python3 openwrt_ctl.py %s -t %s --action cmd --value \"%s\"" % (owrt_args, ap_ip, ap_cmd) with subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True) as p: output, errors = p.communicate() status = str(output.decode('utf-8').splitlines()) From 342c565a8447a484394a60de6f3c317357077e51 Mon Sep 17 00:00:00 2001 From: bealler Date: Tue, 23 Feb 2021 20:45:17 -0500 Subject: [PATCH 06/45] typo in ap_connect file --- tests/cicd_sanity/ap_connect.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/cicd_sanity/ap_connect.py b/tests/cicd_sanity/ap_connect.py index a61e2e81b..628f26101 100644 --- a/tests/cicd_sanity/ap_connect.py +++ b/tests/cicd_sanity/ap_connect.py @@ -80,7 +80,7 @@ def iwinfo_status(ap_ip, username, password): try: if 'tty' in ap_ip: ap_cmd = 'iwinfo | grep ESSID' - cmd = "ap_connectcd ../../lanforge/lanforge-scripts && python3 openwrt_ctl.py %s -t %s --action cmd --value \"%s\"" % ( + cmd = "cd ../../lanforge/lanforge-scripts && python3 openwrt_ctl.py %s -t %s --action cmd --value \"%s\"" % ( owrt_args, ap_ip, ap_cmd) with subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True) as p: output, errors = p.communicate() @@ -110,7 +110,7 @@ def get_vif_config(ap_ip, username, password): try: if 'tty' in ap_ip: ap_cmd = "/usr/opensync/bin/ovsh s Wifi_VIF_Config -c | grep 'ssid :'" - cmd = "ap_connectcd ../../lanforge/lanforge-scripts && python3 openwrt_ctl.py %s -t %s --action cmd --value \"%s\"" % ( + cmd = "cd ../../lanforge/lanforge-scripts && python3 openwrt_ctl.py %s -t %s --action cmd --value \"%s\"" % ( owrt_args, ap_ip, ap_cmd) with subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True) as p: output, errors = p.communicate() @@ -150,7 +150,7 @@ def get_vif_state(ap_ip, username, password): try: if 'tty' in ap_ip: ap_cmd = "/usr/opensync/bin/ovsh s Wifi_VIF_State -c | grep 'ssid :'" - cmd = "ap_connectcd ../../lanforge/lanforge-scripts && python3 openwrt_ctl.py %s -t %s --action cmd --value \"%s\"" % ( + cmd = "cd ../../lanforge/lanforge-scripts && python3 openwrt_ctl.py %s -t %s --action cmd --value \"%s\"" % ( owrt_args, ap_ip, ap_cmd) with subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True) as p: output, errors = p.communicate() From 40d4a686cf613a2e3561921ab26133b2e396c413 Mon Sep 17 00:00:00 2001 From: bealler Date: Wed, 24 Feb 2021 08:27:22 -0500 Subject: [PATCH 07/45] add NOLA04 info file --- tests/cicd_sanity/cicd_sanity.py | 6 +- tests/cicd_sanity/nola04_test_info.py | 249 ++++++++++++++++++++++++++ tests/cicd_sanity/test_info.py | 27 +-- 3 files changed, 256 insertions(+), 26 deletions(-) create mode 100644 tests/cicd_sanity/nola04_test_info.py diff --git a/tests/cicd_sanity/cicd_sanity.py b/tests/cicd_sanity/cicd_sanity.py index da8902bc7..b928b6b80 100755 --- a/tests/cicd_sanity/cicd_sanity.py +++ b/tests/cicd_sanity/cicd_sanity.py @@ -249,6 +249,7 @@ test_info_module = os.path.splitext(test_file)[0] test_info = importlib.import_module(test_info_module) equipment_id_dict = test_info.equipment_id_dict +equipment_ids = equipment_id_dict profile_info_dict = test_info.profile_info_dict cloud_sdk_models = test_info.cloud_sdk_models equipment_ip_dict = test_info.equipment_ip_dict @@ -279,11 +280,6 @@ if args.model is not None: if args.tr_prefix is not None: testRunPrefix = args.tr_prefix - - -####Use variables other than defaults for running tests on custom FW etc -equipment_ids = equipment_id_dict - ##LANForge Information lanforge_ip = test_info.lanforge_ip #lanforge_prefix = test_info.lanforge_prefix diff --git a/tests/cicd_sanity/nola04_test_info.py b/tests/cicd_sanity/nola04_test_info.py new file mode 100644 index 000000000..c36fbde5b --- /dev/null +++ b/tests/cicd_sanity/nola04_test_info.py @@ -0,0 +1,249 @@ +#!/usr/bin/python3 + +##AP Models Under Test +ap_models = ["ecw5410"] + +##Cloud Type(cloudSDK = v1) +cloud_type = "v1" +cloudSDK_url = "https://wlan-portal-svc-nola-04.cicd.lab.wlan.tip.build" +customer_id = "2" +cloud_user = "support@example.com" +cloud_password = "support" + +# LANForge Info +lanforge_ip = "10.28.3.12" +lanforge_2dot4g = "wiphy4" +lanforge_5g = "wiphy5" +# For single client connectivity use cases, use full station name for prefix to only read traffic from client under test +lanforge_2dot4g_prefix = "test" +lanforge_5g_prefix = "test" +lanforge_2dot4g_station = "test1234" +lanforge_5g_station = "test1234" +# Used for bridge and NAT +lanforge_bridge_port = "eth2" +# VLAN interface on LANForge - must be configured to use alias of "vlan###" to accommodate sta_connect2 library +lanforge_vlan_port = "vlan100" +vlan = 100 + +##Equipment IDs for Lab APs under test +equipment_id_dict = { + "ecw5410": "1", +} +# Equipment IPs for SSH or serial connection information +equipment_ip_dict = { + "ecw5410": "/dev/ttyAP4" +} + +equipment_credentials_dict = { + "ecw5410": "openwifi", +} + +##RADIUS Info +radius_info = { + "server_ip": "10.28.3.100", + "secret": "testing123", + "auth_port": 1812, + "eap_identity": "nolaradius", + "eap_pwd": "nolastart" +} +##AP Models for firmware upload +cloud_sdk_models = { + "ec420": "EC420-G1", + "ea8300": "EA8300-CA", + "ecw5211": "ECW5211", + "ecw5410": "ECW5410", + "wf188n": "WF188N", + "wf194c": "WF194C", + "ex227": "EX227", + "ex447": "EX447", + "eap101": "EAP101", + "eap102": "EAP102" +} + +ap_spec = { + "ec420": "wifi5", + "ea8300": "wifi5", + "ecw5211": "wifi5", + "ecw5410": "wifi5", + "wf188n": "wifi6", + "wf194c": "wifi6", + "ex227": "wifi6", + "ex447": "wifi6", + "eap101": "wifi6", + "eap102": "wifi6" +} + +mimo_5g = { + "ec420": "4x4", + "ea8300": "2x2", + "ecw5211": "2x2", + "ecw5410": "4x4", + "wf188n": "2x2", + "wf194c": "8x8", + "ex227": "", + "ex447": "", + "eap101": "2x2", + "eap102": "4x4" +} + +mimo_2dot4g = { + "ec420": "2x2", + "ea8300": "2x2", + "ecw5211": "2x2", + "ecw5410": "4x4", + "wf188n": "2x2", + "wf194c": "4x4", + "ex227": "", + "ex447": "", + "eap101": "2x2", + "eap102": "4x4" +} + +sanity_status = { + "ea8300": "failed", + "ecw5211": 'passed', + "ecw5410": 'failed', + "ec420": 'failed', + "wf188n": "failed", + "wf194c": "failed", + "ex227": "failed", + "ex447": "failed", + "eap101": "failed", + "eap102": "failed" +} + +##Test Case information - Maps a generic TC name to TestRail TC numbers +test_cases = { + "ap_upgrade": 2233, + "5g_wpa2_bridge": 2236, + "2g_wpa2_bridge": 2237, + "5g_wpa_bridge": 2419, + "2g_wpa_bridge": 2420, + "2g_wpa_nat": 4323, + "5g_wpa_nat": 4324, + "2g_wpa2_nat": 4325, + "5g_wpa2_nat": 4326, + "2g_eap_bridge": 5214, + "5g_eap_bridge": 5215, + "2g_eap_nat": 5216, + "5g_eap_nat": 5217, + "cloud_connection": 5222, + "cloud_fw": 5247, + "5g_wpa2_vlan": 5248, + "5g_wpa_vlan": 5249, + "5g_eap_vlan": 5250, + "2g_wpa2_vlan": 5251, + "2g_wpa_vlan": 5252, + "2g_eap_vlan": 5253, + "cloud_ver": 5540, + "bridge_vifc": 5541, + "nat_vifc": 5542, + "vlan_vifc": 5543, + "bridge_vifs": 5544, + "nat_vifs": 5545, + "vlan_vifs": 5546, + "upgrade_api": 5547, + "create_fw": 5548, + "ap_bridge": 5641, + "ap_nat": 5642, + "ap_vlan": 5643, + "ssid_2g_eap_bridge": 5644, + "ssid_2g_wpa2_bridge": 5645, + "ssid_2g_wpa_bridge": 5646, + "ssid_5g_eap_bridge": 5647, + "ssid_5g_wpa2_bridge": 5648, + "ssid_5g_wpa_bridge": 5649, + "ssid_2g_eap_nat": 5650, + "ssid_2g_wpa2_nat": 5651, + "ssid_2g_wpa_nat": 5652, + "ssid_5g_eap_nat": 5653, + "ssid_5g_wpa2_nat": 5654, + "ssid_5g_wpa_nat": 5655, + "ssid_2g_eap_vlan": 5656, + "ssid_2g_wpa2_vlan": 5657, + "ssid_2g_wpa_vlan": 5658, + "ssid_5g_eap_vlan": 5659, + "ssid_5g_wpa2_vlan": 5660, + "ssid_5g_wpa_vlan": 5661, + "radius_profile": 5808, + "bridge_ssid_update": 8742, + "nat_ssid_update": 8743, + "vlan_ssid_update": 8744 +} + +## Other profiles +radius_profile = 9 +rf_profile_wifi5 = 10 +rf_profile_wifi6 = 762 + +###Testing AP Profile Information +profile_info_dict = { + "ecw5410": { + "fiveG_WPA2_SSID": "ECW5410_5G_WPA2", + "fiveG_WPA2_PSK": "Connectus123$", + "fiveG_WPA_SSID": "ECW5410_5G_WPA", + "fiveG_WPA_PSK": "Connectus123$", + "fiveG_OPEN_SSID": "ECW5410_5G_OPEN", + "fiveG_WPA2-EAP_SSID": "ECW5410_5G_WPA2-EAP", + "twoFourG_OPEN_SSID": "ECW5410_2dot4G_OPEN", + "twoFourG_WPA2_SSID": "ECW5410_2dot4G_WPA2", + "twoFourG_WPA2_PSK": "Connectus123$", + "twoFourG_WPA_SSID": "ECW5410_2dot4G_WPA", + "twoFourG_WPA_PSK": "Connectus123$", + "twoFourG_WPA2-EAP_SSID": "ECW5410_2dot4G_WPA2-EAP", + "ssid_list": [ + "ECW5410_5G_WPA2", + "ECW5410_5G_WPA", + "ECW5410_5G_WPA2-EAP", + "ECW5410_2dot4G_WPA2", + "ECW5410_2dot4G_WPA", + "ECW5410_2dot4G_WPA2-EAP" + ] + }, + + "ecw5410_nat": { + "fiveG_WPA2_SSID": "ECW5410_5G_WPA2_NAT", + "fiveG_WPA2_PSK": "Connectus123$", + "fiveG_WPA_SSID": "ECW5410_5G_WPA_NAT", + "fiveG_WPA_PSK": "Connectus123$", + "fiveG_OPEN_SSID": "ECW5410_5G_OPEN_NAT", + "fiveG_WPA2-EAP_SSID": "ECW5410_5G_WPA2-EAP_NAT", + "twoFourG_OPEN_SSID": "ECW5410_2dot4G_OPEN_NAT", + "twoFourG_WPA2_SSID": "ECW5410_2dot4G_WPA2_NAT", + "twoFourG_WPA2_PSK": "Connectus123$", + "twoFourG_WPA_SSID": "ECW5410_2dot4G_WPA_NAT", + "twoFourG_WPA_PSK": "Connectus123$", + "twoFourG_WPA2-EAP_SSID": "ECW5410_2dot4G_WPA2-EAP_NAT", + "ssid_list": [ + "ECW5410_5G_WPA2_NAT", + "ECW5410_5G_WPA_NAT", + "ECW5410_5G_WPA2-EAP_NAT", + "ECW5410_2dot4G_WPA2_NAT", + "ECW5410_2dot4G_WPA_NAT", + "ECW5410_2dot4G_WPA2-EAP_NAT" + ] + }, + + "ecw5410_vlan": { + "fiveG_WPA2_SSID": "ECW5410_5G_WPA2_VLAN", + "fiveG_WPA2_PSK": "Connectus123$", + "fiveG_WPA_SSID": "ECW5410_5G_WPA_VLAN", + "fiveG_WPA_PSK": "Connectus123$", + "fiveG_OPEN_SSID": "ECW5410_5G_OPEN_VLAN", + "fiveG_WPA2-EAP_SSID": "ECW5410_5G_WPA2-EAP_VLAN", + "twoFourG_OPEN_SSID": "ECW5410_2dot4G_OPEN_VLAN", + "twoFourG_WPA2_SSID": "ECW5410_2dot4G_WPA2_VLAN", + "twoFourG_WPA2_PSK": "Connectus123$", + "twoFourG_WPA_SSID": "ECW5410_2dot4G_WPA_VLAN", + "twoFourG_WPA_PSK": "Connectus123$", + "twoFourG_WPA2-EAP_SSID": "ECW5410_2dot4G_WPA2-EAP_VLAN", + "ssid_list": [ + "ECW5410_5G_WPA2_VLAN", + "ECW5410_5G_WPA_VLAN", + "ECW5410_5G_WPA2-EAP_VLAN", + "ECW5410_2dot4G_WPA2_VLAN", + "ECW5410_2dot4G_WPA_VLAN", + "ECW5410_2dot4G_WPA2-EAP_VLAN" + ] + } +} \ No newline at end of file diff --git a/tests/cicd_sanity/test_info.py b/tests/cicd_sanity/test_info.py index 395cfc864..acde3adac 100755 --- a/tests/cicd_sanity/test_info.py +++ b/tests/cicd_sanity/test_info.py @@ -45,6 +45,12 @@ radius_info = { "eap_identity": "testing", "eap_pwd": "admin123" } + +## Other profiles +radius_profile = 9 # used as backup +rf_profile_wifi5 = 10 +rf_profile_wifi6 = 762 + ##AP Models for firmware upload cloud_sdk_models = { "ec420": "EC420-G1", @@ -170,24 +176,9 @@ test_cases = { "vlan_ssid_update": 8744 } -## Other profiles -radius_profile = 9 -rf_profile_wifi5 = 10 -rf_profile_wifi6 = 762 - ###Testing AP Profile Information profile_info_dict = { "ecw5410": { - "profile_id": "6", - "childProfileIds": [ - 3647, - 10, - 11, - 12, - 13, - 190, - 191 - ], "fiveG_WPA2_SSID": "ECW5410_5G_WPA2", "fiveG_WPA2_PSK": "Connectus123$", "fiveG_WPA_SSID": "ECW5410_5G_WPA", @@ -200,12 +191,6 @@ profile_info_dict = { "twoFourG_WPA_SSID": "ECW5410_2dot4G_WPA", "twoFourG_WPA_PSK": "Connectus123$", "twoFourG_WPA2-EAP_SSID": "ECW5410_2dot4G_WPA2-EAP", - "fiveG_WPA2_profile": 3647, - "fiveG_WPA_profile": 13, - "fiveG_WPA2-EAP_profile": 191, - "twoFourG_WPA2_profile": 11, - "twoFourG_WPA_profile": 12, - "twoFourG_WPA2-EAP_profile": 190, "ssid_list": [ "ECW5410_5G_WPA2", "ECW5410_5G_WPA", From f4d4ca92acbc0e8bbc8f9a56d05c082608159626 Mon Sep 17 00:00:00 2001 From: Ben Greear Date: Wed, 24 Feb 2021 07:04:49 -0800 Subject: [PATCH 08/45] Upate notes for nola-06 Signed-off-by: Ben Greear --- tools/USAGE_EXAMPLES.txt | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/tools/USAGE_EXAMPLES.txt b/tools/USAGE_EXAMPLES.txt index e6594614a..4a0797da4 100644 --- a/tools/USAGE_EXAMPLES.txt +++ b/tools/USAGE_EXAMPLES.txt @@ -5,6 +5,10 @@ into the 'ubuntu' jumphost machine. ssh -C -L 8800:lf1:4002 -L 8801:lf1:5901 -L 8802:lf1:8080 -L 8803:lab-ctlr:22 \ -L 8810:lf4:4002 -L 8811:lf4:5901 -L 8812:lf4:8080 -L 8813:lab-ctlr:22 \ + -L 8850:lf5:4002 -L 8851:lf5:5901 -L 8852:lf5:8080 -L 8853:lab-ctlr2:22 \ + -L 8860:lf6:4002 -L 8861:lf6:5901 -L 8862:lf6:8080 -L 8863:lab-ctlr2:22 \ + -L 8870:lf7:4002 -L 8871:lf7:5901 -L 8872:lf7:8080 -L 8873:lab-ctlr2:22 \ + -L 8880:lf8:4002 -L 8881:lf8:5901 -L 8882:lf8:8080 -L 8883:lab-ctlr2:22 \ -L 8890:lf9:4002 -L 8891:lf9:5901 -L 8892:lf9:8080 -L 8893:lab-ctlr3:22 \ -L 8900:lf10:4002 -L 8901:lf10:5901 -L 8902:lf10:8080 -L 8903:lab-ctlr3:22 \ -L 8910:lf11:4002 -L 8911:lf11:5901 -L 8912:lf11:8080 -L 8913:lab-ctlr3:22 \ @@ -96,16 +100,16 @@ Testbed 12 (Basic, wf188n) # Upgrade firmware to latest ./sdk_upgrade_fw.py --testrail-user-id NONE --model wf188n --ap-jumphost-address localhost --ap-jumphost-port 8823 \ --ap-jumphost-password pumpkin77 --ap-jumphost-tty /dev/ttyAP1 --testbed \"NOLA-12\" \ - --sdk-base-url https://wlan-portal-svc-ben-testbed.cicd.lab.wlan.tip.build --force-upgrade true + --sdk-base-url https://wlan-portal-svc-nola-01.cicd.lab.wlan.tip.build --force-upgrade true ./sdk_set_profile.py --testrail-user-id NONE --model wf188n --ap-jumphost-address localhost --ap-jumphost-port 8823 \ --ap-jumphost-password pumpkin77 --ap-jumphost-tty /dev/ttyAP1 --lanforge-ip-address localhost --lanforge-port-number 8822 \ - --default-ap-profile TipWlan-2-Radios --sdk-base-url https://wlan-portal-svc-ben-testbed.cicd.lab.wlan.tip.build \ + --default-ap-profile TipWlan-2-Radios --sdk-base-url https://wlan-portal-svc-nola-01.cicd.lab.wlan.tip.build \ --skip-radius --skip-wpa --verbose --testbed "NOLA-12" --ssid-5g-wpa2 Default-SSID-5gl --psk-5g-wpa2 12345678 \ - --ssid-2g-wpa2 Default-SSID-2g --psk-2g-wpa2 12345678 + --ssid-2g-wpa2 Default-SSID-2g --psk-2g-wpa2 12345678 --mode bridge # Query an ssid -./query_sdk.py --testrail-user-id NONE --model wf188n --sdk-base-url https://wlan-portal-svc-ben-testbed.cicd.lab.wlan.tip.build \ +./query_sdk.py --testrail-user-id NONE --model wf188n --sdk-base-url https://wlan-portal-svc-nola-01.cicd.lab.wlan.tip.build \ --sdk-user-id support@example.com --sdk-user-password support --equipment_id 3 --type profile --cmd get --object_id 11 From 7ac995d10ddbc9357569798021ce289712283046 Mon Sep 17 00:00:00 2001 From: Ben Greear Date: Wed, 24 Feb 2021 16:42:20 -0800 Subject: [PATCH 09/45] Update notes for nola-06 --- tools/USAGE_EXAMPLES.txt | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/tools/USAGE_EXAMPLES.txt b/tools/USAGE_EXAMPLES.txt index 4a0797da4..007bd48a9 100644 --- a/tools/USAGE_EXAMPLES.txt +++ b/tools/USAGE_EXAMPLES.txt @@ -29,7 +29,22 @@ The ports are used as: Testbed-01 # Set AP profile on NOLA-01 -./sdk_set_profile.py --testrail-user-id NONE --model ecw5410 --ap-jumphost-address localhost --ap-jumphost-port 8803 --ap-jumphost-password pumpkin77 --ap-jumphost-tty /dev/ttyAP1 --lanforge-ip-address localhost --lanforge-port-number 8802 --default-ap-profile TipWlan-2-Radios --sdk-base-url https://wlan-portal-svc.cicd.lab.wlan.tip.build --skip-radius --skip-wpa --verbose --testbed "NOLA-01" --ssid-5g-wpa2 Default-SSID-5gl --psk-5g-wpa2 12345678 --ssid-2g-wpa2 Default-SSID-2g --psk-2g-wpa2 12345678 --mode bridge --sdk-base-url https://wlan-portal-svc-nola-01.cicd.lab.wlan.tip.build +./sdk_set_profile.py --testrail-user-id NONE --model ecw5410 --ap-jumphost-address localhost --ap-jumphost-port 8803 \ + --ap-jumphost-password pumpkin77 --ap-jumphost-tty /dev/ttyAP1 --lanforge-ip-address localhost --lanforge-port-number 8802 \ + --default-ap-profile TipWlan-2-Radios --sdk-base-url https://wlan-portal-svc-nola-01.cicd.lab.wlan.tip.build \ + --skip-radius --skip-wpa --verbose --testbed "NOLA-01" --ssid-5g-wpa2 Default-SSID-5gl --psk-5g-wpa2 12345678 \ + --ssid-2g-wpa2 Default-SSID-2g --psk-2g-wpa2 12345678 --mode bridge + + +./Nightly_Sanity.py --testrail-user-id NONE --model ecw5410 --ap-jumphost-address localhost --ap-jumphost-port 8803 --ap-jumphost-password pumpkin77 --ap-jumphost-tty /dev/ttyAP1 --testbed "NOLA-01r" --lanforge-ip-address localhost --lanforge-port-number 8802 --default_ap_profile TipWlan-2-Radios --lanforge-2g-radio 1.1.wiphy4 --lanforge-5g-radio 1.1.wiphy5 --skip-upgrade True --testrail-milestone milestone-1 --sdk-base-url https://wlan-portal-svc-nola-01.cicd.lab.wlan.tip.build + + +# Set AP profile on NOLA-06 (eap101) +./sdk_set_profile.py --testrail-user-id NONE --model eap101 --ap-jumphost-address localhost --ap-jumphost-port 8863 \ + --ap-jumphost-password pumpkin77 --ap-jumphost-tty /dev/ttyAP2 --lanforge-ip-address localhost --lanforge-port-number 8862 \ + --default-ap-profile TipWlan-2-Radios --sdk-base-url https://wlan-portal-svc-nola-01.cicd.lab.wlan.tip.build \ + --skip-radius --skip-wpa --verbose --testbed "NOLA-06" --ssid-5g-wpa2 Default-SSID-5gl --psk-5g-wpa2 12345678 \ + --ssid-2g-wpa2 Default-SSID-2g --psk-2g-wpa2 12345678 --mode bridge ./Nightly_Sanity.py --testrail-user-id NONE --model ecw5410 --ap-jumphost-address localhost --ap-jumphost-port 8803 --ap-jumphost-password pumpkin77 --ap-jumphost-tty /dev/ttyAP1 --testbed "NOLA-01r" --lanforge-ip-address localhost --lanforge-port-number 8802 --default_ap_profile TipWlan-2-Radios --lanforge-2g-radio 1.1.wiphy4 --lanforge-5g-radio 1.1.wiphy5 --skip-upgrade True --testrail-milestone milestone-1 --sdk-base-url https://wlan-portal-svc-nola-01.cicd.lab.wlan.tip.build From a086e5c2907c934a23484bbff117ba4159a69367 Mon Sep 17 00:00:00 2001 From: shivam Date: Mon, 1 Mar 2021 18:26:14 +0530 Subject: [PATCH 10/45] some library updates with swagger api Signed-off-by: shivam --- .../cloud_utility/cloud_connectivity.py | 72 + libs/cloudapi/cloud_utility/cloudapi.py | 84 + .../cloud_utility/equipment_utility.py | 22 + libs/cloudapi/cloudsdk/.gitignore | 64 + libs/cloudapi/cloudsdk/.idea/ cloudsdk.iml | 8 + .../inspectionProfiles/Project_Default.xml | 12 + .../inspectionProfiles/profiles_settings.xml | 6 + libs/cloudapi/cloudsdk/.idea/modules.xml | 8 + libs/cloudapi/cloudsdk/.idea/workspace.xml | 28 + .../cloudapi/cloudsdk/.swagger-codegen-ignore | 23 + .../cloudsdk/.swagger-codegen/VERSION | 1 + libs/cloudapi/cloudsdk/.travis.yml | 13 + libs/cloudapi/cloudsdk/README.md | 647 ++ libs/cloudapi/cloudsdk/docs/AclTemplate.md | 13 + libs/cloudapi/cloudsdk/docs/ActiveBSSID.md | 13 + libs/cloudapi/cloudsdk/docs/ActiveBSSIDs.md | 11 + .../cloudsdk/docs/ActiveScanSettings.md | 11 + .../cloudsdk/docs/AdvancedRadioMap.md | 12 + libs/cloudapi/cloudsdk/docs/Alarm.md | 19 + .../cloudapi/cloudsdk/docs/AlarmAddedEvent.md | 13 + .../cloudsdk/docs/AlarmChangedEvent.md | 13 + libs/cloudapi/cloudsdk/docs/AlarmCode.md | 8 + libs/cloudapi/cloudsdk/docs/AlarmCounts.md | 11 + libs/cloudapi/cloudsdk/docs/AlarmDetails.md | 12 + .../docs/AlarmDetailsAttributesMap.md | 8 + .../cloudsdk/docs/AlarmRemovedEvent.md | 13 + libs/cloudapi/cloudsdk/docs/AlarmScopeType.md | 8 + libs/cloudapi/cloudsdk/docs/AlarmsApi.md | 317 + libs/cloudapi/cloudsdk/docs/AntennaType.md | 8 + .../cloudsdk/docs/ApElementConfiguration.md | 32 + libs/cloudapi/cloudsdk/docs/ApMeshMode.md | 8 + .../cloudsdk/docs/ApNetworkConfiguration.md | 21 + .../docs/ApNetworkConfigurationNtpServer.md | 10 + libs/cloudapi/cloudsdk/docs/ApNodeMetrics.md | 26 + libs/cloudapi/cloudsdk/docs/ApPerformance.md | 19 + libs/cloudapi/cloudsdk/docs/ApSsidMetrics.md | 10 + .../cloudsdk/docs/AutoOrManualString.md | 10 + .../cloudsdk/docs/AutoOrManualValue.md | 10 + .../cloudsdk/docs/BackgroundPosition.md | 8 + .../cloudsdk/docs/BackgroundRepeat.md | 8 + libs/cloudapi/cloudsdk/docs/BannedChannel.md | 10 + libs/cloudapi/cloudsdk/docs/BaseDhcpEvent.md | 19 + .../cloudapi/cloudsdk/docs/BestAPSteerType.md | 8 + .../cloudsdk/docs/BlocklistDetails.md | 11 + .../cloudsdk/docs/BonjourGatewayProfile.md | 11 + .../cloudsdk/docs/BonjourServiceSet.md | 11 + .../cloudapi/cloudsdk/docs/CapacityDetails.md | 9 + .../cloudsdk/docs/CapacityPerRadioDetails.md | 13 + .../docs/CapacityPerRadioDetailsMap.md | 12 + .../docs/CaptivePortalAuthenticationType.md | 8 + .../docs/CaptivePortalConfiguration.md | 30 + .../cloudsdk/docs/ChannelBandwidth.md | 8 + .../cloudsdk/docs/ChannelHopReason.md | 8 + .../cloudsdk/docs/ChannelHopSettings.md | 13 + libs/cloudapi/cloudsdk/docs/ChannelInfo.md | 13 + .../cloudsdk/docs/ChannelInfoReports.md | 10 + .../cloudsdk/docs/ChannelPowerLevel.md | 12 + .../docs/ChannelUtilizationDetails.md | 10 + .../docs/ChannelUtilizationPerRadioDetails.md | 12 + .../ChannelUtilizationPerRadioDetailsMap.md | 12 + .../docs/ChannelUtilizationSurveyType.md | 8 + libs/cloudapi/cloudsdk/docs/Client.md | 13 + .../docs/ClientActivityAggregatedStats.md | 12 + ...tActivityAggregatedStatsPerRadioTypeMap.md | 12 + .../cloudsdk/docs/ClientAddedEvent.md | 12 + .../cloudsdk/docs/ClientAssocEvent.md | 21 + .../cloudapi/cloudsdk/docs/ClientAuthEvent.md | 16 + .../cloudsdk/docs/ClientChangedEvent.md | 12 + .../docs/ClientConnectSuccessEvent.md | 30 + .../cloudsdk/docs/ClientConnectionDetails.md | 11 + .../cloudsdk/docs/ClientDhcpDetails.md | 20 + .../cloudsdk/docs/ClientDisconnectEvent.md | 22 + .../cloudsdk/docs/ClientEapDetails.md | 15 + .../cloudsdk/docs/ClientFailureDetails.md | 11 + .../cloudsdk/docs/ClientFailureEvent.md | 15 + .../cloudsdk/docs/ClientFirstDataEvent.md | 14 + libs/cloudapi/cloudsdk/docs/ClientIdEvent.md | 14 + .../cloudsdk/docs/ClientInfoDetails.md | 17 + .../cloudsdk/docs/ClientIpAddressEvent.md | 13 + libs/cloudapi/cloudsdk/docs/ClientMetrics.md | 367 + .../cloudsdk/docs/ClientRemovedEvent.md | 12 + libs/cloudapi/cloudsdk/docs/ClientSession.md | 13 + .../docs/ClientSessionChangedEvent.md | 13 + .../cloudsdk/docs/ClientSessionDetails.md | 53 + .../docs/ClientSessionMetricDetails.md | 25 + .../docs/ClientSessionRemovedEvent.md | 13 + .../cloudsdk/docs/ClientTimeoutEvent.md | 15 + .../cloudsdk/docs/ClientTimeoutReason.md | 8 + libs/cloudapi/cloudsdk/docs/ClientsApi.md | 367 + .../cloudsdk/docs/CommonProbeDetails.md | 12 + libs/cloudapi/cloudsdk/docs/CountryCode.md | 8 + .../cloudsdk/docs/CountsPerAlarmCodeMap.md | 8 + .../CountsPerEquipmentIdPerAlarmCodeMap.md | 8 + libs/cloudapi/cloudsdk/docs/Customer.md | 14 + .../cloudsdk/docs/CustomerAddedEvent.md | 12 + libs/cloudapi/cloudsdk/docs/CustomerApi.md | 103 + .../cloudsdk/docs/CustomerChangedEvent.md | 12 + .../cloudapi/cloudsdk/docs/CustomerDetails.md | 9 + .../docs/CustomerFirmwareTrackRecord.md | 13 + .../docs/CustomerFirmwareTrackSettings.md | 12 + .../docs/CustomerPortalDashboardStatus.md | 21 + .../cloudsdk/docs/CustomerRemovedEvent.md | 12 + .../cloudsdk/docs/DailyTimeRangeSchedule.md | 12 + libs/cloudapi/cloudsdk/docs/DayOfWeek.md | 8 + .../docs/DaysOfWeekTimeRangeSchedule.md | 13 + libs/cloudapi/cloudsdk/docs/DeploymentType.md | 8 + .../cloudsdk/docs/DetectedAuthMode.md | 8 + libs/cloudapi/cloudsdk/docs/DeviceMode.md | 8 + libs/cloudapi/cloudsdk/docs/DhcpAckEvent.md | 18 + .../cloudsdk/docs/DhcpDeclineEvent.md | 10 + .../cloudsdk/docs/DhcpDiscoverEvent.md | 11 + .../cloudapi/cloudsdk/docs/DhcpInformEvent.md | 10 + libs/cloudapi/cloudsdk/docs/DhcpNakEvent.md | 11 + libs/cloudapi/cloudsdk/docs/DhcpOfferEvent.md | 11 + .../cloudsdk/docs/DhcpRequestEvent.md | 11 + .../cloudsdk/docs/DisconnectFrameType.md | 8 + .../cloudsdk/docs/DisconnectInitiator.md | 8 + libs/cloudapi/cloudsdk/docs/DnsProbeMetric.md | 11 + .../cloudapi/cloudsdk/docs/DynamicVlanMode.md | 8 + .../docs/ElementRadioConfiguration.md | 21 + .../ElementRadioConfigurationEirpTxPower.md | 10 + libs/cloudapi/cloudsdk/docs/EmptySchedule.md | 10 + libs/cloudapi/cloudsdk/docs/Equipment.md | 22 + .../cloudsdk/docs/EquipmentAddedEvent.md | 13 + .../cloudsdk/docs/EquipmentAdminStatusData.md | 12 + libs/cloudapi/cloudsdk/docs/EquipmentApi.md | 453 + .../docs/EquipmentAutoProvisioningSettings.md | 11 + .../cloudsdk/docs/EquipmentCapacityDetails.md | 13 + .../docs/EquipmentCapacityDetailsMap.md | 12 + .../cloudsdk/docs/EquipmentChangedEvent.md | 13 + .../cloudsdk/docs/EquipmentDetails.md | 9 + .../cloudsdk/docs/EquipmentGatewayApi.md | 251 + .../cloudsdk/docs/EquipmentGatewayRecord.md | 15 + .../cloudsdk/docs/EquipmentLANStatusData.md | 11 + .../docs/EquipmentNeighbouringStatusData.md | 10 + .../cloudsdk/docs/EquipmentPeerStatusData.md | 10 + .../EquipmentPerRadioUtilizationDetails.md | 9 + .../EquipmentPerRadioUtilizationDetailsMap.md | 12 + .../docs/EquipmentPerformanceDetails.md | 12 + .../cloudsdk/docs/EquipmentProtocolState.md | 8 + .../docs/EquipmentProtocolStatusData.md | 35 + .../cloudsdk/docs/EquipmentRemovedEvent.md | 13 + .../cloudsdk/docs/EquipmentRoutingRecord.md | 14 + .../docs/EquipmentRrmBulkUpdateItem.md | 10 + .../EquipmentRrmBulkUpdateItemPerRadioMap.md | 12 + .../docs/EquipmentRrmBulkUpdateRequest.md | 9 + .../cloudsdk/docs/EquipmentScanDetails.md | 10 + libs/cloudapi/cloudsdk/docs/EquipmentType.md | 8 + .../docs/EquipmentUpgradeFailureReason.md | 8 + .../cloudsdk/docs/EquipmentUpgradeState.md | 8 + .../docs/EquipmentUpgradeStatusData.md | 18 + .../cloudsdk/docs/EthernetLinkState.md | 8 + libs/cloudapi/cloudsdk/docs/FileCategory.md | 8 + .../cloudapi/cloudsdk/docs/FileServicesApi.md | 105 + libs/cloudapi/cloudsdk/docs/FileType.md | 8 + .../cloudsdk/docs/FirmwareManagementApi.md | 967 ++ .../cloudsdk/docs/FirmwareScheduleSetting.md | 8 + .../docs/FirmwareTrackAssignmentDetails.md | 14 + .../docs/FirmwareTrackAssignmentRecord.md | 14 + .../cloudsdk/docs/FirmwareTrackRecord.md | 13 + .../cloudsdk/docs/FirmwareValidationMethod.md | 8 + .../cloudapi/cloudsdk/docs/FirmwareVersion.md | 20 + .../cloudsdk/docs/GatewayAddedEvent.md | 11 + .../cloudsdk/docs/GatewayChangedEvent.md | 11 + .../cloudsdk/docs/GatewayRemovedEvent.md | 11 + libs/cloudapi/cloudsdk/docs/GatewayType.md | 8 + .../cloudapi/cloudsdk/docs/GenericResponse.md | 10 + .../cloudsdk/docs/GreTunnelConfiguration.md | 11 + libs/cloudapi/cloudsdk/docs/GuardInterval.md | 8 + .../cloudsdk/docs/IntegerPerRadioTypeMap.md | 12 + .../cloudsdk/docs/IntegerPerStatusCodeMap.md | 12 + .../cloudsdk/docs/IntegerStatusCodeMap.md | 12 + .../cloudapi/cloudsdk/docs/IntegerValueMap.md | 8 + .../cloudsdk/docs/JsonSerializedException.md | 12 + .../docs/LinkQualityAggregatedStats.md | 12 + ...nkQualityAggregatedStatsPerRadioTypeMap.md | 12 + .../ListOfChannelInfoReportsPerRadioMap.md | 12 + .../cloudsdk/docs/ListOfMacsPerRadioMap.md | 12 + .../docs/ListOfMcsStatsPerRadioMap.md | 12 + .../docs/ListOfRadioUtilizationPerRadioMap.md | 12 + .../docs/ListOfSsidStatisticsPerRadioMap.md | 12 + libs/cloudapi/cloudsdk/docs/LocalTimeValue.md | 10 + libs/cloudapi/cloudsdk/docs/Location.md | 16 + .../cloudsdk/docs/LocationActivityDetails.md | 12 + .../docs/LocationActivityDetailsMap.md | 15 + .../cloudsdk/docs/LocationAddedEvent.md | 12 + libs/cloudapi/cloudsdk/docs/LocationApi.md | 299 + .../cloudsdk/docs/LocationChangedEvent.md | 12 + .../cloudapi/cloudsdk/docs/LocationDetails.md | 13 + .../cloudsdk/docs/LocationRemovedEvent.md | 12 + libs/cloudapi/cloudsdk/docs/LoginApi.md | 99 + .../cloudsdk/docs/LongPerRadioTypeMap.md | 12 + libs/cloudapi/cloudsdk/docs/LongValueMap.md | 8 + libs/cloudapi/cloudsdk/docs/MacAddress.md | 10 + .../cloudsdk/docs/MacAllowlistRecord.md | 11 + .../cloudapi/cloudsdk/docs/ManagedFileInfo.md | 14 + libs/cloudapi/cloudsdk/docs/ManagementRate.md | 8 + .../docs/ManufacturerDetailsRecord.md | 13 + .../cloudsdk/docs/ManufacturerOUIApi.md | 683 ++ .../cloudsdk/docs/ManufacturerOuiDetails.md | 11 + .../docs/ManufacturerOuiDetailsPerOuiMap.md | 8 + .../docs/MapOfWmmQueueStatsPerRadioMap.md | 12 + libs/cloudapi/cloudsdk/docs/McsStats.md | 12 + libs/cloudapi/cloudsdk/docs/McsType.md | 8 + libs/cloudapi/cloudsdk/docs/MeshGroup.md | 11 + .../cloudapi/cloudsdk/docs/MeshGroupMember.md | 12 + .../cloudsdk/docs/MeshGroupProperty.md | 11 + .../cloudsdk/docs/MetricConfigParameterMap.md | 15 + libs/cloudapi/cloudsdk/docs/MimoMode.md | 8 + .../cloudsdk/docs/MinMaxAvgValueInt.md | 11 + .../docs/MinMaxAvgValueIntPerRadioMap.md | 12 + libs/cloudapi/cloudsdk/docs/MulticastRate.md | 8 + .../cloudsdk/docs/NeighborScanPacketType.md | 8 + .../cloudapi/cloudsdk/docs/NeighbourReport.md | 24 + .../cloudsdk/docs/NeighbourScanReports.md | 10 + .../docs/NeighbouringAPListConfiguration.md | 10 + .../cloudsdk/docs/NetworkAdminStatusData.md | 16 + .../docs/NetworkAggregateStatusData.md | 32 + .../cloudsdk/docs/NetworkForwardMode.md | 8 + .../cloudsdk/docs/NetworkProbeMetrics.md | 16 + libs/cloudapi/cloudsdk/docs/NetworkType.md | 8 + .../cloudsdk/docs/NoiseFloorDetails.md | 10 + .../docs/NoiseFloorPerRadioDetails.md | 12 + .../docs/NoiseFloorPerRadioDetailsMap.md | 12 + libs/cloudapi/cloudsdk/docs/ObssHopMode.md | 8 + .../cloudsdk/docs/OneOfEquipmentDetails.md | 8 + .../docs/OneOfFirmwareScheduleSetting.md | 8 + .../docs/OneOfProfileDetailsChildren.md | 8 + .../cloudsdk/docs/OneOfScheduleSetting.md | 8 + .../docs/OneOfServiceMetricDetails.md | 8 + .../cloudsdk/docs/OneOfStatusDetails.md | 8 + .../cloudsdk/docs/OneOfSystemEvent.md | 8 + .../docs/OperatingSystemPerformance.md | 17 + libs/cloudapi/cloudsdk/docs/OriginatorType.md | 8 + .../cloudsdk/docs/PaginationContextAlarm.md | 14 + .../cloudsdk/docs/PaginationContextClient.md | 14 + .../docs/PaginationContextClientSession.md | 14 + .../docs/PaginationContextEquipment.md | 14 + .../docs/PaginationContextLocation.md | 14 + .../docs/PaginationContextPortalUser.md | 14 + .../cloudsdk/docs/PaginationContextProfile.md | 14 + .../docs/PaginationContextServiceMetric.md | 14 + .../cloudsdk/docs/PaginationContextStatus.md | 14 + .../docs/PaginationContextSystemEvent.md | 14 + .../cloudsdk/docs/PaginationResponseAlarm.md | 10 + .../cloudsdk/docs/PaginationResponseClient.md | 10 + .../docs/PaginationResponseClientSession.md | 10 + .../docs/PaginationResponseEquipment.md | 10 + .../docs/PaginationResponseLocation.md | 10 + .../docs/PaginationResponsePortalUser.md | 10 + .../docs/PaginationResponseProfile.md | 10 + .../docs/PaginationResponseServiceMetric.md | 10 + .../cloudsdk/docs/PaginationResponseStatus.md | 10 + .../docs/PaginationResponseSystemEvent.md | 10 + libs/cloudapi/cloudsdk/docs/PairLongLong.md | 10 + .../docs/PasspointAccessNetworkType.md | 8 + ...sspointConnectionCapabilitiesIpProtocol.md | 8 + .../PasspointConnectionCapabilitiesStatus.md | 8 + .../docs/PasspointConnectionCapability.md | 11 + libs/cloudapi/cloudsdk/docs/PasspointDuple.md | 12 + .../cloudsdk/docs/PasspointEapMethods.md | 8 + .../docs/PasspointGasAddress3Behaviour.md | 8 + .../cloudsdk/docs/PasspointIPv4AddressType.md | 8 + .../cloudsdk/docs/PasspointIPv6AddressType.md | 8 + .../cloudapi/cloudsdk/docs/PasspointMccMnc.md | 14 + .../PasspointNaiRealmEapAuthInnerNonEap.md | 8 + .../docs/PasspointNaiRealmEapAuthParam.md | 8 + .../docs/PasspointNaiRealmEapCredType.md | 8 + .../docs/PasspointNaiRealmEncoding.md | 8 + .../docs/PasspointNaiRealmInformation.md | 12 + .../PasspointNetworkAuthenticationType.md | 8 + .../cloudsdk/docs/PasspointOperatorProfile.md | 14 + .../cloudsdk/docs/PasspointOsuIcon.md | 16 + .../docs/PasspointOsuProviderProfile.md | 22 + .../cloudsdk/docs/PasspointProfile.md | 37 + .../cloudsdk/docs/PasspointVenueName.md | 9 + .../cloudsdk/docs/PasspointVenueProfile.md | 11 + .../docs/PasspointVenueTypeAssignment.md | 11 + libs/cloudapi/cloudsdk/docs/PeerInfo.md | 13 + .../cloudsdk/docs/PerProcessUtilization.md | 11 + libs/cloudapi/cloudsdk/docs/PingResponse.md | 15 + libs/cloudapi/cloudsdk/docs/PortalUser.md | 15 + .../cloudsdk/docs/PortalUserAddedEvent.md | 12 + .../cloudsdk/docs/PortalUserChangedEvent.md | 12 + .../cloudsdk/docs/PortalUserRemovedEvent.md | 12 + libs/cloudapi/cloudsdk/docs/PortalUserRole.md | 8 + libs/cloudapi/cloudsdk/docs/PortalUsersApi.md | 397 + libs/cloudapi/cloudsdk/docs/Profile.md | 16 + .../cloudsdk/docs/ProfileAddedEvent.md | 12 + libs/cloudapi/cloudsdk/docs/ProfileApi.md | 399 + .../cloudsdk/docs/ProfileChangedEvent.md | 12 + libs/cloudapi/cloudsdk/docs/ProfileDetails.md | 9 + .../cloudsdk/docs/ProfileDetailsChildren.md | 8 + .../cloudsdk/docs/ProfileRemovedEvent.md | 12 + libs/cloudapi/cloudsdk/docs/ProfileType.md | 8 + .../docs/RadioBasedSsidConfiguration.md | 11 + .../docs/RadioBasedSsidConfigurationMap.md | 12 + .../cloudsdk/docs/RadioBestApSettings.md | 11 + .../docs/RadioChannelChangeSettings.md | 10 + .../cloudsdk/docs/RadioConfiguration.md | 19 + libs/cloudapi/cloudsdk/docs/RadioMap.md | 12 + libs/cloudapi/cloudsdk/docs/RadioMode.md | 8 + .../docs/RadioProfileConfiguration.md | 10 + .../docs/RadioProfileConfigurationMap.md | 12 + .../cloudapi/cloudsdk/docs/RadioStatistics.md | 379 + .../docs/RadioStatisticsPerRadioMap.md | 12 + libs/cloudapi/cloudsdk/docs/RadioType.md | 8 + .../cloudsdk/docs/RadioUtilization.md | 16 + .../cloudsdk/docs/RadioUtilizationDetails.md | 9 + .../docs/RadioUtilizationPerRadioDetails.md | 13 + .../RadioUtilizationPerRadioDetailsMap.md | 12 + .../cloudsdk/docs/RadioUtilizationReport.md | 13 + .../docs/RadiusAuthenticationMethod.md | 8 + libs/cloudapi/cloudsdk/docs/RadiusDetails.md | 10 + libs/cloudapi/cloudsdk/docs/RadiusMetrics.md | 11 + .../cloudsdk/docs/RadiusNasConfiguration.md | 13 + libs/cloudapi/cloudsdk/docs/RadiusProfile.md | 13 + libs/cloudapi/cloudsdk/docs/RadiusServer.md | 12 + .../cloudsdk/docs/RadiusServerDetails.md | 10 + libs/cloudapi/cloudsdk/docs/RealTimeEvent.md | 13 + .../docs/RealTimeSipCallEventWithStats.md | 18 + .../docs/RealTimeSipCallReportEvent.md | 11 + .../docs/RealTimeSipCallStartEvent.md | 18 + .../cloudsdk/docs/RealTimeSipCallStopEvent.md | 12 + .../docs/RealTimeStreamingStartEvent.md | 16 + .../RealTimeStreamingStartSessionEvent.md | 15 + .../docs/RealTimeStreamingStopEvent.md | 17 + .../cloudsdk/docs/RealtimeChannelHopEvent.md | 14 + libs/cloudapi/cloudsdk/docs/RfConfigMap.md | 12 + .../cloudapi/cloudsdk/docs/RfConfiguration.md | 9 + .../cloudsdk/docs/RfElementConfiguration.md | 32 + .../cloudsdk/docs/RoutingAddedEvent.md | 13 + .../cloudsdk/docs/RoutingChangedEvent.md | 13 + .../cloudsdk/docs/RoutingRemovedEvent.md | 13 + .../cloudsdk/docs/RrmBulkUpdateApDetails.md | 15 + libs/cloudapi/cloudsdk/docs/RtlsSettings.md | 11 + .../cloudsdk/docs/RtpFlowDirection.md | 8 + libs/cloudapi/cloudsdk/docs/RtpFlowStats.md | 16 + libs/cloudapi/cloudsdk/docs/RtpFlowType.md | 8 + .../cloudsdk/docs/SIPCallReportReason.md | 8 + .../cloudapi/cloudsdk/docs/ScheduleSetting.md | 8 + libs/cloudapi/cloudsdk/docs/SecurityType.md | 8 + .../cloudsdk/docs/ServiceAdoptionMetrics.md | 18 + .../docs/ServiceAdoptionMetricsApi.md | 301 + libs/cloudapi/cloudsdk/docs/ServiceMetric.md | 16 + .../docs/ServiceMetricConfigParameters.md | 11 + .../cloudsdk/docs/ServiceMetricDataType.md | 8 + .../cloudsdk/docs/ServiceMetricDetails.md | 8 + .../ServiceMetricRadioConfigParameters.md | 17 + .../ServiceMetricSurveyConfigParameters.md | 12 + .../ServiceMetricsCollectionConfigProfile.md | 12 + .../cloudsdk/docs/SessionExpiryType.md | 8 + .../cloudsdk/docs/SipCallStopReason.md | 8 + .../cloudsdk/docs/SortColumnsAlarm.md | 11 + .../cloudsdk/docs/SortColumnsClient.md | 11 + .../cloudsdk/docs/SortColumnsClientSession.md | 11 + .../cloudsdk/docs/SortColumnsEquipment.md | 11 + .../cloudsdk/docs/SortColumnsLocation.md | 11 + .../cloudsdk/docs/SortColumnsPortalUser.md | 11 + .../cloudsdk/docs/SortColumnsProfile.md | 11 + .../cloudsdk/docs/SortColumnsServiceMetric.md | 11 + .../cloudsdk/docs/SortColumnsStatus.md | 11 + .../cloudsdk/docs/SortColumnsSystemEvent.md | 11 + libs/cloudapi/cloudsdk/docs/SortOrder.md | 8 + .../docs/SourceSelectionManagement.md | 10 + .../cloudsdk/docs/SourceSelectionMulticast.md | 10 + .../cloudsdk/docs/SourceSelectionSteering.md | 10 + .../cloudsdk/docs/SourceSelectionValue.md | 10 + libs/cloudapi/cloudsdk/docs/SourceType.md | 8 + .../cloudsdk/docs/SsidConfiguration.md | 33 + libs/cloudapi/cloudsdk/docs/SsidSecureMode.md | 8 + libs/cloudapi/cloudsdk/docs/SsidStatistics.md | 57 + libs/cloudapi/cloudsdk/docs/StateSetting.md | 8 + .../cloudsdk/docs/StateUpDownError.md | 8 + .../cloudsdk/docs/StatsReportFormat.md | 8 + libs/cloudapi/cloudsdk/docs/Status.md | 15 + libs/cloudapi/cloudsdk/docs/StatusApi.md | 217 + .../cloudsdk/docs/StatusChangedEvent.md | 13 + libs/cloudapi/cloudsdk/docs/StatusCode.md | 8 + libs/cloudapi/cloudsdk/docs/StatusDataType.md | 8 + libs/cloudapi/cloudsdk/docs/StatusDetails.md | 8 + .../cloudsdk/docs/StatusRemovedEvent.md | 13 + libs/cloudapi/cloudsdk/docs/SteerType.md | 8 + .../docs/StreamingVideoServerRecord.md | 15 + .../cloudsdk/docs/StreamingVideoType.md | 8 + libs/cloudapi/cloudsdk/docs/SyslogRelay.md | 12 + .../cloudsdk/docs/SyslogSeverityType.md | 8 + libs/cloudapi/cloudsdk/docs/SystemEvent.md | 8 + .../cloudsdk/docs/SystemEventDataType.md | 8 + .../cloudsdk/docs/SystemEventRecord.md | 16 + .../cloudapi/cloudsdk/docs/SystemEventsApi.md | 71 + .../cloudsdk/docs/TimedAccessUserDetails.md | 11 + .../cloudsdk/docs/TimedAccessUserRecord.md | 16 + libs/cloudapi/cloudsdk/docs/TrackFlag.md | 8 + libs/cloudapi/cloudsdk/docs/TrafficDetails.md | 11 + .../cloudsdk/docs/TrafficPerRadioDetails.md | 20 + .../TrafficPerRadioDetailsPerRadioTypeMap.md | 12 + .../cloudapi/cloudsdk/docs/TunnelIndicator.md | 8 + .../cloudsdk/docs/TunnelMetricData.md | 14 + .../docs/UnserializableSystemEvent.md | 13 + libs/cloudapi/cloudsdk/docs/UserDetails.md | 19 + libs/cloudapi/cloudsdk/docs/VLANStatusData.md | 15 + .../cloudsdk/docs/VLANStatusDataMap.md | 8 + libs/cloudapi/cloudsdk/docs/VlanSubnet.md | 16 + .../cloudsdk/docs/WLANServiceMetricsApi.md | 71 + .../cloudsdk/docs/WebTokenAclTemplate.md | 9 + .../cloudapi/cloudsdk/docs/WebTokenRequest.md | 11 + libs/cloudapi/cloudsdk/docs/WebTokenResult.md | 15 + libs/cloudapi/cloudsdk/docs/WepAuthType.md | 8 + .../cloudsdk/docs/WepConfiguration.md | 11 + libs/cloudapi/cloudsdk/docs/WepKey.md | 11 + libs/cloudapi/cloudsdk/docs/WepType.md | 8 + libs/cloudapi/cloudsdk/docs/WlanReasonCode.md | 8 + libs/cloudapi/cloudsdk/docs/WlanStatusCode.md | 8 + libs/cloudapi/cloudsdk/docs/WmmQueueStats.md | 21 + .../docs/WmmQueueStatsPerQueueTypeMap.md | 12 + libs/cloudapi/cloudsdk/docs/WmmQueueType.md | 8 + libs/cloudapi/cloudsdk/git_push.sh | 52 + libs/cloudapi/cloudsdk/requirements.txt | 5 + libs/cloudapi/cloudsdk/setup.py | 39 + .../cloudsdk/swagger_client/__init__.py | 425 + .../cloudsdk/swagger_client/api/__init__.py | 21 + .../cloudsdk/swagger_client/api/alarms_api.py | 666 ++ .../swagger_client/api/clients_api.py | 756 ++ .../swagger_client/api/customer_api.py | 223 + .../swagger_client/api/equipment_api.py | 914 ++ .../api/equipment_gateway_api.py | 518 + .../swagger_client/api/file_services_api.py | 231 + .../api/firmware_management_api.py | 1925 ++++ .../swagger_client/api/location_api.py | 613 + .../cloudsdk/swagger_client/api/login_api.py | 215 + .../api/manufacturer_oui_api.py | 1384 +++ .../swagger_client/api/portal_users_api.py | 807 ++ .../swagger_client/api/profile_api.py | 808 ++ .../api/service_adoption_metrics_api.py | 618 ++ .../cloudsdk/swagger_client/api/status_api.py | 463 + .../swagger_client/api/system_events_api.py | 175 + .../api/wlan_service_metrics_api.py | 175 + .../cloudsdk/swagger_client/api_client.py | 629 ++ .../cloudsdk/swagger_client/configuration.py | 244 + .../swagger_client/models/__init__.py | 404 + .../swagger_client/models/acl_template.py | 214 + .../swagger_client/models/active_bssi_ds.py | 175 + .../swagger_client/models/active_bssid.py | 220 + .../models/active_scan_settings.py | 162 + .../models/advanced_radio_map.py | 188 + .../cloudsdk/swagger_client/models/alarm.py | 372 + .../models/alarm_added_event.py | 215 + .../models/alarm_changed_event.py | 215 + .../swagger_client/models/alarm_code.py | 138 + .../swagger_client/models/alarm_counts.py | 162 + .../swagger_client/models/alarm_details.py | 188 + .../models/alarm_details_attributes_map.py | 89 + .../models/alarm_removed_event.py | 215 + .../swagger_client/models/alarm_scope_type.py | 93 + .../swagger_client/models/antenna_type.py | 90 + .../models/ap_element_configuration.py | 721 ++ .../swagger_client/models/ap_mesh_mode.py | 91 + .../models/ap_network_configuration.py | 446 + .../ap_network_configuration_ntp_server.py | 136 + .../swagger_client/models/ap_node_metrics.py | 555 + .../swagger_client/models/ap_performance.py | 386 + .../swagger_client/models/ap_ssid_metrics.py | 137 + .../models/auto_or_manual_string.py | 136 + .../models/auto_or_manual_value.py | 136 + .../models/background_position.py | 97 + .../models/background_repeat.py | 95 + .../swagger_client/models/banned_channel.py | 136 + .../swagger_client/models/base_dhcp_event.py | 377 + .../models/best_ap_steer_type.py | 91 + .../models/blocklist_details.py | 168 + .../models/bonjour_gateway_profile.py | 174 + .../models/bonjour_service_set.py | 162 + .../swagger_client/models/capacity_details.py | 110 + .../models/capacity_per_radio_details.py | 214 + .../models/capacity_per_radio_details_map.py | 188 + .../captive_portal_authentication_type.py | 92 + .../models/captive_portal_configuration.py | 668 ++ .../models/channel_bandwidth.py | 93 + .../models/channel_hop_reason.py | 91 + .../models/channel_hop_settings.py | 214 + .../swagger_client/models/channel_info.py | 214 + .../models/channel_info_reports.py | 137 + .../models/channel_power_level.py | 190 + .../models/channel_utilization_details.py | 136 + .../channel_utilization_per_radio_details.py | 188 + ...annel_utilization_per_radio_details_map.py | 188 + .../models/channel_utilization_survey_type.py | 91 + .../cloudsdk/swagger_client/models/client.py | 216 + .../client_activity_aggregated_stats.py | 188 + ...ity_aggregated_stats_per_radio_type_map.py | 188 + .../models/client_added_event.py | 189 + .../models/client_assoc_event.py | 423 + .../models/client_auth_event.py | 293 + .../models/client_changed_event.py | 189 + .../models/client_connect_success_event.py | 659 ++ .../models/client_connection_details.py | 175 + .../models/client_dhcp_details.py | 396 + .../models/client_disconnect_event.py | 449 + .../models/client_eap_details.py | 266 + .../models/client_failure_details.py | 162 + .../models/client_failure_event.py | 267 + .../models/client_first_data_event.py | 241 + .../swagger_client/models/client_id_event.py | 241 + .../models/client_info_details.py | 318 + .../models/client_ip_address_event.py | 215 + .../swagger_client/models/client_metrics.py | 9505 ++++++++++++++++ .../models/client_removed_event.py | 189 + .../swagger_client/models/client_session.py | 216 + .../models/client_session_changed_event.py | 215 + .../models/client_session_details.py | 1260 +++ .../models/client_session_metric_details.py | 532 + .../models/client_session_removed_event.py | 215 + .../models/client_timeout_event.py | 267 + .../models/client_timeout_reason.py | 91 + .../models/common_probe_details.py | 188 + .../swagger_client/models/country_code.py | 338 + .../models/counts_per_alarm_code_map.py | 89 + ...nts_per_equipment_id_per_alarm_code_map.py | 89 + .../swagger_client/models/customer.py | 246 + .../models/customer_added_event.py | 189 + .../models/customer_changed_event.py | 189 + .../swagger_client/models/customer_details.py | 110 + .../models/customer_firmware_track_record.py | 216 + .../customer_firmware_track_settings.py | 188 + .../customer_portal_dashboard_status.py | 439 + .../models/customer_removed_event.py | 189 + .../models/daily_time_range_schedule.py | 189 + .../swagger_client/models/day_of_week.py | 95 + .../days_of_week_time_range_schedule.py | 215 + .../swagger_client/models/deployment_type.py | 90 + .../models/detected_auth_mode.py | 92 + .../swagger_client/models/device_mode.py | 92 + .../swagger_client/models/dhcp_ack_event.py | 353 + .../models/dhcp_decline_event.py | 137 + .../models/dhcp_discover_event.py | 163 + .../models/dhcp_inform_event.py | 137 + .../swagger_client/models/dhcp_nak_event.py | 163 + .../swagger_client/models/dhcp_offer_event.py | 163 + .../models/dhcp_request_event.py | 163 + .../models/disconnect_frame_type.py | 91 + .../models/disconnect_initiator.py | 91 + .../swagger_client/models/dns_probe_metric.py | 162 + .../models/dynamic_vlan_mode.py | 91 + .../models/element_radio_configuration.py | 430 + ...ement_radio_configuration_eirp_tx_power.py | 136 + .../swagger_client/models/empty_schedule.py | 137 + .../swagger_client/models/equipment.py | 450 + .../models/equipment_added_event.py | 215 + .../models/equipment_admin_status_data.py | 201 + .../equipment_auto_provisioning_settings.py | 164 + .../models/equipment_capacity_details.py | 224 + .../models/equipment_capacity_details_map.py | 188 + .../models/equipment_changed_event.py | 215 + .../models/equipment_details.py | 118 + .../models/equipment_gateway_record.py | 266 + .../models/equipment_lan_status_data.py | 175 + .../equipment_neighbouring_status_data.py | 149 + .../models/equipment_peer_status_data.py | 149 + ...equipment_per_radio_utilization_details.py | 110 + ...pment_per_radio_utilization_details_map.py | 188 + .../models/equipment_performance_details.py | 188 + .../models/equipment_protocol_state.py | 94 + .../models/equipment_protocol_status_data.py | 799 ++ .../models/equipment_removed_event.py | 215 + .../models/equipment_routing_record.py | 240 + .../models/equipment_rrm_bulk_update_item.py | 136 + ...ment_rrm_bulk_update_item_per_radio_map.py | 188 + .../equipment_rrm_bulk_update_request.py | 110 + .../models/equipment_scan_details.py | 149 + .../swagger_client/models/equipment_type.py | 90 + .../equipment_upgrade_failure_reason.py | 100 + .../models/equipment_upgrade_state.py | 102 + .../models/equipment_upgrade_status_data.py | 357 + .../models/ethernet_link_state.py | 95 + .../swagger_client/models/file_category.py | 94 + .../swagger_client/models/file_type.py | 91 + .../models/firmware_schedule_setting.py | 92 + .../firmware_track_assignment_details.py | 252 + .../firmware_track_assignment_record.py | 242 + .../models/firmware_track_record.py | 216 + .../models/firmware_validation_method.py | 90 + .../swagger_client/models/firmware_version.py | 406 + .../models/gateway_added_event.py | 163 + .../models/gateway_changed_event.py | 163 + .../models/gateway_removed_event.py | 163 + .../swagger_client/models/gateway_type.py | 90 + .../swagger_client/models/generic_response.py | 136 + .../models/gre_tunnel_configuration.py | 162 + .../swagger_client/models/guard_interval.py | 90 + .../models/integer_per_radio_type_map.py | 188 + .../models/integer_per_status_code_map.py | 188 + .../models/integer_status_code_map.py | 188 + .../models/integer_value_map.py | 89 + .../models/json_serialized_exception.py | 200 + .../models/link_quality_aggregated_stats.py | 188 + ...ity_aggregated_stats_per_radio_type_map.py | 188 + ...t_of_channel_info_reports_per_radio_map.py | 188 + .../models/list_of_macs_per_radio_map.py | 188 + .../models/list_of_mcs_stats_per_radio_map.py | 188 + ...list_of_radio_utilization_per_radio_map.py | 188 + .../list_of_ssid_statistics_per_radio_map.py | 188 + .../swagger_client/models/local_time_value.py | 136 + .../swagger_client/models/location.py | 300 + .../models/location_activity_details.py | 188 + .../models/location_activity_details_map.py | 266 + .../models/location_added_event.py | 189 + .../models/location_changed_event.py | 189 + .../swagger_client/models/location_details.py | 220 + .../models/location_removed_event.py | 189 + .../models/long_per_radio_type_map.py | 188 + .../swagger_client/models/long_value_map.py | 89 + .../swagger_client/models/mac_address.py | 142 + .../models/mac_allowlist_record.py | 162 + .../models/managed_file_info.py | 240 + .../swagger_client/models/management_rate.py | 98 + .../models/manufacturer_details_record.py | 216 + .../models/manufacturer_oui_details.py | 164 + .../manufacturer_oui_details_per_oui_map.py | 89 + .../map_of_wmm_queue_stats_per_radio_map.py | 188 + .../swagger_client/models/mcs_stats.py | 192 + .../swagger_client/models/mcs_type.py | 172 + .../swagger_client/models/mesh_group.py | 174 + .../models/mesh_group_member.py | 188 + .../models/mesh_group_property.py | 162 + .../models/metric_config_parameter_map.py | 266 + .../swagger_client/models/mimo_mode.py | 93 + .../models/min_max_avg_value_int.py | 162 + .../min_max_avg_value_int_per_radio_map.py | 188 + .../swagger_client/models/multicast_rate.py | 97 + .../models/neighbor_scan_packet_type.py | 101 + .../swagger_client/models/neighbour_report.py | 500 + .../models/neighbour_scan_reports.py | 137 + .../neighbouring_ap_list_configuration.py | 136 + .../models/network_admin_status_data.py | 305 + .../models/network_aggregate_status_data.py | 721 ++ .../models/network_forward_mode.py | 90 + .../models/network_probe_metrics.py | 292 + .../swagger_client/models/network_type.py | 90 + .../models/noise_floor_details.py | 136 + .../models/noise_floor_per_radio_details.py | 188 + .../noise_floor_per_radio_details_map.py | 188 + .../swagger_client/models/obss_hop_mode.py | 90 + .../models/one_of_equipment_details.py | 84 + .../one_of_firmware_schedule_setting.py | 84 + .../models/one_of_profile_details_children.py | 84 + .../models/one_of_schedule_setting.py | 84 + .../models/one_of_service_metric_details.py | 84 + .../models/one_of_status_details.py | 84 + .../models/one_of_system_event.py | 84 + .../models/operating_system_performance.py | 331 + .../swagger_client/models/originator_type.py | 91 + .../models/pagination_context_alarm.py | 247 + .../models/pagination_context_client.py | 247 + .../pagination_context_client_session.py | 247 + .../models/pagination_context_equipment.py | 247 + .../models/pagination_context_location.py | 247 + .../models/pagination_context_portal_user.py | 247 + .../models/pagination_context_profile.py | 247 + .../pagination_context_service_metric.py | 247 + .../models/pagination_context_status.py | 247 + .../models/pagination_context_system_event.py | 247 + .../models/pagination_response_alarm.py | 136 + .../models/pagination_response_client.py | 136 + .../pagination_response_client_session.py | 136 + .../models/pagination_response_equipment.py | 136 + .../models/pagination_response_location.py | 136 + .../models/pagination_response_portal_user.py | 136 + .../models/pagination_response_profile.py | 136 + .../pagination_response_service_metric.py | 136 + .../models/pagination_response_status.py | 136 + .../pagination_response_system_event.py | 136 + .../swagger_client/models/pair_long_long.py | 136 + .../models/passpoint_access_network_type.py | 96 + ...int_connection_capabilities_ip_protocol.py | 91 + ...asspoint_connection_capabilities_status.py | 91 + .../models/passpoint_connection_capability.py | 162 + .../swagger_client/models/passpoint_duple.py | 194 + .../models/passpoint_eap_methods.py | 93 + .../passpoint_gas_address3_behaviour.py | 91 + .../models/passpoint_i_pv4_address_type.py | 96 + .../models/passpoint_i_pv6_address_type.py | 91 + .../models/passpoint_mcc_mnc.py | 240 + ...spoint_nai_realm_eap_auth_inner_non_eap.py | 92 + .../passpoint_nai_realm_eap_auth_param.py | 95 + .../passpoint_nai_realm_eap_cred_type.py | 98 + .../models/passpoint_nai_realm_encoding.py | 90 + .../models/passpoint_nai_realm_information.py | 192 + .../passpoint_network_authentication_type.py | 92 + .../models/passpoint_operator_profile.py | 254 + .../models/passpoint_osu_icon.py | 300 + .../models/passpoint_osu_provider_profile.py | 460 + .../models/passpoint_profile.py | 856 ++ .../models/passpoint_venue_name.py | 110 + .../models/passpoint_venue_profile.py | 174 + .../models/passpoint_venue_type_assignment.py | 162 + .../swagger_client/models/peer_info.py | 214 + .../models/per_process_utilization.py | 168 + .../swagger_client/models/ping_response.py | 266 + .../swagger_client/models/portal_user.py | 268 + .../models/portal_user_added_event.py | 189 + .../models/portal_user_changed_event.py | 189 + .../models/portal_user_removed_event.py | 189 + .../swagger_client/models/portal_user_role.py | 99 + .../cloudsdk/swagger_client/models/profile.py | 294 + .../models/profile_added_event.py | 189 + .../models/profile_changed_event.py | 189 + .../swagger_client/models/profile_details.py | 136 + .../models/profile_details_children.py | 92 + .../models/profile_removed_event.py | 189 + .../swagger_client/models/profile_type.py | 101 + .../models/radio_based_ssid_configuration.py | 162 + .../radio_based_ssid_configuration_map.py | 188 + .../models/radio_best_ap_settings.py | 162 + .../models/radio_channel_change_settings.py | 141 + .../models/radio_configuration.py | 370 + .../swagger_client/models/radio_map.py | 188 + .../swagger_client/models/radio_mode.py | 96 + .../models/radio_profile_configuration.py | 136 + .../models/radio_profile_configuration_map.py | 188 + .../swagger_client/models/radio_statistics.py | 9884 +++++++++++++++++ .../models/radio_statistics_per_radio_map.py | 188 + .../swagger_client/models/radio_type.py | 92 + .../models/radio_utilization.py | 292 + .../models/radio_utilization_details.py | 110 + .../radio_utilization_per_radio_details.py | 214 + ...radio_utilization_per_radio_details_map.py | 188 + .../models/radio_utilization_report.py | 227 + .../models/radius_authentication_method.py | 91 + .../swagger_client/models/radius_details.py | 136 + .../swagger_client/models/radius_metrics.py | 162 + .../models/radius_nas_configuration.py | 236 + .../swagger_client/models/radius_profile.py | 226 + .../swagger_client/models/radius_server.py | 188 + .../models/radius_server_details.py | 136 + .../swagger_client/models/real_time_event.py | 215 + .../real_time_sip_call_event_with_stats.py | 345 + .../models/real_time_sip_call_report_event.py | 163 + .../models/real_time_sip_call_start_event.py | 345 + .../models/real_time_sip_call_stop_event.py | 189 + .../models/real_time_streaming_start_event.py | 295 + ...real_time_streaming_start_session_event.py | 269 + .../models/real_time_streaming_stop_event.py | 321 + .../models/realtime_channel_hop_event.py | 241 + .../swagger_client/models/rf_config_map.py | 188 + .../swagger_client/models/rf_configuration.py | 116 + .../models/rf_element_configuration.py | 714 ++ .../models/routing_added_event.py | 215 + .../models/routing_changed_event.py | 215 + .../models/routing_removed_event.py | 215 + .../models/rrm_bulk_update_ap_details.py | 266 + .../swagger_client/models/rtls_settings.py | 162 + .../models/rtp_flow_direction.py | 90 + .../swagger_client/models/rtp_flow_stats.py | 292 + .../swagger_client/models/rtp_flow_type.py | 91 + .../swagger_client/models/schedule_setting.py | 92 + .../swagger_client/models/security_type.py | 92 + .../models/service_adoption_metrics.py | 346 + .../swagger_client/models/service_metric.py | 294 + .../service_metric_config_parameters.py | 162 + .../models/service_metric_data_type.py | 93 + .../models/service_metric_details.py | 92 + .../service_metric_radio_config_parameters.py | 318 + ...service_metric_survey_config_parameters.py | 188 + ...rvice_metrics_collection_config_profile.py | 200 + .../models/session_expiry_type.py | 90 + .../models/sip_call_report_reason.py | 92 + .../models/sip_call_stop_reason.py | 91 + .../models/sort_columns_alarm.py | 177 + .../models/sort_columns_client.py | 177 + .../models/sort_columns_client_session.py | 177 + .../models/sort_columns_equipment.py | 177 + .../models/sort_columns_location.py | 177 + .../models/sort_columns_portal_user.py | 177 + .../models/sort_columns_profile.py | 177 + .../models/sort_columns_service_metric.py | 177 + .../models/sort_columns_status.py | 177 + .../models/sort_columns_system_event.py | 177 + .../swagger_client/models/sort_order.py | 90 + .../models/source_selection_management.py | 136 + .../models/source_selection_multicast.py | 136 + .../models/source_selection_steering.py | 136 + .../models/source_selection_value.py | 136 + .../swagger_client/models/source_type.py | 91 + .../models/ssid_configuration.py | 752 ++ .../swagger_client/models/ssid_secure_mode.py | 103 + .../swagger_client/models/ssid_statistics.py | 1450 +++ .../swagger_client/models/state_setting.py | 90 + .../models/state_up_down_error.py | 91 + .../models/stats_report_format.py | 91 + .../cloudsdk/swagger_client/models/status.py | 274 + .../models/status_changed_event.py | 215 + .../swagger_client/models/status_code.py | 92 + .../swagger_client/models/status_data_type.py | 102 + .../swagger_client/models/status_details.py | 92 + .../models/status_removed_event.py | 215 + .../swagger_client/models/steer_type.py | 92 + .../models/streaming_video_server_record.py | 266 + .../models/streaming_video_type.py | 93 + .../swagger_client/models/syslog_relay.py | 188 + .../models/syslog_severity_type.py | 96 + .../swagger_client/models/system_event.py | 92 + .../models/system_event_data_type.py | 148 + .../models/system_event_record.py | 294 + .../models/timed_access_user_details.py | 162 + .../models/timed_access_user_record.py | 292 + .../swagger_client/models/track_flag.py | 91 + .../swagger_client/models/traffic_details.py | 162 + .../models/traffic_per_radio_details.py | 396 + ...ic_per_radio_details_per_radio_type_map.py | 188 + .../swagger_client/models/tunnel_indicator.py | 91 + .../models/tunnel_metric_data.py | 252 + .../models/unserializable_system_event.py | 215 + .../swagger_client/models/user_details.py | 370 + .../swagger_client/models/vlan_status_data.py | 266 + .../models/vlan_status_data_map.py | 89 + .../swagger_client/models/vlan_subnet.py | 306 + .../models/web_token_acl_template.py | 110 + .../models/web_token_request.py | 164 + .../swagger_client/models/web_token_result.py | 266 + .../swagger_client/models/wep_auth_type.py | 90 + .../models/wep_configuration.py | 162 + .../cloudsdk/swagger_client/models/wep_key.py | 162 + .../swagger_client/models/wep_type.py | 90 + .../swagger_client/models/wlan_reason_code.py | 150 + .../swagger_client/models/wlan_status_code.py | 189 + .../swagger_client/models/wmm_queue_stats.py | 422 + .../wmm_queue_stats_per_queue_type_map.py | 188 + .../swagger_client/models/wmm_queue_type.py | 92 + libs/cloudapi/cloudsdk/swagger_client/rest.py | 322 + libs/cloudapi/cloudsdk/test-requirements.txt | 5 + libs/cloudapi/cloudsdk/test/__init__.py | 0 .../cloudsdk/test/test_acl_template.py | 39 + .../cloudsdk/test/test_active_bssi_ds.py | 39 + .../cloudsdk/test/test_active_bssid.py | 39 + .../test/test_active_scan_settings.py | 39 + .../cloudsdk/test/test_advanced_radio_map.py | 39 + libs/cloudapi/cloudsdk/test/test_alarm.py | 39 + .../cloudsdk/test/test_alarm_added_event.py | 39 + .../cloudsdk/test/test_alarm_changed_event.py | 39 + .../cloudapi/cloudsdk/test/test_alarm_code.py | 39 + .../cloudsdk/test/test_alarm_counts.py | 39 + .../cloudsdk/test/test_alarm_details.py | 39 + .../test/test_alarm_details_attributes_map.py | 39 + .../cloudsdk/test/test_alarm_removed_event.py | 39 + .../cloudsdk/test/test_alarm_scope_type.py | 39 + .../cloudapi/cloudsdk/test/test_alarms_api.py | 75 + .../cloudsdk/test/test_antenna_type.py | 39 + .../test/test_ap_element_configuration.py | 39 + .../cloudsdk/test/test_ap_mesh_mode.py | 39 + .../test/test_ap_network_configuration.py | 39 + ...est_ap_network_configuration_ntp_server.py | 39 + .../cloudsdk/test/test_ap_node_metrics.py | 39 + .../cloudsdk/test/test_ap_performance.py | 39 + .../cloudsdk/test/test_ap_ssid_metrics.py | 39 + .../test/test_auto_or_manual_string.py | 39 + .../test/test_auto_or_manual_value.py | 39 + .../cloudsdk/test/test_background_position.py | 39 + .../cloudsdk/test/test_background_repeat.py | 39 + .../cloudsdk/test/test_banned_channel.py | 39 + .../cloudsdk/test/test_base_dhcp_event.py | 39 + .../cloudsdk/test/test_best_ap_steer_type.py | 39 + .../cloudsdk/test/test_blocklist_details.py | 39 + .../test/test_bonjour_gateway_profile.py | 39 + .../cloudsdk/test/test_bonjour_service_set.py | 39 + .../cloudsdk/test/test_capacity_details.py | 39 + .../test/test_capacity_per_radio_details.py | 39 + .../test_capacity_per_radio_details_map.py | 39 + ...test_captive_portal_authentication_type.py | 39 + .../test/test_captive_portal_configuration.py | 39 + .../cloudsdk/test/test_channel_bandwidth.py | 39 + .../cloudsdk/test/test_channel_hop_reason.py | 39 + .../test/test_channel_hop_settings.py | 39 + .../cloudsdk/test/test_channel_info.py | 39 + .../test/test_channel_info_reports.py | 39 + .../cloudsdk/test/test_channel_power_level.py | 39 + .../test/test_channel_utilization_details.py | 39 + ...t_channel_utilization_per_radio_details.py | 39 + ...annel_utilization_per_radio_details_map.py | 39 + .../test_channel_utilization_survey_type.py | 39 + libs/cloudapi/cloudsdk/test/test_client.py | 39 + .../test_client_activity_aggregated_stats.py | 39 + ...ity_aggregated_stats_per_radio_type_map.py | 39 + .../cloudsdk/test/test_client_added_event.py | 39 + .../cloudsdk/test/test_client_assoc_event.py | 39 + .../cloudsdk/test/test_client_auth_event.py | 39 + .../test/test_client_changed_event.py | 39 + .../test/test_client_connect_success_event.py | 39 + .../test/test_client_connection_details.py | 39 + .../cloudsdk/test/test_client_dhcp_details.py | 39 + .../test/test_client_disconnect_event.py | 39 + .../cloudsdk/test/test_client_eap_details.py | 39 + .../test/test_client_failure_details.py | 39 + .../test/test_client_failure_event.py | 39 + .../test/test_client_first_data_event.py | 39 + .../cloudsdk/test/test_client_id_event.py | 39 + .../cloudsdk/test/test_client_info_details.py | 39 + .../test/test_client_ip_address_event.py | 39 + .../cloudsdk/test/test_client_metrics.py | 39 + .../test/test_client_removed_event.py | 39 + .../cloudsdk/test/test_client_session.py | 39 + .../test/test_client_session_changed_event.py | 39 + .../test/test_client_session_details.py | 39 + .../test_client_session_metric_details.py | 39 + .../test/test_client_session_removed_event.py | 39 + .../test/test_client_timeout_event.py | 39 + .../test/test_client_timeout_reason.py | 39 + .../cloudsdk/test/test_clients_api.py | 82 + .../test/test_common_probe_details.py | 39 + .../cloudsdk/test/test_country_code.py | 39 + .../test/test_counts_per_alarm_code_map.py | 39 + ...nts_per_equipment_id_per_alarm_code_map.py | 39 + libs/cloudapi/cloudsdk/test/test_customer.py | 39 + .../test/test_customer_added_event.py | 39 + .../cloudsdk/test/test_customer_api.py | 47 + .../test/test_customer_changed_event.py | 39 + .../cloudsdk/test/test_customer_details.py | 39 + .../test_customer_firmware_track_record.py | 39 + .../test_customer_firmware_track_settings.py | 39 + .../test_customer_portal_dashboard_status.py | 39 + .../test/test_customer_removed_event.py | 39 + .../test/test_daily_time_range_schedule.py | 39 + .../cloudsdk/test/test_day_of_week.py | 39 + .../test_days_of_week_time_range_schedule.py | 39 + .../cloudsdk/test/test_deployment_type.py | 39 + .../cloudsdk/test/test_detected_auth_mode.py | 39 + .../cloudsdk/test/test_device_mode.py | 39 + .../cloudsdk/test/test_dhcp_ack_event.py | 39 + .../cloudsdk/test/test_dhcp_decline_event.py | 39 + .../cloudsdk/test/test_dhcp_discover_event.py | 39 + .../cloudsdk/test/test_dhcp_inform_event.py | 39 + .../cloudsdk/test/test_dhcp_nak_event.py | 39 + .../cloudsdk/test/test_dhcp_offer_event.py | 39 + .../cloudsdk/test/test_dhcp_request_event.py | 39 + .../test/test_disconnect_frame_type.py | 39 + .../test/test_disconnect_initiator.py | 39 + .../cloudsdk/test/test_dns_probe_metric.py | 39 + .../cloudsdk/test/test_dynamic_vlan_mode.py | 39 + .../test/test_element_radio_configuration.py | 39 + ...ement_radio_configuration_eirp_tx_power.py | 39 + .../cloudsdk/test/test_empty_schedule.py | 39 + libs/cloudapi/cloudsdk/test/test_equipment.py | 39 + .../test/test_equipment_added_event.py | 39 + .../test/test_equipment_admin_status_data.py | 39 + .../cloudsdk/test/test_equipment_api.py | 96 + ...st_equipment_auto_provisioning_settings.py | 39 + .../test/test_equipment_capacity_details.py | 39 + .../test_equipment_capacity_details_map.py | 39 + .../test/test_equipment_changed_event.py | 39 + .../cloudsdk/test/test_equipment_details.py | 39 + .../test/test_equipment_gateway_api.py | 68 + .../test/test_equipment_gateway_record.py | 39 + .../test/test_equipment_lan_status_data.py | 39 + ...test_equipment_neighbouring_status_data.py | 39 + .../test/test_equipment_peer_status_data.py | 39 + ...equipment_per_radio_utilization_details.py | 39 + ...pment_per_radio_utilization_details_map.py | 39 + .../test_equipment_performance_details.py | 39 + .../test/test_equipment_protocol_state.py | 39 + .../test_equipment_protocol_status_data.py | 39 + .../test/test_equipment_removed_event.py | 39 + .../test/test_equipment_routing_record.py | 39 + .../test_equipment_rrm_bulk_update_item.py | 39 + ...ment_rrm_bulk_update_item_per_radio_map.py | 39 + .../test_equipment_rrm_bulk_update_request.py | 39 + .../test/test_equipment_scan_details.py | 39 + .../cloudsdk/test/test_equipment_type.py | 39 + .../test_equipment_upgrade_failure_reason.py | 39 + .../test/test_equipment_upgrade_state.py | 39 + .../test_equipment_upgrade_status_data.py | 39 + .../cloudsdk/test/test_ethernet_link_state.py | 39 + .../cloudsdk/test/test_file_category.py | 39 + .../cloudsdk/test/test_file_services_api.py | 47 + libs/cloudapi/cloudsdk/test/test_file_type.py | 39 + .../test/test_firmware_management_api.py | 173 + .../test/test_firmware_schedule_setting.py | 39 + .../test_firmware_track_assignment_details.py | 39 + .../test_firmware_track_assignment_record.py | 39 + .../test/test_firmware_track_record.py | 39 + .../test/test_firmware_validation_method.py | 39 + .../cloudsdk/test/test_firmware_version.py | 39 + .../cloudsdk/test/test_gateway_added_event.py | 39 + .../test/test_gateway_changed_event.py | 39 + .../test/test_gateway_removed_event.py | 39 + .../cloudsdk/test/test_gateway_type.py | 39 + .../cloudsdk/test/test_generic_response.py | 39 + .../test/test_gre_tunnel_configuration.py | 39 + .../cloudsdk/test/test_guard_interval.py | 39 + .../test/test_integer_per_radio_type_map.py | 39 + .../test/test_integer_per_status_code_map.py | 39 + .../test/test_integer_status_code_map.py | 39 + .../cloudsdk/test/test_integer_value_map.py | 39 + .../test/test_json_serialized_exception.py | 39 + .../test_link_quality_aggregated_stats.py | 39 + ...ity_aggregated_stats_per_radio_type_map.py | 39 + ...t_of_channel_info_reports_per_radio_map.py | 39 + .../test/test_list_of_macs_per_radio_map.py | 39 + .../test_list_of_mcs_stats_per_radio_map.py | 39 + ...list_of_radio_utilization_per_radio_map.py | 39 + ...t_list_of_ssid_statistics_per_radio_map.py | 39 + .../cloudsdk/test/test_local_time_value.py | 39 + libs/cloudapi/cloudsdk/test/test_location.py | 39 + .../test/test_location_activity_details.py | 39 + .../test_location_activity_details_map.py | 39 + .../test/test_location_added_event.py | 39 + .../cloudsdk/test/test_location_api.py | 75 + .../test/test_location_changed_event.py | 39 + .../cloudsdk/test/test_location_details.py | 39 + .../test/test_location_removed_event.py | 39 + libs/cloudapi/cloudsdk/test/test_login_api.py | 47 + .../test/test_long_per_radio_type_map.py | 39 + .../cloudsdk/test/test_long_value_map.py | 39 + .../cloudsdk/test/test_mac_address.py | 39 + .../test/test_mac_allowlist_record.py | 39 + .../cloudsdk/test/test_managed_file_info.py | 39 + .../cloudsdk/test/test_management_rate.py | 39 + .../test/test_manufacturer_details_record.py | 39 + .../test/test_manufacturer_oui_api.py | 131 + .../test/test_manufacturer_oui_details.py | 39 + ...st_manufacturer_oui_details_per_oui_map.py | 39 + ...st_map_of_wmm_queue_stats_per_radio_map.py | 39 + libs/cloudapi/cloudsdk/test/test_mcs_stats.py | 39 + libs/cloudapi/cloudsdk/test/test_mcs_type.py | 39 + .../cloudapi/cloudsdk/test/test_mesh_group.py | 39 + .../cloudsdk/test/test_mesh_group_member.py | 39 + .../cloudsdk/test/test_mesh_group_property.py | 39 + .../test/test_metric_config_parameter_map.py | 39 + libs/cloudapi/cloudsdk/test/test_mimo_mode.py | 39 + .../test/test_min_max_avg_value_int.py | 39 + ...est_min_max_avg_value_int_per_radio_map.py | 39 + .../cloudsdk/test/test_multicast_rate.py | 39 + .../test/test_neighbor_scan_packet_type.py | 39 + .../cloudsdk/test/test_neighbour_report.py | 39 + .../test/test_neighbour_scan_reports.py | 39 + ...test_neighbouring_ap_list_configuration.py | 39 + .../test/test_network_admin_status_data.py | 39 + .../test_network_aggregate_status_data.py | 39 + .../test/test_network_forward_mode.py | 39 + .../test/test_network_probe_metrics.py | 39 + .../cloudsdk/test/test_network_type.py | 39 + .../cloudsdk/test/test_noise_floor_details.py | 39 + .../test_noise_floor_per_radio_details.py | 39 + .../test_noise_floor_per_radio_details_map.py | 39 + .../cloudsdk/test/test_obss_hop_mode.py | 39 + .../test/test_one_of_equipment_details.py | 39 + .../test_one_of_firmware_schedule_setting.py | 39 + .../test_one_of_profile_details_children.py | 39 + .../test/test_one_of_schedule_setting.py | 39 + .../test_one_of_service_metric_details.py | 39 + .../test/test_one_of_status_details.py | 39 + .../cloudsdk/test/test_one_of_system_event.py | 39 + .../test/test_operating_system_performance.py | 39 + .../cloudsdk/test/test_originator_type.py | 39 + .../test/test_pagination_context_alarm.py | 39 + .../test/test_pagination_context_client.py | 39 + .../test_pagination_context_client_session.py | 39 + .../test/test_pagination_context_equipment.py | 39 + .../test/test_pagination_context_location.py | 39 + .../test_pagination_context_portal_user.py | 39 + .../test/test_pagination_context_profile.py | 39 + .../test_pagination_context_service_metric.py | 39 + .../test/test_pagination_context_status.py | 39 + .../test_pagination_context_system_event.py | 39 + .../test/test_pagination_response_alarm.py | 39 + .../test/test_pagination_response_client.py | 39 + ...test_pagination_response_client_session.py | 39 + .../test_pagination_response_equipment.py | 39 + .../test/test_pagination_response_location.py | 39 + .../test_pagination_response_portal_user.py | 39 + .../test/test_pagination_response_profile.py | 39 + ...test_pagination_response_service_metric.py | 39 + .../test/test_pagination_response_status.py | 39 + .../test_pagination_response_system_event.py | 39 + .../cloudsdk/test/test_pair_long_long.py | 39 + .../test_passpoint_access_network_type.py | 39 + ...int_connection_capabilities_ip_protocol.py | 39 + ...asspoint_connection_capabilities_status.py | 39 + .../test_passpoint_connection_capability.py | 39 + .../cloudsdk/test/test_passpoint_duple.py | 39 + .../test/test_passpoint_eap_methods.py | 39 + .../test_passpoint_gas_address3_behaviour.py | 39 + .../test/test_passpoint_i_pv4_address_type.py | 39 + .../test/test_passpoint_i_pv6_address_type.py | 39 + .../cloudsdk/test/test_passpoint_mcc_mnc.py | 39 + ...spoint_nai_realm_eap_auth_inner_non_eap.py | 39 + ...test_passpoint_nai_realm_eap_auth_param.py | 39 + .../test_passpoint_nai_realm_eap_cred_type.py | 39 + .../test/test_passpoint_nai_realm_encoding.py | 39 + .../test_passpoint_nai_realm_information.py | 39 + ...t_passpoint_network_authentication_type.py | 39 + .../test/test_passpoint_operator_profile.py | 39 + .../cloudsdk/test/test_passpoint_osu_icon.py | 39 + .../test_passpoint_osu_provider_profile.py | 39 + .../cloudsdk/test/test_passpoint_profile.py | 39 + .../test/test_passpoint_venue_name.py | 39 + .../test/test_passpoint_venue_profile.py | 39 + .../test_passpoint_venue_type_assignment.py | 39 + libs/cloudapi/cloudsdk/test/test_peer_info.py | 39 + .../test/test_per_process_utilization.py | 39 + .../cloudsdk/test/test_ping_response.py | 39 + .../cloudsdk/test/test_portal_user.py | 39 + .../test/test_portal_user_added_event.py | 39 + .../test/test_portal_user_changed_event.py | 39 + .../test/test_portal_user_removed_event.py | 39 + .../cloudsdk/test/test_portal_user_role.py | 39 + .../cloudsdk/test/test_portal_users_api.py | 89 + libs/cloudapi/cloudsdk/test/test_profile.py | 39 + .../cloudsdk/test/test_profile_added_event.py | 39 + .../cloudsdk/test/test_profile_api.py | 89 + .../test/test_profile_changed_event.py | 39 + .../cloudsdk/test/test_profile_details.py | 39 + .../test/test_profile_details_children.py | 39 + .../test/test_profile_removed_event.py | 39 + .../cloudsdk/test/test_profile_type.py | 39 + .../test_radio_based_ssid_configuration.py | 39 + ...test_radio_based_ssid_configuration_map.py | 39 + .../test/test_radio_best_ap_settings.py | 39 + .../test_radio_channel_change_settings.py | 39 + .../cloudsdk/test/test_radio_configuration.py | 39 + libs/cloudapi/cloudsdk/test/test_radio_map.py | 39 + .../cloudapi/cloudsdk/test/test_radio_mode.py | 39 + .../test/test_radio_profile_configuration.py | 39 + .../test_radio_profile_configuration_map.py | 39 + .../cloudsdk/test/test_radio_statistics.py | 39 + .../test_radio_statistics_per_radio_map.py | 39 + .../cloudapi/cloudsdk/test/test_radio_type.py | 39 + .../cloudsdk/test/test_radio_utilization.py | 39 + .../test/test_radio_utilization_details.py | 39 + ...est_radio_utilization_per_radio_details.py | 39 + ...radio_utilization_per_radio_details_map.py | 39 + .../test/test_radio_utilization_report.py | 39 + .../test/test_radius_authentication_method.py | 39 + .../cloudsdk/test/test_radius_details.py | 39 + .../cloudsdk/test/test_radius_metrics.py | 39 + .../test/test_radius_nas_configuration.py | 39 + .../cloudsdk/test/test_radius_profile.py | 39 + .../cloudsdk/test/test_radius_server.py | 39 + .../test/test_radius_server_details.py | 39 + .../cloudsdk/test/test_real_time_event.py | 39 + ...est_real_time_sip_call_event_with_stats.py | 39 + .../test_real_time_sip_call_report_event.py | 39 + .../test_real_time_sip_call_start_event.py | 39 + .../test_real_time_sip_call_stop_event.py | 39 + .../test_real_time_streaming_start_event.py | 39 + ...real_time_streaming_start_session_event.py | 39 + .../test_real_time_streaming_stop_event.py | 39 + .../test/test_realtime_channel_hop_event.py | 39 + .../cloudsdk/test/test_rf_config_map.py | 39 + .../cloudsdk/test/test_rf_configuration.py | 39 + .../test/test_rf_element_configuration.py | 39 + .../cloudsdk/test/test_routing_added_event.py | 39 + .../test/test_routing_changed_event.py | 39 + .../test/test_routing_removed_event.py | 39 + .../test/test_rrm_bulk_update_ap_details.py | 39 + .../cloudsdk/test/test_rtls_settings.py | 39 + .../cloudsdk/test/test_rtp_flow_direction.py | 39 + .../cloudsdk/test/test_rtp_flow_stats.py | 39 + .../cloudsdk/test/test_rtp_flow_type.py | 39 + .../cloudsdk/test/test_schedule_setting.py | 39 + .../cloudsdk/test/test_security_type.py | 39 + .../test/test_service_adoption_metrics.py | 39 + .../test/test_service_adoption_metrics_api.py | 75 + .../cloudsdk/test/test_service_metric.py | 39 + .../test_service_metric_config_parameters.py | 39 + .../test/test_service_metric_data_type.py | 39 + .../test/test_service_metric_details.py | 39 + ..._service_metric_radio_config_parameters.py | 39 + ...service_metric_survey_config_parameters.py | 39 + ...rvice_metrics_collection_config_profile.py | 39 + .../cloudsdk/test/test_session_expiry_type.py | 39 + .../test/test_sip_call_report_reason.py | 39 + .../test/test_sip_call_stop_reason.py | 39 + .../cloudsdk/test/test_sort_columns_alarm.py | 39 + .../cloudsdk/test/test_sort_columns_client.py | 39 + .../test/test_sort_columns_client_session.py | 39 + .../test/test_sort_columns_equipment.py | 39 + .../test/test_sort_columns_location.py | 39 + .../test/test_sort_columns_portal_user.py | 39 + .../test/test_sort_columns_profile.py | 39 + .../test/test_sort_columns_service_metric.py | 39 + .../cloudsdk/test/test_sort_columns_status.py | 39 + .../test/test_sort_columns_system_event.py | 39 + .../cloudapi/cloudsdk/test/test_sort_order.py | 39 + .../test/test_source_selection_management.py | 39 + .../test/test_source_selection_multicast.py | 39 + .../test/test_source_selection_steering.py | 39 + .../test/test_source_selection_value.py | 39 + .../cloudsdk/test/test_source_type.py | 39 + .../cloudsdk/test/test_ssid_configuration.py | 39 + .../cloudsdk/test/test_ssid_secure_mode.py | 39 + .../cloudsdk/test/test_ssid_statistics.py | 39 + .../cloudsdk/test/test_state_setting.py | 39 + .../cloudsdk/test/test_state_up_down_error.py | 39 + .../cloudsdk/test/test_stats_report_format.py | 39 + libs/cloudapi/cloudsdk/test/test_status.py | 39 + .../cloudapi/cloudsdk/test/test_status_api.py | 61 + .../test/test_status_changed_event.py | 39 + .../cloudsdk/test/test_status_code.py | 39 + .../cloudsdk/test/test_status_data_type.py | 39 + .../cloudsdk/test/test_status_details.py | 39 + .../test/test_status_removed_event.py | 39 + .../cloudapi/cloudsdk/test/test_steer_type.py | 39 + .../test_streaming_video_server_record.py | 39 + .../test/test_streaming_video_type.py | 39 + .../cloudsdk/test/test_syslog_relay.py | 39 + .../test/test_syslog_severity_type.py | 39 + .../cloudsdk/test/test_system_event.py | 39 + .../test/test_system_event_data_type.py | 39 + .../cloudsdk/test/test_system_event_record.py | 39 + .../cloudsdk/test/test_system_events_api.py | 40 + .../test/test_timed_access_user_details.py | 39 + .../test/test_timed_access_user_record.py | 39 + .../cloudapi/cloudsdk/test/test_track_flag.py | 39 + .../cloudsdk/test/test_traffic_details.py | 39 + .../test/test_traffic_per_radio_details.py | 39 + ...ic_per_radio_details_per_radio_type_map.py | 39 + .../cloudsdk/test/test_tunnel_indicator.py | 39 + .../cloudsdk/test/test_tunnel_metric_data.py | 39 + .../test/test_unserializable_system_event.py | 39 + .../cloudsdk/test/test_user_details.py | 39 + .../cloudsdk/test/test_vlan_status_data.py | 39 + .../test/test_vlan_status_data_map.py | 39 + .../cloudsdk/test/test_vlan_subnet.py | 39 + .../test/test_web_token_acl_template.py | 39 + .../cloudsdk/test/test_web_token_request.py | 39 + .../cloudsdk/test/test_web_token_result.py | 39 + .../cloudsdk/test/test_wep_auth_type.py | 39 + .../cloudsdk/test/test_wep_configuration.py | 39 + libs/cloudapi/cloudsdk/test/test_wep_key.py | 39 + libs/cloudapi/cloudsdk/test/test_wep_type.py | 39 + .../cloudsdk/test/test_wlan_reason_code.py | 39 + .../test/test_wlan_service_metrics_api.py | 40 + .../cloudsdk/test/test_wlan_status_code.py | 39 + .../cloudsdk/test/test_wmm_queue_stats.py | 39 + ...test_wmm_queue_stats_per_queue_type_map.py | 39 + .../cloudsdk/test/test_wmm_queue_type.py | 39 + libs/cloudapi/cloudsdk/tox.ini | 10 + tests/pytest_utility/conftest.py | 0 tests/pytest_utility/pytest.ini | 0 1239 files changed, 136953 insertions(+) create mode 100644 libs/cloudapi/cloud_utility/cloud_connectivity.py create mode 100644 libs/cloudapi/cloud_utility/cloudapi.py create mode 100644 libs/cloudapi/cloud_utility/equipment_utility.py create mode 100644 libs/cloudapi/cloudsdk/.gitignore create mode 100644 libs/cloudapi/cloudsdk/.idea/ cloudsdk.iml create mode 100644 libs/cloudapi/cloudsdk/.idea/inspectionProfiles/Project_Default.xml create mode 100644 libs/cloudapi/cloudsdk/.idea/inspectionProfiles/profiles_settings.xml create mode 100644 libs/cloudapi/cloudsdk/.idea/modules.xml create mode 100644 libs/cloudapi/cloudsdk/.idea/workspace.xml create mode 100644 libs/cloudapi/cloudsdk/.swagger-codegen-ignore create mode 100644 libs/cloudapi/cloudsdk/.swagger-codegen/VERSION create mode 100644 libs/cloudapi/cloudsdk/.travis.yml create mode 100644 libs/cloudapi/cloudsdk/README.md create mode 100644 libs/cloudapi/cloudsdk/docs/AclTemplate.md create mode 100644 libs/cloudapi/cloudsdk/docs/ActiveBSSID.md create mode 100644 libs/cloudapi/cloudsdk/docs/ActiveBSSIDs.md create mode 100644 libs/cloudapi/cloudsdk/docs/ActiveScanSettings.md create mode 100644 libs/cloudapi/cloudsdk/docs/AdvancedRadioMap.md create mode 100644 libs/cloudapi/cloudsdk/docs/Alarm.md create mode 100644 libs/cloudapi/cloudsdk/docs/AlarmAddedEvent.md create mode 100644 libs/cloudapi/cloudsdk/docs/AlarmChangedEvent.md create mode 100644 libs/cloudapi/cloudsdk/docs/AlarmCode.md create mode 100644 libs/cloudapi/cloudsdk/docs/AlarmCounts.md create mode 100644 libs/cloudapi/cloudsdk/docs/AlarmDetails.md create mode 100644 libs/cloudapi/cloudsdk/docs/AlarmDetailsAttributesMap.md create mode 100644 libs/cloudapi/cloudsdk/docs/AlarmRemovedEvent.md create mode 100644 libs/cloudapi/cloudsdk/docs/AlarmScopeType.md create mode 100644 libs/cloudapi/cloudsdk/docs/AlarmsApi.md create mode 100644 libs/cloudapi/cloudsdk/docs/AntennaType.md create mode 100644 libs/cloudapi/cloudsdk/docs/ApElementConfiguration.md create mode 100644 libs/cloudapi/cloudsdk/docs/ApMeshMode.md create mode 100644 libs/cloudapi/cloudsdk/docs/ApNetworkConfiguration.md create mode 100644 libs/cloudapi/cloudsdk/docs/ApNetworkConfigurationNtpServer.md create mode 100644 libs/cloudapi/cloudsdk/docs/ApNodeMetrics.md create mode 100644 libs/cloudapi/cloudsdk/docs/ApPerformance.md create mode 100644 libs/cloudapi/cloudsdk/docs/ApSsidMetrics.md create mode 100644 libs/cloudapi/cloudsdk/docs/AutoOrManualString.md create mode 100644 libs/cloudapi/cloudsdk/docs/AutoOrManualValue.md create mode 100644 libs/cloudapi/cloudsdk/docs/BackgroundPosition.md create mode 100644 libs/cloudapi/cloudsdk/docs/BackgroundRepeat.md create mode 100644 libs/cloudapi/cloudsdk/docs/BannedChannel.md create mode 100644 libs/cloudapi/cloudsdk/docs/BaseDhcpEvent.md create mode 100644 libs/cloudapi/cloudsdk/docs/BestAPSteerType.md create mode 100644 libs/cloudapi/cloudsdk/docs/BlocklistDetails.md create mode 100644 libs/cloudapi/cloudsdk/docs/BonjourGatewayProfile.md create mode 100644 libs/cloudapi/cloudsdk/docs/BonjourServiceSet.md create mode 100644 libs/cloudapi/cloudsdk/docs/CapacityDetails.md create mode 100644 libs/cloudapi/cloudsdk/docs/CapacityPerRadioDetails.md create mode 100644 libs/cloudapi/cloudsdk/docs/CapacityPerRadioDetailsMap.md create mode 100644 libs/cloudapi/cloudsdk/docs/CaptivePortalAuthenticationType.md create mode 100644 libs/cloudapi/cloudsdk/docs/CaptivePortalConfiguration.md create mode 100644 libs/cloudapi/cloudsdk/docs/ChannelBandwidth.md create mode 100644 libs/cloudapi/cloudsdk/docs/ChannelHopReason.md create mode 100644 libs/cloudapi/cloudsdk/docs/ChannelHopSettings.md create mode 100644 libs/cloudapi/cloudsdk/docs/ChannelInfo.md create mode 100644 libs/cloudapi/cloudsdk/docs/ChannelInfoReports.md create mode 100644 libs/cloudapi/cloudsdk/docs/ChannelPowerLevel.md create mode 100644 libs/cloudapi/cloudsdk/docs/ChannelUtilizationDetails.md create mode 100644 libs/cloudapi/cloudsdk/docs/ChannelUtilizationPerRadioDetails.md create mode 100644 libs/cloudapi/cloudsdk/docs/ChannelUtilizationPerRadioDetailsMap.md create mode 100644 libs/cloudapi/cloudsdk/docs/ChannelUtilizationSurveyType.md create mode 100644 libs/cloudapi/cloudsdk/docs/Client.md create mode 100644 libs/cloudapi/cloudsdk/docs/ClientActivityAggregatedStats.md create mode 100644 libs/cloudapi/cloudsdk/docs/ClientActivityAggregatedStatsPerRadioTypeMap.md create mode 100644 libs/cloudapi/cloudsdk/docs/ClientAddedEvent.md create mode 100644 libs/cloudapi/cloudsdk/docs/ClientAssocEvent.md create mode 100644 libs/cloudapi/cloudsdk/docs/ClientAuthEvent.md create mode 100644 libs/cloudapi/cloudsdk/docs/ClientChangedEvent.md create mode 100644 libs/cloudapi/cloudsdk/docs/ClientConnectSuccessEvent.md create mode 100644 libs/cloudapi/cloudsdk/docs/ClientConnectionDetails.md create mode 100644 libs/cloudapi/cloudsdk/docs/ClientDhcpDetails.md create mode 100644 libs/cloudapi/cloudsdk/docs/ClientDisconnectEvent.md create mode 100644 libs/cloudapi/cloudsdk/docs/ClientEapDetails.md create mode 100644 libs/cloudapi/cloudsdk/docs/ClientFailureDetails.md create mode 100644 libs/cloudapi/cloudsdk/docs/ClientFailureEvent.md create mode 100644 libs/cloudapi/cloudsdk/docs/ClientFirstDataEvent.md create mode 100644 libs/cloudapi/cloudsdk/docs/ClientIdEvent.md create mode 100644 libs/cloudapi/cloudsdk/docs/ClientInfoDetails.md create mode 100644 libs/cloudapi/cloudsdk/docs/ClientIpAddressEvent.md create mode 100644 libs/cloudapi/cloudsdk/docs/ClientMetrics.md create mode 100644 libs/cloudapi/cloudsdk/docs/ClientRemovedEvent.md create mode 100644 libs/cloudapi/cloudsdk/docs/ClientSession.md create mode 100644 libs/cloudapi/cloudsdk/docs/ClientSessionChangedEvent.md create mode 100644 libs/cloudapi/cloudsdk/docs/ClientSessionDetails.md create mode 100644 libs/cloudapi/cloudsdk/docs/ClientSessionMetricDetails.md create mode 100644 libs/cloudapi/cloudsdk/docs/ClientSessionRemovedEvent.md create mode 100644 libs/cloudapi/cloudsdk/docs/ClientTimeoutEvent.md create mode 100644 libs/cloudapi/cloudsdk/docs/ClientTimeoutReason.md create mode 100644 libs/cloudapi/cloudsdk/docs/ClientsApi.md create mode 100644 libs/cloudapi/cloudsdk/docs/CommonProbeDetails.md create mode 100644 libs/cloudapi/cloudsdk/docs/CountryCode.md create mode 100644 libs/cloudapi/cloudsdk/docs/CountsPerAlarmCodeMap.md create mode 100644 libs/cloudapi/cloudsdk/docs/CountsPerEquipmentIdPerAlarmCodeMap.md create mode 100644 libs/cloudapi/cloudsdk/docs/Customer.md create mode 100644 libs/cloudapi/cloudsdk/docs/CustomerAddedEvent.md create mode 100644 libs/cloudapi/cloudsdk/docs/CustomerApi.md create mode 100644 libs/cloudapi/cloudsdk/docs/CustomerChangedEvent.md create mode 100644 libs/cloudapi/cloudsdk/docs/CustomerDetails.md create mode 100644 libs/cloudapi/cloudsdk/docs/CustomerFirmwareTrackRecord.md create mode 100644 libs/cloudapi/cloudsdk/docs/CustomerFirmwareTrackSettings.md create mode 100644 libs/cloudapi/cloudsdk/docs/CustomerPortalDashboardStatus.md create mode 100644 libs/cloudapi/cloudsdk/docs/CustomerRemovedEvent.md create mode 100644 libs/cloudapi/cloudsdk/docs/DailyTimeRangeSchedule.md create mode 100644 libs/cloudapi/cloudsdk/docs/DayOfWeek.md create mode 100644 libs/cloudapi/cloudsdk/docs/DaysOfWeekTimeRangeSchedule.md create mode 100644 libs/cloudapi/cloudsdk/docs/DeploymentType.md create mode 100644 libs/cloudapi/cloudsdk/docs/DetectedAuthMode.md create mode 100644 libs/cloudapi/cloudsdk/docs/DeviceMode.md create mode 100644 libs/cloudapi/cloudsdk/docs/DhcpAckEvent.md create mode 100644 libs/cloudapi/cloudsdk/docs/DhcpDeclineEvent.md create mode 100644 libs/cloudapi/cloudsdk/docs/DhcpDiscoverEvent.md create mode 100644 libs/cloudapi/cloudsdk/docs/DhcpInformEvent.md create mode 100644 libs/cloudapi/cloudsdk/docs/DhcpNakEvent.md create mode 100644 libs/cloudapi/cloudsdk/docs/DhcpOfferEvent.md create mode 100644 libs/cloudapi/cloudsdk/docs/DhcpRequestEvent.md create mode 100644 libs/cloudapi/cloudsdk/docs/DisconnectFrameType.md create mode 100644 libs/cloudapi/cloudsdk/docs/DisconnectInitiator.md create mode 100644 libs/cloudapi/cloudsdk/docs/DnsProbeMetric.md create mode 100644 libs/cloudapi/cloudsdk/docs/DynamicVlanMode.md create mode 100644 libs/cloudapi/cloudsdk/docs/ElementRadioConfiguration.md create mode 100644 libs/cloudapi/cloudsdk/docs/ElementRadioConfigurationEirpTxPower.md create mode 100644 libs/cloudapi/cloudsdk/docs/EmptySchedule.md create mode 100644 libs/cloudapi/cloudsdk/docs/Equipment.md create mode 100644 libs/cloudapi/cloudsdk/docs/EquipmentAddedEvent.md create mode 100644 libs/cloudapi/cloudsdk/docs/EquipmentAdminStatusData.md create mode 100644 libs/cloudapi/cloudsdk/docs/EquipmentApi.md create mode 100644 libs/cloudapi/cloudsdk/docs/EquipmentAutoProvisioningSettings.md create mode 100644 libs/cloudapi/cloudsdk/docs/EquipmentCapacityDetails.md create mode 100644 libs/cloudapi/cloudsdk/docs/EquipmentCapacityDetailsMap.md create mode 100644 libs/cloudapi/cloudsdk/docs/EquipmentChangedEvent.md create mode 100644 libs/cloudapi/cloudsdk/docs/EquipmentDetails.md create mode 100644 libs/cloudapi/cloudsdk/docs/EquipmentGatewayApi.md create mode 100644 libs/cloudapi/cloudsdk/docs/EquipmentGatewayRecord.md create mode 100644 libs/cloudapi/cloudsdk/docs/EquipmentLANStatusData.md create mode 100644 libs/cloudapi/cloudsdk/docs/EquipmentNeighbouringStatusData.md create mode 100644 libs/cloudapi/cloudsdk/docs/EquipmentPeerStatusData.md create mode 100644 libs/cloudapi/cloudsdk/docs/EquipmentPerRadioUtilizationDetails.md create mode 100644 libs/cloudapi/cloudsdk/docs/EquipmentPerRadioUtilizationDetailsMap.md create mode 100644 libs/cloudapi/cloudsdk/docs/EquipmentPerformanceDetails.md create mode 100644 libs/cloudapi/cloudsdk/docs/EquipmentProtocolState.md create mode 100644 libs/cloudapi/cloudsdk/docs/EquipmentProtocolStatusData.md create mode 100644 libs/cloudapi/cloudsdk/docs/EquipmentRemovedEvent.md create mode 100644 libs/cloudapi/cloudsdk/docs/EquipmentRoutingRecord.md create mode 100644 libs/cloudapi/cloudsdk/docs/EquipmentRrmBulkUpdateItem.md create mode 100644 libs/cloudapi/cloudsdk/docs/EquipmentRrmBulkUpdateItemPerRadioMap.md create mode 100644 libs/cloudapi/cloudsdk/docs/EquipmentRrmBulkUpdateRequest.md create mode 100644 libs/cloudapi/cloudsdk/docs/EquipmentScanDetails.md create mode 100644 libs/cloudapi/cloudsdk/docs/EquipmentType.md create mode 100644 libs/cloudapi/cloudsdk/docs/EquipmentUpgradeFailureReason.md create mode 100644 libs/cloudapi/cloudsdk/docs/EquipmentUpgradeState.md create mode 100644 libs/cloudapi/cloudsdk/docs/EquipmentUpgradeStatusData.md create mode 100644 libs/cloudapi/cloudsdk/docs/EthernetLinkState.md create mode 100644 libs/cloudapi/cloudsdk/docs/FileCategory.md create mode 100644 libs/cloudapi/cloudsdk/docs/FileServicesApi.md create mode 100644 libs/cloudapi/cloudsdk/docs/FileType.md create mode 100644 libs/cloudapi/cloudsdk/docs/FirmwareManagementApi.md create mode 100644 libs/cloudapi/cloudsdk/docs/FirmwareScheduleSetting.md create mode 100644 libs/cloudapi/cloudsdk/docs/FirmwareTrackAssignmentDetails.md create mode 100644 libs/cloudapi/cloudsdk/docs/FirmwareTrackAssignmentRecord.md create mode 100644 libs/cloudapi/cloudsdk/docs/FirmwareTrackRecord.md create mode 100644 libs/cloudapi/cloudsdk/docs/FirmwareValidationMethod.md create mode 100644 libs/cloudapi/cloudsdk/docs/FirmwareVersion.md create mode 100644 libs/cloudapi/cloudsdk/docs/GatewayAddedEvent.md create mode 100644 libs/cloudapi/cloudsdk/docs/GatewayChangedEvent.md create mode 100644 libs/cloudapi/cloudsdk/docs/GatewayRemovedEvent.md create mode 100644 libs/cloudapi/cloudsdk/docs/GatewayType.md create mode 100644 libs/cloudapi/cloudsdk/docs/GenericResponse.md create mode 100644 libs/cloudapi/cloudsdk/docs/GreTunnelConfiguration.md create mode 100644 libs/cloudapi/cloudsdk/docs/GuardInterval.md create mode 100644 libs/cloudapi/cloudsdk/docs/IntegerPerRadioTypeMap.md create mode 100644 libs/cloudapi/cloudsdk/docs/IntegerPerStatusCodeMap.md create mode 100644 libs/cloudapi/cloudsdk/docs/IntegerStatusCodeMap.md create mode 100644 libs/cloudapi/cloudsdk/docs/IntegerValueMap.md create mode 100644 libs/cloudapi/cloudsdk/docs/JsonSerializedException.md create mode 100644 libs/cloudapi/cloudsdk/docs/LinkQualityAggregatedStats.md create mode 100644 libs/cloudapi/cloudsdk/docs/LinkQualityAggregatedStatsPerRadioTypeMap.md create mode 100644 libs/cloudapi/cloudsdk/docs/ListOfChannelInfoReportsPerRadioMap.md create mode 100644 libs/cloudapi/cloudsdk/docs/ListOfMacsPerRadioMap.md create mode 100644 libs/cloudapi/cloudsdk/docs/ListOfMcsStatsPerRadioMap.md create mode 100644 libs/cloudapi/cloudsdk/docs/ListOfRadioUtilizationPerRadioMap.md create mode 100644 libs/cloudapi/cloudsdk/docs/ListOfSsidStatisticsPerRadioMap.md create mode 100644 libs/cloudapi/cloudsdk/docs/LocalTimeValue.md create mode 100644 libs/cloudapi/cloudsdk/docs/Location.md create mode 100644 libs/cloudapi/cloudsdk/docs/LocationActivityDetails.md create mode 100644 libs/cloudapi/cloudsdk/docs/LocationActivityDetailsMap.md create mode 100644 libs/cloudapi/cloudsdk/docs/LocationAddedEvent.md create mode 100644 libs/cloudapi/cloudsdk/docs/LocationApi.md create mode 100644 libs/cloudapi/cloudsdk/docs/LocationChangedEvent.md create mode 100644 libs/cloudapi/cloudsdk/docs/LocationDetails.md create mode 100644 libs/cloudapi/cloudsdk/docs/LocationRemovedEvent.md create mode 100644 libs/cloudapi/cloudsdk/docs/LoginApi.md create mode 100644 libs/cloudapi/cloudsdk/docs/LongPerRadioTypeMap.md create mode 100644 libs/cloudapi/cloudsdk/docs/LongValueMap.md create mode 100644 libs/cloudapi/cloudsdk/docs/MacAddress.md create mode 100644 libs/cloudapi/cloudsdk/docs/MacAllowlistRecord.md create mode 100644 libs/cloudapi/cloudsdk/docs/ManagedFileInfo.md create mode 100644 libs/cloudapi/cloudsdk/docs/ManagementRate.md create mode 100644 libs/cloudapi/cloudsdk/docs/ManufacturerDetailsRecord.md create mode 100644 libs/cloudapi/cloudsdk/docs/ManufacturerOUIApi.md create mode 100644 libs/cloudapi/cloudsdk/docs/ManufacturerOuiDetails.md create mode 100644 libs/cloudapi/cloudsdk/docs/ManufacturerOuiDetailsPerOuiMap.md create mode 100644 libs/cloudapi/cloudsdk/docs/MapOfWmmQueueStatsPerRadioMap.md create mode 100644 libs/cloudapi/cloudsdk/docs/McsStats.md create mode 100644 libs/cloudapi/cloudsdk/docs/McsType.md create mode 100644 libs/cloudapi/cloudsdk/docs/MeshGroup.md create mode 100644 libs/cloudapi/cloudsdk/docs/MeshGroupMember.md create mode 100644 libs/cloudapi/cloudsdk/docs/MeshGroupProperty.md create mode 100644 libs/cloudapi/cloudsdk/docs/MetricConfigParameterMap.md create mode 100644 libs/cloudapi/cloudsdk/docs/MimoMode.md create mode 100644 libs/cloudapi/cloudsdk/docs/MinMaxAvgValueInt.md create mode 100644 libs/cloudapi/cloudsdk/docs/MinMaxAvgValueIntPerRadioMap.md create mode 100644 libs/cloudapi/cloudsdk/docs/MulticastRate.md create mode 100644 libs/cloudapi/cloudsdk/docs/NeighborScanPacketType.md create mode 100644 libs/cloudapi/cloudsdk/docs/NeighbourReport.md create mode 100644 libs/cloudapi/cloudsdk/docs/NeighbourScanReports.md create mode 100644 libs/cloudapi/cloudsdk/docs/NeighbouringAPListConfiguration.md create mode 100644 libs/cloudapi/cloudsdk/docs/NetworkAdminStatusData.md create mode 100644 libs/cloudapi/cloudsdk/docs/NetworkAggregateStatusData.md create mode 100644 libs/cloudapi/cloudsdk/docs/NetworkForwardMode.md create mode 100644 libs/cloudapi/cloudsdk/docs/NetworkProbeMetrics.md create mode 100644 libs/cloudapi/cloudsdk/docs/NetworkType.md create mode 100644 libs/cloudapi/cloudsdk/docs/NoiseFloorDetails.md create mode 100644 libs/cloudapi/cloudsdk/docs/NoiseFloorPerRadioDetails.md create mode 100644 libs/cloudapi/cloudsdk/docs/NoiseFloorPerRadioDetailsMap.md create mode 100644 libs/cloudapi/cloudsdk/docs/ObssHopMode.md create mode 100644 libs/cloudapi/cloudsdk/docs/OneOfEquipmentDetails.md create mode 100644 libs/cloudapi/cloudsdk/docs/OneOfFirmwareScheduleSetting.md create mode 100644 libs/cloudapi/cloudsdk/docs/OneOfProfileDetailsChildren.md create mode 100644 libs/cloudapi/cloudsdk/docs/OneOfScheduleSetting.md create mode 100644 libs/cloudapi/cloudsdk/docs/OneOfServiceMetricDetails.md create mode 100644 libs/cloudapi/cloudsdk/docs/OneOfStatusDetails.md create mode 100644 libs/cloudapi/cloudsdk/docs/OneOfSystemEvent.md create mode 100644 libs/cloudapi/cloudsdk/docs/OperatingSystemPerformance.md create mode 100644 libs/cloudapi/cloudsdk/docs/OriginatorType.md create mode 100644 libs/cloudapi/cloudsdk/docs/PaginationContextAlarm.md create mode 100644 libs/cloudapi/cloudsdk/docs/PaginationContextClient.md create mode 100644 libs/cloudapi/cloudsdk/docs/PaginationContextClientSession.md create mode 100644 libs/cloudapi/cloudsdk/docs/PaginationContextEquipment.md create mode 100644 libs/cloudapi/cloudsdk/docs/PaginationContextLocation.md create mode 100644 libs/cloudapi/cloudsdk/docs/PaginationContextPortalUser.md create mode 100644 libs/cloudapi/cloudsdk/docs/PaginationContextProfile.md create mode 100644 libs/cloudapi/cloudsdk/docs/PaginationContextServiceMetric.md create mode 100644 libs/cloudapi/cloudsdk/docs/PaginationContextStatus.md create mode 100644 libs/cloudapi/cloudsdk/docs/PaginationContextSystemEvent.md create mode 100644 libs/cloudapi/cloudsdk/docs/PaginationResponseAlarm.md create mode 100644 libs/cloudapi/cloudsdk/docs/PaginationResponseClient.md create mode 100644 libs/cloudapi/cloudsdk/docs/PaginationResponseClientSession.md create mode 100644 libs/cloudapi/cloudsdk/docs/PaginationResponseEquipment.md create mode 100644 libs/cloudapi/cloudsdk/docs/PaginationResponseLocation.md create mode 100644 libs/cloudapi/cloudsdk/docs/PaginationResponsePortalUser.md create mode 100644 libs/cloudapi/cloudsdk/docs/PaginationResponseProfile.md create mode 100644 libs/cloudapi/cloudsdk/docs/PaginationResponseServiceMetric.md create mode 100644 libs/cloudapi/cloudsdk/docs/PaginationResponseStatus.md create mode 100644 libs/cloudapi/cloudsdk/docs/PaginationResponseSystemEvent.md create mode 100644 libs/cloudapi/cloudsdk/docs/PairLongLong.md create mode 100644 libs/cloudapi/cloudsdk/docs/PasspointAccessNetworkType.md create mode 100644 libs/cloudapi/cloudsdk/docs/PasspointConnectionCapabilitiesIpProtocol.md create mode 100644 libs/cloudapi/cloudsdk/docs/PasspointConnectionCapabilitiesStatus.md create mode 100644 libs/cloudapi/cloudsdk/docs/PasspointConnectionCapability.md create mode 100644 libs/cloudapi/cloudsdk/docs/PasspointDuple.md create mode 100644 libs/cloudapi/cloudsdk/docs/PasspointEapMethods.md create mode 100644 libs/cloudapi/cloudsdk/docs/PasspointGasAddress3Behaviour.md create mode 100644 libs/cloudapi/cloudsdk/docs/PasspointIPv4AddressType.md create mode 100644 libs/cloudapi/cloudsdk/docs/PasspointIPv6AddressType.md create mode 100644 libs/cloudapi/cloudsdk/docs/PasspointMccMnc.md create mode 100644 libs/cloudapi/cloudsdk/docs/PasspointNaiRealmEapAuthInnerNonEap.md create mode 100644 libs/cloudapi/cloudsdk/docs/PasspointNaiRealmEapAuthParam.md create mode 100644 libs/cloudapi/cloudsdk/docs/PasspointNaiRealmEapCredType.md create mode 100644 libs/cloudapi/cloudsdk/docs/PasspointNaiRealmEncoding.md create mode 100644 libs/cloudapi/cloudsdk/docs/PasspointNaiRealmInformation.md create mode 100644 libs/cloudapi/cloudsdk/docs/PasspointNetworkAuthenticationType.md create mode 100644 libs/cloudapi/cloudsdk/docs/PasspointOperatorProfile.md create mode 100644 libs/cloudapi/cloudsdk/docs/PasspointOsuIcon.md create mode 100644 libs/cloudapi/cloudsdk/docs/PasspointOsuProviderProfile.md create mode 100644 libs/cloudapi/cloudsdk/docs/PasspointProfile.md create mode 100644 libs/cloudapi/cloudsdk/docs/PasspointVenueName.md create mode 100644 libs/cloudapi/cloudsdk/docs/PasspointVenueProfile.md create mode 100644 libs/cloudapi/cloudsdk/docs/PasspointVenueTypeAssignment.md create mode 100644 libs/cloudapi/cloudsdk/docs/PeerInfo.md create mode 100644 libs/cloudapi/cloudsdk/docs/PerProcessUtilization.md create mode 100644 libs/cloudapi/cloudsdk/docs/PingResponse.md create mode 100644 libs/cloudapi/cloudsdk/docs/PortalUser.md create mode 100644 libs/cloudapi/cloudsdk/docs/PortalUserAddedEvent.md create mode 100644 libs/cloudapi/cloudsdk/docs/PortalUserChangedEvent.md create mode 100644 libs/cloudapi/cloudsdk/docs/PortalUserRemovedEvent.md create mode 100644 libs/cloudapi/cloudsdk/docs/PortalUserRole.md create mode 100644 libs/cloudapi/cloudsdk/docs/PortalUsersApi.md create mode 100644 libs/cloudapi/cloudsdk/docs/Profile.md create mode 100644 libs/cloudapi/cloudsdk/docs/ProfileAddedEvent.md create mode 100644 libs/cloudapi/cloudsdk/docs/ProfileApi.md create mode 100644 libs/cloudapi/cloudsdk/docs/ProfileChangedEvent.md create mode 100644 libs/cloudapi/cloudsdk/docs/ProfileDetails.md create mode 100644 libs/cloudapi/cloudsdk/docs/ProfileDetailsChildren.md create mode 100644 libs/cloudapi/cloudsdk/docs/ProfileRemovedEvent.md create mode 100644 libs/cloudapi/cloudsdk/docs/ProfileType.md create mode 100644 libs/cloudapi/cloudsdk/docs/RadioBasedSsidConfiguration.md create mode 100644 libs/cloudapi/cloudsdk/docs/RadioBasedSsidConfigurationMap.md create mode 100644 libs/cloudapi/cloudsdk/docs/RadioBestApSettings.md create mode 100644 libs/cloudapi/cloudsdk/docs/RadioChannelChangeSettings.md create mode 100644 libs/cloudapi/cloudsdk/docs/RadioConfiguration.md create mode 100644 libs/cloudapi/cloudsdk/docs/RadioMap.md create mode 100644 libs/cloudapi/cloudsdk/docs/RadioMode.md create mode 100644 libs/cloudapi/cloudsdk/docs/RadioProfileConfiguration.md create mode 100644 libs/cloudapi/cloudsdk/docs/RadioProfileConfigurationMap.md create mode 100644 libs/cloudapi/cloudsdk/docs/RadioStatistics.md create mode 100644 libs/cloudapi/cloudsdk/docs/RadioStatisticsPerRadioMap.md create mode 100644 libs/cloudapi/cloudsdk/docs/RadioType.md create mode 100644 libs/cloudapi/cloudsdk/docs/RadioUtilization.md create mode 100644 libs/cloudapi/cloudsdk/docs/RadioUtilizationDetails.md create mode 100644 libs/cloudapi/cloudsdk/docs/RadioUtilizationPerRadioDetails.md create mode 100644 libs/cloudapi/cloudsdk/docs/RadioUtilizationPerRadioDetailsMap.md create mode 100644 libs/cloudapi/cloudsdk/docs/RadioUtilizationReport.md create mode 100644 libs/cloudapi/cloudsdk/docs/RadiusAuthenticationMethod.md create mode 100644 libs/cloudapi/cloudsdk/docs/RadiusDetails.md create mode 100644 libs/cloudapi/cloudsdk/docs/RadiusMetrics.md create mode 100644 libs/cloudapi/cloudsdk/docs/RadiusNasConfiguration.md create mode 100644 libs/cloudapi/cloudsdk/docs/RadiusProfile.md create mode 100644 libs/cloudapi/cloudsdk/docs/RadiusServer.md create mode 100644 libs/cloudapi/cloudsdk/docs/RadiusServerDetails.md create mode 100644 libs/cloudapi/cloudsdk/docs/RealTimeEvent.md create mode 100644 libs/cloudapi/cloudsdk/docs/RealTimeSipCallEventWithStats.md create mode 100644 libs/cloudapi/cloudsdk/docs/RealTimeSipCallReportEvent.md create mode 100644 libs/cloudapi/cloudsdk/docs/RealTimeSipCallStartEvent.md create mode 100644 libs/cloudapi/cloudsdk/docs/RealTimeSipCallStopEvent.md create mode 100644 libs/cloudapi/cloudsdk/docs/RealTimeStreamingStartEvent.md create mode 100644 libs/cloudapi/cloudsdk/docs/RealTimeStreamingStartSessionEvent.md create mode 100644 libs/cloudapi/cloudsdk/docs/RealTimeStreamingStopEvent.md create mode 100644 libs/cloudapi/cloudsdk/docs/RealtimeChannelHopEvent.md create mode 100644 libs/cloudapi/cloudsdk/docs/RfConfigMap.md create mode 100644 libs/cloudapi/cloudsdk/docs/RfConfiguration.md create mode 100644 libs/cloudapi/cloudsdk/docs/RfElementConfiguration.md create mode 100644 libs/cloudapi/cloudsdk/docs/RoutingAddedEvent.md create mode 100644 libs/cloudapi/cloudsdk/docs/RoutingChangedEvent.md create mode 100644 libs/cloudapi/cloudsdk/docs/RoutingRemovedEvent.md create mode 100644 libs/cloudapi/cloudsdk/docs/RrmBulkUpdateApDetails.md create mode 100644 libs/cloudapi/cloudsdk/docs/RtlsSettings.md create mode 100644 libs/cloudapi/cloudsdk/docs/RtpFlowDirection.md create mode 100644 libs/cloudapi/cloudsdk/docs/RtpFlowStats.md create mode 100644 libs/cloudapi/cloudsdk/docs/RtpFlowType.md create mode 100644 libs/cloudapi/cloudsdk/docs/SIPCallReportReason.md create mode 100644 libs/cloudapi/cloudsdk/docs/ScheduleSetting.md create mode 100644 libs/cloudapi/cloudsdk/docs/SecurityType.md create mode 100644 libs/cloudapi/cloudsdk/docs/ServiceAdoptionMetrics.md create mode 100644 libs/cloudapi/cloudsdk/docs/ServiceAdoptionMetricsApi.md create mode 100644 libs/cloudapi/cloudsdk/docs/ServiceMetric.md create mode 100644 libs/cloudapi/cloudsdk/docs/ServiceMetricConfigParameters.md create mode 100644 libs/cloudapi/cloudsdk/docs/ServiceMetricDataType.md create mode 100644 libs/cloudapi/cloudsdk/docs/ServiceMetricDetails.md create mode 100644 libs/cloudapi/cloudsdk/docs/ServiceMetricRadioConfigParameters.md create mode 100644 libs/cloudapi/cloudsdk/docs/ServiceMetricSurveyConfigParameters.md create mode 100644 libs/cloudapi/cloudsdk/docs/ServiceMetricsCollectionConfigProfile.md create mode 100644 libs/cloudapi/cloudsdk/docs/SessionExpiryType.md create mode 100644 libs/cloudapi/cloudsdk/docs/SipCallStopReason.md create mode 100644 libs/cloudapi/cloudsdk/docs/SortColumnsAlarm.md create mode 100644 libs/cloudapi/cloudsdk/docs/SortColumnsClient.md create mode 100644 libs/cloudapi/cloudsdk/docs/SortColumnsClientSession.md create mode 100644 libs/cloudapi/cloudsdk/docs/SortColumnsEquipment.md create mode 100644 libs/cloudapi/cloudsdk/docs/SortColumnsLocation.md create mode 100644 libs/cloudapi/cloudsdk/docs/SortColumnsPortalUser.md create mode 100644 libs/cloudapi/cloudsdk/docs/SortColumnsProfile.md create mode 100644 libs/cloudapi/cloudsdk/docs/SortColumnsServiceMetric.md create mode 100644 libs/cloudapi/cloudsdk/docs/SortColumnsStatus.md create mode 100644 libs/cloudapi/cloudsdk/docs/SortColumnsSystemEvent.md create mode 100644 libs/cloudapi/cloudsdk/docs/SortOrder.md create mode 100644 libs/cloudapi/cloudsdk/docs/SourceSelectionManagement.md create mode 100644 libs/cloudapi/cloudsdk/docs/SourceSelectionMulticast.md create mode 100644 libs/cloudapi/cloudsdk/docs/SourceSelectionSteering.md create mode 100644 libs/cloudapi/cloudsdk/docs/SourceSelectionValue.md create mode 100644 libs/cloudapi/cloudsdk/docs/SourceType.md create mode 100644 libs/cloudapi/cloudsdk/docs/SsidConfiguration.md create mode 100644 libs/cloudapi/cloudsdk/docs/SsidSecureMode.md create mode 100644 libs/cloudapi/cloudsdk/docs/SsidStatistics.md create mode 100644 libs/cloudapi/cloudsdk/docs/StateSetting.md create mode 100644 libs/cloudapi/cloudsdk/docs/StateUpDownError.md create mode 100644 libs/cloudapi/cloudsdk/docs/StatsReportFormat.md create mode 100644 libs/cloudapi/cloudsdk/docs/Status.md create mode 100644 libs/cloudapi/cloudsdk/docs/StatusApi.md create mode 100644 libs/cloudapi/cloudsdk/docs/StatusChangedEvent.md create mode 100644 libs/cloudapi/cloudsdk/docs/StatusCode.md create mode 100644 libs/cloudapi/cloudsdk/docs/StatusDataType.md create mode 100644 libs/cloudapi/cloudsdk/docs/StatusDetails.md create mode 100644 libs/cloudapi/cloudsdk/docs/StatusRemovedEvent.md create mode 100644 libs/cloudapi/cloudsdk/docs/SteerType.md create mode 100644 libs/cloudapi/cloudsdk/docs/StreamingVideoServerRecord.md create mode 100644 libs/cloudapi/cloudsdk/docs/StreamingVideoType.md create mode 100644 libs/cloudapi/cloudsdk/docs/SyslogRelay.md create mode 100644 libs/cloudapi/cloudsdk/docs/SyslogSeverityType.md create mode 100644 libs/cloudapi/cloudsdk/docs/SystemEvent.md create mode 100644 libs/cloudapi/cloudsdk/docs/SystemEventDataType.md create mode 100644 libs/cloudapi/cloudsdk/docs/SystemEventRecord.md create mode 100644 libs/cloudapi/cloudsdk/docs/SystemEventsApi.md create mode 100644 libs/cloudapi/cloudsdk/docs/TimedAccessUserDetails.md create mode 100644 libs/cloudapi/cloudsdk/docs/TimedAccessUserRecord.md create mode 100644 libs/cloudapi/cloudsdk/docs/TrackFlag.md create mode 100644 libs/cloudapi/cloudsdk/docs/TrafficDetails.md create mode 100644 libs/cloudapi/cloudsdk/docs/TrafficPerRadioDetails.md create mode 100644 libs/cloudapi/cloudsdk/docs/TrafficPerRadioDetailsPerRadioTypeMap.md create mode 100644 libs/cloudapi/cloudsdk/docs/TunnelIndicator.md create mode 100644 libs/cloudapi/cloudsdk/docs/TunnelMetricData.md create mode 100644 libs/cloudapi/cloudsdk/docs/UnserializableSystemEvent.md create mode 100644 libs/cloudapi/cloudsdk/docs/UserDetails.md create mode 100644 libs/cloudapi/cloudsdk/docs/VLANStatusData.md create mode 100644 libs/cloudapi/cloudsdk/docs/VLANStatusDataMap.md create mode 100644 libs/cloudapi/cloudsdk/docs/VlanSubnet.md create mode 100644 libs/cloudapi/cloudsdk/docs/WLANServiceMetricsApi.md create mode 100644 libs/cloudapi/cloudsdk/docs/WebTokenAclTemplate.md create mode 100644 libs/cloudapi/cloudsdk/docs/WebTokenRequest.md create mode 100644 libs/cloudapi/cloudsdk/docs/WebTokenResult.md create mode 100644 libs/cloudapi/cloudsdk/docs/WepAuthType.md create mode 100644 libs/cloudapi/cloudsdk/docs/WepConfiguration.md create mode 100644 libs/cloudapi/cloudsdk/docs/WepKey.md create mode 100644 libs/cloudapi/cloudsdk/docs/WepType.md create mode 100644 libs/cloudapi/cloudsdk/docs/WlanReasonCode.md create mode 100644 libs/cloudapi/cloudsdk/docs/WlanStatusCode.md create mode 100644 libs/cloudapi/cloudsdk/docs/WmmQueueStats.md create mode 100644 libs/cloudapi/cloudsdk/docs/WmmQueueStatsPerQueueTypeMap.md create mode 100644 libs/cloudapi/cloudsdk/docs/WmmQueueType.md create mode 100644 libs/cloudapi/cloudsdk/git_push.sh create mode 100644 libs/cloudapi/cloudsdk/requirements.txt create mode 100644 libs/cloudapi/cloudsdk/setup.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/__init__.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/api/__init__.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/api/alarms_api.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/api/clients_api.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/api/customer_api.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/api/equipment_api.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/api/equipment_gateway_api.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/api/file_services_api.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/api/firmware_management_api.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/api/location_api.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/api/login_api.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/api/manufacturer_oui_api.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/api/portal_users_api.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/api/profile_api.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/api/service_adoption_metrics_api.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/api/status_api.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/api/system_events_api.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/api/wlan_service_metrics_api.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/api_client.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/configuration.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/__init__.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/acl_template.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/active_bssi_ds.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/active_bssid.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/active_scan_settings.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/advanced_radio_map.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/alarm.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/alarm_added_event.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/alarm_changed_event.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/alarm_code.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/alarm_counts.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/alarm_details.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/alarm_details_attributes_map.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/alarm_removed_event.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/alarm_scope_type.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/antenna_type.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/ap_element_configuration.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/ap_mesh_mode.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/ap_network_configuration.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/ap_network_configuration_ntp_server.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/ap_node_metrics.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/ap_performance.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/ap_ssid_metrics.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/auto_or_manual_string.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/auto_or_manual_value.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/background_position.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/background_repeat.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/banned_channel.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/base_dhcp_event.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/best_ap_steer_type.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/blocklist_details.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/bonjour_gateway_profile.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/bonjour_service_set.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/capacity_details.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/capacity_per_radio_details.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/capacity_per_radio_details_map.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/captive_portal_authentication_type.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/captive_portal_configuration.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/channel_bandwidth.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/channel_hop_reason.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/channel_hop_settings.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/channel_info.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/channel_info_reports.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/channel_power_level.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/channel_utilization_details.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/channel_utilization_per_radio_details.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/channel_utilization_per_radio_details_map.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/channel_utilization_survey_type.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/client.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/client_activity_aggregated_stats.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/client_activity_aggregated_stats_per_radio_type_map.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/client_added_event.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/client_assoc_event.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/client_auth_event.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/client_changed_event.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/client_connect_success_event.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/client_connection_details.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/client_dhcp_details.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/client_disconnect_event.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/client_eap_details.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/client_failure_details.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/client_failure_event.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/client_first_data_event.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/client_id_event.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/client_info_details.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/client_ip_address_event.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/client_metrics.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/client_removed_event.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/client_session.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/client_session_changed_event.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/client_session_details.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/client_session_metric_details.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/client_session_removed_event.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/client_timeout_event.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/client_timeout_reason.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/common_probe_details.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/country_code.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/counts_per_alarm_code_map.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/counts_per_equipment_id_per_alarm_code_map.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/customer.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/customer_added_event.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/customer_changed_event.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/customer_details.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/customer_firmware_track_record.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/customer_firmware_track_settings.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/customer_portal_dashboard_status.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/customer_removed_event.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/daily_time_range_schedule.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/day_of_week.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/days_of_week_time_range_schedule.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/deployment_type.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/detected_auth_mode.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/device_mode.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/dhcp_ack_event.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/dhcp_decline_event.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/dhcp_discover_event.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/dhcp_inform_event.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/dhcp_nak_event.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/dhcp_offer_event.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/dhcp_request_event.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/disconnect_frame_type.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/disconnect_initiator.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/dns_probe_metric.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/dynamic_vlan_mode.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/element_radio_configuration.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/element_radio_configuration_eirp_tx_power.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/empty_schedule.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/equipment.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/equipment_added_event.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/equipment_admin_status_data.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/equipment_auto_provisioning_settings.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/equipment_capacity_details.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/equipment_capacity_details_map.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/equipment_changed_event.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/equipment_details.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/equipment_gateway_record.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/equipment_lan_status_data.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/equipment_neighbouring_status_data.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/equipment_peer_status_data.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/equipment_per_radio_utilization_details.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/equipment_per_radio_utilization_details_map.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/equipment_performance_details.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/equipment_protocol_state.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/equipment_protocol_status_data.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/equipment_removed_event.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/equipment_routing_record.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/equipment_rrm_bulk_update_item.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/equipment_rrm_bulk_update_item_per_radio_map.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/equipment_rrm_bulk_update_request.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/equipment_scan_details.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/equipment_type.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/equipment_upgrade_failure_reason.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/equipment_upgrade_state.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/equipment_upgrade_status_data.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/ethernet_link_state.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/file_category.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/file_type.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/firmware_schedule_setting.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/firmware_track_assignment_details.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/firmware_track_assignment_record.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/firmware_track_record.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/firmware_validation_method.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/firmware_version.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/gateway_added_event.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/gateway_changed_event.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/gateway_removed_event.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/gateway_type.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/generic_response.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/gre_tunnel_configuration.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/guard_interval.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/integer_per_radio_type_map.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/integer_per_status_code_map.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/integer_status_code_map.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/integer_value_map.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/json_serialized_exception.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/link_quality_aggregated_stats.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/link_quality_aggregated_stats_per_radio_type_map.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/list_of_channel_info_reports_per_radio_map.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/list_of_macs_per_radio_map.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/list_of_mcs_stats_per_radio_map.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/list_of_radio_utilization_per_radio_map.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/list_of_ssid_statistics_per_radio_map.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/local_time_value.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/location.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/location_activity_details.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/location_activity_details_map.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/location_added_event.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/location_changed_event.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/location_details.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/location_removed_event.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/long_per_radio_type_map.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/long_value_map.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/mac_address.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/mac_allowlist_record.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/managed_file_info.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/management_rate.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/manufacturer_details_record.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/manufacturer_oui_details.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/manufacturer_oui_details_per_oui_map.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/map_of_wmm_queue_stats_per_radio_map.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/mcs_stats.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/mcs_type.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/mesh_group.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/mesh_group_member.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/mesh_group_property.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/metric_config_parameter_map.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/mimo_mode.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/min_max_avg_value_int.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/min_max_avg_value_int_per_radio_map.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/multicast_rate.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/neighbor_scan_packet_type.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/neighbour_report.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/neighbour_scan_reports.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/neighbouring_ap_list_configuration.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/network_admin_status_data.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/network_aggregate_status_data.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/network_forward_mode.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/network_probe_metrics.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/network_type.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/noise_floor_details.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/noise_floor_per_radio_details.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/noise_floor_per_radio_details_map.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/obss_hop_mode.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/one_of_equipment_details.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/one_of_firmware_schedule_setting.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/one_of_profile_details_children.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/one_of_schedule_setting.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/one_of_service_metric_details.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/one_of_status_details.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/one_of_system_event.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/operating_system_performance.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/originator_type.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_alarm.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_client.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_client_session.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_equipment.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_location.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_portal_user.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_profile.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_service_metric.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_status.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_system_event.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_alarm.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_client.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_client_session.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_equipment.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_location.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_portal_user.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_profile.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_service_metric.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_status.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_system_event.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/pair_long_long.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/passpoint_access_network_type.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/passpoint_connection_capabilities_ip_protocol.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/passpoint_connection_capabilities_status.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/passpoint_connection_capability.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/passpoint_duple.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/passpoint_eap_methods.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/passpoint_gas_address3_behaviour.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/passpoint_i_pv4_address_type.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/passpoint_i_pv6_address_type.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/passpoint_mcc_mnc.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/passpoint_nai_realm_eap_auth_inner_non_eap.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/passpoint_nai_realm_eap_auth_param.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/passpoint_nai_realm_eap_cred_type.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/passpoint_nai_realm_encoding.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/passpoint_nai_realm_information.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/passpoint_network_authentication_type.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/passpoint_operator_profile.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/passpoint_osu_icon.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/passpoint_osu_provider_profile.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/passpoint_profile.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/passpoint_venue_name.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/passpoint_venue_profile.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/passpoint_venue_type_assignment.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/peer_info.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/per_process_utilization.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/ping_response.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/portal_user.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/portal_user_added_event.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/portal_user_changed_event.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/portal_user_removed_event.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/portal_user_role.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/profile.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/profile_added_event.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/profile_changed_event.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/profile_details.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/profile_details_children.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/profile_removed_event.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/profile_type.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/radio_based_ssid_configuration.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/radio_based_ssid_configuration_map.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/radio_best_ap_settings.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/radio_channel_change_settings.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/radio_configuration.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/radio_map.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/radio_mode.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/radio_profile_configuration.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/radio_profile_configuration_map.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/radio_statistics.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/radio_statistics_per_radio_map.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/radio_type.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/radio_utilization.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/radio_utilization_details.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/radio_utilization_per_radio_details.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/radio_utilization_per_radio_details_map.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/radio_utilization_report.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/radius_authentication_method.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/radius_details.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/radius_metrics.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/radius_nas_configuration.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/radius_profile.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/radius_server.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/radius_server_details.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/real_time_event.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/real_time_sip_call_event_with_stats.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/real_time_sip_call_report_event.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/real_time_sip_call_start_event.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/real_time_sip_call_stop_event.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/real_time_streaming_start_event.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/real_time_streaming_start_session_event.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/real_time_streaming_stop_event.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/realtime_channel_hop_event.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/rf_config_map.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/rf_configuration.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/rf_element_configuration.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/routing_added_event.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/routing_changed_event.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/routing_removed_event.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/rrm_bulk_update_ap_details.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/rtls_settings.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/rtp_flow_direction.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/rtp_flow_stats.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/rtp_flow_type.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/schedule_setting.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/security_type.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/service_adoption_metrics.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/service_metric.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/service_metric_config_parameters.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/service_metric_data_type.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/service_metric_details.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/service_metric_radio_config_parameters.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/service_metric_survey_config_parameters.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/service_metrics_collection_config_profile.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/session_expiry_type.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/sip_call_report_reason.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/sip_call_stop_reason.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_alarm.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_client.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_client_session.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_equipment.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_location.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_portal_user.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_profile.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_service_metric.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_status.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_system_event.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/sort_order.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/source_selection_management.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/source_selection_multicast.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/source_selection_steering.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/source_selection_value.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/source_type.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/ssid_configuration.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/ssid_secure_mode.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/ssid_statistics.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/state_setting.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/state_up_down_error.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/stats_report_format.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/status.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/status_changed_event.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/status_code.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/status_data_type.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/status_details.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/status_removed_event.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/steer_type.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/streaming_video_server_record.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/streaming_video_type.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/syslog_relay.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/syslog_severity_type.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/system_event.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/system_event_data_type.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/system_event_record.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/timed_access_user_details.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/timed_access_user_record.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/track_flag.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/traffic_details.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/traffic_per_radio_details.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/traffic_per_radio_details_per_radio_type_map.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/tunnel_indicator.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/tunnel_metric_data.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/unserializable_system_event.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/user_details.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/vlan_status_data.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/vlan_status_data_map.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/vlan_subnet.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/web_token_acl_template.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/web_token_request.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/web_token_result.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/wep_auth_type.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/wep_configuration.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/wep_key.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/wep_type.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/wlan_reason_code.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/wlan_status_code.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/wmm_queue_stats.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/wmm_queue_stats_per_queue_type_map.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/wmm_queue_type.py create mode 100644 libs/cloudapi/cloudsdk/swagger_client/rest.py create mode 100644 libs/cloudapi/cloudsdk/test-requirements.txt create mode 100644 libs/cloudapi/cloudsdk/test/__init__.py create mode 100644 libs/cloudapi/cloudsdk/test/test_acl_template.py create mode 100644 libs/cloudapi/cloudsdk/test/test_active_bssi_ds.py create mode 100644 libs/cloudapi/cloudsdk/test/test_active_bssid.py create mode 100644 libs/cloudapi/cloudsdk/test/test_active_scan_settings.py create mode 100644 libs/cloudapi/cloudsdk/test/test_advanced_radio_map.py create mode 100644 libs/cloudapi/cloudsdk/test/test_alarm.py create mode 100644 libs/cloudapi/cloudsdk/test/test_alarm_added_event.py create mode 100644 libs/cloudapi/cloudsdk/test/test_alarm_changed_event.py create mode 100644 libs/cloudapi/cloudsdk/test/test_alarm_code.py create mode 100644 libs/cloudapi/cloudsdk/test/test_alarm_counts.py create mode 100644 libs/cloudapi/cloudsdk/test/test_alarm_details.py create mode 100644 libs/cloudapi/cloudsdk/test/test_alarm_details_attributes_map.py create mode 100644 libs/cloudapi/cloudsdk/test/test_alarm_removed_event.py create mode 100644 libs/cloudapi/cloudsdk/test/test_alarm_scope_type.py create mode 100644 libs/cloudapi/cloudsdk/test/test_alarms_api.py create mode 100644 libs/cloudapi/cloudsdk/test/test_antenna_type.py create mode 100644 libs/cloudapi/cloudsdk/test/test_ap_element_configuration.py create mode 100644 libs/cloudapi/cloudsdk/test/test_ap_mesh_mode.py create mode 100644 libs/cloudapi/cloudsdk/test/test_ap_network_configuration.py create mode 100644 libs/cloudapi/cloudsdk/test/test_ap_network_configuration_ntp_server.py create mode 100644 libs/cloudapi/cloudsdk/test/test_ap_node_metrics.py create mode 100644 libs/cloudapi/cloudsdk/test/test_ap_performance.py create mode 100644 libs/cloudapi/cloudsdk/test/test_ap_ssid_metrics.py create mode 100644 libs/cloudapi/cloudsdk/test/test_auto_or_manual_string.py create mode 100644 libs/cloudapi/cloudsdk/test/test_auto_or_manual_value.py create mode 100644 libs/cloudapi/cloudsdk/test/test_background_position.py create mode 100644 libs/cloudapi/cloudsdk/test/test_background_repeat.py create mode 100644 libs/cloudapi/cloudsdk/test/test_banned_channel.py create mode 100644 libs/cloudapi/cloudsdk/test/test_base_dhcp_event.py create mode 100644 libs/cloudapi/cloudsdk/test/test_best_ap_steer_type.py create mode 100644 libs/cloudapi/cloudsdk/test/test_blocklist_details.py create mode 100644 libs/cloudapi/cloudsdk/test/test_bonjour_gateway_profile.py create mode 100644 libs/cloudapi/cloudsdk/test/test_bonjour_service_set.py create mode 100644 libs/cloudapi/cloudsdk/test/test_capacity_details.py create mode 100644 libs/cloudapi/cloudsdk/test/test_capacity_per_radio_details.py create mode 100644 libs/cloudapi/cloudsdk/test/test_capacity_per_radio_details_map.py create mode 100644 libs/cloudapi/cloudsdk/test/test_captive_portal_authentication_type.py create mode 100644 libs/cloudapi/cloudsdk/test/test_captive_portal_configuration.py create mode 100644 libs/cloudapi/cloudsdk/test/test_channel_bandwidth.py create mode 100644 libs/cloudapi/cloudsdk/test/test_channel_hop_reason.py create mode 100644 libs/cloudapi/cloudsdk/test/test_channel_hop_settings.py create mode 100644 libs/cloudapi/cloudsdk/test/test_channel_info.py create mode 100644 libs/cloudapi/cloudsdk/test/test_channel_info_reports.py create mode 100644 libs/cloudapi/cloudsdk/test/test_channel_power_level.py create mode 100644 libs/cloudapi/cloudsdk/test/test_channel_utilization_details.py create mode 100644 libs/cloudapi/cloudsdk/test/test_channel_utilization_per_radio_details.py create mode 100644 libs/cloudapi/cloudsdk/test/test_channel_utilization_per_radio_details_map.py create mode 100644 libs/cloudapi/cloudsdk/test/test_channel_utilization_survey_type.py create mode 100644 libs/cloudapi/cloudsdk/test/test_client.py create mode 100644 libs/cloudapi/cloudsdk/test/test_client_activity_aggregated_stats.py create mode 100644 libs/cloudapi/cloudsdk/test/test_client_activity_aggregated_stats_per_radio_type_map.py create mode 100644 libs/cloudapi/cloudsdk/test/test_client_added_event.py create mode 100644 libs/cloudapi/cloudsdk/test/test_client_assoc_event.py create mode 100644 libs/cloudapi/cloudsdk/test/test_client_auth_event.py create mode 100644 libs/cloudapi/cloudsdk/test/test_client_changed_event.py create mode 100644 libs/cloudapi/cloudsdk/test/test_client_connect_success_event.py create mode 100644 libs/cloudapi/cloudsdk/test/test_client_connection_details.py create mode 100644 libs/cloudapi/cloudsdk/test/test_client_dhcp_details.py create mode 100644 libs/cloudapi/cloudsdk/test/test_client_disconnect_event.py create mode 100644 libs/cloudapi/cloudsdk/test/test_client_eap_details.py create mode 100644 libs/cloudapi/cloudsdk/test/test_client_failure_details.py create mode 100644 libs/cloudapi/cloudsdk/test/test_client_failure_event.py create mode 100644 libs/cloudapi/cloudsdk/test/test_client_first_data_event.py create mode 100644 libs/cloudapi/cloudsdk/test/test_client_id_event.py create mode 100644 libs/cloudapi/cloudsdk/test/test_client_info_details.py create mode 100644 libs/cloudapi/cloudsdk/test/test_client_ip_address_event.py create mode 100644 libs/cloudapi/cloudsdk/test/test_client_metrics.py create mode 100644 libs/cloudapi/cloudsdk/test/test_client_removed_event.py create mode 100644 libs/cloudapi/cloudsdk/test/test_client_session.py create mode 100644 libs/cloudapi/cloudsdk/test/test_client_session_changed_event.py create mode 100644 libs/cloudapi/cloudsdk/test/test_client_session_details.py create mode 100644 libs/cloudapi/cloudsdk/test/test_client_session_metric_details.py create mode 100644 libs/cloudapi/cloudsdk/test/test_client_session_removed_event.py create mode 100644 libs/cloudapi/cloudsdk/test/test_client_timeout_event.py create mode 100644 libs/cloudapi/cloudsdk/test/test_client_timeout_reason.py create mode 100644 libs/cloudapi/cloudsdk/test/test_clients_api.py create mode 100644 libs/cloudapi/cloudsdk/test/test_common_probe_details.py create mode 100644 libs/cloudapi/cloudsdk/test/test_country_code.py create mode 100644 libs/cloudapi/cloudsdk/test/test_counts_per_alarm_code_map.py create mode 100644 libs/cloudapi/cloudsdk/test/test_counts_per_equipment_id_per_alarm_code_map.py create mode 100644 libs/cloudapi/cloudsdk/test/test_customer.py create mode 100644 libs/cloudapi/cloudsdk/test/test_customer_added_event.py create mode 100644 libs/cloudapi/cloudsdk/test/test_customer_api.py create mode 100644 libs/cloudapi/cloudsdk/test/test_customer_changed_event.py create mode 100644 libs/cloudapi/cloudsdk/test/test_customer_details.py create mode 100644 libs/cloudapi/cloudsdk/test/test_customer_firmware_track_record.py create mode 100644 libs/cloudapi/cloudsdk/test/test_customer_firmware_track_settings.py create mode 100644 libs/cloudapi/cloudsdk/test/test_customer_portal_dashboard_status.py create mode 100644 libs/cloudapi/cloudsdk/test/test_customer_removed_event.py create mode 100644 libs/cloudapi/cloudsdk/test/test_daily_time_range_schedule.py create mode 100644 libs/cloudapi/cloudsdk/test/test_day_of_week.py create mode 100644 libs/cloudapi/cloudsdk/test/test_days_of_week_time_range_schedule.py create mode 100644 libs/cloudapi/cloudsdk/test/test_deployment_type.py create mode 100644 libs/cloudapi/cloudsdk/test/test_detected_auth_mode.py create mode 100644 libs/cloudapi/cloudsdk/test/test_device_mode.py create mode 100644 libs/cloudapi/cloudsdk/test/test_dhcp_ack_event.py create mode 100644 libs/cloudapi/cloudsdk/test/test_dhcp_decline_event.py create mode 100644 libs/cloudapi/cloudsdk/test/test_dhcp_discover_event.py create mode 100644 libs/cloudapi/cloudsdk/test/test_dhcp_inform_event.py create mode 100644 libs/cloudapi/cloudsdk/test/test_dhcp_nak_event.py create mode 100644 libs/cloudapi/cloudsdk/test/test_dhcp_offer_event.py create mode 100644 libs/cloudapi/cloudsdk/test/test_dhcp_request_event.py create mode 100644 libs/cloudapi/cloudsdk/test/test_disconnect_frame_type.py create mode 100644 libs/cloudapi/cloudsdk/test/test_disconnect_initiator.py create mode 100644 libs/cloudapi/cloudsdk/test/test_dns_probe_metric.py create mode 100644 libs/cloudapi/cloudsdk/test/test_dynamic_vlan_mode.py create mode 100644 libs/cloudapi/cloudsdk/test/test_element_radio_configuration.py create mode 100644 libs/cloudapi/cloudsdk/test/test_element_radio_configuration_eirp_tx_power.py create mode 100644 libs/cloudapi/cloudsdk/test/test_empty_schedule.py create mode 100644 libs/cloudapi/cloudsdk/test/test_equipment.py create mode 100644 libs/cloudapi/cloudsdk/test/test_equipment_added_event.py create mode 100644 libs/cloudapi/cloudsdk/test/test_equipment_admin_status_data.py create mode 100644 libs/cloudapi/cloudsdk/test/test_equipment_api.py create mode 100644 libs/cloudapi/cloudsdk/test/test_equipment_auto_provisioning_settings.py create mode 100644 libs/cloudapi/cloudsdk/test/test_equipment_capacity_details.py create mode 100644 libs/cloudapi/cloudsdk/test/test_equipment_capacity_details_map.py create mode 100644 libs/cloudapi/cloudsdk/test/test_equipment_changed_event.py create mode 100644 libs/cloudapi/cloudsdk/test/test_equipment_details.py create mode 100644 libs/cloudapi/cloudsdk/test/test_equipment_gateway_api.py create mode 100644 libs/cloudapi/cloudsdk/test/test_equipment_gateway_record.py create mode 100644 libs/cloudapi/cloudsdk/test/test_equipment_lan_status_data.py create mode 100644 libs/cloudapi/cloudsdk/test/test_equipment_neighbouring_status_data.py create mode 100644 libs/cloudapi/cloudsdk/test/test_equipment_peer_status_data.py create mode 100644 libs/cloudapi/cloudsdk/test/test_equipment_per_radio_utilization_details.py create mode 100644 libs/cloudapi/cloudsdk/test/test_equipment_per_radio_utilization_details_map.py create mode 100644 libs/cloudapi/cloudsdk/test/test_equipment_performance_details.py create mode 100644 libs/cloudapi/cloudsdk/test/test_equipment_protocol_state.py create mode 100644 libs/cloudapi/cloudsdk/test/test_equipment_protocol_status_data.py create mode 100644 libs/cloudapi/cloudsdk/test/test_equipment_removed_event.py create mode 100644 libs/cloudapi/cloudsdk/test/test_equipment_routing_record.py create mode 100644 libs/cloudapi/cloudsdk/test/test_equipment_rrm_bulk_update_item.py create mode 100644 libs/cloudapi/cloudsdk/test/test_equipment_rrm_bulk_update_item_per_radio_map.py create mode 100644 libs/cloudapi/cloudsdk/test/test_equipment_rrm_bulk_update_request.py create mode 100644 libs/cloudapi/cloudsdk/test/test_equipment_scan_details.py create mode 100644 libs/cloudapi/cloudsdk/test/test_equipment_type.py create mode 100644 libs/cloudapi/cloudsdk/test/test_equipment_upgrade_failure_reason.py create mode 100644 libs/cloudapi/cloudsdk/test/test_equipment_upgrade_state.py create mode 100644 libs/cloudapi/cloudsdk/test/test_equipment_upgrade_status_data.py create mode 100644 libs/cloudapi/cloudsdk/test/test_ethernet_link_state.py create mode 100644 libs/cloudapi/cloudsdk/test/test_file_category.py create mode 100644 libs/cloudapi/cloudsdk/test/test_file_services_api.py create mode 100644 libs/cloudapi/cloudsdk/test/test_file_type.py create mode 100644 libs/cloudapi/cloudsdk/test/test_firmware_management_api.py create mode 100644 libs/cloudapi/cloudsdk/test/test_firmware_schedule_setting.py create mode 100644 libs/cloudapi/cloudsdk/test/test_firmware_track_assignment_details.py create mode 100644 libs/cloudapi/cloudsdk/test/test_firmware_track_assignment_record.py create mode 100644 libs/cloudapi/cloudsdk/test/test_firmware_track_record.py create mode 100644 libs/cloudapi/cloudsdk/test/test_firmware_validation_method.py create mode 100644 libs/cloudapi/cloudsdk/test/test_firmware_version.py create mode 100644 libs/cloudapi/cloudsdk/test/test_gateway_added_event.py create mode 100644 libs/cloudapi/cloudsdk/test/test_gateway_changed_event.py create mode 100644 libs/cloudapi/cloudsdk/test/test_gateway_removed_event.py create mode 100644 libs/cloudapi/cloudsdk/test/test_gateway_type.py create mode 100644 libs/cloudapi/cloudsdk/test/test_generic_response.py create mode 100644 libs/cloudapi/cloudsdk/test/test_gre_tunnel_configuration.py create mode 100644 libs/cloudapi/cloudsdk/test/test_guard_interval.py create mode 100644 libs/cloudapi/cloudsdk/test/test_integer_per_radio_type_map.py create mode 100644 libs/cloudapi/cloudsdk/test/test_integer_per_status_code_map.py create mode 100644 libs/cloudapi/cloudsdk/test/test_integer_status_code_map.py create mode 100644 libs/cloudapi/cloudsdk/test/test_integer_value_map.py create mode 100644 libs/cloudapi/cloudsdk/test/test_json_serialized_exception.py create mode 100644 libs/cloudapi/cloudsdk/test/test_link_quality_aggregated_stats.py create mode 100644 libs/cloudapi/cloudsdk/test/test_link_quality_aggregated_stats_per_radio_type_map.py create mode 100644 libs/cloudapi/cloudsdk/test/test_list_of_channel_info_reports_per_radio_map.py create mode 100644 libs/cloudapi/cloudsdk/test/test_list_of_macs_per_radio_map.py create mode 100644 libs/cloudapi/cloudsdk/test/test_list_of_mcs_stats_per_radio_map.py create mode 100644 libs/cloudapi/cloudsdk/test/test_list_of_radio_utilization_per_radio_map.py create mode 100644 libs/cloudapi/cloudsdk/test/test_list_of_ssid_statistics_per_radio_map.py create mode 100644 libs/cloudapi/cloudsdk/test/test_local_time_value.py create mode 100644 libs/cloudapi/cloudsdk/test/test_location.py create mode 100644 libs/cloudapi/cloudsdk/test/test_location_activity_details.py create mode 100644 libs/cloudapi/cloudsdk/test/test_location_activity_details_map.py create mode 100644 libs/cloudapi/cloudsdk/test/test_location_added_event.py create mode 100644 libs/cloudapi/cloudsdk/test/test_location_api.py create mode 100644 libs/cloudapi/cloudsdk/test/test_location_changed_event.py create mode 100644 libs/cloudapi/cloudsdk/test/test_location_details.py create mode 100644 libs/cloudapi/cloudsdk/test/test_location_removed_event.py create mode 100644 libs/cloudapi/cloudsdk/test/test_login_api.py create mode 100644 libs/cloudapi/cloudsdk/test/test_long_per_radio_type_map.py create mode 100644 libs/cloudapi/cloudsdk/test/test_long_value_map.py create mode 100644 libs/cloudapi/cloudsdk/test/test_mac_address.py create mode 100644 libs/cloudapi/cloudsdk/test/test_mac_allowlist_record.py create mode 100644 libs/cloudapi/cloudsdk/test/test_managed_file_info.py create mode 100644 libs/cloudapi/cloudsdk/test/test_management_rate.py create mode 100644 libs/cloudapi/cloudsdk/test/test_manufacturer_details_record.py create mode 100644 libs/cloudapi/cloudsdk/test/test_manufacturer_oui_api.py create mode 100644 libs/cloudapi/cloudsdk/test/test_manufacturer_oui_details.py create mode 100644 libs/cloudapi/cloudsdk/test/test_manufacturer_oui_details_per_oui_map.py create mode 100644 libs/cloudapi/cloudsdk/test/test_map_of_wmm_queue_stats_per_radio_map.py create mode 100644 libs/cloudapi/cloudsdk/test/test_mcs_stats.py create mode 100644 libs/cloudapi/cloudsdk/test/test_mcs_type.py create mode 100644 libs/cloudapi/cloudsdk/test/test_mesh_group.py create mode 100644 libs/cloudapi/cloudsdk/test/test_mesh_group_member.py create mode 100644 libs/cloudapi/cloudsdk/test/test_mesh_group_property.py create mode 100644 libs/cloudapi/cloudsdk/test/test_metric_config_parameter_map.py create mode 100644 libs/cloudapi/cloudsdk/test/test_mimo_mode.py create mode 100644 libs/cloudapi/cloudsdk/test/test_min_max_avg_value_int.py create mode 100644 libs/cloudapi/cloudsdk/test/test_min_max_avg_value_int_per_radio_map.py create mode 100644 libs/cloudapi/cloudsdk/test/test_multicast_rate.py create mode 100644 libs/cloudapi/cloudsdk/test/test_neighbor_scan_packet_type.py create mode 100644 libs/cloudapi/cloudsdk/test/test_neighbour_report.py create mode 100644 libs/cloudapi/cloudsdk/test/test_neighbour_scan_reports.py create mode 100644 libs/cloudapi/cloudsdk/test/test_neighbouring_ap_list_configuration.py create mode 100644 libs/cloudapi/cloudsdk/test/test_network_admin_status_data.py create mode 100644 libs/cloudapi/cloudsdk/test/test_network_aggregate_status_data.py create mode 100644 libs/cloudapi/cloudsdk/test/test_network_forward_mode.py create mode 100644 libs/cloudapi/cloudsdk/test/test_network_probe_metrics.py create mode 100644 libs/cloudapi/cloudsdk/test/test_network_type.py create mode 100644 libs/cloudapi/cloudsdk/test/test_noise_floor_details.py create mode 100644 libs/cloudapi/cloudsdk/test/test_noise_floor_per_radio_details.py create mode 100644 libs/cloudapi/cloudsdk/test/test_noise_floor_per_radio_details_map.py create mode 100644 libs/cloudapi/cloudsdk/test/test_obss_hop_mode.py create mode 100644 libs/cloudapi/cloudsdk/test/test_one_of_equipment_details.py create mode 100644 libs/cloudapi/cloudsdk/test/test_one_of_firmware_schedule_setting.py create mode 100644 libs/cloudapi/cloudsdk/test/test_one_of_profile_details_children.py create mode 100644 libs/cloudapi/cloudsdk/test/test_one_of_schedule_setting.py create mode 100644 libs/cloudapi/cloudsdk/test/test_one_of_service_metric_details.py create mode 100644 libs/cloudapi/cloudsdk/test/test_one_of_status_details.py create mode 100644 libs/cloudapi/cloudsdk/test/test_one_of_system_event.py create mode 100644 libs/cloudapi/cloudsdk/test/test_operating_system_performance.py create mode 100644 libs/cloudapi/cloudsdk/test/test_originator_type.py create mode 100644 libs/cloudapi/cloudsdk/test/test_pagination_context_alarm.py create mode 100644 libs/cloudapi/cloudsdk/test/test_pagination_context_client.py create mode 100644 libs/cloudapi/cloudsdk/test/test_pagination_context_client_session.py create mode 100644 libs/cloudapi/cloudsdk/test/test_pagination_context_equipment.py create mode 100644 libs/cloudapi/cloudsdk/test/test_pagination_context_location.py create mode 100644 libs/cloudapi/cloudsdk/test/test_pagination_context_portal_user.py create mode 100644 libs/cloudapi/cloudsdk/test/test_pagination_context_profile.py create mode 100644 libs/cloudapi/cloudsdk/test/test_pagination_context_service_metric.py create mode 100644 libs/cloudapi/cloudsdk/test/test_pagination_context_status.py create mode 100644 libs/cloudapi/cloudsdk/test/test_pagination_context_system_event.py create mode 100644 libs/cloudapi/cloudsdk/test/test_pagination_response_alarm.py create mode 100644 libs/cloudapi/cloudsdk/test/test_pagination_response_client.py create mode 100644 libs/cloudapi/cloudsdk/test/test_pagination_response_client_session.py create mode 100644 libs/cloudapi/cloudsdk/test/test_pagination_response_equipment.py create mode 100644 libs/cloudapi/cloudsdk/test/test_pagination_response_location.py create mode 100644 libs/cloudapi/cloudsdk/test/test_pagination_response_portal_user.py create mode 100644 libs/cloudapi/cloudsdk/test/test_pagination_response_profile.py create mode 100644 libs/cloudapi/cloudsdk/test/test_pagination_response_service_metric.py create mode 100644 libs/cloudapi/cloudsdk/test/test_pagination_response_status.py create mode 100644 libs/cloudapi/cloudsdk/test/test_pagination_response_system_event.py create mode 100644 libs/cloudapi/cloudsdk/test/test_pair_long_long.py create mode 100644 libs/cloudapi/cloudsdk/test/test_passpoint_access_network_type.py create mode 100644 libs/cloudapi/cloudsdk/test/test_passpoint_connection_capabilities_ip_protocol.py create mode 100644 libs/cloudapi/cloudsdk/test/test_passpoint_connection_capabilities_status.py create mode 100644 libs/cloudapi/cloudsdk/test/test_passpoint_connection_capability.py create mode 100644 libs/cloudapi/cloudsdk/test/test_passpoint_duple.py create mode 100644 libs/cloudapi/cloudsdk/test/test_passpoint_eap_methods.py create mode 100644 libs/cloudapi/cloudsdk/test/test_passpoint_gas_address3_behaviour.py create mode 100644 libs/cloudapi/cloudsdk/test/test_passpoint_i_pv4_address_type.py create mode 100644 libs/cloudapi/cloudsdk/test/test_passpoint_i_pv6_address_type.py create mode 100644 libs/cloudapi/cloudsdk/test/test_passpoint_mcc_mnc.py create mode 100644 libs/cloudapi/cloudsdk/test/test_passpoint_nai_realm_eap_auth_inner_non_eap.py create mode 100644 libs/cloudapi/cloudsdk/test/test_passpoint_nai_realm_eap_auth_param.py create mode 100644 libs/cloudapi/cloudsdk/test/test_passpoint_nai_realm_eap_cred_type.py create mode 100644 libs/cloudapi/cloudsdk/test/test_passpoint_nai_realm_encoding.py create mode 100644 libs/cloudapi/cloudsdk/test/test_passpoint_nai_realm_information.py create mode 100644 libs/cloudapi/cloudsdk/test/test_passpoint_network_authentication_type.py create mode 100644 libs/cloudapi/cloudsdk/test/test_passpoint_operator_profile.py create mode 100644 libs/cloudapi/cloudsdk/test/test_passpoint_osu_icon.py create mode 100644 libs/cloudapi/cloudsdk/test/test_passpoint_osu_provider_profile.py create mode 100644 libs/cloudapi/cloudsdk/test/test_passpoint_profile.py create mode 100644 libs/cloudapi/cloudsdk/test/test_passpoint_venue_name.py create mode 100644 libs/cloudapi/cloudsdk/test/test_passpoint_venue_profile.py create mode 100644 libs/cloudapi/cloudsdk/test/test_passpoint_venue_type_assignment.py create mode 100644 libs/cloudapi/cloudsdk/test/test_peer_info.py create mode 100644 libs/cloudapi/cloudsdk/test/test_per_process_utilization.py create mode 100644 libs/cloudapi/cloudsdk/test/test_ping_response.py create mode 100644 libs/cloudapi/cloudsdk/test/test_portal_user.py create mode 100644 libs/cloudapi/cloudsdk/test/test_portal_user_added_event.py create mode 100644 libs/cloudapi/cloudsdk/test/test_portal_user_changed_event.py create mode 100644 libs/cloudapi/cloudsdk/test/test_portal_user_removed_event.py create mode 100644 libs/cloudapi/cloudsdk/test/test_portal_user_role.py create mode 100644 libs/cloudapi/cloudsdk/test/test_portal_users_api.py create mode 100644 libs/cloudapi/cloudsdk/test/test_profile.py create mode 100644 libs/cloudapi/cloudsdk/test/test_profile_added_event.py create mode 100644 libs/cloudapi/cloudsdk/test/test_profile_api.py create mode 100644 libs/cloudapi/cloudsdk/test/test_profile_changed_event.py create mode 100644 libs/cloudapi/cloudsdk/test/test_profile_details.py create mode 100644 libs/cloudapi/cloudsdk/test/test_profile_details_children.py create mode 100644 libs/cloudapi/cloudsdk/test/test_profile_removed_event.py create mode 100644 libs/cloudapi/cloudsdk/test/test_profile_type.py create mode 100644 libs/cloudapi/cloudsdk/test/test_radio_based_ssid_configuration.py create mode 100644 libs/cloudapi/cloudsdk/test/test_radio_based_ssid_configuration_map.py create mode 100644 libs/cloudapi/cloudsdk/test/test_radio_best_ap_settings.py create mode 100644 libs/cloudapi/cloudsdk/test/test_radio_channel_change_settings.py create mode 100644 libs/cloudapi/cloudsdk/test/test_radio_configuration.py create mode 100644 libs/cloudapi/cloudsdk/test/test_radio_map.py create mode 100644 libs/cloudapi/cloudsdk/test/test_radio_mode.py create mode 100644 libs/cloudapi/cloudsdk/test/test_radio_profile_configuration.py create mode 100644 libs/cloudapi/cloudsdk/test/test_radio_profile_configuration_map.py create mode 100644 libs/cloudapi/cloudsdk/test/test_radio_statistics.py create mode 100644 libs/cloudapi/cloudsdk/test/test_radio_statistics_per_radio_map.py create mode 100644 libs/cloudapi/cloudsdk/test/test_radio_type.py create mode 100644 libs/cloudapi/cloudsdk/test/test_radio_utilization.py create mode 100644 libs/cloudapi/cloudsdk/test/test_radio_utilization_details.py create mode 100644 libs/cloudapi/cloudsdk/test/test_radio_utilization_per_radio_details.py create mode 100644 libs/cloudapi/cloudsdk/test/test_radio_utilization_per_radio_details_map.py create mode 100644 libs/cloudapi/cloudsdk/test/test_radio_utilization_report.py create mode 100644 libs/cloudapi/cloudsdk/test/test_radius_authentication_method.py create mode 100644 libs/cloudapi/cloudsdk/test/test_radius_details.py create mode 100644 libs/cloudapi/cloudsdk/test/test_radius_metrics.py create mode 100644 libs/cloudapi/cloudsdk/test/test_radius_nas_configuration.py create mode 100644 libs/cloudapi/cloudsdk/test/test_radius_profile.py create mode 100644 libs/cloudapi/cloudsdk/test/test_radius_server.py create mode 100644 libs/cloudapi/cloudsdk/test/test_radius_server_details.py create mode 100644 libs/cloudapi/cloudsdk/test/test_real_time_event.py create mode 100644 libs/cloudapi/cloudsdk/test/test_real_time_sip_call_event_with_stats.py create mode 100644 libs/cloudapi/cloudsdk/test/test_real_time_sip_call_report_event.py create mode 100644 libs/cloudapi/cloudsdk/test/test_real_time_sip_call_start_event.py create mode 100644 libs/cloudapi/cloudsdk/test/test_real_time_sip_call_stop_event.py create mode 100644 libs/cloudapi/cloudsdk/test/test_real_time_streaming_start_event.py create mode 100644 libs/cloudapi/cloudsdk/test/test_real_time_streaming_start_session_event.py create mode 100644 libs/cloudapi/cloudsdk/test/test_real_time_streaming_stop_event.py create mode 100644 libs/cloudapi/cloudsdk/test/test_realtime_channel_hop_event.py create mode 100644 libs/cloudapi/cloudsdk/test/test_rf_config_map.py create mode 100644 libs/cloudapi/cloudsdk/test/test_rf_configuration.py create mode 100644 libs/cloudapi/cloudsdk/test/test_rf_element_configuration.py create mode 100644 libs/cloudapi/cloudsdk/test/test_routing_added_event.py create mode 100644 libs/cloudapi/cloudsdk/test/test_routing_changed_event.py create mode 100644 libs/cloudapi/cloudsdk/test/test_routing_removed_event.py create mode 100644 libs/cloudapi/cloudsdk/test/test_rrm_bulk_update_ap_details.py create mode 100644 libs/cloudapi/cloudsdk/test/test_rtls_settings.py create mode 100644 libs/cloudapi/cloudsdk/test/test_rtp_flow_direction.py create mode 100644 libs/cloudapi/cloudsdk/test/test_rtp_flow_stats.py create mode 100644 libs/cloudapi/cloudsdk/test/test_rtp_flow_type.py create mode 100644 libs/cloudapi/cloudsdk/test/test_schedule_setting.py create mode 100644 libs/cloudapi/cloudsdk/test/test_security_type.py create mode 100644 libs/cloudapi/cloudsdk/test/test_service_adoption_metrics.py create mode 100644 libs/cloudapi/cloudsdk/test/test_service_adoption_metrics_api.py create mode 100644 libs/cloudapi/cloudsdk/test/test_service_metric.py create mode 100644 libs/cloudapi/cloudsdk/test/test_service_metric_config_parameters.py create mode 100644 libs/cloudapi/cloudsdk/test/test_service_metric_data_type.py create mode 100644 libs/cloudapi/cloudsdk/test/test_service_metric_details.py create mode 100644 libs/cloudapi/cloudsdk/test/test_service_metric_radio_config_parameters.py create mode 100644 libs/cloudapi/cloudsdk/test/test_service_metric_survey_config_parameters.py create mode 100644 libs/cloudapi/cloudsdk/test/test_service_metrics_collection_config_profile.py create mode 100644 libs/cloudapi/cloudsdk/test/test_session_expiry_type.py create mode 100644 libs/cloudapi/cloudsdk/test/test_sip_call_report_reason.py create mode 100644 libs/cloudapi/cloudsdk/test/test_sip_call_stop_reason.py create mode 100644 libs/cloudapi/cloudsdk/test/test_sort_columns_alarm.py create mode 100644 libs/cloudapi/cloudsdk/test/test_sort_columns_client.py create mode 100644 libs/cloudapi/cloudsdk/test/test_sort_columns_client_session.py create mode 100644 libs/cloudapi/cloudsdk/test/test_sort_columns_equipment.py create mode 100644 libs/cloudapi/cloudsdk/test/test_sort_columns_location.py create mode 100644 libs/cloudapi/cloudsdk/test/test_sort_columns_portal_user.py create mode 100644 libs/cloudapi/cloudsdk/test/test_sort_columns_profile.py create mode 100644 libs/cloudapi/cloudsdk/test/test_sort_columns_service_metric.py create mode 100644 libs/cloudapi/cloudsdk/test/test_sort_columns_status.py create mode 100644 libs/cloudapi/cloudsdk/test/test_sort_columns_system_event.py create mode 100644 libs/cloudapi/cloudsdk/test/test_sort_order.py create mode 100644 libs/cloudapi/cloudsdk/test/test_source_selection_management.py create mode 100644 libs/cloudapi/cloudsdk/test/test_source_selection_multicast.py create mode 100644 libs/cloudapi/cloudsdk/test/test_source_selection_steering.py create mode 100644 libs/cloudapi/cloudsdk/test/test_source_selection_value.py create mode 100644 libs/cloudapi/cloudsdk/test/test_source_type.py create mode 100644 libs/cloudapi/cloudsdk/test/test_ssid_configuration.py create mode 100644 libs/cloudapi/cloudsdk/test/test_ssid_secure_mode.py create mode 100644 libs/cloudapi/cloudsdk/test/test_ssid_statistics.py create mode 100644 libs/cloudapi/cloudsdk/test/test_state_setting.py create mode 100644 libs/cloudapi/cloudsdk/test/test_state_up_down_error.py create mode 100644 libs/cloudapi/cloudsdk/test/test_stats_report_format.py create mode 100644 libs/cloudapi/cloudsdk/test/test_status.py create mode 100644 libs/cloudapi/cloudsdk/test/test_status_api.py create mode 100644 libs/cloudapi/cloudsdk/test/test_status_changed_event.py create mode 100644 libs/cloudapi/cloudsdk/test/test_status_code.py create mode 100644 libs/cloudapi/cloudsdk/test/test_status_data_type.py create mode 100644 libs/cloudapi/cloudsdk/test/test_status_details.py create mode 100644 libs/cloudapi/cloudsdk/test/test_status_removed_event.py create mode 100644 libs/cloudapi/cloudsdk/test/test_steer_type.py create mode 100644 libs/cloudapi/cloudsdk/test/test_streaming_video_server_record.py create mode 100644 libs/cloudapi/cloudsdk/test/test_streaming_video_type.py create mode 100644 libs/cloudapi/cloudsdk/test/test_syslog_relay.py create mode 100644 libs/cloudapi/cloudsdk/test/test_syslog_severity_type.py create mode 100644 libs/cloudapi/cloudsdk/test/test_system_event.py create mode 100644 libs/cloudapi/cloudsdk/test/test_system_event_data_type.py create mode 100644 libs/cloudapi/cloudsdk/test/test_system_event_record.py create mode 100644 libs/cloudapi/cloudsdk/test/test_system_events_api.py create mode 100644 libs/cloudapi/cloudsdk/test/test_timed_access_user_details.py create mode 100644 libs/cloudapi/cloudsdk/test/test_timed_access_user_record.py create mode 100644 libs/cloudapi/cloudsdk/test/test_track_flag.py create mode 100644 libs/cloudapi/cloudsdk/test/test_traffic_details.py create mode 100644 libs/cloudapi/cloudsdk/test/test_traffic_per_radio_details.py create mode 100644 libs/cloudapi/cloudsdk/test/test_traffic_per_radio_details_per_radio_type_map.py create mode 100644 libs/cloudapi/cloudsdk/test/test_tunnel_indicator.py create mode 100644 libs/cloudapi/cloudsdk/test/test_tunnel_metric_data.py create mode 100644 libs/cloudapi/cloudsdk/test/test_unserializable_system_event.py create mode 100644 libs/cloudapi/cloudsdk/test/test_user_details.py create mode 100644 libs/cloudapi/cloudsdk/test/test_vlan_status_data.py create mode 100644 libs/cloudapi/cloudsdk/test/test_vlan_status_data_map.py create mode 100644 libs/cloudapi/cloudsdk/test/test_vlan_subnet.py create mode 100644 libs/cloudapi/cloudsdk/test/test_web_token_acl_template.py create mode 100644 libs/cloudapi/cloudsdk/test/test_web_token_request.py create mode 100644 libs/cloudapi/cloudsdk/test/test_web_token_result.py create mode 100644 libs/cloudapi/cloudsdk/test/test_wep_auth_type.py create mode 100644 libs/cloudapi/cloudsdk/test/test_wep_configuration.py create mode 100644 libs/cloudapi/cloudsdk/test/test_wep_key.py create mode 100644 libs/cloudapi/cloudsdk/test/test_wep_type.py create mode 100644 libs/cloudapi/cloudsdk/test/test_wlan_reason_code.py create mode 100644 libs/cloudapi/cloudsdk/test/test_wlan_service_metrics_api.py create mode 100644 libs/cloudapi/cloudsdk/test/test_wlan_status_code.py create mode 100644 libs/cloudapi/cloudsdk/test/test_wmm_queue_stats.py create mode 100644 libs/cloudapi/cloudsdk/test/test_wmm_queue_stats_per_queue_type_map.py create mode 100644 libs/cloudapi/cloudsdk/test/test_wmm_queue_type.py create mode 100644 libs/cloudapi/cloudsdk/tox.ini create mode 100644 tests/pytest_utility/conftest.py create mode 100644 tests/pytest_utility/pytest.ini diff --git a/libs/cloudapi/cloud_utility/cloud_connectivity.py b/libs/cloudapi/cloud_utility/cloud_connectivity.py new file mode 100644 index 000000000..832d23475 --- /dev/null +++ b/libs/cloudapi/cloud_utility/cloud_connectivity.py @@ -0,0 +1,72 @@ +""" +cloud_connectivity.py : + +ConnectCloud : has methods to invoke the connections to the cloud constructor + default constructor of ConnectCloud class (args: testbed-name) +get_bearer() : It is called by default from the constructor itself. bearer gets expired in 3000 seconds +refresh_bearer() : It is used to refresh the Connectivity. It can be used for Long test runs + +""" + +import sys + +if "cloudsdk" not in sys.path: + sys.path.append("../cloudsdk") + +from swagger_client.api.login_api import LoginApi +from swagger_client.api.equipment_api import EquipmentApi +from swagger_client.api_client import ApiClient + +# Testbed name and its respective urls, Modify and add accordingly +cloud_sdk_base_urls = { + "nola-01": "https://wlan-portal-svc-nola-01.cicd.lab.wlan.tip.build", + "nola-02": "https://wlan-portal-svc-nola-02.cicd.lab.wlan.tip.build", + "nola-03": "https://wlan-portal-svc-nola-03.cicd.lab.wlan.tip.build", + "nola-04": "https://wlan-portal-svc-nola-04.cicd.lab.wlan.tip.build", + "nola-05": "https://wlan-portal-svc-nola-05.cicd.lab.wlan.tip.build", + "nola-06": "https://wlan-portal-svc-nola-06.cicd.lab.wlan.tip.build", + "nola-07": "https://wlan-portal-svc-nola-07.cicd.lab.wlan.tip.build", + "nola-08": "https://wlan-portal-svc-nola-08.cicd.lab.wlan.tip.build", + "nola-09": "https://wlan-portal-svc-nola-09.cicd.lab.wlan.tip.build", + "nola-10": "https://wlan-portal-svc-nola-10.cicd.lab.wlan.tip.build", + "nola-11": "https://wlan-portal-svc-nola-11.cicd.lab.wlan.tip.build" +} +login_credentials = { + "userId": "support@example.com", + "password": "support" +} + + +class cloudsdk: + + def __init__(self, testbed="nola-01"): + self.testbed = testbed + self.sdk_base_url = cloud_sdk_base_urls[self.testbed] + self.login_credentials = login_credentials + self.api_client = ApiClient(sdk_base_url=self.sdk_base_url) + self.login_api = LoginApi(api_client=self.api_client) + self.equipment_api = EquipmentApi(api_client=self.api_client) + self.get_or_refresh_bearer() + + def get_or_refresh_bearer(self): + bearer = self.login_api.get_access_token(self.login_credentials) + # print(bearer) + return bearer + + def get_equipment_by_id(self, customer_id=None): + pagination_context = { + "model_type": "PaginationContext", + "maxItemsPerPage": 10 + } + return self.equipment_api.get_equipment_by_customer_id(customer_id=customer_id, pagination_context=pagination_context) + + +def main(): + cloudsdk() + + + + +if __name__ == "__main__": + main() + diff --git a/libs/cloudapi/cloud_utility/cloudapi.py b/libs/cloudapi/cloud_utility/cloudapi.py new file mode 100644 index 000000000..c0949ffa9 --- /dev/null +++ b/libs/cloudapi/cloud_utility/cloudapi.py @@ -0,0 +1,84 @@ +#!/usr/bin/python3 +import requests + + +class CloudAPI: + + def __init__(self, + cloud_credentials, + testbed_urls, + target_testbed, + equipment_ids=None, + target_model="ecw5410"): + self.user = cloud_credentials["user"] + self.password = cloud_credentials["password"] + self.cloudSDK_url = testbed_urls[target_testbed]["url"] + self.cloud_type = "v1" + self.bearer = self.get_bearer_token(cloud_type=self.cloud_type) + pass + + def get_bearer_token(self, cloud_type="v1"): + cloud_login_url = self.cloudSDK_url + "/management/" + cloud_type + "/oauth2/token" + payload = ''' + { + "userId": "''' + self.user + '''", + "password": "''' + self.password + '''" + } + ''' + headers = { + 'Content-Type': 'application/json' + } + try: + token_response = requests.request("POST", cloud_login_url, headers=headers, data=payload) + self.check_response("POST", token_response, headers, payload, cloud_login_url) + except requests.exceptions.RequestException as e: + raise SystemExit("Exiting Script! Cloud not get bearer token for reason:", e) + token_data = token_response.json() + bearer_token = token_data['access_token'] + return bearer_token + + def refresh_bearer_token(self): + self.bearer = self.get_bearer_token(cloud_type=self.cloud_type) + + def check_response(self, cmd, response, headers, data_str, url): + if response.status_code >= 500: + if response.status_code >= 500: + print("check-response: ERROR, url: ", url) + else: + print("check-response: url: ", url) + print("Command: ", cmd) + print("response-status: ", response.status_code) + print("response-headers: ", response.headers) + print("response-content: ", response.content) + print("headers: ", headers) + print("data-str: ", data_str) + + if response.status_code >= 500: + if self.assert_bad_response: + raise NameError("Invalid response code.") + return False + return True + + def get_equipment(self, equipment_id): + + request_data = { + "equipmentType": "AP", + "customerId": 2, + "profileId": 1, + "locationId": 2, + "inventoryId": "example_ap", + "serial": "example_serial", + "name": "example AP" + } + equipment_data = { + "equipmentType": "AP", + "customerId": 2, + "profileId": 1, + "locationId": 2, + "inventoryId": "example_ap", + "serial": "example_serial", + "name": "example AP" + } + url = self.cloudSDK_url + "/portal/equipment/forCustomer" + "?customerId=" + customer_id + return self.get_paged_url(self.bearer, url) + pass diff --git a/libs/cloudapi/cloud_utility/equipment_utility.py b/libs/cloudapi/cloud_utility/equipment_utility.py new file mode 100644 index 000000000..fe3f10871 --- /dev/null +++ b/libs/cloudapi/cloud_utility/equipment_utility.py @@ -0,0 +1,22 @@ +""" +cloud_connectivity.py : + +ConnectCloud : has methods to invoke the connections to the cloud constructor + default constructor of ConnectCloud class (args: testbed-name) +get_bearer() : It is called by default from the constructor itself. bearer gets expired in 3000 seconds +refresh_bearer() : It is used to refresh the Connectivity. It can be used for Long test runs + +""" + +import sys + +if "cloudsdk" not in sys.path: + sys.path.append("../cloudsdk") + +from swagger_client.api.login_api import LoginApi + +class EquipmentUtility: + + def __init__(self, sdk_base_url=None, bearer=None): + self.sdk_base_url = sdk_base_url + self.bearer = bearer diff --git a/libs/cloudapi/cloudsdk/.gitignore b/libs/cloudapi/cloudsdk/.gitignore new file mode 100644 index 000000000..a655050c2 --- /dev/null +++ b/libs/cloudapi/cloudsdk/.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/libs/cloudapi/cloudsdk/.idea/ cloudsdk.iml b/libs/cloudapi/cloudsdk/.idea/ cloudsdk.iml new file mode 100644 index 000000000..d0876a78d --- /dev/null +++ b/libs/cloudapi/cloudsdk/.idea/ cloudsdk.iml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/libs/cloudapi/cloudsdk/.idea/inspectionProfiles/Project_Default.xml b/libs/cloudapi/cloudsdk/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 000000000..00e8f1048 --- /dev/null +++ b/libs/cloudapi/cloudsdk/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,12 @@ + + + + \ No newline at end of file diff --git a/libs/cloudapi/cloudsdk/.idea/inspectionProfiles/profiles_settings.xml b/libs/cloudapi/cloudsdk/.idea/inspectionProfiles/profiles_settings.xml new file mode 100644 index 000000000..105ce2da2 --- /dev/null +++ b/libs/cloudapi/cloudsdk/.idea/inspectionProfiles/profiles_settings.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/libs/cloudapi/cloudsdk/.idea/modules.xml b/libs/cloudapi/cloudsdk/.idea/modules.xml new file mode 100644 index 000000000..8a9a7c865 --- /dev/null +++ b/libs/cloudapi/cloudsdk/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/libs/cloudapi/cloudsdk/.idea/workspace.xml b/libs/cloudapi/cloudsdk/.idea/workspace.xml new file mode 100644 index 000000000..60456a07e --- /dev/null +++ b/libs/cloudapi/cloudsdk/.idea/workspace.xml @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + 1614583394565 + + + + \ No newline at end of file diff --git a/libs/cloudapi/cloudsdk/.swagger-codegen-ignore b/libs/cloudapi/cloudsdk/.swagger-codegen-ignore new file mode 100644 index 000000000..c5fa491b4 --- /dev/null +++ b/libs/cloudapi/cloudsdk/.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/libs/cloudapi/cloudsdk/.swagger-codegen/VERSION b/libs/cloudapi/cloudsdk/.swagger-codegen/VERSION new file mode 100644 index 000000000..b39b0b9e0 --- /dev/null +++ b/libs/cloudapi/cloudsdk/.swagger-codegen/VERSION @@ -0,0 +1 @@ +3.0.24 \ No newline at end of file diff --git a/libs/cloudapi/cloudsdk/.travis.yml b/libs/cloudapi/cloudsdk/.travis.yml new file mode 100644 index 000000000..dd6c4450a --- /dev/null +++ b/libs/cloudapi/cloudsdk/.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/libs/cloudapi/cloudsdk/README.md b/libs/cloudapi/cloudsdk/README.md new file mode 100644 index 000000000..e675b1120 --- /dev/null +++ b/libs/cloudapi/cloudsdk/README.md @@ -0,0 +1,647 @@ +# swagger-client +APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. + +This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project: + +- API version: 1.0.0 +- Package version: 1.0.0 +- Build package: io.swagger.codegen.v3.generators.python.PythonClientCodegen + +## Requirements. + +Python 2.7 and 3.4+ + +## Installation & Usage +### pip install + +If the python package is hosted on Github, you can install directly from Github + +```sh +pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git +``` +(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git`) + +Then import the package: +```python +import swagger_client +``` + +### Setuptools + +Install via [Setuptools](http://pypi.python.org/pypi/setuptools). + +```sh +python setup.py install --user +``` +(or `sudo python setup.py install` to install the package for all users) + +Then import the package: +```python +import swagger_client +``` + +## Getting Started + +Please follow the [installation procedure](#installation--usage) and then run the following: + +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.AlarmsApi(swagger_client.ApiClient(configuration)) +customer_id = 56 # int | +equipment_id = 789 # int | +alarm_code = swagger_client.AlarmCode() # AlarmCode | +created_timestamp = 789 # int | + +try: + # Delete Alarm + api_response = api_instance.delete_alarm(customer_id, equipment_id, alarm_code, created_timestamp) + pprint(api_response) +except ApiException as e: + print("Exception when calling AlarmsApi->delete_alarm: %s\n" % e) + + +# create an instance of the API class +api_instance = swagger_client.AlarmsApi(swagger_client.ApiClient(configuration)) +customer_id = 56 # int | customer id +equipment_ids = [56] # list[int] | Set of equipment ids. Empty or null means retrieve for all equipment for the customer. (optional) +alarm_codes = [swagger_client.AlarmCode()] # list[AlarmCode] | Set of alarm codes. Empty or null means retrieve all. (optional) + +try: + # Get counts of Alarms for customerId, optional set of equipment ids, optional set of alarm codes. + api_response = api_instance.get_alarm_counts(customer_id, equipment_ids=equipment_ids, alarm_codes=alarm_codes) + pprint(api_response) +except ApiException as e: + print("Exception when calling AlarmsApi->get_alarm_counts: %s\n" % e) + + +# create an instance of the API class +api_instance = swagger_client.AlarmsApi(swagger_client.ApiClient(configuration)) +customer_id = 56 # int | customer id +pagination_context = swagger_client.PaginationContextAlarm() # PaginationContextAlarm | pagination context +equipment_ids = [56] # list[int] | Set of equipment ids. Empty or null means retrieve all equipment for the customer. (optional) +alarm_codes = [swagger_client.AlarmCode()] # list[AlarmCode] | Set of alarm codes. Empty or null means retrieve all. (optional) +created_after_timestamp = -1 # int | retrieve alarms created after the specified time (optional) (default to -1) +sort_by = [swagger_client.SortColumnsAlarm()] # list[SortColumnsAlarm] | sort options (optional) + +try: + # Get list of Alarms for customerId, optional set of equipment ids, optional set of alarm codes. + api_response = api_instance.get_alarmsfor_customer(customer_id, pagination_context, equipment_ids=equipment_ids, alarm_codes=alarm_codes, created_after_timestamp=created_after_timestamp, sort_by=sort_by) + pprint(api_response) +except ApiException as e: + print("Exception when calling AlarmsApi->get_alarmsfor_customer: %s\n" % e) + + +# create an instance of the API class +api_instance = swagger_client.AlarmsApi(swagger_client.ApiClient(configuration)) +customer_id = 56 # int | customer id +equipment_ids = [56] # list[int] | Set of equipment ids. Must not be empty. +alarm_codes = [swagger_client.AlarmCode()] # list[AlarmCode] | Set of alarm codes. Empty or null means retrieve all. (optional) +created_after_timestamp = -1 # int | retrieve alarms created after the specified time (optional) (default to -1) + +try: + # Get list of Alarms for customerId, set of equipment ids, and set of alarm codes. + api_response = api_instance.get_alarmsfor_equipment(customer_id, equipment_ids, alarm_codes=alarm_codes, created_after_timestamp=created_after_timestamp) + pprint(api_response) +except ApiException as e: + print("Exception when calling AlarmsApi->get_alarmsfor_equipment: %s\n" % e) + + +# create an instance of the API class +api_instance = swagger_client.AlarmsApi(swagger_client.ApiClient(configuration)) + +try: + # Reset accumulated counts of Alarms. + api_response = api_instance.reset_alarm_counts() + pprint(api_response) +except ApiException as e: + print("Exception when calling AlarmsApi->reset_alarm_counts: %s\n" % e) + + +# create an instance of the API class +api_instance = swagger_client.AlarmsApi(swagger_client.ApiClient(configuration)) +body = swagger_client.Alarm() # Alarm | Alarm info + +try: + # Update Alarm + api_response = api_instance.update_alarm(body) + pprint(api_response) +except ApiException as e: + print("Exception when calling AlarmsApi->update_alarm: %s\n" % e) +``` + +## Documentation for API Endpoints + +All URIs are relative to *https://localhost:9091* + +Class | Method | HTTP request | Description +------------ | ------------- | ------------- | ------------- +*AlarmsApi* | [**delete_alarm**](docs/AlarmsApi.md#delete_alarm) | **DELETE** /portal/alarm | Delete Alarm +*AlarmsApi* | [**get_alarm_counts**](docs/AlarmsApi.md#get_alarm_counts) | **GET** /portal/alarm/counts | Get counts of Alarms for customerId, optional set of equipment ids, optional set of alarm codes. +*AlarmsApi* | [**get_alarmsfor_customer**](docs/AlarmsApi.md#get_alarmsfor_customer) | **GET** /portal/alarm/forCustomer | Get list of Alarms for customerId, optional set of equipment ids, optional set of alarm codes. +*AlarmsApi* | [**get_alarmsfor_equipment**](docs/AlarmsApi.md#get_alarmsfor_equipment) | **GET** /portal/alarm/forEquipment | Get list of Alarms for customerId, set of equipment ids, and set of alarm codes. +*AlarmsApi* | [**reset_alarm_counts**](docs/AlarmsApi.md#reset_alarm_counts) | **POST** /portal/alarm/resetCounts | Reset accumulated counts of Alarms. +*AlarmsApi* | [**update_alarm**](docs/AlarmsApi.md#update_alarm) | **PUT** /portal/alarm | Update Alarm +*ClientsApi* | [**get_all_client_sessions_in_set**](docs/ClientsApi.md#get_all_client_sessions_in_set) | **GET** /portal/client/session/inSet | Get list of Client sessions for customerId and a set of client MAC addresses. +*ClientsApi* | [**get_all_clients_in_set**](docs/ClientsApi.md#get_all_clients_in_set) | **GET** /portal/client/inSet | Get list of Clients for customerId and a set of client MAC addresses. +*ClientsApi* | [**get_blocked_clients**](docs/ClientsApi.md#get_blocked_clients) | **GET** /portal/client/blocked | Retrieves a list of Clients for the customer that are marked as blocked. This per-customer list of blocked clients is pushed to every AP, so it has to be limited in size. +*ClientsApi* | [**get_client_session_by_customer_with_filter**](docs/ClientsApi.md#get_client_session_by_customer_with_filter) | **GET** /portal/client/session/forCustomer | Get list of Client sessions for customerId and a set of equipment/location ids. Equipment and locations filters are joined using logical AND operation. +*ClientsApi* | [**get_for_customer**](docs/ClientsApi.md#get_for_customer) | **GET** /portal/client/forCustomer | Get list of clients for a given customer by equipment ids +*ClientsApi* | [**search_by_mac_address**](docs/ClientsApi.md#search_by_mac_address) | **GET** /portal/client/searchByMac | Get list of Clients for customerId and searching by macSubstring. +*ClientsApi* | [**update_client**](docs/ClientsApi.md#update_client) | **PUT** /portal/client | Update Client +*CustomerApi* | [**get_customer_by_id**](docs/CustomerApi.md#get_customer_by_id) | **GET** /portal/customer | Get Customer By Id +*CustomerApi* | [**update_customer**](docs/CustomerApi.md#update_customer) | **PUT** /portal/customer | Update Customer +*EquipmentApi* | [**create_equipment**](docs/EquipmentApi.md#create_equipment) | **POST** /portal/equipment | Create new Equipment +*EquipmentApi* | [**delete_equipment**](docs/EquipmentApi.md#delete_equipment) | **DELETE** /portal/equipment | Delete Equipment +*EquipmentApi* | [**get_default_equipment_details**](docs/EquipmentApi.md#get_default_equipment_details) | **GET** /portal/equipment/defaultDetails | Get default values for Equipment details for a specific equipment type +*EquipmentApi* | [**get_equipment_by_customer_id**](docs/EquipmentApi.md#get_equipment_by_customer_id) | **GET** /portal/equipment/forCustomer | Get Equipment By customerId +*EquipmentApi* | [**get_equipment_by_customer_with_filter**](docs/EquipmentApi.md#get_equipment_by_customer_with_filter) | **GET** /portal/equipment/forCustomerWithFilter | Get Equipment for customerId, equipment type, and location id +*EquipmentApi* | [**get_equipment_by_id**](docs/EquipmentApi.md#get_equipment_by_id) | **GET** /portal/equipment | Get Equipment By Id +*EquipmentApi* | [**get_equipment_by_set_of_ids**](docs/EquipmentApi.md#get_equipment_by_set_of_ids) | **GET** /portal/equipment/inSet | Get Equipment By a set of ids +*EquipmentApi* | [**update_equipment**](docs/EquipmentApi.md#update_equipment) | **PUT** /portal/equipment | Update Equipment +*EquipmentApi* | [**update_equipment_rrm_bulk**](docs/EquipmentApi.md#update_equipment_rrm_bulk) | **PUT** /portal/equipment/rrmBulk | Update RRM related properties of Equipment in bulk +*EquipmentGatewayApi* | [**request_ap_factory_reset**](docs/EquipmentGatewayApi.md#request_ap_factory_reset) | **POST** /portal/equipmentGateway/requestApFactoryReset | Request factory reset for a particular equipment. +*EquipmentGatewayApi* | [**request_ap_reboot**](docs/EquipmentGatewayApi.md#request_ap_reboot) | **POST** /portal/equipmentGateway/requestApReboot | Request reboot for a particular equipment. +*EquipmentGatewayApi* | [**request_ap_switch_software_bank**](docs/EquipmentGatewayApi.md#request_ap_switch_software_bank) | **POST** /portal/equipmentGateway/requestApSwitchSoftwareBank | Request switch of active/inactive sw bank for a particular equipment. +*EquipmentGatewayApi* | [**request_channel_change**](docs/EquipmentGatewayApi.md#request_channel_change) | **POST** /portal/equipmentGateway/requestChannelChange | Request change of primary and/or backup channels for given frequency bands. +*EquipmentGatewayApi* | [**request_firmware_update**](docs/EquipmentGatewayApi.md#request_firmware_update) | **POST** /portal/equipmentGateway/requestFirmwareUpdate | Request firmware update for a particular equipment. +*FileServicesApi* | [**download_binary_file**](docs/FileServicesApi.md#download_binary_file) | **GET** /filestore/{fileName} | Download binary file. +*FileServicesApi* | [**upload_binary_file**](docs/FileServicesApi.md#upload_binary_file) | **POST** /filestore/{fileName} | Upload binary file. +*FirmwareManagementApi* | [**create_customer_firmware_track_record**](docs/FirmwareManagementApi.md#create_customer_firmware_track_record) | **POST** /portal/firmware/customerTrack | Create new CustomerFirmwareTrackRecord +*FirmwareManagementApi* | [**create_firmware_track_record**](docs/FirmwareManagementApi.md#create_firmware_track_record) | **POST** /portal/firmware/track | Create new FirmwareTrackRecord +*FirmwareManagementApi* | [**create_firmware_version**](docs/FirmwareManagementApi.md#create_firmware_version) | **POST** /portal/firmware/version | Create new FirmwareVersion +*FirmwareManagementApi* | [**delete_customer_firmware_track_record**](docs/FirmwareManagementApi.md#delete_customer_firmware_track_record) | **DELETE** /portal/firmware/customerTrack | Delete CustomerFirmwareTrackRecord +*FirmwareManagementApi* | [**delete_firmware_track_assignment**](docs/FirmwareManagementApi.md#delete_firmware_track_assignment) | **DELETE** /portal/firmware/trackAssignment | Delete FirmwareTrackAssignment +*FirmwareManagementApi* | [**delete_firmware_track_record**](docs/FirmwareManagementApi.md#delete_firmware_track_record) | **DELETE** /portal/firmware/track | Delete FirmwareTrackRecord +*FirmwareManagementApi* | [**delete_firmware_version**](docs/FirmwareManagementApi.md#delete_firmware_version) | **DELETE** /portal/firmware/version | Delete FirmwareVersion +*FirmwareManagementApi* | [**get_customer_firmware_track_record**](docs/FirmwareManagementApi.md#get_customer_firmware_track_record) | **GET** /portal/firmware/customerTrack | Get CustomerFirmwareTrackRecord By customerId +*FirmwareManagementApi* | [**get_default_customer_track_setting**](docs/FirmwareManagementApi.md#get_default_customer_track_setting) | **GET** /portal/firmware/customerTrack/default | Get default settings for handling automatic firmware upgrades +*FirmwareManagementApi* | [**get_firmware_model_ids_by_equipment_type**](docs/FirmwareManagementApi.md#get_firmware_model_ids_by_equipment_type) | **GET** /portal/firmware/model/byEquipmentType | Get equipment models from all known firmware versions filtered by equipmentType +*FirmwareManagementApi* | [**get_firmware_track_assignment_details**](docs/FirmwareManagementApi.md#get_firmware_track_assignment_details) | **GET** /portal/firmware/trackAssignment | Get FirmwareTrackAssignmentDetails for a given firmware track name +*FirmwareManagementApi* | [**get_firmware_track_record**](docs/FirmwareManagementApi.md#get_firmware_track_record) | **GET** /portal/firmware/track | Get FirmwareTrackRecord By Id +*FirmwareManagementApi* | [**get_firmware_track_record_by_name**](docs/FirmwareManagementApi.md#get_firmware_track_record_by_name) | **GET** /portal/firmware/track/byName | Get FirmwareTrackRecord By name +*FirmwareManagementApi* | [**get_firmware_version**](docs/FirmwareManagementApi.md#get_firmware_version) | **GET** /portal/firmware/version | Get FirmwareVersion By Id +*FirmwareManagementApi* | [**get_firmware_version_by_equipment_type**](docs/FirmwareManagementApi.md#get_firmware_version_by_equipment_type) | **GET** /portal/firmware/version/byEquipmentType | Get FirmwareVersions filtered by equipmentType and optional equipment model +*FirmwareManagementApi* | [**get_firmware_version_by_name**](docs/FirmwareManagementApi.md#get_firmware_version_by_name) | **GET** /portal/firmware/version/byName | Get FirmwareVersion By name +*FirmwareManagementApi* | [**update_customer_firmware_track_record**](docs/FirmwareManagementApi.md#update_customer_firmware_track_record) | **PUT** /portal/firmware/customerTrack | Update CustomerFirmwareTrackRecord +*FirmwareManagementApi* | [**update_firmware_track_assignment_details**](docs/FirmwareManagementApi.md#update_firmware_track_assignment_details) | **PUT** /portal/firmware/trackAssignment | Update FirmwareTrackAssignmentDetails +*FirmwareManagementApi* | [**update_firmware_track_record**](docs/FirmwareManagementApi.md#update_firmware_track_record) | **PUT** /portal/firmware/track | Update FirmwareTrackRecord +*FirmwareManagementApi* | [**update_firmware_version**](docs/FirmwareManagementApi.md#update_firmware_version) | **PUT** /portal/firmware/version | Update FirmwareVersion +*LocationApi* | [**create_location**](docs/LocationApi.md#create_location) | **POST** /portal/location | Create new Location +*LocationApi* | [**delete_location**](docs/LocationApi.md#delete_location) | **DELETE** /portal/location | Delete Location +*LocationApi* | [**get_location_by_id**](docs/LocationApi.md#get_location_by_id) | **GET** /portal/location | Get Location By Id +*LocationApi* | [**get_location_by_set_of_ids**](docs/LocationApi.md#get_location_by_set_of_ids) | **GET** /portal/location/inSet | Get Locations By a set of ids +*LocationApi* | [**get_locations_by_customer_id**](docs/LocationApi.md#get_locations_by_customer_id) | **GET** /portal/location/forCustomer | Get Locations By customerId +*LocationApi* | [**update_location**](docs/LocationApi.md#update_location) | **PUT** /portal/location | Update Location +*LoginApi* | [**get_access_token**](docs/LoginApi.md#get_access_token) | **POST** /management/v1/oauth2/token | Get access token - to be used as Bearer token header for all other API requests. +*LoginApi* | [**portal_ping**](docs/LoginApi.md#portal_ping) | **GET** /ping | Portal proces version info. +*ManufacturerOUIApi* | [**create_manufacturer_details_record**](docs/ManufacturerOUIApi.md#create_manufacturer_details_record) | **POST** /portal/manufacturer | Create new ManufacturerDetailsRecord +*ManufacturerOUIApi* | [**create_manufacturer_oui_details**](docs/ManufacturerOUIApi.md#create_manufacturer_oui_details) | **POST** /portal/manufacturer/oui | Create new ManufacturerOuiDetails +*ManufacturerOUIApi* | [**delete_manufacturer_details_record**](docs/ManufacturerOUIApi.md#delete_manufacturer_details_record) | **DELETE** /portal/manufacturer | Delete ManufacturerDetailsRecord +*ManufacturerOUIApi* | [**delete_manufacturer_oui_details**](docs/ManufacturerOUIApi.md#delete_manufacturer_oui_details) | **DELETE** /portal/manufacturer/oui | Delete ManufacturerOuiDetails +*ManufacturerOUIApi* | [**get_alias_values_that_begin_with**](docs/ManufacturerOUIApi.md#get_alias_values_that_begin_with) | **GET** /portal/manufacturer/oui/alias | Get manufacturer aliases that begin with the given prefix +*ManufacturerOUIApi* | [**get_all_manufacturer_oui_details**](docs/ManufacturerOUIApi.md#get_all_manufacturer_oui_details) | **GET** /portal/manufacturer/oui/all | Get all ManufacturerOuiDetails +*ManufacturerOUIApi* | [**get_manufacturer_details_for_oui_list**](docs/ManufacturerOUIApi.md#get_manufacturer_details_for_oui_list) | **GET** /portal/manufacturer/oui/list | Get ManufacturerOuiDetails for the list of OUIs +*ManufacturerOUIApi* | [**get_manufacturer_details_record**](docs/ManufacturerOUIApi.md#get_manufacturer_details_record) | **GET** /portal/manufacturer | Get ManufacturerDetailsRecord By id +*ManufacturerOUIApi* | [**get_manufacturer_oui_details_by_oui**](docs/ManufacturerOUIApi.md#get_manufacturer_oui_details_by_oui) | **GET** /portal/manufacturer/oui | Get ManufacturerOuiDetails By oui +*ManufacturerOUIApi* | [**get_oui_list_for_manufacturer**](docs/ManufacturerOUIApi.md#get_oui_list_for_manufacturer) | **GET** /portal/manufacturer/oui/forManufacturer | Get Oui List for manufacturer +*ManufacturerOUIApi* | [**update_manufacturer_details_record**](docs/ManufacturerOUIApi.md#update_manufacturer_details_record) | **PUT** /portal/manufacturer | Update ManufacturerDetailsRecord +*ManufacturerOUIApi* | [**update_oui_alias**](docs/ManufacturerOUIApi.md#update_oui_alias) | **PUT** /portal/manufacturer/oui/alias | Update alias for ManufacturerOuiDetails +*ManufacturerOUIApi* | [**upload_oui_data_file**](docs/ManufacturerOUIApi.md#upload_oui_data_file) | **POST** /portal/manufacturer/oui/upload | Upload the gziped OUI DataFile, in the format that is published by IEEE. Latest sanitized IEEE OUI data file (oui.txt.gz) can be obtained from https://linuxnet.ca/ieee/oui/ +*ManufacturerOUIApi* | [**upload_oui_data_file_base64**](docs/ManufacturerOUIApi.md#upload_oui_data_file_base64) | **POST** /portal/manufacturer/oui/upload/base64 | Upload the gziped OUI DataFile using base64 encoding, in the format that is published by IEEE. Latest sanitized IEEE OUI data file (oui.txt.gz) can be obtained from https://linuxnet.ca/ieee/oui/ +*PortalUsersApi* | [**create_portal_user**](docs/PortalUsersApi.md#create_portal_user) | **POST** /portal/portalUser | Create new Portal User +*PortalUsersApi* | [**delete_portal_user**](docs/PortalUsersApi.md#delete_portal_user) | **DELETE** /portal/portalUser | Delete PortalUser +*PortalUsersApi* | [**get_portal_user_by_id**](docs/PortalUsersApi.md#get_portal_user_by_id) | **GET** /portal/portalUser | Get portal user By Id +*PortalUsersApi* | [**get_portal_user_by_username**](docs/PortalUsersApi.md#get_portal_user_by_username) | **GET** /portal/portalUser/byUsernameOrNull | Get portal user by user name +*PortalUsersApi* | [**get_portal_users_by_customer_id**](docs/PortalUsersApi.md#get_portal_users_by_customer_id) | **GET** /portal/portalUser/forCustomer | Get PortalUsers By customerId +*PortalUsersApi* | [**get_portal_users_by_set_of_ids**](docs/PortalUsersApi.md#get_portal_users_by_set_of_ids) | **GET** /portal/portalUser/inSet | Get PortalUsers By a set of ids +*PortalUsersApi* | [**get_users_for_username**](docs/PortalUsersApi.md#get_users_for_username) | **GET** /portal/portalUser/usersForUsername | Get Portal Users for username +*PortalUsersApi* | [**update_portal_user**](docs/PortalUsersApi.md#update_portal_user) | **PUT** /portal/portalUser | Update PortalUser +*ProfileApi* | [**create_profile**](docs/ProfileApi.md#create_profile) | **POST** /portal/profile | Create new Profile +*ProfileApi* | [**delete_profile**](docs/ProfileApi.md#delete_profile) | **DELETE** /portal/profile | Delete Profile +*ProfileApi* | [**get_counts_of_equipment_that_use_profiles**](docs/ProfileApi.md#get_counts_of_equipment_that_use_profiles) | **GET** /portal/profile/equipmentCounts | Get counts of equipment that use specified profiles +*ProfileApi* | [**get_profile_by_id**](docs/ProfileApi.md#get_profile_by_id) | **GET** /portal/profile | Get Profile By Id +*ProfileApi* | [**get_profile_with_children**](docs/ProfileApi.md#get_profile_with_children) | **GET** /portal/profile/withChildren | Get Profile and all its associated children +*ProfileApi* | [**get_profiles_by_customer_id**](docs/ProfileApi.md#get_profiles_by_customer_id) | **GET** /portal/profile/forCustomer | Get Profiles By customerId +*ProfileApi* | [**get_profiles_by_set_of_ids**](docs/ProfileApi.md#get_profiles_by_set_of_ids) | **GET** /portal/profile/inSet | Get Profiles By a set of ids +*ProfileApi* | [**update_profile**](docs/ProfileApi.md#update_profile) | **PUT** /portal/profile | Update Profile +*ServiceAdoptionMetricsApi* | [**get_adoption_metrics_all_per_day**](docs/ServiceAdoptionMetricsApi.md#get_adoption_metrics_all_per_day) | **GET** /portal/adoptionMetrics/allPerDay | Get daily service adoption metrics for a given year +*ServiceAdoptionMetricsApi* | [**get_adoption_metrics_all_per_month**](docs/ServiceAdoptionMetricsApi.md#get_adoption_metrics_all_per_month) | **GET** /portal/adoptionMetrics/allPerMonth | Get monthly service adoption metrics for a given year +*ServiceAdoptionMetricsApi* | [**get_adoption_metrics_all_per_week**](docs/ServiceAdoptionMetricsApi.md#get_adoption_metrics_all_per_week) | **GET** /portal/adoptionMetrics/allPerWeek | Get weekly service adoption metrics for a given year +*ServiceAdoptionMetricsApi* | [**get_adoption_metrics_per_customer_per_day**](docs/ServiceAdoptionMetricsApi.md#get_adoption_metrics_per_customer_per_day) | **GET** /portal/adoptionMetrics/perCustomerPerDay | Get daily service adoption metrics for a given year aggregated by customer and filtered by specified customer ids +*ServiceAdoptionMetricsApi* | [**get_adoption_metrics_per_equipment_per_day**](docs/ServiceAdoptionMetricsApi.md#get_adoption_metrics_per_equipment_per_day) | **GET** /portal/adoptionMetrics/perEquipmentPerDay | Get daily service adoption metrics for a given year filtered by specified equipment ids +*ServiceAdoptionMetricsApi* | [**get_adoption_metrics_per_location_per_day**](docs/ServiceAdoptionMetricsApi.md#get_adoption_metrics_per_location_per_day) | **GET** /portal/adoptionMetrics/perLocationPerDay | Get daily service adoption metrics for a given year aggregated by location and filtered by specified location ids +*StatusApi* | [**get_status_by_customer_equipment**](docs/StatusApi.md#get_status_by_customer_equipment) | **GET** /portal/status/forEquipment | Get all Status objects for a given customer equipment. +*StatusApi* | [**get_status_by_customer_equipment_with_filter**](docs/StatusApi.md#get_status_by_customer_equipment_with_filter) | **GET** /portal/status/forEquipmentWithFilter | Get Status objects for a given customer equipment ids and status data types. +*StatusApi* | [**get_status_by_customer_id**](docs/StatusApi.md#get_status_by_customer_id) | **GET** /portal/status/forCustomer | Get all Status objects By customerId +*StatusApi* | [**get_status_by_customer_with_filter**](docs/StatusApi.md#get_status_by_customer_with_filter) | **GET** /portal/status/forCustomerWithFilter | Get list of Statuses for customerId, set of equipment ids, and set of status data types. +*SystemEventsApi* | [**get_system_eventsfor_customer**](docs/SystemEventsApi.md#get_system_eventsfor_customer) | **GET** /portal/systemEvent/forCustomer | Get list of System Events for customerId, optional set of equipment ids, and optional set of data types. Only events that are created between specified fromTime and toTime are retrieved. +*WLANServiceMetricsApi* | [**get_service_metricsfor_customer**](docs/WLANServiceMetricsApi.md#get_service_metricsfor_customer) | **GET** /portal/serviceMetric/forCustomer | Get list of WLAN Service Metrics for customerId, optional set of location ids, optional set of equipment ids, optional set of client MAC addresses, optional set of metric data types. Only metrics that are created between specified fromTime and toTime are retrieved. + +## Documentation For Models + + - [AclTemplate](docs/AclTemplate.md) + - [ActiveBSSID](docs/ActiveBSSID.md) + - [ActiveBSSIDs](docs/ActiveBSSIDs.md) + - [ActiveScanSettings](docs/ActiveScanSettings.md) + - [AdvancedRadioMap](docs/AdvancedRadioMap.md) + - [Alarm](docs/Alarm.md) + - [AlarmAddedEvent](docs/AlarmAddedEvent.md) + - [AlarmChangedEvent](docs/AlarmChangedEvent.md) + - [AlarmCode](docs/AlarmCode.md) + - [AlarmCounts](docs/AlarmCounts.md) + - [AlarmDetails](docs/AlarmDetails.md) + - [AlarmDetailsAttributesMap](docs/AlarmDetailsAttributesMap.md) + - [AlarmRemovedEvent](docs/AlarmRemovedEvent.md) + - [AlarmScopeType](docs/AlarmScopeType.md) + - [AntennaType](docs/AntennaType.md) + - [ApElementConfiguration](docs/ApElementConfiguration.md) + - [ApMeshMode](docs/ApMeshMode.md) + - [ApNetworkConfiguration](docs/ApNetworkConfiguration.md) + - [ApNetworkConfigurationNtpServer](docs/ApNetworkConfigurationNtpServer.md) + - [ApNodeMetrics](docs/ApNodeMetrics.md) + - [ApPerformance](docs/ApPerformance.md) + - [ApSsidMetrics](docs/ApSsidMetrics.md) + - [AutoOrManualString](docs/AutoOrManualString.md) + - [AutoOrManualValue](docs/AutoOrManualValue.md) + - [BackgroundPosition](docs/BackgroundPosition.md) + - [BackgroundRepeat](docs/BackgroundRepeat.md) + - [BannedChannel](docs/BannedChannel.md) + - [BaseDhcpEvent](docs/BaseDhcpEvent.md) + - [BestAPSteerType](docs/BestAPSteerType.md) + - [BlocklistDetails](docs/BlocklistDetails.md) + - [BonjourGatewayProfile](docs/BonjourGatewayProfile.md) + - [BonjourServiceSet](docs/BonjourServiceSet.md) + - [CapacityDetails](docs/CapacityDetails.md) + - [CapacityPerRadioDetails](docs/CapacityPerRadioDetails.md) + - [CapacityPerRadioDetailsMap](docs/CapacityPerRadioDetailsMap.md) + - [CaptivePortalAuthenticationType](docs/CaptivePortalAuthenticationType.md) + - [CaptivePortalConfiguration](docs/CaptivePortalConfiguration.md) + - [ChannelBandwidth](docs/ChannelBandwidth.md) + - [ChannelHopReason](docs/ChannelHopReason.md) + - [ChannelHopSettings](docs/ChannelHopSettings.md) + - [ChannelInfo](docs/ChannelInfo.md) + - [ChannelInfoReports](docs/ChannelInfoReports.md) + - [ChannelPowerLevel](docs/ChannelPowerLevel.md) + - [ChannelUtilizationDetails](docs/ChannelUtilizationDetails.md) + - [ChannelUtilizationPerRadioDetails](docs/ChannelUtilizationPerRadioDetails.md) + - [ChannelUtilizationPerRadioDetailsMap](docs/ChannelUtilizationPerRadioDetailsMap.md) + - [ChannelUtilizationSurveyType](docs/ChannelUtilizationSurveyType.md) + - [Client](docs/Client.md) + - [ClientActivityAggregatedStats](docs/ClientActivityAggregatedStats.md) + - [ClientActivityAggregatedStatsPerRadioTypeMap](docs/ClientActivityAggregatedStatsPerRadioTypeMap.md) + - [ClientAddedEvent](docs/ClientAddedEvent.md) + - [ClientAssocEvent](docs/ClientAssocEvent.md) + - [ClientAuthEvent](docs/ClientAuthEvent.md) + - [ClientChangedEvent](docs/ClientChangedEvent.md) + - [ClientConnectSuccessEvent](docs/ClientConnectSuccessEvent.md) + - [ClientConnectionDetails](docs/ClientConnectionDetails.md) + - [ClientDhcpDetails](docs/ClientDhcpDetails.md) + - [ClientDisconnectEvent](docs/ClientDisconnectEvent.md) + - [ClientEapDetails](docs/ClientEapDetails.md) + - [ClientFailureDetails](docs/ClientFailureDetails.md) + - [ClientFailureEvent](docs/ClientFailureEvent.md) + - [ClientFirstDataEvent](docs/ClientFirstDataEvent.md) + - [ClientIdEvent](docs/ClientIdEvent.md) + - [ClientInfoDetails](docs/ClientInfoDetails.md) + - [ClientIpAddressEvent](docs/ClientIpAddressEvent.md) + - [ClientMetrics](docs/ClientMetrics.md) + - [ClientRemovedEvent](docs/ClientRemovedEvent.md) + - [ClientSession](docs/ClientSession.md) + - [ClientSessionChangedEvent](docs/ClientSessionChangedEvent.md) + - [ClientSessionDetails](docs/ClientSessionDetails.md) + - [ClientSessionMetricDetails](docs/ClientSessionMetricDetails.md) + - [ClientSessionRemovedEvent](docs/ClientSessionRemovedEvent.md) + - [ClientTimeoutEvent](docs/ClientTimeoutEvent.md) + - [ClientTimeoutReason](docs/ClientTimeoutReason.md) + - [CommonProbeDetails](docs/CommonProbeDetails.md) + - [CountryCode](docs/CountryCode.md) + - [CountsPerAlarmCodeMap](docs/CountsPerAlarmCodeMap.md) + - [CountsPerEquipmentIdPerAlarmCodeMap](docs/CountsPerEquipmentIdPerAlarmCodeMap.md) + - [Customer](docs/Customer.md) + - [CustomerAddedEvent](docs/CustomerAddedEvent.md) + - [CustomerChangedEvent](docs/CustomerChangedEvent.md) + - [CustomerDetails](docs/CustomerDetails.md) + - [CustomerFirmwareTrackRecord](docs/CustomerFirmwareTrackRecord.md) + - [CustomerFirmwareTrackSettings](docs/CustomerFirmwareTrackSettings.md) + - [CustomerPortalDashboardStatus](docs/CustomerPortalDashboardStatus.md) + - [CustomerRemovedEvent](docs/CustomerRemovedEvent.md) + - [DailyTimeRangeSchedule](docs/DailyTimeRangeSchedule.md) + - [DayOfWeek](docs/DayOfWeek.md) + - [DaysOfWeekTimeRangeSchedule](docs/DaysOfWeekTimeRangeSchedule.md) + - [DeploymentType](docs/DeploymentType.md) + - [DetectedAuthMode](docs/DetectedAuthMode.md) + - [DeviceMode](docs/DeviceMode.md) + - [DhcpAckEvent](docs/DhcpAckEvent.md) + - [DhcpDeclineEvent](docs/DhcpDeclineEvent.md) + - [DhcpDiscoverEvent](docs/DhcpDiscoverEvent.md) + - [DhcpInformEvent](docs/DhcpInformEvent.md) + - [DhcpNakEvent](docs/DhcpNakEvent.md) + - [DhcpOfferEvent](docs/DhcpOfferEvent.md) + - [DhcpRequestEvent](docs/DhcpRequestEvent.md) + - [DisconnectFrameType](docs/DisconnectFrameType.md) + - [DisconnectInitiator](docs/DisconnectInitiator.md) + - [DnsProbeMetric](docs/DnsProbeMetric.md) + - [DynamicVlanMode](docs/DynamicVlanMode.md) + - [ElementRadioConfiguration](docs/ElementRadioConfiguration.md) + - [ElementRadioConfigurationEirpTxPower](docs/ElementRadioConfigurationEirpTxPower.md) + - [EmptySchedule](docs/EmptySchedule.md) + - [Equipment](docs/Equipment.md) + - [EquipmentAddedEvent](docs/EquipmentAddedEvent.md) + - [EquipmentAdminStatusData](docs/EquipmentAdminStatusData.md) + - [EquipmentAutoProvisioningSettings](docs/EquipmentAutoProvisioningSettings.md) + - [EquipmentCapacityDetails](docs/EquipmentCapacityDetails.md) + - [EquipmentCapacityDetailsMap](docs/EquipmentCapacityDetailsMap.md) + - [EquipmentChangedEvent](docs/EquipmentChangedEvent.md) + - [EquipmentDetails](docs/EquipmentDetails.md) + - [EquipmentGatewayRecord](docs/EquipmentGatewayRecord.md) + - [EquipmentLANStatusData](docs/EquipmentLANStatusData.md) + - [EquipmentNeighbouringStatusData](docs/EquipmentNeighbouringStatusData.md) + - [EquipmentPeerStatusData](docs/EquipmentPeerStatusData.md) + - [EquipmentPerRadioUtilizationDetails](docs/EquipmentPerRadioUtilizationDetails.md) + - [EquipmentPerRadioUtilizationDetailsMap](docs/EquipmentPerRadioUtilizationDetailsMap.md) + - [EquipmentPerformanceDetails](docs/EquipmentPerformanceDetails.md) + - [EquipmentProtocolState](docs/EquipmentProtocolState.md) + - [EquipmentProtocolStatusData](docs/EquipmentProtocolStatusData.md) + - [EquipmentRemovedEvent](docs/EquipmentRemovedEvent.md) + - [EquipmentRoutingRecord](docs/EquipmentRoutingRecord.md) + - [EquipmentRrmBulkUpdateItem](docs/EquipmentRrmBulkUpdateItem.md) + - [EquipmentRrmBulkUpdateItemPerRadioMap](docs/EquipmentRrmBulkUpdateItemPerRadioMap.md) + - [EquipmentRrmBulkUpdateRequest](docs/EquipmentRrmBulkUpdateRequest.md) + - [EquipmentScanDetails](docs/EquipmentScanDetails.md) + - [EquipmentType](docs/EquipmentType.md) + - [EquipmentUpgradeFailureReason](docs/EquipmentUpgradeFailureReason.md) + - [EquipmentUpgradeState](docs/EquipmentUpgradeState.md) + - [EquipmentUpgradeStatusData](docs/EquipmentUpgradeStatusData.md) + - [EthernetLinkState](docs/EthernetLinkState.md) + - [FileCategory](docs/FileCategory.md) + - [FileType](docs/FileType.md) + - [FirmwareScheduleSetting](docs/FirmwareScheduleSetting.md) + - [FirmwareTrackAssignmentDetails](docs/FirmwareTrackAssignmentDetails.md) + - [FirmwareTrackAssignmentRecord](docs/FirmwareTrackAssignmentRecord.md) + - [FirmwareTrackRecord](docs/FirmwareTrackRecord.md) + - [FirmwareValidationMethod](docs/FirmwareValidationMethod.md) + - [FirmwareVersion](docs/FirmwareVersion.md) + - [GatewayAddedEvent](docs/GatewayAddedEvent.md) + - [GatewayChangedEvent](docs/GatewayChangedEvent.md) + - [GatewayRemovedEvent](docs/GatewayRemovedEvent.md) + - [GatewayType](docs/GatewayType.md) + - [GenericResponse](docs/GenericResponse.md) + - [GreTunnelConfiguration](docs/GreTunnelConfiguration.md) + - [GuardInterval](docs/GuardInterval.md) + - [IntegerPerRadioTypeMap](docs/IntegerPerRadioTypeMap.md) + - [IntegerPerStatusCodeMap](docs/IntegerPerStatusCodeMap.md) + - [IntegerStatusCodeMap](docs/IntegerStatusCodeMap.md) + - [IntegerValueMap](docs/IntegerValueMap.md) + - [JsonSerializedException](docs/JsonSerializedException.md) + - [LinkQualityAggregatedStats](docs/LinkQualityAggregatedStats.md) + - [LinkQualityAggregatedStatsPerRadioTypeMap](docs/LinkQualityAggregatedStatsPerRadioTypeMap.md) + - [ListOfChannelInfoReportsPerRadioMap](docs/ListOfChannelInfoReportsPerRadioMap.md) + - [ListOfMacsPerRadioMap](docs/ListOfMacsPerRadioMap.md) + - [ListOfMcsStatsPerRadioMap](docs/ListOfMcsStatsPerRadioMap.md) + - [ListOfRadioUtilizationPerRadioMap](docs/ListOfRadioUtilizationPerRadioMap.md) + - [ListOfSsidStatisticsPerRadioMap](docs/ListOfSsidStatisticsPerRadioMap.md) + - [LocalTimeValue](docs/LocalTimeValue.md) + - [Location](docs/Location.md) + - [LocationActivityDetails](docs/LocationActivityDetails.md) + - [LocationActivityDetailsMap](docs/LocationActivityDetailsMap.md) + - [LocationAddedEvent](docs/LocationAddedEvent.md) + - [LocationChangedEvent](docs/LocationChangedEvent.md) + - [LocationDetails](docs/LocationDetails.md) + - [LocationRemovedEvent](docs/LocationRemovedEvent.md) + - [LongPerRadioTypeMap](docs/LongPerRadioTypeMap.md) + - [LongValueMap](docs/LongValueMap.md) + - [MacAddress](docs/MacAddress.md) + - [MacAllowlistRecord](docs/MacAllowlistRecord.md) + - [ManagedFileInfo](docs/ManagedFileInfo.md) + - [ManagementRate](docs/ManagementRate.md) + - [ManufacturerDetailsRecord](docs/ManufacturerDetailsRecord.md) + - [ManufacturerOuiDetails](docs/ManufacturerOuiDetails.md) + - [ManufacturerOuiDetailsPerOuiMap](docs/ManufacturerOuiDetailsPerOuiMap.md) + - [MapOfWmmQueueStatsPerRadioMap](docs/MapOfWmmQueueStatsPerRadioMap.md) + - [McsStats](docs/McsStats.md) + - [McsType](docs/McsType.md) + - [MeshGroup](docs/MeshGroup.md) + - [MeshGroupMember](docs/MeshGroupMember.md) + - [MeshGroupProperty](docs/MeshGroupProperty.md) + - [MetricConfigParameterMap](docs/MetricConfigParameterMap.md) + - [MimoMode](docs/MimoMode.md) + - [MinMaxAvgValueInt](docs/MinMaxAvgValueInt.md) + - [MinMaxAvgValueIntPerRadioMap](docs/MinMaxAvgValueIntPerRadioMap.md) + - [MulticastRate](docs/MulticastRate.md) + - [NeighborScanPacketType](docs/NeighborScanPacketType.md) + - [NeighbourReport](docs/NeighbourReport.md) + - [NeighbourScanReports](docs/NeighbourScanReports.md) + - [NeighbouringAPListConfiguration](docs/NeighbouringAPListConfiguration.md) + - [NetworkAdminStatusData](docs/NetworkAdminStatusData.md) + - [NetworkAggregateStatusData](docs/NetworkAggregateStatusData.md) + - [NetworkForwardMode](docs/NetworkForwardMode.md) + - [NetworkProbeMetrics](docs/NetworkProbeMetrics.md) + - [NetworkType](docs/NetworkType.md) + - [NoiseFloorDetails](docs/NoiseFloorDetails.md) + - [NoiseFloorPerRadioDetails](docs/NoiseFloorPerRadioDetails.md) + - [NoiseFloorPerRadioDetailsMap](docs/NoiseFloorPerRadioDetailsMap.md) + - [ObssHopMode](docs/ObssHopMode.md) + - [OneOfEquipmentDetails](docs/OneOfEquipmentDetails.md) + - [OneOfFirmwareScheduleSetting](docs/OneOfFirmwareScheduleSetting.md) + - [OneOfProfileDetailsChildren](docs/OneOfProfileDetailsChildren.md) + - [OneOfScheduleSetting](docs/OneOfScheduleSetting.md) + - [OneOfServiceMetricDetails](docs/OneOfServiceMetricDetails.md) + - [OneOfStatusDetails](docs/OneOfStatusDetails.md) + - [OneOfSystemEvent](docs/OneOfSystemEvent.md) + - [OperatingSystemPerformance](docs/OperatingSystemPerformance.md) + - [OriginatorType](docs/OriginatorType.md) + - [PaginationContextAlarm](docs/PaginationContextAlarm.md) + - [PaginationContextClient](docs/PaginationContextClient.md) + - [PaginationContextClientSession](docs/PaginationContextClientSession.md) + - [PaginationContextEquipment](docs/PaginationContextEquipment.md) + - [PaginationContextLocation](docs/PaginationContextLocation.md) + - [PaginationContextPortalUser](docs/PaginationContextPortalUser.md) + - [PaginationContextProfile](docs/PaginationContextProfile.md) + - [PaginationContextServiceMetric](docs/PaginationContextServiceMetric.md) + - [PaginationContextStatus](docs/PaginationContextStatus.md) + - [PaginationContextSystemEvent](docs/PaginationContextSystemEvent.md) + - [PaginationResponseAlarm](docs/PaginationResponseAlarm.md) + - [PaginationResponseClient](docs/PaginationResponseClient.md) + - [PaginationResponseClientSession](docs/PaginationResponseClientSession.md) + - [PaginationResponseEquipment](docs/PaginationResponseEquipment.md) + - [PaginationResponseLocation](docs/PaginationResponseLocation.md) + - [PaginationResponsePortalUser](docs/PaginationResponsePortalUser.md) + - [PaginationResponseProfile](docs/PaginationResponseProfile.md) + - [PaginationResponseServiceMetric](docs/PaginationResponseServiceMetric.md) + - [PaginationResponseStatus](docs/PaginationResponseStatus.md) + - [PaginationResponseSystemEvent](docs/PaginationResponseSystemEvent.md) + - [PairLongLong](docs/PairLongLong.md) + - [PasspointAccessNetworkType](docs/PasspointAccessNetworkType.md) + - [PasspointConnectionCapabilitiesIpProtocol](docs/PasspointConnectionCapabilitiesIpProtocol.md) + - [PasspointConnectionCapabilitiesStatus](docs/PasspointConnectionCapabilitiesStatus.md) + - [PasspointConnectionCapability](docs/PasspointConnectionCapability.md) + - [PasspointDuple](docs/PasspointDuple.md) + - [PasspointEapMethods](docs/PasspointEapMethods.md) + - [PasspointGasAddress3Behaviour](docs/PasspointGasAddress3Behaviour.md) + - [PasspointIPv4AddressType](docs/PasspointIPv4AddressType.md) + - [PasspointIPv6AddressType](docs/PasspointIPv6AddressType.md) + - [PasspointMccMnc](docs/PasspointMccMnc.md) + - [PasspointNaiRealmEapAuthInnerNonEap](docs/PasspointNaiRealmEapAuthInnerNonEap.md) + - [PasspointNaiRealmEapAuthParam](docs/PasspointNaiRealmEapAuthParam.md) + - [PasspointNaiRealmEapCredType](docs/PasspointNaiRealmEapCredType.md) + - [PasspointNaiRealmEncoding](docs/PasspointNaiRealmEncoding.md) + - [PasspointNaiRealmInformation](docs/PasspointNaiRealmInformation.md) + - [PasspointNetworkAuthenticationType](docs/PasspointNetworkAuthenticationType.md) + - [PasspointOperatorProfile](docs/PasspointOperatorProfile.md) + - [PasspointOsuIcon](docs/PasspointOsuIcon.md) + - [PasspointOsuProviderProfile](docs/PasspointOsuProviderProfile.md) + - [PasspointProfile](docs/PasspointProfile.md) + - [PasspointVenueName](docs/PasspointVenueName.md) + - [PasspointVenueProfile](docs/PasspointVenueProfile.md) + - [PasspointVenueTypeAssignment](docs/PasspointVenueTypeAssignment.md) + - [PeerInfo](docs/PeerInfo.md) + - [PerProcessUtilization](docs/PerProcessUtilization.md) + - [PingResponse](docs/PingResponse.md) + - [PortalUser](docs/PortalUser.md) + - [PortalUserAddedEvent](docs/PortalUserAddedEvent.md) + - [PortalUserChangedEvent](docs/PortalUserChangedEvent.md) + - [PortalUserRemovedEvent](docs/PortalUserRemovedEvent.md) + - [PortalUserRole](docs/PortalUserRole.md) + - [Profile](docs/Profile.md) + - [ProfileAddedEvent](docs/ProfileAddedEvent.md) + - [ProfileChangedEvent](docs/ProfileChangedEvent.md) + - [ProfileDetails](docs/ProfileDetails.md) + - [ProfileDetailsChildren](docs/ProfileDetailsChildren.md) + - [ProfileRemovedEvent](docs/ProfileRemovedEvent.md) + - [ProfileType](docs/ProfileType.md) + - [RadioBasedSsidConfiguration](docs/RadioBasedSsidConfiguration.md) + - [RadioBasedSsidConfigurationMap](docs/RadioBasedSsidConfigurationMap.md) + - [RadioBestApSettings](docs/RadioBestApSettings.md) + - [RadioChannelChangeSettings](docs/RadioChannelChangeSettings.md) + - [RadioConfiguration](docs/RadioConfiguration.md) + - [RadioMap](docs/RadioMap.md) + - [RadioMode](docs/RadioMode.md) + - [RadioProfileConfiguration](docs/RadioProfileConfiguration.md) + - [RadioProfileConfigurationMap](docs/RadioProfileConfigurationMap.md) + - [RadioStatistics](docs/RadioStatistics.md) + - [RadioStatisticsPerRadioMap](docs/RadioStatisticsPerRadioMap.md) + - [RadioType](docs/RadioType.md) + - [RadioUtilization](docs/RadioUtilization.md) + - [RadioUtilizationDetails](docs/RadioUtilizationDetails.md) + - [RadioUtilizationPerRadioDetails](docs/RadioUtilizationPerRadioDetails.md) + - [RadioUtilizationPerRadioDetailsMap](docs/RadioUtilizationPerRadioDetailsMap.md) + - [RadioUtilizationReport](docs/RadioUtilizationReport.md) + - [RadiusAuthenticationMethod](docs/RadiusAuthenticationMethod.md) + - [RadiusDetails](docs/RadiusDetails.md) + - [RadiusMetrics](docs/RadiusMetrics.md) + - [RadiusNasConfiguration](docs/RadiusNasConfiguration.md) + - [RadiusProfile](docs/RadiusProfile.md) + - [RadiusServer](docs/RadiusServer.md) + - [RadiusServerDetails](docs/RadiusServerDetails.md) + - [RealTimeEvent](docs/RealTimeEvent.md) + - [RealTimeSipCallEventWithStats](docs/RealTimeSipCallEventWithStats.md) + - [RealTimeSipCallReportEvent](docs/RealTimeSipCallReportEvent.md) + - [RealTimeSipCallStartEvent](docs/RealTimeSipCallStartEvent.md) + - [RealTimeSipCallStopEvent](docs/RealTimeSipCallStopEvent.md) + - [RealTimeStreamingStartEvent](docs/RealTimeStreamingStartEvent.md) + - [RealTimeStreamingStartSessionEvent](docs/RealTimeStreamingStartSessionEvent.md) + - [RealTimeStreamingStopEvent](docs/RealTimeStreamingStopEvent.md) + - [RealtimeChannelHopEvent](docs/RealtimeChannelHopEvent.md) + - [RfConfigMap](docs/RfConfigMap.md) + - [RfConfiguration](docs/RfConfiguration.md) + - [RfElementConfiguration](docs/RfElementConfiguration.md) + - [RoutingAddedEvent](docs/RoutingAddedEvent.md) + - [RoutingChangedEvent](docs/RoutingChangedEvent.md) + - [RoutingRemovedEvent](docs/RoutingRemovedEvent.md) + - [RrmBulkUpdateApDetails](docs/RrmBulkUpdateApDetails.md) + - [RtlsSettings](docs/RtlsSettings.md) + - [RtpFlowDirection](docs/RtpFlowDirection.md) + - [RtpFlowStats](docs/RtpFlowStats.md) + - [RtpFlowType](docs/RtpFlowType.md) + - [SIPCallReportReason](docs/SIPCallReportReason.md) + - [ScheduleSetting](docs/ScheduleSetting.md) + - [SecurityType](docs/SecurityType.md) + - [ServiceAdoptionMetrics](docs/ServiceAdoptionMetrics.md) + - [ServiceMetric](docs/ServiceMetric.md) + - [ServiceMetricConfigParameters](docs/ServiceMetricConfigParameters.md) + - [ServiceMetricDataType](docs/ServiceMetricDataType.md) + - [ServiceMetricDetails](docs/ServiceMetricDetails.md) + - [ServiceMetricRadioConfigParameters](docs/ServiceMetricRadioConfigParameters.md) + - [ServiceMetricSurveyConfigParameters](docs/ServiceMetricSurveyConfigParameters.md) + - [ServiceMetricsCollectionConfigProfile](docs/ServiceMetricsCollectionConfigProfile.md) + - [SessionExpiryType](docs/SessionExpiryType.md) + - [SipCallStopReason](docs/SipCallStopReason.md) + - [SortColumnsAlarm](docs/SortColumnsAlarm.md) + - [SortColumnsClient](docs/SortColumnsClient.md) + - [SortColumnsClientSession](docs/SortColumnsClientSession.md) + - [SortColumnsEquipment](docs/SortColumnsEquipment.md) + - [SortColumnsLocation](docs/SortColumnsLocation.md) + - [SortColumnsPortalUser](docs/SortColumnsPortalUser.md) + - [SortColumnsProfile](docs/SortColumnsProfile.md) + - [SortColumnsServiceMetric](docs/SortColumnsServiceMetric.md) + - [SortColumnsStatus](docs/SortColumnsStatus.md) + - [SortColumnsSystemEvent](docs/SortColumnsSystemEvent.md) + - [SortOrder](docs/SortOrder.md) + - [SourceSelectionManagement](docs/SourceSelectionManagement.md) + - [SourceSelectionMulticast](docs/SourceSelectionMulticast.md) + - [SourceSelectionSteering](docs/SourceSelectionSteering.md) + - [SourceSelectionValue](docs/SourceSelectionValue.md) + - [SourceType](docs/SourceType.md) + - [SsidConfiguration](docs/SsidConfiguration.md) + - [SsidSecureMode](docs/SsidSecureMode.md) + - [SsidStatistics](docs/SsidStatistics.md) + - [StateSetting](docs/StateSetting.md) + - [StateUpDownError](docs/StateUpDownError.md) + - [StatsReportFormat](docs/StatsReportFormat.md) + - [Status](docs/Status.md) + - [StatusChangedEvent](docs/StatusChangedEvent.md) + - [StatusCode](docs/StatusCode.md) + - [StatusDataType](docs/StatusDataType.md) + - [StatusDetails](docs/StatusDetails.md) + - [StatusRemovedEvent](docs/StatusRemovedEvent.md) + - [SteerType](docs/SteerType.md) + - [StreamingVideoServerRecord](docs/StreamingVideoServerRecord.md) + - [StreamingVideoType](docs/StreamingVideoType.md) + - [SyslogRelay](docs/SyslogRelay.md) + - [SyslogSeverityType](docs/SyslogSeverityType.md) + - [SystemEvent](docs/SystemEvent.md) + - [SystemEventDataType](docs/SystemEventDataType.md) + - [SystemEventRecord](docs/SystemEventRecord.md) + - [TimedAccessUserDetails](docs/TimedAccessUserDetails.md) + - [TimedAccessUserRecord](docs/TimedAccessUserRecord.md) + - [TrackFlag](docs/TrackFlag.md) + - [TrafficDetails](docs/TrafficDetails.md) + - [TrafficPerRadioDetails](docs/TrafficPerRadioDetails.md) + - [TrafficPerRadioDetailsPerRadioTypeMap](docs/TrafficPerRadioDetailsPerRadioTypeMap.md) + - [TunnelIndicator](docs/TunnelIndicator.md) + - [TunnelMetricData](docs/TunnelMetricData.md) + - [UnserializableSystemEvent](docs/UnserializableSystemEvent.md) + - [UserDetails](docs/UserDetails.md) + - [VLANStatusData](docs/VLANStatusData.md) + - [VLANStatusDataMap](docs/VLANStatusDataMap.md) + - [VlanSubnet](docs/VlanSubnet.md) + - [WebTokenAclTemplate](docs/WebTokenAclTemplate.md) + - [WebTokenRequest](docs/WebTokenRequest.md) + - [WebTokenResult](docs/WebTokenResult.md) + - [WepAuthType](docs/WepAuthType.md) + - [WepConfiguration](docs/WepConfiguration.md) + - [WepKey](docs/WepKey.md) + - [WepType](docs/WepType.md) + - [WlanReasonCode](docs/WlanReasonCode.md) + - [WlanStatusCode](docs/WlanStatusCode.md) + - [WmmQueueStats](docs/WmmQueueStats.md) + - [WmmQueueStatsPerQueueTypeMap](docs/WmmQueueStatsPerQueueTypeMap.md) + - [WmmQueueType](docs/WmmQueueType.md) + +## Documentation For Authorization + + +## tip_wlan_ts_auth + + + +## Author + + diff --git a/libs/cloudapi/cloudsdk/docs/AclTemplate.md b/libs/cloudapi/cloudsdk/docs/AclTemplate.md new file mode 100644 index 000000000..467fc3856 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/AclTemplate.md @@ -0,0 +1,13 @@ +# AclTemplate + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**read** | **bool** | | [optional] +**read_write** | **bool** | | [optional] +**read_write_create** | **bool** | | [optional] +**delete** | **bool** | | [optional] +**portal_login** | **bool** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ActiveBSSID.md b/libs/cloudapi/cloudsdk/docs/ActiveBSSID.md new file mode 100644 index 000000000..dbd34c2bd --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ActiveBSSID.md @@ -0,0 +1,13 @@ +# ActiveBSSID + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | [optional] +**bssid** | **str** | | [optional] +**ssid** | **str** | | [optional] +**radio_type** | [**RadioType**](RadioType.md) | | [optional] +**num_devices_connected** | **int** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ActiveBSSIDs.md b/libs/cloudapi/cloudsdk/docs/ActiveBSSIDs.md new file mode 100644 index 000000000..63779c9e6 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ActiveBSSIDs.md @@ -0,0 +1,11 @@ +# ActiveBSSIDs + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**status_data_type** | **str** | | [optional] +**active_bssi_ds** | [**list[ActiveBSSID]**](ActiveBSSID.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ActiveScanSettings.md b/libs/cloudapi/cloudsdk/docs/ActiveScanSettings.md new file mode 100644 index 000000000..d72f550de --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ActiveScanSettings.md @@ -0,0 +1,11 @@ +# ActiveScanSettings + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**enabled** | **bool** | | [optional] +**scan_frequency_seconds** | **int** | | [optional] +**scan_duration_millis** | **int** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/AdvancedRadioMap.md b/libs/cloudapi/cloudsdk/docs/AdvancedRadioMap.md new file mode 100644 index 000000000..a6aba74ba --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/AdvancedRadioMap.md @@ -0,0 +1,12 @@ +# AdvancedRadioMap + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**is5_g_hz** | [**RadioConfiguration**](RadioConfiguration.md) | | [optional] +**is5_g_hz_u** | [**RadioConfiguration**](RadioConfiguration.md) | | [optional] +**is5_g_hz_l** | [**RadioConfiguration**](RadioConfiguration.md) | | [optional] +**is2dot4_g_hz** | [**RadioConfiguration**](RadioConfiguration.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/Alarm.md b/libs/cloudapi/cloudsdk/docs/Alarm.md new file mode 100644 index 000000000..f411e138b --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/Alarm.md @@ -0,0 +1,19 @@ +# Alarm + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**customer_id** | **int** | | [optional] +**equipment_id** | **int** | | [optional] +**alarm_code** | [**AlarmCode**](AlarmCode.md) | | [optional] +**created_timestamp** | **int** | | [optional] +**originator_type** | [**OriginatorType**](OriginatorType.md) | | [optional] +**severity** | [**StatusCode**](StatusCode.md) | | [optional] +**scope_type** | [**AlarmScopeType**](AlarmScopeType.md) | | [optional] +**scope_id** | **str** | | [optional] +**details** | [**AlarmDetails**](AlarmDetails.md) | | [optional] +**acknowledged** | **bool** | | [optional] +**last_modified_timestamp** | **int** | must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/AlarmAddedEvent.md b/libs/cloudapi/cloudsdk/docs/AlarmAddedEvent.md new file mode 100644 index 000000000..14eba0558 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/AlarmAddedEvent.md @@ -0,0 +1,13 @@ +# AlarmAddedEvent + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**event_timestamp** | **int** | | [optional] +**customer_id** | **int** | | [optional] +**equipment_id** | **int** | | [optional] +**payload** | [**Alarm**](Alarm.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/AlarmChangedEvent.md b/libs/cloudapi/cloudsdk/docs/AlarmChangedEvent.md new file mode 100644 index 000000000..b90a43bdd --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/AlarmChangedEvent.md @@ -0,0 +1,13 @@ +# AlarmChangedEvent + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**event_timestamp** | **int** | | [optional] +**customer_id** | **int** | | [optional] +**equipment_id** | **int** | | [optional] +**payload** | [**Alarm**](Alarm.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/AlarmCode.md b/libs/cloudapi/cloudsdk/docs/AlarmCode.md new file mode 100644 index 000000000..cfa5a3f7e --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/AlarmCode.md @@ -0,0 +1,8 @@ +# AlarmCode + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/AlarmCounts.md b/libs/cloudapi/cloudsdk/docs/AlarmCounts.md new file mode 100644 index 000000000..20d2ca1b0 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/AlarmCounts.md @@ -0,0 +1,11 @@ +# AlarmCounts + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**customer_id** | **int** | | [optional] +**counts_per_equipment_id_map** | [**CountsPerEquipmentIdPerAlarmCodeMap**](CountsPerEquipmentIdPerAlarmCodeMap.md) | | [optional] +**total_counts_per_alarm_code_map** | [**CountsPerAlarmCodeMap**](CountsPerAlarmCodeMap.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/AlarmDetails.md b/libs/cloudapi/cloudsdk/docs/AlarmDetails.md new file mode 100644 index 000000000..464a2f727 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/AlarmDetails.md @@ -0,0 +1,12 @@ +# AlarmDetails + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**message** | **str** | | [optional] +**affected_equipment_ids** | **list[int]** | | [optional] +**generated_by** | **str** | | [optional] +**context_attrs** | [**AlarmDetailsAttributesMap**](AlarmDetailsAttributesMap.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/AlarmDetailsAttributesMap.md b/libs/cloudapi/cloudsdk/docs/AlarmDetailsAttributesMap.md new file mode 100644 index 000000000..1716557c9 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/AlarmDetailsAttributesMap.md @@ -0,0 +1,8 @@ +# AlarmDetailsAttributesMap + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/AlarmRemovedEvent.md b/libs/cloudapi/cloudsdk/docs/AlarmRemovedEvent.md new file mode 100644 index 000000000..0a960838a --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/AlarmRemovedEvent.md @@ -0,0 +1,13 @@ +# AlarmRemovedEvent + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**event_timestamp** | **int** | | [optional] +**customer_id** | **int** | | [optional] +**equipment_id** | **int** | | [optional] +**payload** | [**Alarm**](Alarm.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/AlarmScopeType.md b/libs/cloudapi/cloudsdk/docs/AlarmScopeType.md new file mode 100644 index 000000000..a11704498 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/AlarmScopeType.md @@ -0,0 +1,8 @@ +# AlarmScopeType + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/AlarmsApi.md b/libs/cloudapi/cloudsdk/docs/AlarmsApi.md new file mode 100644 index 000000000..4454e8e10 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/AlarmsApi.md @@ -0,0 +1,317 @@ +# swagger_client.AlarmsApi + +All URIs are relative to *https://localhost:9091* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**delete_alarm**](AlarmsApi.md#delete_alarm) | **DELETE** /portal/alarm | Delete Alarm +[**get_alarm_counts**](AlarmsApi.md#get_alarm_counts) | **GET** /portal/alarm/counts | Get counts of Alarms for customerId, optional set of equipment ids, optional set of alarm codes. +[**get_alarmsfor_customer**](AlarmsApi.md#get_alarmsfor_customer) | **GET** /portal/alarm/forCustomer | Get list of Alarms for customerId, optional set of equipment ids, optional set of alarm codes. +[**get_alarmsfor_equipment**](AlarmsApi.md#get_alarmsfor_equipment) | **GET** /portal/alarm/forEquipment | Get list of Alarms for customerId, set of equipment ids, and set of alarm codes. +[**reset_alarm_counts**](AlarmsApi.md#reset_alarm_counts) | **POST** /portal/alarm/resetCounts | Reset accumulated counts of Alarms. +[**update_alarm**](AlarmsApi.md#update_alarm) | **PUT** /portal/alarm | Update Alarm + +# **delete_alarm** +> Alarm delete_alarm(customer_id, equipment_id, alarm_code, created_timestamp) + +Delete Alarm + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.AlarmsApi(swagger_client.ApiClient(configuration)) +customer_id = 56 # int | +equipment_id = 789 # int | +alarm_code = swagger_client.AlarmCode() # AlarmCode | +created_timestamp = 789 # int | + +try: + # Delete Alarm + api_response = api_instance.delete_alarm(customer_id, equipment_id, alarm_code, created_timestamp) + pprint(api_response) +except ApiException as e: + print("Exception when calling AlarmsApi->delete_alarm: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **customer_id** | **int**| | + **equipment_id** | **int**| | + **alarm_code** | [**AlarmCode**](.md)| | + **created_timestamp** | **int**| | + +### Return type + +[**Alarm**](Alarm.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_alarm_counts** +> AlarmCounts get_alarm_counts(customer_id, equipment_ids=equipment_ids, alarm_codes=alarm_codes) + +Get counts of Alarms for customerId, optional set of equipment ids, optional set of alarm codes. + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.AlarmsApi(swagger_client.ApiClient(configuration)) +customer_id = 56 # int | customer id +equipment_ids = [56] # list[int] | Set of equipment ids. Empty or null means retrieve for all equipment for the customer. (optional) +alarm_codes = [swagger_client.AlarmCode()] # list[AlarmCode] | Set of alarm codes. Empty or null means retrieve all. (optional) + +try: + # Get counts of Alarms for customerId, optional set of equipment ids, optional set of alarm codes. + api_response = api_instance.get_alarm_counts(customer_id, equipment_ids=equipment_ids, alarm_codes=alarm_codes) + pprint(api_response) +except ApiException as e: + print("Exception when calling AlarmsApi->get_alarm_counts: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **customer_id** | **int**| customer id | + **equipment_ids** | [**list[int]**](int.md)| Set of equipment ids. Empty or null means retrieve for all equipment for the customer. | [optional] + **alarm_codes** | [**list[AlarmCode]**](AlarmCode.md)| Set of alarm codes. Empty or null means retrieve all. | [optional] + +### Return type + +[**AlarmCounts**](AlarmCounts.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_alarmsfor_customer** +> PaginationResponseAlarm get_alarmsfor_customer(customer_id, pagination_context, equipment_ids=equipment_ids, alarm_codes=alarm_codes, created_after_timestamp=created_after_timestamp, sort_by=sort_by) + +Get list of Alarms for customerId, optional set of equipment ids, optional set of alarm codes. + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.AlarmsApi(swagger_client.ApiClient(configuration)) +customer_id = 56 # int | customer id +pagination_context = swagger_client.PaginationContextAlarm() # PaginationContextAlarm | pagination context +equipment_ids = [56] # list[int] | Set of equipment ids. Empty or null means retrieve all equipment for the customer. (optional) +alarm_codes = [swagger_client.AlarmCode()] # list[AlarmCode] | Set of alarm codes. Empty or null means retrieve all. (optional) +created_after_timestamp = -1 # int | retrieve alarms created after the specified time (optional) (default to -1) +sort_by = [swagger_client.SortColumnsAlarm()] # list[SortColumnsAlarm] | sort options (optional) + +try: + # Get list of Alarms for customerId, optional set of equipment ids, optional set of alarm codes. + api_response = api_instance.get_alarmsfor_customer(customer_id, pagination_context, equipment_ids=equipment_ids, alarm_codes=alarm_codes, created_after_timestamp=created_after_timestamp, sort_by=sort_by) + pprint(api_response) +except ApiException as e: + print("Exception when calling AlarmsApi->get_alarmsfor_customer: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **customer_id** | **int**| customer id | + **pagination_context** | [**PaginationContextAlarm**](.md)| pagination context | + **equipment_ids** | [**list[int]**](int.md)| Set of equipment ids. Empty or null means retrieve all equipment for the customer. | [optional] + **alarm_codes** | [**list[AlarmCode]**](AlarmCode.md)| Set of alarm codes. Empty or null means retrieve all. | [optional] + **created_after_timestamp** | **int**| retrieve alarms created after the specified time | [optional] [default to -1] + **sort_by** | [**list[SortColumnsAlarm]**](SortColumnsAlarm.md)| sort options | [optional] + +### Return type + +[**PaginationResponseAlarm**](PaginationResponseAlarm.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_alarmsfor_equipment** +> list[Alarm] get_alarmsfor_equipment(customer_id, equipment_ids, alarm_codes=alarm_codes, created_after_timestamp=created_after_timestamp) + +Get list of Alarms for customerId, set of equipment ids, and set of alarm codes. + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.AlarmsApi(swagger_client.ApiClient(configuration)) +customer_id = 56 # int | customer id +equipment_ids = [56] # list[int] | Set of equipment ids. Must not be empty. +alarm_codes = [swagger_client.AlarmCode()] # list[AlarmCode] | Set of alarm codes. Empty or null means retrieve all. (optional) +created_after_timestamp = -1 # int | retrieve alarms created after the specified time (optional) (default to -1) + +try: + # Get list of Alarms for customerId, set of equipment ids, and set of alarm codes. + api_response = api_instance.get_alarmsfor_equipment(customer_id, equipment_ids, alarm_codes=alarm_codes, created_after_timestamp=created_after_timestamp) + pprint(api_response) +except ApiException as e: + print("Exception when calling AlarmsApi->get_alarmsfor_equipment: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **customer_id** | **int**| customer id | + **equipment_ids** | [**list[int]**](int.md)| Set of equipment ids. Must not be empty. | + **alarm_codes** | [**list[AlarmCode]**](AlarmCode.md)| Set of alarm codes. Empty or null means retrieve all. | [optional] + **created_after_timestamp** | **int**| retrieve alarms created after the specified time | [optional] [default to -1] + +### Return type + +[**list[Alarm]**](Alarm.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **reset_alarm_counts** +> GenericResponse reset_alarm_counts() + +Reset accumulated counts of Alarms. + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.AlarmsApi(swagger_client.ApiClient(configuration)) + +try: + # Reset accumulated counts of Alarms. + api_response = api_instance.reset_alarm_counts() + pprint(api_response) +except ApiException as e: + print("Exception when calling AlarmsApi->reset_alarm_counts: %s\n" % e) +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**GenericResponse**](GenericResponse.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **update_alarm** +> Alarm update_alarm(body) + +Update Alarm + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.AlarmsApi(swagger_client.ApiClient(configuration)) +body = swagger_client.Alarm() # Alarm | Alarm info + +try: + # Update Alarm + api_response = api_instance.update_alarm(body) + pprint(api_response) +except ApiException as e: + print("Exception when calling AlarmsApi->update_alarm: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**Alarm**](Alarm.md)| Alarm info | + +### Return type + +[**Alarm**](Alarm.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/AntennaType.md b/libs/cloudapi/cloudsdk/docs/AntennaType.md new file mode 100644 index 000000000..5bb9a2a87 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/AntennaType.md @@ -0,0 +1,8 @@ +# AntennaType + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ApElementConfiguration.md b/libs/cloudapi/cloudsdk/docs/ApElementConfiguration.md new file mode 100644 index 000000000..1fcc9b00a --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ApElementConfiguration.md @@ -0,0 +1,32 @@ +# ApElementConfiguration + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**element_config_version** | **str** | | [optional] +**equipment_type** | [**EquipmentType**](EquipmentType.md) | | [optional] +**device_mode** | [**DeviceMode**](DeviceMode.md) | | [optional] +**getting_ip** | **str** | | [optional] +**static_ip** | **str** | | [optional] +**static_ip_mask_cidr** | **int** | | [optional] +**static_ip_gw** | **str** | | [optional] +**getting_dns** | **str** | | [optional] +**static_dns_ip1** | **str** | | [optional] +**static_dns_ip2** | **str** | | [optional] +**peer_info_list** | [**list[PeerInfo]**](PeerInfo.md) | | [optional] +**device_name** | **str** | | [optional] +**location_data** | **str** | | [optional] +**locally_configured_mgmt_vlan** | **int** | | [optional] +**locally_configured** | **bool** | | [optional] +**deployment_type** | [**DeploymentType**](DeploymentType.md) | | [optional] +**synthetic_client_enabled** | **bool** | | [optional] +**frame_report_throttle_enabled** | **bool** | | [optional] +**antenna_type** | [**AntennaType**](AntennaType.md) | | [optional] +**cost_saving_events_enabled** | **bool** | | [optional] +**forward_mode** | [**NetworkForwardMode**](NetworkForwardMode.md) | | [optional] +**radio_map** | [**RadioMap**](RadioMap.md) | | [optional] +**advanced_radio_map** | [**AdvancedRadioMap**](AdvancedRadioMap.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ApMeshMode.md b/libs/cloudapi/cloudsdk/docs/ApMeshMode.md new file mode 100644 index 000000000..0038ac00f --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ApMeshMode.md @@ -0,0 +1,8 @@ +# ApMeshMode + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ApNetworkConfiguration.md b/libs/cloudapi/cloudsdk/docs/ApNetworkConfiguration.md new file mode 100644 index 000000000..43d4b21be --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ApNetworkConfiguration.md @@ -0,0 +1,21 @@ +# ApNetworkConfiguration + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | [optional] +**network_config_version** | **str** | | [optional] +**equipment_type** | **str** | | [optional] +**vlan_native** | **bool** | | [optional] +**vlan** | **int** | | [optional] +**ntp_server** | [**ApNetworkConfigurationNtpServer**](ApNetworkConfigurationNtpServer.md) | | [optional] +**syslog_relay** | [**SyslogRelay**](SyslogRelay.md) | | [optional] +**rtls_settings** | [**RtlsSettings**](RtlsSettings.md) | | [optional] +**synthetic_client_enabled** | **bool** | | [optional] +**led_control_enabled** | **bool** | | [optional] +**equipment_discovery** | **bool** | | [optional] +**gre_tunnel_configurations** | [**list[GreTunnelConfiguration]**](GreTunnelConfiguration.md) | | [optional] +**radio_map** | [**RadioProfileConfigurationMap**](RadioProfileConfigurationMap.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ApNetworkConfigurationNtpServer.md b/libs/cloudapi/cloudsdk/docs/ApNetworkConfigurationNtpServer.md new file mode 100644 index 000000000..71d921d03 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ApNetworkConfigurationNtpServer.md @@ -0,0 +1,10 @@ +# ApNetworkConfigurationNtpServer + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**auto** | **bool** | | [optional] +**value** | **str** | | [optional] [default to 'pool.ntp.org'] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ApNodeMetrics.md b/libs/cloudapi/cloudsdk/docs/ApNodeMetrics.md new file mode 100644 index 000000000..53a13199e --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ApNodeMetrics.md @@ -0,0 +1,26 @@ +# ApNodeMetrics + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**period_length_sec** | **int** | How many seconds the AP measured for the metric | [optional] +**client_mac_addresses_per_radio** | [**ListOfMacsPerRadioMap**](ListOfMacsPerRadioMap.md) | | [optional] +**tx_bytes_per_radio** | [**LongPerRadioTypeMap**](LongPerRadioTypeMap.md) | | [optional] +**rx_bytes_per_radio** | [**LongPerRadioTypeMap**](LongPerRadioTypeMap.md) | | [optional] +**noise_floor_per_radio** | [**IntegerPerRadioTypeMap**](IntegerPerRadioTypeMap.md) | | [optional] +**tunnel_metrics** | [**list[TunnelMetricData]**](TunnelMetricData.md) | | [optional] +**network_probe_metrics** | [**list[NetworkProbeMetrics]**](NetworkProbeMetrics.md) | | [optional] +**radius_metrics** | [**list[RadiusMetrics]**](RadiusMetrics.md) | | [optional] +**cloud_link_availability** | **int** | | [optional] +**cloud_link_latency_in_ms** | **int** | | [optional] +**channel_utilization_per_radio** | [**IntegerPerRadioTypeMap**](IntegerPerRadioTypeMap.md) | | [optional] +**ap_performance** | [**ApPerformance**](ApPerformance.md) | | [optional] +**vlan_subnet** | [**list[VlanSubnet]**](VlanSubnet.md) | | [optional] +**radio_utilization_per_radio** | [**ListOfRadioUtilizationPerRadioMap**](ListOfRadioUtilizationPerRadioMap.md) | | [optional] +**radio_stats_per_radio** | [**RadioStatisticsPerRadioMap**](RadioStatisticsPerRadioMap.md) | | [optional] +**mcs_stats_per_radio** | [**ListOfMcsStatsPerRadioMap**](ListOfMcsStatsPerRadioMap.md) | | [optional] +**wmm_queues_per_radio** | [**MapOfWmmQueueStatsPerRadioMap**](MapOfWmmQueueStatsPerRadioMap.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ApPerformance.md b/libs/cloudapi/cloudsdk/docs/ApPerformance.md new file mode 100644 index 000000000..fdbd66962 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ApPerformance.md @@ -0,0 +1,19 @@ +# ApPerformance + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**free_memory** | **int** | free memory in kilobytes | [optional] +**cpu_utilized** | **list[int]** | CPU utilization in percentage, one per core | [optional] +**up_time** | **int** | AP uptime in seconds | [optional] +**cami_crashed** | **int** | number of time cloud-to-ap-management process crashed | [optional] +**cpu_temperature** | **int** | cpu temperature in Celsius | [optional] +**low_memory_reboot** | **bool** | low memory reboot happened | [optional] +**eth_link_state** | [**EthernetLinkState**](EthernetLinkState.md) | | [optional] +**cloud_tx_bytes** | **int** | Data sent by AP to the cloud | [optional] +**cloud_rx_bytes** | **int** | Data received by AP from cloud | [optional] +**ps_cpu_util** | [**list[PerProcessUtilization]**](PerProcessUtilization.md) | | [optional] +**ps_mem_util** | [**list[PerProcessUtilization]**](PerProcessUtilization.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ApSsidMetrics.md b/libs/cloudapi/cloudsdk/docs/ApSsidMetrics.md new file mode 100644 index 000000000..41464938f --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ApSsidMetrics.md @@ -0,0 +1,10 @@ +# ApSsidMetrics + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**ssid_stats** | [**ListOfSsidStatisticsPerRadioMap**](ListOfSsidStatisticsPerRadioMap.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/AutoOrManualString.md b/libs/cloudapi/cloudsdk/docs/AutoOrManualString.md new file mode 100644 index 000000000..9f19276b1 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/AutoOrManualString.md @@ -0,0 +1,10 @@ +# AutoOrManualString + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**auto** | **bool** | | [optional] +**value** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/AutoOrManualValue.md b/libs/cloudapi/cloudsdk/docs/AutoOrManualValue.md new file mode 100644 index 000000000..bf34af107 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/AutoOrManualValue.md @@ -0,0 +1,10 @@ +# AutoOrManualValue + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**auto** | **bool** | | [optional] +**value** | **int** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/BackgroundPosition.md b/libs/cloudapi/cloudsdk/docs/BackgroundPosition.md new file mode 100644 index 000000000..2cf5a94ad --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/BackgroundPosition.md @@ -0,0 +1,8 @@ +# BackgroundPosition + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/BackgroundRepeat.md b/libs/cloudapi/cloudsdk/docs/BackgroundRepeat.md new file mode 100644 index 000000000..e5567bca4 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/BackgroundRepeat.md @@ -0,0 +1,8 @@ +# BackgroundRepeat + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/BannedChannel.md b/libs/cloudapi/cloudsdk/docs/BannedChannel.md new file mode 100644 index 000000000..cf636e86f --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/BannedChannel.md @@ -0,0 +1,10 @@ +# BannedChannel + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**channel_number** | **int** | | [optional] +**banned_on_epoc** | **int** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/BaseDhcpEvent.md b/libs/cloudapi/cloudsdk/docs/BaseDhcpEvent.md new file mode 100644 index 000000000..10aff63fa --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/BaseDhcpEvent.md @@ -0,0 +1,19 @@ +# BaseDhcpEvent + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**all_of** | [**SystemEvent**](SystemEvent.md) | | [optional] +**x_id** | **int** | | [optional] +**vlan_id** | **int** | | [optional] +**dhcp_server_ip** | **str** | string representing InetAddress | [optional] +**client_ip** | **str** | string representing InetAddress | [optional] +**relay_ip** | **str** | string representing InetAddress | [optional] +**client_mac_address** | [**MacAddress**](MacAddress.md) | | [optional] +**session_id** | **int** | | [optional] +**customer_id** | **int** | | [optional] +**equipment_id** | **int** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/BestAPSteerType.md b/libs/cloudapi/cloudsdk/docs/BestAPSteerType.md new file mode 100644 index 000000000..034119717 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/BestAPSteerType.md @@ -0,0 +1,8 @@ +# BestAPSteerType + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/BlocklistDetails.md b/libs/cloudapi/cloudsdk/docs/BlocklistDetails.md new file mode 100644 index 000000000..2174f2f45 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/BlocklistDetails.md @@ -0,0 +1,11 @@ +# BlocklistDetails + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**enabled** | **bool** | When enabled, blocklisting applies to the client, subject to the optional start/end times. | [optional] +**start_time** | **int** | Optional startTime when blocklisting becomes enabled. | [optional] +**end_time** | **int** | Optional endTime when blocklisting ceases to be enabled | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/BonjourGatewayProfile.md b/libs/cloudapi/cloudsdk/docs/BonjourGatewayProfile.md new file mode 100644 index 000000000..f100afe2e --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/BonjourGatewayProfile.md @@ -0,0 +1,11 @@ +# BonjourGatewayProfile + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | [optional] +**profile_description** | **str** | | [optional] +**bonjour_services** | [**list[BonjourServiceSet]**](BonjourServiceSet.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/BonjourServiceSet.md b/libs/cloudapi/cloudsdk/docs/BonjourServiceSet.md new file mode 100644 index 000000000..bfe16413d --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/BonjourServiceSet.md @@ -0,0 +1,11 @@ +# BonjourServiceSet + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**vlan_id** | **int** | | [optional] +**support_all_services** | **bool** | | [optional] +**service_names** | **list[str]** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/CapacityDetails.md b/libs/cloudapi/cloudsdk/docs/CapacityDetails.md new file mode 100644 index 000000000..935e1ca2d --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/CapacityDetails.md @@ -0,0 +1,9 @@ +# CapacityDetails + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**per_radio_details** | [**CapacityPerRadioDetailsMap**](CapacityPerRadioDetailsMap.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/CapacityPerRadioDetails.md b/libs/cloudapi/cloudsdk/docs/CapacityPerRadioDetails.md new file mode 100644 index 000000000..a172607c7 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/CapacityPerRadioDetails.md @@ -0,0 +1,13 @@ +# CapacityPerRadioDetails + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**total_capacity** | **int** | | [optional] +**available_capacity** | [**MinMaxAvgValueInt**](MinMaxAvgValueInt.md) | | [optional] +**unavailable_capacity** | [**MinMaxAvgValueInt**](MinMaxAvgValueInt.md) | | [optional] +**used_capacity** | [**MinMaxAvgValueInt**](MinMaxAvgValueInt.md) | | [optional] +**unused_capacity** | [**MinMaxAvgValueInt**](MinMaxAvgValueInt.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/CapacityPerRadioDetailsMap.md b/libs/cloudapi/cloudsdk/docs/CapacityPerRadioDetailsMap.md new file mode 100644 index 000000000..7c901e061 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/CapacityPerRadioDetailsMap.md @@ -0,0 +1,12 @@ +# CapacityPerRadioDetailsMap + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**is5_g_hz** | [**CapacityPerRadioDetails**](CapacityPerRadioDetails.md) | | [optional] +**is5_g_hz_u** | [**CapacityPerRadioDetails**](CapacityPerRadioDetails.md) | | [optional] +**is5_g_hz_l** | [**CapacityPerRadioDetails**](CapacityPerRadioDetails.md) | | [optional] +**is2dot4_g_hz** | [**CapacityPerRadioDetails**](CapacityPerRadioDetails.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/CaptivePortalAuthenticationType.md b/libs/cloudapi/cloudsdk/docs/CaptivePortalAuthenticationType.md new file mode 100644 index 000000000..fa30869bb --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/CaptivePortalAuthenticationType.md @@ -0,0 +1,8 @@ +# CaptivePortalAuthenticationType + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/CaptivePortalConfiguration.md b/libs/cloudapi/cloudsdk/docs/CaptivePortalConfiguration.md new file mode 100644 index 000000000..a93d94f83 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/CaptivePortalConfiguration.md @@ -0,0 +1,30 @@ +# CaptivePortalConfiguration + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | [optional] +**browser_title** | **str** | | [optional] +**header_content** | **str** | | [optional] +**user_acceptance_policy** | **str** | | [optional] +**success_page_markdown_text** | **str** | | [optional] +**redirect_url** | **str** | | [optional] +**external_captive_portal_url** | **str** | | [optional] +**session_timeout_in_minutes** | **int** | | [optional] +**logo_file** | [**ManagedFileInfo**](ManagedFileInfo.md) | | [optional] +**background_file** | [**ManagedFileInfo**](ManagedFileInfo.md) | | [optional] +**walled_garden_allowlist** | **list[str]** | | [optional] +**username_password_file** | [**ManagedFileInfo**](ManagedFileInfo.md) | | [optional] +**authentication_type** | [**CaptivePortalAuthenticationType**](CaptivePortalAuthenticationType.md) | | [optional] +**radius_auth_method** | [**RadiusAuthenticationMethod**](RadiusAuthenticationMethod.md) | | [optional] +**max_users_with_same_credentials** | **int** | | [optional] +**external_policy_file** | [**ManagedFileInfo**](ManagedFileInfo.md) | | [optional] +**background_position** | [**BackgroundPosition**](BackgroundPosition.md) | | [optional] +**background_repeat** | [**BackgroundRepeat**](BackgroundRepeat.md) | | [optional] +**radius_service_id** | **int** | | [optional] +**expiry_type** | [**SessionExpiryType**](SessionExpiryType.md) | | [optional] +**user_list** | [**list[TimedAccessUserRecord]**](TimedAccessUserRecord.md) | | [optional] +**mac_allow_list** | [**list[MacAllowlistRecord]**](MacAllowlistRecord.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ChannelBandwidth.md b/libs/cloudapi/cloudsdk/docs/ChannelBandwidth.md new file mode 100644 index 000000000..d68ccbf3a --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ChannelBandwidth.md @@ -0,0 +1,8 @@ +# ChannelBandwidth + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ChannelHopReason.md b/libs/cloudapi/cloudsdk/docs/ChannelHopReason.md new file mode 100644 index 000000000..f94a7cb17 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ChannelHopReason.md @@ -0,0 +1,8 @@ +# ChannelHopReason + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ChannelHopSettings.md b/libs/cloudapi/cloudsdk/docs/ChannelHopSettings.md new file mode 100644 index 000000000..ca1c30911 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ChannelHopSettings.md @@ -0,0 +1,13 @@ +# ChannelHopSettings + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**noise_floor_threshold_in_db** | **int** | | [optional] [default to -75] +**noise_floor_threshold_time_in_seconds** | **int** | | [optional] [default to 180] +**non_wifi_threshold_in_percentage** | **int** | | [optional] [default to 50] +**non_wifi_threshold_time_in_seconds** | **int** | | [optional] [default to 180] +**obss_hop_mode** | [**ObssHopMode**](ObssHopMode.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ChannelInfo.md b/libs/cloudapi/cloudsdk/docs/ChannelInfo.md new file mode 100644 index 000000000..75eded933 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ChannelInfo.md @@ -0,0 +1,13 @@ +# ChannelInfo + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**chan_number** | **int** | | [optional] +**bandwidth** | [**ChannelBandwidth**](ChannelBandwidth.md) | | [optional] +**total_utilization** | **int** | | [optional] +**wifi_utilization** | **int** | | [optional] +**noise_floor** | **int** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ChannelInfoReports.md b/libs/cloudapi/cloudsdk/docs/ChannelInfoReports.md new file mode 100644 index 000000000..50790f08a --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ChannelInfoReports.md @@ -0,0 +1,10 @@ +# ChannelInfoReports + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**channel_information_reports_per_radio** | [**ListOfChannelInfoReportsPerRadioMap**](ListOfChannelInfoReportsPerRadioMap.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ChannelPowerLevel.md b/libs/cloudapi/cloudsdk/docs/ChannelPowerLevel.md new file mode 100644 index 000000000..0d712b782 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ChannelPowerLevel.md @@ -0,0 +1,12 @@ +# ChannelPowerLevel + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**channel_number** | **int** | | [optional] +**power_level** | **int** | | [optional] +**dfs** | **bool** | | [optional] +**channel_width** | **int** | Value is in MHz, -1 means AUTO | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ChannelUtilizationDetails.md b/libs/cloudapi/cloudsdk/docs/ChannelUtilizationDetails.md new file mode 100644 index 000000000..ca1aebce0 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ChannelUtilizationDetails.md @@ -0,0 +1,10 @@ +# ChannelUtilizationDetails + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**per_radio_details** | [**ChannelUtilizationPerRadioDetailsMap**](ChannelUtilizationPerRadioDetailsMap.md) | | [optional] +**indicator_value** | **int** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ChannelUtilizationPerRadioDetails.md b/libs/cloudapi/cloudsdk/docs/ChannelUtilizationPerRadioDetails.md new file mode 100644 index 000000000..7581546db --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ChannelUtilizationPerRadioDetails.md @@ -0,0 +1,12 @@ +# ChannelUtilizationPerRadioDetails + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**channel_utilization** | [**MinMaxAvgValueInt**](MinMaxAvgValueInt.md) | | [optional] +**num_good_equipment** | **int** | | [optional] +**num_warn_equipment** | **int** | | [optional] +**num_bad_equipment** | **int** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ChannelUtilizationPerRadioDetailsMap.md b/libs/cloudapi/cloudsdk/docs/ChannelUtilizationPerRadioDetailsMap.md new file mode 100644 index 000000000..a9174b224 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ChannelUtilizationPerRadioDetailsMap.md @@ -0,0 +1,12 @@ +# ChannelUtilizationPerRadioDetailsMap + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**is5_g_hz** | [**ChannelUtilizationPerRadioDetails**](ChannelUtilizationPerRadioDetails.md) | | [optional] +**is5_g_hz_u** | [**ChannelUtilizationPerRadioDetails**](ChannelUtilizationPerRadioDetails.md) | | [optional] +**is5_g_hz_l** | [**ChannelUtilizationPerRadioDetails**](ChannelUtilizationPerRadioDetails.md) | | [optional] +**is2dot4_g_hz** | [**ChannelUtilizationPerRadioDetails**](ChannelUtilizationPerRadioDetails.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ChannelUtilizationSurveyType.md b/libs/cloudapi/cloudsdk/docs/ChannelUtilizationSurveyType.md new file mode 100644 index 000000000..d78c2a06e --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ChannelUtilizationSurveyType.md @@ -0,0 +1,8 @@ +# ChannelUtilizationSurveyType + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/Client.md b/libs/cloudapi/cloudsdk/docs/Client.md new file mode 100644 index 000000000..9b149bf7d --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/Client.md @@ -0,0 +1,13 @@ +# Client + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**mac_address** | [**MacAddress**](MacAddress.md) | | [optional] +**customer_id** | **int** | | [optional] +**details** | [**ClientInfoDetails**](ClientInfoDetails.md) | | [optional] +**created_timestamp** | **int** | | [optional] +**last_modified_timestamp** | **int** | This class does not perform checks against concurrrent updates. Here last update always wins. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ClientActivityAggregatedStats.md b/libs/cloudapi/cloudsdk/docs/ClientActivityAggregatedStats.md new file mode 100644 index 000000000..0ec1e5418 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ClientActivityAggregatedStats.md @@ -0,0 +1,12 @@ +# ClientActivityAggregatedStats + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**mbps** | [**MinMaxAvgValueInt**](MinMaxAvgValueInt.md) | | [optional] +**high_client_count** | **int** | | [optional] +**medium_client_count** | **int** | | [optional] +**low_client_count** | **int** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ClientActivityAggregatedStatsPerRadioTypeMap.md b/libs/cloudapi/cloudsdk/docs/ClientActivityAggregatedStatsPerRadioTypeMap.md new file mode 100644 index 000000000..456f457ac --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ClientActivityAggregatedStatsPerRadioTypeMap.md @@ -0,0 +1,12 @@ +# ClientActivityAggregatedStatsPerRadioTypeMap + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**is5_g_hz** | [**ClientActivityAggregatedStats**](ClientActivityAggregatedStats.md) | | [optional] +**is5_g_hz_u** | [**ClientActivityAggregatedStats**](ClientActivityAggregatedStats.md) | | [optional] +**is5_g_hz_l** | [**ClientActivityAggregatedStats**](ClientActivityAggregatedStats.md) | | [optional] +**is2dot4_g_hz** | [**ClientActivityAggregatedStats**](ClientActivityAggregatedStats.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ClientAddedEvent.md b/libs/cloudapi/cloudsdk/docs/ClientAddedEvent.md new file mode 100644 index 000000000..cb76cdbaf --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ClientAddedEvent.md @@ -0,0 +1,12 @@ +# ClientAddedEvent + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**event_timestamp** | **int** | | [optional] +**customer_id** | **int** | | [optional] +**payload** | [**Client**](Client.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ClientAssocEvent.md b/libs/cloudapi/cloudsdk/docs/ClientAssocEvent.md new file mode 100644 index 000000000..7635a5915 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ClientAssocEvent.md @@ -0,0 +1,21 @@ +# ClientAssocEvent + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**all_of** | [**RealTimeEvent**](RealTimeEvent.md) | | [optional] +**session_id** | **int** | | [optional] +**ssid** | **str** | | [optional] +**client_mac_address** | [**MacAddress**](MacAddress.md) | | [optional] +**radio_type** | [**RadioType**](RadioType.md) | | [optional] +**is_reassociation** | **bool** | | [optional] +**status** | [**WlanStatusCode**](WlanStatusCode.md) | | [optional] +**rssi** | **int** | | [optional] +**internal_sc** | **int** | | [optional] +**using11k** | **bool** | | [optional] +**using11r** | **bool** | | [optional] +**using11v** | **bool** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ClientAuthEvent.md b/libs/cloudapi/cloudsdk/docs/ClientAuthEvent.md new file mode 100644 index 000000000..0e4617238 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ClientAuthEvent.md @@ -0,0 +1,16 @@ +# ClientAuthEvent + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**all_of** | [**RealTimeEvent**](RealTimeEvent.md) | | [optional] +**session_id** | **int** | | [optional] +**ssid** | **str** | | [optional] +**client_mac_address** | [**MacAddress**](MacAddress.md) | | [optional] +**radio_type** | [**RadioType**](RadioType.md) | | [optional] +**is_reassociation** | **bool** | | [optional] +**auth_status** | [**WlanStatusCode**](WlanStatusCode.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ClientChangedEvent.md b/libs/cloudapi/cloudsdk/docs/ClientChangedEvent.md new file mode 100644 index 000000000..8b2e75f23 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ClientChangedEvent.md @@ -0,0 +1,12 @@ +# ClientChangedEvent + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**event_timestamp** | **int** | | [optional] +**customer_id** | **int** | | [optional] +**payload** | [**Client**](Client.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ClientConnectSuccessEvent.md b/libs/cloudapi/cloudsdk/docs/ClientConnectSuccessEvent.md new file mode 100644 index 000000000..c718a73e0 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ClientConnectSuccessEvent.md @@ -0,0 +1,30 @@ +# ClientConnectSuccessEvent + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**all_of** | [**RealTimeEvent**](RealTimeEvent.md) | | [optional] +**client_mac_address** | [**MacAddress**](MacAddress.md) | | [optional] +**session_id** | **int** | | [optional] +**radio_type** | [**RadioType**](RadioType.md) | | [optional] +**is_reassociation** | **bool** | | [optional] +**ssid** | **str** | | [optional] +**security_type** | [**SecurityType**](SecurityType.md) | | [optional] +**fbt_used** | **bool** | | [optional] +**ip_addr** | **str** | string representing InetAddress | [optional] +**clt_id** | **str** | | [optional] +**auth_ts** | **int** | | [optional] +**assoc_ts** | **int** | | [optional] +**eapol_ts** | **int** | | [optional] +**port_enabled_ts** | **int** | | [optional] +**first_data_rx_ts** | **int** | | [optional] +**first_data_tx_ts** | **int** | | [optional] +**using11k** | **bool** | | [optional] +**using11r** | **bool** | | [optional] +**using11v** | **bool** | | [optional] +**ip_acquisition_ts** | **int** | | [optional] +**assoc_rssi** | **int** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ClientConnectionDetails.md b/libs/cloudapi/cloudsdk/docs/ClientConnectionDetails.md new file mode 100644 index 000000000..0b85e0e04 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ClientConnectionDetails.md @@ -0,0 +1,11 @@ +# ClientConnectionDetails + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**status_data_type** | **str** | | [optional] +**num_clients_per_radio** | [**IntegerPerRadioTypeMap**](IntegerPerRadioTypeMap.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ClientDhcpDetails.md b/libs/cloudapi/cloudsdk/docs/ClientDhcpDetails.md new file mode 100644 index 000000000..db491bde2 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ClientDhcpDetails.md @@ -0,0 +1,20 @@ +# ClientDhcpDetails + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**dhcp_server_ip** | **str** | | [optional] +**primary_dns** | **str** | | [optional] +**secondary_dns** | **str** | | [optional] +**subnet_mask** | **str** | | [optional] +**gateway_ip** | **str** | | [optional] +**lease_start_timestamp** | **int** | | [optional] +**lease_time_in_seconds** | **int** | | [optional] +**first_request_timestamp** | **int** | | [optional] +**first_offer_timestamp** | **int** | | [optional] +**first_discover_timestamp** | **int** | | [optional] +**nak_timestamp** | **int** | | [optional] +**from_internal** | **bool** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ClientDisconnectEvent.md b/libs/cloudapi/cloudsdk/docs/ClientDisconnectEvent.md new file mode 100644 index 000000000..9d3ecfaa4 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ClientDisconnectEvent.md @@ -0,0 +1,22 @@ +# ClientDisconnectEvent + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**all_of** | [**RealTimeEvent**](RealTimeEvent.md) | | [optional] +**session_id** | **int** | | [optional] +**ssid** | **str** | | [optional] +**client_mac_address** | [**MacAddress**](MacAddress.md) | | [optional] +**radio_type** | [**RadioType**](RadioType.md) | | [optional] +**mac_address_bytes** | **list[str]** | | [optional] +**reason_code** | [**WlanReasonCode**](WlanReasonCode.md) | | [optional] +**internal_reason_code** | **int** | | [optional] +**rssi** | **int** | | [optional] +**last_recv_time** | **int** | | [optional] +**last_sent_time** | **int** | | [optional] +**frame_type** | [**DisconnectFrameType**](DisconnectFrameType.md) | | [optional] +**initiator** | [**DisconnectInitiator**](DisconnectInitiator.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ClientEapDetails.md b/libs/cloudapi/cloudsdk/docs/ClientEapDetails.md new file mode 100644 index 000000000..66312f511 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ClientEapDetails.md @@ -0,0 +1,15 @@ +# ClientEapDetails + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**eap_key1_timestamp** | **int** | | [optional] +**eap_key2_timestamp** | **int** | | [optional] +**eap_key3_timestamp** | **int** | | [optional] +**eap_key4_timestamp** | **int** | | [optional] +**request_identity_timestamp** | **int** | | [optional] +**eap_negotiation_start_timestamp** | **int** | | [optional] +**eap_success_timestamp** | **int** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ClientFailureDetails.md b/libs/cloudapi/cloudsdk/docs/ClientFailureDetails.md new file mode 100644 index 000000000..85a7a58c2 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ClientFailureDetails.md @@ -0,0 +1,11 @@ +# ClientFailureDetails + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**failure_timestamp** | **int** | | [optional] +**reason_code** | **int** | | [optional] +**reason** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ClientFailureEvent.md b/libs/cloudapi/cloudsdk/docs/ClientFailureEvent.md new file mode 100644 index 000000000..6a87633d8 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ClientFailureEvent.md @@ -0,0 +1,15 @@ +# ClientFailureEvent + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**all_of** | [**RealTimeEvent**](RealTimeEvent.md) | | [optional] +**session_id** | **int** | | [optional] +**ssid** | **str** | | [optional] +**client_mac_address** | [**MacAddress**](MacAddress.md) | | [optional] +**reason_code** | [**WlanReasonCode**](WlanReasonCode.md) | | [optional] +**reason_string** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ClientFirstDataEvent.md b/libs/cloudapi/cloudsdk/docs/ClientFirstDataEvent.md new file mode 100644 index 000000000..368d30bb9 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ClientFirstDataEvent.md @@ -0,0 +1,14 @@ +# ClientFirstDataEvent + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**all_of** | [**RealTimeEvent**](RealTimeEvent.md) | | [optional] +**session_id** | **int** | | [optional] +**client_mac_address** | [**MacAddress**](MacAddress.md) | | [optional] +**first_data_rcvd_ts** | **int** | | [optional] +**first_data_sent_ts** | **int** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ClientIdEvent.md b/libs/cloudapi/cloudsdk/docs/ClientIdEvent.md new file mode 100644 index 000000000..69b90d716 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ClientIdEvent.md @@ -0,0 +1,14 @@ +# ClientIdEvent + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**all_of** | [**RealTimeEvent**](RealTimeEvent.md) | | [optional] +**session_id** | **int** | | [optional] +**mac_address_bytes** | **list[str]** | | [optional] +**client_mac_address** | [**MacAddress**](MacAddress.md) | | [optional] +**user_id** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ClientInfoDetails.md b/libs/cloudapi/cloudsdk/docs/ClientInfoDetails.md new file mode 100644 index 000000000..eba6d8496 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ClientInfoDetails.md @@ -0,0 +1,17 @@ +# ClientInfoDetails + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**alias** | **str** | | [optional] +**client_type** | **int** | | [optional] +**ap_fingerprint** | **str** | | [optional] +**user_name** | **str** | | [optional] +**host_name** | **str** | | [optional] +**last_used_cp_username** | **str** | | [optional] +**last_user_agent** | **str** | | [optional] +**do_not_steer** | **bool** | | [optional] +**blocklist_details** | [**BlocklistDetails**](BlocklistDetails.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ClientIpAddressEvent.md b/libs/cloudapi/cloudsdk/docs/ClientIpAddressEvent.md new file mode 100644 index 000000000..29147eba8 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ClientIpAddressEvent.md @@ -0,0 +1,13 @@ +# ClientIpAddressEvent + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**all_of** | [**RealTimeEvent**](RealTimeEvent.md) | | [optional] +**session_id** | **int** | | [optional] +**client_mac_address** | [**MacAddress**](MacAddress.md) | | [optional] +**ip_addr** | **list[str]** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ClientMetrics.md b/libs/cloudapi/cloudsdk/docs/ClientMetrics.md new file mode 100644 index 000000000..d978e00d6 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ClientMetrics.md @@ -0,0 +1,367 @@ +# ClientMetrics + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**seconds_since_last_recv** | **int** | | [optional] +**num_rx_packets** | **int** | | [optional] +**num_tx_packets** | **int** | | [optional] +**num_rx_bytes** | **int** | | [optional] +**num_tx_bytes** | **int** | | [optional] +**tx_retries** | **int** | | [optional] +**rx_duplicate_packets** | **int** | | [optional] +**rate_count** | **int** | | [optional] +**rates** | **list[int]** | | [optional] +**mcs** | **list[int]** | | [optional] +**vht_mcs** | **int** | | [optional] +**snr** | **int** | | [optional] +**rssi** | **int** | | [optional] +**session_id** | **int** | | [optional] +**classification_name** | **str** | | [optional] +**channel_band_width** | [**ChannelBandwidth**](ChannelBandwidth.md) | | [optional] +**guard_interval** | [**GuardInterval**](GuardInterval.md) | | [optional] +**cisco_last_rate** | **int** | | [optional] +**average_tx_rate** | **float** | | [optional] +**average_rx_rate** | **float** | | [optional] +**num_tx_data_frames_12_mbps** | **int** | | [optional] +**num_tx_data_frames_54_mbps** | **int** | | [optional] +**num_tx_data_frames_108_mbps** | **int** | | [optional] +**num_tx_data_frames_300_mbps** | **int** | | [optional] +**num_tx_data_frames_450_mbps** | **int** | | [optional] +**num_tx_data_frames_1300_mbps** | **int** | | [optional] +**num_tx_data_frames_1300_plus_mbps** | **int** | | [optional] +**num_rx_data_frames_12_mbps** | **int** | | [optional] +**num_rx_data_frames_54_mbps** | **int** | | [optional] +**num_rx_data_frames_108_mbps** | **int** | | [optional] +**num_rx_data_frames_300_mbps** | **int** | | [optional] +**num_rx_data_frames_450_mbps** | **int** | | [optional] +**num_rx_data_frames_1300_mbps** | **int** | | [optional] +**num_rx_data_frames_1300_plus_mbps** | **int** | | [optional] +**num_tx_time_frames_transmitted** | **int** | | [optional] +**num_rx_time_to_me** | **int** | | [optional] +**num_tx_time_data** | **int** | | [optional] +**num_rx_time_data** | **int** | | [optional] +**num_tx_frames_transmitted** | **int** | | [optional] +**num_tx_success_with_retry** | **int** | | [optional] +**num_tx_multiple_retries** | **int** | | [optional] +**num_tx_data_transmitted_retried** | **int** | | [optional] +**num_tx_data_transmitted** | **int** | | [optional] +**num_rx_frames_received** | **int** | | [optional] +**num_rx_data_frames_retried** | **int** | | [optional] +**num_rx_data_frames** | **int** | | [optional] +**num_tx_1_mbps** | **int** | | [optional] +**num_tx_6_mbps** | **int** | | [optional] +**num_tx_9_mbps** | **int** | | [optional] +**num_tx_12_mbps** | **int** | | [optional] +**num_tx_18_mbps** | **int** | | [optional] +**num_tx_24_mbps** | **int** | | [optional] +**num_tx_36_mbps** | **int** | | [optional] +**num_tx_48_mbps** | **int** | | [optional] +**num_tx_54_mbps** | **int** | | [optional] +**num_rx_1_mbps** | **int** | | [optional] +**num_rx_6_mbps** | **int** | | [optional] +**num_rx_9_mbps** | **int** | | [optional] +**num_rx_12_mbps** | **int** | | [optional] +**num_rx_18_mbps** | **int** | | [optional] +**num_rx_24_mbps** | **int** | | [optional] +**num_rx_36_mbps** | **int** | | [optional] +**num_rx_48_mbps** | **int** | | [optional] +**num_rx_54_mbps** | **int** | | [optional] +**num_tx_ht_6_5_mbps** | **int** | | [optional] +**num_tx_ht_7_1_mbps** | **int** | | [optional] +**num_tx_ht_13_mbps** | **int** | | [optional] +**num_tx_ht_13_5_mbps** | **int** | | [optional] +**num_tx_ht_14_3_mbps** | **int** | | [optional] +**num_tx_ht_15_mbps** | **int** | | [optional] +**num_tx_ht_19_5_mbps** | **int** | | [optional] +**num_tx_ht_21_7_mbps** | **int** | | [optional] +**num_tx_ht_26_mbps** | **int** | | [optional] +**num_tx_ht_27_mbps** | **int** | | [optional] +**num_tx_ht_28_7_mbps** | **int** | | [optional] +**num_tx_ht_28_8_mbps** | **int** | | [optional] +**num_tx_ht_29_2_mbps** | **int** | | [optional] +**num_tx_ht_30_mbps** | **int** | | [optional] +**num_tx_ht_32_5_mbps** | **int** | | [optional] +**num_tx_ht_39_mbps** | **int** | | [optional] +**num_tx_ht_40_5_mbps** | **int** | | [optional] +**num_tx_ht_43_2_mbps** | **int** | | [optional] +**num_tx_ht_45_mbps** | **int** | | [optional] +**num_tx_ht_52_mbps** | **int** | | [optional] +**num_tx_ht_54_mbps** | **int** | | [optional] +**num_tx_ht_57_5_mbps** | **int** | | [optional] +**num_tx_ht_57_7_mbps** | **int** | | [optional] +**num_tx_ht_58_5_mbps** | **int** | | [optional] +**num_tx_ht_60_mbps** | **int** | | [optional] +**num_tx_ht_65_mbps** | **int** | | [optional] +**num_tx_ht_72_1_mbps** | **int** | | [optional] +**num_tx_ht_78_mbps** | **int** | | [optional] +**num_tx_ht_81_mbps** | **int** | | [optional] +**num_tx_ht_86_6_mbps** | **int** | | [optional] +**num_tx_ht_86_8_mbps** | **int** | | [optional] +**num_tx_ht_87_8_mbps** | **int** | | [optional] +**num_tx_ht_90_mbps** | **int** | | [optional] +**num_tx_ht_97_5_mbps** | **int** | | [optional] +**num_tx_ht_104_mbps** | **int** | | [optional] +**num_tx_ht_108_mbps** | **int** | | [optional] +**num_tx_ht_115_5_mbps** | **int** | | [optional] +**num_tx_ht_117_mbps** | **int** | | [optional] +**num_tx_ht_117_1_mbps** | **int** | | [optional] +**num_tx_ht_120_mbps** | **int** | | [optional] +**num_tx_ht_121_5_mbps** | **int** | | [optional] +**num_tx_ht_130_mbps** | **int** | | [optional] +**num_tx_ht_130_3_mbps** | **int** | | [optional] +**num_tx_ht_135_mbps** | **int** | | [optional] +**num_tx_ht_144_3_mbps** | **int** | | [optional] +**num_tx_ht_150_mbps** | **int** | | [optional] +**num_tx_ht_156_mbps** | **int** | | [optional] +**num_tx_ht_162_mbps** | **int** | | [optional] +**num_tx_ht_173_1_mbps** | **int** | | [optional] +**num_tx_ht_173_3_mbps** | **int** | | [optional] +**num_tx_ht_175_5_mbps** | **int** | | [optional] +**num_tx_ht_180_mbps** | **int** | | [optional] +**num_tx_ht_195_mbps** | **int** | | [optional] +**num_tx_ht_200_mbps** | **int** | | [optional] +**num_tx_ht_208_mbps** | **int** | | [optional] +**num_tx_ht_216_mbps** | **int** | | [optional] +**num_tx_ht_216_6_mbps** | **int** | | [optional] +**num_tx_ht_231_1_mbps** | **int** | | [optional] +**num_tx_ht_234_mbps** | **int** | | [optional] +**num_tx_ht_240_mbps** | **int** | | [optional] +**num_tx_ht_243_mbps** | **int** | | [optional] +**num_tx_ht_260_mbps** | **int** | | [optional] +**num_tx_ht_263_2_mbps** | **int** | | [optional] +**num_tx_ht_270_mbps** | **int** | | [optional] +**num_tx_ht_288_7_mbps** | **int** | | [optional] +**num_tx_ht_288_8_mbps** | **int** | | [optional] +**num_tx_ht_292_5_mbps** | **int** | | [optional] +**num_tx_ht_300_mbps** | **int** | | [optional] +**num_tx_ht_312_mbps** | **int** | | [optional] +**num_tx_ht_324_mbps** | **int** | | [optional] +**num_tx_ht_325_mbps** | **int** | | [optional] +**num_tx_ht_346_7_mbps** | **int** | | [optional] +**num_tx_ht_351_mbps** | **int** | | [optional] +**num_tx_ht_351_2_mbps** | **int** | | [optional] +**num_tx_ht_360_mbps** | **int** | | [optional] +**num_rx_ht_6_5_mbps** | **int** | | [optional] +**num_rx_ht_7_1_mbps** | **int** | | [optional] +**num_rx_ht_13_mbps** | **int** | | [optional] +**num_rx_ht_13_5_mbps** | **int** | | [optional] +**num_rx_ht_14_3_mbps** | **int** | | [optional] +**num_rx_ht_15_mbps** | **int** | | [optional] +**num_rx_ht_19_5_mbps** | **int** | | [optional] +**num_rx_ht_21_7_mbps** | **int** | | [optional] +**num_rx_ht_26_mbps** | **int** | | [optional] +**num_rx_ht_27_mbps** | **int** | | [optional] +**num_rx_ht_28_7_mbps** | **int** | | [optional] +**num_rx_ht_28_8_mbps** | **int** | | [optional] +**num_rx_ht_29_2_mbps** | **int** | | [optional] +**num_rx_ht_30_mbps** | **int** | | [optional] +**num_rx_ht_32_5_mbps** | **int** | | [optional] +**num_rx_ht_39_mbps** | **int** | | [optional] +**num_rx_ht_40_5_mbps** | **int** | | [optional] +**num_rx_ht_43_2_mbps** | **int** | | [optional] +**num_rx_ht_45_mbps** | **int** | | [optional] +**num_rx_ht_52_mbps** | **int** | | [optional] +**num_rx_ht_54_mbps** | **int** | | [optional] +**num_rx_ht_57_5_mbps** | **int** | | [optional] +**num_rx_ht_57_7_mbps** | **int** | | [optional] +**num_rx_ht_58_5_mbps** | **int** | | [optional] +**num_rx_ht_60_mbps** | **int** | | [optional] +**num_rx_ht_65_mbps** | **int** | | [optional] +**num_rx_ht_72_1_mbps** | **int** | | [optional] +**num_rx_ht_78_mbps** | **int** | | [optional] +**num_rx_ht_81_mbps** | **int** | | [optional] +**num_rx_ht_86_6_mbps** | **int** | | [optional] +**num_rx_ht_86_8_mbps** | **int** | | [optional] +**num_rx_ht_87_8_mbps** | **int** | | [optional] +**num_rx_ht_90_mbps** | **int** | | [optional] +**num_rx_ht_97_5_mbps** | **int** | | [optional] +**num_rx_ht_104_mbps** | **int** | | [optional] +**num_rx_ht_108_mbps** | **int** | | [optional] +**num_rx_ht_115_5_mbps** | **int** | | [optional] +**num_rx_ht_117_mbps** | **int** | | [optional] +**num_rx_ht_117_1_mbps** | **int** | | [optional] +**num_rx_ht_120_mbps** | **int** | | [optional] +**num_rx_ht_121_5_mbps** | **int** | | [optional] +**num_rx_ht_130_mbps** | **int** | | [optional] +**num_rx_ht_130_3_mbps** | **int** | | [optional] +**num_rx_ht_135_mbps** | **int** | | [optional] +**num_rx_ht_144_3_mbps** | **int** | | [optional] +**num_rx_ht_150_mbps** | **int** | | [optional] +**num_rx_ht_156_mbps** | **int** | | [optional] +**num_rx_ht_162_mbps** | **int** | | [optional] +**num_rx_ht_173_1_mbps** | **int** | | [optional] +**num_rx_ht_173_3_mbps** | **int** | | [optional] +**num_rx_ht_175_5_mbps** | **int** | | [optional] +**num_rx_ht_180_mbps** | **int** | | [optional] +**num_rx_ht_195_mbps** | **int** | | [optional] +**num_rx_ht_200_mbps** | **int** | | [optional] +**num_rx_ht_208_mbps** | **int** | | [optional] +**num_rx_ht_216_mbps** | **int** | | [optional] +**num_rx_ht_216_6_mbps** | **int** | | [optional] +**num_rx_ht_231_1_mbps** | **int** | | [optional] +**num_rx_ht_234_mbps** | **int** | | [optional] +**num_rx_ht_240_mbps** | **int** | | [optional] +**num_rx_ht_243_mbps** | **int** | | [optional] +**num_rx_ht_260_mbps** | **int** | | [optional] +**num_rx_ht_263_2_mbps** | **int** | | [optional] +**num_rx_ht_270_mbps** | **int** | | [optional] +**num_rx_ht_288_7_mbps** | **int** | | [optional] +**num_rx_ht_288_8_mbps** | **int** | | [optional] +**num_rx_ht_292_5_mbps** | **int** | | [optional] +**num_rx_ht_300_mbps** | **int** | | [optional] +**num_rx_ht_312_mbps** | **int** | | [optional] +**num_rx_ht_324_mbps** | **int** | | [optional] +**num_rx_ht_325_mbps** | **int** | | [optional] +**num_rx_ht_346_7_mbps** | **int** | | [optional] +**num_rx_ht_351_mbps** | **int** | | [optional] +**num_rx_ht_351_2_mbps** | **int** | | [optional] +**num_rx_ht_360_mbps** | **int** | | [optional] +**num_tx_vht_292_5_mbps** | **int** | | [optional] +**num_tx_vht_325_mbps** | **int** | | [optional] +**num_tx_vht_364_5_mbps** | **int** | | [optional] +**num_tx_vht_390_mbps** | **int** | | [optional] +**num_tx_vht_400_mbps** | **int** | | [optional] +**num_tx_vht_403_mbps** | **int** | | [optional] +**num_tx_vht_405_mbps** | **int** | | [optional] +**num_tx_vht_432_mbps** | **int** | | [optional] +**num_tx_vht_433_2_mbps** | **int** | | [optional] +**num_tx_vht_450_mbps** | **int** | | [optional] +**num_tx_vht_468_mbps** | **int** | | [optional] +**num_tx_vht_480_mbps** | **int** | | [optional] +**num_tx_vht_486_mbps** | **int** | | [optional] +**num_tx_vht_520_mbps** | **int** | | [optional] +**num_tx_vht_526_5_mbps** | **int** | | [optional] +**num_tx_vht_540_mbps** | **int** | | [optional] +**num_tx_vht_585_mbps** | **int** | | [optional] +**num_tx_vht_600_mbps** | **int** | | [optional] +**num_tx_vht_648_mbps** | **int** | | [optional] +**num_tx_vht_650_mbps** | **int** | | [optional] +**num_tx_vht_702_mbps** | **int** | | [optional] +**num_tx_vht_720_mbps** | **int** | | [optional] +**num_tx_vht_780_mbps** | **int** | | [optional] +**num_tx_vht_800_mbps** | **int** | | [optional] +**num_tx_vht_866_7_mbps** | **int** | | [optional] +**num_tx_vht_877_5_mbps** | **int** | | [optional] +**num_tx_vht_936_mbps** | **int** | | [optional] +**num_tx_vht_975_mbps** | **int** | | [optional] +**num_tx_vht_1040_mbps** | **int** | | [optional] +**num_tx_vht_1053_mbps** | **int** | | [optional] +**num_tx_vht_1053_1_mbps** | **int** | | [optional] +**num_tx_vht_1170_mbps** | **int** | | [optional] +**num_tx_vht_1300_mbps** | **int** | | [optional] +**num_tx_vht_1404_mbps** | **int** | | [optional] +**num_tx_vht_1560_mbps** | **int** | | [optional] +**num_tx_vht_1579_5_mbps** | **int** | | [optional] +**num_tx_vht_1733_1_mbps** | **int** | | [optional] +**num_tx_vht_1733_4_mbps** | **int** | | [optional] +**num_tx_vht_1755_mbps** | **int** | | [optional] +**num_tx_vht_1872_mbps** | **int** | | [optional] +**num_tx_vht_1950_mbps** | **int** | | [optional] +**num_tx_vht_2080_mbps** | **int** | | [optional] +**num_tx_vht_2106_mbps** | **int** | | [optional] +**num_tx_vht_2340_mbps** | **int** | | [optional] +**num_tx_vht_2600_mbps** | **int** | | [optional] +**num_tx_vht_2808_mbps** | **int** | | [optional] +**num_tx_vht_3120_mbps** | **int** | | [optional] +**num_tx_vht_3466_8_mbps** | **int** | | [optional] +**num_rx_vht_292_5_mbps** | **int** | | [optional] +**num_rx_vht_325_mbps** | **int** | | [optional] +**num_rx_vht_364_5_mbps** | **int** | | [optional] +**num_rx_vht_390_mbps** | **int** | | [optional] +**num_rx_vht_400_mbps** | **int** | | [optional] +**num_rx_vht_403_mbps** | **int** | | [optional] +**num_rx_vht_405_mbps** | **int** | | [optional] +**num_rx_vht_432_mbps** | **int** | | [optional] +**num_rx_vht_433_2_mbps** | **int** | | [optional] +**num_rx_vht_450_mbps** | **int** | | [optional] +**num_rx_vht_468_mbps** | **int** | | [optional] +**num_rx_vht_480_mbps** | **int** | | [optional] +**num_rx_vht_486_mbps** | **int** | | [optional] +**num_rx_vht_520_mbps** | **int** | | [optional] +**num_rx_vht_526_5_mbps** | **int** | | [optional] +**num_rx_vht_540_mbps** | **int** | | [optional] +**num_rx_vht_585_mbps** | **int** | | [optional] +**num_rx_vht_600_mbps** | **int** | | [optional] +**num_rx_vht_648_mbps** | **int** | | [optional] +**num_rx_vht_650_mbps** | **int** | | [optional] +**num_rx_vht_702_mbps** | **int** | | [optional] +**num_rx_vht_720_mbps** | **int** | | [optional] +**num_rx_vht_780_mbps** | **int** | | [optional] +**num_rx_vht_800_mbps** | **int** | | [optional] +**num_rx_vht_866_7_mbps** | **int** | | [optional] +**num_rx_vht_877_5_mbps** | **int** | | [optional] +**num_rx_vht_936_mbps** | **int** | | [optional] +**num_rx_vht_975_mbps** | **int** | | [optional] +**num_rx_vht_1040_mbps** | **int** | | [optional] +**num_rx_vht_1053_mbps** | **int** | | [optional] +**num_rx_vht_1053_1_mbps** | **int** | | [optional] +**num_rx_vht_1170_mbps** | **int** | | [optional] +**num_rx_vht_1300_mbps** | **int** | | [optional] +**num_rx_vht_1404_mbps** | **int** | | [optional] +**num_rx_vht_1560_mbps** | **int** | | [optional] +**num_rx_vht_1579_5_mbps** | **int** | | [optional] +**num_rx_vht_1733_1_mbps** | **int** | | [optional] +**num_rx_vht_1733_4_mbps** | **int** | | [optional] +**num_rx_vht_1755_mbps** | **int** | | [optional] +**num_rx_vht_1872_mbps** | **int** | | [optional] +**num_rx_vht_1950_mbps** | **int** | | [optional] +**num_rx_vht_2080_mbps** | **int** | | [optional] +**num_rx_vht_2106_mbps** | **int** | | [optional] +**num_rx_vht_2340_mbps** | **int** | | [optional] +**num_rx_vht_2600_mbps** | **int** | | [optional] +**num_rx_vht_2808_mbps** | **int** | | [optional] +**num_rx_vht_3120_mbps** | **int** | | [optional] +**num_rx_vht_3466_8_mbps** | **int** | | [optional] +**rx_last_rssi** | **int** | The RSSI of last frame received. | [optional] +**num_rx_no_fcs_err** | **int** | The number of received frames without FCS errors. | [optional] +**num_rx_data** | **int** | The number of received data frames. | [optional] +**num_rx_management** | **int** | The number of received management frames. | [optional] +**num_rx_control** | **int** | The number of received control frames. | [optional] +**rx_bytes** | **int** | The number of received bytes. | [optional] +**rx_data_bytes** | **int** | The number of received data bytes. | [optional] +**num_rx_rts** | **int** | The number of received RTS frames. | [optional] +**num_rx_cts** | **int** | The number of received CTS frames. | [optional] +**num_rx_ack** | **int** | The number of all received ACK frames (Acks + BlockAcks). | [optional] +**num_rx_probe_req** | **int** | The number of received probe request frames. | [optional] +**num_rx_retry** | **int** | The number of received retry frames. | [optional] +**num_rx_dup** | **int** | The number of received duplicated frames. | [optional] +**num_rx_null_data** | **int** | The number of received null data frames. | [optional] +**num_rx_pspoll** | **int** | The number of received ps-poll frames. | [optional] +**num_rx_stbc** | **int** | The number of received STBC frames. | [optional] +**num_rx_ldpc** | **int** | The number of received LDPC frames. | [optional] +**last_recv_layer3_ts** | **int** | The timestamp of last received layer three user traffic (IP data) | [optional] +**num_rcv_frame_for_tx** | **int** | The number of received ethernet and local generated frames for transmit. | [optional] +**num_tx_queued** | **int** | The number of TX frames queued. | [optional] +**num_tx_dropped** | **int** | The number of every TX frame dropped. | [optional] +**num_tx_retry_dropped** | **int** | The number of TX frame dropped due to retries. | [optional] +**num_tx_succ** | **int** | The number of frames successfully transmitted. | [optional] +**num_tx_byte_succ** | **int** | The Number of Tx bytes successfully transmitted. | [optional] +**num_tx_succ_no_retry** | **int** | The number of successfully transmitted frames at first attempt. | [optional] +**num_tx_succ_retries** | **int** | The number of successfully transmitted frames with retries. | [optional] +**num_tx_multi_retries** | **int** | The number of Tx frames with retries. | [optional] +**num_tx_management** | **int** | The number of TX management frames. | [optional] +**num_tx_control** | **int** | The number of Tx control frames. | [optional] +**num_tx_action** | **int** | The number of Tx action frames. | [optional] +**num_tx_prop_resp** | **int** | The number of TX probe response. | [optional] +**num_tx_data** | **int** | The number of Tx data frames. | [optional] +**num_tx_data_retries** | **int** | The number of Tx data frames with retries,done. | [optional] +**num_tx_rts_succ** | **int** | The number of RTS frames sent successfully, done. | [optional] +**num_tx_rts_fail** | **int** | The number of RTS frames failed transmission. | [optional] +**num_tx_no_ack** | **int** | The number of TX frames failed because of not Acked. | [optional] +**num_tx_eapol** | **int** | The number of EAPOL frames sent. | [optional] +**num_tx_ldpc** | **int** | The number of total LDPC frames sent. | [optional] +**num_tx_stbc** | **int** | The number of total STBC frames sent. | [optional] +**num_tx_aggr_succ** | **int** | The number of aggregation frames sent successfully. | [optional] +**num_tx_aggr_one_mpdu** | **int** | The number of aggregation frames sent using single MPDU (where the A-MPDU contains only one MPDU ). | [optional] +**last_sent_layer3_ts** | **int** | The timestamp of last successfully sent layer three user traffic (IP data). | [optional] +**wmm_queue_stats** | [**WmmQueueStatsPerQueueTypeMap**](WmmQueueStatsPerQueueTypeMap.md) | | [optional] +**list_mcs_stats_mcs_stats** | [**list[McsStats]**](McsStats.md) | | [optional] +**last_rx_mcs_idx** | [**McsType**](McsType.md) | | [optional] +**last_tx_mcs_idx** | [**McsType**](McsType.md) | | [optional] +**radio_type** | [**RadioType**](RadioType.md) | | [optional] +**period_length_sec** | **int** | How many seconds the AP measured for the metric | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ClientRemovedEvent.md b/libs/cloudapi/cloudsdk/docs/ClientRemovedEvent.md new file mode 100644 index 000000000..21c44d489 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ClientRemovedEvent.md @@ -0,0 +1,12 @@ +# ClientRemovedEvent + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**event_timestamp** | **int** | | [optional] +**customer_id** | **int** | | [optional] +**payload** | [**Client**](Client.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ClientSession.md b/libs/cloudapi/cloudsdk/docs/ClientSession.md new file mode 100644 index 000000000..6d302956f --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ClientSession.md @@ -0,0 +1,13 @@ +# ClientSession + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**mac_address** | [**MacAddress**](MacAddress.md) | | [optional] +**customer_id** | **int** | | [optional] +**equipment_id** | **int** | | [optional] +**details** | [**ClientSessionDetails**](ClientSessionDetails.md) | | [optional] +**last_modified_timestamp** | **int** | This class does not perform checks against concurrrent updates. Here last update always wins. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ClientSessionChangedEvent.md b/libs/cloudapi/cloudsdk/docs/ClientSessionChangedEvent.md new file mode 100644 index 000000000..21b3778a6 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ClientSessionChangedEvent.md @@ -0,0 +1,13 @@ +# ClientSessionChangedEvent + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**event_timestamp** | **int** | | [optional] +**customer_id** | **int** | | [optional] +**equipment_id** | **int** | | [optional] +**payload** | [**ClientSession**](ClientSession.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ClientSessionDetails.md b/libs/cloudapi/cloudsdk/docs/ClientSessionDetails.md new file mode 100644 index 000000000..df64baab4 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ClientSessionDetails.md @@ -0,0 +1,53 @@ +# ClientSessionDetails + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**session_id** | **int** | | [optional] +**auth_timestamp** | **int** | | [optional] +**assoc_timestamp** | **int** | | [optional] +**assoc_internal_sc** | **int** | | [optional] +**ip_timestamp** | **int** | | [optional] +**disconnect_by_ap_timestamp** | **int** | | [optional] +**disconnect_by_client_timestamp** | **int** | | [optional] +**timeout_timestamp** | **int** | | [optional] +**first_data_sent_timestamp** | **int** | | [optional] +**first_data_rcvd_timestamp** | **int** | | [optional] +**ip_address** | **str** | | [optional] +**radius_username** | **str** | | [optional] +**ssid** | **str** | | [optional] +**radio_type** | [**RadioType**](RadioType.md) | | [optional] +**last_event_timestamp** | **int** | | [optional] +**hostname** | **str** | | [optional] +**ap_fingerprint** | **str** | | [optional] +**user_agent_str** | **str** | | [optional] +**last_rx_timestamp** | **int** | | [optional] +**last_tx_timestamp** | **int** | | [optional] +**cp_username** | **str** | | [optional] +**dhcp_details** | [**ClientDhcpDetails**](ClientDhcpDetails.md) | | [optional] +**eap_details** | [**ClientEapDetails**](ClientEapDetails.md) | | [optional] +**metric_details** | [**ClientSessionMetricDetails**](ClientSessionMetricDetails.md) | | [optional] +**is_reassociation** | **bool** | | [optional] +**disconnect_by_ap_reason_code** | **int** | | [optional] +**disconnect_by_client_reason_code** | **int** | | [optional] +**disconnect_by_ap_internal_reason_code** | **int** | | [optional] +**disconnect_by_client_internal_reason_code** | **int** | | [optional] +**port_enabled_timestamp** | **int** | | [optional] +**is11_r_used** | **bool** | | [optional] +**is11_k_used** | **bool** | | [optional] +**is11_v_used** | **bool** | | [optional] +**security_type** | [**SecurityType**](SecurityType.md) | | [optional] +**steer_type** | [**SteerType**](SteerType.md) | | [optional] +**previous_valid_session_id** | **int** | | [optional] +**last_failure_details** | [**ClientFailureDetails**](ClientFailureDetails.md) | | [optional] +**first_failure_details** | [**ClientFailureDetails**](ClientFailureDetails.md) | | [optional] +**association_status** | **int** | | [optional] +**dynamic_vlan** | **int** | | [optional] +**assoc_rssi** | **int** | | [optional] +**prior_session_id** | **int** | | [optional] +**prior_equipment_id** | **int** | | [optional] +**classification_name** | **str** | | [optional] +**association_state** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ClientSessionMetricDetails.md b/libs/cloudapi/cloudsdk/docs/ClientSessionMetricDetails.md new file mode 100644 index 000000000..952c17cd3 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ClientSessionMetricDetails.md @@ -0,0 +1,25 @@ +# ClientSessionMetricDetails + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**rx_bytes** | **int** | | [optional] +**tx_bytes** | **int** | | [optional] +**total_rx_packets** | **int** | | [optional] +**total_tx_packets** | **int** | | [optional] +**rx_mbps** | **float** | | [optional] +**tx_mbps** | **float** | | [optional] +**rssi** | **int** | | [optional] +**snr** | **int** | | [optional] +**rx_rate_kbps** | **int** | | [optional] +**tx_rate_kbps** | **int** | | [optional] +**last_metric_timestamp** | **int** | | [optional] +**last_rx_timestamp** | **int** | | [optional] +**last_tx_timestamp** | **int** | | [optional] +**classification** | **str** | | [optional] +**tx_data_frames** | **int** | The number of dataframes transmitted TO the client from the AP. | [optional] +**tx_data_frames_retried** | **int** | The number of data frames transmitted TO the client that were retried. Note this is not the same as the number of retries. | [optional] +**rx_data_frames** | **int** | The number of dataframes transmitted FROM the client TO the AP. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ClientSessionRemovedEvent.md b/libs/cloudapi/cloudsdk/docs/ClientSessionRemovedEvent.md new file mode 100644 index 000000000..124772a6c --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ClientSessionRemovedEvent.md @@ -0,0 +1,13 @@ +# ClientSessionRemovedEvent + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**event_timestamp** | **int** | | [optional] +**customer_id** | **int** | | [optional] +**equipment_id** | **int** | | [optional] +**payload** | [**ClientSession**](ClientSession.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ClientTimeoutEvent.md b/libs/cloudapi/cloudsdk/docs/ClientTimeoutEvent.md new file mode 100644 index 000000000..24dbeb9a3 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ClientTimeoutEvent.md @@ -0,0 +1,15 @@ +# ClientTimeoutEvent + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**all_of** | [**RealTimeEvent**](RealTimeEvent.md) | | [optional] +**session_id** | **int** | | [optional] +**client_mac_address** | [**MacAddress**](MacAddress.md) | | [optional] +**last_recv_time** | **int** | | [optional] +**last_sent_time** | **int** | | [optional] +**timeout_reason** | [**ClientTimeoutReason**](ClientTimeoutReason.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ClientTimeoutReason.md b/libs/cloudapi/cloudsdk/docs/ClientTimeoutReason.md new file mode 100644 index 000000000..46920812b --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ClientTimeoutReason.md @@ -0,0 +1,8 @@ +# ClientTimeoutReason + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ClientsApi.md b/libs/cloudapi/cloudsdk/docs/ClientsApi.md new file mode 100644 index 000000000..297cc64ea --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ClientsApi.md @@ -0,0 +1,367 @@ +# swagger_client.ClientsApi + +All URIs are relative to *https://localhost:9091* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**get_all_client_sessions_in_set**](ClientsApi.md#get_all_client_sessions_in_set) | **GET** /portal/client/session/inSet | Get list of Client sessions for customerId and a set of client MAC addresses. +[**get_all_clients_in_set**](ClientsApi.md#get_all_clients_in_set) | **GET** /portal/client/inSet | Get list of Clients for customerId and a set of client MAC addresses. +[**get_blocked_clients**](ClientsApi.md#get_blocked_clients) | **GET** /portal/client/blocked | Retrieves a list of Clients for the customer that are marked as blocked. This per-customer list of blocked clients is pushed to every AP, so it has to be limited in size. +[**get_client_session_by_customer_with_filter**](ClientsApi.md#get_client_session_by_customer_with_filter) | **GET** /portal/client/session/forCustomer | Get list of Client sessions for customerId and a set of equipment/location ids. Equipment and locations filters are joined using logical AND operation. +[**get_for_customer**](ClientsApi.md#get_for_customer) | **GET** /portal/client/forCustomer | Get list of clients for a given customer by equipment ids +[**search_by_mac_address**](ClientsApi.md#search_by_mac_address) | **GET** /portal/client/searchByMac | Get list of Clients for customerId and searching by macSubstring. +[**update_client**](ClientsApi.md#update_client) | **PUT** /portal/client | Update Client + +# **get_all_client_sessions_in_set** +> list[ClientSession] get_all_client_sessions_in_set(customer_id, client_macs) + +Get list of Client sessions for customerId and a set of client MAC addresses. + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.ClientsApi(swagger_client.ApiClient(configuration)) +customer_id = 56 # int | customer id +client_macs = ['client_macs_example'] # list[str] | Set of client MAC addresses. + +try: + # Get list of Client sessions for customerId and a set of client MAC addresses. + api_response = api_instance.get_all_client_sessions_in_set(customer_id, client_macs) + pprint(api_response) +except ApiException as e: + print("Exception when calling ClientsApi->get_all_client_sessions_in_set: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **customer_id** | **int**| customer id | + **client_macs** | [**list[str]**](str.md)| Set of client MAC addresses. | + +### Return type + +[**list[ClientSession]**](ClientSession.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_all_clients_in_set** +> list[Client] get_all_clients_in_set(customer_id, client_macs) + +Get list of Clients for customerId and a set of client MAC addresses. + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.ClientsApi(swagger_client.ApiClient(configuration)) +customer_id = 56 # int | customer id +client_macs = ['client_macs_example'] # list[str] | Set of client MAC addresses. + +try: + # Get list of Clients for customerId and a set of client MAC addresses. + api_response = api_instance.get_all_clients_in_set(customer_id, client_macs) + pprint(api_response) +except ApiException as e: + print("Exception when calling ClientsApi->get_all_clients_in_set: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **customer_id** | **int**| customer id | + **client_macs** | [**list[str]**](str.md)| Set of client MAC addresses. | + +### Return type + +[**list[Client]**](Client.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_blocked_clients** +> list[Client] get_blocked_clients(customer_id) + +Retrieves a list of Clients for the customer that are marked as blocked. This per-customer list of blocked clients is pushed to every AP, so it has to be limited in size. + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.ClientsApi(swagger_client.ApiClient(configuration)) +customer_id = 56 # int | Customer ID + +try: + # Retrieves a list of Clients for the customer that are marked as blocked. This per-customer list of blocked clients is pushed to every AP, so it has to be limited in size. + api_response = api_instance.get_blocked_clients(customer_id) + pprint(api_response) +except ApiException as e: + print("Exception when calling ClientsApi->get_blocked_clients: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **customer_id** | **int**| Customer ID | + +### Return type + +[**list[Client]**](Client.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_client_session_by_customer_with_filter** +> PaginationResponseClientSession get_client_session_by_customer_with_filter(customer_id, pagination_context, equipment_ids=equipment_ids, location_ids=location_ids, sort_by=sort_by) + +Get list of Client sessions for customerId and a set of equipment/location ids. Equipment and locations filters are joined using logical AND operation. + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.ClientsApi(swagger_client.ApiClient(configuration)) +customer_id = 56 # int | customer id +pagination_context = swagger_client.PaginationContextClientSession() # PaginationContextClientSession | pagination context +equipment_ids = [56] # list[int] | set of equipment ids. Empty or null means retrieve all equipment for the customer. (optional) +location_ids = [56] # list[int] | set of location ids. Empty or null means retrieve for all locations for the customer. (optional) +sort_by = [swagger_client.SortColumnsClientSession()] # list[SortColumnsClientSession] | sort options (optional) + +try: + # Get list of Client sessions for customerId and a set of equipment/location ids. Equipment and locations filters are joined using logical AND operation. + api_response = api_instance.get_client_session_by_customer_with_filter(customer_id, pagination_context, equipment_ids=equipment_ids, location_ids=location_ids, sort_by=sort_by) + pprint(api_response) +except ApiException as e: + print("Exception when calling ClientsApi->get_client_session_by_customer_with_filter: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **customer_id** | **int**| customer id | + **pagination_context** | [**PaginationContextClientSession**](.md)| pagination context | + **equipment_ids** | [**list[int]**](int.md)| set of equipment ids. Empty or null means retrieve all equipment for the customer. | [optional] + **location_ids** | [**list[int]**](int.md)| set of location ids. Empty or null means retrieve for all locations for the customer. | [optional] + **sort_by** | [**list[SortColumnsClientSession]**](SortColumnsClientSession.md)| sort options | [optional] + +### Return type + +[**PaginationResponseClientSession**](PaginationResponseClientSession.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_for_customer** +> PaginationResponseClient get_for_customer(customer_id, equipment_ids=equipment_ids, sort_by=sort_by, pagination_context=pagination_context) + +Get list of clients for a given customer by equipment ids + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.ClientsApi(swagger_client.ApiClient(configuration)) +customer_id = 56 # int | Customer ID +equipment_ids = [56] # list[int] | Equipment ID (optional) +sort_by = [swagger_client.SortColumnsClient()] # list[SortColumnsClient] | sort options (optional) +pagination_context = swagger_client.PaginationContextClient() # PaginationContextClient | pagination context (optional) + +try: + # Get list of clients for a given customer by equipment ids + api_response = api_instance.get_for_customer(customer_id, equipment_ids=equipment_ids, sort_by=sort_by, pagination_context=pagination_context) + pprint(api_response) +except ApiException as e: + print("Exception when calling ClientsApi->get_for_customer: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **customer_id** | **int**| Customer ID | + **equipment_ids** | [**list[int]**](int.md)| Equipment ID | [optional] + **sort_by** | [**list[SortColumnsClient]**](SortColumnsClient.md)| sort options | [optional] + **pagination_context** | [**PaginationContextClient**](.md)| pagination context | [optional] + +### Return type + +[**PaginationResponseClient**](PaginationResponseClient.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **search_by_mac_address** +> PaginationResponseClient search_by_mac_address(customer_id, mac_substring=mac_substring, sort_by=sort_by, pagination_context=pagination_context) + +Get list of Clients for customerId and searching by macSubstring. + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.ClientsApi(swagger_client.ApiClient(configuration)) +customer_id = 56 # int | customer id +mac_substring = 'mac_substring_example' # str | MacAddress search criteria (optional) +sort_by = [swagger_client.SortColumnsClient()] # list[SortColumnsClient] | sort options (optional) +pagination_context = swagger_client.PaginationContextClient() # PaginationContextClient | pagination context (optional) + +try: + # Get list of Clients for customerId and searching by macSubstring. + api_response = api_instance.search_by_mac_address(customer_id, mac_substring=mac_substring, sort_by=sort_by, pagination_context=pagination_context) + pprint(api_response) +except ApiException as e: + print("Exception when calling ClientsApi->search_by_mac_address: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **customer_id** | **int**| customer id | + **mac_substring** | **str**| MacAddress search criteria | [optional] + **sort_by** | [**list[SortColumnsClient]**](SortColumnsClient.md)| sort options | [optional] + **pagination_context** | [**PaginationContextClient**](.md)| pagination context | [optional] + +### Return type + +[**PaginationResponseClient**](PaginationResponseClient.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **update_client** +> Client update_client(body) + +Update Client + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.ClientsApi(swagger_client.ApiClient(configuration)) +body = swagger_client.Client() # Client | Client info + +try: + # Update Client + api_response = api_instance.update_client(body) + pprint(api_response) +except ApiException as e: + print("Exception when calling ClientsApi->update_client: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**Client**](Client.md)| Client info | + +### Return type + +[**Client**](Client.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/CommonProbeDetails.md b/libs/cloudapi/cloudsdk/docs/CommonProbeDetails.md new file mode 100644 index 000000000..e71f8d547 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/CommonProbeDetails.md @@ -0,0 +1,12 @@ +# CommonProbeDetails + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**latency_ms** | [**MinMaxAvgValueInt**](MinMaxAvgValueInt.md) | | [optional] +**num_success_probe_requests** | **int** | | [optional] +**num_failed_probe_requests** | **int** | | [optional] +**status** | [**StatusCode**](StatusCode.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/CountryCode.md b/libs/cloudapi/cloudsdk/docs/CountryCode.md new file mode 100644 index 000000000..8bc6f7e09 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/CountryCode.md @@ -0,0 +1,8 @@ +# CountryCode + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/CountsPerAlarmCodeMap.md b/libs/cloudapi/cloudsdk/docs/CountsPerAlarmCodeMap.md new file mode 100644 index 000000000..d11806915 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/CountsPerAlarmCodeMap.md @@ -0,0 +1,8 @@ +# CountsPerAlarmCodeMap + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/CountsPerEquipmentIdPerAlarmCodeMap.md b/libs/cloudapi/cloudsdk/docs/CountsPerEquipmentIdPerAlarmCodeMap.md new file mode 100644 index 000000000..d600db29e --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/CountsPerEquipmentIdPerAlarmCodeMap.md @@ -0,0 +1,8 @@ +# CountsPerEquipmentIdPerAlarmCodeMap + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/Customer.md b/libs/cloudapi/cloudsdk/docs/Customer.md new file mode 100644 index 000000000..36e7048ca --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/Customer.md @@ -0,0 +1,14 @@ +# Customer + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **int** | | +**email** | **str** | | +**name** | **str** | | +**details** | [**CustomerDetails**](CustomerDetails.md) | | [optional] +**created_timestamp** | **int** | | [optional] +**last_modified_timestamp** | **int** | must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/CustomerAddedEvent.md b/libs/cloudapi/cloudsdk/docs/CustomerAddedEvent.md new file mode 100644 index 000000000..6ce13b25e --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/CustomerAddedEvent.md @@ -0,0 +1,12 @@ +# CustomerAddedEvent + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**event_timestamp** | **int** | | [optional] +**customer_id** | **int** | | [optional] +**payload** | [**Customer**](Customer.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/CustomerApi.md b/libs/cloudapi/cloudsdk/docs/CustomerApi.md new file mode 100644 index 000000000..d861bfc84 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/CustomerApi.md @@ -0,0 +1,103 @@ +# swagger_client.CustomerApi + +All URIs are relative to *https://localhost:9091* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**get_customer_by_id**](CustomerApi.md#get_customer_by_id) | **GET** /portal/customer | Get Customer By Id +[**update_customer**](CustomerApi.md#update_customer) | **PUT** /portal/customer | Update Customer + +# **get_customer_by_id** +> Customer get_customer_by_id(customer_id) + +Get Customer By Id + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.CustomerApi(swagger_client.ApiClient(configuration)) +customer_id = 56 # int | customer id + +try: + # Get Customer By Id + api_response = api_instance.get_customer_by_id(customer_id) + pprint(api_response) +except ApiException as e: + print("Exception when calling CustomerApi->get_customer_by_id: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **customer_id** | **int**| customer id | + +### Return type + +[**Customer**](Customer.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **update_customer** +> Customer update_customer(body) + +Update Customer + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.CustomerApi(swagger_client.ApiClient(configuration)) +body = swagger_client.Customer() # Customer | customer info + +try: + # Update Customer + api_response = api_instance.update_customer(body) + pprint(api_response) +except ApiException as e: + print("Exception when calling CustomerApi->update_customer: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**Customer**](Customer.md)| customer info | + +### Return type + +[**Customer**](Customer.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/CustomerChangedEvent.md b/libs/cloudapi/cloudsdk/docs/CustomerChangedEvent.md new file mode 100644 index 000000000..e96b1581f --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/CustomerChangedEvent.md @@ -0,0 +1,12 @@ +# CustomerChangedEvent + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**event_timestamp** | **int** | | [optional] +**customer_id** | **int** | | [optional] +**payload** | [**Customer**](Customer.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/CustomerDetails.md b/libs/cloudapi/cloudsdk/docs/CustomerDetails.md new file mode 100644 index 000000000..90d75f879 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/CustomerDetails.md @@ -0,0 +1,9 @@ +# CustomerDetails + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**auto_provisioning** | [**EquipmentAutoProvisioningSettings**](EquipmentAutoProvisioningSettings.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/CustomerFirmwareTrackRecord.md b/libs/cloudapi/cloudsdk/docs/CustomerFirmwareTrackRecord.md new file mode 100644 index 000000000..43efee794 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/CustomerFirmwareTrackRecord.md @@ -0,0 +1,13 @@ +# CustomerFirmwareTrackRecord + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**customer_id** | **int** | | [optional] +**track_record_id** | **int** | | [optional] +**settings** | [**CustomerFirmwareTrackSettings**](CustomerFirmwareTrackSettings.md) | | [optional] +**created_timestamp** | **int** | | [optional] +**last_modified_timestamp** | **int** | must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/CustomerFirmwareTrackSettings.md b/libs/cloudapi/cloudsdk/docs/CustomerFirmwareTrackSettings.md new file mode 100644 index 000000000..7d1478da0 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/CustomerFirmwareTrackSettings.md @@ -0,0 +1,12 @@ +# CustomerFirmwareTrackSettings + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**auto_upgrade_deprecated_on_bind** | [**TrackFlag**](TrackFlag.md) | | [optional] +**auto_upgrade_unknown_on_bind** | [**TrackFlag**](TrackFlag.md) | | [optional] +**auto_upgrade_deprecated_during_maintenance** | [**TrackFlag**](TrackFlag.md) | | [optional] +**auto_upgrade_unknown_during_maintenance** | [**TrackFlag**](TrackFlag.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/CustomerPortalDashboardStatus.md b/libs/cloudapi/cloudsdk/docs/CustomerPortalDashboardStatus.md new file mode 100644 index 000000000..967804d5e --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/CustomerPortalDashboardStatus.md @@ -0,0 +1,21 @@ +# CustomerPortalDashboardStatus + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**status_data_type** | **str** | | [optional] +**time_bucket_id** | **int** | All metrics/events that have (createdTimestamp % timeBucketMs == timeBucketId) are counted in this object. | [optional] +**time_bucket_ms** | **int** | Length of the time bucket in milliseconds | [optional] +**equipment_in_service_count** | **int** | | [optional] +**equipment_with_clients_count** | **int** | | [optional] +**total_provisioned_equipment** | **int** | | [optional] +**traffic_bytes_downstream** | **int** | | [optional] +**traffic_bytes_upstream** | **int** | | [optional] +**associated_clients_count_per_radio** | [**IntegerPerRadioTypeMap**](IntegerPerRadioTypeMap.md) | | [optional] +**client_count_per_oui** | [**IntegerValueMap**](IntegerValueMap.md) | | [optional] +**equipment_count_per_oui** | [**IntegerValueMap**](IntegerValueMap.md) | | [optional] +**alarms_count_by_severity** | [**IntegerPerStatusCodeMap**](IntegerPerStatusCodeMap.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/CustomerRemovedEvent.md b/libs/cloudapi/cloudsdk/docs/CustomerRemovedEvent.md new file mode 100644 index 000000000..6c2ac56bb --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/CustomerRemovedEvent.md @@ -0,0 +1,12 @@ +# CustomerRemovedEvent + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**event_timestamp** | **int** | | [optional] +**customer_id** | **int** | | [optional] +**payload** | [**Customer**](Customer.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/DailyTimeRangeSchedule.md b/libs/cloudapi/cloudsdk/docs/DailyTimeRangeSchedule.md new file mode 100644 index 000000000..d27efcf7c --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/DailyTimeRangeSchedule.md @@ -0,0 +1,12 @@ +# DailyTimeRangeSchedule + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**timezone** | **str** | | [optional] +**time_begin** | [**LocalTimeValue**](LocalTimeValue.md) | | [optional] +**time_end** | [**LocalTimeValue**](LocalTimeValue.md) | | [optional] +**model_type** | **str** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/DayOfWeek.md b/libs/cloudapi/cloudsdk/docs/DayOfWeek.md new file mode 100644 index 000000000..0f1b64ad8 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/DayOfWeek.md @@ -0,0 +1,8 @@ +# DayOfWeek + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/DaysOfWeekTimeRangeSchedule.md b/libs/cloudapi/cloudsdk/docs/DaysOfWeekTimeRangeSchedule.md new file mode 100644 index 000000000..46ffcb938 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/DaysOfWeekTimeRangeSchedule.md @@ -0,0 +1,13 @@ +# DaysOfWeekTimeRangeSchedule + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**timezone** | **str** | | [optional] +**time_begin** | [**LocalTimeValue**](LocalTimeValue.md) | | [optional] +**time_end** | [**LocalTimeValue**](LocalTimeValue.md) | | [optional] +**days_of_week** | [**list[DayOfWeek]**](DayOfWeek.md) | | [optional] +**model_type** | **str** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/DeploymentType.md b/libs/cloudapi/cloudsdk/docs/DeploymentType.md new file mode 100644 index 000000000..344a7bca2 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/DeploymentType.md @@ -0,0 +1,8 @@ +# DeploymentType + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/DetectedAuthMode.md b/libs/cloudapi/cloudsdk/docs/DetectedAuthMode.md new file mode 100644 index 000000000..084f43338 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/DetectedAuthMode.md @@ -0,0 +1,8 @@ +# DetectedAuthMode + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/DeviceMode.md b/libs/cloudapi/cloudsdk/docs/DeviceMode.md new file mode 100644 index 000000000..ceedfebe8 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/DeviceMode.md @@ -0,0 +1,8 @@ +# DeviceMode + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/DhcpAckEvent.md b/libs/cloudapi/cloudsdk/docs/DhcpAckEvent.md new file mode 100644 index 000000000..fa77f6ae5 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/DhcpAckEvent.md @@ -0,0 +1,18 @@ +# DhcpAckEvent + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**all_of** | [**BaseDhcpEvent**](BaseDhcpEvent.md) | | [optional] +**subnet_mask** | **str** | string representing InetAddress | [optional] +**primary_dns** | **str** | string representing InetAddress | [optional] +**secondary_dns** | **str** | string representing InetAddress | [optional] +**lease_time** | **int** | | [optional] +**renewal_time** | **int** | | [optional] +**rebinding_time** | **int** | | [optional] +**time_offset** | **int** | | [optional] +**gateway_ip** | **str** | string representing InetAddress | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/DhcpDeclineEvent.md b/libs/cloudapi/cloudsdk/docs/DhcpDeclineEvent.md new file mode 100644 index 000000000..689f87819 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/DhcpDeclineEvent.md @@ -0,0 +1,10 @@ +# DhcpDeclineEvent + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**all_of** | [**BaseDhcpEvent**](BaseDhcpEvent.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/DhcpDiscoverEvent.md b/libs/cloudapi/cloudsdk/docs/DhcpDiscoverEvent.md new file mode 100644 index 000000000..ad9c3808c --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/DhcpDiscoverEvent.md @@ -0,0 +1,11 @@ +# DhcpDiscoverEvent + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**all_of** | [**BaseDhcpEvent**](BaseDhcpEvent.md) | | [optional] +**host_name** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/DhcpInformEvent.md b/libs/cloudapi/cloudsdk/docs/DhcpInformEvent.md new file mode 100644 index 000000000..703a69b71 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/DhcpInformEvent.md @@ -0,0 +1,10 @@ +# DhcpInformEvent + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**all_of** | [**BaseDhcpEvent**](BaseDhcpEvent.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/DhcpNakEvent.md b/libs/cloudapi/cloudsdk/docs/DhcpNakEvent.md new file mode 100644 index 000000000..8fcd235d9 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/DhcpNakEvent.md @@ -0,0 +1,11 @@ +# DhcpNakEvent + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**all_of** | [**BaseDhcpEvent**](BaseDhcpEvent.md) | | [optional] +**from_internal** | **bool** | | [optional] [default to False] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/DhcpOfferEvent.md b/libs/cloudapi/cloudsdk/docs/DhcpOfferEvent.md new file mode 100644 index 000000000..bda98b7d9 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/DhcpOfferEvent.md @@ -0,0 +1,11 @@ +# DhcpOfferEvent + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**all_of** | [**BaseDhcpEvent**](BaseDhcpEvent.md) | | [optional] +**from_internal** | **bool** | | [optional] [default to False] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/DhcpRequestEvent.md b/libs/cloudapi/cloudsdk/docs/DhcpRequestEvent.md new file mode 100644 index 000000000..c2a64d674 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/DhcpRequestEvent.md @@ -0,0 +1,11 @@ +# DhcpRequestEvent + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**all_of** | [**BaseDhcpEvent**](BaseDhcpEvent.md) | | [optional] +**host_name** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/DisconnectFrameType.md b/libs/cloudapi/cloudsdk/docs/DisconnectFrameType.md new file mode 100644 index 000000000..f56a1b750 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/DisconnectFrameType.md @@ -0,0 +1,8 @@ +# DisconnectFrameType + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/DisconnectInitiator.md b/libs/cloudapi/cloudsdk/docs/DisconnectInitiator.md new file mode 100644 index 000000000..d3d3f1059 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/DisconnectInitiator.md @@ -0,0 +1,8 @@ +# DisconnectInitiator + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/DnsProbeMetric.md b/libs/cloudapi/cloudsdk/docs/DnsProbeMetric.md new file mode 100644 index 000000000..a481e1024 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/DnsProbeMetric.md @@ -0,0 +1,11 @@ +# DnsProbeMetric + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**dns_server_ip** | **str** | | [optional] +**dns_state** | [**StateUpDownError**](StateUpDownError.md) | | [optional] +**dns_latency_ms** | **int** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/DynamicVlanMode.md b/libs/cloudapi/cloudsdk/docs/DynamicVlanMode.md new file mode 100644 index 000000000..e008c202f --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/DynamicVlanMode.md @@ -0,0 +1,8 @@ +# DynamicVlanMode + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ElementRadioConfiguration.md b/libs/cloudapi/cloudsdk/docs/ElementRadioConfiguration.md new file mode 100644 index 000000000..07f6d06a3 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ElementRadioConfiguration.md @@ -0,0 +1,21 @@ +# ElementRadioConfiguration + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**radio_type** | [**RadioType**](RadioType.md) | | [optional] +**channel_number** | **int** | The channel that was picked through the cloud's assigment | [optional] +**manual_channel_number** | **int** | The channel that was manually entered | [optional] +**backup_channel_number** | **int** | The backup channel that was picked through the cloud's assigment | [optional] +**manual_backup_channel_number** | **int** | The backup channel that was manually entered | [optional] +**rx_cell_size_db** | [**SourceSelectionValue**](SourceSelectionValue.md) | | [optional] +**probe_response_threshold_db** | [**SourceSelectionValue**](SourceSelectionValue.md) | | [optional] +**client_disconnect_threshold_db** | [**SourceSelectionValue**](SourceSelectionValue.md) | | [optional] +**eirp_tx_power** | [**ElementRadioConfigurationEirpTxPower**](ElementRadioConfigurationEirpTxPower.md) | | [optional] +**perimeter_detection_enabled** | **bool** | | [optional] +**best_ap_steer_type** | [**BestAPSteerType**](BestAPSteerType.md) | | [optional] +**deauth_attack_detection** | **bool** | | [optional] +**allowed_channels_power_levels** | [**ChannelPowerLevel**](ChannelPowerLevel.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ElementRadioConfigurationEirpTxPower.md b/libs/cloudapi/cloudsdk/docs/ElementRadioConfigurationEirpTxPower.md new file mode 100644 index 000000000..450474ca9 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ElementRadioConfigurationEirpTxPower.md @@ -0,0 +1,10 @@ +# ElementRadioConfigurationEirpTxPower + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**source** | [**SourceType**](SourceType.md) | | [optional] +**value** | **int** | | [optional] [default to 18] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/EmptySchedule.md b/libs/cloudapi/cloudsdk/docs/EmptySchedule.md new file mode 100644 index 000000000..fba23085d --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/EmptySchedule.md @@ -0,0 +1,10 @@ +# EmptySchedule + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**timezone** | **str** | | [optional] +**model_type** | **str** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/Equipment.md b/libs/cloudapi/cloudsdk/docs/Equipment.md new file mode 100644 index 000000000..8f60d011b --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/Equipment.md @@ -0,0 +1,22 @@ +# Equipment + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **int** | | [optional] +**equipment_type** | [**EquipmentType**](EquipmentType.md) | | [optional] +**inventory_id** | **str** | | [optional] +**customer_id** | **int** | | [optional] +**profile_id** | **int** | | [optional] +**name** | **str** | | [optional] +**location_id** | **int** | | [optional] +**details** | [**EquipmentDetails**](EquipmentDetails.md) | | [optional] +**latitude** | **str** | | [optional] +**longitude** | **str** | | [optional] +**base_mac_address** | [**MacAddress**](MacAddress.md) | | [optional] +**serial** | **str** | | [optional] +**created_timestamp** | **int** | | [optional] +**last_modified_timestamp** | **int** | must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/EquipmentAddedEvent.md b/libs/cloudapi/cloudsdk/docs/EquipmentAddedEvent.md new file mode 100644 index 000000000..7575fd471 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/EquipmentAddedEvent.md @@ -0,0 +1,13 @@ +# EquipmentAddedEvent + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**event_timestamp** | **int** | | [optional] +**customer_id** | **int** | | [optional] +**equipment_id** | **int** | | [optional] +**payload** | [**Equipment**](Equipment.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/EquipmentAdminStatusData.md b/libs/cloudapi/cloudsdk/docs/EquipmentAdminStatusData.md new file mode 100644 index 000000000..1864682dc --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/EquipmentAdminStatusData.md @@ -0,0 +1,12 @@ +# EquipmentAdminStatusData + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**status_data_type** | **str** | | [optional] +**status_code** | [**StatusCode**](StatusCode.md) | | [optional] +**status_message** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/EquipmentApi.md b/libs/cloudapi/cloudsdk/docs/EquipmentApi.md new file mode 100644 index 000000000..169f12a73 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/EquipmentApi.md @@ -0,0 +1,453 @@ +# swagger_client.EquipmentApi + +All URIs are relative to *https://localhost:9091* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**create_equipment**](EquipmentApi.md#create_equipment) | **POST** /portal/equipment | Create new Equipment +[**delete_equipment**](EquipmentApi.md#delete_equipment) | **DELETE** /portal/equipment | Delete Equipment +[**get_default_equipment_details**](EquipmentApi.md#get_default_equipment_details) | **GET** /portal/equipment/defaultDetails | Get default values for Equipment details for a specific equipment type +[**get_equipment_by_customer_id**](EquipmentApi.md#get_equipment_by_customer_id) | **GET** /portal/equipment/forCustomer | Get Equipment By customerId +[**get_equipment_by_customer_with_filter**](EquipmentApi.md#get_equipment_by_customer_with_filter) | **GET** /portal/equipment/forCustomerWithFilter | Get Equipment for customerId, equipment type, and location id +[**get_equipment_by_id**](EquipmentApi.md#get_equipment_by_id) | **GET** /portal/equipment | Get Equipment By Id +[**get_equipment_by_set_of_ids**](EquipmentApi.md#get_equipment_by_set_of_ids) | **GET** /portal/equipment/inSet | Get Equipment By a set of ids +[**update_equipment**](EquipmentApi.md#update_equipment) | **PUT** /portal/equipment | Update Equipment +[**update_equipment_rrm_bulk**](EquipmentApi.md#update_equipment_rrm_bulk) | **PUT** /portal/equipment/rrmBulk | Update RRM related properties of Equipment in bulk + +# **create_equipment** +> Equipment create_equipment(body) + +Create new Equipment + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.EquipmentApi(swagger_client.ApiClient(configuration)) +body = swagger_client.Equipment() # Equipment | equipment info + +try: + # Create new Equipment + api_response = api_instance.create_equipment(body) + pprint(api_response) +except ApiException as e: + print("Exception when calling EquipmentApi->create_equipment: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**Equipment**](Equipment.md)| equipment info | + +### Return type + +[**Equipment**](Equipment.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **delete_equipment** +> Equipment delete_equipment(equipment_id) + +Delete Equipment + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.EquipmentApi(swagger_client.ApiClient(configuration)) +equipment_id = 789 # int | equipment id + +try: + # Delete Equipment + api_response = api_instance.delete_equipment(equipment_id) + pprint(api_response) +except ApiException as e: + print("Exception when calling EquipmentApi->delete_equipment: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **equipment_id** | **int**| equipment id | + +### Return type + +[**Equipment**](Equipment.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_default_equipment_details** +> EquipmentDetails get_default_equipment_details(equipment_type=equipment_type) + +Get default values for Equipment details for a specific equipment type + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.EquipmentApi(swagger_client.ApiClient(configuration)) +equipment_type = swagger_client.EquipmentType() # EquipmentType | (optional) + +try: + # Get default values for Equipment details for a specific equipment type + api_response = api_instance.get_default_equipment_details(equipment_type=equipment_type) + pprint(api_response) +except ApiException as e: + print("Exception when calling EquipmentApi->get_default_equipment_details: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **equipment_type** | [**EquipmentType**](.md)| | [optional] + +### Return type + +[**EquipmentDetails**](EquipmentDetails.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_equipment_by_customer_id** +> PaginationResponseEquipment get_equipment_by_customer_id(customer_id, pagination_context, sort_by=sort_by) + +Get Equipment By customerId + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.EquipmentApi(swagger_client.ApiClient(configuration)) +customer_id = 789 # int | customer id +pagination_context = swagger_client.PaginationContextEquipment() # PaginationContextEquipment | pagination context +sort_by = [swagger_client.SortColumnsEquipment()] # list[SortColumnsEquipment] | sort options (optional) + +try: + # Get Equipment By customerId + api_response = api_instance.get_equipment_by_customer_id(customer_id, pagination_context, sort_by=sort_by) + pprint(api_response) +except ApiException as e: + print("Exception when calling EquipmentApi->get_equipment_by_customer_id: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **customer_id** | **int**| customer id | + **pagination_context** | [**PaginationContextEquipment**](.md)| pagination context | + **sort_by** | [**list[SortColumnsEquipment]**](SortColumnsEquipment.md)| sort options | [optional] + +### Return type + +[**PaginationResponseEquipment**](PaginationResponseEquipment.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_equipment_by_customer_with_filter** +> PaginationResponseEquipment get_equipment_by_customer_with_filter(customer_id, equipment_type=equipment_type, location_ids=location_ids, criteria=criteria, sort_by=sort_by, pagination_context=pagination_context) + +Get Equipment for customerId, equipment type, and location id + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.EquipmentApi(swagger_client.ApiClient(configuration)) +customer_id = 789 # int | customer id +equipment_type = swagger_client.EquipmentType() # EquipmentType | equipment type (optional) +location_ids = [56] # list[int] | set of location ids (optional) +criteria = 'criteria_example' # str | search criteria (optional) +sort_by = [swagger_client.SortColumnsEquipment()] # list[SortColumnsEquipment] | sort options (optional) +pagination_context = swagger_client.PaginationContextEquipment() # PaginationContextEquipment | pagination context (optional) + +try: + # Get Equipment for customerId, equipment type, and location id + api_response = api_instance.get_equipment_by_customer_with_filter(customer_id, equipment_type=equipment_type, location_ids=location_ids, criteria=criteria, sort_by=sort_by, pagination_context=pagination_context) + pprint(api_response) +except ApiException as e: + print("Exception when calling EquipmentApi->get_equipment_by_customer_with_filter: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **customer_id** | **int**| customer id | + **equipment_type** | [**EquipmentType**](.md)| equipment type | [optional] + **location_ids** | [**list[int]**](int.md)| set of location ids | [optional] + **criteria** | **str**| search criteria | [optional] + **sort_by** | [**list[SortColumnsEquipment]**](SortColumnsEquipment.md)| sort options | [optional] + **pagination_context** | [**PaginationContextEquipment**](.md)| pagination context | [optional] + +### Return type + +[**PaginationResponseEquipment**](PaginationResponseEquipment.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_equipment_by_id** +> Equipment get_equipment_by_id(equipment_id) + +Get Equipment By Id + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.EquipmentApi(swagger_client.ApiClient(configuration)) +equipment_id = 789 # int | equipment id + +try: + # Get Equipment By Id + api_response = api_instance.get_equipment_by_id(equipment_id) + pprint(api_response) +except ApiException as e: + print("Exception when calling EquipmentApi->get_equipment_by_id: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **equipment_id** | **int**| equipment id | + +### Return type + +[**Equipment**](Equipment.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_equipment_by_set_of_ids** +> list[Equipment] get_equipment_by_set_of_ids(equipment_id_set) + +Get Equipment By a set of ids + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.EquipmentApi(swagger_client.ApiClient(configuration)) +equipment_id_set = [56] # list[int] | set of equipment ids + +try: + # Get Equipment By a set of ids + api_response = api_instance.get_equipment_by_set_of_ids(equipment_id_set) + pprint(api_response) +except ApiException as e: + print("Exception when calling EquipmentApi->get_equipment_by_set_of_ids: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **equipment_id_set** | [**list[int]**](int.md)| set of equipment ids | + +### Return type + +[**list[Equipment]**](Equipment.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **update_equipment** +> Equipment update_equipment(body) + +Update Equipment + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.EquipmentApi(swagger_client.ApiClient(configuration)) +body = swagger_client.Equipment() # Equipment | equipment info + +try: + # Update Equipment + api_response = api_instance.update_equipment(body) + pprint(api_response) +except ApiException as e: + print("Exception when calling EquipmentApi->update_equipment: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**Equipment**](Equipment.md)| equipment info | + +### Return type + +[**Equipment**](Equipment.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **update_equipment_rrm_bulk** +> GenericResponse update_equipment_rrm_bulk(body) + +Update RRM related properties of Equipment in bulk + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.EquipmentApi(swagger_client.ApiClient(configuration)) +body = swagger_client.EquipmentRrmBulkUpdateRequest() # EquipmentRrmBulkUpdateRequest | Equipment RRM bulk update request + +try: + # Update RRM related properties of Equipment in bulk + api_response = api_instance.update_equipment_rrm_bulk(body) + pprint(api_response) +except ApiException as e: + print("Exception when calling EquipmentApi->update_equipment_rrm_bulk: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**EquipmentRrmBulkUpdateRequest**](EquipmentRrmBulkUpdateRequest.md)| Equipment RRM bulk update request | + +### Return type + +[**GenericResponse**](GenericResponse.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/EquipmentAutoProvisioningSettings.md b/libs/cloudapi/cloudsdk/docs/EquipmentAutoProvisioningSettings.md new file mode 100644 index 000000000..093066390 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/EquipmentAutoProvisioningSettings.md @@ -0,0 +1,11 @@ +# EquipmentAutoProvisioningSettings + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**enabled** | **bool** | | [optional] +**location_id** | **int** | auto-provisioned equipment will appear under this location | [optional] +**equipment_profile_id_per_model** | [**LongValueMap**](LongValueMap.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/EquipmentCapacityDetails.md b/libs/cloudapi/cloudsdk/docs/EquipmentCapacityDetails.md new file mode 100644 index 000000000..76c49d805 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/EquipmentCapacityDetails.md @@ -0,0 +1,13 @@ +# EquipmentCapacityDetails + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**total_capacity** | **int** | A theoretical maximum based on channel bandwidth | [optional] +**available_capacity** | **int** | The percentage of capacity that is available for clients. | [optional] +**unavailable_capacity** | **int** | The percentage of capacity that is not available for clients (e.g. beacons, noise, non-wifi) | [optional] +**unused_capacity** | **int** | The percentage of the overall capacity that is not being used. | [optional] +**used_capacity** | **int** | The percentage of the overall capacity that is currently being used by associated clients. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/EquipmentCapacityDetailsMap.md b/libs/cloudapi/cloudsdk/docs/EquipmentCapacityDetailsMap.md new file mode 100644 index 000000000..56ef8331c --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/EquipmentCapacityDetailsMap.md @@ -0,0 +1,12 @@ +# EquipmentCapacityDetailsMap + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**is5_g_hz** | [**EquipmentCapacityDetails**](EquipmentCapacityDetails.md) | | [optional] +**is5_g_hz_u** | [**EquipmentCapacityDetails**](EquipmentCapacityDetails.md) | | [optional] +**is5_g_hz_l** | [**EquipmentCapacityDetails**](EquipmentCapacityDetails.md) | | [optional] +**is2dot4_g_hz** | [**EquipmentCapacityDetails**](EquipmentCapacityDetails.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/EquipmentChangedEvent.md b/libs/cloudapi/cloudsdk/docs/EquipmentChangedEvent.md new file mode 100644 index 000000000..753765b5a --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/EquipmentChangedEvent.md @@ -0,0 +1,13 @@ +# EquipmentChangedEvent + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**event_timestamp** | **int** | | [optional] +**customer_id** | **int** | | [optional] +**equipment_id** | **int** | | [optional] +**payload** | [**Equipment**](Equipment.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/EquipmentDetails.md b/libs/cloudapi/cloudsdk/docs/EquipmentDetails.md new file mode 100644 index 000000000..dbe927bcf --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/EquipmentDetails.md @@ -0,0 +1,9 @@ +# EquipmentDetails + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**equipment_model** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/EquipmentGatewayApi.md b/libs/cloudapi/cloudsdk/docs/EquipmentGatewayApi.md new file mode 100644 index 000000000..75cbb81d8 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/EquipmentGatewayApi.md @@ -0,0 +1,251 @@ +# swagger_client.EquipmentGatewayApi + +All URIs are relative to *https://localhost:9091* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**request_ap_factory_reset**](EquipmentGatewayApi.md#request_ap_factory_reset) | **POST** /portal/equipmentGateway/requestApFactoryReset | Request factory reset for a particular equipment. +[**request_ap_reboot**](EquipmentGatewayApi.md#request_ap_reboot) | **POST** /portal/equipmentGateway/requestApReboot | Request reboot for a particular equipment. +[**request_ap_switch_software_bank**](EquipmentGatewayApi.md#request_ap_switch_software_bank) | **POST** /portal/equipmentGateway/requestApSwitchSoftwareBank | Request switch of active/inactive sw bank for a particular equipment. +[**request_channel_change**](EquipmentGatewayApi.md#request_channel_change) | **POST** /portal/equipmentGateway/requestChannelChange | Request change of primary and/or backup channels for given frequency bands. +[**request_firmware_update**](EquipmentGatewayApi.md#request_firmware_update) | **POST** /portal/equipmentGateway/requestFirmwareUpdate | Request firmware update for a particular equipment. + +# **request_ap_factory_reset** +> GenericResponse request_ap_factory_reset(equipment_id) + +Request factory reset for a particular equipment. + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.EquipmentGatewayApi(swagger_client.ApiClient(configuration)) +equipment_id = 789 # int | Equipment id for which the factory reset is being requested. + +try: + # Request factory reset for a particular equipment. + api_response = api_instance.request_ap_factory_reset(equipment_id) + pprint(api_response) +except ApiException as e: + print("Exception when calling EquipmentGatewayApi->request_ap_factory_reset: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **equipment_id** | **int**| Equipment id for which the factory reset is being requested. | + +### Return type + +[**GenericResponse**](GenericResponse.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **request_ap_reboot** +> GenericResponse request_ap_reboot(equipment_id) + +Request reboot for a particular equipment. + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.EquipmentGatewayApi(swagger_client.ApiClient(configuration)) +equipment_id = 789 # int | Equipment id for which the reboot is being requested. + +try: + # Request reboot for a particular equipment. + api_response = api_instance.request_ap_reboot(equipment_id) + pprint(api_response) +except ApiException as e: + print("Exception when calling EquipmentGatewayApi->request_ap_reboot: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **equipment_id** | **int**| Equipment id for which the reboot is being requested. | + +### Return type + +[**GenericResponse**](GenericResponse.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **request_ap_switch_software_bank** +> GenericResponse request_ap_switch_software_bank(equipment_id) + +Request switch of active/inactive sw bank for a particular equipment. + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.EquipmentGatewayApi(swagger_client.ApiClient(configuration)) +equipment_id = 789 # int | Equipment id for which the switch is being requested. + +try: + # Request switch of active/inactive sw bank for a particular equipment. + api_response = api_instance.request_ap_switch_software_bank(equipment_id) + pprint(api_response) +except ApiException as e: + print("Exception when calling EquipmentGatewayApi->request_ap_switch_software_bank: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **equipment_id** | **int**| Equipment id for which the switch is being requested. | + +### Return type + +[**GenericResponse**](GenericResponse.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **request_channel_change** +> GenericResponse request_channel_change(body, equipment_id) + +Request change of primary and/or backup channels for given frequency bands. + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.EquipmentGatewayApi(swagger_client.ApiClient(configuration)) +body = swagger_client.RadioChannelChangeSettings() # RadioChannelChangeSettings | RadioChannelChangeSettings info +equipment_id = 789 # int | Equipment id for which the channel changes are being performed. + +try: + # Request change of primary and/or backup channels for given frequency bands. + api_response = api_instance.request_channel_change(body, equipment_id) + pprint(api_response) +except ApiException as e: + print("Exception when calling EquipmentGatewayApi->request_channel_change: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**RadioChannelChangeSettings**](RadioChannelChangeSettings.md)| RadioChannelChangeSettings info | + **equipment_id** | **int**| Equipment id for which the channel changes are being performed. | + +### Return type + +[**GenericResponse**](GenericResponse.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **request_firmware_update** +> GenericResponse request_firmware_update(equipment_id, firmware_version_id) + +Request firmware update for a particular equipment. + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.EquipmentGatewayApi(swagger_client.ApiClient(configuration)) +equipment_id = 789 # int | Equipment id for which the firmware update is being requested. +firmware_version_id = 789 # int | Id of the firmware version object. + +try: + # Request firmware update for a particular equipment. + api_response = api_instance.request_firmware_update(equipment_id, firmware_version_id) + pprint(api_response) +except ApiException as e: + print("Exception when calling EquipmentGatewayApi->request_firmware_update: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **equipment_id** | **int**| Equipment id for which the firmware update is being requested. | + **firmware_version_id** | **int**| Id of the firmware version object. | + +### Return type + +[**GenericResponse**](GenericResponse.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/EquipmentGatewayRecord.md b/libs/cloudapi/cloudsdk/docs/EquipmentGatewayRecord.md new file mode 100644 index 000000000..cfb36106f --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/EquipmentGatewayRecord.md @@ -0,0 +1,15 @@ +# EquipmentGatewayRecord + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **int** | | [optional] +**hostname** | **str** | | [optional] +**ip_addr** | **str** | | [optional] +**port** | **int** | | [optional] +**gateway_type** | [**GatewayType**](GatewayType.md) | | [optional] +**created_time_stamp** | **int** | | [optional] +**last_modified_timestamp** | **int** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/EquipmentLANStatusData.md b/libs/cloudapi/cloudsdk/docs/EquipmentLANStatusData.md new file mode 100644 index 000000000..1b5c88883 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/EquipmentLANStatusData.md @@ -0,0 +1,11 @@ +# EquipmentLANStatusData + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**status_data_type** | **str** | | [optional] +**vlan_status_data_map** | [**VLANStatusDataMap**](VLANStatusDataMap.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/EquipmentNeighbouringStatusData.md b/libs/cloudapi/cloudsdk/docs/EquipmentNeighbouringStatusData.md new file mode 100644 index 000000000..ccf1ef6c6 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/EquipmentNeighbouringStatusData.md @@ -0,0 +1,10 @@ +# EquipmentNeighbouringStatusData + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**status_data_type** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/EquipmentPeerStatusData.md b/libs/cloudapi/cloudsdk/docs/EquipmentPeerStatusData.md new file mode 100644 index 000000000..83479f1a5 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/EquipmentPeerStatusData.md @@ -0,0 +1,10 @@ +# EquipmentPeerStatusData + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**status_data_type** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/EquipmentPerRadioUtilizationDetails.md b/libs/cloudapi/cloudsdk/docs/EquipmentPerRadioUtilizationDetails.md new file mode 100644 index 000000000..66934ade4 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/EquipmentPerRadioUtilizationDetails.md @@ -0,0 +1,9 @@ +# EquipmentPerRadioUtilizationDetails + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**wifi_from_other_bss** | [**MinMaxAvgValueInt**](MinMaxAvgValueInt.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/EquipmentPerRadioUtilizationDetailsMap.md b/libs/cloudapi/cloudsdk/docs/EquipmentPerRadioUtilizationDetailsMap.md new file mode 100644 index 000000000..8056bdd7e --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/EquipmentPerRadioUtilizationDetailsMap.md @@ -0,0 +1,12 @@ +# EquipmentPerRadioUtilizationDetailsMap + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**is5_g_hz** | [**EquipmentPerRadioUtilizationDetails**](EquipmentPerRadioUtilizationDetails.md) | | [optional] +**is5_g_hz_u** | [**EquipmentPerRadioUtilizationDetails**](EquipmentPerRadioUtilizationDetails.md) | | [optional] +**is5_g_hz_l** | [**EquipmentPerRadioUtilizationDetails**](EquipmentPerRadioUtilizationDetails.md) | | [optional] +**is2dot4_g_hz** | [**EquipmentPerRadioUtilizationDetails**](EquipmentPerRadioUtilizationDetails.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/EquipmentPerformanceDetails.md b/libs/cloudapi/cloudsdk/docs/EquipmentPerformanceDetails.md new file mode 100644 index 000000000..e773a8b75 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/EquipmentPerformanceDetails.md @@ -0,0 +1,12 @@ +# EquipmentPerformanceDetails + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**avg_free_memory** | **int** | | [optional] +**avg_cpu_util_core1** | **int** | | [optional] +**avg_cpu_util_core2** | **int** | | [optional] +**avg_cpu_temperature** | **int** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/EquipmentProtocolState.md b/libs/cloudapi/cloudsdk/docs/EquipmentProtocolState.md new file mode 100644 index 000000000..3c199c80b --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/EquipmentProtocolState.md @@ -0,0 +1,8 @@ +# EquipmentProtocolState + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/EquipmentProtocolStatusData.md b/libs/cloudapi/cloudsdk/docs/EquipmentProtocolStatusData.md new file mode 100644 index 000000000..efc250841 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/EquipmentProtocolStatusData.md @@ -0,0 +1,35 @@ +# EquipmentProtocolStatusData + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**status_data_type** | **str** | | [optional] +**powered_on** | **bool** | | [optional] +**protocol_state** | [**EquipmentProtocolState**](EquipmentProtocolState.md) | | [optional] +**reported_hw_version** | **str** | | [optional] +**reported_sw_version** | **str** | | [optional] +**reported_sw_alt_version** | **str** | | [optional] +**cloud_protocol_version** | **str** | | [optional] +**reported_ip_v4_addr** | **str** | | [optional] +**reported_ip_v6_addr** | **str** | | [optional] +**reported_mac_addr** | [**MacAddress**](MacAddress.md) | | [optional] +**country_code** | **str** | | [optional] +**system_name** | **str** | | [optional] +**system_contact** | **str** | | [optional] +**system_location** | **str** | | [optional] +**band_plan** | **str** | | [optional] +**serial_number** | **str** | | [optional] +**base_mac_address** | [**MacAddress**](MacAddress.md) | | [optional] +**reported_apc_address** | **str** | | [optional] +**last_apc_update** | **int** | | [optional] +**is_apc_connected** | **bool** | | [optional] +**ip_based_configuration** | **str** | | [optional] +**reported_sku** | **str** | | [optional] +**reported_cc** | [**CountryCode**](CountryCode.md) | | [optional] +**radius_proxy_address** | **str** | | [optional] +**reported_cfg_data_version** | **int** | | [optional] +**cloud_cfg_data_version** | **int** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/EquipmentRemovedEvent.md b/libs/cloudapi/cloudsdk/docs/EquipmentRemovedEvent.md new file mode 100644 index 000000000..a69a94dd3 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/EquipmentRemovedEvent.md @@ -0,0 +1,13 @@ +# EquipmentRemovedEvent + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**event_timestamp** | **int** | | [optional] +**customer_id** | **int** | | [optional] +**equipment_id** | **int** | | [optional] +**payload** | [**Equipment**](Equipment.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/EquipmentRoutingRecord.md b/libs/cloudapi/cloudsdk/docs/EquipmentRoutingRecord.md new file mode 100644 index 000000000..017427bc3 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/EquipmentRoutingRecord.md @@ -0,0 +1,14 @@ +# EquipmentRoutingRecord + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **int** | | [optional] +**equipment_id** | **int** | | [optional] +**customer_id** | **int** | | [optional] +**gateway_id** | **int** | | [optional] +**created_timestamp** | **int** | | [optional] +**last_modified_timestamp** | **int** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/EquipmentRrmBulkUpdateItem.md b/libs/cloudapi/cloudsdk/docs/EquipmentRrmBulkUpdateItem.md new file mode 100644 index 000000000..f13c3d55d --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/EquipmentRrmBulkUpdateItem.md @@ -0,0 +1,10 @@ +# EquipmentRrmBulkUpdateItem + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**equipment_id** | **int** | | [optional] +**per_radio_details** | [**EquipmentRrmBulkUpdateItemPerRadioMap**](EquipmentRrmBulkUpdateItemPerRadioMap.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/EquipmentRrmBulkUpdateItemPerRadioMap.md b/libs/cloudapi/cloudsdk/docs/EquipmentRrmBulkUpdateItemPerRadioMap.md new file mode 100644 index 000000000..b6178e4cf --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/EquipmentRrmBulkUpdateItemPerRadioMap.md @@ -0,0 +1,12 @@ +# EquipmentRrmBulkUpdateItemPerRadioMap + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**is5_g_hz** | [**RrmBulkUpdateApDetails**](RrmBulkUpdateApDetails.md) | | [optional] +**is5_g_hz_u** | [**RrmBulkUpdateApDetails**](RrmBulkUpdateApDetails.md) | | [optional] +**is5_g_hz_l** | [**RrmBulkUpdateApDetails**](RrmBulkUpdateApDetails.md) | | [optional] +**is2dot4_g_hz** | [**RrmBulkUpdateApDetails**](RrmBulkUpdateApDetails.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/EquipmentRrmBulkUpdateRequest.md b/libs/cloudapi/cloudsdk/docs/EquipmentRrmBulkUpdateRequest.md new file mode 100644 index 000000000..07e982b4d --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/EquipmentRrmBulkUpdateRequest.md @@ -0,0 +1,9 @@ +# EquipmentRrmBulkUpdateRequest + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**items** | [**list[EquipmentRrmBulkUpdateItem]**](EquipmentRrmBulkUpdateItem.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/EquipmentScanDetails.md b/libs/cloudapi/cloudsdk/docs/EquipmentScanDetails.md new file mode 100644 index 000000000..f41205f9f --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/EquipmentScanDetails.md @@ -0,0 +1,10 @@ +# EquipmentScanDetails + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**status_data_type** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/EquipmentType.md b/libs/cloudapi/cloudsdk/docs/EquipmentType.md new file mode 100644 index 000000000..655ea8569 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/EquipmentType.md @@ -0,0 +1,8 @@ +# EquipmentType + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/EquipmentUpgradeFailureReason.md b/libs/cloudapi/cloudsdk/docs/EquipmentUpgradeFailureReason.md new file mode 100644 index 000000000..6fc5e1725 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/EquipmentUpgradeFailureReason.md @@ -0,0 +1,8 @@ +# EquipmentUpgradeFailureReason + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/EquipmentUpgradeState.md b/libs/cloudapi/cloudsdk/docs/EquipmentUpgradeState.md new file mode 100644 index 000000000..91e63d4a5 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/EquipmentUpgradeState.md @@ -0,0 +1,8 @@ +# EquipmentUpgradeState + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/EquipmentUpgradeStatusData.md b/libs/cloudapi/cloudsdk/docs/EquipmentUpgradeStatusData.md new file mode 100644 index 000000000..7ce4908a1 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/EquipmentUpgradeStatusData.md @@ -0,0 +1,18 @@ +# EquipmentUpgradeStatusData + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**status_data_type** | **str** | | [optional] +**active_sw_version** | **str** | | [optional] +**alternate_sw_version** | **str** | | [optional] +**target_sw_version** | **str** | | [optional] +**retries** | **int** | | [optional] +**upgrade_state** | [**EquipmentUpgradeState**](EquipmentUpgradeState.md) | | [optional] +**reason** | [**EquipmentUpgradeFailureReason**](EquipmentUpgradeFailureReason.md) | | [optional] +**upgrade_start_time** | **int** | | [optional] +**switch_bank** | **bool** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/EthernetLinkState.md b/libs/cloudapi/cloudsdk/docs/EthernetLinkState.md new file mode 100644 index 000000000..b9a5a0d6d --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/EthernetLinkState.md @@ -0,0 +1,8 @@ +# EthernetLinkState + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/FileCategory.md b/libs/cloudapi/cloudsdk/docs/FileCategory.md new file mode 100644 index 000000000..cd4aff1f3 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/FileCategory.md @@ -0,0 +1,8 @@ +# FileCategory + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/FileServicesApi.md b/libs/cloudapi/cloudsdk/docs/FileServicesApi.md new file mode 100644 index 000000000..4fd12074c --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/FileServicesApi.md @@ -0,0 +1,105 @@ +# swagger_client.FileServicesApi + +All URIs are relative to *https://localhost:9091* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**download_binary_file**](FileServicesApi.md#download_binary_file) | **GET** /filestore/{fileName} | Download binary file. +[**upload_binary_file**](FileServicesApi.md#upload_binary_file) | **POST** /filestore/{fileName} | Upload binary file. + +# **download_binary_file** +> str download_binary_file(file_name) + +Download binary file. + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.FileServicesApi(swagger_client.ApiClient(configuration)) +file_name = 'file_name_example' # str | File name to download. File/path delimiters not allowed. + +try: + # Download binary file. + api_response = api_instance.download_binary_file(file_name) + pprint(api_response) +except ApiException as e: + print("Exception when calling FileServicesApi->download_binary_file: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **file_name** | **str**| File name to download. File/path delimiters not allowed. | + +### Return type + +**str** + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/octet-stream, application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **upload_binary_file** +> GenericResponse upload_binary_file(body, file_name) + +Upload binary file. + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.FileServicesApi(swagger_client.ApiClient(configuration)) +body = swagger_client.Object() # Object | Contents of binary file +file_name = 'file_name_example' # str | File name that is being uploaded. File/path delimiters not allowed. + +try: + # Upload binary file. + api_response = api_instance.upload_binary_file(body, file_name) + pprint(api_response) +except ApiException as e: + print("Exception when calling FileServicesApi->upload_binary_file: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **Object**| Contents of binary file | + **file_name** | **str**| File name that is being uploaded. File/path delimiters not allowed. | + +### Return type + +[**GenericResponse**](GenericResponse.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: application/octet-stream + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/FileType.md b/libs/cloudapi/cloudsdk/docs/FileType.md new file mode 100644 index 000000000..d7ad859a5 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/FileType.md @@ -0,0 +1,8 @@ +# FileType + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/FirmwareManagementApi.md b/libs/cloudapi/cloudsdk/docs/FirmwareManagementApi.md new file mode 100644 index 000000000..bef12fb8a --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/FirmwareManagementApi.md @@ -0,0 +1,967 @@ +# swagger_client.FirmwareManagementApi + +All URIs are relative to *https://localhost:9091* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**create_customer_firmware_track_record**](FirmwareManagementApi.md#create_customer_firmware_track_record) | **POST** /portal/firmware/customerTrack | Create new CustomerFirmwareTrackRecord +[**create_firmware_track_record**](FirmwareManagementApi.md#create_firmware_track_record) | **POST** /portal/firmware/track | Create new FirmwareTrackRecord +[**create_firmware_version**](FirmwareManagementApi.md#create_firmware_version) | **POST** /portal/firmware/version | Create new FirmwareVersion +[**delete_customer_firmware_track_record**](FirmwareManagementApi.md#delete_customer_firmware_track_record) | **DELETE** /portal/firmware/customerTrack | Delete CustomerFirmwareTrackRecord +[**delete_firmware_track_assignment**](FirmwareManagementApi.md#delete_firmware_track_assignment) | **DELETE** /portal/firmware/trackAssignment | Delete FirmwareTrackAssignment +[**delete_firmware_track_record**](FirmwareManagementApi.md#delete_firmware_track_record) | **DELETE** /portal/firmware/track | Delete FirmwareTrackRecord +[**delete_firmware_version**](FirmwareManagementApi.md#delete_firmware_version) | **DELETE** /portal/firmware/version | Delete FirmwareVersion +[**get_customer_firmware_track_record**](FirmwareManagementApi.md#get_customer_firmware_track_record) | **GET** /portal/firmware/customerTrack | Get CustomerFirmwareTrackRecord By customerId +[**get_default_customer_track_setting**](FirmwareManagementApi.md#get_default_customer_track_setting) | **GET** /portal/firmware/customerTrack/default | Get default settings for handling automatic firmware upgrades +[**get_firmware_model_ids_by_equipment_type**](FirmwareManagementApi.md#get_firmware_model_ids_by_equipment_type) | **GET** /portal/firmware/model/byEquipmentType | Get equipment models from all known firmware versions filtered by equipmentType +[**get_firmware_track_assignment_details**](FirmwareManagementApi.md#get_firmware_track_assignment_details) | **GET** /portal/firmware/trackAssignment | Get FirmwareTrackAssignmentDetails for a given firmware track name +[**get_firmware_track_record**](FirmwareManagementApi.md#get_firmware_track_record) | **GET** /portal/firmware/track | Get FirmwareTrackRecord By Id +[**get_firmware_track_record_by_name**](FirmwareManagementApi.md#get_firmware_track_record_by_name) | **GET** /portal/firmware/track/byName | Get FirmwareTrackRecord By name +[**get_firmware_version**](FirmwareManagementApi.md#get_firmware_version) | **GET** /portal/firmware/version | Get FirmwareVersion By Id +[**get_firmware_version_by_equipment_type**](FirmwareManagementApi.md#get_firmware_version_by_equipment_type) | **GET** /portal/firmware/version/byEquipmentType | Get FirmwareVersions filtered by equipmentType and optional equipment model +[**get_firmware_version_by_name**](FirmwareManagementApi.md#get_firmware_version_by_name) | **GET** /portal/firmware/version/byName | Get FirmwareVersion By name +[**update_customer_firmware_track_record**](FirmwareManagementApi.md#update_customer_firmware_track_record) | **PUT** /portal/firmware/customerTrack | Update CustomerFirmwareTrackRecord +[**update_firmware_track_assignment_details**](FirmwareManagementApi.md#update_firmware_track_assignment_details) | **PUT** /portal/firmware/trackAssignment | Update FirmwareTrackAssignmentDetails +[**update_firmware_track_record**](FirmwareManagementApi.md#update_firmware_track_record) | **PUT** /portal/firmware/track | Update FirmwareTrackRecord +[**update_firmware_version**](FirmwareManagementApi.md#update_firmware_version) | **PUT** /portal/firmware/version | Update FirmwareVersion + +# **create_customer_firmware_track_record** +> CustomerFirmwareTrackRecord create_customer_firmware_track_record(body) + +Create new CustomerFirmwareTrackRecord + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.FirmwareManagementApi(swagger_client.ApiClient(configuration)) +body = swagger_client.CustomerFirmwareTrackRecord() # CustomerFirmwareTrackRecord | CustomerFirmwareTrackRecord info + +try: + # Create new CustomerFirmwareTrackRecord + api_response = api_instance.create_customer_firmware_track_record(body) + pprint(api_response) +except ApiException as e: + print("Exception when calling FirmwareManagementApi->create_customer_firmware_track_record: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**CustomerFirmwareTrackRecord**](CustomerFirmwareTrackRecord.md)| CustomerFirmwareTrackRecord info | + +### Return type + +[**CustomerFirmwareTrackRecord**](CustomerFirmwareTrackRecord.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **create_firmware_track_record** +> FirmwareTrackRecord create_firmware_track_record(body) + +Create new FirmwareTrackRecord + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.FirmwareManagementApi(swagger_client.ApiClient(configuration)) +body = swagger_client.FirmwareTrackRecord() # FirmwareTrackRecord | FirmwareTrackRecord info + +try: + # Create new FirmwareTrackRecord + api_response = api_instance.create_firmware_track_record(body) + pprint(api_response) +except ApiException as e: + print("Exception when calling FirmwareManagementApi->create_firmware_track_record: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**FirmwareTrackRecord**](FirmwareTrackRecord.md)| FirmwareTrackRecord info | + +### Return type + +[**FirmwareTrackRecord**](FirmwareTrackRecord.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **create_firmware_version** +> FirmwareVersion create_firmware_version(body) + +Create new FirmwareVersion + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.FirmwareManagementApi(swagger_client.ApiClient(configuration)) +body = swagger_client.FirmwareVersion() # FirmwareVersion | FirmwareVersion info + +try: + # Create new FirmwareVersion + api_response = api_instance.create_firmware_version(body) + pprint(api_response) +except ApiException as e: + print("Exception when calling FirmwareManagementApi->create_firmware_version: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**FirmwareVersion**](FirmwareVersion.md)| FirmwareVersion info | + +### Return type + +[**FirmwareVersion**](FirmwareVersion.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **delete_customer_firmware_track_record** +> CustomerFirmwareTrackRecord delete_customer_firmware_track_record(customer_id) + +Delete CustomerFirmwareTrackRecord + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.FirmwareManagementApi(swagger_client.ApiClient(configuration)) +customer_id = 56 # int | customer id + +try: + # Delete CustomerFirmwareTrackRecord + api_response = api_instance.delete_customer_firmware_track_record(customer_id) + pprint(api_response) +except ApiException as e: + print("Exception when calling FirmwareManagementApi->delete_customer_firmware_track_record: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **customer_id** | **int**| customer id | + +### Return type + +[**CustomerFirmwareTrackRecord**](CustomerFirmwareTrackRecord.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **delete_firmware_track_assignment** +> FirmwareTrackAssignmentDetails delete_firmware_track_assignment(firmware_track_id, firmware_version_id) + +Delete FirmwareTrackAssignment + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.FirmwareManagementApi(swagger_client.ApiClient(configuration)) +firmware_track_id = 789 # int | firmware track id +firmware_version_id = 789 # int | firmware version id + +try: + # Delete FirmwareTrackAssignment + api_response = api_instance.delete_firmware_track_assignment(firmware_track_id, firmware_version_id) + pprint(api_response) +except ApiException as e: + print("Exception when calling FirmwareManagementApi->delete_firmware_track_assignment: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **firmware_track_id** | **int**| firmware track id | + **firmware_version_id** | **int**| firmware version id | + +### Return type + +[**FirmwareTrackAssignmentDetails**](FirmwareTrackAssignmentDetails.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **delete_firmware_track_record** +> FirmwareTrackRecord delete_firmware_track_record(firmware_track_id) + +Delete FirmwareTrackRecord + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.FirmwareManagementApi(swagger_client.ApiClient(configuration)) +firmware_track_id = 789 # int | firmware track id + +try: + # Delete FirmwareTrackRecord + api_response = api_instance.delete_firmware_track_record(firmware_track_id) + pprint(api_response) +except ApiException as e: + print("Exception when calling FirmwareManagementApi->delete_firmware_track_record: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **firmware_track_id** | **int**| firmware track id | + +### Return type + +[**FirmwareTrackRecord**](FirmwareTrackRecord.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **delete_firmware_version** +> FirmwareVersion delete_firmware_version(firmware_version_id) + +Delete FirmwareVersion + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.FirmwareManagementApi(swagger_client.ApiClient(configuration)) +firmware_version_id = 789 # int | firmwareVersion id + +try: + # Delete FirmwareVersion + api_response = api_instance.delete_firmware_version(firmware_version_id) + pprint(api_response) +except ApiException as e: + print("Exception when calling FirmwareManagementApi->delete_firmware_version: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **firmware_version_id** | **int**| firmwareVersion id | + +### Return type + +[**FirmwareVersion**](FirmwareVersion.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_customer_firmware_track_record** +> CustomerFirmwareTrackRecord get_customer_firmware_track_record(customer_id) + +Get CustomerFirmwareTrackRecord By customerId + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.FirmwareManagementApi(swagger_client.ApiClient(configuration)) +customer_id = 56 # int | customer id + +try: + # Get CustomerFirmwareTrackRecord By customerId + api_response = api_instance.get_customer_firmware_track_record(customer_id) + pprint(api_response) +except ApiException as e: + print("Exception when calling FirmwareManagementApi->get_customer_firmware_track_record: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **customer_id** | **int**| customer id | + +### Return type + +[**CustomerFirmwareTrackRecord**](CustomerFirmwareTrackRecord.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_default_customer_track_setting** +> CustomerFirmwareTrackSettings get_default_customer_track_setting() + +Get default settings for handling automatic firmware upgrades + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.FirmwareManagementApi(swagger_client.ApiClient(configuration)) + +try: + # Get default settings for handling automatic firmware upgrades + api_response = api_instance.get_default_customer_track_setting() + pprint(api_response) +except ApiException as e: + print("Exception when calling FirmwareManagementApi->get_default_customer_track_setting: %s\n" % e) +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**CustomerFirmwareTrackSettings**](CustomerFirmwareTrackSettings.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_firmware_model_ids_by_equipment_type** +> list[str] get_firmware_model_ids_by_equipment_type(equipment_type) + +Get equipment models from all known firmware versions filtered by equipmentType + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.FirmwareManagementApi(swagger_client.ApiClient(configuration)) +equipment_type = swagger_client.EquipmentType() # EquipmentType | + +try: + # Get equipment models from all known firmware versions filtered by equipmentType + api_response = api_instance.get_firmware_model_ids_by_equipment_type(equipment_type) + pprint(api_response) +except ApiException as e: + print("Exception when calling FirmwareManagementApi->get_firmware_model_ids_by_equipment_type: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **equipment_type** | [**EquipmentType**](.md)| | + +### Return type + +**list[str]** + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_firmware_track_assignment_details** +> list[FirmwareTrackAssignmentDetails] get_firmware_track_assignment_details(firmware_track_name) + +Get FirmwareTrackAssignmentDetails for a given firmware track name + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.FirmwareManagementApi(swagger_client.ApiClient(configuration)) +firmware_track_name = 'firmware_track_name_example' # str | firmware track name + +try: + # Get FirmwareTrackAssignmentDetails for a given firmware track name + api_response = api_instance.get_firmware_track_assignment_details(firmware_track_name) + pprint(api_response) +except ApiException as e: + print("Exception when calling FirmwareManagementApi->get_firmware_track_assignment_details: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **firmware_track_name** | **str**| firmware track name | + +### Return type + +[**list[FirmwareTrackAssignmentDetails]**](FirmwareTrackAssignmentDetails.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_firmware_track_record** +> FirmwareTrackRecord get_firmware_track_record(firmware_track_id) + +Get FirmwareTrackRecord By Id + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.FirmwareManagementApi(swagger_client.ApiClient(configuration)) +firmware_track_id = 789 # int | firmware track id + +try: + # Get FirmwareTrackRecord By Id + api_response = api_instance.get_firmware_track_record(firmware_track_id) + pprint(api_response) +except ApiException as e: + print("Exception when calling FirmwareManagementApi->get_firmware_track_record: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **firmware_track_id** | **int**| firmware track id | + +### Return type + +[**FirmwareTrackRecord**](FirmwareTrackRecord.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_firmware_track_record_by_name** +> FirmwareTrackRecord get_firmware_track_record_by_name(firmware_track_name) + +Get FirmwareTrackRecord By name + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.FirmwareManagementApi(swagger_client.ApiClient(configuration)) +firmware_track_name = 'firmware_track_name_example' # str | firmware track name + +try: + # Get FirmwareTrackRecord By name + api_response = api_instance.get_firmware_track_record_by_name(firmware_track_name) + pprint(api_response) +except ApiException as e: + print("Exception when calling FirmwareManagementApi->get_firmware_track_record_by_name: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **firmware_track_name** | **str**| firmware track name | + +### Return type + +[**FirmwareTrackRecord**](FirmwareTrackRecord.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_firmware_version** +> FirmwareVersion get_firmware_version(firmware_version_id) + +Get FirmwareVersion By Id + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.FirmwareManagementApi(swagger_client.ApiClient(configuration)) +firmware_version_id = 789 # int | firmwareVersion id + +try: + # Get FirmwareVersion By Id + api_response = api_instance.get_firmware_version(firmware_version_id) + pprint(api_response) +except ApiException as e: + print("Exception when calling FirmwareManagementApi->get_firmware_version: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **firmware_version_id** | **int**| firmwareVersion id | + +### Return type + +[**FirmwareVersion**](FirmwareVersion.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_firmware_version_by_equipment_type** +> list[FirmwareVersion] get_firmware_version_by_equipment_type(equipment_type, model_id=model_id) + +Get FirmwareVersions filtered by equipmentType and optional equipment model + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.FirmwareManagementApi(swagger_client.ApiClient(configuration)) +equipment_type = swagger_client.EquipmentType() # EquipmentType | +model_id = 'model_id_example' # str | optional filter by equipment model, if null - then firmware versions for all the equipment models are returned (optional) + +try: + # Get FirmwareVersions filtered by equipmentType and optional equipment model + api_response = api_instance.get_firmware_version_by_equipment_type(equipment_type, model_id=model_id) + pprint(api_response) +except ApiException as e: + print("Exception when calling FirmwareManagementApi->get_firmware_version_by_equipment_type: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **equipment_type** | [**EquipmentType**](.md)| | + **model_id** | **str**| optional filter by equipment model, if null - then firmware versions for all the equipment models are returned | [optional] + +### Return type + +[**list[FirmwareVersion]**](FirmwareVersion.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_firmware_version_by_name** +> FirmwareVersion get_firmware_version_by_name(firmware_version_name) + +Get FirmwareVersion By name + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.FirmwareManagementApi(swagger_client.ApiClient(configuration)) +firmware_version_name = 'firmware_version_name_example' # str | firmwareVersion name + +try: + # Get FirmwareVersion By name + api_response = api_instance.get_firmware_version_by_name(firmware_version_name) + pprint(api_response) +except ApiException as e: + print("Exception when calling FirmwareManagementApi->get_firmware_version_by_name: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **firmware_version_name** | **str**| firmwareVersion name | + +### Return type + +[**FirmwareVersion**](FirmwareVersion.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **update_customer_firmware_track_record** +> CustomerFirmwareTrackRecord update_customer_firmware_track_record(body) + +Update CustomerFirmwareTrackRecord + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.FirmwareManagementApi(swagger_client.ApiClient(configuration)) +body = swagger_client.CustomerFirmwareTrackRecord() # CustomerFirmwareTrackRecord | CustomerFirmwareTrackRecord info + +try: + # Update CustomerFirmwareTrackRecord + api_response = api_instance.update_customer_firmware_track_record(body) + pprint(api_response) +except ApiException as e: + print("Exception when calling FirmwareManagementApi->update_customer_firmware_track_record: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**CustomerFirmwareTrackRecord**](CustomerFirmwareTrackRecord.md)| CustomerFirmwareTrackRecord info | + +### Return type + +[**CustomerFirmwareTrackRecord**](CustomerFirmwareTrackRecord.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **update_firmware_track_assignment_details** +> FirmwareTrackAssignmentDetails update_firmware_track_assignment_details(body) + +Update FirmwareTrackAssignmentDetails + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.FirmwareManagementApi(swagger_client.ApiClient(configuration)) +body = swagger_client.FirmwareTrackAssignmentDetails() # FirmwareTrackAssignmentDetails | FirmwareTrackAssignmentDetails info + +try: + # Update FirmwareTrackAssignmentDetails + api_response = api_instance.update_firmware_track_assignment_details(body) + pprint(api_response) +except ApiException as e: + print("Exception when calling FirmwareManagementApi->update_firmware_track_assignment_details: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**FirmwareTrackAssignmentDetails**](FirmwareTrackAssignmentDetails.md)| FirmwareTrackAssignmentDetails info | + +### Return type + +[**FirmwareTrackAssignmentDetails**](FirmwareTrackAssignmentDetails.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **update_firmware_track_record** +> FirmwareTrackRecord update_firmware_track_record(body) + +Update FirmwareTrackRecord + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.FirmwareManagementApi(swagger_client.ApiClient(configuration)) +body = swagger_client.FirmwareTrackRecord() # FirmwareTrackRecord | FirmwareTrackRecord info + +try: + # Update FirmwareTrackRecord + api_response = api_instance.update_firmware_track_record(body) + pprint(api_response) +except ApiException as e: + print("Exception when calling FirmwareManagementApi->update_firmware_track_record: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**FirmwareTrackRecord**](FirmwareTrackRecord.md)| FirmwareTrackRecord info | + +### Return type + +[**FirmwareTrackRecord**](FirmwareTrackRecord.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **update_firmware_version** +> FirmwareVersion update_firmware_version(body) + +Update FirmwareVersion + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.FirmwareManagementApi(swagger_client.ApiClient(configuration)) +body = swagger_client.FirmwareVersion() # FirmwareVersion | FirmwareVersion info + +try: + # Update FirmwareVersion + api_response = api_instance.update_firmware_version(body) + pprint(api_response) +except ApiException as e: + print("Exception when calling FirmwareManagementApi->update_firmware_version: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**FirmwareVersion**](FirmwareVersion.md)| FirmwareVersion info | + +### Return type + +[**FirmwareVersion**](FirmwareVersion.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/FirmwareScheduleSetting.md b/libs/cloudapi/cloudsdk/docs/FirmwareScheduleSetting.md new file mode 100644 index 000000000..5e061a9f5 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/FirmwareScheduleSetting.md @@ -0,0 +1,8 @@ +# FirmwareScheduleSetting + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/FirmwareTrackAssignmentDetails.md b/libs/cloudapi/cloudsdk/docs/FirmwareTrackAssignmentDetails.md new file mode 100644 index 000000000..63b583248 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/FirmwareTrackAssignmentDetails.md @@ -0,0 +1,14 @@ +# FirmwareTrackAssignmentDetails + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**equipment_type** | [**EquipmentType**](EquipmentType.md) | | [optional] +**model_id** | **str** | equipment model | [optional] +**version_name** | **str** | | [optional] +**description** | **str** | | [optional] +**commit** | **str** | commit number for the firmware image, from the source control system | [optional] +**release_date** | **int** | release date of the firmware image, in ms epoch time | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/FirmwareTrackAssignmentRecord.md b/libs/cloudapi/cloudsdk/docs/FirmwareTrackAssignmentRecord.md new file mode 100644 index 000000000..7d7da16c0 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/FirmwareTrackAssignmentRecord.md @@ -0,0 +1,14 @@ +# FirmwareTrackAssignmentRecord + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**track_record_id** | **int** | | [optional] +**firmware_version_record_id** | **int** | | [optional] +**default_revision_for_track** | **bool** | | [optional] [default to False] +**deprecated** | **bool** | | [optional] [default to False] +**created_timestamp** | **int** | | [optional] +**last_modified_timestamp** | **int** | must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/FirmwareTrackRecord.md b/libs/cloudapi/cloudsdk/docs/FirmwareTrackRecord.md new file mode 100644 index 000000000..01caa0a6d --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/FirmwareTrackRecord.md @@ -0,0 +1,13 @@ +# FirmwareTrackRecord + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**record_id** | **int** | | [optional] +**track_name** | **str** | | [optional] +**maintenance_window** | [**FirmwareScheduleSetting**](FirmwareScheduleSetting.md) | | [optional] +**created_timestamp** | **int** | | [optional] +**last_modified_timestamp** | **int** | must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/FirmwareValidationMethod.md b/libs/cloudapi/cloudsdk/docs/FirmwareValidationMethod.md new file mode 100644 index 000000000..2d0146a72 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/FirmwareValidationMethod.md @@ -0,0 +1,8 @@ +# FirmwareValidationMethod + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/FirmwareVersion.md b/libs/cloudapi/cloudsdk/docs/FirmwareVersion.md new file mode 100644 index 000000000..6b76a80da --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/FirmwareVersion.md @@ -0,0 +1,20 @@ +# FirmwareVersion + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **int** | | [optional] +**equipment_type** | [**EquipmentType**](EquipmentType.md) | | [optional] +**model_id** | **str** | equipment model | [optional] +**version_name** | **str** | | [optional] +**description** | **str** | | [optional] +**filename** | **str** | | [optional] +**commit** | **str** | commit number for the firmware image, from the source control system | [optional] +**validation_method** | [**FirmwareValidationMethod**](FirmwareValidationMethod.md) | | [optional] +**validation_code** | **str** | firmware digest code, depending on validation method - MD5, etc. | [optional] +**release_date** | **int** | release date of the firmware image, in ms epoch time | [optional] +**created_timestamp** | **int** | | [optional] +**last_modified_timestamp** | **int** | must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/GatewayAddedEvent.md b/libs/cloudapi/cloudsdk/docs/GatewayAddedEvent.md new file mode 100644 index 000000000..8165e8a90 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/GatewayAddedEvent.md @@ -0,0 +1,11 @@ +# GatewayAddedEvent + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**event_timestamp** | **int** | | [optional] +**gateway** | [**EquipmentGatewayRecord**](EquipmentGatewayRecord.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/GatewayChangedEvent.md b/libs/cloudapi/cloudsdk/docs/GatewayChangedEvent.md new file mode 100644 index 000000000..f16ba18bb --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/GatewayChangedEvent.md @@ -0,0 +1,11 @@ +# GatewayChangedEvent + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**event_timestamp** | **int** | | [optional] +**gateway** | [**EquipmentGatewayRecord**](EquipmentGatewayRecord.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/GatewayRemovedEvent.md b/libs/cloudapi/cloudsdk/docs/GatewayRemovedEvent.md new file mode 100644 index 000000000..67533be09 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/GatewayRemovedEvent.md @@ -0,0 +1,11 @@ +# GatewayRemovedEvent + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**event_timestamp** | **int** | | [optional] +**gateway** | [**EquipmentGatewayRecord**](EquipmentGatewayRecord.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/GatewayType.md b/libs/cloudapi/cloudsdk/docs/GatewayType.md new file mode 100644 index 000000000..db42b3b7d --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/GatewayType.md @@ -0,0 +1,8 @@ +# GatewayType + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/GenericResponse.md b/libs/cloudapi/cloudsdk/docs/GenericResponse.md new file mode 100644 index 000000000..387e718ed --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/GenericResponse.md @@ -0,0 +1,10 @@ +# GenericResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**message** | **str** | | [optional] +**success** | **bool** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/GreTunnelConfiguration.md b/libs/cloudapi/cloudsdk/docs/GreTunnelConfiguration.md new file mode 100644 index 000000000..3e6be55ff --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/GreTunnelConfiguration.md @@ -0,0 +1,11 @@ +# GreTunnelConfiguration + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**gre_tunnel_name** | **str** | | [optional] +**gre_remote_inet_addr** | **str** | | [optional] +**vlan_ids_in_gre_tunnel** | **list[int]** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/GuardInterval.md b/libs/cloudapi/cloudsdk/docs/GuardInterval.md new file mode 100644 index 000000000..7f2ca8b98 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/GuardInterval.md @@ -0,0 +1,8 @@ +# GuardInterval + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/IntegerPerRadioTypeMap.md b/libs/cloudapi/cloudsdk/docs/IntegerPerRadioTypeMap.md new file mode 100644 index 000000000..d38237bf6 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/IntegerPerRadioTypeMap.md @@ -0,0 +1,12 @@ +# IntegerPerRadioTypeMap + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**is5_g_hz** | **int** | | [optional] +**is5_g_hz_u** | **int** | | [optional] +**is5_g_hz_l** | **int** | | [optional] +**is2dot4_g_hz** | **int** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/IntegerPerStatusCodeMap.md b/libs/cloudapi/cloudsdk/docs/IntegerPerStatusCodeMap.md new file mode 100644 index 000000000..d5abceb84 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/IntegerPerStatusCodeMap.md @@ -0,0 +1,12 @@ +# IntegerPerStatusCodeMap + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**normal** | **int** | | [optional] +**requires_attention** | **int** | | [optional] +**error** | **int** | | [optional] +**disabled** | **int** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/IntegerStatusCodeMap.md b/libs/cloudapi/cloudsdk/docs/IntegerStatusCodeMap.md new file mode 100644 index 000000000..4472dbc16 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/IntegerStatusCodeMap.md @@ -0,0 +1,12 @@ +# IntegerStatusCodeMap + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**normal** | **int** | | [optional] +**requires_attention** | **int** | | [optional] +**error** | **int** | | [optional] +**disabled** | **int** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/IntegerValueMap.md b/libs/cloudapi/cloudsdk/docs/IntegerValueMap.md new file mode 100644 index 000000000..dc650a56e --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/IntegerValueMap.md @@ -0,0 +1,8 @@ +# IntegerValueMap + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/JsonSerializedException.md b/libs/cloudapi/cloudsdk/docs/JsonSerializedException.md new file mode 100644 index 000000000..4bd609781 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/JsonSerializedException.md @@ -0,0 +1,12 @@ +# JsonSerializedException + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ex_type** | **str** | | [optional] +**error** | **str** | error message | [optional] +**path** | **str** | API path with parameters that produced the exception | [optional] +**timestamp** | **int** | time stamp of when the exception was generated | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/LinkQualityAggregatedStats.md b/libs/cloudapi/cloudsdk/docs/LinkQualityAggregatedStats.md new file mode 100644 index 000000000..9ca20a04f --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/LinkQualityAggregatedStats.md @@ -0,0 +1,12 @@ +# LinkQualityAggregatedStats + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**snr** | [**MinMaxAvgValueInt**](MinMaxAvgValueInt.md) | | [optional] +**bad_client_count** | **int** | | [optional] +**average_client_count** | **int** | | [optional] +**good_client_count** | **int** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/LinkQualityAggregatedStatsPerRadioTypeMap.md b/libs/cloudapi/cloudsdk/docs/LinkQualityAggregatedStatsPerRadioTypeMap.md new file mode 100644 index 000000000..023e13332 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/LinkQualityAggregatedStatsPerRadioTypeMap.md @@ -0,0 +1,12 @@ +# LinkQualityAggregatedStatsPerRadioTypeMap + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**is5_g_hz** | [**LinkQualityAggregatedStats**](LinkQualityAggregatedStats.md) | | [optional] +**is5_g_hz_u** | [**LinkQualityAggregatedStats**](LinkQualityAggregatedStats.md) | | [optional] +**is5_g_hz_l** | [**LinkQualityAggregatedStats**](LinkQualityAggregatedStats.md) | | [optional] +**is2dot4_g_hz** | [**LinkQualityAggregatedStats**](LinkQualityAggregatedStats.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ListOfChannelInfoReportsPerRadioMap.md b/libs/cloudapi/cloudsdk/docs/ListOfChannelInfoReportsPerRadioMap.md new file mode 100644 index 000000000..e46f3d74c --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ListOfChannelInfoReportsPerRadioMap.md @@ -0,0 +1,12 @@ +# ListOfChannelInfoReportsPerRadioMap + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**is5_g_hz** | [**list[ChannelInfo]**](ChannelInfo.md) | | [optional] +**is5_g_hz_u** | [**list[ChannelInfo]**](ChannelInfo.md) | | [optional] +**is5_g_hz_l** | [**list[ChannelInfo]**](ChannelInfo.md) | | [optional] +**is2dot4_g_hz** | [**list[ChannelInfo]**](ChannelInfo.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ListOfMacsPerRadioMap.md b/libs/cloudapi/cloudsdk/docs/ListOfMacsPerRadioMap.md new file mode 100644 index 000000000..d28509793 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ListOfMacsPerRadioMap.md @@ -0,0 +1,12 @@ +# ListOfMacsPerRadioMap + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**is5_g_hz** | [**list[MacAddress]**](MacAddress.md) | | [optional] +**is5_g_hz_u** | [**list[MacAddress]**](MacAddress.md) | | [optional] +**is5_g_hz_l** | [**list[MacAddress]**](MacAddress.md) | | [optional] +**is2dot4_g_hz** | [**list[MacAddress]**](MacAddress.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ListOfMcsStatsPerRadioMap.md b/libs/cloudapi/cloudsdk/docs/ListOfMcsStatsPerRadioMap.md new file mode 100644 index 000000000..cee0a2209 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ListOfMcsStatsPerRadioMap.md @@ -0,0 +1,12 @@ +# ListOfMcsStatsPerRadioMap + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**is5_g_hz** | [**list[McsStats]**](McsStats.md) | | [optional] +**is5_g_hz_u** | [**list[McsStats]**](McsStats.md) | | [optional] +**is5_g_hz_l** | [**list[McsStats]**](McsStats.md) | | [optional] +**is2dot4_g_hz** | [**list[McsStats]**](McsStats.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ListOfRadioUtilizationPerRadioMap.md b/libs/cloudapi/cloudsdk/docs/ListOfRadioUtilizationPerRadioMap.md new file mode 100644 index 000000000..8d3713d25 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ListOfRadioUtilizationPerRadioMap.md @@ -0,0 +1,12 @@ +# ListOfRadioUtilizationPerRadioMap + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**is5_g_hz** | [**list[RadioUtilization]**](RadioUtilization.md) | | [optional] +**is5_g_hz_u** | [**list[RadioUtilization]**](RadioUtilization.md) | | [optional] +**is5_g_hz_l** | [**list[RadioUtilization]**](RadioUtilization.md) | | [optional] +**is2dot4_g_hz** | [**list[RadioUtilization]**](RadioUtilization.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ListOfSsidStatisticsPerRadioMap.md b/libs/cloudapi/cloudsdk/docs/ListOfSsidStatisticsPerRadioMap.md new file mode 100644 index 000000000..259af0aea --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ListOfSsidStatisticsPerRadioMap.md @@ -0,0 +1,12 @@ +# ListOfSsidStatisticsPerRadioMap + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**is5_g_hz** | [**list[SsidStatistics]**](SsidStatistics.md) | | [optional] +**is5_g_hz_u** | [**list[SsidStatistics]**](SsidStatistics.md) | | [optional] +**is5_g_hz_l** | [**list[SsidStatistics]**](SsidStatistics.md) | | [optional] +**is2dot4_g_hz** | [**list[SsidStatistics]**](SsidStatistics.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/LocalTimeValue.md b/libs/cloudapi/cloudsdk/docs/LocalTimeValue.md new file mode 100644 index 000000000..032b4c61b --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/LocalTimeValue.md @@ -0,0 +1,10 @@ +# LocalTimeValue + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**hour** | **int** | | [optional] +**minute** | **int** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/Location.md b/libs/cloudapi/cloudsdk/docs/Location.md new file mode 100644 index 000000000..908fa9e3f --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/Location.md @@ -0,0 +1,16 @@ +# Location + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **int** | | [optional] +**location_type** | **str** | | [optional] +**customer_id** | **int** | | [optional] +**name** | **str** | | [optional] +**parent_id** | **int** | | [optional] +**details** | [**LocationDetails**](LocationDetails.md) | | [optional] +**created_timestamp** | **int** | | [optional] +**last_modified_timestamp** | **int** | must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/LocationActivityDetails.md b/libs/cloudapi/cloudsdk/docs/LocationActivityDetails.md new file mode 100644 index 000000000..2eb1fe55d --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/LocationActivityDetails.md @@ -0,0 +1,12 @@ +# LocationActivityDetails + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**busy_time** | **str** | | [optional] +**quiet_time** | **str** | | [optional] +**timezone** | **str** | | [optional] +**last_busy_snapshot** | **int** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/LocationActivityDetailsMap.md b/libs/cloudapi/cloudsdk/docs/LocationActivityDetailsMap.md new file mode 100644 index 000000000..e3c631c65 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/LocationActivityDetailsMap.md @@ -0,0 +1,15 @@ +# LocationActivityDetailsMap + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**sunday** | [**LocationActivityDetails**](LocationActivityDetails.md) | | [optional] +**monday** | [**LocationActivityDetails**](LocationActivityDetails.md) | | [optional] +**tuesday** | [**LocationActivityDetails**](LocationActivityDetails.md) | | [optional] +**wednesday** | [**LocationActivityDetails**](LocationActivityDetails.md) | | [optional] +**thursday** | [**LocationActivityDetails**](LocationActivityDetails.md) | | [optional] +**friday** | [**LocationActivityDetails**](LocationActivityDetails.md) | | [optional] +**saturday** | [**LocationActivityDetails**](LocationActivityDetails.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/LocationAddedEvent.md b/libs/cloudapi/cloudsdk/docs/LocationAddedEvent.md new file mode 100644 index 000000000..4393e29ff --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/LocationAddedEvent.md @@ -0,0 +1,12 @@ +# LocationAddedEvent + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**event_timestamp** | **int** | | [optional] +**customer_id** | **int** | | [optional] +**payload** | [**Location**](Location.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/LocationApi.md b/libs/cloudapi/cloudsdk/docs/LocationApi.md new file mode 100644 index 000000000..af9eeae8b --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/LocationApi.md @@ -0,0 +1,299 @@ +# swagger_client.LocationApi + +All URIs are relative to *https://localhost:9091* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**create_location**](LocationApi.md#create_location) | **POST** /portal/location | Create new Location +[**delete_location**](LocationApi.md#delete_location) | **DELETE** /portal/location | Delete Location +[**get_location_by_id**](LocationApi.md#get_location_by_id) | **GET** /portal/location | Get Location By Id +[**get_location_by_set_of_ids**](LocationApi.md#get_location_by_set_of_ids) | **GET** /portal/location/inSet | Get Locations By a set of ids +[**get_locations_by_customer_id**](LocationApi.md#get_locations_by_customer_id) | **GET** /portal/location/forCustomer | Get Locations By customerId +[**update_location**](LocationApi.md#update_location) | **PUT** /portal/location | Update Location + +# **create_location** +> Location create_location(body) + +Create new Location + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.LocationApi(swagger_client.ApiClient(configuration)) +body = swagger_client.Location() # Location | location info + +try: + # Create new Location + api_response = api_instance.create_location(body) + pprint(api_response) +except ApiException as e: + print("Exception when calling LocationApi->create_location: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**Location**](Location.md)| location info | + +### Return type + +[**Location**](Location.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **delete_location** +> Location delete_location(location_id) + +Delete Location + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.LocationApi(swagger_client.ApiClient(configuration)) +location_id = 789 # int | location id + +try: + # Delete Location + api_response = api_instance.delete_location(location_id) + pprint(api_response) +except ApiException as e: + print("Exception when calling LocationApi->delete_location: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **location_id** | **int**| location id | + +### Return type + +[**Location**](Location.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_location_by_id** +> Location get_location_by_id(location_id) + +Get Location By Id + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.LocationApi(swagger_client.ApiClient(configuration)) +location_id = 789 # int | location id + +try: + # Get Location By Id + api_response = api_instance.get_location_by_id(location_id) + pprint(api_response) +except ApiException as e: + print("Exception when calling LocationApi->get_location_by_id: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **location_id** | **int**| location id | + +### Return type + +[**Location**](Location.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_location_by_set_of_ids** +> list[Location] get_location_by_set_of_ids(location_id_set) + +Get Locations By a set of ids + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.LocationApi(swagger_client.ApiClient(configuration)) +location_id_set = [56] # list[int] | set of location ids + +try: + # Get Locations By a set of ids + api_response = api_instance.get_location_by_set_of_ids(location_id_set) + pprint(api_response) +except ApiException as e: + print("Exception when calling LocationApi->get_location_by_set_of_ids: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **location_id_set** | [**list[int]**](int.md)| set of location ids | + +### Return type + +[**list[Location]**](Location.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_locations_by_customer_id** +> PaginationResponseLocation get_locations_by_customer_id(customer_id, pagination_context, sort_by=sort_by) + +Get Locations By customerId + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.LocationApi(swagger_client.ApiClient(configuration)) +customer_id = 789 # int | customer id +pagination_context = swagger_client.PaginationContextLocation() # PaginationContextLocation | pagination context +sort_by = [swagger_client.SortColumnsLocation()] # list[SortColumnsLocation] | sort options (optional) + +try: + # Get Locations By customerId + api_response = api_instance.get_locations_by_customer_id(customer_id, pagination_context, sort_by=sort_by) + pprint(api_response) +except ApiException as e: + print("Exception when calling LocationApi->get_locations_by_customer_id: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **customer_id** | **int**| customer id | + **pagination_context** | [**PaginationContextLocation**](.md)| pagination context | + **sort_by** | [**list[SortColumnsLocation]**](SortColumnsLocation.md)| sort options | [optional] + +### Return type + +[**PaginationResponseLocation**](PaginationResponseLocation.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **update_location** +> Location update_location(body) + +Update Location + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.LocationApi(swagger_client.ApiClient(configuration)) +body = swagger_client.Location() # Location | location info + +try: + # Update Location + api_response = api_instance.update_location(body) + pprint(api_response) +except ApiException as e: + print("Exception when calling LocationApi->update_location: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**Location**](Location.md)| location info | + +### Return type + +[**Location**](Location.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/LocationChangedEvent.md b/libs/cloudapi/cloudsdk/docs/LocationChangedEvent.md new file mode 100644 index 000000000..e401239b1 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/LocationChangedEvent.md @@ -0,0 +1,12 @@ +# LocationChangedEvent + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**event_timestamp** | **int** | | [optional] +**customer_id** | **int** | | [optional] +**payload** | [**Location**](Location.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/LocationDetails.md b/libs/cloudapi/cloudsdk/docs/LocationDetails.md new file mode 100644 index 000000000..adcf56f3c --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/LocationDetails.md @@ -0,0 +1,13 @@ +# LocationDetails + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | [optional] +**country_code** | [**CountryCode**](CountryCode.md) | | [optional] +**daily_activity_details** | [**LocationActivityDetailsMap**](LocationActivityDetailsMap.md) | | [optional] +**maintenance_window** | [**DaysOfWeekTimeRangeSchedule**](DaysOfWeekTimeRangeSchedule.md) | | [optional] +**rrm_enabled** | **bool** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/LocationRemovedEvent.md b/libs/cloudapi/cloudsdk/docs/LocationRemovedEvent.md new file mode 100644 index 000000000..58e5d2393 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/LocationRemovedEvent.md @@ -0,0 +1,12 @@ +# LocationRemovedEvent + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**event_timestamp** | **int** | | [optional] +**customer_id** | **int** | | [optional] +**payload** | [**Location**](Location.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/LoginApi.md b/libs/cloudapi/cloudsdk/docs/LoginApi.md new file mode 100644 index 000000000..19e6703de --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/LoginApi.md @@ -0,0 +1,99 @@ +# swagger_client.LoginApi + +All URIs are relative to *https://localhost:9091* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**get_access_token**](LoginApi.md#get_access_token) | **POST** /management/v1/oauth2/token | Get access token - to be used as Bearer token header for all other API requests. +[**portal_ping**](LoginApi.md#portal_ping) | **GET** /ping | Portal proces version info. + +# **get_access_token** +> WebTokenResult get_access_token(body) + +Get access token - to be used as Bearer token header for all other API requests. + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.LoginApi(swagger_client.ApiClient(configuration)) +body = swagger_client.WebTokenRequest() # WebTokenRequest | User id and password + +try: + # Get access token - to be used as Bearer token header for all other API requests. + api_response = api_instance.get_access_token(body) + pprint(api_response) +except ApiException as e: + print("Exception when calling LoginApi->get_access_token: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**WebTokenRequest**](WebTokenRequest.md)| User id and password | + +### Return type + +[**WebTokenResult**](WebTokenResult.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **portal_ping** +> PingResponse portal_ping() + +Portal proces version info. + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.LoginApi(swagger_client.ApiClient(configuration)) + +try: + # Portal proces version info. + api_response = api_instance.portal_ping() + pprint(api_response) +except ApiException as e: + print("Exception when calling LoginApi->portal_ping: %s\n" % e) +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**PingResponse**](PingResponse.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/LongPerRadioTypeMap.md b/libs/cloudapi/cloudsdk/docs/LongPerRadioTypeMap.md new file mode 100644 index 000000000..2b0c391b3 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/LongPerRadioTypeMap.md @@ -0,0 +1,12 @@ +# LongPerRadioTypeMap + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**is5_g_hz** | **int** | | [optional] +**is5_g_hz_u** | **int** | | [optional] +**is5_g_hz_l** | **int** | | [optional] +**is2dot4_g_hz** | **int** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/LongValueMap.md b/libs/cloudapi/cloudsdk/docs/LongValueMap.md new file mode 100644 index 000000000..297bbe782 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/LongValueMap.md @@ -0,0 +1,8 @@ +# LongValueMap + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/MacAddress.md b/libs/cloudapi/cloudsdk/docs/MacAddress.md new file mode 100644 index 000000000..030704d25 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/MacAddress.md @@ -0,0 +1,10 @@ +# MacAddress + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | [optional] +**address_as_string** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/MacAllowlistRecord.md b/libs/cloudapi/cloudsdk/docs/MacAllowlistRecord.md new file mode 100644 index 000000000..02b5cac1b --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/MacAllowlistRecord.md @@ -0,0 +1,11 @@ +# MacAllowlistRecord + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**mac_address** | [**MacAddress**](MacAddress.md) | | [optional] +**notes** | **str** | | [optional] +**last_modified_timestamp** | **int** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ManagedFileInfo.md b/libs/cloudapi/cloudsdk/docs/ManagedFileInfo.md new file mode 100644 index 000000000..b63455d85 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ManagedFileInfo.md @@ -0,0 +1,14 @@ +# ManagedFileInfo + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**md5checksum** | **list[int]** | | [optional] +**last_modified_timestamp** | **int** | | [optional] +**ap_export_url** | **str** | | [optional] +**file_category** | [**FileCategory**](FileCategory.md) | | [optional] +**file_type** | [**FileType**](FileType.md) | | [optional] +**alt_slot** | **bool** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ManagementRate.md b/libs/cloudapi/cloudsdk/docs/ManagementRate.md new file mode 100644 index 000000000..56672c03c --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ManagementRate.md @@ -0,0 +1,8 @@ +# ManagementRate + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ManufacturerDetailsRecord.md b/libs/cloudapi/cloudsdk/docs/ManufacturerDetailsRecord.md new file mode 100644 index 000000000..63ca477d7 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ManufacturerDetailsRecord.md @@ -0,0 +1,13 @@ +# ManufacturerDetailsRecord + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **int** | | [optional] +**manufacturer_name** | **str** | | [optional] +**manufacturer_alias** | **str** | | [optional] +**created_timestamp** | **int** | | [optional] +**last_modified_timestamp** | **int** | must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ManufacturerOUIApi.md b/libs/cloudapi/cloudsdk/docs/ManufacturerOUIApi.md new file mode 100644 index 000000000..c3ec6a153 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ManufacturerOUIApi.md @@ -0,0 +1,683 @@ +# swagger_client.ManufacturerOUIApi + +All URIs are relative to *https://localhost:9091* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**create_manufacturer_details_record**](ManufacturerOUIApi.md#create_manufacturer_details_record) | **POST** /portal/manufacturer | Create new ManufacturerDetailsRecord +[**create_manufacturer_oui_details**](ManufacturerOUIApi.md#create_manufacturer_oui_details) | **POST** /portal/manufacturer/oui | Create new ManufacturerOuiDetails +[**delete_manufacturer_details_record**](ManufacturerOUIApi.md#delete_manufacturer_details_record) | **DELETE** /portal/manufacturer | Delete ManufacturerDetailsRecord +[**delete_manufacturer_oui_details**](ManufacturerOUIApi.md#delete_manufacturer_oui_details) | **DELETE** /portal/manufacturer/oui | Delete ManufacturerOuiDetails +[**get_alias_values_that_begin_with**](ManufacturerOUIApi.md#get_alias_values_that_begin_with) | **GET** /portal/manufacturer/oui/alias | Get manufacturer aliases that begin with the given prefix +[**get_all_manufacturer_oui_details**](ManufacturerOUIApi.md#get_all_manufacturer_oui_details) | **GET** /portal/manufacturer/oui/all | Get all ManufacturerOuiDetails +[**get_manufacturer_details_for_oui_list**](ManufacturerOUIApi.md#get_manufacturer_details_for_oui_list) | **GET** /portal/manufacturer/oui/list | Get ManufacturerOuiDetails for the list of OUIs +[**get_manufacturer_details_record**](ManufacturerOUIApi.md#get_manufacturer_details_record) | **GET** /portal/manufacturer | Get ManufacturerDetailsRecord By id +[**get_manufacturer_oui_details_by_oui**](ManufacturerOUIApi.md#get_manufacturer_oui_details_by_oui) | **GET** /portal/manufacturer/oui | Get ManufacturerOuiDetails By oui +[**get_oui_list_for_manufacturer**](ManufacturerOUIApi.md#get_oui_list_for_manufacturer) | **GET** /portal/manufacturer/oui/forManufacturer | Get Oui List for manufacturer +[**update_manufacturer_details_record**](ManufacturerOUIApi.md#update_manufacturer_details_record) | **PUT** /portal/manufacturer | Update ManufacturerDetailsRecord +[**update_oui_alias**](ManufacturerOUIApi.md#update_oui_alias) | **PUT** /portal/manufacturer/oui/alias | Update alias for ManufacturerOuiDetails +[**upload_oui_data_file**](ManufacturerOUIApi.md#upload_oui_data_file) | **POST** /portal/manufacturer/oui/upload | Upload the gziped OUI DataFile, in the format that is published by IEEE. Latest sanitized IEEE OUI data file (oui.txt.gz) can be obtained from https://linuxnet.ca/ieee/oui/ +[**upload_oui_data_file_base64**](ManufacturerOUIApi.md#upload_oui_data_file_base64) | **POST** /portal/manufacturer/oui/upload/base64 | Upload the gziped OUI DataFile using base64 encoding, in the format that is published by IEEE. Latest sanitized IEEE OUI data file (oui.txt.gz) can be obtained from https://linuxnet.ca/ieee/oui/ + +# **create_manufacturer_details_record** +> ManufacturerDetailsRecord create_manufacturer_details_record(body) + +Create new ManufacturerDetailsRecord + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.ManufacturerOUIApi(swagger_client.ApiClient(configuration)) +body = swagger_client.ManufacturerDetailsRecord() # ManufacturerDetailsRecord | ManufacturerDetailsRecord info + +try: + # Create new ManufacturerDetailsRecord + api_response = api_instance.create_manufacturer_details_record(body) + pprint(api_response) +except ApiException as e: + print("Exception when calling ManufacturerOUIApi->create_manufacturer_details_record: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**ManufacturerDetailsRecord**](ManufacturerDetailsRecord.md)| ManufacturerDetailsRecord info | + +### Return type + +[**ManufacturerDetailsRecord**](ManufacturerDetailsRecord.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **create_manufacturer_oui_details** +> ManufacturerOuiDetails create_manufacturer_oui_details(body) + +Create new ManufacturerOuiDetails + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.ManufacturerOUIApi(swagger_client.ApiClient(configuration)) +body = swagger_client.ManufacturerOuiDetails() # ManufacturerOuiDetails | ManufacturerOuiDetails info + +try: + # Create new ManufacturerOuiDetails + api_response = api_instance.create_manufacturer_oui_details(body) + pprint(api_response) +except ApiException as e: + print("Exception when calling ManufacturerOUIApi->create_manufacturer_oui_details: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**ManufacturerOuiDetails**](ManufacturerOuiDetails.md)| ManufacturerOuiDetails info | + +### Return type + +[**ManufacturerOuiDetails**](ManufacturerOuiDetails.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **delete_manufacturer_details_record** +> ManufacturerDetailsRecord delete_manufacturer_details_record(id) + +Delete ManufacturerDetailsRecord + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.ManufacturerOUIApi(swagger_client.ApiClient(configuration)) +id = 789 # int | ManufacturerDetailsRecord id + +try: + # Delete ManufacturerDetailsRecord + api_response = api_instance.delete_manufacturer_details_record(id) + pprint(api_response) +except ApiException as e: + print("Exception when calling ManufacturerOUIApi->delete_manufacturer_details_record: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **int**| ManufacturerDetailsRecord id | + +### Return type + +[**ManufacturerDetailsRecord**](ManufacturerDetailsRecord.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **delete_manufacturer_oui_details** +> ManufacturerOuiDetails delete_manufacturer_oui_details(oui) + +Delete ManufacturerOuiDetails + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.ManufacturerOUIApi(swagger_client.ApiClient(configuration)) +oui = 'oui_example' # str | ManufacturerOuiDetails oui + +try: + # Delete ManufacturerOuiDetails + api_response = api_instance.delete_manufacturer_oui_details(oui) + pprint(api_response) +except ApiException as e: + print("Exception when calling ManufacturerOUIApi->delete_manufacturer_oui_details: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **oui** | **str**| ManufacturerOuiDetails oui | + +### Return type + +[**ManufacturerOuiDetails**](ManufacturerOuiDetails.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_alias_values_that_begin_with** +> list[str] get_alias_values_that_begin_with(prefix, max_results) + +Get manufacturer aliases that begin with the given prefix + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.ManufacturerOUIApi(swagger_client.ApiClient(configuration)) +prefix = 'prefix_example' # str | prefix for the manufacturer alias +max_results = -1 # int | max results to return, use -1 for no limit (default to -1) + +try: + # Get manufacturer aliases that begin with the given prefix + api_response = api_instance.get_alias_values_that_begin_with(prefix, max_results) + pprint(api_response) +except ApiException as e: + print("Exception when calling ManufacturerOUIApi->get_alias_values_that_begin_with: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **prefix** | **str**| prefix for the manufacturer alias | + **max_results** | **int**| max results to return, use -1 for no limit | [default to -1] + +### Return type + +**list[str]** + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_all_manufacturer_oui_details** +> list[ManufacturerOuiDetails] get_all_manufacturer_oui_details() + +Get all ManufacturerOuiDetails + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.ManufacturerOUIApi(swagger_client.ApiClient(configuration)) + +try: + # Get all ManufacturerOuiDetails + api_response = api_instance.get_all_manufacturer_oui_details() + pprint(api_response) +except ApiException as e: + print("Exception when calling ManufacturerOUIApi->get_all_manufacturer_oui_details: %s\n" % e) +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**list[ManufacturerOuiDetails]**](ManufacturerOuiDetails.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_manufacturer_details_for_oui_list** +> ManufacturerOuiDetailsPerOuiMap get_manufacturer_details_for_oui_list(oui_list) + +Get ManufacturerOuiDetails for the list of OUIs + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.ManufacturerOUIApi(swagger_client.ApiClient(configuration)) +oui_list = ['oui_list_example'] # list[str] | + +try: + # Get ManufacturerOuiDetails for the list of OUIs + api_response = api_instance.get_manufacturer_details_for_oui_list(oui_list) + pprint(api_response) +except ApiException as e: + print("Exception when calling ManufacturerOUIApi->get_manufacturer_details_for_oui_list: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **oui_list** | [**list[str]**](str.md)| | + +### Return type + +[**ManufacturerOuiDetailsPerOuiMap**](ManufacturerOuiDetailsPerOuiMap.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_manufacturer_details_record** +> ManufacturerDetailsRecord get_manufacturer_details_record(id) + +Get ManufacturerDetailsRecord By id + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.ManufacturerOUIApi(swagger_client.ApiClient(configuration)) +id = 789 # int | ManufacturerDetailsRecord id + +try: + # Get ManufacturerDetailsRecord By id + api_response = api_instance.get_manufacturer_details_record(id) + pprint(api_response) +except ApiException as e: + print("Exception when calling ManufacturerOUIApi->get_manufacturer_details_record: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **int**| ManufacturerDetailsRecord id | + +### Return type + +[**ManufacturerDetailsRecord**](ManufacturerDetailsRecord.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_manufacturer_oui_details_by_oui** +> ManufacturerOuiDetails get_manufacturer_oui_details_by_oui(oui) + +Get ManufacturerOuiDetails By oui + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.ManufacturerOUIApi(swagger_client.ApiClient(configuration)) +oui = 'oui_example' # str | ManufacturerOuiDetails oui + +try: + # Get ManufacturerOuiDetails By oui + api_response = api_instance.get_manufacturer_oui_details_by_oui(oui) + pprint(api_response) +except ApiException as e: + print("Exception when calling ManufacturerOUIApi->get_manufacturer_oui_details_by_oui: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **oui** | **str**| ManufacturerOuiDetails oui | + +### Return type + +[**ManufacturerOuiDetails**](ManufacturerOuiDetails.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_oui_list_for_manufacturer** +> list[str] get_oui_list_for_manufacturer(manufacturer, exact_match) + +Get Oui List for manufacturer + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.ManufacturerOUIApi(swagger_client.ApiClient(configuration)) +manufacturer = 'manufacturer_example' # str | Manufacturer name or alias +exact_match = true # bool | Perform exact match (true) or prefix match (false) for the manufacturer name or alias + +try: + # Get Oui List for manufacturer + api_response = api_instance.get_oui_list_for_manufacturer(manufacturer, exact_match) + pprint(api_response) +except ApiException as e: + print("Exception when calling ManufacturerOUIApi->get_oui_list_for_manufacturer: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **manufacturer** | **str**| Manufacturer name or alias | + **exact_match** | **bool**| Perform exact match (true) or prefix match (false) for the manufacturer name or alias | + +### Return type + +**list[str]** + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **update_manufacturer_details_record** +> ManufacturerDetailsRecord update_manufacturer_details_record(body) + +Update ManufacturerDetailsRecord + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.ManufacturerOUIApi(swagger_client.ApiClient(configuration)) +body = swagger_client.ManufacturerDetailsRecord() # ManufacturerDetailsRecord | ManufacturerDetailsRecord info + +try: + # Update ManufacturerDetailsRecord + api_response = api_instance.update_manufacturer_details_record(body) + pprint(api_response) +except ApiException as e: + print("Exception when calling ManufacturerOUIApi->update_manufacturer_details_record: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**ManufacturerDetailsRecord**](ManufacturerDetailsRecord.md)| ManufacturerDetailsRecord info | + +### Return type + +[**ManufacturerDetailsRecord**](ManufacturerDetailsRecord.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **update_oui_alias** +> ManufacturerOuiDetails update_oui_alias(body) + +Update alias for ManufacturerOuiDetails + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.ManufacturerOUIApi(swagger_client.ApiClient(configuration)) +body = swagger_client.ManufacturerOuiDetails() # ManufacturerOuiDetails | ManufacturerOuiDetails info + +try: + # Update alias for ManufacturerOuiDetails + api_response = api_instance.update_oui_alias(body) + pprint(api_response) +except ApiException as e: + print("Exception when calling ManufacturerOUIApi->update_oui_alias: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**ManufacturerOuiDetails**](ManufacturerOuiDetails.md)| ManufacturerOuiDetails info | + +### Return type + +[**ManufacturerOuiDetails**](ManufacturerOuiDetails.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **upload_oui_data_file** +> GenericResponse upload_oui_data_file(body, file_name) + +Upload the gziped OUI DataFile, in the format that is published by IEEE. Latest sanitized IEEE OUI data file (oui.txt.gz) can be obtained from https://linuxnet.ca/ieee/oui/ + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.ManufacturerOUIApi(swagger_client.ApiClient(configuration)) +body = swagger_client.Object() # Object | Contents of gziped OUI DataFile, raw +file_name = 'file_name_example' # str | file name that is being uploaded + +try: + # Upload the gziped OUI DataFile, in the format that is published by IEEE. Latest sanitized IEEE OUI data file (oui.txt.gz) can be obtained from https://linuxnet.ca/ieee/oui/ + api_response = api_instance.upload_oui_data_file(body, file_name) + pprint(api_response) +except ApiException as e: + print("Exception when calling ManufacturerOUIApi->upload_oui_data_file: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **Object**| Contents of gziped OUI DataFile, raw | + **file_name** | **str**| file name that is being uploaded | + +### Return type + +[**GenericResponse**](GenericResponse.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: application/octet-stream + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **upload_oui_data_file_base64** +> GenericResponse upload_oui_data_file_base64(body, file_name) + +Upload the gziped OUI DataFile using base64 encoding, in the format that is published by IEEE. Latest sanitized IEEE OUI data file (oui.txt.gz) can be obtained from https://linuxnet.ca/ieee/oui/ + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.ManufacturerOUIApi(swagger_client.ApiClient(configuration)) +body = 'body_example' # str | Contents of gziped OUI DataFile, base64-encoded +file_name = 'file_name_example' # str | file name that is being uploaded + +try: + # Upload the gziped OUI DataFile using base64 encoding, in the format that is published by IEEE. Latest sanitized IEEE OUI data file (oui.txt.gz) can be obtained from https://linuxnet.ca/ieee/oui/ + api_response = api_instance.upload_oui_data_file_base64(body, file_name) + pprint(api_response) +except ApiException as e: + print("Exception when calling ManufacturerOUIApi->upload_oui_data_file_base64: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**str**](str.md)| Contents of gziped OUI DataFile, base64-encoded | + **file_name** | **str**| file name that is being uploaded | + +### Return type + +[**GenericResponse**](GenericResponse.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: application/octet-stream + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ManufacturerOuiDetails.md b/libs/cloudapi/cloudsdk/docs/ManufacturerOuiDetails.md new file mode 100644 index 000000000..2fe570dc3 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ManufacturerOuiDetails.md @@ -0,0 +1,11 @@ +# ManufacturerOuiDetails + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**oui** | **str** | first 3 bytes of MAC address, expressed as a string like '1a2b3c' | [optional] +**manufacturer_name** | **str** | | [optional] +**manufacturer_alias** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ManufacturerOuiDetailsPerOuiMap.md b/libs/cloudapi/cloudsdk/docs/ManufacturerOuiDetailsPerOuiMap.md new file mode 100644 index 000000000..cecee8717 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ManufacturerOuiDetailsPerOuiMap.md @@ -0,0 +1,8 @@ +# ManufacturerOuiDetailsPerOuiMap + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/MapOfWmmQueueStatsPerRadioMap.md b/libs/cloudapi/cloudsdk/docs/MapOfWmmQueueStatsPerRadioMap.md new file mode 100644 index 000000000..02b2d7ab4 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/MapOfWmmQueueStatsPerRadioMap.md @@ -0,0 +1,12 @@ +# MapOfWmmQueueStatsPerRadioMap + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**is5_g_hz** | [**WmmQueueStatsPerQueueTypeMap**](WmmQueueStatsPerQueueTypeMap.md) | | [optional] +**is5_g_hz_u** | [**WmmQueueStatsPerQueueTypeMap**](WmmQueueStatsPerQueueTypeMap.md) | | [optional] +**is5_g_hz_l** | [**WmmQueueStatsPerQueueTypeMap**](WmmQueueStatsPerQueueTypeMap.md) | | [optional] +**is2dot4_g_hz** | [**WmmQueueStatsPerQueueTypeMap**](WmmQueueStatsPerQueueTypeMap.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/McsStats.md b/libs/cloudapi/cloudsdk/docs/McsStats.md new file mode 100644 index 000000000..379736de7 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/McsStats.md @@ -0,0 +1,12 @@ +# McsStats + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**mcs_num** | [**McsType**](McsType.md) | | [optional] +**tx_frames** | **int** | The number of successfully transmitted frames at this rate. Do not count failed transmission. | [optional] +**rx_frames** | **int** | The number of received frames at this rate. | [optional] +**rate** | **int** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/McsType.md b/libs/cloudapi/cloudsdk/docs/McsType.md new file mode 100644 index 000000000..720a9cee4 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/McsType.md @@ -0,0 +1,8 @@ +# McsType + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/MeshGroup.md b/libs/cloudapi/cloudsdk/docs/MeshGroup.md new file mode 100644 index 000000000..f934cf066 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/MeshGroup.md @@ -0,0 +1,11 @@ +# MeshGroup + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | [optional] +**_property** | [**MeshGroupProperty**](MeshGroupProperty.md) | | [optional] +**members** | [**list[MeshGroupMember]**](MeshGroupMember.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/MeshGroupMember.md b/libs/cloudapi/cloudsdk/docs/MeshGroupMember.md new file mode 100644 index 000000000..cbb815241 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/MeshGroupMember.md @@ -0,0 +1,12 @@ +# MeshGroupMember + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**mash_mode** | [**ApMeshMode**](ApMeshMode.md) | | [optional] +**equipment_id** | **int** | | [optional] +**created_timestamp** | **int** | | [optional] +**last_modified_timestamp** | **int** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/MeshGroupProperty.md b/libs/cloudapi/cloudsdk/docs/MeshGroupProperty.md new file mode 100644 index 000000000..c4940f982 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/MeshGroupProperty.md @@ -0,0 +1,11 @@ +# MeshGroupProperty + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **str** | | [optional] +**location_id** | **int** | | [optional] +**ethernet_protection** | **bool** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/MetricConfigParameterMap.md b/libs/cloudapi/cloudsdk/docs/MetricConfigParameterMap.md new file mode 100644 index 000000000..e48d3dae9 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/MetricConfigParameterMap.md @@ -0,0 +1,15 @@ +# MetricConfigParameterMap + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ap_node** | [**ServiceMetricSurveyConfigParameters**](ServiceMetricSurveyConfigParameters.md) | | [optional] +**ap_ssid** | [**ServiceMetricRadioConfigParameters**](ServiceMetricRadioConfigParameters.md) | | [optional] +**client** | [**ServiceMetricRadioConfigParameters**](ServiceMetricRadioConfigParameters.md) | | [optional] +**channel** | [**ServiceMetricSurveyConfigParameters**](ServiceMetricSurveyConfigParameters.md) | | [optional] +**neighbour** | [**ServiceMetricSurveyConfigParameters**](ServiceMetricSurveyConfigParameters.md) | | [optional] +**qo_e** | [**ServiceMetricConfigParameters**](ServiceMetricConfigParameters.md) | | [optional] +**client_qo_e** | [**ServiceMetricConfigParameters**](ServiceMetricConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/MimoMode.md b/libs/cloudapi/cloudsdk/docs/MimoMode.md new file mode 100644 index 000000000..1535a28bc --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/MimoMode.md @@ -0,0 +1,8 @@ +# MimoMode + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/MinMaxAvgValueInt.md b/libs/cloudapi/cloudsdk/docs/MinMaxAvgValueInt.md new file mode 100644 index 000000000..bcfead25e --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/MinMaxAvgValueInt.md @@ -0,0 +1,11 @@ +# MinMaxAvgValueInt + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**min_value** | **int** | | [optional] +**max_value** | **int** | | [optional] +**avg_value** | **int** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/MinMaxAvgValueIntPerRadioMap.md b/libs/cloudapi/cloudsdk/docs/MinMaxAvgValueIntPerRadioMap.md new file mode 100644 index 000000000..a712e4b7c --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/MinMaxAvgValueIntPerRadioMap.md @@ -0,0 +1,12 @@ +# MinMaxAvgValueIntPerRadioMap + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**is5_g_hz** | [**MinMaxAvgValueInt**](MinMaxAvgValueInt.md) | | [optional] +**is5_g_hz_u** | [**MinMaxAvgValueInt**](MinMaxAvgValueInt.md) | | [optional] +**is5_g_hz_l** | [**MinMaxAvgValueInt**](MinMaxAvgValueInt.md) | | [optional] +**is2dot4_g_hz** | [**MinMaxAvgValueInt**](MinMaxAvgValueInt.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/MulticastRate.md b/libs/cloudapi/cloudsdk/docs/MulticastRate.md new file mode 100644 index 000000000..5e8118dd9 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/MulticastRate.md @@ -0,0 +1,8 @@ +# MulticastRate + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/NeighborScanPacketType.md b/libs/cloudapi/cloudsdk/docs/NeighborScanPacketType.md new file mode 100644 index 000000000..c0c24f371 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/NeighborScanPacketType.md @@ -0,0 +1,8 @@ +# NeighborScanPacketType + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/NeighbourReport.md b/libs/cloudapi/cloudsdk/docs/NeighbourReport.md new file mode 100644 index 000000000..e250234a3 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/NeighbourReport.md @@ -0,0 +1,24 @@ +# NeighbourReport + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**mac_address** | [**MacAddress**](MacAddress.md) | | [optional] +**ssid** | **str** | | [optional] +**beacon_interval** | **int** | | [optional] +**network_type** | [**NetworkType**](NetworkType.md) | | [optional] +**privacy** | **bool** | | [optional] +**radio_type_radio_type** | [**RadioType**](RadioType.md) | | [optional] +**channel** | **int** | | [optional] +**rate** | **int** | | [optional] +**rssi** | **int** | | [optional] +**signal** | **int** | | [optional] +**scan_time_in_seconds** | **int** | | [optional] +**n_mode** | **bool** | | [optional] +**ac_mode** | **bool** | | [optional] +**b_mode** | **bool** | | [optional] +**packet_type** | [**NeighborScanPacketType**](NeighborScanPacketType.md) | | [optional] +**secure_mode** | [**DetectedAuthMode**](DetectedAuthMode.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/NeighbourScanReports.md b/libs/cloudapi/cloudsdk/docs/NeighbourScanReports.md new file mode 100644 index 000000000..178cb044d --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/NeighbourScanReports.md @@ -0,0 +1,10 @@ +# NeighbourScanReports + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**neighbour_reports** | [**list[NeighbourReport]**](NeighbourReport.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/NeighbouringAPListConfiguration.md b/libs/cloudapi/cloudsdk/docs/NeighbouringAPListConfiguration.md new file mode 100644 index 000000000..721d610e1 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/NeighbouringAPListConfiguration.md @@ -0,0 +1,10 @@ +# NeighbouringAPListConfiguration + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**min_signal** | **int** | | [optional] +**max_aps** | **int** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/NetworkAdminStatusData.md b/libs/cloudapi/cloudsdk/docs/NetworkAdminStatusData.md new file mode 100644 index 000000000..4d124be71 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/NetworkAdminStatusData.md @@ -0,0 +1,16 @@ +# NetworkAdminStatusData + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**status_data_type** | **str** | | [optional] +**dhcp_status** | [**StatusCode**](StatusCode.md) | | [optional] +**dns_status** | [**StatusCode**](StatusCode.md) | | [optional] +**cloud_link_status** | [**StatusCode**](StatusCode.md) | | [optional] +**radius_status** | [**StatusCode**](StatusCode.md) | | [optional] +**average_coverage_per_radio** | [**IntegerPerRadioTypeMap**](IntegerPerRadioTypeMap.md) | | [optional] +**equipment_counts_by_severity** | [**IntegerStatusCodeMap**](IntegerStatusCodeMap.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/NetworkAggregateStatusData.md b/libs/cloudapi/cloudsdk/docs/NetworkAggregateStatusData.md new file mode 100644 index 000000000..caa01c456 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/NetworkAggregateStatusData.md @@ -0,0 +1,32 @@ +# NetworkAggregateStatusData + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**status_data_type** | **str** | | [optional] +**dhcp_details** | [**CommonProbeDetails**](CommonProbeDetails.md) | | [optional] +**dns_details** | [**CommonProbeDetails**](CommonProbeDetails.md) | | [optional] +**cloud_link_details** | [**CommonProbeDetails**](CommonProbeDetails.md) | | [optional] +**noise_floor_details** | [**NoiseFloorDetails**](NoiseFloorDetails.md) | | [optional] +**channel_utilization_details** | [**ChannelUtilizationDetails**](ChannelUtilizationDetails.md) | | [optional] +**radio_utilization_details** | [**RadioUtilizationDetails**](RadioUtilizationDetails.md) | | [optional] +**user_details** | [**UserDetails**](UserDetails.md) | | [optional] +**traffic_details** | [**TrafficDetails**](TrafficDetails.md) | | [optional] +**radius_details** | [**RadiusDetails**](RadiusDetails.md) | | [optional] +**equipment_performance_details** | [**EquipmentPerformanceDetails**](EquipmentPerformanceDetails.md) | | [optional] +**capacity_details** | [**CapacityDetails**](CapacityDetails.md) | | [optional] +**number_of_reporting_equipment** | **int** | | [optional] +**number_of_total_equipment** | **int** | | [optional] +**begin_generation_ts_ms** | **int** | | [optional] +**end_generation_ts_ms** | **int** | | [optional] +**begin_aggregation_ts_ms** | **int** | | [optional] +**end_aggregation_ts_ms** | **int** | | [optional] +**num_metrics_aggregated** | **int** | | [optional] +**coverage** | **int** | | [optional] +**behavior** | **int** | | [optional] +**handoff** | **int** | | [optional] +**wlan_latency** | **int** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/NetworkForwardMode.md b/libs/cloudapi/cloudsdk/docs/NetworkForwardMode.md new file mode 100644 index 000000000..0de47f727 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/NetworkForwardMode.md @@ -0,0 +1,8 @@ +# NetworkForwardMode + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/NetworkProbeMetrics.md b/libs/cloudapi/cloudsdk/docs/NetworkProbeMetrics.md new file mode 100644 index 000000000..0da0e7469 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/NetworkProbeMetrics.md @@ -0,0 +1,16 @@ +# NetworkProbeMetrics + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**vlan_if** | **str** | | [optional] +**dhcp_state** | [**StateUpDownError**](StateUpDownError.md) | | [optional] +**dhcp_latency_ms** | **int** | | [optional] +**dns_state** | [**StateUpDownError**](StateUpDownError.md) | | [optional] +**dns_latency_ms** | **int** | | [optional] +**radius_state** | [**StateUpDownError**](StateUpDownError.md) | | [optional] +**radius_latency_ms** | **int** | | [optional] +**dns_probe_results** | [**list[DnsProbeMetric]**](DnsProbeMetric.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/NetworkType.md b/libs/cloudapi/cloudsdk/docs/NetworkType.md new file mode 100644 index 000000000..80bd44289 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/NetworkType.md @@ -0,0 +1,8 @@ +# NetworkType + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/NoiseFloorDetails.md b/libs/cloudapi/cloudsdk/docs/NoiseFloorDetails.md new file mode 100644 index 000000000..79cf4c6c2 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/NoiseFloorDetails.md @@ -0,0 +1,10 @@ +# NoiseFloorDetails + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**per_radio_details** | [**NoiseFloorPerRadioDetailsMap**](NoiseFloorPerRadioDetailsMap.md) | | [optional] +**indicator_value** | **int** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/NoiseFloorPerRadioDetails.md b/libs/cloudapi/cloudsdk/docs/NoiseFloorPerRadioDetails.md new file mode 100644 index 000000000..ca58b9c50 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/NoiseFloorPerRadioDetails.md @@ -0,0 +1,12 @@ +# NoiseFloorPerRadioDetails + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**noise_floor** | [**MinMaxAvgValueInt**](MinMaxAvgValueInt.md) | | [optional] +**num_good_equipment** | **int** | | [optional] +**num_warn_equipment** | **int** | | [optional] +**num_bad_equipment** | **int** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/NoiseFloorPerRadioDetailsMap.md b/libs/cloudapi/cloudsdk/docs/NoiseFloorPerRadioDetailsMap.md new file mode 100644 index 000000000..af831b6c2 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/NoiseFloorPerRadioDetailsMap.md @@ -0,0 +1,12 @@ +# NoiseFloorPerRadioDetailsMap + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**is5_g_hz** | [**NoiseFloorPerRadioDetails**](NoiseFloorPerRadioDetails.md) | | [optional] +**is5_g_hz_u** | [**NoiseFloorPerRadioDetails**](NoiseFloorPerRadioDetails.md) | | [optional] +**is5_g_hz_l** | [**NoiseFloorPerRadioDetails**](NoiseFloorPerRadioDetails.md) | | [optional] +**is2dot4_g_hz** | [**NoiseFloorPerRadioDetails**](NoiseFloorPerRadioDetails.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ObssHopMode.md b/libs/cloudapi/cloudsdk/docs/ObssHopMode.md new file mode 100644 index 000000000..fffac8c5a --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ObssHopMode.md @@ -0,0 +1,8 @@ +# ObssHopMode + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/OneOfEquipmentDetails.md b/libs/cloudapi/cloudsdk/docs/OneOfEquipmentDetails.md new file mode 100644 index 000000000..e400e571a --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/OneOfEquipmentDetails.md @@ -0,0 +1,8 @@ +# OneOfEquipmentDetails + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/OneOfFirmwareScheduleSetting.md b/libs/cloudapi/cloudsdk/docs/OneOfFirmwareScheduleSetting.md new file mode 100644 index 000000000..0a6b5efd7 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/OneOfFirmwareScheduleSetting.md @@ -0,0 +1,8 @@ +# OneOfFirmwareScheduleSetting + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/OneOfProfileDetailsChildren.md b/libs/cloudapi/cloudsdk/docs/OneOfProfileDetailsChildren.md new file mode 100644 index 000000000..24f6bc62a --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/OneOfProfileDetailsChildren.md @@ -0,0 +1,8 @@ +# OneOfProfileDetailsChildren + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/OneOfScheduleSetting.md b/libs/cloudapi/cloudsdk/docs/OneOfScheduleSetting.md new file mode 100644 index 000000000..d3c7cc965 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/OneOfScheduleSetting.md @@ -0,0 +1,8 @@ +# OneOfScheduleSetting + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/OneOfServiceMetricDetails.md b/libs/cloudapi/cloudsdk/docs/OneOfServiceMetricDetails.md new file mode 100644 index 000000000..a0d3edede --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/OneOfServiceMetricDetails.md @@ -0,0 +1,8 @@ +# OneOfServiceMetricDetails + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/OneOfStatusDetails.md b/libs/cloudapi/cloudsdk/docs/OneOfStatusDetails.md new file mode 100644 index 000000000..5589722df --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/OneOfStatusDetails.md @@ -0,0 +1,8 @@ +# OneOfStatusDetails + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/OneOfSystemEvent.md b/libs/cloudapi/cloudsdk/docs/OneOfSystemEvent.md new file mode 100644 index 000000000..d56d770b9 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/OneOfSystemEvent.md @@ -0,0 +1,8 @@ +# OneOfSystemEvent + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/OperatingSystemPerformance.md b/libs/cloudapi/cloudsdk/docs/OperatingSystemPerformance.md new file mode 100644 index 000000000..46f916bd5 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/OperatingSystemPerformance.md @@ -0,0 +1,17 @@ +# OperatingSystemPerformance + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**status_data_type** | **str** | | [optional] +**num_cami_crashes** | **int** | | [optional] +**uptime_in_seconds** | **int** | | [optional] +**avg_cpu_utilization** | **float** | | [optional] +**avg_cpu_per_core** | **list[float]** | | [optional] +**avg_free_memory_kb** | **int** | | [optional] +**total_available_memory_kb** | **int** | | [optional] +**avg_cpu_temperature** | **float** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/OriginatorType.md b/libs/cloudapi/cloudsdk/docs/OriginatorType.md new file mode 100644 index 000000000..33abf55b8 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/OriginatorType.md @@ -0,0 +1,8 @@ +# OriginatorType + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/PaginationContextAlarm.md b/libs/cloudapi/cloudsdk/docs/PaginationContextAlarm.md new file mode 100644 index 000000000..9adca6d3c --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/PaginationContextAlarm.md @@ -0,0 +1,14 @@ +# PaginationContextAlarm + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | [optional] +**max_items_per_page** | **int** | | [default to 20] +**last_returned_page_number** | **int** | | [optional] +**total_items_returned** | **int** | | [optional] +**last_page** | **bool** | | [optional] +**cursor** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/PaginationContextClient.md b/libs/cloudapi/cloudsdk/docs/PaginationContextClient.md new file mode 100644 index 000000000..b94a1baaa --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/PaginationContextClient.md @@ -0,0 +1,14 @@ +# PaginationContextClient + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | [optional] +**max_items_per_page** | **int** | | [default to 20] +**last_returned_page_number** | **int** | | [optional] +**total_items_returned** | **int** | | [optional] +**last_page** | **bool** | | [optional] +**cursor** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/PaginationContextClientSession.md b/libs/cloudapi/cloudsdk/docs/PaginationContextClientSession.md new file mode 100644 index 000000000..69b96c6eb --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/PaginationContextClientSession.md @@ -0,0 +1,14 @@ +# PaginationContextClientSession + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | [optional] +**max_items_per_page** | **int** | | [default to 20] +**last_returned_page_number** | **int** | | [optional] +**total_items_returned** | **int** | | [optional] +**last_page** | **bool** | | [optional] +**cursor** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/PaginationContextEquipment.md b/libs/cloudapi/cloudsdk/docs/PaginationContextEquipment.md new file mode 100644 index 000000000..f2b6b521c --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/PaginationContextEquipment.md @@ -0,0 +1,14 @@ +# PaginationContextEquipment + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | [optional] +**max_items_per_page** | **int** | | [default to 20] +**last_returned_page_number** | **int** | | [optional] +**total_items_returned** | **int** | | [optional] +**last_page** | **bool** | | [optional] +**cursor** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/PaginationContextLocation.md b/libs/cloudapi/cloudsdk/docs/PaginationContextLocation.md new file mode 100644 index 000000000..f2d1b9201 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/PaginationContextLocation.md @@ -0,0 +1,14 @@ +# PaginationContextLocation + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | [optional] +**max_items_per_page** | **int** | | [default to 20] +**last_returned_page_number** | **int** | | [optional] +**total_items_returned** | **int** | | [optional] +**last_page** | **bool** | | [optional] +**cursor** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/PaginationContextPortalUser.md b/libs/cloudapi/cloudsdk/docs/PaginationContextPortalUser.md new file mode 100644 index 000000000..3909e9102 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/PaginationContextPortalUser.md @@ -0,0 +1,14 @@ +# PaginationContextPortalUser + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | [optional] +**max_items_per_page** | **int** | | [default to 20] +**last_returned_page_number** | **int** | | [optional] +**total_items_returned** | **int** | | [optional] +**last_page** | **bool** | | [optional] +**cursor** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/PaginationContextProfile.md b/libs/cloudapi/cloudsdk/docs/PaginationContextProfile.md new file mode 100644 index 000000000..1ed8948c1 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/PaginationContextProfile.md @@ -0,0 +1,14 @@ +# PaginationContextProfile + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | [optional] +**max_items_per_page** | **int** | | [default to 20] +**last_returned_page_number** | **int** | | [optional] +**total_items_returned** | **int** | | [optional] +**last_page** | **bool** | | [optional] +**cursor** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/PaginationContextServiceMetric.md b/libs/cloudapi/cloudsdk/docs/PaginationContextServiceMetric.md new file mode 100644 index 000000000..9dbde3cde --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/PaginationContextServiceMetric.md @@ -0,0 +1,14 @@ +# PaginationContextServiceMetric + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | [optional] +**max_items_per_page** | **int** | | [default to 20] +**last_returned_page_number** | **int** | | [optional] +**total_items_returned** | **int** | | [optional] +**last_page** | **bool** | | [optional] +**cursor** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/PaginationContextStatus.md b/libs/cloudapi/cloudsdk/docs/PaginationContextStatus.md new file mode 100644 index 000000000..a4816f730 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/PaginationContextStatus.md @@ -0,0 +1,14 @@ +# PaginationContextStatus + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | [optional] +**max_items_per_page** | **int** | | [default to 20] +**last_returned_page_number** | **int** | | [optional] +**total_items_returned** | **int** | | [optional] +**last_page** | **bool** | | [optional] +**cursor** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/PaginationContextSystemEvent.md b/libs/cloudapi/cloudsdk/docs/PaginationContextSystemEvent.md new file mode 100644 index 000000000..252fd968b --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/PaginationContextSystemEvent.md @@ -0,0 +1,14 @@ +# PaginationContextSystemEvent + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | [optional] +**max_items_per_page** | **int** | | [default to 20] +**last_returned_page_number** | **int** | | [optional] +**total_items_returned** | **int** | | [optional] +**last_page** | **bool** | | [optional] +**cursor** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/PaginationResponseAlarm.md b/libs/cloudapi/cloudsdk/docs/PaginationResponseAlarm.md new file mode 100644 index 000000000..cc554b4d1 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/PaginationResponseAlarm.md @@ -0,0 +1,10 @@ +# PaginationResponseAlarm + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**items** | [**list[Alarm]**](Alarm.md) | | [optional] +**context** | [**PaginationContextAlarm**](PaginationContextAlarm.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/PaginationResponseClient.md b/libs/cloudapi/cloudsdk/docs/PaginationResponseClient.md new file mode 100644 index 000000000..73afc24cb --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/PaginationResponseClient.md @@ -0,0 +1,10 @@ +# PaginationResponseClient + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**items** | [**list[Client]**](Client.md) | | [optional] +**context** | [**PaginationContextClient**](PaginationContextClient.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/PaginationResponseClientSession.md b/libs/cloudapi/cloudsdk/docs/PaginationResponseClientSession.md new file mode 100644 index 000000000..78c4962d3 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/PaginationResponseClientSession.md @@ -0,0 +1,10 @@ +# PaginationResponseClientSession + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**items** | [**list[ClientSession]**](ClientSession.md) | | [optional] +**context** | [**PaginationContextClientSession**](PaginationContextClientSession.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/PaginationResponseEquipment.md b/libs/cloudapi/cloudsdk/docs/PaginationResponseEquipment.md new file mode 100644 index 000000000..f81056802 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/PaginationResponseEquipment.md @@ -0,0 +1,10 @@ +# PaginationResponseEquipment + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**items** | [**list[Equipment]**](Equipment.md) | | [optional] +**context** | [**PaginationContextEquipment**](PaginationContextEquipment.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/PaginationResponseLocation.md b/libs/cloudapi/cloudsdk/docs/PaginationResponseLocation.md new file mode 100644 index 000000000..e18726737 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/PaginationResponseLocation.md @@ -0,0 +1,10 @@ +# PaginationResponseLocation + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**items** | [**list[Location]**](Location.md) | | [optional] +**context** | [**PaginationContextLocation**](PaginationContextLocation.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/PaginationResponsePortalUser.md b/libs/cloudapi/cloudsdk/docs/PaginationResponsePortalUser.md new file mode 100644 index 000000000..e210c2cc1 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/PaginationResponsePortalUser.md @@ -0,0 +1,10 @@ +# PaginationResponsePortalUser + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**items** | [**list[PortalUser]**](PortalUser.md) | | [optional] +**context** | [**PaginationContextPortalUser**](PaginationContextPortalUser.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/PaginationResponseProfile.md b/libs/cloudapi/cloudsdk/docs/PaginationResponseProfile.md new file mode 100644 index 000000000..5b66efba2 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/PaginationResponseProfile.md @@ -0,0 +1,10 @@ +# PaginationResponseProfile + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**items** | [**list[Profile]**](Profile.md) | | [optional] +**context** | [**PaginationContextProfile**](PaginationContextProfile.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/PaginationResponseServiceMetric.md b/libs/cloudapi/cloudsdk/docs/PaginationResponseServiceMetric.md new file mode 100644 index 000000000..b7f3acdfa --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/PaginationResponseServiceMetric.md @@ -0,0 +1,10 @@ +# PaginationResponseServiceMetric + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**items** | [**list[ServiceMetric]**](ServiceMetric.md) | | [optional] +**context** | [**PaginationContextServiceMetric**](PaginationContextServiceMetric.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/PaginationResponseStatus.md b/libs/cloudapi/cloudsdk/docs/PaginationResponseStatus.md new file mode 100644 index 000000000..ccc305080 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/PaginationResponseStatus.md @@ -0,0 +1,10 @@ +# PaginationResponseStatus + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**items** | [**list[Status]**](Status.md) | | [optional] +**context** | [**PaginationContextStatus**](PaginationContextStatus.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/PaginationResponseSystemEvent.md b/libs/cloudapi/cloudsdk/docs/PaginationResponseSystemEvent.md new file mode 100644 index 000000000..a33c24c7c --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/PaginationResponseSystemEvent.md @@ -0,0 +1,10 @@ +# PaginationResponseSystemEvent + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**items** | [**list[SystemEventRecord]**](SystemEventRecord.md) | | [optional] +**context** | [**PaginationContextSystemEvent**](PaginationContextSystemEvent.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/PairLongLong.md b/libs/cloudapi/cloudsdk/docs/PairLongLong.md new file mode 100644 index 000000000..b0389f490 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/PairLongLong.md @@ -0,0 +1,10 @@ +# PairLongLong + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**value1** | **int** | | [optional] +**value2** | **int** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/PasspointAccessNetworkType.md b/libs/cloudapi/cloudsdk/docs/PasspointAccessNetworkType.md new file mode 100644 index 000000000..6bb68f45b --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/PasspointAccessNetworkType.md @@ -0,0 +1,8 @@ +# PasspointAccessNetworkType + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/PasspointConnectionCapabilitiesIpProtocol.md b/libs/cloudapi/cloudsdk/docs/PasspointConnectionCapabilitiesIpProtocol.md new file mode 100644 index 000000000..68ec6718c --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/PasspointConnectionCapabilitiesIpProtocol.md @@ -0,0 +1,8 @@ +# PasspointConnectionCapabilitiesIpProtocol + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/PasspointConnectionCapabilitiesStatus.md b/libs/cloudapi/cloudsdk/docs/PasspointConnectionCapabilitiesStatus.md new file mode 100644 index 000000000..719c71bb4 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/PasspointConnectionCapabilitiesStatus.md @@ -0,0 +1,8 @@ +# PasspointConnectionCapabilitiesStatus + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/PasspointConnectionCapability.md b/libs/cloudapi/cloudsdk/docs/PasspointConnectionCapability.md new file mode 100644 index 000000000..63310d8db --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/PasspointConnectionCapability.md @@ -0,0 +1,11 @@ +# PasspointConnectionCapability + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**connection_capabilities_port_number** | **int** | | [optional] +**connection_capabilities_ip_protocol** | [**PasspointConnectionCapabilitiesIpProtocol**](PasspointConnectionCapabilitiesIpProtocol.md) | | [optional] +**connection_capabilities_status** | [**PasspointConnectionCapabilitiesStatus**](PasspointConnectionCapabilitiesStatus.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/PasspointDuple.md b/libs/cloudapi/cloudsdk/docs/PasspointDuple.md new file mode 100644 index 000000000..62ad66d30 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/PasspointDuple.md @@ -0,0 +1,12 @@ +# PasspointDuple + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**locale** | **str** | The locale for this duple. | [optional] +**duple_iso3_language** | **str** | 3 letter iso language representation based on locale | [optional] +**duple_name** | **str** | | [optional] +**default_duple_separator** | **str** | default separator between the values of a duple, by default it is a ':' | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/PasspointEapMethods.md b/libs/cloudapi/cloudsdk/docs/PasspointEapMethods.md new file mode 100644 index 000000000..a708b17aa --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/PasspointEapMethods.md @@ -0,0 +1,8 @@ +# PasspointEapMethods + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/PasspointGasAddress3Behaviour.md b/libs/cloudapi/cloudsdk/docs/PasspointGasAddress3Behaviour.md new file mode 100644 index 000000000..24f49e58d --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/PasspointGasAddress3Behaviour.md @@ -0,0 +1,8 @@ +# PasspointGasAddress3Behaviour + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/PasspointIPv4AddressType.md b/libs/cloudapi/cloudsdk/docs/PasspointIPv4AddressType.md new file mode 100644 index 000000000..6bb8c7f30 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/PasspointIPv4AddressType.md @@ -0,0 +1,8 @@ +# PasspointIPv4AddressType + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/PasspointIPv6AddressType.md b/libs/cloudapi/cloudsdk/docs/PasspointIPv6AddressType.md new file mode 100644 index 000000000..3c54b6af1 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/PasspointIPv6AddressType.md @@ -0,0 +1,8 @@ +# PasspointIPv6AddressType + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/PasspointMccMnc.md b/libs/cloudapi/cloudsdk/docs/PasspointMccMnc.md new file mode 100644 index 000000000..fc238a8e7 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/PasspointMccMnc.md @@ -0,0 +1,14 @@ +# PasspointMccMnc + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**mcc** | **int** | | [optional] +**mnc** | **int** | | [optional] +**iso** | **str** | | [optional] +**country** | **str** | | [optional] +**country_code** | **int** | | [optional] +**network** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/PasspointNaiRealmEapAuthInnerNonEap.md b/libs/cloudapi/cloudsdk/docs/PasspointNaiRealmEapAuthInnerNonEap.md new file mode 100644 index 000000000..f807b6ecd --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/PasspointNaiRealmEapAuthInnerNonEap.md @@ -0,0 +1,8 @@ +# PasspointNaiRealmEapAuthInnerNonEap + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/PasspointNaiRealmEapAuthParam.md b/libs/cloudapi/cloudsdk/docs/PasspointNaiRealmEapAuthParam.md new file mode 100644 index 000000000..6d6f5b54b --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/PasspointNaiRealmEapAuthParam.md @@ -0,0 +1,8 @@ +# PasspointNaiRealmEapAuthParam + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/PasspointNaiRealmEapCredType.md b/libs/cloudapi/cloudsdk/docs/PasspointNaiRealmEapCredType.md new file mode 100644 index 000000000..08ab79918 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/PasspointNaiRealmEapCredType.md @@ -0,0 +1,8 @@ +# PasspointNaiRealmEapCredType + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/PasspointNaiRealmEncoding.md b/libs/cloudapi/cloudsdk/docs/PasspointNaiRealmEncoding.md new file mode 100644 index 000000000..8d888a73d --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/PasspointNaiRealmEncoding.md @@ -0,0 +1,8 @@ +# PasspointNaiRealmEncoding + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/PasspointNaiRealmInformation.md b/libs/cloudapi/cloudsdk/docs/PasspointNaiRealmInformation.md new file mode 100644 index 000000000..229076fd6 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/PasspointNaiRealmInformation.md @@ -0,0 +1,12 @@ +# PasspointNaiRealmInformation + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**nai_realms** | **list[str]** | | [optional] +**encoding** | [**PasspointNaiRealmEncoding**](PasspointNaiRealmEncoding.md) | | [optional] +**eap_methods** | [**list[PasspointEapMethods]**](PasspointEapMethods.md) | array of EAP methods | [optional] +**eap_map** | **dict(str, str)** | map of string values comrised of 'param + credential' types, keyed by EAP methods | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/PasspointNetworkAuthenticationType.md b/libs/cloudapi/cloudsdk/docs/PasspointNetworkAuthenticationType.md new file mode 100644 index 000000000..7f48e8689 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/PasspointNetworkAuthenticationType.md @@ -0,0 +1,8 @@ +# PasspointNetworkAuthenticationType + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/PasspointOperatorProfile.md b/libs/cloudapi/cloudsdk/docs/PasspointOperatorProfile.md new file mode 100644 index 000000000..bea23cb7b --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/PasspointOperatorProfile.md @@ -0,0 +1,14 @@ +# PasspointOperatorProfile + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | [optional] +**server_only_authenticated_l2_encryption_network** | **bool** | OSEN | [optional] +**operator_friendly_name** | [**list[PasspointDuple]**](PasspointDuple.md) | | [optional] +**domain_name_list** | **list[str]** | | [optional] +**default_operator_friendly_name** | **str** | | [optional] +**default_operator_friendly_name_fr** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/PasspointOsuIcon.md b/libs/cloudapi/cloudsdk/docs/PasspointOsuIcon.md new file mode 100644 index 000000000..4cdd8169a --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/PasspointOsuIcon.md @@ -0,0 +1,16 @@ +# PasspointOsuIcon + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**icon_width** | **int** | | [optional] +**icon_height** | **int** | | [optional] +**language_code** | **str** | | [optional] +**icon_locale** | **str** | The primary locale for this Icon. | [optional] +**icon_name** | **str** | | [optional] +**file_path** | **str** | | [optional] +**image_url** | **str** | | [optional] +**icon_type** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/PasspointOsuProviderProfile.md b/libs/cloudapi/cloudsdk/docs/PasspointOsuProviderProfile.md new file mode 100644 index 000000000..ad5b124fc --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/PasspointOsuProviderProfile.md @@ -0,0 +1,22 @@ +# PasspointOsuProviderProfile + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | [optional] +**passpoint_mcc_mnc_list** | [**list[PasspointMccMnc]**](PasspointMccMnc.md) | | [optional] +**nai_realm_list** | [**list[PasspointNaiRealmInformation]**](PasspointNaiRealmInformation.md) | | [optional] +**passpoint_osu_icon_list** | [**list[PasspointOsuIcon]**](PasspointOsuIcon.md) | | [optional] +**osu_ssid** | **str** | | [optional] +**osu_server_uri** | **str** | | [optional] +**radius_profile_auth** | **str** | | [optional] +**radius_profile_accounting** | **str** | | [optional] +**osu_friendly_name** | [**list[PasspointDuple]**](PasspointDuple.md) | | [optional] +**osu_nai_standalone** | **str** | | [optional] +**osu_nai_shared** | **str** | | [optional] +**osu_method_list** | **int** | | [optional] +**osu_service_description** | [**list[PasspointDuple]**](PasspointDuple.md) | | [optional] +**roaming_oi** | **list[str]** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/PasspointProfile.md b/libs/cloudapi/cloudsdk/docs/PasspointProfile.md new file mode 100644 index 000000000..aee623b98 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/PasspointProfile.md @@ -0,0 +1,37 @@ +# PasspointProfile + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | [optional] +**enable_interworking_and_hs20** | **bool** | | [optional] +**additional_steps_required_for_access** | **int** | | [optional] +**deauth_request_timeout** | **int** | | [optional] +**operating_class** | **int** | | [optional] +**terms_and_conditions_file** | [**ManagedFileInfo**](ManagedFileInfo.md) | | [optional] +**whitelist_domain** | **str** | | [optional] +**emergency_services_reachable** | **bool** | | [optional] +**unauthenticated_emergency_service_accessible** | **bool** | | [optional] +**internet_connectivity** | **bool** | | [optional] +**ip_address_type_availability** | [**Object**](Object.md) | | [optional] +**qos_map_set_configuration** | **list[str]** | | [optional] +**hessid** | [**MacAddress**](MacAddress.md) | | [optional] +**ap_geospatial_location** | **str** | | [optional] +**ap_civic_location** | **str** | | [optional] +**anqp_domain_id** | **int** | | [optional] +**disable_downstream_group_addressed_forwarding** | **bool** | | [optional] +**enable2pt4_g_hz** | **bool** | | [optional] +**enable5_g_hz** | **bool** | | [optional] +**associated_access_ssid_profile_ids** | **list[int]** | | [optional] +**osu_ssid_profile_id** | **int** | | [optional] +**passpoint_operator_profile_id** | **int** | Profile Id of a PasspointOperatorProfile profile, must be also added to the children of this profile | [optional] +**passpoint_venue_profile_id** | **int** | Profile Id of a PasspointVenueProfile profile, must be also added to the children of this profile | [optional] +**passpoint_osu_provider_profile_ids** | **list[int]** | array containing Profile Ids of PasspointOsuProviderProfiles, must be also added to the children of this profile | [optional] +**ap_public_location_id_uri** | **str** | | [optional] +**access_network_type** | [**PasspointAccessNetworkType**](PasspointAccessNetworkType.md) | | [optional] +**network_authentication_type** | [**PasspointNetworkAuthenticationType**](PasspointNetworkAuthenticationType.md) | | [optional] +**connection_capability_set** | [**list[PasspointConnectionCapability]**](PasspointConnectionCapability.md) | | [optional] +**gas_addr3_behaviour** | [**PasspointGasAddress3Behaviour**](PasspointGasAddress3Behaviour.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/PasspointVenueName.md b/libs/cloudapi/cloudsdk/docs/PasspointVenueName.md new file mode 100644 index 000000000..d1f7f419f --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/PasspointVenueName.md @@ -0,0 +1,9 @@ +# PasspointVenueName + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**venue_url** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/PasspointVenueProfile.md b/libs/cloudapi/cloudsdk/docs/PasspointVenueProfile.md new file mode 100644 index 000000000..a34db3deb --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/PasspointVenueProfile.md @@ -0,0 +1,11 @@ +# PasspointVenueProfile + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | [optional] +**passpoint_venue_name_set** | [**list[PasspointVenueName]**](PasspointVenueName.md) | | [optional] +**passpoint_venue_type_assignment** | [**list[PasspointVenueTypeAssignment]**](PasspointVenueTypeAssignment.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/PasspointVenueTypeAssignment.md b/libs/cloudapi/cloudsdk/docs/PasspointVenueTypeAssignment.md new file mode 100644 index 000000000..4e6c7923c --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/PasspointVenueTypeAssignment.md @@ -0,0 +1,11 @@ +# PasspointVenueTypeAssignment + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**venue_description** | **str** | | [optional] +**venue_group_id** | **int** | | [optional] +**venue_type_id** | **int** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/PeerInfo.md b/libs/cloudapi/cloudsdk/docs/PeerInfo.md new file mode 100644 index 000000000..d6588dc41 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/PeerInfo.md @@ -0,0 +1,13 @@ +# PeerInfo + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**peer_mac** | **list[int]** | | [optional] +**peer_ip** | **str** | | [optional] +**tunnel** | [**TunnelIndicator**](TunnelIndicator.md) | | [optional] +**vlans** | **list[int]** | | [optional] +**radius_secret** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/PerProcessUtilization.md b/libs/cloudapi/cloudsdk/docs/PerProcessUtilization.md new file mode 100644 index 000000000..2f9505bb8 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/PerProcessUtilization.md @@ -0,0 +1,11 @@ +# PerProcessUtilization + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pid** | **int** | process id | [optional] +**cmd** | **str** | process name | [optional] +**util** | **int** | utilization, either as a percentage (i.e. for CPU) or in kB (for memory) | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/PingResponse.md b/libs/cloudapi/cloudsdk/docs/PingResponse.md new file mode 100644 index 000000000..9ce44470a --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/PingResponse.md @@ -0,0 +1,15 @@ +# PingResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**startup_time** | **int** | | [optional] +**current_time** | **int** | | [optional] +**application_name** | **str** | | [optional] +**host_name** | **str** | | [optional] +**commit_id** | **str** | | [optional] +**commit_date** | **str** | | [optional] +**project_version** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/PortalUser.md b/libs/cloudapi/cloudsdk/docs/PortalUser.md new file mode 100644 index 000000000..e30e1724b --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/PortalUser.md @@ -0,0 +1,15 @@ +# PortalUser + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **int** | | [optional] +**customer_id** | **int** | | [optional] +**username** | **str** | | [optional] +**password** | **str** | | [optional] +**roles** | [**list[PortalUserRole]**](PortalUserRole.md) | | [optional] +**created_timestamp** | **int** | | [optional] +**last_modified_timestamp** | **int** | must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/PortalUserAddedEvent.md b/libs/cloudapi/cloudsdk/docs/PortalUserAddedEvent.md new file mode 100644 index 000000000..c66134561 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/PortalUserAddedEvent.md @@ -0,0 +1,12 @@ +# PortalUserAddedEvent + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**event_timestamp** | **int** | | [optional] +**customer_id** | **int** | | [optional] +**payload** | [**PortalUser**](PortalUser.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/PortalUserChangedEvent.md b/libs/cloudapi/cloudsdk/docs/PortalUserChangedEvent.md new file mode 100644 index 000000000..d533eee60 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/PortalUserChangedEvent.md @@ -0,0 +1,12 @@ +# PortalUserChangedEvent + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**event_timestamp** | **int** | | [optional] +**customer_id** | **int** | | [optional] +**payload** | [**PortalUser**](PortalUser.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/PortalUserRemovedEvent.md b/libs/cloudapi/cloudsdk/docs/PortalUserRemovedEvent.md new file mode 100644 index 000000000..2a61d8160 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/PortalUserRemovedEvent.md @@ -0,0 +1,12 @@ +# PortalUserRemovedEvent + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**event_timestamp** | **int** | | [optional] +**customer_id** | **int** | | [optional] +**payload** | [**PortalUser**](PortalUser.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/PortalUserRole.md b/libs/cloudapi/cloudsdk/docs/PortalUserRole.md new file mode 100644 index 000000000..60dc94c93 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/PortalUserRole.md @@ -0,0 +1,8 @@ +# PortalUserRole + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/PortalUsersApi.md b/libs/cloudapi/cloudsdk/docs/PortalUsersApi.md new file mode 100644 index 000000000..58c2db3fa --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/PortalUsersApi.md @@ -0,0 +1,397 @@ +# swagger_client.PortalUsersApi + +All URIs are relative to *https://localhost:9091* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**create_portal_user**](PortalUsersApi.md#create_portal_user) | **POST** /portal/portalUser | Create new Portal User +[**delete_portal_user**](PortalUsersApi.md#delete_portal_user) | **DELETE** /portal/portalUser | Delete PortalUser +[**get_portal_user_by_id**](PortalUsersApi.md#get_portal_user_by_id) | **GET** /portal/portalUser | Get portal user By Id +[**get_portal_user_by_username**](PortalUsersApi.md#get_portal_user_by_username) | **GET** /portal/portalUser/byUsernameOrNull | Get portal user by user name +[**get_portal_users_by_customer_id**](PortalUsersApi.md#get_portal_users_by_customer_id) | **GET** /portal/portalUser/forCustomer | Get PortalUsers By customerId +[**get_portal_users_by_set_of_ids**](PortalUsersApi.md#get_portal_users_by_set_of_ids) | **GET** /portal/portalUser/inSet | Get PortalUsers By a set of ids +[**get_users_for_username**](PortalUsersApi.md#get_users_for_username) | **GET** /portal/portalUser/usersForUsername | Get Portal Users for username +[**update_portal_user**](PortalUsersApi.md#update_portal_user) | **PUT** /portal/portalUser | Update PortalUser + +# **create_portal_user** +> PortalUser create_portal_user(body) + +Create new Portal User + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.PortalUsersApi(swagger_client.ApiClient(configuration)) +body = swagger_client.PortalUser() # PortalUser | portal user info + +try: + # Create new Portal User + api_response = api_instance.create_portal_user(body) + pprint(api_response) +except ApiException as e: + print("Exception when calling PortalUsersApi->create_portal_user: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**PortalUser**](PortalUser.md)| portal user info | + +### Return type + +[**PortalUser**](PortalUser.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **delete_portal_user** +> PortalUser delete_portal_user(portal_user_id) + +Delete PortalUser + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.PortalUsersApi(swagger_client.ApiClient(configuration)) +portal_user_id = 789 # int | + +try: + # Delete PortalUser + api_response = api_instance.delete_portal_user(portal_user_id) + pprint(api_response) +except ApiException as e: + print("Exception when calling PortalUsersApi->delete_portal_user: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **portal_user_id** | **int**| | + +### Return type + +[**PortalUser**](PortalUser.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_portal_user_by_id** +> PortalUser get_portal_user_by_id(portal_user_id) + +Get portal user By Id + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.PortalUsersApi(swagger_client.ApiClient(configuration)) +portal_user_id = 789 # int | + +try: + # Get portal user By Id + api_response = api_instance.get_portal_user_by_id(portal_user_id) + pprint(api_response) +except ApiException as e: + print("Exception when calling PortalUsersApi->get_portal_user_by_id: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **portal_user_id** | **int**| | + +### Return type + +[**PortalUser**](PortalUser.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_portal_user_by_username** +> PortalUser get_portal_user_by_username(customer_id, username) + +Get portal user by user name + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.PortalUsersApi(swagger_client.ApiClient(configuration)) +customer_id = 56 # int | +username = 'username_example' # str | + +try: + # Get portal user by user name + api_response = api_instance.get_portal_user_by_username(customer_id, username) + pprint(api_response) +except ApiException as e: + print("Exception when calling PortalUsersApi->get_portal_user_by_username: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **customer_id** | **int**| | + **username** | **str**| | + +### Return type + +[**PortalUser**](PortalUser.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_portal_users_by_customer_id** +> PaginationResponsePortalUser get_portal_users_by_customer_id(customer_id, pagination_context, sort_by=sort_by) + +Get PortalUsers By customerId + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.PortalUsersApi(swagger_client.ApiClient(configuration)) +customer_id = 789 # int | customer id +pagination_context = swagger_client.PaginationContextPortalUser() # PaginationContextPortalUser | pagination context +sort_by = [swagger_client.SortColumnsPortalUser()] # list[SortColumnsPortalUser] | sort options (optional) + +try: + # Get PortalUsers By customerId + api_response = api_instance.get_portal_users_by_customer_id(customer_id, pagination_context, sort_by=sort_by) + pprint(api_response) +except ApiException as e: + print("Exception when calling PortalUsersApi->get_portal_users_by_customer_id: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **customer_id** | **int**| customer id | + **pagination_context** | [**PaginationContextPortalUser**](.md)| pagination context | + **sort_by** | [**list[SortColumnsPortalUser]**](SortColumnsPortalUser.md)| sort options | [optional] + +### Return type + +[**PaginationResponsePortalUser**](PaginationResponsePortalUser.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_portal_users_by_set_of_ids** +> list[PortalUser] get_portal_users_by_set_of_ids(portal_user_id_set) + +Get PortalUsers By a set of ids + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.PortalUsersApi(swagger_client.ApiClient(configuration)) +portal_user_id_set = [56] # list[int] | set of portalUser ids + +try: + # Get PortalUsers By a set of ids + api_response = api_instance.get_portal_users_by_set_of_ids(portal_user_id_set) + pprint(api_response) +except ApiException as e: + print("Exception when calling PortalUsersApi->get_portal_users_by_set_of_ids: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **portal_user_id_set** | [**list[int]**](int.md)| set of portalUser ids | + +### Return type + +[**list[PortalUser]**](PortalUser.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_users_for_username** +> list[PortalUser] get_users_for_username(username) + +Get Portal Users for username + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.PortalUsersApi(swagger_client.ApiClient(configuration)) +username = 'username_example' # str | + +try: + # Get Portal Users for username + api_response = api_instance.get_users_for_username(username) + pprint(api_response) +except ApiException as e: + print("Exception when calling PortalUsersApi->get_users_for_username: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **username** | **str**| | + +### Return type + +[**list[PortalUser]**](PortalUser.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **update_portal_user** +> PortalUser update_portal_user(body) + +Update PortalUser + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.PortalUsersApi(swagger_client.ApiClient(configuration)) +body = swagger_client.PortalUser() # PortalUser | PortalUser info + +try: + # Update PortalUser + api_response = api_instance.update_portal_user(body) + pprint(api_response) +except ApiException as e: + print("Exception when calling PortalUsersApi->update_portal_user: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**PortalUser**](PortalUser.md)| PortalUser info | + +### Return type + +[**PortalUser**](PortalUser.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/Profile.md b/libs/cloudapi/cloudsdk/docs/Profile.md new file mode 100644 index 000000000..dbe31962c --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/Profile.md @@ -0,0 +1,16 @@ +# Profile + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **int** | | [optional] +**profile_type** | [**ProfileType**](ProfileType.md) | | [optional] +**customer_id** | **int** | | [optional] +**name** | **str** | | [optional] +**child_profile_ids** | **list[int]** | | [optional] +**details** | [**ProfileDetailsChildren**](ProfileDetailsChildren.md) | | [optional] +**created_timestamp** | **int** | | [optional] +**last_modified_timestamp** | **int** | must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ProfileAddedEvent.md b/libs/cloudapi/cloudsdk/docs/ProfileAddedEvent.md new file mode 100644 index 000000000..e5db66d91 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ProfileAddedEvent.md @@ -0,0 +1,12 @@ +# ProfileAddedEvent + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**event_timestamp** | **int** | | [optional] +**customer_id** | **int** | | [optional] +**payload** | [**Profile**](Profile.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ProfileApi.md b/libs/cloudapi/cloudsdk/docs/ProfileApi.md new file mode 100644 index 000000000..f4672098a --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ProfileApi.md @@ -0,0 +1,399 @@ +# swagger_client.ProfileApi + +All URIs are relative to *https://localhost:9091* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**create_profile**](ProfileApi.md#create_profile) | **POST** /portal/profile | Create new Profile +[**delete_profile**](ProfileApi.md#delete_profile) | **DELETE** /portal/profile | Delete Profile +[**get_counts_of_equipment_that_use_profiles**](ProfileApi.md#get_counts_of_equipment_that_use_profiles) | **GET** /portal/profile/equipmentCounts | Get counts of equipment that use specified profiles +[**get_profile_by_id**](ProfileApi.md#get_profile_by_id) | **GET** /portal/profile | Get Profile By Id +[**get_profile_with_children**](ProfileApi.md#get_profile_with_children) | **GET** /portal/profile/withChildren | Get Profile and all its associated children +[**get_profiles_by_customer_id**](ProfileApi.md#get_profiles_by_customer_id) | **GET** /portal/profile/forCustomer | Get Profiles By customerId +[**get_profiles_by_set_of_ids**](ProfileApi.md#get_profiles_by_set_of_ids) | **GET** /portal/profile/inSet | Get Profiles By a set of ids +[**update_profile**](ProfileApi.md#update_profile) | **PUT** /portal/profile | Update Profile + +# **create_profile** +> Profile create_profile(body) + +Create new Profile + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.ProfileApi(swagger_client.ApiClient(configuration)) +body = swagger_client.Profile() # Profile | profile info + +try: + # Create new Profile + api_response = api_instance.create_profile(body) + pprint(api_response) +except ApiException as e: + print("Exception when calling ProfileApi->create_profile: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**Profile**](Profile.md)| profile info | + +### Return type + +[**Profile**](Profile.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **delete_profile** +> Profile delete_profile(profile_id) + +Delete Profile + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.ProfileApi(swagger_client.ApiClient(configuration)) +profile_id = 789 # int | profile id + +try: + # Delete Profile + api_response = api_instance.delete_profile(profile_id) + pprint(api_response) +except ApiException as e: + print("Exception when calling ProfileApi->delete_profile: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **profile_id** | **int**| profile id | + +### Return type + +[**Profile**](Profile.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_counts_of_equipment_that_use_profiles** +> list[PairLongLong] get_counts_of_equipment_that_use_profiles(profile_id_set) + +Get counts of equipment that use specified profiles + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.ProfileApi(swagger_client.ApiClient(configuration)) +profile_id_set = [56] # list[int] | set of profile ids + +try: + # Get counts of equipment that use specified profiles + api_response = api_instance.get_counts_of_equipment_that_use_profiles(profile_id_set) + pprint(api_response) +except ApiException as e: + print("Exception when calling ProfileApi->get_counts_of_equipment_that_use_profiles: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **profile_id_set** | [**list[int]**](int.md)| set of profile ids | + +### Return type + +[**list[PairLongLong]**](PairLongLong.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_profile_by_id** +> Profile get_profile_by_id(profile_id) + +Get Profile By Id + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.ProfileApi(swagger_client.ApiClient(configuration)) +profile_id = 789 # int | profile id + +try: + # Get Profile By Id + api_response = api_instance.get_profile_by_id(profile_id) + pprint(api_response) +except ApiException as e: + print("Exception when calling ProfileApi->get_profile_by_id: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **profile_id** | **int**| profile id | + +### Return type + +[**Profile**](Profile.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_profile_with_children** +> list[Profile] get_profile_with_children(profile_id) + +Get Profile and all its associated children + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.ProfileApi(swagger_client.ApiClient(configuration)) +profile_id = 789 # int | + +try: + # Get Profile and all its associated children + api_response = api_instance.get_profile_with_children(profile_id) + pprint(api_response) +except ApiException as e: + print("Exception when calling ProfileApi->get_profile_with_children: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **profile_id** | **int**| | + +### Return type + +[**list[Profile]**](Profile.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_profiles_by_customer_id** +> PaginationResponseProfile get_profiles_by_customer_id(customer_id, pagination_context, profile_type=profile_type, name_substring=name_substring, sort_by=sort_by) + +Get Profiles By customerId + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.ProfileApi(swagger_client.ApiClient(configuration)) +customer_id = 789 # int | customer id +pagination_context = swagger_client.PaginationContextProfile() # PaginationContextProfile | pagination context +profile_type = swagger_client.ProfileType() # ProfileType | profile type (optional) +name_substring = 'name_substring_example' # str | (optional) +sort_by = [swagger_client.SortColumnsProfile()] # list[SortColumnsProfile] | sort options (optional) + +try: + # Get Profiles By customerId + api_response = api_instance.get_profiles_by_customer_id(customer_id, pagination_context, profile_type=profile_type, name_substring=name_substring, sort_by=sort_by) + pprint(api_response) +except ApiException as e: + print("Exception when calling ProfileApi->get_profiles_by_customer_id: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **customer_id** | **int**| customer id | + **pagination_context** | [**PaginationContextProfile**](.md)| pagination context | + **profile_type** | [**ProfileType**](.md)| profile type | [optional] + **name_substring** | **str**| | [optional] + **sort_by** | [**list[SortColumnsProfile]**](SortColumnsProfile.md)| sort options | [optional] + +### Return type + +[**PaginationResponseProfile**](PaginationResponseProfile.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_profiles_by_set_of_ids** +> list[Profile] get_profiles_by_set_of_ids(profile_id_set) + +Get Profiles By a set of ids + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.ProfileApi(swagger_client.ApiClient(configuration)) +profile_id_set = [56] # list[int] | set of profile ids + +try: + # Get Profiles By a set of ids + api_response = api_instance.get_profiles_by_set_of_ids(profile_id_set) + pprint(api_response) +except ApiException as e: + print("Exception when calling ProfileApi->get_profiles_by_set_of_ids: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **profile_id_set** | [**list[int]**](int.md)| set of profile ids | + +### Return type + +[**list[Profile]**](Profile.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **update_profile** +> Profile update_profile(body) + +Update Profile + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.ProfileApi(swagger_client.ApiClient(configuration)) +body = swagger_client.Profile() # Profile | profile info + +try: + # Update Profile + api_response = api_instance.update_profile(body) + pprint(api_response) +except ApiException as e: + print("Exception when calling ProfileApi->update_profile: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**Profile**](Profile.md)| profile info | + +### Return type + +[**Profile**](Profile.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ProfileChangedEvent.md b/libs/cloudapi/cloudsdk/docs/ProfileChangedEvent.md new file mode 100644 index 000000000..94d94d168 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ProfileChangedEvent.md @@ -0,0 +1,12 @@ +# ProfileChangedEvent + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**event_timestamp** | **int** | | [optional] +**customer_id** | **int** | | [optional] +**payload** | [**Profile**](Profile.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ProfileDetails.md b/libs/cloudapi/cloudsdk/docs/ProfileDetails.md new file mode 100644 index 000000000..3d5528b53 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ProfileDetails.md @@ -0,0 +1,9 @@ +# ProfileDetails + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ProfileDetailsChildren.md b/libs/cloudapi/cloudsdk/docs/ProfileDetailsChildren.md new file mode 100644 index 000000000..7c1cf1b44 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ProfileDetailsChildren.md @@ -0,0 +1,8 @@ +# ProfileDetailsChildren + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ProfileRemovedEvent.md b/libs/cloudapi/cloudsdk/docs/ProfileRemovedEvent.md new file mode 100644 index 000000000..e44c16449 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ProfileRemovedEvent.md @@ -0,0 +1,12 @@ +# ProfileRemovedEvent + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**event_timestamp** | **int** | | [optional] +**customer_id** | **int** | | [optional] +**payload** | [**Profile**](Profile.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ProfileType.md b/libs/cloudapi/cloudsdk/docs/ProfileType.md new file mode 100644 index 000000000..d5a04c34d --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ProfileType.md @@ -0,0 +1,8 @@ +# ProfileType + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/RadioBasedSsidConfiguration.md b/libs/cloudapi/cloudsdk/docs/RadioBasedSsidConfiguration.md new file mode 100644 index 000000000..fc32a63b6 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/RadioBasedSsidConfiguration.md @@ -0,0 +1,11 @@ +# RadioBasedSsidConfiguration + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**enable80211r** | **bool** | | [optional] +**enable80211k** | **bool** | | [optional] +**enable80211v** | **bool** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/RadioBasedSsidConfigurationMap.md b/libs/cloudapi/cloudsdk/docs/RadioBasedSsidConfigurationMap.md new file mode 100644 index 000000000..a763d7527 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/RadioBasedSsidConfigurationMap.md @@ -0,0 +1,12 @@ +# RadioBasedSsidConfigurationMap + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**is5_g_hz** | [**RadioBasedSsidConfiguration**](RadioBasedSsidConfiguration.md) | | [optional] +**is5_g_hz_u** | [**RadioBasedSsidConfiguration**](RadioBasedSsidConfiguration.md) | | [optional] +**is5_g_hz_l** | [**RadioBasedSsidConfiguration**](RadioBasedSsidConfiguration.md) | | [optional] +**is2dot4_g_hz** | [**RadioBasedSsidConfiguration**](RadioBasedSsidConfiguration.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/RadioBestApSettings.md b/libs/cloudapi/cloudsdk/docs/RadioBestApSettings.md new file mode 100644 index 000000000..972f55365 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/RadioBestApSettings.md @@ -0,0 +1,11 @@ +# RadioBestApSettings + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ml_computed** | **bool** | | [optional] [default to True] +**drop_in_snr_percentage** | **int** | | [optional] [default to 10] +**min_load_factor** | **int** | | [optional] [default to 10] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/RadioChannelChangeSettings.md b/libs/cloudapi/cloudsdk/docs/RadioChannelChangeSettings.md new file mode 100644 index 000000000..51a1486e6 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/RadioChannelChangeSettings.md @@ -0,0 +1,10 @@ +# RadioChannelChangeSettings + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**primary_channel** | **dict(str, int)** | Settings for primary channels, keys by RadioType per supported frequency_band (is5GHz, is5GHzL, is5GHzU, is2dot4GHz) | [optional] +**backup_channel** | **dict(str, int)** | Settings for backup channels, keys by RadioType per supported frequency_band (is5GHz, is5GHzL, is5GHzU, is2dot4GHz) | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/RadioConfiguration.md b/libs/cloudapi/cloudsdk/docs/RadioConfiguration.md new file mode 100644 index 000000000..96b5adfaf --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/RadioConfiguration.md @@ -0,0 +1,19 @@ +# RadioConfiguration + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**radio_type** | [**RadioType**](RadioType.md) | | [optional] +**radio_admin_state** | [**StateSetting**](StateSetting.md) | | [optional] +**fragmentation_threshold_bytes** | **int** | | [optional] +**uapsd_state** | [**StateSetting**](StateSetting.md) | | [optional] +**station_isolation** | [**StateSetting**](StateSetting.md) | | [optional] +**multicast_rate** | [**SourceSelectionMulticast**](SourceSelectionMulticast.md) | | [optional] +**management_rate** | [**SourceSelectionManagement**](SourceSelectionManagement.md) | | [optional] +**best_ap_settings** | [**SourceSelectionSteering**](SourceSelectionSteering.md) | | [optional] +**legacy_bss_rate** | [**StateSetting**](StateSetting.md) | | [optional] +**dtim_period** | **int** | | [optional] +**deauth_attack_detection** | **bool** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/RadioMap.md b/libs/cloudapi/cloudsdk/docs/RadioMap.md new file mode 100644 index 000000000..091f3f93a --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/RadioMap.md @@ -0,0 +1,12 @@ +# RadioMap + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**is5_g_hz** | [**ElementRadioConfiguration**](ElementRadioConfiguration.md) | | [optional] +**is5_g_hz_u** | [**ElementRadioConfiguration**](ElementRadioConfiguration.md) | | [optional] +**is5_g_hz_l** | [**ElementRadioConfiguration**](ElementRadioConfiguration.md) | | [optional] +**is2dot4_g_hz** | [**ElementRadioConfiguration**](ElementRadioConfiguration.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/RadioMode.md b/libs/cloudapi/cloudsdk/docs/RadioMode.md new file mode 100644 index 000000000..1106d4140 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/RadioMode.md @@ -0,0 +1,8 @@ +# RadioMode + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/RadioProfileConfiguration.md b/libs/cloudapi/cloudsdk/docs/RadioProfileConfiguration.md new file mode 100644 index 000000000..19bdda93b --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/RadioProfileConfiguration.md @@ -0,0 +1,10 @@ +# RadioProfileConfiguration + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**best_ap_enabled** | **bool** | | [optional] +**best_ap_steer_type** | [**BestAPSteerType**](BestAPSteerType.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/RadioProfileConfigurationMap.md b/libs/cloudapi/cloudsdk/docs/RadioProfileConfigurationMap.md new file mode 100644 index 000000000..522682ba9 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/RadioProfileConfigurationMap.md @@ -0,0 +1,12 @@ +# RadioProfileConfigurationMap + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**is5_g_hz** | [**RadioProfileConfiguration**](RadioProfileConfiguration.md) | | [optional] +**is5_g_hz_u** | [**RadioProfileConfiguration**](RadioProfileConfiguration.md) | | [optional] +**is5_g_hz_l** | [**RadioProfileConfiguration**](RadioProfileConfiguration.md) | | [optional] +**is2dot4_g_hz** | [**RadioProfileConfiguration**](RadioProfileConfiguration.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/RadioStatistics.md b/libs/cloudapi/cloudsdk/docs/RadioStatistics.md new file mode 100644 index 000000000..e75ccf8b0 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/RadioStatistics.md @@ -0,0 +1,379 @@ +# RadioStatistics + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**num_radio_resets** | **int** | The number of radio resets | [optional] +**num_chan_changes** | **int** | The number of channel changes. | [optional] +**num_tx_power_changes** | **int** | The number of tx power changes. | [optional] +**num_radar_chan_changes** | **int** | The number of channel changes due to radar detections. | [optional] +**num_free_tx_buf** | **int** | The number of free TX buffers available. | [optional] +**eleven_g_protection** | **int** | 11g protection, 2.4GHz only. | [optional] +**num_scan_req** | **int** | The number of scanning requests. | [optional] +**num_scan_succ** | **int** | The number of scanning successes. | [optional] +**cur_eirp** | **int** | The Current EIRP. | [optional] +**actual_cell_size** | **list[int]** | Actuall Cell Size | [optional] +**cur_channel** | **int** | The current primary channel | [optional] +**cur_backup_channel** | **int** | The current backup channel | [optional] +**rx_last_rssi** | **int** | The RSSI of last frame received. | [optional] +**num_rx** | **int** | The number of received frames. | [optional] +**num_rx_no_fcs_err** | **int** | The number of received frames without FCS errors. | [optional] +**num_rx_fcs_err** | **int** | The number of received frames with FCS errors. | [optional] +**num_rx_data** | **int** | The number of received data frames. | [optional] +**num_rx_management** | **int** | The number of received management frames. | [optional] +**num_rx_control** | **int** | The number of received control frames. | [optional] +**rx_data_bytes** | **int** | The number of received data frames. | [optional] +**num_rx_rts** | **int** | The number of received RTS frames. | [optional] +**num_rx_cts** | **int** | The number of received CTS frames. | [optional] +**num_rx_ack** | **int** | The number of all received ACK frames (Acks + BlockAcks). | [optional] +**num_rx_beacon** | **int** | The number of received beacon frames. | [optional] +**num_rx_probe_req** | **int** | The number of received probe request frames. | [optional] +**num_rx_probe_resp** | **int** | The number of received probe response frames. | [optional] +**num_rx_retry** | **int** | The number of received retry frames. | [optional] +**num_rx_off_chan** | **int** | The number of frames received during off-channel scanning. | [optional] +**num_rx_dup** | **int** | The number of received duplicated frames. | [optional] +**num_rx_bc_mc** | **int** | The number of received Broadcast/Multicast frames. | [optional] +**num_rx_null_data** | **int** | The number of received null data frames. | [optional] +**num_rx_pspoll** | **int** | The number of received ps-poll frames | [optional] +**num_rx_err** | **int** | The number of received frames with errors. | [optional] +**num_rx_stbc** | **int** | The number of received STBC frames. | [optional] +**num_rx_ldpc** | **int** | The number of received LDPC frames. | [optional] +**num_rx_drop_runt** | **int** | The number of dropped rx frames, runt. | [optional] +**num_rx_drop_invalid_src_mac** | **int** | The number of dropped rx frames, invalid source MAC. | [optional] +**num_rx_drop_amsdu_no_rcv** | **int** | The number of dropped rx frames, AMSDU no receive. | [optional] +**num_rx_drop_eth_hdr_runt** | **int** | The number of dropped rx frames, Ethernet header runt. | [optional] +**num_rx_amsdu_deagg_seq** | **int** | The number of dropped rx frames, AMSDU deagg sequence. | [optional] +**num_rx_amsdu_deagg_itmd** | **int** | The number of dropped rx frames, AMSDU deagg intermediate. | [optional] +**num_rx_amsdu_deagg_last** | **int** | The number of dropped rx frames, AMSDU deagg last. | [optional] +**num_rx_drop_no_fc_field** | **int** | The number of dropped rx frames, no frame control field. | [optional] +**num_rx_drop_bad_protocol** | **int** | The number of dropped rx frames, bad protocol. | [optional] +**num_rcv_frame_for_tx** | **int** | The number of received ethernet and local generated frames for transmit. | [optional] +**num_tx_queued** | **int** | The number of TX frames queued. | [optional] +**num_rcv_bc_for_tx** | **int** | The number of received ethernet and local generated broadcast frames for transmit. | [optional] +**num_tx_dropped** | **int** | The number of every TX frame dropped. | [optional] +**num_tx_retry_dropped** | **int** | The number of TX frame dropped due to retries. | [optional] +**num_tx_bc_dropped** | **int** | The number of broadcast frames dropped. | [optional] +**num_tx_succ** | **int** | The number of frames successfully transmitted. | [optional] +**num_tx_ps_unicast** | **int** | The number of transmitted PS unicast frame. | [optional] +**num_tx_dtim_mc** | **int** | The number of transmitted DTIM multicast frames. | [optional] +**num_tx_succ_no_retry** | **int** | The number of successfully transmitted frames at firt attemp. | [optional] +**num_tx_succ_retries** | **int** | The number of successfully transmitted frames with retries. | [optional] +**num_tx_multi_retries** | **int** | The number of Tx frames with retries. | [optional] +**num_tx_management** | **int** | The number of TX management frames. | [optional] +**num_tx_control** | **int** | The number of Tx control frames. | [optional] +**num_tx_action** | **int** | The number of Tx action frames. | [optional] +**num_tx_beacon_succ** | **int** | The number of successfully transmitted beacon. | [optional] +**num_tx_beacon_fail** | **int** | The number of unsuccessfully transmitted beacon. | [optional] +**num_tx_beacon_su_fail** | **int** | The number of successive beacon tx failure. | [optional] +**num_tx_probe_resp** | **int** | The number of TX probe response. | [optional] +**num_tx_data** | **int** | The number of Tx data frames. | [optional] +**num_tx_data_retries** | **int** | The number of Tx data frames with retries. | [optional] +**num_tx_rts_succ** | **int** | The number of RTS frames sent successfully . | [optional] +**num_tx_rts_fail** | **int** | The number of RTS frames failed transmission. | [optional] +**num_tx_cts** | **int** | The number of CTS frames sent. | [optional] +**num_tx_no_ack** | **int** | The number of TX frames failed because of not Acked. | [optional] +**num_tx_eapol** | **int** | The number of EAPOL frames sent. | [optional] +**num_tx_ldpc** | **int** | The number of total LDPC frames sent. | [optional] +**num_tx_stbc** | **int** | The number of total STBC frames sent. | [optional] +**num_tx_aggr_succ** | **int** | The number of aggregation frames sent successfully. | [optional] +**num_tx_aggr_one_mpdu** | **int** | The number of aggregation frames sent using single MPDU. | [optional] +**num_tx_rate_limit_drop** | **int** | The number of Tx frames dropped because of rate limit and burst exceeded. | [optional] +**num_tx_retry_attemps** | **int** | The number of retry tx attempts that have been made | [optional] +**num_tx_total_attemps** | **int** | The total number of tx attempts | [optional] +**num_tx_data_frames_12_mbps** | **int** | | [optional] +**num_tx_data_frames_54_mbps** | **int** | | [optional] +**num_tx_data_frames_108_mbps** | **int** | | [optional] +**num_tx_data_frames_300_mbps** | **int** | | [optional] +**num_tx_data_frames_450_mbps** | **int** | | [optional] +**num_tx_data_frames_1300_mbps** | **int** | | [optional] +**num_tx_data_frames_1300_plus_mbps** | **int** | | [optional] +**num_rx_data_frames_12_mbps** | **int** | | [optional] +**num_rx_data_frames_54_mbps** | **int** | | [optional] +**num_rx_data_frames_108_mbps** | **int** | | [optional] +**num_rx_data_frames_300_mbps** | **int** | | [optional] +**num_rx_data_frames_450_mbps** | **int** | | [optional] +**num_rx_data_frames_1300_mbps** | **int** | | [optional] +**num_rx_data_frames_1300_plus_mbps** | **int** | | [optional] +**num_tx_time_frames_transmitted** | **int** | | [optional] +**num_rx_time_to_me** | **int** | | [optional] +**num_channel_busy64s** | **int** | | [optional] +**num_tx_time_data** | **int** | | [optional] +**num_tx_time_bc_mc_data** | **int** | | [optional] +**num_rx_time_data** | **int** | | [optional] +**num_tx_frames_transmitted** | **int** | | [optional] +**num_tx_success_with_retry** | **int** | | [optional] +**num_tx_multiple_retries** | **int** | | [optional] +**num_tx_data_transmitted_retried** | **int** | | [optional] +**num_tx_data_transmitted** | **int** | | [optional] +**num_tx_data_frames** | **int** | | [optional] +**num_rx_frames_received** | **int** | | [optional] +**num_rx_retry_frames** | **int** | | [optional] +**num_rx_data_frames_retried** | **int** | | [optional] +**num_rx_data_frames** | **int** | | [optional] +**num_tx_1_mbps** | **int** | | [optional] +**num_tx_6_mbps** | **int** | | [optional] +**num_tx_9_mbps** | **int** | | [optional] +**num_tx_12_mbps** | **int** | | [optional] +**num_tx_18_mbps** | **int** | | [optional] +**num_tx_24_mbps** | **int** | | [optional] +**num_tx_36_mbps** | **int** | | [optional] +**num_tx_48_mbps** | **int** | | [optional] +**num_tx_54_mbps** | **int** | | [optional] +**num_rx_1_mbps** | **int** | | [optional] +**num_rx_6_mbps** | **int** | | [optional] +**num_rx_9_mbps** | **int** | | [optional] +**num_rx_12_mbps** | **int** | | [optional] +**num_rx_18_mbps** | **int** | | [optional] +**num_rx_24_mbps** | **int** | | [optional] +**num_rx_36_mbps** | **int** | | [optional] +**num_rx_48_mbps** | **int** | | [optional] +**num_rx_54_mbps** | **int** | | [optional] +**num_tx_ht_6_5_mbps** | **int** | | [optional] +**num_tx_ht_7_1_mbps** | **int** | | [optional] +**num_tx_ht_13_mbps** | **int** | | [optional] +**num_tx_ht_13_5_mbps** | **int** | | [optional] +**num_tx_ht_14_3_mbps** | **int** | | [optional] +**num_tx_ht_15_mbps** | **int** | | [optional] +**num_tx_ht_19_5_mbps** | **int** | | [optional] +**num_tx_ht_21_7_mbps** | **int** | | [optional] +**num_tx_ht_26_mbps** | **int** | | [optional] +**num_tx_ht_27_mbps** | **int** | | [optional] +**num_tx_ht_28_7_mbps** | **int** | | [optional] +**num_tx_ht_28_8_mbps** | **int** | | [optional] +**num_tx_ht_29_2_mbps** | **int** | | [optional] +**num_tx_ht_30_mbps** | **int** | | [optional] +**num_tx_ht_32_5_mbps** | **int** | | [optional] +**num_tx_ht_39_mbps** | **int** | | [optional] +**num_tx_ht_40_5_mbps** | **int** | | [optional] +**num_tx_ht_43_2_mbps** | **int** | | [optional] +**num_tx_ht_45_mbps** | **int** | | [optional] +**num_tx_ht_52_mbps** | **int** | | [optional] +**num_tx_ht_54_mbps** | **int** | | [optional] +**num_tx_ht_57_5_mbps** | **int** | | [optional] +**num_tx_ht_57_7_mbps** | **int** | | [optional] +**num_tx_ht_58_5_mbps** | **int** | | [optional] +**num_tx_ht_60_mbps** | **int** | | [optional] +**num_tx_ht_65_mbps** | **int** | | [optional] +**num_tx_ht_72_1_mbps** | **int** | | [optional] +**num_tx_ht_78_mbps** | **int** | | [optional] +**num_tx_ht_81_mbps** | **int** | | [optional] +**num_tx_ht_86_6_mbps** | **int** | | [optional] +**num_tx_ht_86_8_mbps** | **int** | | [optional] +**num_tx_ht_87_8_mbps** | **int** | | [optional] +**num_tx_ht_90_mbps** | **int** | | [optional] +**num_tx_ht_97_5_mbps** | **int** | | [optional] +**num_tx_ht_104_mbps** | **int** | | [optional] +**num_tx_ht_108_mbps** | **int** | | [optional] +**num_tx_ht_115_5_mbps** | **int** | | [optional] +**num_tx_ht_117_mbps** | **int** | | [optional] +**num_tx_ht_117_1_mbps** | **int** | | [optional] +**num_tx_ht_120_mbps** | **int** | | [optional] +**num_tx_ht_121_5_mbps** | **int** | | [optional] +**num_tx_ht_130_mbps** | **int** | | [optional] +**num_tx_ht_130_3_mbps** | **int** | | [optional] +**num_tx_ht_135_mbps** | **int** | | [optional] +**num_tx_ht_144_3_mbps** | **int** | | [optional] +**num_tx_ht_150_mbps** | **int** | | [optional] +**num_tx_ht_156_mbps** | **int** | | [optional] +**num_tx_ht_162_mbps** | **int** | | [optional] +**num_tx_ht_173_1_mbps** | **int** | | [optional] +**num_tx_ht_173_3_mbps** | **int** | | [optional] +**num_tx_ht_175_5_mbps** | **int** | | [optional] +**num_tx_ht_180_mbps** | **int** | | [optional] +**num_tx_ht_195_mbps** | **int** | | [optional] +**num_tx_ht_200_mbps** | **int** | | [optional] +**num_tx_ht_208_mbps** | **int** | | [optional] +**num_tx_ht_216_mbps** | **int** | | [optional] +**num_tx_ht_216_6_mbps** | **int** | | [optional] +**num_tx_ht_231_1_mbps** | **int** | | [optional] +**num_tx_ht_234_mbps** | **int** | | [optional] +**num_tx_ht_240_mbps** | **int** | | [optional] +**num_tx_ht_243_mbps** | **int** | | [optional] +**num_tx_ht_260_mbps** | **int** | | [optional] +**num_tx_ht_263_2_mbps** | **int** | | [optional] +**num_tx_ht_270_mbps** | **int** | | [optional] +**num_tx_ht_288_7_mbps** | **int** | | [optional] +**num_tx_ht_288_8_mbps** | **int** | | [optional] +**num_tx_ht_292_5_mbps** | **int** | | [optional] +**num_tx_ht_300_mbps** | **int** | | [optional] +**num_tx_ht_312_mbps** | **int** | | [optional] +**num_tx_ht_324_mbps** | **int** | | [optional] +**num_tx_ht_325_mbps** | **int** | | [optional] +**num_tx_ht_346_7_mbps** | **int** | | [optional] +**num_tx_ht_351_mbps** | **int** | | [optional] +**num_tx_ht_351_2_mbps** | **int** | | [optional] +**num_tx_ht_360_mbps** | **int** | | [optional] +**num_rx_ht_6_5_mbps** | **int** | | [optional] +**num_rx_ht_7_1_mbps** | **int** | | [optional] +**num_rx_ht_13_mbps** | **int** | | [optional] +**num_rx_ht_13_5_mbps** | **int** | | [optional] +**num_rx_ht_14_3_mbps** | **int** | | [optional] +**num_rx_ht_15_mbps** | **int** | | [optional] +**num_rx_ht_19_5_mbps** | **int** | | [optional] +**num_rx_ht_21_7_mbps** | **int** | | [optional] +**num_rx_ht_26_mbps** | **int** | | [optional] +**num_rx_ht_27_mbps** | **int** | | [optional] +**num_rx_ht_28_7_mbps** | **int** | | [optional] +**num_rx_ht_28_8_mbps** | **int** | | [optional] +**num_rx_ht_29_2_mbps** | **int** | | [optional] +**num_rx_ht_30_mbps** | **int** | | [optional] +**num_rx_ht_32_5_mbps** | **int** | | [optional] +**num_rx_ht_39_mbps** | **int** | | [optional] +**num_rx_ht_40_5_mbps** | **int** | | [optional] +**num_rx_ht_43_2_mbps** | **int** | | [optional] +**num_rx_ht_45_mbps** | **int** | | [optional] +**num_rx_ht_52_mbps** | **int** | | [optional] +**num_rx_ht_54_mbps** | **int** | | [optional] +**num_rx_ht_57_5_mbps** | **int** | | [optional] +**num_rx_ht_57_7_mbps** | **int** | | [optional] +**num_rx_ht_58_5_mbps** | **int** | | [optional] +**num_rx_ht_60_mbps** | **int** | | [optional] +**num_rx_ht_65_mbps** | **int** | | [optional] +**num_rx_ht_72_1_mbps** | **int** | | [optional] +**num_rx_ht_78_mbps** | **int** | | [optional] +**num_rx_ht_81_mbps** | **int** | | [optional] +**num_rx_ht_86_6_mbps** | **int** | | [optional] +**num_rx_ht_86_8_mbps** | **int** | | [optional] +**num_rx_ht_87_8_mbps** | **int** | | [optional] +**num_rx_ht_90_mbps** | **int** | | [optional] +**num_rx_ht_97_5_mbps** | **int** | | [optional] +**num_rx_ht_104_mbps** | **int** | | [optional] +**num_rx_ht_108_mbps** | **int** | | [optional] +**num_rx_ht_115_5_mbps** | **int** | | [optional] +**num_rx_ht_117_mbps** | **int** | | [optional] +**num_rx_ht_117_1_mbps** | **int** | | [optional] +**num_rx_ht_120_mbps** | **int** | | [optional] +**num_rx_ht_121_5_mbps** | **int** | | [optional] +**num_rx_ht_130_mbps** | **int** | | [optional] +**num_rx_ht_130_3_mbps** | **int** | | [optional] +**num_rx_ht_135_mbps** | **int** | | [optional] +**num_rx_ht_144_3_mbps** | **int** | | [optional] +**num_rx_ht_150_mbps** | **int** | | [optional] +**num_rx_ht_156_mbps** | **int** | | [optional] +**num_rx_ht_162_mbps** | **int** | | [optional] +**num_rx_ht_173_1_mbps** | **int** | | [optional] +**num_rx_ht_173_3_mbps** | **int** | | [optional] +**num_rx_ht_175_5_mbps** | **int** | | [optional] +**num_rx_ht_180_mbps** | **int** | | [optional] +**num_rx_ht_195_mbps** | **int** | | [optional] +**num_rx_ht_200_mbps** | **int** | | [optional] +**num_rx_ht_208_mbps** | **int** | | [optional] +**num_rx_ht_216_mbps** | **int** | | [optional] +**num_rx_ht_216_6_mbps** | **int** | | [optional] +**num_rx_ht_231_1_mbps** | **int** | | [optional] +**num_rx_ht_234_mbps** | **int** | | [optional] +**num_rx_ht_240_mbps** | **int** | | [optional] +**num_rx_ht_243_mbps** | **int** | | [optional] +**num_rx_ht_260_mbps** | **int** | | [optional] +**num_rx_ht_263_2_mbps** | **int** | | [optional] +**num_rx_ht_270_mbps** | **int** | | [optional] +**num_rx_ht_288_7_mbps** | **int** | | [optional] +**num_rx_ht_288_8_mbps** | **int** | | [optional] +**num_rx_ht_292_5_mbps** | **int** | | [optional] +**num_rx_ht_300_mbps** | **int** | | [optional] +**num_rx_ht_312_mbps** | **int** | | [optional] +**num_rx_ht_324_mbps** | **int** | | [optional] +**num_rx_ht_325_mbps** | **int** | | [optional] +**num_rx_ht_346_7_mbps** | **int** | | [optional] +**num_rx_ht_351_mbps** | **int** | | [optional] +**num_rx_ht_351_2_mbps** | **int** | | [optional] +**num_rx_ht_360_mbps** | **int** | | [optional] +**num_tx_vht_292_5_mbps** | **int** | | [optional] +**num_tx_vht_325_mbps** | **int** | | [optional] +**num_tx_vht_364_5_mbps** | **int** | | [optional] +**num_tx_vht_390_mbps** | **int** | | [optional] +**num_tx_vht_400_mbps** | **int** | | [optional] +**num_tx_vht_403_mbps** | **int** | | [optional] +**num_tx_vht_405_mbps** | **int** | | [optional] +**num_tx_vht_432_mbps** | **int** | | [optional] +**num_tx_vht_433_2_mbps** | **int** | | [optional] +**num_tx_vht_450_mbps** | **int** | | [optional] +**num_tx_vht_468_mbps** | **int** | | [optional] +**num_tx_vht_480_mbps** | **int** | | [optional] +**num_tx_vht_486_mbps** | **int** | | [optional] +**num_tx_vht_520_mbps** | **int** | | [optional] +**num_tx_vht_526_5_mbps** | **int** | | [optional] +**num_tx_vht_540_mbps** | **int** | | [optional] +**num_tx_vht_585_mbps** | **int** | | [optional] +**num_tx_vht_600_mbps** | **int** | | [optional] +**num_tx_vht_648_mbps** | **int** | | [optional] +**num_tx_vht_650_mbps** | **int** | | [optional] +**num_tx_vht_702_mbps** | **int** | | [optional] +**num_tx_vht_720_mbps** | **int** | | [optional] +**num_tx_vht_780_mbps** | **int** | | [optional] +**num_tx_vht_800_mbps** | **int** | | [optional] +**num_tx_vht_866_7_mbps** | **int** | | [optional] +**num_tx_vht_877_5_mbps** | **int** | | [optional] +**num_tx_vht_936_mbps** | **int** | | [optional] +**num_tx_vht_975_mbps** | **int** | | [optional] +**num_tx_vht_1040_mbps** | **int** | | [optional] +**num_tx_vht_1053_mbps** | **int** | | [optional] +**num_tx_vht_1053_1_mbps** | **int** | | [optional] +**num_tx_vht_1170_mbps** | **int** | | [optional] +**num_tx_vht_1300_mbps** | **int** | | [optional] +**num_tx_vht_1404_mbps** | **int** | | [optional] +**num_tx_vht_1560_mbps** | **int** | | [optional] +**num_tx_vht_1579_5_mbps** | **int** | | [optional] +**num_tx_vht_1733_1_mbps** | **int** | | [optional] +**num_tx_vht_1733_4_mbps** | **int** | | [optional] +**num_tx_vht_1755_mbps** | **int** | | [optional] +**num_tx_vht_1872_mbps** | **int** | | [optional] +**num_tx_vht_1950_mbps** | **int** | | [optional] +**num_tx_vht_2080_mbps** | **int** | | [optional] +**num_tx_vht_2106_mbps** | **int** | | [optional] +**num_tx_vht_2340_mbps** | **int** | | [optional] +**num_tx_vht_2600_mbps** | **int** | | [optional] +**num_tx_vht_2808_mbps** | **int** | | [optional] +**num_tx_vht_3120_mbps** | **int** | | [optional] +**num_tx_vht_3466_8_mbps** | **int** | | [optional] +**num_rx_vht_292_5_mbps** | **int** | | [optional] +**num_rx_vht_325_mbps** | **int** | | [optional] +**num_rx_vht_364_5_mbps** | **int** | | [optional] +**num_rx_vht_390_mbps** | **int** | | [optional] +**num_rx_vht_400_mbps** | **int** | | [optional] +**num_rx_vht_403_mbps** | **int** | | [optional] +**num_rx_vht_405_mbps** | **int** | | [optional] +**num_rx_vht_432_mbps** | **int** | | [optional] +**num_rx_vht_433_2_mbps** | **int** | | [optional] +**num_rx_vht_450_mbps** | **int** | | [optional] +**num_rx_vht_468_mbps** | **int** | | [optional] +**num_rx_vht_480_mbps** | **int** | | [optional] +**num_rx_vht_486_mbps** | **int** | | [optional] +**num_rx_vht_520_mbps** | **int** | | [optional] +**num_rx_vht_526_5_mbps** | **int** | | [optional] +**num_rx_vht_540_mbps** | **int** | | [optional] +**num_rx_vht_585_mbps** | **int** | | [optional] +**num_rx_vht_600_mbps** | **int** | | [optional] +**num_rx_vht_648_mbps** | **int** | | [optional] +**num_rx_vht_650_mbps** | **int** | | [optional] +**num_rx_vht_702_mbps** | **int** | | [optional] +**num_rx_vht_720_mbps** | **int** | | [optional] +**num_rx_vht_780_mbps** | **int** | | [optional] +**num_rx_vht_800_mbps** | **int** | | [optional] +**num_rx_vht_866_7_mbps** | **int** | | [optional] +**num_rx_vht_877_5_mbps** | **int** | | [optional] +**num_rx_vht_936_mbps** | **int** | | [optional] +**num_rx_vht_975_mbps** | **int** | | [optional] +**num_rx_vht_1040_mbps** | **int** | | [optional] +**num_rx_vht_1053_mbps** | **int** | | [optional] +**num_rx_vht_1053_1_mbps** | **int** | | [optional] +**num_rx_vht_1170_mbps** | **int** | | [optional] +**num_rx_vht_1300_mbps** | **int** | | [optional] +**num_rx_vht_1404_mbps** | **int** | | [optional] +**num_rx_vht_1560_mbps** | **int** | | [optional] +**num_rx_vht_1579_5_mbps** | **int** | | [optional] +**num_rx_vht_1733_1_mbps** | **int** | | [optional] +**num_rx_vht_1733_4_mbps** | **int** | | [optional] +**num_rx_vht_1755_mbps** | **int** | | [optional] +**num_rx_vht_1872_mbps** | **int** | | [optional] +**num_rx_vht_1950_mbps** | **int** | | [optional] +**num_rx_vht_2080_mbps** | **int** | | [optional] +**num_rx_vht_2106_mbps** | **int** | | [optional] +**num_rx_vht_2340_mbps** | **int** | | [optional] +**num_rx_vht_2600_mbps** | **int** | | [optional] +**num_rx_vht_2808_mbps** | **int** | | [optional] +**num_rx_vht_3120_mbps** | **int** | | [optional] +**num_rx_vht_3466_8_mbps** | **int** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/RadioStatisticsPerRadioMap.md b/libs/cloudapi/cloudsdk/docs/RadioStatisticsPerRadioMap.md new file mode 100644 index 000000000..fbe5bcbf8 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/RadioStatisticsPerRadioMap.md @@ -0,0 +1,12 @@ +# RadioStatisticsPerRadioMap + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**is5_g_hz** | [**RadioStatistics**](RadioStatistics.md) | | [optional] +**is5_g_hz_u** | [**RadioStatistics**](RadioStatistics.md) | | [optional] +**is5_g_hz_l** | [**RadioStatistics**](RadioStatistics.md) | | [optional] +**is2dot4_g_hz** | [**RadioStatistics**](RadioStatistics.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/RadioType.md b/libs/cloudapi/cloudsdk/docs/RadioType.md new file mode 100644 index 000000000..56bfa4c54 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/RadioType.md @@ -0,0 +1,8 @@ +# RadioType + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/RadioUtilization.md b/libs/cloudapi/cloudsdk/docs/RadioUtilization.md new file mode 100644 index 000000000..6b8499900 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/RadioUtilization.md @@ -0,0 +1,16 @@ +# RadioUtilization + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**assoc_client_tx** | **int** | | [optional] +**unassoc_client_tx** | **int** | | [optional] +**assoc_client_rx** | **int** | | [optional] +**unassoc_client_rx** | **int** | | [optional] +**non_wifi** | **int** | | [optional] +**timestamp_seconds** | **int** | | [optional] +**ibss** | **float** | | [optional] +**un_available_capacity** | **float** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/RadioUtilizationDetails.md b/libs/cloudapi/cloudsdk/docs/RadioUtilizationDetails.md new file mode 100644 index 000000000..59398cce3 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/RadioUtilizationDetails.md @@ -0,0 +1,9 @@ +# RadioUtilizationDetails + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**per_radio_details** | [**RadioUtilizationPerRadioDetailsMap**](RadioUtilizationPerRadioDetailsMap.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/RadioUtilizationPerRadioDetails.md b/libs/cloudapi/cloudsdk/docs/RadioUtilizationPerRadioDetails.md new file mode 100644 index 000000000..7697dd6fc --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/RadioUtilizationPerRadioDetails.md @@ -0,0 +1,13 @@ +# RadioUtilizationPerRadioDetails + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**avg_assoc_client_tx** | **int** | | [optional] +**avg_unassoc_client_tx** | **int** | | [optional] +**avg_assoc_client_rx** | **int** | | [optional] +**avg_unassoc_client_rx** | **int** | | [optional] +**avg_non_wifi** | **int** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/RadioUtilizationPerRadioDetailsMap.md b/libs/cloudapi/cloudsdk/docs/RadioUtilizationPerRadioDetailsMap.md new file mode 100644 index 000000000..8583f76ee --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/RadioUtilizationPerRadioDetailsMap.md @@ -0,0 +1,12 @@ +# RadioUtilizationPerRadioDetailsMap + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**is5_g_hz** | [**RadioUtilizationPerRadioDetails**](RadioUtilizationPerRadioDetails.md) | | [optional] +**is5_g_hz_u** | [**RadioUtilizationPerRadioDetails**](RadioUtilizationPerRadioDetails.md) | | [optional] +**is5_g_hz_l** | [**RadioUtilizationPerRadioDetails**](RadioUtilizationPerRadioDetails.md) | | [optional] +**is2dot4_g_hz** | [**RadioUtilizationPerRadioDetails**](RadioUtilizationPerRadioDetails.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/RadioUtilizationReport.md b/libs/cloudapi/cloudsdk/docs/RadioUtilizationReport.md new file mode 100644 index 000000000..f09b26556 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/RadioUtilizationReport.md @@ -0,0 +1,13 @@ +# RadioUtilizationReport + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**status_data_type** | **str** | | [optional] +**radio_utilization** | [**EquipmentPerRadioUtilizationDetailsMap**](EquipmentPerRadioUtilizationDetailsMap.md) | | [optional] +**capacity_details** | [**EquipmentCapacityDetailsMap**](EquipmentCapacityDetailsMap.md) | | [optional] +**avg_noise_floor** | [**IntegerPerRadioTypeMap**](IntegerPerRadioTypeMap.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/RadiusAuthenticationMethod.md b/libs/cloudapi/cloudsdk/docs/RadiusAuthenticationMethod.md new file mode 100644 index 000000000..92fb31c9a --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/RadiusAuthenticationMethod.md @@ -0,0 +1,8 @@ +# RadiusAuthenticationMethod + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/RadiusDetails.md b/libs/cloudapi/cloudsdk/docs/RadiusDetails.md new file mode 100644 index 000000000..8ce4355ff --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/RadiusDetails.md @@ -0,0 +1,10 @@ +# RadiusDetails + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**StatusCode**](StatusCode.md) | | [optional] +**radius_server_details** | [**list[RadiusServerDetails]**](RadiusServerDetails.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/RadiusMetrics.md b/libs/cloudapi/cloudsdk/docs/RadiusMetrics.md new file mode 100644 index 000000000..72e5bc72c --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/RadiusMetrics.md @@ -0,0 +1,11 @@ +# RadiusMetrics + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**server_ip** | **str** | | [optional] +**number_of_no_answer** | **int** | | [optional] +**latency_ms** | [**MinMaxAvgValueInt**](MinMaxAvgValueInt.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/RadiusNasConfiguration.md b/libs/cloudapi/cloudsdk/docs/RadiusNasConfiguration.md new file mode 100644 index 000000000..620310fa9 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/RadiusNasConfiguration.md @@ -0,0 +1,13 @@ +# RadiusNasConfiguration + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**nas_client_id** | **str** | String identifying the NAS (AP) – Default shall be set to the AP BASE MAC Address for the WAN Interface | [optional] [default to 'DEFAULT'] +**nas_client_ip** | **str** | NAS-IP AVP - Default it shall be the WAN IP address of the AP when AP communicates with RADIUS server directly. | [optional] [default to 'WAN_IP'] +**user_defined_nas_id** | **str** | user entered string if the nasClientId is 'USER_DEFINED'. This should not be enabled and will not be passed to the AP unless the nasClientId is USER_DEFINED. | [optional] +**user_defined_nas_ip** | **str** | user entered IP address if the nasClientIp is 'USER_DEFINED'. This should not be enabled and will not be passed to the AP unless the nasClientIp is USER_DEFINED. | [optional] +**operator_id** | **str** | Carries the operator namespace identifier and the operator name. The operator name is combined with the namespace identifier to uniquely identify the owner of an access network. The value of the Operator-Name is a non-NULL terminated text. This is not to be confused with the Passpoint Operator Domain | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/RadiusProfile.md b/libs/cloudapi/cloudsdk/docs/RadiusProfile.md new file mode 100644 index 000000000..6f5a6a0c0 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/RadiusProfile.md @@ -0,0 +1,13 @@ +# RadiusProfile + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | [optional] +**primary_radius_auth_server** | [**RadiusServer**](RadiusServer.md) | | [optional] +**secondary_radius_auth_server** | [**RadiusServer**](RadiusServer.md) | | [optional] +**primary_radius_accounting_server** | [**RadiusServer**](RadiusServer.md) | | [optional] +**secondary_radius_accounting_server** | [**RadiusServer**](RadiusServer.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/RadiusServer.md b/libs/cloudapi/cloudsdk/docs/RadiusServer.md new file mode 100644 index 000000000..4304332d2 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/RadiusServer.md @@ -0,0 +1,12 @@ +# RadiusServer + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ip_address** | **str** | | [optional] +**secret** | **str** | | [optional] +**port** | **int** | | [optional] +**timeout** | **int** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/RadiusServerDetails.md b/libs/cloudapi/cloudsdk/docs/RadiusServerDetails.md new file mode 100644 index 000000000..ad65a3f7c --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/RadiusServerDetails.md @@ -0,0 +1,10 @@ +# RadiusServerDetails + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**address** | **str** | | [optional] +**radius_latency** | [**MinMaxAvgValueInt**](MinMaxAvgValueInt.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/RealTimeEvent.md b/libs/cloudapi/cloudsdk/docs/RealTimeEvent.md new file mode 100644 index 000000000..e82d2be4e --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/RealTimeEvent.md @@ -0,0 +1,13 @@ +# RealTimeEvent + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**all_of** | [**SystemEvent**](SystemEvent.md) | | [optional] +**event_timestamp** | **int** | | [optional] +**customer_id** | **int** | | [optional] +**equipment_id** | **int** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/RealTimeSipCallEventWithStats.md b/libs/cloudapi/cloudsdk/docs/RealTimeSipCallEventWithStats.md new file mode 100644 index 000000000..7bab24c33 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/RealTimeSipCallEventWithStats.md @@ -0,0 +1,18 @@ +# RealTimeSipCallEventWithStats + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**all_of** | [**RealTimeEvent**](RealTimeEvent.md) | | [optional] +**sip_call_id** | **int** | | [optional] +**association_id** | **int** | | [optional] +**client_mac_address** | [**MacAddress**](MacAddress.md) | | [optional] +**radio_type** | [**RadioType**](RadioType.md) | | [optional] +**statuses** | [**list[RtpFlowStats]**](RtpFlowStats.md) | | [optional] +**channel** | **int** | | [optional] +**codecs** | **list[str]** | | [optional] +**provider_domain** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/RealTimeSipCallReportEvent.md b/libs/cloudapi/cloudsdk/docs/RealTimeSipCallReportEvent.md new file mode 100644 index 000000000..4bb5e1953 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/RealTimeSipCallReportEvent.md @@ -0,0 +1,11 @@ +# RealTimeSipCallReportEvent + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**all_of** | [**RealTimeSipCallEventWithStats**](RealTimeSipCallEventWithStats.md) | | [optional] +**report_reason** | [**SIPCallReportReason**](SIPCallReportReason.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/RealTimeSipCallStartEvent.md b/libs/cloudapi/cloudsdk/docs/RealTimeSipCallStartEvent.md new file mode 100644 index 000000000..8857c016a --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/RealTimeSipCallStartEvent.md @@ -0,0 +1,18 @@ +# RealTimeSipCallStartEvent + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**all_of** | [**RealTimeEvent**](RealTimeEvent.md) | | [optional] +**sip_call_id** | **int** | | [optional] +**association_id** | **int** | | [optional] +**mac_address** | [**MacAddress**](MacAddress.md) | | [optional] +**radio_type** | [**RadioType**](RadioType.md) | | [optional] +**channel** | **int** | | [optional] +**codecs** | **list[str]** | | [optional] +**provider_domain** | **str** | | [optional] +**device_info** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/RealTimeSipCallStopEvent.md b/libs/cloudapi/cloudsdk/docs/RealTimeSipCallStopEvent.md new file mode 100644 index 000000000..5f40b7084 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/RealTimeSipCallStopEvent.md @@ -0,0 +1,12 @@ +# RealTimeSipCallStopEvent + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**all_of** | [**RealTimeEvent**](RealTimeEvent.md) | | [optional] +**call_duration** | **int** | | [optional] +**reason** | [**SipCallStopReason**](SipCallStopReason.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/RealTimeStreamingStartEvent.md b/libs/cloudapi/cloudsdk/docs/RealTimeStreamingStartEvent.md new file mode 100644 index 000000000..36a2c87d1 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/RealTimeStreamingStartEvent.md @@ -0,0 +1,16 @@ +# RealTimeStreamingStartEvent + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**all_of** | [**RealTimeEvent**](RealTimeEvent.md) | | [optional] +**video_session_id** | **int** | | [optional] +**session_id** | **int** | | [optional] +**client_mac** | [**MacAddress**](MacAddress.md) | | [optional] +**server_ip** | **str** | string representing InetAddress | [optional] +**server_dns_name** | **str** | | [optional] +**type** | [**StreamingVideoType**](StreamingVideoType.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/RealTimeStreamingStartSessionEvent.md b/libs/cloudapi/cloudsdk/docs/RealTimeStreamingStartSessionEvent.md new file mode 100644 index 000000000..fd1eb3824 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/RealTimeStreamingStartSessionEvent.md @@ -0,0 +1,15 @@ +# RealTimeStreamingStartSessionEvent + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**all_of** | [**RealTimeEvent**](RealTimeEvent.md) | | [optional] +**video_session_id** | **int** | | [optional] +**session_id** | **int** | | [optional] +**client_mac** | [**MacAddress**](MacAddress.md) | | [optional] +**server_ip** | **str** | string representing InetAddress | [optional] +**type** | [**StreamingVideoType**](StreamingVideoType.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/RealTimeStreamingStopEvent.md b/libs/cloudapi/cloudsdk/docs/RealTimeStreamingStopEvent.md new file mode 100644 index 000000000..9f7e6685e --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/RealTimeStreamingStopEvent.md @@ -0,0 +1,17 @@ +# RealTimeStreamingStopEvent + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**all_of** | [**RealTimeEvent**](RealTimeEvent.md) | | [optional] +**video_session_id** | **int** | | [optional] +**session_id** | **int** | | [optional] +**client_mac** | [**MacAddress**](MacAddress.md) | | [optional] +**server_ip** | **str** | string representing InetAddress | [optional] +**total_bytes** | **int** | | [optional] +**type** | [**StreamingVideoType**](StreamingVideoType.md) | | [optional] +**duration_in_secs** | **int** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/RealtimeChannelHopEvent.md b/libs/cloudapi/cloudsdk/docs/RealtimeChannelHopEvent.md new file mode 100644 index 000000000..9244d7b5c --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/RealtimeChannelHopEvent.md @@ -0,0 +1,14 @@ +# RealtimeChannelHopEvent + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**all_of** | [**RealTimeEvent**](RealTimeEvent.md) | | [optional] +**old_channel** | **int** | | [optional] +**new_channel** | **int** | | [optional] +**reason_code** | [**ChannelHopReason**](ChannelHopReason.md) | | [optional] +**radio_type** | [**RadioType**](RadioType.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/RfConfigMap.md b/libs/cloudapi/cloudsdk/docs/RfConfigMap.md new file mode 100644 index 000000000..102da9fc4 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/RfConfigMap.md @@ -0,0 +1,12 @@ +# RfConfigMap + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**is2dot4_g_hz** | [**RfElementConfiguration**](RfElementConfiguration.md) | | [optional] +**is5_g_hz** | [**RfElementConfiguration**](RfElementConfiguration.md) | | [optional] +**is5_g_hz_u** | [**RfElementConfiguration**](RfElementConfiguration.md) | | [optional] +**is5_g_hz_l** | [**RfElementConfiguration**](RfElementConfiguration.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/RfConfiguration.md b/libs/cloudapi/cloudsdk/docs/RfConfiguration.md new file mode 100644 index 000000000..f2f1595c5 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/RfConfiguration.md @@ -0,0 +1,9 @@ +# RfConfiguration + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**rf_config_map** | [**RfConfigMap**](RfConfigMap.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/RfElementConfiguration.md b/libs/cloudapi/cloudsdk/docs/RfElementConfiguration.md new file mode 100644 index 000000000..31c740172 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/RfElementConfiguration.md @@ -0,0 +1,32 @@ +# RfElementConfiguration + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | [optional] +**rf** | **str** | | [optional] +**radio_type** | [**RadioType**](RadioType.md) | | [optional] +**radio_mode** | [**RadioMode**](RadioMode.md) | | [optional] +**auto_channel_selection** | **bool** | | [optional] +**beacon_interval** | **int** | | [optional] +**force_scan_during_voice** | [**StateSetting**](StateSetting.md) | | [optional] +**rts_cts_threshold** | **int** | | [optional] +**channel_bandwidth** | [**ChannelBandwidth**](ChannelBandwidth.md) | | [optional] +**mimo_mode** | [**MimoMode**](MimoMode.md) | | [optional] +**max_num_clients** | **int** | | [optional] +**multicast_rate** | [**MulticastRate**](MulticastRate.md) | | [optional] +**active_scan_settings** | [**ActiveScanSettings**](ActiveScanSettings.md) | | [optional] +**management_rate** | [**ManagementRate**](ManagementRate.md) | | [optional] +**rx_cell_size_db** | **int** | | [optional] +**probe_response_threshold_db** | **int** | | [optional] +**client_disconnect_threshold_db** | **int** | | [optional] +**eirp_tx_power** | **int** | | [optional] [default to 18] +**best_ap_enabled** | **bool** | | [optional] +**neighbouring_list_ap_config** | [**NeighbouringAPListConfiguration**](NeighbouringAPListConfiguration.md) | | [optional] +**min_auto_cell_size** | **int** | | [optional] +**perimeter_detection_enabled** | **bool** | | [optional] +**channel_hop_settings** | [**ChannelHopSettings**](ChannelHopSettings.md) | | [optional] +**best_ap_settings** | [**RadioBestApSettings**](RadioBestApSettings.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/RoutingAddedEvent.md b/libs/cloudapi/cloudsdk/docs/RoutingAddedEvent.md new file mode 100644 index 000000000..444286caf --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/RoutingAddedEvent.md @@ -0,0 +1,13 @@ +# RoutingAddedEvent + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**event_timestamp** | **int** | | [optional] +**customer_id** | **int** | | [optional] +**equipment_id** | **int** | | [optional] +**payload** | [**EquipmentRoutingRecord**](EquipmentRoutingRecord.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/RoutingChangedEvent.md b/libs/cloudapi/cloudsdk/docs/RoutingChangedEvent.md new file mode 100644 index 000000000..6e6e3e495 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/RoutingChangedEvent.md @@ -0,0 +1,13 @@ +# RoutingChangedEvent + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**event_timestamp** | **int** | | [optional] +**customer_id** | **int** | | [optional] +**equipment_id** | **int** | | [optional] +**payload** | [**EquipmentRoutingRecord**](EquipmentRoutingRecord.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/RoutingRemovedEvent.md b/libs/cloudapi/cloudsdk/docs/RoutingRemovedEvent.md new file mode 100644 index 000000000..2728c3f2a --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/RoutingRemovedEvent.md @@ -0,0 +1,13 @@ +# RoutingRemovedEvent + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**event_timestamp** | **int** | | [optional] +**customer_id** | **int** | | [optional] +**equipment_id** | **int** | | [optional] +**payload** | [**EquipmentRoutingRecord**](EquipmentRoutingRecord.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/RrmBulkUpdateApDetails.md b/libs/cloudapi/cloudsdk/docs/RrmBulkUpdateApDetails.md new file mode 100644 index 000000000..59d995622 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/RrmBulkUpdateApDetails.md @@ -0,0 +1,15 @@ +# RrmBulkUpdateApDetails + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**channel_number** | **int** | | [optional] +**backup_channel_number** | **int** | | [optional] +**rx_cell_size_db** | [**SourceSelectionValue**](SourceSelectionValue.md) | | [optional] +**probe_response_threshold_db** | [**SourceSelectionValue**](SourceSelectionValue.md) | | [optional] +**client_disconnect_threshold_db** | [**SourceSelectionValue**](SourceSelectionValue.md) | | [optional] +**drop_in_snr_percentage** | **int** | | [optional] +**min_load_factor** | **int** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/RtlsSettings.md b/libs/cloudapi/cloudsdk/docs/RtlsSettings.md new file mode 100644 index 000000000..29dc79c7b --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/RtlsSettings.md @@ -0,0 +1,11 @@ +# RtlsSettings + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**enabled** | **bool** | | [optional] +**srv_host_ip** | **str** | | [optional] +**srv_host_port** | **int** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/RtpFlowDirection.md b/libs/cloudapi/cloudsdk/docs/RtpFlowDirection.md new file mode 100644 index 000000000..e9b27fadc --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/RtpFlowDirection.md @@ -0,0 +1,8 @@ +# RtpFlowDirection + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/RtpFlowStats.md b/libs/cloudapi/cloudsdk/docs/RtpFlowStats.md new file mode 100644 index 000000000..4fa310f50 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/RtpFlowStats.md @@ -0,0 +1,16 @@ +# RtpFlowStats + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**direction** | [**RtpFlowDirection**](RtpFlowDirection.md) | | [optional] +**flow_type** | [**RtpFlowType**](RtpFlowType.md) | | [optional] +**latency** | **int** | | [optional] +**jitter** | **int** | | [optional] +**packet_loss_consecutive** | **int** | | [optional] +**code** | **int** | | [optional] +**mos_multiplied_by100** | **int** | | [optional] +**block_codecs** | **list[str]** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/RtpFlowType.md b/libs/cloudapi/cloudsdk/docs/RtpFlowType.md new file mode 100644 index 000000000..6cec2fda0 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/RtpFlowType.md @@ -0,0 +1,8 @@ +# RtpFlowType + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/SIPCallReportReason.md b/libs/cloudapi/cloudsdk/docs/SIPCallReportReason.md new file mode 100644 index 000000000..2452f3690 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/SIPCallReportReason.md @@ -0,0 +1,8 @@ +# SIPCallReportReason + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ScheduleSetting.md b/libs/cloudapi/cloudsdk/docs/ScheduleSetting.md new file mode 100644 index 000000000..5e6831f1e --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ScheduleSetting.md @@ -0,0 +1,8 @@ +# ScheduleSetting + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/SecurityType.md b/libs/cloudapi/cloudsdk/docs/SecurityType.md new file mode 100644 index 000000000..551509d68 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/SecurityType.md @@ -0,0 +1,8 @@ +# SecurityType + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ServiceAdoptionMetrics.md b/libs/cloudapi/cloudsdk/docs/ServiceAdoptionMetrics.md new file mode 100644 index 000000000..56776b561 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ServiceAdoptionMetrics.md @@ -0,0 +1,18 @@ +# ServiceAdoptionMetrics + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**year** | **int** | | [optional] +**month** | **int** | | [optional] +**week_of_year** | **int** | | [optional] +**day_of_year** | **int** | | [optional] +**customer_id** | **int** | | [optional] +**location_id** | **int** | | [optional] +**equipment_id** | **int** | | [optional] +**num_unique_connected_macs** | **int** | number of unique connected MAC addresses for the data point. Note - this number is accurate only at the lowest level of granularity - per AP per day. In case of aggregations - per location/customer or per week/month - this number is just a sum of corresponding datapoints, and it does not account for non-unique MACs in those cases. | [optional] +**num_bytes_upstream** | **int** | | [optional] +**num_bytes_downstream** | **int** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ServiceAdoptionMetricsApi.md b/libs/cloudapi/cloudsdk/docs/ServiceAdoptionMetricsApi.md new file mode 100644 index 000000000..a99c8e309 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ServiceAdoptionMetricsApi.md @@ -0,0 +1,301 @@ +# swagger_client.ServiceAdoptionMetricsApi + +All URIs are relative to *https://localhost:9091* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**get_adoption_metrics_all_per_day**](ServiceAdoptionMetricsApi.md#get_adoption_metrics_all_per_day) | **GET** /portal/adoptionMetrics/allPerDay | Get daily service adoption metrics for a given year +[**get_adoption_metrics_all_per_month**](ServiceAdoptionMetricsApi.md#get_adoption_metrics_all_per_month) | **GET** /portal/adoptionMetrics/allPerMonth | Get monthly service adoption metrics for a given year +[**get_adoption_metrics_all_per_week**](ServiceAdoptionMetricsApi.md#get_adoption_metrics_all_per_week) | **GET** /portal/adoptionMetrics/allPerWeek | Get weekly service adoption metrics for a given year +[**get_adoption_metrics_per_customer_per_day**](ServiceAdoptionMetricsApi.md#get_adoption_metrics_per_customer_per_day) | **GET** /portal/adoptionMetrics/perCustomerPerDay | Get daily service adoption metrics for a given year aggregated by customer and filtered by specified customer ids +[**get_adoption_metrics_per_equipment_per_day**](ServiceAdoptionMetricsApi.md#get_adoption_metrics_per_equipment_per_day) | **GET** /portal/adoptionMetrics/perEquipmentPerDay | Get daily service adoption metrics for a given year filtered by specified equipment ids +[**get_adoption_metrics_per_location_per_day**](ServiceAdoptionMetricsApi.md#get_adoption_metrics_per_location_per_day) | **GET** /portal/adoptionMetrics/perLocationPerDay | Get daily service adoption metrics for a given year aggregated by location and filtered by specified location ids + +# **get_adoption_metrics_all_per_day** +> list[ServiceAdoptionMetrics] get_adoption_metrics_all_per_day(year) + +Get daily service adoption metrics for a given year + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.ServiceAdoptionMetricsApi(swagger_client.ApiClient(configuration)) +year = 56 # int | + +try: + # Get daily service adoption metrics for a given year + api_response = api_instance.get_adoption_metrics_all_per_day(year) + pprint(api_response) +except ApiException as e: + print("Exception when calling ServiceAdoptionMetricsApi->get_adoption_metrics_all_per_day: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **year** | **int**| | + +### Return type + +[**list[ServiceAdoptionMetrics]**](ServiceAdoptionMetrics.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_adoption_metrics_all_per_month** +> list[ServiceAdoptionMetrics] get_adoption_metrics_all_per_month(year) + +Get monthly service adoption metrics for a given year + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.ServiceAdoptionMetricsApi(swagger_client.ApiClient(configuration)) +year = 56 # int | + +try: + # Get monthly service adoption metrics for a given year + api_response = api_instance.get_adoption_metrics_all_per_month(year) + pprint(api_response) +except ApiException as e: + print("Exception when calling ServiceAdoptionMetricsApi->get_adoption_metrics_all_per_month: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **year** | **int**| | + +### Return type + +[**list[ServiceAdoptionMetrics]**](ServiceAdoptionMetrics.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_adoption_metrics_all_per_week** +> list[ServiceAdoptionMetrics] get_adoption_metrics_all_per_week(year) + +Get weekly service adoption metrics for a given year + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.ServiceAdoptionMetricsApi(swagger_client.ApiClient(configuration)) +year = 56 # int | + +try: + # Get weekly service adoption metrics for a given year + api_response = api_instance.get_adoption_metrics_all_per_week(year) + pprint(api_response) +except ApiException as e: + print("Exception when calling ServiceAdoptionMetricsApi->get_adoption_metrics_all_per_week: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **year** | **int**| | + +### Return type + +[**list[ServiceAdoptionMetrics]**](ServiceAdoptionMetrics.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_adoption_metrics_per_customer_per_day** +> list[ServiceAdoptionMetrics] get_adoption_metrics_per_customer_per_day(year, customer_ids) + +Get daily service adoption metrics for a given year aggregated by customer and filtered by specified customer ids + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.ServiceAdoptionMetricsApi(swagger_client.ApiClient(configuration)) +year = 56 # int | +customer_ids = [56] # list[int] | filter by customer ids. + +try: + # Get daily service adoption metrics for a given year aggregated by customer and filtered by specified customer ids + api_response = api_instance.get_adoption_metrics_per_customer_per_day(year, customer_ids) + pprint(api_response) +except ApiException as e: + print("Exception when calling ServiceAdoptionMetricsApi->get_adoption_metrics_per_customer_per_day: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **year** | **int**| | + **customer_ids** | [**list[int]**](int.md)| filter by customer ids. | + +### Return type + +[**list[ServiceAdoptionMetrics]**](ServiceAdoptionMetrics.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_adoption_metrics_per_equipment_per_day** +> list[ServiceAdoptionMetrics] get_adoption_metrics_per_equipment_per_day(year, equipment_ids) + +Get daily service adoption metrics for a given year filtered by specified equipment ids + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.ServiceAdoptionMetricsApi(swagger_client.ApiClient(configuration)) +year = 56 # int | +equipment_ids = [56] # list[int] | filter by equipment ids. + +try: + # Get daily service adoption metrics for a given year filtered by specified equipment ids + api_response = api_instance.get_adoption_metrics_per_equipment_per_day(year, equipment_ids) + pprint(api_response) +except ApiException as e: + print("Exception when calling ServiceAdoptionMetricsApi->get_adoption_metrics_per_equipment_per_day: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **year** | **int**| | + **equipment_ids** | [**list[int]**](int.md)| filter by equipment ids. | + +### Return type + +[**list[ServiceAdoptionMetrics]**](ServiceAdoptionMetrics.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_adoption_metrics_per_location_per_day** +> list[ServiceAdoptionMetrics] get_adoption_metrics_per_location_per_day(year, location_ids) + +Get daily service adoption metrics for a given year aggregated by location and filtered by specified location ids + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.ServiceAdoptionMetricsApi(swagger_client.ApiClient(configuration)) +year = 56 # int | +location_ids = [56] # list[int] | filter by location ids. + +try: + # Get daily service adoption metrics for a given year aggregated by location and filtered by specified location ids + api_response = api_instance.get_adoption_metrics_per_location_per_day(year, location_ids) + pprint(api_response) +except ApiException as e: + print("Exception when calling ServiceAdoptionMetricsApi->get_adoption_metrics_per_location_per_day: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **year** | **int**| | + **location_ids** | [**list[int]**](int.md)| filter by location ids. | + +### Return type + +[**list[ServiceAdoptionMetrics]**](ServiceAdoptionMetrics.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ServiceMetric.md b/libs/cloudapi/cloudsdk/docs/ServiceMetric.md new file mode 100644 index 000000000..15a12dab0 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ServiceMetric.md @@ -0,0 +1,16 @@ +# ServiceMetric + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**customer_id** | **int** | | [optional] +**location_id** | **int** | | [optional] +**equipment_id** | **int** | | [optional] +**client_mac** | **int** | int64 representation of the client MAC address, used internally for storage and indexing | [optional] +**client_mac_address** | [**MacAddress**](MacAddress.md) | | [optional] +**data_type** | [**ServiceMetricDataType**](ServiceMetricDataType.md) | | [optional] +**created_timestamp** | **int** | | [optional] +**details** | [**ServiceMetricDetails**](ServiceMetricDetails.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ServiceMetricConfigParameters.md b/libs/cloudapi/cloudsdk/docs/ServiceMetricConfigParameters.md new file mode 100644 index 000000000..275b625c0 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ServiceMetricConfigParameters.md @@ -0,0 +1,11 @@ +# ServiceMetricConfigParameters + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**sampling_interval** | **int** | | [optional] +**reporting_interval_seconds** | **int** | | [optional] +**service_metric_data_type** | [**ServiceMetricDataType**](ServiceMetricDataType.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ServiceMetricDataType.md b/libs/cloudapi/cloudsdk/docs/ServiceMetricDataType.md new file mode 100644 index 000000000..aee52d787 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ServiceMetricDataType.md @@ -0,0 +1,8 @@ +# ServiceMetricDataType + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ServiceMetricDetails.md b/libs/cloudapi/cloudsdk/docs/ServiceMetricDetails.md new file mode 100644 index 000000000..4db636847 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ServiceMetricDetails.md @@ -0,0 +1,8 @@ +# ServiceMetricDetails + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ServiceMetricRadioConfigParameters.md b/libs/cloudapi/cloudsdk/docs/ServiceMetricRadioConfigParameters.md new file mode 100644 index 000000000..34c149615 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ServiceMetricRadioConfigParameters.md @@ -0,0 +1,17 @@ +# ServiceMetricRadioConfigParameters + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**sampling_interval** | **int** | | [optional] +**reporting_interval_seconds** | **int** | | [optional] +**service_metric_data_type** | [**ServiceMetricDataType**](ServiceMetricDataType.md) | | [optional] +**radio_type** | [**RadioType**](RadioType.md) | | [optional] +**channel_survey_type** | [**ChannelUtilizationSurveyType**](ChannelUtilizationSurveyType.md) | | [optional] +**scan_interval_millis** | **int** | | [optional] +**percent_utilization_threshold** | **int** | | [optional] +**delay_milliseconds_threshold** | **int** | | [optional] +**stats_report_format** | [**StatsReportFormat**](StatsReportFormat.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ServiceMetricSurveyConfigParameters.md b/libs/cloudapi/cloudsdk/docs/ServiceMetricSurveyConfigParameters.md new file mode 100644 index 000000000..11f3a1c6c --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ServiceMetricSurveyConfigParameters.md @@ -0,0 +1,12 @@ +# ServiceMetricSurveyConfigParameters + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**sampling_interval** | **int** | | [optional] +**reporting_interval_seconds** | **int** | | [optional] +**service_metric_data_type** | [**ServiceMetricDataType**](ServiceMetricDataType.md) | | [optional] +**radio_type** | [**RadioType**](RadioType.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/ServiceMetricsCollectionConfigProfile.md b/libs/cloudapi/cloudsdk/docs/ServiceMetricsCollectionConfigProfile.md new file mode 100644 index 000000000..ce2e7af18 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/ServiceMetricsCollectionConfigProfile.md @@ -0,0 +1,12 @@ +# ServiceMetricsCollectionConfigProfile + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | [optional] +**radio_types** | [**list[RadioType]**](RadioType.md) | | [optional] +**service_metric_data_types** | [**list[ServiceMetricDataType]**](ServiceMetricDataType.md) | | [optional] +**metric_config_parameter_map** | [**MetricConfigParameterMap**](MetricConfigParameterMap.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/SessionExpiryType.md b/libs/cloudapi/cloudsdk/docs/SessionExpiryType.md new file mode 100644 index 000000000..1e9dc885d --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/SessionExpiryType.md @@ -0,0 +1,8 @@ +# SessionExpiryType + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/SipCallStopReason.md b/libs/cloudapi/cloudsdk/docs/SipCallStopReason.md new file mode 100644 index 000000000..9f5d3651d --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/SipCallStopReason.md @@ -0,0 +1,8 @@ +# SipCallStopReason + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/SortColumnsAlarm.md b/libs/cloudapi/cloudsdk/docs/SortColumnsAlarm.md new file mode 100644 index 000000000..41abcfd24 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/SortColumnsAlarm.md @@ -0,0 +1,11 @@ +# SortColumnsAlarm + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**column_name** | **str** | | [default to 'id'] +**sort_order** | [**SortOrder**](SortOrder.md) | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/SortColumnsClient.md b/libs/cloudapi/cloudsdk/docs/SortColumnsClient.md new file mode 100644 index 000000000..e99feed9c --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/SortColumnsClient.md @@ -0,0 +1,11 @@ +# SortColumnsClient + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**column_name** | **str** | | [default to 'macAddress'] +**sort_order** | [**SortOrder**](SortOrder.md) | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/SortColumnsClientSession.md b/libs/cloudapi/cloudsdk/docs/SortColumnsClientSession.md new file mode 100644 index 000000000..ee7e3ecd7 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/SortColumnsClientSession.md @@ -0,0 +1,11 @@ +# SortColumnsClientSession + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**column_name** | **str** | | [default to 'id'] +**sort_order** | [**SortOrder**](SortOrder.md) | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/SortColumnsEquipment.md b/libs/cloudapi/cloudsdk/docs/SortColumnsEquipment.md new file mode 100644 index 000000000..aa3069b13 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/SortColumnsEquipment.md @@ -0,0 +1,11 @@ +# SortColumnsEquipment + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**column_name** | **str** | | [default to 'id'] +**sort_order** | [**SortOrder**](SortOrder.md) | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/SortColumnsLocation.md b/libs/cloudapi/cloudsdk/docs/SortColumnsLocation.md new file mode 100644 index 000000000..6151eb392 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/SortColumnsLocation.md @@ -0,0 +1,11 @@ +# SortColumnsLocation + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**column_name** | **str** | | [default to 'id'] +**sort_order** | [**SortOrder**](SortOrder.md) | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/SortColumnsPortalUser.md b/libs/cloudapi/cloudsdk/docs/SortColumnsPortalUser.md new file mode 100644 index 000000000..97ca36847 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/SortColumnsPortalUser.md @@ -0,0 +1,11 @@ +# SortColumnsPortalUser + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**column_name** | **str** | | [default to 'id'] +**sort_order** | [**SortOrder**](SortOrder.md) | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/SortColumnsProfile.md b/libs/cloudapi/cloudsdk/docs/SortColumnsProfile.md new file mode 100644 index 000000000..30c928e03 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/SortColumnsProfile.md @@ -0,0 +1,11 @@ +# SortColumnsProfile + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**column_name** | **str** | | [default to 'id'] +**sort_order** | [**SortOrder**](SortOrder.md) | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/SortColumnsServiceMetric.md b/libs/cloudapi/cloudsdk/docs/SortColumnsServiceMetric.md new file mode 100644 index 000000000..4ce069846 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/SortColumnsServiceMetric.md @@ -0,0 +1,11 @@ +# SortColumnsServiceMetric + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**column_name** | **str** | | [default to 'createdTimestamp'] +**sort_order** | [**SortOrder**](SortOrder.md) | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/SortColumnsStatus.md b/libs/cloudapi/cloudsdk/docs/SortColumnsStatus.md new file mode 100644 index 000000000..5363ff4e7 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/SortColumnsStatus.md @@ -0,0 +1,11 @@ +# SortColumnsStatus + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**column_name** | **str** | | [default to 'id'] +**sort_order** | [**SortOrder**](SortOrder.md) | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/SortColumnsSystemEvent.md b/libs/cloudapi/cloudsdk/docs/SortColumnsSystemEvent.md new file mode 100644 index 000000000..db5e55ff6 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/SortColumnsSystemEvent.md @@ -0,0 +1,11 @@ +# SortColumnsSystemEvent + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**column_name** | **str** | | [default to 'equipmentId'] +**sort_order** | [**SortOrder**](SortOrder.md) | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/SortOrder.md b/libs/cloudapi/cloudsdk/docs/SortOrder.md new file mode 100644 index 000000000..5d67a7fc5 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/SortOrder.md @@ -0,0 +1,8 @@ +# SortOrder + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/SourceSelectionManagement.md b/libs/cloudapi/cloudsdk/docs/SourceSelectionManagement.md new file mode 100644 index 000000000..c9e29eba4 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/SourceSelectionManagement.md @@ -0,0 +1,10 @@ +# SourceSelectionManagement + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**source** | [**SourceType**](SourceType.md) | | [optional] +**value** | [**ManagementRate**](ManagementRate.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/SourceSelectionMulticast.md b/libs/cloudapi/cloudsdk/docs/SourceSelectionMulticast.md new file mode 100644 index 000000000..76511369c --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/SourceSelectionMulticast.md @@ -0,0 +1,10 @@ +# SourceSelectionMulticast + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**source** | [**SourceType**](SourceType.md) | | [optional] +**value** | [**MulticastRate**](MulticastRate.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/SourceSelectionSteering.md b/libs/cloudapi/cloudsdk/docs/SourceSelectionSteering.md new file mode 100644 index 000000000..7c9a63618 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/SourceSelectionSteering.md @@ -0,0 +1,10 @@ +# SourceSelectionSteering + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**source** | [**SourceType**](SourceType.md) | | [optional] +**value** | [**RadioBestApSettings**](RadioBestApSettings.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/SourceSelectionValue.md b/libs/cloudapi/cloudsdk/docs/SourceSelectionValue.md new file mode 100644 index 000000000..a9ad76a9b --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/SourceSelectionValue.md @@ -0,0 +1,10 @@ +# SourceSelectionValue + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**source** | [**SourceType**](SourceType.md) | | [optional] +**value** | **int** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/SourceType.md b/libs/cloudapi/cloudsdk/docs/SourceType.md new file mode 100644 index 000000000..124907284 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/SourceType.md @@ -0,0 +1,8 @@ +# SourceType + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/SsidConfiguration.md b/libs/cloudapi/cloudsdk/docs/SsidConfiguration.md new file mode 100644 index 000000000..e2722f562 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/SsidConfiguration.md @@ -0,0 +1,33 @@ +# SsidConfiguration + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | [optional] +**ssid** | **str** | | [optional] +**applied_radios** | [**list[RadioType]**](RadioType.md) | | [optional] +**ssid_admin_state** | [**StateSetting**](StateSetting.md) | | [optional] +**secure_mode** | [**SsidSecureMode**](SsidSecureMode.md) | | [optional] +**vlan_id** | **int** | | [optional] +**dynamic_vlan** | [**DynamicVlanMode**](DynamicVlanMode.md) | | [optional] +**key_str** | **str** | | [optional] +**broadcast_ssid** | [**StateSetting**](StateSetting.md) | | [optional] +**key_refresh** | **int** | | [optional] [default to 0] +**no_local_subnets** | **bool** | | [optional] +**radius_service_id** | **int** | | [optional] +**radius_acounting_service_interval** | **int** | If this is set (i.e. non-null), RadiusAccountingService is configured, and SsidSecureMode is configured as Enterprise/Radius, ap will send interim accounting updates every N seconds | [optional] +**radius_nas_configuration** | [**RadiusNasConfiguration**](RadiusNasConfiguration.md) | | [optional] +**captive_portal_id** | **int** | id of a CaptivePortalConfiguration profile, must be also added to the children of this profile | [optional] +**bandwidth_limit_down** | **int** | | [optional] +**bandwidth_limit_up** | **int** | | [optional] +**client_bandwidth_limit_down** | **int** | | [optional] +**client_bandwidth_limit_up** | **int** | | [optional] +**video_traffic_only** | **bool** | | [optional] +**radio_based_configs** | [**RadioBasedSsidConfigurationMap**](RadioBasedSsidConfigurationMap.md) | | [optional] +**bonjour_gateway_profile_id** | **int** | id of a BonjourGateway profile, must be also added to the children of this profile | [optional] +**enable80211w** | **bool** | | [optional] +**wep_config** | [**WepConfiguration**](WepConfiguration.md) | | [optional] +**forward_mode** | [**NetworkForwardMode**](NetworkForwardMode.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/SsidSecureMode.md b/libs/cloudapi/cloudsdk/docs/SsidSecureMode.md new file mode 100644 index 000000000..1dfd0af32 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/SsidSecureMode.md @@ -0,0 +1,8 @@ +# SsidSecureMode + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/SsidStatistics.md b/libs/cloudapi/cloudsdk/docs/SsidStatistics.md new file mode 100644 index 000000000..a558a10d8 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/SsidStatistics.md @@ -0,0 +1,57 @@ +# SsidStatistics + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ssid** | **str** | SSID | [optional] +**bssid** | [**MacAddress**](MacAddress.md) | | [optional] +**num_client** | **int** | Number client associated to this BSS | [optional] +**rx_last_rssi** | **int** | The RSSI of last frame received. | [optional] +**num_rx_no_fcs_err** | **int** | The number of received frames without FCS errors. | [optional] +**num_rx_data** | **int** | The number of received data frames. | [optional] +**num_rx_management** | **int** | The number of received management frames. | [optional] +**num_rx_control** | **int** | The number of received control frames. | [optional] +**rx_bytes** | **int** | The number of received bytes. | [optional] +**rx_data_bytes** | **int** | The number of received data bytes. | [optional] +**num_rx_rts** | **int** | The number of received RTS frames. | [optional] +**num_rx_cts** | **int** | The number of received CTS frames. | [optional] +**num_rx_ack** | **int** | The number of all received ACK frames (Acks + BlockAcks). | [optional] +**num_rx_probe_req** | **int** | The number of received probe request frames. | [optional] +**num_rx_retry** | **int** | The number of received retry frames. | [optional] +**num_rx_dup** | **int** | The number of received duplicated frames. | [optional] +**num_rx_null_data** | **int** | The number of received null data frames. | [optional] +**num_rx_pspoll** | **int** | The number of received ps-poll frames. | [optional] +**num_rx_stbc** | **int** | The number of received STBC frames. | [optional] +**num_rx_ldpc** | **int** | The number of received LDPC frames. | [optional] +**num_rcv_frame_for_tx** | **int** | The number of received ethernet and local generated frames for transmit. | [optional] +**num_tx_queued** | **int** | The number of TX frames queued. | [optional] +**num_rcv_bc_for_tx** | **int** | The number of received ethernet and local generated broadcast frames for transmit. | [optional] +**num_tx_dropped** | **int** | The number of every TX frame dropped. | [optional] +**num_tx_retry_dropped** | **int** | The number of TX frame dropped due to retries. | [optional] +**num_tx_bc_dropped** | **int** | The number of broadcast frames dropped. | [optional] +**num_tx_succ** | **int** | The number of frames successfully transmitted. | [optional] +**num_tx_bytes_succ** | **int** | The number of bytes successfully transmitted. | [optional] +**num_tx_ps_unicast** | **int** | The number of transmitted PS unicast frame. | [optional] +**num_tx_dtim_mc** | **int** | The number of transmitted DTIM multicast frames. | [optional] +**num_tx_succ_no_retry** | **int** | The number of successfully transmitted frames at firt attemp. | [optional] +**num_tx_succ_retries** | **int** | The number of successfully transmitted frames with retries. | [optional] +**num_tx_multi_retries** | **int** | The number of Tx frames with retries. | [optional] +**num_tx_management** | **int** | The number of TX management frames. | [optional] +**num_tx_control** | **int** | The number of Tx control frames. | [optional] +**num_tx_action** | **int** | The number of Tx action frames. | [optional] +**num_tx_prop_resp** | **int** | The number of TX probe response. | [optional] +**num_tx_data** | **int** | The number of Tx data frames. | [optional] +**num_tx_data_retries** | **int** | The number of Tx data frames with retries. | [optional] +**num_tx_rts_succ** | **int** | The number of RTS frames sent successfully. | [optional] +**num_tx_rts_fail** | **int** | The number of RTS frames failed transmission. | [optional] +**num_tx_no_ack** | **int** | The number of TX frames failed because of not Acked. | [optional] +**num_tx_eapol** | **int** | The number of EAPOL frames sent. | [optional] +**num_tx_ldpc** | **int** | The number of total LDPC frames sent. | [optional] +**num_tx_stbc** | **int** | The number of total STBC frames sent. | [optional] +**num_tx_aggr_succ** | **int** | The number of aggregation frames sent successfully. | [optional] +**num_tx_aggr_one_mpdu** | **int** | The number of aggregation frames sent using single MPDU (where the A-MPDU contains only one MPDU ). | [optional] +**wmm_queue_stats** | [**WmmQueueStatsPerQueueTypeMap**](WmmQueueStatsPerQueueTypeMap.md) | | [optional] +**mcs_stats** | [**list[McsStats]**](McsStats.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/StateSetting.md b/libs/cloudapi/cloudsdk/docs/StateSetting.md new file mode 100644 index 000000000..377c6f729 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/StateSetting.md @@ -0,0 +1,8 @@ +# StateSetting + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/StateUpDownError.md b/libs/cloudapi/cloudsdk/docs/StateUpDownError.md new file mode 100644 index 000000000..5d14a947d --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/StateUpDownError.md @@ -0,0 +1,8 @@ +# StateUpDownError + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/StatsReportFormat.md b/libs/cloudapi/cloudsdk/docs/StatsReportFormat.md new file mode 100644 index 000000000..800c1e565 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/StatsReportFormat.md @@ -0,0 +1,8 @@ +# StatsReportFormat + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/Status.md b/libs/cloudapi/cloudsdk/docs/Status.md new file mode 100644 index 000000000..89a2e2206 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/Status.md @@ -0,0 +1,15 @@ +# Status + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | [optional] +**customer_id** | **int** | | [optional] +**equipment_id** | **int** | | [optional] +**status_data_type** | [**StatusDataType**](StatusDataType.md) | | [optional] +**status_details** | [**StatusDetails**](StatusDetails.md) | | [optional] +**created_timestamp** | **int** | | [optional] +**last_modified_timestamp** | **int** | This class does not perform checks against concurrrent updates. Here last update always wins. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/StatusApi.md b/libs/cloudapi/cloudsdk/docs/StatusApi.md new file mode 100644 index 000000000..d49d0e76f --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/StatusApi.md @@ -0,0 +1,217 @@ +# swagger_client.StatusApi + +All URIs are relative to *https://localhost:9091* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**get_status_by_customer_equipment**](StatusApi.md#get_status_by_customer_equipment) | **GET** /portal/status/forEquipment | Get all Status objects for a given customer equipment. +[**get_status_by_customer_equipment_with_filter**](StatusApi.md#get_status_by_customer_equipment_with_filter) | **GET** /portal/status/forEquipmentWithFilter | Get Status objects for a given customer equipment ids and status data types. +[**get_status_by_customer_id**](StatusApi.md#get_status_by_customer_id) | **GET** /portal/status/forCustomer | Get all Status objects By customerId +[**get_status_by_customer_with_filter**](StatusApi.md#get_status_by_customer_with_filter) | **GET** /portal/status/forCustomerWithFilter | Get list of Statuses for customerId, set of equipment ids, and set of status data types. + +# **get_status_by_customer_equipment** +> list[Status] get_status_by_customer_equipment(customer_id, equipment_id) + +Get all Status objects for a given customer equipment. + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.StatusApi(swagger_client.ApiClient(configuration)) +customer_id = 56 # int | customer id +equipment_id = 789 # int | Equipment id + +try: + # Get all Status objects for a given customer equipment. + api_response = api_instance.get_status_by_customer_equipment(customer_id, equipment_id) + pprint(api_response) +except ApiException as e: + print("Exception when calling StatusApi->get_status_by_customer_equipment: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **customer_id** | **int**| customer id | + **equipment_id** | **int**| Equipment id | + +### Return type + +[**list[Status]**](Status.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_status_by_customer_equipment_with_filter** +> list[Status] get_status_by_customer_equipment_with_filter(customer_id, equipment_ids, status_data_types=status_data_types) + +Get Status objects for a given customer equipment ids and status data types. + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.StatusApi(swagger_client.ApiClient(configuration)) +customer_id = 56 # int | customer id +equipment_ids = [56] # list[int] | Set of equipment ids. Must not be empty or null. +status_data_types = [swagger_client.StatusDataType()] # list[StatusDataType] | Set of status data types. Empty or null means retrieve all data types. (optional) + +try: + # Get Status objects for a given customer equipment ids and status data types. + api_response = api_instance.get_status_by_customer_equipment_with_filter(customer_id, equipment_ids, status_data_types=status_data_types) + pprint(api_response) +except ApiException as e: + print("Exception when calling StatusApi->get_status_by_customer_equipment_with_filter: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **customer_id** | **int**| customer id | + **equipment_ids** | [**list[int]**](int.md)| Set of equipment ids. Must not be empty or null. | + **status_data_types** | [**list[StatusDataType]**](StatusDataType.md)| Set of status data types. Empty or null means retrieve all data types. | [optional] + +### Return type + +[**list[Status]**](Status.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_status_by_customer_id** +> PaginationResponseStatus get_status_by_customer_id(customer_id, pagination_context, sort_by=sort_by) + +Get all Status objects By customerId + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.StatusApi(swagger_client.ApiClient(configuration)) +customer_id = 56 # int | customer id +pagination_context = swagger_client.PaginationContextStatus() # PaginationContextStatus | pagination context +sort_by = [swagger_client.SortColumnsStatus()] # list[SortColumnsStatus] | sort options (optional) + +try: + # Get all Status objects By customerId + api_response = api_instance.get_status_by_customer_id(customer_id, pagination_context, sort_by=sort_by) + pprint(api_response) +except ApiException as e: + print("Exception when calling StatusApi->get_status_by_customer_id: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **customer_id** | **int**| customer id | + **pagination_context** | [**PaginationContextStatus**](.md)| pagination context | + **sort_by** | [**list[SortColumnsStatus]**](SortColumnsStatus.md)| sort options | [optional] + +### Return type + +[**PaginationResponseStatus**](PaginationResponseStatus.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_status_by_customer_with_filter** +> PaginationResponseStatus get_status_by_customer_with_filter(customer_id, pagination_context, equipment_ids=equipment_ids, status_data_types=status_data_types, sort_by=sort_by) + +Get list of Statuses for customerId, set of equipment ids, and set of status data types. + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.StatusApi(swagger_client.ApiClient(configuration)) +customer_id = 56 # int | customer id +pagination_context = swagger_client.PaginationContextStatus() # PaginationContextStatus | pagination context +equipment_ids = [56] # list[int] | Set of equipment ids. Empty or null means retrieve all equipment for the customer. (optional) +status_data_types = [swagger_client.StatusDataType()] # list[StatusDataType] | Set of status data types. Empty or null means retrieve all data types. (optional) +sort_by = [swagger_client.SortColumnsStatus()] # list[SortColumnsStatus] | sort options (optional) + +try: + # Get list of Statuses for customerId, set of equipment ids, and set of status data types. + api_response = api_instance.get_status_by_customer_with_filter(customer_id, pagination_context, equipment_ids=equipment_ids, status_data_types=status_data_types, sort_by=sort_by) + pprint(api_response) +except ApiException as e: + print("Exception when calling StatusApi->get_status_by_customer_with_filter: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **customer_id** | **int**| customer id | + **pagination_context** | [**PaginationContextStatus**](.md)| pagination context | + **equipment_ids** | [**list[int]**](int.md)| Set of equipment ids. Empty or null means retrieve all equipment for the customer. | [optional] + **status_data_types** | [**list[StatusDataType]**](StatusDataType.md)| Set of status data types. Empty or null means retrieve all data types. | [optional] + **sort_by** | [**list[SortColumnsStatus]**](SortColumnsStatus.md)| sort options | [optional] + +### Return type + +[**PaginationResponseStatus**](PaginationResponseStatus.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/StatusChangedEvent.md b/libs/cloudapi/cloudsdk/docs/StatusChangedEvent.md new file mode 100644 index 000000000..e527f143d --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/StatusChangedEvent.md @@ -0,0 +1,13 @@ +# StatusChangedEvent + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**event_timestamp** | **int** | | [optional] +**customer_id** | **int** | | [optional] +**equipment_id** | **int** | | [optional] +**payload** | [**Status**](Status.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/StatusCode.md b/libs/cloudapi/cloudsdk/docs/StatusCode.md new file mode 100644 index 000000000..53349758d --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/StatusCode.md @@ -0,0 +1,8 @@ +# StatusCode + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/StatusDataType.md b/libs/cloudapi/cloudsdk/docs/StatusDataType.md new file mode 100644 index 000000000..24f0823f2 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/StatusDataType.md @@ -0,0 +1,8 @@ +# StatusDataType + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/StatusDetails.md b/libs/cloudapi/cloudsdk/docs/StatusDetails.md new file mode 100644 index 000000000..ce38cd23f --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/StatusDetails.md @@ -0,0 +1,8 @@ +# StatusDetails + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/StatusRemovedEvent.md b/libs/cloudapi/cloudsdk/docs/StatusRemovedEvent.md new file mode 100644 index 000000000..aa678f5af --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/StatusRemovedEvent.md @@ -0,0 +1,13 @@ +# StatusRemovedEvent + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**event_timestamp** | **int** | | [optional] +**customer_id** | **int** | | [optional] +**equipment_id** | **int** | | [optional] +**payload** | [**Status**](Status.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/SteerType.md b/libs/cloudapi/cloudsdk/docs/SteerType.md new file mode 100644 index 000000000..2e15fe49f --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/SteerType.md @@ -0,0 +1,8 @@ +# SteerType + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/StreamingVideoServerRecord.md b/libs/cloudapi/cloudsdk/docs/StreamingVideoServerRecord.md new file mode 100644 index 000000000..ae16ea466 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/StreamingVideoServerRecord.md @@ -0,0 +1,15 @@ +# StreamingVideoServerRecord + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **int** | | [optional] +**customer_id** | **int** | | [optional] +**equipment_id** | **int** | | [optional] +**ip_addr** | **str** | | [optional] +**type** | [**StreamingVideoType**](StreamingVideoType.md) | | [optional] +**created_timestamp** | **int** | | [optional] +**last_modified_timestamp** | **int** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/StreamingVideoType.md b/libs/cloudapi/cloudsdk/docs/StreamingVideoType.md new file mode 100644 index 000000000..008b46ea9 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/StreamingVideoType.md @@ -0,0 +1,8 @@ +# StreamingVideoType + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/SyslogRelay.md b/libs/cloudapi/cloudsdk/docs/SyslogRelay.md new file mode 100644 index 000000000..14df5362b --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/SyslogRelay.md @@ -0,0 +1,12 @@ +# SyslogRelay + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**enabled** | **bool** | | [optional] +**srv_host_ip** | **str** | | [optional] +**srv_host_port** | **int** | | [optional] +**severity** | [**SyslogSeverityType**](SyslogSeverityType.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/SyslogSeverityType.md b/libs/cloudapi/cloudsdk/docs/SyslogSeverityType.md new file mode 100644 index 000000000..51e861246 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/SyslogSeverityType.md @@ -0,0 +1,8 @@ +# SyslogSeverityType + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/SystemEvent.md b/libs/cloudapi/cloudsdk/docs/SystemEvent.md new file mode 100644 index 000000000..b36c20a6a --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/SystemEvent.md @@ -0,0 +1,8 @@ +# SystemEvent + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/SystemEventDataType.md b/libs/cloudapi/cloudsdk/docs/SystemEventDataType.md new file mode 100644 index 000000000..7989597f2 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/SystemEventDataType.md @@ -0,0 +1,8 @@ +# SystemEventDataType + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/SystemEventRecord.md b/libs/cloudapi/cloudsdk/docs/SystemEventRecord.md new file mode 100644 index 000000000..29161cdf4 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/SystemEventRecord.md @@ -0,0 +1,16 @@ +# SystemEventRecord + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**customer_id** | **int** | | [optional] +**location_id** | **int** | | [optional] +**equipment_id** | **int** | | [optional] +**client_mac** | **int** | int64 representation of the client MAC address, used internally for storage and indexing | [optional] +**client_mac_address** | [**MacAddress**](MacAddress.md) | | [optional] +**data_type** | [**SystemEventDataType**](SystemEventDataType.md) | | [optional] +**event_timestamp** | **int** | | [optional] +**details** | [**SystemEvent**](SystemEvent.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/SystemEventsApi.md b/libs/cloudapi/cloudsdk/docs/SystemEventsApi.md new file mode 100644 index 000000000..4f8555ed9 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/SystemEventsApi.md @@ -0,0 +1,71 @@ +# swagger_client.SystemEventsApi + +All URIs are relative to *https://localhost:9091* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**get_system_eventsfor_customer**](SystemEventsApi.md#get_system_eventsfor_customer) | **GET** /portal/systemEvent/forCustomer | Get list of System Events for customerId, optional set of equipment ids, and optional set of data types. Only events that are created between specified fromTime and toTime are retrieved. + +# **get_system_eventsfor_customer** +> PaginationResponseSystemEvent get_system_eventsfor_customer(from_time, to_time, customer_id, pagination_context, location_ids=location_ids, equipment_ids=equipment_ids, client_macs=client_macs, data_types=data_types, sort_by=sort_by) + +Get list of System Events for customerId, optional set of equipment ids, and optional set of data types. Only events that are created between specified fromTime and toTime are retrieved. + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.SystemEventsApi(swagger_client.ApiClient(configuration)) +from_time = 789 # int | Include events created after (and including) this timestamp in milliseconds +to_time = 789 # int | Include events created before (and including) this timestamp in milliseconds +customer_id = 56 # int | customer id +pagination_context = swagger_client.PaginationContextSystemEvent() # PaginationContextSystemEvent | pagination context +location_ids = [56] # list[int] | Set of location ids. Empty or null means retrieve events for all locations for the customer. (optional) +equipment_ids = [56] # list[int] | Set of equipment ids. Empty or null means retrieve events for all equipment for the customer. (optional) +client_macs = ['client_macs_example'] # list[str] | Set of client MAC addresses. Empty or null means retrieve events for all client MACs for the customer. (optional) +data_types = [swagger_client.SystemEventDataType()] # list[SystemEventDataType] | Set of system event data types. Empty or null means retrieve all. (optional) +sort_by = [swagger_client.SortColumnsSystemEvent()] # list[SortColumnsSystemEvent] | Sort options. If not provided, then results will be ordered by equipmentId and createdTimestamp. (optional) + +try: + # Get list of System Events for customerId, optional set of equipment ids, and optional set of data types. Only events that are created between specified fromTime and toTime are retrieved. + api_response = api_instance.get_system_eventsfor_customer(from_time, to_time, customer_id, pagination_context, location_ids=location_ids, equipment_ids=equipment_ids, client_macs=client_macs, data_types=data_types, sort_by=sort_by) + pprint(api_response) +except ApiException as e: + print("Exception when calling SystemEventsApi->get_system_eventsfor_customer: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **from_time** | **int**| Include events created after (and including) this timestamp in milliseconds | + **to_time** | **int**| Include events created before (and including) this timestamp in milliseconds | + **customer_id** | **int**| customer id | + **pagination_context** | [**PaginationContextSystemEvent**](.md)| pagination context | + **location_ids** | [**list[int]**](int.md)| Set of location ids. Empty or null means retrieve events for all locations for the customer. | [optional] + **equipment_ids** | [**list[int]**](int.md)| Set of equipment ids. Empty or null means retrieve events for all equipment for the customer. | [optional] + **client_macs** | [**list[str]**](str.md)| Set of client MAC addresses. Empty or null means retrieve events for all client MACs for the customer. | [optional] + **data_types** | [**list[SystemEventDataType]**](SystemEventDataType.md)| Set of system event data types. Empty or null means retrieve all. | [optional] + **sort_by** | [**list[SortColumnsSystemEvent]**](SortColumnsSystemEvent.md)| Sort options. If not provided, then results will be ordered by equipmentId and createdTimestamp. | [optional] + +### Return type + +[**PaginationResponseSystemEvent**](PaginationResponseSystemEvent.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/TimedAccessUserDetails.md b/libs/cloudapi/cloudsdk/docs/TimedAccessUserDetails.md new file mode 100644 index 000000000..61d124cab --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/TimedAccessUserDetails.md @@ -0,0 +1,11 @@ +# TimedAccessUserDetails + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**first_name** | **str** | | [optional] +**last_name** | **str** | | [optional] +**password_needs_reset** | **bool** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/TimedAccessUserRecord.md b/libs/cloudapi/cloudsdk/docs/TimedAccessUserRecord.md new file mode 100644 index 000000000..5e5014cff --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/TimedAccessUserRecord.md @@ -0,0 +1,16 @@ +# TimedAccessUserRecord + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**username** | **str** | | [optional] +**password** | **str** | | [optional] +**activation_time** | **int** | | [optional] +**expiration_time** | **int** | | [optional] +**num_devices** | **int** | | [optional] +**user_details** | [**TimedAccessUserDetails**](TimedAccessUserDetails.md) | | [optional] +**user_mac_addresses** | [**list[MacAddress]**](MacAddress.md) | | [optional] +**last_modified_timestamp** | **int** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/TrackFlag.md b/libs/cloudapi/cloudsdk/docs/TrackFlag.md new file mode 100644 index 000000000..5bbc394a0 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/TrackFlag.md @@ -0,0 +1,8 @@ +# TrackFlag + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/TrafficDetails.md b/libs/cloudapi/cloudsdk/docs/TrafficDetails.md new file mode 100644 index 000000000..9f609c7fb --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/TrafficDetails.md @@ -0,0 +1,11 @@ +# TrafficDetails + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**per_radio_details** | [**TrafficPerRadioDetailsPerRadioTypeMap**](TrafficPerRadioDetailsPerRadioTypeMap.md) | | [optional] +**indicator_value_rx_mbps** | **float** | | [optional] +**indicator_value_tx_mbps** | **float** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/TrafficPerRadioDetails.md b/libs/cloudapi/cloudsdk/docs/TrafficPerRadioDetails.md new file mode 100644 index 000000000..d8677d44b --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/TrafficPerRadioDetails.md @@ -0,0 +1,20 @@ +# TrafficPerRadioDetails + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**min_rx_mbps** | **float** | | [optional] +**max_rx_mbps** | **float** | | [optional] +**avg_rx_mbps** | **float** | | [optional] +**total_rx_mbps** | **float** | | [optional] +**min_tx_mbps** | **float** | | [optional] +**max_tx_mbps** | **float** | | [optional] +**avg_tx_mbps** | **float** | | [optional] +**total_tx_mbps** | **float** | | [optional] +**num_good_equipment** | **int** | | [optional] +**num_warn_equipment** | **int** | | [optional] +**num_bad_equipment** | **int** | | [optional] +**total_aps_reported** | **int** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/TrafficPerRadioDetailsPerRadioTypeMap.md b/libs/cloudapi/cloudsdk/docs/TrafficPerRadioDetailsPerRadioTypeMap.md new file mode 100644 index 000000000..f1143518d --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/TrafficPerRadioDetailsPerRadioTypeMap.md @@ -0,0 +1,12 @@ +# TrafficPerRadioDetailsPerRadioTypeMap + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**is5_g_hz** | [**TrafficPerRadioDetails**](TrafficPerRadioDetails.md) | | [optional] +**is5_g_hz_u** | [**TrafficPerRadioDetails**](TrafficPerRadioDetails.md) | | [optional] +**is5_g_hz_l** | [**TrafficPerRadioDetails**](TrafficPerRadioDetails.md) | | [optional] +**is2dot4_g_hz** | [**TrafficPerRadioDetails**](TrafficPerRadioDetails.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/TunnelIndicator.md b/libs/cloudapi/cloudsdk/docs/TunnelIndicator.md new file mode 100644 index 000000000..2f9d77a18 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/TunnelIndicator.md @@ -0,0 +1,8 @@ +# TunnelIndicator + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/TunnelMetricData.md b/libs/cloudapi/cloudsdk/docs/TunnelMetricData.md new file mode 100644 index 000000000..7738b46f4 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/TunnelMetricData.md @@ -0,0 +1,14 @@ +# TunnelMetricData + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ip_addr** | **str** | IP address of tunnel peer | [optional] +**cfg_time** | **int** | number of seconds tunnel was configured | [optional] +**up_time** | **int** | number of seconds tunnel was up in current bin | [optional] +**pings_sent** | **int** | number of 'ping' sent in the current bin in case tunnel was DOWN | [optional] +**pings_recvd** | **int** | number of 'ping' response received by peer in the current bin in case tunnel was DOWN | [optional] +**active_tun** | **bool** | Indicates if the current tunnel is the active one | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/UnserializableSystemEvent.md b/libs/cloudapi/cloudsdk/docs/UnserializableSystemEvent.md new file mode 100644 index 000000000..617543512 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/UnserializableSystemEvent.md @@ -0,0 +1,13 @@ +# UnserializableSystemEvent + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_type** | **str** | | +**event_timestamp** | **int** | | [optional] +**customer_id** | **int** | | [optional] +**equipment_id** | **int** | | [optional] +**payload** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/UserDetails.md b/libs/cloudapi/cloudsdk/docs/UserDetails.md new file mode 100644 index 000000000..1ffb90833 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/UserDetails.md @@ -0,0 +1,19 @@ +# UserDetails + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**total_users** | [**MinMaxAvgValueInt**](MinMaxAvgValueInt.md) | | [optional] +**users_per_radio** | [**MinMaxAvgValueIntPerRadioMap**](MinMaxAvgValueIntPerRadioMap.md) | | [optional] +**num_good_equipment** | **int** | | [optional] +**num_warn_equipment** | **int** | | [optional] +**num_bad_equipment** | **int** | | [optional] +**user_device_per_manufacturer_counts** | [**IntegerValueMap**](IntegerValueMap.md) | | [optional] +**total_aps_reported** | **int** | | [optional] +**indicator_value** | **int** | | [optional] +**indicator_value_per_radio** | [**IntegerPerRadioTypeMap**](IntegerPerRadioTypeMap.md) | | [optional] +**link_quality_per_radio** | [**LinkQualityAggregatedStatsPerRadioTypeMap**](LinkQualityAggregatedStatsPerRadioTypeMap.md) | | [optional] +**client_activity_per_radio** | [**ClientActivityAggregatedStatsPerRadioTypeMap**](ClientActivityAggregatedStatsPerRadioTypeMap.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/VLANStatusData.md b/libs/cloudapi/cloudsdk/docs/VLANStatusData.md new file mode 100644 index 000000000..d4ddf3d81 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/VLANStatusData.md @@ -0,0 +1,15 @@ +# VLANStatusData + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ip_base** | **str** | | [optional] +**subnet_mask** | **str** | | [optional] +**gateway** | **str** | | [optional] +**dhcp_server** | **str** | | [optional] +**dns_server1** | **str** | | [optional] +**dns_server2** | **str** | | [optional] +**dns_server3** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/VLANStatusDataMap.md b/libs/cloudapi/cloudsdk/docs/VLANStatusDataMap.md new file mode 100644 index 000000000..a92eb7ea5 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/VLANStatusDataMap.md @@ -0,0 +1,8 @@ +# VLANStatusDataMap + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/VlanSubnet.md b/libs/cloudapi/cloudsdk/docs/VlanSubnet.md new file mode 100644 index 000000000..9a3066e13 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/VlanSubnet.md @@ -0,0 +1,16 @@ +# VlanSubnet + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**subnet_vlan** | **int** | | [optional] +**subnet_base** | **str** | string representing InetAddress | [optional] +**subnet_mask** | **str** | string representing InetAddress | [optional] +**subnet_gateway** | **str** | string representing InetAddress | [optional] +**subnet_dhcp_server** | **str** | string representing InetAddress | [optional] +**subnet_dns1** | **str** | string representing InetAddress | [optional] +**subnet_dns2** | **str** | string representing InetAddress | [optional] +**subnet_dns3** | **str** | string representing InetAddress | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/WLANServiceMetricsApi.md b/libs/cloudapi/cloudsdk/docs/WLANServiceMetricsApi.md new file mode 100644 index 000000000..87d65ade6 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/WLANServiceMetricsApi.md @@ -0,0 +1,71 @@ +# swagger_client.WLANServiceMetricsApi + +All URIs are relative to *https://localhost:9091* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**get_service_metricsfor_customer**](WLANServiceMetricsApi.md#get_service_metricsfor_customer) | **GET** /portal/serviceMetric/forCustomer | Get list of WLAN Service Metrics for customerId, optional set of location ids, optional set of equipment ids, optional set of client MAC addresses, optional set of metric data types. Only metrics that are created between specified fromTime and toTime are retrieved. + +# **get_service_metricsfor_customer** +> PaginationResponseServiceMetric get_service_metricsfor_customer(from_time, to_time, customer_id, pagination_context, location_ids=location_ids, equipment_ids=equipment_ids, client_macs=client_macs, data_types=data_types, sort_by=sort_by) + +Get list of WLAN Service Metrics for customerId, optional set of location ids, optional set of equipment ids, optional set of client MAC addresses, optional set of metric data types. Only metrics that are created between specified fromTime and toTime are retrieved. + +### Example +```python +from __future__ import print_function +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + + +# create an instance of the API class +api_instance = swagger_client.WLANServiceMetricsApi(swagger_client.ApiClient(configuration)) +from_time = 789 # int | Include metrics created after (and including) this timestamp in milliseconds +to_time = 789 # int | Include metrics created before (and including) this timestamp in milliseconds +customer_id = 56 # int | customer id +pagination_context = swagger_client.PaginationContextServiceMetric() # PaginationContextServiceMetric | pagination context +location_ids = [56] # list[int] | Set of location ids. Empty or null means retrieve metrics for all locations for the customer. (optional) +equipment_ids = [56] # list[int] | Set of equipment ids. Empty or null means retrieve metrics for all equipment for the customer. (optional) +client_macs = ['client_macs_example'] # list[str] | Set of client MAC addresses. Empty or null means retrieve metrics for all client MACs for the customer. (optional) +data_types = [swagger_client.ServiceMetricDataType()] # list[ServiceMetricDataType] | Set of metric data types. Empty or null means retrieve all. (optional) +sort_by = [swagger_client.SortColumnsServiceMetric()] # list[SortColumnsServiceMetric] | Sort options. If not provided, then results will be ordered by equipmentId and createdTimestamp. (optional) + +try: + # Get list of WLAN Service Metrics for customerId, optional set of location ids, optional set of equipment ids, optional set of client MAC addresses, optional set of metric data types. Only metrics that are created between specified fromTime and toTime are retrieved. + api_response = api_instance.get_service_metricsfor_customer(from_time, to_time, customer_id, pagination_context, location_ids=location_ids, equipment_ids=equipment_ids, client_macs=client_macs, data_types=data_types, sort_by=sort_by) + pprint(api_response) +except ApiException as e: + print("Exception when calling WLANServiceMetricsApi->get_service_metricsfor_customer: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **from_time** | **int**| Include metrics created after (and including) this timestamp in milliseconds | + **to_time** | **int**| Include metrics created before (and including) this timestamp in milliseconds | + **customer_id** | **int**| customer id | + **pagination_context** | [**PaginationContextServiceMetric**](.md)| pagination context | + **location_ids** | [**list[int]**](int.md)| Set of location ids. Empty or null means retrieve metrics for all locations for the customer. | [optional] + **equipment_ids** | [**list[int]**](int.md)| Set of equipment ids. Empty or null means retrieve metrics for all equipment for the customer. | [optional] + **client_macs** | [**list[str]**](str.md)| Set of client MAC addresses. Empty or null means retrieve metrics for all client MACs for the customer. | [optional] + **data_types** | [**list[ServiceMetricDataType]**](ServiceMetricDataType.md)| Set of metric data types. Empty or null means retrieve all. | [optional] + **sort_by** | [**list[SortColumnsServiceMetric]**](SortColumnsServiceMetric.md)| Sort options. If not provided, then results will be ordered by equipmentId and createdTimestamp. | [optional] + +### Return type + +[**PaginationResponseServiceMetric**](PaginationResponseServiceMetric.md) + +### Authorization + +[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/WebTokenAclTemplate.md b/libs/cloudapi/cloudsdk/docs/WebTokenAclTemplate.md new file mode 100644 index 000000000..dadbef962 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/WebTokenAclTemplate.md @@ -0,0 +1,9 @@ +# WebTokenAclTemplate + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**acl_template** | [**AclTemplate**](AclTemplate.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/WebTokenRequest.md b/libs/cloudapi/cloudsdk/docs/WebTokenRequest.md new file mode 100644 index 000000000..0b3eea063 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/WebTokenRequest.md @@ -0,0 +1,11 @@ +# WebTokenRequest + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**user_id** | **str** | | [default to 'support@example.com'] +**password** | **str** | | [default to 'support'] +**refresh_token** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/WebTokenResult.md b/libs/cloudapi/cloudsdk/docs/WebTokenResult.md new file mode 100644 index 000000000..3a42755bd --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/WebTokenResult.md @@ -0,0 +1,15 @@ +# WebTokenResult + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**access_token** | **str** | | [optional] +**refresh_token** | **str** | | [optional] +**id_token** | **str** | | [optional] +**token_type** | **str** | | [optional] +**expires_in** | **int** | | [optional] +**idle_timeout** | **int** | | [optional] +**acl_template** | [**WebTokenAclTemplate**](WebTokenAclTemplate.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/WepAuthType.md b/libs/cloudapi/cloudsdk/docs/WepAuthType.md new file mode 100644 index 000000000..c9ffd9e43 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/WepAuthType.md @@ -0,0 +1,8 @@ +# WepAuthType + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/WepConfiguration.md b/libs/cloudapi/cloudsdk/docs/WepConfiguration.md new file mode 100644 index 000000000..281dfa5bf --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/WepConfiguration.md @@ -0,0 +1,11 @@ +# WepConfiguration + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**primary_tx_key_id** | **int** | | [optional] +**wep_keys** | [**list[WepKey]**](WepKey.md) | | [optional] +**wep_auth_type** | [**WepAuthType**](WepAuthType.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/WepKey.md b/libs/cloudapi/cloudsdk/docs/WepKey.md new file mode 100644 index 000000000..60e4263a8 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/WepKey.md @@ -0,0 +1,11 @@ +# WepKey + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**tx_key** | **str** | | [optional] +**tx_key_converted** | **str** | | [optional] +**tx_key_type** | [**WepType**](WepType.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/WepType.md b/libs/cloudapi/cloudsdk/docs/WepType.md new file mode 100644 index 000000000..feb8b3956 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/WepType.md @@ -0,0 +1,8 @@ +# WepType + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/WlanReasonCode.md b/libs/cloudapi/cloudsdk/docs/WlanReasonCode.md new file mode 100644 index 000000000..96ca268e2 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/WlanReasonCode.md @@ -0,0 +1,8 @@ +# WlanReasonCode + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/WlanStatusCode.md b/libs/cloudapi/cloudsdk/docs/WlanStatusCode.md new file mode 100644 index 000000000..3590ed949 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/WlanStatusCode.md @@ -0,0 +1,8 @@ +# WlanStatusCode + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/WmmQueueStats.md b/libs/cloudapi/cloudsdk/docs/WmmQueueStats.md new file mode 100644 index 000000000..48725c899 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/WmmQueueStats.md @@ -0,0 +1,21 @@ +# WmmQueueStats + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**queue_type** | [**WmmQueueType**](WmmQueueType.md) | | [optional] +**tx_frames** | **int** | | [optional] +**tx_bytes** | **int** | | [optional] +**tx_failed_frames** | **int** | | [optional] +**tx_failed_bytes** | **int** | | [optional] +**rx_frames** | **int** | | [optional] +**rx_bytes** | **int** | | [optional] +**rx_failed_frames** | **int** | | [optional] +**rx_failed_bytes** | **int** | | [optional] +**forward_frames** | **int** | | [optional] +**forward_bytes** | **int** | | [optional] +**tx_expired_frames** | **int** | | [optional] +**tx_expired_bytes** | **int** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/WmmQueueStatsPerQueueTypeMap.md b/libs/cloudapi/cloudsdk/docs/WmmQueueStatsPerQueueTypeMap.md new file mode 100644 index 000000000..f217f16df --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/WmmQueueStatsPerQueueTypeMap.md @@ -0,0 +1,12 @@ +# WmmQueueStatsPerQueueTypeMap + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**be** | [**WmmQueueStats**](WmmQueueStats.md) | | [optional] +**bk** | [**WmmQueueStats**](WmmQueueStats.md) | | [optional] +**vi** | [**WmmQueueStats**](WmmQueueStats.md) | | [optional] +**vo** | [**WmmQueueStats**](WmmQueueStats.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/docs/WmmQueueType.md b/libs/cloudapi/cloudsdk/docs/WmmQueueType.md new file mode 100644 index 000000000..788b56f10 --- /dev/null +++ b/libs/cloudapi/cloudsdk/docs/WmmQueueType.md @@ -0,0 +1,8 @@ +# WmmQueueType + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/libs/cloudapi/cloudsdk/git_push.sh b/libs/cloudapi/cloudsdk/git_push.sh new file mode 100644 index 000000000..ae01b182a --- /dev/null +++ b/libs/cloudapi/cloudsdk/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/libs/cloudapi/cloudsdk/requirements.txt b/libs/cloudapi/cloudsdk/requirements.txt new file mode 100644 index 000000000..bafdc0753 --- /dev/null +++ b/libs/cloudapi/cloudsdk/requirements.txt @@ -0,0 +1,5 @@ +certifi >= 14.05.14 +six >= 1.10 +python_dateutil >= 2.5.3 +setuptools >= 21.0.0 +urllib3 >= 1.15.1 diff --git a/libs/cloudapi/cloudsdk/setup.py b/libs/cloudapi/cloudsdk/setup.py new file mode 100644 index 000000000..120bd255d --- /dev/null +++ b/libs/cloudapi/cloudsdk/setup.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from setuptools import setup, find_packages # noqa: H301 + +NAME = "swagger-client" +VERSION = "1.0.0" +# To install the library, run the following +# +# python setup.py install +# +# prerequisite: setuptools +# http://pypi.python.org/pypi/setuptools + +REQUIRES = ["urllib3 >= 1.15", "six >= 1.10", "certifi", "python-dateutil"] + +setup( + name=NAME, + version=VERSION, + description="CloudSDK Portal API", + author_email="", + url="", + keywords=["Swagger", "CloudSDK Portal API"], + install_requires=REQUIRES, + packages=find_packages(), + include_package_data=True, + long_description="""\ + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + """ +) diff --git a/libs/cloudapi/cloudsdk/swagger_client/__init__.py b/libs/cloudapi/cloudsdk/swagger_client/__init__.py new file mode 100644 index 000000000..3bd4e7347 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/__init__.py @@ -0,0 +1,425 @@ +# coding: utf-8 + +# flake8: noqa + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +# import apis into sdk package +from swagger_client.api.alarms_api import AlarmsApi +from swagger_client.api.clients_api import ClientsApi +from swagger_client.api.customer_api import CustomerApi +from swagger_client.api.equipment_api import EquipmentApi +from swagger_client.api.equipment_gateway_api import EquipmentGatewayApi +from swagger_client.api.file_services_api import FileServicesApi +from swagger_client.api.firmware_management_api import FirmwareManagementApi +from swagger_client.api.location_api import LocationApi +from swagger_client.api.login_api import LoginApi +from swagger_client.api.manufacturer_oui_api import ManufacturerOUIApi +from swagger_client.api.portal_users_api import PortalUsersApi +from swagger_client.api.profile_api import ProfileApi +from swagger_client.api.service_adoption_metrics_api import ServiceAdoptionMetricsApi +from swagger_client.api.status_api import StatusApi +from swagger_client.api.system_events_api import SystemEventsApi +from swagger_client.api.wlan_service_metrics_api import WLANServiceMetricsApi +# import ApiClient +from swagger_client.api_client import ApiClient +from swagger_client.configuration import Configuration +# import models into sdk package +from swagger_client.models.acl_template import AclTemplate +from swagger_client.models.active_bssid import ActiveBSSID +from swagger_client.models.active_bssi_ds import ActiveBSSIDs +from swagger_client.models.active_scan_settings import ActiveScanSettings +from swagger_client.models.advanced_radio_map import AdvancedRadioMap +from swagger_client.models.alarm import Alarm +from swagger_client.models.alarm_added_event import AlarmAddedEvent +from swagger_client.models.alarm_changed_event import AlarmChangedEvent +from swagger_client.models.alarm_code import AlarmCode +from swagger_client.models.alarm_counts import AlarmCounts +from swagger_client.models.alarm_details import AlarmDetails +from swagger_client.models.alarm_details_attributes_map import AlarmDetailsAttributesMap +from swagger_client.models.alarm_removed_event import AlarmRemovedEvent +from swagger_client.models.alarm_scope_type import AlarmScopeType +from swagger_client.models.antenna_type import AntennaType +from swagger_client.models.ap_element_configuration import ApElementConfiguration +from swagger_client.models.ap_mesh_mode import ApMeshMode +from swagger_client.models.ap_network_configuration import ApNetworkConfiguration +from swagger_client.models.ap_network_configuration_ntp_server import ApNetworkConfigurationNtpServer +from swagger_client.models.ap_node_metrics import ApNodeMetrics +from swagger_client.models.ap_performance import ApPerformance +from swagger_client.models.ap_ssid_metrics import ApSsidMetrics +from swagger_client.models.auto_or_manual_string import AutoOrManualString +from swagger_client.models.auto_or_manual_value import AutoOrManualValue +from swagger_client.models.background_position import BackgroundPosition +from swagger_client.models.background_repeat import BackgroundRepeat +from swagger_client.models.banned_channel import BannedChannel +from swagger_client.models.base_dhcp_event import BaseDhcpEvent +from swagger_client.models.best_ap_steer_type import BestAPSteerType +from swagger_client.models.blocklist_details import BlocklistDetails +from swagger_client.models.bonjour_gateway_profile import BonjourGatewayProfile +from swagger_client.models.bonjour_service_set import BonjourServiceSet +from swagger_client.models.capacity_details import CapacityDetails +from swagger_client.models.capacity_per_radio_details import CapacityPerRadioDetails +from swagger_client.models.capacity_per_radio_details_map import CapacityPerRadioDetailsMap +from swagger_client.models.captive_portal_authentication_type import CaptivePortalAuthenticationType +from swagger_client.models.captive_portal_configuration import CaptivePortalConfiguration +from swagger_client.models.channel_bandwidth import ChannelBandwidth +from swagger_client.models.channel_hop_reason import ChannelHopReason +from swagger_client.models.channel_hop_settings import ChannelHopSettings +from swagger_client.models.channel_info import ChannelInfo +from swagger_client.models.channel_info_reports import ChannelInfoReports +from swagger_client.models.channel_power_level import ChannelPowerLevel +from swagger_client.models.channel_utilization_details import ChannelUtilizationDetails +from swagger_client.models.channel_utilization_per_radio_details import ChannelUtilizationPerRadioDetails +from swagger_client.models.channel_utilization_per_radio_details_map import ChannelUtilizationPerRadioDetailsMap +from swagger_client.models.channel_utilization_survey_type import ChannelUtilizationSurveyType +from swagger_client.models.client import Client +from swagger_client.models.client_activity_aggregated_stats import ClientActivityAggregatedStats +from swagger_client.models.client_activity_aggregated_stats_per_radio_type_map import ClientActivityAggregatedStatsPerRadioTypeMap +from swagger_client.models.client_added_event import ClientAddedEvent +from swagger_client.models.client_assoc_event import ClientAssocEvent +from swagger_client.models.client_auth_event import ClientAuthEvent +from swagger_client.models.client_changed_event import ClientChangedEvent +from swagger_client.models.client_connect_success_event import ClientConnectSuccessEvent +from swagger_client.models.client_connection_details import ClientConnectionDetails +from swagger_client.models.client_dhcp_details import ClientDhcpDetails +from swagger_client.models.client_disconnect_event import ClientDisconnectEvent +from swagger_client.models.client_eap_details import ClientEapDetails +from swagger_client.models.client_failure_details import ClientFailureDetails +from swagger_client.models.client_failure_event import ClientFailureEvent +from swagger_client.models.client_first_data_event import ClientFirstDataEvent +from swagger_client.models.client_id_event import ClientIdEvent +from swagger_client.models.client_info_details import ClientInfoDetails +from swagger_client.models.client_ip_address_event import ClientIpAddressEvent +from swagger_client.models.client_metrics import ClientMetrics +from swagger_client.models.client_removed_event import ClientRemovedEvent +from swagger_client.models.client_session import ClientSession +from swagger_client.models.client_session_changed_event import ClientSessionChangedEvent +from swagger_client.models.client_session_details import ClientSessionDetails +from swagger_client.models.client_session_metric_details import ClientSessionMetricDetails +from swagger_client.models.client_session_removed_event import ClientSessionRemovedEvent +from swagger_client.models.client_timeout_event import ClientTimeoutEvent +from swagger_client.models.client_timeout_reason import ClientTimeoutReason +from swagger_client.models.common_probe_details import CommonProbeDetails +from swagger_client.models.country_code import CountryCode +from swagger_client.models.counts_per_alarm_code_map import CountsPerAlarmCodeMap +from swagger_client.models.counts_per_equipment_id_per_alarm_code_map import CountsPerEquipmentIdPerAlarmCodeMap +from swagger_client.models.customer import Customer +from swagger_client.models.customer_added_event import CustomerAddedEvent +from swagger_client.models.customer_changed_event import CustomerChangedEvent +from swagger_client.models.customer_details import CustomerDetails +from swagger_client.models.customer_firmware_track_record import CustomerFirmwareTrackRecord +from swagger_client.models.customer_firmware_track_settings import CustomerFirmwareTrackSettings +from swagger_client.models.customer_portal_dashboard_status import CustomerPortalDashboardStatus +from swagger_client.models.customer_removed_event import CustomerRemovedEvent +from swagger_client.models.daily_time_range_schedule import DailyTimeRangeSchedule +from swagger_client.models.day_of_week import DayOfWeek +from swagger_client.models.days_of_week_time_range_schedule import DaysOfWeekTimeRangeSchedule +from swagger_client.models.deployment_type import DeploymentType +from swagger_client.models.detected_auth_mode import DetectedAuthMode +from swagger_client.models.device_mode import DeviceMode +from swagger_client.models.dhcp_ack_event import DhcpAckEvent +from swagger_client.models.dhcp_decline_event import DhcpDeclineEvent +from swagger_client.models.dhcp_discover_event import DhcpDiscoverEvent +from swagger_client.models.dhcp_inform_event import DhcpInformEvent +from swagger_client.models.dhcp_nak_event import DhcpNakEvent +from swagger_client.models.dhcp_offer_event import DhcpOfferEvent +from swagger_client.models.dhcp_request_event import DhcpRequestEvent +from swagger_client.models.disconnect_frame_type import DisconnectFrameType +from swagger_client.models.disconnect_initiator import DisconnectInitiator +from swagger_client.models.dns_probe_metric import DnsProbeMetric +from swagger_client.models.dynamic_vlan_mode import DynamicVlanMode +from swagger_client.models.element_radio_configuration import ElementRadioConfiguration +from swagger_client.models.element_radio_configuration_eirp_tx_power import ElementRadioConfigurationEirpTxPower +from swagger_client.models.empty_schedule import EmptySchedule +from swagger_client.models.equipment import Equipment +from swagger_client.models.equipment_added_event import EquipmentAddedEvent +from swagger_client.models.equipment_admin_status_data import EquipmentAdminStatusData +from swagger_client.models.equipment_auto_provisioning_settings import EquipmentAutoProvisioningSettings +from swagger_client.models.equipment_capacity_details import EquipmentCapacityDetails +from swagger_client.models.equipment_capacity_details_map import EquipmentCapacityDetailsMap +from swagger_client.models.equipment_changed_event import EquipmentChangedEvent +from swagger_client.models.equipment_details import EquipmentDetails +from swagger_client.models.equipment_gateway_record import EquipmentGatewayRecord +from swagger_client.models.equipment_lan_status_data import EquipmentLANStatusData +from swagger_client.models.equipment_neighbouring_status_data import EquipmentNeighbouringStatusData +from swagger_client.models.equipment_peer_status_data import EquipmentPeerStatusData +from swagger_client.models.equipment_per_radio_utilization_details import EquipmentPerRadioUtilizationDetails +from swagger_client.models.equipment_per_radio_utilization_details_map import EquipmentPerRadioUtilizationDetailsMap +from swagger_client.models.equipment_performance_details import EquipmentPerformanceDetails +from swagger_client.models.equipment_protocol_state import EquipmentProtocolState +from swagger_client.models.equipment_protocol_status_data import EquipmentProtocolStatusData +from swagger_client.models.equipment_removed_event import EquipmentRemovedEvent +from swagger_client.models.equipment_routing_record import EquipmentRoutingRecord +from swagger_client.models.equipment_rrm_bulk_update_item import EquipmentRrmBulkUpdateItem +from swagger_client.models.equipment_rrm_bulk_update_item_per_radio_map import EquipmentRrmBulkUpdateItemPerRadioMap +from swagger_client.models.equipment_rrm_bulk_update_request import EquipmentRrmBulkUpdateRequest +from swagger_client.models.equipment_scan_details import EquipmentScanDetails +from swagger_client.models.equipment_type import EquipmentType +from swagger_client.models.equipment_upgrade_failure_reason import EquipmentUpgradeFailureReason +from swagger_client.models.equipment_upgrade_state import EquipmentUpgradeState +from swagger_client.models.equipment_upgrade_status_data import EquipmentUpgradeStatusData +from swagger_client.models.ethernet_link_state import EthernetLinkState +from swagger_client.models.file_category import FileCategory +from swagger_client.models.file_type import FileType +from swagger_client.models.firmware_schedule_setting import FirmwareScheduleSetting +from swagger_client.models.firmware_track_assignment_details import FirmwareTrackAssignmentDetails +from swagger_client.models.firmware_track_assignment_record import FirmwareTrackAssignmentRecord +from swagger_client.models.firmware_track_record import FirmwareTrackRecord +from swagger_client.models.firmware_validation_method import FirmwareValidationMethod +from swagger_client.models.firmware_version import FirmwareVersion +from swagger_client.models.gateway_added_event import GatewayAddedEvent +from swagger_client.models.gateway_changed_event import GatewayChangedEvent +from swagger_client.models.gateway_removed_event import GatewayRemovedEvent +from swagger_client.models.gateway_type import GatewayType +from swagger_client.models.generic_response import GenericResponse +from swagger_client.models.gre_tunnel_configuration import GreTunnelConfiguration +from swagger_client.models.guard_interval import GuardInterval +from swagger_client.models.integer_per_radio_type_map import IntegerPerRadioTypeMap +from swagger_client.models.integer_per_status_code_map import IntegerPerStatusCodeMap +from swagger_client.models.integer_status_code_map import IntegerStatusCodeMap +from swagger_client.models.integer_value_map import IntegerValueMap +from swagger_client.models.json_serialized_exception import JsonSerializedException +from swagger_client.models.link_quality_aggregated_stats import LinkQualityAggregatedStats +from swagger_client.models.link_quality_aggregated_stats_per_radio_type_map import LinkQualityAggregatedStatsPerRadioTypeMap +from swagger_client.models.list_of_channel_info_reports_per_radio_map import ListOfChannelInfoReportsPerRadioMap +from swagger_client.models.list_of_macs_per_radio_map import ListOfMacsPerRadioMap +from swagger_client.models.list_of_mcs_stats_per_radio_map import ListOfMcsStatsPerRadioMap +from swagger_client.models.list_of_radio_utilization_per_radio_map import ListOfRadioUtilizationPerRadioMap +from swagger_client.models.list_of_ssid_statistics_per_radio_map import ListOfSsidStatisticsPerRadioMap +from swagger_client.models.local_time_value import LocalTimeValue +from swagger_client.models.location import Location +from swagger_client.models.location_activity_details import LocationActivityDetails +from swagger_client.models.location_activity_details_map import LocationActivityDetailsMap +from swagger_client.models.location_added_event import LocationAddedEvent +from swagger_client.models.location_changed_event import LocationChangedEvent +from swagger_client.models.location_details import LocationDetails +from swagger_client.models.location_removed_event import LocationRemovedEvent +from swagger_client.models.long_per_radio_type_map import LongPerRadioTypeMap +from swagger_client.models.long_value_map import LongValueMap +from swagger_client.models.mac_address import MacAddress +from swagger_client.models.mac_allowlist_record import MacAllowlistRecord +from swagger_client.models.managed_file_info import ManagedFileInfo +from swagger_client.models.management_rate import ManagementRate +from swagger_client.models.manufacturer_details_record import ManufacturerDetailsRecord +from swagger_client.models.manufacturer_oui_details import ManufacturerOuiDetails +from swagger_client.models.manufacturer_oui_details_per_oui_map import ManufacturerOuiDetailsPerOuiMap +from swagger_client.models.map_of_wmm_queue_stats_per_radio_map import MapOfWmmQueueStatsPerRadioMap +from swagger_client.models.mcs_stats import McsStats +from swagger_client.models.mcs_type import McsType +from swagger_client.models.mesh_group import MeshGroup +from swagger_client.models.mesh_group_member import MeshGroupMember +from swagger_client.models.mesh_group_property import MeshGroupProperty +from swagger_client.models.metric_config_parameter_map import MetricConfigParameterMap +from swagger_client.models.mimo_mode import MimoMode +from swagger_client.models.min_max_avg_value_int import MinMaxAvgValueInt +from swagger_client.models.min_max_avg_value_int_per_radio_map import MinMaxAvgValueIntPerRadioMap +from swagger_client.models.multicast_rate import MulticastRate +from swagger_client.models.neighbor_scan_packet_type import NeighborScanPacketType +from swagger_client.models.neighbour_report import NeighbourReport +from swagger_client.models.neighbour_scan_reports import NeighbourScanReports +from swagger_client.models.neighbouring_ap_list_configuration import NeighbouringAPListConfiguration +from swagger_client.models.network_admin_status_data import NetworkAdminStatusData +from swagger_client.models.network_aggregate_status_data import NetworkAggregateStatusData +from swagger_client.models.network_forward_mode import NetworkForwardMode +from swagger_client.models.network_probe_metrics import NetworkProbeMetrics +from swagger_client.models.network_type import NetworkType +from swagger_client.models.noise_floor_details import NoiseFloorDetails +from swagger_client.models.noise_floor_per_radio_details import NoiseFloorPerRadioDetails +from swagger_client.models.noise_floor_per_radio_details_map import NoiseFloorPerRadioDetailsMap +from swagger_client.models.obss_hop_mode import ObssHopMode +from swagger_client.models.one_of_equipment_details import OneOfEquipmentDetails +from swagger_client.models.one_of_firmware_schedule_setting import OneOfFirmwareScheduleSetting +from swagger_client.models.one_of_profile_details_children import OneOfProfileDetailsChildren +from swagger_client.models.one_of_schedule_setting import OneOfScheduleSetting +from swagger_client.models.one_of_service_metric_details import OneOfServiceMetricDetails +from swagger_client.models.one_of_status_details import OneOfStatusDetails +from swagger_client.models.one_of_system_event import OneOfSystemEvent +from swagger_client.models.operating_system_performance import OperatingSystemPerformance +from swagger_client.models.originator_type import OriginatorType +from swagger_client.models.pagination_context_alarm import PaginationContextAlarm +from swagger_client.models.pagination_context_client import PaginationContextClient +from swagger_client.models.pagination_context_client_session import PaginationContextClientSession +from swagger_client.models.pagination_context_equipment import PaginationContextEquipment +from swagger_client.models.pagination_context_location import PaginationContextLocation +from swagger_client.models.pagination_context_portal_user import PaginationContextPortalUser +from swagger_client.models.pagination_context_profile import PaginationContextProfile +from swagger_client.models.pagination_context_service_metric import PaginationContextServiceMetric +from swagger_client.models.pagination_context_status import PaginationContextStatus +from swagger_client.models.pagination_context_system_event import PaginationContextSystemEvent +from swagger_client.models.pagination_response_alarm import PaginationResponseAlarm +from swagger_client.models.pagination_response_client import PaginationResponseClient +from swagger_client.models.pagination_response_client_session import PaginationResponseClientSession +from swagger_client.models.pagination_response_equipment import PaginationResponseEquipment +from swagger_client.models.pagination_response_location import PaginationResponseLocation +from swagger_client.models.pagination_response_portal_user import PaginationResponsePortalUser +from swagger_client.models.pagination_response_profile import PaginationResponseProfile +from swagger_client.models.pagination_response_service_metric import PaginationResponseServiceMetric +from swagger_client.models.pagination_response_status import PaginationResponseStatus +from swagger_client.models.pagination_response_system_event import PaginationResponseSystemEvent +from swagger_client.models.pair_long_long import PairLongLong +from swagger_client.models.passpoint_access_network_type import PasspointAccessNetworkType +from swagger_client.models.passpoint_connection_capabilities_ip_protocol import PasspointConnectionCapabilitiesIpProtocol +from swagger_client.models.passpoint_connection_capabilities_status import PasspointConnectionCapabilitiesStatus +from swagger_client.models.passpoint_connection_capability import PasspointConnectionCapability +from swagger_client.models.passpoint_duple import PasspointDuple +from swagger_client.models.passpoint_eap_methods import PasspointEapMethods +from swagger_client.models.passpoint_gas_address3_behaviour import PasspointGasAddress3Behaviour +from swagger_client.models.passpoint_i_pv4_address_type import PasspointIPv4AddressType +from swagger_client.models.passpoint_i_pv6_address_type import PasspointIPv6AddressType +from swagger_client.models.passpoint_mcc_mnc import PasspointMccMnc +from swagger_client.models.passpoint_nai_realm_eap_auth_inner_non_eap import PasspointNaiRealmEapAuthInnerNonEap +from swagger_client.models.passpoint_nai_realm_eap_auth_param import PasspointNaiRealmEapAuthParam +from swagger_client.models.passpoint_nai_realm_eap_cred_type import PasspointNaiRealmEapCredType +from swagger_client.models.passpoint_nai_realm_encoding import PasspointNaiRealmEncoding +from swagger_client.models.passpoint_nai_realm_information import PasspointNaiRealmInformation +from swagger_client.models.passpoint_network_authentication_type import PasspointNetworkAuthenticationType +from swagger_client.models.passpoint_operator_profile import PasspointOperatorProfile +from swagger_client.models.passpoint_osu_icon import PasspointOsuIcon +from swagger_client.models.passpoint_osu_provider_profile import PasspointOsuProviderProfile +from swagger_client.models.passpoint_profile import PasspointProfile +from swagger_client.models.passpoint_venue_name import PasspointVenueName +from swagger_client.models.passpoint_venue_profile import PasspointVenueProfile +from swagger_client.models.passpoint_venue_type_assignment import PasspointVenueTypeAssignment +from swagger_client.models.peer_info import PeerInfo +from swagger_client.models.per_process_utilization import PerProcessUtilization +from swagger_client.models.ping_response import PingResponse +from swagger_client.models.portal_user import PortalUser +from swagger_client.models.portal_user_added_event import PortalUserAddedEvent +from swagger_client.models.portal_user_changed_event import PortalUserChangedEvent +from swagger_client.models.portal_user_removed_event import PortalUserRemovedEvent +from swagger_client.models.portal_user_role import PortalUserRole +from swagger_client.models.profile import Profile +from swagger_client.models.profile_added_event import ProfileAddedEvent +from swagger_client.models.profile_changed_event import ProfileChangedEvent +from swagger_client.models.profile_details import ProfileDetails +from swagger_client.models.profile_details_children import ProfileDetailsChildren +from swagger_client.models.profile_removed_event import ProfileRemovedEvent +from swagger_client.models.profile_type import ProfileType +from swagger_client.models.radio_based_ssid_configuration import RadioBasedSsidConfiguration +from swagger_client.models.radio_based_ssid_configuration_map import RadioBasedSsidConfigurationMap +from swagger_client.models.radio_best_ap_settings import RadioBestApSettings +from swagger_client.models.radio_channel_change_settings import RadioChannelChangeSettings +from swagger_client.models.radio_configuration import RadioConfiguration +from swagger_client.models.radio_map import RadioMap +from swagger_client.models.radio_mode import RadioMode +from swagger_client.models.radio_profile_configuration import RadioProfileConfiguration +from swagger_client.models.radio_profile_configuration_map import RadioProfileConfigurationMap +from swagger_client.models.radio_statistics import RadioStatistics +from swagger_client.models.radio_statistics_per_radio_map import RadioStatisticsPerRadioMap +from swagger_client.models.radio_type import RadioType +from swagger_client.models.radio_utilization import RadioUtilization +from swagger_client.models.radio_utilization_details import RadioUtilizationDetails +from swagger_client.models.radio_utilization_per_radio_details import RadioUtilizationPerRadioDetails +from swagger_client.models.radio_utilization_per_radio_details_map import RadioUtilizationPerRadioDetailsMap +from swagger_client.models.radio_utilization_report import RadioUtilizationReport +from swagger_client.models.radius_authentication_method import RadiusAuthenticationMethod +from swagger_client.models.radius_details import RadiusDetails +from swagger_client.models.radius_metrics import RadiusMetrics +from swagger_client.models.radius_nas_configuration import RadiusNasConfiguration +from swagger_client.models.radius_profile import RadiusProfile +from swagger_client.models.radius_server import RadiusServer +from swagger_client.models.radius_server_details import RadiusServerDetails +from swagger_client.models.real_time_event import RealTimeEvent +from swagger_client.models.real_time_sip_call_event_with_stats import RealTimeSipCallEventWithStats +from swagger_client.models.real_time_sip_call_report_event import RealTimeSipCallReportEvent +from swagger_client.models.real_time_sip_call_start_event import RealTimeSipCallStartEvent +from swagger_client.models.real_time_sip_call_stop_event import RealTimeSipCallStopEvent +from swagger_client.models.real_time_streaming_start_event import RealTimeStreamingStartEvent +from swagger_client.models.real_time_streaming_start_session_event import RealTimeStreamingStartSessionEvent +from swagger_client.models.real_time_streaming_stop_event import RealTimeStreamingStopEvent +from swagger_client.models.realtime_channel_hop_event import RealtimeChannelHopEvent +from swagger_client.models.rf_config_map import RfConfigMap +from swagger_client.models.rf_configuration import RfConfiguration +from swagger_client.models.rf_element_configuration import RfElementConfiguration +from swagger_client.models.routing_added_event import RoutingAddedEvent +from swagger_client.models.routing_changed_event import RoutingChangedEvent +from swagger_client.models.routing_removed_event import RoutingRemovedEvent +from swagger_client.models.rrm_bulk_update_ap_details import RrmBulkUpdateApDetails +from swagger_client.models.rtls_settings import RtlsSettings +from swagger_client.models.rtp_flow_direction import RtpFlowDirection +from swagger_client.models.rtp_flow_stats import RtpFlowStats +from swagger_client.models.rtp_flow_type import RtpFlowType +from swagger_client.models.sip_call_report_reason import SIPCallReportReason +from swagger_client.models.schedule_setting import ScheduleSetting +from swagger_client.models.security_type import SecurityType +from swagger_client.models.service_adoption_metrics import ServiceAdoptionMetrics +from swagger_client.models.service_metric import ServiceMetric +from swagger_client.models.service_metric_config_parameters import ServiceMetricConfigParameters +from swagger_client.models.service_metric_data_type import ServiceMetricDataType +from swagger_client.models.service_metric_details import ServiceMetricDetails +from swagger_client.models.service_metric_radio_config_parameters import ServiceMetricRadioConfigParameters +from swagger_client.models.service_metric_survey_config_parameters import ServiceMetricSurveyConfigParameters +from swagger_client.models.service_metrics_collection_config_profile import ServiceMetricsCollectionConfigProfile +from swagger_client.models.session_expiry_type import SessionExpiryType +from swagger_client.models.sip_call_stop_reason import SipCallStopReason +from swagger_client.models.sort_columns_alarm import SortColumnsAlarm +from swagger_client.models.sort_columns_client import SortColumnsClient +from swagger_client.models.sort_columns_client_session import SortColumnsClientSession +from swagger_client.models.sort_columns_equipment import SortColumnsEquipment +from swagger_client.models.sort_columns_location import SortColumnsLocation +from swagger_client.models.sort_columns_portal_user import SortColumnsPortalUser +from swagger_client.models.sort_columns_profile import SortColumnsProfile +from swagger_client.models.sort_columns_service_metric import SortColumnsServiceMetric +from swagger_client.models.sort_columns_status import SortColumnsStatus +from swagger_client.models.sort_columns_system_event import SortColumnsSystemEvent +from swagger_client.models.sort_order import SortOrder +from swagger_client.models.source_selection_management import SourceSelectionManagement +from swagger_client.models.source_selection_multicast import SourceSelectionMulticast +from swagger_client.models.source_selection_steering import SourceSelectionSteering +from swagger_client.models.source_selection_value import SourceSelectionValue +from swagger_client.models.source_type import SourceType +from swagger_client.models.ssid_configuration import SsidConfiguration +from swagger_client.models.ssid_secure_mode import SsidSecureMode +from swagger_client.models.ssid_statistics import SsidStatistics +from swagger_client.models.state_setting import StateSetting +from swagger_client.models.state_up_down_error import StateUpDownError +from swagger_client.models.stats_report_format import StatsReportFormat +from swagger_client.models.status import Status +from swagger_client.models.status_changed_event import StatusChangedEvent +from swagger_client.models.status_code import StatusCode +from swagger_client.models.status_data_type import StatusDataType +from swagger_client.models.status_details import StatusDetails +from swagger_client.models.status_removed_event import StatusRemovedEvent +from swagger_client.models.steer_type import SteerType +from swagger_client.models.streaming_video_server_record import StreamingVideoServerRecord +from swagger_client.models.streaming_video_type import StreamingVideoType +from swagger_client.models.syslog_relay import SyslogRelay +from swagger_client.models.syslog_severity_type import SyslogSeverityType +from swagger_client.models.system_event import SystemEvent +from swagger_client.models.system_event_data_type import SystemEventDataType +from swagger_client.models.system_event_record import SystemEventRecord +from swagger_client.models.timed_access_user_details import TimedAccessUserDetails +from swagger_client.models.timed_access_user_record import TimedAccessUserRecord +from swagger_client.models.track_flag import TrackFlag +from swagger_client.models.traffic_details import TrafficDetails +from swagger_client.models.traffic_per_radio_details import TrafficPerRadioDetails +from swagger_client.models.traffic_per_radio_details_per_radio_type_map import TrafficPerRadioDetailsPerRadioTypeMap +from swagger_client.models.tunnel_indicator import TunnelIndicator +from swagger_client.models.tunnel_metric_data import TunnelMetricData +from swagger_client.models.unserializable_system_event import UnserializableSystemEvent +from swagger_client.models.user_details import UserDetails +from swagger_client.models.vlan_status_data import VLANStatusData +from swagger_client.models.vlan_status_data_map import VLANStatusDataMap +from swagger_client.models.vlan_subnet import VlanSubnet +from swagger_client.models.web_token_acl_template import WebTokenAclTemplate +from swagger_client.models.web_token_request import WebTokenRequest +from swagger_client.models.web_token_result import WebTokenResult +from swagger_client.models.wep_auth_type import WepAuthType +from swagger_client.models.wep_configuration import WepConfiguration +from swagger_client.models.wep_key import WepKey +from swagger_client.models.wep_type import WepType +from swagger_client.models.wlan_reason_code import WlanReasonCode +from swagger_client.models.wlan_status_code import WlanStatusCode +from swagger_client.models.wmm_queue_stats import WmmQueueStats +from swagger_client.models.wmm_queue_stats_per_queue_type_map import WmmQueueStatsPerQueueTypeMap +from swagger_client.models.wmm_queue_type import WmmQueueType diff --git a/libs/cloudapi/cloudsdk/swagger_client/api/__init__.py b/libs/cloudapi/cloudsdk/swagger_client/api/__init__.py new file mode 100644 index 000000000..a620d607e --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/api/__init__.py @@ -0,0 +1,21 @@ +from __future__ import absolute_import + +# flake8: noqa + +# import apis into api package +from swagger_client.api.alarms_api import AlarmsApi +from swagger_client.api.clients_api import ClientsApi +from swagger_client.api.customer_api import CustomerApi +from swagger_client.api.equipment_api import EquipmentApi +from swagger_client.api.equipment_gateway_api import EquipmentGatewayApi +from swagger_client.api.file_services_api import FileServicesApi +from swagger_client.api.firmware_management_api import FirmwareManagementApi +from swagger_client.api.location_api import LocationApi +from swagger_client.api.login_api import LoginApi +from swagger_client.api.manufacturer_oui_api import ManufacturerOUIApi +from swagger_client.api.portal_users_api import PortalUsersApi +from swagger_client.api.profile_api import ProfileApi +from swagger_client.api.service_adoption_metrics_api import ServiceAdoptionMetricsApi +from swagger_client.api.status_api import StatusApi +from swagger_client.api.system_events_api import SystemEventsApi +from swagger_client.api.wlan_service_metrics_api import WLANServiceMetricsApi diff --git a/libs/cloudapi/cloudsdk/swagger_client/api/alarms_api.py b/libs/cloudapi/cloudsdk/swagger_client/api/alarms_api.py new file mode 100644 index 000000000..f53cbb615 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/api/alarms_api.py @@ -0,0 +1,666 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import re # noqa: F401 + +# python 2 and python 3 compatibility library +import six + +from swagger_client.api_client import ApiClient + + +class AlarmsApi(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + Ref: https://github.com/swagger-api/swagger-codegen + """ + + def __init__(self, api_client=None): + if api_client is None: + api_client = ApiClient() + self.api_client = api_client + + def delete_alarm(self, customer_id, equipment_id, alarm_code, created_timestamp, **kwargs): # noqa: E501 + """Delete Alarm # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_alarm(customer_id, equipment_id, alarm_code, created_timestamp, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int customer_id: (required) + :param int equipment_id: (required) + :param AlarmCode alarm_code: (required) + :param int created_timestamp: (required) + :return: Alarm + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.delete_alarm_with_http_info(customer_id, equipment_id, alarm_code, created_timestamp, **kwargs) # noqa: E501 + else: + (data) = self.delete_alarm_with_http_info(customer_id, equipment_id, alarm_code, created_timestamp, **kwargs) # noqa: E501 + return data + + def delete_alarm_with_http_info(self, customer_id, equipment_id, alarm_code, created_timestamp, **kwargs): # noqa: E501 + """Delete Alarm # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_alarm_with_http_info(customer_id, equipment_id, alarm_code, created_timestamp, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int customer_id: (required) + :param int equipment_id: (required) + :param AlarmCode alarm_code: (required) + :param int created_timestamp: (required) + :return: Alarm + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['customer_id', 'equipment_id', 'alarm_code', 'created_timestamp'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_alarm" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'customer_id' is set + if ('customer_id' not in params or + params['customer_id'] is None): + raise ValueError("Missing the required parameter `customer_id` when calling `delete_alarm`") # noqa: E501 + # verify the required parameter 'equipment_id' is set + if ('equipment_id' not in params or + params['equipment_id'] is None): + raise ValueError("Missing the required parameter `equipment_id` when calling `delete_alarm`") # noqa: E501 + # verify the required parameter 'alarm_code' is set + if ('alarm_code' not in params or + params['alarm_code'] is None): + raise ValueError("Missing the required parameter `alarm_code` when calling `delete_alarm`") # noqa: E501 + # verify the required parameter 'created_timestamp' is set + if ('created_timestamp' not in params or + params['created_timestamp'] is None): + raise ValueError("Missing the required parameter `created_timestamp` when calling `delete_alarm`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'customer_id' in params: + query_params.append(('customerId', params['customer_id'])) # noqa: E501 + if 'equipment_id' in params: + query_params.append(('equipmentId', params['equipment_id'])) # noqa: E501 + if 'alarm_code' in params: + query_params.append(('alarmCode', params['alarm_code'])) # noqa: E501 + if 'created_timestamp' in params: + query_params.append(('createdTimestamp', params['created_timestamp'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/alarm', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='Alarm', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_alarm_counts(self, customer_id, **kwargs): # noqa: E501 + """Get counts of Alarms for customerId, optional set of equipment ids, optional set of alarm codes. # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_alarm_counts(customer_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int customer_id: customer id (required) + :param list[int] equipment_ids: Set of equipment ids. Empty or null means retrieve for all equipment for the customer. + :param list[AlarmCode] alarm_codes: Set of alarm codes. Empty or null means retrieve all. + :return: AlarmCounts + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_alarm_counts_with_http_info(customer_id, **kwargs) # noqa: E501 + else: + (data) = self.get_alarm_counts_with_http_info(customer_id, **kwargs) # noqa: E501 + return data + + def get_alarm_counts_with_http_info(self, customer_id, **kwargs): # noqa: E501 + """Get counts of Alarms for customerId, optional set of equipment ids, optional set of alarm codes. # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_alarm_counts_with_http_info(customer_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int customer_id: customer id (required) + :param list[int] equipment_ids: Set of equipment ids. Empty or null means retrieve for all equipment for the customer. + :param list[AlarmCode] alarm_codes: Set of alarm codes. Empty or null means retrieve all. + :return: AlarmCounts + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['customer_id', 'equipment_ids', 'alarm_codes'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_alarm_counts" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'customer_id' is set + if ('customer_id' not in params or + params['customer_id'] is None): + raise ValueError("Missing the required parameter `customer_id` when calling `get_alarm_counts`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'customer_id' in params: + query_params.append(('customerId', params['customer_id'])) # noqa: E501 + if 'equipment_ids' in params: + query_params.append(('equipmentIds', params['equipment_ids'])) # noqa: E501 + collection_formats['equipmentIds'] = 'multi' # noqa: E501 + if 'alarm_codes' in params: + query_params.append(('alarmCodes', params['alarm_codes'])) # noqa: E501 + collection_formats['alarmCodes'] = 'multi' # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/alarm/counts', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='AlarmCounts', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_alarmsfor_customer(self, customer_id, pagination_context, **kwargs): # noqa: E501 + """Get list of Alarms for customerId, optional set of equipment ids, optional set of alarm codes. # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_alarmsfor_customer(customer_id, pagination_context, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int customer_id: customer id (required) + :param PaginationContextAlarm pagination_context: pagination context (required) + :param list[int] equipment_ids: Set of equipment ids. Empty or null means retrieve all equipment for the customer. + :param list[AlarmCode] alarm_codes: Set of alarm codes. Empty or null means retrieve all. + :param int created_after_timestamp: retrieve alarms created after the specified time + :param list[SortColumnsAlarm] sort_by: sort options + :return: PaginationResponseAlarm + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_alarmsfor_customer_with_http_info(customer_id, pagination_context, **kwargs) # noqa: E501 + else: + (data) = self.get_alarmsfor_customer_with_http_info(customer_id, pagination_context, **kwargs) # noqa: E501 + return data + + def get_alarmsfor_customer_with_http_info(self, customer_id, pagination_context, **kwargs): # noqa: E501 + """Get list of Alarms for customerId, optional set of equipment ids, optional set of alarm codes. # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_alarmsfor_customer_with_http_info(customer_id, pagination_context, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int customer_id: customer id (required) + :param PaginationContextAlarm pagination_context: pagination context (required) + :param list[int] equipment_ids: Set of equipment ids. Empty or null means retrieve all equipment for the customer. + :param list[AlarmCode] alarm_codes: Set of alarm codes. Empty or null means retrieve all. + :param int created_after_timestamp: retrieve alarms created after the specified time + :param list[SortColumnsAlarm] sort_by: sort options + :return: PaginationResponseAlarm + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['customer_id', 'pagination_context', 'equipment_ids', 'alarm_codes', 'created_after_timestamp', 'sort_by'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_alarmsfor_customer" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'customer_id' is set + if ('customer_id' not in params or + params['customer_id'] is None): + raise ValueError("Missing the required parameter `customer_id` when calling `get_alarmsfor_customer`") # noqa: E501 + # verify the required parameter 'pagination_context' is set + if ('pagination_context' not in params or + params['pagination_context'] is None): + raise ValueError("Missing the required parameter `pagination_context` when calling `get_alarmsfor_customer`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'customer_id' in params: + query_params.append(('customerId', params['customer_id'])) # noqa: E501 + if 'equipment_ids' in params: + query_params.append(('equipmentIds', params['equipment_ids'])) # noqa: E501 + collection_formats['equipmentIds'] = 'multi' # noqa: E501 + if 'alarm_codes' in params: + query_params.append(('alarmCodes', params['alarm_codes'])) # noqa: E501 + collection_formats['alarmCodes'] = 'multi' # noqa: E501 + if 'created_after_timestamp' in params: + query_params.append(('createdAfterTimestamp', params['created_after_timestamp'])) # noqa: E501 + if 'sort_by' in params: + query_params.append(('sortBy', params['sort_by'])) # noqa: E501 + collection_formats['sortBy'] = 'multi' # noqa: E501 + if 'pagination_context' in params: + query_params.append(('paginationContext', params['pagination_context'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/alarm/forCustomer', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='PaginationResponseAlarm', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_alarmsfor_equipment(self, customer_id, equipment_ids, **kwargs): # noqa: E501 + """Get list of Alarms for customerId, set of equipment ids, and set of alarm codes. # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_alarmsfor_equipment(customer_id, equipment_ids, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int customer_id: customer id (required) + :param list[int] equipment_ids: Set of equipment ids. Must not be empty. (required) + :param list[AlarmCode] alarm_codes: Set of alarm codes. Empty or null means retrieve all. + :param int created_after_timestamp: retrieve alarms created after the specified time + :return: list[Alarm] + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_alarmsfor_equipment_with_http_info(customer_id, equipment_ids, **kwargs) # noqa: E501 + else: + (data) = self.get_alarmsfor_equipment_with_http_info(customer_id, equipment_ids, **kwargs) # noqa: E501 + return data + + def get_alarmsfor_equipment_with_http_info(self, customer_id, equipment_ids, **kwargs): # noqa: E501 + """Get list of Alarms for customerId, set of equipment ids, and set of alarm codes. # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_alarmsfor_equipment_with_http_info(customer_id, equipment_ids, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int customer_id: customer id (required) + :param list[int] equipment_ids: Set of equipment ids. Must not be empty. (required) + :param list[AlarmCode] alarm_codes: Set of alarm codes. Empty or null means retrieve all. + :param int created_after_timestamp: retrieve alarms created after the specified time + :return: list[Alarm] + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['customer_id', 'equipment_ids', 'alarm_codes', 'created_after_timestamp'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_alarmsfor_equipment" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'customer_id' is set + if ('customer_id' not in params or + params['customer_id'] is None): + raise ValueError("Missing the required parameter `customer_id` when calling `get_alarmsfor_equipment`") # noqa: E501 + # verify the required parameter 'equipment_ids' is set + if ('equipment_ids' not in params or + params['equipment_ids'] is None): + raise ValueError("Missing the required parameter `equipment_ids` when calling `get_alarmsfor_equipment`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'customer_id' in params: + query_params.append(('customerId', params['customer_id'])) # noqa: E501 + if 'equipment_ids' in params: + query_params.append(('equipmentIds', params['equipment_ids'])) # noqa: E501 + collection_formats['equipmentIds'] = 'multi' # noqa: E501 + if 'alarm_codes' in params: + query_params.append(('alarmCodes', params['alarm_codes'])) # noqa: E501 + collection_formats['alarmCodes'] = 'multi' # noqa: E501 + if 'created_after_timestamp' in params: + query_params.append(('createdAfterTimestamp', params['created_after_timestamp'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/alarm/forEquipment', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='list[Alarm]', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def reset_alarm_counts(self, **kwargs): # noqa: E501 + """Reset accumulated counts of Alarms. # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.reset_alarm_counts(async_req=True) + >>> result = thread.get() + + :param async_req bool + :return: GenericResponse + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.reset_alarm_counts_with_http_info(**kwargs) # noqa: E501 + else: + (data) = self.reset_alarm_counts_with_http_info(**kwargs) # noqa: E501 + return data + + def reset_alarm_counts_with_http_info(self, **kwargs): # noqa: E501 + """Reset accumulated counts of Alarms. # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.reset_alarm_counts_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool + :return: GenericResponse + If the method is called asynchronously, + returns the request thread. + """ + + all_params = [] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method reset_alarm_counts" % key + ) + params[key] = val + del params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/alarm/resetCounts', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='GenericResponse', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def update_alarm(self, body, **kwargs): # noqa: E501 + """Update Alarm # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_alarm(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param Alarm body: Alarm info (required) + :return: Alarm + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.update_alarm_with_http_info(body, **kwargs) # noqa: E501 + else: + (data) = self.update_alarm_with_http_info(body, **kwargs) # noqa: E501 + return data + + def update_alarm_with_http_info(self, body, **kwargs): # noqa: E501 + """Update Alarm # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_alarm_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param Alarm body: Alarm info (required) + :return: Alarm + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method update_alarm" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'body' is set + if ('body' not in params or + params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `update_alarm`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/alarm', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='Alarm', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/libs/cloudapi/cloudsdk/swagger_client/api/clients_api.py b/libs/cloudapi/cloudsdk/swagger_client/api/clients_api.py new file mode 100644 index 000000000..c4bec0795 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/api/clients_api.py @@ -0,0 +1,756 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import re # noqa: F401 + +# python 2 and python 3 compatibility library +import six + +from swagger_client.api_client import ApiClient + + +class ClientsApi(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + Ref: https://github.com/swagger-api/swagger-codegen + """ + + def __init__(self, api_client=None): + if api_client is None: + api_client = ApiClient() + self.api_client = api_client + + def get_all_client_sessions_in_set(self, customer_id, client_macs, **kwargs): # noqa: E501 + """Get list of Client sessions for customerId and a set of client MAC addresses. # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_all_client_sessions_in_set(customer_id, client_macs, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int customer_id: customer id (required) + :param list[str] client_macs: Set of client MAC addresses. (required) + :return: list[ClientSession] + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_all_client_sessions_in_set_with_http_info(customer_id, client_macs, **kwargs) # noqa: E501 + else: + (data) = self.get_all_client_sessions_in_set_with_http_info(customer_id, client_macs, **kwargs) # noqa: E501 + return data + + def get_all_client_sessions_in_set_with_http_info(self, customer_id, client_macs, **kwargs): # noqa: E501 + """Get list of Client sessions for customerId and a set of client MAC addresses. # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_all_client_sessions_in_set_with_http_info(customer_id, client_macs, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int customer_id: customer id (required) + :param list[str] client_macs: Set of client MAC addresses. (required) + :return: list[ClientSession] + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['customer_id', 'client_macs'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_all_client_sessions_in_set" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'customer_id' is set + if ('customer_id' not in params or + params['customer_id'] is None): + raise ValueError("Missing the required parameter `customer_id` when calling `get_all_client_sessions_in_set`") # noqa: E501 + # verify the required parameter 'client_macs' is set + if ('client_macs' not in params or + params['client_macs'] is None): + raise ValueError("Missing the required parameter `client_macs` when calling `get_all_client_sessions_in_set`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'customer_id' in params: + query_params.append(('customerId', params['customer_id'])) # noqa: E501 + if 'client_macs' in params: + query_params.append(('clientMacs', params['client_macs'])) # noqa: E501 + collection_formats['clientMacs'] = 'multi' # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/client/session/inSet', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='list[ClientSession]', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_all_clients_in_set(self, customer_id, client_macs, **kwargs): # noqa: E501 + """Get list of Clients for customerId and a set of client MAC addresses. # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_all_clients_in_set(customer_id, client_macs, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int customer_id: customer id (required) + :param list[str] client_macs: Set of client MAC addresses. (required) + :return: list[Client] + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_all_clients_in_set_with_http_info(customer_id, client_macs, **kwargs) # noqa: E501 + else: + (data) = self.get_all_clients_in_set_with_http_info(customer_id, client_macs, **kwargs) # noqa: E501 + return data + + def get_all_clients_in_set_with_http_info(self, customer_id, client_macs, **kwargs): # noqa: E501 + """Get list of Clients for customerId and a set of client MAC addresses. # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_all_clients_in_set_with_http_info(customer_id, client_macs, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int customer_id: customer id (required) + :param list[str] client_macs: Set of client MAC addresses. (required) + :return: list[Client] + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['customer_id', 'client_macs'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_all_clients_in_set" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'customer_id' is set + if ('customer_id' not in params or + params['customer_id'] is None): + raise ValueError("Missing the required parameter `customer_id` when calling `get_all_clients_in_set`") # noqa: E501 + # verify the required parameter 'client_macs' is set + if ('client_macs' not in params or + params['client_macs'] is None): + raise ValueError("Missing the required parameter `client_macs` when calling `get_all_clients_in_set`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'customer_id' in params: + query_params.append(('customerId', params['customer_id'])) # noqa: E501 + if 'client_macs' in params: + query_params.append(('clientMacs', params['client_macs'])) # noqa: E501 + collection_formats['clientMacs'] = 'multi' # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/client/inSet', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='list[Client]', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_blocked_clients(self, customer_id, **kwargs): # noqa: E501 + """Retrieves a list of Clients for the customer that are marked as blocked. This per-customer list of blocked clients is pushed to every AP, so it has to be limited in size. # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_blocked_clients(customer_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int customer_id: Customer ID (required) + :return: list[Client] + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_blocked_clients_with_http_info(customer_id, **kwargs) # noqa: E501 + else: + (data) = self.get_blocked_clients_with_http_info(customer_id, **kwargs) # noqa: E501 + return data + + def get_blocked_clients_with_http_info(self, customer_id, **kwargs): # noqa: E501 + """Retrieves a list of Clients for the customer that are marked as blocked. This per-customer list of blocked clients is pushed to every AP, so it has to be limited in size. # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_blocked_clients_with_http_info(customer_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int customer_id: Customer ID (required) + :return: list[Client] + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['customer_id'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_blocked_clients" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'customer_id' is set + if ('customer_id' not in params or + params['customer_id'] is None): + raise ValueError("Missing the required parameter `customer_id` when calling `get_blocked_clients`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'customer_id' in params: + query_params.append(('customerId', params['customer_id'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/client/blocked', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='list[Client]', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_client_session_by_customer_with_filter(self, customer_id, pagination_context, **kwargs): # noqa: E501 + """Get list of Client sessions for customerId and a set of equipment/location ids. Equipment and locations filters are joined using logical AND operation. # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_client_session_by_customer_with_filter(customer_id, pagination_context, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int customer_id: customer id (required) + :param PaginationContextClientSession pagination_context: pagination context (required) + :param list[int] equipment_ids: set of equipment ids. Empty or null means retrieve all equipment for the customer. + :param list[int] location_ids: set of location ids. Empty or null means retrieve for all locations for the customer. + :param list[SortColumnsClientSession] sort_by: sort options + :return: PaginationResponseClientSession + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_client_session_by_customer_with_filter_with_http_info(customer_id, pagination_context, **kwargs) # noqa: E501 + else: + (data) = self.get_client_session_by_customer_with_filter_with_http_info(customer_id, pagination_context, **kwargs) # noqa: E501 + return data + + def get_client_session_by_customer_with_filter_with_http_info(self, customer_id, pagination_context, **kwargs): # noqa: E501 + """Get list of Client sessions for customerId and a set of equipment/location ids. Equipment and locations filters are joined using logical AND operation. # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_client_session_by_customer_with_filter_with_http_info(customer_id, pagination_context, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int customer_id: customer id (required) + :param PaginationContextClientSession pagination_context: pagination context (required) + :param list[int] equipment_ids: set of equipment ids. Empty or null means retrieve all equipment for the customer. + :param list[int] location_ids: set of location ids. Empty or null means retrieve for all locations for the customer. + :param list[SortColumnsClientSession] sort_by: sort options + :return: PaginationResponseClientSession + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['customer_id', 'pagination_context', 'equipment_ids', 'location_ids', 'sort_by'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_client_session_by_customer_with_filter" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'customer_id' is set + if ('customer_id' not in params or + params['customer_id'] is None): + raise ValueError("Missing the required parameter `customer_id` when calling `get_client_session_by_customer_with_filter`") # noqa: E501 + # verify the required parameter 'pagination_context' is set + if ('pagination_context' not in params or + params['pagination_context'] is None): + raise ValueError("Missing the required parameter `pagination_context` when calling `get_client_session_by_customer_with_filter`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'customer_id' in params: + query_params.append(('customerId', params['customer_id'])) # noqa: E501 + if 'equipment_ids' in params: + query_params.append(('equipmentIds', params['equipment_ids'])) # noqa: E501 + collection_formats['equipmentIds'] = 'multi' # noqa: E501 + if 'location_ids' in params: + query_params.append(('locationIds', params['location_ids'])) # noqa: E501 + collection_formats['locationIds'] = 'multi' # noqa: E501 + if 'sort_by' in params: + query_params.append(('sortBy', params['sort_by'])) # noqa: E501 + collection_formats['sortBy'] = 'multi' # noqa: E501 + if 'pagination_context' in params: + query_params.append(('paginationContext', params['pagination_context'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/client/session/forCustomer', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='PaginationResponseClientSession', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_for_customer(self, customer_id, **kwargs): # noqa: E501 + """Get list of clients for a given customer by equipment ids # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_for_customer(customer_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int customer_id: Customer ID (required) + :param list[int] equipment_ids: Equipment ID + :param list[SortColumnsClient] sort_by: sort options + :param PaginationContextClient pagination_context: pagination context + :return: PaginationResponseClient + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_for_customer_with_http_info(customer_id, **kwargs) # noqa: E501 + else: + (data) = self.get_for_customer_with_http_info(customer_id, **kwargs) # noqa: E501 + return data + + def get_for_customer_with_http_info(self, customer_id, **kwargs): # noqa: E501 + """Get list of clients for a given customer by equipment ids # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_for_customer_with_http_info(customer_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int customer_id: Customer ID (required) + :param list[int] equipment_ids: Equipment ID + :param list[SortColumnsClient] sort_by: sort options + :param PaginationContextClient pagination_context: pagination context + :return: PaginationResponseClient + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['customer_id', 'equipment_ids', 'sort_by', 'pagination_context'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_for_customer" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'customer_id' is set + if ('customer_id' not in params or + params['customer_id'] is None): + raise ValueError("Missing the required parameter `customer_id` when calling `get_for_customer`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'customer_id' in params: + query_params.append(('customerId', params['customer_id'])) # noqa: E501 + if 'equipment_ids' in params: + query_params.append(('equipmentIds', params['equipment_ids'])) # noqa: E501 + collection_formats['equipmentIds'] = 'multi' # noqa: E501 + if 'sort_by' in params: + query_params.append(('sortBy', params['sort_by'])) # noqa: E501 + collection_formats['sortBy'] = 'multi' # noqa: E501 + if 'pagination_context' in params: + query_params.append(('paginationContext', params['pagination_context'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/client/forCustomer', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='PaginationResponseClient', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def search_by_mac_address(self, customer_id, **kwargs): # noqa: E501 + """Get list of Clients for customerId and searching by macSubstring. # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.search_by_mac_address(customer_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int customer_id: customer id (required) + :param str mac_substring: MacAddress search criteria + :param list[SortColumnsClient] sort_by: sort options + :param PaginationContextClient pagination_context: pagination context + :return: PaginationResponseClient + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.search_by_mac_address_with_http_info(customer_id, **kwargs) # noqa: E501 + else: + (data) = self.search_by_mac_address_with_http_info(customer_id, **kwargs) # noqa: E501 + return data + + def search_by_mac_address_with_http_info(self, customer_id, **kwargs): # noqa: E501 + """Get list of Clients for customerId and searching by macSubstring. # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.search_by_mac_address_with_http_info(customer_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int customer_id: customer id (required) + :param str mac_substring: MacAddress search criteria + :param list[SortColumnsClient] sort_by: sort options + :param PaginationContextClient pagination_context: pagination context + :return: PaginationResponseClient + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['customer_id', 'mac_substring', 'sort_by', 'pagination_context'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method search_by_mac_address" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'customer_id' is set + if ('customer_id' not in params or + params['customer_id'] is None): + raise ValueError("Missing the required parameter `customer_id` when calling `search_by_mac_address`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'customer_id' in params: + query_params.append(('customerId', params['customer_id'])) # noqa: E501 + if 'mac_substring' in params: + query_params.append(('macSubstring', params['mac_substring'])) # noqa: E501 + if 'sort_by' in params: + query_params.append(('sortBy', params['sort_by'])) # noqa: E501 + collection_formats['sortBy'] = 'multi' # noqa: E501 + if 'pagination_context' in params: + query_params.append(('paginationContext', params['pagination_context'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/client/searchByMac', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='PaginationResponseClient', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def update_client(self, body, **kwargs): # noqa: E501 + """Update Client # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_client(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param Client body: Client info (required) + :return: Client + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.update_client_with_http_info(body, **kwargs) # noqa: E501 + else: + (data) = self.update_client_with_http_info(body, **kwargs) # noqa: E501 + return data + + def update_client_with_http_info(self, body, **kwargs): # noqa: E501 + """Update Client # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_client_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param Client body: Client info (required) + :return: Client + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method update_client" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'body' is set + if ('body' not in params or + params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `update_client`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/client', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='Client', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/libs/cloudapi/cloudsdk/swagger_client/api/customer_api.py b/libs/cloudapi/cloudsdk/swagger_client/api/customer_api.py new file mode 100644 index 000000000..8c0b5af4d --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/api/customer_api.py @@ -0,0 +1,223 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import re # noqa: F401 + +# python 2 and python 3 compatibility library +import six + +from swagger_client.api_client import ApiClient + + +class CustomerApi(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + Ref: https://github.com/swagger-api/swagger-codegen + """ + + def __init__(self, api_client=None): + if api_client is None: + api_client = ApiClient() + self.api_client = api_client + + def get_customer_by_id(self, customer_id, **kwargs): # noqa: E501 + """Get Customer By Id # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_customer_by_id(customer_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int customer_id: customer id (required) + :return: Customer + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_customer_by_id_with_http_info(customer_id, **kwargs) # noqa: E501 + else: + (data) = self.get_customer_by_id_with_http_info(customer_id, **kwargs) # noqa: E501 + return data + + def get_customer_by_id_with_http_info(self, customer_id, **kwargs): # noqa: E501 + """Get Customer By Id # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_customer_by_id_with_http_info(customer_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int customer_id: customer id (required) + :return: Customer + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['customer_id'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_customer_by_id" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'customer_id' is set + if ('customer_id' not in params or + params['customer_id'] is None): + raise ValueError("Missing the required parameter `customer_id` when calling `get_customer_by_id`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'customer_id' in params: + query_params.append(('customerId', params['customer_id'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/customer', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='Customer', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def update_customer(self, body, **kwargs): # noqa: E501 + """Update Customer # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_customer(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param Customer body: customer info (required) + :return: Customer + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.update_customer_with_http_info(body, **kwargs) # noqa: E501 + else: + (data) = self.update_customer_with_http_info(body, **kwargs) # noqa: E501 + return data + + def update_customer_with_http_info(self, body, **kwargs): # noqa: E501 + """Update Customer # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_customer_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param Customer body: customer info (required) + :return: Customer + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method update_customer" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'body' is set + if ('body' not in params or + params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `update_customer`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/customer', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='Customer', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/libs/cloudapi/cloudsdk/swagger_client/api/equipment_api.py b/libs/cloudapi/cloudsdk/swagger_client/api/equipment_api.py new file mode 100644 index 000000000..e0d332f2a --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/api/equipment_api.py @@ -0,0 +1,914 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import re # noqa: F401 + +# python 2 and python 3 compatibility library +import six + +from swagger_client.api_client import ApiClient + + +class EquipmentApi(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + Ref: https://github.com/swagger-api/swagger-codegen + """ + + def __init__(self, api_client=None): + if api_client is None: + api_client = ApiClient() + self.api_client = api_client + + def create_equipment(self, body, **kwargs): # noqa: E501 + """Create new Equipment # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.create_equipment(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param Equipment body: equipment info (required) + :return: Equipment + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.create_equipment_with_http_info(body, **kwargs) # noqa: E501 + else: + (data) = self.create_equipment_with_http_info(body, **kwargs) # noqa: E501 + return data + + def create_equipment_with_http_info(self, body, **kwargs): # noqa: E501 + """Create new Equipment # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.create_equipment_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param Equipment body: equipment info (required) + :return: Equipment + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method create_equipment" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'body' is set + if ('body' not in params or + params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `create_equipment`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/equipment', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='Equipment', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def delete_equipment(self, equipment_id, **kwargs): # noqa: E501 + """Delete Equipment # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_equipment(equipment_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int equipment_id: equipment id (required) + :return: Equipment + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.delete_equipment_with_http_info(equipment_id, **kwargs) # noqa: E501 + else: + (data) = self.delete_equipment_with_http_info(equipment_id, **kwargs) # noqa: E501 + return data + + def delete_equipment_with_http_info(self, equipment_id, **kwargs): # noqa: E501 + """Delete Equipment # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_equipment_with_http_info(equipment_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int equipment_id: equipment id (required) + :return: Equipment + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['equipment_id'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_equipment" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'equipment_id' is set + if ('equipment_id' not in params or + params['equipment_id'] is None): + raise ValueError("Missing the required parameter `equipment_id` when calling `delete_equipment`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'equipment_id' in params: + query_params.append(('equipmentId', params['equipment_id'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/equipment', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='Equipment', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_default_equipment_details(self, **kwargs): # noqa: E501 + """Get default values for Equipment details for a specific equipment type # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_default_equipment_details(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param EquipmentType equipment_type: + :return: EquipmentDetails + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_default_equipment_details_with_http_info(**kwargs) # noqa: E501 + else: + (data) = self.get_default_equipment_details_with_http_info(**kwargs) # noqa: E501 + return data + + def get_default_equipment_details_with_http_info(self, **kwargs): # noqa: E501 + """Get default values for Equipment details for a specific equipment type # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_default_equipment_details_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param EquipmentType equipment_type: + :return: EquipmentDetails + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['equipment_type'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_default_equipment_details" % key + ) + params[key] = val + del params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'equipment_type' in params: + query_params.append(('equipmentType', params['equipment_type'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/equipment/defaultDetails', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='EquipmentDetails', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_equipment_by_customer_id(self, customer_id, pagination_context, **kwargs): # noqa: E501 + """Get Equipment By customerId # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_equipment_by_customer_id(customer_id, pagination_context, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int customer_id: customer id (required) + :param PaginationContextEquipment pagination_context: pagination context (required) + :param list[SortColumnsEquipment] sort_by: sort options + :return: PaginationResponseEquipment + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_equipment_by_customer_id_with_http_info(customer_id, pagination_context, **kwargs) # noqa: E501 + else: + (data) = self.get_equipment_by_customer_id_with_http_info(customer_id, pagination_context, **kwargs) # noqa: E501 + return data + + def get_equipment_by_customer_id_with_http_info(self, customer_id, pagination_context, **kwargs): # noqa: E501 + """Get Equipment By customerId # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_equipment_by_customer_id_with_http_info(customer_id, pagination_context, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int customer_id: customer id (required) + :param PaginationContextEquipment pagination_context: pagination context (required) + :param list[SortColumnsEquipment] sort_by: sort options + :return: PaginationResponseEquipment + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['customer_id', 'pagination_context', 'sort_by'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_equipment_by_customer_id" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'customer_id' is set + if ('customer_id' not in params or + params['customer_id'] is None): + raise ValueError("Missing the required parameter `customer_id` when calling `get_equipment_by_customer_id`") # noqa: E501 + # verify the required parameter 'pagination_context' is set + if ('pagination_context' not in params or + params['pagination_context'] is None): + raise ValueError("Missing the required parameter `pagination_context` when calling `get_equipment_by_customer_id`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'customer_id' in params: + query_params.append(('customerId', params['customer_id'])) # noqa: E501 + if 'sort_by' in params: + query_params.append(('sortBy', params['sort_by'])) # noqa: E501 + collection_formats['sortBy'] = 'multi' # noqa: E501 + if 'pagination_context' in params: + query_params.append(('paginationContext', params['pagination_context'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/equipment/forCustomer', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='PaginationResponseEquipment', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_equipment_by_customer_with_filter(self, customer_id, **kwargs): # noqa: E501 + """Get Equipment for customerId, equipment type, and location id # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_equipment_by_customer_with_filter(customer_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int customer_id: customer id (required) + :param EquipmentType equipment_type: equipment type + :param list[int] location_ids: set of location ids + :param str criteria: search criteria + :param list[SortColumnsEquipment] sort_by: sort options + :param PaginationContextEquipment pagination_context: pagination context + :return: PaginationResponseEquipment + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_equipment_by_customer_with_filter_with_http_info(customer_id, **kwargs) # noqa: E501 + else: + (data) = self.get_equipment_by_customer_with_filter_with_http_info(customer_id, **kwargs) # noqa: E501 + return data + + def get_equipment_by_customer_with_filter_with_http_info(self, customer_id, **kwargs): # noqa: E501 + """Get Equipment for customerId, equipment type, and location id # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_equipment_by_customer_with_filter_with_http_info(customer_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int customer_id: customer id (required) + :param EquipmentType equipment_type: equipment type + :param list[int] location_ids: set of location ids + :param str criteria: search criteria + :param list[SortColumnsEquipment] sort_by: sort options + :param PaginationContextEquipment pagination_context: pagination context + :return: PaginationResponseEquipment + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['customer_id', 'equipment_type', 'location_ids', 'criteria', 'sort_by', 'pagination_context'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_equipment_by_customer_with_filter" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'customer_id' is set + if ('customer_id' not in params or + params['customer_id'] is None): + raise ValueError("Missing the required parameter `customer_id` when calling `get_equipment_by_customer_with_filter`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'customer_id' in params: + query_params.append(('customerId', params['customer_id'])) # noqa: E501 + if 'equipment_type' in params: + query_params.append(('equipmentType', params['equipment_type'])) # noqa: E501 + if 'location_ids' in params: + query_params.append(('locationIds', params['location_ids'])) # noqa: E501 + collection_formats['locationIds'] = 'multi' # noqa: E501 + if 'criteria' in params: + query_params.append(('criteria', params['criteria'])) # noqa: E501 + if 'sort_by' in params: + query_params.append(('sortBy', params['sort_by'])) # noqa: E501 + collection_formats['sortBy'] = 'multi' # noqa: E501 + if 'pagination_context' in params: + query_params.append(('paginationContext', params['pagination_context'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/equipment/forCustomerWithFilter', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='PaginationResponseEquipment', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_equipment_by_id(self, equipment_id, **kwargs): # noqa: E501 + """Get Equipment By Id # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_equipment_by_id(equipment_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int equipment_id: equipment id (required) + :return: Equipment + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_equipment_by_id_with_http_info(equipment_id, **kwargs) # noqa: E501 + else: + (data) = self.get_equipment_by_id_with_http_info(equipment_id, **kwargs) # noqa: E501 + return data + + def get_equipment_by_id_with_http_info(self, equipment_id, **kwargs): # noqa: E501 + """Get Equipment By Id # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_equipment_by_id_with_http_info(equipment_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int equipment_id: equipment id (required) + :return: Equipment + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['equipment_id'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_equipment_by_id" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'equipment_id' is set + if ('equipment_id' not in params or + params['equipment_id'] is None): + raise ValueError("Missing the required parameter `equipment_id` when calling `get_equipment_by_id`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'equipment_id' in params: + query_params.append(('equipmentId', params['equipment_id'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/equipment', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='Equipment', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_equipment_by_set_of_ids(self, equipment_id_set, **kwargs): # noqa: E501 + """Get Equipment By a set of ids # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_equipment_by_set_of_ids(equipment_id_set, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param list[int] equipment_id_set: set of equipment ids (required) + :return: list[Equipment] + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_equipment_by_set_of_ids_with_http_info(equipment_id_set, **kwargs) # noqa: E501 + else: + (data) = self.get_equipment_by_set_of_ids_with_http_info(equipment_id_set, **kwargs) # noqa: E501 + return data + + def get_equipment_by_set_of_ids_with_http_info(self, equipment_id_set, **kwargs): # noqa: E501 + """Get Equipment By a set of ids # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_equipment_by_set_of_ids_with_http_info(equipment_id_set, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param list[int] equipment_id_set: set of equipment ids (required) + :return: list[Equipment] + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['equipment_id_set'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_equipment_by_set_of_ids" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'equipment_id_set' is set + if ('equipment_id_set' not in params or + params['equipment_id_set'] is None): + raise ValueError("Missing the required parameter `equipment_id_set` when calling `get_equipment_by_set_of_ids`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'equipment_id_set' in params: + query_params.append(('equipmentIdSet', params['equipment_id_set'])) # noqa: E501 + collection_formats['equipmentIdSet'] = 'multi' # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/equipment/inSet', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='list[Equipment]', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def update_equipment(self, body, **kwargs): # noqa: E501 + """Update Equipment # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_equipment(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param Equipment body: equipment info (required) + :return: Equipment + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.update_equipment_with_http_info(body, **kwargs) # noqa: E501 + else: + (data) = self.update_equipment_with_http_info(body, **kwargs) # noqa: E501 + return data + + def update_equipment_with_http_info(self, body, **kwargs): # noqa: E501 + """Update Equipment # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_equipment_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param Equipment body: equipment info (required) + :return: Equipment + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method update_equipment" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'body' is set + if ('body' not in params or + params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `update_equipment`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/equipment', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='Equipment', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def update_equipment_rrm_bulk(self, body, **kwargs): # noqa: E501 + """Update RRM related properties of Equipment in bulk # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_equipment_rrm_bulk(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param EquipmentRrmBulkUpdateRequest body: Equipment RRM bulk update request (required) + :return: GenericResponse + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.update_equipment_rrm_bulk_with_http_info(body, **kwargs) # noqa: E501 + else: + (data) = self.update_equipment_rrm_bulk_with_http_info(body, **kwargs) # noqa: E501 + return data + + def update_equipment_rrm_bulk_with_http_info(self, body, **kwargs): # noqa: E501 + """Update RRM related properties of Equipment in bulk # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_equipment_rrm_bulk_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param EquipmentRrmBulkUpdateRequest body: Equipment RRM bulk update request (required) + :return: GenericResponse + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method update_equipment_rrm_bulk" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'body' is set + if ('body' not in params or + params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `update_equipment_rrm_bulk`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/equipment/rrmBulk', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='GenericResponse', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/libs/cloudapi/cloudsdk/swagger_client/api/equipment_gateway_api.py b/libs/cloudapi/cloudsdk/swagger_client/api/equipment_gateway_api.py new file mode 100644 index 000000000..2bc5dd6c5 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/api/equipment_gateway_api.py @@ -0,0 +1,518 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import re # noqa: F401 + +# python 2 and python 3 compatibility library +import six + +from swagger_client.api_client import ApiClient + + +class EquipmentGatewayApi(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + Ref: https://github.com/swagger-api/swagger-codegen + """ + + def __init__(self, api_client=None): + if api_client is None: + api_client = ApiClient() + self.api_client = api_client + + def request_ap_factory_reset(self, equipment_id, **kwargs): # noqa: E501 + """Request factory reset for a particular equipment. # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.request_ap_factory_reset(equipment_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int equipment_id: Equipment id for which the factory reset is being requested. (required) + :return: GenericResponse + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.request_ap_factory_reset_with_http_info(equipment_id, **kwargs) # noqa: E501 + else: + (data) = self.request_ap_factory_reset_with_http_info(equipment_id, **kwargs) # noqa: E501 + return data + + def request_ap_factory_reset_with_http_info(self, equipment_id, **kwargs): # noqa: E501 + """Request factory reset for a particular equipment. # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.request_ap_factory_reset_with_http_info(equipment_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int equipment_id: Equipment id for which the factory reset is being requested. (required) + :return: GenericResponse + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['equipment_id'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method request_ap_factory_reset" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'equipment_id' is set + if ('equipment_id' not in params or + params['equipment_id'] is None): + raise ValueError("Missing the required parameter `equipment_id` when calling `request_ap_factory_reset`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'equipment_id' in params: + query_params.append(('equipmentId', params['equipment_id'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/equipmentGateway/requestApFactoryReset', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='GenericResponse', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def request_ap_reboot(self, equipment_id, **kwargs): # noqa: E501 + """Request reboot for a particular equipment. # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.request_ap_reboot(equipment_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int equipment_id: Equipment id for which the reboot is being requested. (required) + :return: GenericResponse + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.request_ap_reboot_with_http_info(equipment_id, **kwargs) # noqa: E501 + else: + (data) = self.request_ap_reboot_with_http_info(equipment_id, **kwargs) # noqa: E501 + return data + + def request_ap_reboot_with_http_info(self, equipment_id, **kwargs): # noqa: E501 + """Request reboot for a particular equipment. # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.request_ap_reboot_with_http_info(equipment_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int equipment_id: Equipment id for which the reboot is being requested. (required) + :return: GenericResponse + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['equipment_id'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method request_ap_reboot" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'equipment_id' is set + if ('equipment_id' not in params or + params['equipment_id'] is None): + raise ValueError("Missing the required parameter `equipment_id` when calling `request_ap_reboot`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'equipment_id' in params: + query_params.append(('equipmentId', params['equipment_id'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/equipmentGateway/requestApReboot', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='GenericResponse', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def request_ap_switch_software_bank(self, equipment_id, **kwargs): # noqa: E501 + """Request switch of active/inactive sw bank for a particular equipment. # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.request_ap_switch_software_bank(equipment_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int equipment_id: Equipment id for which the switch is being requested. (required) + :return: GenericResponse + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.request_ap_switch_software_bank_with_http_info(equipment_id, **kwargs) # noqa: E501 + else: + (data) = self.request_ap_switch_software_bank_with_http_info(equipment_id, **kwargs) # noqa: E501 + return data + + def request_ap_switch_software_bank_with_http_info(self, equipment_id, **kwargs): # noqa: E501 + """Request switch of active/inactive sw bank for a particular equipment. # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.request_ap_switch_software_bank_with_http_info(equipment_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int equipment_id: Equipment id for which the switch is being requested. (required) + :return: GenericResponse + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['equipment_id'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method request_ap_switch_software_bank" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'equipment_id' is set + if ('equipment_id' not in params or + params['equipment_id'] is None): + raise ValueError("Missing the required parameter `equipment_id` when calling `request_ap_switch_software_bank`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'equipment_id' in params: + query_params.append(('equipmentId', params['equipment_id'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/equipmentGateway/requestApSwitchSoftwareBank', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='GenericResponse', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def request_channel_change(self, body, equipment_id, **kwargs): # noqa: E501 + """Request change of primary and/or backup channels for given frequency bands. # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.request_channel_change(body, equipment_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param RadioChannelChangeSettings body: RadioChannelChangeSettings info (required) + :param int equipment_id: Equipment id for which the channel changes are being performed. (required) + :return: GenericResponse + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.request_channel_change_with_http_info(body, equipment_id, **kwargs) # noqa: E501 + else: + (data) = self.request_channel_change_with_http_info(body, equipment_id, **kwargs) # noqa: E501 + return data + + def request_channel_change_with_http_info(self, body, equipment_id, **kwargs): # noqa: E501 + """Request change of primary and/or backup channels for given frequency bands. # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.request_channel_change_with_http_info(body, equipment_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param RadioChannelChangeSettings body: RadioChannelChangeSettings info (required) + :param int equipment_id: Equipment id for which the channel changes are being performed. (required) + :return: GenericResponse + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body', 'equipment_id'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method request_channel_change" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'body' is set + if ('body' not in params or + params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `request_channel_change`") # noqa: E501 + # verify the required parameter 'equipment_id' is set + if ('equipment_id' not in params or + params['equipment_id'] is None): + raise ValueError("Missing the required parameter `equipment_id` when calling `request_channel_change`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'equipment_id' in params: + query_params.append(('equipmentId', params['equipment_id'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/equipmentGateway/requestChannelChange', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='GenericResponse', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def request_firmware_update(self, equipment_id, firmware_version_id, **kwargs): # noqa: E501 + """Request firmware update for a particular equipment. # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.request_firmware_update(equipment_id, firmware_version_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int equipment_id: Equipment id for which the firmware update is being requested. (required) + :param int firmware_version_id: Id of the firmware version object. (required) + :return: GenericResponse + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.request_firmware_update_with_http_info(equipment_id, firmware_version_id, **kwargs) # noqa: E501 + else: + (data) = self.request_firmware_update_with_http_info(equipment_id, firmware_version_id, **kwargs) # noqa: E501 + return data + + def request_firmware_update_with_http_info(self, equipment_id, firmware_version_id, **kwargs): # noqa: E501 + """Request firmware update for a particular equipment. # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.request_firmware_update_with_http_info(equipment_id, firmware_version_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int equipment_id: Equipment id for which the firmware update is being requested. (required) + :param int firmware_version_id: Id of the firmware version object. (required) + :return: GenericResponse + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['equipment_id', 'firmware_version_id'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method request_firmware_update" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'equipment_id' is set + if ('equipment_id' not in params or + params['equipment_id'] is None): + raise ValueError("Missing the required parameter `equipment_id` when calling `request_firmware_update`") # noqa: E501 + # verify the required parameter 'firmware_version_id' is set + if ('firmware_version_id' not in params or + params['firmware_version_id'] is None): + raise ValueError("Missing the required parameter `firmware_version_id` when calling `request_firmware_update`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'equipment_id' in params: + query_params.append(('equipmentId', params['equipment_id'])) # noqa: E501 + if 'firmware_version_id' in params: + query_params.append(('firmwareVersionId', params['firmware_version_id'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/equipmentGateway/requestFirmwareUpdate', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='GenericResponse', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/libs/cloudapi/cloudsdk/swagger_client/api/file_services_api.py b/libs/cloudapi/cloudsdk/swagger_client/api/file_services_api.py new file mode 100644 index 000000000..5fff7694d --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/api/file_services_api.py @@ -0,0 +1,231 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import re # noqa: F401 + +# python 2 and python 3 compatibility library +import six + +from swagger_client.api_client import ApiClient + + +class FileServicesApi(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + Ref: https://github.com/swagger-api/swagger-codegen + """ + + def __init__(self, api_client=None): + if api_client is None: + api_client = ApiClient() + self.api_client = api_client + + def download_binary_file(self, file_name, **kwargs): # noqa: E501 + """Download binary file. # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.download_binary_file(file_name, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str file_name: File name to download. File/path delimiters not allowed. (required) + :return: str + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.download_binary_file_with_http_info(file_name, **kwargs) # noqa: E501 + else: + (data) = self.download_binary_file_with_http_info(file_name, **kwargs) # noqa: E501 + return data + + def download_binary_file_with_http_info(self, file_name, **kwargs): # noqa: E501 + """Download binary file. # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.download_binary_file_with_http_info(file_name, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str file_name: File name to download. File/path delimiters not allowed. (required) + :return: str + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['file_name'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method download_binary_file" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'file_name' is set + if ('file_name' not in params or + params['file_name'] is None): + raise ValueError("Missing the required parameter `file_name` when calling `download_binary_file`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'file_name' in params: + path_params['fileName'] = params['file_name'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/octet-stream', 'application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/filestore/{fileName}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def upload_binary_file(self, body, file_name, **kwargs): # noqa: E501 + """Upload binary file. # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.upload_binary_file(body, file_name, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param Object body: Contents of binary file (required) + :param str file_name: File name that is being uploaded. File/path delimiters not allowed. (required) + :return: GenericResponse + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.upload_binary_file_with_http_info(body, file_name, **kwargs) # noqa: E501 + else: + (data) = self.upload_binary_file_with_http_info(body, file_name, **kwargs) # noqa: E501 + return data + + def upload_binary_file_with_http_info(self, body, file_name, **kwargs): # noqa: E501 + """Upload binary file. # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.upload_binary_file_with_http_info(body, file_name, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param Object body: Contents of binary file (required) + :param str file_name: File name that is being uploaded. File/path delimiters not allowed. (required) + :return: GenericResponse + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body', 'file_name'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method upload_binary_file" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'body' is set + if ('body' not in params or + params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `upload_binary_file`") # noqa: E501 + # verify the required parameter 'file_name' is set + if ('file_name' not in params or + params['file_name'] is None): + raise ValueError("Missing the required parameter `file_name` when calling `upload_binary_file`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'file_name' in params: + path_params['fileName'] = params['file_name'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/octet-stream']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/filestore/{fileName}', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='GenericResponse', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/libs/cloudapi/cloudsdk/swagger_client/api/firmware_management_api.py b/libs/cloudapi/cloudsdk/swagger_client/api/firmware_management_api.py new file mode 100644 index 000000000..6ca8d413a --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/api/firmware_management_api.py @@ -0,0 +1,1925 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import re # noqa: F401 + +# python 2 and python 3 compatibility library +import six + +from swagger_client.api_client import ApiClient + + +class FirmwareManagementApi(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + Ref: https://github.com/swagger-api/swagger-codegen + """ + + def __init__(self, api_client=None): + if api_client is None: + api_client = ApiClient() + self.api_client = api_client + + def create_customer_firmware_track_record(self, body, **kwargs): # noqa: E501 + """Create new CustomerFirmwareTrackRecord # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.create_customer_firmware_track_record(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param CustomerFirmwareTrackRecord body: CustomerFirmwareTrackRecord info (required) + :return: CustomerFirmwareTrackRecord + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.create_customer_firmware_track_record_with_http_info(body, **kwargs) # noqa: E501 + else: + (data) = self.create_customer_firmware_track_record_with_http_info(body, **kwargs) # noqa: E501 + return data + + def create_customer_firmware_track_record_with_http_info(self, body, **kwargs): # noqa: E501 + """Create new CustomerFirmwareTrackRecord # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.create_customer_firmware_track_record_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param CustomerFirmwareTrackRecord body: CustomerFirmwareTrackRecord info (required) + :return: CustomerFirmwareTrackRecord + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method create_customer_firmware_track_record" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'body' is set + if ('body' not in params or + params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `create_customer_firmware_track_record`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/firmware/customerTrack', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='CustomerFirmwareTrackRecord', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def create_firmware_track_record(self, body, **kwargs): # noqa: E501 + """Create new FirmwareTrackRecord # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.create_firmware_track_record(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param FirmwareTrackRecord body: FirmwareTrackRecord info (required) + :return: FirmwareTrackRecord + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.create_firmware_track_record_with_http_info(body, **kwargs) # noqa: E501 + else: + (data) = self.create_firmware_track_record_with_http_info(body, **kwargs) # noqa: E501 + return data + + def create_firmware_track_record_with_http_info(self, body, **kwargs): # noqa: E501 + """Create new FirmwareTrackRecord # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.create_firmware_track_record_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param FirmwareTrackRecord body: FirmwareTrackRecord info (required) + :return: FirmwareTrackRecord + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method create_firmware_track_record" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'body' is set + if ('body' not in params or + params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `create_firmware_track_record`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/firmware/track', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='FirmwareTrackRecord', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def create_firmware_version(self, body, **kwargs): # noqa: E501 + """Create new FirmwareVersion # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.create_firmware_version(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param FirmwareVersion body: FirmwareVersion info (required) + :return: FirmwareVersion + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.create_firmware_version_with_http_info(body, **kwargs) # noqa: E501 + else: + (data) = self.create_firmware_version_with_http_info(body, **kwargs) # noqa: E501 + return data + + def create_firmware_version_with_http_info(self, body, **kwargs): # noqa: E501 + """Create new FirmwareVersion # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.create_firmware_version_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param FirmwareVersion body: FirmwareVersion info (required) + :return: FirmwareVersion + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method create_firmware_version" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'body' is set + if ('body' not in params or + params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `create_firmware_version`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/firmware/version', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='FirmwareVersion', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def delete_customer_firmware_track_record(self, customer_id, **kwargs): # noqa: E501 + """Delete CustomerFirmwareTrackRecord # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_customer_firmware_track_record(customer_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int customer_id: customer id (required) + :return: CustomerFirmwareTrackRecord + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.delete_customer_firmware_track_record_with_http_info(customer_id, **kwargs) # noqa: E501 + else: + (data) = self.delete_customer_firmware_track_record_with_http_info(customer_id, **kwargs) # noqa: E501 + return data + + def delete_customer_firmware_track_record_with_http_info(self, customer_id, **kwargs): # noqa: E501 + """Delete CustomerFirmwareTrackRecord # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_customer_firmware_track_record_with_http_info(customer_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int customer_id: customer id (required) + :return: CustomerFirmwareTrackRecord + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['customer_id'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_customer_firmware_track_record" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'customer_id' is set + if ('customer_id' not in params or + params['customer_id'] is None): + raise ValueError("Missing the required parameter `customer_id` when calling `delete_customer_firmware_track_record`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'customer_id' in params: + query_params.append(('customerId', params['customer_id'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/firmware/customerTrack', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='CustomerFirmwareTrackRecord', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def delete_firmware_track_assignment(self, firmware_track_id, firmware_version_id, **kwargs): # noqa: E501 + """Delete FirmwareTrackAssignment # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_firmware_track_assignment(firmware_track_id, firmware_version_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int firmware_track_id: firmware track id (required) + :param int firmware_version_id: firmware version id (required) + :return: FirmwareTrackAssignmentDetails + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.delete_firmware_track_assignment_with_http_info(firmware_track_id, firmware_version_id, **kwargs) # noqa: E501 + else: + (data) = self.delete_firmware_track_assignment_with_http_info(firmware_track_id, firmware_version_id, **kwargs) # noqa: E501 + return data + + def delete_firmware_track_assignment_with_http_info(self, firmware_track_id, firmware_version_id, **kwargs): # noqa: E501 + """Delete FirmwareTrackAssignment # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_firmware_track_assignment_with_http_info(firmware_track_id, firmware_version_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int firmware_track_id: firmware track id (required) + :param int firmware_version_id: firmware version id (required) + :return: FirmwareTrackAssignmentDetails + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['firmware_track_id', 'firmware_version_id'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_firmware_track_assignment" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'firmware_track_id' is set + if ('firmware_track_id' not in params or + params['firmware_track_id'] is None): + raise ValueError("Missing the required parameter `firmware_track_id` when calling `delete_firmware_track_assignment`") # noqa: E501 + # verify the required parameter 'firmware_version_id' is set + if ('firmware_version_id' not in params or + params['firmware_version_id'] is None): + raise ValueError("Missing the required parameter `firmware_version_id` when calling `delete_firmware_track_assignment`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'firmware_track_id' in params: + query_params.append(('firmwareTrackId', params['firmware_track_id'])) # noqa: E501 + if 'firmware_version_id' in params: + query_params.append(('firmwareVersionId', params['firmware_version_id'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/firmware/trackAssignment', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='FirmwareTrackAssignmentDetails', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def delete_firmware_track_record(self, firmware_track_id, **kwargs): # noqa: E501 + """Delete FirmwareTrackRecord # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_firmware_track_record(firmware_track_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int firmware_track_id: firmware track id (required) + :return: FirmwareTrackRecord + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.delete_firmware_track_record_with_http_info(firmware_track_id, **kwargs) # noqa: E501 + else: + (data) = self.delete_firmware_track_record_with_http_info(firmware_track_id, **kwargs) # noqa: E501 + return data + + def delete_firmware_track_record_with_http_info(self, firmware_track_id, **kwargs): # noqa: E501 + """Delete FirmwareTrackRecord # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_firmware_track_record_with_http_info(firmware_track_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int firmware_track_id: firmware track id (required) + :return: FirmwareTrackRecord + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['firmware_track_id'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_firmware_track_record" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'firmware_track_id' is set + if ('firmware_track_id' not in params or + params['firmware_track_id'] is None): + raise ValueError("Missing the required parameter `firmware_track_id` when calling `delete_firmware_track_record`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'firmware_track_id' in params: + query_params.append(('firmwareTrackId', params['firmware_track_id'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/firmware/track', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='FirmwareTrackRecord', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def delete_firmware_version(self, firmware_version_id, **kwargs): # noqa: E501 + """Delete FirmwareVersion # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_firmware_version(firmware_version_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int firmware_version_id: firmwareVersion id (required) + :return: FirmwareVersion + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.delete_firmware_version_with_http_info(firmware_version_id, **kwargs) # noqa: E501 + else: + (data) = self.delete_firmware_version_with_http_info(firmware_version_id, **kwargs) # noqa: E501 + return data + + def delete_firmware_version_with_http_info(self, firmware_version_id, **kwargs): # noqa: E501 + """Delete FirmwareVersion # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_firmware_version_with_http_info(firmware_version_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int firmware_version_id: firmwareVersion id (required) + :return: FirmwareVersion + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['firmware_version_id'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_firmware_version" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'firmware_version_id' is set + if ('firmware_version_id' not in params or + params['firmware_version_id'] is None): + raise ValueError("Missing the required parameter `firmware_version_id` when calling `delete_firmware_version`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'firmware_version_id' in params: + query_params.append(('firmwareVersionId', params['firmware_version_id'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/firmware/version', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='FirmwareVersion', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_customer_firmware_track_record(self, customer_id, **kwargs): # noqa: E501 + """Get CustomerFirmwareTrackRecord By customerId # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_customer_firmware_track_record(customer_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int customer_id: customer id (required) + :return: CustomerFirmwareTrackRecord + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_customer_firmware_track_record_with_http_info(customer_id, **kwargs) # noqa: E501 + else: + (data) = self.get_customer_firmware_track_record_with_http_info(customer_id, **kwargs) # noqa: E501 + return data + + def get_customer_firmware_track_record_with_http_info(self, customer_id, **kwargs): # noqa: E501 + """Get CustomerFirmwareTrackRecord By customerId # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_customer_firmware_track_record_with_http_info(customer_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int customer_id: customer id (required) + :return: CustomerFirmwareTrackRecord + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['customer_id'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_customer_firmware_track_record" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'customer_id' is set + if ('customer_id' not in params or + params['customer_id'] is None): + raise ValueError("Missing the required parameter `customer_id` when calling `get_customer_firmware_track_record`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'customer_id' in params: + query_params.append(('customerId', params['customer_id'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/firmware/customerTrack', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='CustomerFirmwareTrackRecord', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_default_customer_track_setting(self, **kwargs): # noqa: E501 + """Get default settings for handling automatic firmware upgrades # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_default_customer_track_setting(async_req=True) + >>> result = thread.get() + + :param async_req bool + :return: CustomerFirmwareTrackSettings + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_default_customer_track_setting_with_http_info(**kwargs) # noqa: E501 + else: + (data) = self.get_default_customer_track_setting_with_http_info(**kwargs) # noqa: E501 + return data + + def get_default_customer_track_setting_with_http_info(self, **kwargs): # noqa: E501 + """Get default settings for handling automatic firmware upgrades # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_default_customer_track_setting_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool + :return: CustomerFirmwareTrackSettings + If the method is called asynchronously, + returns the request thread. + """ + + all_params = [] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_default_customer_track_setting" % key + ) + params[key] = val + del params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/firmware/customerTrack/default', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='CustomerFirmwareTrackSettings', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_firmware_model_ids_by_equipment_type(self, equipment_type, **kwargs): # noqa: E501 + """Get equipment models from all known firmware versions filtered by equipmentType # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_firmware_model_ids_by_equipment_type(equipment_type, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param EquipmentType equipment_type: (required) + :return: list[str] + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_firmware_model_ids_by_equipment_type_with_http_info(equipment_type, **kwargs) # noqa: E501 + else: + (data) = self.get_firmware_model_ids_by_equipment_type_with_http_info(equipment_type, **kwargs) # noqa: E501 + return data + + def get_firmware_model_ids_by_equipment_type_with_http_info(self, equipment_type, **kwargs): # noqa: E501 + """Get equipment models from all known firmware versions filtered by equipmentType # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_firmware_model_ids_by_equipment_type_with_http_info(equipment_type, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param EquipmentType equipment_type: (required) + :return: list[str] + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['equipment_type'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_firmware_model_ids_by_equipment_type" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'equipment_type' is set + if ('equipment_type' not in params or + params['equipment_type'] is None): + raise ValueError("Missing the required parameter `equipment_type` when calling `get_firmware_model_ids_by_equipment_type`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'equipment_type' in params: + query_params.append(('equipmentType', params['equipment_type'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/firmware/model/byEquipmentType', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='list[str]', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_firmware_track_assignment_details(self, firmware_track_name, **kwargs): # noqa: E501 + """Get FirmwareTrackAssignmentDetails for a given firmware track name # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_firmware_track_assignment_details(firmware_track_name, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str firmware_track_name: firmware track name (required) + :return: list[FirmwareTrackAssignmentDetails] + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_firmware_track_assignment_details_with_http_info(firmware_track_name, **kwargs) # noqa: E501 + else: + (data) = self.get_firmware_track_assignment_details_with_http_info(firmware_track_name, **kwargs) # noqa: E501 + return data + + def get_firmware_track_assignment_details_with_http_info(self, firmware_track_name, **kwargs): # noqa: E501 + """Get FirmwareTrackAssignmentDetails for a given firmware track name # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_firmware_track_assignment_details_with_http_info(firmware_track_name, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str firmware_track_name: firmware track name (required) + :return: list[FirmwareTrackAssignmentDetails] + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['firmware_track_name'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_firmware_track_assignment_details" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'firmware_track_name' is set + if ('firmware_track_name' not in params or + params['firmware_track_name'] is None): + raise ValueError("Missing the required parameter `firmware_track_name` when calling `get_firmware_track_assignment_details`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'firmware_track_name' in params: + query_params.append(('firmwareTrackName', params['firmware_track_name'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/firmware/trackAssignment', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='list[FirmwareTrackAssignmentDetails]', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_firmware_track_record(self, firmware_track_id, **kwargs): # noqa: E501 + """Get FirmwareTrackRecord By Id # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_firmware_track_record(firmware_track_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int firmware_track_id: firmware track id (required) + :return: FirmwareTrackRecord + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_firmware_track_record_with_http_info(firmware_track_id, **kwargs) # noqa: E501 + else: + (data) = self.get_firmware_track_record_with_http_info(firmware_track_id, **kwargs) # noqa: E501 + return data + + def get_firmware_track_record_with_http_info(self, firmware_track_id, **kwargs): # noqa: E501 + """Get FirmwareTrackRecord By Id # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_firmware_track_record_with_http_info(firmware_track_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int firmware_track_id: firmware track id (required) + :return: FirmwareTrackRecord + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['firmware_track_id'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_firmware_track_record" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'firmware_track_id' is set + if ('firmware_track_id' not in params or + params['firmware_track_id'] is None): + raise ValueError("Missing the required parameter `firmware_track_id` when calling `get_firmware_track_record`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'firmware_track_id' in params: + query_params.append(('firmwareTrackId', params['firmware_track_id'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/firmware/track', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='FirmwareTrackRecord', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_firmware_track_record_by_name(self, firmware_track_name, **kwargs): # noqa: E501 + """Get FirmwareTrackRecord By name # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_firmware_track_record_by_name(firmware_track_name, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str firmware_track_name: firmware track name (required) + :return: FirmwareTrackRecord + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_firmware_track_record_by_name_with_http_info(firmware_track_name, **kwargs) # noqa: E501 + else: + (data) = self.get_firmware_track_record_by_name_with_http_info(firmware_track_name, **kwargs) # noqa: E501 + return data + + def get_firmware_track_record_by_name_with_http_info(self, firmware_track_name, **kwargs): # noqa: E501 + """Get FirmwareTrackRecord By name # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_firmware_track_record_by_name_with_http_info(firmware_track_name, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str firmware_track_name: firmware track name (required) + :return: FirmwareTrackRecord + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['firmware_track_name'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_firmware_track_record_by_name" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'firmware_track_name' is set + if ('firmware_track_name' not in params or + params['firmware_track_name'] is None): + raise ValueError("Missing the required parameter `firmware_track_name` when calling `get_firmware_track_record_by_name`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'firmware_track_name' in params: + query_params.append(('firmwareTrackName', params['firmware_track_name'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/firmware/track/byName', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='FirmwareTrackRecord', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_firmware_version(self, firmware_version_id, **kwargs): # noqa: E501 + """Get FirmwareVersion By Id # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_firmware_version(firmware_version_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int firmware_version_id: firmwareVersion id (required) + :return: FirmwareVersion + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_firmware_version_with_http_info(firmware_version_id, **kwargs) # noqa: E501 + else: + (data) = self.get_firmware_version_with_http_info(firmware_version_id, **kwargs) # noqa: E501 + return data + + def get_firmware_version_with_http_info(self, firmware_version_id, **kwargs): # noqa: E501 + """Get FirmwareVersion By Id # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_firmware_version_with_http_info(firmware_version_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int firmware_version_id: firmwareVersion id (required) + :return: FirmwareVersion + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['firmware_version_id'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_firmware_version" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'firmware_version_id' is set + if ('firmware_version_id' not in params or + params['firmware_version_id'] is None): + raise ValueError("Missing the required parameter `firmware_version_id` when calling `get_firmware_version`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'firmware_version_id' in params: + query_params.append(('firmwareVersionId', params['firmware_version_id'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/firmware/version', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='FirmwareVersion', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_firmware_version_by_equipment_type(self, equipment_type, **kwargs): # noqa: E501 + """Get FirmwareVersions filtered by equipmentType and optional equipment model # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_firmware_version_by_equipment_type(equipment_type, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param EquipmentType equipment_type: (required) + :param str model_id: optional filter by equipment model, if null - then firmware versions for all the equipment models are returned + :return: list[FirmwareVersion] + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_firmware_version_by_equipment_type_with_http_info(equipment_type, **kwargs) # noqa: E501 + else: + (data) = self.get_firmware_version_by_equipment_type_with_http_info(equipment_type, **kwargs) # noqa: E501 + return data + + def get_firmware_version_by_equipment_type_with_http_info(self, equipment_type, **kwargs): # noqa: E501 + """Get FirmwareVersions filtered by equipmentType and optional equipment model # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_firmware_version_by_equipment_type_with_http_info(equipment_type, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param EquipmentType equipment_type: (required) + :param str model_id: optional filter by equipment model, if null - then firmware versions for all the equipment models are returned + :return: list[FirmwareVersion] + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['equipment_type', 'model_id'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_firmware_version_by_equipment_type" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'equipment_type' is set + if ('equipment_type' not in params or + params['equipment_type'] is None): + raise ValueError("Missing the required parameter `equipment_type` when calling `get_firmware_version_by_equipment_type`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'equipment_type' in params: + query_params.append(('equipmentType', params['equipment_type'])) # noqa: E501 + if 'model_id' in params: + query_params.append(('modelId', params['model_id'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/firmware/version/byEquipmentType', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='list[FirmwareVersion]', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_firmware_version_by_name(self, firmware_version_name, **kwargs): # noqa: E501 + """Get FirmwareVersion By name # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_firmware_version_by_name(firmware_version_name, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str firmware_version_name: firmwareVersion name (required) + :return: FirmwareVersion + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_firmware_version_by_name_with_http_info(firmware_version_name, **kwargs) # noqa: E501 + else: + (data) = self.get_firmware_version_by_name_with_http_info(firmware_version_name, **kwargs) # noqa: E501 + return data + + def get_firmware_version_by_name_with_http_info(self, firmware_version_name, **kwargs): # noqa: E501 + """Get FirmwareVersion By name # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_firmware_version_by_name_with_http_info(firmware_version_name, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str firmware_version_name: firmwareVersion name (required) + :return: FirmwareVersion + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['firmware_version_name'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_firmware_version_by_name" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'firmware_version_name' is set + if ('firmware_version_name' not in params or + params['firmware_version_name'] is None): + raise ValueError("Missing the required parameter `firmware_version_name` when calling `get_firmware_version_by_name`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'firmware_version_name' in params: + query_params.append(('firmwareVersionName', params['firmware_version_name'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/firmware/version/byName', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='FirmwareVersion', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def update_customer_firmware_track_record(self, body, **kwargs): # noqa: E501 + """Update CustomerFirmwareTrackRecord # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_customer_firmware_track_record(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param CustomerFirmwareTrackRecord body: CustomerFirmwareTrackRecord info (required) + :return: CustomerFirmwareTrackRecord + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.update_customer_firmware_track_record_with_http_info(body, **kwargs) # noqa: E501 + else: + (data) = self.update_customer_firmware_track_record_with_http_info(body, **kwargs) # noqa: E501 + return data + + def update_customer_firmware_track_record_with_http_info(self, body, **kwargs): # noqa: E501 + """Update CustomerFirmwareTrackRecord # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_customer_firmware_track_record_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param CustomerFirmwareTrackRecord body: CustomerFirmwareTrackRecord info (required) + :return: CustomerFirmwareTrackRecord + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method update_customer_firmware_track_record" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'body' is set + if ('body' not in params or + params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `update_customer_firmware_track_record`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/firmware/customerTrack', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='CustomerFirmwareTrackRecord', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def update_firmware_track_assignment_details(self, body, **kwargs): # noqa: E501 + """Update FirmwareTrackAssignmentDetails # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_firmware_track_assignment_details(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param FirmwareTrackAssignmentDetails body: FirmwareTrackAssignmentDetails info (required) + :return: FirmwareTrackAssignmentDetails + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.update_firmware_track_assignment_details_with_http_info(body, **kwargs) # noqa: E501 + else: + (data) = self.update_firmware_track_assignment_details_with_http_info(body, **kwargs) # noqa: E501 + return data + + def update_firmware_track_assignment_details_with_http_info(self, body, **kwargs): # noqa: E501 + """Update FirmwareTrackAssignmentDetails # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_firmware_track_assignment_details_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param FirmwareTrackAssignmentDetails body: FirmwareTrackAssignmentDetails info (required) + :return: FirmwareTrackAssignmentDetails + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method update_firmware_track_assignment_details" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'body' is set + if ('body' not in params or + params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `update_firmware_track_assignment_details`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/firmware/trackAssignment', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='FirmwareTrackAssignmentDetails', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def update_firmware_track_record(self, body, **kwargs): # noqa: E501 + """Update FirmwareTrackRecord # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_firmware_track_record(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param FirmwareTrackRecord body: FirmwareTrackRecord info (required) + :return: FirmwareTrackRecord + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.update_firmware_track_record_with_http_info(body, **kwargs) # noqa: E501 + else: + (data) = self.update_firmware_track_record_with_http_info(body, **kwargs) # noqa: E501 + return data + + def update_firmware_track_record_with_http_info(self, body, **kwargs): # noqa: E501 + """Update FirmwareTrackRecord # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_firmware_track_record_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param FirmwareTrackRecord body: FirmwareTrackRecord info (required) + :return: FirmwareTrackRecord + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method update_firmware_track_record" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'body' is set + if ('body' not in params or + params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `update_firmware_track_record`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/firmware/track', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='FirmwareTrackRecord', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def update_firmware_version(self, body, **kwargs): # noqa: E501 + """Update FirmwareVersion # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_firmware_version(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param FirmwareVersion body: FirmwareVersion info (required) + :return: FirmwareVersion + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.update_firmware_version_with_http_info(body, **kwargs) # noqa: E501 + else: + (data) = self.update_firmware_version_with_http_info(body, **kwargs) # noqa: E501 + return data + + def update_firmware_version_with_http_info(self, body, **kwargs): # noqa: E501 + """Update FirmwareVersion # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_firmware_version_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param FirmwareVersion body: FirmwareVersion info (required) + :return: FirmwareVersion + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method update_firmware_version" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'body' is set + if ('body' not in params or + params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `update_firmware_version`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/firmware/version', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='FirmwareVersion', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/libs/cloudapi/cloudsdk/swagger_client/api/location_api.py b/libs/cloudapi/cloudsdk/swagger_client/api/location_api.py new file mode 100644 index 000000000..7c4c6e815 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/api/location_api.py @@ -0,0 +1,613 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import re # noqa: F401 + +# python 2 and python 3 compatibility library +import six + +from swagger_client.api_client import ApiClient + + +class LocationApi(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + Ref: https://github.com/swagger-api/swagger-codegen + """ + + def __init__(self, api_client=None): + if api_client is None: + api_client = ApiClient() + self.api_client = api_client + + def create_location(self, body, **kwargs): # noqa: E501 + """Create new Location # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.create_location(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param Location body: location info (required) + :return: Location + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.create_location_with_http_info(body, **kwargs) # noqa: E501 + else: + (data) = self.create_location_with_http_info(body, **kwargs) # noqa: E501 + return data + + def create_location_with_http_info(self, body, **kwargs): # noqa: E501 + """Create new Location # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.create_location_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param Location body: location info (required) + :return: Location + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method create_location" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'body' is set + if ('body' not in params or + params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `create_location`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/location', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='Location', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def delete_location(self, location_id, **kwargs): # noqa: E501 + """Delete Location # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_location(location_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int location_id: location id (required) + :return: Location + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.delete_location_with_http_info(location_id, **kwargs) # noqa: E501 + else: + (data) = self.delete_location_with_http_info(location_id, **kwargs) # noqa: E501 + return data + + def delete_location_with_http_info(self, location_id, **kwargs): # noqa: E501 + """Delete Location # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_location_with_http_info(location_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int location_id: location id (required) + :return: Location + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['location_id'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_location" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'location_id' is set + if ('location_id' not in params or + params['location_id'] is None): + raise ValueError("Missing the required parameter `location_id` when calling `delete_location`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'location_id' in params: + query_params.append(('locationId', params['location_id'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/location', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='Location', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_location_by_id(self, location_id, **kwargs): # noqa: E501 + """Get Location By Id # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_location_by_id(location_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int location_id: location id (required) + :return: Location + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_location_by_id_with_http_info(location_id, **kwargs) # noqa: E501 + else: + (data) = self.get_location_by_id_with_http_info(location_id, **kwargs) # noqa: E501 + return data + + def get_location_by_id_with_http_info(self, location_id, **kwargs): # noqa: E501 + """Get Location By Id # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_location_by_id_with_http_info(location_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int location_id: location id (required) + :return: Location + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['location_id'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_location_by_id" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'location_id' is set + if ('location_id' not in params or + params['location_id'] is None): + raise ValueError("Missing the required parameter `location_id` when calling `get_location_by_id`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'location_id' in params: + query_params.append(('locationId', params['location_id'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/location', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='Location', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_location_by_set_of_ids(self, location_id_set, **kwargs): # noqa: E501 + """Get Locations By a set of ids # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_location_by_set_of_ids(location_id_set, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param list[int] location_id_set: set of location ids (required) + :return: list[Location] + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_location_by_set_of_ids_with_http_info(location_id_set, **kwargs) # noqa: E501 + else: + (data) = self.get_location_by_set_of_ids_with_http_info(location_id_set, **kwargs) # noqa: E501 + return data + + def get_location_by_set_of_ids_with_http_info(self, location_id_set, **kwargs): # noqa: E501 + """Get Locations By a set of ids # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_location_by_set_of_ids_with_http_info(location_id_set, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param list[int] location_id_set: set of location ids (required) + :return: list[Location] + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['location_id_set'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_location_by_set_of_ids" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'location_id_set' is set + if ('location_id_set' not in params or + params['location_id_set'] is None): + raise ValueError("Missing the required parameter `location_id_set` when calling `get_location_by_set_of_ids`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'location_id_set' in params: + query_params.append(('locationIdSet', params['location_id_set'])) # noqa: E501 + collection_formats['locationIdSet'] = 'multi' # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/location/inSet', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='list[Location]', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_locations_by_customer_id(self, customer_id, pagination_context, **kwargs): # noqa: E501 + """Get Locations By customerId # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_locations_by_customer_id(customer_id, pagination_context, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int customer_id: customer id (required) + :param PaginationContextLocation pagination_context: pagination context (required) + :param list[SortColumnsLocation] sort_by: sort options + :return: PaginationResponseLocation + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_locations_by_customer_id_with_http_info(customer_id, pagination_context, **kwargs) # noqa: E501 + else: + (data) = self.get_locations_by_customer_id_with_http_info(customer_id, pagination_context, **kwargs) # noqa: E501 + return data + + def get_locations_by_customer_id_with_http_info(self, customer_id, pagination_context, **kwargs): # noqa: E501 + """Get Locations By customerId # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_locations_by_customer_id_with_http_info(customer_id, pagination_context, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int customer_id: customer id (required) + :param PaginationContextLocation pagination_context: pagination context (required) + :param list[SortColumnsLocation] sort_by: sort options + :return: PaginationResponseLocation + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['customer_id', 'pagination_context', 'sort_by'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_locations_by_customer_id" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'customer_id' is set + if ('customer_id' not in params or + params['customer_id'] is None): + raise ValueError("Missing the required parameter `customer_id` when calling `get_locations_by_customer_id`") # noqa: E501 + # verify the required parameter 'pagination_context' is set + if ('pagination_context' not in params or + params['pagination_context'] is None): + raise ValueError("Missing the required parameter `pagination_context` when calling `get_locations_by_customer_id`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'customer_id' in params: + query_params.append(('customerId', params['customer_id'])) # noqa: E501 + if 'sort_by' in params: + query_params.append(('sortBy', params['sort_by'])) # noqa: E501 + collection_formats['sortBy'] = 'multi' # noqa: E501 + if 'pagination_context' in params: + query_params.append(('paginationContext', params['pagination_context'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/location/forCustomer', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='PaginationResponseLocation', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def update_location(self, body, **kwargs): # noqa: E501 + """Update Location # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_location(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param Location body: location info (required) + :return: Location + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.update_location_with_http_info(body, **kwargs) # noqa: E501 + else: + (data) = self.update_location_with_http_info(body, **kwargs) # noqa: E501 + return data + + def update_location_with_http_info(self, body, **kwargs): # noqa: E501 + """Update Location # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_location_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param Location body: location info (required) + :return: Location + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method update_location" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'body' is set + if ('body' not in params or + params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `update_location`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/location', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='Location', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/libs/cloudapi/cloudsdk/swagger_client/api/login_api.py b/libs/cloudapi/cloudsdk/swagger_client/api/login_api.py new file mode 100644 index 000000000..2ce640475 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/api/login_api.py @@ -0,0 +1,215 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import re # noqa: F401 + +# python 2 and python 3 compatibility library +import six + +from swagger_client.api_client import ApiClient + + +class LoginApi(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + Ref: https://github.com/swagger-api/swagger-codegen + """ + + def __init__(self, api_client=None, sdk_base_url=None): + if api_client is None: + api_client = ApiClient(sdk_base_url=sdk_base_url) + self.api_client = api_client + + def get_access_token(self, body, **kwargs): # noqa: E501 + """Get access token - to be used as Bearer token header for all other API requests. # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_access_token(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param WebTokenRequest body: User id and password (required) + :return: WebTokenResult + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_access_token_with_http_info(body, **kwargs) # noqa: E501 + else: + (data) = self.get_access_token_with_http_info(body, **kwargs) # noqa: E501 + return data + + def get_access_token_with_http_info(self, body, **kwargs): # noqa: E501 + """Get access token - to be used as Bearer token header for all other API requests. # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_access_token_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param WebTokenRequest body: User id and password (required) + :return: WebTokenResult + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_access_token" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'body' is set + if ('body' not in params or + params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `get_access_token`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/management/v1/oauth2/token', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='WebTokenResult', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def portal_ping(self, **kwargs): # noqa: E501 + """Portal proces version info. # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.portal_ping(async_req=True) + >>> result = thread.get() + + :param async_req bool + :return: PingResponse + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.portal_ping_with_http_info(**kwargs) # noqa: E501 + else: + (data) = self.portal_ping_with_http_info(**kwargs) # noqa: E501 + return data + + def portal_ping_with_http_info(self, **kwargs): # noqa: E501 + """Portal proces version info. # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.portal_ping_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool + :return: PingResponse + If the method is called asynchronously, + returns the request thread. + """ + + all_params = [] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method portal_ping" % key + ) + params[key] = val + del params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/ping', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='PingResponse', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/libs/cloudapi/cloudsdk/swagger_client/api/manufacturer_oui_api.py b/libs/cloudapi/cloudsdk/swagger_client/api/manufacturer_oui_api.py new file mode 100644 index 000000000..ee9a26255 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/api/manufacturer_oui_api.py @@ -0,0 +1,1384 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import re # noqa: F401 + +# python 2 and python 3 compatibility library +import six + +from swagger_client.api_client import ApiClient + + +class ManufacturerOUIApi(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + Ref: https://github.com/swagger-api/swagger-codegen + """ + + def __init__(self, api_client=None): + if api_client is None: + api_client = ApiClient() + self.api_client = api_client + + def create_manufacturer_details_record(self, body, **kwargs): # noqa: E501 + """Create new ManufacturerDetailsRecord # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.create_manufacturer_details_record(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param ManufacturerDetailsRecord body: ManufacturerDetailsRecord info (required) + :return: ManufacturerDetailsRecord + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.create_manufacturer_details_record_with_http_info(body, **kwargs) # noqa: E501 + else: + (data) = self.create_manufacturer_details_record_with_http_info(body, **kwargs) # noqa: E501 + return data + + def create_manufacturer_details_record_with_http_info(self, body, **kwargs): # noqa: E501 + """Create new ManufacturerDetailsRecord # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.create_manufacturer_details_record_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param ManufacturerDetailsRecord body: ManufacturerDetailsRecord info (required) + :return: ManufacturerDetailsRecord + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method create_manufacturer_details_record" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'body' is set + if ('body' not in params or + params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `create_manufacturer_details_record`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/manufacturer', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ManufacturerDetailsRecord', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def create_manufacturer_oui_details(self, body, **kwargs): # noqa: E501 + """Create new ManufacturerOuiDetails # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.create_manufacturer_oui_details(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param ManufacturerOuiDetails body: ManufacturerOuiDetails info (required) + :return: ManufacturerOuiDetails + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.create_manufacturer_oui_details_with_http_info(body, **kwargs) # noqa: E501 + else: + (data) = self.create_manufacturer_oui_details_with_http_info(body, **kwargs) # noqa: E501 + return data + + def create_manufacturer_oui_details_with_http_info(self, body, **kwargs): # noqa: E501 + """Create new ManufacturerOuiDetails # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.create_manufacturer_oui_details_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param ManufacturerOuiDetails body: ManufacturerOuiDetails info (required) + :return: ManufacturerOuiDetails + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method create_manufacturer_oui_details" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'body' is set + if ('body' not in params or + params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `create_manufacturer_oui_details`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/manufacturer/oui', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ManufacturerOuiDetails', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def delete_manufacturer_details_record(self, id, **kwargs): # noqa: E501 + """Delete ManufacturerDetailsRecord # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_manufacturer_details_record(id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int id: ManufacturerDetailsRecord id (required) + :return: ManufacturerDetailsRecord + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.delete_manufacturer_details_record_with_http_info(id, **kwargs) # noqa: E501 + else: + (data) = self.delete_manufacturer_details_record_with_http_info(id, **kwargs) # noqa: E501 + return data + + def delete_manufacturer_details_record_with_http_info(self, id, **kwargs): # noqa: E501 + """Delete ManufacturerDetailsRecord # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_manufacturer_details_record_with_http_info(id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int id: ManufacturerDetailsRecord id (required) + :return: ManufacturerDetailsRecord + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['id'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_manufacturer_details_record" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'id' is set + if ('id' not in params or + params['id'] is None): + raise ValueError("Missing the required parameter `id` when calling `delete_manufacturer_details_record`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'id' in params: + query_params.append(('id', params['id'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/manufacturer', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ManufacturerDetailsRecord', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def delete_manufacturer_oui_details(self, oui, **kwargs): # noqa: E501 + """Delete ManufacturerOuiDetails # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_manufacturer_oui_details(oui, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str oui: ManufacturerOuiDetails oui (required) + :return: ManufacturerOuiDetails + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.delete_manufacturer_oui_details_with_http_info(oui, **kwargs) # noqa: E501 + else: + (data) = self.delete_manufacturer_oui_details_with_http_info(oui, **kwargs) # noqa: E501 + return data + + def delete_manufacturer_oui_details_with_http_info(self, oui, **kwargs): # noqa: E501 + """Delete ManufacturerOuiDetails # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_manufacturer_oui_details_with_http_info(oui, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str oui: ManufacturerOuiDetails oui (required) + :return: ManufacturerOuiDetails + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['oui'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_manufacturer_oui_details" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'oui' is set + if ('oui' not in params or + params['oui'] is None): + raise ValueError("Missing the required parameter `oui` when calling `delete_manufacturer_oui_details`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'oui' in params: + query_params.append(('oui', params['oui'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/manufacturer/oui', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ManufacturerOuiDetails', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_alias_values_that_begin_with(self, prefix, max_results, **kwargs): # noqa: E501 + """Get manufacturer aliases that begin with the given prefix # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_alias_values_that_begin_with(prefix, max_results, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str prefix: prefix for the manufacturer alias (required) + :param int max_results: max results to return, use -1 for no limit (required) + :return: list[str] + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_alias_values_that_begin_with_with_http_info(prefix, max_results, **kwargs) # noqa: E501 + else: + (data) = self.get_alias_values_that_begin_with_with_http_info(prefix, max_results, **kwargs) # noqa: E501 + return data + + def get_alias_values_that_begin_with_with_http_info(self, prefix, max_results, **kwargs): # noqa: E501 + """Get manufacturer aliases that begin with the given prefix # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_alias_values_that_begin_with_with_http_info(prefix, max_results, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str prefix: prefix for the manufacturer alias (required) + :param int max_results: max results to return, use -1 for no limit (required) + :return: list[str] + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['prefix', 'max_results'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_alias_values_that_begin_with" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'prefix' is set + if ('prefix' not in params or + params['prefix'] is None): + raise ValueError("Missing the required parameter `prefix` when calling `get_alias_values_that_begin_with`") # noqa: E501 + # verify the required parameter 'max_results' is set + if ('max_results' not in params or + params['max_results'] is None): + raise ValueError("Missing the required parameter `max_results` when calling `get_alias_values_that_begin_with`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'prefix' in params: + query_params.append(('prefix', params['prefix'])) # noqa: E501 + if 'max_results' in params: + query_params.append(('maxResults', params['max_results'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/manufacturer/oui/alias', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='list[str]', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_all_manufacturer_oui_details(self, **kwargs): # noqa: E501 + """Get all ManufacturerOuiDetails # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_all_manufacturer_oui_details(async_req=True) + >>> result = thread.get() + + :param async_req bool + :return: list[ManufacturerOuiDetails] + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_all_manufacturer_oui_details_with_http_info(**kwargs) # noqa: E501 + else: + (data) = self.get_all_manufacturer_oui_details_with_http_info(**kwargs) # noqa: E501 + return data + + def get_all_manufacturer_oui_details_with_http_info(self, **kwargs): # noqa: E501 + """Get all ManufacturerOuiDetails # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_all_manufacturer_oui_details_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool + :return: list[ManufacturerOuiDetails] + If the method is called asynchronously, + returns the request thread. + """ + + all_params = [] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_all_manufacturer_oui_details" % key + ) + params[key] = val + del params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/manufacturer/oui/all', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='list[ManufacturerOuiDetails]', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_manufacturer_details_for_oui_list(self, oui_list, **kwargs): # noqa: E501 + """Get ManufacturerOuiDetails for the list of OUIs # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_manufacturer_details_for_oui_list(oui_list, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param list[str] oui_list: (required) + :return: ManufacturerOuiDetailsPerOuiMap + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_manufacturer_details_for_oui_list_with_http_info(oui_list, **kwargs) # noqa: E501 + else: + (data) = self.get_manufacturer_details_for_oui_list_with_http_info(oui_list, **kwargs) # noqa: E501 + return data + + def get_manufacturer_details_for_oui_list_with_http_info(self, oui_list, **kwargs): # noqa: E501 + """Get ManufacturerOuiDetails for the list of OUIs # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_manufacturer_details_for_oui_list_with_http_info(oui_list, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param list[str] oui_list: (required) + :return: ManufacturerOuiDetailsPerOuiMap + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['oui_list'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_manufacturer_details_for_oui_list" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'oui_list' is set + if ('oui_list' not in params or + params['oui_list'] is None): + raise ValueError("Missing the required parameter `oui_list` when calling `get_manufacturer_details_for_oui_list`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'oui_list' in params: + query_params.append(('ouiList', params['oui_list'])) # noqa: E501 + collection_formats['ouiList'] = 'multi' # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/manufacturer/oui/list', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ManufacturerOuiDetailsPerOuiMap', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_manufacturer_details_record(self, id, **kwargs): # noqa: E501 + """Get ManufacturerDetailsRecord By id # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_manufacturer_details_record(id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int id: ManufacturerDetailsRecord id (required) + :return: ManufacturerDetailsRecord + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_manufacturer_details_record_with_http_info(id, **kwargs) # noqa: E501 + else: + (data) = self.get_manufacturer_details_record_with_http_info(id, **kwargs) # noqa: E501 + return data + + def get_manufacturer_details_record_with_http_info(self, id, **kwargs): # noqa: E501 + """Get ManufacturerDetailsRecord By id # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_manufacturer_details_record_with_http_info(id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int id: ManufacturerDetailsRecord id (required) + :return: ManufacturerDetailsRecord + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['id'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_manufacturer_details_record" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'id' is set + if ('id' not in params or + params['id'] is None): + raise ValueError("Missing the required parameter `id` when calling `get_manufacturer_details_record`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'id' in params: + query_params.append(('id', params['id'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/manufacturer', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ManufacturerDetailsRecord', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_manufacturer_oui_details_by_oui(self, oui, **kwargs): # noqa: E501 + """Get ManufacturerOuiDetails By oui # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_manufacturer_oui_details_by_oui(oui, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str oui: ManufacturerOuiDetails oui (required) + :return: ManufacturerOuiDetails + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_manufacturer_oui_details_by_oui_with_http_info(oui, **kwargs) # noqa: E501 + else: + (data) = self.get_manufacturer_oui_details_by_oui_with_http_info(oui, **kwargs) # noqa: E501 + return data + + def get_manufacturer_oui_details_by_oui_with_http_info(self, oui, **kwargs): # noqa: E501 + """Get ManufacturerOuiDetails By oui # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_manufacturer_oui_details_by_oui_with_http_info(oui, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str oui: ManufacturerOuiDetails oui (required) + :return: ManufacturerOuiDetails + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['oui'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_manufacturer_oui_details_by_oui" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'oui' is set + if ('oui' not in params or + params['oui'] is None): + raise ValueError("Missing the required parameter `oui` when calling `get_manufacturer_oui_details_by_oui`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'oui' in params: + query_params.append(('oui', params['oui'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/manufacturer/oui', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ManufacturerOuiDetails', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_oui_list_for_manufacturer(self, manufacturer, exact_match, **kwargs): # noqa: E501 + """Get Oui List for manufacturer # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_oui_list_for_manufacturer(manufacturer, exact_match, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str manufacturer: Manufacturer name or alias (required) + :param bool exact_match: Perform exact match (true) or prefix match (false) for the manufacturer name or alias (required) + :return: list[str] + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_oui_list_for_manufacturer_with_http_info(manufacturer, exact_match, **kwargs) # noqa: E501 + else: + (data) = self.get_oui_list_for_manufacturer_with_http_info(manufacturer, exact_match, **kwargs) # noqa: E501 + return data + + def get_oui_list_for_manufacturer_with_http_info(self, manufacturer, exact_match, **kwargs): # noqa: E501 + """Get Oui List for manufacturer # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_oui_list_for_manufacturer_with_http_info(manufacturer, exact_match, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str manufacturer: Manufacturer name or alias (required) + :param bool exact_match: Perform exact match (true) or prefix match (false) for the manufacturer name or alias (required) + :return: list[str] + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['manufacturer', 'exact_match'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_oui_list_for_manufacturer" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'manufacturer' is set + if ('manufacturer' not in params or + params['manufacturer'] is None): + raise ValueError("Missing the required parameter `manufacturer` when calling `get_oui_list_for_manufacturer`") # noqa: E501 + # verify the required parameter 'exact_match' is set + if ('exact_match' not in params or + params['exact_match'] is None): + raise ValueError("Missing the required parameter `exact_match` when calling `get_oui_list_for_manufacturer`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'manufacturer' in params: + query_params.append(('manufacturer', params['manufacturer'])) # noqa: E501 + if 'exact_match' in params: + query_params.append(('exactMatch', params['exact_match'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/manufacturer/oui/forManufacturer', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='list[str]', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def update_manufacturer_details_record(self, body, **kwargs): # noqa: E501 + """Update ManufacturerDetailsRecord # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_manufacturer_details_record(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param ManufacturerDetailsRecord body: ManufacturerDetailsRecord info (required) + :return: ManufacturerDetailsRecord + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.update_manufacturer_details_record_with_http_info(body, **kwargs) # noqa: E501 + else: + (data) = self.update_manufacturer_details_record_with_http_info(body, **kwargs) # noqa: E501 + return data + + def update_manufacturer_details_record_with_http_info(self, body, **kwargs): # noqa: E501 + """Update ManufacturerDetailsRecord # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_manufacturer_details_record_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param ManufacturerDetailsRecord body: ManufacturerDetailsRecord info (required) + :return: ManufacturerDetailsRecord + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method update_manufacturer_details_record" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'body' is set + if ('body' not in params or + params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `update_manufacturer_details_record`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/manufacturer', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ManufacturerDetailsRecord', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def update_oui_alias(self, body, **kwargs): # noqa: E501 + """Update alias for ManufacturerOuiDetails # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_oui_alias(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param ManufacturerOuiDetails body: ManufacturerOuiDetails info (required) + :return: ManufacturerOuiDetails + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.update_oui_alias_with_http_info(body, **kwargs) # noqa: E501 + else: + (data) = self.update_oui_alias_with_http_info(body, **kwargs) # noqa: E501 + return data + + def update_oui_alias_with_http_info(self, body, **kwargs): # noqa: E501 + """Update alias for ManufacturerOuiDetails # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_oui_alias_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param ManufacturerOuiDetails body: ManufacturerOuiDetails info (required) + :return: ManufacturerOuiDetails + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method update_oui_alias" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'body' is set + if ('body' not in params or + params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `update_oui_alias`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/manufacturer/oui/alias', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ManufacturerOuiDetails', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def upload_oui_data_file(self, body, file_name, **kwargs): # noqa: E501 + """Upload the gziped OUI DataFile, in the format that is published by IEEE. Latest sanitized IEEE OUI data file (oui.txt.gz) can be obtained from https://linuxnet.ca/ieee/oui/ # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.upload_oui_data_file(body, file_name, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param Object body: Contents of gziped OUI DataFile, raw (required) + :param str file_name: file name that is being uploaded (required) + :return: GenericResponse + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.upload_oui_data_file_with_http_info(body, file_name, **kwargs) # noqa: E501 + else: + (data) = self.upload_oui_data_file_with_http_info(body, file_name, **kwargs) # noqa: E501 + return data + + def upload_oui_data_file_with_http_info(self, body, file_name, **kwargs): # noqa: E501 + """Upload the gziped OUI DataFile, in the format that is published by IEEE. Latest sanitized IEEE OUI data file (oui.txt.gz) can be obtained from https://linuxnet.ca/ieee/oui/ # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.upload_oui_data_file_with_http_info(body, file_name, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param Object body: Contents of gziped OUI DataFile, raw (required) + :param str file_name: file name that is being uploaded (required) + :return: GenericResponse + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body', 'file_name'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method upload_oui_data_file" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'body' is set + if ('body' not in params or + params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `upload_oui_data_file`") # noqa: E501 + # verify the required parameter 'file_name' is set + if ('file_name' not in params or + params['file_name'] is None): + raise ValueError("Missing the required parameter `file_name` when calling `upload_oui_data_file`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'file_name' in params: + query_params.append(('fileName', params['file_name'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/octet-stream']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/manufacturer/oui/upload', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='GenericResponse', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def upload_oui_data_file_base64(self, body, file_name, **kwargs): # noqa: E501 + """Upload the gziped OUI DataFile using base64 encoding, in the format that is published by IEEE. Latest sanitized IEEE OUI data file (oui.txt.gz) can be obtained from https://linuxnet.ca/ieee/oui/ # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.upload_oui_data_file_base64(body, file_name, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str body: Contents of gziped OUI DataFile, base64-encoded (required) + :param str file_name: file name that is being uploaded (required) + :return: GenericResponse + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.upload_oui_data_file_base64_with_http_info(body, file_name, **kwargs) # noqa: E501 + else: + (data) = self.upload_oui_data_file_base64_with_http_info(body, file_name, **kwargs) # noqa: E501 + return data + + def upload_oui_data_file_base64_with_http_info(self, body, file_name, **kwargs): # noqa: E501 + """Upload the gziped OUI DataFile using base64 encoding, in the format that is published by IEEE. Latest sanitized IEEE OUI data file (oui.txt.gz) can be obtained from https://linuxnet.ca/ieee/oui/ # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.upload_oui_data_file_base64_with_http_info(body, file_name, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str body: Contents of gziped OUI DataFile, base64-encoded (required) + :param str file_name: file name that is being uploaded (required) + :return: GenericResponse + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body', 'file_name'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method upload_oui_data_file_base64" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'body' is set + if ('body' not in params or + params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `upload_oui_data_file_base64`") # noqa: E501 + # verify the required parameter 'file_name' is set + if ('file_name' not in params or + params['file_name'] is None): + raise ValueError("Missing the required parameter `file_name` when calling `upload_oui_data_file_base64`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'file_name' in params: + query_params.append(('fileName', params['file_name'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/octet-stream']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/manufacturer/oui/upload/base64', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='GenericResponse', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/libs/cloudapi/cloudsdk/swagger_client/api/portal_users_api.py b/libs/cloudapi/cloudsdk/swagger_client/api/portal_users_api.py new file mode 100644 index 000000000..7198b5a6f --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/api/portal_users_api.py @@ -0,0 +1,807 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import re # noqa: F401 + +# python 2 and python 3 compatibility library +import six + +from swagger_client.api_client import ApiClient + + +class PortalUsersApi(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + Ref: https://github.com/swagger-api/swagger-codegen + """ + + def __init__(self, api_client=None): + if api_client is None: + api_client = ApiClient() + self.api_client = api_client + + def create_portal_user(self, body, **kwargs): # noqa: E501 + """Create new Portal User # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.create_portal_user(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param PortalUser body: portal user info (required) + :return: PortalUser + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.create_portal_user_with_http_info(body, **kwargs) # noqa: E501 + else: + (data) = self.create_portal_user_with_http_info(body, **kwargs) # noqa: E501 + return data + + def create_portal_user_with_http_info(self, body, **kwargs): # noqa: E501 + """Create new Portal User # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.create_portal_user_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param PortalUser body: portal user info (required) + :return: PortalUser + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method create_portal_user" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'body' is set + if ('body' not in params or + params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `create_portal_user`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/portalUser', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='PortalUser', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def delete_portal_user(self, portal_user_id, **kwargs): # noqa: E501 + """Delete PortalUser # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_portal_user(portal_user_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int portal_user_id: (required) + :return: PortalUser + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.delete_portal_user_with_http_info(portal_user_id, **kwargs) # noqa: E501 + else: + (data) = self.delete_portal_user_with_http_info(portal_user_id, **kwargs) # noqa: E501 + return data + + def delete_portal_user_with_http_info(self, portal_user_id, **kwargs): # noqa: E501 + """Delete PortalUser # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_portal_user_with_http_info(portal_user_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int portal_user_id: (required) + :return: PortalUser + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['portal_user_id'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_portal_user" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'portal_user_id' is set + if ('portal_user_id' not in params or + params['portal_user_id'] is None): + raise ValueError("Missing the required parameter `portal_user_id` when calling `delete_portal_user`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'portal_user_id' in params: + query_params.append(('portalUserId', params['portal_user_id'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/portalUser', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='PortalUser', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_portal_user_by_id(self, portal_user_id, **kwargs): # noqa: E501 + """Get portal user By Id # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_portal_user_by_id(portal_user_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int portal_user_id: (required) + :return: PortalUser + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_portal_user_by_id_with_http_info(portal_user_id, **kwargs) # noqa: E501 + else: + (data) = self.get_portal_user_by_id_with_http_info(portal_user_id, **kwargs) # noqa: E501 + return data + + def get_portal_user_by_id_with_http_info(self, portal_user_id, **kwargs): # noqa: E501 + """Get portal user By Id # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_portal_user_by_id_with_http_info(portal_user_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int portal_user_id: (required) + :return: PortalUser + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['portal_user_id'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_portal_user_by_id" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'portal_user_id' is set + if ('portal_user_id' not in params or + params['portal_user_id'] is None): + raise ValueError("Missing the required parameter `portal_user_id` when calling `get_portal_user_by_id`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'portal_user_id' in params: + query_params.append(('portalUserId', params['portal_user_id'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/portalUser', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='PortalUser', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_portal_user_by_username(self, customer_id, username, **kwargs): # noqa: E501 + """Get portal user by user name # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_portal_user_by_username(customer_id, username, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int customer_id: (required) + :param str username: (required) + :return: PortalUser + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_portal_user_by_username_with_http_info(customer_id, username, **kwargs) # noqa: E501 + else: + (data) = self.get_portal_user_by_username_with_http_info(customer_id, username, **kwargs) # noqa: E501 + return data + + def get_portal_user_by_username_with_http_info(self, customer_id, username, **kwargs): # noqa: E501 + """Get portal user by user name # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_portal_user_by_username_with_http_info(customer_id, username, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int customer_id: (required) + :param str username: (required) + :return: PortalUser + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['customer_id', 'username'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_portal_user_by_username" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'customer_id' is set + if ('customer_id' not in params or + params['customer_id'] is None): + raise ValueError("Missing the required parameter `customer_id` when calling `get_portal_user_by_username`") # noqa: E501 + # verify the required parameter 'username' is set + if ('username' not in params or + params['username'] is None): + raise ValueError("Missing the required parameter `username` when calling `get_portal_user_by_username`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'customer_id' in params: + query_params.append(('customerId', params['customer_id'])) # noqa: E501 + if 'username' in params: + query_params.append(('username', params['username'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/portalUser/byUsernameOrNull', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='PortalUser', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_portal_users_by_customer_id(self, customer_id, pagination_context, **kwargs): # noqa: E501 + """Get PortalUsers By customerId # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_portal_users_by_customer_id(customer_id, pagination_context, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int customer_id: customer id (required) + :param PaginationContextPortalUser pagination_context: pagination context (required) + :param list[SortColumnsPortalUser] sort_by: sort options + :return: PaginationResponsePortalUser + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_portal_users_by_customer_id_with_http_info(customer_id, pagination_context, **kwargs) # noqa: E501 + else: + (data) = self.get_portal_users_by_customer_id_with_http_info(customer_id, pagination_context, **kwargs) # noqa: E501 + return data + + def get_portal_users_by_customer_id_with_http_info(self, customer_id, pagination_context, **kwargs): # noqa: E501 + """Get PortalUsers By customerId # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_portal_users_by_customer_id_with_http_info(customer_id, pagination_context, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int customer_id: customer id (required) + :param PaginationContextPortalUser pagination_context: pagination context (required) + :param list[SortColumnsPortalUser] sort_by: sort options + :return: PaginationResponsePortalUser + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['customer_id', 'pagination_context', 'sort_by'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_portal_users_by_customer_id" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'customer_id' is set + if ('customer_id' not in params or + params['customer_id'] is None): + raise ValueError("Missing the required parameter `customer_id` when calling `get_portal_users_by_customer_id`") # noqa: E501 + # verify the required parameter 'pagination_context' is set + if ('pagination_context' not in params or + params['pagination_context'] is None): + raise ValueError("Missing the required parameter `pagination_context` when calling `get_portal_users_by_customer_id`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'customer_id' in params: + query_params.append(('customerId', params['customer_id'])) # noqa: E501 + if 'sort_by' in params: + query_params.append(('sortBy', params['sort_by'])) # noqa: E501 + collection_formats['sortBy'] = 'multi' # noqa: E501 + if 'pagination_context' in params: + query_params.append(('paginationContext', params['pagination_context'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/portalUser/forCustomer', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='PaginationResponsePortalUser', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_portal_users_by_set_of_ids(self, portal_user_id_set, **kwargs): # noqa: E501 + """Get PortalUsers By a set of ids # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_portal_users_by_set_of_ids(portal_user_id_set, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param list[int] portal_user_id_set: set of portalUser ids (required) + :return: list[PortalUser] + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_portal_users_by_set_of_ids_with_http_info(portal_user_id_set, **kwargs) # noqa: E501 + else: + (data) = self.get_portal_users_by_set_of_ids_with_http_info(portal_user_id_set, **kwargs) # noqa: E501 + return data + + def get_portal_users_by_set_of_ids_with_http_info(self, portal_user_id_set, **kwargs): # noqa: E501 + """Get PortalUsers By a set of ids # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_portal_users_by_set_of_ids_with_http_info(portal_user_id_set, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param list[int] portal_user_id_set: set of portalUser ids (required) + :return: list[PortalUser] + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['portal_user_id_set'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_portal_users_by_set_of_ids" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'portal_user_id_set' is set + if ('portal_user_id_set' not in params or + params['portal_user_id_set'] is None): + raise ValueError("Missing the required parameter `portal_user_id_set` when calling `get_portal_users_by_set_of_ids`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'portal_user_id_set' in params: + query_params.append(('portalUserIdSet', params['portal_user_id_set'])) # noqa: E501 + collection_formats['portalUserIdSet'] = 'multi' # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/portalUser/inSet', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='list[PortalUser]', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_users_for_username(self, username, **kwargs): # noqa: E501 + """Get Portal Users for username # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_users_for_username(username, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str username: (required) + :return: list[PortalUser] + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_users_for_username_with_http_info(username, **kwargs) # noqa: E501 + else: + (data) = self.get_users_for_username_with_http_info(username, **kwargs) # noqa: E501 + return data + + def get_users_for_username_with_http_info(self, username, **kwargs): # noqa: E501 + """Get Portal Users for username # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_users_for_username_with_http_info(username, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str username: (required) + :return: list[PortalUser] + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['username'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_users_for_username" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'username' is set + if ('username' not in params or + params['username'] is None): + raise ValueError("Missing the required parameter `username` when calling `get_users_for_username`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'username' in params: + query_params.append(('username', params['username'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/portalUser/usersForUsername', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='list[PortalUser]', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def update_portal_user(self, body, **kwargs): # noqa: E501 + """Update PortalUser # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_portal_user(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param PortalUser body: PortalUser info (required) + :return: PortalUser + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.update_portal_user_with_http_info(body, **kwargs) # noqa: E501 + else: + (data) = self.update_portal_user_with_http_info(body, **kwargs) # noqa: E501 + return data + + def update_portal_user_with_http_info(self, body, **kwargs): # noqa: E501 + """Update PortalUser # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_portal_user_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param PortalUser body: PortalUser info (required) + :return: PortalUser + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method update_portal_user" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'body' is set + if ('body' not in params or + params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `update_portal_user`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/portalUser', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='PortalUser', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/libs/cloudapi/cloudsdk/swagger_client/api/profile_api.py b/libs/cloudapi/cloudsdk/swagger_client/api/profile_api.py new file mode 100644 index 000000000..adf0c1b80 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/api/profile_api.py @@ -0,0 +1,808 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import re # noqa: F401 + +# python 2 and python 3 compatibility library +import six + +from swagger_client.api_client import ApiClient + + +class ProfileApi(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + Ref: https://github.com/swagger-api/swagger-codegen + """ + + def __init__(self, api_client=None): + if api_client is None: + api_client = ApiClient() + self.api_client = api_client + + def create_profile(self, body, **kwargs): # noqa: E501 + """Create new Profile # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.create_profile(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param Profile body: profile info (required) + :return: Profile + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.create_profile_with_http_info(body, **kwargs) # noqa: E501 + else: + (data) = self.create_profile_with_http_info(body, **kwargs) # noqa: E501 + return data + + def create_profile_with_http_info(self, body, **kwargs): # noqa: E501 + """Create new Profile # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.create_profile_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param Profile body: profile info (required) + :return: Profile + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method create_profile" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'body' is set + if ('body' not in params or + params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `create_profile`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/profile', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='Profile', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def delete_profile(self, profile_id, **kwargs): # noqa: E501 + """Delete Profile # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_profile(profile_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int profile_id: profile id (required) + :return: Profile + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.delete_profile_with_http_info(profile_id, **kwargs) # noqa: E501 + else: + (data) = self.delete_profile_with_http_info(profile_id, **kwargs) # noqa: E501 + return data + + def delete_profile_with_http_info(self, profile_id, **kwargs): # noqa: E501 + """Delete Profile # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_profile_with_http_info(profile_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int profile_id: profile id (required) + :return: Profile + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['profile_id'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_profile" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'profile_id' is set + if ('profile_id' not in params or + params['profile_id'] is None): + raise ValueError("Missing the required parameter `profile_id` when calling `delete_profile`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'profile_id' in params: + query_params.append(('profileId', params['profile_id'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/profile', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='Profile', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_counts_of_equipment_that_use_profiles(self, profile_id_set, **kwargs): # noqa: E501 + """Get counts of equipment that use specified profiles # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_counts_of_equipment_that_use_profiles(profile_id_set, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param list[int] profile_id_set: set of profile ids (required) + :return: list[PairLongLong] + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_counts_of_equipment_that_use_profiles_with_http_info(profile_id_set, **kwargs) # noqa: E501 + else: + (data) = self.get_counts_of_equipment_that_use_profiles_with_http_info(profile_id_set, **kwargs) # noqa: E501 + return data + + def get_counts_of_equipment_that_use_profiles_with_http_info(self, profile_id_set, **kwargs): # noqa: E501 + """Get counts of equipment that use specified profiles # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_counts_of_equipment_that_use_profiles_with_http_info(profile_id_set, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param list[int] profile_id_set: set of profile ids (required) + :return: list[PairLongLong] + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['profile_id_set'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_counts_of_equipment_that_use_profiles" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'profile_id_set' is set + if ('profile_id_set' not in params or + params['profile_id_set'] is None): + raise ValueError("Missing the required parameter `profile_id_set` when calling `get_counts_of_equipment_that_use_profiles`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'profile_id_set' in params: + query_params.append(('profileIdSet', params['profile_id_set'])) # noqa: E501 + collection_formats['profileIdSet'] = 'multi' # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/profile/equipmentCounts', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='list[PairLongLong]', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_profile_by_id(self, profile_id, **kwargs): # noqa: E501 + """Get Profile By Id # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_profile_by_id(profile_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int profile_id: profile id (required) + :return: Profile + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_profile_by_id_with_http_info(profile_id, **kwargs) # noqa: E501 + else: + (data) = self.get_profile_by_id_with_http_info(profile_id, **kwargs) # noqa: E501 + return data + + def get_profile_by_id_with_http_info(self, profile_id, **kwargs): # noqa: E501 + """Get Profile By Id # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_profile_by_id_with_http_info(profile_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int profile_id: profile id (required) + :return: Profile + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['profile_id'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_profile_by_id" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'profile_id' is set + if ('profile_id' not in params or + params['profile_id'] is None): + raise ValueError("Missing the required parameter `profile_id` when calling `get_profile_by_id`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'profile_id' in params: + query_params.append(('profileId', params['profile_id'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/profile', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='Profile', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_profile_with_children(self, profile_id, **kwargs): # noqa: E501 + """Get Profile and all its associated children # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_profile_with_children(profile_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int profile_id: (required) + :return: list[Profile] + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_profile_with_children_with_http_info(profile_id, **kwargs) # noqa: E501 + else: + (data) = self.get_profile_with_children_with_http_info(profile_id, **kwargs) # noqa: E501 + return data + + def get_profile_with_children_with_http_info(self, profile_id, **kwargs): # noqa: E501 + """Get Profile and all its associated children # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_profile_with_children_with_http_info(profile_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int profile_id: (required) + :return: list[Profile] + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['profile_id'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_profile_with_children" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'profile_id' is set + if ('profile_id' not in params or + params['profile_id'] is None): + raise ValueError("Missing the required parameter `profile_id` when calling `get_profile_with_children`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'profile_id' in params: + query_params.append(('profileId', params['profile_id'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/profile/withChildren', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='list[Profile]', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_profiles_by_customer_id(self, customer_id, pagination_context, **kwargs): # noqa: E501 + """Get Profiles By customerId # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_profiles_by_customer_id(customer_id, pagination_context, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int customer_id: customer id (required) + :param PaginationContextProfile pagination_context: pagination context (required) + :param ProfileType profile_type: profile type + :param str name_substring: + :param list[SortColumnsProfile] sort_by: sort options + :return: PaginationResponseProfile + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_profiles_by_customer_id_with_http_info(customer_id, pagination_context, **kwargs) # noqa: E501 + else: + (data) = self.get_profiles_by_customer_id_with_http_info(customer_id, pagination_context, **kwargs) # noqa: E501 + return data + + def get_profiles_by_customer_id_with_http_info(self, customer_id, pagination_context, **kwargs): # noqa: E501 + """Get Profiles By customerId # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_profiles_by_customer_id_with_http_info(customer_id, pagination_context, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int customer_id: customer id (required) + :param PaginationContextProfile pagination_context: pagination context (required) + :param ProfileType profile_type: profile type + :param str name_substring: + :param list[SortColumnsProfile] sort_by: sort options + :return: PaginationResponseProfile + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['customer_id', 'pagination_context', 'profile_type', 'name_substring', 'sort_by'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_profiles_by_customer_id" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'customer_id' is set + if ('customer_id' not in params or + params['customer_id'] is None): + raise ValueError("Missing the required parameter `customer_id` when calling `get_profiles_by_customer_id`") # noqa: E501 + # verify the required parameter 'pagination_context' is set + if ('pagination_context' not in params or + params['pagination_context'] is None): + raise ValueError("Missing the required parameter `pagination_context` when calling `get_profiles_by_customer_id`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'customer_id' in params: + query_params.append(('customerId', params['customer_id'])) # noqa: E501 + if 'profile_type' in params: + query_params.append(('profileType', params['profile_type'])) # noqa: E501 + if 'name_substring' in params: + query_params.append(('nameSubstring', params['name_substring'])) # noqa: E501 + if 'sort_by' in params: + query_params.append(('sortBy', params['sort_by'])) # noqa: E501 + collection_formats['sortBy'] = 'multi' # noqa: E501 + if 'pagination_context' in params: + query_params.append(('paginationContext', params['pagination_context'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/profile/forCustomer', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='PaginationResponseProfile', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_profiles_by_set_of_ids(self, profile_id_set, **kwargs): # noqa: E501 + """Get Profiles By a set of ids # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_profiles_by_set_of_ids(profile_id_set, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param list[int] profile_id_set: set of profile ids (required) + :return: list[Profile] + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_profiles_by_set_of_ids_with_http_info(profile_id_set, **kwargs) # noqa: E501 + else: + (data) = self.get_profiles_by_set_of_ids_with_http_info(profile_id_set, **kwargs) # noqa: E501 + return data + + def get_profiles_by_set_of_ids_with_http_info(self, profile_id_set, **kwargs): # noqa: E501 + """Get Profiles By a set of ids # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_profiles_by_set_of_ids_with_http_info(profile_id_set, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param list[int] profile_id_set: set of profile ids (required) + :return: list[Profile] + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['profile_id_set'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_profiles_by_set_of_ids" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'profile_id_set' is set + if ('profile_id_set' not in params or + params['profile_id_set'] is None): + raise ValueError("Missing the required parameter `profile_id_set` when calling `get_profiles_by_set_of_ids`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'profile_id_set' in params: + query_params.append(('profileIdSet', params['profile_id_set'])) # noqa: E501 + collection_formats['profileIdSet'] = 'multi' # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/profile/inSet', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='list[Profile]', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def update_profile(self, body, **kwargs): # noqa: E501 + """Update Profile # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_profile(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param Profile body: profile info (required) + :return: Profile + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.update_profile_with_http_info(body, **kwargs) # noqa: E501 + else: + (data) = self.update_profile_with_http_info(body, **kwargs) # noqa: E501 + return data + + def update_profile_with_http_info(self, body, **kwargs): # noqa: E501 + """Update Profile # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_profile_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param Profile body: profile info (required) + :return: Profile + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method update_profile" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'body' is set + if ('body' not in params or + params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `update_profile`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/profile', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='Profile', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/libs/cloudapi/cloudsdk/swagger_client/api/service_adoption_metrics_api.py b/libs/cloudapi/cloudsdk/swagger_client/api/service_adoption_metrics_api.py new file mode 100644 index 000000000..09aa6866b --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/api/service_adoption_metrics_api.py @@ -0,0 +1,618 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import re # noqa: F401 + +# python 2 and python 3 compatibility library +import six + +from swagger_client.api_client import ApiClient + + +class ServiceAdoptionMetricsApi(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + Ref: https://github.com/swagger-api/swagger-codegen + """ + + def __init__(self, api_client=None): + if api_client is None: + api_client = ApiClient() + self.api_client = api_client + + def get_adoption_metrics_all_per_day(self, year, **kwargs): # noqa: E501 + """Get daily service adoption metrics for a given year # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_adoption_metrics_all_per_day(year, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int year: (required) + :return: list[ServiceAdoptionMetrics] + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_adoption_metrics_all_per_day_with_http_info(year, **kwargs) # noqa: E501 + else: + (data) = self.get_adoption_metrics_all_per_day_with_http_info(year, **kwargs) # noqa: E501 + return data + + def get_adoption_metrics_all_per_day_with_http_info(self, year, **kwargs): # noqa: E501 + """Get daily service adoption metrics for a given year # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_adoption_metrics_all_per_day_with_http_info(year, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int year: (required) + :return: list[ServiceAdoptionMetrics] + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['year'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_adoption_metrics_all_per_day" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'year' is set + if ('year' not in params or + params['year'] is None): + raise ValueError("Missing the required parameter `year` when calling `get_adoption_metrics_all_per_day`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'year' in params: + query_params.append(('year', params['year'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/adoptionMetrics/allPerDay', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='list[ServiceAdoptionMetrics]', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_adoption_metrics_all_per_month(self, year, **kwargs): # noqa: E501 + """Get monthly service adoption metrics for a given year # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_adoption_metrics_all_per_month(year, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int year: (required) + :return: list[ServiceAdoptionMetrics] + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_adoption_metrics_all_per_month_with_http_info(year, **kwargs) # noqa: E501 + else: + (data) = self.get_adoption_metrics_all_per_month_with_http_info(year, **kwargs) # noqa: E501 + return data + + def get_adoption_metrics_all_per_month_with_http_info(self, year, **kwargs): # noqa: E501 + """Get monthly service adoption metrics for a given year # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_adoption_metrics_all_per_month_with_http_info(year, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int year: (required) + :return: list[ServiceAdoptionMetrics] + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['year'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_adoption_metrics_all_per_month" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'year' is set + if ('year' not in params or + params['year'] is None): + raise ValueError("Missing the required parameter `year` when calling `get_adoption_metrics_all_per_month`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'year' in params: + query_params.append(('year', params['year'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/adoptionMetrics/allPerMonth', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='list[ServiceAdoptionMetrics]', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_adoption_metrics_all_per_week(self, year, **kwargs): # noqa: E501 + """Get weekly service adoption metrics for a given year # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_adoption_metrics_all_per_week(year, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int year: (required) + :return: list[ServiceAdoptionMetrics] + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_adoption_metrics_all_per_week_with_http_info(year, **kwargs) # noqa: E501 + else: + (data) = self.get_adoption_metrics_all_per_week_with_http_info(year, **kwargs) # noqa: E501 + return data + + def get_adoption_metrics_all_per_week_with_http_info(self, year, **kwargs): # noqa: E501 + """Get weekly service adoption metrics for a given year # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_adoption_metrics_all_per_week_with_http_info(year, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int year: (required) + :return: list[ServiceAdoptionMetrics] + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['year'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_adoption_metrics_all_per_week" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'year' is set + if ('year' not in params or + params['year'] is None): + raise ValueError("Missing the required parameter `year` when calling `get_adoption_metrics_all_per_week`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'year' in params: + query_params.append(('year', params['year'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/adoptionMetrics/allPerWeek', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='list[ServiceAdoptionMetrics]', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_adoption_metrics_per_customer_per_day(self, year, customer_ids, **kwargs): # noqa: E501 + """Get daily service adoption metrics for a given year aggregated by customer and filtered by specified customer ids # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_adoption_metrics_per_customer_per_day(year, customer_ids, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int year: (required) + :param list[int] customer_ids: filter by customer ids. (required) + :return: list[ServiceAdoptionMetrics] + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_adoption_metrics_per_customer_per_day_with_http_info(year, customer_ids, **kwargs) # noqa: E501 + else: + (data) = self.get_adoption_metrics_per_customer_per_day_with_http_info(year, customer_ids, **kwargs) # noqa: E501 + return data + + def get_adoption_metrics_per_customer_per_day_with_http_info(self, year, customer_ids, **kwargs): # noqa: E501 + """Get daily service adoption metrics for a given year aggregated by customer and filtered by specified customer ids # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_adoption_metrics_per_customer_per_day_with_http_info(year, customer_ids, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int year: (required) + :param list[int] customer_ids: filter by customer ids. (required) + :return: list[ServiceAdoptionMetrics] + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['year', 'customer_ids'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_adoption_metrics_per_customer_per_day" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'year' is set + if ('year' not in params or + params['year'] is None): + raise ValueError("Missing the required parameter `year` when calling `get_adoption_metrics_per_customer_per_day`") # noqa: E501 + # verify the required parameter 'customer_ids' is set + if ('customer_ids' not in params or + params['customer_ids'] is None): + raise ValueError("Missing the required parameter `customer_ids` when calling `get_adoption_metrics_per_customer_per_day`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'year' in params: + query_params.append(('year', params['year'])) # noqa: E501 + if 'customer_ids' in params: + query_params.append(('customerIds', params['customer_ids'])) # noqa: E501 + collection_formats['customerIds'] = 'multi' # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/adoptionMetrics/perCustomerPerDay', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='list[ServiceAdoptionMetrics]', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_adoption_metrics_per_equipment_per_day(self, year, equipment_ids, **kwargs): # noqa: E501 + """Get daily service adoption metrics for a given year filtered by specified equipment ids # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_adoption_metrics_per_equipment_per_day(year, equipment_ids, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int year: (required) + :param list[int] equipment_ids: filter by equipment ids. (required) + :return: list[ServiceAdoptionMetrics] + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_adoption_metrics_per_equipment_per_day_with_http_info(year, equipment_ids, **kwargs) # noqa: E501 + else: + (data) = self.get_adoption_metrics_per_equipment_per_day_with_http_info(year, equipment_ids, **kwargs) # noqa: E501 + return data + + def get_adoption_metrics_per_equipment_per_day_with_http_info(self, year, equipment_ids, **kwargs): # noqa: E501 + """Get daily service adoption metrics for a given year filtered by specified equipment ids # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_adoption_metrics_per_equipment_per_day_with_http_info(year, equipment_ids, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int year: (required) + :param list[int] equipment_ids: filter by equipment ids. (required) + :return: list[ServiceAdoptionMetrics] + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['year', 'equipment_ids'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_adoption_metrics_per_equipment_per_day" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'year' is set + if ('year' not in params or + params['year'] is None): + raise ValueError("Missing the required parameter `year` when calling `get_adoption_metrics_per_equipment_per_day`") # noqa: E501 + # verify the required parameter 'equipment_ids' is set + if ('equipment_ids' not in params or + params['equipment_ids'] is None): + raise ValueError("Missing the required parameter `equipment_ids` when calling `get_adoption_metrics_per_equipment_per_day`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'year' in params: + query_params.append(('year', params['year'])) # noqa: E501 + if 'equipment_ids' in params: + query_params.append(('equipmentIds', params['equipment_ids'])) # noqa: E501 + collection_formats['equipmentIds'] = 'multi' # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/adoptionMetrics/perEquipmentPerDay', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='list[ServiceAdoptionMetrics]', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_adoption_metrics_per_location_per_day(self, year, location_ids, **kwargs): # noqa: E501 + """Get daily service adoption metrics for a given year aggregated by location and filtered by specified location ids # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_adoption_metrics_per_location_per_day(year, location_ids, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int year: (required) + :param list[int] location_ids: filter by location ids. (required) + :return: list[ServiceAdoptionMetrics] + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_adoption_metrics_per_location_per_day_with_http_info(year, location_ids, **kwargs) # noqa: E501 + else: + (data) = self.get_adoption_metrics_per_location_per_day_with_http_info(year, location_ids, **kwargs) # noqa: E501 + return data + + def get_adoption_metrics_per_location_per_day_with_http_info(self, year, location_ids, **kwargs): # noqa: E501 + """Get daily service adoption metrics for a given year aggregated by location and filtered by specified location ids # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_adoption_metrics_per_location_per_day_with_http_info(year, location_ids, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int year: (required) + :param list[int] location_ids: filter by location ids. (required) + :return: list[ServiceAdoptionMetrics] + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['year', 'location_ids'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_adoption_metrics_per_location_per_day" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'year' is set + if ('year' not in params or + params['year'] is None): + raise ValueError("Missing the required parameter `year` when calling `get_adoption_metrics_per_location_per_day`") # noqa: E501 + # verify the required parameter 'location_ids' is set + if ('location_ids' not in params or + params['location_ids'] is None): + raise ValueError("Missing the required parameter `location_ids` when calling `get_adoption_metrics_per_location_per_day`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'year' in params: + query_params.append(('year', params['year'])) # noqa: E501 + if 'location_ids' in params: + query_params.append(('locationIds', params['location_ids'])) # noqa: E501 + collection_formats['locationIds'] = 'multi' # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/adoptionMetrics/perLocationPerDay', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='list[ServiceAdoptionMetrics]', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/libs/cloudapi/cloudsdk/swagger_client/api/status_api.py b/libs/cloudapi/cloudsdk/swagger_client/api/status_api.py new file mode 100644 index 000000000..a578a3b66 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/api/status_api.py @@ -0,0 +1,463 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import re # noqa: F401 + +# python 2 and python 3 compatibility library +import six + +from swagger_client.api_client import ApiClient + + +class StatusApi(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + Ref: https://github.com/swagger-api/swagger-codegen + """ + + def __init__(self, api_client=None): + if api_client is None: + api_client = ApiClient() + self.api_client = api_client + + def get_status_by_customer_equipment(self, customer_id, equipment_id, **kwargs): # noqa: E501 + """Get all Status objects for a given customer equipment. # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_status_by_customer_equipment(customer_id, equipment_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int customer_id: customer id (required) + :param int equipment_id: Equipment id (required) + :return: list[Status] + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_status_by_customer_equipment_with_http_info(customer_id, equipment_id, **kwargs) # noqa: E501 + else: + (data) = self.get_status_by_customer_equipment_with_http_info(customer_id, equipment_id, **kwargs) # noqa: E501 + return data + + def get_status_by_customer_equipment_with_http_info(self, customer_id, equipment_id, **kwargs): # noqa: E501 + """Get all Status objects for a given customer equipment. # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_status_by_customer_equipment_with_http_info(customer_id, equipment_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int customer_id: customer id (required) + :param int equipment_id: Equipment id (required) + :return: list[Status] + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['customer_id', 'equipment_id'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_status_by_customer_equipment" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'customer_id' is set + if ('customer_id' not in params or + params['customer_id'] is None): + raise ValueError("Missing the required parameter `customer_id` when calling `get_status_by_customer_equipment`") # noqa: E501 + # verify the required parameter 'equipment_id' is set + if ('equipment_id' not in params or + params['equipment_id'] is None): + raise ValueError("Missing the required parameter `equipment_id` when calling `get_status_by_customer_equipment`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'customer_id' in params: + query_params.append(('customerId', params['customer_id'])) # noqa: E501 + if 'equipment_id' in params: + query_params.append(('equipmentId', params['equipment_id'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/status/forEquipment', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='list[Status]', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_status_by_customer_equipment_with_filter(self, customer_id, equipment_ids, **kwargs): # noqa: E501 + """Get Status objects for a given customer equipment ids and status data types. # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_status_by_customer_equipment_with_filter(customer_id, equipment_ids, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int customer_id: customer id (required) + :param list[int] equipment_ids: Set of equipment ids. Must not be empty or null. (required) + :param list[StatusDataType] status_data_types: Set of status data types. Empty or null means retrieve all data types. + :return: list[Status] + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_status_by_customer_equipment_with_filter_with_http_info(customer_id, equipment_ids, **kwargs) # noqa: E501 + else: + (data) = self.get_status_by_customer_equipment_with_filter_with_http_info(customer_id, equipment_ids, **kwargs) # noqa: E501 + return data + + def get_status_by_customer_equipment_with_filter_with_http_info(self, customer_id, equipment_ids, **kwargs): # noqa: E501 + """Get Status objects for a given customer equipment ids and status data types. # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_status_by_customer_equipment_with_filter_with_http_info(customer_id, equipment_ids, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int customer_id: customer id (required) + :param list[int] equipment_ids: Set of equipment ids. Must not be empty or null. (required) + :param list[StatusDataType] status_data_types: Set of status data types. Empty or null means retrieve all data types. + :return: list[Status] + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['customer_id', 'equipment_ids', 'status_data_types'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_status_by_customer_equipment_with_filter" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'customer_id' is set + if ('customer_id' not in params or + params['customer_id'] is None): + raise ValueError("Missing the required parameter `customer_id` when calling `get_status_by_customer_equipment_with_filter`") # noqa: E501 + # verify the required parameter 'equipment_ids' is set + if ('equipment_ids' not in params or + params['equipment_ids'] is None): + raise ValueError("Missing the required parameter `equipment_ids` when calling `get_status_by_customer_equipment_with_filter`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'customer_id' in params: + query_params.append(('customerId', params['customer_id'])) # noqa: E501 + if 'equipment_ids' in params: + query_params.append(('equipmentIds', params['equipment_ids'])) # noqa: E501 + collection_formats['equipmentIds'] = 'multi' # noqa: E501 + if 'status_data_types' in params: + query_params.append(('statusDataTypes', params['status_data_types'])) # noqa: E501 + collection_formats['statusDataTypes'] = 'multi' # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/status/forEquipmentWithFilter', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='list[Status]', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_status_by_customer_id(self, customer_id, pagination_context, **kwargs): # noqa: E501 + """Get all Status objects By customerId # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_status_by_customer_id(customer_id, pagination_context, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int customer_id: customer id (required) + :param PaginationContextStatus pagination_context: pagination context (required) + :param list[SortColumnsStatus] sort_by: sort options + :return: PaginationResponseStatus + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_status_by_customer_id_with_http_info(customer_id, pagination_context, **kwargs) # noqa: E501 + else: + (data) = self.get_status_by_customer_id_with_http_info(customer_id, pagination_context, **kwargs) # noqa: E501 + return data + + def get_status_by_customer_id_with_http_info(self, customer_id, pagination_context, **kwargs): # noqa: E501 + """Get all Status objects By customerId # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_status_by_customer_id_with_http_info(customer_id, pagination_context, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int customer_id: customer id (required) + :param PaginationContextStatus pagination_context: pagination context (required) + :param list[SortColumnsStatus] sort_by: sort options + :return: PaginationResponseStatus + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['customer_id', 'pagination_context', 'sort_by'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_status_by_customer_id" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'customer_id' is set + if ('customer_id' not in params or + params['customer_id'] is None): + raise ValueError("Missing the required parameter `customer_id` when calling `get_status_by_customer_id`") # noqa: E501 + # verify the required parameter 'pagination_context' is set + if ('pagination_context' not in params or + params['pagination_context'] is None): + raise ValueError("Missing the required parameter `pagination_context` when calling `get_status_by_customer_id`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'customer_id' in params: + query_params.append(('customerId', params['customer_id'])) # noqa: E501 + if 'sort_by' in params: + query_params.append(('sortBy', params['sort_by'])) # noqa: E501 + collection_formats['sortBy'] = 'multi' # noqa: E501 + if 'pagination_context' in params: + query_params.append(('paginationContext', params['pagination_context'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/status/forCustomer', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='PaginationResponseStatus', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_status_by_customer_with_filter(self, customer_id, pagination_context, **kwargs): # noqa: E501 + """Get list of Statuses for customerId, set of equipment ids, and set of status data types. # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_status_by_customer_with_filter(customer_id, pagination_context, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int customer_id: customer id (required) + :param PaginationContextStatus pagination_context: pagination context (required) + :param list[int] equipment_ids: Set of equipment ids. Empty or null means retrieve all equipment for the customer. + :param list[StatusDataType] status_data_types: Set of status data types. Empty or null means retrieve all data types. + :param list[SortColumnsStatus] sort_by: sort options + :return: PaginationResponseStatus + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_status_by_customer_with_filter_with_http_info(customer_id, pagination_context, **kwargs) # noqa: E501 + else: + (data) = self.get_status_by_customer_with_filter_with_http_info(customer_id, pagination_context, **kwargs) # noqa: E501 + return data + + def get_status_by_customer_with_filter_with_http_info(self, customer_id, pagination_context, **kwargs): # noqa: E501 + """Get list of Statuses for customerId, set of equipment ids, and set of status data types. # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_status_by_customer_with_filter_with_http_info(customer_id, pagination_context, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int customer_id: customer id (required) + :param PaginationContextStatus pagination_context: pagination context (required) + :param list[int] equipment_ids: Set of equipment ids. Empty or null means retrieve all equipment for the customer. + :param list[StatusDataType] status_data_types: Set of status data types. Empty or null means retrieve all data types. + :param list[SortColumnsStatus] sort_by: sort options + :return: PaginationResponseStatus + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['customer_id', 'pagination_context', 'equipment_ids', 'status_data_types', 'sort_by'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_status_by_customer_with_filter" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'customer_id' is set + if ('customer_id' not in params or + params['customer_id'] is None): + raise ValueError("Missing the required parameter `customer_id` when calling `get_status_by_customer_with_filter`") # noqa: E501 + # verify the required parameter 'pagination_context' is set + if ('pagination_context' not in params or + params['pagination_context'] is None): + raise ValueError("Missing the required parameter `pagination_context` when calling `get_status_by_customer_with_filter`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'customer_id' in params: + query_params.append(('customerId', params['customer_id'])) # noqa: E501 + if 'equipment_ids' in params: + query_params.append(('equipmentIds', params['equipment_ids'])) # noqa: E501 + collection_formats['equipmentIds'] = 'multi' # noqa: E501 + if 'status_data_types' in params: + query_params.append(('statusDataTypes', params['status_data_types'])) # noqa: E501 + collection_formats['statusDataTypes'] = 'multi' # noqa: E501 + if 'sort_by' in params: + query_params.append(('sortBy', params['sort_by'])) # noqa: E501 + collection_formats['sortBy'] = 'multi' # noqa: E501 + if 'pagination_context' in params: + query_params.append(('paginationContext', params['pagination_context'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/status/forCustomerWithFilter', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='PaginationResponseStatus', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/libs/cloudapi/cloudsdk/swagger_client/api/system_events_api.py b/libs/cloudapi/cloudsdk/swagger_client/api/system_events_api.py new file mode 100644 index 000000000..606a0972f --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/api/system_events_api.py @@ -0,0 +1,175 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import re # noqa: F401 + +# python 2 and python 3 compatibility library +import six + +from swagger_client.api_client import ApiClient + + +class SystemEventsApi(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + Ref: https://github.com/swagger-api/swagger-codegen + """ + + def __init__(self, api_client=None): + if api_client is None: + api_client = ApiClient() + self.api_client = api_client + + def get_system_eventsfor_customer(self, from_time, to_time, customer_id, pagination_context, **kwargs): # noqa: E501 + """Get list of System Events for customerId, optional set of equipment ids, and optional set of data types. Only events that are created between specified fromTime and toTime are retrieved. # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_system_eventsfor_customer(from_time, to_time, customer_id, pagination_context, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int from_time: Include events created after (and including) this timestamp in milliseconds (required) + :param int to_time: Include events created before (and including) this timestamp in milliseconds (required) + :param int customer_id: customer id (required) + :param PaginationContextSystemEvent pagination_context: pagination context (required) + :param list[int] location_ids: Set of location ids. Empty or null means retrieve events for all locations for the customer. + :param list[int] equipment_ids: Set of equipment ids. Empty or null means retrieve events for all equipment for the customer. + :param list[str] client_macs: Set of client MAC addresses. Empty or null means retrieve events for all client MACs for the customer. + :param list[SystemEventDataType] data_types: Set of system event data types. Empty or null means retrieve all. + :param list[SortColumnsSystemEvent] sort_by: Sort options. If not provided, then results will be ordered by equipmentId and createdTimestamp. + :return: PaginationResponseSystemEvent + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_system_eventsfor_customer_with_http_info(from_time, to_time, customer_id, pagination_context, **kwargs) # noqa: E501 + else: + (data) = self.get_system_eventsfor_customer_with_http_info(from_time, to_time, customer_id, pagination_context, **kwargs) # noqa: E501 + return data + + def get_system_eventsfor_customer_with_http_info(self, from_time, to_time, customer_id, pagination_context, **kwargs): # noqa: E501 + """Get list of System Events for customerId, optional set of equipment ids, and optional set of data types. Only events that are created between specified fromTime and toTime are retrieved. # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_system_eventsfor_customer_with_http_info(from_time, to_time, customer_id, pagination_context, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int from_time: Include events created after (and including) this timestamp in milliseconds (required) + :param int to_time: Include events created before (and including) this timestamp in milliseconds (required) + :param int customer_id: customer id (required) + :param PaginationContextSystemEvent pagination_context: pagination context (required) + :param list[int] location_ids: Set of location ids. Empty or null means retrieve events for all locations for the customer. + :param list[int] equipment_ids: Set of equipment ids. Empty or null means retrieve events for all equipment for the customer. + :param list[str] client_macs: Set of client MAC addresses. Empty or null means retrieve events for all client MACs for the customer. + :param list[SystemEventDataType] data_types: Set of system event data types. Empty or null means retrieve all. + :param list[SortColumnsSystemEvent] sort_by: Sort options. If not provided, then results will be ordered by equipmentId and createdTimestamp. + :return: PaginationResponseSystemEvent + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['from_time', 'to_time', 'customer_id', 'pagination_context', 'location_ids', 'equipment_ids', 'client_macs', 'data_types', 'sort_by'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_system_eventsfor_customer" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'from_time' is set + if ('from_time' not in params or + params['from_time'] is None): + raise ValueError("Missing the required parameter `from_time` when calling `get_system_eventsfor_customer`") # noqa: E501 + # verify the required parameter 'to_time' is set + if ('to_time' not in params or + params['to_time'] is None): + raise ValueError("Missing the required parameter `to_time` when calling `get_system_eventsfor_customer`") # noqa: E501 + # verify the required parameter 'customer_id' is set + if ('customer_id' not in params or + params['customer_id'] is None): + raise ValueError("Missing the required parameter `customer_id` when calling `get_system_eventsfor_customer`") # noqa: E501 + # verify the required parameter 'pagination_context' is set + if ('pagination_context' not in params or + params['pagination_context'] is None): + raise ValueError("Missing the required parameter `pagination_context` when calling `get_system_eventsfor_customer`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'from_time' in params: + query_params.append(('fromTime', params['from_time'])) # noqa: E501 + if 'to_time' in params: + query_params.append(('toTime', params['to_time'])) # noqa: E501 + if 'customer_id' in params: + query_params.append(('customerId', params['customer_id'])) # noqa: E501 + if 'location_ids' in params: + query_params.append(('locationIds', params['location_ids'])) # noqa: E501 + collection_formats['locationIds'] = 'multi' # noqa: E501 + if 'equipment_ids' in params: + query_params.append(('equipmentIds', params['equipment_ids'])) # noqa: E501 + collection_formats['equipmentIds'] = 'multi' # noqa: E501 + if 'client_macs' in params: + query_params.append(('clientMacs', params['client_macs'])) # noqa: E501 + collection_formats['clientMacs'] = 'multi' # noqa: E501 + if 'data_types' in params: + query_params.append(('dataTypes', params['data_types'])) # noqa: E501 + collection_formats['dataTypes'] = 'multi' # noqa: E501 + if 'sort_by' in params: + query_params.append(('sortBy', params['sort_by'])) # noqa: E501 + collection_formats['sortBy'] = 'multi' # noqa: E501 + if 'pagination_context' in params: + query_params.append(('paginationContext', params['pagination_context'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/systemEvent/forCustomer', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='PaginationResponseSystemEvent', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/libs/cloudapi/cloudsdk/swagger_client/api/wlan_service_metrics_api.py b/libs/cloudapi/cloudsdk/swagger_client/api/wlan_service_metrics_api.py new file mode 100644 index 000000000..43e29b843 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/api/wlan_service_metrics_api.py @@ -0,0 +1,175 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import re # noqa: F401 + +# python 2 and python 3 compatibility library +import six + +from swagger_client.api_client import ApiClient + + +class WLANServiceMetricsApi(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + Ref: https://github.com/swagger-api/swagger-codegen + """ + + def __init__(self, api_client=None): + if api_client is None: + api_client = ApiClient() + self.api_client = api_client + + def get_service_metricsfor_customer(self, from_time, to_time, customer_id, pagination_context, **kwargs): # noqa: E501 + """Get list of WLAN Service Metrics for customerId, optional set of location ids, optional set of equipment ids, optional set of client MAC addresses, optional set of metric data types. Only metrics that are created between specified fromTime and toTime are retrieved. # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_service_metricsfor_customer(from_time, to_time, customer_id, pagination_context, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int from_time: Include metrics created after (and including) this timestamp in milliseconds (required) + :param int to_time: Include metrics created before (and including) this timestamp in milliseconds (required) + :param int customer_id: customer id (required) + :param PaginationContextServiceMetric pagination_context: pagination context (required) + :param list[int] location_ids: Set of location ids. Empty or null means retrieve metrics for all locations for the customer. + :param list[int] equipment_ids: Set of equipment ids. Empty or null means retrieve metrics for all equipment for the customer. + :param list[str] client_macs: Set of client MAC addresses. Empty or null means retrieve metrics for all client MACs for the customer. + :param list[ServiceMetricDataType] data_types: Set of metric data types. Empty or null means retrieve all. + :param list[SortColumnsServiceMetric] sort_by: Sort options. If not provided, then results will be ordered by equipmentId and createdTimestamp. + :return: PaginationResponseServiceMetric + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_service_metricsfor_customer_with_http_info(from_time, to_time, customer_id, pagination_context, **kwargs) # noqa: E501 + else: + (data) = self.get_service_metricsfor_customer_with_http_info(from_time, to_time, customer_id, pagination_context, **kwargs) # noqa: E501 + return data + + def get_service_metricsfor_customer_with_http_info(self, from_time, to_time, customer_id, pagination_context, **kwargs): # noqa: E501 + """Get list of WLAN Service Metrics for customerId, optional set of location ids, optional set of equipment ids, optional set of client MAC addresses, optional set of metric data types. Only metrics that are created between specified fromTime and toTime are retrieved. # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_service_metricsfor_customer_with_http_info(from_time, to_time, customer_id, pagination_context, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int from_time: Include metrics created after (and including) this timestamp in milliseconds (required) + :param int to_time: Include metrics created before (and including) this timestamp in milliseconds (required) + :param int customer_id: customer id (required) + :param PaginationContextServiceMetric pagination_context: pagination context (required) + :param list[int] location_ids: Set of location ids. Empty or null means retrieve metrics for all locations for the customer. + :param list[int] equipment_ids: Set of equipment ids. Empty or null means retrieve metrics for all equipment for the customer. + :param list[str] client_macs: Set of client MAC addresses. Empty or null means retrieve metrics for all client MACs for the customer. + :param list[ServiceMetricDataType] data_types: Set of metric data types. Empty or null means retrieve all. + :param list[SortColumnsServiceMetric] sort_by: Sort options. If not provided, then results will be ordered by equipmentId and createdTimestamp. + :return: PaginationResponseServiceMetric + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['from_time', 'to_time', 'customer_id', 'pagination_context', 'location_ids', 'equipment_ids', 'client_macs', 'data_types', 'sort_by'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_service_metricsfor_customer" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'from_time' is set + if ('from_time' not in params or + params['from_time'] is None): + raise ValueError("Missing the required parameter `from_time` when calling `get_service_metricsfor_customer`") # noqa: E501 + # verify the required parameter 'to_time' is set + if ('to_time' not in params or + params['to_time'] is None): + raise ValueError("Missing the required parameter `to_time` when calling `get_service_metricsfor_customer`") # noqa: E501 + # verify the required parameter 'customer_id' is set + if ('customer_id' not in params or + params['customer_id'] is None): + raise ValueError("Missing the required parameter `customer_id` when calling `get_service_metricsfor_customer`") # noqa: E501 + # verify the required parameter 'pagination_context' is set + if ('pagination_context' not in params or + params['pagination_context'] is None): + raise ValueError("Missing the required parameter `pagination_context` when calling `get_service_metricsfor_customer`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'from_time' in params: + query_params.append(('fromTime', params['from_time'])) # noqa: E501 + if 'to_time' in params: + query_params.append(('toTime', params['to_time'])) # noqa: E501 + if 'customer_id' in params: + query_params.append(('customerId', params['customer_id'])) # noqa: E501 + if 'location_ids' in params: + query_params.append(('locationIds', params['location_ids'])) # noqa: E501 + collection_formats['locationIds'] = 'multi' # noqa: E501 + if 'equipment_ids' in params: + query_params.append(('equipmentIds', params['equipment_ids'])) # noqa: E501 + collection_formats['equipmentIds'] = 'multi' # noqa: E501 + if 'client_macs' in params: + query_params.append(('clientMacs', params['client_macs'])) # noqa: E501 + collection_formats['clientMacs'] = 'multi' # noqa: E501 + if 'data_types' in params: + query_params.append(('dataTypes', params['data_types'])) # noqa: E501 + collection_formats['dataTypes'] = 'multi' # noqa: E501 + if 'sort_by' in params: + query_params.append(('sortBy', params['sort_by'])) # noqa: E501 + collection_formats['sortBy'] = 'multi' # noqa: E501 + if 'pagination_context' in params: + query_params.append(('paginationContext', params['pagination_context'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 + + return self.api_client.call_api( + '/portal/serviceMetric/forCustomer', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='PaginationResponseServiceMetric', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/libs/cloudapi/cloudsdk/swagger_client/api_client.py b/libs/cloudapi/cloudsdk/swagger_client/api_client.py new file mode 100644 index 000000000..4fa84e29e --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/api_client.py @@ -0,0 +1,629 @@ +# coding: utf-8 +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" +from __future__ import absolute_import + +import datetime +import json +import mimetypes +from multiprocessing.pool import ThreadPool +import os +import re +import tempfile + +# python 2 and python 3 compatibility library +import six +from six.moves.urllib.parse import quote + +from swagger_client.configuration import Configuration +import swagger_client.models +from swagger_client import rest + + +class ApiClient(object): + """Generic API client for Swagger client library builds. + + Swagger generic API client. This client handles the client- + server communication, and is invariant across implementations. Specifics of + the methods and models for each application are generated from the Swagger + templates. + + NOTE: This class is auto generated by the swagger code generator program. + Ref: https://github.com/swagger-api/swagger-codegen + Do not edit the class manually. + + :param configuration: .Configuration object for this client + :param header_name: a header to pass when making calls to the API. + :param header_value: a header value to pass when making calls to + the API. + :param cookie: a cookie to include in the header when making calls + to the API + """ + + PRIMITIVE_TYPES = (float, bool, bytes, six.text_type) + six.integer_types + NATIVE_TYPES_MAPPING = { + 'int': int, + 'long': int if six.PY3 else long, # noqa: F821 + 'float': float, + 'str': str, + 'bool': bool, + 'date': datetime.date, + 'datetime': datetime.datetime, + 'object': object, + } + + def __init__(self, configuration=None, header_name=None, header_value=None, + cookie=None, + sdk_base_url=None): + print(sdk_base_url) + if configuration is None: + configuration = Configuration(sdk_base_url=sdk_base_url) + self.configuration = configuration + self.pool = ThreadPool() + self.rest_client = rest.RESTClientObject(configuration) + self.default_headers = {} + if header_name is not None: + self.default_headers[header_name] = header_value + self.cookie = cookie + # Set default User-Agent. + self.user_agent = 'Swagger-Codegen/1.0.0/python' + + def __del__(self): + self.pool.close() + self.pool.join() + + @property + def user_agent(self): + """User agent for this API client""" + return self.default_headers['User-Agent'] + + @user_agent.setter + def user_agent(self, value): + self.default_headers['User-Agent'] = value + + def set_default_header(self, header_name, header_value): + self.default_headers[header_name] = header_value + + def __call_api( + self, resource_path, method, path_params=None, + query_params=None, header_params=None, body=None, post_params=None, + files=None, response_type=None, auth_settings=None, + _return_http_data_only=None, collection_formats=None, + _preload_content=True, _request_timeout=None): + + config = self.configuration + + # header parameters + header_params = header_params or {} + header_params.update(self.default_headers) + if self.cookie: + header_params['Cookie'] = self.cookie + if header_params: + header_params = self.sanitize_for_serialization(header_params) + header_params = dict(self.parameters_to_tuples(header_params, + collection_formats)) + + # path parameters + if path_params: + path_params = self.sanitize_for_serialization(path_params) + path_params = self.parameters_to_tuples(path_params, + collection_formats) + for k, v in path_params: + # specified safe chars, encode everything + resource_path = resource_path.replace( + '{%s}' % k, + quote(str(v), safe=config.safe_chars_for_path_param) + ) + + # query parameters + if query_params: + query_params = self.sanitize_for_serialization(query_params) + query_params = self.parameters_to_tuples(query_params, + collection_formats) + + # post parameters + if post_params or files: + post_params = self.prepare_post_parameters(post_params, files) + post_params = self.sanitize_for_serialization(post_params) + post_params = self.parameters_to_tuples(post_params, + collection_formats) + + # auth setting + self.update_params_for_auth(header_params, query_params, auth_settings) + + # body + if body: + body = self.sanitize_for_serialization(body) + + # request url + url = self.configuration.host + resource_path + + # perform request and return response + response_data = self.request( + method, url, query_params=query_params, headers=header_params, + post_params=post_params, body=body, + _preload_content=_preload_content, + _request_timeout=_request_timeout) + + self.last_response = response_data + + return_data = response_data + if _preload_content: + # deserialize response data + if response_type: + return_data = self.deserialize(response_data, response_type) + else: + return_data = None + + if _return_http_data_only: + return (return_data) + else: + return (return_data, response_data.status, + response_data.getheaders()) + + def sanitize_for_serialization(self, obj): + """Builds a JSON POST object. + + If obj is None, return None. + If obj is str, int, long, float, bool, return directly. + If obj is datetime.datetime, datetime.date + convert to string in iso8601 format. + If obj is list, sanitize each element in the list. + If obj is dict, return the dict. + If obj is swagger model, return the properties dict. + + :param obj: The data to serialize. + :return: The serialized form of data. + """ + if obj is None: + return None + elif isinstance(obj, self.PRIMITIVE_TYPES): + return obj + elif isinstance(obj, list): + return [self.sanitize_for_serialization(sub_obj) + for sub_obj in obj] + elif isinstance(obj, tuple): + return tuple(self.sanitize_for_serialization(sub_obj) + for sub_obj in obj) + elif isinstance(obj, (datetime.datetime, datetime.date)): + return obj.isoformat() + + if isinstance(obj, dict): + obj_dict = obj + else: + # Convert model obj to dict except + # attributes `swagger_types`, `attribute_map` + # and attributes which value is not None. + # Convert attribute name to json key in + # model definition for request. + obj_dict = {obj.attribute_map[attr]: getattr(obj, attr) + for attr, _ in six.iteritems(obj.swagger_types) + if getattr(obj, attr) is not None} + + return {key: self.sanitize_for_serialization(val) + for key, val in six.iteritems(obj_dict)} + + def deserialize(self, response, response_type): + """Deserializes response into an object. + + :param response: RESTResponse object to be deserialized. + :param response_type: class literal for + deserialized object, or string of class name. + + :return: deserialized object. + """ + # handle file downloading + # save response body into a tmp file and return the instance + if response_type == "file": + return self.__deserialize_file(response) + + # fetch data from response object + try: + data = json.loads(response.data) + except ValueError: + data = response.data + + return self.__deserialize(data, response_type) + + def __deserialize(self, 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 type(klass) == str: + if klass.startswith('list['): + sub_kls = re.match(r'list\[(.*)\]', klass).group(1) + return [self.__deserialize(sub_data, sub_kls) + for sub_data in data] + + if klass.startswith('dict('): + sub_kls = re.match(r'dict\(([^,]*), (.*)\)', klass).group(2) + return {k: self.__deserialize(v, sub_kls) + for k, v in six.iteritems(data)} + + # convert str to class + if klass in self.NATIVE_TYPES_MAPPING: + klass = self.NATIVE_TYPES_MAPPING[klass] + else: + klass = getattr(swagger_client.models, klass) + + if klass in self.PRIMITIVE_TYPES: + return self.__deserialize_primitive(data, klass) + elif klass == object: + return self.__deserialize_object(data) + elif klass == datetime.date: + return self.__deserialize_date(data) + elif klass == datetime.datetime: + return self.__deserialize_datatime(data) + else: + return self.__deserialize_model(data, klass) + + def call_api(self, resource_path, method, + path_params=None, query_params=None, header_params=None, + body=None, post_params=None, files=None, + response_type=None, auth_settings=None, async_req=None, + _return_http_data_only=None, collection_formats=None, + _preload_content=True, _request_timeout=None): + """Makes the HTTP request (synchronous) and returns deserialized data. + + To make an async request, set the async_req parameter. + + :param resource_path: Path to method endpoint. + :param method: Method to call. + :param path_params: Path parameters in the url. + :param query_params: Query parameters in the url. + :param header_params: Header parameters to be + placed in the request header. + :param body: Request body. + :param post_params dict: Request post form parameters, + for `application/x-www-form-urlencoded`, `multipart/form-data`. + :param auth_settings list: Auth Settings names for the request. + :param response: Response data type. + :param files dict: key -> filename, value -> filepath, + for `multipart/form-data`. + :param async_req bool: execute request asynchronously + :param _return_http_data_only: response data without head status code + and headers + :param collection_formats: dict of collection formats for path, query, + header, and post parameters. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: + If async_req parameter is True, + the request will be called asynchronously. + The method will return the request thread. + If parameter async_req is False or missing, + then the method will return the response directly. + """ + if not async_req: + return self.__call_api(resource_path, method, + path_params, query_params, header_params, + body, post_params, files, + response_type, auth_settings, + _return_http_data_only, collection_formats, + _preload_content, _request_timeout) + else: + thread = self.pool.apply_async(self.__call_api, (resource_path, + method, path_params, query_params, + header_params, body, + post_params, files, + response_type, auth_settings, + _return_http_data_only, + collection_formats, + _preload_content, _request_timeout)) + return thread + + def request(self, method, url, query_params=None, headers=None, + post_params=None, body=None, _preload_content=True, + _request_timeout=None): + """Makes the HTTP request using RESTClient.""" + if method == "GET": + return self.rest_client.GET(url, + query_params=query_params, + _preload_content=_preload_content, + _request_timeout=_request_timeout, + headers=headers) + elif method == "HEAD": + return self.rest_client.HEAD(url, + query_params=query_params, + _preload_content=_preload_content, + _request_timeout=_request_timeout, + headers=headers) + elif method == "OPTIONS": + return self.rest_client.OPTIONS(url, + query_params=query_params, + headers=headers, + post_params=post_params, + _preload_content=_preload_content, + _request_timeout=_request_timeout, + body=body) + elif method == "POST": + return self.rest_client.POST(url, + query_params=query_params, + headers=headers, + post_params=post_params, + _preload_content=_preload_content, + _request_timeout=_request_timeout, + body=body) + elif method == "PUT": + return self.rest_client.PUT(url, + query_params=query_params, + headers=headers, + post_params=post_params, + _preload_content=_preload_content, + _request_timeout=_request_timeout, + body=body) + elif method == "PATCH": + return self.rest_client.PATCH(url, + query_params=query_params, + headers=headers, + post_params=post_params, + _preload_content=_preload_content, + _request_timeout=_request_timeout, + body=body) + elif method == "DELETE": + return self.rest_client.DELETE(url, + query_params=query_params, + headers=headers, + _preload_content=_preload_content, + _request_timeout=_request_timeout, + body=body) + else: + raise ValueError( + "http method must be `GET`, `HEAD`, `OPTIONS`," + " `POST`, `PATCH`, `PUT` or `DELETE`." + ) + + def parameters_to_tuples(self, params, collection_formats): + """Get parameters as list of tuples, formatting collections. + + :param params: Parameters as dict or list of two-tuples + :param dict collection_formats: Parameter collection formats + :return: Parameters as list of tuples, collections formatted + """ + new_params = [] + if collection_formats is None: + collection_formats = {} + for k, v in six.iteritems(params) if isinstance(params, dict) else params: # noqa: E501 + if k in collection_formats: + collection_format = collection_formats[k] + if collection_format == 'multi': + new_params.extend((k, value) for value in v) + else: + if collection_format == 'ssv': + delimiter = ' ' + elif collection_format == 'tsv': + delimiter = '\t' + elif collection_format == 'pipes': + delimiter = '|' + else: # csv is the default + delimiter = ',' + new_params.append( + (k, delimiter.join(str(value) for value in v))) + else: + new_params.append((k, v)) + return new_params + + def prepare_post_parameters(self, post_params=None, files=None): + """Builds form parameters. + + :param post_params: Normal form parameters. + :param files: File parameters. + :return: Form parameters with files. + """ + params = [] + + if post_params: + params = post_params + + if files: + for k, v in six.iteritems(files): + if not v: + continue + file_names = v if type(v) is list else [v] + for n in file_names: + with open(n, 'rb') as f: + filename = os.path.basename(f.name) + filedata = f.read() + mimetype = (mimetypes.guess_type(filename)[0] or + 'application/octet-stream') + params.append( + tuple([k, tuple([filename, filedata, mimetype])])) + + return params + + def select_header_accept(self, accepts): + """Returns `Accept` based on an array of accepts provided. + + :param accepts: List of headers. + :return: Accept (e.g. application/json). + """ + if not accepts: + return + + accepts = [x.lower() for x in accepts] + + if 'application/json' in accepts: + return 'application/json' + else: + return ', '.join(accepts) + + def select_header_content_type(self, content_types): + """Returns `Content-Type` based on an array of content_types provided. + + :param content_types: List of content-types. + :return: Content-Type (e.g. application/json). + """ + if not content_types: + return 'application/json' + + content_types = [x.lower() for x in content_types] + + if 'application/json' in content_types or '*/*' in content_types: + return 'application/json' + else: + return content_types[0] + + def update_params_for_auth(self, headers, querys, auth_settings): + """Updates header and query params based on authentication setting. + + :param headers: Header parameters dict to be updated. + :param querys: Query parameters tuple list to be updated. + :param auth_settings: Authentication setting identifiers list. + """ + if not auth_settings: + return + + for auth in auth_settings: + auth_setting = self.configuration.auth_settings().get(auth) + if auth_setting: + if not auth_setting['value']: + continue + elif auth_setting['in'] == 'header': + headers[auth_setting['key']] = auth_setting['value'] + elif auth_setting['in'] == 'query': + querys.append((auth_setting['key'], auth_setting['value'])) + else: + raise ValueError( + 'Authentication token must be in `query` or `header`' + ) + + def __deserialize_file(self, response): + """Deserializes body to file + + Saves response body into a file in a temporary folder, + using the filename from the `Content-Disposition` header if provided. + + :param response: RESTResponse. + :return: file path. + """ + fd, path = tempfile.mkstemp(dir=self.configuration.temp_folder_path) + os.close(fd) + os.remove(path) + + content_disposition = response.getheader("Content-Disposition") + if content_disposition: + filename = re.search(r'filename=[\'"]?([^\'"\s]+)[\'"]?', + content_disposition).group(1) + path = os.path.join(os.path.dirname(path), filename) + + with open(path, "wb") as f: + f.write(response.data) + + return path + + def __deserialize_primitive(self, data, klass): + """Deserializes string to primitive type. + + :param data: str. + :param klass: class literal. + + :return: int, long, float, str, bool. + """ + try: + return klass(data) + except UnicodeEncodeError: + return six.text_type(data) + except TypeError: + return data + + def __deserialize_object(self, value): + """Return a original value. + + :return: object. + """ + return value + + def __deserialize_date(self, string): + """Deserializes string to date. + + :param string: str. + :return: date. + """ + try: + from dateutil.parser import parse + return parse(string).date() + except ImportError: + return string + except ValueError: + raise rest.ApiException( + status=0, + reason="Failed to parse `{0}` as date object".format(string) + ) + + def __deserialize_datatime(self, string): + """Deserializes string to datetime. + + The string should be in iso8601 datetime format. + + :param string: str. + :return: datetime. + """ + try: + from dateutil.parser import parse + return parse(string) + except ImportError: + return string + except ValueError: + raise rest.ApiException( + status=0, + reason=( + "Failed to parse `{0}` as datetime object" + .format(string) + ) + ) + + def __hasattr(self, object, name): + return name in object.__class__.__dict__ + + def __deserialize_model(self, data, klass): + """Deserializes list or dict to model. + + :param data: dict, list. + :param klass: class literal. + :return: model object. + """ + + if not klass.swagger_types and not self.__hasattr(klass, 'get_real_child_model'): + return data + + kwargs = {} + if klass.swagger_types is not None: + for attr, attr_type in six.iteritems(klass.swagger_types): + if (data is not None and + klass.attribute_map[attr] in data and + isinstance(data, (list, dict))): + value = data[klass.attribute_map[attr]] + kwargs[attr] = self.__deserialize(value, attr_type) + + instance = klass(**kwargs) + + if (isinstance(instance, dict) and + klass.swagger_types is not None and + isinstance(data, dict)): + for key, value in data.items(): + if key not in klass.swagger_types: + instance[key] = value + if self.__hasattr(instance, 'get_real_child_model'): + klass_name = instance.get_real_child_model(data) + if klass_name: + instance = self.__deserialize(data, klass_name) + return instance diff --git a/libs/cloudapi/cloudsdk/swagger_client/configuration.py b/libs/cloudapi/cloudsdk/swagger_client/configuration.py new file mode 100644 index 000000000..47ad0e12f --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/configuration.py @@ -0,0 +1,244 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import copy +import logging +import multiprocessing +import sys +import urllib3 + +import six +from six.moves import http_client as httplib + + +class TypeWithDefault(type): + def __init__(cls, name, bases, dct): + super(TypeWithDefault, cls).__init__(name, bases, dct) + cls._default = None + + def __call__(cls): + if cls._default is None: + cls._default = type.__call__(cls) + return copy.copy(cls._default) + + def set_default(cls, default): + cls._default = copy.copy(default) + + +class Configuration(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Ref: https://github.com/swagger-api/swagger-codegen + Do not edit the class manually. + """ + + def __init__(self, sdk_base_url=None): + """Constructor""" + # Default Base url + self.host = sdk_base_url + # Temp file folder for downloading files + self.temp_folder_path = None + + # Authentication Settings + # dict to store API key(s) + self.api_key = {} + # dict to store API prefix (e.g. Bearer) + self.api_key_prefix = {} + # function to refresh API key if expired + self.refresh_api_key_hook = None + # Username for HTTP basic authentication + self.username = "" + # Password for HTTP basic authentication + self.password = "" + # Logging Settings + self.logger = {} + self.logger["package_logger"] = logging.getLogger("swagger_client") + self.logger["urllib3_logger"] = logging.getLogger("urllib3") + # Log format + self.logger_format = '%(asctime)s %(levelname)s %(message)s' + # Log stream handler + self.logger_stream_handler = None + # Log file handler + self.logger_file_handler = None + # Debug file location + self.logger_file = None + # Debug switch + self.debug = False + + # SSL/TLS verification + # Set this to false to skip verifying SSL certificate when calling API + # from https server. + self.verify_ssl = True + # Set this to customize the certificate file to verify the peer. + self.ssl_ca_cert = None + # client certificate file + self.cert_file = None + # client key file + self.key_file = None + # Set this to True/False to enable/disable SSL hostname verification. + self.assert_hostname = None + + # urllib3 connection pool's maximum number of connections saved + # per pool. urllib3 uses 1 connection as default value, but this is + # not the best value when you are making a lot of possibly parallel + # requests to the same host, which is often the case here. + # cpu_count * 5 is used as default value to increase performance. + self.connection_pool_maxsize = multiprocessing.cpu_count() * 5 + + # Proxy URL + self.proxy = None + # Safe chars for path_param + self.safe_chars_for_path_param = '' + + @property + def logger_file(self): + """The logger file. + + If the logger_file is None, then add stream handler and remove file + handler. Otherwise, add file handler and remove stream handler. + + :param value: The logger_file path. + :type: str + """ + return self.__logger_file + + @logger_file.setter + def logger_file(self, value): + """The logger file. + + If the logger_file is None, then add stream handler and remove file + handler. Otherwise, add file handler and remove stream handler. + + :param value: The logger_file path. + :type: str + """ + self.__logger_file = value + if self.__logger_file: + # If set logging file, + # then add file handler and remove stream handler. + self.logger_file_handler = logging.FileHandler(self.__logger_file) + self.logger_file_handler.setFormatter(self.logger_formatter) + for _, logger in six.iteritems(self.logger): + logger.addHandler(self.logger_file_handler) + if self.logger_stream_handler: + logger.removeHandler(self.logger_stream_handler) + else: + # If not set logging file, + # then add stream handler and remove file handler. + self.logger_stream_handler = logging.StreamHandler() + self.logger_stream_handler.setFormatter(self.logger_formatter) + for _, logger in six.iteritems(self.logger): + logger.addHandler(self.logger_stream_handler) + if self.logger_file_handler: + logger.removeHandler(self.logger_file_handler) + + @property + def debug(self): + """Debug status + + :param value: The debug status, True or False. + :type: bool + """ + return self.__debug + + @debug.setter + def debug(self, value): + """Debug status + + :param value: The debug status, True or False. + :type: bool + """ + self.__debug = value + if self.__debug: + # if debug status is True, turn on debug logging + for _, logger in six.iteritems(self.logger): + logger.setLevel(logging.DEBUG) + # turn on httplib debug + httplib.HTTPConnection.debuglevel = 1 + else: + # if debug status is False, turn off debug logging, + # setting log level to default `logging.WARNING` + for _, logger in six.iteritems(self.logger): + logger.setLevel(logging.WARNING) + # turn off httplib debug + httplib.HTTPConnection.debuglevel = 0 + + @property + def logger_format(self): + """The logger format. + + The logger_formatter will be updated when sets logger_format. + + :param value: The format string. + :type: str + """ + return self.__logger_format + + @logger_format.setter + def logger_format(self, value): + """The logger format. + + The logger_formatter will be updated when sets logger_format. + + :param value: The format string. + :type: str + """ + self.__logger_format = value + self.logger_formatter = logging.Formatter(self.__logger_format) + + def get_api_key_with_prefix(self, identifier): + """Gets API key (with prefix if set). + + :param identifier: The identifier of apiKey. + :return: The token for api key authentication. + """ + if self.refresh_api_key_hook: + self.refresh_api_key_hook(self) + + key = self.api_key.get(identifier) + if key: + prefix = self.api_key_prefix.get(identifier) + if prefix: + return "%s %s" % (prefix, key) + else: + return key + + def get_basic_auth_token(self): + """Gets HTTP basic authentication header (string). + + :return: The token for basic HTTP authentication. + """ + return urllib3.util.make_headers( + basic_auth=self.username + ':' + self.password + ).get('authorization') + + def auth_settings(self): + """Gets Auth Settings dict for api client. + + :return: The Auth Settings information dict. + """ + return { + } + + def to_debug_report(self): + """Gets the essential information for debugging. + + :return: The report for debugging. + """ + return "Python SDK Debug Report:\n"\ + "OS: {env}\n"\ + "Python Version: {pyversion}\n"\ + "Version of the API: 1.0.0\n"\ + "SDK Package Version: 1.0.0".\ + format(env=sys.platform, pyversion=sys.version) diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/__init__.py b/libs/cloudapi/cloudsdk/swagger_client/models/__init__.py new file mode 100644 index 000000000..9f557c11b --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/__init__.py @@ -0,0 +1,404 @@ +# coding: utf-8 + +# flake8: noqa +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +# import models into model package +from swagger_client.models.acl_template import AclTemplate +from swagger_client.models.active_bssid import ActiveBSSID +from swagger_client.models.active_bssi_ds import ActiveBSSIDs +from swagger_client.models.active_scan_settings import ActiveScanSettings +from swagger_client.models.advanced_radio_map import AdvancedRadioMap +from swagger_client.models.alarm import Alarm +from swagger_client.models.alarm_added_event import AlarmAddedEvent +from swagger_client.models.alarm_changed_event import AlarmChangedEvent +from swagger_client.models.alarm_code import AlarmCode +from swagger_client.models.alarm_counts import AlarmCounts +from swagger_client.models.alarm_details import AlarmDetails +from swagger_client.models.alarm_details_attributes_map import AlarmDetailsAttributesMap +from swagger_client.models.alarm_removed_event import AlarmRemovedEvent +from swagger_client.models.alarm_scope_type import AlarmScopeType +from swagger_client.models.antenna_type import AntennaType +from swagger_client.models.ap_element_configuration import ApElementConfiguration +from swagger_client.models.ap_mesh_mode import ApMeshMode +from swagger_client.models.ap_network_configuration import ApNetworkConfiguration +from swagger_client.models.ap_network_configuration_ntp_server import ApNetworkConfigurationNtpServer +from swagger_client.models.ap_node_metrics import ApNodeMetrics +from swagger_client.models.ap_performance import ApPerformance +from swagger_client.models.ap_ssid_metrics import ApSsidMetrics +from swagger_client.models.auto_or_manual_string import AutoOrManualString +from swagger_client.models.auto_or_manual_value import AutoOrManualValue +from swagger_client.models.background_position import BackgroundPosition +from swagger_client.models.background_repeat import BackgroundRepeat +from swagger_client.models.banned_channel import BannedChannel +from swagger_client.models.base_dhcp_event import BaseDhcpEvent +from swagger_client.models.best_ap_steer_type import BestAPSteerType +from swagger_client.models.blocklist_details import BlocklistDetails +from swagger_client.models.bonjour_gateway_profile import BonjourGatewayProfile +from swagger_client.models.bonjour_service_set import BonjourServiceSet +from swagger_client.models.capacity_details import CapacityDetails +from swagger_client.models.capacity_per_radio_details import CapacityPerRadioDetails +from swagger_client.models.capacity_per_radio_details_map import CapacityPerRadioDetailsMap +from swagger_client.models.captive_portal_authentication_type import CaptivePortalAuthenticationType +from swagger_client.models.captive_portal_configuration import CaptivePortalConfiguration +from swagger_client.models.channel_bandwidth import ChannelBandwidth +from swagger_client.models.channel_hop_reason import ChannelHopReason +from swagger_client.models.channel_hop_settings import ChannelHopSettings +from swagger_client.models.channel_info import ChannelInfo +from swagger_client.models.channel_info_reports import ChannelInfoReports +from swagger_client.models.channel_power_level import ChannelPowerLevel +from swagger_client.models.channel_utilization_details import ChannelUtilizationDetails +from swagger_client.models.channel_utilization_per_radio_details import ChannelUtilizationPerRadioDetails +from swagger_client.models.channel_utilization_per_radio_details_map import ChannelUtilizationPerRadioDetailsMap +from swagger_client.models.channel_utilization_survey_type import ChannelUtilizationSurveyType +from swagger_client.models.client import Client +from swagger_client.models.client_activity_aggregated_stats import ClientActivityAggregatedStats +from swagger_client.models.client_activity_aggregated_stats_per_radio_type_map import ClientActivityAggregatedStatsPerRadioTypeMap +from swagger_client.models.client_added_event import ClientAddedEvent +from swagger_client.models.client_assoc_event import ClientAssocEvent +from swagger_client.models.client_auth_event import ClientAuthEvent +from swagger_client.models.client_changed_event import ClientChangedEvent +from swagger_client.models.client_connect_success_event import ClientConnectSuccessEvent +from swagger_client.models.client_connection_details import ClientConnectionDetails +from swagger_client.models.client_dhcp_details import ClientDhcpDetails +from swagger_client.models.client_disconnect_event import ClientDisconnectEvent +from swagger_client.models.client_eap_details import ClientEapDetails +from swagger_client.models.client_failure_details import ClientFailureDetails +from swagger_client.models.client_failure_event import ClientFailureEvent +from swagger_client.models.client_first_data_event import ClientFirstDataEvent +from swagger_client.models.client_id_event import ClientIdEvent +from swagger_client.models.client_info_details import ClientInfoDetails +from swagger_client.models.client_ip_address_event import ClientIpAddressEvent +from swagger_client.models.client_metrics import ClientMetrics +from swagger_client.models.client_removed_event import ClientRemovedEvent +from swagger_client.models.client_session import ClientSession +from swagger_client.models.client_session_changed_event import ClientSessionChangedEvent +from swagger_client.models.client_session_details import ClientSessionDetails +from swagger_client.models.client_session_metric_details import ClientSessionMetricDetails +from swagger_client.models.client_session_removed_event import ClientSessionRemovedEvent +from swagger_client.models.client_timeout_event import ClientTimeoutEvent +from swagger_client.models.client_timeout_reason import ClientTimeoutReason +from swagger_client.models.common_probe_details import CommonProbeDetails +from swagger_client.models.country_code import CountryCode +from swagger_client.models.counts_per_alarm_code_map import CountsPerAlarmCodeMap +from swagger_client.models.counts_per_equipment_id_per_alarm_code_map import CountsPerEquipmentIdPerAlarmCodeMap +from swagger_client.models.customer import Customer +from swagger_client.models.customer_added_event import CustomerAddedEvent +from swagger_client.models.customer_changed_event import CustomerChangedEvent +from swagger_client.models.customer_details import CustomerDetails +from swagger_client.models.customer_firmware_track_record import CustomerFirmwareTrackRecord +from swagger_client.models.customer_firmware_track_settings import CustomerFirmwareTrackSettings +from swagger_client.models.customer_portal_dashboard_status import CustomerPortalDashboardStatus +from swagger_client.models.customer_removed_event import CustomerRemovedEvent +from swagger_client.models.daily_time_range_schedule import DailyTimeRangeSchedule +from swagger_client.models.day_of_week import DayOfWeek +from swagger_client.models.days_of_week_time_range_schedule import DaysOfWeekTimeRangeSchedule +from swagger_client.models.deployment_type import DeploymentType +from swagger_client.models.detected_auth_mode import DetectedAuthMode +from swagger_client.models.device_mode import DeviceMode +from swagger_client.models.dhcp_ack_event import DhcpAckEvent +from swagger_client.models.dhcp_decline_event import DhcpDeclineEvent +from swagger_client.models.dhcp_discover_event import DhcpDiscoverEvent +from swagger_client.models.dhcp_inform_event import DhcpInformEvent +from swagger_client.models.dhcp_nak_event import DhcpNakEvent +from swagger_client.models.dhcp_offer_event import DhcpOfferEvent +from swagger_client.models.dhcp_request_event import DhcpRequestEvent +from swagger_client.models.disconnect_frame_type import DisconnectFrameType +from swagger_client.models.disconnect_initiator import DisconnectInitiator +from swagger_client.models.dns_probe_metric import DnsProbeMetric +from swagger_client.models.dynamic_vlan_mode import DynamicVlanMode +from swagger_client.models.element_radio_configuration import ElementRadioConfiguration +from swagger_client.models.element_radio_configuration_eirp_tx_power import ElementRadioConfigurationEirpTxPower +from swagger_client.models.empty_schedule import EmptySchedule +from swagger_client.models.equipment import Equipment +from swagger_client.models.equipment_added_event import EquipmentAddedEvent +from swagger_client.models.equipment_admin_status_data import EquipmentAdminStatusData +from swagger_client.models.equipment_auto_provisioning_settings import EquipmentAutoProvisioningSettings +from swagger_client.models.equipment_capacity_details import EquipmentCapacityDetails +from swagger_client.models.equipment_capacity_details_map import EquipmentCapacityDetailsMap +from swagger_client.models.equipment_changed_event import EquipmentChangedEvent +from swagger_client.models.equipment_details import EquipmentDetails +from swagger_client.models.equipment_gateway_record import EquipmentGatewayRecord +from swagger_client.models.equipment_lan_status_data import EquipmentLANStatusData +from swagger_client.models.equipment_neighbouring_status_data import EquipmentNeighbouringStatusData +from swagger_client.models.equipment_peer_status_data import EquipmentPeerStatusData +from swagger_client.models.equipment_per_radio_utilization_details import EquipmentPerRadioUtilizationDetails +from swagger_client.models.equipment_per_radio_utilization_details_map import EquipmentPerRadioUtilizationDetailsMap +from swagger_client.models.equipment_performance_details import EquipmentPerformanceDetails +from swagger_client.models.equipment_protocol_state import EquipmentProtocolState +from swagger_client.models.equipment_protocol_status_data import EquipmentProtocolStatusData +from swagger_client.models.equipment_removed_event import EquipmentRemovedEvent +from swagger_client.models.equipment_routing_record import EquipmentRoutingRecord +from swagger_client.models.equipment_rrm_bulk_update_item import EquipmentRrmBulkUpdateItem +from swagger_client.models.equipment_rrm_bulk_update_item_per_radio_map import EquipmentRrmBulkUpdateItemPerRadioMap +from swagger_client.models.equipment_rrm_bulk_update_request import EquipmentRrmBulkUpdateRequest +from swagger_client.models.equipment_scan_details import EquipmentScanDetails +from swagger_client.models.equipment_type import EquipmentType +from swagger_client.models.equipment_upgrade_failure_reason import EquipmentUpgradeFailureReason +from swagger_client.models.equipment_upgrade_state import EquipmentUpgradeState +from swagger_client.models.equipment_upgrade_status_data import EquipmentUpgradeStatusData +from swagger_client.models.ethernet_link_state import EthernetLinkState +from swagger_client.models.file_category import FileCategory +from swagger_client.models.file_type import FileType +from swagger_client.models.firmware_schedule_setting import FirmwareScheduleSetting +from swagger_client.models.firmware_track_assignment_details import FirmwareTrackAssignmentDetails +from swagger_client.models.firmware_track_assignment_record import FirmwareTrackAssignmentRecord +from swagger_client.models.firmware_track_record import FirmwareTrackRecord +from swagger_client.models.firmware_validation_method import FirmwareValidationMethod +from swagger_client.models.firmware_version import FirmwareVersion +from swagger_client.models.gateway_added_event import GatewayAddedEvent +from swagger_client.models.gateway_changed_event import GatewayChangedEvent +from swagger_client.models.gateway_removed_event import GatewayRemovedEvent +from swagger_client.models.gateway_type import GatewayType +from swagger_client.models.generic_response import GenericResponse +from swagger_client.models.gre_tunnel_configuration import GreTunnelConfiguration +from swagger_client.models.guard_interval import GuardInterval +from swagger_client.models.integer_per_radio_type_map import IntegerPerRadioTypeMap +from swagger_client.models.integer_per_status_code_map import IntegerPerStatusCodeMap +from swagger_client.models.integer_status_code_map import IntegerStatusCodeMap +from swagger_client.models.integer_value_map import IntegerValueMap +from swagger_client.models.json_serialized_exception import JsonSerializedException +from swagger_client.models.link_quality_aggregated_stats import LinkQualityAggregatedStats +from swagger_client.models.link_quality_aggregated_stats_per_radio_type_map import LinkQualityAggregatedStatsPerRadioTypeMap +from swagger_client.models.list_of_channel_info_reports_per_radio_map import ListOfChannelInfoReportsPerRadioMap +from swagger_client.models.list_of_macs_per_radio_map import ListOfMacsPerRadioMap +from swagger_client.models.list_of_mcs_stats_per_radio_map import ListOfMcsStatsPerRadioMap +from swagger_client.models.list_of_radio_utilization_per_radio_map import ListOfRadioUtilizationPerRadioMap +from swagger_client.models.list_of_ssid_statistics_per_radio_map import ListOfSsidStatisticsPerRadioMap +from swagger_client.models.local_time_value import LocalTimeValue +from swagger_client.models.location import Location +from swagger_client.models.location_activity_details import LocationActivityDetails +from swagger_client.models.location_activity_details_map import LocationActivityDetailsMap +from swagger_client.models.location_added_event import LocationAddedEvent +from swagger_client.models.location_changed_event import LocationChangedEvent +from swagger_client.models.location_details import LocationDetails +from swagger_client.models.location_removed_event import LocationRemovedEvent +from swagger_client.models.long_per_radio_type_map import LongPerRadioTypeMap +from swagger_client.models.long_value_map import LongValueMap +from swagger_client.models.mac_address import MacAddress +from swagger_client.models.mac_allowlist_record import MacAllowlistRecord +from swagger_client.models.managed_file_info import ManagedFileInfo +from swagger_client.models.management_rate import ManagementRate +from swagger_client.models.manufacturer_details_record import ManufacturerDetailsRecord +from swagger_client.models.manufacturer_oui_details import ManufacturerOuiDetails +from swagger_client.models.manufacturer_oui_details_per_oui_map import ManufacturerOuiDetailsPerOuiMap +from swagger_client.models.map_of_wmm_queue_stats_per_radio_map import MapOfWmmQueueStatsPerRadioMap +from swagger_client.models.mcs_stats import McsStats +from swagger_client.models.mcs_type import McsType +from swagger_client.models.mesh_group import MeshGroup +from swagger_client.models.mesh_group_member import MeshGroupMember +from swagger_client.models.mesh_group_property import MeshGroupProperty +from swagger_client.models.metric_config_parameter_map import MetricConfigParameterMap +from swagger_client.models.mimo_mode import MimoMode +from swagger_client.models.min_max_avg_value_int import MinMaxAvgValueInt +from swagger_client.models.min_max_avg_value_int_per_radio_map import MinMaxAvgValueIntPerRadioMap +from swagger_client.models.multicast_rate import MulticastRate +from swagger_client.models.neighbor_scan_packet_type import NeighborScanPacketType +from swagger_client.models.neighbour_report import NeighbourReport +from swagger_client.models.neighbour_scan_reports import NeighbourScanReports +from swagger_client.models.neighbouring_ap_list_configuration import NeighbouringAPListConfiguration +from swagger_client.models.network_admin_status_data import NetworkAdminStatusData +from swagger_client.models.network_aggregate_status_data import NetworkAggregateStatusData +from swagger_client.models.network_forward_mode import NetworkForwardMode +from swagger_client.models.network_probe_metrics import NetworkProbeMetrics +from swagger_client.models.network_type import NetworkType +from swagger_client.models.noise_floor_details import NoiseFloorDetails +from swagger_client.models.noise_floor_per_radio_details import NoiseFloorPerRadioDetails +from swagger_client.models.noise_floor_per_radio_details_map import NoiseFloorPerRadioDetailsMap +from swagger_client.models.obss_hop_mode import ObssHopMode +from swagger_client.models.one_of_equipment_details import OneOfEquipmentDetails +from swagger_client.models.one_of_firmware_schedule_setting import OneOfFirmwareScheduleSetting +from swagger_client.models.one_of_profile_details_children import OneOfProfileDetailsChildren +from swagger_client.models.one_of_schedule_setting import OneOfScheduleSetting +from swagger_client.models.one_of_service_metric_details import OneOfServiceMetricDetails +from swagger_client.models.one_of_status_details import OneOfStatusDetails +from swagger_client.models.one_of_system_event import OneOfSystemEvent +from swagger_client.models.operating_system_performance import OperatingSystemPerformance +from swagger_client.models.originator_type import OriginatorType +from swagger_client.models.pagination_context_alarm import PaginationContextAlarm +from swagger_client.models.pagination_context_client import PaginationContextClient +from swagger_client.models.pagination_context_client_session import PaginationContextClientSession +from swagger_client.models.pagination_context_equipment import PaginationContextEquipment +from swagger_client.models.pagination_context_location import PaginationContextLocation +from swagger_client.models.pagination_context_portal_user import PaginationContextPortalUser +from swagger_client.models.pagination_context_profile import PaginationContextProfile +from swagger_client.models.pagination_context_service_metric import PaginationContextServiceMetric +from swagger_client.models.pagination_context_status import PaginationContextStatus +from swagger_client.models.pagination_context_system_event import PaginationContextSystemEvent +from swagger_client.models.pagination_response_alarm import PaginationResponseAlarm +from swagger_client.models.pagination_response_client import PaginationResponseClient +from swagger_client.models.pagination_response_client_session import PaginationResponseClientSession +from swagger_client.models.pagination_response_equipment import PaginationResponseEquipment +from swagger_client.models.pagination_response_location import PaginationResponseLocation +from swagger_client.models.pagination_response_portal_user import PaginationResponsePortalUser +from swagger_client.models.pagination_response_profile import PaginationResponseProfile +from swagger_client.models.pagination_response_service_metric import PaginationResponseServiceMetric +from swagger_client.models.pagination_response_status import PaginationResponseStatus +from swagger_client.models.pagination_response_system_event import PaginationResponseSystemEvent +from swagger_client.models.pair_long_long import PairLongLong +from swagger_client.models.passpoint_access_network_type import PasspointAccessNetworkType +from swagger_client.models.passpoint_connection_capabilities_ip_protocol import PasspointConnectionCapabilitiesIpProtocol +from swagger_client.models.passpoint_connection_capabilities_status import PasspointConnectionCapabilitiesStatus +from swagger_client.models.passpoint_connection_capability import PasspointConnectionCapability +from swagger_client.models.passpoint_duple import PasspointDuple +from swagger_client.models.passpoint_eap_methods import PasspointEapMethods +from swagger_client.models.passpoint_gas_address3_behaviour import PasspointGasAddress3Behaviour +from swagger_client.models.passpoint_i_pv4_address_type import PasspointIPv4AddressType +from swagger_client.models.passpoint_i_pv6_address_type import PasspointIPv6AddressType +from swagger_client.models.passpoint_mcc_mnc import PasspointMccMnc +from swagger_client.models.passpoint_nai_realm_eap_auth_inner_non_eap import PasspointNaiRealmEapAuthInnerNonEap +from swagger_client.models.passpoint_nai_realm_eap_auth_param import PasspointNaiRealmEapAuthParam +from swagger_client.models.passpoint_nai_realm_eap_cred_type import PasspointNaiRealmEapCredType +from swagger_client.models.passpoint_nai_realm_encoding import PasspointNaiRealmEncoding +from swagger_client.models.passpoint_nai_realm_information import PasspointNaiRealmInformation +from swagger_client.models.passpoint_network_authentication_type import PasspointNetworkAuthenticationType +from swagger_client.models.passpoint_operator_profile import PasspointOperatorProfile +from swagger_client.models.passpoint_osu_icon import PasspointOsuIcon +from swagger_client.models.passpoint_osu_provider_profile import PasspointOsuProviderProfile +from swagger_client.models.passpoint_profile import PasspointProfile +from swagger_client.models.passpoint_venue_name import PasspointVenueName +from swagger_client.models.passpoint_venue_profile import PasspointVenueProfile +from swagger_client.models.passpoint_venue_type_assignment import PasspointVenueTypeAssignment +from swagger_client.models.peer_info import PeerInfo +from swagger_client.models.per_process_utilization import PerProcessUtilization +from swagger_client.models.ping_response import PingResponse +from swagger_client.models.portal_user import PortalUser +from swagger_client.models.portal_user_added_event import PortalUserAddedEvent +from swagger_client.models.portal_user_changed_event import PortalUserChangedEvent +from swagger_client.models.portal_user_removed_event import PortalUserRemovedEvent +from swagger_client.models.portal_user_role import PortalUserRole +from swagger_client.models.profile import Profile +from swagger_client.models.profile_added_event import ProfileAddedEvent +from swagger_client.models.profile_changed_event import ProfileChangedEvent +from swagger_client.models.profile_details import ProfileDetails +from swagger_client.models.profile_details_children import ProfileDetailsChildren +from swagger_client.models.profile_removed_event import ProfileRemovedEvent +from swagger_client.models.profile_type import ProfileType +from swagger_client.models.radio_based_ssid_configuration import RadioBasedSsidConfiguration +from swagger_client.models.radio_based_ssid_configuration_map import RadioBasedSsidConfigurationMap +from swagger_client.models.radio_best_ap_settings import RadioBestApSettings +from swagger_client.models.radio_channel_change_settings import RadioChannelChangeSettings +from swagger_client.models.radio_configuration import RadioConfiguration +from swagger_client.models.radio_map import RadioMap +from swagger_client.models.radio_mode import RadioMode +from swagger_client.models.radio_profile_configuration import RadioProfileConfiguration +from swagger_client.models.radio_profile_configuration_map import RadioProfileConfigurationMap +from swagger_client.models.radio_statistics import RadioStatistics +from swagger_client.models.radio_statistics_per_radio_map import RadioStatisticsPerRadioMap +from swagger_client.models.radio_type import RadioType +from swagger_client.models.radio_utilization import RadioUtilization +from swagger_client.models.radio_utilization_details import RadioUtilizationDetails +from swagger_client.models.radio_utilization_per_radio_details import RadioUtilizationPerRadioDetails +from swagger_client.models.radio_utilization_per_radio_details_map import RadioUtilizationPerRadioDetailsMap +from swagger_client.models.radio_utilization_report import RadioUtilizationReport +from swagger_client.models.radius_authentication_method import RadiusAuthenticationMethod +from swagger_client.models.radius_details import RadiusDetails +from swagger_client.models.radius_metrics import RadiusMetrics +from swagger_client.models.radius_nas_configuration import RadiusNasConfiguration +from swagger_client.models.radius_profile import RadiusProfile +from swagger_client.models.radius_server import RadiusServer +from swagger_client.models.radius_server_details import RadiusServerDetails +from swagger_client.models.real_time_event import RealTimeEvent +from swagger_client.models.real_time_sip_call_event_with_stats import RealTimeSipCallEventWithStats +from swagger_client.models.real_time_sip_call_report_event import RealTimeSipCallReportEvent +from swagger_client.models.real_time_sip_call_start_event import RealTimeSipCallStartEvent +from swagger_client.models.real_time_sip_call_stop_event import RealTimeSipCallStopEvent +from swagger_client.models.real_time_streaming_start_event import RealTimeStreamingStartEvent +from swagger_client.models.real_time_streaming_start_session_event import RealTimeStreamingStartSessionEvent +from swagger_client.models.real_time_streaming_stop_event import RealTimeStreamingStopEvent +from swagger_client.models.realtime_channel_hop_event import RealtimeChannelHopEvent +from swagger_client.models.rf_config_map import RfConfigMap +from swagger_client.models.rf_configuration import RfConfiguration +from swagger_client.models.rf_element_configuration import RfElementConfiguration +from swagger_client.models.routing_added_event import RoutingAddedEvent +from swagger_client.models.routing_changed_event import RoutingChangedEvent +from swagger_client.models.routing_removed_event import RoutingRemovedEvent +from swagger_client.models.rrm_bulk_update_ap_details import RrmBulkUpdateApDetails +from swagger_client.models.rtls_settings import RtlsSettings +from swagger_client.models.rtp_flow_direction import RtpFlowDirection +from swagger_client.models.rtp_flow_stats import RtpFlowStats +from swagger_client.models.rtp_flow_type import RtpFlowType +from swagger_client.models.sip_call_report_reason import SIPCallReportReason +from swagger_client.models.schedule_setting import ScheduleSetting +from swagger_client.models.security_type import SecurityType +from swagger_client.models.service_adoption_metrics import ServiceAdoptionMetrics +from swagger_client.models.service_metric import ServiceMetric +from swagger_client.models.service_metric_config_parameters import ServiceMetricConfigParameters +from swagger_client.models.service_metric_data_type import ServiceMetricDataType +from swagger_client.models.service_metric_details import ServiceMetricDetails +from swagger_client.models.service_metric_radio_config_parameters import ServiceMetricRadioConfigParameters +from swagger_client.models.service_metric_survey_config_parameters import ServiceMetricSurveyConfigParameters +from swagger_client.models.service_metrics_collection_config_profile import ServiceMetricsCollectionConfigProfile +from swagger_client.models.session_expiry_type import SessionExpiryType +from swagger_client.models.sip_call_stop_reason import SipCallStopReason +from swagger_client.models.sort_columns_alarm import SortColumnsAlarm +from swagger_client.models.sort_columns_client import SortColumnsClient +from swagger_client.models.sort_columns_client_session import SortColumnsClientSession +from swagger_client.models.sort_columns_equipment import SortColumnsEquipment +from swagger_client.models.sort_columns_location import SortColumnsLocation +from swagger_client.models.sort_columns_portal_user import SortColumnsPortalUser +from swagger_client.models.sort_columns_profile import SortColumnsProfile +from swagger_client.models.sort_columns_service_metric import SortColumnsServiceMetric +from swagger_client.models.sort_columns_status import SortColumnsStatus +from swagger_client.models.sort_columns_system_event import SortColumnsSystemEvent +from swagger_client.models.sort_order import SortOrder +from swagger_client.models.source_selection_management import SourceSelectionManagement +from swagger_client.models.source_selection_multicast import SourceSelectionMulticast +from swagger_client.models.source_selection_steering import SourceSelectionSteering +from swagger_client.models.source_selection_value import SourceSelectionValue +from swagger_client.models.source_type import SourceType +from swagger_client.models.ssid_configuration import SsidConfiguration +from swagger_client.models.ssid_secure_mode import SsidSecureMode +from swagger_client.models.ssid_statistics import SsidStatistics +from swagger_client.models.state_setting import StateSetting +from swagger_client.models.state_up_down_error import StateUpDownError +from swagger_client.models.stats_report_format import StatsReportFormat +from swagger_client.models.status import Status +from swagger_client.models.status_changed_event import StatusChangedEvent +from swagger_client.models.status_code import StatusCode +from swagger_client.models.status_data_type import StatusDataType +from swagger_client.models.status_details import StatusDetails +from swagger_client.models.status_removed_event import StatusRemovedEvent +from swagger_client.models.steer_type import SteerType +from swagger_client.models.streaming_video_server_record import StreamingVideoServerRecord +from swagger_client.models.streaming_video_type import StreamingVideoType +from swagger_client.models.syslog_relay import SyslogRelay +from swagger_client.models.syslog_severity_type import SyslogSeverityType +from swagger_client.models.system_event import SystemEvent +from swagger_client.models.system_event_data_type import SystemEventDataType +from swagger_client.models.system_event_record import SystemEventRecord +from swagger_client.models.timed_access_user_details import TimedAccessUserDetails +from swagger_client.models.timed_access_user_record import TimedAccessUserRecord +from swagger_client.models.track_flag import TrackFlag +from swagger_client.models.traffic_details import TrafficDetails +from swagger_client.models.traffic_per_radio_details import TrafficPerRadioDetails +from swagger_client.models.traffic_per_radio_details_per_radio_type_map import TrafficPerRadioDetailsPerRadioTypeMap +from swagger_client.models.tunnel_indicator import TunnelIndicator +from swagger_client.models.tunnel_metric_data import TunnelMetricData +from swagger_client.models.unserializable_system_event import UnserializableSystemEvent +from swagger_client.models.user_details import UserDetails +from swagger_client.models.vlan_status_data import VLANStatusData +from swagger_client.models.vlan_status_data_map import VLANStatusDataMap +from swagger_client.models.vlan_subnet import VlanSubnet +from swagger_client.models.web_token_acl_template import WebTokenAclTemplate +from swagger_client.models.web_token_request import WebTokenRequest +from swagger_client.models.web_token_result import WebTokenResult +from swagger_client.models.wep_auth_type import WepAuthType +from swagger_client.models.wep_configuration import WepConfiguration +from swagger_client.models.wep_key import WepKey +from swagger_client.models.wep_type import WepType +from swagger_client.models.wlan_reason_code import WlanReasonCode +from swagger_client.models.wlan_status_code import WlanStatusCode +from swagger_client.models.wmm_queue_stats import WmmQueueStats +from swagger_client.models.wmm_queue_stats_per_queue_type_map import WmmQueueStatsPerQueueTypeMap +from swagger_client.models.wmm_queue_type import WmmQueueType diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/acl_template.py b/libs/cloudapi/cloudsdk/swagger_client/models/acl_template.py new file mode 100644 index 000000000..5d2d33fdc --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/acl_template.py @@ -0,0 +1,214 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class AclTemplate(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'read': 'bool', + 'read_write': 'bool', + 'read_write_create': 'bool', + 'delete': 'bool', + 'portal_login': 'bool' + } + + attribute_map = { + 'read': 'Read', + 'read_write': 'ReadWrite', + 'read_write_create': 'ReadWriteCreate', + 'delete': 'Delete', + 'portal_login': 'PortalLogin' + } + + def __init__(self, read=None, read_write=None, read_write_create=None, delete=None, portal_login=None): # noqa: E501 + """AclTemplate - a model defined in Swagger""" # noqa: E501 + self._read = None + self._read_write = None + self._read_write_create = None + self._delete = None + self._portal_login = None + self.discriminator = None + if read is not None: + self.read = read + if read_write is not None: + self.read_write = read_write + if read_write_create is not None: + self.read_write_create = read_write_create + if delete is not None: + self.delete = delete + if portal_login is not None: + self.portal_login = portal_login + + @property + def read(self): + """Gets the read of this AclTemplate. # noqa: E501 + + + :return: The read of this AclTemplate. # noqa: E501 + :rtype: bool + """ + return self._read + + @read.setter + def read(self, read): + """Sets the read of this AclTemplate. + + + :param read: The read of this AclTemplate. # noqa: E501 + :type: bool + """ + + self._read = read + + @property + def read_write(self): + """Gets the read_write of this AclTemplate. # noqa: E501 + + + :return: The read_write of this AclTemplate. # noqa: E501 + :rtype: bool + """ + return self._read_write + + @read_write.setter + def read_write(self, read_write): + """Sets the read_write of this AclTemplate. + + + :param read_write: The read_write of this AclTemplate. # noqa: E501 + :type: bool + """ + + self._read_write = read_write + + @property + def read_write_create(self): + """Gets the read_write_create of this AclTemplate. # noqa: E501 + + + :return: The read_write_create of this AclTemplate. # noqa: E501 + :rtype: bool + """ + return self._read_write_create + + @read_write_create.setter + def read_write_create(self, read_write_create): + """Sets the read_write_create of this AclTemplate. + + + :param read_write_create: The read_write_create of this AclTemplate. # noqa: E501 + :type: bool + """ + + self._read_write_create = read_write_create + + @property + def delete(self): + """Gets the delete of this AclTemplate. # noqa: E501 + + + :return: The delete of this AclTemplate. # noqa: E501 + :rtype: bool + """ + return self._delete + + @delete.setter + def delete(self, delete): + """Sets the delete of this AclTemplate. + + + :param delete: The delete of this AclTemplate. # noqa: E501 + :type: bool + """ + + self._delete = delete + + @property + def portal_login(self): + """Gets the portal_login of this AclTemplate. # noqa: E501 + + + :return: The portal_login of this AclTemplate. # noqa: E501 + :rtype: bool + """ + return self._portal_login + + @portal_login.setter + def portal_login(self, portal_login): + """Sets the portal_login of this AclTemplate. + + + :param portal_login: The portal_login of this AclTemplate. # noqa: E501 + :type: bool + """ + + self._portal_login = portal_login + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(AclTemplate, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, AclTemplate): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/active_bssi_ds.py b/libs/cloudapi/cloudsdk/swagger_client/models/active_bssi_ds.py new file mode 100644 index 000000000..b86f7a2c5 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/active_bssi_ds.py @@ -0,0 +1,175 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ActiveBSSIDs(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'status_data_type': 'str', + 'active_bssi_ds': 'list[ActiveBSSID]' + } + + attribute_map = { + 'model_type': 'model_type', + 'status_data_type': 'statusDataType', + 'active_bssi_ds': 'activeBSSIDs' + } + + def __init__(self, model_type=None, status_data_type=None, active_bssi_ds=None): # noqa: E501 + """ActiveBSSIDs - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._status_data_type = None + self._active_bssi_ds = None + self.discriminator = None + self.model_type = model_type + if status_data_type is not None: + self.status_data_type = status_data_type + if active_bssi_ds is not None: + self.active_bssi_ds = active_bssi_ds + + @property + def model_type(self): + """Gets the model_type of this ActiveBSSIDs. # noqa: E501 + + + :return: The model_type of this ActiveBSSIDs. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this ActiveBSSIDs. + + + :param model_type: The model_type of this ActiveBSSIDs. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + allowed_values = ["ActiveBSSIDs"] # noqa: E501 + if model_type not in allowed_values: + raise ValueError( + "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 + .format(model_type, allowed_values) + ) + + self._model_type = model_type + + @property + def status_data_type(self): + """Gets the status_data_type of this ActiveBSSIDs. # noqa: E501 + + + :return: The status_data_type of this ActiveBSSIDs. # noqa: E501 + :rtype: str + """ + return self._status_data_type + + @status_data_type.setter + def status_data_type(self, status_data_type): + """Sets the status_data_type of this ActiveBSSIDs. + + + :param status_data_type: The status_data_type of this ActiveBSSIDs. # noqa: E501 + :type: str + """ + allowed_values = ["ACTIVE_BSSIDS"] # noqa: E501 + if status_data_type not in allowed_values: + raise ValueError( + "Invalid value for `status_data_type` ({0}), must be one of {1}" # noqa: E501 + .format(status_data_type, allowed_values) + ) + + self._status_data_type = status_data_type + + @property + def active_bssi_ds(self): + """Gets the active_bssi_ds of this ActiveBSSIDs. # noqa: E501 + + + :return: The active_bssi_ds of this ActiveBSSIDs. # noqa: E501 + :rtype: list[ActiveBSSID] + """ + return self._active_bssi_ds + + @active_bssi_ds.setter + def active_bssi_ds(self, active_bssi_ds): + """Sets the active_bssi_ds of this ActiveBSSIDs. + + + :param active_bssi_ds: The active_bssi_ds of this ActiveBSSIDs. # noqa: E501 + :type: list[ActiveBSSID] + """ + + self._active_bssi_ds = active_bssi_ds + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ActiveBSSIDs, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ActiveBSSIDs): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/active_bssid.py b/libs/cloudapi/cloudsdk/swagger_client/models/active_bssid.py new file mode 100644 index 000000000..b71a00f2b --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/active_bssid.py @@ -0,0 +1,220 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ActiveBSSID(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'bssid': 'str', + 'ssid': 'str', + 'radio_type': 'RadioType', + 'num_devices_connected': 'int' + } + + attribute_map = { + 'model_type': 'model_type', + 'bssid': 'bssid', + 'ssid': 'ssid', + 'radio_type': 'radioType', + 'num_devices_connected': 'numDevicesConnected' + } + + def __init__(self, model_type=None, bssid=None, ssid=None, radio_type=None, num_devices_connected=None): # noqa: E501 + """ActiveBSSID - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._bssid = None + self._ssid = None + self._radio_type = None + self._num_devices_connected = None + self.discriminator = None + if model_type is not None: + self.model_type = model_type + if bssid is not None: + self.bssid = bssid + if ssid is not None: + self.ssid = ssid + if radio_type is not None: + self.radio_type = radio_type + if num_devices_connected is not None: + self.num_devices_connected = num_devices_connected + + @property + def model_type(self): + """Gets the model_type of this ActiveBSSID. # noqa: E501 + + + :return: The model_type of this ActiveBSSID. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this ActiveBSSID. + + + :param model_type: The model_type of this ActiveBSSID. # noqa: E501 + :type: str + """ + allowed_values = ["ActiveBSSID"] # noqa: E501 + if model_type not in allowed_values: + raise ValueError( + "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 + .format(model_type, allowed_values) + ) + + self._model_type = model_type + + @property + def bssid(self): + """Gets the bssid of this ActiveBSSID. # noqa: E501 + + + :return: The bssid of this ActiveBSSID. # noqa: E501 + :rtype: str + """ + return self._bssid + + @bssid.setter + def bssid(self, bssid): + """Sets the bssid of this ActiveBSSID. + + + :param bssid: The bssid of this ActiveBSSID. # noqa: E501 + :type: str + """ + + self._bssid = bssid + + @property + def ssid(self): + """Gets the ssid of this ActiveBSSID. # noqa: E501 + + + :return: The ssid of this ActiveBSSID. # noqa: E501 + :rtype: str + """ + return self._ssid + + @ssid.setter + def ssid(self, ssid): + """Sets the ssid of this ActiveBSSID. + + + :param ssid: The ssid of this ActiveBSSID. # noqa: E501 + :type: str + """ + + self._ssid = ssid + + @property + def radio_type(self): + """Gets the radio_type of this ActiveBSSID. # noqa: E501 + + + :return: The radio_type of this ActiveBSSID. # noqa: E501 + :rtype: RadioType + """ + return self._radio_type + + @radio_type.setter + def radio_type(self, radio_type): + """Sets the radio_type of this ActiveBSSID. + + + :param radio_type: The radio_type of this ActiveBSSID. # noqa: E501 + :type: RadioType + """ + + self._radio_type = radio_type + + @property + def num_devices_connected(self): + """Gets the num_devices_connected of this ActiveBSSID. # noqa: E501 + + + :return: The num_devices_connected of this ActiveBSSID. # noqa: E501 + :rtype: int + """ + return self._num_devices_connected + + @num_devices_connected.setter + def num_devices_connected(self, num_devices_connected): + """Sets the num_devices_connected of this ActiveBSSID. + + + :param num_devices_connected: The num_devices_connected of this ActiveBSSID. # noqa: E501 + :type: int + """ + + self._num_devices_connected = num_devices_connected + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ActiveBSSID, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ActiveBSSID): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/active_scan_settings.py b/libs/cloudapi/cloudsdk/swagger_client/models/active_scan_settings.py new file mode 100644 index 000000000..3e461cb6b --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/active_scan_settings.py @@ -0,0 +1,162 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ActiveScanSettings(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'enabled': 'bool', + 'scan_frequency_seconds': 'int', + 'scan_duration_millis': 'int' + } + + attribute_map = { + 'enabled': 'enabled', + 'scan_frequency_seconds': 'scanFrequencySeconds', + 'scan_duration_millis': 'scanDurationMillis' + } + + def __init__(self, enabled=None, scan_frequency_seconds=None, scan_duration_millis=None): # noqa: E501 + """ActiveScanSettings - a model defined in Swagger""" # noqa: E501 + self._enabled = None + self._scan_frequency_seconds = None + self._scan_duration_millis = None + self.discriminator = None + if enabled is not None: + self.enabled = enabled + if scan_frequency_seconds is not None: + self.scan_frequency_seconds = scan_frequency_seconds + if scan_duration_millis is not None: + self.scan_duration_millis = scan_duration_millis + + @property + def enabled(self): + """Gets the enabled of this ActiveScanSettings. # noqa: E501 + + + :return: The enabled of this ActiveScanSettings. # noqa: E501 + :rtype: bool + """ + return self._enabled + + @enabled.setter + def enabled(self, enabled): + """Sets the enabled of this ActiveScanSettings. + + + :param enabled: The enabled of this ActiveScanSettings. # noqa: E501 + :type: bool + """ + + self._enabled = enabled + + @property + def scan_frequency_seconds(self): + """Gets the scan_frequency_seconds of this ActiveScanSettings. # noqa: E501 + + + :return: The scan_frequency_seconds of this ActiveScanSettings. # noqa: E501 + :rtype: int + """ + return self._scan_frequency_seconds + + @scan_frequency_seconds.setter + def scan_frequency_seconds(self, scan_frequency_seconds): + """Sets the scan_frequency_seconds of this ActiveScanSettings. + + + :param scan_frequency_seconds: The scan_frequency_seconds of this ActiveScanSettings. # noqa: E501 + :type: int + """ + + self._scan_frequency_seconds = scan_frequency_seconds + + @property + def scan_duration_millis(self): + """Gets the scan_duration_millis of this ActiveScanSettings. # noqa: E501 + + + :return: The scan_duration_millis of this ActiveScanSettings. # noqa: E501 + :rtype: int + """ + return self._scan_duration_millis + + @scan_duration_millis.setter + def scan_duration_millis(self, scan_duration_millis): + """Sets the scan_duration_millis of this ActiveScanSettings. + + + :param scan_duration_millis: The scan_duration_millis of this ActiveScanSettings. # noqa: E501 + :type: int + """ + + self._scan_duration_millis = scan_duration_millis + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ActiveScanSettings, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ActiveScanSettings): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/advanced_radio_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/advanced_radio_map.py new file mode 100644 index 000000000..19347d1cc --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/advanced_radio_map.py @@ -0,0 +1,188 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class AdvancedRadioMap(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'is5_g_hz': 'RadioConfiguration', + 'is5_g_hz_u': 'RadioConfiguration', + 'is5_g_hz_l': 'RadioConfiguration', + 'is2dot4_g_hz': 'RadioConfiguration' + } + + attribute_map = { + 'is5_g_hz': 'is5GHz', + 'is5_g_hz_u': 'is5GHzU', + 'is5_g_hz_l': 'is5GHzL', + 'is2dot4_g_hz': 'is2dot4GHz' + } + + def __init__(self, is5_g_hz=None, is5_g_hz_u=None, is5_g_hz_l=None, is2dot4_g_hz=None): # noqa: E501 + """AdvancedRadioMap - a model defined in Swagger""" # noqa: E501 + self._is5_g_hz = None + self._is5_g_hz_u = None + self._is5_g_hz_l = None + self._is2dot4_g_hz = None + self.discriminator = None + if is5_g_hz is not None: + self.is5_g_hz = is5_g_hz + if is5_g_hz_u is not None: + self.is5_g_hz_u = is5_g_hz_u + if is5_g_hz_l is not None: + self.is5_g_hz_l = is5_g_hz_l + if is2dot4_g_hz is not None: + self.is2dot4_g_hz = is2dot4_g_hz + + @property + def is5_g_hz(self): + """Gets the is5_g_hz of this AdvancedRadioMap. # noqa: E501 + + + :return: The is5_g_hz of this AdvancedRadioMap. # noqa: E501 + :rtype: RadioConfiguration + """ + return self._is5_g_hz + + @is5_g_hz.setter + def is5_g_hz(self, is5_g_hz): + """Sets the is5_g_hz of this AdvancedRadioMap. + + + :param is5_g_hz: The is5_g_hz of this AdvancedRadioMap. # noqa: E501 + :type: RadioConfiguration + """ + + self._is5_g_hz = is5_g_hz + + @property + def is5_g_hz_u(self): + """Gets the is5_g_hz_u of this AdvancedRadioMap. # noqa: E501 + + + :return: The is5_g_hz_u of this AdvancedRadioMap. # noqa: E501 + :rtype: RadioConfiguration + """ + return self._is5_g_hz_u + + @is5_g_hz_u.setter + def is5_g_hz_u(self, is5_g_hz_u): + """Sets the is5_g_hz_u of this AdvancedRadioMap. + + + :param is5_g_hz_u: The is5_g_hz_u of this AdvancedRadioMap. # noqa: E501 + :type: RadioConfiguration + """ + + self._is5_g_hz_u = is5_g_hz_u + + @property + def is5_g_hz_l(self): + """Gets the is5_g_hz_l of this AdvancedRadioMap. # noqa: E501 + + + :return: The is5_g_hz_l of this AdvancedRadioMap. # noqa: E501 + :rtype: RadioConfiguration + """ + return self._is5_g_hz_l + + @is5_g_hz_l.setter + def is5_g_hz_l(self, is5_g_hz_l): + """Sets the is5_g_hz_l of this AdvancedRadioMap. + + + :param is5_g_hz_l: The is5_g_hz_l of this AdvancedRadioMap. # noqa: E501 + :type: RadioConfiguration + """ + + self._is5_g_hz_l = is5_g_hz_l + + @property + def is2dot4_g_hz(self): + """Gets the is2dot4_g_hz of this AdvancedRadioMap. # noqa: E501 + + + :return: The is2dot4_g_hz of this AdvancedRadioMap. # noqa: E501 + :rtype: RadioConfiguration + """ + return self._is2dot4_g_hz + + @is2dot4_g_hz.setter + def is2dot4_g_hz(self, is2dot4_g_hz): + """Sets the is2dot4_g_hz of this AdvancedRadioMap. + + + :param is2dot4_g_hz: The is2dot4_g_hz of this AdvancedRadioMap. # noqa: E501 + :type: RadioConfiguration + """ + + self._is2dot4_g_hz = is2dot4_g_hz + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(AdvancedRadioMap, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, AdvancedRadioMap): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/alarm.py b/libs/cloudapi/cloudsdk/swagger_client/models/alarm.py new file mode 100644 index 000000000..658def878 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/alarm.py @@ -0,0 +1,372 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class Alarm(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'customer_id': 'int', + 'equipment_id': 'int', + 'alarm_code': 'AlarmCode', + 'created_timestamp': 'int', + 'originator_type': 'OriginatorType', + 'severity': 'StatusCode', + 'scope_type': 'AlarmScopeType', + 'scope_id': 'str', + 'details': 'AlarmDetails', + 'acknowledged': 'bool', + 'last_modified_timestamp': 'int' + } + + attribute_map = { + 'customer_id': 'customerId', + 'equipment_id': 'equipmentId', + 'alarm_code': 'alarmCode', + 'created_timestamp': 'createdTimestamp', + 'originator_type': 'originatorType', + 'severity': 'severity', + 'scope_type': 'scopeType', + 'scope_id': 'scopeId', + 'details': 'details', + 'acknowledged': 'acknowledged', + 'last_modified_timestamp': 'lastModifiedTimestamp' + } + + def __init__(self, customer_id=None, equipment_id=None, alarm_code=None, created_timestamp=None, originator_type=None, severity=None, scope_type=None, scope_id=None, details=None, acknowledged=None, last_modified_timestamp=None): # noqa: E501 + """Alarm - a model defined in Swagger""" # noqa: E501 + self._customer_id = None + self._equipment_id = None + self._alarm_code = None + self._created_timestamp = None + self._originator_type = None + self._severity = None + self._scope_type = None + self._scope_id = None + self._details = None + self._acknowledged = None + self._last_modified_timestamp = None + self.discriminator = None + if customer_id is not None: + self.customer_id = customer_id + if equipment_id is not None: + self.equipment_id = equipment_id + if alarm_code is not None: + self.alarm_code = alarm_code + if created_timestamp is not None: + self.created_timestamp = created_timestamp + if originator_type is not None: + self.originator_type = originator_type + if severity is not None: + self.severity = severity + if scope_type is not None: + self.scope_type = scope_type + if scope_id is not None: + self.scope_id = scope_id + if details is not None: + self.details = details + if acknowledged is not None: + self.acknowledged = acknowledged + if last_modified_timestamp is not None: + self.last_modified_timestamp = last_modified_timestamp + + @property + def customer_id(self): + """Gets the customer_id of this Alarm. # noqa: E501 + + + :return: The customer_id of this Alarm. # noqa: E501 + :rtype: int + """ + return self._customer_id + + @customer_id.setter + def customer_id(self, customer_id): + """Sets the customer_id of this Alarm. + + + :param customer_id: The customer_id of this Alarm. # noqa: E501 + :type: int + """ + + self._customer_id = customer_id + + @property + def equipment_id(self): + """Gets the equipment_id of this Alarm. # noqa: E501 + + + :return: The equipment_id of this Alarm. # noqa: E501 + :rtype: int + """ + return self._equipment_id + + @equipment_id.setter + def equipment_id(self, equipment_id): + """Sets the equipment_id of this Alarm. + + + :param equipment_id: The equipment_id of this Alarm. # noqa: E501 + :type: int + """ + + self._equipment_id = equipment_id + + @property + def alarm_code(self): + """Gets the alarm_code of this Alarm. # noqa: E501 + + + :return: The alarm_code of this Alarm. # noqa: E501 + :rtype: AlarmCode + """ + return self._alarm_code + + @alarm_code.setter + def alarm_code(self, alarm_code): + """Sets the alarm_code of this Alarm. + + + :param alarm_code: The alarm_code of this Alarm. # noqa: E501 + :type: AlarmCode + """ + + self._alarm_code = alarm_code + + @property + def created_timestamp(self): + """Gets the created_timestamp of this Alarm. # noqa: E501 + + + :return: The created_timestamp of this Alarm. # noqa: E501 + :rtype: int + """ + return self._created_timestamp + + @created_timestamp.setter + def created_timestamp(self, created_timestamp): + """Sets the created_timestamp of this Alarm. + + + :param created_timestamp: The created_timestamp of this Alarm. # noqa: E501 + :type: int + """ + + self._created_timestamp = created_timestamp + + @property + def originator_type(self): + """Gets the originator_type of this Alarm. # noqa: E501 + + + :return: The originator_type of this Alarm. # noqa: E501 + :rtype: OriginatorType + """ + return self._originator_type + + @originator_type.setter + def originator_type(self, originator_type): + """Sets the originator_type of this Alarm. + + + :param originator_type: The originator_type of this Alarm. # noqa: E501 + :type: OriginatorType + """ + + self._originator_type = originator_type + + @property + def severity(self): + """Gets the severity of this Alarm. # noqa: E501 + + + :return: The severity of this Alarm. # noqa: E501 + :rtype: StatusCode + """ + return self._severity + + @severity.setter + def severity(self, severity): + """Sets the severity of this Alarm. + + + :param severity: The severity of this Alarm. # noqa: E501 + :type: StatusCode + """ + + self._severity = severity + + @property + def scope_type(self): + """Gets the scope_type of this Alarm. # noqa: E501 + + + :return: The scope_type of this Alarm. # noqa: E501 + :rtype: AlarmScopeType + """ + return self._scope_type + + @scope_type.setter + def scope_type(self, scope_type): + """Sets the scope_type of this Alarm. + + + :param scope_type: The scope_type of this Alarm. # noqa: E501 + :type: AlarmScopeType + """ + + self._scope_type = scope_type + + @property + def scope_id(self): + """Gets the scope_id of this Alarm. # noqa: E501 + + + :return: The scope_id of this Alarm. # noqa: E501 + :rtype: str + """ + return self._scope_id + + @scope_id.setter + def scope_id(self, scope_id): + """Sets the scope_id of this Alarm. + + + :param scope_id: The scope_id of this Alarm. # noqa: E501 + :type: str + """ + + self._scope_id = scope_id + + @property + def details(self): + """Gets the details of this Alarm. # noqa: E501 + + + :return: The details of this Alarm. # noqa: E501 + :rtype: AlarmDetails + """ + return self._details + + @details.setter + def details(self, details): + """Sets the details of this Alarm. + + + :param details: The details of this Alarm. # noqa: E501 + :type: AlarmDetails + """ + + self._details = details + + @property + def acknowledged(self): + """Gets the acknowledged of this Alarm. # noqa: E501 + + + :return: The acknowledged of this Alarm. # noqa: E501 + :rtype: bool + """ + return self._acknowledged + + @acknowledged.setter + def acknowledged(self, acknowledged): + """Sets the acknowledged of this Alarm. + + + :param acknowledged: The acknowledged of this Alarm. # noqa: E501 + :type: bool + """ + + self._acknowledged = acknowledged + + @property + def last_modified_timestamp(self): + """Gets the last_modified_timestamp of this Alarm. # noqa: E501 + + must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database # noqa: E501 + + :return: The last_modified_timestamp of this Alarm. # noqa: E501 + :rtype: int + """ + return self._last_modified_timestamp + + @last_modified_timestamp.setter + def last_modified_timestamp(self, last_modified_timestamp): + """Sets the last_modified_timestamp of this Alarm. + + must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database # noqa: E501 + + :param last_modified_timestamp: The last_modified_timestamp of this Alarm. # noqa: E501 + :type: int + """ + + self._last_modified_timestamp = last_modified_timestamp + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(Alarm, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, Alarm): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/alarm_added_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/alarm_added_event.py new file mode 100644 index 000000000..d2a043a3b --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/alarm_added_event.py @@ -0,0 +1,215 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class AlarmAddedEvent(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'event_timestamp': 'int', + 'customer_id': 'int', + 'equipment_id': 'int', + 'payload': 'Alarm' + } + + attribute_map = { + 'model_type': 'model_type', + 'event_timestamp': 'eventTimestamp', + 'customer_id': 'customerId', + 'equipment_id': 'equipmentId', + 'payload': 'payload' + } + + def __init__(self, model_type=None, event_timestamp=None, customer_id=None, equipment_id=None, payload=None): # noqa: E501 + """AlarmAddedEvent - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._event_timestamp = None + self._customer_id = None + self._equipment_id = None + self._payload = None + self.discriminator = None + self.model_type = model_type + if event_timestamp is not None: + self.event_timestamp = event_timestamp + if customer_id is not None: + self.customer_id = customer_id + if equipment_id is not None: + self.equipment_id = equipment_id + if payload is not None: + self.payload = payload + + @property + def model_type(self): + """Gets the model_type of this AlarmAddedEvent. # noqa: E501 + + + :return: The model_type of this AlarmAddedEvent. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this AlarmAddedEvent. + + + :param model_type: The model_type of this AlarmAddedEvent. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + + self._model_type = model_type + + @property + def event_timestamp(self): + """Gets the event_timestamp of this AlarmAddedEvent. # noqa: E501 + + + :return: The event_timestamp of this AlarmAddedEvent. # noqa: E501 + :rtype: int + """ + return self._event_timestamp + + @event_timestamp.setter + def event_timestamp(self, event_timestamp): + """Sets the event_timestamp of this AlarmAddedEvent. + + + :param event_timestamp: The event_timestamp of this AlarmAddedEvent. # noqa: E501 + :type: int + """ + + self._event_timestamp = event_timestamp + + @property + def customer_id(self): + """Gets the customer_id of this AlarmAddedEvent. # noqa: E501 + + + :return: The customer_id of this AlarmAddedEvent. # noqa: E501 + :rtype: int + """ + return self._customer_id + + @customer_id.setter + def customer_id(self, customer_id): + """Sets the customer_id of this AlarmAddedEvent. + + + :param customer_id: The customer_id of this AlarmAddedEvent. # noqa: E501 + :type: int + """ + + self._customer_id = customer_id + + @property + def equipment_id(self): + """Gets the equipment_id of this AlarmAddedEvent. # noqa: E501 + + + :return: The equipment_id of this AlarmAddedEvent. # noqa: E501 + :rtype: int + """ + return self._equipment_id + + @equipment_id.setter + def equipment_id(self, equipment_id): + """Sets the equipment_id of this AlarmAddedEvent. + + + :param equipment_id: The equipment_id of this AlarmAddedEvent. # noqa: E501 + :type: int + """ + + self._equipment_id = equipment_id + + @property + def payload(self): + """Gets the payload of this AlarmAddedEvent. # noqa: E501 + + + :return: The payload of this AlarmAddedEvent. # noqa: E501 + :rtype: Alarm + """ + return self._payload + + @payload.setter + def payload(self, payload): + """Sets the payload of this AlarmAddedEvent. + + + :param payload: The payload of this AlarmAddedEvent. # noqa: E501 + :type: Alarm + """ + + self._payload = payload + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(AlarmAddedEvent, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, AlarmAddedEvent): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/alarm_changed_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/alarm_changed_event.py new file mode 100644 index 000000000..ca8f8cc38 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/alarm_changed_event.py @@ -0,0 +1,215 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class AlarmChangedEvent(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'event_timestamp': 'int', + 'customer_id': 'int', + 'equipment_id': 'int', + 'payload': 'Alarm' + } + + attribute_map = { + 'model_type': 'model_type', + 'event_timestamp': 'eventTimestamp', + 'customer_id': 'customerId', + 'equipment_id': 'equipmentId', + 'payload': 'payload' + } + + def __init__(self, model_type=None, event_timestamp=None, customer_id=None, equipment_id=None, payload=None): # noqa: E501 + """AlarmChangedEvent - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._event_timestamp = None + self._customer_id = None + self._equipment_id = None + self._payload = None + self.discriminator = None + self.model_type = model_type + if event_timestamp is not None: + self.event_timestamp = event_timestamp + if customer_id is not None: + self.customer_id = customer_id + if equipment_id is not None: + self.equipment_id = equipment_id + if payload is not None: + self.payload = payload + + @property + def model_type(self): + """Gets the model_type of this AlarmChangedEvent. # noqa: E501 + + + :return: The model_type of this AlarmChangedEvent. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this AlarmChangedEvent. + + + :param model_type: The model_type of this AlarmChangedEvent. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + + self._model_type = model_type + + @property + def event_timestamp(self): + """Gets the event_timestamp of this AlarmChangedEvent. # noqa: E501 + + + :return: The event_timestamp of this AlarmChangedEvent. # noqa: E501 + :rtype: int + """ + return self._event_timestamp + + @event_timestamp.setter + def event_timestamp(self, event_timestamp): + """Sets the event_timestamp of this AlarmChangedEvent. + + + :param event_timestamp: The event_timestamp of this AlarmChangedEvent. # noqa: E501 + :type: int + """ + + self._event_timestamp = event_timestamp + + @property + def customer_id(self): + """Gets the customer_id of this AlarmChangedEvent. # noqa: E501 + + + :return: The customer_id of this AlarmChangedEvent. # noqa: E501 + :rtype: int + """ + return self._customer_id + + @customer_id.setter + def customer_id(self, customer_id): + """Sets the customer_id of this AlarmChangedEvent. + + + :param customer_id: The customer_id of this AlarmChangedEvent. # noqa: E501 + :type: int + """ + + self._customer_id = customer_id + + @property + def equipment_id(self): + """Gets the equipment_id of this AlarmChangedEvent. # noqa: E501 + + + :return: The equipment_id of this AlarmChangedEvent. # noqa: E501 + :rtype: int + """ + return self._equipment_id + + @equipment_id.setter + def equipment_id(self, equipment_id): + """Sets the equipment_id of this AlarmChangedEvent. + + + :param equipment_id: The equipment_id of this AlarmChangedEvent. # noqa: E501 + :type: int + """ + + self._equipment_id = equipment_id + + @property + def payload(self): + """Gets the payload of this AlarmChangedEvent. # noqa: E501 + + + :return: The payload of this AlarmChangedEvent. # noqa: E501 + :rtype: Alarm + """ + return self._payload + + @payload.setter + def payload(self, payload): + """Sets the payload of this AlarmChangedEvent. + + + :param payload: The payload of this AlarmChangedEvent. # noqa: E501 + :type: Alarm + """ + + self._payload = payload + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(AlarmChangedEvent, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, AlarmChangedEvent): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/alarm_code.py b/libs/cloudapi/cloudsdk/swagger_client/models/alarm_code.py new file mode 100644 index 000000000..4a384d700 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/alarm_code.py @@ -0,0 +1,138 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class AlarmCode(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + LIMITEDCLOUDCONNECTIVITY = "LimitedCloudConnectivity" + ACCESSPOINTISUNREACHABLE = "AccessPointIsUnreachable" + NOMETRICSRECEIVED = "NoMetricsReceived" + NOISEFLOOR2G = "NoiseFloor2G" + CHANNELUTILIZATION2G = "ChannelUtilization2G" + NOISEFLOOR5G = "NoiseFloor5G" + CHANNELUTILIZATION5G = "ChannelUtilization5G" + DNS = "DNS" + DNSLATENCY = "DNSLatency" + DHCP = "DHCP" + DHCPLATENCY = "DHCPLatency" + RADIUS = "Radius" + RADIUSLATENCY = "RadiusLatency" + CLOUDLINK = "CloudLink" + CLOUDLINKLATENCY = "CloudLinkLatency" + CPUUTILIZATION = "CPUUtilization" + MEMORYUTILIZATION = "MemoryUtilization" + DISCONNECTED = "Disconnected" + CPUTEMPERATURE = "CPUTemperature" + LOWMEMORYREBOOT = "LowMemoryReboot" + COUNTRYCODEMISMATCH = "CountryCodeMisMatch" + HARDWAREISSUEDIAGNOSTIC = "HardwareIssueDiagnostic" + TOOMANYCLIENTS2G = "TooManyClients2g" + TOOMANYCLIENTS5G = "TooManyClients5g" + REBOOTREQUESTFAILED = "RebootRequestFailed" + RADIUSCONFIGURATIONFAILED = "RadiusConfigurationFailed" + FIRMWAREUPGRADESTUCK = "FirmwareUpgradeStuck" + MULTIPLEAPCSONSAMESUBNET = "MultipleAPCsOnSameSubnet" + RADIOHUNG2G = "RadioHung2G" + RADIOHUNG5G = "RadioHung5G" + CONFIGURATIONOUTOFSYNC = "ConfigurationOutOfSync" + FAILEDCPAUTHENTICATIONS = "FailedCPAuthentications" + DISABLEDSSID = "DisabledSSID" + DEAUTHATTACKDETECTED = "DeauthAttackDetected" + TOOMANYBLOCKEDDEVICES = "TooManyBlockedDevices" + TOOMANYROGUEAPS = "TooManyRogueAPs" + NEIGHBOURSCANSTUCKON2G = "NeighbourScanStuckOn2g" + NEIGHBOURSCANSTUCKON5G = "NeighbourScanStuckOn5g" + INTROUBLESHOOTMODE = "InTroubleshootMode" + CHANNELSOUTOFSYNC2G = "ChannelsOutOfSync2g" + CHANNELSOUTOFSYNC5GV = "ChannelsOutOfSync5gv" + INCONSISTENTBASEMACS = "InconsistentBasemacs" + GENERICERROR = "GenericError" + RADIOHUNG = "RadioHung" + ASSOCFAILURE = "AssocFailure" + CLIENTAUTHFAILURE = "ClientAuthFailure" + QOEISSUES2G = "QoEIssues2g" + QOEISSUES5G = "QoEIssues5g" + DNSSERVERUNREACHABLE = "DNSServerUnreachable" + DNSSERVERLATENCY = "DNSServerLatency" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """AlarmCode - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(AlarmCode, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, AlarmCode): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/alarm_counts.py b/libs/cloudapi/cloudsdk/swagger_client/models/alarm_counts.py new file mode 100644 index 000000000..8afcee534 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/alarm_counts.py @@ -0,0 +1,162 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class AlarmCounts(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'customer_id': 'int', + 'counts_per_equipment_id_map': 'CountsPerEquipmentIdPerAlarmCodeMap', + 'total_counts_per_alarm_code_map': 'CountsPerAlarmCodeMap' + } + + attribute_map = { + 'customer_id': 'customerId', + 'counts_per_equipment_id_map': 'countsPerEquipmentIdMap', + 'total_counts_per_alarm_code_map': 'totalCountsPerAlarmCodeMap' + } + + def __init__(self, customer_id=None, counts_per_equipment_id_map=None, total_counts_per_alarm_code_map=None): # noqa: E501 + """AlarmCounts - a model defined in Swagger""" # noqa: E501 + self._customer_id = None + self._counts_per_equipment_id_map = None + self._total_counts_per_alarm_code_map = None + self.discriminator = None + if customer_id is not None: + self.customer_id = customer_id + if counts_per_equipment_id_map is not None: + self.counts_per_equipment_id_map = counts_per_equipment_id_map + if total_counts_per_alarm_code_map is not None: + self.total_counts_per_alarm_code_map = total_counts_per_alarm_code_map + + @property + def customer_id(self): + """Gets the customer_id of this AlarmCounts. # noqa: E501 + + + :return: The customer_id of this AlarmCounts. # noqa: E501 + :rtype: int + """ + return self._customer_id + + @customer_id.setter + def customer_id(self, customer_id): + """Sets the customer_id of this AlarmCounts. + + + :param customer_id: The customer_id of this AlarmCounts. # noqa: E501 + :type: int + """ + + self._customer_id = customer_id + + @property + def counts_per_equipment_id_map(self): + """Gets the counts_per_equipment_id_map of this AlarmCounts. # noqa: E501 + + + :return: The counts_per_equipment_id_map of this AlarmCounts. # noqa: E501 + :rtype: CountsPerEquipmentIdPerAlarmCodeMap + """ + return self._counts_per_equipment_id_map + + @counts_per_equipment_id_map.setter + def counts_per_equipment_id_map(self, counts_per_equipment_id_map): + """Sets the counts_per_equipment_id_map of this AlarmCounts. + + + :param counts_per_equipment_id_map: The counts_per_equipment_id_map of this AlarmCounts. # noqa: E501 + :type: CountsPerEquipmentIdPerAlarmCodeMap + """ + + self._counts_per_equipment_id_map = counts_per_equipment_id_map + + @property + def total_counts_per_alarm_code_map(self): + """Gets the total_counts_per_alarm_code_map of this AlarmCounts. # noqa: E501 + + + :return: The total_counts_per_alarm_code_map of this AlarmCounts. # noqa: E501 + :rtype: CountsPerAlarmCodeMap + """ + return self._total_counts_per_alarm_code_map + + @total_counts_per_alarm_code_map.setter + def total_counts_per_alarm_code_map(self, total_counts_per_alarm_code_map): + """Sets the total_counts_per_alarm_code_map of this AlarmCounts. + + + :param total_counts_per_alarm_code_map: The total_counts_per_alarm_code_map of this AlarmCounts. # noqa: E501 + :type: CountsPerAlarmCodeMap + """ + + self._total_counts_per_alarm_code_map = total_counts_per_alarm_code_map + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(AlarmCounts, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, AlarmCounts): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/alarm_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/alarm_details.py new file mode 100644 index 000000000..638964d0c --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/alarm_details.py @@ -0,0 +1,188 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class AlarmDetails(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'message': 'str', + 'affected_equipment_ids': 'list[int]', + 'generated_by': 'str', + 'context_attrs': 'AlarmDetailsAttributesMap' + } + + attribute_map = { + 'message': 'message', + 'affected_equipment_ids': 'affectedEquipmentIds', + 'generated_by': 'generatedBy', + 'context_attrs': 'contextAttrs' + } + + def __init__(self, message=None, affected_equipment_ids=None, generated_by=None, context_attrs=None): # noqa: E501 + """AlarmDetails - a model defined in Swagger""" # noqa: E501 + self._message = None + self._affected_equipment_ids = None + self._generated_by = None + self._context_attrs = None + self.discriminator = None + if message is not None: + self.message = message + if affected_equipment_ids is not None: + self.affected_equipment_ids = affected_equipment_ids + if generated_by is not None: + self.generated_by = generated_by + if context_attrs is not None: + self.context_attrs = context_attrs + + @property + def message(self): + """Gets the message of this AlarmDetails. # noqa: E501 + + + :return: The message of this AlarmDetails. # noqa: E501 + :rtype: str + """ + return self._message + + @message.setter + def message(self, message): + """Sets the message of this AlarmDetails. + + + :param message: The message of this AlarmDetails. # noqa: E501 + :type: str + """ + + self._message = message + + @property + def affected_equipment_ids(self): + """Gets the affected_equipment_ids of this AlarmDetails. # noqa: E501 + + + :return: The affected_equipment_ids of this AlarmDetails. # noqa: E501 + :rtype: list[int] + """ + return self._affected_equipment_ids + + @affected_equipment_ids.setter + def affected_equipment_ids(self, affected_equipment_ids): + """Sets the affected_equipment_ids of this AlarmDetails. + + + :param affected_equipment_ids: The affected_equipment_ids of this AlarmDetails. # noqa: E501 + :type: list[int] + """ + + self._affected_equipment_ids = affected_equipment_ids + + @property + def generated_by(self): + """Gets the generated_by of this AlarmDetails. # noqa: E501 + + + :return: The generated_by of this AlarmDetails. # noqa: E501 + :rtype: str + """ + return self._generated_by + + @generated_by.setter + def generated_by(self, generated_by): + """Sets the generated_by of this AlarmDetails. + + + :param generated_by: The generated_by of this AlarmDetails. # noqa: E501 + :type: str + """ + + self._generated_by = generated_by + + @property + def context_attrs(self): + """Gets the context_attrs of this AlarmDetails. # noqa: E501 + + + :return: The context_attrs of this AlarmDetails. # noqa: E501 + :rtype: AlarmDetailsAttributesMap + """ + return self._context_attrs + + @context_attrs.setter + def context_attrs(self, context_attrs): + """Sets the context_attrs of this AlarmDetails. + + + :param context_attrs: The context_attrs of this AlarmDetails. # noqa: E501 + :type: AlarmDetailsAttributesMap + """ + + self._context_attrs = context_attrs + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(AlarmDetails, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, AlarmDetails): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/alarm_details_attributes_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/alarm_details_attributes_map.py new file mode 100644 index 000000000..fcda19ebc --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/alarm_details_attributes_map.py @@ -0,0 +1,89 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class AlarmDetailsAttributesMap(dict): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + if hasattr(dict, "swagger_types"): + swagger_types.update(dict.swagger_types) + + attribute_map = { + } + if hasattr(dict, "attribute_map"): + attribute_map.update(dict.attribute_map) + + def __init__(self, *args, **kwargs): # noqa: E501 + """AlarmDetailsAttributesMap - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + dict.__init__(self, *args, **kwargs) + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(AlarmDetailsAttributesMap, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, AlarmDetailsAttributesMap): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/alarm_removed_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/alarm_removed_event.py new file mode 100644 index 000000000..f66f38cb6 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/alarm_removed_event.py @@ -0,0 +1,215 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class AlarmRemovedEvent(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'event_timestamp': 'int', + 'customer_id': 'int', + 'equipment_id': 'int', + 'payload': 'Alarm' + } + + attribute_map = { + 'model_type': 'model_type', + 'event_timestamp': 'eventTimestamp', + 'customer_id': 'customerId', + 'equipment_id': 'equipmentId', + 'payload': 'payload' + } + + def __init__(self, model_type=None, event_timestamp=None, customer_id=None, equipment_id=None, payload=None): # noqa: E501 + """AlarmRemovedEvent - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._event_timestamp = None + self._customer_id = None + self._equipment_id = None + self._payload = None + self.discriminator = None + self.model_type = model_type + if event_timestamp is not None: + self.event_timestamp = event_timestamp + if customer_id is not None: + self.customer_id = customer_id + if equipment_id is not None: + self.equipment_id = equipment_id + if payload is not None: + self.payload = payload + + @property + def model_type(self): + """Gets the model_type of this AlarmRemovedEvent. # noqa: E501 + + + :return: The model_type of this AlarmRemovedEvent. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this AlarmRemovedEvent. + + + :param model_type: The model_type of this AlarmRemovedEvent. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + + self._model_type = model_type + + @property + def event_timestamp(self): + """Gets the event_timestamp of this AlarmRemovedEvent. # noqa: E501 + + + :return: The event_timestamp of this AlarmRemovedEvent. # noqa: E501 + :rtype: int + """ + return self._event_timestamp + + @event_timestamp.setter + def event_timestamp(self, event_timestamp): + """Sets the event_timestamp of this AlarmRemovedEvent. + + + :param event_timestamp: The event_timestamp of this AlarmRemovedEvent. # noqa: E501 + :type: int + """ + + self._event_timestamp = event_timestamp + + @property + def customer_id(self): + """Gets the customer_id of this AlarmRemovedEvent. # noqa: E501 + + + :return: The customer_id of this AlarmRemovedEvent. # noqa: E501 + :rtype: int + """ + return self._customer_id + + @customer_id.setter + def customer_id(self, customer_id): + """Sets the customer_id of this AlarmRemovedEvent. + + + :param customer_id: The customer_id of this AlarmRemovedEvent. # noqa: E501 + :type: int + """ + + self._customer_id = customer_id + + @property + def equipment_id(self): + """Gets the equipment_id of this AlarmRemovedEvent. # noqa: E501 + + + :return: The equipment_id of this AlarmRemovedEvent. # noqa: E501 + :rtype: int + """ + return self._equipment_id + + @equipment_id.setter + def equipment_id(self, equipment_id): + """Sets the equipment_id of this AlarmRemovedEvent. + + + :param equipment_id: The equipment_id of this AlarmRemovedEvent. # noqa: E501 + :type: int + """ + + self._equipment_id = equipment_id + + @property + def payload(self): + """Gets the payload of this AlarmRemovedEvent. # noqa: E501 + + + :return: The payload of this AlarmRemovedEvent. # noqa: E501 + :rtype: Alarm + """ + return self._payload + + @payload.setter + def payload(self, payload): + """Sets the payload of this AlarmRemovedEvent. + + + :param payload: The payload of this AlarmRemovedEvent. # noqa: E501 + :type: Alarm + """ + + self._payload = payload + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(AlarmRemovedEvent, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, AlarmRemovedEvent): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/alarm_scope_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/alarm_scope_type.py new file mode 100644 index 000000000..1dd773d55 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/alarm_scope_type.py @@ -0,0 +1,93 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class AlarmScopeType(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + CLIENT = "CLIENT" + EQUIPMENT = "EQUIPMENT" + VLAN = "VLAN" + CUSTOMER = "CUSTOMER" + LOCATION = "LOCATION" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """AlarmScopeType - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(AlarmScopeType, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, AlarmScopeType): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/antenna_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/antenna_type.py new file mode 100644 index 000000000..ab1e471f6 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/antenna_type.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class AntennaType(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + OMNI = "OMNI" + OAP30_DIRECTIONAL = "OAP30_DIRECTIONAL" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """AntennaType - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(AntennaType, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, AntennaType): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/ap_element_configuration.py b/libs/cloudapi/cloudsdk/swagger_client/models/ap_element_configuration.py new file mode 100644 index 000000000..ace45e388 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/ap_element_configuration.py @@ -0,0 +1,721 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ApElementConfiguration(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'element_config_version': 'str', + 'equipment_type': 'EquipmentType', + 'device_mode': 'DeviceMode', + 'getting_ip': 'str', + 'static_ip': 'str', + 'static_ip_mask_cidr': 'int', + 'static_ip_gw': 'str', + 'getting_dns': 'str', + 'static_dns_ip1': 'str', + 'static_dns_ip2': 'str', + 'peer_info_list': 'list[PeerInfo]', + 'device_name': 'str', + 'location_data': 'str', + 'locally_configured_mgmt_vlan': 'int', + 'locally_configured': 'bool', + 'deployment_type': 'DeploymentType', + 'synthetic_client_enabled': 'bool', + 'frame_report_throttle_enabled': 'bool', + 'antenna_type': 'AntennaType', + 'cost_saving_events_enabled': 'bool', + 'forward_mode': 'NetworkForwardMode', + 'radio_map': 'RadioMap', + 'advanced_radio_map': 'AdvancedRadioMap' + } + + attribute_map = { + 'model_type': 'model_type', + 'element_config_version': 'elementConfigVersion', + 'equipment_type': 'equipmentType', + 'device_mode': 'deviceMode', + 'getting_ip': 'gettingIP', + 'static_ip': 'staticIP', + 'static_ip_mask_cidr': 'staticIpMaskCidr', + 'static_ip_gw': 'staticIpGw', + 'getting_dns': 'gettingDNS', + 'static_dns_ip1': 'staticDnsIp1', + 'static_dns_ip2': 'staticDnsIp2', + 'peer_info_list': 'peerInfoList', + 'device_name': 'deviceName', + 'location_data': 'locationData', + 'locally_configured_mgmt_vlan': 'locallyConfiguredMgmtVlan', + 'locally_configured': 'locallyConfigured', + 'deployment_type': 'deploymentType', + 'synthetic_client_enabled': 'syntheticClientEnabled', + 'frame_report_throttle_enabled': 'frameReportThrottleEnabled', + 'antenna_type': 'antennaType', + 'cost_saving_events_enabled': 'costSavingEventsEnabled', + 'forward_mode': 'forwardMode', + 'radio_map': 'radioMap', + 'advanced_radio_map': 'advancedRadioMap' + } + + def __init__(self, model_type=None, element_config_version=None, equipment_type=None, device_mode=None, getting_ip=None, static_ip=None, static_ip_mask_cidr=None, static_ip_gw=None, getting_dns=None, static_dns_ip1=None, static_dns_ip2=None, peer_info_list=None, device_name=None, location_data=None, locally_configured_mgmt_vlan=None, locally_configured=None, deployment_type=None, synthetic_client_enabled=None, frame_report_throttle_enabled=None, antenna_type=None, cost_saving_events_enabled=None, forward_mode=None, radio_map=None, advanced_radio_map=None): # noqa: E501 + """ApElementConfiguration - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._element_config_version = None + self._equipment_type = None + self._device_mode = None + self._getting_ip = None + self._static_ip = None + self._static_ip_mask_cidr = None + self._static_ip_gw = None + self._getting_dns = None + self._static_dns_ip1 = None + self._static_dns_ip2 = None + self._peer_info_list = None + self._device_name = None + self._location_data = None + self._locally_configured_mgmt_vlan = None + self._locally_configured = None + self._deployment_type = None + self._synthetic_client_enabled = None + self._frame_report_throttle_enabled = None + self._antenna_type = None + self._cost_saving_events_enabled = None + self._forward_mode = None + self._radio_map = None + self._advanced_radio_map = None + self.discriminator = None + self.model_type = model_type + if element_config_version is not None: + self.element_config_version = element_config_version + if equipment_type is not None: + self.equipment_type = equipment_type + if device_mode is not None: + self.device_mode = device_mode + if getting_ip is not None: + self.getting_ip = getting_ip + if static_ip is not None: + self.static_ip = static_ip + if static_ip_mask_cidr is not None: + self.static_ip_mask_cidr = static_ip_mask_cidr + if static_ip_gw is not None: + self.static_ip_gw = static_ip_gw + if getting_dns is not None: + self.getting_dns = getting_dns + if static_dns_ip1 is not None: + self.static_dns_ip1 = static_dns_ip1 + if static_dns_ip2 is not None: + self.static_dns_ip2 = static_dns_ip2 + if peer_info_list is not None: + self.peer_info_list = peer_info_list + if device_name is not None: + self.device_name = device_name + if location_data is not None: + self.location_data = location_data + if locally_configured_mgmt_vlan is not None: + self.locally_configured_mgmt_vlan = locally_configured_mgmt_vlan + if locally_configured is not None: + self.locally_configured = locally_configured + if deployment_type is not None: + self.deployment_type = deployment_type + if synthetic_client_enabled is not None: + self.synthetic_client_enabled = synthetic_client_enabled + if frame_report_throttle_enabled is not None: + self.frame_report_throttle_enabled = frame_report_throttle_enabled + if antenna_type is not None: + self.antenna_type = antenna_type + if cost_saving_events_enabled is not None: + self.cost_saving_events_enabled = cost_saving_events_enabled + if forward_mode is not None: + self.forward_mode = forward_mode + if radio_map is not None: + self.radio_map = radio_map + if advanced_radio_map is not None: + self.advanced_radio_map = advanced_radio_map + + @property + def model_type(self): + """Gets the model_type of this ApElementConfiguration. # noqa: E501 + + + :return: The model_type of this ApElementConfiguration. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this ApElementConfiguration. + + + :param model_type: The model_type of this ApElementConfiguration. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + + self._model_type = model_type + + @property + def element_config_version(self): + """Gets the element_config_version of this ApElementConfiguration. # noqa: E501 + + + :return: The element_config_version of this ApElementConfiguration. # noqa: E501 + :rtype: str + """ + return self._element_config_version + + @element_config_version.setter + def element_config_version(self, element_config_version): + """Sets the element_config_version of this ApElementConfiguration. + + + :param element_config_version: The element_config_version of this ApElementConfiguration. # noqa: E501 + :type: str + """ + + self._element_config_version = element_config_version + + @property + def equipment_type(self): + """Gets the equipment_type of this ApElementConfiguration. # noqa: E501 + + + :return: The equipment_type of this ApElementConfiguration. # noqa: E501 + :rtype: EquipmentType + """ + return self._equipment_type + + @equipment_type.setter + def equipment_type(self, equipment_type): + """Sets the equipment_type of this ApElementConfiguration. + + + :param equipment_type: The equipment_type of this ApElementConfiguration. # noqa: E501 + :type: EquipmentType + """ + + self._equipment_type = equipment_type + + @property + def device_mode(self): + """Gets the device_mode of this ApElementConfiguration. # noqa: E501 + + + :return: The device_mode of this ApElementConfiguration. # noqa: E501 + :rtype: DeviceMode + """ + return self._device_mode + + @device_mode.setter + def device_mode(self, device_mode): + """Sets the device_mode of this ApElementConfiguration. + + + :param device_mode: The device_mode of this ApElementConfiguration. # noqa: E501 + :type: DeviceMode + """ + + self._device_mode = device_mode + + @property + def getting_ip(self): + """Gets the getting_ip of this ApElementConfiguration. # noqa: E501 + + + :return: The getting_ip of this ApElementConfiguration. # noqa: E501 + :rtype: str + """ + return self._getting_ip + + @getting_ip.setter + def getting_ip(self, getting_ip): + """Sets the getting_ip of this ApElementConfiguration. + + + :param getting_ip: The getting_ip of this ApElementConfiguration. # noqa: E501 + :type: str + """ + allowed_values = ["dhcp", "manual"] # noqa: E501 + if getting_ip not in allowed_values: + raise ValueError( + "Invalid value for `getting_ip` ({0}), must be one of {1}" # noqa: E501 + .format(getting_ip, allowed_values) + ) + + self._getting_ip = getting_ip + + @property + def static_ip(self): + """Gets the static_ip of this ApElementConfiguration. # noqa: E501 + + + :return: The static_ip of this ApElementConfiguration. # noqa: E501 + :rtype: str + """ + return self._static_ip + + @static_ip.setter + def static_ip(self, static_ip): + """Sets the static_ip of this ApElementConfiguration. + + + :param static_ip: The static_ip of this ApElementConfiguration. # noqa: E501 + :type: str + """ + + self._static_ip = static_ip + + @property + def static_ip_mask_cidr(self): + """Gets the static_ip_mask_cidr of this ApElementConfiguration. # noqa: E501 + + + :return: The static_ip_mask_cidr of this ApElementConfiguration. # noqa: E501 + :rtype: int + """ + return self._static_ip_mask_cidr + + @static_ip_mask_cidr.setter + def static_ip_mask_cidr(self, static_ip_mask_cidr): + """Sets the static_ip_mask_cidr of this ApElementConfiguration. + + + :param static_ip_mask_cidr: The static_ip_mask_cidr of this ApElementConfiguration. # noqa: E501 + :type: int + """ + + self._static_ip_mask_cidr = static_ip_mask_cidr + + @property + def static_ip_gw(self): + """Gets the static_ip_gw of this ApElementConfiguration. # noqa: E501 + + + :return: The static_ip_gw of this ApElementConfiguration. # noqa: E501 + :rtype: str + """ + return self._static_ip_gw + + @static_ip_gw.setter + def static_ip_gw(self, static_ip_gw): + """Sets the static_ip_gw of this ApElementConfiguration. + + + :param static_ip_gw: The static_ip_gw of this ApElementConfiguration. # noqa: E501 + :type: str + """ + + self._static_ip_gw = static_ip_gw + + @property + def getting_dns(self): + """Gets the getting_dns of this ApElementConfiguration. # noqa: E501 + + + :return: The getting_dns of this ApElementConfiguration. # noqa: E501 + :rtype: str + """ + return self._getting_dns + + @getting_dns.setter + def getting_dns(self, getting_dns): + """Sets the getting_dns of this ApElementConfiguration. + + + :param getting_dns: The getting_dns of this ApElementConfiguration. # noqa: E501 + :type: str + """ + allowed_values = ["dhcp", "manual"] # noqa: E501 + if getting_dns not in allowed_values: + raise ValueError( + "Invalid value for `getting_dns` ({0}), must be one of {1}" # noqa: E501 + .format(getting_dns, allowed_values) + ) + + self._getting_dns = getting_dns + + @property + def static_dns_ip1(self): + """Gets the static_dns_ip1 of this ApElementConfiguration. # noqa: E501 + + + :return: The static_dns_ip1 of this ApElementConfiguration. # noqa: E501 + :rtype: str + """ + return self._static_dns_ip1 + + @static_dns_ip1.setter + def static_dns_ip1(self, static_dns_ip1): + """Sets the static_dns_ip1 of this ApElementConfiguration. + + + :param static_dns_ip1: The static_dns_ip1 of this ApElementConfiguration. # noqa: E501 + :type: str + """ + + self._static_dns_ip1 = static_dns_ip1 + + @property + def static_dns_ip2(self): + """Gets the static_dns_ip2 of this ApElementConfiguration. # noqa: E501 + + + :return: The static_dns_ip2 of this ApElementConfiguration. # noqa: E501 + :rtype: str + """ + return self._static_dns_ip2 + + @static_dns_ip2.setter + def static_dns_ip2(self, static_dns_ip2): + """Sets the static_dns_ip2 of this ApElementConfiguration. + + + :param static_dns_ip2: The static_dns_ip2 of this ApElementConfiguration. # noqa: E501 + :type: str + """ + + self._static_dns_ip2 = static_dns_ip2 + + @property + def peer_info_list(self): + """Gets the peer_info_list of this ApElementConfiguration. # noqa: E501 + + + :return: The peer_info_list of this ApElementConfiguration. # noqa: E501 + :rtype: list[PeerInfo] + """ + return self._peer_info_list + + @peer_info_list.setter + def peer_info_list(self, peer_info_list): + """Sets the peer_info_list of this ApElementConfiguration. + + + :param peer_info_list: The peer_info_list of this ApElementConfiguration. # noqa: E501 + :type: list[PeerInfo] + """ + + self._peer_info_list = peer_info_list + + @property + def device_name(self): + """Gets the device_name of this ApElementConfiguration. # noqa: E501 + + + :return: The device_name of this ApElementConfiguration. # noqa: E501 + :rtype: str + """ + return self._device_name + + @device_name.setter + def device_name(self, device_name): + """Sets the device_name of this ApElementConfiguration. + + + :param device_name: The device_name of this ApElementConfiguration. # noqa: E501 + :type: str + """ + + self._device_name = device_name + + @property + def location_data(self): + """Gets the location_data of this ApElementConfiguration. # noqa: E501 + + + :return: The location_data of this ApElementConfiguration. # noqa: E501 + :rtype: str + """ + return self._location_data + + @location_data.setter + def location_data(self, location_data): + """Sets the location_data of this ApElementConfiguration. + + + :param location_data: The location_data of this ApElementConfiguration. # noqa: E501 + :type: str + """ + + self._location_data = location_data + + @property + def locally_configured_mgmt_vlan(self): + """Gets the locally_configured_mgmt_vlan of this ApElementConfiguration. # noqa: E501 + + + :return: The locally_configured_mgmt_vlan of this ApElementConfiguration. # noqa: E501 + :rtype: int + """ + return self._locally_configured_mgmt_vlan + + @locally_configured_mgmt_vlan.setter + def locally_configured_mgmt_vlan(self, locally_configured_mgmt_vlan): + """Sets the locally_configured_mgmt_vlan of this ApElementConfiguration. + + + :param locally_configured_mgmt_vlan: The locally_configured_mgmt_vlan of this ApElementConfiguration. # noqa: E501 + :type: int + """ + + self._locally_configured_mgmt_vlan = locally_configured_mgmt_vlan + + @property + def locally_configured(self): + """Gets the locally_configured of this ApElementConfiguration. # noqa: E501 + + + :return: The locally_configured of this ApElementConfiguration. # noqa: E501 + :rtype: bool + """ + return self._locally_configured + + @locally_configured.setter + def locally_configured(self, locally_configured): + """Sets the locally_configured of this ApElementConfiguration. + + + :param locally_configured: The locally_configured of this ApElementConfiguration. # noqa: E501 + :type: bool + """ + + self._locally_configured = locally_configured + + @property + def deployment_type(self): + """Gets the deployment_type of this ApElementConfiguration. # noqa: E501 + + + :return: The deployment_type of this ApElementConfiguration. # noqa: E501 + :rtype: DeploymentType + """ + return self._deployment_type + + @deployment_type.setter + def deployment_type(self, deployment_type): + """Sets the deployment_type of this ApElementConfiguration. + + + :param deployment_type: The deployment_type of this ApElementConfiguration. # noqa: E501 + :type: DeploymentType + """ + + self._deployment_type = deployment_type + + @property + def synthetic_client_enabled(self): + """Gets the synthetic_client_enabled of this ApElementConfiguration. # noqa: E501 + + + :return: The synthetic_client_enabled of this ApElementConfiguration. # noqa: E501 + :rtype: bool + """ + return self._synthetic_client_enabled + + @synthetic_client_enabled.setter + def synthetic_client_enabled(self, synthetic_client_enabled): + """Sets the synthetic_client_enabled of this ApElementConfiguration. + + + :param synthetic_client_enabled: The synthetic_client_enabled of this ApElementConfiguration. # noqa: E501 + :type: bool + """ + + self._synthetic_client_enabled = synthetic_client_enabled + + @property + def frame_report_throttle_enabled(self): + """Gets the frame_report_throttle_enabled of this ApElementConfiguration. # noqa: E501 + + + :return: The frame_report_throttle_enabled of this ApElementConfiguration. # noqa: E501 + :rtype: bool + """ + return self._frame_report_throttle_enabled + + @frame_report_throttle_enabled.setter + def frame_report_throttle_enabled(self, frame_report_throttle_enabled): + """Sets the frame_report_throttle_enabled of this ApElementConfiguration. + + + :param frame_report_throttle_enabled: The frame_report_throttle_enabled of this ApElementConfiguration. # noqa: E501 + :type: bool + """ + + self._frame_report_throttle_enabled = frame_report_throttle_enabled + + @property + def antenna_type(self): + """Gets the antenna_type of this ApElementConfiguration. # noqa: E501 + + + :return: The antenna_type of this ApElementConfiguration. # noqa: E501 + :rtype: AntennaType + """ + return self._antenna_type + + @antenna_type.setter + def antenna_type(self, antenna_type): + """Sets the antenna_type of this ApElementConfiguration. + + + :param antenna_type: The antenna_type of this ApElementConfiguration. # noqa: E501 + :type: AntennaType + """ + + self._antenna_type = antenna_type + + @property + def cost_saving_events_enabled(self): + """Gets the cost_saving_events_enabled of this ApElementConfiguration. # noqa: E501 + + + :return: The cost_saving_events_enabled of this ApElementConfiguration. # noqa: E501 + :rtype: bool + """ + return self._cost_saving_events_enabled + + @cost_saving_events_enabled.setter + def cost_saving_events_enabled(self, cost_saving_events_enabled): + """Sets the cost_saving_events_enabled of this ApElementConfiguration. + + + :param cost_saving_events_enabled: The cost_saving_events_enabled of this ApElementConfiguration. # noqa: E501 + :type: bool + """ + + self._cost_saving_events_enabled = cost_saving_events_enabled + + @property + def forward_mode(self): + """Gets the forward_mode of this ApElementConfiguration. # noqa: E501 + + + :return: The forward_mode of this ApElementConfiguration. # noqa: E501 + :rtype: NetworkForwardMode + """ + return self._forward_mode + + @forward_mode.setter + def forward_mode(self, forward_mode): + """Sets the forward_mode of this ApElementConfiguration. + + + :param forward_mode: The forward_mode of this ApElementConfiguration. # noqa: E501 + :type: NetworkForwardMode + """ + + self._forward_mode = forward_mode + + @property + def radio_map(self): + """Gets the radio_map of this ApElementConfiguration. # noqa: E501 + + + :return: The radio_map of this ApElementConfiguration. # noqa: E501 + :rtype: RadioMap + """ + return self._radio_map + + @radio_map.setter + def radio_map(self, radio_map): + """Sets the radio_map of this ApElementConfiguration. + + + :param radio_map: The radio_map of this ApElementConfiguration. # noqa: E501 + :type: RadioMap + """ + + self._radio_map = radio_map + + @property + def advanced_radio_map(self): + """Gets the advanced_radio_map of this ApElementConfiguration. # noqa: E501 + + + :return: The advanced_radio_map of this ApElementConfiguration. # noqa: E501 + :rtype: AdvancedRadioMap + """ + return self._advanced_radio_map + + @advanced_radio_map.setter + def advanced_radio_map(self, advanced_radio_map): + """Sets the advanced_radio_map of this ApElementConfiguration. + + + :param advanced_radio_map: The advanced_radio_map of this ApElementConfiguration. # noqa: E501 + :type: AdvancedRadioMap + """ + + self._advanced_radio_map = advanced_radio_map + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ApElementConfiguration, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ApElementConfiguration): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/ap_mesh_mode.py b/libs/cloudapi/cloudsdk/swagger_client/models/ap_mesh_mode.py new file mode 100644 index 000000000..eacd9803f --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/ap_mesh_mode.py @@ -0,0 +1,91 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ApMeshMode(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + STANDALONE = "STANDALONE" + MESH_PORTAL = "MESH_PORTAL" + MESH_POINT = "MESH_POINT" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """ApMeshMode - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ApMeshMode, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ApMeshMode): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/ap_network_configuration.py b/libs/cloudapi/cloudsdk/swagger_client/models/ap_network_configuration.py new file mode 100644 index 000000000..200028a00 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/ap_network_configuration.py @@ -0,0 +1,446 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six +from swagger_client.models.profile_details import ProfileDetails # noqa: F401,E501 + +class ApNetworkConfiguration(ProfileDetails): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'network_config_version': 'str', + 'equipment_type': 'str', + 'vlan_native': 'bool', + 'vlan': 'int', + 'ntp_server': 'ApNetworkConfigurationNtpServer', + 'syslog_relay': 'SyslogRelay', + 'rtls_settings': 'RtlsSettings', + 'synthetic_client_enabled': 'bool', + 'led_control_enabled': 'bool', + 'equipment_discovery': 'bool', + 'gre_tunnel_configurations': 'list[GreTunnelConfiguration]', + 'radio_map': 'RadioProfileConfigurationMap' + } + if hasattr(ProfileDetails, "swagger_types"): + swagger_types.update(ProfileDetails.swagger_types) + + attribute_map = { + 'model_type': 'model_type', + 'network_config_version': 'networkConfigVersion', + 'equipment_type': 'equipmentType', + 'vlan_native': 'vlanNative', + 'vlan': 'vlan', + 'ntp_server': 'ntpServer', + 'syslog_relay': 'syslogRelay', + 'rtls_settings': 'rtlsSettings', + 'synthetic_client_enabled': 'syntheticClientEnabled', + 'led_control_enabled': 'ledControlEnabled', + 'equipment_discovery': 'equipmentDiscovery', + 'gre_tunnel_configurations': 'greTunnelConfigurations', + 'radio_map': 'radioMap' + } + if hasattr(ProfileDetails, "attribute_map"): + attribute_map.update(ProfileDetails.attribute_map) + + def __init__(self, model_type=None, network_config_version=None, equipment_type=None, vlan_native=None, vlan=None, ntp_server=None, syslog_relay=None, rtls_settings=None, synthetic_client_enabled=None, led_control_enabled=None, equipment_discovery=None, gre_tunnel_configurations=None, radio_map=None, *args, **kwargs): # noqa: E501 + """ApNetworkConfiguration - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._network_config_version = None + self._equipment_type = None + self._vlan_native = None + self._vlan = None + self._ntp_server = None + self._syslog_relay = None + self._rtls_settings = None + self._synthetic_client_enabled = None + self._led_control_enabled = None + self._equipment_discovery = None + self._gre_tunnel_configurations = None + self._radio_map = None + self.discriminator = None + if model_type is not None: + self.model_type = model_type + if network_config_version is not None: + self.network_config_version = network_config_version + if equipment_type is not None: + self.equipment_type = equipment_type + if vlan_native is not None: + self.vlan_native = vlan_native + if vlan is not None: + self.vlan = vlan + if ntp_server is not None: + self.ntp_server = ntp_server + if syslog_relay is not None: + self.syslog_relay = syslog_relay + if rtls_settings is not None: + self.rtls_settings = rtls_settings + if synthetic_client_enabled is not None: + self.synthetic_client_enabled = synthetic_client_enabled + if led_control_enabled is not None: + self.led_control_enabled = led_control_enabled + if equipment_discovery is not None: + self.equipment_discovery = equipment_discovery + if gre_tunnel_configurations is not None: + self.gre_tunnel_configurations = gre_tunnel_configurations + if radio_map is not None: + self.radio_map = radio_map + ProfileDetails.__init__(self, *args, **kwargs) + + @property + def model_type(self): + """Gets the model_type of this ApNetworkConfiguration. # noqa: E501 + + + :return: The model_type of this ApNetworkConfiguration. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this ApNetworkConfiguration. + + + :param model_type: The model_type of this ApNetworkConfiguration. # noqa: E501 + :type: str + """ + allowed_values = ["ApNetworkConfiguration"] # noqa: E501 + if model_type not in allowed_values: + raise ValueError( + "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 + .format(model_type, allowed_values) + ) + + self._model_type = model_type + + @property + def network_config_version(self): + """Gets the network_config_version of this ApNetworkConfiguration. # noqa: E501 + + + :return: The network_config_version of this ApNetworkConfiguration. # noqa: E501 + :rtype: str + """ + return self._network_config_version + + @network_config_version.setter + def network_config_version(self, network_config_version): + """Sets the network_config_version of this ApNetworkConfiguration. + + + :param network_config_version: The network_config_version of this ApNetworkConfiguration. # noqa: E501 + :type: str + """ + allowed_values = ["AP-1"] # noqa: E501 + if network_config_version not in allowed_values: + raise ValueError( + "Invalid value for `network_config_version` ({0}), must be one of {1}" # noqa: E501 + .format(network_config_version, allowed_values) + ) + + self._network_config_version = network_config_version + + @property + def equipment_type(self): + """Gets the equipment_type of this ApNetworkConfiguration. # noqa: E501 + + + :return: The equipment_type of this ApNetworkConfiguration. # noqa: E501 + :rtype: str + """ + return self._equipment_type + + @equipment_type.setter + def equipment_type(self, equipment_type): + """Sets the equipment_type of this ApNetworkConfiguration. + + + :param equipment_type: The equipment_type of this ApNetworkConfiguration. # noqa: E501 + :type: str + """ + allowed_values = ["AP"] # noqa: E501 + if equipment_type not in allowed_values: + raise ValueError( + "Invalid value for `equipment_type` ({0}), must be one of {1}" # noqa: E501 + .format(equipment_type, allowed_values) + ) + + self._equipment_type = equipment_type + + @property + def vlan_native(self): + """Gets the vlan_native of this ApNetworkConfiguration. # noqa: E501 + + + :return: The vlan_native of this ApNetworkConfiguration. # noqa: E501 + :rtype: bool + """ + return self._vlan_native + + @vlan_native.setter + def vlan_native(self, vlan_native): + """Sets the vlan_native of this ApNetworkConfiguration. + + + :param vlan_native: The vlan_native of this ApNetworkConfiguration. # noqa: E501 + :type: bool + """ + + self._vlan_native = vlan_native + + @property + def vlan(self): + """Gets the vlan of this ApNetworkConfiguration. # noqa: E501 + + + :return: The vlan of this ApNetworkConfiguration. # noqa: E501 + :rtype: int + """ + return self._vlan + + @vlan.setter + def vlan(self, vlan): + """Sets the vlan of this ApNetworkConfiguration. + + + :param vlan: The vlan of this ApNetworkConfiguration. # noqa: E501 + :type: int + """ + + self._vlan = vlan + + @property + def ntp_server(self): + """Gets the ntp_server of this ApNetworkConfiguration. # noqa: E501 + + + :return: The ntp_server of this ApNetworkConfiguration. # noqa: E501 + :rtype: ApNetworkConfigurationNtpServer + """ + return self._ntp_server + + @ntp_server.setter + def ntp_server(self, ntp_server): + """Sets the ntp_server of this ApNetworkConfiguration. + + + :param ntp_server: The ntp_server of this ApNetworkConfiguration. # noqa: E501 + :type: ApNetworkConfigurationNtpServer + """ + + self._ntp_server = ntp_server + + @property + def syslog_relay(self): + """Gets the syslog_relay of this ApNetworkConfiguration. # noqa: E501 + + + :return: The syslog_relay of this ApNetworkConfiguration. # noqa: E501 + :rtype: SyslogRelay + """ + return self._syslog_relay + + @syslog_relay.setter + def syslog_relay(self, syslog_relay): + """Sets the syslog_relay of this ApNetworkConfiguration. + + + :param syslog_relay: The syslog_relay of this ApNetworkConfiguration. # noqa: E501 + :type: SyslogRelay + """ + + self._syslog_relay = syslog_relay + + @property + def rtls_settings(self): + """Gets the rtls_settings of this ApNetworkConfiguration. # noqa: E501 + + + :return: The rtls_settings of this ApNetworkConfiguration. # noqa: E501 + :rtype: RtlsSettings + """ + return self._rtls_settings + + @rtls_settings.setter + def rtls_settings(self, rtls_settings): + """Sets the rtls_settings of this ApNetworkConfiguration. + + + :param rtls_settings: The rtls_settings of this ApNetworkConfiguration. # noqa: E501 + :type: RtlsSettings + """ + + self._rtls_settings = rtls_settings + + @property + def synthetic_client_enabled(self): + """Gets the synthetic_client_enabled of this ApNetworkConfiguration. # noqa: E501 + + + :return: The synthetic_client_enabled of this ApNetworkConfiguration. # noqa: E501 + :rtype: bool + """ + return self._synthetic_client_enabled + + @synthetic_client_enabled.setter + def synthetic_client_enabled(self, synthetic_client_enabled): + """Sets the synthetic_client_enabled of this ApNetworkConfiguration. + + + :param synthetic_client_enabled: The synthetic_client_enabled of this ApNetworkConfiguration. # noqa: E501 + :type: bool + """ + + self._synthetic_client_enabled = synthetic_client_enabled + + @property + def led_control_enabled(self): + """Gets the led_control_enabled of this ApNetworkConfiguration. # noqa: E501 + + + :return: The led_control_enabled of this ApNetworkConfiguration. # noqa: E501 + :rtype: bool + """ + return self._led_control_enabled + + @led_control_enabled.setter + def led_control_enabled(self, led_control_enabled): + """Sets the led_control_enabled of this ApNetworkConfiguration. + + + :param led_control_enabled: The led_control_enabled of this ApNetworkConfiguration. # noqa: E501 + :type: bool + """ + + self._led_control_enabled = led_control_enabled + + @property + def equipment_discovery(self): + """Gets the equipment_discovery of this ApNetworkConfiguration. # noqa: E501 + + + :return: The equipment_discovery of this ApNetworkConfiguration. # noqa: E501 + :rtype: bool + """ + return self._equipment_discovery + + @equipment_discovery.setter + def equipment_discovery(self, equipment_discovery): + """Sets the equipment_discovery of this ApNetworkConfiguration. + + + :param equipment_discovery: The equipment_discovery of this ApNetworkConfiguration. # noqa: E501 + :type: bool + """ + + self._equipment_discovery = equipment_discovery + + @property + def gre_tunnel_configurations(self): + """Gets the gre_tunnel_configurations of this ApNetworkConfiguration. # noqa: E501 + + + :return: The gre_tunnel_configurations of this ApNetworkConfiguration. # noqa: E501 + :rtype: list[GreTunnelConfiguration] + """ + return self._gre_tunnel_configurations + + @gre_tunnel_configurations.setter + def gre_tunnel_configurations(self, gre_tunnel_configurations): + """Sets the gre_tunnel_configurations of this ApNetworkConfiguration. + + + :param gre_tunnel_configurations: The gre_tunnel_configurations of this ApNetworkConfiguration. # noqa: E501 + :type: list[GreTunnelConfiguration] + """ + + self._gre_tunnel_configurations = gre_tunnel_configurations + + @property + def radio_map(self): + """Gets the radio_map of this ApNetworkConfiguration. # noqa: E501 + + + :return: The radio_map of this ApNetworkConfiguration. # noqa: E501 + :rtype: RadioProfileConfigurationMap + """ + return self._radio_map + + @radio_map.setter + def radio_map(self, radio_map): + """Sets the radio_map of this ApNetworkConfiguration. + + + :param radio_map: The radio_map of this ApNetworkConfiguration. # noqa: E501 + :type: RadioProfileConfigurationMap + """ + + self._radio_map = radio_map + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ApNetworkConfiguration, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ApNetworkConfiguration): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/ap_network_configuration_ntp_server.py b/libs/cloudapi/cloudsdk/swagger_client/models/ap_network_configuration_ntp_server.py new file mode 100644 index 000000000..4aaa49a59 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/ap_network_configuration_ntp_server.py @@ -0,0 +1,136 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ApNetworkConfigurationNtpServer(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'auto': 'bool', + 'value': 'str' + } + + attribute_map = { + 'auto': 'auto', + 'value': 'value' + } + + def __init__(self, auto=None, value='pool.ntp.org'): # noqa: E501 + """ApNetworkConfigurationNtpServer - a model defined in Swagger""" # noqa: E501 + self._auto = None + self._value = None + self.discriminator = None + if auto is not None: + self.auto = auto + if value is not None: + self.value = value + + @property + def auto(self): + """Gets the auto of this ApNetworkConfigurationNtpServer. # noqa: E501 + + + :return: The auto of this ApNetworkConfigurationNtpServer. # noqa: E501 + :rtype: bool + """ + return self._auto + + @auto.setter + def auto(self, auto): + """Sets the auto of this ApNetworkConfigurationNtpServer. + + + :param auto: The auto of this ApNetworkConfigurationNtpServer. # noqa: E501 + :type: bool + """ + + self._auto = auto + + @property + def value(self): + """Gets the value of this ApNetworkConfigurationNtpServer. # noqa: E501 + + + :return: The value of this ApNetworkConfigurationNtpServer. # noqa: E501 + :rtype: str + """ + return self._value + + @value.setter + def value(self, value): + """Sets the value of this ApNetworkConfigurationNtpServer. + + + :param value: The value of this ApNetworkConfigurationNtpServer. # noqa: E501 + :type: str + """ + + self._value = value + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ApNetworkConfigurationNtpServer, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ApNetworkConfigurationNtpServer): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/ap_node_metrics.py b/libs/cloudapi/cloudsdk/swagger_client/models/ap_node_metrics.py new file mode 100644 index 000000000..e51220f0d --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/ap_node_metrics.py @@ -0,0 +1,555 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ApNodeMetrics(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'period_length_sec': 'int', + 'client_mac_addresses_per_radio': 'ListOfMacsPerRadioMap', + 'tx_bytes_per_radio': 'LongPerRadioTypeMap', + 'rx_bytes_per_radio': 'LongPerRadioTypeMap', + 'noise_floor_per_radio': 'IntegerPerRadioTypeMap', + 'tunnel_metrics': 'list[TunnelMetricData]', + 'network_probe_metrics': 'list[NetworkProbeMetrics]', + 'radius_metrics': 'list[RadiusMetrics]', + 'cloud_link_availability': 'int', + 'cloud_link_latency_in_ms': 'int', + 'channel_utilization_per_radio': 'IntegerPerRadioTypeMap', + 'ap_performance': 'ApPerformance', + 'vlan_subnet': 'list[VlanSubnet]', + 'radio_utilization_per_radio': 'ListOfRadioUtilizationPerRadioMap', + 'radio_stats_per_radio': 'RadioStatisticsPerRadioMap', + 'mcs_stats_per_radio': 'ListOfMcsStatsPerRadioMap', + 'wmm_queues_per_radio': 'MapOfWmmQueueStatsPerRadioMap' + } + + attribute_map = { + 'model_type': 'model_type', + 'period_length_sec': 'periodLengthSec', + 'client_mac_addresses_per_radio': 'clientMacAddressesPerRadio', + 'tx_bytes_per_radio': 'txBytesPerRadio', + 'rx_bytes_per_radio': 'rxBytesPerRadio', + 'noise_floor_per_radio': 'noiseFloorPerRadio', + 'tunnel_metrics': 'tunnelMetrics', + 'network_probe_metrics': 'networkProbeMetrics', + 'radius_metrics': 'radiusMetrics', + 'cloud_link_availability': 'cloudLinkAvailability', + 'cloud_link_latency_in_ms': 'cloudLinkLatencyInMs', + 'channel_utilization_per_radio': 'channelUtilizationPerRadio', + 'ap_performance': 'apPerformance', + 'vlan_subnet': 'vlanSubnet', + 'radio_utilization_per_radio': 'radioUtilizationPerRadio', + 'radio_stats_per_radio': 'radioStatsPerRadio', + 'mcs_stats_per_radio': 'mcsStatsPerRadio', + 'wmm_queues_per_radio': 'wmmQueuesPerRadio' + } + + def __init__(self, model_type=None, period_length_sec=None, client_mac_addresses_per_radio=None, tx_bytes_per_radio=None, rx_bytes_per_radio=None, noise_floor_per_radio=None, tunnel_metrics=None, network_probe_metrics=None, radius_metrics=None, cloud_link_availability=None, cloud_link_latency_in_ms=None, channel_utilization_per_radio=None, ap_performance=None, vlan_subnet=None, radio_utilization_per_radio=None, radio_stats_per_radio=None, mcs_stats_per_radio=None, wmm_queues_per_radio=None): # noqa: E501 + """ApNodeMetrics - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._period_length_sec = None + self._client_mac_addresses_per_radio = None + self._tx_bytes_per_radio = None + self._rx_bytes_per_radio = None + self._noise_floor_per_radio = None + self._tunnel_metrics = None + self._network_probe_metrics = None + self._radius_metrics = None + self._cloud_link_availability = None + self._cloud_link_latency_in_ms = None + self._channel_utilization_per_radio = None + self._ap_performance = None + self._vlan_subnet = None + self._radio_utilization_per_radio = None + self._radio_stats_per_radio = None + self._mcs_stats_per_radio = None + self._wmm_queues_per_radio = None + self.discriminator = None + self.model_type = model_type + if period_length_sec is not None: + self.period_length_sec = period_length_sec + if client_mac_addresses_per_radio is not None: + self.client_mac_addresses_per_radio = client_mac_addresses_per_radio + if tx_bytes_per_radio is not None: + self.tx_bytes_per_radio = tx_bytes_per_radio + if rx_bytes_per_radio is not None: + self.rx_bytes_per_radio = rx_bytes_per_radio + if noise_floor_per_radio is not None: + self.noise_floor_per_radio = noise_floor_per_radio + if tunnel_metrics is not None: + self.tunnel_metrics = tunnel_metrics + if network_probe_metrics is not None: + self.network_probe_metrics = network_probe_metrics + if radius_metrics is not None: + self.radius_metrics = radius_metrics + if cloud_link_availability is not None: + self.cloud_link_availability = cloud_link_availability + if cloud_link_latency_in_ms is not None: + self.cloud_link_latency_in_ms = cloud_link_latency_in_ms + if channel_utilization_per_radio is not None: + self.channel_utilization_per_radio = channel_utilization_per_radio + if ap_performance is not None: + self.ap_performance = ap_performance + if vlan_subnet is not None: + self.vlan_subnet = vlan_subnet + if radio_utilization_per_radio is not None: + self.radio_utilization_per_radio = radio_utilization_per_radio + if radio_stats_per_radio is not None: + self.radio_stats_per_radio = radio_stats_per_radio + if mcs_stats_per_radio is not None: + self.mcs_stats_per_radio = mcs_stats_per_radio + if wmm_queues_per_radio is not None: + self.wmm_queues_per_radio = wmm_queues_per_radio + + @property + def model_type(self): + """Gets the model_type of this ApNodeMetrics. # noqa: E501 + + + :return: The model_type of this ApNodeMetrics. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this ApNodeMetrics. + + + :param model_type: The model_type of this ApNodeMetrics. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + + self._model_type = model_type + + @property + def period_length_sec(self): + """Gets the period_length_sec of this ApNodeMetrics. # noqa: E501 + + How many seconds the AP measured for the metric # noqa: E501 + + :return: The period_length_sec of this ApNodeMetrics. # noqa: E501 + :rtype: int + """ + return self._period_length_sec + + @period_length_sec.setter + def period_length_sec(self, period_length_sec): + """Sets the period_length_sec of this ApNodeMetrics. + + How many seconds the AP measured for the metric # noqa: E501 + + :param period_length_sec: The period_length_sec of this ApNodeMetrics. # noqa: E501 + :type: int + """ + + self._period_length_sec = period_length_sec + + @property + def client_mac_addresses_per_radio(self): + """Gets the client_mac_addresses_per_radio of this ApNodeMetrics. # noqa: E501 + + + :return: The client_mac_addresses_per_radio of this ApNodeMetrics. # noqa: E501 + :rtype: ListOfMacsPerRadioMap + """ + return self._client_mac_addresses_per_radio + + @client_mac_addresses_per_radio.setter + def client_mac_addresses_per_radio(self, client_mac_addresses_per_radio): + """Sets the client_mac_addresses_per_radio of this ApNodeMetrics. + + + :param client_mac_addresses_per_radio: The client_mac_addresses_per_radio of this ApNodeMetrics. # noqa: E501 + :type: ListOfMacsPerRadioMap + """ + + self._client_mac_addresses_per_radio = client_mac_addresses_per_radio + + @property + def tx_bytes_per_radio(self): + """Gets the tx_bytes_per_radio of this ApNodeMetrics. # noqa: E501 + + + :return: The tx_bytes_per_radio of this ApNodeMetrics. # noqa: E501 + :rtype: LongPerRadioTypeMap + """ + return self._tx_bytes_per_radio + + @tx_bytes_per_radio.setter + def tx_bytes_per_radio(self, tx_bytes_per_radio): + """Sets the tx_bytes_per_radio of this ApNodeMetrics. + + + :param tx_bytes_per_radio: The tx_bytes_per_radio of this ApNodeMetrics. # noqa: E501 + :type: LongPerRadioTypeMap + """ + + self._tx_bytes_per_radio = tx_bytes_per_radio + + @property + def rx_bytes_per_radio(self): + """Gets the rx_bytes_per_radio of this ApNodeMetrics. # noqa: E501 + + + :return: The rx_bytes_per_radio of this ApNodeMetrics. # noqa: E501 + :rtype: LongPerRadioTypeMap + """ + return self._rx_bytes_per_radio + + @rx_bytes_per_radio.setter + def rx_bytes_per_radio(self, rx_bytes_per_radio): + """Sets the rx_bytes_per_radio of this ApNodeMetrics. + + + :param rx_bytes_per_radio: The rx_bytes_per_radio of this ApNodeMetrics. # noqa: E501 + :type: LongPerRadioTypeMap + """ + + self._rx_bytes_per_radio = rx_bytes_per_radio + + @property + def noise_floor_per_radio(self): + """Gets the noise_floor_per_radio of this ApNodeMetrics. # noqa: E501 + + + :return: The noise_floor_per_radio of this ApNodeMetrics. # noqa: E501 + :rtype: IntegerPerRadioTypeMap + """ + return self._noise_floor_per_radio + + @noise_floor_per_radio.setter + def noise_floor_per_radio(self, noise_floor_per_radio): + """Sets the noise_floor_per_radio of this ApNodeMetrics. + + + :param noise_floor_per_radio: The noise_floor_per_radio of this ApNodeMetrics. # noqa: E501 + :type: IntegerPerRadioTypeMap + """ + + self._noise_floor_per_radio = noise_floor_per_radio + + @property + def tunnel_metrics(self): + """Gets the tunnel_metrics of this ApNodeMetrics. # noqa: E501 + + + :return: The tunnel_metrics of this ApNodeMetrics. # noqa: E501 + :rtype: list[TunnelMetricData] + """ + return self._tunnel_metrics + + @tunnel_metrics.setter + def tunnel_metrics(self, tunnel_metrics): + """Sets the tunnel_metrics of this ApNodeMetrics. + + + :param tunnel_metrics: The tunnel_metrics of this ApNodeMetrics. # noqa: E501 + :type: list[TunnelMetricData] + """ + + self._tunnel_metrics = tunnel_metrics + + @property + def network_probe_metrics(self): + """Gets the network_probe_metrics of this ApNodeMetrics. # noqa: E501 + + + :return: The network_probe_metrics of this ApNodeMetrics. # noqa: E501 + :rtype: list[NetworkProbeMetrics] + """ + return self._network_probe_metrics + + @network_probe_metrics.setter + def network_probe_metrics(self, network_probe_metrics): + """Sets the network_probe_metrics of this ApNodeMetrics. + + + :param network_probe_metrics: The network_probe_metrics of this ApNodeMetrics. # noqa: E501 + :type: list[NetworkProbeMetrics] + """ + + self._network_probe_metrics = network_probe_metrics + + @property + def radius_metrics(self): + """Gets the radius_metrics of this ApNodeMetrics. # noqa: E501 + + + :return: The radius_metrics of this ApNodeMetrics. # noqa: E501 + :rtype: list[RadiusMetrics] + """ + return self._radius_metrics + + @radius_metrics.setter + def radius_metrics(self, radius_metrics): + """Sets the radius_metrics of this ApNodeMetrics. + + + :param radius_metrics: The radius_metrics of this ApNodeMetrics. # noqa: E501 + :type: list[RadiusMetrics] + """ + + self._radius_metrics = radius_metrics + + @property + def cloud_link_availability(self): + """Gets the cloud_link_availability of this ApNodeMetrics. # noqa: E501 + + + :return: The cloud_link_availability of this ApNodeMetrics. # noqa: E501 + :rtype: int + """ + return self._cloud_link_availability + + @cloud_link_availability.setter + def cloud_link_availability(self, cloud_link_availability): + """Sets the cloud_link_availability of this ApNodeMetrics. + + + :param cloud_link_availability: The cloud_link_availability of this ApNodeMetrics. # noqa: E501 + :type: int + """ + + self._cloud_link_availability = cloud_link_availability + + @property + def cloud_link_latency_in_ms(self): + """Gets the cloud_link_latency_in_ms of this ApNodeMetrics. # noqa: E501 + + + :return: The cloud_link_latency_in_ms of this ApNodeMetrics. # noqa: E501 + :rtype: int + """ + return self._cloud_link_latency_in_ms + + @cloud_link_latency_in_ms.setter + def cloud_link_latency_in_ms(self, cloud_link_latency_in_ms): + """Sets the cloud_link_latency_in_ms of this ApNodeMetrics. + + + :param cloud_link_latency_in_ms: The cloud_link_latency_in_ms of this ApNodeMetrics. # noqa: E501 + :type: int + """ + + self._cloud_link_latency_in_ms = cloud_link_latency_in_ms + + @property + def channel_utilization_per_radio(self): + """Gets the channel_utilization_per_radio of this ApNodeMetrics. # noqa: E501 + + + :return: The channel_utilization_per_radio of this ApNodeMetrics. # noqa: E501 + :rtype: IntegerPerRadioTypeMap + """ + return self._channel_utilization_per_radio + + @channel_utilization_per_radio.setter + def channel_utilization_per_radio(self, channel_utilization_per_radio): + """Sets the channel_utilization_per_radio of this ApNodeMetrics. + + + :param channel_utilization_per_radio: The channel_utilization_per_radio of this ApNodeMetrics. # noqa: E501 + :type: IntegerPerRadioTypeMap + """ + + self._channel_utilization_per_radio = channel_utilization_per_radio + + @property + def ap_performance(self): + """Gets the ap_performance of this ApNodeMetrics. # noqa: E501 + + + :return: The ap_performance of this ApNodeMetrics. # noqa: E501 + :rtype: ApPerformance + """ + return self._ap_performance + + @ap_performance.setter + def ap_performance(self, ap_performance): + """Sets the ap_performance of this ApNodeMetrics. + + + :param ap_performance: The ap_performance of this ApNodeMetrics. # noqa: E501 + :type: ApPerformance + """ + + self._ap_performance = ap_performance + + @property + def vlan_subnet(self): + """Gets the vlan_subnet of this ApNodeMetrics. # noqa: E501 + + + :return: The vlan_subnet of this ApNodeMetrics. # noqa: E501 + :rtype: list[VlanSubnet] + """ + return self._vlan_subnet + + @vlan_subnet.setter + def vlan_subnet(self, vlan_subnet): + """Sets the vlan_subnet of this ApNodeMetrics. + + + :param vlan_subnet: The vlan_subnet of this ApNodeMetrics. # noqa: E501 + :type: list[VlanSubnet] + """ + + self._vlan_subnet = vlan_subnet + + @property + def radio_utilization_per_radio(self): + """Gets the radio_utilization_per_radio of this ApNodeMetrics. # noqa: E501 + + + :return: The radio_utilization_per_radio of this ApNodeMetrics. # noqa: E501 + :rtype: ListOfRadioUtilizationPerRadioMap + """ + return self._radio_utilization_per_radio + + @radio_utilization_per_radio.setter + def radio_utilization_per_radio(self, radio_utilization_per_radio): + """Sets the radio_utilization_per_radio of this ApNodeMetrics. + + + :param radio_utilization_per_radio: The radio_utilization_per_radio of this ApNodeMetrics. # noqa: E501 + :type: ListOfRadioUtilizationPerRadioMap + """ + + self._radio_utilization_per_radio = radio_utilization_per_radio + + @property + def radio_stats_per_radio(self): + """Gets the radio_stats_per_radio of this ApNodeMetrics. # noqa: E501 + + + :return: The radio_stats_per_radio of this ApNodeMetrics. # noqa: E501 + :rtype: RadioStatisticsPerRadioMap + """ + return self._radio_stats_per_radio + + @radio_stats_per_radio.setter + def radio_stats_per_radio(self, radio_stats_per_radio): + """Sets the radio_stats_per_radio of this ApNodeMetrics. + + + :param radio_stats_per_radio: The radio_stats_per_radio of this ApNodeMetrics. # noqa: E501 + :type: RadioStatisticsPerRadioMap + """ + + self._radio_stats_per_radio = radio_stats_per_radio + + @property + def mcs_stats_per_radio(self): + """Gets the mcs_stats_per_radio of this ApNodeMetrics. # noqa: E501 + + + :return: The mcs_stats_per_radio of this ApNodeMetrics. # noqa: E501 + :rtype: ListOfMcsStatsPerRadioMap + """ + return self._mcs_stats_per_radio + + @mcs_stats_per_radio.setter + def mcs_stats_per_radio(self, mcs_stats_per_radio): + """Sets the mcs_stats_per_radio of this ApNodeMetrics. + + + :param mcs_stats_per_radio: The mcs_stats_per_radio of this ApNodeMetrics. # noqa: E501 + :type: ListOfMcsStatsPerRadioMap + """ + + self._mcs_stats_per_radio = mcs_stats_per_radio + + @property + def wmm_queues_per_radio(self): + """Gets the wmm_queues_per_radio of this ApNodeMetrics. # noqa: E501 + + + :return: The wmm_queues_per_radio of this ApNodeMetrics. # noqa: E501 + :rtype: MapOfWmmQueueStatsPerRadioMap + """ + return self._wmm_queues_per_radio + + @wmm_queues_per_radio.setter + def wmm_queues_per_radio(self, wmm_queues_per_radio): + """Sets the wmm_queues_per_radio of this ApNodeMetrics. + + + :param wmm_queues_per_radio: The wmm_queues_per_radio of this ApNodeMetrics. # noqa: E501 + :type: MapOfWmmQueueStatsPerRadioMap + """ + + self._wmm_queues_per_radio = wmm_queues_per_radio + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ApNodeMetrics, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ApNodeMetrics): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/ap_performance.py b/libs/cloudapi/cloudsdk/swagger_client/models/ap_performance.py new file mode 100644 index 000000000..d858e56c1 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/ap_performance.py @@ -0,0 +1,386 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ApPerformance(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'free_memory': 'int', + 'cpu_utilized': 'list[int]', + 'up_time': 'int', + 'cami_crashed': 'int', + 'cpu_temperature': 'int', + 'low_memory_reboot': 'bool', + 'eth_link_state': 'EthernetLinkState', + 'cloud_tx_bytes': 'int', + 'cloud_rx_bytes': 'int', + 'ps_cpu_util': 'list[PerProcessUtilization]', + 'ps_mem_util': 'list[PerProcessUtilization]' + } + + attribute_map = { + 'free_memory': 'freeMemory', + 'cpu_utilized': 'cpuUtilized', + 'up_time': 'upTime', + 'cami_crashed': 'camiCrashed', + 'cpu_temperature': 'cpuTemperature', + 'low_memory_reboot': 'lowMemoryReboot', + 'eth_link_state': 'ethLinkState', + 'cloud_tx_bytes': 'cloudTxBytes', + 'cloud_rx_bytes': 'cloudRxBytes', + 'ps_cpu_util': 'psCpuUtil', + 'ps_mem_util': 'psMemUtil' + } + + def __init__(self, free_memory=None, cpu_utilized=None, up_time=None, cami_crashed=None, cpu_temperature=None, low_memory_reboot=None, eth_link_state=None, cloud_tx_bytes=None, cloud_rx_bytes=None, ps_cpu_util=None, ps_mem_util=None): # noqa: E501 + """ApPerformance - a model defined in Swagger""" # noqa: E501 + self._free_memory = None + self._cpu_utilized = None + self._up_time = None + self._cami_crashed = None + self._cpu_temperature = None + self._low_memory_reboot = None + self._eth_link_state = None + self._cloud_tx_bytes = None + self._cloud_rx_bytes = None + self._ps_cpu_util = None + self._ps_mem_util = None + self.discriminator = None + if free_memory is not None: + self.free_memory = free_memory + if cpu_utilized is not None: + self.cpu_utilized = cpu_utilized + if up_time is not None: + self.up_time = up_time + if cami_crashed is not None: + self.cami_crashed = cami_crashed + if cpu_temperature is not None: + self.cpu_temperature = cpu_temperature + if low_memory_reboot is not None: + self.low_memory_reboot = low_memory_reboot + if eth_link_state is not None: + self.eth_link_state = eth_link_state + if cloud_tx_bytes is not None: + self.cloud_tx_bytes = cloud_tx_bytes + if cloud_rx_bytes is not None: + self.cloud_rx_bytes = cloud_rx_bytes + if ps_cpu_util is not None: + self.ps_cpu_util = ps_cpu_util + if ps_mem_util is not None: + self.ps_mem_util = ps_mem_util + + @property + def free_memory(self): + """Gets the free_memory of this ApPerformance. # noqa: E501 + + free memory in kilobytes # noqa: E501 + + :return: The free_memory of this ApPerformance. # noqa: E501 + :rtype: int + """ + return self._free_memory + + @free_memory.setter + def free_memory(self, free_memory): + """Sets the free_memory of this ApPerformance. + + free memory in kilobytes # noqa: E501 + + :param free_memory: The free_memory of this ApPerformance. # noqa: E501 + :type: int + """ + + self._free_memory = free_memory + + @property + def cpu_utilized(self): + """Gets the cpu_utilized of this ApPerformance. # noqa: E501 + + CPU utilization in percentage, one per core # noqa: E501 + + :return: The cpu_utilized of this ApPerformance. # noqa: E501 + :rtype: list[int] + """ + return self._cpu_utilized + + @cpu_utilized.setter + def cpu_utilized(self, cpu_utilized): + """Sets the cpu_utilized of this ApPerformance. + + CPU utilization in percentage, one per core # noqa: E501 + + :param cpu_utilized: The cpu_utilized of this ApPerformance. # noqa: E501 + :type: list[int] + """ + + self._cpu_utilized = cpu_utilized + + @property + def up_time(self): + """Gets the up_time of this ApPerformance. # noqa: E501 + + AP uptime in seconds # noqa: E501 + + :return: The up_time of this ApPerformance. # noqa: E501 + :rtype: int + """ + return self._up_time + + @up_time.setter + def up_time(self, up_time): + """Sets the up_time of this ApPerformance. + + AP uptime in seconds # noqa: E501 + + :param up_time: The up_time of this ApPerformance. # noqa: E501 + :type: int + """ + + self._up_time = up_time + + @property + def cami_crashed(self): + """Gets the cami_crashed of this ApPerformance. # noqa: E501 + + number of time cloud-to-ap-management process crashed # noqa: E501 + + :return: The cami_crashed of this ApPerformance. # noqa: E501 + :rtype: int + """ + return self._cami_crashed + + @cami_crashed.setter + def cami_crashed(self, cami_crashed): + """Sets the cami_crashed of this ApPerformance. + + number of time cloud-to-ap-management process crashed # noqa: E501 + + :param cami_crashed: The cami_crashed of this ApPerformance. # noqa: E501 + :type: int + """ + + self._cami_crashed = cami_crashed + + @property + def cpu_temperature(self): + """Gets the cpu_temperature of this ApPerformance. # noqa: E501 + + cpu temperature in Celsius # noqa: E501 + + :return: The cpu_temperature of this ApPerformance. # noqa: E501 + :rtype: int + """ + return self._cpu_temperature + + @cpu_temperature.setter + def cpu_temperature(self, cpu_temperature): + """Sets the cpu_temperature of this ApPerformance. + + cpu temperature in Celsius # noqa: E501 + + :param cpu_temperature: The cpu_temperature of this ApPerformance. # noqa: E501 + :type: int + """ + + self._cpu_temperature = cpu_temperature + + @property + def low_memory_reboot(self): + """Gets the low_memory_reboot of this ApPerformance. # noqa: E501 + + low memory reboot happened # noqa: E501 + + :return: The low_memory_reboot of this ApPerformance. # noqa: E501 + :rtype: bool + """ + return self._low_memory_reboot + + @low_memory_reboot.setter + def low_memory_reboot(self, low_memory_reboot): + """Sets the low_memory_reboot of this ApPerformance. + + low memory reboot happened # noqa: E501 + + :param low_memory_reboot: The low_memory_reboot of this ApPerformance. # noqa: E501 + :type: bool + """ + + self._low_memory_reboot = low_memory_reboot + + @property + def eth_link_state(self): + """Gets the eth_link_state of this ApPerformance. # noqa: E501 + + + :return: The eth_link_state of this ApPerformance. # noqa: E501 + :rtype: EthernetLinkState + """ + return self._eth_link_state + + @eth_link_state.setter + def eth_link_state(self, eth_link_state): + """Sets the eth_link_state of this ApPerformance. + + + :param eth_link_state: The eth_link_state of this ApPerformance. # noqa: E501 + :type: EthernetLinkState + """ + + self._eth_link_state = eth_link_state + + @property + def cloud_tx_bytes(self): + """Gets the cloud_tx_bytes of this ApPerformance. # noqa: E501 + + Data sent by AP to the cloud # noqa: E501 + + :return: The cloud_tx_bytes of this ApPerformance. # noqa: E501 + :rtype: int + """ + return self._cloud_tx_bytes + + @cloud_tx_bytes.setter + def cloud_tx_bytes(self, cloud_tx_bytes): + """Sets the cloud_tx_bytes of this ApPerformance. + + Data sent by AP to the cloud # noqa: E501 + + :param cloud_tx_bytes: The cloud_tx_bytes of this ApPerformance. # noqa: E501 + :type: int + """ + + self._cloud_tx_bytes = cloud_tx_bytes + + @property + def cloud_rx_bytes(self): + """Gets the cloud_rx_bytes of this ApPerformance. # noqa: E501 + + Data received by AP from cloud # noqa: E501 + + :return: The cloud_rx_bytes of this ApPerformance. # noqa: E501 + :rtype: int + """ + return self._cloud_rx_bytes + + @cloud_rx_bytes.setter + def cloud_rx_bytes(self, cloud_rx_bytes): + """Sets the cloud_rx_bytes of this ApPerformance. + + Data received by AP from cloud # noqa: E501 + + :param cloud_rx_bytes: The cloud_rx_bytes of this ApPerformance. # noqa: E501 + :type: int + """ + + self._cloud_rx_bytes = cloud_rx_bytes + + @property + def ps_cpu_util(self): + """Gets the ps_cpu_util of this ApPerformance. # noqa: E501 + + + :return: The ps_cpu_util of this ApPerformance. # noqa: E501 + :rtype: list[PerProcessUtilization] + """ + return self._ps_cpu_util + + @ps_cpu_util.setter + def ps_cpu_util(self, ps_cpu_util): + """Sets the ps_cpu_util of this ApPerformance. + + + :param ps_cpu_util: The ps_cpu_util of this ApPerformance. # noqa: E501 + :type: list[PerProcessUtilization] + """ + + self._ps_cpu_util = ps_cpu_util + + @property + def ps_mem_util(self): + """Gets the ps_mem_util of this ApPerformance. # noqa: E501 + + + :return: The ps_mem_util of this ApPerformance. # noqa: E501 + :rtype: list[PerProcessUtilization] + """ + return self._ps_mem_util + + @ps_mem_util.setter + def ps_mem_util(self, ps_mem_util): + """Sets the ps_mem_util of this ApPerformance. + + + :param ps_mem_util: The ps_mem_util of this ApPerformance. # noqa: E501 + :type: list[PerProcessUtilization] + """ + + self._ps_mem_util = ps_mem_util + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ApPerformance, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ApPerformance): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/ap_ssid_metrics.py b/libs/cloudapi/cloudsdk/swagger_client/models/ap_ssid_metrics.py new file mode 100644 index 000000000..7307434d8 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/ap_ssid_metrics.py @@ -0,0 +1,137 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ApSsidMetrics(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'ssid_stats': 'ListOfSsidStatisticsPerRadioMap' + } + + attribute_map = { + 'model_type': 'model_type', + 'ssid_stats': 'ssidStats' + } + + def __init__(self, model_type=None, ssid_stats=None): # noqa: E501 + """ApSsidMetrics - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._ssid_stats = None + self.discriminator = None + self.model_type = model_type + if ssid_stats is not None: + self.ssid_stats = ssid_stats + + @property + def model_type(self): + """Gets the model_type of this ApSsidMetrics. # noqa: E501 + + + :return: The model_type of this ApSsidMetrics. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this ApSsidMetrics. + + + :param model_type: The model_type of this ApSsidMetrics. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + + self._model_type = model_type + + @property + def ssid_stats(self): + """Gets the ssid_stats of this ApSsidMetrics. # noqa: E501 + + + :return: The ssid_stats of this ApSsidMetrics. # noqa: E501 + :rtype: ListOfSsidStatisticsPerRadioMap + """ + return self._ssid_stats + + @ssid_stats.setter + def ssid_stats(self, ssid_stats): + """Sets the ssid_stats of this ApSsidMetrics. + + + :param ssid_stats: The ssid_stats of this ApSsidMetrics. # noqa: E501 + :type: ListOfSsidStatisticsPerRadioMap + """ + + self._ssid_stats = ssid_stats + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ApSsidMetrics, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ApSsidMetrics): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/auto_or_manual_string.py b/libs/cloudapi/cloudsdk/swagger_client/models/auto_or_manual_string.py new file mode 100644 index 000000000..9e02a99d0 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/auto_or_manual_string.py @@ -0,0 +1,136 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class AutoOrManualString(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'auto': 'bool', + 'value': 'str' + } + + attribute_map = { + 'auto': 'auto', + 'value': 'value' + } + + def __init__(self, auto=None, value=None): # noqa: E501 + """AutoOrManualString - a model defined in Swagger""" # noqa: E501 + self._auto = None + self._value = None + self.discriminator = None + if auto is not None: + self.auto = auto + if value is not None: + self.value = value + + @property + def auto(self): + """Gets the auto of this AutoOrManualString. # noqa: E501 + + + :return: The auto of this AutoOrManualString. # noqa: E501 + :rtype: bool + """ + return self._auto + + @auto.setter + def auto(self, auto): + """Sets the auto of this AutoOrManualString. + + + :param auto: The auto of this AutoOrManualString. # noqa: E501 + :type: bool + """ + + self._auto = auto + + @property + def value(self): + """Gets the value of this AutoOrManualString. # noqa: E501 + + + :return: The value of this AutoOrManualString. # noqa: E501 + :rtype: str + """ + return self._value + + @value.setter + def value(self, value): + """Sets the value of this AutoOrManualString. + + + :param value: The value of this AutoOrManualString. # noqa: E501 + :type: str + """ + + self._value = value + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(AutoOrManualString, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, AutoOrManualString): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/auto_or_manual_value.py b/libs/cloudapi/cloudsdk/swagger_client/models/auto_or_manual_value.py new file mode 100644 index 000000000..181949106 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/auto_or_manual_value.py @@ -0,0 +1,136 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class AutoOrManualValue(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'auto': 'bool', + 'value': 'int' + } + + attribute_map = { + 'auto': 'auto', + 'value': 'value' + } + + def __init__(self, auto=None, value=None): # noqa: E501 + """AutoOrManualValue - a model defined in Swagger""" # noqa: E501 + self._auto = None + self._value = None + self.discriminator = None + if auto is not None: + self.auto = auto + if value is not None: + self.value = value + + @property + def auto(self): + """Gets the auto of this AutoOrManualValue. # noqa: E501 + + + :return: The auto of this AutoOrManualValue. # noqa: E501 + :rtype: bool + """ + return self._auto + + @auto.setter + def auto(self, auto): + """Sets the auto of this AutoOrManualValue. + + + :param auto: The auto of this AutoOrManualValue. # noqa: E501 + :type: bool + """ + + self._auto = auto + + @property + def value(self): + """Gets the value of this AutoOrManualValue. # noqa: E501 + + + :return: The value of this AutoOrManualValue. # noqa: E501 + :rtype: int + """ + return self._value + + @value.setter + def value(self, value): + """Sets the value of this AutoOrManualValue. + + + :param value: The value of this AutoOrManualValue. # noqa: E501 + :type: int + """ + + self._value = value + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(AutoOrManualValue, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, AutoOrManualValue): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/background_position.py b/libs/cloudapi/cloudsdk/swagger_client/models/background_position.py new file mode 100644 index 000000000..db6cd6b2c --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/background_position.py @@ -0,0 +1,97 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class BackgroundPosition(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + LEFT_TOP = "left_top" + LEFT_CENTER = "left_center" + LEFT_BOTTOM = "left_bottom" + RIGHT_TOP = "right_top" + RIGHT_CENTER = "right_center" + RIGHT_BOTTOM = "right_bottom" + CENTER_TOP = "center_top" + CENTER_CENTER = "center_center" + CENTER_BOTTOM = "center_bottom" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """BackgroundPosition - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(BackgroundPosition, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, BackgroundPosition): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/background_repeat.py b/libs/cloudapi/cloudsdk/swagger_client/models/background_repeat.py new file mode 100644 index 000000000..2db796f53 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/background_repeat.py @@ -0,0 +1,95 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class BackgroundRepeat(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + REPEAT_X = "repeat_x" + REPEAT_Y = "repeat_y" + REPEAT = "repeat" + SPACE = "space" + ROUND = "round" + NO_REPEAT = "no_repeat" + COVER = "cover" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """BackgroundRepeat - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(BackgroundRepeat, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, BackgroundRepeat): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/banned_channel.py b/libs/cloudapi/cloudsdk/swagger_client/models/banned_channel.py new file mode 100644 index 000000000..cb7bf12f1 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/banned_channel.py @@ -0,0 +1,136 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class BannedChannel(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'channel_number': 'int', + 'banned_on_epoc': 'int' + } + + attribute_map = { + 'channel_number': 'channelNumber', + 'banned_on_epoc': 'bannedOnEpoc' + } + + def __init__(self, channel_number=None, banned_on_epoc=None): # noqa: E501 + """BannedChannel - a model defined in Swagger""" # noqa: E501 + self._channel_number = None + self._banned_on_epoc = None + self.discriminator = None + if channel_number is not None: + self.channel_number = channel_number + if banned_on_epoc is not None: + self.banned_on_epoc = banned_on_epoc + + @property + def channel_number(self): + """Gets the channel_number of this BannedChannel. # noqa: E501 + + + :return: The channel_number of this BannedChannel. # noqa: E501 + :rtype: int + """ + return self._channel_number + + @channel_number.setter + def channel_number(self, channel_number): + """Sets the channel_number of this BannedChannel. + + + :param channel_number: The channel_number of this BannedChannel. # noqa: E501 + :type: int + """ + + self._channel_number = channel_number + + @property + def banned_on_epoc(self): + """Gets the banned_on_epoc of this BannedChannel. # noqa: E501 + + + :return: The banned_on_epoc of this BannedChannel. # noqa: E501 + :rtype: int + """ + return self._banned_on_epoc + + @banned_on_epoc.setter + def banned_on_epoc(self, banned_on_epoc): + """Sets the banned_on_epoc of this BannedChannel. + + + :param banned_on_epoc: The banned_on_epoc of this BannedChannel. # noqa: E501 + :type: int + """ + + self._banned_on_epoc = banned_on_epoc + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(BannedChannel, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, BannedChannel): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/base_dhcp_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/base_dhcp_event.py new file mode 100644 index 000000000..9f2dcbe33 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/base_dhcp_event.py @@ -0,0 +1,377 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class BaseDhcpEvent(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'all_of': 'SystemEvent', + 'x_id': 'int', + 'vlan_id': 'int', + 'dhcp_server_ip': 'str', + 'client_ip': 'str', + 'relay_ip': 'str', + 'client_mac_address': 'MacAddress', + 'session_id': 'int', + 'customer_id': 'int', + 'equipment_id': 'int' + } + + attribute_map = { + 'model_type': 'model_type', + 'all_of': 'allOf', + 'x_id': 'xId', + 'vlan_id': 'vlanId', + 'dhcp_server_ip': 'dhcpServerIp', + 'client_ip': 'clientIp', + 'relay_ip': 'relayIp', + 'client_mac_address': 'clientMacAddress', + 'session_id': 'sessionId', + 'customer_id': 'customerId', + 'equipment_id': 'equipmentId' + } + + def __init__(self, model_type=None, all_of=None, x_id=None, vlan_id=None, dhcp_server_ip=None, client_ip=None, relay_ip=None, client_mac_address=None, session_id=None, customer_id=None, equipment_id=None): # noqa: E501 + """BaseDhcpEvent - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._all_of = None + self._x_id = None + self._vlan_id = None + self._dhcp_server_ip = None + self._client_ip = None + self._relay_ip = None + self._client_mac_address = None + self._session_id = None + self._customer_id = None + self._equipment_id = None + self.discriminator = None + self.model_type = model_type + if all_of is not None: + self.all_of = all_of + if x_id is not None: + self.x_id = x_id + if vlan_id is not None: + self.vlan_id = vlan_id + if dhcp_server_ip is not None: + self.dhcp_server_ip = dhcp_server_ip + if client_ip is not None: + self.client_ip = client_ip + if relay_ip is not None: + self.relay_ip = relay_ip + if client_mac_address is not None: + self.client_mac_address = client_mac_address + if session_id is not None: + self.session_id = session_id + if customer_id is not None: + self.customer_id = customer_id + if equipment_id is not None: + self.equipment_id = equipment_id + + @property + def model_type(self): + """Gets the model_type of this BaseDhcpEvent. # noqa: E501 + + + :return: The model_type of this BaseDhcpEvent. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this BaseDhcpEvent. + + + :param model_type: The model_type of this BaseDhcpEvent. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + + self._model_type = model_type + + @property + def all_of(self): + """Gets the all_of of this BaseDhcpEvent. # noqa: E501 + + + :return: The all_of of this BaseDhcpEvent. # noqa: E501 + :rtype: SystemEvent + """ + return self._all_of + + @all_of.setter + def all_of(self, all_of): + """Sets the all_of of this BaseDhcpEvent. + + + :param all_of: The all_of of this BaseDhcpEvent. # noqa: E501 + :type: SystemEvent + """ + + self._all_of = all_of + + @property + def x_id(self): + """Gets the x_id of this BaseDhcpEvent. # noqa: E501 + + + :return: The x_id of this BaseDhcpEvent. # noqa: E501 + :rtype: int + """ + return self._x_id + + @x_id.setter + def x_id(self, x_id): + """Sets the x_id of this BaseDhcpEvent. + + + :param x_id: The x_id of this BaseDhcpEvent. # noqa: E501 + :type: int + """ + + self._x_id = x_id + + @property + def vlan_id(self): + """Gets the vlan_id of this BaseDhcpEvent. # noqa: E501 + + + :return: The vlan_id of this BaseDhcpEvent. # noqa: E501 + :rtype: int + """ + return self._vlan_id + + @vlan_id.setter + def vlan_id(self, vlan_id): + """Sets the vlan_id of this BaseDhcpEvent. + + + :param vlan_id: The vlan_id of this BaseDhcpEvent. # noqa: E501 + :type: int + """ + + self._vlan_id = vlan_id + + @property + def dhcp_server_ip(self): + """Gets the dhcp_server_ip of this BaseDhcpEvent. # noqa: E501 + + string representing InetAddress # noqa: E501 + + :return: The dhcp_server_ip of this BaseDhcpEvent. # noqa: E501 + :rtype: str + """ + return self._dhcp_server_ip + + @dhcp_server_ip.setter + def dhcp_server_ip(self, dhcp_server_ip): + """Sets the dhcp_server_ip of this BaseDhcpEvent. + + string representing InetAddress # noqa: E501 + + :param dhcp_server_ip: The dhcp_server_ip of this BaseDhcpEvent. # noqa: E501 + :type: str + """ + + self._dhcp_server_ip = dhcp_server_ip + + @property + def client_ip(self): + """Gets the client_ip of this BaseDhcpEvent. # noqa: E501 + + string representing InetAddress # noqa: E501 + + :return: The client_ip of this BaseDhcpEvent. # noqa: E501 + :rtype: str + """ + return self._client_ip + + @client_ip.setter + def client_ip(self, client_ip): + """Sets the client_ip of this BaseDhcpEvent. + + string representing InetAddress # noqa: E501 + + :param client_ip: The client_ip of this BaseDhcpEvent. # noqa: E501 + :type: str + """ + + self._client_ip = client_ip + + @property + def relay_ip(self): + """Gets the relay_ip of this BaseDhcpEvent. # noqa: E501 + + string representing InetAddress # noqa: E501 + + :return: The relay_ip of this BaseDhcpEvent. # noqa: E501 + :rtype: str + """ + return self._relay_ip + + @relay_ip.setter + def relay_ip(self, relay_ip): + """Sets the relay_ip of this BaseDhcpEvent. + + string representing InetAddress # noqa: E501 + + :param relay_ip: The relay_ip of this BaseDhcpEvent. # noqa: E501 + :type: str + """ + + self._relay_ip = relay_ip + + @property + def client_mac_address(self): + """Gets the client_mac_address of this BaseDhcpEvent. # noqa: E501 + + + :return: The client_mac_address of this BaseDhcpEvent. # noqa: E501 + :rtype: MacAddress + """ + return self._client_mac_address + + @client_mac_address.setter + def client_mac_address(self, client_mac_address): + """Sets the client_mac_address of this BaseDhcpEvent. + + + :param client_mac_address: The client_mac_address of this BaseDhcpEvent. # noqa: E501 + :type: MacAddress + """ + + self._client_mac_address = client_mac_address + + @property + def session_id(self): + """Gets the session_id of this BaseDhcpEvent. # noqa: E501 + + + :return: The session_id of this BaseDhcpEvent. # noqa: E501 + :rtype: int + """ + return self._session_id + + @session_id.setter + def session_id(self, session_id): + """Sets the session_id of this BaseDhcpEvent. + + + :param session_id: The session_id of this BaseDhcpEvent. # noqa: E501 + :type: int + """ + + self._session_id = session_id + + @property + def customer_id(self): + """Gets the customer_id of this BaseDhcpEvent. # noqa: E501 + + + :return: The customer_id of this BaseDhcpEvent. # noqa: E501 + :rtype: int + """ + return self._customer_id + + @customer_id.setter + def customer_id(self, customer_id): + """Sets the customer_id of this BaseDhcpEvent. + + + :param customer_id: The customer_id of this BaseDhcpEvent. # noqa: E501 + :type: int + """ + + self._customer_id = customer_id + + @property + def equipment_id(self): + """Gets the equipment_id of this BaseDhcpEvent. # noqa: E501 + + + :return: The equipment_id of this BaseDhcpEvent. # noqa: E501 + :rtype: int + """ + return self._equipment_id + + @equipment_id.setter + def equipment_id(self, equipment_id): + """Sets the equipment_id of this BaseDhcpEvent. + + + :param equipment_id: The equipment_id of this BaseDhcpEvent. # noqa: E501 + :type: int + """ + + self._equipment_id = equipment_id + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(BaseDhcpEvent, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, BaseDhcpEvent): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/best_ap_steer_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/best_ap_steer_type.py new file mode 100644 index 000000000..eb9dd6416 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/best_ap_steer_type.py @@ -0,0 +1,91 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class BestAPSteerType(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + BOTH = "both" + LOADBALANCEONLY = "loadBalanceOnly" + LINKQUALITYONLY = "linkQualityOnly" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """BestAPSteerType - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(BestAPSteerType, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, BestAPSteerType): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/blocklist_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/blocklist_details.py new file mode 100644 index 000000000..842ab7654 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/blocklist_details.py @@ -0,0 +1,168 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class BlocklistDetails(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'enabled': 'bool', + 'start_time': 'int', + 'end_time': 'int' + } + + attribute_map = { + 'enabled': 'enabled', + 'start_time': 'startTime', + 'end_time': 'endTime' + } + + def __init__(self, enabled=None, start_time=None, end_time=None): # noqa: E501 + """BlocklistDetails - a model defined in Swagger""" # noqa: E501 + self._enabled = None + self._start_time = None + self._end_time = None + self.discriminator = None + if enabled is not None: + self.enabled = enabled + if start_time is not None: + self.start_time = start_time + if end_time is not None: + self.end_time = end_time + + @property + def enabled(self): + """Gets the enabled of this BlocklistDetails. # noqa: E501 + + When enabled, blocklisting applies to the client, subject to the optional start/end times. # noqa: E501 + + :return: The enabled of this BlocklistDetails. # noqa: E501 + :rtype: bool + """ + return self._enabled + + @enabled.setter + def enabled(self, enabled): + """Sets the enabled of this BlocklistDetails. + + When enabled, blocklisting applies to the client, subject to the optional start/end times. # noqa: E501 + + :param enabled: The enabled of this BlocklistDetails. # noqa: E501 + :type: bool + """ + + self._enabled = enabled + + @property + def start_time(self): + """Gets the start_time of this BlocklistDetails. # noqa: E501 + + Optional startTime when blocklisting becomes enabled. # noqa: E501 + + :return: The start_time of this BlocklistDetails. # noqa: E501 + :rtype: int + """ + return self._start_time + + @start_time.setter + def start_time(self, start_time): + """Sets the start_time of this BlocklistDetails. + + Optional startTime when blocklisting becomes enabled. # noqa: E501 + + :param start_time: The start_time of this BlocklistDetails. # noqa: E501 + :type: int + """ + + self._start_time = start_time + + @property + def end_time(self): + """Gets the end_time of this BlocklistDetails. # noqa: E501 + + Optional endTime when blocklisting ceases to be enabled # noqa: E501 + + :return: The end_time of this BlocklistDetails. # noqa: E501 + :rtype: int + """ + return self._end_time + + @end_time.setter + def end_time(self, end_time): + """Sets the end_time of this BlocklistDetails. + + Optional endTime when blocklisting ceases to be enabled # noqa: E501 + + :param end_time: The end_time of this BlocklistDetails. # noqa: E501 + :type: int + """ + + self._end_time = end_time + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(BlocklistDetails, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, BlocklistDetails): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/bonjour_gateway_profile.py b/libs/cloudapi/cloudsdk/swagger_client/models/bonjour_gateway_profile.py new file mode 100644 index 000000000..1e4a9e889 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/bonjour_gateway_profile.py @@ -0,0 +1,174 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six +from swagger_client.models.profile_details import ProfileDetails # noqa: F401,E501 + +class BonjourGatewayProfile(ProfileDetails): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'profile_description': 'str', + 'bonjour_services': 'list[BonjourServiceSet]' + } + if hasattr(ProfileDetails, "swagger_types"): + swagger_types.update(ProfileDetails.swagger_types) + + attribute_map = { + 'model_type': 'model_type', + 'profile_description': 'profileDescription', + 'bonjour_services': 'bonjourServices' + } + if hasattr(ProfileDetails, "attribute_map"): + attribute_map.update(ProfileDetails.attribute_map) + + def __init__(self, model_type=None, profile_description=None, bonjour_services=None, *args, **kwargs): # noqa: E501 + """BonjourGatewayProfile - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._profile_description = None + self._bonjour_services = None + self.discriminator = None + if model_type is not None: + self.model_type = model_type + if profile_description is not None: + self.profile_description = profile_description + if bonjour_services is not None: + self.bonjour_services = bonjour_services + ProfileDetails.__init__(self, *args, **kwargs) + + @property + def model_type(self): + """Gets the model_type of this BonjourGatewayProfile. # noqa: E501 + + + :return: The model_type of this BonjourGatewayProfile. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this BonjourGatewayProfile. + + + :param model_type: The model_type of this BonjourGatewayProfile. # noqa: E501 + :type: str + """ + allowed_values = ["BonjourGatewayProfile"] # noqa: E501 + if model_type not in allowed_values: + raise ValueError( + "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 + .format(model_type, allowed_values) + ) + + self._model_type = model_type + + @property + def profile_description(self): + """Gets the profile_description of this BonjourGatewayProfile. # noqa: E501 + + + :return: The profile_description of this BonjourGatewayProfile. # noqa: E501 + :rtype: str + """ + return self._profile_description + + @profile_description.setter + def profile_description(self, profile_description): + """Sets the profile_description of this BonjourGatewayProfile. + + + :param profile_description: The profile_description of this BonjourGatewayProfile. # noqa: E501 + :type: str + """ + + self._profile_description = profile_description + + @property + def bonjour_services(self): + """Gets the bonjour_services of this BonjourGatewayProfile. # noqa: E501 + + + :return: The bonjour_services of this BonjourGatewayProfile. # noqa: E501 + :rtype: list[BonjourServiceSet] + """ + return self._bonjour_services + + @bonjour_services.setter + def bonjour_services(self, bonjour_services): + """Sets the bonjour_services of this BonjourGatewayProfile. + + + :param bonjour_services: The bonjour_services of this BonjourGatewayProfile. # noqa: E501 + :type: list[BonjourServiceSet] + """ + + self._bonjour_services = bonjour_services + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(BonjourGatewayProfile, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, BonjourGatewayProfile): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/bonjour_service_set.py b/libs/cloudapi/cloudsdk/swagger_client/models/bonjour_service_set.py new file mode 100644 index 000000000..8b3598d5c --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/bonjour_service_set.py @@ -0,0 +1,162 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class BonjourServiceSet(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'vlan_id': 'int', + 'support_all_services': 'bool', + 'service_names': 'list[str]' + } + + attribute_map = { + 'vlan_id': 'vlanId', + 'support_all_services': 'supportAllServices', + 'service_names': 'serviceNames' + } + + def __init__(self, vlan_id=None, support_all_services=None, service_names=None): # noqa: E501 + """BonjourServiceSet - a model defined in Swagger""" # noqa: E501 + self._vlan_id = None + self._support_all_services = None + self._service_names = None + self.discriminator = None + if vlan_id is not None: + self.vlan_id = vlan_id + if support_all_services is not None: + self.support_all_services = support_all_services + if service_names is not None: + self.service_names = service_names + + @property + def vlan_id(self): + """Gets the vlan_id of this BonjourServiceSet. # noqa: E501 + + + :return: The vlan_id of this BonjourServiceSet. # noqa: E501 + :rtype: int + """ + return self._vlan_id + + @vlan_id.setter + def vlan_id(self, vlan_id): + """Sets the vlan_id of this BonjourServiceSet. + + + :param vlan_id: The vlan_id of this BonjourServiceSet. # noqa: E501 + :type: int + """ + + self._vlan_id = vlan_id + + @property + def support_all_services(self): + """Gets the support_all_services of this BonjourServiceSet. # noqa: E501 + + + :return: The support_all_services of this BonjourServiceSet. # noqa: E501 + :rtype: bool + """ + return self._support_all_services + + @support_all_services.setter + def support_all_services(self, support_all_services): + """Sets the support_all_services of this BonjourServiceSet. + + + :param support_all_services: The support_all_services of this BonjourServiceSet. # noqa: E501 + :type: bool + """ + + self._support_all_services = support_all_services + + @property + def service_names(self): + """Gets the service_names of this BonjourServiceSet. # noqa: E501 + + + :return: The service_names of this BonjourServiceSet. # noqa: E501 + :rtype: list[str] + """ + return self._service_names + + @service_names.setter + def service_names(self, service_names): + """Sets the service_names of this BonjourServiceSet. + + + :param service_names: The service_names of this BonjourServiceSet. # noqa: E501 + :type: list[str] + """ + + self._service_names = service_names + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(BonjourServiceSet, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, BonjourServiceSet): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/capacity_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/capacity_details.py new file mode 100644 index 000000000..f56455313 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/capacity_details.py @@ -0,0 +1,110 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class CapacityDetails(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'per_radio_details': 'CapacityPerRadioDetailsMap' + } + + attribute_map = { + 'per_radio_details': 'perRadioDetails' + } + + def __init__(self, per_radio_details=None): # noqa: E501 + """CapacityDetails - a model defined in Swagger""" # noqa: E501 + self._per_radio_details = None + self.discriminator = None + if per_radio_details is not None: + self.per_radio_details = per_radio_details + + @property + def per_radio_details(self): + """Gets the per_radio_details of this CapacityDetails. # noqa: E501 + + + :return: The per_radio_details of this CapacityDetails. # noqa: E501 + :rtype: CapacityPerRadioDetailsMap + """ + return self._per_radio_details + + @per_radio_details.setter + def per_radio_details(self, per_radio_details): + """Sets the per_radio_details of this CapacityDetails. + + + :param per_radio_details: The per_radio_details of this CapacityDetails. # noqa: E501 + :type: CapacityPerRadioDetailsMap + """ + + self._per_radio_details = per_radio_details + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(CapacityDetails, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, CapacityDetails): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/capacity_per_radio_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/capacity_per_radio_details.py new file mode 100644 index 000000000..050b54c9b --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/capacity_per_radio_details.py @@ -0,0 +1,214 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class CapacityPerRadioDetails(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'total_capacity': 'int', + 'available_capacity': 'MinMaxAvgValueInt', + 'unavailable_capacity': 'MinMaxAvgValueInt', + 'used_capacity': 'MinMaxAvgValueInt', + 'unused_capacity': 'MinMaxAvgValueInt' + } + + attribute_map = { + 'total_capacity': 'totalCapacity', + 'available_capacity': 'availableCapacity', + 'unavailable_capacity': 'unavailableCapacity', + 'used_capacity': 'usedCapacity', + 'unused_capacity': 'unusedCapacity' + } + + def __init__(self, total_capacity=None, available_capacity=None, unavailable_capacity=None, used_capacity=None, unused_capacity=None): # noqa: E501 + """CapacityPerRadioDetails - a model defined in Swagger""" # noqa: E501 + self._total_capacity = None + self._available_capacity = None + self._unavailable_capacity = None + self._used_capacity = None + self._unused_capacity = None + self.discriminator = None + if total_capacity is not None: + self.total_capacity = total_capacity + if available_capacity is not None: + self.available_capacity = available_capacity + if unavailable_capacity is not None: + self.unavailable_capacity = unavailable_capacity + if used_capacity is not None: + self.used_capacity = used_capacity + if unused_capacity is not None: + self.unused_capacity = unused_capacity + + @property + def total_capacity(self): + """Gets the total_capacity of this CapacityPerRadioDetails. # noqa: E501 + + + :return: The total_capacity of this CapacityPerRadioDetails. # noqa: E501 + :rtype: int + """ + return self._total_capacity + + @total_capacity.setter + def total_capacity(self, total_capacity): + """Sets the total_capacity of this CapacityPerRadioDetails. + + + :param total_capacity: The total_capacity of this CapacityPerRadioDetails. # noqa: E501 + :type: int + """ + + self._total_capacity = total_capacity + + @property + def available_capacity(self): + """Gets the available_capacity of this CapacityPerRadioDetails. # noqa: E501 + + + :return: The available_capacity of this CapacityPerRadioDetails. # noqa: E501 + :rtype: MinMaxAvgValueInt + """ + return self._available_capacity + + @available_capacity.setter + def available_capacity(self, available_capacity): + """Sets the available_capacity of this CapacityPerRadioDetails. + + + :param available_capacity: The available_capacity of this CapacityPerRadioDetails. # noqa: E501 + :type: MinMaxAvgValueInt + """ + + self._available_capacity = available_capacity + + @property + def unavailable_capacity(self): + """Gets the unavailable_capacity of this CapacityPerRadioDetails. # noqa: E501 + + + :return: The unavailable_capacity of this CapacityPerRadioDetails. # noqa: E501 + :rtype: MinMaxAvgValueInt + """ + return self._unavailable_capacity + + @unavailable_capacity.setter + def unavailable_capacity(self, unavailable_capacity): + """Sets the unavailable_capacity of this CapacityPerRadioDetails. + + + :param unavailable_capacity: The unavailable_capacity of this CapacityPerRadioDetails. # noqa: E501 + :type: MinMaxAvgValueInt + """ + + self._unavailable_capacity = unavailable_capacity + + @property + def used_capacity(self): + """Gets the used_capacity of this CapacityPerRadioDetails. # noqa: E501 + + + :return: The used_capacity of this CapacityPerRadioDetails. # noqa: E501 + :rtype: MinMaxAvgValueInt + """ + return self._used_capacity + + @used_capacity.setter + def used_capacity(self, used_capacity): + """Sets the used_capacity of this CapacityPerRadioDetails. + + + :param used_capacity: The used_capacity of this CapacityPerRadioDetails. # noqa: E501 + :type: MinMaxAvgValueInt + """ + + self._used_capacity = used_capacity + + @property + def unused_capacity(self): + """Gets the unused_capacity of this CapacityPerRadioDetails. # noqa: E501 + + + :return: The unused_capacity of this CapacityPerRadioDetails. # noqa: E501 + :rtype: MinMaxAvgValueInt + """ + return self._unused_capacity + + @unused_capacity.setter + def unused_capacity(self, unused_capacity): + """Sets the unused_capacity of this CapacityPerRadioDetails. + + + :param unused_capacity: The unused_capacity of this CapacityPerRadioDetails. # noqa: E501 + :type: MinMaxAvgValueInt + """ + + self._unused_capacity = unused_capacity + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(CapacityPerRadioDetails, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, CapacityPerRadioDetails): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/capacity_per_radio_details_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/capacity_per_radio_details_map.py new file mode 100644 index 000000000..6a267b9d8 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/capacity_per_radio_details_map.py @@ -0,0 +1,188 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class CapacityPerRadioDetailsMap(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'is5_g_hz': 'CapacityPerRadioDetails', + 'is5_g_hz_u': 'CapacityPerRadioDetails', + 'is5_g_hz_l': 'CapacityPerRadioDetails', + 'is2dot4_g_hz': 'CapacityPerRadioDetails' + } + + attribute_map = { + 'is5_g_hz': 'is5GHz', + 'is5_g_hz_u': 'is5GHzU', + 'is5_g_hz_l': 'is5GHzL', + 'is2dot4_g_hz': 'is2dot4GHz' + } + + def __init__(self, is5_g_hz=None, is5_g_hz_u=None, is5_g_hz_l=None, is2dot4_g_hz=None): # noqa: E501 + """CapacityPerRadioDetailsMap - a model defined in Swagger""" # noqa: E501 + self._is5_g_hz = None + self._is5_g_hz_u = None + self._is5_g_hz_l = None + self._is2dot4_g_hz = None + self.discriminator = None + if is5_g_hz is not None: + self.is5_g_hz = is5_g_hz + if is5_g_hz_u is not None: + self.is5_g_hz_u = is5_g_hz_u + if is5_g_hz_l is not None: + self.is5_g_hz_l = is5_g_hz_l + if is2dot4_g_hz is not None: + self.is2dot4_g_hz = is2dot4_g_hz + + @property + def is5_g_hz(self): + """Gets the is5_g_hz of this CapacityPerRadioDetailsMap. # noqa: E501 + + + :return: The is5_g_hz of this CapacityPerRadioDetailsMap. # noqa: E501 + :rtype: CapacityPerRadioDetails + """ + return self._is5_g_hz + + @is5_g_hz.setter + def is5_g_hz(self, is5_g_hz): + """Sets the is5_g_hz of this CapacityPerRadioDetailsMap. + + + :param is5_g_hz: The is5_g_hz of this CapacityPerRadioDetailsMap. # noqa: E501 + :type: CapacityPerRadioDetails + """ + + self._is5_g_hz = is5_g_hz + + @property + def is5_g_hz_u(self): + """Gets the is5_g_hz_u of this CapacityPerRadioDetailsMap. # noqa: E501 + + + :return: The is5_g_hz_u of this CapacityPerRadioDetailsMap. # noqa: E501 + :rtype: CapacityPerRadioDetails + """ + return self._is5_g_hz_u + + @is5_g_hz_u.setter + def is5_g_hz_u(self, is5_g_hz_u): + """Sets the is5_g_hz_u of this CapacityPerRadioDetailsMap. + + + :param is5_g_hz_u: The is5_g_hz_u of this CapacityPerRadioDetailsMap. # noqa: E501 + :type: CapacityPerRadioDetails + """ + + self._is5_g_hz_u = is5_g_hz_u + + @property + def is5_g_hz_l(self): + """Gets the is5_g_hz_l of this CapacityPerRadioDetailsMap. # noqa: E501 + + + :return: The is5_g_hz_l of this CapacityPerRadioDetailsMap. # noqa: E501 + :rtype: CapacityPerRadioDetails + """ + return self._is5_g_hz_l + + @is5_g_hz_l.setter + def is5_g_hz_l(self, is5_g_hz_l): + """Sets the is5_g_hz_l of this CapacityPerRadioDetailsMap. + + + :param is5_g_hz_l: The is5_g_hz_l of this CapacityPerRadioDetailsMap. # noqa: E501 + :type: CapacityPerRadioDetails + """ + + self._is5_g_hz_l = is5_g_hz_l + + @property + def is2dot4_g_hz(self): + """Gets the is2dot4_g_hz of this CapacityPerRadioDetailsMap. # noqa: E501 + + + :return: The is2dot4_g_hz of this CapacityPerRadioDetailsMap. # noqa: E501 + :rtype: CapacityPerRadioDetails + """ + return self._is2dot4_g_hz + + @is2dot4_g_hz.setter + def is2dot4_g_hz(self, is2dot4_g_hz): + """Sets the is2dot4_g_hz of this CapacityPerRadioDetailsMap. + + + :param is2dot4_g_hz: The is2dot4_g_hz of this CapacityPerRadioDetailsMap. # noqa: E501 + :type: CapacityPerRadioDetails + """ + + self._is2dot4_g_hz = is2dot4_g_hz + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(CapacityPerRadioDetailsMap, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, CapacityPerRadioDetailsMap): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/captive_portal_authentication_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/captive_portal_authentication_type.py new file mode 100644 index 000000000..dfbff540a --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/captive_portal_authentication_type.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class CaptivePortalAuthenticationType(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + GUEST = "guest" + USERNAME = "username" + RADIUS = "radius" + EXTERNAL = "external" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """CaptivePortalAuthenticationType - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(CaptivePortalAuthenticationType, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, CaptivePortalAuthenticationType): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/captive_portal_configuration.py b/libs/cloudapi/cloudsdk/swagger_client/models/captive_portal_configuration.py new file mode 100644 index 000000000..65342b9eb --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/captive_portal_configuration.py @@ -0,0 +1,668 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six +from swagger_client.models.profile_details import ProfileDetails # noqa: F401,E501 + +class CaptivePortalConfiguration(ProfileDetails): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'browser_title': 'str', + 'header_content': 'str', + 'user_acceptance_policy': 'str', + 'success_page_markdown_text': 'str', + 'redirect_url': 'str', + 'external_captive_portal_url': 'str', + 'session_timeout_in_minutes': 'int', + 'logo_file': 'ManagedFileInfo', + 'background_file': 'ManagedFileInfo', + 'walled_garden_allowlist': 'list[str]', + 'username_password_file': 'ManagedFileInfo', + 'authentication_type': 'CaptivePortalAuthenticationType', + 'radius_auth_method': 'RadiusAuthenticationMethod', + 'max_users_with_same_credentials': 'int', + 'external_policy_file': 'ManagedFileInfo', + 'background_position': 'BackgroundPosition', + 'background_repeat': 'BackgroundRepeat', + 'radius_service_id': 'int', + 'expiry_type': 'SessionExpiryType', + 'user_list': 'list[TimedAccessUserRecord]', + 'mac_allow_list': 'list[MacAllowlistRecord]' + } + if hasattr(ProfileDetails, "swagger_types"): + swagger_types.update(ProfileDetails.swagger_types) + + attribute_map = { + 'model_type': 'model_type', + 'browser_title': 'browserTitle', + 'header_content': 'headerContent', + 'user_acceptance_policy': 'userAcceptancePolicy', + 'success_page_markdown_text': 'successPageMarkdownText', + 'redirect_url': 'redirectURL', + 'external_captive_portal_url': 'externalCaptivePortalURL', + 'session_timeout_in_minutes': 'sessionTimeoutInMinutes', + 'logo_file': 'logoFile', + 'background_file': 'backgroundFile', + 'walled_garden_allowlist': 'walledGardenAllowlist', + 'username_password_file': 'usernamePasswordFile', + 'authentication_type': 'authenticationType', + 'radius_auth_method': 'radiusAuthMethod', + 'max_users_with_same_credentials': 'maxUsersWithSameCredentials', + 'external_policy_file': 'externalPolicyFile', + 'background_position': 'backgroundPosition', + 'background_repeat': 'backgroundRepeat', + 'radius_service_id': 'radiusServiceId', + 'expiry_type': 'expiryType', + 'user_list': 'userList', + 'mac_allow_list': 'macAllowList' + } + if hasattr(ProfileDetails, "attribute_map"): + attribute_map.update(ProfileDetails.attribute_map) + + def __init__(self, model_type=None, browser_title=None, header_content=None, user_acceptance_policy=None, success_page_markdown_text=None, redirect_url=None, external_captive_portal_url=None, session_timeout_in_minutes=None, logo_file=None, background_file=None, walled_garden_allowlist=None, username_password_file=None, authentication_type=None, radius_auth_method=None, max_users_with_same_credentials=None, external_policy_file=None, background_position=None, background_repeat=None, radius_service_id=None, expiry_type=None, user_list=None, mac_allow_list=None, *args, **kwargs): # noqa: E501 + """CaptivePortalConfiguration - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._browser_title = None + self._header_content = None + self._user_acceptance_policy = None + self._success_page_markdown_text = None + self._redirect_url = None + self._external_captive_portal_url = None + self._session_timeout_in_minutes = None + self._logo_file = None + self._background_file = None + self._walled_garden_allowlist = None + self._username_password_file = None + self._authentication_type = None + self._radius_auth_method = None + self._max_users_with_same_credentials = None + self._external_policy_file = None + self._background_position = None + self._background_repeat = None + self._radius_service_id = None + self._expiry_type = None + self._user_list = None + self._mac_allow_list = None + self.discriminator = None + if model_type is not None: + self.model_type = model_type + if browser_title is not None: + self.browser_title = browser_title + if header_content is not None: + self.header_content = header_content + if user_acceptance_policy is not None: + self.user_acceptance_policy = user_acceptance_policy + if success_page_markdown_text is not None: + self.success_page_markdown_text = success_page_markdown_text + if redirect_url is not None: + self.redirect_url = redirect_url + if external_captive_portal_url is not None: + self.external_captive_portal_url = external_captive_portal_url + if session_timeout_in_minutes is not None: + self.session_timeout_in_minutes = session_timeout_in_minutes + if logo_file is not None: + self.logo_file = logo_file + if background_file is not None: + self.background_file = background_file + if walled_garden_allowlist is not None: + self.walled_garden_allowlist = walled_garden_allowlist + if username_password_file is not None: + self.username_password_file = username_password_file + if authentication_type is not None: + self.authentication_type = authentication_type + if radius_auth_method is not None: + self.radius_auth_method = radius_auth_method + if max_users_with_same_credentials is not None: + self.max_users_with_same_credentials = max_users_with_same_credentials + if external_policy_file is not None: + self.external_policy_file = external_policy_file + if background_position is not None: + self.background_position = background_position + if background_repeat is not None: + self.background_repeat = background_repeat + if radius_service_id is not None: + self.radius_service_id = radius_service_id + if expiry_type is not None: + self.expiry_type = expiry_type + if user_list is not None: + self.user_list = user_list + if mac_allow_list is not None: + self.mac_allow_list = mac_allow_list + ProfileDetails.__init__(self, *args, **kwargs) + + @property + def model_type(self): + """Gets the model_type of this CaptivePortalConfiguration. # noqa: E501 + + + :return: The model_type of this CaptivePortalConfiguration. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this CaptivePortalConfiguration. + + + :param model_type: The model_type of this CaptivePortalConfiguration. # noqa: E501 + :type: str + """ + allowed_values = ["CaptivePortalConfiguration"] # noqa: E501 + if model_type not in allowed_values: + raise ValueError( + "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 + .format(model_type, allowed_values) + ) + + self._model_type = model_type + + @property + def browser_title(self): + """Gets the browser_title of this CaptivePortalConfiguration. # noqa: E501 + + + :return: The browser_title of this CaptivePortalConfiguration. # noqa: E501 + :rtype: str + """ + return self._browser_title + + @browser_title.setter + def browser_title(self, browser_title): + """Sets the browser_title of this CaptivePortalConfiguration. + + + :param browser_title: The browser_title of this CaptivePortalConfiguration. # noqa: E501 + :type: str + """ + + self._browser_title = browser_title + + @property + def header_content(self): + """Gets the header_content of this CaptivePortalConfiguration. # noqa: E501 + + + :return: The header_content of this CaptivePortalConfiguration. # noqa: E501 + :rtype: str + """ + return self._header_content + + @header_content.setter + def header_content(self, header_content): + """Sets the header_content of this CaptivePortalConfiguration. + + + :param header_content: The header_content of this CaptivePortalConfiguration. # noqa: E501 + :type: str + """ + + self._header_content = header_content + + @property + def user_acceptance_policy(self): + """Gets the user_acceptance_policy of this CaptivePortalConfiguration. # noqa: E501 + + + :return: The user_acceptance_policy of this CaptivePortalConfiguration. # noqa: E501 + :rtype: str + """ + return self._user_acceptance_policy + + @user_acceptance_policy.setter + def user_acceptance_policy(self, user_acceptance_policy): + """Sets the user_acceptance_policy of this CaptivePortalConfiguration. + + + :param user_acceptance_policy: The user_acceptance_policy of this CaptivePortalConfiguration. # noqa: E501 + :type: str + """ + + self._user_acceptance_policy = user_acceptance_policy + + @property + def success_page_markdown_text(self): + """Gets the success_page_markdown_text of this CaptivePortalConfiguration. # noqa: E501 + + + :return: The success_page_markdown_text of this CaptivePortalConfiguration. # noqa: E501 + :rtype: str + """ + return self._success_page_markdown_text + + @success_page_markdown_text.setter + def success_page_markdown_text(self, success_page_markdown_text): + """Sets the success_page_markdown_text of this CaptivePortalConfiguration. + + + :param success_page_markdown_text: The success_page_markdown_text of this CaptivePortalConfiguration. # noqa: E501 + :type: str + """ + + self._success_page_markdown_text = success_page_markdown_text + + @property + def redirect_url(self): + """Gets the redirect_url of this CaptivePortalConfiguration. # noqa: E501 + + + :return: The redirect_url of this CaptivePortalConfiguration. # noqa: E501 + :rtype: str + """ + return self._redirect_url + + @redirect_url.setter + def redirect_url(self, redirect_url): + """Sets the redirect_url of this CaptivePortalConfiguration. + + + :param redirect_url: The redirect_url of this CaptivePortalConfiguration. # noqa: E501 + :type: str + """ + + self._redirect_url = redirect_url + + @property + def external_captive_portal_url(self): + """Gets the external_captive_portal_url of this CaptivePortalConfiguration. # noqa: E501 + + + :return: The external_captive_portal_url of this CaptivePortalConfiguration. # noqa: E501 + :rtype: str + """ + return self._external_captive_portal_url + + @external_captive_portal_url.setter + def external_captive_portal_url(self, external_captive_portal_url): + """Sets the external_captive_portal_url of this CaptivePortalConfiguration. + + + :param external_captive_portal_url: The external_captive_portal_url of this CaptivePortalConfiguration. # noqa: E501 + :type: str + """ + + self._external_captive_portal_url = external_captive_portal_url + + @property + def session_timeout_in_minutes(self): + """Gets the session_timeout_in_minutes of this CaptivePortalConfiguration. # noqa: E501 + + + :return: The session_timeout_in_minutes of this CaptivePortalConfiguration. # noqa: E501 + :rtype: int + """ + return self._session_timeout_in_minutes + + @session_timeout_in_minutes.setter + def session_timeout_in_minutes(self, session_timeout_in_minutes): + """Sets the session_timeout_in_minutes of this CaptivePortalConfiguration. + + + :param session_timeout_in_minutes: The session_timeout_in_minutes of this CaptivePortalConfiguration. # noqa: E501 + :type: int + """ + + self._session_timeout_in_minutes = session_timeout_in_minutes + + @property + def logo_file(self): + """Gets the logo_file of this CaptivePortalConfiguration. # noqa: E501 + + + :return: The logo_file of this CaptivePortalConfiguration. # noqa: E501 + :rtype: ManagedFileInfo + """ + return self._logo_file + + @logo_file.setter + def logo_file(self, logo_file): + """Sets the logo_file of this CaptivePortalConfiguration. + + + :param logo_file: The logo_file of this CaptivePortalConfiguration. # noqa: E501 + :type: ManagedFileInfo + """ + + self._logo_file = logo_file + + @property + def background_file(self): + """Gets the background_file of this CaptivePortalConfiguration. # noqa: E501 + + + :return: The background_file of this CaptivePortalConfiguration. # noqa: E501 + :rtype: ManagedFileInfo + """ + return self._background_file + + @background_file.setter + def background_file(self, background_file): + """Sets the background_file of this CaptivePortalConfiguration. + + + :param background_file: The background_file of this CaptivePortalConfiguration. # noqa: E501 + :type: ManagedFileInfo + """ + + self._background_file = background_file + + @property + def walled_garden_allowlist(self): + """Gets the walled_garden_allowlist of this CaptivePortalConfiguration. # noqa: E501 + + + :return: The walled_garden_allowlist of this CaptivePortalConfiguration. # noqa: E501 + :rtype: list[str] + """ + return self._walled_garden_allowlist + + @walled_garden_allowlist.setter + def walled_garden_allowlist(self, walled_garden_allowlist): + """Sets the walled_garden_allowlist of this CaptivePortalConfiguration. + + + :param walled_garden_allowlist: The walled_garden_allowlist of this CaptivePortalConfiguration. # noqa: E501 + :type: list[str] + """ + + self._walled_garden_allowlist = walled_garden_allowlist + + @property + def username_password_file(self): + """Gets the username_password_file of this CaptivePortalConfiguration. # noqa: E501 + + + :return: The username_password_file of this CaptivePortalConfiguration. # noqa: E501 + :rtype: ManagedFileInfo + """ + return self._username_password_file + + @username_password_file.setter + def username_password_file(self, username_password_file): + """Sets the username_password_file of this CaptivePortalConfiguration. + + + :param username_password_file: The username_password_file of this CaptivePortalConfiguration. # noqa: E501 + :type: ManagedFileInfo + """ + + self._username_password_file = username_password_file + + @property + def authentication_type(self): + """Gets the authentication_type of this CaptivePortalConfiguration. # noqa: E501 + + + :return: The authentication_type of this CaptivePortalConfiguration. # noqa: E501 + :rtype: CaptivePortalAuthenticationType + """ + return self._authentication_type + + @authentication_type.setter + def authentication_type(self, authentication_type): + """Sets the authentication_type of this CaptivePortalConfiguration. + + + :param authentication_type: The authentication_type of this CaptivePortalConfiguration. # noqa: E501 + :type: CaptivePortalAuthenticationType + """ + + self._authentication_type = authentication_type + + @property + def radius_auth_method(self): + """Gets the radius_auth_method of this CaptivePortalConfiguration. # noqa: E501 + + + :return: The radius_auth_method of this CaptivePortalConfiguration. # noqa: E501 + :rtype: RadiusAuthenticationMethod + """ + return self._radius_auth_method + + @radius_auth_method.setter + def radius_auth_method(self, radius_auth_method): + """Sets the radius_auth_method of this CaptivePortalConfiguration. + + + :param radius_auth_method: The radius_auth_method of this CaptivePortalConfiguration. # noqa: E501 + :type: RadiusAuthenticationMethod + """ + + self._radius_auth_method = radius_auth_method + + @property + def max_users_with_same_credentials(self): + """Gets the max_users_with_same_credentials of this CaptivePortalConfiguration. # noqa: E501 + + + :return: The max_users_with_same_credentials of this CaptivePortalConfiguration. # noqa: E501 + :rtype: int + """ + return self._max_users_with_same_credentials + + @max_users_with_same_credentials.setter + def max_users_with_same_credentials(self, max_users_with_same_credentials): + """Sets the max_users_with_same_credentials of this CaptivePortalConfiguration. + + + :param max_users_with_same_credentials: The max_users_with_same_credentials of this CaptivePortalConfiguration. # noqa: E501 + :type: int + """ + + self._max_users_with_same_credentials = max_users_with_same_credentials + + @property + def external_policy_file(self): + """Gets the external_policy_file of this CaptivePortalConfiguration. # noqa: E501 + + + :return: The external_policy_file of this CaptivePortalConfiguration. # noqa: E501 + :rtype: ManagedFileInfo + """ + return self._external_policy_file + + @external_policy_file.setter + def external_policy_file(self, external_policy_file): + """Sets the external_policy_file of this CaptivePortalConfiguration. + + + :param external_policy_file: The external_policy_file of this CaptivePortalConfiguration. # noqa: E501 + :type: ManagedFileInfo + """ + + self._external_policy_file = external_policy_file + + @property + def background_position(self): + """Gets the background_position of this CaptivePortalConfiguration. # noqa: E501 + + + :return: The background_position of this CaptivePortalConfiguration. # noqa: E501 + :rtype: BackgroundPosition + """ + return self._background_position + + @background_position.setter + def background_position(self, background_position): + """Sets the background_position of this CaptivePortalConfiguration. + + + :param background_position: The background_position of this CaptivePortalConfiguration. # noqa: E501 + :type: BackgroundPosition + """ + + self._background_position = background_position + + @property + def background_repeat(self): + """Gets the background_repeat of this CaptivePortalConfiguration. # noqa: E501 + + + :return: The background_repeat of this CaptivePortalConfiguration. # noqa: E501 + :rtype: BackgroundRepeat + """ + return self._background_repeat + + @background_repeat.setter + def background_repeat(self, background_repeat): + """Sets the background_repeat of this CaptivePortalConfiguration. + + + :param background_repeat: The background_repeat of this CaptivePortalConfiguration. # noqa: E501 + :type: BackgroundRepeat + """ + + self._background_repeat = background_repeat + + @property + def radius_service_id(self): + """Gets the radius_service_id of this CaptivePortalConfiguration. # noqa: E501 + + + :return: The radius_service_id of this CaptivePortalConfiguration. # noqa: E501 + :rtype: int + """ + return self._radius_service_id + + @radius_service_id.setter + def radius_service_id(self, radius_service_id): + """Sets the radius_service_id of this CaptivePortalConfiguration. + + + :param radius_service_id: The radius_service_id of this CaptivePortalConfiguration. # noqa: E501 + :type: int + """ + + self._radius_service_id = radius_service_id + + @property + def expiry_type(self): + """Gets the expiry_type of this CaptivePortalConfiguration. # noqa: E501 + + + :return: The expiry_type of this CaptivePortalConfiguration. # noqa: E501 + :rtype: SessionExpiryType + """ + return self._expiry_type + + @expiry_type.setter + def expiry_type(self, expiry_type): + """Sets the expiry_type of this CaptivePortalConfiguration. + + + :param expiry_type: The expiry_type of this CaptivePortalConfiguration. # noqa: E501 + :type: SessionExpiryType + """ + + self._expiry_type = expiry_type + + @property + def user_list(self): + """Gets the user_list of this CaptivePortalConfiguration. # noqa: E501 + + + :return: The user_list of this CaptivePortalConfiguration. # noqa: E501 + :rtype: list[TimedAccessUserRecord] + """ + return self._user_list + + @user_list.setter + def user_list(self, user_list): + """Sets the user_list of this CaptivePortalConfiguration. + + + :param user_list: The user_list of this CaptivePortalConfiguration. # noqa: E501 + :type: list[TimedAccessUserRecord] + """ + + self._user_list = user_list + + @property + def mac_allow_list(self): + """Gets the mac_allow_list of this CaptivePortalConfiguration. # noqa: E501 + + + :return: The mac_allow_list of this CaptivePortalConfiguration. # noqa: E501 + :rtype: list[MacAllowlistRecord] + """ + return self._mac_allow_list + + @mac_allow_list.setter + def mac_allow_list(self, mac_allow_list): + """Sets the mac_allow_list of this CaptivePortalConfiguration. + + + :param mac_allow_list: The mac_allow_list of this CaptivePortalConfiguration. # noqa: E501 + :type: list[MacAllowlistRecord] + """ + + self._mac_allow_list = mac_allow_list + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(CaptivePortalConfiguration, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, CaptivePortalConfiguration): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/channel_bandwidth.py b/libs/cloudapi/cloudsdk/swagger_client/models/channel_bandwidth.py new file mode 100644 index 000000000..29eb06d81 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/channel_bandwidth.py @@ -0,0 +1,93 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ChannelBandwidth(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + AUTO = "auto" + IS20MHZ = "is20MHz" + IS40MHZ = "is40MHz" + IS80MHZ = "is80MHz" + IS160MHZ = "is160MHz" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """ChannelBandwidth - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ChannelBandwidth, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ChannelBandwidth): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/channel_hop_reason.py b/libs/cloudapi/cloudsdk/swagger_client/models/channel_hop_reason.py new file mode 100644 index 000000000..6f143aee7 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/channel_hop_reason.py @@ -0,0 +1,91 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ChannelHopReason(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + RADARDETECTED = "RadarDetected" + HIGHINTERFERENCE = "HighInterference" + UNSUPPORTED = "UNSUPPORTED" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """ChannelHopReason - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ChannelHopReason, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ChannelHopReason): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/channel_hop_settings.py b/libs/cloudapi/cloudsdk/swagger_client/models/channel_hop_settings.py new file mode 100644 index 000000000..6562a07c7 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/channel_hop_settings.py @@ -0,0 +1,214 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ChannelHopSettings(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'noise_floor_threshold_in_db': 'int', + 'noise_floor_threshold_time_in_seconds': 'int', + 'non_wifi_threshold_in_percentage': 'int', + 'non_wifi_threshold_time_in_seconds': 'int', + 'obss_hop_mode': 'ObssHopMode' + } + + attribute_map = { + 'noise_floor_threshold_in_db': 'noiseFloorThresholdInDB', + 'noise_floor_threshold_time_in_seconds': 'noiseFloorThresholdTimeInSeconds', + 'non_wifi_threshold_in_percentage': 'nonWifiThresholdInPercentage', + 'non_wifi_threshold_time_in_seconds': 'nonWifiThresholdTimeInSeconds', + 'obss_hop_mode': 'obssHopMode' + } + + def __init__(self, noise_floor_threshold_in_db=-75, noise_floor_threshold_time_in_seconds=180, non_wifi_threshold_in_percentage=50, non_wifi_threshold_time_in_seconds=180, obss_hop_mode=None): # noqa: E501 + """ChannelHopSettings - a model defined in Swagger""" # noqa: E501 + self._noise_floor_threshold_in_db = None + self._noise_floor_threshold_time_in_seconds = None + self._non_wifi_threshold_in_percentage = None + self._non_wifi_threshold_time_in_seconds = None + self._obss_hop_mode = None + self.discriminator = None + if noise_floor_threshold_in_db is not None: + self.noise_floor_threshold_in_db = noise_floor_threshold_in_db + if noise_floor_threshold_time_in_seconds is not None: + self.noise_floor_threshold_time_in_seconds = noise_floor_threshold_time_in_seconds + if non_wifi_threshold_in_percentage is not None: + self.non_wifi_threshold_in_percentage = non_wifi_threshold_in_percentage + if non_wifi_threshold_time_in_seconds is not None: + self.non_wifi_threshold_time_in_seconds = non_wifi_threshold_time_in_seconds + if obss_hop_mode is not None: + self.obss_hop_mode = obss_hop_mode + + @property + def noise_floor_threshold_in_db(self): + """Gets the noise_floor_threshold_in_db of this ChannelHopSettings. # noqa: E501 + + + :return: The noise_floor_threshold_in_db of this ChannelHopSettings. # noqa: E501 + :rtype: int + """ + return self._noise_floor_threshold_in_db + + @noise_floor_threshold_in_db.setter + def noise_floor_threshold_in_db(self, noise_floor_threshold_in_db): + """Sets the noise_floor_threshold_in_db of this ChannelHopSettings. + + + :param noise_floor_threshold_in_db: The noise_floor_threshold_in_db of this ChannelHopSettings. # noqa: E501 + :type: int + """ + + self._noise_floor_threshold_in_db = noise_floor_threshold_in_db + + @property + def noise_floor_threshold_time_in_seconds(self): + """Gets the noise_floor_threshold_time_in_seconds of this ChannelHopSettings. # noqa: E501 + + + :return: The noise_floor_threshold_time_in_seconds of this ChannelHopSettings. # noqa: E501 + :rtype: int + """ + return self._noise_floor_threshold_time_in_seconds + + @noise_floor_threshold_time_in_seconds.setter + def noise_floor_threshold_time_in_seconds(self, noise_floor_threshold_time_in_seconds): + """Sets the noise_floor_threshold_time_in_seconds of this ChannelHopSettings. + + + :param noise_floor_threshold_time_in_seconds: The noise_floor_threshold_time_in_seconds of this ChannelHopSettings. # noqa: E501 + :type: int + """ + + self._noise_floor_threshold_time_in_seconds = noise_floor_threshold_time_in_seconds + + @property + def non_wifi_threshold_in_percentage(self): + """Gets the non_wifi_threshold_in_percentage of this ChannelHopSettings. # noqa: E501 + + + :return: The non_wifi_threshold_in_percentage of this ChannelHopSettings. # noqa: E501 + :rtype: int + """ + return self._non_wifi_threshold_in_percentage + + @non_wifi_threshold_in_percentage.setter + def non_wifi_threshold_in_percentage(self, non_wifi_threshold_in_percentage): + """Sets the non_wifi_threshold_in_percentage of this ChannelHopSettings. + + + :param non_wifi_threshold_in_percentage: The non_wifi_threshold_in_percentage of this ChannelHopSettings. # noqa: E501 + :type: int + """ + + self._non_wifi_threshold_in_percentage = non_wifi_threshold_in_percentage + + @property + def non_wifi_threshold_time_in_seconds(self): + """Gets the non_wifi_threshold_time_in_seconds of this ChannelHopSettings. # noqa: E501 + + + :return: The non_wifi_threshold_time_in_seconds of this ChannelHopSettings. # noqa: E501 + :rtype: int + """ + return self._non_wifi_threshold_time_in_seconds + + @non_wifi_threshold_time_in_seconds.setter + def non_wifi_threshold_time_in_seconds(self, non_wifi_threshold_time_in_seconds): + """Sets the non_wifi_threshold_time_in_seconds of this ChannelHopSettings. + + + :param non_wifi_threshold_time_in_seconds: The non_wifi_threshold_time_in_seconds of this ChannelHopSettings. # noqa: E501 + :type: int + """ + + self._non_wifi_threshold_time_in_seconds = non_wifi_threshold_time_in_seconds + + @property + def obss_hop_mode(self): + """Gets the obss_hop_mode of this ChannelHopSettings. # noqa: E501 + + + :return: The obss_hop_mode of this ChannelHopSettings. # noqa: E501 + :rtype: ObssHopMode + """ + return self._obss_hop_mode + + @obss_hop_mode.setter + def obss_hop_mode(self, obss_hop_mode): + """Sets the obss_hop_mode of this ChannelHopSettings. + + + :param obss_hop_mode: The obss_hop_mode of this ChannelHopSettings. # noqa: E501 + :type: ObssHopMode + """ + + self._obss_hop_mode = obss_hop_mode + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ChannelHopSettings, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ChannelHopSettings): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/channel_info.py b/libs/cloudapi/cloudsdk/swagger_client/models/channel_info.py new file mode 100644 index 000000000..5d9c745e8 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/channel_info.py @@ -0,0 +1,214 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ChannelInfo(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'chan_number': 'int', + 'bandwidth': 'ChannelBandwidth', + 'total_utilization': 'int', + 'wifi_utilization': 'int', + 'noise_floor': 'int' + } + + attribute_map = { + 'chan_number': 'chanNumber', + 'bandwidth': 'bandwidth', + 'total_utilization': 'totalUtilization', + 'wifi_utilization': 'wifiUtilization', + 'noise_floor': 'noiseFloor' + } + + def __init__(self, chan_number=None, bandwidth=None, total_utilization=None, wifi_utilization=None, noise_floor=None): # noqa: E501 + """ChannelInfo - a model defined in Swagger""" # noqa: E501 + self._chan_number = None + self._bandwidth = None + self._total_utilization = None + self._wifi_utilization = None + self._noise_floor = None + self.discriminator = None + if chan_number is not None: + self.chan_number = chan_number + if bandwidth is not None: + self.bandwidth = bandwidth + if total_utilization is not None: + self.total_utilization = total_utilization + if wifi_utilization is not None: + self.wifi_utilization = wifi_utilization + if noise_floor is not None: + self.noise_floor = noise_floor + + @property + def chan_number(self): + """Gets the chan_number of this ChannelInfo. # noqa: E501 + + + :return: The chan_number of this ChannelInfo. # noqa: E501 + :rtype: int + """ + return self._chan_number + + @chan_number.setter + def chan_number(self, chan_number): + """Sets the chan_number of this ChannelInfo. + + + :param chan_number: The chan_number of this ChannelInfo. # noqa: E501 + :type: int + """ + + self._chan_number = chan_number + + @property + def bandwidth(self): + """Gets the bandwidth of this ChannelInfo. # noqa: E501 + + + :return: The bandwidth of this ChannelInfo. # noqa: E501 + :rtype: ChannelBandwidth + """ + return self._bandwidth + + @bandwidth.setter + def bandwidth(self, bandwidth): + """Sets the bandwidth of this ChannelInfo. + + + :param bandwidth: The bandwidth of this ChannelInfo. # noqa: E501 + :type: ChannelBandwidth + """ + + self._bandwidth = bandwidth + + @property + def total_utilization(self): + """Gets the total_utilization of this ChannelInfo. # noqa: E501 + + + :return: The total_utilization of this ChannelInfo. # noqa: E501 + :rtype: int + """ + return self._total_utilization + + @total_utilization.setter + def total_utilization(self, total_utilization): + """Sets the total_utilization of this ChannelInfo. + + + :param total_utilization: The total_utilization of this ChannelInfo. # noqa: E501 + :type: int + """ + + self._total_utilization = total_utilization + + @property + def wifi_utilization(self): + """Gets the wifi_utilization of this ChannelInfo. # noqa: E501 + + + :return: The wifi_utilization of this ChannelInfo. # noqa: E501 + :rtype: int + """ + return self._wifi_utilization + + @wifi_utilization.setter + def wifi_utilization(self, wifi_utilization): + """Sets the wifi_utilization of this ChannelInfo. + + + :param wifi_utilization: The wifi_utilization of this ChannelInfo. # noqa: E501 + :type: int + """ + + self._wifi_utilization = wifi_utilization + + @property + def noise_floor(self): + """Gets the noise_floor of this ChannelInfo. # noqa: E501 + + + :return: The noise_floor of this ChannelInfo. # noqa: E501 + :rtype: int + """ + return self._noise_floor + + @noise_floor.setter + def noise_floor(self, noise_floor): + """Sets the noise_floor of this ChannelInfo. + + + :param noise_floor: The noise_floor of this ChannelInfo. # noqa: E501 + :type: int + """ + + self._noise_floor = noise_floor + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ChannelInfo, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ChannelInfo): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/channel_info_reports.py b/libs/cloudapi/cloudsdk/swagger_client/models/channel_info_reports.py new file mode 100644 index 000000000..e074b4e06 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/channel_info_reports.py @@ -0,0 +1,137 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ChannelInfoReports(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'channel_information_reports_per_radio': 'ListOfChannelInfoReportsPerRadioMap' + } + + attribute_map = { + 'model_type': 'model_type', + 'channel_information_reports_per_radio': 'channelInformationReportsPerRadio' + } + + def __init__(self, model_type=None, channel_information_reports_per_radio=None): # noqa: E501 + """ChannelInfoReports - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._channel_information_reports_per_radio = None + self.discriminator = None + self.model_type = model_type + if channel_information_reports_per_radio is not None: + self.channel_information_reports_per_radio = channel_information_reports_per_radio + + @property + def model_type(self): + """Gets the model_type of this ChannelInfoReports. # noqa: E501 + + + :return: The model_type of this ChannelInfoReports. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this ChannelInfoReports. + + + :param model_type: The model_type of this ChannelInfoReports. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + + self._model_type = model_type + + @property + def channel_information_reports_per_radio(self): + """Gets the channel_information_reports_per_radio of this ChannelInfoReports. # noqa: E501 + + + :return: The channel_information_reports_per_radio of this ChannelInfoReports. # noqa: E501 + :rtype: ListOfChannelInfoReportsPerRadioMap + """ + return self._channel_information_reports_per_radio + + @channel_information_reports_per_radio.setter + def channel_information_reports_per_radio(self, channel_information_reports_per_radio): + """Sets the channel_information_reports_per_radio of this ChannelInfoReports. + + + :param channel_information_reports_per_radio: The channel_information_reports_per_radio of this ChannelInfoReports. # noqa: E501 + :type: ListOfChannelInfoReportsPerRadioMap + """ + + self._channel_information_reports_per_radio = channel_information_reports_per_radio + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ChannelInfoReports, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ChannelInfoReports): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/channel_power_level.py b/libs/cloudapi/cloudsdk/swagger_client/models/channel_power_level.py new file mode 100644 index 000000000..fe09f5bdc --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/channel_power_level.py @@ -0,0 +1,190 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ChannelPowerLevel(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'channel_number': 'int', + 'power_level': 'int', + 'dfs': 'bool', + 'channel_width': 'int' + } + + attribute_map = { + 'channel_number': 'channelNumber', + 'power_level': 'powerLevel', + 'dfs': 'dfs', + 'channel_width': 'channelWidth' + } + + def __init__(self, channel_number=None, power_level=None, dfs=None, channel_width=None): # noqa: E501 + """ChannelPowerLevel - a model defined in Swagger""" # noqa: E501 + self._channel_number = None + self._power_level = None + self._dfs = None + self._channel_width = None + self.discriminator = None + if channel_number is not None: + self.channel_number = channel_number + if power_level is not None: + self.power_level = power_level + if dfs is not None: + self.dfs = dfs + if channel_width is not None: + self.channel_width = channel_width + + @property + def channel_number(self): + """Gets the channel_number of this ChannelPowerLevel. # noqa: E501 + + + :return: The channel_number of this ChannelPowerLevel. # noqa: E501 + :rtype: int + """ + return self._channel_number + + @channel_number.setter + def channel_number(self, channel_number): + """Sets the channel_number of this ChannelPowerLevel. + + + :param channel_number: The channel_number of this ChannelPowerLevel. # noqa: E501 + :type: int + """ + + self._channel_number = channel_number + + @property + def power_level(self): + """Gets the power_level of this ChannelPowerLevel. # noqa: E501 + + + :return: The power_level of this ChannelPowerLevel. # noqa: E501 + :rtype: int + """ + return self._power_level + + @power_level.setter + def power_level(self, power_level): + """Sets the power_level of this ChannelPowerLevel. + + + :param power_level: The power_level of this ChannelPowerLevel. # noqa: E501 + :type: int + """ + + self._power_level = power_level + + @property + def dfs(self): + """Gets the dfs of this ChannelPowerLevel. # noqa: E501 + + + :return: The dfs of this ChannelPowerLevel. # noqa: E501 + :rtype: bool + """ + return self._dfs + + @dfs.setter + def dfs(self, dfs): + """Sets the dfs of this ChannelPowerLevel. + + + :param dfs: The dfs of this ChannelPowerLevel. # noqa: E501 + :type: bool + """ + + self._dfs = dfs + + @property + def channel_width(self): + """Gets the channel_width of this ChannelPowerLevel. # noqa: E501 + + Value is in MHz, -1 means AUTO # noqa: E501 + + :return: The channel_width of this ChannelPowerLevel. # noqa: E501 + :rtype: int + """ + return self._channel_width + + @channel_width.setter + def channel_width(self, channel_width): + """Sets the channel_width of this ChannelPowerLevel. + + Value is in MHz, -1 means AUTO # noqa: E501 + + :param channel_width: The channel_width of this ChannelPowerLevel. # noqa: E501 + :type: int + """ + + self._channel_width = channel_width + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ChannelPowerLevel, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ChannelPowerLevel): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/channel_utilization_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/channel_utilization_details.py new file mode 100644 index 000000000..b75e5e149 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/channel_utilization_details.py @@ -0,0 +1,136 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ChannelUtilizationDetails(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'per_radio_details': 'ChannelUtilizationPerRadioDetailsMap', + 'indicator_value': 'int' + } + + attribute_map = { + 'per_radio_details': 'perRadioDetails', + 'indicator_value': 'indicatorValue' + } + + def __init__(self, per_radio_details=None, indicator_value=None): # noqa: E501 + """ChannelUtilizationDetails - a model defined in Swagger""" # noqa: E501 + self._per_radio_details = None + self._indicator_value = None + self.discriminator = None + if per_radio_details is not None: + self.per_radio_details = per_radio_details + if indicator_value is not None: + self.indicator_value = indicator_value + + @property + def per_radio_details(self): + """Gets the per_radio_details of this ChannelUtilizationDetails. # noqa: E501 + + + :return: The per_radio_details of this ChannelUtilizationDetails. # noqa: E501 + :rtype: ChannelUtilizationPerRadioDetailsMap + """ + return self._per_radio_details + + @per_radio_details.setter + def per_radio_details(self, per_radio_details): + """Sets the per_radio_details of this ChannelUtilizationDetails. + + + :param per_radio_details: The per_radio_details of this ChannelUtilizationDetails. # noqa: E501 + :type: ChannelUtilizationPerRadioDetailsMap + """ + + self._per_radio_details = per_radio_details + + @property + def indicator_value(self): + """Gets the indicator_value of this ChannelUtilizationDetails. # noqa: E501 + + + :return: The indicator_value of this ChannelUtilizationDetails. # noqa: E501 + :rtype: int + """ + return self._indicator_value + + @indicator_value.setter + def indicator_value(self, indicator_value): + """Sets the indicator_value of this ChannelUtilizationDetails. + + + :param indicator_value: The indicator_value of this ChannelUtilizationDetails. # noqa: E501 + :type: int + """ + + self._indicator_value = indicator_value + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ChannelUtilizationDetails, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ChannelUtilizationDetails): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/channel_utilization_per_radio_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/channel_utilization_per_radio_details.py new file mode 100644 index 000000000..cd8490330 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/channel_utilization_per_radio_details.py @@ -0,0 +1,188 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ChannelUtilizationPerRadioDetails(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'channel_utilization': 'MinMaxAvgValueInt', + 'num_good_equipment': 'int', + 'num_warn_equipment': 'int', + 'num_bad_equipment': 'int' + } + + attribute_map = { + 'channel_utilization': 'channelUtilization', + 'num_good_equipment': 'numGoodEquipment', + 'num_warn_equipment': 'numWarnEquipment', + 'num_bad_equipment': 'numBadEquipment' + } + + def __init__(self, channel_utilization=None, num_good_equipment=None, num_warn_equipment=None, num_bad_equipment=None): # noqa: E501 + """ChannelUtilizationPerRadioDetails - a model defined in Swagger""" # noqa: E501 + self._channel_utilization = None + self._num_good_equipment = None + self._num_warn_equipment = None + self._num_bad_equipment = None + self.discriminator = None + if channel_utilization is not None: + self.channel_utilization = channel_utilization + if num_good_equipment is not None: + self.num_good_equipment = num_good_equipment + if num_warn_equipment is not None: + self.num_warn_equipment = num_warn_equipment + if num_bad_equipment is not None: + self.num_bad_equipment = num_bad_equipment + + @property + def channel_utilization(self): + """Gets the channel_utilization of this ChannelUtilizationPerRadioDetails. # noqa: E501 + + + :return: The channel_utilization of this ChannelUtilizationPerRadioDetails. # noqa: E501 + :rtype: MinMaxAvgValueInt + """ + return self._channel_utilization + + @channel_utilization.setter + def channel_utilization(self, channel_utilization): + """Sets the channel_utilization of this ChannelUtilizationPerRadioDetails. + + + :param channel_utilization: The channel_utilization of this ChannelUtilizationPerRadioDetails. # noqa: E501 + :type: MinMaxAvgValueInt + """ + + self._channel_utilization = channel_utilization + + @property + def num_good_equipment(self): + """Gets the num_good_equipment of this ChannelUtilizationPerRadioDetails. # noqa: E501 + + + :return: The num_good_equipment of this ChannelUtilizationPerRadioDetails. # noqa: E501 + :rtype: int + """ + return self._num_good_equipment + + @num_good_equipment.setter + def num_good_equipment(self, num_good_equipment): + """Sets the num_good_equipment of this ChannelUtilizationPerRadioDetails. + + + :param num_good_equipment: The num_good_equipment of this ChannelUtilizationPerRadioDetails. # noqa: E501 + :type: int + """ + + self._num_good_equipment = num_good_equipment + + @property + def num_warn_equipment(self): + """Gets the num_warn_equipment of this ChannelUtilizationPerRadioDetails. # noqa: E501 + + + :return: The num_warn_equipment of this ChannelUtilizationPerRadioDetails. # noqa: E501 + :rtype: int + """ + return self._num_warn_equipment + + @num_warn_equipment.setter + def num_warn_equipment(self, num_warn_equipment): + """Sets the num_warn_equipment of this ChannelUtilizationPerRadioDetails. + + + :param num_warn_equipment: The num_warn_equipment of this ChannelUtilizationPerRadioDetails. # noqa: E501 + :type: int + """ + + self._num_warn_equipment = num_warn_equipment + + @property + def num_bad_equipment(self): + """Gets the num_bad_equipment of this ChannelUtilizationPerRadioDetails. # noqa: E501 + + + :return: The num_bad_equipment of this ChannelUtilizationPerRadioDetails. # noqa: E501 + :rtype: int + """ + return self._num_bad_equipment + + @num_bad_equipment.setter + def num_bad_equipment(self, num_bad_equipment): + """Sets the num_bad_equipment of this ChannelUtilizationPerRadioDetails. + + + :param num_bad_equipment: The num_bad_equipment of this ChannelUtilizationPerRadioDetails. # noqa: E501 + :type: int + """ + + self._num_bad_equipment = num_bad_equipment + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ChannelUtilizationPerRadioDetails, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ChannelUtilizationPerRadioDetails): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/channel_utilization_per_radio_details_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/channel_utilization_per_radio_details_map.py new file mode 100644 index 000000000..1a020ead2 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/channel_utilization_per_radio_details_map.py @@ -0,0 +1,188 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ChannelUtilizationPerRadioDetailsMap(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'is5_g_hz': 'ChannelUtilizationPerRadioDetails', + 'is5_g_hz_u': 'ChannelUtilizationPerRadioDetails', + 'is5_g_hz_l': 'ChannelUtilizationPerRadioDetails', + 'is2dot4_g_hz': 'ChannelUtilizationPerRadioDetails' + } + + attribute_map = { + 'is5_g_hz': 'is5GHz', + 'is5_g_hz_u': 'is5GHzU', + 'is5_g_hz_l': 'is5GHzL', + 'is2dot4_g_hz': 'is2dot4GHz' + } + + def __init__(self, is5_g_hz=None, is5_g_hz_u=None, is5_g_hz_l=None, is2dot4_g_hz=None): # noqa: E501 + """ChannelUtilizationPerRadioDetailsMap - a model defined in Swagger""" # noqa: E501 + self._is5_g_hz = None + self._is5_g_hz_u = None + self._is5_g_hz_l = None + self._is2dot4_g_hz = None + self.discriminator = None + if is5_g_hz is not None: + self.is5_g_hz = is5_g_hz + if is5_g_hz_u is not None: + self.is5_g_hz_u = is5_g_hz_u + if is5_g_hz_l is not None: + self.is5_g_hz_l = is5_g_hz_l + if is2dot4_g_hz is not None: + self.is2dot4_g_hz = is2dot4_g_hz + + @property + def is5_g_hz(self): + """Gets the is5_g_hz of this ChannelUtilizationPerRadioDetailsMap. # noqa: E501 + + + :return: The is5_g_hz of this ChannelUtilizationPerRadioDetailsMap. # noqa: E501 + :rtype: ChannelUtilizationPerRadioDetails + """ + return self._is5_g_hz + + @is5_g_hz.setter + def is5_g_hz(self, is5_g_hz): + """Sets the is5_g_hz of this ChannelUtilizationPerRadioDetailsMap. + + + :param is5_g_hz: The is5_g_hz of this ChannelUtilizationPerRadioDetailsMap. # noqa: E501 + :type: ChannelUtilizationPerRadioDetails + """ + + self._is5_g_hz = is5_g_hz + + @property + def is5_g_hz_u(self): + """Gets the is5_g_hz_u of this ChannelUtilizationPerRadioDetailsMap. # noqa: E501 + + + :return: The is5_g_hz_u of this ChannelUtilizationPerRadioDetailsMap. # noqa: E501 + :rtype: ChannelUtilizationPerRadioDetails + """ + return self._is5_g_hz_u + + @is5_g_hz_u.setter + def is5_g_hz_u(self, is5_g_hz_u): + """Sets the is5_g_hz_u of this ChannelUtilizationPerRadioDetailsMap. + + + :param is5_g_hz_u: The is5_g_hz_u of this ChannelUtilizationPerRadioDetailsMap. # noqa: E501 + :type: ChannelUtilizationPerRadioDetails + """ + + self._is5_g_hz_u = is5_g_hz_u + + @property + def is5_g_hz_l(self): + """Gets the is5_g_hz_l of this ChannelUtilizationPerRadioDetailsMap. # noqa: E501 + + + :return: The is5_g_hz_l of this ChannelUtilizationPerRadioDetailsMap. # noqa: E501 + :rtype: ChannelUtilizationPerRadioDetails + """ + return self._is5_g_hz_l + + @is5_g_hz_l.setter + def is5_g_hz_l(self, is5_g_hz_l): + """Sets the is5_g_hz_l of this ChannelUtilizationPerRadioDetailsMap. + + + :param is5_g_hz_l: The is5_g_hz_l of this ChannelUtilizationPerRadioDetailsMap. # noqa: E501 + :type: ChannelUtilizationPerRadioDetails + """ + + self._is5_g_hz_l = is5_g_hz_l + + @property + def is2dot4_g_hz(self): + """Gets the is2dot4_g_hz of this ChannelUtilizationPerRadioDetailsMap. # noqa: E501 + + + :return: The is2dot4_g_hz of this ChannelUtilizationPerRadioDetailsMap. # noqa: E501 + :rtype: ChannelUtilizationPerRadioDetails + """ + return self._is2dot4_g_hz + + @is2dot4_g_hz.setter + def is2dot4_g_hz(self, is2dot4_g_hz): + """Sets the is2dot4_g_hz of this ChannelUtilizationPerRadioDetailsMap. + + + :param is2dot4_g_hz: The is2dot4_g_hz of this ChannelUtilizationPerRadioDetailsMap. # noqa: E501 + :type: ChannelUtilizationPerRadioDetails + """ + + self._is2dot4_g_hz = is2dot4_g_hz + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ChannelUtilizationPerRadioDetailsMap, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ChannelUtilizationPerRadioDetailsMap): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/channel_utilization_survey_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/channel_utilization_survey_type.py new file mode 100644 index 000000000..dd6403167 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/channel_utilization_survey_type.py @@ -0,0 +1,91 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ChannelUtilizationSurveyType(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + ON_CHANNEL = "ON_CHANNEL" + OFF_CHANNEL = "OFF_CHANNEL" + FULL = "FULL" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """ChannelUtilizationSurveyType - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ChannelUtilizationSurveyType, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ChannelUtilizationSurveyType): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/client.py b/libs/cloudapi/cloudsdk/swagger_client/models/client.py new file mode 100644 index 000000000..29c03fef2 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/client.py @@ -0,0 +1,216 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class Client(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'mac_address': 'MacAddress', + 'customer_id': 'int', + 'details': 'ClientInfoDetails', + 'created_timestamp': 'int', + 'last_modified_timestamp': 'int' + } + + attribute_map = { + 'mac_address': 'macAddress', + 'customer_id': 'customerId', + 'details': 'details', + 'created_timestamp': 'createdTimestamp', + 'last_modified_timestamp': 'lastModifiedTimestamp' + } + + def __init__(self, mac_address=None, customer_id=None, details=None, created_timestamp=None, last_modified_timestamp=None): # noqa: E501 + """Client - a model defined in Swagger""" # noqa: E501 + self._mac_address = None + self._customer_id = None + self._details = None + self._created_timestamp = None + self._last_modified_timestamp = None + self.discriminator = None + if mac_address is not None: + self.mac_address = mac_address + if customer_id is not None: + self.customer_id = customer_id + if details is not None: + self.details = details + if created_timestamp is not None: + self.created_timestamp = created_timestamp + if last_modified_timestamp is not None: + self.last_modified_timestamp = last_modified_timestamp + + @property + def mac_address(self): + """Gets the mac_address of this Client. # noqa: E501 + + + :return: The mac_address of this Client. # noqa: E501 + :rtype: MacAddress + """ + return self._mac_address + + @mac_address.setter + def mac_address(self, mac_address): + """Sets the mac_address of this Client. + + + :param mac_address: The mac_address of this Client. # noqa: E501 + :type: MacAddress + """ + + self._mac_address = mac_address + + @property + def customer_id(self): + """Gets the customer_id of this Client. # noqa: E501 + + + :return: The customer_id of this Client. # noqa: E501 + :rtype: int + """ + return self._customer_id + + @customer_id.setter + def customer_id(self, customer_id): + """Sets the customer_id of this Client. + + + :param customer_id: The customer_id of this Client. # noqa: E501 + :type: int + """ + + self._customer_id = customer_id + + @property + def details(self): + """Gets the details of this Client. # noqa: E501 + + + :return: The details of this Client. # noqa: E501 + :rtype: ClientInfoDetails + """ + return self._details + + @details.setter + def details(self, details): + """Sets the details of this Client. + + + :param details: The details of this Client. # noqa: E501 + :type: ClientInfoDetails + """ + + self._details = details + + @property + def created_timestamp(self): + """Gets the created_timestamp of this Client. # noqa: E501 + + + :return: The created_timestamp of this Client. # noqa: E501 + :rtype: int + """ + return self._created_timestamp + + @created_timestamp.setter + def created_timestamp(self, created_timestamp): + """Sets the created_timestamp of this Client. + + + :param created_timestamp: The created_timestamp of this Client. # noqa: E501 + :type: int + """ + + self._created_timestamp = created_timestamp + + @property + def last_modified_timestamp(self): + """Gets the last_modified_timestamp of this Client. # noqa: E501 + + This class does not perform checks against concurrrent updates. Here last update always wins. # noqa: E501 + + :return: The last_modified_timestamp of this Client. # noqa: E501 + :rtype: int + """ + return self._last_modified_timestamp + + @last_modified_timestamp.setter + def last_modified_timestamp(self, last_modified_timestamp): + """Sets the last_modified_timestamp of this Client. + + This class does not perform checks against concurrrent updates. Here last update always wins. # noqa: E501 + + :param last_modified_timestamp: The last_modified_timestamp of this Client. # noqa: E501 + :type: int + """ + + self._last_modified_timestamp = last_modified_timestamp + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(Client, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, Client): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/client_activity_aggregated_stats.py b/libs/cloudapi/cloudsdk/swagger_client/models/client_activity_aggregated_stats.py new file mode 100644 index 000000000..d89cb9702 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/client_activity_aggregated_stats.py @@ -0,0 +1,188 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ClientActivityAggregatedStats(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'mbps': 'MinMaxAvgValueInt', + 'high_client_count': 'int', + 'medium_client_count': 'int', + 'low_client_count': 'int' + } + + attribute_map = { + 'mbps': 'mbps', + 'high_client_count': 'highClientCount', + 'medium_client_count': 'mediumClientCount', + 'low_client_count': 'lowClientCount' + } + + def __init__(self, mbps=None, high_client_count=None, medium_client_count=None, low_client_count=None): # noqa: E501 + """ClientActivityAggregatedStats - a model defined in Swagger""" # noqa: E501 + self._mbps = None + self._high_client_count = None + self._medium_client_count = None + self._low_client_count = None + self.discriminator = None + if mbps is not None: + self.mbps = mbps + if high_client_count is not None: + self.high_client_count = high_client_count + if medium_client_count is not None: + self.medium_client_count = medium_client_count + if low_client_count is not None: + self.low_client_count = low_client_count + + @property + def mbps(self): + """Gets the mbps of this ClientActivityAggregatedStats. # noqa: E501 + + + :return: The mbps of this ClientActivityAggregatedStats. # noqa: E501 + :rtype: MinMaxAvgValueInt + """ + return self._mbps + + @mbps.setter + def mbps(self, mbps): + """Sets the mbps of this ClientActivityAggregatedStats. + + + :param mbps: The mbps of this ClientActivityAggregatedStats. # noqa: E501 + :type: MinMaxAvgValueInt + """ + + self._mbps = mbps + + @property + def high_client_count(self): + """Gets the high_client_count of this ClientActivityAggregatedStats. # noqa: E501 + + + :return: The high_client_count of this ClientActivityAggregatedStats. # noqa: E501 + :rtype: int + """ + return self._high_client_count + + @high_client_count.setter + def high_client_count(self, high_client_count): + """Sets the high_client_count of this ClientActivityAggregatedStats. + + + :param high_client_count: The high_client_count of this ClientActivityAggregatedStats. # noqa: E501 + :type: int + """ + + self._high_client_count = high_client_count + + @property + def medium_client_count(self): + """Gets the medium_client_count of this ClientActivityAggregatedStats. # noqa: E501 + + + :return: The medium_client_count of this ClientActivityAggregatedStats. # noqa: E501 + :rtype: int + """ + return self._medium_client_count + + @medium_client_count.setter + def medium_client_count(self, medium_client_count): + """Sets the medium_client_count of this ClientActivityAggregatedStats. + + + :param medium_client_count: The medium_client_count of this ClientActivityAggregatedStats. # noqa: E501 + :type: int + """ + + self._medium_client_count = medium_client_count + + @property + def low_client_count(self): + """Gets the low_client_count of this ClientActivityAggregatedStats. # noqa: E501 + + + :return: The low_client_count of this ClientActivityAggregatedStats. # noqa: E501 + :rtype: int + """ + return self._low_client_count + + @low_client_count.setter + def low_client_count(self, low_client_count): + """Sets the low_client_count of this ClientActivityAggregatedStats. + + + :param low_client_count: The low_client_count of this ClientActivityAggregatedStats. # noqa: E501 + :type: int + """ + + self._low_client_count = low_client_count + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ClientActivityAggregatedStats, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ClientActivityAggregatedStats): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/client_activity_aggregated_stats_per_radio_type_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/client_activity_aggregated_stats_per_radio_type_map.py new file mode 100644 index 000000000..cba2022d2 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/client_activity_aggregated_stats_per_radio_type_map.py @@ -0,0 +1,188 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ClientActivityAggregatedStatsPerRadioTypeMap(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'is5_g_hz': 'ClientActivityAggregatedStats', + 'is5_g_hz_u': 'ClientActivityAggregatedStats', + 'is5_g_hz_l': 'ClientActivityAggregatedStats', + 'is2dot4_g_hz': 'ClientActivityAggregatedStats' + } + + attribute_map = { + 'is5_g_hz': 'is5GHz', + 'is5_g_hz_u': 'is5GHzU', + 'is5_g_hz_l': 'is5GHzL', + 'is2dot4_g_hz': 'is2dot4GHz' + } + + def __init__(self, is5_g_hz=None, is5_g_hz_u=None, is5_g_hz_l=None, is2dot4_g_hz=None): # noqa: E501 + """ClientActivityAggregatedStatsPerRadioTypeMap - a model defined in Swagger""" # noqa: E501 + self._is5_g_hz = None + self._is5_g_hz_u = None + self._is5_g_hz_l = None + self._is2dot4_g_hz = None + self.discriminator = None + if is5_g_hz is not None: + self.is5_g_hz = is5_g_hz + if is5_g_hz_u is not None: + self.is5_g_hz_u = is5_g_hz_u + if is5_g_hz_l is not None: + self.is5_g_hz_l = is5_g_hz_l + if is2dot4_g_hz is not None: + self.is2dot4_g_hz = is2dot4_g_hz + + @property + def is5_g_hz(self): + """Gets the is5_g_hz of this ClientActivityAggregatedStatsPerRadioTypeMap. # noqa: E501 + + + :return: The is5_g_hz of this ClientActivityAggregatedStatsPerRadioTypeMap. # noqa: E501 + :rtype: ClientActivityAggregatedStats + """ + return self._is5_g_hz + + @is5_g_hz.setter + def is5_g_hz(self, is5_g_hz): + """Sets the is5_g_hz of this ClientActivityAggregatedStatsPerRadioTypeMap. + + + :param is5_g_hz: The is5_g_hz of this ClientActivityAggregatedStatsPerRadioTypeMap. # noqa: E501 + :type: ClientActivityAggregatedStats + """ + + self._is5_g_hz = is5_g_hz + + @property + def is5_g_hz_u(self): + """Gets the is5_g_hz_u of this ClientActivityAggregatedStatsPerRadioTypeMap. # noqa: E501 + + + :return: The is5_g_hz_u of this ClientActivityAggregatedStatsPerRadioTypeMap. # noqa: E501 + :rtype: ClientActivityAggregatedStats + """ + return self._is5_g_hz_u + + @is5_g_hz_u.setter + def is5_g_hz_u(self, is5_g_hz_u): + """Sets the is5_g_hz_u of this ClientActivityAggregatedStatsPerRadioTypeMap. + + + :param is5_g_hz_u: The is5_g_hz_u of this ClientActivityAggregatedStatsPerRadioTypeMap. # noqa: E501 + :type: ClientActivityAggregatedStats + """ + + self._is5_g_hz_u = is5_g_hz_u + + @property + def is5_g_hz_l(self): + """Gets the is5_g_hz_l of this ClientActivityAggregatedStatsPerRadioTypeMap. # noqa: E501 + + + :return: The is5_g_hz_l of this ClientActivityAggregatedStatsPerRadioTypeMap. # noqa: E501 + :rtype: ClientActivityAggregatedStats + """ + return self._is5_g_hz_l + + @is5_g_hz_l.setter + def is5_g_hz_l(self, is5_g_hz_l): + """Sets the is5_g_hz_l of this ClientActivityAggregatedStatsPerRadioTypeMap. + + + :param is5_g_hz_l: The is5_g_hz_l of this ClientActivityAggregatedStatsPerRadioTypeMap. # noqa: E501 + :type: ClientActivityAggregatedStats + """ + + self._is5_g_hz_l = is5_g_hz_l + + @property + def is2dot4_g_hz(self): + """Gets the is2dot4_g_hz of this ClientActivityAggregatedStatsPerRadioTypeMap. # noqa: E501 + + + :return: The is2dot4_g_hz of this ClientActivityAggregatedStatsPerRadioTypeMap. # noqa: E501 + :rtype: ClientActivityAggregatedStats + """ + return self._is2dot4_g_hz + + @is2dot4_g_hz.setter + def is2dot4_g_hz(self, is2dot4_g_hz): + """Sets the is2dot4_g_hz of this ClientActivityAggregatedStatsPerRadioTypeMap. + + + :param is2dot4_g_hz: The is2dot4_g_hz of this ClientActivityAggregatedStatsPerRadioTypeMap. # noqa: E501 + :type: ClientActivityAggregatedStats + """ + + self._is2dot4_g_hz = is2dot4_g_hz + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ClientActivityAggregatedStatsPerRadioTypeMap, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ClientActivityAggregatedStatsPerRadioTypeMap): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/client_added_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/client_added_event.py new file mode 100644 index 000000000..bc3592d41 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/client_added_event.py @@ -0,0 +1,189 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ClientAddedEvent(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'event_timestamp': 'int', + 'customer_id': 'int', + 'payload': 'Client' + } + + attribute_map = { + 'model_type': 'model_type', + 'event_timestamp': 'eventTimestamp', + 'customer_id': 'customerId', + 'payload': 'payload' + } + + def __init__(self, model_type=None, event_timestamp=None, customer_id=None, payload=None): # noqa: E501 + """ClientAddedEvent - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._event_timestamp = None + self._customer_id = None + self._payload = None + self.discriminator = None + self.model_type = model_type + if event_timestamp is not None: + self.event_timestamp = event_timestamp + if customer_id is not None: + self.customer_id = customer_id + if payload is not None: + self.payload = payload + + @property + def model_type(self): + """Gets the model_type of this ClientAddedEvent. # noqa: E501 + + + :return: The model_type of this ClientAddedEvent. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this ClientAddedEvent. + + + :param model_type: The model_type of this ClientAddedEvent. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + + self._model_type = model_type + + @property + def event_timestamp(self): + """Gets the event_timestamp of this ClientAddedEvent. # noqa: E501 + + + :return: The event_timestamp of this ClientAddedEvent. # noqa: E501 + :rtype: int + """ + return self._event_timestamp + + @event_timestamp.setter + def event_timestamp(self, event_timestamp): + """Sets the event_timestamp of this ClientAddedEvent. + + + :param event_timestamp: The event_timestamp of this ClientAddedEvent. # noqa: E501 + :type: int + """ + + self._event_timestamp = event_timestamp + + @property + def customer_id(self): + """Gets the customer_id of this ClientAddedEvent. # noqa: E501 + + + :return: The customer_id of this ClientAddedEvent. # noqa: E501 + :rtype: int + """ + return self._customer_id + + @customer_id.setter + def customer_id(self, customer_id): + """Sets the customer_id of this ClientAddedEvent. + + + :param customer_id: The customer_id of this ClientAddedEvent. # noqa: E501 + :type: int + """ + + self._customer_id = customer_id + + @property + def payload(self): + """Gets the payload of this ClientAddedEvent. # noqa: E501 + + + :return: The payload of this ClientAddedEvent. # noqa: E501 + :rtype: Client + """ + return self._payload + + @payload.setter + def payload(self, payload): + """Sets the payload of this ClientAddedEvent. + + + :param payload: The payload of this ClientAddedEvent. # noqa: E501 + :type: Client + """ + + self._payload = payload + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ClientAddedEvent, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ClientAddedEvent): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/client_assoc_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/client_assoc_event.py new file mode 100644 index 000000000..90768a484 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/client_assoc_event.py @@ -0,0 +1,423 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ClientAssocEvent(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'all_of': 'RealTimeEvent', + 'session_id': 'int', + 'ssid': 'str', + 'client_mac_address': 'MacAddress', + 'radio_type': 'RadioType', + 'is_reassociation': 'bool', + 'status': 'WlanStatusCode', + 'rssi': 'int', + 'internal_sc': 'int', + 'using11k': 'bool', + 'using11r': 'bool', + 'using11v': 'bool' + } + + attribute_map = { + 'model_type': 'model_type', + 'all_of': 'allOf', + 'session_id': 'sessionId', + 'ssid': 'ssid', + 'client_mac_address': 'clientMacAddress', + 'radio_type': 'radioType', + 'is_reassociation': 'isReassociation', + 'status': 'status', + 'rssi': 'rssi', + 'internal_sc': 'internalSC', + 'using11k': 'using11k', + 'using11r': 'using11r', + 'using11v': 'using11v' + } + + def __init__(self, model_type=None, all_of=None, session_id=None, ssid=None, client_mac_address=None, radio_type=None, is_reassociation=None, status=None, rssi=None, internal_sc=None, using11k=None, using11r=None, using11v=None): # noqa: E501 + """ClientAssocEvent - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._all_of = None + self._session_id = None + self._ssid = None + self._client_mac_address = None + self._radio_type = None + self._is_reassociation = None + self._status = None + self._rssi = None + self._internal_sc = None + self._using11k = None + self._using11r = None + self._using11v = None + self.discriminator = None + self.model_type = model_type + if all_of is not None: + self.all_of = all_of + if session_id is not None: + self.session_id = session_id + if ssid is not None: + self.ssid = ssid + if client_mac_address is not None: + self.client_mac_address = client_mac_address + if radio_type is not None: + self.radio_type = radio_type + if is_reassociation is not None: + self.is_reassociation = is_reassociation + if status is not None: + self.status = status + if rssi is not None: + self.rssi = rssi + if internal_sc is not None: + self.internal_sc = internal_sc + if using11k is not None: + self.using11k = using11k + if using11r is not None: + self.using11r = using11r + if using11v is not None: + self.using11v = using11v + + @property + def model_type(self): + """Gets the model_type of this ClientAssocEvent. # noqa: E501 + + + :return: The model_type of this ClientAssocEvent. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this ClientAssocEvent. + + + :param model_type: The model_type of this ClientAssocEvent. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + + self._model_type = model_type + + @property + def all_of(self): + """Gets the all_of of this ClientAssocEvent. # noqa: E501 + + + :return: The all_of of this ClientAssocEvent. # noqa: E501 + :rtype: RealTimeEvent + """ + return self._all_of + + @all_of.setter + def all_of(self, all_of): + """Sets the all_of of this ClientAssocEvent. + + + :param all_of: The all_of of this ClientAssocEvent. # noqa: E501 + :type: RealTimeEvent + """ + + self._all_of = all_of + + @property + def session_id(self): + """Gets the session_id of this ClientAssocEvent. # noqa: E501 + + + :return: The session_id of this ClientAssocEvent. # noqa: E501 + :rtype: int + """ + return self._session_id + + @session_id.setter + def session_id(self, session_id): + """Sets the session_id of this ClientAssocEvent. + + + :param session_id: The session_id of this ClientAssocEvent. # noqa: E501 + :type: int + """ + + self._session_id = session_id + + @property + def ssid(self): + """Gets the ssid of this ClientAssocEvent. # noqa: E501 + + + :return: The ssid of this ClientAssocEvent. # noqa: E501 + :rtype: str + """ + return self._ssid + + @ssid.setter + def ssid(self, ssid): + """Sets the ssid of this ClientAssocEvent. + + + :param ssid: The ssid of this ClientAssocEvent. # noqa: E501 + :type: str + """ + + self._ssid = ssid + + @property + def client_mac_address(self): + """Gets the client_mac_address of this ClientAssocEvent. # noqa: E501 + + + :return: The client_mac_address of this ClientAssocEvent. # noqa: E501 + :rtype: MacAddress + """ + return self._client_mac_address + + @client_mac_address.setter + def client_mac_address(self, client_mac_address): + """Sets the client_mac_address of this ClientAssocEvent. + + + :param client_mac_address: The client_mac_address of this ClientAssocEvent. # noqa: E501 + :type: MacAddress + """ + + self._client_mac_address = client_mac_address + + @property + def radio_type(self): + """Gets the radio_type of this ClientAssocEvent. # noqa: E501 + + + :return: The radio_type of this ClientAssocEvent. # noqa: E501 + :rtype: RadioType + """ + return self._radio_type + + @radio_type.setter + def radio_type(self, radio_type): + """Sets the radio_type of this ClientAssocEvent. + + + :param radio_type: The radio_type of this ClientAssocEvent. # noqa: E501 + :type: RadioType + """ + + self._radio_type = radio_type + + @property + def is_reassociation(self): + """Gets the is_reassociation of this ClientAssocEvent. # noqa: E501 + + + :return: The is_reassociation of this ClientAssocEvent. # noqa: E501 + :rtype: bool + """ + return self._is_reassociation + + @is_reassociation.setter + def is_reassociation(self, is_reassociation): + """Sets the is_reassociation of this ClientAssocEvent. + + + :param is_reassociation: The is_reassociation of this ClientAssocEvent. # noqa: E501 + :type: bool + """ + + self._is_reassociation = is_reassociation + + @property + def status(self): + """Gets the status of this ClientAssocEvent. # noqa: E501 + + + :return: The status of this ClientAssocEvent. # noqa: E501 + :rtype: WlanStatusCode + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this ClientAssocEvent. + + + :param status: The status of this ClientAssocEvent. # noqa: E501 + :type: WlanStatusCode + """ + + self._status = status + + @property + def rssi(self): + """Gets the rssi of this ClientAssocEvent. # noqa: E501 + + + :return: The rssi of this ClientAssocEvent. # noqa: E501 + :rtype: int + """ + return self._rssi + + @rssi.setter + def rssi(self, rssi): + """Sets the rssi of this ClientAssocEvent. + + + :param rssi: The rssi of this ClientAssocEvent. # noqa: E501 + :type: int + """ + + self._rssi = rssi + + @property + def internal_sc(self): + """Gets the internal_sc of this ClientAssocEvent. # noqa: E501 + + + :return: The internal_sc of this ClientAssocEvent. # noqa: E501 + :rtype: int + """ + return self._internal_sc + + @internal_sc.setter + def internal_sc(self, internal_sc): + """Sets the internal_sc of this ClientAssocEvent. + + + :param internal_sc: The internal_sc of this ClientAssocEvent. # noqa: E501 + :type: int + """ + + self._internal_sc = internal_sc + + @property + def using11k(self): + """Gets the using11k of this ClientAssocEvent. # noqa: E501 + + + :return: The using11k of this ClientAssocEvent. # noqa: E501 + :rtype: bool + """ + return self._using11k + + @using11k.setter + def using11k(self, using11k): + """Sets the using11k of this ClientAssocEvent. + + + :param using11k: The using11k of this ClientAssocEvent. # noqa: E501 + :type: bool + """ + + self._using11k = using11k + + @property + def using11r(self): + """Gets the using11r of this ClientAssocEvent. # noqa: E501 + + + :return: The using11r of this ClientAssocEvent. # noqa: E501 + :rtype: bool + """ + return self._using11r + + @using11r.setter + def using11r(self, using11r): + """Sets the using11r of this ClientAssocEvent. + + + :param using11r: The using11r of this ClientAssocEvent. # noqa: E501 + :type: bool + """ + + self._using11r = using11r + + @property + def using11v(self): + """Gets the using11v of this ClientAssocEvent. # noqa: E501 + + + :return: The using11v of this ClientAssocEvent. # noqa: E501 + :rtype: bool + """ + return self._using11v + + @using11v.setter + def using11v(self, using11v): + """Sets the using11v of this ClientAssocEvent. + + + :param using11v: The using11v of this ClientAssocEvent. # noqa: E501 + :type: bool + """ + + self._using11v = using11v + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ClientAssocEvent, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ClientAssocEvent): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/client_auth_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/client_auth_event.py new file mode 100644 index 000000000..bc95dece7 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/client_auth_event.py @@ -0,0 +1,293 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ClientAuthEvent(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'all_of': 'RealTimeEvent', + 'session_id': 'int', + 'ssid': 'str', + 'client_mac_address': 'MacAddress', + 'radio_type': 'RadioType', + 'is_reassociation': 'bool', + 'auth_status': 'WlanStatusCode' + } + + attribute_map = { + 'model_type': 'model_type', + 'all_of': 'allOf', + 'session_id': 'sessionId', + 'ssid': 'ssid', + 'client_mac_address': 'clientMacAddress', + 'radio_type': 'radioType', + 'is_reassociation': 'isReassociation', + 'auth_status': 'authStatus' + } + + def __init__(self, model_type=None, all_of=None, session_id=None, ssid=None, client_mac_address=None, radio_type=None, is_reassociation=None, auth_status=None): # noqa: E501 + """ClientAuthEvent - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._all_of = None + self._session_id = None + self._ssid = None + self._client_mac_address = None + self._radio_type = None + self._is_reassociation = None + self._auth_status = None + self.discriminator = None + self.model_type = model_type + if all_of is not None: + self.all_of = all_of + if session_id is not None: + self.session_id = session_id + if ssid is not None: + self.ssid = ssid + if client_mac_address is not None: + self.client_mac_address = client_mac_address + if radio_type is not None: + self.radio_type = radio_type + if is_reassociation is not None: + self.is_reassociation = is_reassociation + if auth_status is not None: + self.auth_status = auth_status + + @property + def model_type(self): + """Gets the model_type of this ClientAuthEvent. # noqa: E501 + + + :return: The model_type of this ClientAuthEvent. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this ClientAuthEvent. + + + :param model_type: The model_type of this ClientAuthEvent. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + + self._model_type = model_type + + @property + def all_of(self): + """Gets the all_of of this ClientAuthEvent. # noqa: E501 + + + :return: The all_of of this ClientAuthEvent. # noqa: E501 + :rtype: RealTimeEvent + """ + return self._all_of + + @all_of.setter + def all_of(self, all_of): + """Sets the all_of of this ClientAuthEvent. + + + :param all_of: The all_of of this ClientAuthEvent. # noqa: E501 + :type: RealTimeEvent + """ + + self._all_of = all_of + + @property + def session_id(self): + """Gets the session_id of this ClientAuthEvent. # noqa: E501 + + + :return: The session_id of this ClientAuthEvent. # noqa: E501 + :rtype: int + """ + return self._session_id + + @session_id.setter + def session_id(self, session_id): + """Sets the session_id of this ClientAuthEvent. + + + :param session_id: The session_id of this ClientAuthEvent. # noqa: E501 + :type: int + """ + + self._session_id = session_id + + @property + def ssid(self): + """Gets the ssid of this ClientAuthEvent. # noqa: E501 + + + :return: The ssid of this ClientAuthEvent. # noqa: E501 + :rtype: str + """ + return self._ssid + + @ssid.setter + def ssid(self, ssid): + """Sets the ssid of this ClientAuthEvent. + + + :param ssid: The ssid of this ClientAuthEvent. # noqa: E501 + :type: str + """ + + self._ssid = ssid + + @property + def client_mac_address(self): + """Gets the client_mac_address of this ClientAuthEvent. # noqa: E501 + + + :return: The client_mac_address of this ClientAuthEvent. # noqa: E501 + :rtype: MacAddress + """ + return self._client_mac_address + + @client_mac_address.setter + def client_mac_address(self, client_mac_address): + """Sets the client_mac_address of this ClientAuthEvent. + + + :param client_mac_address: The client_mac_address of this ClientAuthEvent. # noqa: E501 + :type: MacAddress + """ + + self._client_mac_address = client_mac_address + + @property + def radio_type(self): + """Gets the radio_type of this ClientAuthEvent. # noqa: E501 + + + :return: The radio_type of this ClientAuthEvent. # noqa: E501 + :rtype: RadioType + """ + return self._radio_type + + @radio_type.setter + def radio_type(self, radio_type): + """Sets the radio_type of this ClientAuthEvent. + + + :param radio_type: The radio_type of this ClientAuthEvent. # noqa: E501 + :type: RadioType + """ + + self._radio_type = radio_type + + @property + def is_reassociation(self): + """Gets the is_reassociation of this ClientAuthEvent. # noqa: E501 + + + :return: The is_reassociation of this ClientAuthEvent. # noqa: E501 + :rtype: bool + """ + return self._is_reassociation + + @is_reassociation.setter + def is_reassociation(self, is_reassociation): + """Sets the is_reassociation of this ClientAuthEvent. + + + :param is_reassociation: The is_reassociation of this ClientAuthEvent. # noqa: E501 + :type: bool + """ + + self._is_reassociation = is_reassociation + + @property + def auth_status(self): + """Gets the auth_status of this ClientAuthEvent. # noqa: E501 + + + :return: The auth_status of this ClientAuthEvent. # noqa: E501 + :rtype: WlanStatusCode + """ + return self._auth_status + + @auth_status.setter + def auth_status(self, auth_status): + """Sets the auth_status of this ClientAuthEvent. + + + :param auth_status: The auth_status of this ClientAuthEvent. # noqa: E501 + :type: WlanStatusCode + """ + + self._auth_status = auth_status + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ClientAuthEvent, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ClientAuthEvent): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/client_changed_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/client_changed_event.py new file mode 100644 index 000000000..297f058ed --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/client_changed_event.py @@ -0,0 +1,189 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ClientChangedEvent(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'event_timestamp': 'int', + 'customer_id': 'int', + 'payload': 'Client' + } + + attribute_map = { + 'model_type': 'model_type', + 'event_timestamp': 'eventTimestamp', + 'customer_id': 'customerId', + 'payload': 'payload' + } + + def __init__(self, model_type=None, event_timestamp=None, customer_id=None, payload=None): # noqa: E501 + """ClientChangedEvent - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._event_timestamp = None + self._customer_id = None + self._payload = None + self.discriminator = None + self.model_type = model_type + if event_timestamp is not None: + self.event_timestamp = event_timestamp + if customer_id is not None: + self.customer_id = customer_id + if payload is not None: + self.payload = payload + + @property + def model_type(self): + """Gets the model_type of this ClientChangedEvent. # noqa: E501 + + + :return: The model_type of this ClientChangedEvent. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this ClientChangedEvent. + + + :param model_type: The model_type of this ClientChangedEvent. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + + self._model_type = model_type + + @property + def event_timestamp(self): + """Gets the event_timestamp of this ClientChangedEvent. # noqa: E501 + + + :return: The event_timestamp of this ClientChangedEvent. # noqa: E501 + :rtype: int + """ + return self._event_timestamp + + @event_timestamp.setter + def event_timestamp(self, event_timestamp): + """Sets the event_timestamp of this ClientChangedEvent. + + + :param event_timestamp: The event_timestamp of this ClientChangedEvent. # noqa: E501 + :type: int + """ + + self._event_timestamp = event_timestamp + + @property + def customer_id(self): + """Gets the customer_id of this ClientChangedEvent. # noqa: E501 + + + :return: The customer_id of this ClientChangedEvent. # noqa: E501 + :rtype: int + """ + return self._customer_id + + @customer_id.setter + def customer_id(self, customer_id): + """Sets the customer_id of this ClientChangedEvent. + + + :param customer_id: The customer_id of this ClientChangedEvent. # noqa: E501 + :type: int + """ + + self._customer_id = customer_id + + @property + def payload(self): + """Gets the payload of this ClientChangedEvent. # noqa: E501 + + + :return: The payload of this ClientChangedEvent. # noqa: E501 + :rtype: Client + """ + return self._payload + + @payload.setter + def payload(self, payload): + """Sets the payload of this ClientChangedEvent. + + + :param payload: The payload of this ClientChangedEvent. # noqa: E501 + :type: Client + """ + + self._payload = payload + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ClientChangedEvent, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ClientChangedEvent): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/client_connect_success_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/client_connect_success_event.py new file mode 100644 index 000000000..aeb3b5a37 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/client_connect_success_event.py @@ -0,0 +1,659 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ClientConnectSuccessEvent(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'all_of': 'RealTimeEvent', + 'client_mac_address': 'MacAddress', + 'session_id': 'int', + 'radio_type': 'RadioType', + 'is_reassociation': 'bool', + 'ssid': 'str', + 'security_type': 'SecurityType', + 'fbt_used': 'bool', + 'ip_addr': 'str', + 'clt_id': 'str', + 'auth_ts': 'int', + 'assoc_ts': 'int', + 'eapol_ts': 'int', + 'port_enabled_ts': 'int', + 'first_data_rx_ts': 'int', + 'first_data_tx_ts': 'int', + 'using11k': 'bool', + 'using11r': 'bool', + 'using11v': 'bool', + 'ip_acquisition_ts': 'int', + 'assoc_rssi': 'int' + } + + attribute_map = { + 'model_type': 'model_type', + 'all_of': 'allOf', + 'client_mac_address': 'clientMacAddress', + 'session_id': 'sessionId', + 'radio_type': 'radioType', + 'is_reassociation': 'isReassociation', + 'ssid': 'ssid', + 'security_type': 'securityType', + 'fbt_used': 'fbtUsed', + 'ip_addr': 'ipAddr', + 'clt_id': 'cltId', + 'auth_ts': 'authTs', + 'assoc_ts': 'assocTs', + 'eapol_ts': 'eapolTs', + 'port_enabled_ts': 'portEnabledTs', + 'first_data_rx_ts': 'firstDataRxTs', + 'first_data_tx_ts': 'firstDataTxTs', + 'using11k': 'using11k', + 'using11r': 'using11r', + 'using11v': 'using11v', + 'ip_acquisition_ts': 'ipAcquisitionTs', + 'assoc_rssi': 'assocRssi' + } + + def __init__(self, model_type=None, all_of=None, client_mac_address=None, session_id=None, radio_type=None, is_reassociation=None, ssid=None, security_type=None, fbt_used=None, ip_addr=None, clt_id=None, auth_ts=None, assoc_ts=None, eapol_ts=None, port_enabled_ts=None, first_data_rx_ts=None, first_data_tx_ts=None, using11k=None, using11r=None, using11v=None, ip_acquisition_ts=None, assoc_rssi=None): # noqa: E501 + """ClientConnectSuccessEvent - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._all_of = None + self._client_mac_address = None + self._session_id = None + self._radio_type = None + self._is_reassociation = None + self._ssid = None + self._security_type = None + self._fbt_used = None + self._ip_addr = None + self._clt_id = None + self._auth_ts = None + self._assoc_ts = None + self._eapol_ts = None + self._port_enabled_ts = None + self._first_data_rx_ts = None + self._first_data_tx_ts = None + self._using11k = None + self._using11r = None + self._using11v = None + self._ip_acquisition_ts = None + self._assoc_rssi = None + self.discriminator = None + self.model_type = model_type + if all_of is not None: + self.all_of = all_of + if client_mac_address is not None: + self.client_mac_address = client_mac_address + if session_id is not None: + self.session_id = session_id + if radio_type is not None: + self.radio_type = radio_type + if is_reassociation is not None: + self.is_reassociation = is_reassociation + if ssid is not None: + self.ssid = ssid + if security_type is not None: + self.security_type = security_type + if fbt_used is not None: + self.fbt_used = fbt_used + if ip_addr is not None: + self.ip_addr = ip_addr + if clt_id is not None: + self.clt_id = clt_id + if auth_ts is not None: + self.auth_ts = auth_ts + if assoc_ts is not None: + self.assoc_ts = assoc_ts + if eapol_ts is not None: + self.eapol_ts = eapol_ts + if port_enabled_ts is not None: + self.port_enabled_ts = port_enabled_ts + if first_data_rx_ts is not None: + self.first_data_rx_ts = first_data_rx_ts + if first_data_tx_ts is not None: + self.first_data_tx_ts = first_data_tx_ts + if using11k is not None: + self.using11k = using11k + if using11r is not None: + self.using11r = using11r + if using11v is not None: + self.using11v = using11v + if ip_acquisition_ts is not None: + self.ip_acquisition_ts = ip_acquisition_ts + if assoc_rssi is not None: + self.assoc_rssi = assoc_rssi + + @property + def model_type(self): + """Gets the model_type of this ClientConnectSuccessEvent. # noqa: E501 + + + :return: The model_type of this ClientConnectSuccessEvent. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this ClientConnectSuccessEvent. + + + :param model_type: The model_type of this ClientConnectSuccessEvent. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + + self._model_type = model_type + + @property + def all_of(self): + """Gets the all_of of this ClientConnectSuccessEvent. # noqa: E501 + + + :return: The all_of of this ClientConnectSuccessEvent. # noqa: E501 + :rtype: RealTimeEvent + """ + return self._all_of + + @all_of.setter + def all_of(self, all_of): + """Sets the all_of of this ClientConnectSuccessEvent. + + + :param all_of: The all_of of this ClientConnectSuccessEvent. # noqa: E501 + :type: RealTimeEvent + """ + + self._all_of = all_of + + @property + def client_mac_address(self): + """Gets the client_mac_address of this ClientConnectSuccessEvent. # noqa: E501 + + + :return: The client_mac_address of this ClientConnectSuccessEvent. # noqa: E501 + :rtype: MacAddress + """ + return self._client_mac_address + + @client_mac_address.setter + def client_mac_address(self, client_mac_address): + """Sets the client_mac_address of this ClientConnectSuccessEvent. + + + :param client_mac_address: The client_mac_address of this ClientConnectSuccessEvent. # noqa: E501 + :type: MacAddress + """ + + self._client_mac_address = client_mac_address + + @property + def session_id(self): + """Gets the session_id of this ClientConnectSuccessEvent. # noqa: E501 + + + :return: The session_id of this ClientConnectSuccessEvent. # noqa: E501 + :rtype: int + """ + return self._session_id + + @session_id.setter + def session_id(self, session_id): + """Sets the session_id of this ClientConnectSuccessEvent. + + + :param session_id: The session_id of this ClientConnectSuccessEvent. # noqa: E501 + :type: int + """ + + self._session_id = session_id + + @property + def radio_type(self): + """Gets the radio_type of this ClientConnectSuccessEvent. # noqa: E501 + + + :return: The radio_type of this ClientConnectSuccessEvent. # noqa: E501 + :rtype: RadioType + """ + return self._radio_type + + @radio_type.setter + def radio_type(self, radio_type): + """Sets the radio_type of this ClientConnectSuccessEvent. + + + :param radio_type: The radio_type of this ClientConnectSuccessEvent. # noqa: E501 + :type: RadioType + """ + + self._radio_type = radio_type + + @property + def is_reassociation(self): + """Gets the is_reassociation of this ClientConnectSuccessEvent. # noqa: E501 + + + :return: The is_reassociation of this ClientConnectSuccessEvent. # noqa: E501 + :rtype: bool + """ + return self._is_reassociation + + @is_reassociation.setter + def is_reassociation(self, is_reassociation): + """Sets the is_reassociation of this ClientConnectSuccessEvent. + + + :param is_reassociation: The is_reassociation of this ClientConnectSuccessEvent. # noqa: E501 + :type: bool + """ + + self._is_reassociation = is_reassociation + + @property + def ssid(self): + """Gets the ssid of this ClientConnectSuccessEvent. # noqa: E501 + + + :return: The ssid of this ClientConnectSuccessEvent. # noqa: E501 + :rtype: str + """ + return self._ssid + + @ssid.setter + def ssid(self, ssid): + """Sets the ssid of this ClientConnectSuccessEvent. + + + :param ssid: The ssid of this ClientConnectSuccessEvent. # noqa: E501 + :type: str + """ + + self._ssid = ssid + + @property + def security_type(self): + """Gets the security_type of this ClientConnectSuccessEvent. # noqa: E501 + + + :return: The security_type of this ClientConnectSuccessEvent. # noqa: E501 + :rtype: SecurityType + """ + return self._security_type + + @security_type.setter + def security_type(self, security_type): + """Sets the security_type of this ClientConnectSuccessEvent. + + + :param security_type: The security_type of this ClientConnectSuccessEvent. # noqa: E501 + :type: SecurityType + """ + + self._security_type = security_type + + @property + def fbt_used(self): + """Gets the fbt_used of this ClientConnectSuccessEvent. # noqa: E501 + + + :return: The fbt_used of this ClientConnectSuccessEvent. # noqa: E501 + :rtype: bool + """ + return self._fbt_used + + @fbt_used.setter + def fbt_used(self, fbt_used): + """Sets the fbt_used of this ClientConnectSuccessEvent. + + + :param fbt_used: The fbt_used of this ClientConnectSuccessEvent. # noqa: E501 + :type: bool + """ + + self._fbt_used = fbt_used + + @property + def ip_addr(self): + """Gets the ip_addr of this ClientConnectSuccessEvent. # noqa: E501 + + string representing InetAddress # noqa: E501 + + :return: The ip_addr of this ClientConnectSuccessEvent. # noqa: E501 + :rtype: str + """ + return self._ip_addr + + @ip_addr.setter + def ip_addr(self, ip_addr): + """Sets the ip_addr of this ClientConnectSuccessEvent. + + string representing InetAddress # noqa: E501 + + :param ip_addr: The ip_addr of this ClientConnectSuccessEvent. # noqa: E501 + :type: str + """ + + self._ip_addr = ip_addr + + @property + def clt_id(self): + """Gets the clt_id of this ClientConnectSuccessEvent. # noqa: E501 + + + :return: The clt_id of this ClientConnectSuccessEvent. # noqa: E501 + :rtype: str + """ + return self._clt_id + + @clt_id.setter + def clt_id(self, clt_id): + """Sets the clt_id of this ClientConnectSuccessEvent. + + + :param clt_id: The clt_id of this ClientConnectSuccessEvent. # noqa: E501 + :type: str + """ + + self._clt_id = clt_id + + @property + def auth_ts(self): + """Gets the auth_ts of this ClientConnectSuccessEvent. # noqa: E501 + + + :return: The auth_ts of this ClientConnectSuccessEvent. # noqa: E501 + :rtype: int + """ + return self._auth_ts + + @auth_ts.setter + def auth_ts(self, auth_ts): + """Sets the auth_ts of this ClientConnectSuccessEvent. + + + :param auth_ts: The auth_ts of this ClientConnectSuccessEvent. # noqa: E501 + :type: int + """ + + self._auth_ts = auth_ts + + @property + def assoc_ts(self): + """Gets the assoc_ts of this ClientConnectSuccessEvent. # noqa: E501 + + + :return: The assoc_ts of this ClientConnectSuccessEvent. # noqa: E501 + :rtype: int + """ + return self._assoc_ts + + @assoc_ts.setter + def assoc_ts(self, assoc_ts): + """Sets the assoc_ts of this ClientConnectSuccessEvent. + + + :param assoc_ts: The assoc_ts of this ClientConnectSuccessEvent. # noqa: E501 + :type: int + """ + + self._assoc_ts = assoc_ts + + @property + def eapol_ts(self): + """Gets the eapol_ts of this ClientConnectSuccessEvent. # noqa: E501 + + + :return: The eapol_ts of this ClientConnectSuccessEvent. # noqa: E501 + :rtype: int + """ + return self._eapol_ts + + @eapol_ts.setter + def eapol_ts(self, eapol_ts): + """Sets the eapol_ts of this ClientConnectSuccessEvent. + + + :param eapol_ts: The eapol_ts of this ClientConnectSuccessEvent. # noqa: E501 + :type: int + """ + + self._eapol_ts = eapol_ts + + @property + def port_enabled_ts(self): + """Gets the port_enabled_ts of this ClientConnectSuccessEvent. # noqa: E501 + + + :return: The port_enabled_ts of this ClientConnectSuccessEvent. # noqa: E501 + :rtype: int + """ + return self._port_enabled_ts + + @port_enabled_ts.setter + def port_enabled_ts(self, port_enabled_ts): + """Sets the port_enabled_ts of this ClientConnectSuccessEvent. + + + :param port_enabled_ts: The port_enabled_ts of this ClientConnectSuccessEvent. # noqa: E501 + :type: int + """ + + self._port_enabled_ts = port_enabled_ts + + @property + def first_data_rx_ts(self): + """Gets the first_data_rx_ts of this ClientConnectSuccessEvent. # noqa: E501 + + + :return: The first_data_rx_ts of this ClientConnectSuccessEvent. # noqa: E501 + :rtype: int + """ + return self._first_data_rx_ts + + @first_data_rx_ts.setter + def first_data_rx_ts(self, first_data_rx_ts): + """Sets the first_data_rx_ts of this ClientConnectSuccessEvent. + + + :param first_data_rx_ts: The first_data_rx_ts of this ClientConnectSuccessEvent. # noqa: E501 + :type: int + """ + + self._first_data_rx_ts = first_data_rx_ts + + @property + def first_data_tx_ts(self): + """Gets the first_data_tx_ts of this ClientConnectSuccessEvent. # noqa: E501 + + + :return: The first_data_tx_ts of this ClientConnectSuccessEvent. # noqa: E501 + :rtype: int + """ + return self._first_data_tx_ts + + @first_data_tx_ts.setter + def first_data_tx_ts(self, first_data_tx_ts): + """Sets the first_data_tx_ts of this ClientConnectSuccessEvent. + + + :param first_data_tx_ts: The first_data_tx_ts of this ClientConnectSuccessEvent. # noqa: E501 + :type: int + """ + + self._first_data_tx_ts = first_data_tx_ts + + @property + def using11k(self): + """Gets the using11k of this ClientConnectSuccessEvent. # noqa: E501 + + + :return: The using11k of this ClientConnectSuccessEvent. # noqa: E501 + :rtype: bool + """ + return self._using11k + + @using11k.setter + def using11k(self, using11k): + """Sets the using11k of this ClientConnectSuccessEvent. + + + :param using11k: The using11k of this ClientConnectSuccessEvent. # noqa: E501 + :type: bool + """ + + self._using11k = using11k + + @property + def using11r(self): + """Gets the using11r of this ClientConnectSuccessEvent. # noqa: E501 + + + :return: The using11r of this ClientConnectSuccessEvent. # noqa: E501 + :rtype: bool + """ + return self._using11r + + @using11r.setter + def using11r(self, using11r): + """Sets the using11r of this ClientConnectSuccessEvent. + + + :param using11r: The using11r of this ClientConnectSuccessEvent. # noqa: E501 + :type: bool + """ + + self._using11r = using11r + + @property + def using11v(self): + """Gets the using11v of this ClientConnectSuccessEvent. # noqa: E501 + + + :return: The using11v of this ClientConnectSuccessEvent. # noqa: E501 + :rtype: bool + """ + return self._using11v + + @using11v.setter + def using11v(self, using11v): + """Sets the using11v of this ClientConnectSuccessEvent. + + + :param using11v: The using11v of this ClientConnectSuccessEvent. # noqa: E501 + :type: bool + """ + + self._using11v = using11v + + @property + def ip_acquisition_ts(self): + """Gets the ip_acquisition_ts of this ClientConnectSuccessEvent. # noqa: E501 + + + :return: The ip_acquisition_ts of this ClientConnectSuccessEvent. # noqa: E501 + :rtype: int + """ + return self._ip_acquisition_ts + + @ip_acquisition_ts.setter + def ip_acquisition_ts(self, ip_acquisition_ts): + """Sets the ip_acquisition_ts of this ClientConnectSuccessEvent. + + + :param ip_acquisition_ts: The ip_acquisition_ts of this ClientConnectSuccessEvent. # noqa: E501 + :type: int + """ + + self._ip_acquisition_ts = ip_acquisition_ts + + @property + def assoc_rssi(self): + """Gets the assoc_rssi of this ClientConnectSuccessEvent. # noqa: E501 + + + :return: The assoc_rssi of this ClientConnectSuccessEvent. # noqa: E501 + :rtype: int + """ + return self._assoc_rssi + + @assoc_rssi.setter + def assoc_rssi(self, assoc_rssi): + """Sets the assoc_rssi of this ClientConnectSuccessEvent. + + + :param assoc_rssi: The assoc_rssi of this ClientConnectSuccessEvent. # noqa: E501 + :type: int + """ + + self._assoc_rssi = assoc_rssi + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ClientConnectSuccessEvent, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ClientConnectSuccessEvent): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/client_connection_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/client_connection_details.py new file mode 100644 index 000000000..9caeb8feb --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/client_connection_details.py @@ -0,0 +1,175 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ClientConnectionDetails(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'status_data_type': 'str', + 'num_clients_per_radio': 'IntegerPerRadioTypeMap' + } + + attribute_map = { + 'model_type': 'model_type', + 'status_data_type': 'statusDataType', + 'num_clients_per_radio': 'numClientsPerRadio' + } + + def __init__(self, model_type=None, status_data_type=None, num_clients_per_radio=None): # noqa: E501 + """ClientConnectionDetails - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._status_data_type = None + self._num_clients_per_radio = None + self.discriminator = None + self.model_type = model_type + if status_data_type is not None: + self.status_data_type = status_data_type + if num_clients_per_radio is not None: + self.num_clients_per_radio = num_clients_per_radio + + @property + def model_type(self): + """Gets the model_type of this ClientConnectionDetails. # noqa: E501 + + + :return: The model_type of this ClientConnectionDetails. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this ClientConnectionDetails. + + + :param model_type: The model_type of this ClientConnectionDetails. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + allowed_values = ["ClientConnectionDetails"] # noqa: E501 + if model_type not in allowed_values: + raise ValueError( + "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 + .format(model_type, allowed_values) + ) + + self._model_type = model_type + + @property + def status_data_type(self): + """Gets the status_data_type of this ClientConnectionDetails. # noqa: E501 + + + :return: The status_data_type of this ClientConnectionDetails. # noqa: E501 + :rtype: str + """ + return self._status_data_type + + @status_data_type.setter + def status_data_type(self, status_data_type): + """Sets the status_data_type of this ClientConnectionDetails. + + + :param status_data_type: The status_data_type of this ClientConnectionDetails. # noqa: E501 + :type: str + """ + allowed_values = ["CLIENT_DETAILS"] # noqa: E501 + if status_data_type not in allowed_values: + raise ValueError( + "Invalid value for `status_data_type` ({0}), must be one of {1}" # noqa: E501 + .format(status_data_type, allowed_values) + ) + + self._status_data_type = status_data_type + + @property + def num_clients_per_radio(self): + """Gets the num_clients_per_radio of this ClientConnectionDetails. # noqa: E501 + + + :return: The num_clients_per_radio of this ClientConnectionDetails. # noqa: E501 + :rtype: IntegerPerRadioTypeMap + """ + return self._num_clients_per_radio + + @num_clients_per_radio.setter + def num_clients_per_radio(self, num_clients_per_radio): + """Sets the num_clients_per_radio of this ClientConnectionDetails. + + + :param num_clients_per_radio: The num_clients_per_radio of this ClientConnectionDetails. # noqa: E501 + :type: IntegerPerRadioTypeMap + """ + + self._num_clients_per_radio = num_clients_per_radio + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ClientConnectionDetails, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ClientConnectionDetails): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/client_dhcp_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/client_dhcp_details.py new file mode 100644 index 000000000..e0a45e5eb --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/client_dhcp_details.py @@ -0,0 +1,396 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ClientDhcpDetails(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'dhcp_server_ip': 'str', + 'primary_dns': 'str', + 'secondary_dns': 'str', + 'subnet_mask': 'str', + 'gateway_ip': 'str', + 'lease_start_timestamp': 'int', + 'lease_time_in_seconds': 'int', + 'first_request_timestamp': 'int', + 'first_offer_timestamp': 'int', + 'first_discover_timestamp': 'int', + 'nak_timestamp': 'int', + 'from_internal': 'bool' + } + + attribute_map = { + 'dhcp_server_ip': 'dhcpServerIp', + 'primary_dns': 'primaryDns', + 'secondary_dns': 'secondaryDns', + 'subnet_mask': 'subnetMask', + 'gateway_ip': 'gatewayIp', + 'lease_start_timestamp': 'leaseStartTimestamp', + 'lease_time_in_seconds': 'leaseTimeInSeconds', + 'first_request_timestamp': 'firstRequestTimestamp', + 'first_offer_timestamp': 'firstOfferTimestamp', + 'first_discover_timestamp': 'firstDiscoverTimestamp', + 'nak_timestamp': 'nakTimestamp', + 'from_internal': 'fromInternal' + } + + def __init__(self, dhcp_server_ip=None, primary_dns=None, secondary_dns=None, subnet_mask=None, gateway_ip=None, lease_start_timestamp=None, lease_time_in_seconds=None, first_request_timestamp=None, first_offer_timestamp=None, first_discover_timestamp=None, nak_timestamp=None, from_internal=None): # noqa: E501 + """ClientDhcpDetails - a model defined in Swagger""" # noqa: E501 + self._dhcp_server_ip = None + self._primary_dns = None + self._secondary_dns = None + self._subnet_mask = None + self._gateway_ip = None + self._lease_start_timestamp = None + self._lease_time_in_seconds = None + self._first_request_timestamp = None + self._first_offer_timestamp = None + self._first_discover_timestamp = None + self._nak_timestamp = None + self._from_internal = None + self.discriminator = None + if dhcp_server_ip is not None: + self.dhcp_server_ip = dhcp_server_ip + if primary_dns is not None: + self.primary_dns = primary_dns + if secondary_dns is not None: + self.secondary_dns = secondary_dns + if subnet_mask is not None: + self.subnet_mask = subnet_mask + if gateway_ip is not None: + self.gateway_ip = gateway_ip + if lease_start_timestamp is not None: + self.lease_start_timestamp = lease_start_timestamp + if lease_time_in_seconds is not None: + self.lease_time_in_seconds = lease_time_in_seconds + if first_request_timestamp is not None: + self.first_request_timestamp = first_request_timestamp + if first_offer_timestamp is not None: + self.first_offer_timestamp = first_offer_timestamp + if first_discover_timestamp is not None: + self.first_discover_timestamp = first_discover_timestamp + if nak_timestamp is not None: + self.nak_timestamp = nak_timestamp + if from_internal is not None: + self.from_internal = from_internal + + @property + def dhcp_server_ip(self): + """Gets the dhcp_server_ip of this ClientDhcpDetails. # noqa: E501 + + + :return: The dhcp_server_ip of this ClientDhcpDetails. # noqa: E501 + :rtype: str + """ + return self._dhcp_server_ip + + @dhcp_server_ip.setter + def dhcp_server_ip(self, dhcp_server_ip): + """Sets the dhcp_server_ip of this ClientDhcpDetails. + + + :param dhcp_server_ip: The dhcp_server_ip of this ClientDhcpDetails. # noqa: E501 + :type: str + """ + + self._dhcp_server_ip = dhcp_server_ip + + @property + def primary_dns(self): + """Gets the primary_dns of this ClientDhcpDetails. # noqa: E501 + + + :return: The primary_dns of this ClientDhcpDetails. # noqa: E501 + :rtype: str + """ + return self._primary_dns + + @primary_dns.setter + def primary_dns(self, primary_dns): + """Sets the primary_dns of this ClientDhcpDetails. + + + :param primary_dns: The primary_dns of this ClientDhcpDetails. # noqa: E501 + :type: str + """ + + self._primary_dns = primary_dns + + @property + def secondary_dns(self): + """Gets the secondary_dns of this ClientDhcpDetails. # noqa: E501 + + + :return: The secondary_dns of this ClientDhcpDetails. # noqa: E501 + :rtype: str + """ + return self._secondary_dns + + @secondary_dns.setter + def secondary_dns(self, secondary_dns): + """Sets the secondary_dns of this ClientDhcpDetails. + + + :param secondary_dns: The secondary_dns of this ClientDhcpDetails. # noqa: E501 + :type: str + """ + + self._secondary_dns = secondary_dns + + @property + def subnet_mask(self): + """Gets the subnet_mask of this ClientDhcpDetails. # noqa: E501 + + + :return: The subnet_mask of this ClientDhcpDetails. # noqa: E501 + :rtype: str + """ + return self._subnet_mask + + @subnet_mask.setter + def subnet_mask(self, subnet_mask): + """Sets the subnet_mask of this ClientDhcpDetails. + + + :param subnet_mask: The subnet_mask of this ClientDhcpDetails. # noqa: E501 + :type: str + """ + + self._subnet_mask = subnet_mask + + @property + def gateway_ip(self): + """Gets the gateway_ip of this ClientDhcpDetails. # noqa: E501 + + + :return: The gateway_ip of this ClientDhcpDetails. # noqa: E501 + :rtype: str + """ + return self._gateway_ip + + @gateway_ip.setter + def gateway_ip(self, gateway_ip): + """Sets the gateway_ip of this ClientDhcpDetails. + + + :param gateway_ip: The gateway_ip of this ClientDhcpDetails. # noqa: E501 + :type: str + """ + + self._gateway_ip = gateway_ip + + @property + def lease_start_timestamp(self): + """Gets the lease_start_timestamp of this ClientDhcpDetails. # noqa: E501 + + + :return: The lease_start_timestamp of this ClientDhcpDetails. # noqa: E501 + :rtype: int + """ + return self._lease_start_timestamp + + @lease_start_timestamp.setter + def lease_start_timestamp(self, lease_start_timestamp): + """Sets the lease_start_timestamp of this ClientDhcpDetails. + + + :param lease_start_timestamp: The lease_start_timestamp of this ClientDhcpDetails. # noqa: E501 + :type: int + """ + + self._lease_start_timestamp = lease_start_timestamp + + @property + def lease_time_in_seconds(self): + """Gets the lease_time_in_seconds of this ClientDhcpDetails. # noqa: E501 + + + :return: The lease_time_in_seconds of this ClientDhcpDetails. # noqa: E501 + :rtype: int + """ + return self._lease_time_in_seconds + + @lease_time_in_seconds.setter + def lease_time_in_seconds(self, lease_time_in_seconds): + """Sets the lease_time_in_seconds of this ClientDhcpDetails. + + + :param lease_time_in_seconds: The lease_time_in_seconds of this ClientDhcpDetails. # noqa: E501 + :type: int + """ + + self._lease_time_in_seconds = lease_time_in_seconds + + @property + def first_request_timestamp(self): + """Gets the first_request_timestamp of this ClientDhcpDetails. # noqa: E501 + + + :return: The first_request_timestamp of this ClientDhcpDetails. # noqa: E501 + :rtype: int + """ + return self._first_request_timestamp + + @first_request_timestamp.setter + def first_request_timestamp(self, first_request_timestamp): + """Sets the first_request_timestamp of this ClientDhcpDetails. + + + :param first_request_timestamp: The first_request_timestamp of this ClientDhcpDetails. # noqa: E501 + :type: int + """ + + self._first_request_timestamp = first_request_timestamp + + @property + def first_offer_timestamp(self): + """Gets the first_offer_timestamp of this ClientDhcpDetails. # noqa: E501 + + + :return: The first_offer_timestamp of this ClientDhcpDetails. # noqa: E501 + :rtype: int + """ + return self._first_offer_timestamp + + @first_offer_timestamp.setter + def first_offer_timestamp(self, first_offer_timestamp): + """Sets the first_offer_timestamp of this ClientDhcpDetails. + + + :param first_offer_timestamp: The first_offer_timestamp of this ClientDhcpDetails. # noqa: E501 + :type: int + """ + + self._first_offer_timestamp = first_offer_timestamp + + @property + def first_discover_timestamp(self): + """Gets the first_discover_timestamp of this ClientDhcpDetails. # noqa: E501 + + + :return: The first_discover_timestamp of this ClientDhcpDetails. # noqa: E501 + :rtype: int + """ + return self._first_discover_timestamp + + @first_discover_timestamp.setter + def first_discover_timestamp(self, first_discover_timestamp): + """Sets the first_discover_timestamp of this ClientDhcpDetails. + + + :param first_discover_timestamp: The first_discover_timestamp of this ClientDhcpDetails. # noqa: E501 + :type: int + """ + + self._first_discover_timestamp = first_discover_timestamp + + @property + def nak_timestamp(self): + """Gets the nak_timestamp of this ClientDhcpDetails. # noqa: E501 + + + :return: The nak_timestamp of this ClientDhcpDetails. # noqa: E501 + :rtype: int + """ + return self._nak_timestamp + + @nak_timestamp.setter + def nak_timestamp(self, nak_timestamp): + """Sets the nak_timestamp of this ClientDhcpDetails. + + + :param nak_timestamp: The nak_timestamp of this ClientDhcpDetails. # noqa: E501 + :type: int + """ + + self._nak_timestamp = nak_timestamp + + @property + def from_internal(self): + """Gets the from_internal of this ClientDhcpDetails. # noqa: E501 + + + :return: The from_internal of this ClientDhcpDetails. # noqa: E501 + :rtype: bool + """ + return self._from_internal + + @from_internal.setter + def from_internal(self, from_internal): + """Sets the from_internal of this ClientDhcpDetails. + + + :param from_internal: The from_internal of this ClientDhcpDetails. # noqa: E501 + :type: bool + """ + + self._from_internal = from_internal + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ClientDhcpDetails, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ClientDhcpDetails): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/client_disconnect_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/client_disconnect_event.py new file mode 100644 index 000000000..86ee9eeaa --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/client_disconnect_event.py @@ -0,0 +1,449 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ClientDisconnectEvent(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'all_of': 'RealTimeEvent', + 'session_id': 'int', + 'ssid': 'str', + 'client_mac_address': 'MacAddress', + 'radio_type': 'RadioType', + 'mac_address_bytes': 'list[str]', + 'reason_code': 'WlanReasonCode', + 'internal_reason_code': 'int', + 'rssi': 'int', + 'last_recv_time': 'int', + 'last_sent_time': 'int', + 'frame_type': 'DisconnectFrameType', + 'initiator': 'DisconnectInitiator' + } + + attribute_map = { + 'model_type': 'model_type', + 'all_of': 'allOf', + 'session_id': 'sessionId', + 'ssid': 'ssid', + 'client_mac_address': 'clientMacAddress', + 'radio_type': 'radioType', + 'mac_address_bytes': 'macAddressBytes', + 'reason_code': 'reasonCode', + 'internal_reason_code': 'internalReasonCode', + 'rssi': 'rssi', + 'last_recv_time': 'lastRecvTime', + 'last_sent_time': 'lastSentTime', + 'frame_type': 'frameType', + 'initiator': 'initiator' + } + + def __init__(self, model_type=None, all_of=None, session_id=None, ssid=None, client_mac_address=None, radio_type=None, mac_address_bytes=None, reason_code=None, internal_reason_code=None, rssi=None, last_recv_time=None, last_sent_time=None, frame_type=None, initiator=None): # noqa: E501 + """ClientDisconnectEvent - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._all_of = None + self._session_id = None + self._ssid = None + self._client_mac_address = None + self._radio_type = None + self._mac_address_bytes = None + self._reason_code = None + self._internal_reason_code = None + self._rssi = None + self._last_recv_time = None + self._last_sent_time = None + self._frame_type = None + self._initiator = None + self.discriminator = None + self.model_type = model_type + if all_of is not None: + self.all_of = all_of + if session_id is not None: + self.session_id = session_id + if ssid is not None: + self.ssid = ssid + if client_mac_address is not None: + self.client_mac_address = client_mac_address + if radio_type is not None: + self.radio_type = radio_type + if mac_address_bytes is not None: + self.mac_address_bytes = mac_address_bytes + if reason_code is not None: + self.reason_code = reason_code + if internal_reason_code is not None: + self.internal_reason_code = internal_reason_code + if rssi is not None: + self.rssi = rssi + if last_recv_time is not None: + self.last_recv_time = last_recv_time + if last_sent_time is not None: + self.last_sent_time = last_sent_time + if frame_type is not None: + self.frame_type = frame_type + if initiator is not None: + self.initiator = initiator + + @property + def model_type(self): + """Gets the model_type of this ClientDisconnectEvent. # noqa: E501 + + + :return: The model_type of this ClientDisconnectEvent. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this ClientDisconnectEvent. + + + :param model_type: The model_type of this ClientDisconnectEvent. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + + self._model_type = model_type + + @property + def all_of(self): + """Gets the all_of of this ClientDisconnectEvent. # noqa: E501 + + + :return: The all_of of this ClientDisconnectEvent. # noqa: E501 + :rtype: RealTimeEvent + """ + return self._all_of + + @all_of.setter + def all_of(self, all_of): + """Sets the all_of of this ClientDisconnectEvent. + + + :param all_of: The all_of of this ClientDisconnectEvent. # noqa: E501 + :type: RealTimeEvent + """ + + self._all_of = all_of + + @property + def session_id(self): + """Gets the session_id of this ClientDisconnectEvent. # noqa: E501 + + + :return: The session_id of this ClientDisconnectEvent. # noqa: E501 + :rtype: int + """ + return self._session_id + + @session_id.setter + def session_id(self, session_id): + """Sets the session_id of this ClientDisconnectEvent. + + + :param session_id: The session_id of this ClientDisconnectEvent. # noqa: E501 + :type: int + """ + + self._session_id = session_id + + @property + def ssid(self): + """Gets the ssid of this ClientDisconnectEvent. # noqa: E501 + + + :return: The ssid of this ClientDisconnectEvent. # noqa: E501 + :rtype: str + """ + return self._ssid + + @ssid.setter + def ssid(self, ssid): + """Sets the ssid of this ClientDisconnectEvent. + + + :param ssid: The ssid of this ClientDisconnectEvent. # noqa: E501 + :type: str + """ + + self._ssid = ssid + + @property + def client_mac_address(self): + """Gets the client_mac_address of this ClientDisconnectEvent. # noqa: E501 + + + :return: The client_mac_address of this ClientDisconnectEvent. # noqa: E501 + :rtype: MacAddress + """ + return self._client_mac_address + + @client_mac_address.setter + def client_mac_address(self, client_mac_address): + """Sets the client_mac_address of this ClientDisconnectEvent. + + + :param client_mac_address: The client_mac_address of this ClientDisconnectEvent. # noqa: E501 + :type: MacAddress + """ + + self._client_mac_address = client_mac_address + + @property + def radio_type(self): + """Gets the radio_type of this ClientDisconnectEvent. # noqa: E501 + + + :return: The radio_type of this ClientDisconnectEvent. # noqa: E501 + :rtype: RadioType + """ + return self._radio_type + + @radio_type.setter + def radio_type(self, radio_type): + """Sets the radio_type of this ClientDisconnectEvent. + + + :param radio_type: The radio_type of this ClientDisconnectEvent. # noqa: E501 + :type: RadioType + """ + + self._radio_type = radio_type + + @property + def mac_address_bytes(self): + """Gets the mac_address_bytes of this ClientDisconnectEvent. # noqa: E501 + + + :return: The mac_address_bytes of this ClientDisconnectEvent. # noqa: E501 + :rtype: list[str] + """ + return self._mac_address_bytes + + @mac_address_bytes.setter + def mac_address_bytes(self, mac_address_bytes): + """Sets the mac_address_bytes of this ClientDisconnectEvent. + + + :param mac_address_bytes: The mac_address_bytes of this ClientDisconnectEvent. # noqa: E501 + :type: list[str] + """ + + self._mac_address_bytes = mac_address_bytes + + @property + def reason_code(self): + """Gets the reason_code of this ClientDisconnectEvent. # noqa: E501 + + + :return: The reason_code of this ClientDisconnectEvent. # noqa: E501 + :rtype: WlanReasonCode + """ + return self._reason_code + + @reason_code.setter + def reason_code(self, reason_code): + """Sets the reason_code of this ClientDisconnectEvent. + + + :param reason_code: The reason_code of this ClientDisconnectEvent. # noqa: E501 + :type: WlanReasonCode + """ + + self._reason_code = reason_code + + @property + def internal_reason_code(self): + """Gets the internal_reason_code of this ClientDisconnectEvent. # noqa: E501 + + + :return: The internal_reason_code of this ClientDisconnectEvent. # noqa: E501 + :rtype: int + """ + return self._internal_reason_code + + @internal_reason_code.setter + def internal_reason_code(self, internal_reason_code): + """Sets the internal_reason_code of this ClientDisconnectEvent. + + + :param internal_reason_code: The internal_reason_code of this ClientDisconnectEvent. # noqa: E501 + :type: int + """ + + self._internal_reason_code = internal_reason_code + + @property + def rssi(self): + """Gets the rssi of this ClientDisconnectEvent. # noqa: E501 + + + :return: The rssi of this ClientDisconnectEvent. # noqa: E501 + :rtype: int + """ + return self._rssi + + @rssi.setter + def rssi(self, rssi): + """Sets the rssi of this ClientDisconnectEvent. + + + :param rssi: The rssi of this ClientDisconnectEvent. # noqa: E501 + :type: int + """ + + self._rssi = rssi + + @property + def last_recv_time(self): + """Gets the last_recv_time of this ClientDisconnectEvent. # noqa: E501 + + + :return: The last_recv_time of this ClientDisconnectEvent. # noqa: E501 + :rtype: int + """ + return self._last_recv_time + + @last_recv_time.setter + def last_recv_time(self, last_recv_time): + """Sets the last_recv_time of this ClientDisconnectEvent. + + + :param last_recv_time: The last_recv_time of this ClientDisconnectEvent. # noqa: E501 + :type: int + """ + + self._last_recv_time = last_recv_time + + @property + def last_sent_time(self): + """Gets the last_sent_time of this ClientDisconnectEvent. # noqa: E501 + + + :return: The last_sent_time of this ClientDisconnectEvent. # noqa: E501 + :rtype: int + """ + return self._last_sent_time + + @last_sent_time.setter + def last_sent_time(self, last_sent_time): + """Sets the last_sent_time of this ClientDisconnectEvent. + + + :param last_sent_time: The last_sent_time of this ClientDisconnectEvent. # noqa: E501 + :type: int + """ + + self._last_sent_time = last_sent_time + + @property + def frame_type(self): + """Gets the frame_type of this ClientDisconnectEvent. # noqa: E501 + + + :return: The frame_type of this ClientDisconnectEvent. # noqa: E501 + :rtype: DisconnectFrameType + """ + return self._frame_type + + @frame_type.setter + def frame_type(self, frame_type): + """Sets the frame_type of this ClientDisconnectEvent. + + + :param frame_type: The frame_type of this ClientDisconnectEvent. # noqa: E501 + :type: DisconnectFrameType + """ + + self._frame_type = frame_type + + @property + def initiator(self): + """Gets the initiator of this ClientDisconnectEvent. # noqa: E501 + + + :return: The initiator of this ClientDisconnectEvent. # noqa: E501 + :rtype: DisconnectInitiator + """ + return self._initiator + + @initiator.setter + def initiator(self, initiator): + """Sets the initiator of this ClientDisconnectEvent. + + + :param initiator: The initiator of this ClientDisconnectEvent. # noqa: E501 + :type: DisconnectInitiator + """ + + self._initiator = initiator + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ClientDisconnectEvent, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ClientDisconnectEvent): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/client_eap_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/client_eap_details.py new file mode 100644 index 000000000..c1822cf36 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/client_eap_details.py @@ -0,0 +1,266 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ClientEapDetails(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'eap_key1_timestamp': 'int', + 'eap_key2_timestamp': 'int', + 'eap_key3_timestamp': 'int', + 'eap_key4_timestamp': 'int', + 'request_identity_timestamp': 'int', + 'eap_negotiation_start_timestamp': 'int', + 'eap_success_timestamp': 'int' + } + + attribute_map = { + 'eap_key1_timestamp': 'eapKey1Timestamp', + 'eap_key2_timestamp': 'eapKey2Timestamp', + 'eap_key3_timestamp': 'eapKey3Timestamp', + 'eap_key4_timestamp': 'eapKey4Timestamp', + 'request_identity_timestamp': 'requestIdentityTimestamp', + 'eap_negotiation_start_timestamp': 'eapNegotiationStartTimestamp', + 'eap_success_timestamp': 'eapSuccessTimestamp' + } + + def __init__(self, eap_key1_timestamp=None, eap_key2_timestamp=None, eap_key3_timestamp=None, eap_key4_timestamp=None, request_identity_timestamp=None, eap_negotiation_start_timestamp=None, eap_success_timestamp=None): # noqa: E501 + """ClientEapDetails - a model defined in Swagger""" # noqa: E501 + self._eap_key1_timestamp = None + self._eap_key2_timestamp = None + self._eap_key3_timestamp = None + self._eap_key4_timestamp = None + self._request_identity_timestamp = None + self._eap_negotiation_start_timestamp = None + self._eap_success_timestamp = None + self.discriminator = None + if eap_key1_timestamp is not None: + self.eap_key1_timestamp = eap_key1_timestamp + if eap_key2_timestamp is not None: + self.eap_key2_timestamp = eap_key2_timestamp + if eap_key3_timestamp is not None: + self.eap_key3_timestamp = eap_key3_timestamp + if eap_key4_timestamp is not None: + self.eap_key4_timestamp = eap_key4_timestamp + if request_identity_timestamp is not None: + self.request_identity_timestamp = request_identity_timestamp + if eap_negotiation_start_timestamp is not None: + self.eap_negotiation_start_timestamp = eap_negotiation_start_timestamp + if eap_success_timestamp is not None: + self.eap_success_timestamp = eap_success_timestamp + + @property + def eap_key1_timestamp(self): + """Gets the eap_key1_timestamp of this ClientEapDetails. # noqa: E501 + + + :return: The eap_key1_timestamp of this ClientEapDetails. # noqa: E501 + :rtype: int + """ + return self._eap_key1_timestamp + + @eap_key1_timestamp.setter + def eap_key1_timestamp(self, eap_key1_timestamp): + """Sets the eap_key1_timestamp of this ClientEapDetails. + + + :param eap_key1_timestamp: The eap_key1_timestamp of this ClientEapDetails. # noqa: E501 + :type: int + """ + + self._eap_key1_timestamp = eap_key1_timestamp + + @property + def eap_key2_timestamp(self): + """Gets the eap_key2_timestamp of this ClientEapDetails. # noqa: E501 + + + :return: The eap_key2_timestamp of this ClientEapDetails. # noqa: E501 + :rtype: int + """ + return self._eap_key2_timestamp + + @eap_key2_timestamp.setter + def eap_key2_timestamp(self, eap_key2_timestamp): + """Sets the eap_key2_timestamp of this ClientEapDetails. + + + :param eap_key2_timestamp: The eap_key2_timestamp of this ClientEapDetails. # noqa: E501 + :type: int + """ + + self._eap_key2_timestamp = eap_key2_timestamp + + @property + def eap_key3_timestamp(self): + """Gets the eap_key3_timestamp of this ClientEapDetails. # noqa: E501 + + + :return: The eap_key3_timestamp of this ClientEapDetails. # noqa: E501 + :rtype: int + """ + return self._eap_key3_timestamp + + @eap_key3_timestamp.setter + def eap_key3_timestamp(self, eap_key3_timestamp): + """Sets the eap_key3_timestamp of this ClientEapDetails. + + + :param eap_key3_timestamp: The eap_key3_timestamp of this ClientEapDetails. # noqa: E501 + :type: int + """ + + self._eap_key3_timestamp = eap_key3_timestamp + + @property + def eap_key4_timestamp(self): + """Gets the eap_key4_timestamp of this ClientEapDetails. # noqa: E501 + + + :return: The eap_key4_timestamp of this ClientEapDetails. # noqa: E501 + :rtype: int + """ + return self._eap_key4_timestamp + + @eap_key4_timestamp.setter + def eap_key4_timestamp(self, eap_key4_timestamp): + """Sets the eap_key4_timestamp of this ClientEapDetails. + + + :param eap_key4_timestamp: The eap_key4_timestamp of this ClientEapDetails. # noqa: E501 + :type: int + """ + + self._eap_key4_timestamp = eap_key4_timestamp + + @property + def request_identity_timestamp(self): + """Gets the request_identity_timestamp of this ClientEapDetails. # noqa: E501 + + + :return: The request_identity_timestamp of this ClientEapDetails. # noqa: E501 + :rtype: int + """ + return self._request_identity_timestamp + + @request_identity_timestamp.setter + def request_identity_timestamp(self, request_identity_timestamp): + """Sets the request_identity_timestamp of this ClientEapDetails. + + + :param request_identity_timestamp: The request_identity_timestamp of this ClientEapDetails. # noqa: E501 + :type: int + """ + + self._request_identity_timestamp = request_identity_timestamp + + @property + def eap_negotiation_start_timestamp(self): + """Gets the eap_negotiation_start_timestamp of this ClientEapDetails. # noqa: E501 + + + :return: The eap_negotiation_start_timestamp of this ClientEapDetails. # noqa: E501 + :rtype: int + """ + return self._eap_negotiation_start_timestamp + + @eap_negotiation_start_timestamp.setter + def eap_negotiation_start_timestamp(self, eap_negotiation_start_timestamp): + """Sets the eap_negotiation_start_timestamp of this ClientEapDetails. + + + :param eap_negotiation_start_timestamp: The eap_negotiation_start_timestamp of this ClientEapDetails. # noqa: E501 + :type: int + """ + + self._eap_negotiation_start_timestamp = eap_negotiation_start_timestamp + + @property + def eap_success_timestamp(self): + """Gets the eap_success_timestamp of this ClientEapDetails. # noqa: E501 + + + :return: The eap_success_timestamp of this ClientEapDetails. # noqa: E501 + :rtype: int + """ + return self._eap_success_timestamp + + @eap_success_timestamp.setter + def eap_success_timestamp(self, eap_success_timestamp): + """Sets the eap_success_timestamp of this ClientEapDetails. + + + :param eap_success_timestamp: The eap_success_timestamp of this ClientEapDetails. # noqa: E501 + :type: int + """ + + self._eap_success_timestamp = eap_success_timestamp + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ClientEapDetails, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ClientEapDetails): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/client_failure_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/client_failure_details.py new file mode 100644 index 000000000..635d27c76 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/client_failure_details.py @@ -0,0 +1,162 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ClientFailureDetails(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'failure_timestamp': 'int', + 'reason_code': 'int', + 'reason': 'str' + } + + attribute_map = { + 'failure_timestamp': 'failureTimestamp', + 'reason_code': 'reasonCode', + 'reason': 'reason' + } + + def __init__(self, failure_timestamp=None, reason_code=None, reason=None): # noqa: E501 + """ClientFailureDetails - a model defined in Swagger""" # noqa: E501 + self._failure_timestamp = None + self._reason_code = None + self._reason = None + self.discriminator = None + if failure_timestamp is not None: + self.failure_timestamp = failure_timestamp + if reason_code is not None: + self.reason_code = reason_code + if reason is not None: + self.reason = reason + + @property + def failure_timestamp(self): + """Gets the failure_timestamp of this ClientFailureDetails. # noqa: E501 + + + :return: The failure_timestamp of this ClientFailureDetails. # noqa: E501 + :rtype: int + """ + return self._failure_timestamp + + @failure_timestamp.setter + def failure_timestamp(self, failure_timestamp): + """Sets the failure_timestamp of this ClientFailureDetails. + + + :param failure_timestamp: The failure_timestamp of this ClientFailureDetails. # noqa: E501 + :type: int + """ + + self._failure_timestamp = failure_timestamp + + @property + def reason_code(self): + """Gets the reason_code of this ClientFailureDetails. # noqa: E501 + + + :return: The reason_code of this ClientFailureDetails. # noqa: E501 + :rtype: int + """ + return self._reason_code + + @reason_code.setter + def reason_code(self, reason_code): + """Sets the reason_code of this ClientFailureDetails. + + + :param reason_code: The reason_code of this ClientFailureDetails. # noqa: E501 + :type: int + """ + + self._reason_code = reason_code + + @property + def reason(self): + """Gets the reason of this ClientFailureDetails. # noqa: E501 + + + :return: The reason of this ClientFailureDetails. # noqa: E501 + :rtype: str + """ + return self._reason + + @reason.setter + def reason(self, reason): + """Sets the reason of this ClientFailureDetails. + + + :param reason: The reason of this ClientFailureDetails. # noqa: E501 + :type: str + """ + + self._reason = reason + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ClientFailureDetails, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ClientFailureDetails): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/client_failure_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/client_failure_event.py new file mode 100644 index 000000000..a59990807 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/client_failure_event.py @@ -0,0 +1,267 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ClientFailureEvent(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'all_of': 'RealTimeEvent', + 'session_id': 'int', + 'ssid': 'str', + 'client_mac_address': 'MacAddress', + 'reason_code': 'WlanReasonCode', + 'reason_string': 'str' + } + + attribute_map = { + 'model_type': 'model_type', + 'all_of': 'allOf', + 'session_id': 'sessionId', + 'ssid': 'ssid', + 'client_mac_address': 'clientMacAddress', + 'reason_code': 'reasonCode', + 'reason_string': 'reasonString' + } + + def __init__(self, model_type=None, all_of=None, session_id=None, ssid=None, client_mac_address=None, reason_code=None, reason_string=None): # noqa: E501 + """ClientFailureEvent - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._all_of = None + self._session_id = None + self._ssid = None + self._client_mac_address = None + self._reason_code = None + self._reason_string = None + self.discriminator = None + self.model_type = model_type + if all_of is not None: + self.all_of = all_of + if session_id is not None: + self.session_id = session_id + if ssid is not None: + self.ssid = ssid + if client_mac_address is not None: + self.client_mac_address = client_mac_address + if reason_code is not None: + self.reason_code = reason_code + if reason_string is not None: + self.reason_string = reason_string + + @property + def model_type(self): + """Gets the model_type of this ClientFailureEvent. # noqa: E501 + + + :return: The model_type of this ClientFailureEvent. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this ClientFailureEvent. + + + :param model_type: The model_type of this ClientFailureEvent. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + + self._model_type = model_type + + @property + def all_of(self): + """Gets the all_of of this ClientFailureEvent. # noqa: E501 + + + :return: The all_of of this ClientFailureEvent. # noqa: E501 + :rtype: RealTimeEvent + """ + return self._all_of + + @all_of.setter + def all_of(self, all_of): + """Sets the all_of of this ClientFailureEvent. + + + :param all_of: The all_of of this ClientFailureEvent. # noqa: E501 + :type: RealTimeEvent + """ + + self._all_of = all_of + + @property + def session_id(self): + """Gets the session_id of this ClientFailureEvent. # noqa: E501 + + + :return: The session_id of this ClientFailureEvent. # noqa: E501 + :rtype: int + """ + return self._session_id + + @session_id.setter + def session_id(self, session_id): + """Sets the session_id of this ClientFailureEvent. + + + :param session_id: The session_id of this ClientFailureEvent. # noqa: E501 + :type: int + """ + + self._session_id = session_id + + @property + def ssid(self): + """Gets the ssid of this ClientFailureEvent. # noqa: E501 + + + :return: The ssid of this ClientFailureEvent. # noqa: E501 + :rtype: str + """ + return self._ssid + + @ssid.setter + def ssid(self, ssid): + """Sets the ssid of this ClientFailureEvent. + + + :param ssid: The ssid of this ClientFailureEvent. # noqa: E501 + :type: str + """ + + self._ssid = ssid + + @property + def client_mac_address(self): + """Gets the client_mac_address of this ClientFailureEvent. # noqa: E501 + + + :return: The client_mac_address of this ClientFailureEvent. # noqa: E501 + :rtype: MacAddress + """ + return self._client_mac_address + + @client_mac_address.setter + def client_mac_address(self, client_mac_address): + """Sets the client_mac_address of this ClientFailureEvent. + + + :param client_mac_address: The client_mac_address of this ClientFailureEvent. # noqa: E501 + :type: MacAddress + """ + + self._client_mac_address = client_mac_address + + @property + def reason_code(self): + """Gets the reason_code of this ClientFailureEvent. # noqa: E501 + + + :return: The reason_code of this ClientFailureEvent. # noqa: E501 + :rtype: WlanReasonCode + """ + return self._reason_code + + @reason_code.setter + def reason_code(self, reason_code): + """Sets the reason_code of this ClientFailureEvent. + + + :param reason_code: The reason_code of this ClientFailureEvent. # noqa: E501 + :type: WlanReasonCode + """ + + self._reason_code = reason_code + + @property + def reason_string(self): + """Gets the reason_string of this ClientFailureEvent. # noqa: E501 + + + :return: The reason_string of this ClientFailureEvent. # noqa: E501 + :rtype: str + """ + return self._reason_string + + @reason_string.setter + def reason_string(self, reason_string): + """Sets the reason_string of this ClientFailureEvent. + + + :param reason_string: The reason_string of this ClientFailureEvent. # noqa: E501 + :type: str + """ + + self._reason_string = reason_string + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ClientFailureEvent, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ClientFailureEvent): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/client_first_data_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/client_first_data_event.py new file mode 100644 index 000000000..c300bcd80 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/client_first_data_event.py @@ -0,0 +1,241 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ClientFirstDataEvent(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'all_of': 'RealTimeEvent', + 'session_id': 'int', + 'client_mac_address': 'MacAddress', + 'first_data_rcvd_ts': 'int', + 'first_data_sent_ts': 'int' + } + + attribute_map = { + 'model_type': 'model_type', + 'all_of': 'allOf', + 'session_id': 'sessionId', + 'client_mac_address': 'clientMacAddress', + 'first_data_rcvd_ts': 'firstDataRcvdTs', + 'first_data_sent_ts': 'firstDataSentTs' + } + + def __init__(self, model_type=None, all_of=None, session_id=None, client_mac_address=None, first_data_rcvd_ts=None, first_data_sent_ts=None): # noqa: E501 + """ClientFirstDataEvent - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._all_of = None + self._session_id = None + self._client_mac_address = None + self._first_data_rcvd_ts = None + self._first_data_sent_ts = None + self.discriminator = None + self.model_type = model_type + if all_of is not None: + self.all_of = all_of + if session_id is not None: + self.session_id = session_id + if client_mac_address is not None: + self.client_mac_address = client_mac_address + if first_data_rcvd_ts is not None: + self.first_data_rcvd_ts = first_data_rcvd_ts + if first_data_sent_ts is not None: + self.first_data_sent_ts = first_data_sent_ts + + @property + def model_type(self): + """Gets the model_type of this ClientFirstDataEvent. # noqa: E501 + + + :return: The model_type of this ClientFirstDataEvent. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this ClientFirstDataEvent. + + + :param model_type: The model_type of this ClientFirstDataEvent. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + + self._model_type = model_type + + @property + def all_of(self): + """Gets the all_of of this ClientFirstDataEvent. # noqa: E501 + + + :return: The all_of of this ClientFirstDataEvent. # noqa: E501 + :rtype: RealTimeEvent + """ + return self._all_of + + @all_of.setter + def all_of(self, all_of): + """Sets the all_of of this ClientFirstDataEvent. + + + :param all_of: The all_of of this ClientFirstDataEvent. # noqa: E501 + :type: RealTimeEvent + """ + + self._all_of = all_of + + @property + def session_id(self): + """Gets the session_id of this ClientFirstDataEvent. # noqa: E501 + + + :return: The session_id of this ClientFirstDataEvent. # noqa: E501 + :rtype: int + """ + return self._session_id + + @session_id.setter + def session_id(self, session_id): + """Sets the session_id of this ClientFirstDataEvent. + + + :param session_id: The session_id of this ClientFirstDataEvent. # noqa: E501 + :type: int + """ + + self._session_id = session_id + + @property + def client_mac_address(self): + """Gets the client_mac_address of this ClientFirstDataEvent. # noqa: E501 + + + :return: The client_mac_address of this ClientFirstDataEvent. # noqa: E501 + :rtype: MacAddress + """ + return self._client_mac_address + + @client_mac_address.setter + def client_mac_address(self, client_mac_address): + """Sets the client_mac_address of this ClientFirstDataEvent. + + + :param client_mac_address: The client_mac_address of this ClientFirstDataEvent. # noqa: E501 + :type: MacAddress + """ + + self._client_mac_address = client_mac_address + + @property + def first_data_rcvd_ts(self): + """Gets the first_data_rcvd_ts of this ClientFirstDataEvent. # noqa: E501 + + + :return: The first_data_rcvd_ts of this ClientFirstDataEvent. # noqa: E501 + :rtype: int + """ + return self._first_data_rcvd_ts + + @first_data_rcvd_ts.setter + def first_data_rcvd_ts(self, first_data_rcvd_ts): + """Sets the first_data_rcvd_ts of this ClientFirstDataEvent. + + + :param first_data_rcvd_ts: The first_data_rcvd_ts of this ClientFirstDataEvent. # noqa: E501 + :type: int + """ + + self._first_data_rcvd_ts = first_data_rcvd_ts + + @property + def first_data_sent_ts(self): + """Gets the first_data_sent_ts of this ClientFirstDataEvent. # noqa: E501 + + + :return: The first_data_sent_ts of this ClientFirstDataEvent. # noqa: E501 + :rtype: int + """ + return self._first_data_sent_ts + + @first_data_sent_ts.setter + def first_data_sent_ts(self, first_data_sent_ts): + """Sets the first_data_sent_ts of this ClientFirstDataEvent. + + + :param first_data_sent_ts: The first_data_sent_ts of this ClientFirstDataEvent. # noqa: E501 + :type: int + """ + + self._first_data_sent_ts = first_data_sent_ts + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ClientFirstDataEvent, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ClientFirstDataEvent): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/client_id_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/client_id_event.py new file mode 100644 index 000000000..865268eee --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/client_id_event.py @@ -0,0 +1,241 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ClientIdEvent(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'all_of': 'RealTimeEvent', + 'session_id': 'int', + 'mac_address_bytes': 'list[str]', + 'client_mac_address': 'MacAddress', + 'user_id': 'str' + } + + attribute_map = { + 'model_type': 'model_type', + 'all_of': 'allOf', + 'session_id': 'sessionId', + 'mac_address_bytes': 'macAddressBytes', + 'client_mac_address': 'clientMacAddress', + 'user_id': 'userId' + } + + def __init__(self, model_type=None, all_of=None, session_id=None, mac_address_bytes=None, client_mac_address=None, user_id=None): # noqa: E501 + """ClientIdEvent - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._all_of = None + self._session_id = None + self._mac_address_bytes = None + self._client_mac_address = None + self._user_id = None + self.discriminator = None + self.model_type = model_type + if all_of is not None: + self.all_of = all_of + if session_id is not None: + self.session_id = session_id + if mac_address_bytes is not None: + self.mac_address_bytes = mac_address_bytes + if client_mac_address is not None: + self.client_mac_address = client_mac_address + if user_id is not None: + self.user_id = user_id + + @property + def model_type(self): + """Gets the model_type of this ClientIdEvent. # noqa: E501 + + + :return: The model_type of this ClientIdEvent. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this ClientIdEvent. + + + :param model_type: The model_type of this ClientIdEvent. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + + self._model_type = model_type + + @property + def all_of(self): + """Gets the all_of of this ClientIdEvent. # noqa: E501 + + + :return: The all_of of this ClientIdEvent. # noqa: E501 + :rtype: RealTimeEvent + """ + return self._all_of + + @all_of.setter + def all_of(self, all_of): + """Sets the all_of of this ClientIdEvent. + + + :param all_of: The all_of of this ClientIdEvent. # noqa: E501 + :type: RealTimeEvent + """ + + self._all_of = all_of + + @property + def session_id(self): + """Gets the session_id of this ClientIdEvent. # noqa: E501 + + + :return: The session_id of this ClientIdEvent. # noqa: E501 + :rtype: int + """ + return self._session_id + + @session_id.setter + def session_id(self, session_id): + """Sets the session_id of this ClientIdEvent. + + + :param session_id: The session_id of this ClientIdEvent. # noqa: E501 + :type: int + """ + + self._session_id = session_id + + @property + def mac_address_bytes(self): + """Gets the mac_address_bytes of this ClientIdEvent. # noqa: E501 + + + :return: The mac_address_bytes of this ClientIdEvent. # noqa: E501 + :rtype: list[str] + """ + return self._mac_address_bytes + + @mac_address_bytes.setter + def mac_address_bytes(self, mac_address_bytes): + """Sets the mac_address_bytes of this ClientIdEvent. + + + :param mac_address_bytes: The mac_address_bytes of this ClientIdEvent. # noqa: E501 + :type: list[str] + """ + + self._mac_address_bytes = mac_address_bytes + + @property + def client_mac_address(self): + """Gets the client_mac_address of this ClientIdEvent. # noqa: E501 + + + :return: The client_mac_address of this ClientIdEvent. # noqa: E501 + :rtype: MacAddress + """ + return self._client_mac_address + + @client_mac_address.setter + def client_mac_address(self, client_mac_address): + """Sets the client_mac_address of this ClientIdEvent. + + + :param client_mac_address: The client_mac_address of this ClientIdEvent. # noqa: E501 + :type: MacAddress + """ + + self._client_mac_address = client_mac_address + + @property + def user_id(self): + """Gets the user_id of this ClientIdEvent. # noqa: E501 + + + :return: The user_id of this ClientIdEvent. # noqa: E501 + :rtype: str + """ + return self._user_id + + @user_id.setter + def user_id(self, user_id): + """Sets the user_id of this ClientIdEvent. + + + :param user_id: The user_id of this ClientIdEvent. # noqa: E501 + :type: str + """ + + self._user_id = user_id + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ClientIdEvent, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ClientIdEvent): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/client_info_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/client_info_details.py new file mode 100644 index 000000000..5ed13839e --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/client_info_details.py @@ -0,0 +1,318 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ClientInfoDetails(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'alias': 'str', + 'client_type': 'int', + 'ap_fingerprint': 'str', + 'user_name': 'str', + 'host_name': 'str', + 'last_used_cp_username': 'str', + 'last_user_agent': 'str', + 'do_not_steer': 'bool', + 'blocklist_details': 'BlocklistDetails' + } + + attribute_map = { + 'alias': 'alias', + 'client_type': 'clientType', + 'ap_fingerprint': 'apFingerprint', + 'user_name': 'userName', + 'host_name': 'hostName', + 'last_used_cp_username': 'lastUsedCpUsername', + 'last_user_agent': 'lastUserAgent', + 'do_not_steer': 'doNotSteer', + 'blocklist_details': 'blocklistDetails' + } + + def __init__(self, alias=None, client_type=None, ap_fingerprint=None, user_name=None, host_name=None, last_used_cp_username=None, last_user_agent=None, do_not_steer=None, blocklist_details=None): # noqa: E501 + """ClientInfoDetails - a model defined in Swagger""" # noqa: E501 + self._alias = None + self._client_type = None + self._ap_fingerprint = None + self._user_name = None + self._host_name = None + self._last_used_cp_username = None + self._last_user_agent = None + self._do_not_steer = None + self._blocklist_details = None + self.discriminator = None + if alias is not None: + self.alias = alias + if client_type is not None: + self.client_type = client_type + if ap_fingerprint is not None: + self.ap_fingerprint = ap_fingerprint + if user_name is not None: + self.user_name = user_name + if host_name is not None: + self.host_name = host_name + if last_used_cp_username is not None: + self.last_used_cp_username = last_used_cp_username + if last_user_agent is not None: + self.last_user_agent = last_user_agent + if do_not_steer is not None: + self.do_not_steer = do_not_steer + if blocklist_details is not None: + self.blocklist_details = blocklist_details + + @property + def alias(self): + """Gets the alias of this ClientInfoDetails. # noqa: E501 + + + :return: The alias of this ClientInfoDetails. # noqa: E501 + :rtype: str + """ + return self._alias + + @alias.setter + def alias(self, alias): + """Sets the alias of this ClientInfoDetails. + + + :param alias: The alias of this ClientInfoDetails. # noqa: E501 + :type: str + """ + + self._alias = alias + + @property + def client_type(self): + """Gets the client_type of this ClientInfoDetails. # noqa: E501 + + + :return: The client_type of this ClientInfoDetails. # noqa: E501 + :rtype: int + """ + return self._client_type + + @client_type.setter + def client_type(self, client_type): + """Sets the client_type of this ClientInfoDetails. + + + :param client_type: The client_type of this ClientInfoDetails. # noqa: E501 + :type: int + """ + + self._client_type = client_type + + @property + def ap_fingerprint(self): + """Gets the ap_fingerprint of this ClientInfoDetails. # noqa: E501 + + + :return: The ap_fingerprint of this ClientInfoDetails. # noqa: E501 + :rtype: str + """ + return self._ap_fingerprint + + @ap_fingerprint.setter + def ap_fingerprint(self, ap_fingerprint): + """Sets the ap_fingerprint of this ClientInfoDetails. + + + :param ap_fingerprint: The ap_fingerprint of this ClientInfoDetails. # noqa: E501 + :type: str + """ + + self._ap_fingerprint = ap_fingerprint + + @property + def user_name(self): + """Gets the user_name of this ClientInfoDetails. # noqa: E501 + + + :return: The user_name of this ClientInfoDetails. # noqa: E501 + :rtype: str + """ + return self._user_name + + @user_name.setter + def user_name(self, user_name): + """Sets the user_name of this ClientInfoDetails. + + + :param user_name: The user_name of this ClientInfoDetails. # noqa: E501 + :type: str + """ + + self._user_name = user_name + + @property + def host_name(self): + """Gets the host_name of this ClientInfoDetails. # noqa: E501 + + + :return: The host_name of this ClientInfoDetails. # noqa: E501 + :rtype: str + """ + return self._host_name + + @host_name.setter + def host_name(self, host_name): + """Sets the host_name of this ClientInfoDetails. + + + :param host_name: The host_name of this ClientInfoDetails. # noqa: E501 + :type: str + """ + + self._host_name = host_name + + @property + def last_used_cp_username(self): + """Gets the last_used_cp_username of this ClientInfoDetails. # noqa: E501 + + + :return: The last_used_cp_username of this ClientInfoDetails. # noqa: E501 + :rtype: str + """ + return self._last_used_cp_username + + @last_used_cp_username.setter + def last_used_cp_username(self, last_used_cp_username): + """Sets the last_used_cp_username of this ClientInfoDetails. + + + :param last_used_cp_username: The last_used_cp_username of this ClientInfoDetails. # noqa: E501 + :type: str + """ + + self._last_used_cp_username = last_used_cp_username + + @property + def last_user_agent(self): + """Gets the last_user_agent of this ClientInfoDetails. # noqa: E501 + + + :return: The last_user_agent of this ClientInfoDetails. # noqa: E501 + :rtype: str + """ + return self._last_user_agent + + @last_user_agent.setter + def last_user_agent(self, last_user_agent): + """Sets the last_user_agent of this ClientInfoDetails. + + + :param last_user_agent: The last_user_agent of this ClientInfoDetails. # noqa: E501 + :type: str + """ + + self._last_user_agent = last_user_agent + + @property + def do_not_steer(self): + """Gets the do_not_steer of this ClientInfoDetails. # noqa: E501 + + + :return: The do_not_steer of this ClientInfoDetails. # noqa: E501 + :rtype: bool + """ + return self._do_not_steer + + @do_not_steer.setter + def do_not_steer(self, do_not_steer): + """Sets the do_not_steer of this ClientInfoDetails. + + + :param do_not_steer: The do_not_steer of this ClientInfoDetails. # noqa: E501 + :type: bool + """ + + self._do_not_steer = do_not_steer + + @property + def blocklist_details(self): + """Gets the blocklist_details of this ClientInfoDetails. # noqa: E501 + + + :return: The blocklist_details of this ClientInfoDetails. # noqa: E501 + :rtype: BlocklistDetails + """ + return self._blocklist_details + + @blocklist_details.setter + def blocklist_details(self, blocklist_details): + """Sets the blocklist_details of this ClientInfoDetails. + + + :param blocklist_details: The blocklist_details of this ClientInfoDetails. # noqa: E501 + :type: BlocklistDetails + """ + + self._blocklist_details = blocklist_details + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ClientInfoDetails, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ClientInfoDetails): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/client_ip_address_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/client_ip_address_event.py new file mode 100644 index 000000000..5ca563f41 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/client_ip_address_event.py @@ -0,0 +1,215 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ClientIpAddressEvent(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'all_of': 'RealTimeEvent', + 'session_id': 'int', + 'client_mac_address': 'MacAddress', + 'ip_addr': 'list[str]' + } + + attribute_map = { + 'model_type': 'model_type', + 'all_of': 'allOf', + 'session_id': 'sessionId', + 'client_mac_address': 'clientMacAddress', + 'ip_addr': 'ipAddr' + } + + def __init__(self, model_type=None, all_of=None, session_id=None, client_mac_address=None, ip_addr=None): # noqa: E501 + """ClientIpAddressEvent - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._all_of = None + self._session_id = None + self._client_mac_address = None + self._ip_addr = None + self.discriminator = None + self.model_type = model_type + if all_of is not None: + self.all_of = all_of + if session_id is not None: + self.session_id = session_id + if client_mac_address is not None: + self.client_mac_address = client_mac_address + if ip_addr is not None: + self.ip_addr = ip_addr + + @property + def model_type(self): + """Gets the model_type of this ClientIpAddressEvent. # noqa: E501 + + + :return: The model_type of this ClientIpAddressEvent. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this ClientIpAddressEvent. + + + :param model_type: The model_type of this ClientIpAddressEvent. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + + self._model_type = model_type + + @property + def all_of(self): + """Gets the all_of of this ClientIpAddressEvent. # noqa: E501 + + + :return: The all_of of this ClientIpAddressEvent. # noqa: E501 + :rtype: RealTimeEvent + """ + return self._all_of + + @all_of.setter + def all_of(self, all_of): + """Sets the all_of of this ClientIpAddressEvent. + + + :param all_of: The all_of of this ClientIpAddressEvent. # noqa: E501 + :type: RealTimeEvent + """ + + self._all_of = all_of + + @property + def session_id(self): + """Gets the session_id of this ClientIpAddressEvent. # noqa: E501 + + + :return: The session_id of this ClientIpAddressEvent. # noqa: E501 + :rtype: int + """ + return self._session_id + + @session_id.setter + def session_id(self, session_id): + """Sets the session_id of this ClientIpAddressEvent. + + + :param session_id: The session_id of this ClientIpAddressEvent. # noqa: E501 + :type: int + """ + + self._session_id = session_id + + @property + def client_mac_address(self): + """Gets the client_mac_address of this ClientIpAddressEvent. # noqa: E501 + + + :return: The client_mac_address of this ClientIpAddressEvent. # noqa: E501 + :rtype: MacAddress + """ + return self._client_mac_address + + @client_mac_address.setter + def client_mac_address(self, client_mac_address): + """Sets the client_mac_address of this ClientIpAddressEvent. + + + :param client_mac_address: The client_mac_address of this ClientIpAddressEvent. # noqa: E501 + :type: MacAddress + """ + + self._client_mac_address = client_mac_address + + @property + def ip_addr(self): + """Gets the ip_addr of this ClientIpAddressEvent. # noqa: E501 + + + :return: The ip_addr of this ClientIpAddressEvent. # noqa: E501 + :rtype: list[str] + """ + return self._ip_addr + + @ip_addr.setter + def ip_addr(self, ip_addr): + """Sets the ip_addr of this ClientIpAddressEvent. + + + :param ip_addr: The ip_addr of this ClientIpAddressEvent. # noqa: E501 + :type: list[str] + """ + + self._ip_addr = ip_addr + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ClientIpAddressEvent, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ClientIpAddressEvent): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/client_metrics.py b/libs/cloudapi/cloudsdk/swagger_client/models/client_metrics.py new file mode 100644 index 000000000..120f5e494 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/client_metrics.py @@ -0,0 +1,9505 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ClientMetrics(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'seconds_since_last_recv': 'int', + 'num_rx_packets': 'int', + 'num_tx_packets': 'int', + 'num_rx_bytes': 'int', + 'num_tx_bytes': 'int', + 'tx_retries': 'int', + 'rx_duplicate_packets': 'int', + 'rate_count': 'int', + 'rates': 'list[int]', + 'mcs': 'list[int]', + 'vht_mcs': 'int', + 'snr': 'int', + 'rssi': 'int', + 'session_id': 'int', + 'classification_name': 'str', + 'channel_band_width': 'ChannelBandwidth', + 'guard_interval': 'GuardInterval', + 'cisco_last_rate': 'int', + 'average_tx_rate': 'float', + 'average_rx_rate': 'float', + 'num_tx_data_frames_12_mbps': 'int', + 'num_tx_data_frames_54_mbps': 'int', + 'num_tx_data_frames_108_mbps': 'int', + 'num_tx_data_frames_300_mbps': 'int', + 'num_tx_data_frames_450_mbps': 'int', + 'num_tx_data_frames_1300_mbps': 'int', + 'num_tx_data_frames_1300_plus_mbps': 'int', + 'num_rx_data_frames_12_mbps': 'int', + 'num_rx_data_frames_54_mbps': 'int', + 'num_rx_data_frames_108_mbps': 'int', + 'num_rx_data_frames_300_mbps': 'int', + 'num_rx_data_frames_450_mbps': 'int', + 'num_rx_data_frames_1300_mbps': 'int', + 'num_rx_data_frames_1300_plus_mbps': 'int', + 'num_tx_time_frames_transmitted': 'int', + 'num_rx_time_to_me': 'int', + 'num_tx_time_data': 'int', + 'num_rx_time_data': 'int', + 'num_tx_frames_transmitted': 'int', + 'num_tx_success_with_retry': 'int', + 'num_tx_multiple_retries': 'int', + 'num_tx_data_transmitted_retried': 'int', + 'num_tx_data_transmitted': 'int', + 'num_rx_frames_received': 'int', + 'num_rx_data_frames_retried': 'int', + 'num_rx_data_frames': 'int', + 'num_tx_1_mbps': 'int', + 'num_tx_6_mbps': 'int', + 'num_tx_9_mbps': 'int', + 'num_tx_12_mbps': 'int', + 'num_tx_18_mbps': 'int', + 'num_tx_24_mbps': 'int', + 'num_tx_36_mbps': 'int', + 'num_tx_48_mbps': 'int', + 'num_tx_54_mbps': 'int', + 'num_rx_1_mbps': 'int', + 'num_rx_6_mbps': 'int', + 'num_rx_9_mbps': 'int', + 'num_rx_12_mbps': 'int', + 'num_rx_18_mbps': 'int', + 'num_rx_24_mbps': 'int', + 'num_rx_36_mbps': 'int', + 'num_rx_48_mbps': 'int', + 'num_rx_54_mbps': 'int', + 'num_tx_ht_6_5_mbps': 'int', + 'num_tx_ht_7_1_mbps': 'int', + 'num_tx_ht_13_mbps': 'int', + 'num_tx_ht_13_5_mbps': 'int', + 'num_tx_ht_14_3_mbps': 'int', + 'num_tx_ht_15_mbps': 'int', + 'num_tx_ht_19_5_mbps': 'int', + 'num_tx_ht_21_7_mbps': 'int', + 'num_tx_ht_26_mbps': 'int', + 'num_tx_ht_27_mbps': 'int', + 'num_tx_ht_28_7_mbps': 'int', + 'num_tx_ht_28_8_mbps': 'int', + 'num_tx_ht_29_2_mbps': 'int', + 'num_tx_ht_30_mbps': 'int', + 'num_tx_ht_32_5_mbps': 'int', + 'num_tx_ht_39_mbps': 'int', + 'num_tx_ht_40_5_mbps': 'int', + 'num_tx_ht_43_2_mbps': 'int', + 'num_tx_ht_45_mbps': 'int', + 'num_tx_ht_52_mbps': 'int', + 'num_tx_ht_54_mbps': 'int', + 'num_tx_ht_57_5_mbps': 'int', + 'num_tx_ht_57_7_mbps': 'int', + 'num_tx_ht_58_5_mbps': 'int', + 'num_tx_ht_60_mbps': 'int', + 'num_tx_ht_65_mbps': 'int', + 'num_tx_ht_72_1_mbps': 'int', + 'num_tx_ht_78_mbps': 'int', + 'num_tx_ht_81_mbps': 'int', + 'num_tx_ht_86_6_mbps': 'int', + 'num_tx_ht_86_8_mbps': 'int', + 'num_tx_ht_87_8_mbps': 'int', + 'num_tx_ht_90_mbps': 'int', + 'num_tx_ht_97_5_mbps': 'int', + 'num_tx_ht_104_mbps': 'int', + 'num_tx_ht_108_mbps': 'int', + 'num_tx_ht_115_5_mbps': 'int', + 'num_tx_ht_117_mbps': 'int', + 'num_tx_ht_117_1_mbps': 'int', + 'num_tx_ht_120_mbps': 'int', + 'num_tx_ht_121_5_mbps': 'int', + 'num_tx_ht_130_mbps': 'int', + 'num_tx_ht_130_3_mbps': 'int', + 'num_tx_ht_135_mbps': 'int', + 'num_tx_ht_144_3_mbps': 'int', + 'num_tx_ht_150_mbps': 'int', + 'num_tx_ht_156_mbps': 'int', + 'num_tx_ht_162_mbps': 'int', + 'num_tx_ht_173_1_mbps': 'int', + 'num_tx_ht_173_3_mbps': 'int', + 'num_tx_ht_175_5_mbps': 'int', + 'num_tx_ht_180_mbps': 'int', + 'num_tx_ht_195_mbps': 'int', + 'num_tx_ht_200_mbps': 'int', + 'num_tx_ht_208_mbps': 'int', + 'num_tx_ht_216_mbps': 'int', + 'num_tx_ht_216_6_mbps': 'int', + 'num_tx_ht_231_1_mbps': 'int', + 'num_tx_ht_234_mbps': 'int', + 'num_tx_ht_240_mbps': 'int', + 'num_tx_ht_243_mbps': 'int', + 'num_tx_ht_260_mbps': 'int', + 'num_tx_ht_263_2_mbps': 'int', + 'num_tx_ht_270_mbps': 'int', + 'num_tx_ht_288_7_mbps': 'int', + 'num_tx_ht_288_8_mbps': 'int', + 'num_tx_ht_292_5_mbps': 'int', + 'num_tx_ht_300_mbps': 'int', + 'num_tx_ht_312_mbps': 'int', + 'num_tx_ht_324_mbps': 'int', + 'num_tx_ht_325_mbps': 'int', + 'num_tx_ht_346_7_mbps': 'int', + 'num_tx_ht_351_mbps': 'int', + 'num_tx_ht_351_2_mbps': 'int', + 'num_tx_ht_360_mbps': 'int', + 'num_rx_ht_6_5_mbps': 'int', + 'num_rx_ht_7_1_mbps': 'int', + 'num_rx_ht_13_mbps': 'int', + 'num_rx_ht_13_5_mbps': 'int', + 'num_rx_ht_14_3_mbps': 'int', + 'num_rx_ht_15_mbps': 'int', + 'num_rx_ht_19_5_mbps': 'int', + 'num_rx_ht_21_7_mbps': 'int', + 'num_rx_ht_26_mbps': 'int', + 'num_rx_ht_27_mbps': 'int', + 'num_rx_ht_28_7_mbps': 'int', + 'num_rx_ht_28_8_mbps': 'int', + 'num_rx_ht_29_2_mbps': 'int', + 'num_rx_ht_30_mbps': 'int', + 'num_rx_ht_32_5_mbps': 'int', + 'num_rx_ht_39_mbps': 'int', + 'num_rx_ht_40_5_mbps': 'int', + 'num_rx_ht_43_2_mbps': 'int', + 'num_rx_ht_45_mbps': 'int', + 'num_rx_ht_52_mbps': 'int', + 'num_rx_ht_54_mbps': 'int', + 'num_rx_ht_57_5_mbps': 'int', + 'num_rx_ht_57_7_mbps': 'int', + 'num_rx_ht_58_5_mbps': 'int', + 'num_rx_ht_60_mbps': 'int', + 'num_rx_ht_65_mbps': 'int', + 'num_rx_ht_72_1_mbps': 'int', + 'num_rx_ht_78_mbps': 'int', + 'num_rx_ht_81_mbps': 'int', + 'num_rx_ht_86_6_mbps': 'int', + 'num_rx_ht_86_8_mbps': 'int', + 'num_rx_ht_87_8_mbps': 'int', + 'num_rx_ht_90_mbps': 'int', + 'num_rx_ht_97_5_mbps': 'int', + 'num_rx_ht_104_mbps': 'int', + 'num_rx_ht_108_mbps': 'int', + 'num_rx_ht_115_5_mbps': 'int', + 'num_rx_ht_117_mbps': 'int', + 'num_rx_ht_117_1_mbps': 'int', + 'num_rx_ht_120_mbps': 'int', + 'num_rx_ht_121_5_mbps': 'int', + 'num_rx_ht_130_mbps': 'int', + 'num_rx_ht_130_3_mbps': 'int', + 'num_rx_ht_135_mbps': 'int', + 'num_rx_ht_144_3_mbps': 'int', + 'num_rx_ht_150_mbps': 'int', + 'num_rx_ht_156_mbps': 'int', + 'num_rx_ht_162_mbps': 'int', + 'num_rx_ht_173_1_mbps': 'int', + 'num_rx_ht_173_3_mbps': 'int', + 'num_rx_ht_175_5_mbps': 'int', + 'num_rx_ht_180_mbps': 'int', + 'num_rx_ht_195_mbps': 'int', + 'num_rx_ht_200_mbps': 'int', + 'num_rx_ht_208_mbps': 'int', + 'num_rx_ht_216_mbps': 'int', + 'num_rx_ht_216_6_mbps': 'int', + 'num_rx_ht_231_1_mbps': 'int', + 'num_rx_ht_234_mbps': 'int', + 'num_rx_ht_240_mbps': 'int', + 'num_rx_ht_243_mbps': 'int', + 'num_rx_ht_260_mbps': 'int', + 'num_rx_ht_263_2_mbps': 'int', + 'num_rx_ht_270_mbps': 'int', + 'num_rx_ht_288_7_mbps': 'int', + 'num_rx_ht_288_8_mbps': 'int', + 'num_rx_ht_292_5_mbps': 'int', + 'num_rx_ht_300_mbps': 'int', + 'num_rx_ht_312_mbps': 'int', + 'num_rx_ht_324_mbps': 'int', + 'num_rx_ht_325_mbps': 'int', + 'num_rx_ht_346_7_mbps': 'int', + 'num_rx_ht_351_mbps': 'int', + 'num_rx_ht_351_2_mbps': 'int', + 'num_rx_ht_360_mbps': 'int', + 'num_tx_vht_292_5_mbps': 'int', + 'num_tx_vht_325_mbps': 'int', + 'num_tx_vht_364_5_mbps': 'int', + 'num_tx_vht_390_mbps': 'int', + 'num_tx_vht_400_mbps': 'int', + 'num_tx_vht_403_mbps': 'int', + 'num_tx_vht_405_mbps': 'int', + 'num_tx_vht_432_mbps': 'int', + 'num_tx_vht_433_2_mbps': 'int', + 'num_tx_vht_450_mbps': 'int', + 'num_tx_vht_468_mbps': 'int', + 'num_tx_vht_480_mbps': 'int', + 'num_tx_vht_486_mbps': 'int', + 'num_tx_vht_520_mbps': 'int', + 'num_tx_vht_526_5_mbps': 'int', + 'num_tx_vht_540_mbps': 'int', + 'num_tx_vht_585_mbps': 'int', + 'num_tx_vht_600_mbps': 'int', + 'num_tx_vht_648_mbps': 'int', + 'num_tx_vht_650_mbps': 'int', + 'num_tx_vht_702_mbps': 'int', + 'num_tx_vht_720_mbps': 'int', + 'num_tx_vht_780_mbps': 'int', + 'num_tx_vht_800_mbps': 'int', + 'num_tx_vht_866_7_mbps': 'int', + 'num_tx_vht_877_5_mbps': 'int', + 'num_tx_vht_936_mbps': 'int', + 'num_tx_vht_975_mbps': 'int', + 'num_tx_vht_1040_mbps': 'int', + 'num_tx_vht_1053_mbps': 'int', + 'num_tx_vht_1053_1_mbps': 'int', + 'num_tx_vht_1170_mbps': 'int', + 'num_tx_vht_1300_mbps': 'int', + 'num_tx_vht_1404_mbps': 'int', + 'num_tx_vht_1560_mbps': 'int', + 'num_tx_vht_1579_5_mbps': 'int', + 'num_tx_vht_1733_1_mbps': 'int', + 'num_tx_vht_1733_4_mbps': 'int', + 'num_tx_vht_1755_mbps': 'int', + 'num_tx_vht_1872_mbps': 'int', + 'num_tx_vht_1950_mbps': 'int', + 'num_tx_vht_2080_mbps': 'int', + 'num_tx_vht_2106_mbps': 'int', + 'num_tx_vht_2340_mbps': 'int', + 'num_tx_vht_2600_mbps': 'int', + 'num_tx_vht_2808_mbps': 'int', + 'num_tx_vht_3120_mbps': 'int', + 'num_tx_vht_3466_8_mbps': 'int', + 'num_rx_vht_292_5_mbps': 'int', + 'num_rx_vht_325_mbps': 'int', + 'num_rx_vht_364_5_mbps': 'int', + 'num_rx_vht_390_mbps': 'int', + 'num_rx_vht_400_mbps': 'int', + 'num_rx_vht_403_mbps': 'int', + 'num_rx_vht_405_mbps': 'int', + 'num_rx_vht_432_mbps': 'int', + 'num_rx_vht_433_2_mbps': 'int', + 'num_rx_vht_450_mbps': 'int', + 'num_rx_vht_468_mbps': 'int', + 'num_rx_vht_480_mbps': 'int', + 'num_rx_vht_486_mbps': 'int', + 'num_rx_vht_520_mbps': 'int', + 'num_rx_vht_526_5_mbps': 'int', + 'num_rx_vht_540_mbps': 'int', + 'num_rx_vht_585_mbps': 'int', + 'num_rx_vht_600_mbps': 'int', + 'num_rx_vht_648_mbps': 'int', + 'num_rx_vht_650_mbps': 'int', + 'num_rx_vht_702_mbps': 'int', + 'num_rx_vht_720_mbps': 'int', + 'num_rx_vht_780_mbps': 'int', + 'num_rx_vht_800_mbps': 'int', + 'num_rx_vht_866_7_mbps': 'int', + 'num_rx_vht_877_5_mbps': 'int', + 'num_rx_vht_936_mbps': 'int', + 'num_rx_vht_975_mbps': 'int', + 'num_rx_vht_1040_mbps': 'int', + 'num_rx_vht_1053_mbps': 'int', + 'num_rx_vht_1053_1_mbps': 'int', + 'num_rx_vht_1170_mbps': 'int', + 'num_rx_vht_1300_mbps': 'int', + 'num_rx_vht_1404_mbps': 'int', + 'num_rx_vht_1560_mbps': 'int', + 'num_rx_vht_1579_5_mbps': 'int', + 'num_rx_vht_1733_1_mbps': 'int', + 'num_rx_vht_1733_4_mbps': 'int', + 'num_rx_vht_1755_mbps': 'int', + 'num_rx_vht_1872_mbps': 'int', + 'num_rx_vht_1950_mbps': 'int', + 'num_rx_vht_2080_mbps': 'int', + 'num_rx_vht_2106_mbps': 'int', + 'num_rx_vht_2340_mbps': 'int', + 'num_rx_vht_2600_mbps': 'int', + 'num_rx_vht_2808_mbps': 'int', + 'num_rx_vht_3120_mbps': 'int', + 'num_rx_vht_3466_8_mbps': 'int', + 'rx_last_rssi': 'int', + 'num_rx_no_fcs_err': 'int', + 'num_rx_data': 'int', + 'num_rx_management': 'int', + 'num_rx_control': 'int', + 'rx_bytes': 'int', + 'rx_data_bytes': 'int', + 'num_rx_rts': 'int', + 'num_rx_cts': 'int', + 'num_rx_ack': 'int', + 'num_rx_probe_req': 'int', + 'num_rx_retry': 'int', + 'num_rx_dup': 'int', + 'num_rx_null_data': 'int', + 'num_rx_pspoll': 'int', + 'num_rx_stbc': 'int', + 'num_rx_ldpc': 'int', + 'last_recv_layer3_ts': 'int', + 'num_rcv_frame_for_tx': 'int', + 'num_tx_queued': 'int', + 'num_tx_dropped': 'int', + 'num_tx_retry_dropped': 'int', + 'num_tx_succ': 'int', + 'num_tx_byte_succ': 'int', + 'num_tx_succ_no_retry': 'int', + 'num_tx_succ_retries': 'int', + 'num_tx_multi_retries': 'int', + 'num_tx_management': 'int', + 'num_tx_control': 'int', + 'num_tx_action': 'int', + 'num_tx_prop_resp': 'int', + 'num_tx_data': 'int', + 'num_tx_data_retries': 'int', + 'num_tx_rts_succ': 'int', + 'num_tx_rts_fail': 'int', + 'num_tx_no_ack': 'int', + 'num_tx_eapol': 'int', + 'num_tx_ldpc': 'int', + 'num_tx_stbc': 'int', + 'num_tx_aggr_succ': 'int', + 'num_tx_aggr_one_mpdu': 'int', + 'last_sent_layer3_ts': 'int', + 'wmm_queue_stats': 'WmmQueueStatsPerQueueTypeMap', + 'list_mcs_stats_mcs_stats': 'list[McsStats]', + 'last_rx_mcs_idx': 'McsType', + 'last_tx_mcs_idx': 'McsType', + 'radio_type': 'RadioType', + 'period_length_sec': 'int' + } + + attribute_map = { + 'model_type': 'model_type', + 'seconds_since_last_recv': 'secondsSinceLastRecv', + 'num_rx_packets': 'numRxPackets', + 'num_tx_packets': 'numTxPackets', + 'num_rx_bytes': 'numRxBytes', + 'num_tx_bytes': 'numTxBytes', + 'tx_retries': 'txRetries', + 'rx_duplicate_packets': 'rxDuplicatePackets', + 'rate_count': 'rateCount', + 'rates': 'rates', + 'mcs': 'mcs', + 'vht_mcs': 'vhtMcs', + 'snr': 'snr', + 'rssi': 'rssi', + 'session_id': 'sessionId', + 'classification_name': 'classificationName', + 'channel_band_width': 'channelBandWidth', + 'guard_interval': 'guardInterval', + 'cisco_last_rate': 'ciscoLastRate', + 'average_tx_rate': 'averageTxRate', + 'average_rx_rate': 'averageRxRate', + 'num_tx_data_frames_12_mbps': 'numTxDataFrames_12_Mbps', + 'num_tx_data_frames_54_mbps': 'numTxDataFrames_54_Mbps', + 'num_tx_data_frames_108_mbps': 'numTxDataFrames_108_Mbps', + 'num_tx_data_frames_300_mbps': 'numTxDataFrames_300_Mbps', + 'num_tx_data_frames_450_mbps': 'numTxDataFrames_450_Mbps', + 'num_tx_data_frames_1300_mbps': 'numTxDataFrames_1300_Mbps', + 'num_tx_data_frames_1300_plus_mbps': 'numTxDataFrames_1300Plus_Mbps', + 'num_rx_data_frames_12_mbps': 'numRxDataFrames_12_Mbps', + 'num_rx_data_frames_54_mbps': 'numRxDataFrames_54_Mbps', + 'num_rx_data_frames_108_mbps': 'numRxDataFrames_108_Mbps', + 'num_rx_data_frames_300_mbps': 'numRxDataFrames_300_Mbps', + 'num_rx_data_frames_450_mbps': 'numRxDataFrames_450_Mbps', + 'num_rx_data_frames_1300_mbps': 'numRxDataFrames_1300_Mbps', + 'num_rx_data_frames_1300_plus_mbps': 'numRxDataFrames_1300Plus_Mbps', + 'num_tx_time_frames_transmitted': 'numTxTimeFramesTransmitted', + 'num_rx_time_to_me': 'numRxTimeToMe', + 'num_tx_time_data': 'numTxTimeData', + 'num_rx_time_data': 'numRxTimeData', + 'num_tx_frames_transmitted': 'numTxFramesTransmitted', + 'num_tx_success_with_retry': 'numTxSuccessWithRetry', + 'num_tx_multiple_retries': 'numTxMultipleRetries', + 'num_tx_data_transmitted_retried': 'numTxDataTransmittedRetried', + 'num_tx_data_transmitted': 'numTxDataTransmitted', + 'num_rx_frames_received': 'numRxFramesReceived', + 'num_rx_data_frames_retried': 'numRxDataFramesRetried', + 'num_rx_data_frames': 'numRxDataFrames', + 'num_tx_1_mbps': 'numTx_1_Mbps', + 'num_tx_6_mbps': 'numTx_6_Mbps', + 'num_tx_9_mbps': 'numTx_9_Mbps', + 'num_tx_12_mbps': 'numTx_12_Mbps', + 'num_tx_18_mbps': 'numTx_18_Mbps', + 'num_tx_24_mbps': 'numTx_24_Mbps', + 'num_tx_36_mbps': 'numTx_36_Mbps', + 'num_tx_48_mbps': 'numTx_48_Mbps', + 'num_tx_54_mbps': 'numTx_54_Mbps', + 'num_rx_1_mbps': 'numRx_1_Mbps', + 'num_rx_6_mbps': 'numRx_6_Mbps', + 'num_rx_9_mbps': 'numRx_9_Mbps', + 'num_rx_12_mbps': 'numRx_12_Mbps', + 'num_rx_18_mbps': 'numRx_18_Mbps', + 'num_rx_24_mbps': 'numRx_24_Mbps', + 'num_rx_36_mbps': 'numRx_36_Mbps', + 'num_rx_48_mbps': 'numRx_48_Mbps', + 'num_rx_54_mbps': 'numRx_54_Mbps', + 'num_tx_ht_6_5_mbps': 'numTxHT_6_5_Mbps', + 'num_tx_ht_7_1_mbps': 'numTxHT_7_1_Mbps', + 'num_tx_ht_13_mbps': 'numTxHT_13_Mbps', + 'num_tx_ht_13_5_mbps': 'numTxHT_13_5_Mbps', + 'num_tx_ht_14_3_mbps': 'numTxHT_14_3_Mbps', + 'num_tx_ht_15_mbps': 'numTxHT_15_Mbps', + 'num_tx_ht_19_5_mbps': 'numTxHT_19_5_Mbps', + 'num_tx_ht_21_7_mbps': 'numTxHT_21_7_Mbps', + 'num_tx_ht_26_mbps': 'numTxHT_26_Mbps', + 'num_tx_ht_27_mbps': 'numTxHT_27_Mbps', + 'num_tx_ht_28_7_mbps': 'numTxHT_28_7_Mbps', + 'num_tx_ht_28_8_mbps': 'numTxHT_28_8_Mbps', + 'num_tx_ht_29_2_mbps': 'numTxHT_29_2_Mbps', + 'num_tx_ht_30_mbps': 'numTxHT_30_Mbps', + 'num_tx_ht_32_5_mbps': 'numTxHT_32_5_Mbps', + 'num_tx_ht_39_mbps': 'numTxHT_39_Mbps', + 'num_tx_ht_40_5_mbps': 'numTxHT_40_5_Mbps', + 'num_tx_ht_43_2_mbps': 'numTxHT_43_2_Mbps', + 'num_tx_ht_45_mbps': 'numTxHT_45_Mbps', + 'num_tx_ht_52_mbps': 'numTxHT_52_Mbps', + 'num_tx_ht_54_mbps': 'numTxHT_54_Mbps', + 'num_tx_ht_57_5_mbps': 'numTxHT_57_5_Mbps', + 'num_tx_ht_57_7_mbps': 'numTxHT_57_7_Mbps', + 'num_tx_ht_58_5_mbps': 'numTxHT_58_5_Mbps', + 'num_tx_ht_60_mbps': 'numTxHT_60_Mbps', + 'num_tx_ht_65_mbps': 'numTxHT_65_Mbps', + 'num_tx_ht_72_1_mbps': 'numTxHT_72_1_Mbps', + 'num_tx_ht_78_mbps': 'numTxHT_78_Mbps', + 'num_tx_ht_81_mbps': 'numTxHT_81_Mbps', + 'num_tx_ht_86_6_mbps': 'numTxHT_86_6_Mbps', + 'num_tx_ht_86_8_mbps': 'numTxHT_86_8_Mbps', + 'num_tx_ht_87_8_mbps': 'numTxHT_87_8_Mbps', + 'num_tx_ht_90_mbps': 'numTxHT_90_Mbps', + 'num_tx_ht_97_5_mbps': 'numTxHT_97_5_Mbps', + 'num_tx_ht_104_mbps': 'numTxHT_104_Mbps', + 'num_tx_ht_108_mbps': 'numTxHT_108_Mbps', + 'num_tx_ht_115_5_mbps': 'numTxHT_115_5_Mbps', + 'num_tx_ht_117_mbps': 'numTxHT_117_Mbps', + 'num_tx_ht_117_1_mbps': 'numTxHT_117_1_Mbps', + 'num_tx_ht_120_mbps': 'numTxHT_120_Mbps', + 'num_tx_ht_121_5_mbps': 'numTxHT_121_5_Mbps', + 'num_tx_ht_130_mbps': 'numTxHT_130_Mbps', + 'num_tx_ht_130_3_mbps': 'numTxHT_130_3_Mbps', + 'num_tx_ht_135_mbps': 'numTxHT_135_Mbps', + 'num_tx_ht_144_3_mbps': 'numTxHT_144_3_Mbps', + 'num_tx_ht_150_mbps': 'numTxHT_150_Mbps', + 'num_tx_ht_156_mbps': 'numTxHT_156_Mbps', + 'num_tx_ht_162_mbps': 'numTxHT_162_Mbps', + 'num_tx_ht_173_1_mbps': 'numTxHT_173_1_Mbps', + 'num_tx_ht_173_3_mbps': 'numTxHT_173_3_Mbps', + 'num_tx_ht_175_5_mbps': 'numTxHT_175_5_Mbps', + 'num_tx_ht_180_mbps': 'numTxHT_180_Mbps', + 'num_tx_ht_195_mbps': 'numTxHT_195_Mbps', + 'num_tx_ht_200_mbps': 'numTxHT_200_Mbps', + 'num_tx_ht_208_mbps': 'numTxHT_208_Mbps', + 'num_tx_ht_216_mbps': 'numTxHT_216_Mbps', + 'num_tx_ht_216_6_mbps': 'numTxHT_216_6_Mbps', + 'num_tx_ht_231_1_mbps': 'numTxHT_231_1_Mbps', + 'num_tx_ht_234_mbps': 'numTxHT_234_Mbps', + 'num_tx_ht_240_mbps': 'numTxHT_240_Mbps', + 'num_tx_ht_243_mbps': 'numTxHT_243_Mbps', + 'num_tx_ht_260_mbps': 'numTxHT_260_Mbps', + 'num_tx_ht_263_2_mbps': 'numTxHT_263_2_Mbps', + 'num_tx_ht_270_mbps': 'numTxHT_270_Mbps', + 'num_tx_ht_288_7_mbps': 'numTxHT_288_7_Mbps', + 'num_tx_ht_288_8_mbps': 'numTxHT_288_8_Mbps', + 'num_tx_ht_292_5_mbps': 'numTxHT_292_5_Mbps', + 'num_tx_ht_300_mbps': 'numTxHT_300_Mbps', + 'num_tx_ht_312_mbps': 'numTxHT_312_Mbps', + 'num_tx_ht_324_mbps': 'numTxHT_324_Mbps', + 'num_tx_ht_325_mbps': 'numTxHT_325_Mbps', + 'num_tx_ht_346_7_mbps': 'numTxHT_346_7_Mbps', + 'num_tx_ht_351_mbps': 'numTxHT_351_Mbps', + 'num_tx_ht_351_2_mbps': 'numTxHT_351_2_Mbps', + 'num_tx_ht_360_mbps': 'numTxHT_360_Mbps', + 'num_rx_ht_6_5_mbps': 'numRxHT_6_5_Mbps', + 'num_rx_ht_7_1_mbps': 'numRxHT_7_1_Mbps', + 'num_rx_ht_13_mbps': 'numRxHT_13_Mbps', + 'num_rx_ht_13_5_mbps': 'numRxHT_13_5_Mbps', + 'num_rx_ht_14_3_mbps': 'numRxHT_14_3_Mbps', + 'num_rx_ht_15_mbps': 'numRxHT_15_Mbps', + 'num_rx_ht_19_5_mbps': 'numRxHT_19_5_Mbps', + 'num_rx_ht_21_7_mbps': 'numRxHT_21_7_Mbps', + 'num_rx_ht_26_mbps': 'numRxHT_26_Mbps', + 'num_rx_ht_27_mbps': 'numRxHT_27_Mbps', + 'num_rx_ht_28_7_mbps': 'numRxHT_28_7_Mbps', + 'num_rx_ht_28_8_mbps': 'numRxHT_28_8_Mbps', + 'num_rx_ht_29_2_mbps': 'numRxHT_29_2_Mbps', + 'num_rx_ht_30_mbps': 'numRxHT_30_Mbps', + 'num_rx_ht_32_5_mbps': 'numRxHT_32_5_Mbps', + 'num_rx_ht_39_mbps': 'numRxHT_39_Mbps', + 'num_rx_ht_40_5_mbps': 'numRxHT_40_5_Mbps', + 'num_rx_ht_43_2_mbps': 'numRxHT_43_2_Mbps', + 'num_rx_ht_45_mbps': 'numRxHT_45_Mbps', + 'num_rx_ht_52_mbps': 'numRxHT_52_Mbps', + 'num_rx_ht_54_mbps': 'numRxHT_54_Mbps', + 'num_rx_ht_57_5_mbps': 'numRxHT_57_5_Mbps', + 'num_rx_ht_57_7_mbps': 'numRxHT_57_7_Mbps', + 'num_rx_ht_58_5_mbps': 'numRxHT_58_5_Mbps', + 'num_rx_ht_60_mbps': 'numRxHT_60_Mbps', + 'num_rx_ht_65_mbps': 'numRxHT_65_Mbps', + 'num_rx_ht_72_1_mbps': 'numRxHT_72_1_Mbps', + 'num_rx_ht_78_mbps': 'numRxHT_78_Mbps', + 'num_rx_ht_81_mbps': 'numRxHT_81_Mbps', + 'num_rx_ht_86_6_mbps': 'numRxHT_86_6_Mbps', + 'num_rx_ht_86_8_mbps': 'numRxHT_86_8_Mbps', + 'num_rx_ht_87_8_mbps': 'numRxHT_87_8_Mbps', + 'num_rx_ht_90_mbps': 'numRxHT_90_Mbps', + 'num_rx_ht_97_5_mbps': 'numRxHT_97_5_Mbps', + 'num_rx_ht_104_mbps': 'numRxHT_104_Mbps', + 'num_rx_ht_108_mbps': 'numRxHT_108_Mbps', + 'num_rx_ht_115_5_mbps': 'numRxHT_115_5_Mbps', + 'num_rx_ht_117_mbps': 'numRxHT_117_Mbps', + 'num_rx_ht_117_1_mbps': 'numRxHT_117_1_Mbps', + 'num_rx_ht_120_mbps': 'numRxHT_120_Mbps', + 'num_rx_ht_121_5_mbps': 'numRxHT_121_5_Mbps', + 'num_rx_ht_130_mbps': 'numRxHT_130_Mbps', + 'num_rx_ht_130_3_mbps': 'numRxHT_130_3_Mbps', + 'num_rx_ht_135_mbps': 'numRxHT_135_Mbps', + 'num_rx_ht_144_3_mbps': 'numRxHT_144_3_Mbps', + 'num_rx_ht_150_mbps': 'numRxHT_150_Mbps', + 'num_rx_ht_156_mbps': 'numRxHT_156_Mbps', + 'num_rx_ht_162_mbps': 'numRxHT_162_Mbps', + 'num_rx_ht_173_1_mbps': 'numRxHT_173_1_Mbps', + 'num_rx_ht_173_3_mbps': 'numRxHT_173_3_Mbps', + 'num_rx_ht_175_5_mbps': 'numRxHT_175_5_Mbps', + 'num_rx_ht_180_mbps': 'numRxHT_180_Mbps', + 'num_rx_ht_195_mbps': 'numRxHT_195_Mbps', + 'num_rx_ht_200_mbps': 'numRxHT_200_Mbps', + 'num_rx_ht_208_mbps': 'numRxHT_208_Mbps', + 'num_rx_ht_216_mbps': 'numRxHT_216_Mbps', + 'num_rx_ht_216_6_mbps': 'numRxHT_216_6_Mbps', + 'num_rx_ht_231_1_mbps': 'numRxHT_231_1_Mbps', + 'num_rx_ht_234_mbps': 'numRxHT_234_Mbps', + 'num_rx_ht_240_mbps': 'numRxHT_240_Mbps', + 'num_rx_ht_243_mbps': 'numRxHT_243_Mbps', + 'num_rx_ht_260_mbps': 'numRxHT_260_Mbps', + 'num_rx_ht_263_2_mbps': 'numRxHT_263_2_Mbps', + 'num_rx_ht_270_mbps': 'numRxHT_270_Mbps', + 'num_rx_ht_288_7_mbps': 'numRxHT_288_7_Mbps', + 'num_rx_ht_288_8_mbps': 'numRxHT_288_8_Mbps', + 'num_rx_ht_292_5_mbps': 'numRxHT_292_5_Mbps', + 'num_rx_ht_300_mbps': 'numRxHT_300_Mbps', + 'num_rx_ht_312_mbps': 'numRxHT_312_Mbps', + 'num_rx_ht_324_mbps': 'numRxHT_324_Mbps', + 'num_rx_ht_325_mbps': 'numRxHT_325_Mbps', + 'num_rx_ht_346_7_mbps': 'numRxHT_346_7_Mbps', + 'num_rx_ht_351_mbps': 'numRxHT_351_Mbps', + 'num_rx_ht_351_2_mbps': 'numRxHT_351_2_Mbps', + 'num_rx_ht_360_mbps': 'numRxHT_360_Mbps', + 'num_tx_vht_292_5_mbps': 'numTxVHT_292_5_Mbps', + 'num_tx_vht_325_mbps': 'numTxVHT_325_Mbps', + 'num_tx_vht_364_5_mbps': 'numTxVHT_364_5_Mbps', + 'num_tx_vht_390_mbps': 'numTxVHT_390_Mbps', + 'num_tx_vht_400_mbps': 'numTxVHT_400_Mbps', + 'num_tx_vht_403_mbps': 'numTxVHT_403_Mbps', + 'num_tx_vht_405_mbps': 'numTxVHT_405_Mbps', + 'num_tx_vht_432_mbps': 'numTxVHT_432_Mbps', + 'num_tx_vht_433_2_mbps': 'numTxVHT_433_2_Mbps', + 'num_tx_vht_450_mbps': 'numTxVHT_450_Mbps', + 'num_tx_vht_468_mbps': 'numTxVHT_468_Mbps', + 'num_tx_vht_480_mbps': 'numTxVHT_480_Mbps', + 'num_tx_vht_486_mbps': 'numTxVHT_486_Mbps', + 'num_tx_vht_520_mbps': 'numTxVHT_520_Mbps', + 'num_tx_vht_526_5_mbps': 'numTxVHT_526_5_Mbps', + 'num_tx_vht_540_mbps': 'numTxVHT_540_Mbps', + 'num_tx_vht_585_mbps': 'numTxVHT_585_Mbps', + 'num_tx_vht_600_mbps': 'numTxVHT_600_Mbps', + 'num_tx_vht_648_mbps': 'numTxVHT_648_Mbps', + 'num_tx_vht_650_mbps': 'numTxVHT_650_Mbps', + 'num_tx_vht_702_mbps': 'numTxVHT_702_Mbps', + 'num_tx_vht_720_mbps': 'numTxVHT_720_Mbps', + 'num_tx_vht_780_mbps': 'numTxVHT_780_Mbps', + 'num_tx_vht_800_mbps': 'numTxVHT_800_Mbps', + 'num_tx_vht_866_7_mbps': 'numTxVHT_866_7_Mbps', + 'num_tx_vht_877_5_mbps': 'numTxVHT_877_5_Mbps', + 'num_tx_vht_936_mbps': 'numTxVHT_936_Mbps', + 'num_tx_vht_975_mbps': 'numTxVHT_975_Mbps', + 'num_tx_vht_1040_mbps': 'numTxVHT_1040_Mbps', + 'num_tx_vht_1053_mbps': 'numTxVHT_1053_Mbps', + 'num_tx_vht_1053_1_mbps': 'numTxVHT_1053_1_Mbps', + 'num_tx_vht_1170_mbps': 'numTxVHT_1170_Mbps', + 'num_tx_vht_1300_mbps': 'numTxVHT_1300_Mbps', + 'num_tx_vht_1404_mbps': 'numTxVHT_1404_Mbps', + 'num_tx_vht_1560_mbps': 'numTxVHT_1560_Mbps', + 'num_tx_vht_1579_5_mbps': 'numTxVHT_1579_5_Mbps', + 'num_tx_vht_1733_1_mbps': 'numTxVHT_1733_1_Mbps', + 'num_tx_vht_1733_4_mbps': 'numTxVHT_1733_4_Mbps', + 'num_tx_vht_1755_mbps': 'numTxVHT_1755_Mbps', + 'num_tx_vht_1872_mbps': 'numTxVHT_1872_Mbps', + 'num_tx_vht_1950_mbps': 'numTxVHT_1950_Mbps', + 'num_tx_vht_2080_mbps': 'numTxVHT_2080_Mbps', + 'num_tx_vht_2106_mbps': 'numTxVHT_2106_Mbps', + 'num_tx_vht_2340_mbps': 'numTxVHT_2340_Mbps', + 'num_tx_vht_2600_mbps': 'numTxVHT_2600_Mbps', + 'num_tx_vht_2808_mbps': 'numTxVHT_2808_Mbps', + 'num_tx_vht_3120_mbps': 'numTxVHT_3120_Mbps', + 'num_tx_vht_3466_8_mbps': 'numTxVHT_3466_8_Mbps', + 'num_rx_vht_292_5_mbps': 'numRxVHT_292_5_Mbps', + 'num_rx_vht_325_mbps': 'numRxVHT_325_Mbps', + 'num_rx_vht_364_5_mbps': 'numRxVHT_364_5_Mbps', + 'num_rx_vht_390_mbps': 'numRxVHT_390_Mbps', + 'num_rx_vht_400_mbps': 'numRxVHT_400_Mbps', + 'num_rx_vht_403_mbps': 'numRxVHT_403_Mbps', + 'num_rx_vht_405_mbps': 'numRxVHT_405_Mbps', + 'num_rx_vht_432_mbps': 'numRxVHT_432_Mbps', + 'num_rx_vht_433_2_mbps': 'numRxVHT_433_2_Mbps', + 'num_rx_vht_450_mbps': 'numRxVHT_450_Mbps', + 'num_rx_vht_468_mbps': 'numRxVHT_468_Mbps', + 'num_rx_vht_480_mbps': 'numRxVHT_480_Mbps', + 'num_rx_vht_486_mbps': 'numRxVHT_486_Mbps', + 'num_rx_vht_520_mbps': 'numRxVHT_520_Mbps', + 'num_rx_vht_526_5_mbps': 'numRxVHT_526_5_Mbps', + 'num_rx_vht_540_mbps': 'numRxVHT_540_Mbps', + 'num_rx_vht_585_mbps': 'numRxVHT_585_Mbps', + 'num_rx_vht_600_mbps': 'numRxVHT_600_Mbps', + 'num_rx_vht_648_mbps': 'numRxVHT_648_Mbps', + 'num_rx_vht_650_mbps': 'numRxVHT_650_Mbps', + 'num_rx_vht_702_mbps': 'numRxVHT_702_Mbps', + 'num_rx_vht_720_mbps': 'numRxVHT_720_Mbps', + 'num_rx_vht_780_mbps': 'numRxVHT_780_Mbps', + 'num_rx_vht_800_mbps': 'numRxVHT_800_Mbps', + 'num_rx_vht_866_7_mbps': 'numRxVHT_866_7_Mbps', + 'num_rx_vht_877_5_mbps': 'numRxVHT_877_5_Mbps', + 'num_rx_vht_936_mbps': 'numRxVHT_936_Mbps', + 'num_rx_vht_975_mbps': 'numRxVHT_975_Mbps', + 'num_rx_vht_1040_mbps': 'numRxVHT_1040_Mbps', + 'num_rx_vht_1053_mbps': 'numRxVHT_1053_Mbps', + 'num_rx_vht_1053_1_mbps': 'numRxVHT_1053_1_Mbps', + 'num_rx_vht_1170_mbps': 'numRxVHT_1170_Mbps', + 'num_rx_vht_1300_mbps': 'numRxVHT_1300_Mbps', + 'num_rx_vht_1404_mbps': 'numRxVHT_1404_Mbps', + 'num_rx_vht_1560_mbps': 'numRxVHT_1560_Mbps', + 'num_rx_vht_1579_5_mbps': 'numRxVHT_1579_5_Mbps', + 'num_rx_vht_1733_1_mbps': 'numRxVHT_1733_1_Mbps', + 'num_rx_vht_1733_4_mbps': 'numRxVHT_1733_4_Mbps', + 'num_rx_vht_1755_mbps': 'numRxVHT_1755_Mbps', + 'num_rx_vht_1872_mbps': 'numRxVHT_1872_Mbps', + 'num_rx_vht_1950_mbps': 'numRxVHT_1950_Mbps', + 'num_rx_vht_2080_mbps': 'numRxVHT_2080_Mbps', + 'num_rx_vht_2106_mbps': 'numRxVHT_2106_Mbps', + 'num_rx_vht_2340_mbps': 'numRxVHT_2340_Mbps', + 'num_rx_vht_2600_mbps': 'numRxVHT_2600_Mbps', + 'num_rx_vht_2808_mbps': 'numRxVHT_2808_Mbps', + 'num_rx_vht_3120_mbps': 'numRxVHT_3120_Mbps', + 'num_rx_vht_3466_8_mbps': 'numRxVHT_3466_8_Mbps', + 'rx_last_rssi': 'rxLastRssi', + 'num_rx_no_fcs_err': 'numRxNoFcsErr', + 'num_rx_data': 'numRxData', + 'num_rx_management': 'numRxManagement', + 'num_rx_control': 'numRxControl', + 'rx_bytes': 'rxBytes', + 'rx_data_bytes': 'rxDataBytes', + 'num_rx_rts': 'numRxRts', + 'num_rx_cts': 'numRxCts', + 'num_rx_ack': 'numRxAck', + 'num_rx_probe_req': 'numRxProbeReq', + 'num_rx_retry': 'numRxRetry', + 'num_rx_dup': 'numRxDup', + 'num_rx_null_data': 'numRxNullData', + 'num_rx_pspoll': 'numRxPspoll', + 'num_rx_stbc': 'numRxStbc', + 'num_rx_ldpc': 'numRxLdpc', + 'last_recv_layer3_ts': 'lastRecvLayer3Ts', + 'num_rcv_frame_for_tx': 'numRcvFrameForTx', + 'num_tx_queued': 'numTxQueued', + 'num_tx_dropped': 'numTxDropped', + 'num_tx_retry_dropped': 'numTxRetryDropped', + 'num_tx_succ': 'numTxSucc', + 'num_tx_byte_succ': 'numTxByteSucc', + 'num_tx_succ_no_retry': 'numTxSuccNoRetry', + 'num_tx_succ_retries': 'numTxSuccRetries', + 'num_tx_multi_retries': 'numTxMultiRetries', + 'num_tx_management': 'numTxManagement', + 'num_tx_control': 'numTxControl', + 'num_tx_action': 'numTxAction', + 'num_tx_prop_resp': 'numTxPropResp', + 'num_tx_data': 'numTxData', + 'num_tx_data_retries': 'numTxDataRetries', + 'num_tx_rts_succ': 'numTxRtsSucc', + 'num_tx_rts_fail': 'numTxRtsFail', + 'num_tx_no_ack': 'numTxNoAck', + 'num_tx_eapol': 'numTxEapol', + 'num_tx_ldpc': 'numTxLdpc', + 'num_tx_stbc': 'numTxStbc', + 'num_tx_aggr_succ': 'numTxAggrSucc', + 'num_tx_aggr_one_mpdu': 'numTxAggrOneMpdu', + 'last_sent_layer3_ts': 'lastSentLayer3Ts', + 'wmm_queue_stats': 'wmmQueueStats', + 'list_mcs_stats_mcs_stats': 'List<McsStats> mcsStats', + 'last_rx_mcs_idx': 'lastRxMcsIdx', + 'last_tx_mcs_idx': 'lastTxMcsIdx', + 'radio_type': 'radioType', + 'period_length_sec': 'periodLengthSec' + } + + def __init__(self, model_type=None, seconds_since_last_recv=None, num_rx_packets=None, num_tx_packets=None, num_rx_bytes=None, num_tx_bytes=None, tx_retries=None, rx_duplicate_packets=None, rate_count=None, rates=None, mcs=None, vht_mcs=None, snr=None, rssi=None, session_id=None, classification_name=None, channel_band_width=None, guard_interval=None, cisco_last_rate=None, average_tx_rate=None, average_rx_rate=None, num_tx_data_frames_12_mbps=None, num_tx_data_frames_54_mbps=None, num_tx_data_frames_108_mbps=None, num_tx_data_frames_300_mbps=None, num_tx_data_frames_450_mbps=None, num_tx_data_frames_1300_mbps=None, num_tx_data_frames_1300_plus_mbps=None, num_rx_data_frames_12_mbps=None, num_rx_data_frames_54_mbps=None, num_rx_data_frames_108_mbps=None, num_rx_data_frames_300_mbps=None, num_rx_data_frames_450_mbps=None, num_rx_data_frames_1300_mbps=None, num_rx_data_frames_1300_plus_mbps=None, num_tx_time_frames_transmitted=None, num_rx_time_to_me=None, num_tx_time_data=None, num_rx_time_data=None, num_tx_frames_transmitted=None, num_tx_success_with_retry=None, num_tx_multiple_retries=None, num_tx_data_transmitted_retried=None, num_tx_data_transmitted=None, num_rx_frames_received=None, num_rx_data_frames_retried=None, num_rx_data_frames=None, num_tx_1_mbps=None, num_tx_6_mbps=None, num_tx_9_mbps=None, num_tx_12_mbps=None, num_tx_18_mbps=None, num_tx_24_mbps=None, num_tx_36_mbps=None, num_tx_48_mbps=None, num_tx_54_mbps=None, num_rx_1_mbps=None, num_rx_6_mbps=None, num_rx_9_mbps=None, num_rx_12_mbps=None, num_rx_18_mbps=None, num_rx_24_mbps=None, num_rx_36_mbps=None, num_rx_48_mbps=None, num_rx_54_mbps=None, num_tx_ht_6_5_mbps=None, num_tx_ht_7_1_mbps=None, num_tx_ht_13_mbps=None, num_tx_ht_13_5_mbps=None, num_tx_ht_14_3_mbps=None, num_tx_ht_15_mbps=None, num_tx_ht_19_5_mbps=None, num_tx_ht_21_7_mbps=None, num_tx_ht_26_mbps=None, num_tx_ht_27_mbps=None, num_tx_ht_28_7_mbps=None, num_tx_ht_28_8_mbps=None, num_tx_ht_29_2_mbps=None, num_tx_ht_30_mbps=None, num_tx_ht_32_5_mbps=None, num_tx_ht_39_mbps=None, num_tx_ht_40_5_mbps=None, num_tx_ht_43_2_mbps=None, num_tx_ht_45_mbps=None, num_tx_ht_52_mbps=None, num_tx_ht_54_mbps=None, num_tx_ht_57_5_mbps=None, num_tx_ht_57_7_mbps=None, num_tx_ht_58_5_mbps=None, num_tx_ht_60_mbps=None, num_tx_ht_65_mbps=None, num_tx_ht_72_1_mbps=None, num_tx_ht_78_mbps=None, num_tx_ht_81_mbps=None, num_tx_ht_86_6_mbps=None, num_tx_ht_86_8_mbps=None, num_tx_ht_87_8_mbps=None, num_tx_ht_90_mbps=None, num_tx_ht_97_5_mbps=None, num_tx_ht_104_mbps=None, num_tx_ht_108_mbps=None, num_tx_ht_115_5_mbps=None, num_tx_ht_117_mbps=None, num_tx_ht_117_1_mbps=None, num_tx_ht_120_mbps=None, num_tx_ht_121_5_mbps=None, num_tx_ht_130_mbps=None, num_tx_ht_130_3_mbps=None, num_tx_ht_135_mbps=None, num_tx_ht_144_3_mbps=None, num_tx_ht_150_mbps=None, num_tx_ht_156_mbps=None, num_tx_ht_162_mbps=None, num_tx_ht_173_1_mbps=None, num_tx_ht_173_3_mbps=None, num_tx_ht_175_5_mbps=None, num_tx_ht_180_mbps=None, num_tx_ht_195_mbps=None, num_tx_ht_200_mbps=None, num_tx_ht_208_mbps=None, num_tx_ht_216_mbps=None, num_tx_ht_216_6_mbps=None, num_tx_ht_231_1_mbps=None, num_tx_ht_234_mbps=None, num_tx_ht_240_mbps=None, num_tx_ht_243_mbps=None, num_tx_ht_260_mbps=None, num_tx_ht_263_2_mbps=None, num_tx_ht_270_mbps=None, num_tx_ht_288_7_mbps=None, num_tx_ht_288_8_mbps=None, num_tx_ht_292_5_mbps=None, num_tx_ht_300_mbps=None, num_tx_ht_312_mbps=None, num_tx_ht_324_mbps=None, num_tx_ht_325_mbps=None, num_tx_ht_346_7_mbps=None, num_tx_ht_351_mbps=None, num_tx_ht_351_2_mbps=None, num_tx_ht_360_mbps=None, num_rx_ht_6_5_mbps=None, num_rx_ht_7_1_mbps=None, num_rx_ht_13_mbps=None, num_rx_ht_13_5_mbps=None, num_rx_ht_14_3_mbps=None, num_rx_ht_15_mbps=None, num_rx_ht_19_5_mbps=None, num_rx_ht_21_7_mbps=None, num_rx_ht_26_mbps=None, num_rx_ht_27_mbps=None, num_rx_ht_28_7_mbps=None, num_rx_ht_28_8_mbps=None, num_rx_ht_29_2_mbps=None, num_rx_ht_30_mbps=None, num_rx_ht_32_5_mbps=None, num_rx_ht_39_mbps=None, num_rx_ht_40_5_mbps=None, num_rx_ht_43_2_mbps=None, num_rx_ht_45_mbps=None, num_rx_ht_52_mbps=None, num_rx_ht_54_mbps=None, num_rx_ht_57_5_mbps=None, num_rx_ht_57_7_mbps=None, num_rx_ht_58_5_mbps=None, num_rx_ht_60_mbps=None, num_rx_ht_65_mbps=None, num_rx_ht_72_1_mbps=None, num_rx_ht_78_mbps=None, num_rx_ht_81_mbps=None, num_rx_ht_86_6_mbps=None, num_rx_ht_86_8_mbps=None, num_rx_ht_87_8_mbps=None, num_rx_ht_90_mbps=None, num_rx_ht_97_5_mbps=None, num_rx_ht_104_mbps=None, num_rx_ht_108_mbps=None, num_rx_ht_115_5_mbps=None, num_rx_ht_117_mbps=None, num_rx_ht_117_1_mbps=None, num_rx_ht_120_mbps=None, num_rx_ht_121_5_mbps=None, num_rx_ht_130_mbps=None, num_rx_ht_130_3_mbps=None, num_rx_ht_135_mbps=None, num_rx_ht_144_3_mbps=None, num_rx_ht_150_mbps=None, num_rx_ht_156_mbps=None, num_rx_ht_162_mbps=None, num_rx_ht_173_1_mbps=None, num_rx_ht_173_3_mbps=None, num_rx_ht_175_5_mbps=None, num_rx_ht_180_mbps=None, num_rx_ht_195_mbps=None, num_rx_ht_200_mbps=None, num_rx_ht_208_mbps=None, num_rx_ht_216_mbps=None, num_rx_ht_216_6_mbps=None, num_rx_ht_231_1_mbps=None, num_rx_ht_234_mbps=None, num_rx_ht_240_mbps=None, num_rx_ht_243_mbps=None, num_rx_ht_260_mbps=None, num_rx_ht_263_2_mbps=None, num_rx_ht_270_mbps=None, num_rx_ht_288_7_mbps=None, num_rx_ht_288_8_mbps=None, num_rx_ht_292_5_mbps=None, num_rx_ht_300_mbps=None, num_rx_ht_312_mbps=None, num_rx_ht_324_mbps=None, num_rx_ht_325_mbps=None, num_rx_ht_346_7_mbps=None, num_rx_ht_351_mbps=None, num_rx_ht_351_2_mbps=None, num_rx_ht_360_mbps=None, num_tx_vht_292_5_mbps=None, num_tx_vht_325_mbps=None, num_tx_vht_364_5_mbps=None, num_tx_vht_390_mbps=None, num_tx_vht_400_mbps=None, num_tx_vht_403_mbps=None, num_tx_vht_405_mbps=None, num_tx_vht_432_mbps=None, num_tx_vht_433_2_mbps=None, num_tx_vht_450_mbps=None, num_tx_vht_468_mbps=None, num_tx_vht_480_mbps=None, num_tx_vht_486_mbps=None, num_tx_vht_520_mbps=None, num_tx_vht_526_5_mbps=None, num_tx_vht_540_mbps=None, num_tx_vht_585_mbps=None, num_tx_vht_600_mbps=None, num_tx_vht_648_mbps=None, num_tx_vht_650_mbps=None, num_tx_vht_702_mbps=None, num_tx_vht_720_mbps=None, num_tx_vht_780_mbps=None, num_tx_vht_800_mbps=None, num_tx_vht_866_7_mbps=None, num_tx_vht_877_5_mbps=None, num_tx_vht_936_mbps=None, num_tx_vht_975_mbps=None, num_tx_vht_1040_mbps=None, num_tx_vht_1053_mbps=None, num_tx_vht_1053_1_mbps=None, num_tx_vht_1170_mbps=None, num_tx_vht_1300_mbps=None, num_tx_vht_1404_mbps=None, num_tx_vht_1560_mbps=None, num_tx_vht_1579_5_mbps=None, num_tx_vht_1733_1_mbps=None, num_tx_vht_1733_4_mbps=None, num_tx_vht_1755_mbps=None, num_tx_vht_1872_mbps=None, num_tx_vht_1950_mbps=None, num_tx_vht_2080_mbps=None, num_tx_vht_2106_mbps=None, num_tx_vht_2340_mbps=None, num_tx_vht_2600_mbps=None, num_tx_vht_2808_mbps=None, num_tx_vht_3120_mbps=None, num_tx_vht_3466_8_mbps=None, num_rx_vht_292_5_mbps=None, num_rx_vht_325_mbps=None, num_rx_vht_364_5_mbps=None, num_rx_vht_390_mbps=None, num_rx_vht_400_mbps=None, num_rx_vht_403_mbps=None, num_rx_vht_405_mbps=None, num_rx_vht_432_mbps=None, num_rx_vht_433_2_mbps=None, num_rx_vht_450_mbps=None, num_rx_vht_468_mbps=None, num_rx_vht_480_mbps=None, num_rx_vht_486_mbps=None, num_rx_vht_520_mbps=None, num_rx_vht_526_5_mbps=None, num_rx_vht_540_mbps=None, num_rx_vht_585_mbps=None, num_rx_vht_600_mbps=None, num_rx_vht_648_mbps=None, num_rx_vht_650_mbps=None, num_rx_vht_702_mbps=None, num_rx_vht_720_mbps=None, num_rx_vht_780_mbps=None, num_rx_vht_800_mbps=None, num_rx_vht_866_7_mbps=None, num_rx_vht_877_5_mbps=None, num_rx_vht_936_mbps=None, num_rx_vht_975_mbps=None, num_rx_vht_1040_mbps=None, num_rx_vht_1053_mbps=None, num_rx_vht_1053_1_mbps=None, num_rx_vht_1170_mbps=None, num_rx_vht_1300_mbps=None, num_rx_vht_1404_mbps=None, num_rx_vht_1560_mbps=None, num_rx_vht_1579_5_mbps=None, num_rx_vht_1733_1_mbps=None, num_rx_vht_1733_4_mbps=None, num_rx_vht_1755_mbps=None, num_rx_vht_1872_mbps=None, num_rx_vht_1950_mbps=None, num_rx_vht_2080_mbps=None, num_rx_vht_2106_mbps=None, num_rx_vht_2340_mbps=None, num_rx_vht_2600_mbps=None, num_rx_vht_2808_mbps=None, num_rx_vht_3120_mbps=None, num_rx_vht_3466_8_mbps=None, rx_last_rssi=None, num_rx_no_fcs_err=None, num_rx_data=None, num_rx_management=None, num_rx_control=None, rx_bytes=None, rx_data_bytes=None, num_rx_rts=None, num_rx_cts=None, num_rx_ack=None, num_rx_probe_req=None, num_rx_retry=None, num_rx_dup=None, num_rx_null_data=None, num_rx_pspoll=None, num_rx_stbc=None, num_rx_ldpc=None, last_recv_layer3_ts=None, num_rcv_frame_for_tx=None, num_tx_queued=None, num_tx_dropped=None, num_tx_retry_dropped=None, num_tx_succ=None, num_tx_byte_succ=None, num_tx_succ_no_retry=None, num_tx_succ_retries=None, num_tx_multi_retries=None, num_tx_management=None, num_tx_control=None, num_tx_action=None, num_tx_prop_resp=None, num_tx_data=None, num_tx_data_retries=None, num_tx_rts_succ=None, num_tx_rts_fail=None, num_tx_no_ack=None, num_tx_eapol=None, num_tx_ldpc=None, num_tx_stbc=None, num_tx_aggr_succ=None, num_tx_aggr_one_mpdu=None, last_sent_layer3_ts=None, wmm_queue_stats=None, list_mcs_stats_mcs_stats=None, last_rx_mcs_idx=None, last_tx_mcs_idx=None, radio_type=None, period_length_sec=None): # noqa: E501 + """ClientMetrics - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._seconds_since_last_recv = None + self._num_rx_packets = None + self._num_tx_packets = None + self._num_rx_bytes = None + self._num_tx_bytes = None + self._tx_retries = None + self._rx_duplicate_packets = None + self._rate_count = None + self._rates = None + self._mcs = None + self._vht_mcs = None + self._snr = None + self._rssi = None + self._session_id = None + self._classification_name = None + self._channel_band_width = None + self._guard_interval = None + self._cisco_last_rate = None + self._average_tx_rate = None + self._average_rx_rate = None + self._num_tx_data_frames_12_mbps = None + self._num_tx_data_frames_54_mbps = None + self._num_tx_data_frames_108_mbps = None + self._num_tx_data_frames_300_mbps = None + self._num_tx_data_frames_450_mbps = None + self._num_tx_data_frames_1300_mbps = None + self._num_tx_data_frames_1300_plus_mbps = None + self._num_rx_data_frames_12_mbps = None + self._num_rx_data_frames_54_mbps = None + self._num_rx_data_frames_108_mbps = None + self._num_rx_data_frames_300_mbps = None + self._num_rx_data_frames_450_mbps = None + self._num_rx_data_frames_1300_mbps = None + self._num_rx_data_frames_1300_plus_mbps = None + self._num_tx_time_frames_transmitted = None + self._num_rx_time_to_me = None + self._num_tx_time_data = None + self._num_rx_time_data = None + self._num_tx_frames_transmitted = None + self._num_tx_success_with_retry = None + self._num_tx_multiple_retries = None + self._num_tx_data_transmitted_retried = None + self._num_tx_data_transmitted = None + self._num_rx_frames_received = None + self._num_rx_data_frames_retried = None + self._num_rx_data_frames = None + self._num_tx_1_mbps = None + self._num_tx_6_mbps = None + self._num_tx_9_mbps = None + self._num_tx_12_mbps = None + self._num_tx_18_mbps = None + self._num_tx_24_mbps = None + self._num_tx_36_mbps = None + self._num_tx_48_mbps = None + self._num_tx_54_mbps = None + self._num_rx_1_mbps = None + self._num_rx_6_mbps = None + self._num_rx_9_mbps = None + self._num_rx_12_mbps = None + self._num_rx_18_mbps = None + self._num_rx_24_mbps = None + self._num_rx_36_mbps = None + self._num_rx_48_mbps = None + self._num_rx_54_mbps = None + self._num_tx_ht_6_5_mbps = None + self._num_tx_ht_7_1_mbps = None + self._num_tx_ht_13_mbps = None + self._num_tx_ht_13_5_mbps = None + self._num_tx_ht_14_3_mbps = None + self._num_tx_ht_15_mbps = None + self._num_tx_ht_19_5_mbps = None + self._num_tx_ht_21_7_mbps = None + self._num_tx_ht_26_mbps = None + self._num_tx_ht_27_mbps = None + self._num_tx_ht_28_7_mbps = None + self._num_tx_ht_28_8_mbps = None + self._num_tx_ht_29_2_mbps = None + self._num_tx_ht_30_mbps = None + self._num_tx_ht_32_5_mbps = None + self._num_tx_ht_39_mbps = None + self._num_tx_ht_40_5_mbps = None + self._num_tx_ht_43_2_mbps = None + self._num_tx_ht_45_mbps = None + self._num_tx_ht_52_mbps = None + self._num_tx_ht_54_mbps = None + self._num_tx_ht_57_5_mbps = None + self._num_tx_ht_57_7_mbps = None + self._num_tx_ht_58_5_mbps = None + self._num_tx_ht_60_mbps = None + self._num_tx_ht_65_mbps = None + self._num_tx_ht_72_1_mbps = None + self._num_tx_ht_78_mbps = None + self._num_tx_ht_81_mbps = None + self._num_tx_ht_86_6_mbps = None + self._num_tx_ht_86_8_mbps = None + self._num_tx_ht_87_8_mbps = None + self._num_tx_ht_90_mbps = None + self._num_tx_ht_97_5_mbps = None + self._num_tx_ht_104_mbps = None + self._num_tx_ht_108_mbps = None + self._num_tx_ht_115_5_mbps = None + self._num_tx_ht_117_mbps = None + self._num_tx_ht_117_1_mbps = None + self._num_tx_ht_120_mbps = None + self._num_tx_ht_121_5_mbps = None + self._num_tx_ht_130_mbps = None + self._num_tx_ht_130_3_mbps = None + self._num_tx_ht_135_mbps = None + self._num_tx_ht_144_3_mbps = None + self._num_tx_ht_150_mbps = None + self._num_tx_ht_156_mbps = None + self._num_tx_ht_162_mbps = None + self._num_tx_ht_173_1_mbps = None + self._num_tx_ht_173_3_mbps = None + self._num_tx_ht_175_5_mbps = None + self._num_tx_ht_180_mbps = None + self._num_tx_ht_195_mbps = None + self._num_tx_ht_200_mbps = None + self._num_tx_ht_208_mbps = None + self._num_tx_ht_216_mbps = None + self._num_tx_ht_216_6_mbps = None + self._num_tx_ht_231_1_mbps = None + self._num_tx_ht_234_mbps = None + self._num_tx_ht_240_mbps = None + self._num_tx_ht_243_mbps = None + self._num_tx_ht_260_mbps = None + self._num_tx_ht_263_2_mbps = None + self._num_tx_ht_270_mbps = None + self._num_tx_ht_288_7_mbps = None + self._num_tx_ht_288_8_mbps = None + self._num_tx_ht_292_5_mbps = None + self._num_tx_ht_300_mbps = None + self._num_tx_ht_312_mbps = None + self._num_tx_ht_324_mbps = None + self._num_tx_ht_325_mbps = None + self._num_tx_ht_346_7_mbps = None + self._num_tx_ht_351_mbps = None + self._num_tx_ht_351_2_mbps = None + self._num_tx_ht_360_mbps = None + self._num_rx_ht_6_5_mbps = None + self._num_rx_ht_7_1_mbps = None + self._num_rx_ht_13_mbps = None + self._num_rx_ht_13_5_mbps = None + self._num_rx_ht_14_3_mbps = None + self._num_rx_ht_15_mbps = None + self._num_rx_ht_19_5_mbps = None + self._num_rx_ht_21_7_mbps = None + self._num_rx_ht_26_mbps = None + self._num_rx_ht_27_mbps = None + self._num_rx_ht_28_7_mbps = None + self._num_rx_ht_28_8_mbps = None + self._num_rx_ht_29_2_mbps = None + self._num_rx_ht_30_mbps = None + self._num_rx_ht_32_5_mbps = None + self._num_rx_ht_39_mbps = None + self._num_rx_ht_40_5_mbps = None + self._num_rx_ht_43_2_mbps = None + self._num_rx_ht_45_mbps = None + self._num_rx_ht_52_mbps = None + self._num_rx_ht_54_mbps = None + self._num_rx_ht_57_5_mbps = None + self._num_rx_ht_57_7_mbps = None + self._num_rx_ht_58_5_mbps = None + self._num_rx_ht_60_mbps = None + self._num_rx_ht_65_mbps = None + self._num_rx_ht_72_1_mbps = None + self._num_rx_ht_78_mbps = None + self._num_rx_ht_81_mbps = None + self._num_rx_ht_86_6_mbps = None + self._num_rx_ht_86_8_mbps = None + self._num_rx_ht_87_8_mbps = None + self._num_rx_ht_90_mbps = None + self._num_rx_ht_97_5_mbps = None + self._num_rx_ht_104_mbps = None + self._num_rx_ht_108_mbps = None + self._num_rx_ht_115_5_mbps = None + self._num_rx_ht_117_mbps = None + self._num_rx_ht_117_1_mbps = None + self._num_rx_ht_120_mbps = None + self._num_rx_ht_121_5_mbps = None + self._num_rx_ht_130_mbps = None + self._num_rx_ht_130_3_mbps = None + self._num_rx_ht_135_mbps = None + self._num_rx_ht_144_3_mbps = None + self._num_rx_ht_150_mbps = None + self._num_rx_ht_156_mbps = None + self._num_rx_ht_162_mbps = None + self._num_rx_ht_173_1_mbps = None + self._num_rx_ht_173_3_mbps = None + self._num_rx_ht_175_5_mbps = None + self._num_rx_ht_180_mbps = None + self._num_rx_ht_195_mbps = None + self._num_rx_ht_200_mbps = None + self._num_rx_ht_208_mbps = None + self._num_rx_ht_216_mbps = None + self._num_rx_ht_216_6_mbps = None + self._num_rx_ht_231_1_mbps = None + self._num_rx_ht_234_mbps = None + self._num_rx_ht_240_mbps = None + self._num_rx_ht_243_mbps = None + self._num_rx_ht_260_mbps = None + self._num_rx_ht_263_2_mbps = None + self._num_rx_ht_270_mbps = None + self._num_rx_ht_288_7_mbps = None + self._num_rx_ht_288_8_mbps = None + self._num_rx_ht_292_5_mbps = None + self._num_rx_ht_300_mbps = None + self._num_rx_ht_312_mbps = None + self._num_rx_ht_324_mbps = None + self._num_rx_ht_325_mbps = None + self._num_rx_ht_346_7_mbps = None + self._num_rx_ht_351_mbps = None + self._num_rx_ht_351_2_mbps = None + self._num_rx_ht_360_mbps = None + self._num_tx_vht_292_5_mbps = None + self._num_tx_vht_325_mbps = None + self._num_tx_vht_364_5_mbps = None + self._num_tx_vht_390_mbps = None + self._num_tx_vht_400_mbps = None + self._num_tx_vht_403_mbps = None + self._num_tx_vht_405_mbps = None + self._num_tx_vht_432_mbps = None + self._num_tx_vht_433_2_mbps = None + self._num_tx_vht_450_mbps = None + self._num_tx_vht_468_mbps = None + self._num_tx_vht_480_mbps = None + self._num_tx_vht_486_mbps = None + self._num_tx_vht_520_mbps = None + self._num_tx_vht_526_5_mbps = None + self._num_tx_vht_540_mbps = None + self._num_tx_vht_585_mbps = None + self._num_tx_vht_600_mbps = None + self._num_tx_vht_648_mbps = None + self._num_tx_vht_650_mbps = None + self._num_tx_vht_702_mbps = None + self._num_tx_vht_720_mbps = None + self._num_tx_vht_780_mbps = None + self._num_tx_vht_800_mbps = None + self._num_tx_vht_866_7_mbps = None + self._num_tx_vht_877_5_mbps = None + self._num_tx_vht_936_mbps = None + self._num_tx_vht_975_mbps = None + self._num_tx_vht_1040_mbps = None + self._num_tx_vht_1053_mbps = None + self._num_tx_vht_1053_1_mbps = None + self._num_tx_vht_1170_mbps = None + self._num_tx_vht_1300_mbps = None + self._num_tx_vht_1404_mbps = None + self._num_tx_vht_1560_mbps = None + self._num_tx_vht_1579_5_mbps = None + self._num_tx_vht_1733_1_mbps = None + self._num_tx_vht_1733_4_mbps = None + self._num_tx_vht_1755_mbps = None + self._num_tx_vht_1872_mbps = None + self._num_tx_vht_1950_mbps = None + self._num_tx_vht_2080_mbps = None + self._num_tx_vht_2106_mbps = None + self._num_tx_vht_2340_mbps = None + self._num_tx_vht_2600_mbps = None + self._num_tx_vht_2808_mbps = None + self._num_tx_vht_3120_mbps = None + self._num_tx_vht_3466_8_mbps = None + self._num_rx_vht_292_5_mbps = None + self._num_rx_vht_325_mbps = None + self._num_rx_vht_364_5_mbps = None + self._num_rx_vht_390_mbps = None + self._num_rx_vht_400_mbps = None + self._num_rx_vht_403_mbps = None + self._num_rx_vht_405_mbps = None + self._num_rx_vht_432_mbps = None + self._num_rx_vht_433_2_mbps = None + self._num_rx_vht_450_mbps = None + self._num_rx_vht_468_mbps = None + self._num_rx_vht_480_mbps = None + self._num_rx_vht_486_mbps = None + self._num_rx_vht_520_mbps = None + self._num_rx_vht_526_5_mbps = None + self._num_rx_vht_540_mbps = None + self._num_rx_vht_585_mbps = None + self._num_rx_vht_600_mbps = None + self._num_rx_vht_648_mbps = None + self._num_rx_vht_650_mbps = None + self._num_rx_vht_702_mbps = None + self._num_rx_vht_720_mbps = None + self._num_rx_vht_780_mbps = None + self._num_rx_vht_800_mbps = None + self._num_rx_vht_866_7_mbps = None + self._num_rx_vht_877_5_mbps = None + self._num_rx_vht_936_mbps = None + self._num_rx_vht_975_mbps = None + self._num_rx_vht_1040_mbps = None + self._num_rx_vht_1053_mbps = None + self._num_rx_vht_1053_1_mbps = None + self._num_rx_vht_1170_mbps = None + self._num_rx_vht_1300_mbps = None + self._num_rx_vht_1404_mbps = None + self._num_rx_vht_1560_mbps = None + self._num_rx_vht_1579_5_mbps = None + self._num_rx_vht_1733_1_mbps = None + self._num_rx_vht_1733_4_mbps = None + self._num_rx_vht_1755_mbps = None + self._num_rx_vht_1872_mbps = None + self._num_rx_vht_1950_mbps = None + self._num_rx_vht_2080_mbps = None + self._num_rx_vht_2106_mbps = None + self._num_rx_vht_2340_mbps = None + self._num_rx_vht_2600_mbps = None + self._num_rx_vht_2808_mbps = None + self._num_rx_vht_3120_mbps = None + self._num_rx_vht_3466_8_mbps = None + self._rx_last_rssi = None + self._num_rx_no_fcs_err = None + self._num_rx_data = None + self._num_rx_management = None + self._num_rx_control = None + self._rx_bytes = None + self._rx_data_bytes = None + self._num_rx_rts = None + self._num_rx_cts = None + self._num_rx_ack = None + self._num_rx_probe_req = None + self._num_rx_retry = None + self._num_rx_dup = None + self._num_rx_null_data = None + self._num_rx_pspoll = None + self._num_rx_stbc = None + self._num_rx_ldpc = None + self._last_recv_layer3_ts = None + self._num_rcv_frame_for_tx = None + self._num_tx_queued = None + self._num_tx_dropped = None + self._num_tx_retry_dropped = None + self._num_tx_succ = None + self._num_tx_byte_succ = None + self._num_tx_succ_no_retry = None + self._num_tx_succ_retries = None + self._num_tx_multi_retries = None + self._num_tx_management = None + self._num_tx_control = None + self._num_tx_action = None + self._num_tx_prop_resp = None + self._num_tx_data = None + self._num_tx_data_retries = None + self._num_tx_rts_succ = None + self._num_tx_rts_fail = None + self._num_tx_no_ack = None + self._num_tx_eapol = None + self._num_tx_ldpc = None + self._num_tx_stbc = None + self._num_tx_aggr_succ = None + self._num_tx_aggr_one_mpdu = None + self._last_sent_layer3_ts = None + self._wmm_queue_stats = None + self._list_mcs_stats_mcs_stats = None + self._last_rx_mcs_idx = None + self._last_tx_mcs_idx = None + self._radio_type = None + self._period_length_sec = None + self.discriminator = None + self.model_type = model_type + if seconds_since_last_recv is not None: + self.seconds_since_last_recv = seconds_since_last_recv + if num_rx_packets is not None: + self.num_rx_packets = num_rx_packets + if num_tx_packets is not None: + self.num_tx_packets = num_tx_packets + if num_rx_bytes is not None: + self.num_rx_bytes = num_rx_bytes + if num_tx_bytes is not None: + self.num_tx_bytes = num_tx_bytes + if tx_retries is not None: + self.tx_retries = tx_retries + if rx_duplicate_packets is not None: + self.rx_duplicate_packets = rx_duplicate_packets + if rate_count is not None: + self.rate_count = rate_count + if rates is not None: + self.rates = rates + if mcs is not None: + self.mcs = mcs + if vht_mcs is not None: + self.vht_mcs = vht_mcs + if snr is not None: + self.snr = snr + if rssi is not None: + self.rssi = rssi + if session_id is not None: + self.session_id = session_id + if classification_name is not None: + self.classification_name = classification_name + if channel_band_width is not None: + self.channel_band_width = channel_band_width + if guard_interval is not None: + self.guard_interval = guard_interval + if cisco_last_rate is not None: + self.cisco_last_rate = cisco_last_rate + if average_tx_rate is not None: + self.average_tx_rate = average_tx_rate + if average_rx_rate is not None: + self.average_rx_rate = average_rx_rate + if num_tx_data_frames_12_mbps is not None: + self.num_tx_data_frames_12_mbps = num_tx_data_frames_12_mbps + if num_tx_data_frames_54_mbps is not None: + self.num_tx_data_frames_54_mbps = num_tx_data_frames_54_mbps + if num_tx_data_frames_108_mbps is not None: + self.num_tx_data_frames_108_mbps = num_tx_data_frames_108_mbps + if num_tx_data_frames_300_mbps is not None: + self.num_tx_data_frames_300_mbps = num_tx_data_frames_300_mbps + if num_tx_data_frames_450_mbps is not None: + self.num_tx_data_frames_450_mbps = num_tx_data_frames_450_mbps + if num_tx_data_frames_1300_mbps is not None: + self.num_tx_data_frames_1300_mbps = num_tx_data_frames_1300_mbps + if num_tx_data_frames_1300_plus_mbps is not None: + self.num_tx_data_frames_1300_plus_mbps = num_tx_data_frames_1300_plus_mbps + if num_rx_data_frames_12_mbps is not None: + self.num_rx_data_frames_12_mbps = num_rx_data_frames_12_mbps + if num_rx_data_frames_54_mbps is not None: + self.num_rx_data_frames_54_mbps = num_rx_data_frames_54_mbps + if num_rx_data_frames_108_mbps is not None: + self.num_rx_data_frames_108_mbps = num_rx_data_frames_108_mbps + if num_rx_data_frames_300_mbps is not None: + self.num_rx_data_frames_300_mbps = num_rx_data_frames_300_mbps + if num_rx_data_frames_450_mbps is not None: + self.num_rx_data_frames_450_mbps = num_rx_data_frames_450_mbps + if num_rx_data_frames_1300_mbps is not None: + self.num_rx_data_frames_1300_mbps = num_rx_data_frames_1300_mbps + if num_rx_data_frames_1300_plus_mbps is not None: + self.num_rx_data_frames_1300_plus_mbps = num_rx_data_frames_1300_plus_mbps + if num_tx_time_frames_transmitted is not None: + self.num_tx_time_frames_transmitted = num_tx_time_frames_transmitted + if num_rx_time_to_me is not None: + self.num_rx_time_to_me = num_rx_time_to_me + if num_tx_time_data is not None: + self.num_tx_time_data = num_tx_time_data + if num_rx_time_data is not None: + self.num_rx_time_data = num_rx_time_data + if num_tx_frames_transmitted is not None: + self.num_tx_frames_transmitted = num_tx_frames_transmitted + if num_tx_success_with_retry is not None: + self.num_tx_success_with_retry = num_tx_success_with_retry + if num_tx_multiple_retries is not None: + self.num_tx_multiple_retries = num_tx_multiple_retries + if num_tx_data_transmitted_retried is not None: + self.num_tx_data_transmitted_retried = num_tx_data_transmitted_retried + if num_tx_data_transmitted is not None: + self.num_tx_data_transmitted = num_tx_data_transmitted + if num_rx_frames_received is not None: + self.num_rx_frames_received = num_rx_frames_received + if num_rx_data_frames_retried is not None: + self.num_rx_data_frames_retried = num_rx_data_frames_retried + if num_rx_data_frames is not None: + self.num_rx_data_frames = num_rx_data_frames + if num_tx_1_mbps is not None: + self.num_tx_1_mbps = num_tx_1_mbps + if num_tx_6_mbps is not None: + self.num_tx_6_mbps = num_tx_6_mbps + if num_tx_9_mbps is not None: + self.num_tx_9_mbps = num_tx_9_mbps + if num_tx_12_mbps is not None: + self.num_tx_12_mbps = num_tx_12_mbps + if num_tx_18_mbps is not None: + self.num_tx_18_mbps = num_tx_18_mbps + if num_tx_24_mbps is not None: + self.num_tx_24_mbps = num_tx_24_mbps + if num_tx_36_mbps is not None: + self.num_tx_36_mbps = num_tx_36_mbps + if num_tx_48_mbps is not None: + self.num_tx_48_mbps = num_tx_48_mbps + if num_tx_54_mbps is not None: + self.num_tx_54_mbps = num_tx_54_mbps + if num_rx_1_mbps is not None: + self.num_rx_1_mbps = num_rx_1_mbps + if num_rx_6_mbps is not None: + self.num_rx_6_mbps = num_rx_6_mbps + if num_rx_9_mbps is not None: + self.num_rx_9_mbps = num_rx_9_mbps + if num_rx_12_mbps is not None: + self.num_rx_12_mbps = num_rx_12_mbps + if num_rx_18_mbps is not None: + self.num_rx_18_mbps = num_rx_18_mbps + if num_rx_24_mbps is not None: + self.num_rx_24_mbps = num_rx_24_mbps + if num_rx_36_mbps is not None: + self.num_rx_36_mbps = num_rx_36_mbps + if num_rx_48_mbps is not None: + self.num_rx_48_mbps = num_rx_48_mbps + if num_rx_54_mbps is not None: + self.num_rx_54_mbps = num_rx_54_mbps + if num_tx_ht_6_5_mbps is not None: + self.num_tx_ht_6_5_mbps = num_tx_ht_6_5_mbps + if num_tx_ht_7_1_mbps is not None: + self.num_tx_ht_7_1_mbps = num_tx_ht_7_1_mbps + if num_tx_ht_13_mbps is not None: + self.num_tx_ht_13_mbps = num_tx_ht_13_mbps + if num_tx_ht_13_5_mbps is not None: + self.num_tx_ht_13_5_mbps = num_tx_ht_13_5_mbps + if num_tx_ht_14_3_mbps is not None: + self.num_tx_ht_14_3_mbps = num_tx_ht_14_3_mbps + if num_tx_ht_15_mbps is not None: + self.num_tx_ht_15_mbps = num_tx_ht_15_mbps + if num_tx_ht_19_5_mbps is not None: + self.num_tx_ht_19_5_mbps = num_tx_ht_19_5_mbps + if num_tx_ht_21_7_mbps is not None: + self.num_tx_ht_21_7_mbps = num_tx_ht_21_7_mbps + if num_tx_ht_26_mbps is not None: + self.num_tx_ht_26_mbps = num_tx_ht_26_mbps + if num_tx_ht_27_mbps is not None: + self.num_tx_ht_27_mbps = num_tx_ht_27_mbps + if num_tx_ht_28_7_mbps is not None: + self.num_tx_ht_28_7_mbps = num_tx_ht_28_7_mbps + if num_tx_ht_28_8_mbps is not None: + self.num_tx_ht_28_8_mbps = num_tx_ht_28_8_mbps + if num_tx_ht_29_2_mbps is not None: + self.num_tx_ht_29_2_mbps = num_tx_ht_29_2_mbps + if num_tx_ht_30_mbps is not None: + self.num_tx_ht_30_mbps = num_tx_ht_30_mbps + if num_tx_ht_32_5_mbps is not None: + self.num_tx_ht_32_5_mbps = num_tx_ht_32_5_mbps + if num_tx_ht_39_mbps is not None: + self.num_tx_ht_39_mbps = num_tx_ht_39_mbps + if num_tx_ht_40_5_mbps is not None: + self.num_tx_ht_40_5_mbps = num_tx_ht_40_5_mbps + if num_tx_ht_43_2_mbps is not None: + self.num_tx_ht_43_2_mbps = num_tx_ht_43_2_mbps + if num_tx_ht_45_mbps is not None: + self.num_tx_ht_45_mbps = num_tx_ht_45_mbps + if num_tx_ht_52_mbps is not None: + self.num_tx_ht_52_mbps = num_tx_ht_52_mbps + if num_tx_ht_54_mbps is not None: + self.num_tx_ht_54_mbps = num_tx_ht_54_mbps + if num_tx_ht_57_5_mbps is not None: + self.num_tx_ht_57_5_mbps = num_tx_ht_57_5_mbps + if num_tx_ht_57_7_mbps is not None: + self.num_tx_ht_57_7_mbps = num_tx_ht_57_7_mbps + if num_tx_ht_58_5_mbps is not None: + self.num_tx_ht_58_5_mbps = num_tx_ht_58_5_mbps + if num_tx_ht_60_mbps is not None: + self.num_tx_ht_60_mbps = num_tx_ht_60_mbps + if num_tx_ht_65_mbps is not None: + self.num_tx_ht_65_mbps = num_tx_ht_65_mbps + if num_tx_ht_72_1_mbps is not None: + self.num_tx_ht_72_1_mbps = num_tx_ht_72_1_mbps + if num_tx_ht_78_mbps is not None: + self.num_tx_ht_78_mbps = num_tx_ht_78_mbps + if num_tx_ht_81_mbps is not None: + self.num_tx_ht_81_mbps = num_tx_ht_81_mbps + if num_tx_ht_86_6_mbps is not None: + self.num_tx_ht_86_6_mbps = num_tx_ht_86_6_mbps + if num_tx_ht_86_8_mbps is not None: + self.num_tx_ht_86_8_mbps = num_tx_ht_86_8_mbps + if num_tx_ht_87_8_mbps is not None: + self.num_tx_ht_87_8_mbps = num_tx_ht_87_8_mbps + if num_tx_ht_90_mbps is not None: + self.num_tx_ht_90_mbps = num_tx_ht_90_mbps + if num_tx_ht_97_5_mbps is not None: + self.num_tx_ht_97_5_mbps = num_tx_ht_97_5_mbps + if num_tx_ht_104_mbps is not None: + self.num_tx_ht_104_mbps = num_tx_ht_104_mbps + if num_tx_ht_108_mbps is not None: + self.num_tx_ht_108_mbps = num_tx_ht_108_mbps + if num_tx_ht_115_5_mbps is not None: + self.num_tx_ht_115_5_mbps = num_tx_ht_115_5_mbps + if num_tx_ht_117_mbps is not None: + self.num_tx_ht_117_mbps = num_tx_ht_117_mbps + if num_tx_ht_117_1_mbps is not None: + self.num_tx_ht_117_1_mbps = num_tx_ht_117_1_mbps + if num_tx_ht_120_mbps is not None: + self.num_tx_ht_120_mbps = num_tx_ht_120_mbps + if num_tx_ht_121_5_mbps is not None: + self.num_tx_ht_121_5_mbps = num_tx_ht_121_5_mbps + if num_tx_ht_130_mbps is not None: + self.num_tx_ht_130_mbps = num_tx_ht_130_mbps + if num_tx_ht_130_3_mbps is not None: + self.num_tx_ht_130_3_mbps = num_tx_ht_130_3_mbps + if num_tx_ht_135_mbps is not None: + self.num_tx_ht_135_mbps = num_tx_ht_135_mbps + if num_tx_ht_144_3_mbps is not None: + self.num_tx_ht_144_3_mbps = num_tx_ht_144_3_mbps + if num_tx_ht_150_mbps is not None: + self.num_tx_ht_150_mbps = num_tx_ht_150_mbps + if num_tx_ht_156_mbps is not None: + self.num_tx_ht_156_mbps = num_tx_ht_156_mbps + if num_tx_ht_162_mbps is not None: + self.num_tx_ht_162_mbps = num_tx_ht_162_mbps + if num_tx_ht_173_1_mbps is not None: + self.num_tx_ht_173_1_mbps = num_tx_ht_173_1_mbps + if num_tx_ht_173_3_mbps is not None: + self.num_tx_ht_173_3_mbps = num_tx_ht_173_3_mbps + if num_tx_ht_175_5_mbps is not None: + self.num_tx_ht_175_5_mbps = num_tx_ht_175_5_mbps + if num_tx_ht_180_mbps is not None: + self.num_tx_ht_180_mbps = num_tx_ht_180_mbps + if num_tx_ht_195_mbps is not None: + self.num_tx_ht_195_mbps = num_tx_ht_195_mbps + if num_tx_ht_200_mbps is not None: + self.num_tx_ht_200_mbps = num_tx_ht_200_mbps + if num_tx_ht_208_mbps is not None: + self.num_tx_ht_208_mbps = num_tx_ht_208_mbps + if num_tx_ht_216_mbps is not None: + self.num_tx_ht_216_mbps = num_tx_ht_216_mbps + if num_tx_ht_216_6_mbps is not None: + self.num_tx_ht_216_6_mbps = num_tx_ht_216_6_mbps + if num_tx_ht_231_1_mbps is not None: + self.num_tx_ht_231_1_mbps = num_tx_ht_231_1_mbps + if num_tx_ht_234_mbps is not None: + self.num_tx_ht_234_mbps = num_tx_ht_234_mbps + if num_tx_ht_240_mbps is not None: + self.num_tx_ht_240_mbps = num_tx_ht_240_mbps + if num_tx_ht_243_mbps is not None: + self.num_tx_ht_243_mbps = num_tx_ht_243_mbps + if num_tx_ht_260_mbps is not None: + self.num_tx_ht_260_mbps = num_tx_ht_260_mbps + if num_tx_ht_263_2_mbps is not None: + self.num_tx_ht_263_2_mbps = num_tx_ht_263_2_mbps + if num_tx_ht_270_mbps is not None: + self.num_tx_ht_270_mbps = num_tx_ht_270_mbps + if num_tx_ht_288_7_mbps is not None: + self.num_tx_ht_288_7_mbps = num_tx_ht_288_7_mbps + if num_tx_ht_288_8_mbps is not None: + self.num_tx_ht_288_8_mbps = num_tx_ht_288_8_mbps + if num_tx_ht_292_5_mbps is not None: + self.num_tx_ht_292_5_mbps = num_tx_ht_292_5_mbps + if num_tx_ht_300_mbps is not None: + self.num_tx_ht_300_mbps = num_tx_ht_300_mbps + if num_tx_ht_312_mbps is not None: + self.num_tx_ht_312_mbps = num_tx_ht_312_mbps + if num_tx_ht_324_mbps is not None: + self.num_tx_ht_324_mbps = num_tx_ht_324_mbps + if num_tx_ht_325_mbps is not None: + self.num_tx_ht_325_mbps = num_tx_ht_325_mbps + if num_tx_ht_346_7_mbps is not None: + self.num_tx_ht_346_7_mbps = num_tx_ht_346_7_mbps + if num_tx_ht_351_mbps is not None: + self.num_tx_ht_351_mbps = num_tx_ht_351_mbps + if num_tx_ht_351_2_mbps is not None: + self.num_tx_ht_351_2_mbps = num_tx_ht_351_2_mbps + if num_tx_ht_360_mbps is not None: + self.num_tx_ht_360_mbps = num_tx_ht_360_mbps + if num_rx_ht_6_5_mbps is not None: + self.num_rx_ht_6_5_mbps = num_rx_ht_6_5_mbps + if num_rx_ht_7_1_mbps is not None: + self.num_rx_ht_7_1_mbps = num_rx_ht_7_1_mbps + if num_rx_ht_13_mbps is not None: + self.num_rx_ht_13_mbps = num_rx_ht_13_mbps + if num_rx_ht_13_5_mbps is not None: + self.num_rx_ht_13_5_mbps = num_rx_ht_13_5_mbps + if num_rx_ht_14_3_mbps is not None: + self.num_rx_ht_14_3_mbps = num_rx_ht_14_3_mbps + if num_rx_ht_15_mbps is not None: + self.num_rx_ht_15_mbps = num_rx_ht_15_mbps + if num_rx_ht_19_5_mbps is not None: + self.num_rx_ht_19_5_mbps = num_rx_ht_19_5_mbps + if num_rx_ht_21_7_mbps is not None: + self.num_rx_ht_21_7_mbps = num_rx_ht_21_7_mbps + if num_rx_ht_26_mbps is not None: + self.num_rx_ht_26_mbps = num_rx_ht_26_mbps + if num_rx_ht_27_mbps is not None: + self.num_rx_ht_27_mbps = num_rx_ht_27_mbps + if num_rx_ht_28_7_mbps is not None: + self.num_rx_ht_28_7_mbps = num_rx_ht_28_7_mbps + if num_rx_ht_28_8_mbps is not None: + self.num_rx_ht_28_8_mbps = num_rx_ht_28_8_mbps + if num_rx_ht_29_2_mbps is not None: + self.num_rx_ht_29_2_mbps = num_rx_ht_29_2_mbps + if num_rx_ht_30_mbps is not None: + self.num_rx_ht_30_mbps = num_rx_ht_30_mbps + if num_rx_ht_32_5_mbps is not None: + self.num_rx_ht_32_5_mbps = num_rx_ht_32_5_mbps + if num_rx_ht_39_mbps is not None: + self.num_rx_ht_39_mbps = num_rx_ht_39_mbps + if num_rx_ht_40_5_mbps is not None: + self.num_rx_ht_40_5_mbps = num_rx_ht_40_5_mbps + if num_rx_ht_43_2_mbps is not None: + self.num_rx_ht_43_2_mbps = num_rx_ht_43_2_mbps + if num_rx_ht_45_mbps is not None: + self.num_rx_ht_45_mbps = num_rx_ht_45_mbps + if num_rx_ht_52_mbps is not None: + self.num_rx_ht_52_mbps = num_rx_ht_52_mbps + if num_rx_ht_54_mbps is not None: + self.num_rx_ht_54_mbps = num_rx_ht_54_mbps + if num_rx_ht_57_5_mbps is not None: + self.num_rx_ht_57_5_mbps = num_rx_ht_57_5_mbps + if num_rx_ht_57_7_mbps is not None: + self.num_rx_ht_57_7_mbps = num_rx_ht_57_7_mbps + if num_rx_ht_58_5_mbps is not None: + self.num_rx_ht_58_5_mbps = num_rx_ht_58_5_mbps + if num_rx_ht_60_mbps is not None: + self.num_rx_ht_60_mbps = num_rx_ht_60_mbps + if num_rx_ht_65_mbps is not None: + self.num_rx_ht_65_mbps = num_rx_ht_65_mbps + if num_rx_ht_72_1_mbps is not None: + self.num_rx_ht_72_1_mbps = num_rx_ht_72_1_mbps + if num_rx_ht_78_mbps is not None: + self.num_rx_ht_78_mbps = num_rx_ht_78_mbps + if num_rx_ht_81_mbps is not None: + self.num_rx_ht_81_mbps = num_rx_ht_81_mbps + if num_rx_ht_86_6_mbps is not None: + self.num_rx_ht_86_6_mbps = num_rx_ht_86_6_mbps + if num_rx_ht_86_8_mbps is not None: + self.num_rx_ht_86_8_mbps = num_rx_ht_86_8_mbps + if num_rx_ht_87_8_mbps is not None: + self.num_rx_ht_87_8_mbps = num_rx_ht_87_8_mbps + if num_rx_ht_90_mbps is not None: + self.num_rx_ht_90_mbps = num_rx_ht_90_mbps + if num_rx_ht_97_5_mbps is not None: + self.num_rx_ht_97_5_mbps = num_rx_ht_97_5_mbps + if num_rx_ht_104_mbps is not None: + self.num_rx_ht_104_mbps = num_rx_ht_104_mbps + if num_rx_ht_108_mbps is not None: + self.num_rx_ht_108_mbps = num_rx_ht_108_mbps + if num_rx_ht_115_5_mbps is not None: + self.num_rx_ht_115_5_mbps = num_rx_ht_115_5_mbps + if num_rx_ht_117_mbps is not None: + self.num_rx_ht_117_mbps = num_rx_ht_117_mbps + if num_rx_ht_117_1_mbps is not None: + self.num_rx_ht_117_1_mbps = num_rx_ht_117_1_mbps + if num_rx_ht_120_mbps is not None: + self.num_rx_ht_120_mbps = num_rx_ht_120_mbps + if num_rx_ht_121_5_mbps is not None: + self.num_rx_ht_121_5_mbps = num_rx_ht_121_5_mbps + if num_rx_ht_130_mbps is not None: + self.num_rx_ht_130_mbps = num_rx_ht_130_mbps + if num_rx_ht_130_3_mbps is not None: + self.num_rx_ht_130_3_mbps = num_rx_ht_130_3_mbps + if num_rx_ht_135_mbps is not None: + self.num_rx_ht_135_mbps = num_rx_ht_135_mbps + if num_rx_ht_144_3_mbps is not None: + self.num_rx_ht_144_3_mbps = num_rx_ht_144_3_mbps + if num_rx_ht_150_mbps is not None: + self.num_rx_ht_150_mbps = num_rx_ht_150_mbps + if num_rx_ht_156_mbps is not None: + self.num_rx_ht_156_mbps = num_rx_ht_156_mbps + if num_rx_ht_162_mbps is not None: + self.num_rx_ht_162_mbps = num_rx_ht_162_mbps + if num_rx_ht_173_1_mbps is not None: + self.num_rx_ht_173_1_mbps = num_rx_ht_173_1_mbps + if num_rx_ht_173_3_mbps is not None: + self.num_rx_ht_173_3_mbps = num_rx_ht_173_3_mbps + if num_rx_ht_175_5_mbps is not None: + self.num_rx_ht_175_5_mbps = num_rx_ht_175_5_mbps + if num_rx_ht_180_mbps is not None: + self.num_rx_ht_180_mbps = num_rx_ht_180_mbps + if num_rx_ht_195_mbps is not None: + self.num_rx_ht_195_mbps = num_rx_ht_195_mbps + if num_rx_ht_200_mbps is not None: + self.num_rx_ht_200_mbps = num_rx_ht_200_mbps + if num_rx_ht_208_mbps is not None: + self.num_rx_ht_208_mbps = num_rx_ht_208_mbps + if num_rx_ht_216_mbps is not None: + self.num_rx_ht_216_mbps = num_rx_ht_216_mbps + if num_rx_ht_216_6_mbps is not None: + self.num_rx_ht_216_6_mbps = num_rx_ht_216_6_mbps + if num_rx_ht_231_1_mbps is not None: + self.num_rx_ht_231_1_mbps = num_rx_ht_231_1_mbps + if num_rx_ht_234_mbps is not None: + self.num_rx_ht_234_mbps = num_rx_ht_234_mbps + if num_rx_ht_240_mbps is not None: + self.num_rx_ht_240_mbps = num_rx_ht_240_mbps + if num_rx_ht_243_mbps is not None: + self.num_rx_ht_243_mbps = num_rx_ht_243_mbps + if num_rx_ht_260_mbps is not None: + self.num_rx_ht_260_mbps = num_rx_ht_260_mbps + if num_rx_ht_263_2_mbps is not None: + self.num_rx_ht_263_2_mbps = num_rx_ht_263_2_mbps + if num_rx_ht_270_mbps is not None: + self.num_rx_ht_270_mbps = num_rx_ht_270_mbps + if num_rx_ht_288_7_mbps is not None: + self.num_rx_ht_288_7_mbps = num_rx_ht_288_7_mbps + if num_rx_ht_288_8_mbps is not None: + self.num_rx_ht_288_8_mbps = num_rx_ht_288_8_mbps + if num_rx_ht_292_5_mbps is not None: + self.num_rx_ht_292_5_mbps = num_rx_ht_292_5_mbps + if num_rx_ht_300_mbps is not None: + self.num_rx_ht_300_mbps = num_rx_ht_300_mbps + if num_rx_ht_312_mbps is not None: + self.num_rx_ht_312_mbps = num_rx_ht_312_mbps + if num_rx_ht_324_mbps is not None: + self.num_rx_ht_324_mbps = num_rx_ht_324_mbps + if num_rx_ht_325_mbps is not None: + self.num_rx_ht_325_mbps = num_rx_ht_325_mbps + if num_rx_ht_346_7_mbps is not None: + self.num_rx_ht_346_7_mbps = num_rx_ht_346_7_mbps + if num_rx_ht_351_mbps is not None: + self.num_rx_ht_351_mbps = num_rx_ht_351_mbps + if num_rx_ht_351_2_mbps is not None: + self.num_rx_ht_351_2_mbps = num_rx_ht_351_2_mbps + if num_rx_ht_360_mbps is not None: + self.num_rx_ht_360_mbps = num_rx_ht_360_mbps + if num_tx_vht_292_5_mbps is not None: + self.num_tx_vht_292_5_mbps = num_tx_vht_292_5_mbps + if num_tx_vht_325_mbps is not None: + self.num_tx_vht_325_mbps = num_tx_vht_325_mbps + if num_tx_vht_364_5_mbps is not None: + self.num_tx_vht_364_5_mbps = num_tx_vht_364_5_mbps + if num_tx_vht_390_mbps is not None: + self.num_tx_vht_390_mbps = num_tx_vht_390_mbps + if num_tx_vht_400_mbps is not None: + self.num_tx_vht_400_mbps = num_tx_vht_400_mbps + if num_tx_vht_403_mbps is not None: + self.num_tx_vht_403_mbps = num_tx_vht_403_mbps + if num_tx_vht_405_mbps is not None: + self.num_tx_vht_405_mbps = num_tx_vht_405_mbps + if num_tx_vht_432_mbps is not None: + self.num_tx_vht_432_mbps = num_tx_vht_432_mbps + if num_tx_vht_433_2_mbps is not None: + self.num_tx_vht_433_2_mbps = num_tx_vht_433_2_mbps + if num_tx_vht_450_mbps is not None: + self.num_tx_vht_450_mbps = num_tx_vht_450_mbps + if num_tx_vht_468_mbps is not None: + self.num_tx_vht_468_mbps = num_tx_vht_468_mbps + if num_tx_vht_480_mbps is not None: + self.num_tx_vht_480_mbps = num_tx_vht_480_mbps + if num_tx_vht_486_mbps is not None: + self.num_tx_vht_486_mbps = num_tx_vht_486_mbps + if num_tx_vht_520_mbps is not None: + self.num_tx_vht_520_mbps = num_tx_vht_520_mbps + if num_tx_vht_526_5_mbps is not None: + self.num_tx_vht_526_5_mbps = num_tx_vht_526_5_mbps + if num_tx_vht_540_mbps is not None: + self.num_tx_vht_540_mbps = num_tx_vht_540_mbps + if num_tx_vht_585_mbps is not None: + self.num_tx_vht_585_mbps = num_tx_vht_585_mbps + if num_tx_vht_600_mbps is not None: + self.num_tx_vht_600_mbps = num_tx_vht_600_mbps + if num_tx_vht_648_mbps is not None: + self.num_tx_vht_648_mbps = num_tx_vht_648_mbps + if num_tx_vht_650_mbps is not None: + self.num_tx_vht_650_mbps = num_tx_vht_650_mbps + if num_tx_vht_702_mbps is not None: + self.num_tx_vht_702_mbps = num_tx_vht_702_mbps + if num_tx_vht_720_mbps is not None: + self.num_tx_vht_720_mbps = num_tx_vht_720_mbps + if num_tx_vht_780_mbps is not None: + self.num_tx_vht_780_mbps = num_tx_vht_780_mbps + if num_tx_vht_800_mbps is not None: + self.num_tx_vht_800_mbps = num_tx_vht_800_mbps + if num_tx_vht_866_7_mbps is not None: + self.num_tx_vht_866_7_mbps = num_tx_vht_866_7_mbps + if num_tx_vht_877_5_mbps is not None: + self.num_tx_vht_877_5_mbps = num_tx_vht_877_5_mbps + if num_tx_vht_936_mbps is not None: + self.num_tx_vht_936_mbps = num_tx_vht_936_mbps + if num_tx_vht_975_mbps is not None: + self.num_tx_vht_975_mbps = num_tx_vht_975_mbps + if num_tx_vht_1040_mbps is not None: + self.num_tx_vht_1040_mbps = num_tx_vht_1040_mbps + if num_tx_vht_1053_mbps is not None: + self.num_tx_vht_1053_mbps = num_tx_vht_1053_mbps + if num_tx_vht_1053_1_mbps is not None: + self.num_tx_vht_1053_1_mbps = num_tx_vht_1053_1_mbps + if num_tx_vht_1170_mbps is not None: + self.num_tx_vht_1170_mbps = num_tx_vht_1170_mbps + if num_tx_vht_1300_mbps is not None: + self.num_tx_vht_1300_mbps = num_tx_vht_1300_mbps + if num_tx_vht_1404_mbps is not None: + self.num_tx_vht_1404_mbps = num_tx_vht_1404_mbps + if num_tx_vht_1560_mbps is not None: + self.num_tx_vht_1560_mbps = num_tx_vht_1560_mbps + if num_tx_vht_1579_5_mbps is not None: + self.num_tx_vht_1579_5_mbps = num_tx_vht_1579_5_mbps + if num_tx_vht_1733_1_mbps is not None: + self.num_tx_vht_1733_1_mbps = num_tx_vht_1733_1_mbps + if num_tx_vht_1733_4_mbps is not None: + self.num_tx_vht_1733_4_mbps = num_tx_vht_1733_4_mbps + if num_tx_vht_1755_mbps is not None: + self.num_tx_vht_1755_mbps = num_tx_vht_1755_mbps + if num_tx_vht_1872_mbps is not None: + self.num_tx_vht_1872_mbps = num_tx_vht_1872_mbps + if num_tx_vht_1950_mbps is not None: + self.num_tx_vht_1950_mbps = num_tx_vht_1950_mbps + if num_tx_vht_2080_mbps is not None: + self.num_tx_vht_2080_mbps = num_tx_vht_2080_mbps + if num_tx_vht_2106_mbps is not None: + self.num_tx_vht_2106_mbps = num_tx_vht_2106_mbps + if num_tx_vht_2340_mbps is not None: + self.num_tx_vht_2340_mbps = num_tx_vht_2340_mbps + if num_tx_vht_2600_mbps is not None: + self.num_tx_vht_2600_mbps = num_tx_vht_2600_mbps + if num_tx_vht_2808_mbps is not None: + self.num_tx_vht_2808_mbps = num_tx_vht_2808_mbps + if num_tx_vht_3120_mbps is not None: + self.num_tx_vht_3120_mbps = num_tx_vht_3120_mbps + if num_tx_vht_3466_8_mbps is not None: + self.num_tx_vht_3466_8_mbps = num_tx_vht_3466_8_mbps + if num_rx_vht_292_5_mbps is not None: + self.num_rx_vht_292_5_mbps = num_rx_vht_292_5_mbps + if num_rx_vht_325_mbps is not None: + self.num_rx_vht_325_mbps = num_rx_vht_325_mbps + if num_rx_vht_364_5_mbps is not None: + self.num_rx_vht_364_5_mbps = num_rx_vht_364_5_mbps + if num_rx_vht_390_mbps is not None: + self.num_rx_vht_390_mbps = num_rx_vht_390_mbps + if num_rx_vht_400_mbps is not None: + self.num_rx_vht_400_mbps = num_rx_vht_400_mbps + if num_rx_vht_403_mbps is not None: + self.num_rx_vht_403_mbps = num_rx_vht_403_mbps + if num_rx_vht_405_mbps is not None: + self.num_rx_vht_405_mbps = num_rx_vht_405_mbps + if num_rx_vht_432_mbps is not None: + self.num_rx_vht_432_mbps = num_rx_vht_432_mbps + if num_rx_vht_433_2_mbps is not None: + self.num_rx_vht_433_2_mbps = num_rx_vht_433_2_mbps + if num_rx_vht_450_mbps is not None: + self.num_rx_vht_450_mbps = num_rx_vht_450_mbps + if num_rx_vht_468_mbps is not None: + self.num_rx_vht_468_mbps = num_rx_vht_468_mbps + if num_rx_vht_480_mbps is not None: + self.num_rx_vht_480_mbps = num_rx_vht_480_mbps + if num_rx_vht_486_mbps is not None: + self.num_rx_vht_486_mbps = num_rx_vht_486_mbps + if num_rx_vht_520_mbps is not None: + self.num_rx_vht_520_mbps = num_rx_vht_520_mbps + if num_rx_vht_526_5_mbps is not None: + self.num_rx_vht_526_5_mbps = num_rx_vht_526_5_mbps + if num_rx_vht_540_mbps is not None: + self.num_rx_vht_540_mbps = num_rx_vht_540_mbps + if num_rx_vht_585_mbps is not None: + self.num_rx_vht_585_mbps = num_rx_vht_585_mbps + if num_rx_vht_600_mbps is not None: + self.num_rx_vht_600_mbps = num_rx_vht_600_mbps + if num_rx_vht_648_mbps is not None: + self.num_rx_vht_648_mbps = num_rx_vht_648_mbps + if num_rx_vht_650_mbps is not None: + self.num_rx_vht_650_mbps = num_rx_vht_650_mbps + if num_rx_vht_702_mbps is not None: + self.num_rx_vht_702_mbps = num_rx_vht_702_mbps + if num_rx_vht_720_mbps is not None: + self.num_rx_vht_720_mbps = num_rx_vht_720_mbps + if num_rx_vht_780_mbps is not None: + self.num_rx_vht_780_mbps = num_rx_vht_780_mbps + if num_rx_vht_800_mbps is not None: + self.num_rx_vht_800_mbps = num_rx_vht_800_mbps + if num_rx_vht_866_7_mbps is not None: + self.num_rx_vht_866_7_mbps = num_rx_vht_866_7_mbps + if num_rx_vht_877_5_mbps is not None: + self.num_rx_vht_877_5_mbps = num_rx_vht_877_5_mbps + if num_rx_vht_936_mbps is not None: + self.num_rx_vht_936_mbps = num_rx_vht_936_mbps + if num_rx_vht_975_mbps is not None: + self.num_rx_vht_975_mbps = num_rx_vht_975_mbps + if num_rx_vht_1040_mbps is not None: + self.num_rx_vht_1040_mbps = num_rx_vht_1040_mbps + if num_rx_vht_1053_mbps is not None: + self.num_rx_vht_1053_mbps = num_rx_vht_1053_mbps + if num_rx_vht_1053_1_mbps is not None: + self.num_rx_vht_1053_1_mbps = num_rx_vht_1053_1_mbps + if num_rx_vht_1170_mbps is not None: + self.num_rx_vht_1170_mbps = num_rx_vht_1170_mbps + if num_rx_vht_1300_mbps is not None: + self.num_rx_vht_1300_mbps = num_rx_vht_1300_mbps + if num_rx_vht_1404_mbps is not None: + self.num_rx_vht_1404_mbps = num_rx_vht_1404_mbps + if num_rx_vht_1560_mbps is not None: + self.num_rx_vht_1560_mbps = num_rx_vht_1560_mbps + if num_rx_vht_1579_5_mbps is not None: + self.num_rx_vht_1579_5_mbps = num_rx_vht_1579_5_mbps + if num_rx_vht_1733_1_mbps is not None: + self.num_rx_vht_1733_1_mbps = num_rx_vht_1733_1_mbps + if num_rx_vht_1733_4_mbps is not None: + self.num_rx_vht_1733_4_mbps = num_rx_vht_1733_4_mbps + if num_rx_vht_1755_mbps is not None: + self.num_rx_vht_1755_mbps = num_rx_vht_1755_mbps + if num_rx_vht_1872_mbps is not None: + self.num_rx_vht_1872_mbps = num_rx_vht_1872_mbps + if num_rx_vht_1950_mbps is not None: + self.num_rx_vht_1950_mbps = num_rx_vht_1950_mbps + if num_rx_vht_2080_mbps is not None: + self.num_rx_vht_2080_mbps = num_rx_vht_2080_mbps + if num_rx_vht_2106_mbps is not None: + self.num_rx_vht_2106_mbps = num_rx_vht_2106_mbps + if num_rx_vht_2340_mbps is not None: + self.num_rx_vht_2340_mbps = num_rx_vht_2340_mbps + if num_rx_vht_2600_mbps is not None: + self.num_rx_vht_2600_mbps = num_rx_vht_2600_mbps + if num_rx_vht_2808_mbps is not None: + self.num_rx_vht_2808_mbps = num_rx_vht_2808_mbps + if num_rx_vht_3120_mbps is not None: + self.num_rx_vht_3120_mbps = num_rx_vht_3120_mbps + if num_rx_vht_3466_8_mbps is not None: + self.num_rx_vht_3466_8_mbps = num_rx_vht_3466_8_mbps + if rx_last_rssi is not None: + self.rx_last_rssi = rx_last_rssi + if num_rx_no_fcs_err is not None: + self.num_rx_no_fcs_err = num_rx_no_fcs_err + if num_rx_data is not None: + self.num_rx_data = num_rx_data + if num_rx_management is not None: + self.num_rx_management = num_rx_management + if num_rx_control is not None: + self.num_rx_control = num_rx_control + if rx_bytes is not None: + self.rx_bytes = rx_bytes + if rx_data_bytes is not None: + self.rx_data_bytes = rx_data_bytes + if num_rx_rts is not None: + self.num_rx_rts = num_rx_rts + if num_rx_cts is not None: + self.num_rx_cts = num_rx_cts + if num_rx_ack is not None: + self.num_rx_ack = num_rx_ack + if num_rx_probe_req is not None: + self.num_rx_probe_req = num_rx_probe_req + if num_rx_retry is not None: + self.num_rx_retry = num_rx_retry + if num_rx_dup is not None: + self.num_rx_dup = num_rx_dup + if num_rx_null_data is not None: + self.num_rx_null_data = num_rx_null_data + if num_rx_pspoll is not None: + self.num_rx_pspoll = num_rx_pspoll + if num_rx_stbc is not None: + self.num_rx_stbc = num_rx_stbc + if num_rx_ldpc is not None: + self.num_rx_ldpc = num_rx_ldpc + if last_recv_layer3_ts is not None: + self.last_recv_layer3_ts = last_recv_layer3_ts + if num_rcv_frame_for_tx is not None: + self.num_rcv_frame_for_tx = num_rcv_frame_for_tx + if num_tx_queued is not None: + self.num_tx_queued = num_tx_queued + if num_tx_dropped is not None: + self.num_tx_dropped = num_tx_dropped + if num_tx_retry_dropped is not None: + self.num_tx_retry_dropped = num_tx_retry_dropped + if num_tx_succ is not None: + self.num_tx_succ = num_tx_succ + if num_tx_byte_succ is not None: + self.num_tx_byte_succ = num_tx_byte_succ + if num_tx_succ_no_retry is not None: + self.num_tx_succ_no_retry = num_tx_succ_no_retry + if num_tx_succ_retries is not None: + self.num_tx_succ_retries = num_tx_succ_retries + if num_tx_multi_retries is not None: + self.num_tx_multi_retries = num_tx_multi_retries + if num_tx_management is not None: + self.num_tx_management = num_tx_management + if num_tx_control is not None: + self.num_tx_control = num_tx_control + if num_tx_action is not None: + self.num_tx_action = num_tx_action + if num_tx_prop_resp is not None: + self.num_tx_prop_resp = num_tx_prop_resp + if num_tx_data is not None: + self.num_tx_data = num_tx_data + if num_tx_data_retries is not None: + self.num_tx_data_retries = num_tx_data_retries + if num_tx_rts_succ is not None: + self.num_tx_rts_succ = num_tx_rts_succ + if num_tx_rts_fail is not None: + self.num_tx_rts_fail = num_tx_rts_fail + if num_tx_no_ack is not None: + self.num_tx_no_ack = num_tx_no_ack + if num_tx_eapol is not None: + self.num_tx_eapol = num_tx_eapol + if num_tx_ldpc is not None: + self.num_tx_ldpc = num_tx_ldpc + if num_tx_stbc is not None: + self.num_tx_stbc = num_tx_stbc + if num_tx_aggr_succ is not None: + self.num_tx_aggr_succ = num_tx_aggr_succ + if num_tx_aggr_one_mpdu is not None: + self.num_tx_aggr_one_mpdu = num_tx_aggr_one_mpdu + if last_sent_layer3_ts is not None: + self.last_sent_layer3_ts = last_sent_layer3_ts + if wmm_queue_stats is not None: + self.wmm_queue_stats = wmm_queue_stats + if list_mcs_stats_mcs_stats is not None: + self.list_mcs_stats_mcs_stats = list_mcs_stats_mcs_stats + if last_rx_mcs_idx is not None: + self.last_rx_mcs_idx = last_rx_mcs_idx + if last_tx_mcs_idx is not None: + self.last_tx_mcs_idx = last_tx_mcs_idx + if radio_type is not None: + self.radio_type = radio_type + if period_length_sec is not None: + self.period_length_sec = period_length_sec + + @property + def model_type(self): + """Gets the model_type of this ClientMetrics. # noqa: E501 + + + :return: The model_type of this ClientMetrics. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this ClientMetrics. + + + :param model_type: The model_type of this ClientMetrics. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + + self._model_type = model_type + + @property + def seconds_since_last_recv(self): + """Gets the seconds_since_last_recv of this ClientMetrics. # noqa: E501 + + + :return: The seconds_since_last_recv of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._seconds_since_last_recv + + @seconds_since_last_recv.setter + def seconds_since_last_recv(self, seconds_since_last_recv): + """Sets the seconds_since_last_recv of this ClientMetrics. + + + :param seconds_since_last_recv: The seconds_since_last_recv of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._seconds_since_last_recv = seconds_since_last_recv + + @property + def num_rx_packets(self): + """Gets the num_rx_packets of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_packets of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_packets + + @num_rx_packets.setter + def num_rx_packets(self, num_rx_packets): + """Sets the num_rx_packets of this ClientMetrics. + + + :param num_rx_packets: The num_rx_packets of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_packets = num_rx_packets + + @property + def num_tx_packets(self): + """Gets the num_tx_packets of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_packets of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_packets + + @num_tx_packets.setter + def num_tx_packets(self, num_tx_packets): + """Sets the num_tx_packets of this ClientMetrics. + + + :param num_tx_packets: The num_tx_packets of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_packets = num_tx_packets + + @property + def num_rx_bytes(self): + """Gets the num_rx_bytes of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_bytes of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_bytes + + @num_rx_bytes.setter + def num_rx_bytes(self, num_rx_bytes): + """Sets the num_rx_bytes of this ClientMetrics. + + + :param num_rx_bytes: The num_rx_bytes of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_bytes = num_rx_bytes + + @property + def num_tx_bytes(self): + """Gets the num_tx_bytes of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_bytes of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_bytes + + @num_tx_bytes.setter + def num_tx_bytes(self, num_tx_bytes): + """Sets the num_tx_bytes of this ClientMetrics. + + + :param num_tx_bytes: The num_tx_bytes of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_bytes = num_tx_bytes + + @property + def tx_retries(self): + """Gets the tx_retries of this ClientMetrics. # noqa: E501 + + + :return: The tx_retries of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._tx_retries + + @tx_retries.setter + def tx_retries(self, tx_retries): + """Sets the tx_retries of this ClientMetrics. + + + :param tx_retries: The tx_retries of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._tx_retries = tx_retries + + @property + def rx_duplicate_packets(self): + """Gets the rx_duplicate_packets of this ClientMetrics. # noqa: E501 + + + :return: The rx_duplicate_packets of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._rx_duplicate_packets + + @rx_duplicate_packets.setter + def rx_duplicate_packets(self, rx_duplicate_packets): + """Sets the rx_duplicate_packets of this ClientMetrics. + + + :param rx_duplicate_packets: The rx_duplicate_packets of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._rx_duplicate_packets = rx_duplicate_packets + + @property + def rate_count(self): + """Gets the rate_count of this ClientMetrics. # noqa: E501 + + + :return: The rate_count of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._rate_count + + @rate_count.setter + def rate_count(self, rate_count): + """Sets the rate_count of this ClientMetrics. + + + :param rate_count: The rate_count of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._rate_count = rate_count + + @property + def rates(self): + """Gets the rates of this ClientMetrics. # noqa: E501 + + + :return: The rates of this ClientMetrics. # noqa: E501 + :rtype: list[int] + """ + return self._rates + + @rates.setter + def rates(self, rates): + """Sets the rates of this ClientMetrics. + + + :param rates: The rates of this ClientMetrics. # noqa: E501 + :type: list[int] + """ + + self._rates = rates + + @property + def mcs(self): + """Gets the mcs of this ClientMetrics. # noqa: E501 + + + :return: The mcs of this ClientMetrics. # noqa: E501 + :rtype: list[int] + """ + return self._mcs + + @mcs.setter + def mcs(self, mcs): + """Sets the mcs of this ClientMetrics. + + + :param mcs: The mcs of this ClientMetrics. # noqa: E501 + :type: list[int] + """ + + self._mcs = mcs + + @property + def vht_mcs(self): + """Gets the vht_mcs of this ClientMetrics. # noqa: E501 + + + :return: The vht_mcs of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._vht_mcs + + @vht_mcs.setter + def vht_mcs(self, vht_mcs): + """Sets the vht_mcs of this ClientMetrics. + + + :param vht_mcs: The vht_mcs of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._vht_mcs = vht_mcs + + @property + def snr(self): + """Gets the snr of this ClientMetrics. # noqa: E501 + + + :return: The snr of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._snr + + @snr.setter + def snr(self, snr): + """Sets the snr of this ClientMetrics. + + + :param snr: The snr of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._snr = snr + + @property + def rssi(self): + """Gets the rssi of this ClientMetrics. # noqa: E501 + + + :return: The rssi of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._rssi + + @rssi.setter + def rssi(self, rssi): + """Sets the rssi of this ClientMetrics. + + + :param rssi: The rssi of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._rssi = rssi + + @property + def session_id(self): + """Gets the session_id of this ClientMetrics. # noqa: E501 + + + :return: The session_id of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._session_id + + @session_id.setter + def session_id(self, session_id): + """Sets the session_id of this ClientMetrics. + + + :param session_id: The session_id of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._session_id = session_id + + @property + def classification_name(self): + """Gets the classification_name of this ClientMetrics. # noqa: E501 + + + :return: The classification_name of this ClientMetrics. # noqa: E501 + :rtype: str + """ + return self._classification_name + + @classification_name.setter + def classification_name(self, classification_name): + """Sets the classification_name of this ClientMetrics. + + + :param classification_name: The classification_name of this ClientMetrics. # noqa: E501 + :type: str + """ + + self._classification_name = classification_name + + @property + def channel_band_width(self): + """Gets the channel_band_width of this ClientMetrics. # noqa: E501 + + + :return: The channel_band_width of this ClientMetrics. # noqa: E501 + :rtype: ChannelBandwidth + """ + return self._channel_band_width + + @channel_band_width.setter + def channel_band_width(self, channel_band_width): + """Sets the channel_band_width of this ClientMetrics. + + + :param channel_band_width: The channel_band_width of this ClientMetrics. # noqa: E501 + :type: ChannelBandwidth + """ + + self._channel_band_width = channel_band_width + + @property + def guard_interval(self): + """Gets the guard_interval of this ClientMetrics. # noqa: E501 + + + :return: The guard_interval of this ClientMetrics. # noqa: E501 + :rtype: GuardInterval + """ + return self._guard_interval + + @guard_interval.setter + def guard_interval(self, guard_interval): + """Sets the guard_interval of this ClientMetrics. + + + :param guard_interval: The guard_interval of this ClientMetrics. # noqa: E501 + :type: GuardInterval + """ + + self._guard_interval = guard_interval + + @property + def cisco_last_rate(self): + """Gets the cisco_last_rate of this ClientMetrics. # noqa: E501 + + + :return: The cisco_last_rate of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._cisco_last_rate + + @cisco_last_rate.setter + def cisco_last_rate(self, cisco_last_rate): + """Sets the cisco_last_rate of this ClientMetrics. + + + :param cisco_last_rate: The cisco_last_rate of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._cisco_last_rate = cisco_last_rate + + @property + def average_tx_rate(self): + """Gets the average_tx_rate of this ClientMetrics. # noqa: E501 + + + :return: The average_tx_rate of this ClientMetrics. # noqa: E501 + :rtype: float + """ + return self._average_tx_rate + + @average_tx_rate.setter + def average_tx_rate(self, average_tx_rate): + """Sets the average_tx_rate of this ClientMetrics. + + + :param average_tx_rate: The average_tx_rate of this ClientMetrics. # noqa: E501 + :type: float + """ + + self._average_tx_rate = average_tx_rate + + @property + def average_rx_rate(self): + """Gets the average_rx_rate of this ClientMetrics. # noqa: E501 + + + :return: The average_rx_rate of this ClientMetrics. # noqa: E501 + :rtype: float + """ + return self._average_rx_rate + + @average_rx_rate.setter + def average_rx_rate(self, average_rx_rate): + """Sets the average_rx_rate of this ClientMetrics. + + + :param average_rx_rate: The average_rx_rate of this ClientMetrics. # noqa: E501 + :type: float + """ + + self._average_rx_rate = average_rx_rate + + @property + def num_tx_data_frames_12_mbps(self): + """Gets the num_tx_data_frames_12_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_data_frames_12_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_data_frames_12_mbps + + @num_tx_data_frames_12_mbps.setter + def num_tx_data_frames_12_mbps(self, num_tx_data_frames_12_mbps): + """Sets the num_tx_data_frames_12_mbps of this ClientMetrics. + + + :param num_tx_data_frames_12_mbps: The num_tx_data_frames_12_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_data_frames_12_mbps = num_tx_data_frames_12_mbps + + @property + def num_tx_data_frames_54_mbps(self): + """Gets the num_tx_data_frames_54_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_data_frames_54_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_data_frames_54_mbps + + @num_tx_data_frames_54_mbps.setter + def num_tx_data_frames_54_mbps(self, num_tx_data_frames_54_mbps): + """Sets the num_tx_data_frames_54_mbps of this ClientMetrics. + + + :param num_tx_data_frames_54_mbps: The num_tx_data_frames_54_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_data_frames_54_mbps = num_tx_data_frames_54_mbps + + @property + def num_tx_data_frames_108_mbps(self): + """Gets the num_tx_data_frames_108_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_data_frames_108_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_data_frames_108_mbps + + @num_tx_data_frames_108_mbps.setter + def num_tx_data_frames_108_mbps(self, num_tx_data_frames_108_mbps): + """Sets the num_tx_data_frames_108_mbps of this ClientMetrics. + + + :param num_tx_data_frames_108_mbps: The num_tx_data_frames_108_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_data_frames_108_mbps = num_tx_data_frames_108_mbps + + @property + def num_tx_data_frames_300_mbps(self): + """Gets the num_tx_data_frames_300_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_data_frames_300_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_data_frames_300_mbps + + @num_tx_data_frames_300_mbps.setter + def num_tx_data_frames_300_mbps(self, num_tx_data_frames_300_mbps): + """Sets the num_tx_data_frames_300_mbps of this ClientMetrics. + + + :param num_tx_data_frames_300_mbps: The num_tx_data_frames_300_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_data_frames_300_mbps = num_tx_data_frames_300_mbps + + @property + def num_tx_data_frames_450_mbps(self): + """Gets the num_tx_data_frames_450_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_data_frames_450_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_data_frames_450_mbps + + @num_tx_data_frames_450_mbps.setter + def num_tx_data_frames_450_mbps(self, num_tx_data_frames_450_mbps): + """Sets the num_tx_data_frames_450_mbps of this ClientMetrics. + + + :param num_tx_data_frames_450_mbps: The num_tx_data_frames_450_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_data_frames_450_mbps = num_tx_data_frames_450_mbps + + @property + def num_tx_data_frames_1300_mbps(self): + """Gets the num_tx_data_frames_1300_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_data_frames_1300_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_data_frames_1300_mbps + + @num_tx_data_frames_1300_mbps.setter + def num_tx_data_frames_1300_mbps(self, num_tx_data_frames_1300_mbps): + """Sets the num_tx_data_frames_1300_mbps of this ClientMetrics. + + + :param num_tx_data_frames_1300_mbps: The num_tx_data_frames_1300_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_data_frames_1300_mbps = num_tx_data_frames_1300_mbps + + @property + def num_tx_data_frames_1300_plus_mbps(self): + """Gets the num_tx_data_frames_1300_plus_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_data_frames_1300_plus_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_data_frames_1300_plus_mbps + + @num_tx_data_frames_1300_plus_mbps.setter + def num_tx_data_frames_1300_plus_mbps(self, num_tx_data_frames_1300_plus_mbps): + """Sets the num_tx_data_frames_1300_plus_mbps of this ClientMetrics. + + + :param num_tx_data_frames_1300_plus_mbps: The num_tx_data_frames_1300_plus_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_data_frames_1300_plus_mbps = num_tx_data_frames_1300_plus_mbps + + @property + def num_rx_data_frames_12_mbps(self): + """Gets the num_rx_data_frames_12_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_data_frames_12_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_data_frames_12_mbps + + @num_rx_data_frames_12_mbps.setter + def num_rx_data_frames_12_mbps(self, num_rx_data_frames_12_mbps): + """Sets the num_rx_data_frames_12_mbps of this ClientMetrics. + + + :param num_rx_data_frames_12_mbps: The num_rx_data_frames_12_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_data_frames_12_mbps = num_rx_data_frames_12_mbps + + @property + def num_rx_data_frames_54_mbps(self): + """Gets the num_rx_data_frames_54_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_data_frames_54_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_data_frames_54_mbps + + @num_rx_data_frames_54_mbps.setter + def num_rx_data_frames_54_mbps(self, num_rx_data_frames_54_mbps): + """Sets the num_rx_data_frames_54_mbps of this ClientMetrics. + + + :param num_rx_data_frames_54_mbps: The num_rx_data_frames_54_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_data_frames_54_mbps = num_rx_data_frames_54_mbps + + @property + def num_rx_data_frames_108_mbps(self): + """Gets the num_rx_data_frames_108_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_data_frames_108_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_data_frames_108_mbps + + @num_rx_data_frames_108_mbps.setter + def num_rx_data_frames_108_mbps(self, num_rx_data_frames_108_mbps): + """Sets the num_rx_data_frames_108_mbps of this ClientMetrics. + + + :param num_rx_data_frames_108_mbps: The num_rx_data_frames_108_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_data_frames_108_mbps = num_rx_data_frames_108_mbps + + @property + def num_rx_data_frames_300_mbps(self): + """Gets the num_rx_data_frames_300_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_data_frames_300_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_data_frames_300_mbps + + @num_rx_data_frames_300_mbps.setter + def num_rx_data_frames_300_mbps(self, num_rx_data_frames_300_mbps): + """Sets the num_rx_data_frames_300_mbps of this ClientMetrics. + + + :param num_rx_data_frames_300_mbps: The num_rx_data_frames_300_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_data_frames_300_mbps = num_rx_data_frames_300_mbps + + @property + def num_rx_data_frames_450_mbps(self): + """Gets the num_rx_data_frames_450_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_data_frames_450_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_data_frames_450_mbps + + @num_rx_data_frames_450_mbps.setter + def num_rx_data_frames_450_mbps(self, num_rx_data_frames_450_mbps): + """Sets the num_rx_data_frames_450_mbps of this ClientMetrics. + + + :param num_rx_data_frames_450_mbps: The num_rx_data_frames_450_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_data_frames_450_mbps = num_rx_data_frames_450_mbps + + @property + def num_rx_data_frames_1300_mbps(self): + """Gets the num_rx_data_frames_1300_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_data_frames_1300_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_data_frames_1300_mbps + + @num_rx_data_frames_1300_mbps.setter + def num_rx_data_frames_1300_mbps(self, num_rx_data_frames_1300_mbps): + """Sets the num_rx_data_frames_1300_mbps of this ClientMetrics. + + + :param num_rx_data_frames_1300_mbps: The num_rx_data_frames_1300_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_data_frames_1300_mbps = num_rx_data_frames_1300_mbps + + @property + def num_rx_data_frames_1300_plus_mbps(self): + """Gets the num_rx_data_frames_1300_plus_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_data_frames_1300_plus_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_data_frames_1300_plus_mbps + + @num_rx_data_frames_1300_plus_mbps.setter + def num_rx_data_frames_1300_plus_mbps(self, num_rx_data_frames_1300_plus_mbps): + """Sets the num_rx_data_frames_1300_plus_mbps of this ClientMetrics. + + + :param num_rx_data_frames_1300_plus_mbps: The num_rx_data_frames_1300_plus_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_data_frames_1300_plus_mbps = num_rx_data_frames_1300_plus_mbps + + @property + def num_tx_time_frames_transmitted(self): + """Gets the num_tx_time_frames_transmitted of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_time_frames_transmitted of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_time_frames_transmitted + + @num_tx_time_frames_transmitted.setter + def num_tx_time_frames_transmitted(self, num_tx_time_frames_transmitted): + """Sets the num_tx_time_frames_transmitted of this ClientMetrics. + + + :param num_tx_time_frames_transmitted: The num_tx_time_frames_transmitted of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_time_frames_transmitted = num_tx_time_frames_transmitted + + @property + def num_rx_time_to_me(self): + """Gets the num_rx_time_to_me of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_time_to_me of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_time_to_me + + @num_rx_time_to_me.setter + def num_rx_time_to_me(self, num_rx_time_to_me): + """Sets the num_rx_time_to_me of this ClientMetrics. + + + :param num_rx_time_to_me: The num_rx_time_to_me of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_time_to_me = num_rx_time_to_me + + @property + def num_tx_time_data(self): + """Gets the num_tx_time_data of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_time_data of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_time_data + + @num_tx_time_data.setter + def num_tx_time_data(self, num_tx_time_data): + """Sets the num_tx_time_data of this ClientMetrics. + + + :param num_tx_time_data: The num_tx_time_data of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_time_data = num_tx_time_data + + @property + def num_rx_time_data(self): + """Gets the num_rx_time_data of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_time_data of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_time_data + + @num_rx_time_data.setter + def num_rx_time_data(self, num_rx_time_data): + """Sets the num_rx_time_data of this ClientMetrics. + + + :param num_rx_time_data: The num_rx_time_data of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_time_data = num_rx_time_data + + @property + def num_tx_frames_transmitted(self): + """Gets the num_tx_frames_transmitted of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_frames_transmitted of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_frames_transmitted + + @num_tx_frames_transmitted.setter + def num_tx_frames_transmitted(self, num_tx_frames_transmitted): + """Sets the num_tx_frames_transmitted of this ClientMetrics. + + + :param num_tx_frames_transmitted: The num_tx_frames_transmitted of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_frames_transmitted = num_tx_frames_transmitted + + @property + def num_tx_success_with_retry(self): + """Gets the num_tx_success_with_retry of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_success_with_retry of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_success_with_retry + + @num_tx_success_with_retry.setter + def num_tx_success_with_retry(self, num_tx_success_with_retry): + """Sets the num_tx_success_with_retry of this ClientMetrics. + + + :param num_tx_success_with_retry: The num_tx_success_with_retry of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_success_with_retry = num_tx_success_with_retry + + @property + def num_tx_multiple_retries(self): + """Gets the num_tx_multiple_retries of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_multiple_retries of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_multiple_retries + + @num_tx_multiple_retries.setter + def num_tx_multiple_retries(self, num_tx_multiple_retries): + """Sets the num_tx_multiple_retries of this ClientMetrics. + + + :param num_tx_multiple_retries: The num_tx_multiple_retries of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_multiple_retries = num_tx_multiple_retries + + @property + def num_tx_data_transmitted_retried(self): + """Gets the num_tx_data_transmitted_retried of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_data_transmitted_retried of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_data_transmitted_retried + + @num_tx_data_transmitted_retried.setter + def num_tx_data_transmitted_retried(self, num_tx_data_transmitted_retried): + """Sets the num_tx_data_transmitted_retried of this ClientMetrics. + + + :param num_tx_data_transmitted_retried: The num_tx_data_transmitted_retried of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_data_transmitted_retried = num_tx_data_transmitted_retried + + @property + def num_tx_data_transmitted(self): + """Gets the num_tx_data_transmitted of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_data_transmitted of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_data_transmitted + + @num_tx_data_transmitted.setter + def num_tx_data_transmitted(self, num_tx_data_transmitted): + """Sets the num_tx_data_transmitted of this ClientMetrics. + + + :param num_tx_data_transmitted: The num_tx_data_transmitted of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_data_transmitted = num_tx_data_transmitted + + @property + def num_rx_frames_received(self): + """Gets the num_rx_frames_received of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_frames_received of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_frames_received + + @num_rx_frames_received.setter + def num_rx_frames_received(self, num_rx_frames_received): + """Sets the num_rx_frames_received of this ClientMetrics. + + + :param num_rx_frames_received: The num_rx_frames_received of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_frames_received = num_rx_frames_received + + @property + def num_rx_data_frames_retried(self): + """Gets the num_rx_data_frames_retried of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_data_frames_retried of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_data_frames_retried + + @num_rx_data_frames_retried.setter + def num_rx_data_frames_retried(self, num_rx_data_frames_retried): + """Sets the num_rx_data_frames_retried of this ClientMetrics. + + + :param num_rx_data_frames_retried: The num_rx_data_frames_retried of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_data_frames_retried = num_rx_data_frames_retried + + @property + def num_rx_data_frames(self): + """Gets the num_rx_data_frames of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_data_frames of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_data_frames + + @num_rx_data_frames.setter + def num_rx_data_frames(self, num_rx_data_frames): + """Sets the num_rx_data_frames of this ClientMetrics. + + + :param num_rx_data_frames: The num_rx_data_frames of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_data_frames = num_rx_data_frames + + @property + def num_tx_1_mbps(self): + """Gets the num_tx_1_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_1_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_1_mbps + + @num_tx_1_mbps.setter + def num_tx_1_mbps(self, num_tx_1_mbps): + """Sets the num_tx_1_mbps of this ClientMetrics. + + + :param num_tx_1_mbps: The num_tx_1_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_1_mbps = num_tx_1_mbps + + @property + def num_tx_6_mbps(self): + """Gets the num_tx_6_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_6_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_6_mbps + + @num_tx_6_mbps.setter + def num_tx_6_mbps(self, num_tx_6_mbps): + """Sets the num_tx_6_mbps of this ClientMetrics. + + + :param num_tx_6_mbps: The num_tx_6_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_6_mbps = num_tx_6_mbps + + @property + def num_tx_9_mbps(self): + """Gets the num_tx_9_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_9_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_9_mbps + + @num_tx_9_mbps.setter + def num_tx_9_mbps(self, num_tx_9_mbps): + """Sets the num_tx_9_mbps of this ClientMetrics. + + + :param num_tx_9_mbps: The num_tx_9_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_9_mbps = num_tx_9_mbps + + @property + def num_tx_12_mbps(self): + """Gets the num_tx_12_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_12_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_12_mbps + + @num_tx_12_mbps.setter + def num_tx_12_mbps(self, num_tx_12_mbps): + """Sets the num_tx_12_mbps of this ClientMetrics. + + + :param num_tx_12_mbps: The num_tx_12_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_12_mbps = num_tx_12_mbps + + @property + def num_tx_18_mbps(self): + """Gets the num_tx_18_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_18_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_18_mbps + + @num_tx_18_mbps.setter + def num_tx_18_mbps(self, num_tx_18_mbps): + """Sets the num_tx_18_mbps of this ClientMetrics. + + + :param num_tx_18_mbps: The num_tx_18_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_18_mbps = num_tx_18_mbps + + @property + def num_tx_24_mbps(self): + """Gets the num_tx_24_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_24_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_24_mbps + + @num_tx_24_mbps.setter + def num_tx_24_mbps(self, num_tx_24_mbps): + """Sets the num_tx_24_mbps of this ClientMetrics. + + + :param num_tx_24_mbps: The num_tx_24_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_24_mbps = num_tx_24_mbps + + @property + def num_tx_36_mbps(self): + """Gets the num_tx_36_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_36_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_36_mbps + + @num_tx_36_mbps.setter + def num_tx_36_mbps(self, num_tx_36_mbps): + """Sets the num_tx_36_mbps of this ClientMetrics. + + + :param num_tx_36_mbps: The num_tx_36_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_36_mbps = num_tx_36_mbps + + @property + def num_tx_48_mbps(self): + """Gets the num_tx_48_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_48_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_48_mbps + + @num_tx_48_mbps.setter + def num_tx_48_mbps(self, num_tx_48_mbps): + """Sets the num_tx_48_mbps of this ClientMetrics. + + + :param num_tx_48_mbps: The num_tx_48_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_48_mbps = num_tx_48_mbps + + @property + def num_tx_54_mbps(self): + """Gets the num_tx_54_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_54_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_54_mbps + + @num_tx_54_mbps.setter + def num_tx_54_mbps(self, num_tx_54_mbps): + """Sets the num_tx_54_mbps of this ClientMetrics. + + + :param num_tx_54_mbps: The num_tx_54_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_54_mbps = num_tx_54_mbps + + @property + def num_rx_1_mbps(self): + """Gets the num_rx_1_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_1_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_1_mbps + + @num_rx_1_mbps.setter + def num_rx_1_mbps(self, num_rx_1_mbps): + """Sets the num_rx_1_mbps of this ClientMetrics. + + + :param num_rx_1_mbps: The num_rx_1_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_1_mbps = num_rx_1_mbps + + @property + def num_rx_6_mbps(self): + """Gets the num_rx_6_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_6_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_6_mbps + + @num_rx_6_mbps.setter + def num_rx_6_mbps(self, num_rx_6_mbps): + """Sets the num_rx_6_mbps of this ClientMetrics. + + + :param num_rx_6_mbps: The num_rx_6_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_6_mbps = num_rx_6_mbps + + @property + def num_rx_9_mbps(self): + """Gets the num_rx_9_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_9_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_9_mbps + + @num_rx_9_mbps.setter + def num_rx_9_mbps(self, num_rx_9_mbps): + """Sets the num_rx_9_mbps of this ClientMetrics. + + + :param num_rx_9_mbps: The num_rx_9_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_9_mbps = num_rx_9_mbps + + @property + def num_rx_12_mbps(self): + """Gets the num_rx_12_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_12_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_12_mbps + + @num_rx_12_mbps.setter + def num_rx_12_mbps(self, num_rx_12_mbps): + """Sets the num_rx_12_mbps of this ClientMetrics. + + + :param num_rx_12_mbps: The num_rx_12_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_12_mbps = num_rx_12_mbps + + @property + def num_rx_18_mbps(self): + """Gets the num_rx_18_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_18_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_18_mbps + + @num_rx_18_mbps.setter + def num_rx_18_mbps(self, num_rx_18_mbps): + """Sets the num_rx_18_mbps of this ClientMetrics. + + + :param num_rx_18_mbps: The num_rx_18_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_18_mbps = num_rx_18_mbps + + @property + def num_rx_24_mbps(self): + """Gets the num_rx_24_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_24_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_24_mbps + + @num_rx_24_mbps.setter + def num_rx_24_mbps(self, num_rx_24_mbps): + """Sets the num_rx_24_mbps of this ClientMetrics. + + + :param num_rx_24_mbps: The num_rx_24_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_24_mbps = num_rx_24_mbps + + @property + def num_rx_36_mbps(self): + """Gets the num_rx_36_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_36_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_36_mbps + + @num_rx_36_mbps.setter + def num_rx_36_mbps(self, num_rx_36_mbps): + """Sets the num_rx_36_mbps of this ClientMetrics. + + + :param num_rx_36_mbps: The num_rx_36_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_36_mbps = num_rx_36_mbps + + @property + def num_rx_48_mbps(self): + """Gets the num_rx_48_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_48_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_48_mbps + + @num_rx_48_mbps.setter + def num_rx_48_mbps(self, num_rx_48_mbps): + """Sets the num_rx_48_mbps of this ClientMetrics. + + + :param num_rx_48_mbps: The num_rx_48_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_48_mbps = num_rx_48_mbps + + @property + def num_rx_54_mbps(self): + """Gets the num_rx_54_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_54_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_54_mbps + + @num_rx_54_mbps.setter + def num_rx_54_mbps(self, num_rx_54_mbps): + """Sets the num_rx_54_mbps of this ClientMetrics. + + + :param num_rx_54_mbps: The num_rx_54_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_54_mbps = num_rx_54_mbps + + @property + def num_tx_ht_6_5_mbps(self): + """Gets the num_tx_ht_6_5_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_6_5_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_6_5_mbps + + @num_tx_ht_6_5_mbps.setter + def num_tx_ht_6_5_mbps(self, num_tx_ht_6_5_mbps): + """Sets the num_tx_ht_6_5_mbps of this ClientMetrics. + + + :param num_tx_ht_6_5_mbps: The num_tx_ht_6_5_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_6_5_mbps = num_tx_ht_6_5_mbps + + @property + def num_tx_ht_7_1_mbps(self): + """Gets the num_tx_ht_7_1_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_7_1_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_7_1_mbps + + @num_tx_ht_7_1_mbps.setter + def num_tx_ht_7_1_mbps(self, num_tx_ht_7_1_mbps): + """Sets the num_tx_ht_7_1_mbps of this ClientMetrics. + + + :param num_tx_ht_7_1_mbps: The num_tx_ht_7_1_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_7_1_mbps = num_tx_ht_7_1_mbps + + @property + def num_tx_ht_13_mbps(self): + """Gets the num_tx_ht_13_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_13_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_13_mbps + + @num_tx_ht_13_mbps.setter + def num_tx_ht_13_mbps(self, num_tx_ht_13_mbps): + """Sets the num_tx_ht_13_mbps of this ClientMetrics. + + + :param num_tx_ht_13_mbps: The num_tx_ht_13_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_13_mbps = num_tx_ht_13_mbps + + @property + def num_tx_ht_13_5_mbps(self): + """Gets the num_tx_ht_13_5_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_13_5_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_13_5_mbps + + @num_tx_ht_13_5_mbps.setter + def num_tx_ht_13_5_mbps(self, num_tx_ht_13_5_mbps): + """Sets the num_tx_ht_13_5_mbps of this ClientMetrics. + + + :param num_tx_ht_13_5_mbps: The num_tx_ht_13_5_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_13_5_mbps = num_tx_ht_13_5_mbps + + @property + def num_tx_ht_14_3_mbps(self): + """Gets the num_tx_ht_14_3_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_14_3_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_14_3_mbps + + @num_tx_ht_14_3_mbps.setter + def num_tx_ht_14_3_mbps(self, num_tx_ht_14_3_mbps): + """Sets the num_tx_ht_14_3_mbps of this ClientMetrics. + + + :param num_tx_ht_14_3_mbps: The num_tx_ht_14_3_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_14_3_mbps = num_tx_ht_14_3_mbps + + @property + def num_tx_ht_15_mbps(self): + """Gets the num_tx_ht_15_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_15_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_15_mbps + + @num_tx_ht_15_mbps.setter + def num_tx_ht_15_mbps(self, num_tx_ht_15_mbps): + """Sets the num_tx_ht_15_mbps of this ClientMetrics. + + + :param num_tx_ht_15_mbps: The num_tx_ht_15_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_15_mbps = num_tx_ht_15_mbps + + @property + def num_tx_ht_19_5_mbps(self): + """Gets the num_tx_ht_19_5_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_19_5_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_19_5_mbps + + @num_tx_ht_19_5_mbps.setter + def num_tx_ht_19_5_mbps(self, num_tx_ht_19_5_mbps): + """Sets the num_tx_ht_19_5_mbps of this ClientMetrics. + + + :param num_tx_ht_19_5_mbps: The num_tx_ht_19_5_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_19_5_mbps = num_tx_ht_19_5_mbps + + @property + def num_tx_ht_21_7_mbps(self): + """Gets the num_tx_ht_21_7_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_21_7_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_21_7_mbps + + @num_tx_ht_21_7_mbps.setter + def num_tx_ht_21_7_mbps(self, num_tx_ht_21_7_mbps): + """Sets the num_tx_ht_21_7_mbps of this ClientMetrics. + + + :param num_tx_ht_21_7_mbps: The num_tx_ht_21_7_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_21_7_mbps = num_tx_ht_21_7_mbps + + @property + def num_tx_ht_26_mbps(self): + """Gets the num_tx_ht_26_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_26_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_26_mbps + + @num_tx_ht_26_mbps.setter + def num_tx_ht_26_mbps(self, num_tx_ht_26_mbps): + """Sets the num_tx_ht_26_mbps of this ClientMetrics. + + + :param num_tx_ht_26_mbps: The num_tx_ht_26_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_26_mbps = num_tx_ht_26_mbps + + @property + def num_tx_ht_27_mbps(self): + """Gets the num_tx_ht_27_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_27_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_27_mbps + + @num_tx_ht_27_mbps.setter + def num_tx_ht_27_mbps(self, num_tx_ht_27_mbps): + """Sets the num_tx_ht_27_mbps of this ClientMetrics. + + + :param num_tx_ht_27_mbps: The num_tx_ht_27_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_27_mbps = num_tx_ht_27_mbps + + @property + def num_tx_ht_28_7_mbps(self): + """Gets the num_tx_ht_28_7_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_28_7_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_28_7_mbps + + @num_tx_ht_28_7_mbps.setter + def num_tx_ht_28_7_mbps(self, num_tx_ht_28_7_mbps): + """Sets the num_tx_ht_28_7_mbps of this ClientMetrics. + + + :param num_tx_ht_28_7_mbps: The num_tx_ht_28_7_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_28_7_mbps = num_tx_ht_28_7_mbps + + @property + def num_tx_ht_28_8_mbps(self): + """Gets the num_tx_ht_28_8_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_28_8_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_28_8_mbps + + @num_tx_ht_28_8_mbps.setter + def num_tx_ht_28_8_mbps(self, num_tx_ht_28_8_mbps): + """Sets the num_tx_ht_28_8_mbps of this ClientMetrics. + + + :param num_tx_ht_28_8_mbps: The num_tx_ht_28_8_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_28_8_mbps = num_tx_ht_28_8_mbps + + @property + def num_tx_ht_29_2_mbps(self): + """Gets the num_tx_ht_29_2_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_29_2_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_29_2_mbps + + @num_tx_ht_29_2_mbps.setter + def num_tx_ht_29_2_mbps(self, num_tx_ht_29_2_mbps): + """Sets the num_tx_ht_29_2_mbps of this ClientMetrics. + + + :param num_tx_ht_29_2_mbps: The num_tx_ht_29_2_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_29_2_mbps = num_tx_ht_29_2_mbps + + @property + def num_tx_ht_30_mbps(self): + """Gets the num_tx_ht_30_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_30_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_30_mbps + + @num_tx_ht_30_mbps.setter + def num_tx_ht_30_mbps(self, num_tx_ht_30_mbps): + """Sets the num_tx_ht_30_mbps of this ClientMetrics. + + + :param num_tx_ht_30_mbps: The num_tx_ht_30_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_30_mbps = num_tx_ht_30_mbps + + @property + def num_tx_ht_32_5_mbps(self): + """Gets the num_tx_ht_32_5_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_32_5_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_32_5_mbps + + @num_tx_ht_32_5_mbps.setter + def num_tx_ht_32_5_mbps(self, num_tx_ht_32_5_mbps): + """Sets the num_tx_ht_32_5_mbps of this ClientMetrics. + + + :param num_tx_ht_32_5_mbps: The num_tx_ht_32_5_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_32_5_mbps = num_tx_ht_32_5_mbps + + @property + def num_tx_ht_39_mbps(self): + """Gets the num_tx_ht_39_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_39_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_39_mbps + + @num_tx_ht_39_mbps.setter + def num_tx_ht_39_mbps(self, num_tx_ht_39_mbps): + """Sets the num_tx_ht_39_mbps of this ClientMetrics. + + + :param num_tx_ht_39_mbps: The num_tx_ht_39_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_39_mbps = num_tx_ht_39_mbps + + @property + def num_tx_ht_40_5_mbps(self): + """Gets the num_tx_ht_40_5_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_40_5_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_40_5_mbps + + @num_tx_ht_40_5_mbps.setter + def num_tx_ht_40_5_mbps(self, num_tx_ht_40_5_mbps): + """Sets the num_tx_ht_40_5_mbps of this ClientMetrics. + + + :param num_tx_ht_40_5_mbps: The num_tx_ht_40_5_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_40_5_mbps = num_tx_ht_40_5_mbps + + @property + def num_tx_ht_43_2_mbps(self): + """Gets the num_tx_ht_43_2_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_43_2_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_43_2_mbps + + @num_tx_ht_43_2_mbps.setter + def num_tx_ht_43_2_mbps(self, num_tx_ht_43_2_mbps): + """Sets the num_tx_ht_43_2_mbps of this ClientMetrics. + + + :param num_tx_ht_43_2_mbps: The num_tx_ht_43_2_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_43_2_mbps = num_tx_ht_43_2_mbps + + @property + def num_tx_ht_45_mbps(self): + """Gets the num_tx_ht_45_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_45_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_45_mbps + + @num_tx_ht_45_mbps.setter + def num_tx_ht_45_mbps(self, num_tx_ht_45_mbps): + """Sets the num_tx_ht_45_mbps of this ClientMetrics. + + + :param num_tx_ht_45_mbps: The num_tx_ht_45_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_45_mbps = num_tx_ht_45_mbps + + @property + def num_tx_ht_52_mbps(self): + """Gets the num_tx_ht_52_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_52_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_52_mbps + + @num_tx_ht_52_mbps.setter + def num_tx_ht_52_mbps(self, num_tx_ht_52_mbps): + """Sets the num_tx_ht_52_mbps of this ClientMetrics. + + + :param num_tx_ht_52_mbps: The num_tx_ht_52_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_52_mbps = num_tx_ht_52_mbps + + @property + def num_tx_ht_54_mbps(self): + """Gets the num_tx_ht_54_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_54_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_54_mbps + + @num_tx_ht_54_mbps.setter + def num_tx_ht_54_mbps(self, num_tx_ht_54_mbps): + """Sets the num_tx_ht_54_mbps of this ClientMetrics. + + + :param num_tx_ht_54_mbps: The num_tx_ht_54_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_54_mbps = num_tx_ht_54_mbps + + @property + def num_tx_ht_57_5_mbps(self): + """Gets the num_tx_ht_57_5_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_57_5_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_57_5_mbps + + @num_tx_ht_57_5_mbps.setter + def num_tx_ht_57_5_mbps(self, num_tx_ht_57_5_mbps): + """Sets the num_tx_ht_57_5_mbps of this ClientMetrics. + + + :param num_tx_ht_57_5_mbps: The num_tx_ht_57_5_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_57_5_mbps = num_tx_ht_57_5_mbps + + @property + def num_tx_ht_57_7_mbps(self): + """Gets the num_tx_ht_57_7_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_57_7_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_57_7_mbps + + @num_tx_ht_57_7_mbps.setter + def num_tx_ht_57_7_mbps(self, num_tx_ht_57_7_mbps): + """Sets the num_tx_ht_57_7_mbps of this ClientMetrics. + + + :param num_tx_ht_57_7_mbps: The num_tx_ht_57_7_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_57_7_mbps = num_tx_ht_57_7_mbps + + @property + def num_tx_ht_58_5_mbps(self): + """Gets the num_tx_ht_58_5_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_58_5_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_58_5_mbps + + @num_tx_ht_58_5_mbps.setter + def num_tx_ht_58_5_mbps(self, num_tx_ht_58_5_mbps): + """Sets the num_tx_ht_58_5_mbps of this ClientMetrics. + + + :param num_tx_ht_58_5_mbps: The num_tx_ht_58_5_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_58_5_mbps = num_tx_ht_58_5_mbps + + @property + def num_tx_ht_60_mbps(self): + """Gets the num_tx_ht_60_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_60_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_60_mbps + + @num_tx_ht_60_mbps.setter + def num_tx_ht_60_mbps(self, num_tx_ht_60_mbps): + """Sets the num_tx_ht_60_mbps of this ClientMetrics. + + + :param num_tx_ht_60_mbps: The num_tx_ht_60_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_60_mbps = num_tx_ht_60_mbps + + @property + def num_tx_ht_65_mbps(self): + """Gets the num_tx_ht_65_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_65_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_65_mbps + + @num_tx_ht_65_mbps.setter + def num_tx_ht_65_mbps(self, num_tx_ht_65_mbps): + """Sets the num_tx_ht_65_mbps of this ClientMetrics. + + + :param num_tx_ht_65_mbps: The num_tx_ht_65_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_65_mbps = num_tx_ht_65_mbps + + @property + def num_tx_ht_72_1_mbps(self): + """Gets the num_tx_ht_72_1_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_72_1_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_72_1_mbps + + @num_tx_ht_72_1_mbps.setter + def num_tx_ht_72_1_mbps(self, num_tx_ht_72_1_mbps): + """Sets the num_tx_ht_72_1_mbps of this ClientMetrics. + + + :param num_tx_ht_72_1_mbps: The num_tx_ht_72_1_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_72_1_mbps = num_tx_ht_72_1_mbps + + @property + def num_tx_ht_78_mbps(self): + """Gets the num_tx_ht_78_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_78_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_78_mbps + + @num_tx_ht_78_mbps.setter + def num_tx_ht_78_mbps(self, num_tx_ht_78_mbps): + """Sets the num_tx_ht_78_mbps of this ClientMetrics. + + + :param num_tx_ht_78_mbps: The num_tx_ht_78_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_78_mbps = num_tx_ht_78_mbps + + @property + def num_tx_ht_81_mbps(self): + """Gets the num_tx_ht_81_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_81_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_81_mbps + + @num_tx_ht_81_mbps.setter + def num_tx_ht_81_mbps(self, num_tx_ht_81_mbps): + """Sets the num_tx_ht_81_mbps of this ClientMetrics. + + + :param num_tx_ht_81_mbps: The num_tx_ht_81_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_81_mbps = num_tx_ht_81_mbps + + @property + def num_tx_ht_86_6_mbps(self): + """Gets the num_tx_ht_86_6_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_86_6_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_86_6_mbps + + @num_tx_ht_86_6_mbps.setter + def num_tx_ht_86_6_mbps(self, num_tx_ht_86_6_mbps): + """Sets the num_tx_ht_86_6_mbps of this ClientMetrics. + + + :param num_tx_ht_86_6_mbps: The num_tx_ht_86_6_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_86_6_mbps = num_tx_ht_86_6_mbps + + @property + def num_tx_ht_86_8_mbps(self): + """Gets the num_tx_ht_86_8_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_86_8_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_86_8_mbps + + @num_tx_ht_86_8_mbps.setter + def num_tx_ht_86_8_mbps(self, num_tx_ht_86_8_mbps): + """Sets the num_tx_ht_86_8_mbps of this ClientMetrics. + + + :param num_tx_ht_86_8_mbps: The num_tx_ht_86_8_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_86_8_mbps = num_tx_ht_86_8_mbps + + @property + def num_tx_ht_87_8_mbps(self): + """Gets the num_tx_ht_87_8_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_87_8_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_87_8_mbps + + @num_tx_ht_87_8_mbps.setter + def num_tx_ht_87_8_mbps(self, num_tx_ht_87_8_mbps): + """Sets the num_tx_ht_87_8_mbps of this ClientMetrics. + + + :param num_tx_ht_87_8_mbps: The num_tx_ht_87_8_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_87_8_mbps = num_tx_ht_87_8_mbps + + @property + def num_tx_ht_90_mbps(self): + """Gets the num_tx_ht_90_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_90_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_90_mbps + + @num_tx_ht_90_mbps.setter + def num_tx_ht_90_mbps(self, num_tx_ht_90_mbps): + """Sets the num_tx_ht_90_mbps of this ClientMetrics. + + + :param num_tx_ht_90_mbps: The num_tx_ht_90_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_90_mbps = num_tx_ht_90_mbps + + @property + def num_tx_ht_97_5_mbps(self): + """Gets the num_tx_ht_97_5_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_97_5_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_97_5_mbps + + @num_tx_ht_97_5_mbps.setter + def num_tx_ht_97_5_mbps(self, num_tx_ht_97_5_mbps): + """Sets the num_tx_ht_97_5_mbps of this ClientMetrics. + + + :param num_tx_ht_97_5_mbps: The num_tx_ht_97_5_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_97_5_mbps = num_tx_ht_97_5_mbps + + @property + def num_tx_ht_104_mbps(self): + """Gets the num_tx_ht_104_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_104_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_104_mbps + + @num_tx_ht_104_mbps.setter + def num_tx_ht_104_mbps(self, num_tx_ht_104_mbps): + """Sets the num_tx_ht_104_mbps of this ClientMetrics. + + + :param num_tx_ht_104_mbps: The num_tx_ht_104_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_104_mbps = num_tx_ht_104_mbps + + @property + def num_tx_ht_108_mbps(self): + """Gets the num_tx_ht_108_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_108_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_108_mbps + + @num_tx_ht_108_mbps.setter + def num_tx_ht_108_mbps(self, num_tx_ht_108_mbps): + """Sets the num_tx_ht_108_mbps of this ClientMetrics. + + + :param num_tx_ht_108_mbps: The num_tx_ht_108_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_108_mbps = num_tx_ht_108_mbps + + @property + def num_tx_ht_115_5_mbps(self): + """Gets the num_tx_ht_115_5_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_115_5_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_115_5_mbps + + @num_tx_ht_115_5_mbps.setter + def num_tx_ht_115_5_mbps(self, num_tx_ht_115_5_mbps): + """Sets the num_tx_ht_115_5_mbps of this ClientMetrics. + + + :param num_tx_ht_115_5_mbps: The num_tx_ht_115_5_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_115_5_mbps = num_tx_ht_115_5_mbps + + @property + def num_tx_ht_117_mbps(self): + """Gets the num_tx_ht_117_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_117_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_117_mbps + + @num_tx_ht_117_mbps.setter + def num_tx_ht_117_mbps(self, num_tx_ht_117_mbps): + """Sets the num_tx_ht_117_mbps of this ClientMetrics. + + + :param num_tx_ht_117_mbps: The num_tx_ht_117_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_117_mbps = num_tx_ht_117_mbps + + @property + def num_tx_ht_117_1_mbps(self): + """Gets the num_tx_ht_117_1_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_117_1_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_117_1_mbps + + @num_tx_ht_117_1_mbps.setter + def num_tx_ht_117_1_mbps(self, num_tx_ht_117_1_mbps): + """Sets the num_tx_ht_117_1_mbps of this ClientMetrics. + + + :param num_tx_ht_117_1_mbps: The num_tx_ht_117_1_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_117_1_mbps = num_tx_ht_117_1_mbps + + @property + def num_tx_ht_120_mbps(self): + """Gets the num_tx_ht_120_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_120_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_120_mbps + + @num_tx_ht_120_mbps.setter + def num_tx_ht_120_mbps(self, num_tx_ht_120_mbps): + """Sets the num_tx_ht_120_mbps of this ClientMetrics. + + + :param num_tx_ht_120_mbps: The num_tx_ht_120_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_120_mbps = num_tx_ht_120_mbps + + @property + def num_tx_ht_121_5_mbps(self): + """Gets the num_tx_ht_121_5_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_121_5_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_121_5_mbps + + @num_tx_ht_121_5_mbps.setter + def num_tx_ht_121_5_mbps(self, num_tx_ht_121_5_mbps): + """Sets the num_tx_ht_121_5_mbps of this ClientMetrics. + + + :param num_tx_ht_121_5_mbps: The num_tx_ht_121_5_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_121_5_mbps = num_tx_ht_121_5_mbps + + @property + def num_tx_ht_130_mbps(self): + """Gets the num_tx_ht_130_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_130_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_130_mbps + + @num_tx_ht_130_mbps.setter + def num_tx_ht_130_mbps(self, num_tx_ht_130_mbps): + """Sets the num_tx_ht_130_mbps of this ClientMetrics. + + + :param num_tx_ht_130_mbps: The num_tx_ht_130_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_130_mbps = num_tx_ht_130_mbps + + @property + def num_tx_ht_130_3_mbps(self): + """Gets the num_tx_ht_130_3_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_130_3_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_130_3_mbps + + @num_tx_ht_130_3_mbps.setter + def num_tx_ht_130_3_mbps(self, num_tx_ht_130_3_mbps): + """Sets the num_tx_ht_130_3_mbps of this ClientMetrics. + + + :param num_tx_ht_130_3_mbps: The num_tx_ht_130_3_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_130_3_mbps = num_tx_ht_130_3_mbps + + @property + def num_tx_ht_135_mbps(self): + """Gets the num_tx_ht_135_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_135_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_135_mbps + + @num_tx_ht_135_mbps.setter + def num_tx_ht_135_mbps(self, num_tx_ht_135_mbps): + """Sets the num_tx_ht_135_mbps of this ClientMetrics. + + + :param num_tx_ht_135_mbps: The num_tx_ht_135_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_135_mbps = num_tx_ht_135_mbps + + @property + def num_tx_ht_144_3_mbps(self): + """Gets the num_tx_ht_144_3_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_144_3_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_144_3_mbps + + @num_tx_ht_144_3_mbps.setter + def num_tx_ht_144_3_mbps(self, num_tx_ht_144_3_mbps): + """Sets the num_tx_ht_144_3_mbps of this ClientMetrics. + + + :param num_tx_ht_144_3_mbps: The num_tx_ht_144_3_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_144_3_mbps = num_tx_ht_144_3_mbps + + @property + def num_tx_ht_150_mbps(self): + """Gets the num_tx_ht_150_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_150_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_150_mbps + + @num_tx_ht_150_mbps.setter + def num_tx_ht_150_mbps(self, num_tx_ht_150_mbps): + """Sets the num_tx_ht_150_mbps of this ClientMetrics. + + + :param num_tx_ht_150_mbps: The num_tx_ht_150_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_150_mbps = num_tx_ht_150_mbps + + @property + def num_tx_ht_156_mbps(self): + """Gets the num_tx_ht_156_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_156_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_156_mbps + + @num_tx_ht_156_mbps.setter + def num_tx_ht_156_mbps(self, num_tx_ht_156_mbps): + """Sets the num_tx_ht_156_mbps of this ClientMetrics. + + + :param num_tx_ht_156_mbps: The num_tx_ht_156_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_156_mbps = num_tx_ht_156_mbps + + @property + def num_tx_ht_162_mbps(self): + """Gets the num_tx_ht_162_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_162_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_162_mbps + + @num_tx_ht_162_mbps.setter + def num_tx_ht_162_mbps(self, num_tx_ht_162_mbps): + """Sets the num_tx_ht_162_mbps of this ClientMetrics. + + + :param num_tx_ht_162_mbps: The num_tx_ht_162_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_162_mbps = num_tx_ht_162_mbps + + @property + def num_tx_ht_173_1_mbps(self): + """Gets the num_tx_ht_173_1_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_173_1_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_173_1_mbps + + @num_tx_ht_173_1_mbps.setter + def num_tx_ht_173_1_mbps(self, num_tx_ht_173_1_mbps): + """Sets the num_tx_ht_173_1_mbps of this ClientMetrics. + + + :param num_tx_ht_173_1_mbps: The num_tx_ht_173_1_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_173_1_mbps = num_tx_ht_173_1_mbps + + @property + def num_tx_ht_173_3_mbps(self): + """Gets the num_tx_ht_173_3_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_173_3_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_173_3_mbps + + @num_tx_ht_173_3_mbps.setter + def num_tx_ht_173_3_mbps(self, num_tx_ht_173_3_mbps): + """Sets the num_tx_ht_173_3_mbps of this ClientMetrics. + + + :param num_tx_ht_173_3_mbps: The num_tx_ht_173_3_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_173_3_mbps = num_tx_ht_173_3_mbps + + @property + def num_tx_ht_175_5_mbps(self): + """Gets the num_tx_ht_175_5_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_175_5_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_175_5_mbps + + @num_tx_ht_175_5_mbps.setter + def num_tx_ht_175_5_mbps(self, num_tx_ht_175_5_mbps): + """Sets the num_tx_ht_175_5_mbps of this ClientMetrics. + + + :param num_tx_ht_175_5_mbps: The num_tx_ht_175_5_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_175_5_mbps = num_tx_ht_175_5_mbps + + @property + def num_tx_ht_180_mbps(self): + """Gets the num_tx_ht_180_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_180_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_180_mbps + + @num_tx_ht_180_mbps.setter + def num_tx_ht_180_mbps(self, num_tx_ht_180_mbps): + """Sets the num_tx_ht_180_mbps of this ClientMetrics. + + + :param num_tx_ht_180_mbps: The num_tx_ht_180_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_180_mbps = num_tx_ht_180_mbps + + @property + def num_tx_ht_195_mbps(self): + """Gets the num_tx_ht_195_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_195_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_195_mbps + + @num_tx_ht_195_mbps.setter + def num_tx_ht_195_mbps(self, num_tx_ht_195_mbps): + """Sets the num_tx_ht_195_mbps of this ClientMetrics. + + + :param num_tx_ht_195_mbps: The num_tx_ht_195_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_195_mbps = num_tx_ht_195_mbps + + @property + def num_tx_ht_200_mbps(self): + """Gets the num_tx_ht_200_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_200_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_200_mbps + + @num_tx_ht_200_mbps.setter + def num_tx_ht_200_mbps(self, num_tx_ht_200_mbps): + """Sets the num_tx_ht_200_mbps of this ClientMetrics. + + + :param num_tx_ht_200_mbps: The num_tx_ht_200_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_200_mbps = num_tx_ht_200_mbps + + @property + def num_tx_ht_208_mbps(self): + """Gets the num_tx_ht_208_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_208_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_208_mbps + + @num_tx_ht_208_mbps.setter + def num_tx_ht_208_mbps(self, num_tx_ht_208_mbps): + """Sets the num_tx_ht_208_mbps of this ClientMetrics. + + + :param num_tx_ht_208_mbps: The num_tx_ht_208_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_208_mbps = num_tx_ht_208_mbps + + @property + def num_tx_ht_216_mbps(self): + """Gets the num_tx_ht_216_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_216_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_216_mbps + + @num_tx_ht_216_mbps.setter + def num_tx_ht_216_mbps(self, num_tx_ht_216_mbps): + """Sets the num_tx_ht_216_mbps of this ClientMetrics. + + + :param num_tx_ht_216_mbps: The num_tx_ht_216_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_216_mbps = num_tx_ht_216_mbps + + @property + def num_tx_ht_216_6_mbps(self): + """Gets the num_tx_ht_216_6_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_216_6_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_216_6_mbps + + @num_tx_ht_216_6_mbps.setter + def num_tx_ht_216_6_mbps(self, num_tx_ht_216_6_mbps): + """Sets the num_tx_ht_216_6_mbps of this ClientMetrics. + + + :param num_tx_ht_216_6_mbps: The num_tx_ht_216_6_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_216_6_mbps = num_tx_ht_216_6_mbps + + @property + def num_tx_ht_231_1_mbps(self): + """Gets the num_tx_ht_231_1_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_231_1_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_231_1_mbps + + @num_tx_ht_231_1_mbps.setter + def num_tx_ht_231_1_mbps(self, num_tx_ht_231_1_mbps): + """Sets the num_tx_ht_231_1_mbps of this ClientMetrics. + + + :param num_tx_ht_231_1_mbps: The num_tx_ht_231_1_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_231_1_mbps = num_tx_ht_231_1_mbps + + @property + def num_tx_ht_234_mbps(self): + """Gets the num_tx_ht_234_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_234_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_234_mbps + + @num_tx_ht_234_mbps.setter + def num_tx_ht_234_mbps(self, num_tx_ht_234_mbps): + """Sets the num_tx_ht_234_mbps of this ClientMetrics. + + + :param num_tx_ht_234_mbps: The num_tx_ht_234_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_234_mbps = num_tx_ht_234_mbps + + @property + def num_tx_ht_240_mbps(self): + """Gets the num_tx_ht_240_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_240_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_240_mbps + + @num_tx_ht_240_mbps.setter + def num_tx_ht_240_mbps(self, num_tx_ht_240_mbps): + """Sets the num_tx_ht_240_mbps of this ClientMetrics. + + + :param num_tx_ht_240_mbps: The num_tx_ht_240_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_240_mbps = num_tx_ht_240_mbps + + @property + def num_tx_ht_243_mbps(self): + """Gets the num_tx_ht_243_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_243_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_243_mbps + + @num_tx_ht_243_mbps.setter + def num_tx_ht_243_mbps(self, num_tx_ht_243_mbps): + """Sets the num_tx_ht_243_mbps of this ClientMetrics. + + + :param num_tx_ht_243_mbps: The num_tx_ht_243_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_243_mbps = num_tx_ht_243_mbps + + @property + def num_tx_ht_260_mbps(self): + """Gets the num_tx_ht_260_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_260_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_260_mbps + + @num_tx_ht_260_mbps.setter + def num_tx_ht_260_mbps(self, num_tx_ht_260_mbps): + """Sets the num_tx_ht_260_mbps of this ClientMetrics. + + + :param num_tx_ht_260_mbps: The num_tx_ht_260_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_260_mbps = num_tx_ht_260_mbps + + @property + def num_tx_ht_263_2_mbps(self): + """Gets the num_tx_ht_263_2_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_263_2_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_263_2_mbps + + @num_tx_ht_263_2_mbps.setter + def num_tx_ht_263_2_mbps(self, num_tx_ht_263_2_mbps): + """Sets the num_tx_ht_263_2_mbps of this ClientMetrics. + + + :param num_tx_ht_263_2_mbps: The num_tx_ht_263_2_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_263_2_mbps = num_tx_ht_263_2_mbps + + @property + def num_tx_ht_270_mbps(self): + """Gets the num_tx_ht_270_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_270_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_270_mbps + + @num_tx_ht_270_mbps.setter + def num_tx_ht_270_mbps(self, num_tx_ht_270_mbps): + """Sets the num_tx_ht_270_mbps of this ClientMetrics. + + + :param num_tx_ht_270_mbps: The num_tx_ht_270_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_270_mbps = num_tx_ht_270_mbps + + @property + def num_tx_ht_288_7_mbps(self): + """Gets the num_tx_ht_288_7_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_288_7_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_288_7_mbps + + @num_tx_ht_288_7_mbps.setter + def num_tx_ht_288_7_mbps(self, num_tx_ht_288_7_mbps): + """Sets the num_tx_ht_288_7_mbps of this ClientMetrics. + + + :param num_tx_ht_288_7_mbps: The num_tx_ht_288_7_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_288_7_mbps = num_tx_ht_288_7_mbps + + @property + def num_tx_ht_288_8_mbps(self): + """Gets the num_tx_ht_288_8_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_288_8_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_288_8_mbps + + @num_tx_ht_288_8_mbps.setter + def num_tx_ht_288_8_mbps(self, num_tx_ht_288_8_mbps): + """Sets the num_tx_ht_288_8_mbps of this ClientMetrics. + + + :param num_tx_ht_288_8_mbps: The num_tx_ht_288_8_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_288_8_mbps = num_tx_ht_288_8_mbps + + @property + def num_tx_ht_292_5_mbps(self): + """Gets the num_tx_ht_292_5_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_292_5_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_292_5_mbps + + @num_tx_ht_292_5_mbps.setter + def num_tx_ht_292_5_mbps(self, num_tx_ht_292_5_mbps): + """Sets the num_tx_ht_292_5_mbps of this ClientMetrics. + + + :param num_tx_ht_292_5_mbps: The num_tx_ht_292_5_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_292_5_mbps = num_tx_ht_292_5_mbps + + @property + def num_tx_ht_300_mbps(self): + """Gets the num_tx_ht_300_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_300_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_300_mbps + + @num_tx_ht_300_mbps.setter + def num_tx_ht_300_mbps(self, num_tx_ht_300_mbps): + """Sets the num_tx_ht_300_mbps of this ClientMetrics. + + + :param num_tx_ht_300_mbps: The num_tx_ht_300_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_300_mbps = num_tx_ht_300_mbps + + @property + def num_tx_ht_312_mbps(self): + """Gets the num_tx_ht_312_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_312_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_312_mbps + + @num_tx_ht_312_mbps.setter + def num_tx_ht_312_mbps(self, num_tx_ht_312_mbps): + """Sets the num_tx_ht_312_mbps of this ClientMetrics. + + + :param num_tx_ht_312_mbps: The num_tx_ht_312_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_312_mbps = num_tx_ht_312_mbps + + @property + def num_tx_ht_324_mbps(self): + """Gets the num_tx_ht_324_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_324_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_324_mbps + + @num_tx_ht_324_mbps.setter + def num_tx_ht_324_mbps(self, num_tx_ht_324_mbps): + """Sets the num_tx_ht_324_mbps of this ClientMetrics. + + + :param num_tx_ht_324_mbps: The num_tx_ht_324_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_324_mbps = num_tx_ht_324_mbps + + @property + def num_tx_ht_325_mbps(self): + """Gets the num_tx_ht_325_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_325_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_325_mbps + + @num_tx_ht_325_mbps.setter + def num_tx_ht_325_mbps(self, num_tx_ht_325_mbps): + """Sets the num_tx_ht_325_mbps of this ClientMetrics. + + + :param num_tx_ht_325_mbps: The num_tx_ht_325_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_325_mbps = num_tx_ht_325_mbps + + @property + def num_tx_ht_346_7_mbps(self): + """Gets the num_tx_ht_346_7_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_346_7_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_346_7_mbps + + @num_tx_ht_346_7_mbps.setter + def num_tx_ht_346_7_mbps(self, num_tx_ht_346_7_mbps): + """Sets the num_tx_ht_346_7_mbps of this ClientMetrics. + + + :param num_tx_ht_346_7_mbps: The num_tx_ht_346_7_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_346_7_mbps = num_tx_ht_346_7_mbps + + @property + def num_tx_ht_351_mbps(self): + """Gets the num_tx_ht_351_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_351_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_351_mbps + + @num_tx_ht_351_mbps.setter + def num_tx_ht_351_mbps(self, num_tx_ht_351_mbps): + """Sets the num_tx_ht_351_mbps of this ClientMetrics. + + + :param num_tx_ht_351_mbps: The num_tx_ht_351_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_351_mbps = num_tx_ht_351_mbps + + @property + def num_tx_ht_351_2_mbps(self): + """Gets the num_tx_ht_351_2_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_351_2_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_351_2_mbps + + @num_tx_ht_351_2_mbps.setter + def num_tx_ht_351_2_mbps(self, num_tx_ht_351_2_mbps): + """Sets the num_tx_ht_351_2_mbps of this ClientMetrics. + + + :param num_tx_ht_351_2_mbps: The num_tx_ht_351_2_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_351_2_mbps = num_tx_ht_351_2_mbps + + @property + def num_tx_ht_360_mbps(self): + """Gets the num_tx_ht_360_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_ht_360_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_360_mbps + + @num_tx_ht_360_mbps.setter + def num_tx_ht_360_mbps(self, num_tx_ht_360_mbps): + """Sets the num_tx_ht_360_mbps of this ClientMetrics. + + + :param num_tx_ht_360_mbps: The num_tx_ht_360_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_360_mbps = num_tx_ht_360_mbps + + @property + def num_rx_ht_6_5_mbps(self): + """Gets the num_rx_ht_6_5_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_6_5_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_6_5_mbps + + @num_rx_ht_6_5_mbps.setter + def num_rx_ht_6_5_mbps(self, num_rx_ht_6_5_mbps): + """Sets the num_rx_ht_6_5_mbps of this ClientMetrics. + + + :param num_rx_ht_6_5_mbps: The num_rx_ht_6_5_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_6_5_mbps = num_rx_ht_6_5_mbps + + @property + def num_rx_ht_7_1_mbps(self): + """Gets the num_rx_ht_7_1_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_7_1_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_7_1_mbps + + @num_rx_ht_7_1_mbps.setter + def num_rx_ht_7_1_mbps(self, num_rx_ht_7_1_mbps): + """Sets the num_rx_ht_7_1_mbps of this ClientMetrics. + + + :param num_rx_ht_7_1_mbps: The num_rx_ht_7_1_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_7_1_mbps = num_rx_ht_7_1_mbps + + @property + def num_rx_ht_13_mbps(self): + """Gets the num_rx_ht_13_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_13_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_13_mbps + + @num_rx_ht_13_mbps.setter + def num_rx_ht_13_mbps(self, num_rx_ht_13_mbps): + """Sets the num_rx_ht_13_mbps of this ClientMetrics. + + + :param num_rx_ht_13_mbps: The num_rx_ht_13_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_13_mbps = num_rx_ht_13_mbps + + @property + def num_rx_ht_13_5_mbps(self): + """Gets the num_rx_ht_13_5_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_13_5_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_13_5_mbps + + @num_rx_ht_13_5_mbps.setter + def num_rx_ht_13_5_mbps(self, num_rx_ht_13_5_mbps): + """Sets the num_rx_ht_13_5_mbps of this ClientMetrics. + + + :param num_rx_ht_13_5_mbps: The num_rx_ht_13_5_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_13_5_mbps = num_rx_ht_13_5_mbps + + @property + def num_rx_ht_14_3_mbps(self): + """Gets the num_rx_ht_14_3_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_14_3_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_14_3_mbps + + @num_rx_ht_14_3_mbps.setter + def num_rx_ht_14_3_mbps(self, num_rx_ht_14_3_mbps): + """Sets the num_rx_ht_14_3_mbps of this ClientMetrics. + + + :param num_rx_ht_14_3_mbps: The num_rx_ht_14_3_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_14_3_mbps = num_rx_ht_14_3_mbps + + @property + def num_rx_ht_15_mbps(self): + """Gets the num_rx_ht_15_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_15_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_15_mbps + + @num_rx_ht_15_mbps.setter + def num_rx_ht_15_mbps(self, num_rx_ht_15_mbps): + """Sets the num_rx_ht_15_mbps of this ClientMetrics. + + + :param num_rx_ht_15_mbps: The num_rx_ht_15_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_15_mbps = num_rx_ht_15_mbps + + @property + def num_rx_ht_19_5_mbps(self): + """Gets the num_rx_ht_19_5_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_19_5_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_19_5_mbps + + @num_rx_ht_19_5_mbps.setter + def num_rx_ht_19_5_mbps(self, num_rx_ht_19_5_mbps): + """Sets the num_rx_ht_19_5_mbps of this ClientMetrics. + + + :param num_rx_ht_19_5_mbps: The num_rx_ht_19_5_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_19_5_mbps = num_rx_ht_19_5_mbps + + @property + def num_rx_ht_21_7_mbps(self): + """Gets the num_rx_ht_21_7_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_21_7_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_21_7_mbps + + @num_rx_ht_21_7_mbps.setter + def num_rx_ht_21_7_mbps(self, num_rx_ht_21_7_mbps): + """Sets the num_rx_ht_21_7_mbps of this ClientMetrics. + + + :param num_rx_ht_21_7_mbps: The num_rx_ht_21_7_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_21_7_mbps = num_rx_ht_21_7_mbps + + @property + def num_rx_ht_26_mbps(self): + """Gets the num_rx_ht_26_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_26_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_26_mbps + + @num_rx_ht_26_mbps.setter + def num_rx_ht_26_mbps(self, num_rx_ht_26_mbps): + """Sets the num_rx_ht_26_mbps of this ClientMetrics. + + + :param num_rx_ht_26_mbps: The num_rx_ht_26_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_26_mbps = num_rx_ht_26_mbps + + @property + def num_rx_ht_27_mbps(self): + """Gets the num_rx_ht_27_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_27_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_27_mbps + + @num_rx_ht_27_mbps.setter + def num_rx_ht_27_mbps(self, num_rx_ht_27_mbps): + """Sets the num_rx_ht_27_mbps of this ClientMetrics. + + + :param num_rx_ht_27_mbps: The num_rx_ht_27_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_27_mbps = num_rx_ht_27_mbps + + @property + def num_rx_ht_28_7_mbps(self): + """Gets the num_rx_ht_28_7_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_28_7_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_28_7_mbps + + @num_rx_ht_28_7_mbps.setter + def num_rx_ht_28_7_mbps(self, num_rx_ht_28_7_mbps): + """Sets the num_rx_ht_28_7_mbps of this ClientMetrics. + + + :param num_rx_ht_28_7_mbps: The num_rx_ht_28_7_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_28_7_mbps = num_rx_ht_28_7_mbps + + @property + def num_rx_ht_28_8_mbps(self): + """Gets the num_rx_ht_28_8_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_28_8_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_28_8_mbps + + @num_rx_ht_28_8_mbps.setter + def num_rx_ht_28_8_mbps(self, num_rx_ht_28_8_mbps): + """Sets the num_rx_ht_28_8_mbps of this ClientMetrics. + + + :param num_rx_ht_28_8_mbps: The num_rx_ht_28_8_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_28_8_mbps = num_rx_ht_28_8_mbps + + @property + def num_rx_ht_29_2_mbps(self): + """Gets the num_rx_ht_29_2_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_29_2_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_29_2_mbps + + @num_rx_ht_29_2_mbps.setter + def num_rx_ht_29_2_mbps(self, num_rx_ht_29_2_mbps): + """Sets the num_rx_ht_29_2_mbps of this ClientMetrics. + + + :param num_rx_ht_29_2_mbps: The num_rx_ht_29_2_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_29_2_mbps = num_rx_ht_29_2_mbps + + @property + def num_rx_ht_30_mbps(self): + """Gets the num_rx_ht_30_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_30_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_30_mbps + + @num_rx_ht_30_mbps.setter + def num_rx_ht_30_mbps(self, num_rx_ht_30_mbps): + """Sets the num_rx_ht_30_mbps of this ClientMetrics. + + + :param num_rx_ht_30_mbps: The num_rx_ht_30_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_30_mbps = num_rx_ht_30_mbps + + @property + def num_rx_ht_32_5_mbps(self): + """Gets the num_rx_ht_32_5_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_32_5_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_32_5_mbps + + @num_rx_ht_32_5_mbps.setter + def num_rx_ht_32_5_mbps(self, num_rx_ht_32_5_mbps): + """Sets the num_rx_ht_32_5_mbps of this ClientMetrics. + + + :param num_rx_ht_32_5_mbps: The num_rx_ht_32_5_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_32_5_mbps = num_rx_ht_32_5_mbps + + @property + def num_rx_ht_39_mbps(self): + """Gets the num_rx_ht_39_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_39_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_39_mbps + + @num_rx_ht_39_mbps.setter + def num_rx_ht_39_mbps(self, num_rx_ht_39_mbps): + """Sets the num_rx_ht_39_mbps of this ClientMetrics. + + + :param num_rx_ht_39_mbps: The num_rx_ht_39_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_39_mbps = num_rx_ht_39_mbps + + @property + def num_rx_ht_40_5_mbps(self): + """Gets the num_rx_ht_40_5_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_40_5_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_40_5_mbps + + @num_rx_ht_40_5_mbps.setter + def num_rx_ht_40_5_mbps(self, num_rx_ht_40_5_mbps): + """Sets the num_rx_ht_40_5_mbps of this ClientMetrics. + + + :param num_rx_ht_40_5_mbps: The num_rx_ht_40_5_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_40_5_mbps = num_rx_ht_40_5_mbps + + @property + def num_rx_ht_43_2_mbps(self): + """Gets the num_rx_ht_43_2_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_43_2_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_43_2_mbps + + @num_rx_ht_43_2_mbps.setter + def num_rx_ht_43_2_mbps(self, num_rx_ht_43_2_mbps): + """Sets the num_rx_ht_43_2_mbps of this ClientMetrics. + + + :param num_rx_ht_43_2_mbps: The num_rx_ht_43_2_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_43_2_mbps = num_rx_ht_43_2_mbps + + @property + def num_rx_ht_45_mbps(self): + """Gets the num_rx_ht_45_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_45_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_45_mbps + + @num_rx_ht_45_mbps.setter + def num_rx_ht_45_mbps(self, num_rx_ht_45_mbps): + """Sets the num_rx_ht_45_mbps of this ClientMetrics. + + + :param num_rx_ht_45_mbps: The num_rx_ht_45_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_45_mbps = num_rx_ht_45_mbps + + @property + def num_rx_ht_52_mbps(self): + """Gets the num_rx_ht_52_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_52_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_52_mbps + + @num_rx_ht_52_mbps.setter + def num_rx_ht_52_mbps(self, num_rx_ht_52_mbps): + """Sets the num_rx_ht_52_mbps of this ClientMetrics. + + + :param num_rx_ht_52_mbps: The num_rx_ht_52_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_52_mbps = num_rx_ht_52_mbps + + @property + def num_rx_ht_54_mbps(self): + """Gets the num_rx_ht_54_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_54_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_54_mbps + + @num_rx_ht_54_mbps.setter + def num_rx_ht_54_mbps(self, num_rx_ht_54_mbps): + """Sets the num_rx_ht_54_mbps of this ClientMetrics. + + + :param num_rx_ht_54_mbps: The num_rx_ht_54_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_54_mbps = num_rx_ht_54_mbps + + @property + def num_rx_ht_57_5_mbps(self): + """Gets the num_rx_ht_57_5_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_57_5_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_57_5_mbps + + @num_rx_ht_57_5_mbps.setter + def num_rx_ht_57_5_mbps(self, num_rx_ht_57_5_mbps): + """Sets the num_rx_ht_57_5_mbps of this ClientMetrics. + + + :param num_rx_ht_57_5_mbps: The num_rx_ht_57_5_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_57_5_mbps = num_rx_ht_57_5_mbps + + @property + def num_rx_ht_57_7_mbps(self): + """Gets the num_rx_ht_57_7_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_57_7_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_57_7_mbps + + @num_rx_ht_57_7_mbps.setter + def num_rx_ht_57_7_mbps(self, num_rx_ht_57_7_mbps): + """Sets the num_rx_ht_57_7_mbps of this ClientMetrics. + + + :param num_rx_ht_57_7_mbps: The num_rx_ht_57_7_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_57_7_mbps = num_rx_ht_57_7_mbps + + @property + def num_rx_ht_58_5_mbps(self): + """Gets the num_rx_ht_58_5_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_58_5_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_58_5_mbps + + @num_rx_ht_58_5_mbps.setter + def num_rx_ht_58_5_mbps(self, num_rx_ht_58_5_mbps): + """Sets the num_rx_ht_58_5_mbps of this ClientMetrics. + + + :param num_rx_ht_58_5_mbps: The num_rx_ht_58_5_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_58_5_mbps = num_rx_ht_58_5_mbps + + @property + def num_rx_ht_60_mbps(self): + """Gets the num_rx_ht_60_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_60_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_60_mbps + + @num_rx_ht_60_mbps.setter + def num_rx_ht_60_mbps(self, num_rx_ht_60_mbps): + """Sets the num_rx_ht_60_mbps of this ClientMetrics. + + + :param num_rx_ht_60_mbps: The num_rx_ht_60_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_60_mbps = num_rx_ht_60_mbps + + @property + def num_rx_ht_65_mbps(self): + """Gets the num_rx_ht_65_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_65_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_65_mbps + + @num_rx_ht_65_mbps.setter + def num_rx_ht_65_mbps(self, num_rx_ht_65_mbps): + """Sets the num_rx_ht_65_mbps of this ClientMetrics. + + + :param num_rx_ht_65_mbps: The num_rx_ht_65_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_65_mbps = num_rx_ht_65_mbps + + @property + def num_rx_ht_72_1_mbps(self): + """Gets the num_rx_ht_72_1_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_72_1_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_72_1_mbps + + @num_rx_ht_72_1_mbps.setter + def num_rx_ht_72_1_mbps(self, num_rx_ht_72_1_mbps): + """Sets the num_rx_ht_72_1_mbps of this ClientMetrics. + + + :param num_rx_ht_72_1_mbps: The num_rx_ht_72_1_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_72_1_mbps = num_rx_ht_72_1_mbps + + @property + def num_rx_ht_78_mbps(self): + """Gets the num_rx_ht_78_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_78_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_78_mbps + + @num_rx_ht_78_mbps.setter + def num_rx_ht_78_mbps(self, num_rx_ht_78_mbps): + """Sets the num_rx_ht_78_mbps of this ClientMetrics. + + + :param num_rx_ht_78_mbps: The num_rx_ht_78_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_78_mbps = num_rx_ht_78_mbps + + @property + def num_rx_ht_81_mbps(self): + """Gets the num_rx_ht_81_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_81_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_81_mbps + + @num_rx_ht_81_mbps.setter + def num_rx_ht_81_mbps(self, num_rx_ht_81_mbps): + """Sets the num_rx_ht_81_mbps of this ClientMetrics. + + + :param num_rx_ht_81_mbps: The num_rx_ht_81_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_81_mbps = num_rx_ht_81_mbps + + @property + def num_rx_ht_86_6_mbps(self): + """Gets the num_rx_ht_86_6_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_86_6_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_86_6_mbps + + @num_rx_ht_86_6_mbps.setter + def num_rx_ht_86_6_mbps(self, num_rx_ht_86_6_mbps): + """Sets the num_rx_ht_86_6_mbps of this ClientMetrics. + + + :param num_rx_ht_86_6_mbps: The num_rx_ht_86_6_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_86_6_mbps = num_rx_ht_86_6_mbps + + @property + def num_rx_ht_86_8_mbps(self): + """Gets the num_rx_ht_86_8_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_86_8_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_86_8_mbps + + @num_rx_ht_86_8_mbps.setter + def num_rx_ht_86_8_mbps(self, num_rx_ht_86_8_mbps): + """Sets the num_rx_ht_86_8_mbps of this ClientMetrics. + + + :param num_rx_ht_86_8_mbps: The num_rx_ht_86_8_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_86_8_mbps = num_rx_ht_86_8_mbps + + @property + def num_rx_ht_87_8_mbps(self): + """Gets the num_rx_ht_87_8_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_87_8_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_87_8_mbps + + @num_rx_ht_87_8_mbps.setter + def num_rx_ht_87_8_mbps(self, num_rx_ht_87_8_mbps): + """Sets the num_rx_ht_87_8_mbps of this ClientMetrics. + + + :param num_rx_ht_87_8_mbps: The num_rx_ht_87_8_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_87_8_mbps = num_rx_ht_87_8_mbps + + @property + def num_rx_ht_90_mbps(self): + """Gets the num_rx_ht_90_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_90_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_90_mbps + + @num_rx_ht_90_mbps.setter + def num_rx_ht_90_mbps(self, num_rx_ht_90_mbps): + """Sets the num_rx_ht_90_mbps of this ClientMetrics. + + + :param num_rx_ht_90_mbps: The num_rx_ht_90_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_90_mbps = num_rx_ht_90_mbps + + @property + def num_rx_ht_97_5_mbps(self): + """Gets the num_rx_ht_97_5_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_97_5_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_97_5_mbps + + @num_rx_ht_97_5_mbps.setter + def num_rx_ht_97_5_mbps(self, num_rx_ht_97_5_mbps): + """Sets the num_rx_ht_97_5_mbps of this ClientMetrics. + + + :param num_rx_ht_97_5_mbps: The num_rx_ht_97_5_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_97_5_mbps = num_rx_ht_97_5_mbps + + @property + def num_rx_ht_104_mbps(self): + """Gets the num_rx_ht_104_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_104_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_104_mbps + + @num_rx_ht_104_mbps.setter + def num_rx_ht_104_mbps(self, num_rx_ht_104_mbps): + """Sets the num_rx_ht_104_mbps of this ClientMetrics. + + + :param num_rx_ht_104_mbps: The num_rx_ht_104_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_104_mbps = num_rx_ht_104_mbps + + @property + def num_rx_ht_108_mbps(self): + """Gets the num_rx_ht_108_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_108_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_108_mbps + + @num_rx_ht_108_mbps.setter + def num_rx_ht_108_mbps(self, num_rx_ht_108_mbps): + """Sets the num_rx_ht_108_mbps of this ClientMetrics. + + + :param num_rx_ht_108_mbps: The num_rx_ht_108_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_108_mbps = num_rx_ht_108_mbps + + @property + def num_rx_ht_115_5_mbps(self): + """Gets the num_rx_ht_115_5_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_115_5_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_115_5_mbps + + @num_rx_ht_115_5_mbps.setter + def num_rx_ht_115_5_mbps(self, num_rx_ht_115_5_mbps): + """Sets the num_rx_ht_115_5_mbps of this ClientMetrics. + + + :param num_rx_ht_115_5_mbps: The num_rx_ht_115_5_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_115_5_mbps = num_rx_ht_115_5_mbps + + @property + def num_rx_ht_117_mbps(self): + """Gets the num_rx_ht_117_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_117_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_117_mbps + + @num_rx_ht_117_mbps.setter + def num_rx_ht_117_mbps(self, num_rx_ht_117_mbps): + """Sets the num_rx_ht_117_mbps of this ClientMetrics. + + + :param num_rx_ht_117_mbps: The num_rx_ht_117_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_117_mbps = num_rx_ht_117_mbps + + @property + def num_rx_ht_117_1_mbps(self): + """Gets the num_rx_ht_117_1_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_117_1_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_117_1_mbps + + @num_rx_ht_117_1_mbps.setter + def num_rx_ht_117_1_mbps(self, num_rx_ht_117_1_mbps): + """Sets the num_rx_ht_117_1_mbps of this ClientMetrics. + + + :param num_rx_ht_117_1_mbps: The num_rx_ht_117_1_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_117_1_mbps = num_rx_ht_117_1_mbps + + @property + def num_rx_ht_120_mbps(self): + """Gets the num_rx_ht_120_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_120_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_120_mbps + + @num_rx_ht_120_mbps.setter + def num_rx_ht_120_mbps(self, num_rx_ht_120_mbps): + """Sets the num_rx_ht_120_mbps of this ClientMetrics. + + + :param num_rx_ht_120_mbps: The num_rx_ht_120_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_120_mbps = num_rx_ht_120_mbps + + @property + def num_rx_ht_121_5_mbps(self): + """Gets the num_rx_ht_121_5_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_121_5_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_121_5_mbps + + @num_rx_ht_121_5_mbps.setter + def num_rx_ht_121_5_mbps(self, num_rx_ht_121_5_mbps): + """Sets the num_rx_ht_121_5_mbps of this ClientMetrics. + + + :param num_rx_ht_121_5_mbps: The num_rx_ht_121_5_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_121_5_mbps = num_rx_ht_121_5_mbps + + @property + def num_rx_ht_130_mbps(self): + """Gets the num_rx_ht_130_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_130_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_130_mbps + + @num_rx_ht_130_mbps.setter + def num_rx_ht_130_mbps(self, num_rx_ht_130_mbps): + """Sets the num_rx_ht_130_mbps of this ClientMetrics. + + + :param num_rx_ht_130_mbps: The num_rx_ht_130_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_130_mbps = num_rx_ht_130_mbps + + @property + def num_rx_ht_130_3_mbps(self): + """Gets the num_rx_ht_130_3_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_130_3_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_130_3_mbps + + @num_rx_ht_130_3_mbps.setter + def num_rx_ht_130_3_mbps(self, num_rx_ht_130_3_mbps): + """Sets the num_rx_ht_130_3_mbps of this ClientMetrics. + + + :param num_rx_ht_130_3_mbps: The num_rx_ht_130_3_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_130_3_mbps = num_rx_ht_130_3_mbps + + @property + def num_rx_ht_135_mbps(self): + """Gets the num_rx_ht_135_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_135_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_135_mbps + + @num_rx_ht_135_mbps.setter + def num_rx_ht_135_mbps(self, num_rx_ht_135_mbps): + """Sets the num_rx_ht_135_mbps of this ClientMetrics. + + + :param num_rx_ht_135_mbps: The num_rx_ht_135_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_135_mbps = num_rx_ht_135_mbps + + @property + def num_rx_ht_144_3_mbps(self): + """Gets the num_rx_ht_144_3_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_144_3_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_144_3_mbps + + @num_rx_ht_144_3_mbps.setter + def num_rx_ht_144_3_mbps(self, num_rx_ht_144_3_mbps): + """Sets the num_rx_ht_144_3_mbps of this ClientMetrics. + + + :param num_rx_ht_144_3_mbps: The num_rx_ht_144_3_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_144_3_mbps = num_rx_ht_144_3_mbps + + @property + def num_rx_ht_150_mbps(self): + """Gets the num_rx_ht_150_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_150_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_150_mbps + + @num_rx_ht_150_mbps.setter + def num_rx_ht_150_mbps(self, num_rx_ht_150_mbps): + """Sets the num_rx_ht_150_mbps of this ClientMetrics. + + + :param num_rx_ht_150_mbps: The num_rx_ht_150_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_150_mbps = num_rx_ht_150_mbps + + @property + def num_rx_ht_156_mbps(self): + """Gets the num_rx_ht_156_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_156_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_156_mbps + + @num_rx_ht_156_mbps.setter + def num_rx_ht_156_mbps(self, num_rx_ht_156_mbps): + """Sets the num_rx_ht_156_mbps of this ClientMetrics. + + + :param num_rx_ht_156_mbps: The num_rx_ht_156_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_156_mbps = num_rx_ht_156_mbps + + @property + def num_rx_ht_162_mbps(self): + """Gets the num_rx_ht_162_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_162_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_162_mbps + + @num_rx_ht_162_mbps.setter + def num_rx_ht_162_mbps(self, num_rx_ht_162_mbps): + """Sets the num_rx_ht_162_mbps of this ClientMetrics. + + + :param num_rx_ht_162_mbps: The num_rx_ht_162_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_162_mbps = num_rx_ht_162_mbps + + @property + def num_rx_ht_173_1_mbps(self): + """Gets the num_rx_ht_173_1_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_173_1_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_173_1_mbps + + @num_rx_ht_173_1_mbps.setter + def num_rx_ht_173_1_mbps(self, num_rx_ht_173_1_mbps): + """Sets the num_rx_ht_173_1_mbps of this ClientMetrics. + + + :param num_rx_ht_173_1_mbps: The num_rx_ht_173_1_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_173_1_mbps = num_rx_ht_173_1_mbps + + @property + def num_rx_ht_173_3_mbps(self): + """Gets the num_rx_ht_173_3_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_173_3_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_173_3_mbps + + @num_rx_ht_173_3_mbps.setter + def num_rx_ht_173_3_mbps(self, num_rx_ht_173_3_mbps): + """Sets the num_rx_ht_173_3_mbps of this ClientMetrics. + + + :param num_rx_ht_173_3_mbps: The num_rx_ht_173_3_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_173_3_mbps = num_rx_ht_173_3_mbps + + @property + def num_rx_ht_175_5_mbps(self): + """Gets the num_rx_ht_175_5_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_175_5_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_175_5_mbps + + @num_rx_ht_175_5_mbps.setter + def num_rx_ht_175_5_mbps(self, num_rx_ht_175_5_mbps): + """Sets the num_rx_ht_175_5_mbps of this ClientMetrics. + + + :param num_rx_ht_175_5_mbps: The num_rx_ht_175_5_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_175_5_mbps = num_rx_ht_175_5_mbps + + @property + def num_rx_ht_180_mbps(self): + """Gets the num_rx_ht_180_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_180_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_180_mbps + + @num_rx_ht_180_mbps.setter + def num_rx_ht_180_mbps(self, num_rx_ht_180_mbps): + """Sets the num_rx_ht_180_mbps of this ClientMetrics. + + + :param num_rx_ht_180_mbps: The num_rx_ht_180_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_180_mbps = num_rx_ht_180_mbps + + @property + def num_rx_ht_195_mbps(self): + """Gets the num_rx_ht_195_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_195_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_195_mbps + + @num_rx_ht_195_mbps.setter + def num_rx_ht_195_mbps(self, num_rx_ht_195_mbps): + """Sets the num_rx_ht_195_mbps of this ClientMetrics. + + + :param num_rx_ht_195_mbps: The num_rx_ht_195_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_195_mbps = num_rx_ht_195_mbps + + @property + def num_rx_ht_200_mbps(self): + """Gets the num_rx_ht_200_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_200_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_200_mbps + + @num_rx_ht_200_mbps.setter + def num_rx_ht_200_mbps(self, num_rx_ht_200_mbps): + """Sets the num_rx_ht_200_mbps of this ClientMetrics. + + + :param num_rx_ht_200_mbps: The num_rx_ht_200_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_200_mbps = num_rx_ht_200_mbps + + @property + def num_rx_ht_208_mbps(self): + """Gets the num_rx_ht_208_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_208_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_208_mbps + + @num_rx_ht_208_mbps.setter + def num_rx_ht_208_mbps(self, num_rx_ht_208_mbps): + """Sets the num_rx_ht_208_mbps of this ClientMetrics. + + + :param num_rx_ht_208_mbps: The num_rx_ht_208_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_208_mbps = num_rx_ht_208_mbps + + @property + def num_rx_ht_216_mbps(self): + """Gets the num_rx_ht_216_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_216_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_216_mbps + + @num_rx_ht_216_mbps.setter + def num_rx_ht_216_mbps(self, num_rx_ht_216_mbps): + """Sets the num_rx_ht_216_mbps of this ClientMetrics. + + + :param num_rx_ht_216_mbps: The num_rx_ht_216_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_216_mbps = num_rx_ht_216_mbps + + @property + def num_rx_ht_216_6_mbps(self): + """Gets the num_rx_ht_216_6_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_216_6_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_216_6_mbps + + @num_rx_ht_216_6_mbps.setter + def num_rx_ht_216_6_mbps(self, num_rx_ht_216_6_mbps): + """Sets the num_rx_ht_216_6_mbps of this ClientMetrics. + + + :param num_rx_ht_216_6_mbps: The num_rx_ht_216_6_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_216_6_mbps = num_rx_ht_216_6_mbps + + @property + def num_rx_ht_231_1_mbps(self): + """Gets the num_rx_ht_231_1_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_231_1_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_231_1_mbps + + @num_rx_ht_231_1_mbps.setter + def num_rx_ht_231_1_mbps(self, num_rx_ht_231_1_mbps): + """Sets the num_rx_ht_231_1_mbps of this ClientMetrics. + + + :param num_rx_ht_231_1_mbps: The num_rx_ht_231_1_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_231_1_mbps = num_rx_ht_231_1_mbps + + @property + def num_rx_ht_234_mbps(self): + """Gets the num_rx_ht_234_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_234_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_234_mbps + + @num_rx_ht_234_mbps.setter + def num_rx_ht_234_mbps(self, num_rx_ht_234_mbps): + """Sets the num_rx_ht_234_mbps of this ClientMetrics. + + + :param num_rx_ht_234_mbps: The num_rx_ht_234_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_234_mbps = num_rx_ht_234_mbps + + @property + def num_rx_ht_240_mbps(self): + """Gets the num_rx_ht_240_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_240_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_240_mbps + + @num_rx_ht_240_mbps.setter + def num_rx_ht_240_mbps(self, num_rx_ht_240_mbps): + """Sets the num_rx_ht_240_mbps of this ClientMetrics. + + + :param num_rx_ht_240_mbps: The num_rx_ht_240_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_240_mbps = num_rx_ht_240_mbps + + @property + def num_rx_ht_243_mbps(self): + """Gets the num_rx_ht_243_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_243_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_243_mbps + + @num_rx_ht_243_mbps.setter + def num_rx_ht_243_mbps(self, num_rx_ht_243_mbps): + """Sets the num_rx_ht_243_mbps of this ClientMetrics. + + + :param num_rx_ht_243_mbps: The num_rx_ht_243_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_243_mbps = num_rx_ht_243_mbps + + @property + def num_rx_ht_260_mbps(self): + """Gets the num_rx_ht_260_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_260_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_260_mbps + + @num_rx_ht_260_mbps.setter + def num_rx_ht_260_mbps(self, num_rx_ht_260_mbps): + """Sets the num_rx_ht_260_mbps of this ClientMetrics. + + + :param num_rx_ht_260_mbps: The num_rx_ht_260_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_260_mbps = num_rx_ht_260_mbps + + @property + def num_rx_ht_263_2_mbps(self): + """Gets the num_rx_ht_263_2_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_263_2_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_263_2_mbps + + @num_rx_ht_263_2_mbps.setter + def num_rx_ht_263_2_mbps(self, num_rx_ht_263_2_mbps): + """Sets the num_rx_ht_263_2_mbps of this ClientMetrics. + + + :param num_rx_ht_263_2_mbps: The num_rx_ht_263_2_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_263_2_mbps = num_rx_ht_263_2_mbps + + @property + def num_rx_ht_270_mbps(self): + """Gets the num_rx_ht_270_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_270_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_270_mbps + + @num_rx_ht_270_mbps.setter + def num_rx_ht_270_mbps(self, num_rx_ht_270_mbps): + """Sets the num_rx_ht_270_mbps of this ClientMetrics. + + + :param num_rx_ht_270_mbps: The num_rx_ht_270_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_270_mbps = num_rx_ht_270_mbps + + @property + def num_rx_ht_288_7_mbps(self): + """Gets the num_rx_ht_288_7_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_288_7_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_288_7_mbps + + @num_rx_ht_288_7_mbps.setter + def num_rx_ht_288_7_mbps(self, num_rx_ht_288_7_mbps): + """Sets the num_rx_ht_288_7_mbps of this ClientMetrics. + + + :param num_rx_ht_288_7_mbps: The num_rx_ht_288_7_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_288_7_mbps = num_rx_ht_288_7_mbps + + @property + def num_rx_ht_288_8_mbps(self): + """Gets the num_rx_ht_288_8_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_288_8_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_288_8_mbps + + @num_rx_ht_288_8_mbps.setter + def num_rx_ht_288_8_mbps(self, num_rx_ht_288_8_mbps): + """Sets the num_rx_ht_288_8_mbps of this ClientMetrics. + + + :param num_rx_ht_288_8_mbps: The num_rx_ht_288_8_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_288_8_mbps = num_rx_ht_288_8_mbps + + @property + def num_rx_ht_292_5_mbps(self): + """Gets the num_rx_ht_292_5_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_292_5_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_292_5_mbps + + @num_rx_ht_292_5_mbps.setter + def num_rx_ht_292_5_mbps(self, num_rx_ht_292_5_mbps): + """Sets the num_rx_ht_292_5_mbps of this ClientMetrics. + + + :param num_rx_ht_292_5_mbps: The num_rx_ht_292_5_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_292_5_mbps = num_rx_ht_292_5_mbps + + @property + def num_rx_ht_300_mbps(self): + """Gets the num_rx_ht_300_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_300_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_300_mbps + + @num_rx_ht_300_mbps.setter + def num_rx_ht_300_mbps(self, num_rx_ht_300_mbps): + """Sets the num_rx_ht_300_mbps of this ClientMetrics. + + + :param num_rx_ht_300_mbps: The num_rx_ht_300_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_300_mbps = num_rx_ht_300_mbps + + @property + def num_rx_ht_312_mbps(self): + """Gets the num_rx_ht_312_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_312_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_312_mbps + + @num_rx_ht_312_mbps.setter + def num_rx_ht_312_mbps(self, num_rx_ht_312_mbps): + """Sets the num_rx_ht_312_mbps of this ClientMetrics. + + + :param num_rx_ht_312_mbps: The num_rx_ht_312_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_312_mbps = num_rx_ht_312_mbps + + @property + def num_rx_ht_324_mbps(self): + """Gets the num_rx_ht_324_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_324_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_324_mbps + + @num_rx_ht_324_mbps.setter + def num_rx_ht_324_mbps(self, num_rx_ht_324_mbps): + """Sets the num_rx_ht_324_mbps of this ClientMetrics. + + + :param num_rx_ht_324_mbps: The num_rx_ht_324_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_324_mbps = num_rx_ht_324_mbps + + @property + def num_rx_ht_325_mbps(self): + """Gets the num_rx_ht_325_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_325_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_325_mbps + + @num_rx_ht_325_mbps.setter + def num_rx_ht_325_mbps(self, num_rx_ht_325_mbps): + """Sets the num_rx_ht_325_mbps of this ClientMetrics. + + + :param num_rx_ht_325_mbps: The num_rx_ht_325_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_325_mbps = num_rx_ht_325_mbps + + @property + def num_rx_ht_346_7_mbps(self): + """Gets the num_rx_ht_346_7_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_346_7_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_346_7_mbps + + @num_rx_ht_346_7_mbps.setter + def num_rx_ht_346_7_mbps(self, num_rx_ht_346_7_mbps): + """Sets the num_rx_ht_346_7_mbps of this ClientMetrics. + + + :param num_rx_ht_346_7_mbps: The num_rx_ht_346_7_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_346_7_mbps = num_rx_ht_346_7_mbps + + @property + def num_rx_ht_351_mbps(self): + """Gets the num_rx_ht_351_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_351_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_351_mbps + + @num_rx_ht_351_mbps.setter + def num_rx_ht_351_mbps(self, num_rx_ht_351_mbps): + """Sets the num_rx_ht_351_mbps of this ClientMetrics. + + + :param num_rx_ht_351_mbps: The num_rx_ht_351_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_351_mbps = num_rx_ht_351_mbps + + @property + def num_rx_ht_351_2_mbps(self): + """Gets the num_rx_ht_351_2_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_351_2_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_351_2_mbps + + @num_rx_ht_351_2_mbps.setter + def num_rx_ht_351_2_mbps(self, num_rx_ht_351_2_mbps): + """Sets the num_rx_ht_351_2_mbps of this ClientMetrics. + + + :param num_rx_ht_351_2_mbps: The num_rx_ht_351_2_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_351_2_mbps = num_rx_ht_351_2_mbps + + @property + def num_rx_ht_360_mbps(self): + """Gets the num_rx_ht_360_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_ht_360_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_360_mbps + + @num_rx_ht_360_mbps.setter + def num_rx_ht_360_mbps(self, num_rx_ht_360_mbps): + """Sets the num_rx_ht_360_mbps of this ClientMetrics. + + + :param num_rx_ht_360_mbps: The num_rx_ht_360_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_360_mbps = num_rx_ht_360_mbps + + @property + def num_tx_vht_292_5_mbps(self): + """Gets the num_tx_vht_292_5_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_vht_292_5_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_292_5_mbps + + @num_tx_vht_292_5_mbps.setter + def num_tx_vht_292_5_mbps(self, num_tx_vht_292_5_mbps): + """Sets the num_tx_vht_292_5_mbps of this ClientMetrics. + + + :param num_tx_vht_292_5_mbps: The num_tx_vht_292_5_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_292_5_mbps = num_tx_vht_292_5_mbps + + @property + def num_tx_vht_325_mbps(self): + """Gets the num_tx_vht_325_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_vht_325_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_325_mbps + + @num_tx_vht_325_mbps.setter + def num_tx_vht_325_mbps(self, num_tx_vht_325_mbps): + """Sets the num_tx_vht_325_mbps of this ClientMetrics. + + + :param num_tx_vht_325_mbps: The num_tx_vht_325_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_325_mbps = num_tx_vht_325_mbps + + @property + def num_tx_vht_364_5_mbps(self): + """Gets the num_tx_vht_364_5_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_vht_364_5_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_364_5_mbps + + @num_tx_vht_364_5_mbps.setter + def num_tx_vht_364_5_mbps(self, num_tx_vht_364_5_mbps): + """Sets the num_tx_vht_364_5_mbps of this ClientMetrics. + + + :param num_tx_vht_364_5_mbps: The num_tx_vht_364_5_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_364_5_mbps = num_tx_vht_364_5_mbps + + @property + def num_tx_vht_390_mbps(self): + """Gets the num_tx_vht_390_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_vht_390_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_390_mbps + + @num_tx_vht_390_mbps.setter + def num_tx_vht_390_mbps(self, num_tx_vht_390_mbps): + """Sets the num_tx_vht_390_mbps of this ClientMetrics. + + + :param num_tx_vht_390_mbps: The num_tx_vht_390_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_390_mbps = num_tx_vht_390_mbps + + @property + def num_tx_vht_400_mbps(self): + """Gets the num_tx_vht_400_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_vht_400_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_400_mbps + + @num_tx_vht_400_mbps.setter + def num_tx_vht_400_mbps(self, num_tx_vht_400_mbps): + """Sets the num_tx_vht_400_mbps of this ClientMetrics. + + + :param num_tx_vht_400_mbps: The num_tx_vht_400_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_400_mbps = num_tx_vht_400_mbps + + @property + def num_tx_vht_403_mbps(self): + """Gets the num_tx_vht_403_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_vht_403_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_403_mbps + + @num_tx_vht_403_mbps.setter + def num_tx_vht_403_mbps(self, num_tx_vht_403_mbps): + """Sets the num_tx_vht_403_mbps of this ClientMetrics. + + + :param num_tx_vht_403_mbps: The num_tx_vht_403_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_403_mbps = num_tx_vht_403_mbps + + @property + def num_tx_vht_405_mbps(self): + """Gets the num_tx_vht_405_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_vht_405_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_405_mbps + + @num_tx_vht_405_mbps.setter + def num_tx_vht_405_mbps(self, num_tx_vht_405_mbps): + """Sets the num_tx_vht_405_mbps of this ClientMetrics. + + + :param num_tx_vht_405_mbps: The num_tx_vht_405_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_405_mbps = num_tx_vht_405_mbps + + @property + def num_tx_vht_432_mbps(self): + """Gets the num_tx_vht_432_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_vht_432_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_432_mbps + + @num_tx_vht_432_mbps.setter + def num_tx_vht_432_mbps(self, num_tx_vht_432_mbps): + """Sets the num_tx_vht_432_mbps of this ClientMetrics. + + + :param num_tx_vht_432_mbps: The num_tx_vht_432_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_432_mbps = num_tx_vht_432_mbps + + @property + def num_tx_vht_433_2_mbps(self): + """Gets the num_tx_vht_433_2_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_vht_433_2_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_433_2_mbps + + @num_tx_vht_433_2_mbps.setter + def num_tx_vht_433_2_mbps(self, num_tx_vht_433_2_mbps): + """Sets the num_tx_vht_433_2_mbps of this ClientMetrics. + + + :param num_tx_vht_433_2_mbps: The num_tx_vht_433_2_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_433_2_mbps = num_tx_vht_433_2_mbps + + @property + def num_tx_vht_450_mbps(self): + """Gets the num_tx_vht_450_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_vht_450_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_450_mbps + + @num_tx_vht_450_mbps.setter + def num_tx_vht_450_mbps(self, num_tx_vht_450_mbps): + """Sets the num_tx_vht_450_mbps of this ClientMetrics. + + + :param num_tx_vht_450_mbps: The num_tx_vht_450_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_450_mbps = num_tx_vht_450_mbps + + @property + def num_tx_vht_468_mbps(self): + """Gets the num_tx_vht_468_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_vht_468_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_468_mbps + + @num_tx_vht_468_mbps.setter + def num_tx_vht_468_mbps(self, num_tx_vht_468_mbps): + """Sets the num_tx_vht_468_mbps of this ClientMetrics. + + + :param num_tx_vht_468_mbps: The num_tx_vht_468_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_468_mbps = num_tx_vht_468_mbps + + @property + def num_tx_vht_480_mbps(self): + """Gets the num_tx_vht_480_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_vht_480_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_480_mbps + + @num_tx_vht_480_mbps.setter + def num_tx_vht_480_mbps(self, num_tx_vht_480_mbps): + """Sets the num_tx_vht_480_mbps of this ClientMetrics. + + + :param num_tx_vht_480_mbps: The num_tx_vht_480_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_480_mbps = num_tx_vht_480_mbps + + @property + def num_tx_vht_486_mbps(self): + """Gets the num_tx_vht_486_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_vht_486_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_486_mbps + + @num_tx_vht_486_mbps.setter + def num_tx_vht_486_mbps(self, num_tx_vht_486_mbps): + """Sets the num_tx_vht_486_mbps of this ClientMetrics. + + + :param num_tx_vht_486_mbps: The num_tx_vht_486_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_486_mbps = num_tx_vht_486_mbps + + @property + def num_tx_vht_520_mbps(self): + """Gets the num_tx_vht_520_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_vht_520_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_520_mbps + + @num_tx_vht_520_mbps.setter + def num_tx_vht_520_mbps(self, num_tx_vht_520_mbps): + """Sets the num_tx_vht_520_mbps of this ClientMetrics. + + + :param num_tx_vht_520_mbps: The num_tx_vht_520_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_520_mbps = num_tx_vht_520_mbps + + @property + def num_tx_vht_526_5_mbps(self): + """Gets the num_tx_vht_526_5_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_vht_526_5_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_526_5_mbps + + @num_tx_vht_526_5_mbps.setter + def num_tx_vht_526_5_mbps(self, num_tx_vht_526_5_mbps): + """Sets the num_tx_vht_526_5_mbps of this ClientMetrics. + + + :param num_tx_vht_526_5_mbps: The num_tx_vht_526_5_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_526_5_mbps = num_tx_vht_526_5_mbps + + @property + def num_tx_vht_540_mbps(self): + """Gets the num_tx_vht_540_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_vht_540_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_540_mbps + + @num_tx_vht_540_mbps.setter + def num_tx_vht_540_mbps(self, num_tx_vht_540_mbps): + """Sets the num_tx_vht_540_mbps of this ClientMetrics. + + + :param num_tx_vht_540_mbps: The num_tx_vht_540_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_540_mbps = num_tx_vht_540_mbps + + @property + def num_tx_vht_585_mbps(self): + """Gets the num_tx_vht_585_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_vht_585_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_585_mbps + + @num_tx_vht_585_mbps.setter + def num_tx_vht_585_mbps(self, num_tx_vht_585_mbps): + """Sets the num_tx_vht_585_mbps of this ClientMetrics. + + + :param num_tx_vht_585_mbps: The num_tx_vht_585_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_585_mbps = num_tx_vht_585_mbps + + @property + def num_tx_vht_600_mbps(self): + """Gets the num_tx_vht_600_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_vht_600_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_600_mbps + + @num_tx_vht_600_mbps.setter + def num_tx_vht_600_mbps(self, num_tx_vht_600_mbps): + """Sets the num_tx_vht_600_mbps of this ClientMetrics. + + + :param num_tx_vht_600_mbps: The num_tx_vht_600_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_600_mbps = num_tx_vht_600_mbps + + @property + def num_tx_vht_648_mbps(self): + """Gets the num_tx_vht_648_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_vht_648_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_648_mbps + + @num_tx_vht_648_mbps.setter + def num_tx_vht_648_mbps(self, num_tx_vht_648_mbps): + """Sets the num_tx_vht_648_mbps of this ClientMetrics. + + + :param num_tx_vht_648_mbps: The num_tx_vht_648_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_648_mbps = num_tx_vht_648_mbps + + @property + def num_tx_vht_650_mbps(self): + """Gets the num_tx_vht_650_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_vht_650_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_650_mbps + + @num_tx_vht_650_mbps.setter + def num_tx_vht_650_mbps(self, num_tx_vht_650_mbps): + """Sets the num_tx_vht_650_mbps of this ClientMetrics. + + + :param num_tx_vht_650_mbps: The num_tx_vht_650_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_650_mbps = num_tx_vht_650_mbps + + @property + def num_tx_vht_702_mbps(self): + """Gets the num_tx_vht_702_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_vht_702_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_702_mbps + + @num_tx_vht_702_mbps.setter + def num_tx_vht_702_mbps(self, num_tx_vht_702_mbps): + """Sets the num_tx_vht_702_mbps of this ClientMetrics. + + + :param num_tx_vht_702_mbps: The num_tx_vht_702_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_702_mbps = num_tx_vht_702_mbps + + @property + def num_tx_vht_720_mbps(self): + """Gets the num_tx_vht_720_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_vht_720_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_720_mbps + + @num_tx_vht_720_mbps.setter + def num_tx_vht_720_mbps(self, num_tx_vht_720_mbps): + """Sets the num_tx_vht_720_mbps of this ClientMetrics. + + + :param num_tx_vht_720_mbps: The num_tx_vht_720_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_720_mbps = num_tx_vht_720_mbps + + @property + def num_tx_vht_780_mbps(self): + """Gets the num_tx_vht_780_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_vht_780_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_780_mbps + + @num_tx_vht_780_mbps.setter + def num_tx_vht_780_mbps(self, num_tx_vht_780_mbps): + """Sets the num_tx_vht_780_mbps of this ClientMetrics. + + + :param num_tx_vht_780_mbps: The num_tx_vht_780_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_780_mbps = num_tx_vht_780_mbps + + @property + def num_tx_vht_800_mbps(self): + """Gets the num_tx_vht_800_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_vht_800_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_800_mbps + + @num_tx_vht_800_mbps.setter + def num_tx_vht_800_mbps(self, num_tx_vht_800_mbps): + """Sets the num_tx_vht_800_mbps of this ClientMetrics. + + + :param num_tx_vht_800_mbps: The num_tx_vht_800_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_800_mbps = num_tx_vht_800_mbps + + @property + def num_tx_vht_866_7_mbps(self): + """Gets the num_tx_vht_866_7_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_vht_866_7_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_866_7_mbps + + @num_tx_vht_866_7_mbps.setter + def num_tx_vht_866_7_mbps(self, num_tx_vht_866_7_mbps): + """Sets the num_tx_vht_866_7_mbps of this ClientMetrics. + + + :param num_tx_vht_866_7_mbps: The num_tx_vht_866_7_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_866_7_mbps = num_tx_vht_866_7_mbps + + @property + def num_tx_vht_877_5_mbps(self): + """Gets the num_tx_vht_877_5_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_vht_877_5_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_877_5_mbps + + @num_tx_vht_877_5_mbps.setter + def num_tx_vht_877_5_mbps(self, num_tx_vht_877_5_mbps): + """Sets the num_tx_vht_877_5_mbps of this ClientMetrics. + + + :param num_tx_vht_877_5_mbps: The num_tx_vht_877_5_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_877_5_mbps = num_tx_vht_877_5_mbps + + @property + def num_tx_vht_936_mbps(self): + """Gets the num_tx_vht_936_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_vht_936_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_936_mbps + + @num_tx_vht_936_mbps.setter + def num_tx_vht_936_mbps(self, num_tx_vht_936_mbps): + """Sets the num_tx_vht_936_mbps of this ClientMetrics. + + + :param num_tx_vht_936_mbps: The num_tx_vht_936_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_936_mbps = num_tx_vht_936_mbps + + @property + def num_tx_vht_975_mbps(self): + """Gets the num_tx_vht_975_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_vht_975_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_975_mbps + + @num_tx_vht_975_mbps.setter + def num_tx_vht_975_mbps(self, num_tx_vht_975_mbps): + """Sets the num_tx_vht_975_mbps of this ClientMetrics. + + + :param num_tx_vht_975_mbps: The num_tx_vht_975_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_975_mbps = num_tx_vht_975_mbps + + @property + def num_tx_vht_1040_mbps(self): + """Gets the num_tx_vht_1040_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_vht_1040_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_1040_mbps + + @num_tx_vht_1040_mbps.setter + def num_tx_vht_1040_mbps(self, num_tx_vht_1040_mbps): + """Sets the num_tx_vht_1040_mbps of this ClientMetrics. + + + :param num_tx_vht_1040_mbps: The num_tx_vht_1040_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_1040_mbps = num_tx_vht_1040_mbps + + @property + def num_tx_vht_1053_mbps(self): + """Gets the num_tx_vht_1053_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_vht_1053_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_1053_mbps + + @num_tx_vht_1053_mbps.setter + def num_tx_vht_1053_mbps(self, num_tx_vht_1053_mbps): + """Sets the num_tx_vht_1053_mbps of this ClientMetrics. + + + :param num_tx_vht_1053_mbps: The num_tx_vht_1053_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_1053_mbps = num_tx_vht_1053_mbps + + @property + def num_tx_vht_1053_1_mbps(self): + """Gets the num_tx_vht_1053_1_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_vht_1053_1_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_1053_1_mbps + + @num_tx_vht_1053_1_mbps.setter + def num_tx_vht_1053_1_mbps(self, num_tx_vht_1053_1_mbps): + """Sets the num_tx_vht_1053_1_mbps of this ClientMetrics. + + + :param num_tx_vht_1053_1_mbps: The num_tx_vht_1053_1_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_1053_1_mbps = num_tx_vht_1053_1_mbps + + @property + def num_tx_vht_1170_mbps(self): + """Gets the num_tx_vht_1170_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_vht_1170_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_1170_mbps + + @num_tx_vht_1170_mbps.setter + def num_tx_vht_1170_mbps(self, num_tx_vht_1170_mbps): + """Sets the num_tx_vht_1170_mbps of this ClientMetrics. + + + :param num_tx_vht_1170_mbps: The num_tx_vht_1170_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_1170_mbps = num_tx_vht_1170_mbps + + @property + def num_tx_vht_1300_mbps(self): + """Gets the num_tx_vht_1300_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_vht_1300_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_1300_mbps + + @num_tx_vht_1300_mbps.setter + def num_tx_vht_1300_mbps(self, num_tx_vht_1300_mbps): + """Sets the num_tx_vht_1300_mbps of this ClientMetrics. + + + :param num_tx_vht_1300_mbps: The num_tx_vht_1300_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_1300_mbps = num_tx_vht_1300_mbps + + @property + def num_tx_vht_1404_mbps(self): + """Gets the num_tx_vht_1404_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_vht_1404_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_1404_mbps + + @num_tx_vht_1404_mbps.setter + def num_tx_vht_1404_mbps(self, num_tx_vht_1404_mbps): + """Sets the num_tx_vht_1404_mbps of this ClientMetrics. + + + :param num_tx_vht_1404_mbps: The num_tx_vht_1404_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_1404_mbps = num_tx_vht_1404_mbps + + @property + def num_tx_vht_1560_mbps(self): + """Gets the num_tx_vht_1560_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_vht_1560_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_1560_mbps + + @num_tx_vht_1560_mbps.setter + def num_tx_vht_1560_mbps(self, num_tx_vht_1560_mbps): + """Sets the num_tx_vht_1560_mbps of this ClientMetrics. + + + :param num_tx_vht_1560_mbps: The num_tx_vht_1560_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_1560_mbps = num_tx_vht_1560_mbps + + @property + def num_tx_vht_1579_5_mbps(self): + """Gets the num_tx_vht_1579_5_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_vht_1579_5_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_1579_5_mbps + + @num_tx_vht_1579_5_mbps.setter + def num_tx_vht_1579_5_mbps(self, num_tx_vht_1579_5_mbps): + """Sets the num_tx_vht_1579_5_mbps of this ClientMetrics. + + + :param num_tx_vht_1579_5_mbps: The num_tx_vht_1579_5_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_1579_5_mbps = num_tx_vht_1579_5_mbps + + @property + def num_tx_vht_1733_1_mbps(self): + """Gets the num_tx_vht_1733_1_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_vht_1733_1_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_1733_1_mbps + + @num_tx_vht_1733_1_mbps.setter + def num_tx_vht_1733_1_mbps(self, num_tx_vht_1733_1_mbps): + """Sets the num_tx_vht_1733_1_mbps of this ClientMetrics. + + + :param num_tx_vht_1733_1_mbps: The num_tx_vht_1733_1_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_1733_1_mbps = num_tx_vht_1733_1_mbps + + @property + def num_tx_vht_1733_4_mbps(self): + """Gets the num_tx_vht_1733_4_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_vht_1733_4_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_1733_4_mbps + + @num_tx_vht_1733_4_mbps.setter + def num_tx_vht_1733_4_mbps(self, num_tx_vht_1733_4_mbps): + """Sets the num_tx_vht_1733_4_mbps of this ClientMetrics. + + + :param num_tx_vht_1733_4_mbps: The num_tx_vht_1733_4_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_1733_4_mbps = num_tx_vht_1733_4_mbps + + @property + def num_tx_vht_1755_mbps(self): + """Gets the num_tx_vht_1755_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_vht_1755_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_1755_mbps + + @num_tx_vht_1755_mbps.setter + def num_tx_vht_1755_mbps(self, num_tx_vht_1755_mbps): + """Sets the num_tx_vht_1755_mbps of this ClientMetrics. + + + :param num_tx_vht_1755_mbps: The num_tx_vht_1755_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_1755_mbps = num_tx_vht_1755_mbps + + @property + def num_tx_vht_1872_mbps(self): + """Gets the num_tx_vht_1872_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_vht_1872_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_1872_mbps + + @num_tx_vht_1872_mbps.setter + def num_tx_vht_1872_mbps(self, num_tx_vht_1872_mbps): + """Sets the num_tx_vht_1872_mbps of this ClientMetrics. + + + :param num_tx_vht_1872_mbps: The num_tx_vht_1872_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_1872_mbps = num_tx_vht_1872_mbps + + @property + def num_tx_vht_1950_mbps(self): + """Gets the num_tx_vht_1950_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_vht_1950_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_1950_mbps + + @num_tx_vht_1950_mbps.setter + def num_tx_vht_1950_mbps(self, num_tx_vht_1950_mbps): + """Sets the num_tx_vht_1950_mbps of this ClientMetrics. + + + :param num_tx_vht_1950_mbps: The num_tx_vht_1950_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_1950_mbps = num_tx_vht_1950_mbps + + @property + def num_tx_vht_2080_mbps(self): + """Gets the num_tx_vht_2080_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_vht_2080_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_2080_mbps + + @num_tx_vht_2080_mbps.setter + def num_tx_vht_2080_mbps(self, num_tx_vht_2080_mbps): + """Sets the num_tx_vht_2080_mbps of this ClientMetrics. + + + :param num_tx_vht_2080_mbps: The num_tx_vht_2080_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_2080_mbps = num_tx_vht_2080_mbps + + @property + def num_tx_vht_2106_mbps(self): + """Gets the num_tx_vht_2106_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_vht_2106_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_2106_mbps + + @num_tx_vht_2106_mbps.setter + def num_tx_vht_2106_mbps(self, num_tx_vht_2106_mbps): + """Sets the num_tx_vht_2106_mbps of this ClientMetrics. + + + :param num_tx_vht_2106_mbps: The num_tx_vht_2106_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_2106_mbps = num_tx_vht_2106_mbps + + @property + def num_tx_vht_2340_mbps(self): + """Gets the num_tx_vht_2340_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_vht_2340_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_2340_mbps + + @num_tx_vht_2340_mbps.setter + def num_tx_vht_2340_mbps(self, num_tx_vht_2340_mbps): + """Sets the num_tx_vht_2340_mbps of this ClientMetrics. + + + :param num_tx_vht_2340_mbps: The num_tx_vht_2340_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_2340_mbps = num_tx_vht_2340_mbps + + @property + def num_tx_vht_2600_mbps(self): + """Gets the num_tx_vht_2600_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_vht_2600_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_2600_mbps + + @num_tx_vht_2600_mbps.setter + def num_tx_vht_2600_mbps(self, num_tx_vht_2600_mbps): + """Sets the num_tx_vht_2600_mbps of this ClientMetrics. + + + :param num_tx_vht_2600_mbps: The num_tx_vht_2600_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_2600_mbps = num_tx_vht_2600_mbps + + @property + def num_tx_vht_2808_mbps(self): + """Gets the num_tx_vht_2808_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_vht_2808_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_2808_mbps + + @num_tx_vht_2808_mbps.setter + def num_tx_vht_2808_mbps(self, num_tx_vht_2808_mbps): + """Sets the num_tx_vht_2808_mbps of this ClientMetrics. + + + :param num_tx_vht_2808_mbps: The num_tx_vht_2808_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_2808_mbps = num_tx_vht_2808_mbps + + @property + def num_tx_vht_3120_mbps(self): + """Gets the num_tx_vht_3120_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_vht_3120_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_3120_mbps + + @num_tx_vht_3120_mbps.setter + def num_tx_vht_3120_mbps(self, num_tx_vht_3120_mbps): + """Sets the num_tx_vht_3120_mbps of this ClientMetrics. + + + :param num_tx_vht_3120_mbps: The num_tx_vht_3120_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_3120_mbps = num_tx_vht_3120_mbps + + @property + def num_tx_vht_3466_8_mbps(self): + """Gets the num_tx_vht_3466_8_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_tx_vht_3466_8_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_3466_8_mbps + + @num_tx_vht_3466_8_mbps.setter + def num_tx_vht_3466_8_mbps(self, num_tx_vht_3466_8_mbps): + """Sets the num_tx_vht_3466_8_mbps of this ClientMetrics. + + + :param num_tx_vht_3466_8_mbps: The num_tx_vht_3466_8_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_3466_8_mbps = num_tx_vht_3466_8_mbps + + @property + def num_rx_vht_292_5_mbps(self): + """Gets the num_rx_vht_292_5_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_vht_292_5_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_292_5_mbps + + @num_rx_vht_292_5_mbps.setter + def num_rx_vht_292_5_mbps(self, num_rx_vht_292_5_mbps): + """Sets the num_rx_vht_292_5_mbps of this ClientMetrics. + + + :param num_rx_vht_292_5_mbps: The num_rx_vht_292_5_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_292_5_mbps = num_rx_vht_292_5_mbps + + @property + def num_rx_vht_325_mbps(self): + """Gets the num_rx_vht_325_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_vht_325_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_325_mbps + + @num_rx_vht_325_mbps.setter + def num_rx_vht_325_mbps(self, num_rx_vht_325_mbps): + """Sets the num_rx_vht_325_mbps of this ClientMetrics. + + + :param num_rx_vht_325_mbps: The num_rx_vht_325_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_325_mbps = num_rx_vht_325_mbps + + @property + def num_rx_vht_364_5_mbps(self): + """Gets the num_rx_vht_364_5_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_vht_364_5_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_364_5_mbps + + @num_rx_vht_364_5_mbps.setter + def num_rx_vht_364_5_mbps(self, num_rx_vht_364_5_mbps): + """Sets the num_rx_vht_364_5_mbps of this ClientMetrics. + + + :param num_rx_vht_364_5_mbps: The num_rx_vht_364_5_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_364_5_mbps = num_rx_vht_364_5_mbps + + @property + def num_rx_vht_390_mbps(self): + """Gets the num_rx_vht_390_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_vht_390_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_390_mbps + + @num_rx_vht_390_mbps.setter + def num_rx_vht_390_mbps(self, num_rx_vht_390_mbps): + """Sets the num_rx_vht_390_mbps of this ClientMetrics. + + + :param num_rx_vht_390_mbps: The num_rx_vht_390_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_390_mbps = num_rx_vht_390_mbps + + @property + def num_rx_vht_400_mbps(self): + """Gets the num_rx_vht_400_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_vht_400_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_400_mbps + + @num_rx_vht_400_mbps.setter + def num_rx_vht_400_mbps(self, num_rx_vht_400_mbps): + """Sets the num_rx_vht_400_mbps of this ClientMetrics. + + + :param num_rx_vht_400_mbps: The num_rx_vht_400_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_400_mbps = num_rx_vht_400_mbps + + @property + def num_rx_vht_403_mbps(self): + """Gets the num_rx_vht_403_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_vht_403_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_403_mbps + + @num_rx_vht_403_mbps.setter + def num_rx_vht_403_mbps(self, num_rx_vht_403_mbps): + """Sets the num_rx_vht_403_mbps of this ClientMetrics. + + + :param num_rx_vht_403_mbps: The num_rx_vht_403_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_403_mbps = num_rx_vht_403_mbps + + @property + def num_rx_vht_405_mbps(self): + """Gets the num_rx_vht_405_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_vht_405_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_405_mbps + + @num_rx_vht_405_mbps.setter + def num_rx_vht_405_mbps(self, num_rx_vht_405_mbps): + """Sets the num_rx_vht_405_mbps of this ClientMetrics. + + + :param num_rx_vht_405_mbps: The num_rx_vht_405_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_405_mbps = num_rx_vht_405_mbps + + @property + def num_rx_vht_432_mbps(self): + """Gets the num_rx_vht_432_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_vht_432_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_432_mbps + + @num_rx_vht_432_mbps.setter + def num_rx_vht_432_mbps(self, num_rx_vht_432_mbps): + """Sets the num_rx_vht_432_mbps of this ClientMetrics. + + + :param num_rx_vht_432_mbps: The num_rx_vht_432_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_432_mbps = num_rx_vht_432_mbps + + @property + def num_rx_vht_433_2_mbps(self): + """Gets the num_rx_vht_433_2_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_vht_433_2_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_433_2_mbps + + @num_rx_vht_433_2_mbps.setter + def num_rx_vht_433_2_mbps(self, num_rx_vht_433_2_mbps): + """Sets the num_rx_vht_433_2_mbps of this ClientMetrics. + + + :param num_rx_vht_433_2_mbps: The num_rx_vht_433_2_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_433_2_mbps = num_rx_vht_433_2_mbps + + @property + def num_rx_vht_450_mbps(self): + """Gets the num_rx_vht_450_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_vht_450_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_450_mbps + + @num_rx_vht_450_mbps.setter + def num_rx_vht_450_mbps(self, num_rx_vht_450_mbps): + """Sets the num_rx_vht_450_mbps of this ClientMetrics. + + + :param num_rx_vht_450_mbps: The num_rx_vht_450_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_450_mbps = num_rx_vht_450_mbps + + @property + def num_rx_vht_468_mbps(self): + """Gets the num_rx_vht_468_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_vht_468_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_468_mbps + + @num_rx_vht_468_mbps.setter + def num_rx_vht_468_mbps(self, num_rx_vht_468_mbps): + """Sets the num_rx_vht_468_mbps of this ClientMetrics. + + + :param num_rx_vht_468_mbps: The num_rx_vht_468_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_468_mbps = num_rx_vht_468_mbps + + @property + def num_rx_vht_480_mbps(self): + """Gets the num_rx_vht_480_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_vht_480_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_480_mbps + + @num_rx_vht_480_mbps.setter + def num_rx_vht_480_mbps(self, num_rx_vht_480_mbps): + """Sets the num_rx_vht_480_mbps of this ClientMetrics. + + + :param num_rx_vht_480_mbps: The num_rx_vht_480_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_480_mbps = num_rx_vht_480_mbps + + @property + def num_rx_vht_486_mbps(self): + """Gets the num_rx_vht_486_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_vht_486_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_486_mbps + + @num_rx_vht_486_mbps.setter + def num_rx_vht_486_mbps(self, num_rx_vht_486_mbps): + """Sets the num_rx_vht_486_mbps of this ClientMetrics. + + + :param num_rx_vht_486_mbps: The num_rx_vht_486_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_486_mbps = num_rx_vht_486_mbps + + @property + def num_rx_vht_520_mbps(self): + """Gets the num_rx_vht_520_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_vht_520_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_520_mbps + + @num_rx_vht_520_mbps.setter + def num_rx_vht_520_mbps(self, num_rx_vht_520_mbps): + """Sets the num_rx_vht_520_mbps of this ClientMetrics. + + + :param num_rx_vht_520_mbps: The num_rx_vht_520_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_520_mbps = num_rx_vht_520_mbps + + @property + def num_rx_vht_526_5_mbps(self): + """Gets the num_rx_vht_526_5_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_vht_526_5_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_526_5_mbps + + @num_rx_vht_526_5_mbps.setter + def num_rx_vht_526_5_mbps(self, num_rx_vht_526_5_mbps): + """Sets the num_rx_vht_526_5_mbps of this ClientMetrics. + + + :param num_rx_vht_526_5_mbps: The num_rx_vht_526_5_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_526_5_mbps = num_rx_vht_526_5_mbps + + @property + def num_rx_vht_540_mbps(self): + """Gets the num_rx_vht_540_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_vht_540_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_540_mbps + + @num_rx_vht_540_mbps.setter + def num_rx_vht_540_mbps(self, num_rx_vht_540_mbps): + """Sets the num_rx_vht_540_mbps of this ClientMetrics. + + + :param num_rx_vht_540_mbps: The num_rx_vht_540_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_540_mbps = num_rx_vht_540_mbps + + @property + def num_rx_vht_585_mbps(self): + """Gets the num_rx_vht_585_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_vht_585_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_585_mbps + + @num_rx_vht_585_mbps.setter + def num_rx_vht_585_mbps(self, num_rx_vht_585_mbps): + """Sets the num_rx_vht_585_mbps of this ClientMetrics. + + + :param num_rx_vht_585_mbps: The num_rx_vht_585_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_585_mbps = num_rx_vht_585_mbps + + @property + def num_rx_vht_600_mbps(self): + """Gets the num_rx_vht_600_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_vht_600_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_600_mbps + + @num_rx_vht_600_mbps.setter + def num_rx_vht_600_mbps(self, num_rx_vht_600_mbps): + """Sets the num_rx_vht_600_mbps of this ClientMetrics. + + + :param num_rx_vht_600_mbps: The num_rx_vht_600_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_600_mbps = num_rx_vht_600_mbps + + @property + def num_rx_vht_648_mbps(self): + """Gets the num_rx_vht_648_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_vht_648_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_648_mbps + + @num_rx_vht_648_mbps.setter + def num_rx_vht_648_mbps(self, num_rx_vht_648_mbps): + """Sets the num_rx_vht_648_mbps of this ClientMetrics. + + + :param num_rx_vht_648_mbps: The num_rx_vht_648_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_648_mbps = num_rx_vht_648_mbps + + @property + def num_rx_vht_650_mbps(self): + """Gets the num_rx_vht_650_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_vht_650_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_650_mbps + + @num_rx_vht_650_mbps.setter + def num_rx_vht_650_mbps(self, num_rx_vht_650_mbps): + """Sets the num_rx_vht_650_mbps of this ClientMetrics. + + + :param num_rx_vht_650_mbps: The num_rx_vht_650_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_650_mbps = num_rx_vht_650_mbps + + @property + def num_rx_vht_702_mbps(self): + """Gets the num_rx_vht_702_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_vht_702_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_702_mbps + + @num_rx_vht_702_mbps.setter + def num_rx_vht_702_mbps(self, num_rx_vht_702_mbps): + """Sets the num_rx_vht_702_mbps of this ClientMetrics. + + + :param num_rx_vht_702_mbps: The num_rx_vht_702_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_702_mbps = num_rx_vht_702_mbps + + @property + def num_rx_vht_720_mbps(self): + """Gets the num_rx_vht_720_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_vht_720_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_720_mbps + + @num_rx_vht_720_mbps.setter + def num_rx_vht_720_mbps(self, num_rx_vht_720_mbps): + """Sets the num_rx_vht_720_mbps of this ClientMetrics. + + + :param num_rx_vht_720_mbps: The num_rx_vht_720_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_720_mbps = num_rx_vht_720_mbps + + @property + def num_rx_vht_780_mbps(self): + """Gets the num_rx_vht_780_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_vht_780_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_780_mbps + + @num_rx_vht_780_mbps.setter + def num_rx_vht_780_mbps(self, num_rx_vht_780_mbps): + """Sets the num_rx_vht_780_mbps of this ClientMetrics. + + + :param num_rx_vht_780_mbps: The num_rx_vht_780_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_780_mbps = num_rx_vht_780_mbps + + @property + def num_rx_vht_800_mbps(self): + """Gets the num_rx_vht_800_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_vht_800_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_800_mbps + + @num_rx_vht_800_mbps.setter + def num_rx_vht_800_mbps(self, num_rx_vht_800_mbps): + """Sets the num_rx_vht_800_mbps of this ClientMetrics. + + + :param num_rx_vht_800_mbps: The num_rx_vht_800_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_800_mbps = num_rx_vht_800_mbps + + @property + def num_rx_vht_866_7_mbps(self): + """Gets the num_rx_vht_866_7_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_vht_866_7_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_866_7_mbps + + @num_rx_vht_866_7_mbps.setter + def num_rx_vht_866_7_mbps(self, num_rx_vht_866_7_mbps): + """Sets the num_rx_vht_866_7_mbps of this ClientMetrics. + + + :param num_rx_vht_866_7_mbps: The num_rx_vht_866_7_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_866_7_mbps = num_rx_vht_866_7_mbps + + @property + def num_rx_vht_877_5_mbps(self): + """Gets the num_rx_vht_877_5_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_vht_877_5_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_877_5_mbps + + @num_rx_vht_877_5_mbps.setter + def num_rx_vht_877_5_mbps(self, num_rx_vht_877_5_mbps): + """Sets the num_rx_vht_877_5_mbps of this ClientMetrics. + + + :param num_rx_vht_877_5_mbps: The num_rx_vht_877_5_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_877_5_mbps = num_rx_vht_877_5_mbps + + @property + def num_rx_vht_936_mbps(self): + """Gets the num_rx_vht_936_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_vht_936_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_936_mbps + + @num_rx_vht_936_mbps.setter + def num_rx_vht_936_mbps(self, num_rx_vht_936_mbps): + """Sets the num_rx_vht_936_mbps of this ClientMetrics. + + + :param num_rx_vht_936_mbps: The num_rx_vht_936_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_936_mbps = num_rx_vht_936_mbps + + @property + def num_rx_vht_975_mbps(self): + """Gets the num_rx_vht_975_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_vht_975_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_975_mbps + + @num_rx_vht_975_mbps.setter + def num_rx_vht_975_mbps(self, num_rx_vht_975_mbps): + """Sets the num_rx_vht_975_mbps of this ClientMetrics. + + + :param num_rx_vht_975_mbps: The num_rx_vht_975_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_975_mbps = num_rx_vht_975_mbps + + @property + def num_rx_vht_1040_mbps(self): + """Gets the num_rx_vht_1040_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_vht_1040_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_1040_mbps + + @num_rx_vht_1040_mbps.setter + def num_rx_vht_1040_mbps(self, num_rx_vht_1040_mbps): + """Sets the num_rx_vht_1040_mbps of this ClientMetrics. + + + :param num_rx_vht_1040_mbps: The num_rx_vht_1040_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_1040_mbps = num_rx_vht_1040_mbps + + @property + def num_rx_vht_1053_mbps(self): + """Gets the num_rx_vht_1053_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_vht_1053_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_1053_mbps + + @num_rx_vht_1053_mbps.setter + def num_rx_vht_1053_mbps(self, num_rx_vht_1053_mbps): + """Sets the num_rx_vht_1053_mbps of this ClientMetrics. + + + :param num_rx_vht_1053_mbps: The num_rx_vht_1053_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_1053_mbps = num_rx_vht_1053_mbps + + @property + def num_rx_vht_1053_1_mbps(self): + """Gets the num_rx_vht_1053_1_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_vht_1053_1_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_1053_1_mbps + + @num_rx_vht_1053_1_mbps.setter + def num_rx_vht_1053_1_mbps(self, num_rx_vht_1053_1_mbps): + """Sets the num_rx_vht_1053_1_mbps of this ClientMetrics. + + + :param num_rx_vht_1053_1_mbps: The num_rx_vht_1053_1_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_1053_1_mbps = num_rx_vht_1053_1_mbps + + @property + def num_rx_vht_1170_mbps(self): + """Gets the num_rx_vht_1170_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_vht_1170_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_1170_mbps + + @num_rx_vht_1170_mbps.setter + def num_rx_vht_1170_mbps(self, num_rx_vht_1170_mbps): + """Sets the num_rx_vht_1170_mbps of this ClientMetrics. + + + :param num_rx_vht_1170_mbps: The num_rx_vht_1170_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_1170_mbps = num_rx_vht_1170_mbps + + @property + def num_rx_vht_1300_mbps(self): + """Gets the num_rx_vht_1300_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_vht_1300_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_1300_mbps + + @num_rx_vht_1300_mbps.setter + def num_rx_vht_1300_mbps(self, num_rx_vht_1300_mbps): + """Sets the num_rx_vht_1300_mbps of this ClientMetrics. + + + :param num_rx_vht_1300_mbps: The num_rx_vht_1300_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_1300_mbps = num_rx_vht_1300_mbps + + @property + def num_rx_vht_1404_mbps(self): + """Gets the num_rx_vht_1404_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_vht_1404_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_1404_mbps + + @num_rx_vht_1404_mbps.setter + def num_rx_vht_1404_mbps(self, num_rx_vht_1404_mbps): + """Sets the num_rx_vht_1404_mbps of this ClientMetrics. + + + :param num_rx_vht_1404_mbps: The num_rx_vht_1404_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_1404_mbps = num_rx_vht_1404_mbps + + @property + def num_rx_vht_1560_mbps(self): + """Gets the num_rx_vht_1560_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_vht_1560_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_1560_mbps + + @num_rx_vht_1560_mbps.setter + def num_rx_vht_1560_mbps(self, num_rx_vht_1560_mbps): + """Sets the num_rx_vht_1560_mbps of this ClientMetrics. + + + :param num_rx_vht_1560_mbps: The num_rx_vht_1560_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_1560_mbps = num_rx_vht_1560_mbps + + @property + def num_rx_vht_1579_5_mbps(self): + """Gets the num_rx_vht_1579_5_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_vht_1579_5_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_1579_5_mbps + + @num_rx_vht_1579_5_mbps.setter + def num_rx_vht_1579_5_mbps(self, num_rx_vht_1579_5_mbps): + """Sets the num_rx_vht_1579_5_mbps of this ClientMetrics. + + + :param num_rx_vht_1579_5_mbps: The num_rx_vht_1579_5_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_1579_5_mbps = num_rx_vht_1579_5_mbps + + @property + def num_rx_vht_1733_1_mbps(self): + """Gets the num_rx_vht_1733_1_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_vht_1733_1_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_1733_1_mbps + + @num_rx_vht_1733_1_mbps.setter + def num_rx_vht_1733_1_mbps(self, num_rx_vht_1733_1_mbps): + """Sets the num_rx_vht_1733_1_mbps of this ClientMetrics. + + + :param num_rx_vht_1733_1_mbps: The num_rx_vht_1733_1_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_1733_1_mbps = num_rx_vht_1733_1_mbps + + @property + def num_rx_vht_1733_4_mbps(self): + """Gets the num_rx_vht_1733_4_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_vht_1733_4_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_1733_4_mbps + + @num_rx_vht_1733_4_mbps.setter + def num_rx_vht_1733_4_mbps(self, num_rx_vht_1733_4_mbps): + """Sets the num_rx_vht_1733_4_mbps of this ClientMetrics. + + + :param num_rx_vht_1733_4_mbps: The num_rx_vht_1733_4_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_1733_4_mbps = num_rx_vht_1733_4_mbps + + @property + def num_rx_vht_1755_mbps(self): + """Gets the num_rx_vht_1755_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_vht_1755_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_1755_mbps + + @num_rx_vht_1755_mbps.setter + def num_rx_vht_1755_mbps(self, num_rx_vht_1755_mbps): + """Sets the num_rx_vht_1755_mbps of this ClientMetrics. + + + :param num_rx_vht_1755_mbps: The num_rx_vht_1755_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_1755_mbps = num_rx_vht_1755_mbps + + @property + def num_rx_vht_1872_mbps(self): + """Gets the num_rx_vht_1872_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_vht_1872_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_1872_mbps + + @num_rx_vht_1872_mbps.setter + def num_rx_vht_1872_mbps(self, num_rx_vht_1872_mbps): + """Sets the num_rx_vht_1872_mbps of this ClientMetrics. + + + :param num_rx_vht_1872_mbps: The num_rx_vht_1872_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_1872_mbps = num_rx_vht_1872_mbps + + @property + def num_rx_vht_1950_mbps(self): + """Gets the num_rx_vht_1950_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_vht_1950_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_1950_mbps + + @num_rx_vht_1950_mbps.setter + def num_rx_vht_1950_mbps(self, num_rx_vht_1950_mbps): + """Sets the num_rx_vht_1950_mbps of this ClientMetrics. + + + :param num_rx_vht_1950_mbps: The num_rx_vht_1950_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_1950_mbps = num_rx_vht_1950_mbps + + @property + def num_rx_vht_2080_mbps(self): + """Gets the num_rx_vht_2080_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_vht_2080_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_2080_mbps + + @num_rx_vht_2080_mbps.setter + def num_rx_vht_2080_mbps(self, num_rx_vht_2080_mbps): + """Sets the num_rx_vht_2080_mbps of this ClientMetrics. + + + :param num_rx_vht_2080_mbps: The num_rx_vht_2080_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_2080_mbps = num_rx_vht_2080_mbps + + @property + def num_rx_vht_2106_mbps(self): + """Gets the num_rx_vht_2106_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_vht_2106_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_2106_mbps + + @num_rx_vht_2106_mbps.setter + def num_rx_vht_2106_mbps(self, num_rx_vht_2106_mbps): + """Sets the num_rx_vht_2106_mbps of this ClientMetrics. + + + :param num_rx_vht_2106_mbps: The num_rx_vht_2106_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_2106_mbps = num_rx_vht_2106_mbps + + @property + def num_rx_vht_2340_mbps(self): + """Gets the num_rx_vht_2340_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_vht_2340_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_2340_mbps + + @num_rx_vht_2340_mbps.setter + def num_rx_vht_2340_mbps(self, num_rx_vht_2340_mbps): + """Sets the num_rx_vht_2340_mbps of this ClientMetrics. + + + :param num_rx_vht_2340_mbps: The num_rx_vht_2340_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_2340_mbps = num_rx_vht_2340_mbps + + @property + def num_rx_vht_2600_mbps(self): + """Gets the num_rx_vht_2600_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_vht_2600_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_2600_mbps + + @num_rx_vht_2600_mbps.setter + def num_rx_vht_2600_mbps(self, num_rx_vht_2600_mbps): + """Sets the num_rx_vht_2600_mbps of this ClientMetrics. + + + :param num_rx_vht_2600_mbps: The num_rx_vht_2600_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_2600_mbps = num_rx_vht_2600_mbps + + @property + def num_rx_vht_2808_mbps(self): + """Gets the num_rx_vht_2808_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_vht_2808_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_2808_mbps + + @num_rx_vht_2808_mbps.setter + def num_rx_vht_2808_mbps(self, num_rx_vht_2808_mbps): + """Sets the num_rx_vht_2808_mbps of this ClientMetrics. + + + :param num_rx_vht_2808_mbps: The num_rx_vht_2808_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_2808_mbps = num_rx_vht_2808_mbps + + @property + def num_rx_vht_3120_mbps(self): + """Gets the num_rx_vht_3120_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_vht_3120_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_3120_mbps + + @num_rx_vht_3120_mbps.setter + def num_rx_vht_3120_mbps(self, num_rx_vht_3120_mbps): + """Sets the num_rx_vht_3120_mbps of this ClientMetrics. + + + :param num_rx_vht_3120_mbps: The num_rx_vht_3120_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_3120_mbps = num_rx_vht_3120_mbps + + @property + def num_rx_vht_3466_8_mbps(self): + """Gets the num_rx_vht_3466_8_mbps of this ClientMetrics. # noqa: E501 + + + :return: The num_rx_vht_3466_8_mbps of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_3466_8_mbps + + @num_rx_vht_3466_8_mbps.setter + def num_rx_vht_3466_8_mbps(self, num_rx_vht_3466_8_mbps): + """Sets the num_rx_vht_3466_8_mbps of this ClientMetrics. + + + :param num_rx_vht_3466_8_mbps: The num_rx_vht_3466_8_mbps of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_3466_8_mbps = num_rx_vht_3466_8_mbps + + @property + def rx_last_rssi(self): + """Gets the rx_last_rssi of this ClientMetrics. # noqa: E501 + + The RSSI of last frame received. # noqa: E501 + + :return: The rx_last_rssi of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._rx_last_rssi + + @rx_last_rssi.setter + def rx_last_rssi(self, rx_last_rssi): + """Sets the rx_last_rssi of this ClientMetrics. + + The RSSI of last frame received. # noqa: E501 + + :param rx_last_rssi: The rx_last_rssi of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._rx_last_rssi = rx_last_rssi + + @property + def num_rx_no_fcs_err(self): + """Gets the num_rx_no_fcs_err of this ClientMetrics. # noqa: E501 + + The number of received frames without FCS errors. # noqa: E501 + + :return: The num_rx_no_fcs_err of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_no_fcs_err + + @num_rx_no_fcs_err.setter + def num_rx_no_fcs_err(self, num_rx_no_fcs_err): + """Sets the num_rx_no_fcs_err of this ClientMetrics. + + The number of received frames without FCS errors. # noqa: E501 + + :param num_rx_no_fcs_err: The num_rx_no_fcs_err of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_no_fcs_err = num_rx_no_fcs_err + + @property + def num_rx_data(self): + """Gets the num_rx_data of this ClientMetrics. # noqa: E501 + + The number of received data frames. # noqa: E501 + + :return: The num_rx_data of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_data + + @num_rx_data.setter + def num_rx_data(self, num_rx_data): + """Sets the num_rx_data of this ClientMetrics. + + The number of received data frames. # noqa: E501 + + :param num_rx_data: The num_rx_data of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_data = num_rx_data + + @property + def num_rx_management(self): + """Gets the num_rx_management of this ClientMetrics. # noqa: E501 + + The number of received management frames. # noqa: E501 + + :return: The num_rx_management of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_management + + @num_rx_management.setter + def num_rx_management(self, num_rx_management): + """Sets the num_rx_management of this ClientMetrics. + + The number of received management frames. # noqa: E501 + + :param num_rx_management: The num_rx_management of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_management = num_rx_management + + @property + def num_rx_control(self): + """Gets the num_rx_control of this ClientMetrics. # noqa: E501 + + The number of received control frames. # noqa: E501 + + :return: The num_rx_control of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_control + + @num_rx_control.setter + def num_rx_control(self, num_rx_control): + """Sets the num_rx_control of this ClientMetrics. + + The number of received control frames. # noqa: E501 + + :param num_rx_control: The num_rx_control of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_control = num_rx_control + + @property + def rx_bytes(self): + """Gets the rx_bytes of this ClientMetrics. # noqa: E501 + + The number of received bytes. # noqa: E501 + + :return: The rx_bytes of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._rx_bytes + + @rx_bytes.setter + def rx_bytes(self, rx_bytes): + """Sets the rx_bytes of this ClientMetrics. + + The number of received bytes. # noqa: E501 + + :param rx_bytes: The rx_bytes of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._rx_bytes = rx_bytes + + @property + def rx_data_bytes(self): + """Gets the rx_data_bytes of this ClientMetrics. # noqa: E501 + + The number of received data bytes. # noqa: E501 + + :return: The rx_data_bytes of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._rx_data_bytes + + @rx_data_bytes.setter + def rx_data_bytes(self, rx_data_bytes): + """Sets the rx_data_bytes of this ClientMetrics. + + The number of received data bytes. # noqa: E501 + + :param rx_data_bytes: The rx_data_bytes of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._rx_data_bytes = rx_data_bytes + + @property + def num_rx_rts(self): + """Gets the num_rx_rts of this ClientMetrics. # noqa: E501 + + The number of received RTS frames. # noqa: E501 + + :return: The num_rx_rts of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_rts + + @num_rx_rts.setter + def num_rx_rts(self, num_rx_rts): + """Sets the num_rx_rts of this ClientMetrics. + + The number of received RTS frames. # noqa: E501 + + :param num_rx_rts: The num_rx_rts of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_rts = num_rx_rts + + @property + def num_rx_cts(self): + """Gets the num_rx_cts of this ClientMetrics. # noqa: E501 + + The number of received CTS frames. # noqa: E501 + + :return: The num_rx_cts of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_cts + + @num_rx_cts.setter + def num_rx_cts(self, num_rx_cts): + """Sets the num_rx_cts of this ClientMetrics. + + The number of received CTS frames. # noqa: E501 + + :param num_rx_cts: The num_rx_cts of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_cts = num_rx_cts + + @property + def num_rx_ack(self): + """Gets the num_rx_ack of this ClientMetrics. # noqa: E501 + + The number of all received ACK frames (Acks + BlockAcks). # noqa: E501 + + :return: The num_rx_ack of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ack + + @num_rx_ack.setter + def num_rx_ack(self, num_rx_ack): + """Sets the num_rx_ack of this ClientMetrics. + + The number of all received ACK frames (Acks + BlockAcks). # noqa: E501 + + :param num_rx_ack: The num_rx_ack of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ack = num_rx_ack + + @property + def num_rx_probe_req(self): + """Gets the num_rx_probe_req of this ClientMetrics. # noqa: E501 + + The number of received probe request frames. # noqa: E501 + + :return: The num_rx_probe_req of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_probe_req + + @num_rx_probe_req.setter + def num_rx_probe_req(self, num_rx_probe_req): + """Sets the num_rx_probe_req of this ClientMetrics. + + The number of received probe request frames. # noqa: E501 + + :param num_rx_probe_req: The num_rx_probe_req of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_probe_req = num_rx_probe_req + + @property + def num_rx_retry(self): + """Gets the num_rx_retry of this ClientMetrics. # noqa: E501 + + The number of received retry frames. # noqa: E501 + + :return: The num_rx_retry of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_retry + + @num_rx_retry.setter + def num_rx_retry(self, num_rx_retry): + """Sets the num_rx_retry of this ClientMetrics. + + The number of received retry frames. # noqa: E501 + + :param num_rx_retry: The num_rx_retry of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_retry = num_rx_retry + + @property + def num_rx_dup(self): + """Gets the num_rx_dup of this ClientMetrics. # noqa: E501 + + The number of received duplicated frames. # noqa: E501 + + :return: The num_rx_dup of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_dup + + @num_rx_dup.setter + def num_rx_dup(self, num_rx_dup): + """Sets the num_rx_dup of this ClientMetrics. + + The number of received duplicated frames. # noqa: E501 + + :param num_rx_dup: The num_rx_dup of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_dup = num_rx_dup + + @property + def num_rx_null_data(self): + """Gets the num_rx_null_data of this ClientMetrics. # noqa: E501 + + The number of received null data frames. # noqa: E501 + + :return: The num_rx_null_data of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_null_data + + @num_rx_null_data.setter + def num_rx_null_data(self, num_rx_null_data): + """Sets the num_rx_null_data of this ClientMetrics. + + The number of received null data frames. # noqa: E501 + + :param num_rx_null_data: The num_rx_null_data of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_null_data = num_rx_null_data + + @property + def num_rx_pspoll(self): + """Gets the num_rx_pspoll of this ClientMetrics. # noqa: E501 + + The number of received ps-poll frames. # noqa: E501 + + :return: The num_rx_pspoll of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_pspoll + + @num_rx_pspoll.setter + def num_rx_pspoll(self, num_rx_pspoll): + """Sets the num_rx_pspoll of this ClientMetrics. + + The number of received ps-poll frames. # noqa: E501 + + :param num_rx_pspoll: The num_rx_pspoll of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_pspoll = num_rx_pspoll + + @property + def num_rx_stbc(self): + """Gets the num_rx_stbc of this ClientMetrics. # noqa: E501 + + The number of received STBC frames. # noqa: E501 + + :return: The num_rx_stbc of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_stbc + + @num_rx_stbc.setter + def num_rx_stbc(self, num_rx_stbc): + """Sets the num_rx_stbc of this ClientMetrics. + + The number of received STBC frames. # noqa: E501 + + :param num_rx_stbc: The num_rx_stbc of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_stbc = num_rx_stbc + + @property + def num_rx_ldpc(self): + """Gets the num_rx_ldpc of this ClientMetrics. # noqa: E501 + + The number of received LDPC frames. # noqa: E501 + + :return: The num_rx_ldpc of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ldpc + + @num_rx_ldpc.setter + def num_rx_ldpc(self, num_rx_ldpc): + """Sets the num_rx_ldpc of this ClientMetrics. + + The number of received LDPC frames. # noqa: E501 + + :param num_rx_ldpc: The num_rx_ldpc of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rx_ldpc = num_rx_ldpc + + @property + def last_recv_layer3_ts(self): + """Gets the last_recv_layer3_ts of this ClientMetrics. # noqa: E501 + + The timestamp of last received layer three user traffic (IP data) # noqa: E501 + + :return: The last_recv_layer3_ts of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._last_recv_layer3_ts + + @last_recv_layer3_ts.setter + def last_recv_layer3_ts(self, last_recv_layer3_ts): + """Sets the last_recv_layer3_ts of this ClientMetrics. + + The timestamp of last received layer three user traffic (IP data) # noqa: E501 + + :param last_recv_layer3_ts: The last_recv_layer3_ts of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._last_recv_layer3_ts = last_recv_layer3_ts + + @property + def num_rcv_frame_for_tx(self): + """Gets the num_rcv_frame_for_tx of this ClientMetrics. # noqa: E501 + + The number of received ethernet and local generated frames for transmit. # noqa: E501 + + :return: The num_rcv_frame_for_tx of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_rcv_frame_for_tx + + @num_rcv_frame_for_tx.setter + def num_rcv_frame_for_tx(self, num_rcv_frame_for_tx): + """Sets the num_rcv_frame_for_tx of this ClientMetrics. + + The number of received ethernet and local generated frames for transmit. # noqa: E501 + + :param num_rcv_frame_for_tx: The num_rcv_frame_for_tx of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_rcv_frame_for_tx = num_rcv_frame_for_tx + + @property + def num_tx_queued(self): + """Gets the num_tx_queued of this ClientMetrics. # noqa: E501 + + The number of TX frames queued. # noqa: E501 + + :return: The num_tx_queued of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_queued + + @num_tx_queued.setter + def num_tx_queued(self, num_tx_queued): + """Sets the num_tx_queued of this ClientMetrics. + + The number of TX frames queued. # noqa: E501 + + :param num_tx_queued: The num_tx_queued of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_queued = num_tx_queued + + @property + def num_tx_dropped(self): + """Gets the num_tx_dropped of this ClientMetrics. # noqa: E501 + + The number of every TX frame dropped. # noqa: E501 + + :return: The num_tx_dropped of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_dropped + + @num_tx_dropped.setter + def num_tx_dropped(self, num_tx_dropped): + """Sets the num_tx_dropped of this ClientMetrics. + + The number of every TX frame dropped. # noqa: E501 + + :param num_tx_dropped: The num_tx_dropped of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_dropped = num_tx_dropped + + @property + def num_tx_retry_dropped(self): + """Gets the num_tx_retry_dropped of this ClientMetrics. # noqa: E501 + + The number of TX frame dropped due to retries. # noqa: E501 + + :return: The num_tx_retry_dropped of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_retry_dropped + + @num_tx_retry_dropped.setter + def num_tx_retry_dropped(self, num_tx_retry_dropped): + """Sets the num_tx_retry_dropped of this ClientMetrics. + + The number of TX frame dropped due to retries. # noqa: E501 + + :param num_tx_retry_dropped: The num_tx_retry_dropped of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_retry_dropped = num_tx_retry_dropped + + @property + def num_tx_succ(self): + """Gets the num_tx_succ of this ClientMetrics. # noqa: E501 + + The number of frames successfully transmitted. # noqa: E501 + + :return: The num_tx_succ of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_succ + + @num_tx_succ.setter + def num_tx_succ(self, num_tx_succ): + """Sets the num_tx_succ of this ClientMetrics. + + The number of frames successfully transmitted. # noqa: E501 + + :param num_tx_succ: The num_tx_succ of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_succ = num_tx_succ + + @property + def num_tx_byte_succ(self): + """Gets the num_tx_byte_succ of this ClientMetrics. # noqa: E501 + + The Number of Tx bytes successfully transmitted. # noqa: E501 + + :return: The num_tx_byte_succ of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_byte_succ + + @num_tx_byte_succ.setter + def num_tx_byte_succ(self, num_tx_byte_succ): + """Sets the num_tx_byte_succ of this ClientMetrics. + + The Number of Tx bytes successfully transmitted. # noqa: E501 + + :param num_tx_byte_succ: The num_tx_byte_succ of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_byte_succ = num_tx_byte_succ + + @property + def num_tx_succ_no_retry(self): + """Gets the num_tx_succ_no_retry of this ClientMetrics. # noqa: E501 + + The number of successfully transmitted frames at first attempt. # noqa: E501 + + :return: The num_tx_succ_no_retry of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_succ_no_retry + + @num_tx_succ_no_retry.setter + def num_tx_succ_no_retry(self, num_tx_succ_no_retry): + """Sets the num_tx_succ_no_retry of this ClientMetrics. + + The number of successfully transmitted frames at first attempt. # noqa: E501 + + :param num_tx_succ_no_retry: The num_tx_succ_no_retry of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_succ_no_retry = num_tx_succ_no_retry + + @property + def num_tx_succ_retries(self): + """Gets the num_tx_succ_retries of this ClientMetrics. # noqa: E501 + + The number of successfully transmitted frames with retries. # noqa: E501 + + :return: The num_tx_succ_retries of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_succ_retries + + @num_tx_succ_retries.setter + def num_tx_succ_retries(self, num_tx_succ_retries): + """Sets the num_tx_succ_retries of this ClientMetrics. + + The number of successfully transmitted frames with retries. # noqa: E501 + + :param num_tx_succ_retries: The num_tx_succ_retries of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_succ_retries = num_tx_succ_retries + + @property + def num_tx_multi_retries(self): + """Gets the num_tx_multi_retries of this ClientMetrics. # noqa: E501 + + The number of Tx frames with retries. # noqa: E501 + + :return: The num_tx_multi_retries of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_multi_retries + + @num_tx_multi_retries.setter + def num_tx_multi_retries(self, num_tx_multi_retries): + """Sets the num_tx_multi_retries of this ClientMetrics. + + The number of Tx frames with retries. # noqa: E501 + + :param num_tx_multi_retries: The num_tx_multi_retries of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_multi_retries = num_tx_multi_retries + + @property + def num_tx_management(self): + """Gets the num_tx_management of this ClientMetrics. # noqa: E501 + + The number of TX management frames. # noqa: E501 + + :return: The num_tx_management of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_management + + @num_tx_management.setter + def num_tx_management(self, num_tx_management): + """Sets the num_tx_management of this ClientMetrics. + + The number of TX management frames. # noqa: E501 + + :param num_tx_management: The num_tx_management of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_management = num_tx_management + + @property + def num_tx_control(self): + """Gets the num_tx_control of this ClientMetrics. # noqa: E501 + + The number of Tx control frames. # noqa: E501 + + :return: The num_tx_control of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_control + + @num_tx_control.setter + def num_tx_control(self, num_tx_control): + """Sets the num_tx_control of this ClientMetrics. + + The number of Tx control frames. # noqa: E501 + + :param num_tx_control: The num_tx_control of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_control = num_tx_control + + @property + def num_tx_action(self): + """Gets the num_tx_action of this ClientMetrics. # noqa: E501 + + The number of Tx action frames. # noqa: E501 + + :return: The num_tx_action of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_action + + @num_tx_action.setter + def num_tx_action(self, num_tx_action): + """Sets the num_tx_action of this ClientMetrics. + + The number of Tx action frames. # noqa: E501 + + :param num_tx_action: The num_tx_action of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_action = num_tx_action + + @property + def num_tx_prop_resp(self): + """Gets the num_tx_prop_resp of this ClientMetrics. # noqa: E501 + + The number of TX probe response. # noqa: E501 + + :return: The num_tx_prop_resp of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_prop_resp + + @num_tx_prop_resp.setter + def num_tx_prop_resp(self, num_tx_prop_resp): + """Sets the num_tx_prop_resp of this ClientMetrics. + + The number of TX probe response. # noqa: E501 + + :param num_tx_prop_resp: The num_tx_prop_resp of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_prop_resp = num_tx_prop_resp + + @property + def num_tx_data(self): + """Gets the num_tx_data of this ClientMetrics. # noqa: E501 + + The number of Tx data frames. # noqa: E501 + + :return: The num_tx_data of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_data + + @num_tx_data.setter + def num_tx_data(self, num_tx_data): + """Sets the num_tx_data of this ClientMetrics. + + The number of Tx data frames. # noqa: E501 + + :param num_tx_data: The num_tx_data of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_data = num_tx_data + + @property + def num_tx_data_retries(self): + """Gets the num_tx_data_retries of this ClientMetrics. # noqa: E501 + + The number of Tx data frames with retries,done. # noqa: E501 + + :return: The num_tx_data_retries of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_data_retries + + @num_tx_data_retries.setter + def num_tx_data_retries(self, num_tx_data_retries): + """Sets the num_tx_data_retries of this ClientMetrics. + + The number of Tx data frames with retries,done. # noqa: E501 + + :param num_tx_data_retries: The num_tx_data_retries of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_data_retries = num_tx_data_retries + + @property + def num_tx_rts_succ(self): + """Gets the num_tx_rts_succ of this ClientMetrics. # noqa: E501 + + The number of RTS frames sent successfully, done. # noqa: E501 + + :return: The num_tx_rts_succ of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_rts_succ + + @num_tx_rts_succ.setter + def num_tx_rts_succ(self, num_tx_rts_succ): + """Sets the num_tx_rts_succ of this ClientMetrics. + + The number of RTS frames sent successfully, done. # noqa: E501 + + :param num_tx_rts_succ: The num_tx_rts_succ of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_rts_succ = num_tx_rts_succ + + @property + def num_tx_rts_fail(self): + """Gets the num_tx_rts_fail of this ClientMetrics. # noqa: E501 + + The number of RTS frames failed transmission. # noqa: E501 + + :return: The num_tx_rts_fail of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_rts_fail + + @num_tx_rts_fail.setter + def num_tx_rts_fail(self, num_tx_rts_fail): + """Sets the num_tx_rts_fail of this ClientMetrics. + + The number of RTS frames failed transmission. # noqa: E501 + + :param num_tx_rts_fail: The num_tx_rts_fail of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_rts_fail = num_tx_rts_fail + + @property + def num_tx_no_ack(self): + """Gets the num_tx_no_ack of this ClientMetrics. # noqa: E501 + + The number of TX frames failed because of not Acked. # noqa: E501 + + :return: The num_tx_no_ack of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_no_ack + + @num_tx_no_ack.setter + def num_tx_no_ack(self, num_tx_no_ack): + """Sets the num_tx_no_ack of this ClientMetrics. + + The number of TX frames failed because of not Acked. # noqa: E501 + + :param num_tx_no_ack: The num_tx_no_ack of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_no_ack = num_tx_no_ack + + @property + def num_tx_eapol(self): + """Gets the num_tx_eapol of this ClientMetrics. # noqa: E501 + + The number of EAPOL frames sent. # noqa: E501 + + :return: The num_tx_eapol of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_eapol + + @num_tx_eapol.setter + def num_tx_eapol(self, num_tx_eapol): + """Sets the num_tx_eapol of this ClientMetrics. + + The number of EAPOL frames sent. # noqa: E501 + + :param num_tx_eapol: The num_tx_eapol of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_eapol = num_tx_eapol + + @property + def num_tx_ldpc(self): + """Gets the num_tx_ldpc of this ClientMetrics. # noqa: E501 + + The number of total LDPC frames sent. # noqa: E501 + + :return: The num_tx_ldpc of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ldpc + + @num_tx_ldpc.setter + def num_tx_ldpc(self, num_tx_ldpc): + """Sets the num_tx_ldpc of this ClientMetrics. + + The number of total LDPC frames sent. # noqa: E501 + + :param num_tx_ldpc: The num_tx_ldpc of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_ldpc = num_tx_ldpc + + @property + def num_tx_stbc(self): + """Gets the num_tx_stbc of this ClientMetrics. # noqa: E501 + + The number of total STBC frames sent. # noqa: E501 + + :return: The num_tx_stbc of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_stbc + + @num_tx_stbc.setter + def num_tx_stbc(self, num_tx_stbc): + """Sets the num_tx_stbc of this ClientMetrics. + + The number of total STBC frames sent. # noqa: E501 + + :param num_tx_stbc: The num_tx_stbc of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_stbc = num_tx_stbc + + @property + def num_tx_aggr_succ(self): + """Gets the num_tx_aggr_succ of this ClientMetrics. # noqa: E501 + + The number of aggregation frames sent successfully. # noqa: E501 + + :return: The num_tx_aggr_succ of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_aggr_succ + + @num_tx_aggr_succ.setter + def num_tx_aggr_succ(self, num_tx_aggr_succ): + """Sets the num_tx_aggr_succ of this ClientMetrics. + + The number of aggregation frames sent successfully. # noqa: E501 + + :param num_tx_aggr_succ: The num_tx_aggr_succ of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_aggr_succ = num_tx_aggr_succ + + @property + def num_tx_aggr_one_mpdu(self): + """Gets the num_tx_aggr_one_mpdu of this ClientMetrics. # noqa: E501 + + The number of aggregation frames sent using single MPDU (where the A-MPDU contains only one MPDU ). # noqa: E501 + + :return: The num_tx_aggr_one_mpdu of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._num_tx_aggr_one_mpdu + + @num_tx_aggr_one_mpdu.setter + def num_tx_aggr_one_mpdu(self, num_tx_aggr_one_mpdu): + """Sets the num_tx_aggr_one_mpdu of this ClientMetrics. + + The number of aggregation frames sent using single MPDU (where the A-MPDU contains only one MPDU ). # noqa: E501 + + :param num_tx_aggr_one_mpdu: The num_tx_aggr_one_mpdu of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._num_tx_aggr_one_mpdu = num_tx_aggr_one_mpdu + + @property + def last_sent_layer3_ts(self): + """Gets the last_sent_layer3_ts of this ClientMetrics. # noqa: E501 + + The timestamp of last successfully sent layer three user traffic (IP data). # noqa: E501 + + :return: The last_sent_layer3_ts of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._last_sent_layer3_ts + + @last_sent_layer3_ts.setter + def last_sent_layer3_ts(self, last_sent_layer3_ts): + """Sets the last_sent_layer3_ts of this ClientMetrics. + + The timestamp of last successfully sent layer three user traffic (IP data). # noqa: E501 + + :param last_sent_layer3_ts: The last_sent_layer3_ts of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._last_sent_layer3_ts = last_sent_layer3_ts + + @property + def wmm_queue_stats(self): + """Gets the wmm_queue_stats of this ClientMetrics. # noqa: E501 + + + :return: The wmm_queue_stats of this ClientMetrics. # noqa: E501 + :rtype: WmmQueueStatsPerQueueTypeMap + """ + return self._wmm_queue_stats + + @wmm_queue_stats.setter + def wmm_queue_stats(self, wmm_queue_stats): + """Sets the wmm_queue_stats of this ClientMetrics. + + + :param wmm_queue_stats: The wmm_queue_stats of this ClientMetrics. # noqa: E501 + :type: WmmQueueStatsPerQueueTypeMap + """ + + self._wmm_queue_stats = wmm_queue_stats + + @property + def list_mcs_stats_mcs_stats(self): + """Gets the list_mcs_stats_mcs_stats of this ClientMetrics. # noqa: E501 + + + :return: The list_mcs_stats_mcs_stats of this ClientMetrics. # noqa: E501 + :rtype: list[McsStats] + """ + return self._list_mcs_stats_mcs_stats + + @list_mcs_stats_mcs_stats.setter + def list_mcs_stats_mcs_stats(self, list_mcs_stats_mcs_stats): + """Sets the list_mcs_stats_mcs_stats of this ClientMetrics. + + + :param list_mcs_stats_mcs_stats: The list_mcs_stats_mcs_stats of this ClientMetrics. # noqa: E501 + :type: list[McsStats] + """ + + self._list_mcs_stats_mcs_stats = list_mcs_stats_mcs_stats + + @property + def last_rx_mcs_idx(self): + """Gets the last_rx_mcs_idx of this ClientMetrics. # noqa: E501 + + + :return: The last_rx_mcs_idx of this ClientMetrics. # noqa: E501 + :rtype: McsType + """ + return self._last_rx_mcs_idx + + @last_rx_mcs_idx.setter + def last_rx_mcs_idx(self, last_rx_mcs_idx): + """Sets the last_rx_mcs_idx of this ClientMetrics. + + + :param last_rx_mcs_idx: The last_rx_mcs_idx of this ClientMetrics. # noqa: E501 + :type: McsType + """ + + self._last_rx_mcs_idx = last_rx_mcs_idx + + @property + def last_tx_mcs_idx(self): + """Gets the last_tx_mcs_idx of this ClientMetrics. # noqa: E501 + + + :return: The last_tx_mcs_idx of this ClientMetrics. # noqa: E501 + :rtype: McsType + """ + return self._last_tx_mcs_idx + + @last_tx_mcs_idx.setter + def last_tx_mcs_idx(self, last_tx_mcs_idx): + """Sets the last_tx_mcs_idx of this ClientMetrics. + + + :param last_tx_mcs_idx: The last_tx_mcs_idx of this ClientMetrics. # noqa: E501 + :type: McsType + """ + + self._last_tx_mcs_idx = last_tx_mcs_idx + + @property + def radio_type(self): + """Gets the radio_type of this ClientMetrics. # noqa: E501 + + + :return: The radio_type of this ClientMetrics. # noqa: E501 + :rtype: RadioType + """ + return self._radio_type + + @radio_type.setter + def radio_type(self, radio_type): + """Sets the radio_type of this ClientMetrics. + + + :param radio_type: The radio_type of this ClientMetrics. # noqa: E501 + :type: RadioType + """ + + self._radio_type = radio_type + + @property + def period_length_sec(self): + """Gets the period_length_sec of this ClientMetrics. # noqa: E501 + + How many seconds the AP measured for the metric # noqa: E501 + + :return: The period_length_sec of this ClientMetrics. # noqa: E501 + :rtype: int + """ + return self._period_length_sec + + @period_length_sec.setter + def period_length_sec(self, period_length_sec): + """Sets the period_length_sec of this ClientMetrics. + + How many seconds the AP measured for the metric # noqa: E501 + + :param period_length_sec: The period_length_sec of this ClientMetrics. # noqa: E501 + :type: int + """ + + self._period_length_sec = period_length_sec + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ClientMetrics, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ClientMetrics): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/client_removed_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/client_removed_event.py new file mode 100644 index 000000000..7f45d1f2f --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/client_removed_event.py @@ -0,0 +1,189 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ClientRemovedEvent(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'event_timestamp': 'int', + 'customer_id': 'int', + 'payload': 'Client' + } + + attribute_map = { + 'model_type': 'model_type', + 'event_timestamp': 'eventTimestamp', + 'customer_id': 'customerId', + 'payload': 'payload' + } + + def __init__(self, model_type=None, event_timestamp=None, customer_id=None, payload=None): # noqa: E501 + """ClientRemovedEvent - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._event_timestamp = None + self._customer_id = None + self._payload = None + self.discriminator = None + self.model_type = model_type + if event_timestamp is not None: + self.event_timestamp = event_timestamp + if customer_id is not None: + self.customer_id = customer_id + if payload is not None: + self.payload = payload + + @property + def model_type(self): + """Gets the model_type of this ClientRemovedEvent. # noqa: E501 + + + :return: The model_type of this ClientRemovedEvent. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this ClientRemovedEvent. + + + :param model_type: The model_type of this ClientRemovedEvent. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + + self._model_type = model_type + + @property + def event_timestamp(self): + """Gets the event_timestamp of this ClientRemovedEvent. # noqa: E501 + + + :return: The event_timestamp of this ClientRemovedEvent. # noqa: E501 + :rtype: int + """ + return self._event_timestamp + + @event_timestamp.setter + def event_timestamp(self, event_timestamp): + """Sets the event_timestamp of this ClientRemovedEvent. + + + :param event_timestamp: The event_timestamp of this ClientRemovedEvent. # noqa: E501 + :type: int + """ + + self._event_timestamp = event_timestamp + + @property + def customer_id(self): + """Gets the customer_id of this ClientRemovedEvent. # noqa: E501 + + + :return: The customer_id of this ClientRemovedEvent. # noqa: E501 + :rtype: int + """ + return self._customer_id + + @customer_id.setter + def customer_id(self, customer_id): + """Sets the customer_id of this ClientRemovedEvent. + + + :param customer_id: The customer_id of this ClientRemovedEvent. # noqa: E501 + :type: int + """ + + self._customer_id = customer_id + + @property + def payload(self): + """Gets the payload of this ClientRemovedEvent. # noqa: E501 + + + :return: The payload of this ClientRemovedEvent. # noqa: E501 + :rtype: Client + """ + return self._payload + + @payload.setter + def payload(self, payload): + """Sets the payload of this ClientRemovedEvent. + + + :param payload: The payload of this ClientRemovedEvent. # noqa: E501 + :type: Client + """ + + self._payload = payload + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ClientRemovedEvent, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ClientRemovedEvent): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/client_session.py b/libs/cloudapi/cloudsdk/swagger_client/models/client_session.py new file mode 100644 index 000000000..b01fdf92b --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/client_session.py @@ -0,0 +1,216 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ClientSession(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'mac_address': 'MacAddress', + 'customer_id': 'int', + 'equipment_id': 'int', + 'details': 'ClientSessionDetails', + 'last_modified_timestamp': 'int' + } + + attribute_map = { + 'mac_address': 'macAddress', + 'customer_id': 'customerId', + 'equipment_id': 'equipmentId', + 'details': 'details', + 'last_modified_timestamp': 'lastModifiedTimestamp' + } + + def __init__(self, mac_address=None, customer_id=None, equipment_id=None, details=None, last_modified_timestamp=None): # noqa: E501 + """ClientSession - a model defined in Swagger""" # noqa: E501 + self._mac_address = None + self._customer_id = None + self._equipment_id = None + self._details = None + self._last_modified_timestamp = None + self.discriminator = None + if mac_address is not None: + self.mac_address = mac_address + if customer_id is not None: + self.customer_id = customer_id + if equipment_id is not None: + self.equipment_id = equipment_id + if details is not None: + self.details = details + if last_modified_timestamp is not None: + self.last_modified_timestamp = last_modified_timestamp + + @property + def mac_address(self): + """Gets the mac_address of this ClientSession. # noqa: E501 + + + :return: The mac_address of this ClientSession. # noqa: E501 + :rtype: MacAddress + """ + return self._mac_address + + @mac_address.setter + def mac_address(self, mac_address): + """Sets the mac_address of this ClientSession. + + + :param mac_address: The mac_address of this ClientSession. # noqa: E501 + :type: MacAddress + """ + + self._mac_address = mac_address + + @property + def customer_id(self): + """Gets the customer_id of this ClientSession. # noqa: E501 + + + :return: The customer_id of this ClientSession. # noqa: E501 + :rtype: int + """ + return self._customer_id + + @customer_id.setter + def customer_id(self, customer_id): + """Sets the customer_id of this ClientSession. + + + :param customer_id: The customer_id of this ClientSession. # noqa: E501 + :type: int + """ + + self._customer_id = customer_id + + @property + def equipment_id(self): + """Gets the equipment_id of this ClientSession. # noqa: E501 + + + :return: The equipment_id of this ClientSession. # noqa: E501 + :rtype: int + """ + return self._equipment_id + + @equipment_id.setter + def equipment_id(self, equipment_id): + """Sets the equipment_id of this ClientSession. + + + :param equipment_id: The equipment_id of this ClientSession. # noqa: E501 + :type: int + """ + + self._equipment_id = equipment_id + + @property + def details(self): + """Gets the details of this ClientSession. # noqa: E501 + + + :return: The details of this ClientSession. # noqa: E501 + :rtype: ClientSessionDetails + """ + return self._details + + @details.setter + def details(self, details): + """Sets the details of this ClientSession. + + + :param details: The details of this ClientSession. # noqa: E501 + :type: ClientSessionDetails + """ + + self._details = details + + @property + def last_modified_timestamp(self): + """Gets the last_modified_timestamp of this ClientSession. # noqa: E501 + + This class does not perform checks against concurrrent updates. Here last update always wins. # noqa: E501 + + :return: The last_modified_timestamp of this ClientSession. # noqa: E501 + :rtype: int + """ + return self._last_modified_timestamp + + @last_modified_timestamp.setter + def last_modified_timestamp(self, last_modified_timestamp): + """Sets the last_modified_timestamp of this ClientSession. + + This class does not perform checks against concurrrent updates. Here last update always wins. # noqa: E501 + + :param last_modified_timestamp: The last_modified_timestamp of this ClientSession. # noqa: E501 + :type: int + """ + + self._last_modified_timestamp = last_modified_timestamp + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ClientSession, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ClientSession): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/client_session_changed_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/client_session_changed_event.py new file mode 100644 index 000000000..4ccb95ec3 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/client_session_changed_event.py @@ -0,0 +1,215 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ClientSessionChangedEvent(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'event_timestamp': 'int', + 'customer_id': 'int', + 'equipment_id': 'int', + 'payload': 'ClientSession' + } + + attribute_map = { + 'model_type': 'model_type', + 'event_timestamp': 'eventTimestamp', + 'customer_id': 'customerId', + 'equipment_id': 'equipmentId', + 'payload': 'payload' + } + + def __init__(self, model_type=None, event_timestamp=None, customer_id=None, equipment_id=None, payload=None): # noqa: E501 + """ClientSessionChangedEvent - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._event_timestamp = None + self._customer_id = None + self._equipment_id = None + self._payload = None + self.discriminator = None + self.model_type = model_type + if event_timestamp is not None: + self.event_timestamp = event_timestamp + if customer_id is not None: + self.customer_id = customer_id + if equipment_id is not None: + self.equipment_id = equipment_id + if payload is not None: + self.payload = payload + + @property + def model_type(self): + """Gets the model_type of this ClientSessionChangedEvent. # noqa: E501 + + + :return: The model_type of this ClientSessionChangedEvent. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this ClientSessionChangedEvent. + + + :param model_type: The model_type of this ClientSessionChangedEvent. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + + self._model_type = model_type + + @property + def event_timestamp(self): + """Gets the event_timestamp of this ClientSessionChangedEvent. # noqa: E501 + + + :return: The event_timestamp of this ClientSessionChangedEvent. # noqa: E501 + :rtype: int + """ + return self._event_timestamp + + @event_timestamp.setter + def event_timestamp(self, event_timestamp): + """Sets the event_timestamp of this ClientSessionChangedEvent. + + + :param event_timestamp: The event_timestamp of this ClientSessionChangedEvent. # noqa: E501 + :type: int + """ + + self._event_timestamp = event_timestamp + + @property + def customer_id(self): + """Gets the customer_id of this ClientSessionChangedEvent. # noqa: E501 + + + :return: The customer_id of this ClientSessionChangedEvent. # noqa: E501 + :rtype: int + """ + return self._customer_id + + @customer_id.setter + def customer_id(self, customer_id): + """Sets the customer_id of this ClientSessionChangedEvent. + + + :param customer_id: The customer_id of this ClientSessionChangedEvent. # noqa: E501 + :type: int + """ + + self._customer_id = customer_id + + @property + def equipment_id(self): + """Gets the equipment_id of this ClientSessionChangedEvent. # noqa: E501 + + + :return: The equipment_id of this ClientSessionChangedEvent. # noqa: E501 + :rtype: int + """ + return self._equipment_id + + @equipment_id.setter + def equipment_id(self, equipment_id): + """Sets the equipment_id of this ClientSessionChangedEvent. + + + :param equipment_id: The equipment_id of this ClientSessionChangedEvent. # noqa: E501 + :type: int + """ + + self._equipment_id = equipment_id + + @property + def payload(self): + """Gets the payload of this ClientSessionChangedEvent. # noqa: E501 + + + :return: The payload of this ClientSessionChangedEvent. # noqa: E501 + :rtype: ClientSession + """ + return self._payload + + @payload.setter + def payload(self, payload): + """Sets the payload of this ClientSessionChangedEvent. + + + :param payload: The payload of this ClientSessionChangedEvent. # noqa: E501 + :type: ClientSession + """ + + self._payload = payload + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ClientSessionChangedEvent, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ClientSessionChangedEvent): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/client_session_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/client_session_details.py new file mode 100644 index 000000000..becdfe313 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/client_session_details.py @@ -0,0 +1,1260 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ClientSessionDetails(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'session_id': 'int', + 'auth_timestamp': 'int', + 'assoc_timestamp': 'int', + 'assoc_internal_sc': 'int', + 'ip_timestamp': 'int', + 'disconnect_by_ap_timestamp': 'int', + 'disconnect_by_client_timestamp': 'int', + 'timeout_timestamp': 'int', + 'first_data_sent_timestamp': 'int', + 'first_data_rcvd_timestamp': 'int', + 'ip_address': 'str', + 'radius_username': 'str', + 'ssid': 'str', + 'radio_type': 'RadioType', + 'last_event_timestamp': 'int', + 'hostname': 'str', + 'ap_fingerprint': 'str', + 'user_agent_str': 'str', + 'last_rx_timestamp': 'int', + 'last_tx_timestamp': 'int', + 'cp_username': 'str', + 'dhcp_details': 'ClientDhcpDetails', + 'eap_details': 'ClientEapDetails', + 'metric_details': 'ClientSessionMetricDetails', + 'is_reassociation': 'bool', + 'disconnect_by_ap_reason_code': 'int', + 'disconnect_by_client_reason_code': 'int', + 'disconnect_by_ap_internal_reason_code': 'int', + 'disconnect_by_client_internal_reason_code': 'int', + 'port_enabled_timestamp': 'int', + 'is11_r_used': 'bool', + 'is11_k_used': 'bool', + 'is11_v_used': 'bool', + 'security_type': 'SecurityType', + 'steer_type': 'SteerType', + 'previous_valid_session_id': 'int', + 'last_failure_details': 'ClientFailureDetails', + 'first_failure_details': 'ClientFailureDetails', + 'association_status': 'int', + 'dynamic_vlan': 'int', + 'assoc_rssi': 'int', + 'prior_session_id': 'int', + 'prior_equipment_id': 'int', + 'classification_name': 'str', + 'association_state': 'str' + } + + attribute_map = { + 'session_id': 'sessionId', + 'auth_timestamp': 'authTimestamp', + 'assoc_timestamp': 'assocTimestamp', + 'assoc_internal_sc': 'assocInternalSC', + 'ip_timestamp': 'ipTimestamp', + 'disconnect_by_ap_timestamp': 'disconnectByApTimestamp', + 'disconnect_by_client_timestamp': 'disconnectByClientTimestamp', + 'timeout_timestamp': 'timeoutTimestamp', + 'first_data_sent_timestamp': 'firstDataSentTimestamp', + 'first_data_rcvd_timestamp': 'firstDataRcvdTimestamp', + 'ip_address': 'ipAddress', + 'radius_username': 'radiusUsername', + 'ssid': 'ssid', + 'radio_type': 'radioType', + 'last_event_timestamp': 'lastEventTimestamp', + 'hostname': 'hostname', + 'ap_fingerprint': 'apFingerprint', + 'user_agent_str': 'userAgentStr', + 'last_rx_timestamp': 'lastRxTimestamp', + 'last_tx_timestamp': 'lastTxTimestamp', + 'cp_username': 'cpUsername', + 'dhcp_details': 'dhcpDetails', + 'eap_details': 'eapDetails', + 'metric_details': 'metricDetails', + 'is_reassociation': 'isReassociation', + 'disconnect_by_ap_reason_code': 'disconnectByApReasonCode', + 'disconnect_by_client_reason_code': 'disconnectByClientReasonCode', + 'disconnect_by_ap_internal_reason_code': 'disconnectByApInternalReasonCode', + 'disconnect_by_client_internal_reason_code': 'disconnectByClientInternalReasonCode', + 'port_enabled_timestamp': 'portEnabledTimestamp', + 'is11_r_used': 'is11RUsed', + 'is11_k_used': 'is11KUsed', + 'is11_v_used': 'is11VUsed', + 'security_type': 'securityType', + 'steer_type': 'steerType', + 'previous_valid_session_id': 'previousValidSessionId', + 'last_failure_details': 'lastFailureDetails', + 'first_failure_details': 'firstFailureDetails', + 'association_status': 'associationStatus', + 'dynamic_vlan': 'dynamicVlan', + 'assoc_rssi': 'assocRssi', + 'prior_session_id': 'priorSessionId', + 'prior_equipment_id': 'priorEquipmentId', + 'classification_name': 'classificationName', + 'association_state': 'associationState' + } + + def __init__(self, session_id=None, auth_timestamp=None, assoc_timestamp=None, assoc_internal_sc=None, ip_timestamp=None, disconnect_by_ap_timestamp=None, disconnect_by_client_timestamp=None, timeout_timestamp=None, first_data_sent_timestamp=None, first_data_rcvd_timestamp=None, ip_address=None, radius_username=None, ssid=None, radio_type=None, last_event_timestamp=None, hostname=None, ap_fingerprint=None, user_agent_str=None, last_rx_timestamp=None, last_tx_timestamp=None, cp_username=None, dhcp_details=None, eap_details=None, metric_details=None, is_reassociation=None, disconnect_by_ap_reason_code=None, disconnect_by_client_reason_code=None, disconnect_by_ap_internal_reason_code=None, disconnect_by_client_internal_reason_code=None, port_enabled_timestamp=None, is11_r_used=None, is11_k_used=None, is11_v_used=None, security_type=None, steer_type=None, previous_valid_session_id=None, last_failure_details=None, first_failure_details=None, association_status=None, dynamic_vlan=None, assoc_rssi=None, prior_session_id=None, prior_equipment_id=None, classification_name=None, association_state=None): # noqa: E501 + """ClientSessionDetails - a model defined in Swagger""" # noqa: E501 + self._session_id = None + self._auth_timestamp = None + self._assoc_timestamp = None + self._assoc_internal_sc = None + self._ip_timestamp = None + self._disconnect_by_ap_timestamp = None + self._disconnect_by_client_timestamp = None + self._timeout_timestamp = None + self._first_data_sent_timestamp = None + self._first_data_rcvd_timestamp = None + self._ip_address = None + self._radius_username = None + self._ssid = None + self._radio_type = None + self._last_event_timestamp = None + self._hostname = None + self._ap_fingerprint = None + self._user_agent_str = None + self._last_rx_timestamp = None + self._last_tx_timestamp = None + self._cp_username = None + self._dhcp_details = None + self._eap_details = None + self._metric_details = None + self._is_reassociation = None + self._disconnect_by_ap_reason_code = None + self._disconnect_by_client_reason_code = None + self._disconnect_by_ap_internal_reason_code = None + self._disconnect_by_client_internal_reason_code = None + self._port_enabled_timestamp = None + self._is11_r_used = None + self._is11_k_used = None + self._is11_v_used = None + self._security_type = None + self._steer_type = None + self._previous_valid_session_id = None + self._last_failure_details = None + self._first_failure_details = None + self._association_status = None + self._dynamic_vlan = None + self._assoc_rssi = None + self._prior_session_id = None + self._prior_equipment_id = None + self._classification_name = None + self._association_state = None + self.discriminator = None + if session_id is not None: + self.session_id = session_id + if auth_timestamp is not None: + self.auth_timestamp = auth_timestamp + if assoc_timestamp is not None: + self.assoc_timestamp = assoc_timestamp + if assoc_internal_sc is not None: + self.assoc_internal_sc = assoc_internal_sc + if ip_timestamp is not None: + self.ip_timestamp = ip_timestamp + if disconnect_by_ap_timestamp is not None: + self.disconnect_by_ap_timestamp = disconnect_by_ap_timestamp + if disconnect_by_client_timestamp is not None: + self.disconnect_by_client_timestamp = disconnect_by_client_timestamp + if timeout_timestamp is not None: + self.timeout_timestamp = timeout_timestamp + if first_data_sent_timestamp is not None: + self.first_data_sent_timestamp = first_data_sent_timestamp + if first_data_rcvd_timestamp is not None: + self.first_data_rcvd_timestamp = first_data_rcvd_timestamp + if ip_address is not None: + self.ip_address = ip_address + if radius_username is not None: + self.radius_username = radius_username + if ssid is not None: + self.ssid = ssid + if radio_type is not None: + self.radio_type = radio_type + if last_event_timestamp is not None: + self.last_event_timestamp = last_event_timestamp + if hostname is not None: + self.hostname = hostname + if ap_fingerprint is not None: + self.ap_fingerprint = ap_fingerprint + if user_agent_str is not None: + self.user_agent_str = user_agent_str + if last_rx_timestamp is not None: + self.last_rx_timestamp = last_rx_timestamp + if last_tx_timestamp is not None: + self.last_tx_timestamp = last_tx_timestamp + if cp_username is not None: + self.cp_username = cp_username + if dhcp_details is not None: + self.dhcp_details = dhcp_details + if eap_details is not None: + self.eap_details = eap_details + if metric_details is not None: + self.metric_details = metric_details + if is_reassociation is not None: + self.is_reassociation = is_reassociation + if disconnect_by_ap_reason_code is not None: + self.disconnect_by_ap_reason_code = disconnect_by_ap_reason_code + if disconnect_by_client_reason_code is not None: + self.disconnect_by_client_reason_code = disconnect_by_client_reason_code + if disconnect_by_ap_internal_reason_code is not None: + self.disconnect_by_ap_internal_reason_code = disconnect_by_ap_internal_reason_code + if disconnect_by_client_internal_reason_code is not None: + self.disconnect_by_client_internal_reason_code = disconnect_by_client_internal_reason_code + if port_enabled_timestamp is not None: + self.port_enabled_timestamp = port_enabled_timestamp + if is11_r_used is not None: + self.is11_r_used = is11_r_used + if is11_k_used is not None: + self.is11_k_used = is11_k_used + if is11_v_used is not None: + self.is11_v_used = is11_v_used + if security_type is not None: + self.security_type = security_type + if steer_type is not None: + self.steer_type = steer_type + if previous_valid_session_id is not None: + self.previous_valid_session_id = previous_valid_session_id + if last_failure_details is not None: + self.last_failure_details = last_failure_details + if first_failure_details is not None: + self.first_failure_details = first_failure_details + if association_status is not None: + self.association_status = association_status + if dynamic_vlan is not None: + self.dynamic_vlan = dynamic_vlan + if assoc_rssi is not None: + self.assoc_rssi = assoc_rssi + if prior_session_id is not None: + self.prior_session_id = prior_session_id + if prior_equipment_id is not None: + self.prior_equipment_id = prior_equipment_id + if classification_name is not None: + self.classification_name = classification_name + if association_state is not None: + self.association_state = association_state + + @property + def session_id(self): + """Gets the session_id of this ClientSessionDetails. # noqa: E501 + + + :return: The session_id of this ClientSessionDetails. # noqa: E501 + :rtype: int + """ + return self._session_id + + @session_id.setter + def session_id(self, session_id): + """Sets the session_id of this ClientSessionDetails. + + + :param session_id: The session_id of this ClientSessionDetails. # noqa: E501 + :type: int + """ + + self._session_id = session_id + + @property + def auth_timestamp(self): + """Gets the auth_timestamp of this ClientSessionDetails. # noqa: E501 + + + :return: The auth_timestamp of this ClientSessionDetails. # noqa: E501 + :rtype: int + """ + return self._auth_timestamp + + @auth_timestamp.setter + def auth_timestamp(self, auth_timestamp): + """Sets the auth_timestamp of this ClientSessionDetails. + + + :param auth_timestamp: The auth_timestamp of this ClientSessionDetails. # noqa: E501 + :type: int + """ + + self._auth_timestamp = auth_timestamp + + @property + def assoc_timestamp(self): + """Gets the assoc_timestamp of this ClientSessionDetails. # noqa: E501 + + + :return: The assoc_timestamp of this ClientSessionDetails. # noqa: E501 + :rtype: int + """ + return self._assoc_timestamp + + @assoc_timestamp.setter + def assoc_timestamp(self, assoc_timestamp): + """Sets the assoc_timestamp of this ClientSessionDetails. + + + :param assoc_timestamp: The assoc_timestamp of this ClientSessionDetails. # noqa: E501 + :type: int + """ + + self._assoc_timestamp = assoc_timestamp + + @property + def assoc_internal_sc(self): + """Gets the assoc_internal_sc of this ClientSessionDetails. # noqa: E501 + + + :return: The assoc_internal_sc of this ClientSessionDetails. # noqa: E501 + :rtype: int + """ + return self._assoc_internal_sc + + @assoc_internal_sc.setter + def assoc_internal_sc(self, assoc_internal_sc): + """Sets the assoc_internal_sc of this ClientSessionDetails. + + + :param assoc_internal_sc: The assoc_internal_sc of this ClientSessionDetails. # noqa: E501 + :type: int + """ + + self._assoc_internal_sc = assoc_internal_sc + + @property + def ip_timestamp(self): + """Gets the ip_timestamp of this ClientSessionDetails. # noqa: E501 + + + :return: The ip_timestamp of this ClientSessionDetails. # noqa: E501 + :rtype: int + """ + return self._ip_timestamp + + @ip_timestamp.setter + def ip_timestamp(self, ip_timestamp): + """Sets the ip_timestamp of this ClientSessionDetails. + + + :param ip_timestamp: The ip_timestamp of this ClientSessionDetails. # noqa: E501 + :type: int + """ + + self._ip_timestamp = ip_timestamp + + @property + def disconnect_by_ap_timestamp(self): + """Gets the disconnect_by_ap_timestamp of this ClientSessionDetails. # noqa: E501 + + + :return: The disconnect_by_ap_timestamp of this ClientSessionDetails. # noqa: E501 + :rtype: int + """ + return self._disconnect_by_ap_timestamp + + @disconnect_by_ap_timestamp.setter + def disconnect_by_ap_timestamp(self, disconnect_by_ap_timestamp): + """Sets the disconnect_by_ap_timestamp of this ClientSessionDetails. + + + :param disconnect_by_ap_timestamp: The disconnect_by_ap_timestamp of this ClientSessionDetails. # noqa: E501 + :type: int + """ + + self._disconnect_by_ap_timestamp = disconnect_by_ap_timestamp + + @property + def disconnect_by_client_timestamp(self): + """Gets the disconnect_by_client_timestamp of this ClientSessionDetails. # noqa: E501 + + + :return: The disconnect_by_client_timestamp of this ClientSessionDetails. # noqa: E501 + :rtype: int + """ + return self._disconnect_by_client_timestamp + + @disconnect_by_client_timestamp.setter + def disconnect_by_client_timestamp(self, disconnect_by_client_timestamp): + """Sets the disconnect_by_client_timestamp of this ClientSessionDetails. + + + :param disconnect_by_client_timestamp: The disconnect_by_client_timestamp of this ClientSessionDetails. # noqa: E501 + :type: int + """ + + self._disconnect_by_client_timestamp = disconnect_by_client_timestamp + + @property + def timeout_timestamp(self): + """Gets the timeout_timestamp of this ClientSessionDetails. # noqa: E501 + + + :return: The timeout_timestamp of this ClientSessionDetails. # noqa: E501 + :rtype: int + """ + return self._timeout_timestamp + + @timeout_timestamp.setter + def timeout_timestamp(self, timeout_timestamp): + """Sets the timeout_timestamp of this ClientSessionDetails. + + + :param timeout_timestamp: The timeout_timestamp of this ClientSessionDetails. # noqa: E501 + :type: int + """ + + self._timeout_timestamp = timeout_timestamp + + @property + def first_data_sent_timestamp(self): + """Gets the first_data_sent_timestamp of this ClientSessionDetails. # noqa: E501 + + + :return: The first_data_sent_timestamp of this ClientSessionDetails. # noqa: E501 + :rtype: int + """ + return self._first_data_sent_timestamp + + @first_data_sent_timestamp.setter + def first_data_sent_timestamp(self, first_data_sent_timestamp): + """Sets the first_data_sent_timestamp of this ClientSessionDetails. + + + :param first_data_sent_timestamp: The first_data_sent_timestamp of this ClientSessionDetails. # noqa: E501 + :type: int + """ + + self._first_data_sent_timestamp = first_data_sent_timestamp + + @property + def first_data_rcvd_timestamp(self): + """Gets the first_data_rcvd_timestamp of this ClientSessionDetails. # noqa: E501 + + + :return: The first_data_rcvd_timestamp of this ClientSessionDetails. # noqa: E501 + :rtype: int + """ + return self._first_data_rcvd_timestamp + + @first_data_rcvd_timestamp.setter + def first_data_rcvd_timestamp(self, first_data_rcvd_timestamp): + """Sets the first_data_rcvd_timestamp of this ClientSessionDetails. + + + :param first_data_rcvd_timestamp: The first_data_rcvd_timestamp of this ClientSessionDetails. # noqa: E501 + :type: int + """ + + self._first_data_rcvd_timestamp = first_data_rcvd_timestamp + + @property + def ip_address(self): + """Gets the ip_address of this ClientSessionDetails. # noqa: E501 + + + :return: The ip_address of this ClientSessionDetails. # noqa: E501 + :rtype: str + """ + return self._ip_address + + @ip_address.setter + def ip_address(self, ip_address): + """Sets the ip_address of this ClientSessionDetails. + + + :param ip_address: The ip_address of this ClientSessionDetails. # noqa: E501 + :type: str + """ + + self._ip_address = ip_address + + @property + def radius_username(self): + """Gets the radius_username of this ClientSessionDetails. # noqa: E501 + + + :return: The radius_username of this ClientSessionDetails. # noqa: E501 + :rtype: str + """ + return self._radius_username + + @radius_username.setter + def radius_username(self, radius_username): + """Sets the radius_username of this ClientSessionDetails. + + + :param radius_username: The radius_username of this ClientSessionDetails. # noqa: E501 + :type: str + """ + + self._radius_username = radius_username + + @property + def ssid(self): + """Gets the ssid of this ClientSessionDetails. # noqa: E501 + + + :return: The ssid of this ClientSessionDetails. # noqa: E501 + :rtype: str + """ + return self._ssid + + @ssid.setter + def ssid(self, ssid): + """Sets the ssid of this ClientSessionDetails. + + + :param ssid: The ssid of this ClientSessionDetails. # noqa: E501 + :type: str + """ + + self._ssid = ssid + + @property + def radio_type(self): + """Gets the radio_type of this ClientSessionDetails. # noqa: E501 + + + :return: The radio_type of this ClientSessionDetails. # noqa: E501 + :rtype: RadioType + """ + return self._radio_type + + @radio_type.setter + def radio_type(self, radio_type): + """Sets the radio_type of this ClientSessionDetails. + + + :param radio_type: The radio_type of this ClientSessionDetails. # noqa: E501 + :type: RadioType + """ + + self._radio_type = radio_type + + @property + def last_event_timestamp(self): + """Gets the last_event_timestamp of this ClientSessionDetails. # noqa: E501 + + + :return: The last_event_timestamp of this ClientSessionDetails. # noqa: E501 + :rtype: int + """ + return self._last_event_timestamp + + @last_event_timestamp.setter + def last_event_timestamp(self, last_event_timestamp): + """Sets the last_event_timestamp of this ClientSessionDetails. + + + :param last_event_timestamp: The last_event_timestamp of this ClientSessionDetails. # noqa: E501 + :type: int + """ + + self._last_event_timestamp = last_event_timestamp + + @property + def hostname(self): + """Gets the hostname of this ClientSessionDetails. # noqa: E501 + + + :return: The hostname of this ClientSessionDetails. # noqa: E501 + :rtype: str + """ + return self._hostname + + @hostname.setter + def hostname(self, hostname): + """Sets the hostname of this ClientSessionDetails. + + + :param hostname: The hostname of this ClientSessionDetails. # noqa: E501 + :type: str + """ + + self._hostname = hostname + + @property + def ap_fingerprint(self): + """Gets the ap_fingerprint of this ClientSessionDetails. # noqa: E501 + + + :return: The ap_fingerprint of this ClientSessionDetails. # noqa: E501 + :rtype: str + """ + return self._ap_fingerprint + + @ap_fingerprint.setter + def ap_fingerprint(self, ap_fingerprint): + """Sets the ap_fingerprint of this ClientSessionDetails. + + + :param ap_fingerprint: The ap_fingerprint of this ClientSessionDetails. # noqa: E501 + :type: str + """ + + self._ap_fingerprint = ap_fingerprint + + @property + def user_agent_str(self): + """Gets the user_agent_str of this ClientSessionDetails. # noqa: E501 + + + :return: The user_agent_str of this ClientSessionDetails. # noqa: E501 + :rtype: str + """ + return self._user_agent_str + + @user_agent_str.setter + def user_agent_str(self, user_agent_str): + """Sets the user_agent_str of this ClientSessionDetails. + + + :param user_agent_str: The user_agent_str of this ClientSessionDetails. # noqa: E501 + :type: str + """ + + self._user_agent_str = user_agent_str + + @property + def last_rx_timestamp(self): + """Gets the last_rx_timestamp of this ClientSessionDetails. # noqa: E501 + + + :return: The last_rx_timestamp of this ClientSessionDetails. # noqa: E501 + :rtype: int + """ + return self._last_rx_timestamp + + @last_rx_timestamp.setter + def last_rx_timestamp(self, last_rx_timestamp): + """Sets the last_rx_timestamp of this ClientSessionDetails. + + + :param last_rx_timestamp: The last_rx_timestamp of this ClientSessionDetails. # noqa: E501 + :type: int + """ + + self._last_rx_timestamp = last_rx_timestamp + + @property + def last_tx_timestamp(self): + """Gets the last_tx_timestamp of this ClientSessionDetails. # noqa: E501 + + + :return: The last_tx_timestamp of this ClientSessionDetails. # noqa: E501 + :rtype: int + """ + return self._last_tx_timestamp + + @last_tx_timestamp.setter + def last_tx_timestamp(self, last_tx_timestamp): + """Sets the last_tx_timestamp of this ClientSessionDetails. + + + :param last_tx_timestamp: The last_tx_timestamp of this ClientSessionDetails. # noqa: E501 + :type: int + """ + + self._last_tx_timestamp = last_tx_timestamp + + @property + def cp_username(self): + """Gets the cp_username of this ClientSessionDetails. # noqa: E501 + + + :return: The cp_username of this ClientSessionDetails. # noqa: E501 + :rtype: str + """ + return self._cp_username + + @cp_username.setter + def cp_username(self, cp_username): + """Sets the cp_username of this ClientSessionDetails. + + + :param cp_username: The cp_username of this ClientSessionDetails. # noqa: E501 + :type: str + """ + + self._cp_username = cp_username + + @property + def dhcp_details(self): + """Gets the dhcp_details of this ClientSessionDetails. # noqa: E501 + + + :return: The dhcp_details of this ClientSessionDetails. # noqa: E501 + :rtype: ClientDhcpDetails + """ + return self._dhcp_details + + @dhcp_details.setter + def dhcp_details(self, dhcp_details): + """Sets the dhcp_details of this ClientSessionDetails. + + + :param dhcp_details: The dhcp_details of this ClientSessionDetails. # noqa: E501 + :type: ClientDhcpDetails + """ + + self._dhcp_details = dhcp_details + + @property + def eap_details(self): + """Gets the eap_details of this ClientSessionDetails. # noqa: E501 + + + :return: The eap_details of this ClientSessionDetails. # noqa: E501 + :rtype: ClientEapDetails + """ + return self._eap_details + + @eap_details.setter + def eap_details(self, eap_details): + """Sets the eap_details of this ClientSessionDetails. + + + :param eap_details: The eap_details of this ClientSessionDetails. # noqa: E501 + :type: ClientEapDetails + """ + + self._eap_details = eap_details + + @property + def metric_details(self): + """Gets the metric_details of this ClientSessionDetails. # noqa: E501 + + + :return: The metric_details of this ClientSessionDetails. # noqa: E501 + :rtype: ClientSessionMetricDetails + """ + return self._metric_details + + @metric_details.setter + def metric_details(self, metric_details): + """Sets the metric_details of this ClientSessionDetails. + + + :param metric_details: The metric_details of this ClientSessionDetails. # noqa: E501 + :type: ClientSessionMetricDetails + """ + + self._metric_details = metric_details + + @property + def is_reassociation(self): + """Gets the is_reassociation of this ClientSessionDetails. # noqa: E501 + + + :return: The is_reassociation of this ClientSessionDetails. # noqa: E501 + :rtype: bool + """ + return self._is_reassociation + + @is_reassociation.setter + def is_reassociation(self, is_reassociation): + """Sets the is_reassociation of this ClientSessionDetails. + + + :param is_reassociation: The is_reassociation of this ClientSessionDetails. # noqa: E501 + :type: bool + """ + + self._is_reassociation = is_reassociation + + @property + def disconnect_by_ap_reason_code(self): + """Gets the disconnect_by_ap_reason_code of this ClientSessionDetails. # noqa: E501 + + + :return: The disconnect_by_ap_reason_code of this ClientSessionDetails. # noqa: E501 + :rtype: int + """ + return self._disconnect_by_ap_reason_code + + @disconnect_by_ap_reason_code.setter + def disconnect_by_ap_reason_code(self, disconnect_by_ap_reason_code): + """Sets the disconnect_by_ap_reason_code of this ClientSessionDetails. + + + :param disconnect_by_ap_reason_code: The disconnect_by_ap_reason_code of this ClientSessionDetails. # noqa: E501 + :type: int + """ + + self._disconnect_by_ap_reason_code = disconnect_by_ap_reason_code + + @property + def disconnect_by_client_reason_code(self): + """Gets the disconnect_by_client_reason_code of this ClientSessionDetails. # noqa: E501 + + + :return: The disconnect_by_client_reason_code of this ClientSessionDetails. # noqa: E501 + :rtype: int + """ + return self._disconnect_by_client_reason_code + + @disconnect_by_client_reason_code.setter + def disconnect_by_client_reason_code(self, disconnect_by_client_reason_code): + """Sets the disconnect_by_client_reason_code of this ClientSessionDetails. + + + :param disconnect_by_client_reason_code: The disconnect_by_client_reason_code of this ClientSessionDetails. # noqa: E501 + :type: int + """ + + self._disconnect_by_client_reason_code = disconnect_by_client_reason_code + + @property + def disconnect_by_ap_internal_reason_code(self): + """Gets the disconnect_by_ap_internal_reason_code of this ClientSessionDetails. # noqa: E501 + + + :return: The disconnect_by_ap_internal_reason_code of this ClientSessionDetails. # noqa: E501 + :rtype: int + """ + return self._disconnect_by_ap_internal_reason_code + + @disconnect_by_ap_internal_reason_code.setter + def disconnect_by_ap_internal_reason_code(self, disconnect_by_ap_internal_reason_code): + """Sets the disconnect_by_ap_internal_reason_code of this ClientSessionDetails. + + + :param disconnect_by_ap_internal_reason_code: The disconnect_by_ap_internal_reason_code of this ClientSessionDetails. # noqa: E501 + :type: int + """ + + self._disconnect_by_ap_internal_reason_code = disconnect_by_ap_internal_reason_code + + @property + def disconnect_by_client_internal_reason_code(self): + """Gets the disconnect_by_client_internal_reason_code of this ClientSessionDetails. # noqa: E501 + + + :return: The disconnect_by_client_internal_reason_code of this ClientSessionDetails. # noqa: E501 + :rtype: int + """ + return self._disconnect_by_client_internal_reason_code + + @disconnect_by_client_internal_reason_code.setter + def disconnect_by_client_internal_reason_code(self, disconnect_by_client_internal_reason_code): + """Sets the disconnect_by_client_internal_reason_code of this ClientSessionDetails. + + + :param disconnect_by_client_internal_reason_code: The disconnect_by_client_internal_reason_code of this ClientSessionDetails. # noqa: E501 + :type: int + """ + + self._disconnect_by_client_internal_reason_code = disconnect_by_client_internal_reason_code + + @property + def port_enabled_timestamp(self): + """Gets the port_enabled_timestamp of this ClientSessionDetails. # noqa: E501 + + + :return: The port_enabled_timestamp of this ClientSessionDetails. # noqa: E501 + :rtype: int + """ + return self._port_enabled_timestamp + + @port_enabled_timestamp.setter + def port_enabled_timestamp(self, port_enabled_timestamp): + """Sets the port_enabled_timestamp of this ClientSessionDetails. + + + :param port_enabled_timestamp: The port_enabled_timestamp of this ClientSessionDetails. # noqa: E501 + :type: int + """ + + self._port_enabled_timestamp = port_enabled_timestamp + + @property + def is11_r_used(self): + """Gets the is11_r_used of this ClientSessionDetails. # noqa: E501 + + + :return: The is11_r_used of this ClientSessionDetails. # noqa: E501 + :rtype: bool + """ + return self._is11_r_used + + @is11_r_used.setter + def is11_r_used(self, is11_r_used): + """Sets the is11_r_used of this ClientSessionDetails. + + + :param is11_r_used: The is11_r_used of this ClientSessionDetails. # noqa: E501 + :type: bool + """ + + self._is11_r_used = is11_r_used + + @property + def is11_k_used(self): + """Gets the is11_k_used of this ClientSessionDetails. # noqa: E501 + + + :return: The is11_k_used of this ClientSessionDetails. # noqa: E501 + :rtype: bool + """ + return self._is11_k_used + + @is11_k_used.setter + def is11_k_used(self, is11_k_used): + """Sets the is11_k_used of this ClientSessionDetails. + + + :param is11_k_used: The is11_k_used of this ClientSessionDetails. # noqa: E501 + :type: bool + """ + + self._is11_k_used = is11_k_used + + @property + def is11_v_used(self): + """Gets the is11_v_used of this ClientSessionDetails. # noqa: E501 + + + :return: The is11_v_used of this ClientSessionDetails. # noqa: E501 + :rtype: bool + """ + return self._is11_v_used + + @is11_v_used.setter + def is11_v_used(self, is11_v_used): + """Sets the is11_v_used of this ClientSessionDetails. + + + :param is11_v_used: The is11_v_used of this ClientSessionDetails. # noqa: E501 + :type: bool + """ + + self._is11_v_used = is11_v_used + + @property + def security_type(self): + """Gets the security_type of this ClientSessionDetails. # noqa: E501 + + + :return: The security_type of this ClientSessionDetails. # noqa: E501 + :rtype: SecurityType + """ + return self._security_type + + @security_type.setter + def security_type(self, security_type): + """Sets the security_type of this ClientSessionDetails. + + + :param security_type: The security_type of this ClientSessionDetails. # noqa: E501 + :type: SecurityType + """ + + self._security_type = security_type + + @property + def steer_type(self): + """Gets the steer_type of this ClientSessionDetails. # noqa: E501 + + + :return: The steer_type of this ClientSessionDetails. # noqa: E501 + :rtype: SteerType + """ + return self._steer_type + + @steer_type.setter + def steer_type(self, steer_type): + """Sets the steer_type of this ClientSessionDetails. + + + :param steer_type: The steer_type of this ClientSessionDetails. # noqa: E501 + :type: SteerType + """ + + self._steer_type = steer_type + + @property + def previous_valid_session_id(self): + """Gets the previous_valid_session_id of this ClientSessionDetails. # noqa: E501 + + + :return: The previous_valid_session_id of this ClientSessionDetails. # noqa: E501 + :rtype: int + """ + return self._previous_valid_session_id + + @previous_valid_session_id.setter + def previous_valid_session_id(self, previous_valid_session_id): + """Sets the previous_valid_session_id of this ClientSessionDetails. + + + :param previous_valid_session_id: The previous_valid_session_id of this ClientSessionDetails. # noqa: E501 + :type: int + """ + + self._previous_valid_session_id = previous_valid_session_id + + @property + def last_failure_details(self): + """Gets the last_failure_details of this ClientSessionDetails. # noqa: E501 + + + :return: The last_failure_details of this ClientSessionDetails. # noqa: E501 + :rtype: ClientFailureDetails + """ + return self._last_failure_details + + @last_failure_details.setter + def last_failure_details(self, last_failure_details): + """Sets the last_failure_details of this ClientSessionDetails. + + + :param last_failure_details: The last_failure_details of this ClientSessionDetails. # noqa: E501 + :type: ClientFailureDetails + """ + + self._last_failure_details = last_failure_details + + @property + def first_failure_details(self): + """Gets the first_failure_details of this ClientSessionDetails. # noqa: E501 + + + :return: The first_failure_details of this ClientSessionDetails. # noqa: E501 + :rtype: ClientFailureDetails + """ + return self._first_failure_details + + @first_failure_details.setter + def first_failure_details(self, first_failure_details): + """Sets the first_failure_details of this ClientSessionDetails. + + + :param first_failure_details: The first_failure_details of this ClientSessionDetails. # noqa: E501 + :type: ClientFailureDetails + """ + + self._first_failure_details = first_failure_details + + @property + def association_status(self): + """Gets the association_status of this ClientSessionDetails. # noqa: E501 + + + :return: The association_status of this ClientSessionDetails. # noqa: E501 + :rtype: int + """ + return self._association_status + + @association_status.setter + def association_status(self, association_status): + """Sets the association_status of this ClientSessionDetails. + + + :param association_status: The association_status of this ClientSessionDetails. # noqa: E501 + :type: int + """ + + self._association_status = association_status + + @property + def dynamic_vlan(self): + """Gets the dynamic_vlan of this ClientSessionDetails. # noqa: E501 + + + :return: The dynamic_vlan of this ClientSessionDetails. # noqa: E501 + :rtype: int + """ + return self._dynamic_vlan + + @dynamic_vlan.setter + def dynamic_vlan(self, dynamic_vlan): + """Sets the dynamic_vlan of this ClientSessionDetails. + + + :param dynamic_vlan: The dynamic_vlan of this ClientSessionDetails. # noqa: E501 + :type: int + """ + + self._dynamic_vlan = dynamic_vlan + + @property + def assoc_rssi(self): + """Gets the assoc_rssi of this ClientSessionDetails. # noqa: E501 + + + :return: The assoc_rssi of this ClientSessionDetails. # noqa: E501 + :rtype: int + """ + return self._assoc_rssi + + @assoc_rssi.setter + def assoc_rssi(self, assoc_rssi): + """Sets the assoc_rssi of this ClientSessionDetails. + + + :param assoc_rssi: The assoc_rssi of this ClientSessionDetails. # noqa: E501 + :type: int + """ + + self._assoc_rssi = assoc_rssi + + @property + def prior_session_id(self): + """Gets the prior_session_id of this ClientSessionDetails. # noqa: E501 + + + :return: The prior_session_id of this ClientSessionDetails. # noqa: E501 + :rtype: int + """ + return self._prior_session_id + + @prior_session_id.setter + def prior_session_id(self, prior_session_id): + """Sets the prior_session_id of this ClientSessionDetails. + + + :param prior_session_id: The prior_session_id of this ClientSessionDetails. # noqa: E501 + :type: int + """ + + self._prior_session_id = prior_session_id + + @property + def prior_equipment_id(self): + """Gets the prior_equipment_id of this ClientSessionDetails. # noqa: E501 + + + :return: The prior_equipment_id of this ClientSessionDetails. # noqa: E501 + :rtype: int + """ + return self._prior_equipment_id + + @prior_equipment_id.setter + def prior_equipment_id(self, prior_equipment_id): + """Sets the prior_equipment_id of this ClientSessionDetails. + + + :param prior_equipment_id: The prior_equipment_id of this ClientSessionDetails. # noqa: E501 + :type: int + """ + + self._prior_equipment_id = prior_equipment_id + + @property + def classification_name(self): + """Gets the classification_name of this ClientSessionDetails. # noqa: E501 + + + :return: The classification_name of this ClientSessionDetails. # noqa: E501 + :rtype: str + """ + return self._classification_name + + @classification_name.setter + def classification_name(self, classification_name): + """Sets the classification_name of this ClientSessionDetails. + + + :param classification_name: The classification_name of this ClientSessionDetails. # noqa: E501 + :type: str + """ + + self._classification_name = classification_name + + @property + def association_state(self): + """Gets the association_state of this ClientSessionDetails. # noqa: E501 + + + :return: The association_state of this ClientSessionDetails. # noqa: E501 + :rtype: str + """ + return self._association_state + + @association_state.setter + def association_state(self, association_state): + """Sets the association_state of this ClientSessionDetails. + + + :param association_state: The association_state of this ClientSessionDetails. # noqa: E501 + :type: str + """ + allowed_values = ["_802_11_Authenticated", "_802_11_Associated,", "_802_1x_Authenticated", "Valid_Ip", "Active_Data", "AP_Timeout", "Cloud_Timeout", "Disconnected"] # noqa: E501 + if association_state not in allowed_values: + raise ValueError( + "Invalid value for `association_state` ({0}), must be one of {1}" # noqa: E501 + .format(association_state, allowed_values) + ) + + self._association_state = association_state + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ClientSessionDetails, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ClientSessionDetails): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/client_session_metric_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/client_session_metric_details.py new file mode 100644 index 000000000..b9e9d9ebf --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/client_session_metric_details.py @@ -0,0 +1,532 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ClientSessionMetricDetails(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'rx_bytes': 'int', + 'tx_bytes': 'int', + 'total_rx_packets': 'int', + 'total_tx_packets': 'int', + 'rx_mbps': 'float', + 'tx_mbps': 'float', + 'rssi': 'int', + 'snr': 'int', + 'rx_rate_kbps': 'int', + 'tx_rate_kbps': 'int', + 'last_metric_timestamp': 'int', + 'last_rx_timestamp': 'int', + 'last_tx_timestamp': 'int', + 'classification': 'str', + 'tx_data_frames': 'int', + 'tx_data_frames_retried': 'int', + 'rx_data_frames': 'int' + } + + attribute_map = { + 'rx_bytes': 'rxBytes', + 'tx_bytes': 'txBytes', + 'total_rx_packets': 'totalRxPackets', + 'total_tx_packets': 'totalTxPackets', + 'rx_mbps': 'rxMbps', + 'tx_mbps': 'txMbps', + 'rssi': 'rssi', + 'snr': 'snr', + 'rx_rate_kbps': 'rxRateKbps', + 'tx_rate_kbps': 'txRateKbps', + 'last_metric_timestamp': 'lastMetricTimestamp', + 'last_rx_timestamp': 'lastRxTimestamp', + 'last_tx_timestamp': 'lastTxTimestamp', + 'classification': 'classification', + 'tx_data_frames': 'txDataFrames', + 'tx_data_frames_retried': 'txDataFramesRetried', + 'rx_data_frames': 'rxDataFrames' + } + + def __init__(self, rx_bytes=None, tx_bytes=None, total_rx_packets=None, total_tx_packets=None, rx_mbps=None, tx_mbps=None, rssi=None, snr=None, rx_rate_kbps=None, tx_rate_kbps=None, last_metric_timestamp=None, last_rx_timestamp=None, last_tx_timestamp=None, classification=None, tx_data_frames=None, tx_data_frames_retried=None, rx_data_frames=None): # noqa: E501 + """ClientSessionMetricDetails - a model defined in Swagger""" # noqa: E501 + self._rx_bytes = None + self._tx_bytes = None + self._total_rx_packets = None + self._total_tx_packets = None + self._rx_mbps = None + self._tx_mbps = None + self._rssi = None + self._snr = None + self._rx_rate_kbps = None + self._tx_rate_kbps = None + self._last_metric_timestamp = None + self._last_rx_timestamp = None + self._last_tx_timestamp = None + self._classification = None + self._tx_data_frames = None + self._tx_data_frames_retried = None + self._rx_data_frames = None + self.discriminator = None + if rx_bytes is not None: + self.rx_bytes = rx_bytes + if tx_bytes is not None: + self.tx_bytes = tx_bytes + if total_rx_packets is not None: + self.total_rx_packets = total_rx_packets + if total_tx_packets is not None: + self.total_tx_packets = total_tx_packets + if rx_mbps is not None: + self.rx_mbps = rx_mbps + if tx_mbps is not None: + self.tx_mbps = tx_mbps + if rssi is not None: + self.rssi = rssi + if snr is not None: + self.snr = snr + if rx_rate_kbps is not None: + self.rx_rate_kbps = rx_rate_kbps + if tx_rate_kbps is not None: + self.tx_rate_kbps = tx_rate_kbps + if last_metric_timestamp is not None: + self.last_metric_timestamp = last_metric_timestamp + if last_rx_timestamp is not None: + self.last_rx_timestamp = last_rx_timestamp + if last_tx_timestamp is not None: + self.last_tx_timestamp = last_tx_timestamp + if classification is not None: + self.classification = classification + if tx_data_frames is not None: + self.tx_data_frames = tx_data_frames + if tx_data_frames_retried is not None: + self.tx_data_frames_retried = tx_data_frames_retried + if rx_data_frames is not None: + self.rx_data_frames = rx_data_frames + + @property + def rx_bytes(self): + """Gets the rx_bytes of this ClientSessionMetricDetails. # noqa: E501 + + + :return: The rx_bytes of this ClientSessionMetricDetails. # noqa: E501 + :rtype: int + """ + return self._rx_bytes + + @rx_bytes.setter + def rx_bytes(self, rx_bytes): + """Sets the rx_bytes of this ClientSessionMetricDetails. + + + :param rx_bytes: The rx_bytes of this ClientSessionMetricDetails. # noqa: E501 + :type: int + """ + + self._rx_bytes = rx_bytes + + @property + def tx_bytes(self): + """Gets the tx_bytes of this ClientSessionMetricDetails. # noqa: E501 + + + :return: The tx_bytes of this ClientSessionMetricDetails. # noqa: E501 + :rtype: int + """ + return self._tx_bytes + + @tx_bytes.setter + def tx_bytes(self, tx_bytes): + """Sets the tx_bytes of this ClientSessionMetricDetails. + + + :param tx_bytes: The tx_bytes of this ClientSessionMetricDetails. # noqa: E501 + :type: int + """ + + self._tx_bytes = tx_bytes + + @property + def total_rx_packets(self): + """Gets the total_rx_packets of this ClientSessionMetricDetails. # noqa: E501 + + + :return: The total_rx_packets of this ClientSessionMetricDetails. # noqa: E501 + :rtype: int + """ + return self._total_rx_packets + + @total_rx_packets.setter + def total_rx_packets(self, total_rx_packets): + """Sets the total_rx_packets of this ClientSessionMetricDetails. + + + :param total_rx_packets: The total_rx_packets of this ClientSessionMetricDetails. # noqa: E501 + :type: int + """ + + self._total_rx_packets = total_rx_packets + + @property + def total_tx_packets(self): + """Gets the total_tx_packets of this ClientSessionMetricDetails. # noqa: E501 + + + :return: The total_tx_packets of this ClientSessionMetricDetails. # noqa: E501 + :rtype: int + """ + return self._total_tx_packets + + @total_tx_packets.setter + def total_tx_packets(self, total_tx_packets): + """Sets the total_tx_packets of this ClientSessionMetricDetails. + + + :param total_tx_packets: The total_tx_packets of this ClientSessionMetricDetails. # noqa: E501 + :type: int + """ + + self._total_tx_packets = total_tx_packets + + @property + def rx_mbps(self): + """Gets the rx_mbps of this ClientSessionMetricDetails. # noqa: E501 + + + :return: The rx_mbps of this ClientSessionMetricDetails. # noqa: E501 + :rtype: float + """ + return self._rx_mbps + + @rx_mbps.setter + def rx_mbps(self, rx_mbps): + """Sets the rx_mbps of this ClientSessionMetricDetails. + + + :param rx_mbps: The rx_mbps of this ClientSessionMetricDetails. # noqa: E501 + :type: float + """ + + self._rx_mbps = rx_mbps + + @property + def tx_mbps(self): + """Gets the tx_mbps of this ClientSessionMetricDetails. # noqa: E501 + + + :return: The tx_mbps of this ClientSessionMetricDetails. # noqa: E501 + :rtype: float + """ + return self._tx_mbps + + @tx_mbps.setter + def tx_mbps(self, tx_mbps): + """Sets the tx_mbps of this ClientSessionMetricDetails. + + + :param tx_mbps: The tx_mbps of this ClientSessionMetricDetails. # noqa: E501 + :type: float + """ + + self._tx_mbps = tx_mbps + + @property + def rssi(self): + """Gets the rssi of this ClientSessionMetricDetails. # noqa: E501 + + + :return: The rssi of this ClientSessionMetricDetails. # noqa: E501 + :rtype: int + """ + return self._rssi + + @rssi.setter + def rssi(self, rssi): + """Sets the rssi of this ClientSessionMetricDetails. + + + :param rssi: The rssi of this ClientSessionMetricDetails. # noqa: E501 + :type: int + """ + + self._rssi = rssi + + @property + def snr(self): + """Gets the snr of this ClientSessionMetricDetails. # noqa: E501 + + + :return: The snr of this ClientSessionMetricDetails. # noqa: E501 + :rtype: int + """ + return self._snr + + @snr.setter + def snr(self, snr): + """Sets the snr of this ClientSessionMetricDetails. + + + :param snr: The snr of this ClientSessionMetricDetails. # noqa: E501 + :type: int + """ + + self._snr = snr + + @property + def rx_rate_kbps(self): + """Gets the rx_rate_kbps of this ClientSessionMetricDetails. # noqa: E501 + + + :return: The rx_rate_kbps of this ClientSessionMetricDetails. # noqa: E501 + :rtype: int + """ + return self._rx_rate_kbps + + @rx_rate_kbps.setter + def rx_rate_kbps(self, rx_rate_kbps): + """Sets the rx_rate_kbps of this ClientSessionMetricDetails. + + + :param rx_rate_kbps: The rx_rate_kbps of this ClientSessionMetricDetails. # noqa: E501 + :type: int + """ + + self._rx_rate_kbps = rx_rate_kbps + + @property + def tx_rate_kbps(self): + """Gets the tx_rate_kbps of this ClientSessionMetricDetails. # noqa: E501 + + + :return: The tx_rate_kbps of this ClientSessionMetricDetails. # noqa: E501 + :rtype: int + """ + return self._tx_rate_kbps + + @tx_rate_kbps.setter + def tx_rate_kbps(self, tx_rate_kbps): + """Sets the tx_rate_kbps of this ClientSessionMetricDetails. + + + :param tx_rate_kbps: The tx_rate_kbps of this ClientSessionMetricDetails. # noqa: E501 + :type: int + """ + + self._tx_rate_kbps = tx_rate_kbps + + @property + def last_metric_timestamp(self): + """Gets the last_metric_timestamp of this ClientSessionMetricDetails. # noqa: E501 + + + :return: The last_metric_timestamp of this ClientSessionMetricDetails. # noqa: E501 + :rtype: int + """ + return self._last_metric_timestamp + + @last_metric_timestamp.setter + def last_metric_timestamp(self, last_metric_timestamp): + """Sets the last_metric_timestamp of this ClientSessionMetricDetails. + + + :param last_metric_timestamp: The last_metric_timestamp of this ClientSessionMetricDetails. # noqa: E501 + :type: int + """ + + self._last_metric_timestamp = last_metric_timestamp + + @property + def last_rx_timestamp(self): + """Gets the last_rx_timestamp of this ClientSessionMetricDetails. # noqa: E501 + + + :return: The last_rx_timestamp of this ClientSessionMetricDetails. # noqa: E501 + :rtype: int + """ + return self._last_rx_timestamp + + @last_rx_timestamp.setter + def last_rx_timestamp(self, last_rx_timestamp): + """Sets the last_rx_timestamp of this ClientSessionMetricDetails. + + + :param last_rx_timestamp: The last_rx_timestamp of this ClientSessionMetricDetails. # noqa: E501 + :type: int + """ + + self._last_rx_timestamp = last_rx_timestamp + + @property + def last_tx_timestamp(self): + """Gets the last_tx_timestamp of this ClientSessionMetricDetails. # noqa: E501 + + + :return: The last_tx_timestamp of this ClientSessionMetricDetails. # noqa: E501 + :rtype: int + """ + return self._last_tx_timestamp + + @last_tx_timestamp.setter + def last_tx_timestamp(self, last_tx_timestamp): + """Sets the last_tx_timestamp of this ClientSessionMetricDetails. + + + :param last_tx_timestamp: The last_tx_timestamp of this ClientSessionMetricDetails. # noqa: E501 + :type: int + """ + + self._last_tx_timestamp = last_tx_timestamp + + @property + def classification(self): + """Gets the classification of this ClientSessionMetricDetails. # noqa: E501 + + + :return: The classification of this ClientSessionMetricDetails. # noqa: E501 + :rtype: str + """ + return self._classification + + @classification.setter + def classification(self, classification): + """Sets the classification of this ClientSessionMetricDetails. + + + :param classification: The classification of this ClientSessionMetricDetails. # noqa: E501 + :type: str + """ + + self._classification = classification + + @property + def tx_data_frames(self): + """Gets the tx_data_frames of this ClientSessionMetricDetails. # noqa: E501 + + The number of dataframes transmitted TO the client from the AP. # noqa: E501 + + :return: The tx_data_frames of this ClientSessionMetricDetails. # noqa: E501 + :rtype: int + """ + return self._tx_data_frames + + @tx_data_frames.setter + def tx_data_frames(self, tx_data_frames): + """Sets the tx_data_frames of this ClientSessionMetricDetails. + + The number of dataframes transmitted TO the client from the AP. # noqa: E501 + + :param tx_data_frames: The tx_data_frames of this ClientSessionMetricDetails. # noqa: E501 + :type: int + """ + + self._tx_data_frames = tx_data_frames + + @property + def tx_data_frames_retried(self): + """Gets the tx_data_frames_retried of this ClientSessionMetricDetails. # noqa: E501 + + The number of data frames transmitted TO the client that were retried. Note this is not the same as the number of retries. # noqa: E501 + + :return: The tx_data_frames_retried of this ClientSessionMetricDetails. # noqa: E501 + :rtype: int + """ + return self._tx_data_frames_retried + + @tx_data_frames_retried.setter + def tx_data_frames_retried(self, tx_data_frames_retried): + """Sets the tx_data_frames_retried of this ClientSessionMetricDetails. + + The number of data frames transmitted TO the client that were retried. Note this is not the same as the number of retries. # noqa: E501 + + :param tx_data_frames_retried: The tx_data_frames_retried of this ClientSessionMetricDetails. # noqa: E501 + :type: int + """ + + self._tx_data_frames_retried = tx_data_frames_retried + + @property + def rx_data_frames(self): + """Gets the rx_data_frames of this ClientSessionMetricDetails. # noqa: E501 + + The number of dataframes transmitted FROM the client TO the AP. # noqa: E501 + + :return: The rx_data_frames of this ClientSessionMetricDetails. # noqa: E501 + :rtype: int + """ + return self._rx_data_frames + + @rx_data_frames.setter + def rx_data_frames(self, rx_data_frames): + """Sets the rx_data_frames of this ClientSessionMetricDetails. + + The number of dataframes transmitted FROM the client TO the AP. # noqa: E501 + + :param rx_data_frames: The rx_data_frames of this ClientSessionMetricDetails. # noqa: E501 + :type: int + """ + + self._rx_data_frames = rx_data_frames + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ClientSessionMetricDetails, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ClientSessionMetricDetails): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/client_session_removed_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/client_session_removed_event.py new file mode 100644 index 000000000..c0c6f8184 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/client_session_removed_event.py @@ -0,0 +1,215 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ClientSessionRemovedEvent(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'event_timestamp': 'int', + 'customer_id': 'int', + 'equipment_id': 'int', + 'payload': 'ClientSession' + } + + attribute_map = { + 'model_type': 'model_type', + 'event_timestamp': 'eventTimestamp', + 'customer_id': 'customerId', + 'equipment_id': 'equipmentId', + 'payload': 'payload' + } + + def __init__(self, model_type=None, event_timestamp=None, customer_id=None, equipment_id=None, payload=None): # noqa: E501 + """ClientSessionRemovedEvent - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._event_timestamp = None + self._customer_id = None + self._equipment_id = None + self._payload = None + self.discriminator = None + self.model_type = model_type + if event_timestamp is not None: + self.event_timestamp = event_timestamp + if customer_id is not None: + self.customer_id = customer_id + if equipment_id is not None: + self.equipment_id = equipment_id + if payload is not None: + self.payload = payload + + @property + def model_type(self): + """Gets the model_type of this ClientSessionRemovedEvent. # noqa: E501 + + + :return: The model_type of this ClientSessionRemovedEvent. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this ClientSessionRemovedEvent. + + + :param model_type: The model_type of this ClientSessionRemovedEvent. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + + self._model_type = model_type + + @property + def event_timestamp(self): + """Gets the event_timestamp of this ClientSessionRemovedEvent. # noqa: E501 + + + :return: The event_timestamp of this ClientSessionRemovedEvent. # noqa: E501 + :rtype: int + """ + return self._event_timestamp + + @event_timestamp.setter + def event_timestamp(self, event_timestamp): + """Sets the event_timestamp of this ClientSessionRemovedEvent. + + + :param event_timestamp: The event_timestamp of this ClientSessionRemovedEvent. # noqa: E501 + :type: int + """ + + self._event_timestamp = event_timestamp + + @property + def customer_id(self): + """Gets the customer_id of this ClientSessionRemovedEvent. # noqa: E501 + + + :return: The customer_id of this ClientSessionRemovedEvent. # noqa: E501 + :rtype: int + """ + return self._customer_id + + @customer_id.setter + def customer_id(self, customer_id): + """Sets the customer_id of this ClientSessionRemovedEvent. + + + :param customer_id: The customer_id of this ClientSessionRemovedEvent. # noqa: E501 + :type: int + """ + + self._customer_id = customer_id + + @property + def equipment_id(self): + """Gets the equipment_id of this ClientSessionRemovedEvent. # noqa: E501 + + + :return: The equipment_id of this ClientSessionRemovedEvent. # noqa: E501 + :rtype: int + """ + return self._equipment_id + + @equipment_id.setter + def equipment_id(self, equipment_id): + """Sets the equipment_id of this ClientSessionRemovedEvent. + + + :param equipment_id: The equipment_id of this ClientSessionRemovedEvent. # noqa: E501 + :type: int + """ + + self._equipment_id = equipment_id + + @property + def payload(self): + """Gets the payload of this ClientSessionRemovedEvent. # noqa: E501 + + + :return: The payload of this ClientSessionRemovedEvent. # noqa: E501 + :rtype: ClientSession + """ + return self._payload + + @payload.setter + def payload(self, payload): + """Sets the payload of this ClientSessionRemovedEvent. + + + :param payload: The payload of this ClientSessionRemovedEvent. # noqa: E501 + :type: ClientSession + """ + + self._payload = payload + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ClientSessionRemovedEvent, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ClientSessionRemovedEvent): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/client_timeout_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/client_timeout_event.py new file mode 100644 index 000000000..049f461c7 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/client_timeout_event.py @@ -0,0 +1,267 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ClientTimeoutEvent(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'all_of': 'RealTimeEvent', + 'session_id': 'int', + 'client_mac_address': 'MacAddress', + 'last_recv_time': 'int', + 'last_sent_time': 'int', + 'timeout_reason': 'ClientTimeoutReason' + } + + attribute_map = { + 'model_type': 'model_type', + 'all_of': 'allOf', + 'session_id': 'sessionId', + 'client_mac_address': 'clientMacAddress', + 'last_recv_time': 'lastRecvTime', + 'last_sent_time': 'lastSentTime', + 'timeout_reason': 'timeoutReason' + } + + def __init__(self, model_type=None, all_of=None, session_id=None, client_mac_address=None, last_recv_time=None, last_sent_time=None, timeout_reason=None): # noqa: E501 + """ClientTimeoutEvent - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._all_of = None + self._session_id = None + self._client_mac_address = None + self._last_recv_time = None + self._last_sent_time = None + self._timeout_reason = None + self.discriminator = None + self.model_type = model_type + if all_of is not None: + self.all_of = all_of + if session_id is not None: + self.session_id = session_id + if client_mac_address is not None: + self.client_mac_address = client_mac_address + if last_recv_time is not None: + self.last_recv_time = last_recv_time + if last_sent_time is not None: + self.last_sent_time = last_sent_time + if timeout_reason is not None: + self.timeout_reason = timeout_reason + + @property + def model_type(self): + """Gets the model_type of this ClientTimeoutEvent. # noqa: E501 + + + :return: The model_type of this ClientTimeoutEvent. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this ClientTimeoutEvent. + + + :param model_type: The model_type of this ClientTimeoutEvent. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + + self._model_type = model_type + + @property + def all_of(self): + """Gets the all_of of this ClientTimeoutEvent. # noqa: E501 + + + :return: The all_of of this ClientTimeoutEvent. # noqa: E501 + :rtype: RealTimeEvent + """ + return self._all_of + + @all_of.setter + def all_of(self, all_of): + """Sets the all_of of this ClientTimeoutEvent. + + + :param all_of: The all_of of this ClientTimeoutEvent. # noqa: E501 + :type: RealTimeEvent + """ + + self._all_of = all_of + + @property + def session_id(self): + """Gets the session_id of this ClientTimeoutEvent. # noqa: E501 + + + :return: The session_id of this ClientTimeoutEvent. # noqa: E501 + :rtype: int + """ + return self._session_id + + @session_id.setter + def session_id(self, session_id): + """Sets the session_id of this ClientTimeoutEvent. + + + :param session_id: The session_id of this ClientTimeoutEvent. # noqa: E501 + :type: int + """ + + self._session_id = session_id + + @property + def client_mac_address(self): + """Gets the client_mac_address of this ClientTimeoutEvent. # noqa: E501 + + + :return: The client_mac_address of this ClientTimeoutEvent. # noqa: E501 + :rtype: MacAddress + """ + return self._client_mac_address + + @client_mac_address.setter + def client_mac_address(self, client_mac_address): + """Sets the client_mac_address of this ClientTimeoutEvent. + + + :param client_mac_address: The client_mac_address of this ClientTimeoutEvent. # noqa: E501 + :type: MacAddress + """ + + self._client_mac_address = client_mac_address + + @property + def last_recv_time(self): + """Gets the last_recv_time of this ClientTimeoutEvent. # noqa: E501 + + + :return: The last_recv_time of this ClientTimeoutEvent. # noqa: E501 + :rtype: int + """ + return self._last_recv_time + + @last_recv_time.setter + def last_recv_time(self, last_recv_time): + """Sets the last_recv_time of this ClientTimeoutEvent. + + + :param last_recv_time: The last_recv_time of this ClientTimeoutEvent. # noqa: E501 + :type: int + """ + + self._last_recv_time = last_recv_time + + @property + def last_sent_time(self): + """Gets the last_sent_time of this ClientTimeoutEvent. # noqa: E501 + + + :return: The last_sent_time of this ClientTimeoutEvent. # noqa: E501 + :rtype: int + """ + return self._last_sent_time + + @last_sent_time.setter + def last_sent_time(self, last_sent_time): + """Sets the last_sent_time of this ClientTimeoutEvent. + + + :param last_sent_time: The last_sent_time of this ClientTimeoutEvent. # noqa: E501 + :type: int + """ + + self._last_sent_time = last_sent_time + + @property + def timeout_reason(self): + """Gets the timeout_reason of this ClientTimeoutEvent. # noqa: E501 + + + :return: The timeout_reason of this ClientTimeoutEvent. # noqa: E501 + :rtype: ClientTimeoutReason + """ + return self._timeout_reason + + @timeout_reason.setter + def timeout_reason(self, timeout_reason): + """Sets the timeout_reason of this ClientTimeoutEvent. + + + :param timeout_reason: The timeout_reason of this ClientTimeoutEvent. # noqa: E501 + :type: ClientTimeoutReason + """ + + self._timeout_reason = timeout_reason + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ClientTimeoutEvent, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ClientTimeoutEvent): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/client_timeout_reason.py b/libs/cloudapi/cloudsdk/swagger_client/models/client_timeout_reason.py new file mode 100644 index 000000000..c746ec9b4 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/client_timeout_reason.py @@ -0,0 +1,91 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ClientTimeoutReason(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + IDLETOOLONG = "IdleTooLong" + FAILEDPROBE = "FailedProbe" + UNSUPPORTED = "UNSUPPORTED" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """ClientTimeoutReason - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ClientTimeoutReason, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ClientTimeoutReason): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/common_probe_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/common_probe_details.py new file mode 100644 index 000000000..275035599 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/common_probe_details.py @@ -0,0 +1,188 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class CommonProbeDetails(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'latency_ms': 'MinMaxAvgValueInt', + 'num_success_probe_requests': 'int', + 'num_failed_probe_requests': 'int', + 'status': 'StatusCode' + } + + attribute_map = { + 'latency_ms': 'latencyMs', + 'num_success_probe_requests': 'numSuccessProbeRequests', + 'num_failed_probe_requests': 'numFailedProbeRequests', + 'status': 'status' + } + + def __init__(self, latency_ms=None, num_success_probe_requests=None, num_failed_probe_requests=None, status=None): # noqa: E501 + """CommonProbeDetails - a model defined in Swagger""" # noqa: E501 + self._latency_ms = None + self._num_success_probe_requests = None + self._num_failed_probe_requests = None + self._status = None + self.discriminator = None + if latency_ms is not None: + self.latency_ms = latency_ms + if num_success_probe_requests is not None: + self.num_success_probe_requests = num_success_probe_requests + if num_failed_probe_requests is not None: + self.num_failed_probe_requests = num_failed_probe_requests + if status is not None: + self.status = status + + @property + def latency_ms(self): + """Gets the latency_ms of this CommonProbeDetails. # noqa: E501 + + + :return: The latency_ms of this CommonProbeDetails. # noqa: E501 + :rtype: MinMaxAvgValueInt + """ + return self._latency_ms + + @latency_ms.setter + def latency_ms(self, latency_ms): + """Sets the latency_ms of this CommonProbeDetails. + + + :param latency_ms: The latency_ms of this CommonProbeDetails. # noqa: E501 + :type: MinMaxAvgValueInt + """ + + self._latency_ms = latency_ms + + @property + def num_success_probe_requests(self): + """Gets the num_success_probe_requests of this CommonProbeDetails. # noqa: E501 + + + :return: The num_success_probe_requests of this CommonProbeDetails. # noqa: E501 + :rtype: int + """ + return self._num_success_probe_requests + + @num_success_probe_requests.setter + def num_success_probe_requests(self, num_success_probe_requests): + """Sets the num_success_probe_requests of this CommonProbeDetails. + + + :param num_success_probe_requests: The num_success_probe_requests of this CommonProbeDetails. # noqa: E501 + :type: int + """ + + self._num_success_probe_requests = num_success_probe_requests + + @property + def num_failed_probe_requests(self): + """Gets the num_failed_probe_requests of this CommonProbeDetails. # noqa: E501 + + + :return: The num_failed_probe_requests of this CommonProbeDetails. # noqa: E501 + :rtype: int + """ + return self._num_failed_probe_requests + + @num_failed_probe_requests.setter + def num_failed_probe_requests(self, num_failed_probe_requests): + """Sets the num_failed_probe_requests of this CommonProbeDetails. + + + :param num_failed_probe_requests: The num_failed_probe_requests of this CommonProbeDetails. # noqa: E501 + :type: int + """ + + self._num_failed_probe_requests = num_failed_probe_requests + + @property + def status(self): + """Gets the status of this CommonProbeDetails. # noqa: E501 + + + :return: The status of this CommonProbeDetails. # noqa: E501 + :rtype: StatusCode + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this CommonProbeDetails. + + + :param status: The status of this CommonProbeDetails. # noqa: E501 + :type: StatusCode + """ + + self._status = status + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(CommonProbeDetails, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, CommonProbeDetails): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/country_code.py b/libs/cloudapi/cloudsdk/swagger_client/models/country_code.py new file mode 100644 index 000000000..bf5d34d54 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/country_code.py @@ -0,0 +1,338 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class CountryCode(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + AD = "AD" + AE = "AE" + AF = "AF" + AG = "AG" + AI = "AI" + AL = "AL" + AM = "AM" + AO = "AO" + AQ = "AQ" + AR = "AR" + AS = "AS" + AT = "AT" + AU = "AU" + AW = "AW" + AX = "AX" + AZ = "AZ" + BA = "BA" + BB = "BB" + BD = "BD" + BE = "BE" + BF = "BF" + BG = "BG" + BH = "BH" + BI = "BI" + BJ = "BJ" + BL = "BL" + BM = "BM" + BN = "BN" + BO = "BO" + BQ = "BQ" + BR = "BR" + BS = "BS" + BT = "BT" + BV = "BV" + BW = "BW" + BY = "BY" + BZ = "BZ" + CA = "CA" + CC = "CC" + CD = "CD" + CF = "CF" + CG = "CG" + CH = "CH" + CI = "CI" + CK = "CK" + CL = "CL" + CM = "CM" + CN = "CN" + CO = "CO" + CR = "CR" + CU = "CU" + CV = "CV" + CW = "CW" + CX = "CX" + CY = "CY" + CZ = "CZ" + DE = "DE" + DJ = "DJ" + DK = "DK" + DM = "DM" + DO = "DO" + DZ = "DZ" + EC = "EC" + EE = "EE" + EG = "EG" + EH = "EH" + ER = "ER" + ES = "ES" + ET = "ET" + FI = "FI" + FJ = "FJ" + FK = "FK" + FM = "FM" + FO = "FO" + FR = "FR" + GA = "GA" + GB = "GB" + GD = "GD" + GE = "GE" + GF = "GF" + GG = "GG" + GH = "GH" + GI = "GI" + GL = "GL" + GM = "GM" + GN = "GN" + GP = "GP" + GQ = "GQ" + GR = "GR" + GS = "GS" + GT = "GT" + GU = "GU" + GW = "GW" + GY = "GY" + HK = "HK" + HM = "HM" + HN = "HN" + HR = "HR" + HT = "HT" + HU = "HU" + ID = "ID" + IE = "IE" + IL = "IL" + IM = "IM" + IN = "IN" + IO = "IO" + IQ = "IQ" + IR = "IR" + IS = "IS" + IT = "IT" + JE = "JE" + JM = "JM" + JO = "JO" + JP = "JP" + KE = "KE" + KG = "KG" + KH = "KH" + KI = "KI" + KM = "KM" + KN = "KN" + KP = "KP" + KR = "KR" + KW = "KW" + KY = "KY" + KZ = "KZ" + LA = "LA" + LB = "LB" + LC = "LC" + LI = "LI" + LK = "LK" + LR = "LR" + LS = "LS" + LT = "LT" + LU = "LU" + LV = "LV" + LY = "LY" + MA = "MA" + MC = "MC" + MD = "MD" + ME = "ME" + MF = "MF" + MG = "MG" + MH = "MH" + MK = "MK" + ML = "ML" + MM = "MM" + MN = "MN" + MO = "MO" + MP = "MP" + MQ = "MQ" + MR = "MR" + MS = "MS" + MT = "MT" + MU = "MU" + MV = "MV" + MW = "MW" + MX = "MX" + MY = "MY" + MZ = "MZ" + NA = "NA" + NC = "NC" + NE = "NE" + NF = "NF" + NG = "NG" + NI = "NI" + NL = "NL" + NO = "NO" + NP = "NP" + NR = "NR" + NU = "NU" + NZ = "NZ" + OM = "OM" + PA = "PA" + PE = "PE" + PF = "PF" + PG = "PG" + PH = "PH" + PK = "PK" + PL = "PL" + PM = "PM" + PN = "PN" + PR = "PR" + PS = "PS" + PT = "PT" + PW = "PW" + PY = "PY" + QA = "QA" + RE = "RE" + RO = "RO" + RS = "RS" + RU = "RU" + RW = "RW" + SA = "SA" + SB = "SB" + SC = "SC" + SD = "SD" + SE = "SE" + SG = "SG" + SH = "SH" + SI = "SI" + SJ = "SJ" + SK = "SK" + SL = "SL" + SM = "SM" + SN = "SN" + SO = "SO" + SR = "SR" + SS = "SS" + ST = "ST" + SV = "SV" + SX = "SX" + SY = "SY" + SZ = "SZ" + TC = "TC" + TD = "TD" + TF = "TF" + TG = "TG" + TH = "TH" + TJ = "TJ" + TK = "TK" + TL = "TL" + TM = "TM" + TN = "TN" + TO = "TO" + TR = "TR" + TT = "TT" + TV = "TV" + TW = "TW" + TZ = "TZ" + UA = "UA" + UG = "UG" + UM = "UM" + US = "US" + UY = "UY" + UZ = "UZ" + VA = "VA" + VC = "VC" + VE = "VE" + VG = "VG" + VI = "VI" + VN = "VN" + VU = "VU" + WF = "WF" + WS = "WS" + YE = "YE" + YT = "YT" + ZA = "ZA" + ZM = "ZM" + ZW = "ZW" + UNSUPPORTED = "UNSUPPORTED" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """CountryCode - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(CountryCode, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, CountryCode): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/counts_per_alarm_code_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/counts_per_alarm_code_map.py new file mode 100644 index 000000000..21a04555b --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/counts_per_alarm_code_map.py @@ -0,0 +1,89 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class CountsPerAlarmCodeMap(dict): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + if hasattr(dict, "swagger_types"): + swagger_types.update(dict.swagger_types) + + attribute_map = { + } + if hasattr(dict, "attribute_map"): + attribute_map.update(dict.attribute_map) + + def __init__(self, *args, **kwargs): # noqa: E501 + """CountsPerAlarmCodeMap - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + dict.__init__(self, *args, **kwargs) + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(CountsPerAlarmCodeMap, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, CountsPerAlarmCodeMap): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/counts_per_equipment_id_per_alarm_code_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/counts_per_equipment_id_per_alarm_code_map.py new file mode 100644 index 000000000..f9d00bc00 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/counts_per_equipment_id_per_alarm_code_map.py @@ -0,0 +1,89 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class CountsPerEquipmentIdPerAlarmCodeMap(dict): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + if hasattr(dict, "swagger_types"): + swagger_types.update(dict.swagger_types) + + attribute_map = { + } + if hasattr(dict, "attribute_map"): + attribute_map.update(dict.attribute_map) + + def __init__(self, *args, **kwargs): # noqa: E501 + """CountsPerEquipmentIdPerAlarmCodeMap - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + dict.__init__(self, *args, **kwargs) + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(CountsPerEquipmentIdPerAlarmCodeMap, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, CountsPerEquipmentIdPerAlarmCodeMap): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/customer.py b/libs/cloudapi/cloudsdk/swagger_client/models/customer.py new file mode 100644 index 000000000..cf198bafb --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/customer.py @@ -0,0 +1,246 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class Customer(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'id': 'int', + 'email': 'str', + 'name': 'str', + 'details': 'CustomerDetails', + 'created_timestamp': 'int', + 'last_modified_timestamp': 'int' + } + + attribute_map = { + 'id': 'id', + 'email': 'email', + 'name': 'name', + 'details': 'details', + 'created_timestamp': 'createdTimestamp', + 'last_modified_timestamp': 'lastModifiedTimestamp' + } + + def __init__(self, id=None, email=None, name=None, details=None, created_timestamp=None, last_modified_timestamp=None): # noqa: E501 + """Customer - a model defined in Swagger""" # noqa: E501 + self._id = None + self._email = None + self._name = None + self._details = None + self._created_timestamp = None + self._last_modified_timestamp = None + self.discriminator = None + self.id = id + self.email = email + self.name = name + if details is not None: + self.details = details + if created_timestamp is not None: + self.created_timestamp = created_timestamp + self.last_modified_timestamp = last_modified_timestamp + + @property + def id(self): + """Gets the id of this Customer. # noqa: E501 + + + :return: The id of this Customer. # noqa: E501 + :rtype: int + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this Customer. + + + :param id: The id of this Customer. # noqa: E501 + :type: int + """ + if id is None: + raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 + + self._id = id + + @property + def email(self): + """Gets the email of this Customer. # noqa: E501 + + + :return: The email of this Customer. # noqa: E501 + :rtype: str + """ + return self._email + + @email.setter + def email(self, email): + """Sets the email of this Customer. + + + :param email: The email of this Customer. # noqa: E501 + :type: str + """ + if email is None: + raise ValueError("Invalid value for `email`, must not be `None`") # noqa: E501 + + self._email = email + + @property + def name(self): + """Gets the name of this Customer. # noqa: E501 + + + :return: The name of this Customer. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this Customer. + + + :param name: The name of this Customer. # noqa: E501 + :type: str + """ + if name is None: + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 + + self._name = name + + @property + def details(self): + """Gets the details of this Customer. # noqa: E501 + + + :return: The details of this Customer. # noqa: E501 + :rtype: CustomerDetails + """ + return self._details + + @details.setter + def details(self, details): + """Sets the details of this Customer. + + + :param details: The details of this Customer. # noqa: E501 + :type: CustomerDetails + """ + + self._details = details + + @property + def created_timestamp(self): + """Gets the created_timestamp of this Customer. # noqa: E501 + + + :return: The created_timestamp of this Customer. # noqa: E501 + :rtype: int + """ + return self._created_timestamp + + @created_timestamp.setter + def created_timestamp(self, created_timestamp): + """Sets the created_timestamp of this Customer. + + + :param created_timestamp: The created_timestamp of this Customer. # noqa: E501 + :type: int + """ + + self._created_timestamp = created_timestamp + + @property + def last_modified_timestamp(self): + """Gets the last_modified_timestamp of this Customer. # noqa: E501 + + must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database # noqa: E501 + + :return: The last_modified_timestamp of this Customer. # noqa: E501 + :rtype: int + """ + return self._last_modified_timestamp + + @last_modified_timestamp.setter + def last_modified_timestamp(self, last_modified_timestamp): + """Sets the last_modified_timestamp of this Customer. + + must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database # noqa: E501 + + :param last_modified_timestamp: The last_modified_timestamp of this Customer. # noqa: E501 + :type: int + """ + if last_modified_timestamp is None: + raise ValueError("Invalid value for `last_modified_timestamp`, must not be `None`") # noqa: E501 + + self._last_modified_timestamp = last_modified_timestamp + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(Customer, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, Customer): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/customer_added_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/customer_added_event.py new file mode 100644 index 000000000..aa197595d --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/customer_added_event.py @@ -0,0 +1,189 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class CustomerAddedEvent(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'event_timestamp': 'int', + 'customer_id': 'int', + 'payload': 'Customer' + } + + attribute_map = { + 'model_type': 'model_type', + 'event_timestamp': 'eventTimestamp', + 'customer_id': 'customerId', + 'payload': 'payload' + } + + def __init__(self, model_type=None, event_timestamp=None, customer_id=None, payload=None): # noqa: E501 + """CustomerAddedEvent - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._event_timestamp = None + self._customer_id = None + self._payload = None + self.discriminator = None + self.model_type = model_type + if event_timestamp is not None: + self.event_timestamp = event_timestamp + if customer_id is not None: + self.customer_id = customer_id + if payload is not None: + self.payload = payload + + @property + def model_type(self): + """Gets the model_type of this CustomerAddedEvent. # noqa: E501 + + + :return: The model_type of this CustomerAddedEvent. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this CustomerAddedEvent. + + + :param model_type: The model_type of this CustomerAddedEvent. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + + self._model_type = model_type + + @property + def event_timestamp(self): + """Gets the event_timestamp of this CustomerAddedEvent. # noqa: E501 + + + :return: The event_timestamp of this CustomerAddedEvent. # noqa: E501 + :rtype: int + """ + return self._event_timestamp + + @event_timestamp.setter + def event_timestamp(self, event_timestamp): + """Sets the event_timestamp of this CustomerAddedEvent. + + + :param event_timestamp: The event_timestamp of this CustomerAddedEvent. # noqa: E501 + :type: int + """ + + self._event_timestamp = event_timestamp + + @property + def customer_id(self): + """Gets the customer_id of this CustomerAddedEvent. # noqa: E501 + + + :return: The customer_id of this CustomerAddedEvent. # noqa: E501 + :rtype: int + """ + return self._customer_id + + @customer_id.setter + def customer_id(self, customer_id): + """Sets the customer_id of this CustomerAddedEvent. + + + :param customer_id: The customer_id of this CustomerAddedEvent. # noqa: E501 + :type: int + """ + + self._customer_id = customer_id + + @property + def payload(self): + """Gets the payload of this CustomerAddedEvent. # noqa: E501 + + + :return: The payload of this CustomerAddedEvent. # noqa: E501 + :rtype: Customer + """ + return self._payload + + @payload.setter + def payload(self, payload): + """Sets the payload of this CustomerAddedEvent. + + + :param payload: The payload of this CustomerAddedEvent. # noqa: E501 + :type: Customer + """ + + self._payload = payload + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(CustomerAddedEvent, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, CustomerAddedEvent): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/customer_changed_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/customer_changed_event.py new file mode 100644 index 000000000..de3cdc1b8 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/customer_changed_event.py @@ -0,0 +1,189 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class CustomerChangedEvent(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'event_timestamp': 'int', + 'customer_id': 'int', + 'payload': 'Customer' + } + + attribute_map = { + 'model_type': 'model_type', + 'event_timestamp': 'eventTimestamp', + 'customer_id': 'customerId', + 'payload': 'payload' + } + + def __init__(self, model_type=None, event_timestamp=None, customer_id=None, payload=None): # noqa: E501 + """CustomerChangedEvent - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._event_timestamp = None + self._customer_id = None + self._payload = None + self.discriminator = None + self.model_type = model_type + if event_timestamp is not None: + self.event_timestamp = event_timestamp + if customer_id is not None: + self.customer_id = customer_id + if payload is not None: + self.payload = payload + + @property + def model_type(self): + """Gets the model_type of this CustomerChangedEvent. # noqa: E501 + + + :return: The model_type of this CustomerChangedEvent. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this CustomerChangedEvent. + + + :param model_type: The model_type of this CustomerChangedEvent. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + + self._model_type = model_type + + @property + def event_timestamp(self): + """Gets the event_timestamp of this CustomerChangedEvent. # noqa: E501 + + + :return: The event_timestamp of this CustomerChangedEvent. # noqa: E501 + :rtype: int + """ + return self._event_timestamp + + @event_timestamp.setter + def event_timestamp(self, event_timestamp): + """Sets the event_timestamp of this CustomerChangedEvent. + + + :param event_timestamp: The event_timestamp of this CustomerChangedEvent. # noqa: E501 + :type: int + """ + + self._event_timestamp = event_timestamp + + @property + def customer_id(self): + """Gets the customer_id of this CustomerChangedEvent. # noqa: E501 + + + :return: The customer_id of this CustomerChangedEvent. # noqa: E501 + :rtype: int + """ + return self._customer_id + + @customer_id.setter + def customer_id(self, customer_id): + """Sets the customer_id of this CustomerChangedEvent. + + + :param customer_id: The customer_id of this CustomerChangedEvent. # noqa: E501 + :type: int + """ + + self._customer_id = customer_id + + @property + def payload(self): + """Gets the payload of this CustomerChangedEvent. # noqa: E501 + + + :return: The payload of this CustomerChangedEvent. # noqa: E501 + :rtype: Customer + """ + return self._payload + + @payload.setter + def payload(self, payload): + """Sets the payload of this CustomerChangedEvent. + + + :param payload: The payload of this CustomerChangedEvent. # noqa: E501 + :type: Customer + """ + + self._payload = payload + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(CustomerChangedEvent, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, CustomerChangedEvent): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/customer_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/customer_details.py new file mode 100644 index 000000000..b87007833 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/customer_details.py @@ -0,0 +1,110 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class CustomerDetails(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'auto_provisioning': 'EquipmentAutoProvisioningSettings' + } + + attribute_map = { + 'auto_provisioning': 'autoProvisioning' + } + + def __init__(self, auto_provisioning=None): # noqa: E501 + """CustomerDetails - a model defined in Swagger""" # noqa: E501 + self._auto_provisioning = None + self.discriminator = None + if auto_provisioning is not None: + self.auto_provisioning = auto_provisioning + + @property + def auto_provisioning(self): + """Gets the auto_provisioning of this CustomerDetails. # noqa: E501 + + + :return: The auto_provisioning of this CustomerDetails. # noqa: E501 + :rtype: EquipmentAutoProvisioningSettings + """ + return self._auto_provisioning + + @auto_provisioning.setter + def auto_provisioning(self, auto_provisioning): + """Sets the auto_provisioning of this CustomerDetails. + + + :param auto_provisioning: The auto_provisioning of this CustomerDetails. # noqa: E501 + :type: EquipmentAutoProvisioningSettings + """ + + self._auto_provisioning = auto_provisioning + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(CustomerDetails, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, CustomerDetails): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/customer_firmware_track_record.py b/libs/cloudapi/cloudsdk/swagger_client/models/customer_firmware_track_record.py new file mode 100644 index 000000000..fb3e88a35 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/customer_firmware_track_record.py @@ -0,0 +1,216 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class CustomerFirmwareTrackRecord(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'customer_id': 'int', + 'track_record_id': 'int', + 'settings': 'CustomerFirmwareTrackSettings', + 'created_timestamp': 'int', + 'last_modified_timestamp': 'int' + } + + attribute_map = { + 'customer_id': 'customerId', + 'track_record_id': 'trackRecordId', + 'settings': 'settings', + 'created_timestamp': 'createdTimestamp', + 'last_modified_timestamp': 'lastModifiedTimestamp' + } + + def __init__(self, customer_id=None, track_record_id=None, settings=None, created_timestamp=None, last_modified_timestamp=None): # noqa: E501 + """CustomerFirmwareTrackRecord - a model defined in Swagger""" # noqa: E501 + self._customer_id = None + self._track_record_id = None + self._settings = None + self._created_timestamp = None + self._last_modified_timestamp = None + self.discriminator = None + if customer_id is not None: + self.customer_id = customer_id + if track_record_id is not None: + self.track_record_id = track_record_id + if settings is not None: + self.settings = settings + if created_timestamp is not None: + self.created_timestamp = created_timestamp + if last_modified_timestamp is not None: + self.last_modified_timestamp = last_modified_timestamp + + @property + def customer_id(self): + """Gets the customer_id of this CustomerFirmwareTrackRecord. # noqa: E501 + + + :return: The customer_id of this CustomerFirmwareTrackRecord. # noqa: E501 + :rtype: int + """ + return self._customer_id + + @customer_id.setter + def customer_id(self, customer_id): + """Sets the customer_id of this CustomerFirmwareTrackRecord. + + + :param customer_id: The customer_id of this CustomerFirmwareTrackRecord. # noqa: E501 + :type: int + """ + + self._customer_id = customer_id + + @property + def track_record_id(self): + """Gets the track_record_id of this CustomerFirmwareTrackRecord. # noqa: E501 + + + :return: The track_record_id of this CustomerFirmwareTrackRecord. # noqa: E501 + :rtype: int + """ + return self._track_record_id + + @track_record_id.setter + def track_record_id(self, track_record_id): + """Sets the track_record_id of this CustomerFirmwareTrackRecord. + + + :param track_record_id: The track_record_id of this CustomerFirmwareTrackRecord. # noqa: E501 + :type: int + """ + + self._track_record_id = track_record_id + + @property + def settings(self): + """Gets the settings of this CustomerFirmwareTrackRecord. # noqa: E501 + + + :return: The settings of this CustomerFirmwareTrackRecord. # noqa: E501 + :rtype: CustomerFirmwareTrackSettings + """ + return self._settings + + @settings.setter + def settings(self, settings): + """Sets the settings of this CustomerFirmwareTrackRecord. + + + :param settings: The settings of this CustomerFirmwareTrackRecord. # noqa: E501 + :type: CustomerFirmwareTrackSettings + """ + + self._settings = settings + + @property + def created_timestamp(self): + """Gets the created_timestamp of this CustomerFirmwareTrackRecord. # noqa: E501 + + + :return: The created_timestamp of this CustomerFirmwareTrackRecord. # noqa: E501 + :rtype: int + """ + return self._created_timestamp + + @created_timestamp.setter + def created_timestamp(self, created_timestamp): + """Sets the created_timestamp of this CustomerFirmwareTrackRecord. + + + :param created_timestamp: The created_timestamp of this CustomerFirmwareTrackRecord. # noqa: E501 + :type: int + """ + + self._created_timestamp = created_timestamp + + @property + def last_modified_timestamp(self): + """Gets the last_modified_timestamp of this CustomerFirmwareTrackRecord. # noqa: E501 + + must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database # noqa: E501 + + :return: The last_modified_timestamp of this CustomerFirmwareTrackRecord. # noqa: E501 + :rtype: int + """ + return self._last_modified_timestamp + + @last_modified_timestamp.setter + def last_modified_timestamp(self, last_modified_timestamp): + """Sets the last_modified_timestamp of this CustomerFirmwareTrackRecord. + + must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database # noqa: E501 + + :param last_modified_timestamp: The last_modified_timestamp of this CustomerFirmwareTrackRecord. # noqa: E501 + :type: int + """ + + self._last_modified_timestamp = last_modified_timestamp + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(CustomerFirmwareTrackRecord, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, CustomerFirmwareTrackRecord): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/customer_firmware_track_settings.py b/libs/cloudapi/cloudsdk/swagger_client/models/customer_firmware_track_settings.py new file mode 100644 index 000000000..55041716d --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/customer_firmware_track_settings.py @@ -0,0 +1,188 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class CustomerFirmwareTrackSettings(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'auto_upgrade_deprecated_on_bind': 'TrackFlag', + 'auto_upgrade_unknown_on_bind': 'TrackFlag', + 'auto_upgrade_deprecated_during_maintenance': 'TrackFlag', + 'auto_upgrade_unknown_during_maintenance': 'TrackFlag' + } + + attribute_map = { + 'auto_upgrade_deprecated_on_bind': 'autoUpgradeDeprecatedOnBind', + 'auto_upgrade_unknown_on_bind': 'autoUpgradeUnknownOnBind', + 'auto_upgrade_deprecated_during_maintenance': 'autoUpgradeDeprecatedDuringMaintenance', + 'auto_upgrade_unknown_during_maintenance': 'autoUpgradeUnknownDuringMaintenance' + } + + def __init__(self, auto_upgrade_deprecated_on_bind=None, auto_upgrade_unknown_on_bind=None, auto_upgrade_deprecated_during_maintenance=None, auto_upgrade_unknown_during_maintenance=None): # noqa: E501 + """CustomerFirmwareTrackSettings - a model defined in Swagger""" # noqa: E501 + self._auto_upgrade_deprecated_on_bind = None + self._auto_upgrade_unknown_on_bind = None + self._auto_upgrade_deprecated_during_maintenance = None + self._auto_upgrade_unknown_during_maintenance = None + self.discriminator = None + if auto_upgrade_deprecated_on_bind is not None: + self.auto_upgrade_deprecated_on_bind = auto_upgrade_deprecated_on_bind + if auto_upgrade_unknown_on_bind is not None: + self.auto_upgrade_unknown_on_bind = auto_upgrade_unknown_on_bind + if auto_upgrade_deprecated_during_maintenance is not None: + self.auto_upgrade_deprecated_during_maintenance = auto_upgrade_deprecated_during_maintenance + if auto_upgrade_unknown_during_maintenance is not None: + self.auto_upgrade_unknown_during_maintenance = auto_upgrade_unknown_during_maintenance + + @property + def auto_upgrade_deprecated_on_bind(self): + """Gets the auto_upgrade_deprecated_on_bind of this CustomerFirmwareTrackSettings. # noqa: E501 + + + :return: The auto_upgrade_deprecated_on_bind of this CustomerFirmwareTrackSettings. # noqa: E501 + :rtype: TrackFlag + """ + return self._auto_upgrade_deprecated_on_bind + + @auto_upgrade_deprecated_on_bind.setter + def auto_upgrade_deprecated_on_bind(self, auto_upgrade_deprecated_on_bind): + """Sets the auto_upgrade_deprecated_on_bind of this CustomerFirmwareTrackSettings. + + + :param auto_upgrade_deprecated_on_bind: The auto_upgrade_deprecated_on_bind of this CustomerFirmwareTrackSettings. # noqa: E501 + :type: TrackFlag + """ + + self._auto_upgrade_deprecated_on_bind = auto_upgrade_deprecated_on_bind + + @property + def auto_upgrade_unknown_on_bind(self): + """Gets the auto_upgrade_unknown_on_bind of this CustomerFirmwareTrackSettings. # noqa: E501 + + + :return: The auto_upgrade_unknown_on_bind of this CustomerFirmwareTrackSettings. # noqa: E501 + :rtype: TrackFlag + """ + return self._auto_upgrade_unknown_on_bind + + @auto_upgrade_unknown_on_bind.setter + def auto_upgrade_unknown_on_bind(self, auto_upgrade_unknown_on_bind): + """Sets the auto_upgrade_unknown_on_bind of this CustomerFirmwareTrackSettings. + + + :param auto_upgrade_unknown_on_bind: The auto_upgrade_unknown_on_bind of this CustomerFirmwareTrackSettings. # noqa: E501 + :type: TrackFlag + """ + + self._auto_upgrade_unknown_on_bind = auto_upgrade_unknown_on_bind + + @property + def auto_upgrade_deprecated_during_maintenance(self): + """Gets the auto_upgrade_deprecated_during_maintenance of this CustomerFirmwareTrackSettings. # noqa: E501 + + + :return: The auto_upgrade_deprecated_during_maintenance of this CustomerFirmwareTrackSettings. # noqa: E501 + :rtype: TrackFlag + """ + return self._auto_upgrade_deprecated_during_maintenance + + @auto_upgrade_deprecated_during_maintenance.setter + def auto_upgrade_deprecated_during_maintenance(self, auto_upgrade_deprecated_during_maintenance): + """Sets the auto_upgrade_deprecated_during_maintenance of this CustomerFirmwareTrackSettings. + + + :param auto_upgrade_deprecated_during_maintenance: The auto_upgrade_deprecated_during_maintenance of this CustomerFirmwareTrackSettings. # noqa: E501 + :type: TrackFlag + """ + + self._auto_upgrade_deprecated_during_maintenance = auto_upgrade_deprecated_during_maintenance + + @property + def auto_upgrade_unknown_during_maintenance(self): + """Gets the auto_upgrade_unknown_during_maintenance of this CustomerFirmwareTrackSettings. # noqa: E501 + + + :return: The auto_upgrade_unknown_during_maintenance of this CustomerFirmwareTrackSettings. # noqa: E501 + :rtype: TrackFlag + """ + return self._auto_upgrade_unknown_during_maintenance + + @auto_upgrade_unknown_during_maintenance.setter + def auto_upgrade_unknown_during_maintenance(self, auto_upgrade_unknown_during_maintenance): + """Sets the auto_upgrade_unknown_during_maintenance of this CustomerFirmwareTrackSettings. + + + :param auto_upgrade_unknown_during_maintenance: The auto_upgrade_unknown_during_maintenance of this CustomerFirmwareTrackSettings. # noqa: E501 + :type: TrackFlag + """ + + self._auto_upgrade_unknown_during_maintenance = auto_upgrade_unknown_during_maintenance + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(CustomerFirmwareTrackSettings, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, CustomerFirmwareTrackSettings): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/customer_portal_dashboard_status.py b/libs/cloudapi/cloudsdk/swagger_client/models/customer_portal_dashboard_status.py new file mode 100644 index 000000000..050864c9c --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/customer_portal_dashboard_status.py @@ -0,0 +1,439 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class CustomerPortalDashboardStatus(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'status_data_type': 'str', + 'time_bucket_id': 'int', + 'time_bucket_ms': 'int', + 'equipment_in_service_count': 'int', + 'equipment_with_clients_count': 'int', + 'total_provisioned_equipment': 'int', + 'traffic_bytes_downstream': 'int', + 'traffic_bytes_upstream': 'int', + 'associated_clients_count_per_radio': 'IntegerPerRadioTypeMap', + 'client_count_per_oui': 'IntegerValueMap', + 'equipment_count_per_oui': 'IntegerValueMap', + 'alarms_count_by_severity': 'IntegerPerStatusCodeMap' + } + + attribute_map = { + 'model_type': 'model_type', + 'status_data_type': 'statusDataType', + 'time_bucket_id': 'timeBucketId', + 'time_bucket_ms': 'timeBucketMs', + 'equipment_in_service_count': 'equipmentInServiceCount', + 'equipment_with_clients_count': 'equipmentWithClientsCount', + 'total_provisioned_equipment': 'totalProvisionedEquipment', + 'traffic_bytes_downstream': 'trafficBytesDownstream', + 'traffic_bytes_upstream': 'trafficBytesUpstream', + 'associated_clients_count_per_radio': 'associatedClientsCountPerRadio', + 'client_count_per_oui': 'clientCountPerOui', + 'equipment_count_per_oui': 'equipmentCountPerOui', + 'alarms_count_by_severity': 'alarmsCountBySeverity' + } + + def __init__(self, model_type=None, status_data_type=None, time_bucket_id=None, time_bucket_ms=None, equipment_in_service_count=None, equipment_with_clients_count=None, total_provisioned_equipment=None, traffic_bytes_downstream=None, traffic_bytes_upstream=None, associated_clients_count_per_radio=None, client_count_per_oui=None, equipment_count_per_oui=None, alarms_count_by_severity=None): # noqa: E501 + """CustomerPortalDashboardStatus - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._status_data_type = None + self._time_bucket_id = None + self._time_bucket_ms = None + self._equipment_in_service_count = None + self._equipment_with_clients_count = None + self._total_provisioned_equipment = None + self._traffic_bytes_downstream = None + self._traffic_bytes_upstream = None + self._associated_clients_count_per_radio = None + self._client_count_per_oui = None + self._equipment_count_per_oui = None + self._alarms_count_by_severity = None + self.discriminator = None + self.model_type = model_type + if status_data_type is not None: + self.status_data_type = status_data_type + if time_bucket_id is not None: + self.time_bucket_id = time_bucket_id + if time_bucket_ms is not None: + self.time_bucket_ms = time_bucket_ms + if equipment_in_service_count is not None: + self.equipment_in_service_count = equipment_in_service_count + if equipment_with_clients_count is not None: + self.equipment_with_clients_count = equipment_with_clients_count + if total_provisioned_equipment is not None: + self.total_provisioned_equipment = total_provisioned_equipment + if traffic_bytes_downstream is not None: + self.traffic_bytes_downstream = traffic_bytes_downstream + if traffic_bytes_upstream is not None: + self.traffic_bytes_upstream = traffic_bytes_upstream + if associated_clients_count_per_radio is not None: + self.associated_clients_count_per_radio = associated_clients_count_per_radio + if client_count_per_oui is not None: + self.client_count_per_oui = client_count_per_oui + if equipment_count_per_oui is not None: + self.equipment_count_per_oui = equipment_count_per_oui + if alarms_count_by_severity is not None: + self.alarms_count_by_severity = alarms_count_by_severity + + @property + def model_type(self): + """Gets the model_type of this CustomerPortalDashboardStatus. # noqa: E501 + + + :return: The model_type of this CustomerPortalDashboardStatus. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this CustomerPortalDashboardStatus. + + + :param model_type: The model_type of this CustomerPortalDashboardStatus. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + allowed_values = ["CustomerPortalDashboardStatus"] # noqa: E501 + if model_type not in allowed_values: + raise ValueError( + "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 + .format(model_type, allowed_values) + ) + + self._model_type = model_type + + @property + def status_data_type(self): + """Gets the status_data_type of this CustomerPortalDashboardStatus. # noqa: E501 + + + :return: The status_data_type of this CustomerPortalDashboardStatus. # noqa: E501 + :rtype: str + """ + return self._status_data_type + + @status_data_type.setter + def status_data_type(self, status_data_type): + """Sets the status_data_type of this CustomerPortalDashboardStatus. + + + :param status_data_type: The status_data_type of this CustomerPortalDashboardStatus. # noqa: E501 + :type: str + """ + allowed_values = ["CUSTOMER_DASHBOARD"] # noqa: E501 + if status_data_type not in allowed_values: + raise ValueError( + "Invalid value for `status_data_type` ({0}), must be one of {1}" # noqa: E501 + .format(status_data_type, allowed_values) + ) + + self._status_data_type = status_data_type + + @property + def time_bucket_id(self): + """Gets the time_bucket_id of this CustomerPortalDashboardStatus. # noqa: E501 + + All metrics/events that have (createdTimestamp % timeBucketMs == timeBucketId) are counted in this object. # noqa: E501 + + :return: The time_bucket_id of this CustomerPortalDashboardStatus. # noqa: E501 + :rtype: int + """ + return self._time_bucket_id + + @time_bucket_id.setter + def time_bucket_id(self, time_bucket_id): + """Sets the time_bucket_id of this CustomerPortalDashboardStatus. + + All metrics/events that have (createdTimestamp % timeBucketMs == timeBucketId) are counted in this object. # noqa: E501 + + :param time_bucket_id: The time_bucket_id of this CustomerPortalDashboardStatus. # noqa: E501 + :type: int + """ + + self._time_bucket_id = time_bucket_id + + @property + def time_bucket_ms(self): + """Gets the time_bucket_ms of this CustomerPortalDashboardStatus. # noqa: E501 + + Length of the time bucket in milliseconds # noqa: E501 + + :return: The time_bucket_ms of this CustomerPortalDashboardStatus. # noqa: E501 + :rtype: int + """ + return self._time_bucket_ms + + @time_bucket_ms.setter + def time_bucket_ms(self, time_bucket_ms): + """Sets the time_bucket_ms of this CustomerPortalDashboardStatus. + + Length of the time bucket in milliseconds # noqa: E501 + + :param time_bucket_ms: The time_bucket_ms of this CustomerPortalDashboardStatus. # noqa: E501 + :type: int + """ + + self._time_bucket_ms = time_bucket_ms + + @property + def equipment_in_service_count(self): + """Gets the equipment_in_service_count of this CustomerPortalDashboardStatus. # noqa: E501 + + + :return: The equipment_in_service_count of this CustomerPortalDashboardStatus. # noqa: E501 + :rtype: int + """ + return self._equipment_in_service_count + + @equipment_in_service_count.setter + def equipment_in_service_count(self, equipment_in_service_count): + """Sets the equipment_in_service_count of this CustomerPortalDashboardStatus. + + + :param equipment_in_service_count: The equipment_in_service_count of this CustomerPortalDashboardStatus. # noqa: E501 + :type: int + """ + + self._equipment_in_service_count = equipment_in_service_count + + @property + def equipment_with_clients_count(self): + """Gets the equipment_with_clients_count of this CustomerPortalDashboardStatus. # noqa: E501 + + + :return: The equipment_with_clients_count of this CustomerPortalDashboardStatus. # noqa: E501 + :rtype: int + """ + return self._equipment_with_clients_count + + @equipment_with_clients_count.setter + def equipment_with_clients_count(self, equipment_with_clients_count): + """Sets the equipment_with_clients_count of this CustomerPortalDashboardStatus. + + + :param equipment_with_clients_count: The equipment_with_clients_count of this CustomerPortalDashboardStatus. # noqa: E501 + :type: int + """ + + self._equipment_with_clients_count = equipment_with_clients_count + + @property + def total_provisioned_equipment(self): + """Gets the total_provisioned_equipment of this CustomerPortalDashboardStatus. # noqa: E501 + + + :return: The total_provisioned_equipment of this CustomerPortalDashboardStatus. # noqa: E501 + :rtype: int + """ + return self._total_provisioned_equipment + + @total_provisioned_equipment.setter + def total_provisioned_equipment(self, total_provisioned_equipment): + """Sets the total_provisioned_equipment of this CustomerPortalDashboardStatus. + + + :param total_provisioned_equipment: The total_provisioned_equipment of this CustomerPortalDashboardStatus. # noqa: E501 + :type: int + """ + + self._total_provisioned_equipment = total_provisioned_equipment + + @property + def traffic_bytes_downstream(self): + """Gets the traffic_bytes_downstream of this CustomerPortalDashboardStatus. # noqa: E501 + + + :return: The traffic_bytes_downstream of this CustomerPortalDashboardStatus. # noqa: E501 + :rtype: int + """ + return self._traffic_bytes_downstream + + @traffic_bytes_downstream.setter + def traffic_bytes_downstream(self, traffic_bytes_downstream): + """Sets the traffic_bytes_downstream of this CustomerPortalDashboardStatus. + + + :param traffic_bytes_downstream: The traffic_bytes_downstream of this CustomerPortalDashboardStatus. # noqa: E501 + :type: int + """ + + self._traffic_bytes_downstream = traffic_bytes_downstream + + @property + def traffic_bytes_upstream(self): + """Gets the traffic_bytes_upstream of this CustomerPortalDashboardStatus. # noqa: E501 + + + :return: The traffic_bytes_upstream of this CustomerPortalDashboardStatus. # noqa: E501 + :rtype: int + """ + return self._traffic_bytes_upstream + + @traffic_bytes_upstream.setter + def traffic_bytes_upstream(self, traffic_bytes_upstream): + """Sets the traffic_bytes_upstream of this CustomerPortalDashboardStatus. + + + :param traffic_bytes_upstream: The traffic_bytes_upstream of this CustomerPortalDashboardStatus. # noqa: E501 + :type: int + """ + + self._traffic_bytes_upstream = traffic_bytes_upstream + + @property + def associated_clients_count_per_radio(self): + """Gets the associated_clients_count_per_radio of this CustomerPortalDashboardStatus. # noqa: E501 + + + :return: The associated_clients_count_per_radio of this CustomerPortalDashboardStatus. # noqa: E501 + :rtype: IntegerPerRadioTypeMap + """ + return self._associated_clients_count_per_radio + + @associated_clients_count_per_radio.setter + def associated_clients_count_per_radio(self, associated_clients_count_per_radio): + """Sets the associated_clients_count_per_radio of this CustomerPortalDashboardStatus. + + + :param associated_clients_count_per_radio: The associated_clients_count_per_radio of this CustomerPortalDashboardStatus. # noqa: E501 + :type: IntegerPerRadioTypeMap + """ + + self._associated_clients_count_per_radio = associated_clients_count_per_radio + + @property + def client_count_per_oui(self): + """Gets the client_count_per_oui of this CustomerPortalDashboardStatus. # noqa: E501 + + + :return: The client_count_per_oui of this CustomerPortalDashboardStatus. # noqa: E501 + :rtype: IntegerValueMap + """ + return self._client_count_per_oui + + @client_count_per_oui.setter + def client_count_per_oui(self, client_count_per_oui): + """Sets the client_count_per_oui of this CustomerPortalDashboardStatus. + + + :param client_count_per_oui: The client_count_per_oui of this CustomerPortalDashboardStatus. # noqa: E501 + :type: IntegerValueMap + """ + + self._client_count_per_oui = client_count_per_oui + + @property + def equipment_count_per_oui(self): + """Gets the equipment_count_per_oui of this CustomerPortalDashboardStatus. # noqa: E501 + + + :return: The equipment_count_per_oui of this CustomerPortalDashboardStatus. # noqa: E501 + :rtype: IntegerValueMap + """ + return self._equipment_count_per_oui + + @equipment_count_per_oui.setter + def equipment_count_per_oui(self, equipment_count_per_oui): + """Sets the equipment_count_per_oui of this CustomerPortalDashboardStatus. + + + :param equipment_count_per_oui: The equipment_count_per_oui of this CustomerPortalDashboardStatus. # noqa: E501 + :type: IntegerValueMap + """ + + self._equipment_count_per_oui = equipment_count_per_oui + + @property + def alarms_count_by_severity(self): + """Gets the alarms_count_by_severity of this CustomerPortalDashboardStatus. # noqa: E501 + + + :return: The alarms_count_by_severity of this CustomerPortalDashboardStatus. # noqa: E501 + :rtype: IntegerPerStatusCodeMap + """ + return self._alarms_count_by_severity + + @alarms_count_by_severity.setter + def alarms_count_by_severity(self, alarms_count_by_severity): + """Sets the alarms_count_by_severity of this CustomerPortalDashboardStatus. + + + :param alarms_count_by_severity: The alarms_count_by_severity of this CustomerPortalDashboardStatus. # noqa: E501 + :type: IntegerPerStatusCodeMap + """ + + self._alarms_count_by_severity = alarms_count_by_severity + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(CustomerPortalDashboardStatus, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, CustomerPortalDashboardStatus): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/customer_removed_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/customer_removed_event.py new file mode 100644 index 000000000..fa89c38c2 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/customer_removed_event.py @@ -0,0 +1,189 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class CustomerRemovedEvent(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'event_timestamp': 'int', + 'customer_id': 'int', + 'payload': 'Customer' + } + + attribute_map = { + 'model_type': 'model_type', + 'event_timestamp': 'eventTimestamp', + 'customer_id': 'customerId', + 'payload': 'payload' + } + + def __init__(self, model_type=None, event_timestamp=None, customer_id=None, payload=None): # noqa: E501 + """CustomerRemovedEvent - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._event_timestamp = None + self._customer_id = None + self._payload = None + self.discriminator = None + self.model_type = model_type + if event_timestamp is not None: + self.event_timestamp = event_timestamp + if customer_id is not None: + self.customer_id = customer_id + if payload is not None: + self.payload = payload + + @property + def model_type(self): + """Gets the model_type of this CustomerRemovedEvent. # noqa: E501 + + + :return: The model_type of this CustomerRemovedEvent. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this CustomerRemovedEvent. + + + :param model_type: The model_type of this CustomerRemovedEvent. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + + self._model_type = model_type + + @property + def event_timestamp(self): + """Gets the event_timestamp of this CustomerRemovedEvent. # noqa: E501 + + + :return: The event_timestamp of this CustomerRemovedEvent. # noqa: E501 + :rtype: int + """ + return self._event_timestamp + + @event_timestamp.setter + def event_timestamp(self, event_timestamp): + """Sets the event_timestamp of this CustomerRemovedEvent. + + + :param event_timestamp: The event_timestamp of this CustomerRemovedEvent. # noqa: E501 + :type: int + """ + + self._event_timestamp = event_timestamp + + @property + def customer_id(self): + """Gets the customer_id of this CustomerRemovedEvent. # noqa: E501 + + + :return: The customer_id of this CustomerRemovedEvent. # noqa: E501 + :rtype: int + """ + return self._customer_id + + @customer_id.setter + def customer_id(self, customer_id): + """Sets the customer_id of this CustomerRemovedEvent. + + + :param customer_id: The customer_id of this CustomerRemovedEvent. # noqa: E501 + :type: int + """ + + self._customer_id = customer_id + + @property + def payload(self): + """Gets the payload of this CustomerRemovedEvent. # noqa: E501 + + + :return: The payload of this CustomerRemovedEvent. # noqa: E501 + :rtype: Customer + """ + return self._payload + + @payload.setter + def payload(self, payload): + """Sets the payload of this CustomerRemovedEvent. + + + :param payload: The payload of this CustomerRemovedEvent. # noqa: E501 + :type: Customer + """ + + self._payload = payload + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(CustomerRemovedEvent, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, CustomerRemovedEvent): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/daily_time_range_schedule.py b/libs/cloudapi/cloudsdk/swagger_client/models/daily_time_range_schedule.py new file mode 100644 index 000000000..cd1e1b690 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/daily_time_range_schedule.py @@ -0,0 +1,189 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class DailyTimeRangeSchedule(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'timezone': 'str', + 'time_begin': 'LocalTimeValue', + 'time_end': 'LocalTimeValue', + 'model_type': 'str' + } + + attribute_map = { + 'timezone': 'timezone', + 'time_begin': 'timeBegin', + 'time_end': 'timeEnd', + 'model_type': 'model_type' + } + + def __init__(self, timezone=None, time_begin=None, time_end=None, model_type=None): # noqa: E501 + """DailyTimeRangeSchedule - a model defined in Swagger""" # noqa: E501 + self._timezone = None + self._time_begin = None + self._time_end = None + self._model_type = None + self.discriminator = None + if timezone is not None: + self.timezone = timezone + if time_begin is not None: + self.time_begin = time_begin + if time_end is not None: + self.time_end = time_end + self.model_type = model_type + + @property + def timezone(self): + """Gets the timezone of this DailyTimeRangeSchedule. # noqa: E501 + + + :return: The timezone of this DailyTimeRangeSchedule. # noqa: E501 + :rtype: str + """ + return self._timezone + + @timezone.setter + def timezone(self, timezone): + """Sets the timezone of this DailyTimeRangeSchedule. + + + :param timezone: The timezone of this DailyTimeRangeSchedule. # noqa: E501 + :type: str + """ + + self._timezone = timezone + + @property + def time_begin(self): + """Gets the time_begin of this DailyTimeRangeSchedule. # noqa: E501 + + + :return: The time_begin of this DailyTimeRangeSchedule. # noqa: E501 + :rtype: LocalTimeValue + """ + return self._time_begin + + @time_begin.setter + def time_begin(self, time_begin): + """Sets the time_begin of this DailyTimeRangeSchedule. + + + :param time_begin: The time_begin of this DailyTimeRangeSchedule. # noqa: E501 + :type: LocalTimeValue + """ + + self._time_begin = time_begin + + @property + def time_end(self): + """Gets the time_end of this DailyTimeRangeSchedule. # noqa: E501 + + + :return: The time_end of this DailyTimeRangeSchedule. # noqa: E501 + :rtype: LocalTimeValue + """ + return self._time_end + + @time_end.setter + def time_end(self, time_end): + """Sets the time_end of this DailyTimeRangeSchedule. + + + :param time_end: The time_end of this DailyTimeRangeSchedule. # noqa: E501 + :type: LocalTimeValue + """ + + self._time_end = time_end + + @property + def model_type(self): + """Gets the model_type of this DailyTimeRangeSchedule. # noqa: E501 + + + :return: The model_type of this DailyTimeRangeSchedule. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this DailyTimeRangeSchedule. + + + :param model_type: The model_type of this DailyTimeRangeSchedule. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + + self._model_type = model_type + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(DailyTimeRangeSchedule, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, DailyTimeRangeSchedule): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/day_of_week.py b/libs/cloudapi/cloudsdk/swagger_client/models/day_of_week.py new file mode 100644 index 000000000..0a49fcdcc --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/day_of_week.py @@ -0,0 +1,95 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class DayOfWeek(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + MONDAY = "MONDAY" + TUESDAY = "TUESDAY" + WEDNESDAY = "WEDNESDAY" + THURSDAY = "THURSDAY" + FRIDAY = "FRIDAY" + SATURDAY = "SATURDAY" + SUNDAY = "SUNDAY" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """DayOfWeek - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(DayOfWeek, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, DayOfWeek): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/days_of_week_time_range_schedule.py b/libs/cloudapi/cloudsdk/swagger_client/models/days_of_week_time_range_schedule.py new file mode 100644 index 000000000..f8003c8e7 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/days_of_week_time_range_schedule.py @@ -0,0 +1,215 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class DaysOfWeekTimeRangeSchedule(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'timezone': 'str', + 'time_begin': 'LocalTimeValue', + 'time_end': 'LocalTimeValue', + 'days_of_week': 'list[DayOfWeek]', + 'model_type': 'str' + } + + attribute_map = { + 'timezone': 'timezone', + 'time_begin': 'timeBegin', + 'time_end': 'timeEnd', + 'days_of_week': 'daysOfWeek', + 'model_type': 'model_type' + } + + def __init__(self, timezone=None, time_begin=None, time_end=None, days_of_week=None, model_type=None): # noqa: E501 + """DaysOfWeekTimeRangeSchedule - a model defined in Swagger""" # noqa: E501 + self._timezone = None + self._time_begin = None + self._time_end = None + self._days_of_week = None + self._model_type = None + self.discriminator = None + if timezone is not None: + self.timezone = timezone + if time_begin is not None: + self.time_begin = time_begin + if time_end is not None: + self.time_end = time_end + if days_of_week is not None: + self.days_of_week = days_of_week + self.model_type = model_type + + @property + def timezone(self): + """Gets the timezone of this DaysOfWeekTimeRangeSchedule. # noqa: E501 + + + :return: The timezone of this DaysOfWeekTimeRangeSchedule. # noqa: E501 + :rtype: str + """ + return self._timezone + + @timezone.setter + def timezone(self, timezone): + """Sets the timezone of this DaysOfWeekTimeRangeSchedule. + + + :param timezone: The timezone of this DaysOfWeekTimeRangeSchedule. # noqa: E501 + :type: str + """ + + self._timezone = timezone + + @property + def time_begin(self): + """Gets the time_begin of this DaysOfWeekTimeRangeSchedule. # noqa: E501 + + + :return: The time_begin of this DaysOfWeekTimeRangeSchedule. # noqa: E501 + :rtype: LocalTimeValue + """ + return self._time_begin + + @time_begin.setter + def time_begin(self, time_begin): + """Sets the time_begin of this DaysOfWeekTimeRangeSchedule. + + + :param time_begin: The time_begin of this DaysOfWeekTimeRangeSchedule. # noqa: E501 + :type: LocalTimeValue + """ + + self._time_begin = time_begin + + @property + def time_end(self): + """Gets the time_end of this DaysOfWeekTimeRangeSchedule. # noqa: E501 + + + :return: The time_end of this DaysOfWeekTimeRangeSchedule. # noqa: E501 + :rtype: LocalTimeValue + """ + return self._time_end + + @time_end.setter + def time_end(self, time_end): + """Sets the time_end of this DaysOfWeekTimeRangeSchedule. + + + :param time_end: The time_end of this DaysOfWeekTimeRangeSchedule. # noqa: E501 + :type: LocalTimeValue + """ + + self._time_end = time_end + + @property + def days_of_week(self): + """Gets the days_of_week of this DaysOfWeekTimeRangeSchedule. # noqa: E501 + + + :return: The days_of_week of this DaysOfWeekTimeRangeSchedule. # noqa: E501 + :rtype: list[DayOfWeek] + """ + return self._days_of_week + + @days_of_week.setter + def days_of_week(self, days_of_week): + """Sets the days_of_week of this DaysOfWeekTimeRangeSchedule. + + + :param days_of_week: The days_of_week of this DaysOfWeekTimeRangeSchedule. # noqa: E501 + :type: list[DayOfWeek] + """ + + self._days_of_week = days_of_week + + @property + def model_type(self): + """Gets the model_type of this DaysOfWeekTimeRangeSchedule. # noqa: E501 + + + :return: The model_type of this DaysOfWeekTimeRangeSchedule. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this DaysOfWeekTimeRangeSchedule. + + + :param model_type: The model_type of this DaysOfWeekTimeRangeSchedule. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + + self._model_type = model_type + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(DaysOfWeekTimeRangeSchedule, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, DaysOfWeekTimeRangeSchedule): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/deployment_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/deployment_type.py new file mode 100644 index 000000000..534dd7c01 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/deployment_type.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class DeploymentType(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + DESK = "DESK" + CEILING = "CEILING" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """DeploymentType - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(DeploymentType, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, DeploymentType): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/detected_auth_mode.py b/libs/cloudapi/cloudsdk/swagger_client/models/detected_auth_mode.py new file mode 100644 index 000000000..35cdee5dc --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/detected_auth_mode.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class DetectedAuthMode(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + OPEN = "OPEN" + WEP = "WEP" + WPA = "WPA" + UNKNOWN = "UNKNOWN" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """DetectedAuthMode - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(DetectedAuthMode, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, DetectedAuthMode): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/device_mode.py b/libs/cloudapi/cloudsdk/swagger_client/models/device_mode.py new file mode 100644 index 000000000..8d77801b2 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/device_mode.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class DeviceMode(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + STANDALONEAP = "standaloneAP" + MANAGEDAP = "managedAP" + GATEWAYWITHAP = "gatewaywithAP" + GATEWAYONLY = "gatewayOnly" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """DeviceMode - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(DeviceMode, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, DeviceMode): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/dhcp_ack_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/dhcp_ack_event.py new file mode 100644 index 000000000..82944e6da --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/dhcp_ack_event.py @@ -0,0 +1,353 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class DhcpAckEvent(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'all_of': 'BaseDhcpEvent', + 'subnet_mask': 'str', + 'primary_dns': 'str', + 'secondary_dns': 'str', + 'lease_time': 'int', + 'renewal_time': 'int', + 'rebinding_time': 'int', + 'time_offset': 'int', + 'gateway_ip': 'str' + } + + attribute_map = { + 'model_type': 'model_type', + 'all_of': 'allOf', + 'subnet_mask': 'subnetMask', + 'primary_dns': 'primaryDns', + 'secondary_dns': 'secondaryDns', + 'lease_time': 'leaseTime', + 'renewal_time': 'renewalTime', + 'rebinding_time': 'rebindingTime', + 'time_offset': 'timeOffset', + 'gateway_ip': 'gatewayIp' + } + + def __init__(self, model_type=None, all_of=None, subnet_mask=None, primary_dns=None, secondary_dns=None, lease_time=None, renewal_time=None, rebinding_time=None, time_offset=None, gateway_ip=None): # noqa: E501 + """DhcpAckEvent - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._all_of = None + self._subnet_mask = None + self._primary_dns = None + self._secondary_dns = None + self._lease_time = None + self._renewal_time = None + self._rebinding_time = None + self._time_offset = None + self._gateway_ip = None + self.discriminator = None + self.model_type = model_type + if all_of is not None: + self.all_of = all_of + if subnet_mask is not None: + self.subnet_mask = subnet_mask + if primary_dns is not None: + self.primary_dns = primary_dns + if secondary_dns is not None: + self.secondary_dns = secondary_dns + if lease_time is not None: + self.lease_time = lease_time + if renewal_time is not None: + self.renewal_time = renewal_time + if rebinding_time is not None: + self.rebinding_time = rebinding_time + if time_offset is not None: + self.time_offset = time_offset + if gateway_ip is not None: + self.gateway_ip = gateway_ip + + @property + def model_type(self): + """Gets the model_type of this DhcpAckEvent. # noqa: E501 + + + :return: The model_type of this DhcpAckEvent. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this DhcpAckEvent. + + + :param model_type: The model_type of this DhcpAckEvent. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + + self._model_type = model_type + + @property + def all_of(self): + """Gets the all_of of this DhcpAckEvent. # noqa: E501 + + + :return: The all_of of this DhcpAckEvent. # noqa: E501 + :rtype: BaseDhcpEvent + """ + return self._all_of + + @all_of.setter + def all_of(self, all_of): + """Sets the all_of of this DhcpAckEvent. + + + :param all_of: The all_of of this DhcpAckEvent. # noqa: E501 + :type: BaseDhcpEvent + """ + + self._all_of = all_of + + @property + def subnet_mask(self): + """Gets the subnet_mask of this DhcpAckEvent. # noqa: E501 + + string representing InetAddress # noqa: E501 + + :return: The subnet_mask of this DhcpAckEvent. # noqa: E501 + :rtype: str + """ + return self._subnet_mask + + @subnet_mask.setter + def subnet_mask(self, subnet_mask): + """Sets the subnet_mask of this DhcpAckEvent. + + string representing InetAddress # noqa: E501 + + :param subnet_mask: The subnet_mask of this DhcpAckEvent. # noqa: E501 + :type: str + """ + + self._subnet_mask = subnet_mask + + @property + def primary_dns(self): + """Gets the primary_dns of this DhcpAckEvent. # noqa: E501 + + string representing InetAddress # noqa: E501 + + :return: The primary_dns of this DhcpAckEvent. # noqa: E501 + :rtype: str + """ + return self._primary_dns + + @primary_dns.setter + def primary_dns(self, primary_dns): + """Sets the primary_dns of this DhcpAckEvent. + + string representing InetAddress # noqa: E501 + + :param primary_dns: The primary_dns of this DhcpAckEvent. # noqa: E501 + :type: str + """ + + self._primary_dns = primary_dns + + @property + def secondary_dns(self): + """Gets the secondary_dns of this DhcpAckEvent. # noqa: E501 + + string representing InetAddress # noqa: E501 + + :return: The secondary_dns of this DhcpAckEvent. # noqa: E501 + :rtype: str + """ + return self._secondary_dns + + @secondary_dns.setter + def secondary_dns(self, secondary_dns): + """Sets the secondary_dns of this DhcpAckEvent. + + string representing InetAddress # noqa: E501 + + :param secondary_dns: The secondary_dns of this DhcpAckEvent. # noqa: E501 + :type: str + """ + + self._secondary_dns = secondary_dns + + @property + def lease_time(self): + """Gets the lease_time of this DhcpAckEvent. # noqa: E501 + + + :return: The lease_time of this DhcpAckEvent. # noqa: E501 + :rtype: int + """ + return self._lease_time + + @lease_time.setter + def lease_time(self, lease_time): + """Sets the lease_time of this DhcpAckEvent. + + + :param lease_time: The lease_time of this DhcpAckEvent. # noqa: E501 + :type: int + """ + + self._lease_time = lease_time + + @property + def renewal_time(self): + """Gets the renewal_time of this DhcpAckEvent. # noqa: E501 + + + :return: The renewal_time of this DhcpAckEvent. # noqa: E501 + :rtype: int + """ + return self._renewal_time + + @renewal_time.setter + def renewal_time(self, renewal_time): + """Sets the renewal_time of this DhcpAckEvent. + + + :param renewal_time: The renewal_time of this DhcpAckEvent. # noqa: E501 + :type: int + """ + + self._renewal_time = renewal_time + + @property + def rebinding_time(self): + """Gets the rebinding_time of this DhcpAckEvent. # noqa: E501 + + + :return: The rebinding_time of this DhcpAckEvent. # noqa: E501 + :rtype: int + """ + return self._rebinding_time + + @rebinding_time.setter + def rebinding_time(self, rebinding_time): + """Sets the rebinding_time of this DhcpAckEvent. + + + :param rebinding_time: The rebinding_time of this DhcpAckEvent. # noqa: E501 + :type: int + """ + + self._rebinding_time = rebinding_time + + @property + def time_offset(self): + """Gets the time_offset of this DhcpAckEvent. # noqa: E501 + + + :return: The time_offset of this DhcpAckEvent. # noqa: E501 + :rtype: int + """ + return self._time_offset + + @time_offset.setter + def time_offset(self, time_offset): + """Sets the time_offset of this DhcpAckEvent. + + + :param time_offset: The time_offset of this DhcpAckEvent. # noqa: E501 + :type: int + """ + + self._time_offset = time_offset + + @property + def gateway_ip(self): + """Gets the gateway_ip of this DhcpAckEvent. # noqa: E501 + + string representing InetAddress # noqa: E501 + + :return: The gateway_ip of this DhcpAckEvent. # noqa: E501 + :rtype: str + """ + return self._gateway_ip + + @gateway_ip.setter + def gateway_ip(self, gateway_ip): + """Sets the gateway_ip of this DhcpAckEvent. + + string representing InetAddress # noqa: E501 + + :param gateway_ip: The gateway_ip of this DhcpAckEvent. # noqa: E501 + :type: str + """ + + self._gateway_ip = gateway_ip + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(DhcpAckEvent, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, DhcpAckEvent): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/dhcp_decline_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/dhcp_decline_event.py new file mode 100644 index 000000000..eb5b9be4a --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/dhcp_decline_event.py @@ -0,0 +1,137 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class DhcpDeclineEvent(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'all_of': 'BaseDhcpEvent' + } + + attribute_map = { + 'model_type': 'model_type', + 'all_of': 'allOf' + } + + def __init__(self, model_type=None, all_of=None): # noqa: E501 + """DhcpDeclineEvent - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._all_of = None + self.discriminator = None + self.model_type = model_type + if all_of is not None: + self.all_of = all_of + + @property + def model_type(self): + """Gets the model_type of this DhcpDeclineEvent. # noqa: E501 + + + :return: The model_type of this DhcpDeclineEvent. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this DhcpDeclineEvent. + + + :param model_type: The model_type of this DhcpDeclineEvent. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + + self._model_type = model_type + + @property + def all_of(self): + """Gets the all_of of this DhcpDeclineEvent. # noqa: E501 + + + :return: The all_of of this DhcpDeclineEvent. # noqa: E501 + :rtype: BaseDhcpEvent + """ + return self._all_of + + @all_of.setter + def all_of(self, all_of): + """Sets the all_of of this DhcpDeclineEvent. + + + :param all_of: The all_of of this DhcpDeclineEvent. # noqa: E501 + :type: BaseDhcpEvent + """ + + self._all_of = all_of + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(DhcpDeclineEvent, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, DhcpDeclineEvent): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/dhcp_discover_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/dhcp_discover_event.py new file mode 100644 index 000000000..11d5266be --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/dhcp_discover_event.py @@ -0,0 +1,163 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class DhcpDiscoverEvent(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'all_of': 'BaseDhcpEvent', + 'host_name': 'str' + } + + attribute_map = { + 'model_type': 'model_type', + 'all_of': 'allOf', + 'host_name': 'hostName' + } + + def __init__(self, model_type=None, all_of=None, host_name=None): # noqa: E501 + """DhcpDiscoverEvent - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._all_of = None + self._host_name = None + self.discriminator = None + self.model_type = model_type + if all_of is not None: + self.all_of = all_of + if host_name is not None: + self.host_name = host_name + + @property + def model_type(self): + """Gets the model_type of this DhcpDiscoverEvent. # noqa: E501 + + + :return: The model_type of this DhcpDiscoverEvent. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this DhcpDiscoverEvent. + + + :param model_type: The model_type of this DhcpDiscoverEvent. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + + self._model_type = model_type + + @property + def all_of(self): + """Gets the all_of of this DhcpDiscoverEvent. # noqa: E501 + + + :return: The all_of of this DhcpDiscoverEvent. # noqa: E501 + :rtype: BaseDhcpEvent + """ + return self._all_of + + @all_of.setter + def all_of(self, all_of): + """Sets the all_of of this DhcpDiscoverEvent. + + + :param all_of: The all_of of this DhcpDiscoverEvent. # noqa: E501 + :type: BaseDhcpEvent + """ + + self._all_of = all_of + + @property + def host_name(self): + """Gets the host_name of this DhcpDiscoverEvent. # noqa: E501 + + + :return: The host_name of this DhcpDiscoverEvent. # noqa: E501 + :rtype: str + """ + return self._host_name + + @host_name.setter + def host_name(self, host_name): + """Sets the host_name of this DhcpDiscoverEvent. + + + :param host_name: The host_name of this DhcpDiscoverEvent. # noqa: E501 + :type: str + """ + + self._host_name = host_name + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(DhcpDiscoverEvent, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, DhcpDiscoverEvent): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/dhcp_inform_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/dhcp_inform_event.py new file mode 100644 index 000000000..7f8208e8d --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/dhcp_inform_event.py @@ -0,0 +1,137 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class DhcpInformEvent(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'all_of': 'BaseDhcpEvent' + } + + attribute_map = { + 'model_type': 'model_type', + 'all_of': 'allOf' + } + + def __init__(self, model_type=None, all_of=None): # noqa: E501 + """DhcpInformEvent - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._all_of = None + self.discriminator = None + self.model_type = model_type + if all_of is not None: + self.all_of = all_of + + @property + def model_type(self): + """Gets the model_type of this DhcpInformEvent. # noqa: E501 + + + :return: The model_type of this DhcpInformEvent. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this DhcpInformEvent. + + + :param model_type: The model_type of this DhcpInformEvent. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + + self._model_type = model_type + + @property + def all_of(self): + """Gets the all_of of this DhcpInformEvent. # noqa: E501 + + + :return: The all_of of this DhcpInformEvent. # noqa: E501 + :rtype: BaseDhcpEvent + """ + return self._all_of + + @all_of.setter + def all_of(self, all_of): + """Sets the all_of of this DhcpInformEvent. + + + :param all_of: The all_of of this DhcpInformEvent. # noqa: E501 + :type: BaseDhcpEvent + """ + + self._all_of = all_of + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(DhcpInformEvent, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, DhcpInformEvent): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/dhcp_nak_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/dhcp_nak_event.py new file mode 100644 index 000000000..59c3c7fa6 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/dhcp_nak_event.py @@ -0,0 +1,163 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class DhcpNakEvent(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'all_of': 'BaseDhcpEvent', + 'from_internal': 'bool' + } + + attribute_map = { + 'model_type': 'model_type', + 'all_of': 'allOf', + 'from_internal': 'fromInternal' + } + + def __init__(self, model_type=None, all_of=None, from_internal=False): # noqa: E501 + """DhcpNakEvent - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._all_of = None + self._from_internal = None + self.discriminator = None + self.model_type = model_type + if all_of is not None: + self.all_of = all_of + if from_internal is not None: + self.from_internal = from_internal + + @property + def model_type(self): + """Gets the model_type of this DhcpNakEvent. # noqa: E501 + + + :return: The model_type of this DhcpNakEvent. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this DhcpNakEvent. + + + :param model_type: The model_type of this DhcpNakEvent. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + + self._model_type = model_type + + @property + def all_of(self): + """Gets the all_of of this DhcpNakEvent. # noqa: E501 + + + :return: The all_of of this DhcpNakEvent. # noqa: E501 + :rtype: BaseDhcpEvent + """ + return self._all_of + + @all_of.setter + def all_of(self, all_of): + """Sets the all_of of this DhcpNakEvent. + + + :param all_of: The all_of of this DhcpNakEvent. # noqa: E501 + :type: BaseDhcpEvent + """ + + self._all_of = all_of + + @property + def from_internal(self): + """Gets the from_internal of this DhcpNakEvent. # noqa: E501 + + + :return: The from_internal of this DhcpNakEvent. # noqa: E501 + :rtype: bool + """ + return self._from_internal + + @from_internal.setter + def from_internal(self, from_internal): + """Sets the from_internal of this DhcpNakEvent. + + + :param from_internal: The from_internal of this DhcpNakEvent. # noqa: E501 + :type: bool + """ + + self._from_internal = from_internal + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(DhcpNakEvent, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, DhcpNakEvent): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/dhcp_offer_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/dhcp_offer_event.py new file mode 100644 index 000000000..34c14c2d0 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/dhcp_offer_event.py @@ -0,0 +1,163 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class DhcpOfferEvent(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'all_of': 'BaseDhcpEvent', + 'from_internal': 'bool' + } + + attribute_map = { + 'model_type': 'model_type', + 'all_of': 'allOf', + 'from_internal': 'fromInternal' + } + + def __init__(self, model_type=None, all_of=None, from_internal=False): # noqa: E501 + """DhcpOfferEvent - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._all_of = None + self._from_internal = None + self.discriminator = None + self.model_type = model_type + if all_of is not None: + self.all_of = all_of + if from_internal is not None: + self.from_internal = from_internal + + @property + def model_type(self): + """Gets the model_type of this DhcpOfferEvent. # noqa: E501 + + + :return: The model_type of this DhcpOfferEvent. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this DhcpOfferEvent. + + + :param model_type: The model_type of this DhcpOfferEvent. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + + self._model_type = model_type + + @property + def all_of(self): + """Gets the all_of of this DhcpOfferEvent. # noqa: E501 + + + :return: The all_of of this DhcpOfferEvent. # noqa: E501 + :rtype: BaseDhcpEvent + """ + return self._all_of + + @all_of.setter + def all_of(self, all_of): + """Sets the all_of of this DhcpOfferEvent. + + + :param all_of: The all_of of this DhcpOfferEvent. # noqa: E501 + :type: BaseDhcpEvent + """ + + self._all_of = all_of + + @property + def from_internal(self): + """Gets the from_internal of this DhcpOfferEvent. # noqa: E501 + + + :return: The from_internal of this DhcpOfferEvent. # noqa: E501 + :rtype: bool + """ + return self._from_internal + + @from_internal.setter + def from_internal(self, from_internal): + """Sets the from_internal of this DhcpOfferEvent. + + + :param from_internal: The from_internal of this DhcpOfferEvent. # noqa: E501 + :type: bool + """ + + self._from_internal = from_internal + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(DhcpOfferEvent, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, DhcpOfferEvent): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/dhcp_request_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/dhcp_request_event.py new file mode 100644 index 000000000..1597fe179 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/dhcp_request_event.py @@ -0,0 +1,163 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class DhcpRequestEvent(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'all_of': 'BaseDhcpEvent', + 'host_name': 'str' + } + + attribute_map = { + 'model_type': 'model_type', + 'all_of': 'allOf', + 'host_name': 'hostName' + } + + def __init__(self, model_type=None, all_of=None, host_name=None): # noqa: E501 + """DhcpRequestEvent - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._all_of = None + self._host_name = None + self.discriminator = None + self.model_type = model_type + if all_of is not None: + self.all_of = all_of + if host_name is not None: + self.host_name = host_name + + @property + def model_type(self): + """Gets the model_type of this DhcpRequestEvent. # noqa: E501 + + + :return: The model_type of this DhcpRequestEvent. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this DhcpRequestEvent. + + + :param model_type: The model_type of this DhcpRequestEvent. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + + self._model_type = model_type + + @property + def all_of(self): + """Gets the all_of of this DhcpRequestEvent. # noqa: E501 + + + :return: The all_of of this DhcpRequestEvent. # noqa: E501 + :rtype: BaseDhcpEvent + """ + return self._all_of + + @all_of.setter + def all_of(self, all_of): + """Sets the all_of of this DhcpRequestEvent. + + + :param all_of: The all_of of this DhcpRequestEvent. # noqa: E501 + :type: BaseDhcpEvent + """ + + self._all_of = all_of + + @property + def host_name(self): + """Gets the host_name of this DhcpRequestEvent. # noqa: E501 + + + :return: The host_name of this DhcpRequestEvent. # noqa: E501 + :rtype: str + """ + return self._host_name + + @host_name.setter + def host_name(self, host_name): + """Sets the host_name of this DhcpRequestEvent. + + + :param host_name: The host_name of this DhcpRequestEvent. # noqa: E501 + :type: str + """ + + self._host_name = host_name + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(DhcpRequestEvent, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, DhcpRequestEvent): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/disconnect_frame_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/disconnect_frame_type.py new file mode 100644 index 000000000..aafad2606 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/disconnect_frame_type.py @@ -0,0 +1,91 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class DisconnectFrameType(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + DEAUTH = "Deauth" + DISASSOC = "Disassoc" + UNSUPPORTED = "UNSUPPORTED" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """DisconnectFrameType - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(DisconnectFrameType, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, DisconnectFrameType): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/disconnect_initiator.py b/libs/cloudapi/cloudsdk/swagger_client/models/disconnect_initiator.py new file mode 100644 index 000000000..64e74056b --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/disconnect_initiator.py @@ -0,0 +1,91 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class DisconnectInitiator(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + ACCESSPOINT = "AccessPoint" + CLIENT = "Client" + UNSUPPORTED = "UNSUPPORTED" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """DisconnectInitiator - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(DisconnectInitiator, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, DisconnectInitiator): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/dns_probe_metric.py b/libs/cloudapi/cloudsdk/swagger_client/models/dns_probe_metric.py new file mode 100644 index 000000000..aae249109 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/dns_probe_metric.py @@ -0,0 +1,162 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class DnsProbeMetric(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'dns_server_ip': 'str', + 'dns_state': 'StateUpDownError', + 'dns_latency_ms': 'int' + } + + attribute_map = { + 'dns_server_ip': 'dnsServerIp', + 'dns_state': 'dnsState', + 'dns_latency_ms': 'dnsLatencyMs' + } + + def __init__(self, dns_server_ip=None, dns_state=None, dns_latency_ms=None): # noqa: E501 + """DnsProbeMetric - a model defined in Swagger""" # noqa: E501 + self._dns_server_ip = None + self._dns_state = None + self._dns_latency_ms = None + self.discriminator = None + if dns_server_ip is not None: + self.dns_server_ip = dns_server_ip + if dns_state is not None: + self.dns_state = dns_state + if dns_latency_ms is not None: + self.dns_latency_ms = dns_latency_ms + + @property + def dns_server_ip(self): + """Gets the dns_server_ip of this DnsProbeMetric. # noqa: E501 + + + :return: The dns_server_ip of this DnsProbeMetric. # noqa: E501 + :rtype: str + """ + return self._dns_server_ip + + @dns_server_ip.setter + def dns_server_ip(self, dns_server_ip): + """Sets the dns_server_ip of this DnsProbeMetric. + + + :param dns_server_ip: The dns_server_ip of this DnsProbeMetric. # noqa: E501 + :type: str + """ + + self._dns_server_ip = dns_server_ip + + @property + def dns_state(self): + """Gets the dns_state of this DnsProbeMetric. # noqa: E501 + + + :return: The dns_state of this DnsProbeMetric. # noqa: E501 + :rtype: StateUpDownError + """ + return self._dns_state + + @dns_state.setter + def dns_state(self, dns_state): + """Sets the dns_state of this DnsProbeMetric. + + + :param dns_state: The dns_state of this DnsProbeMetric. # noqa: E501 + :type: StateUpDownError + """ + + self._dns_state = dns_state + + @property + def dns_latency_ms(self): + """Gets the dns_latency_ms of this DnsProbeMetric. # noqa: E501 + + + :return: The dns_latency_ms of this DnsProbeMetric. # noqa: E501 + :rtype: int + """ + return self._dns_latency_ms + + @dns_latency_ms.setter + def dns_latency_ms(self, dns_latency_ms): + """Sets the dns_latency_ms of this DnsProbeMetric. + + + :param dns_latency_ms: The dns_latency_ms of this DnsProbeMetric. # noqa: E501 + :type: int + """ + + self._dns_latency_ms = dns_latency_ms + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(DnsProbeMetric, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, DnsProbeMetric): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/dynamic_vlan_mode.py b/libs/cloudapi/cloudsdk/swagger_client/models/dynamic_vlan_mode.py new file mode 100644 index 000000000..b4667af6f --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/dynamic_vlan_mode.py @@ -0,0 +1,91 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class DynamicVlanMode(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + DISABLED = "disabled" + ENABLED = "enabled" + ENABLED_REJECT_IF_NO_RADIUS_DYNAMIC_VLAN = "enabled_reject_if_no_radius_dynamic_vlan" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """DynamicVlanMode - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(DynamicVlanMode, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, DynamicVlanMode): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/element_radio_configuration.py b/libs/cloudapi/cloudsdk/swagger_client/models/element_radio_configuration.py new file mode 100644 index 000000000..bfa446a63 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/element_radio_configuration.py @@ -0,0 +1,430 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ElementRadioConfiguration(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'radio_type': 'RadioType', + 'channel_number': 'int', + 'manual_channel_number': 'int', + 'backup_channel_number': 'int', + 'manual_backup_channel_number': 'int', + 'rx_cell_size_db': 'SourceSelectionValue', + 'probe_response_threshold_db': 'SourceSelectionValue', + 'client_disconnect_threshold_db': 'SourceSelectionValue', + 'eirp_tx_power': 'ElementRadioConfigurationEirpTxPower', + 'perimeter_detection_enabled': 'bool', + 'best_ap_steer_type': 'BestAPSteerType', + 'deauth_attack_detection': 'bool', + 'allowed_channels_power_levels': 'ChannelPowerLevel' + } + + attribute_map = { + 'radio_type': 'radioType', + 'channel_number': 'channelNumber', + 'manual_channel_number': 'manualChannelNumber', + 'backup_channel_number': 'backupChannelNumber', + 'manual_backup_channel_number': 'manualBackupChannelNumber', + 'rx_cell_size_db': 'rxCellSizeDb', + 'probe_response_threshold_db': 'probeResponseThresholdDb', + 'client_disconnect_threshold_db': 'clientDisconnectThresholdDb', + 'eirp_tx_power': 'eirpTxPower', + 'perimeter_detection_enabled': 'perimeterDetectionEnabled', + 'best_ap_steer_type': 'bestAPSteerType', + 'deauth_attack_detection': 'deauthAttackDetection', + 'allowed_channels_power_levels': 'allowedChannelsPowerLevels' + } + + def __init__(self, radio_type=None, channel_number=None, manual_channel_number=None, backup_channel_number=None, manual_backup_channel_number=None, rx_cell_size_db=None, probe_response_threshold_db=None, client_disconnect_threshold_db=None, eirp_tx_power=None, perimeter_detection_enabled=None, best_ap_steer_type=None, deauth_attack_detection=None, allowed_channels_power_levels=None): # noqa: E501 + """ElementRadioConfiguration - a model defined in Swagger""" # noqa: E501 + self._radio_type = None + self._channel_number = None + self._manual_channel_number = None + self._backup_channel_number = None + self._manual_backup_channel_number = None + self._rx_cell_size_db = None + self._probe_response_threshold_db = None + self._client_disconnect_threshold_db = None + self._eirp_tx_power = None + self._perimeter_detection_enabled = None + self._best_ap_steer_type = None + self._deauth_attack_detection = None + self._allowed_channels_power_levels = None + self.discriminator = None + if radio_type is not None: + self.radio_type = radio_type + if channel_number is not None: + self.channel_number = channel_number + if manual_channel_number is not None: + self.manual_channel_number = manual_channel_number + if backup_channel_number is not None: + self.backup_channel_number = backup_channel_number + if manual_backup_channel_number is not None: + self.manual_backup_channel_number = manual_backup_channel_number + if rx_cell_size_db is not None: + self.rx_cell_size_db = rx_cell_size_db + if probe_response_threshold_db is not None: + self.probe_response_threshold_db = probe_response_threshold_db + if client_disconnect_threshold_db is not None: + self.client_disconnect_threshold_db = client_disconnect_threshold_db + if eirp_tx_power is not None: + self.eirp_tx_power = eirp_tx_power + if perimeter_detection_enabled is not None: + self.perimeter_detection_enabled = perimeter_detection_enabled + if best_ap_steer_type is not None: + self.best_ap_steer_type = best_ap_steer_type + if deauth_attack_detection is not None: + self.deauth_attack_detection = deauth_attack_detection + if allowed_channels_power_levels is not None: + self.allowed_channels_power_levels = allowed_channels_power_levels + + @property + def radio_type(self): + """Gets the radio_type of this ElementRadioConfiguration. # noqa: E501 + + + :return: The radio_type of this ElementRadioConfiguration. # noqa: E501 + :rtype: RadioType + """ + return self._radio_type + + @radio_type.setter + def radio_type(self, radio_type): + """Sets the radio_type of this ElementRadioConfiguration. + + + :param radio_type: The radio_type of this ElementRadioConfiguration. # noqa: E501 + :type: RadioType + """ + + self._radio_type = radio_type + + @property + def channel_number(self): + """Gets the channel_number of this ElementRadioConfiguration. # noqa: E501 + + The channel that was picked through the cloud's assigment # noqa: E501 + + :return: The channel_number of this ElementRadioConfiguration. # noqa: E501 + :rtype: int + """ + return self._channel_number + + @channel_number.setter + def channel_number(self, channel_number): + """Sets the channel_number of this ElementRadioConfiguration. + + The channel that was picked through the cloud's assigment # noqa: E501 + + :param channel_number: The channel_number of this ElementRadioConfiguration. # noqa: E501 + :type: int + """ + + self._channel_number = channel_number + + @property + def manual_channel_number(self): + """Gets the manual_channel_number of this ElementRadioConfiguration. # noqa: E501 + + The channel that was manually entered # noqa: E501 + + :return: The manual_channel_number of this ElementRadioConfiguration. # noqa: E501 + :rtype: int + """ + return self._manual_channel_number + + @manual_channel_number.setter + def manual_channel_number(self, manual_channel_number): + """Sets the manual_channel_number of this ElementRadioConfiguration. + + The channel that was manually entered # noqa: E501 + + :param manual_channel_number: The manual_channel_number of this ElementRadioConfiguration. # noqa: E501 + :type: int + """ + + self._manual_channel_number = manual_channel_number + + @property + def backup_channel_number(self): + """Gets the backup_channel_number of this ElementRadioConfiguration. # noqa: E501 + + The backup channel that was picked through the cloud's assigment # noqa: E501 + + :return: The backup_channel_number of this ElementRadioConfiguration. # noqa: E501 + :rtype: int + """ + return self._backup_channel_number + + @backup_channel_number.setter + def backup_channel_number(self, backup_channel_number): + """Sets the backup_channel_number of this ElementRadioConfiguration. + + The backup channel that was picked through the cloud's assigment # noqa: E501 + + :param backup_channel_number: The backup_channel_number of this ElementRadioConfiguration. # noqa: E501 + :type: int + """ + + self._backup_channel_number = backup_channel_number + + @property + def manual_backup_channel_number(self): + """Gets the manual_backup_channel_number of this ElementRadioConfiguration. # noqa: E501 + + The backup channel that was manually entered # noqa: E501 + + :return: The manual_backup_channel_number of this ElementRadioConfiguration. # noqa: E501 + :rtype: int + """ + return self._manual_backup_channel_number + + @manual_backup_channel_number.setter + def manual_backup_channel_number(self, manual_backup_channel_number): + """Sets the manual_backup_channel_number of this ElementRadioConfiguration. + + The backup channel that was manually entered # noqa: E501 + + :param manual_backup_channel_number: The manual_backup_channel_number of this ElementRadioConfiguration. # noqa: E501 + :type: int + """ + + self._manual_backup_channel_number = manual_backup_channel_number + + @property + def rx_cell_size_db(self): + """Gets the rx_cell_size_db of this ElementRadioConfiguration. # noqa: E501 + + + :return: The rx_cell_size_db of this ElementRadioConfiguration. # noqa: E501 + :rtype: SourceSelectionValue + """ + return self._rx_cell_size_db + + @rx_cell_size_db.setter + def rx_cell_size_db(self, rx_cell_size_db): + """Sets the rx_cell_size_db of this ElementRadioConfiguration. + + + :param rx_cell_size_db: The rx_cell_size_db of this ElementRadioConfiguration. # noqa: E501 + :type: SourceSelectionValue + """ + + self._rx_cell_size_db = rx_cell_size_db + + @property + def probe_response_threshold_db(self): + """Gets the probe_response_threshold_db of this ElementRadioConfiguration. # noqa: E501 + + + :return: The probe_response_threshold_db of this ElementRadioConfiguration. # noqa: E501 + :rtype: SourceSelectionValue + """ + return self._probe_response_threshold_db + + @probe_response_threshold_db.setter + def probe_response_threshold_db(self, probe_response_threshold_db): + """Sets the probe_response_threshold_db of this ElementRadioConfiguration. + + + :param probe_response_threshold_db: The probe_response_threshold_db of this ElementRadioConfiguration. # noqa: E501 + :type: SourceSelectionValue + """ + + self._probe_response_threshold_db = probe_response_threshold_db + + @property + def client_disconnect_threshold_db(self): + """Gets the client_disconnect_threshold_db of this ElementRadioConfiguration. # noqa: E501 + + + :return: The client_disconnect_threshold_db of this ElementRadioConfiguration. # noqa: E501 + :rtype: SourceSelectionValue + """ + return self._client_disconnect_threshold_db + + @client_disconnect_threshold_db.setter + def client_disconnect_threshold_db(self, client_disconnect_threshold_db): + """Sets the client_disconnect_threshold_db of this ElementRadioConfiguration. + + + :param client_disconnect_threshold_db: The client_disconnect_threshold_db of this ElementRadioConfiguration. # noqa: E501 + :type: SourceSelectionValue + """ + + self._client_disconnect_threshold_db = client_disconnect_threshold_db + + @property + def eirp_tx_power(self): + """Gets the eirp_tx_power of this ElementRadioConfiguration. # noqa: E501 + + + :return: The eirp_tx_power of this ElementRadioConfiguration. # noqa: E501 + :rtype: ElementRadioConfigurationEirpTxPower + """ + return self._eirp_tx_power + + @eirp_tx_power.setter + def eirp_tx_power(self, eirp_tx_power): + """Sets the eirp_tx_power of this ElementRadioConfiguration. + + + :param eirp_tx_power: The eirp_tx_power of this ElementRadioConfiguration. # noqa: E501 + :type: ElementRadioConfigurationEirpTxPower + """ + + self._eirp_tx_power = eirp_tx_power + + @property + def perimeter_detection_enabled(self): + """Gets the perimeter_detection_enabled of this ElementRadioConfiguration. # noqa: E501 + + + :return: The perimeter_detection_enabled of this ElementRadioConfiguration. # noqa: E501 + :rtype: bool + """ + return self._perimeter_detection_enabled + + @perimeter_detection_enabled.setter + def perimeter_detection_enabled(self, perimeter_detection_enabled): + """Sets the perimeter_detection_enabled of this ElementRadioConfiguration. + + + :param perimeter_detection_enabled: The perimeter_detection_enabled of this ElementRadioConfiguration. # noqa: E501 + :type: bool + """ + + self._perimeter_detection_enabled = perimeter_detection_enabled + + @property + def best_ap_steer_type(self): + """Gets the best_ap_steer_type of this ElementRadioConfiguration. # noqa: E501 + + + :return: The best_ap_steer_type of this ElementRadioConfiguration. # noqa: E501 + :rtype: BestAPSteerType + """ + return self._best_ap_steer_type + + @best_ap_steer_type.setter + def best_ap_steer_type(self, best_ap_steer_type): + """Sets the best_ap_steer_type of this ElementRadioConfiguration. + + + :param best_ap_steer_type: The best_ap_steer_type of this ElementRadioConfiguration. # noqa: E501 + :type: BestAPSteerType + """ + + self._best_ap_steer_type = best_ap_steer_type + + @property + def deauth_attack_detection(self): + """Gets the deauth_attack_detection of this ElementRadioConfiguration. # noqa: E501 + + + :return: The deauth_attack_detection of this ElementRadioConfiguration. # noqa: E501 + :rtype: bool + """ + return self._deauth_attack_detection + + @deauth_attack_detection.setter + def deauth_attack_detection(self, deauth_attack_detection): + """Sets the deauth_attack_detection of this ElementRadioConfiguration. + + + :param deauth_attack_detection: The deauth_attack_detection of this ElementRadioConfiguration. # noqa: E501 + :type: bool + """ + + self._deauth_attack_detection = deauth_attack_detection + + @property + def allowed_channels_power_levels(self): + """Gets the allowed_channels_power_levels of this ElementRadioConfiguration. # noqa: E501 + + + :return: The allowed_channels_power_levels of this ElementRadioConfiguration. # noqa: E501 + :rtype: ChannelPowerLevel + """ + return self._allowed_channels_power_levels + + @allowed_channels_power_levels.setter + def allowed_channels_power_levels(self, allowed_channels_power_levels): + """Sets the allowed_channels_power_levels of this ElementRadioConfiguration. + + + :param allowed_channels_power_levels: The allowed_channels_power_levels of this ElementRadioConfiguration. # noqa: E501 + :type: ChannelPowerLevel + """ + + self._allowed_channels_power_levels = allowed_channels_power_levels + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ElementRadioConfiguration, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ElementRadioConfiguration): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/element_radio_configuration_eirp_tx_power.py b/libs/cloudapi/cloudsdk/swagger_client/models/element_radio_configuration_eirp_tx_power.py new file mode 100644 index 000000000..8a01e4527 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/element_radio_configuration_eirp_tx_power.py @@ -0,0 +1,136 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ElementRadioConfigurationEirpTxPower(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'source': 'SourceType', + 'value': 'int' + } + + attribute_map = { + 'source': 'source', + 'value': 'value' + } + + def __init__(self, source=None, value=18): # noqa: E501 + """ElementRadioConfigurationEirpTxPower - a model defined in Swagger""" # noqa: E501 + self._source = None + self._value = None + self.discriminator = None + if source is not None: + self.source = source + if value is not None: + self.value = value + + @property + def source(self): + """Gets the source of this ElementRadioConfigurationEirpTxPower. # noqa: E501 + + + :return: The source of this ElementRadioConfigurationEirpTxPower. # noqa: E501 + :rtype: SourceType + """ + return self._source + + @source.setter + def source(self, source): + """Sets the source of this ElementRadioConfigurationEirpTxPower. + + + :param source: The source of this ElementRadioConfigurationEirpTxPower. # noqa: E501 + :type: SourceType + """ + + self._source = source + + @property + def value(self): + """Gets the value of this ElementRadioConfigurationEirpTxPower. # noqa: E501 + + + :return: The value of this ElementRadioConfigurationEirpTxPower. # noqa: E501 + :rtype: int + """ + return self._value + + @value.setter + def value(self, value): + """Sets the value of this ElementRadioConfigurationEirpTxPower. + + + :param value: The value of this ElementRadioConfigurationEirpTxPower. # noqa: E501 + :type: int + """ + + self._value = value + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ElementRadioConfigurationEirpTxPower, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ElementRadioConfigurationEirpTxPower): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/empty_schedule.py b/libs/cloudapi/cloudsdk/swagger_client/models/empty_schedule.py new file mode 100644 index 000000000..16fa000db --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/empty_schedule.py @@ -0,0 +1,137 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class EmptySchedule(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'timezone': 'str', + 'model_type': 'str' + } + + attribute_map = { + 'timezone': 'timezone', + 'model_type': 'model_type' + } + + def __init__(self, timezone=None, model_type=None): # noqa: E501 + """EmptySchedule - a model defined in Swagger""" # noqa: E501 + self._timezone = None + self._model_type = None + self.discriminator = None + if timezone is not None: + self.timezone = timezone + self.model_type = model_type + + @property + def timezone(self): + """Gets the timezone of this EmptySchedule. # noqa: E501 + + + :return: The timezone of this EmptySchedule. # noqa: E501 + :rtype: str + """ + return self._timezone + + @timezone.setter + def timezone(self, timezone): + """Sets the timezone of this EmptySchedule. + + + :param timezone: The timezone of this EmptySchedule. # noqa: E501 + :type: str + """ + + self._timezone = timezone + + @property + def model_type(self): + """Gets the model_type of this EmptySchedule. # noqa: E501 + + + :return: The model_type of this EmptySchedule. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this EmptySchedule. + + + :param model_type: The model_type of this EmptySchedule. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + + self._model_type = model_type + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(EmptySchedule, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, EmptySchedule): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/equipment.py b/libs/cloudapi/cloudsdk/swagger_client/models/equipment.py new file mode 100644 index 000000000..b0f0ee3b6 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/equipment.py @@ -0,0 +1,450 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class Equipment(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'id': 'int', + 'equipment_type': 'EquipmentType', + 'inventory_id': 'str', + 'customer_id': 'int', + 'profile_id': 'int', + 'name': 'str', + 'location_id': 'int', + 'details': 'EquipmentDetails', + 'latitude': 'str', + 'longitude': 'str', + 'base_mac_address': 'MacAddress', + 'serial': 'str', + 'created_timestamp': 'int', + 'last_modified_timestamp': 'int' + } + + attribute_map = { + 'id': 'id', + 'equipment_type': 'equipmentType', + 'inventory_id': 'inventoryId', + 'customer_id': 'customerId', + 'profile_id': 'profileId', + 'name': 'name', + 'location_id': 'locationId', + 'details': 'details', + 'latitude': 'latitude', + 'longitude': 'longitude', + 'base_mac_address': 'baseMacAddress', + 'serial': 'serial', + 'created_timestamp': 'createdTimestamp', + 'last_modified_timestamp': 'lastModifiedTimestamp' + } + + def __init__(self, id=None, equipment_type=None, inventory_id=None, customer_id=None, profile_id=None, name=None, location_id=None, details=None, latitude=None, longitude=None, base_mac_address=None, serial=None, created_timestamp=None, last_modified_timestamp=None): # noqa: E501 + """Equipment - a model defined in Swagger""" # noqa: E501 + self._id = None + self._equipment_type = None + self._inventory_id = None + self._customer_id = None + self._profile_id = None + self._name = None + self._location_id = None + self._details = None + self._latitude = None + self._longitude = None + self._base_mac_address = None + self._serial = None + self._created_timestamp = None + self._last_modified_timestamp = None + self.discriminator = None + if id is not None: + self.id = id + if equipment_type is not None: + self.equipment_type = equipment_type + if inventory_id is not None: + self.inventory_id = inventory_id + if customer_id is not None: + self.customer_id = customer_id + if profile_id is not None: + self.profile_id = profile_id + if name is not None: + self.name = name + if location_id is not None: + self.location_id = location_id + if details is not None: + self.details = details + if latitude is not None: + self.latitude = latitude + if longitude is not None: + self.longitude = longitude + if base_mac_address is not None: + self.base_mac_address = base_mac_address + if serial is not None: + self.serial = serial + if created_timestamp is not None: + self.created_timestamp = created_timestamp + if last_modified_timestamp is not None: + self.last_modified_timestamp = last_modified_timestamp + + @property + def id(self): + """Gets the id of this Equipment. # noqa: E501 + + + :return: The id of this Equipment. # noqa: E501 + :rtype: int + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this Equipment. + + + :param id: The id of this Equipment. # noqa: E501 + :type: int + """ + + self._id = id + + @property + def equipment_type(self): + """Gets the equipment_type of this Equipment. # noqa: E501 + + + :return: The equipment_type of this Equipment. # noqa: E501 + :rtype: EquipmentType + """ + return self._equipment_type + + @equipment_type.setter + def equipment_type(self, equipment_type): + """Sets the equipment_type of this Equipment. + + + :param equipment_type: The equipment_type of this Equipment. # noqa: E501 + :type: EquipmentType + """ + + self._equipment_type = equipment_type + + @property + def inventory_id(self): + """Gets the inventory_id of this Equipment. # noqa: E501 + + + :return: The inventory_id of this Equipment. # noqa: E501 + :rtype: str + """ + return self._inventory_id + + @inventory_id.setter + def inventory_id(self, inventory_id): + """Sets the inventory_id of this Equipment. + + + :param inventory_id: The inventory_id of this Equipment. # noqa: E501 + :type: str + """ + + self._inventory_id = inventory_id + + @property + def customer_id(self): + """Gets the customer_id of this Equipment. # noqa: E501 + + + :return: The customer_id of this Equipment. # noqa: E501 + :rtype: int + """ + return self._customer_id + + @customer_id.setter + def customer_id(self, customer_id): + """Sets the customer_id of this Equipment. + + + :param customer_id: The customer_id of this Equipment. # noqa: E501 + :type: int + """ + + self._customer_id = customer_id + + @property + def profile_id(self): + """Gets the profile_id of this Equipment. # noqa: E501 + + + :return: The profile_id of this Equipment. # noqa: E501 + :rtype: int + """ + return self._profile_id + + @profile_id.setter + def profile_id(self, profile_id): + """Sets the profile_id of this Equipment. + + + :param profile_id: The profile_id of this Equipment. # noqa: E501 + :type: int + """ + + self._profile_id = profile_id + + @property + def name(self): + """Gets the name of this Equipment. # noqa: E501 + + + :return: The name of this Equipment. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this Equipment. + + + :param name: The name of this Equipment. # noqa: E501 + :type: str + """ + + self._name = name + + @property + def location_id(self): + """Gets the location_id of this Equipment. # noqa: E501 + + + :return: The location_id of this Equipment. # noqa: E501 + :rtype: int + """ + return self._location_id + + @location_id.setter + def location_id(self, location_id): + """Sets the location_id of this Equipment. + + + :param location_id: The location_id of this Equipment. # noqa: E501 + :type: int + """ + + self._location_id = location_id + + @property + def details(self): + """Gets the details of this Equipment. # noqa: E501 + + + :return: The details of this Equipment. # noqa: E501 + :rtype: EquipmentDetails + """ + return self._details + + @details.setter + def details(self, details): + """Sets the details of this Equipment. + + + :param details: The details of this Equipment. # noqa: E501 + :type: EquipmentDetails + """ + + self._details = details + + @property + def latitude(self): + """Gets the latitude of this Equipment. # noqa: E501 + + + :return: The latitude of this Equipment. # noqa: E501 + :rtype: str + """ + return self._latitude + + @latitude.setter + def latitude(self, latitude): + """Sets the latitude of this Equipment. + + + :param latitude: The latitude of this Equipment. # noqa: E501 + :type: str + """ + + self._latitude = latitude + + @property + def longitude(self): + """Gets the longitude of this Equipment. # noqa: E501 + + + :return: The longitude of this Equipment. # noqa: E501 + :rtype: str + """ + return self._longitude + + @longitude.setter + def longitude(self, longitude): + """Sets the longitude of this Equipment. + + + :param longitude: The longitude of this Equipment. # noqa: E501 + :type: str + """ + + self._longitude = longitude + + @property + def base_mac_address(self): + """Gets the base_mac_address of this Equipment. # noqa: E501 + + + :return: The base_mac_address of this Equipment. # noqa: E501 + :rtype: MacAddress + """ + return self._base_mac_address + + @base_mac_address.setter + def base_mac_address(self, base_mac_address): + """Sets the base_mac_address of this Equipment. + + + :param base_mac_address: The base_mac_address of this Equipment. # noqa: E501 + :type: MacAddress + """ + + self._base_mac_address = base_mac_address + + @property + def serial(self): + """Gets the serial of this Equipment. # noqa: E501 + + + :return: The serial of this Equipment. # noqa: E501 + :rtype: str + """ + return self._serial + + @serial.setter + def serial(self, serial): + """Sets the serial of this Equipment. + + + :param serial: The serial of this Equipment. # noqa: E501 + :type: str + """ + + self._serial = serial + + @property + def created_timestamp(self): + """Gets the created_timestamp of this Equipment. # noqa: E501 + + + :return: The created_timestamp of this Equipment. # noqa: E501 + :rtype: int + """ + return self._created_timestamp + + @created_timestamp.setter + def created_timestamp(self, created_timestamp): + """Sets the created_timestamp of this Equipment. + + + :param created_timestamp: The created_timestamp of this Equipment. # noqa: E501 + :type: int + """ + + self._created_timestamp = created_timestamp + + @property + def last_modified_timestamp(self): + """Gets the last_modified_timestamp of this Equipment. # noqa: E501 + + must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database # noqa: E501 + + :return: The last_modified_timestamp of this Equipment. # noqa: E501 + :rtype: int + """ + return self._last_modified_timestamp + + @last_modified_timestamp.setter + def last_modified_timestamp(self, last_modified_timestamp): + """Sets the last_modified_timestamp of this Equipment. + + must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database # noqa: E501 + + :param last_modified_timestamp: The last_modified_timestamp of this Equipment. # noqa: E501 + :type: int + """ + + self._last_modified_timestamp = last_modified_timestamp + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(Equipment, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, Equipment): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_added_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_added_event.py new file mode 100644 index 000000000..f885b4876 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_added_event.py @@ -0,0 +1,215 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class EquipmentAddedEvent(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'event_timestamp': 'int', + 'customer_id': 'int', + 'equipment_id': 'int', + 'payload': 'Equipment' + } + + attribute_map = { + 'model_type': 'model_type', + 'event_timestamp': 'eventTimestamp', + 'customer_id': 'customerId', + 'equipment_id': 'equipmentId', + 'payload': 'payload' + } + + def __init__(self, model_type=None, event_timestamp=None, customer_id=None, equipment_id=None, payload=None): # noqa: E501 + """EquipmentAddedEvent - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._event_timestamp = None + self._customer_id = None + self._equipment_id = None + self._payload = None + self.discriminator = None + self.model_type = model_type + if event_timestamp is not None: + self.event_timestamp = event_timestamp + if customer_id is not None: + self.customer_id = customer_id + if equipment_id is not None: + self.equipment_id = equipment_id + if payload is not None: + self.payload = payload + + @property + def model_type(self): + """Gets the model_type of this EquipmentAddedEvent. # noqa: E501 + + + :return: The model_type of this EquipmentAddedEvent. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this EquipmentAddedEvent. + + + :param model_type: The model_type of this EquipmentAddedEvent. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + + self._model_type = model_type + + @property + def event_timestamp(self): + """Gets the event_timestamp of this EquipmentAddedEvent. # noqa: E501 + + + :return: The event_timestamp of this EquipmentAddedEvent. # noqa: E501 + :rtype: int + """ + return self._event_timestamp + + @event_timestamp.setter + def event_timestamp(self, event_timestamp): + """Sets the event_timestamp of this EquipmentAddedEvent. + + + :param event_timestamp: The event_timestamp of this EquipmentAddedEvent. # noqa: E501 + :type: int + """ + + self._event_timestamp = event_timestamp + + @property + def customer_id(self): + """Gets the customer_id of this EquipmentAddedEvent. # noqa: E501 + + + :return: The customer_id of this EquipmentAddedEvent. # noqa: E501 + :rtype: int + """ + return self._customer_id + + @customer_id.setter + def customer_id(self, customer_id): + """Sets the customer_id of this EquipmentAddedEvent. + + + :param customer_id: The customer_id of this EquipmentAddedEvent. # noqa: E501 + :type: int + """ + + self._customer_id = customer_id + + @property + def equipment_id(self): + """Gets the equipment_id of this EquipmentAddedEvent. # noqa: E501 + + + :return: The equipment_id of this EquipmentAddedEvent. # noqa: E501 + :rtype: int + """ + return self._equipment_id + + @equipment_id.setter + def equipment_id(self, equipment_id): + """Sets the equipment_id of this EquipmentAddedEvent. + + + :param equipment_id: The equipment_id of this EquipmentAddedEvent. # noqa: E501 + :type: int + """ + + self._equipment_id = equipment_id + + @property + def payload(self): + """Gets the payload of this EquipmentAddedEvent. # noqa: E501 + + + :return: The payload of this EquipmentAddedEvent. # noqa: E501 + :rtype: Equipment + """ + return self._payload + + @payload.setter + def payload(self, payload): + """Sets the payload of this EquipmentAddedEvent. + + + :param payload: The payload of this EquipmentAddedEvent. # noqa: E501 + :type: Equipment + """ + + self._payload = payload + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(EquipmentAddedEvent, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, EquipmentAddedEvent): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_admin_status_data.py b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_admin_status_data.py new file mode 100644 index 000000000..2f753177c --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_admin_status_data.py @@ -0,0 +1,201 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class EquipmentAdminStatusData(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'status_data_type': 'str', + 'status_code': 'StatusCode', + 'status_message': 'str' + } + + attribute_map = { + 'model_type': 'model_type', + 'status_data_type': 'statusDataType', + 'status_code': 'statusCode', + 'status_message': 'statusMessage' + } + + def __init__(self, model_type=None, status_data_type=None, status_code=None, status_message=None): # noqa: E501 + """EquipmentAdminStatusData - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._status_data_type = None + self._status_code = None + self._status_message = None + self.discriminator = None + self.model_type = model_type + if status_data_type is not None: + self.status_data_type = status_data_type + if status_code is not None: + self.status_code = status_code + if status_message is not None: + self.status_message = status_message + + @property + def model_type(self): + """Gets the model_type of this EquipmentAdminStatusData. # noqa: E501 + + + :return: The model_type of this EquipmentAdminStatusData. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this EquipmentAdminStatusData. + + + :param model_type: The model_type of this EquipmentAdminStatusData. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + allowed_values = ["EquipmentAdminStatusData"] # noqa: E501 + if model_type not in allowed_values: + raise ValueError( + "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 + .format(model_type, allowed_values) + ) + + self._model_type = model_type + + @property + def status_data_type(self): + """Gets the status_data_type of this EquipmentAdminStatusData. # noqa: E501 + + + :return: The status_data_type of this EquipmentAdminStatusData. # noqa: E501 + :rtype: str + """ + return self._status_data_type + + @status_data_type.setter + def status_data_type(self, status_data_type): + """Sets the status_data_type of this EquipmentAdminStatusData. + + + :param status_data_type: The status_data_type of this EquipmentAdminStatusData. # noqa: E501 + :type: str + """ + allowed_values = ["EQUIPMENT_ADMIN"] # noqa: E501 + if status_data_type not in allowed_values: + raise ValueError( + "Invalid value for `status_data_type` ({0}), must be one of {1}" # noqa: E501 + .format(status_data_type, allowed_values) + ) + + self._status_data_type = status_data_type + + @property + def status_code(self): + """Gets the status_code of this EquipmentAdminStatusData. # noqa: E501 + + + :return: The status_code of this EquipmentAdminStatusData. # noqa: E501 + :rtype: StatusCode + """ + return self._status_code + + @status_code.setter + def status_code(self, status_code): + """Sets the status_code of this EquipmentAdminStatusData. + + + :param status_code: The status_code of this EquipmentAdminStatusData. # noqa: E501 + :type: StatusCode + """ + + self._status_code = status_code + + @property + def status_message(self): + """Gets the status_message of this EquipmentAdminStatusData. # noqa: E501 + + + :return: The status_message of this EquipmentAdminStatusData. # noqa: E501 + :rtype: str + """ + return self._status_message + + @status_message.setter + def status_message(self, status_message): + """Sets the status_message of this EquipmentAdminStatusData. + + + :param status_message: The status_message of this EquipmentAdminStatusData. # noqa: E501 + :type: str + """ + + self._status_message = status_message + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(EquipmentAdminStatusData, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, EquipmentAdminStatusData): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_auto_provisioning_settings.py b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_auto_provisioning_settings.py new file mode 100644 index 000000000..8c51a6322 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_auto_provisioning_settings.py @@ -0,0 +1,164 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class EquipmentAutoProvisioningSettings(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'enabled': 'bool', + 'location_id': 'int', + 'equipment_profile_id_per_model': 'LongValueMap' + } + + attribute_map = { + 'enabled': 'enabled', + 'location_id': 'locationId', + 'equipment_profile_id_per_model': 'equipmentProfileIdPerModel' + } + + def __init__(self, enabled=None, location_id=None, equipment_profile_id_per_model=None): # noqa: E501 + """EquipmentAutoProvisioningSettings - a model defined in Swagger""" # noqa: E501 + self._enabled = None + self._location_id = None + self._equipment_profile_id_per_model = None + self.discriminator = None + if enabled is not None: + self.enabled = enabled + if location_id is not None: + self.location_id = location_id + if equipment_profile_id_per_model is not None: + self.equipment_profile_id_per_model = equipment_profile_id_per_model + + @property + def enabled(self): + """Gets the enabled of this EquipmentAutoProvisioningSettings. # noqa: E501 + + + :return: The enabled of this EquipmentAutoProvisioningSettings. # noqa: E501 + :rtype: bool + """ + return self._enabled + + @enabled.setter + def enabled(self, enabled): + """Sets the enabled of this EquipmentAutoProvisioningSettings. + + + :param enabled: The enabled of this EquipmentAutoProvisioningSettings. # noqa: E501 + :type: bool + """ + + self._enabled = enabled + + @property + def location_id(self): + """Gets the location_id of this EquipmentAutoProvisioningSettings. # noqa: E501 + + auto-provisioned equipment will appear under this location # noqa: E501 + + :return: The location_id of this EquipmentAutoProvisioningSettings. # noqa: E501 + :rtype: int + """ + return self._location_id + + @location_id.setter + def location_id(self, location_id): + """Sets the location_id of this EquipmentAutoProvisioningSettings. + + auto-provisioned equipment will appear under this location # noqa: E501 + + :param location_id: The location_id of this EquipmentAutoProvisioningSettings. # noqa: E501 + :type: int + """ + + self._location_id = location_id + + @property + def equipment_profile_id_per_model(self): + """Gets the equipment_profile_id_per_model of this EquipmentAutoProvisioningSettings. # noqa: E501 + + + :return: The equipment_profile_id_per_model of this EquipmentAutoProvisioningSettings. # noqa: E501 + :rtype: LongValueMap + """ + return self._equipment_profile_id_per_model + + @equipment_profile_id_per_model.setter + def equipment_profile_id_per_model(self, equipment_profile_id_per_model): + """Sets the equipment_profile_id_per_model of this EquipmentAutoProvisioningSettings. + + + :param equipment_profile_id_per_model: The equipment_profile_id_per_model of this EquipmentAutoProvisioningSettings. # noqa: E501 + :type: LongValueMap + """ + + self._equipment_profile_id_per_model = equipment_profile_id_per_model + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(EquipmentAutoProvisioningSettings, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, EquipmentAutoProvisioningSettings): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_capacity_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_capacity_details.py new file mode 100644 index 000000000..8586f4182 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_capacity_details.py @@ -0,0 +1,224 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class EquipmentCapacityDetails(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'total_capacity': 'int', + 'available_capacity': 'int', + 'unavailable_capacity': 'int', + 'unused_capacity': 'int', + 'used_capacity': 'int' + } + + attribute_map = { + 'total_capacity': 'totalCapacity', + 'available_capacity': 'availableCapacity', + 'unavailable_capacity': 'unavailableCapacity', + 'unused_capacity': 'unusedCapacity', + 'used_capacity': 'usedCapacity' + } + + def __init__(self, total_capacity=None, available_capacity=None, unavailable_capacity=None, unused_capacity=None, used_capacity=None): # noqa: E501 + """EquipmentCapacityDetails - a model defined in Swagger""" # noqa: E501 + self._total_capacity = None + self._available_capacity = None + self._unavailable_capacity = None + self._unused_capacity = None + self._used_capacity = None + self.discriminator = None + if total_capacity is not None: + self.total_capacity = total_capacity + if available_capacity is not None: + self.available_capacity = available_capacity + if unavailable_capacity is not None: + self.unavailable_capacity = unavailable_capacity + if unused_capacity is not None: + self.unused_capacity = unused_capacity + if used_capacity is not None: + self.used_capacity = used_capacity + + @property + def total_capacity(self): + """Gets the total_capacity of this EquipmentCapacityDetails. # noqa: E501 + + A theoretical maximum based on channel bandwidth # noqa: E501 + + :return: The total_capacity of this EquipmentCapacityDetails. # noqa: E501 + :rtype: int + """ + return self._total_capacity + + @total_capacity.setter + def total_capacity(self, total_capacity): + """Sets the total_capacity of this EquipmentCapacityDetails. + + A theoretical maximum based on channel bandwidth # noqa: E501 + + :param total_capacity: The total_capacity of this EquipmentCapacityDetails. # noqa: E501 + :type: int + """ + + self._total_capacity = total_capacity + + @property + def available_capacity(self): + """Gets the available_capacity of this EquipmentCapacityDetails. # noqa: E501 + + The percentage of capacity that is available for clients. # noqa: E501 + + :return: The available_capacity of this EquipmentCapacityDetails. # noqa: E501 + :rtype: int + """ + return self._available_capacity + + @available_capacity.setter + def available_capacity(self, available_capacity): + """Sets the available_capacity of this EquipmentCapacityDetails. + + The percentage of capacity that is available for clients. # noqa: E501 + + :param available_capacity: The available_capacity of this EquipmentCapacityDetails. # noqa: E501 + :type: int + """ + + self._available_capacity = available_capacity + + @property + def unavailable_capacity(self): + """Gets the unavailable_capacity of this EquipmentCapacityDetails. # noqa: E501 + + The percentage of capacity that is not available for clients (e.g. beacons, noise, non-wifi) # noqa: E501 + + :return: The unavailable_capacity of this EquipmentCapacityDetails. # noqa: E501 + :rtype: int + """ + return self._unavailable_capacity + + @unavailable_capacity.setter + def unavailable_capacity(self, unavailable_capacity): + """Sets the unavailable_capacity of this EquipmentCapacityDetails. + + The percentage of capacity that is not available for clients (e.g. beacons, noise, non-wifi) # noqa: E501 + + :param unavailable_capacity: The unavailable_capacity of this EquipmentCapacityDetails. # noqa: E501 + :type: int + """ + + self._unavailable_capacity = unavailable_capacity + + @property + def unused_capacity(self): + """Gets the unused_capacity of this EquipmentCapacityDetails. # noqa: E501 + + The percentage of the overall capacity that is not being used. # noqa: E501 + + :return: The unused_capacity of this EquipmentCapacityDetails. # noqa: E501 + :rtype: int + """ + return self._unused_capacity + + @unused_capacity.setter + def unused_capacity(self, unused_capacity): + """Sets the unused_capacity of this EquipmentCapacityDetails. + + The percentage of the overall capacity that is not being used. # noqa: E501 + + :param unused_capacity: The unused_capacity of this EquipmentCapacityDetails. # noqa: E501 + :type: int + """ + + self._unused_capacity = unused_capacity + + @property + def used_capacity(self): + """Gets the used_capacity of this EquipmentCapacityDetails. # noqa: E501 + + The percentage of the overall capacity that is currently being used by associated clients. # noqa: E501 + + :return: The used_capacity of this EquipmentCapacityDetails. # noqa: E501 + :rtype: int + """ + return self._used_capacity + + @used_capacity.setter + def used_capacity(self, used_capacity): + """Sets the used_capacity of this EquipmentCapacityDetails. + + The percentage of the overall capacity that is currently being used by associated clients. # noqa: E501 + + :param used_capacity: The used_capacity of this EquipmentCapacityDetails. # noqa: E501 + :type: int + """ + + self._used_capacity = used_capacity + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(EquipmentCapacityDetails, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, EquipmentCapacityDetails): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_capacity_details_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_capacity_details_map.py new file mode 100644 index 000000000..2f968c027 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_capacity_details_map.py @@ -0,0 +1,188 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class EquipmentCapacityDetailsMap(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'is5_g_hz': 'EquipmentCapacityDetails', + 'is5_g_hz_u': 'EquipmentCapacityDetails', + 'is5_g_hz_l': 'EquipmentCapacityDetails', + 'is2dot4_g_hz': 'EquipmentCapacityDetails' + } + + attribute_map = { + 'is5_g_hz': 'is5GHz', + 'is5_g_hz_u': 'is5GHzU', + 'is5_g_hz_l': 'is5GHzL', + 'is2dot4_g_hz': 'is2dot4GHz' + } + + def __init__(self, is5_g_hz=None, is5_g_hz_u=None, is5_g_hz_l=None, is2dot4_g_hz=None): # noqa: E501 + """EquipmentCapacityDetailsMap - a model defined in Swagger""" # noqa: E501 + self._is5_g_hz = None + self._is5_g_hz_u = None + self._is5_g_hz_l = None + self._is2dot4_g_hz = None + self.discriminator = None + if is5_g_hz is not None: + self.is5_g_hz = is5_g_hz + if is5_g_hz_u is not None: + self.is5_g_hz_u = is5_g_hz_u + if is5_g_hz_l is not None: + self.is5_g_hz_l = is5_g_hz_l + if is2dot4_g_hz is not None: + self.is2dot4_g_hz = is2dot4_g_hz + + @property + def is5_g_hz(self): + """Gets the is5_g_hz of this EquipmentCapacityDetailsMap. # noqa: E501 + + + :return: The is5_g_hz of this EquipmentCapacityDetailsMap. # noqa: E501 + :rtype: EquipmentCapacityDetails + """ + return self._is5_g_hz + + @is5_g_hz.setter + def is5_g_hz(self, is5_g_hz): + """Sets the is5_g_hz of this EquipmentCapacityDetailsMap. + + + :param is5_g_hz: The is5_g_hz of this EquipmentCapacityDetailsMap. # noqa: E501 + :type: EquipmentCapacityDetails + """ + + self._is5_g_hz = is5_g_hz + + @property + def is5_g_hz_u(self): + """Gets the is5_g_hz_u of this EquipmentCapacityDetailsMap. # noqa: E501 + + + :return: The is5_g_hz_u of this EquipmentCapacityDetailsMap. # noqa: E501 + :rtype: EquipmentCapacityDetails + """ + return self._is5_g_hz_u + + @is5_g_hz_u.setter + def is5_g_hz_u(self, is5_g_hz_u): + """Sets the is5_g_hz_u of this EquipmentCapacityDetailsMap. + + + :param is5_g_hz_u: The is5_g_hz_u of this EquipmentCapacityDetailsMap. # noqa: E501 + :type: EquipmentCapacityDetails + """ + + self._is5_g_hz_u = is5_g_hz_u + + @property + def is5_g_hz_l(self): + """Gets the is5_g_hz_l of this EquipmentCapacityDetailsMap. # noqa: E501 + + + :return: The is5_g_hz_l of this EquipmentCapacityDetailsMap. # noqa: E501 + :rtype: EquipmentCapacityDetails + """ + return self._is5_g_hz_l + + @is5_g_hz_l.setter + def is5_g_hz_l(self, is5_g_hz_l): + """Sets the is5_g_hz_l of this EquipmentCapacityDetailsMap. + + + :param is5_g_hz_l: The is5_g_hz_l of this EquipmentCapacityDetailsMap. # noqa: E501 + :type: EquipmentCapacityDetails + """ + + self._is5_g_hz_l = is5_g_hz_l + + @property + def is2dot4_g_hz(self): + """Gets the is2dot4_g_hz of this EquipmentCapacityDetailsMap. # noqa: E501 + + + :return: The is2dot4_g_hz of this EquipmentCapacityDetailsMap. # noqa: E501 + :rtype: EquipmentCapacityDetails + """ + return self._is2dot4_g_hz + + @is2dot4_g_hz.setter + def is2dot4_g_hz(self, is2dot4_g_hz): + """Sets the is2dot4_g_hz of this EquipmentCapacityDetailsMap. + + + :param is2dot4_g_hz: The is2dot4_g_hz of this EquipmentCapacityDetailsMap. # noqa: E501 + :type: EquipmentCapacityDetails + """ + + self._is2dot4_g_hz = is2dot4_g_hz + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(EquipmentCapacityDetailsMap, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, EquipmentCapacityDetailsMap): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_changed_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_changed_event.py new file mode 100644 index 000000000..b41f60142 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_changed_event.py @@ -0,0 +1,215 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class EquipmentChangedEvent(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'event_timestamp': 'int', + 'customer_id': 'int', + 'equipment_id': 'int', + 'payload': 'Equipment' + } + + attribute_map = { + 'model_type': 'model_type', + 'event_timestamp': 'eventTimestamp', + 'customer_id': 'customerId', + 'equipment_id': 'equipmentId', + 'payload': 'payload' + } + + def __init__(self, model_type=None, event_timestamp=None, customer_id=None, equipment_id=None, payload=None): # noqa: E501 + """EquipmentChangedEvent - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._event_timestamp = None + self._customer_id = None + self._equipment_id = None + self._payload = None + self.discriminator = None + self.model_type = model_type + if event_timestamp is not None: + self.event_timestamp = event_timestamp + if customer_id is not None: + self.customer_id = customer_id + if equipment_id is not None: + self.equipment_id = equipment_id + if payload is not None: + self.payload = payload + + @property + def model_type(self): + """Gets the model_type of this EquipmentChangedEvent. # noqa: E501 + + + :return: The model_type of this EquipmentChangedEvent. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this EquipmentChangedEvent. + + + :param model_type: The model_type of this EquipmentChangedEvent. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + + self._model_type = model_type + + @property + def event_timestamp(self): + """Gets the event_timestamp of this EquipmentChangedEvent. # noqa: E501 + + + :return: The event_timestamp of this EquipmentChangedEvent. # noqa: E501 + :rtype: int + """ + return self._event_timestamp + + @event_timestamp.setter + def event_timestamp(self, event_timestamp): + """Sets the event_timestamp of this EquipmentChangedEvent. + + + :param event_timestamp: The event_timestamp of this EquipmentChangedEvent. # noqa: E501 + :type: int + """ + + self._event_timestamp = event_timestamp + + @property + def customer_id(self): + """Gets the customer_id of this EquipmentChangedEvent. # noqa: E501 + + + :return: The customer_id of this EquipmentChangedEvent. # noqa: E501 + :rtype: int + """ + return self._customer_id + + @customer_id.setter + def customer_id(self, customer_id): + """Sets the customer_id of this EquipmentChangedEvent. + + + :param customer_id: The customer_id of this EquipmentChangedEvent. # noqa: E501 + :type: int + """ + + self._customer_id = customer_id + + @property + def equipment_id(self): + """Gets the equipment_id of this EquipmentChangedEvent. # noqa: E501 + + + :return: The equipment_id of this EquipmentChangedEvent. # noqa: E501 + :rtype: int + """ + return self._equipment_id + + @equipment_id.setter + def equipment_id(self, equipment_id): + """Sets the equipment_id of this EquipmentChangedEvent. + + + :param equipment_id: The equipment_id of this EquipmentChangedEvent. # noqa: E501 + :type: int + """ + + self._equipment_id = equipment_id + + @property + def payload(self): + """Gets the payload of this EquipmentChangedEvent. # noqa: E501 + + + :return: The payload of this EquipmentChangedEvent. # noqa: E501 + :rtype: Equipment + """ + return self._payload + + @payload.setter + def payload(self, payload): + """Sets the payload of this EquipmentChangedEvent. + + + :param payload: The payload of this EquipmentChangedEvent. # noqa: E501 + :type: Equipment + """ + + self._payload = payload + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(EquipmentChangedEvent, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, EquipmentChangedEvent): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_details.py new file mode 100644 index 000000000..20326aa7f --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_details.py @@ -0,0 +1,118 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class EquipmentDetails(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'equipment_model': 'str' + } + + attribute_map = { + 'equipment_model': 'equipmentModel' + } + + discriminator_value_class_map = { + } + + def __init__(self, equipment_model=None): # noqa: E501 + """EquipmentDetails - a model defined in Swagger""" # noqa: E501 + self._equipment_model = None + self.discriminator = 'model_type' + if equipment_model is not None: + self.equipment_model = equipment_model + + @property + def equipment_model(self): + """Gets the equipment_model of this EquipmentDetails. # noqa: E501 + + + :return: The equipment_model of this EquipmentDetails. # noqa: E501 + :rtype: str + """ + return self._equipment_model + + @equipment_model.setter + def equipment_model(self, equipment_model): + """Sets the equipment_model of this EquipmentDetails. + + + :param equipment_model: The equipment_model of this EquipmentDetails. # noqa: E501 + :type: str + """ + + self._equipment_model = equipment_model + + def get_real_child_model(self, data): + """Returns the real base class specified by the discriminator""" + discriminator_value = data[self.discriminator].lower() + return self.discriminator_value_class_map.get(discriminator_value) + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(EquipmentDetails, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, EquipmentDetails): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_gateway_record.py b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_gateway_record.py new file mode 100644 index 000000000..28496a131 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_gateway_record.py @@ -0,0 +1,266 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class EquipmentGatewayRecord(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'id': 'int', + 'hostname': 'str', + 'ip_addr': 'str', + 'port': 'int', + 'gateway_type': 'GatewayType', + 'created_time_stamp': 'int', + 'last_modified_timestamp': 'int' + } + + attribute_map = { + 'id': 'id', + 'hostname': 'hostname', + 'ip_addr': 'ipAddr', + 'port': 'port', + 'gateway_type': 'gatewayType', + 'created_time_stamp': 'createdTimeStamp', + 'last_modified_timestamp': 'lastModifiedTimestamp' + } + + def __init__(self, id=None, hostname=None, ip_addr=None, port=None, gateway_type=None, created_time_stamp=None, last_modified_timestamp=None): # noqa: E501 + """EquipmentGatewayRecord - a model defined in Swagger""" # noqa: E501 + self._id = None + self._hostname = None + self._ip_addr = None + self._port = None + self._gateway_type = None + self._created_time_stamp = None + self._last_modified_timestamp = None + self.discriminator = None + if id is not None: + self.id = id + if hostname is not None: + self.hostname = hostname + if ip_addr is not None: + self.ip_addr = ip_addr + if port is not None: + self.port = port + if gateway_type is not None: + self.gateway_type = gateway_type + if created_time_stamp is not None: + self.created_time_stamp = created_time_stamp + if last_modified_timestamp is not None: + self.last_modified_timestamp = last_modified_timestamp + + @property + def id(self): + """Gets the id of this EquipmentGatewayRecord. # noqa: E501 + + + :return: The id of this EquipmentGatewayRecord. # noqa: E501 + :rtype: int + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this EquipmentGatewayRecord. + + + :param id: The id of this EquipmentGatewayRecord. # noqa: E501 + :type: int + """ + + self._id = id + + @property + def hostname(self): + """Gets the hostname of this EquipmentGatewayRecord. # noqa: E501 + + + :return: The hostname of this EquipmentGatewayRecord. # noqa: E501 + :rtype: str + """ + return self._hostname + + @hostname.setter + def hostname(self, hostname): + """Sets the hostname of this EquipmentGatewayRecord. + + + :param hostname: The hostname of this EquipmentGatewayRecord. # noqa: E501 + :type: str + """ + + self._hostname = hostname + + @property + def ip_addr(self): + """Gets the ip_addr of this EquipmentGatewayRecord. # noqa: E501 + + + :return: The ip_addr of this EquipmentGatewayRecord. # noqa: E501 + :rtype: str + """ + return self._ip_addr + + @ip_addr.setter + def ip_addr(self, ip_addr): + """Sets the ip_addr of this EquipmentGatewayRecord. + + + :param ip_addr: The ip_addr of this EquipmentGatewayRecord. # noqa: E501 + :type: str + """ + + self._ip_addr = ip_addr + + @property + def port(self): + """Gets the port of this EquipmentGatewayRecord. # noqa: E501 + + + :return: The port of this EquipmentGatewayRecord. # noqa: E501 + :rtype: int + """ + return self._port + + @port.setter + def port(self, port): + """Sets the port of this EquipmentGatewayRecord. + + + :param port: The port of this EquipmentGatewayRecord. # noqa: E501 + :type: int + """ + + self._port = port + + @property + def gateway_type(self): + """Gets the gateway_type of this EquipmentGatewayRecord. # noqa: E501 + + + :return: The gateway_type of this EquipmentGatewayRecord. # noqa: E501 + :rtype: GatewayType + """ + return self._gateway_type + + @gateway_type.setter + def gateway_type(self, gateway_type): + """Sets the gateway_type of this EquipmentGatewayRecord. + + + :param gateway_type: The gateway_type of this EquipmentGatewayRecord. # noqa: E501 + :type: GatewayType + """ + + self._gateway_type = gateway_type + + @property + def created_time_stamp(self): + """Gets the created_time_stamp of this EquipmentGatewayRecord. # noqa: E501 + + + :return: The created_time_stamp of this EquipmentGatewayRecord. # noqa: E501 + :rtype: int + """ + return self._created_time_stamp + + @created_time_stamp.setter + def created_time_stamp(self, created_time_stamp): + """Sets the created_time_stamp of this EquipmentGatewayRecord. + + + :param created_time_stamp: The created_time_stamp of this EquipmentGatewayRecord. # noqa: E501 + :type: int + """ + + self._created_time_stamp = created_time_stamp + + @property + def last_modified_timestamp(self): + """Gets the last_modified_timestamp of this EquipmentGatewayRecord. # noqa: E501 + + + :return: The last_modified_timestamp of this EquipmentGatewayRecord. # noqa: E501 + :rtype: int + """ + return self._last_modified_timestamp + + @last_modified_timestamp.setter + def last_modified_timestamp(self, last_modified_timestamp): + """Sets the last_modified_timestamp of this EquipmentGatewayRecord. + + + :param last_modified_timestamp: The last_modified_timestamp of this EquipmentGatewayRecord. # noqa: E501 + :type: int + """ + + self._last_modified_timestamp = last_modified_timestamp + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(EquipmentGatewayRecord, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, EquipmentGatewayRecord): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_lan_status_data.py b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_lan_status_data.py new file mode 100644 index 000000000..59b28ece7 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_lan_status_data.py @@ -0,0 +1,175 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class EquipmentLANStatusData(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'status_data_type': 'str', + 'vlan_status_data_map': 'VLANStatusDataMap' + } + + attribute_map = { + 'model_type': 'model_type', + 'status_data_type': 'statusDataType', + 'vlan_status_data_map': 'vlanStatusDataMap' + } + + def __init__(self, model_type=None, status_data_type=None, vlan_status_data_map=None): # noqa: E501 + """EquipmentLANStatusData - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._status_data_type = None + self._vlan_status_data_map = None + self.discriminator = None + self.model_type = model_type + if status_data_type is not None: + self.status_data_type = status_data_type + if vlan_status_data_map is not None: + self.vlan_status_data_map = vlan_status_data_map + + @property + def model_type(self): + """Gets the model_type of this EquipmentLANStatusData. # noqa: E501 + + + :return: The model_type of this EquipmentLANStatusData. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this EquipmentLANStatusData. + + + :param model_type: The model_type of this EquipmentLANStatusData. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + allowed_values = ["EquipmentLANStatusData"] # noqa: E501 + if model_type not in allowed_values: + raise ValueError( + "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 + .format(model_type, allowed_values) + ) + + self._model_type = model_type + + @property + def status_data_type(self): + """Gets the status_data_type of this EquipmentLANStatusData. # noqa: E501 + + + :return: The status_data_type of this EquipmentLANStatusData. # noqa: E501 + :rtype: str + """ + return self._status_data_type + + @status_data_type.setter + def status_data_type(self, status_data_type): + """Sets the status_data_type of this EquipmentLANStatusData. + + + :param status_data_type: The status_data_type of this EquipmentLANStatusData. # noqa: E501 + :type: str + """ + allowed_values = ["LANINFO"] # noqa: E501 + if status_data_type not in allowed_values: + raise ValueError( + "Invalid value for `status_data_type` ({0}), must be one of {1}" # noqa: E501 + .format(status_data_type, allowed_values) + ) + + self._status_data_type = status_data_type + + @property + def vlan_status_data_map(self): + """Gets the vlan_status_data_map of this EquipmentLANStatusData. # noqa: E501 + + + :return: The vlan_status_data_map of this EquipmentLANStatusData. # noqa: E501 + :rtype: VLANStatusDataMap + """ + return self._vlan_status_data_map + + @vlan_status_data_map.setter + def vlan_status_data_map(self, vlan_status_data_map): + """Sets the vlan_status_data_map of this EquipmentLANStatusData. + + + :param vlan_status_data_map: The vlan_status_data_map of this EquipmentLANStatusData. # noqa: E501 + :type: VLANStatusDataMap + """ + + self._vlan_status_data_map = vlan_status_data_map + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(EquipmentLANStatusData, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, EquipmentLANStatusData): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_neighbouring_status_data.py b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_neighbouring_status_data.py new file mode 100644 index 000000000..ed276cb73 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_neighbouring_status_data.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class EquipmentNeighbouringStatusData(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'status_data_type': 'str' + } + + attribute_map = { + 'model_type': 'model_type', + 'status_data_type': 'statusDataType' + } + + def __init__(self, model_type=None, status_data_type=None): # noqa: E501 + """EquipmentNeighbouringStatusData - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._status_data_type = None + self.discriminator = None + self.model_type = model_type + if status_data_type is not None: + self.status_data_type = status_data_type + + @property + def model_type(self): + """Gets the model_type of this EquipmentNeighbouringStatusData. # noqa: E501 + + + :return: The model_type of this EquipmentNeighbouringStatusData. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this EquipmentNeighbouringStatusData. + + + :param model_type: The model_type of this EquipmentNeighbouringStatusData. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + allowed_values = ["EquipmentNeighbouringStatusData"] # noqa: E501 + if model_type not in allowed_values: + raise ValueError( + "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 + .format(model_type, allowed_values) + ) + + self._model_type = model_type + + @property + def status_data_type(self): + """Gets the status_data_type of this EquipmentNeighbouringStatusData. # noqa: E501 + + + :return: The status_data_type of this EquipmentNeighbouringStatusData. # noqa: E501 + :rtype: str + """ + return self._status_data_type + + @status_data_type.setter + def status_data_type(self, status_data_type): + """Sets the status_data_type of this EquipmentNeighbouringStatusData. + + + :param status_data_type: The status_data_type of this EquipmentNeighbouringStatusData. # noqa: E501 + :type: str + """ + allowed_values = ["NEIGHBOURINGINFO"] # noqa: E501 + if status_data_type not in allowed_values: + raise ValueError( + "Invalid value for `status_data_type` ({0}), must be one of {1}" # noqa: E501 + .format(status_data_type, allowed_values) + ) + + self._status_data_type = status_data_type + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(EquipmentNeighbouringStatusData, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, EquipmentNeighbouringStatusData): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_peer_status_data.py b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_peer_status_data.py new file mode 100644 index 000000000..4322cf8d8 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_peer_status_data.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class EquipmentPeerStatusData(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'status_data_type': 'str' + } + + attribute_map = { + 'model_type': 'model_type', + 'status_data_type': 'statusDataType' + } + + def __init__(self, model_type=None, status_data_type=None): # noqa: E501 + """EquipmentPeerStatusData - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._status_data_type = None + self.discriminator = None + self.model_type = model_type + if status_data_type is not None: + self.status_data_type = status_data_type + + @property + def model_type(self): + """Gets the model_type of this EquipmentPeerStatusData. # noqa: E501 + + + :return: The model_type of this EquipmentPeerStatusData. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this EquipmentPeerStatusData. + + + :param model_type: The model_type of this EquipmentPeerStatusData. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + allowed_values = ["EquipmentPeerStatusData"] # noqa: E501 + if model_type not in allowed_values: + raise ValueError( + "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 + .format(model_type, allowed_values) + ) + + self._model_type = model_type + + @property + def status_data_type(self): + """Gets the status_data_type of this EquipmentPeerStatusData. # noqa: E501 + + + :return: The status_data_type of this EquipmentPeerStatusData. # noqa: E501 + :rtype: str + """ + return self._status_data_type + + @status_data_type.setter + def status_data_type(self, status_data_type): + """Sets the status_data_type of this EquipmentPeerStatusData. + + + :param status_data_type: The status_data_type of this EquipmentPeerStatusData. # noqa: E501 + :type: str + """ + allowed_values = ["PEERINFO"] # noqa: E501 + if status_data_type not in allowed_values: + raise ValueError( + "Invalid value for `status_data_type` ({0}), must be one of {1}" # noqa: E501 + .format(status_data_type, allowed_values) + ) + + self._status_data_type = status_data_type + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(EquipmentPeerStatusData, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, EquipmentPeerStatusData): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_per_radio_utilization_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_per_radio_utilization_details.py new file mode 100644 index 000000000..f6a2e2cff --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_per_radio_utilization_details.py @@ -0,0 +1,110 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class EquipmentPerRadioUtilizationDetails(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'wifi_from_other_bss': 'MinMaxAvgValueInt' + } + + attribute_map = { + 'wifi_from_other_bss': 'wifiFromOtherBss' + } + + def __init__(self, wifi_from_other_bss=None): # noqa: E501 + """EquipmentPerRadioUtilizationDetails - a model defined in Swagger""" # noqa: E501 + self._wifi_from_other_bss = None + self.discriminator = None + if wifi_from_other_bss is not None: + self.wifi_from_other_bss = wifi_from_other_bss + + @property + def wifi_from_other_bss(self): + """Gets the wifi_from_other_bss of this EquipmentPerRadioUtilizationDetails. # noqa: E501 + + + :return: The wifi_from_other_bss of this EquipmentPerRadioUtilizationDetails. # noqa: E501 + :rtype: MinMaxAvgValueInt + """ + return self._wifi_from_other_bss + + @wifi_from_other_bss.setter + def wifi_from_other_bss(self, wifi_from_other_bss): + """Sets the wifi_from_other_bss of this EquipmentPerRadioUtilizationDetails. + + + :param wifi_from_other_bss: The wifi_from_other_bss of this EquipmentPerRadioUtilizationDetails. # noqa: E501 + :type: MinMaxAvgValueInt + """ + + self._wifi_from_other_bss = wifi_from_other_bss + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(EquipmentPerRadioUtilizationDetails, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, EquipmentPerRadioUtilizationDetails): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_per_radio_utilization_details_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_per_radio_utilization_details_map.py new file mode 100644 index 000000000..16fecdf0d --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_per_radio_utilization_details_map.py @@ -0,0 +1,188 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class EquipmentPerRadioUtilizationDetailsMap(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'is5_g_hz': 'EquipmentPerRadioUtilizationDetails', + 'is5_g_hz_u': 'EquipmentPerRadioUtilizationDetails', + 'is5_g_hz_l': 'EquipmentPerRadioUtilizationDetails', + 'is2dot4_g_hz': 'EquipmentPerRadioUtilizationDetails' + } + + attribute_map = { + 'is5_g_hz': 'is5GHz', + 'is5_g_hz_u': 'is5GHzU', + 'is5_g_hz_l': 'is5GHzL', + 'is2dot4_g_hz': 'is2dot4GHz' + } + + def __init__(self, is5_g_hz=None, is5_g_hz_u=None, is5_g_hz_l=None, is2dot4_g_hz=None): # noqa: E501 + """EquipmentPerRadioUtilizationDetailsMap - a model defined in Swagger""" # noqa: E501 + self._is5_g_hz = None + self._is5_g_hz_u = None + self._is5_g_hz_l = None + self._is2dot4_g_hz = None + self.discriminator = None + if is5_g_hz is not None: + self.is5_g_hz = is5_g_hz + if is5_g_hz_u is not None: + self.is5_g_hz_u = is5_g_hz_u + if is5_g_hz_l is not None: + self.is5_g_hz_l = is5_g_hz_l + if is2dot4_g_hz is not None: + self.is2dot4_g_hz = is2dot4_g_hz + + @property + def is5_g_hz(self): + """Gets the is5_g_hz of this EquipmentPerRadioUtilizationDetailsMap. # noqa: E501 + + + :return: The is5_g_hz of this EquipmentPerRadioUtilizationDetailsMap. # noqa: E501 + :rtype: EquipmentPerRadioUtilizationDetails + """ + return self._is5_g_hz + + @is5_g_hz.setter + def is5_g_hz(self, is5_g_hz): + """Sets the is5_g_hz of this EquipmentPerRadioUtilizationDetailsMap. + + + :param is5_g_hz: The is5_g_hz of this EquipmentPerRadioUtilizationDetailsMap. # noqa: E501 + :type: EquipmentPerRadioUtilizationDetails + """ + + self._is5_g_hz = is5_g_hz + + @property + def is5_g_hz_u(self): + """Gets the is5_g_hz_u of this EquipmentPerRadioUtilizationDetailsMap. # noqa: E501 + + + :return: The is5_g_hz_u of this EquipmentPerRadioUtilizationDetailsMap. # noqa: E501 + :rtype: EquipmentPerRadioUtilizationDetails + """ + return self._is5_g_hz_u + + @is5_g_hz_u.setter + def is5_g_hz_u(self, is5_g_hz_u): + """Sets the is5_g_hz_u of this EquipmentPerRadioUtilizationDetailsMap. + + + :param is5_g_hz_u: The is5_g_hz_u of this EquipmentPerRadioUtilizationDetailsMap. # noqa: E501 + :type: EquipmentPerRadioUtilizationDetails + """ + + self._is5_g_hz_u = is5_g_hz_u + + @property + def is5_g_hz_l(self): + """Gets the is5_g_hz_l of this EquipmentPerRadioUtilizationDetailsMap. # noqa: E501 + + + :return: The is5_g_hz_l of this EquipmentPerRadioUtilizationDetailsMap. # noqa: E501 + :rtype: EquipmentPerRadioUtilizationDetails + """ + return self._is5_g_hz_l + + @is5_g_hz_l.setter + def is5_g_hz_l(self, is5_g_hz_l): + """Sets the is5_g_hz_l of this EquipmentPerRadioUtilizationDetailsMap. + + + :param is5_g_hz_l: The is5_g_hz_l of this EquipmentPerRadioUtilizationDetailsMap. # noqa: E501 + :type: EquipmentPerRadioUtilizationDetails + """ + + self._is5_g_hz_l = is5_g_hz_l + + @property + def is2dot4_g_hz(self): + """Gets the is2dot4_g_hz of this EquipmentPerRadioUtilizationDetailsMap. # noqa: E501 + + + :return: The is2dot4_g_hz of this EquipmentPerRadioUtilizationDetailsMap. # noqa: E501 + :rtype: EquipmentPerRadioUtilizationDetails + """ + return self._is2dot4_g_hz + + @is2dot4_g_hz.setter + def is2dot4_g_hz(self, is2dot4_g_hz): + """Sets the is2dot4_g_hz of this EquipmentPerRadioUtilizationDetailsMap. + + + :param is2dot4_g_hz: The is2dot4_g_hz of this EquipmentPerRadioUtilizationDetailsMap. # noqa: E501 + :type: EquipmentPerRadioUtilizationDetails + """ + + self._is2dot4_g_hz = is2dot4_g_hz + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(EquipmentPerRadioUtilizationDetailsMap, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, EquipmentPerRadioUtilizationDetailsMap): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_performance_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_performance_details.py new file mode 100644 index 000000000..5f3f45258 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_performance_details.py @@ -0,0 +1,188 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class EquipmentPerformanceDetails(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'avg_free_memory': 'int', + 'avg_cpu_util_core1': 'int', + 'avg_cpu_util_core2': 'int', + 'avg_cpu_temperature': 'int' + } + + attribute_map = { + 'avg_free_memory': 'avgFreeMemory', + 'avg_cpu_util_core1': 'avgCpuUtilCore1', + 'avg_cpu_util_core2': 'avgCpuUtilCore2', + 'avg_cpu_temperature': 'avgCpuTemperature' + } + + def __init__(self, avg_free_memory=None, avg_cpu_util_core1=None, avg_cpu_util_core2=None, avg_cpu_temperature=None): # noqa: E501 + """EquipmentPerformanceDetails - a model defined in Swagger""" # noqa: E501 + self._avg_free_memory = None + self._avg_cpu_util_core1 = None + self._avg_cpu_util_core2 = None + self._avg_cpu_temperature = None + self.discriminator = None + if avg_free_memory is not None: + self.avg_free_memory = avg_free_memory + if avg_cpu_util_core1 is not None: + self.avg_cpu_util_core1 = avg_cpu_util_core1 + if avg_cpu_util_core2 is not None: + self.avg_cpu_util_core2 = avg_cpu_util_core2 + if avg_cpu_temperature is not None: + self.avg_cpu_temperature = avg_cpu_temperature + + @property + def avg_free_memory(self): + """Gets the avg_free_memory of this EquipmentPerformanceDetails. # noqa: E501 + + + :return: The avg_free_memory of this EquipmentPerformanceDetails. # noqa: E501 + :rtype: int + """ + return self._avg_free_memory + + @avg_free_memory.setter + def avg_free_memory(self, avg_free_memory): + """Sets the avg_free_memory of this EquipmentPerformanceDetails. + + + :param avg_free_memory: The avg_free_memory of this EquipmentPerformanceDetails. # noqa: E501 + :type: int + """ + + self._avg_free_memory = avg_free_memory + + @property + def avg_cpu_util_core1(self): + """Gets the avg_cpu_util_core1 of this EquipmentPerformanceDetails. # noqa: E501 + + + :return: The avg_cpu_util_core1 of this EquipmentPerformanceDetails. # noqa: E501 + :rtype: int + """ + return self._avg_cpu_util_core1 + + @avg_cpu_util_core1.setter + def avg_cpu_util_core1(self, avg_cpu_util_core1): + """Sets the avg_cpu_util_core1 of this EquipmentPerformanceDetails. + + + :param avg_cpu_util_core1: The avg_cpu_util_core1 of this EquipmentPerformanceDetails. # noqa: E501 + :type: int + """ + + self._avg_cpu_util_core1 = avg_cpu_util_core1 + + @property + def avg_cpu_util_core2(self): + """Gets the avg_cpu_util_core2 of this EquipmentPerformanceDetails. # noqa: E501 + + + :return: The avg_cpu_util_core2 of this EquipmentPerformanceDetails. # noqa: E501 + :rtype: int + """ + return self._avg_cpu_util_core2 + + @avg_cpu_util_core2.setter + def avg_cpu_util_core2(self, avg_cpu_util_core2): + """Sets the avg_cpu_util_core2 of this EquipmentPerformanceDetails. + + + :param avg_cpu_util_core2: The avg_cpu_util_core2 of this EquipmentPerformanceDetails. # noqa: E501 + :type: int + """ + + self._avg_cpu_util_core2 = avg_cpu_util_core2 + + @property + def avg_cpu_temperature(self): + """Gets the avg_cpu_temperature of this EquipmentPerformanceDetails. # noqa: E501 + + + :return: The avg_cpu_temperature of this EquipmentPerformanceDetails. # noqa: E501 + :rtype: int + """ + return self._avg_cpu_temperature + + @avg_cpu_temperature.setter + def avg_cpu_temperature(self, avg_cpu_temperature): + """Sets the avg_cpu_temperature of this EquipmentPerformanceDetails. + + + :param avg_cpu_temperature: The avg_cpu_temperature of this EquipmentPerformanceDetails. # noqa: E501 + :type: int + """ + + self._avg_cpu_temperature = avg_cpu_temperature + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(EquipmentPerformanceDetails, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, EquipmentPerformanceDetails): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_protocol_state.py b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_protocol_state.py new file mode 100644 index 000000000..dc4b4c8f2 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_protocol_state.py @@ -0,0 +1,94 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class EquipmentProtocolState(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + INIT = "init" + JOINED = "joined" + CONFIGURATION_RECEIVED = "configuration_received" + READY = "ready" + ERROR_WHEN_JOINING = "error_when_joining" + ERROR_PROCESSING_CONFIGURATION = "error_processing_configuration" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """EquipmentProtocolState - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(EquipmentProtocolState, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, EquipmentProtocolState): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_protocol_status_data.py b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_protocol_status_data.py new file mode 100644 index 000000000..ed82ae020 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_protocol_status_data.py @@ -0,0 +1,799 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class EquipmentProtocolStatusData(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'status_data_type': 'str', + 'powered_on': 'bool', + 'protocol_state': 'EquipmentProtocolState', + 'reported_hw_version': 'str', + 'reported_sw_version': 'str', + 'reported_sw_alt_version': 'str', + 'cloud_protocol_version': 'str', + 'reported_ip_v4_addr': 'str', + 'reported_ip_v6_addr': 'str', + 'reported_mac_addr': 'MacAddress', + 'country_code': 'str', + 'system_name': 'str', + 'system_contact': 'str', + 'system_location': 'str', + 'band_plan': 'str', + 'serial_number': 'str', + 'base_mac_address': 'MacAddress', + 'reported_apc_address': 'str', + 'last_apc_update': 'int', + 'is_apc_connected': 'bool', + 'ip_based_configuration': 'str', + 'reported_sku': 'str', + 'reported_cc': 'CountryCode', + 'radius_proxy_address': 'str', + 'reported_cfg_data_version': 'int', + 'cloud_cfg_data_version': 'int' + } + + attribute_map = { + 'model_type': 'model_type', + 'status_data_type': 'statusDataType', + 'powered_on': 'poweredOn', + 'protocol_state': 'protocolState', + 'reported_hw_version': 'reportedHwVersion', + 'reported_sw_version': 'reportedSwVersion', + 'reported_sw_alt_version': 'reportedSwAltVersion', + 'cloud_protocol_version': 'cloudProtocolVersion', + 'reported_ip_v4_addr': 'reportedIpV4Addr', + 'reported_ip_v6_addr': 'reportedIpV6Addr', + 'reported_mac_addr': 'reportedMacAddr', + 'country_code': 'countryCode', + 'system_name': 'systemName', + 'system_contact': 'systemContact', + 'system_location': 'systemLocation', + 'band_plan': 'bandPlan', + 'serial_number': 'serialNumber', + 'base_mac_address': 'baseMacAddress', + 'reported_apc_address': 'reportedApcAddress', + 'last_apc_update': 'lastApcUpdate', + 'is_apc_connected': 'isApcConnected', + 'ip_based_configuration': 'ipBasedConfiguration', + 'reported_sku': 'reportedSku', + 'reported_cc': 'reportedCC', + 'radius_proxy_address': 'radiusProxyAddress', + 'reported_cfg_data_version': 'reportedCfgDataVersion', + 'cloud_cfg_data_version': 'cloudCfgDataVersion' + } + + def __init__(self, model_type=None, status_data_type=None, powered_on=None, protocol_state=None, reported_hw_version=None, reported_sw_version=None, reported_sw_alt_version=None, cloud_protocol_version=None, reported_ip_v4_addr=None, reported_ip_v6_addr=None, reported_mac_addr=None, country_code=None, system_name=None, system_contact=None, system_location=None, band_plan=None, serial_number=None, base_mac_address=None, reported_apc_address=None, last_apc_update=None, is_apc_connected=None, ip_based_configuration=None, reported_sku=None, reported_cc=None, radius_proxy_address=None, reported_cfg_data_version=None, cloud_cfg_data_version=None): # noqa: E501 + """EquipmentProtocolStatusData - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._status_data_type = None + self._powered_on = None + self._protocol_state = None + self._reported_hw_version = None + self._reported_sw_version = None + self._reported_sw_alt_version = None + self._cloud_protocol_version = None + self._reported_ip_v4_addr = None + self._reported_ip_v6_addr = None + self._reported_mac_addr = None + self._country_code = None + self._system_name = None + self._system_contact = None + self._system_location = None + self._band_plan = None + self._serial_number = None + self._base_mac_address = None + self._reported_apc_address = None + self._last_apc_update = None + self._is_apc_connected = None + self._ip_based_configuration = None + self._reported_sku = None + self._reported_cc = None + self._radius_proxy_address = None + self._reported_cfg_data_version = None + self._cloud_cfg_data_version = None + self.discriminator = None + self.model_type = model_type + if status_data_type is not None: + self.status_data_type = status_data_type + if powered_on is not None: + self.powered_on = powered_on + if protocol_state is not None: + self.protocol_state = protocol_state + if reported_hw_version is not None: + self.reported_hw_version = reported_hw_version + if reported_sw_version is not None: + self.reported_sw_version = reported_sw_version + if reported_sw_alt_version is not None: + self.reported_sw_alt_version = reported_sw_alt_version + if cloud_protocol_version is not None: + self.cloud_protocol_version = cloud_protocol_version + if reported_ip_v4_addr is not None: + self.reported_ip_v4_addr = reported_ip_v4_addr + if reported_ip_v6_addr is not None: + self.reported_ip_v6_addr = reported_ip_v6_addr + if reported_mac_addr is not None: + self.reported_mac_addr = reported_mac_addr + if country_code is not None: + self.country_code = country_code + if system_name is not None: + self.system_name = system_name + if system_contact is not None: + self.system_contact = system_contact + if system_location is not None: + self.system_location = system_location + if band_plan is not None: + self.band_plan = band_plan + if serial_number is not None: + self.serial_number = serial_number + if base_mac_address is not None: + self.base_mac_address = base_mac_address + if reported_apc_address is not None: + self.reported_apc_address = reported_apc_address + if last_apc_update is not None: + self.last_apc_update = last_apc_update + if is_apc_connected is not None: + self.is_apc_connected = is_apc_connected + if ip_based_configuration is not None: + self.ip_based_configuration = ip_based_configuration + if reported_sku is not None: + self.reported_sku = reported_sku + if reported_cc is not None: + self.reported_cc = reported_cc + if radius_proxy_address is not None: + self.radius_proxy_address = radius_proxy_address + if reported_cfg_data_version is not None: + self.reported_cfg_data_version = reported_cfg_data_version + if cloud_cfg_data_version is not None: + self.cloud_cfg_data_version = cloud_cfg_data_version + + @property + def model_type(self): + """Gets the model_type of this EquipmentProtocolStatusData. # noqa: E501 + + + :return: The model_type of this EquipmentProtocolStatusData. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this EquipmentProtocolStatusData. + + + :param model_type: The model_type of this EquipmentProtocolStatusData. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + allowed_values = ["EquipmentProtocolStatusData"] # noqa: E501 + if model_type not in allowed_values: + raise ValueError( + "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 + .format(model_type, allowed_values) + ) + + self._model_type = model_type + + @property + def status_data_type(self): + """Gets the status_data_type of this EquipmentProtocolStatusData. # noqa: E501 + + + :return: The status_data_type of this EquipmentProtocolStatusData. # noqa: E501 + :rtype: str + """ + return self._status_data_type + + @status_data_type.setter + def status_data_type(self, status_data_type): + """Sets the status_data_type of this EquipmentProtocolStatusData. + + + :param status_data_type: The status_data_type of this EquipmentProtocolStatusData. # noqa: E501 + :type: str + """ + allowed_values = ["PROTOCOL"] # noqa: E501 + if status_data_type not in allowed_values: + raise ValueError( + "Invalid value for `status_data_type` ({0}), must be one of {1}" # noqa: E501 + .format(status_data_type, allowed_values) + ) + + self._status_data_type = status_data_type + + @property + def powered_on(self): + """Gets the powered_on of this EquipmentProtocolStatusData. # noqa: E501 + + + :return: The powered_on of this EquipmentProtocolStatusData. # noqa: E501 + :rtype: bool + """ + return self._powered_on + + @powered_on.setter + def powered_on(self, powered_on): + """Sets the powered_on of this EquipmentProtocolStatusData. + + + :param powered_on: The powered_on of this EquipmentProtocolStatusData. # noqa: E501 + :type: bool + """ + + self._powered_on = powered_on + + @property + def protocol_state(self): + """Gets the protocol_state of this EquipmentProtocolStatusData. # noqa: E501 + + + :return: The protocol_state of this EquipmentProtocolStatusData. # noqa: E501 + :rtype: EquipmentProtocolState + """ + return self._protocol_state + + @protocol_state.setter + def protocol_state(self, protocol_state): + """Sets the protocol_state of this EquipmentProtocolStatusData. + + + :param protocol_state: The protocol_state of this EquipmentProtocolStatusData. # noqa: E501 + :type: EquipmentProtocolState + """ + + self._protocol_state = protocol_state + + @property + def reported_hw_version(self): + """Gets the reported_hw_version of this EquipmentProtocolStatusData. # noqa: E501 + + + :return: The reported_hw_version of this EquipmentProtocolStatusData. # noqa: E501 + :rtype: str + """ + return self._reported_hw_version + + @reported_hw_version.setter + def reported_hw_version(self, reported_hw_version): + """Sets the reported_hw_version of this EquipmentProtocolStatusData. + + + :param reported_hw_version: The reported_hw_version of this EquipmentProtocolStatusData. # noqa: E501 + :type: str + """ + + self._reported_hw_version = reported_hw_version + + @property + def reported_sw_version(self): + """Gets the reported_sw_version of this EquipmentProtocolStatusData. # noqa: E501 + + + :return: The reported_sw_version of this EquipmentProtocolStatusData. # noqa: E501 + :rtype: str + """ + return self._reported_sw_version + + @reported_sw_version.setter + def reported_sw_version(self, reported_sw_version): + """Sets the reported_sw_version of this EquipmentProtocolStatusData. + + + :param reported_sw_version: The reported_sw_version of this EquipmentProtocolStatusData. # noqa: E501 + :type: str + """ + + self._reported_sw_version = reported_sw_version + + @property + def reported_sw_alt_version(self): + """Gets the reported_sw_alt_version of this EquipmentProtocolStatusData. # noqa: E501 + + + :return: The reported_sw_alt_version of this EquipmentProtocolStatusData. # noqa: E501 + :rtype: str + """ + return self._reported_sw_alt_version + + @reported_sw_alt_version.setter + def reported_sw_alt_version(self, reported_sw_alt_version): + """Sets the reported_sw_alt_version of this EquipmentProtocolStatusData. + + + :param reported_sw_alt_version: The reported_sw_alt_version of this EquipmentProtocolStatusData. # noqa: E501 + :type: str + """ + + self._reported_sw_alt_version = reported_sw_alt_version + + @property + def cloud_protocol_version(self): + """Gets the cloud_protocol_version of this EquipmentProtocolStatusData. # noqa: E501 + + + :return: The cloud_protocol_version of this EquipmentProtocolStatusData. # noqa: E501 + :rtype: str + """ + return self._cloud_protocol_version + + @cloud_protocol_version.setter + def cloud_protocol_version(self, cloud_protocol_version): + """Sets the cloud_protocol_version of this EquipmentProtocolStatusData. + + + :param cloud_protocol_version: The cloud_protocol_version of this EquipmentProtocolStatusData. # noqa: E501 + :type: str + """ + + self._cloud_protocol_version = cloud_protocol_version + + @property + def reported_ip_v4_addr(self): + """Gets the reported_ip_v4_addr of this EquipmentProtocolStatusData. # noqa: E501 + + + :return: The reported_ip_v4_addr of this EquipmentProtocolStatusData. # noqa: E501 + :rtype: str + """ + return self._reported_ip_v4_addr + + @reported_ip_v4_addr.setter + def reported_ip_v4_addr(self, reported_ip_v4_addr): + """Sets the reported_ip_v4_addr of this EquipmentProtocolStatusData. + + + :param reported_ip_v4_addr: The reported_ip_v4_addr of this EquipmentProtocolStatusData. # noqa: E501 + :type: str + """ + + self._reported_ip_v4_addr = reported_ip_v4_addr + + @property + def reported_ip_v6_addr(self): + """Gets the reported_ip_v6_addr of this EquipmentProtocolStatusData. # noqa: E501 + + + :return: The reported_ip_v6_addr of this EquipmentProtocolStatusData. # noqa: E501 + :rtype: str + """ + return self._reported_ip_v6_addr + + @reported_ip_v6_addr.setter + def reported_ip_v6_addr(self, reported_ip_v6_addr): + """Sets the reported_ip_v6_addr of this EquipmentProtocolStatusData. + + + :param reported_ip_v6_addr: The reported_ip_v6_addr of this EquipmentProtocolStatusData. # noqa: E501 + :type: str + """ + + self._reported_ip_v6_addr = reported_ip_v6_addr + + @property + def reported_mac_addr(self): + """Gets the reported_mac_addr of this EquipmentProtocolStatusData. # noqa: E501 + + + :return: The reported_mac_addr of this EquipmentProtocolStatusData. # noqa: E501 + :rtype: MacAddress + """ + return self._reported_mac_addr + + @reported_mac_addr.setter + def reported_mac_addr(self, reported_mac_addr): + """Sets the reported_mac_addr of this EquipmentProtocolStatusData. + + + :param reported_mac_addr: The reported_mac_addr of this EquipmentProtocolStatusData. # noqa: E501 + :type: MacAddress + """ + + self._reported_mac_addr = reported_mac_addr + + @property + def country_code(self): + """Gets the country_code of this EquipmentProtocolStatusData. # noqa: E501 + + + :return: The country_code of this EquipmentProtocolStatusData. # noqa: E501 + :rtype: str + """ + return self._country_code + + @country_code.setter + def country_code(self, country_code): + """Sets the country_code of this EquipmentProtocolStatusData. + + + :param country_code: The country_code of this EquipmentProtocolStatusData. # noqa: E501 + :type: str + """ + + self._country_code = country_code + + @property + def system_name(self): + """Gets the system_name of this EquipmentProtocolStatusData. # noqa: E501 + + + :return: The system_name of this EquipmentProtocolStatusData. # noqa: E501 + :rtype: str + """ + return self._system_name + + @system_name.setter + def system_name(self, system_name): + """Sets the system_name of this EquipmentProtocolStatusData. + + + :param system_name: The system_name of this EquipmentProtocolStatusData. # noqa: E501 + :type: str + """ + + self._system_name = system_name + + @property + def system_contact(self): + """Gets the system_contact of this EquipmentProtocolStatusData. # noqa: E501 + + + :return: The system_contact of this EquipmentProtocolStatusData. # noqa: E501 + :rtype: str + """ + return self._system_contact + + @system_contact.setter + def system_contact(self, system_contact): + """Sets the system_contact of this EquipmentProtocolStatusData. + + + :param system_contact: The system_contact of this EquipmentProtocolStatusData. # noqa: E501 + :type: str + """ + + self._system_contact = system_contact + + @property + def system_location(self): + """Gets the system_location of this EquipmentProtocolStatusData. # noqa: E501 + + + :return: The system_location of this EquipmentProtocolStatusData. # noqa: E501 + :rtype: str + """ + return self._system_location + + @system_location.setter + def system_location(self, system_location): + """Sets the system_location of this EquipmentProtocolStatusData. + + + :param system_location: The system_location of this EquipmentProtocolStatusData. # noqa: E501 + :type: str + """ + + self._system_location = system_location + + @property + def band_plan(self): + """Gets the band_plan of this EquipmentProtocolStatusData. # noqa: E501 + + + :return: The band_plan of this EquipmentProtocolStatusData. # noqa: E501 + :rtype: str + """ + return self._band_plan + + @band_plan.setter + def band_plan(self, band_plan): + """Sets the band_plan of this EquipmentProtocolStatusData. + + + :param band_plan: The band_plan of this EquipmentProtocolStatusData. # noqa: E501 + :type: str + """ + + self._band_plan = band_plan + + @property + def serial_number(self): + """Gets the serial_number of this EquipmentProtocolStatusData. # noqa: E501 + + + :return: The serial_number of this EquipmentProtocolStatusData. # noqa: E501 + :rtype: str + """ + return self._serial_number + + @serial_number.setter + def serial_number(self, serial_number): + """Sets the serial_number of this EquipmentProtocolStatusData. + + + :param serial_number: The serial_number of this EquipmentProtocolStatusData. # noqa: E501 + :type: str + """ + + self._serial_number = serial_number + + @property + def base_mac_address(self): + """Gets the base_mac_address of this EquipmentProtocolStatusData. # noqa: E501 + + + :return: The base_mac_address of this EquipmentProtocolStatusData. # noqa: E501 + :rtype: MacAddress + """ + return self._base_mac_address + + @base_mac_address.setter + def base_mac_address(self, base_mac_address): + """Sets the base_mac_address of this EquipmentProtocolStatusData. + + + :param base_mac_address: The base_mac_address of this EquipmentProtocolStatusData. # noqa: E501 + :type: MacAddress + """ + + self._base_mac_address = base_mac_address + + @property + def reported_apc_address(self): + """Gets the reported_apc_address of this EquipmentProtocolStatusData. # noqa: E501 + + + :return: The reported_apc_address of this EquipmentProtocolStatusData. # noqa: E501 + :rtype: str + """ + return self._reported_apc_address + + @reported_apc_address.setter + def reported_apc_address(self, reported_apc_address): + """Sets the reported_apc_address of this EquipmentProtocolStatusData. + + + :param reported_apc_address: The reported_apc_address of this EquipmentProtocolStatusData. # noqa: E501 + :type: str + """ + + self._reported_apc_address = reported_apc_address + + @property + def last_apc_update(self): + """Gets the last_apc_update of this EquipmentProtocolStatusData. # noqa: E501 + + + :return: The last_apc_update of this EquipmentProtocolStatusData. # noqa: E501 + :rtype: int + """ + return self._last_apc_update + + @last_apc_update.setter + def last_apc_update(self, last_apc_update): + """Sets the last_apc_update of this EquipmentProtocolStatusData. + + + :param last_apc_update: The last_apc_update of this EquipmentProtocolStatusData. # noqa: E501 + :type: int + """ + + self._last_apc_update = last_apc_update + + @property + def is_apc_connected(self): + """Gets the is_apc_connected of this EquipmentProtocolStatusData. # noqa: E501 + + + :return: The is_apc_connected of this EquipmentProtocolStatusData. # noqa: E501 + :rtype: bool + """ + return self._is_apc_connected + + @is_apc_connected.setter + def is_apc_connected(self, is_apc_connected): + """Sets the is_apc_connected of this EquipmentProtocolStatusData. + + + :param is_apc_connected: The is_apc_connected of this EquipmentProtocolStatusData. # noqa: E501 + :type: bool + """ + + self._is_apc_connected = is_apc_connected + + @property + def ip_based_configuration(self): + """Gets the ip_based_configuration of this EquipmentProtocolStatusData. # noqa: E501 + + + :return: The ip_based_configuration of this EquipmentProtocolStatusData. # noqa: E501 + :rtype: str + """ + return self._ip_based_configuration + + @ip_based_configuration.setter + def ip_based_configuration(self, ip_based_configuration): + """Sets the ip_based_configuration of this EquipmentProtocolStatusData. + + + :param ip_based_configuration: The ip_based_configuration of this EquipmentProtocolStatusData. # noqa: E501 + :type: str + """ + + self._ip_based_configuration = ip_based_configuration + + @property + def reported_sku(self): + """Gets the reported_sku of this EquipmentProtocolStatusData. # noqa: E501 + + + :return: The reported_sku of this EquipmentProtocolStatusData. # noqa: E501 + :rtype: str + """ + return self._reported_sku + + @reported_sku.setter + def reported_sku(self, reported_sku): + """Sets the reported_sku of this EquipmentProtocolStatusData. + + + :param reported_sku: The reported_sku of this EquipmentProtocolStatusData. # noqa: E501 + :type: str + """ + + self._reported_sku = reported_sku + + @property + def reported_cc(self): + """Gets the reported_cc of this EquipmentProtocolStatusData. # noqa: E501 + + + :return: The reported_cc of this EquipmentProtocolStatusData. # noqa: E501 + :rtype: CountryCode + """ + return self._reported_cc + + @reported_cc.setter + def reported_cc(self, reported_cc): + """Sets the reported_cc of this EquipmentProtocolStatusData. + + + :param reported_cc: The reported_cc of this EquipmentProtocolStatusData. # noqa: E501 + :type: CountryCode + """ + + self._reported_cc = reported_cc + + @property + def radius_proxy_address(self): + """Gets the radius_proxy_address of this EquipmentProtocolStatusData. # noqa: E501 + + + :return: The radius_proxy_address of this EquipmentProtocolStatusData. # noqa: E501 + :rtype: str + """ + return self._radius_proxy_address + + @radius_proxy_address.setter + def radius_proxy_address(self, radius_proxy_address): + """Sets the radius_proxy_address of this EquipmentProtocolStatusData. + + + :param radius_proxy_address: The radius_proxy_address of this EquipmentProtocolStatusData. # noqa: E501 + :type: str + """ + + self._radius_proxy_address = radius_proxy_address + + @property + def reported_cfg_data_version(self): + """Gets the reported_cfg_data_version of this EquipmentProtocolStatusData. # noqa: E501 + + + :return: The reported_cfg_data_version of this EquipmentProtocolStatusData. # noqa: E501 + :rtype: int + """ + return self._reported_cfg_data_version + + @reported_cfg_data_version.setter + def reported_cfg_data_version(self, reported_cfg_data_version): + """Sets the reported_cfg_data_version of this EquipmentProtocolStatusData. + + + :param reported_cfg_data_version: The reported_cfg_data_version of this EquipmentProtocolStatusData. # noqa: E501 + :type: int + """ + + self._reported_cfg_data_version = reported_cfg_data_version + + @property + def cloud_cfg_data_version(self): + """Gets the cloud_cfg_data_version of this EquipmentProtocolStatusData. # noqa: E501 + + + :return: The cloud_cfg_data_version of this EquipmentProtocolStatusData. # noqa: E501 + :rtype: int + """ + return self._cloud_cfg_data_version + + @cloud_cfg_data_version.setter + def cloud_cfg_data_version(self, cloud_cfg_data_version): + """Sets the cloud_cfg_data_version of this EquipmentProtocolStatusData. + + + :param cloud_cfg_data_version: The cloud_cfg_data_version of this EquipmentProtocolStatusData. # noqa: E501 + :type: int + """ + + self._cloud_cfg_data_version = cloud_cfg_data_version + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(EquipmentProtocolStatusData, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, EquipmentProtocolStatusData): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_removed_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_removed_event.py new file mode 100644 index 000000000..dd1afcef5 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_removed_event.py @@ -0,0 +1,215 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class EquipmentRemovedEvent(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'event_timestamp': 'int', + 'customer_id': 'int', + 'equipment_id': 'int', + 'payload': 'Equipment' + } + + attribute_map = { + 'model_type': 'model_type', + 'event_timestamp': 'eventTimestamp', + 'customer_id': 'customerId', + 'equipment_id': 'equipmentId', + 'payload': 'payload' + } + + def __init__(self, model_type=None, event_timestamp=None, customer_id=None, equipment_id=None, payload=None): # noqa: E501 + """EquipmentRemovedEvent - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._event_timestamp = None + self._customer_id = None + self._equipment_id = None + self._payload = None + self.discriminator = None + self.model_type = model_type + if event_timestamp is not None: + self.event_timestamp = event_timestamp + if customer_id is not None: + self.customer_id = customer_id + if equipment_id is not None: + self.equipment_id = equipment_id + if payload is not None: + self.payload = payload + + @property + def model_type(self): + """Gets the model_type of this EquipmentRemovedEvent. # noqa: E501 + + + :return: The model_type of this EquipmentRemovedEvent. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this EquipmentRemovedEvent. + + + :param model_type: The model_type of this EquipmentRemovedEvent. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + + self._model_type = model_type + + @property + def event_timestamp(self): + """Gets the event_timestamp of this EquipmentRemovedEvent. # noqa: E501 + + + :return: The event_timestamp of this EquipmentRemovedEvent. # noqa: E501 + :rtype: int + """ + return self._event_timestamp + + @event_timestamp.setter + def event_timestamp(self, event_timestamp): + """Sets the event_timestamp of this EquipmentRemovedEvent. + + + :param event_timestamp: The event_timestamp of this EquipmentRemovedEvent. # noqa: E501 + :type: int + """ + + self._event_timestamp = event_timestamp + + @property + def customer_id(self): + """Gets the customer_id of this EquipmentRemovedEvent. # noqa: E501 + + + :return: The customer_id of this EquipmentRemovedEvent. # noqa: E501 + :rtype: int + """ + return self._customer_id + + @customer_id.setter + def customer_id(self, customer_id): + """Sets the customer_id of this EquipmentRemovedEvent. + + + :param customer_id: The customer_id of this EquipmentRemovedEvent. # noqa: E501 + :type: int + """ + + self._customer_id = customer_id + + @property + def equipment_id(self): + """Gets the equipment_id of this EquipmentRemovedEvent. # noqa: E501 + + + :return: The equipment_id of this EquipmentRemovedEvent. # noqa: E501 + :rtype: int + """ + return self._equipment_id + + @equipment_id.setter + def equipment_id(self, equipment_id): + """Sets the equipment_id of this EquipmentRemovedEvent. + + + :param equipment_id: The equipment_id of this EquipmentRemovedEvent. # noqa: E501 + :type: int + """ + + self._equipment_id = equipment_id + + @property + def payload(self): + """Gets the payload of this EquipmentRemovedEvent. # noqa: E501 + + + :return: The payload of this EquipmentRemovedEvent. # noqa: E501 + :rtype: Equipment + """ + return self._payload + + @payload.setter + def payload(self, payload): + """Sets the payload of this EquipmentRemovedEvent. + + + :param payload: The payload of this EquipmentRemovedEvent. # noqa: E501 + :type: Equipment + """ + + self._payload = payload + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(EquipmentRemovedEvent, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, EquipmentRemovedEvent): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_routing_record.py b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_routing_record.py new file mode 100644 index 000000000..b459c6506 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_routing_record.py @@ -0,0 +1,240 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class EquipmentRoutingRecord(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'id': 'int', + 'equipment_id': 'int', + 'customer_id': 'int', + 'gateway_id': 'int', + 'created_timestamp': 'int', + 'last_modified_timestamp': 'int' + } + + attribute_map = { + 'id': 'id', + 'equipment_id': 'equipmentId', + 'customer_id': 'customerId', + 'gateway_id': 'gatewayId', + 'created_timestamp': 'createdTimestamp', + 'last_modified_timestamp': 'lastModifiedTimestamp' + } + + def __init__(self, id=None, equipment_id=None, customer_id=None, gateway_id=None, created_timestamp=None, last_modified_timestamp=None): # noqa: E501 + """EquipmentRoutingRecord - a model defined in Swagger""" # noqa: E501 + self._id = None + self._equipment_id = None + self._customer_id = None + self._gateway_id = None + self._created_timestamp = None + self._last_modified_timestamp = None + self.discriminator = None + if id is not None: + self.id = id + if equipment_id is not None: + self.equipment_id = equipment_id + if customer_id is not None: + self.customer_id = customer_id + if gateway_id is not None: + self.gateway_id = gateway_id + if created_timestamp is not None: + self.created_timestamp = created_timestamp + if last_modified_timestamp is not None: + self.last_modified_timestamp = last_modified_timestamp + + @property + def id(self): + """Gets the id of this EquipmentRoutingRecord. # noqa: E501 + + + :return: The id of this EquipmentRoutingRecord. # noqa: E501 + :rtype: int + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this EquipmentRoutingRecord. + + + :param id: The id of this EquipmentRoutingRecord. # noqa: E501 + :type: int + """ + + self._id = id + + @property + def equipment_id(self): + """Gets the equipment_id of this EquipmentRoutingRecord. # noqa: E501 + + + :return: The equipment_id of this EquipmentRoutingRecord. # noqa: E501 + :rtype: int + """ + return self._equipment_id + + @equipment_id.setter + def equipment_id(self, equipment_id): + """Sets the equipment_id of this EquipmentRoutingRecord. + + + :param equipment_id: The equipment_id of this EquipmentRoutingRecord. # noqa: E501 + :type: int + """ + + self._equipment_id = equipment_id + + @property + def customer_id(self): + """Gets the customer_id of this EquipmentRoutingRecord. # noqa: E501 + + + :return: The customer_id of this EquipmentRoutingRecord. # noqa: E501 + :rtype: int + """ + return self._customer_id + + @customer_id.setter + def customer_id(self, customer_id): + """Sets the customer_id of this EquipmentRoutingRecord. + + + :param customer_id: The customer_id of this EquipmentRoutingRecord. # noqa: E501 + :type: int + """ + + self._customer_id = customer_id + + @property + def gateway_id(self): + """Gets the gateway_id of this EquipmentRoutingRecord. # noqa: E501 + + + :return: The gateway_id of this EquipmentRoutingRecord. # noqa: E501 + :rtype: int + """ + return self._gateway_id + + @gateway_id.setter + def gateway_id(self, gateway_id): + """Sets the gateway_id of this EquipmentRoutingRecord. + + + :param gateway_id: The gateway_id of this EquipmentRoutingRecord. # noqa: E501 + :type: int + """ + + self._gateway_id = gateway_id + + @property + def created_timestamp(self): + """Gets the created_timestamp of this EquipmentRoutingRecord. # noqa: E501 + + + :return: The created_timestamp of this EquipmentRoutingRecord. # noqa: E501 + :rtype: int + """ + return self._created_timestamp + + @created_timestamp.setter + def created_timestamp(self, created_timestamp): + """Sets the created_timestamp of this EquipmentRoutingRecord. + + + :param created_timestamp: The created_timestamp of this EquipmentRoutingRecord. # noqa: E501 + :type: int + """ + + self._created_timestamp = created_timestamp + + @property + def last_modified_timestamp(self): + """Gets the last_modified_timestamp of this EquipmentRoutingRecord. # noqa: E501 + + + :return: The last_modified_timestamp of this EquipmentRoutingRecord. # noqa: E501 + :rtype: int + """ + return self._last_modified_timestamp + + @last_modified_timestamp.setter + def last_modified_timestamp(self, last_modified_timestamp): + """Sets the last_modified_timestamp of this EquipmentRoutingRecord. + + + :param last_modified_timestamp: The last_modified_timestamp of this EquipmentRoutingRecord. # noqa: E501 + :type: int + """ + + self._last_modified_timestamp = last_modified_timestamp + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(EquipmentRoutingRecord, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, EquipmentRoutingRecord): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_rrm_bulk_update_item.py b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_rrm_bulk_update_item.py new file mode 100644 index 000000000..6818aa4c2 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_rrm_bulk_update_item.py @@ -0,0 +1,136 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class EquipmentRrmBulkUpdateItem(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'equipment_id': 'int', + 'per_radio_details': 'EquipmentRrmBulkUpdateItemPerRadioMap' + } + + attribute_map = { + 'equipment_id': 'equipmentId', + 'per_radio_details': 'perRadioDetails' + } + + def __init__(self, equipment_id=None, per_radio_details=None): # noqa: E501 + """EquipmentRrmBulkUpdateItem - a model defined in Swagger""" # noqa: E501 + self._equipment_id = None + self._per_radio_details = None + self.discriminator = None + if equipment_id is not None: + self.equipment_id = equipment_id + if per_radio_details is not None: + self.per_radio_details = per_radio_details + + @property + def equipment_id(self): + """Gets the equipment_id of this EquipmentRrmBulkUpdateItem. # noqa: E501 + + + :return: The equipment_id of this EquipmentRrmBulkUpdateItem. # noqa: E501 + :rtype: int + """ + return self._equipment_id + + @equipment_id.setter + def equipment_id(self, equipment_id): + """Sets the equipment_id of this EquipmentRrmBulkUpdateItem. + + + :param equipment_id: The equipment_id of this EquipmentRrmBulkUpdateItem. # noqa: E501 + :type: int + """ + + self._equipment_id = equipment_id + + @property + def per_radio_details(self): + """Gets the per_radio_details of this EquipmentRrmBulkUpdateItem. # noqa: E501 + + + :return: The per_radio_details of this EquipmentRrmBulkUpdateItem. # noqa: E501 + :rtype: EquipmentRrmBulkUpdateItemPerRadioMap + """ + return self._per_radio_details + + @per_radio_details.setter + def per_radio_details(self, per_radio_details): + """Sets the per_radio_details of this EquipmentRrmBulkUpdateItem. + + + :param per_radio_details: The per_radio_details of this EquipmentRrmBulkUpdateItem. # noqa: E501 + :type: EquipmentRrmBulkUpdateItemPerRadioMap + """ + + self._per_radio_details = per_radio_details + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(EquipmentRrmBulkUpdateItem, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, EquipmentRrmBulkUpdateItem): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_rrm_bulk_update_item_per_radio_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_rrm_bulk_update_item_per_radio_map.py new file mode 100644 index 000000000..745c53f25 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_rrm_bulk_update_item_per_radio_map.py @@ -0,0 +1,188 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class EquipmentRrmBulkUpdateItemPerRadioMap(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'is5_g_hz': 'RrmBulkUpdateApDetails', + 'is5_g_hz_u': 'RrmBulkUpdateApDetails', + 'is5_g_hz_l': 'RrmBulkUpdateApDetails', + 'is2dot4_g_hz': 'RrmBulkUpdateApDetails' + } + + attribute_map = { + 'is5_g_hz': 'is5GHz', + 'is5_g_hz_u': 'is5GHzU', + 'is5_g_hz_l': 'is5GHzL', + 'is2dot4_g_hz': 'is2dot4GHz' + } + + def __init__(self, is5_g_hz=None, is5_g_hz_u=None, is5_g_hz_l=None, is2dot4_g_hz=None): # noqa: E501 + """EquipmentRrmBulkUpdateItemPerRadioMap - a model defined in Swagger""" # noqa: E501 + self._is5_g_hz = None + self._is5_g_hz_u = None + self._is5_g_hz_l = None + self._is2dot4_g_hz = None + self.discriminator = None + if is5_g_hz is not None: + self.is5_g_hz = is5_g_hz + if is5_g_hz_u is not None: + self.is5_g_hz_u = is5_g_hz_u + if is5_g_hz_l is not None: + self.is5_g_hz_l = is5_g_hz_l + if is2dot4_g_hz is not None: + self.is2dot4_g_hz = is2dot4_g_hz + + @property + def is5_g_hz(self): + """Gets the is5_g_hz of this EquipmentRrmBulkUpdateItemPerRadioMap. # noqa: E501 + + + :return: The is5_g_hz of this EquipmentRrmBulkUpdateItemPerRadioMap. # noqa: E501 + :rtype: RrmBulkUpdateApDetails + """ + return self._is5_g_hz + + @is5_g_hz.setter + def is5_g_hz(self, is5_g_hz): + """Sets the is5_g_hz of this EquipmentRrmBulkUpdateItemPerRadioMap. + + + :param is5_g_hz: The is5_g_hz of this EquipmentRrmBulkUpdateItemPerRadioMap. # noqa: E501 + :type: RrmBulkUpdateApDetails + """ + + self._is5_g_hz = is5_g_hz + + @property + def is5_g_hz_u(self): + """Gets the is5_g_hz_u of this EquipmentRrmBulkUpdateItemPerRadioMap. # noqa: E501 + + + :return: The is5_g_hz_u of this EquipmentRrmBulkUpdateItemPerRadioMap. # noqa: E501 + :rtype: RrmBulkUpdateApDetails + """ + return self._is5_g_hz_u + + @is5_g_hz_u.setter + def is5_g_hz_u(self, is5_g_hz_u): + """Sets the is5_g_hz_u of this EquipmentRrmBulkUpdateItemPerRadioMap. + + + :param is5_g_hz_u: The is5_g_hz_u of this EquipmentRrmBulkUpdateItemPerRadioMap. # noqa: E501 + :type: RrmBulkUpdateApDetails + """ + + self._is5_g_hz_u = is5_g_hz_u + + @property + def is5_g_hz_l(self): + """Gets the is5_g_hz_l of this EquipmentRrmBulkUpdateItemPerRadioMap. # noqa: E501 + + + :return: The is5_g_hz_l of this EquipmentRrmBulkUpdateItemPerRadioMap. # noqa: E501 + :rtype: RrmBulkUpdateApDetails + """ + return self._is5_g_hz_l + + @is5_g_hz_l.setter + def is5_g_hz_l(self, is5_g_hz_l): + """Sets the is5_g_hz_l of this EquipmentRrmBulkUpdateItemPerRadioMap. + + + :param is5_g_hz_l: The is5_g_hz_l of this EquipmentRrmBulkUpdateItemPerRadioMap. # noqa: E501 + :type: RrmBulkUpdateApDetails + """ + + self._is5_g_hz_l = is5_g_hz_l + + @property + def is2dot4_g_hz(self): + """Gets the is2dot4_g_hz of this EquipmentRrmBulkUpdateItemPerRadioMap. # noqa: E501 + + + :return: The is2dot4_g_hz of this EquipmentRrmBulkUpdateItemPerRadioMap. # noqa: E501 + :rtype: RrmBulkUpdateApDetails + """ + return self._is2dot4_g_hz + + @is2dot4_g_hz.setter + def is2dot4_g_hz(self, is2dot4_g_hz): + """Sets the is2dot4_g_hz of this EquipmentRrmBulkUpdateItemPerRadioMap. + + + :param is2dot4_g_hz: The is2dot4_g_hz of this EquipmentRrmBulkUpdateItemPerRadioMap. # noqa: E501 + :type: RrmBulkUpdateApDetails + """ + + self._is2dot4_g_hz = is2dot4_g_hz + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(EquipmentRrmBulkUpdateItemPerRadioMap, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, EquipmentRrmBulkUpdateItemPerRadioMap): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_rrm_bulk_update_request.py b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_rrm_bulk_update_request.py new file mode 100644 index 000000000..2b3afafb9 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_rrm_bulk_update_request.py @@ -0,0 +1,110 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class EquipmentRrmBulkUpdateRequest(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'items': 'list[EquipmentRrmBulkUpdateItem]' + } + + attribute_map = { + 'items': 'items' + } + + def __init__(self, items=None): # noqa: E501 + """EquipmentRrmBulkUpdateRequest - a model defined in Swagger""" # noqa: E501 + self._items = None + self.discriminator = None + if items is not None: + self.items = items + + @property + def items(self): + """Gets the items of this EquipmentRrmBulkUpdateRequest. # noqa: E501 + + + :return: The items of this EquipmentRrmBulkUpdateRequest. # noqa: E501 + :rtype: list[EquipmentRrmBulkUpdateItem] + """ + return self._items + + @items.setter + def items(self, items): + """Sets the items of this EquipmentRrmBulkUpdateRequest. + + + :param items: The items of this EquipmentRrmBulkUpdateRequest. # noqa: E501 + :type: list[EquipmentRrmBulkUpdateItem] + """ + + self._items = items + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(EquipmentRrmBulkUpdateRequest, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, EquipmentRrmBulkUpdateRequest): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_scan_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_scan_details.py new file mode 100644 index 000000000..e3f98cfce --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_scan_details.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class EquipmentScanDetails(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'status_data_type': 'str' + } + + attribute_map = { + 'model_type': 'model_type', + 'status_data_type': 'statusDataType' + } + + def __init__(self, model_type=None, status_data_type=None): # noqa: E501 + """EquipmentScanDetails - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._status_data_type = None + self.discriminator = None + self.model_type = model_type + if status_data_type is not None: + self.status_data_type = status_data_type + + @property + def model_type(self): + """Gets the model_type of this EquipmentScanDetails. # noqa: E501 + + + :return: The model_type of this EquipmentScanDetails. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this EquipmentScanDetails. + + + :param model_type: The model_type of this EquipmentScanDetails. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + allowed_values = ["EquipmentScanDetails"] # noqa: E501 + if model_type not in allowed_values: + raise ValueError( + "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 + .format(model_type, allowed_values) + ) + + self._model_type = model_type + + @property + def status_data_type(self): + """Gets the status_data_type of this EquipmentScanDetails. # noqa: E501 + + + :return: The status_data_type of this EquipmentScanDetails. # noqa: E501 + :rtype: str + """ + return self._status_data_type + + @status_data_type.setter + def status_data_type(self, status_data_type): + """Sets the status_data_type of this EquipmentScanDetails. + + + :param status_data_type: The status_data_type of this EquipmentScanDetails. # noqa: E501 + :type: str + """ + allowed_values = ["NEIGHBOUR_SCAN"] # noqa: E501 + if status_data_type not in allowed_values: + raise ValueError( + "Invalid value for `status_data_type` ({0}), must be one of {1}" # noqa: E501 + .format(status_data_type, allowed_values) + ) + + self._status_data_type = status_data_type + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(EquipmentScanDetails, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, EquipmentScanDetails): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_type.py new file mode 100644 index 000000000..93e910529 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_type.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class EquipmentType(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + AP = "AP" + SWITCH = "SWITCH" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """EquipmentType - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(EquipmentType, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, EquipmentType): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_upgrade_failure_reason.py b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_upgrade_failure_reason.py new file mode 100644 index 000000000..05aecb0c7 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_upgrade_failure_reason.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class EquipmentUpgradeFailureReason(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + DOWNLOADREQUESTREJECTED = "downloadRequestRejected" + VALIDATIONFAILED = "validationFailed" + UNREACHABLEURL = "unreachableUrl" + DOWNLOADFAILED = "downloadFailed" + APPLYREQUESTREJECTED = "applyRequestRejected" + APPLYFAILED = "applyFailed" + REBOOTREQUESTREJECTED = "rebootRequestRejected" + INVALIDVERSION = "invalidVersion" + REBOOTWITHWRONGVERSION = "rebootWithWrongVersion" + MAXRETRIES = "maxRetries" + REBOOTTIMEDOUT = "rebootTimedout" + DOWNLOADREQUESTFAILEDFLASHFULL = "downloadRequestFailedFlashFull" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """EquipmentUpgradeFailureReason - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(EquipmentUpgradeFailureReason, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, EquipmentUpgradeFailureReason): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_upgrade_state.py b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_upgrade_state.py new file mode 100644 index 000000000..6cae6e5b2 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_upgrade_state.py @@ -0,0 +1,102 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class EquipmentUpgradeState(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + UNDEFINED = "undefined" + DOWNLOAD_INITIATED = "download_initiated" + DOWNLOADING = "downloading" + DOWNLOAD_FAILED = "download_failed" + DOWNLOAD_COMPLETE = "download_complete" + APPLY_INITIATED = "apply_initiated" + APPLYING = "applying" + APPLY_FAILED = "apply_failed" + APPLY_COMPLETE = "apply_complete" + REBOOT_INITIATED = "reboot_initiated" + REBOOTING = "rebooting" + OUT_OF_DATE = "out_of_date" + UP_TO_DATE = "up_to_date" + REBOOT_FAILED = "reboot_failed" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """EquipmentUpgradeState - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(EquipmentUpgradeState, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, EquipmentUpgradeState): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_upgrade_status_data.py b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_upgrade_status_data.py new file mode 100644 index 000000000..78fa19922 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_upgrade_status_data.py @@ -0,0 +1,357 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class EquipmentUpgradeStatusData(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'status_data_type': 'str', + 'active_sw_version': 'str', + 'alternate_sw_version': 'str', + 'target_sw_version': 'str', + 'retries': 'int', + 'upgrade_state': 'EquipmentUpgradeState', + 'reason': 'EquipmentUpgradeFailureReason', + 'upgrade_start_time': 'int', + 'switch_bank': 'bool' + } + + attribute_map = { + 'model_type': 'model_type', + 'status_data_type': 'statusDataType', + 'active_sw_version': 'activeSwVersion', + 'alternate_sw_version': 'alternateSwVersion', + 'target_sw_version': 'targetSwVersion', + 'retries': 'retries', + 'upgrade_state': 'upgradeState', + 'reason': 'reason', + 'upgrade_start_time': 'upgradeStartTime', + 'switch_bank': 'switchBank' + } + + def __init__(self, model_type=None, status_data_type=None, active_sw_version=None, alternate_sw_version=None, target_sw_version=None, retries=None, upgrade_state=None, reason=None, upgrade_start_time=None, switch_bank=None): # noqa: E501 + """EquipmentUpgradeStatusData - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._status_data_type = None + self._active_sw_version = None + self._alternate_sw_version = None + self._target_sw_version = None + self._retries = None + self._upgrade_state = None + self._reason = None + self._upgrade_start_time = None + self._switch_bank = None + self.discriminator = None + self.model_type = model_type + if status_data_type is not None: + self.status_data_type = status_data_type + if active_sw_version is not None: + self.active_sw_version = active_sw_version + if alternate_sw_version is not None: + self.alternate_sw_version = alternate_sw_version + if target_sw_version is not None: + self.target_sw_version = target_sw_version + if retries is not None: + self.retries = retries + if upgrade_state is not None: + self.upgrade_state = upgrade_state + if reason is not None: + self.reason = reason + if upgrade_start_time is not None: + self.upgrade_start_time = upgrade_start_time + if switch_bank is not None: + self.switch_bank = switch_bank + + @property + def model_type(self): + """Gets the model_type of this EquipmentUpgradeStatusData. # noqa: E501 + + + :return: The model_type of this EquipmentUpgradeStatusData. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this EquipmentUpgradeStatusData. + + + :param model_type: The model_type of this EquipmentUpgradeStatusData. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + allowed_values = ["EquipmentUpgradeStatusData"] # noqa: E501 + if model_type not in allowed_values: + raise ValueError( + "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 + .format(model_type, allowed_values) + ) + + self._model_type = model_type + + @property + def status_data_type(self): + """Gets the status_data_type of this EquipmentUpgradeStatusData. # noqa: E501 + + + :return: The status_data_type of this EquipmentUpgradeStatusData. # noqa: E501 + :rtype: str + """ + return self._status_data_type + + @status_data_type.setter + def status_data_type(self, status_data_type): + """Sets the status_data_type of this EquipmentUpgradeStatusData. + + + :param status_data_type: The status_data_type of this EquipmentUpgradeStatusData. # noqa: E501 + :type: str + """ + allowed_values = ["FIRMWARE"] # noqa: E501 + if status_data_type not in allowed_values: + raise ValueError( + "Invalid value for `status_data_type` ({0}), must be one of {1}" # noqa: E501 + .format(status_data_type, allowed_values) + ) + + self._status_data_type = status_data_type + + @property + def active_sw_version(self): + """Gets the active_sw_version of this EquipmentUpgradeStatusData. # noqa: E501 + + + :return: The active_sw_version of this EquipmentUpgradeStatusData. # noqa: E501 + :rtype: str + """ + return self._active_sw_version + + @active_sw_version.setter + def active_sw_version(self, active_sw_version): + """Sets the active_sw_version of this EquipmentUpgradeStatusData. + + + :param active_sw_version: The active_sw_version of this EquipmentUpgradeStatusData. # noqa: E501 + :type: str + """ + + self._active_sw_version = active_sw_version + + @property + def alternate_sw_version(self): + """Gets the alternate_sw_version of this EquipmentUpgradeStatusData. # noqa: E501 + + + :return: The alternate_sw_version of this EquipmentUpgradeStatusData. # noqa: E501 + :rtype: str + """ + return self._alternate_sw_version + + @alternate_sw_version.setter + def alternate_sw_version(self, alternate_sw_version): + """Sets the alternate_sw_version of this EquipmentUpgradeStatusData. + + + :param alternate_sw_version: The alternate_sw_version of this EquipmentUpgradeStatusData. # noqa: E501 + :type: str + """ + + self._alternate_sw_version = alternate_sw_version + + @property + def target_sw_version(self): + """Gets the target_sw_version of this EquipmentUpgradeStatusData. # noqa: E501 + + + :return: The target_sw_version of this EquipmentUpgradeStatusData. # noqa: E501 + :rtype: str + """ + return self._target_sw_version + + @target_sw_version.setter + def target_sw_version(self, target_sw_version): + """Sets the target_sw_version of this EquipmentUpgradeStatusData. + + + :param target_sw_version: The target_sw_version of this EquipmentUpgradeStatusData. # noqa: E501 + :type: str + """ + + self._target_sw_version = target_sw_version + + @property + def retries(self): + """Gets the retries of this EquipmentUpgradeStatusData. # noqa: E501 + + + :return: The retries of this EquipmentUpgradeStatusData. # noqa: E501 + :rtype: int + """ + return self._retries + + @retries.setter + def retries(self, retries): + """Sets the retries of this EquipmentUpgradeStatusData. + + + :param retries: The retries of this EquipmentUpgradeStatusData. # noqa: E501 + :type: int + """ + + self._retries = retries + + @property + def upgrade_state(self): + """Gets the upgrade_state of this EquipmentUpgradeStatusData. # noqa: E501 + + + :return: The upgrade_state of this EquipmentUpgradeStatusData. # noqa: E501 + :rtype: EquipmentUpgradeState + """ + return self._upgrade_state + + @upgrade_state.setter + def upgrade_state(self, upgrade_state): + """Sets the upgrade_state of this EquipmentUpgradeStatusData. + + + :param upgrade_state: The upgrade_state of this EquipmentUpgradeStatusData. # noqa: E501 + :type: EquipmentUpgradeState + """ + + self._upgrade_state = upgrade_state + + @property + def reason(self): + """Gets the reason of this EquipmentUpgradeStatusData. # noqa: E501 + + + :return: The reason of this EquipmentUpgradeStatusData. # noqa: E501 + :rtype: EquipmentUpgradeFailureReason + """ + return self._reason + + @reason.setter + def reason(self, reason): + """Sets the reason of this EquipmentUpgradeStatusData. + + + :param reason: The reason of this EquipmentUpgradeStatusData. # noqa: E501 + :type: EquipmentUpgradeFailureReason + """ + + self._reason = reason + + @property + def upgrade_start_time(self): + """Gets the upgrade_start_time of this EquipmentUpgradeStatusData. # noqa: E501 + + + :return: The upgrade_start_time of this EquipmentUpgradeStatusData. # noqa: E501 + :rtype: int + """ + return self._upgrade_start_time + + @upgrade_start_time.setter + def upgrade_start_time(self, upgrade_start_time): + """Sets the upgrade_start_time of this EquipmentUpgradeStatusData. + + + :param upgrade_start_time: The upgrade_start_time of this EquipmentUpgradeStatusData. # noqa: E501 + :type: int + """ + + self._upgrade_start_time = upgrade_start_time + + @property + def switch_bank(self): + """Gets the switch_bank of this EquipmentUpgradeStatusData. # noqa: E501 + + + :return: The switch_bank of this EquipmentUpgradeStatusData. # noqa: E501 + :rtype: bool + """ + return self._switch_bank + + @switch_bank.setter + def switch_bank(self, switch_bank): + """Sets the switch_bank of this EquipmentUpgradeStatusData. + + + :param switch_bank: The switch_bank of this EquipmentUpgradeStatusData. # noqa: E501 + :type: bool + """ + + self._switch_bank = switch_bank + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(EquipmentUpgradeStatusData, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, EquipmentUpgradeStatusData): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/ethernet_link_state.py b/libs/cloudapi/cloudsdk/swagger_client/models/ethernet_link_state.py new file mode 100644 index 000000000..036fddc40 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/ethernet_link_state.py @@ -0,0 +1,95 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class EthernetLinkState(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + DOWN = "DOWN" + UP1000_FULL_DUPLEX = "UP1000_FULL_DUPLEX" + UP1000_HALF_DUPLEX = "UP1000_HALF_DUPLEX" + UP100_FULL_DUPLEX = "UP100_FULL_DUPLEX" + UP100_HALF_DUPLEX = "UP100_HALF_DUPLEX" + UP10_FULL_DUPLEX = "UP10_FULL_DUPLEX" + UP10_HALF_DUPLEX = "UP10_HALF_DUPLEX" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """EthernetLinkState - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(EthernetLinkState, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, EthernetLinkState): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/file_category.py b/libs/cloudapi/cloudsdk/swagger_client/models/file_category.py new file mode 100644 index 000000000..f34fd77fb --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/file_category.py @@ -0,0 +1,94 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class FileCategory(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + CAPTIVEPORTALLOGO = "CaptivePortalLogo" + CAPTIVEPORTALBACKGROUND = "CaptivePortalBackground" + EXTERNALPOLICYCONFIGURATION = "ExternalPolicyConfiguration" + USERNAMEPASSWORDLIST = "UsernamePasswordList" + DEVICEMACBLOCKLIST = "DeviceMacBlockList" + DONOTSTEERCLIENTLIST = "DoNotSteerClientList" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """FileCategory - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(FileCategory, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, FileCategory): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/file_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/file_type.py new file mode 100644 index 000000000..129afc557 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/file_type.py @@ -0,0 +1,91 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class FileType(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + PNG = "PNG" + JPG = "JPG" + PROTOBUF = "PROTOBUF" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """FileType - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(FileType, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, FileType): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/firmware_schedule_setting.py b/libs/cloudapi/cloudsdk/swagger_client/models/firmware_schedule_setting.py new file mode 100644 index 000000000..cf06fe410 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/firmware_schedule_setting.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class FirmwareScheduleSetting(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + discriminator_value_class_map = { + } + + def __init__(self): # noqa: E501 + """FirmwareScheduleSetting - a model defined in Swagger""" # noqa: E501 + self.discriminator = 'model_type' + + def get_real_child_model(self, data): + """Returns the real base class specified by the discriminator""" + discriminator_value = data[self.discriminator].lower() + return self.discriminator_value_class_map.get(discriminator_value) + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(FirmwareScheduleSetting, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, FirmwareScheduleSetting): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/firmware_track_assignment_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/firmware_track_assignment_details.py new file mode 100644 index 000000000..6213e3cd9 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/firmware_track_assignment_details.py @@ -0,0 +1,252 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six +from swagger_client.models.firmware_track_assignment_record import FirmwareTrackAssignmentRecord # noqa: F401,E501 + +class FirmwareTrackAssignmentDetails(FirmwareTrackAssignmentRecord): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'equipment_type': 'EquipmentType', + 'model_id': 'str', + 'version_name': 'str', + 'description': 'str', + 'commit': 'str', + 'release_date': 'int' + } + if hasattr(FirmwareTrackAssignmentRecord, "swagger_types"): + swagger_types.update(FirmwareTrackAssignmentRecord.swagger_types) + + attribute_map = { + 'equipment_type': 'equipmentType', + 'model_id': 'modelId', + 'version_name': 'versionName', + 'description': 'description', + 'commit': 'commit', + 'release_date': 'releaseDate' + } + if hasattr(FirmwareTrackAssignmentRecord, "attribute_map"): + attribute_map.update(FirmwareTrackAssignmentRecord.attribute_map) + + def __init__(self, equipment_type=None, model_id=None, version_name=None, description=None, commit=None, release_date=None, *args, **kwargs): # noqa: E501 + """FirmwareTrackAssignmentDetails - a model defined in Swagger""" # noqa: E501 + self._equipment_type = None + self._model_id = None + self._version_name = None + self._description = None + self._commit = None + self._release_date = None + self.discriminator = None + if equipment_type is not None: + self.equipment_type = equipment_type + if model_id is not None: + self.model_id = model_id + if version_name is not None: + self.version_name = version_name + if description is not None: + self.description = description + if commit is not None: + self.commit = commit + if release_date is not None: + self.release_date = release_date + FirmwareTrackAssignmentRecord.__init__(self, *args, **kwargs) + + @property + def equipment_type(self): + """Gets the equipment_type of this FirmwareTrackAssignmentDetails. # noqa: E501 + + + :return: The equipment_type of this FirmwareTrackAssignmentDetails. # noqa: E501 + :rtype: EquipmentType + """ + return self._equipment_type + + @equipment_type.setter + def equipment_type(self, equipment_type): + """Sets the equipment_type of this FirmwareTrackAssignmentDetails. + + + :param equipment_type: The equipment_type of this FirmwareTrackAssignmentDetails. # noqa: E501 + :type: EquipmentType + """ + + self._equipment_type = equipment_type + + @property + def model_id(self): + """Gets the model_id of this FirmwareTrackAssignmentDetails. # noqa: E501 + + equipment model # noqa: E501 + + :return: The model_id of this FirmwareTrackAssignmentDetails. # noqa: E501 + :rtype: str + """ + return self._model_id + + @model_id.setter + def model_id(self, model_id): + """Sets the model_id of this FirmwareTrackAssignmentDetails. + + equipment model # noqa: E501 + + :param model_id: The model_id of this FirmwareTrackAssignmentDetails. # noqa: E501 + :type: str + """ + + self._model_id = model_id + + @property + def version_name(self): + """Gets the version_name of this FirmwareTrackAssignmentDetails. # noqa: E501 + + + :return: The version_name of this FirmwareTrackAssignmentDetails. # noqa: E501 + :rtype: str + """ + return self._version_name + + @version_name.setter + def version_name(self, version_name): + """Sets the version_name of this FirmwareTrackAssignmentDetails. + + + :param version_name: The version_name of this FirmwareTrackAssignmentDetails. # noqa: E501 + :type: str + """ + + self._version_name = version_name + + @property + def description(self): + """Gets the description of this FirmwareTrackAssignmentDetails. # noqa: E501 + + + :return: The description of this FirmwareTrackAssignmentDetails. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this FirmwareTrackAssignmentDetails. + + + :param description: The description of this FirmwareTrackAssignmentDetails. # noqa: E501 + :type: str + """ + + self._description = description + + @property + def commit(self): + """Gets the commit of this FirmwareTrackAssignmentDetails. # noqa: E501 + + commit number for the firmware image, from the source control system # noqa: E501 + + :return: The commit of this FirmwareTrackAssignmentDetails. # noqa: E501 + :rtype: str + """ + return self._commit + + @commit.setter + def commit(self, commit): + """Sets the commit of this FirmwareTrackAssignmentDetails. + + commit number for the firmware image, from the source control system # noqa: E501 + + :param commit: The commit of this FirmwareTrackAssignmentDetails. # noqa: E501 + :type: str + """ + + self._commit = commit + + @property + def release_date(self): + """Gets the release_date of this FirmwareTrackAssignmentDetails. # noqa: E501 + + release date of the firmware image, in ms epoch time # noqa: E501 + + :return: The release_date of this FirmwareTrackAssignmentDetails. # noqa: E501 + :rtype: int + """ + return self._release_date + + @release_date.setter + def release_date(self, release_date): + """Sets the release_date of this FirmwareTrackAssignmentDetails. + + release date of the firmware image, in ms epoch time # noqa: E501 + + :param release_date: The release_date of this FirmwareTrackAssignmentDetails. # noqa: E501 + :type: int + """ + + self._release_date = release_date + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(FirmwareTrackAssignmentDetails, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, FirmwareTrackAssignmentDetails): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/firmware_track_assignment_record.py b/libs/cloudapi/cloudsdk/swagger_client/models/firmware_track_assignment_record.py new file mode 100644 index 000000000..5cee00c9e --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/firmware_track_assignment_record.py @@ -0,0 +1,242 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class FirmwareTrackAssignmentRecord(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'track_record_id': 'int', + 'firmware_version_record_id': 'int', + 'default_revision_for_track': 'bool', + 'deprecated': 'bool', + 'created_timestamp': 'int', + 'last_modified_timestamp': 'int' + } + + attribute_map = { + 'track_record_id': 'trackRecordId', + 'firmware_version_record_id': 'firmwareVersionRecordId', + 'default_revision_for_track': 'defaultRevisionForTrack', + 'deprecated': 'deprecated', + 'created_timestamp': 'createdTimestamp', + 'last_modified_timestamp': 'lastModifiedTimestamp' + } + + def __init__(self, track_record_id=None, firmware_version_record_id=None, default_revision_for_track=False, deprecated=False, created_timestamp=None, last_modified_timestamp=None): # noqa: E501 + """FirmwareTrackAssignmentRecord - a model defined in Swagger""" # noqa: E501 + self._track_record_id = None + self._firmware_version_record_id = None + self._default_revision_for_track = None + self._deprecated = None + self._created_timestamp = None + self._last_modified_timestamp = None + self.discriminator = None + if track_record_id is not None: + self.track_record_id = track_record_id + if firmware_version_record_id is not None: + self.firmware_version_record_id = firmware_version_record_id + if default_revision_for_track is not None: + self.default_revision_for_track = default_revision_for_track + if deprecated is not None: + self.deprecated = deprecated + if created_timestamp is not None: + self.created_timestamp = created_timestamp + if last_modified_timestamp is not None: + self.last_modified_timestamp = last_modified_timestamp + + @property + def track_record_id(self): + """Gets the track_record_id of this FirmwareTrackAssignmentRecord. # noqa: E501 + + + :return: The track_record_id of this FirmwareTrackAssignmentRecord. # noqa: E501 + :rtype: int + """ + return self._track_record_id + + @track_record_id.setter + def track_record_id(self, track_record_id): + """Sets the track_record_id of this FirmwareTrackAssignmentRecord. + + + :param track_record_id: The track_record_id of this FirmwareTrackAssignmentRecord. # noqa: E501 + :type: int + """ + + self._track_record_id = track_record_id + + @property + def firmware_version_record_id(self): + """Gets the firmware_version_record_id of this FirmwareTrackAssignmentRecord. # noqa: E501 + + + :return: The firmware_version_record_id of this FirmwareTrackAssignmentRecord. # noqa: E501 + :rtype: int + """ + return self._firmware_version_record_id + + @firmware_version_record_id.setter + def firmware_version_record_id(self, firmware_version_record_id): + """Sets the firmware_version_record_id of this FirmwareTrackAssignmentRecord. + + + :param firmware_version_record_id: The firmware_version_record_id of this FirmwareTrackAssignmentRecord. # noqa: E501 + :type: int + """ + + self._firmware_version_record_id = firmware_version_record_id + + @property + def default_revision_for_track(self): + """Gets the default_revision_for_track of this FirmwareTrackAssignmentRecord. # noqa: E501 + + + :return: The default_revision_for_track of this FirmwareTrackAssignmentRecord. # noqa: E501 + :rtype: bool + """ + return self._default_revision_for_track + + @default_revision_for_track.setter + def default_revision_for_track(self, default_revision_for_track): + """Sets the default_revision_for_track of this FirmwareTrackAssignmentRecord. + + + :param default_revision_for_track: The default_revision_for_track of this FirmwareTrackAssignmentRecord. # noqa: E501 + :type: bool + """ + + self._default_revision_for_track = default_revision_for_track + + @property + def deprecated(self): + """Gets the deprecated of this FirmwareTrackAssignmentRecord. # noqa: E501 + + + :return: The deprecated of this FirmwareTrackAssignmentRecord. # noqa: E501 + :rtype: bool + """ + return self._deprecated + + @deprecated.setter + def deprecated(self, deprecated): + """Sets the deprecated of this FirmwareTrackAssignmentRecord. + + + :param deprecated: The deprecated of this FirmwareTrackAssignmentRecord. # noqa: E501 + :type: bool + """ + + self._deprecated = deprecated + + @property + def created_timestamp(self): + """Gets the created_timestamp of this FirmwareTrackAssignmentRecord. # noqa: E501 + + + :return: The created_timestamp of this FirmwareTrackAssignmentRecord. # noqa: E501 + :rtype: int + """ + return self._created_timestamp + + @created_timestamp.setter + def created_timestamp(self, created_timestamp): + """Sets the created_timestamp of this FirmwareTrackAssignmentRecord. + + + :param created_timestamp: The created_timestamp of this FirmwareTrackAssignmentRecord. # noqa: E501 + :type: int + """ + + self._created_timestamp = created_timestamp + + @property + def last_modified_timestamp(self): + """Gets the last_modified_timestamp of this FirmwareTrackAssignmentRecord. # noqa: E501 + + must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database # noqa: E501 + + :return: The last_modified_timestamp of this FirmwareTrackAssignmentRecord. # noqa: E501 + :rtype: int + """ + return self._last_modified_timestamp + + @last_modified_timestamp.setter + def last_modified_timestamp(self, last_modified_timestamp): + """Sets the last_modified_timestamp of this FirmwareTrackAssignmentRecord. + + must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database # noqa: E501 + + :param last_modified_timestamp: The last_modified_timestamp of this FirmwareTrackAssignmentRecord. # noqa: E501 + :type: int + """ + + self._last_modified_timestamp = last_modified_timestamp + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(FirmwareTrackAssignmentRecord, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, FirmwareTrackAssignmentRecord): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/firmware_track_record.py b/libs/cloudapi/cloudsdk/swagger_client/models/firmware_track_record.py new file mode 100644 index 000000000..f8b2845bf --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/firmware_track_record.py @@ -0,0 +1,216 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class FirmwareTrackRecord(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'record_id': 'int', + 'track_name': 'str', + 'maintenance_window': 'FirmwareScheduleSetting', + 'created_timestamp': 'int', + 'last_modified_timestamp': 'int' + } + + attribute_map = { + 'record_id': 'recordId', + 'track_name': 'trackName', + 'maintenance_window': 'maintenanceWindow', + 'created_timestamp': 'createdTimestamp', + 'last_modified_timestamp': 'lastModifiedTimestamp' + } + + def __init__(self, record_id=None, track_name=None, maintenance_window=None, created_timestamp=None, last_modified_timestamp=None): # noqa: E501 + """FirmwareTrackRecord - a model defined in Swagger""" # noqa: E501 + self._record_id = None + self._track_name = None + self._maintenance_window = None + self._created_timestamp = None + self._last_modified_timestamp = None + self.discriminator = None + if record_id is not None: + self.record_id = record_id + if track_name is not None: + self.track_name = track_name + if maintenance_window is not None: + self.maintenance_window = maintenance_window + if created_timestamp is not None: + self.created_timestamp = created_timestamp + if last_modified_timestamp is not None: + self.last_modified_timestamp = last_modified_timestamp + + @property + def record_id(self): + """Gets the record_id of this FirmwareTrackRecord. # noqa: E501 + + + :return: The record_id of this FirmwareTrackRecord. # noqa: E501 + :rtype: int + """ + return self._record_id + + @record_id.setter + def record_id(self, record_id): + """Sets the record_id of this FirmwareTrackRecord. + + + :param record_id: The record_id of this FirmwareTrackRecord. # noqa: E501 + :type: int + """ + + self._record_id = record_id + + @property + def track_name(self): + """Gets the track_name of this FirmwareTrackRecord. # noqa: E501 + + + :return: The track_name of this FirmwareTrackRecord. # noqa: E501 + :rtype: str + """ + return self._track_name + + @track_name.setter + def track_name(self, track_name): + """Sets the track_name of this FirmwareTrackRecord. + + + :param track_name: The track_name of this FirmwareTrackRecord. # noqa: E501 + :type: str + """ + + self._track_name = track_name + + @property + def maintenance_window(self): + """Gets the maintenance_window of this FirmwareTrackRecord. # noqa: E501 + + + :return: The maintenance_window of this FirmwareTrackRecord. # noqa: E501 + :rtype: FirmwareScheduleSetting + """ + return self._maintenance_window + + @maintenance_window.setter + def maintenance_window(self, maintenance_window): + """Sets the maintenance_window of this FirmwareTrackRecord. + + + :param maintenance_window: The maintenance_window of this FirmwareTrackRecord. # noqa: E501 + :type: FirmwareScheduleSetting + """ + + self._maintenance_window = maintenance_window + + @property + def created_timestamp(self): + """Gets the created_timestamp of this FirmwareTrackRecord. # noqa: E501 + + + :return: The created_timestamp of this FirmwareTrackRecord. # noqa: E501 + :rtype: int + """ + return self._created_timestamp + + @created_timestamp.setter + def created_timestamp(self, created_timestamp): + """Sets the created_timestamp of this FirmwareTrackRecord. + + + :param created_timestamp: The created_timestamp of this FirmwareTrackRecord. # noqa: E501 + :type: int + """ + + self._created_timestamp = created_timestamp + + @property + def last_modified_timestamp(self): + """Gets the last_modified_timestamp of this FirmwareTrackRecord. # noqa: E501 + + must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database # noqa: E501 + + :return: The last_modified_timestamp of this FirmwareTrackRecord. # noqa: E501 + :rtype: int + """ + return self._last_modified_timestamp + + @last_modified_timestamp.setter + def last_modified_timestamp(self, last_modified_timestamp): + """Sets the last_modified_timestamp of this FirmwareTrackRecord. + + must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database # noqa: E501 + + :param last_modified_timestamp: The last_modified_timestamp of this FirmwareTrackRecord. # noqa: E501 + :type: int + """ + + self._last_modified_timestamp = last_modified_timestamp + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(FirmwareTrackRecord, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, FirmwareTrackRecord): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/firmware_validation_method.py b/libs/cloudapi/cloudsdk/swagger_client/models/firmware_validation_method.py new file mode 100644 index 000000000..fd91f7214 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/firmware_validation_method.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class FirmwareValidationMethod(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + MD5_CHECKSUM = "MD5_CHECKSUM" + NONE = "NONE" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """FirmwareValidationMethod - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(FirmwareValidationMethod, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, FirmwareValidationMethod): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/firmware_version.py b/libs/cloudapi/cloudsdk/swagger_client/models/firmware_version.py new file mode 100644 index 000000000..ed8fcf292 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/firmware_version.py @@ -0,0 +1,406 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class FirmwareVersion(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'id': 'int', + 'equipment_type': 'EquipmentType', + 'model_id': 'str', + 'version_name': 'str', + 'description': 'str', + 'filename': 'str', + 'commit': 'str', + 'validation_method': 'FirmwareValidationMethod', + 'validation_code': 'str', + 'release_date': 'int', + 'created_timestamp': 'int', + 'last_modified_timestamp': 'int' + } + + attribute_map = { + 'id': 'id', + 'equipment_type': 'equipmentType', + 'model_id': 'modelId', + 'version_name': 'versionName', + 'description': 'description', + 'filename': 'filename', + 'commit': 'commit', + 'validation_method': 'validationMethod', + 'validation_code': 'validationCode', + 'release_date': 'releaseDate', + 'created_timestamp': 'createdTimestamp', + 'last_modified_timestamp': 'lastModifiedTimestamp' + } + + def __init__(self, id=None, equipment_type=None, model_id=None, version_name=None, description=None, filename=None, commit=None, validation_method=None, validation_code=None, release_date=None, created_timestamp=None, last_modified_timestamp=None): # noqa: E501 + """FirmwareVersion - a model defined in Swagger""" # noqa: E501 + self._id = None + self._equipment_type = None + self._model_id = None + self._version_name = None + self._description = None + self._filename = None + self._commit = None + self._validation_method = None + self._validation_code = None + self._release_date = None + self._created_timestamp = None + self._last_modified_timestamp = None + self.discriminator = None + if id is not None: + self.id = id + if equipment_type is not None: + self.equipment_type = equipment_type + if model_id is not None: + self.model_id = model_id + if version_name is not None: + self.version_name = version_name + if description is not None: + self.description = description + if filename is not None: + self.filename = filename + if commit is not None: + self.commit = commit + if validation_method is not None: + self.validation_method = validation_method + if validation_code is not None: + self.validation_code = validation_code + if release_date is not None: + self.release_date = release_date + if created_timestamp is not None: + self.created_timestamp = created_timestamp + if last_modified_timestamp is not None: + self.last_modified_timestamp = last_modified_timestamp + + @property + def id(self): + """Gets the id of this FirmwareVersion. # noqa: E501 + + + :return: The id of this FirmwareVersion. # noqa: E501 + :rtype: int + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this FirmwareVersion. + + + :param id: The id of this FirmwareVersion. # noqa: E501 + :type: int + """ + + self._id = id + + @property + def equipment_type(self): + """Gets the equipment_type of this FirmwareVersion. # noqa: E501 + + + :return: The equipment_type of this FirmwareVersion. # noqa: E501 + :rtype: EquipmentType + """ + return self._equipment_type + + @equipment_type.setter + def equipment_type(self, equipment_type): + """Sets the equipment_type of this FirmwareVersion. + + + :param equipment_type: The equipment_type of this FirmwareVersion. # noqa: E501 + :type: EquipmentType + """ + + self._equipment_type = equipment_type + + @property + def model_id(self): + """Gets the model_id of this FirmwareVersion. # noqa: E501 + + equipment model # noqa: E501 + + :return: The model_id of this FirmwareVersion. # noqa: E501 + :rtype: str + """ + return self._model_id + + @model_id.setter + def model_id(self, model_id): + """Sets the model_id of this FirmwareVersion. + + equipment model # noqa: E501 + + :param model_id: The model_id of this FirmwareVersion. # noqa: E501 + :type: str + """ + + self._model_id = model_id + + @property + def version_name(self): + """Gets the version_name of this FirmwareVersion. # noqa: E501 + + + :return: The version_name of this FirmwareVersion. # noqa: E501 + :rtype: str + """ + return self._version_name + + @version_name.setter + def version_name(self, version_name): + """Sets the version_name of this FirmwareVersion. + + + :param version_name: The version_name of this FirmwareVersion. # noqa: E501 + :type: str + """ + + self._version_name = version_name + + @property + def description(self): + """Gets the description of this FirmwareVersion. # noqa: E501 + + + :return: The description of this FirmwareVersion. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this FirmwareVersion. + + + :param description: The description of this FirmwareVersion. # noqa: E501 + :type: str + """ + + self._description = description + + @property + def filename(self): + """Gets the filename of this FirmwareVersion. # noqa: E501 + + + :return: The filename of this FirmwareVersion. # noqa: E501 + :rtype: str + """ + return self._filename + + @filename.setter + def filename(self, filename): + """Sets the filename of this FirmwareVersion. + + + :param filename: The filename of this FirmwareVersion. # noqa: E501 + :type: str + """ + + self._filename = filename + + @property + def commit(self): + """Gets the commit of this FirmwareVersion. # noqa: E501 + + commit number for the firmware image, from the source control system # noqa: E501 + + :return: The commit of this FirmwareVersion. # noqa: E501 + :rtype: str + """ + return self._commit + + @commit.setter + def commit(self, commit): + """Sets the commit of this FirmwareVersion. + + commit number for the firmware image, from the source control system # noqa: E501 + + :param commit: The commit of this FirmwareVersion. # noqa: E501 + :type: str + """ + + self._commit = commit + + @property + def validation_method(self): + """Gets the validation_method of this FirmwareVersion. # noqa: E501 + + + :return: The validation_method of this FirmwareVersion. # noqa: E501 + :rtype: FirmwareValidationMethod + """ + return self._validation_method + + @validation_method.setter + def validation_method(self, validation_method): + """Sets the validation_method of this FirmwareVersion. + + + :param validation_method: The validation_method of this FirmwareVersion. # noqa: E501 + :type: FirmwareValidationMethod + """ + + self._validation_method = validation_method + + @property + def validation_code(self): + """Gets the validation_code of this FirmwareVersion. # noqa: E501 + + firmware digest code, depending on validation method - MD5, etc. # noqa: E501 + + :return: The validation_code of this FirmwareVersion. # noqa: E501 + :rtype: str + """ + return self._validation_code + + @validation_code.setter + def validation_code(self, validation_code): + """Sets the validation_code of this FirmwareVersion. + + firmware digest code, depending on validation method - MD5, etc. # noqa: E501 + + :param validation_code: The validation_code of this FirmwareVersion. # noqa: E501 + :type: str + """ + + self._validation_code = validation_code + + @property + def release_date(self): + """Gets the release_date of this FirmwareVersion. # noqa: E501 + + release date of the firmware image, in ms epoch time # noqa: E501 + + :return: The release_date of this FirmwareVersion. # noqa: E501 + :rtype: int + """ + return self._release_date + + @release_date.setter + def release_date(self, release_date): + """Sets the release_date of this FirmwareVersion. + + release date of the firmware image, in ms epoch time # noqa: E501 + + :param release_date: The release_date of this FirmwareVersion. # noqa: E501 + :type: int + """ + + self._release_date = release_date + + @property + def created_timestamp(self): + """Gets the created_timestamp of this FirmwareVersion. # noqa: E501 + + + :return: The created_timestamp of this FirmwareVersion. # noqa: E501 + :rtype: int + """ + return self._created_timestamp + + @created_timestamp.setter + def created_timestamp(self, created_timestamp): + """Sets the created_timestamp of this FirmwareVersion. + + + :param created_timestamp: The created_timestamp of this FirmwareVersion. # noqa: E501 + :type: int + """ + + self._created_timestamp = created_timestamp + + @property + def last_modified_timestamp(self): + """Gets the last_modified_timestamp of this FirmwareVersion. # noqa: E501 + + must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database # noqa: E501 + + :return: The last_modified_timestamp of this FirmwareVersion. # noqa: E501 + :rtype: int + """ + return self._last_modified_timestamp + + @last_modified_timestamp.setter + def last_modified_timestamp(self, last_modified_timestamp): + """Sets the last_modified_timestamp of this FirmwareVersion. + + must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database # noqa: E501 + + :param last_modified_timestamp: The last_modified_timestamp of this FirmwareVersion. # noqa: E501 + :type: int + """ + + self._last_modified_timestamp = last_modified_timestamp + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(FirmwareVersion, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, FirmwareVersion): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/gateway_added_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/gateway_added_event.py new file mode 100644 index 000000000..b96a6d390 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/gateway_added_event.py @@ -0,0 +1,163 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class GatewayAddedEvent(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'event_timestamp': 'int', + 'gateway': 'EquipmentGatewayRecord' + } + + attribute_map = { + 'model_type': 'model_type', + 'event_timestamp': 'eventTimestamp', + 'gateway': 'gateway' + } + + def __init__(self, model_type=None, event_timestamp=None, gateway=None): # noqa: E501 + """GatewayAddedEvent - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._event_timestamp = None + self._gateway = None + self.discriminator = None + self.model_type = model_type + if event_timestamp is not None: + self.event_timestamp = event_timestamp + if gateway is not None: + self.gateway = gateway + + @property + def model_type(self): + """Gets the model_type of this GatewayAddedEvent. # noqa: E501 + + + :return: The model_type of this GatewayAddedEvent. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this GatewayAddedEvent. + + + :param model_type: The model_type of this GatewayAddedEvent. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + + self._model_type = model_type + + @property + def event_timestamp(self): + """Gets the event_timestamp of this GatewayAddedEvent. # noqa: E501 + + + :return: The event_timestamp of this GatewayAddedEvent. # noqa: E501 + :rtype: int + """ + return self._event_timestamp + + @event_timestamp.setter + def event_timestamp(self, event_timestamp): + """Sets the event_timestamp of this GatewayAddedEvent. + + + :param event_timestamp: The event_timestamp of this GatewayAddedEvent. # noqa: E501 + :type: int + """ + + self._event_timestamp = event_timestamp + + @property + def gateway(self): + """Gets the gateway of this GatewayAddedEvent. # noqa: E501 + + + :return: The gateway of this GatewayAddedEvent. # noqa: E501 + :rtype: EquipmentGatewayRecord + """ + return self._gateway + + @gateway.setter + def gateway(self, gateway): + """Sets the gateway of this GatewayAddedEvent. + + + :param gateway: The gateway of this GatewayAddedEvent. # noqa: E501 + :type: EquipmentGatewayRecord + """ + + self._gateway = gateway + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(GatewayAddedEvent, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, GatewayAddedEvent): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/gateway_changed_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/gateway_changed_event.py new file mode 100644 index 000000000..1d1517dca --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/gateway_changed_event.py @@ -0,0 +1,163 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class GatewayChangedEvent(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'event_timestamp': 'int', + 'gateway': 'EquipmentGatewayRecord' + } + + attribute_map = { + 'model_type': 'model_type', + 'event_timestamp': 'eventTimestamp', + 'gateway': 'gateway' + } + + def __init__(self, model_type=None, event_timestamp=None, gateway=None): # noqa: E501 + """GatewayChangedEvent - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._event_timestamp = None + self._gateway = None + self.discriminator = None + self.model_type = model_type + if event_timestamp is not None: + self.event_timestamp = event_timestamp + if gateway is not None: + self.gateway = gateway + + @property + def model_type(self): + """Gets the model_type of this GatewayChangedEvent. # noqa: E501 + + + :return: The model_type of this GatewayChangedEvent. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this GatewayChangedEvent. + + + :param model_type: The model_type of this GatewayChangedEvent. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + + self._model_type = model_type + + @property + def event_timestamp(self): + """Gets the event_timestamp of this GatewayChangedEvent. # noqa: E501 + + + :return: The event_timestamp of this GatewayChangedEvent. # noqa: E501 + :rtype: int + """ + return self._event_timestamp + + @event_timestamp.setter + def event_timestamp(self, event_timestamp): + """Sets the event_timestamp of this GatewayChangedEvent. + + + :param event_timestamp: The event_timestamp of this GatewayChangedEvent. # noqa: E501 + :type: int + """ + + self._event_timestamp = event_timestamp + + @property + def gateway(self): + """Gets the gateway of this GatewayChangedEvent. # noqa: E501 + + + :return: The gateway of this GatewayChangedEvent. # noqa: E501 + :rtype: EquipmentGatewayRecord + """ + return self._gateway + + @gateway.setter + def gateway(self, gateway): + """Sets the gateway of this GatewayChangedEvent. + + + :param gateway: The gateway of this GatewayChangedEvent. # noqa: E501 + :type: EquipmentGatewayRecord + """ + + self._gateway = gateway + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(GatewayChangedEvent, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, GatewayChangedEvent): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/gateway_removed_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/gateway_removed_event.py new file mode 100644 index 000000000..27773f170 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/gateway_removed_event.py @@ -0,0 +1,163 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class GatewayRemovedEvent(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'event_timestamp': 'int', + 'gateway': 'EquipmentGatewayRecord' + } + + attribute_map = { + 'model_type': 'model_type', + 'event_timestamp': 'eventTimestamp', + 'gateway': 'gateway' + } + + def __init__(self, model_type=None, event_timestamp=None, gateway=None): # noqa: E501 + """GatewayRemovedEvent - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._event_timestamp = None + self._gateway = None + self.discriminator = None + self.model_type = model_type + if event_timestamp is not None: + self.event_timestamp = event_timestamp + if gateway is not None: + self.gateway = gateway + + @property + def model_type(self): + """Gets the model_type of this GatewayRemovedEvent. # noqa: E501 + + + :return: The model_type of this GatewayRemovedEvent. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this GatewayRemovedEvent. + + + :param model_type: The model_type of this GatewayRemovedEvent. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + + self._model_type = model_type + + @property + def event_timestamp(self): + """Gets the event_timestamp of this GatewayRemovedEvent. # noqa: E501 + + + :return: The event_timestamp of this GatewayRemovedEvent. # noqa: E501 + :rtype: int + """ + return self._event_timestamp + + @event_timestamp.setter + def event_timestamp(self, event_timestamp): + """Sets the event_timestamp of this GatewayRemovedEvent. + + + :param event_timestamp: The event_timestamp of this GatewayRemovedEvent. # noqa: E501 + :type: int + """ + + self._event_timestamp = event_timestamp + + @property + def gateway(self): + """Gets the gateway of this GatewayRemovedEvent. # noqa: E501 + + + :return: The gateway of this GatewayRemovedEvent. # noqa: E501 + :rtype: EquipmentGatewayRecord + """ + return self._gateway + + @gateway.setter + def gateway(self, gateway): + """Sets the gateway of this GatewayRemovedEvent. + + + :param gateway: The gateway of this GatewayRemovedEvent. # noqa: E501 + :type: EquipmentGatewayRecord + """ + + self._gateway = gateway + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(GatewayRemovedEvent, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, GatewayRemovedEvent): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/gateway_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/gateway_type.py new file mode 100644 index 000000000..edd0de859 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/gateway_type.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class GatewayType(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + CEGW = "CEGW" + CNAGW = "CNAGW" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """GatewayType - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(GatewayType, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, GatewayType): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/generic_response.py b/libs/cloudapi/cloudsdk/swagger_client/models/generic_response.py new file mode 100644 index 000000000..27609a7de --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/generic_response.py @@ -0,0 +1,136 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class GenericResponse(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'message': 'str', + 'success': 'bool' + } + + attribute_map = { + 'message': 'message', + 'success': 'success' + } + + def __init__(self, message=None, success=None): # noqa: E501 + """GenericResponse - a model defined in Swagger""" # noqa: E501 + self._message = None + self._success = None + self.discriminator = None + if message is not None: + self.message = message + if success is not None: + self.success = success + + @property + def message(self): + """Gets the message of this GenericResponse. # noqa: E501 + + + :return: The message of this GenericResponse. # noqa: E501 + :rtype: str + """ + return self._message + + @message.setter + def message(self, message): + """Sets the message of this GenericResponse. + + + :param message: The message of this GenericResponse. # noqa: E501 + :type: str + """ + + self._message = message + + @property + def success(self): + """Gets the success of this GenericResponse. # noqa: E501 + + + :return: The success of this GenericResponse. # noqa: E501 + :rtype: bool + """ + return self._success + + @success.setter + def success(self, success): + """Sets the success of this GenericResponse. + + + :param success: The success of this GenericResponse. # noqa: E501 + :type: bool + """ + + self._success = success + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(GenericResponse, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, GenericResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/gre_tunnel_configuration.py b/libs/cloudapi/cloudsdk/swagger_client/models/gre_tunnel_configuration.py new file mode 100644 index 000000000..a3b975c80 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/gre_tunnel_configuration.py @@ -0,0 +1,162 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class GreTunnelConfiguration(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'gre_tunnel_name': 'str', + 'gre_remote_inet_addr': 'str', + 'vlan_ids_in_gre_tunnel': 'list[int]' + } + + attribute_map = { + 'gre_tunnel_name': 'greTunnelName', + 'gre_remote_inet_addr': 'greRemoteInetAddr', + 'vlan_ids_in_gre_tunnel': 'vlanIdsInGreTunnel' + } + + def __init__(self, gre_tunnel_name=None, gre_remote_inet_addr=None, vlan_ids_in_gre_tunnel=None): # noqa: E501 + """GreTunnelConfiguration - a model defined in Swagger""" # noqa: E501 + self._gre_tunnel_name = None + self._gre_remote_inet_addr = None + self._vlan_ids_in_gre_tunnel = None + self.discriminator = None + if gre_tunnel_name is not None: + self.gre_tunnel_name = gre_tunnel_name + if gre_remote_inet_addr is not None: + self.gre_remote_inet_addr = gre_remote_inet_addr + if vlan_ids_in_gre_tunnel is not None: + self.vlan_ids_in_gre_tunnel = vlan_ids_in_gre_tunnel + + @property + def gre_tunnel_name(self): + """Gets the gre_tunnel_name of this GreTunnelConfiguration. # noqa: E501 + + + :return: The gre_tunnel_name of this GreTunnelConfiguration. # noqa: E501 + :rtype: str + """ + return self._gre_tunnel_name + + @gre_tunnel_name.setter + def gre_tunnel_name(self, gre_tunnel_name): + """Sets the gre_tunnel_name of this GreTunnelConfiguration. + + + :param gre_tunnel_name: The gre_tunnel_name of this GreTunnelConfiguration. # noqa: E501 + :type: str + """ + + self._gre_tunnel_name = gre_tunnel_name + + @property + def gre_remote_inet_addr(self): + """Gets the gre_remote_inet_addr of this GreTunnelConfiguration. # noqa: E501 + + + :return: The gre_remote_inet_addr of this GreTunnelConfiguration. # noqa: E501 + :rtype: str + """ + return self._gre_remote_inet_addr + + @gre_remote_inet_addr.setter + def gre_remote_inet_addr(self, gre_remote_inet_addr): + """Sets the gre_remote_inet_addr of this GreTunnelConfiguration. + + + :param gre_remote_inet_addr: The gre_remote_inet_addr of this GreTunnelConfiguration. # noqa: E501 + :type: str + """ + + self._gre_remote_inet_addr = gre_remote_inet_addr + + @property + def vlan_ids_in_gre_tunnel(self): + """Gets the vlan_ids_in_gre_tunnel of this GreTunnelConfiguration. # noqa: E501 + + + :return: The vlan_ids_in_gre_tunnel of this GreTunnelConfiguration. # noqa: E501 + :rtype: list[int] + """ + return self._vlan_ids_in_gre_tunnel + + @vlan_ids_in_gre_tunnel.setter + def vlan_ids_in_gre_tunnel(self, vlan_ids_in_gre_tunnel): + """Sets the vlan_ids_in_gre_tunnel of this GreTunnelConfiguration. + + + :param vlan_ids_in_gre_tunnel: The vlan_ids_in_gre_tunnel of this GreTunnelConfiguration. # noqa: E501 + :type: list[int] + """ + + self._vlan_ids_in_gre_tunnel = vlan_ids_in_gre_tunnel + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(GreTunnelConfiguration, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, GreTunnelConfiguration): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/guard_interval.py b/libs/cloudapi/cloudsdk/swagger_client/models/guard_interval.py new file mode 100644 index 000000000..1256d8047 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/guard_interval.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class GuardInterval(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + LGI_LONG_GUARD_INTERVAL = "LGI# Long Guard Interval" + SGI_SHORT_GUARD_INTERVAL = "SGI# Short Guard Interval" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """GuardInterval - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(GuardInterval, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, GuardInterval): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/integer_per_radio_type_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/integer_per_radio_type_map.py new file mode 100644 index 000000000..e9e681b90 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/integer_per_radio_type_map.py @@ -0,0 +1,188 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class IntegerPerRadioTypeMap(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'is5_g_hz': 'int', + 'is5_g_hz_u': 'int', + 'is5_g_hz_l': 'int', + 'is2dot4_g_hz': 'int' + } + + attribute_map = { + 'is5_g_hz': 'is5GHz', + 'is5_g_hz_u': 'is5GHzU', + 'is5_g_hz_l': 'is5GHzL', + 'is2dot4_g_hz': 'is2dot4GHz' + } + + def __init__(self, is5_g_hz=None, is5_g_hz_u=None, is5_g_hz_l=None, is2dot4_g_hz=None): # noqa: E501 + """IntegerPerRadioTypeMap - a model defined in Swagger""" # noqa: E501 + self._is5_g_hz = None + self._is5_g_hz_u = None + self._is5_g_hz_l = None + self._is2dot4_g_hz = None + self.discriminator = None + if is5_g_hz is not None: + self.is5_g_hz = is5_g_hz + if is5_g_hz_u is not None: + self.is5_g_hz_u = is5_g_hz_u + if is5_g_hz_l is not None: + self.is5_g_hz_l = is5_g_hz_l + if is2dot4_g_hz is not None: + self.is2dot4_g_hz = is2dot4_g_hz + + @property + def is5_g_hz(self): + """Gets the is5_g_hz of this IntegerPerRadioTypeMap. # noqa: E501 + + + :return: The is5_g_hz of this IntegerPerRadioTypeMap. # noqa: E501 + :rtype: int + """ + return self._is5_g_hz + + @is5_g_hz.setter + def is5_g_hz(self, is5_g_hz): + """Sets the is5_g_hz of this IntegerPerRadioTypeMap. + + + :param is5_g_hz: The is5_g_hz of this IntegerPerRadioTypeMap. # noqa: E501 + :type: int + """ + + self._is5_g_hz = is5_g_hz + + @property + def is5_g_hz_u(self): + """Gets the is5_g_hz_u of this IntegerPerRadioTypeMap. # noqa: E501 + + + :return: The is5_g_hz_u of this IntegerPerRadioTypeMap. # noqa: E501 + :rtype: int + """ + return self._is5_g_hz_u + + @is5_g_hz_u.setter + def is5_g_hz_u(self, is5_g_hz_u): + """Sets the is5_g_hz_u of this IntegerPerRadioTypeMap. + + + :param is5_g_hz_u: The is5_g_hz_u of this IntegerPerRadioTypeMap. # noqa: E501 + :type: int + """ + + self._is5_g_hz_u = is5_g_hz_u + + @property + def is5_g_hz_l(self): + """Gets the is5_g_hz_l of this IntegerPerRadioTypeMap. # noqa: E501 + + + :return: The is5_g_hz_l of this IntegerPerRadioTypeMap. # noqa: E501 + :rtype: int + """ + return self._is5_g_hz_l + + @is5_g_hz_l.setter + def is5_g_hz_l(self, is5_g_hz_l): + """Sets the is5_g_hz_l of this IntegerPerRadioTypeMap. + + + :param is5_g_hz_l: The is5_g_hz_l of this IntegerPerRadioTypeMap. # noqa: E501 + :type: int + """ + + self._is5_g_hz_l = is5_g_hz_l + + @property + def is2dot4_g_hz(self): + """Gets the is2dot4_g_hz of this IntegerPerRadioTypeMap. # noqa: E501 + + + :return: The is2dot4_g_hz of this IntegerPerRadioTypeMap. # noqa: E501 + :rtype: int + """ + return self._is2dot4_g_hz + + @is2dot4_g_hz.setter + def is2dot4_g_hz(self, is2dot4_g_hz): + """Sets the is2dot4_g_hz of this IntegerPerRadioTypeMap. + + + :param is2dot4_g_hz: The is2dot4_g_hz of this IntegerPerRadioTypeMap. # noqa: E501 + :type: int + """ + + self._is2dot4_g_hz = is2dot4_g_hz + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(IntegerPerRadioTypeMap, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, IntegerPerRadioTypeMap): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/integer_per_status_code_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/integer_per_status_code_map.py new file mode 100644 index 000000000..5c4761de7 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/integer_per_status_code_map.py @@ -0,0 +1,188 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class IntegerPerStatusCodeMap(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'normal': 'int', + 'requires_attention': 'int', + 'error': 'int', + 'disabled': 'int' + } + + attribute_map = { + 'normal': 'normal', + 'requires_attention': 'requiresAttention', + 'error': 'error', + 'disabled': 'disabled' + } + + def __init__(self, normal=None, requires_attention=None, error=None, disabled=None): # noqa: E501 + """IntegerPerStatusCodeMap - a model defined in Swagger""" # noqa: E501 + self._normal = None + self._requires_attention = None + self._error = None + self._disabled = None + self.discriminator = None + if normal is not None: + self.normal = normal + if requires_attention is not None: + self.requires_attention = requires_attention + if error is not None: + self.error = error + if disabled is not None: + self.disabled = disabled + + @property + def normal(self): + """Gets the normal of this IntegerPerStatusCodeMap. # noqa: E501 + + + :return: The normal of this IntegerPerStatusCodeMap. # noqa: E501 + :rtype: int + """ + return self._normal + + @normal.setter + def normal(self, normal): + """Sets the normal of this IntegerPerStatusCodeMap. + + + :param normal: The normal of this IntegerPerStatusCodeMap. # noqa: E501 + :type: int + """ + + self._normal = normal + + @property + def requires_attention(self): + """Gets the requires_attention of this IntegerPerStatusCodeMap. # noqa: E501 + + + :return: The requires_attention of this IntegerPerStatusCodeMap. # noqa: E501 + :rtype: int + """ + return self._requires_attention + + @requires_attention.setter + def requires_attention(self, requires_attention): + """Sets the requires_attention of this IntegerPerStatusCodeMap. + + + :param requires_attention: The requires_attention of this IntegerPerStatusCodeMap. # noqa: E501 + :type: int + """ + + self._requires_attention = requires_attention + + @property + def error(self): + """Gets the error of this IntegerPerStatusCodeMap. # noqa: E501 + + + :return: The error of this IntegerPerStatusCodeMap. # noqa: E501 + :rtype: int + """ + return self._error + + @error.setter + def error(self, error): + """Sets the error of this IntegerPerStatusCodeMap. + + + :param error: The error of this IntegerPerStatusCodeMap. # noqa: E501 + :type: int + """ + + self._error = error + + @property + def disabled(self): + """Gets the disabled of this IntegerPerStatusCodeMap. # noqa: E501 + + + :return: The disabled of this IntegerPerStatusCodeMap. # noqa: E501 + :rtype: int + """ + return self._disabled + + @disabled.setter + def disabled(self, disabled): + """Sets the disabled of this IntegerPerStatusCodeMap. + + + :param disabled: The disabled of this IntegerPerStatusCodeMap. # noqa: E501 + :type: int + """ + + self._disabled = disabled + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(IntegerPerStatusCodeMap, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, IntegerPerStatusCodeMap): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/integer_status_code_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/integer_status_code_map.py new file mode 100644 index 000000000..5e34bae69 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/integer_status_code_map.py @@ -0,0 +1,188 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class IntegerStatusCodeMap(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'normal': 'int', + 'requires_attention': 'int', + 'error': 'int', + 'disabled': 'int' + } + + attribute_map = { + 'normal': 'normal', + 'requires_attention': 'requiresAttention', + 'error': 'error', + 'disabled': 'disabled' + } + + def __init__(self, normal=None, requires_attention=None, error=None, disabled=None): # noqa: E501 + """IntegerStatusCodeMap - a model defined in Swagger""" # noqa: E501 + self._normal = None + self._requires_attention = None + self._error = None + self._disabled = None + self.discriminator = None + if normal is not None: + self.normal = normal + if requires_attention is not None: + self.requires_attention = requires_attention + if error is not None: + self.error = error + if disabled is not None: + self.disabled = disabled + + @property + def normal(self): + """Gets the normal of this IntegerStatusCodeMap. # noqa: E501 + + + :return: The normal of this IntegerStatusCodeMap. # noqa: E501 + :rtype: int + """ + return self._normal + + @normal.setter + def normal(self, normal): + """Sets the normal of this IntegerStatusCodeMap. + + + :param normal: The normal of this IntegerStatusCodeMap. # noqa: E501 + :type: int + """ + + self._normal = normal + + @property + def requires_attention(self): + """Gets the requires_attention of this IntegerStatusCodeMap. # noqa: E501 + + + :return: The requires_attention of this IntegerStatusCodeMap. # noqa: E501 + :rtype: int + """ + return self._requires_attention + + @requires_attention.setter + def requires_attention(self, requires_attention): + """Sets the requires_attention of this IntegerStatusCodeMap. + + + :param requires_attention: The requires_attention of this IntegerStatusCodeMap. # noqa: E501 + :type: int + """ + + self._requires_attention = requires_attention + + @property + def error(self): + """Gets the error of this IntegerStatusCodeMap. # noqa: E501 + + + :return: The error of this IntegerStatusCodeMap. # noqa: E501 + :rtype: int + """ + return self._error + + @error.setter + def error(self, error): + """Sets the error of this IntegerStatusCodeMap. + + + :param error: The error of this IntegerStatusCodeMap. # noqa: E501 + :type: int + """ + + self._error = error + + @property + def disabled(self): + """Gets the disabled of this IntegerStatusCodeMap. # noqa: E501 + + + :return: The disabled of this IntegerStatusCodeMap. # noqa: E501 + :rtype: int + """ + return self._disabled + + @disabled.setter + def disabled(self, disabled): + """Sets the disabled of this IntegerStatusCodeMap. + + + :param disabled: The disabled of this IntegerStatusCodeMap. # noqa: E501 + :type: int + """ + + self._disabled = disabled + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(IntegerStatusCodeMap, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, IntegerStatusCodeMap): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/integer_value_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/integer_value_map.py new file mode 100644 index 000000000..334bf778f --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/integer_value_map.py @@ -0,0 +1,89 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class IntegerValueMap(dict): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + if hasattr(dict, "swagger_types"): + swagger_types.update(dict.swagger_types) + + attribute_map = { + } + if hasattr(dict, "attribute_map"): + attribute_map.update(dict.attribute_map) + + def __init__(self, *args, **kwargs): # noqa: E501 + """IntegerValueMap - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + dict.__init__(self, *args, **kwargs) + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(IntegerValueMap, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, IntegerValueMap): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/json_serialized_exception.py b/libs/cloudapi/cloudsdk/swagger_client/models/json_serialized_exception.py new file mode 100644 index 000000000..375c1f37a --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/json_serialized_exception.py @@ -0,0 +1,200 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class JsonSerializedException(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'ex_type': 'str', + 'error': 'str', + 'path': 'str', + 'timestamp': 'int' + } + + attribute_map = { + 'ex_type': 'exType', + 'error': 'error', + 'path': 'path', + 'timestamp': 'timestamp' + } + + def __init__(self, ex_type=None, error=None, path=None, timestamp=None): # noqa: E501 + """JsonSerializedException - a model defined in Swagger""" # noqa: E501 + self._ex_type = None + self._error = None + self._path = None + self._timestamp = None + self.discriminator = None + if ex_type is not None: + self.ex_type = ex_type + if error is not None: + self.error = error + if path is not None: + self.path = path + if timestamp is not None: + self.timestamp = timestamp + + @property + def ex_type(self): + """Gets the ex_type of this JsonSerializedException. # noqa: E501 + + + :return: The ex_type of this JsonSerializedException. # noqa: E501 + :rtype: str + """ + return self._ex_type + + @ex_type.setter + def ex_type(self, ex_type): + """Sets the ex_type of this JsonSerializedException. + + + :param ex_type: The ex_type of this JsonSerializedException. # noqa: E501 + :type: str + """ + allowed_values = ["IllegalStateException"] # noqa: E501 + if ex_type not in allowed_values: + raise ValueError( + "Invalid value for `ex_type` ({0}), must be one of {1}" # noqa: E501 + .format(ex_type, allowed_values) + ) + + self._ex_type = ex_type + + @property + def error(self): + """Gets the error of this JsonSerializedException. # noqa: E501 + + error message # noqa: E501 + + :return: The error of this JsonSerializedException. # noqa: E501 + :rtype: str + """ + return self._error + + @error.setter + def error(self, error): + """Sets the error of this JsonSerializedException. + + error message # noqa: E501 + + :param error: The error of this JsonSerializedException. # noqa: E501 + :type: str + """ + + self._error = error + + @property + def path(self): + """Gets the path of this JsonSerializedException. # noqa: E501 + + API path with parameters that produced the exception # noqa: E501 + + :return: The path of this JsonSerializedException. # noqa: E501 + :rtype: str + """ + return self._path + + @path.setter + def path(self, path): + """Sets the path of this JsonSerializedException. + + API path with parameters that produced the exception # noqa: E501 + + :param path: The path of this JsonSerializedException. # noqa: E501 + :type: str + """ + + self._path = path + + @property + def timestamp(self): + """Gets the timestamp of this JsonSerializedException. # noqa: E501 + + time stamp of when the exception was generated # noqa: E501 + + :return: The timestamp of this JsonSerializedException. # noqa: E501 + :rtype: int + """ + return self._timestamp + + @timestamp.setter + def timestamp(self, timestamp): + """Sets the timestamp of this JsonSerializedException. + + time stamp of when the exception was generated # noqa: E501 + + :param timestamp: The timestamp of this JsonSerializedException. # noqa: E501 + :type: int + """ + + self._timestamp = timestamp + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(JsonSerializedException, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, JsonSerializedException): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/link_quality_aggregated_stats.py b/libs/cloudapi/cloudsdk/swagger_client/models/link_quality_aggregated_stats.py new file mode 100644 index 000000000..6b2af1d7f --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/link_quality_aggregated_stats.py @@ -0,0 +1,188 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class LinkQualityAggregatedStats(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'snr': 'MinMaxAvgValueInt', + 'bad_client_count': 'int', + 'average_client_count': 'int', + 'good_client_count': 'int' + } + + attribute_map = { + 'snr': 'snr', + 'bad_client_count': 'badClientCount', + 'average_client_count': 'averageClientCount', + 'good_client_count': 'goodClientCount' + } + + def __init__(self, snr=None, bad_client_count=None, average_client_count=None, good_client_count=None): # noqa: E501 + """LinkQualityAggregatedStats - a model defined in Swagger""" # noqa: E501 + self._snr = None + self._bad_client_count = None + self._average_client_count = None + self._good_client_count = None + self.discriminator = None + if snr is not None: + self.snr = snr + if bad_client_count is not None: + self.bad_client_count = bad_client_count + if average_client_count is not None: + self.average_client_count = average_client_count + if good_client_count is not None: + self.good_client_count = good_client_count + + @property + def snr(self): + """Gets the snr of this LinkQualityAggregatedStats. # noqa: E501 + + + :return: The snr of this LinkQualityAggregatedStats. # noqa: E501 + :rtype: MinMaxAvgValueInt + """ + return self._snr + + @snr.setter + def snr(self, snr): + """Sets the snr of this LinkQualityAggregatedStats. + + + :param snr: The snr of this LinkQualityAggregatedStats. # noqa: E501 + :type: MinMaxAvgValueInt + """ + + self._snr = snr + + @property + def bad_client_count(self): + """Gets the bad_client_count of this LinkQualityAggregatedStats. # noqa: E501 + + + :return: The bad_client_count of this LinkQualityAggregatedStats. # noqa: E501 + :rtype: int + """ + return self._bad_client_count + + @bad_client_count.setter + def bad_client_count(self, bad_client_count): + """Sets the bad_client_count of this LinkQualityAggregatedStats. + + + :param bad_client_count: The bad_client_count of this LinkQualityAggregatedStats. # noqa: E501 + :type: int + """ + + self._bad_client_count = bad_client_count + + @property + def average_client_count(self): + """Gets the average_client_count of this LinkQualityAggregatedStats. # noqa: E501 + + + :return: The average_client_count of this LinkQualityAggregatedStats. # noqa: E501 + :rtype: int + """ + return self._average_client_count + + @average_client_count.setter + def average_client_count(self, average_client_count): + """Sets the average_client_count of this LinkQualityAggregatedStats. + + + :param average_client_count: The average_client_count of this LinkQualityAggregatedStats. # noqa: E501 + :type: int + """ + + self._average_client_count = average_client_count + + @property + def good_client_count(self): + """Gets the good_client_count of this LinkQualityAggregatedStats. # noqa: E501 + + + :return: The good_client_count of this LinkQualityAggregatedStats. # noqa: E501 + :rtype: int + """ + return self._good_client_count + + @good_client_count.setter + def good_client_count(self, good_client_count): + """Sets the good_client_count of this LinkQualityAggregatedStats. + + + :param good_client_count: The good_client_count of this LinkQualityAggregatedStats. # noqa: E501 + :type: int + """ + + self._good_client_count = good_client_count + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(LinkQualityAggregatedStats, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, LinkQualityAggregatedStats): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/link_quality_aggregated_stats_per_radio_type_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/link_quality_aggregated_stats_per_radio_type_map.py new file mode 100644 index 000000000..b73c29547 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/link_quality_aggregated_stats_per_radio_type_map.py @@ -0,0 +1,188 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class LinkQualityAggregatedStatsPerRadioTypeMap(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'is5_g_hz': 'LinkQualityAggregatedStats', + 'is5_g_hz_u': 'LinkQualityAggregatedStats', + 'is5_g_hz_l': 'LinkQualityAggregatedStats', + 'is2dot4_g_hz': 'LinkQualityAggregatedStats' + } + + attribute_map = { + 'is5_g_hz': 'is5GHz', + 'is5_g_hz_u': 'is5GHzU', + 'is5_g_hz_l': 'is5GHzL', + 'is2dot4_g_hz': 'is2dot4GHz' + } + + def __init__(self, is5_g_hz=None, is5_g_hz_u=None, is5_g_hz_l=None, is2dot4_g_hz=None): # noqa: E501 + """LinkQualityAggregatedStatsPerRadioTypeMap - a model defined in Swagger""" # noqa: E501 + self._is5_g_hz = None + self._is5_g_hz_u = None + self._is5_g_hz_l = None + self._is2dot4_g_hz = None + self.discriminator = None + if is5_g_hz is not None: + self.is5_g_hz = is5_g_hz + if is5_g_hz_u is not None: + self.is5_g_hz_u = is5_g_hz_u + if is5_g_hz_l is not None: + self.is5_g_hz_l = is5_g_hz_l + if is2dot4_g_hz is not None: + self.is2dot4_g_hz = is2dot4_g_hz + + @property + def is5_g_hz(self): + """Gets the is5_g_hz of this LinkQualityAggregatedStatsPerRadioTypeMap. # noqa: E501 + + + :return: The is5_g_hz of this LinkQualityAggregatedStatsPerRadioTypeMap. # noqa: E501 + :rtype: LinkQualityAggregatedStats + """ + return self._is5_g_hz + + @is5_g_hz.setter + def is5_g_hz(self, is5_g_hz): + """Sets the is5_g_hz of this LinkQualityAggregatedStatsPerRadioTypeMap. + + + :param is5_g_hz: The is5_g_hz of this LinkQualityAggregatedStatsPerRadioTypeMap. # noqa: E501 + :type: LinkQualityAggregatedStats + """ + + self._is5_g_hz = is5_g_hz + + @property + def is5_g_hz_u(self): + """Gets the is5_g_hz_u of this LinkQualityAggregatedStatsPerRadioTypeMap. # noqa: E501 + + + :return: The is5_g_hz_u of this LinkQualityAggregatedStatsPerRadioTypeMap. # noqa: E501 + :rtype: LinkQualityAggregatedStats + """ + return self._is5_g_hz_u + + @is5_g_hz_u.setter + def is5_g_hz_u(self, is5_g_hz_u): + """Sets the is5_g_hz_u of this LinkQualityAggregatedStatsPerRadioTypeMap. + + + :param is5_g_hz_u: The is5_g_hz_u of this LinkQualityAggregatedStatsPerRadioTypeMap. # noqa: E501 + :type: LinkQualityAggregatedStats + """ + + self._is5_g_hz_u = is5_g_hz_u + + @property + def is5_g_hz_l(self): + """Gets the is5_g_hz_l of this LinkQualityAggregatedStatsPerRadioTypeMap. # noqa: E501 + + + :return: The is5_g_hz_l of this LinkQualityAggregatedStatsPerRadioTypeMap. # noqa: E501 + :rtype: LinkQualityAggregatedStats + """ + return self._is5_g_hz_l + + @is5_g_hz_l.setter + def is5_g_hz_l(self, is5_g_hz_l): + """Sets the is5_g_hz_l of this LinkQualityAggregatedStatsPerRadioTypeMap. + + + :param is5_g_hz_l: The is5_g_hz_l of this LinkQualityAggregatedStatsPerRadioTypeMap. # noqa: E501 + :type: LinkQualityAggregatedStats + """ + + self._is5_g_hz_l = is5_g_hz_l + + @property + def is2dot4_g_hz(self): + """Gets the is2dot4_g_hz of this LinkQualityAggregatedStatsPerRadioTypeMap. # noqa: E501 + + + :return: The is2dot4_g_hz of this LinkQualityAggregatedStatsPerRadioTypeMap. # noqa: E501 + :rtype: LinkQualityAggregatedStats + """ + return self._is2dot4_g_hz + + @is2dot4_g_hz.setter + def is2dot4_g_hz(self, is2dot4_g_hz): + """Sets the is2dot4_g_hz of this LinkQualityAggregatedStatsPerRadioTypeMap. + + + :param is2dot4_g_hz: The is2dot4_g_hz of this LinkQualityAggregatedStatsPerRadioTypeMap. # noqa: E501 + :type: LinkQualityAggregatedStats + """ + + self._is2dot4_g_hz = is2dot4_g_hz + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(LinkQualityAggregatedStatsPerRadioTypeMap, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, LinkQualityAggregatedStatsPerRadioTypeMap): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/list_of_channel_info_reports_per_radio_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/list_of_channel_info_reports_per_radio_map.py new file mode 100644 index 000000000..a76c99bc2 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/list_of_channel_info_reports_per_radio_map.py @@ -0,0 +1,188 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ListOfChannelInfoReportsPerRadioMap(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'is5_g_hz': 'list[ChannelInfo]', + 'is5_g_hz_u': 'list[ChannelInfo]', + 'is5_g_hz_l': 'list[ChannelInfo]', + 'is2dot4_g_hz': 'list[ChannelInfo]' + } + + attribute_map = { + 'is5_g_hz': 'is5GHz', + 'is5_g_hz_u': 'is5GHzU', + 'is5_g_hz_l': 'is5GHzL', + 'is2dot4_g_hz': 'is2dot4GHz' + } + + def __init__(self, is5_g_hz=None, is5_g_hz_u=None, is5_g_hz_l=None, is2dot4_g_hz=None): # noqa: E501 + """ListOfChannelInfoReportsPerRadioMap - a model defined in Swagger""" # noqa: E501 + self._is5_g_hz = None + self._is5_g_hz_u = None + self._is5_g_hz_l = None + self._is2dot4_g_hz = None + self.discriminator = None + if is5_g_hz is not None: + self.is5_g_hz = is5_g_hz + if is5_g_hz_u is not None: + self.is5_g_hz_u = is5_g_hz_u + if is5_g_hz_l is not None: + self.is5_g_hz_l = is5_g_hz_l + if is2dot4_g_hz is not None: + self.is2dot4_g_hz = is2dot4_g_hz + + @property + def is5_g_hz(self): + """Gets the is5_g_hz of this ListOfChannelInfoReportsPerRadioMap. # noqa: E501 + + + :return: The is5_g_hz of this ListOfChannelInfoReportsPerRadioMap. # noqa: E501 + :rtype: list[ChannelInfo] + """ + return self._is5_g_hz + + @is5_g_hz.setter + def is5_g_hz(self, is5_g_hz): + """Sets the is5_g_hz of this ListOfChannelInfoReportsPerRadioMap. + + + :param is5_g_hz: The is5_g_hz of this ListOfChannelInfoReportsPerRadioMap. # noqa: E501 + :type: list[ChannelInfo] + """ + + self._is5_g_hz = is5_g_hz + + @property + def is5_g_hz_u(self): + """Gets the is5_g_hz_u of this ListOfChannelInfoReportsPerRadioMap. # noqa: E501 + + + :return: The is5_g_hz_u of this ListOfChannelInfoReportsPerRadioMap. # noqa: E501 + :rtype: list[ChannelInfo] + """ + return self._is5_g_hz_u + + @is5_g_hz_u.setter + def is5_g_hz_u(self, is5_g_hz_u): + """Sets the is5_g_hz_u of this ListOfChannelInfoReportsPerRadioMap. + + + :param is5_g_hz_u: The is5_g_hz_u of this ListOfChannelInfoReportsPerRadioMap. # noqa: E501 + :type: list[ChannelInfo] + """ + + self._is5_g_hz_u = is5_g_hz_u + + @property + def is5_g_hz_l(self): + """Gets the is5_g_hz_l of this ListOfChannelInfoReportsPerRadioMap. # noqa: E501 + + + :return: The is5_g_hz_l of this ListOfChannelInfoReportsPerRadioMap. # noqa: E501 + :rtype: list[ChannelInfo] + """ + return self._is5_g_hz_l + + @is5_g_hz_l.setter + def is5_g_hz_l(self, is5_g_hz_l): + """Sets the is5_g_hz_l of this ListOfChannelInfoReportsPerRadioMap. + + + :param is5_g_hz_l: The is5_g_hz_l of this ListOfChannelInfoReportsPerRadioMap. # noqa: E501 + :type: list[ChannelInfo] + """ + + self._is5_g_hz_l = is5_g_hz_l + + @property + def is2dot4_g_hz(self): + """Gets the is2dot4_g_hz of this ListOfChannelInfoReportsPerRadioMap. # noqa: E501 + + + :return: The is2dot4_g_hz of this ListOfChannelInfoReportsPerRadioMap. # noqa: E501 + :rtype: list[ChannelInfo] + """ + return self._is2dot4_g_hz + + @is2dot4_g_hz.setter + def is2dot4_g_hz(self, is2dot4_g_hz): + """Sets the is2dot4_g_hz of this ListOfChannelInfoReportsPerRadioMap. + + + :param is2dot4_g_hz: The is2dot4_g_hz of this ListOfChannelInfoReportsPerRadioMap. # noqa: E501 + :type: list[ChannelInfo] + """ + + self._is2dot4_g_hz = is2dot4_g_hz + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ListOfChannelInfoReportsPerRadioMap, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ListOfChannelInfoReportsPerRadioMap): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/list_of_macs_per_radio_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/list_of_macs_per_radio_map.py new file mode 100644 index 000000000..dd8279283 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/list_of_macs_per_radio_map.py @@ -0,0 +1,188 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ListOfMacsPerRadioMap(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'is5_g_hz': 'list[MacAddress]', + 'is5_g_hz_u': 'list[MacAddress]', + 'is5_g_hz_l': 'list[MacAddress]', + 'is2dot4_g_hz': 'list[MacAddress]' + } + + attribute_map = { + 'is5_g_hz': 'is5GHz', + 'is5_g_hz_u': 'is5GHzU', + 'is5_g_hz_l': 'is5GHzL', + 'is2dot4_g_hz': 'is2dot4GHz' + } + + def __init__(self, is5_g_hz=None, is5_g_hz_u=None, is5_g_hz_l=None, is2dot4_g_hz=None): # noqa: E501 + """ListOfMacsPerRadioMap - a model defined in Swagger""" # noqa: E501 + self._is5_g_hz = None + self._is5_g_hz_u = None + self._is5_g_hz_l = None + self._is2dot4_g_hz = None + self.discriminator = None + if is5_g_hz is not None: + self.is5_g_hz = is5_g_hz + if is5_g_hz_u is not None: + self.is5_g_hz_u = is5_g_hz_u + if is5_g_hz_l is not None: + self.is5_g_hz_l = is5_g_hz_l + if is2dot4_g_hz is not None: + self.is2dot4_g_hz = is2dot4_g_hz + + @property + def is5_g_hz(self): + """Gets the is5_g_hz of this ListOfMacsPerRadioMap. # noqa: E501 + + + :return: The is5_g_hz of this ListOfMacsPerRadioMap. # noqa: E501 + :rtype: list[MacAddress] + """ + return self._is5_g_hz + + @is5_g_hz.setter + def is5_g_hz(self, is5_g_hz): + """Sets the is5_g_hz of this ListOfMacsPerRadioMap. + + + :param is5_g_hz: The is5_g_hz of this ListOfMacsPerRadioMap. # noqa: E501 + :type: list[MacAddress] + """ + + self._is5_g_hz = is5_g_hz + + @property + def is5_g_hz_u(self): + """Gets the is5_g_hz_u of this ListOfMacsPerRadioMap. # noqa: E501 + + + :return: The is5_g_hz_u of this ListOfMacsPerRadioMap. # noqa: E501 + :rtype: list[MacAddress] + """ + return self._is5_g_hz_u + + @is5_g_hz_u.setter + def is5_g_hz_u(self, is5_g_hz_u): + """Sets the is5_g_hz_u of this ListOfMacsPerRadioMap. + + + :param is5_g_hz_u: The is5_g_hz_u of this ListOfMacsPerRadioMap. # noqa: E501 + :type: list[MacAddress] + """ + + self._is5_g_hz_u = is5_g_hz_u + + @property + def is5_g_hz_l(self): + """Gets the is5_g_hz_l of this ListOfMacsPerRadioMap. # noqa: E501 + + + :return: The is5_g_hz_l of this ListOfMacsPerRadioMap. # noqa: E501 + :rtype: list[MacAddress] + """ + return self._is5_g_hz_l + + @is5_g_hz_l.setter + def is5_g_hz_l(self, is5_g_hz_l): + """Sets the is5_g_hz_l of this ListOfMacsPerRadioMap. + + + :param is5_g_hz_l: The is5_g_hz_l of this ListOfMacsPerRadioMap. # noqa: E501 + :type: list[MacAddress] + """ + + self._is5_g_hz_l = is5_g_hz_l + + @property + def is2dot4_g_hz(self): + """Gets the is2dot4_g_hz of this ListOfMacsPerRadioMap. # noqa: E501 + + + :return: The is2dot4_g_hz of this ListOfMacsPerRadioMap. # noqa: E501 + :rtype: list[MacAddress] + """ + return self._is2dot4_g_hz + + @is2dot4_g_hz.setter + def is2dot4_g_hz(self, is2dot4_g_hz): + """Sets the is2dot4_g_hz of this ListOfMacsPerRadioMap. + + + :param is2dot4_g_hz: The is2dot4_g_hz of this ListOfMacsPerRadioMap. # noqa: E501 + :type: list[MacAddress] + """ + + self._is2dot4_g_hz = is2dot4_g_hz + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ListOfMacsPerRadioMap, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ListOfMacsPerRadioMap): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/list_of_mcs_stats_per_radio_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/list_of_mcs_stats_per_radio_map.py new file mode 100644 index 000000000..a4e912626 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/list_of_mcs_stats_per_radio_map.py @@ -0,0 +1,188 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ListOfMcsStatsPerRadioMap(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'is5_g_hz': 'list[McsStats]', + 'is5_g_hz_u': 'list[McsStats]', + 'is5_g_hz_l': 'list[McsStats]', + 'is2dot4_g_hz': 'list[McsStats]' + } + + attribute_map = { + 'is5_g_hz': 'is5GHz', + 'is5_g_hz_u': 'is5GHzU', + 'is5_g_hz_l': 'is5GHzL', + 'is2dot4_g_hz': 'is2dot4GHz' + } + + def __init__(self, is5_g_hz=None, is5_g_hz_u=None, is5_g_hz_l=None, is2dot4_g_hz=None): # noqa: E501 + """ListOfMcsStatsPerRadioMap - a model defined in Swagger""" # noqa: E501 + self._is5_g_hz = None + self._is5_g_hz_u = None + self._is5_g_hz_l = None + self._is2dot4_g_hz = None + self.discriminator = None + if is5_g_hz is not None: + self.is5_g_hz = is5_g_hz + if is5_g_hz_u is not None: + self.is5_g_hz_u = is5_g_hz_u + if is5_g_hz_l is not None: + self.is5_g_hz_l = is5_g_hz_l + if is2dot4_g_hz is not None: + self.is2dot4_g_hz = is2dot4_g_hz + + @property + def is5_g_hz(self): + """Gets the is5_g_hz of this ListOfMcsStatsPerRadioMap. # noqa: E501 + + + :return: The is5_g_hz of this ListOfMcsStatsPerRadioMap. # noqa: E501 + :rtype: list[McsStats] + """ + return self._is5_g_hz + + @is5_g_hz.setter + def is5_g_hz(self, is5_g_hz): + """Sets the is5_g_hz of this ListOfMcsStatsPerRadioMap. + + + :param is5_g_hz: The is5_g_hz of this ListOfMcsStatsPerRadioMap. # noqa: E501 + :type: list[McsStats] + """ + + self._is5_g_hz = is5_g_hz + + @property + def is5_g_hz_u(self): + """Gets the is5_g_hz_u of this ListOfMcsStatsPerRadioMap. # noqa: E501 + + + :return: The is5_g_hz_u of this ListOfMcsStatsPerRadioMap. # noqa: E501 + :rtype: list[McsStats] + """ + return self._is5_g_hz_u + + @is5_g_hz_u.setter + def is5_g_hz_u(self, is5_g_hz_u): + """Sets the is5_g_hz_u of this ListOfMcsStatsPerRadioMap. + + + :param is5_g_hz_u: The is5_g_hz_u of this ListOfMcsStatsPerRadioMap. # noqa: E501 + :type: list[McsStats] + """ + + self._is5_g_hz_u = is5_g_hz_u + + @property + def is5_g_hz_l(self): + """Gets the is5_g_hz_l of this ListOfMcsStatsPerRadioMap. # noqa: E501 + + + :return: The is5_g_hz_l of this ListOfMcsStatsPerRadioMap. # noqa: E501 + :rtype: list[McsStats] + """ + return self._is5_g_hz_l + + @is5_g_hz_l.setter + def is5_g_hz_l(self, is5_g_hz_l): + """Sets the is5_g_hz_l of this ListOfMcsStatsPerRadioMap. + + + :param is5_g_hz_l: The is5_g_hz_l of this ListOfMcsStatsPerRadioMap. # noqa: E501 + :type: list[McsStats] + """ + + self._is5_g_hz_l = is5_g_hz_l + + @property + def is2dot4_g_hz(self): + """Gets the is2dot4_g_hz of this ListOfMcsStatsPerRadioMap. # noqa: E501 + + + :return: The is2dot4_g_hz of this ListOfMcsStatsPerRadioMap. # noqa: E501 + :rtype: list[McsStats] + """ + return self._is2dot4_g_hz + + @is2dot4_g_hz.setter + def is2dot4_g_hz(self, is2dot4_g_hz): + """Sets the is2dot4_g_hz of this ListOfMcsStatsPerRadioMap. + + + :param is2dot4_g_hz: The is2dot4_g_hz of this ListOfMcsStatsPerRadioMap. # noqa: E501 + :type: list[McsStats] + """ + + self._is2dot4_g_hz = is2dot4_g_hz + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ListOfMcsStatsPerRadioMap, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ListOfMcsStatsPerRadioMap): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/list_of_radio_utilization_per_radio_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/list_of_radio_utilization_per_radio_map.py new file mode 100644 index 000000000..616fe53f8 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/list_of_radio_utilization_per_radio_map.py @@ -0,0 +1,188 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ListOfRadioUtilizationPerRadioMap(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'is5_g_hz': 'list[RadioUtilization]', + 'is5_g_hz_u': 'list[RadioUtilization]', + 'is5_g_hz_l': 'list[RadioUtilization]', + 'is2dot4_g_hz': 'list[RadioUtilization]' + } + + attribute_map = { + 'is5_g_hz': 'is5GHz', + 'is5_g_hz_u': 'is5GHzU', + 'is5_g_hz_l': 'is5GHzL', + 'is2dot4_g_hz': 'is2dot4GHz' + } + + def __init__(self, is5_g_hz=None, is5_g_hz_u=None, is5_g_hz_l=None, is2dot4_g_hz=None): # noqa: E501 + """ListOfRadioUtilizationPerRadioMap - a model defined in Swagger""" # noqa: E501 + self._is5_g_hz = None + self._is5_g_hz_u = None + self._is5_g_hz_l = None + self._is2dot4_g_hz = None + self.discriminator = None + if is5_g_hz is not None: + self.is5_g_hz = is5_g_hz + if is5_g_hz_u is not None: + self.is5_g_hz_u = is5_g_hz_u + if is5_g_hz_l is not None: + self.is5_g_hz_l = is5_g_hz_l + if is2dot4_g_hz is not None: + self.is2dot4_g_hz = is2dot4_g_hz + + @property + def is5_g_hz(self): + """Gets the is5_g_hz of this ListOfRadioUtilizationPerRadioMap. # noqa: E501 + + + :return: The is5_g_hz of this ListOfRadioUtilizationPerRadioMap. # noqa: E501 + :rtype: list[RadioUtilization] + """ + return self._is5_g_hz + + @is5_g_hz.setter + def is5_g_hz(self, is5_g_hz): + """Sets the is5_g_hz of this ListOfRadioUtilizationPerRadioMap. + + + :param is5_g_hz: The is5_g_hz of this ListOfRadioUtilizationPerRadioMap. # noqa: E501 + :type: list[RadioUtilization] + """ + + self._is5_g_hz = is5_g_hz + + @property + def is5_g_hz_u(self): + """Gets the is5_g_hz_u of this ListOfRadioUtilizationPerRadioMap. # noqa: E501 + + + :return: The is5_g_hz_u of this ListOfRadioUtilizationPerRadioMap. # noqa: E501 + :rtype: list[RadioUtilization] + """ + return self._is5_g_hz_u + + @is5_g_hz_u.setter + def is5_g_hz_u(self, is5_g_hz_u): + """Sets the is5_g_hz_u of this ListOfRadioUtilizationPerRadioMap. + + + :param is5_g_hz_u: The is5_g_hz_u of this ListOfRadioUtilizationPerRadioMap. # noqa: E501 + :type: list[RadioUtilization] + """ + + self._is5_g_hz_u = is5_g_hz_u + + @property + def is5_g_hz_l(self): + """Gets the is5_g_hz_l of this ListOfRadioUtilizationPerRadioMap. # noqa: E501 + + + :return: The is5_g_hz_l of this ListOfRadioUtilizationPerRadioMap. # noqa: E501 + :rtype: list[RadioUtilization] + """ + return self._is5_g_hz_l + + @is5_g_hz_l.setter + def is5_g_hz_l(self, is5_g_hz_l): + """Sets the is5_g_hz_l of this ListOfRadioUtilizationPerRadioMap. + + + :param is5_g_hz_l: The is5_g_hz_l of this ListOfRadioUtilizationPerRadioMap. # noqa: E501 + :type: list[RadioUtilization] + """ + + self._is5_g_hz_l = is5_g_hz_l + + @property + def is2dot4_g_hz(self): + """Gets the is2dot4_g_hz of this ListOfRadioUtilizationPerRadioMap. # noqa: E501 + + + :return: The is2dot4_g_hz of this ListOfRadioUtilizationPerRadioMap. # noqa: E501 + :rtype: list[RadioUtilization] + """ + return self._is2dot4_g_hz + + @is2dot4_g_hz.setter + def is2dot4_g_hz(self, is2dot4_g_hz): + """Sets the is2dot4_g_hz of this ListOfRadioUtilizationPerRadioMap. + + + :param is2dot4_g_hz: The is2dot4_g_hz of this ListOfRadioUtilizationPerRadioMap. # noqa: E501 + :type: list[RadioUtilization] + """ + + self._is2dot4_g_hz = is2dot4_g_hz + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ListOfRadioUtilizationPerRadioMap, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ListOfRadioUtilizationPerRadioMap): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/list_of_ssid_statistics_per_radio_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/list_of_ssid_statistics_per_radio_map.py new file mode 100644 index 000000000..87ea812f8 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/list_of_ssid_statistics_per_radio_map.py @@ -0,0 +1,188 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ListOfSsidStatisticsPerRadioMap(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'is5_g_hz': 'list[SsidStatistics]', + 'is5_g_hz_u': 'list[SsidStatistics]', + 'is5_g_hz_l': 'list[SsidStatistics]', + 'is2dot4_g_hz': 'list[SsidStatistics]' + } + + attribute_map = { + 'is5_g_hz': 'is5GHz', + 'is5_g_hz_u': 'is5GHzU', + 'is5_g_hz_l': 'is5GHzL', + 'is2dot4_g_hz': 'is2dot4GHz' + } + + def __init__(self, is5_g_hz=None, is5_g_hz_u=None, is5_g_hz_l=None, is2dot4_g_hz=None): # noqa: E501 + """ListOfSsidStatisticsPerRadioMap - a model defined in Swagger""" # noqa: E501 + self._is5_g_hz = None + self._is5_g_hz_u = None + self._is5_g_hz_l = None + self._is2dot4_g_hz = None + self.discriminator = None + if is5_g_hz is not None: + self.is5_g_hz = is5_g_hz + if is5_g_hz_u is not None: + self.is5_g_hz_u = is5_g_hz_u + if is5_g_hz_l is not None: + self.is5_g_hz_l = is5_g_hz_l + if is2dot4_g_hz is not None: + self.is2dot4_g_hz = is2dot4_g_hz + + @property + def is5_g_hz(self): + """Gets the is5_g_hz of this ListOfSsidStatisticsPerRadioMap. # noqa: E501 + + + :return: The is5_g_hz of this ListOfSsidStatisticsPerRadioMap. # noqa: E501 + :rtype: list[SsidStatistics] + """ + return self._is5_g_hz + + @is5_g_hz.setter + def is5_g_hz(self, is5_g_hz): + """Sets the is5_g_hz of this ListOfSsidStatisticsPerRadioMap. + + + :param is5_g_hz: The is5_g_hz of this ListOfSsidStatisticsPerRadioMap. # noqa: E501 + :type: list[SsidStatistics] + """ + + self._is5_g_hz = is5_g_hz + + @property + def is5_g_hz_u(self): + """Gets the is5_g_hz_u of this ListOfSsidStatisticsPerRadioMap. # noqa: E501 + + + :return: The is5_g_hz_u of this ListOfSsidStatisticsPerRadioMap. # noqa: E501 + :rtype: list[SsidStatistics] + """ + return self._is5_g_hz_u + + @is5_g_hz_u.setter + def is5_g_hz_u(self, is5_g_hz_u): + """Sets the is5_g_hz_u of this ListOfSsidStatisticsPerRadioMap. + + + :param is5_g_hz_u: The is5_g_hz_u of this ListOfSsidStatisticsPerRadioMap. # noqa: E501 + :type: list[SsidStatistics] + """ + + self._is5_g_hz_u = is5_g_hz_u + + @property + def is5_g_hz_l(self): + """Gets the is5_g_hz_l of this ListOfSsidStatisticsPerRadioMap. # noqa: E501 + + + :return: The is5_g_hz_l of this ListOfSsidStatisticsPerRadioMap. # noqa: E501 + :rtype: list[SsidStatistics] + """ + return self._is5_g_hz_l + + @is5_g_hz_l.setter + def is5_g_hz_l(self, is5_g_hz_l): + """Sets the is5_g_hz_l of this ListOfSsidStatisticsPerRadioMap. + + + :param is5_g_hz_l: The is5_g_hz_l of this ListOfSsidStatisticsPerRadioMap. # noqa: E501 + :type: list[SsidStatistics] + """ + + self._is5_g_hz_l = is5_g_hz_l + + @property + def is2dot4_g_hz(self): + """Gets the is2dot4_g_hz of this ListOfSsidStatisticsPerRadioMap. # noqa: E501 + + + :return: The is2dot4_g_hz of this ListOfSsidStatisticsPerRadioMap. # noqa: E501 + :rtype: list[SsidStatistics] + """ + return self._is2dot4_g_hz + + @is2dot4_g_hz.setter + def is2dot4_g_hz(self, is2dot4_g_hz): + """Sets the is2dot4_g_hz of this ListOfSsidStatisticsPerRadioMap. + + + :param is2dot4_g_hz: The is2dot4_g_hz of this ListOfSsidStatisticsPerRadioMap. # noqa: E501 + :type: list[SsidStatistics] + """ + + self._is2dot4_g_hz = is2dot4_g_hz + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ListOfSsidStatisticsPerRadioMap, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ListOfSsidStatisticsPerRadioMap): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/local_time_value.py b/libs/cloudapi/cloudsdk/swagger_client/models/local_time_value.py new file mode 100644 index 000000000..59cf0770a --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/local_time_value.py @@ -0,0 +1,136 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class LocalTimeValue(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'hour': 'int', + 'minute': 'int' + } + + attribute_map = { + 'hour': 'hour', + 'minute': 'minute' + } + + def __init__(self, hour=None, minute=None): # noqa: E501 + """LocalTimeValue - a model defined in Swagger""" # noqa: E501 + self._hour = None + self._minute = None + self.discriminator = None + if hour is not None: + self.hour = hour + if minute is not None: + self.minute = minute + + @property + def hour(self): + """Gets the hour of this LocalTimeValue. # noqa: E501 + + + :return: The hour of this LocalTimeValue. # noqa: E501 + :rtype: int + """ + return self._hour + + @hour.setter + def hour(self, hour): + """Sets the hour of this LocalTimeValue. + + + :param hour: The hour of this LocalTimeValue. # noqa: E501 + :type: int + """ + + self._hour = hour + + @property + def minute(self): + """Gets the minute of this LocalTimeValue. # noqa: E501 + + + :return: The minute of this LocalTimeValue. # noqa: E501 + :rtype: int + """ + return self._minute + + @minute.setter + def minute(self, minute): + """Sets the minute of this LocalTimeValue. + + + :param minute: The minute of this LocalTimeValue. # noqa: E501 + :type: int + """ + + self._minute = minute + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(LocalTimeValue, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, LocalTimeValue): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/location.py b/libs/cloudapi/cloudsdk/swagger_client/models/location.py new file mode 100644 index 000000000..fe4ab884e --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/location.py @@ -0,0 +1,300 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class Location(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'id': 'int', + 'location_type': 'str', + 'customer_id': 'int', + 'name': 'str', + 'parent_id': 'int', + 'details': 'LocationDetails', + 'created_timestamp': 'int', + 'last_modified_timestamp': 'int' + } + + attribute_map = { + 'id': 'id', + 'location_type': 'locationType', + 'customer_id': 'customerId', + 'name': 'name', + 'parent_id': 'parentId', + 'details': 'details', + 'created_timestamp': 'createdTimestamp', + 'last_modified_timestamp': 'lastModifiedTimestamp' + } + + def __init__(self, id=None, location_type=None, customer_id=None, name=None, parent_id=None, details=None, created_timestamp=None, last_modified_timestamp=None): # noqa: E501 + """Location - a model defined in Swagger""" # noqa: E501 + self._id = None + self._location_type = None + self._customer_id = None + self._name = None + self._parent_id = None + self._details = None + self._created_timestamp = None + self._last_modified_timestamp = None + self.discriminator = None + if id is not None: + self.id = id + if location_type is not None: + self.location_type = location_type + if customer_id is not None: + self.customer_id = customer_id + if name is not None: + self.name = name + if parent_id is not None: + self.parent_id = parent_id + if details is not None: + self.details = details + if created_timestamp is not None: + self.created_timestamp = created_timestamp + if last_modified_timestamp is not None: + self.last_modified_timestamp = last_modified_timestamp + + @property + def id(self): + """Gets the id of this Location. # noqa: E501 + + + :return: The id of this Location. # noqa: E501 + :rtype: int + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this Location. + + + :param id: The id of this Location. # noqa: E501 + :type: int + """ + + self._id = id + + @property + def location_type(self): + """Gets the location_type of this Location. # noqa: E501 + + + :return: The location_type of this Location. # noqa: E501 + :rtype: str + """ + return self._location_type + + @location_type.setter + def location_type(self, location_type): + """Sets the location_type of this Location. + + + :param location_type: The location_type of this Location. # noqa: E501 + :type: str + """ + allowed_values = ["COUNTRY", "SITE", "BUILDING", "FLOOR", "UNSUPPORTED"] # noqa: E501 + if location_type not in allowed_values: + raise ValueError( + "Invalid value for `location_type` ({0}), must be one of {1}" # noqa: E501 + .format(location_type, allowed_values) + ) + + self._location_type = location_type + + @property + def customer_id(self): + """Gets the customer_id of this Location. # noqa: E501 + + + :return: The customer_id of this Location. # noqa: E501 + :rtype: int + """ + return self._customer_id + + @customer_id.setter + def customer_id(self, customer_id): + """Sets the customer_id of this Location. + + + :param customer_id: The customer_id of this Location. # noqa: E501 + :type: int + """ + + self._customer_id = customer_id + + @property + def name(self): + """Gets the name of this Location. # noqa: E501 + + + :return: The name of this Location. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this Location. + + + :param name: The name of this Location. # noqa: E501 + :type: str + """ + + self._name = name + + @property + def parent_id(self): + """Gets the parent_id of this Location. # noqa: E501 + + + :return: The parent_id of this Location. # noqa: E501 + :rtype: int + """ + return self._parent_id + + @parent_id.setter + def parent_id(self, parent_id): + """Sets the parent_id of this Location. + + + :param parent_id: The parent_id of this Location. # noqa: E501 + :type: int + """ + + self._parent_id = parent_id + + @property + def details(self): + """Gets the details of this Location. # noqa: E501 + + + :return: The details of this Location. # noqa: E501 + :rtype: LocationDetails + """ + return self._details + + @details.setter + def details(self, details): + """Sets the details of this Location. + + + :param details: The details of this Location. # noqa: E501 + :type: LocationDetails + """ + + self._details = details + + @property + def created_timestamp(self): + """Gets the created_timestamp of this Location. # noqa: E501 + + + :return: The created_timestamp of this Location. # noqa: E501 + :rtype: int + """ + return self._created_timestamp + + @created_timestamp.setter + def created_timestamp(self, created_timestamp): + """Sets the created_timestamp of this Location. + + + :param created_timestamp: The created_timestamp of this Location. # noqa: E501 + :type: int + """ + + self._created_timestamp = created_timestamp + + @property + def last_modified_timestamp(self): + """Gets the last_modified_timestamp of this Location. # noqa: E501 + + must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database # noqa: E501 + + :return: The last_modified_timestamp of this Location. # noqa: E501 + :rtype: int + """ + return self._last_modified_timestamp + + @last_modified_timestamp.setter + def last_modified_timestamp(self, last_modified_timestamp): + """Sets the last_modified_timestamp of this Location. + + must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database # noqa: E501 + + :param last_modified_timestamp: The last_modified_timestamp of this Location. # noqa: E501 + :type: int + """ + + self._last_modified_timestamp = last_modified_timestamp + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(Location, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, Location): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/location_activity_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/location_activity_details.py new file mode 100644 index 000000000..541ec7663 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/location_activity_details.py @@ -0,0 +1,188 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class LocationActivityDetails(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'busy_time': 'str', + 'quiet_time': 'str', + 'timezone': 'str', + 'last_busy_snapshot': 'int' + } + + attribute_map = { + 'busy_time': 'busyTime', + 'quiet_time': 'quietTime', + 'timezone': 'timezone', + 'last_busy_snapshot': 'lastBusySnapshot' + } + + def __init__(self, busy_time=None, quiet_time=None, timezone=None, last_busy_snapshot=None): # noqa: E501 + """LocationActivityDetails - a model defined in Swagger""" # noqa: E501 + self._busy_time = None + self._quiet_time = None + self._timezone = None + self._last_busy_snapshot = None + self.discriminator = None + if busy_time is not None: + self.busy_time = busy_time + if quiet_time is not None: + self.quiet_time = quiet_time + if timezone is not None: + self.timezone = timezone + if last_busy_snapshot is not None: + self.last_busy_snapshot = last_busy_snapshot + + @property + def busy_time(self): + """Gets the busy_time of this LocationActivityDetails. # noqa: E501 + + + :return: The busy_time of this LocationActivityDetails. # noqa: E501 + :rtype: str + """ + return self._busy_time + + @busy_time.setter + def busy_time(self, busy_time): + """Sets the busy_time of this LocationActivityDetails. + + + :param busy_time: The busy_time of this LocationActivityDetails. # noqa: E501 + :type: str + """ + + self._busy_time = busy_time + + @property + def quiet_time(self): + """Gets the quiet_time of this LocationActivityDetails. # noqa: E501 + + + :return: The quiet_time of this LocationActivityDetails. # noqa: E501 + :rtype: str + """ + return self._quiet_time + + @quiet_time.setter + def quiet_time(self, quiet_time): + """Sets the quiet_time of this LocationActivityDetails. + + + :param quiet_time: The quiet_time of this LocationActivityDetails. # noqa: E501 + :type: str + """ + + self._quiet_time = quiet_time + + @property + def timezone(self): + """Gets the timezone of this LocationActivityDetails. # noqa: E501 + + + :return: The timezone of this LocationActivityDetails. # noqa: E501 + :rtype: str + """ + return self._timezone + + @timezone.setter + def timezone(self, timezone): + """Sets the timezone of this LocationActivityDetails. + + + :param timezone: The timezone of this LocationActivityDetails. # noqa: E501 + :type: str + """ + + self._timezone = timezone + + @property + def last_busy_snapshot(self): + """Gets the last_busy_snapshot of this LocationActivityDetails. # noqa: E501 + + + :return: The last_busy_snapshot of this LocationActivityDetails. # noqa: E501 + :rtype: int + """ + return self._last_busy_snapshot + + @last_busy_snapshot.setter + def last_busy_snapshot(self, last_busy_snapshot): + """Sets the last_busy_snapshot of this LocationActivityDetails. + + + :param last_busy_snapshot: The last_busy_snapshot of this LocationActivityDetails. # noqa: E501 + :type: int + """ + + self._last_busy_snapshot = last_busy_snapshot + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(LocationActivityDetails, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, LocationActivityDetails): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/location_activity_details_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/location_activity_details_map.py new file mode 100644 index 000000000..12699f817 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/location_activity_details_map.py @@ -0,0 +1,266 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class LocationActivityDetailsMap(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'sunday': 'LocationActivityDetails', + 'monday': 'LocationActivityDetails', + 'tuesday': 'LocationActivityDetails', + 'wednesday': 'LocationActivityDetails', + 'thursday': 'LocationActivityDetails', + 'friday': 'LocationActivityDetails', + 'saturday': 'LocationActivityDetails' + } + + attribute_map = { + 'sunday': 'SUNDAY', + 'monday': 'MONDAY', + 'tuesday': 'TUESDAY', + 'wednesday': 'WEDNESDAY', + 'thursday': 'THURSDAY', + 'friday': 'FRIDAY', + 'saturday': 'SATURDAY' + } + + def __init__(self, sunday=None, monday=None, tuesday=None, wednesday=None, thursday=None, friday=None, saturday=None): # noqa: E501 + """LocationActivityDetailsMap - a model defined in Swagger""" # noqa: E501 + self._sunday = None + self._monday = None + self._tuesday = None + self._wednesday = None + self._thursday = None + self._friday = None + self._saturday = None + self.discriminator = None + if sunday is not None: + self.sunday = sunday + if monday is not None: + self.monday = monday + if tuesday is not None: + self.tuesday = tuesday + if wednesday is not None: + self.wednesday = wednesday + if thursday is not None: + self.thursday = thursday + if friday is not None: + self.friday = friday + if saturday is not None: + self.saturday = saturday + + @property + def sunday(self): + """Gets the sunday of this LocationActivityDetailsMap. # noqa: E501 + + + :return: The sunday of this LocationActivityDetailsMap. # noqa: E501 + :rtype: LocationActivityDetails + """ + return self._sunday + + @sunday.setter + def sunday(self, sunday): + """Sets the sunday of this LocationActivityDetailsMap. + + + :param sunday: The sunday of this LocationActivityDetailsMap. # noqa: E501 + :type: LocationActivityDetails + """ + + self._sunday = sunday + + @property + def monday(self): + """Gets the monday of this LocationActivityDetailsMap. # noqa: E501 + + + :return: The monday of this LocationActivityDetailsMap. # noqa: E501 + :rtype: LocationActivityDetails + """ + return self._monday + + @monday.setter + def monday(self, monday): + """Sets the monday of this LocationActivityDetailsMap. + + + :param monday: The monday of this LocationActivityDetailsMap. # noqa: E501 + :type: LocationActivityDetails + """ + + self._monday = monday + + @property + def tuesday(self): + """Gets the tuesday of this LocationActivityDetailsMap. # noqa: E501 + + + :return: The tuesday of this LocationActivityDetailsMap. # noqa: E501 + :rtype: LocationActivityDetails + """ + return self._tuesday + + @tuesday.setter + def tuesday(self, tuesday): + """Sets the tuesday of this LocationActivityDetailsMap. + + + :param tuesday: The tuesday of this LocationActivityDetailsMap. # noqa: E501 + :type: LocationActivityDetails + """ + + self._tuesday = tuesday + + @property + def wednesday(self): + """Gets the wednesday of this LocationActivityDetailsMap. # noqa: E501 + + + :return: The wednesday of this LocationActivityDetailsMap. # noqa: E501 + :rtype: LocationActivityDetails + """ + return self._wednesday + + @wednesday.setter + def wednesday(self, wednesday): + """Sets the wednesday of this LocationActivityDetailsMap. + + + :param wednesday: The wednesday of this LocationActivityDetailsMap. # noqa: E501 + :type: LocationActivityDetails + """ + + self._wednesday = wednesday + + @property + def thursday(self): + """Gets the thursday of this LocationActivityDetailsMap. # noqa: E501 + + + :return: The thursday of this LocationActivityDetailsMap. # noqa: E501 + :rtype: LocationActivityDetails + """ + return self._thursday + + @thursday.setter + def thursday(self, thursday): + """Sets the thursday of this LocationActivityDetailsMap. + + + :param thursday: The thursday of this LocationActivityDetailsMap. # noqa: E501 + :type: LocationActivityDetails + """ + + self._thursday = thursday + + @property + def friday(self): + """Gets the friday of this LocationActivityDetailsMap. # noqa: E501 + + + :return: The friday of this LocationActivityDetailsMap. # noqa: E501 + :rtype: LocationActivityDetails + """ + return self._friday + + @friday.setter + def friday(self, friday): + """Sets the friday of this LocationActivityDetailsMap. + + + :param friday: The friday of this LocationActivityDetailsMap. # noqa: E501 + :type: LocationActivityDetails + """ + + self._friday = friday + + @property + def saturday(self): + """Gets the saturday of this LocationActivityDetailsMap. # noqa: E501 + + + :return: The saturday of this LocationActivityDetailsMap. # noqa: E501 + :rtype: LocationActivityDetails + """ + return self._saturday + + @saturday.setter + def saturday(self, saturday): + """Sets the saturday of this LocationActivityDetailsMap. + + + :param saturday: The saturday of this LocationActivityDetailsMap. # noqa: E501 + :type: LocationActivityDetails + """ + + self._saturday = saturday + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(LocationActivityDetailsMap, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, LocationActivityDetailsMap): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/location_added_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/location_added_event.py new file mode 100644 index 000000000..f29f7d5b8 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/location_added_event.py @@ -0,0 +1,189 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class LocationAddedEvent(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'event_timestamp': 'int', + 'customer_id': 'int', + 'payload': 'Location' + } + + attribute_map = { + 'model_type': 'model_type', + 'event_timestamp': 'eventTimestamp', + 'customer_id': 'customerId', + 'payload': 'payload' + } + + def __init__(self, model_type=None, event_timestamp=None, customer_id=None, payload=None): # noqa: E501 + """LocationAddedEvent - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._event_timestamp = None + self._customer_id = None + self._payload = None + self.discriminator = None + self.model_type = model_type + if event_timestamp is not None: + self.event_timestamp = event_timestamp + if customer_id is not None: + self.customer_id = customer_id + if payload is not None: + self.payload = payload + + @property + def model_type(self): + """Gets the model_type of this LocationAddedEvent. # noqa: E501 + + + :return: The model_type of this LocationAddedEvent. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this LocationAddedEvent. + + + :param model_type: The model_type of this LocationAddedEvent. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + + self._model_type = model_type + + @property + def event_timestamp(self): + """Gets the event_timestamp of this LocationAddedEvent. # noqa: E501 + + + :return: The event_timestamp of this LocationAddedEvent. # noqa: E501 + :rtype: int + """ + return self._event_timestamp + + @event_timestamp.setter + def event_timestamp(self, event_timestamp): + """Sets the event_timestamp of this LocationAddedEvent. + + + :param event_timestamp: The event_timestamp of this LocationAddedEvent. # noqa: E501 + :type: int + """ + + self._event_timestamp = event_timestamp + + @property + def customer_id(self): + """Gets the customer_id of this LocationAddedEvent. # noqa: E501 + + + :return: The customer_id of this LocationAddedEvent. # noqa: E501 + :rtype: int + """ + return self._customer_id + + @customer_id.setter + def customer_id(self, customer_id): + """Sets the customer_id of this LocationAddedEvent. + + + :param customer_id: The customer_id of this LocationAddedEvent. # noqa: E501 + :type: int + """ + + self._customer_id = customer_id + + @property + def payload(self): + """Gets the payload of this LocationAddedEvent. # noqa: E501 + + + :return: The payload of this LocationAddedEvent. # noqa: E501 + :rtype: Location + """ + return self._payload + + @payload.setter + def payload(self, payload): + """Sets the payload of this LocationAddedEvent. + + + :param payload: The payload of this LocationAddedEvent. # noqa: E501 + :type: Location + """ + + self._payload = payload + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(LocationAddedEvent, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, LocationAddedEvent): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/location_changed_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/location_changed_event.py new file mode 100644 index 000000000..79de3c1e7 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/location_changed_event.py @@ -0,0 +1,189 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class LocationChangedEvent(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'event_timestamp': 'int', + 'customer_id': 'int', + 'payload': 'Location' + } + + attribute_map = { + 'model_type': 'model_type', + 'event_timestamp': 'eventTimestamp', + 'customer_id': 'customerId', + 'payload': 'payload' + } + + def __init__(self, model_type=None, event_timestamp=None, customer_id=None, payload=None): # noqa: E501 + """LocationChangedEvent - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._event_timestamp = None + self._customer_id = None + self._payload = None + self.discriminator = None + self.model_type = model_type + if event_timestamp is not None: + self.event_timestamp = event_timestamp + if customer_id is not None: + self.customer_id = customer_id + if payload is not None: + self.payload = payload + + @property + def model_type(self): + """Gets the model_type of this LocationChangedEvent. # noqa: E501 + + + :return: The model_type of this LocationChangedEvent. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this LocationChangedEvent. + + + :param model_type: The model_type of this LocationChangedEvent. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + + self._model_type = model_type + + @property + def event_timestamp(self): + """Gets the event_timestamp of this LocationChangedEvent. # noqa: E501 + + + :return: The event_timestamp of this LocationChangedEvent. # noqa: E501 + :rtype: int + """ + return self._event_timestamp + + @event_timestamp.setter + def event_timestamp(self, event_timestamp): + """Sets the event_timestamp of this LocationChangedEvent. + + + :param event_timestamp: The event_timestamp of this LocationChangedEvent. # noqa: E501 + :type: int + """ + + self._event_timestamp = event_timestamp + + @property + def customer_id(self): + """Gets the customer_id of this LocationChangedEvent. # noqa: E501 + + + :return: The customer_id of this LocationChangedEvent. # noqa: E501 + :rtype: int + """ + return self._customer_id + + @customer_id.setter + def customer_id(self, customer_id): + """Sets the customer_id of this LocationChangedEvent. + + + :param customer_id: The customer_id of this LocationChangedEvent. # noqa: E501 + :type: int + """ + + self._customer_id = customer_id + + @property + def payload(self): + """Gets the payload of this LocationChangedEvent. # noqa: E501 + + + :return: The payload of this LocationChangedEvent. # noqa: E501 + :rtype: Location + """ + return self._payload + + @payload.setter + def payload(self, payload): + """Sets the payload of this LocationChangedEvent. + + + :param payload: The payload of this LocationChangedEvent. # noqa: E501 + :type: Location + """ + + self._payload = payload + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(LocationChangedEvent, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, LocationChangedEvent): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/location_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/location_details.py new file mode 100644 index 000000000..87ac56897 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/location_details.py @@ -0,0 +1,220 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class LocationDetails(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'country_code': 'CountryCode', + 'daily_activity_details': 'LocationActivityDetailsMap', + 'maintenance_window': 'DaysOfWeekTimeRangeSchedule', + 'rrm_enabled': 'bool' + } + + attribute_map = { + 'model_type': 'model_type', + 'country_code': 'countryCode', + 'daily_activity_details': 'dailyActivityDetails', + 'maintenance_window': 'maintenanceWindow', + 'rrm_enabled': 'rrmEnabled' + } + + def __init__(self, model_type=None, country_code=None, daily_activity_details=None, maintenance_window=None, rrm_enabled=None): # noqa: E501 + """LocationDetails - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._country_code = None + self._daily_activity_details = None + self._maintenance_window = None + self._rrm_enabled = None + self.discriminator = None + if model_type is not None: + self.model_type = model_type + if country_code is not None: + self.country_code = country_code + if daily_activity_details is not None: + self.daily_activity_details = daily_activity_details + if maintenance_window is not None: + self.maintenance_window = maintenance_window + if rrm_enabled is not None: + self.rrm_enabled = rrm_enabled + + @property + def model_type(self): + """Gets the model_type of this LocationDetails. # noqa: E501 + + + :return: The model_type of this LocationDetails. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this LocationDetails. + + + :param model_type: The model_type of this LocationDetails. # noqa: E501 + :type: str + """ + allowed_values = ["LocationDetails"] # noqa: E501 + if model_type not in allowed_values: + raise ValueError( + "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 + .format(model_type, allowed_values) + ) + + self._model_type = model_type + + @property + def country_code(self): + """Gets the country_code of this LocationDetails. # noqa: E501 + + + :return: The country_code of this LocationDetails. # noqa: E501 + :rtype: CountryCode + """ + return self._country_code + + @country_code.setter + def country_code(self, country_code): + """Sets the country_code of this LocationDetails. + + + :param country_code: The country_code of this LocationDetails. # noqa: E501 + :type: CountryCode + """ + + self._country_code = country_code + + @property + def daily_activity_details(self): + """Gets the daily_activity_details of this LocationDetails. # noqa: E501 + + + :return: The daily_activity_details of this LocationDetails. # noqa: E501 + :rtype: LocationActivityDetailsMap + """ + return self._daily_activity_details + + @daily_activity_details.setter + def daily_activity_details(self, daily_activity_details): + """Sets the daily_activity_details of this LocationDetails. + + + :param daily_activity_details: The daily_activity_details of this LocationDetails. # noqa: E501 + :type: LocationActivityDetailsMap + """ + + self._daily_activity_details = daily_activity_details + + @property + def maintenance_window(self): + """Gets the maintenance_window of this LocationDetails. # noqa: E501 + + + :return: The maintenance_window of this LocationDetails. # noqa: E501 + :rtype: DaysOfWeekTimeRangeSchedule + """ + return self._maintenance_window + + @maintenance_window.setter + def maintenance_window(self, maintenance_window): + """Sets the maintenance_window of this LocationDetails. + + + :param maintenance_window: The maintenance_window of this LocationDetails. # noqa: E501 + :type: DaysOfWeekTimeRangeSchedule + """ + + self._maintenance_window = maintenance_window + + @property + def rrm_enabled(self): + """Gets the rrm_enabled of this LocationDetails. # noqa: E501 + + + :return: The rrm_enabled of this LocationDetails. # noqa: E501 + :rtype: bool + """ + return self._rrm_enabled + + @rrm_enabled.setter + def rrm_enabled(self, rrm_enabled): + """Sets the rrm_enabled of this LocationDetails. + + + :param rrm_enabled: The rrm_enabled of this LocationDetails. # noqa: E501 + :type: bool + """ + + self._rrm_enabled = rrm_enabled + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(LocationDetails, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, LocationDetails): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/location_removed_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/location_removed_event.py new file mode 100644 index 000000000..b45e067af --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/location_removed_event.py @@ -0,0 +1,189 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class LocationRemovedEvent(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'event_timestamp': 'int', + 'customer_id': 'int', + 'payload': 'Location' + } + + attribute_map = { + 'model_type': 'model_type', + 'event_timestamp': 'eventTimestamp', + 'customer_id': 'customerId', + 'payload': 'payload' + } + + def __init__(self, model_type=None, event_timestamp=None, customer_id=None, payload=None): # noqa: E501 + """LocationRemovedEvent - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._event_timestamp = None + self._customer_id = None + self._payload = None + self.discriminator = None + self.model_type = model_type + if event_timestamp is not None: + self.event_timestamp = event_timestamp + if customer_id is not None: + self.customer_id = customer_id + if payload is not None: + self.payload = payload + + @property + def model_type(self): + """Gets the model_type of this LocationRemovedEvent. # noqa: E501 + + + :return: The model_type of this LocationRemovedEvent. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this LocationRemovedEvent. + + + :param model_type: The model_type of this LocationRemovedEvent. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + + self._model_type = model_type + + @property + def event_timestamp(self): + """Gets the event_timestamp of this LocationRemovedEvent. # noqa: E501 + + + :return: The event_timestamp of this LocationRemovedEvent. # noqa: E501 + :rtype: int + """ + return self._event_timestamp + + @event_timestamp.setter + def event_timestamp(self, event_timestamp): + """Sets the event_timestamp of this LocationRemovedEvent. + + + :param event_timestamp: The event_timestamp of this LocationRemovedEvent. # noqa: E501 + :type: int + """ + + self._event_timestamp = event_timestamp + + @property + def customer_id(self): + """Gets the customer_id of this LocationRemovedEvent. # noqa: E501 + + + :return: The customer_id of this LocationRemovedEvent. # noqa: E501 + :rtype: int + """ + return self._customer_id + + @customer_id.setter + def customer_id(self, customer_id): + """Sets the customer_id of this LocationRemovedEvent. + + + :param customer_id: The customer_id of this LocationRemovedEvent. # noqa: E501 + :type: int + """ + + self._customer_id = customer_id + + @property + def payload(self): + """Gets the payload of this LocationRemovedEvent. # noqa: E501 + + + :return: The payload of this LocationRemovedEvent. # noqa: E501 + :rtype: Location + """ + return self._payload + + @payload.setter + def payload(self, payload): + """Sets the payload of this LocationRemovedEvent. + + + :param payload: The payload of this LocationRemovedEvent. # noqa: E501 + :type: Location + """ + + self._payload = payload + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(LocationRemovedEvent, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, LocationRemovedEvent): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/long_per_radio_type_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/long_per_radio_type_map.py new file mode 100644 index 000000000..2e7ef5ca5 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/long_per_radio_type_map.py @@ -0,0 +1,188 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class LongPerRadioTypeMap(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'is5_g_hz': 'int', + 'is5_g_hz_u': 'int', + 'is5_g_hz_l': 'int', + 'is2dot4_g_hz': 'int' + } + + attribute_map = { + 'is5_g_hz': 'is5GHz', + 'is5_g_hz_u': 'is5GHzU', + 'is5_g_hz_l': 'is5GHzL', + 'is2dot4_g_hz': 'is2dot4GHz' + } + + def __init__(self, is5_g_hz=None, is5_g_hz_u=None, is5_g_hz_l=None, is2dot4_g_hz=None): # noqa: E501 + """LongPerRadioTypeMap - a model defined in Swagger""" # noqa: E501 + self._is5_g_hz = None + self._is5_g_hz_u = None + self._is5_g_hz_l = None + self._is2dot4_g_hz = None + self.discriminator = None + if is5_g_hz is not None: + self.is5_g_hz = is5_g_hz + if is5_g_hz_u is not None: + self.is5_g_hz_u = is5_g_hz_u + if is5_g_hz_l is not None: + self.is5_g_hz_l = is5_g_hz_l + if is2dot4_g_hz is not None: + self.is2dot4_g_hz = is2dot4_g_hz + + @property + def is5_g_hz(self): + """Gets the is5_g_hz of this LongPerRadioTypeMap. # noqa: E501 + + + :return: The is5_g_hz of this LongPerRadioTypeMap. # noqa: E501 + :rtype: int + """ + return self._is5_g_hz + + @is5_g_hz.setter + def is5_g_hz(self, is5_g_hz): + """Sets the is5_g_hz of this LongPerRadioTypeMap. + + + :param is5_g_hz: The is5_g_hz of this LongPerRadioTypeMap. # noqa: E501 + :type: int + """ + + self._is5_g_hz = is5_g_hz + + @property + def is5_g_hz_u(self): + """Gets the is5_g_hz_u of this LongPerRadioTypeMap. # noqa: E501 + + + :return: The is5_g_hz_u of this LongPerRadioTypeMap. # noqa: E501 + :rtype: int + """ + return self._is5_g_hz_u + + @is5_g_hz_u.setter + def is5_g_hz_u(self, is5_g_hz_u): + """Sets the is5_g_hz_u of this LongPerRadioTypeMap. + + + :param is5_g_hz_u: The is5_g_hz_u of this LongPerRadioTypeMap. # noqa: E501 + :type: int + """ + + self._is5_g_hz_u = is5_g_hz_u + + @property + def is5_g_hz_l(self): + """Gets the is5_g_hz_l of this LongPerRadioTypeMap. # noqa: E501 + + + :return: The is5_g_hz_l of this LongPerRadioTypeMap. # noqa: E501 + :rtype: int + """ + return self._is5_g_hz_l + + @is5_g_hz_l.setter + def is5_g_hz_l(self, is5_g_hz_l): + """Sets the is5_g_hz_l of this LongPerRadioTypeMap. + + + :param is5_g_hz_l: The is5_g_hz_l of this LongPerRadioTypeMap. # noqa: E501 + :type: int + """ + + self._is5_g_hz_l = is5_g_hz_l + + @property + def is2dot4_g_hz(self): + """Gets the is2dot4_g_hz of this LongPerRadioTypeMap. # noqa: E501 + + + :return: The is2dot4_g_hz of this LongPerRadioTypeMap. # noqa: E501 + :rtype: int + """ + return self._is2dot4_g_hz + + @is2dot4_g_hz.setter + def is2dot4_g_hz(self, is2dot4_g_hz): + """Sets the is2dot4_g_hz of this LongPerRadioTypeMap. + + + :param is2dot4_g_hz: The is2dot4_g_hz of this LongPerRadioTypeMap. # noqa: E501 + :type: int + """ + + self._is2dot4_g_hz = is2dot4_g_hz + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(LongPerRadioTypeMap, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, LongPerRadioTypeMap): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/long_value_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/long_value_map.py new file mode 100644 index 000000000..8045e3a28 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/long_value_map.py @@ -0,0 +1,89 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class LongValueMap(dict): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + if hasattr(dict, "swagger_types"): + swagger_types.update(dict.swagger_types) + + attribute_map = { + } + if hasattr(dict, "attribute_map"): + attribute_map.update(dict.attribute_map) + + def __init__(self, *args, **kwargs): # noqa: E501 + """LongValueMap - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + dict.__init__(self, *args, **kwargs) + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(LongValueMap, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, LongValueMap): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/mac_address.py b/libs/cloudapi/cloudsdk/swagger_client/models/mac_address.py new file mode 100644 index 000000000..b3e9b401e --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/mac_address.py @@ -0,0 +1,142 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class MacAddress(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'address_as_string': 'str' + } + + attribute_map = { + 'model_type': 'model_type', + 'address_as_string': 'addressAsString' + } + + def __init__(self, model_type=None, address_as_string=None): # noqa: E501 + """MacAddress - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._address_as_string = None + self.discriminator = None + if model_type is not None: + self.model_type = model_type + if address_as_string is not None: + self.address_as_string = address_as_string + + @property + def model_type(self): + """Gets the model_type of this MacAddress. # noqa: E501 + + + :return: The model_type of this MacAddress. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this MacAddress. + + + :param model_type: The model_type of this MacAddress. # noqa: E501 + :type: str + """ + allowed_values = ["MacAddress"] # noqa: E501 + if model_type not in allowed_values: + raise ValueError( + "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 + .format(model_type, allowed_values) + ) + + self._model_type = model_type + + @property + def address_as_string(self): + """Gets the address_as_string of this MacAddress. # noqa: E501 + + + :return: The address_as_string of this MacAddress. # noqa: E501 + :rtype: str + """ + return self._address_as_string + + @address_as_string.setter + def address_as_string(self, address_as_string): + """Sets the address_as_string of this MacAddress. + + + :param address_as_string: The address_as_string of this MacAddress. # noqa: E501 + :type: str + """ + + self._address_as_string = address_as_string + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(MacAddress, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, MacAddress): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/mac_allowlist_record.py b/libs/cloudapi/cloudsdk/swagger_client/models/mac_allowlist_record.py new file mode 100644 index 000000000..a3a5a230f --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/mac_allowlist_record.py @@ -0,0 +1,162 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class MacAllowlistRecord(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'mac_address': 'MacAddress', + 'notes': 'str', + 'last_modified_timestamp': 'int' + } + + attribute_map = { + 'mac_address': 'macAddress', + 'notes': 'notes', + 'last_modified_timestamp': 'lastModifiedTimestamp' + } + + def __init__(self, mac_address=None, notes=None, last_modified_timestamp=None): # noqa: E501 + """MacAllowlistRecord - a model defined in Swagger""" # noqa: E501 + self._mac_address = None + self._notes = None + self._last_modified_timestamp = None + self.discriminator = None + if mac_address is not None: + self.mac_address = mac_address + if notes is not None: + self.notes = notes + if last_modified_timestamp is not None: + self.last_modified_timestamp = last_modified_timestamp + + @property + def mac_address(self): + """Gets the mac_address of this MacAllowlistRecord. # noqa: E501 + + + :return: The mac_address of this MacAllowlistRecord. # noqa: E501 + :rtype: MacAddress + """ + return self._mac_address + + @mac_address.setter + def mac_address(self, mac_address): + """Sets the mac_address of this MacAllowlistRecord. + + + :param mac_address: The mac_address of this MacAllowlistRecord. # noqa: E501 + :type: MacAddress + """ + + self._mac_address = mac_address + + @property + def notes(self): + """Gets the notes of this MacAllowlistRecord. # noqa: E501 + + + :return: The notes of this MacAllowlistRecord. # noqa: E501 + :rtype: str + """ + return self._notes + + @notes.setter + def notes(self, notes): + """Sets the notes of this MacAllowlistRecord. + + + :param notes: The notes of this MacAllowlistRecord. # noqa: E501 + :type: str + """ + + self._notes = notes + + @property + def last_modified_timestamp(self): + """Gets the last_modified_timestamp of this MacAllowlistRecord. # noqa: E501 + + + :return: The last_modified_timestamp of this MacAllowlistRecord. # noqa: E501 + :rtype: int + """ + return self._last_modified_timestamp + + @last_modified_timestamp.setter + def last_modified_timestamp(self, last_modified_timestamp): + """Sets the last_modified_timestamp of this MacAllowlistRecord. + + + :param last_modified_timestamp: The last_modified_timestamp of this MacAllowlistRecord. # noqa: E501 + :type: int + """ + + self._last_modified_timestamp = last_modified_timestamp + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(MacAllowlistRecord, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, MacAllowlistRecord): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/managed_file_info.py b/libs/cloudapi/cloudsdk/swagger_client/models/managed_file_info.py new file mode 100644 index 000000000..207c1480a --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/managed_file_info.py @@ -0,0 +1,240 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ManagedFileInfo(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'md5checksum': 'list[int]', + 'last_modified_timestamp': 'int', + 'ap_export_url': 'str', + 'file_category': 'FileCategory', + 'file_type': 'FileType', + 'alt_slot': 'bool' + } + + attribute_map = { + 'md5checksum': 'md5checksum', + 'last_modified_timestamp': 'lastModifiedTimestamp', + 'ap_export_url': 'apExportUrl', + 'file_category': 'fileCategory', + 'file_type': 'fileType', + 'alt_slot': 'altSlot' + } + + def __init__(self, md5checksum=None, last_modified_timestamp=None, ap_export_url=None, file_category=None, file_type=None, alt_slot=None): # noqa: E501 + """ManagedFileInfo - a model defined in Swagger""" # noqa: E501 + self._md5checksum = None + self._last_modified_timestamp = None + self._ap_export_url = None + self._file_category = None + self._file_type = None + self._alt_slot = None + self.discriminator = None + if md5checksum is not None: + self.md5checksum = md5checksum + if last_modified_timestamp is not None: + self.last_modified_timestamp = last_modified_timestamp + if ap_export_url is not None: + self.ap_export_url = ap_export_url + if file_category is not None: + self.file_category = file_category + if file_type is not None: + self.file_type = file_type + if alt_slot is not None: + self.alt_slot = alt_slot + + @property + def md5checksum(self): + """Gets the md5checksum of this ManagedFileInfo. # noqa: E501 + + + :return: The md5checksum of this ManagedFileInfo. # noqa: E501 + :rtype: list[int] + """ + return self._md5checksum + + @md5checksum.setter + def md5checksum(self, md5checksum): + """Sets the md5checksum of this ManagedFileInfo. + + + :param md5checksum: The md5checksum of this ManagedFileInfo. # noqa: E501 + :type: list[int] + """ + + self._md5checksum = md5checksum + + @property + def last_modified_timestamp(self): + """Gets the last_modified_timestamp of this ManagedFileInfo. # noqa: E501 + + + :return: The last_modified_timestamp of this ManagedFileInfo. # noqa: E501 + :rtype: int + """ + return self._last_modified_timestamp + + @last_modified_timestamp.setter + def last_modified_timestamp(self, last_modified_timestamp): + """Sets the last_modified_timestamp of this ManagedFileInfo. + + + :param last_modified_timestamp: The last_modified_timestamp of this ManagedFileInfo. # noqa: E501 + :type: int + """ + + self._last_modified_timestamp = last_modified_timestamp + + @property + def ap_export_url(self): + """Gets the ap_export_url of this ManagedFileInfo. # noqa: E501 + + + :return: The ap_export_url of this ManagedFileInfo. # noqa: E501 + :rtype: str + """ + return self._ap_export_url + + @ap_export_url.setter + def ap_export_url(self, ap_export_url): + """Sets the ap_export_url of this ManagedFileInfo. + + + :param ap_export_url: The ap_export_url of this ManagedFileInfo. # noqa: E501 + :type: str + """ + + self._ap_export_url = ap_export_url + + @property + def file_category(self): + """Gets the file_category of this ManagedFileInfo. # noqa: E501 + + + :return: The file_category of this ManagedFileInfo. # noqa: E501 + :rtype: FileCategory + """ + return self._file_category + + @file_category.setter + def file_category(self, file_category): + """Sets the file_category of this ManagedFileInfo. + + + :param file_category: The file_category of this ManagedFileInfo. # noqa: E501 + :type: FileCategory + """ + + self._file_category = file_category + + @property + def file_type(self): + """Gets the file_type of this ManagedFileInfo. # noqa: E501 + + + :return: The file_type of this ManagedFileInfo. # noqa: E501 + :rtype: FileType + """ + return self._file_type + + @file_type.setter + def file_type(self, file_type): + """Sets the file_type of this ManagedFileInfo. + + + :param file_type: The file_type of this ManagedFileInfo. # noqa: E501 + :type: FileType + """ + + self._file_type = file_type + + @property + def alt_slot(self): + """Gets the alt_slot of this ManagedFileInfo. # noqa: E501 + + + :return: The alt_slot of this ManagedFileInfo. # noqa: E501 + :rtype: bool + """ + return self._alt_slot + + @alt_slot.setter + def alt_slot(self, alt_slot): + """Sets the alt_slot of this ManagedFileInfo. + + + :param alt_slot: The alt_slot of this ManagedFileInfo. # noqa: E501 + :type: bool + """ + + self._alt_slot = alt_slot + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ManagedFileInfo, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ManagedFileInfo): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/management_rate.py b/libs/cloudapi/cloudsdk/swagger_client/models/management_rate.py new file mode 100644 index 000000000..f3668a512 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/management_rate.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ManagementRate(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + AUTO = "auto" + RATE1MBPS = "rate1mbps" + RATE2MBPS = "rate2mbps" + RATE5DOT5MBPS = "rate5dot5mbps" + RATE6MBPS = "rate6mbps" + RATE9MBPS = "rate9mbps" + RATE11MBPS = "rate11mbps" + RATE12MBPS = "rate12mbps" + RATE18MBPS = "rate18mbps" + RATE24MBPS = "rate24mbps" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """ManagementRate - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ManagementRate, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ManagementRate): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/manufacturer_details_record.py b/libs/cloudapi/cloudsdk/swagger_client/models/manufacturer_details_record.py new file mode 100644 index 000000000..50e27d96a --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/manufacturer_details_record.py @@ -0,0 +1,216 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ManufacturerDetailsRecord(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'id': 'int', + 'manufacturer_name': 'str', + 'manufacturer_alias': 'str', + 'created_timestamp': 'int', + 'last_modified_timestamp': 'int' + } + + attribute_map = { + 'id': 'id', + 'manufacturer_name': 'manufacturerName', + 'manufacturer_alias': 'manufacturerAlias', + 'created_timestamp': 'createdTimestamp', + 'last_modified_timestamp': 'lastModifiedTimestamp' + } + + def __init__(self, id=None, manufacturer_name=None, manufacturer_alias=None, created_timestamp=None, last_modified_timestamp=None): # noqa: E501 + """ManufacturerDetailsRecord - a model defined in Swagger""" # noqa: E501 + self._id = None + self._manufacturer_name = None + self._manufacturer_alias = None + self._created_timestamp = None + self._last_modified_timestamp = None + self.discriminator = None + if id is not None: + self.id = id + if manufacturer_name is not None: + self.manufacturer_name = manufacturer_name + if manufacturer_alias is not None: + self.manufacturer_alias = manufacturer_alias + if created_timestamp is not None: + self.created_timestamp = created_timestamp + if last_modified_timestamp is not None: + self.last_modified_timestamp = last_modified_timestamp + + @property + def id(self): + """Gets the id of this ManufacturerDetailsRecord. # noqa: E501 + + + :return: The id of this ManufacturerDetailsRecord. # noqa: E501 + :rtype: int + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this ManufacturerDetailsRecord. + + + :param id: The id of this ManufacturerDetailsRecord. # noqa: E501 + :type: int + """ + + self._id = id + + @property + def manufacturer_name(self): + """Gets the manufacturer_name of this ManufacturerDetailsRecord. # noqa: E501 + + + :return: The manufacturer_name of this ManufacturerDetailsRecord. # noqa: E501 + :rtype: str + """ + return self._manufacturer_name + + @manufacturer_name.setter + def manufacturer_name(self, manufacturer_name): + """Sets the manufacturer_name of this ManufacturerDetailsRecord. + + + :param manufacturer_name: The manufacturer_name of this ManufacturerDetailsRecord. # noqa: E501 + :type: str + """ + + self._manufacturer_name = manufacturer_name + + @property + def manufacturer_alias(self): + """Gets the manufacturer_alias of this ManufacturerDetailsRecord. # noqa: E501 + + + :return: The manufacturer_alias of this ManufacturerDetailsRecord. # noqa: E501 + :rtype: str + """ + return self._manufacturer_alias + + @manufacturer_alias.setter + def manufacturer_alias(self, manufacturer_alias): + """Sets the manufacturer_alias of this ManufacturerDetailsRecord. + + + :param manufacturer_alias: The manufacturer_alias of this ManufacturerDetailsRecord. # noqa: E501 + :type: str + """ + + self._manufacturer_alias = manufacturer_alias + + @property + def created_timestamp(self): + """Gets the created_timestamp of this ManufacturerDetailsRecord. # noqa: E501 + + + :return: The created_timestamp of this ManufacturerDetailsRecord. # noqa: E501 + :rtype: int + """ + return self._created_timestamp + + @created_timestamp.setter + def created_timestamp(self, created_timestamp): + """Sets the created_timestamp of this ManufacturerDetailsRecord. + + + :param created_timestamp: The created_timestamp of this ManufacturerDetailsRecord. # noqa: E501 + :type: int + """ + + self._created_timestamp = created_timestamp + + @property + def last_modified_timestamp(self): + """Gets the last_modified_timestamp of this ManufacturerDetailsRecord. # noqa: E501 + + must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database # noqa: E501 + + :return: The last_modified_timestamp of this ManufacturerDetailsRecord. # noqa: E501 + :rtype: int + """ + return self._last_modified_timestamp + + @last_modified_timestamp.setter + def last_modified_timestamp(self, last_modified_timestamp): + """Sets the last_modified_timestamp of this ManufacturerDetailsRecord. + + must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database # noqa: E501 + + :param last_modified_timestamp: The last_modified_timestamp of this ManufacturerDetailsRecord. # noqa: E501 + :type: int + """ + + self._last_modified_timestamp = last_modified_timestamp + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ManufacturerDetailsRecord, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ManufacturerDetailsRecord): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/manufacturer_oui_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/manufacturer_oui_details.py new file mode 100644 index 000000000..9b3be110a --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/manufacturer_oui_details.py @@ -0,0 +1,164 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ManufacturerOuiDetails(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'oui': 'str', + 'manufacturer_name': 'str', + 'manufacturer_alias': 'str' + } + + attribute_map = { + 'oui': 'oui', + 'manufacturer_name': 'manufacturerName', + 'manufacturer_alias': 'manufacturerAlias' + } + + def __init__(self, oui=None, manufacturer_name=None, manufacturer_alias=None): # noqa: E501 + """ManufacturerOuiDetails - a model defined in Swagger""" # noqa: E501 + self._oui = None + self._manufacturer_name = None + self._manufacturer_alias = None + self.discriminator = None + if oui is not None: + self.oui = oui + if manufacturer_name is not None: + self.manufacturer_name = manufacturer_name + if manufacturer_alias is not None: + self.manufacturer_alias = manufacturer_alias + + @property + def oui(self): + """Gets the oui of this ManufacturerOuiDetails. # noqa: E501 + + first 3 bytes of MAC address, expressed as a string like '1a2b3c' # noqa: E501 + + :return: The oui of this ManufacturerOuiDetails. # noqa: E501 + :rtype: str + """ + return self._oui + + @oui.setter + def oui(self, oui): + """Sets the oui of this ManufacturerOuiDetails. + + first 3 bytes of MAC address, expressed as a string like '1a2b3c' # noqa: E501 + + :param oui: The oui of this ManufacturerOuiDetails. # noqa: E501 + :type: str + """ + + self._oui = oui + + @property + def manufacturer_name(self): + """Gets the manufacturer_name of this ManufacturerOuiDetails. # noqa: E501 + + + :return: The manufacturer_name of this ManufacturerOuiDetails. # noqa: E501 + :rtype: str + """ + return self._manufacturer_name + + @manufacturer_name.setter + def manufacturer_name(self, manufacturer_name): + """Sets the manufacturer_name of this ManufacturerOuiDetails. + + + :param manufacturer_name: The manufacturer_name of this ManufacturerOuiDetails. # noqa: E501 + :type: str + """ + + self._manufacturer_name = manufacturer_name + + @property + def manufacturer_alias(self): + """Gets the manufacturer_alias of this ManufacturerOuiDetails. # noqa: E501 + + + :return: The manufacturer_alias of this ManufacturerOuiDetails. # noqa: E501 + :rtype: str + """ + return self._manufacturer_alias + + @manufacturer_alias.setter + def manufacturer_alias(self, manufacturer_alias): + """Sets the manufacturer_alias of this ManufacturerOuiDetails. + + + :param manufacturer_alias: The manufacturer_alias of this ManufacturerOuiDetails. # noqa: E501 + :type: str + """ + + self._manufacturer_alias = manufacturer_alias + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ManufacturerOuiDetails, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ManufacturerOuiDetails): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/manufacturer_oui_details_per_oui_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/manufacturer_oui_details_per_oui_map.py new file mode 100644 index 000000000..e3b935bd9 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/manufacturer_oui_details_per_oui_map.py @@ -0,0 +1,89 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ManufacturerOuiDetailsPerOuiMap(dict): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + if hasattr(dict, "swagger_types"): + swagger_types.update(dict.swagger_types) + + attribute_map = { + } + if hasattr(dict, "attribute_map"): + attribute_map.update(dict.attribute_map) + + def __init__(self, *args, **kwargs): # noqa: E501 + """ManufacturerOuiDetailsPerOuiMap - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + dict.__init__(self, *args, **kwargs) + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ManufacturerOuiDetailsPerOuiMap, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ManufacturerOuiDetailsPerOuiMap): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/map_of_wmm_queue_stats_per_radio_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/map_of_wmm_queue_stats_per_radio_map.py new file mode 100644 index 000000000..1c0704c4d --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/map_of_wmm_queue_stats_per_radio_map.py @@ -0,0 +1,188 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class MapOfWmmQueueStatsPerRadioMap(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'is5_g_hz': 'WmmQueueStatsPerQueueTypeMap', + 'is5_g_hz_u': 'WmmQueueStatsPerQueueTypeMap', + 'is5_g_hz_l': 'WmmQueueStatsPerQueueTypeMap', + 'is2dot4_g_hz': 'WmmQueueStatsPerQueueTypeMap' + } + + attribute_map = { + 'is5_g_hz': 'is5GHz', + 'is5_g_hz_u': 'is5GHzU', + 'is5_g_hz_l': 'is5GHzL', + 'is2dot4_g_hz': 'is2dot4GHz' + } + + def __init__(self, is5_g_hz=None, is5_g_hz_u=None, is5_g_hz_l=None, is2dot4_g_hz=None): # noqa: E501 + """MapOfWmmQueueStatsPerRadioMap - a model defined in Swagger""" # noqa: E501 + self._is5_g_hz = None + self._is5_g_hz_u = None + self._is5_g_hz_l = None + self._is2dot4_g_hz = None + self.discriminator = None + if is5_g_hz is not None: + self.is5_g_hz = is5_g_hz + if is5_g_hz_u is not None: + self.is5_g_hz_u = is5_g_hz_u + if is5_g_hz_l is not None: + self.is5_g_hz_l = is5_g_hz_l + if is2dot4_g_hz is not None: + self.is2dot4_g_hz = is2dot4_g_hz + + @property + def is5_g_hz(self): + """Gets the is5_g_hz of this MapOfWmmQueueStatsPerRadioMap. # noqa: E501 + + + :return: The is5_g_hz of this MapOfWmmQueueStatsPerRadioMap. # noqa: E501 + :rtype: WmmQueueStatsPerQueueTypeMap + """ + return self._is5_g_hz + + @is5_g_hz.setter + def is5_g_hz(self, is5_g_hz): + """Sets the is5_g_hz of this MapOfWmmQueueStatsPerRadioMap. + + + :param is5_g_hz: The is5_g_hz of this MapOfWmmQueueStatsPerRadioMap. # noqa: E501 + :type: WmmQueueStatsPerQueueTypeMap + """ + + self._is5_g_hz = is5_g_hz + + @property + def is5_g_hz_u(self): + """Gets the is5_g_hz_u of this MapOfWmmQueueStatsPerRadioMap. # noqa: E501 + + + :return: The is5_g_hz_u of this MapOfWmmQueueStatsPerRadioMap. # noqa: E501 + :rtype: WmmQueueStatsPerQueueTypeMap + """ + return self._is5_g_hz_u + + @is5_g_hz_u.setter + def is5_g_hz_u(self, is5_g_hz_u): + """Sets the is5_g_hz_u of this MapOfWmmQueueStatsPerRadioMap. + + + :param is5_g_hz_u: The is5_g_hz_u of this MapOfWmmQueueStatsPerRadioMap. # noqa: E501 + :type: WmmQueueStatsPerQueueTypeMap + """ + + self._is5_g_hz_u = is5_g_hz_u + + @property + def is5_g_hz_l(self): + """Gets the is5_g_hz_l of this MapOfWmmQueueStatsPerRadioMap. # noqa: E501 + + + :return: The is5_g_hz_l of this MapOfWmmQueueStatsPerRadioMap. # noqa: E501 + :rtype: WmmQueueStatsPerQueueTypeMap + """ + return self._is5_g_hz_l + + @is5_g_hz_l.setter + def is5_g_hz_l(self, is5_g_hz_l): + """Sets the is5_g_hz_l of this MapOfWmmQueueStatsPerRadioMap. + + + :param is5_g_hz_l: The is5_g_hz_l of this MapOfWmmQueueStatsPerRadioMap. # noqa: E501 + :type: WmmQueueStatsPerQueueTypeMap + """ + + self._is5_g_hz_l = is5_g_hz_l + + @property + def is2dot4_g_hz(self): + """Gets the is2dot4_g_hz of this MapOfWmmQueueStatsPerRadioMap. # noqa: E501 + + + :return: The is2dot4_g_hz of this MapOfWmmQueueStatsPerRadioMap. # noqa: E501 + :rtype: WmmQueueStatsPerQueueTypeMap + """ + return self._is2dot4_g_hz + + @is2dot4_g_hz.setter + def is2dot4_g_hz(self, is2dot4_g_hz): + """Sets the is2dot4_g_hz of this MapOfWmmQueueStatsPerRadioMap. + + + :param is2dot4_g_hz: The is2dot4_g_hz of this MapOfWmmQueueStatsPerRadioMap. # noqa: E501 + :type: WmmQueueStatsPerQueueTypeMap + """ + + self._is2dot4_g_hz = is2dot4_g_hz + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(MapOfWmmQueueStatsPerRadioMap, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, MapOfWmmQueueStatsPerRadioMap): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/mcs_stats.py b/libs/cloudapi/cloudsdk/swagger_client/models/mcs_stats.py new file mode 100644 index 000000000..99c59985d --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/mcs_stats.py @@ -0,0 +1,192 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class McsStats(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'mcs_num': 'McsType', + 'tx_frames': 'int', + 'rx_frames': 'int', + 'rate': 'int' + } + + attribute_map = { + 'mcs_num': 'mcsNum', + 'tx_frames': 'txFrames', + 'rx_frames': 'rxFrames', + 'rate': 'rate' + } + + def __init__(self, mcs_num=None, tx_frames=None, rx_frames=None, rate=None): # noqa: E501 + """McsStats - a model defined in Swagger""" # noqa: E501 + self._mcs_num = None + self._tx_frames = None + self._rx_frames = None + self._rate = None + self.discriminator = None + if mcs_num is not None: + self.mcs_num = mcs_num + if tx_frames is not None: + self.tx_frames = tx_frames + if rx_frames is not None: + self.rx_frames = rx_frames + if rate is not None: + self.rate = rate + + @property + def mcs_num(self): + """Gets the mcs_num of this McsStats. # noqa: E501 + + + :return: The mcs_num of this McsStats. # noqa: E501 + :rtype: McsType + """ + return self._mcs_num + + @mcs_num.setter + def mcs_num(self, mcs_num): + """Sets the mcs_num of this McsStats. + + + :param mcs_num: The mcs_num of this McsStats. # noqa: E501 + :type: McsType + """ + + self._mcs_num = mcs_num + + @property + def tx_frames(self): + """Gets the tx_frames of this McsStats. # noqa: E501 + + The number of successfully transmitted frames at this rate. Do not count failed transmission. # noqa: E501 + + :return: The tx_frames of this McsStats. # noqa: E501 + :rtype: int + """ + return self._tx_frames + + @tx_frames.setter + def tx_frames(self, tx_frames): + """Sets the tx_frames of this McsStats. + + The number of successfully transmitted frames at this rate. Do not count failed transmission. # noqa: E501 + + :param tx_frames: The tx_frames of this McsStats. # noqa: E501 + :type: int + """ + + self._tx_frames = tx_frames + + @property + def rx_frames(self): + """Gets the rx_frames of this McsStats. # noqa: E501 + + The number of received frames at this rate. # noqa: E501 + + :return: The rx_frames of this McsStats. # noqa: E501 + :rtype: int + """ + return self._rx_frames + + @rx_frames.setter + def rx_frames(self, rx_frames): + """Sets the rx_frames of this McsStats. + + The number of received frames at this rate. # noqa: E501 + + :param rx_frames: The rx_frames of this McsStats. # noqa: E501 + :type: int + """ + + self._rx_frames = rx_frames + + @property + def rate(self): + """Gets the rate of this McsStats. # noqa: E501 + + + :return: The rate of this McsStats. # noqa: E501 + :rtype: int + """ + return self._rate + + @rate.setter + def rate(self, rate): + """Sets the rate of this McsStats. + + + :param rate: The rate of this McsStats. # noqa: E501 + :type: int + """ + + self._rate = rate + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(McsStats, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, McsStats): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/mcs_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/mcs_type.py new file mode 100644 index 000000000..00af7cadc --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/mcs_type.py @@ -0,0 +1,172 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class McsType(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + _1_2_4GHZ_ONLY = "MCS_1# 2.4GHz only" + _2_2_4GHZ_ONLY = "MCS_2# 2.4GHz only" + _5DOT5_2_4GHZ_ONLY = "MCS_5dot5# 2.4GHz only" + _11_2_4GHZ_ONLY = "MCS_11# 2.4GHz only" + _6 = "MCS_6" + _9 = "MCS_9" + _12 = "MCS_12" + _18 = "MCS_18" + _24 = "MCS_24" + _36 = "MCS_36" + _48 = "MCS_48" + _54 = "MCS_54" + N_0 = "MCS_N_0" + N_1 = "MCS_N_1" + N_2 = "MCS_N_2" + N_3 = "MCS_N_3" + N_4 = "MCS_N_4" + N_5 = "MCS_N_5" + N_6 = "MCS_N_6" + N_7 = "MCS_N_7" + N_8 = "MCS_N_8" + N_9 = "MCS_N_9" + N_10 = "MCS_N_10" + N_11 = "MCS_N_11" + N_12 = "MCS_N_12" + N_13 = "MCS_N_13" + N_14 = "MCS_N_14" + N_15 = "MCS_N_15" + AC_1X1_0 = "MCS_AC_1x1_0" + AC_1X1_1 = "MCS_AC_1x1_1" + AC_1X1_2 = "MCS_AC_1x1_2" + AC_1X1_3 = "MCS_AC_1x1_3" + AC_1X1_4 = "MCS_AC_1x1_4" + AC_1X1_5 = "MCS_AC_1x1_5" + AC_1X1_6 = "MCS_AC_1x1_6" + AC_1X1_7 = "MCS_AC_1x1_7" + AC_1X1_8 = "MCS_AC_1x1_8" + AC_1X1_9 = "MCS_AC_1x1_9" + AC_2X2_0 = "MCS_AC_2x2_0" + AC_2X2_1 = "MCS_AC_2x2_1" + AC_2X2_2 = "MCS_AC_2x2_2" + AC_2X2_3 = "MCS_AC_2x2_3" + AC_2X2_4 = "MCS_AC_2x2_4" + AC_2X2_5 = "MCS_AC_2x2_5" + AC_2X2_6 = "MCS_AC_2x2_6" + AC_2X2_7 = "MCS_AC_2x2_7" + AC_2X2_8 = "MCS_AC_2x2_8" + AC_2X2_9 = "MCS_AC_2x2_9" + AC_3X3_0 = "MCS_AC_3x3_0" + AC_3X3_1 = "MCS_AC_3x3_1" + AC_3X3_2 = "MCS_AC_3x3_2" + AC_3X3_3 = "MCS_AC_3x3_3" + AC_3X3_4 = "MCS_AC_3x3_4" + AC_3X3_5 = "MCS_AC_3x3_5" + AC_3X3_6 = "MCS_AC_3x3_6" + AC_3X3_7 = "MCS_AC_3x3_7" + AC_3X3_8 = "MCS_AC_3x3_8" + AC_3X3_9 = "MCS_AC_3x3_9" + N_16 = "MCS_N_16" + N_17 = "MCS_N_17" + N_18 = "MCS_N_18" + N_19 = "MCS_N_19" + N_20 = "MCS_N_20" + N_21 = "MCS_N_21" + N_22 = "MCS_N_22" + N_23 = "MCS_N_23" + N_24 = "MCS_N_24" + N_25 = "MCS_N_25" + N_26 = "MCS_N_26" + N_27 = "MCS_N_27" + N_28 = "MCS_N_28" + N_29 = "MCS_N_29" + N_30 = "MCS_N_30" + N_31 = "MCS_N_31" + AC_4X4_0 = "MCS_AC_4x4_0" + AC_4X4_1 = "MCS_AC_4x4_1" + AC_4X4_2 = "MCS_AC_4x4_2" + AC_4X4_3 = "MCS_AC_4x4_3" + AC_4X4_4 = "MCS_AC_4x4_4" + AC_4X4_5 = "MCS_AC_4x4_5" + AC_4X4_6 = "MCS_AC_4x4_6" + AC_4X4_7 = "MCS_AC_4x4_7" + AC_4X4_8 = "MCS_AC_4x4_8" + AC_4X4_9 = "MCS_AC_4x4_9" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """McsType - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(McsType, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, McsType): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/mesh_group.py b/libs/cloudapi/cloudsdk/swagger_client/models/mesh_group.py new file mode 100644 index 000000000..f231f57ad --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/mesh_group.py @@ -0,0 +1,174 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six +from swagger_client.models.profile_details import ProfileDetails # noqa: F401,E501 + +class MeshGroup(ProfileDetails): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + '_property': 'MeshGroupProperty', + 'members': 'list[MeshGroupMember]' + } + if hasattr(ProfileDetails, "swagger_types"): + swagger_types.update(ProfileDetails.swagger_types) + + attribute_map = { + 'model_type': 'model_type', + '_property': 'property', + 'members': 'members' + } + if hasattr(ProfileDetails, "attribute_map"): + attribute_map.update(ProfileDetails.attribute_map) + + def __init__(self, model_type=None, _property=None, members=None, *args, **kwargs): # noqa: E501 + """MeshGroup - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self.__property = None + self._members = None + self.discriminator = None + if model_type is not None: + self.model_type = model_type + if _property is not None: + self._property = _property + if members is not None: + self.members = members + ProfileDetails.__init__(self, *args, **kwargs) + + @property + def model_type(self): + """Gets the model_type of this MeshGroup. # noqa: E501 + + + :return: The model_type of this MeshGroup. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this MeshGroup. + + + :param model_type: The model_type of this MeshGroup. # noqa: E501 + :type: str + """ + allowed_values = ["MeshGroup"] # noqa: E501 + if model_type not in allowed_values: + raise ValueError( + "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 + .format(model_type, allowed_values) + ) + + self._model_type = model_type + + @property + def _property(self): + """Gets the _property of this MeshGroup. # noqa: E501 + + + :return: The _property of this MeshGroup. # noqa: E501 + :rtype: MeshGroupProperty + """ + return self.__property + + @_property.setter + def _property(self, _property): + """Sets the _property of this MeshGroup. + + + :param _property: The _property of this MeshGroup. # noqa: E501 + :type: MeshGroupProperty + """ + + self.__property = _property + + @property + def members(self): + """Gets the members of this MeshGroup. # noqa: E501 + + + :return: The members of this MeshGroup. # noqa: E501 + :rtype: list[MeshGroupMember] + """ + return self._members + + @members.setter + def members(self, members): + """Sets the members of this MeshGroup. + + + :param members: The members of this MeshGroup. # noqa: E501 + :type: list[MeshGroupMember] + """ + + self._members = members + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(MeshGroup, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, MeshGroup): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/mesh_group_member.py b/libs/cloudapi/cloudsdk/swagger_client/models/mesh_group_member.py new file mode 100644 index 000000000..526452805 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/mesh_group_member.py @@ -0,0 +1,188 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class MeshGroupMember(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'mash_mode': 'ApMeshMode', + 'equipment_id': 'int', + 'created_timestamp': 'int', + 'last_modified_timestamp': 'int' + } + + attribute_map = { + 'mash_mode': 'mashMode', + 'equipment_id': 'equipmentId', + 'created_timestamp': 'createdTimestamp', + 'last_modified_timestamp': 'lastModifiedTimestamp' + } + + def __init__(self, mash_mode=None, equipment_id=None, created_timestamp=None, last_modified_timestamp=None): # noqa: E501 + """MeshGroupMember - a model defined in Swagger""" # noqa: E501 + self._mash_mode = None + self._equipment_id = None + self._created_timestamp = None + self._last_modified_timestamp = None + self.discriminator = None + if mash_mode is not None: + self.mash_mode = mash_mode + if equipment_id is not None: + self.equipment_id = equipment_id + if created_timestamp is not None: + self.created_timestamp = created_timestamp + if last_modified_timestamp is not None: + self.last_modified_timestamp = last_modified_timestamp + + @property + def mash_mode(self): + """Gets the mash_mode of this MeshGroupMember. # noqa: E501 + + + :return: The mash_mode of this MeshGroupMember. # noqa: E501 + :rtype: ApMeshMode + """ + return self._mash_mode + + @mash_mode.setter + def mash_mode(self, mash_mode): + """Sets the mash_mode of this MeshGroupMember. + + + :param mash_mode: The mash_mode of this MeshGroupMember. # noqa: E501 + :type: ApMeshMode + """ + + self._mash_mode = mash_mode + + @property + def equipment_id(self): + """Gets the equipment_id of this MeshGroupMember. # noqa: E501 + + + :return: The equipment_id of this MeshGroupMember. # noqa: E501 + :rtype: int + """ + return self._equipment_id + + @equipment_id.setter + def equipment_id(self, equipment_id): + """Sets the equipment_id of this MeshGroupMember. + + + :param equipment_id: The equipment_id of this MeshGroupMember. # noqa: E501 + :type: int + """ + + self._equipment_id = equipment_id + + @property + def created_timestamp(self): + """Gets the created_timestamp of this MeshGroupMember. # noqa: E501 + + + :return: The created_timestamp of this MeshGroupMember. # noqa: E501 + :rtype: int + """ + return self._created_timestamp + + @created_timestamp.setter + def created_timestamp(self, created_timestamp): + """Sets the created_timestamp of this MeshGroupMember. + + + :param created_timestamp: The created_timestamp of this MeshGroupMember. # noqa: E501 + :type: int + """ + + self._created_timestamp = created_timestamp + + @property + def last_modified_timestamp(self): + """Gets the last_modified_timestamp of this MeshGroupMember. # noqa: E501 + + + :return: The last_modified_timestamp of this MeshGroupMember. # noqa: E501 + :rtype: int + """ + return self._last_modified_timestamp + + @last_modified_timestamp.setter + def last_modified_timestamp(self, last_modified_timestamp): + """Sets the last_modified_timestamp of this MeshGroupMember. + + + :param last_modified_timestamp: The last_modified_timestamp of this MeshGroupMember. # noqa: E501 + :type: int + """ + + self._last_modified_timestamp = last_modified_timestamp + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(MeshGroupMember, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, MeshGroupMember): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/mesh_group_property.py b/libs/cloudapi/cloudsdk/swagger_client/models/mesh_group_property.py new file mode 100644 index 000000000..553cf17ea --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/mesh_group_property.py @@ -0,0 +1,162 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class MeshGroupProperty(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'name': 'str', + 'location_id': 'int', + 'ethernet_protection': 'bool' + } + + attribute_map = { + 'name': 'name', + 'location_id': 'locationId', + 'ethernet_protection': 'ethernetProtection' + } + + def __init__(self, name=None, location_id=None, ethernet_protection=None): # noqa: E501 + """MeshGroupProperty - a model defined in Swagger""" # noqa: E501 + self._name = None + self._location_id = None + self._ethernet_protection = None + self.discriminator = None + if name is not None: + self.name = name + if location_id is not None: + self.location_id = location_id + if ethernet_protection is not None: + self.ethernet_protection = ethernet_protection + + @property + def name(self): + """Gets the name of this MeshGroupProperty. # noqa: E501 + + + :return: The name of this MeshGroupProperty. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this MeshGroupProperty. + + + :param name: The name of this MeshGroupProperty. # noqa: E501 + :type: str + """ + + self._name = name + + @property + def location_id(self): + """Gets the location_id of this MeshGroupProperty. # noqa: E501 + + + :return: The location_id of this MeshGroupProperty. # noqa: E501 + :rtype: int + """ + return self._location_id + + @location_id.setter + def location_id(self, location_id): + """Sets the location_id of this MeshGroupProperty. + + + :param location_id: The location_id of this MeshGroupProperty. # noqa: E501 + :type: int + """ + + self._location_id = location_id + + @property + def ethernet_protection(self): + """Gets the ethernet_protection of this MeshGroupProperty. # noqa: E501 + + + :return: The ethernet_protection of this MeshGroupProperty. # noqa: E501 + :rtype: bool + """ + return self._ethernet_protection + + @ethernet_protection.setter + def ethernet_protection(self, ethernet_protection): + """Sets the ethernet_protection of this MeshGroupProperty. + + + :param ethernet_protection: The ethernet_protection of this MeshGroupProperty. # noqa: E501 + :type: bool + """ + + self._ethernet_protection = ethernet_protection + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(MeshGroupProperty, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, MeshGroupProperty): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/metric_config_parameter_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/metric_config_parameter_map.py new file mode 100644 index 000000000..fc3bb61e7 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/metric_config_parameter_map.py @@ -0,0 +1,266 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class MetricConfigParameterMap(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'ap_node': 'ServiceMetricSurveyConfigParameters', + 'ap_ssid': 'ServiceMetricRadioConfigParameters', + 'client': 'ServiceMetricRadioConfigParameters', + 'channel': 'ServiceMetricSurveyConfigParameters', + 'neighbour': 'ServiceMetricSurveyConfigParameters', + 'qo_e': 'ServiceMetricConfigParameters', + 'client_qo_e': 'ServiceMetricConfigParameters' + } + + attribute_map = { + 'ap_node': 'ApNode', + 'ap_ssid': 'ApSsid', + 'client': 'Client', + 'channel': 'Channel', + 'neighbour': 'Neighbour', + 'qo_e': 'QoE', + 'client_qo_e': 'ClientQoE' + } + + def __init__(self, ap_node=None, ap_ssid=None, client=None, channel=None, neighbour=None, qo_e=None, client_qo_e=None): # noqa: E501 + """MetricConfigParameterMap - a model defined in Swagger""" # noqa: E501 + self._ap_node = None + self._ap_ssid = None + self._client = None + self._channel = None + self._neighbour = None + self._qo_e = None + self._client_qo_e = None + self.discriminator = None + if ap_node is not None: + self.ap_node = ap_node + if ap_ssid is not None: + self.ap_ssid = ap_ssid + if client is not None: + self.client = client + if channel is not None: + self.channel = channel + if neighbour is not None: + self.neighbour = neighbour + if qo_e is not None: + self.qo_e = qo_e + if client_qo_e is not None: + self.client_qo_e = client_qo_e + + @property + def ap_node(self): + """Gets the ap_node of this MetricConfigParameterMap. # noqa: E501 + + + :return: The ap_node of this MetricConfigParameterMap. # noqa: E501 + :rtype: ServiceMetricSurveyConfigParameters + """ + return self._ap_node + + @ap_node.setter + def ap_node(self, ap_node): + """Sets the ap_node of this MetricConfigParameterMap. + + + :param ap_node: The ap_node of this MetricConfigParameterMap. # noqa: E501 + :type: ServiceMetricSurveyConfigParameters + """ + + self._ap_node = ap_node + + @property + def ap_ssid(self): + """Gets the ap_ssid of this MetricConfigParameterMap. # noqa: E501 + + + :return: The ap_ssid of this MetricConfigParameterMap. # noqa: E501 + :rtype: ServiceMetricRadioConfigParameters + """ + return self._ap_ssid + + @ap_ssid.setter + def ap_ssid(self, ap_ssid): + """Sets the ap_ssid of this MetricConfigParameterMap. + + + :param ap_ssid: The ap_ssid of this MetricConfigParameterMap. # noqa: E501 + :type: ServiceMetricRadioConfigParameters + """ + + self._ap_ssid = ap_ssid + + @property + def client(self): + """Gets the client of this MetricConfigParameterMap. # noqa: E501 + + + :return: The client of this MetricConfigParameterMap. # noqa: E501 + :rtype: ServiceMetricRadioConfigParameters + """ + return self._client + + @client.setter + def client(self, client): + """Sets the client of this MetricConfigParameterMap. + + + :param client: The client of this MetricConfigParameterMap. # noqa: E501 + :type: ServiceMetricRadioConfigParameters + """ + + self._client = client + + @property + def channel(self): + """Gets the channel of this MetricConfigParameterMap. # noqa: E501 + + + :return: The channel of this MetricConfigParameterMap. # noqa: E501 + :rtype: ServiceMetricSurveyConfigParameters + """ + return self._channel + + @channel.setter + def channel(self, channel): + """Sets the channel of this MetricConfigParameterMap. + + + :param channel: The channel of this MetricConfigParameterMap. # noqa: E501 + :type: ServiceMetricSurveyConfigParameters + """ + + self._channel = channel + + @property + def neighbour(self): + """Gets the neighbour of this MetricConfigParameterMap. # noqa: E501 + + + :return: The neighbour of this MetricConfigParameterMap. # noqa: E501 + :rtype: ServiceMetricSurveyConfigParameters + """ + return self._neighbour + + @neighbour.setter + def neighbour(self, neighbour): + """Sets the neighbour of this MetricConfigParameterMap. + + + :param neighbour: The neighbour of this MetricConfigParameterMap. # noqa: E501 + :type: ServiceMetricSurveyConfigParameters + """ + + self._neighbour = neighbour + + @property + def qo_e(self): + """Gets the qo_e of this MetricConfigParameterMap. # noqa: E501 + + + :return: The qo_e of this MetricConfigParameterMap. # noqa: E501 + :rtype: ServiceMetricConfigParameters + """ + return self._qo_e + + @qo_e.setter + def qo_e(self, qo_e): + """Sets the qo_e of this MetricConfigParameterMap. + + + :param qo_e: The qo_e of this MetricConfigParameterMap. # noqa: E501 + :type: ServiceMetricConfigParameters + """ + + self._qo_e = qo_e + + @property + def client_qo_e(self): + """Gets the client_qo_e of this MetricConfigParameterMap. # noqa: E501 + + + :return: The client_qo_e of this MetricConfigParameterMap. # noqa: E501 + :rtype: ServiceMetricConfigParameters + """ + return self._client_qo_e + + @client_qo_e.setter + def client_qo_e(self, client_qo_e): + """Sets the client_qo_e of this MetricConfigParameterMap. + + + :param client_qo_e: The client_qo_e of this MetricConfigParameterMap. # noqa: E501 + :type: ServiceMetricConfigParameters + """ + + self._client_qo_e = client_qo_e + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(MetricConfigParameterMap, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, MetricConfigParameterMap): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/mimo_mode.py b/libs/cloudapi/cloudsdk/swagger_client/models/mimo_mode.py new file mode 100644 index 000000000..619d0369b --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/mimo_mode.py @@ -0,0 +1,93 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class MimoMode(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + NONE = "none" + ONEBYONE = "oneByOne" + TWOBYTWO = "twoByTwo" + THREEBYTHREE = "threeByThree" + FOURBYFOUR = "fourByFour" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """MimoMode - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(MimoMode, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, MimoMode): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/min_max_avg_value_int.py b/libs/cloudapi/cloudsdk/swagger_client/models/min_max_avg_value_int.py new file mode 100644 index 000000000..7e08ec9a6 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/min_max_avg_value_int.py @@ -0,0 +1,162 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class MinMaxAvgValueInt(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'min_value': 'int', + 'max_value': 'int', + 'avg_value': 'int' + } + + attribute_map = { + 'min_value': 'minValue', + 'max_value': 'maxValue', + 'avg_value': 'avgValue' + } + + def __init__(self, min_value=None, max_value=None, avg_value=None): # noqa: E501 + """MinMaxAvgValueInt - a model defined in Swagger""" # noqa: E501 + self._min_value = None + self._max_value = None + self._avg_value = None + self.discriminator = None + if min_value is not None: + self.min_value = min_value + if max_value is not None: + self.max_value = max_value + if avg_value is not None: + self.avg_value = avg_value + + @property + def min_value(self): + """Gets the min_value of this MinMaxAvgValueInt. # noqa: E501 + + + :return: The min_value of this MinMaxAvgValueInt. # noqa: E501 + :rtype: int + """ + return self._min_value + + @min_value.setter + def min_value(self, min_value): + """Sets the min_value of this MinMaxAvgValueInt. + + + :param min_value: The min_value of this MinMaxAvgValueInt. # noqa: E501 + :type: int + """ + + self._min_value = min_value + + @property + def max_value(self): + """Gets the max_value of this MinMaxAvgValueInt. # noqa: E501 + + + :return: The max_value of this MinMaxAvgValueInt. # noqa: E501 + :rtype: int + """ + return self._max_value + + @max_value.setter + def max_value(self, max_value): + """Sets the max_value of this MinMaxAvgValueInt. + + + :param max_value: The max_value of this MinMaxAvgValueInt. # noqa: E501 + :type: int + """ + + self._max_value = max_value + + @property + def avg_value(self): + """Gets the avg_value of this MinMaxAvgValueInt. # noqa: E501 + + + :return: The avg_value of this MinMaxAvgValueInt. # noqa: E501 + :rtype: int + """ + return self._avg_value + + @avg_value.setter + def avg_value(self, avg_value): + """Sets the avg_value of this MinMaxAvgValueInt. + + + :param avg_value: The avg_value of this MinMaxAvgValueInt. # noqa: E501 + :type: int + """ + + self._avg_value = avg_value + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(MinMaxAvgValueInt, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, MinMaxAvgValueInt): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/min_max_avg_value_int_per_radio_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/min_max_avg_value_int_per_radio_map.py new file mode 100644 index 000000000..3e04b9664 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/min_max_avg_value_int_per_radio_map.py @@ -0,0 +1,188 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class MinMaxAvgValueIntPerRadioMap(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'is5_g_hz': 'MinMaxAvgValueInt', + 'is5_g_hz_u': 'MinMaxAvgValueInt', + 'is5_g_hz_l': 'MinMaxAvgValueInt', + 'is2dot4_g_hz': 'MinMaxAvgValueInt' + } + + attribute_map = { + 'is5_g_hz': 'is5GHz', + 'is5_g_hz_u': 'is5GHzU', + 'is5_g_hz_l': 'is5GHzL', + 'is2dot4_g_hz': 'is2dot4GHz' + } + + def __init__(self, is5_g_hz=None, is5_g_hz_u=None, is5_g_hz_l=None, is2dot4_g_hz=None): # noqa: E501 + """MinMaxAvgValueIntPerRadioMap - a model defined in Swagger""" # noqa: E501 + self._is5_g_hz = None + self._is5_g_hz_u = None + self._is5_g_hz_l = None + self._is2dot4_g_hz = None + self.discriminator = None + if is5_g_hz is not None: + self.is5_g_hz = is5_g_hz + if is5_g_hz_u is not None: + self.is5_g_hz_u = is5_g_hz_u + if is5_g_hz_l is not None: + self.is5_g_hz_l = is5_g_hz_l + if is2dot4_g_hz is not None: + self.is2dot4_g_hz = is2dot4_g_hz + + @property + def is5_g_hz(self): + """Gets the is5_g_hz of this MinMaxAvgValueIntPerRadioMap. # noqa: E501 + + + :return: The is5_g_hz of this MinMaxAvgValueIntPerRadioMap. # noqa: E501 + :rtype: MinMaxAvgValueInt + """ + return self._is5_g_hz + + @is5_g_hz.setter + def is5_g_hz(self, is5_g_hz): + """Sets the is5_g_hz of this MinMaxAvgValueIntPerRadioMap. + + + :param is5_g_hz: The is5_g_hz of this MinMaxAvgValueIntPerRadioMap. # noqa: E501 + :type: MinMaxAvgValueInt + """ + + self._is5_g_hz = is5_g_hz + + @property + def is5_g_hz_u(self): + """Gets the is5_g_hz_u of this MinMaxAvgValueIntPerRadioMap. # noqa: E501 + + + :return: The is5_g_hz_u of this MinMaxAvgValueIntPerRadioMap. # noqa: E501 + :rtype: MinMaxAvgValueInt + """ + return self._is5_g_hz_u + + @is5_g_hz_u.setter + def is5_g_hz_u(self, is5_g_hz_u): + """Sets the is5_g_hz_u of this MinMaxAvgValueIntPerRadioMap. + + + :param is5_g_hz_u: The is5_g_hz_u of this MinMaxAvgValueIntPerRadioMap. # noqa: E501 + :type: MinMaxAvgValueInt + """ + + self._is5_g_hz_u = is5_g_hz_u + + @property + def is5_g_hz_l(self): + """Gets the is5_g_hz_l of this MinMaxAvgValueIntPerRadioMap. # noqa: E501 + + + :return: The is5_g_hz_l of this MinMaxAvgValueIntPerRadioMap. # noqa: E501 + :rtype: MinMaxAvgValueInt + """ + return self._is5_g_hz_l + + @is5_g_hz_l.setter + def is5_g_hz_l(self, is5_g_hz_l): + """Sets the is5_g_hz_l of this MinMaxAvgValueIntPerRadioMap. + + + :param is5_g_hz_l: The is5_g_hz_l of this MinMaxAvgValueIntPerRadioMap. # noqa: E501 + :type: MinMaxAvgValueInt + """ + + self._is5_g_hz_l = is5_g_hz_l + + @property + def is2dot4_g_hz(self): + """Gets the is2dot4_g_hz of this MinMaxAvgValueIntPerRadioMap. # noqa: E501 + + + :return: The is2dot4_g_hz of this MinMaxAvgValueIntPerRadioMap. # noqa: E501 + :rtype: MinMaxAvgValueInt + """ + return self._is2dot4_g_hz + + @is2dot4_g_hz.setter + def is2dot4_g_hz(self, is2dot4_g_hz): + """Sets the is2dot4_g_hz of this MinMaxAvgValueIntPerRadioMap. + + + :param is2dot4_g_hz: The is2dot4_g_hz of this MinMaxAvgValueIntPerRadioMap. # noqa: E501 + :type: MinMaxAvgValueInt + """ + + self._is2dot4_g_hz = is2dot4_g_hz + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(MinMaxAvgValueIntPerRadioMap, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, MinMaxAvgValueIntPerRadioMap): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/multicast_rate.py b/libs/cloudapi/cloudsdk/swagger_client/models/multicast_rate.py new file mode 100644 index 000000000..5e6928203 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/multicast_rate.py @@ -0,0 +1,97 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class MulticastRate(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + AUTO = "auto" + RATE6MBPS = "rate6mbps" + RATE9MBPS = "rate9mbps" + RATE12MBPS = "rate12mbps" + RATE18MBPS = "rate18mbps" + RATE24MBPS = "rate24mbps" + RATE36MBPS = "rate36mbps" + RATE48MBPS = "rate48mbps" + RATE54MBPS = "rate54mbps" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """MulticastRate - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(MulticastRate, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, MulticastRate): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/neighbor_scan_packet_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/neighbor_scan_packet_type.py new file mode 100644 index 000000000..9e69a68ae --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/neighbor_scan_packet_type.py @@ -0,0 +1,101 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class NeighborScanPacketType(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + ASSOC_REQ = "ASSOC_REQ" + ASSOC_RESP = "ASSOC_RESP" + REASSOC_REQ = "REASSOC_REQ" + REASSOC_RESP = "REASSOC_RESP" + PROBE_REQ = "PROBE_REQ" + PROBE_RESP = "PROBE_RESP" + BEACON = "BEACON" + DISASSOC = "DISASSOC" + AUTH = "AUTH" + DEAUTH = "DEAUTH" + ACTION = "ACTION" + ACTION_NOACK = "ACTION_NOACK" + DATA_OTHER = "DATA -OTHER" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """NeighborScanPacketType - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(NeighborScanPacketType, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, NeighborScanPacketType): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/neighbour_report.py b/libs/cloudapi/cloudsdk/swagger_client/models/neighbour_report.py new file mode 100644 index 000000000..83949c408 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/neighbour_report.py @@ -0,0 +1,500 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class NeighbourReport(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'mac_address': 'MacAddress', + 'ssid': 'str', + 'beacon_interval': 'int', + 'network_type': 'NetworkType', + 'privacy': 'bool', + 'radio_type_radio_type': 'RadioType', + 'channel': 'int', + 'rate': 'int', + 'rssi': 'int', + 'signal': 'int', + 'scan_time_in_seconds': 'int', + 'n_mode': 'bool', + 'ac_mode': 'bool', + 'b_mode': 'bool', + 'packet_type': 'NeighborScanPacketType', + 'secure_mode': 'DetectedAuthMode' + } + + attribute_map = { + 'mac_address': 'macAddress', + 'ssid': 'ssid', + 'beacon_interval': 'beaconInterval', + 'network_type': 'networkType', + 'privacy': 'privacy', + 'radio_type_radio_type': 'RadioType radioType', + 'channel': 'channel', + 'rate': 'rate', + 'rssi': 'rssi', + 'signal': 'signal', + 'scan_time_in_seconds': 'scanTimeInSeconds', + 'n_mode': 'nMode', + 'ac_mode': 'acMode', + 'b_mode': 'bMode', + 'packet_type': 'packetType', + 'secure_mode': 'secureMode' + } + + def __init__(self, mac_address=None, ssid=None, beacon_interval=None, network_type=None, privacy=None, radio_type_radio_type=None, channel=None, rate=None, rssi=None, signal=None, scan_time_in_seconds=None, n_mode=None, ac_mode=None, b_mode=None, packet_type=None, secure_mode=None): # noqa: E501 + """NeighbourReport - a model defined in Swagger""" # noqa: E501 + self._mac_address = None + self._ssid = None + self._beacon_interval = None + self._network_type = None + self._privacy = None + self._radio_type_radio_type = None + self._channel = None + self._rate = None + self._rssi = None + self._signal = None + self._scan_time_in_seconds = None + self._n_mode = None + self._ac_mode = None + self._b_mode = None + self._packet_type = None + self._secure_mode = None + self.discriminator = None + if mac_address is not None: + self.mac_address = mac_address + if ssid is not None: + self.ssid = ssid + if beacon_interval is not None: + self.beacon_interval = beacon_interval + if network_type is not None: + self.network_type = network_type + if privacy is not None: + self.privacy = privacy + if radio_type_radio_type is not None: + self.radio_type_radio_type = radio_type_radio_type + if channel is not None: + self.channel = channel + if rate is not None: + self.rate = rate + if rssi is not None: + self.rssi = rssi + if signal is not None: + self.signal = signal + if scan_time_in_seconds is not None: + self.scan_time_in_seconds = scan_time_in_seconds + if n_mode is not None: + self.n_mode = n_mode + if ac_mode is not None: + self.ac_mode = ac_mode + if b_mode is not None: + self.b_mode = b_mode + if packet_type is not None: + self.packet_type = packet_type + if secure_mode is not None: + self.secure_mode = secure_mode + + @property + def mac_address(self): + """Gets the mac_address of this NeighbourReport. # noqa: E501 + + + :return: The mac_address of this NeighbourReport. # noqa: E501 + :rtype: MacAddress + """ + return self._mac_address + + @mac_address.setter + def mac_address(self, mac_address): + """Sets the mac_address of this NeighbourReport. + + + :param mac_address: The mac_address of this NeighbourReport. # noqa: E501 + :type: MacAddress + """ + + self._mac_address = mac_address + + @property + def ssid(self): + """Gets the ssid of this NeighbourReport. # noqa: E501 + + + :return: The ssid of this NeighbourReport. # noqa: E501 + :rtype: str + """ + return self._ssid + + @ssid.setter + def ssid(self, ssid): + """Sets the ssid of this NeighbourReport. + + + :param ssid: The ssid of this NeighbourReport. # noqa: E501 + :type: str + """ + + self._ssid = ssid + + @property + def beacon_interval(self): + """Gets the beacon_interval of this NeighbourReport. # noqa: E501 + + + :return: The beacon_interval of this NeighbourReport. # noqa: E501 + :rtype: int + """ + return self._beacon_interval + + @beacon_interval.setter + def beacon_interval(self, beacon_interval): + """Sets the beacon_interval of this NeighbourReport. + + + :param beacon_interval: The beacon_interval of this NeighbourReport. # noqa: E501 + :type: int + """ + + self._beacon_interval = beacon_interval + + @property + def network_type(self): + """Gets the network_type of this NeighbourReport. # noqa: E501 + + + :return: The network_type of this NeighbourReport. # noqa: E501 + :rtype: NetworkType + """ + return self._network_type + + @network_type.setter + def network_type(self, network_type): + """Sets the network_type of this NeighbourReport. + + + :param network_type: The network_type of this NeighbourReport. # noqa: E501 + :type: NetworkType + """ + + self._network_type = network_type + + @property + def privacy(self): + """Gets the privacy of this NeighbourReport. # noqa: E501 + + + :return: The privacy of this NeighbourReport. # noqa: E501 + :rtype: bool + """ + return self._privacy + + @privacy.setter + def privacy(self, privacy): + """Sets the privacy of this NeighbourReport. + + + :param privacy: The privacy of this NeighbourReport. # noqa: E501 + :type: bool + """ + + self._privacy = privacy + + @property + def radio_type_radio_type(self): + """Gets the radio_type_radio_type of this NeighbourReport. # noqa: E501 + + + :return: The radio_type_radio_type of this NeighbourReport. # noqa: E501 + :rtype: RadioType + """ + return self._radio_type_radio_type + + @radio_type_radio_type.setter + def radio_type_radio_type(self, radio_type_radio_type): + """Sets the radio_type_radio_type of this NeighbourReport. + + + :param radio_type_radio_type: The radio_type_radio_type of this NeighbourReport. # noqa: E501 + :type: RadioType + """ + + self._radio_type_radio_type = radio_type_radio_type + + @property + def channel(self): + """Gets the channel of this NeighbourReport. # noqa: E501 + + + :return: The channel of this NeighbourReport. # noqa: E501 + :rtype: int + """ + return self._channel + + @channel.setter + def channel(self, channel): + """Sets the channel of this NeighbourReport. + + + :param channel: The channel of this NeighbourReport. # noqa: E501 + :type: int + """ + + self._channel = channel + + @property + def rate(self): + """Gets the rate of this NeighbourReport. # noqa: E501 + + + :return: The rate of this NeighbourReport. # noqa: E501 + :rtype: int + """ + return self._rate + + @rate.setter + def rate(self, rate): + """Sets the rate of this NeighbourReport. + + + :param rate: The rate of this NeighbourReport. # noqa: E501 + :type: int + """ + + self._rate = rate + + @property + def rssi(self): + """Gets the rssi of this NeighbourReport. # noqa: E501 + + + :return: The rssi of this NeighbourReport. # noqa: E501 + :rtype: int + """ + return self._rssi + + @rssi.setter + def rssi(self, rssi): + """Sets the rssi of this NeighbourReport. + + + :param rssi: The rssi of this NeighbourReport. # noqa: E501 + :type: int + """ + + self._rssi = rssi + + @property + def signal(self): + """Gets the signal of this NeighbourReport. # noqa: E501 + + + :return: The signal of this NeighbourReport. # noqa: E501 + :rtype: int + """ + return self._signal + + @signal.setter + def signal(self, signal): + """Sets the signal of this NeighbourReport. + + + :param signal: The signal of this NeighbourReport. # noqa: E501 + :type: int + """ + + self._signal = signal + + @property + def scan_time_in_seconds(self): + """Gets the scan_time_in_seconds of this NeighbourReport. # noqa: E501 + + + :return: The scan_time_in_seconds of this NeighbourReport. # noqa: E501 + :rtype: int + """ + return self._scan_time_in_seconds + + @scan_time_in_seconds.setter + def scan_time_in_seconds(self, scan_time_in_seconds): + """Sets the scan_time_in_seconds of this NeighbourReport. + + + :param scan_time_in_seconds: The scan_time_in_seconds of this NeighbourReport. # noqa: E501 + :type: int + """ + + self._scan_time_in_seconds = scan_time_in_seconds + + @property + def n_mode(self): + """Gets the n_mode of this NeighbourReport. # noqa: E501 + + + :return: The n_mode of this NeighbourReport. # noqa: E501 + :rtype: bool + """ + return self._n_mode + + @n_mode.setter + def n_mode(self, n_mode): + """Sets the n_mode of this NeighbourReport. + + + :param n_mode: The n_mode of this NeighbourReport. # noqa: E501 + :type: bool + """ + + self._n_mode = n_mode + + @property + def ac_mode(self): + """Gets the ac_mode of this NeighbourReport. # noqa: E501 + + + :return: The ac_mode of this NeighbourReport. # noqa: E501 + :rtype: bool + """ + return self._ac_mode + + @ac_mode.setter + def ac_mode(self, ac_mode): + """Sets the ac_mode of this NeighbourReport. + + + :param ac_mode: The ac_mode of this NeighbourReport. # noqa: E501 + :type: bool + """ + + self._ac_mode = ac_mode + + @property + def b_mode(self): + """Gets the b_mode of this NeighbourReport. # noqa: E501 + + + :return: The b_mode of this NeighbourReport. # noqa: E501 + :rtype: bool + """ + return self._b_mode + + @b_mode.setter + def b_mode(self, b_mode): + """Sets the b_mode of this NeighbourReport. + + + :param b_mode: The b_mode of this NeighbourReport. # noqa: E501 + :type: bool + """ + + self._b_mode = b_mode + + @property + def packet_type(self): + """Gets the packet_type of this NeighbourReport. # noqa: E501 + + + :return: The packet_type of this NeighbourReport. # noqa: E501 + :rtype: NeighborScanPacketType + """ + return self._packet_type + + @packet_type.setter + def packet_type(self, packet_type): + """Sets the packet_type of this NeighbourReport. + + + :param packet_type: The packet_type of this NeighbourReport. # noqa: E501 + :type: NeighborScanPacketType + """ + + self._packet_type = packet_type + + @property + def secure_mode(self): + """Gets the secure_mode of this NeighbourReport. # noqa: E501 + + + :return: The secure_mode of this NeighbourReport. # noqa: E501 + :rtype: DetectedAuthMode + """ + return self._secure_mode + + @secure_mode.setter + def secure_mode(self, secure_mode): + """Sets the secure_mode of this NeighbourReport. + + + :param secure_mode: The secure_mode of this NeighbourReport. # noqa: E501 + :type: DetectedAuthMode + """ + + self._secure_mode = secure_mode + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(NeighbourReport, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, NeighbourReport): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/neighbour_scan_reports.py b/libs/cloudapi/cloudsdk/swagger_client/models/neighbour_scan_reports.py new file mode 100644 index 000000000..d5ced4a87 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/neighbour_scan_reports.py @@ -0,0 +1,137 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class NeighbourScanReports(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'neighbour_reports': 'list[NeighbourReport]' + } + + attribute_map = { + 'model_type': 'model_type', + 'neighbour_reports': 'neighbourReports' + } + + def __init__(self, model_type=None, neighbour_reports=None): # noqa: E501 + """NeighbourScanReports - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._neighbour_reports = None + self.discriminator = None + self.model_type = model_type + if neighbour_reports is not None: + self.neighbour_reports = neighbour_reports + + @property + def model_type(self): + """Gets the model_type of this NeighbourScanReports. # noqa: E501 + + + :return: The model_type of this NeighbourScanReports. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this NeighbourScanReports. + + + :param model_type: The model_type of this NeighbourScanReports. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + + self._model_type = model_type + + @property + def neighbour_reports(self): + """Gets the neighbour_reports of this NeighbourScanReports. # noqa: E501 + + + :return: The neighbour_reports of this NeighbourScanReports. # noqa: E501 + :rtype: list[NeighbourReport] + """ + return self._neighbour_reports + + @neighbour_reports.setter + def neighbour_reports(self, neighbour_reports): + """Sets the neighbour_reports of this NeighbourScanReports. + + + :param neighbour_reports: The neighbour_reports of this NeighbourScanReports. # noqa: E501 + :type: list[NeighbourReport] + """ + + self._neighbour_reports = neighbour_reports + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(NeighbourScanReports, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, NeighbourScanReports): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/neighbouring_ap_list_configuration.py b/libs/cloudapi/cloudsdk/swagger_client/models/neighbouring_ap_list_configuration.py new file mode 100644 index 000000000..76dd7ca3f --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/neighbouring_ap_list_configuration.py @@ -0,0 +1,136 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class NeighbouringAPListConfiguration(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'min_signal': 'int', + 'max_aps': 'int' + } + + attribute_map = { + 'min_signal': 'minSignal', + 'max_aps': 'maxAps' + } + + def __init__(self, min_signal=None, max_aps=None): # noqa: E501 + """NeighbouringAPListConfiguration - a model defined in Swagger""" # noqa: E501 + self._min_signal = None + self._max_aps = None + self.discriminator = None + if min_signal is not None: + self.min_signal = min_signal + if max_aps is not None: + self.max_aps = max_aps + + @property + def min_signal(self): + """Gets the min_signal of this NeighbouringAPListConfiguration. # noqa: E501 + + + :return: The min_signal of this NeighbouringAPListConfiguration. # noqa: E501 + :rtype: int + """ + return self._min_signal + + @min_signal.setter + def min_signal(self, min_signal): + """Sets the min_signal of this NeighbouringAPListConfiguration. + + + :param min_signal: The min_signal of this NeighbouringAPListConfiguration. # noqa: E501 + :type: int + """ + + self._min_signal = min_signal + + @property + def max_aps(self): + """Gets the max_aps of this NeighbouringAPListConfiguration. # noqa: E501 + + + :return: The max_aps of this NeighbouringAPListConfiguration. # noqa: E501 + :rtype: int + """ + return self._max_aps + + @max_aps.setter + def max_aps(self, max_aps): + """Sets the max_aps of this NeighbouringAPListConfiguration. + + + :param max_aps: The max_aps of this NeighbouringAPListConfiguration. # noqa: E501 + :type: int + """ + + self._max_aps = max_aps + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(NeighbouringAPListConfiguration, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, NeighbouringAPListConfiguration): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/network_admin_status_data.py b/libs/cloudapi/cloudsdk/swagger_client/models/network_admin_status_data.py new file mode 100644 index 000000000..19e3e7f7d --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/network_admin_status_data.py @@ -0,0 +1,305 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class NetworkAdminStatusData(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'status_data_type': 'str', + 'dhcp_status': 'StatusCode', + 'dns_status': 'StatusCode', + 'cloud_link_status': 'StatusCode', + 'radius_status': 'StatusCode', + 'average_coverage_per_radio': 'IntegerPerRadioTypeMap', + 'equipment_counts_by_severity': 'IntegerStatusCodeMap' + } + + attribute_map = { + 'model_type': 'model_type', + 'status_data_type': 'statusDataType', + 'dhcp_status': 'dhcpStatus', + 'dns_status': 'dnsStatus', + 'cloud_link_status': 'cloudLinkStatus', + 'radius_status': 'radiusStatus', + 'average_coverage_per_radio': 'averageCoveragePerRadio', + 'equipment_counts_by_severity': 'equipmentCountsBySeverity' + } + + def __init__(self, model_type=None, status_data_type=None, dhcp_status=None, dns_status=None, cloud_link_status=None, radius_status=None, average_coverage_per_radio=None, equipment_counts_by_severity=None): # noqa: E501 + """NetworkAdminStatusData - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._status_data_type = None + self._dhcp_status = None + self._dns_status = None + self._cloud_link_status = None + self._radius_status = None + self._average_coverage_per_radio = None + self._equipment_counts_by_severity = None + self.discriminator = None + self.model_type = model_type + if status_data_type is not None: + self.status_data_type = status_data_type + if dhcp_status is not None: + self.dhcp_status = dhcp_status + if dns_status is not None: + self.dns_status = dns_status + if cloud_link_status is not None: + self.cloud_link_status = cloud_link_status + if radius_status is not None: + self.radius_status = radius_status + if average_coverage_per_radio is not None: + self.average_coverage_per_radio = average_coverage_per_radio + if equipment_counts_by_severity is not None: + self.equipment_counts_by_severity = equipment_counts_by_severity + + @property + def model_type(self): + """Gets the model_type of this NetworkAdminStatusData. # noqa: E501 + + + :return: The model_type of this NetworkAdminStatusData. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this NetworkAdminStatusData. + + + :param model_type: The model_type of this NetworkAdminStatusData. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + allowed_values = ["NetworkAdminStatusData"] # noqa: E501 + if model_type not in allowed_values: + raise ValueError( + "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 + .format(model_type, allowed_values) + ) + + self._model_type = model_type + + @property + def status_data_type(self): + """Gets the status_data_type of this NetworkAdminStatusData. # noqa: E501 + + + :return: The status_data_type of this NetworkAdminStatusData. # noqa: E501 + :rtype: str + """ + return self._status_data_type + + @status_data_type.setter + def status_data_type(self, status_data_type): + """Sets the status_data_type of this NetworkAdminStatusData. + + + :param status_data_type: The status_data_type of this NetworkAdminStatusData. # noqa: E501 + :type: str + """ + allowed_values = ["NETWORK_ADMIN"] # noqa: E501 + if status_data_type not in allowed_values: + raise ValueError( + "Invalid value for `status_data_type` ({0}), must be one of {1}" # noqa: E501 + .format(status_data_type, allowed_values) + ) + + self._status_data_type = status_data_type + + @property + def dhcp_status(self): + """Gets the dhcp_status of this NetworkAdminStatusData. # noqa: E501 + + + :return: The dhcp_status of this NetworkAdminStatusData. # noqa: E501 + :rtype: StatusCode + """ + return self._dhcp_status + + @dhcp_status.setter + def dhcp_status(self, dhcp_status): + """Sets the dhcp_status of this NetworkAdminStatusData. + + + :param dhcp_status: The dhcp_status of this NetworkAdminStatusData. # noqa: E501 + :type: StatusCode + """ + + self._dhcp_status = dhcp_status + + @property + def dns_status(self): + """Gets the dns_status of this NetworkAdminStatusData. # noqa: E501 + + + :return: The dns_status of this NetworkAdminStatusData. # noqa: E501 + :rtype: StatusCode + """ + return self._dns_status + + @dns_status.setter + def dns_status(self, dns_status): + """Sets the dns_status of this NetworkAdminStatusData. + + + :param dns_status: The dns_status of this NetworkAdminStatusData. # noqa: E501 + :type: StatusCode + """ + + self._dns_status = dns_status + + @property + def cloud_link_status(self): + """Gets the cloud_link_status of this NetworkAdminStatusData. # noqa: E501 + + + :return: The cloud_link_status of this NetworkAdminStatusData. # noqa: E501 + :rtype: StatusCode + """ + return self._cloud_link_status + + @cloud_link_status.setter + def cloud_link_status(self, cloud_link_status): + """Sets the cloud_link_status of this NetworkAdminStatusData. + + + :param cloud_link_status: The cloud_link_status of this NetworkAdminStatusData. # noqa: E501 + :type: StatusCode + """ + + self._cloud_link_status = cloud_link_status + + @property + def radius_status(self): + """Gets the radius_status of this NetworkAdminStatusData. # noqa: E501 + + + :return: The radius_status of this NetworkAdminStatusData. # noqa: E501 + :rtype: StatusCode + """ + return self._radius_status + + @radius_status.setter + def radius_status(self, radius_status): + """Sets the radius_status of this NetworkAdminStatusData. + + + :param radius_status: The radius_status of this NetworkAdminStatusData. # noqa: E501 + :type: StatusCode + """ + + self._radius_status = radius_status + + @property + def average_coverage_per_radio(self): + """Gets the average_coverage_per_radio of this NetworkAdminStatusData. # noqa: E501 + + + :return: The average_coverage_per_radio of this NetworkAdminStatusData. # noqa: E501 + :rtype: IntegerPerRadioTypeMap + """ + return self._average_coverage_per_radio + + @average_coverage_per_radio.setter + def average_coverage_per_radio(self, average_coverage_per_radio): + """Sets the average_coverage_per_radio of this NetworkAdminStatusData. + + + :param average_coverage_per_radio: The average_coverage_per_radio of this NetworkAdminStatusData. # noqa: E501 + :type: IntegerPerRadioTypeMap + """ + + self._average_coverage_per_radio = average_coverage_per_radio + + @property + def equipment_counts_by_severity(self): + """Gets the equipment_counts_by_severity of this NetworkAdminStatusData. # noqa: E501 + + + :return: The equipment_counts_by_severity of this NetworkAdminStatusData. # noqa: E501 + :rtype: IntegerStatusCodeMap + """ + return self._equipment_counts_by_severity + + @equipment_counts_by_severity.setter + def equipment_counts_by_severity(self, equipment_counts_by_severity): + """Sets the equipment_counts_by_severity of this NetworkAdminStatusData. + + + :param equipment_counts_by_severity: The equipment_counts_by_severity of this NetworkAdminStatusData. # noqa: E501 + :type: IntegerStatusCodeMap + """ + + self._equipment_counts_by_severity = equipment_counts_by_severity + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(NetworkAdminStatusData, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, NetworkAdminStatusData): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/network_aggregate_status_data.py b/libs/cloudapi/cloudsdk/swagger_client/models/network_aggregate_status_data.py new file mode 100644 index 000000000..0fb01e09e --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/network_aggregate_status_data.py @@ -0,0 +1,721 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class NetworkAggregateStatusData(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'status_data_type': 'str', + 'dhcp_details': 'CommonProbeDetails', + 'dns_details': 'CommonProbeDetails', + 'cloud_link_details': 'CommonProbeDetails', + 'noise_floor_details': 'NoiseFloorDetails', + 'channel_utilization_details': 'ChannelUtilizationDetails', + 'radio_utilization_details': 'RadioUtilizationDetails', + 'user_details': 'UserDetails', + 'traffic_details': 'TrafficDetails', + 'radius_details': 'RadiusDetails', + 'equipment_performance_details': 'EquipmentPerformanceDetails', + 'capacity_details': 'CapacityDetails', + 'number_of_reporting_equipment': 'int', + 'number_of_total_equipment': 'int', + 'begin_generation_ts_ms': 'int', + 'end_generation_ts_ms': 'int', + 'begin_aggregation_ts_ms': 'int', + 'end_aggregation_ts_ms': 'int', + 'num_metrics_aggregated': 'int', + 'coverage': 'int', + 'behavior': 'int', + 'handoff': 'int', + 'wlan_latency': 'int' + } + + attribute_map = { + 'model_type': 'model_type', + 'status_data_type': 'statusDataType', + 'dhcp_details': 'dhcpDetails', + 'dns_details': 'dnsDetails', + 'cloud_link_details': 'cloudLinkDetails', + 'noise_floor_details': 'noiseFloorDetails', + 'channel_utilization_details': 'channelUtilizationDetails', + 'radio_utilization_details': 'radioUtilizationDetails', + 'user_details': 'userDetails', + 'traffic_details': 'trafficDetails', + 'radius_details': 'radiusDetails', + 'equipment_performance_details': 'equipmentPerformanceDetails', + 'capacity_details': 'capacityDetails', + 'number_of_reporting_equipment': 'numberOfReportingEquipment', + 'number_of_total_equipment': 'numberOfTotalEquipment', + 'begin_generation_ts_ms': 'beginGenerationTsMs', + 'end_generation_ts_ms': 'endGenerationTsMs', + 'begin_aggregation_ts_ms': 'beginAggregationTsMs', + 'end_aggregation_ts_ms': 'endAggregationTsMs', + 'num_metrics_aggregated': 'numMetricsAggregated', + 'coverage': 'coverage', + 'behavior': 'behavior', + 'handoff': 'handoff', + 'wlan_latency': 'wlanLatency' + } + + def __init__(self, model_type=None, status_data_type=None, dhcp_details=None, dns_details=None, cloud_link_details=None, noise_floor_details=None, channel_utilization_details=None, radio_utilization_details=None, user_details=None, traffic_details=None, radius_details=None, equipment_performance_details=None, capacity_details=None, number_of_reporting_equipment=None, number_of_total_equipment=None, begin_generation_ts_ms=None, end_generation_ts_ms=None, begin_aggregation_ts_ms=None, end_aggregation_ts_ms=None, num_metrics_aggregated=None, coverage=None, behavior=None, handoff=None, wlan_latency=None): # noqa: E501 + """NetworkAggregateStatusData - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._status_data_type = None + self._dhcp_details = None + self._dns_details = None + self._cloud_link_details = None + self._noise_floor_details = None + self._channel_utilization_details = None + self._radio_utilization_details = None + self._user_details = None + self._traffic_details = None + self._radius_details = None + self._equipment_performance_details = None + self._capacity_details = None + self._number_of_reporting_equipment = None + self._number_of_total_equipment = None + self._begin_generation_ts_ms = None + self._end_generation_ts_ms = None + self._begin_aggregation_ts_ms = None + self._end_aggregation_ts_ms = None + self._num_metrics_aggregated = None + self._coverage = None + self._behavior = None + self._handoff = None + self._wlan_latency = None + self.discriminator = None + self.model_type = model_type + if status_data_type is not None: + self.status_data_type = status_data_type + if dhcp_details is not None: + self.dhcp_details = dhcp_details + if dns_details is not None: + self.dns_details = dns_details + if cloud_link_details is not None: + self.cloud_link_details = cloud_link_details + if noise_floor_details is not None: + self.noise_floor_details = noise_floor_details + if channel_utilization_details is not None: + self.channel_utilization_details = channel_utilization_details + if radio_utilization_details is not None: + self.radio_utilization_details = radio_utilization_details + if user_details is not None: + self.user_details = user_details + if traffic_details is not None: + self.traffic_details = traffic_details + if radius_details is not None: + self.radius_details = radius_details + if equipment_performance_details is not None: + self.equipment_performance_details = equipment_performance_details + if capacity_details is not None: + self.capacity_details = capacity_details + if number_of_reporting_equipment is not None: + self.number_of_reporting_equipment = number_of_reporting_equipment + if number_of_total_equipment is not None: + self.number_of_total_equipment = number_of_total_equipment + if begin_generation_ts_ms is not None: + self.begin_generation_ts_ms = begin_generation_ts_ms + if end_generation_ts_ms is not None: + self.end_generation_ts_ms = end_generation_ts_ms + if begin_aggregation_ts_ms is not None: + self.begin_aggregation_ts_ms = begin_aggregation_ts_ms + if end_aggregation_ts_ms is not None: + self.end_aggregation_ts_ms = end_aggregation_ts_ms + if num_metrics_aggregated is not None: + self.num_metrics_aggregated = num_metrics_aggregated + if coverage is not None: + self.coverage = coverage + if behavior is not None: + self.behavior = behavior + if handoff is not None: + self.handoff = handoff + if wlan_latency is not None: + self.wlan_latency = wlan_latency + + @property + def model_type(self): + """Gets the model_type of this NetworkAggregateStatusData. # noqa: E501 + + + :return: The model_type of this NetworkAggregateStatusData. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this NetworkAggregateStatusData. + + + :param model_type: The model_type of this NetworkAggregateStatusData. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + allowed_values = ["NetworkAggregateStatusData"] # noqa: E501 + if model_type not in allowed_values: + raise ValueError( + "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 + .format(model_type, allowed_values) + ) + + self._model_type = model_type + + @property + def status_data_type(self): + """Gets the status_data_type of this NetworkAggregateStatusData. # noqa: E501 + + + :return: The status_data_type of this NetworkAggregateStatusData. # noqa: E501 + :rtype: str + """ + return self._status_data_type + + @status_data_type.setter + def status_data_type(self, status_data_type): + """Sets the status_data_type of this NetworkAggregateStatusData. + + + :param status_data_type: The status_data_type of this NetworkAggregateStatusData. # noqa: E501 + :type: str + """ + allowed_values = ["NETWORK_AGGREGATE"] # noqa: E501 + if status_data_type not in allowed_values: + raise ValueError( + "Invalid value for `status_data_type` ({0}), must be one of {1}" # noqa: E501 + .format(status_data_type, allowed_values) + ) + + self._status_data_type = status_data_type + + @property + def dhcp_details(self): + """Gets the dhcp_details of this NetworkAggregateStatusData. # noqa: E501 + + + :return: The dhcp_details of this NetworkAggregateStatusData. # noqa: E501 + :rtype: CommonProbeDetails + """ + return self._dhcp_details + + @dhcp_details.setter + def dhcp_details(self, dhcp_details): + """Sets the dhcp_details of this NetworkAggregateStatusData. + + + :param dhcp_details: The dhcp_details of this NetworkAggregateStatusData. # noqa: E501 + :type: CommonProbeDetails + """ + + self._dhcp_details = dhcp_details + + @property + def dns_details(self): + """Gets the dns_details of this NetworkAggregateStatusData. # noqa: E501 + + + :return: The dns_details of this NetworkAggregateStatusData. # noqa: E501 + :rtype: CommonProbeDetails + """ + return self._dns_details + + @dns_details.setter + def dns_details(self, dns_details): + """Sets the dns_details of this NetworkAggregateStatusData. + + + :param dns_details: The dns_details of this NetworkAggregateStatusData. # noqa: E501 + :type: CommonProbeDetails + """ + + self._dns_details = dns_details + + @property + def cloud_link_details(self): + """Gets the cloud_link_details of this NetworkAggregateStatusData. # noqa: E501 + + + :return: The cloud_link_details of this NetworkAggregateStatusData. # noqa: E501 + :rtype: CommonProbeDetails + """ + return self._cloud_link_details + + @cloud_link_details.setter + def cloud_link_details(self, cloud_link_details): + """Sets the cloud_link_details of this NetworkAggregateStatusData. + + + :param cloud_link_details: The cloud_link_details of this NetworkAggregateStatusData. # noqa: E501 + :type: CommonProbeDetails + """ + + self._cloud_link_details = cloud_link_details + + @property + def noise_floor_details(self): + """Gets the noise_floor_details of this NetworkAggregateStatusData. # noqa: E501 + + + :return: The noise_floor_details of this NetworkAggregateStatusData. # noqa: E501 + :rtype: NoiseFloorDetails + """ + return self._noise_floor_details + + @noise_floor_details.setter + def noise_floor_details(self, noise_floor_details): + """Sets the noise_floor_details of this NetworkAggregateStatusData. + + + :param noise_floor_details: The noise_floor_details of this NetworkAggregateStatusData. # noqa: E501 + :type: NoiseFloorDetails + """ + + self._noise_floor_details = noise_floor_details + + @property + def channel_utilization_details(self): + """Gets the channel_utilization_details of this NetworkAggregateStatusData. # noqa: E501 + + + :return: The channel_utilization_details of this NetworkAggregateStatusData. # noqa: E501 + :rtype: ChannelUtilizationDetails + """ + return self._channel_utilization_details + + @channel_utilization_details.setter + def channel_utilization_details(self, channel_utilization_details): + """Sets the channel_utilization_details of this NetworkAggregateStatusData. + + + :param channel_utilization_details: The channel_utilization_details of this NetworkAggregateStatusData. # noqa: E501 + :type: ChannelUtilizationDetails + """ + + self._channel_utilization_details = channel_utilization_details + + @property + def radio_utilization_details(self): + """Gets the radio_utilization_details of this NetworkAggregateStatusData. # noqa: E501 + + + :return: The radio_utilization_details of this NetworkAggregateStatusData. # noqa: E501 + :rtype: RadioUtilizationDetails + """ + return self._radio_utilization_details + + @radio_utilization_details.setter + def radio_utilization_details(self, radio_utilization_details): + """Sets the radio_utilization_details of this NetworkAggregateStatusData. + + + :param radio_utilization_details: The radio_utilization_details of this NetworkAggregateStatusData. # noqa: E501 + :type: RadioUtilizationDetails + """ + + self._radio_utilization_details = radio_utilization_details + + @property + def user_details(self): + """Gets the user_details of this NetworkAggregateStatusData. # noqa: E501 + + + :return: The user_details of this NetworkAggregateStatusData. # noqa: E501 + :rtype: UserDetails + """ + return self._user_details + + @user_details.setter + def user_details(self, user_details): + """Sets the user_details of this NetworkAggregateStatusData. + + + :param user_details: The user_details of this NetworkAggregateStatusData. # noqa: E501 + :type: UserDetails + """ + + self._user_details = user_details + + @property + def traffic_details(self): + """Gets the traffic_details of this NetworkAggregateStatusData. # noqa: E501 + + + :return: The traffic_details of this NetworkAggregateStatusData. # noqa: E501 + :rtype: TrafficDetails + """ + return self._traffic_details + + @traffic_details.setter + def traffic_details(self, traffic_details): + """Sets the traffic_details of this NetworkAggregateStatusData. + + + :param traffic_details: The traffic_details of this NetworkAggregateStatusData. # noqa: E501 + :type: TrafficDetails + """ + + self._traffic_details = traffic_details + + @property + def radius_details(self): + """Gets the radius_details of this NetworkAggregateStatusData. # noqa: E501 + + + :return: The radius_details of this NetworkAggregateStatusData. # noqa: E501 + :rtype: RadiusDetails + """ + return self._radius_details + + @radius_details.setter + def radius_details(self, radius_details): + """Sets the radius_details of this NetworkAggregateStatusData. + + + :param radius_details: The radius_details of this NetworkAggregateStatusData. # noqa: E501 + :type: RadiusDetails + """ + + self._radius_details = radius_details + + @property + def equipment_performance_details(self): + """Gets the equipment_performance_details of this NetworkAggregateStatusData. # noqa: E501 + + + :return: The equipment_performance_details of this NetworkAggregateStatusData. # noqa: E501 + :rtype: EquipmentPerformanceDetails + """ + return self._equipment_performance_details + + @equipment_performance_details.setter + def equipment_performance_details(self, equipment_performance_details): + """Sets the equipment_performance_details of this NetworkAggregateStatusData. + + + :param equipment_performance_details: The equipment_performance_details of this NetworkAggregateStatusData. # noqa: E501 + :type: EquipmentPerformanceDetails + """ + + self._equipment_performance_details = equipment_performance_details + + @property + def capacity_details(self): + """Gets the capacity_details of this NetworkAggregateStatusData. # noqa: E501 + + + :return: The capacity_details of this NetworkAggregateStatusData. # noqa: E501 + :rtype: CapacityDetails + """ + return self._capacity_details + + @capacity_details.setter + def capacity_details(self, capacity_details): + """Sets the capacity_details of this NetworkAggregateStatusData. + + + :param capacity_details: The capacity_details of this NetworkAggregateStatusData. # noqa: E501 + :type: CapacityDetails + """ + + self._capacity_details = capacity_details + + @property + def number_of_reporting_equipment(self): + """Gets the number_of_reporting_equipment of this NetworkAggregateStatusData. # noqa: E501 + + + :return: The number_of_reporting_equipment of this NetworkAggregateStatusData. # noqa: E501 + :rtype: int + """ + return self._number_of_reporting_equipment + + @number_of_reporting_equipment.setter + def number_of_reporting_equipment(self, number_of_reporting_equipment): + """Sets the number_of_reporting_equipment of this NetworkAggregateStatusData. + + + :param number_of_reporting_equipment: The number_of_reporting_equipment of this NetworkAggregateStatusData. # noqa: E501 + :type: int + """ + + self._number_of_reporting_equipment = number_of_reporting_equipment + + @property + def number_of_total_equipment(self): + """Gets the number_of_total_equipment of this NetworkAggregateStatusData. # noqa: E501 + + + :return: The number_of_total_equipment of this NetworkAggregateStatusData. # noqa: E501 + :rtype: int + """ + return self._number_of_total_equipment + + @number_of_total_equipment.setter + def number_of_total_equipment(self, number_of_total_equipment): + """Sets the number_of_total_equipment of this NetworkAggregateStatusData. + + + :param number_of_total_equipment: The number_of_total_equipment of this NetworkAggregateStatusData. # noqa: E501 + :type: int + """ + + self._number_of_total_equipment = number_of_total_equipment + + @property + def begin_generation_ts_ms(self): + """Gets the begin_generation_ts_ms of this NetworkAggregateStatusData. # noqa: E501 + + + :return: The begin_generation_ts_ms of this NetworkAggregateStatusData. # noqa: E501 + :rtype: int + """ + return self._begin_generation_ts_ms + + @begin_generation_ts_ms.setter + def begin_generation_ts_ms(self, begin_generation_ts_ms): + """Sets the begin_generation_ts_ms of this NetworkAggregateStatusData. + + + :param begin_generation_ts_ms: The begin_generation_ts_ms of this NetworkAggregateStatusData. # noqa: E501 + :type: int + """ + + self._begin_generation_ts_ms = begin_generation_ts_ms + + @property + def end_generation_ts_ms(self): + """Gets the end_generation_ts_ms of this NetworkAggregateStatusData. # noqa: E501 + + + :return: The end_generation_ts_ms of this NetworkAggregateStatusData. # noqa: E501 + :rtype: int + """ + return self._end_generation_ts_ms + + @end_generation_ts_ms.setter + def end_generation_ts_ms(self, end_generation_ts_ms): + """Sets the end_generation_ts_ms of this NetworkAggregateStatusData. + + + :param end_generation_ts_ms: The end_generation_ts_ms of this NetworkAggregateStatusData. # noqa: E501 + :type: int + """ + + self._end_generation_ts_ms = end_generation_ts_ms + + @property + def begin_aggregation_ts_ms(self): + """Gets the begin_aggregation_ts_ms of this NetworkAggregateStatusData. # noqa: E501 + + + :return: The begin_aggregation_ts_ms of this NetworkAggregateStatusData. # noqa: E501 + :rtype: int + """ + return self._begin_aggregation_ts_ms + + @begin_aggregation_ts_ms.setter + def begin_aggregation_ts_ms(self, begin_aggregation_ts_ms): + """Sets the begin_aggregation_ts_ms of this NetworkAggregateStatusData. + + + :param begin_aggregation_ts_ms: The begin_aggregation_ts_ms of this NetworkAggregateStatusData. # noqa: E501 + :type: int + """ + + self._begin_aggregation_ts_ms = begin_aggregation_ts_ms + + @property + def end_aggregation_ts_ms(self): + """Gets the end_aggregation_ts_ms of this NetworkAggregateStatusData. # noqa: E501 + + + :return: The end_aggregation_ts_ms of this NetworkAggregateStatusData. # noqa: E501 + :rtype: int + """ + return self._end_aggregation_ts_ms + + @end_aggregation_ts_ms.setter + def end_aggregation_ts_ms(self, end_aggregation_ts_ms): + """Sets the end_aggregation_ts_ms of this NetworkAggregateStatusData. + + + :param end_aggregation_ts_ms: The end_aggregation_ts_ms of this NetworkAggregateStatusData. # noqa: E501 + :type: int + """ + + self._end_aggregation_ts_ms = end_aggregation_ts_ms + + @property + def num_metrics_aggregated(self): + """Gets the num_metrics_aggregated of this NetworkAggregateStatusData. # noqa: E501 + + + :return: The num_metrics_aggregated of this NetworkAggregateStatusData. # noqa: E501 + :rtype: int + """ + return self._num_metrics_aggregated + + @num_metrics_aggregated.setter + def num_metrics_aggregated(self, num_metrics_aggregated): + """Sets the num_metrics_aggregated of this NetworkAggregateStatusData. + + + :param num_metrics_aggregated: The num_metrics_aggregated of this NetworkAggregateStatusData. # noqa: E501 + :type: int + """ + + self._num_metrics_aggregated = num_metrics_aggregated + + @property + def coverage(self): + """Gets the coverage of this NetworkAggregateStatusData. # noqa: E501 + + + :return: The coverage of this NetworkAggregateStatusData. # noqa: E501 + :rtype: int + """ + return self._coverage + + @coverage.setter + def coverage(self, coverage): + """Sets the coverage of this NetworkAggregateStatusData. + + + :param coverage: The coverage of this NetworkAggregateStatusData. # noqa: E501 + :type: int + """ + + self._coverage = coverage + + @property + def behavior(self): + """Gets the behavior of this NetworkAggregateStatusData. # noqa: E501 + + + :return: The behavior of this NetworkAggregateStatusData. # noqa: E501 + :rtype: int + """ + return self._behavior + + @behavior.setter + def behavior(self, behavior): + """Sets the behavior of this NetworkAggregateStatusData. + + + :param behavior: The behavior of this NetworkAggregateStatusData. # noqa: E501 + :type: int + """ + + self._behavior = behavior + + @property + def handoff(self): + """Gets the handoff of this NetworkAggregateStatusData. # noqa: E501 + + + :return: The handoff of this NetworkAggregateStatusData. # noqa: E501 + :rtype: int + """ + return self._handoff + + @handoff.setter + def handoff(self, handoff): + """Sets the handoff of this NetworkAggregateStatusData. + + + :param handoff: The handoff of this NetworkAggregateStatusData. # noqa: E501 + :type: int + """ + + self._handoff = handoff + + @property + def wlan_latency(self): + """Gets the wlan_latency of this NetworkAggregateStatusData. # noqa: E501 + + + :return: The wlan_latency of this NetworkAggregateStatusData. # noqa: E501 + :rtype: int + """ + return self._wlan_latency + + @wlan_latency.setter + def wlan_latency(self, wlan_latency): + """Sets the wlan_latency of this NetworkAggregateStatusData. + + + :param wlan_latency: The wlan_latency of this NetworkAggregateStatusData. # noqa: E501 + :type: int + """ + + self._wlan_latency = wlan_latency + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(NetworkAggregateStatusData, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, NetworkAggregateStatusData): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/network_forward_mode.py b/libs/cloudapi/cloudsdk/swagger_client/models/network_forward_mode.py new file mode 100644 index 000000000..c83ea8d09 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/network_forward_mode.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class NetworkForwardMode(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + BRIDGE = "BRIDGE" + NAT = "NAT" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """NetworkForwardMode - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(NetworkForwardMode, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, NetworkForwardMode): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/network_probe_metrics.py b/libs/cloudapi/cloudsdk/swagger_client/models/network_probe_metrics.py new file mode 100644 index 000000000..def102546 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/network_probe_metrics.py @@ -0,0 +1,292 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class NetworkProbeMetrics(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'vlan_if': 'str', + 'dhcp_state': 'StateUpDownError', + 'dhcp_latency_ms': 'int', + 'dns_state': 'StateUpDownError', + 'dns_latency_ms': 'int', + 'radius_state': 'StateUpDownError', + 'radius_latency_ms': 'int', + 'dns_probe_results': 'list[DnsProbeMetric]' + } + + attribute_map = { + 'vlan_if': 'vlanIF', + 'dhcp_state': 'dhcpState', + 'dhcp_latency_ms': 'dhcpLatencyMs', + 'dns_state': 'dnsState', + 'dns_latency_ms': 'dnsLatencyMs', + 'radius_state': 'radiusState', + 'radius_latency_ms': 'radiusLatencyMs', + 'dns_probe_results': 'dnsProbeResults' + } + + def __init__(self, vlan_if=None, dhcp_state=None, dhcp_latency_ms=None, dns_state=None, dns_latency_ms=None, radius_state=None, radius_latency_ms=None, dns_probe_results=None): # noqa: E501 + """NetworkProbeMetrics - a model defined in Swagger""" # noqa: E501 + self._vlan_if = None + self._dhcp_state = None + self._dhcp_latency_ms = None + self._dns_state = None + self._dns_latency_ms = None + self._radius_state = None + self._radius_latency_ms = None + self._dns_probe_results = None + self.discriminator = None + if vlan_if is not None: + self.vlan_if = vlan_if + if dhcp_state is not None: + self.dhcp_state = dhcp_state + if dhcp_latency_ms is not None: + self.dhcp_latency_ms = dhcp_latency_ms + if dns_state is not None: + self.dns_state = dns_state + if dns_latency_ms is not None: + self.dns_latency_ms = dns_latency_ms + if radius_state is not None: + self.radius_state = radius_state + if radius_latency_ms is not None: + self.radius_latency_ms = radius_latency_ms + if dns_probe_results is not None: + self.dns_probe_results = dns_probe_results + + @property + def vlan_if(self): + """Gets the vlan_if of this NetworkProbeMetrics. # noqa: E501 + + + :return: The vlan_if of this NetworkProbeMetrics. # noqa: E501 + :rtype: str + """ + return self._vlan_if + + @vlan_if.setter + def vlan_if(self, vlan_if): + """Sets the vlan_if of this NetworkProbeMetrics. + + + :param vlan_if: The vlan_if of this NetworkProbeMetrics. # noqa: E501 + :type: str + """ + + self._vlan_if = vlan_if + + @property + def dhcp_state(self): + """Gets the dhcp_state of this NetworkProbeMetrics. # noqa: E501 + + + :return: The dhcp_state of this NetworkProbeMetrics. # noqa: E501 + :rtype: StateUpDownError + """ + return self._dhcp_state + + @dhcp_state.setter + def dhcp_state(self, dhcp_state): + """Sets the dhcp_state of this NetworkProbeMetrics. + + + :param dhcp_state: The dhcp_state of this NetworkProbeMetrics. # noqa: E501 + :type: StateUpDownError + """ + + self._dhcp_state = dhcp_state + + @property + def dhcp_latency_ms(self): + """Gets the dhcp_latency_ms of this NetworkProbeMetrics. # noqa: E501 + + + :return: The dhcp_latency_ms of this NetworkProbeMetrics. # noqa: E501 + :rtype: int + """ + return self._dhcp_latency_ms + + @dhcp_latency_ms.setter + def dhcp_latency_ms(self, dhcp_latency_ms): + """Sets the dhcp_latency_ms of this NetworkProbeMetrics. + + + :param dhcp_latency_ms: The dhcp_latency_ms of this NetworkProbeMetrics. # noqa: E501 + :type: int + """ + + self._dhcp_latency_ms = dhcp_latency_ms + + @property + def dns_state(self): + """Gets the dns_state of this NetworkProbeMetrics. # noqa: E501 + + + :return: The dns_state of this NetworkProbeMetrics. # noqa: E501 + :rtype: StateUpDownError + """ + return self._dns_state + + @dns_state.setter + def dns_state(self, dns_state): + """Sets the dns_state of this NetworkProbeMetrics. + + + :param dns_state: The dns_state of this NetworkProbeMetrics. # noqa: E501 + :type: StateUpDownError + """ + + self._dns_state = dns_state + + @property + def dns_latency_ms(self): + """Gets the dns_latency_ms of this NetworkProbeMetrics. # noqa: E501 + + + :return: The dns_latency_ms of this NetworkProbeMetrics. # noqa: E501 + :rtype: int + """ + return self._dns_latency_ms + + @dns_latency_ms.setter + def dns_latency_ms(self, dns_latency_ms): + """Sets the dns_latency_ms of this NetworkProbeMetrics. + + + :param dns_latency_ms: The dns_latency_ms of this NetworkProbeMetrics. # noqa: E501 + :type: int + """ + + self._dns_latency_ms = dns_latency_ms + + @property + def radius_state(self): + """Gets the radius_state of this NetworkProbeMetrics. # noqa: E501 + + + :return: The radius_state of this NetworkProbeMetrics. # noqa: E501 + :rtype: StateUpDownError + """ + return self._radius_state + + @radius_state.setter + def radius_state(self, radius_state): + """Sets the radius_state of this NetworkProbeMetrics. + + + :param radius_state: The radius_state of this NetworkProbeMetrics. # noqa: E501 + :type: StateUpDownError + """ + + self._radius_state = radius_state + + @property + def radius_latency_ms(self): + """Gets the radius_latency_ms of this NetworkProbeMetrics. # noqa: E501 + + + :return: The radius_latency_ms of this NetworkProbeMetrics. # noqa: E501 + :rtype: int + """ + return self._radius_latency_ms + + @radius_latency_ms.setter + def radius_latency_ms(self, radius_latency_ms): + """Sets the radius_latency_ms of this NetworkProbeMetrics. + + + :param radius_latency_ms: The radius_latency_ms of this NetworkProbeMetrics. # noqa: E501 + :type: int + """ + + self._radius_latency_ms = radius_latency_ms + + @property + def dns_probe_results(self): + """Gets the dns_probe_results of this NetworkProbeMetrics. # noqa: E501 + + + :return: The dns_probe_results of this NetworkProbeMetrics. # noqa: E501 + :rtype: list[DnsProbeMetric] + """ + return self._dns_probe_results + + @dns_probe_results.setter + def dns_probe_results(self, dns_probe_results): + """Sets the dns_probe_results of this NetworkProbeMetrics. + + + :param dns_probe_results: The dns_probe_results of this NetworkProbeMetrics. # noqa: E501 + :type: list[DnsProbeMetric] + """ + + self._dns_probe_results = dns_probe_results + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(NetworkProbeMetrics, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, NetworkProbeMetrics): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/network_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/network_type.py new file mode 100644 index 000000000..db64113f5 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/network_type.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class NetworkType(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + AP = "AP" + ADHOC = "ADHOC" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """NetworkType - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(NetworkType, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, NetworkType): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/noise_floor_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/noise_floor_details.py new file mode 100644 index 000000000..6ccb666c0 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/noise_floor_details.py @@ -0,0 +1,136 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class NoiseFloorDetails(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'per_radio_details': 'NoiseFloorPerRadioDetailsMap', + 'indicator_value': 'int' + } + + attribute_map = { + 'per_radio_details': 'perRadioDetails', + 'indicator_value': 'indicatorValue' + } + + def __init__(self, per_radio_details=None, indicator_value=None): # noqa: E501 + """NoiseFloorDetails - a model defined in Swagger""" # noqa: E501 + self._per_radio_details = None + self._indicator_value = None + self.discriminator = None + if per_radio_details is not None: + self.per_radio_details = per_radio_details + if indicator_value is not None: + self.indicator_value = indicator_value + + @property + def per_radio_details(self): + """Gets the per_radio_details of this NoiseFloorDetails. # noqa: E501 + + + :return: The per_radio_details of this NoiseFloorDetails. # noqa: E501 + :rtype: NoiseFloorPerRadioDetailsMap + """ + return self._per_radio_details + + @per_radio_details.setter + def per_radio_details(self, per_radio_details): + """Sets the per_radio_details of this NoiseFloorDetails. + + + :param per_radio_details: The per_radio_details of this NoiseFloorDetails. # noqa: E501 + :type: NoiseFloorPerRadioDetailsMap + """ + + self._per_radio_details = per_radio_details + + @property + def indicator_value(self): + """Gets the indicator_value of this NoiseFloorDetails. # noqa: E501 + + + :return: The indicator_value of this NoiseFloorDetails. # noqa: E501 + :rtype: int + """ + return self._indicator_value + + @indicator_value.setter + def indicator_value(self, indicator_value): + """Sets the indicator_value of this NoiseFloorDetails. + + + :param indicator_value: The indicator_value of this NoiseFloorDetails. # noqa: E501 + :type: int + """ + + self._indicator_value = indicator_value + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(NoiseFloorDetails, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, NoiseFloorDetails): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/noise_floor_per_radio_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/noise_floor_per_radio_details.py new file mode 100644 index 000000000..5b9f448ed --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/noise_floor_per_radio_details.py @@ -0,0 +1,188 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class NoiseFloorPerRadioDetails(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'noise_floor': 'MinMaxAvgValueInt', + 'num_good_equipment': 'int', + 'num_warn_equipment': 'int', + 'num_bad_equipment': 'int' + } + + attribute_map = { + 'noise_floor': 'noiseFloor', + 'num_good_equipment': 'numGoodEquipment', + 'num_warn_equipment': 'numWarnEquipment', + 'num_bad_equipment': 'numBadEquipment' + } + + def __init__(self, noise_floor=None, num_good_equipment=None, num_warn_equipment=None, num_bad_equipment=None): # noqa: E501 + """NoiseFloorPerRadioDetails - a model defined in Swagger""" # noqa: E501 + self._noise_floor = None + self._num_good_equipment = None + self._num_warn_equipment = None + self._num_bad_equipment = None + self.discriminator = None + if noise_floor is not None: + self.noise_floor = noise_floor + if num_good_equipment is not None: + self.num_good_equipment = num_good_equipment + if num_warn_equipment is not None: + self.num_warn_equipment = num_warn_equipment + if num_bad_equipment is not None: + self.num_bad_equipment = num_bad_equipment + + @property + def noise_floor(self): + """Gets the noise_floor of this NoiseFloorPerRadioDetails. # noqa: E501 + + + :return: The noise_floor of this NoiseFloorPerRadioDetails. # noqa: E501 + :rtype: MinMaxAvgValueInt + """ + return self._noise_floor + + @noise_floor.setter + def noise_floor(self, noise_floor): + """Sets the noise_floor of this NoiseFloorPerRadioDetails. + + + :param noise_floor: The noise_floor of this NoiseFloorPerRadioDetails. # noqa: E501 + :type: MinMaxAvgValueInt + """ + + self._noise_floor = noise_floor + + @property + def num_good_equipment(self): + """Gets the num_good_equipment of this NoiseFloorPerRadioDetails. # noqa: E501 + + + :return: The num_good_equipment of this NoiseFloorPerRadioDetails. # noqa: E501 + :rtype: int + """ + return self._num_good_equipment + + @num_good_equipment.setter + def num_good_equipment(self, num_good_equipment): + """Sets the num_good_equipment of this NoiseFloorPerRadioDetails. + + + :param num_good_equipment: The num_good_equipment of this NoiseFloorPerRadioDetails. # noqa: E501 + :type: int + """ + + self._num_good_equipment = num_good_equipment + + @property + def num_warn_equipment(self): + """Gets the num_warn_equipment of this NoiseFloorPerRadioDetails. # noqa: E501 + + + :return: The num_warn_equipment of this NoiseFloorPerRadioDetails. # noqa: E501 + :rtype: int + """ + return self._num_warn_equipment + + @num_warn_equipment.setter + def num_warn_equipment(self, num_warn_equipment): + """Sets the num_warn_equipment of this NoiseFloorPerRadioDetails. + + + :param num_warn_equipment: The num_warn_equipment of this NoiseFloorPerRadioDetails. # noqa: E501 + :type: int + """ + + self._num_warn_equipment = num_warn_equipment + + @property + def num_bad_equipment(self): + """Gets the num_bad_equipment of this NoiseFloorPerRadioDetails. # noqa: E501 + + + :return: The num_bad_equipment of this NoiseFloorPerRadioDetails. # noqa: E501 + :rtype: int + """ + return self._num_bad_equipment + + @num_bad_equipment.setter + def num_bad_equipment(self, num_bad_equipment): + """Sets the num_bad_equipment of this NoiseFloorPerRadioDetails. + + + :param num_bad_equipment: The num_bad_equipment of this NoiseFloorPerRadioDetails. # noqa: E501 + :type: int + """ + + self._num_bad_equipment = num_bad_equipment + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(NoiseFloorPerRadioDetails, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, NoiseFloorPerRadioDetails): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/noise_floor_per_radio_details_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/noise_floor_per_radio_details_map.py new file mode 100644 index 000000000..b1a915af6 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/noise_floor_per_radio_details_map.py @@ -0,0 +1,188 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class NoiseFloorPerRadioDetailsMap(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'is5_g_hz': 'NoiseFloorPerRadioDetails', + 'is5_g_hz_u': 'NoiseFloorPerRadioDetails', + 'is5_g_hz_l': 'NoiseFloorPerRadioDetails', + 'is2dot4_g_hz': 'NoiseFloorPerRadioDetails' + } + + attribute_map = { + 'is5_g_hz': 'is5GHz', + 'is5_g_hz_u': 'is5GHzU', + 'is5_g_hz_l': 'is5GHzL', + 'is2dot4_g_hz': 'is2dot4GHz' + } + + def __init__(self, is5_g_hz=None, is5_g_hz_u=None, is5_g_hz_l=None, is2dot4_g_hz=None): # noqa: E501 + """NoiseFloorPerRadioDetailsMap - a model defined in Swagger""" # noqa: E501 + self._is5_g_hz = None + self._is5_g_hz_u = None + self._is5_g_hz_l = None + self._is2dot4_g_hz = None + self.discriminator = None + if is5_g_hz is not None: + self.is5_g_hz = is5_g_hz + if is5_g_hz_u is not None: + self.is5_g_hz_u = is5_g_hz_u + if is5_g_hz_l is not None: + self.is5_g_hz_l = is5_g_hz_l + if is2dot4_g_hz is not None: + self.is2dot4_g_hz = is2dot4_g_hz + + @property + def is5_g_hz(self): + """Gets the is5_g_hz of this NoiseFloorPerRadioDetailsMap. # noqa: E501 + + + :return: The is5_g_hz of this NoiseFloorPerRadioDetailsMap. # noqa: E501 + :rtype: NoiseFloorPerRadioDetails + """ + return self._is5_g_hz + + @is5_g_hz.setter + def is5_g_hz(self, is5_g_hz): + """Sets the is5_g_hz of this NoiseFloorPerRadioDetailsMap. + + + :param is5_g_hz: The is5_g_hz of this NoiseFloorPerRadioDetailsMap. # noqa: E501 + :type: NoiseFloorPerRadioDetails + """ + + self._is5_g_hz = is5_g_hz + + @property + def is5_g_hz_u(self): + """Gets the is5_g_hz_u of this NoiseFloorPerRadioDetailsMap. # noqa: E501 + + + :return: The is5_g_hz_u of this NoiseFloorPerRadioDetailsMap. # noqa: E501 + :rtype: NoiseFloorPerRadioDetails + """ + return self._is5_g_hz_u + + @is5_g_hz_u.setter + def is5_g_hz_u(self, is5_g_hz_u): + """Sets the is5_g_hz_u of this NoiseFloorPerRadioDetailsMap. + + + :param is5_g_hz_u: The is5_g_hz_u of this NoiseFloorPerRadioDetailsMap. # noqa: E501 + :type: NoiseFloorPerRadioDetails + """ + + self._is5_g_hz_u = is5_g_hz_u + + @property + def is5_g_hz_l(self): + """Gets the is5_g_hz_l of this NoiseFloorPerRadioDetailsMap. # noqa: E501 + + + :return: The is5_g_hz_l of this NoiseFloorPerRadioDetailsMap. # noqa: E501 + :rtype: NoiseFloorPerRadioDetails + """ + return self._is5_g_hz_l + + @is5_g_hz_l.setter + def is5_g_hz_l(self, is5_g_hz_l): + """Sets the is5_g_hz_l of this NoiseFloorPerRadioDetailsMap. + + + :param is5_g_hz_l: The is5_g_hz_l of this NoiseFloorPerRadioDetailsMap. # noqa: E501 + :type: NoiseFloorPerRadioDetails + """ + + self._is5_g_hz_l = is5_g_hz_l + + @property + def is2dot4_g_hz(self): + """Gets the is2dot4_g_hz of this NoiseFloorPerRadioDetailsMap. # noqa: E501 + + + :return: The is2dot4_g_hz of this NoiseFloorPerRadioDetailsMap. # noqa: E501 + :rtype: NoiseFloorPerRadioDetails + """ + return self._is2dot4_g_hz + + @is2dot4_g_hz.setter + def is2dot4_g_hz(self, is2dot4_g_hz): + """Sets the is2dot4_g_hz of this NoiseFloorPerRadioDetailsMap. + + + :param is2dot4_g_hz: The is2dot4_g_hz of this NoiseFloorPerRadioDetailsMap. # noqa: E501 + :type: NoiseFloorPerRadioDetails + """ + + self._is2dot4_g_hz = is2dot4_g_hz + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(NoiseFloorPerRadioDetailsMap, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, NoiseFloorPerRadioDetailsMap): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/obss_hop_mode.py b/libs/cloudapi/cloudsdk/swagger_client/models/obss_hop_mode.py new file mode 100644 index 000000000..6ce540893 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/obss_hop_mode.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ObssHopMode(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + WIFI = "NON_WIFI" + WIFI_AND_OBSS = "NON_WIFI_AND_OBSS" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """ObssHopMode - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ObssHopMode, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ObssHopMode): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/one_of_equipment_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/one_of_equipment_details.py new file mode 100644 index 000000000..b6e531d20 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/one_of_equipment_details.py @@ -0,0 +1,84 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class OneOfEquipmentDetails(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """OneOfEquipmentDetails - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(OneOfEquipmentDetails, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, OneOfEquipmentDetails): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/one_of_firmware_schedule_setting.py b/libs/cloudapi/cloudsdk/swagger_client/models/one_of_firmware_schedule_setting.py new file mode 100644 index 000000000..868907aec --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/one_of_firmware_schedule_setting.py @@ -0,0 +1,84 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class OneOfFirmwareScheduleSetting(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """OneOfFirmwareScheduleSetting - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(OneOfFirmwareScheduleSetting, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, OneOfFirmwareScheduleSetting): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/one_of_profile_details_children.py b/libs/cloudapi/cloudsdk/swagger_client/models/one_of_profile_details_children.py new file mode 100644 index 000000000..eee589e89 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/one_of_profile_details_children.py @@ -0,0 +1,84 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class OneOfProfileDetailsChildren(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """OneOfProfileDetailsChildren - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(OneOfProfileDetailsChildren, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, OneOfProfileDetailsChildren): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/one_of_schedule_setting.py b/libs/cloudapi/cloudsdk/swagger_client/models/one_of_schedule_setting.py new file mode 100644 index 000000000..083b3002f --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/one_of_schedule_setting.py @@ -0,0 +1,84 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class OneOfScheduleSetting(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """OneOfScheduleSetting - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(OneOfScheduleSetting, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, OneOfScheduleSetting): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/one_of_service_metric_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/one_of_service_metric_details.py new file mode 100644 index 000000000..cbb5cf9e2 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/one_of_service_metric_details.py @@ -0,0 +1,84 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class OneOfServiceMetricDetails(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """OneOfServiceMetricDetails - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(OneOfServiceMetricDetails, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, OneOfServiceMetricDetails): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/one_of_status_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/one_of_status_details.py new file mode 100644 index 000000000..33913fc81 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/one_of_status_details.py @@ -0,0 +1,84 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class OneOfStatusDetails(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """OneOfStatusDetails - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(OneOfStatusDetails, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, OneOfStatusDetails): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/one_of_system_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/one_of_system_event.py new file mode 100644 index 000000000..133a0973d --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/one_of_system_event.py @@ -0,0 +1,84 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class OneOfSystemEvent(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """OneOfSystemEvent - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(OneOfSystemEvent, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, OneOfSystemEvent): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/operating_system_performance.py b/libs/cloudapi/cloudsdk/swagger_client/models/operating_system_performance.py new file mode 100644 index 000000000..3d56cee9b --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/operating_system_performance.py @@ -0,0 +1,331 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class OperatingSystemPerformance(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'status_data_type': 'str', + 'num_cami_crashes': 'int', + 'uptime_in_seconds': 'int', + 'avg_cpu_utilization': 'float', + 'avg_cpu_per_core': 'list[float]', + 'avg_free_memory_kb': 'int', + 'total_available_memory_kb': 'int', + 'avg_cpu_temperature': 'float' + } + + attribute_map = { + 'model_type': 'model_type', + 'status_data_type': 'statusDataType', + 'num_cami_crashes': 'numCamiCrashes', + 'uptime_in_seconds': 'uptimeInSeconds', + 'avg_cpu_utilization': 'avgCpuUtilization', + 'avg_cpu_per_core': 'avgCpuPerCore', + 'avg_free_memory_kb': 'avgFreeMemoryKb', + 'total_available_memory_kb': 'totalAvailableMemoryKb', + 'avg_cpu_temperature': 'avgCpuTemperature' + } + + def __init__(self, model_type=None, status_data_type=None, num_cami_crashes=None, uptime_in_seconds=None, avg_cpu_utilization=None, avg_cpu_per_core=None, avg_free_memory_kb=None, total_available_memory_kb=None, avg_cpu_temperature=None): # noqa: E501 + """OperatingSystemPerformance - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._status_data_type = None + self._num_cami_crashes = None + self._uptime_in_seconds = None + self._avg_cpu_utilization = None + self._avg_cpu_per_core = None + self._avg_free_memory_kb = None + self._total_available_memory_kb = None + self._avg_cpu_temperature = None + self.discriminator = None + self.model_type = model_type + if status_data_type is not None: + self.status_data_type = status_data_type + if num_cami_crashes is not None: + self.num_cami_crashes = num_cami_crashes + if uptime_in_seconds is not None: + self.uptime_in_seconds = uptime_in_seconds + if avg_cpu_utilization is not None: + self.avg_cpu_utilization = avg_cpu_utilization + if avg_cpu_per_core is not None: + self.avg_cpu_per_core = avg_cpu_per_core + if avg_free_memory_kb is not None: + self.avg_free_memory_kb = avg_free_memory_kb + if total_available_memory_kb is not None: + self.total_available_memory_kb = total_available_memory_kb + if avg_cpu_temperature is not None: + self.avg_cpu_temperature = avg_cpu_temperature + + @property + def model_type(self): + """Gets the model_type of this OperatingSystemPerformance. # noqa: E501 + + + :return: The model_type of this OperatingSystemPerformance. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this OperatingSystemPerformance. + + + :param model_type: The model_type of this OperatingSystemPerformance. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + allowed_values = ["OperatingSystemPerformance"] # noqa: E501 + if model_type not in allowed_values: + raise ValueError( + "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 + .format(model_type, allowed_values) + ) + + self._model_type = model_type + + @property + def status_data_type(self): + """Gets the status_data_type of this OperatingSystemPerformance. # noqa: E501 + + + :return: The status_data_type of this OperatingSystemPerformance. # noqa: E501 + :rtype: str + """ + return self._status_data_type + + @status_data_type.setter + def status_data_type(self, status_data_type): + """Sets the status_data_type of this OperatingSystemPerformance. + + + :param status_data_type: The status_data_type of this OperatingSystemPerformance. # noqa: E501 + :type: str + """ + allowed_values = ["OS_PERFORMANCE"] # noqa: E501 + if status_data_type not in allowed_values: + raise ValueError( + "Invalid value for `status_data_type` ({0}), must be one of {1}" # noqa: E501 + .format(status_data_type, allowed_values) + ) + + self._status_data_type = status_data_type + + @property + def num_cami_crashes(self): + """Gets the num_cami_crashes of this OperatingSystemPerformance. # noqa: E501 + + + :return: The num_cami_crashes of this OperatingSystemPerformance. # noqa: E501 + :rtype: int + """ + return self._num_cami_crashes + + @num_cami_crashes.setter + def num_cami_crashes(self, num_cami_crashes): + """Sets the num_cami_crashes of this OperatingSystemPerformance. + + + :param num_cami_crashes: The num_cami_crashes of this OperatingSystemPerformance. # noqa: E501 + :type: int + """ + + self._num_cami_crashes = num_cami_crashes + + @property + def uptime_in_seconds(self): + """Gets the uptime_in_seconds of this OperatingSystemPerformance. # noqa: E501 + + + :return: The uptime_in_seconds of this OperatingSystemPerformance. # noqa: E501 + :rtype: int + """ + return self._uptime_in_seconds + + @uptime_in_seconds.setter + def uptime_in_seconds(self, uptime_in_seconds): + """Sets the uptime_in_seconds of this OperatingSystemPerformance. + + + :param uptime_in_seconds: The uptime_in_seconds of this OperatingSystemPerformance. # noqa: E501 + :type: int + """ + + self._uptime_in_seconds = uptime_in_seconds + + @property + def avg_cpu_utilization(self): + """Gets the avg_cpu_utilization of this OperatingSystemPerformance. # noqa: E501 + + + :return: The avg_cpu_utilization of this OperatingSystemPerformance. # noqa: E501 + :rtype: float + """ + return self._avg_cpu_utilization + + @avg_cpu_utilization.setter + def avg_cpu_utilization(self, avg_cpu_utilization): + """Sets the avg_cpu_utilization of this OperatingSystemPerformance. + + + :param avg_cpu_utilization: The avg_cpu_utilization of this OperatingSystemPerformance. # noqa: E501 + :type: float + """ + + self._avg_cpu_utilization = avg_cpu_utilization + + @property + def avg_cpu_per_core(self): + """Gets the avg_cpu_per_core of this OperatingSystemPerformance. # noqa: E501 + + + :return: The avg_cpu_per_core of this OperatingSystemPerformance. # noqa: E501 + :rtype: list[float] + """ + return self._avg_cpu_per_core + + @avg_cpu_per_core.setter + def avg_cpu_per_core(self, avg_cpu_per_core): + """Sets the avg_cpu_per_core of this OperatingSystemPerformance. + + + :param avg_cpu_per_core: The avg_cpu_per_core of this OperatingSystemPerformance. # noqa: E501 + :type: list[float] + """ + + self._avg_cpu_per_core = avg_cpu_per_core + + @property + def avg_free_memory_kb(self): + """Gets the avg_free_memory_kb of this OperatingSystemPerformance. # noqa: E501 + + + :return: The avg_free_memory_kb of this OperatingSystemPerformance. # noqa: E501 + :rtype: int + """ + return self._avg_free_memory_kb + + @avg_free_memory_kb.setter + def avg_free_memory_kb(self, avg_free_memory_kb): + """Sets the avg_free_memory_kb of this OperatingSystemPerformance. + + + :param avg_free_memory_kb: The avg_free_memory_kb of this OperatingSystemPerformance. # noqa: E501 + :type: int + """ + + self._avg_free_memory_kb = avg_free_memory_kb + + @property + def total_available_memory_kb(self): + """Gets the total_available_memory_kb of this OperatingSystemPerformance. # noqa: E501 + + + :return: The total_available_memory_kb of this OperatingSystemPerformance. # noqa: E501 + :rtype: int + """ + return self._total_available_memory_kb + + @total_available_memory_kb.setter + def total_available_memory_kb(self, total_available_memory_kb): + """Sets the total_available_memory_kb of this OperatingSystemPerformance. + + + :param total_available_memory_kb: The total_available_memory_kb of this OperatingSystemPerformance. # noqa: E501 + :type: int + """ + + self._total_available_memory_kb = total_available_memory_kb + + @property + def avg_cpu_temperature(self): + """Gets the avg_cpu_temperature of this OperatingSystemPerformance. # noqa: E501 + + + :return: The avg_cpu_temperature of this OperatingSystemPerformance. # noqa: E501 + :rtype: float + """ + return self._avg_cpu_temperature + + @avg_cpu_temperature.setter + def avg_cpu_temperature(self, avg_cpu_temperature): + """Sets the avg_cpu_temperature of this OperatingSystemPerformance. + + + :param avg_cpu_temperature: The avg_cpu_temperature of this OperatingSystemPerformance. # noqa: E501 + :type: float + """ + + self._avg_cpu_temperature = avg_cpu_temperature + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(OperatingSystemPerformance, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, OperatingSystemPerformance): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/originator_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/originator_type.py new file mode 100644 index 000000000..e05de83a1 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/originator_type.py @@ -0,0 +1,91 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class OriginatorType(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + AP = "AP" + SWITCH = "SWITCH" + NET = "NET" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """OriginatorType - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(OriginatorType, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, OriginatorType): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_alarm.py b/libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_alarm.py new file mode 100644 index 000000000..d369e03e4 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_alarm.py @@ -0,0 +1,247 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class PaginationContextAlarm(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'max_items_per_page': 'int', + 'last_returned_page_number': 'int', + 'total_items_returned': 'int', + 'last_page': 'bool', + 'cursor': 'str' + } + + attribute_map = { + 'model_type': 'model_type', + 'max_items_per_page': 'maxItemsPerPage', + 'last_returned_page_number': 'lastReturnedPageNumber', + 'total_items_returned': 'totalItemsReturned', + 'last_page': 'lastPage', + 'cursor': 'cursor' + } + + def __init__(self, model_type=None, max_items_per_page=20, last_returned_page_number=None, total_items_returned=None, last_page=None, cursor=None): # noqa: E501 + """PaginationContextAlarm - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._max_items_per_page = None + self._last_returned_page_number = None + self._total_items_returned = None + self._last_page = None + self._cursor = None + self.discriminator = None + if model_type is not None: + self.model_type = model_type + self.max_items_per_page = max_items_per_page + if last_returned_page_number is not None: + self.last_returned_page_number = last_returned_page_number + if total_items_returned is not None: + self.total_items_returned = total_items_returned + if last_page is not None: + self.last_page = last_page + if cursor is not None: + self.cursor = cursor + + @property + def model_type(self): + """Gets the model_type of this PaginationContextAlarm. # noqa: E501 + + + :return: The model_type of this PaginationContextAlarm. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this PaginationContextAlarm. + + + :param model_type: The model_type of this PaginationContextAlarm. # noqa: E501 + :type: str + """ + allowed_values = ["PaginationContext"] # noqa: E501 + if model_type not in allowed_values: + raise ValueError( + "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 + .format(model_type, allowed_values) + ) + + self._model_type = model_type + + @property + def max_items_per_page(self): + """Gets the max_items_per_page of this PaginationContextAlarm. # noqa: E501 + + + :return: The max_items_per_page of this PaginationContextAlarm. # noqa: E501 + :rtype: int + """ + return self._max_items_per_page + + @max_items_per_page.setter + def max_items_per_page(self, max_items_per_page): + """Sets the max_items_per_page of this PaginationContextAlarm. + + + :param max_items_per_page: The max_items_per_page of this PaginationContextAlarm. # noqa: E501 + :type: int + """ + if max_items_per_page is None: + raise ValueError("Invalid value for `max_items_per_page`, must not be `None`") # noqa: E501 + + self._max_items_per_page = max_items_per_page + + @property + def last_returned_page_number(self): + """Gets the last_returned_page_number of this PaginationContextAlarm. # noqa: E501 + + + :return: The last_returned_page_number of this PaginationContextAlarm. # noqa: E501 + :rtype: int + """ + return self._last_returned_page_number + + @last_returned_page_number.setter + def last_returned_page_number(self, last_returned_page_number): + """Sets the last_returned_page_number of this PaginationContextAlarm. + + + :param last_returned_page_number: The last_returned_page_number of this PaginationContextAlarm. # noqa: E501 + :type: int + """ + + self._last_returned_page_number = last_returned_page_number + + @property + def total_items_returned(self): + """Gets the total_items_returned of this PaginationContextAlarm. # noqa: E501 + + + :return: The total_items_returned of this PaginationContextAlarm. # noqa: E501 + :rtype: int + """ + return self._total_items_returned + + @total_items_returned.setter + def total_items_returned(self, total_items_returned): + """Sets the total_items_returned of this PaginationContextAlarm. + + + :param total_items_returned: The total_items_returned of this PaginationContextAlarm. # noqa: E501 + :type: int + """ + + self._total_items_returned = total_items_returned + + @property + def last_page(self): + """Gets the last_page of this PaginationContextAlarm. # noqa: E501 + + + :return: The last_page of this PaginationContextAlarm. # noqa: E501 + :rtype: bool + """ + return self._last_page + + @last_page.setter + def last_page(self, last_page): + """Sets the last_page of this PaginationContextAlarm. + + + :param last_page: The last_page of this PaginationContextAlarm. # noqa: E501 + :type: bool + """ + + self._last_page = last_page + + @property + def cursor(self): + """Gets the cursor of this PaginationContextAlarm. # noqa: E501 + + + :return: The cursor of this PaginationContextAlarm. # noqa: E501 + :rtype: str + """ + return self._cursor + + @cursor.setter + def cursor(self, cursor): + """Sets the cursor of this PaginationContextAlarm. + + + :param cursor: The cursor of this PaginationContextAlarm. # noqa: E501 + :type: str + """ + + self._cursor = cursor + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(PaginationContextAlarm, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, PaginationContextAlarm): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_client.py b/libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_client.py new file mode 100644 index 000000000..1d31bdd36 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_client.py @@ -0,0 +1,247 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class PaginationContextClient(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'max_items_per_page': 'int', + 'last_returned_page_number': 'int', + 'total_items_returned': 'int', + 'last_page': 'bool', + 'cursor': 'str' + } + + attribute_map = { + 'model_type': 'model_type', + 'max_items_per_page': 'maxItemsPerPage', + 'last_returned_page_number': 'lastReturnedPageNumber', + 'total_items_returned': 'totalItemsReturned', + 'last_page': 'lastPage', + 'cursor': 'cursor' + } + + def __init__(self, model_type=None, max_items_per_page=20, last_returned_page_number=None, total_items_returned=None, last_page=None, cursor=None): # noqa: E501 + """PaginationContextClient - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._max_items_per_page = None + self._last_returned_page_number = None + self._total_items_returned = None + self._last_page = None + self._cursor = None + self.discriminator = None + if model_type is not None: + self.model_type = model_type + self.max_items_per_page = max_items_per_page + if last_returned_page_number is not None: + self.last_returned_page_number = last_returned_page_number + if total_items_returned is not None: + self.total_items_returned = total_items_returned + if last_page is not None: + self.last_page = last_page + if cursor is not None: + self.cursor = cursor + + @property + def model_type(self): + """Gets the model_type of this PaginationContextClient. # noqa: E501 + + + :return: The model_type of this PaginationContextClient. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this PaginationContextClient. + + + :param model_type: The model_type of this PaginationContextClient. # noqa: E501 + :type: str + """ + allowed_values = ["PaginationContext"] # noqa: E501 + if model_type not in allowed_values: + raise ValueError( + "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 + .format(model_type, allowed_values) + ) + + self._model_type = model_type + + @property + def max_items_per_page(self): + """Gets the max_items_per_page of this PaginationContextClient. # noqa: E501 + + + :return: The max_items_per_page of this PaginationContextClient. # noqa: E501 + :rtype: int + """ + return self._max_items_per_page + + @max_items_per_page.setter + def max_items_per_page(self, max_items_per_page): + """Sets the max_items_per_page of this PaginationContextClient. + + + :param max_items_per_page: The max_items_per_page of this PaginationContextClient. # noqa: E501 + :type: int + """ + if max_items_per_page is None: + raise ValueError("Invalid value for `max_items_per_page`, must not be `None`") # noqa: E501 + + self._max_items_per_page = max_items_per_page + + @property + def last_returned_page_number(self): + """Gets the last_returned_page_number of this PaginationContextClient. # noqa: E501 + + + :return: The last_returned_page_number of this PaginationContextClient. # noqa: E501 + :rtype: int + """ + return self._last_returned_page_number + + @last_returned_page_number.setter + def last_returned_page_number(self, last_returned_page_number): + """Sets the last_returned_page_number of this PaginationContextClient. + + + :param last_returned_page_number: The last_returned_page_number of this PaginationContextClient. # noqa: E501 + :type: int + """ + + self._last_returned_page_number = last_returned_page_number + + @property + def total_items_returned(self): + """Gets the total_items_returned of this PaginationContextClient. # noqa: E501 + + + :return: The total_items_returned of this PaginationContextClient. # noqa: E501 + :rtype: int + """ + return self._total_items_returned + + @total_items_returned.setter + def total_items_returned(self, total_items_returned): + """Sets the total_items_returned of this PaginationContextClient. + + + :param total_items_returned: The total_items_returned of this PaginationContextClient. # noqa: E501 + :type: int + """ + + self._total_items_returned = total_items_returned + + @property + def last_page(self): + """Gets the last_page of this PaginationContextClient. # noqa: E501 + + + :return: The last_page of this PaginationContextClient. # noqa: E501 + :rtype: bool + """ + return self._last_page + + @last_page.setter + def last_page(self, last_page): + """Sets the last_page of this PaginationContextClient. + + + :param last_page: The last_page of this PaginationContextClient. # noqa: E501 + :type: bool + """ + + self._last_page = last_page + + @property + def cursor(self): + """Gets the cursor of this PaginationContextClient. # noqa: E501 + + + :return: The cursor of this PaginationContextClient. # noqa: E501 + :rtype: str + """ + return self._cursor + + @cursor.setter + def cursor(self, cursor): + """Sets the cursor of this PaginationContextClient. + + + :param cursor: The cursor of this PaginationContextClient. # noqa: E501 + :type: str + """ + + self._cursor = cursor + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(PaginationContextClient, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, PaginationContextClient): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_client_session.py b/libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_client_session.py new file mode 100644 index 000000000..4e77683e3 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_client_session.py @@ -0,0 +1,247 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class PaginationContextClientSession(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'max_items_per_page': 'int', + 'last_returned_page_number': 'int', + 'total_items_returned': 'int', + 'last_page': 'bool', + 'cursor': 'str' + } + + attribute_map = { + 'model_type': 'model_type', + 'max_items_per_page': 'maxItemsPerPage', + 'last_returned_page_number': 'lastReturnedPageNumber', + 'total_items_returned': 'totalItemsReturned', + 'last_page': 'lastPage', + 'cursor': 'cursor' + } + + def __init__(self, model_type=None, max_items_per_page=20, last_returned_page_number=None, total_items_returned=None, last_page=None, cursor=None): # noqa: E501 + """PaginationContextClientSession - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._max_items_per_page = None + self._last_returned_page_number = None + self._total_items_returned = None + self._last_page = None + self._cursor = None + self.discriminator = None + if model_type is not None: + self.model_type = model_type + self.max_items_per_page = max_items_per_page + if last_returned_page_number is not None: + self.last_returned_page_number = last_returned_page_number + if total_items_returned is not None: + self.total_items_returned = total_items_returned + if last_page is not None: + self.last_page = last_page + if cursor is not None: + self.cursor = cursor + + @property + def model_type(self): + """Gets the model_type of this PaginationContextClientSession. # noqa: E501 + + + :return: The model_type of this PaginationContextClientSession. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this PaginationContextClientSession. + + + :param model_type: The model_type of this PaginationContextClientSession. # noqa: E501 + :type: str + """ + allowed_values = ["PaginationContext"] # noqa: E501 + if model_type not in allowed_values: + raise ValueError( + "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 + .format(model_type, allowed_values) + ) + + self._model_type = model_type + + @property + def max_items_per_page(self): + """Gets the max_items_per_page of this PaginationContextClientSession. # noqa: E501 + + + :return: The max_items_per_page of this PaginationContextClientSession. # noqa: E501 + :rtype: int + """ + return self._max_items_per_page + + @max_items_per_page.setter + def max_items_per_page(self, max_items_per_page): + """Sets the max_items_per_page of this PaginationContextClientSession. + + + :param max_items_per_page: The max_items_per_page of this PaginationContextClientSession. # noqa: E501 + :type: int + """ + if max_items_per_page is None: + raise ValueError("Invalid value for `max_items_per_page`, must not be `None`") # noqa: E501 + + self._max_items_per_page = max_items_per_page + + @property + def last_returned_page_number(self): + """Gets the last_returned_page_number of this PaginationContextClientSession. # noqa: E501 + + + :return: The last_returned_page_number of this PaginationContextClientSession. # noqa: E501 + :rtype: int + """ + return self._last_returned_page_number + + @last_returned_page_number.setter + def last_returned_page_number(self, last_returned_page_number): + """Sets the last_returned_page_number of this PaginationContextClientSession. + + + :param last_returned_page_number: The last_returned_page_number of this PaginationContextClientSession. # noqa: E501 + :type: int + """ + + self._last_returned_page_number = last_returned_page_number + + @property + def total_items_returned(self): + """Gets the total_items_returned of this PaginationContextClientSession. # noqa: E501 + + + :return: The total_items_returned of this PaginationContextClientSession. # noqa: E501 + :rtype: int + """ + return self._total_items_returned + + @total_items_returned.setter + def total_items_returned(self, total_items_returned): + """Sets the total_items_returned of this PaginationContextClientSession. + + + :param total_items_returned: The total_items_returned of this PaginationContextClientSession. # noqa: E501 + :type: int + """ + + self._total_items_returned = total_items_returned + + @property + def last_page(self): + """Gets the last_page of this PaginationContextClientSession. # noqa: E501 + + + :return: The last_page of this PaginationContextClientSession. # noqa: E501 + :rtype: bool + """ + return self._last_page + + @last_page.setter + def last_page(self, last_page): + """Sets the last_page of this PaginationContextClientSession. + + + :param last_page: The last_page of this PaginationContextClientSession. # noqa: E501 + :type: bool + """ + + self._last_page = last_page + + @property + def cursor(self): + """Gets the cursor of this PaginationContextClientSession. # noqa: E501 + + + :return: The cursor of this PaginationContextClientSession. # noqa: E501 + :rtype: str + """ + return self._cursor + + @cursor.setter + def cursor(self, cursor): + """Sets the cursor of this PaginationContextClientSession. + + + :param cursor: The cursor of this PaginationContextClientSession. # noqa: E501 + :type: str + """ + + self._cursor = cursor + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(PaginationContextClientSession, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, PaginationContextClientSession): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_equipment.py b/libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_equipment.py new file mode 100644 index 000000000..e0e9079ef --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_equipment.py @@ -0,0 +1,247 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class PaginationContextEquipment(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'max_items_per_page': 'int', + 'last_returned_page_number': 'int', + 'total_items_returned': 'int', + 'last_page': 'bool', + 'cursor': 'str' + } + + attribute_map = { + 'model_type': 'model_type', + 'max_items_per_page': 'maxItemsPerPage', + 'last_returned_page_number': 'lastReturnedPageNumber', + 'total_items_returned': 'totalItemsReturned', + 'last_page': 'lastPage', + 'cursor': 'cursor' + } + + def __init__(self, model_type=None, max_items_per_page=20, last_returned_page_number=None, total_items_returned=None, last_page=None, cursor=None): # noqa: E501 + """PaginationContextEquipment - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._max_items_per_page = None + self._last_returned_page_number = None + self._total_items_returned = None + self._last_page = None + self._cursor = None + self.discriminator = None + if model_type is not None: + self.model_type = model_type + self.max_items_per_page = max_items_per_page + if last_returned_page_number is not None: + self.last_returned_page_number = last_returned_page_number + if total_items_returned is not None: + self.total_items_returned = total_items_returned + if last_page is not None: + self.last_page = last_page + if cursor is not None: + self.cursor = cursor + + @property + def model_type(self): + """Gets the model_type of this PaginationContextEquipment. # noqa: E501 + + + :return: The model_type of this PaginationContextEquipment. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this PaginationContextEquipment. + + + :param model_type: The model_type of this PaginationContextEquipment. # noqa: E501 + :type: str + """ + allowed_values = ["PaginationContext"] # noqa: E501 + if model_type not in allowed_values: + raise ValueError( + "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 + .format(model_type, allowed_values) + ) + + self._model_type = model_type + + @property + def max_items_per_page(self): + """Gets the max_items_per_page of this PaginationContextEquipment. # noqa: E501 + + + :return: The max_items_per_page of this PaginationContextEquipment. # noqa: E501 + :rtype: int + """ + return self._max_items_per_page + + @max_items_per_page.setter + def max_items_per_page(self, max_items_per_page): + """Sets the max_items_per_page of this PaginationContextEquipment. + + + :param max_items_per_page: The max_items_per_page of this PaginationContextEquipment. # noqa: E501 + :type: int + """ + if max_items_per_page is None: + raise ValueError("Invalid value for `max_items_per_page`, must not be `None`") # noqa: E501 + + self._max_items_per_page = max_items_per_page + + @property + def last_returned_page_number(self): + """Gets the last_returned_page_number of this PaginationContextEquipment. # noqa: E501 + + + :return: The last_returned_page_number of this PaginationContextEquipment. # noqa: E501 + :rtype: int + """ + return self._last_returned_page_number + + @last_returned_page_number.setter + def last_returned_page_number(self, last_returned_page_number): + """Sets the last_returned_page_number of this PaginationContextEquipment. + + + :param last_returned_page_number: The last_returned_page_number of this PaginationContextEquipment. # noqa: E501 + :type: int + """ + + self._last_returned_page_number = last_returned_page_number + + @property + def total_items_returned(self): + """Gets the total_items_returned of this PaginationContextEquipment. # noqa: E501 + + + :return: The total_items_returned of this PaginationContextEquipment. # noqa: E501 + :rtype: int + """ + return self._total_items_returned + + @total_items_returned.setter + def total_items_returned(self, total_items_returned): + """Sets the total_items_returned of this PaginationContextEquipment. + + + :param total_items_returned: The total_items_returned of this PaginationContextEquipment. # noqa: E501 + :type: int + """ + + self._total_items_returned = total_items_returned + + @property + def last_page(self): + """Gets the last_page of this PaginationContextEquipment. # noqa: E501 + + + :return: The last_page of this PaginationContextEquipment. # noqa: E501 + :rtype: bool + """ + return self._last_page + + @last_page.setter + def last_page(self, last_page): + """Sets the last_page of this PaginationContextEquipment. + + + :param last_page: The last_page of this PaginationContextEquipment. # noqa: E501 + :type: bool + """ + + self._last_page = last_page + + @property + def cursor(self): + """Gets the cursor of this PaginationContextEquipment. # noqa: E501 + + + :return: The cursor of this PaginationContextEquipment. # noqa: E501 + :rtype: str + """ + return self._cursor + + @cursor.setter + def cursor(self, cursor): + """Sets the cursor of this PaginationContextEquipment. + + + :param cursor: The cursor of this PaginationContextEquipment. # noqa: E501 + :type: str + """ + + self._cursor = cursor + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(PaginationContextEquipment, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, PaginationContextEquipment): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_location.py b/libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_location.py new file mode 100644 index 000000000..faf2c9971 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_location.py @@ -0,0 +1,247 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class PaginationContextLocation(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'max_items_per_page': 'int', + 'last_returned_page_number': 'int', + 'total_items_returned': 'int', + 'last_page': 'bool', + 'cursor': 'str' + } + + attribute_map = { + 'model_type': 'model_type', + 'max_items_per_page': 'maxItemsPerPage', + 'last_returned_page_number': 'lastReturnedPageNumber', + 'total_items_returned': 'totalItemsReturned', + 'last_page': 'lastPage', + 'cursor': 'cursor' + } + + def __init__(self, model_type=None, max_items_per_page=20, last_returned_page_number=None, total_items_returned=None, last_page=None, cursor=None): # noqa: E501 + """PaginationContextLocation - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._max_items_per_page = None + self._last_returned_page_number = None + self._total_items_returned = None + self._last_page = None + self._cursor = None + self.discriminator = None + if model_type is not None: + self.model_type = model_type + self.max_items_per_page = max_items_per_page + if last_returned_page_number is not None: + self.last_returned_page_number = last_returned_page_number + if total_items_returned is not None: + self.total_items_returned = total_items_returned + if last_page is not None: + self.last_page = last_page + if cursor is not None: + self.cursor = cursor + + @property + def model_type(self): + """Gets the model_type of this PaginationContextLocation. # noqa: E501 + + + :return: The model_type of this PaginationContextLocation. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this PaginationContextLocation. + + + :param model_type: The model_type of this PaginationContextLocation. # noqa: E501 + :type: str + """ + allowed_values = ["PaginationContext"] # noqa: E501 + if model_type not in allowed_values: + raise ValueError( + "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 + .format(model_type, allowed_values) + ) + + self._model_type = model_type + + @property + def max_items_per_page(self): + """Gets the max_items_per_page of this PaginationContextLocation. # noqa: E501 + + + :return: The max_items_per_page of this PaginationContextLocation. # noqa: E501 + :rtype: int + """ + return self._max_items_per_page + + @max_items_per_page.setter + def max_items_per_page(self, max_items_per_page): + """Sets the max_items_per_page of this PaginationContextLocation. + + + :param max_items_per_page: The max_items_per_page of this PaginationContextLocation. # noqa: E501 + :type: int + """ + if max_items_per_page is None: + raise ValueError("Invalid value for `max_items_per_page`, must not be `None`") # noqa: E501 + + self._max_items_per_page = max_items_per_page + + @property + def last_returned_page_number(self): + """Gets the last_returned_page_number of this PaginationContextLocation. # noqa: E501 + + + :return: The last_returned_page_number of this PaginationContextLocation. # noqa: E501 + :rtype: int + """ + return self._last_returned_page_number + + @last_returned_page_number.setter + def last_returned_page_number(self, last_returned_page_number): + """Sets the last_returned_page_number of this PaginationContextLocation. + + + :param last_returned_page_number: The last_returned_page_number of this PaginationContextLocation. # noqa: E501 + :type: int + """ + + self._last_returned_page_number = last_returned_page_number + + @property + def total_items_returned(self): + """Gets the total_items_returned of this PaginationContextLocation. # noqa: E501 + + + :return: The total_items_returned of this PaginationContextLocation. # noqa: E501 + :rtype: int + """ + return self._total_items_returned + + @total_items_returned.setter + def total_items_returned(self, total_items_returned): + """Sets the total_items_returned of this PaginationContextLocation. + + + :param total_items_returned: The total_items_returned of this PaginationContextLocation. # noqa: E501 + :type: int + """ + + self._total_items_returned = total_items_returned + + @property + def last_page(self): + """Gets the last_page of this PaginationContextLocation. # noqa: E501 + + + :return: The last_page of this PaginationContextLocation. # noqa: E501 + :rtype: bool + """ + return self._last_page + + @last_page.setter + def last_page(self, last_page): + """Sets the last_page of this PaginationContextLocation. + + + :param last_page: The last_page of this PaginationContextLocation. # noqa: E501 + :type: bool + """ + + self._last_page = last_page + + @property + def cursor(self): + """Gets the cursor of this PaginationContextLocation. # noqa: E501 + + + :return: The cursor of this PaginationContextLocation. # noqa: E501 + :rtype: str + """ + return self._cursor + + @cursor.setter + def cursor(self, cursor): + """Sets the cursor of this PaginationContextLocation. + + + :param cursor: The cursor of this PaginationContextLocation. # noqa: E501 + :type: str + """ + + self._cursor = cursor + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(PaginationContextLocation, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, PaginationContextLocation): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_portal_user.py b/libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_portal_user.py new file mode 100644 index 000000000..38b3cd82a --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_portal_user.py @@ -0,0 +1,247 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class PaginationContextPortalUser(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'max_items_per_page': 'int', + 'last_returned_page_number': 'int', + 'total_items_returned': 'int', + 'last_page': 'bool', + 'cursor': 'str' + } + + attribute_map = { + 'model_type': 'model_type', + 'max_items_per_page': 'maxItemsPerPage', + 'last_returned_page_number': 'lastReturnedPageNumber', + 'total_items_returned': 'totalItemsReturned', + 'last_page': 'lastPage', + 'cursor': 'cursor' + } + + def __init__(self, model_type=None, max_items_per_page=20, last_returned_page_number=None, total_items_returned=None, last_page=None, cursor=None): # noqa: E501 + """PaginationContextPortalUser - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._max_items_per_page = None + self._last_returned_page_number = None + self._total_items_returned = None + self._last_page = None + self._cursor = None + self.discriminator = None + if model_type is not None: + self.model_type = model_type + self.max_items_per_page = max_items_per_page + if last_returned_page_number is not None: + self.last_returned_page_number = last_returned_page_number + if total_items_returned is not None: + self.total_items_returned = total_items_returned + if last_page is not None: + self.last_page = last_page + if cursor is not None: + self.cursor = cursor + + @property + def model_type(self): + """Gets the model_type of this PaginationContextPortalUser. # noqa: E501 + + + :return: The model_type of this PaginationContextPortalUser. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this PaginationContextPortalUser. + + + :param model_type: The model_type of this PaginationContextPortalUser. # noqa: E501 + :type: str + """ + allowed_values = ["PaginationContext"] # noqa: E501 + if model_type not in allowed_values: + raise ValueError( + "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 + .format(model_type, allowed_values) + ) + + self._model_type = model_type + + @property + def max_items_per_page(self): + """Gets the max_items_per_page of this PaginationContextPortalUser. # noqa: E501 + + + :return: The max_items_per_page of this PaginationContextPortalUser. # noqa: E501 + :rtype: int + """ + return self._max_items_per_page + + @max_items_per_page.setter + def max_items_per_page(self, max_items_per_page): + """Sets the max_items_per_page of this PaginationContextPortalUser. + + + :param max_items_per_page: The max_items_per_page of this PaginationContextPortalUser. # noqa: E501 + :type: int + """ + if max_items_per_page is None: + raise ValueError("Invalid value for `max_items_per_page`, must not be `None`") # noqa: E501 + + self._max_items_per_page = max_items_per_page + + @property + def last_returned_page_number(self): + """Gets the last_returned_page_number of this PaginationContextPortalUser. # noqa: E501 + + + :return: The last_returned_page_number of this PaginationContextPortalUser. # noqa: E501 + :rtype: int + """ + return self._last_returned_page_number + + @last_returned_page_number.setter + def last_returned_page_number(self, last_returned_page_number): + """Sets the last_returned_page_number of this PaginationContextPortalUser. + + + :param last_returned_page_number: The last_returned_page_number of this PaginationContextPortalUser. # noqa: E501 + :type: int + """ + + self._last_returned_page_number = last_returned_page_number + + @property + def total_items_returned(self): + """Gets the total_items_returned of this PaginationContextPortalUser. # noqa: E501 + + + :return: The total_items_returned of this PaginationContextPortalUser. # noqa: E501 + :rtype: int + """ + return self._total_items_returned + + @total_items_returned.setter + def total_items_returned(self, total_items_returned): + """Sets the total_items_returned of this PaginationContextPortalUser. + + + :param total_items_returned: The total_items_returned of this PaginationContextPortalUser. # noqa: E501 + :type: int + """ + + self._total_items_returned = total_items_returned + + @property + def last_page(self): + """Gets the last_page of this PaginationContextPortalUser. # noqa: E501 + + + :return: The last_page of this PaginationContextPortalUser. # noqa: E501 + :rtype: bool + """ + return self._last_page + + @last_page.setter + def last_page(self, last_page): + """Sets the last_page of this PaginationContextPortalUser. + + + :param last_page: The last_page of this PaginationContextPortalUser. # noqa: E501 + :type: bool + """ + + self._last_page = last_page + + @property + def cursor(self): + """Gets the cursor of this PaginationContextPortalUser. # noqa: E501 + + + :return: The cursor of this PaginationContextPortalUser. # noqa: E501 + :rtype: str + """ + return self._cursor + + @cursor.setter + def cursor(self, cursor): + """Sets the cursor of this PaginationContextPortalUser. + + + :param cursor: The cursor of this PaginationContextPortalUser. # noqa: E501 + :type: str + """ + + self._cursor = cursor + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(PaginationContextPortalUser, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, PaginationContextPortalUser): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_profile.py b/libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_profile.py new file mode 100644 index 000000000..011f409b4 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_profile.py @@ -0,0 +1,247 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class PaginationContextProfile(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'max_items_per_page': 'int', + 'last_returned_page_number': 'int', + 'total_items_returned': 'int', + 'last_page': 'bool', + 'cursor': 'str' + } + + attribute_map = { + 'model_type': 'model_type', + 'max_items_per_page': 'maxItemsPerPage', + 'last_returned_page_number': 'lastReturnedPageNumber', + 'total_items_returned': 'totalItemsReturned', + 'last_page': 'lastPage', + 'cursor': 'cursor' + } + + def __init__(self, model_type=None, max_items_per_page=20, last_returned_page_number=None, total_items_returned=None, last_page=None, cursor=None): # noqa: E501 + """PaginationContextProfile - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._max_items_per_page = None + self._last_returned_page_number = None + self._total_items_returned = None + self._last_page = None + self._cursor = None + self.discriminator = None + if model_type is not None: + self.model_type = model_type + self.max_items_per_page = max_items_per_page + if last_returned_page_number is not None: + self.last_returned_page_number = last_returned_page_number + if total_items_returned is not None: + self.total_items_returned = total_items_returned + if last_page is not None: + self.last_page = last_page + if cursor is not None: + self.cursor = cursor + + @property + def model_type(self): + """Gets the model_type of this PaginationContextProfile. # noqa: E501 + + + :return: The model_type of this PaginationContextProfile. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this PaginationContextProfile. + + + :param model_type: The model_type of this PaginationContextProfile. # noqa: E501 + :type: str + """ + allowed_values = ["PaginationContext"] # noqa: E501 + if model_type not in allowed_values: + raise ValueError( + "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 + .format(model_type, allowed_values) + ) + + self._model_type = model_type + + @property + def max_items_per_page(self): + """Gets the max_items_per_page of this PaginationContextProfile. # noqa: E501 + + + :return: The max_items_per_page of this PaginationContextProfile. # noqa: E501 + :rtype: int + """ + return self._max_items_per_page + + @max_items_per_page.setter + def max_items_per_page(self, max_items_per_page): + """Sets the max_items_per_page of this PaginationContextProfile. + + + :param max_items_per_page: The max_items_per_page of this PaginationContextProfile. # noqa: E501 + :type: int + """ + if max_items_per_page is None: + raise ValueError("Invalid value for `max_items_per_page`, must not be `None`") # noqa: E501 + + self._max_items_per_page = max_items_per_page + + @property + def last_returned_page_number(self): + """Gets the last_returned_page_number of this PaginationContextProfile. # noqa: E501 + + + :return: The last_returned_page_number of this PaginationContextProfile. # noqa: E501 + :rtype: int + """ + return self._last_returned_page_number + + @last_returned_page_number.setter + def last_returned_page_number(self, last_returned_page_number): + """Sets the last_returned_page_number of this PaginationContextProfile. + + + :param last_returned_page_number: The last_returned_page_number of this PaginationContextProfile. # noqa: E501 + :type: int + """ + + self._last_returned_page_number = last_returned_page_number + + @property + def total_items_returned(self): + """Gets the total_items_returned of this PaginationContextProfile. # noqa: E501 + + + :return: The total_items_returned of this PaginationContextProfile. # noqa: E501 + :rtype: int + """ + return self._total_items_returned + + @total_items_returned.setter + def total_items_returned(self, total_items_returned): + """Sets the total_items_returned of this PaginationContextProfile. + + + :param total_items_returned: The total_items_returned of this PaginationContextProfile. # noqa: E501 + :type: int + """ + + self._total_items_returned = total_items_returned + + @property + def last_page(self): + """Gets the last_page of this PaginationContextProfile. # noqa: E501 + + + :return: The last_page of this PaginationContextProfile. # noqa: E501 + :rtype: bool + """ + return self._last_page + + @last_page.setter + def last_page(self, last_page): + """Sets the last_page of this PaginationContextProfile. + + + :param last_page: The last_page of this PaginationContextProfile. # noqa: E501 + :type: bool + """ + + self._last_page = last_page + + @property + def cursor(self): + """Gets the cursor of this PaginationContextProfile. # noqa: E501 + + + :return: The cursor of this PaginationContextProfile. # noqa: E501 + :rtype: str + """ + return self._cursor + + @cursor.setter + def cursor(self, cursor): + """Sets the cursor of this PaginationContextProfile. + + + :param cursor: The cursor of this PaginationContextProfile. # noqa: E501 + :type: str + """ + + self._cursor = cursor + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(PaginationContextProfile, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, PaginationContextProfile): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_service_metric.py b/libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_service_metric.py new file mode 100644 index 000000000..8b8a192e7 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_service_metric.py @@ -0,0 +1,247 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class PaginationContextServiceMetric(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'max_items_per_page': 'int', + 'last_returned_page_number': 'int', + 'total_items_returned': 'int', + 'last_page': 'bool', + 'cursor': 'str' + } + + attribute_map = { + 'model_type': 'model_type', + 'max_items_per_page': 'maxItemsPerPage', + 'last_returned_page_number': 'lastReturnedPageNumber', + 'total_items_returned': 'totalItemsReturned', + 'last_page': 'lastPage', + 'cursor': 'cursor' + } + + def __init__(self, model_type=None, max_items_per_page=20, last_returned_page_number=None, total_items_returned=None, last_page=None, cursor=None): # noqa: E501 + """PaginationContextServiceMetric - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._max_items_per_page = None + self._last_returned_page_number = None + self._total_items_returned = None + self._last_page = None + self._cursor = None + self.discriminator = None + if model_type is not None: + self.model_type = model_type + self.max_items_per_page = max_items_per_page + if last_returned_page_number is not None: + self.last_returned_page_number = last_returned_page_number + if total_items_returned is not None: + self.total_items_returned = total_items_returned + if last_page is not None: + self.last_page = last_page + if cursor is not None: + self.cursor = cursor + + @property + def model_type(self): + """Gets the model_type of this PaginationContextServiceMetric. # noqa: E501 + + + :return: The model_type of this PaginationContextServiceMetric. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this PaginationContextServiceMetric. + + + :param model_type: The model_type of this PaginationContextServiceMetric. # noqa: E501 + :type: str + """ + allowed_values = ["PaginationContext"] # noqa: E501 + if model_type not in allowed_values: + raise ValueError( + "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 + .format(model_type, allowed_values) + ) + + self._model_type = model_type + + @property + def max_items_per_page(self): + """Gets the max_items_per_page of this PaginationContextServiceMetric. # noqa: E501 + + + :return: The max_items_per_page of this PaginationContextServiceMetric. # noqa: E501 + :rtype: int + """ + return self._max_items_per_page + + @max_items_per_page.setter + def max_items_per_page(self, max_items_per_page): + """Sets the max_items_per_page of this PaginationContextServiceMetric. + + + :param max_items_per_page: The max_items_per_page of this PaginationContextServiceMetric. # noqa: E501 + :type: int + """ + if max_items_per_page is None: + raise ValueError("Invalid value for `max_items_per_page`, must not be `None`") # noqa: E501 + + self._max_items_per_page = max_items_per_page + + @property + def last_returned_page_number(self): + """Gets the last_returned_page_number of this PaginationContextServiceMetric. # noqa: E501 + + + :return: The last_returned_page_number of this PaginationContextServiceMetric. # noqa: E501 + :rtype: int + """ + return self._last_returned_page_number + + @last_returned_page_number.setter + def last_returned_page_number(self, last_returned_page_number): + """Sets the last_returned_page_number of this PaginationContextServiceMetric. + + + :param last_returned_page_number: The last_returned_page_number of this PaginationContextServiceMetric. # noqa: E501 + :type: int + """ + + self._last_returned_page_number = last_returned_page_number + + @property + def total_items_returned(self): + """Gets the total_items_returned of this PaginationContextServiceMetric. # noqa: E501 + + + :return: The total_items_returned of this PaginationContextServiceMetric. # noqa: E501 + :rtype: int + """ + return self._total_items_returned + + @total_items_returned.setter + def total_items_returned(self, total_items_returned): + """Sets the total_items_returned of this PaginationContextServiceMetric. + + + :param total_items_returned: The total_items_returned of this PaginationContextServiceMetric. # noqa: E501 + :type: int + """ + + self._total_items_returned = total_items_returned + + @property + def last_page(self): + """Gets the last_page of this PaginationContextServiceMetric. # noqa: E501 + + + :return: The last_page of this PaginationContextServiceMetric. # noqa: E501 + :rtype: bool + """ + return self._last_page + + @last_page.setter + def last_page(self, last_page): + """Sets the last_page of this PaginationContextServiceMetric. + + + :param last_page: The last_page of this PaginationContextServiceMetric. # noqa: E501 + :type: bool + """ + + self._last_page = last_page + + @property + def cursor(self): + """Gets the cursor of this PaginationContextServiceMetric. # noqa: E501 + + + :return: The cursor of this PaginationContextServiceMetric. # noqa: E501 + :rtype: str + """ + return self._cursor + + @cursor.setter + def cursor(self, cursor): + """Sets the cursor of this PaginationContextServiceMetric. + + + :param cursor: The cursor of this PaginationContextServiceMetric. # noqa: E501 + :type: str + """ + + self._cursor = cursor + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(PaginationContextServiceMetric, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, PaginationContextServiceMetric): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_status.py b/libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_status.py new file mode 100644 index 000000000..09fd3f0cf --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_status.py @@ -0,0 +1,247 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class PaginationContextStatus(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'max_items_per_page': 'int', + 'last_returned_page_number': 'int', + 'total_items_returned': 'int', + 'last_page': 'bool', + 'cursor': 'str' + } + + attribute_map = { + 'model_type': 'model_type', + 'max_items_per_page': 'maxItemsPerPage', + 'last_returned_page_number': 'lastReturnedPageNumber', + 'total_items_returned': 'totalItemsReturned', + 'last_page': 'lastPage', + 'cursor': 'cursor' + } + + def __init__(self, model_type=None, max_items_per_page=20, last_returned_page_number=None, total_items_returned=None, last_page=None, cursor=None): # noqa: E501 + """PaginationContextStatus - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._max_items_per_page = None + self._last_returned_page_number = None + self._total_items_returned = None + self._last_page = None + self._cursor = None + self.discriminator = None + if model_type is not None: + self.model_type = model_type + self.max_items_per_page = max_items_per_page + if last_returned_page_number is not None: + self.last_returned_page_number = last_returned_page_number + if total_items_returned is not None: + self.total_items_returned = total_items_returned + if last_page is not None: + self.last_page = last_page + if cursor is not None: + self.cursor = cursor + + @property + def model_type(self): + """Gets the model_type of this PaginationContextStatus. # noqa: E501 + + + :return: The model_type of this PaginationContextStatus. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this PaginationContextStatus. + + + :param model_type: The model_type of this PaginationContextStatus. # noqa: E501 + :type: str + """ + allowed_values = ["PaginationContext"] # noqa: E501 + if model_type not in allowed_values: + raise ValueError( + "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 + .format(model_type, allowed_values) + ) + + self._model_type = model_type + + @property + def max_items_per_page(self): + """Gets the max_items_per_page of this PaginationContextStatus. # noqa: E501 + + + :return: The max_items_per_page of this PaginationContextStatus. # noqa: E501 + :rtype: int + """ + return self._max_items_per_page + + @max_items_per_page.setter + def max_items_per_page(self, max_items_per_page): + """Sets the max_items_per_page of this PaginationContextStatus. + + + :param max_items_per_page: The max_items_per_page of this PaginationContextStatus. # noqa: E501 + :type: int + """ + if max_items_per_page is None: + raise ValueError("Invalid value for `max_items_per_page`, must not be `None`") # noqa: E501 + + self._max_items_per_page = max_items_per_page + + @property + def last_returned_page_number(self): + """Gets the last_returned_page_number of this PaginationContextStatus. # noqa: E501 + + + :return: The last_returned_page_number of this PaginationContextStatus. # noqa: E501 + :rtype: int + """ + return self._last_returned_page_number + + @last_returned_page_number.setter + def last_returned_page_number(self, last_returned_page_number): + """Sets the last_returned_page_number of this PaginationContextStatus. + + + :param last_returned_page_number: The last_returned_page_number of this PaginationContextStatus. # noqa: E501 + :type: int + """ + + self._last_returned_page_number = last_returned_page_number + + @property + def total_items_returned(self): + """Gets the total_items_returned of this PaginationContextStatus. # noqa: E501 + + + :return: The total_items_returned of this PaginationContextStatus. # noqa: E501 + :rtype: int + """ + return self._total_items_returned + + @total_items_returned.setter + def total_items_returned(self, total_items_returned): + """Sets the total_items_returned of this PaginationContextStatus. + + + :param total_items_returned: The total_items_returned of this PaginationContextStatus. # noqa: E501 + :type: int + """ + + self._total_items_returned = total_items_returned + + @property + def last_page(self): + """Gets the last_page of this PaginationContextStatus. # noqa: E501 + + + :return: The last_page of this PaginationContextStatus. # noqa: E501 + :rtype: bool + """ + return self._last_page + + @last_page.setter + def last_page(self, last_page): + """Sets the last_page of this PaginationContextStatus. + + + :param last_page: The last_page of this PaginationContextStatus. # noqa: E501 + :type: bool + """ + + self._last_page = last_page + + @property + def cursor(self): + """Gets the cursor of this PaginationContextStatus. # noqa: E501 + + + :return: The cursor of this PaginationContextStatus. # noqa: E501 + :rtype: str + """ + return self._cursor + + @cursor.setter + def cursor(self, cursor): + """Sets the cursor of this PaginationContextStatus. + + + :param cursor: The cursor of this PaginationContextStatus. # noqa: E501 + :type: str + """ + + self._cursor = cursor + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(PaginationContextStatus, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, PaginationContextStatus): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_system_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_system_event.py new file mode 100644 index 000000000..b80c5d60f --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_system_event.py @@ -0,0 +1,247 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class PaginationContextSystemEvent(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'max_items_per_page': 'int', + 'last_returned_page_number': 'int', + 'total_items_returned': 'int', + 'last_page': 'bool', + 'cursor': 'str' + } + + attribute_map = { + 'model_type': 'model_type', + 'max_items_per_page': 'maxItemsPerPage', + 'last_returned_page_number': 'lastReturnedPageNumber', + 'total_items_returned': 'totalItemsReturned', + 'last_page': 'lastPage', + 'cursor': 'cursor' + } + + def __init__(self, model_type=None, max_items_per_page=20, last_returned_page_number=None, total_items_returned=None, last_page=None, cursor=None): # noqa: E501 + """PaginationContextSystemEvent - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._max_items_per_page = None + self._last_returned_page_number = None + self._total_items_returned = None + self._last_page = None + self._cursor = None + self.discriminator = None + if model_type is not None: + self.model_type = model_type + self.max_items_per_page = max_items_per_page + if last_returned_page_number is not None: + self.last_returned_page_number = last_returned_page_number + if total_items_returned is not None: + self.total_items_returned = total_items_returned + if last_page is not None: + self.last_page = last_page + if cursor is not None: + self.cursor = cursor + + @property + def model_type(self): + """Gets the model_type of this PaginationContextSystemEvent. # noqa: E501 + + + :return: The model_type of this PaginationContextSystemEvent. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this PaginationContextSystemEvent. + + + :param model_type: The model_type of this PaginationContextSystemEvent. # noqa: E501 + :type: str + """ + allowed_values = ["PaginationContext"] # noqa: E501 + if model_type not in allowed_values: + raise ValueError( + "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 + .format(model_type, allowed_values) + ) + + self._model_type = model_type + + @property + def max_items_per_page(self): + """Gets the max_items_per_page of this PaginationContextSystemEvent. # noqa: E501 + + + :return: The max_items_per_page of this PaginationContextSystemEvent. # noqa: E501 + :rtype: int + """ + return self._max_items_per_page + + @max_items_per_page.setter + def max_items_per_page(self, max_items_per_page): + """Sets the max_items_per_page of this PaginationContextSystemEvent. + + + :param max_items_per_page: The max_items_per_page of this PaginationContextSystemEvent. # noqa: E501 + :type: int + """ + if max_items_per_page is None: + raise ValueError("Invalid value for `max_items_per_page`, must not be `None`") # noqa: E501 + + self._max_items_per_page = max_items_per_page + + @property + def last_returned_page_number(self): + """Gets the last_returned_page_number of this PaginationContextSystemEvent. # noqa: E501 + + + :return: The last_returned_page_number of this PaginationContextSystemEvent. # noqa: E501 + :rtype: int + """ + return self._last_returned_page_number + + @last_returned_page_number.setter + def last_returned_page_number(self, last_returned_page_number): + """Sets the last_returned_page_number of this PaginationContextSystemEvent. + + + :param last_returned_page_number: The last_returned_page_number of this PaginationContextSystemEvent. # noqa: E501 + :type: int + """ + + self._last_returned_page_number = last_returned_page_number + + @property + def total_items_returned(self): + """Gets the total_items_returned of this PaginationContextSystemEvent. # noqa: E501 + + + :return: The total_items_returned of this PaginationContextSystemEvent. # noqa: E501 + :rtype: int + """ + return self._total_items_returned + + @total_items_returned.setter + def total_items_returned(self, total_items_returned): + """Sets the total_items_returned of this PaginationContextSystemEvent. + + + :param total_items_returned: The total_items_returned of this PaginationContextSystemEvent. # noqa: E501 + :type: int + """ + + self._total_items_returned = total_items_returned + + @property + def last_page(self): + """Gets the last_page of this PaginationContextSystemEvent. # noqa: E501 + + + :return: The last_page of this PaginationContextSystemEvent. # noqa: E501 + :rtype: bool + """ + return self._last_page + + @last_page.setter + def last_page(self, last_page): + """Sets the last_page of this PaginationContextSystemEvent. + + + :param last_page: The last_page of this PaginationContextSystemEvent. # noqa: E501 + :type: bool + """ + + self._last_page = last_page + + @property + def cursor(self): + """Gets the cursor of this PaginationContextSystemEvent. # noqa: E501 + + + :return: The cursor of this PaginationContextSystemEvent. # noqa: E501 + :rtype: str + """ + return self._cursor + + @cursor.setter + def cursor(self, cursor): + """Sets the cursor of this PaginationContextSystemEvent. + + + :param cursor: The cursor of this PaginationContextSystemEvent. # noqa: E501 + :type: str + """ + + self._cursor = cursor + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(PaginationContextSystemEvent, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, PaginationContextSystemEvent): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_alarm.py b/libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_alarm.py new file mode 100644 index 000000000..190cb6499 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_alarm.py @@ -0,0 +1,136 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class PaginationResponseAlarm(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'items': 'list[Alarm]', + 'context': 'PaginationContextAlarm' + } + + attribute_map = { + 'items': 'items', + 'context': 'context' + } + + def __init__(self, items=None, context=None): # noqa: E501 + """PaginationResponseAlarm - a model defined in Swagger""" # noqa: E501 + self._items = None + self._context = None + self.discriminator = None + if items is not None: + self.items = items + if context is not None: + self.context = context + + @property + def items(self): + """Gets the items of this PaginationResponseAlarm. # noqa: E501 + + + :return: The items of this PaginationResponseAlarm. # noqa: E501 + :rtype: list[Alarm] + """ + return self._items + + @items.setter + def items(self, items): + """Sets the items of this PaginationResponseAlarm. + + + :param items: The items of this PaginationResponseAlarm. # noqa: E501 + :type: list[Alarm] + """ + + self._items = items + + @property + def context(self): + """Gets the context of this PaginationResponseAlarm. # noqa: E501 + + + :return: The context of this PaginationResponseAlarm. # noqa: E501 + :rtype: PaginationContextAlarm + """ + return self._context + + @context.setter + def context(self, context): + """Sets the context of this PaginationResponseAlarm. + + + :param context: The context of this PaginationResponseAlarm. # noqa: E501 + :type: PaginationContextAlarm + """ + + self._context = context + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(PaginationResponseAlarm, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, PaginationResponseAlarm): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_client.py b/libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_client.py new file mode 100644 index 000000000..aa8c1eb24 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_client.py @@ -0,0 +1,136 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class PaginationResponseClient(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'items': 'list[Client]', + 'context': 'PaginationContextClient' + } + + attribute_map = { + 'items': 'items', + 'context': 'context' + } + + def __init__(self, items=None, context=None): # noqa: E501 + """PaginationResponseClient - a model defined in Swagger""" # noqa: E501 + self._items = None + self._context = None + self.discriminator = None + if items is not None: + self.items = items + if context is not None: + self.context = context + + @property + def items(self): + """Gets the items of this PaginationResponseClient. # noqa: E501 + + + :return: The items of this PaginationResponseClient. # noqa: E501 + :rtype: list[Client] + """ + return self._items + + @items.setter + def items(self, items): + """Sets the items of this PaginationResponseClient. + + + :param items: The items of this PaginationResponseClient. # noqa: E501 + :type: list[Client] + """ + + self._items = items + + @property + def context(self): + """Gets the context of this PaginationResponseClient. # noqa: E501 + + + :return: The context of this PaginationResponseClient. # noqa: E501 + :rtype: PaginationContextClient + """ + return self._context + + @context.setter + def context(self, context): + """Sets the context of this PaginationResponseClient. + + + :param context: The context of this PaginationResponseClient. # noqa: E501 + :type: PaginationContextClient + """ + + self._context = context + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(PaginationResponseClient, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, PaginationResponseClient): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_client_session.py b/libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_client_session.py new file mode 100644 index 000000000..af5604a02 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_client_session.py @@ -0,0 +1,136 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class PaginationResponseClientSession(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'items': 'list[ClientSession]', + 'context': 'PaginationContextClientSession' + } + + attribute_map = { + 'items': 'items', + 'context': 'context' + } + + def __init__(self, items=None, context=None): # noqa: E501 + """PaginationResponseClientSession - a model defined in Swagger""" # noqa: E501 + self._items = None + self._context = None + self.discriminator = None + if items is not None: + self.items = items + if context is not None: + self.context = context + + @property + def items(self): + """Gets the items of this PaginationResponseClientSession. # noqa: E501 + + + :return: The items of this PaginationResponseClientSession. # noqa: E501 + :rtype: list[ClientSession] + """ + return self._items + + @items.setter + def items(self, items): + """Sets the items of this PaginationResponseClientSession. + + + :param items: The items of this PaginationResponseClientSession. # noqa: E501 + :type: list[ClientSession] + """ + + self._items = items + + @property + def context(self): + """Gets the context of this PaginationResponseClientSession. # noqa: E501 + + + :return: The context of this PaginationResponseClientSession. # noqa: E501 + :rtype: PaginationContextClientSession + """ + return self._context + + @context.setter + def context(self, context): + """Sets the context of this PaginationResponseClientSession. + + + :param context: The context of this PaginationResponseClientSession. # noqa: E501 + :type: PaginationContextClientSession + """ + + self._context = context + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(PaginationResponseClientSession, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, PaginationResponseClientSession): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_equipment.py b/libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_equipment.py new file mode 100644 index 000000000..93c7a5ca7 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_equipment.py @@ -0,0 +1,136 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class PaginationResponseEquipment(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'items': 'list[Equipment]', + 'context': 'PaginationContextEquipment' + } + + attribute_map = { + 'items': 'items', + 'context': 'context' + } + + def __init__(self, items=None, context=None): # noqa: E501 + """PaginationResponseEquipment - a model defined in Swagger""" # noqa: E501 + self._items = None + self._context = None + self.discriminator = None + if items is not None: + self.items = items + if context is not None: + self.context = context + + @property + def items(self): + """Gets the items of this PaginationResponseEquipment. # noqa: E501 + + + :return: The items of this PaginationResponseEquipment. # noqa: E501 + :rtype: list[Equipment] + """ + return self._items + + @items.setter + def items(self, items): + """Sets the items of this PaginationResponseEquipment. + + + :param items: The items of this PaginationResponseEquipment. # noqa: E501 + :type: list[Equipment] + """ + + self._items = items + + @property + def context(self): + """Gets the context of this PaginationResponseEquipment. # noqa: E501 + + + :return: The context of this PaginationResponseEquipment. # noqa: E501 + :rtype: PaginationContextEquipment + """ + return self._context + + @context.setter + def context(self, context): + """Sets the context of this PaginationResponseEquipment. + + + :param context: The context of this PaginationResponseEquipment. # noqa: E501 + :type: PaginationContextEquipment + """ + + self._context = context + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(PaginationResponseEquipment, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, PaginationResponseEquipment): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_location.py b/libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_location.py new file mode 100644 index 000000000..773db0e05 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_location.py @@ -0,0 +1,136 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class PaginationResponseLocation(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'items': 'list[Location]', + 'context': 'PaginationContextLocation' + } + + attribute_map = { + 'items': 'items', + 'context': 'context' + } + + def __init__(self, items=None, context=None): # noqa: E501 + """PaginationResponseLocation - a model defined in Swagger""" # noqa: E501 + self._items = None + self._context = None + self.discriminator = None + if items is not None: + self.items = items + if context is not None: + self.context = context + + @property + def items(self): + """Gets the items of this PaginationResponseLocation. # noqa: E501 + + + :return: The items of this PaginationResponseLocation. # noqa: E501 + :rtype: list[Location] + """ + return self._items + + @items.setter + def items(self, items): + """Sets the items of this PaginationResponseLocation. + + + :param items: The items of this PaginationResponseLocation. # noqa: E501 + :type: list[Location] + """ + + self._items = items + + @property + def context(self): + """Gets the context of this PaginationResponseLocation. # noqa: E501 + + + :return: The context of this PaginationResponseLocation. # noqa: E501 + :rtype: PaginationContextLocation + """ + return self._context + + @context.setter + def context(self, context): + """Sets the context of this PaginationResponseLocation. + + + :param context: The context of this PaginationResponseLocation. # noqa: E501 + :type: PaginationContextLocation + """ + + self._context = context + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(PaginationResponseLocation, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, PaginationResponseLocation): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_portal_user.py b/libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_portal_user.py new file mode 100644 index 000000000..3b8360dd7 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_portal_user.py @@ -0,0 +1,136 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class PaginationResponsePortalUser(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'items': 'list[PortalUser]', + 'context': 'PaginationContextPortalUser' + } + + attribute_map = { + 'items': 'items', + 'context': 'context' + } + + def __init__(self, items=None, context=None): # noqa: E501 + """PaginationResponsePortalUser - a model defined in Swagger""" # noqa: E501 + self._items = None + self._context = None + self.discriminator = None + if items is not None: + self.items = items + if context is not None: + self.context = context + + @property + def items(self): + """Gets the items of this PaginationResponsePortalUser. # noqa: E501 + + + :return: The items of this PaginationResponsePortalUser. # noqa: E501 + :rtype: list[PortalUser] + """ + return self._items + + @items.setter + def items(self, items): + """Sets the items of this PaginationResponsePortalUser. + + + :param items: The items of this PaginationResponsePortalUser. # noqa: E501 + :type: list[PortalUser] + """ + + self._items = items + + @property + def context(self): + """Gets the context of this PaginationResponsePortalUser. # noqa: E501 + + + :return: The context of this PaginationResponsePortalUser. # noqa: E501 + :rtype: PaginationContextPortalUser + """ + return self._context + + @context.setter + def context(self, context): + """Sets the context of this PaginationResponsePortalUser. + + + :param context: The context of this PaginationResponsePortalUser. # noqa: E501 + :type: PaginationContextPortalUser + """ + + self._context = context + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(PaginationResponsePortalUser, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, PaginationResponsePortalUser): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_profile.py b/libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_profile.py new file mode 100644 index 000000000..720888012 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_profile.py @@ -0,0 +1,136 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class PaginationResponseProfile(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'items': 'list[Profile]', + 'context': 'PaginationContextProfile' + } + + attribute_map = { + 'items': 'items', + 'context': 'context' + } + + def __init__(self, items=None, context=None): # noqa: E501 + """PaginationResponseProfile - a model defined in Swagger""" # noqa: E501 + self._items = None + self._context = None + self.discriminator = None + if items is not None: + self.items = items + if context is not None: + self.context = context + + @property + def items(self): + """Gets the items of this PaginationResponseProfile. # noqa: E501 + + + :return: The items of this PaginationResponseProfile. # noqa: E501 + :rtype: list[Profile] + """ + return self._items + + @items.setter + def items(self, items): + """Sets the items of this PaginationResponseProfile. + + + :param items: The items of this PaginationResponseProfile. # noqa: E501 + :type: list[Profile] + """ + + self._items = items + + @property + def context(self): + """Gets the context of this PaginationResponseProfile. # noqa: E501 + + + :return: The context of this PaginationResponseProfile. # noqa: E501 + :rtype: PaginationContextProfile + """ + return self._context + + @context.setter + def context(self, context): + """Sets the context of this PaginationResponseProfile. + + + :param context: The context of this PaginationResponseProfile. # noqa: E501 + :type: PaginationContextProfile + """ + + self._context = context + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(PaginationResponseProfile, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, PaginationResponseProfile): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_service_metric.py b/libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_service_metric.py new file mode 100644 index 000000000..8ff03e07c --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_service_metric.py @@ -0,0 +1,136 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class PaginationResponseServiceMetric(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'items': 'list[ServiceMetric]', + 'context': 'PaginationContextServiceMetric' + } + + attribute_map = { + 'items': 'items', + 'context': 'context' + } + + def __init__(self, items=None, context=None): # noqa: E501 + """PaginationResponseServiceMetric - a model defined in Swagger""" # noqa: E501 + self._items = None + self._context = None + self.discriminator = None + if items is not None: + self.items = items + if context is not None: + self.context = context + + @property + def items(self): + """Gets the items of this PaginationResponseServiceMetric. # noqa: E501 + + + :return: The items of this PaginationResponseServiceMetric. # noqa: E501 + :rtype: list[ServiceMetric] + """ + return self._items + + @items.setter + def items(self, items): + """Sets the items of this PaginationResponseServiceMetric. + + + :param items: The items of this PaginationResponseServiceMetric. # noqa: E501 + :type: list[ServiceMetric] + """ + + self._items = items + + @property + def context(self): + """Gets the context of this PaginationResponseServiceMetric. # noqa: E501 + + + :return: The context of this PaginationResponseServiceMetric. # noqa: E501 + :rtype: PaginationContextServiceMetric + """ + return self._context + + @context.setter + def context(self, context): + """Sets the context of this PaginationResponseServiceMetric. + + + :param context: The context of this PaginationResponseServiceMetric. # noqa: E501 + :type: PaginationContextServiceMetric + """ + + self._context = context + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(PaginationResponseServiceMetric, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, PaginationResponseServiceMetric): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_status.py b/libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_status.py new file mode 100644 index 000000000..f74638464 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_status.py @@ -0,0 +1,136 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class PaginationResponseStatus(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'items': 'list[Status]', + 'context': 'PaginationContextStatus' + } + + attribute_map = { + 'items': 'items', + 'context': 'context' + } + + def __init__(self, items=None, context=None): # noqa: E501 + """PaginationResponseStatus - a model defined in Swagger""" # noqa: E501 + self._items = None + self._context = None + self.discriminator = None + if items is not None: + self.items = items + if context is not None: + self.context = context + + @property + def items(self): + """Gets the items of this PaginationResponseStatus. # noqa: E501 + + + :return: The items of this PaginationResponseStatus. # noqa: E501 + :rtype: list[Status] + """ + return self._items + + @items.setter + def items(self, items): + """Sets the items of this PaginationResponseStatus. + + + :param items: The items of this PaginationResponseStatus. # noqa: E501 + :type: list[Status] + """ + + self._items = items + + @property + def context(self): + """Gets the context of this PaginationResponseStatus. # noqa: E501 + + + :return: The context of this PaginationResponseStatus. # noqa: E501 + :rtype: PaginationContextStatus + """ + return self._context + + @context.setter + def context(self, context): + """Sets the context of this PaginationResponseStatus. + + + :param context: The context of this PaginationResponseStatus. # noqa: E501 + :type: PaginationContextStatus + """ + + self._context = context + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(PaginationResponseStatus, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, PaginationResponseStatus): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_system_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_system_event.py new file mode 100644 index 000000000..a729fec86 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_system_event.py @@ -0,0 +1,136 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class PaginationResponseSystemEvent(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'items': 'list[SystemEventRecord]', + 'context': 'PaginationContextSystemEvent' + } + + attribute_map = { + 'items': 'items', + 'context': 'context' + } + + def __init__(self, items=None, context=None): # noqa: E501 + """PaginationResponseSystemEvent - a model defined in Swagger""" # noqa: E501 + self._items = None + self._context = None + self.discriminator = None + if items is not None: + self.items = items + if context is not None: + self.context = context + + @property + def items(self): + """Gets the items of this PaginationResponseSystemEvent. # noqa: E501 + + + :return: The items of this PaginationResponseSystemEvent. # noqa: E501 + :rtype: list[SystemEventRecord] + """ + return self._items + + @items.setter + def items(self, items): + """Sets the items of this PaginationResponseSystemEvent. + + + :param items: The items of this PaginationResponseSystemEvent. # noqa: E501 + :type: list[SystemEventRecord] + """ + + self._items = items + + @property + def context(self): + """Gets the context of this PaginationResponseSystemEvent. # noqa: E501 + + + :return: The context of this PaginationResponseSystemEvent. # noqa: E501 + :rtype: PaginationContextSystemEvent + """ + return self._context + + @context.setter + def context(self, context): + """Sets the context of this PaginationResponseSystemEvent. + + + :param context: The context of this PaginationResponseSystemEvent. # noqa: E501 + :type: PaginationContextSystemEvent + """ + + self._context = context + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(PaginationResponseSystemEvent, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, PaginationResponseSystemEvent): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/pair_long_long.py b/libs/cloudapi/cloudsdk/swagger_client/models/pair_long_long.py new file mode 100644 index 000000000..61e7a6c9e --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/pair_long_long.py @@ -0,0 +1,136 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class PairLongLong(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'value1': 'int', + 'value2': 'int' + } + + attribute_map = { + 'value1': 'value1', + 'value2': 'value2' + } + + def __init__(self, value1=None, value2=None): # noqa: E501 + """PairLongLong - a model defined in Swagger""" # noqa: E501 + self._value1 = None + self._value2 = None + self.discriminator = None + if value1 is not None: + self.value1 = value1 + if value2 is not None: + self.value2 = value2 + + @property + def value1(self): + """Gets the value1 of this PairLongLong. # noqa: E501 + + + :return: The value1 of this PairLongLong. # noqa: E501 + :rtype: int + """ + return self._value1 + + @value1.setter + def value1(self, value1): + """Sets the value1 of this PairLongLong. + + + :param value1: The value1 of this PairLongLong. # noqa: E501 + :type: int + """ + + self._value1 = value1 + + @property + def value2(self): + """Gets the value2 of this PairLongLong. # noqa: E501 + + + :return: The value2 of this PairLongLong. # noqa: E501 + :rtype: int + """ + return self._value2 + + @value2.setter + def value2(self, value2): + """Sets the value2 of this PairLongLong. + + + :param value2: The value2 of this PairLongLong. # noqa: E501 + :type: int + """ + + self._value2 = value2 + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(PairLongLong, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, PairLongLong): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_access_network_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_access_network_type.py new file mode 100644 index 000000000..ba6de56e1 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_access_network_type.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class PasspointAccessNetworkType(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + PRIVATE_NETWORK = "private_network" + PRIVATE_NETWORK_GUEST_ACCESS = "private_network_guest_access" + CHANGEABLE_PUBLIC_NETWORK = "changeable_public_network" + FREE_PUBLIC_NETWORK = "free_public_network" + PERSON_DEVICE_NETWORK = "person_device_network" + EMERGENCY_SERVICES_ONLY_NETWORK = "emergency_services_only_network" + TEST_OR_EXPERIMENTAL = "test_or_experimental" + WILDCARD = "wildcard" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """PasspointAccessNetworkType - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(PasspointAccessNetworkType, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, PasspointAccessNetworkType): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_connection_capabilities_ip_protocol.py b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_connection_capabilities_ip_protocol.py new file mode 100644 index 000000000..27283bf5b --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_connection_capabilities_ip_protocol.py @@ -0,0 +1,91 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class PasspointConnectionCapabilitiesIpProtocol(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + ICMP = "ICMP" + TCP = "TCP" + UDP = "UDP" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """PasspointConnectionCapabilitiesIpProtocol - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(PasspointConnectionCapabilitiesIpProtocol, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, PasspointConnectionCapabilitiesIpProtocol): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_connection_capabilities_status.py b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_connection_capabilities_status.py new file mode 100644 index 000000000..dff2c15b1 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_connection_capabilities_status.py @@ -0,0 +1,91 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class PasspointConnectionCapabilitiesStatus(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + CLOSED = "closed" + OPEN = "open" + UNKNOWN = "unknown" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """PasspointConnectionCapabilitiesStatus - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(PasspointConnectionCapabilitiesStatus, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, PasspointConnectionCapabilitiesStatus): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_connection_capability.py b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_connection_capability.py new file mode 100644 index 000000000..65b873376 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_connection_capability.py @@ -0,0 +1,162 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class PasspointConnectionCapability(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'connection_capabilities_port_number': 'int', + 'connection_capabilities_ip_protocol': 'PasspointConnectionCapabilitiesIpProtocol', + 'connection_capabilities_status': 'PasspointConnectionCapabilitiesStatus' + } + + attribute_map = { + 'connection_capabilities_port_number': 'connectionCapabilitiesPortNumber', + 'connection_capabilities_ip_protocol': 'connectionCapabilitiesIpProtocol', + 'connection_capabilities_status': 'connectionCapabilitiesStatus' + } + + def __init__(self, connection_capabilities_port_number=None, connection_capabilities_ip_protocol=None, connection_capabilities_status=None): # noqa: E501 + """PasspointConnectionCapability - a model defined in Swagger""" # noqa: E501 + self._connection_capabilities_port_number = None + self._connection_capabilities_ip_protocol = None + self._connection_capabilities_status = None + self.discriminator = None + if connection_capabilities_port_number is not None: + self.connection_capabilities_port_number = connection_capabilities_port_number + if connection_capabilities_ip_protocol is not None: + self.connection_capabilities_ip_protocol = connection_capabilities_ip_protocol + if connection_capabilities_status is not None: + self.connection_capabilities_status = connection_capabilities_status + + @property + def connection_capabilities_port_number(self): + """Gets the connection_capabilities_port_number of this PasspointConnectionCapability. # noqa: E501 + + + :return: The connection_capabilities_port_number of this PasspointConnectionCapability. # noqa: E501 + :rtype: int + """ + return self._connection_capabilities_port_number + + @connection_capabilities_port_number.setter + def connection_capabilities_port_number(self, connection_capabilities_port_number): + """Sets the connection_capabilities_port_number of this PasspointConnectionCapability. + + + :param connection_capabilities_port_number: The connection_capabilities_port_number of this PasspointConnectionCapability. # noqa: E501 + :type: int + """ + + self._connection_capabilities_port_number = connection_capabilities_port_number + + @property + def connection_capabilities_ip_protocol(self): + """Gets the connection_capabilities_ip_protocol of this PasspointConnectionCapability. # noqa: E501 + + + :return: The connection_capabilities_ip_protocol of this PasspointConnectionCapability. # noqa: E501 + :rtype: PasspointConnectionCapabilitiesIpProtocol + """ + return self._connection_capabilities_ip_protocol + + @connection_capabilities_ip_protocol.setter + def connection_capabilities_ip_protocol(self, connection_capabilities_ip_protocol): + """Sets the connection_capabilities_ip_protocol of this PasspointConnectionCapability. + + + :param connection_capabilities_ip_protocol: The connection_capabilities_ip_protocol of this PasspointConnectionCapability. # noqa: E501 + :type: PasspointConnectionCapabilitiesIpProtocol + """ + + self._connection_capabilities_ip_protocol = connection_capabilities_ip_protocol + + @property + def connection_capabilities_status(self): + """Gets the connection_capabilities_status of this PasspointConnectionCapability. # noqa: E501 + + + :return: The connection_capabilities_status of this PasspointConnectionCapability. # noqa: E501 + :rtype: PasspointConnectionCapabilitiesStatus + """ + return self._connection_capabilities_status + + @connection_capabilities_status.setter + def connection_capabilities_status(self, connection_capabilities_status): + """Sets the connection_capabilities_status of this PasspointConnectionCapability. + + + :param connection_capabilities_status: The connection_capabilities_status of this PasspointConnectionCapability. # noqa: E501 + :type: PasspointConnectionCapabilitiesStatus + """ + + self._connection_capabilities_status = connection_capabilities_status + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(PasspointConnectionCapability, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, PasspointConnectionCapability): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_duple.py b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_duple.py new file mode 100644 index 000000000..9f4f8ecbb --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_duple.py @@ -0,0 +1,194 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class PasspointDuple(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'locale': 'str', + 'duple_iso3_language': 'str', + 'duple_name': 'str', + 'default_duple_separator': 'str' + } + + attribute_map = { + 'locale': 'locale', + 'duple_iso3_language': 'dupleIso3Language', + 'duple_name': 'dupleName', + 'default_duple_separator': 'defaultDupleSeparator' + } + + def __init__(self, locale=None, duple_iso3_language=None, duple_name=None, default_duple_separator=None): # noqa: E501 + """PasspointDuple - a model defined in Swagger""" # noqa: E501 + self._locale = None + self._duple_iso3_language = None + self._duple_name = None + self._default_duple_separator = None + self.discriminator = None + if locale is not None: + self.locale = locale + if duple_iso3_language is not None: + self.duple_iso3_language = duple_iso3_language + if duple_name is not None: + self.duple_name = duple_name + if default_duple_separator is not None: + self.default_duple_separator = default_duple_separator + + @property + def locale(self): + """Gets the locale of this PasspointDuple. # noqa: E501 + + The locale for this duple. # noqa: E501 + + :return: The locale of this PasspointDuple. # noqa: E501 + :rtype: str + """ + return self._locale + + @locale.setter + def locale(self, locale): + """Sets the locale of this PasspointDuple. + + The locale for this duple. # noqa: E501 + + :param locale: The locale of this PasspointDuple. # noqa: E501 + :type: str + """ + + self._locale = locale + + @property + def duple_iso3_language(self): + """Gets the duple_iso3_language of this PasspointDuple. # noqa: E501 + + 3 letter iso language representation based on locale # noqa: E501 + + :return: The duple_iso3_language of this PasspointDuple. # noqa: E501 + :rtype: str + """ + return self._duple_iso3_language + + @duple_iso3_language.setter + def duple_iso3_language(self, duple_iso3_language): + """Sets the duple_iso3_language of this PasspointDuple. + + 3 letter iso language representation based on locale # noqa: E501 + + :param duple_iso3_language: The duple_iso3_language of this PasspointDuple. # noqa: E501 + :type: str + """ + + self._duple_iso3_language = duple_iso3_language + + @property + def duple_name(self): + """Gets the duple_name of this PasspointDuple. # noqa: E501 + + + :return: The duple_name of this PasspointDuple. # noqa: E501 + :rtype: str + """ + return self._duple_name + + @duple_name.setter + def duple_name(self, duple_name): + """Sets the duple_name of this PasspointDuple. + + + :param duple_name: The duple_name of this PasspointDuple. # noqa: E501 + :type: str + """ + + self._duple_name = duple_name + + @property + def default_duple_separator(self): + """Gets the default_duple_separator of this PasspointDuple. # noqa: E501 + + default separator between the values of a duple, by default it is a ':' # noqa: E501 + + :return: The default_duple_separator of this PasspointDuple. # noqa: E501 + :rtype: str + """ + return self._default_duple_separator + + @default_duple_separator.setter + def default_duple_separator(self, default_duple_separator): + """Sets the default_duple_separator of this PasspointDuple. + + default separator between the values of a duple, by default it is a ':' # noqa: E501 + + :param default_duple_separator: The default_duple_separator of this PasspointDuple. # noqa: E501 + :type: str + """ + + self._default_duple_separator = default_duple_separator + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(PasspointDuple, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, PasspointDuple): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_eap_methods.py b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_eap_methods.py new file mode 100644 index 000000000..d9f197551 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_eap_methods.py @@ -0,0 +1,93 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class PasspointEapMethods(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + TLS = "eap_tls" + TTLS = "eap_ttls" + AKA_AUTHENTICATION = "eap_aka_authentication" + MSCHAP_V2 = "eap_mschap_v2" + AKA = "eap_aka" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """PasspointEapMethods - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(PasspointEapMethods, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, PasspointEapMethods): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_gas_address3_behaviour.py b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_gas_address3_behaviour.py new file mode 100644 index 000000000..9b412c1b2 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_gas_address3_behaviour.py @@ -0,0 +1,91 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class PasspointGasAddress3Behaviour(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + P2PSPECWORKAROUNDFROMREQUEST = "p2pSpecWorkaroundFromRequest" + IEEE80211STANDARDCOMPLIANTONLY = "ieee80211StandardCompliantOnly" + FORCENONCOMPLIANTBEHAVIOURFROMREQUEST = "forceNonCompliantBehaviourFromRequest" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """PasspointGasAddress3Behaviour - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(PasspointGasAddress3Behaviour, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, PasspointGasAddress3Behaviour): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_i_pv4_address_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_i_pv4_address_type.py new file mode 100644 index 000000000..ba747bb75 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_i_pv4_address_type.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class PasspointIPv4AddressType(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + ADDRESS_TYPE_NOT_AVAILABLE = "address_type_not_available" + PUBLIC_IPV4_ADDRESS_AVAILABLE = "public_IPv4_address_available" + PORT_RESTRICTED_IPV4_ADDRESS_AVAILABLE = "port_restricted_IPv4_address_available" + SINGLE_NATED_PRIVATE_IPV4_ADDRESS_AVAILABLE = "single_NATed_private_IPv4_address_available" + DOUBLE_NATED_PRIVATE_IPV4_ADDRESS_AVAILABLE = "double_NATed_private_IPv4_address_available" + PORT_RESTRICTED_IPV4_ADDRESS_AND_SINGLE_NATED_IPV4_ADDRESS_AVAILABLE = "port_restricted_IPv4_address_and_single_NATed_IPv4_address_available" + PORT_RESTRICTED_IPV4_ADDRESS_AND_DOUBLE_NATED_IPV4_ADDRESS_AVAILABLE = "port_restricted_IPv4_address_and_double_NATed_IPv4_address_available" + AVAILABILITY_OF_THE_ADDRESS_TYPE_IS_UNKNOWN = "availability_of_the_address_type_is_unknown" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """PasspointIPv4AddressType - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(PasspointIPv4AddressType, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, PasspointIPv4AddressType): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_i_pv6_address_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_i_pv6_address_type.py new file mode 100644 index 000000000..9759ac721 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_i_pv6_address_type.py @@ -0,0 +1,91 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class PasspointIPv6AddressType(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + ADDRESS_TYPE_NOT_AVAILABLE = "address_type_not_available" + ADDRESS_TYPE_AVAILABLE = "address_type_available" + AVAILABILITY_OF_THE_ADDRESS_TYPE_IS_UNKNOWN = "availability_of_the_address_type_is_unknown" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """PasspointIPv6AddressType - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(PasspointIPv6AddressType, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, PasspointIPv6AddressType): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_mcc_mnc.py b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_mcc_mnc.py new file mode 100644 index 000000000..3da63287f --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_mcc_mnc.py @@ -0,0 +1,240 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class PasspointMccMnc(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'mcc': 'int', + 'mnc': 'int', + 'iso': 'str', + 'country': 'str', + 'country_code': 'int', + 'network': 'str' + } + + attribute_map = { + 'mcc': 'mcc', + 'mnc': 'mnc', + 'iso': 'iso', + 'country': 'country', + 'country_code': 'countryCode', + 'network': 'network' + } + + def __init__(self, mcc=None, mnc=None, iso=None, country=None, country_code=None, network=None): # noqa: E501 + """PasspointMccMnc - a model defined in Swagger""" # noqa: E501 + self._mcc = None + self._mnc = None + self._iso = None + self._country = None + self._country_code = None + self._network = None + self.discriminator = None + if mcc is not None: + self.mcc = mcc + if mnc is not None: + self.mnc = mnc + if iso is not None: + self.iso = iso + if country is not None: + self.country = country + if country_code is not None: + self.country_code = country_code + if network is not None: + self.network = network + + @property + def mcc(self): + """Gets the mcc of this PasspointMccMnc. # noqa: E501 + + + :return: The mcc of this PasspointMccMnc. # noqa: E501 + :rtype: int + """ + return self._mcc + + @mcc.setter + def mcc(self, mcc): + """Sets the mcc of this PasspointMccMnc. + + + :param mcc: The mcc of this PasspointMccMnc. # noqa: E501 + :type: int + """ + + self._mcc = mcc + + @property + def mnc(self): + """Gets the mnc of this PasspointMccMnc. # noqa: E501 + + + :return: The mnc of this PasspointMccMnc. # noqa: E501 + :rtype: int + """ + return self._mnc + + @mnc.setter + def mnc(self, mnc): + """Sets the mnc of this PasspointMccMnc. + + + :param mnc: The mnc of this PasspointMccMnc. # noqa: E501 + :type: int + """ + + self._mnc = mnc + + @property + def iso(self): + """Gets the iso of this PasspointMccMnc. # noqa: E501 + + + :return: The iso of this PasspointMccMnc. # noqa: E501 + :rtype: str + """ + return self._iso + + @iso.setter + def iso(self, iso): + """Sets the iso of this PasspointMccMnc. + + + :param iso: The iso of this PasspointMccMnc. # noqa: E501 + :type: str + """ + + self._iso = iso + + @property + def country(self): + """Gets the country of this PasspointMccMnc. # noqa: E501 + + + :return: The country of this PasspointMccMnc. # noqa: E501 + :rtype: str + """ + return self._country + + @country.setter + def country(self, country): + """Sets the country of this PasspointMccMnc. + + + :param country: The country of this PasspointMccMnc. # noqa: E501 + :type: str + """ + + self._country = country + + @property + def country_code(self): + """Gets the country_code of this PasspointMccMnc. # noqa: E501 + + + :return: The country_code of this PasspointMccMnc. # noqa: E501 + :rtype: int + """ + return self._country_code + + @country_code.setter + def country_code(self, country_code): + """Sets the country_code of this PasspointMccMnc. + + + :param country_code: The country_code of this PasspointMccMnc. # noqa: E501 + :type: int + """ + + self._country_code = country_code + + @property + def network(self): + """Gets the network of this PasspointMccMnc. # noqa: E501 + + + :return: The network of this PasspointMccMnc. # noqa: E501 + :rtype: str + """ + return self._network + + @network.setter + def network(self, network): + """Sets the network of this PasspointMccMnc. + + + :param network: The network of this PasspointMccMnc. # noqa: E501 + :type: str + """ + + self._network = network + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(PasspointMccMnc, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, PasspointMccMnc): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_nai_realm_eap_auth_inner_non_eap.py b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_nai_realm_eap_auth_inner_non_eap.py new file mode 100644 index 000000000..887a165a9 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_nai_realm_eap_auth_inner_non_eap.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class PasspointNaiRealmEapAuthInnerNonEap(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + PAP = "NAI_REALM_INNER_NON_EAP_PAP" + CHAP = "NAI_REALM_INNER_NON_EAP_CHAP" + MSCHAP = "NAI_REALM_INNER_NON_EAP_MSCHAP" + MSCHAPV2 = "NAI_REALM_INNER_NON_EAP_MSCHAPV2" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """PasspointNaiRealmEapAuthInnerNonEap - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(PasspointNaiRealmEapAuthInnerNonEap, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, PasspointNaiRealmEapAuthInnerNonEap): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_nai_realm_eap_auth_param.py b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_nai_realm_eap_auth_param.py new file mode 100644 index 000000000..e20350e80 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_nai_realm_eap_auth_param.py @@ -0,0 +1,95 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class PasspointNaiRealmEapAuthParam(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + EXPANDED_EAP_METHOD = "NAI_REALM_EAP_AUTH_EXPANDED_EAP_METHOD" + NON_EAP_INNER_AUTH = "NAI_REALM_EAP_AUTH_NON_EAP_INNER_AUTH" + INNER_AUTH_EAP_METHOD = "NAI_REALM_EAP_AUTH_INNER_AUTH_EAP_METHOD" + EXPANDED_INNER_EAP_METHOD = "NAI_REALM_EAP_AUTH_EXPANDED_INNER_EAP_METHOD" + CRED_TYPE = "NAI_REALM_EAP_AUTH_CRED_TYPE" + TUNNELED_CRED_TYPE = "NAI_REALM_EAP_AUTH_TUNNELED_CRED_TYPE" + VENDOR_SPECIFIC = "NAI_REALM_EAP_AUTH_VENDOR_SPECIFIC" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """PasspointNaiRealmEapAuthParam - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(PasspointNaiRealmEapAuthParam, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, PasspointNaiRealmEapAuthParam): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_nai_realm_eap_cred_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_nai_realm_eap_cred_type.py new file mode 100644 index 000000000..072706cbb --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_nai_realm_eap_cred_type.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class PasspointNaiRealmEapCredType(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + SIM = "NAI_REALM_CRED_TYPE_SIM" + USIM = "NAI_REALM_CRED_TYPE_USIM" + NFC_SECURE_ELEMENT = "NAI_REALM_CRED_TYPE_NFC_SECURE_ELEMENT" + HARDWARE_TOKEN = "NAI_REALM_CRED_TYPE_HARDWARE_TOKEN" + SOFTOKEN = "NAI_REALM_CRED_TYPE_SOFTOKEN" + CERTIFICATE = "NAI_REALM_CRED_TYPE_CERTIFICATE" + USERNAME_PASSWORD = "NAI_REALM_CRED_TYPE_USERNAME_PASSWORD" + NONE = "NAI_REALM_CRED_TYPE_NONE" + ANONYMOUS = "NAI_REALM_CRED_TYPE_ANONYMOUS" + VENDOR_SPECIFIC = "NAI_REALM_CRED_TYPE_VENDOR_SPECIFIC" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """PasspointNaiRealmEapCredType - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(PasspointNaiRealmEapCredType, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, PasspointNaiRealmEapCredType): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_nai_realm_encoding.py b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_nai_realm_encoding.py new file mode 100644 index 000000000..5cb274dc9 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_nai_realm_encoding.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class PasspointNaiRealmEncoding(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + IETF_RFC_4282_ENCODING = "ietf_rfc_4282_encoding" + UTF8_NON_IETF_RFC_4282_ENCODING = "utf8_non_ietf_rfc_4282_encoding" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """PasspointNaiRealmEncoding - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(PasspointNaiRealmEncoding, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, PasspointNaiRealmEncoding): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_nai_realm_information.py b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_nai_realm_information.py new file mode 100644 index 000000000..21cc501f0 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_nai_realm_information.py @@ -0,0 +1,192 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class PasspointNaiRealmInformation(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'nai_realms': 'list[str]', + 'encoding': 'PasspointNaiRealmEncoding', + 'eap_methods': 'list[PasspointEapMethods]', + 'eap_map': 'dict(str, str)' + } + + attribute_map = { + 'nai_realms': 'naiRealms', + 'encoding': 'encoding', + 'eap_methods': 'eapMethods', + 'eap_map': 'eapMap' + } + + def __init__(self, nai_realms=None, encoding=None, eap_methods=None, eap_map=None): # noqa: E501 + """PasspointNaiRealmInformation - a model defined in Swagger""" # noqa: E501 + self._nai_realms = None + self._encoding = None + self._eap_methods = None + self._eap_map = None + self.discriminator = None + if nai_realms is not None: + self.nai_realms = nai_realms + if encoding is not None: + self.encoding = encoding + if eap_methods is not None: + self.eap_methods = eap_methods + if eap_map is not None: + self.eap_map = eap_map + + @property + def nai_realms(self): + """Gets the nai_realms of this PasspointNaiRealmInformation. # noqa: E501 + + + :return: The nai_realms of this PasspointNaiRealmInformation. # noqa: E501 + :rtype: list[str] + """ + return self._nai_realms + + @nai_realms.setter + def nai_realms(self, nai_realms): + """Sets the nai_realms of this PasspointNaiRealmInformation. + + + :param nai_realms: The nai_realms of this PasspointNaiRealmInformation. # noqa: E501 + :type: list[str] + """ + + self._nai_realms = nai_realms + + @property + def encoding(self): + """Gets the encoding of this PasspointNaiRealmInformation. # noqa: E501 + + + :return: The encoding of this PasspointNaiRealmInformation. # noqa: E501 + :rtype: PasspointNaiRealmEncoding + """ + return self._encoding + + @encoding.setter + def encoding(self, encoding): + """Sets the encoding of this PasspointNaiRealmInformation. + + + :param encoding: The encoding of this PasspointNaiRealmInformation. # noqa: E501 + :type: PasspointNaiRealmEncoding + """ + + self._encoding = encoding + + @property + def eap_methods(self): + """Gets the eap_methods of this PasspointNaiRealmInformation. # noqa: E501 + + array of EAP methods # noqa: E501 + + :return: The eap_methods of this PasspointNaiRealmInformation. # noqa: E501 + :rtype: list[PasspointEapMethods] + """ + return self._eap_methods + + @eap_methods.setter + def eap_methods(self, eap_methods): + """Sets the eap_methods of this PasspointNaiRealmInformation. + + array of EAP methods # noqa: E501 + + :param eap_methods: The eap_methods of this PasspointNaiRealmInformation. # noqa: E501 + :type: list[PasspointEapMethods] + """ + + self._eap_methods = eap_methods + + @property + def eap_map(self): + """Gets the eap_map of this PasspointNaiRealmInformation. # noqa: E501 + + map of string values comrised of 'param + credential' types, keyed by EAP methods # noqa: E501 + + :return: The eap_map of this PasspointNaiRealmInformation. # noqa: E501 + :rtype: dict(str, str) + """ + return self._eap_map + + @eap_map.setter + def eap_map(self, eap_map): + """Sets the eap_map of this PasspointNaiRealmInformation. + + map of string values comrised of 'param + credential' types, keyed by EAP methods # noqa: E501 + + :param eap_map: The eap_map of this PasspointNaiRealmInformation. # noqa: E501 + :type: dict(str, str) + """ + + self._eap_map = eap_map + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(PasspointNaiRealmInformation, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, PasspointNaiRealmInformation): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_network_authentication_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_network_authentication_type.py new file mode 100644 index 000000000..4329ddb70 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_network_authentication_type.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class PasspointNetworkAuthenticationType(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + ACCEPTANCE_OF_TERMS_AND_CONDITIONS = "acceptance_of_terms_and_conditions" + ONLINE_ENROLLMENT_SUPPORTED = "online_enrollment_supported" + HTTP_HTTPS_REDIRECTION = "http_https_redirection" + DNS_REDIRECTION = "dns_redirection" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """PasspointNetworkAuthenticationType - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(PasspointNetworkAuthenticationType, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, PasspointNetworkAuthenticationType): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_operator_profile.py b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_operator_profile.py new file mode 100644 index 000000000..8a60270f5 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_operator_profile.py @@ -0,0 +1,254 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six +from swagger_client.models.profile_details import ProfileDetails # noqa: F401,E501 + +class PasspointOperatorProfile(ProfileDetails): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'server_only_authenticated_l2_encryption_network': 'bool', + 'operator_friendly_name': 'list[PasspointDuple]', + 'domain_name_list': 'list[str]', + 'default_operator_friendly_name': 'str', + 'default_operator_friendly_name_fr': 'str' + } + if hasattr(ProfileDetails, "swagger_types"): + swagger_types.update(ProfileDetails.swagger_types) + + attribute_map = { + 'model_type': 'model_type', + 'server_only_authenticated_l2_encryption_network': 'serverOnlyAuthenticatedL2EncryptionNetwork', + 'operator_friendly_name': 'operatorFriendlyName', + 'domain_name_list': 'domainNameList', + 'default_operator_friendly_name': 'defaultOperatorFriendlyName', + 'default_operator_friendly_name_fr': 'defaultOperatorFriendlyNameFr' + } + if hasattr(ProfileDetails, "attribute_map"): + attribute_map.update(ProfileDetails.attribute_map) + + def __init__(self, model_type=None, server_only_authenticated_l2_encryption_network=None, operator_friendly_name=None, domain_name_list=None, default_operator_friendly_name=None, default_operator_friendly_name_fr=None, *args, **kwargs): # noqa: E501 + """PasspointOperatorProfile - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._server_only_authenticated_l2_encryption_network = None + self._operator_friendly_name = None + self._domain_name_list = None + self._default_operator_friendly_name = None + self._default_operator_friendly_name_fr = None + self.discriminator = None + if model_type is not None: + self.model_type = model_type + if server_only_authenticated_l2_encryption_network is not None: + self.server_only_authenticated_l2_encryption_network = server_only_authenticated_l2_encryption_network + if operator_friendly_name is not None: + self.operator_friendly_name = operator_friendly_name + if domain_name_list is not None: + self.domain_name_list = domain_name_list + if default_operator_friendly_name is not None: + self.default_operator_friendly_name = default_operator_friendly_name + if default_operator_friendly_name_fr is not None: + self.default_operator_friendly_name_fr = default_operator_friendly_name_fr + ProfileDetails.__init__(self, *args, **kwargs) + + @property + def model_type(self): + """Gets the model_type of this PasspointOperatorProfile. # noqa: E501 + + + :return: The model_type of this PasspointOperatorProfile. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this PasspointOperatorProfile. + + + :param model_type: The model_type of this PasspointOperatorProfile. # noqa: E501 + :type: str + """ + allowed_values = ["PasspointOperatorProfile"] # noqa: E501 + if model_type not in allowed_values: + raise ValueError( + "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 + .format(model_type, allowed_values) + ) + + self._model_type = model_type + + @property + def server_only_authenticated_l2_encryption_network(self): + """Gets the server_only_authenticated_l2_encryption_network of this PasspointOperatorProfile. # noqa: E501 + + OSEN # noqa: E501 + + :return: The server_only_authenticated_l2_encryption_network of this PasspointOperatorProfile. # noqa: E501 + :rtype: bool + """ + return self._server_only_authenticated_l2_encryption_network + + @server_only_authenticated_l2_encryption_network.setter + def server_only_authenticated_l2_encryption_network(self, server_only_authenticated_l2_encryption_network): + """Sets the server_only_authenticated_l2_encryption_network of this PasspointOperatorProfile. + + OSEN # noqa: E501 + + :param server_only_authenticated_l2_encryption_network: The server_only_authenticated_l2_encryption_network of this PasspointOperatorProfile. # noqa: E501 + :type: bool + """ + + self._server_only_authenticated_l2_encryption_network = server_only_authenticated_l2_encryption_network + + @property + def operator_friendly_name(self): + """Gets the operator_friendly_name of this PasspointOperatorProfile. # noqa: E501 + + + :return: The operator_friendly_name of this PasspointOperatorProfile. # noqa: E501 + :rtype: list[PasspointDuple] + """ + return self._operator_friendly_name + + @operator_friendly_name.setter + def operator_friendly_name(self, operator_friendly_name): + """Sets the operator_friendly_name of this PasspointOperatorProfile. + + + :param operator_friendly_name: The operator_friendly_name of this PasspointOperatorProfile. # noqa: E501 + :type: list[PasspointDuple] + """ + + self._operator_friendly_name = operator_friendly_name + + @property + def domain_name_list(self): + """Gets the domain_name_list of this PasspointOperatorProfile. # noqa: E501 + + + :return: The domain_name_list of this PasspointOperatorProfile. # noqa: E501 + :rtype: list[str] + """ + return self._domain_name_list + + @domain_name_list.setter + def domain_name_list(self, domain_name_list): + """Sets the domain_name_list of this PasspointOperatorProfile. + + + :param domain_name_list: The domain_name_list of this PasspointOperatorProfile. # noqa: E501 + :type: list[str] + """ + + self._domain_name_list = domain_name_list + + @property + def default_operator_friendly_name(self): + """Gets the default_operator_friendly_name of this PasspointOperatorProfile. # noqa: E501 + + + :return: The default_operator_friendly_name of this PasspointOperatorProfile. # noqa: E501 + :rtype: str + """ + return self._default_operator_friendly_name + + @default_operator_friendly_name.setter + def default_operator_friendly_name(self, default_operator_friendly_name): + """Sets the default_operator_friendly_name of this PasspointOperatorProfile. + + + :param default_operator_friendly_name: The default_operator_friendly_name of this PasspointOperatorProfile. # noqa: E501 + :type: str + """ + + self._default_operator_friendly_name = default_operator_friendly_name + + @property + def default_operator_friendly_name_fr(self): + """Gets the default_operator_friendly_name_fr of this PasspointOperatorProfile. # noqa: E501 + + + :return: The default_operator_friendly_name_fr of this PasspointOperatorProfile. # noqa: E501 + :rtype: str + """ + return self._default_operator_friendly_name_fr + + @default_operator_friendly_name_fr.setter + def default_operator_friendly_name_fr(self, default_operator_friendly_name_fr): + """Sets the default_operator_friendly_name_fr of this PasspointOperatorProfile. + + + :param default_operator_friendly_name_fr: The default_operator_friendly_name_fr of this PasspointOperatorProfile. # noqa: E501 + :type: str + """ + + self._default_operator_friendly_name_fr = default_operator_friendly_name_fr + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(PasspointOperatorProfile, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, PasspointOperatorProfile): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_osu_icon.py b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_osu_icon.py new file mode 100644 index 000000000..5ddc0ec0f --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_osu_icon.py @@ -0,0 +1,300 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class PasspointOsuIcon(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'icon_width': 'int', + 'icon_height': 'int', + 'language_code': 'str', + 'icon_locale': 'str', + 'icon_name': 'str', + 'file_path': 'str', + 'image_url': 'str', + 'icon_type': 'str' + } + + attribute_map = { + 'icon_width': 'iconWidth', + 'icon_height': 'iconHeight', + 'language_code': 'languageCode', + 'icon_locale': 'iconLocale', + 'icon_name': 'iconName', + 'file_path': 'filePath', + 'image_url': 'imageUrl', + 'icon_type': 'ICON_TYPE' + } + + def __init__(self, icon_width=None, icon_height=None, language_code=None, icon_locale=None, icon_name=None, file_path=None, image_url=None, icon_type=None): # noqa: E501 + """PasspointOsuIcon - a model defined in Swagger""" # noqa: E501 + self._icon_width = None + self._icon_height = None + self._language_code = None + self._icon_locale = None + self._icon_name = None + self._file_path = None + self._image_url = None + self._icon_type = None + self.discriminator = None + if icon_width is not None: + self.icon_width = icon_width + if icon_height is not None: + self.icon_height = icon_height + if language_code is not None: + self.language_code = language_code + if icon_locale is not None: + self.icon_locale = icon_locale + if icon_name is not None: + self.icon_name = icon_name + if file_path is not None: + self.file_path = file_path + if image_url is not None: + self.image_url = image_url + if icon_type is not None: + self.icon_type = icon_type + + @property + def icon_width(self): + """Gets the icon_width of this PasspointOsuIcon. # noqa: E501 + + + :return: The icon_width of this PasspointOsuIcon. # noqa: E501 + :rtype: int + """ + return self._icon_width + + @icon_width.setter + def icon_width(self, icon_width): + """Sets the icon_width of this PasspointOsuIcon. + + + :param icon_width: The icon_width of this PasspointOsuIcon. # noqa: E501 + :type: int + """ + + self._icon_width = icon_width + + @property + def icon_height(self): + """Gets the icon_height of this PasspointOsuIcon. # noqa: E501 + + + :return: The icon_height of this PasspointOsuIcon. # noqa: E501 + :rtype: int + """ + return self._icon_height + + @icon_height.setter + def icon_height(self, icon_height): + """Sets the icon_height of this PasspointOsuIcon. + + + :param icon_height: The icon_height of this PasspointOsuIcon. # noqa: E501 + :type: int + """ + + self._icon_height = icon_height + + @property + def language_code(self): + """Gets the language_code of this PasspointOsuIcon. # noqa: E501 + + + :return: The language_code of this PasspointOsuIcon. # noqa: E501 + :rtype: str + """ + return self._language_code + + @language_code.setter + def language_code(self, language_code): + """Sets the language_code of this PasspointOsuIcon. + + + :param language_code: The language_code of this PasspointOsuIcon. # noqa: E501 + :type: str + """ + + self._language_code = language_code + + @property + def icon_locale(self): + """Gets the icon_locale of this PasspointOsuIcon. # noqa: E501 + + The primary locale for this Icon. # noqa: E501 + + :return: The icon_locale of this PasspointOsuIcon. # noqa: E501 + :rtype: str + """ + return self._icon_locale + + @icon_locale.setter + def icon_locale(self, icon_locale): + """Sets the icon_locale of this PasspointOsuIcon. + + The primary locale for this Icon. # noqa: E501 + + :param icon_locale: The icon_locale of this PasspointOsuIcon. # noqa: E501 + :type: str + """ + + self._icon_locale = icon_locale + + @property + def icon_name(self): + """Gets the icon_name of this PasspointOsuIcon. # noqa: E501 + + + :return: The icon_name of this PasspointOsuIcon. # noqa: E501 + :rtype: str + """ + return self._icon_name + + @icon_name.setter + def icon_name(self, icon_name): + """Sets the icon_name of this PasspointOsuIcon. + + + :param icon_name: The icon_name of this PasspointOsuIcon. # noqa: E501 + :type: str + """ + + self._icon_name = icon_name + + @property + def file_path(self): + """Gets the file_path of this PasspointOsuIcon. # noqa: E501 + + + :return: The file_path of this PasspointOsuIcon. # noqa: E501 + :rtype: str + """ + return self._file_path + + @file_path.setter + def file_path(self, file_path): + """Sets the file_path of this PasspointOsuIcon. + + + :param file_path: The file_path of this PasspointOsuIcon. # noqa: E501 + :type: str + """ + + self._file_path = file_path + + @property + def image_url(self): + """Gets the image_url of this PasspointOsuIcon. # noqa: E501 + + + :return: The image_url of this PasspointOsuIcon. # noqa: E501 + :rtype: str + """ + return self._image_url + + @image_url.setter + def image_url(self, image_url): + """Sets the image_url of this PasspointOsuIcon. + + + :param image_url: The image_url of this PasspointOsuIcon. # noqa: E501 + :type: str + """ + + self._image_url = image_url + + @property + def icon_type(self): + """Gets the icon_type of this PasspointOsuIcon. # noqa: E501 + + + :return: The icon_type of this PasspointOsuIcon. # noqa: E501 + :rtype: str + """ + return self._icon_type + + @icon_type.setter + def icon_type(self, icon_type): + """Sets the icon_type of this PasspointOsuIcon. + + + :param icon_type: The icon_type of this PasspointOsuIcon. # noqa: E501 + :type: str + """ + allowed_values = ["image/png"] # noqa: E501 + if icon_type not in allowed_values: + raise ValueError( + "Invalid value for `icon_type` ({0}), must be one of {1}" # noqa: E501 + .format(icon_type, allowed_values) + ) + + self._icon_type = icon_type + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(PasspointOsuIcon, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, PasspointOsuIcon): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_osu_provider_profile.py b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_osu_provider_profile.py new file mode 100644 index 000000000..7939d9e38 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_osu_provider_profile.py @@ -0,0 +1,460 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six +from swagger_client.models.profile_details import ProfileDetails # noqa: F401,E501 + +class PasspointOsuProviderProfile(ProfileDetails): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'passpoint_mcc_mnc_list': 'list[PasspointMccMnc]', + 'nai_realm_list': 'list[PasspointNaiRealmInformation]', + 'passpoint_osu_icon_list': 'list[PasspointOsuIcon]', + 'osu_ssid': 'str', + 'osu_server_uri': 'str', + 'radius_profile_auth': 'str', + 'radius_profile_accounting': 'str', + 'osu_friendly_name': 'list[PasspointDuple]', + 'osu_nai_standalone': 'str', + 'osu_nai_shared': 'str', + 'osu_method_list': 'int', + 'osu_service_description': 'list[PasspointDuple]', + 'roaming_oi': 'list[str]' + } + if hasattr(ProfileDetails, "swagger_types"): + swagger_types.update(ProfileDetails.swagger_types) + + attribute_map = { + 'model_type': 'model_type', + 'passpoint_mcc_mnc_list': 'PasspointMccMncList', + 'nai_realm_list': 'naiRealmList', + 'passpoint_osu_icon_list': 'PasspointOsuIconList', + 'osu_ssid': 'osuSsid', + 'osu_server_uri': 'osuServerUri', + 'radius_profile_auth': 'radiusProfileAuth', + 'radius_profile_accounting': 'radiusProfileAccounting', + 'osu_friendly_name': 'osuFriendlyName', + 'osu_nai_standalone': 'osuNaiStandalone', + 'osu_nai_shared': 'osuNaiShared', + 'osu_method_list': 'osuMethodList', + 'osu_service_description': 'osuServiceDescription', + 'roaming_oi': 'roamingOi' + } + if hasattr(ProfileDetails, "attribute_map"): + attribute_map.update(ProfileDetails.attribute_map) + + def __init__(self, model_type=None, passpoint_mcc_mnc_list=None, nai_realm_list=None, passpoint_osu_icon_list=None, osu_ssid=None, osu_server_uri=None, radius_profile_auth=None, radius_profile_accounting=None, osu_friendly_name=None, osu_nai_standalone=None, osu_nai_shared=None, osu_method_list=None, osu_service_description=None, roaming_oi=None, *args, **kwargs): # noqa: E501 + """PasspointOsuProviderProfile - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._passpoint_mcc_mnc_list = None + self._nai_realm_list = None + self._passpoint_osu_icon_list = None + self._osu_ssid = None + self._osu_server_uri = None + self._radius_profile_auth = None + self._radius_profile_accounting = None + self._osu_friendly_name = None + self._osu_nai_standalone = None + self._osu_nai_shared = None + self._osu_method_list = None + self._osu_service_description = None + self._roaming_oi = None + self.discriminator = None + if model_type is not None: + self.model_type = model_type + if passpoint_mcc_mnc_list is not None: + self.passpoint_mcc_mnc_list = passpoint_mcc_mnc_list + if nai_realm_list is not None: + self.nai_realm_list = nai_realm_list + if passpoint_osu_icon_list is not None: + self.passpoint_osu_icon_list = passpoint_osu_icon_list + if osu_ssid is not None: + self.osu_ssid = osu_ssid + if osu_server_uri is not None: + self.osu_server_uri = osu_server_uri + if radius_profile_auth is not None: + self.radius_profile_auth = radius_profile_auth + if radius_profile_accounting is not None: + self.radius_profile_accounting = radius_profile_accounting + if osu_friendly_name is not None: + self.osu_friendly_name = osu_friendly_name + if osu_nai_standalone is not None: + self.osu_nai_standalone = osu_nai_standalone + if osu_nai_shared is not None: + self.osu_nai_shared = osu_nai_shared + if osu_method_list is not None: + self.osu_method_list = osu_method_list + if osu_service_description is not None: + self.osu_service_description = osu_service_description + if roaming_oi is not None: + self.roaming_oi = roaming_oi + ProfileDetails.__init__(self, *args, **kwargs) + + @property + def model_type(self): + """Gets the model_type of this PasspointOsuProviderProfile. # noqa: E501 + + + :return: The model_type of this PasspointOsuProviderProfile. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this PasspointOsuProviderProfile. + + + :param model_type: The model_type of this PasspointOsuProviderProfile. # noqa: E501 + :type: str + """ + allowed_values = ["PasspointOsuProviderProfile"] # noqa: E501 + if model_type not in allowed_values: + raise ValueError( + "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 + .format(model_type, allowed_values) + ) + + self._model_type = model_type + + @property + def passpoint_mcc_mnc_list(self): + """Gets the passpoint_mcc_mnc_list of this PasspointOsuProviderProfile. # noqa: E501 + + + :return: The passpoint_mcc_mnc_list of this PasspointOsuProviderProfile. # noqa: E501 + :rtype: list[PasspointMccMnc] + """ + return self._passpoint_mcc_mnc_list + + @passpoint_mcc_mnc_list.setter + def passpoint_mcc_mnc_list(self, passpoint_mcc_mnc_list): + """Sets the passpoint_mcc_mnc_list of this PasspointOsuProviderProfile. + + + :param passpoint_mcc_mnc_list: The passpoint_mcc_mnc_list of this PasspointOsuProviderProfile. # noqa: E501 + :type: list[PasspointMccMnc] + """ + + self._passpoint_mcc_mnc_list = passpoint_mcc_mnc_list + + @property + def nai_realm_list(self): + """Gets the nai_realm_list of this PasspointOsuProviderProfile. # noqa: E501 + + + :return: The nai_realm_list of this PasspointOsuProviderProfile. # noqa: E501 + :rtype: list[PasspointNaiRealmInformation] + """ + return self._nai_realm_list + + @nai_realm_list.setter + def nai_realm_list(self, nai_realm_list): + """Sets the nai_realm_list of this PasspointOsuProviderProfile. + + + :param nai_realm_list: The nai_realm_list of this PasspointOsuProviderProfile. # noqa: E501 + :type: list[PasspointNaiRealmInformation] + """ + + self._nai_realm_list = nai_realm_list + + @property + def passpoint_osu_icon_list(self): + """Gets the passpoint_osu_icon_list of this PasspointOsuProviderProfile. # noqa: E501 + + + :return: The passpoint_osu_icon_list of this PasspointOsuProviderProfile. # noqa: E501 + :rtype: list[PasspointOsuIcon] + """ + return self._passpoint_osu_icon_list + + @passpoint_osu_icon_list.setter + def passpoint_osu_icon_list(self, passpoint_osu_icon_list): + """Sets the passpoint_osu_icon_list of this PasspointOsuProviderProfile. + + + :param passpoint_osu_icon_list: The passpoint_osu_icon_list of this PasspointOsuProviderProfile. # noqa: E501 + :type: list[PasspointOsuIcon] + """ + + self._passpoint_osu_icon_list = passpoint_osu_icon_list + + @property + def osu_ssid(self): + """Gets the osu_ssid of this PasspointOsuProviderProfile. # noqa: E501 + + + :return: The osu_ssid of this PasspointOsuProviderProfile. # noqa: E501 + :rtype: str + """ + return self._osu_ssid + + @osu_ssid.setter + def osu_ssid(self, osu_ssid): + """Sets the osu_ssid of this PasspointOsuProviderProfile. + + + :param osu_ssid: The osu_ssid of this PasspointOsuProviderProfile. # noqa: E501 + :type: str + """ + + self._osu_ssid = osu_ssid + + @property + def osu_server_uri(self): + """Gets the osu_server_uri of this PasspointOsuProviderProfile. # noqa: E501 + + + :return: The osu_server_uri of this PasspointOsuProviderProfile. # noqa: E501 + :rtype: str + """ + return self._osu_server_uri + + @osu_server_uri.setter + def osu_server_uri(self, osu_server_uri): + """Sets the osu_server_uri of this PasspointOsuProviderProfile. + + + :param osu_server_uri: The osu_server_uri of this PasspointOsuProviderProfile. # noqa: E501 + :type: str + """ + + self._osu_server_uri = osu_server_uri + + @property + def radius_profile_auth(self): + """Gets the radius_profile_auth of this PasspointOsuProviderProfile. # noqa: E501 + + + :return: The radius_profile_auth of this PasspointOsuProviderProfile. # noqa: E501 + :rtype: str + """ + return self._radius_profile_auth + + @radius_profile_auth.setter + def radius_profile_auth(self, radius_profile_auth): + """Sets the radius_profile_auth of this PasspointOsuProviderProfile. + + + :param radius_profile_auth: The radius_profile_auth of this PasspointOsuProviderProfile. # noqa: E501 + :type: str + """ + + self._radius_profile_auth = radius_profile_auth + + @property + def radius_profile_accounting(self): + """Gets the radius_profile_accounting of this PasspointOsuProviderProfile. # noqa: E501 + + + :return: The radius_profile_accounting of this PasspointOsuProviderProfile. # noqa: E501 + :rtype: str + """ + return self._radius_profile_accounting + + @radius_profile_accounting.setter + def radius_profile_accounting(self, radius_profile_accounting): + """Sets the radius_profile_accounting of this PasspointOsuProviderProfile. + + + :param radius_profile_accounting: The radius_profile_accounting of this PasspointOsuProviderProfile. # noqa: E501 + :type: str + """ + + self._radius_profile_accounting = radius_profile_accounting + + @property + def osu_friendly_name(self): + """Gets the osu_friendly_name of this PasspointOsuProviderProfile. # noqa: E501 + + + :return: The osu_friendly_name of this PasspointOsuProviderProfile. # noqa: E501 + :rtype: list[PasspointDuple] + """ + return self._osu_friendly_name + + @osu_friendly_name.setter + def osu_friendly_name(self, osu_friendly_name): + """Sets the osu_friendly_name of this PasspointOsuProviderProfile. + + + :param osu_friendly_name: The osu_friendly_name of this PasspointOsuProviderProfile. # noqa: E501 + :type: list[PasspointDuple] + """ + + self._osu_friendly_name = osu_friendly_name + + @property + def osu_nai_standalone(self): + """Gets the osu_nai_standalone of this PasspointOsuProviderProfile. # noqa: E501 + + + :return: The osu_nai_standalone of this PasspointOsuProviderProfile. # noqa: E501 + :rtype: str + """ + return self._osu_nai_standalone + + @osu_nai_standalone.setter + def osu_nai_standalone(self, osu_nai_standalone): + """Sets the osu_nai_standalone of this PasspointOsuProviderProfile. + + + :param osu_nai_standalone: The osu_nai_standalone of this PasspointOsuProviderProfile. # noqa: E501 + :type: str + """ + + self._osu_nai_standalone = osu_nai_standalone + + @property + def osu_nai_shared(self): + """Gets the osu_nai_shared of this PasspointOsuProviderProfile. # noqa: E501 + + + :return: The osu_nai_shared of this PasspointOsuProviderProfile. # noqa: E501 + :rtype: str + """ + return self._osu_nai_shared + + @osu_nai_shared.setter + def osu_nai_shared(self, osu_nai_shared): + """Sets the osu_nai_shared of this PasspointOsuProviderProfile. + + + :param osu_nai_shared: The osu_nai_shared of this PasspointOsuProviderProfile. # noqa: E501 + :type: str + """ + + self._osu_nai_shared = osu_nai_shared + + @property + def osu_method_list(self): + """Gets the osu_method_list of this PasspointOsuProviderProfile. # noqa: E501 + + + :return: The osu_method_list of this PasspointOsuProviderProfile. # noqa: E501 + :rtype: int + """ + return self._osu_method_list + + @osu_method_list.setter + def osu_method_list(self, osu_method_list): + """Sets the osu_method_list of this PasspointOsuProviderProfile. + + + :param osu_method_list: The osu_method_list of this PasspointOsuProviderProfile. # noqa: E501 + :type: int + """ + + self._osu_method_list = osu_method_list + + @property + def osu_service_description(self): + """Gets the osu_service_description of this PasspointOsuProviderProfile. # noqa: E501 + + + :return: The osu_service_description of this PasspointOsuProviderProfile. # noqa: E501 + :rtype: list[PasspointDuple] + """ + return self._osu_service_description + + @osu_service_description.setter + def osu_service_description(self, osu_service_description): + """Sets the osu_service_description of this PasspointOsuProviderProfile. + + + :param osu_service_description: The osu_service_description of this PasspointOsuProviderProfile. # noqa: E501 + :type: list[PasspointDuple] + """ + + self._osu_service_description = osu_service_description + + @property + def roaming_oi(self): + """Gets the roaming_oi of this PasspointOsuProviderProfile. # noqa: E501 + + + :return: The roaming_oi of this PasspointOsuProviderProfile. # noqa: E501 + :rtype: list[str] + """ + return self._roaming_oi + + @roaming_oi.setter + def roaming_oi(self, roaming_oi): + """Sets the roaming_oi of this PasspointOsuProviderProfile. + + + :param roaming_oi: The roaming_oi of this PasspointOsuProviderProfile. # noqa: E501 + :type: list[str] + """ + + self._roaming_oi = roaming_oi + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(PasspointOsuProviderProfile, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, PasspointOsuProviderProfile): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_profile.py b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_profile.py new file mode 100644 index 000000000..649cd533f --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_profile.py @@ -0,0 +1,856 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six +from swagger_client.models.profile_details import ProfileDetails # noqa: F401,E501 + +class PasspointProfile(ProfileDetails): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'enable_interworking_and_hs20': 'bool', + 'additional_steps_required_for_access': 'int', + 'deauth_request_timeout': 'int', + 'operating_class': 'int', + 'terms_and_conditions_file': 'ManagedFileInfo', + 'whitelist_domain': 'str', + 'emergency_services_reachable': 'bool', + 'unauthenticated_emergency_service_accessible': 'bool', + 'internet_connectivity': 'bool', + 'ip_address_type_availability': 'Object', + 'qos_map_set_configuration': 'list[str]', + 'hessid': 'MacAddress', + 'ap_geospatial_location': 'str', + 'ap_civic_location': 'str', + 'anqp_domain_id': 'int', + 'disable_downstream_group_addressed_forwarding': 'bool', + 'enable2pt4_g_hz': 'bool', + 'enable5_g_hz': 'bool', + 'associated_access_ssid_profile_ids': 'list[int]', + 'osu_ssid_profile_id': 'int', + 'passpoint_operator_profile_id': 'int', + 'passpoint_venue_profile_id': 'int', + 'passpoint_osu_provider_profile_ids': 'list[int]', + 'ap_public_location_id_uri': 'str', + 'access_network_type': 'PasspointAccessNetworkType', + 'network_authentication_type': 'PasspointNetworkAuthenticationType', + 'connection_capability_set': 'list[PasspointConnectionCapability]', + 'gas_addr3_behaviour': 'PasspointGasAddress3Behaviour' + } + if hasattr(ProfileDetails, "swagger_types"): + swagger_types.update(ProfileDetails.swagger_types) + + attribute_map = { + 'model_type': 'model_type', + 'enable_interworking_and_hs20': 'enableInterworkingAndHs20', + 'additional_steps_required_for_access': 'additionalStepsRequiredForAccess', + 'deauth_request_timeout': 'deauthRequestTimeout', + 'operating_class': 'operatingClass', + 'terms_and_conditions_file': 'termsAndConditionsFile', + 'whitelist_domain': 'whitelistDomain', + 'emergency_services_reachable': 'emergencyServicesReachable', + 'unauthenticated_emergency_service_accessible': 'unauthenticatedEmergencyServiceAccessible', + 'internet_connectivity': 'internetConnectivity', + 'ip_address_type_availability': 'ipAddressTypeAvailability', + 'qos_map_set_configuration': 'qosMapSetConfiguration', + 'hessid': 'hessid', + 'ap_geospatial_location': 'apGeospatialLocation', + 'ap_civic_location': 'apCivicLocation', + 'anqp_domain_id': 'anqpDomainId', + 'disable_downstream_group_addressed_forwarding': 'disableDownstreamGroupAddressedForwarding', + 'enable2pt4_g_hz': 'enable2pt4GHz', + 'enable5_g_hz': 'enable5GHz', + 'associated_access_ssid_profile_ids': 'associatedAccessSsidProfileIds', + 'osu_ssid_profile_id': 'osuSsidProfileId', + 'passpoint_operator_profile_id': 'passpointOperatorProfileId', + 'passpoint_venue_profile_id': 'passpointVenueProfileId', + 'passpoint_osu_provider_profile_ids': 'passpointOsuProviderProfileIds', + 'ap_public_location_id_uri': 'apPublicLocationIdUri', + 'access_network_type': 'accessNetworkType', + 'network_authentication_type': 'networkAuthenticationType', + 'connection_capability_set': 'connectionCapabilitySet', + 'gas_addr3_behaviour': 'gasAddr3Behaviour' + } + if hasattr(ProfileDetails, "attribute_map"): + attribute_map.update(ProfileDetails.attribute_map) + + def __init__(self, model_type=None, enable_interworking_and_hs20=None, additional_steps_required_for_access=None, deauth_request_timeout=None, operating_class=None, terms_and_conditions_file=None, whitelist_domain=None, emergency_services_reachable=None, unauthenticated_emergency_service_accessible=None, internet_connectivity=None, ip_address_type_availability=None, qos_map_set_configuration=None, hessid=None, ap_geospatial_location=None, ap_civic_location=None, anqp_domain_id=None, disable_downstream_group_addressed_forwarding=None, enable2pt4_g_hz=None, enable5_g_hz=None, associated_access_ssid_profile_ids=None, osu_ssid_profile_id=None, passpoint_operator_profile_id=None, passpoint_venue_profile_id=None, passpoint_osu_provider_profile_ids=None, ap_public_location_id_uri=None, access_network_type=None, network_authentication_type=None, connection_capability_set=None, gas_addr3_behaviour=None, *args, **kwargs): # noqa: E501 + """PasspointProfile - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._enable_interworking_and_hs20 = None + self._additional_steps_required_for_access = None + self._deauth_request_timeout = None + self._operating_class = None + self._terms_and_conditions_file = None + self._whitelist_domain = None + self._emergency_services_reachable = None + self._unauthenticated_emergency_service_accessible = None + self._internet_connectivity = None + self._ip_address_type_availability = None + self._qos_map_set_configuration = None + self._hessid = None + self._ap_geospatial_location = None + self._ap_civic_location = None + self._anqp_domain_id = None + self._disable_downstream_group_addressed_forwarding = None + self._enable2pt4_g_hz = None + self._enable5_g_hz = None + self._associated_access_ssid_profile_ids = None + self._osu_ssid_profile_id = None + self._passpoint_operator_profile_id = None + self._passpoint_venue_profile_id = None + self._passpoint_osu_provider_profile_ids = None + self._ap_public_location_id_uri = None + self._access_network_type = None + self._network_authentication_type = None + self._connection_capability_set = None + self._gas_addr3_behaviour = None + self.discriminator = None + if model_type is not None: + self.model_type = model_type + if enable_interworking_and_hs20 is not None: + self.enable_interworking_and_hs20 = enable_interworking_and_hs20 + if additional_steps_required_for_access is not None: + self.additional_steps_required_for_access = additional_steps_required_for_access + if deauth_request_timeout is not None: + self.deauth_request_timeout = deauth_request_timeout + if operating_class is not None: + self.operating_class = operating_class + if terms_and_conditions_file is not None: + self.terms_and_conditions_file = terms_and_conditions_file + if whitelist_domain is not None: + self.whitelist_domain = whitelist_domain + if emergency_services_reachable is not None: + self.emergency_services_reachable = emergency_services_reachable + if unauthenticated_emergency_service_accessible is not None: + self.unauthenticated_emergency_service_accessible = unauthenticated_emergency_service_accessible + if internet_connectivity is not None: + self.internet_connectivity = internet_connectivity + if ip_address_type_availability is not None: + self.ip_address_type_availability = ip_address_type_availability + if qos_map_set_configuration is not None: + self.qos_map_set_configuration = qos_map_set_configuration + if hessid is not None: + self.hessid = hessid + if ap_geospatial_location is not None: + self.ap_geospatial_location = ap_geospatial_location + if ap_civic_location is not None: + self.ap_civic_location = ap_civic_location + if anqp_domain_id is not None: + self.anqp_domain_id = anqp_domain_id + if disable_downstream_group_addressed_forwarding is not None: + self.disable_downstream_group_addressed_forwarding = disable_downstream_group_addressed_forwarding + if enable2pt4_g_hz is not None: + self.enable2pt4_g_hz = enable2pt4_g_hz + if enable5_g_hz is not None: + self.enable5_g_hz = enable5_g_hz + if associated_access_ssid_profile_ids is not None: + self.associated_access_ssid_profile_ids = associated_access_ssid_profile_ids + if osu_ssid_profile_id is not None: + self.osu_ssid_profile_id = osu_ssid_profile_id + if passpoint_operator_profile_id is not None: + self.passpoint_operator_profile_id = passpoint_operator_profile_id + if passpoint_venue_profile_id is not None: + self.passpoint_venue_profile_id = passpoint_venue_profile_id + if passpoint_osu_provider_profile_ids is not None: + self.passpoint_osu_provider_profile_ids = passpoint_osu_provider_profile_ids + if ap_public_location_id_uri is not None: + self.ap_public_location_id_uri = ap_public_location_id_uri + if access_network_type is not None: + self.access_network_type = access_network_type + if network_authentication_type is not None: + self.network_authentication_type = network_authentication_type + if connection_capability_set is not None: + self.connection_capability_set = connection_capability_set + if gas_addr3_behaviour is not None: + self.gas_addr3_behaviour = gas_addr3_behaviour + ProfileDetails.__init__(self, *args, **kwargs) + + @property + def model_type(self): + """Gets the model_type of this PasspointProfile. # noqa: E501 + + + :return: The model_type of this PasspointProfile. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this PasspointProfile. + + + :param model_type: The model_type of this PasspointProfile. # noqa: E501 + :type: str + """ + allowed_values = ["PasspointProfile"] # noqa: E501 + if model_type not in allowed_values: + raise ValueError( + "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 + .format(model_type, allowed_values) + ) + + self._model_type = model_type + + @property + def enable_interworking_and_hs20(self): + """Gets the enable_interworking_and_hs20 of this PasspointProfile. # noqa: E501 + + + :return: The enable_interworking_and_hs20 of this PasspointProfile. # noqa: E501 + :rtype: bool + """ + return self._enable_interworking_and_hs20 + + @enable_interworking_and_hs20.setter + def enable_interworking_and_hs20(self, enable_interworking_and_hs20): + """Sets the enable_interworking_and_hs20 of this PasspointProfile. + + + :param enable_interworking_and_hs20: The enable_interworking_and_hs20 of this PasspointProfile. # noqa: E501 + :type: bool + """ + + self._enable_interworking_and_hs20 = enable_interworking_and_hs20 + + @property + def additional_steps_required_for_access(self): + """Gets the additional_steps_required_for_access of this PasspointProfile. # noqa: E501 + + + :return: The additional_steps_required_for_access of this PasspointProfile. # noqa: E501 + :rtype: int + """ + return self._additional_steps_required_for_access + + @additional_steps_required_for_access.setter + def additional_steps_required_for_access(self, additional_steps_required_for_access): + """Sets the additional_steps_required_for_access of this PasspointProfile. + + + :param additional_steps_required_for_access: The additional_steps_required_for_access of this PasspointProfile. # noqa: E501 + :type: int + """ + + self._additional_steps_required_for_access = additional_steps_required_for_access + + @property + def deauth_request_timeout(self): + """Gets the deauth_request_timeout of this PasspointProfile. # noqa: E501 + + + :return: The deauth_request_timeout of this PasspointProfile. # noqa: E501 + :rtype: int + """ + return self._deauth_request_timeout + + @deauth_request_timeout.setter + def deauth_request_timeout(self, deauth_request_timeout): + """Sets the deauth_request_timeout of this PasspointProfile. + + + :param deauth_request_timeout: The deauth_request_timeout of this PasspointProfile. # noqa: E501 + :type: int + """ + + self._deauth_request_timeout = deauth_request_timeout + + @property + def operating_class(self): + """Gets the operating_class of this PasspointProfile. # noqa: E501 + + + :return: The operating_class of this PasspointProfile. # noqa: E501 + :rtype: int + """ + return self._operating_class + + @operating_class.setter + def operating_class(self, operating_class): + """Sets the operating_class of this PasspointProfile. + + + :param operating_class: The operating_class of this PasspointProfile. # noqa: E501 + :type: int + """ + + self._operating_class = operating_class + + @property + def terms_and_conditions_file(self): + """Gets the terms_and_conditions_file of this PasspointProfile. # noqa: E501 + + + :return: The terms_and_conditions_file of this PasspointProfile. # noqa: E501 + :rtype: ManagedFileInfo + """ + return self._terms_and_conditions_file + + @terms_and_conditions_file.setter + def terms_and_conditions_file(self, terms_and_conditions_file): + """Sets the terms_and_conditions_file of this PasspointProfile. + + + :param terms_and_conditions_file: The terms_and_conditions_file of this PasspointProfile. # noqa: E501 + :type: ManagedFileInfo + """ + + self._terms_and_conditions_file = terms_and_conditions_file + + @property + def whitelist_domain(self): + """Gets the whitelist_domain of this PasspointProfile. # noqa: E501 + + + :return: The whitelist_domain of this PasspointProfile. # noqa: E501 + :rtype: str + """ + return self._whitelist_domain + + @whitelist_domain.setter + def whitelist_domain(self, whitelist_domain): + """Sets the whitelist_domain of this PasspointProfile. + + + :param whitelist_domain: The whitelist_domain of this PasspointProfile. # noqa: E501 + :type: str + """ + + self._whitelist_domain = whitelist_domain + + @property + def emergency_services_reachable(self): + """Gets the emergency_services_reachable of this PasspointProfile. # noqa: E501 + + + :return: The emergency_services_reachable of this PasspointProfile. # noqa: E501 + :rtype: bool + """ + return self._emergency_services_reachable + + @emergency_services_reachable.setter + def emergency_services_reachable(self, emergency_services_reachable): + """Sets the emergency_services_reachable of this PasspointProfile. + + + :param emergency_services_reachable: The emergency_services_reachable of this PasspointProfile. # noqa: E501 + :type: bool + """ + + self._emergency_services_reachable = emergency_services_reachable + + @property + def unauthenticated_emergency_service_accessible(self): + """Gets the unauthenticated_emergency_service_accessible of this PasspointProfile. # noqa: E501 + + + :return: The unauthenticated_emergency_service_accessible of this PasspointProfile. # noqa: E501 + :rtype: bool + """ + return self._unauthenticated_emergency_service_accessible + + @unauthenticated_emergency_service_accessible.setter + def unauthenticated_emergency_service_accessible(self, unauthenticated_emergency_service_accessible): + """Sets the unauthenticated_emergency_service_accessible of this PasspointProfile. + + + :param unauthenticated_emergency_service_accessible: The unauthenticated_emergency_service_accessible of this PasspointProfile. # noqa: E501 + :type: bool + """ + + self._unauthenticated_emergency_service_accessible = unauthenticated_emergency_service_accessible + + @property + def internet_connectivity(self): + """Gets the internet_connectivity of this PasspointProfile. # noqa: E501 + + + :return: The internet_connectivity of this PasspointProfile. # noqa: E501 + :rtype: bool + """ + return self._internet_connectivity + + @internet_connectivity.setter + def internet_connectivity(self, internet_connectivity): + """Sets the internet_connectivity of this PasspointProfile. + + + :param internet_connectivity: The internet_connectivity of this PasspointProfile. # noqa: E501 + :type: bool + """ + + self._internet_connectivity = internet_connectivity + + @property + def ip_address_type_availability(self): + """Gets the ip_address_type_availability of this PasspointProfile. # noqa: E501 + + + :return: The ip_address_type_availability of this PasspointProfile. # noqa: E501 + :rtype: Object + """ + return self._ip_address_type_availability + + @ip_address_type_availability.setter + def ip_address_type_availability(self, ip_address_type_availability): + """Sets the ip_address_type_availability of this PasspointProfile. + + + :param ip_address_type_availability: The ip_address_type_availability of this PasspointProfile. # noqa: E501 + :type: Object + """ + + self._ip_address_type_availability = ip_address_type_availability + + @property + def qos_map_set_configuration(self): + """Gets the qos_map_set_configuration of this PasspointProfile. # noqa: E501 + + + :return: The qos_map_set_configuration of this PasspointProfile. # noqa: E501 + :rtype: list[str] + """ + return self._qos_map_set_configuration + + @qos_map_set_configuration.setter + def qos_map_set_configuration(self, qos_map_set_configuration): + """Sets the qos_map_set_configuration of this PasspointProfile. + + + :param qos_map_set_configuration: The qos_map_set_configuration of this PasspointProfile. # noqa: E501 + :type: list[str] + """ + + self._qos_map_set_configuration = qos_map_set_configuration + + @property + def hessid(self): + """Gets the hessid of this PasspointProfile. # noqa: E501 + + + :return: The hessid of this PasspointProfile. # noqa: E501 + :rtype: MacAddress + """ + return self._hessid + + @hessid.setter + def hessid(self, hessid): + """Sets the hessid of this PasspointProfile. + + + :param hessid: The hessid of this PasspointProfile. # noqa: E501 + :type: MacAddress + """ + + self._hessid = hessid + + @property + def ap_geospatial_location(self): + """Gets the ap_geospatial_location of this PasspointProfile. # noqa: E501 + + + :return: The ap_geospatial_location of this PasspointProfile. # noqa: E501 + :rtype: str + """ + return self._ap_geospatial_location + + @ap_geospatial_location.setter + def ap_geospatial_location(self, ap_geospatial_location): + """Sets the ap_geospatial_location of this PasspointProfile. + + + :param ap_geospatial_location: The ap_geospatial_location of this PasspointProfile. # noqa: E501 + :type: str + """ + + self._ap_geospatial_location = ap_geospatial_location + + @property + def ap_civic_location(self): + """Gets the ap_civic_location of this PasspointProfile. # noqa: E501 + + + :return: The ap_civic_location of this PasspointProfile. # noqa: E501 + :rtype: str + """ + return self._ap_civic_location + + @ap_civic_location.setter + def ap_civic_location(self, ap_civic_location): + """Sets the ap_civic_location of this PasspointProfile. + + + :param ap_civic_location: The ap_civic_location of this PasspointProfile. # noqa: E501 + :type: str + """ + + self._ap_civic_location = ap_civic_location + + @property + def anqp_domain_id(self): + """Gets the anqp_domain_id of this PasspointProfile. # noqa: E501 + + + :return: The anqp_domain_id of this PasspointProfile. # noqa: E501 + :rtype: int + """ + return self._anqp_domain_id + + @anqp_domain_id.setter + def anqp_domain_id(self, anqp_domain_id): + """Sets the anqp_domain_id of this PasspointProfile. + + + :param anqp_domain_id: The anqp_domain_id of this PasspointProfile. # noqa: E501 + :type: int + """ + + self._anqp_domain_id = anqp_domain_id + + @property + def disable_downstream_group_addressed_forwarding(self): + """Gets the disable_downstream_group_addressed_forwarding of this PasspointProfile. # noqa: E501 + + + :return: The disable_downstream_group_addressed_forwarding of this PasspointProfile. # noqa: E501 + :rtype: bool + """ + return self._disable_downstream_group_addressed_forwarding + + @disable_downstream_group_addressed_forwarding.setter + def disable_downstream_group_addressed_forwarding(self, disable_downstream_group_addressed_forwarding): + """Sets the disable_downstream_group_addressed_forwarding of this PasspointProfile. + + + :param disable_downstream_group_addressed_forwarding: The disable_downstream_group_addressed_forwarding of this PasspointProfile. # noqa: E501 + :type: bool + """ + + self._disable_downstream_group_addressed_forwarding = disable_downstream_group_addressed_forwarding + + @property + def enable2pt4_g_hz(self): + """Gets the enable2pt4_g_hz of this PasspointProfile. # noqa: E501 + + + :return: The enable2pt4_g_hz of this PasspointProfile. # noqa: E501 + :rtype: bool + """ + return self._enable2pt4_g_hz + + @enable2pt4_g_hz.setter + def enable2pt4_g_hz(self, enable2pt4_g_hz): + """Sets the enable2pt4_g_hz of this PasspointProfile. + + + :param enable2pt4_g_hz: The enable2pt4_g_hz of this PasspointProfile. # noqa: E501 + :type: bool + """ + + self._enable2pt4_g_hz = enable2pt4_g_hz + + @property + def enable5_g_hz(self): + """Gets the enable5_g_hz of this PasspointProfile. # noqa: E501 + + + :return: The enable5_g_hz of this PasspointProfile. # noqa: E501 + :rtype: bool + """ + return self._enable5_g_hz + + @enable5_g_hz.setter + def enable5_g_hz(self, enable5_g_hz): + """Sets the enable5_g_hz of this PasspointProfile. + + + :param enable5_g_hz: The enable5_g_hz of this PasspointProfile. # noqa: E501 + :type: bool + """ + + self._enable5_g_hz = enable5_g_hz + + @property + def associated_access_ssid_profile_ids(self): + """Gets the associated_access_ssid_profile_ids of this PasspointProfile. # noqa: E501 + + + :return: The associated_access_ssid_profile_ids of this PasspointProfile. # noqa: E501 + :rtype: list[int] + """ + return self._associated_access_ssid_profile_ids + + @associated_access_ssid_profile_ids.setter + def associated_access_ssid_profile_ids(self, associated_access_ssid_profile_ids): + """Sets the associated_access_ssid_profile_ids of this PasspointProfile. + + + :param associated_access_ssid_profile_ids: The associated_access_ssid_profile_ids of this PasspointProfile. # noqa: E501 + :type: list[int] + """ + + self._associated_access_ssid_profile_ids = associated_access_ssid_profile_ids + + @property + def osu_ssid_profile_id(self): + """Gets the osu_ssid_profile_id of this PasspointProfile. # noqa: E501 + + + :return: The osu_ssid_profile_id of this PasspointProfile. # noqa: E501 + :rtype: int + """ + return self._osu_ssid_profile_id + + @osu_ssid_profile_id.setter + def osu_ssid_profile_id(self, osu_ssid_profile_id): + """Sets the osu_ssid_profile_id of this PasspointProfile. + + + :param osu_ssid_profile_id: The osu_ssid_profile_id of this PasspointProfile. # noqa: E501 + :type: int + """ + + self._osu_ssid_profile_id = osu_ssid_profile_id + + @property + def passpoint_operator_profile_id(self): + """Gets the passpoint_operator_profile_id of this PasspointProfile. # noqa: E501 + + Profile Id of a PasspointOperatorProfile profile, must be also added to the children of this profile # noqa: E501 + + :return: The passpoint_operator_profile_id of this PasspointProfile. # noqa: E501 + :rtype: int + """ + return self._passpoint_operator_profile_id + + @passpoint_operator_profile_id.setter + def passpoint_operator_profile_id(self, passpoint_operator_profile_id): + """Sets the passpoint_operator_profile_id of this PasspointProfile. + + Profile Id of a PasspointOperatorProfile profile, must be also added to the children of this profile # noqa: E501 + + :param passpoint_operator_profile_id: The passpoint_operator_profile_id of this PasspointProfile. # noqa: E501 + :type: int + """ + + self._passpoint_operator_profile_id = passpoint_operator_profile_id + + @property + def passpoint_venue_profile_id(self): + """Gets the passpoint_venue_profile_id of this PasspointProfile. # noqa: E501 + + Profile Id of a PasspointVenueProfile profile, must be also added to the children of this profile # noqa: E501 + + :return: The passpoint_venue_profile_id of this PasspointProfile. # noqa: E501 + :rtype: int + """ + return self._passpoint_venue_profile_id + + @passpoint_venue_profile_id.setter + def passpoint_venue_profile_id(self, passpoint_venue_profile_id): + """Sets the passpoint_venue_profile_id of this PasspointProfile. + + Profile Id of a PasspointVenueProfile profile, must be also added to the children of this profile # noqa: E501 + + :param passpoint_venue_profile_id: The passpoint_venue_profile_id of this PasspointProfile. # noqa: E501 + :type: int + """ + + self._passpoint_venue_profile_id = passpoint_venue_profile_id + + @property + def passpoint_osu_provider_profile_ids(self): + """Gets the passpoint_osu_provider_profile_ids of this PasspointProfile. # noqa: E501 + + array containing Profile Ids of PasspointOsuProviderProfiles, must be also added to the children of this profile # noqa: E501 + + :return: The passpoint_osu_provider_profile_ids of this PasspointProfile. # noqa: E501 + :rtype: list[int] + """ + return self._passpoint_osu_provider_profile_ids + + @passpoint_osu_provider_profile_ids.setter + def passpoint_osu_provider_profile_ids(self, passpoint_osu_provider_profile_ids): + """Sets the passpoint_osu_provider_profile_ids of this PasspointProfile. + + array containing Profile Ids of PasspointOsuProviderProfiles, must be also added to the children of this profile # noqa: E501 + + :param passpoint_osu_provider_profile_ids: The passpoint_osu_provider_profile_ids of this PasspointProfile. # noqa: E501 + :type: list[int] + """ + + self._passpoint_osu_provider_profile_ids = passpoint_osu_provider_profile_ids + + @property + def ap_public_location_id_uri(self): + """Gets the ap_public_location_id_uri of this PasspointProfile. # noqa: E501 + + + :return: The ap_public_location_id_uri of this PasspointProfile. # noqa: E501 + :rtype: str + """ + return self._ap_public_location_id_uri + + @ap_public_location_id_uri.setter + def ap_public_location_id_uri(self, ap_public_location_id_uri): + """Sets the ap_public_location_id_uri of this PasspointProfile. + + + :param ap_public_location_id_uri: The ap_public_location_id_uri of this PasspointProfile. # noqa: E501 + :type: str + """ + + self._ap_public_location_id_uri = ap_public_location_id_uri + + @property + def access_network_type(self): + """Gets the access_network_type of this PasspointProfile. # noqa: E501 + + + :return: The access_network_type of this PasspointProfile. # noqa: E501 + :rtype: PasspointAccessNetworkType + """ + return self._access_network_type + + @access_network_type.setter + def access_network_type(self, access_network_type): + """Sets the access_network_type of this PasspointProfile. + + + :param access_network_type: The access_network_type of this PasspointProfile. # noqa: E501 + :type: PasspointAccessNetworkType + """ + + self._access_network_type = access_network_type + + @property + def network_authentication_type(self): + """Gets the network_authentication_type of this PasspointProfile. # noqa: E501 + + + :return: The network_authentication_type of this PasspointProfile. # noqa: E501 + :rtype: PasspointNetworkAuthenticationType + """ + return self._network_authentication_type + + @network_authentication_type.setter + def network_authentication_type(self, network_authentication_type): + """Sets the network_authentication_type of this PasspointProfile. + + + :param network_authentication_type: The network_authentication_type of this PasspointProfile. # noqa: E501 + :type: PasspointNetworkAuthenticationType + """ + + self._network_authentication_type = network_authentication_type + + @property + def connection_capability_set(self): + """Gets the connection_capability_set of this PasspointProfile. # noqa: E501 + + + :return: The connection_capability_set of this PasspointProfile. # noqa: E501 + :rtype: list[PasspointConnectionCapability] + """ + return self._connection_capability_set + + @connection_capability_set.setter + def connection_capability_set(self, connection_capability_set): + """Sets the connection_capability_set of this PasspointProfile. + + + :param connection_capability_set: The connection_capability_set of this PasspointProfile. # noqa: E501 + :type: list[PasspointConnectionCapability] + """ + + self._connection_capability_set = connection_capability_set + + @property + def gas_addr3_behaviour(self): + """Gets the gas_addr3_behaviour of this PasspointProfile. # noqa: E501 + + + :return: The gas_addr3_behaviour of this PasspointProfile. # noqa: E501 + :rtype: PasspointGasAddress3Behaviour + """ + return self._gas_addr3_behaviour + + @gas_addr3_behaviour.setter + def gas_addr3_behaviour(self, gas_addr3_behaviour): + """Sets the gas_addr3_behaviour of this PasspointProfile. + + + :param gas_addr3_behaviour: The gas_addr3_behaviour of this PasspointProfile. # noqa: E501 + :type: PasspointGasAddress3Behaviour + """ + + self._gas_addr3_behaviour = gas_addr3_behaviour + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(PasspointProfile, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, PasspointProfile): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_venue_name.py b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_venue_name.py new file mode 100644 index 000000000..cb67f8052 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_venue_name.py @@ -0,0 +1,110 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class PasspointVenueName(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'venue_url': 'str' + } + + attribute_map = { + 'venue_url': 'venueUrl' + } + + def __init__(self, venue_url=None): # noqa: E501 + """PasspointVenueName - a model defined in Swagger""" # noqa: E501 + self._venue_url = None + self.discriminator = None + if venue_url is not None: + self.venue_url = venue_url + + @property + def venue_url(self): + """Gets the venue_url of this PasspointVenueName. # noqa: E501 + + + :return: The venue_url of this PasspointVenueName. # noqa: E501 + :rtype: str + """ + return self._venue_url + + @venue_url.setter + def venue_url(self, venue_url): + """Sets the venue_url of this PasspointVenueName. + + + :param venue_url: The venue_url of this PasspointVenueName. # noqa: E501 + :type: str + """ + + self._venue_url = venue_url + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(PasspointVenueName, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, PasspointVenueName): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_venue_profile.py b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_venue_profile.py new file mode 100644 index 000000000..cc14ce993 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_venue_profile.py @@ -0,0 +1,174 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six +from swagger_client.models.profile_details import ProfileDetails # noqa: F401,E501 + +class PasspointVenueProfile(ProfileDetails): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'passpoint_venue_name_set': 'list[PasspointVenueName]', + 'passpoint_venue_type_assignment': 'list[PasspointVenueTypeAssignment]' + } + if hasattr(ProfileDetails, "swagger_types"): + swagger_types.update(ProfileDetails.swagger_types) + + attribute_map = { + 'model_type': 'model_type', + 'passpoint_venue_name_set': 'passpointVenueNameSet', + 'passpoint_venue_type_assignment': 'passpointVenueTypeAssignment' + } + if hasattr(ProfileDetails, "attribute_map"): + attribute_map.update(ProfileDetails.attribute_map) + + def __init__(self, model_type=None, passpoint_venue_name_set=None, passpoint_venue_type_assignment=None, *args, **kwargs): # noqa: E501 + """PasspointVenueProfile - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._passpoint_venue_name_set = None + self._passpoint_venue_type_assignment = None + self.discriminator = None + if model_type is not None: + self.model_type = model_type + if passpoint_venue_name_set is not None: + self.passpoint_venue_name_set = passpoint_venue_name_set + if passpoint_venue_type_assignment is not None: + self.passpoint_venue_type_assignment = passpoint_venue_type_assignment + ProfileDetails.__init__(self, *args, **kwargs) + + @property + def model_type(self): + """Gets the model_type of this PasspointVenueProfile. # noqa: E501 + + + :return: The model_type of this PasspointVenueProfile. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this PasspointVenueProfile. + + + :param model_type: The model_type of this PasspointVenueProfile. # noqa: E501 + :type: str + """ + allowed_values = ["PasspointVenueProfile"] # noqa: E501 + if model_type not in allowed_values: + raise ValueError( + "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 + .format(model_type, allowed_values) + ) + + self._model_type = model_type + + @property + def passpoint_venue_name_set(self): + """Gets the passpoint_venue_name_set of this PasspointVenueProfile. # noqa: E501 + + + :return: The passpoint_venue_name_set of this PasspointVenueProfile. # noqa: E501 + :rtype: list[PasspointVenueName] + """ + return self._passpoint_venue_name_set + + @passpoint_venue_name_set.setter + def passpoint_venue_name_set(self, passpoint_venue_name_set): + """Sets the passpoint_venue_name_set of this PasspointVenueProfile. + + + :param passpoint_venue_name_set: The passpoint_venue_name_set of this PasspointVenueProfile. # noqa: E501 + :type: list[PasspointVenueName] + """ + + self._passpoint_venue_name_set = passpoint_venue_name_set + + @property + def passpoint_venue_type_assignment(self): + """Gets the passpoint_venue_type_assignment of this PasspointVenueProfile. # noqa: E501 + + + :return: The passpoint_venue_type_assignment of this PasspointVenueProfile. # noqa: E501 + :rtype: list[PasspointVenueTypeAssignment] + """ + return self._passpoint_venue_type_assignment + + @passpoint_venue_type_assignment.setter + def passpoint_venue_type_assignment(self, passpoint_venue_type_assignment): + """Sets the passpoint_venue_type_assignment of this PasspointVenueProfile. + + + :param passpoint_venue_type_assignment: The passpoint_venue_type_assignment of this PasspointVenueProfile. # noqa: E501 + :type: list[PasspointVenueTypeAssignment] + """ + + self._passpoint_venue_type_assignment = passpoint_venue_type_assignment + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(PasspointVenueProfile, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, PasspointVenueProfile): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_venue_type_assignment.py b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_venue_type_assignment.py new file mode 100644 index 000000000..6e1b8a1fa --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_venue_type_assignment.py @@ -0,0 +1,162 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class PasspointVenueTypeAssignment(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'venue_description': 'str', + 'venue_group_id': 'int', + 'venue_type_id': 'int' + } + + attribute_map = { + 'venue_description': 'venueDescription', + 'venue_group_id': 'venueGroupId', + 'venue_type_id': 'venueTypeId' + } + + def __init__(self, venue_description=None, venue_group_id=None, venue_type_id=None): # noqa: E501 + """PasspointVenueTypeAssignment - a model defined in Swagger""" # noqa: E501 + self._venue_description = None + self._venue_group_id = None + self._venue_type_id = None + self.discriminator = None + if venue_description is not None: + self.venue_description = venue_description + if venue_group_id is not None: + self.venue_group_id = venue_group_id + if venue_type_id is not None: + self.venue_type_id = venue_type_id + + @property + def venue_description(self): + """Gets the venue_description of this PasspointVenueTypeAssignment. # noqa: E501 + + + :return: The venue_description of this PasspointVenueTypeAssignment. # noqa: E501 + :rtype: str + """ + return self._venue_description + + @venue_description.setter + def venue_description(self, venue_description): + """Sets the venue_description of this PasspointVenueTypeAssignment. + + + :param venue_description: The venue_description of this PasspointVenueTypeAssignment. # noqa: E501 + :type: str + """ + + self._venue_description = venue_description + + @property + def venue_group_id(self): + """Gets the venue_group_id of this PasspointVenueTypeAssignment. # noqa: E501 + + + :return: The venue_group_id of this PasspointVenueTypeAssignment. # noqa: E501 + :rtype: int + """ + return self._venue_group_id + + @venue_group_id.setter + def venue_group_id(self, venue_group_id): + """Sets the venue_group_id of this PasspointVenueTypeAssignment. + + + :param venue_group_id: The venue_group_id of this PasspointVenueTypeAssignment. # noqa: E501 + :type: int + """ + + self._venue_group_id = venue_group_id + + @property + def venue_type_id(self): + """Gets the venue_type_id of this PasspointVenueTypeAssignment. # noqa: E501 + + + :return: The venue_type_id of this PasspointVenueTypeAssignment. # noqa: E501 + :rtype: int + """ + return self._venue_type_id + + @venue_type_id.setter + def venue_type_id(self, venue_type_id): + """Sets the venue_type_id of this PasspointVenueTypeAssignment. + + + :param venue_type_id: The venue_type_id of this PasspointVenueTypeAssignment. # noqa: E501 + :type: int + """ + + self._venue_type_id = venue_type_id + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(PasspointVenueTypeAssignment, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, PasspointVenueTypeAssignment): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/peer_info.py b/libs/cloudapi/cloudsdk/swagger_client/models/peer_info.py new file mode 100644 index 000000000..f6e0fa0ac --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/peer_info.py @@ -0,0 +1,214 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class PeerInfo(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'peer_mac': 'list[int]', + 'peer_ip': 'str', + 'tunnel': 'TunnelIndicator', + 'vlans': 'list[int]', + 'radius_secret': 'str' + } + + attribute_map = { + 'peer_mac': 'peerMAC', + 'peer_ip': 'peerIP', + 'tunnel': 'tunnel', + 'vlans': 'vlans', + 'radius_secret': 'radiusSecret' + } + + def __init__(self, peer_mac=None, peer_ip=None, tunnel=None, vlans=None, radius_secret=None): # noqa: E501 + """PeerInfo - a model defined in Swagger""" # noqa: E501 + self._peer_mac = None + self._peer_ip = None + self._tunnel = None + self._vlans = None + self._radius_secret = None + self.discriminator = None + if peer_mac is not None: + self.peer_mac = peer_mac + if peer_ip is not None: + self.peer_ip = peer_ip + if tunnel is not None: + self.tunnel = tunnel + if vlans is not None: + self.vlans = vlans + if radius_secret is not None: + self.radius_secret = radius_secret + + @property + def peer_mac(self): + """Gets the peer_mac of this PeerInfo. # noqa: E501 + + + :return: The peer_mac of this PeerInfo. # noqa: E501 + :rtype: list[int] + """ + return self._peer_mac + + @peer_mac.setter + def peer_mac(self, peer_mac): + """Sets the peer_mac of this PeerInfo. + + + :param peer_mac: The peer_mac of this PeerInfo. # noqa: E501 + :type: list[int] + """ + + self._peer_mac = peer_mac + + @property + def peer_ip(self): + """Gets the peer_ip of this PeerInfo. # noqa: E501 + + + :return: The peer_ip of this PeerInfo. # noqa: E501 + :rtype: str + """ + return self._peer_ip + + @peer_ip.setter + def peer_ip(self, peer_ip): + """Sets the peer_ip of this PeerInfo. + + + :param peer_ip: The peer_ip of this PeerInfo. # noqa: E501 + :type: str + """ + + self._peer_ip = peer_ip + + @property + def tunnel(self): + """Gets the tunnel of this PeerInfo. # noqa: E501 + + + :return: The tunnel of this PeerInfo. # noqa: E501 + :rtype: TunnelIndicator + """ + return self._tunnel + + @tunnel.setter + def tunnel(self, tunnel): + """Sets the tunnel of this PeerInfo. + + + :param tunnel: The tunnel of this PeerInfo. # noqa: E501 + :type: TunnelIndicator + """ + + self._tunnel = tunnel + + @property + def vlans(self): + """Gets the vlans of this PeerInfo. # noqa: E501 + + + :return: The vlans of this PeerInfo. # noqa: E501 + :rtype: list[int] + """ + return self._vlans + + @vlans.setter + def vlans(self, vlans): + """Sets the vlans of this PeerInfo. + + + :param vlans: The vlans of this PeerInfo. # noqa: E501 + :type: list[int] + """ + + self._vlans = vlans + + @property + def radius_secret(self): + """Gets the radius_secret of this PeerInfo. # noqa: E501 + + + :return: The radius_secret of this PeerInfo. # noqa: E501 + :rtype: str + """ + return self._radius_secret + + @radius_secret.setter + def radius_secret(self, radius_secret): + """Sets the radius_secret of this PeerInfo. + + + :param radius_secret: The radius_secret of this PeerInfo. # noqa: E501 + :type: str + """ + + self._radius_secret = radius_secret + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(PeerInfo, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, PeerInfo): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/per_process_utilization.py b/libs/cloudapi/cloudsdk/swagger_client/models/per_process_utilization.py new file mode 100644 index 000000000..147a848e7 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/per_process_utilization.py @@ -0,0 +1,168 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class PerProcessUtilization(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'pid': 'int', + 'cmd': 'str', + 'util': 'int' + } + + attribute_map = { + 'pid': 'pid', + 'cmd': 'cmd', + 'util': 'util' + } + + def __init__(self, pid=None, cmd=None, util=None): # noqa: E501 + """PerProcessUtilization - a model defined in Swagger""" # noqa: E501 + self._pid = None + self._cmd = None + self._util = None + self.discriminator = None + if pid is not None: + self.pid = pid + if cmd is not None: + self.cmd = cmd + if util is not None: + self.util = util + + @property + def pid(self): + """Gets the pid of this PerProcessUtilization. # noqa: E501 + + process id # noqa: E501 + + :return: The pid of this PerProcessUtilization. # noqa: E501 + :rtype: int + """ + return self._pid + + @pid.setter + def pid(self, pid): + """Sets the pid of this PerProcessUtilization. + + process id # noqa: E501 + + :param pid: The pid of this PerProcessUtilization. # noqa: E501 + :type: int + """ + + self._pid = pid + + @property + def cmd(self): + """Gets the cmd of this PerProcessUtilization. # noqa: E501 + + process name # noqa: E501 + + :return: The cmd of this PerProcessUtilization. # noqa: E501 + :rtype: str + """ + return self._cmd + + @cmd.setter + def cmd(self, cmd): + """Sets the cmd of this PerProcessUtilization. + + process name # noqa: E501 + + :param cmd: The cmd of this PerProcessUtilization. # noqa: E501 + :type: str + """ + + self._cmd = cmd + + @property + def util(self): + """Gets the util of this PerProcessUtilization. # noqa: E501 + + utilization, either as a percentage (i.e. for CPU) or in kB (for memory) # noqa: E501 + + :return: The util of this PerProcessUtilization. # noqa: E501 + :rtype: int + """ + return self._util + + @util.setter + def util(self, util): + """Sets the util of this PerProcessUtilization. + + utilization, either as a percentage (i.e. for CPU) or in kB (for memory) # noqa: E501 + + :param util: The util of this PerProcessUtilization. # noqa: E501 + :type: int + """ + + self._util = util + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(PerProcessUtilization, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, PerProcessUtilization): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/ping_response.py b/libs/cloudapi/cloudsdk/swagger_client/models/ping_response.py new file mode 100644 index 000000000..08904d75d --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/ping_response.py @@ -0,0 +1,266 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class PingResponse(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'startup_time': 'int', + 'current_time': 'int', + 'application_name': 'str', + 'host_name': 'str', + 'commit_id': 'str', + 'commit_date': 'str', + 'project_version': 'str' + } + + attribute_map = { + 'startup_time': 'startupTime', + 'current_time': 'currentTime', + 'application_name': 'applicationName', + 'host_name': 'hostName', + 'commit_id': 'commitID', + 'commit_date': 'commitDate', + 'project_version': 'projectVersion' + } + + def __init__(self, startup_time=None, current_time=None, application_name=None, host_name=None, commit_id=None, commit_date=None, project_version=None): # noqa: E501 + """PingResponse - a model defined in Swagger""" # noqa: E501 + self._startup_time = None + self._current_time = None + self._application_name = None + self._host_name = None + self._commit_id = None + self._commit_date = None + self._project_version = None + self.discriminator = None + if startup_time is not None: + self.startup_time = startup_time + if current_time is not None: + self.current_time = current_time + if application_name is not None: + self.application_name = application_name + if host_name is not None: + self.host_name = host_name + if commit_id is not None: + self.commit_id = commit_id + if commit_date is not None: + self.commit_date = commit_date + if project_version is not None: + self.project_version = project_version + + @property + def startup_time(self): + """Gets the startup_time of this PingResponse. # noqa: E501 + + + :return: The startup_time of this PingResponse. # noqa: E501 + :rtype: int + """ + return self._startup_time + + @startup_time.setter + def startup_time(self, startup_time): + """Sets the startup_time of this PingResponse. + + + :param startup_time: The startup_time of this PingResponse. # noqa: E501 + :type: int + """ + + self._startup_time = startup_time + + @property + def current_time(self): + """Gets the current_time of this PingResponse. # noqa: E501 + + + :return: The current_time of this PingResponse. # noqa: E501 + :rtype: int + """ + return self._current_time + + @current_time.setter + def current_time(self, current_time): + """Sets the current_time of this PingResponse. + + + :param current_time: The current_time of this PingResponse. # noqa: E501 + :type: int + """ + + self._current_time = current_time + + @property + def application_name(self): + """Gets the application_name of this PingResponse. # noqa: E501 + + + :return: The application_name of this PingResponse. # noqa: E501 + :rtype: str + """ + return self._application_name + + @application_name.setter + def application_name(self, application_name): + """Sets the application_name of this PingResponse. + + + :param application_name: The application_name of this PingResponse. # noqa: E501 + :type: str + """ + + self._application_name = application_name + + @property + def host_name(self): + """Gets the host_name of this PingResponse. # noqa: E501 + + + :return: The host_name of this PingResponse. # noqa: E501 + :rtype: str + """ + return self._host_name + + @host_name.setter + def host_name(self, host_name): + """Sets the host_name of this PingResponse. + + + :param host_name: The host_name of this PingResponse. # noqa: E501 + :type: str + """ + + self._host_name = host_name + + @property + def commit_id(self): + """Gets the commit_id of this PingResponse. # noqa: E501 + + + :return: The commit_id of this PingResponse. # noqa: E501 + :rtype: str + """ + return self._commit_id + + @commit_id.setter + def commit_id(self, commit_id): + """Sets the commit_id of this PingResponse. + + + :param commit_id: The commit_id of this PingResponse. # noqa: E501 + :type: str + """ + + self._commit_id = commit_id + + @property + def commit_date(self): + """Gets the commit_date of this PingResponse. # noqa: E501 + + + :return: The commit_date of this PingResponse. # noqa: E501 + :rtype: str + """ + return self._commit_date + + @commit_date.setter + def commit_date(self, commit_date): + """Sets the commit_date of this PingResponse. + + + :param commit_date: The commit_date of this PingResponse. # noqa: E501 + :type: str + """ + + self._commit_date = commit_date + + @property + def project_version(self): + """Gets the project_version of this PingResponse. # noqa: E501 + + + :return: The project_version of this PingResponse. # noqa: E501 + :rtype: str + """ + return self._project_version + + @project_version.setter + def project_version(self, project_version): + """Sets the project_version of this PingResponse. + + + :param project_version: The project_version of this PingResponse. # noqa: E501 + :type: str + """ + + self._project_version = project_version + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(PingResponse, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, PingResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/portal_user.py b/libs/cloudapi/cloudsdk/swagger_client/models/portal_user.py new file mode 100644 index 000000000..6e309dcbd --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/portal_user.py @@ -0,0 +1,268 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class PortalUser(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'id': 'int', + 'customer_id': 'int', + 'username': 'str', + 'password': 'str', + 'roles': 'list[PortalUserRole]', + 'created_timestamp': 'int', + 'last_modified_timestamp': 'int' + } + + attribute_map = { + 'id': 'id', + 'customer_id': 'customerId', + 'username': 'username', + 'password': 'password', + 'roles': 'roles', + 'created_timestamp': 'createdTimestamp', + 'last_modified_timestamp': 'lastModifiedTimestamp' + } + + def __init__(self, id=None, customer_id=None, username=None, password=None, roles=None, created_timestamp=None, last_modified_timestamp=None): # noqa: E501 + """PortalUser - a model defined in Swagger""" # noqa: E501 + self._id = None + self._customer_id = None + self._username = None + self._password = None + self._roles = None + self._created_timestamp = None + self._last_modified_timestamp = None + self.discriminator = None + if id is not None: + self.id = id + if customer_id is not None: + self.customer_id = customer_id + if username is not None: + self.username = username + if password is not None: + self.password = password + if roles is not None: + self.roles = roles + if created_timestamp is not None: + self.created_timestamp = created_timestamp + if last_modified_timestamp is not None: + self.last_modified_timestamp = last_modified_timestamp + + @property + def id(self): + """Gets the id of this PortalUser. # noqa: E501 + + + :return: The id of this PortalUser. # noqa: E501 + :rtype: int + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this PortalUser. + + + :param id: The id of this PortalUser. # noqa: E501 + :type: int + """ + + self._id = id + + @property + def customer_id(self): + """Gets the customer_id of this PortalUser. # noqa: E501 + + + :return: The customer_id of this PortalUser. # noqa: E501 + :rtype: int + """ + return self._customer_id + + @customer_id.setter + def customer_id(self, customer_id): + """Sets the customer_id of this PortalUser. + + + :param customer_id: The customer_id of this PortalUser. # noqa: E501 + :type: int + """ + + self._customer_id = customer_id + + @property + def username(self): + """Gets the username of this PortalUser. # noqa: E501 + + + :return: The username of this PortalUser. # noqa: E501 + :rtype: str + """ + return self._username + + @username.setter + def username(self, username): + """Sets the username of this PortalUser. + + + :param username: The username of this PortalUser. # noqa: E501 + :type: str + """ + + self._username = username + + @property + def password(self): + """Gets the password of this PortalUser. # noqa: E501 + + + :return: The password of this PortalUser. # noqa: E501 + :rtype: str + """ + return self._password + + @password.setter + def password(self, password): + """Sets the password of this PortalUser. + + + :param password: The password of this PortalUser. # noqa: E501 + :type: str + """ + + self._password = password + + @property + def roles(self): + """Gets the roles of this PortalUser. # noqa: E501 + + + :return: The roles of this PortalUser. # noqa: E501 + :rtype: list[PortalUserRole] + """ + return self._roles + + @roles.setter + def roles(self, roles): + """Sets the roles of this PortalUser. + + + :param roles: The roles of this PortalUser. # noqa: E501 + :type: list[PortalUserRole] + """ + + self._roles = roles + + @property + def created_timestamp(self): + """Gets the created_timestamp of this PortalUser. # noqa: E501 + + + :return: The created_timestamp of this PortalUser. # noqa: E501 + :rtype: int + """ + return self._created_timestamp + + @created_timestamp.setter + def created_timestamp(self, created_timestamp): + """Sets the created_timestamp of this PortalUser. + + + :param created_timestamp: The created_timestamp of this PortalUser. # noqa: E501 + :type: int + """ + + self._created_timestamp = created_timestamp + + @property + def last_modified_timestamp(self): + """Gets the last_modified_timestamp of this PortalUser. # noqa: E501 + + must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database # noqa: E501 + + :return: The last_modified_timestamp of this PortalUser. # noqa: E501 + :rtype: int + """ + return self._last_modified_timestamp + + @last_modified_timestamp.setter + def last_modified_timestamp(self, last_modified_timestamp): + """Sets the last_modified_timestamp of this PortalUser. + + must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database # noqa: E501 + + :param last_modified_timestamp: The last_modified_timestamp of this PortalUser. # noqa: E501 + :type: int + """ + + self._last_modified_timestamp = last_modified_timestamp + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(PortalUser, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, PortalUser): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/portal_user_added_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/portal_user_added_event.py new file mode 100644 index 000000000..87b2f722f --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/portal_user_added_event.py @@ -0,0 +1,189 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class PortalUserAddedEvent(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'event_timestamp': 'int', + 'customer_id': 'int', + 'payload': 'PortalUser' + } + + attribute_map = { + 'model_type': 'model_type', + 'event_timestamp': 'eventTimestamp', + 'customer_id': 'customerId', + 'payload': 'payload' + } + + def __init__(self, model_type=None, event_timestamp=None, customer_id=None, payload=None): # noqa: E501 + """PortalUserAddedEvent - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._event_timestamp = None + self._customer_id = None + self._payload = None + self.discriminator = None + self.model_type = model_type + if event_timestamp is not None: + self.event_timestamp = event_timestamp + if customer_id is not None: + self.customer_id = customer_id + if payload is not None: + self.payload = payload + + @property + def model_type(self): + """Gets the model_type of this PortalUserAddedEvent. # noqa: E501 + + + :return: The model_type of this PortalUserAddedEvent. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this PortalUserAddedEvent. + + + :param model_type: The model_type of this PortalUserAddedEvent. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + + self._model_type = model_type + + @property + def event_timestamp(self): + """Gets the event_timestamp of this PortalUserAddedEvent. # noqa: E501 + + + :return: The event_timestamp of this PortalUserAddedEvent. # noqa: E501 + :rtype: int + """ + return self._event_timestamp + + @event_timestamp.setter + def event_timestamp(self, event_timestamp): + """Sets the event_timestamp of this PortalUserAddedEvent. + + + :param event_timestamp: The event_timestamp of this PortalUserAddedEvent. # noqa: E501 + :type: int + """ + + self._event_timestamp = event_timestamp + + @property + def customer_id(self): + """Gets the customer_id of this PortalUserAddedEvent. # noqa: E501 + + + :return: The customer_id of this PortalUserAddedEvent. # noqa: E501 + :rtype: int + """ + return self._customer_id + + @customer_id.setter + def customer_id(self, customer_id): + """Sets the customer_id of this PortalUserAddedEvent. + + + :param customer_id: The customer_id of this PortalUserAddedEvent. # noqa: E501 + :type: int + """ + + self._customer_id = customer_id + + @property + def payload(self): + """Gets the payload of this PortalUserAddedEvent. # noqa: E501 + + + :return: The payload of this PortalUserAddedEvent. # noqa: E501 + :rtype: PortalUser + """ + return self._payload + + @payload.setter + def payload(self, payload): + """Sets the payload of this PortalUserAddedEvent. + + + :param payload: The payload of this PortalUserAddedEvent. # noqa: E501 + :type: PortalUser + """ + + self._payload = payload + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(PortalUserAddedEvent, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, PortalUserAddedEvent): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/portal_user_changed_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/portal_user_changed_event.py new file mode 100644 index 000000000..f97a50b7b --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/portal_user_changed_event.py @@ -0,0 +1,189 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class PortalUserChangedEvent(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'event_timestamp': 'int', + 'customer_id': 'int', + 'payload': 'PortalUser' + } + + attribute_map = { + 'model_type': 'model_type', + 'event_timestamp': 'eventTimestamp', + 'customer_id': 'customerId', + 'payload': 'payload' + } + + def __init__(self, model_type=None, event_timestamp=None, customer_id=None, payload=None): # noqa: E501 + """PortalUserChangedEvent - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._event_timestamp = None + self._customer_id = None + self._payload = None + self.discriminator = None + self.model_type = model_type + if event_timestamp is not None: + self.event_timestamp = event_timestamp + if customer_id is not None: + self.customer_id = customer_id + if payload is not None: + self.payload = payload + + @property + def model_type(self): + """Gets the model_type of this PortalUserChangedEvent. # noqa: E501 + + + :return: The model_type of this PortalUserChangedEvent. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this PortalUserChangedEvent. + + + :param model_type: The model_type of this PortalUserChangedEvent. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + + self._model_type = model_type + + @property + def event_timestamp(self): + """Gets the event_timestamp of this PortalUserChangedEvent. # noqa: E501 + + + :return: The event_timestamp of this PortalUserChangedEvent. # noqa: E501 + :rtype: int + """ + return self._event_timestamp + + @event_timestamp.setter + def event_timestamp(self, event_timestamp): + """Sets the event_timestamp of this PortalUserChangedEvent. + + + :param event_timestamp: The event_timestamp of this PortalUserChangedEvent. # noqa: E501 + :type: int + """ + + self._event_timestamp = event_timestamp + + @property + def customer_id(self): + """Gets the customer_id of this PortalUserChangedEvent. # noqa: E501 + + + :return: The customer_id of this PortalUserChangedEvent. # noqa: E501 + :rtype: int + """ + return self._customer_id + + @customer_id.setter + def customer_id(self, customer_id): + """Sets the customer_id of this PortalUserChangedEvent. + + + :param customer_id: The customer_id of this PortalUserChangedEvent. # noqa: E501 + :type: int + """ + + self._customer_id = customer_id + + @property + def payload(self): + """Gets the payload of this PortalUserChangedEvent. # noqa: E501 + + + :return: The payload of this PortalUserChangedEvent. # noqa: E501 + :rtype: PortalUser + """ + return self._payload + + @payload.setter + def payload(self, payload): + """Sets the payload of this PortalUserChangedEvent. + + + :param payload: The payload of this PortalUserChangedEvent. # noqa: E501 + :type: PortalUser + """ + + self._payload = payload + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(PortalUserChangedEvent, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, PortalUserChangedEvent): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/portal_user_removed_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/portal_user_removed_event.py new file mode 100644 index 000000000..c0505dd69 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/portal_user_removed_event.py @@ -0,0 +1,189 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class PortalUserRemovedEvent(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'event_timestamp': 'int', + 'customer_id': 'int', + 'payload': 'PortalUser' + } + + attribute_map = { + 'model_type': 'model_type', + 'event_timestamp': 'eventTimestamp', + 'customer_id': 'customerId', + 'payload': 'payload' + } + + def __init__(self, model_type=None, event_timestamp=None, customer_id=None, payload=None): # noqa: E501 + """PortalUserRemovedEvent - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._event_timestamp = None + self._customer_id = None + self._payload = None + self.discriminator = None + self.model_type = model_type + if event_timestamp is not None: + self.event_timestamp = event_timestamp + if customer_id is not None: + self.customer_id = customer_id + if payload is not None: + self.payload = payload + + @property + def model_type(self): + """Gets the model_type of this PortalUserRemovedEvent. # noqa: E501 + + + :return: The model_type of this PortalUserRemovedEvent. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this PortalUserRemovedEvent. + + + :param model_type: The model_type of this PortalUserRemovedEvent. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + + self._model_type = model_type + + @property + def event_timestamp(self): + """Gets the event_timestamp of this PortalUserRemovedEvent. # noqa: E501 + + + :return: The event_timestamp of this PortalUserRemovedEvent. # noqa: E501 + :rtype: int + """ + return self._event_timestamp + + @event_timestamp.setter + def event_timestamp(self, event_timestamp): + """Sets the event_timestamp of this PortalUserRemovedEvent. + + + :param event_timestamp: The event_timestamp of this PortalUserRemovedEvent. # noqa: E501 + :type: int + """ + + self._event_timestamp = event_timestamp + + @property + def customer_id(self): + """Gets the customer_id of this PortalUserRemovedEvent. # noqa: E501 + + + :return: The customer_id of this PortalUserRemovedEvent. # noqa: E501 + :rtype: int + """ + return self._customer_id + + @customer_id.setter + def customer_id(self, customer_id): + """Sets the customer_id of this PortalUserRemovedEvent. + + + :param customer_id: The customer_id of this PortalUserRemovedEvent. # noqa: E501 + :type: int + """ + + self._customer_id = customer_id + + @property + def payload(self): + """Gets the payload of this PortalUserRemovedEvent. # noqa: E501 + + + :return: The payload of this PortalUserRemovedEvent. # noqa: E501 + :rtype: PortalUser + """ + return self._payload + + @payload.setter + def payload(self, payload): + """Sets the payload of this PortalUserRemovedEvent. + + + :param payload: The payload of this PortalUserRemovedEvent. # noqa: E501 + :type: PortalUser + """ + + self._payload = payload + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(PortalUserRemovedEvent, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, PortalUserRemovedEvent): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/portal_user_role.py b/libs/cloudapi/cloudsdk/swagger_client/models/portal_user_role.py new file mode 100644 index 000000000..87edbe7c4 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/portal_user_role.py @@ -0,0 +1,99 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class PortalUserRole(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + SUPERUSER = "SuperUser" + SUPERUSER_RO = "SuperUser_RO" + CUSTOMERIT = "CustomerIT" + CUSTOMERIT_RO = "CustomerIT_RO" + DISTRIBUTOR = "Distributor" + DISTRIBUTOR_RO = "Distributor_RO" + MANAGEDSERVICEPROVIDER = "ManagedServiceProvider" + MANAGEDSERVICEPROVIDER_RO = "ManagedServiceProvider_RO" + TECHSUPPORT = "TechSupport" + TECHSUPPORT_RO = "TechSupport_RO" + PUBLIC = "Public" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """PortalUserRole - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(PortalUserRole, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, PortalUserRole): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/profile.py b/libs/cloudapi/cloudsdk/swagger_client/models/profile.py new file mode 100644 index 000000000..36ba007d1 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/profile.py @@ -0,0 +1,294 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class Profile(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'id': 'int', + 'profile_type': 'ProfileType', + 'customer_id': 'int', + 'name': 'str', + 'child_profile_ids': 'list[int]', + 'details': 'ProfileDetailsChildren', + 'created_timestamp': 'int', + 'last_modified_timestamp': 'int' + } + + attribute_map = { + 'id': 'id', + 'profile_type': 'profileType', + 'customer_id': 'customerId', + 'name': 'name', + 'child_profile_ids': 'childProfileIds', + 'details': 'details', + 'created_timestamp': 'createdTimestamp', + 'last_modified_timestamp': 'lastModifiedTimestamp' + } + + def __init__(self, id=None, profile_type=None, customer_id=None, name=None, child_profile_ids=None, details=None, created_timestamp=None, last_modified_timestamp=None): # noqa: E501 + """Profile - a model defined in Swagger""" # noqa: E501 + self._id = None + self._profile_type = None + self._customer_id = None + self._name = None + self._child_profile_ids = None + self._details = None + self._created_timestamp = None + self._last_modified_timestamp = None + self.discriminator = None + if id is not None: + self.id = id + if profile_type is not None: + self.profile_type = profile_type + if customer_id is not None: + self.customer_id = customer_id + if name is not None: + self.name = name + if child_profile_ids is not None: + self.child_profile_ids = child_profile_ids + if details is not None: + self.details = details + if created_timestamp is not None: + self.created_timestamp = created_timestamp + if last_modified_timestamp is not None: + self.last_modified_timestamp = last_modified_timestamp + + @property + def id(self): + """Gets the id of this Profile. # noqa: E501 + + + :return: The id of this Profile. # noqa: E501 + :rtype: int + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this Profile. + + + :param id: The id of this Profile. # noqa: E501 + :type: int + """ + + self._id = id + + @property + def profile_type(self): + """Gets the profile_type of this Profile. # noqa: E501 + + + :return: The profile_type of this Profile. # noqa: E501 + :rtype: ProfileType + """ + return self._profile_type + + @profile_type.setter + def profile_type(self, profile_type): + """Sets the profile_type of this Profile. + + + :param profile_type: The profile_type of this Profile. # noqa: E501 + :type: ProfileType + """ + + self._profile_type = profile_type + + @property + def customer_id(self): + """Gets the customer_id of this Profile. # noqa: E501 + + + :return: The customer_id of this Profile. # noqa: E501 + :rtype: int + """ + return self._customer_id + + @customer_id.setter + def customer_id(self, customer_id): + """Sets the customer_id of this Profile. + + + :param customer_id: The customer_id of this Profile. # noqa: E501 + :type: int + """ + + self._customer_id = customer_id + + @property + def name(self): + """Gets the name of this Profile. # noqa: E501 + + + :return: The name of this Profile. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this Profile. + + + :param name: The name of this Profile. # noqa: E501 + :type: str + """ + + self._name = name + + @property + def child_profile_ids(self): + """Gets the child_profile_ids of this Profile. # noqa: E501 + + + :return: The child_profile_ids of this Profile. # noqa: E501 + :rtype: list[int] + """ + return self._child_profile_ids + + @child_profile_ids.setter + def child_profile_ids(self, child_profile_ids): + """Sets the child_profile_ids of this Profile. + + + :param child_profile_ids: The child_profile_ids of this Profile. # noqa: E501 + :type: list[int] + """ + + self._child_profile_ids = child_profile_ids + + @property + def details(self): + """Gets the details of this Profile. # noqa: E501 + + + :return: The details of this Profile. # noqa: E501 + :rtype: ProfileDetailsChildren + """ + return self._details + + @details.setter + def details(self, details): + """Sets the details of this Profile. + + + :param details: The details of this Profile. # noqa: E501 + :type: ProfileDetailsChildren + """ + + self._details = details + + @property + def created_timestamp(self): + """Gets the created_timestamp of this Profile. # noqa: E501 + + + :return: The created_timestamp of this Profile. # noqa: E501 + :rtype: int + """ + return self._created_timestamp + + @created_timestamp.setter + def created_timestamp(self, created_timestamp): + """Sets the created_timestamp of this Profile. + + + :param created_timestamp: The created_timestamp of this Profile. # noqa: E501 + :type: int + """ + + self._created_timestamp = created_timestamp + + @property + def last_modified_timestamp(self): + """Gets the last_modified_timestamp of this Profile. # noqa: E501 + + must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database # noqa: E501 + + :return: The last_modified_timestamp of this Profile. # noqa: E501 + :rtype: int + """ + return self._last_modified_timestamp + + @last_modified_timestamp.setter + def last_modified_timestamp(self, last_modified_timestamp): + """Sets the last_modified_timestamp of this Profile. + + must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database # noqa: E501 + + :param last_modified_timestamp: The last_modified_timestamp of this Profile. # noqa: E501 + :type: int + """ + + self._last_modified_timestamp = last_modified_timestamp + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(Profile, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, Profile): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/profile_added_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/profile_added_event.py new file mode 100644 index 000000000..aa7758db0 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/profile_added_event.py @@ -0,0 +1,189 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ProfileAddedEvent(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'event_timestamp': 'int', + 'customer_id': 'int', + 'payload': 'Profile' + } + + attribute_map = { + 'model_type': 'model_type', + 'event_timestamp': 'eventTimestamp', + 'customer_id': 'customerId', + 'payload': 'payload' + } + + def __init__(self, model_type=None, event_timestamp=None, customer_id=None, payload=None): # noqa: E501 + """ProfileAddedEvent - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._event_timestamp = None + self._customer_id = None + self._payload = None + self.discriminator = None + self.model_type = model_type + if event_timestamp is not None: + self.event_timestamp = event_timestamp + if customer_id is not None: + self.customer_id = customer_id + if payload is not None: + self.payload = payload + + @property + def model_type(self): + """Gets the model_type of this ProfileAddedEvent. # noqa: E501 + + + :return: The model_type of this ProfileAddedEvent. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this ProfileAddedEvent. + + + :param model_type: The model_type of this ProfileAddedEvent. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + + self._model_type = model_type + + @property + def event_timestamp(self): + """Gets the event_timestamp of this ProfileAddedEvent. # noqa: E501 + + + :return: The event_timestamp of this ProfileAddedEvent. # noqa: E501 + :rtype: int + """ + return self._event_timestamp + + @event_timestamp.setter + def event_timestamp(self, event_timestamp): + """Sets the event_timestamp of this ProfileAddedEvent. + + + :param event_timestamp: The event_timestamp of this ProfileAddedEvent. # noqa: E501 + :type: int + """ + + self._event_timestamp = event_timestamp + + @property + def customer_id(self): + """Gets the customer_id of this ProfileAddedEvent. # noqa: E501 + + + :return: The customer_id of this ProfileAddedEvent. # noqa: E501 + :rtype: int + """ + return self._customer_id + + @customer_id.setter + def customer_id(self, customer_id): + """Sets the customer_id of this ProfileAddedEvent. + + + :param customer_id: The customer_id of this ProfileAddedEvent. # noqa: E501 + :type: int + """ + + self._customer_id = customer_id + + @property + def payload(self): + """Gets the payload of this ProfileAddedEvent. # noqa: E501 + + + :return: The payload of this ProfileAddedEvent. # noqa: E501 + :rtype: Profile + """ + return self._payload + + @payload.setter + def payload(self, payload): + """Sets the payload of this ProfileAddedEvent. + + + :param payload: The payload of this ProfileAddedEvent. # noqa: E501 + :type: Profile + """ + + self._payload = payload + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ProfileAddedEvent, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ProfileAddedEvent): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/profile_changed_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/profile_changed_event.py new file mode 100644 index 000000000..499a5fe76 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/profile_changed_event.py @@ -0,0 +1,189 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ProfileChangedEvent(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'event_timestamp': 'int', + 'customer_id': 'int', + 'payload': 'Profile' + } + + attribute_map = { + 'model_type': 'model_type', + 'event_timestamp': 'eventTimestamp', + 'customer_id': 'customerId', + 'payload': 'payload' + } + + def __init__(self, model_type=None, event_timestamp=None, customer_id=None, payload=None): # noqa: E501 + """ProfileChangedEvent - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._event_timestamp = None + self._customer_id = None + self._payload = None + self.discriminator = None + self.model_type = model_type + if event_timestamp is not None: + self.event_timestamp = event_timestamp + if customer_id is not None: + self.customer_id = customer_id + if payload is not None: + self.payload = payload + + @property + def model_type(self): + """Gets the model_type of this ProfileChangedEvent. # noqa: E501 + + + :return: The model_type of this ProfileChangedEvent. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this ProfileChangedEvent. + + + :param model_type: The model_type of this ProfileChangedEvent. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + + self._model_type = model_type + + @property + def event_timestamp(self): + """Gets the event_timestamp of this ProfileChangedEvent. # noqa: E501 + + + :return: The event_timestamp of this ProfileChangedEvent. # noqa: E501 + :rtype: int + """ + return self._event_timestamp + + @event_timestamp.setter + def event_timestamp(self, event_timestamp): + """Sets the event_timestamp of this ProfileChangedEvent. + + + :param event_timestamp: The event_timestamp of this ProfileChangedEvent. # noqa: E501 + :type: int + """ + + self._event_timestamp = event_timestamp + + @property + def customer_id(self): + """Gets the customer_id of this ProfileChangedEvent. # noqa: E501 + + + :return: The customer_id of this ProfileChangedEvent. # noqa: E501 + :rtype: int + """ + return self._customer_id + + @customer_id.setter + def customer_id(self, customer_id): + """Sets the customer_id of this ProfileChangedEvent. + + + :param customer_id: The customer_id of this ProfileChangedEvent. # noqa: E501 + :type: int + """ + + self._customer_id = customer_id + + @property + def payload(self): + """Gets the payload of this ProfileChangedEvent. # noqa: E501 + + + :return: The payload of this ProfileChangedEvent. # noqa: E501 + :rtype: Profile + """ + return self._payload + + @payload.setter + def payload(self, payload): + """Sets the payload of this ProfileChangedEvent. + + + :param payload: The payload of this ProfileChangedEvent. # noqa: E501 + :type: Profile + """ + + self._payload = payload + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ProfileChangedEvent, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ProfileChangedEvent): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/profile_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/profile_details.py new file mode 100644 index 000000000..f91b3f398 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/profile_details.py @@ -0,0 +1,136 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ProfileDetails(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str' + } + + attribute_map = { + 'model_type': 'model_type' + } + + discriminator_value_class_map = { + 'PasspointOsuProviderProfile': 'PasspointOsuProviderProfile', +'PasspointProfile': 'PasspointProfile', +'BonjourGatewayProfile': 'BonjourGatewayProfile', +'SsidConfiguration': 'SsidConfiguration', +'MeshGroup': 'MeshGroup', +'PasspointVenueProfile': 'PasspointVenueProfile', +'RadiusProfile': 'RadiusProfile', +'ServiceMetricsCollectionConfigProfile': 'ServiceMetricsCollectionConfigProfile', +'RfConfiguration': 'RfConfiguration', +'CaptivePortalConfiguration': 'CaptivePortalConfiguration', +'ApNetworkConfiguration': 'ApNetworkConfiguration', +'PasspointOperatorProfile': 'PasspointOperatorProfile' } + + def __init__(self, model_type=None): # noqa: E501 + """ProfileDetails - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self.discriminator = 'model_type' + self.model_type = model_type + + @property + def model_type(self): + """Gets the model_type of this ProfileDetails. # noqa: E501 + + + :return: The model_type of this ProfileDetails. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this ProfileDetails. + + + :param model_type: The model_type of this ProfileDetails. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + allowed_values = ["BonjourGatewayProfile", "CaptivePortalConfiguration", "ApNetworkConfiguration", "MeshGroup", "RadiusProfile", "SsidConfiguration", "RfConfiguration", "PasspointOsuProviderProfile", "PasspointProfile", "PasspointOperatorProfile", "PasspointVenueProfile", "ServiceMetricsCollectionConfigProfile"] # noqa: E501 + if model_type not in allowed_values: + raise ValueError( + "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 + .format(model_type, allowed_values) + ) + + self._model_type = model_type + + def get_real_child_model(self, data): + """Returns the real base class specified by the discriminator""" + discriminator_value = data[self.discriminator].lower() + return self.discriminator_value_class_map.get(discriminator_value) + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ProfileDetails, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ProfileDetails): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/profile_details_children.py b/libs/cloudapi/cloudsdk/swagger_client/models/profile_details_children.py new file mode 100644 index 000000000..abfbeb121 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/profile_details_children.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ProfileDetailsChildren(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + discriminator_value_class_map = { + } + + def __init__(self): # noqa: E501 + """ProfileDetailsChildren - a model defined in Swagger""" # noqa: E501 + self.discriminator = 'model_type' + + def get_real_child_model(self, data): + """Returns the real base class specified by the discriminator""" + discriminator_value = data[self.discriminator].lower() + return self.discriminator_value_class_map.get(discriminator_value) + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ProfileDetailsChildren, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ProfileDetailsChildren): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/profile_removed_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/profile_removed_event.py new file mode 100644 index 000000000..e01d26e95 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/profile_removed_event.py @@ -0,0 +1,189 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ProfileRemovedEvent(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'event_timestamp': 'int', + 'customer_id': 'int', + 'payload': 'Profile' + } + + attribute_map = { + 'model_type': 'model_type', + 'event_timestamp': 'eventTimestamp', + 'customer_id': 'customerId', + 'payload': 'payload' + } + + def __init__(self, model_type=None, event_timestamp=None, customer_id=None, payload=None): # noqa: E501 + """ProfileRemovedEvent - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._event_timestamp = None + self._customer_id = None + self._payload = None + self.discriminator = None + self.model_type = model_type + if event_timestamp is not None: + self.event_timestamp = event_timestamp + if customer_id is not None: + self.customer_id = customer_id + if payload is not None: + self.payload = payload + + @property + def model_type(self): + """Gets the model_type of this ProfileRemovedEvent. # noqa: E501 + + + :return: The model_type of this ProfileRemovedEvent. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this ProfileRemovedEvent. + + + :param model_type: The model_type of this ProfileRemovedEvent. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + + self._model_type = model_type + + @property + def event_timestamp(self): + """Gets the event_timestamp of this ProfileRemovedEvent. # noqa: E501 + + + :return: The event_timestamp of this ProfileRemovedEvent. # noqa: E501 + :rtype: int + """ + return self._event_timestamp + + @event_timestamp.setter + def event_timestamp(self, event_timestamp): + """Sets the event_timestamp of this ProfileRemovedEvent. + + + :param event_timestamp: The event_timestamp of this ProfileRemovedEvent. # noqa: E501 + :type: int + """ + + self._event_timestamp = event_timestamp + + @property + def customer_id(self): + """Gets the customer_id of this ProfileRemovedEvent. # noqa: E501 + + + :return: The customer_id of this ProfileRemovedEvent. # noqa: E501 + :rtype: int + """ + return self._customer_id + + @customer_id.setter + def customer_id(self, customer_id): + """Sets the customer_id of this ProfileRemovedEvent. + + + :param customer_id: The customer_id of this ProfileRemovedEvent. # noqa: E501 + :type: int + """ + + self._customer_id = customer_id + + @property + def payload(self): + """Gets the payload of this ProfileRemovedEvent. # noqa: E501 + + + :return: The payload of this ProfileRemovedEvent. # noqa: E501 + :rtype: Profile + """ + return self._payload + + @payload.setter + def payload(self, payload): + """Sets the payload of this ProfileRemovedEvent. + + + :param payload: The payload of this ProfileRemovedEvent. # noqa: E501 + :type: Profile + """ + + self._payload = payload + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ProfileRemovedEvent, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ProfileRemovedEvent): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/profile_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/profile_type.py new file mode 100644 index 000000000..539fe24d9 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/profile_type.py @@ -0,0 +1,101 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ProfileType(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + EQUIPMENT_AP = "equipment_ap" + EQUIPMENT_SWITCH = "equipment_switch" + SSID = "ssid" + BONJOUR = "bonjour" + RADIUS = "radius" + CAPTIVE_PORTAL = "captive_portal" + MESH = "mesh" + METRICS = "metrics" + RF = "rf" + PASSPOINT = "passpoint" + PASSPOINT_OPERATOR = "passpoint_operator" + PASSPOINT_VENUE = "passpoint_venue" + PASSPOINT_OSU_ID_PROVIDER = "passpoint_osu_id_provider" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """ProfileType - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ProfileType, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ProfileType): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/radio_based_ssid_configuration.py b/libs/cloudapi/cloudsdk/swagger_client/models/radio_based_ssid_configuration.py new file mode 100644 index 000000000..ca6dd6f89 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/radio_based_ssid_configuration.py @@ -0,0 +1,162 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class RadioBasedSsidConfiguration(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'enable80211r': 'bool', + 'enable80211k': 'bool', + 'enable80211v': 'bool' + } + + attribute_map = { + 'enable80211r': 'enable80211r', + 'enable80211k': 'enable80211k', + 'enable80211v': 'enable80211v' + } + + def __init__(self, enable80211r=None, enable80211k=None, enable80211v=None): # noqa: E501 + """RadioBasedSsidConfiguration - a model defined in Swagger""" # noqa: E501 + self._enable80211r = None + self._enable80211k = None + self._enable80211v = None + self.discriminator = None + if enable80211r is not None: + self.enable80211r = enable80211r + if enable80211k is not None: + self.enable80211k = enable80211k + if enable80211v is not None: + self.enable80211v = enable80211v + + @property + def enable80211r(self): + """Gets the enable80211r of this RadioBasedSsidConfiguration. # noqa: E501 + + + :return: The enable80211r of this RadioBasedSsidConfiguration. # noqa: E501 + :rtype: bool + """ + return self._enable80211r + + @enable80211r.setter + def enable80211r(self, enable80211r): + """Sets the enable80211r of this RadioBasedSsidConfiguration. + + + :param enable80211r: The enable80211r of this RadioBasedSsidConfiguration. # noqa: E501 + :type: bool + """ + + self._enable80211r = enable80211r + + @property + def enable80211k(self): + """Gets the enable80211k of this RadioBasedSsidConfiguration. # noqa: E501 + + + :return: The enable80211k of this RadioBasedSsidConfiguration. # noqa: E501 + :rtype: bool + """ + return self._enable80211k + + @enable80211k.setter + def enable80211k(self, enable80211k): + """Sets the enable80211k of this RadioBasedSsidConfiguration. + + + :param enable80211k: The enable80211k of this RadioBasedSsidConfiguration. # noqa: E501 + :type: bool + """ + + self._enable80211k = enable80211k + + @property + def enable80211v(self): + """Gets the enable80211v of this RadioBasedSsidConfiguration. # noqa: E501 + + + :return: The enable80211v of this RadioBasedSsidConfiguration. # noqa: E501 + :rtype: bool + """ + return self._enable80211v + + @enable80211v.setter + def enable80211v(self, enable80211v): + """Sets the enable80211v of this RadioBasedSsidConfiguration. + + + :param enable80211v: The enable80211v of this RadioBasedSsidConfiguration. # noqa: E501 + :type: bool + """ + + self._enable80211v = enable80211v + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(RadioBasedSsidConfiguration, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, RadioBasedSsidConfiguration): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/radio_based_ssid_configuration_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/radio_based_ssid_configuration_map.py new file mode 100644 index 000000000..9202ba40d --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/radio_based_ssid_configuration_map.py @@ -0,0 +1,188 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class RadioBasedSsidConfigurationMap(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'is5_g_hz': 'RadioBasedSsidConfiguration', + 'is5_g_hz_u': 'RadioBasedSsidConfiguration', + 'is5_g_hz_l': 'RadioBasedSsidConfiguration', + 'is2dot4_g_hz': 'RadioBasedSsidConfiguration' + } + + attribute_map = { + 'is5_g_hz': 'is5GHz', + 'is5_g_hz_u': 'is5GHzU', + 'is5_g_hz_l': 'is5GHzL', + 'is2dot4_g_hz': 'is2dot4GHz' + } + + def __init__(self, is5_g_hz=None, is5_g_hz_u=None, is5_g_hz_l=None, is2dot4_g_hz=None): # noqa: E501 + """RadioBasedSsidConfigurationMap - a model defined in Swagger""" # noqa: E501 + self._is5_g_hz = None + self._is5_g_hz_u = None + self._is5_g_hz_l = None + self._is2dot4_g_hz = None + self.discriminator = None + if is5_g_hz is not None: + self.is5_g_hz = is5_g_hz + if is5_g_hz_u is not None: + self.is5_g_hz_u = is5_g_hz_u + if is5_g_hz_l is not None: + self.is5_g_hz_l = is5_g_hz_l + if is2dot4_g_hz is not None: + self.is2dot4_g_hz = is2dot4_g_hz + + @property + def is5_g_hz(self): + """Gets the is5_g_hz of this RadioBasedSsidConfigurationMap. # noqa: E501 + + + :return: The is5_g_hz of this RadioBasedSsidConfigurationMap. # noqa: E501 + :rtype: RadioBasedSsidConfiguration + """ + return self._is5_g_hz + + @is5_g_hz.setter + def is5_g_hz(self, is5_g_hz): + """Sets the is5_g_hz of this RadioBasedSsidConfigurationMap. + + + :param is5_g_hz: The is5_g_hz of this RadioBasedSsidConfigurationMap. # noqa: E501 + :type: RadioBasedSsidConfiguration + """ + + self._is5_g_hz = is5_g_hz + + @property + def is5_g_hz_u(self): + """Gets the is5_g_hz_u of this RadioBasedSsidConfigurationMap. # noqa: E501 + + + :return: The is5_g_hz_u of this RadioBasedSsidConfigurationMap. # noqa: E501 + :rtype: RadioBasedSsidConfiguration + """ + return self._is5_g_hz_u + + @is5_g_hz_u.setter + def is5_g_hz_u(self, is5_g_hz_u): + """Sets the is5_g_hz_u of this RadioBasedSsidConfigurationMap. + + + :param is5_g_hz_u: The is5_g_hz_u of this RadioBasedSsidConfigurationMap. # noqa: E501 + :type: RadioBasedSsidConfiguration + """ + + self._is5_g_hz_u = is5_g_hz_u + + @property + def is5_g_hz_l(self): + """Gets the is5_g_hz_l of this RadioBasedSsidConfigurationMap. # noqa: E501 + + + :return: The is5_g_hz_l of this RadioBasedSsidConfigurationMap. # noqa: E501 + :rtype: RadioBasedSsidConfiguration + """ + return self._is5_g_hz_l + + @is5_g_hz_l.setter + def is5_g_hz_l(self, is5_g_hz_l): + """Sets the is5_g_hz_l of this RadioBasedSsidConfigurationMap. + + + :param is5_g_hz_l: The is5_g_hz_l of this RadioBasedSsidConfigurationMap. # noqa: E501 + :type: RadioBasedSsidConfiguration + """ + + self._is5_g_hz_l = is5_g_hz_l + + @property + def is2dot4_g_hz(self): + """Gets the is2dot4_g_hz of this RadioBasedSsidConfigurationMap. # noqa: E501 + + + :return: The is2dot4_g_hz of this RadioBasedSsidConfigurationMap. # noqa: E501 + :rtype: RadioBasedSsidConfiguration + """ + return self._is2dot4_g_hz + + @is2dot4_g_hz.setter + def is2dot4_g_hz(self, is2dot4_g_hz): + """Sets the is2dot4_g_hz of this RadioBasedSsidConfigurationMap. + + + :param is2dot4_g_hz: The is2dot4_g_hz of this RadioBasedSsidConfigurationMap. # noqa: E501 + :type: RadioBasedSsidConfiguration + """ + + self._is2dot4_g_hz = is2dot4_g_hz + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(RadioBasedSsidConfigurationMap, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, RadioBasedSsidConfigurationMap): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/radio_best_ap_settings.py b/libs/cloudapi/cloudsdk/swagger_client/models/radio_best_ap_settings.py new file mode 100644 index 000000000..90cf8e555 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/radio_best_ap_settings.py @@ -0,0 +1,162 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class RadioBestApSettings(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'ml_computed': 'bool', + 'drop_in_snr_percentage': 'int', + 'min_load_factor': 'int' + } + + attribute_map = { + 'ml_computed': 'mlComputed', + 'drop_in_snr_percentage': 'dropInSnrPercentage', + 'min_load_factor': 'minLoadFactor' + } + + def __init__(self, ml_computed=True, drop_in_snr_percentage=10, min_load_factor=10): # noqa: E501 + """RadioBestApSettings - a model defined in Swagger""" # noqa: E501 + self._ml_computed = None + self._drop_in_snr_percentage = None + self._min_load_factor = None + self.discriminator = None + if ml_computed is not None: + self.ml_computed = ml_computed + if drop_in_snr_percentage is not None: + self.drop_in_snr_percentage = drop_in_snr_percentage + if min_load_factor is not None: + self.min_load_factor = min_load_factor + + @property + def ml_computed(self): + """Gets the ml_computed of this RadioBestApSettings. # noqa: E501 + + + :return: The ml_computed of this RadioBestApSettings. # noqa: E501 + :rtype: bool + """ + return self._ml_computed + + @ml_computed.setter + def ml_computed(self, ml_computed): + """Sets the ml_computed of this RadioBestApSettings. + + + :param ml_computed: The ml_computed of this RadioBestApSettings. # noqa: E501 + :type: bool + """ + + self._ml_computed = ml_computed + + @property + def drop_in_snr_percentage(self): + """Gets the drop_in_snr_percentage of this RadioBestApSettings. # noqa: E501 + + + :return: The drop_in_snr_percentage of this RadioBestApSettings. # noqa: E501 + :rtype: int + """ + return self._drop_in_snr_percentage + + @drop_in_snr_percentage.setter + def drop_in_snr_percentage(self, drop_in_snr_percentage): + """Sets the drop_in_snr_percentage of this RadioBestApSettings. + + + :param drop_in_snr_percentage: The drop_in_snr_percentage of this RadioBestApSettings. # noqa: E501 + :type: int + """ + + self._drop_in_snr_percentage = drop_in_snr_percentage + + @property + def min_load_factor(self): + """Gets the min_load_factor of this RadioBestApSettings. # noqa: E501 + + + :return: The min_load_factor of this RadioBestApSettings. # noqa: E501 + :rtype: int + """ + return self._min_load_factor + + @min_load_factor.setter + def min_load_factor(self, min_load_factor): + """Sets the min_load_factor of this RadioBestApSettings. + + + :param min_load_factor: The min_load_factor of this RadioBestApSettings. # noqa: E501 + :type: int + """ + + self._min_load_factor = min_load_factor + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(RadioBestApSettings, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, RadioBestApSettings): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/radio_channel_change_settings.py b/libs/cloudapi/cloudsdk/swagger_client/models/radio_channel_change_settings.py new file mode 100644 index 000000000..797db7d9f --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/radio_channel_change_settings.py @@ -0,0 +1,141 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class RadioChannelChangeSettings(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'primary_channel': 'dict(str, int)', + 'backup_channel': 'dict(str, int)' + } + + attribute_map = { + 'primary_channel': 'primaryChannel', + 'backup_channel': 'backupChannel' + } + + def __init__(self, primary_channel=None, backup_channel=None): # noqa: E501 + """RadioChannelChangeSettings - a model defined in Swagger""" # noqa: E501 + self._primary_channel = None + self._backup_channel = None + self.discriminator = None + if primary_channel is not None: + self.primary_channel = primary_channel + self.backup_channel = backup_channel + + @property + def primary_channel(self): + """Gets the primary_channel of this RadioChannelChangeSettings. # noqa: E501 + + Settings for primary channels, keys by RadioType per supported frequency_band (is5GHz, is5GHzL, is5GHzU, is2dot4GHz) # noqa: E501 + + :return: The primary_channel of this RadioChannelChangeSettings. # noqa: E501 + :rtype: dict(str, int) + """ + return self._primary_channel + + @primary_channel.setter + def primary_channel(self, primary_channel): + """Sets the primary_channel of this RadioChannelChangeSettings. + + Settings for primary channels, keys by RadioType per supported frequency_band (is5GHz, is5GHzL, is5GHzU, is2dot4GHz) # noqa: E501 + + :param primary_channel: The primary_channel of this RadioChannelChangeSettings. # noqa: E501 + :type: dict(str, int) + """ + + self._primary_channel = primary_channel + + @property + def backup_channel(self): + """Gets the backup_channel of this RadioChannelChangeSettings. # noqa: E501 + + Settings for backup channels, keys by RadioType per supported frequency_band (is5GHz, is5GHzL, is5GHzU, is2dot4GHz) # noqa: E501 + + :return: The backup_channel of this RadioChannelChangeSettings. # noqa: E501 + :rtype: dict(str, int) + """ + return self._backup_channel + + @backup_channel.setter + def backup_channel(self, backup_channel): + """Sets the backup_channel of this RadioChannelChangeSettings. + + Settings for backup channels, keys by RadioType per supported frequency_band (is5GHz, is5GHzL, is5GHzU, is2dot4GHz) # noqa: E501 + + :param backup_channel: The backup_channel of this RadioChannelChangeSettings. # noqa: E501 + :type: dict(str, int) + """ + if backup_channel is None: + raise ValueError("Invalid value for `backup_channel`, must not be `None`") # noqa: E501 + + self._backup_channel = backup_channel + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(RadioChannelChangeSettings, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, RadioChannelChangeSettings): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/radio_configuration.py b/libs/cloudapi/cloudsdk/swagger_client/models/radio_configuration.py new file mode 100644 index 000000000..42bc1fa2c --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/radio_configuration.py @@ -0,0 +1,370 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class RadioConfiguration(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'radio_type': 'RadioType', + 'radio_admin_state': 'StateSetting', + 'fragmentation_threshold_bytes': 'int', + 'uapsd_state': 'StateSetting', + 'station_isolation': 'StateSetting', + 'multicast_rate': 'SourceSelectionMulticast', + 'management_rate': 'SourceSelectionManagement', + 'best_ap_settings': 'SourceSelectionSteering', + 'legacy_bss_rate': 'StateSetting', + 'dtim_period': 'int', + 'deauth_attack_detection': 'bool' + } + + attribute_map = { + 'radio_type': 'radioType', + 'radio_admin_state': 'radioAdminState', + 'fragmentation_threshold_bytes': 'fragmentationThresholdBytes', + 'uapsd_state': 'uapsdState', + 'station_isolation': 'stationIsolation', + 'multicast_rate': 'multicastRate', + 'management_rate': 'managementRate', + 'best_ap_settings': 'bestApSettings', + 'legacy_bss_rate': 'legacyBSSRate', + 'dtim_period': 'dtimPeriod', + 'deauth_attack_detection': 'deauthAttackDetection' + } + + def __init__(self, radio_type=None, radio_admin_state=None, fragmentation_threshold_bytes=None, uapsd_state=None, station_isolation=None, multicast_rate=None, management_rate=None, best_ap_settings=None, legacy_bss_rate=None, dtim_period=None, deauth_attack_detection=None): # noqa: E501 + """RadioConfiguration - a model defined in Swagger""" # noqa: E501 + self._radio_type = None + self._radio_admin_state = None + self._fragmentation_threshold_bytes = None + self._uapsd_state = None + self._station_isolation = None + self._multicast_rate = None + self._management_rate = None + self._best_ap_settings = None + self._legacy_bss_rate = None + self._dtim_period = None + self._deauth_attack_detection = None + self.discriminator = None + if radio_type is not None: + self.radio_type = radio_type + if radio_admin_state is not None: + self.radio_admin_state = radio_admin_state + if fragmentation_threshold_bytes is not None: + self.fragmentation_threshold_bytes = fragmentation_threshold_bytes + if uapsd_state is not None: + self.uapsd_state = uapsd_state + if station_isolation is not None: + self.station_isolation = station_isolation + if multicast_rate is not None: + self.multicast_rate = multicast_rate + if management_rate is not None: + self.management_rate = management_rate + if best_ap_settings is not None: + self.best_ap_settings = best_ap_settings + if legacy_bss_rate is not None: + self.legacy_bss_rate = legacy_bss_rate + if dtim_period is not None: + self.dtim_period = dtim_period + if deauth_attack_detection is not None: + self.deauth_attack_detection = deauth_attack_detection + + @property + def radio_type(self): + """Gets the radio_type of this RadioConfiguration. # noqa: E501 + + + :return: The radio_type of this RadioConfiguration. # noqa: E501 + :rtype: RadioType + """ + return self._radio_type + + @radio_type.setter + def radio_type(self, radio_type): + """Sets the radio_type of this RadioConfiguration. + + + :param radio_type: The radio_type of this RadioConfiguration. # noqa: E501 + :type: RadioType + """ + + self._radio_type = radio_type + + @property + def radio_admin_state(self): + """Gets the radio_admin_state of this RadioConfiguration. # noqa: E501 + + + :return: The radio_admin_state of this RadioConfiguration. # noqa: E501 + :rtype: StateSetting + """ + return self._radio_admin_state + + @radio_admin_state.setter + def radio_admin_state(self, radio_admin_state): + """Sets the radio_admin_state of this RadioConfiguration. + + + :param radio_admin_state: The radio_admin_state of this RadioConfiguration. # noqa: E501 + :type: StateSetting + """ + + self._radio_admin_state = radio_admin_state + + @property + def fragmentation_threshold_bytes(self): + """Gets the fragmentation_threshold_bytes of this RadioConfiguration. # noqa: E501 + + + :return: The fragmentation_threshold_bytes of this RadioConfiguration. # noqa: E501 + :rtype: int + """ + return self._fragmentation_threshold_bytes + + @fragmentation_threshold_bytes.setter + def fragmentation_threshold_bytes(self, fragmentation_threshold_bytes): + """Sets the fragmentation_threshold_bytes of this RadioConfiguration. + + + :param fragmentation_threshold_bytes: The fragmentation_threshold_bytes of this RadioConfiguration. # noqa: E501 + :type: int + """ + + self._fragmentation_threshold_bytes = fragmentation_threshold_bytes + + @property + def uapsd_state(self): + """Gets the uapsd_state of this RadioConfiguration. # noqa: E501 + + + :return: The uapsd_state of this RadioConfiguration. # noqa: E501 + :rtype: StateSetting + """ + return self._uapsd_state + + @uapsd_state.setter + def uapsd_state(self, uapsd_state): + """Sets the uapsd_state of this RadioConfiguration. + + + :param uapsd_state: The uapsd_state of this RadioConfiguration. # noqa: E501 + :type: StateSetting + """ + + self._uapsd_state = uapsd_state + + @property + def station_isolation(self): + """Gets the station_isolation of this RadioConfiguration. # noqa: E501 + + + :return: The station_isolation of this RadioConfiguration. # noqa: E501 + :rtype: StateSetting + """ + return self._station_isolation + + @station_isolation.setter + def station_isolation(self, station_isolation): + """Sets the station_isolation of this RadioConfiguration. + + + :param station_isolation: The station_isolation of this RadioConfiguration. # noqa: E501 + :type: StateSetting + """ + + self._station_isolation = station_isolation + + @property + def multicast_rate(self): + """Gets the multicast_rate of this RadioConfiguration. # noqa: E501 + + + :return: The multicast_rate of this RadioConfiguration. # noqa: E501 + :rtype: SourceSelectionMulticast + """ + return self._multicast_rate + + @multicast_rate.setter + def multicast_rate(self, multicast_rate): + """Sets the multicast_rate of this RadioConfiguration. + + + :param multicast_rate: The multicast_rate of this RadioConfiguration. # noqa: E501 + :type: SourceSelectionMulticast + """ + + self._multicast_rate = multicast_rate + + @property + def management_rate(self): + """Gets the management_rate of this RadioConfiguration. # noqa: E501 + + + :return: The management_rate of this RadioConfiguration. # noqa: E501 + :rtype: SourceSelectionManagement + """ + return self._management_rate + + @management_rate.setter + def management_rate(self, management_rate): + """Sets the management_rate of this RadioConfiguration. + + + :param management_rate: The management_rate of this RadioConfiguration. # noqa: E501 + :type: SourceSelectionManagement + """ + + self._management_rate = management_rate + + @property + def best_ap_settings(self): + """Gets the best_ap_settings of this RadioConfiguration. # noqa: E501 + + + :return: The best_ap_settings of this RadioConfiguration. # noqa: E501 + :rtype: SourceSelectionSteering + """ + return self._best_ap_settings + + @best_ap_settings.setter + def best_ap_settings(self, best_ap_settings): + """Sets the best_ap_settings of this RadioConfiguration. + + + :param best_ap_settings: The best_ap_settings of this RadioConfiguration. # noqa: E501 + :type: SourceSelectionSteering + """ + + self._best_ap_settings = best_ap_settings + + @property + def legacy_bss_rate(self): + """Gets the legacy_bss_rate of this RadioConfiguration. # noqa: E501 + + + :return: The legacy_bss_rate of this RadioConfiguration. # noqa: E501 + :rtype: StateSetting + """ + return self._legacy_bss_rate + + @legacy_bss_rate.setter + def legacy_bss_rate(self, legacy_bss_rate): + """Sets the legacy_bss_rate of this RadioConfiguration. + + + :param legacy_bss_rate: The legacy_bss_rate of this RadioConfiguration. # noqa: E501 + :type: StateSetting + """ + + self._legacy_bss_rate = legacy_bss_rate + + @property + def dtim_period(self): + """Gets the dtim_period of this RadioConfiguration. # noqa: E501 + + + :return: The dtim_period of this RadioConfiguration. # noqa: E501 + :rtype: int + """ + return self._dtim_period + + @dtim_period.setter + def dtim_period(self, dtim_period): + """Sets the dtim_period of this RadioConfiguration. + + + :param dtim_period: The dtim_period of this RadioConfiguration. # noqa: E501 + :type: int + """ + + self._dtim_period = dtim_period + + @property + def deauth_attack_detection(self): + """Gets the deauth_attack_detection of this RadioConfiguration. # noqa: E501 + + + :return: The deauth_attack_detection of this RadioConfiguration. # noqa: E501 + :rtype: bool + """ + return self._deauth_attack_detection + + @deauth_attack_detection.setter + def deauth_attack_detection(self, deauth_attack_detection): + """Sets the deauth_attack_detection of this RadioConfiguration. + + + :param deauth_attack_detection: The deauth_attack_detection of this RadioConfiguration. # noqa: E501 + :type: bool + """ + + self._deauth_attack_detection = deauth_attack_detection + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(RadioConfiguration, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, RadioConfiguration): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/radio_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/radio_map.py new file mode 100644 index 000000000..d965c47a3 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/radio_map.py @@ -0,0 +1,188 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class RadioMap(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'is5_g_hz': 'ElementRadioConfiguration', + 'is5_g_hz_u': 'ElementRadioConfiguration', + 'is5_g_hz_l': 'ElementRadioConfiguration', + 'is2dot4_g_hz': 'ElementRadioConfiguration' + } + + attribute_map = { + 'is5_g_hz': 'is5GHz', + 'is5_g_hz_u': 'is5GHzU', + 'is5_g_hz_l': 'is5GHzL', + 'is2dot4_g_hz': 'is2dot4GHz' + } + + def __init__(self, is5_g_hz=None, is5_g_hz_u=None, is5_g_hz_l=None, is2dot4_g_hz=None): # noqa: E501 + """RadioMap - a model defined in Swagger""" # noqa: E501 + self._is5_g_hz = None + self._is5_g_hz_u = None + self._is5_g_hz_l = None + self._is2dot4_g_hz = None + self.discriminator = None + if is5_g_hz is not None: + self.is5_g_hz = is5_g_hz + if is5_g_hz_u is not None: + self.is5_g_hz_u = is5_g_hz_u + if is5_g_hz_l is not None: + self.is5_g_hz_l = is5_g_hz_l + if is2dot4_g_hz is not None: + self.is2dot4_g_hz = is2dot4_g_hz + + @property + def is5_g_hz(self): + """Gets the is5_g_hz of this RadioMap. # noqa: E501 + + + :return: The is5_g_hz of this RadioMap. # noqa: E501 + :rtype: ElementRadioConfiguration + """ + return self._is5_g_hz + + @is5_g_hz.setter + def is5_g_hz(self, is5_g_hz): + """Sets the is5_g_hz of this RadioMap. + + + :param is5_g_hz: The is5_g_hz of this RadioMap. # noqa: E501 + :type: ElementRadioConfiguration + """ + + self._is5_g_hz = is5_g_hz + + @property + def is5_g_hz_u(self): + """Gets the is5_g_hz_u of this RadioMap. # noqa: E501 + + + :return: The is5_g_hz_u of this RadioMap. # noqa: E501 + :rtype: ElementRadioConfiguration + """ + return self._is5_g_hz_u + + @is5_g_hz_u.setter + def is5_g_hz_u(self, is5_g_hz_u): + """Sets the is5_g_hz_u of this RadioMap. + + + :param is5_g_hz_u: The is5_g_hz_u of this RadioMap. # noqa: E501 + :type: ElementRadioConfiguration + """ + + self._is5_g_hz_u = is5_g_hz_u + + @property + def is5_g_hz_l(self): + """Gets the is5_g_hz_l of this RadioMap. # noqa: E501 + + + :return: The is5_g_hz_l of this RadioMap. # noqa: E501 + :rtype: ElementRadioConfiguration + """ + return self._is5_g_hz_l + + @is5_g_hz_l.setter + def is5_g_hz_l(self, is5_g_hz_l): + """Sets the is5_g_hz_l of this RadioMap. + + + :param is5_g_hz_l: The is5_g_hz_l of this RadioMap. # noqa: E501 + :type: ElementRadioConfiguration + """ + + self._is5_g_hz_l = is5_g_hz_l + + @property + def is2dot4_g_hz(self): + """Gets the is2dot4_g_hz of this RadioMap. # noqa: E501 + + + :return: The is2dot4_g_hz of this RadioMap. # noqa: E501 + :rtype: ElementRadioConfiguration + """ + return self._is2dot4_g_hz + + @is2dot4_g_hz.setter + def is2dot4_g_hz(self, is2dot4_g_hz): + """Sets the is2dot4_g_hz of this RadioMap. + + + :param is2dot4_g_hz: The is2dot4_g_hz of this RadioMap. # noqa: E501 + :type: ElementRadioConfiguration + """ + + self._is2dot4_g_hz = is2dot4_g_hz + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(RadioMap, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, RadioMap): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/radio_mode.py b/libs/cloudapi/cloudsdk/swagger_client/models/radio_mode.py new file mode 100644 index 000000000..d0f24972b --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/radio_mode.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class RadioMode(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + MODEN = "modeN" + MODEAC = "modeAC" + MODEGN = "modeGN" + MODEAX = "modeAX" + MODEA = "modeA" + MODEB = "modeB" + MODEG = "modeG" + MODEAB = "modeAB" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """RadioMode - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(RadioMode, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, RadioMode): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/radio_profile_configuration.py b/libs/cloudapi/cloudsdk/swagger_client/models/radio_profile_configuration.py new file mode 100644 index 000000000..bf0715f14 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/radio_profile_configuration.py @@ -0,0 +1,136 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class RadioProfileConfiguration(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'best_ap_enabled': 'bool', + 'best_ap_steer_type': 'BestAPSteerType' + } + + attribute_map = { + 'best_ap_enabled': 'bestApEnabled', + 'best_ap_steer_type': 'bestAPSteerType' + } + + def __init__(self, best_ap_enabled=None, best_ap_steer_type=None): # noqa: E501 + """RadioProfileConfiguration - a model defined in Swagger""" # noqa: E501 + self._best_ap_enabled = None + self._best_ap_steer_type = None + self.discriminator = None + if best_ap_enabled is not None: + self.best_ap_enabled = best_ap_enabled + if best_ap_steer_type is not None: + self.best_ap_steer_type = best_ap_steer_type + + @property + def best_ap_enabled(self): + """Gets the best_ap_enabled of this RadioProfileConfiguration. # noqa: E501 + + + :return: The best_ap_enabled of this RadioProfileConfiguration. # noqa: E501 + :rtype: bool + """ + return self._best_ap_enabled + + @best_ap_enabled.setter + def best_ap_enabled(self, best_ap_enabled): + """Sets the best_ap_enabled of this RadioProfileConfiguration. + + + :param best_ap_enabled: The best_ap_enabled of this RadioProfileConfiguration. # noqa: E501 + :type: bool + """ + + self._best_ap_enabled = best_ap_enabled + + @property + def best_ap_steer_type(self): + """Gets the best_ap_steer_type of this RadioProfileConfiguration. # noqa: E501 + + + :return: The best_ap_steer_type of this RadioProfileConfiguration. # noqa: E501 + :rtype: BestAPSteerType + """ + return self._best_ap_steer_type + + @best_ap_steer_type.setter + def best_ap_steer_type(self, best_ap_steer_type): + """Sets the best_ap_steer_type of this RadioProfileConfiguration. + + + :param best_ap_steer_type: The best_ap_steer_type of this RadioProfileConfiguration. # noqa: E501 + :type: BestAPSteerType + """ + + self._best_ap_steer_type = best_ap_steer_type + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(RadioProfileConfiguration, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, RadioProfileConfiguration): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/radio_profile_configuration_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/radio_profile_configuration_map.py new file mode 100644 index 000000000..72bef3e39 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/radio_profile_configuration_map.py @@ -0,0 +1,188 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class RadioProfileConfigurationMap(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'is5_g_hz': 'RadioProfileConfiguration', + 'is5_g_hz_u': 'RadioProfileConfiguration', + 'is5_g_hz_l': 'RadioProfileConfiguration', + 'is2dot4_g_hz': 'RadioProfileConfiguration' + } + + attribute_map = { + 'is5_g_hz': 'is5GHz', + 'is5_g_hz_u': 'is5GHzU', + 'is5_g_hz_l': 'is5GHzL', + 'is2dot4_g_hz': 'is2dot4GHz' + } + + def __init__(self, is5_g_hz=None, is5_g_hz_u=None, is5_g_hz_l=None, is2dot4_g_hz=None): # noqa: E501 + """RadioProfileConfigurationMap - a model defined in Swagger""" # noqa: E501 + self._is5_g_hz = None + self._is5_g_hz_u = None + self._is5_g_hz_l = None + self._is2dot4_g_hz = None + self.discriminator = None + if is5_g_hz is not None: + self.is5_g_hz = is5_g_hz + if is5_g_hz_u is not None: + self.is5_g_hz_u = is5_g_hz_u + if is5_g_hz_l is not None: + self.is5_g_hz_l = is5_g_hz_l + if is2dot4_g_hz is not None: + self.is2dot4_g_hz = is2dot4_g_hz + + @property + def is5_g_hz(self): + """Gets the is5_g_hz of this RadioProfileConfigurationMap. # noqa: E501 + + + :return: The is5_g_hz of this RadioProfileConfigurationMap. # noqa: E501 + :rtype: RadioProfileConfiguration + """ + return self._is5_g_hz + + @is5_g_hz.setter + def is5_g_hz(self, is5_g_hz): + """Sets the is5_g_hz of this RadioProfileConfigurationMap. + + + :param is5_g_hz: The is5_g_hz of this RadioProfileConfigurationMap. # noqa: E501 + :type: RadioProfileConfiguration + """ + + self._is5_g_hz = is5_g_hz + + @property + def is5_g_hz_u(self): + """Gets the is5_g_hz_u of this RadioProfileConfigurationMap. # noqa: E501 + + + :return: The is5_g_hz_u of this RadioProfileConfigurationMap. # noqa: E501 + :rtype: RadioProfileConfiguration + """ + return self._is5_g_hz_u + + @is5_g_hz_u.setter + def is5_g_hz_u(self, is5_g_hz_u): + """Sets the is5_g_hz_u of this RadioProfileConfigurationMap. + + + :param is5_g_hz_u: The is5_g_hz_u of this RadioProfileConfigurationMap. # noqa: E501 + :type: RadioProfileConfiguration + """ + + self._is5_g_hz_u = is5_g_hz_u + + @property + def is5_g_hz_l(self): + """Gets the is5_g_hz_l of this RadioProfileConfigurationMap. # noqa: E501 + + + :return: The is5_g_hz_l of this RadioProfileConfigurationMap. # noqa: E501 + :rtype: RadioProfileConfiguration + """ + return self._is5_g_hz_l + + @is5_g_hz_l.setter + def is5_g_hz_l(self, is5_g_hz_l): + """Sets the is5_g_hz_l of this RadioProfileConfigurationMap. + + + :param is5_g_hz_l: The is5_g_hz_l of this RadioProfileConfigurationMap. # noqa: E501 + :type: RadioProfileConfiguration + """ + + self._is5_g_hz_l = is5_g_hz_l + + @property + def is2dot4_g_hz(self): + """Gets the is2dot4_g_hz of this RadioProfileConfigurationMap. # noqa: E501 + + + :return: The is2dot4_g_hz of this RadioProfileConfigurationMap. # noqa: E501 + :rtype: RadioProfileConfiguration + """ + return self._is2dot4_g_hz + + @is2dot4_g_hz.setter + def is2dot4_g_hz(self, is2dot4_g_hz): + """Sets the is2dot4_g_hz of this RadioProfileConfigurationMap. + + + :param is2dot4_g_hz: The is2dot4_g_hz of this RadioProfileConfigurationMap. # noqa: E501 + :type: RadioProfileConfiguration + """ + + self._is2dot4_g_hz = is2dot4_g_hz + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(RadioProfileConfigurationMap, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, RadioProfileConfigurationMap): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/radio_statistics.py b/libs/cloudapi/cloudsdk/swagger_client/models/radio_statistics.py new file mode 100644 index 000000000..1304b6dfe --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/radio_statistics.py @@ -0,0 +1,9884 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class RadioStatistics(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'num_radio_resets': 'int', + 'num_chan_changes': 'int', + 'num_tx_power_changes': 'int', + 'num_radar_chan_changes': 'int', + 'num_free_tx_buf': 'int', + 'eleven_g_protection': 'int', + 'num_scan_req': 'int', + 'num_scan_succ': 'int', + 'cur_eirp': 'int', + 'actual_cell_size': 'list[int]', + 'cur_channel': 'int', + 'cur_backup_channel': 'int', + 'rx_last_rssi': 'int', + 'num_rx': 'int', + 'num_rx_no_fcs_err': 'int', + 'num_rx_fcs_err': 'int', + 'num_rx_data': 'int', + 'num_rx_management': 'int', + 'num_rx_control': 'int', + 'rx_data_bytes': 'int', + 'num_rx_rts': 'int', + 'num_rx_cts': 'int', + 'num_rx_ack': 'int', + 'num_rx_beacon': 'int', + 'num_rx_probe_req': 'int', + 'num_rx_probe_resp': 'int', + 'num_rx_retry': 'int', + 'num_rx_off_chan': 'int', + 'num_rx_dup': 'int', + 'num_rx_bc_mc': 'int', + 'num_rx_null_data': 'int', + 'num_rx_pspoll': 'int', + 'num_rx_err': 'int', + 'num_rx_stbc': 'int', + 'num_rx_ldpc': 'int', + 'num_rx_drop_runt': 'int', + 'num_rx_drop_invalid_src_mac': 'int', + 'num_rx_drop_amsdu_no_rcv': 'int', + 'num_rx_drop_eth_hdr_runt': 'int', + 'num_rx_amsdu_deagg_seq': 'int', + 'num_rx_amsdu_deagg_itmd': 'int', + 'num_rx_amsdu_deagg_last': 'int', + 'num_rx_drop_no_fc_field': 'int', + 'num_rx_drop_bad_protocol': 'int', + 'num_rcv_frame_for_tx': 'int', + 'num_tx_queued': 'int', + 'num_rcv_bc_for_tx': 'int', + 'num_tx_dropped': 'int', + 'num_tx_retry_dropped': 'int', + 'num_tx_bc_dropped': 'int', + 'num_tx_succ': 'int', + 'num_tx_ps_unicast': 'int', + 'num_tx_dtim_mc': 'int', + 'num_tx_succ_no_retry': 'int', + 'num_tx_succ_retries': 'int', + 'num_tx_multi_retries': 'int', + 'num_tx_management': 'int', + 'num_tx_control': 'int', + 'num_tx_action': 'int', + 'num_tx_beacon_succ': 'int', + 'num_tx_beacon_fail': 'int', + 'num_tx_beacon_su_fail': 'int', + 'num_tx_probe_resp': 'int', + 'num_tx_data': 'int', + 'num_tx_data_retries': 'int', + 'num_tx_rts_succ': 'int', + 'num_tx_rts_fail': 'int', + 'num_tx_cts': 'int', + 'num_tx_no_ack': 'int', + 'num_tx_eapol': 'int', + 'num_tx_ldpc': 'int', + 'num_tx_stbc': 'int', + 'num_tx_aggr_succ': 'int', + 'num_tx_aggr_one_mpdu': 'int', + 'num_tx_rate_limit_drop': 'int', + 'num_tx_retry_attemps': 'int', + 'num_tx_total_attemps': 'int', + 'num_tx_data_frames_12_mbps': 'int', + 'num_tx_data_frames_54_mbps': 'int', + 'num_tx_data_frames_108_mbps': 'int', + 'num_tx_data_frames_300_mbps': 'int', + 'num_tx_data_frames_450_mbps': 'int', + 'num_tx_data_frames_1300_mbps': 'int', + 'num_tx_data_frames_1300_plus_mbps': 'int', + 'num_rx_data_frames_12_mbps': 'int', + 'num_rx_data_frames_54_mbps': 'int', + 'num_rx_data_frames_108_mbps': 'int', + 'num_rx_data_frames_300_mbps': 'int', + 'num_rx_data_frames_450_mbps': 'int', + 'num_rx_data_frames_1300_mbps': 'int', + 'num_rx_data_frames_1300_plus_mbps': 'int', + 'num_tx_time_frames_transmitted': 'int', + 'num_rx_time_to_me': 'int', + 'num_channel_busy64s': 'int', + 'num_tx_time_data': 'int', + 'num_tx_time_bc_mc_data': 'int', + 'num_rx_time_data': 'int', + 'num_tx_frames_transmitted': 'int', + 'num_tx_success_with_retry': 'int', + 'num_tx_multiple_retries': 'int', + 'num_tx_data_transmitted_retried': 'int', + 'num_tx_data_transmitted': 'int', + 'num_tx_data_frames': 'int', + 'num_rx_frames_received': 'int', + 'num_rx_retry_frames': 'int', + 'num_rx_data_frames_retried': 'int', + 'num_rx_data_frames': 'int', + 'num_tx_1_mbps': 'int', + 'num_tx_6_mbps': 'int', + 'num_tx_9_mbps': 'int', + 'num_tx_12_mbps': 'int', + 'num_tx_18_mbps': 'int', + 'num_tx_24_mbps': 'int', + 'num_tx_36_mbps': 'int', + 'num_tx_48_mbps': 'int', + 'num_tx_54_mbps': 'int', + 'num_rx_1_mbps': 'int', + 'num_rx_6_mbps': 'int', + 'num_rx_9_mbps': 'int', + 'num_rx_12_mbps': 'int', + 'num_rx_18_mbps': 'int', + 'num_rx_24_mbps': 'int', + 'num_rx_36_mbps': 'int', + 'num_rx_48_mbps': 'int', + 'num_rx_54_mbps': 'int', + 'num_tx_ht_6_5_mbps': 'int', + 'num_tx_ht_7_1_mbps': 'int', + 'num_tx_ht_13_mbps': 'int', + 'num_tx_ht_13_5_mbps': 'int', + 'num_tx_ht_14_3_mbps': 'int', + 'num_tx_ht_15_mbps': 'int', + 'num_tx_ht_19_5_mbps': 'int', + 'num_tx_ht_21_7_mbps': 'int', + 'num_tx_ht_26_mbps': 'int', + 'num_tx_ht_27_mbps': 'int', + 'num_tx_ht_28_7_mbps': 'int', + 'num_tx_ht_28_8_mbps': 'int', + 'num_tx_ht_29_2_mbps': 'int', + 'num_tx_ht_30_mbps': 'int', + 'num_tx_ht_32_5_mbps': 'int', + 'num_tx_ht_39_mbps': 'int', + 'num_tx_ht_40_5_mbps': 'int', + 'num_tx_ht_43_2_mbps': 'int', + 'num_tx_ht_45_mbps': 'int', + 'num_tx_ht_52_mbps': 'int', + 'num_tx_ht_54_mbps': 'int', + 'num_tx_ht_57_5_mbps': 'int', + 'num_tx_ht_57_7_mbps': 'int', + 'num_tx_ht_58_5_mbps': 'int', + 'num_tx_ht_60_mbps': 'int', + 'num_tx_ht_65_mbps': 'int', + 'num_tx_ht_72_1_mbps': 'int', + 'num_tx_ht_78_mbps': 'int', + 'num_tx_ht_81_mbps': 'int', + 'num_tx_ht_86_6_mbps': 'int', + 'num_tx_ht_86_8_mbps': 'int', + 'num_tx_ht_87_8_mbps': 'int', + 'num_tx_ht_90_mbps': 'int', + 'num_tx_ht_97_5_mbps': 'int', + 'num_tx_ht_104_mbps': 'int', + 'num_tx_ht_108_mbps': 'int', + 'num_tx_ht_115_5_mbps': 'int', + 'num_tx_ht_117_mbps': 'int', + 'num_tx_ht_117_1_mbps': 'int', + 'num_tx_ht_120_mbps': 'int', + 'num_tx_ht_121_5_mbps': 'int', + 'num_tx_ht_130_mbps': 'int', + 'num_tx_ht_130_3_mbps': 'int', + 'num_tx_ht_135_mbps': 'int', + 'num_tx_ht_144_3_mbps': 'int', + 'num_tx_ht_150_mbps': 'int', + 'num_tx_ht_156_mbps': 'int', + 'num_tx_ht_162_mbps': 'int', + 'num_tx_ht_173_1_mbps': 'int', + 'num_tx_ht_173_3_mbps': 'int', + 'num_tx_ht_175_5_mbps': 'int', + 'num_tx_ht_180_mbps': 'int', + 'num_tx_ht_195_mbps': 'int', + 'num_tx_ht_200_mbps': 'int', + 'num_tx_ht_208_mbps': 'int', + 'num_tx_ht_216_mbps': 'int', + 'num_tx_ht_216_6_mbps': 'int', + 'num_tx_ht_231_1_mbps': 'int', + 'num_tx_ht_234_mbps': 'int', + 'num_tx_ht_240_mbps': 'int', + 'num_tx_ht_243_mbps': 'int', + 'num_tx_ht_260_mbps': 'int', + 'num_tx_ht_263_2_mbps': 'int', + 'num_tx_ht_270_mbps': 'int', + 'num_tx_ht_288_7_mbps': 'int', + 'num_tx_ht_288_8_mbps': 'int', + 'num_tx_ht_292_5_mbps': 'int', + 'num_tx_ht_300_mbps': 'int', + 'num_tx_ht_312_mbps': 'int', + 'num_tx_ht_324_mbps': 'int', + 'num_tx_ht_325_mbps': 'int', + 'num_tx_ht_346_7_mbps': 'int', + 'num_tx_ht_351_mbps': 'int', + 'num_tx_ht_351_2_mbps': 'int', + 'num_tx_ht_360_mbps': 'int', + 'num_rx_ht_6_5_mbps': 'int', + 'num_rx_ht_7_1_mbps': 'int', + 'num_rx_ht_13_mbps': 'int', + 'num_rx_ht_13_5_mbps': 'int', + 'num_rx_ht_14_3_mbps': 'int', + 'num_rx_ht_15_mbps': 'int', + 'num_rx_ht_19_5_mbps': 'int', + 'num_rx_ht_21_7_mbps': 'int', + 'num_rx_ht_26_mbps': 'int', + 'num_rx_ht_27_mbps': 'int', + 'num_rx_ht_28_7_mbps': 'int', + 'num_rx_ht_28_8_mbps': 'int', + 'num_rx_ht_29_2_mbps': 'int', + 'num_rx_ht_30_mbps': 'int', + 'num_rx_ht_32_5_mbps': 'int', + 'num_rx_ht_39_mbps': 'int', + 'num_rx_ht_40_5_mbps': 'int', + 'num_rx_ht_43_2_mbps': 'int', + 'num_rx_ht_45_mbps': 'int', + 'num_rx_ht_52_mbps': 'int', + 'num_rx_ht_54_mbps': 'int', + 'num_rx_ht_57_5_mbps': 'int', + 'num_rx_ht_57_7_mbps': 'int', + 'num_rx_ht_58_5_mbps': 'int', + 'num_rx_ht_60_mbps': 'int', + 'num_rx_ht_65_mbps': 'int', + 'num_rx_ht_72_1_mbps': 'int', + 'num_rx_ht_78_mbps': 'int', + 'num_rx_ht_81_mbps': 'int', + 'num_rx_ht_86_6_mbps': 'int', + 'num_rx_ht_86_8_mbps': 'int', + 'num_rx_ht_87_8_mbps': 'int', + 'num_rx_ht_90_mbps': 'int', + 'num_rx_ht_97_5_mbps': 'int', + 'num_rx_ht_104_mbps': 'int', + 'num_rx_ht_108_mbps': 'int', + 'num_rx_ht_115_5_mbps': 'int', + 'num_rx_ht_117_mbps': 'int', + 'num_rx_ht_117_1_mbps': 'int', + 'num_rx_ht_120_mbps': 'int', + 'num_rx_ht_121_5_mbps': 'int', + 'num_rx_ht_130_mbps': 'int', + 'num_rx_ht_130_3_mbps': 'int', + 'num_rx_ht_135_mbps': 'int', + 'num_rx_ht_144_3_mbps': 'int', + 'num_rx_ht_150_mbps': 'int', + 'num_rx_ht_156_mbps': 'int', + 'num_rx_ht_162_mbps': 'int', + 'num_rx_ht_173_1_mbps': 'int', + 'num_rx_ht_173_3_mbps': 'int', + 'num_rx_ht_175_5_mbps': 'int', + 'num_rx_ht_180_mbps': 'int', + 'num_rx_ht_195_mbps': 'int', + 'num_rx_ht_200_mbps': 'int', + 'num_rx_ht_208_mbps': 'int', + 'num_rx_ht_216_mbps': 'int', + 'num_rx_ht_216_6_mbps': 'int', + 'num_rx_ht_231_1_mbps': 'int', + 'num_rx_ht_234_mbps': 'int', + 'num_rx_ht_240_mbps': 'int', + 'num_rx_ht_243_mbps': 'int', + 'num_rx_ht_260_mbps': 'int', + 'num_rx_ht_263_2_mbps': 'int', + 'num_rx_ht_270_mbps': 'int', + 'num_rx_ht_288_7_mbps': 'int', + 'num_rx_ht_288_8_mbps': 'int', + 'num_rx_ht_292_5_mbps': 'int', + 'num_rx_ht_300_mbps': 'int', + 'num_rx_ht_312_mbps': 'int', + 'num_rx_ht_324_mbps': 'int', + 'num_rx_ht_325_mbps': 'int', + 'num_rx_ht_346_7_mbps': 'int', + 'num_rx_ht_351_mbps': 'int', + 'num_rx_ht_351_2_mbps': 'int', + 'num_rx_ht_360_mbps': 'int', + 'num_tx_vht_292_5_mbps': 'int', + 'num_tx_vht_325_mbps': 'int', + 'num_tx_vht_364_5_mbps': 'int', + 'num_tx_vht_390_mbps': 'int', + 'num_tx_vht_400_mbps': 'int', + 'num_tx_vht_403_mbps': 'int', + 'num_tx_vht_405_mbps': 'int', + 'num_tx_vht_432_mbps': 'int', + 'num_tx_vht_433_2_mbps': 'int', + 'num_tx_vht_450_mbps': 'int', + 'num_tx_vht_468_mbps': 'int', + 'num_tx_vht_480_mbps': 'int', + 'num_tx_vht_486_mbps': 'int', + 'num_tx_vht_520_mbps': 'int', + 'num_tx_vht_526_5_mbps': 'int', + 'num_tx_vht_540_mbps': 'int', + 'num_tx_vht_585_mbps': 'int', + 'num_tx_vht_600_mbps': 'int', + 'num_tx_vht_648_mbps': 'int', + 'num_tx_vht_650_mbps': 'int', + 'num_tx_vht_702_mbps': 'int', + 'num_tx_vht_720_mbps': 'int', + 'num_tx_vht_780_mbps': 'int', + 'num_tx_vht_800_mbps': 'int', + 'num_tx_vht_866_7_mbps': 'int', + 'num_tx_vht_877_5_mbps': 'int', + 'num_tx_vht_936_mbps': 'int', + 'num_tx_vht_975_mbps': 'int', + 'num_tx_vht_1040_mbps': 'int', + 'num_tx_vht_1053_mbps': 'int', + 'num_tx_vht_1053_1_mbps': 'int', + 'num_tx_vht_1170_mbps': 'int', + 'num_tx_vht_1300_mbps': 'int', + 'num_tx_vht_1404_mbps': 'int', + 'num_tx_vht_1560_mbps': 'int', + 'num_tx_vht_1579_5_mbps': 'int', + 'num_tx_vht_1733_1_mbps': 'int', + 'num_tx_vht_1733_4_mbps': 'int', + 'num_tx_vht_1755_mbps': 'int', + 'num_tx_vht_1872_mbps': 'int', + 'num_tx_vht_1950_mbps': 'int', + 'num_tx_vht_2080_mbps': 'int', + 'num_tx_vht_2106_mbps': 'int', + 'num_tx_vht_2340_mbps': 'int', + 'num_tx_vht_2600_mbps': 'int', + 'num_tx_vht_2808_mbps': 'int', + 'num_tx_vht_3120_mbps': 'int', + 'num_tx_vht_3466_8_mbps': 'int', + 'num_rx_vht_292_5_mbps': 'int', + 'num_rx_vht_325_mbps': 'int', + 'num_rx_vht_364_5_mbps': 'int', + 'num_rx_vht_390_mbps': 'int', + 'num_rx_vht_400_mbps': 'int', + 'num_rx_vht_403_mbps': 'int', + 'num_rx_vht_405_mbps': 'int', + 'num_rx_vht_432_mbps': 'int', + 'num_rx_vht_433_2_mbps': 'int', + 'num_rx_vht_450_mbps': 'int', + 'num_rx_vht_468_mbps': 'int', + 'num_rx_vht_480_mbps': 'int', + 'num_rx_vht_486_mbps': 'int', + 'num_rx_vht_520_mbps': 'int', + 'num_rx_vht_526_5_mbps': 'int', + 'num_rx_vht_540_mbps': 'int', + 'num_rx_vht_585_mbps': 'int', + 'num_rx_vht_600_mbps': 'int', + 'num_rx_vht_648_mbps': 'int', + 'num_rx_vht_650_mbps': 'int', + 'num_rx_vht_702_mbps': 'int', + 'num_rx_vht_720_mbps': 'int', + 'num_rx_vht_780_mbps': 'int', + 'num_rx_vht_800_mbps': 'int', + 'num_rx_vht_866_7_mbps': 'int', + 'num_rx_vht_877_5_mbps': 'int', + 'num_rx_vht_936_mbps': 'int', + 'num_rx_vht_975_mbps': 'int', + 'num_rx_vht_1040_mbps': 'int', + 'num_rx_vht_1053_mbps': 'int', + 'num_rx_vht_1053_1_mbps': 'int', + 'num_rx_vht_1170_mbps': 'int', + 'num_rx_vht_1300_mbps': 'int', + 'num_rx_vht_1404_mbps': 'int', + 'num_rx_vht_1560_mbps': 'int', + 'num_rx_vht_1579_5_mbps': 'int', + 'num_rx_vht_1733_1_mbps': 'int', + 'num_rx_vht_1733_4_mbps': 'int', + 'num_rx_vht_1755_mbps': 'int', + 'num_rx_vht_1872_mbps': 'int', + 'num_rx_vht_1950_mbps': 'int', + 'num_rx_vht_2080_mbps': 'int', + 'num_rx_vht_2106_mbps': 'int', + 'num_rx_vht_2340_mbps': 'int', + 'num_rx_vht_2600_mbps': 'int', + 'num_rx_vht_2808_mbps': 'int', + 'num_rx_vht_3120_mbps': 'int', + 'num_rx_vht_3466_8_mbps': 'int' + } + + attribute_map = { + 'num_radio_resets': 'numRadioResets', + 'num_chan_changes': 'numChanChanges', + 'num_tx_power_changes': 'numTxPowerChanges', + 'num_radar_chan_changes': 'numRadarChanChanges', + 'num_free_tx_buf': 'numFreeTxBuf', + 'eleven_g_protection': 'elevenGProtection', + 'num_scan_req': 'numScanReq', + 'num_scan_succ': 'numScanSucc', + 'cur_eirp': 'curEirp', + 'actual_cell_size': 'actualCellSize', + 'cur_channel': 'curChannel', + 'cur_backup_channel': 'curBackupChannel', + 'rx_last_rssi': 'rxLastRssi', + 'num_rx': 'numRx', + 'num_rx_no_fcs_err': 'numRxNoFcsErr', + 'num_rx_fcs_err': 'numRxFcsErr', + 'num_rx_data': 'numRxData', + 'num_rx_management': 'numRxManagement', + 'num_rx_control': 'numRxControl', + 'rx_data_bytes': 'rxDataBytes', + 'num_rx_rts': 'numRxRts', + 'num_rx_cts': 'numRxCts', + 'num_rx_ack': 'numRxAck', + 'num_rx_beacon': 'numRxBeacon', + 'num_rx_probe_req': 'numRxProbeReq', + 'num_rx_probe_resp': 'numRxProbeResp', + 'num_rx_retry': 'numRxRetry', + 'num_rx_off_chan': 'numRxOffChan', + 'num_rx_dup': 'numRxDup', + 'num_rx_bc_mc': 'numRxBcMc', + 'num_rx_null_data': 'numRxNullData', + 'num_rx_pspoll': 'numRxPspoll', + 'num_rx_err': 'numRxErr', + 'num_rx_stbc': 'numRxStbc', + 'num_rx_ldpc': 'numRxLdpc', + 'num_rx_drop_runt': 'numRxDropRunt', + 'num_rx_drop_invalid_src_mac': 'numRxDropInvalidSrcMac', + 'num_rx_drop_amsdu_no_rcv': 'numRxDropAmsduNoRcv', + 'num_rx_drop_eth_hdr_runt': 'numRxDropEthHdrRunt', + 'num_rx_amsdu_deagg_seq': 'numRxAmsduDeaggSeq', + 'num_rx_amsdu_deagg_itmd': 'numRxAmsduDeaggItmd', + 'num_rx_amsdu_deagg_last': 'numRxAmsduDeaggLast', + 'num_rx_drop_no_fc_field': 'numRxDropNoFcField', + 'num_rx_drop_bad_protocol': 'numRxDropBadProtocol', + 'num_rcv_frame_for_tx': 'numRcvFrameForTx', + 'num_tx_queued': 'numTxQueued', + 'num_rcv_bc_for_tx': 'numRcvBcForTx', + 'num_tx_dropped': 'numTxDropped', + 'num_tx_retry_dropped': 'numTxRetryDropped', + 'num_tx_bc_dropped': 'numTxBcDropped', + 'num_tx_succ': 'numTxSucc', + 'num_tx_ps_unicast': 'numTxPsUnicast', + 'num_tx_dtim_mc': 'numTxDtimMc', + 'num_tx_succ_no_retry': 'numTxSuccNoRetry', + 'num_tx_succ_retries': 'numTxSuccRetries', + 'num_tx_multi_retries': 'numTxMultiRetries', + 'num_tx_management': 'numTxManagement', + 'num_tx_control': 'numTxControl', + 'num_tx_action': 'numTxAction', + 'num_tx_beacon_succ': 'numTxBeaconSucc', + 'num_tx_beacon_fail': 'numTxBeaconFail', + 'num_tx_beacon_su_fail': 'numTxBeaconSuFail', + 'num_tx_probe_resp': 'numTxProbeResp', + 'num_tx_data': 'numTxData', + 'num_tx_data_retries': 'numTxDataRetries', + 'num_tx_rts_succ': 'numTxRtsSucc', + 'num_tx_rts_fail': 'numTxRtsFail', + 'num_tx_cts': 'numTxCts', + 'num_tx_no_ack': 'numTxNoAck', + 'num_tx_eapol': 'numTxEapol', + 'num_tx_ldpc': 'numTxLdpc', + 'num_tx_stbc': 'numTxStbc', + 'num_tx_aggr_succ': 'numTxAggrSucc', + 'num_tx_aggr_one_mpdu': 'numTxAggrOneMpdu', + 'num_tx_rate_limit_drop': 'numTxRateLimitDrop', + 'num_tx_retry_attemps': 'numTxRetryAttemps', + 'num_tx_total_attemps': 'numTxTotalAttemps', + 'num_tx_data_frames_12_mbps': 'numTxDataFrames_12_Mbps', + 'num_tx_data_frames_54_mbps': 'numTxDataFrames_54_Mbps', + 'num_tx_data_frames_108_mbps': 'numTxDataFrames_108_Mbps', + 'num_tx_data_frames_300_mbps': 'numTxDataFrames_300_Mbps', + 'num_tx_data_frames_450_mbps': 'numTxDataFrames_450_Mbps', + 'num_tx_data_frames_1300_mbps': 'numTxDataFrames_1300_Mbps', + 'num_tx_data_frames_1300_plus_mbps': 'numTxDataFrames_1300Plus_Mbps', + 'num_rx_data_frames_12_mbps': 'numRxDataFrames_12_Mbps', + 'num_rx_data_frames_54_mbps': 'numRxDataFrames_54_Mbps', + 'num_rx_data_frames_108_mbps': 'numRxDataFrames_108_Mbps', + 'num_rx_data_frames_300_mbps': 'numRxDataFrames_300_Mbps', + 'num_rx_data_frames_450_mbps': 'numRxDataFrames_450_Mbps', + 'num_rx_data_frames_1300_mbps': 'numRxDataFrames_1300_Mbps', + 'num_rx_data_frames_1300_plus_mbps': 'numRxDataFrames_1300Plus_Mbps', + 'num_tx_time_frames_transmitted': 'numTxTimeFramesTransmitted', + 'num_rx_time_to_me': 'numRxTimeToMe', + 'num_channel_busy64s': 'numChannelBusy64s', + 'num_tx_time_data': 'numTxTimeData', + 'num_tx_time_bc_mc_data': 'numTxTime_BC_MC_Data', + 'num_rx_time_data': 'numRxTimeData', + 'num_tx_frames_transmitted': 'numTxFramesTransmitted', + 'num_tx_success_with_retry': 'numTxSuccessWithRetry', + 'num_tx_multiple_retries': 'numTxMultipleRetries', + 'num_tx_data_transmitted_retried': 'numTxDataTransmittedRetried', + 'num_tx_data_transmitted': 'numTxDataTransmitted', + 'num_tx_data_frames': 'numTxDataFrames', + 'num_rx_frames_received': 'numRxFramesReceived', + 'num_rx_retry_frames': 'numRxRetryFrames', + 'num_rx_data_frames_retried': 'numRxDataFramesRetried', + 'num_rx_data_frames': 'numRxDataFrames', + 'num_tx_1_mbps': 'numTx_1_Mbps', + 'num_tx_6_mbps': 'numTx_6_Mbps', + 'num_tx_9_mbps': 'numTx_9_Mbps', + 'num_tx_12_mbps': 'numTx_12_Mbps', + 'num_tx_18_mbps': 'numTx_18_Mbps', + 'num_tx_24_mbps': 'numTx_24_Mbps', + 'num_tx_36_mbps': 'numTx_36_Mbps', + 'num_tx_48_mbps': 'numTx_48_Mbps', + 'num_tx_54_mbps': 'numTx_54_Mbps', + 'num_rx_1_mbps': 'numRx_1_Mbps', + 'num_rx_6_mbps': 'numRx_6_Mbps', + 'num_rx_9_mbps': 'numRx_9_Mbps', + 'num_rx_12_mbps': 'numRx_12_Mbps', + 'num_rx_18_mbps': 'numRx_18_Mbps', + 'num_rx_24_mbps': 'numRx_24_Mbps', + 'num_rx_36_mbps': 'numRx_36_Mbps', + 'num_rx_48_mbps': 'numRx_48_Mbps', + 'num_rx_54_mbps': 'numRx_54_Mbps', + 'num_tx_ht_6_5_mbps': 'numTxHT_6_5_Mbps', + 'num_tx_ht_7_1_mbps': 'numTxHT_7_1_Mbps', + 'num_tx_ht_13_mbps': 'numTxHT_13_Mbps', + 'num_tx_ht_13_5_mbps': 'numTxHT_13_5_Mbps', + 'num_tx_ht_14_3_mbps': 'numTxHT_14_3_Mbps', + 'num_tx_ht_15_mbps': 'numTxHT_15_Mbps', + 'num_tx_ht_19_5_mbps': 'numTxHT_19_5_Mbps', + 'num_tx_ht_21_7_mbps': 'numTxHT_21_7_Mbps', + 'num_tx_ht_26_mbps': 'numTxHT_26_Mbps', + 'num_tx_ht_27_mbps': 'numTxHT_27_Mbps', + 'num_tx_ht_28_7_mbps': 'numTxHT_28_7_Mbps', + 'num_tx_ht_28_8_mbps': 'numTxHT_28_8_Mbps', + 'num_tx_ht_29_2_mbps': 'numTxHT_29_2_Mbps', + 'num_tx_ht_30_mbps': 'numTxHT_30_Mbps', + 'num_tx_ht_32_5_mbps': 'numTxHT_32_5_Mbps', + 'num_tx_ht_39_mbps': 'numTxHT_39_Mbps', + 'num_tx_ht_40_5_mbps': 'numTxHT_40_5_Mbps', + 'num_tx_ht_43_2_mbps': 'numTxHT_43_2_Mbps', + 'num_tx_ht_45_mbps': 'numTxHT_45_Mbps', + 'num_tx_ht_52_mbps': 'numTxHT_52_Mbps', + 'num_tx_ht_54_mbps': 'numTxHT_54_Mbps', + 'num_tx_ht_57_5_mbps': 'numTxHT_57_5_Mbps', + 'num_tx_ht_57_7_mbps': 'numTxHT_57_7_Mbps', + 'num_tx_ht_58_5_mbps': 'numTxHT_58_5_Mbps', + 'num_tx_ht_60_mbps': 'numTxHT_60_Mbps', + 'num_tx_ht_65_mbps': 'numTxHT_65_Mbps', + 'num_tx_ht_72_1_mbps': 'numTxHT_72_1_Mbps', + 'num_tx_ht_78_mbps': 'numTxHT_78_Mbps', + 'num_tx_ht_81_mbps': 'numTxHT_81_Mbps', + 'num_tx_ht_86_6_mbps': 'numTxHT_86_6_Mbps', + 'num_tx_ht_86_8_mbps': 'numTxHT_86_8_Mbps', + 'num_tx_ht_87_8_mbps': 'numTxHT_87_8_Mbps', + 'num_tx_ht_90_mbps': 'numTxHT_90_Mbps', + 'num_tx_ht_97_5_mbps': 'numTxHT_97_5_Mbps', + 'num_tx_ht_104_mbps': 'numTxHT_104_Mbps', + 'num_tx_ht_108_mbps': 'numTxHT_108_Mbps', + 'num_tx_ht_115_5_mbps': 'numTxHT_115_5_Mbps', + 'num_tx_ht_117_mbps': 'numTxHT_117_Mbps', + 'num_tx_ht_117_1_mbps': 'numTxHT_117_1_Mbps', + 'num_tx_ht_120_mbps': 'numTxHT_120_Mbps', + 'num_tx_ht_121_5_mbps': 'numTxHT_121_5_Mbps', + 'num_tx_ht_130_mbps': 'numTxHT_130_Mbps', + 'num_tx_ht_130_3_mbps': 'numTxHT_130_3_Mbps', + 'num_tx_ht_135_mbps': 'numTxHT_135_Mbps', + 'num_tx_ht_144_3_mbps': 'numTxHT_144_3_Mbps', + 'num_tx_ht_150_mbps': 'numTxHT_150_Mbps', + 'num_tx_ht_156_mbps': 'numTxHT_156_Mbps', + 'num_tx_ht_162_mbps': 'numTxHT_162_Mbps', + 'num_tx_ht_173_1_mbps': 'numTxHT_173_1_Mbps', + 'num_tx_ht_173_3_mbps': 'numTxHT_173_3_Mbps', + 'num_tx_ht_175_5_mbps': 'numTxHT_175_5_Mbps', + 'num_tx_ht_180_mbps': 'numTxHT_180_Mbps', + 'num_tx_ht_195_mbps': 'numTxHT_195_Mbps', + 'num_tx_ht_200_mbps': 'numTxHT_200_Mbps', + 'num_tx_ht_208_mbps': 'numTxHT_208_Mbps', + 'num_tx_ht_216_mbps': 'numTxHT_216_Mbps', + 'num_tx_ht_216_6_mbps': 'numTxHT_216_6_Mbps', + 'num_tx_ht_231_1_mbps': 'numTxHT_231_1_Mbps', + 'num_tx_ht_234_mbps': 'numTxHT_234_Mbps', + 'num_tx_ht_240_mbps': 'numTxHT_240_Mbps', + 'num_tx_ht_243_mbps': 'numTxHT_243_Mbps', + 'num_tx_ht_260_mbps': 'numTxHT_260_Mbps', + 'num_tx_ht_263_2_mbps': 'numTxHT_263_2_Mbps', + 'num_tx_ht_270_mbps': 'numTxHT_270_Mbps', + 'num_tx_ht_288_7_mbps': 'numTxHT_288_7_Mbps', + 'num_tx_ht_288_8_mbps': 'numTxHT_288_8_Mbps', + 'num_tx_ht_292_5_mbps': 'numTxHT_292_5_Mbps', + 'num_tx_ht_300_mbps': 'numTxHT_300_Mbps', + 'num_tx_ht_312_mbps': 'numTxHT_312_Mbps', + 'num_tx_ht_324_mbps': 'numTxHT_324_Mbps', + 'num_tx_ht_325_mbps': 'numTxHT_325_Mbps', + 'num_tx_ht_346_7_mbps': 'numTxHT_346_7_Mbps', + 'num_tx_ht_351_mbps': 'numTxHT_351_Mbps', + 'num_tx_ht_351_2_mbps': 'numTxHT_351_2_Mbps', + 'num_tx_ht_360_mbps': 'numTxHT_360_Mbps', + 'num_rx_ht_6_5_mbps': 'numRxHT_6_5_Mbps', + 'num_rx_ht_7_1_mbps': 'numRxHT_7_1_Mbps', + 'num_rx_ht_13_mbps': 'numRxHT_13_Mbps', + 'num_rx_ht_13_5_mbps': 'numRxHT_13_5_Mbps', + 'num_rx_ht_14_3_mbps': 'numRxHT_14_3_Mbps', + 'num_rx_ht_15_mbps': 'numRxHT_15_Mbps', + 'num_rx_ht_19_5_mbps': 'numRxHT_19_5_Mbps', + 'num_rx_ht_21_7_mbps': 'numRxHT_21_7_Mbps', + 'num_rx_ht_26_mbps': 'numRxHT_26_Mbps', + 'num_rx_ht_27_mbps': 'numRxHT_27_Mbps', + 'num_rx_ht_28_7_mbps': 'numRxHT_28_7_Mbps', + 'num_rx_ht_28_8_mbps': 'numRxHT_28_8_Mbps', + 'num_rx_ht_29_2_mbps': 'numRxHT_29_2_Mbps', + 'num_rx_ht_30_mbps': 'numRxHT_30_Mbps', + 'num_rx_ht_32_5_mbps': 'numRxHT_32_5_Mbps', + 'num_rx_ht_39_mbps': 'numRxHT_39_Mbps', + 'num_rx_ht_40_5_mbps': 'numRxHT_40_5_Mbps', + 'num_rx_ht_43_2_mbps': 'numRxHT_43_2_Mbps', + 'num_rx_ht_45_mbps': 'numRxHT_45_Mbps', + 'num_rx_ht_52_mbps': 'numRxHT_52_Mbps', + 'num_rx_ht_54_mbps': 'numRxHT_54_Mbps', + 'num_rx_ht_57_5_mbps': 'numRxHT_57_5_Mbps', + 'num_rx_ht_57_7_mbps': 'numRxHT_57_7_Mbps', + 'num_rx_ht_58_5_mbps': 'numRxHT_58_5_Mbps', + 'num_rx_ht_60_mbps': 'numRxHT_60_Mbps', + 'num_rx_ht_65_mbps': 'numRxHT_65_Mbps', + 'num_rx_ht_72_1_mbps': 'numRxHT_72_1_Mbps', + 'num_rx_ht_78_mbps': 'numRxHT_78_Mbps', + 'num_rx_ht_81_mbps': 'numRxHT_81_Mbps', + 'num_rx_ht_86_6_mbps': 'numRxHT_86_6_Mbps', + 'num_rx_ht_86_8_mbps': 'numRxHT_86_8_Mbps', + 'num_rx_ht_87_8_mbps': 'numRxHT_87_8_Mbps', + 'num_rx_ht_90_mbps': 'numRxHT_90_Mbps', + 'num_rx_ht_97_5_mbps': 'numRxHT_97_5_Mbps', + 'num_rx_ht_104_mbps': 'numRxHT_104_Mbps', + 'num_rx_ht_108_mbps': 'numRxHT_108_Mbps', + 'num_rx_ht_115_5_mbps': 'numRxHT_115_5_Mbps', + 'num_rx_ht_117_mbps': 'numRxHT_117_Mbps', + 'num_rx_ht_117_1_mbps': 'numRxHT_117_1_Mbps', + 'num_rx_ht_120_mbps': 'numRxHT_120_Mbps', + 'num_rx_ht_121_5_mbps': 'numRxHT_121_5_Mbps', + 'num_rx_ht_130_mbps': 'numRxHT_130_Mbps', + 'num_rx_ht_130_3_mbps': 'numRxHT_130_3_Mbps', + 'num_rx_ht_135_mbps': 'numRxHT_135_Mbps', + 'num_rx_ht_144_3_mbps': 'numRxHT_144_3_Mbps', + 'num_rx_ht_150_mbps': 'numRxHT_150_Mbps', + 'num_rx_ht_156_mbps': 'numRxHT_156_Mbps', + 'num_rx_ht_162_mbps': 'numRxHT_162_Mbps', + 'num_rx_ht_173_1_mbps': 'numRxHT_173_1_Mbps', + 'num_rx_ht_173_3_mbps': 'numRxHT_173_3_Mbps', + 'num_rx_ht_175_5_mbps': 'numRxHT_175_5_Mbps', + 'num_rx_ht_180_mbps': 'numRxHT_180_Mbps', + 'num_rx_ht_195_mbps': 'numRxHT_195_Mbps', + 'num_rx_ht_200_mbps': 'numRxHT_200_Mbps', + 'num_rx_ht_208_mbps': 'numRxHT_208_Mbps', + 'num_rx_ht_216_mbps': 'numRxHT_216_Mbps', + 'num_rx_ht_216_6_mbps': 'numRxHT_216_6_Mbps', + 'num_rx_ht_231_1_mbps': 'numRxHT_231_1_Mbps', + 'num_rx_ht_234_mbps': 'numRxHT_234_Mbps', + 'num_rx_ht_240_mbps': 'numRxHT_240_Mbps', + 'num_rx_ht_243_mbps': 'numRxHT_243_Mbps', + 'num_rx_ht_260_mbps': 'numRxHT_260_Mbps', + 'num_rx_ht_263_2_mbps': 'numRxHT_263_2_Mbps', + 'num_rx_ht_270_mbps': 'numRxHT_270_Mbps', + 'num_rx_ht_288_7_mbps': 'numRxHT_288_7_Mbps', + 'num_rx_ht_288_8_mbps': 'numRxHT_288_8_Mbps', + 'num_rx_ht_292_5_mbps': 'numRxHT_292_5_Mbps', + 'num_rx_ht_300_mbps': 'numRxHT_300_Mbps', + 'num_rx_ht_312_mbps': 'numRxHT_312_Mbps', + 'num_rx_ht_324_mbps': 'numRxHT_324_Mbps', + 'num_rx_ht_325_mbps': 'numRxHT_325_Mbps', + 'num_rx_ht_346_7_mbps': 'numRxHT_346_7_Mbps', + 'num_rx_ht_351_mbps': 'numRxHT_351_Mbps', + 'num_rx_ht_351_2_mbps': 'numRxHT_351_2_Mbps', + 'num_rx_ht_360_mbps': 'numRxHT_360_Mbps', + 'num_tx_vht_292_5_mbps': 'numTxVHT_292_5_Mbps', + 'num_tx_vht_325_mbps': 'numTxVHT_325_Mbps', + 'num_tx_vht_364_5_mbps': 'numTxVHT_364_5_Mbps', + 'num_tx_vht_390_mbps': 'numTxVHT_390_Mbps', + 'num_tx_vht_400_mbps': 'numTxVHT_400_Mbps', + 'num_tx_vht_403_mbps': 'numTxVHT_403_Mbps', + 'num_tx_vht_405_mbps': 'numTxVHT_405_Mbps', + 'num_tx_vht_432_mbps': 'numTxVHT_432_Mbps', + 'num_tx_vht_433_2_mbps': 'numTxVHT_433_2_Mbps', + 'num_tx_vht_450_mbps': 'numTxVHT_450_Mbps', + 'num_tx_vht_468_mbps': 'numTxVHT_468_Mbps', + 'num_tx_vht_480_mbps': 'numTxVHT_480_Mbps', + 'num_tx_vht_486_mbps': 'numTxVHT_486_Mbps', + 'num_tx_vht_520_mbps': 'numTxVHT_520_Mbps', + 'num_tx_vht_526_5_mbps': 'numTxVHT_526_5_Mbps', + 'num_tx_vht_540_mbps': 'numTxVHT_540_Mbps', + 'num_tx_vht_585_mbps': 'numTxVHT_585_Mbps', + 'num_tx_vht_600_mbps': 'numTxVHT_600_Mbps', + 'num_tx_vht_648_mbps': 'numTxVHT_648_Mbps', + 'num_tx_vht_650_mbps': 'numTxVHT_650_Mbps', + 'num_tx_vht_702_mbps': 'numTxVHT_702_Mbps', + 'num_tx_vht_720_mbps': 'numTxVHT_720_Mbps', + 'num_tx_vht_780_mbps': 'numTxVHT_780_Mbps', + 'num_tx_vht_800_mbps': 'numTxVHT_800_Mbps', + 'num_tx_vht_866_7_mbps': 'numTxVHT_866_7_Mbps', + 'num_tx_vht_877_5_mbps': 'numTxVHT_877_5_Mbps', + 'num_tx_vht_936_mbps': 'numTxVHT_936_Mbps', + 'num_tx_vht_975_mbps': 'numTxVHT_975_Mbps', + 'num_tx_vht_1040_mbps': 'numTxVHT_1040_Mbps', + 'num_tx_vht_1053_mbps': 'numTxVHT_1053_Mbps', + 'num_tx_vht_1053_1_mbps': 'numTxVHT_1053_1_Mbps', + 'num_tx_vht_1170_mbps': 'numTxVHT_1170_Mbps', + 'num_tx_vht_1300_mbps': 'numTxVHT_1300_Mbps', + 'num_tx_vht_1404_mbps': 'numTxVHT_1404_Mbps', + 'num_tx_vht_1560_mbps': 'numTxVHT_1560_Mbps', + 'num_tx_vht_1579_5_mbps': 'numTxVHT_1579_5_Mbps', + 'num_tx_vht_1733_1_mbps': 'numTxVHT_1733_1_Mbps', + 'num_tx_vht_1733_4_mbps': 'numTxVHT_1733_4_Mbps', + 'num_tx_vht_1755_mbps': 'numTxVHT_1755_Mbps', + 'num_tx_vht_1872_mbps': 'numTxVHT_1872_Mbps', + 'num_tx_vht_1950_mbps': 'numTxVHT_1950_Mbps', + 'num_tx_vht_2080_mbps': 'numTxVHT_2080_Mbps', + 'num_tx_vht_2106_mbps': 'numTxVHT_2106_Mbps', + 'num_tx_vht_2340_mbps': 'numTxVHT_2340_Mbps', + 'num_tx_vht_2600_mbps': 'numTxVHT_2600_Mbps', + 'num_tx_vht_2808_mbps': 'numTxVHT_2808_Mbps', + 'num_tx_vht_3120_mbps': 'numTxVHT_3120_Mbps', + 'num_tx_vht_3466_8_mbps': 'numTxVHT_3466_8_Mbps', + 'num_rx_vht_292_5_mbps': 'numRxVHT_292_5_Mbps', + 'num_rx_vht_325_mbps': 'numRxVHT_325_Mbps', + 'num_rx_vht_364_5_mbps': 'numRxVHT_364_5_Mbps', + 'num_rx_vht_390_mbps': 'numRxVHT_390_Mbps', + 'num_rx_vht_400_mbps': 'numRxVHT_400_Mbps', + 'num_rx_vht_403_mbps': 'numRxVHT_403_Mbps', + 'num_rx_vht_405_mbps': 'numRxVHT_405_Mbps', + 'num_rx_vht_432_mbps': 'numRxVHT_432_Mbps', + 'num_rx_vht_433_2_mbps': 'numRxVHT_433_2_Mbps', + 'num_rx_vht_450_mbps': 'numRxVHT_450_Mbps', + 'num_rx_vht_468_mbps': 'numRxVHT_468_Mbps', + 'num_rx_vht_480_mbps': 'numRxVHT_480_Mbps', + 'num_rx_vht_486_mbps': 'numRxVHT_486_Mbps', + 'num_rx_vht_520_mbps': 'numRxVHT_520_Mbps', + 'num_rx_vht_526_5_mbps': 'numRxVHT_526_5_Mbps', + 'num_rx_vht_540_mbps': 'numRxVHT_540_Mbps', + 'num_rx_vht_585_mbps': 'numRxVHT_585_Mbps', + 'num_rx_vht_600_mbps': 'numRxVHT_600_Mbps', + 'num_rx_vht_648_mbps': 'numRxVHT_648_Mbps', + 'num_rx_vht_650_mbps': 'numRxVHT_650_Mbps', + 'num_rx_vht_702_mbps': 'numRxVHT_702_Mbps', + 'num_rx_vht_720_mbps': 'numRxVHT_720_Mbps', + 'num_rx_vht_780_mbps': 'numRxVHT_780_Mbps', + 'num_rx_vht_800_mbps': 'numRxVHT_800_Mbps', + 'num_rx_vht_866_7_mbps': 'numRxVHT_866_7_Mbps', + 'num_rx_vht_877_5_mbps': 'numRxVHT_877_5_Mbps', + 'num_rx_vht_936_mbps': 'numRxVHT_936_Mbps', + 'num_rx_vht_975_mbps': 'numRxVHT_975_Mbps', + 'num_rx_vht_1040_mbps': 'numRxVHT_1040_Mbps', + 'num_rx_vht_1053_mbps': 'numRxVHT_1053_Mbps', + 'num_rx_vht_1053_1_mbps': 'numRxVHT_1053_1_Mbps', + 'num_rx_vht_1170_mbps': 'numRxVHT_1170_Mbps', + 'num_rx_vht_1300_mbps': 'numRxVHT_1300_Mbps', + 'num_rx_vht_1404_mbps': 'numRxVHT_1404_Mbps', + 'num_rx_vht_1560_mbps': 'numRxVHT_1560_Mbps', + 'num_rx_vht_1579_5_mbps': 'numRxVHT_1579_5_Mbps', + 'num_rx_vht_1733_1_mbps': 'numRxVHT_1733_1_Mbps', + 'num_rx_vht_1733_4_mbps': 'numRxVHT_1733_4_Mbps', + 'num_rx_vht_1755_mbps': 'numRxVHT_1755_Mbps', + 'num_rx_vht_1872_mbps': 'numRxVHT_1872_Mbps', + 'num_rx_vht_1950_mbps': 'numRxVHT_1950_Mbps', + 'num_rx_vht_2080_mbps': 'numRxVHT_2080_Mbps', + 'num_rx_vht_2106_mbps': 'numRxVHT_2106_Mbps', + 'num_rx_vht_2340_mbps': 'numRxVHT_2340_Mbps', + 'num_rx_vht_2600_mbps': 'numRxVHT_2600_Mbps', + 'num_rx_vht_2808_mbps': 'numRxVHT_2808_Mbps', + 'num_rx_vht_3120_mbps': 'numRxVHT_3120_Mbps', + 'num_rx_vht_3466_8_mbps': 'numRxVHT_3466_8_Mbps' + } + + def __init__(self, num_radio_resets=None, num_chan_changes=None, num_tx_power_changes=None, num_radar_chan_changes=None, num_free_tx_buf=None, eleven_g_protection=None, num_scan_req=None, num_scan_succ=None, cur_eirp=None, actual_cell_size=None, cur_channel=None, cur_backup_channel=None, rx_last_rssi=None, num_rx=None, num_rx_no_fcs_err=None, num_rx_fcs_err=None, num_rx_data=None, num_rx_management=None, num_rx_control=None, rx_data_bytes=None, num_rx_rts=None, num_rx_cts=None, num_rx_ack=None, num_rx_beacon=None, num_rx_probe_req=None, num_rx_probe_resp=None, num_rx_retry=None, num_rx_off_chan=None, num_rx_dup=None, num_rx_bc_mc=None, num_rx_null_data=None, num_rx_pspoll=None, num_rx_err=None, num_rx_stbc=None, num_rx_ldpc=None, num_rx_drop_runt=None, num_rx_drop_invalid_src_mac=None, num_rx_drop_amsdu_no_rcv=None, num_rx_drop_eth_hdr_runt=None, num_rx_amsdu_deagg_seq=None, num_rx_amsdu_deagg_itmd=None, num_rx_amsdu_deagg_last=None, num_rx_drop_no_fc_field=None, num_rx_drop_bad_protocol=None, num_rcv_frame_for_tx=None, num_tx_queued=None, num_rcv_bc_for_tx=None, num_tx_dropped=None, num_tx_retry_dropped=None, num_tx_bc_dropped=None, num_tx_succ=None, num_tx_ps_unicast=None, num_tx_dtim_mc=None, num_tx_succ_no_retry=None, num_tx_succ_retries=None, num_tx_multi_retries=None, num_tx_management=None, num_tx_control=None, num_tx_action=None, num_tx_beacon_succ=None, num_tx_beacon_fail=None, num_tx_beacon_su_fail=None, num_tx_probe_resp=None, num_tx_data=None, num_tx_data_retries=None, num_tx_rts_succ=None, num_tx_rts_fail=None, num_tx_cts=None, num_tx_no_ack=None, num_tx_eapol=None, num_tx_ldpc=None, num_tx_stbc=None, num_tx_aggr_succ=None, num_tx_aggr_one_mpdu=None, num_tx_rate_limit_drop=None, num_tx_retry_attemps=None, num_tx_total_attemps=None, num_tx_data_frames_12_mbps=None, num_tx_data_frames_54_mbps=None, num_tx_data_frames_108_mbps=None, num_tx_data_frames_300_mbps=None, num_tx_data_frames_450_mbps=None, num_tx_data_frames_1300_mbps=None, num_tx_data_frames_1300_plus_mbps=None, num_rx_data_frames_12_mbps=None, num_rx_data_frames_54_mbps=None, num_rx_data_frames_108_mbps=None, num_rx_data_frames_300_mbps=None, num_rx_data_frames_450_mbps=None, num_rx_data_frames_1300_mbps=None, num_rx_data_frames_1300_plus_mbps=None, num_tx_time_frames_transmitted=None, num_rx_time_to_me=None, num_channel_busy64s=None, num_tx_time_data=None, num_tx_time_bc_mc_data=None, num_rx_time_data=None, num_tx_frames_transmitted=None, num_tx_success_with_retry=None, num_tx_multiple_retries=None, num_tx_data_transmitted_retried=None, num_tx_data_transmitted=None, num_tx_data_frames=None, num_rx_frames_received=None, num_rx_retry_frames=None, num_rx_data_frames_retried=None, num_rx_data_frames=None, num_tx_1_mbps=None, num_tx_6_mbps=None, num_tx_9_mbps=None, num_tx_12_mbps=None, num_tx_18_mbps=None, num_tx_24_mbps=None, num_tx_36_mbps=None, num_tx_48_mbps=None, num_tx_54_mbps=None, num_rx_1_mbps=None, num_rx_6_mbps=None, num_rx_9_mbps=None, num_rx_12_mbps=None, num_rx_18_mbps=None, num_rx_24_mbps=None, num_rx_36_mbps=None, num_rx_48_mbps=None, num_rx_54_mbps=None, num_tx_ht_6_5_mbps=None, num_tx_ht_7_1_mbps=None, num_tx_ht_13_mbps=None, num_tx_ht_13_5_mbps=None, num_tx_ht_14_3_mbps=None, num_tx_ht_15_mbps=None, num_tx_ht_19_5_mbps=None, num_tx_ht_21_7_mbps=None, num_tx_ht_26_mbps=None, num_tx_ht_27_mbps=None, num_tx_ht_28_7_mbps=None, num_tx_ht_28_8_mbps=None, num_tx_ht_29_2_mbps=None, num_tx_ht_30_mbps=None, num_tx_ht_32_5_mbps=None, num_tx_ht_39_mbps=None, num_tx_ht_40_5_mbps=None, num_tx_ht_43_2_mbps=None, num_tx_ht_45_mbps=None, num_tx_ht_52_mbps=None, num_tx_ht_54_mbps=None, num_tx_ht_57_5_mbps=None, num_tx_ht_57_7_mbps=None, num_tx_ht_58_5_mbps=None, num_tx_ht_60_mbps=None, num_tx_ht_65_mbps=None, num_tx_ht_72_1_mbps=None, num_tx_ht_78_mbps=None, num_tx_ht_81_mbps=None, num_tx_ht_86_6_mbps=None, num_tx_ht_86_8_mbps=None, num_tx_ht_87_8_mbps=None, num_tx_ht_90_mbps=None, num_tx_ht_97_5_mbps=None, num_tx_ht_104_mbps=None, num_tx_ht_108_mbps=None, num_tx_ht_115_5_mbps=None, num_tx_ht_117_mbps=None, num_tx_ht_117_1_mbps=None, num_tx_ht_120_mbps=None, num_tx_ht_121_5_mbps=None, num_tx_ht_130_mbps=None, num_tx_ht_130_3_mbps=None, num_tx_ht_135_mbps=None, num_tx_ht_144_3_mbps=None, num_tx_ht_150_mbps=None, num_tx_ht_156_mbps=None, num_tx_ht_162_mbps=None, num_tx_ht_173_1_mbps=None, num_tx_ht_173_3_mbps=None, num_tx_ht_175_5_mbps=None, num_tx_ht_180_mbps=None, num_tx_ht_195_mbps=None, num_tx_ht_200_mbps=None, num_tx_ht_208_mbps=None, num_tx_ht_216_mbps=None, num_tx_ht_216_6_mbps=None, num_tx_ht_231_1_mbps=None, num_tx_ht_234_mbps=None, num_tx_ht_240_mbps=None, num_tx_ht_243_mbps=None, num_tx_ht_260_mbps=None, num_tx_ht_263_2_mbps=None, num_tx_ht_270_mbps=None, num_tx_ht_288_7_mbps=None, num_tx_ht_288_8_mbps=None, num_tx_ht_292_5_mbps=None, num_tx_ht_300_mbps=None, num_tx_ht_312_mbps=None, num_tx_ht_324_mbps=None, num_tx_ht_325_mbps=None, num_tx_ht_346_7_mbps=None, num_tx_ht_351_mbps=None, num_tx_ht_351_2_mbps=None, num_tx_ht_360_mbps=None, num_rx_ht_6_5_mbps=None, num_rx_ht_7_1_mbps=None, num_rx_ht_13_mbps=None, num_rx_ht_13_5_mbps=None, num_rx_ht_14_3_mbps=None, num_rx_ht_15_mbps=None, num_rx_ht_19_5_mbps=None, num_rx_ht_21_7_mbps=None, num_rx_ht_26_mbps=None, num_rx_ht_27_mbps=None, num_rx_ht_28_7_mbps=None, num_rx_ht_28_8_mbps=None, num_rx_ht_29_2_mbps=None, num_rx_ht_30_mbps=None, num_rx_ht_32_5_mbps=None, num_rx_ht_39_mbps=None, num_rx_ht_40_5_mbps=None, num_rx_ht_43_2_mbps=None, num_rx_ht_45_mbps=None, num_rx_ht_52_mbps=None, num_rx_ht_54_mbps=None, num_rx_ht_57_5_mbps=None, num_rx_ht_57_7_mbps=None, num_rx_ht_58_5_mbps=None, num_rx_ht_60_mbps=None, num_rx_ht_65_mbps=None, num_rx_ht_72_1_mbps=None, num_rx_ht_78_mbps=None, num_rx_ht_81_mbps=None, num_rx_ht_86_6_mbps=None, num_rx_ht_86_8_mbps=None, num_rx_ht_87_8_mbps=None, num_rx_ht_90_mbps=None, num_rx_ht_97_5_mbps=None, num_rx_ht_104_mbps=None, num_rx_ht_108_mbps=None, num_rx_ht_115_5_mbps=None, num_rx_ht_117_mbps=None, num_rx_ht_117_1_mbps=None, num_rx_ht_120_mbps=None, num_rx_ht_121_5_mbps=None, num_rx_ht_130_mbps=None, num_rx_ht_130_3_mbps=None, num_rx_ht_135_mbps=None, num_rx_ht_144_3_mbps=None, num_rx_ht_150_mbps=None, num_rx_ht_156_mbps=None, num_rx_ht_162_mbps=None, num_rx_ht_173_1_mbps=None, num_rx_ht_173_3_mbps=None, num_rx_ht_175_5_mbps=None, num_rx_ht_180_mbps=None, num_rx_ht_195_mbps=None, num_rx_ht_200_mbps=None, num_rx_ht_208_mbps=None, num_rx_ht_216_mbps=None, num_rx_ht_216_6_mbps=None, num_rx_ht_231_1_mbps=None, num_rx_ht_234_mbps=None, num_rx_ht_240_mbps=None, num_rx_ht_243_mbps=None, num_rx_ht_260_mbps=None, num_rx_ht_263_2_mbps=None, num_rx_ht_270_mbps=None, num_rx_ht_288_7_mbps=None, num_rx_ht_288_8_mbps=None, num_rx_ht_292_5_mbps=None, num_rx_ht_300_mbps=None, num_rx_ht_312_mbps=None, num_rx_ht_324_mbps=None, num_rx_ht_325_mbps=None, num_rx_ht_346_7_mbps=None, num_rx_ht_351_mbps=None, num_rx_ht_351_2_mbps=None, num_rx_ht_360_mbps=None, num_tx_vht_292_5_mbps=None, num_tx_vht_325_mbps=None, num_tx_vht_364_5_mbps=None, num_tx_vht_390_mbps=None, num_tx_vht_400_mbps=None, num_tx_vht_403_mbps=None, num_tx_vht_405_mbps=None, num_tx_vht_432_mbps=None, num_tx_vht_433_2_mbps=None, num_tx_vht_450_mbps=None, num_tx_vht_468_mbps=None, num_tx_vht_480_mbps=None, num_tx_vht_486_mbps=None, num_tx_vht_520_mbps=None, num_tx_vht_526_5_mbps=None, num_tx_vht_540_mbps=None, num_tx_vht_585_mbps=None, num_tx_vht_600_mbps=None, num_tx_vht_648_mbps=None, num_tx_vht_650_mbps=None, num_tx_vht_702_mbps=None, num_tx_vht_720_mbps=None, num_tx_vht_780_mbps=None, num_tx_vht_800_mbps=None, num_tx_vht_866_7_mbps=None, num_tx_vht_877_5_mbps=None, num_tx_vht_936_mbps=None, num_tx_vht_975_mbps=None, num_tx_vht_1040_mbps=None, num_tx_vht_1053_mbps=None, num_tx_vht_1053_1_mbps=None, num_tx_vht_1170_mbps=None, num_tx_vht_1300_mbps=None, num_tx_vht_1404_mbps=None, num_tx_vht_1560_mbps=None, num_tx_vht_1579_5_mbps=None, num_tx_vht_1733_1_mbps=None, num_tx_vht_1733_4_mbps=None, num_tx_vht_1755_mbps=None, num_tx_vht_1872_mbps=None, num_tx_vht_1950_mbps=None, num_tx_vht_2080_mbps=None, num_tx_vht_2106_mbps=None, num_tx_vht_2340_mbps=None, num_tx_vht_2600_mbps=None, num_tx_vht_2808_mbps=None, num_tx_vht_3120_mbps=None, num_tx_vht_3466_8_mbps=None, num_rx_vht_292_5_mbps=None, num_rx_vht_325_mbps=None, num_rx_vht_364_5_mbps=None, num_rx_vht_390_mbps=None, num_rx_vht_400_mbps=None, num_rx_vht_403_mbps=None, num_rx_vht_405_mbps=None, num_rx_vht_432_mbps=None, num_rx_vht_433_2_mbps=None, num_rx_vht_450_mbps=None, num_rx_vht_468_mbps=None, num_rx_vht_480_mbps=None, num_rx_vht_486_mbps=None, num_rx_vht_520_mbps=None, num_rx_vht_526_5_mbps=None, num_rx_vht_540_mbps=None, num_rx_vht_585_mbps=None, num_rx_vht_600_mbps=None, num_rx_vht_648_mbps=None, num_rx_vht_650_mbps=None, num_rx_vht_702_mbps=None, num_rx_vht_720_mbps=None, num_rx_vht_780_mbps=None, num_rx_vht_800_mbps=None, num_rx_vht_866_7_mbps=None, num_rx_vht_877_5_mbps=None, num_rx_vht_936_mbps=None, num_rx_vht_975_mbps=None, num_rx_vht_1040_mbps=None, num_rx_vht_1053_mbps=None, num_rx_vht_1053_1_mbps=None, num_rx_vht_1170_mbps=None, num_rx_vht_1300_mbps=None, num_rx_vht_1404_mbps=None, num_rx_vht_1560_mbps=None, num_rx_vht_1579_5_mbps=None, num_rx_vht_1733_1_mbps=None, num_rx_vht_1733_4_mbps=None, num_rx_vht_1755_mbps=None, num_rx_vht_1872_mbps=None, num_rx_vht_1950_mbps=None, num_rx_vht_2080_mbps=None, num_rx_vht_2106_mbps=None, num_rx_vht_2340_mbps=None, num_rx_vht_2600_mbps=None, num_rx_vht_2808_mbps=None, num_rx_vht_3120_mbps=None, num_rx_vht_3466_8_mbps=None): # noqa: E501 + """RadioStatistics - a model defined in Swagger""" # noqa: E501 + self._num_radio_resets = None + self._num_chan_changes = None + self._num_tx_power_changes = None + self._num_radar_chan_changes = None + self._num_free_tx_buf = None + self._eleven_g_protection = None + self._num_scan_req = None + self._num_scan_succ = None + self._cur_eirp = None + self._actual_cell_size = None + self._cur_channel = None + self._cur_backup_channel = None + self._rx_last_rssi = None + self._num_rx = None + self._num_rx_no_fcs_err = None + self._num_rx_fcs_err = None + self._num_rx_data = None + self._num_rx_management = None + self._num_rx_control = None + self._rx_data_bytes = None + self._num_rx_rts = None + self._num_rx_cts = None + self._num_rx_ack = None + self._num_rx_beacon = None + self._num_rx_probe_req = None + self._num_rx_probe_resp = None + self._num_rx_retry = None + self._num_rx_off_chan = None + self._num_rx_dup = None + self._num_rx_bc_mc = None + self._num_rx_null_data = None + self._num_rx_pspoll = None + self._num_rx_err = None + self._num_rx_stbc = None + self._num_rx_ldpc = None + self._num_rx_drop_runt = None + self._num_rx_drop_invalid_src_mac = None + self._num_rx_drop_amsdu_no_rcv = None + self._num_rx_drop_eth_hdr_runt = None + self._num_rx_amsdu_deagg_seq = None + self._num_rx_amsdu_deagg_itmd = None + self._num_rx_amsdu_deagg_last = None + self._num_rx_drop_no_fc_field = None + self._num_rx_drop_bad_protocol = None + self._num_rcv_frame_for_tx = None + self._num_tx_queued = None + self._num_rcv_bc_for_tx = None + self._num_tx_dropped = None + self._num_tx_retry_dropped = None + self._num_tx_bc_dropped = None + self._num_tx_succ = None + self._num_tx_ps_unicast = None + self._num_tx_dtim_mc = None + self._num_tx_succ_no_retry = None + self._num_tx_succ_retries = None + self._num_tx_multi_retries = None + self._num_tx_management = None + self._num_tx_control = None + self._num_tx_action = None + self._num_tx_beacon_succ = None + self._num_tx_beacon_fail = None + self._num_tx_beacon_su_fail = None + self._num_tx_probe_resp = None + self._num_tx_data = None + self._num_tx_data_retries = None + self._num_tx_rts_succ = None + self._num_tx_rts_fail = None + self._num_tx_cts = None + self._num_tx_no_ack = None + self._num_tx_eapol = None + self._num_tx_ldpc = None + self._num_tx_stbc = None + self._num_tx_aggr_succ = None + self._num_tx_aggr_one_mpdu = None + self._num_tx_rate_limit_drop = None + self._num_tx_retry_attemps = None + self._num_tx_total_attemps = None + self._num_tx_data_frames_12_mbps = None + self._num_tx_data_frames_54_mbps = None + self._num_tx_data_frames_108_mbps = None + self._num_tx_data_frames_300_mbps = None + self._num_tx_data_frames_450_mbps = None + self._num_tx_data_frames_1300_mbps = None + self._num_tx_data_frames_1300_plus_mbps = None + self._num_rx_data_frames_12_mbps = None + self._num_rx_data_frames_54_mbps = None + self._num_rx_data_frames_108_mbps = None + self._num_rx_data_frames_300_mbps = None + self._num_rx_data_frames_450_mbps = None + self._num_rx_data_frames_1300_mbps = None + self._num_rx_data_frames_1300_plus_mbps = None + self._num_tx_time_frames_transmitted = None + self._num_rx_time_to_me = None + self._num_channel_busy64s = None + self._num_tx_time_data = None + self._num_tx_time_bc_mc_data = None + self._num_rx_time_data = None + self._num_tx_frames_transmitted = None + self._num_tx_success_with_retry = None + self._num_tx_multiple_retries = None + self._num_tx_data_transmitted_retried = None + self._num_tx_data_transmitted = None + self._num_tx_data_frames = None + self._num_rx_frames_received = None + self._num_rx_retry_frames = None + self._num_rx_data_frames_retried = None + self._num_rx_data_frames = None + self._num_tx_1_mbps = None + self._num_tx_6_mbps = None + self._num_tx_9_mbps = None + self._num_tx_12_mbps = None + self._num_tx_18_mbps = None + self._num_tx_24_mbps = None + self._num_tx_36_mbps = None + self._num_tx_48_mbps = None + self._num_tx_54_mbps = None + self._num_rx_1_mbps = None + self._num_rx_6_mbps = None + self._num_rx_9_mbps = None + self._num_rx_12_mbps = None + self._num_rx_18_mbps = None + self._num_rx_24_mbps = None + self._num_rx_36_mbps = None + self._num_rx_48_mbps = None + self._num_rx_54_mbps = None + self._num_tx_ht_6_5_mbps = None + self._num_tx_ht_7_1_mbps = None + self._num_tx_ht_13_mbps = None + self._num_tx_ht_13_5_mbps = None + self._num_tx_ht_14_3_mbps = None + self._num_tx_ht_15_mbps = None + self._num_tx_ht_19_5_mbps = None + self._num_tx_ht_21_7_mbps = None + self._num_tx_ht_26_mbps = None + self._num_tx_ht_27_mbps = None + self._num_tx_ht_28_7_mbps = None + self._num_tx_ht_28_8_mbps = None + self._num_tx_ht_29_2_mbps = None + self._num_tx_ht_30_mbps = None + self._num_tx_ht_32_5_mbps = None + self._num_tx_ht_39_mbps = None + self._num_tx_ht_40_5_mbps = None + self._num_tx_ht_43_2_mbps = None + self._num_tx_ht_45_mbps = None + self._num_tx_ht_52_mbps = None + self._num_tx_ht_54_mbps = None + self._num_tx_ht_57_5_mbps = None + self._num_tx_ht_57_7_mbps = None + self._num_tx_ht_58_5_mbps = None + self._num_tx_ht_60_mbps = None + self._num_tx_ht_65_mbps = None + self._num_tx_ht_72_1_mbps = None + self._num_tx_ht_78_mbps = None + self._num_tx_ht_81_mbps = None + self._num_tx_ht_86_6_mbps = None + self._num_tx_ht_86_8_mbps = None + self._num_tx_ht_87_8_mbps = None + self._num_tx_ht_90_mbps = None + self._num_tx_ht_97_5_mbps = None + self._num_tx_ht_104_mbps = None + self._num_tx_ht_108_mbps = None + self._num_tx_ht_115_5_mbps = None + self._num_tx_ht_117_mbps = None + self._num_tx_ht_117_1_mbps = None + self._num_tx_ht_120_mbps = None + self._num_tx_ht_121_5_mbps = None + self._num_tx_ht_130_mbps = None + self._num_tx_ht_130_3_mbps = None + self._num_tx_ht_135_mbps = None + self._num_tx_ht_144_3_mbps = None + self._num_tx_ht_150_mbps = None + self._num_tx_ht_156_mbps = None + self._num_tx_ht_162_mbps = None + self._num_tx_ht_173_1_mbps = None + self._num_tx_ht_173_3_mbps = None + self._num_tx_ht_175_5_mbps = None + self._num_tx_ht_180_mbps = None + self._num_tx_ht_195_mbps = None + self._num_tx_ht_200_mbps = None + self._num_tx_ht_208_mbps = None + self._num_tx_ht_216_mbps = None + self._num_tx_ht_216_6_mbps = None + self._num_tx_ht_231_1_mbps = None + self._num_tx_ht_234_mbps = None + self._num_tx_ht_240_mbps = None + self._num_tx_ht_243_mbps = None + self._num_tx_ht_260_mbps = None + self._num_tx_ht_263_2_mbps = None + self._num_tx_ht_270_mbps = None + self._num_tx_ht_288_7_mbps = None + self._num_tx_ht_288_8_mbps = None + self._num_tx_ht_292_5_mbps = None + self._num_tx_ht_300_mbps = None + self._num_tx_ht_312_mbps = None + self._num_tx_ht_324_mbps = None + self._num_tx_ht_325_mbps = None + self._num_tx_ht_346_7_mbps = None + self._num_tx_ht_351_mbps = None + self._num_tx_ht_351_2_mbps = None + self._num_tx_ht_360_mbps = None + self._num_rx_ht_6_5_mbps = None + self._num_rx_ht_7_1_mbps = None + self._num_rx_ht_13_mbps = None + self._num_rx_ht_13_5_mbps = None + self._num_rx_ht_14_3_mbps = None + self._num_rx_ht_15_mbps = None + self._num_rx_ht_19_5_mbps = None + self._num_rx_ht_21_7_mbps = None + self._num_rx_ht_26_mbps = None + self._num_rx_ht_27_mbps = None + self._num_rx_ht_28_7_mbps = None + self._num_rx_ht_28_8_mbps = None + self._num_rx_ht_29_2_mbps = None + self._num_rx_ht_30_mbps = None + self._num_rx_ht_32_5_mbps = None + self._num_rx_ht_39_mbps = None + self._num_rx_ht_40_5_mbps = None + self._num_rx_ht_43_2_mbps = None + self._num_rx_ht_45_mbps = None + self._num_rx_ht_52_mbps = None + self._num_rx_ht_54_mbps = None + self._num_rx_ht_57_5_mbps = None + self._num_rx_ht_57_7_mbps = None + self._num_rx_ht_58_5_mbps = None + self._num_rx_ht_60_mbps = None + self._num_rx_ht_65_mbps = None + self._num_rx_ht_72_1_mbps = None + self._num_rx_ht_78_mbps = None + self._num_rx_ht_81_mbps = None + self._num_rx_ht_86_6_mbps = None + self._num_rx_ht_86_8_mbps = None + self._num_rx_ht_87_8_mbps = None + self._num_rx_ht_90_mbps = None + self._num_rx_ht_97_5_mbps = None + self._num_rx_ht_104_mbps = None + self._num_rx_ht_108_mbps = None + self._num_rx_ht_115_5_mbps = None + self._num_rx_ht_117_mbps = None + self._num_rx_ht_117_1_mbps = None + self._num_rx_ht_120_mbps = None + self._num_rx_ht_121_5_mbps = None + self._num_rx_ht_130_mbps = None + self._num_rx_ht_130_3_mbps = None + self._num_rx_ht_135_mbps = None + self._num_rx_ht_144_3_mbps = None + self._num_rx_ht_150_mbps = None + self._num_rx_ht_156_mbps = None + self._num_rx_ht_162_mbps = None + self._num_rx_ht_173_1_mbps = None + self._num_rx_ht_173_3_mbps = None + self._num_rx_ht_175_5_mbps = None + self._num_rx_ht_180_mbps = None + self._num_rx_ht_195_mbps = None + self._num_rx_ht_200_mbps = None + self._num_rx_ht_208_mbps = None + self._num_rx_ht_216_mbps = None + self._num_rx_ht_216_6_mbps = None + self._num_rx_ht_231_1_mbps = None + self._num_rx_ht_234_mbps = None + self._num_rx_ht_240_mbps = None + self._num_rx_ht_243_mbps = None + self._num_rx_ht_260_mbps = None + self._num_rx_ht_263_2_mbps = None + self._num_rx_ht_270_mbps = None + self._num_rx_ht_288_7_mbps = None + self._num_rx_ht_288_8_mbps = None + self._num_rx_ht_292_5_mbps = None + self._num_rx_ht_300_mbps = None + self._num_rx_ht_312_mbps = None + self._num_rx_ht_324_mbps = None + self._num_rx_ht_325_mbps = None + self._num_rx_ht_346_7_mbps = None + self._num_rx_ht_351_mbps = None + self._num_rx_ht_351_2_mbps = None + self._num_rx_ht_360_mbps = None + self._num_tx_vht_292_5_mbps = None + self._num_tx_vht_325_mbps = None + self._num_tx_vht_364_5_mbps = None + self._num_tx_vht_390_mbps = None + self._num_tx_vht_400_mbps = None + self._num_tx_vht_403_mbps = None + self._num_tx_vht_405_mbps = None + self._num_tx_vht_432_mbps = None + self._num_tx_vht_433_2_mbps = None + self._num_tx_vht_450_mbps = None + self._num_tx_vht_468_mbps = None + self._num_tx_vht_480_mbps = None + self._num_tx_vht_486_mbps = None + self._num_tx_vht_520_mbps = None + self._num_tx_vht_526_5_mbps = None + self._num_tx_vht_540_mbps = None + self._num_tx_vht_585_mbps = None + self._num_tx_vht_600_mbps = None + self._num_tx_vht_648_mbps = None + self._num_tx_vht_650_mbps = None + self._num_tx_vht_702_mbps = None + self._num_tx_vht_720_mbps = None + self._num_tx_vht_780_mbps = None + self._num_tx_vht_800_mbps = None + self._num_tx_vht_866_7_mbps = None + self._num_tx_vht_877_5_mbps = None + self._num_tx_vht_936_mbps = None + self._num_tx_vht_975_mbps = None + self._num_tx_vht_1040_mbps = None + self._num_tx_vht_1053_mbps = None + self._num_tx_vht_1053_1_mbps = None + self._num_tx_vht_1170_mbps = None + self._num_tx_vht_1300_mbps = None + self._num_tx_vht_1404_mbps = None + self._num_tx_vht_1560_mbps = None + self._num_tx_vht_1579_5_mbps = None + self._num_tx_vht_1733_1_mbps = None + self._num_tx_vht_1733_4_mbps = None + self._num_tx_vht_1755_mbps = None + self._num_tx_vht_1872_mbps = None + self._num_tx_vht_1950_mbps = None + self._num_tx_vht_2080_mbps = None + self._num_tx_vht_2106_mbps = None + self._num_tx_vht_2340_mbps = None + self._num_tx_vht_2600_mbps = None + self._num_tx_vht_2808_mbps = None + self._num_tx_vht_3120_mbps = None + self._num_tx_vht_3466_8_mbps = None + self._num_rx_vht_292_5_mbps = None + self._num_rx_vht_325_mbps = None + self._num_rx_vht_364_5_mbps = None + self._num_rx_vht_390_mbps = None + self._num_rx_vht_400_mbps = None + self._num_rx_vht_403_mbps = None + self._num_rx_vht_405_mbps = None + self._num_rx_vht_432_mbps = None + self._num_rx_vht_433_2_mbps = None + self._num_rx_vht_450_mbps = None + self._num_rx_vht_468_mbps = None + self._num_rx_vht_480_mbps = None + self._num_rx_vht_486_mbps = None + self._num_rx_vht_520_mbps = None + self._num_rx_vht_526_5_mbps = None + self._num_rx_vht_540_mbps = None + self._num_rx_vht_585_mbps = None + self._num_rx_vht_600_mbps = None + self._num_rx_vht_648_mbps = None + self._num_rx_vht_650_mbps = None + self._num_rx_vht_702_mbps = None + self._num_rx_vht_720_mbps = None + self._num_rx_vht_780_mbps = None + self._num_rx_vht_800_mbps = None + self._num_rx_vht_866_7_mbps = None + self._num_rx_vht_877_5_mbps = None + self._num_rx_vht_936_mbps = None + self._num_rx_vht_975_mbps = None + self._num_rx_vht_1040_mbps = None + self._num_rx_vht_1053_mbps = None + self._num_rx_vht_1053_1_mbps = None + self._num_rx_vht_1170_mbps = None + self._num_rx_vht_1300_mbps = None + self._num_rx_vht_1404_mbps = None + self._num_rx_vht_1560_mbps = None + self._num_rx_vht_1579_5_mbps = None + self._num_rx_vht_1733_1_mbps = None + self._num_rx_vht_1733_4_mbps = None + self._num_rx_vht_1755_mbps = None + self._num_rx_vht_1872_mbps = None + self._num_rx_vht_1950_mbps = None + self._num_rx_vht_2080_mbps = None + self._num_rx_vht_2106_mbps = None + self._num_rx_vht_2340_mbps = None + self._num_rx_vht_2600_mbps = None + self._num_rx_vht_2808_mbps = None + self._num_rx_vht_3120_mbps = None + self._num_rx_vht_3466_8_mbps = None + self.discriminator = None + if num_radio_resets is not None: + self.num_radio_resets = num_radio_resets + if num_chan_changes is not None: + self.num_chan_changes = num_chan_changes + if num_tx_power_changes is not None: + self.num_tx_power_changes = num_tx_power_changes + if num_radar_chan_changes is not None: + self.num_radar_chan_changes = num_radar_chan_changes + if num_free_tx_buf is not None: + self.num_free_tx_buf = num_free_tx_buf + if eleven_g_protection is not None: + self.eleven_g_protection = eleven_g_protection + if num_scan_req is not None: + self.num_scan_req = num_scan_req + if num_scan_succ is not None: + self.num_scan_succ = num_scan_succ + if cur_eirp is not None: + self.cur_eirp = cur_eirp + if actual_cell_size is not None: + self.actual_cell_size = actual_cell_size + if cur_channel is not None: + self.cur_channel = cur_channel + if cur_backup_channel is not None: + self.cur_backup_channel = cur_backup_channel + if rx_last_rssi is not None: + self.rx_last_rssi = rx_last_rssi + if num_rx is not None: + self.num_rx = num_rx + if num_rx_no_fcs_err is not None: + self.num_rx_no_fcs_err = num_rx_no_fcs_err + if num_rx_fcs_err is not None: + self.num_rx_fcs_err = num_rx_fcs_err + if num_rx_data is not None: + self.num_rx_data = num_rx_data + if num_rx_management is not None: + self.num_rx_management = num_rx_management + if num_rx_control is not None: + self.num_rx_control = num_rx_control + if rx_data_bytes is not None: + self.rx_data_bytes = rx_data_bytes + if num_rx_rts is not None: + self.num_rx_rts = num_rx_rts + if num_rx_cts is not None: + self.num_rx_cts = num_rx_cts + if num_rx_ack is not None: + self.num_rx_ack = num_rx_ack + if num_rx_beacon is not None: + self.num_rx_beacon = num_rx_beacon + if num_rx_probe_req is not None: + self.num_rx_probe_req = num_rx_probe_req + if num_rx_probe_resp is not None: + self.num_rx_probe_resp = num_rx_probe_resp + if num_rx_retry is not None: + self.num_rx_retry = num_rx_retry + if num_rx_off_chan is not None: + self.num_rx_off_chan = num_rx_off_chan + if num_rx_dup is not None: + self.num_rx_dup = num_rx_dup + if num_rx_bc_mc is not None: + self.num_rx_bc_mc = num_rx_bc_mc + if num_rx_null_data is not None: + self.num_rx_null_data = num_rx_null_data + if num_rx_pspoll is not None: + self.num_rx_pspoll = num_rx_pspoll + if num_rx_err is not None: + self.num_rx_err = num_rx_err + if num_rx_stbc is not None: + self.num_rx_stbc = num_rx_stbc + if num_rx_ldpc is not None: + self.num_rx_ldpc = num_rx_ldpc + if num_rx_drop_runt is not None: + self.num_rx_drop_runt = num_rx_drop_runt + if num_rx_drop_invalid_src_mac is not None: + self.num_rx_drop_invalid_src_mac = num_rx_drop_invalid_src_mac + if num_rx_drop_amsdu_no_rcv is not None: + self.num_rx_drop_amsdu_no_rcv = num_rx_drop_amsdu_no_rcv + if num_rx_drop_eth_hdr_runt is not None: + self.num_rx_drop_eth_hdr_runt = num_rx_drop_eth_hdr_runt + if num_rx_amsdu_deagg_seq is not None: + self.num_rx_amsdu_deagg_seq = num_rx_amsdu_deagg_seq + if num_rx_amsdu_deagg_itmd is not None: + self.num_rx_amsdu_deagg_itmd = num_rx_amsdu_deagg_itmd + if num_rx_amsdu_deagg_last is not None: + self.num_rx_amsdu_deagg_last = num_rx_amsdu_deagg_last + if num_rx_drop_no_fc_field is not None: + self.num_rx_drop_no_fc_field = num_rx_drop_no_fc_field + if num_rx_drop_bad_protocol is not None: + self.num_rx_drop_bad_protocol = num_rx_drop_bad_protocol + if num_rcv_frame_for_tx is not None: + self.num_rcv_frame_for_tx = num_rcv_frame_for_tx + if num_tx_queued is not None: + self.num_tx_queued = num_tx_queued + if num_rcv_bc_for_tx is not None: + self.num_rcv_bc_for_tx = num_rcv_bc_for_tx + if num_tx_dropped is not None: + self.num_tx_dropped = num_tx_dropped + if num_tx_retry_dropped is not None: + self.num_tx_retry_dropped = num_tx_retry_dropped + if num_tx_bc_dropped is not None: + self.num_tx_bc_dropped = num_tx_bc_dropped + if num_tx_succ is not None: + self.num_tx_succ = num_tx_succ + if num_tx_ps_unicast is not None: + self.num_tx_ps_unicast = num_tx_ps_unicast + if num_tx_dtim_mc is not None: + self.num_tx_dtim_mc = num_tx_dtim_mc + if num_tx_succ_no_retry is not None: + self.num_tx_succ_no_retry = num_tx_succ_no_retry + if num_tx_succ_retries is not None: + self.num_tx_succ_retries = num_tx_succ_retries + if num_tx_multi_retries is not None: + self.num_tx_multi_retries = num_tx_multi_retries + if num_tx_management is not None: + self.num_tx_management = num_tx_management + if num_tx_control is not None: + self.num_tx_control = num_tx_control + if num_tx_action is not None: + self.num_tx_action = num_tx_action + if num_tx_beacon_succ is not None: + self.num_tx_beacon_succ = num_tx_beacon_succ + if num_tx_beacon_fail is not None: + self.num_tx_beacon_fail = num_tx_beacon_fail + if num_tx_beacon_su_fail is not None: + self.num_tx_beacon_su_fail = num_tx_beacon_su_fail + if num_tx_probe_resp is not None: + self.num_tx_probe_resp = num_tx_probe_resp + if num_tx_data is not None: + self.num_tx_data = num_tx_data + if num_tx_data_retries is not None: + self.num_tx_data_retries = num_tx_data_retries + if num_tx_rts_succ is not None: + self.num_tx_rts_succ = num_tx_rts_succ + if num_tx_rts_fail is not None: + self.num_tx_rts_fail = num_tx_rts_fail + if num_tx_cts is not None: + self.num_tx_cts = num_tx_cts + if num_tx_no_ack is not None: + self.num_tx_no_ack = num_tx_no_ack + if num_tx_eapol is not None: + self.num_tx_eapol = num_tx_eapol + if num_tx_ldpc is not None: + self.num_tx_ldpc = num_tx_ldpc + if num_tx_stbc is not None: + self.num_tx_stbc = num_tx_stbc + if num_tx_aggr_succ is not None: + self.num_tx_aggr_succ = num_tx_aggr_succ + if num_tx_aggr_one_mpdu is not None: + self.num_tx_aggr_one_mpdu = num_tx_aggr_one_mpdu + if num_tx_rate_limit_drop is not None: + self.num_tx_rate_limit_drop = num_tx_rate_limit_drop + if num_tx_retry_attemps is not None: + self.num_tx_retry_attemps = num_tx_retry_attemps + if num_tx_total_attemps is not None: + self.num_tx_total_attemps = num_tx_total_attemps + if num_tx_data_frames_12_mbps is not None: + self.num_tx_data_frames_12_mbps = num_tx_data_frames_12_mbps + if num_tx_data_frames_54_mbps is not None: + self.num_tx_data_frames_54_mbps = num_tx_data_frames_54_mbps + if num_tx_data_frames_108_mbps is not None: + self.num_tx_data_frames_108_mbps = num_tx_data_frames_108_mbps + if num_tx_data_frames_300_mbps is not None: + self.num_tx_data_frames_300_mbps = num_tx_data_frames_300_mbps + if num_tx_data_frames_450_mbps is not None: + self.num_tx_data_frames_450_mbps = num_tx_data_frames_450_mbps + if num_tx_data_frames_1300_mbps is not None: + self.num_tx_data_frames_1300_mbps = num_tx_data_frames_1300_mbps + if num_tx_data_frames_1300_plus_mbps is not None: + self.num_tx_data_frames_1300_plus_mbps = num_tx_data_frames_1300_plus_mbps + if num_rx_data_frames_12_mbps is not None: + self.num_rx_data_frames_12_mbps = num_rx_data_frames_12_mbps + if num_rx_data_frames_54_mbps is not None: + self.num_rx_data_frames_54_mbps = num_rx_data_frames_54_mbps + if num_rx_data_frames_108_mbps is not None: + self.num_rx_data_frames_108_mbps = num_rx_data_frames_108_mbps + if num_rx_data_frames_300_mbps is not None: + self.num_rx_data_frames_300_mbps = num_rx_data_frames_300_mbps + if num_rx_data_frames_450_mbps is not None: + self.num_rx_data_frames_450_mbps = num_rx_data_frames_450_mbps + if num_rx_data_frames_1300_mbps is not None: + self.num_rx_data_frames_1300_mbps = num_rx_data_frames_1300_mbps + if num_rx_data_frames_1300_plus_mbps is not None: + self.num_rx_data_frames_1300_plus_mbps = num_rx_data_frames_1300_plus_mbps + if num_tx_time_frames_transmitted is not None: + self.num_tx_time_frames_transmitted = num_tx_time_frames_transmitted + if num_rx_time_to_me is not None: + self.num_rx_time_to_me = num_rx_time_to_me + if num_channel_busy64s is not None: + self.num_channel_busy64s = num_channel_busy64s + if num_tx_time_data is not None: + self.num_tx_time_data = num_tx_time_data + if num_tx_time_bc_mc_data is not None: + self.num_tx_time_bc_mc_data = num_tx_time_bc_mc_data + if num_rx_time_data is not None: + self.num_rx_time_data = num_rx_time_data + if num_tx_frames_transmitted is not None: + self.num_tx_frames_transmitted = num_tx_frames_transmitted + if num_tx_success_with_retry is not None: + self.num_tx_success_with_retry = num_tx_success_with_retry + if num_tx_multiple_retries is not None: + self.num_tx_multiple_retries = num_tx_multiple_retries + if num_tx_data_transmitted_retried is not None: + self.num_tx_data_transmitted_retried = num_tx_data_transmitted_retried + if num_tx_data_transmitted is not None: + self.num_tx_data_transmitted = num_tx_data_transmitted + if num_tx_data_frames is not None: + self.num_tx_data_frames = num_tx_data_frames + if num_rx_frames_received is not None: + self.num_rx_frames_received = num_rx_frames_received + if num_rx_retry_frames is not None: + self.num_rx_retry_frames = num_rx_retry_frames + if num_rx_data_frames_retried is not None: + self.num_rx_data_frames_retried = num_rx_data_frames_retried + if num_rx_data_frames is not None: + self.num_rx_data_frames = num_rx_data_frames + if num_tx_1_mbps is not None: + self.num_tx_1_mbps = num_tx_1_mbps + if num_tx_6_mbps is not None: + self.num_tx_6_mbps = num_tx_6_mbps + if num_tx_9_mbps is not None: + self.num_tx_9_mbps = num_tx_9_mbps + if num_tx_12_mbps is not None: + self.num_tx_12_mbps = num_tx_12_mbps + if num_tx_18_mbps is not None: + self.num_tx_18_mbps = num_tx_18_mbps + if num_tx_24_mbps is not None: + self.num_tx_24_mbps = num_tx_24_mbps + if num_tx_36_mbps is not None: + self.num_tx_36_mbps = num_tx_36_mbps + if num_tx_48_mbps is not None: + self.num_tx_48_mbps = num_tx_48_mbps + if num_tx_54_mbps is not None: + self.num_tx_54_mbps = num_tx_54_mbps + if num_rx_1_mbps is not None: + self.num_rx_1_mbps = num_rx_1_mbps + if num_rx_6_mbps is not None: + self.num_rx_6_mbps = num_rx_6_mbps + if num_rx_9_mbps is not None: + self.num_rx_9_mbps = num_rx_9_mbps + if num_rx_12_mbps is not None: + self.num_rx_12_mbps = num_rx_12_mbps + if num_rx_18_mbps is not None: + self.num_rx_18_mbps = num_rx_18_mbps + if num_rx_24_mbps is not None: + self.num_rx_24_mbps = num_rx_24_mbps + if num_rx_36_mbps is not None: + self.num_rx_36_mbps = num_rx_36_mbps + if num_rx_48_mbps is not None: + self.num_rx_48_mbps = num_rx_48_mbps + if num_rx_54_mbps is not None: + self.num_rx_54_mbps = num_rx_54_mbps + if num_tx_ht_6_5_mbps is not None: + self.num_tx_ht_6_5_mbps = num_tx_ht_6_5_mbps + if num_tx_ht_7_1_mbps is not None: + self.num_tx_ht_7_1_mbps = num_tx_ht_7_1_mbps + if num_tx_ht_13_mbps is not None: + self.num_tx_ht_13_mbps = num_tx_ht_13_mbps + if num_tx_ht_13_5_mbps is not None: + self.num_tx_ht_13_5_mbps = num_tx_ht_13_5_mbps + if num_tx_ht_14_3_mbps is not None: + self.num_tx_ht_14_3_mbps = num_tx_ht_14_3_mbps + if num_tx_ht_15_mbps is not None: + self.num_tx_ht_15_mbps = num_tx_ht_15_mbps + if num_tx_ht_19_5_mbps is not None: + self.num_tx_ht_19_5_mbps = num_tx_ht_19_5_mbps + if num_tx_ht_21_7_mbps is not None: + self.num_tx_ht_21_7_mbps = num_tx_ht_21_7_mbps + if num_tx_ht_26_mbps is not None: + self.num_tx_ht_26_mbps = num_tx_ht_26_mbps + if num_tx_ht_27_mbps is not None: + self.num_tx_ht_27_mbps = num_tx_ht_27_mbps + if num_tx_ht_28_7_mbps is not None: + self.num_tx_ht_28_7_mbps = num_tx_ht_28_7_mbps + if num_tx_ht_28_8_mbps is not None: + self.num_tx_ht_28_8_mbps = num_tx_ht_28_8_mbps + if num_tx_ht_29_2_mbps is not None: + self.num_tx_ht_29_2_mbps = num_tx_ht_29_2_mbps + if num_tx_ht_30_mbps is not None: + self.num_tx_ht_30_mbps = num_tx_ht_30_mbps + if num_tx_ht_32_5_mbps is not None: + self.num_tx_ht_32_5_mbps = num_tx_ht_32_5_mbps + if num_tx_ht_39_mbps is not None: + self.num_tx_ht_39_mbps = num_tx_ht_39_mbps + if num_tx_ht_40_5_mbps is not None: + self.num_tx_ht_40_5_mbps = num_tx_ht_40_5_mbps + if num_tx_ht_43_2_mbps is not None: + self.num_tx_ht_43_2_mbps = num_tx_ht_43_2_mbps + if num_tx_ht_45_mbps is not None: + self.num_tx_ht_45_mbps = num_tx_ht_45_mbps + if num_tx_ht_52_mbps is not None: + self.num_tx_ht_52_mbps = num_tx_ht_52_mbps + if num_tx_ht_54_mbps is not None: + self.num_tx_ht_54_mbps = num_tx_ht_54_mbps + if num_tx_ht_57_5_mbps is not None: + self.num_tx_ht_57_5_mbps = num_tx_ht_57_5_mbps + if num_tx_ht_57_7_mbps is not None: + self.num_tx_ht_57_7_mbps = num_tx_ht_57_7_mbps + if num_tx_ht_58_5_mbps is not None: + self.num_tx_ht_58_5_mbps = num_tx_ht_58_5_mbps + if num_tx_ht_60_mbps is not None: + self.num_tx_ht_60_mbps = num_tx_ht_60_mbps + if num_tx_ht_65_mbps is not None: + self.num_tx_ht_65_mbps = num_tx_ht_65_mbps + if num_tx_ht_72_1_mbps is not None: + self.num_tx_ht_72_1_mbps = num_tx_ht_72_1_mbps + if num_tx_ht_78_mbps is not None: + self.num_tx_ht_78_mbps = num_tx_ht_78_mbps + if num_tx_ht_81_mbps is not None: + self.num_tx_ht_81_mbps = num_tx_ht_81_mbps + if num_tx_ht_86_6_mbps is not None: + self.num_tx_ht_86_6_mbps = num_tx_ht_86_6_mbps + if num_tx_ht_86_8_mbps is not None: + self.num_tx_ht_86_8_mbps = num_tx_ht_86_8_mbps + if num_tx_ht_87_8_mbps is not None: + self.num_tx_ht_87_8_mbps = num_tx_ht_87_8_mbps + if num_tx_ht_90_mbps is not None: + self.num_tx_ht_90_mbps = num_tx_ht_90_mbps + if num_tx_ht_97_5_mbps is not None: + self.num_tx_ht_97_5_mbps = num_tx_ht_97_5_mbps + if num_tx_ht_104_mbps is not None: + self.num_tx_ht_104_mbps = num_tx_ht_104_mbps + if num_tx_ht_108_mbps is not None: + self.num_tx_ht_108_mbps = num_tx_ht_108_mbps + if num_tx_ht_115_5_mbps is not None: + self.num_tx_ht_115_5_mbps = num_tx_ht_115_5_mbps + if num_tx_ht_117_mbps is not None: + self.num_tx_ht_117_mbps = num_tx_ht_117_mbps + if num_tx_ht_117_1_mbps is not None: + self.num_tx_ht_117_1_mbps = num_tx_ht_117_1_mbps + if num_tx_ht_120_mbps is not None: + self.num_tx_ht_120_mbps = num_tx_ht_120_mbps + if num_tx_ht_121_5_mbps is not None: + self.num_tx_ht_121_5_mbps = num_tx_ht_121_5_mbps + if num_tx_ht_130_mbps is not None: + self.num_tx_ht_130_mbps = num_tx_ht_130_mbps + if num_tx_ht_130_3_mbps is not None: + self.num_tx_ht_130_3_mbps = num_tx_ht_130_3_mbps + if num_tx_ht_135_mbps is not None: + self.num_tx_ht_135_mbps = num_tx_ht_135_mbps + if num_tx_ht_144_3_mbps is not None: + self.num_tx_ht_144_3_mbps = num_tx_ht_144_3_mbps + if num_tx_ht_150_mbps is not None: + self.num_tx_ht_150_mbps = num_tx_ht_150_mbps + if num_tx_ht_156_mbps is not None: + self.num_tx_ht_156_mbps = num_tx_ht_156_mbps + if num_tx_ht_162_mbps is not None: + self.num_tx_ht_162_mbps = num_tx_ht_162_mbps + if num_tx_ht_173_1_mbps is not None: + self.num_tx_ht_173_1_mbps = num_tx_ht_173_1_mbps + if num_tx_ht_173_3_mbps is not None: + self.num_tx_ht_173_3_mbps = num_tx_ht_173_3_mbps + if num_tx_ht_175_5_mbps is not None: + self.num_tx_ht_175_5_mbps = num_tx_ht_175_5_mbps + if num_tx_ht_180_mbps is not None: + self.num_tx_ht_180_mbps = num_tx_ht_180_mbps + if num_tx_ht_195_mbps is not None: + self.num_tx_ht_195_mbps = num_tx_ht_195_mbps + if num_tx_ht_200_mbps is not None: + self.num_tx_ht_200_mbps = num_tx_ht_200_mbps + if num_tx_ht_208_mbps is not None: + self.num_tx_ht_208_mbps = num_tx_ht_208_mbps + if num_tx_ht_216_mbps is not None: + self.num_tx_ht_216_mbps = num_tx_ht_216_mbps + if num_tx_ht_216_6_mbps is not None: + self.num_tx_ht_216_6_mbps = num_tx_ht_216_6_mbps + if num_tx_ht_231_1_mbps is not None: + self.num_tx_ht_231_1_mbps = num_tx_ht_231_1_mbps + if num_tx_ht_234_mbps is not None: + self.num_tx_ht_234_mbps = num_tx_ht_234_mbps + if num_tx_ht_240_mbps is not None: + self.num_tx_ht_240_mbps = num_tx_ht_240_mbps + if num_tx_ht_243_mbps is not None: + self.num_tx_ht_243_mbps = num_tx_ht_243_mbps + if num_tx_ht_260_mbps is not None: + self.num_tx_ht_260_mbps = num_tx_ht_260_mbps + if num_tx_ht_263_2_mbps is not None: + self.num_tx_ht_263_2_mbps = num_tx_ht_263_2_mbps + if num_tx_ht_270_mbps is not None: + self.num_tx_ht_270_mbps = num_tx_ht_270_mbps + if num_tx_ht_288_7_mbps is not None: + self.num_tx_ht_288_7_mbps = num_tx_ht_288_7_mbps + if num_tx_ht_288_8_mbps is not None: + self.num_tx_ht_288_8_mbps = num_tx_ht_288_8_mbps + if num_tx_ht_292_5_mbps is not None: + self.num_tx_ht_292_5_mbps = num_tx_ht_292_5_mbps + if num_tx_ht_300_mbps is not None: + self.num_tx_ht_300_mbps = num_tx_ht_300_mbps + if num_tx_ht_312_mbps is not None: + self.num_tx_ht_312_mbps = num_tx_ht_312_mbps + if num_tx_ht_324_mbps is not None: + self.num_tx_ht_324_mbps = num_tx_ht_324_mbps + if num_tx_ht_325_mbps is not None: + self.num_tx_ht_325_mbps = num_tx_ht_325_mbps + if num_tx_ht_346_7_mbps is not None: + self.num_tx_ht_346_7_mbps = num_tx_ht_346_7_mbps + if num_tx_ht_351_mbps is not None: + self.num_tx_ht_351_mbps = num_tx_ht_351_mbps + if num_tx_ht_351_2_mbps is not None: + self.num_tx_ht_351_2_mbps = num_tx_ht_351_2_mbps + if num_tx_ht_360_mbps is not None: + self.num_tx_ht_360_mbps = num_tx_ht_360_mbps + if num_rx_ht_6_5_mbps is not None: + self.num_rx_ht_6_5_mbps = num_rx_ht_6_5_mbps + if num_rx_ht_7_1_mbps is not None: + self.num_rx_ht_7_1_mbps = num_rx_ht_7_1_mbps + if num_rx_ht_13_mbps is not None: + self.num_rx_ht_13_mbps = num_rx_ht_13_mbps + if num_rx_ht_13_5_mbps is not None: + self.num_rx_ht_13_5_mbps = num_rx_ht_13_5_mbps + if num_rx_ht_14_3_mbps is not None: + self.num_rx_ht_14_3_mbps = num_rx_ht_14_3_mbps + if num_rx_ht_15_mbps is not None: + self.num_rx_ht_15_mbps = num_rx_ht_15_mbps + if num_rx_ht_19_5_mbps is not None: + self.num_rx_ht_19_5_mbps = num_rx_ht_19_5_mbps + if num_rx_ht_21_7_mbps is not None: + self.num_rx_ht_21_7_mbps = num_rx_ht_21_7_mbps + if num_rx_ht_26_mbps is not None: + self.num_rx_ht_26_mbps = num_rx_ht_26_mbps + if num_rx_ht_27_mbps is not None: + self.num_rx_ht_27_mbps = num_rx_ht_27_mbps + if num_rx_ht_28_7_mbps is not None: + self.num_rx_ht_28_7_mbps = num_rx_ht_28_7_mbps + if num_rx_ht_28_8_mbps is not None: + self.num_rx_ht_28_8_mbps = num_rx_ht_28_8_mbps + if num_rx_ht_29_2_mbps is not None: + self.num_rx_ht_29_2_mbps = num_rx_ht_29_2_mbps + if num_rx_ht_30_mbps is not None: + self.num_rx_ht_30_mbps = num_rx_ht_30_mbps + if num_rx_ht_32_5_mbps is not None: + self.num_rx_ht_32_5_mbps = num_rx_ht_32_5_mbps + if num_rx_ht_39_mbps is not None: + self.num_rx_ht_39_mbps = num_rx_ht_39_mbps + if num_rx_ht_40_5_mbps is not None: + self.num_rx_ht_40_5_mbps = num_rx_ht_40_5_mbps + if num_rx_ht_43_2_mbps is not None: + self.num_rx_ht_43_2_mbps = num_rx_ht_43_2_mbps + if num_rx_ht_45_mbps is not None: + self.num_rx_ht_45_mbps = num_rx_ht_45_mbps + if num_rx_ht_52_mbps is not None: + self.num_rx_ht_52_mbps = num_rx_ht_52_mbps + if num_rx_ht_54_mbps is not None: + self.num_rx_ht_54_mbps = num_rx_ht_54_mbps + if num_rx_ht_57_5_mbps is not None: + self.num_rx_ht_57_5_mbps = num_rx_ht_57_5_mbps + if num_rx_ht_57_7_mbps is not None: + self.num_rx_ht_57_7_mbps = num_rx_ht_57_7_mbps + if num_rx_ht_58_5_mbps is not None: + self.num_rx_ht_58_5_mbps = num_rx_ht_58_5_mbps + if num_rx_ht_60_mbps is not None: + self.num_rx_ht_60_mbps = num_rx_ht_60_mbps + if num_rx_ht_65_mbps is not None: + self.num_rx_ht_65_mbps = num_rx_ht_65_mbps + if num_rx_ht_72_1_mbps is not None: + self.num_rx_ht_72_1_mbps = num_rx_ht_72_1_mbps + if num_rx_ht_78_mbps is not None: + self.num_rx_ht_78_mbps = num_rx_ht_78_mbps + if num_rx_ht_81_mbps is not None: + self.num_rx_ht_81_mbps = num_rx_ht_81_mbps + if num_rx_ht_86_6_mbps is not None: + self.num_rx_ht_86_6_mbps = num_rx_ht_86_6_mbps + if num_rx_ht_86_8_mbps is not None: + self.num_rx_ht_86_8_mbps = num_rx_ht_86_8_mbps + if num_rx_ht_87_8_mbps is not None: + self.num_rx_ht_87_8_mbps = num_rx_ht_87_8_mbps + if num_rx_ht_90_mbps is not None: + self.num_rx_ht_90_mbps = num_rx_ht_90_mbps + if num_rx_ht_97_5_mbps is not None: + self.num_rx_ht_97_5_mbps = num_rx_ht_97_5_mbps + if num_rx_ht_104_mbps is not None: + self.num_rx_ht_104_mbps = num_rx_ht_104_mbps + if num_rx_ht_108_mbps is not None: + self.num_rx_ht_108_mbps = num_rx_ht_108_mbps + if num_rx_ht_115_5_mbps is not None: + self.num_rx_ht_115_5_mbps = num_rx_ht_115_5_mbps + if num_rx_ht_117_mbps is not None: + self.num_rx_ht_117_mbps = num_rx_ht_117_mbps + if num_rx_ht_117_1_mbps is not None: + self.num_rx_ht_117_1_mbps = num_rx_ht_117_1_mbps + if num_rx_ht_120_mbps is not None: + self.num_rx_ht_120_mbps = num_rx_ht_120_mbps + if num_rx_ht_121_5_mbps is not None: + self.num_rx_ht_121_5_mbps = num_rx_ht_121_5_mbps + if num_rx_ht_130_mbps is not None: + self.num_rx_ht_130_mbps = num_rx_ht_130_mbps + if num_rx_ht_130_3_mbps is not None: + self.num_rx_ht_130_3_mbps = num_rx_ht_130_3_mbps + if num_rx_ht_135_mbps is not None: + self.num_rx_ht_135_mbps = num_rx_ht_135_mbps + if num_rx_ht_144_3_mbps is not None: + self.num_rx_ht_144_3_mbps = num_rx_ht_144_3_mbps + if num_rx_ht_150_mbps is not None: + self.num_rx_ht_150_mbps = num_rx_ht_150_mbps + if num_rx_ht_156_mbps is not None: + self.num_rx_ht_156_mbps = num_rx_ht_156_mbps + if num_rx_ht_162_mbps is not None: + self.num_rx_ht_162_mbps = num_rx_ht_162_mbps + if num_rx_ht_173_1_mbps is not None: + self.num_rx_ht_173_1_mbps = num_rx_ht_173_1_mbps + if num_rx_ht_173_3_mbps is not None: + self.num_rx_ht_173_3_mbps = num_rx_ht_173_3_mbps + if num_rx_ht_175_5_mbps is not None: + self.num_rx_ht_175_5_mbps = num_rx_ht_175_5_mbps + if num_rx_ht_180_mbps is not None: + self.num_rx_ht_180_mbps = num_rx_ht_180_mbps + if num_rx_ht_195_mbps is not None: + self.num_rx_ht_195_mbps = num_rx_ht_195_mbps + if num_rx_ht_200_mbps is not None: + self.num_rx_ht_200_mbps = num_rx_ht_200_mbps + if num_rx_ht_208_mbps is not None: + self.num_rx_ht_208_mbps = num_rx_ht_208_mbps + if num_rx_ht_216_mbps is not None: + self.num_rx_ht_216_mbps = num_rx_ht_216_mbps + if num_rx_ht_216_6_mbps is not None: + self.num_rx_ht_216_6_mbps = num_rx_ht_216_6_mbps + if num_rx_ht_231_1_mbps is not None: + self.num_rx_ht_231_1_mbps = num_rx_ht_231_1_mbps + if num_rx_ht_234_mbps is not None: + self.num_rx_ht_234_mbps = num_rx_ht_234_mbps + if num_rx_ht_240_mbps is not None: + self.num_rx_ht_240_mbps = num_rx_ht_240_mbps + if num_rx_ht_243_mbps is not None: + self.num_rx_ht_243_mbps = num_rx_ht_243_mbps + if num_rx_ht_260_mbps is not None: + self.num_rx_ht_260_mbps = num_rx_ht_260_mbps + if num_rx_ht_263_2_mbps is not None: + self.num_rx_ht_263_2_mbps = num_rx_ht_263_2_mbps + if num_rx_ht_270_mbps is not None: + self.num_rx_ht_270_mbps = num_rx_ht_270_mbps + if num_rx_ht_288_7_mbps is not None: + self.num_rx_ht_288_7_mbps = num_rx_ht_288_7_mbps + if num_rx_ht_288_8_mbps is not None: + self.num_rx_ht_288_8_mbps = num_rx_ht_288_8_mbps + if num_rx_ht_292_5_mbps is not None: + self.num_rx_ht_292_5_mbps = num_rx_ht_292_5_mbps + if num_rx_ht_300_mbps is not None: + self.num_rx_ht_300_mbps = num_rx_ht_300_mbps + if num_rx_ht_312_mbps is not None: + self.num_rx_ht_312_mbps = num_rx_ht_312_mbps + if num_rx_ht_324_mbps is not None: + self.num_rx_ht_324_mbps = num_rx_ht_324_mbps + if num_rx_ht_325_mbps is not None: + self.num_rx_ht_325_mbps = num_rx_ht_325_mbps + if num_rx_ht_346_7_mbps is not None: + self.num_rx_ht_346_7_mbps = num_rx_ht_346_7_mbps + if num_rx_ht_351_mbps is not None: + self.num_rx_ht_351_mbps = num_rx_ht_351_mbps + if num_rx_ht_351_2_mbps is not None: + self.num_rx_ht_351_2_mbps = num_rx_ht_351_2_mbps + if num_rx_ht_360_mbps is not None: + self.num_rx_ht_360_mbps = num_rx_ht_360_mbps + if num_tx_vht_292_5_mbps is not None: + self.num_tx_vht_292_5_mbps = num_tx_vht_292_5_mbps + if num_tx_vht_325_mbps is not None: + self.num_tx_vht_325_mbps = num_tx_vht_325_mbps + if num_tx_vht_364_5_mbps is not None: + self.num_tx_vht_364_5_mbps = num_tx_vht_364_5_mbps + if num_tx_vht_390_mbps is not None: + self.num_tx_vht_390_mbps = num_tx_vht_390_mbps + if num_tx_vht_400_mbps is not None: + self.num_tx_vht_400_mbps = num_tx_vht_400_mbps + if num_tx_vht_403_mbps is not None: + self.num_tx_vht_403_mbps = num_tx_vht_403_mbps + if num_tx_vht_405_mbps is not None: + self.num_tx_vht_405_mbps = num_tx_vht_405_mbps + if num_tx_vht_432_mbps is not None: + self.num_tx_vht_432_mbps = num_tx_vht_432_mbps + if num_tx_vht_433_2_mbps is not None: + self.num_tx_vht_433_2_mbps = num_tx_vht_433_2_mbps + if num_tx_vht_450_mbps is not None: + self.num_tx_vht_450_mbps = num_tx_vht_450_mbps + if num_tx_vht_468_mbps is not None: + self.num_tx_vht_468_mbps = num_tx_vht_468_mbps + if num_tx_vht_480_mbps is not None: + self.num_tx_vht_480_mbps = num_tx_vht_480_mbps + if num_tx_vht_486_mbps is not None: + self.num_tx_vht_486_mbps = num_tx_vht_486_mbps + if num_tx_vht_520_mbps is not None: + self.num_tx_vht_520_mbps = num_tx_vht_520_mbps + if num_tx_vht_526_5_mbps is not None: + self.num_tx_vht_526_5_mbps = num_tx_vht_526_5_mbps + if num_tx_vht_540_mbps is not None: + self.num_tx_vht_540_mbps = num_tx_vht_540_mbps + if num_tx_vht_585_mbps is not None: + self.num_tx_vht_585_mbps = num_tx_vht_585_mbps + if num_tx_vht_600_mbps is not None: + self.num_tx_vht_600_mbps = num_tx_vht_600_mbps + if num_tx_vht_648_mbps is not None: + self.num_tx_vht_648_mbps = num_tx_vht_648_mbps + if num_tx_vht_650_mbps is not None: + self.num_tx_vht_650_mbps = num_tx_vht_650_mbps + if num_tx_vht_702_mbps is not None: + self.num_tx_vht_702_mbps = num_tx_vht_702_mbps + if num_tx_vht_720_mbps is not None: + self.num_tx_vht_720_mbps = num_tx_vht_720_mbps + if num_tx_vht_780_mbps is not None: + self.num_tx_vht_780_mbps = num_tx_vht_780_mbps + if num_tx_vht_800_mbps is not None: + self.num_tx_vht_800_mbps = num_tx_vht_800_mbps + if num_tx_vht_866_7_mbps is not None: + self.num_tx_vht_866_7_mbps = num_tx_vht_866_7_mbps + if num_tx_vht_877_5_mbps is not None: + self.num_tx_vht_877_5_mbps = num_tx_vht_877_5_mbps + if num_tx_vht_936_mbps is not None: + self.num_tx_vht_936_mbps = num_tx_vht_936_mbps + if num_tx_vht_975_mbps is not None: + self.num_tx_vht_975_mbps = num_tx_vht_975_mbps + if num_tx_vht_1040_mbps is not None: + self.num_tx_vht_1040_mbps = num_tx_vht_1040_mbps + if num_tx_vht_1053_mbps is not None: + self.num_tx_vht_1053_mbps = num_tx_vht_1053_mbps + if num_tx_vht_1053_1_mbps is not None: + self.num_tx_vht_1053_1_mbps = num_tx_vht_1053_1_mbps + if num_tx_vht_1170_mbps is not None: + self.num_tx_vht_1170_mbps = num_tx_vht_1170_mbps + if num_tx_vht_1300_mbps is not None: + self.num_tx_vht_1300_mbps = num_tx_vht_1300_mbps + if num_tx_vht_1404_mbps is not None: + self.num_tx_vht_1404_mbps = num_tx_vht_1404_mbps + if num_tx_vht_1560_mbps is not None: + self.num_tx_vht_1560_mbps = num_tx_vht_1560_mbps + if num_tx_vht_1579_5_mbps is not None: + self.num_tx_vht_1579_5_mbps = num_tx_vht_1579_5_mbps + if num_tx_vht_1733_1_mbps is not None: + self.num_tx_vht_1733_1_mbps = num_tx_vht_1733_1_mbps + if num_tx_vht_1733_4_mbps is not None: + self.num_tx_vht_1733_4_mbps = num_tx_vht_1733_4_mbps + if num_tx_vht_1755_mbps is not None: + self.num_tx_vht_1755_mbps = num_tx_vht_1755_mbps + if num_tx_vht_1872_mbps is not None: + self.num_tx_vht_1872_mbps = num_tx_vht_1872_mbps + if num_tx_vht_1950_mbps is not None: + self.num_tx_vht_1950_mbps = num_tx_vht_1950_mbps + if num_tx_vht_2080_mbps is not None: + self.num_tx_vht_2080_mbps = num_tx_vht_2080_mbps + if num_tx_vht_2106_mbps is not None: + self.num_tx_vht_2106_mbps = num_tx_vht_2106_mbps + if num_tx_vht_2340_mbps is not None: + self.num_tx_vht_2340_mbps = num_tx_vht_2340_mbps + if num_tx_vht_2600_mbps is not None: + self.num_tx_vht_2600_mbps = num_tx_vht_2600_mbps + if num_tx_vht_2808_mbps is not None: + self.num_tx_vht_2808_mbps = num_tx_vht_2808_mbps + if num_tx_vht_3120_mbps is not None: + self.num_tx_vht_3120_mbps = num_tx_vht_3120_mbps + if num_tx_vht_3466_8_mbps is not None: + self.num_tx_vht_3466_8_mbps = num_tx_vht_3466_8_mbps + if num_rx_vht_292_5_mbps is not None: + self.num_rx_vht_292_5_mbps = num_rx_vht_292_5_mbps + if num_rx_vht_325_mbps is not None: + self.num_rx_vht_325_mbps = num_rx_vht_325_mbps + if num_rx_vht_364_5_mbps is not None: + self.num_rx_vht_364_5_mbps = num_rx_vht_364_5_mbps + if num_rx_vht_390_mbps is not None: + self.num_rx_vht_390_mbps = num_rx_vht_390_mbps + if num_rx_vht_400_mbps is not None: + self.num_rx_vht_400_mbps = num_rx_vht_400_mbps + if num_rx_vht_403_mbps is not None: + self.num_rx_vht_403_mbps = num_rx_vht_403_mbps + if num_rx_vht_405_mbps is not None: + self.num_rx_vht_405_mbps = num_rx_vht_405_mbps + if num_rx_vht_432_mbps is not None: + self.num_rx_vht_432_mbps = num_rx_vht_432_mbps + if num_rx_vht_433_2_mbps is not None: + self.num_rx_vht_433_2_mbps = num_rx_vht_433_2_mbps + if num_rx_vht_450_mbps is not None: + self.num_rx_vht_450_mbps = num_rx_vht_450_mbps + if num_rx_vht_468_mbps is not None: + self.num_rx_vht_468_mbps = num_rx_vht_468_mbps + if num_rx_vht_480_mbps is not None: + self.num_rx_vht_480_mbps = num_rx_vht_480_mbps + if num_rx_vht_486_mbps is not None: + self.num_rx_vht_486_mbps = num_rx_vht_486_mbps + if num_rx_vht_520_mbps is not None: + self.num_rx_vht_520_mbps = num_rx_vht_520_mbps + if num_rx_vht_526_5_mbps is not None: + self.num_rx_vht_526_5_mbps = num_rx_vht_526_5_mbps + if num_rx_vht_540_mbps is not None: + self.num_rx_vht_540_mbps = num_rx_vht_540_mbps + if num_rx_vht_585_mbps is not None: + self.num_rx_vht_585_mbps = num_rx_vht_585_mbps + if num_rx_vht_600_mbps is not None: + self.num_rx_vht_600_mbps = num_rx_vht_600_mbps + if num_rx_vht_648_mbps is not None: + self.num_rx_vht_648_mbps = num_rx_vht_648_mbps + if num_rx_vht_650_mbps is not None: + self.num_rx_vht_650_mbps = num_rx_vht_650_mbps + if num_rx_vht_702_mbps is not None: + self.num_rx_vht_702_mbps = num_rx_vht_702_mbps + if num_rx_vht_720_mbps is not None: + self.num_rx_vht_720_mbps = num_rx_vht_720_mbps + if num_rx_vht_780_mbps is not None: + self.num_rx_vht_780_mbps = num_rx_vht_780_mbps + if num_rx_vht_800_mbps is not None: + self.num_rx_vht_800_mbps = num_rx_vht_800_mbps + if num_rx_vht_866_7_mbps is not None: + self.num_rx_vht_866_7_mbps = num_rx_vht_866_7_mbps + if num_rx_vht_877_5_mbps is not None: + self.num_rx_vht_877_5_mbps = num_rx_vht_877_5_mbps + if num_rx_vht_936_mbps is not None: + self.num_rx_vht_936_mbps = num_rx_vht_936_mbps + if num_rx_vht_975_mbps is not None: + self.num_rx_vht_975_mbps = num_rx_vht_975_mbps + if num_rx_vht_1040_mbps is not None: + self.num_rx_vht_1040_mbps = num_rx_vht_1040_mbps + if num_rx_vht_1053_mbps is not None: + self.num_rx_vht_1053_mbps = num_rx_vht_1053_mbps + if num_rx_vht_1053_1_mbps is not None: + self.num_rx_vht_1053_1_mbps = num_rx_vht_1053_1_mbps + if num_rx_vht_1170_mbps is not None: + self.num_rx_vht_1170_mbps = num_rx_vht_1170_mbps + if num_rx_vht_1300_mbps is not None: + self.num_rx_vht_1300_mbps = num_rx_vht_1300_mbps + if num_rx_vht_1404_mbps is not None: + self.num_rx_vht_1404_mbps = num_rx_vht_1404_mbps + if num_rx_vht_1560_mbps is not None: + self.num_rx_vht_1560_mbps = num_rx_vht_1560_mbps + if num_rx_vht_1579_5_mbps is not None: + self.num_rx_vht_1579_5_mbps = num_rx_vht_1579_5_mbps + if num_rx_vht_1733_1_mbps is not None: + self.num_rx_vht_1733_1_mbps = num_rx_vht_1733_1_mbps + if num_rx_vht_1733_4_mbps is not None: + self.num_rx_vht_1733_4_mbps = num_rx_vht_1733_4_mbps + if num_rx_vht_1755_mbps is not None: + self.num_rx_vht_1755_mbps = num_rx_vht_1755_mbps + if num_rx_vht_1872_mbps is not None: + self.num_rx_vht_1872_mbps = num_rx_vht_1872_mbps + if num_rx_vht_1950_mbps is not None: + self.num_rx_vht_1950_mbps = num_rx_vht_1950_mbps + if num_rx_vht_2080_mbps is not None: + self.num_rx_vht_2080_mbps = num_rx_vht_2080_mbps + if num_rx_vht_2106_mbps is not None: + self.num_rx_vht_2106_mbps = num_rx_vht_2106_mbps + if num_rx_vht_2340_mbps is not None: + self.num_rx_vht_2340_mbps = num_rx_vht_2340_mbps + if num_rx_vht_2600_mbps is not None: + self.num_rx_vht_2600_mbps = num_rx_vht_2600_mbps + if num_rx_vht_2808_mbps is not None: + self.num_rx_vht_2808_mbps = num_rx_vht_2808_mbps + if num_rx_vht_3120_mbps is not None: + self.num_rx_vht_3120_mbps = num_rx_vht_3120_mbps + if num_rx_vht_3466_8_mbps is not None: + self.num_rx_vht_3466_8_mbps = num_rx_vht_3466_8_mbps + + @property + def num_radio_resets(self): + """Gets the num_radio_resets of this RadioStatistics. # noqa: E501 + + The number of radio resets # noqa: E501 + + :return: The num_radio_resets of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_radio_resets + + @num_radio_resets.setter + def num_radio_resets(self, num_radio_resets): + """Sets the num_radio_resets of this RadioStatistics. + + The number of radio resets # noqa: E501 + + :param num_radio_resets: The num_radio_resets of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_radio_resets = num_radio_resets + + @property + def num_chan_changes(self): + """Gets the num_chan_changes of this RadioStatistics. # noqa: E501 + + The number of channel changes. # noqa: E501 + + :return: The num_chan_changes of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_chan_changes + + @num_chan_changes.setter + def num_chan_changes(self, num_chan_changes): + """Sets the num_chan_changes of this RadioStatistics. + + The number of channel changes. # noqa: E501 + + :param num_chan_changes: The num_chan_changes of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_chan_changes = num_chan_changes + + @property + def num_tx_power_changes(self): + """Gets the num_tx_power_changes of this RadioStatistics. # noqa: E501 + + The number of tx power changes. # noqa: E501 + + :return: The num_tx_power_changes of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_power_changes + + @num_tx_power_changes.setter + def num_tx_power_changes(self, num_tx_power_changes): + """Sets the num_tx_power_changes of this RadioStatistics. + + The number of tx power changes. # noqa: E501 + + :param num_tx_power_changes: The num_tx_power_changes of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_power_changes = num_tx_power_changes + + @property + def num_radar_chan_changes(self): + """Gets the num_radar_chan_changes of this RadioStatistics. # noqa: E501 + + The number of channel changes due to radar detections. # noqa: E501 + + :return: The num_radar_chan_changes of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_radar_chan_changes + + @num_radar_chan_changes.setter + def num_radar_chan_changes(self, num_radar_chan_changes): + """Sets the num_radar_chan_changes of this RadioStatistics. + + The number of channel changes due to radar detections. # noqa: E501 + + :param num_radar_chan_changes: The num_radar_chan_changes of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_radar_chan_changes = num_radar_chan_changes + + @property + def num_free_tx_buf(self): + """Gets the num_free_tx_buf of this RadioStatistics. # noqa: E501 + + The number of free TX buffers available. # noqa: E501 + + :return: The num_free_tx_buf of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_free_tx_buf + + @num_free_tx_buf.setter + def num_free_tx_buf(self, num_free_tx_buf): + """Sets the num_free_tx_buf of this RadioStatistics. + + The number of free TX buffers available. # noqa: E501 + + :param num_free_tx_buf: The num_free_tx_buf of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_free_tx_buf = num_free_tx_buf + + @property + def eleven_g_protection(self): + """Gets the eleven_g_protection of this RadioStatistics. # noqa: E501 + + 11g protection, 2.4GHz only. # noqa: E501 + + :return: The eleven_g_protection of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._eleven_g_protection + + @eleven_g_protection.setter + def eleven_g_protection(self, eleven_g_protection): + """Sets the eleven_g_protection of this RadioStatistics. + + 11g protection, 2.4GHz only. # noqa: E501 + + :param eleven_g_protection: The eleven_g_protection of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._eleven_g_protection = eleven_g_protection + + @property + def num_scan_req(self): + """Gets the num_scan_req of this RadioStatistics. # noqa: E501 + + The number of scanning requests. # noqa: E501 + + :return: The num_scan_req of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_scan_req + + @num_scan_req.setter + def num_scan_req(self, num_scan_req): + """Sets the num_scan_req of this RadioStatistics. + + The number of scanning requests. # noqa: E501 + + :param num_scan_req: The num_scan_req of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_scan_req = num_scan_req + + @property + def num_scan_succ(self): + """Gets the num_scan_succ of this RadioStatistics. # noqa: E501 + + The number of scanning successes. # noqa: E501 + + :return: The num_scan_succ of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_scan_succ + + @num_scan_succ.setter + def num_scan_succ(self, num_scan_succ): + """Sets the num_scan_succ of this RadioStatistics. + + The number of scanning successes. # noqa: E501 + + :param num_scan_succ: The num_scan_succ of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_scan_succ = num_scan_succ + + @property + def cur_eirp(self): + """Gets the cur_eirp of this RadioStatistics. # noqa: E501 + + The Current EIRP. # noqa: E501 + + :return: The cur_eirp of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._cur_eirp + + @cur_eirp.setter + def cur_eirp(self, cur_eirp): + """Sets the cur_eirp of this RadioStatistics. + + The Current EIRP. # noqa: E501 + + :param cur_eirp: The cur_eirp of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._cur_eirp = cur_eirp + + @property + def actual_cell_size(self): + """Gets the actual_cell_size of this RadioStatistics. # noqa: E501 + + Actuall Cell Size # noqa: E501 + + :return: The actual_cell_size of this RadioStatistics. # noqa: E501 + :rtype: list[int] + """ + return self._actual_cell_size + + @actual_cell_size.setter + def actual_cell_size(self, actual_cell_size): + """Sets the actual_cell_size of this RadioStatistics. + + Actuall Cell Size # noqa: E501 + + :param actual_cell_size: The actual_cell_size of this RadioStatistics. # noqa: E501 + :type: list[int] + """ + + self._actual_cell_size = actual_cell_size + + @property + def cur_channel(self): + """Gets the cur_channel of this RadioStatistics. # noqa: E501 + + The current primary channel # noqa: E501 + + :return: The cur_channel of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._cur_channel + + @cur_channel.setter + def cur_channel(self, cur_channel): + """Sets the cur_channel of this RadioStatistics. + + The current primary channel # noqa: E501 + + :param cur_channel: The cur_channel of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._cur_channel = cur_channel + + @property + def cur_backup_channel(self): + """Gets the cur_backup_channel of this RadioStatistics. # noqa: E501 + + The current backup channel # noqa: E501 + + :return: The cur_backup_channel of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._cur_backup_channel + + @cur_backup_channel.setter + def cur_backup_channel(self, cur_backup_channel): + """Sets the cur_backup_channel of this RadioStatistics. + + The current backup channel # noqa: E501 + + :param cur_backup_channel: The cur_backup_channel of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._cur_backup_channel = cur_backup_channel + + @property + def rx_last_rssi(self): + """Gets the rx_last_rssi of this RadioStatistics. # noqa: E501 + + The RSSI of last frame received. # noqa: E501 + + :return: The rx_last_rssi of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._rx_last_rssi + + @rx_last_rssi.setter + def rx_last_rssi(self, rx_last_rssi): + """Sets the rx_last_rssi of this RadioStatistics. + + The RSSI of last frame received. # noqa: E501 + + :param rx_last_rssi: The rx_last_rssi of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._rx_last_rssi = rx_last_rssi + + @property + def num_rx(self): + """Gets the num_rx of this RadioStatistics. # noqa: E501 + + The number of received frames. # noqa: E501 + + :return: The num_rx of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx + + @num_rx.setter + def num_rx(self, num_rx): + """Sets the num_rx of this RadioStatistics. + + The number of received frames. # noqa: E501 + + :param num_rx: The num_rx of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx = num_rx + + @property + def num_rx_no_fcs_err(self): + """Gets the num_rx_no_fcs_err of this RadioStatistics. # noqa: E501 + + The number of received frames without FCS errors. # noqa: E501 + + :return: The num_rx_no_fcs_err of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_no_fcs_err + + @num_rx_no_fcs_err.setter + def num_rx_no_fcs_err(self, num_rx_no_fcs_err): + """Sets the num_rx_no_fcs_err of this RadioStatistics. + + The number of received frames without FCS errors. # noqa: E501 + + :param num_rx_no_fcs_err: The num_rx_no_fcs_err of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_no_fcs_err = num_rx_no_fcs_err + + @property + def num_rx_fcs_err(self): + """Gets the num_rx_fcs_err of this RadioStatistics. # noqa: E501 + + The number of received frames with FCS errors. # noqa: E501 + + :return: The num_rx_fcs_err of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_fcs_err + + @num_rx_fcs_err.setter + def num_rx_fcs_err(self, num_rx_fcs_err): + """Sets the num_rx_fcs_err of this RadioStatistics. + + The number of received frames with FCS errors. # noqa: E501 + + :param num_rx_fcs_err: The num_rx_fcs_err of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_fcs_err = num_rx_fcs_err + + @property + def num_rx_data(self): + """Gets the num_rx_data of this RadioStatistics. # noqa: E501 + + The number of received data frames. # noqa: E501 + + :return: The num_rx_data of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_data + + @num_rx_data.setter + def num_rx_data(self, num_rx_data): + """Sets the num_rx_data of this RadioStatistics. + + The number of received data frames. # noqa: E501 + + :param num_rx_data: The num_rx_data of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_data = num_rx_data + + @property + def num_rx_management(self): + """Gets the num_rx_management of this RadioStatistics. # noqa: E501 + + The number of received management frames. # noqa: E501 + + :return: The num_rx_management of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_management + + @num_rx_management.setter + def num_rx_management(self, num_rx_management): + """Sets the num_rx_management of this RadioStatistics. + + The number of received management frames. # noqa: E501 + + :param num_rx_management: The num_rx_management of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_management = num_rx_management + + @property + def num_rx_control(self): + """Gets the num_rx_control of this RadioStatistics. # noqa: E501 + + The number of received control frames. # noqa: E501 + + :return: The num_rx_control of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_control + + @num_rx_control.setter + def num_rx_control(self, num_rx_control): + """Sets the num_rx_control of this RadioStatistics. + + The number of received control frames. # noqa: E501 + + :param num_rx_control: The num_rx_control of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_control = num_rx_control + + @property + def rx_data_bytes(self): + """Gets the rx_data_bytes of this RadioStatistics. # noqa: E501 + + The number of received data frames. # noqa: E501 + + :return: The rx_data_bytes of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._rx_data_bytes + + @rx_data_bytes.setter + def rx_data_bytes(self, rx_data_bytes): + """Sets the rx_data_bytes of this RadioStatistics. + + The number of received data frames. # noqa: E501 + + :param rx_data_bytes: The rx_data_bytes of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._rx_data_bytes = rx_data_bytes + + @property + def num_rx_rts(self): + """Gets the num_rx_rts of this RadioStatistics. # noqa: E501 + + The number of received RTS frames. # noqa: E501 + + :return: The num_rx_rts of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_rts + + @num_rx_rts.setter + def num_rx_rts(self, num_rx_rts): + """Sets the num_rx_rts of this RadioStatistics. + + The number of received RTS frames. # noqa: E501 + + :param num_rx_rts: The num_rx_rts of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_rts = num_rx_rts + + @property + def num_rx_cts(self): + """Gets the num_rx_cts of this RadioStatistics. # noqa: E501 + + The number of received CTS frames. # noqa: E501 + + :return: The num_rx_cts of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_cts + + @num_rx_cts.setter + def num_rx_cts(self, num_rx_cts): + """Sets the num_rx_cts of this RadioStatistics. + + The number of received CTS frames. # noqa: E501 + + :param num_rx_cts: The num_rx_cts of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_cts = num_rx_cts + + @property + def num_rx_ack(self): + """Gets the num_rx_ack of this RadioStatistics. # noqa: E501 + + The number of all received ACK frames (Acks + BlockAcks). # noqa: E501 + + :return: The num_rx_ack of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ack + + @num_rx_ack.setter + def num_rx_ack(self, num_rx_ack): + """Sets the num_rx_ack of this RadioStatistics. + + The number of all received ACK frames (Acks + BlockAcks). # noqa: E501 + + :param num_rx_ack: The num_rx_ack of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ack = num_rx_ack + + @property + def num_rx_beacon(self): + """Gets the num_rx_beacon of this RadioStatistics. # noqa: E501 + + The number of received beacon frames. # noqa: E501 + + :return: The num_rx_beacon of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_beacon + + @num_rx_beacon.setter + def num_rx_beacon(self, num_rx_beacon): + """Sets the num_rx_beacon of this RadioStatistics. + + The number of received beacon frames. # noqa: E501 + + :param num_rx_beacon: The num_rx_beacon of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_beacon = num_rx_beacon + + @property + def num_rx_probe_req(self): + """Gets the num_rx_probe_req of this RadioStatistics. # noqa: E501 + + The number of received probe request frames. # noqa: E501 + + :return: The num_rx_probe_req of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_probe_req + + @num_rx_probe_req.setter + def num_rx_probe_req(self, num_rx_probe_req): + """Sets the num_rx_probe_req of this RadioStatistics. + + The number of received probe request frames. # noqa: E501 + + :param num_rx_probe_req: The num_rx_probe_req of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_probe_req = num_rx_probe_req + + @property + def num_rx_probe_resp(self): + """Gets the num_rx_probe_resp of this RadioStatistics. # noqa: E501 + + The number of received probe response frames. # noqa: E501 + + :return: The num_rx_probe_resp of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_probe_resp + + @num_rx_probe_resp.setter + def num_rx_probe_resp(self, num_rx_probe_resp): + """Sets the num_rx_probe_resp of this RadioStatistics. + + The number of received probe response frames. # noqa: E501 + + :param num_rx_probe_resp: The num_rx_probe_resp of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_probe_resp = num_rx_probe_resp + + @property + def num_rx_retry(self): + """Gets the num_rx_retry of this RadioStatistics. # noqa: E501 + + The number of received retry frames. # noqa: E501 + + :return: The num_rx_retry of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_retry + + @num_rx_retry.setter + def num_rx_retry(self, num_rx_retry): + """Sets the num_rx_retry of this RadioStatistics. + + The number of received retry frames. # noqa: E501 + + :param num_rx_retry: The num_rx_retry of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_retry = num_rx_retry + + @property + def num_rx_off_chan(self): + """Gets the num_rx_off_chan of this RadioStatistics. # noqa: E501 + + The number of frames received during off-channel scanning. # noqa: E501 + + :return: The num_rx_off_chan of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_off_chan + + @num_rx_off_chan.setter + def num_rx_off_chan(self, num_rx_off_chan): + """Sets the num_rx_off_chan of this RadioStatistics. + + The number of frames received during off-channel scanning. # noqa: E501 + + :param num_rx_off_chan: The num_rx_off_chan of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_off_chan = num_rx_off_chan + + @property + def num_rx_dup(self): + """Gets the num_rx_dup of this RadioStatistics. # noqa: E501 + + The number of received duplicated frames. # noqa: E501 + + :return: The num_rx_dup of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_dup + + @num_rx_dup.setter + def num_rx_dup(self, num_rx_dup): + """Sets the num_rx_dup of this RadioStatistics. + + The number of received duplicated frames. # noqa: E501 + + :param num_rx_dup: The num_rx_dup of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_dup = num_rx_dup + + @property + def num_rx_bc_mc(self): + """Gets the num_rx_bc_mc of this RadioStatistics. # noqa: E501 + + The number of received Broadcast/Multicast frames. # noqa: E501 + + :return: The num_rx_bc_mc of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_bc_mc + + @num_rx_bc_mc.setter + def num_rx_bc_mc(self, num_rx_bc_mc): + """Sets the num_rx_bc_mc of this RadioStatistics. + + The number of received Broadcast/Multicast frames. # noqa: E501 + + :param num_rx_bc_mc: The num_rx_bc_mc of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_bc_mc = num_rx_bc_mc + + @property + def num_rx_null_data(self): + """Gets the num_rx_null_data of this RadioStatistics. # noqa: E501 + + The number of received null data frames. # noqa: E501 + + :return: The num_rx_null_data of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_null_data + + @num_rx_null_data.setter + def num_rx_null_data(self, num_rx_null_data): + """Sets the num_rx_null_data of this RadioStatistics. + + The number of received null data frames. # noqa: E501 + + :param num_rx_null_data: The num_rx_null_data of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_null_data = num_rx_null_data + + @property + def num_rx_pspoll(self): + """Gets the num_rx_pspoll of this RadioStatistics. # noqa: E501 + + The number of received ps-poll frames # noqa: E501 + + :return: The num_rx_pspoll of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_pspoll + + @num_rx_pspoll.setter + def num_rx_pspoll(self, num_rx_pspoll): + """Sets the num_rx_pspoll of this RadioStatistics. + + The number of received ps-poll frames # noqa: E501 + + :param num_rx_pspoll: The num_rx_pspoll of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_pspoll = num_rx_pspoll + + @property + def num_rx_err(self): + """Gets the num_rx_err of this RadioStatistics. # noqa: E501 + + The number of received frames with errors. # noqa: E501 + + :return: The num_rx_err of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_err + + @num_rx_err.setter + def num_rx_err(self, num_rx_err): + """Sets the num_rx_err of this RadioStatistics. + + The number of received frames with errors. # noqa: E501 + + :param num_rx_err: The num_rx_err of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_err = num_rx_err + + @property + def num_rx_stbc(self): + """Gets the num_rx_stbc of this RadioStatistics. # noqa: E501 + + The number of received STBC frames. # noqa: E501 + + :return: The num_rx_stbc of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_stbc + + @num_rx_stbc.setter + def num_rx_stbc(self, num_rx_stbc): + """Sets the num_rx_stbc of this RadioStatistics. + + The number of received STBC frames. # noqa: E501 + + :param num_rx_stbc: The num_rx_stbc of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_stbc = num_rx_stbc + + @property + def num_rx_ldpc(self): + """Gets the num_rx_ldpc of this RadioStatistics. # noqa: E501 + + The number of received LDPC frames. # noqa: E501 + + :return: The num_rx_ldpc of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ldpc + + @num_rx_ldpc.setter + def num_rx_ldpc(self, num_rx_ldpc): + """Sets the num_rx_ldpc of this RadioStatistics. + + The number of received LDPC frames. # noqa: E501 + + :param num_rx_ldpc: The num_rx_ldpc of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ldpc = num_rx_ldpc + + @property + def num_rx_drop_runt(self): + """Gets the num_rx_drop_runt of this RadioStatistics. # noqa: E501 + + The number of dropped rx frames, runt. # noqa: E501 + + :return: The num_rx_drop_runt of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_drop_runt + + @num_rx_drop_runt.setter + def num_rx_drop_runt(self, num_rx_drop_runt): + """Sets the num_rx_drop_runt of this RadioStatistics. + + The number of dropped rx frames, runt. # noqa: E501 + + :param num_rx_drop_runt: The num_rx_drop_runt of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_drop_runt = num_rx_drop_runt + + @property + def num_rx_drop_invalid_src_mac(self): + """Gets the num_rx_drop_invalid_src_mac of this RadioStatistics. # noqa: E501 + + The number of dropped rx frames, invalid source MAC. # noqa: E501 + + :return: The num_rx_drop_invalid_src_mac of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_drop_invalid_src_mac + + @num_rx_drop_invalid_src_mac.setter + def num_rx_drop_invalid_src_mac(self, num_rx_drop_invalid_src_mac): + """Sets the num_rx_drop_invalid_src_mac of this RadioStatistics. + + The number of dropped rx frames, invalid source MAC. # noqa: E501 + + :param num_rx_drop_invalid_src_mac: The num_rx_drop_invalid_src_mac of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_drop_invalid_src_mac = num_rx_drop_invalid_src_mac + + @property + def num_rx_drop_amsdu_no_rcv(self): + """Gets the num_rx_drop_amsdu_no_rcv of this RadioStatistics. # noqa: E501 + + The number of dropped rx frames, AMSDU no receive. # noqa: E501 + + :return: The num_rx_drop_amsdu_no_rcv of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_drop_amsdu_no_rcv + + @num_rx_drop_amsdu_no_rcv.setter + def num_rx_drop_amsdu_no_rcv(self, num_rx_drop_amsdu_no_rcv): + """Sets the num_rx_drop_amsdu_no_rcv of this RadioStatistics. + + The number of dropped rx frames, AMSDU no receive. # noqa: E501 + + :param num_rx_drop_amsdu_no_rcv: The num_rx_drop_amsdu_no_rcv of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_drop_amsdu_no_rcv = num_rx_drop_amsdu_no_rcv + + @property + def num_rx_drop_eth_hdr_runt(self): + """Gets the num_rx_drop_eth_hdr_runt of this RadioStatistics. # noqa: E501 + + The number of dropped rx frames, Ethernet header runt. # noqa: E501 + + :return: The num_rx_drop_eth_hdr_runt of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_drop_eth_hdr_runt + + @num_rx_drop_eth_hdr_runt.setter + def num_rx_drop_eth_hdr_runt(self, num_rx_drop_eth_hdr_runt): + """Sets the num_rx_drop_eth_hdr_runt of this RadioStatistics. + + The number of dropped rx frames, Ethernet header runt. # noqa: E501 + + :param num_rx_drop_eth_hdr_runt: The num_rx_drop_eth_hdr_runt of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_drop_eth_hdr_runt = num_rx_drop_eth_hdr_runt + + @property + def num_rx_amsdu_deagg_seq(self): + """Gets the num_rx_amsdu_deagg_seq of this RadioStatistics. # noqa: E501 + + The number of dropped rx frames, AMSDU deagg sequence. # noqa: E501 + + :return: The num_rx_amsdu_deagg_seq of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_amsdu_deagg_seq + + @num_rx_amsdu_deagg_seq.setter + def num_rx_amsdu_deagg_seq(self, num_rx_amsdu_deagg_seq): + """Sets the num_rx_amsdu_deagg_seq of this RadioStatistics. + + The number of dropped rx frames, AMSDU deagg sequence. # noqa: E501 + + :param num_rx_amsdu_deagg_seq: The num_rx_amsdu_deagg_seq of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_amsdu_deagg_seq = num_rx_amsdu_deagg_seq + + @property + def num_rx_amsdu_deagg_itmd(self): + """Gets the num_rx_amsdu_deagg_itmd of this RadioStatistics. # noqa: E501 + + The number of dropped rx frames, AMSDU deagg intermediate. # noqa: E501 + + :return: The num_rx_amsdu_deagg_itmd of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_amsdu_deagg_itmd + + @num_rx_amsdu_deagg_itmd.setter + def num_rx_amsdu_deagg_itmd(self, num_rx_amsdu_deagg_itmd): + """Sets the num_rx_amsdu_deagg_itmd of this RadioStatistics. + + The number of dropped rx frames, AMSDU deagg intermediate. # noqa: E501 + + :param num_rx_amsdu_deagg_itmd: The num_rx_amsdu_deagg_itmd of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_amsdu_deagg_itmd = num_rx_amsdu_deagg_itmd + + @property + def num_rx_amsdu_deagg_last(self): + """Gets the num_rx_amsdu_deagg_last of this RadioStatistics. # noqa: E501 + + The number of dropped rx frames, AMSDU deagg last. # noqa: E501 + + :return: The num_rx_amsdu_deagg_last of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_amsdu_deagg_last + + @num_rx_amsdu_deagg_last.setter + def num_rx_amsdu_deagg_last(self, num_rx_amsdu_deagg_last): + """Sets the num_rx_amsdu_deagg_last of this RadioStatistics. + + The number of dropped rx frames, AMSDU deagg last. # noqa: E501 + + :param num_rx_amsdu_deagg_last: The num_rx_amsdu_deagg_last of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_amsdu_deagg_last = num_rx_amsdu_deagg_last + + @property + def num_rx_drop_no_fc_field(self): + """Gets the num_rx_drop_no_fc_field of this RadioStatistics. # noqa: E501 + + The number of dropped rx frames, no frame control field. # noqa: E501 + + :return: The num_rx_drop_no_fc_field of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_drop_no_fc_field + + @num_rx_drop_no_fc_field.setter + def num_rx_drop_no_fc_field(self, num_rx_drop_no_fc_field): + """Sets the num_rx_drop_no_fc_field of this RadioStatistics. + + The number of dropped rx frames, no frame control field. # noqa: E501 + + :param num_rx_drop_no_fc_field: The num_rx_drop_no_fc_field of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_drop_no_fc_field = num_rx_drop_no_fc_field + + @property + def num_rx_drop_bad_protocol(self): + """Gets the num_rx_drop_bad_protocol of this RadioStatistics. # noqa: E501 + + The number of dropped rx frames, bad protocol. # noqa: E501 + + :return: The num_rx_drop_bad_protocol of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_drop_bad_protocol + + @num_rx_drop_bad_protocol.setter + def num_rx_drop_bad_protocol(self, num_rx_drop_bad_protocol): + """Sets the num_rx_drop_bad_protocol of this RadioStatistics. + + The number of dropped rx frames, bad protocol. # noqa: E501 + + :param num_rx_drop_bad_protocol: The num_rx_drop_bad_protocol of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_drop_bad_protocol = num_rx_drop_bad_protocol + + @property + def num_rcv_frame_for_tx(self): + """Gets the num_rcv_frame_for_tx of this RadioStatistics. # noqa: E501 + + The number of received ethernet and local generated frames for transmit. # noqa: E501 + + :return: The num_rcv_frame_for_tx of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rcv_frame_for_tx + + @num_rcv_frame_for_tx.setter + def num_rcv_frame_for_tx(self, num_rcv_frame_for_tx): + """Sets the num_rcv_frame_for_tx of this RadioStatistics. + + The number of received ethernet and local generated frames for transmit. # noqa: E501 + + :param num_rcv_frame_for_tx: The num_rcv_frame_for_tx of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rcv_frame_for_tx = num_rcv_frame_for_tx + + @property + def num_tx_queued(self): + """Gets the num_tx_queued of this RadioStatistics. # noqa: E501 + + The number of TX frames queued. # noqa: E501 + + :return: The num_tx_queued of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_queued + + @num_tx_queued.setter + def num_tx_queued(self, num_tx_queued): + """Sets the num_tx_queued of this RadioStatistics. + + The number of TX frames queued. # noqa: E501 + + :param num_tx_queued: The num_tx_queued of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_queued = num_tx_queued + + @property + def num_rcv_bc_for_tx(self): + """Gets the num_rcv_bc_for_tx of this RadioStatistics. # noqa: E501 + + The number of received ethernet and local generated broadcast frames for transmit. # noqa: E501 + + :return: The num_rcv_bc_for_tx of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rcv_bc_for_tx + + @num_rcv_bc_for_tx.setter + def num_rcv_bc_for_tx(self, num_rcv_bc_for_tx): + """Sets the num_rcv_bc_for_tx of this RadioStatistics. + + The number of received ethernet and local generated broadcast frames for transmit. # noqa: E501 + + :param num_rcv_bc_for_tx: The num_rcv_bc_for_tx of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rcv_bc_for_tx = num_rcv_bc_for_tx + + @property + def num_tx_dropped(self): + """Gets the num_tx_dropped of this RadioStatistics. # noqa: E501 + + The number of every TX frame dropped. # noqa: E501 + + :return: The num_tx_dropped of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_dropped + + @num_tx_dropped.setter + def num_tx_dropped(self, num_tx_dropped): + """Sets the num_tx_dropped of this RadioStatistics. + + The number of every TX frame dropped. # noqa: E501 + + :param num_tx_dropped: The num_tx_dropped of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_dropped = num_tx_dropped + + @property + def num_tx_retry_dropped(self): + """Gets the num_tx_retry_dropped of this RadioStatistics. # noqa: E501 + + The number of TX frame dropped due to retries. # noqa: E501 + + :return: The num_tx_retry_dropped of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_retry_dropped + + @num_tx_retry_dropped.setter + def num_tx_retry_dropped(self, num_tx_retry_dropped): + """Sets the num_tx_retry_dropped of this RadioStatistics. + + The number of TX frame dropped due to retries. # noqa: E501 + + :param num_tx_retry_dropped: The num_tx_retry_dropped of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_retry_dropped = num_tx_retry_dropped + + @property + def num_tx_bc_dropped(self): + """Gets the num_tx_bc_dropped of this RadioStatistics. # noqa: E501 + + The number of broadcast frames dropped. # noqa: E501 + + :return: The num_tx_bc_dropped of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_bc_dropped + + @num_tx_bc_dropped.setter + def num_tx_bc_dropped(self, num_tx_bc_dropped): + """Sets the num_tx_bc_dropped of this RadioStatistics. + + The number of broadcast frames dropped. # noqa: E501 + + :param num_tx_bc_dropped: The num_tx_bc_dropped of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_bc_dropped = num_tx_bc_dropped + + @property + def num_tx_succ(self): + """Gets the num_tx_succ of this RadioStatistics. # noqa: E501 + + The number of frames successfully transmitted. # noqa: E501 + + :return: The num_tx_succ of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_succ + + @num_tx_succ.setter + def num_tx_succ(self, num_tx_succ): + """Sets the num_tx_succ of this RadioStatistics. + + The number of frames successfully transmitted. # noqa: E501 + + :param num_tx_succ: The num_tx_succ of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_succ = num_tx_succ + + @property + def num_tx_ps_unicast(self): + """Gets the num_tx_ps_unicast of this RadioStatistics. # noqa: E501 + + The number of transmitted PS unicast frame. # noqa: E501 + + :return: The num_tx_ps_unicast of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ps_unicast + + @num_tx_ps_unicast.setter + def num_tx_ps_unicast(self, num_tx_ps_unicast): + """Sets the num_tx_ps_unicast of this RadioStatistics. + + The number of transmitted PS unicast frame. # noqa: E501 + + :param num_tx_ps_unicast: The num_tx_ps_unicast of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ps_unicast = num_tx_ps_unicast + + @property + def num_tx_dtim_mc(self): + """Gets the num_tx_dtim_mc of this RadioStatistics. # noqa: E501 + + The number of transmitted DTIM multicast frames. # noqa: E501 + + :return: The num_tx_dtim_mc of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_dtim_mc + + @num_tx_dtim_mc.setter + def num_tx_dtim_mc(self, num_tx_dtim_mc): + """Sets the num_tx_dtim_mc of this RadioStatistics. + + The number of transmitted DTIM multicast frames. # noqa: E501 + + :param num_tx_dtim_mc: The num_tx_dtim_mc of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_dtim_mc = num_tx_dtim_mc + + @property + def num_tx_succ_no_retry(self): + """Gets the num_tx_succ_no_retry of this RadioStatistics. # noqa: E501 + + The number of successfully transmitted frames at firt attemp. # noqa: E501 + + :return: The num_tx_succ_no_retry of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_succ_no_retry + + @num_tx_succ_no_retry.setter + def num_tx_succ_no_retry(self, num_tx_succ_no_retry): + """Sets the num_tx_succ_no_retry of this RadioStatistics. + + The number of successfully transmitted frames at firt attemp. # noqa: E501 + + :param num_tx_succ_no_retry: The num_tx_succ_no_retry of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_succ_no_retry = num_tx_succ_no_retry + + @property + def num_tx_succ_retries(self): + """Gets the num_tx_succ_retries of this RadioStatistics. # noqa: E501 + + The number of successfully transmitted frames with retries. # noqa: E501 + + :return: The num_tx_succ_retries of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_succ_retries + + @num_tx_succ_retries.setter + def num_tx_succ_retries(self, num_tx_succ_retries): + """Sets the num_tx_succ_retries of this RadioStatistics. + + The number of successfully transmitted frames with retries. # noqa: E501 + + :param num_tx_succ_retries: The num_tx_succ_retries of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_succ_retries = num_tx_succ_retries + + @property + def num_tx_multi_retries(self): + """Gets the num_tx_multi_retries of this RadioStatistics. # noqa: E501 + + The number of Tx frames with retries. # noqa: E501 + + :return: The num_tx_multi_retries of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_multi_retries + + @num_tx_multi_retries.setter + def num_tx_multi_retries(self, num_tx_multi_retries): + """Sets the num_tx_multi_retries of this RadioStatistics. + + The number of Tx frames with retries. # noqa: E501 + + :param num_tx_multi_retries: The num_tx_multi_retries of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_multi_retries = num_tx_multi_retries + + @property + def num_tx_management(self): + """Gets the num_tx_management of this RadioStatistics. # noqa: E501 + + The number of TX management frames. # noqa: E501 + + :return: The num_tx_management of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_management + + @num_tx_management.setter + def num_tx_management(self, num_tx_management): + """Sets the num_tx_management of this RadioStatistics. + + The number of TX management frames. # noqa: E501 + + :param num_tx_management: The num_tx_management of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_management = num_tx_management + + @property + def num_tx_control(self): + """Gets the num_tx_control of this RadioStatistics. # noqa: E501 + + The number of Tx control frames. # noqa: E501 + + :return: The num_tx_control of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_control + + @num_tx_control.setter + def num_tx_control(self, num_tx_control): + """Sets the num_tx_control of this RadioStatistics. + + The number of Tx control frames. # noqa: E501 + + :param num_tx_control: The num_tx_control of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_control = num_tx_control + + @property + def num_tx_action(self): + """Gets the num_tx_action of this RadioStatistics. # noqa: E501 + + The number of Tx action frames. # noqa: E501 + + :return: The num_tx_action of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_action + + @num_tx_action.setter + def num_tx_action(self, num_tx_action): + """Sets the num_tx_action of this RadioStatistics. + + The number of Tx action frames. # noqa: E501 + + :param num_tx_action: The num_tx_action of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_action = num_tx_action + + @property + def num_tx_beacon_succ(self): + """Gets the num_tx_beacon_succ of this RadioStatistics. # noqa: E501 + + The number of successfully transmitted beacon. # noqa: E501 + + :return: The num_tx_beacon_succ of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_beacon_succ + + @num_tx_beacon_succ.setter + def num_tx_beacon_succ(self, num_tx_beacon_succ): + """Sets the num_tx_beacon_succ of this RadioStatistics. + + The number of successfully transmitted beacon. # noqa: E501 + + :param num_tx_beacon_succ: The num_tx_beacon_succ of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_beacon_succ = num_tx_beacon_succ + + @property + def num_tx_beacon_fail(self): + """Gets the num_tx_beacon_fail of this RadioStatistics. # noqa: E501 + + The number of unsuccessfully transmitted beacon. # noqa: E501 + + :return: The num_tx_beacon_fail of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_beacon_fail + + @num_tx_beacon_fail.setter + def num_tx_beacon_fail(self, num_tx_beacon_fail): + """Sets the num_tx_beacon_fail of this RadioStatistics. + + The number of unsuccessfully transmitted beacon. # noqa: E501 + + :param num_tx_beacon_fail: The num_tx_beacon_fail of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_beacon_fail = num_tx_beacon_fail + + @property + def num_tx_beacon_su_fail(self): + """Gets the num_tx_beacon_su_fail of this RadioStatistics. # noqa: E501 + + The number of successive beacon tx failure. # noqa: E501 + + :return: The num_tx_beacon_su_fail of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_beacon_su_fail + + @num_tx_beacon_su_fail.setter + def num_tx_beacon_su_fail(self, num_tx_beacon_su_fail): + """Sets the num_tx_beacon_su_fail of this RadioStatistics. + + The number of successive beacon tx failure. # noqa: E501 + + :param num_tx_beacon_su_fail: The num_tx_beacon_su_fail of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_beacon_su_fail = num_tx_beacon_su_fail + + @property + def num_tx_probe_resp(self): + """Gets the num_tx_probe_resp of this RadioStatistics. # noqa: E501 + + The number of TX probe response. # noqa: E501 + + :return: The num_tx_probe_resp of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_probe_resp + + @num_tx_probe_resp.setter + def num_tx_probe_resp(self, num_tx_probe_resp): + """Sets the num_tx_probe_resp of this RadioStatistics. + + The number of TX probe response. # noqa: E501 + + :param num_tx_probe_resp: The num_tx_probe_resp of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_probe_resp = num_tx_probe_resp + + @property + def num_tx_data(self): + """Gets the num_tx_data of this RadioStatistics. # noqa: E501 + + The number of Tx data frames. # noqa: E501 + + :return: The num_tx_data of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_data + + @num_tx_data.setter + def num_tx_data(self, num_tx_data): + """Sets the num_tx_data of this RadioStatistics. + + The number of Tx data frames. # noqa: E501 + + :param num_tx_data: The num_tx_data of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_data = num_tx_data + + @property + def num_tx_data_retries(self): + """Gets the num_tx_data_retries of this RadioStatistics. # noqa: E501 + + The number of Tx data frames with retries. # noqa: E501 + + :return: The num_tx_data_retries of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_data_retries + + @num_tx_data_retries.setter + def num_tx_data_retries(self, num_tx_data_retries): + """Sets the num_tx_data_retries of this RadioStatistics. + + The number of Tx data frames with retries. # noqa: E501 + + :param num_tx_data_retries: The num_tx_data_retries of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_data_retries = num_tx_data_retries + + @property + def num_tx_rts_succ(self): + """Gets the num_tx_rts_succ of this RadioStatistics. # noqa: E501 + + The number of RTS frames sent successfully . # noqa: E501 + + :return: The num_tx_rts_succ of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_rts_succ + + @num_tx_rts_succ.setter + def num_tx_rts_succ(self, num_tx_rts_succ): + """Sets the num_tx_rts_succ of this RadioStatistics. + + The number of RTS frames sent successfully . # noqa: E501 + + :param num_tx_rts_succ: The num_tx_rts_succ of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_rts_succ = num_tx_rts_succ + + @property + def num_tx_rts_fail(self): + """Gets the num_tx_rts_fail of this RadioStatistics. # noqa: E501 + + The number of RTS frames failed transmission. # noqa: E501 + + :return: The num_tx_rts_fail of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_rts_fail + + @num_tx_rts_fail.setter + def num_tx_rts_fail(self, num_tx_rts_fail): + """Sets the num_tx_rts_fail of this RadioStatistics. + + The number of RTS frames failed transmission. # noqa: E501 + + :param num_tx_rts_fail: The num_tx_rts_fail of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_rts_fail = num_tx_rts_fail + + @property + def num_tx_cts(self): + """Gets the num_tx_cts of this RadioStatistics. # noqa: E501 + + The number of CTS frames sent. # noqa: E501 + + :return: The num_tx_cts of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_cts + + @num_tx_cts.setter + def num_tx_cts(self, num_tx_cts): + """Sets the num_tx_cts of this RadioStatistics. + + The number of CTS frames sent. # noqa: E501 + + :param num_tx_cts: The num_tx_cts of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_cts = num_tx_cts + + @property + def num_tx_no_ack(self): + """Gets the num_tx_no_ack of this RadioStatistics. # noqa: E501 + + The number of TX frames failed because of not Acked. # noqa: E501 + + :return: The num_tx_no_ack of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_no_ack + + @num_tx_no_ack.setter + def num_tx_no_ack(self, num_tx_no_ack): + """Sets the num_tx_no_ack of this RadioStatistics. + + The number of TX frames failed because of not Acked. # noqa: E501 + + :param num_tx_no_ack: The num_tx_no_ack of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_no_ack = num_tx_no_ack + + @property + def num_tx_eapol(self): + """Gets the num_tx_eapol of this RadioStatistics. # noqa: E501 + + The number of EAPOL frames sent. # noqa: E501 + + :return: The num_tx_eapol of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_eapol + + @num_tx_eapol.setter + def num_tx_eapol(self, num_tx_eapol): + """Sets the num_tx_eapol of this RadioStatistics. + + The number of EAPOL frames sent. # noqa: E501 + + :param num_tx_eapol: The num_tx_eapol of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_eapol = num_tx_eapol + + @property + def num_tx_ldpc(self): + """Gets the num_tx_ldpc of this RadioStatistics. # noqa: E501 + + The number of total LDPC frames sent. # noqa: E501 + + :return: The num_tx_ldpc of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ldpc + + @num_tx_ldpc.setter + def num_tx_ldpc(self, num_tx_ldpc): + """Sets the num_tx_ldpc of this RadioStatistics. + + The number of total LDPC frames sent. # noqa: E501 + + :param num_tx_ldpc: The num_tx_ldpc of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ldpc = num_tx_ldpc + + @property + def num_tx_stbc(self): + """Gets the num_tx_stbc of this RadioStatistics. # noqa: E501 + + The number of total STBC frames sent. # noqa: E501 + + :return: The num_tx_stbc of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_stbc + + @num_tx_stbc.setter + def num_tx_stbc(self, num_tx_stbc): + """Sets the num_tx_stbc of this RadioStatistics. + + The number of total STBC frames sent. # noqa: E501 + + :param num_tx_stbc: The num_tx_stbc of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_stbc = num_tx_stbc + + @property + def num_tx_aggr_succ(self): + """Gets the num_tx_aggr_succ of this RadioStatistics. # noqa: E501 + + The number of aggregation frames sent successfully. # noqa: E501 + + :return: The num_tx_aggr_succ of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_aggr_succ + + @num_tx_aggr_succ.setter + def num_tx_aggr_succ(self, num_tx_aggr_succ): + """Sets the num_tx_aggr_succ of this RadioStatistics. + + The number of aggregation frames sent successfully. # noqa: E501 + + :param num_tx_aggr_succ: The num_tx_aggr_succ of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_aggr_succ = num_tx_aggr_succ + + @property + def num_tx_aggr_one_mpdu(self): + """Gets the num_tx_aggr_one_mpdu of this RadioStatistics. # noqa: E501 + + The number of aggregation frames sent using single MPDU. # noqa: E501 + + :return: The num_tx_aggr_one_mpdu of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_aggr_one_mpdu + + @num_tx_aggr_one_mpdu.setter + def num_tx_aggr_one_mpdu(self, num_tx_aggr_one_mpdu): + """Sets the num_tx_aggr_one_mpdu of this RadioStatistics. + + The number of aggregation frames sent using single MPDU. # noqa: E501 + + :param num_tx_aggr_one_mpdu: The num_tx_aggr_one_mpdu of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_aggr_one_mpdu = num_tx_aggr_one_mpdu + + @property + def num_tx_rate_limit_drop(self): + """Gets the num_tx_rate_limit_drop of this RadioStatistics. # noqa: E501 + + The number of Tx frames dropped because of rate limit and burst exceeded. # noqa: E501 + + :return: The num_tx_rate_limit_drop of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_rate_limit_drop + + @num_tx_rate_limit_drop.setter + def num_tx_rate_limit_drop(self, num_tx_rate_limit_drop): + """Sets the num_tx_rate_limit_drop of this RadioStatistics. + + The number of Tx frames dropped because of rate limit and burst exceeded. # noqa: E501 + + :param num_tx_rate_limit_drop: The num_tx_rate_limit_drop of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_rate_limit_drop = num_tx_rate_limit_drop + + @property + def num_tx_retry_attemps(self): + """Gets the num_tx_retry_attemps of this RadioStatistics. # noqa: E501 + + The number of retry tx attempts that have been made # noqa: E501 + + :return: The num_tx_retry_attemps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_retry_attemps + + @num_tx_retry_attemps.setter + def num_tx_retry_attemps(self, num_tx_retry_attemps): + """Sets the num_tx_retry_attemps of this RadioStatistics. + + The number of retry tx attempts that have been made # noqa: E501 + + :param num_tx_retry_attemps: The num_tx_retry_attemps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_retry_attemps = num_tx_retry_attemps + + @property + def num_tx_total_attemps(self): + """Gets the num_tx_total_attemps of this RadioStatistics. # noqa: E501 + + The total number of tx attempts # noqa: E501 + + :return: The num_tx_total_attemps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_total_attemps + + @num_tx_total_attemps.setter + def num_tx_total_attemps(self, num_tx_total_attemps): + """Sets the num_tx_total_attemps of this RadioStatistics. + + The total number of tx attempts # noqa: E501 + + :param num_tx_total_attemps: The num_tx_total_attemps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_total_attemps = num_tx_total_attemps + + @property + def num_tx_data_frames_12_mbps(self): + """Gets the num_tx_data_frames_12_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_data_frames_12_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_data_frames_12_mbps + + @num_tx_data_frames_12_mbps.setter + def num_tx_data_frames_12_mbps(self, num_tx_data_frames_12_mbps): + """Sets the num_tx_data_frames_12_mbps of this RadioStatistics. + + + :param num_tx_data_frames_12_mbps: The num_tx_data_frames_12_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_data_frames_12_mbps = num_tx_data_frames_12_mbps + + @property + def num_tx_data_frames_54_mbps(self): + """Gets the num_tx_data_frames_54_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_data_frames_54_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_data_frames_54_mbps + + @num_tx_data_frames_54_mbps.setter + def num_tx_data_frames_54_mbps(self, num_tx_data_frames_54_mbps): + """Sets the num_tx_data_frames_54_mbps of this RadioStatistics. + + + :param num_tx_data_frames_54_mbps: The num_tx_data_frames_54_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_data_frames_54_mbps = num_tx_data_frames_54_mbps + + @property + def num_tx_data_frames_108_mbps(self): + """Gets the num_tx_data_frames_108_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_data_frames_108_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_data_frames_108_mbps + + @num_tx_data_frames_108_mbps.setter + def num_tx_data_frames_108_mbps(self, num_tx_data_frames_108_mbps): + """Sets the num_tx_data_frames_108_mbps of this RadioStatistics. + + + :param num_tx_data_frames_108_mbps: The num_tx_data_frames_108_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_data_frames_108_mbps = num_tx_data_frames_108_mbps + + @property + def num_tx_data_frames_300_mbps(self): + """Gets the num_tx_data_frames_300_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_data_frames_300_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_data_frames_300_mbps + + @num_tx_data_frames_300_mbps.setter + def num_tx_data_frames_300_mbps(self, num_tx_data_frames_300_mbps): + """Sets the num_tx_data_frames_300_mbps of this RadioStatistics. + + + :param num_tx_data_frames_300_mbps: The num_tx_data_frames_300_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_data_frames_300_mbps = num_tx_data_frames_300_mbps + + @property + def num_tx_data_frames_450_mbps(self): + """Gets the num_tx_data_frames_450_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_data_frames_450_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_data_frames_450_mbps + + @num_tx_data_frames_450_mbps.setter + def num_tx_data_frames_450_mbps(self, num_tx_data_frames_450_mbps): + """Sets the num_tx_data_frames_450_mbps of this RadioStatistics. + + + :param num_tx_data_frames_450_mbps: The num_tx_data_frames_450_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_data_frames_450_mbps = num_tx_data_frames_450_mbps + + @property + def num_tx_data_frames_1300_mbps(self): + """Gets the num_tx_data_frames_1300_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_data_frames_1300_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_data_frames_1300_mbps + + @num_tx_data_frames_1300_mbps.setter + def num_tx_data_frames_1300_mbps(self, num_tx_data_frames_1300_mbps): + """Sets the num_tx_data_frames_1300_mbps of this RadioStatistics. + + + :param num_tx_data_frames_1300_mbps: The num_tx_data_frames_1300_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_data_frames_1300_mbps = num_tx_data_frames_1300_mbps + + @property + def num_tx_data_frames_1300_plus_mbps(self): + """Gets the num_tx_data_frames_1300_plus_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_data_frames_1300_plus_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_data_frames_1300_plus_mbps + + @num_tx_data_frames_1300_plus_mbps.setter + def num_tx_data_frames_1300_plus_mbps(self, num_tx_data_frames_1300_plus_mbps): + """Sets the num_tx_data_frames_1300_plus_mbps of this RadioStatistics. + + + :param num_tx_data_frames_1300_plus_mbps: The num_tx_data_frames_1300_plus_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_data_frames_1300_plus_mbps = num_tx_data_frames_1300_plus_mbps + + @property + def num_rx_data_frames_12_mbps(self): + """Gets the num_rx_data_frames_12_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_data_frames_12_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_data_frames_12_mbps + + @num_rx_data_frames_12_mbps.setter + def num_rx_data_frames_12_mbps(self, num_rx_data_frames_12_mbps): + """Sets the num_rx_data_frames_12_mbps of this RadioStatistics. + + + :param num_rx_data_frames_12_mbps: The num_rx_data_frames_12_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_data_frames_12_mbps = num_rx_data_frames_12_mbps + + @property + def num_rx_data_frames_54_mbps(self): + """Gets the num_rx_data_frames_54_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_data_frames_54_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_data_frames_54_mbps + + @num_rx_data_frames_54_mbps.setter + def num_rx_data_frames_54_mbps(self, num_rx_data_frames_54_mbps): + """Sets the num_rx_data_frames_54_mbps of this RadioStatistics. + + + :param num_rx_data_frames_54_mbps: The num_rx_data_frames_54_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_data_frames_54_mbps = num_rx_data_frames_54_mbps + + @property + def num_rx_data_frames_108_mbps(self): + """Gets the num_rx_data_frames_108_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_data_frames_108_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_data_frames_108_mbps + + @num_rx_data_frames_108_mbps.setter + def num_rx_data_frames_108_mbps(self, num_rx_data_frames_108_mbps): + """Sets the num_rx_data_frames_108_mbps of this RadioStatistics. + + + :param num_rx_data_frames_108_mbps: The num_rx_data_frames_108_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_data_frames_108_mbps = num_rx_data_frames_108_mbps + + @property + def num_rx_data_frames_300_mbps(self): + """Gets the num_rx_data_frames_300_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_data_frames_300_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_data_frames_300_mbps + + @num_rx_data_frames_300_mbps.setter + def num_rx_data_frames_300_mbps(self, num_rx_data_frames_300_mbps): + """Sets the num_rx_data_frames_300_mbps of this RadioStatistics. + + + :param num_rx_data_frames_300_mbps: The num_rx_data_frames_300_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_data_frames_300_mbps = num_rx_data_frames_300_mbps + + @property + def num_rx_data_frames_450_mbps(self): + """Gets the num_rx_data_frames_450_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_data_frames_450_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_data_frames_450_mbps + + @num_rx_data_frames_450_mbps.setter + def num_rx_data_frames_450_mbps(self, num_rx_data_frames_450_mbps): + """Sets the num_rx_data_frames_450_mbps of this RadioStatistics. + + + :param num_rx_data_frames_450_mbps: The num_rx_data_frames_450_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_data_frames_450_mbps = num_rx_data_frames_450_mbps + + @property + def num_rx_data_frames_1300_mbps(self): + """Gets the num_rx_data_frames_1300_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_data_frames_1300_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_data_frames_1300_mbps + + @num_rx_data_frames_1300_mbps.setter + def num_rx_data_frames_1300_mbps(self, num_rx_data_frames_1300_mbps): + """Sets the num_rx_data_frames_1300_mbps of this RadioStatistics. + + + :param num_rx_data_frames_1300_mbps: The num_rx_data_frames_1300_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_data_frames_1300_mbps = num_rx_data_frames_1300_mbps + + @property + def num_rx_data_frames_1300_plus_mbps(self): + """Gets the num_rx_data_frames_1300_plus_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_data_frames_1300_plus_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_data_frames_1300_plus_mbps + + @num_rx_data_frames_1300_plus_mbps.setter + def num_rx_data_frames_1300_plus_mbps(self, num_rx_data_frames_1300_plus_mbps): + """Sets the num_rx_data_frames_1300_plus_mbps of this RadioStatistics. + + + :param num_rx_data_frames_1300_plus_mbps: The num_rx_data_frames_1300_plus_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_data_frames_1300_plus_mbps = num_rx_data_frames_1300_plus_mbps + + @property + def num_tx_time_frames_transmitted(self): + """Gets the num_tx_time_frames_transmitted of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_time_frames_transmitted of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_time_frames_transmitted + + @num_tx_time_frames_transmitted.setter + def num_tx_time_frames_transmitted(self, num_tx_time_frames_transmitted): + """Sets the num_tx_time_frames_transmitted of this RadioStatistics. + + + :param num_tx_time_frames_transmitted: The num_tx_time_frames_transmitted of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_time_frames_transmitted = num_tx_time_frames_transmitted + + @property + def num_rx_time_to_me(self): + """Gets the num_rx_time_to_me of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_time_to_me of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_time_to_me + + @num_rx_time_to_me.setter + def num_rx_time_to_me(self, num_rx_time_to_me): + """Sets the num_rx_time_to_me of this RadioStatistics. + + + :param num_rx_time_to_me: The num_rx_time_to_me of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_time_to_me = num_rx_time_to_me + + @property + def num_channel_busy64s(self): + """Gets the num_channel_busy64s of this RadioStatistics. # noqa: E501 + + + :return: The num_channel_busy64s of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_channel_busy64s + + @num_channel_busy64s.setter + def num_channel_busy64s(self, num_channel_busy64s): + """Sets the num_channel_busy64s of this RadioStatistics. + + + :param num_channel_busy64s: The num_channel_busy64s of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_channel_busy64s = num_channel_busy64s + + @property + def num_tx_time_data(self): + """Gets the num_tx_time_data of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_time_data of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_time_data + + @num_tx_time_data.setter + def num_tx_time_data(self, num_tx_time_data): + """Sets the num_tx_time_data of this RadioStatistics. + + + :param num_tx_time_data: The num_tx_time_data of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_time_data = num_tx_time_data + + @property + def num_tx_time_bc_mc_data(self): + """Gets the num_tx_time_bc_mc_data of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_time_bc_mc_data of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_time_bc_mc_data + + @num_tx_time_bc_mc_data.setter + def num_tx_time_bc_mc_data(self, num_tx_time_bc_mc_data): + """Sets the num_tx_time_bc_mc_data of this RadioStatistics. + + + :param num_tx_time_bc_mc_data: The num_tx_time_bc_mc_data of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_time_bc_mc_data = num_tx_time_bc_mc_data + + @property + def num_rx_time_data(self): + """Gets the num_rx_time_data of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_time_data of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_time_data + + @num_rx_time_data.setter + def num_rx_time_data(self, num_rx_time_data): + """Sets the num_rx_time_data of this RadioStatistics. + + + :param num_rx_time_data: The num_rx_time_data of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_time_data = num_rx_time_data + + @property + def num_tx_frames_transmitted(self): + """Gets the num_tx_frames_transmitted of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_frames_transmitted of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_frames_transmitted + + @num_tx_frames_transmitted.setter + def num_tx_frames_transmitted(self, num_tx_frames_transmitted): + """Sets the num_tx_frames_transmitted of this RadioStatistics. + + + :param num_tx_frames_transmitted: The num_tx_frames_transmitted of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_frames_transmitted = num_tx_frames_transmitted + + @property + def num_tx_success_with_retry(self): + """Gets the num_tx_success_with_retry of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_success_with_retry of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_success_with_retry + + @num_tx_success_with_retry.setter + def num_tx_success_with_retry(self, num_tx_success_with_retry): + """Sets the num_tx_success_with_retry of this RadioStatistics. + + + :param num_tx_success_with_retry: The num_tx_success_with_retry of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_success_with_retry = num_tx_success_with_retry + + @property + def num_tx_multiple_retries(self): + """Gets the num_tx_multiple_retries of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_multiple_retries of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_multiple_retries + + @num_tx_multiple_retries.setter + def num_tx_multiple_retries(self, num_tx_multiple_retries): + """Sets the num_tx_multiple_retries of this RadioStatistics. + + + :param num_tx_multiple_retries: The num_tx_multiple_retries of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_multiple_retries = num_tx_multiple_retries + + @property + def num_tx_data_transmitted_retried(self): + """Gets the num_tx_data_transmitted_retried of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_data_transmitted_retried of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_data_transmitted_retried + + @num_tx_data_transmitted_retried.setter + def num_tx_data_transmitted_retried(self, num_tx_data_transmitted_retried): + """Sets the num_tx_data_transmitted_retried of this RadioStatistics. + + + :param num_tx_data_transmitted_retried: The num_tx_data_transmitted_retried of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_data_transmitted_retried = num_tx_data_transmitted_retried + + @property + def num_tx_data_transmitted(self): + """Gets the num_tx_data_transmitted of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_data_transmitted of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_data_transmitted + + @num_tx_data_transmitted.setter + def num_tx_data_transmitted(self, num_tx_data_transmitted): + """Sets the num_tx_data_transmitted of this RadioStatistics. + + + :param num_tx_data_transmitted: The num_tx_data_transmitted of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_data_transmitted = num_tx_data_transmitted + + @property + def num_tx_data_frames(self): + """Gets the num_tx_data_frames of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_data_frames of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_data_frames + + @num_tx_data_frames.setter + def num_tx_data_frames(self, num_tx_data_frames): + """Sets the num_tx_data_frames of this RadioStatistics. + + + :param num_tx_data_frames: The num_tx_data_frames of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_data_frames = num_tx_data_frames + + @property + def num_rx_frames_received(self): + """Gets the num_rx_frames_received of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_frames_received of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_frames_received + + @num_rx_frames_received.setter + def num_rx_frames_received(self, num_rx_frames_received): + """Sets the num_rx_frames_received of this RadioStatistics. + + + :param num_rx_frames_received: The num_rx_frames_received of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_frames_received = num_rx_frames_received + + @property + def num_rx_retry_frames(self): + """Gets the num_rx_retry_frames of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_retry_frames of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_retry_frames + + @num_rx_retry_frames.setter + def num_rx_retry_frames(self, num_rx_retry_frames): + """Sets the num_rx_retry_frames of this RadioStatistics. + + + :param num_rx_retry_frames: The num_rx_retry_frames of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_retry_frames = num_rx_retry_frames + + @property + def num_rx_data_frames_retried(self): + """Gets the num_rx_data_frames_retried of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_data_frames_retried of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_data_frames_retried + + @num_rx_data_frames_retried.setter + def num_rx_data_frames_retried(self, num_rx_data_frames_retried): + """Sets the num_rx_data_frames_retried of this RadioStatistics. + + + :param num_rx_data_frames_retried: The num_rx_data_frames_retried of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_data_frames_retried = num_rx_data_frames_retried + + @property + def num_rx_data_frames(self): + """Gets the num_rx_data_frames of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_data_frames of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_data_frames + + @num_rx_data_frames.setter + def num_rx_data_frames(self, num_rx_data_frames): + """Sets the num_rx_data_frames of this RadioStatistics. + + + :param num_rx_data_frames: The num_rx_data_frames of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_data_frames = num_rx_data_frames + + @property + def num_tx_1_mbps(self): + """Gets the num_tx_1_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_1_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_1_mbps + + @num_tx_1_mbps.setter + def num_tx_1_mbps(self, num_tx_1_mbps): + """Sets the num_tx_1_mbps of this RadioStatistics. + + + :param num_tx_1_mbps: The num_tx_1_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_1_mbps = num_tx_1_mbps + + @property + def num_tx_6_mbps(self): + """Gets the num_tx_6_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_6_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_6_mbps + + @num_tx_6_mbps.setter + def num_tx_6_mbps(self, num_tx_6_mbps): + """Sets the num_tx_6_mbps of this RadioStatistics. + + + :param num_tx_6_mbps: The num_tx_6_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_6_mbps = num_tx_6_mbps + + @property + def num_tx_9_mbps(self): + """Gets the num_tx_9_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_9_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_9_mbps + + @num_tx_9_mbps.setter + def num_tx_9_mbps(self, num_tx_9_mbps): + """Sets the num_tx_9_mbps of this RadioStatistics. + + + :param num_tx_9_mbps: The num_tx_9_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_9_mbps = num_tx_9_mbps + + @property + def num_tx_12_mbps(self): + """Gets the num_tx_12_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_12_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_12_mbps + + @num_tx_12_mbps.setter + def num_tx_12_mbps(self, num_tx_12_mbps): + """Sets the num_tx_12_mbps of this RadioStatistics. + + + :param num_tx_12_mbps: The num_tx_12_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_12_mbps = num_tx_12_mbps + + @property + def num_tx_18_mbps(self): + """Gets the num_tx_18_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_18_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_18_mbps + + @num_tx_18_mbps.setter + def num_tx_18_mbps(self, num_tx_18_mbps): + """Sets the num_tx_18_mbps of this RadioStatistics. + + + :param num_tx_18_mbps: The num_tx_18_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_18_mbps = num_tx_18_mbps + + @property + def num_tx_24_mbps(self): + """Gets the num_tx_24_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_24_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_24_mbps + + @num_tx_24_mbps.setter + def num_tx_24_mbps(self, num_tx_24_mbps): + """Sets the num_tx_24_mbps of this RadioStatistics. + + + :param num_tx_24_mbps: The num_tx_24_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_24_mbps = num_tx_24_mbps + + @property + def num_tx_36_mbps(self): + """Gets the num_tx_36_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_36_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_36_mbps + + @num_tx_36_mbps.setter + def num_tx_36_mbps(self, num_tx_36_mbps): + """Sets the num_tx_36_mbps of this RadioStatistics. + + + :param num_tx_36_mbps: The num_tx_36_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_36_mbps = num_tx_36_mbps + + @property + def num_tx_48_mbps(self): + """Gets the num_tx_48_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_48_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_48_mbps + + @num_tx_48_mbps.setter + def num_tx_48_mbps(self, num_tx_48_mbps): + """Sets the num_tx_48_mbps of this RadioStatistics. + + + :param num_tx_48_mbps: The num_tx_48_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_48_mbps = num_tx_48_mbps + + @property + def num_tx_54_mbps(self): + """Gets the num_tx_54_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_54_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_54_mbps + + @num_tx_54_mbps.setter + def num_tx_54_mbps(self, num_tx_54_mbps): + """Sets the num_tx_54_mbps of this RadioStatistics. + + + :param num_tx_54_mbps: The num_tx_54_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_54_mbps = num_tx_54_mbps + + @property + def num_rx_1_mbps(self): + """Gets the num_rx_1_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_1_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_1_mbps + + @num_rx_1_mbps.setter + def num_rx_1_mbps(self, num_rx_1_mbps): + """Sets the num_rx_1_mbps of this RadioStatistics. + + + :param num_rx_1_mbps: The num_rx_1_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_1_mbps = num_rx_1_mbps + + @property + def num_rx_6_mbps(self): + """Gets the num_rx_6_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_6_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_6_mbps + + @num_rx_6_mbps.setter + def num_rx_6_mbps(self, num_rx_6_mbps): + """Sets the num_rx_6_mbps of this RadioStatistics. + + + :param num_rx_6_mbps: The num_rx_6_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_6_mbps = num_rx_6_mbps + + @property + def num_rx_9_mbps(self): + """Gets the num_rx_9_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_9_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_9_mbps + + @num_rx_9_mbps.setter + def num_rx_9_mbps(self, num_rx_9_mbps): + """Sets the num_rx_9_mbps of this RadioStatistics. + + + :param num_rx_9_mbps: The num_rx_9_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_9_mbps = num_rx_9_mbps + + @property + def num_rx_12_mbps(self): + """Gets the num_rx_12_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_12_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_12_mbps + + @num_rx_12_mbps.setter + def num_rx_12_mbps(self, num_rx_12_mbps): + """Sets the num_rx_12_mbps of this RadioStatistics. + + + :param num_rx_12_mbps: The num_rx_12_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_12_mbps = num_rx_12_mbps + + @property + def num_rx_18_mbps(self): + """Gets the num_rx_18_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_18_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_18_mbps + + @num_rx_18_mbps.setter + def num_rx_18_mbps(self, num_rx_18_mbps): + """Sets the num_rx_18_mbps of this RadioStatistics. + + + :param num_rx_18_mbps: The num_rx_18_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_18_mbps = num_rx_18_mbps + + @property + def num_rx_24_mbps(self): + """Gets the num_rx_24_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_24_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_24_mbps + + @num_rx_24_mbps.setter + def num_rx_24_mbps(self, num_rx_24_mbps): + """Sets the num_rx_24_mbps of this RadioStatistics. + + + :param num_rx_24_mbps: The num_rx_24_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_24_mbps = num_rx_24_mbps + + @property + def num_rx_36_mbps(self): + """Gets the num_rx_36_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_36_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_36_mbps + + @num_rx_36_mbps.setter + def num_rx_36_mbps(self, num_rx_36_mbps): + """Sets the num_rx_36_mbps of this RadioStatistics. + + + :param num_rx_36_mbps: The num_rx_36_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_36_mbps = num_rx_36_mbps + + @property + def num_rx_48_mbps(self): + """Gets the num_rx_48_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_48_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_48_mbps + + @num_rx_48_mbps.setter + def num_rx_48_mbps(self, num_rx_48_mbps): + """Sets the num_rx_48_mbps of this RadioStatistics. + + + :param num_rx_48_mbps: The num_rx_48_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_48_mbps = num_rx_48_mbps + + @property + def num_rx_54_mbps(self): + """Gets the num_rx_54_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_54_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_54_mbps + + @num_rx_54_mbps.setter + def num_rx_54_mbps(self, num_rx_54_mbps): + """Sets the num_rx_54_mbps of this RadioStatistics. + + + :param num_rx_54_mbps: The num_rx_54_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_54_mbps = num_rx_54_mbps + + @property + def num_tx_ht_6_5_mbps(self): + """Gets the num_tx_ht_6_5_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_6_5_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_6_5_mbps + + @num_tx_ht_6_5_mbps.setter + def num_tx_ht_6_5_mbps(self, num_tx_ht_6_5_mbps): + """Sets the num_tx_ht_6_5_mbps of this RadioStatistics. + + + :param num_tx_ht_6_5_mbps: The num_tx_ht_6_5_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_6_5_mbps = num_tx_ht_6_5_mbps + + @property + def num_tx_ht_7_1_mbps(self): + """Gets the num_tx_ht_7_1_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_7_1_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_7_1_mbps + + @num_tx_ht_7_1_mbps.setter + def num_tx_ht_7_1_mbps(self, num_tx_ht_7_1_mbps): + """Sets the num_tx_ht_7_1_mbps of this RadioStatistics. + + + :param num_tx_ht_7_1_mbps: The num_tx_ht_7_1_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_7_1_mbps = num_tx_ht_7_1_mbps + + @property + def num_tx_ht_13_mbps(self): + """Gets the num_tx_ht_13_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_13_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_13_mbps + + @num_tx_ht_13_mbps.setter + def num_tx_ht_13_mbps(self, num_tx_ht_13_mbps): + """Sets the num_tx_ht_13_mbps of this RadioStatistics. + + + :param num_tx_ht_13_mbps: The num_tx_ht_13_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_13_mbps = num_tx_ht_13_mbps + + @property + def num_tx_ht_13_5_mbps(self): + """Gets the num_tx_ht_13_5_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_13_5_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_13_5_mbps + + @num_tx_ht_13_5_mbps.setter + def num_tx_ht_13_5_mbps(self, num_tx_ht_13_5_mbps): + """Sets the num_tx_ht_13_5_mbps of this RadioStatistics. + + + :param num_tx_ht_13_5_mbps: The num_tx_ht_13_5_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_13_5_mbps = num_tx_ht_13_5_mbps + + @property + def num_tx_ht_14_3_mbps(self): + """Gets the num_tx_ht_14_3_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_14_3_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_14_3_mbps + + @num_tx_ht_14_3_mbps.setter + def num_tx_ht_14_3_mbps(self, num_tx_ht_14_3_mbps): + """Sets the num_tx_ht_14_3_mbps of this RadioStatistics. + + + :param num_tx_ht_14_3_mbps: The num_tx_ht_14_3_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_14_3_mbps = num_tx_ht_14_3_mbps + + @property + def num_tx_ht_15_mbps(self): + """Gets the num_tx_ht_15_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_15_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_15_mbps + + @num_tx_ht_15_mbps.setter + def num_tx_ht_15_mbps(self, num_tx_ht_15_mbps): + """Sets the num_tx_ht_15_mbps of this RadioStatistics. + + + :param num_tx_ht_15_mbps: The num_tx_ht_15_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_15_mbps = num_tx_ht_15_mbps + + @property + def num_tx_ht_19_5_mbps(self): + """Gets the num_tx_ht_19_5_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_19_5_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_19_5_mbps + + @num_tx_ht_19_5_mbps.setter + def num_tx_ht_19_5_mbps(self, num_tx_ht_19_5_mbps): + """Sets the num_tx_ht_19_5_mbps of this RadioStatistics. + + + :param num_tx_ht_19_5_mbps: The num_tx_ht_19_5_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_19_5_mbps = num_tx_ht_19_5_mbps + + @property + def num_tx_ht_21_7_mbps(self): + """Gets the num_tx_ht_21_7_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_21_7_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_21_7_mbps + + @num_tx_ht_21_7_mbps.setter + def num_tx_ht_21_7_mbps(self, num_tx_ht_21_7_mbps): + """Sets the num_tx_ht_21_7_mbps of this RadioStatistics. + + + :param num_tx_ht_21_7_mbps: The num_tx_ht_21_7_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_21_7_mbps = num_tx_ht_21_7_mbps + + @property + def num_tx_ht_26_mbps(self): + """Gets the num_tx_ht_26_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_26_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_26_mbps + + @num_tx_ht_26_mbps.setter + def num_tx_ht_26_mbps(self, num_tx_ht_26_mbps): + """Sets the num_tx_ht_26_mbps of this RadioStatistics. + + + :param num_tx_ht_26_mbps: The num_tx_ht_26_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_26_mbps = num_tx_ht_26_mbps + + @property + def num_tx_ht_27_mbps(self): + """Gets the num_tx_ht_27_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_27_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_27_mbps + + @num_tx_ht_27_mbps.setter + def num_tx_ht_27_mbps(self, num_tx_ht_27_mbps): + """Sets the num_tx_ht_27_mbps of this RadioStatistics. + + + :param num_tx_ht_27_mbps: The num_tx_ht_27_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_27_mbps = num_tx_ht_27_mbps + + @property + def num_tx_ht_28_7_mbps(self): + """Gets the num_tx_ht_28_7_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_28_7_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_28_7_mbps + + @num_tx_ht_28_7_mbps.setter + def num_tx_ht_28_7_mbps(self, num_tx_ht_28_7_mbps): + """Sets the num_tx_ht_28_7_mbps of this RadioStatistics. + + + :param num_tx_ht_28_7_mbps: The num_tx_ht_28_7_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_28_7_mbps = num_tx_ht_28_7_mbps + + @property + def num_tx_ht_28_8_mbps(self): + """Gets the num_tx_ht_28_8_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_28_8_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_28_8_mbps + + @num_tx_ht_28_8_mbps.setter + def num_tx_ht_28_8_mbps(self, num_tx_ht_28_8_mbps): + """Sets the num_tx_ht_28_8_mbps of this RadioStatistics. + + + :param num_tx_ht_28_8_mbps: The num_tx_ht_28_8_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_28_8_mbps = num_tx_ht_28_8_mbps + + @property + def num_tx_ht_29_2_mbps(self): + """Gets the num_tx_ht_29_2_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_29_2_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_29_2_mbps + + @num_tx_ht_29_2_mbps.setter + def num_tx_ht_29_2_mbps(self, num_tx_ht_29_2_mbps): + """Sets the num_tx_ht_29_2_mbps of this RadioStatistics. + + + :param num_tx_ht_29_2_mbps: The num_tx_ht_29_2_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_29_2_mbps = num_tx_ht_29_2_mbps + + @property + def num_tx_ht_30_mbps(self): + """Gets the num_tx_ht_30_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_30_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_30_mbps + + @num_tx_ht_30_mbps.setter + def num_tx_ht_30_mbps(self, num_tx_ht_30_mbps): + """Sets the num_tx_ht_30_mbps of this RadioStatistics. + + + :param num_tx_ht_30_mbps: The num_tx_ht_30_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_30_mbps = num_tx_ht_30_mbps + + @property + def num_tx_ht_32_5_mbps(self): + """Gets the num_tx_ht_32_5_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_32_5_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_32_5_mbps + + @num_tx_ht_32_5_mbps.setter + def num_tx_ht_32_5_mbps(self, num_tx_ht_32_5_mbps): + """Sets the num_tx_ht_32_5_mbps of this RadioStatistics. + + + :param num_tx_ht_32_5_mbps: The num_tx_ht_32_5_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_32_5_mbps = num_tx_ht_32_5_mbps + + @property + def num_tx_ht_39_mbps(self): + """Gets the num_tx_ht_39_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_39_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_39_mbps + + @num_tx_ht_39_mbps.setter + def num_tx_ht_39_mbps(self, num_tx_ht_39_mbps): + """Sets the num_tx_ht_39_mbps of this RadioStatistics. + + + :param num_tx_ht_39_mbps: The num_tx_ht_39_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_39_mbps = num_tx_ht_39_mbps + + @property + def num_tx_ht_40_5_mbps(self): + """Gets the num_tx_ht_40_5_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_40_5_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_40_5_mbps + + @num_tx_ht_40_5_mbps.setter + def num_tx_ht_40_5_mbps(self, num_tx_ht_40_5_mbps): + """Sets the num_tx_ht_40_5_mbps of this RadioStatistics. + + + :param num_tx_ht_40_5_mbps: The num_tx_ht_40_5_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_40_5_mbps = num_tx_ht_40_5_mbps + + @property + def num_tx_ht_43_2_mbps(self): + """Gets the num_tx_ht_43_2_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_43_2_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_43_2_mbps + + @num_tx_ht_43_2_mbps.setter + def num_tx_ht_43_2_mbps(self, num_tx_ht_43_2_mbps): + """Sets the num_tx_ht_43_2_mbps of this RadioStatistics. + + + :param num_tx_ht_43_2_mbps: The num_tx_ht_43_2_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_43_2_mbps = num_tx_ht_43_2_mbps + + @property + def num_tx_ht_45_mbps(self): + """Gets the num_tx_ht_45_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_45_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_45_mbps + + @num_tx_ht_45_mbps.setter + def num_tx_ht_45_mbps(self, num_tx_ht_45_mbps): + """Sets the num_tx_ht_45_mbps of this RadioStatistics. + + + :param num_tx_ht_45_mbps: The num_tx_ht_45_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_45_mbps = num_tx_ht_45_mbps + + @property + def num_tx_ht_52_mbps(self): + """Gets the num_tx_ht_52_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_52_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_52_mbps + + @num_tx_ht_52_mbps.setter + def num_tx_ht_52_mbps(self, num_tx_ht_52_mbps): + """Sets the num_tx_ht_52_mbps of this RadioStatistics. + + + :param num_tx_ht_52_mbps: The num_tx_ht_52_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_52_mbps = num_tx_ht_52_mbps + + @property + def num_tx_ht_54_mbps(self): + """Gets the num_tx_ht_54_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_54_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_54_mbps + + @num_tx_ht_54_mbps.setter + def num_tx_ht_54_mbps(self, num_tx_ht_54_mbps): + """Sets the num_tx_ht_54_mbps of this RadioStatistics. + + + :param num_tx_ht_54_mbps: The num_tx_ht_54_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_54_mbps = num_tx_ht_54_mbps + + @property + def num_tx_ht_57_5_mbps(self): + """Gets the num_tx_ht_57_5_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_57_5_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_57_5_mbps + + @num_tx_ht_57_5_mbps.setter + def num_tx_ht_57_5_mbps(self, num_tx_ht_57_5_mbps): + """Sets the num_tx_ht_57_5_mbps of this RadioStatistics. + + + :param num_tx_ht_57_5_mbps: The num_tx_ht_57_5_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_57_5_mbps = num_tx_ht_57_5_mbps + + @property + def num_tx_ht_57_7_mbps(self): + """Gets the num_tx_ht_57_7_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_57_7_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_57_7_mbps + + @num_tx_ht_57_7_mbps.setter + def num_tx_ht_57_7_mbps(self, num_tx_ht_57_7_mbps): + """Sets the num_tx_ht_57_7_mbps of this RadioStatistics. + + + :param num_tx_ht_57_7_mbps: The num_tx_ht_57_7_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_57_7_mbps = num_tx_ht_57_7_mbps + + @property + def num_tx_ht_58_5_mbps(self): + """Gets the num_tx_ht_58_5_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_58_5_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_58_5_mbps + + @num_tx_ht_58_5_mbps.setter + def num_tx_ht_58_5_mbps(self, num_tx_ht_58_5_mbps): + """Sets the num_tx_ht_58_5_mbps of this RadioStatistics. + + + :param num_tx_ht_58_5_mbps: The num_tx_ht_58_5_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_58_5_mbps = num_tx_ht_58_5_mbps + + @property + def num_tx_ht_60_mbps(self): + """Gets the num_tx_ht_60_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_60_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_60_mbps + + @num_tx_ht_60_mbps.setter + def num_tx_ht_60_mbps(self, num_tx_ht_60_mbps): + """Sets the num_tx_ht_60_mbps of this RadioStatistics. + + + :param num_tx_ht_60_mbps: The num_tx_ht_60_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_60_mbps = num_tx_ht_60_mbps + + @property + def num_tx_ht_65_mbps(self): + """Gets the num_tx_ht_65_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_65_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_65_mbps + + @num_tx_ht_65_mbps.setter + def num_tx_ht_65_mbps(self, num_tx_ht_65_mbps): + """Sets the num_tx_ht_65_mbps of this RadioStatistics. + + + :param num_tx_ht_65_mbps: The num_tx_ht_65_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_65_mbps = num_tx_ht_65_mbps + + @property + def num_tx_ht_72_1_mbps(self): + """Gets the num_tx_ht_72_1_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_72_1_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_72_1_mbps + + @num_tx_ht_72_1_mbps.setter + def num_tx_ht_72_1_mbps(self, num_tx_ht_72_1_mbps): + """Sets the num_tx_ht_72_1_mbps of this RadioStatistics. + + + :param num_tx_ht_72_1_mbps: The num_tx_ht_72_1_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_72_1_mbps = num_tx_ht_72_1_mbps + + @property + def num_tx_ht_78_mbps(self): + """Gets the num_tx_ht_78_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_78_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_78_mbps + + @num_tx_ht_78_mbps.setter + def num_tx_ht_78_mbps(self, num_tx_ht_78_mbps): + """Sets the num_tx_ht_78_mbps of this RadioStatistics. + + + :param num_tx_ht_78_mbps: The num_tx_ht_78_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_78_mbps = num_tx_ht_78_mbps + + @property + def num_tx_ht_81_mbps(self): + """Gets the num_tx_ht_81_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_81_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_81_mbps + + @num_tx_ht_81_mbps.setter + def num_tx_ht_81_mbps(self, num_tx_ht_81_mbps): + """Sets the num_tx_ht_81_mbps of this RadioStatistics. + + + :param num_tx_ht_81_mbps: The num_tx_ht_81_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_81_mbps = num_tx_ht_81_mbps + + @property + def num_tx_ht_86_6_mbps(self): + """Gets the num_tx_ht_86_6_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_86_6_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_86_6_mbps + + @num_tx_ht_86_6_mbps.setter + def num_tx_ht_86_6_mbps(self, num_tx_ht_86_6_mbps): + """Sets the num_tx_ht_86_6_mbps of this RadioStatistics. + + + :param num_tx_ht_86_6_mbps: The num_tx_ht_86_6_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_86_6_mbps = num_tx_ht_86_6_mbps + + @property + def num_tx_ht_86_8_mbps(self): + """Gets the num_tx_ht_86_8_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_86_8_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_86_8_mbps + + @num_tx_ht_86_8_mbps.setter + def num_tx_ht_86_8_mbps(self, num_tx_ht_86_8_mbps): + """Sets the num_tx_ht_86_8_mbps of this RadioStatistics. + + + :param num_tx_ht_86_8_mbps: The num_tx_ht_86_8_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_86_8_mbps = num_tx_ht_86_8_mbps + + @property + def num_tx_ht_87_8_mbps(self): + """Gets the num_tx_ht_87_8_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_87_8_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_87_8_mbps + + @num_tx_ht_87_8_mbps.setter + def num_tx_ht_87_8_mbps(self, num_tx_ht_87_8_mbps): + """Sets the num_tx_ht_87_8_mbps of this RadioStatistics. + + + :param num_tx_ht_87_8_mbps: The num_tx_ht_87_8_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_87_8_mbps = num_tx_ht_87_8_mbps + + @property + def num_tx_ht_90_mbps(self): + """Gets the num_tx_ht_90_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_90_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_90_mbps + + @num_tx_ht_90_mbps.setter + def num_tx_ht_90_mbps(self, num_tx_ht_90_mbps): + """Sets the num_tx_ht_90_mbps of this RadioStatistics. + + + :param num_tx_ht_90_mbps: The num_tx_ht_90_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_90_mbps = num_tx_ht_90_mbps + + @property + def num_tx_ht_97_5_mbps(self): + """Gets the num_tx_ht_97_5_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_97_5_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_97_5_mbps + + @num_tx_ht_97_5_mbps.setter + def num_tx_ht_97_5_mbps(self, num_tx_ht_97_5_mbps): + """Sets the num_tx_ht_97_5_mbps of this RadioStatistics. + + + :param num_tx_ht_97_5_mbps: The num_tx_ht_97_5_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_97_5_mbps = num_tx_ht_97_5_mbps + + @property + def num_tx_ht_104_mbps(self): + """Gets the num_tx_ht_104_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_104_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_104_mbps + + @num_tx_ht_104_mbps.setter + def num_tx_ht_104_mbps(self, num_tx_ht_104_mbps): + """Sets the num_tx_ht_104_mbps of this RadioStatistics. + + + :param num_tx_ht_104_mbps: The num_tx_ht_104_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_104_mbps = num_tx_ht_104_mbps + + @property + def num_tx_ht_108_mbps(self): + """Gets the num_tx_ht_108_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_108_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_108_mbps + + @num_tx_ht_108_mbps.setter + def num_tx_ht_108_mbps(self, num_tx_ht_108_mbps): + """Sets the num_tx_ht_108_mbps of this RadioStatistics. + + + :param num_tx_ht_108_mbps: The num_tx_ht_108_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_108_mbps = num_tx_ht_108_mbps + + @property + def num_tx_ht_115_5_mbps(self): + """Gets the num_tx_ht_115_5_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_115_5_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_115_5_mbps + + @num_tx_ht_115_5_mbps.setter + def num_tx_ht_115_5_mbps(self, num_tx_ht_115_5_mbps): + """Sets the num_tx_ht_115_5_mbps of this RadioStatistics. + + + :param num_tx_ht_115_5_mbps: The num_tx_ht_115_5_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_115_5_mbps = num_tx_ht_115_5_mbps + + @property + def num_tx_ht_117_mbps(self): + """Gets the num_tx_ht_117_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_117_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_117_mbps + + @num_tx_ht_117_mbps.setter + def num_tx_ht_117_mbps(self, num_tx_ht_117_mbps): + """Sets the num_tx_ht_117_mbps of this RadioStatistics. + + + :param num_tx_ht_117_mbps: The num_tx_ht_117_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_117_mbps = num_tx_ht_117_mbps + + @property + def num_tx_ht_117_1_mbps(self): + """Gets the num_tx_ht_117_1_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_117_1_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_117_1_mbps + + @num_tx_ht_117_1_mbps.setter + def num_tx_ht_117_1_mbps(self, num_tx_ht_117_1_mbps): + """Sets the num_tx_ht_117_1_mbps of this RadioStatistics. + + + :param num_tx_ht_117_1_mbps: The num_tx_ht_117_1_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_117_1_mbps = num_tx_ht_117_1_mbps + + @property + def num_tx_ht_120_mbps(self): + """Gets the num_tx_ht_120_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_120_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_120_mbps + + @num_tx_ht_120_mbps.setter + def num_tx_ht_120_mbps(self, num_tx_ht_120_mbps): + """Sets the num_tx_ht_120_mbps of this RadioStatistics. + + + :param num_tx_ht_120_mbps: The num_tx_ht_120_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_120_mbps = num_tx_ht_120_mbps + + @property + def num_tx_ht_121_5_mbps(self): + """Gets the num_tx_ht_121_5_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_121_5_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_121_5_mbps + + @num_tx_ht_121_5_mbps.setter + def num_tx_ht_121_5_mbps(self, num_tx_ht_121_5_mbps): + """Sets the num_tx_ht_121_5_mbps of this RadioStatistics. + + + :param num_tx_ht_121_5_mbps: The num_tx_ht_121_5_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_121_5_mbps = num_tx_ht_121_5_mbps + + @property + def num_tx_ht_130_mbps(self): + """Gets the num_tx_ht_130_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_130_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_130_mbps + + @num_tx_ht_130_mbps.setter + def num_tx_ht_130_mbps(self, num_tx_ht_130_mbps): + """Sets the num_tx_ht_130_mbps of this RadioStatistics. + + + :param num_tx_ht_130_mbps: The num_tx_ht_130_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_130_mbps = num_tx_ht_130_mbps + + @property + def num_tx_ht_130_3_mbps(self): + """Gets the num_tx_ht_130_3_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_130_3_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_130_3_mbps + + @num_tx_ht_130_3_mbps.setter + def num_tx_ht_130_3_mbps(self, num_tx_ht_130_3_mbps): + """Sets the num_tx_ht_130_3_mbps of this RadioStatistics. + + + :param num_tx_ht_130_3_mbps: The num_tx_ht_130_3_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_130_3_mbps = num_tx_ht_130_3_mbps + + @property + def num_tx_ht_135_mbps(self): + """Gets the num_tx_ht_135_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_135_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_135_mbps + + @num_tx_ht_135_mbps.setter + def num_tx_ht_135_mbps(self, num_tx_ht_135_mbps): + """Sets the num_tx_ht_135_mbps of this RadioStatistics. + + + :param num_tx_ht_135_mbps: The num_tx_ht_135_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_135_mbps = num_tx_ht_135_mbps + + @property + def num_tx_ht_144_3_mbps(self): + """Gets the num_tx_ht_144_3_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_144_3_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_144_3_mbps + + @num_tx_ht_144_3_mbps.setter + def num_tx_ht_144_3_mbps(self, num_tx_ht_144_3_mbps): + """Sets the num_tx_ht_144_3_mbps of this RadioStatistics. + + + :param num_tx_ht_144_3_mbps: The num_tx_ht_144_3_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_144_3_mbps = num_tx_ht_144_3_mbps + + @property + def num_tx_ht_150_mbps(self): + """Gets the num_tx_ht_150_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_150_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_150_mbps + + @num_tx_ht_150_mbps.setter + def num_tx_ht_150_mbps(self, num_tx_ht_150_mbps): + """Sets the num_tx_ht_150_mbps of this RadioStatistics. + + + :param num_tx_ht_150_mbps: The num_tx_ht_150_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_150_mbps = num_tx_ht_150_mbps + + @property + def num_tx_ht_156_mbps(self): + """Gets the num_tx_ht_156_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_156_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_156_mbps + + @num_tx_ht_156_mbps.setter + def num_tx_ht_156_mbps(self, num_tx_ht_156_mbps): + """Sets the num_tx_ht_156_mbps of this RadioStatistics. + + + :param num_tx_ht_156_mbps: The num_tx_ht_156_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_156_mbps = num_tx_ht_156_mbps + + @property + def num_tx_ht_162_mbps(self): + """Gets the num_tx_ht_162_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_162_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_162_mbps + + @num_tx_ht_162_mbps.setter + def num_tx_ht_162_mbps(self, num_tx_ht_162_mbps): + """Sets the num_tx_ht_162_mbps of this RadioStatistics. + + + :param num_tx_ht_162_mbps: The num_tx_ht_162_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_162_mbps = num_tx_ht_162_mbps + + @property + def num_tx_ht_173_1_mbps(self): + """Gets the num_tx_ht_173_1_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_173_1_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_173_1_mbps + + @num_tx_ht_173_1_mbps.setter + def num_tx_ht_173_1_mbps(self, num_tx_ht_173_1_mbps): + """Sets the num_tx_ht_173_1_mbps of this RadioStatistics. + + + :param num_tx_ht_173_1_mbps: The num_tx_ht_173_1_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_173_1_mbps = num_tx_ht_173_1_mbps + + @property + def num_tx_ht_173_3_mbps(self): + """Gets the num_tx_ht_173_3_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_173_3_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_173_3_mbps + + @num_tx_ht_173_3_mbps.setter + def num_tx_ht_173_3_mbps(self, num_tx_ht_173_3_mbps): + """Sets the num_tx_ht_173_3_mbps of this RadioStatistics. + + + :param num_tx_ht_173_3_mbps: The num_tx_ht_173_3_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_173_3_mbps = num_tx_ht_173_3_mbps + + @property + def num_tx_ht_175_5_mbps(self): + """Gets the num_tx_ht_175_5_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_175_5_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_175_5_mbps + + @num_tx_ht_175_5_mbps.setter + def num_tx_ht_175_5_mbps(self, num_tx_ht_175_5_mbps): + """Sets the num_tx_ht_175_5_mbps of this RadioStatistics. + + + :param num_tx_ht_175_5_mbps: The num_tx_ht_175_5_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_175_5_mbps = num_tx_ht_175_5_mbps + + @property + def num_tx_ht_180_mbps(self): + """Gets the num_tx_ht_180_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_180_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_180_mbps + + @num_tx_ht_180_mbps.setter + def num_tx_ht_180_mbps(self, num_tx_ht_180_mbps): + """Sets the num_tx_ht_180_mbps of this RadioStatistics. + + + :param num_tx_ht_180_mbps: The num_tx_ht_180_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_180_mbps = num_tx_ht_180_mbps + + @property + def num_tx_ht_195_mbps(self): + """Gets the num_tx_ht_195_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_195_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_195_mbps + + @num_tx_ht_195_mbps.setter + def num_tx_ht_195_mbps(self, num_tx_ht_195_mbps): + """Sets the num_tx_ht_195_mbps of this RadioStatistics. + + + :param num_tx_ht_195_mbps: The num_tx_ht_195_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_195_mbps = num_tx_ht_195_mbps + + @property + def num_tx_ht_200_mbps(self): + """Gets the num_tx_ht_200_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_200_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_200_mbps + + @num_tx_ht_200_mbps.setter + def num_tx_ht_200_mbps(self, num_tx_ht_200_mbps): + """Sets the num_tx_ht_200_mbps of this RadioStatistics. + + + :param num_tx_ht_200_mbps: The num_tx_ht_200_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_200_mbps = num_tx_ht_200_mbps + + @property + def num_tx_ht_208_mbps(self): + """Gets the num_tx_ht_208_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_208_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_208_mbps + + @num_tx_ht_208_mbps.setter + def num_tx_ht_208_mbps(self, num_tx_ht_208_mbps): + """Sets the num_tx_ht_208_mbps of this RadioStatistics. + + + :param num_tx_ht_208_mbps: The num_tx_ht_208_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_208_mbps = num_tx_ht_208_mbps + + @property + def num_tx_ht_216_mbps(self): + """Gets the num_tx_ht_216_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_216_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_216_mbps + + @num_tx_ht_216_mbps.setter + def num_tx_ht_216_mbps(self, num_tx_ht_216_mbps): + """Sets the num_tx_ht_216_mbps of this RadioStatistics. + + + :param num_tx_ht_216_mbps: The num_tx_ht_216_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_216_mbps = num_tx_ht_216_mbps + + @property + def num_tx_ht_216_6_mbps(self): + """Gets the num_tx_ht_216_6_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_216_6_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_216_6_mbps + + @num_tx_ht_216_6_mbps.setter + def num_tx_ht_216_6_mbps(self, num_tx_ht_216_6_mbps): + """Sets the num_tx_ht_216_6_mbps of this RadioStatistics. + + + :param num_tx_ht_216_6_mbps: The num_tx_ht_216_6_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_216_6_mbps = num_tx_ht_216_6_mbps + + @property + def num_tx_ht_231_1_mbps(self): + """Gets the num_tx_ht_231_1_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_231_1_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_231_1_mbps + + @num_tx_ht_231_1_mbps.setter + def num_tx_ht_231_1_mbps(self, num_tx_ht_231_1_mbps): + """Sets the num_tx_ht_231_1_mbps of this RadioStatistics. + + + :param num_tx_ht_231_1_mbps: The num_tx_ht_231_1_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_231_1_mbps = num_tx_ht_231_1_mbps + + @property + def num_tx_ht_234_mbps(self): + """Gets the num_tx_ht_234_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_234_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_234_mbps + + @num_tx_ht_234_mbps.setter + def num_tx_ht_234_mbps(self, num_tx_ht_234_mbps): + """Sets the num_tx_ht_234_mbps of this RadioStatistics. + + + :param num_tx_ht_234_mbps: The num_tx_ht_234_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_234_mbps = num_tx_ht_234_mbps + + @property + def num_tx_ht_240_mbps(self): + """Gets the num_tx_ht_240_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_240_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_240_mbps + + @num_tx_ht_240_mbps.setter + def num_tx_ht_240_mbps(self, num_tx_ht_240_mbps): + """Sets the num_tx_ht_240_mbps of this RadioStatistics. + + + :param num_tx_ht_240_mbps: The num_tx_ht_240_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_240_mbps = num_tx_ht_240_mbps + + @property + def num_tx_ht_243_mbps(self): + """Gets the num_tx_ht_243_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_243_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_243_mbps + + @num_tx_ht_243_mbps.setter + def num_tx_ht_243_mbps(self, num_tx_ht_243_mbps): + """Sets the num_tx_ht_243_mbps of this RadioStatistics. + + + :param num_tx_ht_243_mbps: The num_tx_ht_243_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_243_mbps = num_tx_ht_243_mbps + + @property + def num_tx_ht_260_mbps(self): + """Gets the num_tx_ht_260_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_260_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_260_mbps + + @num_tx_ht_260_mbps.setter + def num_tx_ht_260_mbps(self, num_tx_ht_260_mbps): + """Sets the num_tx_ht_260_mbps of this RadioStatistics. + + + :param num_tx_ht_260_mbps: The num_tx_ht_260_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_260_mbps = num_tx_ht_260_mbps + + @property + def num_tx_ht_263_2_mbps(self): + """Gets the num_tx_ht_263_2_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_263_2_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_263_2_mbps + + @num_tx_ht_263_2_mbps.setter + def num_tx_ht_263_2_mbps(self, num_tx_ht_263_2_mbps): + """Sets the num_tx_ht_263_2_mbps of this RadioStatistics. + + + :param num_tx_ht_263_2_mbps: The num_tx_ht_263_2_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_263_2_mbps = num_tx_ht_263_2_mbps + + @property + def num_tx_ht_270_mbps(self): + """Gets the num_tx_ht_270_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_270_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_270_mbps + + @num_tx_ht_270_mbps.setter + def num_tx_ht_270_mbps(self, num_tx_ht_270_mbps): + """Sets the num_tx_ht_270_mbps of this RadioStatistics. + + + :param num_tx_ht_270_mbps: The num_tx_ht_270_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_270_mbps = num_tx_ht_270_mbps + + @property + def num_tx_ht_288_7_mbps(self): + """Gets the num_tx_ht_288_7_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_288_7_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_288_7_mbps + + @num_tx_ht_288_7_mbps.setter + def num_tx_ht_288_7_mbps(self, num_tx_ht_288_7_mbps): + """Sets the num_tx_ht_288_7_mbps of this RadioStatistics. + + + :param num_tx_ht_288_7_mbps: The num_tx_ht_288_7_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_288_7_mbps = num_tx_ht_288_7_mbps + + @property + def num_tx_ht_288_8_mbps(self): + """Gets the num_tx_ht_288_8_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_288_8_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_288_8_mbps + + @num_tx_ht_288_8_mbps.setter + def num_tx_ht_288_8_mbps(self, num_tx_ht_288_8_mbps): + """Sets the num_tx_ht_288_8_mbps of this RadioStatistics. + + + :param num_tx_ht_288_8_mbps: The num_tx_ht_288_8_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_288_8_mbps = num_tx_ht_288_8_mbps + + @property + def num_tx_ht_292_5_mbps(self): + """Gets the num_tx_ht_292_5_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_292_5_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_292_5_mbps + + @num_tx_ht_292_5_mbps.setter + def num_tx_ht_292_5_mbps(self, num_tx_ht_292_5_mbps): + """Sets the num_tx_ht_292_5_mbps of this RadioStatistics. + + + :param num_tx_ht_292_5_mbps: The num_tx_ht_292_5_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_292_5_mbps = num_tx_ht_292_5_mbps + + @property + def num_tx_ht_300_mbps(self): + """Gets the num_tx_ht_300_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_300_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_300_mbps + + @num_tx_ht_300_mbps.setter + def num_tx_ht_300_mbps(self, num_tx_ht_300_mbps): + """Sets the num_tx_ht_300_mbps of this RadioStatistics. + + + :param num_tx_ht_300_mbps: The num_tx_ht_300_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_300_mbps = num_tx_ht_300_mbps + + @property + def num_tx_ht_312_mbps(self): + """Gets the num_tx_ht_312_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_312_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_312_mbps + + @num_tx_ht_312_mbps.setter + def num_tx_ht_312_mbps(self, num_tx_ht_312_mbps): + """Sets the num_tx_ht_312_mbps of this RadioStatistics. + + + :param num_tx_ht_312_mbps: The num_tx_ht_312_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_312_mbps = num_tx_ht_312_mbps + + @property + def num_tx_ht_324_mbps(self): + """Gets the num_tx_ht_324_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_324_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_324_mbps + + @num_tx_ht_324_mbps.setter + def num_tx_ht_324_mbps(self, num_tx_ht_324_mbps): + """Sets the num_tx_ht_324_mbps of this RadioStatistics. + + + :param num_tx_ht_324_mbps: The num_tx_ht_324_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_324_mbps = num_tx_ht_324_mbps + + @property + def num_tx_ht_325_mbps(self): + """Gets the num_tx_ht_325_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_325_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_325_mbps + + @num_tx_ht_325_mbps.setter + def num_tx_ht_325_mbps(self, num_tx_ht_325_mbps): + """Sets the num_tx_ht_325_mbps of this RadioStatistics. + + + :param num_tx_ht_325_mbps: The num_tx_ht_325_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_325_mbps = num_tx_ht_325_mbps + + @property + def num_tx_ht_346_7_mbps(self): + """Gets the num_tx_ht_346_7_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_346_7_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_346_7_mbps + + @num_tx_ht_346_7_mbps.setter + def num_tx_ht_346_7_mbps(self, num_tx_ht_346_7_mbps): + """Sets the num_tx_ht_346_7_mbps of this RadioStatistics. + + + :param num_tx_ht_346_7_mbps: The num_tx_ht_346_7_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_346_7_mbps = num_tx_ht_346_7_mbps + + @property + def num_tx_ht_351_mbps(self): + """Gets the num_tx_ht_351_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_351_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_351_mbps + + @num_tx_ht_351_mbps.setter + def num_tx_ht_351_mbps(self, num_tx_ht_351_mbps): + """Sets the num_tx_ht_351_mbps of this RadioStatistics. + + + :param num_tx_ht_351_mbps: The num_tx_ht_351_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_351_mbps = num_tx_ht_351_mbps + + @property + def num_tx_ht_351_2_mbps(self): + """Gets the num_tx_ht_351_2_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_351_2_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_351_2_mbps + + @num_tx_ht_351_2_mbps.setter + def num_tx_ht_351_2_mbps(self, num_tx_ht_351_2_mbps): + """Sets the num_tx_ht_351_2_mbps of this RadioStatistics. + + + :param num_tx_ht_351_2_mbps: The num_tx_ht_351_2_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_351_2_mbps = num_tx_ht_351_2_mbps + + @property + def num_tx_ht_360_mbps(self): + """Gets the num_tx_ht_360_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_ht_360_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ht_360_mbps + + @num_tx_ht_360_mbps.setter + def num_tx_ht_360_mbps(self, num_tx_ht_360_mbps): + """Sets the num_tx_ht_360_mbps of this RadioStatistics. + + + :param num_tx_ht_360_mbps: The num_tx_ht_360_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ht_360_mbps = num_tx_ht_360_mbps + + @property + def num_rx_ht_6_5_mbps(self): + """Gets the num_rx_ht_6_5_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_6_5_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_6_5_mbps + + @num_rx_ht_6_5_mbps.setter + def num_rx_ht_6_5_mbps(self, num_rx_ht_6_5_mbps): + """Sets the num_rx_ht_6_5_mbps of this RadioStatistics. + + + :param num_rx_ht_6_5_mbps: The num_rx_ht_6_5_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_6_5_mbps = num_rx_ht_6_5_mbps + + @property + def num_rx_ht_7_1_mbps(self): + """Gets the num_rx_ht_7_1_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_7_1_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_7_1_mbps + + @num_rx_ht_7_1_mbps.setter + def num_rx_ht_7_1_mbps(self, num_rx_ht_7_1_mbps): + """Sets the num_rx_ht_7_1_mbps of this RadioStatistics. + + + :param num_rx_ht_7_1_mbps: The num_rx_ht_7_1_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_7_1_mbps = num_rx_ht_7_1_mbps + + @property + def num_rx_ht_13_mbps(self): + """Gets the num_rx_ht_13_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_13_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_13_mbps + + @num_rx_ht_13_mbps.setter + def num_rx_ht_13_mbps(self, num_rx_ht_13_mbps): + """Sets the num_rx_ht_13_mbps of this RadioStatistics. + + + :param num_rx_ht_13_mbps: The num_rx_ht_13_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_13_mbps = num_rx_ht_13_mbps + + @property + def num_rx_ht_13_5_mbps(self): + """Gets the num_rx_ht_13_5_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_13_5_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_13_5_mbps + + @num_rx_ht_13_5_mbps.setter + def num_rx_ht_13_5_mbps(self, num_rx_ht_13_5_mbps): + """Sets the num_rx_ht_13_5_mbps of this RadioStatistics. + + + :param num_rx_ht_13_5_mbps: The num_rx_ht_13_5_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_13_5_mbps = num_rx_ht_13_5_mbps + + @property + def num_rx_ht_14_3_mbps(self): + """Gets the num_rx_ht_14_3_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_14_3_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_14_3_mbps + + @num_rx_ht_14_3_mbps.setter + def num_rx_ht_14_3_mbps(self, num_rx_ht_14_3_mbps): + """Sets the num_rx_ht_14_3_mbps of this RadioStatistics. + + + :param num_rx_ht_14_3_mbps: The num_rx_ht_14_3_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_14_3_mbps = num_rx_ht_14_3_mbps + + @property + def num_rx_ht_15_mbps(self): + """Gets the num_rx_ht_15_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_15_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_15_mbps + + @num_rx_ht_15_mbps.setter + def num_rx_ht_15_mbps(self, num_rx_ht_15_mbps): + """Sets the num_rx_ht_15_mbps of this RadioStatistics. + + + :param num_rx_ht_15_mbps: The num_rx_ht_15_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_15_mbps = num_rx_ht_15_mbps + + @property + def num_rx_ht_19_5_mbps(self): + """Gets the num_rx_ht_19_5_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_19_5_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_19_5_mbps + + @num_rx_ht_19_5_mbps.setter + def num_rx_ht_19_5_mbps(self, num_rx_ht_19_5_mbps): + """Sets the num_rx_ht_19_5_mbps of this RadioStatistics. + + + :param num_rx_ht_19_5_mbps: The num_rx_ht_19_5_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_19_5_mbps = num_rx_ht_19_5_mbps + + @property + def num_rx_ht_21_7_mbps(self): + """Gets the num_rx_ht_21_7_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_21_7_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_21_7_mbps + + @num_rx_ht_21_7_mbps.setter + def num_rx_ht_21_7_mbps(self, num_rx_ht_21_7_mbps): + """Sets the num_rx_ht_21_7_mbps of this RadioStatistics. + + + :param num_rx_ht_21_7_mbps: The num_rx_ht_21_7_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_21_7_mbps = num_rx_ht_21_7_mbps + + @property + def num_rx_ht_26_mbps(self): + """Gets the num_rx_ht_26_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_26_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_26_mbps + + @num_rx_ht_26_mbps.setter + def num_rx_ht_26_mbps(self, num_rx_ht_26_mbps): + """Sets the num_rx_ht_26_mbps of this RadioStatistics. + + + :param num_rx_ht_26_mbps: The num_rx_ht_26_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_26_mbps = num_rx_ht_26_mbps + + @property + def num_rx_ht_27_mbps(self): + """Gets the num_rx_ht_27_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_27_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_27_mbps + + @num_rx_ht_27_mbps.setter + def num_rx_ht_27_mbps(self, num_rx_ht_27_mbps): + """Sets the num_rx_ht_27_mbps of this RadioStatistics. + + + :param num_rx_ht_27_mbps: The num_rx_ht_27_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_27_mbps = num_rx_ht_27_mbps + + @property + def num_rx_ht_28_7_mbps(self): + """Gets the num_rx_ht_28_7_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_28_7_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_28_7_mbps + + @num_rx_ht_28_7_mbps.setter + def num_rx_ht_28_7_mbps(self, num_rx_ht_28_7_mbps): + """Sets the num_rx_ht_28_7_mbps of this RadioStatistics. + + + :param num_rx_ht_28_7_mbps: The num_rx_ht_28_7_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_28_7_mbps = num_rx_ht_28_7_mbps + + @property + def num_rx_ht_28_8_mbps(self): + """Gets the num_rx_ht_28_8_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_28_8_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_28_8_mbps + + @num_rx_ht_28_8_mbps.setter + def num_rx_ht_28_8_mbps(self, num_rx_ht_28_8_mbps): + """Sets the num_rx_ht_28_8_mbps of this RadioStatistics. + + + :param num_rx_ht_28_8_mbps: The num_rx_ht_28_8_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_28_8_mbps = num_rx_ht_28_8_mbps + + @property + def num_rx_ht_29_2_mbps(self): + """Gets the num_rx_ht_29_2_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_29_2_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_29_2_mbps + + @num_rx_ht_29_2_mbps.setter + def num_rx_ht_29_2_mbps(self, num_rx_ht_29_2_mbps): + """Sets the num_rx_ht_29_2_mbps of this RadioStatistics. + + + :param num_rx_ht_29_2_mbps: The num_rx_ht_29_2_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_29_2_mbps = num_rx_ht_29_2_mbps + + @property + def num_rx_ht_30_mbps(self): + """Gets the num_rx_ht_30_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_30_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_30_mbps + + @num_rx_ht_30_mbps.setter + def num_rx_ht_30_mbps(self, num_rx_ht_30_mbps): + """Sets the num_rx_ht_30_mbps of this RadioStatistics. + + + :param num_rx_ht_30_mbps: The num_rx_ht_30_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_30_mbps = num_rx_ht_30_mbps + + @property + def num_rx_ht_32_5_mbps(self): + """Gets the num_rx_ht_32_5_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_32_5_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_32_5_mbps + + @num_rx_ht_32_5_mbps.setter + def num_rx_ht_32_5_mbps(self, num_rx_ht_32_5_mbps): + """Sets the num_rx_ht_32_5_mbps of this RadioStatistics. + + + :param num_rx_ht_32_5_mbps: The num_rx_ht_32_5_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_32_5_mbps = num_rx_ht_32_5_mbps + + @property + def num_rx_ht_39_mbps(self): + """Gets the num_rx_ht_39_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_39_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_39_mbps + + @num_rx_ht_39_mbps.setter + def num_rx_ht_39_mbps(self, num_rx_ht_39_mbps): + """Sets the num_rx_ht_39_mbps of this RadioStatistics. + + + :param num_rx_ht_39_mbps: The num_rx_ht_39_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_39_mbps = num_rx_ht_39_mbps + + @property + def num_rx_ht_40_5_mbps(self): + """Gets the num_rx_ht_40_5_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_40_5_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_40_5_mbps + + @num_rx_ht_40_5_mbps.setter + def num_rx_ht_40_5_mbps(self, num_rx_ht_40_5_mbps): + """Sets the num_rx_ht_40_5_mbps of this RadioStatistics. + + + :param num_rx_ht_40_5_mbps: The num_rx_ht_40_5_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_40_5_mbps = num_rx_ht_40_5_mbps + + @property + def num_rx_ht_43_2_mbps(self): + """Gets the num_rx_ht_43_2_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_43_2_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_43_2_mbps + + @num_rx_ht_43_2_mbps.setter + def num_rx_ht_43_2_mbps(self, num_rx_ht_43_2_mbps): + """Sets the num_rx_ht_43_2_mbps of this RadioStatistics. + + + :param num_rx_ht_43_2_mbps: The num_rx_ht_43_2_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_43_2_mbps = num_rx_ht_43_2_mbps + + @property + def num_rx_ht_45_mbps(self): + """Gets the num_rx_ht_45_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_45_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_45_mbps + + @num_rx_ht_45_mbps.setter + def num_rx_ht_45_mbps(self, num_rx_ht_45_mbps): + """Sets the num_rx_ht_45_mbps of this RadioStatistics. + + + :param num_rx_ht_45_mbps: The num_rx_ht_45_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_45_mbps = num_rx_ht_45_mbps + + @property + def num_rx_ht_52_mbps(self): + """Gets the num_rx_ht_52_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_52_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_52_mbps + + @num_rx_ht_52_mbps.setter + def num_rx_ht_52_mbps(self, num_rx_ht_52_mbps): + """Sets the num_rx_ht_52_mbps of this RadioStatistics. + + + :param num_rx_ht_52_mbps: The num_rx_ht_52_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_52_mbps = num_rx_ht_52_mbps + + @property + def num_rx_ht_54_mbps(self): + """Gets the num_rx_ht_54_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_54_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_54_mbps + + @num_rx_ht_54_mbps.setter + def num_rx_ht_54_mbps(self, num_rx_ht_54_mbps): + """Sets the num_rx_ht_54_mbps of this RadioStatistics. + + + :param num_rx_ht_54_mbps: The num_rx_ht_54_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_54_mbps = num_rx_ht_54_mbps + + @property + def num_rx_ht_57_5_mbps(self): + """Gets the num_rx_ht_57_5_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_57_5_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_57_5_mbps + + @num_rx_ht_57_5_mbps.setter + def num_rx_ht_57_5_mbps(self, num_rx_ht_57_5_mbps): + """Sets the num_rx_ht_57_5_mbps of this RadioStatistics. + + + :param num_rx_ht_57_5_mbps: The num_rx_ht_57_5_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_57_5_mbps = num_rx_ht_57_5_mbps + + @property + def num_rx_ht_57_7_mbps(self): + """Gets the num_rx_ht_57_7_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_57_7_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_57_7_mbps + + @num_rx_ht_57_7_mbps.setter + def num_rx_ht_57_7_mbps(self, num_rx_ht_57_7_mbps): + """Sets the num_rx_ht_57_7_mbps of this RadioStatistics. + + + :param num_rx_ht_57_7_mbps: The num_rx_ht_57_7_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_57_7_mbps = num_rx_ht_57_7_mbps + + @property + def num_rx_ht_58_5_mbps(self): + """Gets the num_rx_ht_58_5_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_58_5_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_58_5_mbps + + @num_rx_ht_58_5_mbps.setter + def num_rx_ht_58_5_mbps(self, num_rx_ht_58_5_mbps): + """Sets the num_rx_ht_58_5_mbps of this RadioStatistics. + + + :param num_rx_ht_58_5_mbps: The num_rx_ht_58_5_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_58_5_mbps = num_rx_ht_58_5_mbps + + @property + def num_rx_ht_60_mbps(self): + """Gets the num_rx_ht_60_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_60_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_60_mbps + + @num_rx_ht_60_mbps.setter + def num_rx_ht_60_mbps(self, num_rx_ht_60_mbps): + """Sets the num_rx_ht_60_mbps of this RadioStatistics. + + + :param num_rx_ht_60_mbps: The num_rx_ht_60_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_60_mbps = num_rx_ht_60_mbps + + @property + def num_rx_ht_65_mbps(self): + """Gets the num_rx_ht_65_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_65_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_65_mbps + + @num_rx_ht_65_mbps.setter + def num_rx_ht_65_mbps(self, num_rx_ht_65_mbps): + """Sets the num_rx_ht_65_mbps of this RadioStatistics. + + + :param num_rx_ht_65_mbps: The num_rx_ht_65_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_65_mbps = num_rx_ht_65_mbps + + @property + def num_rx_ht_72_1_mbps(self): + """Gets the num_rx_ht_72_1_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_72_1_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_72_1_mbps + + @num_rx_ht_72_1_mbps.setter + def num_rx_ht_72_1_mbps(self, num_rx_ht_72_1_mbps): + """Sets the num_rx_ht_72_1_mbps of this RadioStatistics. + + + :param num_rx_ht_72_1_mbps: The num_rx_ht_72_1_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_72_1_mbps = num_rx_ht_72_1_mbps + + @property + def num_rx_ht_78_mbps(self): + """Gets the num_rx_ht_78_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_78_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_78_mbps + + @num_rx_ht_78_mbps.setter + def num_rx_ht_78_mbps(self, num_rx_ht_78_mbps): + """Sets the num_rx_ht_78_mbps of this RadioStatistics. + + + :param num_rx_ht_78_mbps: The num_rx_ht_78_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_78_mbps = num_rx_ht_78_mbps + + @property + def num_rx_ht_81_mbps(self): + """Gets the num_rx_ht_81_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_81_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_81_mbps + + @num_rx_ht_81_mbps.setter + def num_rx_ht_81_mbps(self, num_rx_ht_81_mbps): + """Sets the num_rx_ht_81_mbps of this RadioStatistics. + + + :param num_rx_ht_81_mbps: The num_rx_ht_81_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_81_mbps = num_rx_ht_81_mbps + + @property + def num_rx_ht_86_6_mbps(self): + """Gets the num_rx_ht_86_6_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_86_6_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_86_6_mbps + + @num_rx_ht_86_6_mbps.setter + def num_rx_ht_86_6_mbps(self, num_rx_ht_86_6_mbps): + """Sets the num_rx_ht_86_6_mbps of this RadioStatistics. + + + :param num_rx_ht_86_6_mbps: The num_rx_ht_86_6_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_86_6_mbps = num_rx_ht_86_6_mbps + + @property + def num_rx_ht_86_8_mbps(self): + """Gets the num_rx_ht_86_8_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_86_8_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_86_8_mbps + + @num_rx_ht_86_8_mbps.setter + def num_rx_ht_86_8_mbps(self, num_rx_ht_86_8_mbps): + """Sets the num_rx_ht_86_8_mbps of this RadioStatistics. + + + :param num_rx_ht_86_8_mbps: The num_rx_ht_86_8_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_86_8_mbps = num_rx_ht_86_8_mbps + + @property + def num_rx_ht_87_8_mbps(self): + """Gets the num_rx_ht_87_8_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_87_8_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_87_8_mbps + + @num_rx_ht_87_8_mbps.setter + def num_rx_ht_87_8_mbps(self, num_rx_ht_87_8_mbps): + """Sets the num_rx_ht_87_8_mbps of this RadioStatistics. + + + :param num_rx_ht_87_8_mbps: The num_rx_ht_87_8_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_87_8_mbps = num_rx_ht_87_8_mbps + + @property + def num_rx_ht_90_mbps(self): + """Gets the num_rx_ht_90_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_90_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_90_mbps + + @num_rx_ht_90_mbps.setter + def num_rx_ht_90_mbps(self, num_rx_ht_90_mbps): + """Sets the num_rx_ht_90_mbps of this RadioStatistics. + + + :param num_rx_ht_90_mbps: The num_rx_ht_90_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_90_mbps = num_rx_ht_90_mbps + + @property + def num_rx_ht_97_5_mbps(self): + """Gets the num_rx_ht_97_5_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_97_5_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_97_5_mbps + + @num_rx_ht_97_5_mbps.setter + def num_rx_ht_97_5_mbps(self, num_rx_ht_97_5_mbps): + """Sets the num_rx_ht_97_5_mbps of this RadioStatistics. + + + :param num_rx_ht_97_5_mbps: The num_rx_ht_97_5_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_97_5_mbps = num_rx_ht_97_5_mbps + + @property + def num_rx_ht_104_mbps(self): + """Gets the num_rx_ht_104_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_104_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_104_mbps + + @num_rx_ht_104_mbps.setter + def num_rx_ht_104_mbps(self, num_rx_ht_104_mbps): + """Sets the num_rx_ht_104_mbps of this RadioStatistics. + + + :param num_rx_ht_104_mbps: The num_rx_ht_104_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_104_mbps = num_rx_ht_104_mbps + + @property + def num_rx_ht_108_mbps(self): + """Gets the num_rx_ht_108_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_108_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_108_mbps + + @num_rx_ht_108_mbps.setter + def num_rx_ht_108_mbps(self, num_rx_ht_108_mbps): + """Sets the num_rx_ht_108_mbps of this RadioStatistics. + + + :param num_rx_ht_108_mbps: The num_rx_ht_108_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_108_mbps = num_rx_ht_108_mbps + + @property + def num_rx_ht_115_5_mbps(self): + """Gets the num_rx_ht_115_5_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_115_5_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_115_5_mbps + + @num_rx_ht_115_5_mbps.setter + def num_rx_ht_115_5_mbps(self, num_rx_ht_115_5_mbps): + """Sets the num_rx_ht_115_5_mbps of this RadioStatistics. + + + :param num_rx_ht_115_5_mbps: The num_rx_ht_115_5_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_115_5_mbps = num_rx_ht_115_5_mbps + + @property + def num_rx_ht_117_mbps(self): + """Gets the num_rx_ht_117_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_117_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_117_mbps + + @num_rx_ht_117_mbps.setter + def num_rx_ht_117_mbps(self, num_rx_ht_117_mbps): + """Sets the num_rx_ht_117_mbps of this RadioStatistics. + + + :param num_rx_ht_117_mbps: The num_rx_ht_117_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_117_mbps = num_rx_ht_117_mbps + + @property + def num_rx_ht_117_1_mbps(self): + """Gets the num_rx_ht_117_1_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_117_1_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_117_1_mbps + + @num_rx_ht_117_1_mbps.setter + def num_rx_ht_117_1_mbps(self, num_rx_ht_117_1_mbps): + """Sets the num_rx_ht_117_1_mbps of this RadioStatistics. + + + :param num_rx_ht_117_1_mbps: The num_rx_ht_117_1_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_117_1_mbps = num_rx_ht_117_1_mbps + + @property + def num_rx_ht_120_mbps(self): + """Gets the num_rx_ht_120_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_120_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_120_mbps + + @num_rx_ht_120_mbps.setter + def num_rx_ht_120_mbps(self, num_rx_ht_120_mbps): + """Sets the num_rx_ht_120_mbps of this RadioStatistics. + + + :param num_rx_ht_120_mbps: The num_rx_ht_120_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_120_mbps = num_rx_ht_120_mbps + + @property + def num_rx_ht_121_5_mbps(self): + """Gets the num_rx_ht_121_5_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_121_5_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_121_5_mbps + + @num_rx_ht_121_5_mbps.setter + def num_rx_ht_121_5_mbps(self, num_rx_ht_121_5_mbps): + """Sets the num_rx_ht_121_5_mbps of this RadioStatistics. + + + :param num_rx_ht_121_5_mbps: The num_rx_ht_121_5_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_121_5_mbps = num_rx_ht_121_5_mbps + + @property + def num_rx_ht_130_mbps(self): + """Gets the num_rx_ht_130_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_130_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_130_mbps + + @num_rx_ht_130_mbps.setter + def num_rx_ht_130_mbps(self, num_rx_ht_130_mbps): + """Sets the num_rx_ht_130_mbps of this RadioStatistics. + + + :param num_rx_ht_130_mbps: The num_rx_ht_130_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_130_mbps = num_rx_ht_130_mbps + + @property + def num_rx_ht_130_3_mbps(self): + """Gets the num_rx_ht_130_3_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_130_3_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_130_3_mbps + + @num_rx_ht_130_3_mbps.setter + def num_rx_ht_130_3_mbps(self, num_rx_ht_130_3_mbps): + """Sets the num_rx_ht_130_3_mbps of this RadioStatistics. + + + :param num_rx_ht_130_3_mbps: The num_rx_ht_130_3_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_130_3_mbps = num_rx_ht_130_3_mbps + + @property + def num_rx_ht_135_mbps(self): + """Gets the num_rx_ht_135_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_135_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_135_mbps + + @num_rx_ht_135_mbps.setter + def num_rx_ht_135_mbps(self, num_rx_ht_135_mbps): + """Sets the num_rx_ht_135_mbps of this RadioStatistics. + + + :param num_rx_ht_135_mbps: The num_rx_ht_135_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_135_mbps = num_rx_ht_135_mbps + + @property + def num_rx_ht_144_3_mbps(self): + """Gets the num_rx_ht_144_3_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_144_3_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_144_3_mbps + + @num_rx_ht_144_3_mbps.setter + def num_rx_ht_144_3_mbps(self, num_rx_ht_144_3_mbps): + """Sets the num_rx_ht_144_3_mbps of this RadioStatistics. + + + :param num_rx_ht_144_3_mbps: The num_rx_ht_144_3_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_144_3_mbps = num_rx_ht_144_3_mbps + + @property + def num_rx_ht_150_mbps(self): + """Gets the num_rx_ht_150_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_150_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_150_mbps + + @num_rx_ht_150_mbps.setter + def num_rx_ht_150_mbps(self, num_rx_ht_150_mbps): + """Sets the num_rx_ht_150_mbps of this RadioStatistics. + + + :param num_rx_ht_150_mbps: The num_rx_ht_150_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_150_mbps = num_rx_ht_150_mbps + + @property + def num_rx_ht_156_mbps(self): + """Gets the num_rx_ht_156_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_156_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_156_mbps + + @num_rx_ht_156_mbps.setter + def num_rx_ht_156_mbps(self, num_rx_ht_156_mbps): + """Sets the num_rx_ht_156_mbps of this RadioStatistics. + + + :param num_rx_ht_156_mbps: The num_rx_ht_156_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_156_mbps = num_rx_ht_156_mbps + + @property + def num_rx_ht_162_mbps(self): + """Gets the num_rx_ht_162_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_162_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_162_mbps + + @num_rx_ht_162_mbps.setter + def num_rx_ht_162_mbps(self, num_rx_ht_162_mbps): + """Sets the num_rx_ht_162_mbps of this RadioStatistics. + + + :param num_rx_ht_162_mbps: The num_rx_ht_162_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_162_mbps = num_rx_ht_162_mbps + + @property + def num_rx_ht_173_1_mbps(self): + """Gets the num_rx_ht_173_1_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_173_1_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_173_1_mbps + + @num_rx_ht_173_1_mbps.setter + def num_rx_ht_173_1_mbps(self, num_rx_ht_173_1_mbps): + """Sets the num_rx_ht_173_1_mbps of this RadioStatistics. + + + :param num_rx_ht_173_1_mbps: The num_rx_ht_173_1_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_173_1_mbps = num_rx_ht_173_1_mbps + + @property + def num_rx_ht_173_3_mbps(self): + """Gets the num_rx_ht_173_3_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_173_3_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_173_3_mbps + + @num_rx_ht_173_3_mbps.setter + def num_rx_ht_173_3_mbps(self, num_rx_ht_173_3_mbps): + """Sets the num_rx_ht_173_3_mbps of this RadioStatistics. + + + :param num_rx_ht_173_3_mbps: The num_rx_ht_173_3_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_173_3_mbps = num_rx_ht_173_3_mbps + + @property + def num_rx_ht_175_5_mbps(self): + """Gets the num_rx_ht_175_5_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_175_5_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_175_5_mbps + + @num_rx_ht_175_5_mbps.setter + def num_rx_ht_175_5_mbps(self, num_rx_ht_175_5_mbps): + """Sets the num_rx_ht_175_5_mbps of this RadioStatistics. + + + :param num_rx_ht_175_5_mbps: The num_rx_ht_175_5_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_175_5_mbps = num_rx_ht_175_5_mbps + + @property + def num_rx_ht_180_mbps(self): + """Gets the num_rx_ht_180_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_180_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_180_mbps + + @num_rx_ht_180_mbps.setter + def num_rx_ht_180_mbps(self, num_rx_ht_180_mbps): + """Sets the num_rx_ht_180_mbps of this RadioStatistics. + + + :param num_rx_ht_180_mbps: The num_rx_ht_180_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_180_mbps = num_rx_ht_180_mbps + + @property + def num_rx_ht_195_mbps(self): + """Gets the num_rx_ht_195_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_195_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_195_mbps + + @num_rx_ht_195_mbps.setter + def num_rx_ht_195_mbps(self, num_rx_ht_195_mbps): + """Sets the num_rx_ht_195_mbps of this RadioStatistics. + + + :param num_rx_ht_195_mbps: The num_rx_ht_195_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_195_mbps = num_rx_ht_195_mbps + + @property + def num_rx_ht_200_mbps(self): + """Gets the num_rx_ht_200_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_200_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_200_mbps + + @num_rx_ht_200_mbps.setter + def num_rx_ht_200_mbps(self, num_rx_ht_200_mbps): + """Sets the num_rx_ht_200_mbps of this RadioStatistics. + + + :param num_rx_ht_200_mbps: The num_rx_ht_200_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_200_mbps = num_rx_ht_200_mbps + + @property + def num_rx_ht_208_mbps(self): + """Gets the num_rx_ht_208_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_208_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_208_mbps + + @num_rx_ht_208_mbps.setter + def num_rx_ht_208_mbps(self, num_rx_ht_208_mbps): + """Sets the num_rx_ht_208_mbps of this RadioStatistics. + + + :param num_rx_ht_208_mbps: The num_rx_ht_208_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_208_mbps = num_rx_ht_208_mbps + + @property + def num_rx_ht_216_mbps(self): + """Gets the num_rx_ht_216_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_216_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_216_mbps + + @num_rx_ht_216_mbps.setter + def num_rx_ht_216_mbps(self, num_rx_ht_216_mbps): + """Sets the num_rx_ht_216_mbps of this RadioStatistics. + + + :param num_rx_ht_216_mbps: The num_rx_ht_216_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_216_mbps = num_rx_ht_216_mbps + + @property + def num_rx_ht_216_6_mbps(self): + """Gets the num_rx_ht_216_6_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_216_6_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_216_6_mbps + + @num_rx_ht_216_6_mbps.setter + def num_rx_ht_216_6_mbps(self, num_rx_ht_216_6_mbps): + """Sets the num_rx_ht_216_6_mbps of this RadioStatistics. + + + :param num_rx_ht_216_6_mbps: The num_rx_ht_216_6_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_216_6_mbps = num_rx_ht_216_6_mbps + + @property + def num_rx_ht_231_1_mbps(self): + """Gets the num_rx_ht_231_1_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_231_1_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_231_1_mbps + + @num_rx_ht_231_1_mbps.setter + def num_rx_ht_231_1_mbps(self, num_rx_ht_231_1_mbps): + """Sets the num_rx_ht_231_1_mbps of this RadioStatistics. + + + :param num_rx_ht_231_1_mbps: The num_rx_ht_231_1_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_231_1_mbps = num_rx_ht_231_1_mbps + + @property + def num_rx_ht_234_mbps(self): + """Gets the num_rx_ht_234_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_234_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_234_mbps + + @num_rx_ht_234_mbps.setter + def num_rx_ht_234_mbps(self, num_rx_ht_234_mbps): + """Sets the num_rx_ht_234_mbps of this RadioStatistics. + + + :param num_rx_ht_234_mbps: The num_rx_ht_234_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_234_mbps = num_rx_ht_234_mbps + + @property + def num_rx_ht_240_mbps(self): + """Gets the num_rx_ht_240_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_240_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_240_mbps + + @num_rx_ht_240_mbps.setter + def num_rx_ht_240_mbps(self, num_rx_ht_240_mbps): + """Sets the num_rx_ht_240_mbps of this RadioStatistics. + + + :param num_rx_ht_240_mbps: The num_rx_ht_240_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_240_mbps = num_rx_ht_240_mbps + + @property + def num_rx_ht_243_mbps(self): + """Gets the num_rx_ht_243_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_243_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_243_mbps + + @num_rx_ht_243_mbps.setter + def num_rx_ht_243_mbps(self, num_rx_ht_243_mbps): + """Sets the num_rx_ht_243_mbps of this RadioStatistics. + + + :param num_rx_ht_243_mbps: The num_rx_ht_243_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_243_mbps = num_rx_ht_243_mbps + + @property + def num_rx_ht_260_mbps(self): + """Gets the num_rx_ht_260_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_260_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_260_mbps + + @num_rx_ht_260_mbps.setter + def num_rx_ht_260_mbps(self, num_rx_ht_260_mbps): + """Sets the num_rx_ht_260_mbps of this RadioStatistics. + + + :param num_rx_ht_260_mbps: The num_rx_ht_260_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_260_mbps = num_rx_ht_260_mbps + + @property + def num_rx_ht_263_2_mbps(self): + """Gets the num_rx_ht_263_2_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_263_2_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_263_2_mbps + + @num_rx_ht_263_2_mbps.setter + def num_rx_ht_263_2_mbps(self, num_rx_ht_263_2_mbps): + """Sets the num_rx_ht_263_2_mbps of this RadioStatistics. + + + :param num_rx_ht_263_2_mbps: The num_rx_ht_263_2_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_263_2_mbps = num_rx_ht_263_2_mbps + + @property + def num_rx_ht_270_mbps(self): + """Gets the num_rx_ht_270_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_270_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_270_mbps + + @num_rx_ht_270_mbps.setter + def num_rx_ht_270_mbps(self, num_rx_ht_270_mbps): + """Sets the num_rx_ht_270_mbps of this RadioStatistics. + + + :param num_rx_ht_270_mbps: The num_rx_ht_270_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_270_mbps = num_rx_ht_270_mbps + + @property + def num_rx_ht_288_7_mbps(self): + """Gets the num_rx_ht_288_7_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_288_7_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_288_7_mbps + + @num_rx_ht_288_7_mbps.setter + def num_rx_ht_288_7_mbps(self, num_rx_ht_288_7_mbps): + """Sets the num_rx_ht_288_7_mbps of this RadioStatistics. + + + :param num_rx_ht_288_7_mbps: The num_rx_ht_288_7_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_288_7_mbps = num_rx_ht_288_7_mbps + + @property + def num_rx_ht_288_8_mbps(self): + """Gets the num_rx_ht_288_8_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_288_8_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_288_8_mbps + + @num_rx_ht_288_8_mbps.setter + def num_rx_ht_288_8_mbps(self, num_rx_ht_288_8_mbps): + """Sets the num_rx_ht_288_8_mbps of this RadioStatistics. + + + :param num_rx_ht_288_8_mbps: The num_rx_ht_288_8_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_288_8_mbps = num_rx_ht_288_8_mbps + + @property + def num_rx_ht_292_5_mbps(self): + """Gets the num_rx_ht_292_5_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_292_5_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_292_5_mbps + + @num_rx_ht_292_5_mbps.setter + def num_rx_ht_292_5_mbps(self, num_rx_ht_292_5_mbps): + """Sets the num_rx_ht_292_5_mbps of this RadioStatistics. + + + :param num_rx_ht_292_5_mbps: The num_rx_ht_292_5_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_292_5_mbps = num_rx_ht_292_5_mbps + + @property + def num_rx_ht_300_mbps(self): + """Gets the num_rx_ht_300_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_300_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_300_mbps + + @num_rx_ht_300_mbps.setter + def num_rx_ht_300_mbps(self, num_rx_ht_300_mbps): + """Sets the num_rx_ht_300_mbps of this RadioStatistics. + + + :param num_rx_ht_300_mbps: The num_rx_ht_300_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_300_mbps = num_rx_ht_300_mbps + + @property + def num_rx_ht_312_mbps(self): + """Gets the num_rx_ht_312_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_312_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_312_mbps + + @num_rx_ht_312_mbps.setter + def num_rx_ht_312_mbps(self, num_rx_ht_312_mbps): + """Sets the num_rx_ht_312_mbps of this RadioStatistics. + + + :param num_rx_ht_312_mbps: The num_rx_ht_312_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_312_mbps = num_rx_ht_312_mbps + + @property + def num_rx_ht_324_mbps(self): + """Gets the num_rx_ht_324_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_324_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_324_mbps + + @num_rx_ht_324_mbps.setter + def num_rx_ht_324_mbps(self, num_rx_ht_324_mbps): + """Sets the num_rx_ht_324_mbps of this RadioStatistics. + + + :param num_rx_ht_324_mbps: The num_rx_ht_324_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_324_mbps = num_rx_ht_324_mbps + + @property + def num_rx_ht_325_mbps(self): + """Gets the num_rx_ht_325_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_325_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_325_mbps + + @num_rx_ht_325_mbps.setter + def num_rx_ht_325_mbps(self, num_rx_ht_325_mbps): + """Sets the num_rx_ht_325_mbps of this RadioStatistics. + + + :param num_rx_ht_325_mbps: The num_rx_ht_325_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_325_mbps = num_rx_ht_325_mbps + + @property + def num_rx_ht_346_7_mbps(self): + """Gets the num_rx_ht_346_7_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_346_7_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_346_7_mbps + + @num_rx_ht_346_7_mbps.setter + def num_rx_ht_346_7_mbps(self, num_rx_ht_346_7_mbps): + """Sets the num_rx_ht_346_7_mbps of this RadioStatistics. + + + :param num_rx_ht_346_7_mbps: The num_rx_ht_346_7_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_346_7_mbps = num_rx_ht_346_7_mbps + + @property + def num_rx_ht_351_mbps(self): + """Gets the num_rx_ht_351_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_351_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_351_mbps + + @num_rx_ht_351_mbps.setter + def num_rx_ht_351_mbps(self, num_rx_ht_351_mbps): + """Sets the num_rx_ht_351_mbps of this RadioStatistics. + + + :param num_rx_ht_351_mbps: The num_rx_ht_351_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_351_mbps = num_rx_ht_351_mbps + + @property + def num_rx_ht_351_2_mbps(self): + """Gets the num_rx_ht_351_2_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_351_2_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_351_2_mbps + + @num_rx_ht_351_2_mbps.setter + def num_rx_ht_351_2_mbps(self, num_rx_ht_351_2_mbps): + """Sets the num_rx_ht_351_2_mbps of this RadioStatistics. + + + :param num_rx_ht_351_2_mbps: The num_rx_ht_351_2_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_351_2_mbps = num_rx_ht_351_2_mbps + + @property + def num_rx_ht_360_mbps(self): + """Gets the num_rx_ht_360_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_ht_360_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ht_360_mbps + + @num_rx_ht_360_mbps.setter + def num_rx_ht_360_mbps(self, num_rx_ht_360_mbps): + """Sets the num_rx_ht_360_mbps of this RadioStatistics. + + + :param num_rx_ht_360_mbps: The num_rx_ht_360_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ht_360_mbps = num_rx_ht_360_mbps + + @property + def num_tx_vht_292_5_mbps(self): + """Gets the num_tx_vht_292_5_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_vht_292_5_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_292_5_mbps + + @num_tx_vht_292_5_mbps.setter + def num_tx_vht_292_5_mbps(self, num_tx_vht_292_5_mbps): + """Sets the num_tx_vht_292_5_mbps of this RadioStatistics. + + + :param num_tx_vht_292_5_mbps: The num_tx_vht_292_5_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_292_5_mbps = num_tx_vht_292_5_mbps + + @property + def num_tx_vht_325_mbps(self): + """Gets the num_tx_vht_325_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_vht_325_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_325_mbps + + @num_tx_vht_325_mbps.setter + def num_tx_vht_325_mbps(self, num_tx_vht_325_mbps): + """Sets the num_tx_vht_325_mbps of this RadioStatistics. + + + :param num_tx_vht_325_mbps: The num_tx_vht_325_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_325_mbps = num_tx_vht_325_mbps + + @property + def num_tx_vht_364_5_mbps(self): + """Gets the num_tx_vht_364_5_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_vht_364_5_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_364_5_mbps + + @num_tx_vht_364_5_mbps.setter + def num_tx_vht_364_5_mbps(self, num_tx_vht_364_5_mbps): + """Sets the num_tx_vht_364_5_mbps of this RadioStatistics. + + + :param num_tx_vht_364_5_mbps: The num_tx_vht_364_5_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_364_5_mbps = num_tx_vht_364_5_mbps + + @property + def num_tx_vht_390_mbps(self): + """Gets the num_tx_vht_390_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_vht_390_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_390_mbps + + @num_tx_vht_390_mbps.setter + def num_tx_vht_390_mbps(self, num_tx_vht_390_mbps): + """Sets the num_tx_vht_390_mbps of this RadioStatistics. + + + :param num_tx_vht_390_mbps: The num_tx_vht_390_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_390_mbps = num_tx_vht_390_mbps + + @property + def num_tx_vht_400_mbps(self): + """Gets the num_tx_vht_400_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_vht_400_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_400_mbps + + @num_tx_vht_400_mbps.setter + def num_tx_vht_400_mbps(self, num_tx_vht_400_mbps): + """Sets the num_tx_vht_400_mbps of this RadioStatistics. + + + :param num_tx_vht_400_mbps: The num_tx_vht_400_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_400_mbps = num_tx_vht_400_mbps + + @property + def num_tx_vht_403_mbps(self): + """Gets the num_tx_vht_403_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_vht_403_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_403_mbps + + @num_tx_vht_403_mbps.setter + def num_tx_vht_403_mbps(self, num_tx_vht_403_mbps): + """Sets the num_tx_vht_403_mbps of this RadioStatistics. + + + :param num_tx_vht_403_mbps: The num_tx_vht_403_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_403_mbps = num_tx_vht_403_mbps + + @property + def num_tx_vht_405_mbps(self): + """Gets the num_tx_vht_405_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_vht_405_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_405_mbps + + @num_tx_vht_405_mbps.setter + def num_tx_vht_405_mbps(self, num_tx_vht_405_mbps): + """Sets the num_tx_vht_405_mbps of this RadioStatistics. + + + :param num_tx_vht_405_mbps: The num_tx_vht_405_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_405_mbps = num_tx_vht_405_mbps + + @property + def num_tx_vht_432_mbps(self): + """Gets the num_tx_vht_432_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_vht_432_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_432_mbps + + @num_tx_vht_432_mbps.setter + def num_tx_vht_432_mbps(self, num_tx_vht_432_mbps): + """Sets the num_tx_vht_432_mbps of this RadioStatistics. + + + :param num_tx_vht_432_mbps: The num_tx_vht_432_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_432_mbps = num_tx_vht_432_mbps + + @property + def num_tx_vht_433_2_mbps(self): + """Gets the num_tx_vht_433_2_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_vht_433_2_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_433_2_mbps + + @num_tx_vht_433_2_mbps.setter + def num_tx_vht_433_2_mbps(self, num_tx_vht_433_2_mbps): + """Sets the num_tx_vht_433_2_mbps of this RadioStatistics. + + + :param num_tx_vht_433_2_mbps: The num_tx_vht_433_2_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_433_2_mbps = num_tx_vht_433_2_mbps + + @property + def num_tx_vht_450_mbps(self): + """Gets the num_tx_vht_450_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_vht_450_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_450_mbps + + @num_tx_vht_450_mbps.setter + def num_tx_vht_450_mbps(self, num_tx_vht_450_mbps): + """Sets the num_tx_vht_450_mbps of this RadioStatistics. + + + :param num_tx_vht_450_mbps: The num_tx_vht_450_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_450_mbps = num_tx_vht_450_mbps + + @property + def num_tx_vht_468_mbps(self): + """Gets the num_tx_vht_468_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_vht_468_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_468_mbps + + @num_tx_vht_468_mbps.setter + def num_tx_vht_468_mbps(self, num_tx_vht_468_mbps): + """Sets the num_tx_vht_468_mbps of this RadioStatistics. + + + :param num_tx_vht_468_mbps: The num_tx_vht_468_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_468_mbps = num_tx_vht_468_mbps + + @property + def num_tx_vht_480_mbps(self): + """Gets the num_tx_vht_480_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_vht_480_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_480_mbps + + @num_tx_vht_480_mbps.setter + def num_tx_vht_480_mbps(self, num_tx_vht_480_mbps): + """Sets the num_tx_vht_480_mbps of this RadioStatistics. + + + :param num_tx_vht_480_mbps: The num_tx_vht_480_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_480_mbps = num_tx_vht_480_mbps + + @property + def num_tx_vht_486_mbps(self): + """Gets the num_tx_vht_486_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_vht_486_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_486_mbps + + @num_tx_vht_486_mbps.setter + def num_tx_vht_486_mbps(self, num_tx_vht_486_mbps): + """Sets the num_tx_vht_486_mbps of this RadioStatistics. + + + :param num_tx_vht_486_mbps: The num_tx_vht_486_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_486_mbps = num_tx_vht_486_mbps + + @property + def num_tx_vht_520_mbps(self): + """Gets the num_tx_vht_520_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_vht_520_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_520_mbps + + @num_tx_vht_520_mbps.setter + def num_tx_vht_520_mbps(self, num_tx_vht_520_mbps): + """Sets the num_tx_vht_520_mbps of this RadioStatistics. + + + :param num_tx_vht_520_mbps: The num_tx_vht_520_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_520_mbps = num_tx_vht_520_mbps + + @property + def num_tx_vht_526_5_mbps(self): + """Gets the num_tx_vht_526_5_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_vht_526_5_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_526_5_mbps + + @num_tx_vht_526_5_mbps.setter + def num_tx_vht_526_5_mbps(self, num_tx_vht_526_5_mbps): + """Sets the num_tx_vht_526_5_mbps of this RadioStatistics. + + + :param num_tx_vht_526_5_mbps: The num_tx_vht_526_5_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_526_5_mbps = num_tx_vht_526_5_mbps + + @property + def num_tx_vht_540_mbps(self): + """Gets the num_tx_vht_540_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_vht_540_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_540_mbps + + @num_tx_vht_540_mbps.setter + def num_tx_vht_540_mbps(self, num_tx_vht_540_mbps): + """Sets the num_tx_vht_540_mbps of this RadioStatistics. + + + :param num_tx_vht_540_mbps: The num_tx_vht_540_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_540_mbps = num_tx_vht_540_mbps + + @property + def num_tx_vht_585_mbps(self): + """Gets the num_tx_vht_585_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_vht_585_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_585_mbps + + @num_tx_vht_585_mbps.setter + def num_tx_vht_585_mbps(self, num_tx_vht_585_mbps): + """Sets the num_tx_vht_585_mbps of this RadioStatistics. + + + :param num_tx_vht_585_mbps: The num_tx_vht_585_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_585_mbps = num_tx_vht_585_mbps + + @property + def num_tx_vht_600_mbps(self): + """Gets the num_tx_vht_600_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_vht_600_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_600_mbps + + @num_tx_vht_600_mbps.setter + def num_tx_vht_600_mbps(self, num_tx_vht_600_mbps): + """Sets the num_tx_vht_600_mbps of this RadioStatistics. + + + :param num_tx_vht_600_mbps: The num_tx_vht_600_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_600_mbps = num_tx_vht_600_mbps + + @property + def num_tx_vht_648_mbps(self): + """Gets the num_tx_vht_648_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_vht_648_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_648_mbps + + @num_tx_vht_648_mbps.setter + def num_tx_vht_648_mbps(self, num_tx_vht_648_mbps): + """Sets the num_tx_vht_648_mbps of this RadioStatistics. + + + :param num_tx_vht_648_mbps: The num_tx_vht_648_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_648_mbps = num_tx_vht_648_mbps + + @property + def num_tx_vht_650_mbps(self): + """Gets the num_tx_vht_650_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_vht_650_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_650_mbps + + @num_tx_vht_650_mbps.setter + def num_tx_vht_650_mbps(self, num_tx_vht_650_mbps): + """Sets the num_tx_vht_650_mbps of this RadioStatistics. + + + :param num_tx_vht_650_mbps: The num_tx_vht_650_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_650_mbps = num_tx_vht_650_mbps + + @property + def num_tx_vht_702_mbps(self): + """Gets the num_tx_vht_702_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_vht_702_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_702_mbps + + @num_tx_vht_702_mbps.setter + def num_tx_vht_702_mbps(self, num_tx_vht_702_mbps): + """Sets the num_tx_vht_702_mbps of this RadioStatistics. + + + :param num_tx_vht_702_mbps: The num_tx_vht_702_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_702_mbps = num_tx_vht_702_mbps + + @property + def num_tx_vht_720_mbps(self): + """Gets the num_tx_vht_720_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_vht_720_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_720_mbps + + @num_tx_vht_720_mbps.setter + def num_tx_vht_720_mbps(self, num_tx_vht_720_mbps): + """Sets the num_tx_vht_720_mbps of this RadioStatistics. + + + :param num_tx_vht_720_mbps: The num_tx_vht_720_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_720_mbps = num_tx_vht_720_mbps + + @property + def num_tx_vht_780_mbps(self): + """Gets the num_tx_vht_780_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_vht_780_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_780_mbps + + @num_tx_vht_780_mbps.setter + def num_tx_vht_780_mbps(self, num_tx_vht_780_mbps): + """Sets the num_tx_vht_780_mbps of this RadioStatistics. + + + :param num_tx_vht_780_mbps: The num_tx_vht_780_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_780_mbps = num_tx_vht_780_mbps + + @property + def num_tx_vht_800_mbps(self): + """Gets the num_tx_vht_800_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_vht_800_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_800_mbps + + @num_tx_vht_800_mbps.setter + def num_tx_vht_800_mbps(self, num_tx_vht_800_mbps): + """Sets the num_tx_vht_800_mbps of this RadioStatistics. + + + :param num_tx_vht_800_mbps: The num_tx_vht_800_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_800_mbps = num_tx_vht_800_mbps + + @property + def num_tx_vht_866_7_mbps(self): + """Gets the num_tx_vht_866_7_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_vht_866_7_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_866_7_mbps + + @num_tx_vht_866_7_mbps.setter + def num_tx_vht_866_7_mbps(self, num_tx_vht_866_7_mbps): + """Sets the num_tx_vht_866_7_mbps of this RadioStatistics. + + + :param num_tx_vht_866_7_mbps: The num_tx_vht_866_7_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_866_7_mbps = num_tx_vht_866_7_mbps + + @property + def num_tx_vht_877_5_mbps(self): + """Gets the num_tx_vht_877_5_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_vht_877_5_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_877_5_mbps + + @num_tx_vht_877_5_mbps.setter + def num_tx_vht_877_5_mbps(self, num_tx_vht_877_5_mbps): + """Sets the num_tx_vht_877_5_mbps of this RadioStatistics. + + + :param num_tx_vht_877_5_mbps: The num_tx_vht_877_5_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_877_5_mbps = num_tx_vht_877_5_mbps + + @property + def num_tx_vht_936_mbps(self): + """Gets the num_tx_vht_936_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_vht_936_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_936_mbps + + @num_tx_vht_936_mbps.setter + def num_tx_vht_936_mbps(self, num_tx_vht_936_mbps): + """Sets the num_tx_vht_936_mbps of this RadioStatistics. + + + :param num_tx_vht_936_mbps: The num_tx_vht_936_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_936_mbps = num_tx_vht_936_mbps + + @property + def num_tx_vht_975_mbps(self): + """Gets the num_tx_vht_975_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_vht_975_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_975_mbps + + @num_tx_vht_975_mbps.setter + def num_tx_vht_975_mbps(self, num_tx_vht_975_mbps): + """Sets the num_tx_vht_975_mbps of this RadioStatistics. + + + :param num_tx_vht_975_mbps: The num_tx_vht_975_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_975_mbps = num_tx_vht_975_mbps + + @property + def num_tx_vht_1040_mbps(self): + """Gets the num_tx_vht_1040_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_vht_1040_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_1040_mbps + + @num_tx_vht_1040_mbps.setter + def num_tx_vht_1040_mbps(self, num_tx_vht_1040_mbps): + """Sets the num_tx_vht_1040_mbps of this RadioStatistics. + + + :param num_tx_vht_1040_mbps: The num_tx_vht_1040_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_1040_mbps = num_tx_vht_1040_mbps + + @property + def num_tx_vht_1053_mbps(self): + """Gets the num_tx_vht_1053_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_vht_1053_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_1053_mbps + + @num_tx_vht_1053_mbps.setter + def num_tx_vht_1053_mbps(self, num_tx_vht_1053_mbps): + """Sets the num_tx_vht_1053_mbps of this RadioStatistics. + + + :param num_tx_vht_1053_mbps: The num_tx_vht_1053_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_1053_mbps = num_tx_vht_1053_mbps + + @property + def num_tx_vht_1053_1_mbps(self): + """Gets the num_tx_vht_1053_1_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_vht_1053_1_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_1053_1_mbps + + @num_tx_vht_1053_1_mbps.setter + def num_tx_vht_1053_1_mbps(self, num_tx_vht_1053_1_mbps): + """Sets the num_tx_vht_1053_1_mbps of this RadioStatistics. + + + :param num_tx_vht_1053_1_mbps: The num_tx_vht_1053_1_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_1053_1_mbps = num_tx_vht_1053_1_mbps + + @property + def num_tx_vht_1170_mbps(self): + """Gets the num_tx_vht_1170_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_vht_1170_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_1170_mbps + + @num_tx_vht_1170_mbps.setter + def num_tx_vht_1170_mbps(self, num_tx_vht_1170_mbps): + """Sets the num_tx_vht_1170_mbps of this RadioStatistics. + + + :param num_tx_vht_1170_mbps: The num_tx_vht_1170_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_1170_mbps = num_tx_vht_1170_mbps + + @property + def num_tx_vht_1300_mbps(self): + """Gets the num_tx_vht_1300_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_vht_1300_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_1300_mbps + + @num_tx_vht_1300_mbps.setter + def num_tx_vht_1300_mbps(self, num_tx_vht_1300_mbps): + """Sets the num_tx_vht_1300_mbps of this RadioStatistics. + + + :param num_tx_vht_1300_mbps: The num_tx_vht_1300_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_1300_mbps = num_tx_vht_1300_mbps + + @property + def num_tx_vht_1404_mbps(self): + """Gets the num_tx_vht_1404_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_vht_1404_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_1404_mbps + + @num_tx_vht_1404_mbps.setter + def num_tx_vht_1404_mbps(self, num_tx_vht_1404_mbps): + """Sets the num_tx_vht_1404_mbps of this RadioStatistics. + + + :param num_tx_vht_1404_mbps: The num_tx_vht_1404_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_1404_mbps = num_tx_vht_1404_mbps + + @property + def num_tx_vht_1560_mbps(self): + """Gets the num_tx_vht_1560_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_vht_1560_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_1560_mbps + + @num_tx_vht_1560_mbps.setter + def num_tx_vht_1560_mbps(self, num_tx_vht_1560_mbps): + """Sets the num_tx_vht_1560_mbps of this RadioStatistics. + + + :param num_tx_vht_1560_mbps: The num_tx_vht_1560_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_1560_mbps = num_tx_vht_1560_mbps + + @property + def num_tx_vht_1579_5_mbps(self): + """Gets the num_tx_vht_1579_5_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_vht_1579_5_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_1579_5_mbps + + @num_tx_vht_1579_5_mbps.setter + def num_tx_vht_1579_5_mbps(self, num_tx_vht_1579_5_mbps): + """Sets the num_tx_vht_1579_5_mbps of this RadioStatistics. + + + :param num_tx_vht_1579_5_mbps: The num_tx_vht_1579_5_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_1579_5_mbps = num_tx_vht_1579_5_mbps + + @property + def num_tx_vht_1733_1_mbps(self): + """Gets the num_tx_vht_1733_1_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_vht_1733_1_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_1733_1_mbps + + @num_tx_vht_1733_1_mbps.setter + def num_tx_vht_1733_1_mbps(self, num_tx_vht_1733_1_mbps): + """Sets the num_tx_vht_1733_1_mbps of this RadioStatistics. + + + :param num_tx_vht_1733_1_mbps: The num_tx_vht_1733_1_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_1733_1_mbps = num_tx_vht_1733_1_mbps + + @property + def num_tx_vht_1733_4_mbps(self): + """Gets the num_tx_vht_1733_4_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_vht_1733_4_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_1733_4_mbps + + @num_tx_vht_1733_4_mbps.setter + def num_tx_vht_1733_4_mbps(self, num_tx_vht_1733_4_mbps): + """Sets the num_tx_vht_1733_4_mbps of this RadioStatistics. + + + :param num_tx_vht_1733_4_mbps: The num_tx_vht_1733_4_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_1733_4_mbps = num_tx_vht_1733_4_mbps + + @property + def num_tx_vht_1755_mbps(self): + """Gets the num_tx_vht_1755_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_vht_1755_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_1755_mbps + + @num_tx_vht_1755_mbps.setter + def num_tx_vht_1755_mbps(self, num_tx_vht_1755_mbps): + """Sets the num_tx_vht_1755_mbps of this RadioStatistics. + + + :param num_tx_vht_1755_mbps: The num_tx_vht_1755_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_1755_mbps = num_tx_vht_1755_mbps + + @property + def num_tx_vht_1872_mbps(self): + """Gets the num_tx_vht_1872_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_vht_1872_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_1872_mbps + + @num_tx_vht_1872_mbps.setter + def num_tx_vht_1872_mbps(self, num_tx_vht_1872_mbps): + """Sets the num_tx_vht_1872_mbps of this RadioStatistics. + + + :param num_tx_vht_1872_mbps: The num_tx_vht_1872_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_1872_mbps = num_tx_vht_1872_mbps + + @property + def num_tx_vht_1950_mbps(self): + """Gets the num_tx_vht_1950_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_vht_1950_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_1950_mbps + + @num_tx_vht_1950_mbps.setter + def num_tx_vht_1950_mbps(self, num_tx_vht_1950_mbps): + """Sets the num_tx_vht_1950_mbps of this RadioStatistics. + + + :param num_tx_vht_1950_mbps: The num_tx_vht_1950_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_1950_mbps = num_tx_vht_1950_mbps + + @property + def num_tx_vht_2080_mbps(self): + """Gets the num_tx_vht_2080_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_vht_2080_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_2080_mbps + + @num_tx_vht_2080_mbps.setter + def num_tx_vht_2080_mbps(self, num_tx_vht_2080_mbps): + """Sets the num_tx_vht_2080_mbps of this RadioStatistics. + + + :param num_tx_vht_2080_mbps: The num_tx_vht_2080_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_2080_mbps = num_tx_vht_2080_mbps + + @property + def num_tx_vht_2106_mbps(self): + """Gets the num_tx_vht_2106_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_vht_2106_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_2106_mbps + + @num_tx_vht_2106_mbps.setter + def num_tx_vht_2106_mbps(self, num_tx_vht_2106_mbps): + """Sets the num_tx_vht_2106_mbps of this RadioStatistics. + + + :param num_tx_vht_2106_mbps: The num_tx_vht_2106_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_2106_mbps = num_tx_vht_2106_mbps + + @property + def num_tx_vht_2340_mbps(self): + """Gets the num_tx_vht_2340_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_vht_2340_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_2340_mbps + + @num_tx_vht_2340_mbps.setter + def num_tx_vht_2340_mbps(self, num_tx_vht_2340_mbps): + """Sets the num_tx_vht_2340_mbps of this RadioStatistics. + + + :param num_tx_vht_2340_mbps: The num_tx_vht_2340_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_2340_mbps = num_tx_vht_2340_mbps + + @property + def num_tx_vht_2600_mbps(self): + """Gets the num_tx_vht_2600_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_vht_2600_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_2600_mbps + + @num_tx_vht_2600_mbps.setter + def num_tx_vht_2600_mbps(self, num_tx_vht_2600_mbps): + """Sets the num_tx_vht_2600_mbps of this RadioStatistics. + + + :param num_tx_vht_2600_mbps: The num_tx_vht_2600_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_2600_mbps = num_tx_vht_2600_mbps + + @property + def num_tx_vht_2808_mbps(self): + """Gets the num_tx_vht_2808_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_vht_2808_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_2808_mbps + + @num_tx_vht_2808_mbps.setter + def num_tx_vht_2808_mbps(self, num_tx_vht_2808_mbps): + """Sets the num_tx_vht_2808_mbps of this RadioStatistics. + + + :param num_tx_vht_2808_mbps: The num_tx_vht_2808_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_2808_mbps = num_tx_vht_2808_mbps + + @property + def num_tx_vht_3120_mbps(self): + """Gets the num_tx_vht_3120_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_vht_3120_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_3120_mbps + + @num_tx_vht_3120_mbps.setter + def num_tx_vht_3120_mbps(self, num_tx_vht_3120_mbps): + """Sets the num_tx_vht_3120_mbps of this RadioStatistics. + + + :param num_tx_vht_3120_mbps: The num_tx_vht_3120_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_3120_mbps = num_tx_vht_3120_mbps + + @property + def num_tx_vht_3466_8_mbps(self): + """Gets the num_tx_vht_3466_8_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_tx_vht_3466_8_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_vht_3466_8_mbps + + @num_tx_vht_3466_8_mbps.setter + def num_tx_vht_3466_8_mbps(self, num_tx_vht_3466_8_mbps): + """Sets the num_tx_vht_3466_8_mbps of this RadioStatistics. + + + :param num_tx_vht_3466_8_mbps: The num_tx_vht_3466_8_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_vht_3466_8_mbps = num_tx_vht_3466_8_mbps + + @property + def num_rx_vht_292_5_mbps(self): + """Gets the num_rx_vht_292_5_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_vht_292_5_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_292_5_mbps + + @num_rx_vht_292_5_mbps.setter + def num_rx_vht_292_5_mbps(self, num_rx_vht_292_5_mbps): + """Sets the num_rx_vht_292_5_mbps of this RadioStatistics. + + + :param num_rx_vht_292_5_mbps: The num_rx_vht_292_5_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_292_5_mbps = num_rx_vht_292_5_mbps + + @property + def num_rx_vht_325_mbps(self): + """Gets the num_rx_vht_325_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_vht_325_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_325_mbps + + @num_rx_vht_325_mbps.setter + def num_rx_vht_325_mbps(self, num_rx_vht_325_mbps): + """Sets the num_rx_vht_325_mbps of this RadioStatistics. + + + :param num_rx_vht_325_mbps: The num_rx_vht_325_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_325_mbps = num_rx_vht_325_mbps + + @property + def num_rx_vht_364_5_mbps(self): + """Gets the num_rx_vht_364_5_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_vht_364_5_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_364_5_mbps + + @num_rx_vht_364_5_mbps.setter + def num_rx_vht_364_5_mbps(self, num_rx_vht_364_5_mbps): + """Sets the num_rx_vht_364_5_mbps of this RadioStatistics. + + + :param num_rx_vht_364_5_mbps: The num_rx_vht_364_5_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_364_5_mbps = num_rx_vht_364_5_mbps + + @property + def num_rx_vht_390_mbps(self): + """Gets the num_rx_vht_390_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_vht_390_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_390_mbps + + @num_rx_vht_390_mbps.setter + def num_rx_vht_390_mbps(self, num_rx_vht_390_mbps): + """Sets the num_rx_vht_390_mbps of this RadioStatistics. + + + :param num_rx_vht_390_mbps: The num_rx_vht_390_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_390_mbps = num_rx_vht_390_mbps + + @property + def num_rx_vht_400_mbps(self): + """Gets the num_rx_vht_400_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_vht_400_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_400_mbps + + @num_rx_vht_400_mbps.setter + def num_rx_vht_400_mbps(self, num_rx_vht_400_mbps): + """Sets the num_rx_vht_400_mbps of this RadioStatistics. + + + :param num_rx_vht_400_mbps: The num_rx_vht_400_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_400_mbps = num_rx_vht_400_mbps + + @property + def num_rx_vht_403_mbps(self): + """Gets the num_rx_vht_403_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_vht_403_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_403_mbps + + @num_rx_vht_403_mbps.setter + def num_rx_vht_403_mbps(self, num_rx_vht_403_mbps): + """Sets the num_rx_vht_403_mbps of this RadioStatistics. + + + :param num_rx_vht_403_mbps: The num_rx_vht_403_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_403_mbps = num_rx_vht_403_mbps + + @property + def num_rx_vht_405_mbps(self): + """Gets the num_rx_vht_405_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_vht_405_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_405_mbps + + @num_rx_vht_405_mbps.setter + def num_rx_vht_405_mbps(self, num_rx_vht_405_mbps): + """Sets the num_rx_vht_405_mbps of this RadioStatistics. + + + :param num_rx_vht_405_mbps: The num_rx_vht_405_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_405_mbps = num_rx_vht_405_mbps + + @property + def num_rx_vht_432_mbps(self): + """Gets the num_rx_vht_432_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_vht_432_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_432_mbps + + @num_rx_vht_432_mbps.setter + def num_rx_vht_432_mbps(self, num_rx_vht_432_mbps): + """Sets the num_rx_vht_432_mbps of this RadioStatistics. + + + :param num_rx_vht_432_mbps: The num_rx_vht_432_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_432_mbps = num_rx_vht_432_mbps + + @property + def num_rx_vht_433_2_mbps(self): + """Gets the num_rx_vht_433_2_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_vht_433_2_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_433_2_mbps + + @num_rx_vht_433_2_mbps.setter + def num_rx_vht_433_2_mbps(self, num_rx_vht_433_2_mbps): + """Sets the num_rx_vht_433_2_mbps of this RadioStatistics. + + + :param num_rx_vht_433_2_mbps: The num_rx_vht_433_2_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_433_2_mbps = num_rx_vht_433_2_mbps + + @property + def num_rx_vht_450_mbps(self): + """Gets the num_rx_vht_450_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_vht_450_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_450_mbps + + @num_rx_vht_450_mbps.setter + def num_rx_vht_450_mbps(self, num_rx_vht_450_mbps): + """Sets the num_rx_vht_450_mbps of this RadioStatistics. + + + :param num_rx_vht_450_mbps: The num_rx_vht_450_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_450_mbps = num_rx_vht_450_mbps + + @property + def num_rx_vht_468_mbps(self): + """Gets the num_rx_vht_468_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_vht_468_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_468_mbps + + @num_rx_vht_468_mbps.setter + def num_rx_vht_468_mbps(self, num_rx_vht_468_mbps): + """Sets the num_rx_vht_468_mbps of this RadioStatistics. + + + :param num_rx_vht_468_mbps: The num_rx_vht_468_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_468_mbps = num_rx_vht_468_mbps + + @property + def num_rx_vht_480_mbps(self): + """Gets the num_rx_vht_480_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_vht_480_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_480_mbps + + @num_rx_vht_480_mbps.setter + def num_rx_vht_480_mbps(self, num_rx_vht_480_mbps): + """Sets the num_rx_vht_480_mbps of this RadioStatistics. + + + :param num_rx_vht_480_mbps: The num_rx_vht_480_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_480_mbps = num_rx_vht_480_mbps + + @property + def num_rx_vht_486_mbps(self): + """Gets the num_rx_vht_486_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_vht_486_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_486_mbps + + @num_rx_vht_486_mbps.setter + def num_rx_vht_486_mbps(self, num_rx_vht_486_mbps): + """Sets the num_rx_vht_486_mbps of this RadioStatistics. + + + :param num_rx_vht_486_mbps: The num_rx_vht_486_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_486_mbps = num_rx_vht_486_mbps + + @property + def num_rx_vht_520_mbps(self): + """Gets the num_rx_vht_520_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_vht_520_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_520_mbps + + @num_rx_vht_520_mbps.setter + def num_rx_vht_520_mbps(self, num_rx_vht_520_mbps): + """Sets the num_rx_vht_520_mbps of this RadioStatistics. + + + :param num_rx_vht_520_mbps: The num_rx_vht_520_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_520_mbps = num_rx_vht_520_mbps + + @property + def num_rx_vht_526_5_mbps(self): + """Gets the num_rx_vht_526_5_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_vht_526_5_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_526_5_mbps + + @num_rx_vht_526_5_mbps.setter + def num_rx_vht_526_5_mbps(self, num_rx_vht_526_5_mbps): + """Sets the num_rx_vht_526_5_mbps of this RadioStatistics. + + + :param num_rx_vht_526_5_mbps: The num_rx_vht_526_5_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_526_5_mbps = num_rx_vht_526_5_mbps + + @property + def num_rx_vht_540_mbps(self): + """Gets the num_rx_vht_540_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_vht_540_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_540_mbps + + @num_rx_vht_540_mbps.setter + def num_rx_vht_540_mbps(self, num_rx_vht_540_mbps): + """Sets the num_rx_vht_540_mbps of this RadioStatistics. + + + :param num_rx_vht_540_mbps: The num_rx_vht_540_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_540_mbps = num_rx_vht_540_mbps + + @property + def num_rx_vht_585_mbps(self): + """Gets the num_rx_vht_585_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_vht_585_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_585_mbps + + @num_rx_vht_585_mbps.setter + def num_rx_vht_585_mbps(self, num_rx_vht_585_mbps): + """Sets the num_rx_vht_585_mbps of this RadioStatistics. + + + :param num_rx_vht_585_mbps: The num_rx_vht_585_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_585_mbps = num_rx_vht_585_mbps + + @property + def num_rx_vht_600_mbps(self): + """Gets the num_rx_vht_600_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_vht_600_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_600_mbps + + @num_rx_vht_600_mbps.setter + def num_rx_vht_600_mbps(self, num_rx_vht_600_mbps): + """Sets the num_rx_vht_600_mbps of this RadioStatistics. + + + :param num_rx_vht_600_mbps: The num_rx_vht_600_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_600_mbps = num_rx_vht_600_mbps + + @property + def num_rx_vht_648_mbps(self): + """Gets the num_rx_vht_648_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_vht_648_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_648_mbps + + @num_rx_vht_648_mbps.setter + def num_rx_vht_648_mbps(self, num_rx_vht_648_mbps): + """Sets the num_rx_vht_648_mbps of this RadioStatistics. + + + :param num_rx_vht_648_mbps: The num_rx_vht_648_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_648_mbps = num_rx_vht_648_mbps + + @property + def num_rx_vht_650_mbps(self): + """Gets the num_rx_vht_650_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_vht_650_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_650_mbps + + @num_rx_vht_650_mbps.setter + def num_rx_vht_650_mbps(self, num_rx_vht_650_mbps): + """Sets the num_rx_vht_650_mbps of this RadioStatistics. + + + :param num_rx_vht_650_mbps: The num_rx_vht_650_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_650_mbps = num_rx_vht_650_mbps + + @property + def num_rx_vht_702_mbps(self): + """Gets the num_rx_vht_702_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_vht_702_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_702_mbps + + @num_rx_vht_702_mbps.setter + def num_rx_vht_702_mbps(self, num_rx_vht_702_mbps): + """Sets the num_rx_vht_702_mbps of this RadioStatistics. + + + :param num_rx_vht_702_mbps: The num_rx_vht_702_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_702_mbps = num_rx_vht_702_mbps + + @property + def num_rx_vht_720_mbps(self): + """Gets the num_rx_vht_720_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_vht_720_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_720_mbps + + @num_rx_vht_720_mbps.setter + def num_rx_vht_720_mbps(self, num_rx_vht_720_mbps): + """Sets the num_rx_vht_720_mbps of this RadioStatistics. + + + :param num_rx_vht_720_mbps: The num_rx_vht_720_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_720_mbps = num_rx_vht_720_mbps + + @property + def num_rx_vht_780_mbps(self): + """Gets the num_rx_vht_780_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_vht_780_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_780_mbps + + @num_rx_vht_780_mbps.setter + def num_rx_vht_780_mbps(self, num_rx_vht_780_mbps): + """Sets the num_rx_vht_780_mbps of this RadioStatistics. + + + :param num_rx_vht_780_mbps: The num_rx_vht_780_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_780_mbps = num_rx_vht_780_mbps + + @property + def num_rx_vht_800_mbps(self): + """Gets the num_rx_vht_800_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_vht_800_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_800_mbps + + @num_rx_vht_800_mbps.setter + def num_rx_vht_800_mbps(self, num_rx_vht_800_mbps): + """Sets the num_rx_vht_800_mbps of this RadioStatistics. + + + :param num_rx_vht_800_mbps: The num_rx_vht_800_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_800_mbps = num_rx_vht_800_mbps + + @property + def num_rx_vht_866_7_mbps(self): + """Gets the num_rx_vht_866_7_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_vht_866_7_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_866_7_mbps + + @num_rx_vht_866_7_mbps.setter + def num_rx_vht_866_7_mbps(self, num_rx_vht_866_7_mbps): + """Sets the num_rx_vht_866_7_mbps of this RadioStatistics. + + + :param num_rx_vht_866_7_mbps: The num_rx_vht_866_7_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_866_7_mbps = num_rx_vht_866_7_mbps + + @property + def num_rx_vht_877_5_mbps(self): + """Gets the num_rx_vht_877_5_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_vht_877_5_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_877_5_mbps + + @num_rx_vht_877_5_mbps.setter + def num_rx_vht_877_5_mbps(self, num_rx_vht_877_5_mbps): + """Sets the num_rx_vht_877_5_mbps of this RadioStatistics. + + + :param num_rx_vht_877_5_mbps: The num_rx_vht_877_5_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_877_5_mbps = num_rx_vht_877_5_mbps + + @property + def num_rx_vht_936_mbps(self): + """Gets the num_rx_vht_936_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_vht_936_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_936_mbps + + @num_rx_vht_936_mbps.setter + def num_rx_vht_936_mbps(self, num_rx_vht_936_mbps): + """Sets the num_rx_vht_936_mbps of this RadioStatistics. + + + :param num_rx_vht_936_mbps: The num_rx_vht_936_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_936_mbps = num_rx_vht_936_mbps + + @property + def num_rx_vht_975_mbps(self): + """Gets the num_rx_vht_975_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_vht_975_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_975_mbps + + @num_rx_vht_975_mbps.setter + def num_rx_vht_975_mbps(self, num_rx_vht_975_mbps): + """Sets the num_rx_vht_975_mbps of this RadioStatistics. + + + :param num_rx_vht_975_mbps: The num_rx_vht_975_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_975_mbps = num_rx_vht_975_mbps + + @property + def num_rx_vht_1040_mbps(self): + """Gets the num_rx_vht_1040_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_vht_1040_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_1040_mbps + + @num_rx_vht_1040_mbps.setter + def num_rx_vht_1040_mbps(self, num_rx_vht_1040_mbps): + """Sets the num_rx_vht_1040_mbps of this RadioStatistics. + + + :param num_rx_vht_1040_mbps: The num_rx_vht_1040_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_1040_mbps = num_rx_vht_1040_mbps + + @property + def num_rx_vht_1053_mbps(self): + """Gets the num_rx_vht_1053_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_vht_1053_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_1053_mbps + + @num_rx_vht_1053_mbps.setter + def num_rx_vht_1053_mbps(self, num_rx_vht_1053_mbps): + """Sets the num_rx_vht_1053_mbps of this RadioStatistics. + + + :param num_rx_vht_1053_mbps: The num_rx_vht_1053_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_1053_mbps = num_rx_vht_1053_mbps + + @property + def num_rx_vht_1053_1_mbps(self): + """Gets the num_rx_vht_1053_1_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_vht_1053_1_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_1053_1_mbps + + @num_rx_vht_1053_1_mbps.setter + def num_rx_vht_1053_1_mbps(self, num_rx_vht_1053_1_mbps): + """Sets the num_rx_vht_1053_1_mbps of this RadioStatistics. + + + :param num_rx_vht_1053_1_mbps: The num_rx_vht_1053_1_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_1053_1_mbps = num_rx_vht_1053_1_mbps + + @property + def num_rx_vht_1170_mbps(self): + """Gets the num_rx_vht_1170_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_vht_1170_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_1170_mbps + + @num_rx_vht_1170_mbps.setter + def num_rx_vht_1170_mbps(self, num_rx_vht_1170_mbps): + """Sets the num_rx_vht_1170_mbps of this RadioStatistics. + + + :param num_rx_vht_1170_mbps: The num_rx_vht_1170_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_1170_mbps = num_rx_vht_1170_mbps + + @property + def num_rx_vht_1300_mbps(self): + """Gets the num_rx_vht_1300_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_vht_1300_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_1300_mbps + + @num_rx_vht_1300_mbps.setter + def num_rx_vht_1300_mbps(self, num_rx_vht_1300_mbps): + """Sets the num_rx_vht_1300_mbps of this RadioStatistics. + + + :param num_rx_vht_1300_mbps: The num_rx_vht_1300_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_1300_mbps = num_rx_vht_1300_mbps + + @property + def num_rx_vht_1404_mbps(self): + """Gets the num_rx_vht_1404_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_vht_1404_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_1404_mbps + + @num_rx_vht_1404_mbps.setter + def num_rx_vht_1404_mbps(self, num_rx_vht_1404_mbps): + """Sets the num_rx_vht_1404_mbps of this RadioStatistics. + + + :param num_rx_vht_1404_mbps: The num_rx_vht_1404_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_1404_mbps = num_rx_vht_1404_mbps + + @property + def num_rx_vht_1560_mbps(self): + """Gets the num_rx_vht_1560_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_vht_1560_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_1560_mbps + + @num_rx_vht_1560_mbps.setter + def num_rx_vht_1560_mbps(self, num_rx_vht_1560_mbps): + """Sets the num_rx_vht_1560_mbps of this RadioStatistics. + + + :param num_rx_vht_1560_mbps: The num_rx_vht_1560_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_1560_mbps = num_rx_vht_1560_mbps + + @property + def num_rx_vht_1579_5_mbps(self): + """Gets the num_rx_vht_1579_5_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_vht_1579_5_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_1579_5_mbps + + @num_rx_vht_1579_5_mbps.setter + def num_rx_vht_1579_5_mbps(self, num_rx_vht_1579_5_mbps): + """Sets the num_rx_vht_1579_5_mbps of this RadioStatistics. + + + :param num_rx_vht_1579_5_mbps: The num_rx_vht_1579_5_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_1579_5_mbps = num_rx_vht_1579_5_mbps + + @property + def num_rx_vht_1733_1_mbps(self): + """Gets the num_rx_vht_1733_1_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_vht_1733_1_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_1733_1_mbps + + @num_rx_vht_1733_1_mbps.setter + def num_rx_vht_1733_1_mbps(self, num_rx_vht_1733_1_mbps): + """Sets the num_rx_vht_1733_1_mbps of this RadioStatistics. + + + :param num_rx_vht_1733_1_mbps: The num_rx_vht_1733_1_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_1733_1_mbps = num_rx_vht_1733_1_mbps + + @property + def num_rx_vht_1733_4_mbps(self): + """Gets the num_rx_vht_1733_4_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_vht_1733_4_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_1733_4_mbps + + @num_rx_vht_1733_4_mbps.setter + def num_rx_vht_1733_4_mbps(self, num_rx_vht_1733_4_mbps): + """Sets the num_rx_vht_1733_4_mbps of this RadioStatistics. + + + :param num_rx_vht_1733_4_mbps: The num_rx_vht_1733_4_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_1733_4_mbps = num_rx_vht_1733_4_mbps + + @property + def num_rx_vht_1755_mbps(self): + """Gets the num_rx_vht_1755_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_vht_1755_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_1755_mbps + + @num_rx_vht_1755_mbps.setter + def num_rx_vht_1755_mbps(self, num_rx_vht_1755_mbps): + """Sets the num_rx_vht_1755_mbps of this RadioStatistics. + + + :param num_rx_vht_1755_mbps: The num_rx_vht_1755_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_1755_mbps = num_rx_vht_1755_mbps + + @property + def num_rx_vht_1872_mbps(self): + """Gets the num_rx_vht_1872_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_vht_1872_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_1872_mbps + + @num_rx_vht_1872_mbps.setter + def num_rx_vht_1872_mbps(self, num_rx_vht_1872_mbps): + """Sets the num_rx_vht_1872_mbps of this RadioStatistics. + + + :param num_rx_vht_1872_mbps: The num_rx_vht_1872_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_1872_mbps = num_rx_vht_1872_mbps + + @property + def num_rx_vht_1950_mbps(self): + """Gets the num_rx_vht_1950_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_vht_1950_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_1950_mbps + + @num_rx_vht_1950_mbps.setter + def num_rx_vht_1950_mbps(self, num_rx_vht_1950_mbps): + """Sets the num_rx_vht_1950_mbps of this RadioStatistics. + + + :param num_rx_vht_1950_mbps: The num_rx_vht_1950_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_1950_mbps = num_rx_vht_1950_mbps + + @property + def num_rx_vht_2080_mbps(self): + """Gets the num_rx_vht_2080_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_vht_2080_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_2080_mbps + + @num_rx_vht_2080_mbps.setter + def num_rx_vht_2080_mbps(self, num_rx_vht_2080_mbps): + """Sets the num_rx_vht_2080_mbps of this RadioStatistics. + + + :param num_rx_vht_2080_mbps: The num_rx_vht_2080_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_2080_mbps = num_rx_vht_2080_mbps + + @property + def num_rx_vht_2106_mbps(self): + """Gets the num_rx_vht_2106_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_vht_2106_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_2106_mbps + + @num_rx_vht_2106_mbps.setter + def num_rx_vht_2106_mbps(self, num_rx_vht_2106_mbps): + """Sets the num_rx_vht_2106_mbps of this RadioStatistics. + + + :param num_rx_vht_2106_mbps: The num_rx_vht_2106_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_2106_mbps = num_rx_vht_2106_mbps + + @property + def num_rx_vht_2340_mbps(self): + """Gets the num_rx_vht_2340_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_vht_2340_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_2340_mbps + + @num_rx_vht_2340_mbps.setter + def num_rx_vht_2340_mbps(self, num_rx_vht_2340_mbps): + """Sets the num_rx_vht_2340_mbps of this RadioStatistics. + + + :param num_rx_vht_2340_mbps: The num_rx_vht_2340_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_2340_mbps = num_rx_vht_2340_mbps + + @property + def num_rx_vht_2600_mbps(self): + """Gets the num_rx_vht_2600_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_vht_2600_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_2600_mbps + + @num_rx_vht_2600_mbps.setter + def num_rx_vht_2600_mbps(self, num_rx_vht_2600_mbps): + """Sets the num_rx_vht_2600_mbps of this RadioStatistics. + + + :param num_rx_vht_2600_mbps: The num_rx_vht_2600_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_2600_mbps = num_rx_vht_2600_mbps + + @property + def num_rx_vht_2808_mbps(self): + """Gets the num_rx_vht_2808_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_vht_2808_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_2808_mbps + + @num_rx_vht_2808_mbps.setter + def num_rx_vht_2808_mbps(self, num_rx_vht_2808_mbps): + """Sets the num_rx_vht_2808_mbps of this RadioStatistics. + + + :param num_rx_vht_2808_mbps: The num_rx_vht_2808_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_2808_mbps = num_rx_vht_2808_mbps + + @property + def num_rx_vht_3120_mbps(self): + """Gets the num_rx_vht_3120_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_vht_3120_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_3120_mbps + + @num_rx_vht_3120_mbps.setter + def num_rx_vht_3120_mbps(self, num_rx_vht_3120_mbps): + """Sets the num_rx_vht_3120_mbps of this RadioStatistics. + + + :param num_rx_vht_3120_mbps: The num_rx_vht_3120_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_3120_mbps = num_rx_vht_3120_mbps + + @property + def num_rx_vht_3466_8_mbps(self): + """Gets the num_rx_vht_3466_8_mbps of this RadioStatistics. # noqa: E501 + + + :return: The num_rx_vht_3466_8_mbps of this RadioStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_vht_3466_8_mbps + + @num_rx_vht_3466_8_mbps.setter + def num_rx_vht_3466_8_mbps(self, num_rx_vht_3466_8_mbps): + """Sets the num_rx_vht_3466_8_mbps of this RadioStatistics. + + + :param num_rx_vht_3466_8_mbps: The num_rx_vht_3466_8_mbps of this RadioStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_vht_3466_8_mbps = num_rx_vht_3466_8_mbps + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(RadioStatistics, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, RadioStatistics): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/radio_statistics_per_radio_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/radio_statistics_per_radio_map.py new file mode 100644 index 000000000..5ae7406c2 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/radio_statistics_per_radio_map.py @@ -0,0 +1,188 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class RadioStatisticsPerRadioMap(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'is5_g_hz': 'RadioStatistics', + 'is5_g_hz_u': 'RadioStatistics', + 'is5_g_hz_l': 'RadioStatistics', + 'is2dot4_g_hz': 'RadioStatistics' + } + + attribute_map = { + 'is5_g_hz': 'is5GHz', + 'is5_g_hz_u': 'is5GHzU', + 'is5_g_hz_l': 'is5GHzL', + 'is2dot4_g_hz': 'is2dot4GHz' + } + + def __init__(self, is5_g_hz=None, is5_g_hz_u=None, is5_g_hz_l=None, is2dot4_g_hz=None): # noqa: E501 + """RadioStatisticsPerRadioMap - a model defined in Swagger""" # noqa: E501 + self._is5_g_hz = None + self._is5_g_hz_u = None + self._is5_g_hz_l = None + self._is2dot4_g_hz = None + self.discriminator = None + if is5_g_hz is not None: + self.is5_g_hz = is5_g_hz + if is5_g_hz_u is not None: + self.is5_g_hz_u = is5_g_hz_u + if is5_g_hz_l is not None: + self.is5_g_hz_l = is5_g_hz_l + if is2dot4_g_hz is not None: + self.is2dot4_g_hz = is2dot4_g_hz + + @property + def is5_g_hz(self): + """Gets the is5_g_hz of this RadioStatisticsPerRadioMap. # noqa: E501 + + + :return: The is5_g_hz of this RadioStatisticsPerRadioMap. # noqa: E501 + :rtype: RadioStatistics + """ + return self._is5_g_hz + + @is5_g_hz.setter + def is5_g_hz(self, is5_g_hz): + """Sets the is5_g_hz of this RadioStatisticsPerRadioMap. + + + :param is5_g_hz: The is5_g_hz of this RadioStatisticsPerRadioMap. # noqa: E501 + :type: RadioStatistics + """ + + self._is5_g_hz = is5_g_hz + + @property + def is5_g_hz_u(self): + """Gets the is5_g_hz_u of this RadioStatisticsPerRadioMap. # noqa: E501 + + + :return: The is5_g_hz_u of this RadioStatisticsPerRadioMap. # noqa: E501 + :rtype: RadioStatistics + """ + return self._is5_g_hz_u + + @is5_g_hz_u.setter + def is5_g_hz_u(self, is5_g_hz_u): + """Sets the is5_g_hz_u of this RadioStatisticsPerRadioMap. + + + :param is5_g_hz_u: The is5_g_hz_u of this RadioStatisticsPerRadioMap. # noqa: E501 + :type: RadioStatistics + """ + + self._is5_g_hz_u = is5_g_hz_u + + @property + def is5_g_hz_l(self): + """Gets the is5_g_hz_l of this RadioStatisticsPerRadioMap. # noqa: E501 + + + :return: The is5_g_hz_l of this RadioStatisticsPerRadioMap. # noqa: E501 + :rtype: RadioStatistics + """ + return self._is5_g_hz_l + + @is5_g_hz_l.setter + def is5_g_hz_l(self, is5_g_hz_l): + """Sets the is5_g_hz_l of this RadioStatisticsPerRadioMap. + + + :param is5_g_hz_l: The is5_g_hz_l of this RadioStatisticsPerRadioMap. # noqa: E501 + :type: RadioStatistics + """ + + self._is5_g_hz_l = is5_g_hz_l + + @property + def is2dot4_g_hz(self): + """Gets the is2dot4_g_hz of this RadioStatisticsPerRadioMap. # noqa: E501 + + + :return: The is2dot4_g_hz of this RadioStatisticsPerRadioMap. # noqa: E501 + :rtype: RadioStatistics + """ + return self._is2dot4_g_hz + + @is2dot4_g_hz.setter + def is2dot4_g_hz(self, is2dot4_g_hz): + """Sets the is2dot4_g_hz of this RadioStatisticsPerRadioMap. + + + :param is2dot4_g_hz: The is2dot4_g_hz of this RadioStatisticsPerRadioMap. # noqa: E501 + :type: RadioStatistics + """ + + self._is2dot4_g_hz = is2dot4_g_hz + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(RadioStatisticsPerRadioMap, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, RadioStatisticsPerRadioMap): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/radio_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/radio_type.py new file mode 100644 index 000000000..b6b8bbf33 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/radio_type.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class RadioType(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + IS5GHZ = "is5GHz" + IS2DOT4GHZ = "is2dot4GHz" + IS5GHZU = "is5GHzU" + IS5GHZL = "is5GHzL" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """RadioType - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(RadioType, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, RadioType): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/radio_utilization.py b/libs/cloudapi/cloudsdk/swagger_client/models/radio_utilization.py new file mode 100644 index 000000000..10764d425 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/radio_utilization.py @@ -0,0 +1,292 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class RadioUtilization(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'assoc_client_tx': 'int', + 'unassoc_client_tx': 'int', + 'assoc_client_rx': 'int', + 'unassoc_client_rx': 'int', + 'non_wifi': 'int', + 'timestamp_seconds': 'int', + 'ibss': 'float', + 'un_available_capacity': 'float' + } + + attribute_map = { + 'assoc_client_tx': 'assocClientTx', + 'unassoc_client_tx': 'unassocClientTx', + 'assoc_client_rx': 'assocClientRx', + 'unassoc_client_rx': 'unassocClientRx', + 'non_wifi': 'nonWifi', + 'timestamp_seconds': 'timestampSeconds', + 'ibss': 'ibss', + 'un_available_capacity': 'unAvailableCapacity' + } + + def __init__(self, assoc_client_tx=None, unassoc_client_tx=None, assoc_client_rx=None, unassoc_client_rx=None, non_wifi=None, timestamp_seconds=None, ibss=None, un_available_capacity=None): # noqa: E501 + """RadioUtilization - a model defined in Swagger""" # noqa: E501 + self._assoc_client_tx = None + self._unassoc_client_tx = None + self._assoc_client_rx = None + self._unassoc_client_rx = None + self._non_wifi = None + self._timestamp_seconds = None + self._ibss = None + self._un_available_capacity = None + self.discriminator = None + if assoc_client_tx is not None: + self.assoc_client_tx = assoc_client_tx + if unassoc_client_tx is not None: + self.unassoc_client_tx = unassoc_client_tx + if assoc_client_rx is not None: + self.assoc_client_rx = assoc_client_rx + if unassoc_client_rx is not None: + self.unassoc_client_rx = unassoc_client_rx + if non_wifi is not None: + self.non_wifi = non_wifi + if timestamp_seconds is not None: + self.timestamp_seconds = timestamp_seconds + if ibss is not None: + self.ibss = ibss + if un_available_capacity is not None: + self.un_available_capacity = un_available_capacity + + @property + def assoc_client_tx(self): + """Gets the assoc_client_tx of this RadioUtilization. # noqa: E501 + + + :return: The assoc_client_tx of this RadioUtilization. # noqa: E501 + :rtype: int + """ + return self._assoc_client_tx + + @assoc_client_tx.setter + def assoc_client_tx(self, assoc_client_tx): + """Sets the assoc_client_tx of this RadioUtilization. + + + :param assoc_client_tx: The assoc_client_tx of this RadioUtilization. # noqa: E501 + :type: int + """ + + self._assoc_client_tx = assoc_client_tx + + @property + def unassoc_client_tx(self): + """Gets the unassoc_client_tx of this RadioUtilization. # noqa: E501 + + + :return: The unassoc_client_tx of this RadioUtilization. # noqa: E501 + :rtype: int + """ + return self._unassoc_client_tx + + @unassoc_client_tx.setter + def unassoc_client_tx(self, unassoc_client_tx): + """Sets the unassoc_client_tx of this RadioUtilization. + + + :param unassoc_client_tx: The unassoc_client_tx of this RadioUtilization. # noqa: E501 + :type: int + """ + + self._unassoc_client_tx = unassoc_client_tx + + @property + def assoc_client_rx(self): + """Gets the assoc_client_rx of this RadioUtilization. # noqa: E501 + + + :return: The assoc_client_rx of this RadioUtilization. # noqa: E501 + :rtype: int + """ + return self._assoc_client_rx + + @assoc_client_rx.setter + def assoc_client_rx(self, assoc_client_rx): + """Sets the assoc_client_rx of this RadioUtilization. + + + :param assoc_client_rx: The assoc_client_rx of this RadioUtilization. # noqa: E501 + :type: int + """ + + self._assoc_client_rx = assoc_client_rx + + @property + def unassoc_client_rx(self): + """Gets the unassoc_client_rx of this RadioUtilization. # noqa: E501 + + + :return: The unassoc_client_rx of this RadioUtilization. # noqa: E501 + :rtype: int + """ + return self._unassoc_client_rx + + @unassoc_client_rx.setter + def unassoc_client_rx(self, unassoc_client_rx): + """Sets the unassoc_client_rx of this RadioUtilization. + + + :param unassoc_client_rx: The unassoc_client_rx of this RadioUtilization. # noqa: E501 + :type: int + """ + + self._unassoc_client_rx = unassoc_client_rx + + @property + def non_wifi(self): + """Gets the non_wifi of this RadioUtilization. # noqa: E501 + + + :return: The non_wifi of this RadioUtilization. # noqa: E501 + :rtype: int + """ + return self._non_wifi + + @non_wifi.setter + def non_wifi(self, non_wifi): + """Sets the non_wifi of this RadioUtilization. + + + :param non_wifi: The non_wifi of this RadioUtilization. # noqa: E501 + :type: int + """ + + self._non_wifi = non_wifi + + @property + def timestamp_seconds(self): + """Gets the timestamp_seconds of this RadioUtilization. # noqa: E501 + + + :return: The timestamp_seconds of this RadioUtilization. # noqa: E501 + :rtype: int + """ + return self._timestamp_seconds + + @timestamp_seconds.setter + def timestamp_seconds(self, timestamp_seconds): + """Sets the timestamp_seconds of this RadioUtilization. + + + :param timestamp_seconds: The timestamp_seconds of this RadioUtilization. # noqa: E501 + :type: int + """ + + self._timestamp_seconds = timestamp_seconds + + @property + def ibss(self): + """Gets the ibss of this RadioUtilization. # noqa: E501 + + + :return: The ibss of this RadioUtilization. # noqa: E501 + :rtype: float + """ + return self._ibss + + @ibss.setter + def ibss(self, ibss): + """Sets the ibss of this RadioUtilization. + + + :param ibss: The ibss of this RadioUtilization. # noqa: E501 + :type: float + """ + + self._ibss = ibss + + @property + def un_available_capacity(self): + """Gets the un_available_capacity of this RadioUtilization. # noqa: E501 + + + :return: The un_available_capacity of this RadioUtilization. # noqa: E501 + :rtype: float + """ + return self._un_available_capacity + + @un_available_capacity.setter + def un_available_capacity(self, un_available_capacity): + """Sets the un_available_capacity of this RadioUtilization. + + + :param un_available_capacity: The un_available_capacity of this RadioUtilization. # noqa: E501 + :type: float + """ + + self._un_available_capacity = un_available_capacity + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(RadioUtilization, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, RadioUtilization): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/radio_utilization_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/radio_utilization_details.py new file mode 100644 index 000000000..d3dd952a1 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/radio_utilization_details.py @@ -0,0 +1,110 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class RadioUtilizationDetails(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'per_radio_details': 'RadioUtilizationPerRadioDetailsMap' + } + + attribute_map = { + 'per_radio_details': 'perRadioDetails' + } + + def __init__(self, per_radio_details=None): # noqa: E501 + """RadioUtilizationDetails - a model defined in Swagger""" # noqa: E501 + self._per_radio_details = None + self.discriminator = None + if per_radio_details is not None: + self.per_radio_details = per_radio_details + + @property + def per_radio_details(self): + """Gets the per_radio_details of this RadioUtilizationDetails. # noqa: E501 + + + :return: The per_radio_details of this RadioUtilizationDetails. # noqa: E501 + :rtype: RadioUtilizationPerRadioDetailsMap + """ + return self._per_radio_details + + @per_radio_details.setter + def per_radio_details(self, per_radio_details): + """Sets the per_radio_details of this RadioUtilizationDetails. + + + :param per_radio_details: The per_radio_details of this RadioUtilizationDetails. # noqa: E501 + :type: RadioUtilizationPerRadioDetailsMap + """ + + self._per_radio_details = per_radio_details + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(RadioUtilizationDetails, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, RadioUtilizationDetails): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/radio_utilization_per_radio_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/radio_utilization_per_radio_details.py new file mode 100644 index 000000000..1f95b5db1 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/radio_utilization_per_radio_details.py @@ -0,0 +1,214 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class RadioUtilizationPerRadioDetails(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'avg_assoc_client_tx': 'int', + 'avg_unassoc_client_tx': 'int', + 'avg_assoc_client_rx': 'int', + 'avg_unassoc_client_rx': 'int', + 'avg_non_wifi': 'int' + } + + attribute_map = { + 'avg_assoc_client_tx': 'avgAssocClientTx', + 'avg_unassoc_client_tx': 'avgUnassocClientTx', + 'avg_assoc_client_rx': 'avgAssocClientRx', + 'avg_unassoc_client_rx': 'avgUnassocClientRx', + 'avg_non_wifi': 'avgNonWifi' + } + + def __init__(self, avg_assoc_client_tx=None, avg_unassoc_client_tx=None, avg_assoc_client_rx=None, avg_unassoc_client_rx=None, avg_non_wifi=None): # noqa: E501 + """RadioUtilizationPerRadioDetails - a model defined in Swagger""" # noqa: E501 + self._avg_assoc_client_tx = None + self._avg_unassoc_client_tx = None + self._avg_assoc_client_rx = None + self._avg_unassoc_client_rx = None + self._avg_non_wifi = None + self.discriminator = None + if avg_assoc_client_tx is not None: + self.avg_assoc_client_tx = avg_assoc_client_tx + if avg_unassoc_client_tx is not None: + self.avg_unassoc_client_tx = avg_unassoc_client_tx + if avg_assoc_client_rx is not None: + self.avg_assoc_client_rx = avg_assoc_client_rx + if avg_unassoc_client_rx is not None: + self.avg_unassoc_client_rx = avg_unassoc_client_rx + if avg_non_wifi is not None: + self.avg_non_wifi = avg_non_wifi + + @property + def avg_assoc_client_tx(self): + """Gets the avg_assoc_client_tx of this RadioUtilizationPerRadioDetails. # noqa: E501 + + + :return: The avg_assoc_client_tx of this RadioUtilizationPerRadioDetails. # noqa: E501 + :rtype: int + """ + return self._avg_assoc_client_tx + + @avg_assoc_client_tx.setter + def avg_assoc_client_tx(self, avg_assoc_client_tx): + """Sets the avg_assoc_client_tx of this RadioUtilizationPerRadioDetails. + + + :param avg_assoc_client_tx: The avg_assoc_client_tx of this RadioUtilizationPerRadioDetails. # noqa: E501 + :type: int + """ + + self._avg_assoc_client_tx = avg_assoc_client_tx + + @property + def avg_unassoc_client_tx(self): + """Gets the avg_unassoc_client_tx of this RadioUtilizationPerRadioDetails. # noqa: E501 + + + :return: The avg_unassoc_client_tx of this RadioUtilizationPerRadioDetails. # noqa: E501 + :rtype: int + """ + return self._avg_unassoc_client_tx + + @avg_unassoc_client_tx.setter + def avg_unassoc_client_tx(self, avg_unassoc_client_tx): + """Sets the avg_unassoc_client_tx of this RadioUtilizationPerRadioDetails. + + + :param avg_unassoc_client_tx: The avg_unassoc_client_tx of this RadioUtilizationPerRadioDetails. # noqa: E501 + :type: int + """ + + self._avg_unassoc_client_tx = avg_unassoc_client_tx + + @property + def avg_assoc_client_rx(self): + """Gets the avg_assoc_client_rx of this RadioUtilizationPerRadioDetails. # noqa: E501 + + + :return: The avg_assoc_client_rx of this RadioUtilizationPerRadioDetails. # noqa: E501 + :rtype: int + """ + return self._avg_assoc_client_rx + + @avg_assoc_client_rx.setter + def avg_assoc_client_rx(self, avg_assoc_client_rx): + """Sets the avg_assoc_client_rx of this RadioUtilizationPerRadioDetails. + + + :param avg_assoc_client_rx: The avg_assoc_client_rx of this RadioUtilizationPerRadioDetails. # noqa: E501 + :type: int + """ + + self._avg_assoc_client_rx = avg_assoc_client_rx + + @property + def avg_unassoc_client_rx(self): + """Gets the avg_unassoc_client_rx of this RadioUtilizationPerRadioDetails. # noqa: E501 + + + :return: The avg_unassoc_client_rx of this RadioUtilizationPerRadioDetails. # noqa: E501 + :rtype: int + """ + return self._avg_unassoc_client_rx + + @avg_unassoc_client_rx.setter + def avg_unassoc_client_rx(self, avg_unassoc_client_rx): + """Sets the avg_unassoc_client_rx of this RadioUtilizationPerRadioDetails. + + + :param avg_unassoc_client_rx: The avg_unassoc_client_rx of this RadioUtilizationPerRadioDetails. # noqa: E501 + :type: int + """ + + self._avg_unassoc_client_rx = avg_unassoc_client_rx + + @property + def avg_non_wifi(self): + """Gets the avg_non_wifi of this RadioUtilizationPerRadioDetails. # noqa: E501 + + + :return: The avg_non_wifi of this RadioUtilizationPerRadioDetails. # noqa: E501 + :rtype: int + """ + return self._avg_non_wifi + + @avg_non_wifi.setter + def avg_non_wifi(self, avg_non_wifi): + """Sets the avg_non_wifi of this RadioUtilizationPerRadioDetails. + + + :param avg_non_wifi: The avg_non_wifi of this RadioUtilizationPerRadioDetails. # noqa: E501 + :type: int + """ + + self._avg_non_wifi = avg_non_wifi + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(RadioUtilizationPerRadioDetails, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, RadioUtilizationPerRadioDetails): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/radio_utilization_per_radio_details_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/radio_utilization_per_radio_details_map.py new file mode 100644 index 000000000..7a526e901 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/radio_utilization_per_radio_details_map.py @@ -0,0 +1,188 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class RadioUtilizationPerRadioDetailsMap(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'is5_g_hz': 'RadioUtilizationPerRadioDetails', + 'is5_g_hz_u': 'RadioUtilizationPerRadioDetails', + 'is5_g_hz_l': 'RadioUtilizationPerRadioDetails', + 'is2dot4_g_hz': 'RadioUtilizationPerRadioDetails' + } + + attribute_map = { + 'is5_g_hz': 'is5GHz', + 'is5_g_hz_u': 'is5GHzU', + 'is5_g_hz_l': 'is5GHzL', + 'is2dot4_g_hz': 'is2dot4GHz' + } + + def __init__(self, is5_g_hz=None, is5_g_hz_u=None, is5_g_hz_l=None, is2dot4_g_hz=None): # noqa: E501 + """RadioUtilizationPerRadioDetailsMap - a model defined in Swagger""" # noqa: E501 + self._is5_g_hz = None + self._is5_g_hz_u = None + self._is5_g_hz_l = None + self._is2dot4_g_hz = None + self.discriminator = None + if is5_g_hz is not None: + self.is5_g_hz = is5_g_hz + if is5_g_hz_u is not None: + self.is5_g_hz_u = is5_g_hz_u + if is5_g_hz_l is not None: + self.is5_g_hz_l = is5_g_hz_l + if is2dot4_g_hz is not None: + self.is2dot4_g_hz = is2dot4_g_hz + + @property + def is5_g_hz(self): + """Gets the is5_g_hz of this RadioUtilizationPerRadioDetailsMap. # noqa: E501 + + + :return: The is5_g_hz of this RadioUtilizationPerRadioDetailsMap. # noqa: E501 + :rtype: RadioUtilizationPerRadioDetails + """ + return self._is5_g_hz + + @is5_g_hz.setter + def is5_g_hz(self, is5_g_hz): + """Sets the is5_g_hz of this RadioUtilizationPerRadioDetailsMap. + + + :param is5_g_hz: The is5_g_hz of this RadioUtilizationPerRadioDetailsMap. # noqa: E501 + :type: RadioUtilizationPerRadioDetails + """ + + self._is5_g_hz = is5_g_hz + + @property + def is5_g_hz_u(self): + """Gets the is5_g_hz_u of this RadioUtilizationPerRadioDetailsMap. # noqa: E501 + + + :return: The is5_g_hz_u of this RadioUtilizationPerRadioDetailsMap. # noqa: E501 + :rtype: RadioUtilizationPerRadioDetails + """ + return self._is5_g_hz_u + + @is5_g_hz_u.setter + def is5_g_hz_u(self, is5_g_hz_u): + """Sets the is5_g_hz_u of this RadioUtilizationPerRadioDetailsMap. + + + :param is5_g_hz_u: The is5_g_hz_u of this RadioUtilizationPerRadioDetailsMap. # noqa: E501 + :type: RadioUtilizationPerRadioDetails + """ + + self._is5_g_hz_u = is5_g_hz_u + + @property + def is5_g_hz_l(self): + """Gets the is5_g_hz_l of this RadioUtilizationPerRadioDetailsMap. # noqa: E501 + + + :return: The is5_g_hz_l of this RadioUtilizationPerRadioDetailsMap. # noqa: E501 + :rtype: RadioUtilizationPerRadioDetails + """ + return self._is5_g_hz_l + + @is5_g_hz_l.setter + def is5_g_hz_l(self, is5_g_hz_l): + """Sets the is5_g_hz_l of this RadioUtilizationPerRadioDetailsMap. + + + :param is5_g_hz_l: The is5_g_hz_l of this RadioUtilizationPerRadioDetailsMap. # noqa: E501 + :type: RadioUtilizationPerRadioDetails + """ + + self._is5_g_hz_l = is5_g_hz_l + + @property + def is2dot4_g_hz(self): + """Gets the is2dot4_g_hz of this RadioUtilizationPerRadioDetailsMap. # noqa: E501 + + + :return: The is2dot4_g_hz of this RadioUtilizationPerRadioDetailsMap. # noqa: E501 + :rtype: RadioUtilizationPerRadioDetails + """ + return self._is2dot4_g_hz + + @is2dot4_g_hz.setter + def is2dot4_g_hz(self, is2dot4_g_hz): + """Sets the is2dot4_g_hz of this RadioUtilizationPerRadioDetailsMap. + + + :param is2dot4_g_hz: The is2dot4_g_hz of this RadioUtilizationPerRadioDetailsMap. # noqa: E501 + :type: RadioUtilizationPerRadioDetails + """ + + self._is2dot4_g_hz = is2dot4_g_hz + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(RadioUtilizationPerRadioDetailsMap, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, RadioUtilizationPerRadioDetailsMap): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/radio_utilization_report.py b/libs/cloudapi/cloudsdk/swagger_client/models/radio_utilization_report.py new file mode 100644 index 000000000..616d1e519 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/radio_utilization_report.py @@ -0,0 +1,227 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class RadioUtilizationReport(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'status_data_type': 'str', + 'radio_utilization': 'EquipmentPerRadioUtilizationDetailsMap', + 'capacity_details': 'EquipmentCapacityDetailsMap', + 'avg_noise_floor': 'IntegerPerRadioTypeMap' + } + + attribute_map = { + 'model_type': 'model_type', + 'status_data_type': 'statusDataType', + 'radio_utilization': 'radioUtilization', + 'capacity_details': 'capacityDetails', + 'avg_noise_floor': 'avgNoiseFloor' + } + + def __init__(self, model_type=None, status_data_type=None, radio_utilization=None, capacity_details=None, avg_noise_floor=None): # noqa: E501 + """RadioUtilizationReport - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._status_data_type = None + self._radio_utilization = None + self._capacity_details = None + self._avg_noise_floor = None + self.discriminator = None + self.model_type = model_type + if status_data_type is not None: + self.status_data_type = status_data_type + if radio_utilization is not None: + self.radio_utilization = radio_utilization + if capacity_details is not None: + self.capacity_details = capacity_details + if avg_noise_floor is not None: + self.avg_noise_floor = avg_noise_floor + + @property + def model_type(self): + """Gets the model_type of this RadioUtilizationReport. # noqa: E501 + + + :return: The model_type of this RadioUtilizationReport. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this RadioUtilizationReport. + + + :param model_type: The model_type of this RadioUtilizationReport. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + allowed_values = ["RadioUtilizationReport"] # noqa: E501 + if model_type not in allowed_values: + raise ValueError( + "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 + .format(model_type, allowed_values) + ) + + self._model_type = model_type + + @property + def status_data_type(self): + """Gets the status_data_type of this RadioUtilizationReport. # noqa: E501 + + + :return: The status_data_type of this RadioUtilizationReport. # noqa: E501 + :rtype: str + """ + return self._status_data_type + + @status_data_type.setter + def status_data_type(self, status_data_type): + """Sets the status_data_type of this RadioUtilizationReport. + + + :param status_data_type: The status_data_type of this RadioUtilizationReport. # noqa: E501 + :type: str + """ + allowed_values = ["RADIO_UTILIZATION"] # noqa: E501 + if status_data_type not in allowed_values: + raise ValueError( + "Invalid value for `status_data_type` ({0}), must be one of {1}" # noqa: E501 + .format(status_data_type, allowed_values) + ) + + self._status_data_type = status_data_type + + @property + def radio_utilization(self): + """Gets the radio_utilization of this RadioUtilizationReport. # noqa: E501 + + + :return: The radio_utilization of this RadioUtilizationReport. # noqa: E501 + :rtype: EquipmentPerRadioUtilizationDetailsMap + """ + return self._radio_utilization + + @radio_utilization.setter + def radio_utilization(self, radio_utilization): + """Sets the radio_utilization of this RadioUtilizationReport. + + + :param radio_utilization: The radio_utilization of this RadioUtilizationReport. # noqa: E501 + :type: EquipmentPerRadioUtilizationDetailsMap + """ + + self._radio_utilization = radio_utilization + + @property + def capacity_details(self): + """Gets the capacity_details of this RadioUtilizationReport. # noqa: E501 + + + :return: The capacity_details of this RadioUtilizationReport. # noqa: E501 + :rtype: EquipmentCapacityDetailsMap + """ + return self._capacity_details + + @capacity_details.setter + def capacity_details(self, capacity_details): + """Sets the capacity_details of this RadioUtilizationReport. + + + :param capacity_details: The capacity_details of this RadioUtilizationReport. # noqa: E501 + :type: EquipmentCapacityDetailsMap + """ + + self._capacity_details = capacity_details + + @property + def avg_noise_floor(self): + """Gets the avg_noise_floor of this RadioUtilizationReport. # noqa: E501 + + + :return: The avg_noise_floor of this RadioUtilizationReport. # noqa: E501 + :rtype: IntegerPerRadioTypeMap + """ + return self._avg_noise_floor + + @avg_noise_floor.setter + def avg_noise_floor(self, avg_noise_floor): + """Sets the avg_noise_floor of this RadioUtilizationReport. + + + :param avg_noise_floor: The avg_noise_floor of this RadioUtilizationReport. # noqa: E501 + :type: IntegerPerRadioTypeMap + """ + + self._avg_noise_floor = avg_noise_floor + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(RadioUtilizationReport, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, RadioUtilizationReport): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/radius_authentication_method.py b/libs/cloudapi/cloudsdk/swagger_client/models/radius_authentication_method.py new file mode 100644 index 000000000..febf57a07 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/radius_authentication_method.py @@ -0,0 +1,91 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class RadiusAuthenticationMethod(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + PAP = "PAP" + CHAP = "CHAP" + MSCHAPV2 = "MSCHAPv2" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """RadiusAuthenticationMethod - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(RadiusAuthenticationMethod, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, RadiusAuthenticationMethod): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/radius_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/radius_details.py new file mode 100644 index 000000000..46a3b69c8 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/radius_details.py @@ -0,0 +1,136 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class RadiusDetails(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'status': 'StatusCode', + 'radius_server_details': 'list[RadiusServerDetails]' + } + + attribute_map = { + 'status': 'status', + 'radius_server_details': 'radiusServerDetails' + } + + def __init__(self, status=None, radius_server_details=None): # noqa: E501 + """RadiusDetails - a model defined in Swagger""" # noqa: E501 + self._status = None + self._radius_server_details = None + self.discriminator = None + if status is not None: + self.status = status + if radius_server_details is not None: + self.radius_server_details = radius_server_details + + @property + def status(self): + """Gets the status of this RadiusDetails. # noqa: E501 + + + :return: The status of this RadiusDetails. # noqa: E501 + :rtype: StatusCode + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this RadiusDetails. + + + :param status: The status of this RadiusDetails. # noqa: E501 + :type: StatusCode + """ + + self._status = status + + @property + def radius_server_details(self): + """Gets the radius_server_details of this RadiusDetails. # noqa: E501 + + + :return: The radius_server_details of this RadiusDetails. # noqa: E501 + :rtype: list[RadiusServerDetails] + """ + return self._radius_server_details + + @radius_server_details.setter + def radius_server_details(self, radius_server_details): + """Sets the radius_server_details of this RadiusDetails. + + + :param radius_server_details: The radius_server_details of this RadiusDetails. # noqa: E501 + :type: list[RadiusServerDetails] + """ + + self._radius_server_details = radius_server_details + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(RadiusDetails, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, RadiusDetails): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/radius_metrics.py b/libs/cloudapi/cloudsdk/swagger_client/models/radius_metrics.py new file mode 100644 index 000000000..c4448e8b4 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/radius_metrics.py @@ -0,0 +1,162 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class RadiusMetrics(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'server_ip': 'str', + 'number_of_no_answer': 'int', + 'latency_ms': 'MinMaxAvgValueInt' + } + + attribute_map = { + 'server_ip': 'serverIp', + 'number_of_no_answer': 'numberOfNoAnswer', + 'latency_ms': 'latencyMs' + } + + def __init__(self, server_ip=None, number_of_no_answer=None, latency_ms=None): # noqa: E501 + """RadiusMetrics - a model defined in Swagger""" # noqa: E501 + self._server_ip = None + self._number_of_no_answer = None + self._latency_ms = None + self.discriminator = None + if server_ip is not None: + self.server_ip = server_ip + if number_of_no_answer is not None: + self.number_of_no_answer = number_of_no_answer + if latency_ms is not None: + self.latency_ms = latency_ms + + @property + def server_ip(self): + """Gets the server_ip of this RadiusMetrics. # noqa: E501 + + + :return: The server_ip of this RadiusMetrics. # noqa: E501 + :rtype: str + """ + return self._server_ip + + @server_ip.setter + def server_ip(self, server_ip): + """Sets the server_ip of this RadiusMetrics. + + + :param server_ip: The server_ip of this RadiusMetrics. # noqa: E501 + :type: str + """ + + self._server_ip = server_ip + + @property + def number_of_no_answer(self): + """Gets the number_of_no_answer of this RadiusMetrics. # noqa: E501 + + + :return: The number_of_no_answer of this RadiusMetrics. # noqa: E501 + :rtype: int + """ + return self._number_of_no_answer + + @number_of_no_answer.setter + def number_of_no_answer(self, number_of_no_answer): + """Sets the number_of_no_answer of this RadiusMetrics. + + + :param number_of_no_answer: The number_of_no_answer of this RadiusMetrics. # noqa: E501 + :type: int + """ + + self._number_of_no_answer = number_of_no_answer + + @property + def latency_ms(self): + """Gets the latency_ms of this RadiusMetrics. # noqa: E501 + + + :return: The latency_ms of this RadiusMetrics. # noqa: E501 + :rtype: MinMaxAvgValueInt + """ + return self._latency_ms + + @latency_ms.setter + def latency_ms(self, latency_ms): + """Sets the latency_ms of this RadiusMetrics. + + + :param latency_ms: The latency_ms of this RadiusMetrics. # noqa: E501 + :type: MinMaxAvgValueInt + """ + + self._latency_ms = latency_ms + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(RadiusMetrics, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, RadiusMetrics): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/radius_nas_configuration.py b/libs/cloudapi/cloudsdk/swagger_client/models/radius_nas_configuration.py new file mode 100644 index 000000000..09ccf85a7 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/radius_nas_configuration.py @@ -0,0 +1,236 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class RadiusNasConfiguration(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'nas_client_id': 'str', + 'nas_client_ip': 'str', + 'user_defined_nas_id': 'str', + 'user_defined_nas_ip': 'str', + 'operator_id': 'str' + } + + attribute_map = { + 'nas_client_id': 'nasClientId', + 'nas_client_ip': 'nasClientIp', + 'user_defined_nas_id': 'userDefinedNasId', + 'user_defined_nas_ip': 'userDefinedNasIp', + 'operator_id': 'operatorId' + } + + def __init__(self, nas_client_id='DEFAULT', nas_client_ip='WAN_IP', user_defined_nas_id=None, user_defined_nas_ip=None, operator_id=None): # noqa: E501 + """RadiusNasConfiguration - a model defined in Swagger""" # noqa: E501 + self._nas_client_id = None + self._nas_client_ip = None + self._user_defined_nas_id = None + self._user_defined_nas_ip = None + self._operator_id = None + self.discriminator = None + if nas_client_id is not None: + self.nas_client_id = nas_client_id + if nas_client_ip is not None: + self.nas_client_ip = nas_client_ip + if user_defined_nas_id is not None: + self.user_defined_nas_id = user_defined_nas_id + if user_defined_nas_ip is not None: + self.user_defined_nas_ip = user_defined_nas_ip + if operator_id is not None: + self.operator_id = operator_id + + @property + def nas_client_id(self): + """Gets the nas_client_id of this RadiusNasConfiguration. # noqa: E501 + + String identifying the NAS (AP) – Default shall be set to the AP BASE MAC Address for the WAN Interface # noqa: E501 + + :return: The nas_client_id of this RadiusNasConfiguration. # noqa: E501 + :rtype: str + """ + return self._nas_client_id + + @nas_client_id.setter + def nas_client_id(self, nas_client_id): + """Sets the nas_client_id of this RadiusNasConfiguration. + + String identifying the NAS (AP) – Default shall be set to the AP BASE MAC Address for the WAN Interface # noqa: E501 + + :param nas_client_id: The nas_client_id of this RadiusNasConfiguration. # noqa: E501 + :type: str + """ + allowed_values = ["DEFAULT", "USER_DEFINED"] # noqa: E501 + if nas_client_id not in allowed_values: + raise ValueError( + "Invalid value for `nas_client_id` ({0}), must be one of {1}" # noqa: E501 + .format(nas_client_id, allowed_values) + ) + + self._nas_client_id = nas_client_id + + @property + def nas_client_ip(self): + """Gets the nas_client_ip of this RadiusNasConfiguration. # noqa: E501 + + NAS-IP AVP - Default it shall be the WAN IP address of the AP when AP communicates with RADIUS server directly. # noqa: E501 + + :return: The nas_client_ip of this RadiusNasConfiguration. # noqa: E501 + :rtype: str + """ + return self._nas_client_ip + + @nas_client_ip.setter + def nas_client_ip(self, nas_client_ip): + """Sets the nas_client_ip of this RadiusNasConfiguration. + + NAS-IP AVP - Default it shall be the WAN IP address of the AP when AP communicates with RADIUS server directly. # noqa: E501 + + :param nas_client_ip: The nas_client_ip of this RadiusNasConfiguration. # noqa: E501 + :type: str + """ + allowed_values = ["USER_DEFINED", "WAN_IP", "PROXY_IP"] # noqa: E501 + if nas_client_ip not in allowed_values: + raise ValueError( + "Invalid value for `nas_client_ip` ({0}), must be one of {1}" # noqa: E501 + .format(nas_client_ip, allowed_values) + ) + + self._nas_client_ip = nas_client_ip + + @property + def user_defined_nas_id(self): + """Gets the user_defined_nas_id of this RadiusNasConfiguration. # noqa: E501 + + user entered string if the nasClientId is 'USER_DEFINED'. This should not be enabled and will not be passed to the AP unless the nasClientId is USER_DEFINED. # noqa: E501 + + :return: The user_defined_nas_id of this RadiusNasConfiguration. # noqa: E501 + :rtype: str + """ + return self._user_defined_nas_id + + @user_defined_nas_id.setter + def user_defined_nas_id(self, user_defined_nas_id): + """Sets the user_defined_nas_id of this RadiusNasConfiguration. + + user entered string if the nasClientId is 'USER_DEFINED'. This should not be enabled and will not be passed to the AP unless the nasClientId is USER_DEFINED. # noqa: E501 + + :param user_defined_nas_id: The user_defined_nas_id of this RadiusNasConfiguration. # noqa: E501 + :type: str + """ + + self._user_defined_nas_id = user_defined_nas_id + + @property + def user_defined_nas_ip(self): + """Gets the user_defined_nas_ip of this RadiusNasConfiguration. # noqa: E501 + + user entered IP address if the nasClientIp is 'USER_DEFINED'. This should not be enabled and will not be passed to the AP unless the nasClientIp is USER_DEFINED. # noqa: E501 + + :return: The user_defined_nas_ip of this RadiusNasConfiguration. # noqa: E501 + :rtype: str + """ + return self._user_defined_nas_ip + + @user_defined_nas_ip.setter + def user_defined_nas_ip(self, user_defined_nas_ip): + """Sets the user_defined_nas_ip of this RadiusNasConfiguration. + + user entered IP address if the nasClientIp is 'USER_DEFINED'. This should not be enabled and will not be passed to the AP unless the nasClientIp is USER_DEFINED. # noqa: E501 + + :param user_defined_nas_ip: The user_defined_nas_ip of this RadiusNasConfiguration. # noqa: E501 + :type: str + """ + + self._user_defined_nas_ip = user_defined_nas_ip + + @property + def operator_id(self): + """Gets the operator_id of this RadiusNasConfiguration. # noqa: E501 + + Carries the operator namespace identifier and the operator name. The operator name is combined with the namespace identifier to uniquely identify the owner of an access network. The value of the Operator-Name is a non-NULL terminated text. This is not to be confused with the Passpoint Operator Domain # noqa: E501 + + :return: The operator_id of this RadiusNasConfiguration. # noqa: E501 + :rtype: str + """ + return self._operator_id + + @operator_id.setter + def operator_id(self, operator_id): + """Sets the operator_id of this RadiusNasConfiguration. + + Carries the operator namespace identifier and the operator name. The operator name is combined with the namespace identifier to uniquely identify the owner of an access network. The value of the Operator-Name is a non-NULL terminated text. This is not to be confused with the Passpoint Operator Domain # noqa: E501 + + :param operator_id: The operator_id of this RadiusNasConfiguration. # noqa: E501 + :type: str + """ + + self._operator_id = operator_id + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(RadiusNasConfiguration, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, RadiusNasConfiguration): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/radius_profile.py b/libs/cloudapi/cloudsdk/swagger_client/models/radius_profile.py new file mode 100644 index 000000000..8abf5b5cf --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/radius_profile.py @@ -0,0 +1,226 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six +from swagger_client.models.profile_details import ProfileDetails # noqa: F401,E501 + +class RadiusProfile(ProfileDetails): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'primary_radius_auth_server': 'RadiusServer', + 'secondary_radius_auth_server': 'RadiusServer', + 'primary_radius_accounting_server': 'RadiusServer', + 'secondary_radius_accounting_server': 'RadiusServer' + } + if hasattr(ProfileDetails, "swagger_types"): + swagger_types.update(ProfileDetails.swagger_types) + + attribute_map = { + 'model_type': 'model_type', + 'primary_radius_auth_server': 'primaryRadiusAuthServer', + 'secondary_radius_auth_server': 'secondaryRadiusAuthServer', + 'primary_radius_accounting_server': 'primaryRadiusAccountingServer', + 'secondary_radius_accounting_server': 'secondaryRadiusAccountingServer' + } + if hasattr(ProfileDetails, "attribute_map"): + attribute_map.update(ProfileDetails.attribute_map) + + def __init__(self, model_type=None, primary_radius_auth_server=None, secondary_radius_auth_server=None, primary_radius_accounting_server=None, secondary_radius_accounting_server=None, *args, **kwargs): # noqa: E501 + """RadiusProfile - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._primary_radius_auth_server = None + self._secondary_radius_auth_server = None + self._primary_radius_accounting_server = None + self._secondary_radius_accounting_server = None + self.discriminator = None + if model_type is not None: + self.model_type = model_type + if primary_radius_auth_server is not None: + self.primary_radius_auth_server = primary_radius_auth_server + if secondary_radius_auth_server is not None: + self.secondary_radius_auth_server = secondary_radius_auth_server + if primary_radius_accounting_server is not None: + self.primary_radius_accounting_server = primary_radius_accounting_server + if secondary_radius_accounting_server is not None: + self.secondary_radius_accounting_server = secondary_radius_accounting_server + ProfileDetails.__init__(self, *args, **kwargs) + + @property + def model_type(self): + """Gets the model_type of this RadiusProfile. # noqa: E501 + + + :return: The model_type of this RadiusProfile. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this RadiusProfile. + + + :param model_type: The model_type of this RadiusProfile. # noqa: E501 + :type: str + """ + allowed_values = ["RadiusProfile"] # noqa: E501 + if model_type not in allowed_values: + raise ValueError( + "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 + .format(model_type, allowed_values) + ) + + self._model_type = model_type + + @property + def primary_radius_auth_server(self): + """Gets the primary_radius_auth_server of this RadiusProfile. # noqa: E501 + + + :return: The primary_radius_auth_server of this RadiusProfile. # noqa: E501 + :rtype: RadiusServer + """ + return self._primary_radius_auth_server + + @primary_radius_auth_server.setter + def primary_radius_auth_server(self, primary_radius_auth_server): + """Sets the primary_radius_auth_server of this RadiusProfile. + + + :param primary_radius_auth_server: The primary_radius_auth_server of this RadiusProfile. # noqa: E501 + :type: RadiusServer + """ + + self._primary_radius_auth_server = primary_radius_auth_server + + @property + def secondary_radius_auth_server(self): + """Gets the secondary_radius_auth_server of this RadiusProfile. # noqa: E501 + + + :return: The secondary_radius_auth_server of this RadiusProfile. # noqa: E501 + :rtype: RadiusServer + """ + return self._secondary_radius_auth_server + + @secondary_radius_auth_server.setter + def secondary_radius_auth_server(self, secondary_radius_auth_server): + """Sets the secondary_radius_auth_server of this RadiusProfile. + + + :param secondary_radius_auth_server: The secondary_radius_auth_server of this RadiusProfile. # noqa: E501 + :type: RadiusServer + """ + + self._secondary_radius_auth_server = secondary_radius_auth_server + + @property + def primary_radius_accounting_server(self): + """Gets the primary_radius_accounting_server of this RadiusProfile. # noqa: E501 + + + :return: The primary_radius_accounting_server of this RadiusProfile. # noqa: E501 + :rtype: RadiusServer + """ + return self._primary_radius_accounting_server + + @primary_radius_accounting_server.setter + def primary_radius_accounting_server(self, primary_radius_accounting_server): + """Sets the primary_radius_accounting_server of this RadiusProfile. + + + :param primary_radius_accounting_server: The primary_radius_accounting_server of this RadiusProfile. # noqa: E501 + :type: RadiusServer + """ + + self._primary_radius_accounting_server = primary_radius_accounting_server + + @property + def secondary_radius_accounting_server(self): + """Gets the secondary_radius_accounting_server of this RadiusProfile. # noqa: E501 + + + :return: The secondary_radius_accounting_server of this RadiusProfile. # noqa: E501 + :rtype: RadiusServer + """ + return self._secondary_radius_accounting_server + + @secondary_radius_accounting_server.setter + def secondary_radius_accounting_server(self, secondary_radius_accounting_server): + """Sets the secondary_radius_accounting_server of this RadiusProfile. + + + :param secondary_radius_accounting_server: The secondary_radius_accounting_server of this RadiusProfile. # noqa: E501 + :type: RadiusServer + """ + + self._secondary_radius_accounting_server = secondary_radius_accounting_server + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(RadiusProfile, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, RadiusProfile): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/radius_server.py b/libs/cloudapi/cloudsdk/swagger_client/models/radius_server.py new file mode 100644 index 000000000..a0a42e1b4 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/radius_server.py @@ -0,0 +1,188 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class RadiusServer(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'ip_address': 'str', + 'secret': 'str', + 'port': 'int', + 'timeout': 'int' + } + + attribute_map = { + 'ip_address': 'ipAddress', + 'secret': 'secret', + 'port': 'port', + 'timeout': 'timeout' + } + + def __init__(self, ip_address=None, secret=None, port=None, timeout=None): # noqa: E501 + """RadiusServer - a model defined in Swagger""" # noqa: E501 + self._ip_address = None + self._secret = None + self._port = None + self._timeout = None + self.discriminator = None + if ip_address is not None: + self.ip_address = ip_address + if secret is not None: + self.secret = secret + if port is not None: + self.port = port + if timeout is not None: + self.timeout = timeout + + @property + def ip_address(self): + """Gets the ip_address of this RadiusServer. # noqa: E501 + + + :return: The ip_address of this RadiusServer. # noqa: E501 + :rtype: str + """ + return self._ip_address + + @ip_address.setter + def ip_address(self, ip_address): + """Sets the ip_address of this RadiusServer. + + + :param ip_address: The ip_address of this RadiusServer. # noqa: E501 + :type: str + """ + + self._ip_address = ip_address + + @property + def secret(self): + """Gets the secret of this RadiusServer. # noqa: E501 + + + :return: The secret of this RadiusServer. # noqa: E501 + :rtype: str + """ + return self._secret + + @secret.setter + def secret(self, secret): + """Sets the secret of this RadiusServer. + + + :param secret: The secret of this RadiusServer. # noqa: E501 + :type: str + """ + + self._secret = secret + + @property + def port(self): + """Gets the port of this RadiusServer. # noqa: E501 + + + :return: The port of this RadiusServer. # noqa: E501 + :rtype: int + """ + return self._port + + @port.setter + def port(self, port): + """Sets the port of this RadiusServer. + + + :param port: The port of this RadiusServer. # noqa: E501 + :type: int + """ + + self._port = port + + @property + def timeout(self): + """Gets the timeout of this RadiusServer. # noqa: E501 + + + :return: The timeout of this RadiusServer. # noqa: E501 + :rtype: int + """ + return self._timeout + + @timeout.setter + def timeout(self, timeout): + """Sets the timeout of this RadiusServer. + + + :param timeout: The timeout of this RadiusServer. # noqa: E501 + :type: int + """ + + self._timeout = timeout + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(RadiusServer, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, RadiusServer): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/radius_server_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/radius_server_details.py new file mode 100644 index 000000000..81f7cf8e1 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/radius_server_details.py @@ -0,0 +1,136 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class RadiusServerDetails(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'address': 'str', + 'radius_latency': 'MinMaxAvgValueInt' + } + + attribute_map = { + 'address': 'address', + 'radius_latency': 'radiusLatency' + } + + def __init__(self, address=None, radius_latency=None): # noqa: E501 + """RadiusServerDetails - a model defined in Swagger""" # noqa: E501 + self._address = None + self._radius_latency = None + self.discriminator = None + if address is not None: + self.address = address + if radius_latency is not None: + self.radius_latency = radius_latency + + @property + def address(self): + """Gets the address of this RadiusServerDetails. # noqa: E501 + + + :return: The address of this RadiusServerDetails. # noqa: E501 + :rtype: str + """ + return self._address + + @address.setter + def address(self, address): + """Sets the address of this RadiusServerDetails. + + + :param address: The address of this RadiusServerDetails. # noqa: E501 + :type: str + """ + + self._address = address + + @property + def radius_latency(self): + """Gets the radius_latency of this RadiusServerDetails. # noqa: E501 + + + :return: The radius_latency of this RadiusServerDetails. # noqa: E501 + :rtype: MinMaxAvgValueInt + """ + return self._radius_latency + + @radius_latency.setter + def radius_latency(self, radius_latency): + """Sets the radius_latency of this RadiusServerDetails. + + + :param radius_latency: The radius_latency of this RadiusServerDetails. # noqa: E501 + :type: MinMaxAvgValueInt + """ + + self._radius_latency = radius_latency + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(RadiusServerDetails, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, RadiusServerDetails): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/real_time_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/real_time_event.py new file mode 100644 index 000000000..b547fad62 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/real_time_event.py @@ -0,0 +1,215 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class RealTimeEvent(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'all_of': 'SystemEvent', + 'event_timestamp': 'int', + 'customer_id': 'int', + 'equipment_id': 'int' + } + + attribute_map = { + 'model_type': 'model_type', + 'all_of': 'allOf', + 'event_timestamp': 'eventTimestamp', + 'customer_id': 'customerId', + 'equipment_id': 'equipmentId' + } + + def __init__(self, model_type=None, all_of=None, event_timestamp=None, customer_id=None, equipment_id=None): # noqa: E501 + """RealTimeEvent - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._all_of = None + self._event_timestamp = None + self._customer_id = None + self._equipment_id = None + self.discriminator = None + self.model_type = model_type + if all_of is not None: + self.all_of = all_of + if event_timestamp is not None: + self.event_timestamp = event_timestamp + if customer_id is not None: + self.customer_id = customer_id + if equipment_id is not None: + self.equipment_id = equipment_id + + @property + def model_type(self): + """Gets the model_type of this RealTimeEvent. # noqa: E501 + + + :return: The model_type of this RealTimeEvent. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this RealTimeEvent. + + + :param model_type: The model_type of this RealTimeEvent. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + + self._model_type = model_type + + @property + def all_of(self): + """Gets the all_of of this RealTimeEvent. # noqa: E501 + + + :return: The all_of of this RealTimeEvent. # noqa: E501 + :rtype: SystemEvent + """ + return self._all_of + + @all_of.setter + def all_of(self, all_of): + """Sets the all_of of this RealTimeEvent. + + + :param all_of: The all_of of this RealTimeEvent. # noqa: E501 + :type: SystemEvent + """ + + self._all_of = all_of + + @property + def event_timestamp(self): + """Gets the event_timestamp of this RealTimeEvent. # noqa: E501 + + + :return: The event_timestamp of this RealTimeEvent. # noqa: E501 + :rtype: int + """ + return self._event_timestamp + + @event_timestamp.setter + def event_timestamp(self, event_timestamp): + """Sets the event_timestamp of this RealTimeEvent. + + + :param event_timestamp: The event_timestamp of this RealTimeEvent. # noqa: E501 + :type: int + """ + + self._event_timestamp = event_timestamp + + @property + def customer_id(self): + """Gets the customer_id of this RealTimeEvent. # noqa: E501 + + + :return: The customer_id of this RealTimeEvent. # noqa: E501 + :rtype: int + """ + return self._customer_id + + @customer_id.setter + def customer_id(self, customer_id): + """Sets the customer_id of this RealTimeEvent. + + + :param customer_id: The customer_id of this RealTimeEvent. # noqa: E501 + :type: int + """ + + self._customer_id = customer_id + + @property + def equipment_id(self): + """Gets the equipment_id of this RealTimeEvent. # noqa: E501 + + + :return: The equipment_id of this RealTimeEvent. # noqa: E501 + :rtype: int + """ + return self._equipment_id + + @equipment_id.setter + def equipment_id(self, equipment_id): + """Sets the equipment_id of this RealTimeEvent. + + + :param equipment_id: The equipment_id of this RealTimeEvent. # noqa: E501 + :type: int + """ + + self._equipment_id = equipment_id + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(RealTimeEvent, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, RealTimeEvent): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/real_time_sip_call_event_with_stats.py b/libs/cloudapi/cloudsdk/swagger_client/models/real_time_sip_call_event_with_stats.py new file mode 100644 index 000000000..455402516 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/real_time_sip_call_event_with_stats.py @@ -0,0 +1,345 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class RealTimeSipCallEventWithStats(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'all_of': 'RealTimeEvent', + 'sip_call_id': 'int', + 'association_id': 'int', + 'client_mac_address': 'MacAddress', + 'radio_type': 'RadioType', + 'statuses': 'list[RtpFlowStats]', + 'channel': 'int', + 'codecs': 'list[str]', + 'provider_domain': 'str' + } + + attribute_map = { + 'model_type': 'model_type', + 'all_of': 'allOf', + 'sip_call_id': 'sipCallId', + 'association_id': 'associationId', + 'client_mac_address': 'clientMacAddress', + 'radio_type': 'radioType', + 'statuses': 'statuses', + 'channel': 'channel', + 'codecs': 'codecs', + 'provider_domain': 'providerDomain' + } + + def __init__(self, model_type=None, all_of=None, sip_call_id=None, association_id=None, client_mac_address=None, radio_type=None, statuses=None, channel=None, codecs=None, provider_domain=None): # noqa: E501 + """RealTimeSipCallEventWithStats - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._all_of = None + self._sip_call_id = None + self._association_id = None + self._client_mac_address = None + self._radio_type = None + self._statuses = None + self._channel = None + self._codecs = None + self._provider_domain = None + self.discriminator = None + self.model_type = model_type + if all_of is not None: + self.all_of = all_of + if sip_call_id is not None: + self.sip_call_id = sip_call_id + if association_id is not None: + self.association_id = association_id + if client_mac_address is not None: + self.client_mac_address = client_mac_address + if radio_type is not None: + self.radio_type = radio_type + if statuses is not None: + self.statuses = statuses + if channel is not None: + self.channel = channel + if codecs is not None: + self.codecs = codecs + if provider_domain is not None: + self.provider_domain = provider_domain + + @property + def model_type(self): + """Gets the model_type of this RealTimeSipCallEventWithStats. # noqa: E501 + + + :return: The model_type of this RealTimeSipCallEventWithStats. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this RealTimeSipCallEventWithStats. + + + :param model_type: The model_type of this RealTimeSipCallEventWithStats. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + + self._model_type = model_type + + @property + def all_of(self): + """Gets the all_of of this RealTimeSipCallEventWithStats. # noqa: E501 + + + :return: The all_of of this RealTimeSipCallEventWithStats. # noqa: E501 + :rtype: RealTimeEvent + """ + return self._all_of + + @all_of.setter + def all_of(self, all_of): + """Sets the all_of of this RealTimeSipCallEventWithStats. + + + :param all_of: The all_of of this RealTimeSipCallEventWithStats. # noqa: E501 + :type: RealTimeEvent + """ + + self._all_of = all_of + + @property + def sip_call_id(self): + """Gets the sip_call_id of this RealTimeSipCallEventWithStats. # noqa: E501 + + + :return: The sip_call_id of this RealTimeSipCallEventWithStats. # noqa: E501 + :rtype: int + """ + return self._sip_call_id + + @sip_call_id.setter + def sip_call_id(self, sip_call_id): + """Sets the sip_call_id of this RealTimeSipCallEventWithStats. + + + :param sip_call_id: The sip_call_id of this RealTimeSipCallEventWithStats. # noqa: E501 + :type: int + """ + + self._sip_call_id = sip_call_id + + @property + def association_id(self): + """Gets the association_id of this RealTimeSipCallEventWithStats. # noqa: E501 + + + :return: The association_id of this RealTimeSipCallEventWithStats. # noqa: E501 + :rtype: int + """ + return self._association_id + + @association_id.setter + def association_id(self, association_id): + """Sets the association_id of this RealTimeSipCallEventWithStats. + + + :param association_id: The association_id of this RealTimeSipCallEventWithStats. # noqa: E501 + :type: int + """ + + self._association_id = association_id + + @property + def client_mac_address(self): + """Gets the client_mac_address of this RealTimeSipCallEventWithStats. # noqa: E501 + + + :return: The client_mac_address of this RealTimeSipCallEventWithStats. # noqa: E501 + :rtype: MacAddress + """ + return self._client_mac_address + + @client_mac_address.setter + def client_mac_address(self, client_mac_address): + """Sets the client_mac_address of this RealTimeSipCallEventWithStats. + + + :param client_mac_address: The client_mac_address of this RealTimeSipCallEventWithStats. # noqa: E501 + :type: MacAddress + """ + + self._client_mac_address = client_mac_address + + @property + def radio_type(self): + """Gets the radio_type of this RealTimeSipCallEventWithStats. # noqa: E501 + + + :return: The radio_type of this RealTimeSipCallEventWithStats. # noqa: E501 + :rtype: RadioType + """ + return self._radio_type + + @radio_type.setter + def radio_type(self, radio_type): + """Sets the radio_type of this RealTimeSipCallEventWithStats. + + + :param radio_type: The radio_type of this RealTimeSipCallEventWithStats. # noqa: E501 + :type: RadioType + """ + + self._radio_type = radio_type + + @property + def statuses(self): + """Gets the statuses of this RealTimeSipCallEventWithStats. # noqa: E501 + + + :return: The statuses of this RealTimeSipCallEventWithStats. # noqa: E501 + :rtype: list[RtpFlowStats] + """ + return self._statuses + + @statuses.setter + def statuses(self, statuses): + """Sets the statuses of this RealTimeSipCallEventWithStats. + + + :param statuses: The statuses of this RealTimeSipCallEventWithStats. # noqa: E501 + :type: list[RtpFlowStats] + """ + + self._statuses = statuses + + @property + def channel(self): + """Gets the channel of this RealTimeSipCallEventWithStats. # noqa: E501 + + + :return: The channel of this RealTimeSipCallEventWithStats. # noqa: E501 + :rtype: int + """ + return self._channel + + @channel.setter + def channel(self, channel): + """Sets the channel of this RealTimeSipCallEventWithStats. + + + :param channel: The channel of this RealTimeSipCallEventWithStats. # noqa: E501 + :type: int + """ + + self._channel = channel + + @property + def codecs(self): + """Gets the codecs of this RealTimeSipCallEventWithStats. # noqa: E501 + + + :return: The codecs of this RealTimeSipCallEventWithStats. # noqa: E501 + :rtype: list[str] + """ + return self._codecs + + @codecs.setter + def codecs(self, codecs): + """Sets the codecs of this RealTimeSipCallEventWithStats. + + + :param codecs: The codecs of this RealTimeSipCallEventWithStats. # noqa: E501 + :type: list[str] + """ + + self._codecs = codecs + + @property + def provider_domain(self): + """Gets the provider_domain of this RealTimeSipCallEventWithStats. # noqa: E501 + + + :return: The provider_domain of this RealTimeSipCallEventWithStats. # noqa: E501 + :rtype: str + """ + return self._provider_domain + + @provider_domain.setter + def provider_domain(self, provider_domain): + """Sets the provider_domain of this RealTimeSipCallEventWithStats. + + + :param provider_domain: The provider_domain of this RealTimeSipCallEventWithStats. # noqa: E501 + :type: str + """ + + self._provider_domain = provider_domain + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(RealTimeSipCallEventWithStats, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, RealTimeSipCallEventWithStats): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/real_time_sip_call_report_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/real_time_sip_call_report_event.py new file mode 100644 index 000000000..098cff2e5 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/real_time_sip_call_report_event.py @@ -0,0 +1,163 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class RealTimeSipCallReportEvent(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'all_of': 'RealTimeSipCallEventWithStats', + 'report_reason': 'SIPCallReportReason' + } + + attribute_map = { + 'model_type': 'model_type', + 'all_of': 'allOf', + 'report_reason': 'reportReason' + } + + def __init__(self, model_type=None, all_of=None, report_reason=None): # noqa: E501 + """RealTimeSipCallReportEvent - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._all_of = None + self._report_reason = None + self.discriminator = None + self.model_type = model_type + if all_of is not None: + self.all_of = all_of + if report_reason is not None: + self.report_reason = report_reason + + @property + def model_type(self): + """Gets the model_type of this RealTimeSipCallReportEvent. # noqa: E501 + + + :return: The model_type of this RealTimeSipCallReportEvent. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this RealTimeSipCallReportEvent. + + + :param model_type: The model_type of this RealTimeSipCallReportEvent. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + + self._model_type = model_type + + @property + def all_of(self): + """Gets the all_of of this RealTimeSipCallReportEvent. # noqa: E501 + + + :return: The all_of of this RealTimeSipCallReportEvent. # noqa: E501 + :rtype: RealTimeSipCallEventWithStats + """ + return self._all_of + + @all_of.setter + def all_of(self, all_of): + """Sets the all_of of this RealTimeSipCallReportEvent. + + + :param all_of: The all_of of this RealTimeSipCallReportEvent. # noqa: E501 + :type: RealTimeSipCallEventWithStats + """ + + self._all_of = all_of + + @property + def report_reason(self): + """Gets the report_reason of this RealTimeSipCallReportEvent. # noqa: E501 + + + :return: The report_reason of this RealTimeSipCallReportEvent. # noqa: E501 + :rtype: SIPCallReportReason + """ + return self._report_reason + + @report_reason.setter + def report_reason(self, report_reason): + """Sets the report_reason of this RealTimeSipCallReportEvent. + + + :param report_reason: The report_reason of this RealTimeSipCallReportEvent. # noqa: E501 + :type: SIPCallReportReason + """ + + self._report_reason = report_reason + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(RealTimeSipCallReportEvent, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, RealTimeSipCallReportEvent): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/real_time_sip_call_start_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/real_time_sip_call_start_event.py new file mode 100644 index 000000000..87a8c802f --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/real_time_sip_call_start_event.py @@ -0,0 +1,345 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class RealTimeSipCallStartEvent(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'all_of': 'RealTimeEvent', + 'sip_call_id': 'int', + 'association_id': 'int', + 'mac_address': 'MacAddress', + 'radio_type': 'RadioType', + 'channel': 'int', + 'codecs': 'list[str]', + 'provider_domain': 'str', + 'device_info': 'str' + } + + attribute_map = { + 'model_type': 'model_type', + 'all_of': 'allOf', + 'sip_call_id': 'sipCallId', + 'association_id': 'associationId', + 'mac_address': 'macAddress', + 'radio_type': 'radioType', + 'channel': 'channel', + 'codecs': 'codecs', + 'provider_domain': 'providerDomain', + 'device_info': 'deviceInfo' + } + + def __init__(self, model_type=None, all_of=None, sip_call_id=None, association_id=None, mac_address=None, radio_type=None, channel=None, codecs=None, provider_domain=None, device_info=None): # noqa: E501 + """RealTimeSipCallStartEvent - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._all_of = None + self._sip_call_id = None + self._association_id = None + self._mac_address = None + self._radio_type = None + self._channel = None + self._codecs = None + self._provider_domain = None + self._device_info = None + self.discriminator = None + self.model_type = model_type + if all_of is not None: + self.all_of = all_of + if sip_call_id is not None: + self.sip_call_id = sip_call_id + if association_id is not None: + self.association_id = association_id + if mac_address is not None: + self.mac_address = mac_address + if radio_type is not None: + self.radio_type = radio_type + if channel is not None: + self.channel = channel + if codecs is not None: + self.codecs = codecs + if provider_domain is not None: + self.provider_domain = provider_domain + if device_info is not None: + self.device_info = device_info + + @property + def model_type(self): + """Gets the model_type of this RealTimeSipCallStartEvent. # noqa: E501 + + + :return: The model_type of this RealTimeSipCallStartEvent. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this RealTimeSipCallStartEvent. + + + :param model_type: The model_type of this RealTimeSipCallStartEvent. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + + self._model_type = model_type + + @property + def all_of(self): + """Gets the all_of of this RealTimeSipCallStartEvent. # noqa: E501 + + + :return: The all_of of this RealTimeSipCallStartEvent. # noqa: E501 + :rtype: RealTimeEvent + """ + return self._all_of + + @all_of.setter + def all_of(self, all_of): + """Sets the all_of of this RealTimeSipCallStartEvent. + + + :param all_of: The all_of of this RealTimeSipCallStartEvent. # noqa: E501 + :type: RealTimeEvent + """ + + self._all_of = all_of + + @property + def sip_call_id(self): + """Gets the sip_call_id of this RealTimeSipCallStartEvent. # noqa: E501 + + + :return: The sip_call_id of this RealTimeSipCallStartEvent. # noqa: E501 + :rtype: int + """ + return self._sip_call_id + + @sip_call_id.setter + def sip_call_id(self, sip_call_id): + """Sets the sip_call_id of this RealTimeSipCallStartEvent. + + + :param sip_call_id: The sip_call_id of this RealTimeSipCallStartEvent. # noqa: E501 + :type: int + """ + + self._sip_call_id = sip_call_id + + @property + def association_id(self): + """Gets the association_id of this RealTimeSipCallStartEvent. # noqa: E501 + + + :return: The association_id of this RealTimeSipCallStartEvent. # noqa: E501 + :rtype: int + """ + return self._association_id + + @association_id.setter + def association_id(self, association_id): + """Sets the association_id of this RealTimeSipCallStartEvent. + + + :param association_id: The association_id of this RealTimeSipCallStartEvent. # noqa: E501 + :type: int + """ + + self._association_id = association_id + + @property + def mac_address(self): + """Gets the mac_address of this RealTimeSipCallStartEvent. # noqa: E501 + + + :return: The mac_address of this RealTimeSipCallStartEvent. # noqa: E501 + :rtype: MacAddress + """ + return self._mac_address + + @mac_address.setter + def mac_address(self, mac_address): + """Sets the mac_address of this RealTimeSipCallStartEvent. + + + :param mac_address: The mac_address of this RealTimeSipCallStartEvent. # noqa: E501 + :type: MacAddress + """ + + self._mac_address = mac_address + + @property + def radio_type(self): + """Gets the radio_type of this RealTimeSipCallStartEvent. # noqa: E501 + + + :return: The radio_type of this RealTimeSipCallStartEvent. # noqa: E501 + :rtype: RadioType + """ + return self._radio_type + + @radio_type.setter + def radio_type(self, radio_type): + """Sets the radio_type of this RealTimeSipCallStartEvent. + + + :param radio_type: The radio_type of this RealTimeSipCallStartEvent. # noqa: E501 + :type: RadioType + """ + + self._radio_type = radio_type + + @property + def channel(self): + """Gets the channel of this RealTimeSipCallStartEvent. # noqa: E501 + + + :return: The channel of this RealTimeSipCallStartEvent. # noqa: E501 + :rtype: int + """ + return self._channel + + @channel.setter + def channel(self, channel): + """Sets the channel of this RealTimeSipCallStartEvent. + + + :param channel: The channel of this RealTimeSipCallStartEvent. # noqa: E501 + :type: int + """ + + self._channel = channel + + @property + def codecs(self): + """Gets the codecs of this RealTimeSipCallStartEvent. # noqa: E501 + + + :return: The codecs of this RealTimeSipCallStartEvent. # noqa: E501 + :rtype: list[str] + """ + return self._codecs + + @codecs.setter + def codecs(self, codecs): + """Sets the codecs of this RealTimeSipCallStartEvent. + + + :param codecs: The codecs of this RealTimeSipCallStartEvent. # noqa: E501 + :type: list[str] + """ + + self._codecs = codecs + + @property + def provider_domain(self): + """Gets the provider_domain of this RealTimeSipCallStartEvent. # noqa: E501 + + + :return: The provider_domain of this RealTimeSipCallStartEvent. # noqa: E501 + :rtype: str + """ + return self._provider_domain + + @provider_domain.setter + def provider_domain(self, provider_domain): + """Sets the provider_domain of this RealTimeSipCallStartEvent. + + + :param provider_domain: The provider_domain of this RealTimeSipCallStartEvent. # noqa: E501 + :type: str + """ + + self._provider_domain = provider_domain + + @property + def device_info(self): + """Gets the device_info of this RealTimeSipCallStartEvent. # noqa: E501 + + + :return: The device_info of this RealTimeSipCallStartEvent. # noqa: E501 + :rtype: str + """ + return self._device_info + + @device_info.setter + def device_info(self, device_info): + """Sets the device_info of this RealTimeSipCallStartEvent. + + + :param device_info: The device_info of this RealTimeSipCallStartEvent. # noqa: E501 + :type: str + """ + + self._device_info = device_info + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(RealTimeSipCallStartEvent, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, RealTimeSipCallStartEvent): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/real_time_sip_call_stop_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/real_time_sip_call_stop_event.py new file mode 100644 index 000000000..2d8e0cff5 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/real_time_sip_call_stop_event.py @@ -0,0 +1,189 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class RealTimeSipCallStopEvent(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'all_of': 'RealTimeEvent', + 'call_duration': 'int', + 'reason': 'SipCallStopReason' + } + + attribute_map = { + 'model_type': 'model_type', + 'all_of': 'allOf', + 'call_duration': 'callDuration', + 'reason': 'reason' + } + + def __init__(self, model_type=None, all_of=None, call_duration=None, reason=None): # noqa: E501 + """RealTimeSipCallStopEvent - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._all_of = None + self._call_duration = None + self._reason = None + self.discriminator = None + self.model_type = model_type + if all_of is not None: + self.all_of = all_of + if call_duration is not None: + self.call_duration = call_duration + if reason is not None: + self.reason = reason + + @property + def model_type(self): + """Gets the model_type of this RealTimeSipCallStopEvent. # noqa: E501 + + + :return: The model_type of this RealTimeSipCallStopEvent. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this RealTimeSipCallStopEvent. + + + :param model_type: The model_type of this RealTimeSipCallStopEvent. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + + self._model_type = model_type + + @property + def all_of(self): + """Gets the all_of of this RealTimeSipCallStopEvent. # noqa: E501 + + + :return: The all_of of this RealTimeSipCallStopEvent. # noqa: E501 + :rtype: RealTimeEvent + """ + return self._all_of + + @all_of.setter + def all_of(self, all_of): + """Sets the all_of of this RealTimeSipCallStopEvent. + + + :param all_of: The all_of of this RealTimeSipCallStopEvent. # noqa: E501 + :type: RealTimeEvent + """ + + self._all_of = all_of + + @property + def call_duration(self): + """Gets the call_duration of this RealTimeSipCallStopEvent. # noqa: E501 + + + :return: The call_duration of this RealTimeSipCallStopEvent. # noqa: E501 + :rtype: int + """ + return self._call_duration + + @call_duration.setter + def call_duration(self, call_duration): + """Sets the call_duration of this RealTimeSipCallStopEvent. + + + :param call_duration: The call_duration of this RealTimeSipCallStopEvent. # noqa: E501 + :type: int + """ + + self._call_duration = call_duration + + @property + def reason(self): + """Gets the reason of this RealTimeSipCallStopEvent. # noqa: E501 + + + :return: The reason of this RealTimeSipCallStopEvent. # noqa: E501 + :rtype: SipCallStopReason + """ + return self._reason + + @reason.setter + def reason(self, reason): + """Sets the reason of this RealTimeSipCallStopEvent. + + + :param reason: The reason of this RealTimeSipCallStopEvent. # noqa: E501 + :type: SipCallStopReason + """ + + self._reason = reason + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(RealTimeSipCallStopEvent, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, RealTimeSipCallStopEvent): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/real_time_streaming_start_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/real_time_streaming_start_event.py new file mode 100644 index 000000000..5258bdb57 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/real_time_streaming_start_event.py @@ -0,0 +1,295 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class RealTimeStreamingStartEvent(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'all_of': 'RealTimeEvent', + 'video_session_id': 'int', + 'session_id': 'int', + 'client_mac': 'MacAddress', + 'server_ip': 'str', + 'server_dns_name': 'str', + 'type': 'StreamingVideoType' + } + + attribute_map = { + 'model_type': 'model_type', + 'all_of': 'allOf', + 'video_session_id': 'videoSessionId', + 'session_id': 'sessionId', + 'client_mac': 'clientMac', + 'server_ip': 'serverIp', + 'server_dns_name': 'serverDnsName', + 'type': 'type' + } + + def __init__(self, model_type=None, all_of=None, video_session_id=None, session_id=None, client_mac=None, server_ip=None, server_dns_name=None, type=None): # noqa: E501 + """RealTimeStreamingStartEvent - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._all_of = None + self._video_session_id = None + self._session_id = None + self._client_mac = None + self._server_ip = None + self._server_dns_name = None + self._type = None + self.discriminator = None + self.model_type = model_type + if all_of is not None: + self.all_of = all_of + if video_session_id is not None: + self.video_session_id = video_session_id + if session_id is not None: + self.session_id = session_id + if client_mac is not None: + self.client_mac = client_mac + if server_ip is not None: + self.server_ip = server_ip + if server_dns_name is not None: + self.server_dns_name = server_dns_name + if type is not None: + self.type = type + + @property + def model_type(self): + """Gets the model_type of this RealTimeStreamingStartEvent. # noqa: E501 + + + :return: The model_type of this RealTimeStreamingStartEvent. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this RealTimeStreamingStartEvent. + + + :param model_type: The model_type of this RealTimeStreamingStartEvent. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + + self._model_type = model_type + + @property + def all_of(self): + """Gets the all_of of this RealTimeStreamingStartEvent. # noqa: E501 + + + :return: The all_of of this RealTimeStreamingStartEvent. # noqa: E501 + :rtype: RealTimeEvent + """ + return self._all_of + + @all_of.setter + def all_of(self, all_of): + """Sets the all_of of this RealTimeStreamingStartEvent. + + + :param all_of: The all_of of this RealTimeStreamingStartEvent. # noqa: E501 + :type: RealTimeEvent + """ + + self._all_of = all_of + + @property + def video_session_id(self): + """Gets the video_session_id of this RealTimeStreamingStartEvent. # noqa: E501 + + + :return: The video_session_id of this RealTimeStreamingStartEvent. # noqa: E501 + :rtype: int + """ + return self._video_session_id + + @video_session_id.setter + def video_session_id(self, video_session_id): + """Sets the video_session_id of this RealTimeStreamingStartEvent. + + + :param video_session_id: The video_session_id of this RealTimeStreamingStartEvent. # noqa: E501 + :type: int + """ + + self._video_session_id = video_session_id + + @property + def session_id(self): + """Gets the session_id of this RealTimeStreamingStartEvent. # noqa: E501 + + + :return: The session_id of this RealTimeStreamingStartEvent. # noqa: E501 + :rtype: int + """ + return self._session_id + + @session_id.setter + def session_id(self, session_id): + """Sets the session_id of this RealTimeStreamingStartEvent. + + + :param session_id: The session_id of this RealTimeStreamingStartEvent. # noqa: E501 + :type: int + """ + + self._session_id = session_id + + @property + def client_mac(self): + """Gets the client_mac of this RealTimeStreamingStartEvent. # noqa: E501 + + + :return: The client_mac of this RealTimeStreamingStartEvent. # noqa: E501 + :rtype: MacAddress + """ + return self._client_mac + + @client_mac.setter + def client_mac(self, client_mac): + """Sets the client_mac of this RealTimeStreamingStartEvent. + + + :param client_mac: The client_mac of this RealTimeStreamingStartEvent. # noqa: E501 + :type: MacAddress + """ + + self._client_mac = client_mac + + @property + def server_ip(self): + """Gets the server_ip of this RealTimeStreamingStartEvent. # noqa: E501 + + string representing InetAddress # noqa: E501 + + :return: The server_ip of this RealTimeStreamingStartEvent. # noqa: E501 + :rtype: str + """ + return self._server_ip + + @server_ip.setter + def server_ip(self, server_ip): + """Sets the server_ip of this RealTimeStreamingStartEvent. + + string representing InetAddress # noqa: E501 + + :param server_ip: The server_ip of this RealTimeStreamingStartEvent. # noqa: E501 + :type: str + """ + + self._server_ip = server_ip + + @property + def server_dns_name(self): + """Gets the server_dns_name of this RealTimeStreamingStartEvent. # noqa: E501 + + + :return: The server_dns_name of this RealTimeStreamingStartEvent. # noqa: E501 + :rtype: str + """ + return self._server_dns_name + + @server_dns_name.setter + def server_dns_name(self, server_dns_name): + """Sets the server_dns_name of this RealTimeStreamingStartEvent. + + + :param server_dns_name: The server_dns_name of this RealTimeStreamingStartEvent. # noqa: E501 + :type: str + """ + + self._server_dns_name = server_dns_name + + @property + def type(self): + """Gets the type of this RealTimeStreamingStartEvent. # noqa: E501 + + + :return: The type of this RealTimeStreamingStartEvent. # noqa: E501 + :rtype: StreamingVideoType + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this RealTimeStreamingStartEvent. + + + :param type: The type of this RealTimeStreamingStartEvent. # noqa: E501 + :type: StreamingVideoType + """ + + self._type = type + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(RealTimeStreamingStartEvent, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, RealTimeStreamingStartEvent): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/real_time_streaming_start_session_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/real_time_streaming_start_session_event.py new file mode 100644 index 000000000..f8dc3de40 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/real_time_streaming_start_session_event.py @@ -0,0 +1,269 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class RealTimeStreamingStartSessionEvent(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'all_of': 'RealTimeEvent', + 'video_session_id': 'int', + 'session_id': 'int', + 'client_mac': 'MacAddress', + 'server_ip': 'str', + 'type': 'StreamingVideoType' + } + + attribute_map = { + 'model_type': 'model_type', + 'all_of': 'allOf', + 'video_session_id': 'videoSessionId', + 'session_id': 'sessionId', + 'client_mac': 'clientMac', + 'server_ip': 'serverIp', + 'type': 'type' + } + + def __init__(self, model_type=None, all_of=None, video_session_id=None, session_id=None, client_mac=None, server_ip=None, type=None): # noqa: E501 + """RealTimeStreamingStartSessionEvent - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._all_of = None + self._video_session_id = None + self._session_id = None + self._client_mac = None + self._server_ip = None + self._type = None + self.discriminator = None + self.model_type = model_type + if all_of is not None: + self.all_of = all_of + if video_session_id is not None: + self.video_session_id = video_session_id + if session_id is not None: + self.session_id = session_id + if client_mac is not None: + self.client_mac = client_mac + if server_ip is not None: + self.server_ip = server_ip + if type is not None: + self.type = type + + @property + def model_type(self): + """Gets the model_type of this RealTimeStreamingStartSessionEvent. # noqa: E501 + + + :return: The model_type of this RealTimeStreamingStartSessionEvent. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this RealTimeStreamingStartSessionEvent. + + + :param model_type: The model_type of this RealTimeStreamingStartSessionEvent. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + + self._model_type = model_type + + @property + def all_of(self): + """Gets the all_of of this RealTimeStreamingStartSessionEvent. # noqa: E501 + + + :return: The all_of of this RealTimeStreamingStartSessionEvent. # noqa: E501 + :rtype: RealTimeEvent + """ + return self._all_of + + @all_of.setter + def all_of(self, all_of): + """Sets the all_of of this RealTimeStreamingStartSessionEvent. + + + :param all_of: The all_of of this RealTimeStreamingStartSessionEvent. # noqa: E501 + :type: RealTimeEvent + """ + + self._all_of = all_of + + @property + def video_session_id(self): + """Gets the video_session_id of this RealTimeStreamingStartSessionEvent. # noqa: E501 + + + :return: The video_session_id of this RealTimeStreamingStartSessionEvent. # noqa: E501 + :rtype: int + """ + return self._video_session_id + + @video_session_id.setter + def video_session_id(self, video_session_id): + """Sets the video_session_id of this RealTimeStreamingStartSessionEvent. + + + :param video_session_id: The video_session_id of this RealTimeStreamingStartSessionEvent. # noqa: E501 + :type: int + """ + + self._video_session_id = video_session_id + + @property + def session_id(self): + """Gets the session_id of this RealTimeStreamingStartSessionEvent. # noqa: E501 + + + :return: The session_id of this RealTimeStreamingStartSessionEvent. # noqa: E501 + :rtype: int + """ + return self._session_id + + @session_id.setter + def session_id(self, session_id): + """Sets the session_id of this RealTimeStreamingStartSessionEvent. + + + :param session_id: The session_id of this RealTimeStreamingStartSessionEvent. # noqa: E501 + :type: int + """ + + self._session_id = session_id + + @property + def client_mac(self): + """Gets the client_mac of this RealTimeStreamingStartSessionEvent. # noqa: E501 + + + :return: The client_mac of this RealTimeStreamingStartSessionEvent. # noqa: E501 + :rtype: MacAddress + """ + return self._client_mac + + @client_mac.setter + def client_mac(self, client_mac): + """Sets the client_mac of this RealTimeStreamingStartSessionEvent. + + + :param client_mac: The client_mac of this RealTimeStreamingStartSessionEvent. # noqa: E501 + :type: MacAddress + """ + + self._client_mac = client_mac + + @property + def server_ip(self): + """Gets the server_ip of this RealTimeStreamingStartSessionEvent. # noqa: E501 + + string representing InetAddress # noqa: E501 + + :return: The server_ip of this RealTimeStreamingStartSessionEvent. # noqa: E501 + :rtype: str + """ + return self._server_ip + + @server_ip.setter + def server_ip(self, server_ip): + """Sets the server_ip of this RealTimeStreamingStartSessionEvent. + + string representing InetAddress # noqa: E501 + + :param server_ip: The server_ip of this RealTimeStreamingStartSessionEvent. # noqa: E501 + :type: str + """ + + self._server_ip = server_ip + + @property + def type(self): + """Gets the type of this RealTimeStreamingStartSessionEvent. # noqa: E501 + + + :return: The type of this RealTimeStreamingStartSessionEvent. # noqa: E501 + :rtype: StreamingVideoType + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this RealTimeStreamingStartSessionEvent. + + + :param type: The type of this RealTimeStreamingStartSessionEvent. # noqa: E501 + :type: StreamingVideoType + """ + + self._type = type + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(RealTimeStreamingStartSessionEvent, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, RealTimeStreamingStartSessionEvent): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/real_time_streaming_stop_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/real_time_streaming_stop_event.py new file mode 100644 index 000000000..d9731ffc9 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/real_time_streaming_stop_event.py @@ -0,0 +1,321 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class RealTimeStreamingStopEvent(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'all_of': 'RealTimeEvent', + 'video_session_id': 'int', + 'session_id': 'int', + 'client_mac': 'MacAddress', + 'server_ip': 'str', + 'total_bytes': 'int', + 'type': 'StreamingVideoType', + 'duration_in_secs': 'int' + } + + attribute_map = { + 'model_type': 'model_type', + 'all_of': 'allOf', + 'video_session_id': 'videoSessionId', + 'session_id': 'sessionId', + 'client_mac': 'clientMac', + 'server_ip': 'serverIp', + 'total_bytes': 'totalBytes', + 'type': 'type', + 'duration_in_secs': 'durationInSecs' + } + + def __init__(self, model_type=None, all_of=None, video_session_id=None, session_id=None, client_mac=None, server_ip=None, total_bytes=None, type=None, duration_in_secs=None): # noqa: E501 + """RealTimeStreamingStopEvent - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._all_of = None + self._video_session_id = None + self._session_id = None + self._client_mac = None + self._server_ip = None + self._total_bytes = None + self._type = None + self._duration_in_secs = None + self.discriminator = None + self.model_type = model_type + if all_of is not None: + self.all_of = all_of + if video_session_id is not None: + self.video_session_id = video_session_id + if session_id is not None: + self.session_id = session_id + if client_mac is not None: + self.client_mac = client_mac + if server_ip is not None: + self.server_ip = server_ip + if total_bytes is not None: + self.total_bytes = total_bytes + if type is not None: + self.type = type + if duration_in_secs is not None: + self.duration_in_secs = duration_in_secs + + @property + def model_type(self): + """Gets the model_type of this RealTimeStreamingStopEvent. # noqa: E501 + + + :return: The model_type of this RealTimeStreamingStopEvent. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this RealTimeStreamingStopEvent. + + + :param model_type: The model_type of this RealTimeStreamingStopEvent. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + + self._model_type = model_type + + @property + def all_of(self): + """Gets the all_of of this RealTimeStreamingStopEvent. # noqa: E501 + + + :return: The all_of of this RealTimeStreamingStopEvent. # noqa: E501 + :rtype: RealTimeEvent + """ + return self._all_of + + @all_of.setter + def all_of(self, all_of): + """Sets the all_of of this RealTimeStreamingStopEvent. + + + :param all_of: The all_of of this RealTimeStreamingStopEvent. # noqa: E501 + :type: RealTimeEvent + """ + + self._all_of = all_of + + @property + def video_session_id(self): + """Gets the video_session_id of this RealTimeStreamingStopEvent. # noqa: E501 + + + :return: The video_session_id of this RealTimeStreamingStopEvent. # noqa: E501 + :rtype: int + """ + return self._video_session_id + + @video_session_id.setter + def video_session_id(self, video_session_id): + """Sets the video_session_id of this RealTimeStreamingStopEvent. + + + :param video_session_id: The video_session_id of this RealTimeStreamingStopEvent. # noqa: E501 + :type: int + """ + + self._video_session_id = video_session_id + + @property + def session_id(self): + """Gets the session_id of this RealTimeStreamingStopEvent. # noqa: E501 + + + :return: The session_id of this RealTimeStreamingStopEvent. # noqa: E501 + :rtype: int + """ + return self._session_id + + @session_id.setter + def session_id(self, session_id): + """Sets the session_id of this RealTimeStreamingStopEvent. + + + :param session_id: The session_id of this RealTimeStreamingStopEvent. # noqa: E501 + :type: int + """ + + self._session_id = session_id + + @property + def client_mac(self): + """Gets the client_mac of this RealTimeStreamingStopEvent. # noqa: E501 + + + :return: The client_mac of this RealTimeStreamingStopEvent. # noqa: E501 + :rtype: MacAddress + """ + return self._client_mac + + @client_mac.setter + def client_mac(self, client_mac): + """Sets the client_mac of this RealTimeStreamingStopEvent. + + + :param client_mac: The client_mac of this RealTimeStreamingStopEvent. # noqa: E501 + :type: MacAddress + """ + + self._client_mac = client_mac + + @property + def server_ip(self): + """Gets the server_ip of this RealTimeStreamingStopEvent. # noqa: E501 + + string representing InetAddress # noqa: E501 + + :return: The server_ip of this RealTimeStreamingStopEvent. # noqa: E501 + :rtype: str + """ + return self._server_ip + + @server_ip.setter + def server_ip(self, server_ip): + """Sets the server_ip of this RealTimeStreamingStopEvent. + + string representing InetAddress # noqa: E501 + + :param server_ip: The server_ip of this RealTimeStreamingStopEvent. # noqa: E501 + :type: str + """ + + self._server_ip = server_ip + + @property + def total_bytes(self): + """Gets the total_bytes of this RealTimeStreamingStopEvent. # noqa: E501 + + + :return: The total_bytes of this RealTimeStreamingStopEvent. # noqa: E501 + :rtype: int + """ + return self._total_bytes + + @total_bytes.setter + def total_bytes(self, total_bytes): + """Sets the total_bytes of this RealTimeStreamingStopEvent. + + + :param total_bytes: The total_bytes of this RealTimeStreamingStopEvent. # noqa: E501 + :type: int + """ + + self._total_bytes = total_bytes + + @property + def type(self): + """Gets the type of this RealTimeStreamingStopEvent. # noqa: E501 + + + :return: The type of this RealTimeStreamingStopEvent. # noqa: E501 + :rtype: StreamingVideoType + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this RealTimeStreamingStopEvent. + + + :param type: The type of this RealTimeStreamingStopEvent. # noqa: E501 + :type: StreamingVideoType + """ + + self._type = type + + @property + def duration_in_secs(self): + """Gets the duration_in_secs of this RealTimeStreamingStopEvent. # noqa: E501 + + + :return: The duration_in_secs of this RealTimeStreamingStopEvent. # noqa: E501 + :rtype: int + """ + return self._duration_in_secs + + @duration_in_secs.setter + def duration_in_secs(self, duration_in_secs): + """Sets the duration_in_secs of this RealTimeStreamingStopEvent. + + + :param duration_in_secs: The duration_in_secs of this RealTimeStreamingStopEvent. # noqa: E501 + :type: int + """ + + self._duration_in_secs = duration_in_secs + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(RealTimeStreamingStopEvent, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, RealTimeStreamingStopEvent): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/realtime_channel_hop_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/realtime_channel_hop_event.py new file mode 100644 index 000000000..d0038109a --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/realtime_channel_hop_event.py @@ -0,0 +1,241 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class RealtimeChannelHopEvent(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'all_of': 'RealTimeEvent', + 'old_channel': 'int', + 'new_channel': 'int', + 'reason_code': 'ChannelHopReason', + 'radio_type': 'RadioType' + } + + attribute_map = { + 'model_type': 'model_type', + 'all_of': 'allOf', + 'old_channel': 'oldChannel', + 'new_channel': 'newChannel', + 'reason_code': 'reasonCode', + 'radio_type': 'radioType' + } + + def __init__(self, model_type=None, all_of=None, old_channel=None, new_channel=None, reason_code=None, radio_type=None): # noqa: E501 + """RealtimeChannelHopEvent - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._all_of = None + self._old_channel = None + self._new_channel = None + self._reason_code = None + self._radio_type = None + self.discriminator = None + self.model_type = model_type + if all_of is not None: + self.all_of = all_of + if old_channel is not None: + self.old_channel = old_channel + if new_channel is not None: + self.new_channel = new_channel + if reason_code is not None: + self.reason_code = reason_code + if radio_type is not None: + self.radio_type = radio_type + + @property + def model_type(self): + """Gets the model_type of this RealtimeChannelHopEvent. # noqa: E501 + + + :return: The model_type of this RealtimeChannelHopEvent. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this RealtimeChannelHopEvent. + + + :param model_type: The model_type of this RealtimeChannelHopEvent. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + + self._model_type = model_type + + @property + def all_of(self): + """Gets the all_of of this RealtimeChannelHopEvent. # noqa: E501 + + + :return: The all_of of this RealtimeChannelHopEvent. # noqa: E501 + :rtype: RealTimeEvent + """ + return self._all_of + + @all_of.setter + def all_of(self, all_of): + """Sets the all_of of this RealtimeChannelHopEvent. + + + :param all_of: The all_of of this RealtimeChannelHopEvent. # noqa: E501 + :type: RealTimeEvent + """ + + self._all_of = all_of + + @property + def old_channel(self): + """Gets the old_channel of this RealtimeChannelHopEvent. # noqa: E501 + + + :return: The old_channel of this RealtimeChannelHopEvent. # noqa: E501 + :rtype: int + """ + return self._old_channel + + @old_channel.setter + def old_channel(self, old_channel): + """Sets the old_channel of this RealtimeChannelHopEvent. + + + :param old_channel: The old_channel of this RealtimeChannelHopEvent. # noqa: E501 + :type: int + """ + + self._old_channel = old_channel + + @property + def new_channel(self): + """Gets the new_channel of this RealtimeChannelHopEvent. # noqa: E501 + + + :return: The new_channel of this RealtimeChannelHopEvent. # noqa: E501 + :rtype: int + """ + return self._new_channel + + @new_channel.setter + def new_channel(self, new_channel): + """Sets the new_channel of this RealtimeChannelHopEvent. + + + :param new_channel: The new_channel of this RealtimeChannelHopEvent. # noqa: E501 + :type: int + """ + + self._new_channel = new_channel + + @property + def reason_code(self): + """Gets the reason_code of this RealtimeChannelHopEvent. # noqa: E501 + + + :return: The reason_code of this RealtimeChannelHopEvent. # noqa: E501 + :rtype: ChannelHopReason + """ + return self._reason_code + + @reason_code.setter + def reason_code(self, reason_code): + """Sets the reason_code of this RealtimeChannelHopEvent. + + + :param reason_code: The reason_code of this RealtimeChannelHopEvent. # noqa: E501 + :type: ChannelHopReason + """ + + self._reason_code = reason_code + + @property + def radio_type(self): + """Gets the radio_type of this RealtimeChannelHopEvent. # noqa: E501 + + + :return: The radio_type of this RealtimeChannelHopEvent. # noqa: E501 + :rtype: RadioType + """ + return self._radio_type + + @radio_type.setter + def radio_type(self, radio_type): + """Sets the radio_type of this RealtimeChannelHopEvent. + + + :param radio_type: The radio_type of this RealtimeChannelHopEvent. # noqa: E501 + :type: RadioType + """ + + self._radio_type = radio_type + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(RealtimeChannelHopEvent, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, RealtimeChannelHopEvent): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/rf_config_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/rf_config_map.py new file mode 100644 index 000000000..e385be532 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/rf_config_map.py @@ -0,0 +1,188 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class RfConfigMap(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'is2dot4_g_hz': 'RfElementConfiguration', + 'is5_g_hz': 'RfElementConfiguration', + 'is5_g_hz_u': 'RfElementConfiguration', + 'is5_g_hz_l': 'RfElementConfiguration' + } + + attribute_map = { + 'is2dot4_g_hz': 'is2dot4GHz', + 'is5_g_hz': 'is5GHz', + 'is5_g_hz_u': 'is5GHzU', + 'is5_g_hz_l': 'is5GHzL' + } + + def __init__(self, is2dot4_g_hz=None, is5_g_hz=None, is5_g_hz_u=None, is5_g_hz_l=None): # noqa: E501 + """RfConfigMap - a model defined in Swagger""" # noqa: E501 + self._is2dot4_g_hz = None + self._is5_g_hz = None + self._is5_g_hz_u = None + self._is5_g_hz_l = None + self.discriminator = None + if is2dot4_g_hz is not None: + self.is2dot4_g_hz = is2dot4_g_hz + if is5_g_hz is not None: + self.is5_g_hz = is5_g_hz + if is5_g_hz_u is not None: + self.is5_g_hz_u = is5_g_hz_u + if is5_g_hz_l is not None: + self.is5_g_hz_l = is5_g_hz_l + + @property + def is2dot4_g_hz(self): + """Gets the is2dot4_g_hz of this RfConfigMap. # noqa: E501 + + + :return: The is2dot4_g_hz of this RfConfigMap. # noqa: E501 + :rtype: RfElementConfiguration + """ + return self._is2dot4_g_hz + + @is2dot4_g_hz.setter + def is2dot4_g_hz(self, is2dot4_g_hz): + """Sets the is2dot4_g_hz of this RfConfigMap. + + + :param is2dot4_g_hz: The is2dot4_g_hz of this RfConfigMap. # noqa: E501 + :type: RfElementConfiguration + """ + + self._is2dot4_g_hz = is2dot4_g_hz + + @property + def is5_g_hz(self): + """Gets the is5_g_hz of this RfConfigMap. # noqa: E501 + + + :return: The is5_g_hz of this RfConfigMap. # noqa: E501 + :rtype: RfElementConfiguration + """ + return self._is5_g_hz + + @is5_g_hz.setter + def is5_g_hz(self, is5_g_hz): + """Sets the is5_g_hz of this RfConfigMap. + + + :param is5_g_hz: The is5_g_hz of this RfConfigMap. # noqa: E501 + :type: RfElementConfiguration + """ + + self._is5_g_hz = is5_g_hz + + @property + def is5_g_hz_u(self): + """Gets the is5_g_hz_u of this RfConfigMap. # noqa: E501 + + + :return: The is5_g_hz_u of this RfConfigMap. # noqa: E501 + :rtype: RfElementConfiguration + """ + return self._is5_g_hz_u + + @is5_g_hz_u.setter + def is5_g_hz_u(self, is5_g_hz_u): + """Sets the is5_g_hz_u of this RfConfigMap. + + + :param is5_g_hz_u: The is5_g_hz_u of this RfConfigMap. # noqa: E501 + :type: RfElementConfiguration + """ + + self._is5_g_hz_u = is5_g_hz_u + + @property + def is5_g_hz_l(self): + """Gets the is5_g_hz_l of this RfConfigMap. # noqa: E501 + + + :return: The is5_g_hz_l of this RfConfigMap. # noqa: E501 + :rtype: RfElementConfiguration + """ + return self._is5_g_hz_l + + @is5_g_hz_l.setter + def is5_g_hz_l(self, is5_g_hz_l): + """Sets the is5_g_hz_l of this RfConfigMap. + + + :param is5_g_hz_l: The is5_g_hz_l of this RfConfigMap. # noqa: E501 + :type: RfElementConfiguration + """ + + self._is5_g_hz_l = is5_g_hz_l + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(RfConfigMap, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, RfConfigMap): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/rf_configuration.py b/libs/cloudapi/cloudsdk/swagger_client/models/rf_configuration.py new file mode 100644 index 000000000..8000b049b --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/rf_configuration.py @@ -0,0 +1,116 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six +from swagger_client.models.profile_details import ProfileDetails # noqa: F401,E501 + +class RfConfiguration(ProfileDetails): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'rf_config_map': 'RfConfigMap' + } + if hasattr(ProfileDetails, "swagger_types"): + swagger_types.update(ProfileDetails.swagger_types) + + attribute_map = { + 'rf_config_map': 'rfConfigMap' + } + if hasattr(ProfileDetails, "attribute_map"): + attribute_map.update(ProfileDetails.attribute_map) + + def __init__(self, rf_config_map=None, *args, **kwargs): # noqa: E501 + """RfConfiguration - a model defined in Swagger""" # noqa: E501 + self._rf_config_map = None + self.discriminator = None + if rf_config_map is not None: + self.rf_config_map = rf_config_map + ProfileDetails.__init__(self, *args, **kwargs) + + @property + def rf_config_map(self): + """Gets the rf_config_map of this RfConfiguration. # noqa: E501 + + + :return: The rf_config_map of this RfConfiguration. # noqa: E501 + :rtype: RfConfigMap + """ + return self._rf_config_map + + @rf_config_map.setter + def rf_config_map(self, rf_config_map): + """Sets the rf_config_map of this RfConfiguration. + + + :param rf_config_map: The rf_config_map of this RfConfiguration. # noqa: E501 + :type: RfConfigMap + """ + + self._rf_config_map = rf_config_map + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(RfConfiguration, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, RfConfiguration): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/rf_element_configuration.py b/libs/cloudapi/cloudsdk/swagger_client/models/rf_element_configuration.py new file mode 100644 index 000000000..2d3f2191f --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/rf_element_configuration.py @@ -0,0 +1,714 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class RfElementConfiguration(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'rf': 'str', + 'radio_type': 'RadioType', + 'radio_mode': 'RadioMode', + 'auto_channel_selection': 'bool', + 'beacon_interval': 'int', + 'force_scan_during_voice': 'StateSetting', + 'rts_cts_threshold': 'int', + 'channel_bandwidth': 'ChannelBandwidth', + 'mimo_mode': 'MimoMode', + 'max_num_clients': 'int', + 'multicast_rate': 'MulticastRate', + 'active_scan_settings': 'ActiveScanSettings', + 'management_rate': 'ManagementRate', + 'rx_cell_size_db': 'int', + 'probe_response_threshold_db': 'int', + 'client_disconnect_threshold_db': 'int', + 'eirp_tx_power': 'int', + 'best_ap_enabled': 'bool', + 'neighbouring_list_ap_config': 'NeighbouringAPListConfiguration', + 'min_auto_cell_size': 'int', + 'perimeter_detection_enabled': 'bool', + 'channel_hop_settings': 'ChannelHopSettings', + 'best_ap_settings': 'RadioBestApSettings' + } + + attribute_map = { + 'model_type': 'model_type', + 'rf': 'rf', + 'radio_type': 'radioType', + 'radio_mode': 'radioMode', + 'auto_channel_selection': 'autoChannelSelection', + 'beacon_interval': 'beaconInterval', + 'force_scan_during_voice': 'forceScanDuringVoice', + 'rts_cts_threshold': 'rtsCtsThreshold', + 'channel_bandwidth': 'channelBandwidth', + 'mimo_mode': 'mimoMode', + 'max_num_clients': 'maxNumClients', + 'multicast_rate': 'multicastRate', + 'active_scan_settings': 'activeScanSettings', + 'management_rate': 'managementRate', + 'rx_cell_size_db': 'rxCellSizeDb', + 'probe_response_threshold_db': 'probeResponseThresholdDb', + 'client_disconnect_threshold_db': 'clientDisconnectThresholdDb', + 'eirp_tx_power': 'eirpTxPower', + 'best_ap_enabled': 'bestApEnabled', + 'neighbouring_list_ap_config': 'neighbouringListApConfig', + 'min_auto_cell_size': 'minAutoCellSize', + 'perimeter_detection_enabled': 'perimeterDetectionEnabled', + 'channel_hop_settings': 'channelHopSettings', + 'best_ap_settings': 'bestApSettings' + } + + def __init__(self, model_type=None, rf=None, radio_type=None, radio_mode=None, auto_channel_selection=None, beacon_interval=None, force_scan_during_voice=None, rts_cts_threshold=None, channel_bandwidth=None, mimo_mode=None, max_num_clients=None, multicast_rate=None, active_scan_settings=None, management_rate=None, rx_cell_size_db=None, probe_response_threshold_db=None, client_disconnect_threshold_db=None, eirp_tx_power=18, best_ap_enabled=None, neighbouring_list_ap_config=None, min_auto_cell_size=None, perimeter_detection_enabled=None, channel_hop_settings=None, best_ap_settings=None): # noqa: E501 + """RfElementConfiguration - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._rf = None + self._radio_type = None + self._radio_mode = None + self._auto_channel_selection = None + self._beacon_interval = None + self._force_scan_during_voice = None + self._rts_cts_threshold = None + self._channel_bandwidth = None + self._mimo_mode = None + self._max_num_clients = None + self._multicast_rate = None + self._active_scan_settings = None + self._management_rate = None + self._rx_cell_size_db = None + self._probe_response_threshold_db = None + self._client_disconnect_threshold_db = None + self._eirp_tx_power = None + self._best_ap_enabled = None + self._neighbouring_list_ap_config = None + self._min_auto_cell_size = None + self._perimeter_detection_enabled = None + self._channel_hop_settings = None + self._best_ap_settings = None + self.discriminator = None + if model_type is not None: + self.model_type = model_type + if rf is not None: + self.rf = rf + if radio_type is not None: + self.radio_type = radio_type + if radio_mode is not None: + self.radio_mode = radio_mode + if auto_channel_selection is not None: + self.auto_channel_selection = auto_channel_selection + if beacon_interval is not None: + self.beacon_interval = beacon_interval + if force_scan_during_voice is not None: + self.force_scan_during_voice = force_scan_during_voice + if rts_cts_threshold is not None: + self.rts_cts_threshold = rts_cts_threshold + if channel_bandwidth is not None: + self.channel_bandwidth = channel_bandwidth + if mimo_mode is not None: + self.mimo_mode = mimo_mode + if max_num_clients is not None: + self.max_num_clients = max_num_clients + if multicast_rate is not None: + self.multicast_rate = multicast_rate + if active_scan_settings is not None: + self.active_scan_settings = active_scan_settings + if management_rate is not None: + self.management_rate = management_rate + if rx_cell_size_db is not None: + self.rx_cell_size_db = rx_cell_size_db + if probe_response_threshold_db is not None: + self.probe_response_threshold_db = probe_response_threshold_db + if client_disconnect_threshold_db is not None: + self.client_disconnect_threshold_db = client_disconnect_threshold_db + if eirp_tx_power is not None: + self.eirp_tx_power = eirp_tx_power + if best_ap_enabled is not None: + self.best_ap_enabled = best_ap_enabled + if neighbouring_list_ap_config is not None: + self.neighbouring_list_ap_config = neighbouring_list_ap_config + if min_auto_cell_size is not None: + self.min_auto_cell_size = min_auto_cell_size + if perimeter_detection_enabled is not None: + self.perimeter_detection_enabled = perimeter_detection_enabled + if channel_hop_settings is not None: + self.channel_hop_settings = channel_hop_settings + if best_ap_settings is not None: + self.best_ap_settings = best_ap_settings + + @property + def model_type(self): + """Gets the model_type of this RfElementConfiguration. # noqa: E501 + + + :return: The model_type of this RfElementConfiguration. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this RfElementConfiguration. + + + :param model_type: The model_type of this RfElementConfiguration. # noqa: E501 + :type: str + """ + allowed_values = ["RfElementConfiguration"] # noqa: E501 + if model_type not in allowed_values: + raise ValueError( + "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 + .format(model_type, allowed_values) + ) + + self._model_type = model_type + + @property + def rf(self): + """Gets the rf of this RfElementConfiguration. # noqa: E501 + + + :return: The rf of this RfElementConfiguration. # noqa: E501 + :rtype: str + """ + return self._rf + + @rf.setter + def rf(self, rf): + """Sets the rf of this RfElementConfiguration. + + + :param rf: The rf of this RfElementConfiguration. # noqa: E501 + :type: str + """ + + self._rf = rf + + @property + def radio_type(self): + """Gets the radio_type of this RfElementConfiguration. # noqa: E501 + + + :return: The radio_type of this RfElementConfiguration. # noqa: E501 + :rtype: RadioType + """ + return self._radio_type + + @radio_type.setter + def radio_type(self, radio_type): + """Sets the radio_type of this RfElementConfiguration. + + + :param radio_type: The radio_type of this RfElementConfiguration. # noqa: E501 + :type: RadioType + """ + + self._radio_type = radio_type + + @property + def radio_mode(self): + """Gets the radio_mode of this RfElementConfiguration. # noqa: E501 + + + :return: The radio_mode of this RfElementConfiguration. # noqa: E501 + :rtype: RadioMode + """ + return self._radio_mode + + @radio_mode.setter + def radio_mode(self, radio_mode): + """Sets the radio_mode of this RfElementConfiguration. + + + :param radio_mode: The radio_mode of this RfElementConfiguration. # noqa: E501 + :type: RadioMode + """ + + self._radio_mode = radio_mode + + @property + def auto_channel_selection(self): + """Gets the auto_channel_selection of this RfElementConfiguration. # noqa: E501 + + + :return: The auto_channel_selection of this RfElementConfiguration. # noqa: E501 + :rtype: bool + """ + return self._auto_channel_selection + + @auto_channel_selection.setter + def auto_channel_selection(self, auto_channel_selection): + """Sets the auto_channel_selection of this RfElementConfiguration. + + + :param auto_channel_selection: The auto_channel_selection of this RfElementConfiguration. # noqa: E501 + :type: bool + """ + + self._auto_channel_selection = auto_channel_selection + + @property + def beacon_interval(self): + """Gets the beacon_interval of this RfElementConfiguration. # noqa: E501 + + + :return: The beacon_interval of this RfElementConfiguration. # noqa: E501 + :rtype: int + """ + return self._beacon_interval + + @beacon_interval.setter + def beacon_interval(self, beacon_interval): + """Sets the beacon_interval of this RfElementConfiguration. + + + :param beacon_interval: The beacon_interval of this RfElementConfiguration. # noqa: E501 + :type: int + """ + + self._beacon_interval = beacon_interval + + @property + def force_scan_during_voice(self): + """Gets the force_scan_during_voice of this RfElementConfiguration. # noqa: E501 + + + :return: The force_scan_during_voice of this RfElementConfiguration. # noqa: E501 + :rtype: StateSetting + """ + return self._force_scan_during_voice + + @force_scan_during_voice.setter + def force_scan_during_voice(self, force_scan_during_voice): + """Sets the force_scan_during_voice of this RfElementConfiguration. + + + :param force_scan_during_voice: The force_scan_during_voice of this RfElementConfiguration. # noqa: E501 + :type: StateSetting + """ + + self._force_scan_during_voice = force_scan_during_voice + + @property + def rts_cts_threshold(self): + """Gets the rts_cts_threshold of this RfElementConfiguration. # noqa: E501 + + + :return: The rts_cts_threshold of this RfElementConfiguration. # noqa: E501 + :rtype: int + """ + return self._rts_cts_threshold + + @rts_cts_threshold.setter + def rts_cts_threshold(self, rts_cts_threshold): + """Sets the rts_cts_threshold of this RfElementConfiguration. + + + :param rts_cts_threshold: The rts_cts_threshold of this RfElementConfiguration. # noqa: E501 + :type: int + """ + + self._rts_cts_threshold = rts_cts_threshold + + @property + def channel_bandwidth(self): + """Gets the channel_bandwidth of this RfElementConfiguration. # noqa: E501 + + + :return: The channel_bandwidth of this RfElementConfiguration. # noqa: E501 + :rtype: ChannelBandwidth + """ + return self._channel_bandwidth + + @channel_bandwidth.setter + def channel_bandwidth(self, channel_bandwidth): + """Sets the channel_bandwidth of this RfElementConfiguration. + + + :param channel_bandwidth: The channel_bandwidth of this RfElementConfiguration. # noqa: E501 + :type: ChannelBandwidth + """ + + self._channel_bandwidth = channel_bandwidth + + @property + def mimo_mode(self): + """Gets the mimo_mode of this RfElementConfiguration. # noqa: E501 + + + :return: The mimo_mode of this RfElementConfiguration. # noqa: E501 + :rtype: MimoMode + """ + return self._mimo_mode + + @mimo_mode.setter + def mimo_mode(self, mimo_mode): + """Sets the mimo_mode of this RfElementConfiguration. + + + :param mimo_mode: The mimo_mode of this RfElementConfiguration. # noqa: E501 + :type: MimoMode + """ + + self._mimo_mode = mimo_mode + + @property + def max_num_clients(self): + """Gets the max_num_clients of this RfElementConfiguration. # noqa: E501 + + + :return: The max_num_clients of this RfElementConfiguration. # noqa: E501 + :rtype: int + """ + return self._max_num_clients + + @max_num_clients.setter + def max_num_clients(self, max_num_clients): + """Sets the max_num_clients of this RfElementConfiguration. + + + :param max_num_clients: The max_num_clients of this RfElementConfiguration. # noqa: E501 + :type: int + """ + + self._max_num_clients = max_num_clients + + @property + def multicast_rate(self): + """Gets the multicast_rate of this RfElementConfiguration. # noqa: E501 + + + :return: The multicast_rate of this RfElementConfiguration. # noqa: E501 + :rtype: MulticastRate + """ + return self._multicast_rate + + @multicast_rate.setter + def multicast_rate(self, multicast_rate): + """Sets the multicast_rate of this RfElementConfiguration. + + + :param multicast_rate: The multicast_rate of this RfElementConfiguration. # noqa: E501 + :type: MulticastRate + """ + + self._multicast_rate = multicast_rate + + @property + def active_scan_settings(self): + """Gets the active_scan_settings of this RfElementConfiguration. # noqa: E501 + + + :return: The active_scan_settings of this RfElementConfiguration. # noqa: E501 + :rtype: ActiveScanSettings + """ + return self._active_scan_settings + + @active_scan_settings.setter + def active_scan_settings(self, active_scan_settings): + """Sets the active_scan_settings of this RfElementConfiguration. + + + :param active_scan_settings: The active_scan_settings of this RfElementConfiguration. # noqa: E501 + :type: ActiveScanSettings + """ + + self._active_scan_settings = active_scan_settings + + @property + def management_rate(self): + """Gets the management_rate of this RfElementConfiguration. # noqa: E501 + + + :return: The management_rate of this RfElementConfiguration. # noqa: E501 + :rtype: ManagementRate + """ + return self._management_rate + + @management_rate.setter + def management_rate(self, management_rate): + """Sets the management_rate of this RfElementConfiguration. + + + :param management_rate: The management_rate of this RfElementConfiguration. # noqa: E501 + :type: ManagementRate + """ + + self._management_rate = management_rate + + @property + def rx_cell_size_db(self): + """Gets the rx_cell_size_db of this RfElementConfiguration. # noqa: E501 + + + :return: The rx_cell_size_db of this RfElementConfiguration. # noqa: E501 + :rtype: int + """ + return self._rx_cell_size_db + + @rx_cell_size_db.setter + def rx_cell_size_db(self, rx_cell_size_db): + """Sets the rx_cell_size_db of this RfElementConfiguration. + + + :param rx_cell_size_db: The rx_cell_size_db of this RfElementConfiguration. # noqa: E501 + :type: int + """ + + self._rx_cell_size_db = rx_cell_size_db + + @property + def probe_response_threshold_db(self): + """Gets the probe_response_threshold_db of this RfElementConfiguration. # noqa: E501 + + + :return: The probe_response_threshold_db of this RfElementConfiguration. # noqa: E501 + :rtype: int + """ + return self._probe_response_threshold_db + + @probe_response_threshold_db.setter + def probe_response_threshold_db(self, probe_response_threshold_db): + """Sets the probe_response_threshold_db of this RfElementConfiguration. + + + :param probe_response_threshold_db: The probe_response_threshold_db of this RfElementConfiguration. # noqa: E501 + :type: int + """ + + self._probe_response_threshold_db = probe_response_threshold_db + + @property + def client_disconnect_threshold_db(self): + """Gets the client_disconnect_threshold_db of this RfElementConfiguration. # noqa: E501 + + + :return: The client_disconnect_threshold_db of this RfElementConfiguration. # noqa: E501 + :rtype: int + """ + return self._client_disconnect_threshold_db + + @client_disconnect_threshold_db.setter + def client_disconnect_threshold_db(self, client_disconnect_threshold_db): + """Sets the client_disconnect_threshold_db of this RfElementConfiguration. + + + :param client_disconnect_threshold_db: The client_disconnect_threshold_db of this RfElementConfiguration. # noqa: E501 + :type: int + """ + + self._client_disconnect_threshold_db = client_disconnect_threshold_db + + @property + def eirp_tx_power(self): + """Gets the eirp_tx_power of this RfElementConfiguration. # noqa: E501 + + + :return: The eirp_tx_power of this RfElementConfiguration. # noqa: E501 + :rtype: int + """ + return self._eirp_tx_power + + @eirp_tx_power.setter + def eirp_tx_power(self, eirp_tx_power): + """Sets the eirp_tx_power of this RfElementConfiguration. + + + :param eirp_tx_power: The eirp_tx_power of this RfElementConfiguration. # noqa: E501 + :type: int + """ + + self._eirp_tx_power = eirp_tx_power + + @property + def best_ap_enabled(self): + """Gets the best_ap_enabled of this RfElementConfiguration. # noqa: E501 + + + :return: The best_ap_enabled of this RfElementConfiguration. # noqa: E501 + :rtype: bool + """ + return self._best_ap_enabled + + @best_ap_enabled.setter + def best_ap_enabled(self, best_ap_enabled): + """Sets the best_ap_enabled of this RfElementConfiguration. + + + :param best_ap_enabled: The best_ap_enabled of this RfElementConfiguration. # noqa: E501 + :type: bool + """ + + self._best_ap_enabled = best_ap_enabled + + @property + def neighbouring_list_ap_config(self): + """Gets the neighbouring_list_ap_config of this RfElementConfiguration. # noqa: E501 + + + :return: The neighbouring_list_ap_config of this RfElementConfiguration. # noqa: E501 + :rtype: NeighbouringAPListConfiguration + """ + return self._neighbouring_list_ap_config + + @neighbouring_list_ap_config.setter + def neighbouring_list_ap_config(self, neighbouring_list_ap_config): + """Sets the neighbouring_list_ap_config of this RfElementConfiguration. + + + :param neighbouring_list_ap_config: The neighbouring_list_ap_config of this RfElementConfiguration. # noqa: E501 + :type: NeighbouringAPListConfiguration + """ + + self._neighbouring_list_ap_config = neighbouring_list_ap_config + + @property + def min_auto_cell_size(self): + """Gets the min_auto_cell_size of this RfElementConfiguration. # noqa: E501 + + + :return: The min_auto_cell_size of this RfElementConfiguration. # noqa: E501 + :rtype: int + """ + return self._min_auto_cell_size + + @min_auto_cell_size.setter + def min_auto_cell_size(self, min_auto_cell_size): + """Sets the min_auto_cell_size of this RfElementConfiguration. + + + :param min_auto_cell_size: The min_auto_cell_size of this RfElementConfiguration. # noqa: E501 + :type: int + """ + + self._min_auto_cell_size = min_auto_cell_size + + @property + def perimeter_detection_enabled(self): + """Gets the perimeter_detection_enabled of this RfElementConfiguration. # noqa: E501 + + + :return: The perimeter_detection_enabled of this RfElementConfiguration. # noqa: E501 + :rtype: bool + """ + return self._perimeter_detection_enabled + + @perimeter_detection_enabled.setter + def perimeter_detection_enabled(self, perimeter_detection_enabled): + """Sets the perimeter_detection_enabled of this RfElementConfiguration. + + + :param perimeter_detection_enabled: The perimeter_detection_enabled of this RfElementConfiguration. # noqa: E501 + :type: bool + """ + + self._perimeter_detection_enabled = perimeter_detection_enabled + + @property + def channel_hop_settings(self): + """Gets the channel_hop_settings of this RfElementConfiguration. # noqa: E501 + + + :return: The channel_hop_settings of this RfElementConfiguration. # noqa: E501 + :rtype: ChannelHopSettings + """ + return self._channel_hop_settings + + @channel_hop_settings.setter + def channel_hop_settings(self, channel_hop_settings): + """Sets the channel_hop_settings of this RfElementConfiguration. + + + :param channel_hop_settings: The channel_hop_settings of this RfElementConfiguration. # noqa: E501 + :type: ChannelHopSettings + """ + + self._channel_hop_settings = channel_hop_settings + + @property + def best_ap_settings(self): + """Gets the best_ap_settings of this RfElementConfiguration. # noqa: E501 + + + :return: The best_ap_settings of this RfElementConfiguration. # noqa: E501 + :rtype: RadioBestApSettings + """ + return self._best_ap_settings + + @best_ap_settings.setter + def best_ap_settings(self, best_ap_settings): + """Sets the best_ap_settings of this RfElementConfiguration. + + + :param best_ap_settings: The best_ap_settings of this RfElementConfiguration. # noqa: E501 + :type: RadioBestApSettings + """ + + self._best_ap_settings = best_ap_settings + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(RfElementConfiguration, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, RfElementConfiguration): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/routing_added_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/routing_added_event.py new file mode 100644 index 000000000..c76179196 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/routing_added_event.py @@ -0,0 +1,215 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class RoutingAddedEvent(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'event_timestamp': 'int', + 'customer_id': 'int', + 'equipment_id': 'int', + 'payload': 'EquipmentRoutingRecord' + } + + attribute_map = { + 'model_type': 'model_type', + 'event_timestamp': 'eventTimestamp', + 'customer_id': 'customerId', + 'equipment_id': 'equipmentId', + 'payload': 'payload' + } + + def __init__(self, model_type=None, event_timestamp=None, customer_id=None, equipment_id=None, payload=None): # noqa: E501 + """RoutingAddedEvent - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._event_timestamp = None + self._customer_id = None + self._equipment_id = None + self._payload = None + self.discriminator = None + self.model_type = model_type + if event_timestamp is not None: + self.event_timestamp = event_timestamp + if customer_id is not None: + self.customer_id = customer_id + if equipment_id is not None: + self.equipment_id = equipment_id + if payload is not None: + self.payload = payload + + @property + def model_type(self): + """Gets the model_type of this RoutingAddedEvent. # noqa: E501 + + + :return: The model_type of this RoutingAddedEvent. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this RoutingAddedEvent. + + + :param model_type: The model_type of this RoutingAddedEvent. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + + self._model_type = model_type + + @property + def event_timestamp(self): + """Gets the event_timestamp of this RoutingAddedEvent. # noqa: E501 + + + :return: The event_timestamp of this RoutingAddedEvent. # noqa: E501 + :rtype: int + """ + return self._event_timestamp + + @event_timestamp.setter + def event_timestamp(self, event_timestamp): + """Sets the event_timestamp of this RoutingAddedEvent. + + + :param event_timestamp: The event_timestamp of this RoutingAddedEvent. # noqa: E501 + :type: int + """ + + self._event_timestamp = event_timestamp + + @property + def customer_id(self): + """Gets the customer_id of this RoutingAddedEvent. # noqa: E501 + + + :return: The customer_id of this RoutingAddedEvent. # noqa: E501 + :rtype: int + """ + return self._customer_id + + @customer_id.setter + def customer_id(self, customer_id): + """Sets the customer_id of this RoutingAddedEvent. + + + :param customer_id: The customer_id of this RoutingAddedEvent. # noqa: E501 + :type: int + """ + + self._customer_id = customer_id + + @property + def equipment_id(self): + """Gets the equipment_id of this RoutingAddedEvent. # noqa: E501 + + + :return: The equipment_id of this RoutingAddedEvent. # noqa: E501 + :rtype: int + """ + return self._equipment_id + + @equipment_id.setter + def equipment_id(self, equipment_id): + """Sets the equipment_id of this RoutingAddedEvent. + + + :param equipment_id: The equipment_id of this RoutingAddedEvent. # noqa: E501 + :type: int + """ + + self._equipment_id = equipment_id + + @property + def payload(self): + """Gets the payload of this RoutingAddedEvent. # noqa: E501 + + + :return: The payload of this RoutingAddedEvent. # noqa: E501 + :rtype: EquipmentRoutingRecord + """ + return self._payload + + @payload.setter + def payload(self, payload): + """Sets the payload of this RoutingAddedEvent. + + + :param payload: The payload of this RoutingAddedEvent. # noqa: E501 + :type: EquipmentRoutingRecord + """ + + self._payload = payload + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(RoutingAddedEvent, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, RoutingAddedEvent): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/routing_changed_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/routing_changed_event.py new file mode 100644 index 000000000..fb1e5f8ff --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/routing_changed_event.py @@ -0,0 +1,215 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class RoutingChangedEvent(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'event_timestamp': 'int', + 'customer_id': 'int', + 'equipment_id': 'int', + 'payload': 'EquipmentRoutingRecord' + } + + attribute_map = { + 'model_type': 'model_type', + 'event_timestamp': 'eventTimestamp', + 'customer_id': 'customerId', + 'equipment_id': 'equipmentId', + 'payload': 'payload' + } + + def __init__(self, model_type=None, event_timestamp=None, customer_id=None, equipment_id=None, payload=None): # noqa: E501 + """RoutingChangedEvent - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._event_timestamp = None + self._customer_id = None + self._equipment_id = None + self._payload = None + self.discriminator = None + self.model_type = model_type + if event_timestamp is not None: + self.event_timestamp = event_timestamp + if customer_id is not None: + self.customer_id = customer_id + if equipment_id is not None: + self.equipment_id = equipment_id + if payload is not None: + self.payload = payload + + @property + def model_type(self): + """Gets the model_type of this RoutingChangedEvent. # noqa: E501 + + + :return: The model_type of this RoutingChangedEvent. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this RoutingChangedEvent. + + + :param model_type: The model_type of this RoutingChangedEvent. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + + self._model_type = model_type + + @property + def event_timestamp(self): + """Gets the event_timestamp of this RoutingChangedEvent. # noqa: E501 + + + :return: The event_timestamp of this RoutingChangedEvent. # noqa: E501 + :rtype: int + """ + return self._event_timestamp + + @event_timestamp.setter + def event_timestamp(self, event_timestamp): + """Sets the event_timestamp of this RoutingChangedEvent. + + + :param event_timestamp: The event_timestamp of this RoutingChangedEvent. # noqa: E501 + :type: int + """ + + self._event_timestamp = event_timestamp + + @property + def customer_id(self): + """Gets the customer_id of this RoutingChangedEvent. # noqa: E501 + + + :return: The customer_id of this RoutingChangedEvent. # noqa: E501 + :rtype: int + """ + return self._customer_id + + @customer_id.setter + def customer_id(self, customer_id): + """Sets the customer_id of this RoutingChangedEvent. + + + :param customer_id: The customer_id of this RoutingChangedEvent. # noqa: E501 + :type: int + """ + + self._customer_id = customer_id + + @property + def equipment_id(self): + """Gets the equipment_id of this RoutingChangedEvent. # noqa: E501 + + + :return: The equipment_id of this RoutingChangedEvent. # noqa: E501 + :rtype: int + """ + return self._equipment_id + + @equipment_id.setter + def equipment_id(self, equipment_id): + """Sets the equipment_id of this RoutingChangedEvent. + + + :param equipment_id: The equipment_id of this RoutingChangedEvent. # noqa: E501 + :type: int + """ + + self._equipment_id = equipment_id + + @property + def payload(self): + """Gets the payload of this RoutingChangedEvent. # noqa: E501 + + + :return: The payload of this RoutingChangedEvent. # noqa: E501 + :rtype: EquipmentRoutingRecord + """ + return self._payload + + @payload.setter + def payload(self, payload): + """Sets the payload of this RoutingChangedEvent. + + + :param payload: The payload of this RoutingChangedEvent. # noqa: E501 + :type: EquipmentRoutingRecord + """ + + self._payload = payload + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(RoutingChangedEvent, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, RoutingChangedEvent): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/routing_removed_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/routing_removed_event.py new file mode 100644 index 000000000..e3f3173f9 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/routing_removed_event.py @@ -0,0 +1,215 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class RoutingRemovedEvent(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'event_timestamp': 'int', + 'customer_id': 'int', + 'equipment_id': 'int', + 'payload': 'EquipmentRoutingRecord' + } + + attribute_map = { + 'model_type': 'model_type', + 'event_timestamp': 'eventTimestamp', + 'customer_id': 'customerId', + 'equipment_id': 'equipmentId', + 'payload': 'payload' + } + + def __init__(self, model_type=None, event_timestamp=None, customer_id=None, equipment_id=None, payload=None): # noqa: E501 + """RoutingRemovedEvent - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._event_timestamp = None + self._customer_id = None + self._equipment_id = None + self._payload = None + self.discriminator = None + self.model_type = model_type + if event_timestamp is not None: + self.event_timestamp = event_timestamp + if customer_id is not None: + self.customer_id = customer_id + if equipment_id is not None: + self.equipment_id = equipment_id + if payload is not None: + self.payload = payload + + @property + def model_type(self): + """Gets the model_type of this RoutingRemovedEvent. # noqa: E501 + + + :return: The model_type of this RoutingRemovedEvent. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this RoutingRemovedEvent. + + + :param model_type: The model_type of this RoutingRemovedEvent. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + + self._model_type = model_type + + @property + def event_timestamp(self): + """Gets the event_timestamp of this RoutingRemovedEvent. # noqa: E501 + + + :return: The event_timestamp of this RoutingRemovedEvent. # noqa: E501 + :rtype: int + """ + return self._event_timestamp + + @event_timestamp.setter + def event_timestamp(self, event_timestamp): + """Sets the event_timestamp of this RoutingRemovedEvent. + + + :param event_timestamp: The event_timestamp of this RoutingRemovedEvent. # noqa: E501 + :type: int + """ + + self._event_timestamp = event_timestamp + + @property + def customer_id(self): + """Gets the customer_id of this RoutingRemovedEvent. # noqa: E501 + + + :return: The customer_id of this RoutingRemovedEvent. # noqa: E501 + :rtype: int + """ + return self._customer_id + + @customer_id.setter + def customer_id(self, customer_id): + """Sets the customer_id of this RoutingRemovedEvent. + + + :param customer_id: The customer_id of this RoutingRemovedEvent. # noqa: E501 + :type: int + """ + + self._customer_id = customer_id + + @property + def equipment_id(self): + """Gets the equipment_id of this RoutingRemovedEvent. # noqa: E501 + + + :return: The equipment_id of this RoutingRemovedEvent. # noqa: E501 + :rtype: int + """ + return self._equipment_id + + @equipment_id.setter + def equipment_id(self, equipment_id): + """Sets the equipment_id of this RoutingRemovedEvent. + + + :param equipment_id: The equipment_id of this RoutingRemovedEvent. # noqa: E501 + :type: int + """ + + self._equipment_id = equipment_id + + @property + def payload(self): + """Gets the payload of this RoutingRemovedEvent. # noqa: E501 + + + :return: The payload of this RoutingRemovedEvent. # noqa: E501 + :rtype: EquipmentRoutingRecord + """ + return self._payload + + @payload.setter + def payload(self, payload): + """Sets the payload of this RoutingRemovedEvent. + + + :param payload: The payload of this RoutingRemovedEvent. # noqa: E501 + :type: EquipmentRoutingRecord + """ + + self._payload = payload + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(RoutingRemovedEvent, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, RoutingRemovedEvent): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/rrm_bulk_update_ap_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/rrm_bulk_update_ap_details.py new file mode 100644 index 000000000..65a70fca4 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/rrm_bulk_update_ap_details.py @@ -0,0 +1,266 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class RrmBulkUpdateApDetails(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'channel_number': 'int', + 'backup_channel_number': 'int', + 'rx_cell_size_db': 'SourceSelectionValue', + 'probe_response_threshold_db': 'SourceSelectionValue', + 'client_disconnect_threshold_db': 'SourceSelectionValue', + 'drop_in_snr_percentage': 'int', + 'min_load_factor': 'int' + } + + attribute_map = { + 'channel_number': 'channelNumber', + 'backup_channel_number': 'backupChannelNumber', + 'rx_cell_size_db': 'rxCellSizeDb', + 'probe_response_threshold_db': 'probeResponseThresholdDb', + 'client_disconnect_threshold_db': 'clientDisconnectThresholdDb', + 'drop_in_snr_percentage': 'dropInSnrPercentage', + 'min_load_factor': 'minLoadFactor' + } + + def __init__(self, channel_number=None, backup_channel_number=None, rx_cell_size_db=None, probe_response_threshold_db=None, client_disconnect_threshold_db=None, drop_in_snr_percentage=None, min_load_factor=None): # noqa: E501 + """RrmBulkUpdateApDetails - a model defined in Swagger""" # noqa: E501 + self._channel_number = None + self._backup_channel_number = None + self._rx_cell_size_db = None + self._probe_response_threshold_db = None + self._client_disconnect_threshold_db = None + self._drop_in_snr_percentage = None + self._min_load_factor = None + self.discriminator = None + if channel_number is not None: + self.channel_number = channel_number + if backup_channel_number is not None: + self.backup_channel_number = backup_channel_number + if rx_cell_size_db is not None: + self.rx_cell_size_db = rx_cell_size_db + if probe_response_threshold_db is not None: + self.probe_response_threshold_db = probe_response_threshold_db + if client_disconnect_threshold_db is not None: + self.client_disconnect_threshold_db = client_disconnect_threshold_db + if drop_in_snr_percentage is not None: + self.drop_in_snr_percentage = drop_in_snr_percentage + if min_load_factor is not None: + self.min_load_factor = min_load_factor + + @property + def channel_number(self): + """Gets the channel_number of this RrmBulkUpdateApDetails. # noqa: E501 + + + :return: The channel_number of this RrmBulkUpdateApDetails. # noqa: E501 + :rtype: int + """ + return self._channel_number + + @channel_number.setter + def channel_number(self, channel_number): + """Sets the channel_number of this RrmBulkUpdateApDetails. + + + :param channel_number: The channel_number of this RrmBulkUpdateApDetails. # noqa: E501 + :type: int + """ + + self._channel_number = channel_number + + @property + def backup_channel_number(self): + """Gets the backup_channel_number of this RrmBulkUpdateApDetails. # noqa: E501 + + + :return: The backup_channel_number of this RrmBulkUpdateApDetails. # noqa: E501 + :rtype: int + """ + return self._backup_channel_number + + @backup_channel_number.setter + def backup_channel_number(self, backup_channel_number): + """Sets the backup_channel_number of this RrmBulkUpdateApDetails. + + + :param backup_channel_number: The backup_channel_number of this RrmBulkUpdateApDetails. # noqa: E501 + :type: int + """ + + self._backup_channel_number = backup_channel_number + + @property + def rx_cell_size_db(self): + """Gets the rx_cell_size_db of this RrmBulkUpdateApDetails. # noqa: E501 + + + :return: The rx_cell_size_db of this RrmBulkUpdateApDetails. # noqa: E501 + :rtype: SourceSelectionValue + """ + return self._rx_cell_size_db + + @rx_cell_size_db.setter + def rx_cell_size_db(self, rx_cell_size_db): + """Sets the rx_cell_size_db of this RrmBulkUpdateApDetails. + + + :param rx_cell_size_db: The rx_cell_size_db of this RrmBulkUpdateApDetails. # noqa: E501 + :type: SourceSelectionValue + """ + + self._rx_cell_size_db = rx_cell_size_db + + @property + def probe_response_threshold_db(self): + """Gets the probe_response_threshold_db of this RrmBulkUpdateApDetails. # noqa: E501 + + + :return: The probe_response_threshold_db of this RrmBulkUpdateApDetails. # noqa: E501 + :rtype: SourceSelectionValue + """ + return self._probe_response_threshold_db + + @probe_response_threshold_db.setter + def probe_response_threshold_db(self, probe_response_threshold_db): + """Sets the probe_response_threshold_db of this RrmBulkUpdateApDetails. + + + :param probe_response_threshold_db: The probe_response_threshold_db of this RrmBulkUpdateApDetails. # noqa: E501 + :type: SourceSelectionValue + """ + + self._probe_response_threshold_db = probe_response_threshold_db + + @property + def client_disconnect_threshold_db(self): + """Gets the client_disconnect_threshold_db of this RrmBulkUpdateApDetails. # noqa: E501 + + + :return: The client_disconnect_threshold_db of this RrmBulkUpdateApDetails. # noqa: E501 + :rtype: SourceSelectionValue + """ + return self._client_disconnect_threshold_db + + @client_disconnect_threshold_db.setter + def client_disconnect_threshold_db(self, client_disconnect_threshold_db): + """Sets the client_disconnect_threshold_db of this RrmBulkUpdateApDetails. + + + :param client_disconnect_threshold_db: The client_disconnect_threshold_db of this RrmBulkUpdateApDetails. # noqa: E501 + :type: SourceSelectionValue + """ + + self._client_disconnect_threshold_db = client_disconnect_threshold_db + + @property + def drop_in_snr_percentage(self): + """Gets the drop_in_snr_percentage of this RrmBulkUpdateApDetails. # noqa: E501 + + + :return: The drop_in_snr_percentage of this RrmBulkUpdateApDetails. # noqa: E501 + :rtype: int + """ + return self._drop_in_snr_percentage + + @drop_in_snr_percentage.setter + def drop_in_snr_percentage(self, drop_in_snr_percentage): + """Sets the drop_in_snr_percentage of this RrmBulkUpdateApDetails. + + + :param drop_in_snr_percentage: The drop_in_snr_percentage of this RrmBulkUpdateApDetails. # noqa: E501 + :type: int + """ + + self._drop_in_snr_percentage = drop_in_snr_percentage + + @property + def min_load_factor(self): + """Gets the min_load_factor of this RrmBulkUpdateApDetails. # noqa: E501 + + + :return: The min_load_factor of this RrmBulkUpdateApDetails. # noqa: E501 + :rtype: int + """ + return self._min_load_factor + + @min_load_factor.setter + def min_load_factor(self, min_load_factor): + """Sets the min_load_factor of this RrmBulkUpdateApDetails. + + + :param min_load_factor: The min_load_factor of this RrmBulkUpdateApDetails. # noqa: E501 + :type: int + """ + + self._min_load_factor = min_load_factor + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(RrmBulkUpdateApDetails, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, RrmBulkUpdateApDetails): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/rtls_settings.py b/libs/cloudapi/cloudsdk/swagger_client/models/rtls_settings.py new file mode 100644 index 000000000..da86ca041 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/rtls_settings.py @@ -0,0 +1,162 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class RtlsSettings(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'enabled': 'bool', + 'srv_host_ip': 'str', + 'srv_host_port': 'int' + } + + attribute_map = { + 'enabled': 'enabled', + 'srv_host_ip': 'srvHostIp', + 'srv_host_port': 'srvHostPort' + } + + def __init__(self, enabled=None, srv_host_ip=None, srv_host_port=None): # noqa: E501 + """RtlsSettings - a model defined in Swagger""" # noqa: E501 + self._enabled = None + self._srv_host_ip = None + self._srv_host_port = None + self.discriminator = None + if enabled is not None: + self.enabled = enabled + if srv_host_ip is not None: + self.srv_host_ip = srv_host_ip + if srv_host_port is not None: + self.srv_host_port = srv_host_port + + @property + def enabled(self): + """Gets the enabled of this RtlsSettings. # noqa: E501 + + + :return: The enabled of this RtlsSettings. # noqa: E501 + :rtype: bool + """ + return self._enabled + + @enabled.setter + def enabled(self, enabled): + """Sets the enabled of this RtlsSettings. + + + :param enabled: The enabled of this RtlsSettings. # noqa: E501 + :type: bool + """ + + self._enabled = enabled + + @property + def srv_host_ip(self): + """Gets the srv_host_ip of this RtlsSettings. # noqa: E501 + + + :return: The srv_host_ip of this RtlsSettings. # noqa: E501 + :rtype: str + """ + return self._srv_host_ip + + @srv_host_ip.setter + def srv_host_ip(self, srv_host_ip): + """Sets the srv_host_ip of this RtlsSettings. + + + :param srv_host_ip: The srv_host_ip of this RtlsSettings. # noqa: E501 + :type: str + """ + + self._srv_host_ip = srv_host_ip + + @property + def srv_host_port(self): + """Gets the srv_host_port of this RtlsSettings. # noqa: E501 + + + :return: The srv_host_port of this RtlsSettings. # noqa: E501 + :rtype: int + """ + return self._srv_host_port + + @srv_host_port.setter + def srv_host_port(self, srv_host_port): + """Sets the srv_host_port of this RtlsSettings. + + + :param srv_host_port: The srv_host_port of this RtlsSettings. # noqa: E501 + :type: int + """ + + self._srv_host_port = srv_host_port + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(RtlsSettings, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, RtlsSettings): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/rtp_flow_direction.py b/libs/cloudapi/cloudsdk/swagger_client/models/rtp_flow_direction.py new file mode 100644 index 000000000..b4a604631 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/rtp_flow_direction.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class RtpFlowDirection(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + UPSTREAM = "UPSTREAM" + DOWNSTREAM = "DOWNSTREAM" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """RtpFlowDirection - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(RtpFlowDirection, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, RtpFlowDirection): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/rtp_flow_stats.py b/libs/cloudapi/cloudsdk/swagger_client/models/rtp_flow_stats.py new file mode 100644 index 000000000..ba91c9e89 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/rtp_flow_stats.py @@ -0,0 +1,292 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class RtpFlowStats(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'direction': 'RtpFlowDirection', + 'flow_type': 'RtpFlowType', + 'latency': 'int', + 'jitter': 'int', + 'packet_loss_consecutive': 'int', + 'code': 'int', + 'mos_multiplied_by100': 'int', + 'block_codecs': 'list[str]' + } + + attribute_map = { + 'direction': 'direction', + 'flow_type': 'flowType', + 'latency': 'latency', + 'jitter': 'jitter', + 'packet_loss_consecutive': 'packetLossConsecutive', + 'code': 'code', + 'mos_multiplied_by100': 'mosMultipliedBy100', + 'block_codecs': 'blockCodecs' + } + + def __init__(self, direction=None, flow_type=None, latency=None, jitter=None, packet_loss_consecutive=None, code=None, mos_multiplied_by100=None, block_codecs=None): # noqa: E501 + """RtpFlowStats - a model defined in Swagger""" # noqa: E501 + self._direction = None + self._flow_type = None + self._latency = None + self._jitter = None + self._packet_loss_consecutive = None + self._code = None + self._mos_multiplied_by100 = None + self._block_codecs = None + self.discriminator = None + if direction is not None: + self.direction = direction + if flow_type is not None: + self.flow_type = flow_type + if latency is not None: + self.latency = latency + if jitter is not None: + self.jitter = jitter + if packet_loss_consecutive is not None: + self.packet_loss_consecutive = packet_loss_consecutive + if code is not None: + self.code = code + if mos_multiplied_by100 is not None: + self.mos_multiplied_by100 = mos_multiplied_by100 + if block_codecs is not None: + self.block_codecs = block_codecs + + @property + def direction(self): + """Gets the direction of this RtpFlowStats. # noqa: E501 + + + :return: The direction of this RtpFlowStats. # noqa: E501 + :rtype: RtpFlowDirection + """ + return self._direction + + @direction.setter + def direction(self, direction): + """Sets the direction of this RtpFlowStats. + + + :param direction: The direction of this RtpFlowStats. # noqa: E501 + :type: RtpFlowDirection + """ + + self._direction = direction + + @property + def flow_type(self): + """Gets the flow_type of this RtpFlowStats. # noqa: E501 + + + :return: The flow_type of this RtpFlowStats. # noqa: E501 + :rtype: RtpFlowType + """ + return self._flow_type + + @flow_type.setter + def flow_type(self, flow_type): + """Sets the flow_type of this RtpFlowStats. + + + :param flow_type: The flow_type of this RtpFlowStats. # noqa: E501 + :type: RtpFlowType + """ + + self._flow_type = flow_type + + @property + def latency(self): + """Gets the latency of this RtpFlowStats. # noqa: E501 + + + :return: The latency of this RtpFlowStats. # noqa: E501 + :rtype: int + """ + return self._latency + + @latency.setter + def latency(self, latency): + """Sets the latency of this RtpFlowStats. + + + :param latency: The latency of this RtpFlowStats. # noqa: E501 + :type: int + """ + + self._latency = latency + + @property + def jitter(self): + """Gets the jitter of this RtpFlowStats. # noqa: E501 + + + :return: The jitter of this RtpFlowStats. # noqa: E501 + :rtype: int + """ + return self._jitter + + @jitter.setter + def jitter(self, jitter): + """Sets the jitter of this RtpFlowStats. + + + :param jitter: The jitter of this RtpFlowStats. # noqa: E501 + :type: int + """ + + self._jitter = jitter + + @property + def packet_loss_consecutive(self): + """Gets the packet_loss_consecutive of this RtpFlowStats. # noqa: E501 + + + :return: The packet_loss_consecutive of this RtpFlowStats. # noqa: E501 + :rtype: int + """ + return self._packet_loss_consecutive + + @packet_loss_consecutive.setter + def packet_loss_consecutive(self, packet_loss_consecutive): + """Sets the packet_loss_consecutive of this RtpFlowStats. + + + :param packet_loss_consecutive: The packet_loss_consecutive of this RtpFlowStats. # noqa: E501 + :type: int + """ + + self._packet_loss_consecutive = packet_loss_consecutive + + @property + def code(self): + """Gets the code of this RtpFlowStats. # noqa: E501 + + + :return: The code of this RtpFlowStats. # noqa: E501 + :rtype: int + """ + return self._code + + @code.setter + def code(self, code): + """Sets the code of this RtpFlowStats. + + + :param code: The code of this RtpFlowStats. # noqa: E501 + :type: int + """ + + self._code = code + + @property + def mos_multiplied_by100(self): + """Gets the mos_multiplied_by100 of this RtpFlowStats. # noqa: E501 + + + :return: The mos_multiplied_by100 of this RtpFlowStats. # noqa: E501 + :rtype: int + """ + return self._mos_multiplied_by100 + + @mos_multiplied_by100.setter + def mos_multiplied_by100(self, mos_multiplied_by100): + """Sets the mos_multiplied_by100 of this RtpFlowStats. + + + :param mos_multiplied_by100: The mos_multiplied_by100 of this RtpFlowStats. # noqa: E501 + :type: int + """ + + self._mos_multiplied_by100 = mos_multiplied_by100 + + @property + def block_codecs(self): + """Gets the block_codecs of this RtpFlowStats. # noqa: E501 + + + :return: The block_codecs of this RtpFlowStats. # noqa: E501 + :rtype: list[str] + """ + return self._block_codecs + + @block_codecs.setter + def block_codecs(self, block_codecs): + """Sets the block_codecs of this RtpFlowStats. + + + :param block_codecs: The block_codecs of this RtpFlowStats. # noqa: E501 + :type: list[str] + """ + + self._block_codecs = block_codecs + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(RtpFlowStats, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, RtpFlowStats): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/rtp_flow_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/rtp_flow_type.py new file mode 100644 index 000000000..53d1e17d7 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/rtp_flow_type.py @@ -0,0 +1,91 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class RtpFlowType(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + VOICE = "VOICE" + VIDEO = "VIDEO" + UNSUPPORTED = "UNSUPPORTED" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """RtpFlowType - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(RtpFlowType, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, RtpFlowType): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/schedule_setting.py b/libs/cloudapi/cloudsdk/swagger_client/models/schedule_setting.py new file mode 100644 index 000000000..3b7544081 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/schedule_setting.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ScheduleSetting(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + discriminator_value_class_map = { + } + + def __init__(self): # noqa: E501 + """ScheduleSetting - a model defined in Swagger""" # noqa: E501 + self.discriminator = 'model_type' + + def get_real_child_model(self, data): + """Returns the real base class specified by the discriminator""" + discriminator_value = data[self.discriminator].lower() + return self.discriminator_value_class_map.get(discriminator_value) + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ScheduleSetting, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ScheduleSetting): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/security_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/security_type.py new file mode 100644 index 000000000..9b9439b0a --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/security_type.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class SecurityType(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + OPEN = "OPEN" + RADIUS = "RADIUS" + PSK = "PSK" + SAE = "SAE" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """SecurityType - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(SecurityType, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, SecurityType): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/service_adoption_metrics.py b/libs/cloudapi/cloudsdk/swagger_client/models/service_adoption_metrics.py new file mode 100644 index 000000000..592768aec --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/service_adoption_metrics.py @@ -0,0 +1,346 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ServiceAdoptionMetrics(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'year': 'int', + 'month': 'int', + 'week_of_year': 'int', + 'day_of_year': 'int', + 'customer_id': 'int', + 'location_id': 'int', + 'equipment_id': 'int', + 'num_unique_connected_macs': 'int', + 'num_bytes_upstream': 'int', + 'num_bytes_downstream': 'int' + } + + attribute_map = { + 'year': 'year', + 'month': 'month', + 'week_of_year': 'weekOfYear', + 'day_of_year': 'dayOfYear', + 'customer_id': 'customerId', + 'location_id': 'locationId', + 'equipment_id': 'equipmentId', + 'num_unique_connected_macs': 'numUniqueConnectedMacs', + 'num_bytes_upstream': 'numBytesUpstream', + 'num_bytes_downstream': 'numBytesDownstream' + } + + def __init__(self, year=None, month=None, week_of_year=None, day_of_year=None, customer_id=None, location_id=None, equipment_id=None, num_unique_connected_macs=None, num_bytes_upstream=None, num_bytes_downstream=None): # noqa: E501 + """ServiceAdoptionMetrics - a model defined in Swagger""" # noqa: E501 + self._year = None + self._month = None + self._week_of_year = None + self._day_of_year = None + self._customer_id = None + self._location_id = None + self._equipment_id = None + self._num_unique_connected_macs = None + self._num_bytes_upstream = None + self._num_bytes_downstream = None + self.discriminator = None + if year is not None: + self.year = year + if month is not None: + self.month = month + if week_of_year is not None: + self.week_of_year = week_of_year + if day_of_year is not None: + self.day_of_year = day_of_year + if customer_id is not None: + self.customer_id = customer_id + if location_id is not None: + self.location_id = location_id + if equipment_id is not None: + self.equipment_id = equipment_id + if num_unique_connected_macs is not None: + self.num_unique_connected_macs = num_unique_connected_macs + if num_bytes_upstream is not None: + self.num_bytes_upstream = num_bytes_upstream + if num_bytes_downstream is not None: + self.num_bytes_downstream = num_bytes_downstream + + @property + def year(self): + """Gets the year of this ServiceAdoptionMetrics. # noqa: E501 + + + :return: The year of this ServiceAdoptionMetrics. # noqa: E501 + :rtype: int + """ + return self._year + + @year.setter + def year(self, year): + """Sets the year of this ServiceAdoptionMetrics. + + + :param year: The year of this ServiceAdoptionMetrics. # noqa: E501 + :type: int + """ + + self._year = year + + @property + def month(self): + """Gets the month of this ServiceAdoptionMetrics. # noqa: E501 + + + :return: The month of this ServiceAdoptionMetrics. # noqa: E501 + :rtype: int + """ + return self._month + + @month.setter + def month(self, month): + """Sets the month of this ServiceAdoptionMetrics. + + + :param month: The month of this ServiceAdoptionMetrics. # noqa: E501 + :type: int + """ + + self._month = month + + @property + def week_of_year(self): + """Gets the week_of_year of this ServiceAdoptionMetrics. # noqa: E501 + + + :return: The week_of_year of this ServiceAdoptionMetrics. # noqa: E501 + :rtype: int + """ + return self._week_of_year + + @week_of_year.setter + def week_of_year(self, week_of_year): + """Sets the week_of_year of this ServiceAdoptionMetrics. + + + :param week_of_year: The week_of_year of this ServiceAdoptionMetrics. # noqa: E501 + :type: int + """ + + self._week_of_year = week_of_year + + @property + def day_of_year(self): + """Gets the day_of_year of this ServiceAdoptionMetrics. # noqa: E501 + + + :return: The day_of_year of this ServiceAdoptionMetrics. # noqa: E501 + :rtype: int + """ + return self._day_of_year + + @day_of_year.setter + def day_of_year(self, day_of_year): + """Sets the day_of_year of this ServiceAdoptionMetrics. + + + :param day_of_year: The day_of_year of this ServiceAdoptionMetrics. # noqa: E501 + :type: int + """ + + self._day_of_year = day_of_year + + @property + def customer_id(self): + """Gets the customer_id of this ServiceAdoptionMetrics. # noqa: E501 + + + :return: The customer_id of this ServiceAdoptionMetrics. # noqa: E501 + :rtype: int + """ + return self._customer_id + + @customer_id.setter + def customer_id(self, customer_id): + """Sets the customer_id of this ServiceAdoptionMetrics. + + + :param customer_id: The customer_id of this ServiceAdoptionMetrics. # noqa: E501 + :type: int + """ + + self._customer_id = customer_id + + @property + def location_id(self): + """Gets the location_id of this ServiceAdoptionMetrics. # noqa: E501 + + + :return: The location_id of this ServiceAdoptionMetrics. # noqa: E501 + :rtype: int + """ + return self._location_id + + @location_id.setter + def location_id(self, location_id): + """Sets the location_id of this ServiceAdoptionMetrics. + + + :param location_id: The location_id of this ServiceAdoptionMetrics. # noqa: E501 + :type: int + """ + + self._location_id = location_id + + @property + def equipment_id(self): + """Gets the equipment_id of this ServiceAdoptionMetrics. # noqa: E501 + + + :return: The equipment_id of this ServiceAdoptionMetrics. # noqa: E501 + :rtype: int + """ + return self._equipment_id + + @equipment_id.setter + def equipment_id(self, equipment_id): + """Sets the equipment_id of this ServiceAdoptionMetrics. + + + :param equipment_id: The equipment_id of this ServiceAdoptionMetrics. # noqa: E501 + :type: int + """ + + self._equipment_id = equipment_id + + @property + def num_unique_connected_macs(self): + """Gets the num_unique_connected_macs of this ServiceAdoptionMetrics. # noqa: E501 + + number of unique connected MAC addresses for the data point. Note - this number is accurate only at the lowest level of granularity - per AP per day. In case of aggregations - per location/customer or per week/month - this number is just a sum of corresponding datapoints, and it does not account for non-unique MACs in those cases. # noqa: E501 + + :return: The num_unique_connected_macs of this ServiceAdoptionMetrics. # noqa: E501 + :rtype: int + """ + return self._num_unique_connected_macs + + @num_unique_connected_macs.setter + def num_unique_connected_macs(self, num_unique_connected_macs): + """Sets the num_unique_connected_macs of this ServiceAdoptionMetrics. + + number of unique connected MAC addresses for the data point. Note - this number is accurate only at the lowest level of granularity - per AP per day. In case of aggregations - per location/customer or per week/month - this number is just a sum of corresponding datapoints, and it does not account for non-unique MACs in those cases. # noqa: E501 + + :param num_unique_connected_macs: The num_unique_connected_macs of this ServiceAdoptionMetrics. # noqa: E501 + :type: int + """ + + self._num_unique_connected_macs = num_unique_connected_macs + + @property + def num_bytes_upstream(self): + """Gets the num_bytes_upstream of this ServiceAdoptionMetrics. # noqa: E501 + + + :return: The num_bytes_upstream of this ServiceAdoptionMetrics. # noqa: E501 + :rtype: int + """ + return self._num_bytes_upstream + + @num_bytes_upstream.setter + def num_bytes_upstream(self, num_bytes_upstream): + """Sets the num_bytes_upstream of this ServiceAdoptionMetrics. + + + :param num_bytes_upstream: The num_bytes_upstream of this ServiceAdoptionMetrics. # noqa: E501 + :type: int + """ + + self._num_bytes_upstream = num_bytes_upstream + + @property + def num_bytes_downstream(self): + """Gets the num_bytes_downstream of this ServiceAdoptionMetrics. # noqa: E501 + + + :return: The num_bytes_downstream of this ServiceAdoptionMetrics. # noqa: E501 + :rtype: int + """ + return self._num_bytes_downstream + + @num_bytes_downstream.setter + def num_bytes_downstream(self, num_bytes_downstream): + """Sets the num_bytes_downstream of this ServiceAdoptionMetrics. + + + :param num_bytes_downstream: The num_bytes_downstream of this ServiceAdoptionMetrics. # noqa: E501 + :type: int + """ + + self._num_bytes_downstream = num_bytes_downstream + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ServiceAdoptionMetrics, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ServiceAdoptionMetrics): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/service_metric.py b/libs/cloudapi/cloudsdk/swagger_client/models/service_metric.py new file mode 100644 index 000000000..0626a4d33 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/service_metric.py @@ -0,0 +1,294 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ServiceMetric(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'customer_id': 'int', + 'location_id': 'int', + 'equipment_id': 'int', + 'client_mac': 'int', + 'client_mac_address': 'MacAddress', + 'data_type': 'ServiceMetricDataType', + 'created_timestamp': 'int', + 'details': 'ServiceMetricDetails' + } + + attribute_map = { + 'customer_id': 'customerId', + 'location_id': 'locationId', + 'equipment_id': 'equipmentId', + 'client_mac': 'clientMac', + 'client_mac_address': 'clientMacAddress', + 'data_type': 'dataType', + 'created_timestamp': 'createdTimestamp', + 'details': 'details' + } + + def __init__(self, customer_id=None, location_id=None, equipment_id=None, client_mac=None, client_mac_address=None, data_type=None, created_timestamp=None, details=None): # noqa: E501 + """ServiceMetric - a model defined in Swagger""" # noqa: E501 + self._customer_id = None + self._location_id = None + self._equipment_id = None + self._client_mac = None + self._client_mac_address = None + self._data_type = None + self._created_timestamp = None + self._details = None + self.discriminator = None + if customer_id is not None: + self.customer_id = customer_id + if location_id is not None: + self.location_id = location_id + if equipment_id is not None: + self.equipment_id = equipment_id + if client_mac is not None: + self.client_mac = client_mac + if client_mac_address is not None: + self.client_mac_address = client_mac_address + if data_type is not None: + self.data_type = data_type + if created_timestamp is not None: + self.created_timestamp = created_timestamp + if details is not None: + self.details = details + + @property + def customer_id(self): + """Gets the customer_id of this ServiceMetric. # noqa: E501 + + + :return: The customer_id of this ServiceMetric. # noqa: E501 + :rtype: int + """ + return self._customer_id + + @customer_id.setter + def customer_id(self, customer_id): + """Sets the customer_id of this ServiceMetric. + + + :param customer_id: The customer_id of this ServiceMetric. # noqa: E501 + :type: int + """ + + self._customer_id = customer_id + + @property + def location_id(self): + """Gets the location_id of this ServiceMetric. # noqa: E501 + + + :return: The location_id of this ServiceMetric. # noqa: E501 + :rtype: int + """ + return self._location_id + + @location_id.setter + def location_id(self, location_id): + """Sets the location_id of this ServiceMetric. + + + :param location_id: The location_id of this ServiceMetric. # noqa: E501 + :type: int + """ + + self._location_id = location_id + + @property + def equipment_id(self): + """Gets the equipment_id of this ServiceMetric. # noqa: E501 + + + :return: The equipment_id of this ServiceMetric. # noqa: E501 + :rtype: int + """ + return self._equipment_id + + @equipment_id.setter + def equipment_id(self, equipment_id): + """Sets the equipment_id of this ServiceMetric. + + + :param equipment_id: The equipment_id of this ServiceMetric. # noqa: E501 + :type: int + """ + + self._equipment_id = equipment_id + + @property + def client_mac(self): + """Gets the client_mac of this ServiceMetric. # noqa: E501 + + int64 representation of the client MAC address, used internally for storage and indexing # noqa: E501 + + :return: The client_mac of this ServiceMetric. # noqa: E501 + :rtype: int + """ + return self._client_mac + + @client_mac.setter + def client_mac(self, client_mac): + """Sets the client_mac of this ServiceMetric. + + int64 representation of the client MAC address, used internally for storage and indexing # noqa: E501 + + :param client_mac: The client_mac of this ServiceMetric. # noqa: E501 + :type: int + """ + + self._client_mac = client_mac + + @property + def client_mac_address(self): + """Gets the client_mac_address of this ServiceMetric. # noqa: E501 + + + :return: The client_mac_address of this ServiceMetric. # noqa: E501 + :rtype: MacAddress + """ + return self._client_mac_address + + @client_mac_address.setter + def client_mac_address(self, client_mac_address): + """Sets the client_mac_address of this ServiceMetric. + + + :param client_mac_address: The client_mac_address of this ServiceMetric. # noqa: E501 + :type: MacAddress + """ + + self._client_mac_address = client_mac_address + + @property + def data_type(self): + """Gets the data_type of this ServiceMetric. # noqa: E501 + + + :return: The data_type of this ServiceMetric. # noqa: E501 + :rtype: ServiceMetricDataType + """ + return self._data_type + + @data_type.setter + def data_type(self, data_type): + """Sets the data_type of this ServiceMetric. + + + :param data_type: The data_type of this ServiceMetric. # noqa: E501 + :type: ServiceMetricDataType + """ + + self._data_type = data_type + + @property + def created_timestamp(self): + """Gets the created_timestamp of this ServiceMetric. # noqa: E501 + + + :return: The created_timestamp of this ServiceMetric. # noqa: E501 + :rtype: int + """ + return self._created_timestamp + + @created_timestamp.setter + def created_timestamp(self, created_timestamp): + """Sets the created_timestamp of this ServiceMetric. + + + :param created_timestamp: The created_timestamp of this ServiceMetric. # noqa: E501 + :type: int + """ + + self._created_timestamp = created_timestamp + + @property + def details(self): + """Gets the details of this ServiceMetric. # noqa: E501 + + + :return: The details of this ServiceMetric. # noqa: E501 + :rtype: ServiceMetricDetails + """ + return self._details + + @details.setter + def details(self, details): + """Sets the details of this ServiceMetric. + + + :param details: The details of this ServiceMetric. # noqa: E501 + :type: ServiceMetricDetails + """ + + self._details = details + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ServiceMetric, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ServiceMetric): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/service_metric_config_parameters.py b/libs/cloudapi/cloudsdk/swagger_client/models/service_metric_config_parameters.py new file mode 100644 index 000000000..13e7a04e7 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/service_metric_config_parameters.py @@ -0,0 +1,162 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ServiceMetricConfigParameters(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'sampling_interval': 'int', + 'reporting_interval_seconds': 'int', + 'service_metric_data_type': 'ServiceMetricDataType' + } + + attribute_map = { + 'sampling_interval': 'samplingInterval', + 'reporting_interval_seconds': 'reportingIntervalSeconds', + 'service_metric_data_type': 'serviceMetricDataType' + } + + def __init__(self, sampling_interval=None, reporting_interval_seconds=None, service_metric_data_type=None): # noqa: E501 + """ServiceMetricConfigParameters - a model defined in Swagger""" # noqa: E501 + self._sampling_interval = None + self._reporting_interval_seconds = None + self._service_metric_data_type = None + self.discriminator = None + if sampling_interval is not None: + self.sampling_interval = sampling_interval + if reporting_interval_seconds is not None: + self.reporting_interval_seconds = reporting_interval_seconds + if service_metric_data_type is not None: + self.service_metric_data_type = service_metric_data_type + + @property + def sampling_interval(self): + """Gets the sampling_interval of this ServiceMetricConfigParameters. # noqa: E501 + + + :return: The sampling_interval of this ServiceMetricConfigParameters. # noqa: E501 + :rtype: int + """ + return self._sampling_interval + + @sampling_interval.setter + def sampling_interval(self, sampling_interval): + """Sets the sampling_interval of this ServiceMetricConfigParameters. + + + :param sampling_interval: The sampling_interval of this ServiceMetricConfigParameters. # noqa: E501 + :type: int + """ + + self._sampling_interval = sampling_interval + + @property + def reporting_interval_seconds(self): + """Gets the reporting_interval_seconds of this ServiceMetricConfigParameters. # noqa: E501 + + + :return: The reporting_interval_seconds of this ServiceMetricConfigParameters. # noqa: E501 + :rtype: int + """ + return self._reporting_interval_seconds + + @reporting_interval_seconds.setter + def reporting_interval_seconds(self, reporting_interval_seconds): + """Sets the reporting_interval_seconds of this ServiceMetricConfigParameters. + + + :param reporting_interval_seconds: The reporting_interval_seconds of this ServiceMetricConfigParameters. # noqa: E501 + :type: int + """ + + self._reporting_interval_seconds = reporting_interval_seconds + + @property + def service_metric_data_type(self): + """Gets the service_metric_data_type of this ServiceMetricConfigParameters. # noqa: E501 + + + :return: The service_metric_data_type of this ServiceMetricConfigParameters. # noqa: E501 + :rtype: ServiceMetricDataType + """ + return self._service_metric_data_type + + @service_metric_data_type.setter + def service_metric_data_type(self, service_metric_data_type): + """Sets the service_metric_data_type of this ServiceMetricConfigParameters. + + + :param service_metric_data_type: The service_metric_data_type of this ServiceMetricConfigParameters. # noqa: E501 + :type: ServiceMetricDataType + """ + + self._service_metric_data_type = service_metric_data_type + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ServiceMetricConfigParameters, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ServiceMetricConfigParameters): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/service_metric_data_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/service_metric_data_type.py new file mode 100644 index 000000000..18de8c055 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/service_metric_data_type.py @@ -0,0 +1,93 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ServiceMetricDataType(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + APNODE = "ApNode" + APSSID = "ApSsid" + CLIENT = "Client" + CHANNEL = "Channel" + NEIGHBOUR = "Neighbour" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """ServiceMetricDataType - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ServiceMetricDataType, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ServiceMetricDataType): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/service_metric_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/service_metric_details.py new file mode 100644 index 000000000..1e1acd4fe --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/service_metric_details.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ServiceMetricDetails(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + discriminator_value_class_map = { + } + + def __init__(self): # noqa: E501 + """ServiceMetricDetails - a model defined in Swagger""" # noqa: E501 + self.discriminator = 'model_type' + + def get_real_child_model(self, data): + """Returns the real base class specified by the discriminator""" + discriminator_value = data[self.discriminator].lower() + return self.discriminator_value_class_map.get(discriminator_value) + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ServiceMetricDetails, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ServiceMetricDetails): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/service_metric_radio_config_parameters.py b/libs/cloudapi/cloudsdk/swagger_client/models/service_metric_radio_config_parameters.py new file mode 100644 index 000000000..da66de2b4 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/service_metric_radio_config_parameters.py @@ -0,0 +1,318 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ServiceMetricRadioConfigParameters(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'sampling_interval': 'int', + 'reporting_interval_seconds': 'int', + 'service_metric_data_type': 'ServiceMetricDataType', + 'radio_type': 'RadioType', + 'channel_survey_type': 'ChannelUtilizationSurveyType', + 'scan_interval_millis': 'int', + 'percent_utilization_threshold': 'int', + 'delay_milliseconds_threshold': 'int', + 'stats_report_format': 'StatsReportFormat' + } + + attribute_map = { + 'sampling_interval': 'samplingInterval', + 'reporting_interval_seconds': 'reportingIntervalSeconds', + 'service_metric_data_type': 'serviceMetricDataType', + 'radio_type': 'radioType', + 'channel_survey_type': 'channelSurveyType', + 'scan_interval_millis': 'scanIntervalMillis', + 'percent_utilization_threshold': 'percentUtilizationThreshold', + 'delay_milliseconds_threshold': 'delayMillisecondsThreshold', + 'stats_report_format': 'statsReportFormat' + } + + def __init__(self, sampling_interval=None, reporting_interval_seconds=None, service_metric_data_type=None, radio_type=None, channel_survey_type=None, scan_interval_millis=None, percent_utilization_threshold=None, delay_milliseconds_threshold=None, stats_report_format=None): # noqa: E501 + """ServiceMetricRadioConfigParameters - a model defined in Swagger""" # noqa: E501 + self._sampling_interval = None + self._reporting_interval_seconds = None + self._service_metric_data_type = None + self._radio_type = None + self._channel_survey_type = None + self._scan_interval_millis = None + self._percent_utilization_threshold = None + self._delay_milliseconds_threshold = None + self._stats_report_format = None + self.discriminator = None + if sampling_interval is not None: + self.sampling_interval = sampling_interval + if reporting_interval_seconds is not None: + self.reporting_interval_seconds = reporting_interval_seconds + if service_metric_data_type is not None: + self.service_metric_data_type = service_metric_data_type + if radio_type is not None: + self.radio_type = radio_type + if channel_survey_type is not None: + self.channel_survey_type = channel_survey_type + if scan_interval_millis is not None: + self.scan_interval_millis = scan_interval_millis + if percent_utilization_threshold is not None: + self.percent_utilization_threshold = percent_utilization_threshold + if delay_milliseconds_threshold is not None: + self.delay_milliseconds_threshold = delay_milliseconds_threshold + if stats_report_format is not None: + self.stats_report_format = stats_report_format + + @property + def sampling_interval(self): + """Gets the sampling_interval of this ServiceMetricRadioConfigParameters. # noqa: E501 + + + :return: The sampling_interval of this ServiceMetricRadioConfigParameters. # noqa: E501 + :rtype: int + """ + return self._sampling_interval + + @sampling_interval.setter + def sampling_interval(self, sampling_interval): + """Sets the sampling_interval of this ServiceMetricRadioConfigParameters. + + + :param sampling_interval: The sampling_interval of this ServiceMetricRadioConfigParameters. # noqa: E501 + :type: int + """ + + self._sampling_interval = sampling_interval + + @property + def reporting_interval_seconds(self): + """Gets the reporting_interval_seconds of this ServiceMetricRadioConfigParameters. # noqa: E501 + + + :return: The reporting_interval_seconds of this ServiceMetricRadioConfigParameters. # noqa: E501 + :rtype: int + """ + return self._reporting_interval_seconds + + @reporting_interval_seconds.setter + def reporting_interval_seconds(self, reporting_interval_seconds): + """Sets the reporting_interval_seconds of this ServiceMetricRadioConfigParameters. + + + :param reporting_interval_seconds: The reporting_interval_seconds of this ServiceMetricRadioConfigParameters. # noqa: E501 + :type: int + """ + + self._reporting_interval_seconds = reporting_interval_seconds + + @property + def service_metric_data_type(self): + """Gets the service_metric_data_type of this ServiceMetricRadioConfigParameters. # noqa: E501 + + + :return: The service_metric_data_type of this ServiceMetricRadioConfigParameters. # noqa: E501 + :rtype: ServiceMetricDataType + """ + return self._service_metric_data_type + + @service_metric_data_type.setter + def service_metric_data_type(self, service_metric_data_type): + """Sets the service_metric_data_type of this ServiceMetricRadioConfigParameters. + + + :param service_metric_data_type: The service_metric_data_type of this ServiceMetricRadioConfigParameters. # noqa: E501 + :type: ServiceMetricDataType + """ + + self._service_metric_data_type = service_metric_data_type + + @property + def radio_type(self): + """Gets the radio_type of this ServiceMetricRadioConfigParameters. # noqa: E501 + + + :return: The radio_type of this ServiceMetricRadioConfigParameters. # noqa: E501 + :rtype: RadioType + """ + return self._radio_type + + @radio_type.setter + def radio_type(self, radio_type): + """Sets the radio_type of this ServiceMetricRadioConfigParameters. + + + :param radio_type: The radio_type of this ServiceMetricRadioConfigParameters. # noqa: E501 + :type: RadioType + """ + + self._radio_type = radio_type + + @property + def channel_survey_type(self): + """Gets the channel_survey_type of this ServiceMetricRadioConfigParameters. # noqa: E501 + + + :return: The channel_survey_type of this ServiceMetricRadioConfigParameters. # noqa: E501 + :rtype: ChannelUtilizationSurveyType + """ + return self._channel_survey_type + + @channel_survey_type.setter + def channel_survey_type(self, channel_survey_type): + """Sets the channel_survey_type of this ServiceMetricRadioConfigParameters. + + + :param channel_survey_type: The channel_survey_type of this ServiceMetricRadioConfigParameters. # noqa: E501 + :type: ChannelUtilizationSurveyType + """ + + self._channel_survey_type = channel_survey_type + + @property + def scan_interval_millis(self): + """Gets the scan_interval_millis of this ServiceMetricRadioConfigParameters. # noqa: E501 + + + :return: The scan_interval_millis of this ServiceMetricRadioConfigParameters. # noqa: E501 + :rtype: int + """ + return self._scan_interval_millis + + @scan_interval_millis.setter + def scan_interval_millis(self, scan_interval_millis): + """Sets the scan_interval_millis of this ServiceMetricRadioConfigParameters. + + + :param scan_interval_millis: The scan_interval_millis of this ServiceMetricRadioConfigParameters. # noqa: E501 + :type: int + """ + + self._scan_interval_millis = scan_interval_millis + + @property + def percent_utilization_threshold(self): + """Gets the percent_utilization_threshold of this ServiceMetricRadioConfigParameters. # noqa: E501 + + + :return: The percent_utilization_threshold of this ServiceMetricRadioConfigParameters. # noqa: E501 + :rtype: int + """ + return self._percent_utilization_threshold + + @percent_utilization_threshold.setter + def percent_utilization_threshold(self, percent_utilization_threshold): + """Sets the percent_utilization_threshold of this ServiceMetricRadioConfigParameters. + + + :param percent_utilization_threshold: The percent_utilization_threshold of this ServiceMetricRadioConfigParameters. # noqa: E501 + :type: int + """ + + self._percent_utilization_threshold = percent_utilization_threshold + + @property + def delay_milliseconds_threshold(self): + """Gets the delay_milliseconds_threshold of this ServiceMetricRadioConfigParameters. # noqa: E501 + + + :return: The delay_milliseconds_threshold of this ServiceMetricRadioConfigParameters. # noqa: E501 + :rtype: int + """ + return self._delay_milliseconds_threshold + + @delay_milliseconds_threshold.setter + def delay_milliseconds_threshold(self, delay_milliseconds_threshold): + """Sets the delay_milliseconds_threshold of this ServiceMetricRadioConfigParameters. + + + :param delay_milliseconds_threshold: The delay_milliseconds_threshold of this ServiceMetricRadioConfigParameters. # noqa: E501 + :type: int + """ + + self._delay_milliseconds_threshold = delay_milliseconds_threshold + + @property + def stats_report_format(self): + """Gets the stats_report_format of this ServiceMetricRadioConfigParameters. # noqa: E501 + + + :return: The stats_report_format of this ServiceMetricRadioConfigParameters. # noqa: E501 + :rtype: StatsReportFormat + """ + return self._stats_report_format + + @stats_report_format.setter + def stats_report_format(self, stats_report_format): + """Sets the stats_report_format of this ServiceMetricRadioConfigParameters. + + + :param stats_report_format: The stats_report_format of this ServiceMetricRadioConfigParameters. # noqa: E501 + :type: StatsReportFormat + """ + + self._stats_report_format = stats_report_format + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ServiceMetricRadioConfigParameters, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ServiceMetricRadioConfigParameters): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/service_metric_survey_config_parameters.py b/libs/cloudapi/cloudsdk/swagger_client/models/service_metric_survey_config_parameters.py new file mode 100644 index 000000000..822900b0a --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/service_metric_survey_config_parameters.py @@ -0,0 +1,188 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ServiceMetricSurveyConfigParameters(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'sampling_interval': 'int', + 'reporting_interval_seconds': 'int', + 'service_metric_data_type': 'ServiceMetricDataType', + 'radio_type': 'RadioType' + } + + attribute_map = { + 'sampling_interval': 'samplingInterval', + 'reporting_interval_seconds': 'reportingIntervalSeconds', + 'service_metric_data_type': 'serviceMetricDataType', + 'radio_type': 'radioType' + } + + def __init__(self, sampling_interval=None, reporting_interval_seconds=None, service_metric_data_type=None, radio_type=None): # noqa: E501 + """ServiceMetricSurveyConfigParameters - a model defined in Swagger""" # noqa: E501 + self._sampling_interval = None + self._reporting_interval_seconds = None + self._service_metric_data_type = None + self._radio_type = None + self.discriminator = None + if sampling_interval is not None: + self.sampling_interval = sampling_interval + if reporting_interval_seconds is not None: + self.reporting_interval_seconds = reporting_interval_seconds + if service_metric_data_type is not None: + self.service_metric_data_type = service_metric_data_type + if radio_type is not None: + self.radio_type = radio_type + + @property + def sampling_interval(self): + """Gets the sampling_interval of this ServiceMetricSurveyConfigParameters. # noqa: E501 + + + :return: The sampling_interval of this ServiceMetricSurveyConfigParameters. # noqa: E501 + :rtype: int + """ + return self._sampling_interval + + @sampling_interval.setter + def sampling_interval(self, sampling_interval): + """Sets the sampling_interval of this ServiceMetricSurveyConfigParameters. + + + :param sampling_interval: The sampling_interval of this ServiceMetricSurveyConfigParameters. # noqa: E501 + :type: int + """ + + self._sampling_interval = sampling_interval + + @property + def reporting_interval_seconds(self): + """Gets the reporting_interval_seconds of this ServiceMetricSurveyConfigParameters. # noqa: E501 + + + :return: The reporting_interval_seconds of this ServiceMetricSurveyConfigParameters. # noqa: E501 + :rtype: int + """ + return self._reporting_interval_seconds + + @reporting_interval_seconds.setter + def reporting_interval_seconds(self, reporting_interval_seconds): + """Sets the reporting_interval_seconds of this ServiceMetricSurveyConfigParameters. + + + :param reporting_interval_seconds: The reporting_interval_seconds of this ServiceMetricSurveyConfigParameters. # noqa: E501 + :type: int + """ + + self._reporting_interval_seconds = reporting_interval_seconds + + @property + def service_metric_data_type(self): + """Gets the service_metric_data_type of this ServiceMetricSurveyConfigParameters. # noqa: E501 + + + :return: The service_metric_data_type of this ServiceMetricSurveyConfigParameters. # noqa: E501 + :rtype: ServiceMetricDataType + """ + return self._service_metric_data_type + + @service_metric_data_type.setter + def service_metric_data_type(self, service_metric_data_type): + """Sets the service_metric_data_type of this ServiceMetricSurveyConfigParameters. + + + :param service_metric_data_type: The service_metric_data_type of this ServiceMetricSurveyConfigParameters. # noqa: E501 + :type: ServiceMetricDataType + """ + + self._service_metric_data_type = service_metric_data_type + + @property + def radio_type(self): + """Gets the radio_type of this ServiceMetricSurveyConfigParameters. # noqa: E501 + + + :return: The radio_type of this ServiceMetricSurveyConfigParameters. # noqa: E501 + :rtype: RadioType + """ + return self._radio_type + + @radio_type.setter + def radio_type(self, radio_type): + """Sets the radio_type of this ServiceMetricSurveyConfigParameters. + + + :param radio_type: The radio_type of this ServiceMetricSurveyConfigParameters. # noqa: E501 + :type: RadioType + """ + + self._radio_type = radio_type + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ServiceMetricSurveyConfigParameters, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ServiceMetricSurveyConfigParameters): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/service_metrics_collection_config_profile.py b/libs/cloudapi/cloudsdk/swagger_client/models/service_metrics_collection_config_profile.py new file mode 100644 index 000000000..69fa4659b --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/service_metrics_collection_config_profile.py @@ -0,0 +1,200 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six +from swagger_client.models.profile_details import ProfileDetails # noqa: F401,E501 + +class ServiceMetricsCollectionConfigProfile(ProfileDetails): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'radio_types': 'list[RadioType]', + 'service_metric_data_types': 'list[ServiceMetricDataType]', + 'metric_config_parameter_map': 'MetricConfigParameterMap' + } + if hasattr(ProfileDetails, "swagger_types"): + swagger_types.update(ProfileDetails.swagger_types) + + attribute_map = { + 'model_type': 'model_type', + 'radio_types': 'radioTypes', + 'service_metric_data_types': 'serviceMetricDataTypes', + 'metric_config_parameter_map': 'metricConfigParameterMap' + } + if hasattr(ProfileDetails, "attribute_map"): + attribute_map.update(ProfileDetails.attribute_map) + + def __init__(self, model_type=None, radio_types=None, service_metric_data_types=None, metric_config_parameter_map=None, *args, **kwargs): # noqa: E501 + """ServiceMetricsCollectionConfigProfile - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._radio_types = None + self._service_metric_data_types = None + self._metric_config_parameter_map = None + self.discriminator = None + if model_type is not None: + self.model_type = model_type + if radio_types is not None: + self.radio_types = radio_types + if service_metric_data_types is not None: + self.service_metric_data_types = service_metric_data_types + if metric_config_parameter_map is not None: + self.metric_config_parameter_map = metric_config_parameter_map + ProfileDetails.__init__(self, *args, **kwargs) + + @property + def model_type(self): + """Gets the model_type of this ServiceMetricsCollectionConfigProfile. # noqa: E501 + + + :return: The model_type of this ServiceMetricsCollectionConfigProfile. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this ServiceMetricsCollectionConfigProfile. + + + :param model_type: The model_type of this ServiceMetricsCollectionConfigProfile. # noqa: E501 + :type: str + """ + allowed_values = ["ServiceMetricsCollectionConfigProfile"] # noqa: E501 + if model_type not in allowed_values: + raise ValueError( + "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 + .format(model_type, allowed_values) + ) + + self._model_type = model_type + + @property + def radio_types(self): + """Gets the radio_types of this ServiceMetricsCollectionConfigProfile. # noqa: E501 + + + :return: The radio_types of this ServiceMetricsCollectionConfigProfile. # noqa: E501 + :rtype: list[RadioType] + """ + return self._radio_types + + @radio_types.setter + def radio_types(self, radio_types): + """Sets the radio_types of this ServiceMetricsCollectionConfigProfile. + + + :param radio_types: The radio_types of this ServiceMetricsCollectionConfigProfile. # noqa: E501 + :type: list[RadioType] + """ + + self._radio_types = radio_types + + @property + def service_metric_data_types(self): + """Gets the service_metric_data_types of this ServiceMetricsCollectionConfigProfile. # noqa: E501 + + + :return: The service_metric_data_types of this ServiceMetricsCollectionConfigProfile. # noqa: E501 + :rtype: list[ServiceMetricDataType] + """ + return self._service_metric_data_types + + @service_metric_data_types.setter + def service_metric_data_types(self, service_metric_data_types): + """Sets the service_metric_data_types of this ServiceMetricsCollectionConfigProfile. + + + :param service_metric_data_types: The service_metric_data_types of this ServiceMetricsCollectionConfigProfile. # noqa: E501 + :type: list[ServiceMetricDataType] + """ + + self._service_metric_data_types = service_metric_data_types + + @property + def metric_config_parameter_map(self): + """Gets the metric_config_parameter_map of this ServiceMetricsCollectionConfigProfile. # noqa: E501 + + + :return: The metric_config_parameter_map of this ServiceMetricsCollectionConfigProfile. # noqa: E501 + :rtype: MetricConfigParameterMap + """ + return self._metric_config_parameter_map + + @metric_config_parameter_map.setter + def metric_config_parameter_map(self, metric_config_parameter_map): + """Sets the metric_config_parameter_map of this ServiceMetricsCollectionConfigProfile. + + + :param metric_config_parameter_map: The metric_config_parameter_map of this ServiceMetricsCollectionConfigProfile. # noqa: E501 + :type: MetricConfigParameterMap + """ + + self._metric_config_parameter_map = metric_config_parameter_map + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(ServiceMetricsCollectionConfigProfile, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, ServiceMetricsCollectionConfigProfile): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/session_expiry_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/session_expiry_type.py new file mode 100644 index 000000000..394813b0a --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/session_expiry_type.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class SessionExpiryType(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + TIME_LIMITED = "time_limited" + UNLIMITED = "unlimited" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """SessionExpiryType - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(SessionExpiryType, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, SessionExpiryType): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/sip_call_report_reason.py b/libs/cloudapi/cloudsdk/swagger_client/models/sip_call_report_reason.py new file mode 100644 index 000000000..0e7f18b2c --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/sip_call_report_reason.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class SIPCallReportReason(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + ROAMED_FROM = "ROAMED_FROM" + ROAMED_TO = "ROAMED_TO" + GOT_PUBLISH = "GOT_PUBLISH" + UNSUPPORTED = "UNSUPPORTED" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """SIPCallReportReason - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(SIPCallReportReason, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, SIPCallReportReason): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/sip_call_stop_reason.py b/libs/cloudapi/cloudsdk/swagger_client/models/sip_call_stop_reason.py new file mode 100644 index 000000000..830bc6cc5 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/sip_call_stop_reason.py @@ -0,0 +1,91 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class SipCallStopReason(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + BYE_OK = "BYE_OK" + DROPPED = "DROPPED" + UNSUPPORTED = "UNSUPPORTED" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """SipCallStopReason - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(SipCallStopReason, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, SipCallStopReason): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_alarm.py b/libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_alarm.py new file mode 100644 index 000000000..d78f04f07 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_alarm.py @@ -0,0 +1,177 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class SortColumnsAlarm(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'column_name': 'str', + 'sort_order': 'SortOrder' + } + + attribute_map = { + 'model_type': 'model_type', + 'column_name': 'columnName', + 'sort_order': 'sortOrder' + } + + def __init__(self, model_type=None, column_name='id', sort_order=None): # noqa: E501 + """SortColumnsAlarm - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._column_name = None + self._sort_order = None + self.discriminator = None + self.model_type = model_type + self.column_name = column_name + self.sort_order = sort_order + + @property + def model_type(self): + """Gets the model_type of this SortColumnsAlarm. # noqa: E501 + + + :return: The model_type of this SortColumnsAlarm. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this SortColumnsAlarm. + + + :param model_type: The model_type of this SortColumnsAlarm. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + allowed_values = ["ColumnAndSort"] # noqa: E501 + if model_type not in allowed_values: + raise ValueError( + "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 + .format(model_type, allowed_values) + ) + + self._model_type = model_type + + @property + def column_name(self): + """Gets the column_name of this SortColumnsAlarm. # noqa: E501 + + + :return: The column_name of this SortColumnsAlarm. # noqa: E501 + :rtype: str + """ + return self._column_name + + @column_name.setter + def column_name(self, column_name): + """Sets the column_name of this SortColumnsAlarm. + + + :param column_name: The column_name of this SortColumnsAlarm. # noqa: E501 + :type: str + """ + if column_name is None: + raise ValueError("Invalid value for `column_name`, must not be `None`") # noqa: E501 + allowed_values = ["equipmentId", "alarmCode", "createdTimestamp"] # noqa: E501 + if column_name not in allowed_values: + raise ValueError( + "Invalid value for `column_name` ({0}), must be one of {1}" # noqa: E501 + .format(column_name, allowed_values) + ) + + self._column_name = column_name + + @property + def sort_order(self): + """Gets the sort_order of this SortColumnsAlarm. # noqa: E501 + + + :return: The sort_order of this SortColumnsAlarm. # noqa: E501 + :rtype: SortOrder + """ + return self._sort_order + + @sort_order.setter + def sort_order(self, sort_order): + """Sets the sort_order of this SortColumnsAlarm. + + + :param sort_order: The sort_order of this SortColumnsAlarm. # noqa: E501 + :type: SortOrder + """ + if sort_order is None: + raise ValueError("Invalid value for `sort_order`, must not be `None`") # noqa: E501 + + self._sort_order = sort_order + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(SortColumnsAlarm, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, SortColumnsAlarm): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_client.py b/libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_client.py new file mode 100644 index 000000000..bb6860995 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_client.py @@ -0,0 +1,177 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class SortColumnsClient(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'column_name': 'str', + 'sort_order': 'SortOrder' + } + + attribute_map = { + 'model_type': 'model_type', + 'column_name': 'columnName', + 'sort_order': 'sortOrder' + } + + def __init__(self, model_type=None, column_name='macAddress', sort_order=None): # noqa: E501 + """SortColumnsClient - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._column_name = None + self._sort_order = None + self.discriminator = None + self.model_type = model_type + self.column_name = column_name + self.sort_order = sort_order + + @property + def model_type(self): + """Gets the model_type of this SortColumnsClient. # noqa: E501 + + + :return: The model_type of this SortColumnsClient. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this SortColumnsClient. + + + :param model_type: The model_type of this SortColumnsClient. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + allowed_values = ["ColumnAndSort"] # noqa: E501 + if model_type not in allowed_values: + raise ValueError( + "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 + .format(model_type, allowed_values) + ) + + self._model_type = model_type + + @property + def column_name(self): + """Gets the column_name of this SortColumnsClient. # noqa: E501 + + + :return: The column_name of this SortColumnsClient. # noqa: E501 + :rtype: str + """ + return self._column_name + + @column_name.setter + def column_name(self, column_name): + """Sets the column_name of this SortColumnsClient. + + + :param column_name: The column_name of this SortColumnsClient. # noqa: E501 + :type: str + """ + if column_name is None: + raise ValueError("Invalid value for `column_name`, must not be `None`") # noqa: E501 + allowed_values = ["macAddress"] # noqa: E501 + if column_name not in allowed_values: + raise ValueError( + "Invalid value for `column_name` ({0}), must be one of {1}" # noqa: E501 + .format(column_name, allowed_values) + ) + + self._column_name = column_name + + @property + def sort_order(self): + """Gets the sort_order of this SortColumnsClient. # noqa: E501 + + + :return: The sort_order of this SortColumnsClient. # noqa: E501 + :rtype: SortOrder + """ + return self._sort_order + + @sort_order.setter + def sort_order(self, sort_order): + """Sets the sort_order of this SortColumnsClient. + + + :param sort_order: The sort_order of this SortColumnsClient. # noqa: E501 + :type: SortOrder + """ + if sort_order is None: + raise ValueError("Invalid value for `sort_order`, must not be `None`") # noqa: E501 + + self._sort_order = sort_order + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(SortColumnsClient, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, SortColumnsClient): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_client_session.py b/libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_client_session.py new file mode 100644 index 000000000..a7ebaf530 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_client_session.py @@ -0,0 +1,177 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class SortColumnsClientSession(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'column_name': 'str', + 'sort_order': 'SortOrder' + } + + attribute_map = { + 'model_type': 'model_type', + 'column_name': 'columnName', + 'sort_order': 'sortOrder' + } + + def __init__(self, model_type=None, column_name='id', sort_order=None): # noqa: E501 + """SortColumnsClientSession - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._column_name = None + self._sort_order = None + self.discriminator = None + self.model_type = model_type + self.column_name = column_name + self.sort_order = sort_order + + @property + def model_type(self): + """Gets the model_type of this SortColumnsClientSession. # noqa: E501 + + + :return: The model_type of this SortColumnsClientSession. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this SortColumnsClientSession. + + + :param model_type: The model_type of this SortColumnsClientSession. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + allowed_values = ["ColumnAndSort"] # noqa: E501 + if model_type not in allowed_values: + raise ValueError( + "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 + .format(model_type, allowed_values) + ) + + self._model_type = model_type + + @property + def column_name(self): + """Gets the column_name of this SortColumnsClientSession. # noqa: E501 + + + :return: The column_name of this SortColumnsClientSession. # noqa: E501 + :rtype: str + """ + return self._column_name + + @column_name.setter + def column_name(self, column_name): + """Sets the column_name of this SortColumnsClientSession. + + + :param column_name: The column_name of this SortColumnsClientSession. # noqa: E501 + :type: str + """ + if column_name is None: + raise ValueError("Invalid value for `column_name`, must not be `None`") # noqa: E501 + allowed_values = ["customerId", "equipmentId", "macAddress"] # noqa: E501 + if column_name not in allowed_values: + raise ValueError( + "Invalid value for `column_name` ({0}), must be one of {1}" # noqa: E501 + .format(column_name, allowed_values) + ) + + self._column_name = column_name + + @property + def sort_order(self): + """Gets the sort_order of this SortColumnsClientSession. # noqa: E501 + + + :return: The sort_order of this SortColumnsClientSession. # noqa: E501 + :rtype: SortOrder + """ + return self._sort_order + + @sort_order.setter + def sort_order(self, sort_order): + """Sets the sort_order of this SortColumnsClientSession. + + + :param sort_order: The sort_order of this SortColumnsClientSession. # noqa: E501 + :type: SortOrder + """ + if sort_order is None: + raise ValueError("Invalid value for `sort_order`, must not be `None`") # noqa: E501 + + self._sort_order = sort_order + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(SortColumnsClientSession, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, SortColumnsClientSession): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_equipment.py b/libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_equipment.py new file mode 100644 index 000000000..9dee06bab --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_equipment.py @@ -0,0 +1,177 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class SortColumnsEquipment(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'column_name': 'str', + 'sort_order': 'SortOrder' + } + + attribute_map = { + 'model_type': 'model_type', + 'column_name': 'columnName', + 'sort_order': 'sortOrder' + } + + def __init__(self, model_type=None, column_name='id', sort_order=None): # noqa: E501 + """SortColumnsEquipment - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._column_name = None + self._sort_order = None + self.discriminator = None + self.model_type = model_type + self.column_name = column_name + self.sort_order = sort_order + + @property + def model_type(self): + """Gets the model_type of this SortColumnsEquipment. # noqa: E501 + + + :return: The model_type of this SortColumnsEquipment. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this SortColumnsEquipment. + + + :param model_type: The model_type of this SortColumnsEquipment. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + allowed_values = ["ColumnAndSort"] # noqa: E501 + if model_type not in allowed_values: + raise ValueError( + "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 + .format(model_type, allowed_values) + ) + + self._model_type = model_type + + @property + def column_name(self): + """Gets the column_name of this SortColumnsEquipment. # noqa: E501 + + + :return: The column_name of this SortColumnsEquipment. # noqa: E501 + :rtype: str + """ + return self._column_name + + @column_name.setter + def column_name(self, column_name): + """Sets the column_name of this SortColumnsEquipment. + + + :param column_name: The column_name of this SortColumnsEquipment. # noqa: E501 + :type: str + """ + if column_name is None: + raise ValueError("Invalid value for `column_name`, must not be `None`") # noqa: E501 + allowed_values = ["id", "name", "profileId", "locationId", "equipmentType", "inventoryId"] # noqa: E501 + if column_name not in allowed_values: + raise ValueError( + "Invalid value for `column_name` ({0}), must be one of {1}" # noqa: E501 + .format(column_name, allowed_values) + ) + + self._column_name = column_name + + @property + def sort_order(self): + """Gets the sort_order of this SortColumnsEquipment. # noqa: E501 + + + :return: The sort_order of this SortColumnsEquipment. # noqa: E501 + :rtype: SortOrder + """ + return self._sort_order + + @sort_order.setter + def sort_order(self, sort_order): + """Sets the sort_order of this SortColumnsEquipment. + + + :param sort_order: The sort_order of this SortColumnsEquipment. # noqa: E501 + :type: SortOrder + """ + if sort_order is None: + raise ValueError("Invalid value for `sort_order`, must not be `None`") # noqa: E501 + + self._sort_order = sort_order + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(SortColumnsEquipment, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, SortColumnsEquipment): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_location.py b/libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_location.py new file mode 100644 index 000000000..58add9e27 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_location.py @@ -0,0 +1,177 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class SortColumnsLocation(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'column_name': 'str', + 'sort_order': 'SortOrder' + } + + attribute_map = { + 'model_type': 'model_type', + 'column_name': 'columnName', + 'sort_order': 'sortOrder' + } + + def __init__(self, model_type=None, column_name='id', sort_order=None): # noqa: E501 + """SortColumnsLocation - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._column_name = None + self._sort_order = None + self.discriminator = None + self.model_type = model_type + self.column_name = column_name + self.sort_order = sort_order + + @property + def model_type(self): + """Gets the model_type of this SortColumnsLocation. # noqa: E501 + + + :return: The model_type of this SortColumnsLocation. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this SortColumnsLocation. + + + :param model_type: The model_type of this SortColumnsLocation. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + allowed_values = ["ColumnAndSort"] # noqa: E501 + if model_type not in allowed_values: + raise ValueError( + "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 + .format(model_type, allowed_values) + ) + + self._model_type = model_type + + @property + def column_name(self): + """Gets the column_name of this SortColumnsLocation. # noqa: E501 + + + :return: The column_name of this SortColumnsLocation. # noqa: E501 + :rtype: str + """ + return self._column_name + + @column_name.setter + def column_name(self, column_name): + """Sets the column_name of this SortColumnsLocation. + + + :param column_name: The column_name of this SortColumnsLocation. # noqa: E501 + :type: str + """ + if column_name is None: + raise ValueError("Invalid value for `column_name`, must not be `None`") # noqa: E501 + allowed_values = ["id", "name"] # noqa: E501 + if column_name not in allowed_values: + raise ValueError( + "Invalid value for `column_name` ({0}), must be one of {1}" # noqa: E501 + .format(column_name, allowed_values) + ) + + self._column_name = column_name + + @property + def sort_order(self): + """Gets the sort_order of this SortColumnsLocation. # noqa: E501 + + + :return: The sort_order of this SortColumnsLocation. # noqa: E501 + :rtype: SortOrder + """ + return self._sort_order + + @sort_order.setter + def sort_order(self, sort_order): + """Sets the sort_order of this SortColumnsLocation. + + + :param sort_order: The sort_order of this SortColumnsLocation. # noqa: E501 + :type: SortOrder + """ + if sort_order is None: + raise ValueError("Invalid value for `sort_order`, must not be `None`") # noqa: E501 + + self._sort_order = sort_order + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(SortColumnsLocation, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, SortColumnsLocation): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_portal_user.py b/libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_portal_user.py new file mode 100644 index 000000000..d618c8f18 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_portal_user.py @@ -0,0 +1,177 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class SortColumnsPortalUser(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'column_name': 'str', + 'sort_order': 'SortOrder' + } + + attribute_map = { + 'model_type': 'model_type', + 'column_name': 'columnName', + 'sort_order': 'sortOrder' + } + + def __init__(self, model_type=None, column_name='id', sort_order=None): # noqa: E501 + """SortColumnsPortalUser - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._column_name = None + self._sort_order = None + self.discriminator = None + self.model_type = model_type + self.column_name = column_name + self.sort_order = sort_order + + @property + def model_type(self): + """Gets the model_type of this SortColumnsPortalUser. # noqa: E501 + + + :return: The model_type of this SortColumnsPortalUser. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this SortColumnsPortalUser. + + + :param model_type: The model_type of this SortColumnsPortalUser. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + allowed_values = ["ColumnAndSort"] # noqa: E501 + if model_type not in allowed_values: + raise ValueError( + "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 + .format(model_type, allowed_values) + ) + + self._model_type = model_type + + @property + def column_name(self): + """Gets the column_name of this SortColumnsPortalUser. # noqa: E501 + + + :return: The column_name of this SortColumnsPortalUser. # noqa: E501 + :rtype: str + """ + return self._column_name + + @column_name.setter + def column_name(self, column_name): + """Sets the column_name of this SortColumnsPortalUser. + + + :param column_name: The column_name of this SortColumnsPortalUser. # noqa: E501 + :type: str + """ + if column_name is None: + raise ValueError("Invalid value for `column_name`, must not be `None`") # noqa: E501 + allowed_values = ["id", "username"] # noqa: E501 + if column_name not in allowed_values: + raise ValueError( + "Invalid value for `column_name` ({0}), must be one of {1}" # noqa: E501 + .format(column_name, allowed_values) + ) + + self._column_name = column_name + + @property + def sort_order(self): + """Gets the sort_order of this SortColumnsPortalUser. # noqa: E501 + + + :return: The sort_order of this SortColumnsPortalUser. # noqa: E501 + :rtype: SortOrder + """ + return self._sort_order + + @sort_order.setter + def sort_order(self, sort_order): + """Sets the sort_order of this SortColumnsPortalUser. + + + :param sort_order: The sort_order of this SortColumnsPortalUser. # noqa: E501 + :type: SortOrder + """ + if sort_order is None: + raise ValueError("Invalid value for `sort_order`, must not be `None`") # noqa: E501 + + self._sort_order = sort_order + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(SortColumnsPortalUser, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, SortColumnsPortalUser): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_profile.py b/libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_profile.py new file mode 100644 index 000000000..50889856d --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_profile.py @@ -0,0 +1,177 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class SortColumnsProfile(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'column_name': 'str', + 'sort_order': 'SortOrder' + } + + attribute_map = { + 'model_type': 'model_type', + 'column_name': 'columnName', + 'sort_order': 'sortOrder' + } + + def __init__(self, model_type=None, column_name='id', sort_order=None): # noqa: E501 + """SortColumnsProfile - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._column_name = None + self._sort_order = None + self.discriminator = None + self.model_type = model_type + self.column_name = column_name + self.sort_order = sort_order + + @property + def model_type(self): + """Gets the model_type of this SortColumnsProfile. # noqa: E501 + + + :return: The model_type of this SortColumnsProfile. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this SortColumnsProfile. + + + :param model_type: The model_type of this SortColumnsProfile. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + allowed_values = ["ColumnAndSort"] # noqa: E501 + if model_type not in allowed_values: + raise ValueError( + "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 + .format(model_type, allowed_values) + ) + + self._model_type = model_type + + @property + def column_name(self): + """Gets the column_name of this SortColumnsProfile. # noqa: E501 + + + :return: The column_name of this SortColumnsProfile. # noqa: E501 + :rtype: str + """ + return self._column_name + + @column_name.setter + def column_name(self, column_name): + """Sets the column_name of this SortColumnsProfile. + + + :param column_name: The column_name of this SortColumnsProfile. # noqa: E501 + :type: str + """ + if column_name is None: + raise ValueError("Invalid value for `column_name`, must not be `None`") # noqa: E501 + allowed_values = ["id", "name"] # noqa: E501 + if column_name not in allowed_values: + raise ValueError( + "Invalid value for `column_name` ({0}), must be one of {1}" # noqa: E501 + .format(column_name, allowed_values) + ) + + self._column_name = column_name + + @property + def sort_order(self): + """Gets the sort_order of this SortColumnsProfile. # noqa: E501 + + + :return: The sort_order of this SortColumnsProfile. # noqa: E501 + :rtype: SortOrder + """ + return self._sort_order + + @sort_order.setter + def sort_order(self, sort_order): + """Sets the sort_order of this SortColumnsProfile. + + + :param sort_order: The sort_order of this SortColumnsProfile. # noqa: E501 + :type: SortOrder + """ + if sort_order is None: + raise ValueError("Invalid value for `sort_order`, must not be `None`") # noqa: E501 + + self._sort_order = sort_order + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(SortColumnsProfile, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, SortColumnsProfile): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_service_metric.py b/libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_service_metric.py new file mode 100644 index 000000000..d04818b81 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_service_metric.py @@ -0,0 +1,177 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class SortColumnsServiceMetric(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'column_name': 'str', + 'sort_order': 'SortOrder' + } + + attribute_map = { + 'model_type': 'model_type', + 'column_name': 'columnName', + 'sort_order': 'sortOrder' + } + + def __init__(self, model_type=None, column_name='createdTimestamp', sort_order=None): # noqa: E501 + """SortColumnsServiceMetric - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._column_name = None + self._sort_order = None + self.discriminator = None + self.model_type = model_type + self.column_name = column_name + self.sort_order = sort_order + + @property + def model_type(self): + """Gets the model_type of this SortColumnsServiceMetric. # noqa: E501 + + + :return: The model_type of this SortColumnsServiceMetric. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this SortColumnsServiceMetric. + + + :param model_type: The model_type of this SortColumnsServiceMetric. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + allowed_values = ["ColumnAndSort"] # noqa: E501 + if model_type not in allowed_values: + raise ValueError( + "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 + .format(model_type, allowed_values) + ) + + self._model_type = model_type + + @property + def column_name(self): + """Gets the column_name of this SortColumnsServiceMetric. # noqa: E501 + + + :return: The column_name of this SortColumnsServiceMetric. # noqa: E501 + :rtype: str + """ + return self._column_name + + @column_name.setter + def column_name(self, column_name): + """Sets the column_name of this SortColumnsServiceMetric. + + + :param column_name: The column_name of this SortColumnsServiceMetric. # noqa: E501 + :type: str + """ + if column_name is None: + raise ValueError("Invalid value for `column_name`, must not be `None`") # noqa: E501 + allowed_values = ["equipmentId", "clientMac", "dataType", "createdTimestamp"] # noqa: E501 + if column_name not in allowed_values: + raise ValueError( + "Invalid value for `column_name` ({0}), must be one of {1}" # noqa: E501 + .format(column_name, allowed_values) + ) + + self._column_name = column_name + + @property + def sort_order(self): + """Gets the sort_order of this SortColumnsServiceMetric. # noqa: E501 + + + :return: The sort_order of this SortColumnsServiceMetric. # noqa: E501 + :rtype: SortOrder + """ + return self._sort_order + + @sort_order.setter + def sort_order(self, sort_order): + """Sets the sort_order of this SortColumnsServiceMetric. + + + :param sort_order: The sort_order of this SortColumnsServiceMetric. # noqa: E501 + :type: SortOrder + """ + if sort_order is None: + raise ValueError("Invalid value for `sort_order`, must not be `None`") # noqa: E501 + + self._sort_order = sort_order + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(SortColumnsServiceMetric, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, SortColumnsServiceMetric): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_status.py b/libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_status.py new file mode 100644 index 000000000..2be203422 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_status.py @@ -0,0 +1,177 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class SortColumnsStatus(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'column_name': 'str', + 'sort_order': 'SortOrder' + } + + attribute_map = { + 'model_type': 'model_type', + 'column_name': 'columnName', + 'sort_order': 'sortOrder' + } + + def __init__(self, model_type=None, column_name='id', sort_order=None): # noqa: E501 + """SortColumnsStatus - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._column_name = None + self._sort_order = None + self.discriminator = None + self.model_type = model_type + self.column_name = column_name + self.sort_order = sort_order + + @property + def model_type(self): + """Gets the model_type of this SortColumnsStatus. # noqa: E501 + + + :return: The model_type of this SortColumnsStatus. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this SortColumnsStatus. + + + :param model_type: The model_type of this SortColumnsStatus. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + allowed_values = ["ColumnAndSort"] # noqa: E501 + if model_type not in allowed_values: + raise ValueError( + "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 + .format(model_type, allowed_values) + ) + + self._model_type = model_type + + @property + def column_name(self): + """Gets the column_name of this SortColumnsStatus. # noqa: E501 + + + :return: The column_name of this SortColumnsStatus. # noqa: E501 + :rtype: str + """ + return self._column_name + + @column_name.setter + def column_name(self, column_name): + """Sets the column_name of this SortColumnsStatus. + + + :param column_name: The column_name of this SortColumnsStatus. # noqa: E501 + :type: str + """ + if column_name is None: + raise ValueError("Invalid value for `column_name`, must not be `None`") # noqa: E501 + allowed_values = ["customerId", "equipmentId"] # noqa: E501 + if column_name not in allowed_values: + raise ValueError( + "Invalid value for `column_name` ({0}), must be one of {1}" # noqa: E501 + .format(column_name, allowed_values) + ) + + self._column_name = column_name + + @property + def sort_order(self): + """Gets the sort_order of this SortColumnsStatus. # noqa: E501 + + + :return: The sort_order of this SortColumnsStatus. # noqa: E501 + :rtype: SortOrder + """ + return self._sort_order + + @sort_order.setter + def sort_order(self, sort_order): + """Sets the sort_order of this SortColumnsStatus. + + + :param sort_order: The sort_order of this SortColumnsStatus. # noqa: E501 + :type: SortOrder + """ + if sort_order is None: + raise ValueError("Invalid value for `sort_order`, must not be `None`") # noqa: E501 + + self._sort_order = sort_order + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(SortColumnsStatus, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, SortColumnsStatus): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_system_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_system_event.py new file mode 100644 index 000000000..5a3e50577 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_system_event.py @@ -0,0 +1,177 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class SortColumnsSystemEvent(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'column_name': 'str', + 'sort_order': 'SortOrder' + } + + attribute_map = { + 'model_type': 'model_type', + 'column_name': 'columnName', + 'sort_order': 'sortOrder' + } + + def __init__(self, model_type=None, column_name='equipmentId', sort_order=None): # noqa: E501 + """SortColumnsSystemEvent - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._column_name = None + self._sort_order = None + self.discriminator = None + self.model_type = model_type + self.column_name = column_name + self.sort_order = sort_order + + @property + def model_type(self): + """Gets the model_type of this SortColumnsSystemEvent. # noqa: E501 + + + :return: The model_type of this SortColumnsSystemEvent. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this SortColumnsSystemEvent. + + + :param model_type: The model_type of this SortColumnsSystemEvent. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + allowed_values = ["ColumnAndSort"] # noqa: E501 + if model_type not in allowed_values: + raise ValueError( + "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 + .format(model_type, allowed_values) + ) + + self._model_type = model_type + + @property + def column_name(self): + """Gets the column_name of this SortColumnsSystemEvent. # noqa: E501 + + + :return: The column_name of this SortColumnsSystemEvent. # noqa: E501 + :rtype: str + """ + return self._column_name + + @column_name.setter + def column_name(self, column_name): + """Sets the column_name of this SortColumnsSystemEvent. + + + :param column_name: The column_name of this SortColumnsSystemEvent. # noqa: E501 + :type: str + """ + if column_name is None: + raise ValueError("Invalid value for `column_name`, must not be `None`") # noqa: E501 + allowed_values = ["equipmentId", "dataType", "createdTimestamp"] # noqa: E501 + if column_name not in allowed_values: + raise ValueError( + "Invalid value for `column_name` ({0}), must be one of {1}" # noqa: E501 + .format(column_name, allowed_values) + ) + + self._column_name = column_name + + @property + def sort_order(self): + """Gets the sort_order of this SortColumnsSystemEvent. # noqa: E501 + + + :return: The sort_order of this SortColumnsSystemEvent. # noqa: E501 + :rtype: SortOrder + """ + return self._sort_order + + @sort_order.setter + def sort_order(self, sort_order): + """Sets the sort_order of this SortColumnsSystemEvent. + + + :param sort_order: The sort_order of this SortColumnsSystemEvent. # noqa: E501 + :type: SortOrder + """ + if sort_order is None: + raise ValueError("Invalid value for `sort_order`, must not be `None`") # noqa: E501 + + self._sort_order = sort_order + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(SortColumnsSystemEvent, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, SortColumnsSystemEvent): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/sort_order.py b/libs/cloudapi/cloudsdk/swagger_client/models/sort_order.py new file mode 100644 index 000000000..96f3bef1d --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/sort_order.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class SortOrder(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + ASC = "asc" + DESC = "desc" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """SortOrder - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(SortOrder, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, SortOrder): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/source_selection_management.py b/libs/cloudapi/cloudsdk/swagger_client/models/source_selection_management.py new file mode 100644 index 000000000..fd9c660ad --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/source_selection_management.py @@ -0,0 +1,136 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class SourceSelectionManagement(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'source': 'SourceType', + 'value': 'ManagementRate' + } + + attribute_map = { + 'source': 'source', + 'value': 'value' + } + + def __init__(self, source=None, value=None): # noqa: E501 + """SourceSelectionManagement - a model defined in Swagger""" # noqa: E501 + self._source = None + self._value = None + self.discriminator = None + if source is not None: + self.source = source + if value is not None: + self.value = value + + @property + def source(self): + """Gets the source of this SourceSelectionManagement. # noqa: E501 + + + :return: The source of this SourceSelectionManagement. # noqa: E501 + :rtype: SourceType + """ + return self._source + + @source.setter + def source(self, source): + """Sets the source of this SourceSelectionManagement. + + + :param source: The source of this SourceSelectionManagement. # noqa: E501 + :type: SourceType + """ + + self._source = source + + @property + def value(self): + """Gets the value of this SourceSelectionManagement. # noqa: E501 + + + :return: The value of this SourceSelectionManagement. # noqa: E501 + :rtype: ManagementRate + """ + return self._value + + @value.setter + def value(self, value): + """Sets the value of this SourceSelectionManagement. + + + :param value: The value of this SourceSelectionManagement. # noqa: E501 + :type: ManagementRate + """ + + self._value = value + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(SourceSelectionManagement, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, SourceSelectionManagement): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/source_selection_multicast.py b/libs/cloudapi/cloudsdk/swagger_client/models/source_selection_multicast.py new file mode 100644 index 000000000..ed7ea5b95 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/source_selection_multicast.py @@ -0,0 +1,136 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class SourceSelectionMulticast(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'source': 'SourceType', + 'value': 'MulticastRate' + } + + attribute_map = { + 'source': 'source', + 'value': 'value' + } + + def __init__(self, source=None, value=None): # noqa: E501 + """SourceSelectionMulticast - a model defined in Swagger""" # noqa: E501 + self._source = None + self._value = None + self.discriminator = None + if source is not None: + self.source = source + if value is not None: + self.value = value + + @property + def source(self): + """Gets the source of this SourceSelectionMulticast. # noqa: E501 + + + :return: The source of this SourceSelectionMulticast. # noqa: E501 + :rtype: SourceType + """ + return self._source + + @source.setter + def source(self, source): + """Sets the source of this SourceSelectionMulticast. + + + :param source: The source of this SourceSelectionMulticast. # noqa: E501 + :type: SourceType + """ + + self._source = source + + @property + def value(self): + """Gets the value of this SourceSelectionMulticast. # noqa: E501 + + + :return: The value of this SourceSelectionMulticast. # noqa: E501 + :rtype: MulticastRate + """ + return self._value + + @value.setter + def value(self, value): + """Sets the value of this SourceSelectionMulticast. + + + :param value: The value of this SourceSelectionMulticast. # noqa: E501 + :type: MulticastRate + """ + + self._value = value + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(SourceSelectionMulticast, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, SourceSelectionMulticast): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/source_selection_steering.py b/libs/cloudapi/cloudsdk/swagger_client/models/source_selection_steering.py new file mode 100644 index 000000000..0e609304c --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/source_selection_steering.py @@ -0,0 +1,136 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class SourceSelectionSteering(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'source': 'SourceType', + 'value': 'RadioBestApSettings' + } + + attribute_map = { + 'source': 'source', + 'value': 'value' + } + + def __init__(self, source=None, value=None): # noqa: E501 + """SourceSelectionSteering - a model defined in Swagger""" # noqa: E501 + self._source = None + self._value = None + self.discriminator = None + if source is not None: + self.source = source + if value is not None: + self.value = value + + @property + def source(self): + """Gets the source of this SourceSelectionSteering. # noqa: E501 + + + :return: The source of this SourceSelectionSteering. # noqa: E501 + :rtype: SourceType + """ + return self._source + + @source.setter + def source(self, source): + """Sets the source of this SourceSelectionSteering. + + + :param source: The source of this SourceSelectionSteering. # noqa: E501 + :type: SourceType + """ + + self._source = source + + @property + def value(self): + """Gets the value of this SourceSelectionSteering. # noqa: E501 + + + :return: The value of this SourceSelectionSteering. # noqa: E501 + :rtype: RadioBestApSettings + """ + return self._value + + @value.setter + def value(self, value): + """Sets the value of this SourceSelectionSteering. + + + :param value: The value of this SourceSelectionSteering. # noqa: E501 + :type: RadioBestApSettings + """ + + self._value = value + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(SourceSelectionSteering, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, SourceSelectionSteering): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/source_selection_value.py b/libs/cloudapi/cloudsdk/swagger_client/models/source_selection_value.py new file mode 100644 index 000000000..40318864e --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/source_selection_value.py @@ -0,0 +1,136 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class SourceSelectionValue(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'source': 'SourceType', + 'value': 'int' + } + + attribute_map = { + 'source': 'source', + 'value': 'value' + } + + def __init__(self, source=None, value=None): # noqa: E501 + """SourceSelectionValue - a model defined in Swagger""" # noqa: E501 + self._source = None + self._value = None + self.discriminator = None + if source is not None: + self.source = source + if value is not None: + self.value = value + + @property + def source(self): + """Gets the source of this SourceSelectionValue. # noqa: E501 + + + :return: The source of this SourceSelectionValue. # noqa: E501 + :rtype: SourceType + """ + return self._source + + @source.setter + def source(self, source): + """Sets the source of this SourceSelectionValue. + + + :param source: The source of this SourceSelectionValue. # noqa: E501 + :type: SourceType + """ + + self._source = source + + @property + def value(self): + """Gets the value of this SourceSelectionValue. # noqa: E501 + + + :return: The value of this SourceSelectionValue. # noqa: E501 + :rtype: int + """ + return self._value + + @value.setter + def value(self, value): + """Sets the value of this SourceSelectionValue. + + + :param value: The value of this SourceSelectionValue. # noqa: E501 + :type: int + """ + + self._value = value + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(SourceSelectionValue, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, SourceSelectionValue): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/source_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/source_type.py new file mode 100644 index 000000000..4a6826a06 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/source_type.py @@ -0,0 +1,91 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class SourceType(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + AUTO = "auto" + MANUAL = "manual" + PROFILE = "profile" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """SourceType - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(SourceType, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, SourceType): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/ssid_configuration.py b/libs/cloudapi/cloudsdk/swagger_client/models/ssid_configuration.py new file mode 100644 index 000000000..a126b8332 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/ssid_configuration.py @@ -0,0 +1,752 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six +from swagger_client.models.profile_details import ProfileDetails # noqa: F401,E501 + +class SsidConfiguration(ProfileDetails): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'ssid': 'str', + 'applied_radios': 'list[RadioType]', + 'ssid_admin_state': 'StateSetting', + 'secure_mode': 'SsidSecureMode', + 'vlan_id': 'int', + 'dynamic_vlan': 'DynamicVlanMode', + 'key_str': 'str', + 'broadcast_ssid': 'StateSetting', + 'key_refresh': 'int', + 'no_local_subnets': 'bool', + 'radius_service_id': 'int', + 'radius_acounting_service_interval': 'int', + 'radius_nas_configuration': 'RadiusNasConfiguration', + 'captive_portal_id': 'int', + 'bandwidth_limit_down': 'int', + 'bandwidth_limit_up': 'int', + 'client_bandwidth_limit_down': 'int', + 'client_bandwidth_limit_up': 'int', + 'video_traffic_only': 'bool', + 'radio_based_configs': 'RadioBasedSsidConfigurationMap', + 'bonjour_gateway_profile_id': 'int', + 'enable80211w': 'bool', + 'wep_config': 'WepConfiguration', + 'forward_mode': 'NetworkForwardMode' + } + if hasattr(ProfileDetails, "swagger_types"): + swagger_types.update(ProfileDetails.swagger_types) + + attribute_map = { + 'model_type': 'model_type', + 'ssid': 'ssid', + 'applied_radios': 'appliedRadios', + 'ssid_admin_state': 'ssidAdminState', + 'secure_mode': 'secureMode', + 'vlan_id': 'vlanId', + 'dynamic_vlan': 'dynamicVlan', + 'key_str': 'keyStr', + 'broadcast_ssid': 'broadcastSsid', + 'key_refresh': 'keyRefresh', + 'no_local_subnets': 'noLocalSubnets', + 'radius_service_id': 'radiusServiceId', + 'radius_acounting_service_interval': 'radiusAcountingServiceInterval', + 'radius_nas_configuration': 'radiusNasConfiguration', + 'captive_portal_id': 'captivePortalId', + 'bandwidth_limit_down': 'bandwidthLimitDown', + 'bandwidth_limit_up': 'bandwidthLimitUp', + 'client_bandwidth_limit_down': 'clientBandwidthLimitDown', + 'client_bandwidth_limit_up': 'clientBandwidthLimitUp', + 'video_traffic_only': 'videoTrafficOnly', + 'radio_based_configs': 'radioBasedConfigs', + 'bonjour_gateway_profile_id': 'bonjourGatewayProfileId', + 'enable80211w': 'enable80211w', + 'wep_config': 'wepConfig', + 'forward_mode': 'forwardMode' + } + if hasattr(ProfileDetails, "attribute_map"): + attribute_map.update(ProfileDetails.attribute_map) + + def __init__(self, model_type=None, ssid=None, applied_radios=None, ssid_admin_state=None, secure_mode=None, vlan_id=None, dynamic_vlan=None, key_str=None, broadcast_ssid=None, key_refresh=0, no_local_subnets=None, radius_service_id=None, radius_acounting_service_interval=None, radius_nas_configuration=None, captive_portal_id=None, bandwidth_limit_down=None, bandwidth_limit_up=None, client_bandwidth_limit_down=None, client_bandwidth_limit_up=None, video_traffic_only=None, radio_based_configs=None, bonjour_gateway_profile_id=None, enable80211w=None, wep_config=None, forward_mode=None, *args, **kwargs): # noqa: E501 + """SsidConfiguration - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._ssid = None + self._applied_radios = None + self._ssid_admin_state = None + self._secure_mode = None + self._vlan_id = None + self._dynamic_vlan = None + self._key_str = None + self._broadcast_ssid = None + self._key_refresh = None + self._no_local_subnets = None + self._radius_service_id = None + self._radius_acounting_service_interval = None + self._radius_nas_configuration = None + self._captive_portal_id = None + self._bandwidth_limit_down = None + self._bandwidth_limit_up = None + self._client_bandwidth_limit_down = None + self._client_bandwidth_limit_up = None + self._video_traffic_only = None + self._radio_based_configs = None + self._bonjour_gateway_profile_id = None + self._enable80211w = None + self._wep_config = None + self._forward_mode = None + self.discriminator = None + if model_type is not None: + self.model_type = model_type + if ssid is not None: + self.ssid = ssid + if applied_radios is not None: + self.applied_radios = applied_radios + if ssid_admin_state is not None: + self.ssid_admin_state = ssid_admin_state + if secure_mode is not None: + self.secure_mode = secure_mode + if vlan_id is not None: + self.vlan_id = vlan_id + if dynamic_vlan is not None: + self.dynamic_vlan = dynamic_vlan + if key_str is not None: + self.key_str = key_str + if broadcast_ssid is not None: + self.broadcast_ssid = broadcast_ssid + if key_refresh is not None: + self.key_refresh = key_refresh + if no_local_subnets is not None: + self.no_local_subnets = no_local_subnets + if radius_service_id is not None: + self.radius_service_id = radius_service_id + if radius_acounting_service_interval is not None: + self.radius_acounting_service_interval = radius_acounting_service_interval + if radius_nas_configuration is not None: + self.radius_nas_configuration = radius_nas_configuration + if captive_portal_id is not None: + self.captive_portal_id = captive_portal_id + if bandwidth_limit_down is not None: + self.bandwidth_limit_down = bandwidth_limit_down + if bandwidth_limit_up is not None: + self.bandwidth_limit_up = bandwidth_limit_up + if client_bandwidth_limit_down is not None: + self.client_bandwidth_limit_down = client_bandwidth_limit_down + if client_bandwidth_limit_up is not None: + self.client_bandwidth_limit_up = client_bandwidth_limit_up + if video_traffic_only is not None: + self.video_traffic_only = video_traffic_only + if radio_based_configs is not None: + self.radio_based_configs = radio_based_configs + if bonjour_gateway_profile_id is not None: + self.bonjour_gateway_profile_id = bonjour_gateway_profile_id + if enable80211w is not None: + self.enable80211w = enable80211w + if wep_config is not None: + self.wep_config = wep_config + if forward_mode is not None: + self.forward_mode = forward_mode + ProfileDetails.__init__(self, *args, **kwargs) + + @property + def model_type(self): + """Gets the model_type of this SsidConfiguration. # noqa: E501 + + + :return: The model_type of this SsidConfiguration. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this SsidConfiguration. + + + :param model_type: The model_type of this SsidConfiguration. # noqa: E501 + :type: str + """ + allowed_values = ["SsidConfiguration"] # noqa: E501 + if model_type not in allowed_values: + raise ValueError( + "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 + .format(model_type, allowed_values) + ) + + self._model_type = model_type + + @property + def ssid(self): + """Gets the ssid of this SsidConfiguration. # noqa: E501 + + + :return: The ssid of this SsidConfiguration. # noqa: E501 + :rtype: str + """ + return self._ssid + + @ssid.setter + def ssid(self, ssid): + """Sets the ssid of this SsidConfiguration. + + + :param ssid: The ssid of this SsidConfiguration. # noqa: E501 + :type: str + """ + + self._ssid = ssid + + @property + def applied_radios(self): + """Gets the applied_radios of this SsidConfiguration. # noqa: E501 + + + :return: The applied_radios of this SsidConfiguration. # noqa: E501 + :rtype: list[RadioType] + """ + return self._applied_radios + + @applied_radios.setter + def applied_radios(self, applied_radios): + """Sets the applied_radios of this SsidConfiguration. + + + :param applied_radios: The applied_radios of this SsidConfiguration. # noqa: E501 + :type: list[RadioType] + """ + + self._applied_radios = applied_radios + + @property + def ssid_admin_state(self): + """Gets the ssid_admin_state of this SsidConfiguration. # noqa: E501 + + + :return: The ssid_admin_state of this SsidConfiguration. # noqa: E501 + :rtype: StateSetting + """ + return self._ssid_admin_state + + @ssid_admin_state.setter + def ssid_admin_state(self, ssid_admin_state): + """Sets the ssid_admin_state of this SsidConfiguration. + + + :param ssid_admin_state: The ssid_admin_state of this SsidConfiguration. # noqa: E501 + :type: StateSetting + """ + + self._ssid_admin_state = ssid_admin_state + + @property + def secure_mode(self): + """Gets the secure_mode of this SsidConfiguration. # noqa: E501 + + + :return: The secure_mode of this SsidConfiguration. # noqa: E501 + :rtype: SsidSecureMode + """ + return self._secure_mode + + @secure_mode.setter + def secure_mode(self, secure_mode): + """Sets the secure_mode of this SsidConfiguration. + + + :param secure_mode: The secure_mode of this SsidConfiguration. # noqa: E501 + :type: SsidSecureMode + """ + + self._secure_mode = secure_mode + + @property + def vlan_id(self): + """Gets the vlan_id of this SsidConfiguration. # noqa: E501 + + + :return: The vlan_id of this SsidConfiguration. # noqa: E501 + :rtype: int + """ + return self._vlan_id + + @vlan_id.setter + def vlan_id(self, vlan_id): + """Sets the vlan_id of this SsidConfiguration. + + + :param vlan_id: The vlan_id of this SsidConfiguration. # noqa: E501 + :type: int + """ + + self._vlan_id = vlan_id + + @property + def dynamic_vlan(self): + """Gets the dynamic_vlan of this SsidConfiguration. # noqa: E501 + + + :return: The dynamic_vlan of this SsidConfiguration. # noqa: E501 + :rtype: DynamicVlanMode + """ + return self._dynamic_vlan + + @dynamic_vlan.setter + def dynamic_vlan(self, dynamic_vlan): + """Sets the dynamic_vlan of this SsidConfiguration. + + + :param dynamic_vlan: The dynamic_vlan of this SsidConfiguration. # noqa: E501 + :type: DynamicVlanMode + """ + + self._dynamic_vlan = dynamic_vlan + + @property + def key_str(self): + """Gets the key_str of this SsidConfiguration. # noqa: E501 + + + :return: The key_str of this SsidConfiguration. # noqa: E501 + :rtype: str + """ + return self._key_str + + @key_str.setter + def key_str(self, key_str): + """Sets the key_str of this SsidConfiguration. + + + :param key_str: The key_str of this SsidConfiguration. # noqa: E501 + :type: str + """ + + self._key_str = key_str + + @property + def broadcast_ssid(self): + """Gets the broadcast_ssid of this SsidConfiguration. # noqa: E501 + + + :return: The broadcast_ssid of this SsidConfiguration. # noqa: E501 + :rtype: StateSetting + """ + return self._broadcast_ssid + + @broadcast_ssid.setter + def broadcast_ssid(self, broadcast_ssid): + """Sets the broadcast_ssid of this SsidConfiguration. + + + :param broadcast_ssid: The broadcast_ssid of this SsidConfiguration. # noqa: E501 + :type: StateSetting + """ + + self._broadcast_ssid = broadcast_ssid + + @property + def key_refresh(self): + """Gets the key_refresh of this SsidConfiguration. # noqa: E501 + + + :return: The key_refresh of this SsidConfiguration. # noqa: E501 + :rtype: int + """ + return self._key_refresh + + @key_refresh.setter + def key_refresh(self, key_refresh): + """Sets the key_refresh of this SsidConfiguration. + + + :param key_refresh: The key_refresh of this SsidConfiguration. # noqa: E501 + :type: int + """ + + self._key_refresh = key_refresh + + @property + def no_local_subnets(self): + """Gets the no_local_subnets of this SsidConfiguration. # noqa: E501 + + + :return: The no_local_subnets of this SsidConfiguration. # noqa: E501 + :rtype: bool + """ + return self._no_local_subnets + + @no_local_subnets.setter + def no_local_subnets(self, no_local_subnets): + """Sets the no_local_subnets of this SsidConfiguration. + + + :param no_local_subnets: The no_local_subnets of this SsidConfiguration. # noqa: E501 + :type: bool + """ + + self._no_local_subnets = no_local_subnets + + @property + def radius_service_id(self): + """Gets the radius_service_id of this SsidConfiguration. # noqa: E501 + + + :return: The radius_service_id of this SsidConfiguration. # noqa: E501 + :rtype: int + """ + return self._radius_service_id + + @radius_service_id.setter + def radius_service_id(self, radius_service_id): + """Sets the radius_service_id of this SsidConfiguration. + + + :param radius_service_id: The radius_service_id of this SsidConfiguration. # noqa: E501 + :type: int + """ + + self._radius_service_id = radius_service_id + + @property + def radius_acounting_service_interval(self): + """Gets the radius_acounting_service_interval of this SsidConfiguration. # noqa: E501 + + If this is set (i.e. non-null), RadiusAccountingService is configured, and SsidSecureMode is configured as Enterprise/Radius, ap will send interim accounting updates every N seconds # noqa: E501 + + :return: The radius_acounting_service_interval of this SsidConfiguration. # noqa: E501 + :rtype: int + """ + return self._radius_acounting_service_interval + + @radius_acounting_service_interval.setter + def radius_acounting_service_interval(self, radius_acounting_service_interval): + """Sets the radius_acounting_service_interval of this SsidConfiguration. + + If this is set (i.e. non-null), RadiusAccountingService is configured, and SsidSecureMode is configured as Enterprise/Radius, ap will send interim accounting updates every N seconds # noqa: E501 + + :param radius_acounting_service_interval: The radius_acounting_service_interval of this SsidConfiguration. # noqa: E501 + :type: int + """ + + self._radius_acounting_service_interval = radius_acounting_service_interval + + @property + def radius_nas_configuration(self): + """Gets the radius_nas_configuration of this SsidConfiguration. # noqa: E501 + + + :return: The radius_nas_configuration of this SsidConfiguration. # noqa: E501 + :rtype: RadiusNasConfiguration + """ + return self._radius_nas_configuration + + @radius_nas_configuration.setter + def radius_nas_configuration(self, radius_nas_configuration): + """Sets the radius_nas_configuration of this SsidConfiguration. + + + :param radius_nas_configuration: The radius_nas_configuration of this SsidConfiguration. # noqa: E501 + :type: RadiusNasConfiguration + """ + + self._radius_nas_configuration = radius_nas_configuration + + @property + def captive_portal_id(self): + """Gets the captive_portal_id of this SsidConfiguration. # noqa: E501 + + id of a CaptivePortalConfiguration profile, must be also added to the children of this profile # noqa: E501 + + :return: The captive_portal_id of this SsidConfiguration. # noqa: E501 + :rtype: int + """ + return self._captive_portal_id + + @captive_portal_id.setter + def captive_portal_id(self, captive_portal_id): + """Sets the captive_portal_id of this SsidConfiguration. + + id of a CaptivePortalConfiguration profile, must be also added to the children of this profile # noqa: E501 + + :param captive_portal_id: The captive_portal_id of this SsidConfiguration. # noqa: E501 + :type: int + """ + + self._captive_portal_id = captive_portal_id + + @property + def bandwidth_limit_down(self): + """Gets the bandwidth_limit_down of this SsidConfiguration. # noqa: E501 + + + :return: The bandwidth_limit_down of this SsidConfiguration. # noqa: E501 + :rtype: int + """ + return self._bandwidth_limit_down + + @bandwidth_limit_down.setter + def bandwidth_limit_down(self, bandwidth_limit_down): + """Sets the bandwidth_limit_down of this SsidConfiguration. + + + :param bandwidth_limit_down: The bandwidth_limit_down of this SsidConfiguration. # noqa: E501 + :type: int + """ + + self._bandwidth_limit_down = bandwidth_limit_down + + @property + def bandwidth_limit_up(self): + """Gets the bandwidth_limit_up of this SsidConfiguration. # noqa: E501 + + + :return: The bandwidth_limit_up of this SsidConfiguration. # noqa: E501 + :rtype: int + """ + return self._bandwidth_limit_up + + @bandwidth_limit_up.setter + def bandwidth_limit_up(self, bandwidth_limit_up): + """Sets the bandwidth_limit_up of this SsidConfiguration. + + + :param bandwidth_limit_up: The bandwidth_limit_up of this SsidConfiguration. # noqa: E501 + :type: int + """ + + self._bandwidth_limit_up = bandwidth_limit_up + + @property + def client_bandwidth_limit_down(self): + """Gets the client_bandwidth_limit_down of this SsidConfiguration. # noqa: E501 + + + :return: The client_bandwidth_limit_down of this SsidConfiguration. # noqa: E501 + :rtype: int + """ + return self._client_bandwidth_limit_down + + @client_bandwidth_limit_down.setter + def client_bandwidth_limit_down(self, client_bandwidth_limit_down): + """Sets the client_bandwidth_limit_down of this SsidConfiguration. + + + :param client_bandwidth_limit_down: The client_bandwidth_limit_down of this SsidConfiguration. # noqa: E501 + :type: int + """ + + self._client_bandwidth_limit_down = client_bandwidth_limit_down + + @property + def client_bandwidth_limit_up(self): + """Gets the client_bandwidth_limit_up of this SsidConfiguration. # noqa: E501 + + + :return: The client_bandwidth_limit_up of this SsidConfiguration. # noqa: E501 + :rtype: int + """ + return self._client_bandwidth_limit_up + + @client_bandwidth_limit_up.setter + def client_bandwidth_limit_up(self, client_bandwidth_limit_up): + """Sets the client_bandwidth_limit_up of this SsidConfiguration. + + + :param client_bandwidth_limit_up: The client_bandwidth_limit_up of this SsidConfiguration. # noqa: E501 + :type: int + """ + + self._client_bandwidth_limit_up = client_bandwidth_limit_up + + @property + def video_traffic_only(self): + """Gets the video_traffic_only of this SsidConfiguration. # noqa: E501 + + + :return: The video_traffic_only of this SsidConfiguration. # noqa: E501 + :rtype: bool + """ + return self._video_traffic_only + + @video_traffic_only.setter + def video_traffic_only(self, video_traffic_only): + """Sets the video_traffic_only of this SsidConfiguration. + + + :param video_traffic_only: The video_traffic_only of this SsidConfiguration. # noqa: E501 + :type: bool + """ + + self._video_traffic_only = video_traffic_only + + @property + def radio_based_configs(self): + """Gets the radio_based_configs of this SsidConfiguration. # noqa: E501 + + + :return: The radio_based_configs of this SsidConfiguration. # noqa: E501 + :rtype: RadioBasedSsidConfigurationMap + """ + return self._radio_based_configs + + @radio_based_configs.setter + def radio_based_configs(self, radio_based_configs): + """Sets the radio_based_configs of this SsidConfiguration. + + + :param radio_based_configs: The radio_based_configs of this SsidConfiguration. # noqa: E501 + :type: RadioBasedSsidConfigurationMap + """ + + self._radio_based_configs = radio_based_configs + + @property + def bonjour_gateway_profile_id(self): + """Gets the bonjour_gateway_profile_id of this SsidConfiguration. # noqa: E501 + + id of a BonjourGateway profile, must be also added to the children of this profile # noqa: E501 + + :return: The bonjour_gateway_profile_id of this SsidConfiguration. # noqa: E501 + :rtype: int + """ + return self._bonjour_gateway_profile_id + + @bonjour_gateway_profile_id.setter + def bonjour_gateway_profile_id(self, bonjour_gateway_profile_id): + """Sets the bonjour_gateway_profile_id of this SsidConfiguration. + + id of a BonjourGateway profile, must be also added to the children of this profile # noqa: E501 + + :param bonjour_gateway_profile_id: The bonjour_gateway_profile_id of this SsidConfiguration. # noqa: E501 + :type: int + """ + + self._bonjour_gateway_profile_id = bonjour_gateway_profile_id + + @property + def enable80211w(self): + """Gets the enable80211w of this SsidConfiguration. # noqa: E501 + + + :return: The enable80211w of this SsidConfiguration. # noqa: E501 + :rtype: bool + """ + return self._enable80211w + + @enable80211w.setter + def enable80211w(self, enable80211w): + """Sets the enable80211w of this SsidConfiguration. + + + :param enable80211w: The enable80211w of this SsidConfiguration. # noqa: E501 + :type: bool + """ + + self._enable80211w = enable80211w + + @property + def wep_config(self): + """Gets the wep_config of this SsidConfiguration. # noqa: E501 + + + :return: The wep_config of this SsidConfiguration. # noqa: E501 + :rtype: WepConfiguration + """ + return self._wep_config + + @wep_config.setter + def wep_config(self, wep_config): + """Sets the wep_config of this SsidConfiguration. + + + :param wep_config: The wep_config of this SsidConfiguration. # noqa: E501 + :type: WepConfiguration + """ + + self._wep_config = wep_config + + @property + def forward_mode(self): + """Gets the forward_mode of this SsidConfiguration. # noqa: E501 + + + :return: The forward_mode of this SsidConfiguration. # noqa: E501 + :rtype: NetworkForwardMode + """ + return self._forward_mode + + @forward_mode.setter + def forward_mode(self, forward_mode): + """Sets the forward_mode of this SsidConfiguration. + + + :param forward_mode: The forward_mode of this SsidConfiguration. # noqa: E501 + :type: NetworkForwardMode + """ + + self._forward_mode = forward_mode + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(SsidConfiguration, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, SsidConfiguration): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/ssid_secure_mode.py b/libs/cloudapi/cloudsdk/swagger_client/models/ssid_secure_mode.py new file mode 100644 index 000000000..6801bb8bc --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/ssid_secure_mode.py @@ -0,0 +1,103 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class SsidSecureMode(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + OPEN = "open" + WPAPSK = "wpaPSK" + WPA2PSK = "wpa2PSK" + WPARADIUS = "wpaRadius" + WPA2RADIUS = "wpa2Radius" + WPA2ONLYPSK = "wpa2OnlyPSK" + WPA2ONLYRADIUS = "wpa2OnlyRadius" + WEP = "wep" + WPAEAP = "wpaEAP" + WPA2EAP = "wpa2EAP" + WPA2ONLYEAP = "wpa2OnlyEAP" + WPA3ONLYSAE = "wpa3OnlySAE" + WPA3MIXEDSAE = "wpa3MixedSAE" + WPA3ONLYEAP = "wpa3OnlyEAP" + WPA3MIXEDEAP = "wpa3MixedEAP" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """SsidSecureMode - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(SsidSecureMode, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, SsidSecureMode): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/ssid_statistics.py b/libs/cloudapi/cloudsdk/swagger_client/models/ssid_statistics.py new file mode 100644 index 000000000..d395241eb --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/ssid_statistics.py @@ -0,0 +1,1450 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class SsidStatistics(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'ssid': 'str', + 'bssid': 'MacAddress', + 'num_client': 'int', + 'rx_last_rssi': 'int', + 'num_rx_no_fcs_err': 'int', + 'num_rx_data': 'int', + 'num_rx_management': 'int', + 'num_rx_control': 'int', + 'rx_bytes': 'int', + 'rx_data_bytes': 'int', + 'num_rx_rts': 'int', + 'num_rx_cts': 'int', + 'num_rx_ack': 'int', + 'num_rx_probe_req': 'int', + 'num_rx_retry': 'int', + 'num_rx_dup': 'int', + 'num_rx_null_data': 'int', + 'num_rx_pspoll': 'int', + 'num_rx_stbc': 'int', + 'num_rx_ldpc': 'int', + 'num_rcv_frame_for_tx': 'int', + 'num_tx_queued': 'int', + 'num_rcv_bc_for_tx': 'int', + 'num_tx_dropped': 'int', + 'num_tx_retry_dropped': 'int', + 'num_tx_bc_dropped': 'int', + 'num_tx_succ': 'int', + 'num_tx_bytes_succ': 'int', + 'num_tx_ps_unicast': 'int', + 'num_tx_dtim_mc': 'int', + 'num_tx_succ_no_retry': 'int', + 'num_tx_succ_retries': 'int', + 'num_tx_multi_retries': 'int', + 'num_tx_management': 'int', + 'num_tx_control': 'int', + 'num_tx_action': 'int', + 'num_tx_prop_resp': 'int', + 'num_tx_data': 'int', + 'num_tx_data_retries': 'int', + 'num_tx_rts_succ': 'int', + 'num_tx_rts_fail': 'int', + 'num_tx_no_ack': 'int', + 'num_tx_eapol': 'int', + 'num_tx_ldpc': 'int', + 'num_tx_stbc': 'int', + 'num_tx_aggr_succ': 'int', + 'num_tx_aggr_one_mpdu': 'int', + 'wmm_queue_stats': 'WmmQueueStatsPerQueueTypeMap', + 'mcs_stats': 'list[McsStats]' + } + + attribute_map = { + 'ssid': 'ssid', + 'bssid': 'bssid', + 'num_client': 'numClient', + 'rx_last_rssi': 'rxLastRssi', + 'num_rx_no_fcs_err': 'numRxNoFcsErr', + 'num_rx_data': 'numRxData', + 'num_rx_management': 'numRxManagement', + 'num_rx_control': 'numRxControl', + 'rx_bytes': 'rxBytes', + 'rx_data_bytes': 'rxDataBytes', + 'num_rx_rts': 'numRxRts', + 'num_rx_cts': 'numRxCts', + 'num_rx_ack': 'numRxAck', + 'num_rx_probe_req': 'numRxProbeReq', + 'num_rx_retry': 'numRxRetry', + 'num_rx_dup': 'numRxDup', + 'num_rx_null_data': 'numRxNullData', + 'num_rx_pspoll': 'numRxPspoll', + 'num_rx_stbc': 'numRxStbc', + 'num_rx_ldpc': 'numRxLdpc', + 'num_rcv_frame_for_tx': 'numRcvFrameForTx', + 'num_tx_queued': 'numTxQueued', + 'num_rcv_bc_for_tx': 'numRcvBcForTx', + 'num_tx_dropped': 'numTxDropped', + 'num_tx_retry_dropped': 'numTxRetryDropped', + 'num_tx_bc_dropped': 'numTxBcDropped', + 'num_tx_succ': 'numTxSucc', + 'num_tx_bytes_succ': 'numTxBytesSucc', + 'num_tx_ps_unicast': 'numTxPsUnicast', + 'num_tx_dtim_mc': 'numTxDtimMc', + 'num_tx_succ_no_retry': 'numTxSuccNoRetry', + 'num_tx_succ_retries': 'numTxSuccRetries', + 'num_tx_multi_retries': 'numTxMultiRetries', + 'num_tx_management': 'numTxManagement', + 'num_tx_control': 'numTxControl', + 'num_tx_action': 'numTxAction', + 'num_tx_prop_resp': 'numTxPropResp', + 'num_tx_data': 'numTxData', + 'num_tx_data_retries': 'numTxDataRetries', + 'num_tx_rts_succ': 'numTxRtsSucc', + 'num_tx_rts_fail': 'numTxRtsFail', + 'num_tx_no_ack': 'numTxNoAck', + 'num_tx_eapol': 'numTxEapol', + 'num_tx_ldpc': 'numTxLdpc', + 'num_tx_stbc': 'numTxStbc', + 'num_tx_aggr_succ': 'numTxAggrSucc', + 'num_tx_aggr_one_mpdu': 'numTxAggrOneMpdu', + 'wmm_queue_stats': 'wmmQueueStats', + 'mcs_stats': 'mcsStats' + } + + def __init__(self, ssid=None, bssid=None, num_client=None, rx_last_rssi=None, num_rx_no_fcs_err=None, num_rx_data=None, num_rx_management=None, num_rx_control=None, rx_bytes=None, rx_data_bytes=None, num_rx_rts=None, num_rx_cts=None, num_rx_ack=None, num_rx_probe_req=None, num_rx_retry=None, num_rx_dup=None, num_rx_null_data=None, num_rx_pspoll=None, num_rx_stbc=None, num_rx_ldpc=None, num_rcv_frame_for_tx=None, num_tx_queued=None, num_rcv_bc_for_tx=None, num_tx_dropped=None, num_tx_retry_dropped=None, num_tx_bc_dropped=None, num_tx_succ=None, num_tx_bytes_succ=None, num_tx_ps_unicast=None, num_tx_dtim_mc=None, num_tx_succ_no_retry=None, num_tx_succ_retries=None, num_tx_multi_retries=None, num_tx_management=None, num_tx_control=None, num_tx_action=None, num_tx_prop_resp=None, num_tx_data=None, num_tx_data_retries=None, num_tx_rts_succ=None, num_tx_rts_fail=None, num_tx_no_ack=None, num_tx_eapol=None, num_tx_ldpc=None, num_tx_stbc=None, num_tx_aggr_succ=None, num_tx_aggr_one_mpdu=None, wmm_queue_stats=None, mcs_stats=None): # noqa: E501 + """SsidStatistics - a model defined in Swagger""" # noqa: E501 + self._ssid = None + self._bssid = None + self._num_client = None + self._rx_last_rssi = None + self._num_rx_no_fcs_err = None + self._num_rx_data = None + self._num_rx_management = None + self._num_rx_control = None + self._rx_bytes = None + self._rx_data_bytes = None + self._num_rx_rts = None + self._num_rx_cts = None + self._num_rx_ack = None + self._num_rx_probe_req = None + self._num_rx_retry = None + self._num_rx_dup = None + self._num_rx_null_data = None + self._num_rx_pspoll = None + self._num_rx_stbc = None + self._num_rx_ldpc = None + self._num_rcv_frame_for_tx = None + self._num_tx_queued = None + self._num_rcv_bc_for_tx = None + self._num_tx_dropped = None + self._num_tx_retry_dropped = None + self._num_tx_bc_dropped = None + self._num_tx_succ = None + self._num_tx_bytes_succ = None + self._num_tx_ps_unicast = None + self._num_tx_dtim_mc = None + self._num_tx_succ_no_retry = None + self._num_tx_succ_retries = None + self._num_tx_multi_retries = None + self._num_tx_management = None + self._num_tx_control = None + self._num_tx_action = None + self._num_tx_prop_resp = None + self._num_tx_data = None + self._num_tx_data_retries = None + self._num_tx_rts_succ = None + self._num_tx_rts_fail = None + self._num_tx_no_ack = None + self._num_tx_eapol = None + self._num_tx_ldpc = None + self._num_tx_stbc = None + self._num_tx_aggr_succ = None + self._num_tx_aggr_one_mpdu = None + self._wmm_queue_stats = None + self._mcs_stats = None + self.discriminator = None + if ssid is not None: + self.ssid = ssid + if bssid is not None: + self.bssid = bssid + if num_client is not None: + self.num_client = num_client + if rx_last_rssi is not None: + self.rx_last_rssi = rx_last_rssi + if num_rx_no_fcs_err is not None: + self.num_rx_no_fcs_err = num_rx_no_fcs_err + if num_rx_data is not None: + self.num_rx_data = num_rx_data + if num_rx_management is not None: + self.num_rx_management = num_rx_management + if num_rx_control is not None: + self.num_rx_control = num_rx_control + if rx_bytes is not None: + self.rx_bytes = rx_bytes + if rx_data_bytes is not None: + self.rx_data_bytes = rx_data_bytes + if num_rx_rts is not None: + self.num_rx_rts = num_rx_rts + if num_rx_cts is not None: + self.num_rx_cts = num_rx_cts + if num_rx_ack is not None: + self.num_rx_ack = num_rx_ack + if num_rx_probe_req is not None: + self.num_rx_probe_req = num_rx_probe_req + if num_rx_retry is not None: + self.num_rx_retry = num_rx_retry + if num_rx_dup is not None: + self.num_rx_dup = num_rx_dup + if num_rx_null_data is not None: + self.num_rx_null_data = num_rx_null_data + if num_rx_pspoll is not None: + self.num_rx_pspoll = num_rx_pspoll + if num_rx_stbc is not None: + self.num_rx_stbc = num_rx_stbc + if num_rx_ldpc is not None: + self.num_rx_ldpc = num_rx_ldpc + if num_rcv_frame_for_tx is not None: + self.num_rcv_frame_for_tx = num_rcv_frame_for_tx + if num_tx_queued is not None: + self.num_tx_queued = num_tx_queued + if num_rcv_bc_for_tx is not None: + self.num_rcv_bc_for_tx = num_rcv_bc_for_tx + if num_tx_dropped is not None: + self.num_tx_dropped = num_tx_dropped + if num_tx_retry_dropped is not None: + self.num_tx_retry_dropped = num_tx_retry_dropped + if num_tx_bc_dropped is not None: + self.num_tx_bc_dropped = num_tx_bc_dropped + if num_tx_succ is not None: + self.num_tx_succ = num_tx_succ + if num_tx_bytes_succ is not None: + self.num_tx_bytes_succ = num_tx_bytes_succ + if num_tx_ps_unicast is not None: + self.num_tx_ps_unicast = num_tx_ps_unicast + if num_tx_dtim_mc is not None: + self.num_tx_dtim_mc = num_tx_dtim_mc + if num_tx_succ_no_retry is not None: + self.num_tx_succ_no_retry = num_tx_succ_no_retry + if num_tx_succ_retries is not None: + self.num_tx_succ_retries = num_tx_succ_retries + if num_tx_multi_retries is not None: + self.num_tx_multi_retries = num_tx_multi_retries + if num_tx_management is not None: + self.num_tx_management = num_tx_management + if num_tx_control is not None: + self.num_tx_control = num_tx_control + if num_tx_action is not None: + self.num_tx_action = num_tx_action + if num_tx_prop_resp is not None: + self.num_tx_prop_resp = num_tx_prop_resp + if num_tx_data is not None: + self.num_tx_data = num_tx_data + if num_tx_data_retries is not None: + self.num_tx_data_retries = num_tx_data_retries + if num_tx_rts_succ is not None: + self.num_tx_rts_succ = num_tx_rts_succ + if num_tx_rts_fail is not None: + self.num_tx_rts_fail = num_tx_rts_fail + if num_tx_no_ack is not None: + self.num_tx_no_ack = num_tx_no_ack + if num_tx_eapol is not None: + self.num_tx_eapol = num_tx_eapol + if num_tx_ldpc is not None: + self.num_tx_ldpc = num_tx_ldpc + if num_tx_stbc is not None: + self.num_tx_stbc = num_tx_stbc + if num_tx_aggr_succ is not None: + self.num_tx_aggr_succ = num_tx_aggr_succ + if num_tx_aggr_one_mpdu is not None: + self.num_tx_aggr_one_mpdu = num_tx_aggr_one_mpdu + if wmm_queue_stats is not None: + self.wmm_queue_stats = wmm_queue_stats + if mcs_stats is not None: + self.mcs_stats = mcs_stats + + @property + def ssid(self): + """Gets the ssid of this SsidStatistics. # noqa: E501 + + SSID # noqa: E501 + + :return: The ssid of this SsidStatistics. # noqa: E501 + :rtype: str + """ + return self._ssid + + @ssid.setter + def ssid(self, ssid): + """Sets the ssid of this SsidStatistics. + + SSID # noqa: E501 + + :param ssid: The ssid of this SsidStatistics. # noqa: E501 + :type: str + """ + + self._ssid = ssid + + @property + def bssid(self): + """Gets the bssid of this SsidStatistics. # noqa: E501 + + + :return: The bssid of this SsidStatistics. # noqa: E501 + :rtype: MacAddress + """ + return self._bssid + + @bssid.setter + def bssid(self, bssid): + """Sets the bssid of this SsidStatistics. + + + :param bssid: The bssid of this SsidStatistics. # noqa: E501 + :type: MacAddress + """ + + self._bssid = bssid + + @property + def num_client(self): + """Gets the num_client of this SsidStatistics. # noqa: E501 + + Number client associated to this BSS # noqa: E501 + + :return: The num_client of this SsidStatistics. # noqa: E501 + :rtype: int + """ + return self._num_client + + @num_client.setter + def num_client(self, num_client): + """Sets the num_client of this SsidStatistics. + + Number client associated to this BSS # noqa: E501 + + :param num_client: The num_client of this SsidStatistics. # noqa: E501 + :type: int + """ + + self._num_client = num_client + + @property + def rx_last_rssi(self): + """Gets the rx_last_rssi of this SsidStatistics. # noqa: E501 + + The RSSI of last frame received. # noqa: E501 + + :return: The rx_last_rssi of this SsidStatistics. # noqa: E501 + :rtype: int + """ + return self._rx_last_rssi + + @rx_last_rssi.setter + def rx_last_rssi(self, rx_last_rssi): + """Sets the rx_last_rssi of this SsidStatistics. + + The RSSI of last frame received. # noqa: E501 + + :param rx_last_rssi: The rx_last_rssi of this SsidStatistics. # noqa: E501 + :type: int + """ + + self._rx_last_rssi = rx_last_rssi + + @property + def num_rx_no_fcs_err(self): + """Gets the num_rx_no_fcs_err of this SsidStatistics. # noqa: E501 + + The number of received frames without FCS errors. # noqa: E501 + + :return: The num_rx_no_fcs_err of this SsidStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_no_fcs_err + + @num_rx_no_fcs_err.setter + def num_rx_no_fcs_err(self, num_rx_no_fcs_err): + """Sets the num_rx_no_fcs_err of this SsidStatistics. + + The number of received frames without FCS errors. # noqa: E501 + + :param num_rx_no_fcs_err: The num_rx_no_fcs_err of this SsidStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_no_fcs_err = num_rx_no_fcs_err + + @property + def num_rx_data(self): + """Gets the num_rx_data of this SsidStatistics. # noqa: E501 + + The number of received data frames. # noqa: E501 + + :return: The num_rx_data of this SsidStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_data + + @num_rx_data.setter + def num_rx_data(self, num_rx_data): + """Sets the num_rx_data of this SsidStatistics. + + The number of received data frames. # noqa: E501 + + :param num_rx_data: The num_rx_data of this SsidStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_data = num_rx_data + + @property + def num_rx_management(self): + """Gets the num_rx_management of this SsidStatistics. # noqa: E501 + + The number of received management frames. # noqa: E501 + + :return: The num_rx_management of this SsidStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_management + + @num_rx_management.setter + def num_rx_management(self, num_rx_management): + """Sets the num_rx_management of this SsidStatistics. + + The number of received management frames. # noqa: E501 + + :param num_rx_management: The num_rx_management of this SsidStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_management = num_rx_management + + @property + def num_rx_control(self): + """Gets the num_rx_control of this SsidStatistics. # noqa: E501 + + The number of received control frames. # noqa: E501 + + :return: The num_rx_control of this SsidStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_control + + @num_rx_control.setter + def num_rx_control(self, num_rx_control): + """Sets the num_rx_control of this SsidStatistics. + + The number of received control frames. # noqa: E501 + + :param num_rx_control: The num_rx_control of this SsidStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_control = num_rx_control + + @property + def rx_bytes(self): + """Gets the rx_bytes of this SsidStatistics. # noqa: E501 + + The number of received bytes. # noqa: E501 + + :return: The rx_bytes of this SsidStatistics. # noqa: E501 + :rtype: int + """ + return self._rx_bytes + + @rx_bytes.setter + def rx_bytes(self, rx_bytes): + """Sets the rx_bytes of this SsidStatistics. + + The number of received bytes. # noqa: E501 + + :param rx_bytes: The rx_bytes of this SsidStatistics. # noqa: E501 + :type: int + """ + + self._rx_bytes = rx_bytes + + @property + def rx_data_bytes(self): + """Gets the rx_data_bytes of this SsidStatistics. # noqa: E501 + + The number of received data bytes. # noqa: E501 + + :return: The rx_data_bytes of this SsidStatistics. # noqa: E501 + :rtype: int + """ + return self._rx_data_bytes + + @rx_data_bytes.setter + def rx_data_bytes(self, rx_data_bytes): + """Sets the rx_data_bytes of this SsidStatistics. + + The number of received data bytes. # noqa: E501 + + :param rx_data_bytes: The rx_data_bytes of this SsidStatistics. # noqa: E501 + :type: int + """ + + self._rx_data_bytes = rx_data_bytes + + @property + def num_rx_rts(self): + """Gets the num_rx_rts of this SsidStatistics. # noqa: E501 + + The number of received RTS frames. # noqa: E501 + + :return: The num_rx_rts of this SsidStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_rts + + @num_rx_rts.setter + def num_rx_rts(self, num_rx_rts): + """Sets the num_rx_rts of this SsidStatistics. + + The number of received RTS frames. # noqa: E501 + + :param num_rx_rts: The num_rx_rts of this SsidStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_rts = num_rx_rts + + @property + def num_rx_cts(self): + """Gets the num_rx_cts of this SsidStatistics. # noqa: E501 + + The number of received CTS frames. # noqa: E501 + + :return: The num_rx_cts of this SsidStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_cts + + @num_rx_cts.setter + def num_rx_cts(self, num_rx_cts): + """Sets the num_rx_cts of this SsidStatistics. + + The number of received CTS frames. # noqa: E501 + + :param num_rx_cts: The num_rx_cts of this SsidStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_cts = num_rx_cts + + @property + def num_rx_ack(self): + """Gets the num_rx_ack of this SsidStatistics. # noqa: E501 + + The number of all received ACK frames (Acks + BlockAcks). # noqa: E501 + + :return: The num_rx_ack of this SsidStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ack + + @num_rx_ack.setter + def num_rx_ack(self, num_rx_ack): + """Sets the num_rx_ack of this SsidStatistics. + + The number of all received ACK frames (Acks + BlockAcks). # noqa: E501 + + :param num_rx_ack: The num_rx_ack of this SsidStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ack = num_rx_ack + + @property + def num_rx_probe_req(self): + """Gets the num_rx_probe_req of this SsidStatistics. # noqa: E501 + + The number of received probe request frames. # noqa: E501 + + :return: The num_rx_probe_req of this SsidStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_probe_req + + @num_rx_probe_req.setter + def num_rx_probe_req(self, num_rx_probe_req): + """Sets the num_rx_probe_req of this SsidStatistics. + + The number of received probe request frames. # noqa: E501 + + :param num_rx_probe_req: The num_rx_probe_req of this SsidStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_probe_req = num_rx_probe_req + + @property + def num_rx_retry(self): + """Gets the num_rx_retry of this SsidStatistics. # noqa: E501 + + The number of received retry frames. # noqa: E501 + + :return: The num_rx_retry of this SsidStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_retry + + @num_rx_retry.setter + def num_rx_retry(self, num_rx_retry): + """Sets the num_rx_retry of this SsidStatistics. + + The number of received retry frames. # noqa: E501 + + :param num_rx_retry: The num_rx_retry of this SsidStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_retry = num_rx_retry + + @property + def num_rx_dup(self): + """Gets the num_rx_dup of this SsidStatistics. # noqa: E501 + + The number of received duplicated frames. # noqa: E501 + + :return: The num_rx_dup of this SsidStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_dup + + @num_rx_dup.setter + def num_rx_dup(self, num_rx_dup): + """Sets the num_rx_dup of this SsidStatistics. + + The number of received duplicated frames. # noqa: E501 + + :param num_rx_dup: The num_rx_dup of this SsidStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_dup = num_rx_dup + + @property + def num_rx_null_data(self): + """Gets the num_rx_null_data of this SsidStatistics. # noqa: E501 + + The number of received null data frames. # noqa: E501 + + :return: The num_rx_null_data of this SsidStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_null_data + + @num_rx_null_data.setter + def num_rx_null_data(self, num_rx_null_data): + """Sets the num_rx_null_data of this SsidStatistics. + + The number of received null data frames. # noqa: E501 + + :param num_rx_null_data: The num_rx_null_data of this SsidStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_null_data = num_rx_null_data + + @property + def num_rx_pspoll(self): + """Gets the num_rx_pspoll of this SsidStatistics. # noqa: E501 + + The number of received ps-poll frames. # noqa: E501 + + :return: The num_rx_pspoll of this SsidStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_pspoll + + @num_rx_pspoll.setter + def num_rx_pspoll(self, num_rx_pspoll): + """Sets the num_rx_pspoll of this SsidStatistics. + + The number of received ps-poll frames. # noqa: E501 + + :param num_rx_pspoll: The num_rx_pspoll of this SsidStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_pspoll = num_rx_pspoll + + @property + def num_rx_stbc(self): + """Gets the num_rx_stbc of this SsidStatistics. # noqa: E501 + + The number of received STBC frames. # noqa: E501 + + :return: The num_rx_stbc of this SsidStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_stbc + + @num_rx_stbc.setter + def num_rx_stbc(self, num_rx_stbc): + """Sets the num_rx_stbc of this SsidStatistics. + + The number of received STBC frames. # noqa: E501 + + :param num_rx_stbc: The num_rx_stbc of this SsidStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_stbc = num_rx_stbc + + @property + def num_rx_ldpc(self): + """Gets the num_rx_ldpc of this SsidStatistics. # noqa: E501 + + The number of received LDPC frames. # noqa: E501 + + :return: The num_rx_ldpc of this SsidStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rx_ldpc + + @num_rx_ldpc.setter + def num_rx_ldpc(self, num_rx_ldpc): + """Sets the num_rx_ldpc of this SsidStatistics. + + The number of received LDPC frames. # noqa: E501 + + :param num_rx_ldpc: The num_rx_ldpc of this SsidStatistics. # noqa: E501 + :type: int + """ + + self._num_rx_ldpc = num_rx_ldpc + + @property + def num_rcv_frame_for_tx(self): + """Gets the num_rcv_frame_for_tx of this SsidStatistics. # noqa: E501 + + The number of received ethernet and local generated frames for transmit. # noqa: E501 + + :return: The num_rcv_frame_for_tx of this SsidStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rcv_frame_for_tx + + @num_rcv_frame_for_tx.setter + def num_rcv_frame_for_tx(self, num_rcv_frame_for_tx): + """Sets the num_rcv_frame_for_tx of this SsidStatistics. + + The number of received ethernet and local generated frames for transmit. # noqa: E501 + + :param num_rcv_frame_for_tx: The num_rcv_frame_for_tx of this SsidStatistics. # noqa: E501 + :type: int + """ + + self._num_rcv_frame_for_tx = num_rcv_frame_for_tx + + @property + def num_tx_queued(self): + """Gets the num_tx_queued of this SsidStatistics. # noqa: E501 + + The number of TX frames queued. # noqa: E501 + + :return: The num_tx_queued of this SsidStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_queued + + @num_tx_queued.setter + def num_tx_queued(self, num_tx_queued): + """Sets the num_tx_queued of this SsidStatistics. + + The number of TX frames queued. # noqa: E501 + + :param num_tx_queued: The num_tx_queued of this SsidStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_queued = num_tx_queued + + @property + def num_rcv_bc_for_tx(self): + """Gets the num_rcv_bc_for_tx of this SsidStatistics. # noqa: E501 + + The number of received ethernet and local generated broadcast frames for transmit. # noqa: E501 + + :return: The num_rcv_bc_for_tx of this SsidStatistics. # noqa: E501 + :rtype: int + """ + return self._num_rcv_bc_for_tx + + @num_rcv_bc_for_tx.setter + def num_rcv_bc_for_tx(self, num_rcv_bc_for_tx): + """Sets the num_rcv_bc_for_tx of this SsidStatistics. + + The number of received ethernet and local generated broadcast frames for transmit. # noqa: E501 + + :param num_rcv_bc_for_tx: The num_rcv_bc_for_tx of this SsidStatistics. # noqa: E501 + :type: int + """ + + self._num_rcv_bc_for_tx = num_rcv_bc_for_tx + + @property + def num_tx_dropped(self): + """Gets the num_tx_dropped of this SsidStatistics. # noqa: E501 + + The number of every TX frame dropped. # noqa: E501 + + :return: The num_tx_dropped of this SsidStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_dropped + + @num_tx_dropped.setter + def num_tx_dropped(self, num_tx_dropped): + """Sets the num_tx_dropped of this SsidStatistics. + + The number of every TX frame dropped. # noqa: E501 + + :param num_tx_dropped: The num_tx_dropped of this SsidStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_dropped = num_tx_dropped + + @property + def num_tx_retry_dropped(self): + """Gets the num_tx_retry_dropped of this SsidStatistics. # noqa: E501 + + The number of TX frame dropped due to retries. # noqa: E501 + + :return: The num_tx_retry_dropped of this SsidStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_retry_dropped + + @num_tx_retry_dropped.setter + def num_tx_retry_dropped(self, num_tx_retry_dropped): + """Sets the num_tx_retry_dropped of this SsidStatistics. + + The number of TX frame dropped due to retries. # noqa: E501 + + :param num_tx_retry_dropped: The num_tx_retry_dropped of this SsidStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_retry_dropped = num_tx_retry_dropped + + @property + def num_tx_bc_dropped(self): + """Gets the num_tx_bc_dropped of this SsidStatistics. # noqa: E501 + + The number of broadcast frames dropped. # noqa: E501 + + :return: The num_tx_bc_dropped of this SsidStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_bc_dropped + + @num_tx_bc_dropped.setter + def num_tx_bc_dropped(self, num_tx_bc_dropped): + """Sets the num_tx_bc_dropped of this SsidStatistics. + + The number of broadcast frames dropped. # noqa: E501 + + :param num_tx_bc_dropped: The num_tx_bc_dropped of this SsidStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_bc_dropped = num_tx_bc_dropped + + @property + def num_tx_succ(self): + """Gets the num_tx_succ of this SsidStatistics. # noqa: E501 + + The number of frames successfully transmitted. # noqa: E501 + + :return: The num_tx_succ of this SsidStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_succ + + @num_tx_succ.setter + def num_tx_succ(self, num_tx_succ): + """Sets the num_tx_succ of this SsidStatistics. + + The number of frames successfully transmitted. # noqa: E501 + + :param num_tx_succ: The num_tx_succ of this SsidStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_succ = num_tx_succ + + @property + def num_tx_bytes_succ(self): + """Gets the num_tx_bytes_succ of this SsidStatistics. # noqa: E501 + + The number of bytes successfully transmitted. # noqa: E501 + + :return: The num_tx_bytes_succ of this SsidStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_bytes_succ + + @num_tx_bytes_succ.setter + def num_tx_bytes_succ(self, num_tx_bytes_succ): + """Sets the num_tx_bytes_succ of this SsidStatistics. + + The number of bytes successfully transmitted. # noqa: E501 + + :param num_tx_bytes_succ: The num_tx_bytes_succ of this SsidStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_bytes_succ = num_tx_bytes_succ + + @property + def num_tx_ps_unicast(self): + """Gets the num_tx_ps_unicast of this SsidStatistics. # noqa: E501 + + The number of transmitted PS unicast frame. # noqa: E501 + + :return: The num_tx_ps_unicast of this SsidStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ps_unicast + + @num_tx_ps_unicast.setter + def num_tx_ps_unicast(self, num_tx_ps_unicast): + """Sets the num_tx_ps_unicast of this SsidStatistics. + + The number of transmitted PS unicast frame. # noqa: E501 + + :param num_tx_ps_unicast: The num_tx_ps_unicast of this SsidStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ps_unicast = num_tx_ps_unicast + + @property + def num_tx_dtim_mc(self): + """Gets the num_tx_dtim_mc of this SsidStatistics. # noqa: E501 + + The number of transmitted DTIM multicast frames. # noqa: E501 + + :return: The num_tx_dtim_mc of this SsidStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_dtim_mc + + @num_tx_dtim_mc.setter + def num_tx_dtim_mc(self, num_tx_dtim_mc): + """Sets the num_tx_dtim_mc of this SsidStatistics. + + The number of transmitted DTIM multicast frames. # noqa: E501 + + :param num_tx_dtim_mc: The num_tx_dtim_mc of this SsidStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_dtim_mc = num_tx_dtim_mc + + @property + def num_tx_succ_no_retry(self): + """Gets the num_tx_succ_no_retry of this SsidStatistics. # noqa: E501 + + The number of successfully transmitted frames at firt attemp. # noqa: E501 + + :return: The num_tx_succ_no_retry of this SsidStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_succ_no_retry + + @num_tx_succ_no_retry.setter + def num_tx_succ_no_retry(self, num_tx_succ_no_retry): + """Sets the num_tx_succ_no_retry of this SsidStatistics. + + The number of successfully transmitted frames at firt attemp. # noqa: E501 + + :param num_tx_succ_no_retry: The num_tx_succ_no_retry of this SsidStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_succ_no_retry = num_tx_succ_no_retry + + @property + def num_tx_succ_retries(self): + """Gets the num_tx_succ_retries of this SsidStatistics. # noqa: E501 + + The number of successfully transmitted frames with retries. # noqa: E501 + + :return: The num_tx_succ_retries of this SsidStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_succ_retries + + @num_tx_succ_retries.setter + def num_tx_succ_retries(self, num_tx_succ_retries): + """Sets the num_tx_succ_retries of this SsidStatistics. + + The number of successfully transmitted frames with retries. # noqa: E501 + + :param num_tx_succ_retries: The num_tx_succ_retries of this SsidStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_succ_retries = num_tx_succ_retries + + @property + def num_tx_multi_retries(self): + """Gets the num_tx_multi_retries of this SsidStatistics. # noqa: E501 + + The number of Tx frames with retries. # noqa: E501 + + :return: The num_tx_multi_retries of this SsidStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_multi_retries + + @num_tx_multi_retries.setter + def num_tx_multi_retries(self, num_tx_multi_retries): + """Sets the num_tx_multi_retries of this SsidStatistics. + + The number of Tx frames with retries. # noqa: E501 + + :param num_tx_multi_retries: The num_tx_multi_retries of this SsidStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_multi_retries = num_tx_multi_retries + + @property + def num_tx_management(self): + """Gets the num_tx_management of this SsidStatistics. # noqa: E501 + + The number of TX management frames. # noqa: E501 + + :return: The num_tx_management of this SsidStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_management + + @num_tx_management.setter + def num_tx_management(self, num_tx_management): + """Sets the num_tx_management of this SsidStatistics. + + The number of TX management frames. # noqa: E501 + + :param num_tx_management: The num_tx_management of this SsidStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_management = num_tx_management + + @property + def num_tx_control(self): + """Gets the num_tx_control of this SsidStatistics. # noqa: E501 + + The number of Tx control frames. # noqa: E501 + + :return: The num_tx_control of this SsidStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_control + + @num_tx_control.setter + def num_tx_control(self, num_tx_control): + """Sets the num_tx_control of this SsidStatistics. + + The number of Tx control frames. # noqa: E501 + + :param num_tx_control: The num_tx_control of this SsidStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_control = num_tx_control + + @property + def num_tx_action(self): + """Gets the num_tx_action of this SsidStatistics. # noqa: E501 + + The number of Tx action frames. # noqa: E501 + + :return: The num_tx_action of this SsidStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_action + + @num_tx_action.setter + def num_tx_action(self, num_tx_action): + """Sets the num_tx_action of this SsidStatistics. + + The number of Tx action frames. # noqa: E501 + + :param num_tx_action: The num_tx_action of this SsidStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_action = num_tx_action + + @property + def num_tx_prop_resp(self): + """Gets the num_tx_prop_resp of this SsidStatistics. # noqa: E501 + + The number of TX probe response. # noqa: E501 + + :return: The num_tx_prop_resp of this SsidStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_prop_resp + + @num_tx_prop_resp.setter + def num_tx_prop_resp(self, num_tx_prop_resp): + """Sets the num_tx_prop_resp of this SsidStatistics. + + The number of TX probe response. # noqa: E501 + + :param num_tx_prop_resp: The num_tx_prop_resp of this SsidStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_prop_resp = num_tx_prop_resp + + @property + def num_tx_data(self): + """Gets the num_tx_data of this SsidStatistics. # noqa: E501 + + The number of Tx data frames. # noqa: E501 + + :return: The num_tx_data of this SsidStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_data + + @num_tx_data.setter + def num_tx_data(self, num_tx_data): + """Sets the num_tx_data of this SsidStatistics. + + The number of Tx data frames. # noqa: E501 + + :param num_tx_data: The num_tx_data of this SsidStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_data = num_tx_data + + @property + def num_tx_data_retries(self): + """Gets the num_tx_data_retries of this SsidStatistics. # noqa: E501 + + The number of Tx data frames with retries. # noqa: E501 + + :return: The num_tx_data_retries of this SsidStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_data_retries + + @num_tx_data_retries.setter + def num_tx_data_retries(self, num_tx_data_retries): + """Sets the num_tx_data_retries of this SsidStatistics. + + The number of Tx data frames with retries. # noqa: E501 + + :param num_tx_data_retries: The num_tx_data_retries of this SsidStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_data_retries = num_tx_data_retries + + @property + def num_tx_rts_succ(self): + """Gets the num_tx_rts_succ of this SsidStatistics. # noqa: E501 + + The number of RTS frames sent successfully. # noqa: E501 + + :return: The num_tx_rts_succ of this SsidStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_rts_succ + + @num_tx_rts_succ.setter + def num_tx_rts_succ(self, num_tx_rts_succ): + """Sets the num_tx_rts_succ of this SsidStatistics. + + The number of RTS frames sent successfully. # noqa: E501 + + :param num_tx_rts_succ: The num_tx_rts_succ of this SsidStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_rts_succ = num_tx_rts_succ + + @property + def num_tx_rts_fail(self): + """Gets the num_tx_rts_fail of this SsidStatistics. # noqa: E501 + + The number of RTS frames failed transmission. # noqa: E501 + + :return: The num_tx_rts_fail of this SsidStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_rts_fail + + @num_tx_rts_fail.setter + def num_tx_rts_fail(self, num_tx_rts_fail): + """Sets the num_tx_rts_fail of this SsidStatistics. + + The number of RTS frames failed transmission. # noqa: E501 + + :param num_tx_rts_fail: The num_tx_rts_fail of this SsidStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_rts_fail = num_tx_rts_fail + + @property + def num_tx_no_ack(self): + """Gets the num_tx_no_ack of this SsidStatistics. # noqa: E501 + + The number of TX frames failed because of not Acked. # noqa: E501 + + :return: The num_tx_no_ack of this SsidStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_no_ack + + @num_tx_no_ack.setter + def num_tx_no_ack(self, num_tx_no_ack): + """Sets the num_tx_no_ack of this SsidStatistics. + + The number of TX frames failed because of not Acked. # noqa: E501 + + :param num_tx_no_ack: The num_tx_no_ack of this SsidStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_no_ack = num_tx_no_ack + + @property + def num_tx_eapol(self): + """Gets the num_tx_eapol of this SsidStatistics. # noqa: E501 + + The number of EAPOL frames sent. # noqa: E501 + + :return: The num_tx_eapol of this SsidStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_eapol + + @num_tx_eapol.setter + def num_tx_eapol(self, num_tx_eapol): + """Sets the num_tx_eapol of this SsidStatistics. + + The number of EAPOL frames sent. # noqa: E501 + + :param num_tx_eapol: The num_tx_eapol of this SsidStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_eapol = num_tx_eapol + + @property + def num_tx_ldpc(self): + """Gets the num_tx_ldpc of this SsidStatistics. # noqa: E501 + + The number of total LDPC frames sent. # noqa: E501 + + :return: The num_tx_ldpc of this SsidStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_ldpc + + @num_tx_ldpc.setter + def num_tx_ldpc(self, num_tx_ldpc): + """Sets the num_tx_ldpc of this SsidStatistics. + + The number of total LDPC frames sent. # noqa: E501 + + :param num_tx_ldpc: The num_tx_ldpc of this SsidStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_ldpc = num_tx_ldpc + + @property + def num_tx_stbc(self): + """Gets the num_tx_stbc of this SsidStatistics. # noqa: E501 + + The number of total STBC frames sent. # noqa: E501 + + :return: The num_tx_stbc of this SsidStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_stbc + + @num_tx_stbc.setter + def num_tx_stbc(self, num_tx_stbc): + """Sets the num_tx_stbc of this SsidStatistics. + + The number of total STBC frames sent. # noqa: E501 + + :param num_tx_stbc: The num_tx_stbc of this SsidStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_stbc = num_tx_stbc + + @property + def num_tx_aggr_succ(self): + """Gets the num_tx_aggr_succ of this SsidStatistics. # noqa: E501 + + The number of aggregation frames sent successfully. # noqa: E501 + + :return: The num_tx_aggr_succ of this SsidStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_aggr_succ + + @num_tx_aggr_succ.setter + def num_tx_aggr_succ(self, num_tx_aggr_succ): + """Sets the num_tx_aggr_succ of this SsidStatistics. + + The number of aggregation frames sent successfully. # noqa: E501 + + :param num_tx_aggr_succ: The num_tx_aggr_succ of this SsidStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_aggr_succ = num_tx_aggr_succ + + @property + def num_tx_aggr_one_mpdu(self): + """Gets the num_tx_aggr_one_mpdu of this SsidStatistics. # noqa: E501 + + The number of aggregation frames sent using single MPDU (where the A-MPDU contains only one MPDU ). # noqa: E501 + + :return: The num_tx_aggr_one_mpdu of this SsidStatistics. # noqa: E501 + :rtype: int + """ + return self._num_tx_aggr_one_mpdu + + @num_tx_aggr_one_mpdu.setter + def num_tx_aggr_one_mpdu(self, num_tx_aggr_one_mpdu): + """Sets the num_tx_aggr_one_mpdu of this SsidStatistics. + + The number of aggregation frames sent using single MPDU (where the A-MPDU contains only one MPDU ). # noqa: E501 + + :param num_tx_aggr_one_mpdu: The num_tx_aggr_one_mpdu of this SsidStatistics. # noqa: E501 + :type: int + """ + + self._num_tx_aggr_one_mpdu = num_tx_aggr_one_mpdu + + @property + def wmm_queue_stats(self): + """Gets the wmm_queue_stats of this SsidStatistics. # noqa: E501 + + + :return: The wmm_queue_stats of this SsidStatistics. # noqa: E501 + :rtype: WmmQueueStatsPerQueueTypeMap + """ + return self._wmm_queue_stats + + @wmm_queue_stats.setter + def wmm_queue_stats(self, wmm_queue_stats): + """Sets the wmm_queue_stats of this SsidStatistics. + + + :param wmm_queue_stats: The wmm_queue_stats of this SsidStatistics. # noqa: E501 + :type: WmmQueueStatsPerQueueTypeMap + """ + + self._wmm_queue_stats = wmm_queue_stats + + @property + def mcs_stats(self): + """Gets the mcs_stats of this SsidStatistics. # noqa: E501 + + + :return: The mcs_stats of this SsidStatistics. # noqa: E501 + :rtype: list[McsStats] + """ + return self._mcs_stats + + @mcs_stats.setter + def mcs_stats(self, mcs_stats): + """Sets the mcs_stats of this SsidStatistics. + + + :param mcs_stats: The mcs_stats of this SsidStatistics. # noqa: E501 + :type: list[McsStats] + """ + + self._mcs_stats = mcs_stats + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(SsidStatistics, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, SsidStatistics): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/state_setting.py b/libs/cloudapi/cloudsdk/swagger_client/models/state_setting.py new file mode 100644 index 000000000..c30928eba --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/state_setting.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class StateSetting(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + ENABLED = "enabled" + DISABLED = "disabled" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """StateSetting - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(StateSetting, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, StateSetting): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/state_up_down_error.py b/libs/cloudapi/cloudsdk/swagger_client/models/state_up_down_error.py new file mode 100644 index 000000000..68098343f --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/state_up_down_error.py @@ -0,0 +1,91 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class StateUpDownError(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + DISABLED = "disabled" + ENABLED = "enabled" + ERROR = "error" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """StateUpDownError - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(StateUpDownError, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, StateUpDownError): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/stats_report_format.py b/libs/cloudapi/cloudsdk/swagger_client/models/stats_report_format.py new file mode 100644 index 000000000..c4a9705fd --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/stats_report_format.py @@ -0,0 +1,91 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class StatsReportFormat(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + RAW = "RAW" + PERCENTILE = "PERCENTILE" + AVERAGE = "AVERAGE" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """StatsReportFormat - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(StatsReportFormat, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, StatsReportFormat): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/status.py b/libs/cloudapi/cloudsdk/swagger_client/models/status.py new file mode 100644 index 000000000..890579bfd --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/status.py @@ -0,0 +1,274 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class Status(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'customer_id': 'int', + 'equipment_id': 'int', + 'status_data_type': 'StatusDataType', + 'status_details': 'StatusDetails', + 'created_timestamp': 'int', + 'last_modified_timestamp': 'int' + } + + attribute_map = { + 'model_type': 'model_type', + 'customer_id': 'customerId', + 'equipment_id': 'equipmentId', + 'status_data_type': 'statusDataType', + 'status_details': 'statusDetails', + 'created_timestamp': 'createdTimestamp', + 'last_modified_timestamp': 'lastModifiedTimestamp' + } + + def __init__(self, model_type=None, customer_id=None, equipment_id=None, status_data_type=None, status_details=None, created_timestamp=None, last_modified_timestamp=None): # noqa: E501 + """Status - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._customer_id = None + self._equipment_id = None + self._status_data_type = None + self._status_details = None + self._created_timestamp = None + self._last_modified_timestamp = None + self.discriminator = None + if model_type is not None: + self.model_type = model_type + if customer_id is not None: + self.customer_id = customer_id + if equipment_id is not None: + self.equipment_id = equipment_id + if status_data_type is not None: + self.status_data_type = status_data_type + if status_details is not None: + self.status_details = status_details + if created_timestamp is not None: + self.created_timestamp = created_timestamp + if last_modified_timestamp is not None: + self.last_modified_timestamp = last_modified_timestamp + + @property + def model_type(self): + """Gets the model_type of this Status. # noqa: E501 + + + :return: The model_type of this Status. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this Status. + + + :param model_type: The model_type of this Status. # noqa: E501 + :type: str + """ + allowed_values = ["Status"] # noqa: E501 + if model_type not in allowed_values: + raise ValueError( + "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 + .format(model_type, allowed_values) + ) + + self._model_type = model_type + + @property + def customer_id(self): + """Gets the customer_id of this Status. # noqa: E501 + + + :return: The customer_id of this Status. # noqa: E501 + :rtype: int + """ + return self._customer_id + + @customer_id.setter + def customer_id(self, customer_id): + """Sets the customer_id of this Status. + + + :param customer_id: The customer_id of this Status. # noqa: E501 + :type: int + """ + + self._customer_id = customer_id + + @property + def equipment_id(self): + """Gets the equipment_id of this Status. # noqa: E501 + + + :return: The equipment_id of this Status. # noqa: E501 + :rtype: int + """ + return self._equipment_id + + @equipment_id.setter + def equipment_id(self, equipment_id): + """Sets the equipment_id of this Status. + + + :param equipment_id: The equipment_id of this Status. # noqa: E501 + :type: int + """ + + self._equipment_id = equipment_id + + @property + def status_data_type(self): + """Gets the status_data_type of this Status. # noqa: E501 + + + :return: The status_data_type of this Status. # noqa: E501 + :rtype: StatusDataType + """ + return self._status_data_type + + @status_data_type.setter + def status_data_type(self, status_data_type): + """Sets the status_data_type of this Status. + + + :param status_data_type: The status_data_type of this Status. # noqa: E501 + :type: StatusDataType + """ + + self._status_data_type = status_data_type + + @property + def status_details(self): + """Gets the status_details of this Status. # noqa: E501 + + + :return: The status_details of this Status. # noqa: E501 + :rtype: StatusDetails + """ + return self._status_details + + @status_details.setter + def status_details(self, status_details): + """Sets the status_details of this Status. + + + :param status_details: The status_details of this Status. # noqa: E501 + :type: StatusDetails + """ + + self._status_details = status_details + + @property + def created_timestamp(self): + """Gets the created_timestamp of this Status. # noqa: E501 + + + :return: The created_timestamp of this Status. # noqa: E501 + :rtype: int + """ + return self._created_timestamp + + @created_timestamp.setter + def created_timestamp(self, created_timestamp): + """Sets the created_timestamp of this Status. + + + :param created_timestamp: The created_timestamp of this Status. # noqa: E501 + :type: int + """ + + self._created_timestamp = created_timestamp + + @property + def last_modified_timestamp(self): + """Gets the last_modified_timestamp of this Status. # noqa: E501 + + This class does not perform checks against concurrrent updates. Here last update always wins. # noqa: E501 + + :return: The last_modified_timestamp of this Status. # noqa: E501 + :rtype: int + """ + return self._last_modified_timestamp + + @last_modified_timestamp.setter + def last_modified_timestamp(self, last_modified_timestamp): + """Sets the last_modified_timestamp of this Status. + + This class does not perform checks against concurrrent updates. Here last update always wins. # noqa: E501 + + :param last_modified_timestamp: The last_modified_timestamp of this Status. # noqa: E501 + :type: int + """ + + self._last_modified_timestamp = last_modified_timestamp + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(Status, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, Status): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/status_changed_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/status_changed_event.py new file mode 100644 index 000000000..6e8239267 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/status_changed_event.py @@ -0,0 +1,215 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class StatusChangedEvent(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'event_timestamp': 'int', + 'customer_id': 'int', + 'equipment_id': 'int', + 'payload': 'Status' + } + + attribute_map = { + 'model_type': 'model_type', + 'event_timestamp': 'eventTimestamp', + 'customer_id': 'customerId', + 'equipment_id': 'equipmentId', + 'payload': 'payload' + } + + def __init__(self, model_type=None, event_timestamp=None, customer_id=None, equipment_id=None, payload=None): # noqa: E501 + """StatusChangedEvent - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._event_timestamp = None + self._customer_id = None + self._equipment_id = None + self._payload = None + self.discriminator = None + self.model_type = model_type + if event_timestamp is not None: + self.event_timestamp = event_timestamp + if customer_id is not None: + self.customer_id = customer_id + if equipment_id is not None: + self.equipment_id = equipment_id + if payload is not None: + self.payload = payload + + @property + def model_type(self): + """Gets the model_type of this StatusChangedEvent. # noqa: E501 + + + :return: The model_type of this StatusChangedEvent. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this StatusChangedEvent. + + + :param model_type: The model_type of this StatusChangedEvent. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + + self._model_type = model_type + + @property + def event_timestamp(self): + """Gets the event_timestamp of this StatusChangedEvent. # noqa: E501 + + + :return: The event_timestamp of this StatusChangedEvent. # noqa: E501 + :rtype: int + """ + return self._event_timestamp + + @event_timestamp.setter + def event_timestamp(self, event_timestamp): + """Sets the event_timestamp of this StatusChangedEvent. + + + :param event_timestamp: The event_timestamp of this StatusChangedEvent. # noqa: E501 + :type: int + """ + + self._event_timestamp = event_timestamp + + @property + def customer_id(self): + """Gets the customer_id of this StatusChangedEvent. # noqa: E501 + + + :return: The customer_id of this StatusChangedEvent. # noqa: E501 + :rtype: int + """ + return self._customer_id + + @customer_id.setter + def customer_id(self, customer_id): + """Sets the customer_id of this StatusChangedEvent. + + + :param customer_id: The customer_id of this StatusChangedEvent. # noqa: E501 + :type: int + """ + + self._customer_id = customer_id + + @property + def equipment_id(self): + """Gets the equipment_id of this StatusChangedEvent. # noqa: E501 + + + :return: The equipment_id of this StatusChangedEvent. # noqa: E501 + :rtype: int + """ + return self._equipment_id + + @equipment_id.setter + def equipment_id(self, equipment_id): + """Sets the equipment_id of this StatusChangedEvent. + + + :param equipment_id: The equipment_id of this StatusChangedEvent. # noqa: E501 + :type: int + """ + + self._equipment_id = equipment_id + + @property + def payload(self): + """Gets the payload of this StatusChangedEvent. # noqa: E501 + + + :return: The payload of this StatusChangedEvent. # noqa: E501 + :rtype: Status + """ + return self._payload + + @payload.setter + def payload(self, payload): + """Sets the payload of this StatusChangedEvent. + + + :param payload: The payload of this StatusChangedEvent. # noqa: E501 + :type: Status + """ + + self._payload = payload + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(StatusChangedEvent, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, StatusChangedEvent): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/status_code.py b/libs/cloudapi/cloudsdk/swagger_client/models/status_code.py new file mode 100644 index 000000000..1733ec84c --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/status_code.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class StatusCode(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + NORMAL = "normal" + REQUIRESATTENTION = "requiresAttention" + ERROR = "error" + DISABLED = "disabled" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """StatusCode - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(StatusCode, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, StatusCode): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/status_data_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/status_data_type.py new file mode 100644 index 000000000..addde2822 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/status_data_type.py @@ -0,0 +1,102 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class StatusDataType(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + EQUIPMENT_ADMIN = "EQUIPMENT_ADMIN" + NETWORK_ADMIN = "NETWORK_ADMIN" + NETWORK_AGGREGATE = "NETWORK_AGGREGATE" + PROTOCOL = "PROTOCOL" + FIRMWARE = "FIRMWARE" + PEERINFO = "PEERINFO" + LANINFO = "LANINFO" + NEIGHBOURINGINFO = "NEIGHBOURINGINFO" + OS_PERFORMANCE = "OS_PERFORMANCE" + NEIGHBOUR_SCAN = "NEIGHBOUR_SCAN" + RADIO_UTILIZATION = "RADIO_UTILIZATION" + ACTIVE_BSSIDS = "ACTIVE_BSSIDS" + CLIENT_DETAILS = "CLIENT_DETAILS" + CUSTOMER_DASHBOARD = "CUSTOMER_DASHBOARD" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """StatusDataType - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(StatusDataType, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, StatusDataType): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/status_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/status_details.py new file mode 100644 index 000000000..9974c1dce --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/status_details.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class StatusDetails(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + discriminator_value_class_map = { + } + + def __init__(self): # noqa: E501 + """StatusDetails - a model defined in Swagger""" # noqa: E501 + self.discriminator = 'model_type' + + def get_real_child_model(self, data): + """Returns the real base class specified by the discriminator""" + discriminator_value = data[self.discriminator].lower() + return self.discriminator_value_class_map.get(discriminator_value) + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(StatusDetails, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, StatusDetails): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/status_removed_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/status_removed_event.py new file mode 100644 index 000000000..8e2ab48d7 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/status_removed_event.py @@ -0,0 +1,215 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class StatusRemovedEvent(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'event_timestamp': 'int', + 'customer_id': 'int', + 'equipment_id': 'int', + 'payload': 'Status' + } + + attribute_map = { + 'model_type': 'model_type', + 'event_timestamp': 'eventTimestamp', + 'customer_id': 'customerId', + 'equipment_id': 'equipmentId', + 'payload': 'payload' + } + + def __init__(self, model_type=None, event_timestamp=None, customer_id=None, equipment_id=None, payload=None): # noqa: E501 + """StatusRemovedEvent - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._event_timestamp = None + self._customer_id = None + self._equipment_id = None + self._payload = None + self.discriminator = None + self.model_type = model_type + if event_timestamp is not None: + self.event_timestamp = event_timestamp + if customer_id is not None: + self.customer_id = customer_id + if equipment_id is not None: + self.equipment_id = equipment_id + if payload is not None: + self.payload = payload + + @property + def model_type(self): + """Gets the model_type of this StatusRemovedEvent. # noqa: E501 + + + :return: The model_type of this StatusRemovedEvent. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this StatusRemovedEvent. + + + :param model_type: The model_type of this StatusRemovedEvent. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + + self._model_type = model_type + + @property + def event_timestamp(self): + """Gets the event_timestamp of this StatusRemovedEvent. # noqa: E501 + + + :return: The event_timestamp of this StatusRemovedEvent. # noqa: E501 + :rtype: int + """ + return self._event_timestamp + + @event_timestamp.setter + def event_timestamp(self, event_timestamp): + """Sets the event_timestamp of this StatusRemovedEvent. + + + :param event_timestamp: The event_timestamp of this StatusRemovedEvent. # noqa: E501 + :type: int + """ + + self._event_timestamp = event_timestamp + + @property + def customer_id(self): + """Gets the customer_id of this StatusRemovedEvent. # noqa: E501 + + + :return: The customer_id of this StatusRemovedEvent. # noqa: E501 + :rtype: int + """ + return self._customer_id + + @customer_id.setter + def customer_id(self, customer_id): + """Sets the customer_id of this StatusRemovedEvent. + + + :param customer_id: The customer_id of this StatusRemovedEvent. # noqa: E501 + :type: int + """ + + self._customer_id = customer_id + + @property + def equipment_id(self): + """Gets the equipment_id of this StatusRemovedEvent. # noqa: E501 + + + :return: The equipment_id of this StatusRemovedEvent. # noqa: E501 + :rtype: int + """ + return self._equipment_id + + @equipment_id.setter + def equipment_id(self, equipment_id): + """Sets the equipment_id of this StatusRemovedEvent. + + + :param equipment_id: The equipment_id of this StatusRemovedEvent. # noqa: E501 + :type: int + """ + + self._equipment_id = equipment_id + + @property + def payload(self): + """Gets the payload of this StatusRemovedEvent. # noqa: E501 + + + :return: The payload of this StatusRemovedEvent. # noqa: E501 + :rtype: Status + """ + return self._payload + + @payload.setter + def payload(self, payload): + """Sets the payload of this StatusRemovedEvent. + + + :param payload: The payload of this StatusRemovedEvent. # noqa: E501 + :type: Status + """ + + self._payload = payload + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(StatusRemovedEvent, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, StatusRemovedEvent): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/steer_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/steer_type.py new file mode 100644 index 000000000..8cb8a8dec --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/steer_type.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class SteerType(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + RSVD = "steer_rsvd" + DEAUTH = "steer_deauth" + _11V = "steer_11v" + PERIMETER = "steer_perimeter" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """SteerType - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(SteerType, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, SteerType): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/streaming_video_server_record.py b/libs/cloudapi/cloudsdk/swagger_client/models/streaming_video_server_record.py new file mode 100644 index 000000000..9a23b97a8 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/streaming_video_server_record.py @@ -0,0 +1,266 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class StreamingVideoServerRecord(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'id': 'int', + 'customer_id': 'int', + 'equipment_id': 'int', + 'ip_addr': 'str', + 'type': 'StreamingVideoType', + 'created_timestamp': 'int', + 'last_modified_timestamp': 'int' + } + + attribute_map = { + 'id': 'id', + 'customer_id': 'customerId', + 'equipment_id': 'equipmentId', + 'ip_addr': 'ipAddr', + 'type': 'type', + 'created_timestamp': 'createdTimestamp', + 'last_modified_timestamp': 'lastModifiedTimestamp' + } + + def __init__(self, id=None, customer_id=None, equipment_id=None, ip_addr=None, type=None, created_timestamp=None, last_modified_timestamp=None): # noqa: E501 + """StreamingVideoServerRecord - a model defined in Swagger""" # noqa: E501 + self._id = None + self._customer_id = None + self._equipment_id = None + self._ip_addr = None + self._type = None + self._created_timestamp = None + self._last_modified_timestamp = None + self.discriminator = None + if id is not None: + self.id = id + if customer_id is not None: + self.customer_id = customer_id + if equipment_id is not None: + self.equipment_id = equipment_id + if ip_addr is not None: + self.ip_addr = ip_addr + if type is not None: + self.type = type + if created_timestamp is not None: + self.created_timestamp = created_timestamp + if last_modified_timestamp is not None: + self.last_modified_timestamp = last_modified_timestamp + + @property + def id(self): + """Gets the id of this StreamingVideoServerRecord. # noqa: E501 + + + :return: The id of this StreamingVideoServerRecord. # noqa: E501 + :rtype: int + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this StreamingVideoServerRecord. + + + :param id: The id of this StreamingVideoServerRecord. # noqa: E501 + :type: int + """ + + self._id = id + + @property + def customer_id(self): + """Gets the customer_id of this StreamingVideoServerRecord. # noqa: E501 + + + :return: The customer_id of this StreamingVideoServerRecord. # noqa: E501 + :rtype: int + """ + return self._customer_id + + @customer_id.setter + def customer_id(self, customer_id): + """Sets the customer_id of this StreamingVideoServerRecord. + + + :param customer_id: The customer_id of this StreamingVideoServerRecord. # noqa: E501 + :type: int + """ + + self._customer_id = customer_id + + @property + def equipment_id(self): + """Gets the equipment_id of this StreamingVideoServerRecord. # noqa: E501 + + + :return: The equipment_id of this StreamingVideoServerRecord. # noqa: E501 + :rtype: int + """ + return self._equipment_id + + @equipment_id.setter + def equipment_id(self, equipment_id): + """Sets the equipment_id of this StreamingVideoServerRecord. + + + :param equipment_id: The equipment_id of this StreamingVideoServerRecord. # noqa: E501 + :type: int + """ + + self._equipment_id = equipment_id + + @property + def ip_addr(self): + """Gets the ip_addr of this StreamingVideoServerRecord. # noqa: E501 + + + :return: The ip_addr of this StreamingVideoServerRecord. # noqa: E501 + :rtype: str + """ + return self._ip_addr + + @ip_addr.setter + def ip_addr(self, ip_addr): + """Sets the ip_addr of this StreamingVideoServerRecord. + + + :param ip_addr: The ip_addr of this StreamingVideoServerRecord. # noqa: E501 + :type: str + """ + + self._ip_addr = ip_addr + + @property + def type(self): + """Gets the type of this StreamingVideoServerRecord. # noqa: E501 + + + :return: The type of this StreamingVideoServerRecord. # noqa: E501 + :rtype: StreamingVideoType + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this StreamingVideoServerRecord. + + + :param type: The type of this StreamingVideoServerRecord. # noqa: E501 + :type: StreamingVideoType + """ + + self._type = type + + @property + def created_timestamp(self): + """Gets the created_timestamp of this StreamingVideoServerRecord. # noqa: E501 + + + :return: The created_timestamp of this StreamingVideoServerRecord. # noqa: E501 + :rtype: int + """ + return self._created_timestamp + + @created_timestamp.setter + def created_timestamp(self, created_timestamp): + """Sets the created_timestamp of this StreamingVideoServerRecord. + + + :param created_timestamp: The created_timestamp of this StreamingVideoServerRecord. # noqa: E501 + :type: int + """ + + self._created_timestamp = created_timestamp + + @property + def last_modified_timestamp(self): + """Gets the last_modified_timestamp of this StreamingVideoServerRecord. # noqa: E501 + + + :return: The last_modified_timestamp of this StreamingVideoServerRecord. # noqa: E501 + :rtype: int + """ + return self._last_modified_timestamp + + @last_modified_timestamp.setter + def last_modified_timestamp(self, last_modified_timestamp): + """Sets the last_modified_timestamp of this StreamingVideoServerRecord. + + + :param last_modified_timestamp: The last_modified_timestamp of this StreamingVideoServerRecord. # noqa: E501 + :type: int + """ + + self._last_modified_timestamp = last_modified_timestamp + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(StreamingVideoServerRecord, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, StreamingVideoServerRecord): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/streaming_video_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/streaming_video_type.py new file mode 100644 index 000000000..63369e75e --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/streaming_video_type.py @@ -0,0 +1,93 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class StreamingVideoType(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + UNKNOWN = "UNKNOWN" + NETFLIX = "NETFLIX" + YOUTUBE = "YOUTUBE" + PLEX = "PLEX" + UNSUPPORTED = "UNSUPPORTED" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """StreamingVideoType - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(StreamingVideoType, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, StreamingVideoType): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/syslog_relay.py b/libs/cloudapi/cloudsdk/swagger_client/models/syslog_relay.py new file mode 100644 index 000000000..34d8689e3 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/syslog_relay.py @@ -0,0 +1,188 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class SyslogRelay(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'enabled': 'bool', + 'srv_host_ip': 'str', + 'srv_host_port': 'int', + 'severity': 'SyslogSeverityType' + } + + attribute_map = { + 'enabled': 'enabled', + 'srv_host_ip': 'srvHostIp', + 'srv_host_port': 'srvHostPort', + 'severity': 'severity' + } + + def __init__(self, enabled=None, srv_host_ip=None, srv_host_port=None, severity=None): # noqa: E501 + """SyslogRelay - a model defined in Swagger""" # noqa: E501 + self._enabled = None + self._srv_host_ip = None + self._srv_host_port = None + self._severity = None + self.discriminator = None + if enabled is not None: + self.enabled = enabled + if srv_host_ip is not None: + self.srv_host_ip = srv_host_ip + if srv_host_port is not None: + self.srv_host_port = srv_host_port + if severity is not None: + self.severity = severity + + @property + def enabled(self): + """Gets the enabled of this SyslogRelay. # noqa: E501 + + + :return: The enabled of this SyslogRelay. # noqa: E501 + :rtype: bool + """ + return self._enabled + + @enabled.setter + def enabled(self, enabled): + """Sets the enabled of this SyslogRelay. + + + :param enabled: The enabled of this SyslogRelay. # noqa: E501 + :type: bool + """ + + self._enabled = enabled + + @property + def srv_host_ip(self): + """Gets the srv_host_ip of this SyslogRelay. # noqa: E501 + + + :return: The srv_host_ip of this SyslogRelay. # noqa: E501 + :rtype: str + """ + return self._srv_host_ip + + @srv_host_ip.setter + def srv_host_ip(self, srv_host_ip): + """Sets the srv_host_ip of this SyslogRelay. + + + :param srv_host_ip: The srv_host_ip of this SyslogRelay. # noqa: E501 + :type: str + """ + + self._srv_host_ip = srv_host_ip + + @property + def srv_host_port(self): + """Gets the srv_host_port of this SyslogRelay. # noqa: E501 + + + :return: The srv_host_port of this SyslogRelay. # noqa: E501 + :rtype: int + """ + return self._srv_host_port + + @srv_host_port.setter + def srv_host_port(self, srv_host_port): + """Sets the srv_host_port of this SyslogRelay. + + + :param srv_host_port: The srv_host_port of this SyslogRelay. # noqa: E501 + :type: int + """ + + self._srv_host_port = srv_host_port + + @property + def severity(self): + """Gets the severity of this SyslogRelay. # noqa: E501 + + + :return: The severity of this SyslogRelay. # noqa: E501 + :rtype: SyslogSeverityType + """ + return self._severity + + @severity.setter + def severity(self, severity): + """Sets the severity of this SyslogRelay. + + + :param severity: The severity of this SyslogRelay. # noqa: E501 + :type: SyslogSeverityType + """ + + self._severity = severity + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(SyslogRelay, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, SyslogRelay): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/syslog_severity_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/syslog_severity_type.py new file mode 100644 index 000000000..1cb5e6359 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/syslog_severity_type.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class SyslogSeverityType(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + EMERG = "EMERG" + ALERT = "ALERT" + CRIT = "CRIT" + ERR = "ERR" + WARING = "WARING" + NOTICE = "NOTICE" + INFO = "INFO" + DEBUG = "DEBUG" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """SyslogSeverityType - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(SyslogSeverityType, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, SyslogSeverityType): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/system_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/system_event.py new file mode 100644 index 000000000..bce371eca --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/system_event.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class SystemEvent(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + discriminator_value_class_map = { + } + + def __init__(self): # noqa: E501 + """SystemEvent - a model defined in Swagger""" # noqa: E501 + self.discriminator = 'model_type' + + def get_real_child_model(self, data): + """Returns the real base class specified by the discriminator""" + discriminator_value = data[self.discriminator].lower() + return self.discriminator_value_class_map.get(discriminator_value) + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(SystemEvent, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, SystemEvent): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/system_event_data_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/system_event_data_type.py new file mode 100644 index 000000000..9f9ec582a --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/system_event_data_type.py @@ -0,0 +1,148 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class SystemEventDataType(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + GATEWAYADDEDEVENT = "GatewayAddedEvent" + GATEWAYCHANGEDEVENT = "GatewayChangedEvent" + GATEWAYREMOVEDEVENT = "GatewayRemovedEvent" + CLIENTADDEDEVENT = "ClientAddedEvent" + CLIENTCHANGEDEVENT = "ClientChangedEvent" + CLIENTREMOVEDEVENT = "ClientRemovedEvent" + CUSTOMERADDEDEVENT = "CustomerAddedEvent" + CUSTOMERCHANGEDEVENT = "CustomerChangedEvent" + CUSTOMERREMOVEDEVENT = "CustomerRemovedEvent" + FIRMWAREADDEDEVENT = "FirmwareAddedEvent" + FIRMWARECHANGEDEVENT = "FirmwareChangedEvent" + FIRMWAREREMOVEDEVENT = "FirmwareRemovedEvent" + LOCATIONADDEDEVENT = "LocationAddedEvent" + LOCATIONCHANGEDEVENT = "LocationChangedEvent" + LOCATIONREMOVEDEVENT = "LocationRemovedEvent" + PORTALUSERADDEDEVENT = "PortalUserAddedEvent" + PORTALUSERCHANGEDEVENT = "PortalUserChangedEvent" + PORTALUSERREMOVEDEVENT = "PortalUserRemovedEvent" + PROFILEADDEDEVENT = "ProfileAddedEvent" + PROFILECHANGEDEVENT = "ProfileChangedEvent" + PROFILEREMOVEDEVENT = "ProfileRemovedEvent" + ROUTINGADDEDEVENT = "RoutingAddedEvent" + ROUTINGCHANGEDEVENT = "RoutingChangedEvent" + ROUTINGREMOVEDEVENT = "RoutingRemovedEvent" + ALARMADDEDEVENT = "AlarmAddedEvent" + ALARMCHANGEDEVENT = "AlarmChangedEvent" + ALARMREMOVEDEVENT = "AlarmRemovedEvent" + CLIENTSESSIONADDEDEVENT = "ClientSessionAddedEvent" + CLIENTSESSIONCHANGEDEVENT = "ClientSessionChangedEvent" + CLIENTSESSIONREMOVEDEVENT = "ClientSessionRemovedEvent" + EQUIPMENTADDEDEVENT = "EquipmentAddedEvent" + EQUIPMENTCHANGEDEVENT = "EquipmentChangedEvent" + EQUIPMENTREMOVEDEVENT = "EquipmentRemovedEvent" + STATUSCHANGEDEVENT = "StatusChangedEvent" + STATUSREMOVEDEVENT = "StatusRemovedEvent" + DHCPACKEVENT = "DhcpAckEvent" + DHCPNAKEVENT = "DhcpNakEvent" + DHCPDECLINEEVENT = "DhcpDeclineEvent" + DHCPDISCOVEREVENT = "DhcpDiscoverEvent" + DHCPINFORMEVENT = "DhcpInformEvent" + DHCPOFFEREVENT = "DhcpOfferEvent" + DHCPREQUESTEVENT = "DhcpRequestEvent" + CLIENTASSOCEVENT = "ClientAssocEvent" + CLIENTCONNECTSUCCESSEVENT = "ClientConnectSuccessEvent" + CLIENTFAILUREEVENT = "ClientFailureEvent" + CLIENTIDEVENT = "ClientIdEvent" + CLIENTTIMEOUTEVENT = "ClientTimeoutEvent" + CLIENTAUTHEVENT = "ClientAuthEvent" + CLIENTDISCONNECTEVENT = "ClientDisconnectEvent" + CLIENTFIRSTDATAEVENT = "ClientFirstDataEvent" + CLIENTIPADDRESSEVENT = "ClientIpAddressEvent" + REALTIMECHANNELHOPEVENT = "RealTimeChannelHopEvent" + REALTIMESIPCALLEVENTWITHSTATS = "RealTimeSipCallEventWithStats" + REALTIMESIPCALLREPORTEVENT = "RealTimeSipCallReportEvent" + REALTIMESIPCALLSTARTEVENT = "RealTimeSipCallStartEvent" + REALTIMESIPCALLSTOPEVENT = "RealTimeSipCallStopEvent" + REALTIMESTREAMINGSTARTEVENT = "RealTimeStreamingStartEvent" + REALTIMESTREAMINGSTARTSESSIONEVENT = "RealTimeStreamingStartSessionEvent" + REALTIMESTREAMINGSTOPEVENT = "RealTimeStreamingStopEvent" + UNSERIALIZABLESYSTEMEVENT = "UnserializableSystemEvent" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """SystemEventDataType - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(SystemEventDataType, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, SystemEventDataType): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/system_event_record.py b/libs/cloudapi/cloudsdk/swagger_client/models/system_event_record.py new file mode 100644 index 000000000..209880a2a --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/system_event_record.py @@ -0,0 +1,294 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class SystemEventRecord(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'customer_id': 'int', + 'location_id': 'int', + 'equipment_id': 'int', + 'client_mac': 'int', + 'client_mac_address': 'MacAddress', + 'data_type': 'SystemEventDataType', + 'event_timestamp': 'int', + 'details': 'SystemEvent' + } + + attribute_map = { + 'customer_id': 'customerId', + 'location_id': 'locationId', + 'equipment_id': 'equipmentId', + 'client_mac': 'clientMac', + 'client_mac_address': 'clientMacAddress', + 'data_type': 'dataType', + 'event_timestamp': 'eventTimestamp', + 'details': 'details' + } + + def __init__(self, customer_id=None, location_id=None, equipment_id=None, client_mac=None, client_mac_address=None, data_type=None, event_timestamp=None, details=None): # noqa: E501 + """SystemEventRecord - a model defined in Swagger""" # noqa: E501 + self._customer_id = None + self._location_id = None + self._equipment_id = None + self._client_mac = None + self._client_mac_address = None + self._data_type = None + self._event_timestamp = None + self._details = None + self.discriminator = None + if customer_id is not None: + self.customer_id = customer_id + if location_id is not None: + self.location_id = location_id + if equipment_id is not None: + self.equipment_id = equipment_id + if client_mac is not None: + self.client_mac = client_mac + if client_mac_address is not None: + self.client_mac_address = client_mac_address + if data_type is not None: + self.data_type = data_type + if event_timestamp is not None: + self.event_timestamp = event_timestamp + if details is not None: + self.details = details + + @property + def customer_id(self): + """Gets the customer_id of this SystemEventRecord. # noqa: E501 + + + :return: The customer_id of this SystemEventRecord. # noqa: E501 + :rtype: int + """ + return self._customer_id + + @customer_id.setter + def customer_id(self, customer_id): + """Sets the customer_id of this SystemEventRecord. + + + :param customer_id: The customer_id of this SystemEventRecord. # noqa: E501 + :type: int + """ + + self._customer_id = customer_id + + @property + def location_id(self): + """Gets the location_id of this SystemEventRecord. # noqa: E501 + + + :return: The location_id of this SystemEventRecord. # noqa: E501 + :rtype: int + """ + return self._location_id + + @location_id.setter + def location_id(self, location_id): + """Sets the location_id of this SystemEventRecord. + + + :param location_id: The location_id of this SystemEventRecord. # noqa: E501 + :type: int + """ + + self._location_id = location_id + + @property + def equipment_id(self): + """Gets the equipment_id of this SystemEventRecord. # noqa: E501 + + + :return: The equipment_id of this SystemEventRecord. # noqa: E501 + :rtype: int + """ + return self._equipment_id + + @equipment_id.setter + def equipment_id(self, equipment_id): + """Sets the equipment_id of this SystemEventRecord. + + + :param equipment_id: The equipment_id of this SystemEventRecord. # noqa: E501 + :type: int + """ + + self._equipment_id = equipment_id + + @property + def client_mac(self): + """Gets the client_mac of this SystemEventRecord. # noqa: E501 + + int64 representation of the client MAC address, used internally for storage and indexing # noqa: E501 + + :return: The client_mac of this SystemEventRecord. # noqa: E501 + :rtype: int + """ + return self._client_mac + + @client_mac.setter + def client_mac(self, client_mac): + """Sets the client_mac of this SystemEventRecord. + + int64 representation of the client MAC address, used internally for storage and indexing # noqa: E501 + + :param client_mac: The client_mac of this SystemEventRecord. # noqa: E501 + :type: int + """ + + self._client_mac = client_mac + + @property + def client_mac_address(self): + """Gets the client_mac_address of this SystemEventRecord. # noqa: E501 + + + :return: The client_mac_address of this SystemEventRecord. # noqa: E501 + :rtype: MacAddress + """ + return self._client_mac_address + + @client_mac_address.setter + def client_mac_address(self, client_mac_address): + """Sets the client_mac_address of this SystemEventRecord. + + + :param client_mac_address: The client_mac_address of this SystemEventRecord. # noqa: E501 + :type: MacAddress + """ + + self._client_mac_address = client_mac_address + + @property + def data_type(self): + """Gets the data_type of this SystemEventRecord. # noqa: E501 + + + :return: The data_type of this SystemEventRecord. # noqa: E501 + :rtype: SystemEventDataType + """ + return self._data_type + + @data_type.setter + def data_type(self, data_type): + """Sets the data_type of this SystemEventRecord. + + + :param data_type: The data_type of this SystemEventRecord. # noqa: E501 + :type: SystemEventDataType + """ + + self._data_type = data_type + + @property + def event_timestamp(self): + """Gets the event_timestamp of this SystemEventRecord. # noqa: E501 + + + :return: The event_timestamp of this SystemEventRecord. # noqa: E501 + :rtype: int + """ + return self._event_timestamp + + @event_timestamp.setter + def event_timestamp(self, event_timestamp): + """Sets the event_timestamp of this SystemEventRecord. + + + :param event_timestamp: The event_timestamp of this SystemEventRecord. # noqa: E501 + :type: int + """ + + self._event_timestamp = event_timestamp + + @property + def details(self): + """Gets the details of this SystemEventRecord. # noqa: E501 + + + :return: The details of this SystemEventRecord. # noqa: E501 + :rtype: SystemEvent + """ + return self._details + + @details.setter + def details(self, details): + """Sets the details of this SystemEventRecord. + + + :param details: The details of this SystemEventRecord. # noqa: E501 + :type: SystemEvent + """ + + self._details = details + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(SystemEventRecord, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, SystemEventRecord): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/timed_access_user_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/timed_access_user_details.py new file mode 100644 index 000000000..08e412ee4 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/timed_access_user_details.py @@ -0,0 +1,162 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class TimedAccessUserDetails(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'first_name': 'str', + 'last_name': 'str', + 'password_needs_reset': 'bool' + } + + attribute_map = { + 'first_name': 'firstName', + 'last_name': 'lastName', + 'password_needs_reset': 'passwordNeedsReset' + } + + def __init__(self, first_name=None, last_name=None, password_needs_reset=None): # noqa: E501 + """TimedAccessUserDetails - a model defined in Swagger""" # noqa: E501 + self._first_name = None + self._last_name = None + self._password_needs_reset = None + self.discriminator = None + if first_name is not None: + self.first_name = first_name + if last_name is not None: + self.last_name = last_name + if password_needs_reset is not None: + self.password_needs_reset = password_needs_reset + + @property + def first_name(self): + """Gets the first_name of this TimedAccessUserDetails. # noqa: E501 + + + :return: The first_name of this TimedAccessUserDetails. # noqa: E501 + :rtype: str + """ + return self._first_name + + @first_name.setter + def first_name(self, first_name): + """Sets the first_name of this TimedAccessUserDetails. + + + :param first_name: The first_name of this TimedAccessUserDetails. # noqa: E501 + :type: str + """ + + self._first_name = first_name + + @property + def last_name(self): + """Gets the last_name of this TimedAccessUserDetails. # noqa: E501 + + + :return: The last_name of this TimedAccessUserDetails. # noqa: E501 + :rtype: str + """ + return self._last_name + + @last_name.setter + def last_name(self, last_name): + """Sets the last_name of this TimedAccessUserDetails. + + + :param last_name: The last_name of this TimedAccessUserDetails. # noqa: E501 + :type: str + """ + + self._last_name = last_name + + @property + def password_needs_reset(self): + """Gets the password_needs_reset of this TimedAccessUserDetails. # noqa: E501 + + + :return: The password_needs_reset of this TimedAccessUserDetails. # noqa: E501 + :rtype: bool + """ + return self._password_needs_reset + + @password_needs_reset.setter + def password_needs_reset(self, password_needs_reset): + """Sets the password_needs_reset of this TimedAccessUserDetails. + + + :param password_needs_reset: The password_needs_reset of this TimedAccessUserDetails. # noqa: E501 + :type: bool + """ + + self._password_needs_reset = password_needs_reset + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(TimedAccessUserDetails, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, TimedAccessUserDetails): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/timed_access_user_record.py b/libs/cloudapi/cloudsdk/swagger_client/models/timed_access_user_record.py new file mode 100644 index 000000000..543f74562 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/timed_access_user_record.py @@ -0,0 +1,292 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class TimedAccessUserRecord(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'username': 'str', + 'password': 'str', + 'activation_time': 'int', + 'expiration_time': 'int', + 'num_devices': 'int', + 'user_details': 'TimedAccessUserDetails', + 'user_mac_addresses': 'list[MacAddress]', + 'last_modified_timestamp': 'int' + } + + attribute_map = { + 'username': 'username', + 'password': 'password', + 'activation_time': 'activationTime', + 'expiration_time': 'expirationTime', + 'num_devices': 'numDevices', + 'user_details': 'userDetails', + 'user_mac_addresses': 'userMacAddresses', + 'last_modified_timestamp': 'lastModifiedTimestamp' + } + + def __init__(self, username=None, password=None, activation_time=None, expiration_time=None, num_devices=None, user_details=None, user_mac_addresses=None, last_modified_timestamp=None): # noqa: E501 + """TimedAccessUserRecord - a model defined in Swagger""" # noqa: E501 + self._username = None + self._password = None + self._activation_time = None + self._expiration_time = None + self._num_devices = None + self._user_details = None + self._user_mac_addresses = None + self._last_modified_timestamp = None + self.discriminator = None + if username is not None: + self.username = username + if password is not None: + self.password = password + if activation_time is not None: + self.activation_time = activation_time + if expiration_time is not None: + self.expiration_time = expiration_time + if num_devices is not None: + self.num_devices = num_devices + if user_details is not None: + self.user_details = user_details + if user_mac_addresses is not None: + self.user_mac_addresses = user_mac_addresses + if last_modified_timestamp is not None: + self.last_modified_timestamp = last_modified_timestamp + + @property + def username(self): + """Gets the username of this TimedAccessUserRecord. # noqa: E501 + + + :return: The username of this TimedAccessUserRecord. # noqa: E501 + :rtype: str + """ + return self._username + + @username.setter + def username(self, username): + """Sets the username of this TimedAccessUserRecord. + + + :param username: The username of this TimedAccessUserRecord. # noqa: E501 + :type: str + """ + + self._username = username + + @property + def password(self): + """Gets the password of this TimedAccessUserRecord. # noqa: E501 + + + :return: The password of this TimedAccessUserRecord. # noqa: E501 + :rtype: str + """ + return self._password + + @password.setter + def password(self, password): + """Sets the password of this TimedAccessUserRecord. + + + :param password: The password of this TimedAccessUserRecord. # noqa: E501 + :type: str + """ + + self._password = password + + @property + def activation_time(self): + """Gets the activation_time of this TimedAccessUserRecord. # noqa: E501 + + + :return: The activation_time of this TimedAccessUserRecord. # noqa: E501 + :rtype: int + """ + return self._activation_time + + @activation_time.setter + def activation_time(self, activation_time): + """Sets the activation_time of this TimedAccessUserRecord. + + + :param activation_time: The activation_time of this TimedAccessUserRecord. # noqa: E501 + :type: int + """ + + self._activation_time = activation_time + + @property + def expiration_time(self): + """Gets the expiration_time of this TimedAccessUserRecord. # noqa: E501 + + + :return: The expiration_time of this TimedAccessUserRecord. # noqa: E501 + :rtype: int + """ + return self._expiration_time + + @expiration_time.setter + def expiration_time(self, expiration_time): + """Sets the expiration_time of this TimedAccessUserRecord. + + + :param expiration_time: The expiration_time of this TimedAccessUserRecord. # noqa: E501 + :type: int + """ + + self._expiration_time = expiration_time + + @property + def num_devices(self): + """Gets the num_devices of this TimedAccessUserRecord. # noqa: E501 + + + :return: The num_devices of this TimedAccessUserRecord. # noqa: E501 + :rtype: int + """ + return self._num_devices + + @num_devices.setter + def num_devices(self, num_devices): + """Sets the num_devices of this TimedAccessUserRecord. + + + :param num_devices: The num_devices of this TimedAccessUserRecord. # noqa: E501 + :type: int + """ + + self._num_devices = num_devices + + @property + def user_details(self): + """Gets the user_details of this TimedAccessUserRecord. # noqa: E501 + + + :return: The user_details of this TimedAccessUserRecord. # noqa: E501 + :rtype: TimedAccessUserDetails + """ + return self._user_details + + @user_details.setter + def user_details(self, user_details): + """Sets the user_details of this TimedAccessUserRecord. + + + :param user_details: The user_details of this TimedAccessUserRecord. # noqa: E501 + :type: TimedAccessUserDetails + """ + + self._user_details = user_details + + @property + def user_mac_addresses(self): + """Gets the user_mac_addresses of this TimedAccessUserRecord. # noqa: E501 + + + :return: The user_mac_addresses of this TimedAccessUserRecord. # noqa: E501 + :rtype: list[MacAddress] + """ + return self._user_mac_addresses + + @user_mac_addresses.setter + def user_mac_addresses(self, user_mac_addresses): + """Sets the user_mac_addresses of this TimedAccessUserRecord. + + + :param user_mac_addresses: The user_mac_addresses of this TimedAccessUserRecord. # noqa: E501 + :type: list[MacAddress] + """ + + self._user_mac_addresses = user_mac_addresses + + @property + def last_modified_timestamp(self): + """Gets the last_modified_timestamp of this TimedAccessUserRecord. # noqa: E501 + + + :return: The last_modified_timestamp of this TimedAccessUserRecord. # noqa: E501 + :rtype: int + """ + return self._last_modified_timestamp + + @last_modified_timestamp.setter + def last_modified_timestamp(self, last_modified_timestamp): + """Sets the last_modified_timestamp of this TimedAccessUserRecord. + + + :param last_modified_timestamp: The last_modified_timestamp of this TimedAccessUserRecord. # noqa: E501 + :type: int + """ + + self._last_modified_timestamp = last_modified_timestamp + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(TimedAccessUserRecord, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, TimedAccessUserRecord): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/track_flag.py b/libs/cloudapi/cloudsdk/swagger_client/models/track_flag.py new file mode 100644 index 000000000..73c821015 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/track_flag.py @@ -0,0 +1,91 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class TrackFlag(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + ALWAYS = "ALWAYS" + NEVER = "NEVER" + DEFAULT = "DEFAULT" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """TrackFlag - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(TrackFlag, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, TrackFlag): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/traffic_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/traffic_details.py new file mode 100644 index 000000000..7b3ebc510 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/traffic_details.py @@ -0,0 +1,162 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class TrafficDetails(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'per_radio_details': 'TrafficPerRadioDetailsPerRadioTypeMap', + 'indicator_value_rx_mbps': 'float', + 'indicator_value_tx_mbps': 'float' + } + + attribute_map = { + 'per_radio_details': 'perRadioDetails', + 'indicator_value_rx_mbps': 'indicatorValueRxMbps', + 'indicator_value_tx_mbps': 'indicatorValueTxMbps' + } + + def __init__(self, per_radio_details=None, indicator_value_rx_mbps=None, indicator_value_tx_mbps=None): # noqa: E501 + """TrafficDetails - a model defined in Swagger""" # noqa: E501 + self._per_radio_details = None + self._indicator_value_rx_mbps = None + self._indicator_value_tx_mbps = None + self.discriminator = None + if per_radio_details is not None: + self.per_radio_details = per_radio_details + if indicator_value_rx_mbps is not None: + self.indicator_value_rx_mbps = indicator_value_rx_mbps + if indicator_value_tx_mbps is not None: + self.indicator_value_tx_mbps = indicator_value_tx_mbps + + @property + def per_radio_details(self): + """Gets the per_radio_details of this TrafficDetails. # noqa: E501 + + + :return: The per_radio_details of this TrafficDetails. # noqa: E501 + :rtype: TrafficPerRadioDetailsPerRadioTypeMap + """ + return self._per_radio_details + + @per_radio_details.setter + def per_radio_details(self, per_radio_details): + """Sets the per_radio_details of this TrafficDetails. + + + :param per_radio_details: The per_radio_details of this TrafficDetails. # noqa: E501 + :type: TrafficPerRadioDetailsPerRadioTypeMap + """ + + self._per_radio_details = per_radio_details + + @property + def indicator_value_rx_mbps(self): + """Gets the indicator_value_rx_mbps of this TrafficDetails. # noqa: E501 + + + :return: The indicator_value_rx_mbps of this TrafficDetails. # noqa: E501 + :rtype: float + """ + return self._indicator_value_rx_mbps + + @indicator_value_rx_mbps.setter + def indicator_value_rx_mbps(self, indicator_value_rx_mbps): + """Sets the indicator_value_rx_mbps of this TrafficDetails. + + + :param indicator_value_rx_mbps: The indicator_value_rx_mbps of this TrafficDetails. # noqa: E501 + :type: float + """ + + self._indicator_value_rx_mbps = indicator_value_rx_mbps + + @property + def indicator_value_tx_mbps(self): + """Gets the indicator_value_tx_mbps of this TrafficDetails. # noqa: E501 + + + :return: The indicator_value_tx_mbps of this TrafficDetails. # noqa: E501 + :rtype: float + """ + return self._indicator_value_tx_mbps + + @indicator_value_tx_mbps.setter + def indicator_value_tx_mbps(self, indicator_value_tx_mbps): + """Sets the indicator_value_tx_mbps of this TrafficDetails. + + + :param indicator_value_tx_mbps: The indicator_value_tx_mbps of this TrafficDetails. # noqa: E501 + :type: float + """ + + self._indicator_value_tx_mbps = indicator_value_tx_mbps + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(TrafficDetails, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, TrafficDetails): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/traffic_per_radio_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/traffic_per_radio_details.py new file mode 100644 index 000000000..94b5fd38e --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/traffic_per_radio_details.py @@ -0,0 +1,396 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class TrafficPerRadioDetails(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'min_rx_mbps': 'float', + 'max_rx_mbps': 'float', + 'avg_rx_mbps': 'float', + 'total_rx_mbps': 'float', + 'min_tx_mbps': 'float', + 'max_tx_mbps': 'float', + 'avg_tx_mbps': 'float', + 'total_tx_mbps': 'float', + 'num_good_equipment': 'int', + 'num_warn_equipment': 'int', + 'num_bad_equipment': 'int', + 'total_aps_reported': 'int' + } + + attribute_map = { + 'min_rx_mbps': 'minRxMbps', + 'max_rx_mbps': 'maxRxMbps', + 'avg_rx_mbps': 'avgRxMbps', + 'total_rx_mbps': 'totalRxMbps', + 'min_tx_mbps': 'minTxMbps', + 'max_tx_mbps': 'maxTxMbps', + 'avg_tx_mbps': 'avgTxMbps', + 'total_tx_mbps': 'totalTxMbps', + 'num_good_equipment': 'numGoodEquipment', + 'num_warn_equipment': 'numWarnEquipment', + 'num_bad_equipment': 'numBadEquipment', + 'total_aps_reported': 'totalApsReported' + } + + def __init__(self, min_rx_mbps=None, max_rx_mbps=None, avg_rx_mbps=None, total_rx_mbps=None, min_tx_mbps=None, max_tx_mbps=None, avg_tx_mbps=None, total_tx_mbps=None, num_good_equipment=None, num_warn_equipment=None, num_bad_equipment=None, total_aps_reported=None): # noqa: E501 + """TrafficPerRadioDetails - a model defined in Swagger""" # noqa: E501 + self._min_rx_mbps = None + self._max_rx_mbps = None + self._avg_rx_mbps = None + self._total_rx_mbps = None + self._min_tx_mbps = None + self._max_tx_mbps = None + self._avg_tx_mbps = None + self._total_tx_mbps = None + self._num_good_equipment = None + self._num_warn_equipment = None + self._num_bad_equipment = None + self._total_aps_reported = None + self.discriminator = None + if min_rx_mbps is not None: + self.min_rx_mbps = min_rx_mbps + if max_rx_mbps is not None: + self.max_rx_mbps = max_rx_mbps + if avg_rx_mbps is not None: + self.avg_rx_mbps = avg_rx_mbps + if total_rx_mbps is not None: + self.total_rx_mbps = total_rx_mbps + if min_tx_mbps is not None: + self.min_tx_mbps = min_tx_mbps + if max_tx_mbps is not None: + self.max_tx_mbps = max_tx_mbps + if avg_tx_mbps is not None: + self.avg_tx_mbps = avg_tx_mbps + if total_tx_mbps is not None: + self.total_tx_mbps = total_tx_mbps + if num_good_equipment is not None: + self.num_good_equipment = num_good_equipment + if num_warn_equipment is not None: + self.num_warn_equipment = num_warn_equipment + if num_bad_equipment is not None: + self.num_bad_equipment = num_bad_equipment + if total_aps_reported is not None: + self.total_aps_reported = total_aps_reported + + @property + def min_rx_mbps(self): + """Gets the min_rx_mbps of this TrafficPerRadioDetails. # noqa: E501 + + + :return: The min_rx_mbps of this TrafficPerRadioDetails. # noqa: E501 + :rtype: float + """ + return self._min_rx_mbps + + @min_rx_mbps.setter + def min_rx_mbps(self, min_rx_mbps): + """Sets the min_rx_mbps of this TrafficPerRadioDetails. + + + :param min_rx_mbps: The min_rx_mbps of this TrafficPerRadioDetails. # noqa: E501 + :type: float + """ + + self._min_rx_mbps = min_rx_mbps + + @property + def max_rx_mbps(self): + """Gets the max_rx_mbps of this TrafficPerRadioDetails. # noqa: E501 + + + :return: The max_rx_mbps of this TrafficPerRadioDetails. # noqa: E501 + :rtype: float + """ + return self._max_rx_mbps + + @max_rx_mbps.setter + def max_rx_mbps(self, max_rx_mbps): + """Sets the max_rx_mbps of this TrafficPerRadioDetails. + + + :param max_rx_mbps: The max_rx_mbps of this TrafficPerRadioDetails. # noqa: E501 + :type: float + """ + + self._max_rx_mbps = max_rx_mbps + + @property + def avg_rx_mbps(self): + """Gets the avg_rx_mbps of this TrafficPerRadioDetails. # noqa: E501 + + + :return: The avg_rx_mbps of this TrafficPerRadioDetails. # noqa: E501 + :rtype: float + """ + return self._avg_rx_mbps + + @avg_rx_mbps.setter + def avg_rx_mbps(self, avg_rx_mbps): + """Sets the avg_rx_mbps of this TrafficPerRadioDetails. + + + :param avg_rx_mbps: The avg_rx_mbps of this TrafficPerRadioDetails. # noqa: E501 + :type: float + """ + + self._avg_rx_mbps = avg_rx_mbps + + @property + def total_rx_mbps(self): + """Gets the total_rx_mbps of this TrafficPerRadioDetails. # noqa: E501 + + + :return: The total_rx_mbps of this TrafficPerRadioDetails. # noqa: E501 + :rtype: float + """ + return self._total_rx_mbps + + @total_rx_mbps.setter + def total_rx_mbps(self, total_rx_mbps): + """Sets the total_rx_mbps of this TrafficPerRadioDetails. + + + :param total_rx_mbps: The total_rx_mbps of this TrafficPerRadioDetails. # noqa: E501 + :type: float + """ + + self._total_rx_mbps = total_rx_mbps + + @property + def min_tx_mbps(self): + """Gets the min_tx_mbps of this TrafficPerRadioDetails. # noqa: E501 + + + :return: The min_tx_mbps of this TrafficPerRadioDetails. # noqa: E501 + :rtype: float + """ + return self._min_tx_mbps + + @min_tx_mbps.setter + def min_tx_mbps(self, min_tx_mbps): + """Sets the min_tx_mbps of this TrafficPerRadioDetails. + + + :param min_tx_mbps: The min_tx_mbps of this TrafficPerRadioDetails. # noqa: E501 + :type: float + """ + + self._min_tx_mbps = min_tx_mbps + + @property + def max_tx_mbps(self): + """Gets the max_tx_mbps of this TrafficPerRadioDetails. # noqa: E501 + + + :return: The max_tx_mbps of this TrafficPerRadioDetails. # noqa: E501 + :rtype: float + """ + return self._max_tx_mbps + + @max_tx_mbps.setter + def max_tx_mbps(self, max_tx_mbps): + """Sets the max_tx_mbps of this TrafficPerRadioDetails. + + + :param max_tx_mbps: The max_tx_mbps of this TrafficPerRadioDetails. # noqa: E501 + :type: float + """ + + self._max_tx_mbps = max_tx_mbps + + @property + def avg_tx_mbps(self): + """Gets the avg_tx_mbps of this TrafficPerRadioDetails. # noqa: E501 + + + :return: The avg_tx_mbps of this TrafficPerRadioDetails. # noqa: E501 + :rtype: float + """ + return self._avg_tx_mbps + + @avg_tx_mbps.setter + def avg_tx_mbps(self, avg_tx_mbps): + """Sets the avg_tx_mbps of this TrafficPerRadioDetails. + + + :param avg_tx_mbps: The avg_tx_mbps of this TrafficPerRadioDetails. # noqa: E501 + :type: float + """ + + self._avg_tx_mbps = avg_tx_mbps + + @property + def total_tx_mbps(self): + """Gets the total_tx_mbps of this TrafficPerRadioDetails. # noqa: E501 + + + :return: The total_tx_mbps of this TrafficPerRadioDetails. # noqa: E501 + :rtype: float + """ + return self._total_tx_mbps + + @total_tx_mbps.setter + def total_tx_mbps(self, total_tx_mbps): + """Sets the total_tx_mbps of this TrafficPerRadioDetails. + + + :param total_tx_mbps: The total_tx_mbps of this TrafficPerRadioDetails. # noqa: E501 + :type: float + """ + + self._total_tx_mbps = total_tx_mbps + + @property + def num_good_equipment(self): + """Gets the num_good_equipment of this TrafficPerRadioDetails. # noqa: E501 + + + :return: The num_good_equipment of this TrafficPerRadioDetails. # noqa: E501 + :rtype: int + """ + return self._num_good_equipment + + @num_good_equipment.setter + def num_good_equipment(self, num_good_equipment): + """Sets the num_good_equipment of this TrafficPerRadioDetails. + + + :param num_good_equipment: The num_good_equipment of this TrafficPerRadioDetails. # noqa: E501 + :type: int + """ + + self._num_good_equipment = num_good_equipment + + @property + def num_warn_equipment(self): + """Gets the num_warn_equipment of this TrafficPerRadioDetails. # noqa: E501 + + + :return: The num_warn_equipment of this TrafficPerRadioDetails. # noqa: E501 + :rtype: int + """ + return self._num_warn_equipment + + @num_warn_equipment.setter + def num_warn_equipment(self, num_warn_equipment): + """Sets the num_warn_equipment of this TrafficPerRadioDetails. + + + :param num_warn_equipment: The num_warn_equipment of this TrafficPerRadioDetails. # noqa: E501 + :type: int + """ + + self._num_warn_equipment = num_warn_equipment + + @property + def num_bad_equipment(self): + """Gets the num_bad_equipment of this TrafficPerRadioDetails. # noqa: E501 + + + :return: The num_bad_equipment of this TrafficPerRadioDetails. # noqa: E501 + :rtype: int + """ + return self._num_bad_equipment + + @num_bad_equipment.setter + def num_bad_equipment(self, num_bad_equipment): + """Sets the num_bad_equipment of this TrafficPerRadioDetails. + + + :param num_bad_equipment: The num_bad_equipment of this TrafficPerRadioDetails. # noqa: E501 + :type: int + """ + + self._num_bad_equipment = num_bad_equipment + + @property + def total_aps_reported(self): + """Gets the total_aps_reported of this TrafficPerRadioDetails. # noqa: E501 + + + :return: The total_aps_reported of this TrafficPerRadioDetails. # noqa: E501 + :rtype: int + """ + return self._total_aps_reported + + @total_aps_reported.setter + def total_aps_reported(self, total_aps_reported): + """Sets the total_aps_reported of this TrafficPerRadioDetails. + + + :param total_aps_reported: The total_aps_reported of this TrafficPerRadioDetails. # noqa: E501 + :type: int + """ + + self._total_aps_reported = total_aps_reported + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(TrafficPerRadioDetails, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, TrafficPerRadioDetails): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/traffic_per_radio_details_per_radio_type_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/traffic_per_radio_details_per_radio_type_map.py new file mode 100644 index 000000000..1bd43dfdb --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/traffic_per_radio_details_per_radio_type_map.py @@ -0,0 +1,188 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class TrafficPerRadioDetailsPerRadioTypeMap(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'is5_g_hz': 'TrafficPerRadioDetails', + 'is5_g_hz_u': 'TrafficPerRadioDetails', + 'is5_g_hz_l': 'TrafficPerRadioDetails', + 'is2dot4_g_hz': 'TrafficPerRadioDetails' + } + + attribute_map = { + 'is5_g_hz': 'is5GHz', + 'is5_g_hz_u': 'is5GHzU', + 'is5_g_hz_l': 'is5GHzL', + 'is2dot4_g_hz': 'is2dot4GHz' + } + + def __init__(self, is5_g_hz=None, is5_g_hz_u=None, is5_g_hz_l=None, is2dot4_g_hz=None): # noqa: E501 + """TrafficPerRadioDetailsPerRadioTypeMap - a model defined in Swagger""" # noqa: E501 + self._is5_g_hz = None + self._is5_g_hz_u = None + self._is5_g_hz_l = None + self._is2dot4_g_hz = None + self.discriminator = None + if is5_g_hz is not None: + self.is5_g_hz = is5_g_hz + if is5_g_hz_u is not None: + self.is5_g_hz_u = is5_g_hz_u + if is5_g_hz_l is not None: + self.is5_g_hz_l = is5_g_hz_l + if is2dot4_g_hz is not None: + self.is2dot4_g_hz = is2dot4_g_hz + + @property + def is5_g_hz(self): + """Gets the is5_g_hz of this TrafficPerRadioDetailsPerRadioTypeMap. # noqa: E501 + + + :return: The is5_g_hz of this TrafficPerRadioDetailsPerRadioTypeMap. # noqa: E501 + :rtype: TrafficPerRadioDetails + """ + return self._is5_g_hz + + @is5_g_hz.setter + def is5_g_hz(self, is5_g_hz): + """Sets the is5_g_hz of this TrafficPerRadioDetailsPerRadioTypeMap. + + + :param is5_g_hz: The is5_g_hz of this TrafficPerRadioDetailsPerRadioTypeMap. # noqa: E501 + :type: TrafficPerRadioDetails + """ + + self._is5_g_hz = is5_g_hz + + @property + def is5_g_hz_u(self): + """Gets the is5_g_hz_u of this TrafficPerRadioDetailsPerRadioTypeMap. # noqa: E501 + + + :return: The is5_g_hz_u of this TrafficPerRadioDetailsPerRadioTypeMap. # noqa: E501 + :rtype: TrafficPerRadioDetails + """ + return self._is5_g_hz_u + + @is5_g_hz_u.setter + def is5_g_hz_u(self, is5_g_hz_u): + """Sets the is5_g_hz_u of this TrafficPerRadioDetailsPerRadioTypeMap. + + + :param is5_g_hz_u: The is5_g_hz_u of this TrafficPerRadioDetailsPerRadioTypeMap. # noqa: E501 + :type: TrafficPerRadioDetails + """ + + self._is5_g_hz_u = is5_g_hz_u + + @property + def is5_g_hz_l(self): + """Gets the is5_g_hz_l of this TrafficPerRadioDetailsPerRadioTypeMap. # noqa: E501 + + + :return: The is5_g_hz_l of this TrafficPerRadioDetailsPerRadioTypeMap. # noqa: E501 + :rtype: TrafficPerRadioDetails + """ + return self._is5_g_hz_l + + @is5_g_hz_l.setter + def is5_g_hz_l(self, is5_g_hz_l): + """Sets the is5_g_hz_l of this TrafficPerRadioDetailsPerRadioTypeMap. + + + :param is5_g_hz_l: The is5_g_hz_l of this TrafficPerRadioDetailsPerRadioTypeMap. # noqa: E501 + :type: TrafficPerRadioDetails + """ + + self._is5_g_hz_l = is5_g_hz_l + + @property + def is2dot4_g_hz(self): + """Gets the is2dot4_g_hz of this TrafficPerRadioDetailsPerRadioTypeMap. # noqa: E501 + + + :return: The is2dot4_g_hz of this TrafficPerRadioDetailsPerRadioTypeMap. # noqa: E501 + :rtype: TrafficPerRadioDetails + """ + return self._is2dot4_g_hz + + @is2dot4_g_hz.setter + def is2dot4_g_hz(self, is2dot4_g_hz): + """Sets the is2dot4_g_hz of this TrafficPerRadioDetailsPerRadioTypeMap. + + + :param is2dot4_g_hz: The is2dot4_g_hz of this TrafficPerRadioDetailsPerRadioTypeMap. # noqa: E501 + :type: TrafficPerRadioDetails + """ + + self._is2dot4_g_hz = is2dot4_g_hz + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(TrafficPerRadioDetailsPerRadioTypeMap, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, TrafficPerRadioDetailsPerRadioTypeMap): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/tunnel_indicator.py b/libs/cloudapi/cloudsdk/swagger_client/models/tunnel_indicator.py new file mode 100644 index 000000000..8caa5759a --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/tunnel_indicator.py @@ -0,0 +1,91 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class TunnelIndicator(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + NO = "no" + PRIMARY = "primary" + SECONDARY = "secondary" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """TunnelIndicator - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(TunnelIndicator, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, TunnelIndicator): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/tunnel_metric_data.py b/libs/cloudapi/cloudsdk/swagger_client/models/tunnel_metric_data.py new file mode 100644 index 000000000..12e33bfb5 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/tunnel_metric_data.py @@ -0,0 +1,252 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class TunnelMetricData(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'ip_addr': 'str', + 'cfg_time': 'int', + 'up_time': 'int', + 'pings_sent': 'int', + 'pings_recvd': 'int', + 'active_tun': 'bool' + } + + attribute_map = { + 'ip_addr': 'ipAddr', + 'cfg_time': 'cfgTime', + 'up_time': 'upTime', + 'pings_sent': 'pingsSent', + 'pings_recvd': 'pingsRecvd', + 'active_tun': 'activeTun' + } + + def __init__(self, ip_addr=None, cfg_time=None, up_time=None, pings_sent=None, pings_recvd=None, active_tun=None): # noqa: E501 + """TunnelMetricData - a model defined in Swagger""" # noqa: E501 + self._ip_addr = None + self._cfg_time = None + self._up_time = None + self._pings_sent = None + self._pings_recvd = None + self._active_tun = None + self.discriminator = None + if ip_addr is not None: + self.ip_addr = ip_addr + if cfg_time is not None: + self.cfg_time = cfg_time + if up_time is not None: + self.up_time = up_time + if pings_sent is not None: + self.pings_sent = pings_sent + if pings_recvd is not None: + self.pings_recvd = pings_recvd + if active_tun is not None: + self.active_tun = active_tun + + @property + def ip_addr(self): + """Gets the ip_addr of this TunnelMetricData. # noqa: E501 + + IP address of tunnel peer # noqa: E501 + + :return: The ip_addr of this TunnelMetricData. # noqa: E501 + :rtype: str + """ + return self._ip_addr + + @ip_addr.setter + def ip_addr(self, ip_addr): + """Sets the ip_addr of this TunnelMetricData. + + IP address of tunnel peer # noqa: E501 + + :param ip_addr: The ip_addr of this TunnelMetricData. # noqa: E501 + :type: str + """ + + self._ip_addr = ip_addr + + @property + def cfg_time(self): + """Gets the cfg_time of this TunnelMetricData. # noqa: E501 + + number of seconds tunnel was configured # noqa: E501 + + :return: The cfg_time of this TunnelMetricData. # noqa: E501 + :rtype: int + """ + return self._cfg_time + + @cfg_time.setter + def cfg_time(self, cfg_time): + """Sets the cfg_time of this TunnelMetricData. + + number of seconds tunnel was configured # noqa: E501 + + :param cfg_time: The cfg_time of this TunnelMetricData. # noqa: E501 + :type: int + """ + + self._cfg_time = cfg_time + + @property + def up_time(self): + """Gets the up_time of this TunnelMetricData. # noqa: E501 + + number of seconds tunnel was up in current bin # noqa: E501 + + :return: The up_time of this TunnelMetricData. # noqa: E501 + :rtype: int + """ + return self._up_time + + @up_time.setter + def up_time(self, up_time): + """Sets the up_time of this TunnelMetricData. + + number of seconds tunnel was up in current bin # noqa: E501 + + :param up_time: The up_time of this TunnelMetricData. # noqa: E501 + :type: int + """ + + self._up_time = up_time + + @property + def pings_sent(self): + """Gets the pings_sent of this TunnelMetricData. # noqa: E501 + + number of 'ping' sent in the current bin in case tunnel was DOWN # noqa: E501 + + :return: The pings_sent of this TunnelMetricData. # noqa: E501 + :rtype: int + """ + return self._pings_sent + + @pings_sent.setter + def pings_sent(self, pings_sent): + """Sets the pings_sent of this TunnelMetricData. + + number of 'ping' sent in the current bin in case tunnel was DOWN # noqa: E501 + + :param pings_sent: The pings_sent of this TunnelMetricData. # noqa: E501 + :type: int + """ + + self._pings_sent = pings_sent + + @property + def pings_recvd(self): + """Gets the pings_recvd of this TunnelMetricData. # noqa: E501 + + number of 'ping' response received by peer in the current bin in case tunnel was DOWN # noqa: E501 + + :return: The pings_recvd of this TunnelMetricData. # noqa: E501 + :rtype: int + """ + return self._pings_recvd + + @pings_recvd.setter + def pings_recvd(self, pings_recvd): + """Sets the pings_recvd of this TunnelMetricData. + + number of 'ping' response received by peer in the current bin in case tunnel was DOWN # noqa: E501 + + :param pings_recvd: The pings_recvd of this TunnelMetricData. # noqa: E501 + :type: int + """ + + self._pings_recvd = pings_recvd + + @property + def active_tun(self): + """Gets the active_tun of this TunnelMetricData. # noqa: E501 + + Indicates if the current tunnel is the active one # noqa: E501 + + :return: The active_tun of this TunnelMetricData. # noqa: E501 + :rtype: bool + """ + return self._active_tun + + @active_tun.setter + def active_tun(self, active_tun): + """Sets the active_tun of this TunnelMetricData. + + Indicates if the current tunnel is the active one # noqa: E501 + + :param active_tun: The active_tun of this TunnelMetricData. # noqa: E501 + :type: bool + """ + + self._active_tun = active_tun + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(TunnelMetricData, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, TunnelMetricData): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/unserializable_system_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/unserializable_system_event.py new file mode 100644 index 000000000..df5e5dee9 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/unserializable_system_event.py @@ -0,0 +1,215 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class UnserializableSystemEvent(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'model_type': 'str', + 'event_timestamp': 'int', + 'customer_id': 'int', + 'equipment_id': 'int', + 'payload': 'str' + } + + attribute_map = { + 'model_type': 'model_type', + 'event_timestamp': 'eventTimestamp', + 'customer_id': 'customerId', + 'equipment_id': 'equipmentId', + 'payload': 'payload' + } + + def __init__(self, model_type=None, event_timestamp=None, customer_id=None, equipment_id=None, payload=None): # noqa: E501 + """UnserializableSystemEvent - a model defined in Swagger""" # noqa: E501 + self._model_type = None + self._event_timestamp = None + self._customer_id = None + self._equipment_id = None + self._payload = None + self.discriminator = None + self.model_type = model_type + if event_timestamp is not None: + self.event_timestamp = event_timestamp + if customer_id is not None: + self.customer_id = customer_id + if equipment_id is not None: + self.equipment_id = equipment_id + if payload is not None: + self.payload = payload + + @property + def model_type(self): + """Gets the model_type of this UnserializableSystemEvent. # noqa: E501 + + + :return: The model_type of this UnserializableSystemEvent. # noqa: E501 + :rtype: str + """ + return self._model_type + + @model_type.setter + def model_type(self, model_type): + """Sets the model_type of this UnserializableSystemEvent. + + + :param model_type: The model_type of this UnserializableSystemEvent. # noqa: E501 + :type: str + """ + if model_type is None: + raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 + + self._model_type = model_type + + @property + def event_timestamp(self): + """Gets the event_timestamp of this UnserializableSystemEvent. # noqa: E501 + + + :return: The event_timestamp of this UnserializableSystemEvent. # noqa: E501 + :rtype: int + """ + return self._event_timestamp + + @event_timestamp.setter + def event_timestamp(self, event_timestamp): + """Sets the event_timestamp of this UnserializableSystemEvent. + + + :param event_timestamp: The event_timestamp of this UnserializableSystemEvent. # noqa: E501 + :type: int + """ + + self._event_timestamp = event_timestamp + + @property + def customer_id(self): + """Gets the customer_id of this UnserializableSystemEvent. # noqa: E501 + + + :return: The customer_id of this UnserializableSystemEvent. # noqa: E501 + :rtype: int + """ + return self._customer_id + + @customer_id.setter + def customer_id(self, customer_id): + """Sets the customer_id of this UnserializableSystemEvent. + + + :param customer_id: The customer_id of this UnserializableSystemEvent. # noqa: E501 + :type: int + """ + + self._customer_id = customer_id + + @property + def equipment_id(self): + """Gets the equipment_id of this UnserializableSystemEvent. # noqa: E501 + + + :return: The equipment_id of this UnserializableSystemEvent. # noqa: E501 + :rtype: int + """ + return self._equipment_id + + @equipment_id.setter + def equipment_id(self, equipment_id): + """Sets the equipment_id of this UnserializableSystemEvent. + + + :param equipment_id: The equipment_id of this UnserializableSystemEvent. # noqa: E501 + :type: int + """ + + self._equipment_id = equipment_id + + @property + def payload(self): + """Gets the payload of this UnserializableSystemEvent. # noqa: E501 + + + :return: The payload of this UnserializableSystemEvent. # noqa: E501 + :rtype: str + """ + return self._payload + + @payload.setter + def payload(self, payload): + """Sets the payload of this UnserializableSystemEvent. + + + :param payload: The payload of this UnserializableSystemEvent. # noqa: E501 + :type: str + """ + + self._payload = payload + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(UnserializableSystemEvent, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, UnserializableSystemEvent): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/user_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/user_details.py new file mode 100644 index 000000000..975a63420 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/user_details.py @@ -0,0 +1,370 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class UserDetails(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'total_users': 'MinMaxAvgValueInt', + 'users_per_radio': 'MinMaxAvgValueIntPerRadioMap', + 'num_good_equipment': 'int', + 'num_warn_equipment': 'int', + 'num_bad_equipment': 'int', + 'user_device_per_manufacturer_counts': 'IntegerValueMap', + 'total_aps_reported': 'int', + 'indicator_value': 'int', + 'indicator_value_per_radio': 'IntegerPerRadioTypeMap', + 'link_quality_per_radio': 'LinkQualityAggregatedStatsPerRadioTypeMap', + 'client_activity_per_radio': 'ClientActivityAggregatedStatsPerRadioTypeMap' + } + + attribute_map = { + 'total_users': 'totalUsers', + 'users_per_radio': 'usersPerRadio', + 'num_good_equipment': 'numGoodEquipment', + 'num_warn_equipment': 'numWarnEquipment', + 'num_bad_equipment': 'numBadEquipment', + 'user_device_per_manufacturer_counts': 'userDevicePerManufacturerCounts', + 'total_aps_reported': 'totalApsReported', + 'indicator_value': 'indicatorValue', + 'indicator_value_per_radio': 'indicatorValuePerRadio', + 'link_quality_per_radio': 'linkQualityPerRadio', + 'client_activity_per_radio': 'clientActivityPerRadio' + } + + def __init__(self, total_users=None, users_per_radio=None, num_good_equipment=None, num_warn_equipment=None, num_bad_equipment=None, user_device_per_manufacturer_counts=None, total_aps_reported=None, indicator_value=None, indicator_value_per_radio=None, link_quality_per_radio=None, client_activity_per_radio=None): # noqa: E501 + """UserDetails - a model defined in Swagger""" # noqa: E501 + self._total_users = None + self._users_per_radio = None + self._num_good_equipment = None + self._num_warn_equipment = None + self._num_bad_equipment = None + self._user_device_per_manufacturer_counts = None + self._total_aps_reported = None + self._indicator_value = None + self._indicator_value_per_radio = None + self._link_quality_per_radio = None + self._client_activity_per_radio = None + self.discriminator = None + if total_users is not None: + self.total_users = total_users + if users_per_radio is not None: + self.users_per_radio = users_per_radio + if num_good_equipment is not None: + self.num_good_equipment = num_good_equipment + if num_warn_equipment is not None: + self.num_warn_equipment = num_warn_equipment + if num_bad_equipment is not None: + self.num_bad_equipment = num_bad_equipment + if user_device_per_manufacturer_counts is not None: + self.user_device_per_manufacturer_counts = user_device_per_manufacturer_counts + if total_aps_reported is not None: + self.total_aps_reported = total_aps_reported + if indicator_value is not None: + self.indicator_value = indicator_value + if indicator_value_per_radio is not None: + self.indicator_value_per_radio = indicator_value_per_radio + if link_quality_per_radio is not None: + self.link_quality_per_radio = link_quality_per_radio + if client_activity_per_radio is not None: + self.client_activity_per_radio = client_activity_per_radio + + @property + def total_users(self): + """Gets the total_users of this UserDetails. # noqa: E501 + + + :return: The total_users of this UserDetails. # noqa: E501 + :rtype: MinMaxAvgValueInt + """ + return self._total_users + + @total_users.setter + def total_users(self, total_users): + """Sets the total_users of this UserDetails. + + + :param total_users: The total_users of this UserDetails. # noqa: E501 + :type: MinMaxAvgValueInt + """ + + self._total_users = total_users + + @property + def users_per_radio(self): + """Gets the users_per_radio of this UserDetails. # noqa: E501 + + + :return: The users_per_radio of this UserDetails. # noqa: E501 + :rtype: MinMaxAvgValueIntPerRadioMap + """ + return self._users_per_radio + + @users_per_radio.setter + def users_per_radio(self, users_per_radio): + """Sets the users_per_radio of this UserDetails. + + + :param users_per_radio: The users_per_radio of this UserDetails. # noqa: E501 + :type: MinMaxAvgValueIntPerRadioMap + """ + + self._users_per_radio = users_per_radio + + @property + def num_good_equipment(self): + """Gets the num_good_equipment of this UserDetails. # noqa: E501 + + + :return: The num_good_equipment of this UserDetails. # noqa: E501 + :rtype: int + """ + return self._num_good_equipment + + @num_good_equipment.setter + def num_good_equipment(self, num_good_equipment): + """Sets the num_good_equipment of this UserDetails. + + + :param num_good_equipment: The num_good_equipment of this UserDetails. # noqa: E501 + :type: int + """ + + self._num_good_equipment = num_good_equipment + + @property + def num_warn_equipment(self): + """Gets the num_warn_equipment of this UserDetails. # noqa: E501 + + + :return: The num_warn_equipment of this UserDetails. # noqa: E501 + :rtype: int + """ + return self._num_warn_equipment + + @num_warn_equipment.setter + def num_warn_equipment(self, num_warn_equipment): + """Sets the num_warn_equipment of this UserDetails. + + + :param num_warn_equipment: The num_warn_equipment of this UserDetails. # noqa: E501 + :type: int + """ + + self._num_warn_equipment = num_warn_equipment + + @property + def num_bad_equipment(self): + """Gets the num_bad_equipment of this UserDetails. # noqa: E501 + + + :return: The num_bad_equipment of this UserDetails. # noqa: E501 + :rtype: int + """ + return self._num_bad_equipment + + @num_bad_equipment.setter + def num_bad_equipment(self, num_bad_equipment): + """Sets the num_bad_equipment of this UserDetails. + + + :param num_bad_equipment: The num_bad_equipment of this UserDetails. # noqa: E501 + :type: int + """ + + self._num_bad_equipment = num_bad_equipment + + @property + def user_device_per_manufacturer_counts(self): + """Gets the user_device_per_manufacturer_counts of this UserDetails. # noqa: E501 + + + :return: The user_device_per_manufacturer_counts of this UserDetails. # noqa: E501 + :rtype: IntegerValueMap + """ + return self._user_device_per_manufacturer_counts + + @user_device_per_manufacturer_counts.setter + def user_device_per_manufacturer_counts(self, user_device_per_manufacturer_counts): + """Sets the user_device_per_manufacturer_counts of this UserDetails. + + + :param user_device_per_manufacturer_counts: The user_device_per_manufacturer_counts of this UserDetails. # noqa: E501 + :type: IntegerValueMap + """ + + self._user_device_per_manufacturer_counts = user_device_per_manufacturer_counts + + @property + def total_aps_reported(self): + """Gets the total_aps_reported of this UserDetails. # noqa: E501 + + + :return: The total_aps_reported of this UserDetails. # noqa: E501 + :rtype: int + """ + return self._total_aps_reported + + @total_aps_reported.setter + def total_aps_reported(self, total_aps_reported): + """Sets the total_aps_reported of this UserDetails. + + + :param total_aps_reported: The total_aps_reported of this UserDetails. # noqa: E501 + :type: int + """ + + self._total_aps_reported = total_aps_reported + + @property + def indicator_value(self): + """Gets the indicator_value of this UserDetails. # noqa: E501 + + + :return: The indicator_value of this UserDetails. # noqa: E501 + :rtype: int + """ + return self._indicator_value + + @indicator_value.setter + def indicator_value(self, indicator_value): + """Sets the indicator_value of this UserDetails. + + + :param indicator_value: The indicator_value of this UserDetails. # noqa: E501 + :type: int + """ + + self._indicator_value = indicator_value + + @property + def indicator_value_per_radio(self): + """Gets the indicator_value_per_radio of this UserDetails. # noqa: E501 + + + :return: The indicator_value_per_radio of this UserDetails. # noqa: E501 + :rtype: IntegerPerRadioTypeMap + """ + return self._indicator_value_per_radio + + @indicator_value_per_radio.setter + def indicator_value_per_radio(self, indicator_value_per_radio): + """Sets the indicator_value_per_radio of this UserDetails. + + + :param indicator_value_per_radio: The indicator_value_per_radio of this UserDetails. # noqa: E501 + :type: IntegerPerRadioTypeMap + """ + + self._indicator_value_per_radio = indicator_value_per_radio + + @property + def link_quality_per_radio(self): + """Gets the link_quality_per_radio of this UserDetails. # noqa: E501 + + + :return: The link_quality_per_radio of this UserDetails. # noqa: E501 + :rtype: LinkQualityAggregatedStatsPerRadioTypeMap + """ + return self._link_quality_per_radio + + @link_quality_per_radio.setter + def link_quality_per_radio(self, link_quality_per_radio): + """Sets the link_quality_per_radio of this UserDetails. + + + :param link_quality_per_radio: The link_quality_per_radio of this UserDetails. # noqa: E501 + :type: LinkQualityAggregatedStatsPerRadioTypeMap + """ + + self._link_quality_per_radio = link_quality_per_radio + + @property + def client_activity_per_radio(self): + """Gets the client_activity_per_radio of this UserDetails. # noqa: E501 + + + :return: The client_activity_per_radio of this UserDetails. # noqa: E501 + :rtype: ClientActivityAggregatedStatsPerRadioTypeMap + """ + return self._client_activity_per_radio + + @client_activity_per_radio.setter + def client_activity_per_radio(self, client_activity_per_radio): + """Sets the client_activity_per_radio of this UserDetails. + + + :param client_activity_per_radio: The client_activity_per_radio of this UserDetails. # noqa: E501 + :type: ClientActivityAggregatedStatsPerRadioTypeMap + """ + + self._client_activity_per_radio = client_activity_per_radio + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(UserDetails, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, UserDetails): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/vlan_status_data.py b/libs/cloudapi/cloudsdk/swagger_client/models/vlan_status_data.py new file mode 100644 index 000000000..eb7663e42 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/vlan_status_data.py @@ -0,0 +1,266 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class VLANStatusData(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'ip_base': 'str', + 'subnet_mask': 'str', + 'gateway': 'str', + 'dhcp_server': 'str', + 'dns_server1': 'str', + 'dns_server2': 'str', + 'dns_server3': 'str' + } + + attribute_map = { + 'ip_base': 'ipBase', + 'subnet_mask': 'subnetMask', + 'gateway': 'gateway', + 'dhcp_server': 'dhcpServer', + 'dns_server1': 'dnsServer1', + 'dns_server2': 'dnsServer2', + 'dns_server3': 'dnsServer3' + } + + def __init__(self, ip_base=None, subnet_mask=None, gateway=None, dhcp_server=None, dns_server1=None, dns_server2=None, dns_server3=None): # noqa: E501 + """VLANStatusData - a model defined in Swagger""" # noqa: E501 + self._ip_base = None + self._subnet_mask = None + self._gateway = None + self._dhcp_server = None + self._dns_server1 = None + self._dns_server2 = None + self._dns_server3 = None + self.discriminator = None + if ip_base is not None: + self.ip_base = ip_base + if subnet_mask is not None: + self.subnet_mask = subnet_mask + if gateway is not None: + self.gateway = gateway + if dhcp_server is not None: + self.dhcp_server = dhcp_server + if dns_server1 is not None: + self.dns_server1 = dns_server1 + if dns_server2 is not None: + self.dns_server2 = dns_server2 + if dns_server3 is not None: + self.dns_server3 = dns_server3 + + @property + def ip_base(self): + """Gets the ip_base of this VLANStatusData. # noqa: E501 + + + :return: The ip_base of this VLANStatusData. # noqa: E501 + :rtype: str + """ + return self._ip_base + + @ip_base.setter + def ip_base(self, ip_base): + """Sets the ip_base of this VLANStatusData. + + + :param ip_base: The ip_base of this VLANStatusData. # noqa: E501 + :type: str + """ + + self._ip_base = ip_base + + @property + def subnet_mask(self): + """Gets the subnet_mask of this VLANStatusData. # noqa: E501 + + + :return: The subnet_mask of this VLANStatusData. # noqa: E501 + :rtype: str + """ + return self._subnet_mask + + @subnet_mask.setter + def subnet_mask(self, subnet_mask): + """Sets the subnet_mask of this VLANStatusData. + + + :param subnet_mask: The subnet_mask of this VLANStatusData. # noqa: E501 + :type: str + """ + + self._subnet_mask = subnet_mask + + @property + def gateway(self): + """Gets the gateway of this VLANStatusData. # noqa: E501 + + + :return: The gateway of this VLANStatusData. # noqa: E501 + :rtype: str + """ + return self._gateway + + @gateway.setter + def gateway(self, gateway): + """Sets the gateway of this VLANStatusData. + + + :param gateway: The gateway of this VLANStatusData. # noqa: E501 + :type: str + """ + + self._gateway = gateway + + @property + def dhcp_server(self): + """Gets the dhcp_server of this VLANStatusData. # noqa: E501 + + + :return: The dhcp_server of this VLANStatusData. # noqa: E501 + :rtype: str + """ + return self._dhcp_server + + @dhcp_server.setter + def dhcp_server(self, dhcp_server): + """Sets the dhcp_server of this VLANStatusData. + + + :param dhcp_server: The dhcp_server of this VLANStatusData. # noqa: E501 + :type: str + """ + + self._dhcp_server = dhcp_server + + @property + def dns_server1(self): + """Gets the dns_server1 of this VLANStatusData. # noqa: E501 + + + :return: The dns_server1 of this VLANStatusData. # noqa: E501 + :rtype: str + """ + return self._dns_server1 + + @dns_server1.setter + def dns_server1(self, dns_server1): + """Sets the dns_server1 of this VLANStatusData. + + + :param dns_server1: The dns_server1 of this VLANStatusData. # noqa: E501 + :type: str + """ + + self._dns_server1 = dns_server1 + + @property + def dns_server2(self): + """Gets the dns_server2 of this VLANStatusData. # noqa: E501 + + + :return: The dns_server2 of this VLANStatusData. # noqa: E501 + :rtype: str + """ + return self._dns_server2 + + @dns_server2.setter + def dns_server2(self, dns_server2): + """Sets the dns_server2 of this VLANStatusData. + + + :param dns_server2: The dns_server2 of this VLANStatusData. # noqa: E501 + :type: str + """ + + self._dns_server2 = dns_server2 + + @property + def dns_server3(self): + """Gets the dns_server3 of this VLANStatusData. # noqa: E501 + + + :return: The dns_server3 of this VLANStatusData. # noqa: E501 + :rtype: str + """ + return self._dns_server3 + + @dns_server3.setter + def dns_server3(self, dns_server3): + """Sets the dns_server3 of this VLANStatusData. + + + :param dns_server3: The dns_server3 of this VLANStatusData. # noqa: E501 + :type: str + """ + + self._dns_server3 = dns_server3 + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(VLANStatusData, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, VLANStatusData): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/vlan_status_data_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/vlan_status_data_map.py new file mode 100644 index 000000000..185f18585 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/vlan_status_data_map.py @@ -0,0 +1,89 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class VLANStatusDataMap(dict): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + if hasattr(dict, "swagger_types"): + swagger_types.update(dict.swagger_types) + + attribute_map = { + } + if hasattr(dict, "attribute_map"): + attribute_map.update(dict.attribute_map) + + def __init__(self, *args, **kwargs): # noqa: E501 + """VLANStatusDataMap - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + dict.__init__(self, *args, **kwargs) + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(VLANStatusDataMap, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, VLANStatusDataMap): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/vlan_subnet.py b/libs/cloudapi/cloudsdk/swagger_client/models/vlan_subnet.py new file mode 100644 index 000000000..a758899b4 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/vlan_subnet.py @@ -0,0 +1,306 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class VlanSubnet(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'subnet_vlan': 'int', + 'subnet_base': 'str', + 'subnet_mask': 'str', + 'subnet_gateway': 'str', + 'subnet_dhcp_server': 'str', + 'subnet_dns1': 'str', + 'subnet_dns2': 'str', + 'subnet_dns3': 'str' + } + + attribute_map = { + 'subnet_vlan': 'subnetVlan', + 'subnet_base': 'subnetBase', + 'subnet_mask': 'subnetMask', + 'subnet_gateway': 'subnetGateway', + 'subnet_dhcp_server': 'subnetDhcpServer', + 'subnet_dns1': 'subnetDns1', + 'subnet_dns2': 'subnetDns2', + 'subnet_dns3': 'subnetDns3' + } + + def __init__(self, subnet_vlan=None, subnet_base=None, subnet_mask=None, subnet_gateway=None, subnet_dhcp_server=None, subnet_dns1=None, subnet_dns2=None, subnet_dns3=None): # noqa: E501 + """VlanSubnet - a model defined in Swagger""" # noqa: E501 + self._subnet_vlan = None + self._subnet_base = None + self._subnet_mask = None + self._subnet_gateway = None + self._subnet_dhcp_server = None + self._subnet_dns1 = None + self._subnet_dns2 = None + self._subnet_dns3 = None + self.discriminator = None + if subnet_vlan is not None: + self.subnet_vlan = subnet_vlan + if subnet_base is not None: + self.subnet_base = subnet_base + if subnet_mask is not None: + self.subnet_mask = subnet_mask + if subnet_gateway is not None: + self.subnet_gateway = subnet_gateway + if subnet_dhcp_server is not None: + self.subnet_dhcp_server = subnet_dhcp_server + if subnet_dns1 is not None: + self.subnet_dns1 = subnet_dns1 + if subnet_dns2 is not None: + self.subnet_dns2 = subnet_dns2 + if subnet_dns3 is not None: + self.subnet_dns3 = subnet_dns3 + + @property + def subnet_vlan(self): + """Gets the subnet_vlan of this VlanSubnet. # noqa: E501 + + + :return: The subnet_vlan of this VlanSubnet. # noqa: E501 + :rtype: int + """ + return self._subnet_vlan + + @subnet_vlan.setter + def subnet_vlan(self, subnet_vlan): + """Sets the subnet_vlan of this VlanSubnet. + + + :param subnet_vlan: The subnet_vlan of this VlanSubnet. # noqa: E501 + :type: int + """ + + self._subnet_vlan = subnet_vlan + + @property + def subnet_base(self): + """Gets the subnet_base of this VlanSubnet. # noqa: E501 + + string representing InetAddress # noqa: E501 + + :return: The subnet_base of this VlanSubnet. # noqa: E501 + :rtype: str + """ + return self._subnet_base + + @subnet_base.setter + def subnet_base(self, subnet_base): + """Sets the subnet_base of this VlanSubnet. + + string representing InetAddress # noqa: E501 + + :param subnet_base: The subnet_base of this VlanSubnet. # noqa: E501 + :type: str + """ + + self._subnet_base = subnet_base + + @property + def subnet_mask(self): + """Gets the subnet_mask of this VlanSubnet. # noqa: E501 + + string representing InetAddress # noqa: E501 + + :return: The subnet_mask of this VlanSubnet. # noqa: E501 + :rtype: str + """ + return self._subnet_mask + + @subnet_mask.setter + def subnet_mask(self, subnet_mask): + """Sets the subnet_mask of this VlanSubnet. + + string representing InetAddress # noqa: E501 + + :param subnet_mask: The subnet_mask of this VlanSubnet. # noqa: E501 + :type: str + """ + + self._subnet_mask = subnet_mask + + @property + def subnet_gateway(self): + """Gets the subnet_gateway of this VlanSubnet. # noqa: E501 + + string representing InetAddress # noqa: E501 + + :return: The subnet_gateway of this VlanSubnet. # noqa: E501 + :rtype: str + """ + return self._subnet_gateway + + @subnet_gateway.setter + def subnet_gateway(self, subnet_gateway): + """Sets the subnet_gateway of this VlanSubnet. + + string representing InetAddress # noqa: E501 + + :param subnet_gateway: The subnet_gateway of this VlanSubnet. # noqa: E501 + :type: str + """ + + self._subnet_gateway = subnet_gateway + + @property + def subnet_dhcp_server(self): + """Gets the subnet_dhcp_server of this VlanSubnet. # noqa: E501 + + string representing InetAddress # noqa: E501 + + :return: The subnet_dhcp_server of this VlanSubnet. # noqa: E501 + :rtype: str + """ + return self._subnet_dhcp_server + + @subnet_dhcp_server.setter + def subnet_dhcp_server(self, subnet_dhcp_server): + """Sets the subnet_dhcp_server of this VlanSubnet. + + string representing InetAddress # noqa: E501 + + :param subnet_dhcp_server: The subnet_dhcp_server of this VlanSubnet. # noqa: E501 + :type: str + """ + + self._subnet_dhcp_server = subnet_dhcp_server + + @property + def subnet_dns1(self): + """Gets the subnet_dns1 of this VlanSubnet. # noqa: E501 + + string representing InetAddress # noqa: E501 + + :return: The subnet_dns1 of this VlanSubnet. # noqa: E501 + :rtype: str + """ + return self._subnet_dns1 + + @subnet_dns1.setter + def subnet_dns1(self, subnet_dns1): + """Sets the subnet_dns1 of this VlanSubnet. + + string representing InetAddress # noqa: E501 + + :param subnet_dns1: The subnet_dns1 of this VlanSubnet. # noqa: E501 + :type: str + """ + + self._subnet_dns1 = subnet_dns1 + + @property + def subnet_dns2(self): + """Gets the subnet_dns2 of this VlanSubnet. # noqa: E501 + + string representing InetAddress # noqa: E501 + + :return: The subnet_dns2 of this VlanSubnet. # noqa: E501 + :rtype: str + """ + return self._subnet_dns2 + + @subnet_dns2.setter + def subnet_dns2(self, subnet_dns2): + """Sets the subnet_dns2 of this VlanSubnet. + + string representing InetAddress # noqa: E501 + + :param subnet_dns2: The subnet_dns2 of this VlanSubnet. # noqa: E501 + :type: str + """ + + self._subnet_dns2 = subnet_dns2 + + @property + def subnet_dns3(self): + """Gets the subnet_dns3 of this VlanSubnet. # noqa: E501 + + string representing InetAddress # noqa: E501 + + :return: The subnet_dns3 of this VlanSubnet. # noqa: E501 + :rtype: str + """ + return self._subnet_dns3 + + @subnet_dns3.setter + def subnet_dns3(self, subnet_dns3): + """Sets the subnet_dns3 of this VlanSubnet. + + string representing InetAddress # noqa: E501 + + :param subnet_dns3: The subnet_dns3 of this VlanSubnet. # noqa: E501 + :type: str + """ + + self._subnet_dns3 = subnet_dns3 + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(VlanSubnet, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, VlanSubnet): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/web_token_acl_template.py b/libs/cloudapi/cloudsdk/swagger_client/models/web_token_acl_template.py new file mode 100644 index 000000000..5a0b43b65 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/web_token_acl_template.py @@ -0,0 +1,110 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class WebTokenAclTemplate(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'acl_template': 'AclTemplate' + } + + attribute_map = { + 'acl_template': 'aclTemplate' + } + + def __init__(self, acl_template=None): # noqa: E501 + """WebTokenAclTemplate - a model defined in Swagger""" # noqa: E501 + self._acl_template = None + self.discriminator = None + if acl_template is not None: + self.acl_template = acl_template + + @property + def acl_template(self): + """Gets the acl_template of this WebTokenAclTemplate. # noqa: E501 + + + :return: The acl_template of this WebTokenAclTemplate. # noqa: E501 + :rtype: AclTemplate + """ + return self._acl_template + + @acl_template.setter + def acl_template(self, acl_template): + """Sets the acl_template of this WebTokenAclTemplate. + + + :param acl_template: The acl_template of this WebTokenAclTemplate. # noqa: E501 + :type: AclTemplate + """ + + self._acl_template = acl_template + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(WebTokenAclTemplate, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, WebTokenAclTemplate): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/web_token_request.py b/libs/cloudapi/cloudsdk/swagger_client/models/web_token_request.py new file mode 100644 index 000000000..632f7de0c --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/web_token_request.py @@ -0,0 +1,164 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class WebTokenRequest(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'user_id': 'str', + 'password': 'str', + 'refresh_token': 'str' + } + + attribute_map = { + 'user_id': 'userId', + 'password': 'password', + 'refresh_token': 'refreshToken' + } + + def __init__(self, user_id='support@example.com', password='support', refresh_token=None): # noqa: E501 + """WebTokenRequest - a model defined in Swagger""" # noqa: E501 + self._user_id = None + self._password = None + self._refresh_token = None + self.discriminator = None + self.user_id = user_id + self.password = password + if refresh_token is not None: + self.refresh_token = refresh_token + + @property + def user_id(self): + """Gets the user_id of this WebTokenRequest. # noqa: E501 + + + :return: The user_id of this WebTokenRequest. # noqa: E501 + :rtype: str + """ + return self._user_id + + @user_id.setter + def user_id(self, user_id): + """Sets the user_id of this WebTokenRequest. + + + :param user_id: The user_id of this WebTokenRequest. # noqa: E501 + :type: str + """ + if user_id is None: + raise ValueError("Invalid value for `user_id`, must not be `None`") # noqa: E501 + + self._user_id = user_id + + @property + def password(self): + """Gets the password of this WebTokenRequest. # noqa: E501 + + + :return: The password of this WebTokenRequest. # noqa: E501 + :rtype: str + """ + return self._password + + @password.setter + def password(self, password): + """Sets the password of this WebTokenRequest. + + + :param password: The password of this WebTokenRequest. # noqa: E501 + :type: str + """ + if password is None: + raise ValueError("Invalid value for `password`, must not be `None`") # noqa: E501 + + self._password = password + + @property + def refresh_token(self): + """Gets the refresh_token of this WebTokenRequest. # noqa: E501 + + + :return: The refresh_token of this WebTokenRequest. # noqa: E501 + :rtype: str + """ + return self._refresh_token + + @refresh_token.setter + def refresh_token(self, refresh_token): + """Sets the refresh_token of this WebTokenRequest. + + + :param refresh_token: The refresh_token of this WebTokenRequest. # noqa: E501 + :type: str + """ + + self._refresh_token = refresh_token + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(WebTokenRequest, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, WebTokenRequest): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/web_token_result.py b/libs/cloudapi/cloudsdk/swagger_client/models/web_token_result.py new file mode 100644 index 000000000..be97b5bbc --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/web_token_result.py @@ -0,0 +1,266 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class WebTokenResult(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'access_token': 'str', + 'refresh_token': 'str', + 'id_token': 'str', + 'token_type': 'str', + 'expires_in': 'int', + 'idle_timeout': 'int', + 'acl_template': 'WebTokenAclTemplate' + } + + attribute_map = { + 'access_token': 'access_token', + 'refresh_token': 'refresh_token', + 'id_token': 'id_token', + 'token_type': 'token_type', + 'expires_in': 'expires_in', + 'idle_timeout': 'idle_timeout', + 'acl_template': 'aclTemplate' + } + + def __init__(self, access_token=None, refresh_token=None, id_token=None, token_type=None, expires_in=None, idle_timeout=None, acl_template=None): # noqa: E501 + """WebTokenResult - a model defined in Swagger""" # noqa: E501 + self._access_token = None + self._refresh_token = None + self._id_token = None + self._token_type = None + self._expires_in = None + self._idle_timeout = None + self._acl_template = None + self.discriminator = None + if access_token is not None: + self.access_token = access_token + if refresh_token is not None: + self.refresh_token = refresh_token + if id_token is not None: + self.id_token = id_token + if token_type is not None: + self.token_type = token_type + if expires_in is not None: + self.expires_in = expires_in + if idle_timeout is not None: + self.idle_timeout = idle_timeout + if acl_template is not None: + self.acl_template = acl_template + + @property + def access_token(self): + """Gets the access_token of this WebTokenResult. # noqa: E501 + + + :return: The access_token of this WebTokenResult. # noqa: E501 + :rtype: str + """ + return self._access_token + + @access_token.setter + def access_token(self, access_token): + """Sets the access_token of this WebTokenResult. + + + :param access_token: The access_token of this WebTokenResult. # noqa: E501 + :type: str + """ + + self._access_token = access_token + + @property + def refresh_token(self): + """Gets the refresh_token of this WebTokenResult. # noqa: E501 + + + :return: The refresh_token of this WebTokenResult. # noqa: E501 + :rtype: str + """ + return self._refresh_token + + @refresh_token.setter + def refresh_token(self, refresh_token): + """Sets the refresh_token of this WebTokenResult. + + + :param refresh_token: The refresh_token of this WebTokenResult. # noqa: E501 + :type: str + """ + + self._refresh_token = refresh_token + + @property + def id_token(self): + """Gets the id_token of this WebTokenResult. # noqa: E501 + + + :return: The id_token of this WebTokenResult. # noqa: E501 + :rtype: str + """ + return self._id_token + + @id_token.setter + def id_token(self, id_token): + """Sets the id_token of this WebTokenResult. + + + :param id_token: The id_token of this WebTokenResult. # noqa: E501 + :type: str + """ + + self._id_token = id_token + + @property + def token_type(self): + """Gets the token_type of this WebTokenResult. # noqa: E501 + + + :return: The token_type of this WebTokenResult. # noqa: E501 + :rtype: str + """ + return self._token_type + + @token_type.setter + def token_type(self, token_type): + """Sets the token_type of this WebTokenResult. + + + :param token_type: The token_type of this WebTokenResult. # noqa: E501 + :type: str + """ + + self._token_type = token_type + + @property + def expires_in(self): + """Gets the expires_in of this WebTokenResult. # noqa: E501 + + + :return: The expires_in of this WebTokenResult. # noqa: E501 + :rtype: int + """ + return self._expires_in + + @expires_in.setter + def expires_in(self, expires_in): + """Sets the expires_in of this WebTokenResult. + + + :param expires_in: The expires_in of this WebTokenResult. # noqa: E501 + :type: int + """ + + self._expires_in = expires_in + + @property + def idle_timeout(self): + """Gets the idle_timeout of this WebTokenResult. # noqa: E501 + + + :return: The idle_timeout of this WebTokenResult. # noqa: E501 + :rtype: int + """ + return self._idle_timeout + + @idle_timeout.setter + def idle_timeout(self, idle_timeout): + """Sets the idle_timeout of this WebTokenResult. + + + :param idle_timeout: The idle_timeout of this WebTokenResult. # noqa: E501 + :type: int + """ + + self._idle_timeout = idle_timeout + + @property + def acl_template(self): + """Gets the acl_template of this WebTokenResult. # noqa: E501 + + + :return: The acl_template of this WebTokenResult. # noqa: E501 + :rtype: WebTokenAclTemplate + """ + return self._acl_template + + @acl_template.setter + def acl_template(self, acl_template): + """Sets the acl_template of this WebTokenResult. + + + :param acl_template: The acl_template of this WebTokenResult. # noqa: E501 + :type: WebTokenAclTemplate + """ + + self._acl_template = acl_template + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(WebTokenResult, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, WebTokenResult): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/wep_auth_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/wep_auth_type.py new file mode 100644 index 000000000..a0f9512f1 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/wep_auth_type.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class WepAuthType(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + OPEN = "open" + SHARED = "shared" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """WepAuthType - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(WepAuthType, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, WepAuthType): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/wep_configuration.py b/libs/cloudapi/cloudsdk/swagger_client/models/wep_configuration.py new file mode 100644 index 000000000..7d0f9d6c3 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/wep_configuration.py @@ -0,0 +1,162 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class WepConfiguration(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'primary_tx_key_id': 'int', + 'wep_keys': 'list[WepKey]', + 'wep_auth_type': 'WepAuthType' + } + + attribute_map = { + 'primary_tx_key_id': 'primaryTxKeyId', + 'wep_keys': 'wepKeys', + 'wep_auth_type': 'wepAuthType' + } + + def __init__(self, primary_tx_key_id=None, wep_keys=None, wep_auth_type=None): # noqa: E501 + """WepConfiguration - a model defined in Swagger""" # noqa: E501 + self._primary_tx_key_id = None + self._wep_keys = None + self._wep_auth_type = None + self.discriminator = None + if primary_tx_key_id is not None: + self.primary_tx_key_id = primary_tx_key_id + if wep_keys is not None: + self.wep_keys = wep_keys + if wep_auth_type is not None: + self.wep_auth_type = wep_auth_type + + @property + def primary_tx_key_id(self): + """Gets the primary_tx_key_id of this WepConfiguration. # noqa: E501 + + + :return: The primary_tx_key_id of this WepConfiguration. # noqa: E501 + :rtype: int + """ + return self._primary_tx_key_id + + @primary_tx_key_id.setter + def primary_tx_key_id(self, primary_tx_key_id): + """Sets the primary_tx_key_id of this WepConfiguration. + + + :param primary_tx_key_id: The primary_tx_key_id of this WepConfiguration. # noqa: E501 + :type: int + """ + + self._primary_tx_key_id = primary_tx_key_id + + @property + def wep_keys(self): + """Gets the wep_keys of this WepConfiguration. # noqa: E501 + + + :return: The wep_keys of this WepConfiguration. # noqa: E501 + :rtype: list[WepKey] + """ + return self._wep_keys + + @wep_keys.setter + def wep_keys(self, wep_keys): + """Sets the wep_keys of this WepConfiguration. + + + :param wep_keys: The wep_keys of this WepConfiguration. # noqa: E501 + :type: list[WepKey] + """ + + self._wep_keys = wep_keys + + @property + def wep_auth_type(self): + """Gets the wep_auth_type of this WepConfiguration. # noqa: E501 + + + :return: The wep_auth_type of this WepConfiguration. # noqa: E501 + :rtype: WepAuthType + """ + return self._wep_auth_type + + @wep_auth_type.setter + def wep_auth_type(self, wep_auth_type): + """Sets the wep_auth_type of this WepConfiguration. + + + :param wep_auth_type: The wep_auth_type of this WepConfiguration. # noqa: E501 + :type: WepAuthType + """ + + self._wep_auth_type = wep_auth_type + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(WepConfiguration, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, WepConfiguration): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/wep_key.py b/libs/cloudapi/cloudsdk/swagger_client/models/wep_key.py new file mode 100644 index 000000000..1290841b0 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/wep_key.py @@ -0,0 +1,162 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class WepKey(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'tx_key': 'str', + 'tx_key_converted': 'str', + 'tx_key_type': 'WepType' + } + + attribute_map = { + 'tx_key': 'txKey', + 'tx_key_converted': 'txKeyConverted', + 'tx_key_type': 'txKeyType' + } + + def __init__(self, tx_key=None, tx_key_converted=None, tx_key_type=None): # noqa: E501 + """WepKey - a model defined in Swagger""" # noqa: E501 + self._tx_key = None + self._tx_key_converted = None + self._tx_key_type = None + self.discriminator = None + if tx_key is not None: + self.tx_key = tx_key + if tx_key_converted is not None: + self.tx_key_converted = tx_key_converted + if tx_key_type is not None: + self.tx_key_type = tx_key_type + + @property + def tx_key(self): + """Gets the tx_key of this WepKey. # noqa: E501 + + + :return: The tx_key of this WepKey. # noqa: E501 + :rtype: str + """ + return self._tx_key + + @tx_key.setter + def tx_key(self, tx_key): + """Sets the tx_key of this WepKey. + + + :param tx_key: The tx_key of this WepKey. # noqa: E501 + :type: str + """ + + self._tx_key = tx_key + + @property + def tx_key_converted(self): + """Gets the tx_key_converted of this WepKey. # noqa: E501 + + + :return: The tx_key_converted of this WepKey. # noqa: E501 + :rtype: str + """ + return self._tx_key_converted + + @tx_key_converted.setter + def tx_key_converted(self, tx_key_converted): + """Sets the tx_key_converted of this WepKey. + + + :param tx_key_converted: The tx_key_converted of this WepKey. # noqa: E501 + :type: str + """ + + self._tx_key_converted = tx_key_converted + + @property + def tx_key_type(self): + """Gets the tx_key_type of this WepKey. # noqa: E501 + + + :return: The tx_key_type of this WepKey. # noqa: E501 + :rtype: WepType + """ + return self._tx_key_type + + @tx_key_type.setter + def tx_key_type(self, tx_key_type): + """Sets the tx_key_type of this WepKey. + + + :param tx_key_type: The tx_key_type of this WepKey. # noqa: E501 + :type: WepType + """ + + self._tx_key_type = tx_key_type + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(WepKey, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, WepKey): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/wep_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/wep_type.py new file mode 100644 index 000000000..f88f88bc7 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/wep_type.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class WepType(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + WEP64 = "wep64" + WEP128 = "wep128" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """WepType - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(WepType, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, WepType): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/wlan_reason_code.py b/libs/cloudapi/cloudsdk/swagger_client/models/wlan_reason_code.py new file mode 100644 index 000000000..b95ad771b --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/wlan_reason_code.py @@ -0,0 +1,150 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class WlanReasonCode(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + WLAN_REASON_UNSPECIFIED = "WLAN_REASON_UNSPECIFIED" + WLAN_REASON_PREV_AUTH_NOT_VALID = "WLAN_REASON_PREV_AUTH_NOT_VALID" + WLAN_REASON_DEAUTH_LEAVING = "WLAN_REASON_DEAUTH_LEAVING" + WLAN_REASON_DISASSOC_DUE_TO_INACTIVITY = "WLAN_REASON_DISASSOC_DUE_TO_INACTIVITY" + WLAN_REASON_DISASSOC_AP_BUSY = "WLAN_REASON_DISASSOC_AP_BUSY" + WLAN_REASON_CLASS2_FRAME_FROM_NONAUTH_STA = "WLAN_REASON_CLASS2_FRAME_FROM_NONAUTH_STA" + WLAN_REASON_CLASS3_FRAME_FROM_NONASSOC_STA = "WLAN_REASON_CLASS3_FRAME_FROM_NONASSOC_STA" + WLAN_REASON_DISASSOC_STA_HAS_LEFT = "WLAN_REASON_DISASSOC_STA_HAS_LEFT" + WLAN_REASON_STA_REQ_ASSOC_WITHOUT_AUTH = "WLAN_REASON_STA_REQ_ASSOC_WITHOUT_AUTH" + WLAN_REASON_PWR_CAPABILITY_NOT_VALID = "WLAN_REASON_PWR_CAPABILITY_NOT_VALID" + WLAN_REASON_SUPPORTED_CHANNEL_NOT_VALID = "WLAN_REASON_SUPPORTED_CHANNEL_NOT_VALID" + WLAN_REASON_BSS_TRANSITION_DISASSOC = "WLAN_REASON_BSS_TRANSITION_DISASSOC" + WLAN_REASON_INVALID_IE = "WLAN_REASON_INVALID_IE" + WLAN_REASON_MICHAEL_MIC_FAILURE = "WLAN_REASON_MICHAEL_MIC_FAILURE" + WLAN_REASON_4WAY_HANDSHAKE_TIMEOUT = "WLAN_REASON_4WAY_HANDSHAKE_TIMEOUT" + WLAN_REASON_GROUP_KEY_UPDATE_TIMEOUT = "WLAN_REASON_GROUP_KEY_UPDATE_TIMEOUT" + WLAN_REASON_IE_IN_4WAY_DIFFERS = "WLAN_REASON_IE_IN_4WAY_DIFFERS" + WLAN_REASON_GROUP_CIPHER_NOT_VALID = "WLAN_REASON_GROUP_CIPHER_NOT_VALID" + WLAN_REASON_PAIRWISE_CIPHER_NOT_VALID = "WLAN_REASON_PAIRWISE_CIPHER_NOT_VALID" + WLAN_REASON_AKMP_NOT_VALID = "WLAN_REASON_AKMP_NOT_VALID" + WLAN_REASON_UNSUPPORTED_RSN_IE_VERSION = "WLAN_REASON_UNSUPPORTED_RSN_IE_VERSION" + WLAN_REASON_INVALID_RSN_IE_CAPAB = "WLAN_REASON_INVALID_RSN_IE_CAPAB" + WLAN_REASON_IEEE_802_1X_AUTH_FAILED = "WLAN_REASON_IEEE_802_1X_AUTH_FAILED" + WLAN_REASON_CIPHER_SUITE_REJECTED = "WLAN_REASON_CIPHER_SUITE_REJECTED" + WLAN_REASON_TDLS_TEARDOWN_UNREACHABLE = "WLAN_REASON_TDLS_TEARDOWN_UNREACHABLE" + WLAN_REASON_TDLS_TEARDOWN_UNSPECIFIED = "WLAN_REASON_TDLS_TEARDOWN_UNSPECIFIED" + WLAN_REASON_SSP_REQUESTED_DISASSOC = "WLAN_REASON_SSP_REQUESTED_DISASSOC" + WLAN_REASON_NO_SSP_ROAMING_AGREEMENT = "WLAN_REASON_NO_SSP_ROAMING_AGREEMENT" + WLAN_REASON_BAD_CIPHER_OR_AKM = "WLAN_REASON_BAD_CIPHER_OR_AKM" + WLAN_REASON_NOT_AUTHORIZED_THIS_LOCATION = "WLAN_REASON_NOT_AUTHORIZED_THIS_LOCATION" + WLAN_REASON_SERVICE_CHANGE_PRECLUDES_TS = "WLAN_REASON_SERVICE_CHANGE_PRECLUDES_TS" + WLAN_REASON_UNSPECIFIED_QOS_REASON = "WLAN_REASON_UNSPECIFIED_QOS_REASON" + WLAN_REASON_NOT_ENOUGH_BANDWIDTH = "WLAN_REASON_NOT_ENOUGH_BANDWIDTH" + WLAN_REASON_DISASSOC_LOW_ACK = "WLAN_REASON_DISASSOC_LOW_ACK" + WLAN_REASON_EXCEEDED_TXOP = "WLAN_REASON_EXCEEDED_TXOP" + WLAN_REASON_STA_LEAVING = "WLAN_REASON_STA_LEAVING" + WLAN_REASON_END_TS_BA_DLS = "WLAN_REASON_END_TS_BA_DLS" + WLAN_REASON_UNKNOWN_TS_BA = "WLAN_REASON_UNKNOWN_TS_BA" + WLAN_REASON_TIMEOUT = "WLAN_REASON_TIMEOUT" + WLAN_REASON_PEERKEY_MISMATCH = "WLAN_REASON_PEERKEY_MISMATCH" + WLAN_REASON_AUTHORIZED_ACCESS_LIMIT_REACHED = "WLAN_REASON_AUTHORIZED_ACCESS_LIMIT_REACHED" + WLAN_REASON_EXTERNAL_SERVICE_REQUIREMENTS = "WLAN_REASON_EXTERNAL_SERVICE_REQUIREMENTS" + WLAN_REASON_INVALID_FT_ACTION_FRAME_COUNT = "WLAN_REASON_INVALID_FT_ACTION_FRAME_COUNT" + WLAN_REASON_INVALID_PMKID = "WLAN_REASON_INVALID_PMKID" + WLAN_REASON_INVALID_MDE = "WLAN_REASON_INVALID_MDE" + WLAN_REASON_INVALID_FTE = "WLAN_REASON_INVALID_FTE" + WLAN_REASON_MESH_PEERING_CANCELLED = "WLAN_REASON_MESH_PEERING_CANCELLED" + WLAN_REASON_MESH_MAX_PEERS = "WLAN_REASON_MESH_MAX_PEERS" + WLAN_REASON_MESH_CONFIG_POLICY_VIOLATION = "WLAN_REASON_MESH_CONFIG_POLICY_VIOLATION" + WLAN_REASON_MESH_CLOSE_RCVD = "WLAN_REASON_MESH_CLOSE_RCVD" + WLAN_REASON_MESH_MAX_RETRIES = "WLAN_REASON_MESH_MAX_RETRIES" + WLAN_REASON_MESH_CONFIRM_TIMEOUT = "WLAN_REASON_MESH_CONFIRM_TIMEOUT" + WLAN_REASON_MESH_INVALID_GTK = "WLAN_REASON_MESH_INVALID_GTK" + WLAN_REASON_MESH_INCONSISTENT_PARAMS = "WLAN_REASON_MESH_INCONSISTENT_PARAMS" + WLAN_REASON_MESH_INVALID_SECURITY_CAP = "WLAN_REASON_MESH_INVALID_SECURITY_CAP" + WLAN_REASON_MESH_PATH_ERROR_NO_PROXY_INFO = "WLAN_REASON_MESH_PATH_ERROR_NO_PROXY_INFO" + WLAN_REASON_MESH_PATH_ERROR_NO_FORWARDING_INFO = "WLAN_REASON_MESH_PATH_ERROR_NO_FORWARDING_INFO" + WLAN_REASON_MESH_PATH_ERROR_DEST_UNREACHABLE = "WLAN_REASON_MESH_PATH_ERROR_DEST_UNREACHABLE" + WLAN_REASON_MAC_ADDRESS_ALREADY_EXISTS_IN_MBSS = "WLAN_REASON_MAC_ADDRESS_ALREADY_EXISTS_IN_MBSS" + WLAN_REASON_MESH_CHANNEL_SWITCH_REGULATORY_REQ = "WLAN_REASON_MESH_CHANNEL_SWITCH_REGULATORY_REQ" + WLAN_REASON_MESH_CHANNEL_SWITCH_UNSPECIFIED = "WLAN_REASON_MESH_CHANNEL_SWITCH_UNSPECIFIED" + UNSUPPORTED = "UNSUPPORTED" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """WlanReasonCode - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(WlanReasonCode, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, WlanReasonCode): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/wlan_status_code.py b/libs/cloudapi/cloudsdk/swagger_client/models/wlan_status_code.py new file mode 100644 index 000000000..9d86a6336 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/wlan_status_code.py @@ -0,0 +1,189 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class WlanStatusCode(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + WLAN_STATUS_SUCCESS = "WLAN_STATUS_SUCCESS" + WLAN_STATUS_UNSPECIFIED_FAILURE = "WLAN_STATUS_UNSPECIFIED_FAILURE" + WLAN_STATUS_TDLS_WAKEUP_ALTERNATE = "WLAN_STATUS_TDLS_WAKEUP_ALTERNATE" + WLAN_STATUS_TDLS_WAKEUP_REJECT = "WLAN_STATUS_TDLS_WAKEUP_REJECT" + WLAN_STATUS_SECURITY_DISABLED = "WLAN_STATUS_SECURITY_DISABLED" + WLAN_STATUS_UNACCEPTABLE_LIFETIME = "WLAN_STATUS_UNACCEPTABLE_LIFETIME" + WLAN_STATUS_NOT_IN_SAME_BSS = "WLAN_STATUS_NOT_IN_SAME_BSS" + WLAN_STATUS_CAPS_UNSUPPORTED = "WLAN_STATUS_CAPS_UNSUPPORTED" + WLAN_STATUS_REASSOC_NO_ASSOC = "WLAN_STATUS_REASSOC_NO_ASSOC" + WLAN_STATUS_ASSOC_DENIED_UNSPEC = "WLAN_STATUS_ASSOC_DENIED_UNSPEC" + WLAN_STATUS_NOT_SUPPORTED_AUTH_ALG = "WLAN_STATUS_NOT_SUPPORTED_AUTH_ALG" + WLAN_STATUS_UNKNOWN_AUTH_TRANSACTION = "WLAN_STATUS_UNKNOWN_AUTH_TRANSACTION" + WLAN_STATUS_CHALLENGE_FAIL = "WLAN_STATUS_CHALLENGE_FAIL" + WLAN_STATUS_AUTH_TIMEOUT = "WLAN_STATUS_AUTH_TIMEOUT" + WLAN_STATUS_AP_UNABLE_TO_HANDLE_NEW_STA = "WLAN_STATUS_AP_UNABLE_TO_HANDLE_NEW_STA" + WLAN_STATUS_ASSOC_DENIED_RATES = "WLAN_STATUS_ASSOC_DENIED_RATES" + WLAN_STATUS_ASSOC_DENIED_NOSHORT = "WLAN_STATUS_ASSOC_DENIED_NOSHORT" + WLAN_STATUS_SPEC_MGMT_REQUIRED = "WLAN_STATUS_SPEC_MGMT_REQUIRED" + WLAN_STATUS_PWR_CAPABILITY_NOT_VALID = "WLAN_STATUS_PWR_CAPABILITY_NOT_VALID" + WLAN_STATUS_SUPPORTED_CHANNEL_NOT_VALID = "WLAN_STATUS_SUPPORTED_CHANNEL_NOT_VALID" + WLAN_STATUS_ASSOC_DENIED_NO_SHORT_SLOT_TIME = "WLAN_STATUS_ASSOC_DENIED_NO_SHORT_SLOT_TIME" + WLAN_STATUS_ASSOC_DENIED_NO_HT = "WLAN_STATUS_ASSOC_DENIED_NO_HT" + WLAN_STATUS_R0KH_UNREACHABLE = "WLAN_STATUS_R0KH_UNREACHABLE" + WLAN_STATUS_ASSOC_DENIED_NO_PCO = "WLAN_STATUS_ASSOC_DENIED_NO_PCO" + WLAN_STATUS_ASSOC_REJECTED_TEMPORARILY = "WLAN_STATUS_ASSOC_REJECTED_TEMPORARILY" + WLAN_STATUS_ROBUST_MGMT_FRAME_POLICY_VIOLATION = "WLAN_STATUS_ROBUST_MGMT_FRAME_POLICY_VIOLATION" + WLAN_STATUS_UNSPECIFIED_QOS_FAILURE = "WLAN_STATUS_UNSPECIFIED_QOS_FAILURE" + WLAN_STATUS_DENIED_INSUFFICIENT_BANDWIDTH = "WLAN_STATUS_DENIED_INSUFFICIENT_BANDWIDTH" + WLAN_STATUS_DENIED_POOR_CHANNEL_CONDITIONS = "WLAN_STATUS_DENIED_POOR_CHANNEL_CONDITIONS" + WLAN_STATUS_DENIED_QOS_NOT_SUPPORTED = "WLAN_STATUS_DENIED_QOS_NOT_SUPPORTED" + WLAN_STATUS_REQUEST_DECLINED = "WLAN_STATUS_REQUEST_DECLINED" + WLAN_STATUS_INVALID_PARAMETERS = "WLAN_STATUS_INVALID_PARAMETERS" + WLAN_STATUS_REJECTED_WITH_SUGGESTED_CHANGES = "WLAN_STATUS_REJECTED_WITH_SUGGESTED_CHANGES" + WLAN_STATUS_INVALID_IE = "WLAN_STATUS_INVALID_IE" + WLAN_STATUS_GROUP_CIPHER_NOT_VALID = "WLAN_STATUS_GROUP_CIPHER_NOT_VALID" + WLAN_STATUS_PAIRWISE_CIPHER_NOT_VALID = "WLAN_STATUS_PAIRWISE_CIPHER_NOT_VALID" + WLAN_STATUS_AKMP_NOT_VALID = "WLAN_STATUS_AKMP_NOT_VALID" + WLAN_STATUS_UNSUPPORTED_RSN_IE_VERSION = "WLAN_STATUS_UNSUPPORTED_RSN_IE_VERSION" + WLAN_STATUS_INVALID_RSN_IE_CAPAB = "WLAN_STATUS_INVALID_RSN_IE_CAPAB" + WLAN_STATUS_CIPHER_REJECTED_PER_POLICY = "WLAN_STATUS_CIPHER_REJECTED_PER_POLICY" + WLAN_STATUS_TS_NOT_CREATED = "WLAN_STATUS_TS_NOT_CREATED" + WLAN_STATUS_DIRECT_LINK_NOT_ALLOWED = "WLAN_STATUS_DIRECT_LINK_NOT_ALLOWED" + WLAN_STATUS_DEST_STA_NOT_PRESENT = "WLAN_STATUS_DEST_STA_NOT_PRESENT" + WLAN_STATUS_DEST_STA_NOT_QOS_STA = "WLAN_STATUS_DEST_STA_NOT_QOS_STA" + WLAN_STATUS_ASSOC_DENIED_LISTEN_INT_TOO_LARGE = "WLAN_STATUS_ASSOC_DENIED_LISTEN_INT_TOO_LARGE" + WLAN_STATUS_INVALID_FT_ACTION_FRAME_COUNT = "WLAN_STATUS_INVALID_FT_ACTION_FRAME_COUNT" + WLAN_STATUS_INVALID_PMKID = "WLAN_STATUS_INVALID_PMKID" + WLAN_STATUS_INVALID_MDIE = "WLAN_STATUS_INVALID_MDIE" + WLAN_STATUS_INVALID_FTIE = "WLAN_STATUS_INVALID_FTIE" + WLAN_STATUS_REQUESTED_TCLAS_NOT_SUPPORTED = "WLAN_STATUS_REQUESTED_TCLAS_NOT_SUPPORTED" + WLAN_STATUS_INSUFFICIENT_TCLAS_PROCESSING_RESOURCES = "WLAN_STATUS_INSUFFICIENT_TCLAS_PROCESSING_RESOURCES" + WLAN_STATUS_TRY_ANOTHER_BSS = "WLAN_STATUS_TRY_ANOTHER_BSS" + WLAN_STATUS_GAS_ADV_PROTO_NOT_SUPPORTED = "WLAN_STATUS_GAS_ADV_PROTO_NOT_SUPPORTED" + WLAN_STATUS_NO_OUTSTANDING_GAS_REQ = "WLAN_STATUS_NO_OUTSTANDING_GAS_REQ" + WLAN_STATUS_GAS_RESP_NOT_RECEIVED = "WLAN_STATUS_GAS_RESP_NOT_RECEIVED" + WLAN_STATUS_STA_TIMED_OUT_WAITING_FOR_GAS_RESP = "WLAN_STATUS_STA_TIMED_OUT_WAITING_FOR_GAS_RESP" + WLAN_STATUS_GAS_RESP_LARGER_THAN_LIMIT = "WLAN_STATUS_GAS_RESP_LARGER_THAN_LIMIT" + WLAN_STATUS_REQ_REFUSED_HOME = "WLAN_STATUS_REQ_REFUSED_HOME" + WLAN_STATUS_ADV_SRV_UNREACHABLE = "WLAN_STATUS_ADV_SRV_UNREACHABLE" + WLAN_STATUS_REQ_REFUSED_SSPN = "WLAN_STATUS_REQ_REFUSED_SSPN" + WLAN_STATUS_REQ_REFUSED_UNAUTH_ACCESS = "WLAN_STATUS_REQ_REFUSED_UNAUTH_ACCESS" + WLAN_STATUS_INVALID_RSNIE = "WLAN_STATUS_INVALID_RSNIE" + WLAN_STATUS_U_APSD_COEX_NOT_SUPPORTED = "WLAN_STATUS_U_APSD_COEX_NOT_SUPPORTED" + WLAN_STATUS_U_APSD_COEX_MODE_NOT_SUPPORTED = "WLAN_STATUS_U_APSD_COEX_MODE_NOT_SUPPORTED" + WLAN_STATUS_BAD_INTERVAL_WITH_U_APSD_COEX = "WLAN_STATUS_BAD_INTERVAL_WITH_U_APSD_COEX" + WLAN_STATUS_ANTI_CLOGGING_TOKEN_REQ = "WLAN_STATUS_ANTI_CLOGGING_TOKEN_REQ" + WLAN_STATUS_FINITE_CYCLIC_GROUP_NOT_SUPPORTED = "WLAN_STATUS_FINITE_CYCLIC_GROUP_NOT_SUPPORTED" + WLAN_STATUS_CANNOT_FIND_ALT_TBTT = "WLAN_STATUS_CANNOT_FIND_ALT_TBTT" + WLAN_STATUS_TRANSMISSION_FAILURE = "WLAN_STATUS_TRANSMISSION_FAILURE" + WLAN_STATUS_REQ_TCLAS_NOT_SUPPORTED = "WLAN_STATUS_REQ_TCLAS_NOT_SUPPORTED" + WLAN_STATUS_TCLAS_RESOURCES_EXCHAUSTED = "WLAN_STATUS_TCLAS_RESOURCES_EXCHAUSTED" + WLAN_STATUS_REJECTED_WITH_SUGGESTED_BSS_TRANSITION = "WLAN_STATUS_REJECTED_WITH_SUGGESTED_BSS_TRANSITION" + WLAN_STATUS_REJECT_WITH_SCHEDULE = "WLAN_STATUS_REJECT_WITH_SCHEDULE" + WLAN_STATUS_REJECT_NO_WAKEUP_SPECIFIED = "WLAN_STATUS_REJECT_NO_WAKEUP_SPECIFIED" + WLAN_STATUS_SUCCESS_POWER_SAVE_MODE = "WLAN_STATUS_SUCCESS_POWER_SAVE_MODE" + WLAN_STATUS_PENDING_ADMITTING_FST_SESSION = "WLAN_STATUS_PENDING_ADMITTING_FST_SESSION" + WLAN_STATUS_PERFORMING_FST_NOW = "WLAN_STATUS_PERFORMING_FST_NOW" + WLAN_STATUS_PENDING_GAP_IN_BA_WINDOW = "WLAN_STATUS_PENDING_GAP_IN_BA_WINDOW" + WLAN_STATUS_REJECT_U_PID_SETTING = "WLAN_STATUS_REJECT_U_PID_SETTING" + WLAN_STATUS_REFUSED_EXTERNAL_REASON = "WLAN_STATUS_REFUSED_EXTERNAL_REASON" + WLAN_STATUS_REFUSED_AP_OUT_OF_MEMORY = "WLAN_STATUS_REFUSED_AP_OUT_OF_MEMORY" + WLAN_STATUS_REJECTED_EMERGENCY_SERVICE_NOT_SUPPORTED = "WLAN_STATUS_REJECTED_EMERGENCY_SERVICE_NOT_SUPPORTED" + WLAN_STATUS_QUERY_RESP_OUTSTANDING = "WLAN_STATUS_QUERY_RESP_OUTSTANDING" + WLAN_STATUS_REJECT_DSE_BAND = "WLAN_STATUS_REJECT_DSE_BAND" + WLAN_STATUS_TCLAS_PROCESSING_TERMINATED = "WLAN_STATUS_TCLAS_PROCESSING_TERMINATED" + WLAN_STATUS_TS_SCHEDULE_CONFLICT = "WLAN_STATUS_TS_SCHEDULE_CONFLICT" + WLAN_STATUS_DENIED_WITH_SUGGESTED_BAND_AND_CHANNEL = "WLAN_STATUS_DENIED_WITH_SUGGESTED_BAND_AND_CHANNEL" + WLAN_STATUS_MCCAOP_RESERVATION_CONFLICT = "WLAN_STATUS_MCCAOP_RESERVATION_CONFLICT" + WLAN_STATUS_MAF_LIMIT_EXCEEDED = "WLAN_STATUS_MAF_LIMIT_EXCEEDED" + WLAN_STATUS_MCCA_TRACK_LIMIT_EXCEEDED = "WLAN_STATUS_MCCA_TRACK_LIMIT_EXCEEDED" + WLAN_STATUS_DENIED_DUE_TO_SPECTRUM_MANAGEMENT = "WLAN_STATUS_DENIED_DUE_TO_SPECTRUM_MANAGEMENT" + WLAN_STATUS_ASSOC_DENIED_NO_VHT = "WLAN_STATUS_ASSOC_DENIED_NO_VHT" + WLAN_STATUS_ENABLEMENT_DENIED = "WLAN_STATUS_ENABLEMENT_DENIED" + WLAN_STATUS_RESTRICTION_FROM_AUTHORIZED_GDB = "WLAN_STATUS_RESTRICTION_FROM_AUTHORIZED_GDB" + WLAN_STATUS_AUTHORIZATION_DEENABLED = "WLAN_STATUS_AUTHORIZATION_DEENABLED" + WLAN_STATUS_FILS_AUTHENTICATION_FAILURE = "WLAN_STATUS_FILS_AUTHENTICATION_FAILURE" + WLAN_STATUS_UNKNOWN_AUTHENTICATION_SERVER = "WLAN_STATUS_UNKNOWN_AUTHENTICATION_SERVER" + WLAN_STATUS_UNKNOWN_PASSWORD_IDENTIFIER = "WLAN_STATUS_UNKNOWN_PASSWORD_IDENTIFIER" + WLAN_STATUS_SAE_HASH_TO_ELEMENT = "WLAN_STATUS_SAE_HASH_TO_ELEMENT" + WLAN_STATUS_SAE_PK = "WLAN_STATUS_SAE_PK" + UNSUPPORTED = "UNSUPPORTED" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """WlanStatusCode - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(WlanStatusCode, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, WlanStatusCode): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/wmm_queue_stats.py b/libs/cloudapi/cloudsdk/swagger_client/models/wmm_queue_stats.py new file mode 100644 index 000000000..57a7092d9 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/wmm_queue_stats.py @@ -0,0 +1,422 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class WmmQueueStats(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'queue_type': 'WmmQueueType', + 'tx_frames': 'int', + 'tx_bytes': 'int', + 'tx_failed_frames': 'int', + 'tx_failed_bytes': 'int', + 'rx_frames': 'int', + 'rx_bytes': 'int', + 'rx_failed_frames': 'int', + 'rx_failed_bytes': 'int', + 'forward_frames': 'int', + 'forward_bytes': 'int', + 'tx_expired_frames': 'int', + 'tx_expired_bytes': 'int' + } + + attribute_map = { + 'queue_type': 'queueType', + 'tx_frames': 'txFrames', + 'tx_bytes': 'txBytes', + 'tx_failed_frames': 'txFailedFrames', + 'tx_failed_bytes': 'txFailedBytes', + 'rx_frames': 'rxFrames', + 'rx_bytes': 'rxBytes', + 'rx_failed_frames': 'rxFailedFrames', + 'rx_failed_bytes': 'rxFailedBytes', + 'forward_frames': 'forwardFrames', + 'forward_bytes': 'forwardBytes', + 'tx_expired_frames': 'txExpiredFrames', + 'tx_expired_bytes': 'txExpiredBytes' + } + + def __init__(self, queue_type=None, tx_frames=None, tx_bytes=None, tx_failed_frames=None, tx_failed_bytes=None, rx_frames=None, rx_bytes=None, rx_failed_frames=None, rx_failed_bytes=None, forward_frames=None, forward_bytes=None, tx_expired_frames=None, tx_expired_bytes=None): # noqa: E501 + """WmmQueueStats - a model defined in Swagger""" # noqa: E501 + self._queue_type = None + self._tx_frames = None + self._tx_bytes = None + self._tx_failed_frames = None + self._tx_failed_bytes = None + self._rx_frames = None + self._rx_bytes = None + self._rx_failed_frames = None + self._rx_failed_bytes = None + self._forward_frames = None + self._forward_bytes = None + self._tx_expired_frames = None + self._tx_expired_bytes = None + self.discriminator = None + if queue_type is not None: + self.queue_type = queue_type + if tx_frames is not None: + self.tx_frames = tx_frames + if tx_bytes is not None: + self.tx_bytes = tx_bytes + if tx_failed_frames is not None: + self.tx_failed_frames = tx_failed_frames + if tx_failed_bytes is not None: + self.tx_failed_bytes = tx_failed_bytes + if rx_frames is not None: + self.rx_frames = rx_frames + if rx_bytes is not None: + self.rx_bytes = rx_bytes + if rx_failed_frames is not None: + self.rx_failed_frames = rx_failed_frames + if rx_failed_bytes is not None: + self.rx_failed_bytes = rx_failed_bytes + if forward_frames is not None: + self.forward_frames = forward_frames + if forward_bytes is not None: + self.forward_bytes = forward_bytes + if tx_expired_frames is not None: + self.tx_expired_frames = tx_expired_frames + if tx_expired_bytes is not None: + self.tx_expired_bytes = tx_expired_bytes + + @property + def queue_type(self): + """Gets the queue_type of this WmmQueueStats. # noqa: E501 + + + :return: The queue_type of this WmmQueueStats. # noqa: E501 + :rtype: WmmQueueType + """ + return self._queue_type + + @queue_type.setter + def queue_type(self, queue_type): + """Sets the queue_type of this WmmQueueStats. + + + :param queue_type: The queue_type of this WmmQueueStats. # noqa: E501 + :type: WmmQueueType + """ + + self._queue_type = queue_type + + @property + def tx_frames(self): + """Gets the tx_frames of this WmmQueueStats. # noqa: E501 + + + :return: The tx_frames of this WmmQueueStats. # noqa: E501 + :rtype: int + """ + return self._tx_frames + + @tx_frames.setter + def tx_frames(self, tx_frames): + """Sets the tx_frames of this WmmQueueStats. + + + :param tx_frames: The tx_frames of this WmmQueueStats. # noqa: E501 + :type: int + """ + + self._tx_frames = tx_frames + + @property + def tx_bytes(self): + """Gets the tx_bytes of this WmmQueueStats. # noqa: E501 + + + :return: The tx_bytes of this WmmQueueStats. # noqa: E501 + :rtype: int + """ + return self._tx_bytes + + @tx_bytes.setter + def tx_bytes(self, tx_bytes): + """Sets the tx_bytes of this WmmQueueStats. + + + :param tx_bytes: The tx_bytes of this WmmQueueStats. # noqa: E501 + :type: int + """ + + self._tx_bytes = tx_bytes + + @property + def tx_failed_frames(self): + """Gets the tx_failed_frames of this WmmQueueStats. # noqa: E501 + + + :return: The tx_failed_frames of this WmmQueueStats. # noqa: E501 + :rtype: int + """ + return self._tx_failed_frames + + @tx_failed_frames.setter + def tx_failed_frames(self, tx_failed_frames): + """Sets the tx_failed_frames of this WmmQueueStats. + + + :param tx_failed_frames: The tx_failed_frames of this WmmQueueStats. # noqa: E501 + :type: int + """ + + self._tx_failed_frames = tx_failed_frames + + @property + def tx_failed_bytes(self): + """Gets the tx_failed_bytes of this WmmQueueStats. # noqa: E501 + + + :return: The tx_failed_bytes of this WmmQueueStats. # noqa: E501 + :rtype: int + """ + return self._tx_failed_bytes + + @tx_failed_bytes.setter + def tx_failed_bytes(self, tx_failed_bytes): + """Sets the tx_failed_bytes of this WmmQueueStats. + + + :param tx_failed_bytes: The tx_failed_bytes of this WmmQueueStats. # noqa: E501 + :type: int + """ + + self._tx_failed_bytes = tx_failed_bytes + + @property + def rx_frames(self): + """Gets the rx_frames of this WmmQueueStats. # noqa: E501 + + + :return: The rx_frames of this WmmQueueStats. # noqa: E501 + :rtype: int + """ + return self._rx_frames + + @rx_frames.setter + def rx_frames(self, rx_frames): + """Sets the rx_frames of this WmmQueueStats. + + + :param rx_frames: The rx_frames of this WmmQueueStats. # noqa: E501 + :type: int + """ + + self._rx_frames = rx_frames + + @property + def rx_bytes(self): + """Gets the rx_bytes of this WmmQueueStats. # noqa: E501 + + + :return: The rx_bytes of this WmmQueueStats. # noqa: E501 + :rtype: int + """ + return self._rx_bytes + + @rx_bytes.setter + def rx_bytes(self, rx_bytes): + """Sets the rx_bytes of this WmmQueueStats. + + + :param rx_bytes: The rx_bytes of this WmmQueueStats. # noqa: E501 + :type: int + """ + + self._rx_bytes = rx_bytes + + @property + def rx_failed_frames(self): + """Gets the rx_failed_frames of this WmmQueueStats. # noqa: E501 + + + :return: The rx_failed_frames of this WmmQueueStats. # noqa: E501 + :rtype: int + """ + return self._rx_failed_frames + + @rx_failed_frames.setter + def rx_failed_frames(self, rx_failed_frames): + """Sets the rx_failed_frames of this WmmQueueStats. + + + :param rx_failed_frames: The rx_failed_frames of this WmmQueueStats. # noqa: E501 + :type: int + """ + + self._rx_failed_frames = rx_failed_frames + + @property + def rx_failed_bytes(self): + """Gets the rx_failed_bytes of this WmmQueueStats. # noqa: E501 + + + :return: The rx_failed_bytes of this WmmQueueStats. # noqa: E501 + :rtype: int + """ + return self._rx_failed_bytes + + @rx_failed_bytes.setter + def rx_failed_bytes(self, rx_failed_bytes): + """Sets the rx_failed_bytes of this WmmQueueStats. + + + :param rx_failed_bytes: The rx_failed_bytes of this WmmQueueStats. # noqa: E501 + :type: int + """ + + self._rx_failed_bytes = rx_failed_bytes + + @property + def forward_frames(self): + """Gets the forward_frames of this WmmQueueStats. # noqa: E501 + + + :return: The forward_frames of this WmmQueueStats. # noqa: E501 + :rtype: int + """ + return self._forward_frames + + @forward_frames.setter + def forward_frames(self, forward_frames): + """Sets the forward_frames of this WmmQueueStats. + + + :param forward_frames: The forward_frames of this WmmQueueStats. # noqa: E501 + :type: int + """ + + self._forward_frames = forward_frames + + @property + def forward_bytes(self): + """Gets the forward_bytes of this WmmQueueStats. # noqa: E501 + + + :return: The forward_bytes of this WmmQueueStats. # noqa: E501 + :rtype: int + """ + return self._forward_bytes + + @forward_bytes.setter + def forward_bytes(self, forward_bytes): + """Sets the forward_bytes of this WmmQueueStats. + + + :param forward_bytes: The forward_bytes of this WmmQueueStats. # noqa: E501 + :type: int + """ + + self._forward_bytes = forward_bytes + + @property + def tx_expired_frames(self): + """Gets the tx_expired_frames of this WmmQueueStats. # noqa: E501 + + + :return: The tx_expired_frames of this WmmQueueStats. # noqa: E501 + :rtype: int + """ + return self._tx_expired_frames + + @tx_expired_frames.setter + def tx_expired_frames(self, tx_expired_frames): + """Sets the tx_expired_frames of this WmmQueueStats. + + + :param tx_expired_frames: The tx_expired_frames of this WmmQueueStats. # noqa: E501 + :type: int + """ + + self._tx_expired_frames = tx_expired_frames + + @property + def tx_expired_bytes(self): + """Gets the tx_expired_bytes of this WmmQueueStats. # noqa: E501 + + + :return: The tx_expired_bytes of this WmmQueueStats. # noqa: E501 + :rtype: int + """ + return self._tx_expired_bytes + + @tx_expired_bytes.setter + def tx_expired_bytes(self, tx_expired_bytes): + """Sets the tx_expired_bytes of this WmmQueueStats. + + + :param tx_expired_bytes: The tx_expired_bytes of this WmmQueueStats. # noqa: E501 + :type: int + """ + + self._tx_expired_bytes = tx_expired_bytes + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(WmmQueueStats, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, WmmQueueStats): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/wmm_queue_stats_per_queue_type_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/wmm_queue_stats_per_queue_type_map.py new file mode 100644 index 000000000..94b43d2b3 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/wmm_queue_stats_per_queue_type_map.py @@ -0,0 +1,188 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class WmmQueueStatsPerQueueTypeMap(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'be': 'WmmQueueStats', + 'bk': 'WmmQueueStats', + 'vi': 'WmmQueueStats', + 'vo': 'WmmQueueStats' + } + + attribute_map = { + 'be': 'BE', + 'bk': 'BK', + 'vi': 'VI', + 'vo': 'VO' + } + + def __init__(self, be=None, bk=None, vi=None, vo=None): # noqa: E501 + """WmmQueueStatsPerQueueTypeMap - a model defined in Swagger""" # noqa: E501 + self._be = None + self._bk = None + self._vi = None + self._vo = None + self.discriminator = None + if be is not None: + self.be = be + if bk is not None: + self.bk = bk + if vi is not None: + self.vi = vi + if vo is not None: + self.vo = vo + + @property + def be(self): + """Gets the be of this WmmQueueStatsPerQueueTypeMap. # noqa: E501 + + + :return: The be of this WmmQueueStatsPerQueueTypeMap. # noqa: E501 + :rtype: WmmQueueStats + """ + return self._be + + @be.setter + def be(self, be): + """Sets the be of this WmmQueueStatsPerQueueTypeMap. + + + :param be: The be of this WmmQueueStatsPerQueueTypeMap. # noqa: E501 + :type: WmmQueueStats + """ + + self._be = be + + @property + def bk(self): + """Gets the bk of this WmmQueueStatsPerQueueTypeMap. # noqa: E501 + + + :return: The bk of this WmmQueueStatsPerQueueTypeMap. # noqa: E501 + :rtype: WmmQueueStats + """ + return self._bk + + @bk.setter + def bk(self, bk): + """Sets the bk of this WmmQueueStatsPerQueueTypeMap. + + + :param bk: The bk of this WmmQueueStatsPerQueueTypeMap. # noqa: E501 + :type: WmmQueueStats + """ + + self._bk = bk + + @property + def vi(self): + """Gets the vi of this WmmQueueStatsPerQueueTypeMap. # noqa: E501 + + + :return: The vi of this WmmQueueStatsPerQueueTypeMap. # noqa: E501 + :rtype: WmmQueueStats + """ + return self._vi + + @vi.setter + def vi(self, vi): + """Sets the vi of this WmmQueueStatsPerQueueTypeMap. + + + :param vi: The vi of this WmmQueueStatsPerQueueTypeMap. # noqa: E501 + :type: WmmQueueStats + """ + + self._vi = vi + + @property + def vo(self): + """Gets the vo of this WmmQueueStatsPerQueueTypeMap. # noqa: E501 + + + :return: The vo of this WmmQueueStatsPerQueueTypeMap. # noqa: E501 + :rtype: WmmQueueStats + """ + return self._vo + + @vo.setter + def vo(self, vo): + """Sets the vo of this WmmQueueStatsPerQueueTypeMap. + + + :param vo: The vo of this WmmQueueStatsPerQueueTypeMap. # noqa: E501 + :type: WmmQueueStats + """ + + self._vo = vo + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(WmmQueueStatsPerQueueTypeMap, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, WmmQueueStatsPerQueueTypeMap): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/wmm_queue_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/wmm_queue_type.py new file mode 100644 index 000000000..a0db88441 --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/models/wmm_queue_type.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class WmmQueueType(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + BE = "BE" + BK = "BK" + VI = "VI" + VO = "VO" + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """WmmQueueType - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a 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 + if issubclass(WmmQueueType, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + 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""" + if not isinstance(other, WmmQueueType): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/rest.py b/libs/cloudapi/cloudsdk/swagger_client/rest.py new file mode 100644 index 000000000..3e7a249bf --- /dev/null +++ b/libs/cloudapi/cloudsdk/swagger_client/rest.py @@ -0,0 +1,322 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import io +import json +import logging +import re +import ssl + +import certifi +# python 2 and python 3 compatibility library +import six +from six.moves.urllib.parse import urlencode + +try: + import urllib3 +except ImportError: + raise ImportError('Swagger python client requires urllib3.') + + +logger = logging.getLogger(__name__) + + +class RESTResponse(io.IOBase): + + def __init__(self, resp): + self.urllib3_response = resp + self.status = resp.status + self.reason = resp.reason + self.data = resp.data + + def getheaders(self): + """Returns a dictionary of the response headers.""" + return self.urllib3_response.getheaders() + + def getheader(self, name, default=None): + """Returns a given response header.""" + return self.urllib3_response.getheader(name, default) + + +class RESTClientObject(object): + + def __init__(self, configuration, pools_size=4, maxsize=None): + # urllib3.PoolManager will pass all kw parameters to connectionpool + # https://github.com/shazow/urllib3/blob/f9409436f83aeb79fbaf090181cd81b784f1b8ce/urllib3/poolmanager.py#L75 # noqa: E501 + # https://github.com/shazow/urllib3/blob/f9409436f83aeb79fbaf090181cd81b784f1b8ce/urllib3/connectionpool.py#L680 # noqa: E501 + # maxsize is the number of requests to host that are allowed in parallel # noqa: E501 + # Custom SSL certificates and client certificates: http://urllib3.readthedocs.io/en/latest/advanced-usage.html # noqa: E501 + + # cert_reqs + if configuration.verify_ssl: + cert_reqs = ssl.CERT_REQUIRED + else: + cert_reqs = ssl.CERT_NONE + + # ca_certs + if configuration.ssl_ca_cert: + ca_certs = configuration.ssl_ca_cert + else: + # if not set certificate file, use Mozilla's root certificates. + ca_certs = certifi.where() + + addition_pool_args = {} + if configuration.assert_hostname is not None: + addition_pool_args['assert_hostname'] = configuration.assert_hostname # noqa: E501 + + if maxsize is None: + if configuration.connection_pool_maxsize is not None: + maxsize = configuration.connection_pool_maxsize + else: + maxsize = 4 + + # https pool manager + if configuration.proxy: + self.pool_manager = urllib3.ProxyManager( + num_pools=pools_size, + maxsize=maxsize, + cert_reqs=cert_reqs, + ca_certs=ca_certs, + cert_file=configuration.cert_file, + key_file=configuration.key_file, + proxy_url=configuration.proxy, + **addition_pool_args + ) + else: + self.pool_manager = urllib3.PoolManager( + num_pools=pools_size, + maxsize=maxsize, + cert_reqs=cert_reqs, + ca_certs=ca_certs, + cert_file=configuration.cert_file, + key_file=configuration.key_file, + **addition_pool_args + ) + + def request(self, method, url, query_params=None, headers=None, + body=None, post_params=None, _preload_content=True, + _request_timeout=None): + """Perform requests. + + :param method: http request method + :param url: http request url + :param query_params: query parameters in the url + :param headers: http request headers + :param body: request json body, for `application/json` + :param post_params: request post parameters, + `application/x-www-form-urlencoded` + and `multipart/form-data` + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + """ + method = method.upper() + assert method in ['GET', 'HEAD', 'DELETE', 'POST', 'PUT', + 'PATCH', 'OPTIONS'] + + if post_params and body: + raise ValueError( + "body parameter cannot be used with post_params parameter." + ) + + post_params = post_params or {} + headers = headers or {} + + timeout = None + if _request_timeout: + if isinstance(_request_timeout, (int, ) if six.PY3 else (int, long)): # noqa: E501,F821 + timeout = urllib3.Timeout(total=_request_timeout) + elif (isinstance(_request_timeout, tuple) and + len(_request_timeout) == 2): + timeout = urllib3.Timeout( + connect=_request_timeout[0], read=_request_timeout[1]) + + if 'Content-Type' not in headers: + headers['Content-Type'] = 'application/json' + + try: + # For `POST`, `PUT`, `PATCH`, `OPTIONS`, `DELETE` + if method in ['POST', 'PUT', 'PATCH', 'OPTIONS', 'DELETE']: + if query_params: + url += '?' + urlencode(query_params) + if re.search('json', headers['Content-Type'], re.IGNORECASE): + request_body = '{}' + if body is not None: + request_body = json.dumps(body) + r = self.pool_manager.request( + method, url, + body=request_body, + preload_content=_preload_content, + timeout=timeout, + headers=headers) + elif headers['Content-Type'] == 'application/x-www-form-urlencoded': # noqa: E501 + r = self.pool_manager.request( + method, url, + fields=post_params, + encode_multipart=False, + preload_content=_preload_content, + timeout=timeout, + headers=headers) + elif headers['Content-Type'] == 'multipart/form-data': + # must del headers['Content-Type'], or the correct + # Content-Type which generated by urllib3 will be + # overwritten. + del headers['Content-Type'] + r = self.pool_manager.request( + method, url, + fields=post_params, + encode_multipart=True, + preload_content=_preload_content, + timeout=timeout, + headers=headers) + # Pass a `string` parameter directly in the body to support + # other content types than Json when `body` argument is + # provided in serialized form + elif isinstance(body, str): + request_body = body + r = self.pool_manager.request( + method, url, + body=request_body, + preload_content=_preload_content, + timeout=timeout, + headers=headers) + else: + # Cannot generate the request from given parameters + msg = """Cannot prepare a request message for provided + arguments. Please check that your arguments match + declared content type.""" + raise ApiException(status=0, reason=msg) + # For `GET`, `HEAD` + else: + r = self.pool_manager.request(method, url, + fields=query_params, + preload_content=_preload_content, + timeout=timeout, + headers=headers) + except urllib3.exceptions.SSLError as e: + msg = "{0}\n{1}".format(type(e).__name__, str(e)) + raise ApiException(status=0, reason=msg) + + if _preload_content: + r = RESTResponse(r) + + # In the python 3, the response.data is bytes. + # we need to decode it to string. + if six.PY3: + r.data = r.data.decode('utf8') + + # log response body + logger.debug("response body: %s", r.data) + + if not 200 <= r.status <= 299: + raise ApiException(http_resp=r) + + return r + + def GET(self, url, headers=None, query_params=None, _preload_content=True, + _request_timeout=None): + return self.request("GET", url, + headers=headers, + _preload_content=_preload_content, + _request_timeout=_request_timeout, + query_params=query_params) + + def HEAD(self, url, headers=None, query_params=None, _preload_content=True, + _request_timeout=None): + return self.request("HEAD", url, + headers=headers, + _preload_content=_preload_content, + _request_timeout=_request_timeout, + query_params=query_params) + + def OPTIONS(self, url, headers=None, query_params=None, post_params=None, + body=None, _preload_content=True, _request_timeout=None): + return self.request("OPTIONS", url, + headers=headers, + query_params=query_params, + post_params=post_params, + _preload_content=_preload_content, + _request_timeout=_request_timeout, + body=body) + + def DELETE(self, url, headers=None, query_params=None, body=None, + _preload_content=True, _request_timeout=None): + return self.request("DELETE", url, + headers=headers, + query_params=query_params, + _preload_content=_preload_content, + _request_timeout=_request_timeout, + body=body) + + def POST(self, url, headers=None, query_params=None, post_params=None, + body=None, _preload_content=True, _request_timeout=None): + return self.request("POST", url, + headers=headers, + query_params=query_params, + post_params=post_params, + _preload_content=_preload_content, + _request_timeout=_request_timeout, + body=body) + + def PUT(self, url, headers=None, query_params=None, post_params=None, + body=None, _preload_content=True, _request_timeout=None): + return self.request("PUT", url, + headers=headers, + query_params=query_params, + post_params=post_params, + _preload_content=_preload_content, + _request_timeout=_request_timeout, + body=body) + + def PATCH(self, url, headers=None, query_params=None, post_params=None, + body=None, _preload_content=True, _request_timeout=None): + return self.request("PATCH", url, + headers=headers, + query_params=query_params, + post_params=post_params, + _preload_content=_preload_content, + _request_timeout=_request_timeout, + body=body) + + +class ApiException(Exception): + + def __init__(self, status=None, reason=None, http_resp=None): + if http_resp: + self.status = http_resp.status + self.reason = http_resp.reason + self.body = http_resp.data + self.headers = http_resp.getheaders() + else: + self.status = status + self.reason = reason + self.body = None + self.headers = None + + def __str__(self): + """Custom error messages for exception""" + error_message = "({0})\n"\ + "Reason: {1}\n".format(self.status, self.reason) + if self.headers: + error_message += "HTTP response headers: {0}\n".format( + self.headers) + + if self.body: + error_message += "HTTP response body: {0}\n".format(self.body) + + return error_message diff --git a/libs/cloudapi/cloudsdk/test-requirements.txt b/libs/cloudapi/cloudsdk/test-requirements.txt new file mode 100644 index 000000000..2702246c0 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test-requirements.txt @@ -0,0 +1,5 @@ +coverage>=4.0.3 +nose>=1.3.7 +pluggy>=0.3.1 +py>=1.4.31 +randomize>=0.13 diff --git a/libs/cloudapi/cloudsdk/test/__init__.py b/libs/cloudapi/cloudsdk/test/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/libs/cloudapi/cloudsdk/test/test_acl_template.py b/libs/cloudapi/cloudsdk/test/test_acl_template.py new file mode 100644 index 000000000..599294b74 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_acl_template.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.acl_template import AclTemplate # noqa: E501 +from swagger_client.rest import ApiException + + +class TestAclTemplate(unittest.TestCase): + """AclTemplate unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAclTemplate(self): + """Test AclTemplate""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.acl_template.AclTemplate() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_active_bssi_ds.py b/libs/cloudapi/cloudsdk/test/test_active_bssi_ds.py new file mode 100644 index 000000000..2aab50f56 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_active_bssi_ds.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.active_bssi_ds import ActiveBSSIDs # noqa: E501 +from swagger_client.rest import ApiException + + +class TestActiveBSSIDs(unittest.TestCase): + """ActiveBSSIDs unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testActiveBSSIDs(self): + """Test ActiveBSSIDs""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.active_bssi_ds.ActiveBSSIDs() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_active_bssid.py b/libs/cloudapi/cloudsdk/test/test_active_bssid.py new file mode 100644 index 000000000..af5638a6b --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_active_bssid.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.active_bssid import ActiveBSSID # noqa: E501 +from swagger_client.rest import ApiException + + +class TestActiveBSSID(unittest.TestCase): + """ActiveBSSID unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testActiveBSSID(self): + """Test ActiveBSSID""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.active_bssid.ActiveBSSID() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_active_scan_settings.py b/libs/cloudapi/cloudsdk/test/test_active_scan_settings.py new file mode 100644 index 000000000..24570bc91 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_active_scan_settings.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.active_scan_settings import ActiveScanSettings # noqa: E501 +from swagger_client.rest import ApiException + + +class TestActiveScanSettings(unittest.TestCase): + """ActiveScanSettings unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testActiveScanSettings(self): + """Test ActiveScanSettings""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.active_scan_settings.ActiveScanSettings() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_advanced_radio_map.py b/libs/cloudapi/cloudsdk/test/test_advanced_radio_map.py new file mode 100644 index 000000000..035c8e4c7 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_advanced_radio_map.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.advanced_radio_map import AdvancedRadioMap # noqa: E501 +from swagger_client.rest import ApiException + + +class TestAdvancedRadioMap(unittest.TestCase): + """AdvancedRadioMap unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdvancedRadioMap(self): + """Test AdvancedRadioMap""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.advanced_radio_map.AdvancedRadioMap() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_alarm.py b/libs/cloudapi/cloudsdk/test/test_alarm.py new file mode 100644 index 000000000..eabcd222a --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_alarm.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.alarm import Alarm # noqa: E501 +from swagger_client.rest import ApiException + + +class TestAlarm(unittest.TestCase): + """Alarm unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAlarm(self): + """Test Alarm""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.alarm.Alarm() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_alarm_added_event.py b/libs/cloudapi/cloudsdk/test/test_alarm_added_event.py new file mode 100644 index 000000000..d4ade18f7 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_alarm_added_event.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.alarm_added_event import AlarmAddedEvent # noqa: E501 +from swagger_client.rest import ApiException + + +class TestAlarmAddedEvent(unittest.TestCase): + """AlarmAddedEvent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAlarmAddedEvent(self): + """Test AlarmAddedEvent""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.alarm_added_event.AlarmAddedEvent() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_alarm_changed_event.py b/libs/cloudapi/cloudsdk/test/test_alarm_changed_event.py new file mode 100644 index 000000000..8a1265363 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_alarm_changed_event.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.alarm_changed_event import AlarmChangedEvent # noqa: E501 +from swagger_client.rest import ApiException + + +class TestAlarmChangedEvent(unittest.TestCase): + """AlarmChangedEvent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAlarmChangedEvent(self): + """Test AlarmChangedEvent""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.alarm_changed_event.AlarmChangedEvent() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_alarm_code.py b/libs/cloudapi/cloudsdk/test/test_alarm_code.py new file mode 100644 index 000000000..2d9fe98f4 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_alarm_code.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.alarm_code import AlarmCode # noqa: E501 +from swagger_client.rest import ApiException + + +class TestAlarmCode(unittest.TestCase): + """AlarmCode unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAlarmCode(self): + """Test AlarmCode""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.alarm_code.AlarmCode() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_alarm_counts.py b/libs/cloudapi/cloudsdk/test/test_alarm_counts.py new file mode 100644 index 000000000..fddf36484 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_alarm_counts.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.alarm_counts import AlarmCounts # noqa: E501 +from swagger_client.rest import ApiException + + +class TestAlarmCounts(unittest.TestCase): + """AlarmCounts unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAlarmCounts(self): + """Test AlarmCounts""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.alarm_counts.AlarmCounts() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_alarm_details.py b/libs/cloudapi/cloudsdk/test/test_alarm_details.py new file mode 100644 index 000000000..cede1007e --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_alarm_details.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.alarm_details import AlarmDetails # noqa: E501 +from swagger_client.rest import ApiException + + +class TestAlarmDetails(unittest.TestCase): + """AlarmDetails unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAlarmDetails(self): + """Test AlarmDetails""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.alarm_details.AlarmDetails() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_alarm_details_attributes_map.py b/libs/cloudapi/cloudsdk/test/test_alarm_details_attributes_map.py new file mode 100644 index 000000000..a519d0ce2 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_alarm_details_attributes_map.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.alarm_details_attributes_map import AlarmDetailsAttributesMap # noqa: E501 +from swagger_client.rest import ApiException + + +class TestAlarmDetailsAttributesMap(unittest.TestCase): + """AlarmDetailsAttributesMap unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAlarmDetailsAttributesMap(self): + """Test AlarmDetailsAttributesMap""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.alarm_details_attributes_map.AlarmDetailsAttributesMap() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_alarm_removed_event.py b/libs/cloudapi/cloudsdk/test/test_alarm_removed_event.py new file mode 100644 index 000000000..e88328870 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_alarm_removed_event.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.alarm_removed_event import AlarmRemovedEvent # noqa: E501 +from swagger_client.rest import ApiException + + +class TestAlarmRemovedEvent(unittest.TestCase): + """AlarmRemovedEvent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAlarmRemovedEvent(self): + """Test AlarmRemovedEvent""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.alarm_removed_event.AlarmRemovedEvent() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_alarm_scope_type.py b/libs/cloudapi/cloudsdk/test/test_alarm_scope_type.py new file mode 100644 index 000000000..c968895de --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_alarm_scope_type.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.alarm_scope_type import AlarmScopeType # noqa: E501 +from swagger_client.rest import ApiException + + +class TestAlarmScopeType(unittest.TestCase): + """AlarmScopeType unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAlarmScopeType(self): + """Test AlarmScopeType""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.alarm_scope_type.AlarmScopeType() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_alarms_api.py b/libs/cloudapi/cloudsdk/test/test_alarms_api.py new file mode 100644 index 000000000..9aa763026 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_alarms_api.py @@ -0,0 +1,75 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.api.alarms_api import AlarmsApi # noqa: E501 +from swagger_client.rest import ApiException + + +class TestAlarmsApi(unittest.TestCase): + """AlarmsApi unit test stubs""" + + def setUp(self): + self.api = AlarmsApi() # noqa: E501 + + def tearDown(self): + pass + + def test_delete_alarm(self): + """Test case for delete_alarm + + Delete Alarm # noqa: E501 + """ + pass + + def test_get_alarm_counts(self): + """Test case for get_alarm_counts + + Get counts of Alarms for customerId, optional set of equipment ids, optional set of alarm codes. # noqa: E501 + """ + pass + + def test_get_alarmsfor_customer(self): + """Test case for get_alarmsfor_customer + + Get list of Alarms for customerId, optional set of equipment ids, optional set of alarm codes. # noqa: E501 + """ + pass + + def test_get_alarmsfor_equipment(self): + """Test case for get_alarmsfor_equipment + + Get list of Alarms for customerId, set of equipment ids, and set of alarm codes. # noqa: E501 + """ + pass + + def test_reset_alarm_counts(self): + """Test case for reset_alarm_counts + + Reset accumulated counts of Alarms. # noqa: E501 + """ + pass + + def test_update_alarm(self): + """Test case for update_alarm + + Update Alarm # noqa: E501 + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_antenna_type.py b/libs/cloudapi/cloudsdk/test/test_antenna_type.py new file mode 100644 index 000000000..3f402ae99 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_antenna_type.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.antenna_type import AntennaType # noqa: E501 +from swagger_client.rest import ApiException + + +class TestAntennaType(unittest.TestCase): + """AntennaType unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAntennaType(self): + """Test AntennaType""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.antenna_type.AntennaType() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_ap_element_configuration.py b/libs/cloudapi/cloudsdk/test/test_ap_element_configuration.py new file mode 100644 index 000000000..8d7b6675d --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_ap_element_configuration.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.ap_element_configuration import ApElementConfiguration # noqa: E501 +from swagger_client.rest import ApiException + + +class TestApElementConfiguration(unittest.TestCase): + """ApElementConfiguration unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testApElementConfiguration(self): + """Test ApElementConfiguration""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.ap_element_configuration.ApElementConfiguration() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_ap_mesh_mode.py b/libs/cloudapi/cloudsdk/test/test_ap_mesh_mode.py new file mode 100644 index 000000000..e8be9f495 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_ap_mesh_mode.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.ap_mesh_mode import ApMeshMode # noqa: E501 +from swagger_client.rest import ApiException + + +class TestApMeshMode(unittest.TestCase): + """ApMeshMode unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testApMeshMode(self): + """Test ApMeshMode""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.ap_mesh_mode.ApMeshMode() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_ap_network_configuration.py b/libs/cloudapi/cloudsdk/test/test_ap_network_configuration.py new file mode 100644 index 000000000..9825bcf99 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_ap_network_configuration.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.ap_network_configuration import ApNetworkConfiguration # noqa: E501 +from swagger_client.rest import ApiException + + +class TestApNetworkConfiguration(unittest.TestCase): + """ApNetworkConfiguration unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testApNetworkConfiguration(self): + """Test ApNetworkConfiguration""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.ap_network_configuration.ApNetworkConfiguration() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_ap_network_configuration_ntp_server.py b/libs/cloudapi/cloudsdk/test/test_ap_network_configuration_ntp_server.py new file mode 100644 index 000000000..31a8faa40 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_ap_network_configuration_ntp_server.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.ap_network_configuration_ntp_server import ApNetworkConfigurationNtpServer # noqa: E501 +from swagger_client.rest import ApiException + + +class TestApNetworkConfigurationNtpServer(unittest.TestCase): + """ApNetworkConfigurationNtpServer unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testApNetworkConfigurationNtpServer(self): + """Test ApNetworkConfigurationNtpServer""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.ap_network_configuration_ntp_server.ApNetworkConfigurationNtpServer() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_ap_node_metrics.py b/libs/cloudapi/cloudsdk/test/test_ap_node_metrics.py new file mode 100644 index 000000000..d2f3cbbd4 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_ap_node_metrics.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.ap_node_metrics import ApNodeMetrics # noqa: E501 +from swagger_client.rest import ApiException + + +class TestApNodeMetrics(unittest.TestCase): + """ApNodeMetrics unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testApNodeMetrics(self): + """Test ApNodeMetrics""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.ap_node_metrics.ApNodeMetrics() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_ap_performance.py b/libs/cloudapi/cloudsdk/test/test_ap_performance.py new file mode 100644 index 000000000..9d776d893 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_ap_performance.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.ap_performance import ApPerformance # noqa: E501 +from swagger_client.rest import ApiException + + +class TestApPerformance(unittest.TestCase): + """ApPerformance unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testApPerformance(self): + """Test ApPerformance""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.ap_performance.ApPerformance() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_ap_ssid_metrics.py b/libs/cloudapi/cloudsdk/test/test_ap_ssid_metrics.py new file mode 100644 index 000000000..d854d8790 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_ap_ssid_metrics.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.ap_ssid_metrics import ApSsidMetrics # noqa: E501 +from swagger_client.rest import ApiException + + +class TestApSsidMetrics(unittest.TestCase): + """ApSsidMetrics unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testApSsidMetrics(self): + """Test ApSsidMetrics""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.ap_ssid_metrics.ApSsidMetrics() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_auto_or_manual_string.py b/libs/cloudapi/cloudsdk/test/test_auto_or_manual_string.py new file mode 100644 index 000000000..98aabc5b7 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_auto_or_manual_string.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.auto_or_manual_string import AutoOrManualString # noqa: E501 +from swagger_client.rest import ApiException + + +class TestAutoOrManualString(unittest.TestCase): + """AutoOrManualString unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAutoOrManualString(self): + """Test AutoOrManualString""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.auto_or_manual_string.AutoOrManualString() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_auto_or_manual_value.py b/libs/cloudapi/cloudsdk/test/test_auto_or_manual_value.py new file mode 100644 index 000000000..98fe5e714 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_auto_or_manual_value.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.auto_or_manual_value import AutoOrManualValue # noqa: E501 +from swagger_client.rest import ApiException + + +class TestAutoOrManualValue(unittest.TestCase): + """AutoOrManualValue unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAutoOrManualValue(self): + """Test AutoOrManualValue""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.auto_or_manual_value.AutoOrManualValue() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_background_position.py b/libs/cloudapi/cloudsdk/test/test_background_position.py new file mode 100644 index 000000000..82726f63a --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_background_position.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.background_position import BackgroundPosition # noqa: E501 +from swagger_client.rest import ApiException + + +class TestBackgroundPosition(unittest.TestCase): + """BackgroundPosition unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testBackgroundPosition(self): + """Test BackgroundPosition""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.background_position.BackgroundPosition() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_background_repeat.py b/libs/cloudapi/cloudsdk/test/test_background_repeat.py new file mode 100644 index 000000000..5e7aa46ad --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_background_repeat.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.background_repeat import BackgroundRepeat # noqa: E501 +from swagger_client.rest import ApiException + + +class TestBackgroundRepeat(unittest.TestCase): + """BackgroundRepeat unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testBackgroundRepeat(self): + """Test BackgroundRepeat""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.background_repeat.BackgroundRepeat() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_banned_channel.py b/libs/cloudapi/cloudsdk/test/test_banned_channel.py new file mode 100644 index 000000000..b509acd03 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_banned_channel.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.banned_channel import BannedChannel # noqa: E501 +from swagger_client.rest import ApiException + + +class TestBannedChannel(unittest.TestCase): + """BannedChannel unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testBannedChannel(self): + """Test BannedChannel""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.banned_channel.BannedChannel() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_base_dhcp_event.py b/libs/cloudapi/cloudsdk/test/test_base_dhcp_event.py new file mode 100644 index 000000000..03b49afc3 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_base_dhcp_event.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.base_dhcp_event import BaseDhcpEvent # noqa: E501 +from swagger_client.rest import ApiException + + +class TestBaseDhcpEvent(unittest.TestCase): + """BaseDhcpEvent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testBaseDhcpEvent(self): + """Test BaseDhcpEvent""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.base_dhcp_event.BaseDhcpEvent() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_best_ap_steer_type.py b/libs/cloudapi/cloudsdk/test/test_best_ap_steer_type.py new file mode 100644 index 000000000..123d04b03 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_best_ap_steer_type.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.best_ap_steer_type import BestAPSteerType # noqa: E501 +from swagger_client.rest import ApiException + + +class TestBestAPSteerType(unittest.TestCase): + """BestAPSteerType unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testBestAPSteerType(self): + """Test BestAPSteerType""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.best_ap_steer_type.BestAPSteerType() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_blocklist_details.py b/libs/cloudapi/cloudsdk/test/test_blocklist_details.py new file mode 100644 index 000000000..03ca2bae6 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_blocklist_details.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.blocklist_details import BlocklistDetails # noqa: E501 +from swagger_client.rest import ApiException + + +class TestBlocklistDetails(unittest.TestCase): + """BlocklistDetails unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testBlocklistDetails(self): + """Test BlocklistDetails""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.blocklist_details.BlocklistDetails() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_bonjour_gateway_profile.py b/libs/cloudapi/cloudsdk/test/test_bonjour_gateway_profile.py new file mode 100644 index 000000000..045b1e8ad --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_bonjour_gateway_profile.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.bonjour_gateway_profile import BonjourGatewayProfile # noqa: E501 +from swagger_client.rest import ApiException + + +class TestBonjourGatewayProfile(unittest.TestCase): + """BonjourGatewayProfile unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testBonjourGatewayProfile(self): + """Test BonjourGatewayProfile""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.bonjour_gateway_profile.BonjourGatewayProfile() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_bonjour_service_set.py b/libs/cloudapi/cloudsdk/test/test_bonjour_service_set.py new file mode 100644 index 000000000..e16506312 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_bonjour_service_set.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.bonjour_service_set import BonjourServiceSet # noqa: E501 +from swagger_client.rest import ApiException + + +class TestBonjourServiceSet(unittest.TestCase): + """BonjourServiceSet unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testBonjourServiceSet(self): + """Test BonjourServiceSet""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.bonjour_service_set.BonjourServiceSet() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_capacity_details.py b/libs/cloudapi/cloudsdk/test/test_capacity_details.py new file mode 100644 index 000000000..45401e511 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_capacity_details.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.capacity_details import CapacityDetails # noqa: E501 +from swagger_client.rest import ApiException + + +class TestCapacityDetails(unittest.TestCase): + """CapacityDetails unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCapacityDetails(self): + """Test CapacityDetails""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.capacity_details.CapacityDetails() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_capacity_per_radio_details.py b/libs/cloudapi/cloudsdk/test/test_capacity_per_radio_details.py new file mode 100644 index 000000000..379177f61 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_capacity_per_radio_details.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.capacity_per_radio_details import CapacityPerRadioDetails # noqa: E501 +from swagger_client.rest import ApiException + + +class TestCapacityPerRadioDetails(unittest.TestCase): + """CapacityPerRadioDetails unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCapacityPerRadioDetails(self): + """Test CapacityPerRadioDetails""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.capacity_per_radio_details.CapacityPerRadioDetails() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_capacity_per_radio_details_map.py b/libs/cloudapi/cloudsdk/test/test_capacity_per_radio_details_map.py new file mode 100644 index 000000000..ebcef95d0 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_capacity_per_radio_details_map.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.capacity_per_radio_details_map import CapacityPerRadioDetailsMap # noqa: E501 +from swagger_client.rest import ApiException + + +class TestCapacityPerRadioDetailsMap(unittest.TestCase): + """CapacityPerRadioDetailsMap unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCapacityPerRadioDetailsMap(self): + """Test CapacityPerRadioDetailsMap""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.capacity_per_radio_details_map.CapacityPerRadioDetailsMap() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_captive_portal_authentication_type.py b/libs/cloudapi/cloudsdk/test/test_captive_portal_authentication_type.py new file mode 100644 index 000000000..43292a9d9 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_captive_portal_authentication_type.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.captive_portal_authentication_type import CaptivePortalAuthenticationType # noqa: E501 +from swagger_client.rest import ApiException + + +class TestCaptivePortalAuthenticationType(unittest.TestCase): + """CaptivePortalAuthenticationType unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCaptivePortalAuthenticationType(self): + """Test CaptivePortalAuthenticationType""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.captive_portal_authentication_type.CaptivePortalAuthenticationType() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_captive_portal_configuration.py b/libs/cloudapi/cloudsdk/test/test_captive_portal_configuration.py new file mode 100644 index 000000000..82ab0d149 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_captive_portal_configuration.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.captive_portal_configuration import CaptivePortalConfiguration # noqa: E501 +from swagger_client.rest import ApiException + + +class TestCaptivePortalConfiguration(unittest.TestCase): + """CaptivePortalConfiguration unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCaptivePortalConfiguration(self): + """Test CaptivePortalConfiguration""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.captive_portal_configuration.CaptivePortalConfiguration() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_channel_bandwidth.py b/libs/cloudapi/cloudsdk/test/test_channel_bandwidth.py new file mode 100644 index 000000000..dc208ee1f --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_channel_bandwidth.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.channel_bandwidth import ChannelBandwidth # noqa: E501 +from swagger_client.rest import ApiException + + +class TestChannelBandwidth(unittest.TestCase): + """ChannelBandwidth unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testChannelBandwidth(self): + """Test ChannelBandwidth""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.channel_bandwidth.ChannelBandwidth() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_channel_hop_reason.py b/libs/cloudapi/cloudsdk/test/test_channel_hop_reason.py new file mode 100644 index 000000000..d671b71e8 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_channel_hop_reason.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.channel_hop_reason import ChannelHopReason # noqa: E501 +from swagger_client.rest import ApiException + + +class TestChannelHopReason(unittest.TestCase): + """ChannelHopReason unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testChannelHopReason(self): + """Test ChannelHopReason""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.channel_hop_reason.ChannelHopReason() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_channel_hop_settings.py b/libs/cloudapi/cloudsdk/test/test_channel_hop_settings.py new file mode 100644 index 000000000..a01108b6c --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_channel_hop_settings.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.channel_hop_settings import ChannelHopSettings # noqa: E501 +from swagger_client.rest import ApiException + + +class TestChannelHopSettings(unittest.TestCase): + """ChannelHopSettings unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testChannelHopSettings(self): + """Test ChannelHopSettings""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.channel_hop_settings.ChannelHopSettings() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_channel_info.py b/libs/cloudapi/cloudsdk/test/test_channel_info.py new file mode 100644 index 000000000..a61f02b19 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_channel_info.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.channel_info import ChannelInfo # noqa: E501 +from swagger_client.rest import ApiException + + +class TestChannelInfo(unittest.TestCase): + """ChannelInfo unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testChannelInfo(self): + """Test ChannelInfo""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.channel_info.ChannelInfo() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_channel_info_reports.py b/libs/cloudapi/cloudsdk/test/test_channel_info_reports.py new file mode 100644 index 000000000..113f3a6e4 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_channel_info_reports.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.channel_info_reports import ChannelInfoReports # noqa: E501 +from swagger_client.rest import ApiException + + +class TestChannelInfoReports(unittest.TestCase): + """ChannelInfoReports unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testChannelInfoReports(self): + """Test ChannelInfoReports""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.channel_info_reports.ChannelInfoReports() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_channel_power_level.py b/libs/cloudapi/cloudsdk/test/test_channel_power_level.py new file mode 100644 index 000000000..e13a990d2 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_channel_power_level.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.channel_power_level import ChannelPowerLevel # noqa: E501 +from swagger_client.rest import ApiException + + +class TestChannelPowerLevel(unittest.TestCase): + """ChannelPowerLevel unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testChannelPowerLevel(self): + """Test ChannelPowerLevel""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.channel_power_level.ChannelPowerLevel() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_channel_utilization_details.py b/libs/cloudapi/cloudsdk/test/test_channel_utilization_details.py new file mode 100644 index 000000000..57fc1ecb7 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_channel_utilization_details.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.channel_utilization_details import ChannelUtilizationDetails # noqa: E501 +from swagger_client.rest import ApiException + + +class TestChannelUtilizationDetails(unittest.TestCase): + """ChannelUtilizationDetails unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testChannelUtilizationDetails(self): + """Test ChannelUtilizationDetails""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.channel_utilization_details.ChannelUtilizationDetails() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_channel_utilization_per_radio_details.py b/libs/cloudapi/cloudsdk/test/test_channel_utilization_per_radio_details.py new file mode 100644 index 000000000..abc08a05f --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_channel_utilization_per_radio_details.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.channel_utilization_per_radio_details import ChannelUtilizationPerRadioDetails # noqa: E501 +from swagger_client.rest import ApiException + + +class TestChannelUtilizationPerRadioDetails(unittest.TestCase): + """ChannelUtilizationPerRadioDetails unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testChannelUtilizationPerRadioDetails(self): + """Test ChannelUtilizationPerRadioDetails""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.channel_utilization_per_radio_details.ChannelUtilizationPerRadioDetails() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_channel_utilization_per_radio_details_map.py b/libs/cloudapi/cloudsdk/test/test_channel_utilization_per_radio_details_map.py new file mode 100644 index 000000000..3afa618a2 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_channel_utilization_per_radio_details_map.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.channel_utilization_per_radio_details_map import ChannelUtilizationPerRadioDetailsMap # noqa: E501 +from swagger_client.rest import ApiException + + +class TestChannelUtilizationPerRadioDetailsMap(unittest.TestCase): + """ChannelUtilizationPerRadioDetailsMap unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testChannelUtilizationPerRadioDetailsMap(self): + """Test ChannelUtilizationPerRadioDetailsMap""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.channel_utilization_per_radio_details_map.ChannelUtilizationPerRadioDetailsMap() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_channel_utilization_survey_type.py b/libs/cloudapi/cloudsdk/test/test_channel_utilization_survey_type.py new file mode 100644 index 000000000..33b858213 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_channel_utilization_survey_type.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.channel_utilization_survey_type import ChannelUtilizationSurveyType # noqa: E501 +from swagger_client.rest import ApiException + + +class TestChannelUtilizationSurveyType(unittest.TestCase): + """ChannelUtilizationSurveyType unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testChannelUtilizationSurveyType(self): + """Test ChannelUtilizationSurveyType""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.channel_utilization_survey_type.ChannelUtilizationSurveyType() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_client.py b/libs/cloudapi/cloudsdk/test/test_client.py new file mode 100644 index 000000000..e258adaed --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_client.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.client import Client # noqa: E501 +from swagger_client.rest import ApiException + + +class TestClient(unittest.TestCase): + """Client unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testClient(self): + """Test Client""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.client.Client() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_client_activity_aggregated_stats.py b/libs/cloudapi/cloudsdk/test/test_client_activity_aggregated_stats.py new file mode 100644 index 000000000..75c9d3618 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_client_activity_aggregated_stats.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.client_activity_aggregated_stats import ClientActivityAggregatedStats # noqa: E501 +from swagger_client.rest import ApiException + + +class TestClientActivityAggregatedStats(unittest.TestCase): + """ClientActivityAggregatedStats unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testClientActivityAggregatedStats(self): + """Test ClientActivityAggregatedStats""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.client_activity_aggregated_stats.ClientActivityAggregatedStats() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_client_activity_aggregated_stats_per_radio_type_map.py b/libs/cloudapi/cloudsdk/test/test_client_activity_aggregated_stats_per_radio_type_map.py new file mode 100644 index 000000000..be4e5adce --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_client_activity_aggregated_stats_per_radio_type_map.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.client_activity_aggregated_stats_per_radio_type_map import ClientActivityAggregatedStatsPerRadioTypeMap # noqa: E501 +from swagger_client.rest import ApiException + + +class TestClientActivityAggregatedStatsPerRadioTypeMap(unittest.TestCase): + """ClientActivityAggregatedStatsPerRadioTypeMap unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testClientActivityAggregatedStatsPerRadioTypeMap(self): + """Test ClientActivityAggregatedStatsPerRadioTypeMap""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.client_activity_aggregated_stats_per_radio_type_map.ClientActivityAggregatedStatsPerRadioTypeMap() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_client_added_event.py b/libs/cloudapi/cloudsdk/test/test_client_added_event.py new file mode 100644 index 000000000..fa952428d --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_client_added_event.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.client_added_event import ClientAddedEvent # noqa: E501 +from swagger_client.rest import ApiException + + +class TestClientAddedEvent(unittest.TestCase): + """ClientAddedEvent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testClientAddedEvent(self): + """Test ClientAddedEvent""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.client_added_event.ClientAddedEvent() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_client_assoc_event.py b/libs/cloudapi/cloudsdk/test/test_client_assoc_event.py new file mode 100644 index 000000000..0e52671bc --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_client_assoc_event.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.client_assoc_event import ClientAssocEvent # noqa: E501 +from swagger_client.rest import ApiException + + +class TestClientAssocEvent(unittest.TestCase): + """ClientAssocEvent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testClientAssocEvent(self): + """Test ClientAssocEvent""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.client_assoc_event.ClientAssocEvent() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_client_auth_event.py b/libs/cloudapi/cloudsdk/test/test_client_auth_event.py new file mode 100644 index 000000000..0bbe987ca --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_client_auth_event.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.client_auth_event import ClientAuthEvent # noqa: E501 +from swagger_client.rest import ApiException + + +class TestClientAuthEvent(unittest.TestCase): + """ClientAuthEvent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testClientAuthEvent(self): + """Test ClientAuthEvent""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.client_auth_event.ClientAuthEvent() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_client_changed_event.py b/libs/cloudapi/cloudsdk/test/test_client_changed_event.py new file mode 100644 index 000000000..f51300979 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_client_changed_event.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.client_changed_event import ClientChangedEvent # noqa: E501 +from swagger_client.rest import ApiException + + +class TestClientChangedEvent(unittest.TestCase): + """ClientChangedEvent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testClientChangedEvent(self): + """Test ClientChangedEvent""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.client_changed_event.ClientChangedEvent() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_client_connect_success_event.py b/libs/cloudapi/cloudsdk/test/test_client_connect_success_event.py new file mode 100644 index 000000000..263ef8317 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_client_connect_success_event.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.client_connect_success_event import ClientConnectSuccessEvent # noqa: E501 +from swagger_client.rest import ApiException + + +class TestClientConnectSuccessEvent(unittest.TestCase): + """ClientConnectSuccessEvent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testClientConnectSuccessEvent(self): + """Test ClientConnectSuccessEvent""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.client_connect_success_event.ClientConnectSuccessEvent() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_client_connection_details.py b/libs/cloudapi/cloudsdk/test/test_client_connection_details.py new file mode 100644 index 000000000..678643764 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_client_connection_details.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.client_connection_details import ClientConnectionDetails # noqa: E501 +from swagger_client.rest import ApiException + + +class TestClientConnectionDetails(unittest.TestCase): + """ClientConnectionDetails unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testClientConnectionDetails(self): + """Test ClientConnectionDetails""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.client_connection_details.ClientConnectionDetails() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_client_dhcp_details.py b/libs/cloudapi/cloudsdk/test/test_client_dhcp_details.py new file mode 100644 index 000000000..100c7bda0 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_client_dhcp_details.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.client_dhcp_details import ClientDhcpDetails # noqa: E501 +from swagger_client.rest import ApiException + + +class TestClientDhcpDetails(unittest.TestCase): + """ClientDhcpDetails unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testClientDhcpDetails(self): + """Test ClientDhcpDetails""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.client_dhcp_details.ClientDhcpDetails() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_client_disconnect_event.py b/libs/cloudapi/cloudsdk/test/test_client_disconnect_event.py new file mode 100644 index 000000000..0a8d505f0 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_client_disconnect_event.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.client_disconnect_event import ClientDisconnectEvent # noqa: E501 +from swagger_client.rest import ApiException + + +class TestClientDisconnectEvent(unittest.TestCase): + """ClientDisconnectEvent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testClientDisconnectEvent(self): + """Test ClientDisconnectEvent""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.client_disconnect_event.ClientDisconnectEvent() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_client_eap_details.py b/libs/cloudapi/cloudsdk/test/test_client_eap_details.py new file mode 100644 index 000000000..69291a221 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_client_eap_details.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.client_eap_details import ClientEapDetails # noqa: E501 +from swagger_client.rest import ApiException + + +class TestClientEapDetails(unittest.TestCase): + """ClientEapDetails unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testClientEapDetails(self): + """Test ClientEapDetails""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.client_eap_details.ClientEapDetails() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_client_failure_details.py b/libs/cloudapi/cloudsdk/test/test_client_failure_details.py new file mode 100644 index 000000000..d2945f959 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_client_failure_details.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.client_failure_details import ClientFailureDetails # noqa: E501 +from swagger_client.rest import ApiException + + +class TestClientFailureDetails(unittest.TestCase): + """ClientFailureDetails unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testClientFailureDetails(self): + """Test ClientFailureDetails""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.client_failure_details.ClientFailureDetails() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_client_failure_event.py b/libs/cloudapi/cloudsdk/test/test_client_failure_event.py new file mode 100644 index 000000000..e36be6723 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_client_failure_event.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.client_failure_event import ClientFailureEvent # noqa: E501 +from swagger_client.rest import ApiException + + +class TestClientFailureEvent(unittest.TestCase): + """ClientFailureEvent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testClientFailureEvent(self): + """Test ClientFailureEvent""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.client_failure_event.ClientFailureEvent() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_client_first_data_event.py b/libs/cloudapi/cloudsdk/test/test_client_first_data_event.py new file mode 100644 index 000000000..06e073202 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_client_first_data_event.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.client_first_data_event import ClientFirstDataEvent # noqa: E501 +from swagger_client.rest import ApiException + + +class TestClientFirstDataEvent(unittest.TestCase): + """ClientFirstDataEvent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testClientFirstDataEvent(self): + """Test ClientFirstDataEvent""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.client_first_data_event.ClientFirstDataEvent() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_client_id_event.py b/libs/cloudapi/cloudsdk/test/test_client_id_event.py new file mode 100644 index 000000000..28dff67f0 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_client_id_event.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.client_id_event import ClientIdEvent # noqa: E501 +from swagger_client.rest import ApiException + + +class TestClientIdEvent(unittest.TestCase): + """ClientIdEvent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testClientIdEvent(self): + """Test ClientIdEvent""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.client_id_event.ClientIdEvent() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_client_info_details.py b/libs/cloudapi/cloudsdk/test/test_client_info_details.py new file mode 100644 index 000000000..0a3ef0271 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_client_info_details.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.client_info_details import ClientInfoDetails # noqa: E501 +from swagger_client.rest import ApiException + + +class TestClientInfoDetails(unittest.TestCase): + """ClientInfoDetails unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testClientInfoDetails(self): + """Test ClientInfoDetails""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.client_info_details.ClientInfoDetails() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_client_ip_address_event.py b/libs/cloudapi/cloudsdk/test/test_client_ip_address_event.py new file mode 100644 index 000000000..d84b26bc7 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_client_ip_address_event.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.client_ip_address_event import ClientIpAddressEvent # noqa: E501 +from swagger_client.rest import ApiException + + +class TestClientIpAddressEvent(unittest.TestCase): + """ClientIpAddressEvent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testClientIpAddressEvent(self): + """Test ClientIpAddressEvent""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.client_ip_address_event.ClientIpAddressEvent() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_client_metrics.py b/libs/cloudapi/cloudsdk/test/test_client_metrics.py new file mode 100644 index 000000000..fe4e5c724 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_client_metrics.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.client_metrics import ClientMetrics # noqa: E501 +from swagger_client.rest import ApiException + + +class TestClientMetrics(unittest.TestCase): + """ClientMetrics unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testClientMetrics(self): + """Test ClientMetrics""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.client_metrics.ClientMetrics() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_client_removed_event.py b/libs/cloudapi/cloudsdk/test/test_client_removed_event.py new file mode 100644 index 000000000..6aaa1baa8 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_client_removed_event.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.client_removed_event import ClientRemovedEvent # noqa: E501 +from swagger_client.rest import ApiException + + +class TestClientRemovedEvent(unittest.TestCase): + """ClientRemovedEvent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testClientRemovedEvent(self): + """Test ClientRemovedEvent""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.client_removed_event.ClientRemovedEvent() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_client_session.py b/libs/cloudapi/cloudsdk/test/test_client_session.py new file mode 100644 index 000000000..060f726e1 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_client_session.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.client_session import ClientSession # noqa: E501 +from swagger_client.rest import ApiException + + +class TestClientSession(unittest.TestCase): + """ClientSession unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testClientSession(self): + """Test ClientSession""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.client_session.ClientSession() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_client_session_changed_event.py b/libs/cloudapi/cloudsdk/test/test_client_session_changed_event.py new file mode 100644 index 000000000..b35e1759f --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_client_session_changed_event.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.client_session_changed_event import ClientSessionChangedEvent # noqa: E501 +from swagger_client.rest import ApiException + + +class TestClientSessionChangedEvent(unittest.TestCase): + """ClientSessionChangedEvent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testClientSessionChangedEvent(self): + """Test ClientSessionChangedEvent""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.client_session_changed_event.ClientSessionChangedEvent() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_client_session_details.py b/libs/cloudapi/cloudsdk/test/test_client_session_details.py new file mode 100644 index 000000000..ee2285eef --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_client_session_details.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.client_session_details import ClientSessionDetails # noqa: E501 +from swagger_client.rest import ApiException + + +class TestClientSessionDetails(unittest.TestCase): + """ClientSessionDetails unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testClientSessionDetails(self): + """Test ClientSessionDetails""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.client_session_details.ClientSessionDetails() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_client_session_metric_details.py b/libs/cloudapi/cloudsdk/test/test_client_session_metric_details.py new file mode 100644 index 000000000..d628af68e --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_client_session_metric_details.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.client_session_metric_details import ClientSessionMetricDetails # noqa: E501 +from swagger_client.rest import ApiException + + +class TestClientSessionMetricDetails(unittest.TestCase): + """ClientSessionMetricDetails unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testClientSessionMetricDetails(self): + """Test ClientSessionMetricDetails""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.client_session_metric_details.ClientSessionMetricDetails() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_client_session_removed_event.py b/libs/cloudapi/cloudsdk/test/test_client_session_removed_event.py new file mode 100644 index 000000000..15dc05220 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_client_session_removed_event.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.client_session_removed_event import ClientSessionRemovedEvent # noqa: E501 +from swagger_client.rest import ApiException + + +class TestClientSessionRemovedEvent(unittest.TestCase): + """ClientSessionRemovedEvent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testClientSessionRemovedEvent(self): + """Test ClientSessionRemovedEvent""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.client_session_removed_event.ClientSessionRemovedEvent() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_client_timeout_event.py b/libs/cloudapi/cloudsdk/test/test_client_timeout_event.py new file mode 100644 index 000000000..bdd901c59 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_client_timeout_event.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.client_timeout_event import ClientTimeoutEvent # noqa: E501 +from swagger_client.rest import ApiException + + +class TestClientTimeoutEvent(unittest.TestCase): + """ClientTimeoutEvent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testClientTimeoutEvent(self): + """Test ClientTimeoutEvent""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.client_timeout_event.ClientTimeoutEvent() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_client_timeout_reason.py b/libs/cloudapi/cloudsdk/test/test_client_timeout_reason.py new file mode 100644 index 000000000..1c798d50f --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_client_timeout_reason.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.client_timeout_reason import ClientTimeoutReason # noqa: E501 +from swagger_client.rest import ApiException + + +class TestClientTimeoutReason(unittest.TestCase): + """ClientTimeoutReason unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testClientTimeoutReason(self): + """Test ClientTimeoutReason""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.client_timeout_reason.ClientTimeoutReason() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_clients_api.py b/libs/cloudapi/cloudsdk/test/test_clients_api.py new file mode 100644 index 000000000..422fdb481 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_clients_api.py @@ -0,0 +1,82 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.api.clients_api import ClientsApi # noqa: E501 +from swagger_client.rest import ApiException + + +class TestClientsApi(unittest.TestCase): + """ClientsApi unit test stubs""" + + def setUp(self): + self.api = ClientsApi() # noqa: E501 + + def tearDown(self): + pass + + def test_get_all_client_sessions_in_set(self): + """Test case for get_all_client_sessions_in_set + + Get list of Client sessions for customerId and a set of client MAC addresses. # noqa: E501 + """ + pass + + def test_get_all_clients_in_set(self): + """Test case for get_all_clients_in_set + + Get list of Clients for customerId and a set of client MAC addresses. # noqa: E501 + """ + pass + + def test_get_blocked_clients(self): + """Test case for get_blocked_clients + + Retrieves a list of Clients for the customer that are marked as blocked. This per-customer list of blocked clients is pushed to every AP, so it has to be limited in size. # noqa: E501 + """ + pass + + def test_get_client_session_by_customer_with_filter(self): + """Test case for get_client_session_by_customer_with_filter + + Get list of Client sessions for customerId and a set of equipment/location ids. Equipment and locations filters are joined using logical AND operation. # noqa: E501 + """ + pass + + def test_get_for_customer(self): + """Test case for get_for_customer + + Get list of clients for a given customer by equipment ids # noqa: E501 + """ + pass + + def test_search_by_mac_address(self): + """Test case for search_by_mac_address + + Get list of Clients for customerId and searching by macSubstring. # noqa: E501 + """ + pass + + def test_update_client(self): + """Test case for update_client + + Update Client # noqa: E501 + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_common_probe_details.py b/libs/cloudapi/cloudsdk/test/test_common_probe_details.py new file mode 100644 index 000000000..037e490c3 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_common_probe_details.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.common_probe_details import CommonProbeDetails # noqa: E501 +from swagger_client.rest import ApiException + + +class TestCommonProbeDetails(unittest.TestCase): + """CommonProbeDetails unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCommonProbeDetails(self): + """Test CommonProbeDetails""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.common_probe_details.CommonProbeDetails() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_country_code.py b/libs/cloudapi/cloudsdk/test/test_country_code.py new file mode 100644 index 000000000..38d299c80 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_country_code.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.country_code import CountryCode # noqa: E501 +from swagger_client.rest import ApiException + + +class TestCountryCode(unittest.TestCase): + """CountryCode unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCountryCode(self): + """Test CountryCode""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.country_code.CountryCode() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_counts_per_alarm_code_map.py b/libs/cloudapi/cloudsdk/test/test_counts_per_alarm_code_map.py new file mode 100644 index 000000000..c54252723 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_counts_per_alarm_code_map.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.counts_per_alarm_code_map import CountsPerAlarmCodeMap # noqa: E501 +from swagger_client.rest import ApiException + + +class TestCountsPerAlarmCodeMap(unittest.TestCase): + """CountsPerAlarmCodeMap unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCountsPerAlarmCodeMap(self): + """Test CountsPerAlarmCodeMap""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.counts_per_alarm_code_map.CountsPerAlarmCodeMap() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_counts_per_equipment_id_per_alarm_code_map.py b/libs/cloudapi/cloudsdk/test/test_counts_per_equipment_id_per_alarm_code_map.py new file mode 100644 index 000000000..dc643bd41 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_counts_per_equipment_id_per_alarm_code_map.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.counts_per_equipment_id_per_alarm_code_map import CountsPerEquipmentIdPerAlarmCodeMap # noqa: E501 +from swagger_client.rest import ApiException + + +class TestCountsPerEquipmentIdPerAlarmCodeMap(unittest.TestCase): + """CountsPerEquipmentIdPerAlarmCodeMap unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCountsPerEquipmentIdPerAlarmCodeMap(self): + """Test CountsPerEquipmentIdPerAlarmCodeMap""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.counts_per_equipment_id_per_alarm_code_map.CountsPerEquipmentIdPerAlarmCodeMap() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_customer.py b/libs/cloudapi/cloudsdk/test/test_customer.py new file mode 100644 index 000000000..460ef9309 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_customer.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.customer import Customer # noqa: E501 +from swagger_client.rest import ApiException + + +class TestCustomer(unittest.TestCase): + """Customer unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCustomer(self): + """Test Customer""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.customer.Customer() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_customer_added_event.py b/libs/cloudapi/cloudsdk/test/test_customer_added_event.py new file mode 100644 index 000000000..a1b14849b --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_customer_added_event.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.customer_added_event import CustomerAddedEvent # noqa: E501 +from swagger_client.rest import ApiException + + +class TestCustomerAddedEvent(unittest.TestCase): + """CustomerAddedEvent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCustomerAddedEvent(self): + """Test CustomerAddedEvent""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.customer_added_event.CustomerAddedEvent() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_customer_api.py b/libs/cloudapi/cloudsdk/test/test_customer_api.py new file mode 100644 index 000000000..14a4e6b3d --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_customer_api.py @@ -0,0 +1,47 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.api.customer_api import CustomerApi # noqa: E501 +from swagger_client.rest import ApiException + + +class TestCustomerApi(unittest.TestCase): + """CustomerApi unit test stubs""" + + def setUp(self): + self.api = CustomerApi() # noqa: E501 + + def tearDown(self): + pass + + def test_get_customer_by_id(self): + """Test case for get_customer_by_id + + Get Customer By Id # noqa: E501 + """ + pass + + def test_update_customer(self): + """Test case for update_customer + + Update Customer # noqa: E501 + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_customer_changed_event.py b/libs/cloudapi/cloudsdk/test/test_customer_changed_event.py new file mode 100644 index 000000000..65e4b6fc1 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_customer_changed_event.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.customer_changed_event import CustomerChangedEvent # noqa: E501 +from swagger_client.rest import ApiException + + +class TestCustomerChangedEvent(unittest.TestCase): + """CustomerChangedEvent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCustomerChangedEvent(self): + """Test CustomerChangedEvent""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.customer_changed_event.CustomerChangedEvent() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_customer_details.py b/libs/cloudapi/cloudsdk/test/test_customer_details.py new file mode 100644 index 000000000..0f212561b --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_customer_details.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.customer_details import CustomerDetails # noqa: E501 +from swagger_client.rest import ApiException + + +class TestCustomerDetails(unittest.TestCase): + """CustomerDetails unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCustomerDetails(self): + """Test CustomerDetails""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.customer_details.CustomerDetails() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_customer_firmware_track_record.py b/libs/cloudapi/cloudsdk/test/test_customer_firmware_track_record.py new file mode 100644 index 000000000..19c092123 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_customer_firmware_track_record.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.customer_firmware_track_record import CustomerFirmwareTrackRecord # noqa: E501 +from swagger_client.rest import ApiException + + +class TestCustomerFirmwareTrackRecord(unittest.TestCase): + """CustomerFirmwareTrackRecord unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCustomerFirmwareTrackRecord(self): + """Test CustomerFirmwareTrackRecord""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.customer_firmware_track_record.CustomerFirmwareTrackRecord() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_customer_firmware_track_settings.py b/libs/cloudapi/cloudsdk/test/test_customer_firmware_track_settings.py new file mode 100644 index 000000000..92c2eea1c --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_customer_firmware_track_settings.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.customer_firmware_track_settings import CustomerFirmwareTrackSettings # noqa: E501 +from swagger_client.rest import ApiException + + +class TestCustomerFirmwareTrackSettings(unittest.TestCase): + """CustomerFirmwareTrackSettings unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCustomerFirmwareTrackSettings(self): + """Test CustomerFirmwareTrackSettings""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.customer_firmware_track_settings.CustomerFirmwareTrackSettings() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_customer_portal_dashboard_status.py b/libs/cloudapi/cloudsdk/test/test_customer_portal_dashboard_status.py new file mode 100644 index 000000000..6265ba936 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_customer_portal_dashboard_status.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.customer_portal_dashboard_status import CustomerPortalDashboardStatus # noqa: E501 +from swagger_client.rest import ApiException + + +class TestCustomerPortalDashboardStatus(unittest.TestCase): + """CustomerPortalDashboardStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCustomerPortalDashboardStatus(self): + """Test CustomerPortalDashboardStatus""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.customer_portal_dashboard_status.CustomerPortalDashboardStatus() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_customer_removed_event.py b/libs/cloudapi/cloudsdk/test/test_customer_removed_event.py new file mode 100644 index 000000000..cccf02c9f --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_customer_removed_event.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.customer_removed_event import CustomerRemovedEvent # noqa: E501 +from swagger_client.rest import ApiException + + +class TestCustomerRemovedEvent(unittest.TestCase): + """CustomerRemovedEvent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCustomerRemovedEvent(self): + """Test CustomerRemovedEvent""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.customer_removed_event.CustomerRemovedEvent() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_daily_time_range_schedule.py b/libs/cloudapi/cloudsdk/test/test_daily_time_range_schedule.py new file mode 100644 index 000000000..ed73792cd --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_daily_time_range_schedule.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.daily_time_range_schedule import DailyTimeRangeSchedule # noqa: E501 +from swagger_client.rest import ApiException + + +class TestDailyTimeRangeSchedule(unittest.TestCase): + """DailyTimeRangeSchedule unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testDailyTimeRangeSchedule(self): + """Test DailyTimeRangeSchedule""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.daily_time_range_schedule.DailyTimeRangeSchedule() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_day_of_week.py b/libs/cloudapi/cloudsdk/test/test_day_of_week.py new file mode 100644 index 000000000..be0874ca2 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_day_of_week.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.day_of_week import DayOfWeek # noqa: E501 +from swagger_client.rest import ApiException + + +class TestDayOfWeek(unittest.TestCase): + """DayOfWeek unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testDayOfWeek(self): + """Test DayOfWeek""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.day_of_week.DayOfWeek() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_days_of_week_time_range_schedule.py b/libs/cloudapi/cloudsdk/test/test_days_of_week_time_range_schedule.py new file mode 100644 index 000000000..e87aefe8b --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_days_of_week_time_range_schedule.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.days_of_week_time_range_schedule import DaysOfWeekTimeRangeSchedule # noqa: E501 +from swagger_client.rest import ApiException + + +class TestDaysOfWeekTimeRangeSchedule(unittest.TestCase): + """DaysOfWeekTimeRangeSchedule unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testDaysOfWeekTimeRangeSchedule(self): + """Test DaysOfWeekTimeRangeSchedule""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.days_of_week_time_range_schedule.DaysOfWeekTimeRangeSchedule() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_deployment_type.py b/libs/cloudapi/cloudsdk/test/test_deployment_type.py new file mode 100644 index 000000000..1edd510b8 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_deployment_type.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.deployment_type import DeploymentType # noqa: E501 +from swagger_client.rest import ApiException + + +class TestDeploymentType(unittest.TestCase): + """DeploymentType unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testDeploymentType(self): + """Test DeploymentType""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.deployment_type.DeploymentType() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_detected_auth_mode.py b/libs/cloudapi/cloudsdk/test/test_detected_auth_mode.py new file mode 100644 index 000000000..92f4a61dc --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_detected_auth_mode.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.detected_auth_mode import DetectedAuthMode # noqa: E501 +from swagger_client.rest import ApiException + + +class TestDetectedAuthMode(unittest.TestCase): + """DetectedAuthMode unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testDetectedAuthMode(self): + """Test DetectedAuthMode""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.detected_auth_mode.DetectedAuthMode() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_device_mode.py b/libs/cloudapi/cloudsdk/test/test_device_mode.py new file mode 100644 index 000000000..11c8e6cc5 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_device_mode.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.device_mode import DeviceMode # noqa: E501 +from swagger_client.rest import ApiException + + +class TestDeviceMode(unittest.TestCase): + """DeviceMode unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testDeviceMode(self): + """Test DeviceMode""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.device_mode.DeviceMode() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_dhcp_ack_event.py b/libs/cloudapi/cloudsdk/test/test_dhcp_ack_event.py new file mode 100644 index 000000000..54e097dce --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_dhcp_ack_event.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.dhcp_ack_event import DhcpAckEvent # noqa: E501 +from swagger_client.rest import ApiException + + +class TestDhcpAckEvent(unittest.TestCase): + """DhcpAckEvent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testDhcpAckEvent(self): + """Test DhcpAckEvent""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.dhcp_ack_event.DhcpAckEvent() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_dhcp_decline_event.py b/libs/cloudapi/cloudsdk/test/test_dhcp_decline_event.py new file mode 100644 index 000000000..dc20422c2 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_dhcp_decline_event.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.dhcp_decline_event import DhcpDeclineEvent # noqa: E501 +from swagger_client.rest import ApiException + + +class TestDhcpDeclineEvent(unittest.TestCase): + """DhcpDeclineEvent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testDhcpDeclineEvent(self): + """Test DhcpDeclineEvent""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.dhcp_decline_event.DhcpDeclineEvent() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_dhcp_discover_event.py b/libs/cloudapi/cloudsdk/test/test_dhcp_discover_event.py new file mode 100644 index 000000000..168215bcc --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_dhcp_discover_event.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.dhcp_discover_event import DhcpDiscoverEvent # noqa: E501 +from swagger_client.rest import ApiException + + +class TestDhcpDiscoverEvent(unittest.TestCase): + """DhcpDiscoverEvent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testDhcpDiscoverEvent(self): + """Test DhcpDiscoverEvent""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.dhcp_discover_event.DhcpDiscoverEvent() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_dhcp_inform_event.py b/libs/cloudapi/cloudsdk/test/test_dhcp_inform_event.py new file mode 100644 index 000000000..bfec18c69 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_dhcp_inform_event.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.dhcp_inform_event import DhcpInformEvent # noqa: E501 +from swagger_client.rest import ApiException + + +class TestDhcpInformEvent(unittest.TestCase): + """DhcpInformEvent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testDhcpInformEvent(self): + """Test DhcpInformEvent""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.dhcp_inform_event.DhcpInformEvent() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_dhcp_nak_event.py b/libs/cloudapi/cloudsdk/test/test_dhcp_nak_event.py new file mode 100644 index 000000000..c62863ba3 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_dhcp_nak_event.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.dhcp_nak_event import DhcpNakEvent # noqa: E501 +from swagger_client.rest import ApiException + + +class TestDhcpNakEvent(unittest.TestCase): + """DhcpNakEvent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testDhcpNakEvent(self): + """Test DhcpNakEvent""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.dhcp_nak_event.DhcpNakEvent() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_dhcp_offer_event.py b/libs/cloudapi/cloudsdk/test/test_dhcp_offer_event.py new file mode 100644 index 000000000..bb2a11e1e --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_dhcp_offer_event.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.dhcp_offer_event import DhcpOfferEvent # noqa: E501 +from swagger_client.rest import ApiException + + +class TestDhcpOfferEvent(unittest.TestCase): + """DhcpOfferEvent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testDhcpOfferEvent(self): + """Test DhcpOfferEvent""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.dhcp_offer_event.DhcpOfferEvent() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_dhcp_request_event.py b/libs/cloudapi/cloudsdk/test/test_dhcp_request_event.py new file mode 100644 index 000000000..8fbb4aa3b --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_dhcp_request_event.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.dhcp_request_event import DhcpRequestEvent # noqa: E501 +from swagger_client.rest import ApiException + + +class TestDhcpRequestEvent(unittest.TestCase): + """DhcpRequestEvent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testDhcpRequestEvent(self): + """Test DhcpRequestEvent""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.dhcp_request_event.DhcpRequestEvent() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_disconnect_frame_type.py b/libs/cloudapi/cloudsdk/test/test_disconnect_frame_type.py new file mode 100644 index 000000000..cc3ff6602 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_disconnect_frame_type.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.disconnect_frame_type import DisconnectFrameType # noqa: E501 +from swagger_client.rest import ApiException + + +class TestDisconnectFrameType(unittest.TestCase): + """DisconnectFrameType unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testDisconnectFrameType(self): + """Test DisconnectFrameType""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.disconnect_frame_type.DisconnectFrameType() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_disconnect_initiator.py b/libs/cloudapi/cloudsdk/test/test_disconnect_initiator.py new file mode 100644 index 000000000..c0e10b6a8 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_disconnect_initiator.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.disconnect_initiator import DisconnectInitiator # noqa: E501 +from swagger_client.rest import ApiException + + +class TestDisconnectInitiator(unittest.TestCase): + """DisconnectInitiator unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testDisconnectInitiator(self): + """Test DisconnectInitiator""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.disconnect_initiator.DisconnectInitiator() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_dns_probe_metric.py b/libs/cloudapi/cloudsdk/test/test_dns_probe_metric.py new file mode 100644 index 000000000..06bd7e004 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_dns_probe_metric.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.dns_probe_metric import DnsProbeMetric # noqa: E501 +from swagger_client.rest import ApiException + + +class TestDnsProbeMetric(unittest.TestCase): + """DnsProbeMetric unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testDnsProbeMetric(self): + """Test DnsProbeMetric""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.dns_probe_metric.DnsProbeMetric() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_dynamic_vlan_mode.py b/libs/cloudapi/cloudsdk/test/test_dynamic_vlan_mode.py new file mode 100644 index 000000000..7bfe09490 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_dynamic_vlan_mode.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.dynamic_vlan_mode import DynamicVlanMode # noqa: E501 +from swagger_client.rest import ApiException + + +class TestDynamicVlanMode(unittest.TestCase): + """DynamicVlanMode unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testDynamicVlanMode(self): + """Test DynamicVlanMode""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.dynamic_vlan_mode.DynamicVlanMode() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_element_radio_configuration.py b/libs/cloudapi/cloudsdk/test/test_element_radio_configuration.py new file mode 100644 index 000000000..7c4c2388c --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_element_radio_configuration.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.element_radio_configuration import ElementRadioConfiguration # noqa: E501 +from swagger_client.rest import ApiException + + +class TestElementRadioConfiguration(unittest.TestCase): + """ElementRadioConfiguration unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testElementRadioConfiguration(self): + """Test ElementRadioConfiguration""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.element_radio_configuration.ElementRadioConfiguration() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_element_radio_configuration_eirp_tx_power.py b/libs/cloudapi/cloudsdk/test/test_element_radio_configuration_eirp_tx_power.py new file mode 100644 index 000000000..c0af75e92 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_element_radio_configuration_eirp_tx_power.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.element_radio_configuration_eirp_tx_power import ElementRadioConfigurationEirpTxPower # noqa: E501 +from swagger_client.rest import ApiException + + +class TestElementRadioConfigurationEirpTxPower(unittest.TestCase): + """ElementRadioConfigurationEirpTxPower unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testElementRadioConfigurationEirpTxPower(self): + """Test ElementRadioConfigurationEirpTxPower""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.element_radio_configuration_eirp_tx_power.ElementRadioConfigurationEirpTxPower() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_empty_schedule.py b/libs/cloudapi/cloudsdk/test/test_empty_schedule.py new file mode 100644 index 000000000..71bef6027 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_empty_schedule.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.empty_schedule import EmptySchedule # noqa: E501 +from swagger_client.rest import ApiException + + +class TestEmptySchedule(unittest.TestCase): + """EmptySchedule unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEmptySchedule(self): + """Test EmptySchedule""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.empty_schedule.EmptySchedule() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_equipment.py b/libs/cloudapi/cloudsdk/test/test_equipment.py new file mode 100644 index 000000000..9c009826b --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_equipment.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.equipment import Equipment # noqa: E501 +from swagger_client.rest import ApiException + + +class TestEquipment(unittest.TestCase): + """Equipment unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEquipment(self): + """Test Equipment""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.equipment.Equipment() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_equipment_added_event.py b/libs/cloudapi/cloudsdk/test/test_equipment_added_event.py new file mode 100644 index 000000000..8727d9bf7 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_equipment_added_event.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.equipment_added_event import EquipmentAddedEvent # noqa: E501 +from swagger_client.rest import ApiException + + +class TestEquipmentAddedEvent(unittest.TestCase): + """EquipmentAddedEvent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEquipmentAddedEvent(self): + """Test EquipmentAddedEvent""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.equipment_added_event.EquipmentAddedEvent() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_equipment_admin_status_data.py b/libs/cloudapi/cloudsdk/test/test_equipment_admin_status_data.py new file mode 100644 index 000000000..5e4a7ce0d --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_equipment_admin_status_data.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.equipment_admin_status_data import EquipmentAdminStatusData # noqa: E501 +from swagger_client.rest import ApiException + + +class TestEquipmentAdminStatusData(unittest.TestCase): + """EquipmentAdminStatusData unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEquipmentAdminStatusData(self): + """Test EquipmentAdminStatusData""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.equipment_admin_status_data.EquipmentAdminStatusData() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_equipment_api.py b/libs/cloudapi/cloudsdk/test/test_equipment_api.py new file mode 100644 index 000000000..b91791c6a --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_equipment_api.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.api.equipment_api import EquipmentApi # noqa: E501 +from swagger_client.rest import ApiException + + +class TestEquipmentApi(unittest.TestCase): + """EquipmentApi unit test stubs""" + + def setUp(self): + self.api = EquipmentApi() # noqa: E501 + + def tearDown(self): + pass + + def test_create_equipment(self): + """Test case for create_equipment + + Create new Equipment # noqa: E501 + """ + pass + + def test_delete_equipment(self): + """Test case for delete_equipment + + Delete Equipment # noqa: E501 + """ + pass + + def test_get_default_equipment_details(self): + """Test case for get_default_equipment_details + + Get default values for Equipment details for a specific equipment type # noqa: E501 + """ + pass + + def test_get_equipment_by_customer_id(self): + """Test case for get_equipment_by_customer_id + + Get Equipment By customerId # noqa: E501 + """ + pass + + def test_get_equipment_by_customer_with_filter(self): + """Test case for get_equipment_by_customer_with_filter + + Get Equipment for customerId, equipment type, and location id # noqa: E501 + """ + pass + + def test_get_equipment_by_id(self): + """Test case for get_equipment_by_id + + Get Equipment By Id # noqa: E501 + """ + pass + + def test_get_equipment_by_set_of_ids(self): + """Test case for get_equipment_by_set_of_ids + + Get Equipment By a set of ids # noqa: E501 + """ + pass + + def test_update_equipment(self): + """Test case for update_equipment + + Update Equipment # noqa: E501 + """ + pass + + def test_update_equipment_rrm_bulk(self): + """Test case for update_equipment_rrm_bulk + + Update RRM related properties of Equipment in bulk # noqa: E501 + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_equipment_auto_provisioning_settings.py b/libs/cloudapi/cloudsdk/test/test_equipment_auto_provisioning_settings.py new file mode 100644 index 000000000..ed2d0531f --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_equipment_auto_provisioning_settings.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.equipment_auto_provisioning_settings import EquipmentAutoProvisioningSettings # noqa: E501 +from swagger_client.rest import ApiException + + +class TestEquipmentAutoProvisioningSettings(unittest.TestCase): + """EquipmentAutoProvisioningSettings unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEquipmentAutoProvisioningSettings(self): + """Test EquipmentAutoProvisioningSettings""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.equipment_auto_provisioning_settings.EquipmentAutoProvisioningSettings() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_equipment_capacity_details.py b/libs/cloudapi/cloudsdk/test/test_equipment_capacity_details.py new file mode 100644 index 000000000..9bae4067c --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_equipment_capacity_details.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.equipment_capacity_details import EquipmentCapacityDetails # noqa: E501 +from swagger_client.rest import ApiException + + +class TestEquipmentCapacityDetails(unittest.TestCase): + """EquipmentCapacityDetails unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEquipmentCapacityDetails(self): + """Test EquipmentCapacityDetails""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.equipment_capacity_details.EquipmentCapacityDetails() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_equipment_capacity_details_map.py b/libs/cloudapi/cloudsdk/test/test_equipment_capacity_details_map.py new file mode 100644 index 000000000..2e3173358 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_equipment_capacity_details_map.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.equipment_capacity_details_map import EquipmentCapacityDetailsMap # noqa: E501 +from swagger_client.rest import ApiException + + +class TestEquipmentCapacityDetailsMap(unittest.TestCase): + """EquipmentCapacityDetailsMap unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEquipmentCapacityDetailsMap(self): + """Test EquipmentCapacityDetailsMap""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.equipment_capacity_details_map.EquipmentCapacityDetailsMap() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_equipment_changed_event.py b/libs/cloudapi/cloudsdk/test/test_equipment_changed_event.py new file mode 100644 index 000000000..2313679ab --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_equipment_changed_event.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.equipment_changed_event import EquipmentChangedEvent # noqa: E501 +from swagger_client.rest import ApiException + + +class TestEquipmentChangedEvent(unittest.TestCase): + """EquipmentChangedEvent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEquipmentChangedEvent(self): + """Test EquipmentChangedEvent""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.equipment_changed_event.EquipmentChangedEvent() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_equipment_details.py b/libs/cloudapi/cloudsdk/test/test_equipment_details.py new file mode 100644 index 000000000..ef7ea97d1 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_equipment_details.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.equipment_details import EquipmentDetails # noqa: E501 +from swagger_client.rest import ApiException + + +class TestEquipmentDetails(unittest.TestCase): + """EquipmentDetails unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEquipmentDetails(self): + """Test EquipmentDetails""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.equipment_details.EquipmentDetails() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_equipment_gateway_api.py b/libs/cloudapi/cloudsdk/test/test_equipment_gateway_api.py new file mode 100644 index 000000000..d12e8bb75 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_equipment_gateway_api.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.api.equipment_gateway_api import EquipmentGatewayApi # noqa: E501 +from swagger_client.rest import ApiException + + +class TestEquipmentGatewayApi(unittest.TestCase): + """EquipmentGatewayApi unit test stubs""" + + def setUp(self): + self.api = EquipmentGatewayApi() # noqa: E501 + + def tearDown(self): + pass + + def test_request_ap_factory_reset(self): + """Test case for request_ap_factory_reset + + Request factory reset for a particular equipment. # noqa: E501 + """ + pass + + def test_request_ap_reboot(self): + """Test case for request_ap_reboot + + Request reboot for a particular equipment. # noqa: E501 + """ + pass + + def test_request_ap_switch_software_bank(self): + """Test case for request_ap_switch_software_bank + + Request switch of active/inactive sw bank for a particular equipment. # noqa: E501 + """ + pass + + def test_request_channel_change(self): + """Test case for request_channel_change + + Request change of primary and/or backup channels for given frequency bands. # noqa: E501 + """ + pass + + def test_request_firmware_update(self): + """Test case for request_firmware_update + + Request firmware update for a particular equipment. # noqa: E501 + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_equipment_gateway_record.py b/libs/cloudapi/cloudsdk/test/test_equipment_gateway_record.py new file mode 100644 index 000000000..372307b27 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_equipment_gateway_record.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.equipment_gateway_record import EquipmentGatewayRecord # noqa: E501 +from swagger_client.rest import ApiException + + +class TestEquipmentGatewayRecord(unittest.TestCase): + """EquipmentGatewayRecord unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEquipmentGatewayRecord(self): + """Test EquipmentGatewayRecord""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.equipment_gateway_record.EquipmentGatewayRecord() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_equipment_lan_status_data.py b/libs/cloudapi/cloudsdk/test/test_equipment_lan_status_data.py new file mode 100644 index 000000000..eecab2942 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_equipment_lan_status_data.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.equipment_lan_status_data import EquipmentLANStatusData # noqa: E501 +from swagger_client.rest import ApiException + + +class TestEquipmentLANStatusData(unittest.TestCase): + """EquipmentLANStatusData unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEquipmentLANStatusData(self): + """Test EquipmentLANStatusData""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.equipment_lan_status_data.EquipmentLANStatusData() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_equipment_neighbouring_status_data.py b/libs/cloudapi/cloudsdk/test/test_equipment_neighbouring_status_data.py new file mode 100644 index 000000000..a90066db5 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_equipment_neighbouring_status_data.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.equipment_neighbouring_status_data import EquipmentNeighbouringStatusData # noqa: E501 +from swagger_client.rest import ApiException + + +class TestEquipmentNeighbouringStatusData(unittest.TestCase): + """EquipmentNeighbouringStatusData unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEquipmentNeighbouringStatusData(self): + """Test EquipmentNeighbouringStatusData""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.equipment_neighbouring_status_data.EquipmentNeighbouringStatusData() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_equipment_peer_status_data.py b/libs/cloudapi/cloudsdk/test/test_equipment_peer_status_data.py new file mode 100644 index 000000000..e93f042db --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_equipment_peer_status_data.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.equipment_peer_status_data import EquipmentPeerStatusData # noqa: E501 +from swagger_client.rest import ApiException + + +class TestEquipmentPeerStatusData(unittest.TestCase): + """EquipmentPeerStatusData unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEquipmentPeerStatusData(self): + """Test EquipmentPeerStatusData""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.equipment_peer_status_data.EquipmentPeerStatusData() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_equipment_per_radio_utilization_details.py b/libs/cloudapi/cloudsdk/test/test_equipment_per_radio_utilization_details.py new file mode 100644 index 000000000..e5ba61e39 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_equipment_per_radio_utilization_details.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.equipment_per_radio_utilization_details import EquipmentPerRadioUtilizationDetails # noqa: E501 +from swagger_client.rest import ApiException + + +class TestEquipmentPerRadioUtilizationDetails(unittest.TestCase): + """EquipmentPerRadioUtilizationDetails unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEquipmentPerRadioUtilizationDetails(self): + """Test EquipmentPerRadioUtilizationDetails""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.equipment_per_radio_utilization_details.EquipmentPerRadioUtilizationDetails() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_equipment_per_radio_utilization_details_map.py b/libs/cloudapi/cloudsdk/test/test_equipment_per_radio_utilization_details_map.py new file mode 100644 index 000000000..52c703aab --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_equipment_per_radio_utilization_details_map.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.equipment_per_radio_utilization_details_map import EquipmentPerRadioUtilizationDetailsMap # noqa: E501 +from swagger_client.rest import ApiException + + +class TestEquipmentPerRadioUtilizationDetailsMap(unittest.TestCase): + """EquipmentPerRadioUtilizationDetailsMap unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEquipmentPerRadioUtilizationDetailsMap(self): + """Test EquipmentPerRadioUtilizationDetailsMap""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.equipment_per_radio_utilization_details_map.EquipmentPerRadioUtilizationDetailsMap() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_equipment_performance_details.py b/libs/cloudapi/cloudsdk/test/test_equipment_performance_details.py new file mode 100644 index 000000000..fe92ed7bc --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_equipment_performance_details.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.equipment_performance_details import EquipmentPerformanceDetails # noqa: E501 +from swagger_client.rest import ApiException + + +class TestEquipmentPerformanceDetails(unittest.TestCase): + """EquipmentPerformanceDetails unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEquipmentPerformanceDetails(self): + """Test EquipmentPerformanceDetails""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.equipment_performance_details.EquipmentPerformanceDetails() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_equipment_protocol_state.py b/libs/cloudapi/cloudsdk/test/test_equipment_protocol_state.py new file mode 100644 index 000000000..f13505c73 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_equipment_protocol_state.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.equipment_protocol_state import EquipmentProtocolState # noqa: E501 +from swagger_client.rest import ApiException + + +class TestEquipmentProtocolState(unittest.TestCase): + """EquipmentProtocolState unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEquipmentProtocolState(self): + """Test EquipmentProtocolState""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.equipment_protocol_state.EquipmentProtocolState() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_equipment_protocol_status_data.py b/libs/cloudapi/cloudsdk/test/test_equipment_protocol_status_data.py new file mode 100644 index 000000000..1436b1612 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_equipment_protocol_status_data.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.equipment_protocol_status_data import EquipmentProtocolStatusData # noqa: E501 +from swagger_client.rest import ApiException + + +class TestEquipmentProtocolStatusData(unittest.TestCase): + """EquipmentProtocolStatusData unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEquipmentProtocolStatusData(self): + """Test EquipmentProtocolStatusData""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.equipment_protocol_status_data.EquipmentProtocolStatusData() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_equipment_removed_event.py b/libs/cloudapi/cloudsdk/test/test_equipment_removed_event.py new file mode 100644 index 000000000..2e3b46be8 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_equipment_removed_event.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.equipment_removed_event import EquipmentRemovedEvent # noqa: E501 +from swagger_client.rest import ApiException + + +class TestEquipmentRemovedEvent(unittest.TestCase): + """EquipmentRemovedEvent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEquipmentRemovedEvent(self): + """Test EquipmentRemovedEvent""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.equipment_removed_event.EquipmentRemovedEvent() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_equipment_routing_record.py b/libs/cloudapi/cloudsdk/test/test_equipment_routing_record.py new file mode 100644 index 000000000..1a282978d --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_equipment_routing_record.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.equipment_routing_record import EquipmentRoutingRecord # noqa: E501 +from swagger_client.rest import ApiException + + +class TestEquipmentRoutingRecord(unittest.TestCase): + """EquipmentRoutingRecord unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEquipmentRoutingRecord(self): + """Test EquipmentRoutingRecord""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.equipment_routing_record.EquipmentRoutingRecord() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_equipment_rrm_bulk_update_item.py b/libs/cloudapi/cloudsdk/test/test_equipment_rrm_bulk_update_item.py new file mode 100644 index 000000000..5f41aaec6 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_equipment_rrm_bulk_update_item.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.equipment_rrm_bulk_update_item import EquipmentRrmBulkUpdateItem # noqa: E501 +from swagger_client.rest import ApiException + + +class TestEquipmentRrmBulkUpdateItem(unittest.TestCase): + """EquipmentRrmBulkUpdateItem unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEquipmentRrmBulkUpdateItem(self): + """Test EquipmentRrmBulkUpdateItem""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.equipment_rrm_bulk_update_item.EquipmentRrmBulkUpdateItem() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_equipment_rrm_bulk_update_item_per_radio_map.py b/libs/cloudapi/cloudsdk/test/test_equipment_rrm_bulk_update_item_per_radio_map.py new file mode 100644 index 000000000..c1ca0c608 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_equipment_rrm_bulk_update_item_per_radio_map.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.equipment_rrm_bulk_update_item_per_radio_map import EquipmentRrmBulkUpdateItemPerRadioMap # noqa: E501 +from swagger_client.rest import ApiException + + +class TestEquipmentRrmBulkUpdateItemPerRadioMap(unittest.TestCase): + """EquipmentRrmBulkUpdateItemPerRadioMap unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEquipmentRrmBulkUpdateItemPerRadioMap(self): + """Test EquipmentRrmBulkUpdateItemPerRadioMap""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.equipment_rrm_bulk_update_item_per_radio_map.EquipmentRrmBulkUpdateItemPerRadioMap() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_equipment_rrm_bulk_update_request.py b/libs/cloudapi/cloudsdk/test/test_equipment_rrm_bulk_update_request.py new file mode 100644 index 000000000..c8fc8a1d8 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_equipment_rrm_bulk_update_request.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.equipment_rrm_bulk_update_request import EquipmentRrmBulkUpdateRequest # noqa: E501 +from swagger_client.rest import ApiException + + +class TestEquipmentRrmBulkUpdateRequest(unittest.TestCase): + """EquipmentRrmBulkUpdateRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEquipmentRrmBulkUpdateRequest(self): + """Test EquipmentRrmBulkUpdateRequest""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.equipment_rrm_bulk_update_request.EquipmentRrmBulkUpdateRequest() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_equipment_scan_details.py b/libs/cloudapi/cloudsdk/test/test_equipment_scan_details.py new file mode 100644 index 000000000..ee9deaafb --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_equipment_scan_details.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.equipment_scan_details import EquipmentScanDetails # noqa: E501 +from swagger_client.rest import ApiException + + +class TestEquipmentScanDetails(unittest.TestCase): + """EquipmentScanDetails unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEquipmentScanDetails(self): + """Test EquipmentScanDetails""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.equipment_scan_details.EquipmentScanDetails() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_equipment_type.py b/libs/cloudapi/cloudsdk/test/test_equipment_type.py new file mode 100644 index 000000000..1655668ed --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_equipment_type.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.equipment_type import EquipmentType # noqa: E501 +from swagger_client.rest import ApiException + + +class TestEquipmentType(unittest.TestCase): + """EquipmentType unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEquipmentType(self): + """Test EquipmentType""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.equipment_type.EquipmentType() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_equipment_upgrade_failure_reason.py b/libs/cloudapi/cloudsdk/test/test_equipment_upgrade_failure_reason.py new file mode 100644 index 000000000..f9323e4e4 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_equipment_upgrade_failure_reason.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.equipment_upgrade_failure_reason import EquipmentUpgradeFailureReason # noqa: E501 +from swagger_client.rest import ApiException + + +class TestEquipmentUpgradeFailureReason(unittest.TestCase): + """EquipmentUpgradeFailureReason unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEquipmentUpgradeFailureReason(self): + """Test EquipmentUpgradeFailureReason""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.equipment_upgrade_failure_reason.EquipmentUpgradeFailureReason() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_equipment_upgrade_state.py b/libs/cloudapi/cloudsdk/test/test_equipment_upgrade_state.py new file mode 100644 index 000000000..588f5a7f1 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_equipment_upgrade_state.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.equipment_upgrade_state import EquipmentUpgradeState # noqa: E501 +from swagger_client.rest import ApiException + + +class TestEquipmentUpgradeState(unittest.TestCase): + """EquipmentUpgradeState unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEquipmentUpgradeState(self): + """Test EquipmentUpgradeState""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.equipment_upgrade_state.EquipmentUpgradeState() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_equipment_upgrade_status_data.py b/libs/cloudapi/cloudsdk/test/test_equipment_upgrade_status_data.py new file mode 100644 index 000000000..809f068cf --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_equipment_upgrade_status_data.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.equipment_upgrade_status_data import EquipmentUpgradeStatusData # noqa: E501 +from swagger_client.rest import ApiException + + +class TestEquipmentUpgradeStatusData(unittest.TestCase): + """EquipmentUpgradeStatusData unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEquipmentUpgradeStatusData(self): + """Test EquipmentUpgradeStatusData""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.equipment_upgrade_status_data.EquipmentUpgradeStatusData() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_ethernet_link_state.py b/libs/cloudapi/cloudsdk/test/test_ethernet_link_state.py new file mode 100644 index 000000000..e11a64454 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_ethernet_link_state.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.ethernet_link_state import EthernetLinkState # noqa: E501 +from swagger_client.rest import ApiException + + +class TestEthernetLinkState(unittest.TestCase): + """EthernetLinkState unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEthernetLinkState(self): + """Test EthernetLinkState""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.ethernet_link_state.EthernetLinkState() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_file_category.py b/libs/cloudapi/cloudsdk/test/test_file_category.py new file mode 100644 index 000000000..3fddc8ec8 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_file_category.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.file_category import FileCategory # noqa: E501 +from swagger_client.rest import ApiException + + +class TestFileCategory(unittest.TestCase): + """FileCategory unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testFileCategory(self): + """Test FileCategory""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.file_category.FileCategory() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_file_services_api.py b/libs/cloudapi/cloudsdk/test/test_file_services_api.py new file mode 100644 index 000000000..f67e5e501 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_file_services_api.py @@ -0,0 +1,47 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.api.file_services_api import FileServicesApi # noqa: E501 +from swagger_client.rest import ApiException + + +class TestFileServicesApi(unittest.TestCase): + """FileServicesApi unit test stubs""" + + def setUp(self): + self.api = FileServicesApi() # noqa: E501 + + def tearDown(self): + pass + + def test_download_binary_file(self): + """Test case for download_binary_file + + Download binary file. # noqa: E501 + """ + pass + + def test_upload_binary_file(self): + """Test case for upload_binary_file + + Upload binary file. # noqa: E501 + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_file_type.py b/libs/cloudapi/cloudsdk/test/test_file_type.py new file mode 100644 index 000000000..602b71638 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_file_type.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.file_type import FileType # noqa: E501 +from swagger_client.rest import ApiException + + +class TestFileType(unittest.TestCase): + """FileType unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testFileType(self): + """Test FileType""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.file_type.FileType() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_firmware_management_api.py b/libs/cloudapi/cloudsdk/test/test_firmware_management_api.py new file mode 100644 index 000000000..4c67547ee --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_firmware_management_api.py @@ -0,0 +1,173 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.api.firmware_management_api import FirmwareManagementApi # noqa: E501 +from swagger_client.rest import ApiException + + +class TestFirmwareManagementApi(unittest.TestCase): + """FirmwareManagementApi unit test stubs""" + + def setUp(self): + self.api = FirmwareManagementApi() # noqa: E501 + + def tearDown(self): + pass + + def test_create_customer_firmware_track_record(self): + """Test case for create_customer_firmware_track_record + + Create new CustomerFirmwareTrackRecord # noqa: E501 + """ + pass + + def test_create_firmware_track_record(self): + """Test case for create_firmware_track_record + + Create new FirmwareTrackRecord # noqa: E501 + """ + pass + + def test_create_firmware_version(self): + """Test case for create_firmware_version + + Create new FirmwareVersion # noqa: E501 + """ + pass + + def test_delete_customer_firmware_track_record(self): + """Test case for delete_customer_firmware_track_record + + Delete CustomerFirmwareTrackRecord # noqa: E501 + """ + pass + + def test_delete_firmware_track_assignment(self): + """Test case for delete_firmware_track_assignment + + Delete FirmwareTrackAssignment # noqa: E501 + """ + pass + + def test_delete_firmware_track_record(self): + """Test case for delete_firmware_track_record + + Delete FirmwareTrackRecord # noqa: E501 + """ + pass + + def test_delete_firmware_version(self): + """Test case for delete_firmware_version + + Delete FirmwareVersion # noqa: E501 + """ + pass + + def test_get_customer_firmware_track_record(self): + """Test case for get_customer_firmware_track_record + + Get CustomerFirmwareTrackRecord By customerId # noqa: E501 + """ + pass + + def test_get_default_customer_track_setting(self): + """Test case for get_default_customer_track_setting + + Get default settings for handling automatic firmware upgrades # noqa: E501 + """ + pass + + def test_get_firmware_model_ids_by_equipment_type(self): + """Test case for get_firmware_model_ids_by_equipment_type + + Get equipment models from all known firmware versions filtered by equipmentType # noqa: E501 + """ + pass + + def test_get_firmware_track_assignment_details(self): + """Test case for get_firmware_track_assignment_details + + Get FirmwareTrackAssignmentDetails for a given firmware track name # noqa: E501 + """ + pass + + def test_get_firmware_track_record(self): + """Test case for get_firmware_track_record + + Get FirmwareTrackRecord By Id # noqa: E501 + """ + pass + + def test_get_firmware_track_record_by_name(self): + """Test case for get_firmware_track_record_by_name + + Get FirmwareTrackRecord By name # noqa: E501 + """ + pass + + def test_get_firmware_version(self): + """Test case for get_firmware_version + + Get FirmwareVersion By Id # noqa: E501 + """ + pass + + def test_get_firmware_version_by_equipment_type(self): + """Test case for get_firmware_version_by_equipment_type + + Get FirmwareVersions filtered by equipmentType and optional equipment model # noqa: E501 + """ + pass + + def test_get_firmware_version_by_name(self): + """Test case for get_firmware_version_by_name + + Get FirmwareVersion By name # noqa: E501 + """ + pass + + def test_update_customer_firmware_track_record(self): + """Test case for update_customer_firmware_track_record + + Update CustomerFirmwareTrackRecord # noqa: E501 + """ + pass + + def test_update_firmware_track_assignment_details(self): + """Test case for update_firmware_track_assignment_details + + Update FirmwareTrackAssignmentDetails # noqa: E501 + """ + pass + + def test_update_firmware_track_record(self): + """Test case for update_firmware_track_record + + Update FirmwareTrackRecord # noqa: E501 + """ + pass + + def test_update_firmware_version(self): + """Test case for update_firmware_version + + Update FirmwareVersion # noqa: E501 + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_firmware_schedule_setting.py b/libs/cloudapi/cloudsdk/test/test_firmware_schedule_setting.py new file mode 100644 index 000000000..fb17a8e74 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_firmware_schedule_setting.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.firmware_schedule_setting import FirmwareScheduleSetting # noqa: E501 +from swagger_client.rest import ApiException + + +class TestFirmwareScheduleSetting(unittest.TestCase): + """FirmwareScheduleSetting unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testFirmwareScheduleSetting(self): + """Test FirmwareScheduleSetting""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.firmware_schedule_setting.FirmwareScheduleSetting() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_firmware_track_assignment_details.py b/libs/cloudapi/cloudsdk/test/test_firmware_track_assignment_details.py new file mode 100644 index 000000000..a59d8fbce --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_firmware_track_assignment_details.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.firmware_track_assignment_details import FirmwareTrackAssignmentDetails # noqa: E501 +from swagger_client.rest import ApiException + + +class TestFirmwareTrackAssignmentDetails(unittest.TestCase): + """FirmwareTrackAssignmentDetails unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testFirmwareTrackAssignmentDetails(self): + """Test FirmwareTrackAssignmentDetails""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.firmware_track_assignment_details.FirmwareTrackAssignmentDetails() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_firmware_track_assignment_record.py b/libs/cloudapi/cloudsdk/test/test_firmware_track_assignment_record.py new file mode 100644 index 000000000..8faf16ae9 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_firmware_track_assignment_record.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.firmware_track_assignment_record import FirmwareTrackAssignmentRecord # noqa: E501 +from swagger_client.rest import ApiException + + +class TestFirmwareTrackAssignmentRecord(unittest.TestCase): + """FirmwareTrackAssignmentRecord unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testFirmwareTrackAssignmentRecord(self): + """Test FirmwareTrackAssignmentRecord""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.firmware_track_assignment_record.FirmwareTrackAssignmentRecord() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_firmware_track_record.py b/libs/cloudapi/cloudsdk/test/test_firmware_track_record.py new file mode 100644 index 000000000..b9dd31fbe --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_firmware_track_record.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.firmware_track_record import FirmwareTrackRecord # noqa: E501 +from swagger_client.rest import ApiException + + +class TestFirmwareTrackRecord(unittest.TestCase): + """FirmwareTrackRecord unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testFirmwareTrackRecord(self): + """Test FirmwareTrackRecord""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.firmware_track_record.FirmwareTrackRecord() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_firmware_validation_method.py b/libs/cloudapi/cloudsdk/test/test_firmware_validation_method.py new file mode 100644 index 000000000..aca2c4caa --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_firmware_validation_method.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.firmware_validation_method import FirmwareValidationMethod # noqa: E501 +from swagger_client.rest import ApiException + + +class TestFirmwareValidationMethod(unittest.TestCase): + """FirmwareValidationMethod unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testFirmwareValidationMethod(self): + """Test FirmwareValidationMethod""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.firmware_validation_method.FirmwareValidationMethod() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_firmware_version.py b/libs/cloudapi/cloudsdk/test/test_firmware_version.py new file mode 100644 index 000000000..d931cd8e6 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_firmware_version.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.firmware_version import FirmwareVersion # noqa: E501 +from swagger_client.rest import ApiException + + +class TestFirmwareVersion(unittest.TestCase): + """FirmwareVersion unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testFirmwareVersion(self): + """Test FirmwareVersion""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.firmware_version.FirmwareVersion() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_gateway_added_event.py b/libs/cloudapi/cloudsdk/test/test_gateway_added_event.py new file mode 100644 index 000000000..aaedb3677 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_gateway_added_event.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.gateway_added_event import GatewayAddedEvent # noqa: E501 +from swagger_client.rest import ApiException + + +class TestGatewayAddedEvent(unittest.TestCase): + """GatewayAddedEvent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testGatewayAddedEvent(self): + """Test GatewayAddedEvent""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.gateway_added_event.GatewayAddedEvent() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_gateway_changed_event.py b/libs/cloudapi/cloudsdk/test/test_gateway_changed_event.py new file mode 100644 index 000000000..3c4956a5e --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_gateway_changed_event.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.gateway_changed_event import GatewayChangedEvent # noqa: E501 +from swagger_client.rest import ApiException + + +class TestGatewayChangedEvent(unittest.TestCase): + """GatewayChangedEvent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testGatewayChangedEvent(self): + """Test GatewayChangedEvent""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.gateway_changed_event.GatewayChangedEvent() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_gateway_removed_event.py b/libs/cloudapi/cloudsdk/test/test_gateway_removed_event.py new file mode 100644 index 000000000..58e310930 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_gateway_removed_event.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.gateway_removed_event import GatewayRemovedEvent # noqa: E501 +from swagger_client.rest import ApiException + + +class TestGatewayRemovedEvent(unittest.TestCase): + """GatewayRemovedEvent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testGatewayRemovedEvent(self): + """Test GatewayRemovedEvent""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.gateway_removed_event.GatewayRemovedEvent() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_gateway_type.py b/libs/cloudapi/cloudsdk/test/test_gateway_type.py new file mode 100644 index 000000000..0f6af65ed --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_gateway_type.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.gateway_type import GatewayType # noqa: E501 +from swagger_client.rest import ApiException + + +class TestGatewayType(unittest.TestCase): + """GatewayType unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testGatewayType(self): + """Test GatewayType""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.gateway_type.GatewayType() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_generic_response.py b/libs/cloudapi/cloudsdk/test/test_generic_response.py new file mode 100644 index 000000000..9d37bcf70 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_generic_response.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.generic_response import GenericResponse # noqa: E501 +from swagger_client.rest import ApiException + + +class TestGenericResponse(unittest.TestCase): + """GenericResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testGenericResponse(self): + """Test GenericResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.generic_response.GenericResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_gre_tunnel_configuration.py b/libs/cloudapi/cloudsdk/test/test_gre_tunnel_configuration.py new file mode 100644 index 000000000..9ed71bec1 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_gre_tunnel_configuration.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.gre_tunnel_configuration import GreTunnelConfiguration # noqa: E501 +from swagger_client.rest import ApiException + + +class TestGreTunnelConfiguration(unittest.TestCase): + """GreTunnelConfiguration unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testGreTunnelConfiguration(self): + """Test GreTunnelConfiguration""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.gre_tunnel_configuration.GreTunnelConfiguration() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_guard_interval.py b/libs/cloudapi/cloudsdk/test/test_guard_interval.py new file mode 100644 index 000000000..f4e6efe8c --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_guard_interval.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.guard_interval import GuardInterval # noqa: E501 +from swagger_client.rest import ApiException + + +class TestGuardInterval(unittest.TestCase): + """GuardInterval unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testGuardInterval(self): + """Test GuardInterval""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.guard_interval.GuardInterval() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_integer_per_radio_type_map.py b/libs/cloudapi/cloudsdk/test/test_integer_per_radio_type_map.py new file mode 100644 index 000000000..eb72c908f --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_integer_per_radio_type_map.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.integer_per_radio_type_map import IntegerPerRadioTypeMap # noqa: E501 +from swagger_client.rest import ApiException + + +class TestIntegerPerRadioTypeMap(unittest.TestCase): + """IntegerPerRadioTypeMap unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testIntegerPerRadioTypeMap(self): + """Test IntegerPerRadioTypeMap""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.integer_per_radio_type_map.IntegerPerRadioTypeMap() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_integer_per_status_code_map.py b/libs/cloudapi/cloudsdk/test/test_integer_per_status_code_map.py new file mode 100644 index 000000000..3b513aae8 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_integer_per_status_code_map.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.integer_per_status_code_map import IntegerPerStatusCodeMap # noqa: E501 +from swagger_client.rest import ApiException + + +class TestIntegerPerStatusCodeMap(unittest.TestCase): + """IntegerPerStatusCodeMap unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testIntegerPerStatusCodeMap(self): + """Test IntegerPerStatusCodeMap""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.integer_per_status_code_map.IntegerPerStatusCodeMap() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_integer_status_code_map.py b/libs/cloudapi/cloudsdk/test/test_integer_status_code_map.py new file mode 100644 index 000000000..aa2deadfe --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_integer_status_code_map.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.integer_status_code_map import IntegerStatusCodeMap # noqa: E501 +from swagger_client.rest import ApiException + + +class TestIntegerStatusCodeMap(unittest.TestCase): + """IntegerStatusCodeMap unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testIntegerStatusCodeMap(self): + """Test IntegerStatusCodeMap""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.integer_status_code_map.IntegerStatusCodeMap() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_integer_value_map.py b/libs/cloudapi/cloudsdk/test/test_integer_value_map.py new file mode 100644 index 000000000..f651b9813 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_integer_value_map.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.integer_value_map import IntegerValueMap # noqa: E501 +from swagger_client.rest import ApiException + + +class TestIntegerValueMap(unittest.TestCase): + """IntegerValueMap unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testIntegerValueMap(self): + """Test IntegerValueMap""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.integer_value_map.IntegerValueMap() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_json_serialized_exception.py b/libs/cloudapi/cloudsdk/test/test_json_serialized_exception.py new file mode 100644 index 000000000..3080141cd --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_json_serialized_exception.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.json_serialized_exception import JsonSerializedException # noqa: E501 +from swagger_client.rest import ApiException + + +class TestJsonSerializedException(unittest.TestCase): + """JsonSerializedException unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testJsonSerializedException(self): + """Test JsonSerializedException""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.json_serialized_exception.JsonSerializedException() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_link_quality_aggregated_stats.py b/libs/cloudapi/cloudsdk/test/test_link_quality_aggregated_stats.py new file mode 100644 index 000000000..f3211bf74 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_link_quality_aggregated_stats.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.link_quality_aggregated_stats import LinkQualityAggregatedStats # noqa: E501 +from swagger_client.rest import ApiException + + +class TestLinkQualityAggregatedStats(unittest.TestCase): + """LinkQualityAggregatedStats unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testLinkQualityAggregatedStats(self): + """Test LinkQualityAggregatedStats""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.link_quality_aggregated_stats.LinkQualityAggregatedStats() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_link_quality_aggregated_stats_per_radio_type_map.py b/libs/cloudapi/cloudsdk/test/test_link_quality_aggregated_stats_per_radio_type_map.py new file mode 100644 index 000000000..c253af946 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_link_quality_aggregated_stats_per_radio_type_map.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.link_quality_aggregated_stats_per_radio_type_map import LinkQualityAggregatedStatsPerRadioTypeMap # noqa: E501 +from swagger_client.rest import ApiException + + +class TestLinkQualityAggregatedStatsPerRadioTypeMap(unittest.TestCase): + """LinkQualityAggregatedStatsPerRadioTypeMap unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testLinkQualityAggregatedStatsPerRadioTypeMap(self): + """Test LinkQualityAggregatedStatsPerRadioTypeMap""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.link_quality_aggregated_stats_per_radio_type_map.LinkQualityAggregatedStatsPerRadioTypeMap() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_list_of_channel_info_reports_per_radio_map.py b/libs/cloudapi/cloudsdk/test/test_list_of_channel_info_reports_per_radio_map.py new file mode 100644 index 000000000..9f2231e29 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_list_of_channel_info_reports_per_radio_map.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.list_of_channel_info_reports_per_radio_map import ListOfChannelInfoReportsPerRadioMap # noqa: E501 +from swagger_client.rest import ApiException + + +class TestListOfChannelInfoReportsPerRadioMap(unittest.TestCase): + """ListOfChannelInfoReportsPerRadioMap unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testListOfChannelInfoReportsPerRadioMap(self): + """Test ListOfChannelInfoReportsPerRadioMap""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.list_of_channel_info_reports_per_radio_map.ListOfChannelInfoReportsPerRadioMap() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_list_of_macs_per_radio_map.py b/libs/cloudapi/cloudsdk/test/test_list_of_macs_per_radio_map.py new file mode 100644 index 000000000..ea4ffb4d8 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_list_of_macs_per_radio_map.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.list_of_macs_per_radio_map import ListOfMacsPerRadioMap # noqa: E501 +from swagger_client.rest import ApiException + + +class TestListOfMacsPerRadioMap(unittest.TestCase): + """ListOfMacsPerRadioMap unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testListOfMacsPerRadioMap(self): + """Test ListOfMacsPerRadioMap""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.list_of_macs_per_radio_map.ListOfMacsPerRadioMap() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_list_of_mcs_stats_per_radio_map.py b/libs/cloudapi/cloudsdk/test/test_list_of_mcs_stats_per_radio_map.py new file mode 100644 index 000000000..456bdc141 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_list_of_mcs_stats_per_radio_map.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.list_of_mcs_stats_per_radio_map import ListOfMcsStatsPerRadioMap # noqa: E501 +from swagger_client.rest import ApiException + + +class TestListOfMcsStatsPerRadioMap(unittest.TestCase): + """ListOfMcsStatsPerRadioMap unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testListOfMcsStatsPerRadioMap(self): + """Test ListOfMcsStatsPerRadioMap""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.list_of_mcs_stats_per_radio_map.ListOfMcsStatsPerRadioMap() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_list_of_radio_utilization_per_radio_map.py b/libs/cloudapi/cloudsdk/test/test_list_of_radio_utilization_per_radio_map.py new file mode 100644 index 000000000..c4a749e9a --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_list_of_radio_utilization_per_radio_map.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.list_of_radio_utilization_per_radio_map import ListOfRadioUtilizationPerRadioMap # noqa: E501 +from swagger_client.rest import ApiException + + +class TestListOfRadioUtilizationPerRadioMap(unittest.TestCase): + """ListOfRadioUtilizationPerRadioMap unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testListOfRadioUtilizationPerRadioMap(self): + """Test ListOfRadioUtilizationPerRadioMap""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.list_of_radio_utilization_per_radio_map.ListOfRadioUtilizationPerRadioMap() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_list_of_ssid_statistics_per_radio_map.py b/libs/cloudapi/cloudsdk/test/test_list_of_ssid_statistics_per_radio_map.py new file mode 100644 index 000000000..0bc410328 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_list_of_ssid_statistics_per_radio_map.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.list_of_ssid_statistics_per_radio_map import ListOfSsidStatisticsPerRadioMap # noqa: E501 +from swagger_client.rest import ApiException + + +class TestListOfSsidStatisticsPerRadioMap(unittest.TestCase): + """ListOfSsidStatisticsPerRadioMap unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testListOfSsidStatisticsPerRadioMap(self): + """Test ListOfSsidStatisticsPerRadioMap""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.list_of_ssid_statistics_per_radio_map.ListOfSsidStatisticsPerRadioMap() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_local_time_value.py b/libs/cloudapi/cloudsdk/test/test_local_time_value.py new file mode 100644 index 000000000..356085fb4 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_local_time_value.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.local_time_value import LocalTimeValue # noqa: E501 +from swagger_client.rest import ApiException + + +class TestLocalTimeValue(unittest.TestCase): + """LocalTimeValue unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testLocalTimeValue(self): + """Test LocalTimeValue""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.local_time_value.LocalTimeValue() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_location.py b/libs/cloudapi/cloudsdk/test/test_location.py new file mode 100644 index 000000000..6dc63342e --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_location.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.location import Location # noqa: E501 +from swagger_client.rest import ApiException + + +class TestLocation(unittest.TestCase): + """Location unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testLocation(self): + """Test Location""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.location.Location() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_location_activity_details.py b/libs/cloudapi/cloudsdk/test/test_location_activity_details.py new file mode 100644 index 000000000..3b9ab3170 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_location_activity_details.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.location_activity_details import LocationActivityDetails # noqa: E501 +from swagger_client.rest import ApiException + + +class TestLocationActivityDetails(unittest.TestCase): + """LocationActivityDetails unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testLocationActivityDetails(self): + """Test LocationActivityDetails""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.location_activity_details.LocationActivityDetails() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_location_activity_details_map.py b/libs/cloudapi/cloudsdk/test/test_location_activity_details_map.py new file mode 100644 index 000000000..9bb6148cd --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_location_activity_details_map.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.location_activity_details_map import LocationActivityDetailsMap # noqa: E501 +from swagger_client.rest import ApiException + + +class TestLocationActivityDetailsMap(unittest.TestCase): + """LocationActivityDetailsMap unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testLocationActivityDetailsMap(self): + """Test LocationActivityDetailsMap""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.location_activity_details_map.LocationActivityDetailsMap() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_location_added_event.py b/libs/cloudapi/cloudsdk/test/test_location_added_event.py new file mode 100644 index 000000000..812162386 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_location_added_event.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.location_added_event import LocationAddedEvent # noqa: E501 +from swagger_client.rest import ApiException + + +class TestLocationAddedEvent(unittest.TestCase): + """LocationAddedEvent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testLocationAddedEvent(self): + """Test LocationAddedEvent""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.location_added_event.LocationAddedEvent() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_location_api.py b/libs/cloudapi/cloudsdk/test/test_location_api.py new file mode 100644 index 000000000..b221f3e85 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_location_api.py @@ -0,0 +1,75 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.api.location_api import LocationApi # noqa: E501 +from swagger_client.rest import ApiException + + +class TestLocationApi(unittest.TestCase): + """LocationApi unit test stubs""" + + def setUp(self): + self.api = LocationApi() # noqa: E501 + + def tearDown(self): + pass + + def test_create_location(self): + """Test case for create_location + + Create new Location # noqa: E501 + """ + pass + + def test_delete_location(self): + """Test case for delete_location + + Delete Location # noqa: E501 + """ + pass + + def test_get_location_by_id(self): + """Test case for get_location_by_id + + Get Location By Id # noqa: E501 + """ + pass + + def test_get_location_by_set_of_ids(self): + """Test case for get_location_by_set_of_ids + + Get Locations By a set of ids # noqa: E501 + """ + pass + + def test_get_locations_by_customer_id(self): + """Test case for get_locations_by_customer_id + + Get Locations By customerId # noqa: E501 + """ + pass + + def test_update_location(self): + """Test case for update_location + + Update Location # noqa: E501 + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_location_changed_event.py b/libs/cloudapi/cloudsdk/test/test_location_changed_event.py new file mode 100644 index 000000000..2d9789a24 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_location_changed_event.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.location_changed_event import LocationChangedEvent # noqa: E501 +from swagger_client.rest import ApiException + + +class TestLocationChangedEvent(unittest.TestCase): + """LocationChangedEvent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testLocationChangedEvent(self): + """Test LocationChangedEvent""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.location_changed_event.LocationChangedEvent() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_location_details.py b/libs/cloudapi/cloudsdk/test/test_location_details.py new file mode 100644 index 000000000..f70fe4b2f --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_location_details.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.location_details import LocationDetails # noqa: E501 +from swagger_client.rest import ApiException + + +class TestLocationDetails(unittest.TestCase): + """LocationDetails unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testLocationDetails(self): + """Test LocationDetails""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.location_details.LocationDetails() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_location_removed_event.py b/libs/cloudapi/cloudsdk/test/test_location_removed_event.py new file mode 100644 index 000000000..add0ab4a9 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_location_removed_event.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.location_removed_event import LocationRemovedEvent # noqa: E501 +from swagger_client.rest import ApiException + + +class TestLocationRemovedEvent(unittest.TestCase): + """LocationRemovedEvent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testLocationRemovedEvent(self): + """Test LocationRemovedEvent""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.location_removed_event.LocationRemovedEvent() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_login_api.py b/libs/cloudapi/cloudsdk/test/test_login_api.py new file mode 100644 index 000000000..15a373c97 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_login_api.py @@ -0,0 +1,47 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.api.login_api import LoginApi # noqa: E501 +from swagger_client.rest import ApiException + + +class TestLoginApi(unittest.TestCase): + """LoginApi unit test stubs""" + + def setUp(self): + self.api = LoginApi() # noqa: E501 + + def tearDown(self): + pass + + def test_get_access_token(self): + """Test case for get_access_token + + Get access token - to be used as Bearer token header for all other API requests. # noqa: E501 + """ + pass + + def test_portal_ping(self): + """Test case for portal_ping + + Portal proces version info. # noqa: E501 + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_long_per_radio_type_map.py b/libs/cloudapi/cloudsdk/test/test_long_per_radio_type_map.py new file mode 100644 index 000000000..53a33824f --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_long_per_radio_type_map.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.long_per_radio_type_map import LongPerRadioTypeMap # noqa: E501 +from swagger_client.rest import ApiException + + +class TestLongPerRadioTypeMap(unittest.TestCase): + """LongPerRadioTypeMap unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testLongPerRadioTypeMap(self): + """Test LongPerRadioTypeMap""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.long_per_radio_type_map.LongPerRadioTypeMap() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_long_value_map.py b/libs/cloudapi/cloudsdk/test/test_long_value_map.py new file mode 100644 index 000000000..552479d91 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_long_value_map.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.long_value_map import LongValueMap # noqa: E501 +from swagger_client.rest import ApiException + + +class TestLongValueMap(unittest.TestCase): + """LongValueMap unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testLongValueMap(self): + """Test LongValueMap""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.long_value_map.LongValueMap() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_mac_address.py b/libs/cloudapi/cloudsdk/test/test_mac_address.py new file mode 100644 index 000000000..00194e4b1 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_mac_address.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.mac_address import MacAddress # noqa: E501 +from swagger_client.rest import ApiException + + +class TestMacAddress(unittest.TestCase): + """MacAddress unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testMacAddress(self): + """Test MacAddress""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.mac_address.MacAddress() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_mac_allowlist_record.py b/libs/cloudapi/cloudsdk/test/test_mac_allowlist_record.py new file mode 100644 index 000000000..0221f8322 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_mac_allowlist_record.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.mac_allowlist_record import MacAllowlistRecord # noqa: E501 +from swagger_client.rest import ApiException + + +class TestMacAllowlistRecord(unittest.TestCase): + """MacAllowlistRecord unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testMacAllowlistRecord(self): + """Test MacAllowlistRecord""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.mac_allowlist_record.MacAllowlistRecord() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_managed_file_info.py b/libs/cloudapi/cloudsdk/test/test_managed_file_info.py new file mode 100644 index 000000000..0413d5744 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_managed_file_info.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.managed_file_info import ManagedFileInfo # noqa: E501 +from swagger_client.rest import ApiException + + +class TestManagedFileInfo(unittest.TestCase): + """ManagedFileInfo unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testManagedFileInfo(self): + """Test ManagedFileInfo""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.managed_file_info.ManagedFileInfo() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_management_rate.py b/libs/cloudapi/cloudsdk/test/test_management_rate.py new file mode 100644 index 000000000..2175948f8 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_management_rate.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.management_rate import ManagementRate # noqa: E501 +from swagger_client.rest import ApiException + + +class TestManagementRate(unittest.TestCase): + """ManagementRate unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testManagementRate(self): + """Test ManagementRate""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.management_rate.ManagementRate() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_manufacturer_details_record.py b/libs/cloudapi/cloudsdk/test/test_manufacturer_details_record.py new file mode 100644 index 000000000..964a635ba --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_manufacturer_details_record.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.manufacturer_details_record import ManufacturerDetailsRecord # noqa: E501 +from swagger_client.rest import ApiException + + +class TestManufacturerDetailsRecord(unittest.TestCase): + """ManufacturerDetailsRecord unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testManufacturerDetailsRecord(self): + """Test ManufacturerDetailsRecord""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.manufacturer_details_record.ManufacturerDetailsRecord() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_manufacturer_oui_api.py b/libs/cloudapi/cloudsdk/test/test_manufacturer_oui_api.py new file mode 100644 index 000000000..e77a658f4 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_manufacturer_oui_api.py @@ -0,0 +1,131 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.api.manufacturer_oui_api import ManufacturerOUIApi # noqa: E501 +from swagger_client.rest import ApiException + + +class TestManufacturerOUIApi(unittest.TestCase): + """ManufacturerOUIApi unit test stubs""" + + def setUp(self): + self.api = ManufacturerOUIApi() # noqa: E501 + + def tearDown(self): + pass + + def test_create_manufacturer_details_record(self): + """Test case for create_manufacturer_details_record + + Create new ManufacturerDetailsRecord # noqa: E501 + """ + pass + + def test_create_manufacturer_oui_details(self): + """Test case for create_manufacturer_oui_details + + Create new ManufacturerOuiDetails # noqa: E501 + """ + pass + + def test_delete_manufacturer_details_record(self): + """Test case for delete_manufacturer_details_record + + Delete ManufacturerDetailsRecord # noqa: E501 + """ + pass + + def test_delete_manufacturer_oui_details(self): + """Test case for delete_manufacturer_oui_details + + Delete ManufacturerOuiDetails # noqa: E501 + """ + pass + + def test_get_alias_values_that_begin_with(self): + """Test case for get_alias_values_that_begin_with + + Get manufacturer aliases that begin with the given prefix # noqa: E501 + """ + pass + + def test_get_all_manufacturer_oui_details(self): + """Test case for get_all_manufacturer_oui_details + + Get all ManufacturerOuiDetails # noqa: E501 + """ + pass + + def test_get_manufacturer_details_for_oui_list(self): + """Test case for get_manufacturer_details_for_oui_list + + Get ManufacturerOuiDetails for the list of OUIs # noqa: E501 + """ + pass + + def test_get_manufacturer_details_record(self): + """Test case for get_manufacturer_details_record + + Get ManufacturerDetailsRecord By id # noqa: E501 + """ + pass + + def test_get_manufacturer_oui_details_by_oui(self): + """Test case for get_manufacturer_oui_details_by_oui + + Get ManufacturerOuiDetails By oui # noqa: E501 + """ + pass + + def test_get_oui_list_for_manufacturer(self): + """Test case for get_oui_list_for_manufacturer + + Get Oui List for manufacturer # noqa: E501 + """ + pass + + def test_update_manufacturer_details_record(self): + """Test case for update_manufacturer_details_record + + Update ManufacturerDetailsRecord # noqa: E501 + """ + pass + + def test_update_oui_alias(self): + """Test case for update_oui_alias + + Update alias for ManufacturerOuiDetails # noqa: E501 + """ + pass + + def test_upload_oui_data_file(self): + """Test case for upload_oui_data_file + + Upload the gziped OUI DataFile, in the format that is published by IEEE. Latest sanitized IEEE OUI data file (oui.txt.gz) can be obtained from https://linuxnet.ca/ieee/oui/ # noqa: E501 + """ + pass + + def test_upload_oui_data_file_base64(self): + """Test case for upload_oui_data_file_base64 + + Upload the gziped OUI DataFile using base64 encoding, in the format that is published by IEEE. Latest sanitized IEEE OUI data file (oui.txt.gz) can be obtained from https://linuxnet.ca/ieee/oui/ # noqa: E501 + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_manufacturer_oui_details.py b/libs/cloudapi/cloudsdk/test/test_manufacturer_oui_details.py new file mode 100644 index 000000000..4c8892857 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_manufacturer_oui_details.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.manufacturer_oui_details import ManufacturerOuiDetails # noqa: E501 +from swagger_client.rest import ApiException + + +class TestManufacturerOuiDetails(unittest.TestCase): + """ManufacturerOuiDetails unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testManufacturerOuiDetails(self): + """Test ManufacturerOuiDetails""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.manufacturer_oui_details.ManufacturerOuiDetails() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_manufacturer_oui_details_per_oui_map.py b/libs/cloudapi/cloudsdk/test/test_manufacturer_oui_details_per_oui_map.py new file mode 100644 index 000000000..f9b3e282c --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_manufacturer_oui_details_per_oui_map.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.manufacturer_oui_details_per_oui_map import ManufacturerOuiDetailsPerOuiMap # noqa: E501 +from swagger_client.rest import ApiException + + +class TestManufacturerOuiDetailsPerOuiMap(unittest.TestCase): + """ManufacturerOuiDetailsPerOuiMap unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testManufacturerOuiDetailsPerOuiMap(self): + """Test ManufacturerOuiDetailsPerOuiMap""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.manufacturer_oui_details_per_oui_map.ManufacturerOuiDetailsPerOuiMap() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_map_of_wmm_queue_stats_per_radio_map.py b/libs/cloudapi/cloudsdk/test/test_map_of_wmm_queue_stats_per_radio_map.py new file mode 100644 index 000000000..560b69d66 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_map_of_wmm_queue_stats_per_radio_map.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.map_of_wmm_queue_stats_per_radio_map import MapOfWmmQueueStatsPerRadioMap # noqa: E501 +from swagger_client.rest import ApiException + + +class TestMapOfWmmQueueStatsPerRadioMap(unittest.TestCase): + """MapOfWmmQueueStatsPerRadioMap unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testMapOfWmmQueueStatsPerRadioMap(self): + """Test MapOfWmmQueueStatsPerRadioMap""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.map_of_wmm_queue_stats_per_radio_map.MapOfWmmQueueStatsPerRadioMap() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_mcs_stats.py b/libs/cloudapi/cloudsdk/test/test_mcs_stats.py new file mode 100644 index 000000000..eb5be8417 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_mcs_stats.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.mcs_stats import McsStats # noqa: E501 +from swagger_client.rest import ApiException + + +class TestMcsStats(unittest.TestCase): + """McsStats unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testMcsStats(self): + """Test McsStats""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.mcs_stats.McsStats() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_mcs_type.py b/libs/cloudapi/cloudsdk/test/test_mcs_type.py new file mode 100644 index 000000000..ee3b97468 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_mcs_type.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.mcs_type import McsType # noqa: E501 +from swagger_client.rest import ApiException + + +class TestMcsType(unittest.TestCase): + """McsType unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testMcsType(self): + """Test McsType""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.mcs_type.McsType() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_mesh_group.py b/libs/cloudapi/cloudsdk/test/test_mesh_group.py new file mode 100644 index 000000000..8ca129db7 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_mesh_group.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.mesh_group import MeshGroup # noqa: E501 +from swagger_client.rest import ApiException + + +class TestMeshGroup(unittest.TestCase): + """MeshGroup unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testMeshGroup(self): + """Test MeshGroup""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.mesh_group.MeshGroup() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_mesh_group_member.py b/libs/cloudapi/cloudsdk/test/test_mesh_group_member.py new file mode 100644 index 000000000..1f320a1ca --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_mesh_group_member.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.mesh_group_member import MeshGroupMember # noqa: E501 +from swagger_client.rest import ApiException + + +class TestMeshGroupMember(unittest.TestCase): + """MeshGroupMember unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testMeshGroupMember(self): + """Test MeshGroupMember""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.mesh_group_member.MeshGroupMember() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_mesh_group_property.py b/libs/cloudapi/cloudsdk/test/test_mesh_group_property.py new file mode 100644 index 000000000..b9a237889 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_mesh_group_property.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.mesh_group_property import MeshGroupProperty # noqa: E501 +from swagger_client.rest import ApiException + + +class TestMeshGroupProperty(unittest.TestCase): + """MeshGroupProperty unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testMeshGroupProperty(self): + """Test MeshGroupProperty""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.mesh_group_property.MeshGroupProperty() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_metric_config_parameter_map.py b/libs/cloudapi/cloudsdk/test/test_metric_config_parameter_map.py new file mode 100644 index 000000000..6f7345320 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_metric_config_parameter_map.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.metric_config_parameter_map import MetricConfigParameterMap # noqa: E501 +from swagger_client.rest import ApiException + + +class TestMetricConfigParameterMap(unittest.TestCase): + """MetricConfigParameterMap unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testMetricConfigParameterMap(self): + """Test MetricConfigParameterMap""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.metric_config_parameter_map.MetricConfigParameterMap() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_mimo_mode.py b/libs/cloudapi/cloudsdk/test/test_mimo_mode.py new file mode 100644 index 000000000..cf2e79bc1 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_mimo_mode.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.mimo_mode import MimoMode # noqa: E501 +from swagger_client.rest import ApiException + + +class TestMimoMode(unittest.TestCase): + """MimoMode unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testMimoMode(self): + """Test MimoMode""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.mimo_mode.MimoMode() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_min_max_avg_value_int.py b/libs/cloudapi/cloudsdk/test/test_min_max_avg_value_int.py new file mode 100644 index 000000000..44800dd70 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_min_max_avg_value_int.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.min_max_avg_value_int import MinMaxAvgValueInt # noqa: E501 +from swagger_client.rest import ApiException + + +class TestMinMaxAvgValueInt(unittest.TestCase): + """MinMaxAvgValueInt unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testMinMaxAvgValueInt(self): + """Test MinMaxAvgValueInt""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.min_max_avg_value_int.MinMaxAvgValueInt() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_min_max_avg_value_int_per_radio_map.py b/libs/cloudapi/cloudsdk/test/test_min_max_avg_value_int_per_radio_map.py new file mode 100644 index 000000000..3e5089fc6 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_min_max_avg_value_int_per_radio_map.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.min_max_avg_value_int_per_radio_map import MinMaxAvgValueIntPerRadioMap # noqa: E501 +from swagger_client.rest import ApiException + + +class TestMinMaxAvgValueIntPerRadioMap(unittest.TestCase): + """MinMaxAvgValueIntPerRadioMap unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testMinMaxAvgValueIntPerRadioMap(self): + """Test MinMaxAvgValueIntPerRadioMap""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.min_max_avg_value_int_per_radio_map.MinMaxAvgValueIntPerRadioMap() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_multicast_rate.py b/libs/cloudapi/cloudsdk/test/test_multicast_rate.py new file mode 100644 index 000000000..87c9939a7 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_multicast_rate.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.multicast_rate import MulticastRate # noqa: E501 +from swagger_client.rest import ApiException + + +class TestMulticastRate(unittest.TestCase): + """MulticastRate unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testMulticastRate(self): + """Test MulticastRate""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.multicast_rate.MulticastRate() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_neighbor_scan_packet_type.py b/libs/cloudapi/cloudsdk/test/test_neighbor_scan_packet_type.py new file mode 100644 index 000000000..0d31dca59 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_neighbor_scan_packet_type.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.neighbor_scan_packet_type import NeighborScanPacketType # noqa: E501 +from swagger_client.rest import ApiException + + +class TestNeighborScanPacketType(unittest.TestCase): + """NeighborScanPacketType unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testNeighborScanPacketType(self): + """Test NeighborScanPacketType""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.neighbor_scan_packet_type.NeighborScanPacketType() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_neighbour_report.py b/libs/cloudapi/cloudsdk/test/test_neighbour_report.py new file mode 100644 index 000000000..62ef460b5 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_neighbour_report.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.neighbour_report import NeighbourReport # noqa: E501 +from swagger_client.rest import ApiException + + +class TestNeighbourReport(unittest.TestCase): + """NeighbourReport unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testNeighbourReport(self): + """Test NeighbourReport""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.neighbour_report.NeighbourReport() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_neighbour_scan_reports.py b/libs/cloudapi/cloudsdk/test/test_neighbour_scan_reports.py new file mode 100644 index 000000000..3e42d5891 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_neighbour_scan_reports.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.neighbour_scan_reports import NeighbourScanReports # noqa: E501 +from swagger_client.rest import ApiException + + +class TestNeighbourScanReports(unittest.TestCase): + """NeighbourScanReports unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testNeighbourScanReports(self): + """Test NeighbourScanReports""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.neighbour_scan_reports.NeighbourScanReports() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_neighbouring_ap_list_configuration.py b/libs/cloudapi/cloudsdk/test/test_neighbouring_ap_list_configuration.py new file mode 100644 index 000000000..6ebb568e9 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_neighbouring_ap_list_configuration.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.neighbouring_ap_list_configuration import NeighbouringAPListConfiguration # noqa: E501 +from swagger_client.rest import ApiException + + +class TestNeighbouringAPListConfiguration(unittest.TestCase): + """NeighbouringAPListConfiguration unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testNeighbouringAPListConfiguration(self): + """Test NeighbouringAPListConfiguration""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.neighbouring_ap_list_configuration.NeighbouringAPListConfiguration() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_network_admin_status_data.py b/libs/cloudapi/cloudsdk/test/test_network_admin_status_data.py new file mode 100644 index 000000000..9708b63fa --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_network_admin_status_data.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.network_admin_status_data import NetworkAdminStatusData # noqa: E501 +from swagger_client.rest import ApiException + + +class TestNetworkAdminStatusData(unittest.TestCase): + """NetworkAdminStatusData unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testNetworkAdminStatusData(self): + """Test NetworkAdminStatusData""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.network_admin_status_data.NetworkAdminStatusData() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_network_aggregate_status_data.py b/libs/cloudapi/cloudsdk/test/test_network_aggregate_status_data.py new file mode 100644 index 000000000..9ac3c31dd --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_network_aggregate_status_data.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.network_aggregate_status_data import NetworkAggregateStatusData # noqa: E501 +from swagger_client.rest import ApiException + + +class TestNetworkAggregateStatusData(unittest.TestCase): + """NetworkAggregateStatusData unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testNetworkAggregateStatusData(self): + """Test NetworkAggregateStatusData""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.network_aggregate_status_data.NetworkAggregateStatusData() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_network_forward_mode.py b/libs/cloudapi/cloudsdk/test/test_network_forward_mode.py new file mode 100644 index 000000000..80f922c5f --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_network_forward_mode.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.network_forward_mode import NetworkForwardMode # noqa: E501 +from swagger_client.rest import ApiException + + +class TestNetworkForwardMode(unittest.TestCase): + """NetworkForwardMode unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testNetworkForwardMode(self): + """Test NetworkForwardMode""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.network_forward_mode.NetworkForwardMode() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_network_probe_metrics.py b/libs/cloudapi/cloudsdk/test/test_network_probe_metrics.py new file mode 100644 index 000000000..3eeb3a01e --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_network_probe_metrics.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.network_probe_metrics import NetworkProbeMetrics # noqa: E501 +from swagger_client.rest import ApiException + + +class TestNetworkProbeMetrics(unittest.TestCase): + """NetworkProbeMetrics unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testNetworkProbeMetrics(self): + """Test NetworkProbeMetrics""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.network_probe_metrics.NetworkProbeMetrics() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_network_type.py b/libs/cloudapi/cloudsdk/test/test_network_type.py new file mode 100644 index 000000000..2e1214d88 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_network_type.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.network_type import NetworkType # noqa: E501 +from swagger_client.rest import ApiException + + +class TestNetworkType(unittest.TestCase): + """NetworkType unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testNetworkType(self): + """Test NetworkType""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.network_type.NetworkType() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_noise_floor_details.py b/libs/cloudapi/cloudsdk/test/test_noise_floor_details.py new file mode 100644 index 000000000..dd6c8c1fb --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_noise_floor_details.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.noise_floor_details import NoiseFloorDetails # noqa: E501 +from swagger_client.rest import ApiException + + +class TestNoiseFloorDetails(unittest.TestCase): + """NoiseFloorDetails unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testNoiseFloorDetails(self): + """Test NoiseFloorDetails""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.noise_floor_details.NoiseFloorDetails() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_noise_floor_per_radio_details.py b/libs/cloudapi/cloudsdk/test/test_noise_floor_per_radio_details.py new file mode 100644 index 000000000..f635460fb --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_noise_floor_per_radio_details.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.noise_floor_per_radio_details import NoiseFloorPerRadioDetails # noqa: E501 +from swagger_client.rest import ApiException + + +class TestNoiseFloorPerRadioDetails(unittest.TestCase): + """NoiseFloorPerRadioDetails unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testNoiseFloorPerRadioDetails(self): + """Test NoiseFloorPerRadioDetails""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.noise_floor_per_radio_details.NoiseFloorPerRadioDetails() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_noise_floor_per_radio_details_map.py b/libs/cloudapi/cloudsdk/test/test_noise_floor_per_radio_details_map.py new file mode 100644 index 000000000..dfaef98ed --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_noise_floor_per_radio_details_map.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.noise_floor_per_radio_details_map import NoiseFloorPerRadioDetailsMap # noqa: E501 +from swagger_client.rest import ApiException + + +class TestNoiseFloorPerRadioDetailsMap(unittest.TestCase): + """NoiseFloorPerRadioDetailsMap unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testNoiseFloorPerRadioDetailsMap(self): + """Test NoiseFloorPerRadioDetailsMap""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.noise_floor_per_radio_details_map.NoiseFloorPerRadioDetailsMap() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_obss_hop_mode.py b/libs/cloudapi/cloudsdk/test/test_obss_hop_mode.py new file mode 100644 index 000000000..b4c7a46e0 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_obss_hop_mode.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.obss_hop_mode import ObssHopMode # noqa: E501 +from swagger_client.rest import ApiException + + +class TestObssHopMode(unittest.TestCase): + """ObssHopMode unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testObssHopMode(self): + """Test ObssHopMode""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.obss_hop_mode.ObssHopMode() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_one_of_equipment_details.py b/libs/cloudapi/cloudsdk/test/test_one_of_equipment_details.py new file mode 100644 index 000000000..25c4f3866 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_one_of_equipment_details.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.one_of_equipment_details import OneOfEquipmentDetails # noqa: E501 +from swagger_client.rest import ApiException + + +class TestOneOfEquipmentDetails(unittest.TestCase): + """OneOfEquipmentDetails unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testOneOfEquipmentDetails(self): + """Test OneOfEquipmentDetails""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.one_of_equipment_details.OneOfEquipmentDetails() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_one_of_firmware_schedule_setting.py b/libs/cloudapi/cloudsdk/test/test_one_of_firmware_schedule_setting.py new file mode 100644 index 000000000..71769c175 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_one_of_firmware_schedule_setting.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.one_of_firmware_schedule_setting import OneOfFirmwareScheduleSetting # noqa: E501 +from swagger_client.rest import ApiException + + +class TestOneOfFirmwareScheduleSetting(unittest.TestCase): + """OneOfFirmwareScheduleSetting unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testOneOfFirmwareScheduleSetting(self): + """Test OneOfFirmwareScheduleSetting""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.one_of_firmware_schedule_setting.OneOfFirmwareScheduleSetting() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_one_of_profile_details_children.py b/libs/cloudapi/cloudsdk/test/test_one_of_profile_details_children.py new file mode 100644 index 000000000..3533f2518 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_one_of_profile_details_children.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.one_of_profile_details_children import OneOfProfileDetailsChildren # noqa: E501 +from swagger_client.rest import ApiException + + +class TestOneOfProfileDetailsChildren(unittest.TestCase): + """OneOfProfileDetailsChildren unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testOneOfProfileDetailsChildren(self): + """Test OneOfProfileDetailsChildren""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.one_of_profile_details_children.OneOfProfileDetailsChildren() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_one_of_schedule_setting.py b/libs/cloudapi/cloudsdk/test/test_one_of_schedule_setting.py new file mode 100644 index 000000000..b0386b429 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_one_of_schedule_setting.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.one_of_schedule_setting import OneOfScheduleSetting # noqa: E501 +from swagger_client.rest import ApiException + + +class TestOneOfScheduleSetting(unittest.TestCase): + """OneOfScheduleSetting unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testOneOfScheduleSetting(self): + """Test OneOfScheduleSetting""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.one_of_schedule_setting.OneOfScheduleSetting() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_one_of_service_metric_details.py b/libs/cloudapi/cloudsdk/test/test_one_of_service_metric_details.py new file mode 100644 index 000000000..4a73c7695 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_one_of_service_metric_details.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.one_of_service_metric_details import OneOfServiceMetricDetails # noqa: E501 +from swagger_client.rest import ApiException + + +class TestOneOfServiceMetricDetails(unittest.TestCase): + """OneOfServiceMetricDetails unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testOneOfServiceMetricDetails(self): + """Test OneOfServiceMetricDetails""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.one_of_service_metric_details.OneOfServiceMetricDetails() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_one_of_status_details.py b/libs/cloudapi/cloudsdk/test/test_one_of_status_details.py new file mode 100644 index 000000000..d21879a5d --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_one_of_status_details.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.one_of_status_details import OneOfStatusDetails # noqa: E501 +from swagger_client.rest import ApiException + + +class TestOneOfStatusDetails(unittest.TestCase): + """OneOfStatusDetails unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testOneOfStatusDetails(self): + """Test OneOfStatusDetails""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.one_of_status_details.OneOfStatusDetails() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_one_of_system_event.py b/libs/cloudapi/cloudsdk/test/test_one_of_system_event.py new file mode 100644 index 000000000..ec04e6b4b --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_one_of_system_event.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.one_of_system_event import OneOfSystemEvent # noqa: E501 +from swagger_client.rest import ApiException + + +class TestOneOfSystemEvent(unittest.TestCase): + """OneOfSystemEvent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testOneOfSystemEvent(self): + """Test OneOfSystemEvent""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.one_of_system_event.OneOfSystemEvent() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_operating_system_performance.py b/libs/cloudapi/cloudsdk/test/test_operating_system_performance.py new file mode 100644 index 000000000..dd4a9e583 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_operating_system_performance.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.operating_system_performance import OperatingSystemPerformance # noqa: E501 +from swagger_client.rest import ApiException + + +class TestOperatingSystemPerformance(unittest.TestCase): + """OperatingSystemPerformance unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testOperatingSystemPerformance(self): + """Test OperatingSystemPerformance""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.operating_system_performance.OperatingSystemPerformance() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_originator_type.py b/libs/cloudapi/cloudsdk/test/test_originator_type.py new file mode 100644 index 000000000..8eebec26f --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_originator_type.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.originator_type import OriginatorType # noqa: E501 +from swagger_client.rest import ApiException + + +class TestOriginatorType(unittest.TestCase): + """OriginatorType unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testOriginatorType(self): + """Test OriginatorType""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.originator_type.OriginatorType() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_pagination_context_alarm.py b/libs/cloudapi/cloudsdk/test/test_pagination_context_alarm.py new file mode 100644 index 000000000..af04cf636 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_pagination_context_alarm.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.pagination_context_alarm import PaginationContextAlarm # noqa: E501 +from swagger_client.rest import ApiException + + +class TestPaginationContextAlarm(unittest.TestCase): + """PaginationContextAlarm unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testPaginationContextAlarm(self): + """Test PaginationContextAlarm""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.pagination_context_alarm.PaginationContextAlarm() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_pagination_context_client.py b/libs/cloudapi/cloudsdk/test/test_pagination_context_client.py new file mode 100644 index 000000000..10e802b78 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_pagination_context_client.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.pagination_context_client import PaginationContextClient # noqa: E501 +from swagger_client.rest import ApiException + + +class TestPaginationContextClient(unittest.TestCase): + """PaginationContextClient unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testPaginationContextClient(self): + """Test PaginationContextClient""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.pagination_context_client.PaginationContextClient() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_pagination_context_client_session.py b/libs/cloudapi/cloudsdk/test/test_pagination_context_client_session.py new file mode 100644 index 000000000..53a281ecf --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_pagination_context_client_session.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.pagination_context_client_session import PaginationContextClientSession # noqa: E501 +from swagger_client.rest import ApiException + + +class TestPaginationContextClientSession(unittest.TestCase): + """PaginationContextClientSession unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testPaginationContextClientSession(self): + """Test PaginationContextClientSession""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.pagination_context_client_session.PaginationContextClientSession() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_pagination_context_equipment.py b/libs/cloudapi/cloudsdk/test/test_pagination_context_equipment.py new file mode 100644 index 000000000..eb90998fc --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_pagination_context_equipment.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.pagination_context_equipment import PaginationContextEquipment # noqa: E501 +from swagger_client.rest import ApiException + + +class TestPaginationContextEquipment(unittest.TestCase): + """PaginationContextEquipment unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testPaginationContextEquipment(self): + """Test PaginationContextEquipment""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.pagination_context_equipment.PaginationContextEquipment() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_pagination_context_location.py b/libs/cloudapi/cloudsdk/test/test_pagination_context_location.py new file mode 100644 index 000000000..4af8ecb25 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_pagination_context_location.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.pagination_context_location import PaginationContextLocation # noqa: E501 +from swagger_client.rest import ApiException + + +class TestPaginationContextLocation(unittest.TestCase): + """PaginationContextLocation unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testPaginationContextLocation(self): + """Test PaginationContextLocation""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.pagination_context_location.PaginationContextLocation() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_pagination_context_portal_user.py b/libs/cloudapi/cloudsdk/test/test_pagination_context_portal_user.py new file mode 100644 index 000000000..756f9db02 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_pagination_context_portal_user.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.pagination_context_portal_user import PaginationContextPortalUser # noqa: E501 +from swagger_client.rest import ApiException + + +class TestPaginationContextPortalUser(unittest.TestCase): + """PaginationContextPortalUser unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testPaginationContextPortalUser(self): + """Test PaginationContextPortalUser""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.pagination_context_portal_user.PaginationContextPortalUser() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_pagination_context_profile.py b/libs/cloudapi/cloudsdk/test/test_pagination_context_profile.py new file mode 100644 index 000000000..5652dc06e --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_pagination_context_profile.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.pagination_context_profile import PaginationContextProfile # noqa: E501 +from swagger_client.rest import ApiException + + +class TestPaginationContextProfile(unittest.TestCase): + """PaginationContextProfile unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testPaginationContextProfile(self): + """Test PaginationContextProfile""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.pagination_context_profile.PaginationContextProfile() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_pagination_context_service_metric.py b/libs/cloudapi/cloudsdk/test/test_pagination_context_service_metric.py new file mode 100644 index 000000000..ac30030fa --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_pagination_context_service_metric.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.pagination_context_service_metric import PaginationContextServiceMetric # noqa: E501 +from swagger_client.rest import ApiException + + +class TestPaginationContextServiceMetric(unittest.TestCase): + """PaginationContextServiceMetric unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testPaginationContextServiceMetric(self): + """Test PaginationContextServiceMetric""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.pagination_context_service_metric.PaginationContextServiceMetric() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_pagination_context_status.py b/libs/cloudapi/cloudsdk/test/test_pagination_context_status.py new file mode 100644 index 000000000..a41c56109 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_pagination_context_status.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.pagination_context_status import PaginationContextStatus # noqa: E501 +from swagger_client.rest import ApiException + + +class TestPaginationContextStatus(unittest.TestCase): + """PaginationContextStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testPaginationContextStatus(self): + """Test PaginationContextStatus""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.pagination_context_status.PaginationContextStatus() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_pagination_context_system_event.py b/libs/cloudapi/cloudsdk/test/test_pagination_context_system_event.py new file mode 100644 index 000000000..d34514cce --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_pagination_context_system_event.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.pagination_context_system_event import PaginationContextSystemEvent # noqa: E501 +from swagger_client.rest import ApiException + + +class TestPaginationContextSystemEvent(unittest.TestCase): + """PaginationContextSystemEvent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testPaginationContextSystemEvent(self): + """Test PaginationContextSystemEvent""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.pagination_context_system_event.PaginationContextSystemEvent() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_pagination_response_alarm.py b/libs/cloudapi/cloudsdk/test/test_pagination_response_alarm.py new file mode 100644 index 000000000..1fc0002bf --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_pagination_response_alarm.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.pagination_response_alarm import PaginationResponseAlarm # noqa: E501 +from swagger_client.rest import ApiException + + +class TestPaginationResponseAlarm(unittest.TestCase): + """PaginationResponseAlarm unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testPaginationResponseAlarm(self): + """Test PaginationResponseAlarm""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.pagination_response_alarm.PaginationResponseAlarm() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_pagination_response_client.py b/libs/cloudapi/cloudsdk/test/test_pagination_response_client.py new file mode 100644 index 000000000..a82192f9c --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_pagination_response_client.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.pagination_response_client import PaginationResponseClient # noqa: E501 +from swagger_client.rest import ApiException + + +class TestPaginationResponseClient(unittest.TestCase): + """PaginationResponseClient unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testPaginationResponseClient(self): + """Test PaginationResponseClient""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.pagination_response_client.PaginationResponseClient() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_pagination_response_client_session.py b/libs/cloudapi/cloudsdk/test/test_pagination_response_client_session.py new file mode 100644 index 000000000..d2070f574 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_pagination_response_client_session.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.pagination_response_client_session import PaginationResponseClientSession # noqa: E501 +from swagger_client.rest import ApiException + + +class TestPaginationResponseClientSession(unittest.TestCase): + """PaginationResponseClientSession unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testPaginationResponseClientSession(self): + """Test PaginationResponseClientSession""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.pagination_response_client_session.PaginationResponseClientSession() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_pagination_response_equipment.py b/libs/cloudapi/cloudsdk/test/test_pagination_response_equipment.py new file mode 100644 index 000000000..cd06c484b --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_pagination_response_equipment.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.pagination_response_equipment import PaginationResponseEquipment # noqa: E501 +from swagger_client.rest import ApiException + + +class TestPaginationResponseEquipment(unittest.TestCase): + """PaginationResponseEquipment unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testPaginationResponseEquipment(self): + """Test PaginationResponseEquipment""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.pagination_response_equipment.PaginationResponseEquipment() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_pagination_response_location.py b/libs/cloudapi/cloudsdk/test/test_pagination_response_location.py new file mode 100644 index 000000000..a9bb25164 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_pagination_response_location.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.pagination_response_location import PaginationResponseLocation # noqa: E501 +from swagger_client.rest import ApiException + + +class TestPaginationResponseLocation(unittest.TestCase): + """PaginationResponseLocation unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testPaginationResponseLocation(self): + """Test PaginationResponseLocation""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.pagination_response_location.PaginationResponseLocation() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_pagination_response_portal_user.py b/libs/cloudapi/cloudsdk/test/test_pagination_response_portal_user.py new file mode 100644 index 000000000..977ca533b --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_pagination_response_portal_user.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.pagination_response_portal_user import PaginationResponsePortalUser # noqa: E501 +from swagger_client.rest import ApiException + + +class TestPaginationResponsePortalUser(unittest.TestCase): + """PaginationResponsePortalUser unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testPaginationResponsePortalUser(self): + """Test PaginationResponsePortalUser""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.pagination_response_portal_user.PaginationResponsePortalUser() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_pagination_response_profile.py b/libs/cloudapi/cloudsdk/test/test_pagination_response_profile.py new file mode 100644 index 000000000..02e3b0050 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_pagination_response_profile.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.pagination_response_profile import PaginationResponseProfile # noqa: E501 +from swagger_client.rest import ApiException + + +class TestPaginationResponseProfile(unittest.TestCase): + """PaginationResponseProfile unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testPaginationResponseProfile(self): + """Test PaginationResponseProfile""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.pagination_response_profile.PaginationResponseProfile() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_pagination_response_service_metric.py b/libs/cloudapi/cloudsdk/test/test_pagination_response_service_metric.py new file mode 100644 index 000000000..c515111ab --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_pagination_response_service_metric.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.pagination_response_service_metric import PaginationResponseServiceMetric # noqa: E501 +from swagger_client.rest import ApiException + + +class TestPaginationResponseServiceMetric(unittest.TestCase): + """PaginationResponseServiceMetric unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testPaginationResponseServiceMetric(self): + """Test PaginationResponseServiceMetric""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.pagination_response_service_metric.PaginationResponseServiceMetric() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_pagination_response_status.py b/libs/cloudapi/cloudsdk/test/test_pagination_response_status.py new file mode 100644 index 000000000..01c3962e9 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_pagination_response_status.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.pagination_response_status import PaginationResponseStatus # noqa: E501 +from swagger_client.rest import ApiException + + +class TestPaginationResponseStatus(unittest.TestCase): + """PaginationResponseStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testPaginationResponseStatus(self): + """Test PaginationResponseStatus""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.pagination_response_status.PaginationResponseStatus() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_pagination_response_system_event.py b/libs/cloudapi/cloudsdk/test/test_pagination_response_system_event.py new file mode 100644 index 000000000..5bc671954 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_pagination_response_system_event.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.pagination_response_system_event import PaginationResponseSystemEvent # noqa: E501 +from swagger_client.rest import ApiException + + +class TestPaginationResponseSystemEvent(unittest.TestCase): + """PaginationResponseSystemEvent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testPaginationResponseSystemEvent(self): + """Test PaginationResponseSystemEvent""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.pagination_response_system_event.PaginationResponseSystemEvent() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_pair_long_long.py b/libs/cloudapi/cloudsdk/test/test_pair_long_long.py new file mode 100644 index 000000000..d31045151 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_pair_long_long.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.pair_long_long import PairLongLong # noqa: E501 +from swagger_client.rest import ApiException + + +class TestPairLongLong(unittest.TestCase): + """PairLongLong unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testPairLongLong(self): + """Test PairLongLong""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.pair_long_long.PairLongLong() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_passpoint_access_network_type.py b/libs/cloudapi/cloudsdk/test/test_passpoint_access_network_type.py new file mode 100644 index 000000000..7e9ee030c --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_passpoint_access_network_type.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.passpoint_access_network_type import PasspointAccessNetworkType # noqa: E501 +from swagger_client.rest import ApiException + + +class TestPasspointAccessNetworkType(unittest.TestCase): + """PasspointAccessNetworkType unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testPasspointAccessNetworkType(self): + """Test PasspointAccessNetworkType""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.passpoint_access_network_type.PasspointAccessNetworkType() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_passpoint_connection_capabilities_ip_protocol.py b/libs/cloudapi/cloudsdk/test/test_passpoint_connection_capabilities_ip_protocol.py new file mode 100644 index 000000000..166cfb7ec --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_passpoint_connection_capabilities_ip_protocol.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.passpoint_connection_capabilities_ip_protocol import PasspointConnectionCapabilitiesIpProtocol # noqa: E501 +from swagger_client.rest import ApiException + + +class TestPasspointConnectionCapabilitiesIpProtocol(unittest.TestCase): + """PasspointConnectionCapabilitiesIpProtocol unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testPasspointConnectionCapabilitiesIpProtocol(self): + """Test PasspointConnectionCapabilitiesIpProtocol""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.passpoint_connection_capabilities_ip_protocol.PasspointConnectionCapabilitiesIpProtocol() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_passpoint_connection_capabilities_status.py b/libs/cloudapi/cloudsdk/test/test_passpoint_connection_capabilities_status.py new file mode 100644 index 000000000..fa40ecf5f --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_passpoint_connection_capabilities_status.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.passpoint_connection_capabilities_status import PasspointConnectionCapabilitiesStatus # noqa: E501 +from swagger_client.rest import ApiException + + +class TestPasspointConnectionCapabilitiesStatus(unittest.TestCase): + """PasspointConnectionCapabilitiesStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testPasspointConnectionCapabilitiesStatus(self): + """Test PasspointConnectionCapabilitiesStatus""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.passpoint_connection_capabilities_status.PasspointConnectionCapabilitiesStatus() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_passpoint_connection_capability.py b/libs/cloudapi/cloudsdk/test/test_passpoint_connection_capability.py new file mode 100644 index 000000000..2663a10ee --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_passpoint_connection_capability.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.passpoint_connection_capability import PasspointConnectionCapability # noqa: E501 +from swagger_client.rest import ApiException + + +class TestPasspointConnectionCapability(unittest.TestCase): + """PasspointConnectionCapability unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testPasspointConnectionCapability(self): + """Test PasspointConnectionCapability""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.passpoint_connection_capability.PasspointConnectionCapability() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_passpoint_duple.py b/libs/cloudapi/cloudsdk/test/test_passpoint_duple.py new file mode 100644 index 000000000..efef543a8 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_passpoint_duple.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.passpoint_duple import PasspointDuple # noqa: E501 +from swagger_client.rest import ApiException + + +class TestPasspointDuple(unittest.TestCase): + """PasspointDuple unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testPasspointDuple(self): + """Test PasspointDuple""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.passpoint_duple.PasspointDuple() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_passpoint_eap_methods.py b/libs/cloudapi/cloudsdk/test/test_passpoint_eap_methods.py new file mode 100644 index 000000000..0e71a09f4 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_passpoint_eap_methods.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.passpoint_eap_methods import PasspointEapMethods # noqa: E501 +from swagger_client.rest import ApiException + + +class TestPasspointEapMethods(unittest.TestCase): + """PasspointEapMethods unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testPasspointEapMethods(self): + """Test PasspointEapMethods""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.passpoint_eap_methods.PasspointEapMethods() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_passpoint_gas_address3_behaviour.py b/libs/cloudapi/cloudsdk/test/test_passpoint_gas_address3_behaviour.py new file mode 100644 index 000000000..c5e282406 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_passpoint_gas_address3_behaviour.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.passpoint_gas_address3_behaviour import PasspointGasAddress3Behaviour # noqa: E501 +from swagger_client.rest import ApiException + + +class TestPasspointGasAddress3Behaviour(unittest.TestCase): + """PasspointGasAddress3Behaviour unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testPasspointGasAddress3Behaviour(self): + """Test PasspointGasAddress3Behaviour""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.passpoint_gas_address3_behaviour.PasspointGasAddress3Behaviour() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_passpoint_i_pv4_address_type.py b/libs/cloudapi/cloudsdk/test/test_passpoint_i_pv4_address_type.py new file mode 100644 index 000000000..079ebc5d2 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_passpoint_i_pv4_address_type.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.passpoint_i_pv4_address_type import PasspointIPv4AddressType # noqa: E501 +from swagger_client.rest import ApiException + + +class TestPasspointIPv4AddressType(unittest.TestCase): + """PasspointIPv4AddressType unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testPasspointIPv4AddressType(self): + """Test PasspointIPv4AddressType""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.passpoint_i_pv4_address_type.PasspointIPv4AddressType() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_passpoint_i_pv6_address_type.py b/libs/cloudapi/cloudsdk/test/test_passpoint_i_pv6_address_type.py new file mode 100644 index 000000000..761f9667e --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_passpoint_i_pv6_address_type.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.passpoint_i_pv6_address_type import PasspointIPv6AddressType # noqa: E501 +from swagger_client.rest import ApiException + + +class TestPasspointIPv6AddressType(unittest.TestCase): + """PasspointIPv6AddressType unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testPasspointIPv6AddressType(self): + """Test PasspointIPv6AddressType""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.passpoint_i_pv6_address_type.PasspointIPv6AddressType() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_passpoint_mcc_mnc.py b/libs/cloudapi/cloudsdk/test/test_passpoint_mcc_mnc.py new file mode 100644 index 000000000..301a555de --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_passpoint_mcc_mnc.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.passpoint_mcc_mnc import PasspointMccMnc # noqa: E501 +from swagger_client.rest import ApiException + + +class TestPasspointMccMnc(unittest.TestCase): + """PasspointMccMnc unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testPasspointMccMnc(self): + """Test PasspointMccMnc""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.passpoint_mcc_mnc.PasspointMccMnc() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_passpoint_nai_realm_eap_auth_inner_non_eap.py b/libs/cloudapi/cloudsdk/test/test_passpoint_nai_realm_eap_auth_inner_non_eap.py new file mode 100644 index 000000000..f5b633874 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_passpoint_nai_realm_eap_auth_inner_non_eap.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.passpoint_nai_realm_eap_auth_inner_non_eap import PasspointNaiRealmEapAuthInnerNonEap # noqa: E501 +from swagger_client.rest import ApiException + + +class TestPasspointNaiRealmEapAuthInnerNonEap(unittest.TestCase): + """PasspointNaiRealmEapAuthInnerNonEap unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testPasspointNaiRealmEapAuthInnerNonEap(self): + """Test PasspointNaiRealmEapAuthInnerNonEap""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.passpoint_nai_realm_eap_auth_inner_non_eap.PasspointNaiRealmEapAuthInnerNonEap() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_passpoint_nai_realm_eap_auth_param.py b/libs/cloudapi/cloudsdk/test/test_passpoint_nai_realm_eap_auth_param.py new file mode 100644 index 000000000..80d7afef1 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_passpoint_nai_realm_eap_auth_param.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.passpoint_nai_realm_eap_auth_param import PasspointNaiRealmEapAuthParam # noqa: E501 +from swagger_client.rest import ApiException + + +class TestPasspointNaiRealmEapAuthParam(unittest.TestCase): + """PasspointNaiRealmEapAuthParam unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testPasspointNaiRealmEapAuthParam(self): + """Test PasspointNaiRealmEapAuthParam""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.passpoint_nai_realm_eap_auth_param.PasspointNaiRealmEapAuthParam() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_passpoint_nai_realm_eap_cred_type.py b/libs/cloudapi/cloudsdk/test/test_passpoint_nai_realm_eap_cred_type.py new file mode 100644 index 000000000..8c5ac53a0 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_passpoint_nai_realm_eap_cred_type.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.passpoint_nai_realm_eap_cred_type import PasspointNaiRealmEapCredType # noqa: E501 +from swagger_client.rest import ApiException + + +class TestPasspointNaiRealmEapCredType(unittest.TestCase): + """PasspointNaiRealmEapCredType unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testPasspointNaiRealmEapCredType(self): + """Test PasspointNaiRealmEapCredType""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.passpoint_nai_realm_eap_cred_type.PasspointNaiRealmEapCredType() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_passpoint_nai_realm_encoding.py b/libs/cloudapi/cloudsdk/test/test_passpoint_nai_realm_encoding.py new file mode 100644 index 000000000..914a7e261 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_passpoint_nai_realm_encoding.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.passpoint_nai_realm_encoding import PasspointNaiRealmEncoding # noqa: E501 +from swagger_client.rest import ApiException + + +class TestPasspointNaiRealmEncoding(unittest.TestCase): + """PasspointNaiRealmEncoding unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testPasspointNaiRealmEncoding(self): + """Test PasspointNaiRealmEncoding""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.passpoint_nai_realm_encoding.PasspointNaiRealmEncoding() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_passpoint_nai_realm_information.py b/libs/cloudapi/cloudsdk/test/test_passpoint_nai_realm_information.py new file mode 100644 index 000000000..baa866b1f --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_passpoint_nai_realm_information.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.passpoint_nai_realm_information import PasspointNaiRealmInformation # noqa: E501 +from swagger_client.rest import ApiException + + +class TestPasspointNaiRealmInformation(unittest.TestCase): + """PasspointNaiRealmInformation unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testPasspointNaiRealmInformation(self): + """Test PasspointNaiRealmInformation""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.passpoint_nai_realm_information.PasspointNaiRealmInformation() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_passpoint_network_authentication_type.py b/libs/cloudapi/cloudsdk/test/test_passpoint_network_authentication_type.py new file mode 100644 index 000000000..644173afa --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_passpoint_network_authentication_type.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.passpoint_network_authentication_type import PasspointNetworkAuthenticationType # noqa: E501 +from swagger_client.rest import ApiException + + +class TestPasspointNetworkAuthenticationType(unittest.TestCase): + """PasspointNetworkAuthenticationType unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testPasspointNetworkAuthenticationType(self): + """Test PasspointNetworkAuthenticationType""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.passpoint_network_authentication_type.PasspointNetworkAuthenticationType() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_passpoint_operator_profile.py b/libs/cloudapi/cloudsdk/test/test_passpoint_operator_profile.py new file mode 100644 index 000000000..53d44c8dd --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_passpoint_operator_profile.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.passpoint_operator_profile import PasspointOperatorProfile # noqa: E501 +from swagger_client.rest import ApiException + + +class TestPasspointOperatorProfile(unittest.TestCase): + """PasspointOperatorProfile unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testPasspointOperatorProfile(self): + """Test PasspointOperatorProfile""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.passpoint_operator_profile.PasspointOperatorProfile() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_passpoint_osu_icon.py b/libs/cloudapi/cloudsdk/test/test_passpoint_osu_icon.py new file mode 100644 index 000000000..c49d0ecbe --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_passpoint_osu_icon.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.passpoint_osu_icon import PasspointOsuIcon # noqa: E501 +from swagger_client.rest import ApiException + + +class TestPasspointOsuIcon(unittest.TestCase): + """PasspointOsuIcon unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testPasspointOsuIcon(self): + """Test PasspointOsuIcon""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.passpoint_osu_icon.PasspointOsuIcon() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_passpoint_osu_provider_profile.py b/libs/cloudapi/cloudsdk/test/test_passpoint_osu_provider_profile.py new file mode 100644 index 000000000..cf1a22b2a --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_passpoint_osu_provider_profile.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.passpoint_osu_provider_profile import PasspointOsuProviderProfile # noqa: E501 +from swagger_client.rest import ApiException + + +class TestPasspointOsuProviderProfile(unittest.TestCase): + """PasspointOsuProviderProfile unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testPasspointOsuProviderProfile(self): + """Test PasspointOsuProviderProfile""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.passpoint_osu_provider_profile.PasspointOsuProviderProfile() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_passpoint_profile.py b/libs/cloudapi/cloudsdk/test/test_passpoint_profile.py new file mode 100644 index 000000000..de1f3cfb1 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_passpoint_profile.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.passpoint_profile import PasspointProfile # noqa: E501 +from swagger_client.rest import ApiException + + +class TestPasspointProfile(unittest.TestCase): + """PasspointProfile unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testPasspointProfile(self): + """Test PasspointProfile""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.passpoint_profile.PasspointProfile() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_passpoint_venue_name.py b/libs/cloudapi/cloudsdk/test/test_passpoint_venue_name.py new file mode 100644 index 000000000..be9be4830 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_passpoint_venue_name.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.passpoint_venue_name import PasspointVenueName # noqa: E501 +from swagger_client.rest import ApiException + + +class TestPasspointVenueName(unittest.TestCase): + """PasspointVenueName unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testPasspointVenueName(self): + """Test PasspointVenueName""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.passpoint_venue_name.PasspointVenueName() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_passpoint_venue_profile.py b/libs/cloudapi/cloudsdk/test/test_passpoint_venue_profile.py new file mode 100644 index 000000000..d7f54783b --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_passpoint_venue_profile.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.passpoint_venue_profile import PasspointVenueProfile # noqa: E501 +from swagger_client.rest import ApiException + + +class TestPasspointVenueProfile(unittest.TestCase): + """PasspointVenueProfile unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testPasspointVenueProfile(self): + """Test PasspointVenueProfile""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.passpoint_venue_profile.PasspointVenueProfile() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_passpoint_venue_type_assignment.py b/libs/cloudapi/cloudsdk/test/test_passpoint_venue_type_assignment.py new file mode 100644 index 000000000..4999017f1 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_passpoint_venue_type_assignment.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.passpoint_venue_type_assignment import PasspointVenueTypeAssignment # noqa: E501 +from swagger_client.rest import ApiException + + +class TestPasspointVenueTypeAssignment(unittest.TestCase): + """PasspointVenueTypeAssignment unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testPasspointVenueTypeAssignment(self): + """Test PasspointVenueTypeAssignment""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.passpoint_venue_type_assignment.PasspointVenueTypeAssignment() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_peer_info.py b/libs/cloudapi/cloudsdk/test/test_peer_info.py new file mode 100644 index 000000000..aa36b6867 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_peer_info.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.peer_info import PeerInfo # noqa: E501 +from swagger_client.rest import ApiException + + +class TestPeerInfo(unittest.TestCase): + """PeerInfo unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testPeerInfo(self): + """Test PeerInfo""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.peer_info.PeerInfo() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_per_process_utilization.py b/libs/cloudapi/cloudsdk/test/test_per_process_utilization.py new file mode 100644 index 000000000..a38799a07 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_per_process_utilization.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.per_process_utilization import PerProcessUtilization # noqa: E501 +from swagger_client.rest import ApiException + + +class TestPerProcessUtilization(unittest.TestCase): + """PerProcessUtilization unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testPerProcessUtilization(self): + """Test PerProcessUtilization""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.per_process_utilization.PerProcessUtilization() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_ping_response.py b/libs/cloudapi/cloudsdk/test/test_ping_response.py new file mode 100644 index 000000000..823b0ed32 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_ping_response.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.ping_response import PingResponse # noqa: E501 +from swagger_client.rest import ApiException + + +class TestPingResponse(unittest.TestCase): + """PingResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testPingResponse(self): + """Test PingResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.ping_response.PingResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_portal_user.py b/libs/cloudapi/cloudsdk/test/test_portal_user.py new file mode 100644 index 000000000..25bf39ea4 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_portal_user.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.portal_user import PortalUser # noqa: E501 +from swagger_client.rest import ApiException + + +class TestPortalUser(unittest.TestCase): + """PortalUser unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testPortalUser(self): + """Test PortalUser""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.portal_user.PortalUser() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_portal_user_added_event.py b/libs/cloudapi/cloudsdk/test/test_portal_user_added_event.py new file mode 100644 index 000000000..2acb1891e --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_portal_user_added_event.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.portal_user_added_event import PortalUserAddedEvent # noqa: E501 +from swagger_client.rest import ApiException + + +class TestPortalUserAddedEvent(unittest.TestCase): + """PortalUserAddedEvent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testPortalUserAddedEvent(self): + """Test PortalUserAddedEvent""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.portal_user_added_event.PortalUserAddedEvent() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_portal_user_changed_event.py b/libs/cloudapi/cloudsdk/test/test_portal_user_changed_event.py new file mode 100644 index 000000000..82f01add6 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_portal_user_changed_event.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.portal_user_changed_event import PortalUserChangedEvent # noqa: E501 +from swagger_client.rest import ApiException + + +class TestPortalUserChangedEvent(unittest.TestCase): + """PortalUserChangedEvent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testPortalUserChangedEvent(self): + """Test PortalUserChangedEvent""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.portal_user_changed_event.PortalUserChangedEvent() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_portal_user_removed_event.py b/libs/cloudapi/cloudsdk/test/test_portal_user_removed_event.py new file mode 100644 index 000000000..47bd949ef --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_portal_user_removed_event.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.portal_user_removed_event import PortalUserRemovedEvent # noqa: E501 +from swagger_client.rest import ApiException + + +class TestPortalUserRemovedEvent(unittest.TestCase): + """PortalUserRemovedEvent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testPortalUserRemovedEvent(self): + """Test PortalUserRemovedEvent""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.portal_user_removed_event.PortalUserRemovedEvent() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_portal_user_role.py b/libs/cloudapi/cloudsdk/test/test_portal_user_role.py new file mode 100644 index 000000000..35a81b331 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_portal_user_role.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.portal_user_role import PortalUserRole # noqa: E501 +from swagger_client.rest import ApiException + + +class TestPortalUserRole(unittest.TestCase): + """PortalUserRole unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testPortalUserRole(self): + """Test PortalUserRole""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.portal_user_role.PortalUserRole() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_portal_users_api.py b/libs/cloudapi/cloudsdk/test/test_portal_users_api.py new file mode 100644 index 000000000..c21e32126 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_portal_users_api.py @@ -0,0 +1,89 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.api.portal_users_api import PortalUsersApi # noqa: E501 +from swagger_client.rest import ApiException + + +class TestPortalUsersApi(unittest.TestCase): + """PortalUsersApi unit test stubs""" + + def setUp(self): + self.api = PortalUsersApi() # noqa: E501 + + def tearDown(self): + pass + + def test_create_portal_user(self): + """Test case for create_portal_user + + Create new Portal User # noqa: E501 + """ + pass + + def test_delete_portal_user(self): + """Test case for delete_portal_user + + Delete PortalUser # noqa: E501 + """ + pass + + def test_get_portal_user_by_id(self): + """Test case for get_portal_user_by_id + + Get portal user By Id # noqa: E501 + """ + pass + + def test_get_portal_user_by_username(self): + """Test case for get_portal_user_by_username + + Get portal user by user name # noqa: E501 + """ + pass + + def test_get_portal_users_by_customer_id(self): + """Test case for get_portal_users_by_customer_id + + Get PortalUsers By customerId # noqa: E501 + """ + pass + + def test_get_portal_users_by_set_of_ids(self): + """Test case for get_portal_users_by_set_of_ids + + Get PortalUsers By a set of ids # noqa: E501 + """ + pass + + def test_get_users_for_username(self): + """Test case for get_users_for_username + + Get Portal Users for username # noqa: E501 + """ + pass + + def test_update_portal_user(self): + """Test case for update_portal_user + + Update PortalUser # noqa: E501 + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_profile.py b/libs/cloudapi/cloudsdk/test/test_profile.py new file mode 100644 index 000000000..bfe15ff5a --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_profile.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.profile import Profile # noqa: E501 +from swagger_client.rest import ApiException + + +class TestProfile(unittest.TestCase): + """Profile unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testProfile(self): + """Test Profile""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.profile.Profile() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_profile_added_event.py b/libs/cloudapi/cloudsdk/test/test_profile_added_event.py new file mode 100644 index 000000000..914ad3fdf --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_profile_added_event.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.profile_added_event import ProfileAddedEvent # noqa: E501 +from swagger_client.rest import ApiException + + +class TestProfileAddedEvent(unittest.TestCase): + """ProfileAddedEvent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testProfileAddedEvent(self): + """Test ProfileAddedEvent""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.profile_added_event.ProfileAddedEvent() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_profile_api.py b/libs/cloudapi/cloudsdk/test/test_profile_api.py new file mode 100644 index 000000000..202a5b825 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_profile_api.py @@ -0,0 +1,89 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.api.profile_api import ProfileApi # noqa: E501 +from swagger_client.rest import ApiException + + +class TestProfileApi(unittest.TestCase): + """ProfileApi unit test stubs""" + + def setUp(self): + self.api = ProfileApi() # noqa: E501 + + def tearDown(self): + pass + + def test_create_profile(self): + """Test case for create_profile + + Create new Profile # noqa: E501 + """ + pass + + def test_delete_profile(self): + """Test case for delete_profile + + Delete Profile # noqa: E501 + """ + pass + + def test_get_counts_of_equipment_that_use_profiles(self): + """Test case for get_counts_of_equipment_that_use_profiles + + Get counts of equipment that use specified profiles # noqa: E501 + """ + pass + + def test_get_profile_by_id(self): + """Test case for get_profile_by_id + + Get Profile By Id # noqa: E501 + """ + pass + + def test_get_profile_with_children(self): + """Test case for get_profile_with_children + + Get Profile and all its associated children # noqa: E501 + """ + pass + + def test_get_profiles_by_customer_id(self): + """Test case for get_profiles_by_customer_id + + Get Profiles By customerId # noqa: E501 + """ + pass + + def test_get_profiles_by_set_of_ids(self): + """Test case for get_profiles_by_set_of_ids + + Get Profiles By a set of ids # noqa: E501 + """ + pass + + def test_update_profile(self): + """Test case for update_profile + + Update Profile # noqa: E501 + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_profile_changed_event.py b/libs/cloudapi/cloudsdk/test/test_profile_changed_event.py new file mode 100644 index 000000000..30cd25c0c --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_profile_changed_event.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.profile_changed_event import ProfileChangedEvent # noqa: E501 +from swagger_client.rest import ApiException + + +class TestProfileChangedEvent(unittest.TestCase): + """ProfileChangedEvent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testProfileChangedEvent(self): + """Test ProfileChangedEvent""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.profile_changed_event.ProfileChangedEvent() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_profile_details.py b/libs/cloudapi/cloudsdk/test/test_profile_details.py new file mode 100644 index 000000000..0f5d6a628 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_profile_details.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.profile_details import ProfileDetails # noqa: E501 +from swagger_client.rest import ApiException + + +class TestProfileDetails(unittest.TestCase): + """ProfileDetails unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testProfileDetails(self): + """Test ProfileDetails""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.profile_details.ProfileDetails() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_profile_details_children.py b/libs/cloudapi/cloudsdk/test/test_profile_details_children.py new file mode 100644 index 000000000..9d88eea81 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_profile_details_children.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.profile_details_children import ProfileDetailsChildren # noqa: E501 +from swagger_client.rest import ApiException + + +class TestProfileDetailsChildren(unittest.TestCase): + """ProfileDetailsChildren unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testProfileDetailsChildren(self): + """Test ProfileDetailsChildren""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.profile_details_children.ProfileDetailsChildren() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_profile_removed_event.py b/libs/cloudapi/cloudsdk/test/test_profile_removed_event.py new file mode 100644 index 000000000..c42d542b3 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_profile_removed_event.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.profile_removed_event import ProfileRemovedEvent # noqa: E501 +from swagger_client.rest import ApiException + + +class TestProfileRemovedEvent(unittest.TestCase): + """ProfileRemovedEvent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testProfileRemovedEvent(self): + """Test ProfileRemovedEvent""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.profile_removed_event.ProfileRemovedEvent() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_profile_type.py b/libs/cloudapi/cloudsdk/test/test_profile_type.py new file mode 100644 index 000000000..b36a57ef8 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_profile_type.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.profile_type import ProfileType # noqa: E501 +from swagger_client.rest import ApiException + + +class TestProfileType(unittest.TestCase): + """ProfileType unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testProfileType(self): + """Test ProfileType""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.profile_type.ProfileType() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_radio_based_ssid_configuration.py b/libs/cloudapi/cloudsdk/test/test_radio_based_ssid_configuration.py new file mode 100644 index 000000000..1e2bfc127 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_radio_based_ssid_configuration.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.radio_based_ssid_configuration import RadioBasedSsidConfiguration # noqa: E501 +from swagger_client.rest import ApiException + + +class TestRadioBasedSsidConfiguration(unittest.TestCase): + """RadioBasedSsidConfiguration unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testRadioBasedSsidConfiguration(self): + """Test RadioBasedSsidConfiguration""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.radio_based_ssid_configuration.RadioBasedSsidConfiguration() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_radio_based_ssid_configuration_map.py b/libs/cloudapi/cloudsdk/test/test_radio_based_ssid_configuration_map.py new file mode 100644 index 000000000..5fbdaba8e --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_radio_based_ssid_configuration_map.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.radio_based_ssid_configuration_map import RadioBasedSsidConfigurationMap # noqa: E501 +from swagger_client.rest import ApiException + + +class TestRadioBasedSsidConfigurationMap(unittest.TestCase): + """RadioBasedSsidConfigurationMap unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testRadioBasedSsidConfigurationMap(self): + """Test RadioBasedSsidConfigurationMap""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.radio_based_ssid_configuration_map.RadioBasedSsidConfigurationMap() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_radio_best_ap_settings.py b/libs/cloudapi/cloudsdk/test/test_radio_best_ap_settings.py new file mode 100644 index 000000000..f66dfedfd --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_radio_best_ap_settings.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.radio_best_ap_settings import RadioBestApSettings # noqa: E501 +from swagger_client.rest import ApiException + + +class TestRadioBestApSettings(unittest.TestCase): + """RadioBestApSettings unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testRadioBestApSettings(self): + """Test RadioBestApSettings""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.radio_best_ap_settings.RadioBestApSettings() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_radio_channel_change_settings.py b/libs/cloudapi/cloudsdk/test/test_radio_channel_change_settings.py new file mode 100644 index 000000000..e89ac4949 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_radio_channel_change_settings.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.radio_channel_change_settings import RadioChannelChangeSettings # noqa: E501 +from swagger_client.rest import ApiException + + +class TestRadioChannelChangeSettings(unittest.TestCase): + """RadioChannelChangeSettings unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testRadioChannelChangeSettings(self): + """Test RadioChannelChangeSettings""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.radio_channel_change_settings.RadioChannelChangeSettings() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_radio_configuration.py b/libs/cloudapi/cloudsdk/test/test_radio_configuration.py new file mode 100644 index 000000000..ddcbcde97 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_radio_configuration.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.radio_configuration import RadioConfiguration # noqa: E501 +from swagger_client.rest import ApiException + + +class TestRadioConfiguration(unittest.TestCase): + """RadioConfiguration unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testRadioConfiguration(self): + """Test RadioConfiguration""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.radio_configuration.RadioConfiguration() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_radio_map.py b/libs/cloudapi/cloudsdk/test/test_radio_map.py new file mode 100644 index 000000000..590d67f61 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_radio_map.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.radio_map import RadioMap # noqa: E501 +from swagger_client.rest import ApiException + + +class TestRadioMap(unittest.TestCase): + """RadioMap unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testRadioMap(self): + """Test RadioMap""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.radio_map.RadioMap() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_radio_mode.py b/libs/cloudapi/cloudsdk/test/test_radio_mode.py new file mode 100644 index 000000000..312e66c3d --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_radio_mode.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.radio_mode import RadioMode # noqa: E501 +from swagger_client.rest import ApiException + + +class TestRadioMode(unittest.TestCase): + """RadioMode unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testRadioMode(self): + """Test RadioMode""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.radio_mode.RadioMode() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_radio_profile_configuration.py b/libs/cloudapi/cloudsdk/test/test_radio_profile_configuration.py new file mode 100644 index 000000000..58ac55581 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_radio_profile_configuration.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.radio_profile_configuration import RadioProfileConfiguration # noqa: E501 +from swagger_client.rest import ApiException + + +class TestRadioProfileConfiguration(unittest.TestCase): + """RadioProfileConfiguration unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testRadioProfileConfiguration(self): + """Test RadioProfileConfiguration""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.radio_profile_configuration.RadioProfileConfiguration() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_radio_profile_configuration_map.py b/libs/cloudapi/cloudsdk/test/test_radio_profile_configuration_map.py new file mode 100644 index 000000000..c9b822f3d --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_radio_profile_configuration_map.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.radio_profile_configuration_map import RadioProfileConfigurationMap # noqa: E501 +from swagger_client.rest import ApiException + + +class TestRadioProfileConfigurationMap(unittest.TestCase): + """RadioProfileConfigurationMap unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testRadioProfileConfigurationMap(self): + """Test RadioProfileConfigurationMap""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.radio_profile_configuration_map.RadioProfileConfigurationMap() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_radio_statistics.py b/libs/cloudapi/cloudsdk/test/test_radio_statistics.py new file mode 100644 index 000000000..60a19e71c --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_radio_statistics.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.radio_statistics import RadioStatistics # noqa: E501 +from swagger_client.rest import ApiException + + +class TestRadioStatistics(unittest.TestCase): + """RadioStatistics unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testRadioStatistics(self): + """Test RadioStatistics""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.radio_statistics.RadioStatistics() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_radio_statistics_per_radio_map.py b/libs/cloudapi/cloudsdk/test/test_radio_statistics_per_radio_map.py new file mode 100644 index 000000000..a5f00ea52 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_radio_statistics_per_radio_map.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.radio_statistics_per_radio_map import RadioStatisticsPerRadioMap # noqa: E501 +from swagger_client.rest import ApiException + + +class TestRadioStatisticsPerRadioMap(unittest.TestCase): + """RadioStatisticsPerRadioMap unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testRadioStatisticsPerRadioMap(self): + """Test RadioStatisticsPerRadioMap""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.radio_statistics_per_radio_map.RadioStatisticsPerRadioMap() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_radio_type.py b/libs/cloudapi/cloudsdk/test/test_radio_type.py new file mode 100644 index 000000000..6b9ba35cc --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_radio_type.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.radio_type import RadioType # noqa: E501 +from swagger_client.rest import ApiException + + +class TestRadioType(unittest.TestCase): + """RadioType unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testRadioType(self): + """Test RadioType""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.radio_type.RadioType() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_radio_utilization.py b/libs/cloudapi/cloudsdk/test/test_radio_utilization.py new file mode 100644 index 000000000..db02bf369 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_radio_utilization.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.radio_utilization import RadioUtilization # noqa: E501 +from swagger_client.rest import ApiException + + +class TestRadioUtilization(unittest.TestCase): + """RadioUtilization unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testRadioUtilization(self): + """Test RadioUtilization""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.radio_utilization.RadioUtilization() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_radio_utilization_details.py b/libs/cloudapi/cloudsdk/test/test_radio_utilization_details.py new file mode 100644 index 000000000..f81c21593 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_radio_utilization_details.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.radio_utilization_details import RadioUtilizationDetails # noqa: E501 +from swagger_client.rest import ApiException + + +class TestRadioUtilizationDetails(unittest.TestCase): + """RadioUtilizationDetails unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testRadioUtilizationDetails(self): + """Test RadioUtilizationDetails""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.radio_utilization_details.RadioUtilizationDetails() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_radio_utilization_per_radio_details.py b/libs/cloudapi/cloudsdk/test/test_radio_utilization_per_radio_details.py new file mode 100644 index 000000000..7fbf53a56 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_radio_utilization_per_radio_details.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.radio_utilization_per_radio_details import RadioUtilizationPerRadioDetails # noqa: E501 +from swagger_client.rest import ApiException + + +class TestRadioUtilizationPerRadioDetails(unittest.TestCase): + """RadioUtilizationPerRadioDetails unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testRadioUtilizationPerRadioDetails(self): + """Test RadioUtilizationPerRadioDetails""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.radio_utilization_per_radio_details.RadioUtilizationPerRadioDetails() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_radio_utilization_per_radio_details_map.py b/libs/cloudapi/cloudsdk/test/test_radio_utilization_per_radio_details_map.py new file mode 100644 index 000000000..9d3a632eb --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_radio_utilization_per_radio_details_map.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.radio_utilization_per_radio_details_map import RadioUtilizationPerRadioDetailsMap # noqa: E501 +from swagger_client.rest import ApiException + + +class TestRadioUtilizationPerRadioDetailsMap(unittest.TestCase): + """RadioUtilizationPerRadioDetailsMap unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testRadioUtilizationPerRadioDetailsMap(self): + """Test RadioUtilizationPerRadioDetailsMap""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.radio_utilization_per_radio_details_map.RadioUtilizationPerRadioDetailsMap() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_radio_utilization_report.py b/libs/cloudapi/cloudsdk/test/test_radio_utilization_report.py new file mode 100644 index 000000000..2d781b4e3 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_radio_utilization_report.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.radio_utilization_report import RadioUtilizationReport # noqa: E501 +from swagger_client.rest import ApiException + + +class TestRadioUtilizationReport(unittest.TestCase): + """RadioUtilizationReport unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testRadioUtilizationReport(self): + """Test RadioUtilizationReport""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.radio_utilization_report.RadioUtilizationReport() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_radius_authentication_method.py b/libs/cloudapi/cloudsdk/test/test_radius_authentication_method.py new file mode 100644 index 000000000..59880732e --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_radius_authentication_method.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.radius_authentication_method import RadiusAuthenticationMethod # noqa: E501 +from swagger_client.rest import ApiException + + +class TestRadiusAuthenticationMethod(unittest.TestCase): + """RadiusAuthenticationMethod unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testRadiusAuthenticationMethod(self): + """Test RadiusAuthenticationMethod""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.radius_authentication_method.RadiusAuthenticationMethod() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_radius_details.py b/libs/cloudapi/cloudsdk/test/test_radius_details.py new file mode 100644 index 000000000..f7a4e0139 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_radius_details.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.radius_details import RadiusDetails # noqa: E501 +from swagger_client.rest import ApiException + + +class TestRadiusDetails(unittest.TestCase): + """RadiusDetails unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testRadiusDetails(self): + """Test RadiusDetails""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.radius_details.RadiusDetails() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_radius_metrics.py b/libs/cloudapi/cloudsdk/test/test_radius_metrics.py new file mode 100644 index 000000000..8e1258931 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_radius_metrics.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.radius_metrics import RadiusMetrics # noqa: E501 +from swagger_client.rest import ApiException + + +class TestRadiusMetrics(unittest.TestCase): + """RadiusMetrics unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testRadiusMetrics(self): + """Test RadiusMetrics""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.radius_metrics.RadiusMetrics() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_radius_nas_configuration.py b/libs/cloudapi/cloudsdk/test/test_radius_nas_configuration.py new file mode 100644 index 000000000..df287fa54 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_radius_nas_configuration.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.radius_nas_configuration import RadiusNasConfiguration # noqa: E501 +from swagger_client.rest import ApiException + + +class TestRadiusNasConfiguration(unittest.TestCase): + """RadiusNasConfiguration unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testRadiusNasConfiguration(self): + """Test RadiusNasConfiguration""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.radius_nas_configuration.RadiusNasConfiguration() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_radius_profile.py b/libs/cloudapi/cloudsdk/test/test_radius_profile.py new file mode 100644 index 000000000..065e48095 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_radius_profile.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.radius_profile import RadiusProfile # noqa: E501 +from swagger_client.rest import ApiException + + +class TestRadiusProfile(unittest.TestCase): + """RadiusProfile unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testRadiusProfile(self): + """Test RadiusProfile""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.radius_profile.RadiusProfile() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_radius_server.py b/libs/cloudapi/cloudsdk/test/test_radius_server.py new file mode 100644 index 000000000..8b166e537 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_radius_server.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.radius_server import RadiusServer # noqa: E501 +from swagger_client.rest import ApiException + + +class TestRadiusServer(unittest.TestCase): + """RadiusServer unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testRadiusServer(self): + """Test RadiusServer""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.radius_server.RadiusServer() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_radius_server_details.py b/libs/cloudapi/cloudsdk/test/test_radius_server_details.py new file mode 100644 index 000000000..c270eac6e --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_radius_server_details.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.radius_server_details import RadiusServerDetails # noqa: E501 +from swagger_client.rest import ApiException + + +class TestRadiusServerDetails(unittest.TestCase): + """RadiusServerDetails unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testRadiusServerDetails(self): + """Test RadiusServerDetails""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.radius_server_details.RadiusServerDetails() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_real_time_event.py b/libs/cloudapi/cloudsdk/test/test_real_time_event.py new file mode 100644 index 000000000..153f54360 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_real_time_event.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.real_time_event import RealTimeEvent # noqa: E501 +from swagger_client.rest import ApiException + + +class TestRealTimeEvent(unittest.TestCase): + """RealTimeEvent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testRealTimeEvent(self): + """Test RealTimeEvent""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.real_time_event.RealTimeEvent() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_real_time_sip_call_event_with_stats.py b/libs/cloudapi/cloudsdk/test/test_real_time_sip_call_event_with_stats.py new file mode 100644 index 000000000..dd0a5bf80 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_real_time_sip_call_event_with_stats.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.real_time_sip_call_event_with_stats import RealTimeSipCallEventWithStats # noqa: E501 +from swagger_client.rest import ApiException + + +class TestRealTimeSipCallEventWithStats(unittest.TestCase): + """RealTimeSipCallEventWithStats unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testRealTimeSipCallEventWithStats(self): + """Test RealTimeSipCallEventWithStats""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.real_time_sip_call_event_with_stats.RealTimeSipCallEventWithStats() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_real_time_sip_call_report_event.py b/libs/cloudapi/cloudsdk/test/test_real_time_sip_call_report_event.py new file mode 100644 index 000000000..3cdf2d1d8 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_real_time_sip_call_report_event.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.real_time_sip_call_report_event import RealTimeSipCallReportEvent # noqa: E501 +from swagger_client.rest import ApiException + + +class TestRealTimeSipCallReportEvent(unittest.TestCase): + """RealTimeSipCallReportEvent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testRealTimeSipCallReportEvent(self): + """Test RealTimeSipCallReportEvent""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.real_time_sip_call_report_event.RealTimeSipCallReportEvent() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_real_time_sip_call_start_event.py b/libs/cloudapi/cloudsdk/test/test_real_time_sip_call_start_event.py new file mode 100644 index 000000000..96635809c --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_real_time_sip_call_start_event.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.real_time_sip_call_start_event import RealTimeSipCallStartEvent # noqa: E501 +from swagger_client.rest import ApiException + + +class TestRealTimeSipCallStartEvent(unittest.TestCase): + """RealTimeSipCallStartEvent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testRealTimeSipCallStartEvent(self): + """Test RealTimeSipCallStartEvent""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.real_time_sip_call_start_event.RealTimeSipCallStartEvent() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_real_time_sip_call_stop_event.py b/libs/cloudapi/cloudsdk/test/test_real_time_sip_call_stop_event.py new file mode 100644 index 000000000..39541af43 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_real_time_sip_call_stop_event.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.real_time_sip_call_stop_event import RealTimeSipCallStopEvent # noqa: E501 +from swagger_client.rest import ApiException + + +class TestRealTimeSipCallStopEvent(unittest.TestCase): + """RealTimeSipCallStopEvent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testRealTimeSipCallStopEvent(self): + """Test RealTimeSipCallStopEvent""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.real_time_sip_call_stop_event.RealTimeSipCallStopEvent() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_real_time_streaming_start_event.py b/libs/cloudapi/cloudsdk/test/test_real_time_streaming_start_event.py new file mode 100644 index 000000000..d579163cc --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_real_time_streaming_start_event.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.real_time_streaming_start_event import RealTimeStreamingStartEvent # noqa: E501 +from swagger_client.rest import ApiException + + +class TestRealTimeStreamingStartEvent(unittest.TestCase): + """RealTimeStreamingStartEvent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testRealTimeStreamingStartEvent(self): + """Test RealTimeStreamingStartEvent""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.real_time_streaming_start_event.RealTimeStreamingStartEvent() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_real_time_streaming_start_session_event.py b/libs/cloudapi/cloudsdk/test/test_real_time_streaming_start_session_event.py new file mode 100644 index 000000000..974fed1ff --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_real_time_streaming_start_session_event.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.real_time_streaming_start_session_event import RealTimeStreamingStartSessionEvent # noqa: E501 +from swagger_client.rest import ApiException + + +class TestRealTimeStreamingStartSessionEvent(unittest.TestCase): + """RealTimeStreamingStartSessionEvent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testRealTimeStreamingStartSessionEvent(self): + """Test RealTimeStreamingStartSessionEvent""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.real_time_streaming_start_session_event.RealTimeStreamingStartSessionEvent() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_real_time_streaming_stop_event.py b/libs/cloudapi/cloudsdk/test/test_real_time_streaming_stop_event.py new file mode 100644 index 000000000..560a9f6b3 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_real_time_streaming_stop_event.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.real_time_streaming_stop_event import RealTimeStreamingStopEvent # noqa: E501 +from swagger_client.rest import ApiException + + +class TestRealTimeStreamingStopEvent(unittest.TestCase): + """RealTimeStreamingStopEvent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testRealTimeStreamingStopEvent(self): + """Test RealTimeStreamingStopEvent""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.real_time_streaming_stop_event.RealTimeStreamingStopEvent() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_realtime_channel_hop_event.py b/libs/cloudapi/cloudsdk/test/test_realtime_channel_hop_event.py new file mode 100644 index 000000000..26a6a5865 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_realtime_channel_hop_event.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.realtime_channel_hop_event import RealtimeChannelHopEvent # noqa: E501 +from swagger_client.rest import ApiException + + +class TestRealtimeChannelHopEvent(unittest.TestCase): + """RealtimeChannelHopEvent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testRealtimeChannelHopEvent(self): + """Test RealtimeChannelHopEvent""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.realtime_channel_hop_event.RealtimeChannelHopEvent() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_rf_config_map.py b/libs/cloudapi/cloudsdk/test/test_rf_config_map.py new file mode 100644 index 000000000..e48d92d3d --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_rf_config_map.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.rf_config_map import RfConfigMap # noqa: E501 +from swagger_client.rest import ApiException + + +class TestRfConfigMap(unittest.TestCase): + """RfConfigMap unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testRfConfigMap(self): + """Test RfConfigMap""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.rf_config_map.RfConfigMap() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_rf_configuration.py b/libs/cloudapi/cloudsdk/test/test_rf_configuration.py new file mode 100644 index 000000000..22ac42a7a --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_rf_configuration.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.rf_configuration import RfConfiguration # noqa: E501 +from swagger_client.rest import ApiException + + +class TestRfConfiguration(unittest.TestCase): + """RfConfiguration unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testRfConfiguration(self): + """Test RfConfiguration""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.rf_configuration.RfConfiguration() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_rf_element_configuration.py b/libs/cloudapi/cloudsdk/test/test_rf_element_configuration.py new file mode 100644 index 000000000..92ec4dc83 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_rf_element_configuration.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.rf_element_configuration import RfElementConfiguration # noqa: E501 +from swagger_client.rest import ApiException + + +class TestRfElementConfiguration(unittest.TestCase): + """RfElementConfiguration unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testRfElementConfiguration(self): + """Test RfElementConfiguration""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.rf_element_configuration.RfElementConfiguration() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_routing_added_event.py b/libs/cloudapi/cloudsdk/test/test_routing_added_event.py new file mode 100644 index 000000000..2b5f72a50 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_routing_added_event.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.routing_added_event import RoutingAddedEvent # noqa: E501 +from swagger_client.rest import ApiException + + +class TestRoutingAddedEvent(unittest.TestCase): + """RoutingAddedEvent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testRoutingAddedEvent(self): + """Test RoutingAddedEvent""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.routing_added_event.RoutingAddedEvent() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_routing_changed_event.py b/libs/cloudapi/cloudsdk/test/test_routing_changed_event.py new file mode 100644 index 000000000..0d7f87736 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_routing_changed_event.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.routing_changed_event import RoutingChangedEvent # noqa: E501 +from swagger_client.rest import ApiException + + +class TestRoutingChangedEvent(unittest.TestCase): + """RoutingChangedEvent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testRoutingChangedEvent(self): + """Test RoutingChangedEvent""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.routing_changed_event.RoutingChangedEvent() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_routing_removed_event.py b/libs/cloudapi/cloudsdk/test/test_routing_removed_event.py new file mode 100644 index 000000000..4094829d0 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_routing_removed_event.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.routing_removed_event import RoutingRemovedEvent # noqa: E501 +from swagger_client.rest import ApiException + + +class TestRoutingRemovedEvent(unittest.TestCase): + """RoutingRemovedEvent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testRoutingRemovedEvent(self): + """Test RoutingRemovedEvent""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.routing_removed_event.RoutingRemovedEvent() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_rrm_bulk_update_ap_details.py b/libs/cloudapi/cloudsdk/test/test_rrm_bulk_update_ap_details.py new file mode 100644 index 000000000..b88fcaf94 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_rrm_bulk_update_ap_details.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.rrm_bulk_update_ap_details import RrmBulkUpdateApDetails # noqa: E501 +from swagger_client.rest import ApiException + + +class TestRrmBulkUpdateApDetails(unittest.TestCase): + """RrmBulkUpdateApDetails unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testRrmBulkUpdateApDetails(self): + """Test RrmBulkUpdateApDetails""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.rrm_bulk_update_ap_details.RrmBulkUpdateApDetails() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_rtls_settings.py b/libs/cloudapi/cloudsdk/test/test_rtls_settings.py new file mode 100644 index 000000000..bb4f1dcf6 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_rtls_settings.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.rtls_settings import RtlsSettings # noqa: E501 +from swagger_client.rest import ApiException + + +class TestRtlsSettings(unittest.TestCase): + """RtlsSettings unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testRtlsSettings(self): + """Test RtlsSettings""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.rtls_settings.RtlsSettings() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_rtp_flow_direction.py b/libs/cloudapi/cloudsdk/test/test_rtp_flow_direction.py new file mode 100644 index 000000000..3343fe350 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_rtp_flow_direction.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.rtp_flow_direction import RtpFlowDirection # noqa: E501 +from swagger_client.rest import ApiException + + +class TestRtpFlowDirection(unittest.TestCase): + """RtpFlowDirection unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testRtpFlowDirection(self): + """Test RtpFlowDirection""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.rtp_flow_direction.RtpFlowDirection() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_rtp_flow_stats.py b/libs/cloudapi/cloudsdk/test/test_rtp_flow_stats.py new file mode 100644 index 000000000..7e2456b7e --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_rtp_flow_stats.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.rtp_flow_stats import RtpFlowStats # noqa: E501 +from swagger_client.rest import ApiException + + +class TestRtpFlowStats(unittest.TestCase): + """RtpFlowStats unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testRtpFlowStats(self): + """Test RtpFlowStats""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.rtp_flow_stats.RtpFlowStats() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_rtp_flow_type.py b/libs/cloudapi/cloudsdk/test/test_rtp_flow_type.py new file mode 100644 index 000000000..d406c2c56 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_rtp_flow_type.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.rtp_flow_type import RtpFlowType # noqa: E501 +from swagger_client.rest import ApiException + + +class TestRtpFlowType(unittest.TestCase): + """RtpFlowType unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testRtpFlowType(self): + """Test RtpFlowType""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.rtp_flow_type.RtpFlowType() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_schedule_setting.py b/libs/cloudapi/cloudsdk/test/test_schedule_setting.py new file mode 100644 index 000000000..941d8c245 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_schedule_setting.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.schedule_setting import ScheduleSetting # noqa: E501 +from swagger_client.rest import ApiException + + +class TestScheduleSetting(unittest.TestCase): + """ScheduleSetting unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testScheduleSetting(self): + """Test ScheduleSetting""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.schedule_setting.ScheduleSetting() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_security_type.py b/libs/cloudapi/cloudsdk/test/test_security_type.py new file mode 100644 index 000000000..69a208672 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_security_type.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.security_type import SecurityType # noqa: E501 +from swagger_client.rest import ApiException + + +class TestSecurityType(unittest.TestCase): + """SecurityType unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testSecurityType(self): + """Test SecurityType""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.security_type.SecurityType() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_service_adoption_metrics.py b/libs/cloudapi/cloudsdk/test/test_service_adoption_metrics.py new file mode 100644 index 000000000..8e0c2c1eb --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_service_adoption_metrics.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.service_adoption_metrics import ServiceAdoptionMetrics # noqa: E501 +from swagger_client.rest import ApiException + + +class TestServiceAdoptionMetrics(unittest.TestCase): + """ServiceAdoptionMetrics unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testServiceAdoptionMetrics(self): + """Test ServiceAdoptionMetrics""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.service_adoption_metrics.ServiceAdoptionMetrics() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_service_adoption_metrics_api.py b/libs/cloudapi/cloudsdk/test/test_service_adoption_metrics_api.py new file mode 100644 index 000000000..43f1710ef --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_service_adoption_metrics_api.py @@ -0,0 +1,75 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.api.service_adoption_metrics_api import ServiceAdoptionMetricsApi # noqa: E501 +from swagger_client.rest import ApiException + + +class TestServiceAdoptionMetricsApi(unittest.TestCase): + """ServiceAdoptionMetricsApi unit test stubs""" + + def setUp(self): + self.api = ServiceAdoptionMetricsApi() # noqa: E501 + + def tearDown(self): + pass + + def test_get_adoption_metrics_all_per_day(self): + """Test case for get_adoption_metrics_all_per_day + + Get daily service adoption metrics for a given year # noqa: E501 + """ + pass + + def test_get_adoption_metrics_all_per_month(self): + """Test case for get_adoption_metrics_all_per_month + + Get monthly service adoption metrics for a given year # noqa: E501 + """ + pass + + def test_get_adoption_metrics_all_per_week(self): + """Test case for get_adoption_metrics_all_per_week + + Get weekly service adoption metrics for a given year # noqa: E501 + """ + pass + + def test_get_adoption_metrics_per_customer_per_day(self): + """Test case for get_adoption_metrics_per_customer_per_day + + Get daily service adoption metrics for a given year aggregated by customer and filtered by specified customer ids # noqa: E501 + """ + pass + + def test_get_adoption_metrics_per_equipment_per_day(self): + """Test case for get_adoption_metrics_per_equipment_per_day + + Get daily service adoption metrics for a given year filtered by specified equipment ids # noqa: E501 + """ + pass + + def test_get_adoption_metrics_per_location_per_day(self): + """Test case for get_adoption_metrics_per_location_per_day + + Get daily service adoption metrics for a given year aggregated by location and filtered by specified location ids # noqa: E501 + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_service_metric.py b/libs/cloudapi/cloudsdk/test/test_service_metric.py new file mode 100644 index 000000000..f28c2b9ff --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_service_metric.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.service_metric import ServiceMetric # noqa: E501 +from swagger_client.rest import ApiException + + +class TestServiceMetric(unittest.TestCase): + """ServiceMetric unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testServiceMetric(self): + """Test ServiceMetric""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.service_metric.ServiceMetric() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_service_metric_config_parameters.py b/libs/cloudapi/cloudsdk/test/test_service_metric_config_parameters.py new file mode 100644 index 000000000..371eae0a1 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_service_metric_config_parameters.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.service_metric_config_parameters import ServiceMetricConfigParameters # noqa: E501 +from swagger_client.rest import ApiException + + +class TestServiceMetricConfigParameters(unittest.TestCase): + """ServiceMetricConfigParameters unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testServiceMetricConfigParameters(self): + """Test ServiceMetricConfigParameters""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.service_metric_config_parameters.ServiceMetricConfigParameters() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_service_metric_data_type.py b/libs/cloudapi/cloudsdk/test/test_service_metric_data_type.py new file mode 100644 index 000000000..33428c9c6 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_service_metric_data_type.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.service_metric_data_type import ServiceMetricDataType # noqa: E501 +from swagger_client.rest import ApiException + + +class TestServiceMetricDataType(unittest.TestCase): + """ServiceMetricDataType unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testServiceMetricDataType(self): + """Test ServiceMetricDataType""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.service_metric_data_type.ServiceMetricDataType() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_service_metric_details.py b/libs/cloudapi/cloudsdk/test/test_service_metric_details.py new file mode 100644 index 000000000..23f4ebcb6 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_service_metric_details.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.service_metric_details import ServiceMetricDetails # noqa: E501 +from swagger_client.rest import ApiException + + +class TestServiceMetricDetails(unittest.TestCase): + """ServiceMetricDetails unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testServiceMetricDetails(self): + """Test ServiceMetricDetails""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.service_metric_details.ServiceMetricDetails() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_service_metric_radio_config_parameters.py b/libs/cloudapi/cloudsdk/test/test_service_metric_radio_config_parameters.py new file mode 100644 index 000000000..10e327e17 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_service_metric_radio_config_parameters.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.service_metric_radio_config_parameters import ServiceMetricRadioConfigParameters # noqa: E501 +from swagger_client.rest import ApiException + + +class TestServiceMetricRadioConfigParameters(unittest.TestCase): + """ServiceMetricRadioConfigParameters unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testServiceMetricRadioConfigParameters(self): + """Test ServiceMetricRadioConfigParameters""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.service_metric_radio_config_parameters.ServiceMetricRadioConfigParameters() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_service_metric_survey_config_parameters.py b/libs/cloudapi/cloudsdk/test/test_service_metric_survey_config_parameters.py new file mode 100644 index 000000000..a3835001e --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_service_metric_survey_config_parameters.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.service_metric_survey_config_parameters import ServiceMetricSurveyConfigParameters # noqa: E501 +from swagger_client.rest import ApiException + + +class TestServiceMetricSurveyConfigParameters(unittest.TestCase): + """ServiceMetricSurveyConfigParameters unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testServiceMetricSurveyConfigParameters(self): + """Test ServiceMetricSurveyConfigParameters""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.service_metric_survey_config_parameters.ServiceMetricSurveyConfigParameters() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_service_metrics_collection_config_profile.py b/libs/cloudapi/cloudsdk/test/test_service_metrics_collection_config_profile.py new file mode 100644 index 000000000..a1b40e66a --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_service_metrics_collection_config_profile.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.service_metrics_collection_config_profile import ServiceMetricsCollectionConfigProfile # noqa: E501 +from swagger_client.rest import ApiException + + +class TestServiceMetricsCollectionConfigProfile(unittest.TestCase): + """ServiceMetricsCollectionConfigProfile unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testServiceMetricsCollectionConfigProfile(self): + """Test ServiceMetricsCollectionConfigProfile""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.service_metrics_collection_config_profile.ServiceMetricsCollectionConfigProfile() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_session_expiry_type.py b/libs/cloudapi/cloudsdk/test/test_session_expiry_type.py new file mode 100644 index 000000000..8759e14ff --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_session_expiry_type.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.session_expiry_type import SessionExpiryType # noqa: E501 +from swagger_client.rest import ApiException + + +class TestSessionExpiryType(unittest.TestCase): + """SessionExpiryType unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testSessionExpiryType(self): + """Test SessionExpiryType""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.session_expiry_type.SessionExpiryType() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_sip_call_report_reason.py b/libs/cloudapi/cloudsdk/test/test_sip_call_report_reason.py new file mode 100644 index 000000000..370b6ff0e --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_sip_call_report_reason.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.sip_call_report_reason import SIPCallReportReason # noqa: E501 +from swagger_client.rest import ApiException + + +class TestSIPCallReportReason(unittest.TestCase): + """SIPCallReportReason unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testSIPCallReportReason(self): + """Test SIPCallReportReason""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.sip_call_report_reason.SIPCallReportReason() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_sip_call_stop_reason.py b/libs/cloudapi/cloudsdk/test/test_sip_call_stop_reason.py new file mode 100644 index 000000000..3f0cb747f --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_sip_call_stop_reason.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.sip_call_stop_reason import SipCallStopReason # noqa: E501 +from swagger_client.rest import ApiException + + +class TestSipCallStopReason(unittest.TestCase): + """SipCallStopReason unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testSipCallStopReason(self): + """Test SipCallStopReason""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.sip_call_stop_reason.SipCallStopReason() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_sort_columns_alarm.py b/libs/cloudapi/cloudsdk/test/test_sort_columns_alarm.py new file mode 100644 index 000000000..f03c67899 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_sort_columns_alarm.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.sort_columns_alarm import SortColumnsAlarm # noqa: E501 +from swagger_client.rest import ApiException + + +class TestSortColumnsAlarm(unittest.TestCase): + """SortColumnsAlarm unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testSortColumnsAlarm(self): + """Test SortColumnsAlarm""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.sort_columns_alarm.SortColumnsAlarm() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_sort_columns_client.py b/libs/cloudapi/cloudsdk/test/test_sort_columns_client.py new file mode 100644 index 000000000..fa58b40db --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_sort_columns_client.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.sort_columns_client import SortColumnsClient # noqa: E501 +from swagger_client.rest import ApiException + + +class TestSortColumnsClient(unittest.TestCase): + """SortColumnsClient unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testSortColumnsClient(self): + """Test SortColumnsClient""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.sort_columns_client.SortColumnsClient() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_sort_columns_client_session.py b/libs/cloudapi/cloudsdk/test/test_sort_columns_client_session.py new file mode 100644 index 000000000..06651f48a --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_sort_columns_client_session.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.sort_columns_client_session import SortColumnsClientSession # noqa: E501 +from swagger_client.rest import ApiException + + +class TestSortColumnsClientSession(unittest.TestCase): + """SortColumnsClientSession unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testSortColumnsClientSession(self): + """Test SortColumnsClientSession""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.sort_columns_client_session.SortColumnsClientSession() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_sort_columns_equipment.py b/libs/cloudapi/cloudsdk/test/test_sort_columns_equipment.py new file mode 100644 index 000000000..a03a16adb --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_sort_columns_equipment.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.sort_columns_equipment import SortColumnsEquipment # noqa: E501 +from swagger_client.rest import ApiException + + +class TestSortColumnsEquipment(unittest.TestCase): + """SortColumnsEquipment unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testSortColumnsEquipment(self): + """Test SortColumnsEquipment""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.sort_columns_equipment.SortColumnsEquipment() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_sort_columns_location.py b/libs/cloudapi/cloudsdk/test/test_sort_columns_location.py new file mode 100644 index 000000000..cf226a88f --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_sort_columns_location.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.sort_columns_location import SortColumnsLocation # noqa: E501 +from swagger_client.rest import ApiException + + +class TestSortColumnsLocation(unittest.TestCase): + """SortColumnsLocation unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testSortColumnsLocation(self): + """Test SortColumnsLocation""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.sort_columns_location.SortColumnsLocation() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_sort_columns_portal_user.py b/libs/cloudapi/cloudsdk/test/test_sort_columns_portal_user.py new file mode 100644 index 000000000..a8e92b61b --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_sort_columns_portal_user.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.sort_columns_portal_user import SortColumnsPortalUser # noqa: E501 +from swagger_client.rest import ApiException + + +class TestSortColumnsPortalUser(unittest.TestCase): + """SortColumnsPortalUser unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testSortColumnsPortalUser(self): + """Test SortColumnsPortalUser""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.sort_columns_portal_user.SortColumnsPortalUser() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_sort_columns_profile.py b/libs/cloudapi/cloudsdk/test/test_sort_columns_profile.py new file mode 100644 index 000000000..0c50fb551 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_sort_columns_profile.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.sort_columns_profile import SortColumnsProfile # noqa: E501 +from swagger_client.rest import ApiException + + +class TestSortColumnsProfile(unittest.TestCase): + """SortColumnsProfile unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testSortColumnsProfile(self): + """Test SortColumnsProfile""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.sort_columns_profile.SortColumnsProfile() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_sort_columns_service_metric.py b/libs/cloudapi/cloudsdk/test/test_sort_columns_service_metric.py new file mode 100644 index 000000000..022c04210 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_sort_columns_service_metric.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.sort_columns_service_metric import SortColumnsServiceMetric # noqa: E501 +from swagger_client.rest import ApiException + + +class TestSortColumnsServiceMetric(unittest.TestCase): + """SortColumnsServiceMetric unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testSortColumnsServiceMetric(self): + """Test SortColumnsServiceMetric""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.sort_columns_service_metric.SortColumnsServiceMetric() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_sort_columns_status.py b/libs/cloudapi/cloudsdk/test/test_sort_columns_status.py new file mode 100644 index 000000000..b26c261f8 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_sort_columns_status.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.sort_columns_status import SortColumnsStatus # noqa: E501 +from swagger_client.rest import ApiException + + +class TestSortColumnsStatus(unittest.TestCase): + """SortColumnsStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testSortColumnsStatus(self): + """Test SortColumnsStatus""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.sort_columns_status.SortColumnsStatus() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_sort_columns_system_event.py b/libs/cloudapi/cloudsdk/test/test_sort_columns_system_event.py new file mode 100644 index 000000000..d935f8a48 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_sort_columns_system_event.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.sort_columns_system_event import SortColumnsSystemEvent # noqa: E501 +from swagger_client.rest import ApiException + + +class TestSortColumnsSystemEvent(unittest.TestCase): + """SortColumnsSystemEvent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testSortColumnsSystemEvent(self): + """Test SortColumnsSystemEvent""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.sort_columns_system_event.SortColumnsSystemEvent() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_sort_order.py b/libs/cloudapi/cloudsdk/test/test_sort_order.py new file mode 100644 index 000000000..583127c4d --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_sort_order.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.sort_order import SortOrder # noqa: E501 +from swagger_client.rest import ApiException + + +class TestSortOrder(unittest.TestCase): + """SortOrder unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testSortOrder(self): + """Test SortOrder""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.sort_order.SortOrder() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_source_selection_management.py b/libs/cloudapi/cloudsdk/test/test_source_selection_management.py new file mode 100644 index 000000000..75d7fefbd --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_source_selection_management.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.source_selection_management import SourceSelectionManagement # noqa: E501 +from swagger_client.rest import ApiException + + +class TestSourceSelectionManagement(unittest.TestCase): + """SourceSelectionManagement unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testSourceSelectionManagement(self): + """Test SourceSelectionManagement""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.source_selection_management.SourceSelectionManagement() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_source_selection_multicast.py b/libs/cloudapi/cloudsdk/test/test_source_selection_multicast.py new file mode 100644 index 000000000..96a56dc25 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_source_selection_multicast.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.source_selection_multicast import SourceSelectionMulticast # noqa: E501 +from swagger_client.rest import ApiException + + +class TestSourceSelectionMulticast(unittest.TestCase): + """SourceSelectionMulticast unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testSourceSelectionMulticast(self): + """Test SourceSelectionMulticast""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.source_selection_multicast.SourceSelectionMulticast() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_source_selection_steering.py b/libs/cloudapi/cloudsdk/test/test_source_selection_steering.py new file mode 100644 index 000000000..8a6e574f9 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_source_selection_steering.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.source_selection_steering import SourceSelectionSteering # noqa: E501 +from swagger_client.rest import ApiException + + +class TestSourceSelectionSteering(unittest.TestCase): + """SourceSelectionSteering unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testSourceSelectionSteering(self): + """Test SourceSelectionSteering""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.source_selection_steering.SourceSelectionSteering() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_source_selection_value.py b/libs/cloudapi/cloudsdk/test/test_source_selection_value.py new file mode 100644 index 000000000..5c5ea56d9 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_source_selection_value.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.source_selection_value import SourceSelectionValue # noqa: E501 +from swagger_client.rest import ApiException + + +class TestSourceSelectionValue(unittest.TestCase): + """SourceSelectionValue unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testSourceSelectionValue(self): + """Test SourceSelectionValue""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.source_selection_value.SourceSelectionValue() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_source_type.py b/libs/cloudapi/cloudsdk/test/test_source_type.py new file mode 100644 index 000000000..4463488f6 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_source_type.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.source_type import SourceType # noqa: E501 +from swagger_client.rest import ApiException + + +class TestSourceType(unittest.TestCase): + """SourceType unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testSourceType(self): + """Test SourceType""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.source_type.SourceType() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_ssid_configuration.py b/libs/cloudapi/cloudsdk/test/test_ssid_configuration.py new file mode 100644 index 000000000..7cdc3dec1 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_ssid_configuration.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.ssid_configuration import SsidConfiguration # noqa: E501 +from swagger_client.rest import ApiException + + +class TestSsidConfiguration(unittest.TestCase): + """SsidConfiguration unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testSsidConfiguration(self): + """Test SsidConfiguration""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.ssid_configuration.SsidConfiguration() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_ssid_secure_mode.py b/libs/cloudapi/cloudsdk/test/test_ssid_secure_mode.py new file mode 100644 index 000000000..5b1a23f17 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_ssid_secure_mode.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.ssid_secure_mode import SsidSecureMode # noqa: E501 +from swagger_client.rest import ApiException + + +class TestSsidSecureMode(unittest.TestCase): + """SsidSecureMode unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testSsidSecureMode(self): + """Test SsidSecureMode""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.ssid_secure_mode.SsidSecureMode() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_ssid_statistics.py b/libs/cloudapi/cloudsdk/test/test_ssid_statistics.py new file mode 100644 index 000000000..a018e5430 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_ssid_statistics.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.ssid_statistics import SsidStatistics # noqa: E501 +from swagger_client.rest import ApiException + + +class TestSsidStatistics(unittest.TestCase): + """SsidStatistics unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testSsidStatistics(self): + """Test SsidStatistics""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.ssid_statistics.SsidStatistics() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_state_setting.py b/libs/cloudapi/cloudsdk/test/test_state_setting.py new file mode 100644 index 000000000..aa5b7cb1c --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_state_setting.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.state_setting import StateSetting # noqa: E501 +from swagger_client.rest import ApiException + + +class TestStateSetting(unittest.TestCase): + """StateSetting unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testStateSetting(self): + """Test StateSetting""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.state_setting.StateSetting() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_state_up_down_error.py b/libs/cloudapi/cloudsdk/test/test_state_up_down_error.py new file mode 100644 index 000000000..27cfbd2ae --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_state_up_down_error.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.state_up_down_error import StateUpDownError # noqa: E501 +from swagger_client.rest import ApiException + + +class TestStateUpDownError(unittest.TestCase): + """StateUpDownError unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testStateUpDownError(self): + """Test StateUpDownError""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.state_up_down_error.StateUpDownError() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_stats_report_format.py b/libs/cloudapi/cloudsdk/test/test_stats_report_format.py new file mode 100644 index 000000000..d7f79e149 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_stats_report_format.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.stats_report_format import StatsReportFormat # noqa: E501 +from swagger_client.rest import ApiException + + +class TestStatsReportFormat(unittest.TestCase): + """StatsReportFormat unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testStatsReportFormat(self): + """Test StatsReportFormat""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.stats_report_format.StatsReportFormat() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_status.py b/libs/cloudapi/cloudsdk/test/test_status.py new file mode 100644 index 000000000..c1558863b --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_status.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.status import Status # noqa: E501 +from swagger_client.rest import ApiException + + +class TestStatus(unittest.TestCase): + """Status unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testStatus(self): + """Test Status""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.status.Status() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_status_api.py b/libs/cloudapi/cloudsdk/test/test_status_api.py new file mode 100644 index 000000000..dc12dfaf9 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_status_api.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.api.status_api import StatusApi # noqa: E501 +from swagger_client.rest import ApiException + + +class TestStatusApi(unittest.TestCase): + """StatusApi unit test stubs""" + + def setUp(self): + self.api = StatusApi() # noqa: E501 + + def tearDown(self): + pass + + def test_get_status_by_customer_equipment(self): + """Test case for get_status_by_customer_equipment + + Get all Status objects for a given customer equipment. # noqa: E501 + """ + pass + + def test_get_status_by_customer_equipment_with_filter(self): + """Test case for get_status_by_customer_equipment_with_filter + + Get Status objects for a given customer equipment ids and status data types. # noqa: E501 + """ + pass + + def test_get_status_by_customer_id(self): + """Test case for get_status_by_customer_id + + Get all Status objects By customerId # noqa: E501 + """ + pass + + def test_get_status_by_customer_with_filter(self): + """Test case for get_status_by_customer_with_filter + + Get list of Statuses for customerId, set of equipment ids, and set of status data types. # noqa: E501 + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_status_changed_event.py b/libs/cloudapi/cloudsdk/test/test_status_changed_event.py new file mode 100644 index 000000000..8a8ee80f3 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_status_changed_event.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.status_changed_event import StatusChangedEvent # noqa: E501 +from swagger_client.rest import ApiException + + +class TestStatusChangedEvent(unittest.TestCase): + """StatusChangedEvent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testStatusChangedEvent(self): + """Test StatusChangedEvent""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.status_changed_event.StatusChangedEvent() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_status_code.py b/libs/cloudapi/cloudsdk/test/test_status_code.py new file mode 100644 index 000000000..1f9f40e8a --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_status_code.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.status_code import StatusCode # noqa: E501 +from swagger_client.rest import ApiException + + +class TestStatusCode(unittest.TestCase): + """StatusCode unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testStatusCode(self): + """Test StatusCode""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.status_code.StatusCode() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_status_data_type.py b/libs/cloudapi/cloudsdk/test/test_status_data_type.py new file mode 100644 index 000000000..ff5ef2faa --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_status_data_type.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.status_data_type import StatusDataType # noqa: E501 +from swagger_client.rest import ApiException + + +class TestStatusDataType(unittest.TestCase): + """StatusDataType unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testStatusDataType(self): + """Test StatusDataType""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.status_data_type.StatusDataType() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_status_details.py b/libs/cloudapi/cloudsdk/test/test_status_details.py new file mode 100644 index 000000000..d7d4f1324 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_status_details.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.status_details import StatusDetails # noqa: E501 +from swagger_client.rest import ApiException + + +class TestStatusDetails(unittest.TestCase): + """StatusDetails unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testStatusDetails(self): + """Test StatusDetails""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.status_details.StatusDetails() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_status_removed_event.py b/libs/cloudapi/cloudsdk/test/test_status_removed_event.py new file mode 100644 index 000000000..e5d1ea39c --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_status_removed_event.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.status_removed_event import StatusRemovedEvent # noqa: E501 +from swagger_client.rest import ApiException + + +class TestStatusRemovedEvent(unittest.TestCase): + """StatusRemovedEvent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testStatusRemovedEvent(self): + """Test StatusRemovedEvent""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.status_removed_event.StatusRemovedEvent() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_steer_type.py b/libs/cloudapi/cloudsdk/test/test_steer_type.py new file mode 100644 index 000000000..ba04cdecd --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_steer_type.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.steer_type import SteerType # noqa: E501 +from swagger_client.rest import ApiException + + +class TestSteerType(unittest.TestCase): + """SteerType unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testSteerType(self): + """Test SteerType""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.steer_type.SteerType() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_streaming_video_server_record.py b/libs/cloudapi/cloudsdk/test/test_streaming_video_server_record.py new file mode 100644 index 000000000..dfd3adbd1 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_streaming_video_server_record.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.streaming_video_server_record import StreamingVideoServerRecord # noqa: E501 +from swagger_client.rest import ApiException + + +class TestStreamingVideoServerRecord(unittest.TestCase): + """StreamingVideoServerRecord unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testStreamingVideoServerRecord(self): + """Test StreamingVideoServerRecord""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.streaming_video_server_record.StreamingVideoServerRecord() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_streaming_video_type.py b/libs/cloudapi/cloudsdk/test/test_streaming_video_type.py new file mode 100644 index 000000000..9dcb7b5d9 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_streaming_video_type.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.streaming_video_type import StreamingVideoType # noqa: E501 +from swagger_client.rest import ApiException + + +class TestStreamingVideoType(unittest.TestCase): + """StreamingVideoType unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testStreamingVideoType(self): + """Test StreamingVideoType""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.streaming_video_type.StreamingVideoType() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_syslog_relay.py b/libs/cloudapi/cloudsdk/test/test_syslog_relay.py new file mode 100644 index 000000000..571369b26 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_syslog_relay.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.syslog_relay import SyslogRelay # noqa: E501 +from swagger_client.rest import ApiException + + +class TestSyslogRelay(unittest.TestCase): + """SyslogRelay unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testSyslogRelay(self): + """Test SyslogRelay""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.syslog_relay.SyslogRelay() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_syslog_severity_type.py b/libs/cloudapi/cloudsdk/test/test_syslog_severity_type.py new file mode 100644 index 000000000..699f392bd --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_syslog_severity_type.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.syslog_severity_type import SyslogSeverityType # noqa: E501 +from swagger_client.rest import ApiException + + +class TestSyslogSeverityType(unittest.TestCase): + """SyslogSeverityType unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testSyslogSeverityType(self): + """Test SyslogSeverityType""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.syslog_severity_type.SyslogSeverityType() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_system_event.py b/libs/cloudapi/cloudsdk/test/test_system_event.py new file mode 100644 index 000000000..1b75ce383 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_system_event.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.system_event import SystemEvent # noqa: E501 +from swagger_client.rest import ApiException + + +class TestSystemEvent(unittest.TestCase): + """SystemEvent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testSystemEvent(self): + """Test SystemEvent""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.system_event.SystemEvent() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_system_event_data_type.py b/libs/cloudapi/cloudsdk/test/test_system_event_data_type.py new file mode 100644 index 000000000..22418729d --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_system_event_data_type.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.system_event_data_type import SystemEventDataType # noqa: E501 +from swagger_client.rest import ApiException + + +class TestSystemEventDataType(unittest.TestCase): + """SystemEventDataType unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testSystemEventDataType(self): + """Test SystemEventDataType""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.system_event_data_type.SystemEventDataType() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_system_event_record.py b/libs/cloudapi/cloudsdk/test/test_system_event_record.py new file mode 100644 index 000000000..94e7e2225 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_system_event_record.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.system_event_record import SystemEventRecord # noqa: E501 +from swagger_client.rest import ApiException + + +class TestSystemEventRecord(unittest.TestCase): + """SystemEventRecord unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testSystemEventRecord(self): + """Test SystemEventRecord""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.system_event_record.SystemEventRecord() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_system_events_api.py b/libs/cloudapi/cloudsdk/test/test_system_events_api.py new file mode 100644 index 000000000..641619983 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_system_events_api.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.api.system_events_api import SystemEventsApi # noqa: E501 +from swagger_client.rest import ApiException + + +class TestSystemEventsApi(unittest.TestCase): + """SystemEventsApi unit test stubs""" + + def setUp(self): + self.api = SystemEventsApi() # noqa: E501 + + def tearDown(self): + pass + + def test_get_system_eventsfor_customer(self): + """Test case for get_system_eventsfor_customer + + Get list of System Events for customerId, optional set of equipment ids, and optional set of data types. Only events that are created between specified fromTime and toTime are retrieved. # noqa: E501 + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_timed_access_user_details.py b/libs/cloudapi/cloudsdk/test/test_timed_access_user_details.py new file mode 100644 index 000000000..12c46789d --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_timed_access_user_details.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.timed_access_user_details import TimedAccessUserDetails # noqa: E501 +from swagger_client.rest import ApiException + + +class TestTimedAccessUserDetails(unittest.TestCase): + """TimedAccessUserDetails unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testTimedAccessUserDetails(self): + """Test TimedAccessUserDetails""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.timed_access_user_details.TimedAccessUserDetails() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_timed_access_user_record.py b/libs/cloudapi/cloudsdk/test/test_timed_access_user_record.py new file mode 100644 index 000000000..addeb896a --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_timed_access_user_record.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.timed_access_user_record import TimedAccessUserRecord # noqa: E501 +from swagger_client.rest import ApiException + + +class TestTimedAccessUserRecord(unittest.TestCase): + """TimedAccessUserRecord unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testTimedAccessUserRecord(self): + """Test TimedAccessUserRecord""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.timed_access_user_record.TimedAccessUserRecord() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_track_flag.py b/libs/cloudapi/cloudsdk/test/test_track_flag.py new file mode 100644 index 000000000..5c3ee6513 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_track_flag.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.track_flag import TrackFlag # noqa: E501 +from swagger_client.rest import ApiException + + +class TestTrackFlag(unittest.TestCase): + """TrackFlag unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testTrackFlag(self): + """Test TrackFlag""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.track_flag.TrackFlag() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_traffic_details.py b/libs/cloudapi/cloudsdk/test/test_traffic_details.py new file mode 100644 index 000000000..997356c7a --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_traffic_details.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.traffic_details import TrafficDetails # noqa: E501 +from swagger_client.rest import ApiException + + +class TestTrafficDetails(unittest.TestCase): + """TrafficDetails unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testTrafficDetails(self): + """Test TrafficDetails""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.traffic_details.TrafficDetails() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_traffic_per_radio_details.py b/libs/cloudapi/cloudsdk/test/test_traffic_per_radio_details.py new file mode 100644 index 000000000..8a84aad06 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_traffic_per_radio_details.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.traffic_per_radio_details import TrafficPerRadioDetails # noqa: E501 +from swagger_client.rest import ApiException + + +class TestTrafficPerRadioDetails(unittest.TestCase): + """TrafficPerRadioDetails unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testTrafficPerRadioDetails(self): + """Test TrafficPerRadioDetails""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.traffic_per_radio_details.TrafficPerRadioDetails() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_traffic_per_radio_details_per_radio_type_map.py b/libs/cloudapi/cloudsdk/test/test_traffic_per_radio_details_per_radio_type_map.py new file mode 100644 index 000000000..8f8021429 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_traffic_per_radio_details_per_radio_type_map.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.traffic_per_radio_details_per_radio_type_map import TrafficPerRadioDetailsPerRadioTypeMap # noqa: E501 +from swagger_client.rest import ApiException + + +class TestTrafficPerRadioDetailsPerRadioTypeMap(unittest.TestCase): + """TrafficPerRadioDetailsPerRadioTypeMap unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testTrafficPerRadioDetailsPerRadioTypeMap(self): + """Test TrafficPerRadioDetailsPerRadioTypeMap""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.traffic_per_radio_details_per_radio_type_map.TrafficPerRadioDetailsPerRadioTypeMap() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_tunnel_indicator.py b/libs/cloudapi/cloudsdk/test/test_tunnel_indicator.py new file mode 100644 index 000000000..4aa095c77 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_tunnel_indicator.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.tunnel_indicator import TunnelIndicator # noqa: E501 +from swagger_client.rest import ApiException + + +class TestTunnelIndicator(unittest.TestCase): + """TunnelIndicator unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testTunnelIndicator(self): + """Test TunnelIndicator""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.tunnel_indicator.TunnelIndicator() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_tunnel_metric_data.py b/libs/cloudapi/cloudsdk/test/test_tunnel_metric_data.py new file mode 100644 index 000000000..1ac7b4212 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_tunnel_metric_data.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.tunnel_metric_data import TunnelMetricData # noqa: E501 +from swagger_client.rest import ApiException + + +class TestTunnelMetricData(unittest.TestCase): + """TunnelMetricData unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testTunnelMetricData(self): + """Test TunnelMetricData""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.tunnel_metric_data.TunnelMetricData() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_unserializable_system_event.py b/libs/cloudapi/cloudsdk/test/test_unserializable_system_event.py new file mode 100644 index 000000000..6d32bc242 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_unserializable_system_event.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.unserializable_system_event import UnserializableSystemEvent # noqa: E501 +from swagger_client.rest import ApiException + + +class TestUnserializableSystemEvent(unittest.TestCase): + """UnserializableSystemEvent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testUnserializableSystemEvent(self): + """Test UnserializableSystemEvent""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.unserializable_system_event.UnserializableSystemEvent() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_user_details.py b/libs/cloudapi/cloudsdk/test/test_user_details.py new file mode 100644 index 000000000..96c12bb33 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_user_details.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.user_details import UserDetails # noqa: E501 +from swagger_client.rest import ApiException + + +class TestUserDetails(unittest.TestCase): + """UserDetails unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testUserDetails(self): + """Test UserDetails""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.user_details.UserDetails() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_vlan_status_data.py b/libs/cloudapi/cloudsdk/test/test_vlan_status_data.py new file mode 100644 index 000000000..e754a93e9 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_vlan_status_data.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.vlan_status_data import VLANStatusData # noqa: E501 +from swagger_client.rest import ApiException + + +class TestVLANStatusData(unittest.TestCase): + """VLANStatusData unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testVLANStatusData(self): + """Test VLANStatusData""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.vlan_status_data.VLANStatusData() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_vlan_status_data_map.py b/libs/cloudapi/cloudsdk/test/test_vlan_status_data_map.py new file mode 100644 index 000000000..00dd9c055 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_vlan_status_data_map.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.vlan_status_data_map import VLANStatusDataMap # noqa: E501 +from swagger_client.rest import ApiException + + +class TestVLANStatusDataMap(unittest.TestCase): + """VLANStatusDataMap unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testVLANStatusDataMap(self): + """Test VLANStatusDataMap""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.vlan_status_data_map.VLANStatusDataMap() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_vlan_subnet.py b/libs/cloudapi/cloudsdk/test/test_vlan_subnet.py new file mode 100644 index 000000000..2d4447fac --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_vlan_subnet.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.vlan_subnet import VlanSubnet # noqa: E501 +from swagger_client.rest import ApiException + + +class TestVlanSubnet(unittest.TestCase): + """VlanSubnet unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testVlanSubnet(self): + """Test VlanSubnet""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.vlan_subnet.VlanSubnet() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_web_token_acl_template.py b/libs/cloudapi/cloudsdk/test/test_web_token_acl_template.py new file mode 100644 index 000000000..7c3f157f7 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_web_token_acl_template.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.web_token_acl_template import WebTokenAclTemplate # noqa: E501 +from swagger_client.rest import ApiException + + +class TestWebTokenAclTemplate(unittest.TestCase): + """WebTokenAclTemplate unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testWebTokenAclTemplate(self): + """Test WebTokenAclTemplate""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.web_token_acl_template.WebTokenAclTemplate() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_web_token_request.py b/libs/cloudapi/cloudsdk/test/test_web_token_request.py new file mode 100644 index 000000000..c7a9db117 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_web_token_request.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.web_token_request import WebTokenRequest # noqa: E501 +from swagger_client.rest import ApiException + + +class TestWebTokenRequest(unittest.TestCase): + """WebTokenRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testWebTokenRequest(self): + """Test WebTokenRequest""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.web_token_request.WebTokenRequest() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_web_token_result.py b/libs/cloudapi/cloudsdk/test/test_web_token_result.py new file mode 100644 index 000000000..90970467c --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_web_token_result.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.web_token_result import WebTokenResult # noqa: E501 +from swagger_client.rest import ApiException + + +class TestWebTokenResult(unittest.TestCase): + """WebTokenResult unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testWebTokenResult(self): + """Test WebTokenResult""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.web_token_result.WebTokenResult() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_wep_auth_type.py b/libs/cloudapi/cloudsdk/test/test_wep_auth_type.py new file mode 100644 index 000000000..e8440ddc5 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_wep_auth_type.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.wep_auth_type import WepAuthType # noqa: E501 +from swagger_client.rest import ApiException + + +class TestWepAuthType(unittest.TestCase): + """WepAuthType unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testWepAuthType(self): + """Test WepAuthType""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.wep_auth_type.WepAuthType() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_wep_configuration.py b/libs/cloudapi/cloudsdk/test/test_wep_configuration.py new file mode 100644 index 000000000..4df508654 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_wep_configuration.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.wep_configuration import WepConfiguration # noqa: E501 +from swagger_client.rest import ApiException + + +class TestWepConfiguration(unittest.TestCase): + """WepConfiguration unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testWepConfiguration(self): + """Test WepConfiguration""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.wep_configuration.WepConfiguration() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_wep_key.py b/libs/cloudapi/cloudsdk/test/test_wep_key.py new file mode 100644 index 000000000..011d6e2d0 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_wep_key.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.wep_key import WepKey # noqa: E501 +from swagger_client.rest import ApiException + + +class TestWepKey(unittest.TestCase): + """WepKey unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testWepKey(self): + """Test WepKey""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.wep_key.WepKey() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_wep_type.py b/libs/cloudapi/cloudsdk/test/test_wep_type.py new file mode 100644 index 000000000..35594e86a --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_wep_type.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.wep_type import WepType # noqa: E501 +from swagger_client.rest import ApiException + + +class TestWepType(unittest.TestCase): + """WepType unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testWepType(self): + """Test WepType""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.wep_type.WepType() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_wlan_reason_code.py b/libs/cloudapi/cloudsdk/test/test_wlan_reason_code.py new file mode 100644 index 000000000..166d314f4 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_wlan_reason_code.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.wlan_reason_code import WlanReasonCode # noqa: E501 +from swagger_client.rest import ApiException + + +class TestWlanReasonCode(unittest.TestCase): + """WlanReasonCode unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testWlanReasonCode(self): + """Test WlanReasonCode""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.wlan_reason_code.WlanReasonCode() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_wlan_service_metrics_api.py b/libs/cloudapi/cloudsdk/test/test_wlan_service_metrics_api.py new file mode 100644 index 000000000..e5fc370a3 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_wlan_service_metrics_api.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.api.wlan_service_metrics_api import WLANServiceMetricsApi # noqa: E501 +from swagger_client.rest import ApiException + + +class TestWLANServiceMetricsApi(unittest.TestCase): + """WLANServiceMetricsApi unit test stubs""" + + def setUp(self): + self.api = WLANServiceMetricsApi() # noqa: E501 + + def tearDown(self): + pass + + def test_get_service_metricsfor_customer(self): + """Test case for get_service_metricsfor_customer + + Get list of WLAN Service Metrics for customerId, optional set of location ids, optional set of equipment ids, optional set of client MAC addresses, optional set of metric data types. Only metrics that are created between specified fromTime and toTime are retrieved. # noqa: E501 + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_wlan_status_code.py b/libs/cloudapi/cloudsdk/test/test_wlan_status_code.py new file mode 100644 index 000000000..98fd5622f --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_wlan_status_code.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.wlan_status_code import WlanStatusCode # noqa: E501 +from swagger_client.rest import ApiException + + +class TestWlanStatusCode(unittest.TestCase): + """WlanStatusCode unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testWlanStatusCode(self): + """Test WlanStatusCode""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.wlan_status_code.WlanStatusCode() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_wmm_queue_stats.py b/libs/cloudapi/cloudsdk/test/test_wmm_queue_stats.py new file mode 100644 index 000000000..c13e930a0 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_wmm_queue_stats.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.wmm_queue_stats import WmmQueueStats # noqa: E501 +from swagger_client.rest import ApiException + + +class TestWmmQueueStats(unittest.TestCase): + """WmmQueueStats unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testWmmQueueStats(self): + """Test WmmQueueStats""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.wmm_queue_stats.WmmQueueStats() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_wmm_queue_stats_per_queue_type_map.py b/libs/cloudapi/cloudsdk/test/test_wmm_queue_stats_per_queue_type_map.py new file mode 100644 index 000000000..06604c462 --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_wmm_queue_stats_per_queue_type_map.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.wmm_queue_stats_per_queue_type_map import WmmQueueStatsPerQueueTypeMap # noqa: E501 +from swagger_client.rest import ApiException + + +class TestWmmQueueStatsPerQueueTypeMap(unittest.TestCase): + """WmmQueueStatsPerQueueTypeMap unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testWmmQueueStatsPerQueueTypeMap(self): + """Test WmmQueueStatsPerQueueTypeMap""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.wmm_queue_stats_per_queue_type_map.WmmQueueStatsPerQueueTypeMap() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_wmm_queue_type.py b/libs/cloudapi/cloudsdk/test/test_wmm_queue_type.py new file mode 100644 index 000000000..2a3c6887c --- /dev/null +++ b/libs/cloudapi/cloudsdk/test/test_wmm_queue_type.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + CloudSDK Portal API + + APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 + + OpenAPI spec version: 1.0.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest + +import swagger_client +from swagger_client.models.wmm_queue_type import WmmQueueType # noqa: E501 +from swagger_client.rest import ApiException + + +class TestWmmQueueType(unittest.TestCase): + """WmmQueueType unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testWmmQueueType(self): + """Test WmmQueueType""" + # FIXME: construct object with mandatory attributes with example values + # model = swagger_client.models.wmm_queue_type.WmmQueueType() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/libs/cloudapi/cloudsdk/tox.ini b/libs/cloudapi/cloudsdk/tox.ini new file mode 100644 index 000000000..a310bec97 --- /dev/null +++ b/libs/cloudapi/cloudsdk/tox.ini @@ -0,0 +1,10 @@ +[tox] +envlist = py3 + +[testenv] +deps=-r{toxinidir}/requirements.txt + -r{toxinidir}/test-requirements.txt + +commands= + nosetests \ + [] diff --git a/tests/pytest_utility/conftest.py b/tests/pytest_utility/conftest.py new file mode 100644 index 000000000..e69de29bb diff --git a/tests/pytest_utility/pytest.ini b/tests/pytest_utility/pytest.ini new file mode 100644 index 000000000..e69de29bb From f216647152696c9edb0a6ea217c0b0af98a045d6 Mon Sep 17 00:00:00 2001 From: shivam Date: Mon, 1 Mar 2021 18:58:59 +0530 Subject: [PATCH 11/45] removed the confusing stuff Signed-off-by: shivam --- libs/cloudapi/cloud_utility/cloudapi.py | 84 ------------------------- 1 file changed, 84 deletions(-) delete mode 100644 libs/cloudapi/cloud_utility/cloudapi.py diff --git a/libs/cloudapi/cloud_utility/cloudapi.py b/libs/cloudapi/cloud_utility/cloudapi.py deleted file mode 100644 index c0949ffa9..000000000 --- a/libs/cloudapi/cloud_utility/cloudapi.py +++ /dev/null @@ -1,84 +0,0 @@ -#!/usr/bin/python3 -import requests - - -class CloudAPI: - - def __init__(self, - cloud_credentials, - testbed_urls, - target_testbed, - equipment_ids=None, - target_model="ecw5410"): - self.user = cloud_credentials["user"] - self.password = cloud_credentials["password"] - self.cloudSDK_url = testbed_urls[target_testbed]["url"] - self.cloud_type = "v1" - self.bearer = self.get_bearer_token(cloud_type=self.cloud_type) - pass - - def get_bearer_token(self, cloud_type="v1"): - cloud_login_url = self.cloudSDK_url + "/management/" + cloud_type + "/oauth2/token" - payload = ''' - { - "userId": "''' + self.user + '''", - "password": "''' + self.password + '''" - } - ''' - headers = { - 'Content-Type': 'application/json' - } - try: - token_response = requests.request("POST", cloud_login_url, headers=headers, data=payload) - self.check_response("POST", token_response, headers, payload, cloud_login_url) - except requests.exceptions.RequestException as e: - raise SystemExit("Exiting Script! Cloud not get bearer token for reason:", e) - token_data = token_response.json() - bearer_token = token_data['access_token'] - return bearer_token - - def refresh_bearer_token(self): - self.bearer = self.get_bearer_token(cloud_type=self.cloud_type) - - def check_response(self, cmd, response, headers, data_str, url): - if response.status_code >= 500: - if response.status_code >= 500: - print("check-response: ERROR, url: ", url) - else: - print("check-response: url: ", url) - print("Command: ", cmd) - print("response-status: ", response.status_code) - print("response-headers: ", response.headers) - print("response-content: ", response.content) - print("headers: ", headers) - print("data-str: ", data_str) - - if response.status_code >= 500: - if self.assert_bad_response: - raise NameError("Invalid response code.") - return False - return True - - def get_equipment(self, equipment_id): - - request_data = { - "equipmentType": "AP", - "customerId": 2, - "profileId": 1, - "locationId": 2, - "inventoryId": "example_ap", - "serial": "example_serial", - "name": "example AP" - } - equipment_data = { - "equipmentType": "AP", - "customerId": 2, - "profileId": 1, - "locationId": 2, - "inventoryId": "example_ap", - "serial": "example_serial", - "name": "example AP" - } - url = self.cloudSDK_url + "/portal/equipment/forCustomer" + "?customerId=" + customer_id - return self.get_paged_url(self.bearer, url) - pass From 536dce73d1f8a35d9529a84d7a68d6505063a230 Mon Sep 17 00:00:00 2001 From: shivam Date: Mon, 1 Mar 2021 19:00:04 +0530 Subject: [PATCH 12/45] removed the confusing stuff-01 Signed-off-by: shivam --- .../cloud_utility/equipment_utility.py | 22 ------------------- 1 file changed, 22 deletions(-) delete mode 100644 libs/cloudapi/cloud_utility/equipment_utility.py diff --git a/libs/cloudapi/cloud_utility/equipment_utility.py b/libs/cloudapi/cloud_utility/equipment_utility.py deleted file mode 100644 index fe3f10871..000000000 --- a/libs/cloudapi/cloud_utility/equipment_utility.py +++ /dev/null @@ -1,22 +0,0 @@ -""" -cloud_connectivity.py : - -ConnectCloud : has methods to invoke the connections to the cloud constructor - default constructor of ConnectCloud class (args: testbed-name) -get_bearer() : It is called by default from the constructor itself. bearer gets expired in 3000 seconds -refresh_bearer() : It is used to refresh the Connectivity. It can be used for Long test runs - -""" - -import sys - -if "cloudsdk" not in sys.path: - sys.path.append("../cloudsdk") - -from swagger_client.api.login_api import LoginApi - -class EquipmentUtility: - - def __init__(self, sdk_base_url=None, bearer=None): - self.sdk_base_url = sdk_base_url - self.bearer = bearer From 42c886ff74430e5a4241e322364608ab102f8b88 Mon Sep 17 00:00:00 2001 From: shivam Date: Tue, 2 Mar 2021 13:51:53 +0530 Subject: [PATCH 13/45] library 2.0 swagger code generated libraries Signed-off-by: shivam --- .../cloud_utility/cloud_connectivity.py | 72 - libs/cloudapi/cloudsdk/.gitignore | 64 - libs/cloudapi/cloudsdk/.idea/ cloudsdk.iml | 8 - .../inspectionProfiles/Project_Default.xml | 12 - .../inspectionProfiles/profiles_settings.xml | 6 - libs/cloudapi/cloudsdk/.idea/modules.xml | 8 - libs/cloudapi/cloudsdk/.idea/workspace.xml | 28 - .../cloudapi/cloudsdk/.swagger-codegen-ignore | 23 - .../cloudsdk/.swagger-codegen/VERSION | 1 - libs/cloudapi/cloudsdk/.travis.yml | 13 - libs/cloudapi/cloudsdk/README.md | 647 -- libs/cloudapi/cloudsdk/docs/AclTemplate.md | 13 - libs/cloudapi/cloudsdk/docs/ActiveBSSID.md | 13 - libs/cloudapi/cloudsdk/docs/ActiveBSSIDs.md | 11 - .../cloudsdk/docs/ActiveScanSettings.md | 11 - .../cloudsdk/docs/AdvancedRadioMap.md | 12 - libs/cloudapi/cloudsdk/docs/Alarm.md | 19 - .../cloudapi/cloudsdk/docs/AlarmAddedEvent.md | 13 - .../cloudsdk/docs/AlarmChangedEvent.md | 13 - libs/cloudapi/cloudsdk/docs/AlarmCode.md | 8 - libs/cloudapi/cloudsdk/docs/AlarmCounts.md | 11 - libs/cloudapi/cloudsdk/docs/AlarmDetails.md | 12 - .../docs/AlarmDetailsAttributesMap.md | 8 - .../cloudsdk/docs/AlarmRemovedEvent.md | 13 - libs/cloudapi/cloudsdk/docs/AlarmScopeType.md | 8 - libs/cloudapi/cloudsdk/docs/AlarmsApi.md | 317 - libs/cloudapi/cloudsdk/docs/AntennaType.md | 8 - .../cloudsdk/docs/ApElementConfiguration.md | 32 - libs/cloudapi/cloudsdk/docs/ApMeshMode.md | 8 - .../cloudsdk/docs/ApNetworkConfiguration.md | 21 - .../docs/ApNetworkConfigurationNtpServer.md | 10 - libs/cloudapi/cloudsdk/docs/ApNodeMetrics.md | 26 - libs/cloudapi/cloudsdk/docs/ApPerformance.md | 19 - libs/cloudapi/cloudsdk/docs/ApSsidMetrics.md | 10 - .../cloudsdk/docs/AutoOrManualString.md | 10 - .../cloudsdk/docs/AutoOrManualValue.md | 10 - .../cloudsdk/docs/BackgroundPosition.md | 8 - .../cloudsdk/docs/BackgroundRepeat.md | 8 - libs/cloudapi/cloudsdk/docs/BannedChannel.md | 10 - libs/cloudapi/cloudsdk/docs/BaseDhcpEvent.md | 19 - .../cloudapi/cloudsdk/docs/BestAPSteerType.md | 8 - .../cloudsdk/docs/BlocklistDetails.md | 11 - .../cloudsdk/docs/BonjourGatewayProfile.md | 11 - .../cloudsdk/docs/BonjourServiceSet.md | 11 - .../cloudapi/cloudsdk/docs/CapacityDetails.md | 9 - .../cloudsdk/docs/CapacityPerRadioDetails.md | 13 - .../docs/CapacityPerRadioDetailsMap.md | 12 - .../docs/CaptivePortalAuthenticationType.md | 8 - .../docs/CaptivePortalConfiguration.md | 30 - .../cloudsdk/docs/ChannelBandwidth.md | 8 - .../cloudsdk/docs/ChannelHopReason.md | 8 - .../cloudsdk/docs/ChannelHopSettings.md | 13 - libs/cloudapi/cloudsdk/docs/ChannelInfo.md | 13 - .../cloudsdk/docs/ChannelInfoReports.md | 10 - .../cloudsdk/docs/ChannelPowerLevel.md | 12 - .../docs/ChannelUtilizationDetails.md | 10 - .../docs/ChannelUtilizationPerRadioDetails.md | 12 - .../ChannelUtilizationPerRadioDetailsMap.md | 12 - .../docs/ChannelUtilizationSurveyType.md | 8 - libs/cloudapi/cloudsdk/docs/Client.md | 13 - .../docs/ClientActivityAggregatedStats.md | 12 - ...tActivityAggregatedStatsPerRadioTypeMap.md | 12 - .../cloudsdk/docs/ClientAddedEvent.md | 12 - .../cloudsdk/docs/ClientAssocEvent.md | 21 - .../cloudapi/cloudsdk/docs/ClientAuthEvent.md | 16 - .../cloudsdk/docs/ClientChangedEvent.md | 12 - .../docs/ClientConnectSuccessEvent.md | 30 - .../cloudsdk/docs/ClientConnectionDetails.md | 11 - .../cloudsdk/docs/ClientDhcpDetails.md | 20 - .../cloudsdk/docs/ClientDisconnectEvent.md | 22 - .../cloudsdk/docs/ClientEapDetails.md | 15 - .../cloudsdk/docs/ClientFailureDetails.md | 11 - .../cloudsdk/docs/ClientFailureEvent.md | 15 - .../cloudsdk/docs/ClientFirstDataEvent.md | 14 - libs/cloudapi/cloudsdk/docs/ClientIdEvent.md | 14 - .../cloudsdk/docs/ClientInfoDetails.md | 17 - .../cloudsdk/docs/ClientIpAddressEvent.md | 13 - libs/cloudapi/cloudsdk/docs/ClientMetrics.md | 367 - .../cloudsdk/docs/ClientRemovedEvent.md | 12 - libs/cloudapi/cloudsdk/docs/ClientSession.md | 13 - .../docs/ClientSessionChangedEvent.md | 13 - .../cloudsdk/docs/ClientSessionDetails.md | 53 - .../docs/ClientSessionMetricDetails.md | 25 - .../docs/ClientSessionRemovedEvent.md | 13 - .../cloudsdk/docs/ClientTimeoutEvent.md | 15 - .../cloudsdk/docs/ClientTimeoutReason.md | 8 - libs/cloudapi/cloudsdk/docs/ClientsApi.md | 367 - .../cloudsdk/docs/CommonProbeDetails.md | 12 - libs/cloudapi/cloudsdk/docs/CountryCode.md | 8 - .../cloudsdk/docs/CountsPerAlarmCodeMap.md | 8 - .../CountsPerEquipmentIdPerAlarmCodeMap.md | 8 - libs/cloudapi/cloudsdk/docs/Customer.md | 14 - .../cloudsdk/docs/CustomerAddedEvent.md | 12 - libs/cloudapi/cloudsdk/docs/CustomerApi.md | 103 - .../cloudsdk/docs/CustomerChangedEvent.md | 12 - .../cloudapi/cloudsdk/docs/CustomerDetails.md | 9 - .../docs/CustomerFirmwareTrackRecord.md | 13 - .../docs/CustomerFirmwareTrackSettings.md | 12 - .../docs/CustomerPortalDashboardStatus.md | 21 - .../cloudsdk/docs/CustomerRemovedEvent.md | 12 - .../cloudsdk/docs/DailyTimeRangeSchedule.md | 12 - libs/cloudapi/cloudsdk/docs/DayOfWeek.md | 8 - .../docs/DaysOfWeekTimeRangeSchedule.md | 13 - libs/cloudapi/cloudsdk/docs/DeploymentType.md | 8 - .../cloudsdk/docs/DetectedAuthMode.md | 8 - libs/cloudapi/cloudsdk/docs/DeviceMode.md | 8 - libs/cloudapi/cloudsdk/docs/DhcpAckEvent.md | 18 - .../cloudsdk/docs/DhcpDeclineEvent.md | 10 - .../cloudsdk/docs/DhcpDiscoverEvent.md | 11 - .../cloudapi/cloudsdk/docs/DhcpInformEvent.md | 10 - libs/cloudapi/cloudsdk/docs/DhcpNakEvent.md | 11 - libs/cloudapi/cloudsdk/docs/DhcpOfferEvent.md | 11 - .../cloudsdk/docs/DhcpRequestEvent.md | 11 - .../cloudsdk/docs/DisconnectFrameType.md | 8 - .../cloudsdk/docs/DisconnectInitiator.md | 8 - libs/cloudapi/cloudsdk/docs/DnsProbeMetric.md | 11 - .../cloudapi/cloudsdk/docs/DynamicVlanMode.md | 8 - .../docs/ElementRadioConfiguration.md | 21 - .../ElementRadioConfigurationEirpTxPower.md | 10 - libs/cloudapi/cloudsdk/docs/EmptySchedule.md | 10 - libs/cloudapi/cloudsdk/docs/Equipment.md | 22 - .../cloudsdk/docs/EquipmentAddedEvent.md | 13 - .../cloudsdk/docs/EquipmentAdminStatusData.md | 12 - libs/cloudapi/cloudsdk/docs/EquipmentApi.md | 453 - .../docs/EquipmentAutoProvisioningSettings.md | 11 - .../cloudsdk/docs/EquipmentCapacityDetails.md | 13 - .../docs/EquipmentCapacityDetailsMap.md | 12 - .../cloudsdk/docs/EquipmentChangedEvent.md | 13 - .../cloudsdk/docs/EquipmentDetails.md | 9 - .../cloudsdk/docs/EquipmentGatewayApi.md | 251 - .../cloudsdk/docs/EquipmentGatewayRecord.md | 15 - .../cloudsdk/docs/EquipmentLANStatusData.md | 11 - .../docs/EquipmentNeighbouringStatusData.md | 10 - .../cloudsdk/docs/EquipmentPeerStatusData.md | 10 - .../EquipmentPerRadioUtilizationDetails.md | 9 - .../EquipmentPerRadioUtilizationDetailsMap.md | 12 - .../docs/EquipmentPerformanceDetails.md | 12 - .../cloudsdk/docs/EquipmentProtocolState.md | 8 - .../docs/EquipmentProtocolStatusData.md | 35 - .../cloudsdk/docs/EquipmentRemovedEvent.md | 13 - .../cloudsdk/docs/EquipmentRoutingRecord.md | 14 - .../docs/EquipmentRrmBulkUpdateItem.md | 10 - .../EquipmentRrmBulkUpdateItemPerRadioMap.md | 12 - .../docs/EquipmentRrmBulkUpdateRequest.md | 9 - .../cloudsdk/docs/EquipmentScanDetails.md | 10 - libs/cloudapi/cloudsdk/docs/EquipmentType.md | 8 - .../docs/EquipmentUpgradeFailureReason.md | 8 - .../cloudsdk/docs/EquipmentUpgradeState.md | 8 - .../docs/EquipmentUpgradeStatusData.md | 18 - .../cloudsdk/docs/EthernetLinkState.md | 8 - libs/cloudapi/cloudsdk/docs/FileCategory.md | 8 - .../cloudapi/cloudsdk/docs/FileServicesApi.md | 105 - libs/cloudapi/cloudsdk/docs/FileType.md | 8 - .../cloudsdk/docs/FirmwareManagementApi.md | 967 -- .../cloudsdk/docs/FirmwareScheduleSetting.md | 8 - .../docs/FirmwareTrackAssignmentDetails.md | 14 - .../docs/FirmwareTrackAssignmentRecord.md | 14 - .../cloudsdk/docs/FirmwareTrackRecord.md | 13 - .../cloudsdk/docs/FirmwareValidationMethod.md | 8 - .../cloudapi/cloudsdk/docs/FirmwareVersion.md | 20 - .../cloudsdk/docs/GatewayAddedEvent.md | 11 - .../cloudsdk/docs/GatewayChangedEvent.md | 11 - .../cloudsdk/docs/GatewayRemovedEvent.md | 11 - libs/cloudapi/cloudsdk/docs/GatewayType.md | 8 - .../cloudapi/cloudsdk/docs/GenericResponse.md | 10 - .../cloudsdk/docs/GreTunnelConfiguration.md | 11 - libs/cloudapi/cloudsdk/docs/GuardInterval.md | 8 - .../cloudsdk/docs/IntegerPerRadioTypeMap.md | 12 - .../cloudsdk/docs/IntegerPerStatusCodeMap.md | 12 - .../cloudsdk/docs/IntegerStatusCodeMap.md | 12 - .../cloudapi/cloudsdk/docs/IntegerValueMap.md | 8 - .../cloudsdk/docs/JsonSerializedException.md | 12 - .../docs/LinkQualityAggregatedStats.md | 12 - ...nkQualityAggregatedStatsPerRadioTypeMap.md | 12 - .../ListOfChannelInfoReportsPerRadioMap.md | 12 - .../cloudsdk/docs/ListOfMacsPerRadioMap.md | 12 - .../docs/ListOfMcsStatsPerRadioMap.md | 12 - .../docs/ListOfRadioUtilizationPerRadioMap.md | 12 - .../docs/ListOfSsidStatisticsPerRadioMap.md | 12 - libs/cloudapi/cloudsdk/docs/LocalTimeValue.md | 10 - libs/cloudapi/cloudsdk/docs/Location.md | 16 - .../cloudsdk/docs/LocationActivityDetails.md | 12 - .../docs/LocationActivityDetailsMap.md | 15 - .../cloudsdk/docs/LocationAddedEvent.md | 12 - libs/cloudapi/cloudsdk/docs/LocationApi.md | 299 - .../cloudsdk/docs/LocationChangedEvent.md | 12 - .../cloudapi/cloudsdk/docs/LocationDetails.md | 13 - .../cloudsdk/docs/LocationRemovedEvent.md | 12 - libs/cloudapi/cloudsdk/docs/LoginApi.md | 99 - .../cloudsdk/docs/LongPerRadioTypeMap.md | 12 - libs/cloudapi/cloudsdk/docs/LongValueMap.md | 8 - libs/cloudapi/cloudsdk/docs/MacAddress.md | 10 - .../cloudsdk/docs/MacAllowlistRecord.md | 11 - .../cloudapi/cloudsdk/docs/ManagedFileInfo.md | 14 - libs/cloudapi/cloudsdk/docs/ManagementRate.md | 8 - .../docs/ManufacturerDetailsRecord.md | 13 - .../cloudsdk/docs/ManufacturerOUIApi.md | 683 -- .../cloudsdk/docs/ManufacturerOuiDetails.md | 11 - .../docs/ManufacturerOuiDetailsPerOuiMap.md | 8 - .../docs/MapOfWmmQueueStatsPerRadioMap.md | 12 - libs/cloudapi/cloudsdk/docs/McsStats.md | 12 - libs/cloudapi/cloudsdk/docs/McsType.md | 8 - libs/cloudapi/cloudsdk/docs/MeshGroup.md | 11 - .../cloudapi/cloudsdk/docs/MeshGroupMember.md | 12 - .../cloudsdk/docs/MeshGroupProperty.md | 11 - .../cloudsdk/docs/MetricConfigParameterMap.md | 15 - libs/cloudapi/cloudsdk/docs/MimoMode.md | 8 - .../cloudsdk/docs/MinMaxAvgValueInt.md | 11 - .../docs/MinMaxAvgValueIntPerRadioMap.md | 12 - libs/cloudapi/cloudsdk/docs/MulticastRate.md | 8 - .../cloudsdk/docs/NeighborScanPacketType.md | 8 - .../cloudapi/cloudsdk/docs/NeighbourReport.md | 24 - .../cloudsdk/docs/NeighbourScanReports.md | 10 - .../docs/NeighbouringAPListConfiguration.md | 10 - .../cloudsdk/docs/NetworkAdminStatusData.md | 16 - .../docs/NetworkAggregateStatusData.md | 32 - .../cloudsdk/docs/NetworkForwardMode.md | 8 - .../cloudsdk/docs/NetworkProbeMetrics.md | 16 - libs/cloudapi/cloudsdk/docs/NetworkType.md | 8 - .../cloudsdk/docs/NoiseFloorDetails.md | 10 - .../docs/NoiseFloorPerRadioDetails.md | 12 - .../docs/NoiseFloorPerRadioDetailsMap.md | 12 - libs/cloudapi/cloudsdk/docs/ObssHopMode.md | 8 - .../cloudsdk/docs/OneOfEquipmentDetails.md | 8 - .../docs/OneOfFirmwareScheduleSetting.md | 8 - .../docs/OneOfProfileDetailsChildren.md | 8 - .../cloudsdk/docs/OneOfScheduleSetting.md | 8 - .../docs/OneOfServiceMetricDetails.md | 8 - .../cloudsdk/docs/OneOfStatusDetails.md | 8 - .../cloudsdk/docs/OneOfSystemEvent.md | 8 - .../docs/OperatingSystemPerformance.md | 17 - libs/cloudapi/cloudsdk/docs/OriginatorType.md | 8 - .../cloudsdk/docs/PaginationContextAlarm.md | 14 - .../cloudsdk/docs/PaginationContextClient.md | 14 - .../docs/PaginationContextClientSession.md | 14 - .../docs/PaginationContextEquipment.md | 14 - .../docs/PaginationContextLocation.md | 14 - .../docs/PaginationContextPortalUser.md | 14 - .../cloudsdk/docs/PaginationContextProfile.md | 14 - .../docs/PaginationContextServiceMetric.md | 14 - .../cloudsdk/docs/PaginationContextStatus.md | 14 - .../docs/PaginationContextSystemEvent.md | 14 - .../cloudsdk/docs/PaginationResponseAlarm.md | 10 - .../cloudsdk/docs/PaginationResponseClient.md | 10 - .../docs/PaginationResponseClientSession.md | 10 - .../docs/PaginationResponseEquipment.md | 10 - .../docs/PaginationResponseLocation.md | 10 - .../docs/PaginationResponsePortalUser.md | 10 - .../docs/PaginationResponseProfile.md | 10 - .../docs/PaginationResponseServiceMetric.md | 10 - .../cloudsdk/docs/PaginationResponseStatus.md | 10 - .../docs/PaginationResponseSystemEvent.md | 10 - libs/cloudapi/cloudsdk/docs/PairLongLong.md | 10 - .../docs/PasspointAccessNetworkType.md | 8 - ...sspointConnectionCapabilitiesIpProtocol.md | 8 - .../PasspointConnectionCapabilitiesStatus.md | 8 - .../docs/PasspointConnectionCapability.md | 11 - libs/cloudapi/cloudsdk/docs/PasspointDuple.md | 12 - .../cloudsdk/docs/PasspointEapMethods.md | 8 - .../docs/PasspointGasAddress3Behaviour.md | 8 - .../cloudsdk/docs/PasspointIPv4AddressType.md | 8 - .../cloudsdk/docs/PasspointIPv6AddressType.md | 8 - .../cloudapi/cloudsdk/docs/PasspointMccMnc.md | 14 - .../PasspointNaiRealmEapAuthInnerNonEap.md | 8 - .../docs/PasspointNaiRealmEapAuthParam.md | 8 - .../docs/PasspointNaiRealmEapCredType.md | 8 - .../docs/PasspointNaiRealmEncoding.md | 8 - .../docs/PasspointNaiRealmInformation.md | 12 - .../PasspointNetworkAuthenticationType.md | 8 - .../cloudsdk/docs/PasspointOperatorProfile.md | 14 - .../cloudsdk/docs/PasspointOsuIcon.md | 16 - .../docs/PasspointOsuProviderProfile.md | 22 - .../cloudsdk/docs/PasspointProfile.md | 37 - .../cloudsdk/docs/PasspointVenueName.md | 9 - .../cloudsdk/docs/PasspointVenueProfile.md | 11 - .../docs/PasspointVenueTypeAssignment.md | 11 - libs/cloudapi/cloudsdk/docs/PeerInfo.md | 13 - .../cloudsdk/docs/PerProcessUtilization.md | 11 - libs/cloudapi/cloudsdk/docs/PingResponse.md | 15 - libs/cloudapi/cloudsdk/docs/PortalUser.md | 15 - .../cloudsdk/docs/PortalUserAddedEvent.md | 12 - .../cloudsdk/docs/PortalUserChangedEvent.md | 12 - .../cloudsdk/docs/PortalUserRemovedEvent.md | 12 - libs/cloudapi/cloudsdk/docs/PortalUserRole.md | 8 - libs/cloudapi/cloudsdk/docs/PortalUsersApi.md | 397 - libs/cloudapi/cloudsdk/docs/Profile.md | 16 - .../cloudsdk/docs/ProfileAddedEvent.md | 12 - libs/cloudapi/cloudsdk/docs/ProfileApi.md | 399 - .../cloudsdk/docs/ProfileChangedEvent.md | 12 - libs/cloudapi/cloudsdk/docs/ProfileDetails.md | 9 - .../cloudsdk/docs/ProfileDetailsChildren.md | 8 - .../cloudsdk/docs/ProfileRemovedEvent.md | 12 - libs/cloudapi/cloudsdk/docs/ProfileType.md | 8 - .../docs/RadioBasedSsidConfiguration.md | 11 - .../docs/RadioBasedSsidConfigurationMap.md | 12 - .../cloudsdk/docs/RadioBestApSettings.md | 11 - .../docs/RadioChannelChangeSettings.md | 10 - .../cloudsdk/docs/RadioConfiguration.md | 19 - libs/cloudapi/cloudsdk/docs/RadioMap.md | 12 - libs/cloudapi/cloudsdk/docs/RadioMode.md | 8 - .../docs/RadioProfileConfiguration.md | 10 - .../docs/RadioProfileConfigurationMap.md | 12 - .../cloudapi/cloudsdk/docs/RadioStatistics.md | 379 - .../docs/RadioStatisticsPerRadioMap.md | 12 - libs/cloudapi/cloudsdk/docs/RadioType.md | 8 - .../cloudsdk/docs/RadioUtilization.md | 16 - .../cloudsdk/docs/RadioUtilizationDetails.md | 9 - .../docs/RadioUtilizationPerRadioDetails.md | 13 - .../RadioUtilizationPerRadioDetailsMap.md | 12 - .../cloudsdk/docs/RadioUtilizationReport.md | 13 - .../docs/RadiusAuthenticationMethod.md | 8 - libs/cloudapi/cloudsdk/docs/RadiusDetails.md | 10 - libs/cloudapi/cloudsdk/docs/RadiusMetrics.md | 11 - .../cloudsdk/docs/RadiusNasConfiguration.md | 13 - libs/cloudapi/cloudsdk/docs/RadiusProfile.md | 13 - libs/cloudapi/cloudsdk/docs/RadiusServer.md | 12 - .../cloudsdk/docs/RadiusServerDetails.md | 10 - libs/cloudapi/cloudsdk/docs/RealTimeEvent.md | 13 - .../docs/RealTimeSipCallEventWithStats.md | 18 - .../docs/RealTimeSipCallReportEvent.md | 11 - .../docs/RealTimeSipCallStartEvent.md | 18 - .../cloudsdk/docs/RealTimeSipCallStopEvent.md | 12 - .../docs/RealTimeStreamingStartEvent.md | 16 - .../RealTimeStreamingStartSessionEvent.md | 15 - .../docs/RealTimeStreamingStopEvent.md | 17 - .../cloudsdk/docs/RealtimeChannelHopEvent.md | 14 - libs/cloudapi/cloudsdk/docs/RfConfigMap.md | 12 - .../cloudapi/cloudsdk/docs/RfConfiguration.md | 9 - .../cloudsdk/docs/RfElementConfiguration.md | 32 - .../cloudsdk/docs/RoutingAddedEvent.md | 13 - .../cloudsdk/docs/RoutingChangedEvent.md | 13 - .../cloudsdk/docs/RoutingRemovedEvent.md | 13 - .../cloudsdk/docs/RrmBulkUpdateApDetails.md | 15 - libs/cloudapi/cloudsdk/docs/RtlsSettings.md | 11 - .../cloudsdk/docs/RtpFlowDirection.md | 8 - libs/cloudapi/cloudsdk/docs/RtpFlowStats.md | 16 - libs/cloudapi/cloudsdk/docs/RtpFlowType.md | 8 - .../cloudsdk/docs/SIPCallReportReason.md | 8 - .../cloudapi/cloudsdk/docs/ScheduleSetting.md | 8 - libs/cloudapi/cloudsdk/docs/SecurityType.md | 8 - .../cloudsdk/docs/ServiceAdoptionMetrics.md | 18 - .../docs/ServiceAdoptionMetricsApi.md | 301 - libs/cloudapi/cloudsdk/docs/ServiceMetric.md | 16 - .../docs/ServiceMetricConfigParameters.md | 11 - .../cloudsdk/docs/ServiceMetricDataType.md | 8 - .../cloudsdk/docs/ServiceMetricDetails.md | 8 - .../ServiceMetricRadioConfigParameters.md | 17 - .../ServiceMetricSurveyConfigParameters.md | 12 - .../ServiceMetricsCollectionConfigProfile.md | 12 - .../cloudsdk/docs/SessionExpiryType.md | 8 - .../cloudsdk/docs/SipCallStopReason.md | 8 - .../cloudsdk/docs/SortColumnsAlarm.md | 11 - .../cloudsdk/docs/SortColumnsClient.md | 11 - .../cloudsdk/docs/SortColumnsClientSession.md | 11 - .../cloudsdk/docs/SortColumnsEquipment.md | 11 - .../cloudsdk/docs/SortColumnsLocation.md | 11 - .../cloudsdk/docs/SortColumnsPortalUser.md | 11 - .../cloudsdk/docs/SortColumnsProfile.md | 11 - .../cloudsdk/docs/SortColumnsServiceMetric.md | 11 - .../cloudsdk/docs/SortColumnsStatus.md | 11 - .../cloudsdk/docs/SortColumnsSystemEvent.md | 11 - libs/cloudapi/cloudsdk/docs/SortOrder.md | 8 - .../docs/SourceSelectionManagement.md | 10 - .../cloudsdk/docs/SourceSelectionMulticast.md | 10 - .../cloudsdk/docs/SourceSelectionSteering.md | 10 - .../cloudsdk/docs/SourceSelectionValue.md | 10 - libs/cloudapi/cloudsdk/docs/SourceType.md | 8 - .../cloudsdk/docs/SsidConfiguration.md | 33 - libs/cloudapi/cloudsdk/docs/SsidSecureMode.md | 8 - libs/cloudapi/cloudsdk/docs/SsidStatistics.md | 57 - libs/cloudapi/cloudsdk/docs/StateSetting.md | 8 - .../cloudsdk/docs/StateUpDownError.md | 8 - .../cloudsdk/docs/StatsReportFormat.md | 8 - libs/cloudapi/cloudsdk/docs/Status.md | 15 - libs/cloudapi/cloudsdk/docs/StatusApi.md | 217 - .../cloudsdk/docs/StatusChangedEvent.md | 13 - libs/cloudapi/cloudsdk/docs/StatusCode.md | 8 - libs/cloudapi/cloudsdk/docs/StatusDataType.md | 8 - libs/cloudapi/cloudsdk/docs/StatusDetails.md | 8 - .../cloudsdk/docs/StatusRemovedEvent.md | 13 - libs/cloudapi/cloudsdk/docs/SteerType.md | 8 - .../docs/StreamingVideoServerRecord.md | 15 - .../cloudsdk/docs/StreamingVideoType.md | 8 - libs/cloudapi/cloudsdk/docs/SyslogRelay.md | 12 - .../cloudsdk/docs/SyslogSeverityType.md | 8 - libs/cloudapi/cloudsdk/docs/SystemEvent.md | 8 - .../cloudsdk/docs/SystemEventDataType.md | 8 - .../cloudsdk/docs/SystemEventRecord.md | 16 - .../cloudapi/cloudsdk/docs/SystemEventsApi.md | 71 - .../cloudsdk/docs/TimedAccessUserDetails.md | 11 - .../cloudsdk/docs/TimedAccessUserRecord.md | 16 - libs/cloudapi/cloudsdk/docs/TrackFlag.md | 8 - libs/cloudapi/cloudsdk/docs/TrafficDetails.md | 11 - .../cloudsdk/docs/TrafficPerRadioDetails.md | 20 - .../TrafficPerRadioDetailsPerRadioTypeMap.md | 12 - .../cloudapi/cloudsdk/docs/TunnelIndicator.md | 8 - .../cloudsdk/docs/TunnelMetricData.md | 14 - .../docs/UnserializableSystemEvent.md | 13 - libs/cloudapi/cloudsdk/docs/UserDetails.md | 19 - libs/cloudapi/cloudsdk/docs/VLANStatusData.md | 15 - .../cloudsdk/docs/VLANStatusDataMap.md | 8 - libs/cloudapi/cloudsdk/docs/VlanSubnet.md | 16 - .../cloudsdk/docs/WLANServiceMetricsApi.md | 71 - .../cloudsdk/docs/WebTokenAclTemplate.md | 9 - .../cloudapi/cloudsdk/docs/WebTokenRequest.md | 11 - libs/cloudapi/cloudsdk/docs/WebTokenResult.md | 15 - libs/cloudapi/cloudsdk/docs/WepAuthType.md | 8 - .../cloudsdk/docs/WepConfiguration.md | 11 - libs/cloudapi/cloudsdk/docs/WepKey.md | 11 - libs/cloudapi/cloudsdk/docs/WepType.md | 8 - libs/cloudapi/cloudsdk/docs/WlanReasonCode.md | 8 - libs/cloudapi/cloudsdk/docs/WlanStatusCode.md | 8 - libs/cloudapi/cloudsdk/docs/WmmQueueStats.md | 21 - .../docs/WmmQueueStatsPerQueueTypeMap.md | 12 - libs/cloudapi/cloudsdk/docs/WmmQueueType.md | 8 - libs/cloudapi/cloudsdk/git_push.sh | 52 - libs/cloudapi/cloudsdk/requirements.txt | 5 - libs/cloudapi/cloudsdk/setup.py | 39 - .../cloudsdk/swagger_client/__init__.py | 425 - .../cloudsdk/swagger_client/api/__init__.py | 21 - .../cloudsdk/swagger_client/api/alarms_api.py | 666 -- .../swagger_client/api/clients_api.py | 756 -- .../swagger_client/api/customer_api.py | 223 - .../swagger_client/api/equipment_api.py | 914 -- .../api/equipment_gateway_api.py | 518 - .../swagger_client/api/file_services_api.py | 231 - .../api/firmware_management_api.py | 1925 ---- .../swagger_client/api/location_api.py | 613 - .../cloudsdk/swagger_client/api/login_api.py | 215 - .../api/manufacturer_oui_api.py | 1384 --- .../swagger_client/api/portal_users_api.py | 807 -- .../swagger_client/api/profile_api.py | 808 -- .../api/service_adoption_metrics_api.py | 618 -- .../cloudsdk/swagger_client/api/status_api.py | 463 - .../swagger_client/api/system_events_api.py | 175 - .../api/wlan_service_metrics_api.py | 175 - .../cloudsdk/swagger_client/api_client.py | 629 -- .../cloudsdk/swagger_client/configuration.py | 244 - .../swagger_client/models/__init__.py | 404 - .../swagger_client/models/acl_template.py | 214 - .../swagger_client/models/active_bssi_ds.py | 175 - .../swagger_client/models/active_bssid.py | 220 - .../models/active_scan_settings.py | 162 - .../models/advanced_radio_map.py | 188 - .../cloudsdk/swagger_client/models/alarm.py | 372 - .../models/alarm_added_event.py | 215 - .../models/alarm_changed_event.py | 215 - .../swagger_client/models/alarm_code.py | 138 - .../swagger_client/models/alarm_counts.py | 162 - .../swagger_client/models/alarm_details.py | 188 - .../models/alarm_details_attributes_map.py | 89 - .../models/alarm_removed_event.py | 215 - .../swagger_client/models/alarm_scope_type.py | 93 - .../swagger_client/models/antenna_type.py | 90 - .../models/ap_element_configuration.py | 721 -- .../swagger_client/models/ap_mesh_mode.py | 91 - .../models/ap_network_configuration.py | 446 - .../ap_network_configuration_ntp_server.py | 136 - .../swagger_client/models/ap_node_metrics.py | 555 - .../swagger_client/models/ap_performance.py | 386 - .../swagger_client/models/ap_ssid_metrics.py | 137 - .../models/auto_or_manual_string.py | 136 - .../models/auto_or_manual_value.py | 136 - .../models/background_position.py | 97 - .../models/background_repeat.py | 95 - .../swagger_client/models/banned_channel.py | 136 - .../swagger_client/models/base_dhcp_event.py | 377 - .../models/best_ap_steer_type.py | 91 - .../models/blocklist_details.py | 168 - .../models/bonjour_gateway_profile.py | 174 - .../models/bonjour_service_set.py | 162 - .../swagger_client/models/capacity_details.py | 110 - .../models/capacity_per_radio_details.py | 214 - .../models/capacity_per_radio_details_map.py | 188 - .../captive_portal_authentication_type.py | 92 - .../models/captive_portal_configuration.py | 668 -- .../models/channel_bandwidth.py | 93 - .../models/channel_hop_reason.py | 91 - .../models/channel_hop_settings.py | 214 - .../swagger_client/models/channel_info.py | 214 - .../models/channel_info_reports.py | 137 - .../models/channel_power_level.py | 190 - .../models/channel_utilization_details.py | 136 - .../channel_utilization_per_radio_details.py | 188 - ...annel_utilization_per_radio_details_map.py | 188 - .../models/channel_utilization_survey_type.py | 91 - .../cloudsdk/swagger_client/models/client.py | 216 - .../client_activity_aggregated_stats.py | 188 - ...ity_aggregated_stats_per_radio_type_map.py | 188 - .../models/client_added_event.py | 189 - .../models/client_assoc_event.py | 423 - .../models/client_auth_event.py | 293 - .../models/client_changed_event.py | 189 - .../models/client_connect_success_event.py | 659 -- .../models/client_connection_details.py | 175 - .../models/client_dhcp_details.py | 396 - .../models/client_disconnect_event.py | 449 - .../models/client_eap_details.py | 266 - .../models/client_failure_details.py | 162 - .../models/client_failure_event.py | 267 - .../models/client_first_data_event.py | 241 - .../swagger_client/models/client_id_event.py | 241 - .../models/client_info_details.py | 318 - .../models/client_ip_address_event.py | 215 - .../swagger_client/models/client_metrics.py | 9505 ---------------- .../models/client_removed_event.py | 189 - .../swagger_client/models/client_session.py | 216 - .../models/client_session_changed_event.py | 215 - .../models/client_session_details.py | 1260 --- .../models/client_session_metric_details.py | 532 - .../models/client_session_removed_event.py | 215 - .../models/client_timeout_event.py | 267 - .../models/client_timeout_reason.py | 91 - .../models/common_probe_details.py | 188 - .../swagger_client/models/country_code.py | 338 - .../models/counts_per_alarm_code_map.py | 89 - ...nts_per_equipment_id_per_alarm_code_map.py | 89 - .../swagger_client/models/customer.py | 246 - .../models/customer_added_event.py | 189 - .../models/customer_changed_event.py | 189 - .../swagger_client/models/customer_details.py | 110 - .../models/customer_firmware_track_record.py | 216 - .../customer_firmware_track_settings.py | 188 - .../customer_portal_dashboard_status.py | 439 - .../models/customer_removed_event.py | 189 - .../models/daily_time_range_schedule.py | 189 - .../swagger_client/models/day_of_week.py | 95 - .../days_of_week_time_range_schedule.py | 215 - .../swagger_client/models/deployment_type.py | 90 - .../models/detected_auth_mode.py | 92 - .../swagger_client/models/device_mode.py | 92 - .../swagger_client/models/dhcp_ack_event.py | 353 - .../models/dhcp_decline_event.py | 137 - .../models/dhcp_discover_event.py | 163 - .../models/dhcp_inform_event.py | 137 - .../swagger_client/models/dhcp_nak_event.py | 163 - .../swagger_client/models/dhcp_offer_event.py | 163 - .../models/dhcp_request_event.py | 163 - .../models/disconnect_frame_type.py | 91 - .../models/disconnect_initiator.py | 91 - .../swagger_client/models/dns_probe_metric.py | 162 - .../models/dynamic_vlan_mode.py | 91 - .../models/element_radio_configuration.py | 430 - ...ement_radio_configuration_eirp_tx_power.py | 136 - .../swagger_client/models/empty_schedule.py | 137 - .../swagger_client/models/equipment.py | 450 - .../models/equipment_added_event.py | 215 - .../models/equipment_admin_status_data.py | 201 - .../equipment_auto_provisioning_settings.py | 164 - .../models/equipment_capacity_details.py | 224 - .../models/equipment_capacity_details_map.py | 188 - .../models/equipment_changed_event.py | 215 - .../models/equipment_details.py | 118 - .../models/equipment_gateway_record.py | 266 - .../models/equipment_lan_status_data.py | 175 - .../equipment_neighbouring_status_data.py | 149 - .../models/equipment_peer_status_data.py | 149 - ...equipment_per_radio_utilization_details.py | 110 - ...pment_per_radio_utilization_details_map.py | 188 - .../models/equipment_performance_details.py | 188 - .../models/equipment_protocol_state.py | 94 - .../models/equipment_protocol_status_data.py | 799 -- .../models/equipment_removed_event.py | 215 - .../models/equipment_routing_record.py | 240 - .../models/equipment_rrm_bulk_update_item.py | 136 - ...ment_rrm_bulk_update_item_per_radio_map.py | 188 - .../equipment_rrm_bulk_update_request.py | 110 - .../models/equipment_scan_details.py | 149 - .../swagger_client/models/equipment_type.py | 90 - .../equipment_upgrade_failure_reason.py | 100 - .../models/equipment_upgrade_state.py | 102 - .../models/equipment_upgrade_status_data.py | 357 - .../models/ethernet_link_state.py | 95 - .../swagger_client/models/file_category.py | 94 - .../swagger_client/models/file_type.py | 91 - .../models/firmware_schedule_setting.py | 92 - .../firmware_track_assignment_details.py | 252 - .../firmware_track_assignment_record.py | 242 - .../models/firmware_track_record.py | 216 - .../models/firmware_validation_method.py | 90 - .../swagger_client/models/firmware_version.py | 406 - .../models/gateway_added_event.py | 163 - .../models/gateway_changed_event.py | 163 - .../models/gateway_removed_event.py | 163 - .../swagger_client/models/gateway_type.py | 90 - .../swagger_client/models/generic_response.py | 136 - .../models/gre_tunnel_configuration.py | 162 - .../swagger_client/models/guard_interval.py | 90 - .../models/integer_per_radio_type_map.py | 188 - .../models/integer_per_status_code_map.py | 188 - .../models/integer_status_code_map.py | 188 - .../models/integer_value_map.py | 89 - .../models/json_serialized_exception.py | 200 - .../models/link_quality_aggregated_stats.py | 188 - ...ity_aggregated_stats_per_radio_type_map.py | 188 - ...t_of_channel_info_reports_per_radio_map.py | 188 - .../models/list_of_macs_per_radio_map.py | 188 - .../models/list_of_mcs_stats_per_radio_map.py | 188 - ...list_of_radio_utilization_per_radio_map.py | 188 - .../list_of_ssid_statistics_per_radio_map.py | 188 - .../swagger_client/models/local_time_value.py | 136 - .../swagger_client/models/location.py | 300 - .../models/location_activity_details.py | 188 - .../models/location_activity_details_map.py | 266 - .../models/location_added_event.py | 189 - .../models/location_changed_event.py | 189 - .../swagger_client/models/location_details.py | 220 - .../models/location_removed_event.py | 189 - .../models/long_per_radio_type_map.py | 188 - .../swagger_client/models/long_value_map.py | 89 - .../swagger_client/models/mac_address.py | 142 - .../models/mac_allowlist_record.py | 162 - .../models/managed_file_info.py | 240 - .../swagger_client/models/management_rate.py | 98 - .../models/manufacturer_details_record.py | 216 - .../models/manufacturer_oui_details.py | 164 - .../manufacturer_oui_details_per_oui_map.py | 89 - .../map_of_wmm_queue_stats_per_radio_map.py | 188 - .../swagger_client/models/mcs_stats.py | 192 - .../swagger_client/models/mcs_type.py | 172 - .../swagger_client/models/mesh_group.py | 174 - .../models/mesh_group_member.py | 188 - .../models/mesh_group_property.py | 162 - .../models/metric_config_parameter_map.py | 266 - .../swagger_client/models/mimo_mode.py | 93 - .../models/min_max_avg_value_int.py | 162 - .../min_max_avg_value_int_per_radio_map.py | 188 - .../swagger_client/models/multicast_rate.py | 97 - .../models/neighbor_scan_packet_type.py | 101 - .../swagger_client/models/neighbour_report.py | 500 - .../models/neighbour_scan_reports.py | 137 - .../neighbouring_ap_list_configuration.py | 136 - .../models/network_admin_status_data.py | 305 - .../models/network_aggregate_status_data.py | 721 -- .../models/network_forward_mode.py | 90 - .../models/network_probe_metrics.py | 292 - .../swagger_client/models/network_type.py | 90 - .../models/noise_floor_details.py | 136 - .../models/noise_floor_per_radio_details.py | 188 - .../noise_floor_per_radio_details_map.py | 188 - .../swagger_client/models/obss_hop_mode.py | 90 - .../models/one_of_equipment_details.py | 84 - .../one_of_firmware_schedule_setting.py | 84 - .../models/one_of_profile_details_children.py | 84 - .../models/one_of_schedule_setting.py | 84 - .../models/one_of_service_metric_details.py | 84 - .../models/one_of_status_details.py | 84 - .../models/one_of_system_event.py | 84 - .../models/operating_system_performance.py | 331 - .../swagger_client/models/originator_type.py | 91 - .../models/pagination_context_alarm.py | 247 - .../models/pagination_context_client.py | 247 - .../pagination_context_client_session.py | 247 - .../models/pagination_context_equipment.py | 247 - .../models/pagination_context_location.py | 247 - .../models/pagination_context_portal_user.py | 247 - .../models/pagination_context_profile.py | 247 - .../pagination_context_service_metric.py | 247 - .../models/pagination_context_status.py | 247 - .../models/pagination_context_system_event.py | 247 - .../models/pagination_response_alarm.py | 136 - .../models/pagination_response_client.py | 136 - .../pagination_response_client_session.py | 136 - .../models/pagination_response_equipment.py | 136 - .../models/pagination_response_location.py | 136 - .../models/pagination_response_portal_user.py | 136 - .../models/pagination_response_profile.py | 136 - .../pagination_response_service_metric.py | 136 - .../models/pagination_response_status.py | 136 - .../pagination_response_system_event.py | 136 - .../swagger_client/models/pair_long_long.py | 136 - .../models/passpoint_access_network_type.py | 96 - ...int_connection_capabilities_ip_protocol.py | 91 - ...asspoint_connection_capabilities_status.py | 91 - .../models/passpoint_connection_capability.py | 162 - .../swagger_client/models/passpoint_duple.py | 194 - .../models/passpoint_eap_methods.py | 93 - .../passpoint_gas_address3_behaviour.py | 91 - .../models/passpoint_i_pv4_address_type.py | 96 - .../models/passpoint_i_pv6_address_type.py | 91 - .../models/passpoint_mcc_mnc.py | 240 - ...spoint_nai_realm_eap_auth_inner_non_eap.py | 92 - .../passpoint_nai_realm_eap_auth_param.py | 95 - .../passpoint_nai_realm_eap_cred_type.py | 98 - .../models/passpoint_nai_realm_encoding.py | 90 - .../models/passpoint_nai_realm_information.py | 192 - .../passpoint_network_authentication_type.py | 92 - .../models/passpoint_operator_profile.py | 254 - .../models/passpoint_osu_icon.py | 300 - .../models/passpoint_osu_provider_profile.py | 460 - .../models/passpoint_profile.py | 856 -- .../models/passpoint_venue_name.py | 110 - .../models/passpoint_venue_profile.py | 174 - .../models/passpoint_venue_type_assignment.py | 162 - .../swagger_client/models/peer_info.py | 214 - .../models/per_process_utilization.py | 168 - .../swagger_client/models/ping_response.py | 266 - .../swagger_client/models/portal_user.py | 268 - .../models/portal_user_added_event.py | 189 - .../models/portal_user_changed_event.py | 189 - .../models/portal_user_removed_event.py | 189 - .../swagger_client/models/portal_user_role.py | 99 - .../cloudsdk/swagger_client/models/profile.py | 294 - .../models/profile_added_event.py | 189 - .../models/profile_changed_event.py | 189 - .../swagger_client/models/profile_details.py | 136 - .../models/profile_details_children.py | 92 - .../models/profile_removed_event.py | 189 - .../swagger_client/models/profile_type.py | 101 - .../models/radio_based_ssid_configuration.py | 162 - .../radio_based_ssid_configuration_map.py | 188 - .../models/radio_best_ap_settings.py | 162 - .../models/radio_channel_change_settings.py | 141 - .../models/radio_configuration.py | 370 - .../swagger_client/models/radio_map.py | 188 - .../swagger_client/models/radio_mode.py | 96 - .../models/radio_profile_configuration.py | 136 - .../models/radio_profile_configuration_map.py | 188 - .../swagger_client/models/radio_statistics.py | 9884 ----------------- .../models/radio_statistics_per_radio_map.py | 188 - .../swagger_client/models/radio_type.py | 92 - .../models/radio_utilization.py | 292 - .../models/radio_utilization_details.py | 110 - .../radio_utilization_per_radio_details.py | 214 - ...radio_utilization_per_radio_details_map.py | 188 - .../models/radio_utilization_report.py | 227 - .../models/radius_authentication_method.py | 91 - .../swagger_client/models/radius_details.py | 136 - .../swagger_client/models/radius_metrics.py | 162 - .../models/radius_nas_configuration.py | 236 - .../swagger_client/models/radius_profile.py | 226 - .../swagger_client/models/radius_server.py | 188 - .../models/radius_server_details.py | 136 - .../swagger_client/models/real_time_event.py | 215 - .../real_time_sip_call_event_with_stats.py | 345 - .../models/real_time_sip_call_report_event.py | 163 - .../models/real_time_sip_call_start_event.py | 345 - .../models/real_time_sip_call_stop_event.py | 189 - .../models/real_time_streaming_start_event.py | 295 - ...real_time_streaming_start_session_event.py | 269 - .../models/real_time_streaming_stop_event.py | 321 - .../models/realtime_channel_hop_event.py | 241 - .../swagger_client/models/rf_config_map.py | 188 - .../swagger_client/models/rf_configuration.py | 116 - .../models/rf_element_configuration.py | 714 -- .../models/routing_added_event.py | 215 - .../models/routing_changed_event.py | 215 - .../models/routing_removed_event.py | 215 - .../models/rrm_bulk_update_ap_details.py | 266 - .../swagger_client/models/rtls_settings.py | 162 - .../models/rtp_flow_direction.py | 90 - .../swagger_client/models/rtp_flow_stats.py | 292 - .../swagger_client/models/rtp_flow_type.py | 91 - .../swagger_client/models/schedule_setting.py | 92 - .../swagger_client/models/security_type.py | 92 - .../models/service_adoption_metrics.py | 346 - .../swagger_client/models/service_metric.py | 294 - .../service_metric_config_parameters.py | 162 - .../models/service_metric_data_type.py | 93 - .../models/service_metric_details.py | 92 - .../service_metric_radio_config_parameters.py | 318 - ...service_metric_survey_config_parameters.py | 188 - ...rvice_metrics_collection_config_profile.py | 200 - .../models/session_expiry_type.py | 90 - .../models/sip_call_report_reason.py | 92 - .../models/sip_call_stop_reason.py | 91 - .../models/sort_columns_alarm.py | 177 - .../models/sort_columns_client.py | 177 - .../models/sort_columns_client_session.py | 177 - .../models/sort_columns_equipment.py | 177 - .../models/sort_columns_location.py | 177 - .../models/sort_columns_portal_user.py | 177 - .../models/sort_columns_profile.py | 177 - .../models/sort_columns_service_metric.py | 177 - .../models/sort_columns_status.py | 177 - .../models/sort_columns_system_event.py | 177 - .../swagger_client/models/sort_order.py | 90 - .../models/source_selection_management.py | 136 - .../models/source_selection_multicast.py | 136 - .../models/source_selection_steering.py | 136 - .../models/source_selection_value.py | 136 - .../swagger_client/models/source_type.py | 91 - .../models/ssid_configuration.py | 752 -- .../swagger_client/models/ssid_secure_mode.py | 103 - .../swagger_client/models/ssid_statistics.py | 1450 --- .../swagger_client/models/state_setting.py | 90 - .../models/state_up_down_error.py | 91 - .../models/stats_report_format.py | 91 - .../cloudsdk/swagger_client/models/status.py | 274 - .../models/status_changed_event.py | 215 - .../swagger_client/models/status_code.py | 92 - .../swagger_client/models/status_data_type.py | 102 - .../swagger_client/models/status_details.py | 92 - .../models/status_removed_event.py | 215 - .../swagger_client/models/steer_type.py | 92 - .../models/streaming_video_server_record.py | 266 - .../models/streaming_video_type.py | 93 - .../swagger_client/models/syslog_relay.py | 188 - .../models/syslog_severity_type.py | 96 - .../swagger_client/models/system_event.py | 92 - .../models/system_event_data_type.py | 148 - .../models/system_event_record.py | 294 - .../models/timed_access_user_details.py | 162 - .../models/timed_access_user_record.py | 292 - .../swagger_client/models/track_flag.py | 91 - .../swagger_client/models/traffic_details.py | 162 - .../models/traffic_per_radio_details.py | 396 - ...ic_per_radio_details_per_radio_type_map.py | 188 - .../swagger_client/models/tunnel_indicator.py | 91 - .../models/tunnel_metric_data.py | 252 - .../models/unserializable_system_event.py | 215 - .../swagger_client/models/user_details.py | 370 - .../swagger_client/models/vlan_status_data.py | 266 - .../models/vlan_status_data_map.py | 89 - .../swagger_client/models/vlan_subnet.py | 306 - .../models/web_token_acl_template.py | 110 - .../models/web_token_request.py | 164 - .../swagger_client/models/web_token_result.py | 266 - .../swagger_client/models/wep_auth_type.py | 90 - .../models/wep_configuration.py | 162 - .../cloudsdk/swagger_client/models/wep_key.py | 162 - .../swagger_client/models/wep_type.py | 90 - .../swagger_client/models/wlan_reason_code.py | 150 - .../swagger_client/models/wlan_status_code.py | 189 - .../swagger_client/models/wmm_queue_stats.py | 422 - .../wmm_queue_stats_per_queue_type_map.py | 188 - .../swagger_client/models/wmm_queue_type.py | 92 - libs/cloudapi/cloudsdk/swagger_client/rest.py | 322 - libs/cloudapi/cloudsdk/test-requirements.txt | 5 - libs/cloudapi/cloudsdk/test/__init__.py | 0 .../cloudsdk/test/test_acl_template.py | 39 - .../cloudsdk/test/test_active_bssi_ds.py | 39 - .../cloudsdk/test/test_active_bssid.py | 39 - .../test/test_active_scan_settings.py | 39 - .../cloudsdk/test/test_advanced_radio_map.py | 39 - libs/cloudapi/cloudsdk/test/test_alarm.py | 39 - .../cloudsdk/test/test_alarm_added_event.py | 39 - .../cloudsdk/test/test_alarm_changed_event.py | 39 - .../cloudapi/cloudsdk/test/test_alarm_code.py | 39 - .../cloudsdk/test/test_alarm_counts.py | 39 - .../cloudsdk/test/test_alarm_details.py | 39 - .../test/test_alarm_details_attributes_map.py | 39 - .../cloudsdk/test/test_alarm_removed_event.py | 39 - .../cloudsdk/test/test_alarm_scope_type.py | 39 - .../cloudapi/cloudsdk/test/test_alarms_api.py | 75 - .../cloudsdk/test/test_antenna_type.py | 39 - .../test/test_ap_element_configuration.py | 39 - .../cloudsdk/test/test_ap_mesh_mode.py | 39 - .../test/test_ap_network_configuration.py | 39 - ...est_ap_network_configuration_ntp_server.py | 39 - .../cloudsdk/test/test_ap_node_metrics.py | 39 - .../cloudsdk/test/test_ap_performance.py | 39 - .../cloudsdk/test/test_ap_ssid_metrics.py | 39 - .../test/test_auto_or_manual_string.py | 39 - .../test/test_auto_or_manual_value.py | 39 - .../cloudsdk/test/test_background_position.py | 39 - .../cloudsdk/test/test_background_repeat.py | 39 - .../cloudsdk/test/test_banned_channel.py | 39 - .../cloudsdk/test/test_base_dhcp_event.py | 39 - .../cloudsdk/test/test_best_ap_steer_type.py | 39 - .../cloudsdk/test/test_blocklist_details.py | 39 - .../test/test_bonjour_gateway_profile.py | 39 - .../cloudsdk/test/test_bonjour_service_set.py | 39 - .../cloudsdk/test/test_capacity_details.py | 39 - .../test/test_capacity_per_radio_details.py | 39 - .../test_capacity_per_radio_details_map.py | 39 - ...test_captive_portal_authentication_type.py | 39 - .../test/test_captive_portal_configuration.py | 39 - .../cloudsdk/test/test_channel_bandwidth.py | 39 - .../cloudsdk/test/test_channel_hop_reason.py | 39 - .../test/test_channel_hop_settings.py | 39 - .../cloudsdk/test/test_channel_info.py | 39 - .../test/test_channel_info_reports.py | 39 - .../cloudsdk/test/test_channel_power_level.py | 39 - .../test/test_channel_utilization_details.py | 39 - ...t_channel_utilization_per_radio_details.py | 39 - ...annel_utilization_per_radio_details_map.py | 39 - .../test_channel_utilization_survey_type.py | 39 - libs/cloudapi/cloudsdk/test/test_client.py | 39 - .../test_client_activity_aggregated_stats.py | 39 - ...ity_aggregated_stats_per_radio_type_map.py | 39 - .../cloudsdk/test/test_client_added_event.py | 39 - .../cloudsdk/test/test_client_assoc_event.py | 39 - .../cloudsdk/test/test_client_auth_event.py | 39 - .../test/test_client_changed_event.py | 39 - .../test/test_client_connect_success_event.py | 39 - .../test/test_client_connection_details.py | 39 - .../cloudsdk/test/test_client_dhcp_details.py | 39 - .../test/test_client_disconnect_event.py | 39 - .../cloudsdk/test/test_client_eap_details.py | 39 - .../test/test_client_failure_details.py | 39 - .../test/test_client_failure_event.py | 39 - .../test/test_client_first_data_event.py | 39 - .../cloudsdk/test/test_client_id_event.py | 39 - .../cloudsdk/test/test_client_info_details.py | 39 - .../test/test_client_ip_address_event.py | 39 - .../cloudsdk/test/test_client_metrics.py | 39 - .../test/test_client_removed_event.py | 39 - .../cloudsdk/test/test_client_session.py | 39 - .../test/test_client_session_changed_event.py | 39 - .../test/test_client_session_details.py | 39 - .../test_client_session_metric_details.py | 39 - .../test/test_client_session_removed_event.py | 39 - .../test/test_client_timeout_event.py | 39 - .../test/test_client_timeout_reason.py | 39 - .../cloudsdk/test/test_clients_api.py | 82 - .../test/test_common_probe_details.py | 39 - .../cloudsdk/test/test_country_code.py | 39 - .../test/test_counts_per_alarm_code_map.py | 39 - ...nts_per_equipment_id_per_alarm_code_map.py | 39 - libs/cloudapi/cloudsdk/test/test_customer.py | 39 - .../test/test_customer_added_event.py | 39 - .../cloudsdk/test/test_customer_api.py | 47 - .../test/test_customer_changed_event.py | 39 - .../cloudsdk/test/test_customer_details.py | 39 - .../test_customer_firmware_track_record.py | 39 - .../test_customer_firmware_track_settings.py | 39 - .../test_customer_portal_dashboard_status.py | 39 - .../test/test_customer_removed_event.py | 39 - .../test/test_daily_time_range_schedule.py | 39 - .../cloudsdk/test/test_day_of_week.py | 39 - .../test_days_of_week_time_range_schedule.py | 39 - .../cloudsdk/test/test_deployment_type.py | 39 - .../cloudsdk/test/test_detected_auth_mode.py | 39 - .../cloudsdk/test/test_device_mode.py | 39 - .../cloudsdk/test/test_dhcp_ack_event.py | 39 - .../cloudsdk/test/test_dhcp_decline_event.py | 39 - .../cloudsdk/test/test_dhcp_discover_event.py | 39 - .../cloudsdk/test/test_dhcp_inform_event.py | 39 - .../cloudsdk/test/test_dhcp_nak_event.py | 39 - .../cloudsdk/test/test_dhcp_offer_event.py | 39 - .../cloudsdk/test/test_dhcp_request_event.py | 39 - .../test/test_disconnect_frame_type.py | 39 - .../test/test_disconnect_initiator.py | 39 - .../cloudsdk/test/test_dns_probe_metric.py | 39 - .../cloudsdk/test/test_dynamic_vlan_mode.py | 39 - .../test/test_element_radio_configuration.py | 39 - ...ement_radio_configuration_eirp_tx_power.py | 39 - .../cloudsdk/test/test_empty_schedule.py | 39 - libs/cloudapi/cloudsdk/test/test_equipment.py | 39 - .../test/test_equipment_added_event.py | 39 - .../test/test_equipment_admin_status_data.py | 39 - .../cloudsdk/test/test_equipment_api.py | 96 - ...st_equipment_auto_provisioning_settings.py | 39 - .../test/test_equipment_capacity_details.py | 39 - .../test_equipment_capacity_details_map.py | 39 - .../test/test_equipment_changed_event.py | 39 - .../cloudsdk/test/test_equipment_details.py | 39 - .../test/test_equipment_gateway_api.py | 68 - .../test/test_equipment_gateway_record.py | 39 - .../test/test_equipment_lan_status_data.py | 39 - ...test_equipment_neighbouring_status_data.py | 39 - .../test/test_equipment_peer_status_data.py | 39 - ...equipment_per_radio_utilization_details.py | 39 - ...pment_per_radio_utilization_details_map.py | 39 - .../test_equipment_performance_details.py | 39 - .../test/test_equipment_protocol_state.py | 39 - .../test_equipment_protocol_status_data.py | 39 - .../test/test_equipment_removed_event.py | 39 - .../test/test_equipment_routing_record.py | 39 - .../test_equipment_rrm_bulk_update_item.py | 39 - ...ment_rrm_bulk_update_item_per_radio_map.py | 39 - .../test_equipment_rrm_bulk_update_request.py | 39 - .../test/test_equipment_scan_details.py | 39 - .../cloudsdk/test/test_equipment_type.py | 39 - .../test_equipment_upgrade_failure_reason.py | 39 - .../test/test_equipment_upgrade_state.py | 39 - .../test_equipment_upgrade_status_data.py | 39 - .../cloudsdk/test/test_ethernet_link_state.py | 39 - .../cloudsdk/test/test_file_category.py | 39 - .../cloudsdk/test/test_file_services_api.py | 47 - libs/cloudapi/cloudsdk/test/test_file_type.py | 39 - .../test/test_firmware_management_api.py | 173 - .../test/test_firmware_schedule_setting.py | 39 - .../test_firmware_track_assignment_details.py | 39 - .../test_firmware_track_assignment_record.py | 39 - .../test/test_firmware_track_record.py | 39 - .../test/test_firmware_validation_method.py | 39 - .../cloudsdk/test/test_firmware_version.py | 39 - .../cloudsdk/test/test_gateway_added_event.py | 39 - .../test/test_gateway_changed_event.py | 39 - .../test/test_gateway_removed_event.py | 39 - .../cloudsdk/test/test_gateway_type.py | 39 - .../cloudsdk/test/test_generic_response.py | 39 - .../test/test_gre_tunnel_configuration.py | 39 - .../cloudsdk/test/test_guard_interval.py | 39 - .../test/test_integer_per_radio_type_map.py | 39 - .../test/test_integer_per_status_code_map.py | 39 - .../test/test_integer_status_code_map.py | 39 - .../cloudsdk/test/test_integer_value_map.py | 39 - .../test/test_json_serialized_exception.py | 39 - .../test_link_quality_aggregated_stats.py | 39 - ...ity_aggregated_stats_per_radio_type_map.py | 39 - ...t_of_channel_info_reports_per_radio_map.py | 39 - .../test/test_list_of_macs_per_radio_map.py | 39 - .../test_list_of_mcs_stats_per_radio_map.py | 39 - ...list_of_radio_utilization_per_radio_map.py | 39 - ...t_list_of_ssid_statistics_per_radio_map.py | 39 - .../cloudsdk/test/test_local_time_value.py | 39 - libs/cloudapi/cloudsdk/test/test_location.py | 39 - .../test/test_location_activity_details.py | 39 - .../test_location_activity_details_map.py | 39 - .../test/test_location_added_event.py | 39 - .../cloudsdk/test/test_location_api.py | 75 - .../test/test_location_changed_event.py | 39 - .../cloudsdk/test/test_location_details.py | 39 - .../test/test_location_removed_event.py | 39 - libs/cloudapi/cloudsdk/test/test_login_api.py | 47 - .../test/test_long_per_radio_type_map.py | 39 - .../cloudsdk/test/test_long_value_map.py | 39 - .../cloudsdk/test/test_mac_address.py | 39 - .../test/test_mac_allowlist_record.py | 39 - .../cloudsdk/test/test_managed_file_info.py | 39 - .../cloudsdk/test/test_management_rate.py | 39 - .../test/test_manufacturer_details_record.py | 39 - .../test/test_manufacturer_oui_api.py | 131 - .../test/test_manufacturer_oui_details.py | 39 - ...st_manufacturer_oui_details_per_oui_map.py | 39 - ...st_map_of_wmm_queue_stats_per_radio_map.py | 39 - libs/cloudapi/cloudsdk/test/test_mcs_stats.py | 39 - libs/cloudapi/cloudsdk/test/test_mcs_type.py | 39 - .../cloudapi/cloudsdk/test/test_mesh_group.py | 39 - .../cloudsdk/test/test_mesh_group_member.py | 39 - .../cloudsdk/test/test_mesh_group_property.py | 39 - .../test/test_metric_config_parameter_map.py | 39 - libs/cloudapi/cloudsdk/test/test_mimo_mode.py | 39 - .../test/test_min_max_avg_value_int.py | 39 - ...est_min_max_avg_value_int_per_radio_map.py | 39 - .../cloudsdk/test/test_multicast_rate.py | 39 - .../test/test_neighbor_scan_packet_type.py | 39 - .../cloudsdk/test/test_neighbour_report.py | 39 - .../test/test_neighbour_scan_reports.py | 39 - ...test_neighbouring_ap_list_configuration.py | 39 - .../test/test_network_admin_status_data.py | 39 - .../test_network_aggregate_status_data.py | 39 - .../test/test_network_forward_mode.py | 39 - .../test/test_network_probe_metrics.py | 39 - .../cloudsdk/test/test_network_type.py | 39 - .../cloudsdk/test/test_noise_floor_details.py | 39 - .../test_noise_floor_per_radio_details.py | 39 - .../test_noise_floor_per_radio_details_map.py | 39 - .../cloudsdk/test/test_obss_hop_mode.py | 39 - .../test/test_one_of_equipment_details.py | 39 - .../test_one_of_firmware_schedule_setting.py | 39 - .../test_one_of_profile_details_children.py | 39 - .../test/test_one_of_schedule_setting.py | 39 - .../test_one_of_service_metric_details.py | 39 - .../test/test_one_of_status_details.py | 39 - .../cloudsdk/test/test_one_of_system_event.py | 39 - .../test/test_operating_system_performance.py | 39 - .../cloudsdk/test/test_originator_type.py | 39 - .../test/test_pagination_context_alarm.py | 39 - .../test/test_pagination_context_client.py | 39 - .../test_pagination_context_client_session.py | 39 - .../test/test_pagination_context_equipment.py | 39 - .../test/test_pagination_context_location.py | 39 - .../test_pagination_context_portal_user.py | 39 - .../test/test_pagination_context_profile.py | 39 - .../test_pagination_context_service_metric.py | 39 - .../test/test_pagination_context_status.py | 39 - .../test_pagination_context_system_event.py | 39 - .../test/test_pagination_response_alarm.py | 39 - .../test/test_pagination_response_client.py | 39 - ...test_pagination_response_client_session.py | 39 - .../test_pagination_response_equipment.py | 39 - .../test/test_pagination_response_location.py | 39 - .../test_pagination_response_portal_user.py | 39 - .../test/test_pagination_response_profile.py | 39 - ...test_pagination_response_service_metric.py | 39 - .../test/test_pagination_response_status.py | 39 - .../test_pagination_response_system_event.py | 39 - .../cloudsdk/test/test_pair_long_long.py | 39 - .../test_passpoint_access_network_type.py | 39 - ...int_connection_capabilities_ip_protocol.py | 39 - ...asspoint_connection_capabilities_status.py | 39 - .../test_passpoint_connection_capability.py | 39 - .../cloudsdk/test/test_passpoint_duple.py | 39 - .../test/test_passpoint_eap_methods.py | 39 - .../test_passpoint_gas_address3_behaviour.py | 39 - .../test/test_passpoint_i_pv4_address_type.py | 39 - .../test/test_passpoint_i_pv6_address_type.py | 39 - .../cloudsdk/test/test_passpoint_mcc_mnc.py | 39 - ...spoint_nai_realm_eap_auth_inner_non_eap.py | 39 - ...test_passpoint_nai_realm_eap_auth_param.py | 39 - .../test_passpoint_nai_realm_eap_cred_type.py | 39 - .../test/test_passpoint_nai_realm_encoding.py | 39 - .../test_passpoint_nai_realm_information.py | 39 - ...t_passpoint_network_authentication_type.py | 39 - .../test/test_passpoint_operator_profile.py | 39 - .../cloudsdk/test/test_passpoint_osu_icon.py | 39 - .../test_passpoint_osu_provider_profile.py | 39 - .../cloudsdk/test/test_passpoint_profile.py | 39 - .../test/test_passpoint_venue_name.py | 39 - .../test/test_passpoint_venue_profile.py | 39 - .../test_passpoint_venue_type_assignment.py | 39 - libs/cloudapi/cloudsdk/test/test_peer_info.py | 39 - .../test/test_per_process_utilization.py | 39 - .../cloudsdk/test/test_ping_response.py | 39 - .../cloudsdk/test/test_portal_user.py | 39 - .../test/test_portal_user_added_event.py | 39 - .../test/test_portal_user_changed_event.py | 39 - .../test/test_portal_user_removed_event.py | 39 - .../cloudsdk/test/test_portal_user_role.py | 39 - .../cloudsdk/test/test_portal_users_api.py | 89 - libs/cloudapi/cloudsdk/test/test_profile.py | 39 - .../cloudsdk/test/test_profile_added_event.py | 39 - .../cloudsdk/test/test_profile_api.py | 89 - .../test/test_profile_changed_event.py | 39 - .../cloudsdk/test/test_profile_details.py | 39 - .../test/test_profile_details_children.py | 39 - .../test/test_profile_removed_event.py | 39 - .../cloudsdk/test/test_profile_type.py | 39 - .../test_radio_based_ssid_configuration.py | 39 - ...test_radio_based_ssid_configuration_map.py | 39 - .../test/test_radio_best_ap_settings.py | 39 - .../test_radio_channel_change_settings.py | 39 - .../cloudsdk/test/test_radio_configuration.py | 39 - libs/cloudapi/cloudsdk/test/test_radio_map.py | 39 - .../cloudapi/cloudsdk/test/test_radio_mode.py | 39 - .../test/test_radio_profile_configuration.py | 39 - .../test_radio_profile_configuration_map.py | 39 - .../cloudsdk/test/test_radio_statistics.py | 39 - .../test_radio_statistics_per_radio_map.py | 39 - .../cloudapi/cloudsdk/test/test_radio_type.py | 39 - .../cloudsdk/test/test_radio_utilization.py | 39 - .../test/test_radio_utilization_details.py | 39 - ...est_radio_utilization_per_radio_details.py | 39 - ...radio_utilization_per_radio_details_map.py | 39 - .../test/test_radio_utilization_report.py | 39 - .../test/test_radius_authentication_method.py | 39 - .../cloudsdk/test/test_radius_details.py | 39 - .../cloudsdk/test/test_radius_metrics.py | 39 - .../test/test_radius_nas_configuration.py | 39 - .../cloudsdk/test/test_radius_profile.py | 39 - .../cloudsdk/test/test_radius_server.py | 39 - .../test/test_radius_server_details.py | 39 - .../cloudsdk/test/test_real_time_event.py | 39 - ...est_real_time_sip_call_event_with_stats.py | 39 - .../test_real_time_sip_call_report_event.py | 39 - .../test_real_time_sip_call_start_event.py | 39 - .../test_real_time_sip_call_stop_event.py | 39 - .../test_real_time_streaming_start_event.py | 39 - ...real_time_streaming_start_session_event.py | 39 - .../test_real_time_streaming_stop_event.py | 39 - .../test/test_realtime_channel_hop_event.py | 39 - .../cloudsdk/test/test_rf_config_map.py | 39 - .../cloudsdk/test/test_rf_configuration.py | 39 - .../test/test_rf_element_configuration.py | 39 - .../cloudsdk/test/test_routing_added_event.py | 39 - .../test/test_routing_changed_event.py | 39 - .../test/test_routing_removed_event.py | 39 - .../test/test_rrm_bulk_update_ap_details.py | 39 - .../cloudsdk/test/test_rtls_settings.py | 39 - .../cloudsdk/test/test_rtp_flow_direction.py | 39 - .../cloudsdk/test/test_rtp_flow_stats.py | 39 - .../cloudsdk/test/test_rtp_flow_type.py | 39 - .../cloudsdk/test/test_schedule_setting.py | 39 - .../cloudsdk/test/test_security_type.py | 39 - .../test/test_service_adoption_metrics.py | 39 - .../test/test_service_adoption_metrics_api.py | 75 - .../cloudsdk/test/test_service_metric.py | 39 - .../test_service_metric_config_parameters.py | 39 - .../test/test_service_metric_data_type.py | 39 - .../test/test_service_metric_details.py | 39 - ..._service_metric_radio_config_parameters.py | 39 - ...service_metric_survey_config_parameters.py | 39 - ...rvice_metrics_collection_config_profile.py | 39 - .../cloudsdk/test/test_session_expiry_type.py | 39 - .../test/test_sip_call_report_reason.py | 39 - .../test/test_sip_call_stop_reason.py | 39 - .../cloudsdk/test/test_sort_columns_alarm.py | 39 - .../cloudsdk/test/test_sort_columns_client.py | 39 - .../test/test_sort_columns_client_session.py | 39 - .../test/test_sort_columns_equipment.py | 39 - .../test/test_sort_columns_location.py | 39 - .../test/test_sort_columns_portal_user.py | 39 - .../test/test_sort_columns_profile.py | 39 - .../test/test_sort_columns_service_metric.py | 39 - .../cloudsdk/test/test_sort_columns_status.py | 39 - .../test/test_sort_columns_system_event.py | 39 - .../cloudapi/cloudsdk/test/test_sort_order.py | 39 - .../test/test_source_selection_management.py | 39 - .../test/test_source_selection_multicast.py | 39 - .../test/test_source_selection_steering.py | 39 - .../test/test_source_selection_value.py | 39 - .../cloudsdk/test/test_source_type.py | 39 - .../cloudsdk/test/test_ssid_configuration.py | 39 - .../cloudsdk/test/test_ssid_secure_mode.py | 39 - .../cloudsdk/test/test_ssid_statistics.py | 39 - .../cloudsdk/test/test_state_setting.py | 39 - .../cloudsdk/test/test_state_up_down_error.py | 39 - .../cloudsdk/test/test_stats_report_format.py | 39 - libs/cloudapi/cloudsdk/test/test_status.py | 39 - .../cloudapi/cloudsdk/test/test_status_api.py | 61 - .../test/test_status_changed_event.py | 39 - .../cloudsdk/test/test_status_code.py | 39 - .../cloudsdk/test/test_status_data_type.py | 39 - .../cloudsdk/test/test_status_details.py | 39 - .../test/test_status_removed_event.py | 39 - .../cloudapi/cloudsdk/test/test_steer_type.py | 39 - .../test_streaming_video_server_record.py | 39 - .../test/test_streaming_video_type.py | 39 - .../cloudsdk/test/test_syslog_relay.py | 39 - .../test/test_syslog_severity_type.py | 39 - .../cloudsdk/test/test_system_event.py | 39 - .../test/test_system_event_data_type.py | 39 - .../cloudsdk/test/test_system_event_record.py | 39 - .../cloudsdk/test/test_system_events_api.py | 40 - .../test/test_timed_access_user_details.py | 39 - .../test/test_timed_access_user_record.py | 39 - .../cloudapi/cloudsdk/test/test_track_flag.py | 39 - .../cloudsdk/test/test_traffic_details.py | 39 - .../test/test_traffic_per_radio_details.py | 39 - ...ic_per_radio_details_per_radio_type_map.py | 39 - .../cloudsdk/test/test_tunnel_indicator.py | 39 - .../cloudsdk/test/test_tunnel_metric_data.py | 39 - .../test/test_unserializable_system_event.py | 39 - .../cloudsdk/test/test_user_details.py | 39 - .../cloudsdk/test/test_vlan_status_data.py | 39 - .../test/test_vlan_status_data_map.py | 39 - .../cloudsdk/test/test_vlan_subnet.py | 39 - .../test/test_web_token_acl_template.py | 39 - .../cloudsdk/test/test_web_token_request.py | 39 - .../cloudsdk/test/test_web_token_result.py | 39 - .../cloudsdk/test/test_wep_auth_type.py | 39 - .../cloudsdk/test/test_wep_configuration.py | 39 - libs/cloudapi/cloudsdk/test/test_wep_key.py | 39 - libs/cloudapi/cloudsdk/test/test_wep_type.py | 39 - .../cloudsdk/test/test_wlan_reason_code.py | 39 - .../test/test_wlan_service_metrics_api.py | 40 - .../cloudsdk/test/test_wlan_status_code.py | 39 - .../cloudsdk/test/test_wmm_queue_stats.py | 39 - ...test_wmm_queue_stats_per_queue_type_map.py | 39 - .../cloudsdk/test/test_wmm_queue_type.py | 39 - libs/cloudapi/cloudsdk/tox.ini | 10 - libs/cloudsdk/cloudsdk.py | 1682 +-- libs/cloudsdk/requirements.txt | 10 + 1237 files changed, 99 insertions(+), 138440 deletions(-) delete mode 100644 libs/cloudapi/cloud_utility/cloud_connectivity.py delete mode 100644 libs/cloudapi/cloudsdk/.gitignore delete mode 100644 libs/cloudapi/cloudsdk/.idea/ cloudsdk.iml delete mode 100644 libs/cloudapi/cloudsdk/.idea/inspectionProfiles/Project_Default.xml delete mode 100644 libs/cloudapi/cloudsdk/.idea/inspectionProfiles/profiles_settings.xml delete mode 100644 libs/cloudapi/cloudsdk/.idea/modules.xml delete mode 100644 libs/cloudapi/cloudsdk/.idea/workspace.xml delete mode 100644 libs/cloudapi/cloudsdk/.swagger-codegen-ignore delete mode 100644 libs/cloudapi/cloudsdk/.swagger-codegen/VERSION delete mode 100644 libs/cloudapi/cloudsdk/.travis.yml delete mode 100644 libs/cloudapi/cloudsdk/README.md delete mode 100644 libs/cloudapi/cloudsdk/docs/AclTemplate.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ActiveBSSID.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ActiveBSSIDs.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ActiveScanSettings.md delete mode 100644 libs/cloudapi/cloudsdk/docs/AdvancedRadioMap.md delete mode 100644 libs/cloudapi/cloudsdk/docs/Alarm.md delete mode 100644 libs/cloudapi/cloudsdk/docs/AlarmAddedEvent.md delete mode 100644 libs/cloudapi/cloudsdk/docs/AlarmChangedEvent.md delete mode 100644 libs/cloudapi/cloudsdk/docs/AlarmCode.md delete mode 100644 libs/cloudapi/cloudsdk/docs/AlarmCounts.md delete mode 100644 libs/cloudapi/cloudsdk/docs/AlarmDetails.md delete mode 100644 libs/cloudapi/cloudsdk/docs/AlarmDetailsAttributesMap.md delete mode 100644 libs/cloudapi/cloudsdk/docs/AlarmRemovedEvent.md delete mode 100644 libs/cloudapi/cloudsdk/docs/AlarmScopeType.md delete mode 100644 libs/cloudapi/cloudsdk/docs/AlarmsApi.md delete mode 100644 libs/cloudapi/cloudsdk/docs/AntennaType.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ApElementConfiguration.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ApMeshMode.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ApNetworkConfiguration.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ApNetworkConfigurationNtpServer.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ApNodeMetrics.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ApPerformance.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ApSsidMetrics.md delete mode 100644 libs/cloudapi/cloudsdk/docs/AutoOrManualString.md delete mode 100644 libs/cloudapi/cloudsdk/docs/AutoOrManualValue.md delete mode 100644 libs/cloudapi/cloudsdk/docs/BackgroundPosition.md delete mode 100644 libs/cloudapi/cloudsdk/docs/BackgroundRepeat.md delete mode 100644 libs/cloudapi/cloudsdk/docs/BannedChannel.md delete mode 100644 libs/cloudapi/cloudsdk/docs/BaseDhcpEvent.md delete mode 100644 libs/cloudapi/cloudsdk/docs/BestAPSteerType.md delete mode 100644 libs/cloudapi/cloudsdk/docs/BlocklistDetails.md delete mode 100644 libs/cloudapi/cloudsdk/docs/BonjourGatewayProfile.md delete mode 100644 libs/cloudapi/cloudsdk/docs/BonjourServiceSet.md delete mode 100644 libs/cloudapi/cloudsdk/docs/CapacityDetails.md delete mode 100644 libs/cloudapi/cloudsdk/docs/CapacityPerRadioDetails.md delete mode 100644 libs/cloudapi/cloudsdk/docs/CapacityPerRadioDetailsMap.md delete mode 100644 libs/cloudapi/cloudsdk/docs/CaptivePortalAuthenticationType.md delete mode 100644 libs/cloudapi/cloudsdk/docs/CaptivePortalConfiguration.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ChannelBandwidth.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ChannelHopReason.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ChannelHopSettings.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ChannelInfo.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ChannelInfoReports.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ChannelPowerLevel.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ChannelUtilizationDetails.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ChannelUtilizationPerRadioDetails.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ChannelUtilizationPerRadioDetailsMap.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ChannelUtilizationSurveyType.md delete mode 100644 libs/cloudapi/cloudsdk/docs/Client.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ClientActivityAggregatedStats.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ClientActivityAggregatedStatsPerRadioTypeMap.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ClientAddedEvent.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ClientAssocEvent.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ClientAuthEvent.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ClientChangedEvent.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ClientConnectSuccessEvent.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ClientConnectionDetails.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ClientDhcpDetails.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ClientDisconnectEvent.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ClientEapDetails.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ClientFailureDetails.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ClientFailureEvent.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ClientFirstDataEvent.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ClientIdEvent.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ClientInfoDetails.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ClientIpAddressEvent.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ClientMetrics.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ClientRemovedEvent.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ClientSession.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ClientSessionChangedEvent.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ClientSessionDetails.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ClientSessionMetricDetails.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ClientSessionRemovedEvent.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ClientTimeoutEvent.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ClientTimeoutReason.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ClientsApi.md delete mode 100644 libs/cloudapi/cloudsdk/docs/CommonProbeDetails.md delete mode 100644 libs/cloudapi/cloudsdk/docs/CountryCode.md delete mode 100644 libs/cloudapi/cloudsdk/docs/CountsPerAlarmCodeMap.md delete mode 100644 libs/cloudapi/cloudsdk/docs/CountsPerEquipmentIdPerAlarmCodeMap.md delete mode 100644 libs/cloudapi/cloudsdk/docs/Customer.md delete mode 100644 libs/cloudapi/cloudsdk/docs/CustomerAddedEvent.md delete mode 100644 libs/cloudapi/cloudsdk/docs/CustomerApi.md delete mode 100644 libs/cloudapi/cloudsdk/docs/CustomerChangedEvent.md delete mode 100644 libs/cloudapi/cloudsdk/docs/CustomerDetails.md delete mode 100644 libs/cloudapi/cloudsdk/docs/CustomerFirmwareTrackRecord.md delete mode 100644 libs/cloudapi/cloudsdk/docs/CustomerFirmwareTrackSettings.md delete mode 100644 libs/cloudapi/cloudsdk/docs/CustomerPortalDashboardStatus.md delete mode 100644 libs/cloudapi/cloudsdk/docs/CustomerRemovedEvent.md delete mode 100644 libs/cloudapi/cloudsdk/docs/DailyTimeRangeSchedule.md delete mode 100644 libs/cloudapi/cloudsdk/docs/DayOfWeek.md delete mode 100644 libs/cloudapi/cloudsdk/docs/DaysOfWeekTimeRangeSchedule.md delete mode 100644 libs/cloudapi/cloudsdk/docs/DeploymentType.md delete mode 100644 libs/cloudapi/cloudsdk/docs/DetectedAuthMode.md delete mode 100644 libs/cloudapi/cloudsdk/docs/DeviceMode.md delete mode 100644 libs/cloudapi/cloudsdk/docs/DhcpAckEvent.md delete mode 100644 libs/cloudapi/cloudsdk/docs/DhcpDeclineEvent.md delete mode 100644 libs/cloudapi/cloudsdk/docs/DhcpDiscoverEvent.md delete mode 100644 libs/cloudapi/cloudsdk/docs/DhcpInformEvent.md delete mode 100644 libs/cloudapi/cloudsdk/docs/DhcpNakEvent.md delete mode 100644 libs/cloudapi/cloudsdk/docs/DhcpOfferEvent.md delete mode 100644 libs/cloudapi/cloudsdk/docs/DhcpRequestEvent.md delete mode 100644 libs/cloudapi/cloudsdk/docs/DisconnectFrameType.md delete mode 100644 libs/cloudapi/cloudsdk/docs/DisconnectInitiator.md delete mode 100644 libs/cloudapi/cloudsdk/docs/DnsProbeMetric.md delete mode 100644 libs/cloudapi/cloudsdk/docs/DynamicVlanMode.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ElementRadioConfiguration.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ElementRadioConfigurationEirpTxPower.md delete mode 100644 libs/cloudapi/cloudsdk/docs/EmptySchedule.md delete mode 100644 libs/cloudapi/cloudsdk/docs/Equipment.md delete mode 100644 libs/cloudapi/cloudsdk/docs/EquipmentAddedEvent.md delete mode 100644 libs/cloudapi/cloudsdk/docs/EquipmentAdminStatusData.md delete mode 100644 libs/cloudapi/cloudsdk/docs/EquipmentApi.md delete mode 100644 libs/cloudapi/cloudsdk/docs/EquipmentAutoProvisioningSettings.md delete mode 100644 libs/cloudapi/cloudsdk/docs/EquipmentCapacityDetails.md delete mode 100644 libs/cloudapi/cloudsdk/docs/EquipmentCapacityDetailsMap.md delete mode 100644 libs/cloudapi/cloudsdk/docs/EquipmentChangedEvent.md delete mode 100644 libs/cloudapi/cloudsdk/docs/EquipmentDetails.md delete mode 100644 libs/cloudapi/cloudsdk/docs/EquipmentGatewayApi.md delete mode 100644 libs/cloudapi/cloudsdk/docs/EquipmentGatewayRecord.md delete mode 100644 libs/cloudapi/cloudsdk/docs/EquipmentLANStatusData.md delete mode 100644 libs/cloudapi/cloudsdk/docs/EquipmentNeighbouringStatusData.md delete mode 100644 libs/cloudapi/cloudsdk/docs/EquipmentPeerStatusData.md delete mode 100644 libs/cloudapi/cloudsdk/docs/EquipmentPerRadioUtilizationDetails.md delete mode 100644 libs/cloudapi/cloudsdk/docs/EquipmentPerRadioUtilizationDetailsMap.md delete mode 100644 libs/cloudapi/cloudsdk/docs/EquipmentPerformanceDetails.md delete mode 100644 libs/cloudapi/cloudsdk/docs/EquipmentProtocolState.md delete mode 100644 libs/cloudapi/cloudsdk/docs/EquipmentProtocolStatusData.md delete mode 100644 libs/cloudapi/cloudsdk/docs/EquipmentRemovedEvent.md delete mode 100644 libs/cloudapi/cloudsdk/docs/EquipmentRoutingRecord.md delete mode 100644 libs/cloudapi/cloudsdk/docs/EquipmentRrmBulkUpdateItem.md delete mode 100644 libs/cloudapi/cloudsdk/docs/EquipmentRrmBulkUpdateItemPerRadioMap.md delete mode 100644 libs/cloudapi/cloudsdk/docs/EquipmentRrmBulkUpdateRequest.md delete mode 100644 libs/cloudapi/cloudsdk/docs/EquipmentScanDetails.md delete mode 100644 libs/cloudapi/cloudsdk/docs/EquipmentType.md delete mode 100644 libs/cloudapi/cloudsdk/docs/EquipmentUpgradeFailureReason.md delete mode 100644 libs/cloudapi/cloudsdk/docs/EquipmentUpgradeState.md delete mode 100644 libs/cloudapi/cloudsdk/docs/EquipmentUpgradeStatusData.md delete mode 100644 libs/cloudapi/cloudsdk/docs/EthernetLinkState.md delete mode 100644 libs/cloudapi/cloudsdk/docs/FileCategory.md delete mode 100644 libs/cloudapi/cloudsdk/docs/FileServicesApi.md delete mode 100644 libs/cloudapi/cloudsdk/docs/FileType.md delete mode 100644 libs/cloudapi/cloudsdk/docs/FirmwareManagementApi.md delete mode 100644 libs/cloudapi/cloudsdk/docs/FirmwareScheduleSetting.md delete mode 100644 libs/cloudapi/cloudsdk/docs/FirmwareTrackAssignmentDetails.md delete mode 100644 libs/cloudapi/cloudsdk/docs/FirmwareTrackAssignmentRecord.md delete mode 100644 libs/cloudapi/cloudsdk/docs/FirmwareTrackRecord.md delete mode 100644 libs/cloudapi/cloudsdk/docs/FirmwareValidationMethod.md delete mode 100644 libs/cloudapi/cloudsdk/docs/FirmwareVersion.md delete mode 100644 libs/cloudapi/cloudsdk/docs/GatewayAddedEvent.md delete mode 100644 libs/cloudapi/cloudsdk/docs/GatewayChangedEvent.md delete mode 100644 libs/cloudapi/cloudsdk/docs/GatewayRemovedEvent.md delete mode 100644 libs/cloudapi/cloudsdk/docs/GatewayType.md delete mode 100644 libs/cloudapi/cloudsdk/docs/GenericResponse.md delete mode 100644 libs/cloudapi/cloudsdk/docs/GreTunnelConfiguration.md delete mode 100644 libs/cloudapi/cloudsdk/docs/GuardInterval.md delete mode 100644 libs/cloudapi/cloudsdk/docs/IntegerPerRadioTypeMap.md delete mode 100644 libs/cloudapi/cloudsdk/docs/IntegerPerStatusCodeMap.md delete mode 100644 libs/cloudapi/cloudsdk/docs/IntegerStatusCodeMap.md delete mode 100644 libs/cloudapi/cloudsdk/docs/IntegerValueMap.md delete mode 100644 libs/cloudapi/cloudsdk/docs/JsonSerializedException.md delete mode 100644 libs/cloudapi/cloudsdk/docs/LinkQualityAggregatedStats.md delete mode 100644 libs/cloudapi/cloudsdk/docs/LinkQualityAggregatedStatsPerRadioTypeMap.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ListOfChannelInfoReportsPerRadioMap.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ListOfMacsPerRadioMap.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ListOfMcsStatsPerRadioMap.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ListOfRadioUtilizationPerRadioMap.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ListOfSsidStatisticsPerRadioMap.md delete mode 100644 libs/cloudapi/cloudsdk/docs/LocalTimeValue.md delete mode 100644 libs/cloudapi/cloudsdk/docs/Location.md delete mode 100644 libs/cloudapi/cloudsdk/docs/LocationActivityDetails.md delete mode 100644 libs/cloudapi/cloudsdk/docs/LocationActivityDetailsMap.md delete mode 100644 libs/cloudapi/cloudsdk/docs/LocationAddedEvent.md delete mode 100644 libs/cloudapi/cloudsdk/docs/LocationApi.md delete mode 100644 libs/cloudapi/cloudsdk/docs/LocationChangedEvent.md delete mode 100644 libs/cloudapi/cloudsdk/docs/LocationDetails.md delete mode 100644 libs/cloudapi/cloudsdk/docs/LocationRemovedEvent.md delete mode 100644 libs/cloudapi/cloudsdk/docs/LoginApi.md delete mode 100644 libs/cloudapi/cloudsdk/docs/LongPerRadioTypeMap.md delete mode 100644 libs/cloudapi/cloudsdk/docs/LongValueMap.md delete mode 100644 libs/cloudapi/cloudsdk/docs/MacAddress.md delete mode 100644 libs/cloudapi/cloudsdk/docs/MacAllowlistRecord.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ManagedFileInfo.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ManagementRate.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ManufacturerDetailsRecord.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ManufacturerOUIApi.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ManufacturerOuiDetails.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ManufacturerOuiDetailsPerOuiMap.md delete mode 100644 libs/cloudapi/cloudsdk/docs/MapOfWmmQueueStatsPerRadioMap.md delete mode 100644 libs/cloudapi/cloudsdk/docs/McsStats.md delete mode 100644 libs/cloudapi/cloudsdk/docs/McsType.md delete mode 100644 libs/cloudapi/cloudsdk/docs/MeshGroup.md delete mode 100644 libs/cloudapi/cloudsdk/docs/MeshGroupMember.md delete mode 100644 libs/cloudapi/cloudsdk/docs/MeshGroupProperty.md delete mode 100644 libs/cloudapi/cloudsdk/docs/MetricConfigParameterMap.md delete mode 100644 libs/cloudapi/cloudsdk/docs/MimoMode.md delete mode 100644 libs/cloudapi/cloudsdk/docs/MinMaxAvgValueInt.md delete mode 100644 libs/cloudapi/cloudsdk/docs/MinMaxAvgValueIntPerRadioMap.md delete mode 100644 libs/cloudapi/cloudsdk/docs/MulticastRate.md delete mode 100644 libs/cloudapi/cloudsdk/docs/NeighborScanPacketType.md delete mode 100644 libs/cloudapi/cloudsdk/docs/NeighbourReport.md delete mode 100644 libs/cloudapi/cloudsdk/docs/NeighbourScanReports.md delete mode 100644 libs/cloudapi/cloudsdk/docs/NeighbouringAPListConfiguration.md delete mode 100644 libs/cloudapi/cloudsdk/docs/NetworkAdminStatusData.md delete mode 100644 libs/cloudapi/cloudsdk/docs/NetworkAggregateStatusData.md delete mode 100644 libs/cloudapi/cloudsdk/docs/NetworkForwardMode.md delete mode 100644 libs/cloudapi/cloudsdk/docs/NetworkProbeMetrics.md delete mode 100644 libs/cloudapi/cloudsdk/docs/NetworkType.md delete mode 100644 libs/cloudapi/cloudsdk/docs/NoiseFloorDetails.md delete mode 100644 libs/cloudapi/cloudsdk/docs/NoiseFloorPerRadioDetails.md delete mode 100644 libs/cloudapi/cloudsdk/docs/NoiseFloorPerRadioDetailsMap.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ObssHopMode.md delete mode 100644 libs/cloudapi/cloudsdk/docs/OneOfEquipmentDetails.md delete mode 100644 libs/cloudapi/cloudsdk/docs/OneOfFirmwareScheduleSetting.md delete mode 100644 libs/cloudapi/cloudsdk/docs/OneOfProfileDetailsChildren.md delete mode 100644 libs/cloudapi/cloudsdk/docs/OneOfScheduleSetting.md delete mode 100644 libs/cloudapi/cloudsdk/docs/OneOfServiceMetricDetails.md delete mode 100644 libs/cloudapi/cloudsdk/docs/OneOfStatusDetails.md delete mode 100644 libs/cloudapi/cloudsdk/docs/OneOfSystemEvent.md delete mode 100644 libs/cloudapi/cloudsdk/docs/OperatingSystemPerformance.md delete mode 100644 libs/cloudapi/cloudsdk/docs/OriginatorType.md delete mode 100644 libs/cloudapi/cloudsdk/docs/PaginationContextAlarm.md delete mode 100644 libs/cloudapi/cloudsdk/docs/PaginationContextClient.md delete mode 100644 libs/cloudapi/cloudsdk/docs/PaginationContextClientSession.md delete mode 100644 libs/cloudapi/cloudsdk/docs/PaginationContextEquipment.md delete mode 100644 libs/cloudapi/cloudsdk/docs/PaginationContextLocation.md delete mode 100644 libs/cloudapi/cloudsdk/docs/PaginationContextPortalUser.md delete mode 100644 libs/cloudapi/cloudsdk/docs/PaginationContextProfile.md delete mode 100644 libs/cloudapi/cloudsdk/docs/PaginationContextServiceMetric.md delete mode 100644 libs/cloudapi/cloudsdk/docs/PaginationContextStatus.md delete mode 100644 libs/cloudapi/cloudsdk/docs/PaginationContextSystemEvent.md delete mode 100644 libs/cloudapi/cloudsdk/docs/PaginationResponseAlarm.md delete mode 100644 libs/cloudapi/cloudsdk/docs/PaginationResponseClient.md delete mode 100644 libs/cloudapi/cloudsdk/docs/PaginationResponseClientSession.md delete mode 100644 libs/cloudapi/cloudsdk/docs/PaginationResponseEquipment.md delete mode 100644 libs/cloudapi/cloudsdk/docs/PaginationResponseLocation.md delete mode 100644 libs/cloudapi/cloudsdk/docs/PaginationResponsePortalUser.md delete mode 100644 libs/cloudapi/cloudsdk/docs/PaginationResponseProfile.md delete mode 100644 libs/cloudapi/cloudsdk/docs/PaginationResponseServiceMetric.md delete mode 100644 libs/cloudapi/cloudsdk/docs/PaginationResponseStatus.md delete mode 100644 libs/cloudapi/cloudsdk/docs/PaginationResponseSystemEvent.md delete mode 100644 libs/cloudapi/cloudsdk/docs/PairLongLong.md delete mode 100644 libs/cloudapi/cloudsdk/docs/PasspointAccessNetworkType.md delete mode 100644 libs/cloudapi/cloudsdk/docs/PasspointConnectionCapabilitiesIpProtocol.md delete mode 100644 libs/cloudapi/cloudsdk/docs/PasspointConnectionCapabilitiesStatus.md delete mode 100644 libs/cloudapi/cloudsdk/docs/PasspointConnectionCapability.md delete mode 100644 libs/cloudapi/cloudsdk/docs/PasspointDuple.md delete mode 100644 libs/cloudapi/cloudsdk/docs/PasspointEapMethods.md delete mode 100644 libs/cloudapi/cloudsdk/docs/PasspointGasAddress3Behaviour.md delete mode 100644 libs/cloudapi/cloudsdk/docs/PasspointIPv4AddressType.md delete mode 100644 libs/cloudapi/cloudsdk/docs/PasspointIPv6AddressType.md delete mode 100644 libs/cloudapi/cloudsdk/docs/PasspointMccMnc.md delete mode 100644 libs/cloudapi/cloudsdk/docs/PasspointNaiRealmEapAuthInnerNonEap.md delete mode 100644 libs/cloudapi/cloudsdk/docs/PasspointNaiRealmEapAuthParam.md delete mode 100644 libs/cloudapi/cloudsdk/docs/PasspointNaiRealmEapCredType.md delete mode 100644 libs/cloudapi/cloudsdk/docs/PasspointNaiRealmEncoding.md delete mode 100644 libs/cloudapi/cloudsdk/docs/PasspointNaiRealmInformation.md delete mode 100644 libs/cloudapi/cloudsdk/docs/PasspointNetworkAuthenticationType.md delete mode 100644 libs/cloudapi/cloudsdk/docs/PasspointOperatorProfile.md delete mode 100644 libs/cloudapi/cloudsdk/docs/PasspointOsuIcon.md delete mode 100644 libs/cloudapi/cloudsdk/docs/PasspointOsuProviderProfile.md delete mode 100644 libs/cloudapi/cloudsdk/docs/PasspointProfile.md delete mode 100644 libs/cloudapi/cloudsdk/docs/PasspointVenueName.md delete mode 100644 libs/cloudapi/cloudsdk/docs/PasspointVenueProfile.md delete mode 100644 libs/cloudapi/cloudsdk/docs/PasspointVenueTypeAssignment.md delete mode 100644 libs/cloudapi/cloudsdk/docs/PeerInfo.md delete mode 100644 libs/cloudapi/cloudsdk/docs/PerProcessUtilization.md delete mode 100644 libs/cloudapi/cloudsdk/docs/PingResponse.md delete mode 100644 libs/cloudapi/cloudsdk/docs/PortalUser.md delete mode 100644 libs/cloudapi/cloudsdk/docs/PortalUserAddedEvent.md delete mode 100644 libs/cloudapi/cloudsdk/docs/PortalUserChangedEvent.md delete mode 100644 libs/cloudapi/cloudsdk/docs/PortalUserRemovedEvent.md delete mode 100644 libs/cloudapi/cloudsdk/docs/PortalUserRole.md delete mode 100644 libs/cloudapi/cloudsdk/docs/PortalUsersApi.md delete mode 100644 libs/cloudapi/cloudsdk/docs/Profile.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ProfileAddedEvent.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ProfileApi.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ProfileChangedEvent.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ProfileDetails.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ProfileDetailsChildren.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ProfileRemovedEvent.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ProfileType.md delete mode 100644 libs/cloudapi/cloudsdk/docs/RadioBasedSsidConfiguration.md delete mode 100644 libs/cloudapi/cloudsdk/docs/RadioBasedSsidConfigurationMap.md delete mode 100644 libs/cloudapi/cloudsdk/docs/RadioBestApSettings.md delete mode 100644 libs/cloudapi/cloudsdk/docs/RadioChannelChangeSettings.md delete mode 100644 libs/cloudapi/cloudsdk/docs/RadioConfiguration.md delete mode 100644 libs/cloudapi/cloudsdk/docs/RadioMap.md delete mode 100644 libs/cloudapi/cloudsdk/docs/RadioMode.md delete mode 100644 libs/cloudapi/cloudsdk/docs/RadioProfileConfiguration.md delete mode 100644 libs/cloudapi/cloudsdk/docs/RadioProfileConfigurationMap.md delete mode 100644 libs/cloudapi/cloudsdk/docs/RadioStatistics.md delete mode 100644 libs/cloudapi/cloudsdk/docs/RadioStatisticsPerRadioMap.md delete mode 100644 libs/cloudapi/cloudsdk/docs/RadioType.md delete mode 100644 libs/cloudapi/cloudsdk/docs/RadioUtilization.md delete mode 100644 libs/cloudapi/cloudsdk/docs/RadioUtilizationDetails.md delete mode 100644 libs/cloudapi/cloudsdk/docs/RadioUtilizationPerRadioDetails.md delete mode 100644 libs/cloudapi/cloudsdk/docs/RadioUtilizationPerRadioDetailsMap.md delete mode 100644 libs/cloudapi/cloudsdk/docs/RadioUtilizationReport.md delete mode 100644 libs/cloudapi/cloudsdk/docs/RadiusAuthenticationMethod.md delete mode 100644 libs/cloudapi/cloudsdk/docs/RadiusDetails.md delete mode 100644 libs/cloudapi/cloudsdk/docs/RadiusMetrics.md delete mode 100644 libs/cloudapi/cloudsdk/docs/RadiusNasConfiguration.md delete mode 100644 libs/cloudapi/cloudsdk/docs/RadiusProfile.md delete mode 100644 libs/cloudapi/cloudsdk/docs/RadiusServer.md delete mode 100644 libs/cloudapi/cloudsdk/docs/RadiusServerDetails.md delete mode 100644 libs/cloudapi/cloudsdk/docs/RealTimeEvent.md delete mode 100644 libs/cloudapi/cloudsdk/docs/RealTimeSipCallEventWithStats.md delete mode 100644 libs/cloudapi/cloudsdk/docs/RealTimeSipCallReportEvent.md delete mode 100644 libs/cloudapi/cloudsdk/docs/RealTimeSipCallStartEvent.md delete mode 100644 libs/cloudapi/cloudsdk/docs/RealTimeSipCallStopEvent.md delete mode 100644 libs/cloudapi/cloudsdk/docs/RealTimeStreamingStartEvent.md delete mode 100644 libs/cloudapi/cloudsdk/docs/RealTimeStreamingStartSessionEvent.md delete mode 100644 libs/cloudapi/cloudsdk/docs/RealTimeStreamingStopEvent.md delete mode 100644 libs/cloudapi/cloudsdk/docs/RealtimeChannelHopEvent.md delete mode 100644 libs/cloudapi/cloudsdk/docs/RfConfigMap.md delete mode 100644 libs/cloudapi/cloudsdk/docs/RfConfiguration.md delete mode 100644 libs/cloudapi/cloudsdk/docs/RfElementConfiguration.md delete mode 100644 libs/cloudapi/cloudsdk/docs/RoutingAddedEvent.md delete mode 100644 libs/cloudapi/cloudsdk/docs/RoutingChangedEvent.md delete mode 100644 libs/cloudapi/cloudsdk/docs/RoutingRemovedEvent.md delete mode 100644 libs/cloudapi/cloudsdk/docs/RrmBulkUpdateApDetails.md delete mode 100644 libs/cloudapi/cloudsdk/docs/RtlsSettings.md delete mode 100644 libs/cloudapi/cloudsdk/docs/RtpFlowDirection.md delete mode 100644 libs/cloudapi/cloudsdk/docs/RtpFlowStats.md delete mode 100644 libs/cloudapi/cloudsdk/docs/RtpFlowType.md delete mode 100644 libs/cloudapi/cloudsdk/docs/SIPCallReportReason.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ScheduleSetting.md delete mode 100644 libs/cloudapi/cloudsdk/docs/SecurityType.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ServiceAdoptionMetrics.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ServiceAdoptionMetricsApi.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ServiceMetric.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ServiceMetricConfigParameters.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ServiceMetricDataType.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ServiceMetricDetails.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ServiceMetricRadioConfigParameters.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ServiceMetricSurveyConfigParameters.md delete mode 100644 libs/cloudapi/cloudsdk/docs/ServiceMetricsCollectionConfigProfile.md delete mode 100644 libs/cloudapi/cloudsdk/docs/SessionExpiryType.md delete mode 100644 libs/cloudapi/cloudsdk/docs/SipCallStopReason.md delete mode 100644 libs/cloudapi/cloudsdk/docs/SortColumnsAlarm.md delete mode 100644 libs/cloudapi/cloudsdk/docs/SortColumnsClient.md delete mode 100644 libs/cloudapi/cloudsdk/docs/SortColumnsClientSession.md delete mode 100644 libs/cloudapi/cloudsdk/docs/SortColumnsEquipment.md delete mode 100644 libs/cloudapi/cloudsdk/docs/SortColumnsLocation.md delete mode 100644 libs/cloudapi/cloudsdk/docs/SortColumnsPortalUser.md delete mode 100644 libs/cloudapi/cloudsdk/docs/SortColumnsProfile.md delete mode 100644 libs/cloudapi/cloudsdk/docs/SortColumnsServiceMetric.md delete mode 100644 libs/cloudapi/cloudsdk/docs/SortColumnsStatus.md delete mode 100644 libs/cloudapi/cloudsdk/docs/SortColumnsSystemEvent.md delete mode 100644 libs/cloudapi/cloudsdk/docs/SortOrder.md delete mode 100644 libs/cloudapi/cloudsdk/docs/SourceSelectionManagement.md delete mode 100644 libs/cloudapi/cloudsdk/docs/SourceSelectionMulticast.md delete mode 100644 libs/cloudapi/cloudsdk/docs/SourceSelectionSteering.md delete mode 100644 libs/cloudapi/cloudsdk/docs/SourceSelectionValue.md delete mode 100644 libs/cloudapi/cloudsdk/docs/SourceType.md delete mode 100644 libs/cloudapi/cloudsdk/docs/SsidConfiguration.md delete mode 100644 libs/cloudapi/cloudsdk/docs/SsidSecureMode.md delete mode 100644 libs/cloudapi/cloudsdk/docs/SsidStatistics.md delete mode 100644 libs/cloudapi/cloudsdk/docs/StateSetting.md delete mode 100644 libs/cloudapi/cloudsdk/docs/StateUpDownError.md delete mode 100644 libs/cloudapi/cloudsdk/docs/StatsReportFormat.md delete mode 100644 libs/cloudapi/cloudsdk/docs/Status.md delete mode 100644 libs/cloudapi/cloudsdk/docs/StatusApi.md delete mode 100644 libs/cloudapi/cloudsdk/docs/StatusChangedEvent.md delete mode 100644 libs/cloudapi/cloudsdk/docs/StatusCode.md delete mode 100644 libs/cloudapi/cloudsdk/docs/StatusDataType.md delete mode 100644 libs/cloudapi/cloudsdk/docs/StatusDetails.md delete mode 100644 libs/cloudapi/cloudsdk/docs/StatusRemovedEvent.md delete mode 100644 libs/cloudapi/cloudsdk/docs/SteerType.md delete mode 100644 libs/cloudapi/cloudsdk/docs/StreamingVideoServerRecord.md delete mode 100644 libs/cloudapi/cloudsdk/docs/StreamingVideoType.md delete mode 100644 libs/cloudapi/cloudsdk/docs/SyslogRelay.md delete mode 100644 libs/cloudapi/cloudsdk/docs/SyslogSeverityType.md delete mode 100644 libs/cloudapi/cloudsdk/docs/SystemEvent.md delete mode 100644 libs/cloudapi/cloudsdk/docs/SystemEventDataType.md delete mode 100644 libs/cloudapi/cloudsdk/docs/SystemEventRecord.md delete mode 100644 libs/cloudapi/cloudsdk/docs/SystemEventsApi.md delete mode 100644 libs/cloudapi/cloudsdk/docs/TimedAccessUserDetails.md delete mode 100644 libs/cloudapi/cloudsdk/docs/TimedAccessUserRecord.md delete mode 100644 libs/cloudapi/cloudsdk/docs/TrackFlag.md delete mode 100644 libs/cloudapi/cloudsdk/docs/TrafficDetails.md delete mode 100644 libs/cloudapi/cloudsdk/docs/TrafficPerRadioDetails.md delete mode 100644 libs/cloudapi/cloudsdk/docs/TrafficPerRadioDetailsPerRadioTypeMap.md delete mode 100644 libs/cloudapi/cloudsdk/docs/TunnelIndicator.md delete mode 100644 libs/cloudapi/cloudsdk/docs/TunnelMetricData.md delete mode 100644 libs/cloudapi/cloudsdk/docs/UnserializableSystemEvent.md delete mode 100644 libs/cloudapi/cloudsdk/docs/UserDetails.md delete mode 100644 libs/cloudapi/cloudsdk/docs/VLANStatusData.md delete mode 100644 libs/cloudapi/cloudsdk/docs/VLANStatusDataMap.md delete mode 100644 libs/cloudapi/cloudsdk/docs/VlanSubnet.md delete mode 100644 libs/cloudapi/cloudsdk/docs/WLANServiceMetricsApi.md delete mode 100644 libs/cloudapi/cloudsdk/docs/WebTokenAclTemplate.md delete mode 100644 libs/cloudapi/cloudsdk/docs/WebTokenRequest.md delete mode 100644 libs/cloudapi/cloudsdk/docs/WebTokenResult.md delete mode 100644 libs/cloudapi/cloudsdk/docs/WepAuthType.md delete mode 100644 libs/cloudapi/cloudsdk/docs/WepConfiguration.md delete mode 100644 libs/cloudapi/cloudsdk/docs/WepKey.md delete mode 100644 libs/cloudapi/cloudsdk/docs/WepType.md delete mode 100644 libs/cloudapi/cloudsdk/docs/WlanReasonCode.md delete mode 100644 libs/cloudapi/cloudsdk/docs/WlanStatusCode.md delete mode 100644 libs/cloudapi/cloudsdk/docs/WmmQueueStats.md delete mode 100644 libs/cloudapi/cloudsdk/docs/WmmQueueStatsPerQueueTypeMap.md delete mode 100644 libs/cloudapi/cloudsdk/docs/WmmQueueType.md delete mode 100644 libs/cloudapi/cloudsdk/git_push.sh delete mode 100644 libs/cloudapi/cloudsdk/requirements.txt delete mode 100644 libs/cloudapi/cloudsdk/setup.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/__init__.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/api/__init__.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/api/alarms_api.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/api/clients_api.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/api/customer_api.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/api/equipment_api.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/api/equipment_gateway_api.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/api/file_services_api.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/api/firmware_management_api.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/api/location_api.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/api/login_api.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/api/manufacturer_oui_api.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/api/portal_users_api.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/api/profile_api.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/api/service_adoption_metrics_api.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/api/status_api.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/api/system_events_api.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/api/wlan_service_metrics_api.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/api_client.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/configuration.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/__init__.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/acl_template.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/active_bssi_ds.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/active_bssid.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/active_scan_settings.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/advanced_radio_map.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/alarm.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/alarm_added_event.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/alarm_changed_event.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/alarm_code.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/alarm_counts.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/alarm_details.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/alarm_details_attributes_map.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/alarm_removed_event.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/alarm_scope_type.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/antenna_type.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/ap_element_configuration.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/ap_mesh_mode.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/ap_network_configuration.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/ap_network_configuration_ntp_server.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/ap_node_metrics.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/ap_performance.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/ap_ssid_metrics.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/auto_or_manual_string.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/auto_or_manual_value.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/background_position.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/background_repeat.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/banned_channel.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/base_dhcp_event.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/best_ap_steer_type.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/blocklist_details.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/bonjour_gateway_profile.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/bonjour_service_set.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/capacity_details.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/capacity_per_radio_details.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/capacity_per_radio_details_map.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/captive_portal_authentication_type.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/captive_portal_configuration.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/channel_bandwidth.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/channel_hop_reason.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/channel_hop_settings.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/channel_info.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/channel_info_reports.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/channel_power_level.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/channel_utilization_details.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/channel_utilization_per_radio_details.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/channel_utilization_per_radio_details_map.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/channel_utilization_survey_type.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/client.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/client_activity_aggregated_stats.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/client_activity_aggregated_stats_per_radio_type_map.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/client_added_event.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/client_assoc_event.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/client_auth_event.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/client_changed_event.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/client_connect_success_event.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/client_connection_details.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/client_dhcp_details.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/client_disconnect_event.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/client_eap_details.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/client_failure_details.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/client_failure_event.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/client_first_data_event.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/client_id_event.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/client_info_details.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/client_ip_address_event.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/client_metrics.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/client_removed_event.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/client_session.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/client_session_changed_event.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/client_session_details.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/client_session_metric_details.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/client_session_removed_event.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/client_timeout_event.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/client_timeout_reason.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/common_probe_details.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/country_code.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/counts_per_alarm_code_map.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/counts_per_equipment_id_per_alarm_code_map.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/customer.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/customer_added_event.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/customer_changed_event.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/customer_details.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/customer_firmware_track_record.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/customer_firmware_track_settings.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/customer_portal_dashboard_status.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/customer_removed_event.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/daily_time_range_schedule.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/day_of_week.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/days_of_week_time_range_schedule.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/deployment_type.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/detected_auth_mode.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/device_mode.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/dhcp_ack_event.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/dhcp_decline_event.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/dhcp_discover_event.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/dhcp_inform_event.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/dhcp_nak_event.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/dhcp_offer_event.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/dhcp_request_event.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/disconnect_frame_type.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/disconnect_initiator.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/dns_probe_metric.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/dynamic_vlan_mode.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/element_radio_configuration.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/element_radio_configuration_eirp_tx_power.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/empty_schedule.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/equipment.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/equipment_added_event.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/equipment_admin_status_data.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/equipment_auto_provisioning_settings.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/equipment_capacity_details.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/equipment_capacity_details_map.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/equipment_changed_event.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/equipment_details.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/equipment_gateway_record.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/equipment_lan_status_data.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/equipment_neighbouring_status_data.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/equipment_peer_status_data.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/equipment_per_radio_utilization_details.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/equipment_per_radio_utilization_details_map.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/equipment_performance_details.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/equipment_protocol_state.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/equipment_protocol_status_data.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/equipment_removed_event.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/equipment_routing_record.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/equipment_rrm_bulk_update_item.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/equipment_rrm_bulk_update_item_per_radio_map.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/equipment_rrm_bulk_update_request.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/equipment_scan_details.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/equipment_type.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/equipment_upgrade_failure_reason.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/equipment_upgrade_state.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/equipment_upgrade_status_data.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/ethernet_link_state.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/file_category.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/file_type.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/firmware_schedule_setting.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/firmware_track_assignment_details.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/firmware_track_assignment_record.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/firmware_track_record.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/firmware_validation_method.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/firmware_version.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/gateway_added_event.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/gateway_changed_event.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/gateway_removed_event.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/gateway_type.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/generic_response.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/gre_tunnel_configuration.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/guard_interval.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/integer_per_radio_type_map.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/integer_per_status_code_map.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/integer_status_code_map.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/integer_value_map.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/json_serialized_exception.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/link_quality_aggregated_stats.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/link_quality_aggregated_stats_per_radio_type_map.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/list_of_channel_info_reports_per_radio_map.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/list_of_macs_per_radio_map.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/list_of_mcs_stats_per_radio_map.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/list_of_radio_utilization_per_radio_map.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/list_of_ssid_statistics_per_radio_map.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/local_time_value.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/location.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/location_activity_details.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/location_activity_details_map.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/location_added_event.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/location_changed_event.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/location_details.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/location_removed_event.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/long_per_radio_type_map.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/long_value_map.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/mac_address.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/mac_allowlist_record.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/managed_file_info.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/management_rate.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/manufacturer_details_record.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/manufacturer_oui_details.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/manufacturer_oui_details_per_oui_map.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/map_of_wmm_queue_stats_per_radio_map.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/mcs_stats.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/mcs_type.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/mesh_group.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/mesh_group_member.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/mesh_group_property.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/metric_config_parameter_map.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/mimo_mode.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/min_max_avg_value_int.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/min_max_avg_value_int_per_radio_map.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/multicast_rate.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/neighbor_scan_packet_type.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/neighbour_report.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/neighbour_scan_reports.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/neighbouring_ap_list_configuration.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/network_admin_status_data.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/network_aggregate_status_data.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/network_forward_mode.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/network_probe_metrics.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/network_type.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/noise_floor_details.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/noise_floor_per_radio_details.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/noise_floor_per_radio_details_map.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/obss_hop_mode.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/one_of_equipment_details.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/one_of_firmware_schedule_setting.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/one_of_profile_details_children.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/one_of_schedule_setting.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/one_of_service_metric_details.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/one_of_status_details.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/one_of_system_event.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/operating_system_performance.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/originator_type.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_alarm.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_client.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_client_session.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_equipment.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_location.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_portal_user.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_profile.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_service_metric.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_status.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_system_event.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_alarm.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_client.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_client_session.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_equipment.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_location.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_portal_user.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_profile.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_service_metric.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_status.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_system_event.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/pair_long_long.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/passpoint_access_network_type.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/passpoint_connection_capabilities_ip_protocol.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/passpoint_connection_capabilities_status.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/passpoint_connection_capability.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/passpoint_duple.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/passpoint_eap_methods.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/passpoint_gas_address3_behaviour.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/passpoint_i_pv4_address_type.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/passpoint_i_pv6_address_type.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/passpoint_mcc_mnc.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/passpoint_nai_realm_eap_auth_inner_non_eap.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/passpoint_nai_realm_eap_auth_param.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/passpoint_nai_realm_eap_cred_type.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/passpoint_nai_realm_encoding.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/passpoint_nai_realm_information.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/passpoint_network_authentication_type.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/passpoint_operator_profile.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/passpoint_osu_icon.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/passpoint_osu_provider_profile.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/passpoint_profile.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/passpoint_venue_name.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/passpoint_venue_profile.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/passpoint_venue_type_assignment.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/peer_info.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/per_process_utilization.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/ping_response.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/portal_user.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/portal_user_added_event.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/portal_user_changed_event.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/portal_user_removed_event.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/portal_user_role.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/profile.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/profile_added_event.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/profile_changed_event.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/profile_details.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/profile_details_children.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/profile_removed_event.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/profile_type.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/radio_based_ssid_configuration.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/radio_based_ssid_configuration_map.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/radio_best_ap_settings.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/radio_channel_change_settings.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/radio_configuration.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/radio_map.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/radio_mode.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/radio_profile_configuration.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/radio_profile_configuration_map.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/radio_statistics.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/radio_statistics_per_radio_map.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/radio_type.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/radio_utilization.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/radio_utilization_details.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/radio_utilization_per_radio_details.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/radio_utilization_per_radio_details_map.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/radio_utilization_report.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/radius_authentication_method.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/radius_details.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/radius_metrics.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/radius_nas_configuration.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/radius_profile.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/radius_server.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/radius_server_details.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/real_time_event.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/real_time_sip_call_event_with_stats.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/real_time_sip_call_report_event.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/real_time_sip_call_start_event.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/real_time_sip_call_stop_event.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/real_time_streaming_start_event.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/real_time_streaming_start_session_event.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/real_time_streaming_stop_event.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/realtime_channel_hop_event.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/rf_config_map.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/rf_configuration.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/rf_element_configuration.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/routing_added_event.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/routing_changed_event.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/routing_removed_event.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/rrm_bulk_update_ap_details.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/rtls_settings.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/rtp_flow_direction.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/rtp_flow_stats.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/rtp_flow_type.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/schedule_setting.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/security_type.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/service_adoption_metrics.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/service_metric.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/service_metric_config_parameters.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/service_metric_data_type.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/service_metric_details.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/service_metric_radio_config_parameters.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/service_metric_survey_config_parameters.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/service_metrics_collection_config_profile.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/session_expiry_type.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/sip_call_report_reason.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/sip_call_stop_reason.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_alarm.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_client.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_client_session.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_equipment.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_location.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_portal_user.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_profile.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_service_metric.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_status.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_system_event.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/sort_order.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/source_selection_management.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/source_selection_multicast.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/source_selection_steering.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/source_selection_value.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/source_type.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/ssid_configuration.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/ssid_secure_mode.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/ssid_statistics.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/state_setting.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/state_up_down_error.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/stats_report_format.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/status.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/status_changed_event.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/status_code.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/status_data_type.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/status_details.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/status_removed_event.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/steer_type.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/streaming_video_server_record.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/streaming_video_type.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/syslog_relay.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/syslog_severity_type.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/system_event.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/system_event_data_type.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/system_event_record.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/timed_access_user_details.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/timed_access_user_record.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/track_flag.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/traffic_details.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/traffic_per_radio_details.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/traffic_per_radio_details_per_radio_type_map.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/tunnel_indicator.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/tunnel_metric_data.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/unserializable_system_event.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/user_details.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/vlan_status_data.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/vlan_status_data_map.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/vlan_subnet.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/web_token_acl_template.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/web_token_request.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/web_token_result.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/wep_auth_type.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/wep_configuration.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/wep_key.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/wep_type.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/wlan_reason_code.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/wlan_status_code.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/wmm_queue_stats.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/wmm_queue_stats_per_queue_type_map.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/models/wmm_queue_type.py delete mode 100644 libs/cloudapi/cloudsdk/swagger_client/rest.py delete mode 100644 libs/cloudapi/cloudsdk/test-requirements.txt delete mode 100644 libs/cloudapi/cloudsdk/test/__init__.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_acl_template.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_active_bssi_ds.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_active_bssid.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_active_scan_settings.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_advanced_radio_map.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_alarm.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_alarm_added_event.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_alarm_changed_event.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_alarm_code.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_alarm_counts.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_alarm_details.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_alarm_details_attributes_map.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_alarm_removed_event.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_alarm_scope_type.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_alarms_api.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_antenna_type.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_ap_element_configuration.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_ap_mesh_mode.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_ap_network_configuration.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_ap_network_configuration_ntp_server.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_ap_node_metrics.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_ap_performance.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_ap_ssid_metrics.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_auto_or_manual_string.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_auto_or_manual_value.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_background_position.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_background_repeat.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_banned_channel.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_base_dhcp_event.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_best_ap_steer_type.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_blocklist_details.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_bonjour_gateway_profile.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_bonjour_service_set.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_capacity_details.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_capacity_per_radio_details.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_capacity_per_radio_details_map.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_captive_portal_authentication_type.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_captive_portal_configuration.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_channel_bandwidth.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_channel_hop_reason.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_channel_hop_settings.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_channel_info.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_channel_info_reports.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_channel_power_level.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_channel_utilization_details.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_channel_utilization_per_radio_details.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_channel_utilization_per_radio_details_map.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_channel_utilization_survey_type.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_client.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_client_activity_aggregated_stats.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_client_activity_aggregated_stats_per_radio_type_map.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_client_added_event.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_client_assoc_event.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_client_auth_event.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_client_changed_event.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_client_connect_success_event.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_client_connection_details.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_client_dhcp_details.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_client_disconnect_event.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_client_eap_details.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_client_failure_details.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_client_failure_event.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_client_first_data_event.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_client_id_event.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_client_info_details.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_client_ip_address_event.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_client_metrics.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_client_removed_event.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_client_session.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_client_session_changed_event.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_client_session_details.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_client_session_metric_details.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_client_session_removed_event.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_client_timeout_event.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_client_timeout_reason.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_clients_api.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_common_probe_details.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_country_code.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_counts_per_alarm_code_map.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_counts_per_equipment_id_per_alarm_code_map.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_customer.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_customer_added_event.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_customer_api.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_customer_changed_event.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_customer_details.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_customer_firmware_track_record.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_customer_firmware_track_settings.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_customer_portal_dashboard_status.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_customer_removed_event.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_daily_time_range_schedule.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_day_of_week.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_days_of_week_time_range_schedule.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_deployment_type.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_detected_auth_mode.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_device_mode.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_dhcp_ack_event.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_dhcp_decline_event.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_dhcp_discover_event.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_dhcp_inform_event.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_dhcp_nak_event.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_dhcp_offer_event.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_dhcp_request_event.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_disconnect_frame_type.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_disconnect_initiator.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_dns_probe_metric.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_dynamic_vlan_mode.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_element_radio_configuration.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_element_radio_configuration_eirp_tx_power.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_empty_schedule.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_equipment.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_equipment_added_event.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_equipment_admin_status_data.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_equipment_api.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_equipment_auto_provisioning_settings.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_equipment_capacity_details.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_equipment_capacity_details_map.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_equipment_changed_event.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_equipment_details.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_equipment_gateway_api.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_equipment_gateway_record.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_equipment_lan_status_data.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_equipment_neighbouring_status_data.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_equipment_peer_status_data.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_equipment_per_radio_utilization_details.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_equipment_per_radio_utilization_details_map.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_equipment_performance_details.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_equipment_protocol_state.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_equipment_protocol_status_data.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_equipment_removed_event.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_equipment_routing_record.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_equipment_rrm_bulk_update_item.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_equipment_rrm_bulk_update_item_per_radio_map.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_equipment_rrm_bulk_update_request.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_equipment_scan_details.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_equipment_type.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_equipment_upgrade_failure_reason.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_equipment_upgrade_state.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_equipment_upgrade_status_data.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_ethernet_link_state.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_file_category.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_file_services_api.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_file_type.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_firmware_management_api.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_firmware_schedule_setting.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_firmware_track_assignment_details.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_firmware_track_assignment_record.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_firmware_track_record.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_firmware_validation_method.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_firmware_version.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_gateway_added_event.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_gateway_changed_event.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_gateway_removed_event.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_gateway_type.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_generic_response.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_gre_tunnel_configuration.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_guard_interval.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_integer_per_radio_type_map.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_integer_per_status_code_map.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_integer_status_code_map.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_integer_value_map.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_json_serialized_exception.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_link_quality_aggregated_stats.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_link_quality_aggregated_stats_per_radio_type_map.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_list_of_channel_info_reports_per_radio_map.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_list_of_macs_per_radio_map.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_list_of_mcs_stats_per_radio_map.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_list_of_radio_utilization_per_radio_map.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_list_of_ssid_statistics_per_radio_map.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_local_time_value.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_location.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_location_activity_details.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_location_activity_details_map.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_location_added_event.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_location_api.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_location_changed_event.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_location_details.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_location_removed_event.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_login_api.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_long_per_radio_type_map.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_long_value_map.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_mac_address.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_mac_allowlist_record.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_managed_file_info.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_management_rate.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_manufacturer_details_record.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_manufacturer_oui_api.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_manufacturer_oui_details.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_manufacturer_oui_details_per_oui_map.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_map_of_wmm_queue_stats_per_radio_map.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_mcs_stats.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_mcs_type.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_mesh_group.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_mesh_group_member.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_mesh_group_property.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_metric_config_parameter_map.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_mimo_mode.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_min_max_avg_value_int.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_min_max_avg_value_int_per_radio_map.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_multicast_rate.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_neighbor_scan_packet_type.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_neighbour_report.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_neighbour_scan_reports.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_neighbouring_ap_list_configuration.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_network_admin_status_data.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_network_aggregate_status_data.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_network_forward_mode.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_network_probe_metrics.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_network_type.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_noise_floor_details.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_noise_floor_per_radio_details.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_noise_floor_per_radio_details_map.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_obss_hop_mode.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_one_of_equipment_details.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_one_of_firmware_schedule_setting.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_one_of_profile_details_children.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_one_of_schedule_setting.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_one_of_service_metric_details.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_one_of_status_details.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_one_of_system_event.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_operating_system_performance.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_originator_type.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_pagination_context_alarm.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_pagination_context_client.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_pagination_context_client_session.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_pagination_context_equipment.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_pagination_context_location.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_pagination_context_portal_user.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_pagination_context_profile.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_pagination_context_service_metric.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_pagination_context_status.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_pagination_context_system_event.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_pagination_response_alarm.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_pagination_response_client.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_pagination_response_client_session.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_pagination_response_equipment.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_pagination_response_location.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_pagination_response_portal_user.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_pagination_response_profile.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_pagination_response_service_metric.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_pagination_response_status.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_pagination_response_system_event.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_pair_long_long.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_passpoint_access_network_type.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_passpoint_connection_capabilities_ip_protocol.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_passpoint_connection_capabilities_status.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_passpoint_connection_capability.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_passpoint_duple.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_passpoint_eap_methods.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_passpoint_gas_address3_behaviour.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_passpoint_i_pv4_address_type.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_passpoint_i_pv6_address_type.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_passpoint_mcc_mnc.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_passpoint_nai_realm_eap_auth_inner_non_eap.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_passpoint_nai_realm_eap_auth_param.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_passpoint_nai_realm_eap_cred_type.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_passpoint_nai_realm_encoding.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_passpoint_nai_realm_information.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_passpoint_network_authentication_type.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_passpoint_operator_profile.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_passpoint_osu_icon.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_passpoint_osu_provider_profile.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_passpoint_profile.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_passpoint_venue_name.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_passpoint_venue_profile.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_passpoint_venue_type_assignment.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_peer_info.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_per_process_utilization.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_ping_response.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_portal_user.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_portal_user_added_event.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_portal_user_changed_event.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_portal_user_removed_event.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_portal_user_role.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_portal_users_api.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_profile.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_profile_added_event.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_profile_api.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_profile_changed_event.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_profile_details.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_profile_details_children.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_profile_removed_event.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_profile_type.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_radio_based_ssid_configuration.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_radio_based_ssid_configuration_map.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_radio_best_ap_settings.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_radio_channel_change_settings.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_radio_configuration.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_radio_map.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_radio_mode.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_radio_profile_configuration.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_radio_profile_configuration_map.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_radio_statistics.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_radio_statistics_per_radio_map.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_radio_type.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_radio_utilization.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_radio_utilization_details.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_radio_utilization_per_radio_details.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_radio_utilization_per_radio_details_map.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_radio_utilization_report.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_radius_authentication_method.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_radius_details.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_radius_metrics.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_radius_nas_configuration.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_radius_profile.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_radius_server.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_radius_server_details.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_real_time_event.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_real_time_sip_call_event_with_stats.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_real_time_sip_call_report_event.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_real_time_sip_call_start_event.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_real_time_sip_call_stop_event.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_real_time_streaming_start_event.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_real_time_streaming_start_session_event.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_real_time_streaming_stop_event.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_realtime_channel_hop_event.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_rf_config_map.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_rf_configuration.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_rf_element_configuration.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_routing_added_event.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_routing_changed_event.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_routing_removed_event.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_rrm_bulk_update_ap_details.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_rtls_settings.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_rtp_flow_direction.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_rtp_flow_stats.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_rtp_flow_type.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_schedule_setting.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_security_type.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_service_adoption_metrics.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_service_adoption_metrics_api.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_service_metric.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_service_metric_config_parameters.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_service_metric_data_type.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_service_metric_details.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_service_metric_radio_config_parameters.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_service_metric_survey_config_parameters.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_service_metrics_collection_config_profile.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_session_expiry_type.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_sip_call_report_reason.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_sip_call_stop_reason.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_sort_columns_alarm.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_sort_columns_client.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_sort_columns_client_session.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_sort_columns_equipment.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_sort_columns_location.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_sort_columns_portal_user.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_sort_columns_profile.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_sort_columns_service_metric.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_sort_columns_status.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_sort_columns_system_event.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_sort_order.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_source_selection_management.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_source_selection_multicast.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_source_selection_steering.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_source_selection_value.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_source_type.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_ssid_configuration.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_ssid_secure_mode.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_ssid_statistics.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_state_setting.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_state_up_down_error.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_stats_report_format.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_status.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_status_api.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_status_changed_event.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_status_code.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_status_data_type.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_status_details.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_status_removed_event.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_steer_type.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_streaming_video_server_record.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_streaming_video_type.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_syslog_relay.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_syslog_severity_type.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_system_event.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_system_event_data_type.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_system_event_record.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_system_events_api.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_timed_access_user_details.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_timed_access_user_record.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_track_flag.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_traffic_details.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_traffic_per_radio_details.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_traffic_per_radio_details_per_radio_type_map.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_tunnel_indicator.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_tunnel_metric_data.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_unserializable_system_event.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_user_details.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_vlan_status_data.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_vlan_status_data_map.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_vlan_subnet.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_web_token_acl_template.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_web_token_request.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_web_token_result.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_wep_auth_type.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_wep_configuration.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_wep_key.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_wep_type.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_wlan_reason_code.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_wlan_service_metrics_api.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_wlan_status_code.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_wmm_queue_stats.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_wmm_queue_stats_per_queue_type_map.py delete mode 100644 libs/cloudapi/cloudsdk/test/test_wmm_queue_type.py delete mode 100644 libs/cloudapi/cloudsdk/tox.ini mode change 100755 => 100644 libs/cloudsdk/cloudsdk.py create mode 100644 libs/cloudsdk/requirements.txt diff --git a/libs/cloudapi/cloud_utility/cloud_connectivity.py b/libs/cloudapi/cloud_utility/cloud_connectivity.py deleted file mode 100644 index 832d23475..000000000 --- a/libs/cloudapi/cloud_utility/cloud_connectivity.py +++ /dev/null @@ -1,72 +0,0 @@ -""" -cloud_connectivity.py : - -ConnectCloud : has methods to invoke the connections to the cloud constructor - default constructor of ConnectCloud class (args: testbed-name) -get_bearer() : It is called by default from the constructor itself. bearer gets expired in 3000 seconds -refresh_bearer() : It is used to refresh the Connectivity. It can be used for Long test runs - -""" - -import sys - -if "cloudsdk" not in sys.path: - sys.path.append("../cloudsdk") - -from swagger_client.api.login_api import LoginApi -from swagger_client.api.equipment_api import EquipmentApi -from swagger_client.api_client import ApiClient - -# Testbed name and its respective urls, Modify and add accordingly -cloud_sdk_base_urls = { - "nola-01": "https://wlan-portal-svc-nola-01.cicd.lab.wlan.tip.build", - "nola-02": "https://wlan-portal-svc-nola-02.cicd.lab.wlan.tip.build", - "nola-03": "https://wlan-portal-svc-nola-03.cicd.lab.wlan.tip.build", - "nola-04": "https://wlan-portal-svc-nola-04.cicd.lab.wlan.tip.build", - "nola-05": "https://wlan-portal-svc-nola-05.cicd.lab.wlan.tip.build", - "nola-06": "https://wlan-portal-svc-nola-06.cicd.lab.wlan.tip.build", - "nola-07": "https://wlan-portal-svc-nola-07.cicd.lab.wlan.tip.build", - "nola-08": "https://wlan-portal-svc-nola-08.cicd.lab.wlan.tip.build", - "nola-09": "https://wlan-portal-svc-nola-09.cicd.lab.wlan.tip.build", - "nola-10": "https://wlan-portal-svc-nola-10.cicd.lab.wlan.tip.build", - "nola-11": "https://wlan-portal-svc-nola-11.cicd.lab.wlan.tip.build" -} -login_credentials = { - "userId": "support@example.com", - "password": "support" -} - - -class cloudsdk: - - def __init__(self, testbed="nola-01"): - self.testbed = testbed - self.sdk_base_url = cloud_sdk_base_urls[self.testbed] - self.login_credentials = login_credentials - self.api_client = ApiClient(sdk_base_url=self.sdk_base_url) - self.login_api = LoginApi(api_client=self.api_client) - self.equipment_api = EquipmentApi(api_client=self.api_client) - self.get_or_refresh_bearer() - - def get_or_refresh_bearer(self): - bearer = self.login_api.get_access_token(self.login_credentials) - # print(bearer) - return bearer - - def get_equipment_by_id(self, customer_id=None): - pagination_context = { - "model_type": "PaginationContext", - "maxItemsPerPage": 10 - } - return self.equipment_api.get_equipment_by_customer_id(customer_id=customer_id, pagination_context=pagination_context) - - -def main(): - cloudsdk() - - - - -if __name__ == "__main__": - main() - diff --git a/libs/cloudapi/cloudsdk/.gitignore b/libs/cloudapi/cloudsdk/.gitignore deleted file mode 100644 index a655050c2..000000000 --- a/libs/cloudapi/cloudsdk/.gitignore +++ /dev/null @@ -1,64 +0,0 @@ -# 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/libs/cloudapi/cloudsdk/.idea/ cloudsdk.iml b/libs/cloudapi/cloudsdk/.idea/ cloudsdk.iml deleted file mode 100644 index d0876a78d..000000000 --- a/libs/cloudapi/cloudsdk/.idea/ cloudsdk.iml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/libs/cloudapi/cloudsdk/.idea/inspectionProfiles/Project_Default.xml b/libs/cloudapi/cloudsdk/.idea/inspectionProfiles/Project_Default.xml deleted file mode 100644 index 00e8f1048..000000000 --- a/libs/cloudapi/cloudsdk/.idea/inspectionProfiles/Project_Default.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - \ No newline at end of file diff --git a/libs/cloudapi/cloudsdk/.idea/inspectionProfiles/profiles_settings.xml b/libs/cloudapi/cloudsdk/.idea/inspectionProfiles/profiles_settings.xml deleted file mode 100644 index 105ce2da2..000000000 --- a/libs/cloudapi/cloudsdk/.idea/inspectionProfiles/profiles_settings.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - \ No newline at end of file diff --git a/libs/cloudapi/cloudsdk/.idea/modules.xml b/libs/cloudapi/cloudsdk/.idea/modules.xml deleted file mode 100644 index 8a9a7c865..000000000 --- a/libs/cloudapi/cloudsdk/.idea/modules.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/libs/cloudapi/cloudsdk/.idea/workspace.xml b/libs/cloudapi/cloudsdk/.idea/workspace.xml deleted file mode 100644 index 60456a07e..000000000 --- a/libs/cloudapi/cloudsdk/.idea/workspace.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - - - - - - - 1614583394565 - - - - \ No newline at end of file diff --git a/libs/cloudapi/cloudsdk/.swagger-codegen-ignore b/libs/cloudapi/cloudsdk/.swagger-codegen-ignore deleted file mode 100644 index c5fa491b4..000000000 --- a/libs/cloudapi/cloudsdk/.swagger-codegen-ignore +++ /dev/null @@ -1,23 +0,0 @@ -# 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/libs/cloudapi/cloudsdk/.swagger-codegen/VERSION b/libs/cloudapi/cloudsdk/.swagger-codegen/VERSION deleted file mode 100644 index b39b0b9e0..000000000 --- a/libs/cloudapi/cloudsdk/.swagger-codegen/VERSION +++ /dev/null @@ -1 +0,0 @@ -3.0.24 \ No newline at end of file diff --git a/libs/cloudapi/cloudsdk/.travis.yml b/libs/cloudapi/cloudsdk/.travis.yml deleted file mode 100644 index dd6c4450a..000000000 --- a/libs/cloudapi/cloudsdk/.travis.yml +++ /dev/null @@ -1,13 +0,0 @@ -# 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/libs/cloudapi/cloudsdk/README.md b/libs/cloudapi/cloudsdk/README.md deleted file mode 100644 index e675b1120..000000000 --- a/libs/cloudapi/cloudsdk/README.md +++ /dev/null @@ -1,647 +0,0 @@ -# swagger-client -APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. - -This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project: - -- API version: 1.0.0 -- Package version: 1.0.0 -- Build package: io.swagger.codegen.v3.generators.python.PythonClientCodegen - -## Requirements. - -Python 2.7 and 3.4+ - -## Installation & Usage -### pip install - -If the python package is hosted on Github, you can install directly from Github - -```sh -pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git -``` -(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git`) - -Then import the package: -```python -import swagger_client -``` - -### Setuptools - -Install via [Setuptools](http://pypi.python.org/pypi/setuptools). - -```sh -python setup.py install --user -``` -(or `sudo python setup.py install` to install the package for all users) - -Then import the package: -```python -import swagger_client -``` - -## Getting Started - -Please follow the [installation procedure](#installation--usage) and then run the following: - -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.AlarmsApi(swagger_client.ApiClient(configuration)) -customer_id = 56 # int | -equipment_id = 789 # int | -alarm_code = swagger_client.AlarmCode() # AlarmCode | -created_timestamp = 789 # int | - -try: - # Delete Alarm - api_response = api_instance.delete_alarm(customer_id, equipment_id, alarm_code, created_timestamp) - pprint(api_response) -except ApiException as e: - print("Exception when calling AlarmsApi->delete_alarm: %s\n" % e) - - -# create an instance of the API class -api_instance = swagger_client.AlarmsApi(swagger_client.ApiClient(configuration)) -customer_id = 56 # int | customer id -equipment_ids = [56] # list[int] | Set of equipment ids. Empty or null means retrieve for all equipment for the customer. (optional) -alarm_codes = [swagger_client.AlarmCode()] # list[AlarmCode] | Set of alarm codes. Empty or null means retrieve all. (optional) - -try: - # Get counts of Alarms for customerId, optional set of equipment ids, optional set of alarm codes. - api_response = api_instance.get_alarm_counts(customer_id, equipment_ids=equipment_ids, alarm_codes=alarm_codes) - pprint(api_response) -except ApiException as e: - print("Exception when calling AlarmsApi->get_alarm_counts: %s\n" % e) - - -# create an instance of the API class -api_instance = swagger_client.AlarmsApi(swagger_client.ApiClient(configuration)) -customer_id = 56 # int | customer id -pagination_context = swagger_client.PaginationContextAlarm() # PaginationContextAlarm | pagination context -equipment_ids = [56] # list[int] | Set of equipment ids. Empty or null means retrieve all equipment for the customer. (optional) -alarm_codes = [swagger_client.AlarmCode()] # list[AlarmCode] | Set of alarm codes. Empty or null means retrieve all. (optional) -created_after_timestamp = -1 # int | retrieve alarms created after the specified time (optional) (default to -1) -sort_by = [swagger_client.SortColumnsAlarm()] # list[SortColumnsAlarm] | sort options (optional) - -try: - # Get list of Alarms for customerId, optional set of equipment ids, optional set of alarm codes. - api_response = api_instance.get_alarmsfor_customer(customer_id, pagination_context, equipment_ids=equipment_ids, alarm_codes=alarm_codes, created_after_timestamp=created_after_timestamp, sort_by=sort_by) - pprint(api_response) -except ApiException as e: - print("Exception when calling AlarmsApi->get_alarmsfor_customer: %s\n" % e) - - -# create an instance of the API class -api_instance = swagger_client.AlarmsApi(swagger_client.ApiClient(configuration)) -customer_id = 56 # int | customer id -equipment_ids = [56] # list[int] | Set of equipment ids. Must not be empty. -alarm_codes = [swagger_client.AlarmCode()] # list[AlarmCode] | Set of alarm codes. Empty or null means retrieve all. (optional) -created_after_timestamp = -1 # int | retrieve alarms created after the specified time (optional) (default to -1) - -try: - # Get list of Alarms for customerId, set of equipment ids, and set of alarm codes. - api_response = api_instance.get_alarmsfor_equipment(customer_id, equipment_ids, alarm_codes=alarm_codes, created_after_timestamp=created_after_timestamp) - pprint(api_response) -except ApiException as e: - print("Exception when calling AlarmsApi->get_alarmsfor_equipment: %s\n" % e) - - -# create an instance of the API class -api_instance = swagger_client.AlarmsApi(swagger_client.ApiClient(configuration)) - -try: - # Reset accumulated counts of Alarms. - api_response = api_instance.reset_alarm_counts() - pprint(api_response) -except ApiException as e: - print("Exception when calling AlarmsApi->reset_alarm_counts: %s\n" % e) - - -# create an instance of the API class -api_instance = swagger_client.AlarmsApi(swagger_client.ApiClient(configuration)) -body = swagger_client.Alarm() # Alarm | Alarm info - -try: - # Update Alarm - api_response = api_instance.update_alarm(body) - pprint(api_response) -except ApiException as e: - print("Exception when calling AlarmsApi->update_alarm: %s\n" % e) -``` - -## Documentation for API Endpoints - -All URIs are relative to *https://localhost:9091* - -Class | Method | HTTP request | Description ------------- | ------------- | ------------- | ------------- -*AlarmsApi* | [**delete_alarm**](docs/AlarmsApi.md#delete_alarm) | **DELETE** /portal/alarm | Delete Alarm -*AlarmsApi* | [**get_alarm_counts**](docs/AlarmsApi.md#get_alarm_counts) | **GET** /portal/alarm/counts | Get counts of Alarms for customerId, optional set of equipment ids, optional set of alarm codes. -*AlarmsApi* | [**get_alarmsfor_customer**](docs/AlarmsApi.md#get_alarmsfor_customer) | **GET** /portal/alarm/forCustomer | Get list of Alarms for customerId, optional set of equipment ids, optional set of alarm codes. -*AlarmsApi* | [**get_alarmsfor_equipment**](docs/AlarmsApi.md#get_alarmsfor_equipment) | **GET** /portal/alarm/forEquipment | Get list of Alarms for customerId, set of equipment ids, and set of alarm codes. -*AlarmsApi* | [**reset_alarm_counts**](docs/AlarmsApi.md#reset_alarm_counts) | **POST** /portal/alarm/resetCounts | Reset accumulated counts of Alarms. -*AlarmsApi* | [**update_alarm**](docs/AlarmsApi.md#update_alarm) | **PUT** /portal/alarm | Update Alarm -*ClientsApi* | [**get_all_client_sessions_in_set**](docs/ClientsApi.md#get_all_client_sessions_in_set) | **GET** /portal/client/session/inSet | Get list of Client sessions for customerId and a set of client MAC addresses. -*ClientsApi* | [**get_all_clients_in_set**](docs/ClientsApi.md#get_all_clients_in_set) | **GET** /portal/client/inSet | Get list of Clients for customerId and a set of client MAC addresses. -*ClientsApi* | [**get_blocked_clients**](docs/ClientsApi.md#get_blocked_clients) | **GET** /portal/client/blocked | Retrieves a list of Clients for the customer that are marked as blocked. This per-customer list of blocked clients is pushed to every AP, so it has to be limited in size. -*ClientsApi* | [**get_client_session_by_customer_with_filter**](docs/ClientsApi.md#get_client_session_by_customer_with_filter) | **GET** /portal/client/session/forCustomer | Get list of Client sessions for customerId and a set of equipment/location ids. Equipment and locations filters are joined using logical AND operation. -*ClientsApi* | [**get_for_customer**](docs/ClientsApi.md#get_for_customer) | **GET** /portal/client/forCustomer | Get list of clients for a given customer by equipment ids -*ClientsApi* | [**search_by_mac_address**](docs/ClientsApi.md#search_by_mac_address) | **GET** /portal/client/searchByMac | Get list of Clients for customerId and searching by macSubstring. -*ClientsApi* | [**update_client**](docs/ClientsApi.md#update_client) | **PUT** /portal/client | Update Client -*CustomerApi* | [**get_customer_by_id**](docs/CustomerApi.md#get_customer_by_id) | **GET** /portal/customer | Get Customer By Id -*CustomerApi* | [**update_customer**](docs/CustomerApi.md#update_customer) | **PUT** /portal/customer | Update Customer -*EquipmentApi* | [**create_equipment**](docs/EquipmentApi.md#create_equipment) | **POST** /portal/equipment | Create new Equipment -*EquipmentApi* | [**delete_equipment**](docs/EquipmentApi.md#delete_equipment) | **DELETE** /portal/equipment | Delete Equipment -*EquipmentApi* | [**get_default_equipment_details**](docs/EquipmentApi.md#get_default_equipment_details) | **GET** /portal/equipment/defaultDetails | Get default values for Equipment details for a specific equipment type -*EquipmentApi* | [**get_equipment_by_customer_id**](docs/EquipmentApi.md#get_equipment_by_customer_id) | **GET** /portal/equipment/forCustomer | Get Equipment By customerId -*EquipmentApi* | [**get_equipment_by_customer_with_filter**](docs/EquipmentApi.md#get_equipment_by_customer_with_filter) | **GET** /portal/equipment/forCustomerWithFilter | Get Equipment for customerId, equipment type, and location id -*EquipmentApi* | [**get_equipment_by_id**](docs/EquipmentApi.md#get_equipment_by_id) | **GET** /portal/equipment | Get Equipment By Id -*EquipmentApi* | [**get_equipment_by_set_of_ids**](docs/EquipmentApi.md#get_equipment_by_set_of_ids) | **GET** /portal/equipment/inSet | Get Equipment By a set of ids -*EquipmentApi* | [**update_equipment**](docs/EquipmentApi.md#update_equipment) | **PUT** /portal/equipment | Update Equipment -*EquipmentApi* | [**update_equipment_rrm_bulk**](docs/EquipmentApi.md#update_equipment_rrm_bulk) | **PUT** /portal/equipment/rrmBulk | Update RRM related properties of Equipment in bulk -*EquipmentGatewayApi* | [**request_ap_factory_reset**](docs/EquipmentGatewayApi.md#request_ap_factory_reset) | **POST** /portal/equipmentGateway/requestApFactoryReset | Request factory reset for a particular equipment. -*EquipmentGatewayApi* | [**request_ap_reboot**](docs/EquipmentGatewayApi.md#request_ap_reboot) | **POST** /portal/equipmentGateway/requestApReboot | Request reboot for a particular equipment. -*EquipmentGatewayApi* | [**request_ap_switch_software_bank**](docs/EquipmentGatewayApi.md#request_ap_switch_software_bank) | **POST** /portal/equipmentGateway/requestApSwitchSoftwareBank | Request switch of active/inactive sw bank for a particular equipment. -*EquipmentGatewayApi* | [**request_channel_change**](docs/EquipmentGatewayApi.md#request_channel_change) | **POST** /portal/equipmentGateway/requestChannelChange | Request change of primary and/or backup channels for given frequency bands. -*EquipmentGatewayApi* | [**request_firmware_update**](docs/EquipmentGatewayApi.md#request_firmware_update) | **POST** /portal/equipmentGateway/requestFirmwareUpdate | Request firmware update for a particular equipment. -*FileServicesApi* | [**download_binary_file**](docs/FileServicesApi.md#download_binary_file) | **GET** /filestore/{fileName} | Download binary file. -*FileServicesApi* | [**upload_binary_file**](docs/FileServicesApi.md#upload_binary_file) | **POST** /filestore/{fileName} | Upload binary file. -*FirmwareManagementApi* | [**create_customer_firmware_track_record**](docs/FirmwareManagementApi.md#create_customer_firmware_track_record) | **POST** /portal/firmware/customerTrack | Create new CustomerFirmwareTrackRecord -*FirmwareManagementApi* | [**create_firmware_track_record**](docs/FirmwareManagementApi.md#create_firmware_track_record) | **POST** /portal/firmware/track | Create new FirmwareTrackRecord -*FirmwareManagementApi* | [**create_firmware_version**](docs/FirmwareManagementApi.md#create_firmware_version) | **POST** /portal/firmware/version | Create new FirmwareVersion -*FirmwareManagementApi* | [**delete_customer_firmware_track_record**](docs/FirmwareManagementApi.md#delete_customer_firmware_track_record) | **DELETE** /portal/firmware/customerTrack | Delete CustomerFirmwareTrackRecord -*FirmwareManagementApi* | [**delete_firmware_track_assignment**](docs/FirmwareManagementApi.md#delete_firmware_track_assignment) | **DELETE** /portal/firmware/trackAssignment | Delete FirmwareTrackAssignment -*FirmwareManagementApi* | [**delete_firmware_track_record**](docs/FirmwareManagementApi.md#delete_firmware_track_record) | **DELETE** /portal/firmware/track | Delete FirmwareTrackRecord -*FirmwareManagementApi* | [**delete_firmware_version**](docs/FirmwareManagementApi.md#delete_firmware_version) | **DELETE** /portal/firmware/version | Delete FirmwareVersion -*FirmwareManagementApi* | [**get_customer_firmware_track_record**](docs/FirmwareManagementApi.md#get_customer_firmware_track_record) | **GET** /portal/firmware/customerTrack | Get CustomerFirmwareTrackRecord By customerId -*FirmwareManagementApi* | [**get_default_customer_track_setting**](docs/FirmwareManagementApi.md#get_default_customer_track_setting) | **GET** /portal/firmware/customerTrack/default | Get default settings for handling automatic firmware upgrades -*FirmwareManagementApi* | [**get_firmware_model_ids_by_equipment_type**](docs/FirmwareManagementApi.md#get_firmware_model_ids_by_equipment_type) | **GET** /portal/firmware/model/byEquipmentType | Get equipment models from all known firmware versions filtered by equipmentType -*FirmwareManagementApi* | [**get_firmware_track_assignment_details**](docs/FirmwareManagementApi.md#get_firmware_track_assignment_details) | **GET** /portal/firmware/trackAssignment | Get FirmwareTrackAssignmentDetails for a given firmware track name -*FirmwareManagementApi* | [**get_firmware_track_record**](docs/FirmwareManagementApi.md#get_firmware_track_record) | **GET** /portal/firmware/track | Get FirmwareTrackRecord By Id -*FirmwareManagementApi* | [**get_firmware_track_record_by_name**](docs/FirmwareManagementApi.md#get_firmware_track_record_by_name) | **GET** /portal/firmware/track/byName | Get FirmwareTrackRecord By name -*FirmwareManagementApi* | [**get_firmware_version**](docs/FirmwareManagementApi.md#get_firmware_version) | **GET** /portal/firmware/version | Get FirmwareVersion By Id -*FirmwareManagementApi* | [**get_firmware_version_by_equipment_type**](docs/FirmwareManagementApi.md#get_firmware_version_by_equipment_type) | **GET** /portal/firmware/version/byEquipmentType | Get FirmwareVersions filtered by equipmentType and optional equipment model -*FirmwareManagementApi* | [**get_firmware_version_by_name**](docs/FirmwareManagementApi.md#get_firmware_version_by_name) | **GET** /portal/firmware/version/byName | Get FirmwareVersion By name -*FirmwareManagementApi* | [**update_customer_firmware_track_record**](docs/FirmwareManagementApi.md#update_customer_firmware_track_record) | **PUT** /portal/firmware/customerTrack | Update CustomerFirmwareTrackRecord -*FirmwareManagementApi* | [**update_firmware_track_assignment_details**](docs/FirmwareManagementApi.md#update_firmware_track_assignment_details) | **PUT** /portal/firmware/trackAssignment | Update FirmwareTrackAssignmentDetails -*FirmwareManagementApi* | [**update_firmware_track_record**](docs/FirmwareManagementApi.md#update_firmware_track_record) | **PUT** /portal/firmware/track | Update FirmwareTrackRecord -*FirmwareManagementApi* | [**update_firmware_version**](docs/FirmwareManagementApi.md#update_firmware_version) | **PUT** /portal/firmware/version | Update FirmwareVersion -*LocationApi* | [**create_location**](docs/LocationApi.md#create_location) | **POST** /portal/location | Create new Location -*LocationApi* | [**delete_location**](docs/LocationApi.md#delete_location) | **DELETE** /portal/location | Delete Location -*LocationApi* | [**get_location_by_id**](docs/LocationApi.md#get_location_by_id) | **GET** /portal/location | Get Location By Id -*LocationApi* | [**get_location_by_set_of_ids**](docs/LocationApi.md#get_location_by_set_of_ids) | **GET** /portal/location/inSet | Get Locations By a set of ids -*LocationApi* | [**get_locations_by_customer_id**](docs/LocationApi.md#get_locations_by_customer_id) | **GET** /portal/location/forCustomer | Get Locations By customerId -*LocationApi* | [**update_location**](docs/LocationApi.md#update_location) | **PUT** /portal/location | Update Location -*LoginApi* | [**get_access_token**](docs/LoginApi.md#get_access_token) | **POST** /management/v1/oauth2/token | Get access token - to be used as Bearer token header for all other API requests. -*LoginApi* | [**portal_ping**](docs/LoginApi.md#portal_ping) | **GET** /ping | Portal proces version info. -*ManufacturerOUIApi* | [**create_manufacturer_details_record**](docs/ManufacturerOUIApi.md#create_manufacturer_details_record) | **POST** /portal/manufacturer | Create new ManufacturerDetailsRecord -*ManufacturerOUIApi* | [**create_manufacturer_oui_details**](docs/ManufacturerOUIApi.md#create_manufacturer_oui_details) | **POST** /portal/manufacturer/oui | Create new ManufacturerOuiDetails -*ManufacturerOUIApi* | [**delete_manufacturer_details_record**](docs/ManufacturerOUIApi.md#delete_manufacturer_details_record) | **DELETE** /portal/manufacturer | Delete ManufacturerDetailsRecord -*ManufacturerOUIApi* | [**delete_manufacturer_oui_details**](docs/ManufacturerOUIApi.md#delete_manufacturer_oui_details) | **DELETE** /portal/manufacturer/oui | Delete ManufacturerOuiDetails -*ManufacturerOUIApi* | [**get_alias_values_that_begin_with**](docs/ManufacturerOUIApi.md#get_alias_values_that_begin_with) | **GET** /portal/manufacturer/oui/alias | Get manufacturer aliases that begin with the given prefix -*ManufacturerOUIApi* | [**get_all_manufacturer_oui_details**](docs/ManufacturerOUIApi.md#get_all_manufacturer_oui_details) | **GET** /portal/manufacturer/oui/all | Get all ManufacturerOuiDetails -*ManufacturerOUIApi* | [**get_manufacturer_details_for_oui_list**](docs/ManufacturerOUIApi.md#get_manufacturer_details_for_oui_list) | **GET** /portal/manufacturer/oui/list | Get ManufacturerOuiDetails for the list of OUIs -*ManufacturerOUIApi* | [**get_manufacturer_details_record**](docs/ManufacturerOUIApi.md#get_manufacturer_details_record) | **GET** /portal/manufacturer | Get ManufacturerDetailsRecord By id -*ManufacturerOUIApi* | [**get_manufacturer_oui_details_by_oui**](docs/ManufacturerOUIApi.md#get_manufacturer_oui_details_by_oui) | **GET** /portal/manufacturer/oui | Get ManufacturerOuiDetails By oui -*ManufacturerOUIApi* | [**get_oui_list_for_manufacturer**](docs/ManufacturerOUIApi.md#get_oui_list_for_manufacturer) | **GET** /portal/manufacturer/oui/forManufacturer | Get Oui List for manufacturer -*ManufacturerOUIApi* | [**update_manufacturer_details_record**](docs/ManufacturerOUIApi.md#update_manufacturer_details_record) | **PUT** /portal/manufacturer | Update ManufacturerDetailsRecord -*ManufacturerOUIApi* | [**update_oui_alias**](docs/ManufacturerOUIApi.md#update_oui_alias) | **PUT** /portal/manufacturer/oui/alias | Update alias for ManufacturerOuiDetails -*ManufacturerOUIApi* | [**upload_oui_data_file**](docs/ManufacturerOUIApi.md#upload_oui_data_file) | **POST** /portal/manufacturer/oui/upload | Upload the gziped OUI DataFile, in the format that is published by IEEE. Latest sanitized IEEE OUI data file (oui.txt.gz) can be obtained from https://linuxnet.ca/ieee/oui/ -*ManufacturerOUIApi* | [**upload_oui_data_file_base64**](docs/ManufacturerOUIApi.md#upload_oui_data_file_base64) | **POST** /portal/manufacturer/oui/upload/base64 | Upload the gziped OUI DataFile using base64 encoding, in the format that is published by IEEE. Latest sanitized IEEE OUI data file (oui.txt.gz) can be obtained from https://linuxnet.ca/ieee/oui/ -*PortalUsersApi* | [**create_portal_user**](docs/PortalUsersApi.md#create_portal_user) | **POST** /portal/portalUser | Create new Portal User -*PortalUsersApi* | [**delete_portal_user**](docs/PortalUsersApi.md#delete_portal_user) | **DELETE** /portal/portalUser | Delete PortalUser -*PortalUsersApi* | [**get_portal_user_by_id**](docs/PortalUsersApi.md#get_portal_user_by_id) | **GET** /portal/portalUser | Get portal user By Id -*PortalUsersApi* | [**get_portal_user_by_username**](docs/PortalUsersApi.md#get_portal_user_by_username) | **GET** /portal/portalUser/byUsernameOrNull | Get portal user by user name -*PortalUsersApi* | [**get_portal_users_by_customer_id**](docs/PortalUsersApi.md#get_portal_users_by_customer_id) | **GET** /portal/portalUser/forCustomer | Get PortalUsers By customerId -*PortalUsersApi* | [**get_portal_users_by_set_of_ids**](docs/PortalUsersApi.md#get_portal_users_by_set_of_ids) | **GET** /portal/portalUser/inSet | Get PortalUsers By a set of ids -*PortalUsersApi* | [**get_users_for_username**](docs/PortalUsersApi.md#get_users_for_username) | **GET** /portal/portalUser/usersForUsername | Get Portal Users for username -*PortalUsersApi* | [**update_portal_user**](docs/PortalUsersApi.md#update_portal_user) | **PUT** /portal/portalUser | Update PortalUser -*ProfileApi* | [**create_profile**](docs/ProfileApi.md#create_profile) | **POST** /portal/profile | Create new Profile -*ProfileApi* | [**delete_profile**](docs/ProfileApi.md#delete_profile) | **DELETE** /portal/profile | Delete Profile -*ProfileApi* | [**get_counts_of_equipment_that_use_profiles**](docs/ProfileApi.md#get_counts_of_equipment_that_use_profiles) | **GET** /portal/profile/equipmentCounts | Get counts of equipment that use specified profiles -*ProfileApi* | [**get_profile_by_id**](docs/ProfileApi.md#get_profile_by_id) | **GET** /portal/profile | Get Profile By Id -*ProfileApi* | [**get_profile_with_children**](docs/ProfileApi.md#get_profile_with_children) | **GET** /portal/profile/withChildren | Get Profile and all its associated children -*ProfileApi* | [**get_profiles_by_customer_id**](docs/ProfileApi.md#get_profiles_by_customer_id) | **GET** /portal/profile/forCustomer | Get Profiles By customerId -*ProfileApi* | [**get_profiles_by_set_of_ids**](docs/ProfileApi.md#get_profiles_by_set_of_ids) | **GET** /portal/profile/inSet | Get Profiles By a set of ids -*ProfileApi* | [**update_profile**](docs/ProfileApi.md#update_profile) | **PUT** /portal/profile | Update Profile -*ServiceAdoptionMetricsApi* | [**get_adoption_metrics_all_per_day**](docs/ServiceAdoptionMetricsApi.md#get_adoption_metrics_all_per_day) | **GET** /portal/adoptionMetrics/allPerDay | Get daily service adoption metrics for a given year -*ServiceAdoptionMetricsApi* | [**get_adoption_metrics_all_per_month**](docs/ServiceAdoptionMetricsApi.md#get_adoption_metrics_all_per_month) | **GET** /portal/adoptionMetrics/allPerMonth | Get monthly service adoption metrics for a given year -*ServiceAdoptionMetricsApi* | [**get_adoption_metrics_all_per_week**](docs/ServiceAdoptionMetricsApi.md#get_adoption_metrics_all_per_week) | **GET** /portal/adoptionMetrics/allPerWeek | Get weekly service adoption metrics for a given year -*ServiceAdoptionMetricsApi* | [**get_adoption_metrics_per_customer_per_day**](docs/ServiceAdoptionMetricsApi.md#get_adoption_metrics_per_customer_per_day) | **GET** /portal/adoptionMetrics/perCustomerPerDay | Get daily service adoption metrics for a given year aggregated by customer and filtered by specified customer ids -*ServiceAdoptionMetricsApi* | [**get_adoption_metrics_per_equipment_per_day**](docs/ServiceAdoptionMetricsApi.md#get_adoption_metrics_per_equipment_per_day) | **GET** /portal/adoptionMetrics/perEquipmentPerDay | Get daily service adoption metrics for a given year filtered by specified equipment ids -*ServiceAdoptionMetricsApi* | [**get_adoption_metrics_per_location_per_day**](docs/ServiceAdoptionMetricsApi.md#get_adoption_metrics_per_location_per_day) | **GET** /portal/adoptionMetrics/perLocationPerDay | Get daily service adoption metrics for a given year aggregated by location and filtered by specified location ids -*StatusApi* | [**get_status_by_customer_equipment**](docs/StatusApi.md#get_status_by_customer_equipment) | **GET** /portal/status/forEquipment | Get all Status objects for a given customer equipment. -*StatusApi* | [**get_status_by_customer_equipment_with_filter**](docs/StatusApi.md#get_status_by_customer_equipment_with_filter) | **GET** /portal/status/forEquipmentWithFilter | Get Status objects for a given customer equipment ids and status data types. -*StatusApi* | [**get_status_by_customer_id**](docs/StatusApi.md#get_status_by_customer_id) | **GET** /portal/status/forCustomer | Get all Status objects By customerId -*StatusApi* | [**get_status_by_customer_with_filter**](docs/StatusApi.md#get_status_by_customer_with_filter) | **GET** /portal/status/forCustomerWithFilter | Get list of Statuses for customerId, set of equipment ids, and set of status data types. -*SystemEventsApi* | [**get_system_eventsfor_customer**](docs/SystemEventsApi.md#get_system_eventsfor_customer) | **GET** /portal/systemEvent/forCustomer | Get list of System Events for customerId, optional set of equipment ids, and optional set of data types. Only events that are created between specified fromTime and toTime are retrieved. -*WLANServiceMetricsApi* | [**get_service_metricsfor_customer**](docs/WLANServiceMetricsApi.md#get_service_metricsfor_customer) | **GET** /portal/serviceMetric/forCustomer | Get list of WLAN Service Metrics for customerId, optional set of location ids, optional set of equipment ids, optional set of client MAC addresses, optional set of metric data types. Only metrics that are created between specified fromTime and toTime are retrieved. - -## Documentation For Models - - - [AclTemplate](docs/AclTemplate.md) - - [ActiveBSSID](docs/ActiveBSSID.md) - - [ActiveBSSIDs](docs/ActiveBSSIDs.md) - - [ActiveScanSettings](docs/ActiveScanSettings.md) - - [AdvancedRadioMap](docs/AdvancedRadioMap.md) - - [Alarm](docs/Alarm.md) - - [AlarmAddedEvent](docs/AlarmAddedEvent.md) - - [AlarmChangedEvent](docs/AlarmChangedEvent.md) - - [AlarmCode](docs/AlarmCode.md) - - [AlarmCounts](docs/AlarmCounts.md) - - [AlarmDetails](docs/AlarmDetails.md) - - [AlarmDetailsAttributesMap](docs/AlarmDetailsAttributesMap.md) - - [AlarmRemovedEvent](docs/AlarmRemovedEvent.md) - - [AlarmScopeType](docs/AlarmScopeType.md) - - [AntennaType](docs/AntennaType.md) - - [ApElementConfiguration](docs/ApElementConfiguration.md) - - [ApMeshMode](docs/ApMeshMode.md) - - [ApNetworkConfiguration](docs/ApNetworkConfiguration.md) - - [ApNetworkConfigurationNtpServer](docs/ApNetworkConfigurationNtpServer.md) - - [ApNodeMetrics](docs/ApNodeMetrics.md) - - [ApPerformance](docs/ApPerformance.md) - - [ApSsidMetrics](docs/ApSsidMetrics.md) - - [AutoOrManualString](docs/AutoOrManualString.md) - - [AutoOrManualValue](docs/AutoOrManualValue.md) - - [BackgroundPosition](docs/BackgroundPosition.md) - - [BackgroundRepeat](docs/BackgroundRepeat.md) - - [BannedChannel](docs/BannedChannel.md) - - [BaseDhcpEvent](docs/BaseDhcpEvent.md) - - [BestAPSteerType](docs/BestAPSteerType.md) - - [BlocklistDetails](docs/BlocklistDetails.md) - - [BonjourGatewayProfile](docs/BonjourGatewayProfile.md) - - [BonjourServiceSet](docs/BonjourServiceSet.md) - - [CapacityDetails](docs/CapacityDetails.md) - - [CapacityPerRadioDetails](docs/CapacityPerRadioDetails.md) - - [CapacityPerRadioDetailsMap](docs/CapacityPerRadioDetailsMap.md) - - [CaptivePortalAuthenticationType](docs/CaptivePortalAuthenticationType.md) - - [CaptivePortalConfiguration](docs/CaptivePortalConfiguration.md) - - [ChannelBandwidth](docs/ChannelBandwidth.md) - - [ChannelHopReason](docs/ChannelHopReason.md) - - [ChannelHopSettings](docs/ChannelHopSettings.md) - - [ChannelInfo](docs/ChannelInfo.md) - - [ChannelInfoReports](docs/ChannelInfoReports.md) - - [ChannelPowerLevel](docs/ChannelPowerLevel.md) - - [ChannelUtilizationDetails](docs/ChannelUtilizationDetails.md) - - [ChannelUtilizationPerRadioDetails](docs/ChannelUtilizationPerRadioDetails.md) - - [ChannelUtilizationPerRadioDetailsMap](docs/ChannelUtilizationPerRadioDetailsMap.md) - - [ChannelUtilizationSurveyType](docs/ChannelUtilizationSurveyType.md) - - [Client](docs/Client.md) - - [ClientActivityAggregatedStats](docs/ClientActivityAggregatedStats.md) - - [ClientActivityAggregatedStatsPerRadioTypeMap](docs/ClientActivityAggregatedStatsPerRadioTypeMap.md) - - [ClientAddedEvent](docs/ClientAddedEvent.md) - - [ClientAssocEvent](docs/ClientAssocEvent.md) - - [ClientAuthEvent](docs/ClientAuthEvent.md) - - [ClientChangedEvent](docs/ClientChangedEvent.md) - - [ClientConnectSuccessEvent](docs/ClientConnectSuccessEvent.md) - - [ClientConnectionDetails](docs/ClientConnectionDetails.md) - - [ClientDhcpDetails](docs/ClientDhcpDetails.md) - - [ClientDisconnectEvent](docs/ClientDisconnectEvent.md) - - [ClientEapDetails](docs/ClientEapDetails.md) - - [ClientFailureDetails](docs/ClientFailureDetails.md) - - [ClientFailureEvent](docs/ClientFailureEvent.md) - - [ClientFirstDataEvent](docs/ClientFirstDataEvent.md) - - [ClientIdEvent](docs/ClientIdEvent.md) - - [ClientInfoDetails](docs/ClientInfoDetails.md) - - [ClientIpAddressEvent](docs/ClientIpAddressEvent.md) - - [ClientMetrics](docs/ClientMetrics.md) - - [ClientRemovedEvent](docs/ClientRemovedEvent.md) - - [ClientSession](docs/ClientSession.md) - - [ClientSessionChangedEvent](docs/ClientSessionChangedEvent.md) - - [ClientSessionDetails](docs/ClientSessionDetails.md) - - [ClientSessionMetricDetails](docs/ClientSessionMetricDetails.md) - - [ClientSessionRemovedEvent](docs/ClientSessionRemovedEvent.md) - - [ClientTimeoutEvent](docs/ClientTimeoutEvent.md) - - [ClientTimeoutReason](docs/ClientTimeoutReason.md) - - [CommonProbeDetails](docs/CommonProbeDetails.md) - - [CountryCode](docs/CountryCode.md) - - [CountsPerAlarmCodeMap](docs/CountsPerAlarmCodeMap.md) - - [CountsPerEquipmentIdPerAlarmCodeMap](docs/CountsPerEquipmentIdPerAlarmCodeMap.md) - - [Customer](docs/Customer.md) - - [CustomerAddedEvent](docs/CustomerAddedEvent.md) - - [CustomerChangedEvent](docs/CustomerChangedEvent.md) - - [CustomerDetails](docs/CustomerDetails.md) - - [CustomerFirmwareTrackRecord](docs/CustomerFirmwareTrackRecord.md) - - [CustomerFirmwareTrackSettings](docs/CustomerFirmwareTrackSettings.md) - - [CustomerPortalDashboardStatus](docs/CustomerPortalDashboardStatus.md) - - [CustomerRemovedEvent](docs/CustomerRemovedEvent.md) - - [DailyTimeRangeSchedule](docs/DailyTimeRangeSchedule.md) - - [DayOfWeek](docs/DayOfWeek.md) - - [DaysOfWeekTimeRangeSchedule](docs/DaysOfWeekTimeRangeSchedule.md) - - [DeploymentType](docs/DeploymentType.md) - - [DetectedAuthMode](docs/DetectedAuthMode.md) - - [DeviceMode](docs/DeviceMode.md) - - [DhcpAckEvent](docs/DhcpAckEvent.md) - - [DhcpDeclineEvent](docs/DhcpDeclineEvent.md) - - [DhcpDiscoverEvent](docs/DhcpDiscoverEvent.md) - - [DhcpInformEvent](docs/DhcpInformEvent.md) - - [DhcpNakEvent](docs/DhcpNakEvent.md) - - [DhcpOfferEvent](docs/DhcpOfferEvent.md) - - [DhcpRequestEvent](docs/DhcpRequestEvent.md) - - [DisconnectFrameType](docs/DisconnectFrameType.md) - - [DisconnectInitiator](docs/DisconnectInitiator.md) - - [DnsProbeMetric](docs/DnsProbeMetric.md) - - [DynamicVlanMode](docs/DynamicVlanMode.md) - - [ElementRadioConfiguration](docs/ElementRadioConfiguration.md) - - [ElementRadioConfigurationEirpTxPower](docs/ElementRadioConfigurationEirpTxPower.md) - - [EmptySchedule](docs/EmptySchedule.md) - - [Equipment](docs/Equipment.md) - - [EquipmentAddedEvent](docs/EquipmentAddedEvent.md) - - [EquipmentAdminStatusData](docs/EquipmentAdminStatusData.md) - - [EquipmentAutoProvisioningSettings](docs/EquipmentAutoProvisioningSettings.md) - - [EquipmentCapacityDetails](docs/EquipmentCapacityDetails.md) - - [EquipmentCapacityDetailsMap](docs/EquipmentCapacityDetailsMap.md) - - [EquipmentChangedEvent](docs/EquipmentChangedEvent.md) - - [EquipmentDetails](docs/EquipmentDetails.md) - - [EquipmentGatewayRecord](docs/EquipmentGatewayRecord.md) - - [EquipmentLANStatusData](docs/EquipmentLANStatusData.md) - - [EquipmentNeighbouringStatusData](docs/EquipmentNeighbouringStatusData.md) - - [EquipmentPeerStatusData](docs/EquipmentPeerStatusData.md) - - [EquipmentPerRadioUtilizationDetails](docs/EquipmentPerRadioUtilizationDetails.md) - - [EquipmentPerRadioUtilizationDetailsMap](docs/EquipmentPerRadioUtilizationDetailsMap.md) - - [EquipmentPerformanceDetails](docs/EquipmentPerformanceDetails.md) - - [EquipmentProtocolState](docs/EquipmentProtocolState.md) - - [EquipmentProtocolStatusData](docs/EquipmentProtocolStatusData.md) - - [EquipmentRemovedEvent](docs/EquipmentRemovedEvent.md) - - [EquipmentRoutingRecord](docs/EquipmentRoutingRecord.md) - - [EquipmentRrmBulkUpdateItem](docs/EquipmentRrmBulkUpdateItem.md) - - [EquipmentRrmBulkUpdateItemPerRadioMap](docs/EquipmentRrmBulkUpdateItemPerRadioMap.md) - - [EquipmentRrmBulkUpdateRequest](docs/EquipmentRrmBulkUpdateRequest.md) - - [EquipmentScanDetails](docs/EquipmentScanDetails.md) - - [EquipmentType](docs/EquipmentType.md) - - [EquipmentUpgradeFailureReason](docs/EquipmentUpgradeFailureReason.md) - - [EquipmentUpgradeState](docs/EquipmentUpgradeState.md) - - [EquipmentUpgradeStatusData](docs/EquipmentUpgradeStatusData.md) - - [EthernetLinkState](docs/EthernetLinkState.md) - - [FileCategory](docs/FileCategory.md) - - [FileType](docs/FileType.md) - - [FirmwareScheduleSetting](docs/FirmwareScheduleSetting.md) - - [FirmwareTrackAssignmentDetails](docs/FirmwareTrackAssignmentDetails.md) - - [FirmwareTrackAssignmentRecord](docs/FirmwareTrackAssignmentRecord.md) - - [FirmwareTrackRecord](docs/FirmwareTrackRecord.md) - - [FirmwareValidationMethod](docs/FirmwareValidationMethod.md) - - [FirmwareVersion](docs/FirmwareVersion.md) - - [GatewayAddedEvent](docs/GatewayAddedEvent.md) - - [GatewayChangedEvent](docs/GatewayChangedEvent.md) - - [GatewayRemovedEvent](docs/GatewayRemovedEvent.md) - - [GatewayType](docs/GatewayType.md) - - [GenericResponse](docs/GenericResponse.md) - - [GreTunnelConfiguration](docs/GreTunnelConfiguration.md) - - [GuardInterval](docs/GuardInterval.md) - - [IntegerPerRadioTypeMap](docs/IntegerPerRadioTypeMap.md) - - [IntegerPerStatusCodeMap](docs/IntegerPerStatusCodeMap.md) - - [IntegerStatusCodeMap](docs/IntegerStatusCodeMap.md) - - [IntegerValueMap](docs/IntegerValueMap.md) - - [JsonSerializedException](docs/JsonSerializedException.md) - - [LinkQualityAggregatedStats](docs/LinkQualityAggregatedStats.md) - - [LinkQualityAggregatedStatsPerRadioTypeMap](docs/LinkQualityAggregatedStatsPerRadioTypeMap.md) - - [ListOfChannelInfoReportsPerRadioMap](docs/ListOfChannelInfoReportsPerRadioMap.md) - - [ListOfMacsPerRadioMap](docs/ListOfMacsPerRadioMap.md) - - [ListOfMcsStatsPerRadioMap](docs/ListOfMcsStatsPerRadioMap.md) - - [ListOfRadioUtilizationPerRadioMap](docs/ListOfRadioUtilizationPerRadioMap.md) - - [ListOfSsidStatisticsPerRadioMap](docs/ListOfSsidStatisticsPerRadioMap.md) - - [LocalTimeValue](docs/LocalTimeValue.md) - - [Location](docs/Location.md) - - [LocationActivityDetails](docs/LocationActivityDetails.md) - - [LocationActivityDetailsMap](docs/LocationActivityDetailsMap.md) - - [LocationAddedEvent](docs/LocationAddedEvent.md) - - [LocationChangedEvent](docs/LocationChangedEvent.md) - - [LocationDetails](docs/LocationDetails.md) - - [LocationRemovedEvent](docs/LocationRemovedEvent.md) - - [LongPerRadioTypeMap](docs/LongPerRadioTypeMap.md) - - [LongValueMap](docs/LongValueMap.md) - - [MacAddress](docs/MacAddress.md) - - [MacAllowlistRecord](docs/MacAllowlistRecord.md) - - [ManagedFileInfo](docs/ManagedFileInfo.md) - - [ManagementRate](docs/ManagementRate.md) - - [ManufacturerDetailsRecord](docs/ManufacturerDetailsRecord.md) - - [ManufacturerOuiDetails](docs/ManufacturerOuiDetails.md) - - [ManufacturerOuiDetailsPerOuiMap](docs/ManufacturerOuiDetailsPerOuiMap.md) - - [MapOfWmmQueueStatsPerRadioMap](docs/MapOfWmmQueueStatsPerRadioMap.md) - - [McsStats](docs/McsStats.md) - - [McsType](docs/McsType.md) - - [MeshGroup](docs/MeshGroup.md) - - [MeshGroupMember](docs/MeshGroupMember.md) - - [MeshGroupProperty](docs/MeshGroupProperty.md) - - [MetricConfigParameterMap](docs/MetricConfigParameterMap.md) - - [MimoMode](docs/MimoMode.md) - - [MinMaxAvgValueInt](docs/MinMaxAvgValueInt.md) - - [MinMaxAvgValueIntPerRadioMap](docs/MinMaxAvgValueIntPerRadioMap.md) - - [MulticastRate](docs/MulticastRate.md) - - [NeighborScanPacketType](docs/NeighborScanPacketType.md) - - [NeighbourReport](docs/NeighbourReport.md) - - [NeighbourScanReports](docs/NeighbourScanReports.md) - - [NeighbouringAPListConfiguration](docs/NeighbouringAPListConfiguration.md) - - [NetworkAdminStatusData](docs/NetworkAdminStatusData.md) - - [NetworkAggregateStatusData](docs/NetworkAggregateStatusData.md) - - [NetworkForwardMode](docs/NetworkForwardMode.md) - - [NetworkProbeMetrics](docs/NetworkProbeMetrics.md) - - [NetworkType](docs/NetworkType.md) - - [NoiseFloorDetails](docs/NoiseFloorDetails.md) - - [NoiseFloorPerRadioDetails](docs/NoiseFloorPerRadioDetails.md) - - [NoiseFloorPerRadioDetailsMap](docs/NoiseFloorPerRadioDetailsMap.md) - - [ObssHopMode](docs/ObssHopMode.md) - - [OneOfEquipmentDetails](docs/OneOfEquipmentDetails.md) - - [OneOfFirmwareScheduleSetting](docs/OneOfFirmwareScheduleSetting.md) - - [OneOfProfileDetailsChildren](docs/OneOfProfileDetailsChildren.md) - - [OneOfScheduleSetting](docs/OneOfScheduleSetting.md) - - [OneOfServiceMetricDetails](docs/OneOfServiceMetricDetails.md) - - [OneOfStatusDetails](docs/OneOfStatusDetails.md) - - [OneOfSystemEvent](docs/OneOfSystemEvent.md) - - [OperatingSystemPerformance](docs/OperatingSystemPerformance.md) - - [OriginatorType](docs/OriginatorType.md) - - [PaginationContextAlarm](docs/PaginationContextAlarm.md) - - [PaginationContextClient](docs/PaginationContextClient.md) - - [PaginationContextClientSession](docs/PaginationContextClientSession.md) - - [PaginationContextEquipment](docs/PaginationContextEquipment.md) - - [PaginationContextLocation](docs/PaginationContextLocation.md) - - [PaginationContextPortalUser](docs/PaginationContextPortalUser.md) - - [PaginationContextProfile](docs/PaginationContextProfile.md) - - [PaginationContextServiceMetric](docs/PaginationContextServiceMetric.md) - - [PaginationContextStatus](docs/PaginationContextStatus.md) - - [PaginationContextSystemEvent](docs/PaginationContextSystemEvent.md) - - [PaginationResponseAlarm](docs/PaginationResponseAlarm.md) - - [PaginationResponseClient](docs/PaginationResponseClient.md) - - [PaginationResponseClientSession](docs/PaginationResponseClientSession.md) - - [PaginationResponseEquipment](docs/PaginationResponseEquipment.md) - - [PaginationResponseLocation](docs/PaginationResponseLocation.md) - - [PaginationResponsePortalUser](docs/PaginationResponsePortalUser.md) - - [PaginationResponseProfile](docs/PaginationResponseProfile.md) - - [PaginationResponseServiceMetric](docs/PaginationResponseServiceMetric.md) - - [PaginationResponseStatus](docs/PaginationResponseStatus.md) - - [PaginationResponseSystemEvent](docs/PaginationResponseSystemEvent.md) - - [PairLongLong](docs/PairLongLong.md) - - [PasspointAccessNetworkType](docs/PasspointAccessNetworkType.md) - - [PasspointConnectionCapabilitiesIpProtocol](docs/PasspointConnectionCapabilitiesIpProtocol.md) - - [PasspointConnectionCapabilitiesStatus](docs/PasspointConnectionCapabilitiesStatus.md) - - [PasspointConnectionCapability](docs/PasspointConnectionCapability.md) - - [PasspointDuple](docs/PasspointDuple.md) - - [PasspointEapMethods](docs/PasspointEapMethods.md) - - [PasspointGasAddress3Behaviour](docs/PasspointGasAddress3Behaviour.md) - - [PasspointIPv4AddressType](docs/PasspointIPv4AddressType.md) - - [PasspointIPv6AddressType](docs/PasspointIPv6AddressType.md) - - [PasspointMccMnc](docs/PasspointMccMnc.md) - - [PasspointNaiRealmEapAuthInnerNonEap](docs/PasspointNaiRealmEapAuthInnerNonEap.md) - - [PasspointNaiRealmEapAuthParam](docs/PasspointNaiRealmEapAuthParam.md) - - [PasspointNaiRealmEapCredType](docs/PasspointNaiRealmEapCredType.md) - - [PasspointNaiRealmEncoding](docs/PasspointNaiRealmEncoding.md) - - [PasspointNaiRealmInformation](docs/PasspointNaiRealmInformation.md) - - [PasspointNetworkAuthenticationType](docs/PasspointNetworkAuthenticationType.md) - - [PasspointOperatorProfile](docs/PasspointOperatorProfile.md) - - [PasspointOsuIcon](docs/PasspointOsuIcon.md) - - [PasspointOsuProviderProfile](docs/PasspointOsuProviderProfile.md) - - [PasspointProfile](docs/PasspointProfile.md) - - [PasspointVenueName](docs/PasspointVenueName.md) - - [PasspointVenueProfile](docs/PasspointVenueProfile.md) - - [PasspointVenueTypeAssignment](docs/PasspointVenueTypeAssignment.md) - - [PeerInfo](docs/PeerInfo.md) - - [PerProcessUtilization](docs/PerProcessUtilization.md) - - [PingResponse](docs/PingResponse.md) - - [PortalUser](docs/PortalUser.md) - - [PortalUserAddedEvent](docs/PortalUserAddedEvent.md) - - [PortalUserChangedEvent](docs/PortalUserChangedEvent.md) - - [PortalUserRemovedEvent](docs/PortalUserRemovedEvent.md) - - [PortalUserRole](docs/PortalUserRole.md) - - [Profile](docs/Profile.md) - - [ProfileAddedEvent](docs/ProfileAddedEvent.md) - - [ProfileChangedEvent](docs/ProfileChangedEvent.md) - - [ProfileDetails](docs/ProfileDetails.md) - - [ProfileDetailsChildren](docs/ProfileDetailsChildren.md) - - [ProfileRemovedEvent](docs/ProfileRemovedEvent.md) - - [ProfileType](docs/ProfileType.md) - - [RadioBasedSsidConfiguration](docs/RadioBasedSsidConfiguration.md) - - [RadioBasedSsidConfigurationMap](docs/RadioBasedSsidConfigurationMap.md) - - [RadioBestApSettings](docs/RadioBestApSettings.md) - - [RadioChannelChangeSettings](docs/RadioChannelChangeSettings.md) - - [RadioConfiguration](docs/RadioConfiguration.md) - - [RadioMap](docs/RadioMap.md) - - [RadioMode](docs/RadioMode.md) - - [RadioProfileConfiguration](docs/RadioProfileConfiguration.md) - - [RadioProfileConfigurationMap](docs/RadioProfileConfigurationMap.md) - - [RadioStatistics](docs/RadioStatistics.md) - - [RadioStatisticsPerRadioMap](docs/RadioStatisticsPerRadioMap.md) - - [RadioType](docs/RadioType.md) - - [RadioUtilization](docs/RadioUtilization.md) - - [RadioUtilizationDetails](docs/RadioUtilizationDetails.md) - - [RadioUtilizationPerRadioDetails](docs/RadioUtilizationPerRadioDetails.md) - - [RadioUtilizationPerRadioDetailsMap](docs/RadioUtilizationPerRadioDetailsMap.md) - - [RadioUtilizationReport](docs/RadioUtilizationReport.md) - - [RadiusAuthenticationMethod](docs/RadiusAuthenticationMethod.md) - - [RadiusDetails](docs/RadiusDetails.md) - - [RadiusMetrics](docs/RadiusMetrics.md) - - [RadiusNasConfiguration](docs/RadiusNasConfiguration.md) - - [RadiusProfile](docs/RadiusProfile.md) - - [RadiusServer](docs/RadiusServer.md) - - [RadiusServerDetails](docs/RadiusServerDetails.md) - - [RealTimeEvent](docs/RealTimeEvent.md) - - [RealTimeSipCallEventWithStats](docs/RealTimeSipCallEventWithStats.md) - - [RealTimeSipCallReportEvent](docs/RealTimeSipCallReportEvent.md) - - [RealTimeSipCallStartEvent](docs/RealTimeSipCallStartEvent.md) - - [RealTimeSipCallStopEvent](docs/RealTimeSipCallStopEvent.md) - - [RealTimeStreamingStartEvent](docs/RealTimeStreamingStartEvent.md) - - [RealTimeStreamingStartSessionEvent](docs/RealTimeStreamingStartSessionEvent.md) - - [RealTimeStreamingStopEvent](docs/RealTimeStreamingStopEvent.md) - - [RealtimeChannelHopEvent](docs/RealtimeChannelHopEvent.md) - - [RfConfigMap](docs/RfConfigMap.md) - - [RfConfiguration](docs/RfConfiguration.md) - - [RfElementConfiguration](docs/RfElementConfiguration.md) - - [RoutingAddedEvent](docs/RoutingAddedEvent.md) - - [RoutingChangedEvent](docs/RoutingChangedEvent.md) - - [RoutingRemovedEvent](docs/RoutingRemovedEvent.md) - - [RrmBulkUpdateApDetails](docs/RrmBulkUpdateApDetails.md) - - [RtlsSettings](docs/RtlsSettings.md) - - [RtpFlowDirection](docs/RtpFlowDirection.md) - - [RtpFlowStats](docs/RtpFlowStats.md) - - [RtpFlowType](docs/RtpFlowType.md) - - [SIPCallReportReason](docs/SIPCallReportReason.md) - - [ScheduleSetting](docs/ScheduleSetting.md) - - [SecurityType](docs/SecurityType.md) - - [ServiceAdoptionMetrics](docs/ServiceAdoptionMetrics.md) - - [ServiceMetric](docs/ServiceMetric.md) - - [ServiceMetricConfigParameters](docs/ServiceMetricConfigParameters.md) - - [ServiceMetricDataType](docs/ServiceMetricDataType.md) - - [ServiceMetricDetails](docs/ServiceMetricDetails.md) - - [ServiceMetricRadioConfigParameters](docs/ServiceMetricRadioConfigParameters.md) - - [ServiceMetricSurveyConfigParameters](docs/ServiceMetricSurveyConfigParameters.md) - - [ServiceMetricsCollectionConfigProfile](docs/ServiceMetricsCollectionConfigProfile.md) - - [SessionExpiryType](docs/SessionExpiryType.md) - - [SipCallStopReason](docs/SipCallStopReason.md) - - [SortColumnsAlarm](docs/SortColumnsAlarm.md) - - [SortColumnsClient](docs/SortColumnsClient.md) - - [SortColumnsClientSession](docs/SortColumnsClientSession.md) - - [SortColumnsEquipment](docs/SortColumnsEquipment.md) - - [SortColumnsLocation](docs/SortColumnsLocation.md) - - [SortColumnsPortalUser](docs/SortColumnsPortalUser.md) - - [SortColumnsProfile](docs/SortColumnsProfile.md) - - [SortColumnsServiceMetric](docs/SortColumnsServiceMetric.md) - - [SortColumnsStatus](docs/SortColumnsStatus.md) - - [SortColumnsSystemEvent](docs/SortColumnsSystemEvent.md) - - [SortOrder](docs/SortOrder.md) - - [SourceSelectionManagement](docs/SourceSelectionManagement.md) - - [SourceSelectionMulticast](docs/SourceSelectionMulticast.md) - - [SourceSelectionSteering](docs/SourceSelectionSteering.md) - - [SourceSelectionValue](docs/SourceSelectionValue.md) - - [SourceType](docs/SourceType.md) - - [SsidConfiguration](docs/SsidConfiguration.md) - - [SsidSecureMode](docs/SsidSecureMode.md) - - [SsidStatistics](docs/SsidStatistics.md) - - [StateSetting](docs/StateSetting.md) - - [StateUpDownError](docs/StateUpDownError.md) - - [StatsReportFormat](docs/StatsReportFormat.md) - - [Status](docs/Status.md) - - [StatusChangedEvent](docs/StatusChangedEvent.md) - - [StatusCode](docs/StatusCode.md) - - [StatusDataType](docs/StatusDataType.md) - - [StatusDetails](docs/StatusDetails.md) - - [StatusRemovedEvent](docs/StatusRemovedEvent.md) - - [SteerType](docs/SteerType.md) - - [StreamingVideoServerRecord](docs/StreamingVideoServerRecord.md) - - [StreamingVideoType](docs/StreamingVideoType.md) - - [SyslogRelay](docs/SyslogRelay.md) - - [SyslogSeverityType](docs/SyslogSeverityType.md) - - [SystemEvent](docs/SystemEvent.md) - - [SystemEventDataType](docs/SystemEventDataType.md) - - [SystemEventRecord](docs/SystemEventRecord.md) - - [TimedAccessUserDetails](docs/TimedAccessUserDetails.md) - - [TimedAccessUserRecord](docs/TimedAccessUserRecord.md) - - [TrackFlag](docs/TrackFlag.md) - - [TrafficDetails](docs/TrafficDetails.md) - - [TrafficPerRadioDetails](docs/TrafficPerRadioDetails.md) - - [TrafficPerRadioDetailsPerRadioTypeMap](docs/TrafficPerRadioDetailsPerRadioTypeMap.md) - - [TunnelIndicator](docs/TunnelIndicator.md) - - [TunnelMetricData](docs/TunnelMetricData.md) - - [UnserializableSystemEvent](docs/UnserializableSystemEvent.md) - - [UserDetails](docs/UserDetails.md) - - [VLANStatusData](docs/VLANStatusData.md) - - [VLANStatusDataMap](docs/VLANStatusDataMap.md) - - [VlanSubnet](docs/VlanSubnet.md) - - [WebTokenAclTemplate](docs/WebTokenAclTemplate.md) - - [WebTokenRequest](docs/WebTokenRequest.md) - - [WebTokenResult](docs/WebTokenResult.md) - - [WepAuthType](docs/WepAuthType.md) - - [WepConfiguration](docs/WepConfiguration.md) - - [WepKey](docs/WepKey.md) - - [WepType](docs/WepType.md) - - [WlanReasonCode](docs/WlanReasonCode.md) - - [WlanStatusCode](docs/WlanStatusCode.md) - - [WmmQueueStats](docs/WmmQueueStats.md) - - [WmmQueueStatsPerQueueTypeMap](docs/WmmQueueStatsPerQueueTypeMap.md) - - [WmmQueueType](docs/WmmQueueType.md) - -## Documentation For Authorization - - -## tip_wlan_ts_auth - - - -## Author - - diff --git a/libs/cloudapi/cloudsdk/docs/AclTemplate.md b/libs/cloudapi/cloudsdk/docs/AclTemplate.md deleted file mode 100644 index 467fc3856..000000000 --- a/libs/cloudapi/cloudsdk/docs/AclTemplate.md +++ /dev/null @@ -1,13 +0,0 @@ -# AclTemplate - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**read** | **bool** | | [optional] -**read_write** | **bool** | | [optional] -**read_write_create** | **bool** | | [optional] -**delete** | **bool** | | [optional] -**portal_login** | **bool** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ActiveBSSID.md b/libs/cloudapi/cloudsdk/docs/ActiveBSSID.md deleted file mode 100644 index dbd34c2bd..000000000 --- a/libs/cloudapi/cloudsdk/docs/ActiveBSSID.md +++ /dev/null @@ -1,13 +0,0 @@ -# ActiveBSSID - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | [optional] -**bssid** | **str** | | [optional] -**ssid** | **str** | | [optional] -**radio_type** | [**RadioType**](RadioType.md) | | [optional] -**num_devices_connected** | **int** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ActiveBSSIDs.md b/libs/cloudapi/cloudsdk/docs/ActiveBSSIDs.md deleted file mode 100644 index 63779c9e6..000000000 --- a/libs/cloudapi/cloudsdk/docs/ActiveBSSIDs.md +++ /dev/null @@ -1,11 +0,0 @@ -# ActiveBSSIDs - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**status_data_type** | **str** | | [optional] -**active_bssi_ds** | [**list[ActiveBSSID]**](ActiveBSSID.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ActiveScanSettings.md b/libs/cloudapi/cloudsdk/docs/ActiveScanSettings.md deleted file mode 100644 index d72f550de..000000000 --- a/libs/cloudapi/cloudsdk/docs/ActiveScanSettings.md +++ /dev/null @@ -1,11 +0,0 @@ -# ActiveScanSettings - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**enabled** | **bool** | | [optional] -**scan_frequency_seconds** | **int** | | [optional] -**scan_duration_millis** | **int** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/AdvancedRadioMap.md b/libs/cloudapi/cloudsdk/docs/AdvancedRadioMap.md deleted file mode 100644 index a6aba74ba..000000000 --- a/libs/cloudapi/cloudsdk/docs/AdvancedRadioMap.md +++ /dev/null @@ -1,12 +0,0 @@ -# AdvancedRadioMap - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**is5_g_hz** | [**RadioConfiguration**](RadioConfiguration.md) | | [optional] -**is5_g_hz_u** | [**RadioConfiguration**](RadioConfiguration.md) | | [optional] -**is5_g_hz_l** | [**RadioConfiguration**](RadioConfiguration.md) | | [optional] -**is2dot4_g_hz** | [**RadioConfiguration**](RadioConfiguration.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/Alarm.md b/libs/cloudapi/cloudsdk/docs/Alarm.md deleted file mode 100644 index f411e138b..000000000 --- a/libs/cloudapi/cloudsdk/docs/Alarm.md +++ /dev/null @@ -1,19 +0,0 @@ -# Alarm - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**customer_id** | **int** | | [optional] -**equipment_id** | **int** | | [optional] -**alarm_code** | [**AlarmCode**](AlarmCode.md) | | [optional] -**created_timestamp** | **int** | | [optional] -**originator_type** | [**OriginatorType**](OriginatorType.md) | | [optional] -**severity** | [**StatusCode**](StatusCode.md) | | [optional] -**scope_type** | [**AlarmScopeType**](AlarmScopeType.md) | | [optional] -**scope_id** | **str** | | [optional] -**details** | [**AlarmDetails**](AlarmDetails.md) | | [optional] -**acknowledged** | **bool** | | [optional] -**last_modified_timestamp** | **int** | must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/AlarmAddedEvent.md b/libs/cloudapi/cloudsdk/docs/AlarmAddedEvent.md deleted file mode 100644 index 14eba0558..000000000 --- a/libs/cloudapi/cloudsdk/docs/AlarmAddedEvent.md +++ /dev/null @@ -1,13 +0,0 @@ -# AlarmAddedEvent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**event_timestamp** | **int** | | [optional] -**customer_id** | **int** | | [optional] -**equipment_id** | **int** | | [optional] -**payload** | [**Alarm**](Alarm.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/AlarmChangedEvent.md b/libs/cloudapi/cloudsdk/docs/AlarmChangedEvent.md deleted file mode 100644 index b90a43bdd..000000000 --- a/libs/cloudapi/cloudsdk/docs/AlarmChangedEvent.md +++ /dev/null @@ -1,13 +0,0 @@ -# AlarmChangedEvent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**event_timestamp** | **int** | | [optional] -**customer_id** | **int** | | [optional] -**equipment_id** | **int** | | [optional] -**payload** | [**Alarm**](Alarm.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/AlarmCode.md b/libs/cloudapi/cloudsdk/docs/AlarmCode.md deleted file mode 100644 index cfa5a3f7e..000000000 --- a/libs/cloudapi/cloudsdk/docs/AlarmCode.md +++ /dev/null @@ -1,8 +0,0 @@ -# AlarmCode - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/AlarmCounts.md b/libs/cloudapi/cloudsdk/docs/AlarmCounts.md deleted file mode 100644 index 20d2ca1b0..000000000 --- a/libs/cloudapi/cloudsdk/docs/AlarmCounts.md +++ /dev/null @@ -1,11 +0,0 @@ -# AlarmCounts - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**customer_id** | **int** | | [optional] -**counts_per_equipment_id_map** | [**CountsPerEquipmentIdPerAlarmCodeMap**](CountsPerEquipmentIdPerAlarmCodeMap.md) | | [optional] -**total_counts_per_alarm_code_map** | [**CountsPerAlarmCodeMap**](CountsPerAlarmCodeMap.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/AlarmDetails.md b/libs/cloudapi/cloudsdk/docs/AlarmDetails.md deleted file mode 100644 index 464a2f727..000000000 --- a/libs/cloudapi/cloudsdk/docs/AlarmDetails.md +++ /dev/null @@ -1,12 +0,0 @@ -# AlarmDetails - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**message** | **str** | | [optional] -**affected_equipment_ids** | **list[int]** | | [optional] -**generated_by** | **str** | | [optional] -**context_attrs** | [**AlarmDetailsAttributesMap**](AlarmDetailsAttributesMap.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/AlarmDetailsAttributesMap.md b/libs/cloudapi/cloudsdk/docs/AlarmDetailsAttributesMap.md deleted file mode 100644 index 1716557c9..000000000 --- a/libs/cloudapi/cloudsdk/docs/AlarmDetailsAttributesMap.md +++ /dev/null @@ -1,8 +0,0 @@ -# AlarmDetailsAttributesMap - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/AlarmRemovedEvent.md b/libs/cloudapi/cloudsdk/docs/AlarmRemovedEvent.md deleted file mode 100644 index 0a960838a..000000000 --- a/libs/cloudapi/cloudsdk/docs/AlarmRemovedEvent.md +++ /dev/null @@ -1,13 +0,0 @@ -# AlarmRemovedEvent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**event_timestamp** | **int** | | [optional] -**customer_id** | **int** | | [optional] -**equipment_id** | **int** | | [optional] -**payload** | [**Alarm**](Alarm.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/AlarmScopeType.md b/libs/cloudapi/cloudsdk/docs/AlarmScopeType.md deleted file mode 100644 index a11704498..000000000 --- a/libs/cloudapi/cloudsdk/docs/AlarmScopeType.md +++ /dev/null @@ -1,8 +0,0 @@ -# AlarmScopeType - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/AlarmsApi.md b/libs/cloudapi/cloudsdk/docs/AlarmsApi.md deleted file mode 100644 index 4454e8e10..000000000 --- a/libs/cloudapi/cloudsdk/docs/AlarmsApi.md +++ /dev/null @@ -1,317 +0,0 @@ -# swagger_client.AlarmsApi - -All URIs are relative to *https://localhost:9091* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**delete_alarm**](AlarmsApi.md#delete_alarm) | **DELETE** /portal/alarm | Delete Alarm -[**get_alarm_counts**](AlarmsApi.md#get_alarm_counts) | **GET** /portal/alarm/counts | Get counts of Alarms for customerId, optional set of equipment ids, optional set of alarm codes. -[**get_alarmsfor_customer**](AlarmsApi.md#get_alarmsfor_customer) | **GET** /portal/alarm/forCustomer | Get list of Alarms for customerId, optional set of equipment ids, optional set of alarm codes. -[**get_alarmsfor_equipment**](AlarmsApi.md#get_alarmsfor_equipment) | **GET** /portal/alarm/forEquipment | Get list of Alarms for customerId, set of equipment ids, and set of alarm codes. -[**reset_alarm_counts**](AlarmsApi.md#reset_alarm_counts) | **POST** /portal/alarm/resetCounts | Reset accumulated counts of Alarms. -[**update_alarm**](AlarmsApi.md#update_alarm) | **PUT** /portal/alarm | Update Alarm - -# **delete_alarm** -> Alarm delete_alarm(customer_id, equipment_id, alarm_code, created_timestamp) - -Delete Alarm - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.AlarmsApi(swagger_client.ApiClient(configuration)) -customer_id = 56 # int | -equipment_id = 789 # int | -alarm_code = swagger_client.AlarmCode() # AlarmCode | -created_timestamp = 789 # int | - -try: - # Delete Alarm - api_response = api_instance.delete_alarm(customer_id, equipment_id, alarm_code, created_timestamp) - pprint(api_response) -except ApiException as e: - print("Exception when calling AlarmsApi->delete_alarm: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **customer_id** | **int**| | - **equipment_id** | **int**| | - **alarm_code** | [**AlarmCode**](.md)| | - **created_timestamp** | **int**| | - -### Return type - -[**Alarm**](Alarm.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_alarm_counts** -> AlarmCounts get_alarm_counts(customer_id, equipment_ids=equipment_ids, alarm_codes=alarm_codes) - -Get counts of Alarms for customerId, optional set of equipment ids, optional set of alarm codes. - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.AlarmsApi(swagger_client.ApiClient(configuration)) -customer_id = 56 # int | customer id -equipment_ids = [56] # list[int] | Set of equipment ids. Empty or null means retrieve for all equipment for the customer. (optional) -alarm_codes = [swagger_client.AlarmCode()] # list[AlarmCode] | Set of alarm codes. Empty or null means retrieve all. (optional) - -try: - # Get counts of Alarms for customerId, optional set of equipment ids, optional set of alarm codes. - api_response = api_instance.get_alarm_counts(customer_id, equipment_ids=equipment_ids, alarm_codes=alarm_codes) - pprint(api_response) -except ApiException as e: - print("Exception when calling AlarmsApi->get_alarm_counts: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **customer_id** | **int**| customer id | - **equipment_ids** | [**list[int]**](int.md)| Set of equipment ids. Empty or null means retrieve for all equipment for the customer. | [optional] - **alarm_codes** | [**list[AlarmCode]**](AlarmCode.md)| Set of alarm codes. Empty or null means retrieve all. | [optional] - -### Return type - -[**AlarmCounts**](AlarmCounts.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_alarmsfor_customer** -> PaginationResponseAlarm get_alarmsfor_customer(customer_id, pagination_context, equipment_ids=equipment_ids, alarm_codes=alarm_codes, created_after_timestamp=created_after_timestamp, sort_by=sort_by) - -Get list of Alarms for customerId, optional set of equipment ids, optional set of alarm codes. - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.AlarmsApi(swagger_client.ApiClient(configuration)) -customer_id = 56 # int | customer id -pagination_context = swagger_client.PaginationContextAlarm() # PaginationContextAlarm | pagination context -equipment_ids = [56] # list[int] | Set of equipment ids. Empty or null means retrieve all equipment for the customer. (optional) -alarm_codes = [swagger_client.AlarmCode()] # list[AlarmCode] | Set of alarm codes. Empty or null means retrieve all. (optional) -created_after_timestamp = -1 # int | retrieve alarms created after the specified time (optional) (default to -1) -sort_by = [swagger_client.SortColumnsAlarm()] # list[SortColumnsAlarm] | sort options (optional) - -try: - # Get list of Alarms for customerId, optional set of equipment ids, optional set of alarm codes. - api_response = api_instance.get_alarmsfor_customer(customer_id, pagination_context, equipment_ids=equipment_ids, alarm_codes=alarm_codes, created_after_timestamp=created_after_timestamp, sort_by=sort_by) - pprint(api_response) -except ApiException as e: - print("Exception when calling AlarmsApi->get_alarmsfor_customer: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **customer_id** | **int**| customer id | - **pagination_context** | [**PaginationContextAlarm**](.md)| pagination context | - **equipment_ids** | [**list[int]**](int.md)| Set of equipment ids. Empty or null means retrieve all equipment for the customer. | [optional] - **alarm_codes** | [**list[AlarmCode]**](AlarmCode.md)| Set of alarm codes. Empty or null means retrieve all. | [optional] - **created_after_timestamp** | **int**| retrieve alarms created after the specified time | [optional] [default to -1] - **sort_by** | [**list[SortColumnsAlarm]**](SortColumnsAlarm.md)| sort options | [optional] - -### Return type - -[**PaginationResponseAlarm**](PaginationResponseAlarm.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_alarmsfor_equipment** -> list[Alarm] get_alarmsfor_equipment(customer_id, equipment_ids, alarm_codes=alarm_codes, created_after_timestamp=created_after_timestamp) - -Get list of Alarms for customerId, set of equipment ids, and set of alarm codes. - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.AlarmsApi(swagger_client.ApiClient(configuration)) -customer_id = 56 # int | customer id -equipment_ids = [56] # list[int] | Set of equipment ids. Must not be empty. -alarm_codes = [swagger_client.AlarmCode()] # list[AlarmCode] | Set of alarm codes. Empty or null means retrieve all. (optional) -created_after_timestamp = -1 # int | retrieve alarms created after the specified time (optional) (default to -1) - -try: - # Get list of Alarms for customerId, set of equipment ids, and set of alarm codes. - api_response = api_instance.get_alarmsfor_equipment(customer_id, equipment_ids, alarm_codes=alarm_codes, created_after_timestamp=created_after_timestamp) - pprint(api_response) -except ApiException as e: - print("Exception when calling AlarmsApi->get_alarmsfor_equipment: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **customer_id** | **int**| customer id | - **equipment_ids** | [**list[int]**](int.md)| Set of equipment ids. Must not be empty. | - **alarm_codes** | [**list[AlarmCode]**](AlarmCode.md)| Set of alarm codes. Empty or null means retrieve all. | [optional] - **created_after_timestamp** | **int**| retrieve alarms created after the specified time | [optional] [default to -1] - -### Return type - -[**list[Alarm]**](Alarm.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **reset_alarm_counts** -> GenericResponse reset_alarm_counts() - -Reset accumulated counts of Alarms. - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.AlarmsApi(swagger_client.ApiClient(configuration)) - -try: - # Reset accumulated counts of Alarms. - api_response = api_instance.reset_alarm_counts() - pprint(api_response) -except ApiException as e: - print("Exception when calling AlarmsApi->reset_alarm_counts: %s\n" % e) -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**GenericResponse**](GenericResponse.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **update_alarm** -> Alarm update_alarm(body) - -Update Alarm - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.AlarmsApi(swagger_client.ApiClient(configuration)) -body = swagger_client.Alarm() # Alarm | Alarm info - -try: - # Update Alarm - api_response = api_instance.update_alarm(body) - pprint(api_response) -except ApiException as e: - print("Exception when calling AlarmsApi->update_alarm: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**Alarm**](Alarm.md)| Alarm info | - -### Return type - -[**Alarm**](Alarm.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/AntennaType.md b/libs/cloudapi/cloudsdk/docs/AntennaType.md deleted file mode 100644 index 5bb9a2a87..000000000 --- a/libs/cloudapi/cloudsdk/docs/AntennaType.md +++ /dev/null @@ -1,8 +0,0 @@ -# AntennaType - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ApElementConfiguration.md b/libs/cloudapi/cloudsdk/docs/ApElementConfiguration.md deleted file mode 100644 index 1fcc9b00a..000000000 --- a/libs/cloudapi/cloudsdk/docs/ApElementConfiguration.md +++ /dev/null @@ -1,32 +0,0 @@ -# ApElementConfiguration - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**element_config_version** | **str** | | [optional] -**equipment_type** | [**EquipmentType**](EquipmentType.md) | | [optional] -**device_mode** | [**DeviceMode**](DeviceMode.md) | | [optional] -**getting_ip** | **str** | | [optional] -**static_ip** | **str** | | [optional] -**static_ip_mask_cidr** | **int** | | [optional] -**static_ip_gw** | **str** | | [optional] -**getting_dns** | **str** | | [optional] -**static_dns_ip1** | **str** | | [optional] -**static_dns_ip2** | **str** | | [optional] -**peer_info_list** | [**list[PeerInfo]**](PeerInfo.md) | | [optional] -**device_name** | **str** | | [optional] -**location_data** | **str** | | [optional] -**locally_configured_mgmt_vlan** | **int** | | [optional] -**locally_configured** | **bool** | | [optional] -**deployment_type** | [**DeploymentType**](DeploymentType.md) | | [optional] -**synthetic_client_enabled** | **bool** | | [optional] -**frame_report_throttle_enabled** | **bool** | | [optional] -**antenna_type** | [**AntennaType**](AntennaType.md) | | [optional] -**cost_saving_events_enabled** | **bool** | | [optional] -**forward_mode** | [**NetworkForwardMode**](NetworkForwardMode.md) | | [optional] -**radio_map** | [**RadioMap**](RadioMap.md) | | [optional] -**advanced_radio_map** | [**AdvancedRadioMap**](AdvancedRadioMap.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ApMeshMode.md b/libs/cloudapi/cloudsdk/docs/ApMeshMode.md deleted file mode 100644 index 0038ac00f..000000000 --- a/libs/cloudapi/cloudsdk/docs/ApMeshMode.md +++ /dev/null @@ -1,8 +0,0 @@ -# ApMeshMode - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ApNetworkConfiguration.md b/libs/cloudapi/cloudsdk/docs/ApNetworkConfiguration.md deleted file mode 100644 index 43d4b21be..000000000 --- a/libs/cloudapi/cloudsdk/docs/ApNetworkConfiguration.md +++ /dev/null @@ -1,21 +0,0 @@ -# ApNetworkConfiguration - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | [optional] -**network_config_version** | **str** | | [optional] -**equipment_type** | **str** | | [optional] -**vlan_native** | **bool** | | [optional] -**vlan** | **int** | | [optional] -**ntp_server** | [**ApNetworkConfigurationNtpServer**](ApNetworkConfigurationNtpServer.md) | | [optional] -**syslog_relay** | [**SyslogRelay**](SyslogRelay.md) | | [optional] -**rtls_settings** | [**RtlsSettings**](RtlsSettings.md) | | [optional] -**synthetic_client_enabled** | **bool** | | [optional] -**led_control_enabled** | **bool** | | [optional] -**equipment_discovery** | **bool** | | [optional] -**gre_tunnel_configurations** | [**list[GreTunnelConfiguration]**](GreTunnelConfiguration.md) | | [optional] -**radio_map** | [**RadioProfileConfigurationMap**](RadioProfileConfigurationMap.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ApNetworkConfigurationNtpServer.md b/libs/cloudapi/cloudsdk/docs/ApNetworkConfigurationNtpServer.md deleted file mode 100644 index 71d921d03..000000000 --- a/libs/cloudapi/cloudsdk/docs/ApNetworkConfigurationNtpServer.md +++ /dev/null @@ -1,10 +0,0 @@ -# ApNetworkConfigurationNtpServer - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**auto** | **bool** | | [optional] -**value** | **str** | | [optional] [default to 'pool.ntp.org'] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ApNodeMetrics.md b/libs/cloudapi/cloudsdk/docs/ApNodeMetrics.md deleted file mode 100644 index 53a13199e..000000000 --- a/libs/cloudapi/cloudsdk/docs/ApNodeMetrics.md +++ /dev/null @@ -1,26 +0,0 @@ -# ApNodeMetrics - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**period_length_sec** | **int** | How many seconds the AP measured for the metric | [optional] -**client_mac_addresses_per_radio** | [**ListOfMacsPerRadioMap**](ListOfMacsPerRadioMap.md) | | [optional] -**tx_bytes_per_radio** | [**LongPerRadioTypeMap**](LongPerRadioTypeMap.md) | | [optional] -**rx_bytes_per_radio** | [**LongPerRadioTypeMap**](LongPerRadioTypeMap.md) | | [optional] -**noise_floor_per_radio** | [**IntegerPerRadioTypeMap**](IntegerPerRadioTypeMap.md) | | [optional] -**tunnel_metrics** | [**list[TunnelMetricData]**](TunnelMetricData.md) | | [optional] -**network_probe_metrics** | [**list[NetworkProbeMetrics]**](NetworkProbeMetrics.md) | | [optional] -**radius_metrics** | [**list[RadiusMetrics]**](RadiusMetrics.md) | | [optional] -**cloud_link_availability** | **int** | | [optional] -**cloud_link_latency_in_ms** | **int** | | [optional] -**channel_utilization_per_radio** | [**IntegerPerRadioTypeMap**](IntegerPerRadioTypeMap.md) | | [optional] -**ap_performance** | [**ApPerformance**](ApPerformance.md) | | [optional] -**vlan_subnet** | [**list[VlanSubnet]**](VlanSubnet.md) | | [optional] -**radio_utilization_per_radio** | [**ListOfRadioUtilizationPerRadioMap**](ListOfRadioUtilizationPerRadioMap.md) | | [optional] -**radio_stats_per_radio** | [**RadioStatisticsPerRadioMap**](RadioStatisticsPerRadioMap.md) | | [optional] -**mcs_stats_per_radio** | [**ListOfMcsStatsPerRadioMap**](ListOfMcsStatsPerRadioMap.md) | | [optional] -**wmm_queues_per_radio** | [**MapOfWmmQueueStatsPerRadioMap**](MapOfWmmQueueStatsPerRadioMap.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ApPerformance.md b/libs/cloudapi/cloudsdk/docs/ApPerformance.md deleted file mode 100644 index fdbd66962..000000000 --- a/libs/cloudapi/cloudsdk/docs/ApPerformance.md +++ /dev/null @@ -1,19 +0,0 @@ -# ApPerformance - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**free_memory** | **int** | free memory in kilobytes | [optional] -**cpu_utilized** | **list[int]** | CPU utilization in percentage, one per core | [optional] -**up_time** | **int** | AP uptime in seconds | [optional] -**cami_crashed** | **int** | number of time cloud-to-ap-management process crashed | [optional] -**cpu_temperature** | **int** | cpu temperature in Celsius | [optional] -**low_memory_reboot** | **bool** | low memory reboot happened | [optional] -**eth_link_state** | [**EthernetLinkState**](EthernetLinkState.md) | | [optional] -**cloud_tx_bytes** | **int** | Data sent by AP to the cloud | [optional] -**cloud_rx_bytes** | **int** | Data received by AP from cloud | [optional] -**ps_cpu_util** | [**list[PerProcessUtilization]**](PerProcessUtilization.md) | | [optional] -**ps_mem_util** | [**list[PerProcessUtilization]**](PerProcessUtilization.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ApSsidMetrics.md b/libs/cloudapi/cloudsdk/docs/ApSsidMetrics.md deleted file mode 100644 index 41464938f..000000000 --- a/libs/cloudapi/cloudsdk/docs/ApSsidMetrics.md +++ /dev/null @@ -1,10 +0,0 @@ -# ApSsidMetrics - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**ssid_stats** | [**ListOfSsidStatisticsPerRadioMap**](ListOfSsidStatisticsPerRadioMap.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/AutoOrManualString.md b/libs/cloudapi/cloudsdk/docs/AutoOrManualString.md deleted file mode 100644 index 9f19276b1..000000000 --- a/libs/cloudapi/cloudsdk/docs/AutoOrManualString.md +++ /dev/null @@ -1,10 +0,0 @@ -# AutoOrManualString - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**auto** | **bool** | | [optional] -**value** | **str** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/AutoOrManualValue.md b/libs/cloudapi/cloudsdk/docs/AutoOrManualValue.md deleted file mode 100644 index bf34af107..000000000 --- a/libs/cloudapi/cloudsdk/docs/AutoOrManualValue.md +++ /dev/null @@ -1,10 +0,0 @@ -# AutoOrManualValue - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**auto** | **bool** | | [optional] -**value** | **int** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/BackgroundPosition.md b/libs/cloudapi/cloudsdk/docs/BackgroundPosition.md deleted file mode 100644 index 2cf5a94ad..000000000 --- a/libs/cloudapi/cloudsdk/docs/BackgroundPosition.md +++ /dev/null @@ -1,8 +0,0 @@ -# BackgroundPosition - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/BackgroundRepeat.md b/libs/cloudapi/cloudsdk/docs/BackgroundRepeat.md deleted file mode 100644 index e5567bca4..000000000 --- a/libs/cloudapi/cloudsdk/docs/BackgroundRepeat.md +++ /dev/null @@ -1,8 +0,0 @@ -# BackgroundRepeat - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/BannedChannel.md b/libs/cloudapi/cloudsdk/docs/BannedChannel.md deleted file mode 100644 index cf636e86f..000000000 --- a/libs/cloudapi/cloudsdk/docs/BannedChannel.md +++ /dev/null @@ -1,10 +0,0 @@ -# BannedChannel - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**channel_number** | **int** | | [optional] -**banned_on_epoc** | **int** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/BaseDhcpEvent.md b/libs/cloudapi/cloudsdk/docs/BaseDhcpEvent.md deleted file mode 100644 index 10aff63fa..000000000 --- a/libs/cloudapi/cloudsdk/docs/BaseDhcpEvent.md +++ /dev/null @@ -1,19 +0,0 @@ -# BaseDhcpEvent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**all_of** | [**SystemEvent**](SystemEvent.md) | | [optional] -**x_id** | **int** | | [optional] -**vlan_id** | **int** | | [optional] -**dhcp_server_ip** | **str** | string representing InetAddress | [optional] -**client_ip** | **str** | string representing InetAddress | [optional] -**relay_ip** | **str** | string representing InetAddress | [optional] -**client_mac_address** | [**MacAddress**](MacAddress.md) | | [optional] -**session_id** | **int** | | [optional] -**customer_id** | **int** | | [optional] -**equipment_id** | **int** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/BestAPSteerType.md b/libs/cloudapi/cloudsdk/docs/BestAPSteerType.md deleted file mode 100644 index 034119717..000000000 --- a/libs/cloudapi/cloudsdk/docs/BestAPSteerType.md +++ /dev/null @@ -1,8 +0,0 @@ -# BestAPSteerType - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/BlocklistDetails.md b/libs/cloudapi/cloudsdk/docs/BlocklistDetails.md deleted file mode 100644 index 2174f2f45..000000000 --- a/libs/cloudapi/cloudsdk/docs/BlocklistDetails.md +++ /dev/null @@ -1,11 +0,0 @@ -# BlocklistDetails - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**enabled** | **bool** | When enabled, blocklisting applies to the client, subject to the optional start/end times. | [optional] -**start_time** | **int** | Optional startTime when blocklisting becomes enabled. | [optional] -**end_time** | **int** | Optional endTime when blocklisting ceases to be enabled | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/BonjourGatewayProfile.md b/libs/cloudapi/cloudsdk/docs/BonjourGatewayProfile.md deleted file mode 100644 index f100afe2e..000000000 --- a/libs/cloudapi/cloudsdk/docs/BonjourGatewayProfile.md +++ /dev/null @@ -1,11 +0,0 @@ -# BonjourGatewayProfile - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | [optional] -**profile_description** | **str** | | [optional] -**bonjour_services** | [**list[BonjourServiceSet]**](BonjourServiceSet.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/BonjourServiceSet.md b/libs/cloudapi/cloudsdk/docs/BonjourServiceSet.md deleted file mode 100644 index bfe16413d..000000000 --- a/libs/cloudapi/cloudsdk/docs/BonjourServiceSet.md +++ /dev/null @@ -1,11 +0,0 @@ -# BonjourServiceSet - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**vlan_id** | **int** | | [optional] -**support_all_services** | **bool** | | [optional] -**service_names** | **list[str]** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/CapacityDetails.md b/libs/cloudapi/cloudsdk/docs/CapacityDetails.md deleted file mode 100644 index 935e1ca2d..000000000 --- a/libs/cloudapi/cloudsdk/docs/CapacityDetails.md +++ /dev/null @@ -1,9 +0,0 @@ -# CapacityDetails - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**per_radio_details** | [**CapacityPerRadioDetailsMap**](CapacityPerRadioDetailsMap.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/CapacityPerRadioDetails.md b/libs/cloudapi/cloudsdk/docs/CapacityPerRadioDetails.md deleted file mode 100644 index a172607c7..000000000 --- a/libs/cloudapi/cloudsdk/docs/CapacityPerRadioDetails.md +++ /dev/null @@ -1,13 +0,0 @@ -# CapacityPerRadioDetails - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**total_capacity** | **int** | | [optional] -**available_capacity** | [**MinMaxAvgValueInt**](MinMaxAvgValueInt.md) | | [optional] -**unavailable_capacity** | [**MinMaxAvgValueInt**](MinMaxAvgValueInt.md) | | [optional] -**used_capacity** | [**MinMaxAvgValueInt**](MinMaxAvgValueInt.md) | | [optional] -**unused_capacity** | [**MinMaxAvgValueInt**](MinMaxAvgValueInt.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/CapacityPerRadioDetailsMap.md b/libs/cloudapi/cloudsdk/docs/CapacityPerRadioDetailsMap.md deleted file mode 100644 index 7c901e061..000000000 --- a/libs/cloudapi/cloudsdk/docs/CapacityPerRadioDetailsMap.md +++ /dev/null @@ -1,12 +0,0 @@ -# CapacityPerRadioDetailsMap - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**is5_g_hz** | [**CapacityPerRadioDetails**](CapacityPerRadioDetails.md) | | [optional] -**is5_g_hz_u** | [**CapacityPerRadioDetails**](CapacityPerRadioDetails.md) | | [optional] -**is5_g_hz_l** | [**CapacityPerRadioDetails**](CapacityPerRadioDetails.md) | | [optional] -**is2dot4_g_hz** | [**CapacityPerRadioDetails**](CapacityPerRadioDetails.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/CaptivePortalAuthenticationType.md b/libs/cloudapi/cloudsdk/docs/CaptivePortalAuthenticationType.md deleted file mode 100644 index fa30869bb..000000000 --- a/libs/cloudapi/cloudsdk/docs/CaptivePortalAuthenticationType.md +++ /dev/null @@ -1,8 +0,0 @@ -# CaptivePortalAuthenticationType - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/CaptivePortalConfiguration.md b/libs/cloudapi/cloudsdk/docs/CaptivePortalConfiguration.md deleted file mode 100644 index a93d94f83..000000000 --- a/libs/cloudapi/cloudsdk/docs/CaptivePortalConfiguration.md +++ /dev/null @@ -1,30 +0,0 @@ -# CaptivePortalConfiguration - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | [optional] -**browser_title** | **str** | | [optional] -**header_content** | **str** | | [optional] -**user_acceptance_policy** | **str** | | [optional] -**success_page_markdown_text** | **str** | | [optional] -**redirect_url** | **str** | | [optional] -**external_captive_portal_url** | **str** | | [optional] -**session_timeout_in_minutes** | **int** | | [optional] -**logo_file** | [**ManagedFileInfo**](ManagedFileInfo.md) | | [optional] -**background_file** | [**ManagedFileInfo**](ManagedFileInfo.md) | | [optional] -**walled_garden_allowlist** | **list[str]** | | [optional] -**username_password_file** | [**ManagedFileInfo**](ManagedFileInfo.md) | | [optional] -**authentication_type** | [**CaptivePortalAuthenticationType**](CaptivePortalAuthenticationType.md) | | [optional] -**radius_auth_method** | [**RadiusAuthenticationMethod**](RadiusAuthenticationMethod.md) | | [optional] -**max_users_with_same_credentials** | **int** | | [optional] -**external_policy_file** | [**ManagedFileInfo**](ManagedFileInfo.md) | | [optional] -**background_position** | [**BackgroundPosition**](BackgroundPosition.md) | | [optional] -**background_repeat** | [**BackgroundRepeat**](BackgroundRepeat.md) | | [optional] -**radius_service_id** | **int** | | [optional] -**expiry_type** | [**SessionExpiryType**](SessionExpiryType.md) | | [optional] -**user_list** | [**list[TimedAccessUserRecord]**](TimedAccessUserRecord.md) | | [optional] -**mac_allow_list** | [**list[MacAllowlistRecord]**](MacAllowlistRecord.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ChannelBandwidth.md b/libs/cloudapi/cloudsdk/docs/ChannelBandwidth.md deleted file mode 100644 index d68ccbf3a..000000000 --- a/libs/cloudapi/cloudsdk/docs/ChannelBandwidth.md +++ /dev/null @@ -1,8 +0,0 @@ -# ChannelBandwidth - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ChannelHopReason.md b/libs/cloudapi/cloudsdk/docs/ChannelHopReason.md deleted file mode 100644 index f94a7cb17..000000000 --- a/libs/cloudapi/cloudsdk/docs/ChannelHopReason.md +++ /dev/null @@ -1,8 +0,0 @@ -# ChannelHopReason - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ChannelHopSettings.md b/libs/cloudapi/cloudsdk/docs/ChannelHopSettings.md deleted file mode 100644 index ca1c30911..000000000 --- a/libs/cloudapi/cloudsdk/docs/ChannelHopSettings.md +++ /dev/null @@ -1,13 +0,0 @@ -# ChannelHopSettings - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**noise_floor_threshold_in_db** | **int** | | [optional] [default to -75] -**noise_floor_threshold_time_in_seconds** | **int** | | [optional] [default to 180] -**non_wifi_threshold_in_percentage** | **int** | | [optional] [default to 50] -**non_wifi_threshold_time_in_seconds** | **int** | | [optional] [default to 180] -**obss_hop_mode** | [**ObssHopMode**](ObssHopMode.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ChannelInfo.md b/libs/cloudapi/cloudsdk/docs/ChannelInfo.md deleted file mode 100644 index 75eded933..000000000 --- a/libs/cloudapi/cloudsdk/docs/ChannelInfo.md +++ /dev/null @@ -1,13 +0,0 @@ -# ChannelInfo - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**chan_number** | **int** | | [optional] -**bandwidth** | [**ChannelBandwidth**](ChannelBandwidth.md) | | [optional] -**total_utilization** | **int** | | [optional] -**wifi_utilization** | **int** | | [optional] -**noise_floor** | **int** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ChannelInfoReports.md b/libs/cloudapi/cloudsdk/docs/ChannelInfoReports.md deleted file mode 100644 index 50790f08a..000000000 --- a/libs/cloudapi/cloudsdk/docs/ChannelInfoReports.md +++ /dev/null @@ -1,10 +0,0 @@ -# ChannelInfoReports - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**channel_information_reports_per_radio** | [**ListOfChannelInfoReportsPerRadioMap**](ListOfChannelInfoReportsPerRadioMap.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ChannelPowerLevel.md b/libs/cloudapi/cloudsdk/docs/ChannelPowerLevel.md deleted file mode 100644 index 0d712b782..000000000 --- a/libs/cloudapi/cloudsdk/docs/ChannelPowerLevel.md +++ /dev/null @@ -1,12 +0,0 @@ -# ChannelPowerLevel - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**channel_number** | **int** | | [optional] -**power_level** | **int** | | [optional] -**dfs** | **bool** | | [optional] -**channel_width** | **int** | Value is in MHz, -1 means AUTO | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ChannelUtilizationDetails.md b/libs/cloudapi/cloudsdk/docs/ChannelUtilizationDetails.md deleted file mode 100644 index ca1aebce0..000000000 --- a/libs/cloudapi/cloudsdk/docs/ChannelUtilizationDetails.md +++ /dev/null @@ -1,10 +0,0 @@ -# ChannelUtilizationDetails - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**per_radio_details** | [**ChannelUtilizationPerRadioDetailsMap**](ChannelUtilizationPerRadioDetailsMap.md) | | [optional] -**indicator_value** | **int** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ChannelUtilizationPerRadioDetails.md b/libs/cloudapi/cloudsdk/docs/ChannelUtilizationPerRadioDetails.md deleted file mode 100644 index 7581546db..000000000 --- a/libs/cloudapi/cloudsdk/docs/ChannelUtilizationPerRadioDetails.md +++ /dev/null @@ -1,12 +0,0 @@ -# ChannelUtilizationPerRadioDetails - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**channel_utilization** | [**MinMaxAvgValueInt**](MinMaxAvgValueInt.md) | | [optional] -**num_good_equipment** | **int** | | [optional] -**num_warn_equipment** | **int** | | [optional] -**num_bad_equipment** | **int** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ChannelUtilizationPerRadioDetailsMap.md b/libs/cloudapi/cloudsdk/docs/ChannelUtilizationPerRadioDetailsMap.md deleted file mode 100644 index a9174b224..000000000 --- a/libs/cloudapi/cloudsdk/docs/ChannelUtilizationPerRadioDetailsMap.md +++ /dev/null @@ -1,12 +0,0 @@ -# ChannelUtilizationPerRadioDetailsMap - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**is5_g_hz** | [**ChannelUtilizationPerRadioDetails**](ChannelUtilizationPerRadioDetails.md) | | [optional] -**is5_g_hz_u** | [**ChannelUtilizationPerRadioDetails**](ChannelUtilizationPerRadioDetails.md) | | [optional] -**is5_g_hz_l** | [**ChannelUtilizationPerRadioDetails**](ChannelUtilizationPerRadioDetails.md) | | [optional] -**is2dot4_g_hz** | [**ChannelUtilizationPerRadioDetails**](ChannelUtilizationPerRadioDetails.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ChannelUtilizationSurveyType.md b/libs/cloudapi/cloudsdk/docs/ChannelUtilizationSurveyType.md deleted file mode 100644 index d78c2a06e..000000000 --- a/libs/cloudapi/cloudsdk/docs/ChannelUtilizationSurveyType.md +++ /dev/null @@ -1,8 +0,0 @@ -# ChannelUtilizationSurveyType - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/Client.md b/libs/cloudapi/cloudsdk/docs/Client.md deleted file mode 100644 index 9b149bf7d..000000000 --- a/libs/cloudapi/cloudsdk/docs/Client.md +++ /dev/null @@ -1,13 +0,0 @@ -# Client - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**mac_address** | [**MacAddress**](MacAddress.md) | | [optional] -**customer_id** | **int** | | [optional] -**details** | [**ClientInfoDetails**](ClientInfoDetails.md) | | [optional] -**created_timestamp** | **int** | | [optional] -**last_modified_timestamp** | **int** | This class does not perform checks against concurrrent updates. Here last update always wins. | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ClientActivityAggregatedStats.md b/libs/cloudapi/cloudsdk/docs/ClientActivityAggregatedStats.md deleted file mode 100644 index 0ec1e5418..000000000 --- a/libs/cloudapi/cloudsdk/docs/ClientActivityAggregatedStats.md +++ /dev/null @@ -1,12 +0,0 @@ -# ClientActivityAggregatedStats - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**mbps** | [**MinMaxAvgValueInt**](MinMaxAvgValueInt.md) | | [optional] -**high_client_count** | **int** | | [optional] -**medium_client_count** | **int** | | [optional] -**low_client_count** | **int** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ClientActivityAggregatedStatsPerRadioTypeMap.md b/libs/cloudapi/cloudsdk/docs/ClientActivityAggregatedStatsPerRadioTypeMap.md deleted file mode 100644 index 456f457ac..000000000 --- a/libs/cloudapi/cloudsdk/docs/ClientActivityAggregatedStatsPerRadioTypeMap.md +++ /dev/null @@ -1,12 +0,0 @@ -# ClientActivityAggregatedStatsPerRadioTypeMap - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**is5_g_hz** | [**ClientActivityAggregatedStats**](ClientActivityAggregatedStats.md) | | [optional] -**is5_g_hz_u** | [**ClientActivityAggregatedStats**](ClientActivityAggregatedStats.md) | | [optional] -**is5_g_hz_l** | [**ClientActivityAggregatedStats**](ClientActivityAggregatedStats.md) | | [optional] -**is2dot4_g_hz** | [**ClientActivityAggregatedStats**](ClientActivityAggregatedStats.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ClientAddedEvent.md b/libs/cloudapi/cloudsdk/docs/ClientAddedEvent.md deleted file mode 100644 index cb76cdbaf..000000000 --- a/libs/cloudapi/cloudsdk/docs/ClientAddedEvent.md +++ /dev/null @@ -1,12 +0,0 @@ -# ClientAddedEvent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**event_timestamp** | **int** | | [optional] -**customer_id** | **int** | | [optional] -**payload** | [**Client**](Client.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ClientAssocEvent.md b/libs/cloudapi/cloudsdk/docs/ClientAssocEvent.md deleted file mode 100644 index 7635a5915..000000000 --- a/libs/cloudapi/cloudsdk/docs/ClientAssocEvent.md +++ /dev/null @@ -1,21 +0,0 @@ -# ClientAssocEvent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**all_of** | [**RealTimeEvent**](RealTimeEvent.md) | | [optional] -**session_id** | **int** | | [optional] -**ssid** | **str** | | [optional] -**client_mac_address** | [**MacAddress**](MacAddress.md) | | [optional] -**radio_type** | [**RadioType**](RadioType.md) | | [optional] -**is_reassociation** | **bool** | | [optional] -**status** | [**WlanStatusCode**](WlanStatusCode.md) | | [optional] -**rssi** | **int** | | [optional] -**internal_sc** | **int** | | [optional] -**using11k** | **bool** | | [optional] -**using11r** | **bool** | | [optional] -**using11v** | **bool** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ClientAuthEvent.md b/libs/cloudapi/cloudsdk/docs/ClientAuthEvent.md deleted file mode 100644 index 0e4617238..000000000 --- a/libs/cloudapi/cloudsdk/docs/ClientAuthEvent.md +++ /dev/null @@ -1,16 +0,0 @@ -# ClientAuthEvent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**all_of** | [**RealTimeEvent**](RealTimeEvent.md) | | [optional] -**session_id** | **int** | | [optional] -**ssid** | **str** | | [optional] -**client_mac_address** | [**MacAddress**](MacAddress.md) | | [optional] -**radio_type** | [**RadioType**](RadioType.md) | | [optional] -**is_reassociation** | **bool** | | [optional] -**auth_status** | [**WlanStatusCode**](WlanStatusCode.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ClientChangedEvent.md b/libs/cloudapi/cloudsdk/docs/ClientChangedEvent.md deleted file mode 100644 index 8b2e75f23..000000000 --- a/libs/cloudapi/cloudsdk/docs/ClientChangedEvent.md +++ /dev/null @@ -1,12 +0,0 @@ -# ClientChangedEvent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**event_timestamp** | **int** | | [optional] -**customer_id** | **int** | | [optional] -**payload** | [**Client**](Client.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ClientConnectSuccessEvent.md b/libs/cloudapi/cloudsdk/docs/ClientConnectSuccessEvent.md deleted file mode 100644 index c718a73e0..000000000 --- a/libs/cloudapi/cloudsdk/docs/ClientConnectSuccessEvent.md +++ /dev/null @@ -1,30 +0,0 @@ -# ClientConnectSuccessEvent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**all_of** | [**RealTimeEvent**](RealTimeEvent.md) | | [optional] -**client_mac_address** | [**MacAddress**](MacAddress.md) | | [optional] -**session_id** | **int** | | [optional] -**radio_type** | [**RadioType**](RadioType.md) | | [optional] -**is_reassociation** | **bool** | | [optional] -**ssid** | **str** | | [optional] -**security_type** | [**SecurityType**](SecurityType.md) | | [optional] -**fbt_used** | **bool** | | [optional] -**ip_addr** | **str** | string representing InetAddress | [optional] -**clt_id** | **str** | | [optional] -**auth_ts** | **int** | | [optional] -**assoc_ts** | **int** | | [optional] -**eapol_ts** | **int** | | [optional] -**port_enabled_ts** | **int** | | [optional] -**first_data_rx_ts** | **int** | | [optional] -**first_data_tx_ts** | **int** | | [optional] -**using11k** | **bool** | | [optional] -**using11r** | **bool** | | [optional] -**using11v** | **bool** | | [optional] -**ip_acquisition_ts** | **int** | | [optional] -**assoc_rssi** | **int** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ClientConnectionDetails.md b/libs/cloudapi/cloudsdk/docs/ClientConnectionDetails.md deleted file mode 100644 index 0b85e0e04..000000000 --- a/libs/cloudapi/cloudsdk/docs/ClientConnectionDetails.md +++ /dev/null @@ -1,11 +0,0 @@ -# ClientConnectionDetails - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**status_data_type** | **str** | | [optional] -**num_clients_per_radio** | [**IntegerPerRadioTypeMap**](IntegerPerRadioTypeMap.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ClientDhcpDetails.md b/libs/cloudapi/cloudsdk/docs/ClientDhcpDetails.md deleted file mode 100644 index db491bde2..000000000 --- a/libs/cloudapi/cloudsdk/docs/ClientDhcpDetails.md +++ /dev/null @@ -1,20 +0,0 @@ -# ClientDhcpDetails - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**dhcp_server_ip** | **str** | | [optional] -**primary_dns** | **str** | | [optional] -**secondary_dns** | **str** | | [optional] -**subnet_mask** | **str** | | [optional] -**gateway_ip** | **str** | | [optional] -**lease_start_timestamp** | **int** | | [optional] -**lease_time_in_seconds** | **int** | | [optional] -**first_request_timestamp** | **int** | | [optional] -**first_offer_timestamp** | **int** | | [optional] -**first_discover_timestamp** | **int** | | [optional] -**nak_timestamp** | **int** | | [optional] -**from_internal** | **bool** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ClientDisconnectEvent.md b/libs/cloudapi/cloudsdk/docs/ClientDisconnectEvent.md deleted file mode 100644 index 9d3ecfaa4..000000000 --- a/libs/cloudapi/cloudsdk/docs/ClientDisconnectEvent.md +++ /dev/null @@ -1,22 +0,0 @@ -# ClientDisconnectEvent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**all_of** | [**RealTimeEvent**](RealTimeEvent.md) | | [optional] -**session_id** | **int** | | [optional] -**ssid** | **str** | | [optional] -**client_mac_address** | [**MacAddress**](MacAddress.md) | | [optional] -**radio_type** | [**RadioType**](RadioType.md) | | [optional] -**mac_address_bytes** | **list[str]** | | [optional] -**reason_code** | [**WlanReasonCode**](WlanReasonCode.md) | | [optional] -**internal_reason_code** | **int** | | [optional] -**rssi** | **int** | | [optional] -**last_recv_time** | **int** | | [optional] -**last_sent_time** | **int** | | [optional] -**frame_type** | [**DisconnectFrameType**](DisconnectFrameType.md) | | [optional] -**initiator** | [**DisconnectInitiator**](DisconnectInitiator.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ClientEapDetails.md b/libs/cloudapi/cloudsdk/docs/ClientEapDetails.md deleted file mode 100644 index 66312f511..000000000 --- a/libs/cloudapi/cloudsdk/docs/ClientEapDetails.md +++ /dev/null @@ -1,15 +0,0 @@ -# ClientEapDetails - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**eap_key1_timestamp** | **int** | | [optional] -**eap_key2_timestamp** | **int** | | [optional] -**eap_key3_timestamp** | **int** | | [optional] -**eap_key4_timestamp** | **int** | | [optional] -**request_identity_timestamp** | **int** | | [optional] -**eap_negotiation_start_timestamp** | **int** | | [optional] -**eap_success_timestamp** | **int** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ClientFailureDetails.md b/libs/cloudapi/cloudsdk/docs/ClientFailureDetails.md deleted file mode 100644 index 85a7a58c2..000000000 --- a/libs/cloudapi/cloudsdk/docs/ClientFailureDetails.md +++ /dev/null @@ -1,11 +0,0 @@ -# ClientFailureDetails - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**failure_timestamp** | **int** | | [optional] -**reason_code** | **int** | | [optional] -**reason** | **str** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ClientFailureEvent.md b/libs/cloudapi/cloudsdk/docs/ClientFailureEvent.md deleted file mode 100644 index 6a87633d8..000000000 --- a/libs/cloudapi/cloudsdk/docs/ClientFailureEvent.md +++ /dev/null @@ -1,15 +0,0 @@ -# ClientFailureEvent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**all_of** | [**RealTimeEvent**](RealTimeEvent.md) | | [optional] -**session_id** | **int** | | [optional] -**ssid** | **str** | | [optional] -**client_mac_address** | [**MacAddress**](MacAddress.md) | | [optional] -**reason_code** | [**WlanReasonCode**](WlanReasonCode.md) | | [optional] -**reason_string** | **str** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ClientFirstDataEvent.md b/libs/cloudapi/cloudsdk/docs/ClientFirstDataEvent.md deleted file mode 100644 index 368d30bb9..000000000 --- a/libs/cloudapi/cloudsdk/docs/ClientFirstDataEvent.md +++ /dev/null @@ -1,14 +0,0 @@ -# ClientFirstDataEvent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**all_of** | [**RealTimeEvent**](RealTimeEvent.md) | | [optional] -**session_id** | **int** | | [optional] -**client_mac_address** | [**MacAddress**](MacAddress.md) | | [optional] -**first_data_rcvd_ts** | **int** | | [optional] -**first_data_sent_ts** | **int** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ClientIdEvent.md b/libs/cloudapi/cloudsdk/docs/ClientIdEvent.md deleted file mode 100644 index 69b90d716..000000000 --- a/libs/cloudapi/cloudsdk/docs/ClientIdEvent.md +++ /dev/null @@ -1,14 +0,0 @@ -# ClientIdEvent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**all_of** | [**RealTimeEvent**](RealTimeEvent.md) | | [optional] -**session_id** | **int** | | [optional] -**mac_address_bytes** | **list[str]** | | [optional] -**client_mac_address** | [**MacAddress**](MacAddress.md) | | [optional] -**user_id** | **str** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ClientInfoDetails.md b/libs/cloudapi/cloudsdk/docs/ClientInfoDetails.md deleted file mode 100644 index eba6d8496..000000000 --- a/libs/cloudapi/cloudsdk/docs/ClientInfoDetails.md +++ /dev/null @@ -1,17 +0,0 @@ -# ClientInfoDetails - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**alias** | **str** | | [optional] -**client_type** | **int** | | [optional] -**ap_fingerprint** | **str** | | [optional] -**user_name** | **str** | | [optional] -**host_name** | **str** | | [optional] -**last_used_cp_username** | **str** | | [optional] -**last_user_agent** | **str** | | [optional] -**do_not_steer** | **bool** | | [optional] -**blocklist_details** | [**BlocklistDetails**](BlocklistDetails.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ClientIpAddressEvent.md b/libs/cloudapi/cloudsdk/docs/ClientIpAddressEvent.md deleted file mode 100644 index 29147eba8..000000000 --- a/libs/cloudapi/cloudsdk/docs/ClientIpAddressEvent.md +++ /dev/null @@ -1,13 +0,0 @@ -# ClientIpAddressEvent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**all_of** | [**RealTimeEvent**](RealTimeEvent.md) | | [optional] -**session_id** | **int** | | [optional] -**client_mac_address** | [**MacAddress**](MacAddress.md) | | [optional] -**ip_addr** | **list[str]** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ClientMetrics.md b/libs/cloudapi/cloudsdk/docs/ClientMetrics.md deleted file mode 100644 index d978e00d6..000000000 --- a/libs/cloudapi/cloudsdk/docs/ClientMetrics.md +++ /dev/null @@ -1,367 +0,0 @@ -# ClientMetrics - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**seconds_since_last_recv** | **int** | | [optional] -**num_rx_packets** | **int** | | [optional] -**num_tx_packets** | **int** | | [optional] -**num_rx_bytes** | **int** | | [optional] -**num_tx_bytes** | **int** | | [optional] -**tx_retries** | **int** | | [optional] -**rx_duplicate_packets** | **int** | | [optional] -**rate_count** | **int** | | [optional] -**rates** | **list[int]** | | [optional] -**mcs** | **list[int]** | | [optional] -**vht_mcs** | **int** | | [optional] -**snr** | **int** | | [optional] -**rssi** | **int** | | [optional] -**session_id** | **int** | | [optional] -**classification_name** | **str** | | [optional] -**channel_band_width** | [**ChannelBandwidth**](ChannelBandwidth.md) | | [optional] -**guard_interval** | [**GuardInterval**](GuardInterval.md) | | [optional] -**cisco_last_rate** | **int** | | [optional] -**average_tx_rate** | **float** | | [optional] -**average_rx_rate** | **float** | | [optional] -**num_tx_data_frames_12_mbps** | **int** | | [optional] -**num_tx_data_frames_54_mbps** | **int** | | [optional] -**num_tx_data_frames_108_mbps** | **int** | | [optional] -**num_tx_data_frames_300_mbps** | **int** | | [optional] -**num_tx_data_frames_450_mbps** | **int** | | [optional] -**num_tx_data_frames_1300_mbps** | **int** | | [optional] -**num_tx_data_frames_1300_plus_mbps** | **int** | | [optional] -**num_rx_data_frames_12_mbps** | **int** | | [optional] -**num_rx_data_frames_54_mbps** | **int** | | [optional] -**num_rx_data_frames_108_mbps** | **int** | | [optional] -**num_rx_data_frames_300_mbps** | **int** | | [optional] -**num_rx_data_frames_450_mbps** | **int** | | [optional] -**num_rx_data_frames_1300_mbps** | **int** | | [optional] -**num_rx_data_frames_1300_plus_mbps** | **int** | | [optional] -**num_tx_time_frames_transmitted** | **int** | | [optional] -**num_rx_time_to_me** | **int** | | [optional] -**num_tx_time_data** | **int** | | [optional] -**num_rx_time_data** | **int** | | [optional] -**num_tx_frames_transmitted** | **int** | | [optional] -**num_tx_success_with_retry** | **int** | | [optional] -**num_tx_multiple_retries** | **int** | | [optional] -**num_tx_data_transmitted_retried** | **int** | | [optional] -**num_tx_data_transmitted** | **int** | | [optional] -**num_rx_frames_received** | **int** | | [optional] -**num_rx_data_frames_retried** | **int** | | [optional] -**num_rx_data_frames** | **int** | | [optional] -**num_tx_1_mbps** | **int** | | [optional] -**num_tx_6_mbps** | **int** | | [optional] -**num_tx_9_mbps** | **int** | | [optional] -**num_tx_12_mbps** | **int** | | [optional] -**num_tx_18_mbps** | **int** | | [optional] -**num_tx_24_mbps** | **int** | | [optional] -**num_tx_36_mbps** | **int** | | [optional] -**num_tx_48_mbps** | **int** | | [optional] -**num_tx_54_mbps** | **int** | | [optional] -**num_rx_1_mbps** | **int** | | [optional] -**num_rx_6_mbps** | **int** | | [optional] -**num_rx_9_mbps** | **int** | | [optional] -**num_rx_12_mbps** | **int** | | [optional] -**num_rx_18_mbps** | **int** | | [optional] -**num_rx_24_mbps** | **int** | | [optional] -**num_rx_36_mbps** | **int** | | [optional] -**num_rx_48_mbps** | **int** | | [optional] -**num_rx_54_mbps** | **int** | | [optional] -**num_tx_ht_6_5_mbps** | **int** | | [optional] -**num_tx_ht_7_1_mbps** | **int** | | [optional] -**num_tx_ht_13_mbps** | **int** | | [optional] -**num_tx_ht_13_5_mbps** | **int** | | [optional] -**num_tx_ht_14_3_mbps** | **int** | | [optional] -**num_tx_ht_15_mbps** | **int** | | [optional] -**num_tx_ht_19_5_mbps** | **int** | | [optional] -**num_tx_ht_21_7_mbps** | **int** | | [optional] -**num_tx_ht_26_mbps** | **int** | | [optional] -**num_tx_ht_27_mbps** | **int** | | [optional] -**num_tx_ht_28_7_mbps** | **int** | | [optional] -**num_tx_ht_28_8_mbps** | **int** | | [optional] -**num_tx_ht_29_2_mbps** | **int** | | [optional] -**num_tx_ht_30_mbps** | **int** | | [optional] -**num_tx_ht_32_5_mbps** | **int** | | [optional] -**num_tx_ht_39_mbps** | **int** | | [optional] -**num_tx_ht_40_5_mbps** | **int** | | [optional] -**num_tx_ht_43_2_mbps** | **int** | | [optional] -**num_tx_ht_45_mbps** | **int** | | [optional] -**num_tx_ht_52_mbps** | **int** | | [optional] -**num_tx_ht_54_mbps** | **int** | | [optional] -**num_tx_ht_57_5_mbps** | **int** | | [optional] -**num_tx_ht_57_7_mbps** | **int** | | [optional] -**num_tx_ht_58_5_mbps** | **int** | | [optional] -**num_tx_ht_60_mbps** | **int** | | [optional] -**num_tx_ht_65_mbps** | **int** | | [optional] -**num_tx_ht_72_1_mbps** | **int** | | [optional] -**num_tx_ht_78_mbps** | **int** | | [optional] -**num_tx_ht_81_mbps** | **int** | | [optional] -**num_tx_ht_86_6_mbps** | **int** | | [optional] -**num_tx_ht_86_8_mbps** | **int** | | [optional] -**num_tx_ht_87_8_mbps** | **int** | | [optional] -**num_tx_ht_90_mbps** | **int** | | [optional] -**num_tx_ht_97_5_mbps** | **int** | | [optional] -**num_tx_ht_104_mbps** | **int** | | [optional] -**num_tx_ht_108_mbps** | **int** | | [optional] -**num_tx_ht_115_5_mbps** | **int** | | [optional] -**num_tx_ht_117_mbps** | **int** | | [optional] -**num_tx_ht_117_1_mbps** | **int** | | [optional] -**num_tx_ht_120_mbps** | **int** | | [optional] -**num_tx_ht_121_5_mbps** | **int** | | [optional] -**num_tx_ht_130_mbps** | **int** | | [optional] -**num_tx_ht_130_3_mbps** | **int** | | [optional] -**num_tx_ht_135_mbps** | **int** | | [optional] -**num_tx_ht_144_3_mbps** | **int** | | [optional] -**num_tx_ht_150_mbps** | **int** | | [optional] -**num_tx_ht_156_mbps** | **int** | | [optional] -**num_tx_ht_162_mbps** | **int** | | [optional] -**num_tx_ht_173_1_mbps** | **int** | | [optional] -**num_tx_ht_173_3_mbps** | **int** | | [optional] -**num_tx_ht_175_5_mbps** | **int** | | [optional] -**num_tx_ht_180_mbps** | **int** | | [optional] -**num_tx_ht_195_mbps** | **int** | | [optional] -**num_tx_ht_200_mbps** | **int** | | [optional] -**num_tx_ht_208_mbps** | **int** | | [optional] -**num_tx_ht_216_mbps** | **int** | | [optional] -**num_tx_ht_216_6_mbps** | **int** | | [optional] -**num_tx_ht_231_1_mbps** | **int** | | [optional] -**num_tx_ht_234_mbps** | **int** | | [optional] -**num_tx_ht_240_mbps** | **int** | | [optional] -**num_tx_ht_243_mbps** | **int** | | [optional] -**num_tx_ht_260_mbps** | **int** | | [optional] -**num_tx_ht_263_2_mbps** | **int** | | [optional] -**num_tx_ht_270_mbps** | **int** | | [optional] -**num_tx_ht_288_7_mbps** | **int** | | [optional] -**num_tx_ht_288_8_mbps** | **int** | | [optional] -**num_tx_ht_292_5_mbps** | **int** | | [optional] -**num_tx_ht_300_mbps** | **int** | | [optional] -**num_tx_ht_312_mbps** | **int** | | [optional] -**num_tx_ht_324_mbps** | **int** | | [optional] -**num_tx_ht_325_mbps** | **int** | | [optional] -**num_tx_ht_346_7_mbps** | **int** | | [optional] -**num_tx_ht_351_mbps** | **int** | | [optional] -**num_tx_ht_351_2_mbps** | **int** | | [optional] -**num_tx_ht_360_mbps** | **int** | | [optional] -**num_rx_ht_6_5_mbps** | **int** | | [optional] -**num_rx_ht_7_1_mbps** | **int** | | [optional] -**num_rx_ht_13_mbps** | **int** | | [optional] -**num_rx_ht_13_5_mbps** | **int** | | [optional] -**num_rx_ht_14_3_mbps** | **int** | | [optional] -**num_rx_ht_15_mbps** | **int** | | [optional] -**num_rx_ht_19_5_mbps** | **int** | | [optional] -**num_rx_ht_21_7_mbps** | **int** | | [optional] -**num_rx_ht_26_mbps** | **int** | | [optional] -**num_rx_ht_27_mbps** | **int** | | [optional] -**num_rx_ht_28_7_mbps** | **int** | | [optional] -**num_rx_ht_28_8_mbps** | **int** | | [optional] -**num_rx_ht_29_2_mbps** | **int** | | [optional] -**num_rx_ht_30_mbps** | **int** | | [optional] -**num_rx_ht_32_5_mbps** | **int** | | [optional] -**num_rx_ht_39_mbps** | **int** | | [optional] -**num_rx_ht_40_5_mbps** | **int** | | [optional] -**num_rx_ht_43_2_mbps** | **int** | | [optional] -**num_rx_ht_45_mbps** | **int** | | [optional] -**num_rx_ht_52_mbps** | **int** | | [optional] -**num_rx_ht_54_mbps** | **int** | | [optional] -**num_rx_ht_57_5_mbps** | **int** | | [optional] -**num_rx_ht_57_7_mbps** | **int** | | [optional] -**num_rx_ht_58_5_mbps** | **int** | | [optional] -**num_rx_ht_60_mbps** | **int** | | [optional] -**num_rx_ht_65_mbps** | **int** | | [optional] -**num_rx_ht_72_1_mbps** | **int** | | [optional] -**num_rx_ht_78_mbps** | **int** | | [optional] -**num_rx_ht_81_mbps** | **int** | | [optional] -**num_rx_ht_86_6_mbps** | **int** | | [optional] -**num_rx_ht_86_8_mbps** | **int** | | [optional] -**num_rx_ht_87_8_mbps** | **int** | | [optional] -**num_rx_ht_90_mbps** | **int** | | [optional] -**num_rx_ht_97_5_mbps** | **int** | | [optional] -**num_rx_ht_104_mbps** | **int** | | [optional] -**num_rx_ht_108_mbps** | **int** | | [optional] -**num_rx_ht_115_5_mbps** | **int** | | [optional] -**num_rx_ht_117_mbps** | **int** | | [optional] -**num_rx_ht_117_1_mbps** | **int** | | [optional] -**num_rx_ht_120_mbps** | **int** | | [optional] -**num_rx_ht_121_5_mbps** | **int** | | [optional] -**num_rx_ht_130_mbps** | **int** | | [optional] -**num_rx_ht_130_3_mbps** | **int** | | [optional] -**num_rx_ht_135_mbps** | **int** | | [optional] -**num_rx_ht_144_3_mbps** | **int** | | [optional] -**num_rx_ht_150_mbps** | **int** | | [optional] -**num_rx_ht_156_mbps** | **int** | | [optional] -**num_rx_ht_162_mbps** | **int** | | [optional] -**num_rx_ht_173_1_mbps** | **int** | | [optional] -**num_rx_ht_173_3_mbps** | **int** | | [optional] -**num_rx_ht_175_5_mbps** | **int** | | [optional] -**num_rx_ht_180_mbps** | **int** | | [optional] -**num_rx_ht_195_mbps** | **int** | | [optional] -**num_rx_ht_200_mbps** | **int** | | [optional] -**num_rx_ht_208_mbps** | **int** | | [optional] -**num_rx_ht_216_mbps** | **int** | | [optional] -**num_rx_ht_216_6_mbps** | **int** | | [optional] -**num_rx_ht_231_1_mbps** | **int** | | [optional] -**num_rx_ht_234_mbps** | **int** | | [optional] -**num_rx_ht_240_mbps** | **int** | | [optional] -**num_rx_ht_243_mbps** | **int** | | [optional] -**num_rx_ht_260_mbps** | **int** | | [optional] -**num_rx_ht_263_2_mbps** | **int** | | [optional] -**num_rx_ht_270_mbps** | **int** | | [optional] -**num_rx_ht_288_7_mbps** | **int** | | [optional] -**num_rx_ht_288_8_mbps** | **int** | | [optional] -**num_rx_ht_292_5_mbps** | **int** | | [optional] -**num_rx_ht_300_mbps** | **int** | | [optional] -**num_rx_ht_312_mbps** | **int** | | [optional] -**num_rx_ht_324_mbps** | **int** | | [optional] -**num_rx_ht_325_mbps** | **int** | | [optional] -**num_rx_ht_346_7_mbps** | **int** | | [optional] -**num_rx_ht_351_mbps** | **int** | | [optional] -**num_rx_ht_351_2_mbps** | **int** | | [optional] -**num_rx_ht_360_mbps** | **int** | | [optional] -**num_tx_vht_292_5_mbps** | **int** | | [optional] -**num_tx_vht_325_mbps** | **int** | | [optional] -**num_tx_vht_364_5_mbps** | **int** | | [optional] -**num_tx_vht_390_mbps** | **int** | | [optional] -**num_tx_vht_400_mbps** | **int** | | [optional] -**num_tx_vht_403_mbps** | **int** | | [optional] -**num_tx_vht_405_mbps** | **int** | | [optional] -**num_tx_vht_432_mbps** | **int** | | [optional] -**num_tx_vht_433_2_mbps** | **int** | | [optional] -**num_tx_vht_450_mbps** | **int** | | [optional] -**num_tx_vht_468_mbps** | **int** | | [optional] -**num_tx_vht_480_mbps** | **int** | | [optional] -**num_tx_vht_486_mbps** | **int** | | [optional] -**num_tx_vht_520_mbps** | **int** | | [optional] -**num_tx_vht_526_5_mbps** | **int** | | [optional] -**num_tx_vht_540_mbps** | **int** | | [optional] -**num_tx_vht_585_mbps** | **int** | | [optional] -**num_tx_vht_600_mbps** | **int** | | [optional] -**num_tx_vht_648_mbps** | **int** | | [optional] -**num_tx_vht_650_mbps** | **int** | | [optional] -**num_tx_vht_702_mbps** | **int** | | [optional] -**num_tx_vht_720_mbps** | **int** | | [optional] -**num_tx_vht_780_mbps** | **int** | | [optional] -**num_tx_vht_800_mbps** | **int** | | [optional] -**num_tx_vht_866_7_mbps** | **int** | | [optional] -**num_tx_vht_877_5_mbps** | **int** | | [optional] -**num_tx_vht_936_mbps** | **int** | | [optional] -**num_tx_vht_975_mbps** | **int** | | [optional] -**num_tx_vht_1040_mbps** | **int** | | [optional] -**num_tx_vht_1053_mbps** | **int** | | [optional] -**num_tx_vht_1053_1_mbps** | **int** | | [optional] -**num_tx_vht_1170_mbps** | **int** | | [optional] -**num_tx_vht_1300_mbps** | **int** | | [optional] -**num_tx_vht_1404_mbps** | **int** | | [optional] -**num_tx_vht_1560_mbps** | **int** | | [optional] -**num_tx_vht_1579_5_mbps** | **int** | | [optional] -**num_tx_vht_1733_1_mbps** | **int** | | [optional] -**num_tx_vht_1733_4_mbps** | **int** | | [optional] -**num_tx_vht_1755_mbps** | **int** | | [optional] -**num_tx_vht_1872_mbps** | **int** | | [optional] -**num_tx_vht_1950_mbps** | **int** | | [optional] -**num_tx_vht_2080_mbps** | **int** | | [optional] -**num_tx_vht_2106_mbps** | **int** | | [optional] -**num_tx_vht_2340_mbps** | **int** | | [optional] -**num_tx_vht_2600_mbps** | **int** | | [optional] -**num_tx_vht_2808_mbps** | **int** | | [optional] -**num_tx_vht_3120_mbps** | **int** | | [optional] -**num_tx_vht_3466_8_mbps** | **int** | | [optional] -**num_rx_vht_292_5_mbps** | **int** | | [optional] -**num_rx_vht_325_mbps** | **int** | | [optional] -**num_rx_vht_364_5_mbps** | **int** | | [optional] -**num_rx_vht_390_mbps** | **int** | | [optional] -**num_rx_vht_400_mbps** | **int** | | [optional] -**num_rx_vht_403_mbps** | **int** | | [optional] -**num_rx_vht_405_mbps** | **int** | | [optional] -**num_rx_vht_432_mbps** | **int** | | [optional] -**num_rx_vht_433_2_mbps** | **int** | | [optional] -**num_rx_vht_450_mbps** | **int** | | [optional] -**num_rx_vht_468_mbps** | **int** | | [optional] -**num_rx_vht_480_mbps** | **int** | | [optional] -**num_rx_vht_486_mbps** | **int** | | [optional] -**num_rx_vht_520_mbps** | **int** | | [optional] -**num_rx_vht_526_5_mbps** | **int** | | [optional] -**num_rx_vht_540_mbps** | **int** | | [optional] -**num_rx_vht_585_mbps** | **int** | | [optional] -**num_rx_vht_600_mbps** | **int** | | [optional] -**num_rx_vht_648_mbps** | **int** | | [optional] -**num_rx_vht_650_mbps** | **int** | | [optional] -**num_rx_vht_702_mbps** | **int** | | [optional] -**num_rx_vht_720_mbps** | **int** | | [optional] -**num_rx_vht_780_mbps** | **int** | | [optional] -**num_rx_vht_800_mbps** | **int** | | [optional] -**num_rx_vht_866_7_mbps** | **int** | | [optional] -**num_rx_vht_877_5_mbps** | **int** | | [optional] -**num_rx_vht_936_mbps** | **int** | | [optional] -**num_rx_vht_975_mbps** | **int** | | [optional] -**num_rx_vht_1040_mbps** | **int** | | [optional] -**num_rx_vht_1053_mbps** | **int** | | [optional] -**num_rx_vht_1053_1_mbps** | **int** | | [optional] -**num_rx_vht_1170_mbps** | **int** | | [optional] -**num_rx_vht_1300_mbps** | **int** | | [optional] -**num_rx_vht_1404_mbps** | **int** | | [optional] -**num_rx_vht_1560_mbps** | **int** | | [optional] -**num_rx_vht_1579_5_mbps** | **int** | | [optional] -**num_rx_vht_1733_1_mbps** | **int** | | [optional] -**num_rx_vht_1733_4_mbps** | **int** | | [optional] -**num_rx_vht_1755_mbps** | **int** | | [optional] -**num_rx_vht_1872_mbps** | **int** | | [optional] -**num_rx_vht_1950_mbps** | **int** | | [optional] -**num_rx_vht_2080_mbps** | **int** | | [optional] -**num_rx_vht_2106_mbps** | **int** | | [optional] -**num_rx_vht_2340_mbps** | **int** | | [optional] -**num_rx_vht_2600_mbps** | **int** | | [optional] -**num_rx_vht_2808_mbps** | **int** | | [optional] -**num_rx_vht_3120_mbps** | **int** | | [optional] -**num_rx_vht_3466_8_mbps** | **int** | | [optional] -**rx_last_rssi** | **int** | The RSSI of last frame received. | [optional] -**num_rx_no_fcs_err** | **int** | The number of received frames without FCS errors. | [optional] -**num_rx_data** | **int** | The number of received data frames. | [optional] -**num_rx_management** | **int** | The number of received management frames. | [optional] -**num_rx_control** | **int** | The number of received control frames. | [optional] -**rx_bytes** | **int** | The number of received bytes. | [optional] -**rx_data_bytes** | **int** | The number of received data bytes. | [optional] -**num_rx_rts** | **int** | The number of received RTS frames. | [optional] -**num_rx_cts** | **int** | The number of received CTS frames. | [optional] -**num_rx_ack** | **int** | The number of all received ACK frames (Acks + BlockAcks). | [optional] -**num_rx_probe_req** | **int** | The number of received probe request frames. | [optional] -**num_rx_retry** | **int** | The number of received retry frames. | [optional] -**num_rx_dup** | **int** | The number of received duplicated frames. | [optional] -**num_rx_null_data** | **int** | The number of received null data frames. | [optional] -**num_rx_pspoll** | **int** | The number of received ps-poll frames. | [optional] -**num_rx_stbc** | **int** | The number of received STBC frames. | [optional] -**num_rx_ldpc** | **int** | The number of received LDPC frames. | [optional] -**last_recv_layer3_ts** | **int** | The timestamp of last received layer three user traffic (IP data) | [optional] -**num_rcv_frame_for_tx** | **int** | The number of received ethernet and local generated frames for transmit. | [optional] -**num_tx_queued** | **int** | The number of TX frames queued. | [optional] -**num_tx_dropped** | **int** | The number of every TX frame dropped. | [optional] -**num_tx_retry_dropped** | **int** | The number of TX frame dropped due to retries. | [optional] -**num_tx_succ** | **int** | The number of frames successfully transmitted. | [optional] -**num_tx_byte_succ** | **int** | The Number of Tx bytes successfully transmitted. | [optional] -**num_tx_succ_no_retry** | **int** | The number of successfully transmitted frames at first attempt. | [optional] -**num_tx_succ_retries** | **int** | The number of successfully transmitted frames with retries. | [optional] -**num_tx_multi_retries** | **int** | The number of Tx frames with retries. | [optional] -**num_tx_management** | **int** | The number of TX management frames. | [optional] -**num_tx_control** | **int** | The number of Tx control frames. | [optional] -**num_tx_action** | **int** | The number of Tx action frames. | [optional] -**num_tx_prop_resp** | **int** | The number of TX probe response. | [optional] -**num_tx_data** | **int** | The number of Tx data frames. | [optional] -**num_tx_data_retries** | **int** | The number of Tx data frames with retries,done. | [optional] -**num_tx_rts_succ** | **int** | The number of RTS frames sent successfully, done. | [optional] -**num_tx_rts_fail** | **int** | The number of RTS frames failed transmission. | [optional] -**num_tx_no_ack** | **int** | The number of TX frames failed because of not Acked. | [optional] -**num_tx_eapol** | **int** | The number of EAPOL frames sent. | [optional] -**num_tx_ldpc** | **int** | The number of total LDPC frames sent. | [optional] -**num_tx_stbc** | **int** | The number of total STBC frames sent. | [optional] -**num_tx_aggr_succ** | **int** | The number of aggregation frames sent successfully. | [optional] -**num_tx_aggr_one_mpdu** | **int** | The number of aggregation frames sent using single MPDU (where the A-MPDU contains only one MPDU ). | [optional] -**last_sent_layer3_ts** | **int** | The timestamp of last successfully sent layer three user traffic (IP data). | [optional] -**wmm_queue_stats** | [**WmmQueueStatsPerQueueTypeMap**](WmmQueueStatsPerQueueTypeMap.md) | | [optional] -**list_mcs_stats_mcs_stats** | [**list[McsStats]**](McsStats.md) | | [optional] -**last_rx_mcs_idx** | [**McsType**](McsType.md) | | [optional] -**last_tx_mcs_idx** | [**McsType**](McsType.md) | | [optional] -**radio_type** | [**RadioType**](RadioType.md) | | [optional] -**period_length_sec** | **int** | How many seconds the AP measured for the metric | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ClientRemovedEvent.md b/libs/cloudapi/cloudsdk/docs/ClientRemovedEvent.md deleted file mode 100644 index 21c44d489..000000000 --- a/libs/cloudapi/cloudsdk/docs/ClientRemovedEvent.md +++ /dev/null @@ -1,12 +0,0 @@ -# ClientRemovedEvent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**event_timestamp** | **int** | | [optional] -**customer_id** | **int** | | [optional] -**payload** | [**Client**](Client.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ClientSession.md b/libs/cloudapi/cloudsdk/docs/ClientSession.md deleted file mode 100644 index 6d302956f..000000000 --- a/libs/cloudapi/cloudsdk/docs/ClientSession.md +++ /dev/null @@ -1,13 +0,0 @@ -# ClientSession - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**mac_address** | [**MacAddress**](MacAddress.md) | | [optional] -**customer_id** | **int** | | [optional] -**equipment_id** | **int** | | [optional] -**details** | [**ClientSessionDetails**](ClientSessionDetails.md) | | [optional] -**last_modified_timestamp** | **int** | This class does not perform checks against concurrrent updates. Here last update always wins. | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ClientSessionChangedEvent.md b/libs/cloudapi/cloudsdk/docs/ClientSessionChangedEvent.md deleted file mode 100644 index 21b3778a6..000000000 --- a/libs/cloudapi/cloudsdk/docs/ClientSessionChangedEvent.md +++ /dev/null @@ -1,13 +0,0 @@ -# ClientSessionChangedEvent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**event_timestamp** | **int** | | [optional] -**customer_id** | **int** | | [optional] -**equipment_id** | **int** | | [optional] -**payload** | [**ClientSession**](ClientSession.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ClientSessionDetails.md b/libs/cloudapi/cloudsdk/docs/ClientSessionDetails.md deleted file mode 100644 index df64baab4..000000000 --- a/libs/cloudapi/cloudsdk/docs/ClientSessionDetails.md +++ /dev/null @@ -1,53 +0,0 @@ -# ClientSessionDetails - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**session_id** | **int** | | [optional] -**auth_timestamp** | **int** | | [optional] -**assoc_timestamp** | **int** | | [optional] -**assoc_internal_sc** | **int** | | [optional] -**ip_timestamp** | **int** | | [optional] -**disconnect_by_ap_timestamp** | **int** | | [optional] -**disconnect_by_client_timestamp** | **int** | | [optional] -**timeout_timestamp** | **int** | | [optional] -**first_data_sent_timestamp** | **int** | | [optional] -**first_data_rcvd_timestamp** | **int** | | [optional] -**ip_address** | **str** | | [optional] -**radius_username** | **str** | | [optional] -**ssid** | **str** | | [optional] -**radio_type** | [**RadioType**](RadioType.md) | | [optional] -**last_event_timestamp** | **int** | | [optional] -**hostname** | **str** | | [optional] -**ap_fingerprint** | **str** | | [optional] -**user_agent_str** | **str** | | [optional] -**last_rx_timestamp** | **int** | | [optional] -**last_tx_timestamp** | **int** | | [optional] -**cp_username** | **str** | | [optional] -**dhcp_details** | [**ClientDhcpDetails**](ClientDhcpDetails.md) | | [optional] -**eap_details** | [**ClientEapDetails**](ClientEapDetails.md) | | [optional] -**metric_details** | [**ClientSessionMetricDetails**](ClientSessionMetricDetails.md) | | [optional] -**is_reassociation** | **bool** | | [optional] -**disconnect_by_ap_reason_code** | **int** | | [optional] -**disconnect_by_client_reason_code** | **int** | | [optional] -**disconnect_by_ap_internal_reason_code** | **int** | | [optional] -**disconnect_by_client_internal_reason_code** | **int** | | [optional] -**port_enabled_timestamp** | **int** | | [optional] -**is11_r_used** | **bool** | | [optional] -**is11_k_used** | **bool** | | [optional] -**is11_v_used** | **bool** | | [optional] -**security_type** | [**SecurityType**](SecurityType.md) | | [optional] -**steer_type** | [**SteerType**](SteerType.md) | | [optional] -**previous_valid_session_id** | **int** | | [optional] -**last_failure_details** | [**ClientFailureDetails**](ClientFailureDetails.md) | | [optional] -**first_failure_details** | [**ClientFailureDetails**](ClientFailureDetails.md) | | [optional] -**association_status** | **int** | | [optional] -**dynamic_vlan** | **int** | | [optional] -**assoc_rssi** | **int** | | [optional] -**prior_session_id** | **int** | | [optional] -**prior_equipment_id** | **int** | | [optional] -**classification_name** | **str** | | [optional] -**association_state** | **str** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ClientSessionMetricDetails.md b/libs/cloudapi/cloudsdk/docs/ClientSessionMetricDetails.md deleted file mode 100644 index 952c17cd3..000000000 --- a/libs/cloudapi/cloudsdk/docs/ClientSessionMetricDetails.md +++ /dev/null @@ -1,25 +0,0 @@ -# ClientSessionMetricDetails - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**rx_bytes** | **int** | | [optional] -**tx_bytes** | **int** | | [optional] -**total_rx_packets** | **int** | | [optional] -**total_tx_packets** | **int** | | [optional] -**rx_mbps** | **float** | | [optional] -**tx_mbps** | **float** | | [optional] -**rssi** | **int** | | [optional] -**snr** | **int** | | [optional] -**rx_rate_kbps** | **int** | | [optional] -**tx_rate_kbps** | **int** | | [optional] -**last_metric_timestamp** | **int** | | [optional] -**last_rx_timestamp** | **int** | | [optional] -**last_tx_timestamp** | **int** | | [optional] -**classification** | **str** | | [optional] -**tx_data_frames** | **int** | The number of dataframes transmitted TO the client from the AP. | [optional] -**tx_data_frames_retried** | **int** | The number of data frames transmitted TO the client that were retried. Note this is not the same as the number of retries. | [optional] -**rx_data_frames** | **int** | The number of dataframes transmitted FROM the client TO the AP. | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ClientSessionRemovedEvent.md b/libs/cloudapi/cloudsdk/docs/ClientSessionRemovedEvent.md deleted file mode 100644 index 124772a6c..000000000 --- a/libs/cloudapi/cloudsdk/docs/ClientSessionRemovedEvent.md +++ /dev/null @@ -1,13 +0,0 @@ -# ClientSessionRemovedEvent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**event_timestamp** | **int** | | [optional] -**customer_id** | **int** | | [optional] -**equipment_id** | **int** | | [optional] -**payload** | [**ClientSession**](ClientSession.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ClientTimeoutEvent.md b/libs/cloudapi/cloudsdk/docs/ClientTimeoutEvent.md deleted file mode 100644 index 24dbeb9a3..000000000 --- a/libs/cloudapi/cloudsdk/docs/ClientTimeoutEvent.md +++ /dev/null @@ -1,15 +0,0 @@ -# ClientTimeoutEvent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**all_of** | [**RealTimeEvent**](RealTimeEvent.md) | | [optional] -**session_id** | **int** | | [optional] -**client_mac_address** | [**MacAddress**](MacAddress.md) | | [optional] -**last_recv_time** | **int** | | [optional] -**last_sent_time** | **int** | | [optional] -**timeout_reason** | [**ClientTimeoutReason**](ClientTimeoutReason.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ClientTimeoutReason.md b/libs/cloudapi/cloudsdk/docs/ClientTimeoutReason.md deleted file mode 100644 index 46920812b..000000000 --- a/libs/cloudapi/cloudsdk/docs/ClientTimeoutReason.md +++ /dev/null @@ -1,8 +0,0 @@ -# ClientTimeoutReason - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ClientsApi.md b/libs/cloudapi/cloudsdk/docs/ClientsApi.md deleted file mode 100644 index 297cc64ea..000000000 --- a/libs/cloudapi/cloudsdk/docs/ClientsApi.md +++ /dev/null @@ -1,367 +0,0 @@ -# swagger_client.ClientsApi - -All URIs are relative to *https://localhost:9091* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**get_all_client_sessions_in_set**](ClientsApi.md#get_all_client_sessions_in_set) | **GET** /portal/client/session/inSet | Get list of Client sessions for customerId and a set of client MAC addresses. -[**get_all_clients_in_set**](ClientsApi.md#get_all_clients_in_set) | **GET** /portal/client/inSet | Get list of Clients for customerId and a set of client MAC addresses. -[**get_blocked_clients**](ClientsApi.md#get_blocked_clients) | **GET** /portal/client/blocked | Retrieves a list of Clients for the customer that are marked as blocked. This per-customer list of blocked clients is pushed to every AP, so it has to be limited in size. -[**get_client_session_by_customer_with_filter**](ClientsApi.md#get_client_session_by_customer_with_filter) | **GET** /portal/client/session/forCustomer | Get list of Client sessions for customerId and a set of equipment/location ids. Equipment and locations filters are joined using logical AND operation. -[**get_for_customer**](ClientsApi.md#get_for_customer) | **GET** /portal/client/forCustomer | Get list of clients for a given customer by equipment ids -[**search_by_mac_address**](ClientsApi.md#search_by_mac_address) | **GET** /portal/client/searchByMac | Get list of Clients for customerId and searching by macSubstring. -[**update_client**](ClientsApi.md#update_client) | **PUT** /portal/client | Update Client - -# **get_all_client_sessions_in_set** -> list[ClientSession] get_all_client_sessions_in_set(customer_id, client_macs) - -Get list of Client sessions for customerId and a set of client MAC addresses. - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.ClientsApi(swagger_client.ApiClient(configuration)) -customer_id = 56 # int | customer id -client_macs = ['client_macs_example'] # list[str] | Set of client MAC addresses. - -try: - # Get list of Client sessions for customerId and a set of client MAC addresses. - api_response = api_instance.get_all_client_sessions_in_set(customer_id, client_macs) - pprint(api_response) -except ApiException as e: - print("Exception when calling ClientsApi->get_all_client_sessions_in_set: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **customer_id** | **int**| customer id | - **client_macs** | [**list[str]**](str.md)| Set of client MAC addresses. | - -### Return type - -[**list[ClientSession]**](ClientSession.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_all_clients_in_set** -> list[Client] get_all_clients_in_set(customer_id, client_macs) - -Get list of Clients for customerId and a set of client MAC addresses. - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.ClientsApi(swagger_client.ApiClient(configuration)) -customer_id = 56 # int | customer id -client_macs = ['client_macs_example'] # list[str] | Set of client MAC addresses. - -try: - # Get list of Clients for customerId and a set of client MAC addresses. - api_response = api_instance.get_all_clients_in_set(customer_id, client_macs) - pprint(api_response) -except ApiException as e: - print("Exception when calling ClientsApi->get_all_clients_in_set: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **customer_id** | **int**| customer id | - **client_macs** | [**list[str]**](str.md)| Set of client MAC addresses. | - -### Return type - -[**list[Client]**](Client.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_blocked_clients** -> list[Client] get_blocked_clients(customer_id) - -Retrieves a list of Clients for the customer that are marked as blocked. This per-customer list of blocked clients is pushed to every AP, so it has to be limited in size. - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.ClientsApi(swagger_client.ApiClient(configuration)) -customer_id = 56 # int | Customer ID - -try: - # Retrieves a list of Clients for the customer that are marked as blocked. This per-customer list of blocked clients is pushed to every AP, so it has to be limited in size. - api_response = api_instance.get_blocked_clients(customer_id) - pprint(api_response) -except ApiException as e: - print("Exception when calling ClientsApi->get_blocked_clients: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **customer_id** | **int**| Customer ID | - -### Return type - -[**list[Client]**](Client.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_client_session_by_customer_with_filter** -> PaginationResponseClientSession get_client_session_by_customer_with_filter(customer_id, pagination_context, equipment_ids=equipment_ids, location_ids=location_ids, sort_by=sort_by) - -Get list of Client sessions for customerId and a set of equipment/location ids. Equipment and locations filters are joined using logical AND operation. - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.ClientsApi(swagger_client.ApiClient(configuration)) -customer_id = 56 # int | customer id -pagination_context = swagger_client.PaginationContextClientSession() # PaginationContextClientSession | pagination context -equipment_ids = [56] # list[int] | set of equipment ids. Empty or null means retrieve all equipment for the customer. (optional) -location_ids = [56] # list[int] | set of location ids. Empty or null means retrieve for all locations for the customer. (optional) -sort_by = [swagger_client.SortColumnsClientSession()] # list[SortColumnsClientSession] | sort options (optional) - -try: - # Get list of Client sessions for customerId and a set of equipment/location ids. Equipment and locations filters are joined using logical AND operation. - api_response = api_instance.get_client_session_by_customer_with_filter(customer_id, pagination_context, equipment_ids=equipment_ids, location_ids=location_ids, sort_by=sort_by) - pprint(api_response) -except ApiException as e: - print("Exception when calling ClientsApi->get_client_session_by_customer_with_filter: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **customer_id** | **int**| customer id | - **pagination_context** | [**PaginationContextClientSession**](.md)| pagination context | - **equipment_ids** | [**list[int]**](int.md)| set of equipment ids. Empty or null means retrieve all equipment for the customer. | [optional] - **location_ids** | [**list[int]**](int.md)| set of location ids. Empty or null means retrieve for all locations for the customer. | [optional] - **sort_by** | [**list[SortColumnsClientSession]**](SortColumnsClientSession.md)| sort options | [optional] - -### Return type - -[**PaginationResponseClientSession**](PaginationResponseClientSession.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_for_customer** -> PaginationResponseClient get_for_customer(customer_id, equipment_ids=equipment_ids, sort_by=sort_by, pagination_context=pagination_context) - -Get list of clients for a given customer by equipment ids - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.ClientsApi(swagger_client.ApiClient(configuration)) -customer_id = 56 # int | Customer ID -equipment_ids = [56] # list[int] | Equipment ID (optional) -sort_by = [swagger_client.SortColumnsClient()] # list[SortColumnsClient] | sort options (optional) -pagination_context = swagger_client.PaginationContextClient() # PaginationContextClient | pagination context (optional) - -try: - # Get list of clients for a given customer by equipment ids - api_response = api_instance.get_for_customer(customer_id, equipment_ids=equipment_ids, sort_by=sort_by, pagination_context=pagination_context) - pprint(api_response) -except ApiException as e: - print("Exception when calling ClientsApi->get_for_customer: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **customer_id** | **int**| Customer ID | - **equipment_ids** | [**list[int]**](int.md)| Equipment ID | [optional] - **sort_by** | [**list[SortColumnsClient]**](SortColumnsClient.md)| sort options | [optional] - **pagination_context** | [**PaginationContextClient**](.md)| pagination context | [optional] - -### Return type - -[**PaginationResponseClient**](PaginationResponseClient.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **search_by_mac_address** -> PaginationResponseClient search_by_mac_address(customer_id, mac_substring=mac_substring, sort_by=sort_by, pagination_context=pagination_context) - -Get list of Clients for customerId and searching by macSubstring. - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.ClientsApi(swagger_client.ApiClient(configuration)) -customer_id = 56 # int | customer id -mac_substring = 'mac_substring_example' # str | MacAddress search criteria (optional) -sort_by = [swagger_client.SortColumnsClient()] # list[SortColumnsClient] | sort options (optional) -pagination_context = swagger_client.PaginationContextClient() # PaginationContextClient | pagination context (optional) - -try: - # Get list of Clients for customerId and searching by macSubstring. - api_response = api_instance.search_by_mac_address(customer_id, mac_substring=mac_substring, sort_by=sort_by, pagination_context=pagination_context) - pprint(api_response) -except ApiException as e: - print("Exception when calling ClientsApi->search_by_mac_address: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **customer_id** | **int**| customer id | - **mac_substring** | **str**| MacAddress search criteria | [optional] - **sort_by** | [**list[SortColumnsClient]**](SortColumnsClient.md)| sort options | [optional] - **pagination_context** | [**PaginationContextClient**](.md)| pagination context | [optional] - -### Return type - -[**PaginationResponseClient**](PaginationResponseClient.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **update_client** -> Client update_client(body) - -Update Client - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.ClientsApi(swagger_client.ApiClient(configuration)) -body = swagger_client.Client() # Client | Client info - -try: - # Update Client - api_response = api_instance.update_client(body) - pprint(api_response) -except ApiException as e: - print("Exception when calling ClientsApi->update_client: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**Client**](Client.md)| Client info | - -### Return type - -[**Client**](Client.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/CommonProbeDetails.md b/libs/cloudapi/cloudsdk/docs/CommonProbeDetails.md deleted file mode 100644 index e71f8d547..000000000 --- a/libs/cloudapi/cloudsdk/docs/CommonProbeDetails.md +++ /dev/null @@ -1,12 +0,0 @@ -# CommonProbeDetails - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**latency_ms** | [**MinMaxAvgValueInt**](MinMaxAvgValueInt.md) | | [optional] -**num_success_probe_requests** | **int** | | [optional] -**num_failed_probe_requests** | **int** | | [optional] -**status** | [**StatusCode**](StatusCode.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/CountryCode.md b/libs/cloudapi/cloudsdk/docs/CountryCode.md deleted file mode 100644 index 8bc6f7e09..000000000 --- a/libs/cloudapi/cloudsdk/docs/CountryCode.md +++ /dev/null @@ -1,8 +0,0 @@ -# CountryCode - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/CountsPerAlarmCodeMap.md b/libs/cloudapi/cloudsdk/docs/CountsPerAlarmCodeMap.md deleted file mode 100644 index d11806915..000000000 --- a/libs/cloudapi/cloudsdk/docs/CountsPerAlarmCodeMap.md +++ /dev/null @@ -1,8 +0,0 @@ -# CountsPerAlarmCodeMap - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/CountsPerEquipmentIdPerAlarmCodeMap.md b/libs/cloudapi/cloudsdk/docs/CountsPerEquipmentIdPerAlarmCodeMap.md deleted file mode 100644 index d600db29e..000000000 --- a/libs/cloudapi/cloudsdk/docs/CountsPerEquipmentIdPerAlarmCodeMap.md +++ /dev/null @@ -1,8 +0,0 @@ -# CountsPerEquipmentIdPerAlarmCodeMap - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/Customer.md b/libs/cloudapi/cloudsdk/docs/Customer.md deleted file mode 100644 index 36e7048ca..000000000 --- a/libs/cloudapi/cloudsdk/docs/Customer.md +++ /dev/null @@ -1,14 +0,0 @@ -# Customer - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **int** | | -**email** | **str** | | -**name** | **str** | | -**details** | [**CustomerDetails**](CustomerDetails.md) | | [optional] -**created_timestamp** | **int** | | [optional] -**last_modified_timestamp** | **int** | must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/CustomerAddedEvent.md b/libs/cloudapi/cloudsdk/docs/CustomerAddedEvent.md deleted file mode 100644 index 6ce13b25e..000000000 --- a/libs/cloudapi/cloudsdk/docs/CustomerAddedEvent.md +++ /dev/null @@ -1,12 +0,0 @@ -# CustomerAddedEvent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**event_timestamp** | **int** | | [optional] -**customer_id** | **int** | | [optional] -**payload** | [**Customer**](Customer.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/CustomerApi.md b/libs/cloudapi/cloudsdk/docs/CustomerApi.md deleted file mode 100644 index d861bfc84..000000000 --- a/libs/cloudapi/cloudsdk/docs/CustomerApi.md +++ /dev/null @@ -1,103 +0,0 @@ -# swagger_client.CustomerApi - -All URIs are relative to *https://localhost:9091* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**get_customer_by_id**](CustomerApi.md#get_customer_by_id) | **GET** /portal/customer | Get Customer By Id -[**update_customer**](CustomerApi.md#update_customer) | **PUT** /portal/customer | Update Customer - -# **get_customer_by_id** -> Customer get_customer_by_id(customer_id) - -Get Customer By Id - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.CustomerApi(swagger_client.ApiClient(configuration)) -customer_id = 56 # int | customer id - -try: - # Get Customer By Id - api_response = api_instance.get_customer_by_id(customer_id) - pprint(api_response) -except ApiException as e: - print("Exception when calling CustomerApi->get_customer_by_id: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **customer_id** | **int**| customer id | - -### Return type - -[**Customer**](Customer.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **update_customer** -> Customer update_customer(body) - -Update Customer - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.CustomerApi(swagger_client.ApiClient(configuration)) -body = swagger_client.Customer() # Customer | customer info - -try: - # Update Customer - api_response = api_instance.update_customer(body) - pprint(api_response) -except ApiException as e: - print("Exception when calling CustomerApi->update_customer: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**Customer**](Customer.md)| customer info | - -### Return type - -[**Customer**](Customer.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/CustomerChangedEvent.md b/libs/cloudapi/cloudsdk/docs/CustomerChangedEvent.md deleted file mode 100644 index e96b1581f..000000000 --- a/libs/cloudapi/cloudsdk/docs/CustomerChangedEvent.md +++ /dev/null @@ -1,12 +0,0 @@ -# CustomerChangedEvent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**event_timestamp** | **int** | | [optional] -**customer_id** | **int** | | [optional] -**payload** | [**Customer**](Customer.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/CustomerDetails.md b/libs/cloudapi/cloudsdk/docs/CustomerDetails.md deleted file mode 100644 index 90d75f879..000000000 --- a/libs/cloudapi/cloudsdk/docs/CustomerDetails.md +++ /dev/null @@ -1,9 +0,0 @@ -# CustomerDetails - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**auto_provisioning** | [**EquipmentAutoProvisioningSettings**](EquipmentAutoProvisioningSettings.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/CustomerFirmwareTrackRecord.md b/libs/cloudapi/cloudsdk/docs/CustomerFirmwareTrackRecord.md deleted file mode 100644 index 43efee794..000000000 --- a/libs/cloudapi/cloudsdk/docs/CustomerFirmwareTrackRecord.md +++ /dev/null @@ -1,13 +0,0 @@ -# CustomerFirmwareTrackRecord - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**customer_id** | **int** | | [optional] -**track_record_id** | **int** | | [optional] -**settings** | [**CustomerFirmwareTrackSettings**](CustomerFirmwareTrackSettings.md) | | [optional] -**created_timestamp** | **int** | | [optional] -**last_modified_timestamp** | **int** | must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/CustomerFirmwareTrackSettings.md b/libs/cloudapi/cloudsdk/docs/CustomerFirmwareTrackSettings.md deleted file mode 100644 index 7d1478da0..000000000 --- a/libs/cloudapi/cloudsdk/docs/CustomerFirmwareTrackSettings.md +++ /dev/null @@ -1,12 +0,0 @@ -# CustomerFirmwareTrackSettings - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**auto_upgrade_deprecated_on_bind** | [**TrackFlag**](TrackFlag.md) | | [optional] -**auto_upgrade_unknown_on_bind** | [**TrackFlag**](TrackFlag.md) | | [optional] -**auto_upgrade_deprecated_during_maintenance** | [**TrackFlag**](TrackFlag.md) | | [optional] -**auto_upgrade_unknown_during_maintenance** | [**TrackFlag**](TrackFlag.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/CustomerPortalDashboardStatus.md b/libs/cloudapi/cloudsdk/docs/CustomerPortalDashboardStatus.md deleted file mode 100644 index 967804d5e..000000000 --- a/libs/cloudapi/cloudsdk/docs/CustomerPortalDashboardStatus.md +++ /dev/null @@ -1,21 +0,0 @@ -# CustomerPortalDashboardStatus - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**status_data_type** | **str** | | [optional] -**time_bucket_id** | **int** | All metrics/events that have (createdTimestamp % timeBucketMs == timeBucketId) are counted in this object. | [optional] -**time_bucket_ms** | **int** | Length of the time bucket in milliseconds | [optional] -**equipment_in_service_count** | **int** | | [optional] -**equipment_with_clients_count** | **int** | | [optional] -**total_provisioned_equipment** | **int** | | [optional] -**traffic_bytes_downstream** | **int** | | [optional] -**traffic_bytes_upstream** | **int** | | [optional] -**associated_clients_count_per_radio** | [**IntegerPerRadioTypeMap**](IntegerPerRadioTypeMap.md) | | [optional] -**client_count_per_oui** | [**IntegerValueMap**](IntegerValueMap.md) | | [optional] -**equipment_count_per_oui** | [**IntegerValueMap**](IntegerValueMap.md) | | [optional] -**alarms_count_by_severity** | [**IntegerPerStatusCodeMap**](IntegerPerStatusCodeMap.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/CustomerRemovedEvent.md b/libs/cloudapi/cloudsdk/docs/CustomerRemovedEvent.md deleted file mode 100644 index 6c2ac56bb..000000000 --- a/libs/cloudapi/cloudsdk/docs/CustomerRemovedEvent.md +++ /dev/null @@ -1,12 +0,0 @@ -# CustomerRemovedEvent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**event_timestamp** | **int** | | [optional] -**customer_id** | **int** | | [optional] -**payload** | [**Customer**](Customer.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/DailyTimeRangeSchedule.md b/libs/cloudapi/cloudsdk/docs/DailyTimeRangeSchedule.md deleted file mode 100644 index d27efcf7c..000000000 --- a/libs/cloudapi/cloudsdk/docs/DailyTimeRangeSchedule.md +++ /dev/null @@ -1,12 +0,0 @@ -# DailyTimeRangeSchedule - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**timezone** | **str** | | [optional] -**time_begin** | [**LocalTimeValue**](LocalTimeValue.md) | | [optional] -**time_end** | [**LocalTimeValue**](LocalTimeValue.md) | | [optional] -**model_type** | **str** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/DayOfWeek.md b/libs/cloudapi/cloudsdk/docs/DayOfWeek.md deleted file mode 100644 index 0f1b64ad8..000000000 --- a/libs/cloudapi/cloudsdk/docs/DayOfWeek.md +++ /dev/null @@ -1,8 +0,0 @@ -# DayOfWeek - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/DaysOfWeekTimeRangeSchedule.md b/libs/cloudapi/cloudsdk/docs/DaysOfWeekTimeRangeSchedule.md deleted file mode 100644 index 46ffcb938..000000000 --- a/libs/cloudapi/cloudsdk/docs/DaysOfWeekTimeRangeSchedule.md +++ /dev/null @@ -1,13 +0,0 @@ -# DaysOfWeekTimeRangeSchedule - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**timezone** | **str** | | [optional] -**time_begin** | [**LocalTimeValue**](LocalTimeValue.md) | | [optional] -**time_end** | [**LocalTimeValue**](LocalTimeValue.md) | | [optional] -**days_of_week** | [**list[DayOfWeek]**](DayOfWeek.md) | | [optional] -**model_type** | **str** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/DeploymentType.md b/libs/cloudapi/cloudsdk/docs/DeploymentType.md deleted file mode 100644 index 344a7bca2..000000000 --- a/libs/cloudapi/cloudsdk/docs/DeploymentType.md +++ /dev/null @@ -1,8 +0,0 @@ -# DeploymentType - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/DetectedAuthMode.md b/libs/cloudapi/cloudsdk/docs/DetectedAuthMode.md deleted file mode 100644 index 084f43338..000000000 --- a/libs/cloudapi/cloudsdk/docs/DetectedAuthMode.md +++ /dev/null @@ -1,8 +0,0 @@ -# DetectedAuthMode - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/DeviceMode.md b/libs/cloudapi/cloudsdk/docs/DeviceMode.md deleted file mode 100644 index ceedfebe8..000000000 --- a/libs/cloudapi/cloudsdk/docs/DeviceMode.md +++ /dev/null @@ -1,8 +0,0 @@ -# DeviceMode - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/DhcpAckEvent.md b/libs/cloudapi/cloudsdk/docs/DhcpAckEvent.md deleted file mode 100644 index fa77f6ae5..000000000 --- a/libs/cloudapi/cloudsdk/docs/DhcpAckEvent.md +++ /dev/null @@ -1,18 +0,0 @@ -# DhcpAckEvent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**all_of** | [**BaseDhcpEvent**](BaseDhcpEvent.md) | | [optional] -**subnet_mask** | **str** | string representing InetAddress | [optional] -**primary_dns** | **str** | string representing InetAddress | [optional] -**secondary_dns** | **str** | string representing InetAddress | [optional] -**lease_time** | **int** | | [optional] -**renewal_time** | **int** | | [optional] -**rebinding_time** | **int** | | [optional] -**time_offset** | **int** | | [optional] -**gateway_ip** | **str** | string representing InetAddress | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/DhcpDeclineEvent.md b/libs/cloudapi/cloudsdk/docs/DhcpDeclineEvent.md deleted file mode 100644 index 689f87819..000000000 --- a/libs/cloudapi/cloudsdk/docs/DhcpDeclineEvent.md +++ /dev/null @@ -1,10 +0,0 @@ -# DhcpDeclineEvent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**all_of** | [**BaseDhcpEvent**](BaseDhcpEvent.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/DhcpDiscoverEvent.md b/libs/cloudapi/cloudsdk/docs/DhcpDiscoverEvent.md deleted file mode 100644 index ad9c3808c..000000000 --- a/libs/cloudapi/cloudsdk/docs/DhcpDiscoverEvent.md +++ /dev/null @@ -1,11 +0,0 @@ -# DhcpDiscoverEvent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**all_of** | [**BaseDhcpEvent**](BaseDhcpEvent.md) | | [optional] -**host_name** | **str** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/DhcpInformEvent.md b/libs/cloudapi/cloudsdk/docs/DhcpInformEvent.md deleted file mode 100644 index 703a69b71..000000000 --- a/libs/cloudapi/cloudsdk/docs/DhcpInformEvent.md +++ /dev/null @@ -1,10 +0,0 @@ -# DhcpInformEvent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**all_of** | [**BaseDhcpEvent**](BaseDhcpEvent.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/DhcpNakEvent.md b/libs/cloudapi/cloudsdk/docs/DhcpNakEvent.md deleted file mode 100644 index 8fcd235d9..000000000 --- a/libs/cloudapi/cloudsdk/docs/DhcpNakEvent.md +++ /dev/null @@ -1,11 +0,0 @@ -# DhcpNakEvent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**all_of** | [**BaseDhcpEvent**](BaseDhcpEvent.md) | | [optional] -**from_internal** | **bool** | | [optional] [default to False] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/DhcpOfferEvent.md b/libs/cloudapi/cloudsdk/docs/DhcpOfferEvent.md deleted file mode 100644 index bda98b7d9..000000000 --- a/libs/cloudapi/cloudsdk/docs/DhcpOfferEvent.md +++ /dev/null @@ -1,11 +0,0 @@ -# DhcpOfferEvent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**all_of** | [**BaseDhcpEvent**](BaseDhcpEvent.md) | | [optional] -**from_internal** | **bool** | | [optional] [default to False] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/DhcpRequestEvent.md b/libs/cloudapi/cloudsdk/docs/DhcpRequestEvent.md deleted file mode 100644 index c2a64d674..000000000 --- a/libs/cloudapi/cloudsdk/docs/DhcpRequestEvent.md +++ /dev/null @@ -1,11 +0,0 @@ -# DhcpRequestEvent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**all_of** | [**BaseDhcpEvent**](BaseDhcpEvent.md) | | [optional] -**host_name** | **str** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/DisconnectFrameType.md b/libs/cloudapi/cloudsdk/docs/DisconnectFrameType.md deleted file mode 100644 index f56a1b750..000000000 --- a/libs/cloudapi/cloudsdk/docs/DisconnectFrameType.md +++ /dev/null @@ -1,8 +0,0 @@ -# DisconnectFrameType - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/DisconnectInitiator.md b/libs/cloudapi/cloudsdk/docs/DisconnectInitiator.md deleted file mode 100644 index d3d3f1059..000000000 --- a/libs/cloudapi/cloudsdk/docs/DisconnectInitiator.md +++ /dev/null @@ -1,8 +0,0 @@ -# DisconnectInitiator - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/DnsProbeMetric.md b/libs/cloudapi/cloudsdk/docs/DnsProbeMetric.md deleted file mode 100644 index a481e1024..000000000 --- a/libs/cloudapi/cloudsdk/docs/DnsProbeMetric.md +++ /dev/null @@ -1,11 +0,0 @@ -# DnsProbeMetric - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**dns_server_ip** | **str** | | [optional] -**dns_state** | [**StateUpDownError**](StateUpDownError.md) | | [optional] -**dns_latency_ms** | **int** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/DynamicVlanMode.md b/libs/cloudapi/cloudsdk/docs/DynamicVlanMode.md deleted file mode 100644 index e008c202f..000000000 --- a/libs/cloudapi/cloudsdk/docs/DynamicVlanMode.md +++ /dev/null @@ -1,8 +0,0 @@ -# DynamicVlanMode - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ElementRadioConfiguration.md b/libs/cloudapi/cloudsdk/docs/ElementRadioConfiguration.md deleted file mode 100644 index 07f6d06a3..000000000 --- a/libs/cloudapi/cloudsdk/docs/ElementRadioConfiguration.md +++ /dev/null @@ -1,21 +0,0 @@ -# ElementRadioConfiguration - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**radio_type** | [**RadioType**](RadioType.md) | | [optional] -**channel_number** | **int** | The channel that was picked through the cloud's assigment | [optional] -**manual_channel_number** | **int** | The channel that was manually entered | [optional] -**backup_channel_number** | **int** | The backup channel that was picked through the cloud's assigment | [optional] -**manual_backup_channel_number** | **int** | The backup channel that was manually entered | [optional] -**rx_cell_size_db** | [**SourceSelectionValue**](SourceSelectionValue.md) | | [optional] -**probe_response_threshold_db** | [**SourceSelectionValue**](SourceSelectionValue.md) | | [optional] -**client_disconnect_threshold_db** | [**SourceSelectionValue**](SourceSelectionValue.md) | | [optional] -**eirp_tx_power** | [**ElementRadioConfigurationEirpTxPower**](ElementRadioConfigurationEirpTxPower.md) | | [optional] -**perimeter_detection_enabled** | **bool** | | [optional] -**best_ap_steer_type** | [**BestAPSteerType**](BestAPSteerType.md) | | [optional] -**deauth_attack_detection** | **bool** | | [optional] -**allowed_channels_power_levels** | [**ChannelPowerLevel**](ChannelPowerLevel.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ElementRadioConfigurationEirpTxPower.md b/libs/cloudapi/cloudsdk/docs/ElementRadioConfigurationEirpTxPower.md deleted file mode 100644 index 450474ca9..000000000 --- a/libs/cloudapi/cloudsdk/docs/ElementRadioConfigurationEirpTxPower.md +++ /dev/null @@ -1,10 +0,0 @@ -# ElementRadioConfigurationEirpTxPower - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**source** | [**SourceType**](SourceType.md) | | [optional] -**value** | **int** | | [optional] [default to 18] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/EmptySchedule.md b/libs/cloudapi/cloudsdk/docs/EmptySchedule.md deleted file mode 100644 index fba23085d..000000000 --- a/libs/cloudapi/cloudsdk/docs/EmptySchedule.md +++ /dev/null @@ -1,10 +0,0 @@ -# EmptySchedule - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**timezone** | **str** | | [optional] -**model_type** | **str** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/Equipment.md b/libs/cloudapi/cloudsdk/docs/Equipment.md deleted file mode 100644 index 8f60d011b..000000000 --- a/libs/cloudapi/cloudsdk/docs/Equipment.md +++ /dev/null @@ -1,22 +0,0 @@ -# Equipment - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **int** | | [optional] -**equipment_type** | [**EquipmentType**](EquipmentType.md) | | [optional] -**inventory_id** | **str** | | [optional] -**customer_id** | **int** | | [optional] -**profile_id** | **int** | | [optional] -**name** | **str** | | [optional] -**location_id** | **int** | | [optional] -**details** | [**EquipmentDetails**](EquipmentDetails.md) | | [optional] -**latitude** | **str** | | [optional] -**longitude** | **str** | | [optional] -**base_mac_address** | [**MacAddress**](MacAddress.md) | | [optional] -**serial** | **str** | | [optional] -**created_timestamp** | **int** | | [optional] -**last_modified_timestamp** | **int** | must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/EquipmentAddedEvent.md b/libs/cloudapi/cloudsdk/docs/EquipmentAddedEvent.md deleted file mode 100644 index 7575fd471..000000000 --- a/libs/cloudapi/cloudsdk/docs/EquipmentAddedEvent.md +++ /dev/null @@ -1,13 +0,0 @@ -# EquipmentAddedEvent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**event_timestamp** | **int** | | [optional] -**customer_id** | **int** | | [optional] -**equipment_id** | **int** | | [optional] -**payload** | [**Equipment**](Equipment.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/EquipmentAdminStatusData.md b/libs/cloudapi/cloudsdk/docs/EquipmentAdminStatusData.md deleted file mode 100644 index 1864682dc..000000000 --- a/libs/cloudapi/cloudsdk/docs/EquipmentAdminStatusData.md +++ /dev/null @@ -1,12 +0,0 @@ -# EquipmentAdminStatusData - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**status_data_type** | **str** | | [optional] -**status_code** | [**StatusCode**](StatusCode.md) | | [optional] -**status_message** | **str** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/EquipmentApi.md b/libs/cloudapi/cloudsdk/docs/EquipmentApi.md deleted file mode 100644 index 169f12a73..000000000 --- a/libs/cloudapi/cloudsdk/docs/EquipmentApi.md +++ /dev/null @@ -1,453 +0,0 @@ -# swagger_client.EquipmentApi - -All URIs are relative to *https://localhost:9091* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**create_equipment**](EquipmentApi.md#create_equipment) | **POST** /portal/equipment | Create new Equipment -[**delete_equipment**](EquipmentApi.md#delete_equipment) | **DELETE** /portal/equipment | Delete Equipment -[**get_default_equipment_details**](EquipmentApi.md#get_default_equipment_details) | **GET** /portal/equipment/defaultDetails | Get default values for Equipment details for a specific equipment type -[**get_equipment_by_customer_id**](EquipmentApi.md#get_equipment_by_customer_id) | **GET** /portal/equipment/forCustomer | Get Equipment By customerId -[**get_equipment_by_customer_with_filter**](EquipmentApi.md#get_equipment_by_customer_with_filter) | **GET** /portal/equipment/forCustomerWithFilter | Get Equipment for customerId, equipment type, and location id -[**get_equipment_by_id**](EquipmentApi.md#get_equipment_by_id) | **GET** /portal/equipment | Get Equipment By Id -[**get_equipment_by_set_of_ids**](EquipmentApi.md#get_equipment_by_set_of_ids) | **GET** /portal/equipment/inSet | Get Equipment By a set of ids -[**update_equipment**](EquipmentApi.md#update_equipment) | **PUT** /portal/equipment | Update Equipment -[**update_equipment_rrm_bulk**](EquipmentApi.md#update_equipment_rrm_bulk) | **PUT** /portal/equipment/rrmBulk | Update RRM related properties of Equipment in bulk - -# **create_equipment** -> Equipment create_equipment(body) - -Create new Equipment - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.EquipmentApi(swagger_client.ApiClient(configuration)) -body = swagger_client.Equipment() # Equipment | equipment info - -try: - # Create new Equipment - api_response = api_instance.create_equipment(body) - pprint(api_response) -except ApiException as e: - print("Exception when calling EquipmentApi->create_equipment: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**Equipment**](Equipment.md)| equipment info | - -### Return type - -[**Equipment**](Equipment.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_equipment** -> Equipment delete_equipment(equipment_id) - -Delete Equipment - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.EquipmentApi(swagger_client.ApiClient(configuration)) -equipment_id = 789 # int | equipment id - -try: - # Delete Equipment - api_response = api_instance.delete_equipment(equipment_id) - pprint(api_response) -except ApiException as e: - print("Exception when calling EquipmentApi->delete_equipment: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **equipment_id** | **int**| equipment id | - -### Return type - -[**Equipment**](Equipment.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_default_equipment_details** -> EquipmentDetails get_default_equipment_details(equipment_type=equipment_type) - -Get default values for Equipment details for a specific equipment type - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.EquipmentApi(swagger_client.ApiClient(configuration)) -equipment_type = swagger_client.EquipmentType() # EquipmentType | (optional) - -try: - # Get default values for Equipment details for a specific equipment type - api_response = api_instance.get_default_equipment_details(equipment_type=equipment_type) - pprint(api_response) -except ApiException as e: - print("Exception when calling EquipmentApi->get_default_equipment_details: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **equipment_type** | [**EquipmentType**](.md)| | [optional] - -### Return type - -[**EquipmentDetails**](EquipmentDetails.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_equipment_by_customer_id** -> PaginationResponseEquipment get_equipment_by_customer_id(customer_id, pagination_context, sort_by=sort_by) - -Get Equipment By customerId - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.EquipmentApi(swagger_client.ApiClient(configuration)) -customer_id = 789 # int | customer id -pagination_context = swagger_client.PaginationContextEquipment() # PaginationContextEquipment | pagination context -sort_by = [swagger_client.SortColumnsEquipment()] # list[SortColumnsEquipment] | sort options (optional) - -try: - # Get Equipment By customerId - api_response = api_instance.get_equipment_by_customer_id(customer_id, pagination_context, sort_by=sort_by) - pprint(api_response) -except ApiException as e: - print("Exception when calling EquipmentApi->get_equipment_by_customer_id: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **customer_id** | **int**| customer id | - **pagination_context** | [**PaginationContextEquipment**](.md)| pagination context | - **sort_by** | [**list[SortColumnsEquipment]**](SortColumnsEquipment.md)| sort options | [optional] - -### Return type - -[**PaginationResponseEquipment**](PaginationResponseEquipment.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_equipment_by_customer_with_filter** -> PaginationResponseEquipment get_equipment_by_customer_with_filter(customer_id, equipment_type=equipment_type, location_ids=location_ids, criteria=criteria, sort_by=sort_by, pagination_context=pagination_context) - -Get Equipment for customerId, equipment type, and location id - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.EquipmentApi(swagger_client.ApiClient(configuration)) -customer_id = 789 # int | customer id -equipment_type = swagger_client.EquipmentType() # EquipmentType | equipment type (optional) -location_ids = [56] # list[int] | set of location ids (optional) -criteria = 'criteria_example' # str | search criteria (optional) -sort_by = [swagger_client.SortColumnsEquipment()] # list[SortColumnsEquipment] | sort options (optional) -pagination_context = swagger_client.PaginationContextEquipment() # PaginationContextEquipment | pagination context (optional) - -try: - # Get Equipment for customerId, equipment type, and location id - api_response = api_instance.get_equipment_by_customer_with_filter(customer_id, equipment_type=equipment_type, location_ids=location_ids, criteria=criteria, sort_by=sort_by, pagination_context=pagination_context) - pprint(api_response) -except ApiException as e: - print("Exception when calling EquipmentApi->get_equipment_by_customer_with_filter: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **customer_id** | **int**| customer id | - **equipment_type** | [**EquipmentType**](.md)| equipment type | [optional] - **location_ids** | [**list[int]**](int.md)| set of location ids | [optional] - **criteria** | **str**| search criteria | [optional] - **sort_by** | [**list[SortColumnsEquipment]**](SortColumnsEquipment.md)| sort options | [optional] - **pagination_context** | [**PaginationContextEquipment**](.md)| pagination context | [optional] - -### Return type - -[**PaginationResponseEquipment**](PaginationResponseEquipment.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_equipment_by_id** -> Equipment get_equipment_by_id(equipment_id) - -Get Equipment By Id - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.EquipmentApi(swagger_client.ApiClient(configuration)) -equipment_id = 789 # int | equipment id - -try: - # Get Equipment By Id - api_response = api_instance.get_equipment_by_id(equipment_id) - pprint(api_response) -except ApiException as e: - print("Exception when calling EquipmentApi->get_equipment_by_id: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **equipment_id** | **int**| equipment id | - -### Return type - -[**Equipment**](Equipment.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_equipment_by_set_of_ids** -> list[Equipment] get_equipment_by_set_of_ids(equipment_id_set) - -Get Equipment By a set of ids - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.EquipmentApi(swagger_client.ApiClient(configuration)) -equipment_id_set = [56] # list[int] | set of equipment ids - -try: - # Get Equipment By a set of ids - api_response = api_instance.get_equipment_by_set_of_ids(equipment_id_set) - pprint(api_response) -except ApiException as e: - print("Exception when calling EquipmentApi->get_equipment_by_set_of_ids: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **equipment_id_set** | [**list[int]**](int.md)| set of equipment ids | - -### Return type - -[**list[Equipment]**](Equipment.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **update_equipment** -> Equipment update_equipment(body) - -Update Equipment - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.EquipmentApi(swagger_client.ApiClient(configuration)) -body = swagger_client.Equipment() # Equipment | equipment info - -try: - # Update Equipment - api_response = api_instance.update_equipment(body) - pprint(api_response) -except ApiException as e: - print("Exception when calling EquipmentApi->update_equipment: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**Equipment**](Equipment.md)| equipment info | - -### Return type - -[**Equipment**](Equipment.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **update_equipment_rrm_bulk** -> GenericResponse update_equipment_rrm_bulk(body) - -Update RRM related properties of Equipment in bulk - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.EquipmentApi(swagger_client.ApiClient(configuration)) -body = swagger_client.EquipmentRrmBulkUpdateRequest() # EquipmentRrmBulkUpdateRequest | Equipment RRM bulk update request - -try: - # Update RRM related properties of Equipment in bulk - api_response = api_instance.update_equipment_rrm_bulk(body) - pprint(api_response) -except ApiException as e: - print("Exception when calling EquipmentApi->update_equipment_rrm_bulk: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**EquipmentRrmBulkUpdateRequest**](EquipmentRrmBulkUpdateRequest.md)| Equipment RRM bulk update request | - -### Return type - -[**GenericResponse**](GenericResponse.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/EquipmentAutoProvisioningSettings.md b/libs/cloudapi/cloudsdk/docs/EquipmentAutoProvisioningSettings.md deleted file mode 100644 index 093066390..000000000 --- a/libs/cloudapi/cloudsdk/docs/EquipmentAutoProvisioningSettings.md +++ /dev/null @@ -1,11 +0,0 @@ -# EquipmentAutoProvisioningSettings - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**enabled** | **bool** | | [optional] -**location_id** | **int** | auto-provisioned equipment will appear under this location | [optional] -**equipment_profile_id_per_model** | [**LongValueMap**](LongValueMap.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/EquipmentCapacityDetails.md b/libs/cloudapi/cloudsdk/docs/EquipmentCapacityDetails.md deleted file mode 100644 index 76c49d805..000000000 --- a/libs/cloudapi/cloudsdk/docs/EquipmentCapacityDetails.md +++ /dev/null @@ -1,13 +0,0 @@ -# EquipmentCapacityDetails - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**total_capacity** | **int** | A theoretical maximum based on channel bandwidth | [optional] -**available_capacity** | **int** | The percentage of capacity that is available for clients. | [optional] -**unavailable_capacity** | **int** | The percentage of capacity that is not available for clients (e.g. beacons, noise, non-wifi) | [optional] -**unused_capacity** | **int** | The percentage of the overall capacity that is not being used. | [optional] -**used_capacity** | **int** | The percentage of the overall capacity that is currently being used by associated clients. | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/EquipmentCapacityDetailsMap.md b/libs/cloudapi/cloudsdk/docs/EquipmentCapacityDetailsMap.md deleted file mode 100644 index 56ef8331c..000000000 --- a/libs/cloudapi/cloudsdk/docs/EquipmentCapacityDetailsMap.md +++ /dev/null @@ -1,12 +0,0 @@ -# EquipmentCapacityDetailsMap - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**is5_g_hz** | [**EquipmentCapacityDetails**](EquipmentCapacityDetails.md) | | [optional] -**is5_g_hz_u** | [**EquipmentCapacityDetails**](EquipmentCapacityDetails.md) | | [optional] -**is5_g_hz_l** | [**EquipmentCapacityDetails**](EquipmentCapacityDetails.md) | | [optional] -**is2dot4_g_hz** | [**EquipmentCapacityDetails**](EquipmentCapacityDetails.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/EquipmentChangedEvent.md b/libs/cloudapi/cloudsdk/docs/EquipmentChangedEvent.md deleted file mode 100644 index 753765b5a..000000000 --- a/libs/cloudapi/cloudsdk/docs/EquipmentChangedEvent.md +++ /dev/null @@ -1,13 +0,0 @@ -# EquipmentChangedEvent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**event_timestamp** | **int** | | [optional] -**customer_id** | **int** | | [optional] -**equipment_id** | **int** | | [optional] -**payload** | [**Equipment**](Equipment.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/EquipmentDetails.md b/libs/cloudapi/cloudsdk/docs/EquipmentDetails.md deleted file mode 100644 index dbe927bcf..000000000 --- a/libs/cloudapi/cloudsdk/docs/EquipmentDetails.md +++ /dev/null @@ -1,9 +0,0 @@ -# EquipmentDetails - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**equipment_model** | **str** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/EquipmentGatewayApi.md b/libs/cloudapi/cloudsdk/docs/EquipmentGatewayApi.md deleted file mode 100644 index 75cbb81d8..000000000 --- a/libs/cloudapi/cloudsdk/docs/EquipmentGatewayApi.md +++ /dev/null @@ -1,251 +0,0 @@ -# swagger_client.EquipmentGatewayApi - -All URIs are relative to *https://localhost:9091* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**request_ap_factory_reset**](EquipmentGatewayApi.md#request_ap_factory_reset) | **POST** /portal/equipmentGateway/requestApFactoryReset | Request factory reset for a particular equipment. -[**request_ap_reboot**](EquipmentGatewayApi.md#request_ap_reboot) | **POST** /portal/equipmentGateway/requestApReboot | Request reboot for a particular equipment. -[**request_ap_switch_software_bank**](EquipmentGatewayApi.md#request_ap_switch_software_bank) | **POST** /portal/equipmentGateway/requestApSwitchSoftwareBank | Request switch of active/inactive sw bank for a particular equipment. -[**request_channel_change**](EquipmentGatewayApi.md#request_channel_change) | **POST** /portal/equipmentGateway/requestChannelChange | Request change of primary and/or backup channels for given frequency bands. -[**request_firmware_update**](EquipmentGatewayApi.md#request_firmware_update) | **POST** /portal/equipmentGateway/requestFirmwareUpdate | Request firmware update for a particular equipment. - -# **request_ap_factory_reset** -> GenericResponse request_ap_factory_reset(equipment_id) - -Request factory reset for a particular equipment. - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.EquipmentGatewayApi(swagger_client.ApiClient(configuration)) -equipment_id = 789 # int | Equipment id for which the factory reset is being requested. - -try: - # Request factory reset for a particular equipment. - api_response = api_instance.request_ap_factory_reset(equipment_id) - pprint(api_response) -except ApiException as e: - print("Exception when calling EquipmentGatewayApi->request_ap_factory_reset: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **equipment_id** | **int**| Equipment id for which the factory reset is being requested. | - -### Return type - -[**GenericResponse**](GenericResponse.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **request_ap_reboot** -> GenericResponse request_ap_reboot(equipment_id) - -Request reboot for a particular equipment. - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.EquipmentGatewayApi(swagger_client.ApiClient(configuration)) -equipment_id = 789 # int | Equipment id for which the reboot is being requested. - -try: - # Request reboot for a particular equipment. - api_response = api_instance.request_ap_reboot(equipment_id) - pprint(api_response) -except ApiException as e: - print("Exception when calling EquipmentGatewayApi->request_ap_reboot: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **equipment_id** | **int**| Equipment id for which the reboot is being requested. | - -### Return type - -[**GenericResponse**](GenericResponse.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **request_ap_switch_software_bank** -> GenericResponse request_ap_switch_software_bank(equipment_id) - -Request switch of active/inactive sw bank for a particular equipment. - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.EquipmentGatewayApi(swagger_client.ApiClient(configuration)) -equipment_id = 789 # int | Equipment id for which the switch is being requested. - -try: - # Request switch of active/inactive sw bank for a particular equipment. - api_response = api_instance.request_ap_switch_software_bank(equipment_id) - pprint(api_response) -except ApiException as e: - print("Exception when calling EquipmentGatewayApi->request_ap_switch_software_bank: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **equipment_id** | **int**| Equipment id for which the switch is being requested. | - -### Return type - -[**GenericResponse**](GenericResponse.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **request_channel_change** -> GenericResponse request_channel_change(body, equipment_id) - -Request change of primary and/or backup channels for given frequency bands. - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.EquipmentGatewayApi(swagger_client.ApiClient(configuration)) -body = swagger_client.RadioChannelChangeSettings() # RadioChannelChangeSettings | RadioChannelChangeSettings info -equipment_id = 789 # int | Equipment id for which the channel changes are being performed. - -try: - # Request change of primary and/or backup channels for given frequency bands. - api_response = api_instance.request_channel_change(body, equipment_id) - pprint(api_response) -except ApiException as e: - print("Exception when calling EquipmentGatewayApi->request_channel_change: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**RadioChannelChangeSettings**](RadioChannelChangeSettings.md)| RadioChannelChangeSettings info | - **equipment_id** | **int**| Equipment id for which the channel changes are being performed. | - -### Return type - -[**GenericResponse**](GenericResponse.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **request_firmware_update** -> GenericResponse request_firmware_update(equipment_id, firmware_version_id) - -Request firmware update for a particular equipment. - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.EquipmentGatewayApi(swagger_client.ApiClient(configuration)) -equipment_id = 789 # int | Equipment id for which the firmware update is being requested. -firmware_version_id = 789 # int | Id of the firmware version object. - -try: - # Request firmware update for a particular equipment. - api_response = api_instance.request_firmware_update(equipment_id, firmware_version_id) - pprint(api_response) -except ApiException as e: - print("Exception when calling EquipmentGatewayApi->request_firmware_update: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **equipment_id** | **int**| Equipment id for which the firmware update is being requested. | - **firmware_version_id** | **int**| Id of the firmware version object. | - -### Return type - -[**GenericResponse**](GenericResponse.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/EquipmentGatewayRecord.md b/libs/cloudapi/cloudsdk/docs/EquipmentGatewayRecord.md deleted file mode 100644 index cfb36106f..000000000 --- a/libs/cloudapi/cloudsdk/docs/EquipmentGatewayRecord.md +++ /dev/null @@ -1,15 +0,0 @@ -# EquipmentGatewayRecord - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **int** | | [optional] -**hostname** | **str** | | [optional] -**ip_addr** | **str** | | [optional] -**port** | **int** | | [optional] -**gateway_type** | [**GatewayType**](GatewayType.md) | | [optional] -**created_time_stamp** | **int** | | [optional] -**last_modified_timestamp** | **int** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/EquipmentLANStatusData.md b/libs/cloudapi/cloudsdk/docs/EquipmentLANStatusData.md deleted file mode 100644 index 1b5c88883..000000000 --- a/libs/cloudapi/cloudsdk/docs/EquipmentLANStatusData.md +++ /dev/null @@ -1,11 +0,0 @@ -# EquipmentLANStatusData - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**status_data_type** | **str** | | [optional] -**vlan_status_data_map** | [**VLANStatusDataMap**](VLANStatusDataMap.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/EquipmentNeighbouringStatusData.md b/libs/cloudapi/cloudsdk/docs/EquipmentNeighbouringStatusData.md deleted file mode 100644 index ccf1ef6c6..000000000 --- a/libs/cloudapi/cloudsdk/docs/EquipmentNeighbouringStatusData.md +++ /dev/null @@ -1,10 +0,0 @@ -# EquipmentNeighbouringStatusData - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**status_data_type** | **str** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/EquipmentPeerStatusData.md b/libs/cloudapi/cloudsdk/docs/EquipmentPeerStatusData.md deleted file mode 100644 index 83479f1a5..000000000 --- a/libs/cloudapi/cloudsdk/docs/EquipmentPeerStatusData.md +++ /dev/null @@ -1,10 +0,0 @@ -# EquipmentPeerStatusData - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**status_data_type** | **str** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/EquipmentPerRadioUtilizationDetails.md b/libs/cloudapi/cloudsdk/docs/EquipmentPerRadioUtilizationDetails.md deleted file mode 100644 index 66934ade4..000000000 --- a/libs/cloudapi/cloudsdk/docs/EquipmentPerRadioUtilizationDetails.md +++ /dev/null @@ -1,9 +0,0 @@ -# EquipmentPerRadioUtilizationDetails - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**wifi_from_other_bss** | [**MinMaxAvgValueInt**](MinMaxAvgValueInt.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/EquipmentPerRadioUtilizationDetailsMap.md b/libs/cloudapi/cloudsdk/docs/EquipmentPerRadioUtilizationDetailsMap.md deleted file mode 100644 index 8056bdd7e..000000000 --- a/libs/cloudapi/cloudsdk/docs/EquipmentPerRadioUtilizationDetailsMap.md +++ /dev/null @@ -1,12 +0,0 @@ -# EquipmentPerRadioUtilizationDetailsMap - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**is5_g_hz** | [**EquipmentPerRadioUtilizationDetails**](EquipmentPerRadioUtilizationDetails.md) | | [optional] -**is5_g_hz_u** | [**EquipmentPerRadioUtilizationDetails**](EquipmentPerRadioUtilizationDetails.md) | | [optional] -**is5_g_hz_l** | [**EquipmentPerRadioUtilizationDetails**](EquipmentPerRadioUtilizationDetails.md) | | [optional] -**is2dot4_g_hz** | [**EquipmentPerRadioUtilizationDetails**](EquipmentPerRadioUtilizationDetails.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/EquipmentPerformanceDetails.md b/libs/cloudapi/cloudsdk/docs/EquipmentPerformanceDetails.md deleted file mode 100644 index e773a8b75..000000000 --- a/libs/cloudapi/cloudsdk/docs/EquipmentPerformanceDetails.md +++ /dev/null @@ -1,12 +0,0 @@ -# EquipmentPerformanceDetails - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**avg_free_memory** | **int** | | [optional] -**avg_cpu_util_core1** | **int** | | [optional] -**avg_cpu_util_core2** | **int** | | [optional] -**avg_cpu_temperature** | **int** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/EquipmentProtocolState.md b/libs/cloudapi/cloudsdk/docs/EquipmentProtocolState.md deleted file mode 100644 index 3c199c80b..000000000 --- a/libs/cloudapi/cloudsdk/docs/EquipmentProtocolState.md +++ /dev/null @@ -1,8 +0,0 @@ -# EquipmentProtocolState - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/EquipmentProtocolStatusData.md b/libs/cloudapi/cloudsdk/docs/EquipmentProtocolStatusData.md deleted file mode 100644 index efc250841..000000000 --- a/libs/cloudapi/cloudsdk/docs/EquipmentProtocolStatusData.md +++ /dev/null @@ -1,35 +0,0 @@ -# EquipmentProtocolStatusData - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**status_data_type** | **str** | | [optional] -**powered_on** | **bool** | | [optional] -**protocol_state** | [**EquipmentProtocolState**](EquipmentProtocolState.md) | | [optional] -**reported_hw_version** | **str** | | [optional] -**reported_sw_version** | **str** | | [optional] -**reported_sw_alt_version** | **str** | | [optional] -**cloud_protocol_version** | **str** | | [optional] -**reported_ip_v4_addr** | **str** | | [optional] -**reported_ip_v6_addr** | **str** | | [optional] -**reported_mac_addr** | [**MacAddress**](MacAddress.md) | | [optional] -**country_code** | **str** | | [optional] -**system_name** | **str** | | [optional] -**system_contact** | **str** | | [optional] -**system_location** | **str** | | [optional] -**band_plan** | **str** | | [optional] -**serial_number** | **str** | | [optional] -**base_mac_address** | [**MacAddress**](MacAddress.md) | | [optional] -**reported_apc_address** | **str** | | [optional] -**last_apc_update** | **int** | | [optional] -**is_apc_connected** | **bool** | | [optional] -**ip_based_configuration** | **str** | | [optional] -**reported_sku** | **str** | | [optional] -**reported_cc** | [**CountryCode**](CountryCode.md) | | [optional] -**radius_proxy_address** | **str** | | [optional] -**reported_cfg_data_version** | **int** | | [optional] -**cloud_cfg_data_version** | **int** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/EquipmentRemovedEvent.md b/libs/cloudapi/cloudsdk/docs/EquipmentRemovedEvent.md deleted file mode 100644 index a69a94dd3..000000000 --- a/libs/cloudapi/cloudsdk/docs/EquipmentRemovedEvent.md +++ /dev/null @@ -1,13 +0,0 @@ -# EquipmentRemovedEvent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**event_timestamp** | **int** | | [optional] -**customer_id** | **int** | | [optional] -**equipment_id** | **int** | | [optional] -**payload** | [**Equipment**](Equipment.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/EquipmentRoutingRecord.md b/libs/cloudapi/cloudsdk/docs/EquipmentRoutingRecord.md deleted file mode 100644 index 017427bc3..000000000 --- a/libs/cloudapi/cloudsdk/docs/EquipmentRoutingRecord.md +++ /dev/null @@ -1,14 +0,0 @@ -# EquipmentRoutingRecord - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **int** | | [optional] -**equipment_id** | **int** | | [optional] -**customer_id** | **int** | | [optional] -**gateway_id** | **int** | | [optional] -**created_timestamp** | **int** | | [optional] -**last_modified_timestamp** | **int** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/EquipmentRrmBulkUpdateItem.md b/libs/cloudapi/cloudsdk/docs/EquipmentRrmBulkUpdateItem.md deleted file mode 100644 index f13c3d55d..000000000 --- a/libs/cloudapi/cloudsdk/docs/EquipmentRrmBulkUpdateItem.md +++ /dev/null @@ -1,10 +0,0 @@ -# EquipmentRrmBulkUpdateItem - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**equipment_id** | **int** | | [optional] -**per_radio_details** | [**EquipmentRrmBulkUpdateItemPerRadioMap**](EquipmentRrmBulkUpdateItemPerRadioMap.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/EquipmentRrmBulkUpdateItemPerRadioMap.md b/libs/cloudapi/cloudsdk/docs/EquipmentRrmBulkUpdateItemPerRadioMap.md deleted file mode 100644 index b6178e4cf..000000000 --- a/libs/cloudapi/cloudsdk/docs/EquipmentRrmBulkUpdateItemPerRadioMap.md +++ /dev/null @@ -1,12 +0,0 @@ -# EquipmentRrmBulkUpdateItemPerRadioMap - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**is5_g_hz** | [**RrmBulkUpdateApDetails**](RrmBulkUpdateApDetails.md) | | [optional] -**is5_g_hz_u** | [**RrmBulkUpdateApDetails**](RrmBulkUpdateApDetails.md) | | [optional] -**is5_g_hz_l** | [**RrmBulkUpdateApDetails**](RrmBulkUpdateApDetails.md) | | [optional] -**is2dot4_g_hz** | [**RrmBulkUpdateApDetails**](RrmBulkUpdateApDetails.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/EquipmentRrmBulkUpdateRequest.md b/libs/cloudapi/cloudsdk/docs/EquipmentRrmBulkUpdateRequest.md deleted file mode 100644 index 07e982b4d..000000000 --- a/libs/cloudapi/cloudsdk/docs/EquipmentRrmBulkUpdateRequest.md +++ /dev/null @@ -1,9 +0,0 @@ -# EquipmentRrmBulkUpdateRequest - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**items** | [**list[EquipmentRrmBulkUpdateItem]**](EquipmentRrmBulkUpdateItem.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/EquipmentScanDetails.md b/libs/cloudapi/cloudsdk/docs/EquipmentScanDetails.md deleted file mode 100644 index f41205f9f..000000000 --- a/libs/cloudapi/cloudsdk/docs/EquipmentScanDetails.md +++ /dev/null @@ -1,10 +0,0 @@ -# EquipmentScanDetails - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**status_data_type** | **str** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/EquipmentType.md b/libs/cloudapi/cloudsdk/docs/EquipmentType.md deleted file mode 100644 index 655ea8569..000000000 --- a/libs/cloudapi/cloudsdk/docs/EquipmentType.md +++ /dev/null @@ -1,8 +0,0 @@ -# EquipmentType - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/EquipmentUpgradeFailureReason.md b/libs/cloudapi/cloudsdk/docs/EquipmentUpgradeFailureReason.md deleted file mode 100644 index 6fc5e1725..000000000 --- a/libs/cloudapi/cloudsdk/docs/EquipmentUpgradeFailureReason.md +++ /dev/null @@ -1,8 +0,0 @@ -# EquipmentUpgradeFailureReason - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/EquipmentUpgradeState.md b/libs/cloudapi/cloudsdk/docs/EquipmentUpgradeState.md deleted file mode 100644 index 91e63d4a5..000000000 --- a/libs/cloudapi/cloudsdk/docs/EquipmentUpgradeState.md +++ /dev/null @@ -1,8 +0,0 @@ -# EquipmentUpgradeState - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/EquipmentUpgradeStatusData.md b/libs/cloudapi/cloudsdk/docs/EquipmentUpgradeStatusData.md deleted file mode 100644 index 7ce4908a1..000000000 --- a/libs/cloudapi/cloudsdk/docs/EquipmentUpgradeStatusData.md +++ /dev/null @@ -1,18 +0,0 @@ -# EquipmentUpgradeStatusData - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**status_data_type** | **str** | | [optional] -**active_sw_version** | **str** | | [optional] -**alternate_sw_version** | **str** | | [optional] -**target_sw_version** | **str** | | [optional] -**retries** | **int** | | [optional] -**upgrade_state** | [**EquipmentUpgradeState**](EquipmentUpgradeState.md) | | [optional] -**reason** | [**EquipmentUpgradeFailureReason**](EquipmentUpgradeFailureReason.md) | | [optional] -**upgrade_start_time** | **int** | | [optional] -**switch_bank** | **bool** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/EthernetLinkState.md b/libs/cloudapi/cloudsdk/docs/EthernetLinkState.md deleted file mode 100644 index b9a5a0d6d..000000000 --- a/libs/cloudapi/cloudsdk/docs/EthernetLinkState.md +++ /dev/null @@ -1,8 +0,0 @@ -# EthernetLinkState - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/FileCategory.md b/libs/cloudapi/cloudsdk/docs/FileCategory.md deleted file mode 100644 index cd4aff1f3..000000000 --- a/libs/cloudapi/cloudsdk/docs/FileCategory.md +++ /dev/null @@ -1,8 +0,0 @@ -# FileCategory - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/FileServicesApi.md b/libs/cloudapi/cloudsdk/docs/FileServicesApi.md deleted file mode 100644 index 4fd12074c..000000000 --- a/libs/cloudapi/cloudsdk/docs/FileServicesApi.md +++ /dev/null @@ -1,105 +0,0 @@ -# swagger_client.FileServicesApi - -All URIs are relative to *https://localhost:9091* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**download_binary_file**](FileServicesApi.md#download_binary_file) | **GET** /filestore/{fileName} | Download binary file. -[**upload_binary_file**](FileServicesApi.md#upload_binary_file) | **POST** /filestore/{fileName} | Upload binary file. - -# **download_binary_file** -> str download_binary_file(file_name) - -Download binary file. - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.FileServicesApi(swagger_client.ApiClient(configuration)) -file_name = 'file_name_example' # str | File name to download. File/path delimiters not allowed. - -try: - # Download binary file. - api_response = api_instance.download_binary_file(file_name) - pprint(api_response) -except ApiException as e: - print("Exception when calling FileServicesApi->download_binary_file: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **file_name** | **str**| File name to download. File/path delimiters not allowed. | - -### Return type - -**str** - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/octet-stream, application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **upload_binary_file** -> GenericResponse upload_binary_file(body, file_name) - -Upload binary file. - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.FileServicesApi(swagger_client.ApiClient(configuration)) -body = swagger_client.Object() # Object | Contents of binary file -file_name = 'file_name_example' # str | File name that is being uploaded. File/path delimiters not allowed. - -try: - # Upload binary file. - api_response = api_instance.upload_binary_file(body, file_name) - pprint(api_response) -except ApiException as e: - print("Exception when calling FileServicesApi->upload_binary_file: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | **Object**| Contents of binary file | - **file_name** | **str**| File name that is being uploaded. File/path delimiters not allowed. | - -### Return type - -[**GenericResponse**](GenericResponse.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: application/octet-stream - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/FileType.md b/libs/cloudapi/cloudsdk/docs/FileType.md deleted file mode 100644 index d7ad859a5..000000000 --- a/libs/cloudapi/cloudsdk/docs/FileType.md +++ /dev/null @@ -1,8 +0,0 @@ -# FileType - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/FirmwareManagementApi.md b/libs/cloudapi/cloudsdk/docs/FirmwareManagementApi.md deleted file mode 100644 index bef12fb8a..000000000 --- a/libs/cloudapi/cloudsdk/docs/FirmwareManagementApi.md +++ /dev/null @@ -1,967 +0,0 @@ -# swagger_client.FirmwareManagementApi - -All URIs are relative to *https://localhost:9091* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**create_customer_firmware_track_record**](FirmwareManagementApi.md#create_customer_firmware_track_record) | **POST** /portal/firmware/customerTrack | Create new CustomerFirmwareTrackRecord -[**create_firmware_track_record**](FirmwareManagementApi.md#create_firmware_track_record) | **POST** /portal/firmware/track | Create new FirmwareTrackRecord -[**create_firmware_version**](FirmwareManagementApi.md#create_firmware_version) | **POST** /portal/firmware/version | Create new FirmwareVersion -[**delete_customer_firmware_track_record**](FirmwareManagementApi.md#delete_customer_firmware_track_record) | **DELETE** /portal/firmware/customerTrack | Delete CustomerFirmwareTrackRecord -[**delete_firmware_track_assignment**](FirmwareManagementApi.md#delete_firmware_track_assignment) | **DELETE** /portal/firmware/trackAssignment | Delete FirmwareTrackAssignment -[**delete_firmware_track_record**](FirmwareManagementApi.md#delete_firmware_track_record) | **DELETE** /portal/firmware/track | Delete FirmwareTrackRecord -[**delete_firmware_version**](FirmwareManagementApi.md#delete_firmware_version) | **DELETE** /portal/firmware/version | Delete FirmwareVersion -[**get_customer_firmware_track_record**](FirmwareManagementApi.md#get_customer_firmware_track_record) | **GET** /portal/firmware/customerTrack | Get CustomerFirmwareTrackRecord By customerId -[**get_default_customer_track_setting**](FirmwareManagementApi.md#get_default_customer_track_setting) | **GET** /portal/firmware/customerTrack/default | Get default settings for handling automatic firmware upgrades -[**get_firmware_model_ids_by_equipment_type**](FirmwareManagementApi.md#get_firmware_model_ids_by_equipment_type) | **GET** /portal/firmware/model/byEquipmentType | Get equipment models from all known firmware versions filtered by equipmentType -[**get_firmware_track_assignment_details**](FirmwareManagementApi.md#get_firmware_track_assignment_details) | **GET** /portal/firmware/trackAssignment | Get FirmwareTrackAssignmentDetails for a given firmware track name -[**get_firmware_track_record**](FirmwareManagementApi.md#get_firmware_track_record) | **GET** /portal/firmware/track | Get FirmwareTrackRecord By Id -[**get_firmware_track_record_by_name**](FirmwareManagementApi.md#get_firmware_track_record_by_name) | **GET** /portal/firmware/track/byName | Get FirmwareTrackRecord By name -[**get_firmware_version**](FirmwareManagementApi.md#get_firmware_version) | **GET** /portal/firmware/version | Get FirmwareVersion By Id -[**get_firmware_version_by_equipment_type**](FirmwareManagementApi.md#get_firmware_version_by_equipment_type) | **GET** /portal/firmware/version/byEquipmentType | Get FirmwareVersions filtered by equipmentType and optional equipment model -[**get_firmware_version_by_name**](FirmwareManagementApi.md#get_firmware_version_by_name) | **GET** /portal/firmware/version/byName | Get FirmwareVersion By name -[**update_customer_firmware_track_record**](FirmwareManagementApi.md#update_customer_firmware_track_record) | **PUT** /portal/firmware/customerTrack | Update CustomerFirmwareTrackRecord -[**update_firmware_track_assignment_details**](FirmwareManagementApi.md#update_firmware_track_assignment_details) | **PUT** /portal/firmware/trackAssignment | Update FirmwareTrackAssignmentDetails -[**update_firmware_track_record**](FirmwareManagementApi.md#update_firmware_track_record) | **PUT** /portal/firmware/track | Update FirmwareTrackRecord -[**update_firmware_version**](FirmwareManagementApi.md#update_firmware_version) | **PUT** /portal/firmware/version | Update FirmwareVersion - -# **create_customer_firmware_track_record** -> CustomerFirmwareTrackRecord create_customer_firmware_track_record(body) - -Create new CustomerFirmwareTrackRecord - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.FirmwareManagementApi(swagger_client.ApiClient(configuration)) -body = swagger_client.CustomerFirmwareTrackRecord() # CustomerFirmwareTrackRecord | CustomerFirmwareTrackRecord info - -try: - # Create new CustomerFirmwareTrackRecord - api_response = api_instance.create_customer_firmware_track_record(body) - pprint(api_response) -except ApiException as e: - print("Exception when calling FirmwareManagementApi->create_customer_firmware_track_record: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**CustomerFirmwareTrackRecord**](CustomerFirmwareTrackRecord.md)| CustomerFirmwareTrackRecord info | - -### Return type - -[**CustomerFirmwareTrackRecord**](CustomerFirmwareTrackRecord.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_firmware_track_record** -> FirmwareTrackRecord create_firmware_track_record(body) - -Create new FirmwareTrackRecord - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.FirmwareManagementApi(swagger_client.ApiClient(configuration)) -body = swagger_client.FirmwareTrackRecord() # FirmwareTrackRecord | FirmwareTrackRecord info - -try: - # Create new FirmwareTrackRecord - api_response = api_instance.create_firmware_track_record(body) - pprint(api_response) -except ApiException as e: - print("Exception when calling FirmwareManagementApi->create_firmware_track_record: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**FirmwareTrackRecord**](FirmwareTrackRecord.md)| FirmwareTrackRecord info | - -### Return type - -[**FirmwareTrackRecord**](FirmwareTrackRecord.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_firmware_version** -> FirmwareVersion create_firmware_version(body) - -Create new FirmwareVersion - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.FirmwareManagementApi(swagger_client.ApiClient(configuration)) -body = swagger_client.FirmwareVersion() # FirmwareVersion | FirmwareVersion info - -try: - # Create new FirmwareVersion - api_response = api_instance.create_firmware_version(body) - pprint(api_response) -except ApiException as e: - print("Exception when calling FirmwareManagementApi->create_firmware_version: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**FirmwareVersion**](FirmwareVersion.md)| FirmwareVersion info | - -### Return type - -[**FirmwareVersion**](FirmwareVersion.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_customer_firmware_track_record** -> CustomerFirmwareTrackRecord delete_customer_firmware_track_record(customer_id) - -Delete CustomerFirmwareTrackRecord - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.FirmwareManagementApi(swagger_client.ApiClient(configuration)) -customer_id = 56 # int | customer id - -try: - # Delete CustomerFirmwareTrackRecord - api_response = api_instance.delete_customer_firmware_track_record(customer_id) - pprint(api_response) -except ApiException as e: - print("Exception when calling FirmwareManagementApi->delete_customer_firmware_track_record: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **customer_id** | **int**| customer id | - -### Return type - -[**CustomerFirmwareTrackRecord**](CustomerFirmwareTrackRecord.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_firmware_track_assignment** -> FirmwareTrackAssignmentDetails delete_firmware_track_assignment(firmware_track_id, firmware_version_id) - -Delete FirmwareTrackAssignment - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.FirmwareManagementApi(swagger_client.ApiClient(configuration)) -firmware_track_id = 789 # int | firmware track id -firmware_version_id = 789 # int | firmware version id - -try: - # Delete FirmwareTrackAssignment - api_response = api_instance.delete_firmware_track_assignment(firmware_track_id, firmware_version_id) - pprint(api_response) -except ApiException as e: - print("Exception when calling FirmwareManagementApi->delete_firmware_track_assignment: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **firmware_track_id** | **int**| firmware track id | - **firmware_version_id** | **int**| firmware version id | - -### Return type - -[**FirmwareTrackAssignmentDetails**](FirmwareTrackAssignmentDetails.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_firmware_track_record** -> FirmwareTrackRecord delete_firmware_track_record(firmware_track_id) - -Delete FirmwareTrackRecord - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.FirmwareManagementApi(swagger_client.ApiClient(configuration)) -firmware_track_id = 789 # int | firmware track id - -try: - # Delete FirmwareTrackRecord - api_response = api_instance.delete_firmware_track_record(firmware_track_id) - pprint(api_response) -except ApiException as e: - print("Exception when calling FirmwareManagementApi->delete_firmware_track_record: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **firmware_track_id** | **int**| firmware track id | - -### Return type - -[**FirmwareTrackRecord**](FirmwareTrackRecord.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_firmware_version** -> FirmwareVersion delete_firmware_version(firmware_version_id) - -Delete FirmwareVersion - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.FirmwareManagementApi(swagger_client.ApiClient(configuration)) -firmware_version_id = 789 # int | firmwareVersion id - -try: - # Delete FirmwareVersion - api_response = api_instance.delete_firmware_version(firmware_version_id) - pprint(api_response) -except ApiException as e: - print("Exception when calling FirmwareManagementApi->delete_firmware_version: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **firmware_version_id** | **int**| firmwareVersion id | - -### Return type - -[**FirmwareVersion**](FirmwareVersion.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_customer_firmware_track_record** -> CustomerFirmwareTrackRecord get_customer_firmware_track_record(customer_id) - -Get CustomerFirmwareTrackRecord By customerId - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.FirmwareManagementApi(swagger_client.ApiClient(configuration)) -customer_id = 56 # int | customer id - -try: - # Get CustomerFirmwareTrackRecord By customerId - api_response = api_instance.get_customer_firmware_track_record(customer_id) - pprint(api_response) -except ApiException as e: - print("Exception when calling FirmwareManagementApi->get_customer_firmware_track_record: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **customer_id** | **int**| customer id | - -### Return type - -[**CustomerFirmwareTrackRecord**](CustomerFirmwareTrackRecord.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_default_customer_track_setting** -> CustomerFirmwareTrackSettings get_default_customer_track_setting() - -Get default settings for handling automatic firmware upgrades - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.FirmwareManagementApi(swagger_client.ApiClient(configuration)) - -try: - # Get default settings for handling automatic firmware upgrades - api_response = api_instance.get_default_customer_track_setting() - pprint(api_response) -except ApiException as e: - print("Exception when calling FirmwareManagementApi->get_default_customer_track_setting: %s\n" % e) -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**CustomerFirmwareTrackSettings**](CustomerFirmwareTrackSettings.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_firmware_model_ids_by_equipment_type** -> list[str] get_firmware_model_ids_by_equipment_type(equipment_type) - -Get equipment models from all known firmware versions filtered by equipmentType - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.FirmwareManagementApi(swagger_client.ApiClient(configuration)) -equipment_type = swagger_client.EquipmentType() # EquipmentType | - -try: - # Get equipment models from all known firmware versions filtered by equipmentType - api_response = api_instance.get_firmware_model_ids_by_equipment_type(equipment_type) - pprint(api_response) -except ApiException as e: - print("Exception when calling FirmwareManagementApi->get_firmware_model_ids_by_equipment_type: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **equipment_type** | [**EquipmentType**](.md)| | - -### Return type - -**list[str]** - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_firmware_track_assignment_details** -> list[FirmwareTrackAssignmentDetails] get_firmware_track_assignment_details(firmware_track_name) - -Get FirmwareTrackAssignmentDetails for a given firmware track name - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.FirmwareManagementApi(swagger_client.ApiClient(configuration)) -firmware_track_name = 'firmware_track_name_example' # str | firmware track name - -try: - # Get FirmwareTrackAssignmentDetails for a given firmware track name - api_response = api_instance.get_firmware_track_assignment_details(firmware_track_name) - pprint(api_response) -except ApiException as e: - print("Exception when calling FirmwareManagementApi->get_firmware_track_assignment_details: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **firmware_track_name** | **str**| firmware track name | - -### Return type - -[**list[FirmwareTrackAssignmentDetails]**](FirmwareTrackAssignmentDetails.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_firmware_track_record** -> FirmwareTrackRecord get_firmware_track_record(firmware_track_id) - -Get FirmwareTrackRecord By Id - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.FirmwareManagementApi(swagger_client.ApiClient(configuration)) -firmware_track_id = 789 # int | firmware track id - -try: - # Get FirmwareTrackRecord By Id - api_response = api_instance.get_firmware_track_record(firmware_track_id) - pprint(api_response) -except ApiException as e: - print("Exception when calling FirmwareManagementApi->get_firmware_track_record: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **firmware_track_id** | **int**| firmware track id | - -### Return type - -[**FirmwareTrackRecord**](FirmwareTrackRecord.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_firmware_track_record_by_name** -> FirmwareTrackRecord get_firmware_track_record_by_name(firmware_track_name) - -Get FirmwareTrackRecord By name - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.FirmwareManagementApi(swagger_client.ApiClient(configuration)) -firmware_track_name = 'firmware_track_name_example' # str | firmware track name - -try: - # Get FirmwareTrackRecord By name - api_response = api_instance.get_firmware_track_record_by_name(firmware_track_name) - pprint(api_response) -except ApiException as e: - print("Exception when calling FirmwareManagementApi->get_firmware_track_record_by_name: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **firmware_track_name** | **str**| firmware track name | - -### Return type - -[**FirmwareTrackRecord**](FirmwareTrackRecord.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_firmware_version** -> FirmwareVersion get_firmware_version(firmware_version_id) - -Get FirmwareVersion By Id - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.FirmwareManagementApi(swagger_client.ApiClient(configuration)) -firmware_version_id = 789 # int | firmwareVersion id - -try: - # Get FirmwareVersion By Id - api_response = api_instance.get_firmware_version(firmware_version_id) - pprint(api_response) -except ApiException as e: - print("Exception when calling FirmwareManagementApi->get_firmware_version: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **firmware_version_id** | **int**| firmwareVersion id | - -### Return type - -[**FirmwareVersion**](FirmwareVersion.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_firmware_version_by_equipment_type** -> list[FirmwareVersion] get_firmware_version_by_equipment_type(equipment_type, model_id=model_id) - -Get FirmwareVersions filtered by equipmentType and optional equipment model - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.FirmwareManagementApi(swagger_client.ApiClient(configuration)) -equipment_type = swagger_client.EquipmentType() # EquipmentType | -model_id = 'model_id_example' # str | optional filter by equipment model, if null - then firmware versions for all the equipment models are returned (optional) - -try: - # Get FirmwareVersions filtered by equipmentType and optional equipment model - api_response = api_instance.get_firmware_version_by_equipment_type(equipment_type, model_id=model_id) - pprint(api_response) -except ApiException as e: - print("Exception when calling FirmwareManagementApi->get_firmware_version_by_equipment_type: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **equipment_type** | [**EquipmentType**](.md)| | - **model_id** | **str**| optional filter by equipment model, if null - then firmware versions for all the equipment models are returned | [optional] - -### Return type - -[**list[FirmwareVersion]**](FirmwareVersion.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_firmware_version_by_name** -> FirmwareVersion get_firmware_version_by_name(firmware_version_name) - -Get FirmwareVersion By name - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.FirmwareManagementApi(swagger_client.ApiClient(configuration)) -firmware_version_name = 'firmware_version_name_example' # str | firmwareVersion name - -try: - # Get FirmwareVersion By name - api_response = api_instance.get_firmware_version_by_name(firmware_version_name) - pprint(api_response) -except ApiException as e: - print("Exception when calling FirmwareManagementApi->get_firmware_version_by_name: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **firmware_version_name** | **str**| firmwareVersion name | - -### Return type - -[**FirmwareVersion**](FirmwareVersion.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **update_customer_firmware_track_record** -> CustomerFirmwareTrackRecord update_customer_firmware_track_record(body) - -Update CustomerFirmwareTrackRecord - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.FirmwareManagementApi(swagger_client.ApiClient(configuration)) -body = swagger_client.CustomerFirmwareTrackRecord() # CustomerFirmwareTrackRecord | CustomerFirmwareTrackRecord info - -try: - # Update CustomerFirmwareTrackRecord - api_response = api_instance.update_customer_firmware_track_record(body) - pprint(api_response) -except ApiException as e: - print("Exception when calling FirmwareManagementApi->update_customer_firmware_track_record: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**CustomerFirmwareTrackRecord**](CustomerFirmwareTrackRecord.md)| CustomerFirmwareTrackRecord info | - -### Return type - -[**CustomerFirmwareTrackRecord**](CustomerFirmwareTrackRecord.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **update_firmware_track_assignment_details** -> FirmwareTrackAssignmentDetails update_firmware_track_assignment_details(body) - -Update FirmwareTrackAssignmentDetails - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.FirmwareManagementApi(swagger_client.ApiClient(configuration)) -body = swagger_client.FirmwareTrackAssignmentDetails() # FirmwareTrackAssignmentDetails | FirmwareTrackAssignmentDetails info - -try: - # Update FirmwareTrackAssignmentDetails - api_response = api_instance.update_firmware_track_assignment_details(body) - pprint(api_response) -except ApiException as e: - print("Exception when calling FirmwareManagementApi->update_firmware_track_assignment_details: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**FirmwareTrackAssignmentDetails**](FirmwareTrackAssignmentDetails.md)| FirmwareTrackAssignmentDetails info | - -### Return type - -[**FirmwareTrackAssignmentDetails**](FirmwareTrackAssignmentDetails.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **update_firmware_track_record** -> FirmwareTrackRecord update_firmware_track_record(body) - -Update FirmwareTrackRecord - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.FirmwareManagementApi(swagger_client.ApiClient(configuration)) -body = swagger_client.FirmwareTrackRecord() # FirmwareTrackRecord | FirmwareTrackRecord info - -try: - # Update FirmwareTrackRecord - api_response = api_instance.update_firmware_track_record(body) - pprint(api_response) -except ApiException as e: - print("Exception when calling FirmwareManagementApi->update_firmware_track_record: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**FirmwareTrackRecord**](FirmwareTrackRecord.md)| FirmwareTrackRecord info | - -### Return type - -[**FirmwareTrackRecord**](FirmwareTrackRecord.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **update_firmware_version** -> FirmwareVersion update_firmware_version(body) - -Update FirmwareVersion - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.FirmwareManagementApi(swagger_client.ApiClient(configuration)) -body = swagger_client.FirmwareVersion() # FirmwareVersion | FirmwareVersion info - -try: - # Update FirmwareVersion - api_response = api_instance.update_firmware_version(body) - pprint(api_response) -except ApiException as e: - print("Exception when calling FirmwareManagementApi->update_firmware_version: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**FirmwareVersion**](FirmwareVersion.md)| FirmwareVersion info | - -### Return type - -[**FirmwareVersion**](FirmwareVersion.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/FirmwareScheduleSetting.md b/libs/cloudapi/cloudsdk/docs/FirmwareScheduleSetting.md deleted file mode 100644 index 5e061a9f5..000000000 --- a/libs/cloudapi/cloudsdk/docs/FirmwareScheduleSetting.md +++ /dev/null @@ -1,8 +0,0 @@ -# FirmwareScheduleSetting - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/FirmwareTrackAssignmentDetails.md b/libs/cloudapi/cloudsdk/docs/FirmwareTrackAssignmentDetails.md deleted file mode 100644 index 63b583248..000000000 --- a/libs/cloudapi/cloudsdk/docs/FirmwareTrackAssignmentDetails.md +++ /dev/null @@ -1,14 +0,0 @@ -# FirmwareTrackAssignmentDetails - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**equipment_type** | [**EquipmentType**](EquipmentType.md) | | [optional] -**model_id** | **str** | equipment model | [optional] -**version_name** | **str** | | [optional] -**description** | **str** | | [optional] -**commit** | **str** | commit number for the firmware image, from the source control system | [optional] -**release_date** | **int** | release date of the firmware image, in ms epoch time | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/FirmwareTrackAssignmentRecord.md b/libs/cloudapi/cloudsdk/docs/FirmwareTrackAssignmentRecord.md deleted file mode 100644 index 7d7da16c0..000000000 --- a/libs/cloudapi/cloudsdk/docs/FirmwareTrackAssignmentRecord.md +++ /dev/null @@ -1,14 +0,0 @@ -# FirmwareTrackAssignmentRecord - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**track_record_id** | **int** | | [optional] -**firmware_version_record_id** | **int** | | [optional] -**default_revision_for_track** | **bool** | | [optional] [default to False] -**deprecated** | **bool** | | [optional] [default to False] -**created_timestamp** | **int** | | [optional] -**last_modified_timestamp** | **int** | must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/FirmwareTrackRecord.md b/libs/cloudapi/cloudsdk/docs/FirmwareTrackRecord.md deleted file mode 100644 index 01caa0a6d..000000000 --- a/libs/cloudapi/cloudsdk/docs/FirmwareTrackRecord.md +++ /dev/null @@ -1,13 +0,0 @@ -# FirmwareTrackRecord - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**record_id** | **int** | | [optional] -**track_name** | **str** | | [optional] -**maintenance_window** | [**FirmwareScheduleSetting**](FirmwareScheduleSetting.md) | | [optional] -**created_timestamp** | **int** | | [optional] -**last_modified_timestamp** | **int** | must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/FirmwareValidationMethod.md b/libs/cloudapi/cloudsdk/docs/FirmwareValidationMethod.md deleted file mode 100644 index 2d0146a72..000000000 --- a/libs/cloudapi/cloudsdk/docs/FirmwareValidationMethod.md +++ /dev/null @@ -1,8 +0,0 @@ -# FirmwareValidationMethod - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/FirmwareVersion.md b/libs/cloudapi/cloudsdk/docs/FirmwareVersion.md deleted file mode 100644 index 6b76a80da..000000000 --- a/libs/cloudapi/cloudsdk/docs/FirmwareVersion.md +++ /dev/null @@ -1,20 +0,0 @@ -# FirmwareVersion - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **int** | | [optional] -**equipment_type** | [**EquipmentType**](EquipmentType.md) | | [optional] -**model_id** | **str** | equipment model | [optional] -**version_name** | **str** | | [optional] -**description** | **str** | | [optional] -**filename** | **str** | | [optional] -**commit** | **str** | commit number for the firmware image, from the source control system | [optional] -**validation_method** | [**FirmwareValidationMethod**](FirmwareValidationMethod.md) | | [optional] -**validation_code** | **str** | firmware digest code, depending on validation method - MD5, etc. | [optional] -**release_date** | **int** | release date of the firmware image, in ms epoch time | [optional] -**created_timestamp** | **int** | | [optional] -**last_modified_timestamp** | **int** | must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/GatewayAddedEvent.md b/libs/cloudapi/cloudsdk/docs/GatewayAddedEvent.md deleted file mode 100644 index 8165e8a90..000000000 --- a/libs/cloudapi/cloudsdk/docs/GatewayAddedEvent.md +++ /dev/null @@ -1,11 +0,0 @@ -# GatewayAddedEvent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**event_timestamp** | **int** | | [optional] -**gateway** | [**EquipmentGatewayRecord**](EquipmentGatewayRecord.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/GatewayChangedEvent.md b/libs/cloudapi/cloudsdk/docs/GatewayChangedEvent.md deleted file mode 100644 index f16ba18bb..000000000 --- a/libs/cloudapi/cloudsdk/docs/GatewayChangedEvent.md +++ /dev/null @@ -1,11 +0,0 @@ -# GatewayChangedEvent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**event_timestamp** | **int** | | [optional] -**gateway** | [**EquipmentGatewayRecord**](EquipmentGatewayRecord.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/GatewayRemovedEvent.md b/libs/cloudapi/cloudsdk/docs/GatewayRemovedEvent.md deleted file mode 100644 index 67533be09..000000000 --- a/libs/cloudapi/cloudsdk/docs/GatewayRemovedEvent.md +++ /dev/null @@ -1,11 +0,0 @@ -# GatewayRemovedEvent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**event_timestamp** | **int** | | [optional] -**gateway** | [**EquipmentGatewayRecord**](EquipmentGatewayRecord.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/GatewayType.md b/libs/cloudapi/cloudsdk/docs/GatewayType.md deleted file mode 100644 index db42b3b7d..000000000 --- a/libs/cloudapi/cloudsdk/docs/GatewayType.md +++ /dev/null @@ -1,8 +0,0 @@ -# GatewayType - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/GenericResponse.md b/libs/cloudapi/cloudsdk/docs/GenericResponse.md deleted file mode 100644 index 387e718ed..000000000 --- a/libs/cloudapi/cloudsdk/docs/GenericResponse.md +++ /dev/null @@ -1,10 +0,0 @@ -# GenericResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**message** | **str** | | [optional] -**success** | **bool** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/GreTunnelConfiguration.md b/libs/cloudapi/cloudsdk/docs/GreTunnelConfiguration.md deleted file mode 100644 index 3e6be55ff..000000000 --- a/libs/cloudapi/cloudsdk/docs/GreTunnelConfiguration.md +++ /dev/null @@ -1,11 +0,0 @@ -# GreTunnelConfiguration - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**gre_tunnel_name** | **str** | | [optional] -**gre_remote_inet_addr** | **str** | | [optional] -**vlan_ids_in_gre_tunnel** | **list[int]** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/GuardInterval.md b/libs/cloudapi/cloudsdk/docs/GuardInterval.md deleted file mode 100644 index 7f2ca8b98..000000000 --- a/libs/cloudapi/cloudsdk/docs/GuardInterval.md +++ /dev/null @@ -1,8 +0,0 @@ -# GuardInterval - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/IntegerPerRadioTypeMap.md b/libs/cloudapi/cloudsdk/docs/IntegerPerRadioTypeMap.md deleted file mode 100644 index d38237bf6..000000000 --- a/libs/cloudapi/cloudsdk/docs/IntegerPerRadioTypeMap.md +++ /dev/null @@ -1,12 +0,0 @@ -# IntegerPerRadioTypeMap - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**is5_g_hz** | **int** | | [optional] -**is5_g_hz_u** | **int** | | [optional] -**is5_g_hz_l** | **int** | | [optional] -**is2dot4_g_hz** | **int** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/IntegerPerStatusCodeMap.md b/libs/cloudapi/cloudsdk/docs/IntegerPerStatusCodeMap.md deleted file mode 100644 index d5abceb84..000000000 --- a/libs/cloudapi/cloudsdk/docs/IntegerPerStatusCodeMap.md +++ /dev/null @@ -1,12 +0,0 @@ -# IntegerPerStatusCodeMap - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**normal** | **int** | | [optional] -**requires_attention** | **int** | | [optional] -**error** | **int** | | [optional] -**disabled** | **int** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/IntegerStatusCodeMap.md b/libs/cloudapi/cloudsdk/docs/IntegerStatusCodeMap.md deleted file mode 100644 index 4472dbc16..000000000 --- a/libs/cloudapi/cloudsdk/docs/IntegerStatusCodeMap.md +++ /dev/null @@ -1,12 +0,0 @@ -# IntegerStatusCodeMap - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**normal** | **int** | | [optional] -**requires_attention** | **int** | | [optional] -**error** | **int** | | [optional] -**disabled** | **int** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/IntegerValueMap.md b/libs/cloudapi/cloudsdk/docs/IntegerValueMap.md deleted file mode 100644 index dc650a56e..000000000 --- a/libs/cloudapi/cloudsdk/docs/IntegerValueMap.md +++ /dev/null @@ -1,8 +0,0 @@ -# IntegerValueMap - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/JsonSerializedException.md b/libs/cloudapi/cloudsdk/docs/JsonSerializedException.md deleted file mode 100644 index 4bd609781..000000000 --- a/libs/cloudapi/cloudsdk/docs/JsonSerializedException.md +++ /dev/null @@ -1,12 +0,0 @@ -# JsonSerializedException - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ex_type** | **str** | | [optional] -**error** | **str** | error message | [optional] -**path** | **str** | API path with parameters that produced the exception | [optional] -**timestamp** | **int** | time stamp of when the exception was generated | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/LinkQualityAggregatedStats.md b/libs/cloudapi/cloudsdk/docs/LinkQualityAggregatedStats.md deleted file mode 100644 index 9ca20a04f..000000000 --- a/libs/cloudapi/cloudsdk/docs/LinkQualityAggregatedStats.md +++ /dev/null @@ -1,12 +0,0 @@ -# LinkQualityAggregatedStats - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**snr** | [**MinMaxAvgValueInt**](MinMaxAvgValueInt.md) | | [optional] -**bad_client_count** | **int** | | [optional] -**average_client_count** | **int** | | [optional] -**good_client_count** | **int** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/LinkQualityAggregatedStatsPerRadioTypeMap.md b/libs/cloudapi/cloudsdk/docs/LinkQualityAggregatedStatsPerRadioTypeMap.md deleted file mode 100644 index 023e13332..000000000 --- a/libs/cloudapi/cloudsdk/docs/LinkQualityAggregatedStatsPerRadioTypeMap.md +++ /dev/null @@ -1,12 +0,0 @@ -# LinkQualityAggregatedStatsPerRadioTypeMap - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**is5_g_hz** | [**LinkQualityAggregatedStats**](LinkQualityAggregatedStats.md) | | [optional] -**is5_g_hz_u** | [**LinkQualityAggregatedStats**](LinkQualityAggregatedStats.md) | | [optional] -**is5_g_hz_l** | [**LinkQualityAggregatedStats**](LinkQualityAggregatedStats.md) | | [optional] -**is2dot4_g_hz** | [**LinkQualityAggregatedStats**](LinkQualityAggregatedStats.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ListOfChannelInfoReportsPerRadioMap.md b/libs/cloudapi/cloudsdk/docs/ListOfChannelInfoReportsPerRadioMap.md deleted file mode 100644 index e46f3d74c..000000000 --- a/libs/cloudapi/cloudsdk/docs/ListOfChannelInfoReportsPerRadioMap.md +++ /dev/null @@ -1,12 +0,0 @@ -# ListOfChannelInfoReportsPerRadioMap - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**is5_g_hz** | [**list[ChannelInfo]**](ChannelInfo.md) | | [optional] -**is5_g_hz_u** | [**list[ChannelInfo]**](ChannelInfo.md) | | [optional] -**is5_g_hz_l** | [**list[ChannelInfo]**](ChannelInfo.md) | | [optional] -**is2dot4_g_hz** | [**list[ChannelInfo]**](ChannelInfo.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ListOfMacsPerRadioMap.md b/libs/cloudapi/cloudsdk/docs/ListOfMacsPerRadioMap.md deleted file mode 100644 index d28509793..000000000 --- a/libs/cloudapi/cloudsdk/docs/ListOfMacsPerRadioMap.md +++ /dev/null @@ -1,12 +0,0 @@ -# ListOfMacsPerRadioMap - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**is5_g_hz** | [**list[MacAddress]**](MacAddress.md) | | [optional] -**is5_g_hz_u** | [**list[MacAddress]**](MacAddress.md) | | [optional] -**is5_g_hz_l** | [**list[MacAddress]**](MacAddress.md) | | [optional] -**is2dot4_g_hz** | [**list[MacAddress]**](MacAddress.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ListOfMcsStatsPerRadioMap.md b/libs/cloudapi/cloudsdk/docs/ListOfMcsStatsPerRadioMap.md deleted file mode 100644 index cee0a2209..000000000 --- a/libs/cloudapi/cloudsdk/docs/ListOfMcsStatsPerRadioMap.md +++ /dev/null @@ -1,12 +0,0 @@ -# ListOfMcsStatsPerRadioMap - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**is5_g_hz** | [**list[McsStats]**](McsStats.md) | | [optional] -**is5_g_hz_u** | [**list[McsStats]**](McsStats.md) | | [optional] -**is5_g_hz_l** | [**list[McsStats]**](McsStats.md) | | [optional] -**is2dot4_g_hz** | [**list[McsStats]**](McsStats.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ListOfRadioUtilizationPerRadioMap.md b/libs/cloudapi/cloudsdk/docs/ListOfRadioUtilizationPerRadioMap.md deleted file mode 100644 index 8d3713d25..000000000 --- a/libs/cloudapi/cloudsdk/docs/ListOfRadioUtilizationPerRadioMap.md +++ /dev/null @@ -1,12 +0,0 @@ -# ListOfRadioUtilizationPerRadioMap - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**is5_g_hz** | [**list[RadioUtilization]**](RadioUtilization.md) | | [optional] -**is5_g_hz_u** | [**list[RadioUtilization]**](RadioUtilization.md) | | [optional] -**is5_g_hz_l** | [**list[RadioUtilization]**](RadioUtilization.md) | | [optional] -**is2dot4_g_hz** | [**list[RadioUtilization]**](RadioUtilization.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ListOfSsidStatisticsPerRadioMap.md b/libs/cloudapi/cloudsdk/docs/ListOfSsidStatisticsPerRadioMap.md deleted file mode 100644 index 259af0aea..000000000 --- a/libs/cloudapi/cloudsdk/docs/ListOfSsidStatisticsPerRadioMap.md +++ /dev/null @@ -1,12 +0,0 @@ -# ListOfSsidStatisticsPerRadioMap - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**is5_g_hz** | [**list[SsidStatistics]**](SsidStatistics.md) | | [optional] -**is5_g_hz_u** | [**list[SsidStatistics]**](SsidStatistics.md) | | [optional] -**is5_g_hz_l** | [**list[SsidStatistics]**](SsidStatistics.md) | | [optional] -**is2dot4_g_hz** | [**list[SsidStatistics]**](SsidStatistics.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/LocalTimeValue.md b/libs/cloudapi/cloudsdk/docs/LocalTimeValue.md deleted file mode 100644 index 032b4c61b..000000000 --- a/libs/cloudapi/cloudsdk/docs/LocalTimeValue.md +++ /dev/null @@ -1,10 +0,0 @@ -# LocalTimeValue - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**hour** | **int** | | [optional] -**minute** | **int** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/Location.md b/libs/cloudapi/cloudsdk/docs/Location.md deleted file mode 100644 index 908fa9e3f..000000000 --- a/libs/cloudapi/cloudsdk/docs/Location.md +++ /dev/null @@ -1,16 +0,0 @@ -# Location - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **int** | | [optional] -**location_type** | **str** | | [optional] -**customer_id** | **int** | | [optional] -**name** | **str** | | [optional] -**parent_id** | **int** | | [optional] -**details** | [**LocationDetails**](LocationDetails.md) | | [optional] -**created_timestamp** | **int** | | [optional] -**last_modified_timestamp** | **int** | must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/LocationActivityDetails.md b/libs/cloudapi/cloudsdk/docs/LocationActivityDetails.md deleted file mode 100644 index 2eb1fe55d..000000000 --- a/libs/cloudapi/cloudsdk/docs/LocationActivityDetails.md +++ /dev/null @@ -1,12 +0,0 @@ -# LocationActivityDetails - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**busy_time** | **str** | | [optional] -**quiet_time** | **str** | | [optional] -**timezone** | **str** | | [optional] -**last_busy_snapshot** | **int** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/LocationActivityDetailsMap.md b/libs/cloudapi/cloudsdk/docs/LocationActivityDetailsMap.md deleted file mode 100644 index e3c631c65..000000000 --- a/libs/cloudapi/cloudsdk/docs/LocationActivityDetailsMap.md +++ /dev/null @@ -1,15 +0,0 @@ -# LocationActivityDetailsMap - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**sunday** | [**LocationActivityDetails**](LocationActivityDetails.md) | | [optional] -**monday** | [**LocationActivityDetails**](LocationActivityDetails.md) | | [optional] -**tuesday** | [**LocationActivityDetails**](LocationActivityDetails.md) | | [optional] -**wednesday** | [**LocationActivityDetails**](LocationActivityDetails.md) | | [optional] -**thursday** | [**LocationActivityDetails**](LocationActivityDetails.md) | | [optional] -**friday** | [**LocationActivityDetails**](LocationActivityDetails.md) | | [optional] -**saturday** | [**LocationActivityDetails**](LocationActivityDetails.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/LocationAddedEvent.md b/libs/cloudapi/cloudsdk/docs/LocationAddedEvent.md deleted file mode 100644 index 4393e29ff..000000000 --- a/libs/cloudapi/cloudsdk/docs/LocationAddedEvent.md +++ /dev/null @@ -1,12 +0,0 @@ -# LocationAddedEvent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**event_timestamp** | **int** | | [optional] -**customer_id** | **int** | | [optional] -**payload** | [**Location**](Location.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/LocationApi.md b/libs/cloudapi/cloudsdk/docs/LocationApi.md deleted file mode 100644 index af9eeae8b..000000000 --- a/libs/cloudapi/cloudsdk/docs/LocationApi.md +++ /dev/null @@ -1,299 +0,0 @@ -# swagger_client.LocationApi - -All URIs are relative to *https://localhost:9091* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**create_location**](LocationApi.md#create_location) | **POST** /portal/location | Create new Location -[**delete_location**](LocationApi.md#delete_location) | **DELETE** /portal/location | Delete Location -[**get_location_by_id**](LocationApi.md#get_location_by_id) | **GET** /portal/location | Get Location By Id -[**get_location_by_set_of_ids**](LocationApi.md#get_location_by_set_of_ids) | **GET** /portal/location/inSet | Get Locations By a set of ids -[**get_locations_by_customer_id**](LocationApi.md#get_locations_by_customer_id) | **GET** /portal/location/forCustomer | Get Locations By customerId -[**update_location**](LocationApi.md#update_location) | **PUT** /portal/location | Update Location - -# **create_location** -> Location create_location(body) - -Create new Location - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.LocationApi(swagger_client.ApiClient(configuration)) -body = swagger_client.Location() # Location | location info - -try: - # Create new Location - api_response = api_instance.create_location(body) - pprint(api_response) -except ApiException as e: - print("Exception when calling LocationApi->create_location: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**Location**](Location.md)| location info | - -### Return type - -[**Location**](Location.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_location** -> Location delete_location(location_id) - -Delete Location - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.LocationApi(swagger_client.ApiClient(configuration)) -location_id = 789 # int | location id - -try: - # Delete Location - api_response = api_instance.delete_location(location_id) - pprint(api_response) -except ApiException as e: - print("Exception when calling LocationApi->delete_location: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **location_id** | **int**| location id | - -### Return type - -[**Location**](Location.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_location_by_id** -> Location get_location_by_id(location_id) - -Get Location By Id - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.LocationApi(swagger_client.ApiClient(configuration)) -location_id = 789 # int | location id - -try: - # Get Location By Id - api_response = api_instance.get_location_by_id(location_id) - pprint(api_response) -except ApiException as e: - print("Exception when calling LocationApi->get_location_by_id: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **location_id** | **int**| location id | - -### Return type - -[**Location**](Location.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_location_by_set_of_ids** -> list[Location] get_location_by_set_of_ids(location_id_set) - -Get Locations By a set of ids - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.LocationApi(swagger_client.ApiClient(configuration)) -location_id_set = [56] # list[int] | set of location ids - -try: - # Get Locations By a set of ids - api_response = api_instance.get_location_by_set_of_ids(location_id_set) - pprint(api_response) -except ApiException as e: - print("Exception when calling LocationApi->get_location_by_set_of_ids: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **location_id_set** | [**list[int]**](int.md)| set of location ids | - -### Return type - -[**list[Location]**](Location.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_locations_by_customer_id** -> PaginationResponseLocation get_locations_by_customer_id(customer_id, pagination_context, sort_by=sort_by) - -Get Locations By customerId - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.LocationApi(swagger_client.ApiClient(configuration)) -customer_id = 789 # int | customer id -pagination_context = swagger_client.PaginationContextLocation() # PaginationContextLocation | pagination context -sort_by = [swagger_client.SortColumnsLocation()] # list[SortColumnsLocation] | sort options (optional) - -try: - # Get Locations By customerId - api_response = api_instance.get_locations_by_customer_id(customer_id, pagination_context, sort_by=sort_by) - pprint(api_response) -except ApiException as e: - print("Exception when calling LocationApi->get_locations_by_customer_id: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **customer_id** | **int**| customer id | - **pagination_context** | [**PaginationContextLocation**](.md)| pagination context | - **sort_by** | [**list[SortColumnsLocation]**](SortColumnsLocation.md)| sort options | [optional] - -### Return type - -[**PaginationResponseLocation**](PaginationResponseLocation.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **update_location** -> Location update_location(body) - -Update Location - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.LocationApi(swagger_client.ApiClient(configuration)) -body = swagger_client.Location() # Location | location info - -try: - # Update Location - api_response = api_instance.update_location(body) - pprint(api_response) -except ApiException as e: - print("Exception when calling LocationApi->update_location: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**Location**](Location.md)| location info | - -### Return type - -[**Location**](Location.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/LocationChangedEvent.md b/libs/cloudapi/cloudsdk/docs/LocationChangedEvent.md deleted file mode 100644 index e401239b1..000000000 --- a/libs/cloudapi/cloudsdk/docs/LocationChangedEvent.md +++ /dev/null @@ -1,12 +0,0 @@ -# LocationChangedEvent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**event_timestamp** | **int** | | [optional] -**customer_id** | **int** | | [optional] -**payload** | [**Location**](Location.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/LocationDetails.md b/libs/cloudapi/cloudsdk/docs/LocationDetails.md deleted file mode 100644 index adcf56f3c..000000000 --- a/libs/cloudapi/cloudsdk/docs/LocationDetails.md +++ /dev/null @@ -1,13 +0,0 @@ -# LocationDetails - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | [optional] -**country_code** | [**CountryCode**](CountryCode.md) | | [optional] -**daily_activity_details** | [**LocationActivityDetailsMap**](LocationActivityDetailsMap.md) | | [optional] -**maintenance_window** | [**DaysOfWeekTimeRangeSchedule**](DaysOfWeekTimeRangeSchedule.md) | | [optional] -**rrm_enabled** | **bool** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/LocationRemovedEvent.md b/libs/cloudapi/cloudsdk/docs/LocationRemovedEvent.md deleted file mode 100644 index 58e5d2393..000000000 --- a/libs/cloudapi/cloudsdk/docs/LocationRemovedEvent.md +++ /dev/null @@ -1,12 +0,0 @@ -# LocationRemovedEvent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**event_timestamp** | **int** | | [optional] -**customer_id** | **int** | | [optional] -**payload** | [**Location**](Location.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/LoginApi.md b/libs/cloudapi/cloudsdk/docs/LoginApi.md deleted file mode 100644 index 19e6703de..000000000 --- a/libs/cloudapi/cloudsdk/docs/LoginApi.md +++ /dev/null @@ -1,99 +0,0 @@ -# swagger_client.LoginApi - -All URIs are relative to *https://localhost:9091* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**get_access_token**](LoginApi.md#get_access_token) | **POST** /management/v1/oauth2/token | Get access token - to be used as Bearer token header for all other API requests. -[**portal_ping**](LoginApi.md#portal_ping) | **GET** /ping | Portal proces version info. - -# **get_access_token** -> WebTokenResult get_access_token(body) - -Get access token - to be used as Bearer token header for all other API requests. - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.LoginApi(swagger_client.ApiClient(configuration)) -body = swagger_client.WebTokenRequest() # WebTokenRequest | User id and password - -try: - # Get access token - to be used as Bearer token header for all other API requests. - api_response = api_instance.get_access_token(body) - pprint(api_response) -except ApiException as e: - print("Exception when calling LoginApi->get_access_token: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**WebTokenRequest**](WebTokenRequest.md)| User id and password | - -### Return type - -[**WebTokenResult**](WebTokenResult.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **portal_ping** -> PingResponse portal_ping() - -Portal proces version info. - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.LoginApi(swagger_client.ApiClient(configuration)) - -try: - # Portal proces version info. - api_response = api_instance.portal_ping() - pprint(api_response) -except ApiException as e: - print("Exception when calling LoginApi->portal_ping: %s\n" % e) -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**PingResponse**](PingResponse.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/LongPerRadioTypeMap.md b/libs/cloudapi/cloudsdk/docs/LongPerRadioTypeMap.md deleted file mode 100644 index 2b0c391b3..000000000 --- a/libs/cloudapi/cloudsdk/docs/LongPerRadioTypeMap.md +++ /dev/null @@ -1,12 +0,0 @@ -# LongPerRadioTypeMap - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**is5_g_hz** | **int** | | [optional] -**is5_g_hz_u** | **int** | | [optional] -**is5_g_hz_l** | **int** | | [optional] -**is2dot4_g_hz** | **int** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/LongValueMap.md b/libs/cloudapi/cloudsdk/docs/LongValueMap.md deleted file mode 100644 index 297bbe782..000000000 --- a/libs/cloudapi/cloudsdk/docs/LongValueMap.md +++ /dev/null @@ -1,8 +0,0 @@ -# LongValueMap - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/MacAddress.md b/libs/cloudapi/cloudsdk/docs/MacAddress.md deleted file mode 100644 index 030704d25..000000000 --- a/libs/cloudapi/cloudsdk/docs/MacAddress.md +++ /dev/null @@ -1,10 +0,0 @@ -# MacAddress - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | [optional] -**address_as_string** | **str** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/MacAllowlistRecord.md b/libs/cloudapi/cloudsdk/docs/MacAllowlistRecord.md deleted file mode 100644 index 02b5cac1b..000000000 --- a/libs/cloudapi/cloudsdk/docs/MacAllowlistRecord.md +++ /dev/null @@ -1,11 +0,0 @@ -# MacAllowlistRecord - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**mac_address** | [**MacAddress**](MacAddress.md) | | [optional] -**notes** | **str** | | [optional] -**last_modified_timestamp** | **int** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ManagedFileInfo.md b/libs/cloudapi/cloudsdk/docs/ManagedFileInfo.md deleted file mode 100644 index b63455d85..000000000 --- a/libs/cloudapi/cloudsdk/docs/ManagedFileInfo.md +++ /dev/null @@ -1,14 +0,0 @@ -# ManagedFileInfo - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**md5checksum** | **list[int]** | | [optional] -**last_modified_timestamp** | **int** | | [optional] -**ap_export_url** | **str** | | [optional] -**file_category** | [**FileCategory**](FileCategory.md) | | [optional] -**file_type** | [**FileType**](FileType.md) | | [optional] -**alt_slot** | **bool** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ManagementRate.md b/libs/cloudapi/cloudsdk/docs/ManagementRate.md deleted file mode 100644 index 56672c03c..000000000 --- a/libs/cloudapi/cloudsdk/docs/ManagementRate.md +++ /dev/null @@ -1,8 +0,0 @@ -# ManagementRate - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ManufacturerDetailsRecord.md b/libs/cloudapi/cloudsdk/docs/ManufacturerDetailsRecord.md deleted file mode 100644 index 63ca477d7..000000000 --- a/libs/cloudapi/cloudsdk/docs/ManufacturerDetailsRecord.md +++ /dev/null @@ -1,13 +0,0 @@ -# ManufacturerDetailsRecord - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **int** | | [optional] -**manufacturer_name** | **str** | | [optional] -**manufacturer_alias** | **str** | | [optional] -**created_timestamp** | **int** | | [optional] -**last_modified_timestamp** | **int** | must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ManufacturerOUIApi.md b/libs/cloudapi/cloudsdk/docs/ManufacturerOUIApi.md deleted file mode 100644 index c3ec6a153..000000000 --- a/libs/cloudapi/cloudsdk/docs/ManufacturerOUIApi.md +++ /dev/null @@ -1,683 +0,0 @@ -# swagger_client.ManufacturerOUIApi - -All URIs are relative to *https://localhost:9091* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**create_manufacturer_details_record**](ManufacturerOUIApi.md#create_manufacturer_details_record) | **POST** /portal/manufacturer | Create new ManufacturerDetailsRecord -[**create_manufacturer_oui_details**](ManufacturerOUIApi.md#create_manufacturer_oui_details) | **POST** /portal/manufacturer/oui | Create new ManufacturerOuiDetails -[**delete_manufacturer_details_record**](ManufacturerOUIApi.md#delete_manufacturer_details_record) | **DELETE** /portal/manufacturer | Delete ManufacturerDetailsRecord -[**delete_manufacturer_oui_details**](ManufacturerOUIApi.md#delete_manufacturer_oui_details) | **DELETE** /portal/manufacturer/oui | Delete ManufacturerOuiDetails -[**get_alias_values_that_begin_with**](ManufacturerOUIApi.md#get_alias_values_that_begin_with) | **GET** /portal/manufacturer/oui/alias | Get manufacturer aliases that begin with the given prefix -[**get_all_manufacturer_oui_details**](ManufacturerOUIApi.md#get_all_manufacturer_oui_details) | **GET** /portal/manufacturer/oui/all | Get all ManufacturerOuiDetails -[**get_manufacturer_details_for_oui_list**](ManufacturerOUIApi.md#get_manufacturer_details_for_oui_list) | **GET** /portal/manufacturer/oui/list | Get ManufacturerOuiDetails for the list of OUIs -[**get_manufacturer_details_record**](ManufacturerOUIApi.md#get_manufacturer_details_record) | **GET** /portal/manufacturer | Get ManufacturerDetailsRecord By id -[**get_manufacturer_oui_details_by_oui**](ManufacturerOUIApi.md#get_manufacturer_oui_details_by_oui) | **GET** /portal/manufacturer/oui | Get ManufacturerOuiDetails By oui -[**get_oui_list_for_manufacturer**](ManufacturerOUIApi.md#get_oui_list_for_manufacturer) | **GET** /portal/manufacturer/oui/forManufacturer | Get Oui List for manufacturer -[**update_manufacturer_details_record**](ManufacturerOUIApi.md#update_manufacturer_details_record) | **PUT** /portal/manufacturer | Update ManufacturerDetailsRecord -[**update_oui_alias**](ManufacturerOUIApi.md#update_oui_alias) | **PUT** /portal/manufacturer/oui/alias | Update alias for ManufacturerOuiDetails -[**upload_oui_data_file**](ManufacturerOUIApi.md#upload_oui_data_file) | **POST** /portal/manufacturer/oui/upload | Upload the gziped OUI DataFile, in the format that is published by IEEE. Latest sanitized IEEE OUI data file (oui.txt.gz) can be obtained from https://linuxnet.ca/ieee/oui/ -[**upload_oui_data_file_base64**](ManufacturerOUIApi.md#upload_oui_data_file_base64) | **POST** /portal/manufacturer/oui/upload/base64 | Upload the gziped OUI DataFile using base64 encoding, in the format that is published by IEEE. Latest sanitized IEEE OUI data file (oui.txt.gz) can be obtained from https://linuxnet.ca/ieee/oui/ - -# **create_manufacturer_details_record** -> ManufacturerDetailsRecord create_manufacturer_details_record(body) - -Create new ManufacturerDetailsRecord - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.ManufacturerOUIApi(swagger_client.ApiClient(configuration)) -body = swagger_client.ManufacturerDetailsRecord() # ManufacturerDetailsRecord | ManufacturerDetailsRecord info - -try: - # Create new ManufacturerDetailsRecord - api_response = api_instance.create_manufacturer_details_record(body) - pprint(api_response) -except ApiException as e: - print("Exception when calling ManufacturerOUIApi->create_manufacturer_details_record: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**ManufacturerDetailsRecord**](ManufacturerDetailsRecord.md)| ManufacturerDetailsRecord info | - -### Return type - -[**ManufacturerDetailsRecord**](ManufacturerDetailsRecord.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_manufacturer_oui_details** -> ManufacturerOuiDetails create_manufacturer_oui_details(body) - -Create new ManufacturerOuiDetails - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.ManufacturerOUIApi(swagger_client.ApiClient(configuration)) -body = swagger_client.ManufacturerOuiDetails() # ManufacturerOuiDetails | ManufacturerOuiDetails info - -try: - # Create new ManufacturerOuiDetails - api_response = api_instance.create_manufacturer_oui_details(body) - pprint(api_response) -except ApiException as e: - print("Exception when calling ManufacturerOUIApi->create_manufacturer_oui_details: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**ManufacturerOuiDetails**](ManufacturerOuiDetails.md)| ManufacturerOuiDetails info | - -### Return type - -[**ManufacturerOuiDetails**](ManufacturerOuiDetails.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_manufacturer_details_record** -> ManufacturerDetailsRecord delete_manufacturer_details_record(id) - -Delete ManufacturerDetailsRecord - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.ManufacturerOUIApi(swagger_client.ApiClient(configuration)) -id = 789 # int | ManufacturerDetailsRecord id - -try: - # Delete ManufacturerDetailsRecord - api_response = api_instance.delete_manufacturer_details_record(id) - pprint(api_response) -except ApiException as e: - print("Exception when calling ManufacturerOUIApi->delete_manufacturer_details_record: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **int**| ManufacturerDetailsRecord id | - -### Return type - -[**ManufacturerDetailsRecord**](ManufacturerDetailsRecord.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_manufacturer_oui_details** -> ManufacturerOuiDetails delete_manufacturer_oui_details(oui) - -Delete ManufacturerOuiDetails - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.ManufacturerOUIApi(swagger_client.ApiClient(configuration)) -oui = 'oui_example' # str | ManufacturerOuiDetails oui - -try: - # Delete ManufacturerOuiDetails - api_response = api_instance.delete_manufacturer_oui_details(oui) - pprint(api_response) -except ApiException as e: - print("Exception when calling ManufacturerOUIApi->delete_manufacturer_oui_details: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **oui** | **str**| ManufacturerOuiDetails oui | - -### Return type - -[**ManufacturerOuiDetails**](ManufacturerOuiDetails.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_alias_values_that_begin_with** -> list[str] get_alias_values_that_begin_with(prefix, max_results) - -Get manufacturer aliases that begin with the given prefix - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.ManufacturerOUIApi(swagger_client.ApiClient(configuration)) -prefix = 'prefix_example' # str | prefix for the manufacturer alias -max_results = -1 # int | max results to return, use -1 for no limit (default to -1) - -try: - # Get manufacturer aliases that begin with the given prefix - api_response = api_instance.get_alias_values_that_begin_with(prefix, max_results) - pprint(api_response) -except ApiException as e: - print("Exception when calling ManufacturerOUIApi->get_alias_values_that_begin_with: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **prefix** | **str**| prefix for the manufacturer alias | - **max_results** | **int**| max results to return, use -1 for no limit | [default to -1] - -### Return type - -**list[str]** - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_all_manufacturer_oui_details** -> list[ManufacturerOuiDetails] get_all_manufacturer_oui_details() - -Get all ManufacturerOuiDetails - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.ManufacturerOUIApi(swagger_client.ApiClient(configuration)) - -try: - # Get all ManufacturerOuiDetails - api_response = api_instance.get_all_manufacturer_oui_details() - pprint(api_response) -except ApiException as e: - print("Exception when calling ManufacturerOUIApi->get_all_manufacturer_oui_details: %s\n" % e) -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**list[ManufacturerOuiDetails]**](ManufacturerOuiDetails.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_manufacturer_details_for_oui_list** -> ManufacturerOuiDetailsPerOuiMap get_manufacturer_details_for_oui_list(oui_list) - -Get ManufacturerOuiDetails for the list of OUIs - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.ManufacturerOUIApi(swagger_client.ApiClient(configuration)) -oui_list = ['oui_list_example'] # list[str] | - -try: - # Get ManufacturerOuiDetails for the list of OUIs - api_response = api_instance.get_manufacturer_details_for_oui_list(oui_list) - pprint(api_response) -except ApiException as e: - print("Exception when calling ManufacturerOUIApi->get_manufacturer_details_for_oui_list: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **oui_list** | [**list[str]**](str.md)| | - -### Return type - -[**ManufacturerOuiDetailsPerOuiMap**](ManufacturerOuiDetailsPerOuiMap.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_manufacturer_details_record** -> ManufacturerDetailsRecord get_manufacturer_details_record(id) - -Get ManufacturerDetailsRecord By id - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.ManufacturerOUIApi(swagger_client.ApiClient(configuration)) -id = 789 # int | ManufacturerDetailsRecord id - -try: - # Get ManufacturerDetailsRecord By id - api_response = api_instance.get_manufacturer_details_record(id) - pprint(api_response) -except ApiException as e: - print("Exception when calling ManufacturerOUIApi->get_manufacturer_details_record: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **int**| ManufacturerDetailsRecord id | - -### Return type - -[**ManufacturerDetailsRecord**](ManufacturerDetailsRecord.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_manufacturer_oui_details_by_oui** -> ManufacturerOuiDetails get_manufacturer_oui_details_by_oui(oui) - -Get ManufacturerOuiDetails By oui - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.ManufacturerOUIApi(swagger_client.ApiClient(configuration)) -oui = 'oui_example' # str | ManufacturerOuiDetails oui - -try: - # Get ManufacturerOuiDetails By oui - api_response = api_instance.get_manufacturer_oui_details_by_oui(oui) - pprint(api_response) -except ApiException as e: - print("Exception when calling ManufacturerOUIApi->get_manufacturer_oui_details_by_oui: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **oui** | **str**| ManufacturerOuiDetails oui | - -### Return type - -[**ManufacturerOuiDetails**](ManufacturerOuiDetails.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_oui_list_for_manufacturer** -> list[str] get_oui_list_for_manufacturer(manufacturer, exact_match) - -Get Oui List for manufacturer - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.ManufacturerOUIApi(swagger_client.ApiClient(configuration)) -manufacturer = 'manufacturer_example' # str | Manufacturer name or alias -exact_match = true # bool | Perform exact match (true) or prefix match (false) for the manufacturer name or alias - -try: - # Get Oui List for manufacturer - api_response = api_instance.get_oui_list_for_manufacturer(manufacturer, exact_match) - pprint(api_response) -except ApiException as e: - print("Exception when calling ManufacturerOUIApi->get_oui_list_for_manufacturer: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **manufacturer** | **str**| Manufacturer name or alias | - **exact_match** | **bool**| Perform exact match (true) or prefix match (false) for the manufacturer name or alias | - -### Return type - -**list[str]** - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **update_manufacturer_details_record** -> ManufacturerDetailsRecord update_manufacturer_details_record(body) - -Update ManufacturerDetailsRecord - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.ManufacturerOUIApi(swagger_client.ApiClient(configuration)) -body = swagger_client.ManufacturerDetailsRecord() # ManufacturerDetailsRecord | ManufacturerDetailsRecord info - -try: - # Update ManufacturerDetailsRecord - api_response = api_instance.update_manufacturer_details_record(body) - pprint(api_response) -except ApiException as e: - print("Exception when calling ManufacturerOUIApi->update_manufacturer_details_record: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**ManufacturerDetailsRecord**](ManufacturerDetailsRecord.md)| ManufacturerDetailsRecord info | - -### Return type - -[**ManufacturerDetailsRecord**](ManufacturerDetailsRecord.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **update_oui_alias** -> ManufacturerOuiDetails update_oui_alias(body) - -Update alias for ManufacturerOuiDetails - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.ManufacturerOUIApi(swagger_client.ApiClient(configuration)) -body = swagger_client.ManufacturerOuiDetails() # ManufacturerOuiDetails | ManufacturerOuiDetails info - -try: - # Update alias for ManufacturerOuiDetails - api_response = api_instance.update_oui_alias(body) - pprint(api_response) -except ApiException as e: - print("Exception when calling ManufacturerOUIApi->update_oui_alias: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**ManufacturerOuiDetails**](ManufacturerOuiDetails.md)| ManufacturerOuiDetails info | - -### Return type - -[**ManufacturerOuiDetails**](ManufacturerOuiDetails.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **upload_oui_data_file** -> GenericResponse upload_oui_data_file(body, file_name) - -Upload the gziped OUI DataFile, in the format that is published by IEEE. Latest sanitized IEEE OUI data file (oui.txt.gz) can be obtained from https://linuxnet.ca/ieee/oui/ - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.ManufacturerOUIApi(swagger_client.ApiClient(configuration)) -body = swagger_client.Object() # Object | Contents of gziped OUI DataFile, raw -file_name = 'file_name_example' # str | file name that is being uploaded - -try: - # Upload the gziped OUI DataFile, in the format that is published by IEEE. Latest sanitized IEEE OUI data file (oui.txt.gz) can be obtained from https://linuxnet.ca/ieee/oui/ - api_response = api_instance.upload_oui_data_file(body, file_name) - pprint(api_response) -except ApiException as e: - print("Exception when calling ManufacturerOUIApi->upload_oui_data_file: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | **Object**| Contents of gziped OUI DataFile, raw | - **file_name** | **str**| file name that is being uploaded | - -### Return type - -[**GenericResponse**](GenericResponse.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: application/octet-stream - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **upload_oui_data_file_base64** -> GenericResponse upload_oui_data_file_base64(body, file_name) - -Upload the gziped OUI DataFile using base64 encoding, in the format that is published by IEEE. Latest sanitized IEEE OUI data file (oui.txt.gz) can be obtained from https://linuxnet.ca/ieee/oui/ - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.ManufacturerOUIApi(swagger_client.ApiClient(configuration)) -body = 'body_example' # str | Contents of gziped OUI DataFile, base64-encoded -file_name = 'file_name_example' # str | file name that is being uploaded - -try: - # Upload the gziped OUI DataFile using base64 encoding, in the format that is published by IEEE. Latest sanitized IEEE OUI data file (oui.txt.gz) can be obtained from https://linuxnet.ca/ieee/oui/ - api_response = api_instance.upload_oui_data_file_base64(body, file_name) - pprint(api_response) -except ApiException as e: - print("Exception when calling ManufacturerOUIApi->upload_oui_data_file_base64: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**str**](str.md)| Contents of gziped OUI DataFile, base64-encoded | - **file_name** | **str**| file name that is being uploaded | - -### Return type - -[**GenericResponse**](GenericResponse.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: application/octet-stream - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ManufacturerOuiDetails.md b/libs/cloudapi/cloudsdk/docs/ManufacturerOuiDetails.md deleted file mode 100644 index 2fe570dc3..000000000 --- a/libs/cloudapi/cloudsdk/docs/ManufacturerOuiDetails.md +++ /dev/null @@ -1,11 +0,0 @@ -# ManufacturerOuiDetails - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**oui** | **str** | first 3 bytes of MAC address, expressed as a string like '1a2b3c' | [optional] -**manufacturer_name** | **str** | | [optional] -**manufacturer_alias** | **str** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ManufacturerOuiDetailsPerOuiMap.md b/libs/cloudapi/cloudsdk/docs/ManufacturerOuiDetailsPerOuiMap.md deleted file mode 100644 index cecee8717..000000000 --- a/libs/cloudapi/cloudsdk/docs/ManufacturerOuiDetailsPerOuiMap.md +++ /dev/null @@ -1,8 +0,0 @@ -# ManufacturerOuiDetailsPerOuiMap - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/MapOfWmmQueueStatsPerRadioMap.md b/libs/cloudapi/cloudsdk/docs/MapOfWmmQueueStatsPerRadioMap.md deleted file mode 100644 index 02b2d7ab4..000000000 --- a/libs/cloudapi/cloudsdk/docs/MapOfWmmQueueStatsPerRadioMap.md +++ /dev/null @@ -1,12 +0,0 @@ -# MapOfWmmQueueStatsPerRadioMap - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**is5_g_hz** | [**WmmQueueStatsPerQueueTypeMap**](WmmQueueStatsPerQueueTypeMap.md) | | [optional] -**is5_g_hz_u** | [**WmmQueueStatsPerQueueTypeMap**](WmmQueueStatsPerQueueTypeMap.md) | | [optional] -**is5_g_hz_l** | [**WmmQueueStatsPerQueueTypeMap**](WmmQueueStatsPerQueueTypeMap.md) | | [optional] -**is2dot4_g_hz** | [**WmmQueueStatsPerQueueTypeMap**](WmmQueueStatsPerQueueTypeMap.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/McsStats.md b/libs/cloudapi/cloudsdk/docs/McsStats.md deleted file mode 100644 index 379736de7..000000000 --- a/libs/cloudapi/cloudsdk/docs/McsStats.md +++ /dev/null @@ -1,12 +0,0 @@ -# McsStats - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**mcs_num** | [**McsType**](McsType.md) | | [optional] -**tx_frames** | **int** | The number of successfully transmitted frames at this rate. Do not count failed transmission. | [optional] -**rx_frames** | **int** | The number of received frames at this rate. | [optional] -**rate** | **int** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/McsType.md b/libs/cloudapi/cloudsdk/docs/McsType.md deleted file mode 100644 index 720a9cee4..000000000 --- a/libs/cloudapi/cloudsdk/docs/McsType.md +++ /dev/null @@ -1,8 +0,0 @@ -# McsType - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/MeshGroup.md b/libs/cloudapi/cloudsdk/docs/MeshGroup.md deleted file mode 100644 index f934cf066..000000000 --- a/libs/cloudapi/cloudsdk/docs/MeshGroup.md +++ /dev/null @@ -1,11 +0,0 @@ -# MeshGroup - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | [optional] -**_property** | [**MeshGroupProperty**](MeshGroupProperty.md) | | [optional] -**members** | [**list[MeshGroupMember]**](MeshGroupMember.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/MeshGroupMember.md b/libs/cloudapi/cloudsdk/docs/MeshGroupMember.md deleted file mode 100644 index cbb815241..000000000 --- a/libs/cloudapi/cloudsdk/docs/MeshGroupMember.md +++ /dev/null @@ -1,12 +0,0 @@ -# MeshGroupMember - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**mash_mode** | [**ApMeshMode**](ApMeshMode.md) | | [optional] -**equipment_id** | **int** | | [optional] -**created_timestamp** | **int** | | [optional] -**last_modified_timestamp** | **int** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/MeshGroupProperty.md b/libs/cloudapi/cloudsdk/docs/MeshGroupProperty.md deleted file mode 100644 index c4940f982..000000000 --- a/libs/cloudapi/cloudsdk/docs/MeshGroupProperty.md +++ /dev/null @@ -1,11 +0,0 @@ -# MeshGroupProperty - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **str** | | [optional] -**location_id** | **int** | | [optional] -**ethernet_protection** | **bool** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/MetricConfigParameterMap.md b/libs/cloudapi/cloudsdk/docs/MetricConfigParameterMap.md deleted file mode 100644 index e48d3dae9..000000000 --- a/libs/cloudapi/cloudsdk/docs/MetricConfigParameterMap.md +++ /dev/null @@ -1,15 +0,0 @@ -# MetricConfigParameterMap - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ap_node** | [**ServiceMetricSurveyConfigParameters**](ServiceMetricSurveyConfigParameters.md) | | [optional] -**ap_ssid** | [**ServiceMetricRadioConfigParameters**](ServiceMetricRadioConfigParameters.md) | | [optional] -**client** | [**ServiceMetricRadioConfigParameters**](ServiceMetricRadioConfigParameters.md) | | [optional] -**channel** | [**ServiceMetricSurveyConfigParameters**](ServiceMetricSurveyConfigParameters.md) | | [optional] -**neighbour** | [**ServiceMetricSurveyConfigParameters**](ServiceMetricSurveyConfigParameters.md) | | [optional] -**qo_e** | [**ServiceMetricConfigParameters**](ServiceMetricConfigParameters.md) | | [optional] -**client_qo_e** | [**ServiceMetricConfigParameters**](ServiceMetricConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/MimoMode.md b/libs/cloudapi/cloudsdk/docs/MimoMode.md deleted file mode 100644 index 1535a28bc..000000000 --- a/libs/cloudapi/cloudsdk/docs/MimoMode.md +++ /dev/null @@ -1,8 +0,0 @@ -# MimoMode - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/MinMaxAvgValueInt.md b/libs/cloudapi/cloudsdk/docs/MinMaxAvgValueInt.md deleted file mode 100644 index bcfead25e..000000000 --- a/libs/cloudapi/cloudsdk/docs/MinMaxAvgValueInt.md +++ /dev/null @@ -1,11 +0,0 @@ -# MinMaxAvgValueInt - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**min_value** | **int** | | [optional] -**max_value** | **int** | | [optional] -**avg_value** | **int** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/MinMaxAvgValueIntPerRadioMap.md b/libs/cloudapi/cloudsdk/docs/MinMaxAvgValueIntPerRadioMap.md deleted file mode 100644 index a712e4b7c..000000000 --- a/libs/cloudapi/cloudsdk/docs/MinMaxAvgValueIntPerRadioMap.md +++ /dev/null @@ -1,12 +0,0 @@ -# MinMaxAvgValueIntPerRadioMap - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**is5_g_hz** | [**MinMaxAvgValueInt**](MinMaxAvgValueInt.md) | | [optional] -**is5_g_hz_u** | [**MinMaxAvgValueInt**](MinMaxAvgValueInt.md) | | [optional] -**is5_g_hz_l** | [**MinMaxAvgValueInt**](MinMaxAvgValueInt.md) | | [optional] -**is2dot4_g_hz** | [**MinMaxAvgValueInt**](MinMaxAvgValueInt.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/MulticastRate.md b/libs/cloudapi/cloudsdk/docs/MulticastRate.md deleted file mode 100644 index 5e8118dd9..000000000 --- a/libs/cloudapi/cloudsdk/docs/MulticastRate.md +++ /dev/null @@ -1,8 +0,0 @@ -# MulticastRate - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/NeighborScanPacketType.md b/libs/cloudapi/cloudsdk/docs/NeighborScanPacketType.md deleted file mode 100644 index c0c24f371..000000000 --- a/libs/cloudapi/cloudsdk/docs/NeighborScanPacketType.md +++ /dev/null @@ -1,8 +0,0 @@ -# NeighborScanPacketType - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/NeighbourReport.md b/libs/cloudapi/cloudsdk/docs/NeighbourReport.md deleted file mode 100644 index e250234a3..000000000 --- a/libs/cloudapi/cloudsdk/docs/NeighbourReport.md +++ /dev/null @@ -1,24 +0,0 @@ -# NeighbourReport - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**mac_address** | [**MacAddress**](MacAddress.md) | | [optional] -**ssid** | **str** | | [optional] -**beacon_interval** | **int** | | [optional] -**network_type** | [**NetworkType**](NetworkType.md) | | [optional] -**privacy** | **bool** | | [optional] -**radio_type_radio_type** | [**RadioType**](RadioType.md) | | [optional] -**channel** | **int** | | [optional] -**rate** | **int** | | [optional] -**rssi** | **int** | | [optional] -**signal** | **int** | | [optional] -**scan_time_in_seconds** | **int** | | [optional] -**n_mode** | **bool** | | [optional] -**ac_mode** | **bool** | | [optional] -**b_mode** | **bool** | | [optional] -**packet_type** | [**NeighborScanPacketType**](NeighborScanPacketType.md) | | [optional] -**secure_mode** | [**DetectedAuthMode**](DetectedAuthMode.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/NeighbourScanReports.md b/libs/cloudapi/cloudsdk/docs/NeighbourScanReports.md deleted file mode 100644 index 178cb044d..000000000 --- a/libs/cloudapi/cloudsdk/docs/NeighbourScanReports.md +++ /dev/null @@ -1,10 +0,0 @@ -# NeighbourScanReports - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**neighbour_reports** | [**list[NeighbourReport]**](NeighbourReport.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/NeighbouringAPListConfiguration.md b/libs/cloudapi/cloudsdk/docs/NeighbouringAPListConfiguration.md deleted file mode 100644 index 721d610e1..000000000 --- a/libs/cloudapi/cloudsdk/docs/NeighbouringAPListConfiguration.md +++ /dev/null @@ -1,10 +0,0 @@ -# NeighbouringAPListConfiguration - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**min_signal** | **int** | | [optional] -**max_aps** | **int** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/NetworkAdminStatusData.md b/libs/cloudapi/cloudsdk/docs/NetworkAdminStatusData.md deleted file mode 100644 index 4d124be71..000000000 --- a/libs/cloudapi/cloudsdk/docs/NetworkAdminStatusData.md +++ /dev/null @@ -1,16 +0,0 @@ -# NetworkAdminStatusData - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**status_data_type** | **str** | | [optional] -**dhcp_status** | [**StatusCode**](StatusCode.md) | | [optional] -**dns_status** | [**StatusCode**](StatusCode.md) | | [optional] -**cloud_link_status** | [**StatusCode**](StatusCode.md) | | [optional] -**radius_status** | [**StatusCode**](StatusCode.md) | | [optional] -**average_coverage_per_radio** | [**IntegerPerRadioTypeMap**](IntegerPerRadioTypeMap.md) | | [optional] -**equipment_counts_by_severity** | [**IntegerStatusCodeMap**](IntegerStatusCodeMap.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/NetworkAggregateStatusData.md b/libs/cloudapi/cloudsdk/docs/NetworkAggregateStatusData.md deleted file mode 100644 index caa01c456..000000000 --- a/libs/cloudapi/cloudsdk/docs/NetworkAggregateStatusData.md +++ /dev/null @@ -1,32 +0,0 @@ -# NetworkAggregateStatusData - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**status_data_type** | **str** | | [optional] -**dhcp_details** | [**CommonProbeDetails**](CommonProbeDetails.md) | | [optional] -**dns_details** | [**CommonProbeDetails**](CommonProbeDetails.md) | | [optional] -**cloud_link_details** | [**CommonProbeDetails**](CommonProbeDetails.md) | | [optional] -**noise_floor_details** | [**NoiseFloorDetails**](NoiseFloorDetails.md) | | [optional] -**channel_utilization_details** | [**ChannelUtilizationDetails**](ChannelUtilizationDetails.md) | | [optional] -**radio_utilization_details** | [**RadioUtilizationDetails**](RadioUtilizationDetails.md) | | [optional] -**user_details** | [**UserDetails**](UserDetails.md) | | [optional] -**traffic_details** | [**TrafficDetails**](TrafficDetails.md) | | [optional] -**radius_details** | [**RadiusDetails**](RadiusDetails.md) | | [optional] -**equipment_performance_details** | [**EquipmentPerformanceDetails**](EquipmentPerformanceDetails.md) | | [optional] -**capacity_details** | [**CapacityDetails**](CapacityDetails.md) | | [optional] -**number_of_reporting_equipment** | **int** | | [optional] -**number_of_total_equipment** | **int** | | [optional] -**begin_generation_ts_ms** | **int** | | [optional] -**end_generation_ts_ms** | **int** | | [optional] -**begin_aggregation_ts_ms** | **int** | | [optional] -**end_aggregation_ts_ms** | **int** | | [optional] -**num_metrics_aggregated** | **int** | | [optional] -**coverage** | **int** | | [optional] -**behavior** | **int** | | [optional] -**handoff** | **int** | | [optional] -**wlan_latency** | **int** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/NetworkForwardMode.md b/libs/cloudapi/cloudsdk/docs/NetworkForwardMode.md deleted file mode 100644 index 0de47f727..000000000 --- a/libs/cloudapi/cloudsdk/docs/NetworkForwardMode.md +++ /dev/null @@ -1,8 +0,0 @@ -# NetworkForwardMode - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/NetworkProbeMetrics.md b/libs/cloudapi/cloudsdk/docs/NetworkProbeMetrics.md deleted file mode 100644 index 0da0e7469..000000000 --- a/libs/cloudapi/cloudsdk/docs/NetworkProbeMetrics.md +++ /dev/null @@ -1,16 +0,0 @@ -# NetworkProbeMetrics - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**vlan_if** | **str** | | [optional] -**dhcp_state** | [**StateUpDownError**](StateUpDownError.md) | | [optional] -**dhcp_latency_ms** | **int** | | [optional] -**dns_state** | [**StateUpDownError**](StateUpDownError.md) | | [optional] -**dns_latency_ms** | **int** | | [optional] -**radius_state** | [**StateUpDownError**](StateUpDownError.md) | | [optional] -**radius_latency_ms** | **int** | | [optional] -**dns_probe_results** | [**list[DnsProbeMetric]**](DnsProbeMetric.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/NetworkType.md b/libs/cloudapi/cloudsdk/docs/NetworkType.md deleted file mode 100644 index 80bd44289..000000000 --- a/libs/cloudapi/cloudsdk/docs/NetworkType.md +++ /dev/null @@ -1,8 +0,0 @@ -# NetworkType - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/NoiseFloorDetails.md b/libs/cloudapi/cloudsdk/docs/NoiseFloorDetails.md deleted file mode 100644 index 79cf4c6c2..000000000 --- a/libs/cloudapi/cloudsdk/docs/NoiseFloorDetails.md +++ /dev/null @@ -1,10 +0,0 @@ -# NoiseFloorDetails - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**per_radio_details** | [**NoiseFloorPerRadioDetailsMap**](NoiseFloorPerRadioDetailsMap.md) | | [optional] -**indicator_value** | **int** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/NoiseFloorPerRadioDetails.md b/libs/cloudapi/cloudsdk/docs/NoiseFloorPerRadioDetails.md deleted file mode 100644 index ca58b9c50..000000000 --- a/libs/cloudapi/cloudsdk/docs/NoiseFloorPerRadioDetails.md +++ /dev/null @@ -1,12 +0,0 @@ -# NoiseFloorPerRadioDetails - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**noise_floor** | [**MinMaxAvgValueInt**](MinMaxAvgValueInt.md) | | [optional] -**num_good_equipment** | **int** | | [optional] -**num_warn_equipment** | **int** | | [optional] -**num_bad_equipment** | **int** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/NoiseFloorPerRadioDetailsMap.md b/libs/cloudapi/cloudsdk/docs/NoiseFloorPerRadioDetailsMap.md deleted file mode 100644 index af831b6c2..000000000 --- a/libs/cloudapi/cloudsdk/docs/NoiseFloorPerRadioDetailsMap.md +++ /dev/null @@ -1,12 +0,0 @@ -# NoiseFloorPerRadioDetailsMap - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**is5_g_hz** | [**NoiseFloorPerRadioDetails**](NoiseFloorPerRadioDetails.md) | | [optional] -**is5_g_hz_u** | [**NoiseFloorPerRadioDetails**](NoiseFloorPerRadioDetails.md) | | [optional] -**is5_g_hz_l** | [**NoiseFloorPerRadioDetails**](NoiseFloorPerRadioDetails.md) | | [optional] -**is2dot4_g_hz** | [**NoiseFloorPerRadioDetails**](NoiseFloorPerRadioDetails.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ObssHopMode.md b/libs/cloudapi/cloudsdk/docs/ObssHopMode.md deleted file mode 100644 index fffac8c5a..000000000 --- a/libs/cloudapi/cloudsdk/docs/ObssHopMode.md +++ /dev/null @@ -1,8 +0,0 @@ -# ObssHopMode - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/OneOfEquipmentDetails.md b/libs/cloudapi/cloudsdk/docs/OneOfEquipmentDetails.md deleted file mode 100644 index e400e571a..000000000 --- a/libs/cloudapi/cloudsdk/docs/OneOfEquipmentDetails.md +++ /dev/null @@ -1,8 +0,0 @@ -# OneOfEquipmentDetails - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/OneOfFirmwareScheduleSetting.md b/libs/cloudapi/cloudsdk/docs/OneOfFirmwareScheduleSetting.md deleted file mode 100644 index 0a6b5efd7..000000000 --- a/libs/cloudapi/cloudsdk/docs/OneOfFirmwareScheduleSetting.md +++ /dev/null @@ -1,8 +0,0 @@ -# OneOfFirmwareScheduleSetting - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/OneOfProfileDetailsChildren.md b/libs/cloudapi/cloudsdk/docs/OneOfProfileDetailsChildren.md deleted file mode 100644 index 24f6bc62a..000000000 --- a/libs/cloudapi/cloudsdk/docs/OneOfProfileDetailsChildren.md +++ /dev/null @@ -1,8 +0,0 @@ -# OneOfProfileDetailsChildren - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/OneOfScheduleSetting.md b/libs/cloudapi/cloudsdk/docs/OneOfScheduleSetting.md deleted file mode 100644 index d3c7cc965..000000000 --- a/libs/cloudapi/cloudsdk/docs/OneOfScheduleSetting.md +++ /dev/null @@ -1,8 +0,0 @@ -# OneOfScheduleSetting - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/OneOfServiceMetricDetails.md b/libs/cloudapi/cloudsdk/docs/OneOfServiceMetricDetails.md deleted file mode 100644 index a0d3edede..000000000 --- a/libs/cloudapi/cloudsdk/docs/OneOfServiceMetricDetails.md +++ /dev/null @@ -1,8 +0,0 @@ -# OneOfServiceMetricDetails - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/OneOfStatusDetails.md b/libs/cloudapi/cloudsdk/docs/OneOfStatusDetails.md deleted file mode 100644 index 5589722df..000000000 --- a/libs/cloudapi/cloudsdk/docs/OneOfStatusDetails.md +++ /dev/null @@ -1,8 +0,0 @@ -# OneOfStatusDetails - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/OneOfSystemEvent.md b/libs/cloudapi/cloudsdk/docs/OneOfSystemEvent.md deleted file mode 100644 index d56d770b9..000000000 --- a/libs/cloudapi/cloudsdk/docs/OneOfSystemEvent.md +++ /dev/null @@ -1,8 +0,0 @@ -# OneOfSystemEvent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/OperatingSystemPerformance.md b/libs/cloudapi/cloudsdk/docs/OperatingSystemPerformance.md deleted file mode 100644 index 46f916bd5..000000000 --- a/libs/cloudapi/cloudsdk/docs/OperatingSystemPerformance.md +++ /dev/null @@ -1,17 +0,0 @@ -# OperatingSystemPerformance - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**status_data_type** | **str** | | [optional] -**num_cami_crashes** | **int** | | [optional] -**uptime_in_seconds** | **int** | | [optional] -**avg_cpu_utilization** | **float** | | [optional] -**avg_cpu_per_core** | **list[float]** | | [optional] -**avg_free_memory_kb** | **int** | | [optional] -**total_available_memory_kb** | **int** | | [optional] -**avg_cpu_temperature** | **float** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/OriginatorType.md b/libs/cloudapi/cloudsdk/docs/OriginatorType.md deleted file mode 100644 index 33abf55b8..000000000 --- a/libs/cloudapi/cloudsdk/docs/OriginatorType.md +++ /dev/null @@ -1,8 +0,0 @@ -# OriginatorType - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/PaginationContextAlarm.md b/libs/cloudapi/cloudsdk/docs/PaginationContextAlarm.md deleted file mode 100644 index 9adca6d3c..000000000 --- a/libs/cloudapi/cloudsdk/docs/PaginationContextAlarm.md +++ /dev/null @@ -1,14 +0,0 @@ -# PaginationContextAlarm - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | [optional] -**max_items_per_page** | **int** | | [default to 20] -**last_returned_page_number** | **int** | | [optional] -**total_items_returned** | **int** | | [optional] -**last_page** | **bool** | | [optional] -**cursor** | **str** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/PaginationContextClient.md b/libs/cloudapi/cloudsdk/docs/PaginationContextClient.md deleted file mode 100644 index b94a1baaa..000000000 --- a/libs/cloudapi/cloudsdk/docs/PaginationContextClient.md +++ /dev/null @@ -1,14 +0,0 @@ -# PaginationContextClient - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | [optional] -**max_items_per_page** | **int** | | [default to 20] -**last_returned_page_number** | **int** | | [optional] -**total_items_returned** | **int** | | [optional] -**last_page** | **bool** | | [optional] -**cursor** | **str** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/PaginationContextClientSession.md b/libs/cloudapi/cloudsdk/docs/PaginationContextClientSession.md deleted file mode 100644 index 69b96c6eb..000000000 --- a/libs/cloudapi/cloudsdk/docs/PaginationContextClientSession.md +++ /dev/null @@ -1,14 +0,0 @@ -# PaginationContextClientSession - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | [optional] -**max_items_per_page** | **int** | | [default to 20] -**last_returned_page_number** | **int** | | [optional] -**total_items_returned** | **int** | | [optional] -**last_page** | **bool** | | [optional] -**cursor** | **str** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/PaginationContextEquipment.md b/libs/cloudapi/cloudsdk/docs/PaginationContextEquipment.md deleted file mode 100644 index f2b6b521c..000000000 --- a/libs/cloudapi/cloudsdk/docs/PaginationContextEquipment.md +++ /dev/null @@ -1,14 +0,0 @@ -# PaginationContextEquipment - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | [optional] -**max_items_per_page** | **int** | | [default to 20] -**last_returned_page_number** | **int** | | [optional] -**total_items_returned** | **int** | | [optional] -**last_page** | **bool** | | [optional] -**cursor** | **str** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/PaginationContextLocation.md b/libs/cloudapi/cloudsdk/docs/PaginationContextLocation.md deleted file mode 100644 index f2d1b9201..000000000 --- a/libs/cloudapi/cloudsdk/docs/PaginationContextLocation.md +++ /dev/null @@ -1,14 +0,0 @@ -# PaginationContextLocation - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | [optional] -**max_items_per_page** | **int** | | [default to 20] -**last_returned_page_number** | **int** | | [optional] -**total_items_returned** | **int** | | [optional] -**last_page** | **bool** | | [optional] -**cursor** | **str** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/PaginationContextPortalUser.md b/libs/cloudapi/cloudsdk/docs/PaginationContextPortalUser.md deleted file mode 100644 index 3909e9102..000000000 --- a/libs/cloudapi/cloudsdk/docs/PaginationContextPortalUser.md +++ /dev/null @@ -1,14 +0,0 @@ -# PaginationContextPortalUser - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | [optional] -**max_items_per_page** | **int** | | [default to 20] -**last_returned_page_number** | **int** | | [optional] -**total_items_returned** | **int** | | [optional] -**last_page** | **bool** | | [optional] -**cursor** | **str** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/PaginationContextProfile.md b/libs/cloudapi/cloudsdk/docs/PaginationContextProfile.md deleted file mode 100644 index 1ed8948c1..000000000 --- a/libs/cloudapi/cloudsdk/docs/PaginationContextProfile.md +++ /dev/null @@ -1,14 +0,0 @@ -# PaginationContextProfile - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | [optional] -**max_items_per_page** | **int** | | [default to 20] -**last_returned_page_number** | **int** | | [optional] -**total_items_returned** | **int** | | [optional] -**last_page** | **bool** | | [optional] -**cursor** | **str** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/PaginationContextServiceMetric.md b/libs/cloudapi/cloudsdk/docs/PaginationContextServiceMetric.md deleted file mode 100644 index 9dbde3cde..000000000 --- a/libs/cloudapi/cloudsdk/docs/PaginationContextServiceMetric.md +++ /dev/null @@ -1,14 +0,0 @@ -# PaginationContextServiceMetric - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | [optional] -**max_items_per_page** | **int** | | [default to 20] -**last_returned_page_number** | **int** | | [optional] -**total_items_returned** | **int** | | [optional] -**last_page** | **bool** | | [optional] -**cursor** | **str** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/PaginationContextStatus.md b/libs/cloudapi/cloudsdk/docs/PaginationContextStatus.md deleted file mode 100644 index a4816f730..000000000 --- a/libs/cloudapi/cloudsdk/docs/PaginationContextStatus.md +++ /dev/null @@ -1,14 +0,0 @@ -# PaginationContextStatus - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | [optional] -**max_items_per_page** | **int** | | [default to 20] -**last_returned_page_number** | **int** | | [optional] -**total_items_returned** | **int** | | [optional] -**last_page** | **bool** | | [optional] -**cursor** | **str** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/PaginationContextSystemEvent.md b/libs/cloudapi/cloudsdk/docs/PaginationContextSystemEvent.md deleted file mode 100644 index 252fd968b..000000000 --- a/libs/cloudapi/cloudsdk/docs/PaginationContextSystemEvent.md +++ /dev/null @@ -1,14 +0,0 @@ -# PaginationContextSystemEvent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | [optional] -**max_items_per_page** | **int** | | [default to 20] -**last_returned_page_number** | **int** | | [optional] -**total_items_returned** | **int** | | [optional] -**last_page** | **bool** | | [optional] -**cursor** | **str** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/PaginationResponseAlarm.md b/libs/cloudapi/cloudsdk/docs/PaginationResponseAlarm.md deleted file mode 100644 index cc554b4d1..000000000 --- a/libs/cloudapi/cloudsdk/docs/PaginationResponseAlarm.md +++ /dev/null @@ -1,10 +0,0 @@ -# PaginationResponseAlarm - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**items** | [**list[Alarm]**](Alarm.md) | | [optional] -**context** | [**PaginationContextAlarm**](PaginationContextAlarm.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/PaginationResponseClient.md b/libs/cloudapi/cloudsdk/docs/PaginationResponseClient.md deleted file mode 100644 index 73afc24cb..000000000 --- a/libs/cloudapi/cloudsdk/docs/PaginationResponseClient.md +++ /dev/null @@ -1,10 +0,0 @@ -# PaginationResponseClient - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**items** | [**list[Client]**](Client.md) | | [optional] -**context** | [**PaginationContextClient**](PaginationContextClient.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/PaginationResponseClientSession.md b/libs/cloudapi/cloudsdk/docs/PaginationResponseClientSession.md deleted file mode 100644 index 78c4962d3..000000000 --- a/libs/cloudapi/cloudsdk/docs/PaginationResponseClientSession.md +++ /dev/null @@ -1,10 +0,0 @@ -# PaginationResponseClientSession - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**items** | [**list[ClientSession]**](ClientSession.md) | | [optional] -**context** | [**PaginationContextClientSession**](PaginationContextClientSession.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/PaginationResponseEquipment.md b/libs/cloudapi/cloudsdk/docs/PaginationResponseEquipment.md deleted file mode 100644 index f81056802..000000000 --- a/libs/cloudapi/cloudsdk/docs/PaginationResponseEquipment.md +++ /dev/null @@ -1,10 +0,0 @@ -# PaginationResponseEquipment - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**items** | [**list[Equipment]**](Equipment.md) | | [optional] -**context** | [**PaginationContextEquipment**](PaginationContextEquipment.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/PaginationResponseLocation.md b/libs/cloudapi/cloudsdk/docs/PaginationResponseLocation.md deleted file mode 100644 index e18726737..000000000 --- a/libs/cloudapi/cloudsdk/docs/PaginationResponseLocation.md +++ /dev/null @@ -1,10 +0,0 @@ -# PaginationResponseLocation - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**items** | [**list[Location]**](Location.md) | | [optional] -**context** | [**PaginationContextLocation**](PaginationContextLocation.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/PaginationResponsePortalUser.md b/libs/cloudapi/cloudsdk/docs/PaginationResponsePortalUser.md deleted file mode 100644 index e210c2cc1..000000000 --- a/libs/cloudapi/cloudsdk/docs/PaginationResponsePortalUser.md +++ /dev/null @@ -1,10 +0,0 @@ -# PaginationResponsePortalUser - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**items** | [**list[PortalUser]**](PortalUser.md) | | [optional] -**context** | [**PaginationContextPortalUser**](PaginationContextPortalUser.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/PaginationResponseProfile.md b/libs/cloudapi/cloudsdk/docs/PaginationResponseProfile.md deleted file mode 100644 index 5b66efba2..000000000 --- a/libs/cloudapi/cloudsdk/docs/PaginationResponseProfile.md +++ /dev/null @@ -1,10 +0,0 @@ -# PaginationResponseProfile - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**items** | [**list[Profile]**](Profile.md) | | [optional] -**context** | [**PaginationContextProfile**](PaginationContextProfile.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/PaginationResponseServiceMetric.md b/libs/cloudapi/cloudsdk/docs/PaginationResponseServiceMetric.md deleted file mode 100644 index b7f3acdfa..000000000 --- a/libs/cloudapi/cloudsdk/docs/PaginationResponseServiceMetric.md +++ /dev/null @@ -1,10 +0,0 @@ -# PaginationResponseServiceMetric - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**items** | [**list[ServiceMetric]**](ServiceMetric.md) | | [optional] -**context** | [**PaginationContextServiceMetric**](PaginationContextServiceMetric.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/PaginationResponseStatus.md b/libs/cloudapi/cloudsdk/docs/PaginationResponseStatus.md deleted file mode 100644 index ccc305080..000000000 --- a/libs/cloudapi/cloudsdk/docs/PaginationResponseStatus.md +++ /dev/null @@ -1,10 +0,0 @@ -# PaginationResponseStatus - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**items** | [**list[Status]**](Status.md) | | [optional] -**context** | [**PaginationContextStatus**](PaginationContextStatus.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/PaginationResponseSystemEvent.md b/libs/cloudapi/cloudsdk/docs/PaginationResponseSystemEvent.md deleted file mode 100644 index a33c24c7c..000000000 --- a/libs/cloudapi/cloudsdk/docs/PaginationResponseSystemEvent.md +++ /dev/null @@ -1,10 +0,0 @@ -# PaginationResponseSystemEvent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**items** | [**list[SystemEventRecord]**](SystemEventRecord.md) | | [optional] -**context** | [**PaginationContextSystemEvent**](PaginationContextSystemEvent.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/PairLongLong.md b/libs/cloudapi/cloudsdk/docs/PairLongLong.md deleted file mode 100644 index b0389f490..000000000 --- a/libs/cloudapi/cloudsdk/docs/PairLongLong.md +++ /dev/null @@ -1,10 +0,0 @@ -# PairLongLong - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**value1** | **int** | | [optional] -**value2** | **int** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/PasspointAccessNetworkType.md b/libs/cloudapi/cloudsdk/docs/PasspointAccessNetworkType.md deleted file mode 100644 index 6bb68f45b..000000000 --- a/libs/cloudapi/cloudsdk/docs/PasspointAccessNetworkType.md +++ /dev/null @@ -1,8 +0,0 @@ -# PasspointAccessNetworkType - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/PasspointConnectionCapabilitiesIpProtocol.md b/libs/cloudapi/cloudsdk/docs/PasspointConnectionCapabilitiesIpProtocol.md deleted file mode 100644 index 68ec6718c..000000000 --- a/libs/cloudapi/cloudsdk/docs/PasspointConnectionCapabilitiesIpProtocol.md +++ /dev/null @@ -1,8 +0,0 @@ -# PasspointConnectionCapabilitiesIpProtocol - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/PasspointConnectionCapabilitiesStatus.md b/libs/cloudapi/cloudsdk/docs/PasspointConnectionCapabilitiesStatus.md deleted file mode 100644 index 719c71bb4..000000000 --- a/libs/cloudapi/cloudsdk/docs/PasspointConnectionCapabilitiesStatus.md +++ /dev/null @@ -1,8 +0,0 @@ -# PasspointConnectionCapabilitiesStatus - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/PasspointConnectionCapability.md b/libs/cloudapi/cloudsdk/docs/PasspointConnectionCapability.md deleted file mode 100644 index 63310d8db..000000000 --- a/libs/cloudapi/cloudsdk/docs/PasspointConnectionCapability.md +++ /dev/null @@ -1,11 +0,0 @@ -# PasspointConnectionCapability - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**connection_capabilities_port_number** | **int** | | [optional] -**connection_capabilities_ip_protocol** | [**PasspointConnectionCapabilitiesIpProtocol**](PasspointConnectionCapabilitiesIpProtocol.md) | | [optional] -**connection_capabilities_status** | [**PasspointConnectionCapabilitiesStatus**](PasspointConnectionCapabilitiesStatus.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/PasspointDuple.md b/libs/cloudapi/cloudsdk/docs/PasspointDuple.md deleted file mode 100644 index 62ad66d30..000000000 --- a/libs/cloudapi/cloudsdk/docs/PasspointDuple.md +++ /dev/null @@ -1,12 +0,0 @@ -# PasspointDuple - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**locale** | **str** | The locale for this duple. | [optional] -**duple_iso3_language** | **str** | 3 letter iso language representation based on locale | [optional] -**duple_name** | **str** | | [optional] -**default_duple_separator** | **str** | default separator between the values of a duple, by default it is a ':' | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/PasspointEapMethods.md b/libs/cloudapi/cloudsdk/docs/PasspointEapMethods.md deleted file mode 100644 index a708b17aa..000000000 --- a/libs/cloudapi/cloudsdk/docs/PasspointEapMethods.md +++ /dev/null @@ -1,8 +0,0 @@ -# PasspointEapMethods - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/PasspointGasAddress3Behaviour.md b/libs/cloudapi/cloudsdk/docs/PasspointGasAddress3Behaviour.md deleted file mode 100644 index 24f49e58d..000000000 --- a/libs/cloudapi/cloudsdk/docs/PasspointGasAddress3Behaviour.md +++ /dev/null @@ -1,8 +0,0 @@ -# PasspointGasAddress3Behaviour - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/PasspointIPv4AddressType.md b/libs/cloudapi/cloudsdk/docs/PasspointIPv4AddressType.md deleted file mode 100644 index 6bb8c7f30..000000000 --- a/libs/cloudapi/cloudsdk/docs/PasspointIPv4AddressType.md +++ /dev/null @@ -1,8 +0,0 @@ -# PasspointIPv4AddressType - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/PasspointIPv6AddressType.md b/libs/cloudapi/cloudsdk/docs/PasspointIPv6AddressType.md deleted file mode 100644 index 3c54b6af1..000000000 --- a/libs/cloudapi/cloudsdk/docs/PasspointIPv6AddressType.md +++ /dev/null @@ -1,8 +0,0 @@ -# PasspointIPv6AddressType - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/PasspointMccMnc.md b/libs/cloudapi/cloudsdk/docs/PasspointMccMnc.md deleted file mode 100644 index fc238a8e7..000000000 --- a/libs/cloudapi/cloudsdk/docs/PasspointMccMnc.md +++ /dev/null @@ -1,14 +0,0 @@ -# PasspointMccMnc - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**mcc** | **int** | | [optional] -**mnc** | **int** | | [optional] -**iso** | **str** | | [optional] -**country** | **str** | | [optional] -**country_code** | **int** | | [optional] -**network** | **str** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/PasspointNaiRealmEapAuthInnerNonEap.md b/libs/cloudapi/cloudsdk/docs/PasspointNaiRealmEapAuthInnerNonEap.md deleted file mode 100644 index f807b6ecd..000000000 --- a/libs/cloudapi/cloudsdk/docs/PasspointNaiRealmEapAuthInnerNonEap.md +++ /dev/null @@ -1,8 +0,0 @@ -# PasspointNaiRealmEapAuthInnerNonEap - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/PasspointNaiRealmEapAuthParam.md b/libs/cloudapi/cloudsdk/docs/PasspointNaiRealmEapAuthParam.md deleted file mode 100644 index 6d6f5b54b..000000000 --- a/libs/cloudapi/cloudsdk/docs/PasspointNaiRealmEapAuthParam.md +++ /dev/null @@ -1,8 +0,0 @@ -# PasspointNaiRealmEapAuthParam - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/PasspointNaiRealmEapCredType.md b/libs/cloudapi/cloudsdk/docs/PasspointNaiRealmEapCredType.md deleted file mode 100644 index 08ab79918..000000000 --- a/libs/cloudapi/cloudsdk/docs/PasspointNaiRealmEapCredType.md +++ /dev/null @@ -1,8 +0,0 @@ -# PasspointNaiRealmEapCredType - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/PasspointNaiRealmEncoding.md b/libs/cloudapi/cloudsdk/docs/PasspointNaiRealmEncoding.md deleted file mode 100644 index 8d888a73d..000000000 --- a/libs/cloudapi/cloudsdk/docs/PasspointNaiRealmEncoding.md +++ /dev/null @@ -1,8 +0,0 @@ -# PasspointNaiRealmEncoding - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/PasspointNaiRealmInformation.md b/libs/cloudapi/cloudsdk/docs/PasspointNaiRealmInformation.md deleted file mode 100644 index 229076fd6..000000000 --- a/libs/cloudapi/cloudsdk/docs/PasspointNaiRealmInformation.md +++ /dev/null @@ -1,12 +0,0 @@ -# PasspointNaiRealmInformation - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**nai_realms** | **list[str]** | | [optional] -**encoding** | [**PasspointNaiRealmEncoding**](PasspointNaiRealmEncoding.md) | | [optional] -**eap_methods** | [**list[PasspointEapMethods]**](PasspointEapMethods.md) | array of EAP methods | [optional] -**eap_map** | **dict(str, str)** | map of string values comrised of 'param + credential' types, keyed by EAP methods | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/PasspointNetworkAuthenticationType.md b/libs/cloudapi/cloudsdk/docs/PasspointNetworkAuthenticationType.md deleted file mode 100644 index 7f48e8689..000000000 --- a/libs/cloudapi/cloudsdk/docs/PasspointNetworkAuthenticationType.md +++ /dev/null @@ -1,8 +0,0 @@ -# PasspointNetworkAuthenticationType - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/PasspointOperatorProfile.md b/libs/cloudapi/cloudsdk/docs/PasspointOperatorProfile.md deleted file mode 100644 index bea23cb7b..000000000 --- a/libs/cloudapi/cloudsdk/docs/PasspointOperatorProfile.md +++ /dev/null @@ -1,14 +0,0 @@ -# PasspointOperatorProfile - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | [optional] -**server_only_authenticated_l2_encryption_network** | **bool** | OSEN | [optional] -**operator_friendly_name** | [**list[PasspointDuple]**](PasspointDuple.md) | | [optional] -**domain_name_list** | **list[str]** | | [optional] -**default_operator_friendly_name** | **str** | | [optional] -**default_operator_friendly_name_fr** | **str** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/PasspointOsuIcon.md b/libs/cloudapi/cloudsdk/docs/PasspointOsuIcon.md deleted file mode 100644 index 4cdd8169a..000000000 --- a/libs/cloudapi/cloudsdk/docs/PasspointOsuIcon.md +++ /dev/null @@ -1,16 +0,0 @@ -# PasspointOsuIcon - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**icon_width** | **int** | | [optional] -**icon_height** | **int** | | [optional] -**language_code** | **str** | | [optional] -**icon_locale** | **str** | The primary locale for this Icon. | [optional] -**icon_name** | **str** | | [optional] -**file_path** | **str** | | [optional] -**image_url** | **str** | | [optional] -**icon_type** | **str** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/PasspointOsuProviderProfile.md b/libs/cloudapi/cloudsdk/docs/PasspointOsuProviderProfile.md deleted file mode 100644 index ad5b124fc..000000000 --- a/libs/cloudapi/cloudsdk/docs/PasspointOsuProviderProfile.md +++ /dev/null @@ -1,22 +0,0 @@ -# PasspointOsuProviderProfile - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | [optional] -**passpoint_mcc_mnc_list** | [**list[PasspointMccMnc]**](PasspointMccMnc.md) | | [optional] -**nai_realm_list** | [**list[PasspointNaiRealmInformation]**](PasspointNaiRealmInformation.md) | | [optional] -**passpoint_osu_icon_list** | [**list[PasspointOsuIcon]**](PasspointOsuIcon.md) | | [optional] -**osu_ssid** | **str** | | [optional] -**osu_server_uri** | **str** | | [optional] -**radius_profile_auth** | **str** | | [optional] -**radius_profile_accounting** | **str** | | [optional] -**osu_friendly_name** | [**list[PasspointDuple]**](PasspointDuple.md) | | [optional] -**osu_nai_standalone** | **str** | | [optional] -**osu_nai_shared** | **str** | | [optional] -**osu_method_list** | **int** | | [optional] -**osu_service_description** | [**list[PasspointDuple]**](PasspointDuple.md) | | [optional] -**roaming_oi** | **list[str]** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/PasspointProfile.md b/libs/cloudapi/cloudsdk/docs/PasspointProfile.md deleted file mode 100644 index aee623b98..000000000 --- a/libs/cloudapi/cloudsdk/docs/PasspointProfile.md +++ /dev/null @@ -1,37 +0,0 @@ -# PasspointProfile - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | [optional] -**enable_interworking_and_hs20** | **bool** | | [optional] -**additional_steps_required_for_access** | **int** | | [optional] -**deauth_request_timeout** | **int** | | [optional] -**operating_class** | **int** | | [optional] -**terms_and_conditions_file** | [**ManagedFileInfo**](ManagedFileInfo.md) | | [optional] -**whitelist_domain** | **str** | | [optional] -**emergency_services_reachable** | **bool** | | [optional] -**unauthenticated_emergency_service_accessible** | **bool** | | [optional] -**internet_connectivity** | **bool** | | [optional] -**ip_address_type_availability** | [**Object**](Object.md) | | [optional] -**qos_map_set_configuration** | **list[str]** | | [optional] -**hessid** | [**MacAddress**](MacAddress.md) | | [optional] -**ap_geospatial_location** | **str** | | [optional] -**ap_civic_location** | **str** | | [optional] -**anqp_domain_id** | **int** | | [optional] -**disable_downstream_group_addressed_forwarding** | **bool** | | [optional] -**enable2pt4_g_hz** | **bool** | | [optional] -**enable5_g_hz** | **bool** | | [optional] -**associated_access_ssid_profile_ids** | **list[int]** | | [optional] -**osu_ssid_profile_id** | **int** | | [optional] -**passpoint_operator_profile_id** | **int** | Profile Id of a PasspointOperatorProfile profile, must be also added to the children of this profile | [optional] -**passpoint_venue_profile_id** | **int** | Profile Id of a PasspointVenueProfile profile, must be also added to the children of this profile | [optional] -**passpoint_osu_provider_profile_ids** | **list[int]** | array containing Profile Ids of PasspointOsuProviderProfiles, must be also added to the children of this profile | [optional] -**ap_public_location_id_uri** | **str** | | [optional] -**access_network_type** | [**PasspointAccessNetworkType**](PasspointAccessNetworkType.md) | | [optional] -**network_authentication_type** | [**PasspointNetworkAuthenticationType**](PasspointNetworkAuthenticationType.md) | | [optional] -**connection_capability_set** | [**list[PasspointConnectionCapability]**](PasspointConnectionCapability.md) | | [optional] -**gas_addr3_behaviour** | [**PasspointGasAddress3Behaviour**](PasspointGasAddress3Behaviour.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/PasspointVenueName.md b/libs/cloudapi/cloudsdk/docs/PasspointVenueName.md deleted file mode 100644 index d1f7f419f..000000000 --- a/libs/cloudapi/cloudsdk/docs/PasspointVenueName.md +++ /dev/null @@ -1,9 +0,0 @@ -# PasspointVenueName - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**venue_url** | **str** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/PasspointVenueProfile.md b/libs/cloudapi/cloudsdk/docs/PasspointVenueProfile.md deleted file mode 100644 index a34db3deb..000000000 --- a/libs/cloudapi/cloudsdk/docs/PasspointVenueProfile.md +++ /dev/null @@ -1,11 +0,0 @@ -# PasspointVenueProfile - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | [optional] -**passpoint_venue_name_set** | [**list[PasspointVenueName]**](PasspointVenueName.md) | | [optional] -**passpoint_venue_type_assignment** | [**list[PasspointVenueTypeAssignment]**](PasspointVenueTypeAssignment.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/PasspointVenueTypeAssignment.md b/libs/cloudapi/cloudsdk/docs/PasspointVenueTypeAssignment.md deleted file mode 100644 index 4e6c7923c..000000000 --- a/libs/cloudapi/cloudsdk/docs/PasspointVenueTypeAssignment.md +++ /dev/null @@ -1,11 +0,0 @@ -# PasspointVenueTypeAssignment - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**venue_description** | **str** | | [optional] -**venue_group_id** | **int** | | [optional] -**venue_type_id** | **int** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/PeerInfo.md b/libs/cloudapi/cloudsdk/docs/PeerInfo.md deleted file mode 100644 index d6588dc41..000000000 --- a/libs/cloudapi/cloudsdk/docs/PeerInfo.md +++ /dev/null @@ -1,13 +0,0 @@ -# PeerInfo - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**peer_mac** | **list[int]** | | [optional] -**peer_ip** | **str** | | [optional] -**tunnel** | [**TunnelIndicator**](TunnelIndicator.md) | | [optional] -**vlans** | **list[int]** | | [optional] -**radius_secret** | **str** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/PerProcessUtilization.md b/libs/cloudapi/cloudsdk/docs/PerProcessUtilization.md deleted file mode 100644 index 2f9505bb8..000000000 --- a/libs/cloudapi/cloudsdk/docs/PerProcessUtilization.md +++ /dev/null @@ -1,11 +0,0 @@ -# PerProcessUtilization - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pid** | **int** | process id | [optional] -**cmd** | **str** | process name | [optional] -**util** | **int** | utilization, either as a percentage (i.e. for CPU) or in kB (for memory) | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/PingResponse.md b/libs/cloudapi/cloudsdk/docs/PingResponse.md deleted file mode 100644 index 9ce44470a..000000000 --- a/libs/cloudapi/cloudsdk/docs/PingResponse.md +++ /dev/null @@ -1,15 +0,0 @@ -# PingResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**startup_time** | **int** | | [optional] -**current_time** | **int** | | [optional] -**application_name** | **str** | | [optional] -**host_name** | **str** | | [optional] -**commit_id** | **str** | | [optional] -**commit_date** | **str** | | [optional] -**project_version** | **str** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/PortalUser.md b/libs/cloudapi/cloudsdk/docs/PortalUser.md deleted file mode 100644 index e30e1724b..000000000 --- a/libs/cloudapi/cloudsdk/docs/PortalUser.md +++ /dev/null @@ -1,15 +0,0 @@ -# PortalUser - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **int** | | [optional] -**customer_id** | **int** | | [optional] -**username** | **str** | | [optional] -**password** | **str** | | [optional] -**roles** | [**list[PortalUserRole]**](PortalUserRole.md) | | [optional] -**created_timestamp** | **int** | | [optional] -**last_modified_timestamp** | **int** | must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/PortalUserAddedEvent.md b/libs/cloudapi/cloudsdk/docs/PortalUserAddedEvent.md deleted file mode 100644 index c66134561..000000000 --- a/libs/cloudapi/cloudsdk/docs/PortalUserAddedEvent.md +++ /dev/null @@ -1,12 +0,0 @@ -# PortalUserAddedEvent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**event_timestamp** | **int** | | [optional] -**customer_id** | **int** | | [optional] -**payload** | [**PortalUser**](PortalUser.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/PortalUserChangedEvent.md b/libs/cloudapi/cloudsdk/docs/PortalUserChangedEvent.md deleted file mode 100644 index d533eee60..000000000 --- a/libs/cloudapi/cloudsdk/docs/PortalUserChangedEvent.md +++ /dev/null @@ -1,12 +0,0 @@ -# PortalUserChangedEvent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**event_timestamp** | **int** | | [optional] -**customer_id** | **int** | | [optional] -**payload** | [**PortalUser**](PortalUser.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/PortalUserRemovedEvent.md b/libs/cloudapi/cloudsdk/docs/PortalUserRemovedEvent.md deleted file mode 100644 index 2a61d8160..000000000 --- a/libs/cloudapi/cloudsdk/docs/PortalUserRemovedEvent.md +++ /dev/null @@ -1,12 +0,0 @@ -# PortalUserRemovedEvent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**event_timestamp** | **int** | | [optional] -**customer_id** | **int** | | [optional] -**payload** | [**PortalUser**](PortalUser.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/PortalUserRole.md b/libs/cloudapi/cloudsdk/docs/PortalUserRole.md deleted file mode 100644 index 60dc94c93..000000000 --- a/libs/cloudapi/cloudsdk/docs/PortalUserRole.md +++ /dev/null @@ -1,8 +0,0 @@ -# PortalUserRole - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/PortalUsersApi.md b/libs/cloudapi/cloudsdk/docs/PortalUsersApi.md deleted file mode 100644 index 58c2db3fa..000000000 --- a/libs/cloudapi/cloudsdk/docs/PortalUsersApi.md +++ /dev/null @@ -1,397 +0,0 @@ -# swagger_client.PortalUsersApi - -All URIs are relative to *https://localhost:9091* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**create_portal_user**](PortalUsersApi.md#create_portal_user) | **POST** /portal/portalUser | Create new Portal User -[**delete_portal_user**](PortalUsersApi.md#delete_portal_user) | **DELETE** /portal/portalUser | Delete PortalUser -[**get_portal_user_by_id**](PortalUsersApi.md#get_portal_user_by_id) | **GET** /portal/portalUser | Get portal user By Id -[**get_portal_user_by_username**](PortalUsersApi.md#get_portal_user_by_username) | **GET** /portal/portalUser/byUsernameOrNull | Get portal user by user name -[**get_portal_users_by_customer_id**](PortalUsersApi.md#get_portal_users_by_customer_id) | **GET** /portal/portalUser/forCustomer | Get PortalUsers By customerId -[**get_portal_users_by_set_of_ids**](PortalUsersApi.md#get_portal_users_by_set_of_ids) | **GET** /portal/portalUser/inSet | Get PortalUsers By a set of ids -[**get_users_for_username**](PortalUsersApi.md#get_users_for_username) | **GET** /portal/portalUser/usersForUsername | Get Portal Users for username -[**update_portal_user**](PortalUsersApi.md#update_portal_user) | **PUT** /portal/portalUser | Update PortalUser - -# **create_portal_user** -> PortalUser create_portal_user(body) - -Create new Portal User - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.PortalUsersApi(swagger_client.ApiClient(configuration)) -body = swagger_client.PortalUser() # PortalUser | portal user info - -try: - # Create new Portal User - api_response = api_instance.create_portal_user(body) - pprint(api_response) -except ApiException as e: - print("Exception when calling PortalUsersApi->create_portal_user: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**PortalUser**](PortalUser.md)| portal user info | - -### Return type - -[**PortalUser**](PortalUser.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_portal_user** -> PortalUser delete_portal_user(portal_user_id) - -Delete PortalUser - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.PortalUsersApi(swagger_client.ApiClient(configuration)) -portal_user_id = 789 # int | - -try: - # Delete PortalUser - api_response = api_instance.delete_portal_user(portal_user_id) - pprint(api_response) -except ApiException as e: - print("Exception when calling PortalUsersApi->delete_portal_user: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **portal_user_id** | **int**| | - -### Return type - -[**PortalUser**](PortalUser.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_portal_user_by_id** -> PortalUser get_portal_user_by_id(portal_user_id) - -Get portal user By Id - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.PortalUsersApi(swagger_client.ApiClient(configuration)) -portal_user_id = 789 # int | - -try: - # Get portal user By Id - api_response = api_instance.get_portal_user_by_id(portal_user_id) - pprint(api_response) -except ApiException as e: - print("Exception when calling PortalUsersApi->get_portal_user_by_id: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **portal_user_id** | **int**| | - -### Return type - -[**PortalUser**](PortalUser.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_portal_user_by_username** -> PortalUser get_portal_user_by_username(customer_id, username) - -Get portal user by user name - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.PortalUsersApi(swagger_client.ApiClient(configuration)) -customer_id = 56 # int | -username = 'username_example' # str | - -try: - # Get portal user by user name - api_response = api_instance.get_portal_user_by_username(customer_id, username) - pprint(api_response) -except ApiException as e: - print("Exception when calling PortalUsersApi->get_portal_user_by_username: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **customer_id** | **int**| | - **username** | **str**| | - -### Return type - -[**PortalUser**](PortalUser.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_portal_users_by_customer_id** -> PaginationResponsePortalUser get_portal_users_by_customer_id(customer_id, pagination_context, sort_by=sort_by) - -Get PortalUsers By customerId - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.PortalUsersApi(swagger_client.ApiClient(configuration)) -customer_id = 789 # int | customer id -pagination_context = swagger_client.PaginationContextPortalUser() # PaginationContextPortalUser | pagination context -sort_by = [swagger_client.SortColumnsPortalUser()] # list[SortColumnsPortalUser] | sort options (optional) - -try: - # Get PortalUsers By customerId - api_response = api_instance.get_portal_users_by_customer_id(customer_id, pagination_context, sort_by=sort_by) - pprint(api_response) -except ApiException as e: - print("Exception when calling PortalUsersApi->get_portal_users_by_customer_id: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **customer_id** | **int**| customer id | - **pagination_context** | [**PaginationContextPortalUser**](.md)| pagination context | - **sort_by** | [**list[SortColumnsPortalUser]**](SortColumnsPortalUser.md)| sort options | [optional] - -### Return type - -[**PaginationResponsePortalUser**](PaginationResponsePortalUser.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_portal_users_by_set_of_ids** -> list[PortalUser] get_portal_users_by_set_of_ids(portal_user_id_set) - -Get PortalUsers By a set of ids - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.PortalUsersApi(swagger_client.ApiClient(configuration)) -portal_user_id_set = [56] # list[int] | set of portalUser ids - -try: - # Get PortalUsers By a set of ids - api_response = api_instance.get_portal_users_by_set_of_ids(portal_user_id_set) - pprint(api_response) -except ApiException as e: - print("Exception when calling PortalUsersApi->get_portal_users_by_set_of_ids: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **portal_user_id_set** | [**list[int]**](int.md)| set of portalUser ids | - -### Return type - -[**list[PortalUser]**](PortalUser.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_users_for_username** -> list[PortalUser] get_users_for_username(username) - -Get Portal Users for username - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.PortalUsersApi(swagger_client.ApiClient(configuration)) -username = 'username_example' # str | - -try: - # Get Portal Users for username - api_response = api_instance.get_users_for_username(username) - pprint(api_response) -except ApiException as e: - print("Exception when calling PortalUsersApi->get_users_for_username: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **username** | **str**| | - -### Return type - -[**list[PortalUser]**](PortalUser.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **update_portal_user** -> PortalUser update_portal_user(body) - -Update PortalUser - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.PortalUsersApi(swagger_client.ApiClient(configuration)) -body = swagger_client.PortalUser() # PortalUser | PortalUser info - -try: - # Update PortalUser - api_response = api_instance.update_portal_user(body) - pprint(api_response) -except ApiException as e: - print("Exception when calling PortalUsersApi->update_portal_user: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**PortalUser**](PortalUser.md)| PortalUser info | - -### Return type - -[**PortalUser**](PortalUser.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/Profile.md b/libs/cloudapi/cloudsdk/docs/Profile.md deleted file mode 100644 index dbe31962c..000000000 --- a/libs/cloudapi/cloudsdk/docs/Profile.md +++ /dev/null @@ -1,16 +0,0 @@ -# Profile - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **int** | | [optional] -**profile_type** | [**ProfileType**](ProfileType.md) | | [optional] -**customer_id** | **int** | | [optional] -**name** | **str** | | [optional] -**child_profile_ids** | **list[int]** | | [optional] -**details** | [**ProfileDetailsChildren**](ProfileDetailsChildren.md) | | [optional] -**created_timestamp** | **int** | | [optional] -**last_modified_timestamp** | **int** | must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ProfileAddedEvent.md b/libs/cloudapi/cloudsdk/docs/ProfileAddedEvent.md deleted file mode 100644 index e5db66d91..000000000 --- a/libs/cloudapi/cloudsdk/docs/ProfileAddedEvent.md +++ /dev/null @@ -1,12 +0,0 @@ -# ProfileAddedEvent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**event_timestamp** | **int** | | [optional] -**customer_id** | **int** | | [optional] -**payload** | [**Profile**](Profile.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ProfileApi.md b/libs/cloudapi/cloudsdk/docs/ProfileApi.md deleted file mode 100644 index f4672098a..000000000 --- a/libs/cloudapi/cloudsdk/docs/ProfileApi.md +++ /dev/null @@ -1,399 +0,0 @@ -# swagger_client.ProfileApi - -All URIs are relative to *https://localhost:9091* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**create_profile**](ProfileApi.md#create_profile) | **POST** /portal/profile | Create new Profile -[**delete_profile**](ProfileApi.md#delete_profile) | **DELETE** /portal/profile | Delete Profile -[**get_counts_of_equipment_that_use_profiles**](ProfileApi.md#get_counts_of_equipment_that_use_profiles) | **GET** /portal/profile/equipmentCounts | Get counts of equipment that use specified profiles -[**get_profile_by_id**](ProfileApi.md#get_profile_by_id) | **GET** /portal/profile | Get Profile By Id -[**get_profile_with_children**](ProfileApi.md#get_profile_with_children) | **GET** /portal/profile/withChildren | Get Profile and all its associated children -[**get_profiles_by_customer_id**](ProfileApi.md#get_profiles_by_customer_id) | **GET** /portal/profile/forCustomer | Get Profiles By customerId -[**get_profiles_by_set_of_ids**](ProfileApi.md#get_profiles_by_set_of_ids) | **GET** /portal/profile/inSet | Get Profiles By a set of ids -[**update_profile**](ProfileApi.md#update_profile) | **PUT** /portal/profile | Update Profile - -# **create_profile** -> Profile create_profile(body) - -Create new Profile - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.ProfileApi(swagger_client.ApiClient(configuration)) -body = swagger_client.Profile() # Profile | profile info - -try: - # Create new Profile - api_response = api_instance.create_profile(body) - pprint(api_response) -except ApiException as e: - print("Exception when calling ProfileApi->create_profile: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**Profile**](Profile.md)| profile info | - -### Return type - -[**Profile**](Profile.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_profile** -> Profile delete_profile(profile_id) - -Delete Profile - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.ProfileApi(swagger_client.ApiClient(configuration)) -profile_id = 789 # int | profile id - -try: - # Delete Profile - api_response = api_instance.delete_profile(profile_id) - pprint(api_response) -except ApiException as e: - print("Exception when calling ProfileApi->delete_profile: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **profile_id** | **int**| profile id | - -### Return type - -[**Profile**](Profile.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_counts_of_equipment_that_use_profiles** -> list[PairLongLong] get_counts_of_equipment_that_use_profiles(profile_id_set) - -Get counts of equipment that use specified profiles - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.ProfileApi(swagger_client.ApiClient(configuration)) -profile_id_set = [56] # list[int] | set of profile ids - -try: - # Get counts of equipment that use specified profiles - api_response = api_instance.get_counts_of_equipment_that_use_profiles(profile_id_set) - pprint(api_response) -except ApiException as e: - print("Exception when calling ProfileApi->get_counts_of_equipment_that_use_profiles: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **profile_id_set** | [**list[int]**](int.md)| set of profile ids | - -### Return type - -[**list[PairLongLong]**](PairLongLong.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_profile_by_id** -> Profile get_profile_by_id(profile_id) - -Get Profile By Id - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.ProfileApi(swagger_client.ApiClient(configuration)) -profile_id = 789 # int | profile id - -try: - # Get Profile By Id - api_response = api_instance.get_profile_by_id(profile_id) - pprint(api_response) -except ApiException as e: - print("Exception when calling ProfileApi->get_profile_by_id: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **profile_id** | **int**| profile id | - -### Return type - -[**Profile**](Profile.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_profile_with_children** -> list[Profile] get_profile_with_children(profile_id) - -Get Profile and all its associated children - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.ProfileApi(swagger_client.ApiClient(configuration)) -profile_id = 789 # int | - -try: - # Get Profile and all its associated children - api_response = api_instance.get_profile_with_children(profile_id) - pprint(api_response) -except ApiException as e: - print("Exception when calling ProfileApi->get_profile_with_children: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **profile_id** | **int**| | - -### Return type - -[**list[Profile]**](Profile.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_profiles_by_customer_id** -> PaginationResponseProfile get_profiles_by_customer_id(customer_id, pagination_context, profile_type=profile_type, name_substring=name_substring, sort_by=sort_by) - -Get Profiles By customerId - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.ProfileApi(swagger_client.ApiClient(configuration)) -customer_id = 789 # int | customer id -pagination_context = swagger_client.PaginationContextProfile() # PaginationContextProfile | pagination context -profile_type = swagger_client.ProfileType() # ProfileType | profile type (optional) -name_substring = 'name_substring_example' # str | (optional) -sort_by = [swagger_client.SortColumnsProfile()] # list[SortColumnsProfile] | sort options (optional) - -try: - # Get Profiles By customerId - api_response = api_instance.get_profiles_by_customer_id(customer_id, pagination_context, profile_type=profile_type, name_substring=name_substring, sort_by=sort_by) - pprint(api_response) -except ApiException as e: - print("Exception when calling ProfileApi->get_profiles_by_customer_id: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **customer_id** | **int**| customer id | - **pagination_context** | [**PaginationContextProfile**](.md)| pagination context | - **profile_type** | [**ProfileType**](.md)| profile type | [optional] - **name_substring** | **str**| | [optional] - **sort_by** | [**list[SortColumnsProfile]**](SortColumnsProfile.md)| sort options | [optional] - -### Return type - -[**PaginationResponseProfile**](PaginationResponseProfile.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_profiles_by_set_of_ids** -> list[Profile] get_profiles_by_set_of_ids(profile_id_set) - -Get Profiles By a set of ids - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.ProfileApi(swagger_client.ApiClient(configuration)) -profile_id_set = [56] # list[int] | set of profile ids - -try: - # Get Profiles By a set of ids - api_response = api_instance.get_profiles_by_set_of_ids(profile_id_set) - pprint(api_response) -except ApiException as e: - print("Exception when calling ProfileApi->get_profiles_by_set_of_ids: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **profile_id_set** | [**list[int]**](int.md)| set of profile ids | - -### Return type - -[**list[Profile]**](Profile.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **update_profile** -> Profile update_profile(body) - -Update Profile - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.ProfileApi(swagger_client.ApiClient(configuration)) -body = swagger_client.Profile() # Profile | profile info - -try: - # Update Profile - api_response = api_instance.update_profile(body) - pprint(api_response) -except ApiException as e: - print("Exception when calling ProfileApi->update_profile: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**Profile**](Profile.md)| profile info | - -### Return type - -[**Profile**](Profile.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ProfileChangedEvent.md b/libs/cloudapi/cloudsdk/docs/ProfileChangedEvent.md deleted file mode 100644 index 94d94d168..000000000 --- a/libs/cloudapi/cloudsdk/docs/ProfileChangedEvent.md +++ /dev/null @@ -1,12 +0,0 @@ -# ProfileChangedEvent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**event_timestamp** | **int** | | [optional] -**customer_id** | **int** | | [optional] -**payload** | [**Profile**](Profile.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ProfileDetails.md b/libs/cloudapi/cloudsdk/docs/ProfileDetails.md deleted file mode 100644 index 3d5528b53..000000000 --- a/libs/cloudapi/cloudsdk/docs/ProfileDetails.md +++ /dev/null @@ -1,9 +0,0 @@ -# ProfileDetails - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ProfileDetailsChildren.md b/libs/cloudapi/cloudsdk/docs/ProfileDetailsChildren.md deleted file mode 100644 index 7c1cf1b44..000000000 --- a/libs/cloudapi/cloudsdk/docs/ProfileDetailsChildren.md +++ /dev/null @@ -1,8 +0,0 @@ -# ProfileDetailsChildren - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ProfileRemovedEvent.md b/libs/cloudapi/cloudsdk/docs/ProfileRemovedEvent.md deleted file mode 100644 index e44c16449..000000000 --- a/libs/cloudapi/cloudsdk/docs/ProfileRemovedEvent.md +++ /dev/null @@ -1,12 +0,0 @@ -# ProfileRemovedEvent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**event_timestamp** | **int** | | [optional] -**customer_id** | **int** | | [optional] -**payload** | [**Profile**](Profile.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ProfileType.md b/libs/cloudapi/cloudsdk/docs/ProfileType.md deleted file mode 100644 index d5a04c34d..000000000 --- a/libs/cloudapi/cloudsdk/docs/ProfileType.md +++ /dev/null @@ -1,8 +0,0 @@ -# ProfileType - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/RadioBasedSsidConfiguration.md b/libs/cloudapi/cloudsdk/docs/RadioBasedSsidConfiguration.md deleted file mode 100644 index fc32a63b6..000000000 --- a/libs/cloudapi/cloudsdk/docs/RadioBasedSsidConfiguration.md +++ /dev/null @@ -1,11 +0,0 @@ -# RadioBasedSsidConfiguration - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**enable80211r** | **bool** | | [optional] -**enable80211k** | **bool** | | [optional] -**enable80211v** | **bool** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/RadioBasedSsidConfigurationMap.md b/libs/cloudapi/cloudsdk/docs/RadioBasedSsidConfigurationMap.md deleted file mode 100644 index a763d7527..000000000 --- a/libs/cloudapi/cloudsdk/docs/RadioBasedSsidConfigurationMap.md +++ /dev/null @@ -1,12 +0,0 @@ -# RadioBasedSsidConfigurationMap - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**is5_g_hz** | [**RadioBasedSsidConfiguration**](RadioBasedSsidConfiguration.md) | | [optional] -**is5_g_hz_u** | [**RadioBasedSsidConfiguration**](RadioBasedSsidConfiguration.md) | | [optional] -**is5_g_hz_l** | [**RadioBasedSsidConfiguration**](RadioBasedSsidConfiguration.md) | | [optional] -**is2dot4_g_hz** | [**RadioBasedSsidConfiguration**](RadioBasedSsidConfiguration.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/RadioBestApSettings.md b/libs/cloudapi/cloudsdk/docs/RadioBestApSettings.md deleted file mode 100644 index 972f55365..000000000 --- a/libs/cloudapi/cloudsdk/docs/RadioBestApSettings.md +++ /dev/null @@ -1,11 +0,0 @@ -# RadioBestApSettings - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ml_computed** | **bool** | | [optional] [default to True] -**drop_in_snr_percentage** | **int** | | [optional] [default to 10] -**min_load_factor** | **int** | | [optional] [default to 10] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/RadioChannelChangeSettings.md b/libs/cloudapi/cloudsdk/docs/RadioChannelChangeSettings.md deleted file mode 100644 index 51a1486e6..000000000 --- a/libs/cloudapi/cloudsdk/docs/RadioChannelChangeSettings.md +++ /dev/null @@ -1,10 +0,0 @@ -# RadioChannelChangeSettings - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**primary_channel** | **dict(str, int)** | Settings for primary channels, keys by RadioType per supported frequency_band (is5GHz, is5GHzL, is5GHzU, is2dot4GHz) | [optional] -**backup_channel** | **dict(str, int)** | Settings for backup channels, keys by RadioType per supported frequency_band (is5GHz, is5GHzL, is5GHzU, is2dot4GHz) | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/RadioConfiguration.md b/libs/cloudapi/cloudsdk/docs/RadioConfiguration.md deleted file mode 100644 index 96b5adfaf..000000000 --- a/libs/cloudapi/cloudsdk/docs/RadioConfiguration.md +++ /dev/null @@ -1,19 +0,0 @@ -# RadioConfiguration - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**radio_type** | [**RadioType**](RadioType.md) | | [optional] -**radio_admin_state** | [**StateSetting**](StateSetting.md) | | [optional] -**fragmentation_threshold_bytes** | **int** | | [optional] -**uapsd_state** | [**StateSetting**](StateSetting.md) | | [optional] -**station_isolation** | [**StateSetting**](StateSetting.md) | | [optional] -**multicast_rate** | [**SourceSelectionMulticast**](SourceSelectionMulticast.md) | | [optional] -**management_rate** | [**SourceSelectionManagement**](SourceSelectionManagement.md) | | [optional] -**best_ap_settings** | [**SourceSelectionSteering**](SourceSelectionSteering.md) | | [optional] -**legacy_bss_rate** | [**StateSetting**](StateSetting.md) | | [optional] -**dtim_period** | **int** | | [optional] -**deauth_attack_detection** | **bool** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/RadioMap.md b/libs/cloudapi/cloudsdk/docs/RadioMap.md deleted file mode 100644 index 091f3f93a..000000000 --- a/libs/cloudapi/cloudsdk/docs/RadioMap.md +++ /dev/null @@ -1,12 +0,0 @@ -# RadioMap - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**is5_g_hz** | [**ElementRadioConfiguration**](ElementRadioConfiguration.md) | | [optional] -**is5_g_hz_u** | [**ElementRadioConfiguration**](ElementRadioConfiguration.md) | | [optional] -**is5_g_hz_l** | [**ElementRadioConfiguration**](ElementRadioConfiguration.md) | | [optional] -**is2dot4_g_hz** | [**ElementRadioConfiguration**](ElementRadioConfiguration.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/RadioMode.md b/libs/cloudapi/cloudsdk/docs/RadioMode.md deleted file mode 100644 index 1106d4140..000000000 --- a/libs/cloudapi/cloudsdk/docs/RadioMode.md +++ /dev/null @@ -1,8 +0,0 @@ -# RadioMode - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/RadioProfileConfiguration.md b/libs/cloudapi/cloudsdk/docs/RadioProfileConfiguration.md deleted file mode 100644 index 19bdda93b..000000000 --- a/libs/cloudapi/cloudsdk/docs/RadioProfileConfiguration.md +++ /dev/null @@ -1,10 +0,0 @@ -# RadioProfileConfiguration - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**best_ap_enabled** | **bool** | | [optional] -**best_ap_steer_type** | [**BestAPSteerType**](BestAPSteerType.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/RadioProfileConfigurationMap.md b/libs/cloudapi/cloudsdk/docs/RadioProfileConfigurationMap.md deleted file mode 100644 index 522682ba9..000000000 --- a/libs/cloudapi/cloudsdk/docs/RadioProfileConfigurationMap.md +++ /dev/null @@ -1,12 +0,0 @@ -# RadioProfileConfigurationMap - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**is5_g_hz** | [**RadioProfileConfiguration**](RadioProfileConfiguration.md) | | [optional] -**is5_g_hz_u** | [**RadioProfileConfiguration**](RadioProfileConfiguration.md) | | [optional] -**is5_g_hz_l** | [**RadioProfileConfiguration**](RadioProfileConfiguration.md) | | [optional] -**is2dot4_g_hz** | [**RadioProfileConfiguration**](RadioProfileConfiguration.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/RadioStatistics.md b/libs/cloudapi/cloudsdk/docs/RadioStatistics.md deleted file mode 100644 index e75ccf8b0..000000000 --- a/libs/cloudapi/cloudsdk/docs/RadioStatistics.md +++ /dev/null @@ -1,379 +0,0 @@ -# RadioStatistics - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**num_radio_resets** | **int** | The number of radio resets | [optional] -**num_chan_changes** | **int** | The number of channel changes. | [optional] -**num_tx_power_changes** | **int** | The number of tx power changes. | [optional] -**num_radar_chan_changes** | **int** | The number of channel changes due to radar detections. | [optional] -**num_free_tx_buf** | **int** | The number of free TX buffers available. | [optional] -**eleven_g_protection** | **int** | 11g protection, 2.4GHz only. | [optional] -**num_scan_req** | **int** | The number of scanning requests. | [optional] -**num_scan_succ** | **int** | The number of scanning successes. | [optional] -**cur_eirp** | **int** | The Current EIRP. | [optional] -**actual_cell_size** | **list[int]** | Actuall Cell Size | [optional] -**cur_channel** | **int** | The current primary channel | [optional] -**cur_backup_channel** | **int** | The current backup channel | [optional] -**rx_last_rssi** | **int** | The RSSI of last frame received. | [optional] -**num_rx** | **int** | The number of received frames. | [optional] -**num_rx_no_fcs_err** | **int** | The number of received frames without FCS errors. | [optional] -**num_rx_fcs_err** | **int** | The number of received frames with FCS errors. | [optional] -**num_rx_data** | **int** | The number of received data frames. | [optional] -**num_rx_management** | **int** | The number of received management frames. | [optional] -**num_rx_control** | **int** | The number of received control frames. | [optional] -**rx_data_bytes** | **int** | The number of received data frames. | [optional] -**num_rx_rts** | **int** | The number of received RTS frames. | [optional] -**num_rx_cts** | **int** | The number of received CTS frames. | [optional] -**num_rx_ack** | **int** | The number of all received ACK frames (Acks + BlockAcks). | [optional] -**num_rx_beacon** | **int** | The number of received beacon frames. | [optional] -**num_rx_probe_req** | **int** | The number of received probe request frames. | [optional] -**num_rx_probe_resp** | **int** | The number of received probe response frames. | [optional] -**num_rx_retry** | **int** | The number of received retry frames. | [optional] -**num_rx_off_chan** | **int** | The number of frames received during off-channel scanning. | [optional] -**num_rx_dup** | **int** | The number of received duplicated frames. | [optional] -**num_rx_bc_mc** | **int** | The number of received Broadcast/Multicast frames. | [optional] -**num_rx_null_data** | **int** | The number of received null data frames. | [optional] -**num_rx_pspoll** | **int** | The number of received ps-poll frames | [optional] -**num_rx_err** | **int** | The number of received frames with errors. | [optional] -**num_rx_stbc** | **int** | The number of received STBC frames. | [optional] -**num_rx_ldpc** | **int** | The number of received LDPC frames. | [optional] -**num_rx_drop_runt** | **int** | The number of dropped rx frames, runt. | [optional] -**num_rx_drop_invalid_src_mac** | **int** | The number of dropped rx frames, invalid source MAC. | [optional] -**num_rx_drop_amsdu_no_rcv** | **int** | The number of dropped rx frames, AMSDU no receive. | [optional] -**num_rx_drop_eth_hdr_runt** | **int** | The number of dropped rx frames, Ethernet header runt. | [optional] -**num_rx_amsdu_deagg_seq** | **int** | The number of dropped rx frames, AMSDU deagg sequence. | [optional] -**num_rx_amsdu_deagg_itmd** | **int** | The number of dropped rx frames, AMSDU deagg intermediate. | [optional] -**num_rx_amsdu_deagg_last** | **int** | The number of dropped rx frames, AMSDU deagg last. | [optional] -**num_rx_drop_no_fc_field** | **int** | The number of dropped rx frames, no frame control field. | [optional] -**num_rx_drop_bad_protocol** | **int** | The number of dropped rx frames, bad protocol. | [optional] -**num_rcv_frame_for_tx** | **int** | The number of received ethernet and local generated frames for transmit. | [optional] -**num_tx_queued** | **int** | The number of TX frames queued. | [optional] -**num_rcv_bc_for_tx** | **int** | The number of received ethernet and local generated broadcast frames for transmit. | [optional] -**num_tx_dropped** | **int** | The number of every TX frame dropped. | [optional] -**num_tx_retry_dropped** | **int** | The number of TX frame dropped due to retries. | [optional] -**num_tx_bc_dropped** | **int** | The number of broadcast frames dropped. | [optional] -**num_tx_succ** | **int** | The number of frames successfully transmitted. | [optional] -**num_tx_ps_unicast** | **int** | The number of transmitted PS unicast frame. | [optional] -**num_tx_dtim_mc** | **int** | The number of transmitted DTIM multicast frames. | [optional] -**num_tx_succ_no_retry** | **int** | The number of successfully transmitted frames at firt attemp. | [optional] -**num_tx_succ_retries** | **int** | The number of successfully transmitted frames with retries. | [optional] -**num_tx_multi_retries** | **int** | The number of Tx frames with retries. | [optional] -**num_tx_management** | **int** | The number of TX management frames. | [optional] -**num_tx_control** | **int** | The number of Tx control frames. | [optional] -**num_tx_action** | **int** | The number of Tx action frames. | [optional] -**num_tx_beacon_succ** | **int** | The number of successfully transmitted beacon. | [optional] -**num_tx_beacon_fail** | **int** | The number of unsuccessfully transmitted beacon. | [optional] -**num_tx_beacon_su_fail** | **int** | The number of successive beacon tx failure. | [optional] -**num_tx_probe_resp** | **int** | The number of TX probe response. | [optional] -**num_tx_data** | **int** | The number of Tx data frames. | [optional] -**num_tx_data_retries** | **int** | The number of Tx data frames with retries. | [optional] -**num_tx_rts_succ** | **int** | The number of RTS frames sent successfully . | [optional] -**num_tx_rts_fail** | **int** | The number of RTS frames failed transmission. | [optional] -**num_tx_cts** | **int** | The number of CTS frames sent. | [optional] -**num_tx_no_ack** | **int** | The number of TX frames failed because of not Acked. | [optional] -**num_tx_eapol** | **int** | The number of EAPOL frames sent. | [optional] -**num_tx_ldpc** | **int** | The number of total LDPC frames sent. | [optional] -**num_tx_stbc** | **int** | The number of total STBC frames sent. | [optional] -**num_tx_aggr_succ** | **int** | The number of aggregation frames sent successfully. | [optional] -**num_tx_aggr_one_mpdu** | **int** | The number of aggregation frames sent using single MPDU. | [optional] -**num_tx_rate_limit_drop** | **int** | The number of Tx frames dropped because of rate limit and burst exceeded. | [optional] -**num_tx_retry_attemps** | **int** | The number of retry tx attempts that have been made | [optional] -**num_tx_total_attemps** | **int** | The total number of tx attempts | [optional] -**num_tx_data_frames_12_mbps** | **int** | | [optional] -**num_tx_data_frames_54_mbps** | **int** | | [optional] -**num_tx_data_frames_108_mbps** | **int** | | [optional] -**num_tx_data_frames_300_mbps** | **int** | | [optional] -**num_tx_data_frames_450_mbps** | **int** | | [optional] -**num_tx_data_frames_1300_mbps** | **int** | | [optional] -**num_tx_data_frames_1300_plus_mbps** | **int** | | [optional] -**num_rx_data_frames_12_mbps** | **int** | | [optional] -**num_rx_data_frames_54_mbps** | **int** | | [optional] -**num_rx_data_frames_108_mbps** | **int** | | [optional] -**num_rx_data_frames_300_mbps** | **int** | | [optional] -**num_rx_data_frames_450_mbps** | **int** | | [optional] -**num_rx_data_frames_1300_mbps** | **int** | | [optional] -**num_rx_data_frames_1300_plus_mbps** | **int** | | [optional] -**num_tx_time_frames_transmitted** | **int** | | [optional] -**num_rx_time_to_me** | **int** | | [optional] -**num_channel_busy64s** | **int** | | [optional] -**num_tx_time_data** | **int** | | [optional] -**num_tx_time_bc_mc_data** | **int** | | [optional] -**num_rx_time_data** | **int** | | [optional] -**num_tx_frames_transmitted** | **int** | | [optional] -**num_tx_success_with_retry** | **int** | | [optional] -**num_tx_multiple_retries** | **int** | | [optional] -**num_tx_data_transmitted_retried** | **int** | | [optional] -**num_tx_data_transmitted** | **int** | | [optional] -**num_tx_data_frames** | **int** | | [optional] -**num_rx_frames_received** | **int** | | [optional] -**num_rx_retry_frames** | **int** | | [optional] -**num_rx_data_frames_retried** | **int** | | [optional] -**num_rx_data_frames** | **int** | | [optional] -**num_tx_1_mbps** | **int** | | [optional] -**num_tx_6_mbps** | **int** | | [optional] -**num_tx_9_mbps** | **int** | | [optional] -**num_tx_12_mbps** | **int** | | [optional] -**num_tx_18_mbps** | **int** | | [optional] -**num_tx_24_mbps** | **int** | | [optional] -**num_tx_36_mbps** | **int** | | [optional] -**num_tx_48_mbps** | **int** | | [optional] -**num_tx_54_mbps** | **int** | | [optional] -**num_rx_1_mbps** | **int** | | [optional] -**num_rx_6_mbps** | **int** | | [optional] -**num_rx_9_mbps** | **int** | | [optional] -**num_rx_12_mbps** | **int** | | [optional] -**num_rx_18_mbps** | **int** | | [optional] -**num_rx_24_mbps** | **int** | | [optional] -**num_rx_36_mbps** | **int** | | [optional] -**num_rx_48_mbps** | **int** | | [optional] -**num_rx_54_mbps** | **int** | | [optional] -**num_tx_ht_6_5_mbps** | **int** | | [optional] -**num_tx_ht_7_1_mbps** | **int** | | [optional] -**num_tx_ht_13_mbps** | **int** | | [optional] -**num_tx_ht_13_5_mbps** | **int** | | [optional] -**num_tx_ht_14_3_mbps** | **int** | | [optional] -**num_tx_ht_15_mbps** | **int** | | [optional] -**num_tx_ht_19_5_mbps** | **int** | | [optional] -**num_tx_ht_21_7_mbps** | **int** | | [optional] -**num_tx_ht_26_mbps** | **int** | | [optional] -**num_tx_ht_27_mbps** | **int** | | [optional] -**num_tx_ht_28_7_mbps** | **int** | | [optional] -**num_tx_ht_28_8_mbps** | **int** | | [optional] -**num_tx_ht_29_2_mbps** | **int** | | [optional] -**num_tx_ht_30_mbps** | **int** | | [optional] -**num_tx_ht_32_5_mbps** | **int** | | [optional] -**num_tx_ht_39_mbps** | **int** | | [optional] -**num_tx_ht_40_5_mbps** | **int** | | [optional] -**num_tx_ht_43_2_mbps** | **int** | | [optional] -**num_tx_ht_45_mbps** | **int** | | [optional] -**num_tx_ht_52_mbps** | **int** | | [optional] -**num_tx_ht_54_mbps** | **int** | | [optional] -**num_tx_ht_57_5_mbps** | **int** | | [optional] -**num_tx_ht_57_7_mbps** | **int** | | [optional] -**num_tx_ht_58_5_mbps** | **int** | | [optional] -**num_tx_ht_60_mbps** | **int** | | [optional] -**num_tx_ht_65_mbps** | **int** | | [optional] -**num_tx_ht_72_1_mbps** | **int** | | [optional] -**num_tx_ht_78_mbps** | **int** | | [optional] -**num_tx_ht_81_mbps** | **int** | | [optional] -**num_tx_ht_86_6_mbps** | **int** | | [optional] -**num_tx_ht_86_8_mbps** | **int** | | [optional] -**num_tx_ht_87_8_mbps** | **int** | | [optional] -**num_tx_ht_90_mbps** | **int** | | [optional] -**num_tx_ht_97_5_mbps** | **int** | | [optional] -**num_tx_ht_104_mbps** | **int** | | [optional] -**num_tx_ht_108_mbps** | **int** | | [optional] -**num_tx_ht_115_5_mbps** | **int** | | [optional] -**num_tx_ht_117_mbps** | **int** | | [optional] -**num_tx_ht_117_1_mbps** | **int** | | [optional] -**num_tx_ht_120_mbps** | **int** | | [optional] -**num_tx_ht_121_5_mbps** | **int** | | [optional] -**num_tx_ht_130_mbps** | **int** | | [optional] -**num_tx_ht_130_3_mbps** | **int** | | [optional] -**num_tx_ht_135_mbps** | **int** | | [optional] -**num_tx_ht_144_3_mbps** | **int** | | [optional] -**num_tx_ht_150_mbps** | **int** | | [optional] -**num_tx_ht_156_mbps** | **int** | | [optional] -**num_tx_ht_162_mbps** | **int** | | [optional] -**num_tx_ht_173_1_mbps** | **int** | | [optional] -**num_tx_ht_173_3_mbps** | **int** | | [optional] -**num_tx_ht_175_5_mbps** | **int** | | [optional] -**num_tx_ht_180_mbps** | **int** | | [optional] -**num_tx_ht_195_mbps** | **int** | | [optional] -**num_tx_ht_200_mbps** | **int** | | [optional] -**num_tx_ht_208_mbps** | **int** | | [optional] -**num_tx_ht_216_mbps** | **int** | | [optional] -**num_tx_ht_216_6_mbps** | **int** | | [optional] -**num_tx_ht_231_1_mbps** | **int** | | [optional] -**num_tx_ht_234_mbps** | **int** | | [optional] -**num_tx_ht_240_mbps** | **int** | | [optional] -**num_tx_ht_243_mbps** | **int** | | [optional] -**num_tx_ht_260_mbps** | **int** | | [optional] -**num_tx_ht_263_2_mbps** | **int** | | [optional] -**num_tx_ht_270_mbps** | **int** | | [optional] -**num_tx_ht_288_7_mbps** | **int** | | [optional] -**num_tx_ht_288_8_mbps** | **int** | | [optional] -**num_tx_ht_292_5_mbps** | **int** | | [optional] -**num_tx_ht_300_mbps** | **int** | | [optional] -**num_tx_ht_312_mbps** | **int** | | [optional] -**num_tx_ht_324_mbps** | **int** | | [optional] -**num_tx_ht_325_mbps** | **int** | | [optional] -**num_tx_ht_346_7_mbps** | **int** | | [optional] -**num_tx_ht_351_mbps** | **int** | | [optional] -**num_tx_ht_351_2_mbps** | **int** | | [optional] -**num_tx_ht_360_mbps** | **int** | | [optional] -**num_rx_ht_6_5_mbps** | **int** | | [optional] -**num_rx_ht_7_1_mbps** | **int** | | [optional] -**num_rx_ht_13_mbps** | **int** | | [optional] -**num_rx_ht_13_5_mbps** | **int** | | [optional] -**num_rx_ht_14_3_mbps** | **int** | | [optional] -**num_rx_ht_15_mbps** | **int** | | [optional] -**num_rx_ht_19_5_mbps** | **int** | | [optional] -**num_rx_ht_21_7_mbps** | **int** | | [optional] -**num_rx_ht_26_mbps** | **int** | | [optional] -**num_rx_ht_27_mbps** | **int** | | [optional] -**num_rx_ht_28_7_mbps** | **int** | | [optional] -**num_rx_ht_28_8_mbps** | **int** | | [optional] -**num_rx_ht_29_2_mbps** | **int** | | [optional] -**num_rx_ht_30_mbps** | **int** | | [optional] -**num_rx_ht_32_5_mbps** | **int** | | [optional] -**num_rx_ht_39_mbps** | **int** | | [optional] -**num_rx_ht_40_5_mbps** | **int** | | [optional] -**num_rx_ht_43_2_mbps** | **int** | | [optional] -**num_rx_ht_45_mbps** | **int** | | [optional] -**num_rx_ht_52_mbps** | **int** | | [optional] -**num_rx_ht_54_mbps** | **int** | | [optional] -**num_rx_ht_57_5_mbps** | **int** | | [optional] -**num_rx_ht_57_7_mbps** | **int** | | [optional] -**num_rx_ht_58_5_mbps** | **int** | | [optional] -**num_rx_ht_60_mbps** | **int** | | [optional] -**num_rx_ht_65_mbps** | **int** | | [optional] -**num_rx_ht_72_1_mbps** | **int** | | [optional] -**num_rx_ht_78_mbps** | **int** | | [optional] -**num_rx_ht_81_mbps** | **int** | | [optional] -**num_rx_ht_86_6_mbps** | **int** | | [optional] -**num_rx_ht_86_8_mbps** | **int** | | [optional] -**num_rx_ht_87_8_mbps** | **int** | | [optional] -**num_rx_ht_90_mbps** | **int** | | [optional] -**num_rx_ht_97_5_mbps** | **int** | | [optional] -**num_rx_ht_104_mbps** | **int** | | [optional] -**num_rx_ht_108_mbps** | **int** | | [optional] -**num_rx_ht_115_5_mbps** | **int** | | [optional] -**num_rx_ht_117_mbps** | **int** | | [optional] -**num_rx_ht_117_1_mbps** | **int** | | [optional] -**num_rx_ht_120_mbps** | **int** | | [optional] -**num_rx_ht_121_5_mbps** | **int** | | [optional] -**num_rx_ht_130_mbps** | **int** | | [optional] -**num_rx_ht_130_3_mbps** | **int** | | [optional] -**num_rx_ht_135_mbps** | **int** | | [optional] -**num_rx_ht_144_3_mbps** | **int** | | [optional] -**num_rx_ht_150_mbps** | **int** | | [optional] -**num_rx_ht_156_mbps** | **int** | | [optional] -**num_rx_ht_162_mbps** | **int** | | [optional] -**num_rx_ht_173_1_mbps** | **int** | | [optional] -**num_rx_ht_173_3_mbps** | **int** | | [optional] -**num_rx_ht_175_5_mbps** | **int** | | [optional] -**num_rx_ht_180_mbps** | **int** | | [optional] -**num_rx_ht_195_mbps** | **int** | | [optional] -**num_rx_ht_200_mbps** | **int** | | [optional] -**num_rx_ht_208_mbps** | **int** | | [optional] -**num_rx_ht_216_mbps** | **int** | | [optional] -**num_rx_ht_216_6_mbps** | **int** | | [optional] -**num_rx_ht_231_1_mbps** | **int** | | [optional] -**num_rx_ht_234_mbps** | **int** | | [optional] -**num_rx_ht_240_mbps** | **int** | | [optional] -**num_rx_ht_243_mbps** | **int** | | [optional] -**num_rx_ht_260_mbps** | **int** | | [optional] -**num_rx_ht_263_2_mbps** | **int** | | [optional] -**num_rx_ht_270_mbps** | **int** | | [optional] -**num_rx_ht_288_7_mbps** | **int** | | [optional] -**num_rx_ht_288_8_mbps** | **int** | | [optional] -**num_rx_ht_292_5_mbps** | **int** | | [optional] -**num_rx_ht_300_mbps** | **int** | | [optional] -**num_rx_ht_312_mbps** | **int** | | [optional] -**num_rx_ht_324_mbps** | **int** | | [optional] -**num_rx_ht_325_mbps** | **int** | | [optional] -**num_rx_ht_346_7_mbps** | **int** | | [optional] -**num_rx_ht_351_mbps** | **int** | | [optional] -**num_rx_ht_351_2_mbps** | **int** | | [optional] -**num_rx_ht_360_mbps** | **int** | | [optional] -**num_tx_vht_292_5_mbps** | **int** | | [optional] -**num_tx_vht_325_mbps** | **int** | | [optional] -**num_tx_vht_364_5_mbps** | **int** | | [optional] -**num_tx_vht_390_mbps** | **int** | | [optional] -**num_tx_vht_400_mbps** | **int** | | [optional] -**num_tx_vht_403_mbps** | **int** | | [optional] -**num_tx_vht_405_mbps** | **int** | | [optional] -**num_tx_vht_432_mbps** | **int** | | [optional] -**num_tx_vht_433_2_mbps** | **int** | | [optional] -**num_tx_vht_450_mbps** | **int** | | [optional] -**num_tx_vht_468_mbps** | **int** | | [optional] -**num_tx_vht_480_mbps** | **int** | | [optional] -**num_tx_vht_486_mbps** | **int** | | [optional] -**num_tx_vht_520_mbps** | **int** | | [optional] -**num_tx_vht_526_5_mbps** | **int** | | [optional] -**num_tx_vht_540_mbps** | **int** | | [optional] -**num_tx_vht_585_mbps** | **int** | | [optional] -**num_tx_vht_600_mbps** | **int** | | [optional] -**num_tx_vht_648_mbps** | **int** | | [optional] -**num_tx_vht_650_mbps** | **int** | | [optional] -**num_tx_vht_702_mbps** | **int** | | [optional] -**num_tx_vht_720_mbps** | **int** | | [optional] -**num_tx_vht_780_mbps** | **int** | | [optional] -**num_tx_vht_800_mbps** | **int** | | [optional] -**num_tx_vht_866_7_mbps** | **int** | | [optional] -**num_tx_vht_877_5_mbps** | **int** | | [optional] -**num_tx_vht_936_mbps** | **int** | | [optional] -**num_tx_vht_975_mbps** | **int** | | [optional] -**num_tx_vht_1040_mbps** | **int** | | [optional] -**num_tx_vht_1053_mbps** | **int** | | [optional] -**num_tx_vht_1053_1_mbps** | **int** | | [optional] -**num_tx_vht_1170_mbps** | **int** | | [optional] -**num_tx_vht_1300_mbps** | **int** | | [optional] -**num_tx_vht_1404_mbps** | **int** | | [optional] -**num_tx_vht_1560_mbps** | **int** | | [optional] -**num_tx_vht_1579_5_mbps** | **int** | | [optional] -**num_tx_vht_1733_1_mbps** | **int** | | [optional] -**num_tx_vht_1733_4_mbps** | **int** | | [optional] -**num_tx_vht_1755_mbps** | **int** | | [optional] -**num_tx_vht_1872_mbps** | **int** | | [optional] -**num_tx_vht_1950_mbps** | **int** | | [optional] -**num_tx_vht_2080_mbps** | **int** | | [optional] -**num_tx_vht_2106_mbps** | **int** | | [optional] -**num_tx_vht_2340_mbps** | **int** | | [optional] -**num_tx_vht_2600_mbps** | **int** | | [optional] -**num_tx_vht_2808_mbps** | **int** | | [optional] -**num_tx_vht_3120_mbps** | **int** | | [optional] -**num_tx_vht_3466_8_mbps** | **int** | | [optional] -**num_rx_vht_292_5_mbps** | **int** | | [optional] -**num_rx_vht_325_mbps** | **int** | | [optional] -**num_rx_vht_364_5_mbps** | **int** | | [optional] -**num_rx_vht_390_mbps** | **int** | | [optional] -**num_rx_vht_400_mbps** | **int** | | [optional] -**num_rx_vht_403_mbps** | **int** | | [optional] -**num_rx_vht_405_mbps** | **int** | | [optional] -**num_rx_vht_432_mbps** | **int** | | [optional] -**num_rx_vht_433_2_mbps** | **int** | | [optional] -**num_rx_vht_450_mbps** | **int** | | [optional] -**num_rx_vht_468_mbps** | **int** | | [optional] -**num_rx_vht_480_mbps** | **int** | | [optional] -**num_rx_vht_486_mbps** | **int** | | [optional] -**num_rx_vht_520_mbps** | **int** | | [optional] -**num_rx_vht_526_5_mbps** | **int** | | [optional] -**num_rx_vht_540_mbps** | **int** | | [optional] -**num_rx_vht_585_mbps** | **int** | | [optional] -**num_rx_vht_600_mbps** | **int** | | [optional] -**num_rx_vht_648_mbps** | **int** | | [optional] -**num_rx_vht_650_mbps** | **int** | | [optional] -**num_rx_vht_702_mbps** | **int** | | [optional] -**num_rx_vht_720_mbps** | **int** | | [optional] -**num_rx_vht_780_mbps** | **int** | | [optional] -**num_rx_vht_800_mbps** | **int** | | [optional] -**num_rx_vht_866_7_mbps** | **int** | | [optional] -**num_rx_vht_877_5_mbps** | **int** | | [optional] -**num_rx_vht_936_mbps** | **int** | | [optional] -**num_rx_vht_975_mbps** | **int** | | [optional] -**num_rx_vht_1040_mbps** | **int** | | [optional] -**num_rx_vht_1053_mbps** | **int** | | [optional] -**num_rx_vht_1053_1_mbps** | **int** | | [optional] -**num_rx_vht_1170_mbps** | **int** | | [optional] -**num_rx_vht_1300_mbps** | **int** | | [optional] -**num_rx_vht_1404_mbps** | **int** | | [optional] -**num_rx_vht_1560_mbps** | **int** | | [optional] -**num_rx_vht_1579_5_mbps** | **int** | | [optional] -**num_rx_vht_1733_1_mbps** | **int** | | [optional] -**num_rx_vht_1733_4_mbps** | **int** | | [optional] -**num_rx_vht_1755_mbps** | **int** | | [optional] -**num_rx_vht_1872_mbps** | **int** | | [optional] -**num_rx_vht_1950_mbps** | **int** | | [optional] -**num_rx_vht_2080_mbps** | **int** | | [optional] -**num_rx_vht_2106_mbps** | **int** | | [optional] -**num_rx_vht_2340_mbps** | **int** | | [optional] -**num_rx_vht_2600_mbps** | **int** | | [optional] -**num_rx_vht_2808_mbps** | **int** | | [optional] -**num_rx_vht_3120_mbps** | **int** | | [optional] -**num_rx_vht_3466_8_mbps** | **int** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/RadioStatisticsPerRadioMap.md b/libs/cloudapi/cloudsdk/docs/RadioStatisticsPerRadioMap.md deleted file mode 100644 index fbe5bcbf8..000000000 --- a/libs/cloudapi/cloudsdk/docs/RadioStatisticsPerRadioMap.md +++ /dev/null @@ -1,12 +0,0 @@ -# RadioStatisticsPerRadioMap - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**is5_g_hz** | [**RadioStatistics**](RadioStatistics.md) | | [optional] -**is5_g_hz_u** | [**RadioStatistics**](RadioStatistics.md) | | [optional] -**is5_g_hz_l** | [**RadioStatistics**](RadioStatistics.md) | | [optional] -**is2dot4_g_hz** | [**RadioStatistics**](RadioStatistics.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/RadioType.md b/libs/cloudapi/cloudsdk/docs/RadioType.md deleted file mode 100644 index 56bfa4c54..000000000 --- a/libs/cloudapi/cloudsdk/docs/RadioType.md +++ /dev/null @@ -1,8 +0,0 @@ -# RadioType - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/RadioUtilization.md b/libs/cloudapi/cloudsdk/docs/RadioUtilization.md deleted file mode 100644 index 6b8499900..000000000 --- a/libs/cloudapi/cloudsdk/docs/RadioUtilization.md +++ /dev/null @@ -1,16 +0,0 @@ -# RadioUtilization - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**assoc_client_tx** | **int** | | [optional] -**unassoc_client_tx** | **int** | | [optional] -**assoc_client_rx** | **int** | | [optional] -**unassoc_client_rx** | **int** | | [optional] -**non_wifi** | **int** | | [optional] -**timestamp_seconds** | **int** | | [optional] -**ibss** | **float** | | [optional] -**un_available_capacity** | **float** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/RadioUtilizationDetails.md b/libs/cloudapi/cloudsdk/docs/RadioUtilizationDetails.md deleted file mode 100644 index 59398cce3..000000000 --- a/libs/cloudapi/cloudsdk/docs/RadioUtilizationDetails.md +++ /dev/null @@ -1,9 +0,0 @@ -# RadioUtilizationDetails - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**per_radio_details** | [**RadioUtilizationPerRadioDetailsMap**](RadioUtilizationPerRadioDetailsMap.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/RadioUtilizationPerRadioDetails.md b/libs/cloudapi/cloudsdk/docs/RadioUtilizationPerRadioDetails.md deleted file mode 100644 index 7697dd6fc..000000000 --- a/libs/cloudapi/cloudsdk/docs/RadioUtilizationPerRadioDetails.md +++ /dev/null @@ -1,13 +0,0 @@ -# RadioUtilizationPerRadioDetails - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**avg_assoc_client_tx** | **int** | | [optional] -**avg_unassoc_client_tx** | **int** | | [optional] -**avg_assoc_client_rx** | **int** | | [optional] -**avg_unassoc_client_rx** | **int** | | [optional] -**avg_non_wifi** | **int** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/RadioUtilizationPerRadioDetailsMap.md b/libs/cloudapi/cloudsdk/docs/RadioUtilizationPerRadioDetailsMap.md deleted file mode 100644 index 8583f76ee..000000000 --- a/libs/cloudapi/cloudsdk/docs/RadioUtilizationPerRadioDetailsMap.md +++ /dev/null @@ -1,12 +0,0 @@ -# RadioUtilizationPerRadioDetailsMap - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**is5_g_hz** | [**RadioUtilizationPerRadioDetails**](RadioUtilizationPerRadioDetails.md) | | [optional] -**is5_g_hz_u** | [**RadioUtilizationPerRadioDetails**](RadioUtilizationPerRadioDetails.md) | | [optional] -**is5_g_hz_l** | [**RadioUtilizationPerRadioDetails**](RadioUtilizationPerRadioDetails.md) | | [optional] -**is2dot4_g_hz** | [**RadioUtilizationPerRadioDetails**](RadioUtilizationPerRadioDetails.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/RadioUtilizationReport.md b/libs/cloudapi/cloudsdk/docs/RadioUtilizationReport.md deleted file mode 100644 index f09b26556..000000000 --- a/libs/cloudapi/cloudsdk/docs/RadioUtilizationReport.md +++ /dev/null @@ -1,13 +0,0 @@ -# RadioUtilizationReport - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**status_data_type** | **str** | | [optional] -**radio_utilization** | [**EquipmentPerRadioUtilizationDetailsMap**](EquipmentPerRadioUtilizationDetailsMap.md) | | [optional] -**capacity_details** | [**EquipmentCapacityDetailsMap**](EquipmentCapacityDetailsMap.md) | | [optional] -**avg_noise_floor** | [**IntegerPerRadioTypeMap**](IntegerPerRadioTypeMap.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/RadiusAuthenticationMethod.md b/libs/cloudapi/cloudsdk/docs/RadiusAuthenticationMethod.md deleted file mode 100644 index 92fb31c9a..000000000 --- a/libs/cloudapi/cloudsdk/docs/RadiusAuthenticationMethod.md +++ /dev/null @@ -1,8 +0,0 @@ -# RadiusAuthenticationMethod - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/RadiusDetails.md b/libs/cloudapi/cloudsdk/docs/RadiusDetails.md deleted file mode 100644 index 8ce4355ff..000000000 --- a/libs/cloudapi/cloudsdk/docs/RadiusDetails.md +++ /dev/null @@ -1,10 +0,0 @@ -# RadiusDetails - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**StatusCode**](StatusCode.md) | | [optional] -**radius_server_details** | [**list[RadiusServerDetails]**](RadiusServerDetails.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/RadiusMetrics.md b/libs/cloudapi/cloudsdk/docs/RadiusMetrics.md deleted file mode 100644 index 72e5bc72c..000000000 --- a/libs/cloudapi/cloudsdk/docs/RadiusMetrics.md +++ /dev/null @@ -1,11 +0,0 @@ -# RadiusMetrics - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**server_ip** | **str** | | [optional] -**number_of_no_answer** | **int** | | [optional] -**latency_ms** | [**MinMaxAvgValueInt**](MinMaxAvgValueInt.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/RadiusNasConfiguration.md b/libs/cloudapi/cloudsdk/docs/RadiusNasConfiguration.md deleted file mode 100644 index 620310fa9..000000000 --- a/libs/cloudapi/cloudsdk/docs/RadiusNasConfiguration.md +++ /dev/null @@ -1,13 +0,0 @@ -# RadiusNasConfiguration - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**nas_client_id** | **str** | String identifying the NAS (AP) – Default shall be set to the AP BASE MAC Address for the WAN Interface | [optional] [default to 'DEFAULT'] -**nas_client_ip** | **str** | NAS-IP AVP - Default it shall be the WAN IP address of the AP when AP communicates with RADIUS server directly. | [optional] [default to 'WAN_IP'] -**user_defined_nas_id** | **str** | user entered string if the nasClientId is 'USER_DEFINED'. This should not be enabled and will not be passed to the AP unless the nasClientId is USER_DEFINED. | [optional] -**user_defined_nas_ip** | **str** | user entered IP address if the nasClientIp is 'USER_DEFINED'. This should not be enabled and will not be passed to the AP unless the nasClientIp is USER_DEFINED. | [optional] -**operator_id** | **str** | Carries the operator namespace identifier and the operator name. The operator name is combined with the namespace identifier to uniquely identify the owner of an access network. The value of the Operator-Name is a non-NULL terminated text. This is not to be confused with the Passpoint Operator Domain | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/RadiusProfile.md b/libs/cloudapi/cloudsdk/docs/RadiusProfile.md deleted file mode 100644 index 6f5a6a0c0..000000000 --- a/libs/cloudapi/cloudsdk/docs/RadiusProfile.md +++ /dev/null @@ -1,13 +0,0 @@ -# RadiusProfile - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | [optional] -**primary_radius_auth_server** | [**RadiusServer**](RadiusServer.md) | | [optional] -**secondary_radius_auth_server** | [**RadiusServer**](RadiusServer.md) | | [optional] -**primary_radius_accounting_server** | [**RadiusServer**](RadiusServer.md) | | [optional] -**secondary_radius_accounting_server** | [**RadiusServer**](RadiusServer.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/RadiusServer.md b/libs/cloudapi/cloudsdk/docs/RadiusServer.md deleted file mode 100644 index 4304332d2..000000000 --- a/libs/cloudapi/cloudsdk/docs/RadiusServer.md +++ /dev/null @@ -1,12 +0,0 @@ -# RadiusServer - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ip_address** | **str** | | [optional] -**secret** | **str** | | [optional] -**port** | **int** | | [optional] -**timeout** | **int** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/RadiusServerDetails.md b/libs/cloudapi/cloudsdk/docs/RadiusServerDetails.md deleted file mode 100644 index ad65a3f7c..000000000 --- a/libs/cloudapi/cloudsdk/docs/RadiusServerDetails.md +++ /dev/null @@ -1,10 +0,0 @@ -# RadiusServerDetails - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**address** | **str** | | [optional] -**radius_latency** | [**MinMaxAvgValueInt**](MinMaxAvgValueInt.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/RealTimeEvent.md b/libs/cloudapi/cloudsdk/docs/RealTimeEvent.md deleted file mode 100644 index e82d2be4e..000000000 --- a/libs/cloudapi/cloudsdk/docs/RealTimeEvent.md +++ /dev/null @@ -1,13 +0,0 @@ -# RealTimeEvent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**all_of** | [**SystemEvent**](SystemEvent.md) | | [optional] -**event_timestamp** | **int** | | [optional] -**customer_id** | **int** | | [optional] -**equipment_id** | **int** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/RealTimeSipCallEventWithStats.md b/libs/cloudapi/cloudsdk/docs/RealTimeSipCallEventWithStats.md deleted file mode 100644 index 7bab24c33..000000000 --- a/libs/cloudapi/cloudsdk/docs/RealTimeSipCallEventWithStats.md +++ /dev/null @@ -1,18 +0,0 @@ -# RealTimeSipCallEventWithStats - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**all_of** | [**RealTimeEvent**](RealTimeEvent.md) | | [optional] -**sip_call_id** | **int** | | [optional] -**association_id** | **int** | | [optional] -**client_mac_address** | [**MacAddress**](MacAddress.md) | | [optional] -**radio_type** | [**RadioType**](RadioType.md) | | [optional] -**statuses** | [**list[RtpFlowStats]**](RtpFlowStats.md) | | [optional] -**channel** | **int** | | [optional] -**codecs** | **list[str]** | | [optional] -**provider_domain** | **str** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/RealTimeSipCallReportEvent.md b/libs/cloudapi/cloudsdk/docs/RealTimeSipCallReportEvent.md deleted file mode 100644 index 4bb5e1953..000000000 --- a/libs/cloudapi/cloudsdk/docs/RealTimeSipCallReportEvent.md +++ /dev/null @@ -1,11 +0,0 @@ -# RealTimeSipCallReportEvent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**all_of** | [**RealTimeSipCallEventWithStats**](RealTimeSipCallEventWithStats.md) | | [optional] -**report_reason** | [**SIPCallReportReason**](SIPCallReportReason.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/RealTimeSipCallStartEvent.md b/libs/cloudapi/cloudsdk/docs/RealTimeSipCallStartEvent.md deleted file mode 100644 index 8857c016a..000000000 --- a/libs/cloudapi/cloudsdk/docs/RealTimeSipCallStartEvent.md +++ /dev/null @@ -1,18 +0,0 @@ -# RealTimeSipCallStartEvent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**all_of** | [**RealTimeEvent**](RealTimeEvent.md) | | [optional] -**sip_call_id** | **int** | | [optional] -**association_id** | **int** | | [optional] -**mac_address** | [**MacAddress**](MacAddress.md) | | [optional] -**radio_type** | [**RadioType**](RadioType.md) | | [optional] -**channel** | **int** | | [optional] -**codecs** | **list[str]** | | [optional] -**provider_domain** | **str** | | [optional] -**device_info** | **str** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/RealTimeSipCallStopEvent.md b/libs/cloudapi/cloudsdk/docs/RealTimeSipCallStopEvent.md deleted file mode 100644 index 5f40b7084..000000000 --- a/libs/cloudapi/cloudsdk/docs/RealTimeSipCallStopEvent.md +++ /dev/null @@ -1,12 +0,0 @@ -# RealTimeSipCallStopEvent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**all_of** | [**RealTimeEvent**](RealTimeEvent.md) | | [optional] -**call_duration** | **int** | | [optional] -**reason** | [**SipCallStopReason**](SipCallStopReason.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/RealTimeStreamingStartEvent.md b/libs/cloudapi/cloudsdk/docs/RealTimeStreamingStartEvent.md deleted file mode 100644 index 36a2c87d1..000000000 --- a/libs/cloudapi/cloudsdk/docs/RealTimeStreamingStartEvent.md +++ /dev/null @@ -1,16 +0,0 @@ -# RealTimeStreamingStartEvent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**all_of** | [**RealTimeEvent**](RealTimeEvent.md) | | [optional] -**video_session_id** | **int** | | [optional] -**session_id** | **int** | | [optional] -**client_mac** | [**MacAddress**](MacAddress.md) | | [optional] -**server_ip** | **str** | string representing InetAddress | [optional] -**server_dns_name** | **str** | | [optional] -**type** | [**StreamingVideoType**](StreamingVideoType.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/RealTimeStreamingStartSessionEvent.md b/libs/cloudapi/cloudsdk/docs/RealTimeStreamingStartSessionEvent.md deleted file mode 100644 index fd1eb3824..000000000 --- a/libs/cloudapi/cloudsdk/docs/RealTimeStreamingStartSessionEvent.md +++ /dev/null @@ -1,15 +0,0 @@ -# RealTimeStreamingStartSessionEvent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**all_of** | [**RealTimeEvent**](RealTimeEvent.md) | | [optional] -**video_session_id** | **int** | | [optional] -**session_id** | **int** | | [optional] -**client_mac** | [**MacAddress**](MacAddress.md) | | [optional] -**server_ip** | **str** | string representing InetAddress | [optional] -**type** | [**StreamingVideoType**](StreamingVideoType.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/RealTimeStreamingStopEvent.md b/libs/cloudapi/cloudsdk/docs/RealTimeStreamingStopEvent.md deleted file mode 100644 index 9f7e6685e..000000000 --- a/libs/cloudapi/cloudsdk/docs/RealTimeStreamingStopEvent.md +++ /dev/null @@ -1,17 +0,0 @@ -# RealTimeStreamingStopEvent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**all_of** | [**RealTimeEvent**](RealTimeEvent.md) | | [optional] -**video_session_id** | **int** | | [optional] -**session_id** | **int** | | [optional] -**client_mac** | [**MacAddress**](MacAddress.md) | | [optional] -**server_ip** | **str** | string representing InetAddress | [optional] -**total_bytes** | **int** | | [optional] -**type** | [**StreamingVideoType**](StreamingVideoType.md) | | [optional] -**duration_in_secs** | **int** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/RealtimeChannelHopEvent.md b/libs/cloudapi/cloudsdk/docs/RealtimeChannelHopEvent.md deleted file mode 100644 index 9244d7b5c..000000000 --- a/libs/cloudapi/cloudsdk/docs/RealtimeChannelHopEvent.md +++ /dev/null @@ -1,14 +0,0 @@ -# RealtimeChannelHopEvent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**all_of** | [**RealTimeEvent**](RealTimeEvent.md) | | [optional] -**old_channel** | **int** | | [optional] -**new_channel** | **int** | | [optional] -**reason_code** | [**ChannelHopReason**](ChannelHopReason.md) | | [optional] -**radio_type** | [**RadioType**](RadioType.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/RfConfigMap.md b/libs/cloudapi/cloudsdk/docs/RfConfigMap.md deleted file mode 100644 index 102da9fc4..000000000 --- a/libs/cloudapi/cloudsdk/docs/RfConfigMap.md +++ /dev/null @@ -1,12 +0,0 @@ -# RfConfigMap - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**is2dot4_g_hz** | [**RfElementConfiguration**](RfElementConfiguration.md) | | [optional] -**is5_g_hz** | [**RfElementConfiguration**](RfElementConfiguration.md) | | [optional] -**is5_g_hz_u** | [**RfElementConfiguration**](RfElementConfiguration.md) | | [optional] -**is5_g_hz_l** | [**RfElementConfiguration**](RfElementConfiguration.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/RfConfiguration.md b/libs/cloudapi/cloudsdk/docs/RfConfiguration.md deleted file mode 100644 index f2f1595c5..000000000 --- a/libs/cloudapi/cloudsdk/docs/RfConfiguration.md +++ /dev/null @@ -1,9 +0,0 @@ -# RfConfiguration - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**rf_config_map** | [**RfConfigMap**](RfConfigMap.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/RfElementConfiguration.md b/libs/cloudapi/cloudsdk/docs/RfElementConfiguration.md deleted file mode 100644 index 31c740172..000000000 --- a/libs/cloudapi/cloudsdk/docs/RfElementConfiguration.md +++ /dev/null @@ -1,32 +0,0 @@ -# RfElementConfiguration - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | [optional] -**rf** | **str** | | [optional] -**radio_type** | [**RadioType**](RadioType.md) | | [optional] -**radio_mode** | [**RadioMode**](RadioMode.md) | | [optional] -**auto_channel_selection** | **bool** | | [optional] -**beacon_interval** | **int** | | [optional] -**force_scan_during_voice** | [**StateSetting**](StateSetting.md) | | [optional] -**rts_cts_threshold** | **int** | | [optional] -**channel_bandwidth** | [**ChannelBandwidth**](ChannelBandwidth.md) | | [optional] -**mimo_mode** | [**MimoMode**](MimoMode.md) | | [optional] -**max_num_clients** | **int** | | [optional] -**multicast_rate** | [**MulticastRate**](MulticastRate.md) | | [optional] -**active_scan_settings** | [**ActiveScanSettings**](ActiveScanSettings.md) | | [optional] -**management_rate** | [**ManagementRate**](ManagementRate.md) | | [optional] -**rx_cell_size_db** | **int** | | [optional] -**probe_response_threshold_db** | **int** | | [optional] -**client_disconnect_threshold_db** | **int** | | [optional] -**eirp_tx_power** | **int** | | [optional] [default to 18] -**best_ap_enabled** | **bool** | | [optional] -**neighbouring_list_ap_config** | [**NeighbouringAPListConfiguration**](NeighbouringAPListConfiguration.md) | | [optional] -**min_auto_cell_size** | **int** | | [optional] -**perimeter_detection_enabled** | **bool** | | [optional] -**channel_hop_settings** | [**ChannelHopSettings**](ChannelHopSettings.md) | | [optional] -**best_ap_settings** | [**RadioBestApSettings**](RadioBestApSettings.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/RoutingAddedEvent.md b/libs/cloudapi/cloudsdk/docs/RoutingAddedEvent.md deleted file mode 100644 index 444286caf..000000000 --- a/libs/cloudapi/cloudsdk/docs/RoutingAddedEvent.md +++ /dev/null @@ -1,13 +0,0 @@ -# RoutingAddedEvent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**event_timestamp** | **int** | | [optional] -**customer_id** | **int** | | [optional] -**equipment_id** | **int** | | [optional] -**payload** | [**EquipmentRoutingRecord**](EquipmentRoutingRecord.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/RoutingChangedEvent.md b/libs/cloudapi/cloudsdk/docs/RoutingChangedEvent.md deleted file mode 100644 index 6e6e3e495..000000000 --- a/libs/cloudapi/cloudsdk/docs/RoutingChangedEvent.md +++ /dev/null @@ -1,13 +0,0 @@ -# RoutingChangedEvent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**event_timestamp** | **int** | | [optional] -**customer_id** | **int** | | [optional] -**equipment_id** | **int** | | [optional] -**payload** | [**EquipmentRoutingRecord**](EquipmentRoutingRecord.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/RoutingRemovedEvent.md b/libs/cloudapi/cloudsdk/docs/RoutingRemovedEvent.md deleted file mode 100644 index 2728c3f2a..000000000 --- a/libs/cloudapi/cloudsdk/docs/RoutingRemovedEvent.md +++ /dev/null @@ -1,13 +0,0 @@ -# RoutingRemovedEvent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**event_timestamp** | **int** | | [optional] -**customer_id** | **int** | | [optional] -**equipment_id** | **int** | | [optional] -**payload** | [**EquipmentRoutingRecord**](EquipmentRoutingRecord.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/RrmBulkUpdateApDetails.md b/libs/cloudapi/cloudsdk/docs/RrmBulkUpdateApDetails.md deleted file mode 100644 index 59d995622..000000000 --- a/libs/cloudapi/cloudsdk/docs/RrmBulkUpdateApDetails.md +++ /dev/null @@ -1,15 +0,0 @@ -# RrmBulkUpdateApDetails - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**channel_number** | **int** | | [optional] -**backup_channel_number** | **int** | | [optional] -**rx_cell_size_db** | [**SourceSelectionValue**](SourceSelectionValue.md) | | [optional] -**probe_response_threshold_db** | [**SourceSelectionValue**](SourceSelectionValue.md) | | [optional] -**client_disconnect_threshold_db** | [**SourceSelectionValue**](SourceSelectionValue.md) | | [optional] -**drop_in_snr_percentage** | **int** | | [optional] -**min_load_factor** | **int** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/RtlsSettings.md b/libs/cloudapi/cloudsdk/docs/RtlsSettings.md deleted file mode 100644 index 29dc79c7b..000000000 --- a/libs/cloudapi/cloudsdk/docs/RtlsSettings.md +++ /dev/null @@ -1,11 +0,0 @@ -# RtlsSettings - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**enabled** | **bool** | | [optional] -**srv_host_ip** | **str** | | [optional] -**srv_host_port** | **int** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/RtpFlowDirection.md b/libs/cloudapi/cloudsdk/docs/RtpFlowDirection.md deleted file mode 100644 index e9b27fadc..000000000 --- a/libs/cloudapi/cloudsdk/docs/RtpFlowDirection.md +++ /dev/null @@ -1,8 +0,0 @@ -# RtpFlowDirection - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/RtpFlowStats.md b/libs/cloudapi/cloudsdk/docs/RtpFlowStats.md deleted file mode 100644 index 4fa310f50..000000000 --- a/libs/cloudapi/cloudsdk/docs/RtpFlowStats.md +++ /dev/null @@ -1,16 +0,0 @@ -# RtpFlowStats - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**direction** | [**RtpFlowDirection**](RtpFlowDirection.md) | | [optional] -**flow_type** | [**RtpFlowType**](RtpFlowType.md) | | [optional] -**latency** | **int** | | [optional] -**jitter** | **int** | | [optional] -**packet_loss_consecutive** | **int** | | [optional] -**code** | **int** | | [optional] -**mos_multiplied_by100** | **int** | | [optional] -**block_codecs** | **list[str]** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/RtpFlowType.md b/libs/cloudapi/cloudsdk/docs/RtpFlowType.md deleted file mode 100644 index 6cec2fda0..000000000 --- a/libs/cloudapi/cloudsdk/docs/RtpFlowType.md +++ /dev/null @@ -1,8 +0,0 @@ -# RtpFlowType - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/SIPCallReportReason.md b/libs/cloudapi/cloudsdk/docs/SIPCallReportReason.md deleted file mode 100644 index 2452f3690..000000000 --- a/libs/cloudapi/cloudsdk/docs/SIPCallReportReason.md +++ /dev/null @@ -1,8 +0,0 @@ -# SIPCallReportReason - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ScheduleSetting.md b/libs/cloudapi/cloudsdk/docs/ScheduleSetting.md deleted file mode 100644 index 5e6831f1e..000000000 --- a/libs/cloudapi/cloudsdk/docs/ScheduleSetting.md +++ /dev/null @@ -1,8 +0,0 @@ -# ScheduleSetting - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/SecurityType.md b/libs/cloudapi/cloudsdk/docs/SecurityType.md deleted file mode 100644 index 551509d68..000000000 --- a/libs/cloudapi/cloudsdk/docs/SecurityType.md +++ /dev/null @@ -1,8 +0,0 @@ -# SecurityType - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ServiceAdoptionMetrics.md b/libs/cloudapi/cloudsdk/docs/ServiceAdoptionMetrics.md deleted file mode 100644 index 56776b561..000000000 --- a/libs/cloudapi/cloudsdk/docs/ServiceAdoptionMetrics.md +++ /dev/null @@ -1,18 +0,0 @@ -# ServiceAdoptionMetrics - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**year** | **int** | | [optional] -**month** | **int** | | [optional] -**week_of_year** | **int** | | [optional] -**day_of_year** | **int** | | [optional] -**customer_id** | **int** | | [optional] -**location_id** | **int** | | [optional] -**equipment_id** | **int** | | [optional] -**num_unique_connected_macs** | **int** | number of unique connected MAC addresses for the data point. Note - this number is accurate only at the lowest level of granularity - per AP per day. In case of aggregations - per location/customer or per week/month - this number is just a sum of corresponding datapoints, and it does not account for non-unique MACs in those cases. | [optional] -**num_bytes_upstream** | **int** | | [optional] -**num_bytes_downstream** | **int** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ServiceAdoptionMetricsApi.md b/libs/cloudapi/cloudsdk/docs/ServiceAdoptionMetricsApi.md deleted file mode 100644 index a99c8e309..000000000 --- a/libs/cloudapi/cloudsdk/docs/ServiceAdoptionMetricsApi.md +++ /dev/null @@ -1,301 +0,0 @@ -# swagger_client.ServiceAdoptionMetricsApi - -All URIs are relative to *https://localhost:9091* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**get_adoption_metrics_all_per_day**](ServiceAdoptionMetricsApi.md#get_adoption_metrics_all_per_day) | **GET** /portal/adoptionMetrics/allPerDay | Get daily service adoption metrics for a given year -[**get_adoption_metrics_all_per_month**](ServiceAdoptionMetricsApi.md#get_adoption_metrics_all_per_month) | **GET** /portal/adoptionMetrics/allPerMonth | Get monthly service adoption metrics for a given year -[**get_adoption_metrics_all_per_week**](ServiceAdoptionMetricsApi.md#get_adoption_metrics_all_per_week) | **GET** /portal/adoptionMetrics/allPerWeek | Get weekly service adoption metrics for a given year -[**get_adoption_metrics_per_customer_per_day**](ServiceAdoptionMetricsApi.md#get_adoption_metrics_per_customer_per_day) | **GET** /portal/adoptionMetrics/perCustomerPerDay | Get daily service adoption metrics for a given year aggregated by customer and filtered by specified customer ids -[**get_adoption_metrics_per_equipment_per_day**](ServiceAdoptionMetricsApi.md#get_adoption_metrics_per_equipment_per_day) | **GET** /portal/adoptionMetrics/perEquipmentPerDay | Get daily service adoption metrics for a given year filtered by specified equipment ids -[**get_adoption_metrics_per_location_per_day**](ServiceAdoptionMetricsApi.md#get_adoption_metrics_per_location_per_day) | **GET** /portal/adoptionMetrics/perLocationPerDay | Get daily service adoption metrics for a given year aggregated by location and filtered by specified location ids - -# **get_adoption_metrics_all_per_day** -> list[ServiceAdoptionMetrics] get_adoption_metrics_all_per_day(year) - -Get daily service adoption metrics for a given year - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.ServiceAdoptionMetricsApi(swagger_client.ApiClient(configuration)) -year = 56 # int | - -try: - # Get daily service adoption metrics for a given year - api_response = api_instance.get_adoption_metrics_all_per_day(year) - pprint(api_response) -except ApiException as e: - print("Exception when calling ServiceAdoptionMetricsApi->get_adoption_metrics_all_per_day: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **year** | **int**| | - -### Return type - -[**list[ServiceAdoptionMetrics]**](ServiceAdoptionMetrics.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_adoption_metrics_all_per_month** -> list[ServiceAdoptionMetrics] get_adoption_metrics_all_per_month(year) - -Get monthly service adoption metrics for a given year - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.ServiceAdoptionMetricsApi(swagger_client.ApiClient(configuration)) -year = 56 # int | - -try: - # Get monthly service adoption metrics for a given year - api_response = api_instance.get_adoption_metrics_all_per_month(year) - pprint(api_response) -except ApiException as e: - print("Exception when calling ServiceAdoptionMetricsApi->get_adoption_metrics_all_per_month: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **year** | **int**| | - -### Return type - -[**list[ServiceAdoptionMetrics]**](ServiceAdoptionMetrics.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_adoption_metrics_all_per_week** -> list[ServiceAdoptionMetrics] get_adoption_metrics_all_per_week(year) - -Get weekly service adoption metrics for a given year - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.ServiceAdoptionMetricsApi(swagger_client.ApiClient(configuration)) -year = 56 # int | - -try: - # Get weekly service adoption metrics for a given year - api_response = api_instance.get_adoption_metrics_all_per_week(year) - pprint(api_response) -except ApiException as e: - print("Exception when calling ServiceAdoptionMetricsApi->get_adoption_metrics_all_per_week: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **year** | **int**| | - -### Return type - -[**list[ServiceAdoptionMetrics]**](ServiceAdoptionMetrics.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_adoption_metrics_per_customer_per_day** -> list[ServiceAdoptionMetrics] get_adoption_metrics_per_customer_per_day(year, customer_ids) - -Get daily service adoption metrics for a given year aggregated by customer and filtered by specified customer ids - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.ServiceAdoptionMetricsApi(swagger_client.ApiClient(configuration)) -year = 56 # int | -customer_ids = [56] # list[int] | filter by customer ids. - -try: - # Get daily service adoption metrics for a given year aggregated by customer and filtered by specified customer ids - api_response = api_instance.get_adoption_metrics_per_customer_per_day(year, customer_ids) - pprint(api_response) -except ApiException as e: - print("Exception when calling ServiceAdoptionMetricsApi->get_adoption_metrics_per_customer_per_day: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **year** | **int**| | - **customer_ids** | [**list[int]**](int.md)| filter by customer ids. | - -### Return type - -[**list[ServiceAdoptionMetrics]**](ServiceAdoptionMetrics.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_adoption_metrics_per_equipment_per_day** -> list[ServiceAdoptionMetrics] get_adoption_metrics_per_equipment_per_day(year, equipment_ids) - -Get daily service adoption metrics for a given year filtered by specified equipment ids - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.ServiceAdoptionMetricsApi(swagger_client.ApiClient(configuration)) -year = 56 # int | -equipment_ids = [56] # list[int] | filter by equipment ids. - -try: - # Get daily service adoption metrics for a given year filtered by specified equipment ids - api_response = api_instance.get_adoption_metrics_per_equipment_per_day(year, equipment_ids) - pprint(api_response) -except ApiException as e: - print("Exception when calling ServiceAdoptionMetricsApi->get_adoption_metrics_per_equipment_per_day: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **year** | **int**| | - **equipment_ids** | [**list[int]**](int.md)| filter by equipment ids. | - -### Return type - -[**list[ServiceAdoptionMetrics]**](ServiceAdoptionMetrics.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_adoption_metrics_per_location_per_day** -> list[ServiceAdoptionMetrics] get_adoption_metrics_per_location_per_day(year, location_ids) - -Get daily service adoption metrics for a given year aggregated by location and filtered by specified location ids - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.ServiceAdoptionMetricsApi(swagger_client.ApiClient(configuration)) -year = 56 # int | -location_ids = [56] # list[int] | filter by location ids. - -try: - # Get daily service adoption metrics for a given year aggregated by location and filtered by specified location ids - api_response = api_instance.get_adoption_metrics_per_location_per_day(year, location_ids) - pprint(api_response) -except ApiException as e: - print("Exception when calling ServiceAdoptionMetricsApi->get_adoption_metrics_per_location_per_day: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **year** | **int**| | - **location_ids** | [**list[int]**](int.md)| filter by location ids. | - -### Return type - -[**list[ServiceAdoptionMetrics]**](ServiceAdoptionMetrics.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ServiceMetric.md b/libs/cloudapi/cloudsdk/docs/ServiceMetric.md deleted file mode 100644 index 15a12dab0..000000000 --- a/libs/cloudapi/cloudsdk/docs/ServiceMetric.md +++ /dev/null @@ -1,16 +0,0 @@ -# ServiceMetric - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**customer_id** | **int** | | [optional] -**location_id** | **int** | | [optional] -**equipment_id** | **int** | | [optional] -**client_mac** | **int** | int64 representation of the client MAC address, used internally for storage and indexing | [optional] -**client_mac_address** | [**MacAddress**](MacAddress.md) | | [optional] -**data_type** | [**ServiceMetricDataType**](ServiceMetricDataType.md) | | [optional] -**created_timestamp** | **int** | | [optional] -**details** | [**ServiceMetricDetails**](ServiceMetricDetails.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ServiceMetricConfigParameters.md b/libs/cloudapi/cloudsdk/docs/ServiceMetricConfigParameters.md deleted file mode 100644 index 275b625c0..000000000 --- a/libs/cloudapi/cloudsdk/docs/ServiceMetricConfigParameters.md +++ /dev/null @@ -1,11 +0,0 @@ -# ServiceMetricConfigParameters - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**sampling_interval** | **int** | | [optional] -**reporting_interval_seconds** | **int** | | [optional] -**service_metric_data_type** | [**ServiceMetricDataType**](ServiceMetricDataType.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ServiceMetricDataType.md b/libs/cloudapi/cloudsdk/docs/ServiceMetricDataType.md deleted file mode 100644 index aee52d787..000000000 --- a/libs/cloudapi/cloudsdk/docs/ServiceMetricDataType.md +++ /dev/null @@ -1,8 +0,0 @@ -# ServiceMetricDataType - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ServiceMetricDetails.md b/libs/cloudapi/cloudsdk/docs/ServiceMetricDetails.md deleted file mode 100644 index 4db636847..000000000 --- a/libs/cloudapi/cloudsdk/docs/ServiceMetricDetails.md +++ /dev/null @@ -1,8 +0,0 @@ -# ServiceMetricDetails - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ServiceMetricRadioConfigParameters.md b/libs/cloudapi/cloudsdk/docs/ServiceMetricRadioConfigParameters.md deleted file mode 100644 index 34c149615..000000000 --- a/libs/cloudapi/cloudsdk/docs/ServiceMetricRadioConfigParameters.md +++ /dev/null @@ -1,17 +0,0 @@ -# ServiceMetricRadioConfigParameters - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**sampling_interval** | **int** | | [optional] -**reporting_interval_seconds** | **int** | | [optional] -**service_metric_data_type** | [**ServiceMetricDataType**](ServiceMetricDataType.md) | | [optional] -**radio_type** | [**RadioType**](RadioType.md) | | [optional] -**channel_survey_type** | [**ChannelUtilizationSurveyType**](ChannelUtilizationSurveyType.md) | | [optional] -**scan_interval_millis** | **int** | | [optional] -**percent_utilization_threshold** | **int** | | [optional] -**delay_milliseconds_threshold** | **int** | | [optional] -**stats_report_format** | [**StatsReportFormat**](StatsReportFormat.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ServiceMetricSurveyConfigParameters.md b/libs/cloudapi/cloudsdk/docs/ServiceMetricSurveyConfigParameters.md deleted file mode 100644 index 11f3a1c6c..000000000 --- a/libs/cloudapi/cloudsdk/docs/ServiceMetricSurveyConfigParameters.md +++ /dev/null @@ -1,12 +0,0 @@ -# ServiceMetricSurveyConfigParameters - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**sampling_interval** | **int** | | [optional] -**reporting_interval_seconds** | **int** | | [optional] -**service_metric_data_type** | [**ServiceMetricDataType**](ServiceMetricDataType.md) | | [optional] -**radio_type** | [**RadioType**](RadioType.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/ServiceMetricsCollectionConfigProfile.md b/libs/cloudapi/cloudsdk/docs/ServiceMetricsCollectionConfigProfile.md deleted file mode 100644 index ce2e7af18..000000000 --- a/libs/cloudapi/cloudsdk/docs/ServiceMetricsCollectionConfigProfile.md +++ /dev/null @@ -1,12 +0,0 @@ -# ServiceMetricsCollectionConfigProfile - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | [optional] -**radio_types** | [**list[RadioType]**](RadioType.md) | | [optional] -**service_metric_data_types** | [**list[ServiceMetricDataType]**](ServiceMetricDataType.md) | | [optional] -**metric_config_parameter_map** | [**MetricConfigParameterMap**](MetricConfigParameterMap.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/SessionExpiryType.md b/libs/cloudapi/cloudsdk/docs/SessionExpiryType.md deleted file mode 100644 index 1e9dc885d..000000000 --- a/libs/cloudapi/cloudsdk/docs/SessionExpiryType.md +++ /dev/null @@ -1,8 +0,0 @@ -# SessionExpiryType - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/SipCallStopReason.md b/libs/cloudapi/cloudsdk/docs/SipCallStopReason.md deleted file mode 100644 index 9f5d3651d..000000000 --- a/libs/cloudapi/cloudsdk/docs/SipCallStopReason.md +++ /dev/null @@ -1,8 +0,0 @@ -# SipCallStopReason - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/SortColumnsAlarm.md b/libs/cloudapi/cloudsdk/docs/SortColumnsAlarm.md deleted file mode 100644 index 41abcfd24..000000000 --- a/libs/cloudapi/cloudsdk/docs/SortColumnsAlarm.md +++ /dev/null @@ -1,11 +0,0 @@ -# SortColumnsAlarm - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**column_name** | **str** | | [default to 'id'] -**sort_order** | [**SortOrder**](SortOrder.md) | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/SortColumnsClient.md b/libs/cloudapi/cloudsdk/docs/SortColumnsClient.md deleted file mode 100644 index e99feed9c..000000000 --- a/libs/cloudapi/cloudsdk/docs/SortColumnsClient.md +++ /dev/null @@ -1,11 +0,0 @@ -# SortColumnsClient - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**column_name** | **str** | | [default to 'macAddress'] -**sort_order** | [**SortOrder**](SortOrder.md) | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/SortColumnsClientSession.md b/libs/cloudapi/cloudsdk/docs/SortColumnsClientSession.md deleted file mode 100644 index ee7e3ecd7..000000000 --- a/libs/cloudapi/cloudsdk/docs/SortColumnsClientSession.md +++ /dev/null @@ -1,11 +0,0 @@ -# SortColumnsClientSession - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**column_name** | **str** | | [default to 'id'] -**sort_order** | [**SortOrder**](SortOrder.md) | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/SortColumnsEquipment.md b/libs/cloudapi/cloudsdk/docs/SortColumnsEquipment.md deleted file mode 100644 index aa3069b13..000000000 --- a/libs/cloudapi/cloudsdk/docs/SortColumnsEquipment.md +++ /dev/null @@ -1,11 +0,0 @@ -# SortColumnsEquipment - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**column_name** | **str** | | [default to 'id'] -**sort_order** | [**SortOrder**](SortOrder.md) | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/SortColumnsLocation.md b/libs/cloudapi/cloudsdk/docs/SortColumnsLocation.md deleted file mode 100644 index 6151eb392..000000000 --- a/libs/cloudapi/cloudsdk/docs/SortColumnsLocation.md +++ /dev/null @@ -1,11 +0,0 @@ -# SortColumnsLocation - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**column_name** | **str** | | [default to 'id'] -**sort_order** | [**SortOrder**](SortOrder.md) | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/SortColumnsPortalUser.md b/libs/cloudapi/cloudsdk/docs/SortColumnsPortalUser.md deleted file mode 100644 index 97ca36847..000000000 --- a/libs/cloudapi/cloudsdk/docs/SortColumnsPortalUser.md +++ /dev/null @@ -1,11 +0,0 @@ -# SortColumnsPortalUser - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**column_name** | **str** | | [default to 'id'] -**sort_order** | [**SortOrder**](SortOrder.md) | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/SortColumnsProfile.md b/libs/cloudapi/cloudsdk/docs/SortColumnsProfile.md deleted file mode 100644 index 30c928e03..000000000 --- a/libs/cloudapi/cloudsdk/docs/SortColumnsProfile.md +++ /dev/null @@ -1,11 +0,0 @@ -# SortColumnsProfile - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**column_name** | **str** | | [default to 'id'] -**sort_order** | [**SortOrder**](SortOrder.md) | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/SortColumnsServiceMetric.md b/libs/cloudapi/cloudsdk/docs/SortColumnsServiceMetric.md deleted file mode 100644 index 4ce069846..000000000 --- a/libs/cloudapi/cloudsdk/docs/SortColumnsServiceMetric.md +++ /dev/null @@ -1,11 +0,0 @@ -# SortColumnsServiceMetric - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**column_name** | **str** | | [default to 'createdTimestamp'] -**sort_order** | [**SortOrder**](SortOrder.md) | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/SortColumnsStatus.md b/libs/cloudapi/cloudsdk/docs/SortColumnsStatus.md deleted file mode 100644 index 5363ff4e7..000000000 --- a/libs/cloudapi/cloudsdk/docs/SortColumnsStatus.md +++ /dev/null @@ -1,11 +0,0 @@ -# SortColumnsStatus - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**column_name** | **str** | | [default to 'id'] -**sort_order** | [**SortOrder**](SortOrder.md) | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/SortColumnsSystemEvent.md b/libs/cloudapi/cloudsdk/docs/SortColumnsSystemEvent.md deleted file mode 100644 index db5e55ff6..000000000 --- a/libs/cloudapi/cloudsdk/docs/SortColumnsSystemEvent.md +++ /dev/null @@ -1,11 +0,0 @@ -# SortColumnsSystemEvent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**column_name** | **str** | | [default to 'equipmentId'] -**sort_order** | [**SortOrder**](SortOrder.md) | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/SortOrder.md b/libs/cloudapi/cloudsdk/docs/SortOrder.md deleted file mode 100644 index 5d67a7fc5..000000000 --- a/libs/cloudapi/cloudsdk/docs/SortOrder.md +++ /dev/null @@ -1,8 +0,0 @@ -# SortOrder - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/SourceSelectionManagement.md b/libs/cloudapi/cloudsdk/docs/SourceSelectionManagement.md deleted file mode 100644 index c9e29eba4..000000000 --- a/libs/cloudapi/cloudsdk/docs/SourceSelectionManagement.md +++ /dev/null @@ -1,10 +0,0 @@ -# SourceSelectionManagement - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**source** | [**SourceType**](SourceType.md) | | [optional] -**value** | [**ManagementRate**](ManagementRate.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/SourceSelectionMulticast.md b/libs/cloudapi/cloudsdk/docs/SourceSelectionMulticast.md deleted file mode 100644 index 76511369c..000000000 --- a/libs/cloudapi/cloudsdk/docs/SourceSelectionMulticast.md +++ /dev/null @@ -1,10 +0,0 @@ -# SourceSelectionMulticast - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**source** | [**SourceType**](SourceType.md) | | [optional] -**value** | [**MulticastRate**](MulticastRate.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/SourceSelectionSteering.md b/libs/cloudapi/cloudsdk/docs/SourceSelectionSteering.md deleted file mode 100644 index 7c9a63618..000000000 --- a/libs/cloudapi/cloudsdk/docs/SourceSelectionSteering.md +++ /dev/null @@ -1,10 +0,0 @@ -# SourceSelectionSteering - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**source** | [**SourceType**](SourceType.md) | | [optional] -**value** | [**RadioBestApSettings**](RadioBestApSettings.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/SourceSelectionValue.md b/libs/cloudapi/cloudsdk/docs/SourceSelectionValue.md deleted file mode 100644 index a9ad76a9b..000000000 --- a/libs/cloudapi/cloudsdk/docs/SourceSelectionValue.md +++ /dev/null @@ -1,10 +0,0 @@ -# SourceSelectionValue - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**source** | [**SourceType**](SourceType.md) | | [optional] -**value** | **int** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/SourceType.md b/libs/cloudapi/cloudsdk/docs/SourceType.md deleted file mode 100644 index 124907284..000000000 --- a/libs/cloudapi/cloudsdk/docs/SourceType.md +++ /dev/null @@ -1,8 +0,0 @@ -# SourceType - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/SsidConfiguration.md b/libs/cloudapi/cloudsdk/docs/SsidConfiguration.md deleted file mode 100644 index e2722f562..000000000 --- a/libs/cloudapi/cloudsdk/docs/SsidConfiguration.md +++ /dev/null @@ -1,33 +0,0 @@ -# SsidConfiguration - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | [optional] -**ssid** | **str** | | [optional] -**applied_radios** | [**list[RadioType]**](RadioType.md) | | [optional] -**ssid_admin_state** | [**StateSetting**](StateSetting.md) | | [optional] -**secure_mode** | [**SsidSecureMode**](SsidSecureMode.md) | | [optional] -**vlan_id** | **int** | | [optional] -**dynamic_vlan** | [**DynamicVlanMode**](DynamicVlanMode.md) | | [optional] -**key_str** | **str** | | [optional] -**broadcast_ssid** | [**StateSetting**](StateSetting.md) | | [optional] -**key_refresh** | **int** | | [optional] [default to 0] -**no_local_subnets** | **bool** | | [optional] -**radius_service_id** | **int** | | [optional] -**radius_acounting_service_interval** | **int** | If this is set (i.e. non-null), RadiusAccountingService is configured, and SsidSecureMode is configured as Enterprise/Radius, ap will send interim accounting updates every N seconds | [optional] -**radius_nas_configuration** | [**RadiusNasConfiguration**](RadiusNasConfiguration.md) | | [optional] -**captive_portal_id** | **int** | id of a CaptivePortalConfiguration profile, must be also added to the children of this profile | [optional] -**bandwidth_limit_down** | **int** | | [optional] -**bandwidth_limit_up** | **int** | | [optional] -**client_bandwidth_limit_down** | **int** | | [optional] -**client_bandwidth_limit_up** | **int** | | [optional] -**video_traffic_only** | **bool** | | [optional] -**radio_based_configs** | [**RadioBasedSsidConfigurationMap**](RadioBasedSsidConfigurationMap.md) | | [optional] -**bonjour_gateway_profile_id** | **int** | id of a BonjourGateway profile, must be also added to the children of this profile | [optional] -**enable80211w** | **bool** | | [optional] -**wep_config** | [**WepConfiguration**](WepConfiguration.md) | | [optional] -**forward_mode** | [**NetworkForwardMode**](NetworkForwardMode.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/SsidSecureMode.md b/libs/cloudapi/cloudsdk/docs/SsidSecureMode.md deleted file mode 100644 index 1dfd0af32..000000000 --- a/libs/cloudapi/cloudsdk/docs/SsidSecureMode.md +++ /dev/null @@ -1,8 +0,0 @@ -# SsidSecureMode - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/SsidStatistics.md b/libs/cloudapi/cloudsdk/docs/SsidStatistics.md deleted file mode 100644 index a558a10d8..000000000 --- a/libs/cloudapi/cloudsdk/docs/SsidStatistics.md +++ /dev/null @@ -1,57 +0,0 @@ -# SsidStatistics - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ssid** | **str** | SSID | [optional] -**bssid** | [**MacAddress**](MacAddress.md) | | [optional] -**num_client** | **int** | Number client associated to this BSS | [optional] -**rx_last_rssi** | **int** | The RSSI of last frame received. | [optional] -**num_rx_no_fcs_err** | **int** | The number of received frames without FCS errors. | [optional] -**num_rx_data** | **int** | The number of received data frames. | [optional] -**num_rx_management** | **int** | The number of received management frames. | [optional] -**num_rx_control** | **int** | The number of received control frames. | [optional] -**rx_bytes** | **int** | The number of received bytes. | [optional] -**rx_data_bytes** | **int** | The number of received data bytes. | [optional] -**num_rx_rts** | **int** | The number of received RTS frames. | [optional] -**num_rx_cts** | **int** | The number of received CTS frames. | [optional] -**num_rx_ack** | **int** | The number of all received ACK frames (Acks + BlockAcks). | [optional] -**num_rx_probe_req** | **int** | The number of received probe request frames. | [optional] -**num_rx_retry** | **int** | The number of received retry frames. | [optional] -**num_rx_dup** | **int** | The number of received duplicated frames. | [optional] -**num_rx_null_data** | **int** | The number of received null data frames. | [optional] -**num_rx_pspoll** | **int** | The number of received ps-poll frames. | [optional] -**num_rx_stbc** | **int** | The number of received STBC frames. | [optional] -**num_rx_ldpc** | **int** | The number of received LDPC frames. | [optional] -**num_rcv_frame_for_tx** | **int** | The number of received ethernet and local generated frames for transmit. | [optional] -**num_tx_queued** | **int** | The number of TX frames queued. | [optional] -**num_rcv_bc_for_tx** | **int** | The number of received ethernet and local generated broadcast frames for transmit. | [optional] -**num_tx_dropped** | **int** | The number of every TX frame dropped. | [optional] -**num_tx_retry_dropped** | **int** | The number of TX frame dropped due to retries. | [optional] -**num_tx_bc_dropped** | **int** | The number of broadcast frames dropped. | [optional] -**num_tx_succ** | **int** | The number of frames successfully transmitted. | [optional] -**num_tx_bytes_succ** | **int** | The number of bytes successfully transmitted. | [optional] -**num_tx_ps_unicast** | **int** | The number of transmitted PS unicast frame. | [optional] -**num_tx_dtim_mc** | **int** | The number of transmitted DTIM multicast frames. | [optional] -**num_tx_succ_no_retry** | **int** | The number of successfully transmitted frames at firt attemp. | [optional] -**num_tx_succ_retries** | **int** | The number of successfully transmitted frames with retries. | [optional] -**num_tx_multi_retries** | **int** | The number of Tx frames with retries. | [optional] -**num_tx_management** | **int** | The number of TX management frames. | [optional] -**num_tx_control** | **int** | The number of Tx control frames. | [optional] -**num_tx_action** | **int** | The number of Tx action frames. | [optional] -**num_tx_prop_resp** | **int** | The number of TX probe response. | [optional] -**num_tx_data** | **int** | The number of Tx data frames. | [optional] -**num_tx_data_retries** | **int** | The number of Tx data frames with retries. | [optional] -**num_tx_rts_succ** | **int** | The number of RTS frames sent successfully. | [optional] -**num_tx_rts_fail** | **int** | The number of RTS frames failed transmission. | [optional] -**num_tx_no_ack** | **int** | The number of TX frames failed because of not Acked. | [optional] -**num_tx_eapol** | **int** | The number of EAPOL frames sent. | [optional] -**num_tx_ldpc** | **int** | The number of total LDPC frames sent. | [optional] -**num_tx_stbc** | **int** | The number of total STBC frames sent. | [optional] -**num_tx_aggr_succ** | **int** | The number of aggregation frames sent successfully. | [optional] -**num_tx_aggr_one_mpdu** | **int** | The number of aggregation frames sent using single MPDU (where the A-MPDU contains only one MPDU ). | [optional] -**wmm_queue_stats** | [**WmmQueueStatsPerQueueTypeMap**](WmmQueueStatsPerQueueTypeMap.md) | | [optional] -**mcs_stats** | [**list[McsStats]**](McsStats.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/StateSetting.md b/libs/cloudapi/cloudsdk/docs/StateSetting.md deleted file mode 100644 index 377c6f729..000000000 --- a/libs/cloudapi/cloudsdk/docs/StateSetting.md +++ /dev/null @@ -1,8 +0,0 @@ -# StateSetting - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/StateUpDownError.md b/libs/cloudapi/cloudsdk/docs/StateUpDownError.md deleted file mode 100644 index 5d14a947d..000000000 --- a/libs/cloudapi/cloudsdk/docs/StateUpDownError.md +++ /dev/null @@ -1,8 +0,0 @@ -# StateUpDownError - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/StatsReportFormat.md b/libs/cloudapi/cloudsdk/docs/StatsReportFormat.md deleted file mode 100644 index 800c1e565..000000000 --- a/libs/cloudapi/cloudsdk/docs/StatsReportFormat.md +++ /dev/null @@ -1,8 +0,0 @@ -# StatsReportFormat - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/Status.md b/libs/cloudapi/cloudsdk/docs/Status.md deleted file mode 100644 index 89a2e2206..000000000 --- a/libs/cloudapi/cloudsdk/docs/Status.md +++ /dev/null @@ -1,15 +0,0 @@ -# Status - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | [optional] -**customer_id** | **int** | | [optional] -**equipment_id** | **int** | | [optional] -**status_data_type** | [**StatusDataType**](StatusDataType.md) | | [optional] -**status_details** | [**StatusDetails**](StatusDetails.md) | | [optional] -**created_timestamp** | **int** | | [optional] -**last_modified_timestamp** | **int** | This class does not perform checks against concurrrent updates. Here last update always wins. | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/StatusApi.md b/libs/cloudapi/cloudsdk/docs/StatusApi.md deleted file mode 100644 index d49d0e76f..000000000 --- a/libs/cloudapi/cloudsdk/docs/StatusApi.md +++ /dev/null @@ -1,217 +0,0 @@ -# swagger_client.StatusApi - -All URIs are relative to *https://localhost:9091* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**get_status_by_customer_equipment**](StatusApi.md#get_status_by_customer_equipment) | **GET** /portal/status/forEquipment | Get all Status objects for a given customer equipment. -[**get_status_by_customer_equipment_with_filter**](StatusApi.md#get_status_by_customer_equipment_with_filter) | **GET** /portal/status/forEquipmentWithFilter | Get Status objects for a given customer equipment ids and status data types. -[**get_status_by_customer_id**](StatusApi.md#get_status_by_customer_id) | **GET** /portal/status/forCustomer | Get all Status objects By customerId -[**get_status_by_customer_with_filter**](StatusApi.md#get_status_by_customer_with_filter) | **GET** /portal/status/forCustomerWithFilter | Get list of Statuses for customerId, set of equipment ids, and set of status data types. - -# **get_status_by_customer_equipment** -> list[Status] get_status_by_customer_equipment(customer_id, equipment_id) - -Get all Status objects for a given customer equipment. - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.StatusApi(swagger_client.ApiClient(configuration)) -customer_id = 56 # int | customer id -equipment_id = 789 # int | Equipment id - -try: - # Get all Status objects for a given customer equipment. - api_response = api_instance.get_status_by_customer_equipment(customer_id, equipment_id) - pprint(api_response) -except ApiException as e: - print("Exception when calling StatusApi->get_status_by_customer_equipment: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **customer_id** | **int**| customer id | - **equipment_id** | **int**| Equipment id | - -### Return type - -[**list[Status]**](Status.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_status_by_customer_equipment_with_filter** -> list[Status] get_status_by_customer_equipment_with_filter(customer_id, equipment_ids, status_data_types=status_data_types) - -Get Status objects for a given customer equipment ids and status data types. - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.StatusApi(swagger_client.ApiClient(configuration)) -customer_id = 56 # int | customer id -equipment_ids = [56] # list[int] | Set of equipment ids. Must not be empty or null. -status_data_types = [swagger_client.StatusDataType()] # list[StatusDataType] | Set of status data types. Empty or null means retrieve all data types. (optional) - -try: - # Get Status objects for a given customer equipment ids and status data types. - api_response = api_instance.get_status_by_customer_equipment_with_filter(customer_id, equipment_ids, status_data_types=status_data_types) - pprint(api_response) -except ApiException as e: - print("Exception when calling StatusApi->get_status_by_customer_equipment_with_filter: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **customer_id** | **int**| customer id | - **equipment_ids** | [**list[int]**](int.md)| Set of equipment ids. Must not be empty or null. | - **status_data_types** | [**list[StatusDataType]**](StatusDataType.md)| Set of status data types. Empty or null means retrieve all data types. | [optional] - -### Return type - -[**list[Status]**](Status.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_status_by_customer_id** -> PaginationResponseStatus get_status_by_customer_id(customer_id, pagination_context, sort_by=sort_by) - -Get all Status objects By customerId - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.StatusApi(swagger_client.ApiClient(configuration)) -customer_id = 56 # int | customer id -pagination_context = swagger_client.PaginationContextStatus() # PaginationContextStatus | pagination context -sort_by = [swagger_client.SortColumnsStatus()] # list[SortColumnsStatus] | sort options (optional) - -try: - # Get all Status objects By customerId - api_response = api_instance.get_status_by_customer_id(customer_id, pagination_context, sort_by=sort_by) - pprint(api_response) -except ApiException as e: - print("Exception when calling StatusApi->get_status_by_customer_id: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **customer_id** | **int**| customer id | - **pagination_context** | [**PaginationContextStatus**](.md)| pagination context | - **sort_by** | [**list[SortColumnsStatus]**](SortColumnsStatus.md)| sort options | [optional] - -### Return type - -[**PaginationResponseStatus**](PaginationResponseStatus.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_status_by_customer_with_filter** -> PaginationResponseStatus get_status_by_customer_with_filter(customer_id, pagination_context, equipment_ids=equipment_ids, status_data_types=status_data_types, sort_by=sort_by) - -Get list of Statuses for customerId, set of equipment ids, and set of status data types. - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.StatusApi(swagger_client.ApiClient(configuration)) -customer_id = 56 # int | customer id -pagination_context = swagger_client.PaginationContextStatus() # PaginationContextStatus | pagination context -equipment_ids = [56] # list[int] | Set of equipment ids. Empty or null means retrieve all equipment for the customer. (optional) -status_data_types = [swagger_client.StatusDataType()] # list[StatusDataType] | Set of status data types. Empty or null means retrieve all data types. (optional) -sort_by = [swagger_client.SortColumnsStatus()] # list[SortColumnsStatus] | sort options (optional) - -try: - # Get list of Statuses for customerId, set of equipment ids, and set of status data types. - api_response = api_instance.get_status_by_customer_with_filter(customer_id, pagination_context, equipment_ids=equipment_ids, status_data_types=status_data_types, sort_by=sort_by) - pprint(api_response) -except ApiException as e: - print("Exception when calling StatusApi->get_status_by_customer_with_filter: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **customer_id** | **int**| customer id | - **pagination_context** | [**PaginationContextStatus**](.md)| pagination context | - **equipment_ids** | [**list[int]**](int.md)| Set of equipment ids. Empty or null means retrieve all equipment for the customer. | [optional] - **status_data_types** | [**list[StatusDataType]**](StatusDataType.md)| Set of status data types. Empty or null means retrieve all data types. | [optional] - **sort_by** | [**list[SortColumnsStatus]**](SortColumnsStatus.md)| sort options | [optional] - -### Return type - -[**PaginationResponseStatus**](PaginationResponseStatus.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/StatusChangedEvent.md b/libs/cloudapi/cloudsdk/docs/StatusChangedEvent.md deleted file mode 100644 index e527f143d..000000000 --- a/libs/cloudapi/cloudsdk/docs/StatusChangedEvent.md +++ /dev/null @@ -1,13 +0,0 @@ -# StatusChangedEvent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**event_timestamp** | **int** | | [optional] -**customer_id** | **int** | | [optional] -**equipment_id** | **int** | | [optional] -**payload** | [**Status**](Status.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/StatusCode.md b/libs/cloudapi/cloudsdk/docs/StatusCode.md deleted file mode 100644 index 53349758d..000000000 --- a/libs/cloudapi/cloudsdk/docs/StatusCode.md +++ /dev/null @@ -1,8 +0,0 @@ -# StatusCode - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/StatusDataType.md b/libs/cloudapi/cloudsdk/docs/StatusDataType.md deleted file mode 100644 index 24f0823f2..000000000 --- a/libs/cloudapi/cloudsdk/docs/StatusDataType.md +++ /dev/null @@ -1,8 +0,0 @@ -# StatusDataType - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/StatusDetails.md b/libs/cloudapi/cloudsdk/docs/StatusDetails.md deleted file mode 100644 index ce38cd23f..000000000 --- a/libs/cloudapi/cloudsdk/docs/StatusDetails.md +++ /dev/null @@ -1,8 +0,0 @@ -# StatusDetails - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/StatusRemovedEvent.md b/libs/cloudapi/cloudsdk/docs/StatusRemovedEvent.md deleted file mode 100644 index aa678f5af..000000000 --- a/libs/cloudapi/cloudsdk/docs/StatusRemovedEvent.md +++ /dev/null @@ -1,13 +0,0 @@ -# StatusRemovedEvent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**event_timestamp** | **int** | | [optional] -**customer_id** | **int** | | [optional] -**equipment_id** | **int** | | [optional] -**payload** | [**Status**](Status.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/SteerType.md b/libs/cloudapi/cloudsdk/docs/SteerType.md deleted file mode 100644 index 2e15fe49f..000000000 --- a/libs/cloudapi/cloudsdk/docs/SteerType.md +++ /dev/null @@ -1,8 +0,0 @@ -# SteerType - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/StreamingVideoServerRecord.md b/libs/cloudapi/cloudsdk/docs/StreamingVideoServerRecord.md deleted file mode 100644 index ae16ea466..000000000 --- a/libs/cloudapi/cloudsdk/docs/StreamingVideoServerRecord.md +++ /dev/null @@ -1,15 +0,0 @@ -# StreamingVideoServerRecord - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **int** | | [optional] -**customer_id** | **int** | | [optional] -**equipment_id** | **int** | | [optional] -**ip_addr** | **str** | | [optional] -**type** | [**StreamingVideoType**](StreamingVideoType.md) | | [optional] -**created_timestamp** | **int** | | [optional] -**last_modified_timestamp** | **int** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/StreamingVideoType.md b/libs/cloudapi/cloudsdk/docs/StreamingVideoType.md deleted file mode 100644 index 008b46ea9..000000000 --- a/libs/cloudapi/cloudsdk/docs/StreamingVideoType.md +++ /dev/null @@ -1,8 +0,0 @@ -# StreamingVideoType - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/SyslogRelay.md b/libs/cloudapi/cloudsdk/docs/SyslogRelay.md deleted file mode 100644 index 14df5362b..000000000 --- a/libs/cloudapi/cloudsdk/docs/SyslogRelay.md +++ /dev/null @@ -1,12 +0,0 @@ -# SyslogRelay - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**enabled** | **bool** | | [optional] -**srv_host_ip** | **str** | | [optional] -**srv_host_port** | **int** | | [optional] -**severity** | [**SyslogSeverityType**](SyslogSeverityType.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/SyslogSeverityType.md b/libs/cloudapi/cloudsdk/docs/SyslogSeverityType.md deleted file mode 100644 index 51e861246..000000000 --- a/libs/cloudapi/cloudsdk/docs/SyslogSeverityType.md +++ /dev/null @@ -1,8 +0,0 @@ -# SyslogSeverityType - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/SystemEvent.md b/libs/cloudapi/cloudsdk/docs/SystemEvent.md deleted file mode 100644 index b36c20a6a..000000000 --- a/libs/cloudapi/cloudsdk/docs/SystemEvent.md +++ /dev/null @@ -1,8 +0,0 @@ -# SystemEvent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/SystemEventDataType.md b/libs/cloudapi/cloudsdk/docs/SystemEventDataType.md deleted file mode 100644 index 7989597f2..000000000 --- a/libs/cloudapi/cloudsdk/docs/SystemEventDataType.md +++ /dev/null @@ -1,8 +0,0 @@ -# SystemEventDataType - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/SystemEventRecord.md b/libs/cloudapi/cloudsdk/docs/SystemEventRecord.md deleted file mode 100644 index 29161cdf4..000000000 --- a/libs/cloudapi/cloudsdk/docs/SystemEventRecord.md +++ /dev/null @@ -1,16 +0,0 @@ -# SystemEventRecord - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**customer_id** | **int** | | [optional] -**location_id** | **int** | | [optional] -**equipment_id** | **int** | | [optional] -**client_mac** | **int** | int64 representation of the client MAC address, used internally for storage and indexing | [optional] -**client_mac_address** | [**MacAddress**](MacAddress.md) | | [optional] -**data_type** | [**SystemEventDataType**](SystemEventDataType.md) | | [optional] -**event_timestamp** | **int** | | [optional] -**details** | [**SystemEvent**](SystemEvent.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/SystemEventsApi.md b/libs/cloudapi/cloudsdk/docs/SystemEventsApi.md deleted file mode 100644 index 4f8555ed9..000000000 --- a/libs/cloudapi/cloudsdk/docs/SystemEventsApi.md +++ /dev/null @@ -1,71 +0,0 @@ -# swagger_client.SystemEventsApi - -All URIs are relative to *https://localhost:9091* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**get_system_eventsfor_customer**](SystemEventsApi.md#get_system_eventsfor_customer) | **GET** /portal/systemEvent/forCustomer | Get list of System Events for customerId, optional set of equipment ids, and optional set of data types. Only events that are created between specified fromTime and toTime are retrieved. - -# **get_system_eventsfor_customer** -> PaginationResponseSystemEvent get_system_eventsfor_customer(from_time, to_time, customer_id, pagination_context, location_ids=location_ids, equipment_ids=equipment_ids, client_macs=client_macs, data_types=data_types, sort_by=sort_by) - -Get list of System Events for customerId, optional set of equipment ids, and optional set of data types. Only events that are created between specified fromTime and toTime are retrieved. - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.SystemEventsApi(swagger_client.ApiClient(configuration)) -from_time = 789 # int | Include events created after (and including) this timestamp in milliseconds -to_time = 789 # int | Include events created before (and including) this timestamp in milliseconds -customer_id = 56 # int | customer id -pagination_context = swagger_client.PaginationContextSystemEvent() # PaginationContextSystemEvent | pagination context -location_ids = [56] # list[int] | Set of location ids. Empty or null means retrieve events for all locations for the customer. (optional) -equipment_ids = [56] # list[int] | Set of equipment ids. Empty or null means retrieve events for all equipment for the customer. (optional) -client_macs = ['client_macs_example'] # list[str] | Set of client MAC addresses. Empty or null means retrieve events for all client MACs for the customer. (optional) -data_types = [swagger_client.SystemEventDataType()] # list[SystemEventDataType] | Set of system event data types. Empty or null means retrieve all. (optional) -sort_by = [swagger_client.SortColumnsSystemEvent()] # list[SortColumnsSystemEvent] | Sort options. If not provided, then results will be ordered by equipmentId and createdTimestamp. (optional) - -try: - # Get list of System Events for customerId, optional set of equipment ids, and optional set of data types. Only events that are created between specified fromTime and toTime are retrieved. - api_response = api_instance.get_system_eventsfor_customer(from_time, to_time, customer_id, pagination_context, location_ids=location_ids, equipment_ids=equipment_ids, client_macs=client_macs, data_types=data_types, sort_by=sort_by) - pprint(api_response) -except ApiException as e: - print("Exception when calling SystemEventsApi->get_system_eventsfor_customer: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **from_time** | **int**| Include events created after (and including) this timestamp in milliseconds | - **to_time** | **int**| Include events created before (and including) this timestamp in milliseconds | - **customer_id** | **int**| customer id | - **pagination_context** | [**PaginationContextSystemEvent**](.md)| pagination context | - **location_ids** | [**list[int]**](int.md)| Set of location ids. Empty or null means retrieve events for all locations for the customer. | [optional] - **equipment_ids** | [**list[int]**](int.md)| Set of equipment ids. Empty or null means retrieve events for all equipment for the customer. | [optional] - **client_macs** | [**list[str]**](str.md)| Set of client MAC addresses. Empty or null means retrieve events for all client MACs for the customer. | [optional] - **data_types** | [**list[SystemEventDataType]**](SystemEventDataType.md)| Set of system event data types. Empty or null means retrieve all. | [optional] - **sort_by** | [**list[SortColumnsSystemEvent]**](SortColumnsSystemEvent.md)| Sort options. If not provided, then results will be ordered by equipmentId and createdTimestamp. | [optional] - -### Return type - -[**PaginationResponseSystemEvent**](PaginationResponseSystemEvent.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/TimedAccessUserDetails.md b/libs/cloudapi/cloudsdk/docs/TimedAccessUserDetails.md deleted file mode 100644 index 61d124cab..000000000 --- a/libs/cloudapi/cloudsdk/docs/TimedAccessUserDetails.md +++ /dev/null @@ -1,11 +0,0 @@ -# TimedAccessUserDetails - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**first_name** | **str** | | [optional] -**last_name** | **str** | | [optional] -**password_needs_reset** | **bool** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/TimedAccessUserRecord.md b/libs/cloudapi/cloudsdk/docs/TimedAccessUserRecord.md deleted file mode 100644 index 5e5014cff..000000000 --- a/libs/cloudapi/cloudsdk/docs/TimedAccessUserRecord.md +++ /dev/null @@ -1,16 +0,0 @@ -# TimedAccessUserRecord - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**username** | **str** | | [optional] -**password** | **str** | | [optional] -**activation_time** | **int** | | [optional] -**expiration_time** | **int** | | [optional] -**num_devices** | **int** | | [optional] -**user_details** | [**TimedAccessUserDetails**](TimedAccessUserDetails.md) | | [optional] -**user_mac_addresses** | [**list[MacAddress]**](MacAddress.md) | | [optional] -**last_modified_timestamp** | **int** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/TrackFlag.md b/libs/cloudapi/cloudsdk/docs/TrackFlag.md deleted file mode 100644 index 5bbc394a0..000000000 --- a/libs/cloudapi/cloudsdk/docs/TrackFlag.md +++ /dev/null @@ -1,8 +0,0 @@ -# TrackFlag - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/TrafficDetails.md b/libs/cloudapi/cloudsdk/docs/TrafficDetails.md deleted file mode 100644 index 9f609c7fb..000000000 --- a/libs/cloudapi/cloudsdk/docs/TrafficDetails.md +++ /dev/null @@ -1,11 +0,0 @@ -# TrafficDetails - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**per_radio_details** | [**TrafficPerRadioDetailsPerRadioTypeMap**](TrafficPerRadioDetailsPerRadioTypeMap.md) | | [optional] -**indicator_value_rx_mbps** | **float** | | [optional] -**indicator_value_tx_mbps** | **float** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/TrafficPerRadioDetails.md b/libs/cloudapi/cloudsdk/docs/TrafficPerRadioDetails.md deleted file mode 100644 index d8677d44b..000000000 --- a/libs/cloudapi/cloudsdk/docs/TrafficPerRadioDetails.md +++ /dev/null @@ -1,20 +0,0 @@ -# TrafficPerRadioDetails - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**min_rx_mbps** | **float** | | [optional] -**max_rx_mbps** | **float** | | [optional] -**avg_rx_mbps** | **float** | | [optional] -**total_rx_mbps** | **float** | | [optional] -**min_tx_mbps** | **float** | | [optional] -**max_tx_mbps** | **float** | | [optional] -**avg_tx_mbps** | **float** | | [optional] -**total_tx_mbps** | **float** | | [optional] -**num_good_equipment** | **int** | | [optional] -**num_warn_equipment** | **int** | | [optional] -**num_bad_equipment** | **int** | | [optional] -**total_aps_reported** | **int** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/TrafficPerRadioDetailsPerRadioTypeMap.md b/libs/cloudapi/cloudsdk/docs/TrafficPerRadioDetailsPerRadioTypeMap.md deleted file mode 100644 index f1143518d..000000000 --- a/libs/cloudapi/cloudsdk/docs/TrafficPerRadioDetailsPerRadioTypeMap.md +++ /dev/null @@ -1,12 +0,0 @@ -# TrafficPerRadioDetailsPerRadioTypeMap - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**is5_g_hz** | [**TrafficPerRadioDetails**](TrafficPerRadioDetails.md) | | [optional] -**is5_g_hz_u** | [**TrafficPerRadioDetails**](TrafficPerRadioDetails.md) | | [optional] -**is5_g_hz_l** | [**TrafficPerRadioDetails**](TrafficPerRadioDetails.md) | | [optional] -**is2dot4_g_hz** | [**TrafficPerRadioDetails**](TrafficPerRadioDetails.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/TunnelIndicator.md b/libs/cloudapi/cloudsdk/docs/TunnelIndicator.md deleted file mode 100644 index 2f9d77a18..000000000 --- a/libs/cloudapi/cloudsdk/docs/TunnelIndicator.md +++ /dev/null @@ -1,8 +0,0 @@ -# TunnelIndicator - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/TunnelMetricData.md b/libs/cloudapi/cloudsdk/docs/TunnelMetricData.md deleted file mode 100644 index 7738b46f4..000000000 --- a/libs/cloudapi/cloudsdk/docs/TunnelMetricData.md +++ /dev/null @@ -1,14 +0,0 @@ -# TunnelMetricData - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ip_addr** | **str** | IP address of tunnel peer | [optional] -**cfg_time** | **int** | number of seconds tunnel was configured | [optional] -**up_time** | **int** | number of seconds tunnel was up in current bin | [optional] -**pings_sent** | **int** | number of 'ping' sent in the current bin in case tunnel was DOWN | [optional] -**pings_recvd** | **int** | number of 'ping' response received by peer in the current bin in case tunnel was DOWN | [optional] -**active_tun** | **bool** | Indicates if the current tunnel is the active one | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/UnserializableSystemEvent.md b/libs/cloudapi/cloudsdk/docs/UnserializableSystemEvent.md deleted file mode 100644 index 617543512..000000000 --- a/libs/cloudapi/cloudsdk/docs/UnserializableSystemEvent.md +++ /dev/null @@ -1,13 +0,0 @@ -# UnserializableSystemEvent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**model_type** | **str** | | -**event_timestamp** | **int** | | [optional] -**customer_id** | **int** | | [optional] -**equipment_id** | **int** | | [optional] -**payload** | **str** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/UserDetails.md b/libs/cloudapi/cloudsdk/docs/UserDetails.md deleted file mode 100644 index 1ffb90833..000000000 --- a/libs/cloudapi/cloudsdk/docs/UserDetails.md +++ /dev/null @@ -1,19 +0,0 @@ -# UserDetails - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**total_users** | [**MinMaxAvgValueInt**](MinMaxAvgValueInt.md) | | [optional] -**users_per_radio** | [**MinMaxAvgValueIntPerRadioMap**](MinMaxAvgValueIntPerRadioMap.md) | | [optional] -**num_good_equipment** | **int** | | [optional] -**num_warn_equipment** | **int** | | [optional] -**num_bad_equipment** | **int** | | [optional] -**user_device_per_manufacturer_counts** | [**IntegerValueMap**](IntegerValueMap.md) | | [optional] -**total_aps_reported** | **int** | | [optional] -**indicator_value** | **int** | | [optional] -**indicator_value_per_radio** | [**IntegerPerRadioTypeMap**](IntegerPerRadioTypeMap.md) | | [optional] -**link_quality_per_radio** | [**LinkQualityAggregatedStatsPerRadioTypeMap**](LinkQualityAggregatedStatsPerRadioTypeMap.md) | | [optional] -**client_activity_per_radio** | [**ClientActivityAggregatedStatsPerRadioTypeMap**](ClientActivityAggregatedStatsPerRadioTypeMap.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/VLANStatusData.md b/libs/cloudapi/cloudsdk/docs/VLANStatusData.md deleted file mode 100644 index d4ddf3d81..000000000 --- a/libs/cloudapi/cloudsdk/docs/VLANStatusData.md +++ /dev/null @@ -1,15 +0,0 @@ -# VLANStatusData - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ip_base** | **str** | | [optional] -**subnet_mask** | **str** | | [optional] -**gateway** | **str** | | [optional] -**dhcp_server** | **str** | | [optional] -**dns_server1** | **str** | | [optional] -**dns_server2** | **str** | | [optional] -**dns_server3** | **str** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/VLANStatusDataMap.md b/libs/cloudapi/cloudsdk/docs/VLANStatusDataMap.md deleted file mode 100644 index a92eb7ea5..000000000 --- a/libs/cloudapi/cloudsdk/docs/VLANStatusDataMap.md +++ /dev/null @@ -1,8 +0,0 @@ -# VLANStatusDataMap - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/VlanSubnet.md b/libs/cloudapi/cloudsdk/docs/VlanSubnet.md deleted file mode 100644 index 9a3066e13..000000000 --- a/libs/cloudapi/cloudsdk/docs/VlanSubnet.md +++ /dev/null @@ -1,16 +0,0 @@ -# VlanSubnet - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**subnet_vlan** | **int** | | [optional] -**subnet_base** | **str** | string representing InetAddress | [optional] -**subnet_mask** | **str** | string representing InetAddress | [optional] -**subnet_gateway** | **str** | string representing InetAddress | [optional] -**subnet_dhcp_server** | **str** | string representing InetAddress | [optional] -**subnet_dns1** | **str** | string representing InetAddress | [optional] -**subnet_dns2** | **str** | string representing InetAddress | [optional] -**subnet_dns3** | **str** | string representing InetAddress | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/WLANServiceMetricsApi.md b/libs/cloudapi/cloudsdk/docs/WLANServiceMetricsApi.md deleted file mode 100644 index 87d65ade6..000000000 --- a/libs/cloudapi/cloudsdk/docs/WLANServiceMetricsApi.md +++ /dev/null @@ -1,71 +0,0 @@ -# swagger_client.WLANServiceMetricsApi - -All URIs are relative to *https://localhost:9091* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**get_service_metricsfor_customer**](WLANServiceMetricsApi.md#get_service_metricsfor_customer) | **GET** /portal/serviceMetric/forCustomer | Get list of WLAN Service Metrics for customerId, optional set of location ids, optional set of equipment ids, optional set of client MAC addresses, optional set of metric data types. Only metrics that are created between specified fromTime and toTime are retrieved. - -# **get_service_metricsfor_customer** -> PaginationResponseServiceMetric get_service_metricsfor_customer(from_time, to_time, customer_id, pagination_context, location_ids=location_ids, equipment_ids=equipment_ids, client_macs=client_macs, data_types=data_types, sort_by=sort_by) - -Get list of WLAN Service Metrics for customerId, optional set of location ids, optional set of equipment ids, optional set of client MAC addresses, optional set of metric data types. Only metrics that are created between specified fromTime and toTime are retrieved. - -### Example -```python -from __future__ import print_function -import time -import swagger_client -from swagger_client.rest import ApiException -from pprint import pprint - - -# create an instance of the API class -api_instance = swagger_client.WLANServiceMetricsApi(swagger_client.ApiClient(configuration)) -from_time = 789 # int | Include metrics created after (and including) this timestamp in milliseconds -to_time = 789 # int | Include metrics created before (and including) this timestamp in milliseconds -customer_id = 56 # int | customer id -pagination_context = swagger_client.PaginationContextServiceMetric() # PaginationContextServiceMetric | pagination context -location_ids = [56] # list[int] | Set of location ids. Empty or null means retrieve metrics for all locations for the customer. (optional) -equipment_ids = [56] # list[int] | Set of equipment ids. Empty or null means retrieve metrics for all equipment for the customer. (optional) -client_macs = ['client_macs_example'] # list[str] | Set of client MAC addresses. Empty or null means retrieve metrics for all client MACs for the customer. (optional) -data_types = [swagger_client.ServiceMetricDataType()] # list[ServiceMetricDataType] | Set of metric data types. Empty or null means retrieve all. (optional) -sort_by = [swagger_client.SortColumnsServiceMetric()] # list[SortColumnsServiceMetric] | Sort options. If not provided, then results will be ordered by equipmentId and createdTimestamp. (optional) - -try: - # Get list of WLAN Service Metrics for customerId, optional set of location ids, optional set of equipment ids, optional set of client MAC addresses, optional set of metric data types. Only metrics that are created between specified fromTime and toTime are retrieved. - api_response = api_instance.get_service_metricsfor_customer(from_time, to_time, customer_id, pagination_context, location_ids=location_ids, equipment_ids=equipment_ids, client_macs=client_macs, data_types=data_types, sort_by=sort_by) - pprint(api_response) -except ApiException as e: - print("Exception when calling WLANServiceMetricsApi->get_service_metricsfor_customer: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **from_time** | **int**| Include metrics created after (and including) this timestamp in milliseconds | - **to_time** | **int**| Include metrics created before (and including) this timestamp in milliseconds | - **customer_id** | **int**| customer id | - **pagination_context** | [**PaginationContextServiceMetric**](.md)| pagination context | - **location_ids** | [**list[int]**](int.md)| Set of location ids. Empty or null means retrieve metrics for all locations for the customer. | [optional] - **equipment_ids** | [**list[int]**](int.md)| Set of equipment ids. Empty or null means retrieve metrics for all equipment for the customer. | [optional] - **client_macs** | [**list[str]**](str.md)| Set of client MAC addresses. Empty or null means retrieve metrics for all client MACs for the customer. | [optional] - **data_types** | [**list[ServiceMetricDataType]**](ServiceMetricDataType.md)| Set of metric data types. Empty or null means retrieve all. | [optional] - **sort_by** | [**list[SortColumnsServiceMetric]**](SortColumnsServiceMetric.md)| Sort options. If not provided, then results will be ordered by equipmentId and createdTimestamp. | [optional] - -### Return type - -[**PaginationResponseServiceMetric**](PaginationResponseServiceMetric.md) - -### Authorization - -[tip_wlan_ts_auth](../README.md#tip_wlan_ts_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/WebTokenAclTemplate.md b/libs/cloudapi/cloudsdk/docs/WebTokenAclTemplate.md deleted file mode 100644 index dadbef962..000000000 --- a/libs/cloudapi/cloudsdk/docs/WebTokenAclTemplate.md +++ /dev/null @@ -1,9 +0,0 @@ -# WebTokenAclTemplate - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**acl_template** | [**AclTemplate**](AclTemplate.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/WebTokenRequest.md b/libs/cloudapi/cloudsdk/docs/WebTokenRequest.md deleted file mode 100644 index 0b3eea063..000000000 --- a/libs/cloudapi/cloudsdk/docs/WebTokenRequest.md +++ /dev/null @@ -1,11 +0,0 @@ -# WebTokenRequest - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**user_id** | **str** | | [default to 'support@example.com'] -**password** | **str** | | [default to 'support'] -**refresh_token** | **str** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/WebTokenResult.md b/libs/cloudapi/cloudsdk/docs/WebTokenResult.md deleted file mode 100644 index 3a42755bd..000000000 --- a/libs/cloudapi/cloudsdk/docs/WebTokenResult.md +++ /dev/null @@ -1,15 +0,0 @@ -# WebTokenResult - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**access_token** | **str** | | [optional] -**refresh_token** | **str** | | [optional] -**id_token** | **str** | | [optional] -**token_type** | **str** | | [optional] -**expires_in** | **int** | | [optional] -**idle_timeout** | **int** | | [optional] -**acl_template** | [**WebTokenAclTemplate**](WebTokenAclTemplate.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/WepAuthType.md b/libs/cloudapi/cloudsdk/docs/WepAuthType.md deleted file mode 100644 index c9ffd9e43..000000000 --- a/libs/cloudapi/cloudsdk/docs/WepAuthType.md +++ /dev/null @@ -1,8 +0,0 @@ -# WepAuthType - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/WepConfiguration.md b/libs/cloudapi/cloudsdk/docs/WepConfiguration.md deleted file mode 100644 index 281dfa5bf..000000000 --- a/libs/cloudapi/cloudsdk/docs/WepConfiguration.md +++ /dev/null @@ -1,11 +0,0 @@ -# WepConfiguration - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**primary_tx_key_id** | **int** | | [optional] -**wep_keys** | [**list[WepKey]**](WepKey.md) | | [optional] -**wep_auth_type** | [**WepAuthType**](WepAuthType.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/WepKey.md b/libs/cloudapi/cloudsdk/docs/WepKey.md deleted file mode 100644 index 60e4263a8..000000000 --- a/libs/cloudapi/cloudsdk/docs/WepKey.md +++ /dev/null @@ -1,11 +0,0 @@ -# WepKey - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**tx_key** | **str** | | [optional] -**tx_key_converted** | **str** | | [optional] -**tx_key_type** | [**WepType**](WepType.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/WepType.md b/libs/cloudapi/cloudsdk/docs/WepType.md deleted file mode 100644 index feb8b3956..000000000 --- a/libs/cloudapi/cloudsdk/docs/WepType.md +++ /dev/null @@ -1,8 +0,0 @@ -# WepType - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/WlanReasonCode.md b/libs/cloudapi/cloudsdk/docs/WlanReasonCode.md deleted file mode 100644 index 96ca268e2..000000000 --- a/libs/cloudapi/cloudsdk/docs/WlanReasonCode.md +++ /dev/null @@ -1,8 +0,0 @@ -# WlanReasonCode - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/WlanStatusCode.md b/libs/cloudapi/cloudsdk/docs/WlanStatusCode.md deleted file mode 100644 index 3590ed949..000000000 --- a/libs/cloudapi/cloudsdk/docs/WlanStatusCode.md +++ /dev/null @@ -1,8 +0,0 @@ -# WlanStatusCode - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/WmmQueueStats.md b/libs/cloudapi/cloudsdk/docs/WmmQueueStats.md deleted file mode 100644 index 48725c899..000000000 --- a/libs/cloudapi/cloudsdk/docs/WmmQueueStats.md +++ /dev/null @@ -1,21 +0,0 @@ -# WmmQueueStats - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**queue_type** | [**WmmQueueType**](WmmQueueType.md) | | [optional] -**tx_frames** | **int** | | [optional] -**tx_bytes** | **int** | | [optional] -**tx_failed_frames** | **int** | | [optional] -**tx_failed_bytes** | **int** | | [optional] -**rx_frames** | **int** | | [optional] -**rx_bytes** | **int** | | [optional] -**rx_failed_frames** | **int** | | [optional] -**rx_failed_bytes** | **int** | | [optional] -**forward_frames** | **int** | | [optional] -**forward_bytes** | **int** | | [optional] -**tx_expired_frames** | **int** | | [optional] -**tx_expired_bytes** | **int** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/WmmQueueStatsPerQueueTypeMap.md b/libs/cloudapi/cloudsdk/docs/WmmQueueStatsPerQueueTypeMap.md deleted file mode 100644 index f217f16df..000000000 --- a/libs/cloudapi/cloudsdk/docs/WmmQueueStatsPerQueueTypeMap.md +++ /dev/null @@ -1,12 +0,0 @@ -# WmmQueueStatsPerQueueTypeMap - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**be** | [**WmmQueueStats**](WmmQueueStats.md) | | [optional] -**bk** | [**WmmQueueStats**](WmmQueueStats.md) | | [optional] -**vi** | [**WmmQueueStats**](WmmQueueStats.md) | | [optional] -**vo** | [**WmmQueueStats**](WmmQueueStats.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/docs/WmmQueueType.md b/libs/cloudapi/cloudsdk/docs/WmmQueueType.md deleted file mode 100644 index 788b56f10..000000000 --- a/libs/cloudapi/cloudsdk/docs/WmmQueueType.md +++ /dev/null @@ -1,8 +0,0 @@ -# WmmQueueType - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/libs/cloudapi/cloudsdk/git_push.sh b/libs/cloudapi/cloudsdk/git_push.sh deleted file mode 100644 index ae01b182a..000000000 --- a/libs/cloudapi/cloudsdk/git_push.sh +++ /dev/null @@ -1,52 +0,0 @@ -#!/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/libs/cloudapi/cloudsdk/requirements.txt b/libs/cloudapi/cloudsdk/requirements.txt deleted file mode 100644 index bafdc0753..000000000 --- a/libs/cloudapi/cloudsdk/requirements.txt +++ /dev/null @@ -1,5 +0,0 @@ -certifi >= 14.05.14 -six >= 1.10 -python_dateutil >= 2.5.3 -setuptools >= 21.0.0 -urllib3 >= 1.15.1 diff --git a/libs/cloudapi/cloudsdk/setup.py b/libs/cloudapi/cloudsdk/setup.py deleted file mode 100644 index 120bd255d..000000000 --- a/libs/cloudapi/cloudsdk/setup.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from setuptools import setup, find_packages # noqa: H301 - -NAME = "swagger-client" -VERSION = "1.0.0" -# To install the library, run the following -# -# python setup.py install -# -# prerequisite: setuptools -# http://pypi.python.org/pypi/setuptools - -REQUIRES = ["urllib3 >= 1.15", "six >= 1.10", "certifi", "python-dateutil"] - -setup( - name=NAME, - version=VERSION, - description="CloudSDK Portal API", - author_email="", - url="", - keywords=["Swagger", "CloudSDK Portal API"], - install_requires=REQUIRES, - packages=find_packages(), - include_package_data=True, - long_description="""\ - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - """ -) diff --git a/libs/cloudapi/cloudsdk/swagger_client/__init__.py b/libs/cloudapi/cloudsdk/swagger_client/__init__.py deleted file mode 100644 index 3bd4e7347..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/__init__.py +++ /dev/null @@ -1,425 +0,0 @@ -# coding: utf-8 - -# flake8: noqa - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -# import apis into sdk package -from swagger_client.api.alarms_api import AlarmsApi -from swagger_client.api.clients_api import ClientsApi -from swagger_client.api.customer_api import CustomerApi -from swagger_client.api.equipment_api import EquipmentApi -from swagger_client.api.equipment_gateway_api import EquipmentGatewayApi -from swagger_client.api.file_services_api import FileServicesApi -from swagger_client.api.firmware_management_api import FirmwareManagementApi -from swagger_client.api.location_api import LocationApi -from swagger_client.api.login_api import LoginApi -from swagger_client.api.manufacturer_oui_api import ManufacturerOUIApi -from swagger_client.api.portal_users_api import PortalUsersApi -from swagger_client.api.profile_api import ProfileApi -from swagger_client.api.service_adoption_metrics_api import ServiceAdoptionMetricsApi -from swagger_client.api.status_api import StatusApi -from swagger_client.api.system_events_api import SystemEventsApi -from swagger_client.api.wlan_service_metrics_api import WLANServiceMetricsApi -# import ApiClient -from swagger_client.api_client import ApiClient -from swagger_client.configuration import Configuration -# import models into sdk package -from swagger_client.models.acl_template import AclTemplate -from swagger_client.models.active_bssid import ActiveBSSID -from swagger_client.models.active_bssi_ds import ActiveBSSIDs -from swagger_client.models.active_scan_settings import ActiveScanSettings -from swagger_client.models.advanced_radio_map import AdvancedRadioMap -from swagger_client.models.alarm import Alarm -from swagger_client.models.alarm_added_event import AlarmAddedEvent -from swagger_client.models.alarm_changed_event import AlarmChangedEvent -from swagger_client.models.alarm_code import AlarmCode -from swagger_client.models.alarm_counts import AlarmCounts -from swagger_client.models.alarm_details import AlarmDetails -from swagger_client.models.alarm_details_attributes_map import AlarmDetailsAttributesMap -from swagger_client.models.alarm_removed_event import AlarmRemovedEvent -from swagger_client.models.alarm_scope_type import AlarmScopeType -from swagger_client.models.antenna_type import AntennaType -from swagger_client.models.ap_element_configuration import ApElementConfiguration -from swagger_client.models.ap_mesh_mode import ApMeshMode -from swagger_client.models.ap_network_configuration import ApNetworkConfiguration -from swagger_client.models.ap_network_configuration_ntp_server import ApNetworkConfigurationNtpServer -from swagger_client.models.ap_node_metrics import ApNodeMetrics -from swagger_client.models.ap_performance import ApPerformance -from swagger_client.models.ap_ssid_metrics import ApSsidMetrics -from swagger_client.models.auto_or_manual_string import AutoOrManualString -from swagger_client.models.auto_or_manual_value import AutoOrManualValue -from swagger_client.models.background_position import BackgroundPosition -from swagger_client.models.background_repeat import BackgroundRepeat -from swagger_client.models.banned_channel import BannedChannel -from swagger_client.models.base_dhcp_event import BaseDhcpEvent -from swagger_client.models.best_ap_steer_type import BestAPSteerType -from swagger_client.models.blocklist_details import BlocklistDetails -from swagger_client.models.bonjour_gateway_profile import BonjourGatewayProfile -from swagger_client.models.bonjour_service_set import BonjourServiceSet -from swagger_client.models.capacity_details import CapacityDetails -from swagger_client.models.capacity_per_radio_details import CapacityPerRadioDetails -from swagger_client.models.capacity_per_radio_details_map import CapacityPerRadioDetailsMap -from swagger_client.models.captive_portal_authentication_type import CaptivePortalAuthenticationType -from swagger_client.models.captive_portal_configuration import CaptivePortalConfiguration -from swagger_client.models.channel_bandwidth import ChannelBandwidth -from swagger_client.models.channel_hop_reason import ChannelHopReason -from swagger_client.models.channel_hop_settings import ChannelHopSettings -from swagger_client.models.channel_info import ChannelInfo -from swagger_client.models.channel_info_reports import ChannelInfoReports -from swagger_client.models.channel_power_level import ChannelPowerLevel -from swagger_client.models.channel_utilization_details import ChannelUtilizationDetails -from swagger_client.models.channel_utilization_per_radio_details import ChannelUtilizationPerRadioDetails -from swagger_client.models.channel_utilization_per_radio_details_map import ChannelUtilizationPerRadioDetailsMap -from swagger_client.models.channel_utilization_survey_type import ChannelUtilizationSurveyType -from swagger_client.models.client import Client -from swagger_client.models.client_activity_aggregated_stats import ClientActivityAggregatedStats -from swagger_client.models.client_activity_aggregated_stats_per_radio_type_map import ClientActivityAggregatedStatsPerRadioTypeMap -from swagger_client.models.client_added_event import ClientAddedEvent -from swagger_client.models.client_assoc_event import ClientAssocEvent -from swagger_client.models.client_auth_event import ClientAuthEvent -from swagger_client.models.client_changed_event import ClientChangedEvent -from swagger_client.models.client_connect_success_event import ClientConnectSuccessEvent -from swagger_client.models.client_connection_details import ClientConnectionDetails -from swagger_client.models.client_dhcp_details import ClientDhcpDetails -from swagger_client.models.client_disconnect_event import ClientDisconnectEvent -from swagger_client.models.client_eap_details import ClientEapDetails -from swagger_client.models.client_failure_details import ClientFailureDetails -from swagger_client.models.client_failure_event import ClientFailureEvent -from swagger_client.models.client_first_data_event import ClientFirstDataEvent -from swagger_client.models.client_id_event import ClientIdEvent -from swagger_client.models.client_info_details import ClientInfoDetails -from swagger_client.models.client_ip_address_event import ClientIpAddressEvent -from swagger_client.models.client_metrics import ClientMetrics -from swagger_client.models.client_removed_event import ClientRemovedEvent -from swagger_client.models.client_session import ClientSession -from swagger_client.models.client_session_changed_event import ClientSessionChangedEvent -from swagger_client.models.client_session_details import ClientSessionDetails -from swagger_client.models.client_session_metric_details import ClientSessionMetricDetails -from swagger_client.models.client_session_removed_event import ClientSessionRemovedEvent -from swagger_client.models.client_timeout_event import ClientTimeoutEvent -from swagger_client.models.client_timeout_reason import ClientTimeoutReason -from swagger_client.models.common_probe_details import CommonProbeDetails -from swagger_client.models.country_code import CountryCode -from swagger_client.models.counts_per_alarm_code_map import CountsPerAlarmCodeMap -from swagger_client.models.counts_per_equipment_id_per_alarm_code_map import CountsPerEquipmentIdPerAlarmCodeMap -from swagger_client.models.customer import Customer -from swagger_client.models.customer_added_event import CustomerAddedEvent -from swagger_client.models.customer_changed_event import CustomerChangedEvent -from swagger_client.models.customer_details import CustomerDetails -from swagger_client.models.customer_firmware_track_record import CustomerFirmwareTrackRecord -from swagger_client.models.customer_firmware_track_settings import CustomerFirmwareTrackSettings -from swagger_client.models.customer_portal_dashboard_status import CustomerPortalDashboardStatus -from swagger_client.models.customer_removed_event import CustomerRemovedEvent -from swagger_client.models.daily_time_range_schedule import DailyTimeRangeSchedule -from swagger_client.models.day_of_week import DayOfWeek -from swagger_client.models.days_of_week_time_range_schedule import DaysOfWeekTimeRangeSchedule -from swagger_client.models.deployment_type import DeploymentType -from swagger_client.models.detected_auth_mode import DetectedAuthMode -from swagger_client.models.device_mode import DeviceMode -from swagger_client.models.dhcp_ack_event import DhcpAckEvent -from swagger_client.models.dhcp_decline_event import DhcpDeclineEvent -from swagger_client.models.dhcp_discover_event import DhcpDiscoverEvent -from swagger_client.models.dhcp_inform_event import DhcpInformEvent -from swagger_client.models.dhcp_nak_event import DhcpNakEvent -from swagger_client.models.dhcp_offer_event import DhcpOfferEvent -from swagger_client.models.dhcp_request_event import DhcpRequestEvent -from swagger_client.models.disconnect_frame_type import DisconnectFrameType -from swagger_client.models.disconnect_initiator import DisconnectInitiator -from swagger_client.models.dns_probe_metric import DnsProbeMetric -from swagger_client.models.dynamic_vlan_mode import DynamicVlanMode -from swagger_client.models.element_radio_configuration import ElementRadioConfiguration -from swagger_client.models.element_radio_configuration_eirp_tx_power import ElementRadioConfigurationEirpTxPower -from swagger_client.models.empty_schedule import EmptySchedule -from swagger_client.models.equipment import Equipment -from swagger_client.models.equipment_added_event import EquipmentAddedEvent -from swagger_client.models.equipment_admin_status_data import EquipmentAdminStatusData -from swagger_client.models.equipment_auto_provisioning_settings import EquipmentAutoProvisioningSettings -from swagger_client.models.equipment_capacity_details import EquipmentCapacityDetails -from swagger_client.models.equipment_capacity_details_map import EquipmentCapacityDetailsMap -from swagger_client.models.equipment_changed_event import EquipmentChangedEvent -from swagger_client.models.equipment_details import EquipmentDetails -from swagger_client.models.equipment_gateway_record import EquipmentGatewayRecord -from swagger_client.models.equipment_lan_status_data import EquipmentLANStatusData -from swagger_client.models.equipment_neighbouring_status_data import EquipmentNeighbouringStatusData -from swagger_client.models.equipment_peer_status_data import EquipmentPeerStatusData -from swagger_client.models.equipment_per_radio_utilization_details import EquipmentPerRadioUtilizationDetails -from swagger_client.models.equipment_per_radio_utilization_details_map import EquipmentPerRadioUtilizationDetailsMap -from swagger_client.models.equipment_performance_details import EquipmentPerformanceDetails -from swagger_client.models.equipment_protocol_state import EquipmentProtocolState -from swagger_client.models.equipment_protocol_status_data import EquipmentProtocolStatusData -from swagger_client.models.equipment_removed_event import EquipmentRemovedEvent -from swagger_client.models.equipment_routing_record import EquipmentRoutingRecord -from swagger_client.models.equipment_rrm_bulk_update_item import EquipmentRrmBulkUpdateItem -from swagger_client.models.equipment_rrm_bulk_update_item_per_radio_map import EquipmentRrmBulkUpdateItemPerRadioMap -from swagger_client.models.equipment_rrm_bulk_update_request import EquipmentRrmBulkUpdateRequest -from swagger_client.models.equipment_scan_details import EquipmentScanDetails -from swagger_client.models.equipment_type import EquipmentType -from swagger_client.models.equipment_upgrade_failure_reason import EquipmentUpgradeFailureReason -from swagger_client.models.equipment_upgrade_state import EquipmentUpgradeState -from swagger_client.models.equipment_upgrade_status_data import EquipmentUpgradeStatusData -from swagger_client.models.ethernet_link_state import EthernetLinkState -from swagger_client.models.file_category import FileCategory -from swagger_client.models.file_type import FileType -from swagger_client.models.firmware_schedule_setting import FirmwareScheduleSetting -from swagger_client.models.firmware_track_assignment_details import FirmwareTrackAssignmentDetails -from swagger_client.models.firmware_track_assignment_record import FirmwareTrackAssignmentRecord -from swagger_client.models.firmware_track_record import FirmwareTrackRecord -from swagger_client.models.firmware_validation_method import FirmwareValidationMethod -from swagger_client.models.firmware_version import FirmwareVersion -from swagger_client.models.gateway_added_event import GatewayAddedEvent -from swagger_client.models.gateway_changed_event import GatewayChangedEvent -from swagger_client.models.gateway_removed_event import GatewayRemovedEvent -from swagger_client.models.gateway_type import GatewayType -from swagger_client.models.generic_response import GenericResponse -from swagger_client.models.gre_tunnel_configuration import GreTunnelConfiguration -from swagger_client.models.guard_interval import GuardInterval -from swagger_client.models.integer_per_radio_type_map import IntegerPerRadioTypeMap -from swagger_client.models.integer_per_status_code_map import IntegerPerStatusCodeMap -from swagger_client.models.integer_status_code_map import IntegerStatusCodeMap -from swagger_client.models.integer_value_map import IntegerValueMap -from swagger_client.models.json_serialized_exception import JsonSerializedException -from swagger_client.models.link_quality_aggregated_stats import LinkQualityAggregatedStats -from swagger_client.models.link_quality_aggregated_stats_per_radio_type_map import LinkQualityAggregatedStatsPerRadioTypeMap -from swagger_client.models.list_of_channel_info_reports_per_radio_map import ListOfChannelInfoReportsPerRadioMap -from swagger_client.models.list_of_macs_per_radio_map import ListOfMacsPerRadioMap -from swagger_client.models.list_of_mcs_stats_per_radio_map import ListOfMcsStatsPerRadioMap -from swagger_client.models.list_of_radio_utilization_per_radio_map import ListOfRadioUtilizationPerRadioMap -from swagger_client.models.list_of_ssid_statistics_per_radio_map import ListOfSsidStatisticsPerRadioMap -from swagger_client.models.local_time_value import LocalTimeValue -from swagger_client.models.location import Location -from swagger_client.models.location_activity_details import LocationActivityDetails -from swagger_client.models.location_activity_details_map import LocationActivityDetailsMap -from swagger_client.models.location_added_event import LocationAddedEvent -from swagger_client.models.location_changed_event import LocationChangedEvent -from swagger_client.models.location_details import LocationDetails -from swagger_client.models.location_removed_event import LocationRemovedEvent -from swagger_client.models.long_per_radio_type_map import LongPerRadioTypeMap -from swagger_client.models.long_value_map import LongValueMap -from swagger_client.models.mac_address import MacAddress -from swagger_client.models.mac_allowlist_record import MacAllowlistRecord -from swagger_client.models.managed_file_info import ManagedFileInfo -from swagger_client.models.management_rate import ManagementRate -from swagger_client.models.manufacturer_details_record import ManufacturerDetailsRecord -from swagger_client.models.manufacturer_oui_details import ManufacturerOuiDetails -from swagger_client.models.manufacturer_oui_details_per_oui_map import ManufacturerOuiDetailsPerOuiMap -from swagger_client.models.map_of_wmm_queue_stats_per_radio_map import MapOfWmmQueueStatsPerRadioMap -from swagger_client.models.mcs_stats import McsStats -from swagger_client.models.mcs_type import McsType -from swagger_client.models.mesh_group import MeshGroup -from swagger_client.models.mesh_group_member import MeshGroupMember -from swagger_client.models.mesh_group_property import MeshGroupProperty -from swagger_client.models.metric_config_parameter_map import MetricConfigParameterMap -from swagger_client.models.mimo_mode import MimoMode -from swagger_client.models.min_max_avg_value_int import MinMaxAvgValueInt -from swagger_client.models.min_max_avg_value_int_per_radio_map import MinMaxAvgValueIntPerRadioMap -from swagger_client.models.multicast_rate import MulticastRate -from swagger_client.models.neighbor_scan_packet_type import NeighborScanPacketType -from swagger_client.models.neighbour_report import NeighbourReport -from swagger_client.models.neighbour_scan_reports import NeighbourScanReports -from swagger_client.models.neighbouring_ap_list_configuration import NeighbouringAPListConfiguration -from swagger_client.models.network_admin_status_data import NetworkAdminStatusData -from swagger_client.models.network_aggregate_status_data import NetworkAggregateStatusData -from swagger_client.models.network_forward_mode import NetworkForwardMode -from swagger_client.models.network_probe_metrics import NetworkProbeMetrics -from swagger_client.models.network_type import NetworkType -from swagger_client.models.noise_floor_details import NoiseFloorDetails -from swagger_client.models.noise_floor_per_radio_details import NoiseFloorPerRadioDetails -from swagger_client.models.noise_floor_per_radio_details_map import NoiseFloorPerRadioDetailsMap -from swagger_client.models.obss_hop_mode import ObssHopMode -from swagger_client.models.one_of_equipment_details import OneOfEquipmentDetails -from swagger_client.models.one_of_firmware_schedule_setting import OneOfFirmwareScheduleSetting -from swagger_client.models.one_of_profile_details_children import OneOfProfileDetailsChildren -from swagger_client.models.one_of_schedule_setting import OneOfScheduleSetting -from swagger_client.models.one_of_service_metric_details import OneOfServiceMetricDetails -from swagger_client.models.one_of_status_details import OneOfStatusDetails -from swagger_client.models.one_of_system_event import OneOfSystemEvent -from swagger_client.models.operating_system_performance import OperatingSystemPerformance -from swagger_client.models.originator_type import OriginatorType -from swagger_client.models.pagination_context_alarm import PaginationContextAlarm -from swagger_client.models.pagination_context_client import PaginationContextClient -from swagger_client.models.pagination_context_client_session import PaginationContextClientSession -from swagger_client.models.pagination_context_equipment import PaginationContextEquipment -from swagger_client.models.pagination_context_location import PaginationContextLocation -from swagger_client.models.pagination_context_portal_user import PaginationContextPortalUser -from swagger_client.models.pagination_context_profile import PaginationContextProfile -from swagger_client.models.pagination_context_service_metric import PaginationContextServiceMetric -from swagger_client.models.pagination_context_status import PaginationContextStatus -from swagger_client.models.pagination_context_system_event import PaginationContextSystemEvent -from swagger_client.models.pagination_response_alarm import PaginationResponseAlarm -from swagger_client.models.pagination_response_client import PaginationResponseClient -from swagger_client.models.pagination_response_client_session import PaginationResponseClientSession -from swagger_client.models.pagination_response_equipment import PaginationResponseEquipment -from swagger_client.models.pagination_response_location import PaginationResponseLocation -from swagger_client.models.pagination_response_portal_user import PaginationResponsePortalUser -from swagger_client.models.pagination_response_profile import PaginationResponseProfile -from swagger_client.models.pagination_response_service_metric import PaginationResponseServiceMetric -from swagger_client.models.pagination_response_status import PaginationResponseStatus -from swagger_client.models.pagination_response_system_event import PaginationResponseSystemEvent -from swagger_client.models.pair_long_long import PairLongLong -from swagger_client.models.passpoint_access_network_type import PasspointAccessNetworkType -from swagger_client.models.passpoint_connection_capabilities_ip_protocol import PasspointConnectionCapabilitiesIpProtocol -from swagger_client.models.passpoint_connection_capabilities_status import PasspointConnectionCapabilitiesStatus -from swagger_client.models.passpoint_connection_capability import PasspointConnectionCapability -from swagger_client.models.passpoint_duple import PasspointDuple -from swagger_client.models.passpoint_eap_methods import PasspointEapMethods -from swagger_client.models.passpoint_gas_address3_behaviour import PasspointGasAddress3Behaviour -from swagger_client.models.passpoint_i_pv4_address_type import PasspointIPv4AddressType -from swagger_client.models.passpoint_i_pv6_address_type import PasspointIPv6AddressType -from swagger_client.models.passpoint_mcc_mnc import PasspointMccMnc -from swagger_client.models.passpoint_nai_realm_eap_auth_inner_non_eap import PasspointNaiRealmEapAuthInnerNonEap -from swagger_client.models.passpoint_nai_realm_eap_auth_param import PasspointNaiRealmEapAuthParam -from swagger_client.models.passpoint_nai_realm_eap_cred_type import PasspointNaiRealmEapCredType -from swagger_client.models.passpoint_nai_realm_encoding import PasspointNaiRealmEncoding -from swagger_client.models.passpoint_nai_realm_information import PasspointNaiRealmInformation -from swagger_client.models.passpoint_network_authentication_type import PasspointNetworkAuthenticationType -from swagger_client.models.passpoint_operator_profile import PasspointOperatorProfile -from swagger_client.models.passpoint_osu_icon import PasspointOsuIcon -from swagger_client.models.passpoint_osu_provider_profile import PasspointOsuProviderProfile -from swagger_client.models.passpoint_profile import PasspointProfile -from swagger_client.models.passpoint_venue_name import PasspointVenueName -from swagger_client.models.passpoint_venue_profile import PasspointVenueProfile -from swagger_client.models.passpoint_venue_type_assignment import PasspointVenueTypeAssignment -from swagger_client.models.peer_info import PeerInfo -from swagger_client.models.per_process_utilization import PerProcessUtilization -from swagger_client.models.ping_response import PingResponse -from swagger_client.models.portal_user import PortalUser -from swagger_client.models.portal_user_added_event import PortalUserAddedEvent -from swagger_client.models.portal_user_changed_event import PortalUserChangedEvent -from swagger_client.models.portal_user_removed_event import PortalUserRemovedEvent -from swagger_client.models.portal_user_role import PortalUserRole -from swagger_client.models.profile import Profile -from swagger_client.models.profile_added_event import ProfileAddedEvent -from swagger_client.models.profile_changed_event import ProfileChangedEvent -from swagger_client.models.profile_details import ProfileDetails -from swagger_client.models.profile_details_children import ProfileDetailsChildren -from swagger_client.models.profile_removed_event import ProfileRemovedEvent -from swagger_client.models.profile_type import ProfileType -from swagger_client.models.radio_based_ssid_configuration import RadioBasedSsidConfiguration -from swagger_client.models.radio_based_ssid_configuration_map import RadioBasedSsidConfigurationMap -from swagger_client.models.radio_best_ap_settings import RadioBestApSettings -from swagger_client.models.radio_channel_change_settings import RadioChannelChangeSettings -from swagger_client.models.radio_configuration import RadioConfiguration -from swagger_client.models.radio_map import RadioMap -from swagger_client.models.radio_mode import RadioMode -from swagger_client.models.radio_profile_configuration import RadioProfileConfiguration -from swagger_client.models.radio_profile_configuration_map import RadioProfileConfigurationMap -from swagger_client.models.radio_statistics import RadioStatistics -from swagger_client.models.radio_statistics_per_radio_map import RadioStatisticsPerRadioMap -from swagger_client.models.radio_type import RadioType -from swagger_client.models.radio_utilization import RadioUtilization -from swagger_client.models.radio_utilization_details import RadioUtilizationDetails -from swagger_client.models.radio_utilization_per_radio_details import RadioUtilizationPerRadioDetails -from swagger_client.models.radio_utilization_per_radio_details_map import RadioUtilizationPerRadioDetailsMap -from swagger_client.models.radio_utilization_report import RadioUtilizationReport -from swagger_client.models.radius_authentication_method import RadiusAuthenticationMethod -from swagger_client.models.radius_details import RadiusDetails -from swagger_client.models.radius_metrics import RadiusMetrics -from swagger_client.models.radius_nas_configuration import RadiusNasConfiguration -from swagger_client.models.radius_profile import RadiusProfile -from swagger_client.models.radius_server import RadiusServer -from swagger_client.models.radius_server_details import RadiusServerDetails -from swagger_client.models.real_time_event import RealTimeEvent -from swagger_client.models.real_time_sip_call_event_with_stats import RealTimeSipCallEventWithStats -from swagger_client.models.real_time_sip_call_report_event import RealTimeSipCallReportEvent -from swagger_client.models.real_time_sip_call_start_event import RealTimeSipCallStartEvent -from swagger_client.models.real_time_sip_call_stop_event import RealTimeSipCallStopEvent -from swagger_client.models.real_time_streaming_start_event import RealTimeStreamingStartEvent -from swagger_client.models.real_time_streaming_start_session_event import RealTimeStreamingStartSessionEvent -from swagger_client.models.real_time_streaming_stop_event import RealTimeStreamingStopEvent -from swagger_client.models.realtime_channel_hop_event import RealtimeChannelHopEvent -from swagger_client.models.rf_config_map import RfConfigMap -from swagger_client.models.rf_configuration import RfConfiguration -from swagger_client.models.rf_element_configuration import RfElementConfiguration -from swagger_client.models.routing_added_event import RoutingAddedEvent -from swagger_client.models.routing_changed_event import RoutingChangedEvent -from swagger_client.models.routing_removed_event import RoutingRemovedEvent -from swagger_client.models.rrm_bulk_update_ap_details import RrmBulkUpdateApDetails -from swagger_client.models.rtls_settings import RtlsSettings -from swagger_client.models.rtp_flow_direction import RtpFlowDirection -from swagger_client.models.rtp_flow_stats import RtpFlowStats -from swagger_client.models.rtp_flow_type import RtpFlowType -from swagger_client.models.sip_call_report_reason import SIPCallReportReason -from swagger_client.models.schedule_setting import ScheduleSetting -from swagger_client.models.security_type import SecurityType -from swagger_client.models.service_adoption_metrics import ServiceAdoptionMetrics -from swagger_client.models.service_metric import ServiceMetric -from swagger_client.models.service_metric_config_parameters import ServiceMetricConfigParameters -from swagger_client.models.service_metric_data_type import ServiceMetricDataType -from swagger_client.models.service_metric_details import ServiceMetricDetails -from swagger_client.models.service_metric_radio_config_parameters import ServiceMetricRadioConfigParameters -from swagger_client.models.service_metric_survey_config_parameters import ServiceMetricSurveyConfigParameters -from swagger_client.models.service_metrics_collection_config_profile import ServiceMetricsCollectionConfigProfile -from swagger_client.models.session_expiry_type import SessionExpiryType -from swagger_client.models.sip_call_stop_reason import SipCallStopReason -from swagger_client.models.sort_columns_alarm import SortColumnsAlarm -from swagger_client.models.sort_columns_client import SortColumnsClient -from swagger_client.models.sort_columns_client_session import SortColumnsClientSession -from swagger_client.models.sort_columns_equipment import SortColumnsEquipment -from swagger_client.models.sort_columns_location import SortColumnsLocation -from swagger_client.models.sort_columns_portal_user import SortColumnsPortalUser -from swagger_client.models.sort_columns_profile import SortColumnsProfile -from swagger_client.models.sort_columns_service_metric import SortColumnsServiceMetric -from swagger_client.models.sort_columns_status import SortColumnsStatus -from swagger_client.models.sort_columns_system_event import SortColumnsSystemEvent -from swagger_client.models.sort_order import SortOrder -from swagger_client.models.source_selection_management import SourceSelectionManagement -from swagger_client.models.source_selection_multicast import SourceSelectionMulticast -from swagger_client.models.source_selection_steering import SourceSelectionSteering -from swagger_client.models.source_selection_value import SourceSelectionValue -from swagger_client.models.source_type import SourceType -from swagger_client.models.ssid_configuration import SsidConfiguration -from swagger_client.models.ssid_secure_mode import SsidSecureMode -from swagger_client.models.ssid_statistics import SsidStatistics -from swagger_client.models.state_setting import StateSetting -from swagger_client.models.state_up_down_error import StateUpDownError -from swagger_client.models.stats_report_format import StatsReportFormat -from swagger_client.models.status import Status -from swagger_client.models.status_changed_event import StatusChangedEvent -from swagger_client.models.status_code import StatusCode -from swagger_client.models.status_data_type import StatusDataType -from swagger_client.models.status_details import StatusDetails -from swagger_client.models.status_removed_event import StatusRemovedEvent -from swagger_client.models.steer_type import SteerType -from swagger_client.models.streaming_video_server_record import StreamingVideoServerRecord -from swagger_client.models.streaming_video_type import StreamingVideoType -from swagger_client.models.syslog_relay import SyslogRelay -from swagger_client.models.syslog_severity_type import SyslogSeverityType -from swagger_client.models.system_event import SystemEvent -from swagger_client.models.system_event_data_type import SystemEventDataType -from swagger_client.models.system_event_record import SystemEventRecord -from swagger_client.models.timed_access_user_details import TimedAccessUserDetails -from swagger_client.models.timed_access_user_record import TimedAccessUserRecord -from swagger_client.models.track_flag import TrackFlag -from swagger_client.models.traffic_details import TrafficDetails -from swagger_client.models.traffic_per_radio_details import TrafficPerRadioDetails -from swagger_client.models.traffic_per_radio_details_per_radio_type_map import TrafficPerRadioDetailsPerRadioTypeMap -from swagger_client.models.tunnel_indicator import TunnelIndicator -from swagger_client.models.tunnel_metric_data import TunnelMetricData -from swagger_client.models.unserializable_system_event import UnserializableSystemEvent -from swagger_client.models.user_details import UserDetails -from swagger_client.models.vlan_status_data import VLANStatusData -from swagger_client.models.vlan_status_data_map import VLANStatusDataMap -from swagger_client.models.vlan_subnet import VlanSubnet -from swagger_client.models.web_token_acl_template import WebTokenAclTemplate -from swagger_client.models.web_token_request import WebTokenRequest -from swagger_client.models.web_token_result import WebTokenResult -from swagger_client.models.wep_auth_type import WepAuthType -from swagger_client.models.wep_configuration import WepConfiguration -from swagger_client.models.wep_key import WepKey -from swagger_client.models.wep_type import WepType -from swagger_client.models.wlan_reason_code import WlanReasonCode -from swagger_client.models.wlan_status_code import WlanStatusCode -from swagger_client.models.wmm_queue_stats import WmmQueueStats -from swagger_client.models.wmm_queue_stats_per_queue_type_map import WmmQueueStatsPerQueueTypeMap -from swagger_client.models.wmm_queue_type import WmmQueueType diff --git a/libs/cloudapi/cloudsdk/swagger_client/api/__init__.py b/libs/cloudapi/cloudsdk/swagger_client/api/__init__.py deleted file mode 100644 index a620d607e..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/api/__init__.py +++ /dev/null @@ -1,21 +0,0 @@ -from __future__ import absolute_import - -# flake8: noqa - -# import apis into api package -from swagger_client.api.alarms_api import AlarmsApi -from swagger_client.api.clients_api import ClientsApi -from swagger_client.api.customer_api import CustomerApi -from swagger_client.api.equipment_api import EquipmentApi -from swagger_client.api.equipment_gateway_api import EquipmentGatewayApi -from swagger_client.api.file_services_api import FileServicesApi -from swagger_client.api.firmware_management_api import FirmwareManagementApi -from swagger_client.api.location_api import LocationApi -from swagger_client.api.login_api import LoginApi -from swagger_client.api.manufacturer_oui_api import ManufacturerOUIApi -from swagger_client.api.portal_users_api import PortalUsersApi -from swagger_client.api.profile_api import ProfileApi -from swagger_client.api.service_adoption_metrics_api import ServiceAdoptionMetricsApi -from swagger_client.api.status_api import StatusApi -from swagger_client.api.system_events_api import SystemEventsApi -from swagger_client.api.wlan_service_metrics_api import WLANServiceMetricsApi diff --git a/libs/cloudapi/cloudsdk/swagger_client/api/alarms_api.py b/libs/cloudapi/cloudsdk/swagger_client/api/alarms_api.py deleted file mode 100644 index f53cbb615..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/api/alarms_api.py +++ /dev/null @@ -1,666 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import re # noqa: F401 - -# python 2 and python 3 compatibility library -import six - -from swagger_client.api_client import ApiClient - - -class AlarmsApi(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - Ref: https://github.com/swagger-api/swagger-codegen - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - - def delete_alarm(self, customer_id, equipment_id, alarm_code, created_timestamp, **kwargs): # noqa: E501 - """Delete Alarm # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_alarm(customer_id, equipment_id, alarm_code, created_timestamp, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int customer_id: (required) - :param int equipment_id: (required) - :param AlarmCode alarm_code: (required) - :param int created_timestamp: (required) - :return: Alarm - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.delete_alarm_with_http_info(customer_id, equipment_id, alarm_code, created_timestamp, **kwargs) # noqa: E501 - else: - (data) = self.delete_alarm_with_http_info(customer_id, equipment_id, alarm_code, created_timestamp, **kwargs) # noqa: E501 - return data - - def delete_alarm_with_http_info(self, customer_id, equipment_id, alarm_code, created_timestamp, **kwargs): # noqa: E501 - """Delete Alarm # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_alarm_with_http_info(customer_id, equipment_id, alarm_code, created_timestamp, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int customer_id: (required) - :param int equipment_id: (required) - :param AlarmCode alarm_code: (required) - :param int created_timestamp: (required) - :return: Alarm - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['customer_id', 'equipment_id', 'alarm_code', 'created_timestamp'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method delete_alarm" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'customer_id' is set - if ('customer_id' not in params or - params['customer_id'] is None): - raise ValueError("Missing the required parameter `customer_id` when calling `delete_alarm`") # noqa: E501 - # verify the required parameter 'equipment_id' is set - if ('equipment_id' not in params or - params['equipment_id'] is None): - raise ValueError("Missing the required parameter `equipment_id` when calling `delete_alarm`") # noqa: E501 - # verify the required parameter 'alarm_code' is set - if ('alarm_code' not in params or - params['alarm_code'] is None): - raise ValueError("Missing the required parameter `alarm_code` when calling `delete_alarm`") # noqa: E501 - # verify the required parameter 'created_timestamp' is set - if ('created_timestamp' not in params or - params['created_timestamp'] is None): - raise ValueError("Missing the required parameter `created_timestamp` when calling `delete_alarm`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'customer_id' in params: - query_params.append(('customerId', params['customer_id'])) # noqa: E501 - if 'equipment_id' in params: - query_params.append(('equipmentId', params['equipment_id'])) # noqa: E501 - if 'alarm_code' in params: - query_params.append(('alarmCode', params['alarm_code'])) # noqa: E501 - if 'created_timestamp' in params: - query_params.append(('createdTimestamp', params['created_timestamp'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/alarm', 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='Alarm', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_alarm_counts(self, customer_id, **kwargs): # noqa: E501 - """Get counts of Alarms for customerId, optional set of equipment ids, optional set of alarm codes. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_alarm_counts(customer_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int customer_id: customer id (required) - :param list[int] equipment_ids: Set of equipment ids. Empty or null means retrieve for all equipment for the customer. - :param list[AlarmCode] alarm_codes: Set of alarm codes. Empty or null means retrieve all. - :return: AlarmCounts - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_alarm_counts_with_http_info(customer_id, **kwargs) # noqa: E501 - else: - (data) = self.get_alarm_counts_with_http_info(customer_id, **kwargs) # noqa: E501 - return data - - def get_alarm_counts_with_http_info(self, customer_id, **kwargs): # noqa: E501 - """Get counts of Alarms for customerId, optional set of equipment ids, optional set of alarm codes. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_alarm_counts_with_http_info(customer_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int customer_id: customer id (required) - :param list[int] equipment_ids: Set of equipment ids. Empty or null means retrieve for all equipment for the customer. - :param list[AlarmCode] alarm_codes: Set of alarm codes. Empty or null means retrieve all. - :return: AlarmCounts - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['customer_id', 'equipment_ids', 'alarm_codes'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_alarm_counts" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'customer_id' is set - if ('customer_id' not in params or - params['customer_id'] is None): - raise ValueError("Missing the required parameter `customer_id` when calling `get_alarm_counts`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'customer_id' in params: - query_params.append(('customerId', params['customer_id'])) # noqa: E501 - if 'equipment_ids' in params: - query_params.append(('equipmentIds', params['equipment_ids'])) # noqa: E501 - collection_formats['equipmentIds'] = 'multi' # noqa: E501 - if 'alarm_codes' in params: - query_params.append(('alarmCodes', params['alarm_codes'])) # noqa: E501 - collection_formats['alarmCodes'] = 'multi' # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/alarm/counts', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AlarmCounts', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_alarmsfor_customer(self, customer_id, pagination_context, **kwargs): # noqa: E501 - """Get list of Alarms for customerId, optional set of equipment ids, optional set of alarm codes. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_alarmsfor_customer(customer_id, pagination_context, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int customer_id: customer id (required) - :param PaginationContextAlarm pagination_context: pagination context (required) - :param list[int] equipment_ids: Set of equipment ids. Empty or null means retrieve all equipment for the customer. - :param list[AlarmCode] alarm_codes: Set of alarm codes. Empty or null means retrieve all. - :param int created_after_timestamp: retrieve alarms created after the specified time - :param list[SortColumnsAlarm] sort_by: sort options - :return: PaginationResponseAlarm - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_alarmsfor_customer_with_http_info(customer_id, pagination_context, **kwargs) # noqa: E501 - else: - (data) = self.get_alarmsfor_customer_with_http_info(customer_id, pagination_context, **kwargs) # noqa: E501 - return data - - def get_alarmsfor_customer_with_http_info(self, customer_id, pagination_context, **kwargs): # noqa: E501 - """Get list of Alarms for customerId, optional set of equipment ids, optional set of alarm codes. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_alarmsfor_customer_with_http_info(customer_id, pagination_context, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int customer_id: customer id (required) - :param PaginationContextAlarm pagination_context: pagination context (required) - :param list[int] equipment_ids: Set of equipment ids. Empty or null means retrieve all equipment for the customer. - :param list[AlarmCode] alarm_codes: Set of alarm codes. Empty or null means retrieve all. - :param int created_after_timestamp: retrieve alarms created after the specified time - :param list[SortColumnsAlarm] sort_by: sort options - :return: PaginationResponseAlarm - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['customer_id', 'pagination_context', 'equipment_ids', 'alarm_codes', 'created_after_timestamp', 'sort_by'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_alarmsfor_customer" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'customer_id' is set - if ('customer_id' not in params or - params['customer_id'] is None): - raise ValueError("Missing the required parameter `customer_id` when calling `get_alarmsfor_customer`") # noqa: E501 - # verify the required parameter 'pagination_context' is set - if ('pagination_context' not in params or - params['pagination_context'] is None): - raise ValueError("Missing the required parameter `pagination_context` when calling `get_alarmsfor_customer`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'customer_id' in params: - query_params.append(('customerId', params['customer_id'])) # noqa: E501 - if 'equipment_ids' in params: - query_params.append(('equipmentIds', params['equipment_ids'])) # noqa: E501 - collection_formats['equipmentIds'] = 'multi' # noqa: E501 - if 'alarm_codes' in params: - query_params.append(('alarmCodes', params['alarm_codes'])) # noqa: E501 - collection_formats['alarmCodes'] = 'multi' # noqa: E501 - if 'created_after_timestamp' in params: - query_params.append(('createdAfterTimestamp', params['created_after_timestamp'])) # noqa: E501 - if 'sort_by' in params: - query_params.append(('sortBy', params['sort_by'])) # noqa: E501 - collection_formats['sortBy'] = 'multi' # noqa: E501 - if 'pagination_context' in params: - query_params.append(('paginationContext', params['pagination_context'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/alarm/forCustomer', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='PaginationResponseAlarm', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_alarmsfor_equipment(self, customer_id, equipment_ids, **kwargs): # noqa: E501 - """Get list of Alarms for customerId, set of equipment ids, and set of alarm codes. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_alarmsfor_equipment(customer_id, equipment_ids, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int customer_id: customer id (required) - :param list[int] equipment_ids: Set of equipment ids. Must not be empty. (required) - :param list[AlarmCode] alarm_codes: Set of alarm codes. Empty or null means retrieve all. - :param int created_after_timestamp: retrieve alarms created after the specified time - :return: list[Alarm] - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_alarmsfor_equipment_with_http_info(customer_id, equipment_ids, **kwargs) # noqa: E501 - else: - (data) = self.get_alarmsfor_equipment_with_http_info(customer_id, equipment_ids, **kwargs) # noqa: E501 - return data - - def get_alarmsfor_equipment_with_http_info(self, customer_id, equipment_ids, **kwargs): # noqa: E501 - """Get list of Alarms for customerId, set of equipment ids, and set of alarm codes. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_alarmsfor_equipment_with_http_info(customer_id, equipment_ids, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int customer_id: customer id (required) - :param list[int] equipment_ids: Set of equipment ids. Must not be empty. (required) - :param list[AlarmCode] alarm_codes: Set of alarm codes. Empty or null means retrieve all. - :param int created_after_timestamp: retrieve alarms created after the specified time - :return: list[Alarm] - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['customer_id', 'equipment_ids', 'alarm_codes', 'created_after_timestamp'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_alarmsfor_equipment" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'customer_id' is set - if ('customer_id' not in params or - params['customer_id'] is None): - raise ValueError("Missing the required parameter `customer_id` when calling `get_alarmsfor_equipment`") # noqa: E501 - # verify the required parameter 'equipment_ids' is set - if ('equipment_ids' not in params or - params['equipment_ids'] is None): - raise ValueError("Missing the required parameter `equipment_ids` when calling `get_alarmsfor_equipment`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'customer_id' in params: - query_params.append(('customerId', params['customer_id'])) # noqa: E501 - if 'equipment_ids' in params: - query_params.append(('equipmentIds', params['equipment_ids'])) # noqa: E501 - collection_formats['equipmentIds'] = 'multi' # noqa: E501 - if 'alarm_codes' in params: - query_params.append(('alarmCodes', params['alarm_codes'])) # noqa: E501 - collection_formats['alarmCodes'] = 'multi' # noqa: E501 - if 'created_after_timestamp' in params: - query_params.append(('createdAfterTimestamp', params['created_after_timestamp'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/alarm/forEquipment', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='list[Alarm]', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def reset_alarm_counts(self, **kwargs): # noqa: E501 - """Reset accumulated counts of Alarms. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.reset_alarm_counts(async_req=True) - >>> result = thread.get() - - :param async_req bool - :return: GenericResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.reset_alarm_counts_with_http_info(**kwargs) # noqa: E501 - else: - (data) = self.reset_alarm_counts_with_http_info(**kwargs) # noqa: E501 - return data - - def reset_alarm_counts_with_http_info(self, **kwargs): # noqa: E501 - """Reset accumulated counts of Alarms. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.reset_alarm_counts_with_http_info(async_req=True) - >>> result = thread.get() - - :param async_req bool - :return: GenericResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = [] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method reset_alarm_counts" % key - ) - params[key] = val - del params['kwargs'] - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/alarm/resetCounts', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='GenericResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def update_alarm(self, body, **kwargs): # noqa: E501 - """Update Alarm # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_alarm(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param Alarm body: Alarm info (required) - :return: Alarm - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.update_alarm_with_http_info(body, **kwargs) # noqa: E501 - else: - (data) = self.update_alarm_with_http_info(body, **kwargs) # noqa: E501 - return data - - def update_alarm_with_http_info(self, body, **kwargs): # noqa: E501 - """Update Alarm # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_alarm_with_http_info(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param Alarm body: Alarm info (required) - :return: Alarm - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method update_alarm" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `update_alarm`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/alarm', 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='Alarm', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) diff --git a/libs/cloudapi/cloudsdk/swagger_client/api/clients_api.py b/libs/cloudapi/cloudsdk/swagger_client/api/clients_api.py deleted file mode 100644 index c4bec0795..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/api/clients_api.py +++ /dev/null @@ -1,756 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import re # noqa: F401 - -# python 2 and python 3 compatibility library -import six - -from swagger_client.api_client import ApiClient - - -class ClientsApi(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - Ref: https://github.com/swagger-api/swagger-codegen - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - - def get_all_client_sessions_in_set(self, customer_id, client_macs, **kwargs): # noqa: E501 - """Get list of Client sessions for customerId and a set of client MAC addresses. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_all_client_sessions_in_set(customer_id, client_macs, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int customer_id: customer id (required) - :param list[str] client_macs: Set of client MAC addresses. (required) - :return: list[ClientSession] - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_all_client_sessions_in_set_with_http_info(customer_id, client_macs, **kwargs) # noqa: E501 - else: - (data) = self.get_all_client_sessions_in_set_with_http_info(customer_id, client_macs, **kwargs) # noqa: E501 - return data - - def get_all_client_sessions_in_set_with_http_info(self, customer_id, client_macs, **kwargs): # noqa: E501 - """Get list of Client sessions for customerId and a set of client MAC addresses. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_all_client_sessions_in_set_with_http_info(customer_id, client_macs, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int customer_id: customer id (required) - :param list[str] client_macs: Set of client MAC addresses. (required) - :return: list[ClientSession] - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['customer_id', 'client_macs'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_all_client_sessions_in_set" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'customer_id' is set - if ('customer_id' not in params or - params['customer_id'] is None): - raise ValueError("Missing the required parameter `customer_id` when calling `get_all_client_sessions_in_set`") # noqa: E501 - # verify the required parameter 'client_macs' is set - if ('client_macs' not in params or - params['client_macs'] is None): - raise ValueError("Missing the required parameter `client_macs` when calling `get_all_client_sessions_in_set`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'customer_id' in params: - query_params.append(('customerId', params['customer_id'])) # noqa: E501 - if 'client_macs' in params: - query_params.append(('clientMacs', params['client_macs'])) # noqa: E501 - collection_formats['clientMacs'] = 'multi' # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/client/session/inSet', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='list[ClientSession]', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_all_clients_in_set(self, customer_id, client_macs, **kwargs): # noqa: E501 - """Get list of Clients for customerId and a set of client MAC addresses. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_all_clients_in_set(customer_id, client_macs, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int customer_id: customer id (required) - :param list[str] client_macs: Set of client MAC addresses. (required) - :return: list[Client] - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_all_clients_in_set_with_http_info(customer_id, client_macs, **kwargs) # noqa: E501 - else: - (data) = self.get_all_clients_in_set_with_http_info(customer_id, client_macs, **kwargs) # noqa: E501 - return data - - def get_all_clients_in_set_with_http_info(self, customer_id, client_macs, **kwargs): # noqa: E501 - """Get list of Clients for customerId and a set of client MAC addresses. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_all_clients_in_set_with_http_info(customer_id, client_macs, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int customer_id: customer id (required) - :param list[str] client_macs: Set of client MAC addresses. (required) - :return: list[Client] - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['customer_id', 'client_macs'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_all_clients_in_set" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'customer_id' is set - if ('customer_id' not in params or - params['customer_id'] is None): - raise ValueError("Missing the required parameter `customer_id` when calling `get_all_clients_in_set`") # noqa: E501 - # verify the required parameter 'client_macs' is set - if ('client_macs' not in params or - params['client_macs'] is None): - raise ValueError("Missing the required parameter `client_macs` when calling `get_all_clients_in_set`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'customer_id' in params: - query_params.append(('customerId', params['customer_id'])) # noqa: E501 - if 'client_macs' in params: - query_params.append(('clientMacs', params['client_macs'])) # noqa: E501 - collection_formats['clientMacs'] = 'multi' # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/client/inSet', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='list[Client]', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_blocked_clients(self, customer_id, **kwargs): # noqa: E501 - """Retrieves a list of Clients for the customer that are marked as blocked. This per-customer list of blocked clients is pushed to every AP, so it has to be limited in size. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_blocked_clients(customer_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int customer_id: Customer ID (required) - :return: list[Client] - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_blocked_clients_with_http_info(customer_id, **kwargs) # noqa: E501 - else: - (data) = self.get_blocked_clients_with_http_info(customer_id, **kwargs) # noqa: E501 - return data - - def get_blocked_clients_with_http_info(self, customer_id, **kwargs): # noqa: E501 - """Retrieves a list of Clients for the customer that are marked as blocked. This per-customer list of blocked clients is pushed to every AP, so it has to be limited in size. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_blocked_clients_with_http_info(customer_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int customer_id: Customer ID (required) - :return: list[Client] - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['customer_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_blocked_clients" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'customer_id' is set - if ('customer_id' not in params or - params['customer_id'] is None): - raise ValueError("Missing the required parameter `customer_id` when calling `get_blocked_clients`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'customer_id' in params: - query_params.append(('customerId', params['customer_id'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/client/blocked', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='list[Client]', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_client_session_by_customer_with_filter(self, customer_id, pagination_context, **kwargs): # noqa: E501 - """Get list of Client sessions for customerId and a set of equipment/location ids. Equipment and locations filters are joined using logical AND operation. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_client_session_by_customer_with_filter(customer_id, pagination_context, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int customer_id: customer id (required) - :param PaginationContextClientSession pagination_context: pagination context (required) - :param list[int] equipment_ids: set of equipment ids. Empty or null means retrieve all equipment for the customer. - :param list[int] location_ids: set of location ids. Empty or null means retrieve for all locations for the customer. - :param list[SortColumnsClientSession] sort_by: sort options - :return: PaginationResponseClientSession - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_client_session_by_customer_with_filter_with_http_info(customer_id, pagination_context, **kwargs) # noqa: E501 - else: - (data) = self.get_client_session_by_customer_with_filter_with_http_info(customer_id, pagination_context, **kwargs) # noqa: E501 - return data - - def get_client_session_by_customer_with_filter_with_http_info(self, customer_id, pagination_context, **kwargs): # noqa: E501 - """Get list of Client sessions for customerId and a set of equipment/location ids. Equipment and locations filters are joined using logical AND operation. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_client_session_by_customer_with_filter_with_http_info(customer_id, pagination_context, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int customer_id: customer id (required) - :param PaginationContextClientSession pagination_context: pagination context (required) - :param list[int] equipment_ids: set of equipment ids. Empty or null means retrieve all equipment for the customer. - :param list[int] location_ids: set of location ids. Empty or null means retrieve for all locations for the customer. - :param list[SortColumnsClientSession] sort_by: sort options - :return: PaginationResponseClientSession - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['customer_id', 'pagination_context', 'equipment_ids', 'location_ids', 'sort_by'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_client_session_by_customer_with_filter" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'customer_id' is set - if ('customer_id' not in params or - params['customer_id'] is None): - raise ValueError("Missing the required parameter `customer_id` when calling `get_client_session_by_customer_with_filter`") # noqa: E501 - # verify the required parameter 'pagination_context' is set - if ('pagination_context' not in params or - params['pagination_context'] is None): - raise ValueError("Missing the required parameter `pagination_context` when calling `get_client_session_by_customer_with_filter`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'customer_id' in params: - query_params.append(('customerId', params['customer_id'])) # noqa: E501 - if 'equipment_ids' in params: - query_params.append(('equipmentIds', params['equipment_ids'])) # noqa: E501 - collection_formats['equipmentIds'] = 'multi' # noqa: E501 - if 'location_ids' in params: - query_params.append(('locationIds', params['location_ids'])) # noqa: E501 - collection_formats['locationIds'] = 'multi' # noqa: E501 - if 'sort_by' in params: - query_params.append(('sortBy', params['sort_by'])) # noqa: E501 - collection_formats['sortBy'] = 'multi' # noqa: E501 - if 'pagination_context' in params: - query_params.append(('paginationContext', params['pagination_context'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/client/session/forCustomer', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='PaginationResponseClientSession', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_for_customer(self, customer_id, **kwargs): # noqa: E501 - """Get list of clients for a given customer by equipment ids # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_for_customer(customer_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int customer_id: Customer ID (required) - :param list[int] equipment_ids: Equipment ID - :param list[SortColumnsClient] sort_by: sort options - :param PaginationContextClient pagination_context: pagination context - :return: PaginationResponseClient - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_for_customer_with_http_info(customer_id, **kwargs) # noqa: E501 - else: - (data) = self.get_for_customer_with_http_info(customer_id, **kwargs) # noqa: E501 - return data - - def get_for_customer_with_http_info(self, customer_id, **kwargs): # noqa: E501 - """Get list of clients for a given customer by equipment ids # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_for_customer_with_http_info(customer_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int customer_id: Customer ID (required) - :param list[int] equipment_ids: Equipment ID - :param list[SortColumnsClient] sort_by: sort options - :param PaginationContextClient pagination_context: pagination context - :return: PaginationResponseClient - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['customer_id', 'equipment_ids', 'sort_by', 'pagination_context'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_for_customer" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'customer_id' is set - if ('customer_id' not in params or - params['customer_id'] is None): - raise ValueError("Missing the required parameter `customer_id` when calling `get_for_customer`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'customer_id' in params: - query_params.append(('customerId', params['customer_id'])) # noqa: E501 - if 'equipment_ids' in params: - query_params.append(('equipmentIds', params['equipment_ids'])) # noqa: E501 - collection_formats['equipmentIds'] = 'multi' # noqa: E501 - if 'sort_by' in params: - query_params.append(('sortBy', params['sort_by'])) # noqa: E501 - collection_formats['sortBy'] = 'multi' # noqa: E501 - if 'pagination_context' in params: - query_params.append(('paginationContext', params['pagination_context'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/client/forCustomer', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='PaginationResponseClient', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def search_by_mac_address(self, customer_id, **kwargs): # noqa: E501 - """Get list of Clients for customerId and searching by macSubstring. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.search_by_mac_address(customer_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int customer_id: customer id (required) - :param str mac_substring: MacAddress search criteria - :param list[SortColumnsClient] sort_by: sort options - :param PaginationContextClient pagination_context: pagination context - :return: PaginationResponseClient - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.search_by_mac_address_with_http_info(customer_id, **kwargs) # noqa: E501 - else: - (data) = self.search_by_mac_address_with_http_info(customer_id, **kwargs) # noqa: E501 - return data - - def search_by_mac_address_with_http_info(self, customer_id, **kwargs): # noqa: E501 - """Get list of Clients for customerId and searching by macSubstring. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.search_by_mac_address_with_http_info(customer_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int customer_id: customer id (required) - :param str mac_substring: MacAddress search criteria - :param list[SortColumnsClient] sort_by: sort options - :param PaginationContextClient pagination_context: pagination context - :return: PaginationResponseClient - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['customer_id', 'mac_substring', 'sort_by', 'pagination_context'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method search_by_mac_address" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'customer_id' is set - if ('customer_id' not in params or - params['customer_id'] is None): - raise ValueError("Missing the required parameter `customer_id` when calling `search_by_mac_address`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'customer_id' in params: - query_params.append(('customerId', params['customer_id'])) # noqa: E501 - if 'mac_substring' in params: - query_params.append(('macSubstring', params['mac_substring'])) # noqa: E501 - if 'sort_by' in params: - query_params.append(('sortBy', params['sort_by'])) # noqa: E501 - collection_formats['sortBy'] = 'multi' # noqa: E501 - if 'pagination_context' in params: - query_params.append(('paginationContext', params['pagination_context'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/client/searchByMac', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='PaginationResponseClient', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def update_client(self, body, **kwargs): # noqa: E501 - """Update Client # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_client(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param Client body: Client info (required) - :return: Client - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.update_client_with_http_info(body, **kwargs) # noqa: E501 - else: - (data) = self.update_client_with_http_info(body, **kwargs) # noqa: E501 - return data - - def update_client_with_http_info(self, body, **kwargs): # noqa: E501 - """Update Client # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_client_with_http_info(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param Client body: Client info (required) - :return: Client - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method update_client" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `update_client`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/client', 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='Client', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) diff --git a/libs/cloudapi/cloudsdk/swagger_client/api/customer_api.py b/libs/cloudapi/cloudsdk/swagger_client/api/customer_api.py deleted file mode 100644 index 8c0b5af4d..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/api/customer_api.py +++ /dev/null @@ -1,223 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import re # noqa: F401 - -# python 2 and python 3 compatibility library -import six - -from swagger_client.api_client import ApiClient - - -class CustomerApi(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - Ref: https://github.com/swagger-api/swagger-codegen - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - - def get_customer_by_id(self, customer_id, **kwargs): # noqa: E501 - """Get Customer By Id # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_customer_by_id(customer_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int customer_id: customer id (required) - :return: Customer - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_customer_by_id_with_http_info(customer_id, **kwargs) # noqa: E501 - else: - (data) = self.get_customer_by_id_with_http_info(customer_id, **kwargs) # noqa: E501 - return data - - def get_customer_by_id_with_http_info(self, customer_id, **kwargs): # noqa: E501 - """Get Customer By Id # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_customer_by_id_with_http_info(customer_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int customer_id: customer id (required) - :return: Customer - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['customer_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_customer_by_id" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'customer_id' is set - if ('customer_id' not in params or - params['customer_id'] is None): - raise ValueError("Missing the required parameter `customer_id` when calling `get_customer_by_id`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'customer_id' in params: - query_params.append(('customerId', params['customer_id'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/customer', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='Customer', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def update_customer(self, body, **kwargs): # noqa: E501 - """Update Customer # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_customer(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param Customer body: customer info (required) - :return: Customer - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.update_customer_with_http_info(body, **kwargs) # noqa: E501 - else: - (data) = self.update_customer_with_http_info(body, **kwargs) # noqa: E501 - return data - - def update_customer_with_http_info(self, body, **kwargs): # noqa: E501 - """Update Customer # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_customer_with_http_info(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param Customer body: customer info (required) - :return: Customer - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method update_customer" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `update_customer`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/customer', 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='Customer', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) diff --git a/libs/cloudapi/cloudsdk/swagger_client/api/equipment_api.py b/libs/cloudapi/cloudsdk/swagger_client/api/equipment_api.py deleted file mode 100644 index e0d332f2a..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/api/equipment_api.py +++ /dev/null @@ -1,914 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import re # noqa: F401 - -# python 2 and python 3 compatibility library -import six - -from swagger_client.api_client import ApiClient - - -class EquipmentApi(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - Ref: https://github.com/swagger-api/swagger-codegen - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - - def create_equipment(self, body, **kwargs): # noqa: E501 - """Create new Equipment # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_equipment(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param Equipment body: equipment info (required) - :return: Equipment - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.create_equipment_with_http_info(body, **kwargs) # noqa: E501 - else: - (data) = self.create_equipment_with_http_info(body, **kwargs) # noqa: E501 - return data - - def create_equipment_with_http_info(self, body, **kwargs): # noqa: E501 - """Create new Equipment # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_equipment_with_http_info(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param Equipment body: equipment info (required) - :return: Equipment - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method create_equipment" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_equipment`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/equipment', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='Equipment', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def delete_equipment(self, equipment_id, **kwargs): # noqa: E501 - """Delete Equipment # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_equipment(equipment_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int equipment_id: equipment id (required) - :return: Equipment - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.delete_equipment_with_http_info(equipment_id, **kwargs) # noqa: E501 - else: - (data) = self.delete_equipment_with_http_info(equipment_id, **kwargs) # noqa: E501 - return data - - def delete_equipment_with_http_info(self, equipment_id, **kwargs): # noqa: E501 - """Delete Equipment # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_equipment_with_http_info(equipment_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int equipment_id: equipment id (required) - :return: Equipment - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['equipment_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method delete_equipment" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'equipment_id' is set - if ('equipment_id' not in params or - params['equipment_id'] is None): - raise ValueError("Missing the required parameter `equipment_id` when calling `delete_equipment`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'equipment_id' in params: - query_params.append(('equipmentId', params['equipment_id'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/equipment', 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='Equipment', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_default_equipment_details(self, **kwargs): # noqa: E501 - """Get default values for Equipment details for a specific equipment type # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_default_equipment_details(async_req=True) - >>> result = thread.get() - - :param async_req bool - :param EquipmentType equipment_type: - :return: EquipmentDetails - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_default_equipment_details_with_http_info(**kwargs) # noqa: E501 - else: - (data) = self.get_default_equipment_details_with_http_info(**kwargs) # noqa: E501 - return data - - def get_default_equipment_details_with_http_info(self, **kwargs): # noqa: E501 - """Get default values for Equipment details for a specific equipment type # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_default_equipment_details_with_http_info(async_req=True) - >>> result = thread.get() - - :param async_req bool - :param EquipmentType equipment_type: - :return: EquipmentDetails - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['equipment_type'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_default_equipment_details" % key - ) - params[key] = val - del params['kwargs'] - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'equipment_type' in params: - query_params.append(('equipmentType', params['equipment_type'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/equipment/defaultDetails', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='EquipmentDetails', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_equipment_by_customer_id(self, customer_id, pagination_context, **kwargs): # noqa: E501 - """Get Equipment By customerId # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_equipment_by_customer_id(customer_id, pagination_context, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int customer_id: customer id (required) - :param PaginationContextEquipment pagination_context: pagination context (required) - :param list[SortColumnsEquipment] sort_by: sort options - :return: PaginationResponseEquipment - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_equipment_by_customer_id_with_http_info(customer_id, pagination_context, **kwargs) # noqa: E501 - else: - (data) = self.get_equipment_by_customer_id_with_http_info(customer_id, pagination_context, **kwargs) # noqa: E501 - return data - - def get_equipment_by_customer_id_with_http_info(self, customer_id, pagination_context, **kwargs): # noqa: E501 - """Get Equipment By customerId # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_equipment_by_customer_id_with_http_info(customer_id, pagination_context, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int customer_id: customer id (required) - :param PaginationContextEquipment pagination_context: pagination context (required) - :param list[SortColumnsEquipment] sort_by: sort options - :return: PaginationResponseEquipment - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['customer_id', 'pagination_context', 'sort_by'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_equipment_by_customer_id" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'customer_id' is set - if ('customer_id' not in params or - params['customer_id'] is None): - raise ValueError("Missing the required parameter `customer_id` when calling `get_equipment_by_customer_id`") # noqa: E501 - # verify the required parameter 'pagination_context' is set - if ('pagination_context' not in params or - params['pagination_context'] is None): - raise ValueError("Missing the required parameter `pagination_context` when calling `get_equipment_by_customer_id`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'customer_id' in params: - query_params.append(('customerId', params['customer_id'])) # noqa: E501 - if 'sort_by' in params: - query_params.append(('sortBy', params['sort_by'])) # noqa: E501 - collection_formats['sortBy'] = 'multi' # noqa: E501 - if 'pagination_context' in params: - query_params.append(('paginationContext', params['pagination_context'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/equipment/forCustomer', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='PaginationResponseEquipment', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_equipment_by_customer_with_filter(self, customer_id, **kwargs): # noqa: E501 - """Get Equipment for customerId, equipment type, and location id # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_equipment_by_customer_with_filter(customer_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int customer_id: customer id (required) - :param EquipmentType equipment_type: equipment type - :param list[int] location_ids: set of location ids - :param str criteria: search criteria - :param list[SortColumnsEquipment] sort_by: sort options - :param PaginationContextEquipment pagination_context: pagination context - :return: PaginationResponseEquipment - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_equipment_by_customer_with_filter_with_http_info(customer_id, **kwargs) # noqa: E501 - else: - (data) = self.get_equipment_by_customer_with_filter_with_http_info(customer_id, **kwargs) # noqa: E501 - return data - - def get_equipment_by_customer_with_filter_with_http_info(self, customer_id, **kwargs): # noqa: E501 - """Get Equipment for customerId, equipment type, and location id # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_equipment_by_customer_with_filter_with_http_info(customer_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int customer_id: customer id (required) - :param EquipmentType equipment_type: equipment type - :param list[int] location_ids: set of location ids - :param str criteria: search criteria - :param list[SortColumnsEquipment] sort_by: sort options - :param PaginationContextEquipment pagination_context: pagination context - :return: PaginationResponseEquipment - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['customer_id', 'equipment_type', 'location_ids', 'criteria', 'sort_by', 'pagination_context'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_equipment_by_customer_with_filter" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'customer_id' is set - if ('customer_id' not in params or - params['customer_id'] is None): - raise ValueError("Missing the required parameter `customer_id` when calling `get_equipment_by_customer_with_filter`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'customer_id' in params: - query_params.append(('customerId', params['customer_id'])) # noqa: E501 - if 'equipment_type' in params: - query_params.append(('equipmentType', params['equipment_type'])) # noqa: E501 - if 'location_ids' in params: - query_params.append(('locationIds', params['location_ids'])) # noqa: E501 - collection_formats['locationIds'] = 'multi' # noqa: E501 - if 'criteria' in params: - query_params.append(('criteria', params['criteria'])) # noqa: E501 - if 'sort_by' in params: - query_params.append(('sortBy', params['sort_by'])) # noqa: E501 - collection_formats['sortBy'] = 'multi' # noqa: E501 - if 'pagination_context' in params: - query_params.append(('paginationContext', params['pagination_context'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/equipment/forCustomerWithFilter', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='PaginationResponseEquipment', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_equipment_by_id(self, equipment_id, **kwargs): # noqa: E501 - """Get Equipment By Id # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_equipment_by_id(equipment_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int equipment_id: equipment id (required) - :return: Equipment - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_equipment_by_id_with_http_info(equipment_id, **kwargs) # noqa: E501 - else: - (data) = self.get_equipment_by_id_with_http_info(equipment_id, **kwargs) # noqa: E501 - return data - - def get_equipment_by_id_with_http_info(self, equipment_id, **kwargs): # noqa: E501 - """Get Equipment By Id # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_equipment_by_id_with_http_info(equipment_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int equipment_id: equipment id (required) - :return: Equipment - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['equipment_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_equipment_by_id" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'equipment_id' is set - if ('equipment_id' not in params or - params['equipment_id'] is None): - raise ValueError("Missing the required parameter `equipment_id` when calling `get_equipment_by_id`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'equipment_id' in params: - query_params.append(('equipmentId', params['equipment_id'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/equipment', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='Equipment', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_equipment_by_set_of_ids(self, equipment_id_set, **kwargs): # noqa: E501 - """Get Equipment By a set of ids # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_equipment_by_set_of_ids(equipment_id_set, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param list[int] equipment_id_set: set of equipment ids (required) - :return: list[Equipment] - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_equipment_by_set_of_ids_with_http_info(equipment_id_set, **kwargs) # noqa: E501 - else: - (data) = self.get_equipment_by_set_of_ids_with_http_info(equipment_id_set, **kwargs) # noqa: E501 - return data - - def get_equipment_by_set_of_ids_with_http_info(self, equipment_id_set, **kwargs): # noqa: E501 - """Get Equipment By a set of ids # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_equipment_by_set_of_ids_with_http_info(equipment_id_set, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param list[int] equipment_id_set: set of equipment ids (required) - :return: list[Equipment] - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['equipment_id_set'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_equipment_by_set_of_ids" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'equipment_id_set' is set - if ('equipment_id_set' not in params or - params['equipment_id_set'] is None): - raise ValueError("Missing the required parameter `equipment_id_set` when calling `get_equipment_by_set_of_ids`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'equipment_id_set' in params: - query_params.append(('equipmentIdSet', params['equipment_id_set'])) # noqa: E501 - collection_formats['equipmentIdSet'] = 'multi' # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/equipment/inSet', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='list[Equipment]', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def update_equipment(self, body, **kwargs): # noqa: E501 - """Update Equipment # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_equipment(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param Equipment body: equipment info (required) - :return: Equipment - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.update_equipment_with_http_info(body, **kwargs) # noqa: E501 - else: - (data) = self.update_equipment_with_http_info(body, **kwargs) # noqa: E501 - return data - - def update_equipment_with_http_info(self, body, **kwargs): # noqa: E501 - """Update Equipment # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_equipment_with_http_info(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param Equipment body: equipment info (required) - :return: Equipment - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method update_equipment" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `update_equipment`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/equipment', 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='Equipment', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def update_equipment_rrm_bulk(self, body, **kwargs): # noqa: E501 - """Update RRM related properties of Equipment in bulk # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_equipment_rrm_bulk(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param EquipmentRrmBulkUpdateRequest body: Equipment RRM bulk update request (required) - :return: GenericResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.update_equipment_rrm_bulk_with_http_info(body, **kwargs) # noqa: E501 - else: - (data) = self.update_equipment_rrm_bulk_with_http_info(body, **kwargs) # noqa: E501 - return data - - def update_equipment_rrm_bulk_with_http_info(self, body, **kwargs): # noqa: E501 - """Update RRM related properties of Equipment in bulk # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_equipment_rrm_bulk_with_http_info(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param EquipmentRrmBulkUpdateRequest body: Equipment RRM bulk update request (required) - :return: GenericResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method update_equipment_rrm_bulk" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `update_equipment_rrm_bulk`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/equipment/rrmBulk', 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='GenericResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) diff --git a/libs/cloudapi/cloudsdk/swagger_client/api/equipment_gateway_api.py b/libs/cloudapi/cloudsdk/swagger_client/api/equipment_gateway_api.py deleted file mode 100644 index 2bc5dd6c5..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/api/equipment_gateway_api.py +++ /dev/null @@ -1,518 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import re # noqa: F401 - -# python 2 and python 3 compatibility library -import six - -from swagger_client.api_client import ApiClient - - -class EquipmentGatewayApi(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - Ref: https://github.com/swagger-api/swagger-codegen - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - - def request_ap_factory_reset(self, equipment_id, **kwargs): # noqa: E501 - """Request factory reset for a particular equipment. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.request_ap_factory_reset(equipment_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int equipment_id: Equipment id for which the factory reset is being requested. (required) - :return: GenericResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.request_ap_factory_reset_with_http_info(equipment_id, **kwargs) # noqa: E501 - else: - (data) = self.request_ap_factory_reset_with_http_info(equipment_id, **kwargs) # noqa: E501 - return data - - def request_ap_factory_reset_with_http_info(self, equipment_id, **kwargs): # noqa: E501 - """Request factory reset for a particular equipment. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.request_ap_factory_reset_with_http_info(equipment_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int equipment_id: Equipment id for which the factory reset is being requested. (required) - :return: GenericResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['equipment_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method request_ap_factory_reset" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'equipment_id' is set - if ('equipment_id' not in params or - params['equipment_id'] is None): - raise ValueError("Missing the required parameter `equipment_id` when calling `request_ap_factory_reset`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'equipment_id' in params: - query_params.append(('equipmentId', params['equipment_id'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/equipmentGateway/requestApFactoryReset', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='GenericResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def request_ap_reboot(self, equipment_id, **kwargs): # noqa: E501 - """Request reboot for a particular equipment. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.request_ap_reboot(equipment_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int equipment_id: Equipment id for which the reboot is being requested. (required) - :return: GenericResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.request_ap_reboot_with_http_info(equipment_id, **kwargs) # noqa: E501 - else: - (data) = self.request_ap_reboot_with_http_info(equipment_id, **kwargs) # noqa: E501 - return data - - def request_ap_reboot_with_http_info(self, equipment_id, **kwargs): # noqa: E501 - """Request reboot for a particular equipment. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.request_ap_reboot_with_http_info(equipment_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int equipment_id: Equipment id for which the reboot is being requested. (required) - :return: GenericResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['equipment_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method request_ap_reboot" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'equipment_id' is set - if ('equipment_id' not in params or - params['equipment_id'] is None): - raise ValueError("Missing the required parameter `equipment_id` when calling `request_ap_reboot`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'equipment_id' in params: - query_params.append(('equipmentId', params['equipment_id'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/equipmentGateway/requestApReboot', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='GenericResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def request_ap_switch_software_bank(self, equipment_id, **kwargs): # noqa: E501 - """Request switch of active/inactive sw bank for a particular equipment. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.request_ap_switch_software_bank(equipment_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int equipment_id: Equipment id for which the switch is being requested. (required) - :return: GenericResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.request_ap_switch_software_bank_with_http_info(equipment_id, **kwargs) # noqa: E501 - else: - (data) = self.request_ap_switch_software_bank_with_http_info(equipment_id, **kwargs) # noqa: E501 - return data - - def request_ap_switch_software_bank_with_http_info(self, equipment_id, **kwargs): # noqa: E501 - """Request switch of active/inactive sw bank for a particular equipment. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.request_ap_switch_software_bank_with_http_info(equipment_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int equipment_id: Equipment id for which the switch is being requested. (required) - :return: GenericResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['equipment_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method request_ap_switch_software_bank" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'equipment_id' is set - if ('equipment_id' not in params or - params['equipment_id'] is None): - raise ValueError("Missing the required parameter `equipment_id` when calling `request_ap_switch_software_bank`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'equipment_id' in params: - query_params.append(('equipmentId', params['equipment_id'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/equipmentGateway/requestApSwitchSoftwareBank', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='GenericResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def request_channel_change(self, body, equipment_id, **kwargs): # noqa: E501 - """Request change of primary and/or backup channels for given frequency bands. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.request_channel_change(body, equipment_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param RadioChannelChangeSettings body: RadioChannelChangeSettings info (required) - :param int equipment_id: Equipment id for which the channel changes are being performed. (required) - :return: GenericResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.request_channel_change_with_http_info(body, equipment_id, **kwargs) # noqa: E501 - else: - (data) = self.request_channel_change_with_http_info(body, equipment_id, **kwargs) # noqa: E501 - return data - - def request_channel_change_with_http_info(self, body, equipment_id, **kwargs): # noqa: E501 - """Request change of primary and/or backup channels for given frequency bands. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.request_channel_change_with_http_info(body, equipment_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param RadioChannelChangeSettings body: RadioChannelChangeSettings info (required) - :param int equipment_id: Equipment id for which the channel changes are being performed. (required) - :return: GenericResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body', 'equipment_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method request_channel_change" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `request_channel_change`") # noqa: E501 - # verify the required parameter 'equipment_id' is set - if ('equipment_id' not in params or - params['equipment_id'] is None): - raise ValueError("Missing the required parameter `equipment_id` when calling `request_channel_change`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'equipment_id' in params: - query_params.append(('equipmentId', params['equipment_id'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/equipmentGateway/requestChannelChange', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='GenericResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def request_firmware_update(self, equipment_id, firmware_version_id, **kwargs): # noqa: E501 - """Request firmware update for a particular equipment. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.request_firmware_update(equipment_id, firmware_version_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int equipment_id: Equipment id for which the firmware update is being requested. (required) - :param int firmware_version_id: Id of the firmware version object. (required) - :return: GenericResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.request_firmware_update_with_http_info(equipment_id, firmware_version_id, **kwargs) # noqa: E501 - else: - (data) = self.request_firmware_update_with_http_info(equipment_id, firmware_version_id, **kwargs) # noqa: E501 - return data - - def request_firmware_update_with_http_info(self, equipment_id, firmware_version_id, **kwargs): # noqa: E501 - """Request firmware update for a particular equipment. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.request_firmware_update_with_http_info(equipment_id, firmware_version_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int equipment_id: Equipment id for which the firmware update is being requested. (required) - :param int firmware_version_id: Id of the firmware version object. (required) - :return: GenericResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['equipment_id', 'firmware_version_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method request_firmware_update" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'equipment_id' is set - if ('equipment_id' not in params or - params['equipment_id'] is None): - raise ValueError("Missing the required parameter `equipment_id` when calling `request_firmware_update`") # noqa: E501 - # verify the required parameter 'firmware_version_id' is set - if ('firmware_version_id' not in params or - params['firmware_version_id'] is None): - raise ValueError("Missing the required parameter `firmware_version_id` when calling `request_firmware_update`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'equipment_id' in params: - query_params.append(('equipmentId', params['equipment_id'])) # noqa: E501 - if 'firmware_version_id' in params: - query_params.append(('firmwareVersionId', params['firmware_version_id'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/equipmentGateway/requestFirmwareUpdate', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='GenericResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) diff --git a/libs/cloudapi/cloudsdk/swagger_client/api/file_services_api.py b/libs/cloudapi/cloudsdk/swagger_client/api/file_services_api.py deleted file mode 100644 index 5fff7694d..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/api/file_services_api.py +++ /dev/null @@ -1,231 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import re # noqa: F401 - -# python 2 and python 3 compatibility library -import six - -from swagger_client.api_client import ApiClient - - -class FileServicesApi(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - Ref: https://github.com/swagger-api/swagger-codegen - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - - def download_binary_file(self, file_name, **kwargs): # noqa: E501 - """Download binary file. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.download_binary_file(file_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str file_name: File name to download. File/path delimiters not allowed. (required) - :return: str - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.download_binary_file_with_http_info(file_name, **kwargs) # noqa: E501 - else: - (data) = self.download_binary_file_with_http_info(file_name, **kwargs) # noqa: E501 - return data - - def download_binary_file_with_http_info(self, file_name, **kwargs): # noqa: E501 - """Download binary file. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.download_binary_file_with_http_info(file_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str file_name: File name to download. File/path delimiters not allowed. (required) - :return: str - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['file_name'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method download_binary_file" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'file_name' is set - if ('file_name' not in params or - params['file_name'] is None): - raise ValueError("Missing the required parameter `file_name` when calling `download_binary_file`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'file_name' in params: - path_params['fileName'] = params['file_name'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/octet-stream', 'application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/filestore/{fileName}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def upload_binary_file(self, body, file_name, **kwargs): # noqa: E501 - """Upload binary file. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.upload_binary_file(body, file_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param Object body: Contents of binary file (required) - :param str file_name: File name that is being uploaded. File/path delimiters not allowed. (required) - :return: GenericResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.upload_binary_file_with_http_info(body, file_name, **kwargs) # noqa: E501 - else: - (data) = self.upload_binary_file_with_http_info(body, file_name, **kwargs) # noqa: E501 - return data - - def upload_binary_file_with_http_info(self, body, file_name, **kwargs): # noqa: E501 - """Upload binary file. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.upload_binary_file_with_http_info(body, file_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param Object body: Contents of binary file (required) - :param str file_name: File name that is being uploaded. File/path delimiters not allowed. (required) - :return: GenericResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body', 'file_name'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method upload_binary_file" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `upload_binary_file`") # noqa: E501 - # verify the required parameter 'file_name' is set - if ('file_name' not in params or - params['file_name'] is None): - raise ValueError("Missing the required parameter `file_name` when calling `upload_binary_file`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'file_name' in params: - path_params['fileName'] = params['file_name'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/octet-stream']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/filestore/{fileName}', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='GenericResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) diff --git a/libs/cloudapi/cloudsdk/swagger_client/api/firmware_management_api.py b/libs/cloudapi/cloudsdk/swagger_client/api/firmware_management_api.py deleted file mode 100644 index 6ca8d413a..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/api/firmware_management_api.py +++ /dev/null @@ -1,1925 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import re # noqa: F401 - -# python 2 and python 3 compatibility library -import six - -from swagger_client.api_client import ApiClient - - -class FirmwareManagementApi(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - Ref: https://github.com/swagger-api/swagger-codegen - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - - def create_customer_firmware_track_record(self, body, **kwargs): # noqa: E501 - """Create new CustomerFirmwareTrackRecord # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_customer_firmware_track_record(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param CustomerFirmwareTrackRecord body: CustomerFirmwareTrackRecord info (required) - :return: CustomerFirmwareTrackRecord - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.create_customer_firmware_track_record_with_http_info(body, **kwargs) # noqa: E501 - else: - (data) = self.create_customer_firmware_track_record_with_http_info(body, **kwargs) # noqa: E501 - return data - - def create_customer_firmware_track_record_with_http_info(self, body, **kwargs): # noqa: E501 - """Create new CustomerFirmwareTrackRecord # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_customer_firmware_track_record_with_http_info(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param CustomerFirmwareTrackRecord body: CustomerFirmwareTrackRecord info (required) - :return: CustomerFirmwareTrackRecord - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method create_customer_firmware_track_record" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_customer_firmware_track_record`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/firmware/customerTrack', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='CustomerFirmwareTrackRecord', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def create_firmware_track_record(self, body, **kwargs): # noqa: E501 - """Create new FirmwareTrackRecord # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_firmware_track_record(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param FirmwareTrackRecord body: FirmwareTrackRecord info (required) - :return: FirmwareTrackRecord - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.create_firmware_track_record_with_http_info(body, **kwargs) # noqa: E501 - else: - (data) = self.create_firmware_track_record_with_http_info(body, **kwargs) # noqa: E501 - return data - - def create_firmware_track_record_with_http_info(self, body, **kwargs): # noqa: E501 - """Create new FirmwareTrackRecord # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_firmware_track_record_with_http_info(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param FirmwareTrackRecord body: FirmwareTrackRecord info (required) - :return: FirmwareTrackRecord - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method create_firmware_track_record" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_firmware_track_record`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/firmware/track', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='FirmwareTrackRecord', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def create_firmware_version(self, body, **kwargs): # noqa: E501 - """Create new FirmwareVersion # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_firmware_version(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param FirmwareVersion body: FirmwareVersion info (required) - :return: FirmwareVersion - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.create_firmware_version_with_http_info(body, **kwargs) # noqa: E501 - else: - (data) = self.create_firmware_version_with_http_info(body, **kwargs) # noqa: E501 - return data - - def create_firmware_version_with_http_info(self, body, **kwargs): # noqa: E501 - """Create new FirmwareVersion # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_firmware_version_with_http_info(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param FirmwareVersion body: FirmwareVersion info (required) - :return: FirmwareVersion - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method create_firmware_version" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_firmware_version`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/firmware/version', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='FirmwareVersion', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def delete_customer_firmware_track_record(self, customer_id, **kwargs): # noqa: E501 - """Delete CustomerFirmwareTrackRecord # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_customer_firmware_track_record(customer_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int customer_id: customer id (required) - :return: CustomerFirmwareTrackRecord - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.delete_customer_firmware_track_record_with_http_info(customer_id, **kwargs) # noqa: E501 - else: - (data) = self.delete_customer_firmware_track_record_with_http_info(customer_id, **kwargs) # noqa: E501 - return data - - def delete_customer_firmware_track_record_with_http_info(self, customer_id, **kwargs): # noqa: E501 - """Delete CustomerFirmwareTrackRecord # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_customer_firmware_track_record_with_http_info(customer_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int customer_id: customer id (required) - :return: CustomerFirmwareTrackRecord - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['customer_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method delete_customer_firmware_track_record" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'customer_id' is set - if ('customer_id' not in params or - params['customer_id'] is None): - raise ValueError("Missing the required parameter `customer_id` when calling `delete_customer_firmware_track_record`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'customer_id' in params: - query_params.append(('customerId', params['customer_id'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/firmware/customerTrack', 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='CustomerFirmwareTrackRecord', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def delete_firmware_track_assignment(self, firmware_track_id, firmware_version_id, **kwargs): # noqa: E501 - """Delete FirmwareTrackAssignment # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_firmware_track_assignment(firmware_track_id, firmware_version_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int firmware_track_id: firmware track id (required) - :param int firmware_version_id: firmware version id (required) - :return: FirmwareTrackAssignmentDetails - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.delete_firmware_track_assignment_with_http_info(firmware_track_id, firmware_version_id, **kwargs) # noqa: E501 - else: - (data) = self.delete_firmware_track_assignment_with_http_info(firmware_track_id, firmware_version_id, **kwargs) # noqa: E501 - return data - - def delete_firmware_track_assignment_with_http_info(self, firmware_track_id, firmware_version_id, **kwargs): # noqa: E501 - """Delete FirmwareTrackAssignment # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_firmware_track_assignment_with_http_info(firmware_track_id, firmware_version_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int firmware_track_id: firmware track id (required) - :param int firmware_version_id: firmware version id (required) - :return: FirmwareTrackAssignmentDetails - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['firmware_track_id', 'firmware_version_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method delete_firmware_track_assignment" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'firmware_track_id' is set - if ('firmware_track_id' not in params or - params['firmware_track_id'] is None): - raise ValueError("Missing the required parameter `firmware_track_id` when calling `delete_firmware_track_assignment`") # noqa: E501 - # verify the required parameter 'firmware_version_id' is set - if ('firmware_version_id' not in params or - params['firmware_version_id'] is None): - raise ValueError("Missing the required parameter `firmware_version_id` when calling `delete_firmware_track_assignment`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'firmware_track_id' in params: - query_params.append(('firmwareTrackId', params['firmware_track_id'])) # noqa: E501 - if 'firmware_version_id' in params: - query_params.append(('firmwareVersionId', params['firmware_version_id'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/firmware/trackAssignment', 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='FirmwareTrackAssignmentDetails', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def delete_firmware_track_record(self, firmware_track_id, **kwargs): # noqa: E501 - """Delete FirmwareTrackRecord # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_firmware_track_record(firmware_track_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int firmware_track_id: firmware track id (required) - :return: FirmwareTrackRecord - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.delete_firmware_track_record_with_http_info(firmware_track_id, **kwargs) # noqa: E501 - else: - (data) = self.delete_firmware_track_record_with_http_info(firmware_track_id, **kwargs) # noqa: E501 - return data - - def delete_firmware_track_record_with_http_info(self, firmware_track_id, **kwargs): # noqa: E501 - """Delete FirmwareTrackRecord # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_firmware_track_record_with_http_info(firmware_track_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int firmware_track_id: firmware track id (required) - :return: FirmwareTrackRecord - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['firmware_track_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method delete_firmware_track_record" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'firmware_track_id' is set - if ('firmware_track_id' not in params or - params['firmware_track_id'] is None): - raise ValueError("Missing the required parameter `firmware_track_id` when calling `delete_firmware_track_record`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'firmware_track_id' in params: - query_params.append(('firmwareTrackId', params['firmware_track_id'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/firmware/track', 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='FirmwareTrackRecord', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def delete_firmware_version(self, firmware_version_id, **kwargs): # noqa: E501 - """Delete FirmwareVersion # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_firmware_version(firmware_version_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int firmware_version_id: firmwareVersion id (required) - :return: FirmwareVersion - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.delete_firmware_version_with_http_info(firmware_version_id, **kwargs) # noqa: E501 - else: - (data) = self.delete_firmware_version_with_http_info(firmware_version_id, **kwargs) # noqa: E501 - return data - - def delete_firmware_version_with_http_info(self, firmware_version_id, **kwargs): # noqa: E501 - """Delete FirmwareVersion # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_firmware_version_with_http_info(firmware_version_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int firmware_version_id: firmwareVersion id (required) - :return: FirmwareVersion - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['firmware_version_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method delete_firmware_version" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'firmware_version_id' is set - if ('firmware_version_id' not in params or - params['firmware_version_id'] is None): - raise ValueError("Missing the required parameter `firmware_version_id` when calling `delete_firmware_version`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'firmware_version_id' in params: - query_params.append(('firmwareVersionId', params['firmware_version_id'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/firmware/version', 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='FirmwareVersion', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_customer_firmware_track_record(self, customer_id, **kwargs): # noqa: E501 - """Get CustomerFirmwareTrackRecord By customerId # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_customer_firmware_track_record(customer_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int customer_id: customer id (required) - :return: CustomerFirmwareTrackRecord - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_customer_firmware_track_record_with_http_info(customer_id, **kwargs) # noqa: E501 - else: - (data) = self.get_customer_firmware_track_record_with_http_info(customer_id, **kwargs) # noqa: E501 - return data - - def get_customer_firmware_track_record_with_http_info(self, customer_id, **kwargs): # noqa: E501 - """Get CustomerFirmwareTrackRecord By customerId # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_customer_firmware_track_record_with_http_info(customer_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int customer_id: customer id (required) - :return: CustomerFirmwareTrackRecord - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['customer_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_customer_firmware_track_record" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'customer_id' is set - if ('customer_id' not in params or - params['customer_id'] is None): - raise ValueError("Missing the required parameter `customer_id` when calling `get_customer_firmware_track_record`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'customer_id' in params: - query_params.append(('customerId', params['customer_id'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/firmware/customerTrack', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='CustomerFirmwareTrackRecord', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_default_customer_track_setting(self, **kwargs): # noqa: E501 - """Get default settings for handling automatic firmware upgrades # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_default_customer_track_setting(async_req=True) - >>> result = thread.get() - - :param async_req bool - :return: CustomerFirmwareTrackSettings - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_default_customer_track_setting_with_http_info(**kwargs) # noqa: E501 - else: - (data) = self.get_default_customer_track_setting_with_http_info(**kwargs) # noqa: E501 - return data - - def get_default_customer_track_setting_with_http_info(self, **kwargs): # noqa: E501 - """Get default settings for handling automatic firmware upgrades # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_default_customer_track_setting_with_http_info(async_req=True) - >>> result = thread.get() - - :param async_req bool - :return: CustomerFirmwareTrackSettings - If the method is called asynchronously, - returns the request thread. - """ - - all_params = [] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_default_customer_track_setting" % key - ) - params[key] = val - del params['kwargs'] - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/firmware/customerTrack/default', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='CustomerFirmwareTrackSettings', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_firmware_model_ids_by_equipment_type(self, equipment_type, **kwargs): # noqa: E501 - """Get equipment models from all known firmware versions filtered by equipmentType # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_firmware_model_ids_by_equipment_type(equipment_type, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param EquipmentType equipment_type: (required) - :return: list[str] - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_firmware_model_ids_by_equipment_type_with_http_info(equipment_type, **kwargs) # noqa: E501 - else: - (data) = self.get_firmware_model_ids_by_equipment_type_with_http_info(equipment_type, **kwargs) # noqa: E501 - return data - - def get_firmware_model_ids_by_equipment_type_with_http_info(self, equipment_type, **kwargs): # noqa: E501 - """Get equipment models from all known firmware versions filtered by equipmentType # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_firmware_model_ids_by_equipment_type_with_http_info(equipment_type, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param EquipmentType equipment_type: (required) - :return: list[str] - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['equipment_type'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_firmware_model_ids_by_equipment_type" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'equipment_type' is set - if ('equipment_type' not in params or - params['equipment_type'] is None): - raise ValueError("Missing the required parameter `equipment_type` when calling `get_firmware_model_ids_by_equipment_type`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'equipment_type' in params: - query_params.append(('equipmentType', params['equipment_type'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/firmware/model/byEquipmentType', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='list[str]', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_firmware_track_assignment_details(self, firmware_track_name, **kwargs): # noqa: E501 - """Get FirmwareTrackAssignmentDetails for a given firmware track name # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_firmware_track_assignment_details(firmware_track_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str firmware_track_name: firmware track name (required) - :return: list[FirmwareTrackAssignmentDetails] - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_firmware_track_assignment_details_with_http_info(firmware_track_name, **kwargs) # noqa: E501 - else: - (data) = self.get_firmware_track_assignment_details_with_http_info(firmware_track_name, **kwargs) # noqa: E501 - return data - - def get_firmware_track_assignment_details_with_http_info(self, firmware_track_name, **kwargs): # noqa: E501 - """Get FirmwareTrackAssignmentDetails for a given firmware track name # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_firmware_track_assignment_details_with_http_info(firmware_track_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str firmware_track_name: firmware track name (required) - :return: list[FirmwareTrackAssignmentDetails] - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['firmware_track_name'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_firmware_track_assignment_details" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'firmware_track_name' is set - if ('firmware_track_name' not in params or - params['firmware_track_name'] is None): - raise ValueError("Missing the required parameter `firmware_track_name` when calling `get_firmware_track_assignment_details`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'firmware_track_name' in params: - query_params.append(('firmwareTrackName', params['firmware_track_name'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/firmware/trackAssignment', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='list[FirmwareTrackAssignmentDetails]', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_firmware_track_record(self, firmware_track_id, **kwargs): # noqa: E501 - """Get FirmwareTrackRecord By Id # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_firmware_track_record(firmware_track_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int firmware_track_id: firmware track id (required) - :return: FirmwareTrackRecord - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_firmware_track_record_with_http_info(firmware_track_id, **kwargs) # noqa: E501 - else: - (data) = self.get_firmware_track_record_with_http_info(firmware_track_id, **kwargs) # noqa: E501 - return data - - def get_firmware_track_record_with_http_info(self, firmware_track_id, **kwargs): # noqa: E501 - """Get FirmwareTrackRecord By Id # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_firmware_track_record_with_http_info(firmware_track_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int firmware_track_id: firmware track id (required) - :return: FirmwareTrackRecord - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['firmware_track_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_firmware_track_record" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'firmware_track_id' is set - if ('firmware_track_id' not in params or - params['firmware_track_id'] is None): - raise ValueError("Missing the required parameter `firmware_track_id` when calling `get_firmware_track_record`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'firmware_track_id' in params: - query_params.append(('firmwareTrackId', params['firmware_track_id'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/firmware/track', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='FirmwareTrackRecord', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_firmware_track_record_by_name(self, firmware_track_name, **kwargs): # noqa: E501 - """Get FirmwareTrackRecord By name # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_firmware_track_record_by_name(firmware_track_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str firmware_track_name: firmware track name (required) - :return: FirmwareTrackRecord - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_firmware_track_record_by_name_with_http_info(firmware_track_name, **kwargs) # noqa: E501 - else: - (data) = self.get_firmware_track_record_by_name_with_http_info(firmware_track_name, **kwargs) # noqa: E501 - return data - - def get_firmware_track_record_by_name_with_http_info(self, firmware_track_name, **kwargs): # noqa: E501 - """Get FirmwareTrackRecord By name # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_firmware_track_record_by_name_with_http_info(firmware_track_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str firmware_track_name: firmware track name (required) - :return: FirmwareTrackRecord - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['firmware_track_name'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_firmware_track_record_by_name" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'firmware_track_name' is set - if ('firmware_track_name' not in params or - params['firmware_track_name'] is None): - raise ValueError("Missing the required parameter `firmware_track_name` when calling `get_firmware_track_record_by_name`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'firmware_track_name' in params: - query_params.append(('firmwareTrackName', params['firmware_track_name'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/firmware/track/byName', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='FirmwareTrackRecord', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_firmware_version(self, firmware_version_id, **kwargs): # noqa: E501 - """Get FirmwareVersion By Id # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_firmware_version(firmware_version_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int firmware_version_id: firmwareVersion id (required) - :return: FirmwareVersion - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_firmware_version_with_http_info(firmware_version_id, **kwargs) # noqa: E501 - else: - (data) = self.get_firmware_version_with_http_info(firmware_version_id, **kwargs) # noqa: E501 - return data - - def get_firmware_version_with_http_info(self, firmware_version_id, **kwargs): # noqa: E501 - """Get FirmwareVersion By Id # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_firmware_version_with_http_info(firmware_version_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int firmware_version_id: firmwareVersion id (required) - :return: FirmwareVersion - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['firmware_version_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_firmware_version" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'firmware_version_id' is set - if ('firmware_version_id' not in params or - params['firmware_version_id'] is None): - raise ValueError("Missing the required parameter `firmware_version_id` when calling `get_firmware_version`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'firmware_version_id' in params: - query_params.append(('firmwareVersionId', params['firmware_version_id'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/firmware/version', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='FirmwareVersion', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_firmware_version_by_equipment_type(self, equipment_type, **kwargs): # noqa: E501 - """Get FirmwareVersions filtered by equipmentType and optional equipment model # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_firmware_version_by_equipment_type(equipment_type, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param EquipmentType equipment_type: (required) - :param str model_id: optional filter by equipment model, if null - then firmware versions for all the equipment models are returned - :return: list[FirmwareVersion] - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_firmware_version_by_equipment_type_with_http_info(equipment_type, **kwargs) # noqa: E501 - else: - (data) = self.get_firmware_version_by_equipment_type_with_http_info(equipment_type, **kwargs) # noqa: E501 - return data - - def get_firmware_version_by_equipment_type_with_http_info(self, equipment_type, **kwargs): # noqa: E501 - """Get FirmwareVersions filtered by equipmentType and optional equipment model # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_firmware_version_by_equipment_type_with_http_info(equipment_type, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param EquipmentType equipment_type: (required) - :param str model_id: optional filter by equipment model, if null - then firmware versions for all the equipment models are returned - :return: list[FirmwareVersion] - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['equipment_type', 'model_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_firmware_version_by_equipment_type" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'equipment_type' is set - if ('equipment_type' not in params or - params['equipment_type'] is None): - raise ValueError("Missing the required parameter `equipment_type` when calling `get_firmware_version_by_equipment_type`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'equipment_type' in params: - query_params.append(('equipmentType', params['equipment_type'])) # noqa: E501 - if 'model_id' in params: - query_params.append(('modelId', params['model_id'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/firmware/version/byEquipmentType', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='list[FirmwareVersion]', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_firmware_version_by_name(self, firmware_version_name, **kwargs): # noqa: E501 - """Get FirmwareVersion By name # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_firmware_version_by_name(firmware_version_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str firmware_version_name: firmwareVersion name (required) - :return: FirmwareVersion - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_firmware_version_by_name_with_http_info(firmware_version_name, **kwargs) # noqa: E501 - else: - (data) = self.get_firmware_version_by_name_with_http_info(firmware_version_name, **kwargs) # noqa: E501 - return data - - def get_firmware_version_by_name_with_http_info(self, firmware_version_name, **kwargs): # noqa: E501 - """Get FirmwareVersion By name # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_firmware_version_by_name_with_http_info(firmware_version_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str firmware_version_name: firmwareVersion name (required) - :return: FirmwareVersion - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['firmware_version_name'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_firmware_version_by_name" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'firmware_version_name' is set - if ('firmware_version_name' not in params or - params['firmware_version_name'] is None): - raise ValueError("Missing the required parameter `firmware_version_name` when calling `get_firmware_version_by_name`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'firmware_version_name' in params: - query_params.append(('firmwareVersionName', params['firmware_version_name'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/firmware/version/byName', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='FirmwareVersion', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def update_customer_firmware_track_record(self, body, **kwargs): # noqa: E501 - """Update CustomerFirmwareTrackRecord # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_customer_firmware_track_record(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param CustomerFirmwareTrackRecord body: CustomerFirmwareTrackRecord info (required) - :return: CustomerFirmwareTrackRecord - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.update_customer_firmware_track_record_with_http_info(body, **kwargs) # noqa: E501 - else: - (data) = self.update_customer_firmware_track_record_with_http_info(body, **kwargs) # noqa: E501 - return data - - def update_customer_firmware_track_record_with_http_info(self, body, **kwargs): # noqa: E501 - """Update CustomerFirmwareTrackRecord # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_customer_firmware_track_record_with_http_info(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param CustomerFirmwareTrackRecord body: CustomerFirmwareTrackRecord info (required) - :return: CustomerFirmwareTrackRecord - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method update_customer_firmware_track_record" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `update_customer_firmware_track_record`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/firmware/customerTrack', 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='CustomerFirmwareTrackRecord', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def update_firmware_track_assignment_details(self, body, **kwargs): # noqa: E501 - """Update FirmwareTrackAssignmentDetails # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_firmware_track_assignment_details(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param FirmwareTrackAssignmentDetails body: FirmwareTrackAssignmentDetails info (required) - :return: FirmwareTrackAssignmentDetails - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.update_firmware_track_assignment_details_with_http_info(body, **kwargs) # noqa: E501 - else: - (data) = self.update_firmware_track_assignment_details_with_http_info(body, **kwargs) # noqa: E501 - return data - - def update_firmware_track_assignment_details_with_http_info(self, body, **kwargs): # noqa: E501 - """Update FirmwareTrackAssignmentDetails # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_firmware_track_assignment_details_with_http_info(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param FirmwareTrackAssignmentDetails body: FirmwareTrackAssignmentDetails info (required) - :return: FirmwareTrackAssignmentDetails - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method update_firmware_track_assignment_details" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `update_firmware_track_assignment_details`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/firmware/trackAssignment', 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='FirmwareTrackAssignmentDetails', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def update_firmware_track_record(self, body, **kwargs): # noqa: E501 - """Update FirmwareTrackRecord # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_firmware_track_record(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param FirmwareTrackRecord body: FirmwareTrackRecord info (required) - :return: FirmwareTrackRecord - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.update_firmware_track_record_with_http_info(body, **kwargs) # noqa: E501 - else: - (data) = self.update_firmware_track_record_with_http_info(body, **kwargs) # noqa: E501 - return data - - def update_firmware_track_record_with_http_info(self, body, **kwargs): # noqa: E501 - """Update FirmwareTrackRecord # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_firmware_track_record_with_http_info(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param FirmwareTrackRecord body: FirmwareTrackRecord info (required) - :return: FirmwareTrackRecord - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method update_firmware_track_record" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `update_firmware_track_record`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/firmware/track', 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='FirmwareTrackRecord', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def update_firmware_version(self, body, **kwargs): # noqa: E501 - """Update FirmwareVersion # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_firmware_version(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param FirmwareVersion body: FirmwareVersion info (required) - :return: FirmwareVersion - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.update_firmware_version_with_http_info(body, **kwargs) # noqa: E501 - else: - (data) = self.update_firmware_version_with_http_info(body, **kwargs) # noqa: E501 - return data - - def update_firmware_version_with_http_info(self, body, **kwargs): # noqa: E501 - """Update FirmwareVersion # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_firmware_version_with_http_info(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param FirmwareVersion body: FirmwareVersion info (required) - :return: FirmwareVersion - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method update_firmware_version" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `update_firmware_version`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/firmware/version', 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='FirmwareVersion', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) diff --git a/libs/cloudapi/cloudsdk/swagger_client/api/location_api.py b/libs/cloudapi/cloudsdk/swagger_client/api/location_api.py deleted file mode 100644 index 7c4c6e815..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/api/location_api.py +++ /dev/null @@ -1,613 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import re # noqa: F401 - -# python 2 and python 3 compatibility library -import six - -from swagger_client.api_client import ApiClient - - -class LocationApi(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - Ref: https://github.com/swagger-api/swagger-codegen - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - - def create_location(self, body, **kwargs): # noqa: E501 - """Create new Location # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_location(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param Location body: location info (required) - :return: Location - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.create_location_with_http_info(body, **kwargs) # noqa: E501 - else: - (data) = self.create_location_with_http_info(body, **kwargs) # noqa: E501 - return data - - def create_location_with_http_info(self, body, **kwargs): # noqa: E501 - """Create new Location # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_location_with_http_info(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param Location body: location info (required) - :return: Location - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method create_location" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_location`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/location', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='Location', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def delete_location(self, location_id, **kwargs): # noqa: E501 - """Delete Location # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_location(location_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int location_id: location id (required) - :return: Location - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.delete_location_with_http_info(location_id, **kwargs) # noqa: E501 - else: - (data) = self.delete_location_with_http_info(location_id, **kwargs) # noqa: E501 - return data - - def delete_location_with_http_info(self, location_id, **kwargs): # noqa: E501 - """Delete Location # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_location_with_http_info(location_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int location_id: location id (required) - :return: Location - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['location_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method delete_location" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'location_id' is set - if ('location_id' not in params or - params['location_id'] is None): - raise ValueError("Missing the required parameter `location_id` when calling `delete_location`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'location_id' in params: - query_params.append(('locationId', params['location_id'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/location', 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='Location', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_location_by_id(self, location_id, **kwargs): # noqa: E501 - """Get Location By Id # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_location_by_id(location_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int location_id: location id (required) - :return: Location - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_location_by_id_with_http_info(location_id, **kwargs) # noqa: E501 - else: - (data) = self.get_location_by_id_with_http_info(location_id, **kwargs) # noqa: E501 - return data - - def get_location_by_id_with_http_info(self, location_id, **kwargs): # noqa: E501 - """Get Location By Id # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_location_by_id_with_http_info(location_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int location_id: location id (required) - :return: Location - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['location_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_location_by_id" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'location_id' is set - if ('location_id' not in params or - params['location_id'] is None): - raise ValueError("Missing the required parameter `location_id` when calling `get_location_by_id`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'location_id' in params: - query_params.append(('locationId', params['location_id'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/location', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='Location', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_location_by_set_of_ids(self, location_id_set, **kwargs): # noqa: E501 - """Get Locations By a set of ids # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_location_by_set_of_ids(location_id_set, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param list[int] location_id_set: set of location ids (required) - :return: list[Location] - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_location_by_set_of_ids_with_http_info(location_id_set, **kwargs) # noqa: E501 - else: - (data) = self.get_location_by_set_of_ids_with_http_info(location_id_set, **kwargs) # noqa: E501 - return data - - def get_location_by_set_of_ids_with_http_info(self, location_id_set, **kwargs): # noqa: E501 - """Get Locations By a set of ids # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_location_by_set_of_ids_with_http_info(location_id_set, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param list[int] location_id_set: set of location ids (required) - :return: list[Location] - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['location_id_set'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_location_by_set_of_ids" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'location_id_set' is set - if ('location_id_set' not in params or - params['location_id_set'] is None): - raise ValueError("Missing the required parameter `location_id_set` when calling `get_location_by_set_of_ids`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'location_id_set' in params: - query_params.append(('locationIdSet', params['location_id_set'])) # noqa: E501 - collection_formats['locationIdSet'] = 'multi' # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/location/inSet', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='list[Location]', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_locations_by_customer_id(self, customer_id, pagination_context, **kwargs): # noqa: E501 - """Get Locations By customerId # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_locations_by_customer_id(customer_id, pagination_context, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int customer_id: customer id (required) - :param PaginationContextLocation pagination_context: pagination context (required) - :param list[SortColumnsLocation] sort_by: sort options - :return: PaginationResponseLocation - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_locations_by_customer_id_with_http_info(customer_id, pagination_context, **kwargs) # noqa: E501 - else: - (data) = self.get_locations_by_customer_id_with_http_info(customer_id, pagination_context, **kwargs) # noqa: E501 - return data - - def get_locations_by_customer_id_with_http_info(self, customer_id, pagination_context, **kwargs): # noqa: E501 - """Get Locations By customerId # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_locations_by_customer_id_with_http_info(customer_id, pagination_context, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int customer_id: customer id (required) - :param PaginationContextLocation pagination_context: pagination context (required) - :param list[SortColumnsLocation] sort_by: sort options - :return: PaginationResponseLocation - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['customer_id', 'pagination_context', 'sort_by'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_locations_by_customer_id" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'customer_id' is set - if ('customer_id' not in params or - params['customer_id'] is None): - raise ValueError("Missing the required parameter `customer_id` when calling `get_locations_by_customer_id`") # noqa: E501 - # verify the required parameter 'pagination_context' is set - if ('pagination_context' not in params or - params['pagination_context'] is None): - raise ValueError("Missing the required parameter `pagination_context` when calling `get_locations_by_customer_id`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'customer_id' in params: - query_params.append(('customerId', params['customer_id'])) # noqa: E501 - if 'sort_by' in params: - query_params.append(('sortBy', params['sort_by'])) # noqa: E501 - collection_formats['sortBy'] = 'multi' # noqa: E501 - if 'pagination_context' in params: - query_params.append(('paginationContext', params['pagination_context'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/location/forCustomer', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='PaginationResponseLocation', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def update_location(self, body, **kwargs): # noqa: E501 - """Update Location # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_location(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param Location body: location info (required) - :return: Location - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.update_location_with_http_info(body, **kwargs) # noqa: E501 - else: - (data) = self.update_location_with_http_info(body, **kwargs) # noqa: E501 - return data - - def update_location_with_http_info(self, body, **kwargs): # noqa: E501 - """Update Location # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_location_with_http_info(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param Location body: location info (required) - :return: Location - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method update_location" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `update_location`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/location', 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='Location', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) diff --git a/libs/cloudapi/cloudsdk/swagger_client/api/login_api.py b/libs/cloudapi/cloudsdk/swagger_client/api/login_api.py deleted file mode 100644 index 2ce640475..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/api/login_api.py +++ /dev/null @@ -1,215 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import re # noqa: F401 - -# python 2 and python 3 compatibility library -import six - -from swagger_client.api_client import ApiClient - - -class LoginApi(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - Ref: https://github.com/swagger-api/swagger-codegen - """ - - def __init__(self, api_client=None, sdk_base_url=None): - if api_client is None: - api_client = ApiClient(sdk_base_url=sdk_base_url) - self.api_client = api_client - - def get_access_token(self, body, **kwargs): # noqa: E501 - """Get access token - to be used as Bearer token header for all other API requests. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_access_token(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param WebTokenRequest body: User id and password (required) - :return: WebTokenResult - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_access_token_with_http_info(body, **kwargs) # noqa: E501 - else: - (data) = self.get_access_token_with_http_info(body, **kwargs) # noqa: E501 - return data - - def get_access_token_with_http_info(self, body, **kwargs): # noqa: E501 - """Get access token - to be used as Bearer token header for all other API requests. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_access_token_with_http_info(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param WebTokenRequest body: User id and password (required) - :return: WebTokenResult - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_access_token" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `get_access_token`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/management/v1/oauth2/token', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='WebTokenResult', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def portal_ping(self, **kwargs): # noqa: E501 - """Portal proces version info. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.portal_ping(async_req=True) - >>> result = thread.get() - - :param async_req bool - :return: PingResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.portal_ping_with_http_info(**kwargs) # noqa: E501 - else: - (data) = self.portal_ping_with_http_info(**kwargs) # noqa: E501 - return data - - def portal_ping_with_http_info(self, **kwargs): # noqa: E501 - """Portal proces version info. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.portal_ping_with_http_info(async_req=True) - >>> result = thread.get() - - :param async_req bool - :return: PingResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = [] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method portal_ping" % key - ) - params[key] = val - del params['kwargs'] - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/ping', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='PingResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) diff --git a/libs/cloudapi/cloudsdk/swagger_client/api/manufacturer_oui_api.py b/libs/cloudapi/cloudsdk/swagger_client/api/manufacturer_oui_api.py deleted file mode 100644 index ee9a26255..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/api/manufacturer_oui_api.py +++ /dev/null @@ -1,1384 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import re # noqa: F401 - -# python 2 and python 3 compatibility library -import six - -from swagger_client.api_client import ApiClient - - -class ManufacturerOUIApi(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - Ref: https://github.com/swagger-api/swagger-codegen - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - - def create_manufacturer_details_record(self, body, **kwargs): # noqa: E501 - """Create new ManufacturerDetailsRecord # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_manufacturer_details_record(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param ManufacturerDetailsRecord body: ManufacturerDetailsRecord info (required) - :return: ManufacturerDetailsRecord - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.create_manufacturer_details_record_with_http_info(body, **kwargs) # noqa: E501 - else: - (data) = self.create_manufacturer_details_record_with_http_info(body, **kwargs) # noqa: E501 - return data - - def create_manufacturer_details_record_with_http_info(self, body, **kwargs): # noqa: E501 - """Create new ManufacturerDetailsRecord # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_manufacturer_details_record_with_http_info(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param ManufacturerDetailsRecord body: ManufacturerDetailsRecord info (required) - :return: ManufacturerDetailsRecord - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method create_manufacturer_details_record" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_manufacturer_details_record`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/manufacturer', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='ManufacturerDetailsRecord', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def create_manufacturer_oui_details(self, body, **kwargs): # noqa: E501 - """Create new ManufacturerOuiDetails # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_manufacturer_oui_details(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param ManufacturerOuiDetails body: ManufacturerOuiDetails info (required) - :return: ManufacturerOuiDetails - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.create_manufacturer_oui_details_with_http_info(body, **kwargs) # noqa: E501 - else: - (data) = self.create_manufacturer_oui_details_with_http_info(body, **kwargs) # noqa: E501 - return data - - def create_manufacturer_oui_details_with_http_info(self, body, **kwargs): # noqa: E501 - """Create new ManufacturerOuiDetails # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_manufacturer_oui_details_with_http_info(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param ManufacturerOuiDetails body: ManufacturerOuiDetails info (required) - :return: ManufacturerOuiDetails - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method create_manufacturer_oui_details" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_manufacturer_oui_details`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/manufacturer/oui', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='ManufacturerOuiDetails', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def delete_manufacturer_details_record(self, id, **kwargs): # noqa: E501 - """Delete ManufacturerDetailsRecord # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_manufacturer_details_record(id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int id: ManufacturerDetailsRecord id (required) - :return: ManufacturerDetailsRecord - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.delete_manufacturer_details_record_with_http_info(id, **kwargs) # noqa: E501 - else: - (data) = self.delete_manufacturer_details_record_with_http_info(id, **kwargs) # noqa: E501 - return data - - def delete_manufacturer_details_record_with_http_info(self, id, **kwargs): # noqa: E501 - """Delete ManufacturerDetailsRecord # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_manufacturer_details_record_with_http_info(id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int id: ManufacturerDetailsRecord id (required) - :return: ManufacturerDetailsRecord - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method delete_manufacturer_details_record" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id' is set - if ('id' not in params or - params['id'] is None): - raise ValueError("Missing the required parameter `id` when calling `delete_manufacturer_details_record`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'id' in params: - query_params.append(('id', params['id'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/manufacturer', 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='ManufacturerDetailsRecord', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def delete_manufacturer_oui_details(self, oui, **kwargs): # noqa: E501 - """Delete ManufacturerOuiDetails # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_manufacturer_oui_details(oui, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str oui: ManufacturerOuiDetails oui (required) - :return: ManufacturerOuiDetails - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.delete_manufacturer_oui_details_with_http_info(oui, **kwargs) # noqa: E501 - else: - (data) = self.delete_manufacturer_oui_details_with_http_info(oui, **kwargs) # noqa: E501 - return data - - def delete_manufacturer_oui_details_with_http_info(self, oui, **kwargs): # noqa: E501 - """Delete ManufacturerOuiDetails # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_manufacturer_oui_details_with_http_info(oui, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str oui: ManufacturerOuiDetails oui (required) - :return: ManufacturerOuiDetails - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['oui'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method delete_manufacturer_oui_details" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'oui' is set - if ('oui' not in params or - params['oui'] is None): - raise ValueError("Missing the required parameter `oui` when calling `delete_manufacturer_oui_details`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'oui' in params: - query_params.append(('oui', params['oui'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/manufacturer/oui', 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='ManufacturerOuiDetails', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_alias_values_that_begin_with(self, prefix, max_results, **kwargs): # noqa: E501 - """Get manufacturer aliases that begin with the given prefix # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_alias_values_that_begin_with(prefix, max_results, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str prefix: prefix for the manufacturer alias (required) - :param int max_results: max results to return, use -1 for no limit (required) - :return: list[str] - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_alias_values_that_begin_with_with_http_info(prefix, max_results, **kwargs) # noqa: E501 - else: - (data) = self.get_alias_values_that_begin_with_with_http_info(prefix, max_results, **kwargs) # noqa: E501 - return data - - def get_alias_values_that_begin_with_with_http_info(self, prefix, max_results, **kwargs): # noqa: E501 - """Get manufacturer aliases that begin with the given prefix # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_alias_values_that_begin_with_with_http_info(prefix, max_results, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str prefix: prefix for the manufacturer alias (required) - :param int max_results: max results to return, use -1 for no limit (required) - :return: list[str] - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['prefix', 'max_results'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_alias_values_that_begin_with" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'prefix' is set - if ('prefix' not in params or - params['prefix'] is None): - raise ValueError("Missing the required parameter `prefix` when calling `get_alias_values_that_begin_with`") # noqa: E501 - # verify the required parameter 'max_results' is set - if ('max_results' not in params or - params['max_results'] is None): - raise ValueError("Missing the required parameter `max_results` when calling `get_alias_values_that_begin_with`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'prefix' in params: - query_params.append(('prefix', params['prefix'])) # noqa: E501 - if 'max_results' in params: - query_params.append(('maxResults', params['max_results'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/manufacturer/oui/alias', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='list[str]', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_all_manufacturer_oui_details(self, **kwargs): # noqa: E501 - """Get all ManufacturerOuiDetails # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_all_manufacturer_oui_details(async_req=True) - >>> result = thread.get() - - :param async_req bool - :return: list[ManufacturerOuiDetails] - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_all_manufacturer_oui_details_with_http_info(**kwargs) # noqa: E501 - else: - (data) = self.get_all_manufacturer_oui_details_with_http_info(**kwargs) # noqa: E501 - return data - - def get_all_manufacturer_oui_details_with_http_info(self, **kwargs): # noqa: E501 - """Get all ManufacturerOuiDetails # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_all_manufacturer_oui_details_with_http_info(async_req=True) - >>> result = thread.get() - - :param async_req bool - :return: list[ManufacturerOuiDetails] - If the method is called asynchronously, - returns the request thread. - """ - - all_params = [] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_all_manufacturer_oui_details" % key - ) - params[key] = val - del params['kwargs'] - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/manufacturer/oui/all', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='list[ManufacturerOuiDetails]', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_manufacturer_details_for_oui_list(self, oui_list, **kwargs): # noqa: E501 - """Get ManufacturerOuiDetails for the list of OUIs # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_manufacturer_details_for_oui_list(oui_list, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param list[str] oui_list: (required) - :return: ManufacturerOuiDetailsPerOuiMap - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_manufacturer_details_for_oui_list_with_http_info(oui_list, **kwargs) # noqa: E501 - else: - (data) = self.get_manufacturer_details_for_oui_list_with_http_info(oui_list, **kwargs) # noqa: E501 - return data - - def get_manufacturer_details_for_oui_list_with_http_info(self, oui_list, **kwargs): # noqa: E501 - """Get ManufacturerOuiDetails for the list of OUIs # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_manufacturer_details_for_oui_list_with_http_info(oui_list, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param list[str] oui_list: (required) - :return: ManufacturerOuiDetailsPerOuiMap - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['oui_list'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_manufacturer_details_for_oui_list" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'oui_list' is set - if ('oui_list' not in params or - params['oui_list'] is None): - raise ValueError("Missing the required parameter `oui_list` when calling `get_manufacturer_details_for_oui_list`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'oui_list' in params: - query_params.append(('ouiList', params['oui_list'])) # noqa: E501 - collection_formats['ouiList'] = 'multi' # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/manufacturer/oui/list', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='ManufacturerOuiDetailsPerOuiMap', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_manufacturer_details_record(self, id, **kwargs): # noqa: E501 - """Get ManufacturerDetailsRecord By id # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_manufacturer_details_record(id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int id: ManufacturerDetailsRecord id (required) - :return: ManufacturerDetailsRecord - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_manufacturer_details_record_with_http_info(id, **kwargs) # noqa: E501 - else: - (data) = self.get_manufacturer_details_record_with_http_info(id, **kwargs) # noqa: E501 - return data - - def get_manufacturer_details_record_with_http_info(self, id, **kwargs): # noqa: E501 - """Get ManufacturerDetailsRecord By id # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_manufacturer_details_record_with_http_info(id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int id: ManufacturerDetailsRecord id (required) - :return: ManufacturerDetailsRecord - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_manufacturer_details_record" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id' is set - if ('id' not in params or - params['id'] is None): - raise ValueError("Missing the required parameter `id` when calling `get_manufacturer_details_record`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'id' in params: - query_params.append(('id', params['id'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/manufacturer', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='ManufacturerDetailsRecord', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_manufacturer_oui_details_by_oui(self, oui, **kwargs): # noqa: E501 - """Get ManufacturerOuiDetails By oui # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_manufacturer_oui_details_by_oui(oui, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str oui: ManufacturerOuiDetails oui (required) - :return: ManufacturerOuiDetails - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_manufacturer_oui_details_by_oui_with_http_info(oui, **kwargs) # noqa: E501 - else: - (data) = self.get_manufacturer_oui_details_by_oui_with_http_info(oui, **kwargs) # noqa: E501 - return data - - def get_manufacturer_oui_details_by_oui_with_http_info(self, oui, **kwargs): # noqa: E501 - """Get ManufacturerOuiDetails By oui # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_manufacturer_oui_details_by_oui_with_http_info(oui, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str oui: ManufacturerOuiDetails oui (required) - :return: ManufacturerOuiDetails - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['oui'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_manufacturer_oui_details_by_oui" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'oui' is set - if ('oui' not in params or - params['oui'] is None): - raise ValueError("Missing the required parameter `oui` when calling `get_manufacturer_oui_details_by_oui`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'oui' in params: - query_params.append(('oui', params['oui'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/manufacturer/oui', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='ManufacturerOuiDetails', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_oui_list_for_manufacturer(self, manufacturer, exact_match, **kwargs): # noqa: E501 - """Get Oui List for manufacturer # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_oui_list_for_manufacturer(manufacturer, exact_match, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str manufacturer: Manufacturer name or alias (required) - :param bool exact_match: Perform exact match (true) or prefix match (false) for the manufacturer name or alias (required) - :return: list[str] - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_oui_list_for_manufacturer_with_http_info(manufacturer, exact_match, **kwargs) # noqa: E501 - else: - (data) = self.get_oui_list_for_manufacturer_with_http_info(manufacturer, exact_match, **kwargs) # noqa: E501 - return data - - def get_oui_list_for_manufacturer_with_http_info(self, manufacturer, exact_match, **kwargs): # noqa: E501 - """Get Oui List for manufacturer # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_oui_list_for_manufacturer_with_http_info(manufacturer, exact_match, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str manufacturer: Manufacturer name or alias (required) - :param bool exact_match: Perform exact match (true) or prefix match (false) for the manufacturer name or alias (required) - :return: list[str] - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['manufacturer', 'exact_match'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_oui_list_for_manufacturer" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'manufacturer' is set - if ('manufacturer' not in params or - params['manufacturer'] is None): - raise ValueError("Missing the required parameter `manufacturer` when calling `get_oui_list_for_manufacturer`") # noqa: E501 - # verify the required parameter 'exact_match' is set - if ('exact_match' not in params or - params['exact_match'] is None): - raise ValueError("Missing the required parameter `exact_match` when calling `get_oui_list_for_manufacturer`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'manufacturer' in params: - query_params.append(('manufacturer', params['manufacturer'])) # noqa: E501 - if 'exact_match' in params: - query_params.append(('exactMatch', params['exact_match'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/manufacturer/oui/forManufacturer', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='list[str]', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def update_manufacturer_details_record(self, body, **kwargs): # noqa: E501 - """Update ManufacturerDetailsRecord # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_manufacturer_details_record(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param ManufacturerDetailsRecord body: ManufacturerDetailsRecord info (required) - :return: ManufacturerDetailsRecord - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.update_manufacturer_details_record_with_http_info(body, **kwargs) # noqa: E501 - else: - (data) = self.update_manufacturer_details_record_with_http_info(body, **kwargs) # noqa: E501 - return data - - def update_manufacturer_details_record_with_http_info(self, body, **kwargs): # noqa: E501 - """Update ManufacturerDetailsRecord # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_manufacturer_details_record_with_http_info(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param ManufacturerDetailsRecord body: ManufacturerDetailsRecord info (required) - :return: ManufacturerDetailsRecord - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method update_manufacturer_details_record" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `update_manufacturer_details_record`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/manufacturer', 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='ManufacturerDetailsRecord', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def update_oui_alias(self, body, **kwargs): # noqa: E501 - """Update alias for ManufacturerOuiDetails # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_oui_alias(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param ManufacturerOuiDetails body: ManufacturerOuiDetails info (required) - :return: ManufacturerOuiDetails - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.update_oui_alias_with_http_info(body, **kwargs) # noqa: E501 - else: - (data) = self.update_oui_alias_with_http_info(body, **kwargs) # noqa: E501 - return data - - def update_oui_alias_with_http_info(self, body, **kwargs): # noqa: E501 - """Update alias for ManufacturerOuiDetails # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_oui_alias_with_http_info(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param ManufacturerOuiDetails body: ManufacturerOuiDetails info (required) - :return: ManufacturerOuiDetails - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method update_oui_alias" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `update_oui_alias`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/manufacturer/oui/alias', 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='ManufacturerOuiDetails', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def upload_oui_data_file(self, body, file_name, **kwargs): # noqa: E501 - """Upload the gziped OUI DataFile, in the format that is published by IEEE. Latest sanitized IEEE OUI data file (oui.txt.gz) can be obtained from https://linuxnet.ca/ieee/oui/ # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.upload_oui_data_file(body, file_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param Object body: Contents of gziped OUI DataFile, raw (required) - :param str file_name: file name that is being uploaded (required) - :return: GenericResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.upload_oui_data_file_with_http_info(body, file_name, **kwargs) # noqa: E501 - else: - (data) = self.upload_oui_data_file_with_http_info(body, file_name, **kwargs) # noqa: E501 - return data - - def upload_oui_data_file_with_http_info(self, body, file_name, **kwargs): # noqa: E501 - """Upload the gziped OUI DataFile, in the format that is published by IEEE. Latest sanitized IEEE OUI data file (oui.txt.gz) can be obtained from https://linuxnet.ca/ieee/oui/ # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.upload_oui_data_file_with_http_info(body, file_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param Object body: Contents of gziped OUI DataFile, raw (required) - :param str file_name: file name that is being uploaded (required) - :return: GenericResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body', 'file_name'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method upload_oui_data_file" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `upload_oui_data_file`") # noqa: E501 - # verify the required parameter 'file_name' is set - if ('file_name' not in params or - params['file_name'] is None): - raise ValueError("Missing the required parameter `file_name` when calling `upload_oui_data_file`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'file_name' in params: - query_params.append(('fileName', params['file_name'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/octet-stream']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/manufacturer/oui/upload', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='GenericResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def upload_oui_data_file_base64(self, body, file_name, **kwargs): # noqa: E501 - """Upload the gziped OUI DataFile using base64 encoding, in the format that is published by IEEE. Latest sanitized IEEE OUI data file (oui.txt.gz) can be obtained from https://linuxnet.ca/ieee/oui/ # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.upload_oui_data_file_base64(body, file_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str body: Contents of gziped OUI DataFile, base64-encoded (required) - :param str file_name: file name that is being uploaded (required) - :return: GenericResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.upload_oui_data_file_base64_with_http_info(body, file_name, **kwargs) # noqa: E501 - else: - (data) = self.upload_oui_data_file_base64_with_http_info(body, file_name, **kwargs) # noqa: E501 - return data - - def upload_oui_data_file_base64_with_http_info(self, body, file_name, **kwargs): # noqa: E501 - """Upload the gziped OUI DataFile using base64 encoding, in the format that is published by IEEE. Latest sanitized IEEE OUI data file (oui.txt.gz) can be obtained from https://linuxnet.ca/ieee/oui/ # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.upload_oui_data_file_base64_with_http_info(body, file_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str body: Contents of gziped OUI DataFile, base64-encoded (required) - :param str file_name: file name that is being uploaded (required) - :return: GenericResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body', 'file_name'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method upload_oui_data_file_base64" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `upload_oui_data_file_base64`") # noqa: E501 - # verify the required parameter 'file_name' is set - if ('file_name' not in params or - params['file_name'] is None): - raise ValueError("Missing the required parameter `file_name` when calling `upload_oui_data_file_base64`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'file_name' in params: - query_params.append(('fileName', params['file_name'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/octet-stream']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/manufacturer/oui/upload/base64', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='GenericResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) diff --git a/libs/cloudapi/cloudsdk/swagger_client/api/portal_users_api.py b/libs/cloudapi/cloudsdk/swagger_client/api/portal_users_api.py deleted file mode 100644 index 7198b5a6f..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/api/portal_users_api.py +++ /dev/null @@ -1,807 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import re # noqa: F401 - -# python 2 and python 3 compatibility library -import six - -from swagger_client.api_client import ApiClient - - -class PortalUsersApi(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - Ref: https://github.com/swagger-api/swagger-codegen - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - - def create_portal_user(self, body, **kwargs): # noqa: E501 - """Create new Portal User # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_portal_user(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param PortalUser body: portal user info (required) - :return: PortalUser - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.create_portal_user_with_http_info(body, **kwargs) # noqa: E501 - else: - (data) = self.create_portal_user_with_http_info(body, **kwargs) # noqa: E501 - return data - - def create_portal_user_with_http_info(self, body, **kwargs): # noqa: E501 - """Create new Portal User # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_portal_user_with_http_info(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param PortalUser body: portal user info (required) - :return: PortalUser - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method create_portal_user" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_portal_user`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/portalUser', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='PortalUser', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def delete_portal_user(self, portal_user_id, **kwargs): # noqa: E501 - """Delete PortalUser # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_portal_user(portal_user_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int portal_user_id: (required) - :return: PortalUser - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.delete_portal_user_with_http_info(portal_user_id, **kwargs) # noqa: E501 - else: - (data) = self.delete_portal_user_with_http_info(portal_user_id, **kwargs) # noqa: E501 - return data - - def delete_portal_user_with_http_info(self, portal_user_id, **kwargs): # noqa: E501 - """Delete PortalUser # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_portal_user_with_http_info(portal_user_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int portal_user_id: (required) - :return: PortalUser - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['portal_user_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method delete_portal_user" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'portal_user_id' is set - if ('portal_user_id' not in params or - params['portal_user_id'] is None): - raise ValueError("Missing the required parameter `portal_user_id` when calling `delete_portal_user`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'portal_user_id' in params: - query_params.append(('portalUserId', params['portal_user_id'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/portalUser', 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='PortalUser', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_portal_user_by_id(self, portal_user_id, **kwargs): # noqa: E501 - """Get portal user By Id # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_portal_user_by_id(portal_user_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int portal_user_id: (required) - :return: PortalUser - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_portal_user_by_id_with_http_info(portal_user_id, **kwargs) # noqa: E501 - else: - (data) = self.get_portal_user_by_id_with_http_info(portal_user_id, **kwargs) # noqa: E501 - return data - - def get_portal_user_by_id_with_http_info(self, portal_user_id, **kwargs): # noqa: E501 - """Get portal user By Id # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_portal_user_by_id_with_http_info(portal_user_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int portal_user_id: (required) - :return: PortalUser - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['portal_user_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_portal_user_by_id" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'portal_user_id' is set - if ('portal_user_id' not in params or - params['portal_user_id'] is None): - raise ValueError("Missing the required parameter `portal_user_id` when calling `get_portal_user_by_id`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'portal_user_id' in params: - query_params.append(('portalUserId', params['portal_user_id'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/portalUser', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='PortalUser', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_portal_user_by_username(self, customer_id, username, **kwargs): # noqa: E501 - """Get portal user by user name # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_portal_user_by_username(customer_id, username, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int customer_id: (required) - :param str username: (required) - :return: PortalUser - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_portal_user_by_username_with_http_info(customer_id, username, **kwargs) # noqa: E501 - else: - (data) = self.get_portal_user_by_username_with_http_info(customer_id, username, **kwargs) # noqa: E501 - return data - - def get_portal_user_by_username_with_http_info(self, customer_id, username, **kwargs): # noqa: E501 - """Get portal user by user name # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_portal_user_by_username_with_http_info(customer_id, username, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int customer_id: (required) - :param str username: (required) - :return: PortalUser - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['customer_id', 'username'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_portal_user_by_username" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'customer_id' is set - if ('customer_id' not in params or - params['customer_id'] is None): - raise ValueError("Missing the required parameter `customer_id` when calling `get_portal_user_by_username`") # noqa: E501 - # verify the required parameter 'username' is set - if ('username' not in params or - params['username'] is None): - raise ValueError("Missing the required parameter `username` when calling `get_portal_user_by_username`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'customer_id' in params: - query_params.append(('customerId', params['customer_id'])) # noqa: E501 - if 'username' in params: - query_params.append(('username', params['username'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/portalUser/byUsernameOrNull', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='PortalUser', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_portal_users_by_customer_id(self, customer_id, pagination_context, **kwargs): # noqa: E501 - """Get PortalUsers By customerId # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_portal_users_by_customer_id(customer_id, pagination_context, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int customer_id: customer id (required) - :param PaginationContextPortalUser pagination_context: pagination context (required) - :param list[SortColumnsPortalUser] sort_by: sort options - :return: PaginationResponsePortalUser - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_portal_users_by_customer_id_with_http_info(customer_id, pagination_context, **kwargs) # noqa: E501 - else: - (data) = self.get_portal_users_by_customer_id_with_http_info(customer_id, pagination_context, **kwargs) # noqa: E501 - return data - - def get_portal_users_by_customer_id_with_http_info(self, customer_id, pagination_context, **kwargs): # noqa: E501 - """Get PortalUsers By customerId # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_portal_users_by_customer_id_with_http_info(customer_id, pagination_context, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int customer_id: customer id (required) - :param PaginationContextPortalUser pagination_context: pagination context (required) - :param list[SortColumnsPortalUser] sort_by: sort options - :return: PaginationResponsePortalUser - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['customer_id', 'pagination_context', 'sort_by'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_portal_users_by_customer_id" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'customer_id' is set - if ('customer_id' not in params or - params['customer_id'] is None): - raise ValueError("Missing the required parameter `customer_id` when calling `get_portal_users_by_customer_id`") # noqa: E501 - # verify the required parameter 'pagination_context' is set - if ('pagination_context' not in params or - params['pagination_context'] is None): - raise ValueError("Missing the required parameter `pagination_context` when calling `get_portal_users_by_customer_id`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'customer_id' in params: - query_params.append(('customerId', params['customer_id'])) # noqa: E501 - if 'sort_by' in params: - query_params.append(('sortBy', params['sort_by'])) # noqa: E501 - collection_formats['sortBy'] = 'multi' # noqa: E501 - if 'pagination_context' in params: - query_params.append(('paginationContext', params['pagination_context'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/portalUser/forCustomer', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='PaginationResponsePortalUser', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_portal_users_by_set_of_ids(self, portal_user_id_set, **kwargs): # noqa: E501 - """Get PortalUsers By a set of ids # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_portal_users_by_set_of_ids(portal_user_id_set, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param list[int] portal_user_id_set: set of portalUser ids (required) - :return: list[PortalUser] - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_portal_users_by_set_of_ids_with_http_info(portal_user_id_set, **kwargs) # noqa: E501 - else: - (data) = self.get_portal_users_by_set_of_ids_with_http_info(portal_user_id_set, **kwargs) # noqa: E501 - return data - - def get_portal_users_by_set_of_ids_with_http_info(self, portal_user_id_set, **kwargs): # noqa: E501 - """Get PortalUsers By a set of ids # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_portal_users_by_set_of_ids_with_http_info(portal_user_id_set, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param list[int] portal_user_id_set: set of portalUser ids (required) - :return: list[PortalUser] - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['portal_user_id_set'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_portal_users_by_set_of_ids" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'portal_user_id_set' is set - if ('portal_user_id_set' not in params or - params['portal_user_id_set'] is None): - raise ValueError("Missing the required parameter `portal_user_id_set` when calling `get_portal_users_by_set_of_ids`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'portal_user_id_set' in params: - query_params.append(('portalUserIdSet', params['portal_user_id_set'])) # noqa: E501 - collection_formats['portalUserIdSet'] = 'multi' # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/portalUser/inSet', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='list[PortalUser]', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_users_for_username(self, username, **kwargs): # noqa: E501 - """Get Portal Users for username # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_users_for_username(username, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str username: (required) - :return: list[PortalUser] - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_users_for_username_with_http_info(username, **kwargs) # noqa: E501 - else: - (data) = self.get_users_for_username_with_http_info(username, **kwargs) # noqa: E501 - return data - - def get_users_for_username_with_http_info(self, username, **kwargs): # noqa: E501 - """Get Portal Users for username # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_users_for_username_with_http_info(username, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str username: (required) - :return: list[PortalUser] - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['username'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_users_for_username" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'username' is set - if ('username' not in params or - params['username'] is None): - raise ValueError("Missing the required parameter `username` when calling `get_users_for_username`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'username' in params: - query_params.append(('username', params['username'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/portalUser/usersForUsername', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='list[PortalUser]', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def update_portal_user(self, body, **kwargs): # noqa: E501 - """Update PortalUser # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_portal_user(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param PortalUser body: PortalUser info (required) - :return: PortalUser - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.update_portal_user_with_http_info(body, **kwargs) # noqa: E501 - else: - (data) = self.update_portal_user_with_http_info(body, **kwargs) # noqa: E501 - return data - - def update_portal_user_with_http_info(self, body, **kwargs): # noqa: E501 - """Update PortalUser # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_portal_user_with_http_info(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param PortalUser body: PortalUser info (required) - :return: PortalUser - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method update_portal_user" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `update_portal_user`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/portalUser', 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='PortalUser', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) diff --git a/libs/cloudapi/cloudsdk/swagger_client/api/profile_api.py b/libs/cloudapi/cloudsdk/swagger_client/api/profile_api.py deleted file mode 100644 index adf0c1b80..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/api/profile_api.py +++ /dev/null @@ -1,808 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import re # noqa: F401 - -# python 2 and python 3 compatibility library -import six - -from swagger_client.api_client import ApiClient - - -class ProfileApi(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - Ref: https://github.com/swagger-api/swagger-codegen - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - - def create_profile(self, body, **kwargs): # noqa: E501 - """Create new Profile # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_profile(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param Profile body: profile info (required) - :return: Profile - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.create_profile_with_http_info(body, **kwargs) # noqa: E501 - else: - (data) = self.create_profile_with_http_info(body, **kwargs) # noqa: E501 - return data - - def create_profile_with_http_info(self, body, **kwargs): # noqa: E501 - """Create new Profile # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_profile_with_http_info(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param Profile body: profile info (required) - :return: Profile - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method create_profile" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_profile`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/profile', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='Profile', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def delete_profile(self, profile_id, **kwargs): # noqa: E501 - """Delete Profile # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_profile(profile_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int profile_id: profile id (required) - :return: Profile - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.delete_profile_with_http_info(profile_id, **kwargs) # noqa: E501 - else: - (data) = self.delete_profile_with_http_info(profile_id, **kwargs) # noqa: E501 - return data - - def delete_profile_with_http_info(self, profile_id, **kwargs): # noqa: E501 - """Delete Profile # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_profile_with_http_info(profile_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int profile_id: profile id (required) - :return: Profile - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['profile_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method delete_profile" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'profile_id' is set - if ('profile_id' not in params or - params['profile_id'] is None): - raise ValueError("Missing the required parameter `profile_id` when calling `delete_profile`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'profile_id' in params: - query_params.append(('profileId', params['profile_id'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/profile', 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='Profile', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_counts_of_equipment_that_use_profiles(self, profile_id_set, **kwargs): # noqa: E501 - """Get counts of equipment that use specified profiles # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_counts_of_equipment_that_use_profiles(profile_id_set, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param list[int] profile_id_set: set of profile ids (required) - :return: list[PairLongLong] - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_counts_of_equipment_that_use_profiles_with_http_info(profile_id_set, **kwargs) # noqa: E501 - else: - (data) = self.get_counts_of_equipment_that_use_profiles_with_http_info(profile_id_set, **kwargs) # noqa: E501 - return data - - def get_counts_of_equipment_that_use_profiles_with_http_info(self, profile_id_set, **kwargs): # noqa: E501 - """Get counts of equipment that use specified profiles # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_counts_of_equipment_that_use_profiles_with_http_info(profile_id_set, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param list[int] profile_id_set: set of profile ids (required) - :return: list[PairLongLong] - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['profile_id_set'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_counts_of_equipment_that_use_profiles" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'profile_id_set' is set - if ('profile_id_set' not in params or - params['profile_id_set'] is None): - raise ValueError("Missing the required parameter `profile_id_set` when calling `get_counts_of_equipment_that_use_profiles`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'profile_id_set' in params: - query_params.append(('profileIdSet', params['profile_id_set'])) # noqa: E501 - collection_formats['profileIdSet'] = 'multi' # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/profile/equipmentCounts', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='list[PairLongLong]', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_profile_by_id(self, profile_id, **kwargs): # noqa: E501 - """Get Profile By Id # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_profile_by_id(profile_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int profile_id: profile id (required) - :return: Profile - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_profile_by_id_with_http_info(profile_id, **kwargs) # noqa: E501 - else: - (data) = self.get_profile_by_id_with_http_info(profile_id, **kwargs) # noqa: E501 - return data - - def get_profile_by_id_with_http_info(self, profile_id, **kwargs): # noqa: E501 - """Get Profile By Id # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_profile_by_id_with_http_info(profile_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int profile_id: profile id (required) - :return: Profile - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['profile_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_profile_by_id" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'profile_id' is set - if ('profile_id' not in params or - params['profile_id'] is None): - raise ValueError("Missing the required parameter `profile_id` when calling `get_profile_by_id`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'profile_id' in params: - query_params.append(('profileId', params['profile_id'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/profile', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='Profile', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_profile_with_children(self, profile_id, **kwargs): # noqa: E501 - """Get Profile and all its associated children # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_profile_with_children(profile_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int profile_id: (required) - :return: list[Profile] - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_profile_with_children_with_http_info(profile_id, **kwargs) # noqa: E501 - else: - (data) = self.get_profile_with_children_with_http_info(profile_id, **kwargs) # noqa: E501 - return data - - def get_profile_with_children_with_http_info(self, profile_id, **kwargs): # noqa: E501 - """Get Profile and all its associated children # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_profile_with_children_with_http_info(profile_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int profile_id: (required) - :return: list[Profile] - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['profile_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_profile_with_children" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'profile_id' is set - if ('profile_id' not in params or - params['profile_id'] is None): - raise ValueError("Missing the required parameter `profile_id` when calling `get_profile_with_children`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'profile_id' in params: - query_params.append(('profileId', params['profile_id'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/profile/withChildren', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='list[Profile]', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_profiles_by_customer_id(self, customer_id, pagination_context, **kwargs): # noqa: E501 - """Get Profiles By customerId # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_profiles_by_customer_id(customer_id, pagination_context, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int customer_id: customer id (required) - :param PaginationContextProfile pagination_context: pagination context (required) - :param ProfileType profile_type: profile type - :param str name_substring: - :param list[SortColumnsProfile] sort_by: sort options - :return: PaginationResponseProfile - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_profiles_by_customer_id_with_http_info(customer_id, pagination_context, **kwargs) # noqa: E501 - else: - (data) = self.get_profiles_by_customer_id_with_http_info(customer_id, pagination_context, **kwargs) # noqa: E501 - return data - - def get_profiles_by_customer_id_with_http_info(self, customer_id, pagination_context, **kwargs): # noqa: E501 - """Get Profiles By customerId # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_profiles_by_customer_id_with_http_info(customer_id, pagination_context, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int customer_id: customer id (required) - :param PaginationContextProfile pagination_context: pagination context (required) - :param ProfileType profile_type: profile type - :param str name_substring: - :param list[SortColumnsProfile] sort_by: sort options - :return: PaginationResponseProfile - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['customer_id', 'pagination_context', 'profile_type', 'name_substring', 'sort_by'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_profiles_by_customer_id" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'customer_id' is set - if ('customer_id' not in params or - params['customer_id'] is None): - raise ValueError("Missing the required parameter `customer_id` when calling `get_profiles_by_customer_id`") # noqa: E501 - # verify the required parameter 'pagination_context' is set - if ('pagination_context' not in params or - params['pagination_context'] is None): - raise ValueError("Missing the required parameter `pagination_context` when calling `get_profiles_by_customer_id`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'customer_id' in params: - query_params.append(('customerId', params['customer_id'])) # noqa: E501 - if 'profile_type' in params: - query_params.append(('profileType', params['profile_type'])) # noqa: E501 - if 'name_substring' in params: - query_params.append(('nameSubstring', params['name_substring'])) # noqa: E501 - if 'sort_by' in params: - query_params.append(('sortBy', params['sort_by'])) # noqa: E501 - collection_formats['sortBy'] = 'multi' # noqa: E501 - if 'pagination_context' in params: - query_params.append(('paginationContext', params['pagination_context'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/profile/forCustomer', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='PaginationResponseProfile', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_profiles_by_set_of_ids(self, profile_id_set, **kwargs): # noqa: E501 - """Get Profiles By a set of ids # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_profiles_by_set_of_ids(profile_id_set, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param list[int] profile_id_set: set of profile ids (required) - :return: list[Profile] - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_profiles_by_set_of_ids_with_http_info(profile_id_set, **kwargs) # noqa: E501 - else: - (data) = self.get_profiles_by_set_of_ids_with_http_info(profile_id_set, **kwargs) # noqa: E501 - return data - - def get_profiles_by_set_of_ids_with_http_info(self, profile_id_set, **kwargs): # noqa: E501 - """Get Profiles By a set of ids # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_profiles_by_set_of_ids_with_http_info(profile_id_set, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param list[int] profile_id_set: set of profile ids (required) - :return: list[Profile] - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['profile_id_set'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_profiles_by_set_of_ids" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'profile_id_set' is set - if ('profile_id_set' not in params or - params['profile_id_set'] is None): - raise ValueError("Missing the required parameter `profile_id_set` when calling `get_profiles_by_set_of_ids`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'profile_id_set' in params: - query_params.append(('profileIdSet', params['profile_id_set'])) # noqa: E501 - collection_formats['profileIdSet'] = 'multi' # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/profile/inSet', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='list[Profile]', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def update_profile(self, body, **kwargs): # noqa: E501 - """Update Profile # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_profile(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param Profile body: profile info (required) - :return: Profile - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.update_profile_with_http_info(body, **kwargs) # noqa: E501 - else: - (data) = self.update_profile_with_http_info(body, **kwargs) # noqa: E501 - return data - - def update_profile_with_http_info(self, body, **kwargs): # noqa: E501 - """Update Profile # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_profile_with_http_info(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param Profile body: profile info (required) - :return: Profile - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method update_profile" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `update_profile`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/profile', 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='Profile', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) diff --git a/libs/cloudapi/cloudsdk/swagger_client/api/service_adoption_metrics_api.py b/libs/cloudapi/cloudsdk/swagger_client/api/service_adoption_metrics_api.py deleted file mode 100644 index 09aa6866b..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/api/service_adoption_metrics_api.py +++ /dev/null @@ -1,618 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import re # noqa: F401 - -# python 2 and python 3 compatibility library -import six - -from swagger_client.api_client import ApiClient - - -class ServiceAdoptionMetricsApi(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - Ref: https://github.com/swagger-api/swagger-codegen - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - - def get_adoption_metrics_all_per_day(self, year, **kwargs): # noqa: E501 - """Get daily service adoption metrics for a given year # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_adoption_metrics_all_per_day(year, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int year: (required) - :return: list[ServiceAdoptionMetrics] - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_adoption_metrics_all_per_day_with_http_info(year, **kwargs) # noqa: E501 - else: - (data) = self.get_adoption_metrics_all_per_day_with_http_info(year, **kwargs) # noqa: E501 - return data - - def get_adoption_metrics_all_per_day_with_http_info(self, year, **kwargs): # noqa: E501 - """Get daily service adoption metrics for a given year # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_adoption_metrics_all_per_day_with_http_info(year, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int year: (required) - :return: list[ServiceAdoptionMetrics] - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['year'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_adoption_metrics_all_per_day" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'year' is set - if ('year' not in params or - params['year'] is None): - raise ValueError("Missing the required parameter `year` when calling `get_adoption_metrics_all_per_day`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'year' in params: - query_params.append(('year', params['year'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/adoptionMetrics/allPerDay', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='list[ServiceAdoptionMetrics]', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_adoption_metrics_all_per_month(self, year, **kwargs): # noqa: E501 - """Get monthly service adoption metrics for a given year # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_adoption_metrics_all_per_month(year, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int year: (required) - :return: list[ServiceAdoptionMetrics] - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_adoption_metrics_all_per_month_with_http_info(year, **kwargs) # noqa: E501 - else: - (data) = self.get_adoption_metrics_all_per_month_with_http_info(year, **kwargs) # noqa: E501 - return data - - def get_adoption_metrics_all_per_month_with_http_info(self, year, **kwargs): # noqa: E501 - """Get monthly service adoption metrics for a given year # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_adoption_metrics_all_per_month_with_http_info(year, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int year: (required) - :return: list[ServiceAdoptionMetrics] - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['year'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_adoption_metrics_all_per_month" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'year' is set - if ('year' not in params or - params['year'] is None): - raise ValueError("Missing the required parameter `year` when calling `get_adoption_metrics_all_per_month`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'year' in params: - query_params.append(('year', params['year'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/adoptionMetrics/allPerMonth', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='list[ServiceAdoptionMetrics]', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_adoption_metrics_all_per_week(self, year, **kwargs): # noqa: E501 - """Get weekly service adoption metrics for a given year # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_adoption_metrics_all_per_week(year, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int year: (required) - :return: list[ServiceAdoptionMetrics] - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_adoption_metrics_all_per_week_with_http_info(year, **kwargs) # noqa: E501 - else: - (data) = self.get_adoption_metrics_all_per_week_with_http_info(year, **kwargs) # noqa: E501 - return data - - def get_adoption_metrics_all_per_week_with_http_info(self, year, **kwargs): # noqa: E501 - """Get weekly service adoption metrics for a given year # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_adoption_metrics_all_per_week_with_http_info(year, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int year: (required) - :return: list[ServiceAdoptionMetrics] - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['year'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_adoption_metrics_all_per_week" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'year' is set - if ('year' not in params or - params['year'] is None): - raise ValueError("Missing the required parameter `year` when calling `get_adoption_metrics_all_per_week`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'year' in params: - query_params.append(('year', params['year'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/adoptionMetrics/allPerWeek', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='list[ServiceAdoptionMetrics]', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_adoption_metrics_per_customer_per_day(self, year, customer_ids, **kwargs): # noqa: E501 - """Get daily service adoption metrics for a given year aggregated by customer and filtered by specified customer ids # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_adoption_metrics_per_customer_per_day(year, customer_ids, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int year: (required) - :param list[int] customer_ids: filter by customer ids. (required) - :return: list[ServiceAdoptionMetrics] - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_adoption_metrics_per_customer_per_day_with_http_info(year, customer_ids, **kwargs) # noqa: E501 - else: - (data) = self.get_adoption_metrics_per_customer_per_day_with_http_info(year, customer_ids, **kwargs) # noqa: E501 - return data - - def get_adoption_metrics_per_customer_per_day_with_http_info(self, year, customer_ids, **kwargs): # noqa: E501 - """Get daily service adoption metrics for a given year aggregated by customer and filtered by specified customer ids # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_adoption_metrics_per_customer_per_day_with_http_info(year, customer_ids, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int year: (required) - :param list[int] customer_ids: filter by customer ids. (required) - :return: list[ServiceAdoptionMetrics] - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['year', 'customer_ids'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_adoption_metrics_per_customer_per_day" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'year' is set - if ('year' not in params or - params['year'] is None): - raise ValueError("Missing the required parameter `year` when calling `get_adoption_metrics_per_customer_per_day`") # noqa: E501 - # verify the required parameter 'customer_ids' is set - if ('customer_ids' not in params or - params['customer_ids'] is None): - raise ValueError("Missing the required parameter `customer_ids` when calling `get_adoption_metrics_per_customer_per_day`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'year' in params: - query_params.append(('year', params['year'])) # noqa: E501 - if 'customer_ids' in params: - query_params.append(('customerIds', params['customer_ids'])) # noqa: E501 - collection_formats['customerIds'] = 'multi' # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/adoptionMetrics/perCustomerPerDay', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='list[ServiceAdoptionMetrics]', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_adoption_metrics_per_equipment_per_day(self, year, equipment_ids, **kwargs): # noqa: E501 - """Get daily service adoption metrics for a given year filtered by specified equipment ids # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_adoption_metrics_per_equipment_per_day(year, equipment_ids, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int year: (required) - :param list[int] equipment_ids: filter by equipment ids. (required) - :return: list[ServiceAdoptionMetrics] - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_adoption_metrics_per_equipment_per_day_with_http_info(year, equipment_ids, **kwargs) # noqa: E501 - else: - (data) = self.get_adoption_metrics_per_equipment_per_day_with_http_info(year, equipment_ids, **kwargs) # noqa: E501 - return data - - def get_adoption_metrics_per_equipment_per_day_with_http_info(self, year, equipment_ids, **kwargs): # noqa: E501 - """Get daily service adoption metrics for a given year filtered by specified equipment ids # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_adoption_metrics_per_equipment_per_day_with_http_info(year, equipment_ids, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int year: (required) - :param list[int] equipment_ids: filter by equipment ids. (required) - :return: list[ServiceAdoptionMetrics] - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['year', 'equipment_ids'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_adoption_metrics_per_equipment_per_day" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'year' is set - if ('year' not in params or - params['year'] is None): - raise ValueError("Missing the required parameter `year` when calling `get_adoption_metrics_per_equipment_per_day`") # noqa: E501 - # verify the required parameter 'equipment_ids' is set - if ('equipment_ids' not in params or - params['equipment_ids'] is None): - raise ValueError("Missing the required parameter `equipment_ids` when calling `get_adoption_metrics_per_equipment_per_day`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'year' in params: - query_params.append(('year', params['year'])) # noqa: E501 - if 'equipment_ids' in params: - query_params.append(('equipmentIds', params['equipment_ids'])) # noqa: E501 - collection_formats['equipmentIds'] = 'multi' # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/adoptionMetrics/perEquipmentPerDay', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='list[ServiceAdoptionMetrics]', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_adoption_metrics_per_location_per_day(self, year, location_ids, **kwargs): # noqa: E501 - """Get daily service adoption metrics for a given year aggregated by location and filtered by specified location ids # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_adoption_metrics_per_location_per_day(year, location_ids, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int year: (required) - :param list[int] location_ids: filter by location ids. (required) - :return: list[ServiceAdoptionMetrics] - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_adoption_metrics_per_location_per_day_with_http_info(year, location_ids, **kwargs) # noqa: E501 - else: - (data) = self.get_adoption_metrics_per_location_per_day_with_http_info(year, location_ids, **kwargs) # noqa: E501 - return data - - def get_adoption_metrics_per_location_per_day_with_http_info(self, year, location_ids, **kwargs): # noqa: E501 - """Get daily service adoption metrics for a given year aggregated by location and filtered by specified location ids # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_adoption_metrics_per_location_per_day_with_http_info(year, location_ids, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int year: (required) - :param list[int] location_ids: filter by location ids. (required) - :return: list[ServiceAdoptionMetrics] - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['year', 'location_ids'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_adoption_metrics_per_location_per_day" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'year' is set - if ('year' not in params or - params['year'] is None): - raise ValueError("Missing the required parameter `year` when calling `get_adoption_metrics_per_location_per_day`") # noqa: E501 - # verify the required parameter 'location_ids' is set - if ('location_ids' not in params or - params['location_ids'] is None): - raise ValueError("Missing the required parameter `location_ids` when calling `get_adoption_metrics_per_location_per_day`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'year' in params: - query_params.append(('year', params['year'])) # noqa: E501 - if 'location_ids' in params: - query_params.append(('locationIds', params['location_ids'])) # noqa: E501 - collection_formats['locationIds'] = 'multi' # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/adoptionMetrics/perLocationPerDay', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='list[ServiceAdoptionMetrics]', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) diff --git a/libs/cloudapi/cloudsdk/swagger_client/api/status_api.py b/libs/cloudapi/cloudsdk/swagger_client/api/status_api.py deleted file mode 100644 index a578a3b66..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/api/status_api.py +++ /dev/null @@ -1,463 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import re # noqa: F401 - -# python 2 and python 3 compatibility library -import six - -from swagger_client.api_client import ApiClient - - -class StatusApi(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - Ref: https://github.com/swagger-api/swagger-codegen - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - - def get_status_by_customer_equipment(self, customer_id, equipment_id, **kwargs): # noqa: E501 - """Get all Status objects for a given customer equipment. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_status_by_customer_equipment(customer_id, equipment_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int customer_id: customer id (required) - :param int equipment_id: Equipment id (required) - :return: list[Status] - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_status_by_customer_equipment_with_http_info(customer_id, equipment_id, **kwargs) # noqa: E501 - else: - (data) = self.get_status_by_customer_equipment_with_http_info(customer_id, equipment_id, **kwargs) # noqa: E501 - return data - - def get_status_by_customer_equipment_with_http_info(self, customer_id, equipment_id, **kwargs): # noqa: E501 - """Get all Status objects for a given customer equipment. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_status_by_customer_equipment_with_http_info(customer_id, equipment_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int customer_id: customer id (required) - :param int equipment_id: Equipment id (required) - :return: list[Status] - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['customer_id', 'equipment_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_status_by_customer_equipment" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'customer_id' is set - if ('customer_id' not in params or - params['customer_id'] is None): - raise ValueError("Missing the required parameter `customer_id` when calling `get_status_by_customer_equipment`") # noqa: E501 - # verify the required parameter 'equipment_id' is set - if ('equipment_id' not in params or - params['equipment_id'] is None): - raise ValueError("Missing the required parameter `equipment_id` when calling `get_status_by_customer_equipment`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'customer_id' in params: - query_params.append(('customerId', params['customer_id'])) # noqa: E501 - if 'equipment_id' in params: - query_params.append(('equipmentId', params['equipment_id'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/status/forEquipment', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='list[Status]', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_status_by_customer_equipment_with_filter(self, customer_id, equipment_ids, **kwargs): # noqa: E501 - """Get Status objects for a given customer equipment ids and status data types. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_status_by_customer_equipment_with_filter(customer_id, equipment_ids, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int customer_id: customer id (required) - :param list[int] equipment_ids: Set of equipment ids. Must not be empty or null. (required) - :param list[StatusDataType] status_data_types: Set of status data types. Empty or null means retrieve all data types. - :return: list[Status] - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_status_by_customer_equipment_with_filter_with_http_info(customer_id, equipment_ids, **kwargs) # noqa: E501 - else: - (data) = self.get_status_by_customer_equipment_with_filter_with_http_info(customer_id, equipment_ids, **kwargs) # noqa: E501 - return data - - def get_status_by_customer_equipment_with_filter_with_http_info(self, customer_id, equipment_ids, **kwargs): # noqa: E501 - """Get Status objects for a given customer equipment ids and status data types. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_status_by_customer_equipment_with_filter_with_http_info(customer_id, equipment_ids, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int customer_id: customer id (required) - :param list[int] equipment_ids: Set of equipment ids. Must not be empty or null. (required) - :param list[StatusDataType] status_data_types: Set of status data types. Empty or null means retrieve all data types. - :return: list[Status] - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['customer_id', 'equipment_ids', 'status_data_types'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_status_by_customer_equipment_with_filter" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'customer_id' is set - if ('customer_id' not in params or - params['customer_id'] is None): - raise ValueError("Missing the required parameter `customer_id` when calling `get_status_by_customer_equipment_with_filter`") # noqa: E501 - # verify the required parameter 'equipment_ids' is set - if ('equipment_ids' not in params or - params['equipment_ids'] is None): - raise ValueError("Missing the required parameter `equipment_ids` when calling `get_status_by_customer_equipment_with_filter`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'customer_id' in params: - query_params.append(('customerId', params['customer_id'])) # noqa: E501 - if 'equipment_ids' in params: - query_params.append(('equipmentIds', params['equipment_ids'])) # noqa: E501 - collection_formats['equipmentIds'] = 'multi' # noqa: E501 - if 'status_data_types' in params: - query_params.append(('statusDataTypes', params['status_data_types'])) # noqa: E501 - collection_formats['statusDataTypes'] = 'multi' # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/status/forEquipmentWithFilter', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='list[Status]', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_status_by_customer_id(self, customer_id, pagination_context, **kwargs): # noqa: E501 - """Get all Status objects By customerId # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_status_by_customer_id(customer_id, pagination_context, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int customer_id: customer id (required) - :param PaginationContextStatus pagination_context: pagination context (required) - :param list[SortColumnsStatus] sort_by: sort options - :return: PaginationResponseStatus - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_status_by_customer_id_with_http_info(customer_id, pagination_context, **kwargs) # noqa: E501 - else: - (data) = self.get_status_by_customer_id_with_http_info(customer_id, pagination_context, **kwargs) # noqa: E501 - return data - - def get_status_by_customer_id_with_http_info(self, customer_id, pagination_context, **kwargs): # noqa: E501 - """Get all Status objects By customerId # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_status_by_customer_id_with_http_info(customer_id, pagination_context, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int customer_id: customer id (required) - :param PaginationContextStatus pagination_context: pagination context (required) - :param list[SortColumnsStatus] sort_by: sort options - :return: PaginationResponseStatus - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['customer_id', 'pagination_context', 'sort_by'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_status_by_customer_id" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'customer_id' is set - if ('customer_id' not in params or - params['customer_id'] is None): - raise ValueError("Missing the required parameter `customer_id` when calling `get_status_by_customer_id`") # noqa: E501 - # verify the required parameter 'pagination_context' is set - if ('pagination_context' not in params or - params['pagination_context'] is None): - raise ValueError("Missing the required parameter `pagination_context` when calling `get_status_by_customer_id`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'customer_id' in params: - query_params.append(('customerId', params['customer_id'])) # noqa: E501 - if 'sort_by' in params: - query_params.append(('sortBy', params['sort_by'])) # noqa: E501 - collection_formats['sortBy'] = 'multi' # noqa: E501 - if 'pagination_context' in params: - query_params.append(('paginationContext', params['pagination_context'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/status/forCustomer', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='PaginationResponseStatus', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_status_by_customer_with_filter(self, customer_id, pagination_context, **kwargs): # noqa: E501 - """Get list of Statuses for customerId, set of equipment ids, and set of status data types. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_status_by_customer_with_filter(customer_id, pagination_context, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int customer_id: customer id (required) - :param PaginationContextStatus pagination_context: pagination context (required) - :param list[int] equipment_ids: Set of equipment ids. Empty or null means retrieve all equipment for the customer. - :param list[StatusDataType] status_data_types: Set of status data types. Empty or null means retrieve all data types. - :param list[SortColumnsStatus] sort_by: sort options - :return: PaginationResponseStatus - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_status_by_customer_with_filter_with_http_info(customer_id, pagination_context, **kwargs) # noqa: E501 - else: - (data) = self.get_status_by_customer_with_filter_with_http_info(customer_id, pagination_context, **kwargs) # noqa: E501 - return data - - def get_status_by_customer_with_filter_with_http_info(self, customer_id, pagination_context, **kwargs): # noqa: E501 - """Get list of Statuses for customerId, set of equipment ids, and set of status data types. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_status_by_customer_with_filter_with_http_info(customer_id, pagination_context, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int customer_id: customer id (required) - :param PaginationContextStatus pagination_context: pagination context (required) - :param list[int] equipment_ids: Set of equipment ids. Empty or null means retrieve all equipment for the customer. - :param list[StatusDataType] status_data_types: Set of status data types. Empty or null means retrieve all data types. - :param list[SortColumnsStatus] sort_by: sort options - :return: PaginationResponseStatus - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['customer_id', 'pagination_context', 'equipment_ids', 'status_data_types', 'sort_by'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_status_by_customer_with_filter" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'customer_id' is set - if ('customer_id' not in params or - params['customer_id'] is None): - raise ValueError("Missing the required parameter `customer_id` when calling `get_status_by_customer_with_filter`") # noqa: E501 - # verify the required parameter 'pagination_context' is set - if ('pagination_context' not in params or - params['pagination_context'] is None): - raise ValueError("Missing the required parameter `pagination_context` when calling `get_status_by_customer_with_filter`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'customer_id' in params: - query_params.append(('customerId', params['customer_id'])) # noqa: E501 - if 'equipment_ids' in params: - query_params.append(('equipmentIds', params['equipment_ids'])) # noqa: E501 - collection_formats['equipmentIds'] = 'multi' # noqa: E501 - if 'status_data_types' in params: - query_params.append(('statusDataTypes', params['status_data_types'])) # noqa: E501 - collection_formats['statusDataTypes'] = 'multi' # noqa: E501 - if 'sort_by' in params: - query_params.append(('sortBy', params['sort_by'])) # noqa: E501 - collection_formats['sortBy'] = 'multi' # noqa: E501 - if 'pagination_context' in params: - query_params.append(('paginationContext', params['pagination_context'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/status/forCustomerWithFilter', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='PaginationResponseStatus', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) diff --git a/libs/cloudapi/cloudsdk/swagger_client/api/system_events_api.py b/libs/cloudapi/cloudsdk/swagger_client/api/system_events_api.py deleted file mode 100644 index 606a0972f..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/api/system_events_api.py +++ /dev/null @@ -1,175 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import re # noqa: F401 - -# python 2 and python 3 compatibility library -import six - -from swagger_client.api_client import ApiClient - - -class SystemEventsApi(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - Ref: https://github.com/swagger-api/swagger-codegen - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - - def get_system_eventsfor_customer(self, from_time, to_time, customer_id, pagination_context, **kwargs): # noqa: E501 - """Get list of System Events for customerId, optional set of equipment ids, and optional set of data types. Only events that are created between specified fromTime and toTime are retrieved. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_system_eventsfor_customer(from_time, to_time, customer_id, pagination_context, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int from_time: Include events created after (and including) this timestamp in milliseconds (required) - :param int to_time: Include events created before (and including) this timestamp in milliseconds (required) - :param int customer_id: customer id (required) - :param PaginationContextSystemEvent pagination_context: pagination context (required) - :param list[int] location_ids: Set of location ids. Empty or null means retrieve events for all locations for the customer. - :param list[int] equipment_ids: Set of equipment ids. Empty or null means retrieve events for all equipment for the customer. - :param list[str] client_macs: Set of client MAC addresses. Empty or null means retrieve events for all client MACs for the customer. - :param list[SystemEventDataType] data_types: Set of system event data types. Empty or null means retrieve all. - :param list[SortColumnsSystemEvent] sort_by: Sort options. If not provided, then results will be ordered by equipmentId and createdTimestamp. - :return: PaginationResponseSystemEvent - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_system_eventsfor_customer_with_http_info(from_time, to_time, customer_id, pagination_context, **kwargs) # noqa: E501 - else: - (data) = self.get_system_eventsfor_customer_with_http_info(from_time, to_time, customer_id, pagination_context, **kwargs) # noqa: E501 - return data - - def get_system_eventsfor_customer_with_http_info(self, from_time, to_time, customer_id, pagination_context, **kwargs): # noqa: E501 - """Get list of System Events for customerId, optional set of equipment ids, and optional set of data types. Only events that are created between specified fromTime and toTime are retrieved. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_system_eventsfor_customer_with_http_info(from_time, to_time, customer_id, pagination_context, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int from_time: Include events created after (and including) this timestamp in milliseconds (required) - :param int to_time: Include events created before (and including) this timestamp in milliseconds (required) - :param int customer_id: customer id (required) - :param PaginationContextSystemEvent pagination_context: pagination context (required) - :param list[int] location_ids: Set of location ids. Empty or null means retrieve events for all locations for the customer. - :param list[int] equipment_ids: Set of equipment ids. Empty or null means retrieve events for all equipment for the customer. - :param list[str] client_macs: Set of client MAC addresses. Empty or null means retrieve events for all client MACs for the customer. - :param list[SystemEventDataType] data_types: Set of system event data types. Empty or null means retrieve all. - :param list[SortColumnsSystemEvent] sort_by: Sort options. If not provided, then results will be ordered by equipmentId and createdTimestamp. - :return: PaginationResponseSystemEvent - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['from_time', 'to_time', 'customer_id', 'pagination_context', 'location_ids', 'equipment_ids', 'client_macs', 'data_types', 'sort_by'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_system_eventsfor_customer" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'from_time' is set - if ('from_time' not in params or - params['from_time'] is None): - raise ValueError("Missing the required parameter `from_time` when calling `get_system_eventsfor_customer`") # noqa: E501 - # verify the required parameter 'to_time' is set - if ('to_time' not in params or - params['to_time'] is None): - raise ValueError("Missing the required parameter `to_time` when calling `get_system_eventsfor_customer`") # noqa: E501 - # verify the required parameter 'customer_id' is set - if ('customer_id' not in params or - params['customer_id'] is None): - raise ValueError("Missing the required parameter `customer_id` when calling `get_system_eventsfor_customer`") # noqa: E501 - # verify the required parameter 'pagination_context' is set - if ('pagination_context' not in params or - params['pagination_context'] is None): - raise ValueError("Missing the required parameter `pagination_context` when calling `get_system_eventsfor_customer`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'from_time' in params: - query_params.append(('fromTime', params['from_time'])) # noqa: E501 - if 'to_time' in params: - query_params.append(('toTime', params['to_time'])) # noqa: E501 - if 'customer_id' in params: - query_params.append(('customerId', params['customer_id'])) # noqa: E501 - if 'location_ids' in params: - query_params.append(('locationIds', params['location_ids'])) # noqa: E501 - collection_formats['locationIds'] = 'multi' # noqa: E501 - if 'equipment_ids' in params: - query_params.append(('equipmentIds', params['equipment_ids'])) # noqa: E501 - collection_formats['equipmentIds'] = 'multi' # noqa: E501 - if 'client_macs' in params: - query_params.append(('clientMacs', params['client_macs'])) # noqa: E501 - collection_formats['clientMacs'] = 'multi' # noqa: E501 - if 'data_types' in params: - query_params.append(('dataTypes', params['data_types'])) # noqa: E501 - collection_formats['dataTypes'] = 'multi' # noqa: E501 - if 'sort_by' in params: - query_params.append(('sortBy', params['sort_by'])) # noqa: E501 - collection_formats['sortBy'] = 'multi' # noqa: E501 - if 'pagination_context' in params: - query_params.append(('paginationContext', params['pagination_context'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/systemEvent/forCustomer', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='PaginationResponseSystemEvent', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) diff --git a/libs/cloudapi/cloudsdk/swagger_client/api/wlan_service_metrics_api.py b/libs/cloudapi/cloudsdk/swagger_client/api/wlan_service_metrics_api.py deleted file mode 100644 index 43e29b843..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/api/wlan_service_metrics_api.py +++ /dev/null @@ -1,175 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import re # noqa: F401 - -# python 2 and python 3 compatibility library -import six - -from swagger_client.api_client import ApiClient - - -class WLANServiceMetricsApi(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - Ref: https://github.com/swagger-api/swagger-codegen - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - - def get_service_metricsfor_customer(self, from_time, to_time, customer_id, pagination_context, **kwargs): # noqa: E501 - """Get list of WLAN Service Metrics for customerId, optional set of location ids, optional set of equipment ids, optional set of client MAC addresses, optional set of metric data types. Only metrics that are created between specified fromTime and toTime are retrieved. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_service_metricsfor_customer(from_time, to_time, customer_id, pagination_context, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int from_time: Include metrics created after (and including) this timestamp in milliseconds (required) - :param int to_time: Include metrics created before (and including) this timestamp in milliseconds (required) - :param int customer_id: customer id (required) - :param PaginationContextServiceMetric pagination_context: pagination context (required) - :param list[int] location_ids: Set of location ids. Empty or null means retrieve metrics for all locations for the customer. - :param list[int] equipment_ids: Set of equipment ids. Empty or null means retrieve metrics for all equipment for the customer. - :param list[str] client_macs: Set of client MAC addresses. Empty or null means retrieve metrics for all client MACs for the customer. - :param list[ServiceMetricDataType] data_types: Set of metric data types. Empty or null means retrieve all. - :param list[SortColumnsServiceMetric] sort_by: Sort options. If not provided, then results will be ordered by equipmentId and createdTimestamp. - :return: PaginationResponseServiceMetric - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_service_metricsfor_customer_with_http_info(from_time, to_time, customer_id, pagination_context, **kwargs) # noqa: E501 - else: - (data) = self.get_service_metricsfor_customer_with_http_info(from_time, to_time, customer_id, pagination_context, **kwargs) # noqa: E501 - return data - - def get_service_metricsfor_customer_with_http_info(self, from_time, to_time, customer_id, pagination_context, **kwargs): # noqa: E501 - """Get list of WLAN Service Metrics for customerId, optional set of location ids, optional set of equipment ids, optional set of client MAC addresses, optional set of metric data types. Only metrics that are created between specified fromTime and toTime are retrieved. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_service_metricsfor_customer_with_http_info(from_time, to_time, customer_id, pagination_context, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int from_time: Include metrics created after (and including) this timestamp in milliseconds (required) - :param int to_time: Include metrics created before (and including) this timestamp in milliseconds (required) - :param int customer_id: customer id (required) - :param PaginationContextServiceMetric pagination_context: pagination context (required) - :param list[int] location_ids: Set of location ids. Empty or null means retrieve metrics for all locations for the customer. - :param list[int] equipment_ids: Set of equipment ids. Empty or null means retrieve metrics for all equipment for the customer. - :param list[str] client_macs: Set of client MAC addresses. Empty or null means retrieve metrics for all client MACs for the customer. - :param list[ServiceMetricDataType] data_types: Set of metric data types. Empty or null means retrieve all. - :param list[SortColumnsServiceMetric] sort_by: Sort options. If not provided, then results will be ordered by equipmentId and createdTimestamp. - :return: PaginationResponseServiceMetric - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['from_time', 'to_time', 'customer_id', 'pagination_context', 'location_ids', 'equipment_ids', 'client_macs', 'data_types', 'sort_by'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_service_metricsfor_customer" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'from_time' is set - if ('from_time' not in params or - params['from_time'] is None): - raise ValueError("Missing the required parameter `from_time` when calling `get_service_metricsfor_customer`") # noqa: E501 - # verify the required parameter 'to_time' is set - if ('to_time' not in params or - params['to_time'] is None): - raise ValueError("Missing the required parameter `to_time` when calling `get_service_metricsfor_customer`") # noqa: E501 - # verify the required parameter 'customer_id' is set - if ('customer_id' not in params or - params['customer_id'] is None): - raise ValueError("Missing the required parameter `customer_id` when calling `get_service_metricsfor_customer`") # noqa: E501 - # verify the required parameter 'pagination_context' is set - if ('pagination_context' not in params or - params['pagination_context'] is None): - raise ValueError("Missing the required parameter `pagination_context` when calling `get_service_metricsfor_customer`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'from_time' in params: - query_params.append(('fromTime', params['from_time'])) # noqa: E501 - if 'to_time' in params: - query_params.append(('toTime', params['to_time'])) # noqa: E501 - if 'customer_id' in params: - query_params.append(('customerId', params['customer_id'])) # noqa: E501 - if 'location_ids' in params: - query_params.append(('locationIds', params['location_ids'])) # noqa: E501 - collection_formats['locationIds'] = 'multi' # noqa: E501 - if 'equipment_ids' in params: - query_params.append(('equipmentIds', params['equipment_ids'])) # noqa: E501 - collection_formats['equipmentIds'] = 'multi' # noqa: E501 - if 'client_macs' in params: - query_params.append(('clientMacs', params['client_macs'])) # noqa: E501 - collection_formats['clientMacs'] = 'multi' # noqa: E501 - if 'data_types' in params: - query_params.append(('dataTypes', params['data_types'])) # noqa: E501 - collection_formats['dataTypes'] = 'multi' # noqa: E501 - if 'sort_by' in params: - query_params.append(('sortBy', params['sort_by'])) # noqa: E501 - collection_formats['sortBy'] = 'multi' # noqa: E501 - if 'pagination_context' in params: - query_params.append(('paginationContext', params['pagination_context'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['tip_wlan_ts_auth'] # noqa: E501 - - return self.api_client.call_api( - '/portal/serviceMetric/forCustomer', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='PaginationResponseServiceMetric', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) diff --git a/libs/cloudapi/cloudsdk/swagger_client/api_client.py b/libs/cloudapi/cloudsdk/swagger_client/api_client.py deleted file mode 100644 index 4fa84e29e..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/api_client.py +++ /dev/null @@ -1,629 +0,0 @@ -# coding: utf-8 -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" -from __future__ import absolute_import - -import datetime -import json -import mimetypes -from multiprocessing.pool import ThreadPool -import os -import re -import tempfile - -# python 2 and python 3 compatibility library -import six -from six.moves.urllib.parse import quote - -from swagger_client.configuration import Configuration -import swagger_client.models -from swagger_client import rest - - -class ApiClient(object): - """Generic API client for Swagger client library builds. - - Swagger generic API client. This client handles the client- - server communication, and is invariant across implementations. Specifics of - the methods and models for each application are generated from the Swagger - templates. - - NOTE: This class is auto generated by the swagger code generator program. - Ref: https://github.com/swagger-api/swagger-codegen - Do not edit the class manually. - - :param configuration: .Configuration object for this client - :param header_name: a header to pass when making calls to the API. - :param header_value: a header value to pass when making calls to - the API. - :param cookie: a cookie to include in the header when making calls - to the API - """ - - PRIMITIVE_TYPES = (float, bool, bytes, six.text_type) + six.integer_types - NATIVE_TYPES_MAPPING = { - 'int': int, - 'long': int if six.PY3 else long, # noqa: F821 - 'float': float, - 'str': str, - 'bool': bool, - 'date': datetime.date, - 'datetime': datetime.datetime, - 'object': object, - } - - def __init__(self, configuration=None, header_name=None, header_value=None, - cookie=None, - sdk_base_url=None): - print(sdk_base_url) - if configuration is None: - configuration = Configuration(sdk_base_url=sdk_base_url) - self.configuration = configuration - self.pool = ThreadPool() - self.rest_client = rest.RESTClientObject(configuration) - self.default_headers = {} - if header_name is not None: - self.default_headers[header_name] = header_value - self.cookie = cookie - # Set default User-Agent. - self.user_agent = 'Swagger-Codegen/1.0.0/python' - - def __del__(self): - self.pool.close() - self.pool.join() - - @property - def user_agent(self): - """User agent for this API client""" - return self.default_headers['User-Agent'] - - @user_agent.setter - def user_agent(self, value): - self.default_headers['User-Agent'] = value - - def set_default_header(self, header_name, header_value): - self.default_headers[header_name] = header_value - - def __call_api( - self, resource_path, method, path_params=None, - query_params=None, header_params=None, body=None, post_params=None, - files=None, response_type=None, auth_settings=None, - _return_http_data_only=None, collection_formats=None, - _preload_content=True, _request_timeout=None): - - config = self.configuration - - # header parameters - header_params = header_params or {} - header_params.update(self.default_headers) - if self.cookie: - header_params['Cookie'] = self.cookie - if header_params: - header_params = self.sanitize_for_serialization(header_params) - header_params = dict(self.parameters_to_tuples(header_params, - collection_formats)) - - # path parameters - if path_params: - path_params = self.sanitize_for_serialization(path_params) - path_params = self.parameters_to_tuples(path_params, - collection_formats) - for k, v in path_params: - # specified safe chars, encode everything - resource_path = resource_path.replace( - '{%s}' % k, - quote(str(v), safe=config.safe_chars_for_path_param) - ) - - # query parameters - if query_params: - query_params = self.sanitize_for_serialization(query_params) - query_params = self.parameters_to_tuples(query_params, - collection_formats) - - # post parameters - if post_params or files: - post_params = self.prepare_post_parameters(post_params, files) - post_params = self.sanitize_for_serialization(post_params) - post_params = self.parameters_to_tuples(post_params, - collection_formats) - - # auth setting - self.update_params_for_auth(header_params, query_params, auth_settings) - - # body - if body: - body = self.sanitize_for_serialization(body) - - # request url - url = self.configuration.host + resource_path - - # perform request and return response - response_data = self.request( - method, url, query_params=query_params, headers=header_params, - post_params=post_params, body=body, - _preload_content=_preload_content, - _request_timeout=_request_timeout) - - self.last_response = response_data - - return_data = response_data - if _preload_content: - # deserialize response data - if response_type: - return_data = self.deserialize(response_data, response_type) - else: - return_data = None - - if _return_http_data_only: - return (return_data) - else: - return (return_data, response_data.status, - response_data.getheaders()) - - def sanitize_for_serialization(self, obj): - """Builds a JSON POST object. - - If obj is None, return None. - If obj is str, int, long, float, bool, return directly. - If obj is datetime.datetime, datetime.date - convert to string in iso8601 format. - If obj is list, sanitize each element in the list. - If obj is dict, return the dict. - If obj is swagger model, return the properties dict. - - :param obj: The data to serialize. - :return: The serialized form of data. - """ - if obj is None: - return None - elif isinstance(obj, self.PRIMITIVE_TYPES): - return obj - elif isinstance(obj, list): - return [self.sanitize_for_serialization(sub_obj) - for sub_obj in obj] - elif isinstance(obj, tuple): - return tuple(self.sanitize_for_serialization(sub_obj) - for sub_obj in obj) - elif isinstance(obj, (datetime.datetime, datetime.date)): - return obj.isoformat() - - if isinstance(obj, dict): - obj_dict = obj - else: - # Convert model obj to dict except - # attributes `swagger_types`, `attribute_map` - # and attributes which value is not None. - # Convert attribute name to json key in - # model definition for request. - obj_dict = {obj.attribute_map[attr]: getattr(obj, attr) - for attr, _ in six.iteritems(obj.swagger_types) - if getattr(obj, attr) is not None} - - return {key: self.sanitize_for_serialization(val) - for key, val in six.iteritems(obj_dict)} - - def deserialize(self, response, response_type): - """Deserializes response into an object. - - :param response: RESTResponse object to be deserialized. - :param response_type: class literal for - deserialized object, or string of class name. - - :return: deserialized object. - """ - # handle file downloading - # save response body into a tmp file and return the instance - if response_type == "file": - return self.__deserialize_file(response) - - # fetch data from response object - try: - data = json.loads(response.data) - except ValueError: - data = response.data - - return self.__deserialize(data, response_type) - - def __deserialize(self, 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 type(klass) == str: - if klass.startswith('list['): - sub_kls = re.match(r'list\[(.*)\]', klass).group(1) - return [self.__deserialize(sub_data, sub_kls) - for sub_data in data] - - if klass.startswith('dict('): - sub_kls = re.match(r'dict\(([^,]*), (.*)\)', klass).group(2) - return {k: self.__deserialize(v, sub_kls) - for k, v in six.iteritems(data)} - - # convert str to class - if klass in self.NATIVE_TYPES_MAPPING: - klass = self.NATIVE_TYPES_MAPPING[klass] - else: - klass = getattr(swagger_client.models, klass) - - if klass in self.PRIMITIVE_TYPES: - return self.__deserialize_primitive(data, klass) - elif klass == object: - return self.__deserialize_object(data) - elif klass == datetime.date: - return self.__deserialize_date(data) - elif klass == datetime.datetime: - return self.__deserialize_datatime(data) - else: - return self.__deserialize_model(data, klass) - - def call_api(self, resource_path, method, - path_params=None, query_params=None, header_params=None, - body=None, post_params=None, files=None, - response_type=None, auth_settings=None, async_req=None, - _return_http_data_only=None, collection_formats=None, - _preload_content=True, _request_timeout=None): - """Makes the HTTP request (synchronous) and returns deserialized data. - - To make an async request, set the async_req parameter. - - :param resource_path: Path to method endpoint. - :param method: Method to call. - :param path_params: Path parameters in the url. - :param query_params: Query parameters in the url. - :param header_params: Header parameters to be - placed in the request header. - :param body: Request body. - :param post_params dict: Request post form parameters, - for `application/x-www-form-urlencoded`, `multipart/form-data`. - :param auth_settings list: Auth Settings names for the request. - :param response: Response data type. - :param files dict: key -> filename, value -> filepath, - for `multipart/form-data`. - :param async_req bool: execute request asynchronously - :param _return_http_data_only: response data without head status code - and headers - :param collection_formats: dict of collection formats for path, query, - header, and post parameters. - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: - If async_req parameter is True, - the request will be called asynchronously. - The method will return the request thread. - If parameter async_req is False or missing, - then the method will return the response directly. - """ - if not async_req: - return self.__call_api(resource_path, method, - path_params, query_params, header_params, - body, post_params, files, - response_type, auth_settings, - _return_http_data_only, collection_formats, - _preload_content, _request_timeout) - else: - thread = self.pool.apply_async(self.__call_api, (resource_path, - method, path_params, query_params, - header_params, body, - post_params, files, - response_type, auth_settings, - _return_http_data_only, - collection_formats, - _preload_content, _request_timeout)) - return thread - - def request(self, method, url, query_params=None, headers=None, - post_params=None, body=None, _preload_content=True, - _request_timeout=None): - """Makes the HTTP request using RESTClient.""" - if method == "GET": - return self.rest_client.GET(url, - query_params=query_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - headers=headers) - elif method == "HEAD": - return self.rest_client.HEAD(url, - query_params=query_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - headers=headers) - elif method == "OPTIONS": - return self.rest_client.OPTIONS(url, - query_params=query_params, - headers=headers, - post_params=post_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) - elif method == "POST": - return self.rest_client.POST(url, - query_params=query_params, - headers=headers, - post_params=post_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) - elif method == "PUT": - return self.rest_client.PUT(url, - query_params=query_params, - headers=headers, - post_params=post_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) - elif method == "PATCH": - return self.rest_client.PATCH(url, - query_params=query_params, - headers=headers, - post_params=post_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) - elif method == "DELETE": - return self.rest_client.DELETE(url, - query_params=query_params, - headers=headers, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) - else: - raise ValueError( - "http method must be `GET`, `HEAD`, `OPTIONS`," - " `POST`, `PATCH`, `PUT` or `DELETE`." - ) - - def parameters_to_tuples(self, params, collection_formats): - """Get parameters as list of tuples, formatting collections. - - :param params: Parameters as dict or list of two-tuples - :param dict collection_formats: Parameter collection formats - :return: Parameters as list of tuples, collections formatted - """ - new_params = [] - if collection_formats is None: - collection_formats = {} - for k, v in six.iteritems(params) if isinstance(params, dict) else params: # noqa: E501 - if k in collection_formats: - collection_format = collection_formats[k] - if collection_format == 'multi': - new_params.extend((k, value) for value in v) - else: - if collection_format == 'ssv': - delimiter = ' ' - elif collection_format == 'tsv': - delimiter = '\t' - elif collection_format == 'pipes': - delimiter = '|' - else: # csv is the default - delimiter = ',' - new_params.append( - (k, delimiter.join(str(value) for value in v))) - else: - new_params.append((k, v)) - return new_params - - def prepare_post_parameters(self, post_params=None, files=None): - """Builds form parameters. - - :param post_params: Normal form parameters. - :param files: File parameters. - :return: Form parameters with files. - """ - params = [] - - if post_params: - params = post_params - - if files: - for k, v in six.iteritems(files): - if not v: - continue - file_names = v if type(v) is list else [v] - for n in file_names: - with open(n, 'rb') as f: - filename = os.path.basename(f.name) - filedata = f.read() - mimetype = (mimetypes.guess_type(filename)[0] or - 'application/octet-stream') - params.append( - tuple([k, tuple([filename, filedata, mimetype])])) - - return params - - def select_header_accept(self, accepts): - """Returns `Accept` based on an array of accepts provided. - - :param accepts: List of headers. - :return: Accept (e.g. application/json). - """ - if not accepts: - return - - accepts = [x.lower() for x in accepts] - - if 'application/json' in accepts: - return 'application/json' - else: - return ', '.join(accepts) - - def select_header_content_type(self, content_types): - """Returns `Content-Type` based on an array of content_types provided. - - :param content_types: List of content-types. - :return: Content-Type (e.g. application/json). - """ - if not content_types: - return 'application/json' - - content_types = [x.lower() for x in content_types] - - if 'application/json' in content_types or '*/*' in content_types: - return 'application/json' - else: - return content_types[0] - - def update_params_for_auth(self, headers, querys, auth_settings): - """Updates header and query params based on authentication setting. - - :param headers: Header parameters dict to be updated. - :param querys: Query parameters tuple list to be updated. - :param auth_settings: Authentication setting identifiers list. - """ - if not auth_settings: - return - - for auth in auth_settings: - auth_setting = self.configuration.auth_settings().get(auth) - if auth_setting: - if not auth_setting['value']: - continue - elif auth_setting['in'] == 'header': - headers[auth_setting['key']] = auth_setting['value'] - elif auth_setting['in'] == 'query': - querys.append((auth_setting['key'], auth_setting['value'])) - else: - raise ValueError( - 'Authentication token must be in `query` or `header`' - ) - - def __deserialize_file(self, response): - """Deserializes body to file - - Saves response body into a file in a temporary folder, - using the filename from the `Content-Disposition` header if provided. - - :param response: RESTResponse. - :return: file path. - """ - fd, path = tempfile.mkstemp(dir=self.configuration.temp_folder_path) - os.close(fd) - os.remove(path) - - content_disposition = response.getheader("Content-Disposition") - if content_disposition: - filename = re.search(r'filename=[\'"]?([^\'"\s]+)[\'"]?', - content_disposition).group(1) - path = os.path.join(os.path.dirname(path), filename) - - with open(path, "wb") as f: - f.write(response.data) - - return path - - def __deserialize_primitive(self, data, klass): - """Deserializes string to primitive type. - - :param data: str. - :param klass: class literal. - - :return: int, long, float, str, bool. - """ - try: - return klass(data) - except UnicodeEncodeError: - return six.text_type(data) - except TypeError: - return data - - def __deserialize_object(self, value): - """Return a original value. - - :return: object. - """ - return value - - def __deserialize_date(self, string): - """Deserializes string to date. - - :param string: str. - :return: date. - """ - try: - from dateutil.parser import parse - return parse(string).date() - except ImportError: - return string - except ValueError: - raise rest.ApiException( - status=0, - reason="Failed to parse `{0}` as date object".format(string) - ) - - def __deserialize_datatime(self, string): - """Deserializes string to datetime. - - The string should be in iso8601 datetime format. - - :param string: str. - :return: datetime. - """ - try: - from dateutil.parser import parse - return parse(string) - except ImportError: - return string - except ValueError: - raise rest.ApiException( - status=0, - reason=( - "Failed to parse `{0}` as datetime object" - .format(string) - ) - ) - - def __hasattr(self, object, name): - return name in object.__class__.__dict__ - - def __deserialize_model(self, data, klass): - """Deserializes list or dict to model. - - :param data: dict, list. - :param klass: class literal. - :return: model object. - """ - - if not klass.swagger_types and not self.__hasattr(klass, 'get_real_child_model'): - return data - - kwargs = {} - if klass.swagger_types is not None: - for attr, attr_type in six.iteritems(klass.swagger_types): - if (data is not None and - klass.attribute_map[attr] in data and - isinstance(data, (list, dict))): - value = data[klass.attribute_map[attr]] - kwargs[attr] = self.__deserialize(value, attr_type) - - instance = klass(**kwargs) - - if (isinstance(instance, dict) and - klass.swagger_types is not None and - isinstance(data, dict)): - for key, value in data.items(): - if key not in klass.swagger_types: - instance[key] = value - if self.__hasattr(instance, 'get_real_child_model'): - klass_name = instance.get_real_child_model(data) - if klass_name: - instance = self.__deserialize(data, klass_name) - return instance diff --git a/libs/cloudapi/cloudsdk/swagger_client/configuration.py b/libs/cloudapi/cloudsdk/swagger_client/configuration.py deleted file mode 100644 index 47ad0e12f..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/configuration.py +++ /dev/null @@ -1,244 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import copy -import logging -import multiprocessing -import sys -import urllib3 - -import six -from six.moves import http_client as httplib - - -class TypeWithDefault(type): - def __init__(cls, name, bases, dct): - super(TypeWithDefault, cls).__init__(name, bases, dct) - cls._default = None - - def __call__(cls): - if cls._default is None: - cls._default = type.__call__(cls) - return copy.copy(cls._default) - - def set_default(cls, default): - cls._default = copy.copy(default) - - -class Configuration(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Ref: https://github.com/swagger-api/swagger-codegen - Do not edit the class manually. - """ - - def __init__(self, sdk_base_url=None): - """Constructor""" - # Default Base url - self.host = sdk_base_url - # Temp file folder for downloading files - self.temp_folder_path = None - - # Authentication Settings - # dict to store API key(s) - self.api_key = {} - # dict to store API prefix (e.g. Bearer) - self.api_key_prefix = {} - # function to refresh API key if expired - self.refresh_api_key_hook = None - # Username for HTTP basic authentication - self.username = "" - # Password for HTTP basic authentication - self.password = "" - # Logging Settings - self.logger = {} - self.logger["package_logger"] = logging.getLogger("swagger_client") - self.logger["urllib3_logger"] = logging.getLogger("urllib3") - # Log format - self.logger_format = '%(asctime)s %(levelname)s %(message)s' - # Log stream handler - self.logger_stream_handler = None - # Log file handler - self.logger_file_handler = None - # Debug file location - self.logger_file = None - # Debug switch - self.debug = False - - # SSL/TLS verification - # Set this to false to skip verifying SSL certificate when calling API - # from https server. - self.verify_ssl = True - # Set this to customize the certificate file to verify the peer. - self.ssl_ca_cert = None - # client certificate file - self.cert_file = None - # client key file - self.key_file = None - # Set this to True/False to enable/disable SSL hostname verification. - self.assert_hostname = None - - # urllib3 connection pool's maximum number of connections saved - # per pool. urllib3 uses 1 connection as default value, but this is - # not the best value when you are making a lot of possibly parallel - # requests to the same host, which is often the case here. - # cpu_count * 5 is used as default value to increase performance. - self.connection_pool_maxsize = multiprocessing.cpu_count() * 5 - - # Proxy URL - self.proxy = None - # Safe chars for path_param - self.safe_chars_for_path_param = '' - - @property - def logger_file(self): - """The logger file. - - If the logger_file is None, then add stream handler and remove file - handler. Otherwise, add file handler and remove stream handler. - - :param value: The logger_file path. - :type: str - """ - return self.__logger_file - - @logger_file.setter - def logger_file(self, value): - """The logger file. - - If the logger_file is None, then add stream handler and remove file - handler. Otherwise, add file handler and remove stream handler. - - :param value: The logger_file path. - :type: str - """ - self.__logger_file = value - if self.__logger_file: - # If set logging file, - # then add file handler and remove stream handler. - self.logger_file_handler = logging.FileHandler(self.__logger_file) - self.logger_file_handler.setFormatter(self.logger_formatter) - for _, logger in six.iteritems(self.logger): - logger.addHandler(self.logger_file_handler) - if self.logger_stream_handler: - logger.removeHandler(self.logger_stream_handler) - else: - # If not set logging file, - # then add stream handler and remove file handler. - self.logger_stream_handler = logging.StreamHandler() - self.logger_stream_handler.setFormatter(self.logger_formatter) - for _, logger in six.iteritems(self.logger): - logger.addHandler(self.logger_stream_handler) - if self.logger_file_handler: - logger.removeHandler(self.logger_file_handler) - - @property - def debug(self): - """Debug status - - :param value: The debug status, True or False. - :type: bool - """ - return self.__debug - - @debug.setter - def debug(self, value): - """Debug status - - :param value: The debug status, True or False. - :type: bool - """ - self.__debug = value - if self.__debug: - # if debug status is True, turn on debug logging - for _, logger in six.iteritems(self.logger): - logger.setLevel(logging.DEBUG) - # turn on httplib debug - httplib.HTTPConnection.debuglevel = 1 - else: - # if debug status is False, turn off debug logging, - # setting log level to default `logging.WARNING` - for _, logger in six.iteritems(self.logger): - logger.setLevel(logging.WARNING) - # turn off httplib debug - httplib.HTTPConnection.debuglevel = 0 - - @property - def logger_format(self): - """The logger format. - - The logger_formatter will be updated when sets logger_format. - - :param value: The format string. - :type: str - """ - return self.__logger_format - - @logger_format.setter - def logger_format(self, value): - """The logger format. - - The logger_formatter will be updated when sets logger_format. - - :param value: The format string. - :type: str - """ - self.__logger_format = value - self.logger_formatter = logging.Formatter(self.__logger_format) - - def get_api_key_with_prefix(self, identifier): - """Gets API key (with prefix if set). - - :param identifier: The identifier of apiKey. - :return: The token for api key authentication. - """ - if self.refresh_api_key_hook: - self.refresh_api_key_hook(self) - - key = self.api_key.get(identifier) - if key: - prefix = self.api_key_prefix.get(identifier) - if prefix: - return "%s %s" % (prefix, key) - else: - return key - - def get_basic_auth_token(self): - """Gets HTTP basic authentication header (string). - - :return: The token for basic HTTP authentication. - """ - return urllib3.util.make_headers( - basic_auth=self.username + ':' + self.password - ).get('authorization') - - def auth_settings(self): - """Gets Auth Settings dict for api client. - - :return: The Auth Settings information dict. - """ - return { - } - - def to_debug_report(self): - """Gets the essential information for debugging. - - :return: The report for debugging. - """ - return "Python SDK Debug Report:\n"\ - "OS: {env}\n"\ - "Python Version: {pyversion}\n"\ - "Version of the API: 1.0.0\n"\ - "SDK Package Version: 1.0.0".\ - format(env=sys.platform, pyversion=sys.version) diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/__init__.py b/libs/cloudapi/cloudsdk/swagger_client/models/__init__.py deleted file mode 100644 index 9f557c11b..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/__init__.py +++ /dev/null @@ -1,404 +0,0 @@ -# coding: utf-8 - -# flake8: noqa -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -# import models into model package -from swagger_client.models.acl_template import AclTemplate -from swagger_client.models.active_bssid import ActiveBSSID -from swagger_client.models.active_bssi_ds import ActiveBSSIDs -from swagger_client.models.active_scan_settings import ActiveScanSettings -from swagger_client.models.advanced_radio_map import AdvancedRadioMap -from swagger_client.models.alarm import Alarm -from swagger_client.models.alarm_added_event import AlarmAddedEvent -from swagger_client.models.alarm_changed_event import AlarmChangedEvent -from swagger_client.models.alarm_code import AlarmCode -from swagger_client.models.alarm_counts import AlarmCounts -from swagger_client.models.alarm_details import AlarmDetails -from swagger_client.models.alarm_details_attributes_map import AlarmDetailsAttributesMap -from swagger_client.models.alarm_removed_event import AlarmRemovedEvent -from swagger_client.models.alarm_scope_type import AlarmScopeType -from swagger_client.models.antenna_type import AntennaType -from swagger_client.models.ap_element_configuration import ApElementConfiguration -from swagger_client.models.ap_mesh_mode import ApMeshMode -from swagger_client.models.ap_network_configuration import ApNetworkConfiguration -from swagger_client.models.ap_network_configuration_ntp_server import ApNetworkConfigurationNtpServer -from swagger_client.models.ap_node_metrics import ApNodeMetrics -from swagger_client.models.ap_performance import ApPerformance -from swagger_client.models.ap_ssid_metrics import ApSsidMetrics -from swagger_client.models.auto_or_manual_string import AutoOrManualString -from swagger_client.models.auto_or_manual_value import AutoOrManualValue -from swagger_client.models.background_position import BackgroundPosition -from swagger_client.models.background_repeat import BackgroundRepeat -from swagger_client.models.banned_channel import BannedChannel -from swagger_client.models.base_dhcp_event import BaseDhcpEvent -from swagger_client.models.best_ap_steer_type import BestAPSteerType -from swagger_client.models.blocklist_details import BlocklistDetails -from swagger_client.models.bonjour_gateway_profile import BonjourGatewayProfile -from swagger_client.models.bonjour_service_set import BonjourServiceSet -from swagger_client.models.capacity_details import CapacityDetails -from swagger_client.models.capacity_per_radio_details import CapacityPerRadioDetails -from swagger_client.models.capacity_per_radio_details_map import CapacityPerRadioDetailsMap -from swagger_client.models.captive_portal_authentication_type import CaptivePortalAuthenticationType -from swagger_client.models.captive_portal_configuration import CaptivePortalConfiguration -from swagger_client.models.channel_bandwidth import ChannelBandwidth -from swagger_client.models.channel_hop_reason import ChannelHopReason -from swagger_client.models.channel_hop_settings import ChannelHopSettings -from swagger_client.models.channel_info import ChannelInfo -from swagger_client.models.channel_info_reports import ChannelInfoReports -from swagger_client.models.channel_power_level import ChannelPowerLevel -from swagger_client.models.channel_utilization_details import ChannelUtilizationDetails -from swagger_client.models.channel_utilization_per_radio_details import ChannelUtilizationPerRadioDetails -from swagger_client.models.channel_utilization_per_radio_details_map import ChannelUtilizationPerRadioDetailsMap -from swagger_client.models.channel_utilization_survey_type import ChannelUtilizationSurveyType -from swagger_client.models.client import Client -from swagger_client.models.client_activity_aggregated_stats import ClientActivityAggregatedStats -from swagger_client.models.client_activity_aggregated_stats_per_radio_type_map import ClientActivityAggregatedStatsPerRadioTypeMap -from swagger_client.models.client_added_event import ClientAddedEvent -from swagger_client.models.client_assoc_event import ClientAssocEvent -from swagger_client.models.client_auth_event import ClientAuthEvent -from swagger_client.models.client_changed_event import ClientChangedEvent -from swagger_client.models.client_connect_success_event import ClientConnectSuccessEvent -from swagger_client.models.client_connection_details import ClientConnectionDetails -from swagger_client.models.client_dhcp_details import ClientDhcpDetails -from swagger_client.models.client_disconnect_event import ClientDisconnectEvent -from swagger_client.models.client_eap_details import ClientEapDetails -from swagger_client.models.client_failure_details import ClientFailureDetails -from swagger_client.models.client_failure_event import ClientFailureEvent -from swagger_client.models.client_first_data_event import ClientFirstDataEvent -from swagger_client.models.client_id_event import ClientIdEvent -from swagger_client.models.client_info_details import ClientInfoDetails -from swagger_client.models.client_ip_address_event import ClientIpAddressEvent -from swagger_client.models.client_metrics import ClientMetrics -from swagger_client.models.client_removed_event import ClientRemovedEvent -from swagger_client.models.client_session import ClientSession -from swagger_client.models.client_session_changed_event import ClientSessionChangedEvent -from swagger_client.models.client_session_details import ClientSessionDetails -from swagger_client.models.client_session_metric_details import ClientSessionMetricDetails -from swagger_client.models.client_session_removed_event import ClientSessionRemovedEvent -from swagger_client.models.client_timeout_event import ClientTimeoutEvent -from swagger_client.models.client_timeout_reason import ClientTimeoutReason -from swagger_client.models.common_probe_details import CommonProbeDetails -from swagger_client.models.country_code import CountryCode -from swagger_client.models.counts_per_alarm_code_map import CountsPerAlarmCodeMap -from swagger_client.models.counts_per_equipment_id_per_alarm_code_map import CountsPerEquipmentIdPerAlarmCodeMap -from swagger_client.models.customer import Customer -from swagger_client.models.customer_added_event import CustomerAddedEvent -from swagger_client.models.customer_changed_event import CustomerChangedEvent -from swagger_client.models.customer_details import CustomerDetails -from swagger_client.models.customer_firmware_track_record import CustomerFirmwareTrackRecord -from swagger_client.models.customer_firmware_track_settings import CustomerFirmwareTrackSettings -from swagger_client.models.customer_portal_dashboard_status import CustomerPortalDashboardStatus -from swagger_client.models.customer_removed_event import CustomerRemovedEvent -from swagger_client.models.daily_time_range_schedule import DailyTimeRangeSchedule -from swagger_client.models.day_of_week import DayOfWeek -from swagger_client.models.days_of_week_time_range_schedule import DaysOfWeekTimeRangeSchedule -from swagger_client.models.deployment_type import DeploymentType -from swagger_client.models.detected_auth_mode import DetectedAuthMode -from swagger_client.models.device_mode import DeviceMode -from swagger_client.models.dhcp_ack_event import DhcpAckEvent -from swagger_client.models.dhcp_decline_event import DhcpDeclineEvent -from swagger_client.models.dhcp_discover_event import DhcpDiscoverEvent -from swagger_client.models.dhcp_inform_event import DhcpInformEvent -from swagger_client.models.dhcp_nak_event import DhcpNakEvent -from swagger_client.models.dhcp_offer_event import DhcpOfferEvent -from swagger_client.models.dhcp_request_event import DhcpRequestEvent -from swagger_client.models.disconnect_frame_type import DisconnectFrameType -from swagger_client.models.disconnect_initiator import DisconnectInitiator -from swagger_client.models.dns_probe_metric import DnsProbeMetric -from swagger_client.models.dynamic_vlan_mode import DynamicVlanMode -from swagger_client.models.element_radio_configuration import ElementRadioConfiguration -from swagger_client.models.element_radio_configuration_eirp_tx_power import ElementRadioConfigurationEirpTxPower -from swagger_client.models.empty_schedule import EmptySchedule -from swagger_client.models.equipment import Equipment -from swagger_client.models.equipment_added_event import EquipmentAddedEvent -from swagger_client.models.equipment_admin_status_data import EquipmentAdminStatusData -from swagger_client.models.equipment_auto_provisioning_settings import EquipmentAutoProvisioningSettings -from swagger_client.models.equipment_capacity_details import EquipmentCapacityDetails -from swagger_client.models.equipment_capacity_details_map import EquipmentCapacityDetailsMap -from swagger_client.models.equipment_changed_event import EquipmentChangedEvent -from swagger_client.models.equipment_details import EquipmentDetails -from swagger_client.models.equipment_gateway_record import EquipmentGatewayRecord -from swagger_client.models.equipment_lan_status_data import EquipmentLANStatusData -from swagger_client.models.equipment_neighbouring_status_data import EquipmentNeighbouringStatusData -from swagger_client.models.equipment_peer_status_data import EquipmentPeerStatusData -from swagger_client.models.equipment_per_radio_utilization_details import EquipmentPerRadioUtilizationDetails -from swagger_client.models.equipment_per_radio_utilization_details_map import EquipmentPerRadioUtilizationDetailsMap -from swagger_client.models.equipment_performance_details import EquipmentPerformanceDetails -from swagger_client.models.equipment_protocol_state import EquipmentProtocolState -from swagger_client.models.equipment_protocol_status_data import EquipmentProtocolStatusData -from swagger_client.models.equipment_removed_event import EquipmentRemovedEvent -from swagger_client.models.equipment_routing_record import EquipmentRoutingRecord -from swagger_client.models.equipment_rrm_bulk_update_item import EquipmentRrmBulkUpdateItem -from swagger_client.models.equipment_rrm_bulk_update_item_per_radio_map import EquipmentRrmBulkUpdateItemPerRadioMap -from swagger_client.models.equipment_rrm_bulk_update_request import EquipmentRrmBulkUpdateRequest -from swagger_client.models.equipment_scan_details import EquipmentScanDetails -from swagger_client.models.equipment_type import EquipmentType -from swagger_client.models.equipment_upgrade_failure_reason import EquipmentUpgradeFailureReason -from swagger_client.models.equipment_upgrade_state import EquipmentUpgradeState -from swagger_client.models.equipment_upgrade_status_data import EquipmentUpgradeStatusData -from swagger_client.models.ethernet_link_state import EthernetLinkState -from swagger_client.models.file_category import FileCategory -from swagger_client.models.file_type import FileType -from swagger_client.models.firmware_schedule_setting import FirmwareScheduleSetting -from swagger_client.models.firmware_track_assignment_details import FirmwareTrackAssignmentDetails -from swagger_client.models.firmware_track_assignment_record import FirmwareTrackAssignmentRecord -from swagger_client.models.firmware_track_record import FirmwareTrackRecord -from swagger_client.models.firmware_validation_method import FirmwareValidationMethod -from swagger_client.models.firmware_version import FirmwareVersion -from swagger_client.models.gateway_added_event import GatewayAddedEvent -from swagger_client.models.gateway_changed_event import GatewayChangedEvent -from swagger_client.models.gateway_removed_event import GatewayRemovedEvent -from swagger_client.models.gateway_type import GatewayType -from swagger_client.models.generic_response import GenericResponse -from swagger_client.models.gre_tunnel_configuration import GreTunnelConfiguration -from swagger_client.models.guard_interval import GuardInterval -from swagger_client.models.integer_per_radio_type_map import IntegerPerRadioTypeMap -from swagger_client.models.integer_per_status_code_map import IntegerPerStatusCodeMap -from swagger_client.models.integer_status_code_map import IntegerStatusCodeMap -from swagger_client.models.integer_value_map import IntegerValueMap -from swagger_client.models.json_serialized_exception import JsonSerializedException -from swagger_client.models.link_quality_aggregated_stats import LinkQualityAggregatedStats -from swagger_client.models.link_quality_aggregated_stats_per_radio_type_map import LinkQualityAggregatedStatsPerRadioTypeMap -from swagger_client.models.list_of_channel_info_reports_per_radio_map import ListOfChannelInfoReportsPerRadioMap -from swagger_client.models.list_of_macs_per_radio_map import ListOfMacsPerRadioMap -from swagger_client.models.list_of_mcs_stats_per_radio_map import ListOfMcsStatsPerRadioMap -from swagger_client.models.list_of_radio_utilization_per_radio_map import ListOfRadioUtilizationPerRadioMap -from swagger_client.models.list_of_ssid_statistics_per_radio_map import ListOfSsidStatisticsPerRadioMap -from swagger_client.models.local_time_value import LocalTimeValue -from swagger_client.models.location import Location -from swagger_client.models.location_activity_details import LocationActivityDetails -from swagger_client.models.location_activity_details_map import LocationActivityDetailsMap -from swagger_client.models.location_added_event import LocationAddedEvent -from swagger_client.models.location_changed_event import LocationChangedEvent -from swagger_client.models.location_details import LocationDetails -from swagger_client.models.location_removed_event import LocationRemovedEvent -from swagger_client.models.long_per_radio_type_map import LongPerRadioTypeMap -from swagger_client.models.long_value_map import LongValueMap -from swagger_client.models.mac_address import MacAddress -from swagger_client.models.mac_allowlist_record import MacAllowlistRecord -from swagger_client.models.managed_file_info import ManagedFileInfo -from swagger_client.models.management_rate import ManagementRate -from swagger_client.models.manufacturer_details_record import ManufacturerDetailsRecord -from swagger_client.models.manufacturer_oui_details import ManufacturerOuiDetails -from swagger_client.models.manufacturer_oui_details_per_oui_map import ManufacturerOuiDetailsPerOuiMap -from swagger_client.models.map_of_wmm_queue_stats_per_radio_map import MapOfWmmQueueStatsPerRadioMap -from swagger_client.models.mcs_stats import McsStats -from swagger_client.models.mcs_type import McsType -from swagger_client.models.mesh_group import MeshGroup -from swagger_client.models.mesh_group_member import MeshGroupMember -from swagger_client.models.mesh_group_property import MeshGroupProperty -from swagger_client.models.metric_config_parameter_map import MetricConfigParameterMap -from swagger_client.models.mimo_mode import MimoMode -from swagger_client.models.min_max_avg_value_int import MinMaxAvgValueInt -from swagger_client.models.min_max_avg_value_int_per_radio_map import MinMaxAvgValueIntPerRadioMap -from swagger_client.models.multicast_rate import MulticastRate -from swagger_client.models.neighbor_scan_packet_type import NeighborScanPacketType -from swagger_client.models.neighbour_report import NeighbourReport -from swagger_client.models.neighbour_scan_reports import NeighbourScanReports -from swagger_client.models.neighbouring_ap_list_configuration import NeighbouringAPListConfiguration -from swagger_client.models.network_admin_status_data import NetworkAdminStatusData -from swagger_client.models.network_aggregate_status_data import NetworkAggregateStatusData -from swagger_client.models.network_forward_mode import NetworkForwardMode -from swagger_client.models.network_probe_metrics import NetworkProbeMetrics -from swagger_client.models.network_type import NetworkType -from swagger_client.models.noise_floor_details import NoiseFloorDetails -from swagger_client.models.noise_floor_per_radio_details import NoiseFloorPerRadioDetails -from swagger_client.models.noise_floor_per_radio_details_map import NoiseFloorPerRadioDetailsMap -from swagger_client.models.obss_hop_mode import ObssHopMode -from swagger_client.models.one_of_equipment_details import OneOfEquipmentDetails -from swagger_client.models.one_of_firmware_schedule_setting import OneOfFirmwareScheduleSetting -from swagger_client.models.one_of_profile_details_children import OneOfProfileDetailsChildren -from swagger_client.models.one_of_schedule_setting import OneOfScheduleSetting -from swagger_client.models.one_of_service_metric_details import OneOfServiceMetricDetails -from swagger_client.models.one_of_status_details import OneOfStatusDetails -from swagger_client.models.one_of_system_event import OneOfSystemEvent -from swagger_client.models.operating_system_performance import OperatingSystemPerformance -from swagger_client.models.originator_type import OriginatorType -from swagger_client.models.pagination_context_alarm import PaginationContextAlarm -from swagger_client.models.pagination_context_client import PaginationContextClient -from swagger_client.models.pagination_context_client_session import PaginationContextClientSession -from swagger_client.models.pagination_context_equipment import PaginationContextEquipment -from swagger_client.models.pagination_context_location import PaginationContextLocation -from swagger_client.models.pagination_context_portal_user import PaginationContextPortalUser -from swagger_client.models.pagination_context_profile import PaginationContextProfile -from swagger_client.models.pagination_context_service_metric import PaginationContextServiceMetric -from swagger_client.models.pagination_context_status import PaginationContextStatus -from swagger_client.models.pagination_context_system_event import PaginationContextSystemEvent -from swagger_client.models.pagination_response_alarm import PaginationResponseAlarm -from swagger_client.models.pagination_response_client import PaginationResponseClient -from swagger_client.models.pagination_response_client_session import PaginationResponseClientSession -from swagger_client.models.pagination_response_equipment import PaginationResponseEquipment -from swagger_client.models.pagination_response_location import PaginationResponseLocation -from swagger_client.models.pagination_response_portal_user import PaginationResponsePortalUser -from swagger_client.models.pagination_response_profile import PaginationResponseProfile -from swagger_client.models.pagination_response_service_metric import PaginationResponseServiceMetric -from swagger_client.models.pagination_response_status import PaginationResponseStatus -from swagger_client.models.pagination_response_system_event import PaginationResponseSystemEvent -from swagger_client.models.pair_long_long import PairLongLong -from swagger_client.models.passpoint_access_network_type import PasspointAccessNetworkType -from swagger_client.models.passpoint_connection_capabilities_ip_protocol import PasspointConnectionCapabilitiesIpProtocol -from swagger_client.models.passpoint_connection_capabilities_status import PasspointConnectionCapabilitiesStatus -from swagger_client.models.passpoint_connection_capability import PasspointConnectionCapability -from swagger_client.models.passpoint_duple import PasspointDuple -from swagger_client.models.passpoint_eap_methods import PasspointEapMethods -from swagger_client.models.passpoint_gas_address3_behaviour import PasspointGasAddress3Behaviour -from swagger_client.models.passpoint_i_pv4_address_type import PasspointIPv4AddressType -from swagger_client.models.passpoint_i_pv6_address_type import PasspointIPv6AddressType -from swagger_client.models.passpoint_mcc_mnc import PasspointMccMnc -from swagger_client.models.passpoint_nai_realm_eap_auth_inner_non_eap import PasspointNaiRealmEapAuthInnerNonEap -from swagger_client.models.passpoint_nai_realm_eap_auth_param import PasspointNaiRealmEapAuthParam -from swagger_client.models.passpoint_nai_realm_eap_cred_type import PasspointNaiRealmEapCredType -from swagger_client.models.passpoint_nai_realm_encoding import PasspointNaiRealmEncoding -from swagger_client.models.passpoint_nai_realm_information import PasspointNaiRealmInformation -from swagger_client.models.passpoint_network_authentication_type import PasspointNetworkAuthenticationType -from swagger_client.models.passpoint_operator_profile import PasspointOperatorProfile -from swagger_client.models.passpoint_osu_icon import PasspointOsuIcon -from swagger_client.models.passpoint_osu_provider_profile import PasspointOsuProviderProfile -from swagger_client.models.passpoint_profile import PasspointProfile -from swagger_client.models.passpoint_venue_name import PasspointVenueName -from swagger_client.models.passpoint_venue_profile import PasspointVenueProfile -from swagger_client.models.passpoint_venue_type_assignment import PasspointVenueTypeAssignment -from swagger_client.models.peer_info import PeerInfo -from swagger_client.models.per_process_utilization import PerProcessUtilization -from swagger_client.models.ping_response import PingResponse -from swagger_client.models.portal_user import PortalUser -from swagger_client.models.portal_user_added_event import PortalUserAddedEvent -from swagger_client.models.portal_user_changed_event import PortalUserChangedEvent -from swagger_client.models.portal_user_removed_event import PortalUserRemovedEvent -from swagger_client.models.portal_user_role import PortalUserRole -from swagger_client.models.profile import Profile -from swagger_client.models.profile_added_event import ProfileAddedEvent -from swagger_client.models.profile_changed_event import ProfileChangedEvent -from swagger_client.models.profile_details import ProfileDetails -from swagger_client.models.profile_details_children import ProfileDetailsChildren -from swagger_client.models.profile_removed_event import ProfileRemovedEvent -from swagger_client.models.profile_type import ProfileType -from swagger_client.models.radio_based_ssid_configuration import RadioBasedSsidConfiguration -from swagger_client.models.radio_based_ssid_configuration_map import RadioBasedSsidConfigurationMap -from swagger_client.models.radio_best_ap_settings import RadioBestApSettings -from swagger_client.models.radio_channel_change_settings import RadioChannelChangeSettings -from swagger_client.models.radio_configuration import RadioConfiguration -from swagger_client.models.radio_map import RadioMap -from swagger_client.models.radio_mode import RadioMode -from swagger_client.models.radio_profile_configuration import RadioProfileConfiguration -from swagger_client.models.radio_profile_configuration_map import RadioProfileConfigurationMap -from swagger_client.models.radio_statistics import RadioStatistics -from swagger_client.models.radio_statistics_per_radio_map import RadioStatisticsPerRadioMap -from swagger_client.models.radio_type import RadioType -from swagger_client.models.radio_utilization import RadioUtilization -from swagger_client.models.radio_utilization_details import RadioUtilizationDetails -from swagger_client.models.radio_utilization_per_radio_details import RadioUtilizationPerRadioDetails -from swagger_client.models.radio_utilization_per_radio_details_map import RadioUtilizationPerRadioDetailsMap -from swagger_client.models.radio_utilization_report import RadioUtilizationReport -from swagger_client.models.radius_authentication_method import RadiusAuthenticationMethod -from swagger_client.models.radius_details import RadiusDetails -from swagger_client.models.radius_metrics import RadiusMetrics -from swagger_client.models.radius_nas_configuration import RadiusNasConfiguration -from swagger_client.models.radius_profile import RadiusProfile -from swagger_client.models.radius_server import RadiusServer -from swagger_client.models.radius_server_details import RadiusServerDetails -from swagger_client.models.real_time_event import RealTimeEvent -from swagger_client.models.real_time_sip_call_event_with_stats import RealTimeSipCallEventWithStats -from swagger_client.models.real_time_sip_call_report_event import RealTimeSipCallReportEvent -from swagger_client.models.real_time_sip_call_start_event import RealTimeSipCallStartEvent -from swagger_client.models.real_time_sip_call_stop_event import RealTimeSipCallStopEvent -from swagger_client.models.real_time_streaming_start_event import RealTimeStreamingStartEvent -from swagger_client.models.real_time_streaming_start_session_event import RealTimeStreamingStartSessionEvent -from swagger_client.models.real_time_streaming_stop_event import RealTimeStreamingStopEvent -from swagger_client.models.realtime_channel_hop_event import RealtimeChannelHopEvent -from swagger_client.models.rf_config_map import RfConfigMap -from swagger_client.models.rf_configuration import RfConfiguration -from swagger_client.models.rf_element_configuration import RfElementConfiguration -from swagger_client.models.routing_added_event import RoutingAddedEvent -from swagger_client.models.routing_changed_event import RoutingChangedEvent -from swagger_client.models.routing_removed_event import RoutingRemovedEvent -from swagger_client.models.rrm_bulk_update_ap_details import RrmBulkUpdateApDetails -from swagger_client.models.rtls_settings import RtlsSettings -from swagger_client.models.rtp_flow_direction import RtpFlowDirection -from swagger_client.models.rtp_flow_stats import RtpFlowStats -from swagger_client.models.rtp_flow_type import RtpFlowType -from swagger_client.models.sip_call_report_reason import SIPCallReportReason -from swagger_client.models.schedule_setting import ScheduleSetting -from swagger_client.models.security_type import SecurityType -from swagger_client.models.service_adoption_metrics import ServiceAdoptionMetrics -from swagger_client.models.service_metric import ServiceMetric -from swagger_client.models.service_metric_config_parameters import ServiceMetricConfigParameters -from swagger_client.models.service_metric_data_type import ServiceMetricDataType -from swagger_client.models.service_metric_details import ServiceMetricDetails -from swagger_client.models.service_metric_radio_config_parameters import ServiceMetricRadioConfigParameters -from swagger_client.models.service_metric_survey_config_parameters import ServiceMetricSurveyConfigParameters -from swagger_client.models.service_metrics_collection_config_profile import ServiceMetricsCollectionConfigProfile -from swagger_client.models.session_expiry_type import SessionExpiryType -from swagger_client.models.sip_call_stop_reason import SipCallStopReason -from swagger_client.models.sort_columns_alarm import SortColumnsAlarm -from swagger_client.models.sort_columns_client import SortColumnsClient -from swagger_client.models.sort_columns_client_session import SortColumnsClientSession -from swagger_client.models.sort_columns_equipment import SortColumnsEquipment -from swagger_client.models.sort_columns_location import SortColumnsLocation -from swagger_client.models.sort_columns_portal_user import SortColumnsPortalUser -from swagger_client.models.sort_columns_profile import SortColumnsProfile -from swagger_client.models.sort_columns_service_metric import SortColumnsServiceMetric -from swagger_client.models.sort_columns_status import SortColumnsStatus -from swagger_client.models.sort_columns_system_event import SortColumnsSystemEvent -from swagger_client.models.sort_order import SortOrder -from swagger_client.models.source_selection_management import SourceSelectionManagement -from swagger_client.models.source_selection_multicast import SourceSelectionMulticast -from swagger_client.models.source_selection_steering import SourceSelectionSteering -from swagger_client.models.source_selection_value import SourceSelectionValue -from swagger_client.models.source_type import SourceType -from swagger_client.models.ssid_configuration import SsidConfiguration -from swagger_client.models.ssid_secure_mode import SsidSecureMode -from swagger_client.models.ssid_statistics import SsidStatistics -from swagger_client.models.state_setting import StateSetting -from swagger_client.models.state_up_down_error import StateUpDownError -from swagger_client.models.stats_report_format import StatsReportFormat -from swagger_client.models.status import Status -from swagger_client.models.status_changed_event import StatusChangedEvent -from swagger_client.models.status_code import StatusCode -from swagger_client.models.status_data_type import StatusDataType -from swagger_client.models.status_details import StatusDetails -from swagger_client.models.status_removed_event import StatusRemovedEvent -from swagger_client.models.steer_type import SteerType -from swagger_client.models.streaming_video_server_record import StreamingVideoServerRecord -from swagger_client.models.streaming_video_type import StreamingVideoType -from swagger_client.models.syslog_relay import SyslogRelay -from swagger_client.models.syslog_severity_type import SyslogSeverityType -from swagger_client.models.system_event import SystemEvent -from swagger_client.models.system_event_data_type import SystemEventDataType -from swagger_client.models.system_event_record import SystemEventRecord -from swagger_client.models.timed_access_user_details import TimedAccessUserDetails -from swagger_client.models.timed_access_user_record import TimedAccessUserRecord -from swagger_client.models.track_flag import TrackFlag -from swagger_client.models.traffic_details import TrafficDetails -from swagger_client.models.traffic_per_radio_details import TrafficPerRadioDetails -from swagger_client.models.traffic_per_radio_details_per_radio_type_map import TrafficPerRadioDetailsPerRadioTypeMap -from swagger_client.models.tunnel_indicator import TunnelIndicator -from swagger_client.models.tunnel_metric_data import TunnelMetricData -from swagger_client.models.unserializable_system_event import UnserializableSystemEvent -from swagger_client.models.user_details import UserDetails -from swagger_client.models.vlan_status_data import VLANStatusData -from swagger_client.models.vlan_status_data_map import VLANStatusDataMap -from swagger_client.models.vlan_subnet import VlanSubnet -from swagger_client.models.web_token_acl_template import WebTokenAclTemplate -from swagger_client.models.web_token_request import WebTokenRequest -from swagger_client.models.web_token_result import WebTokenResult -from swagger_client.models.wep_auth_type import WepAuthType -from swagger_client.models.wep_configuration import WepConfiguration -from swagger_client.models.wep_key import WepKey -from swagger_client.models.wep_type import WepType -from swagger_client.models.wlan_reason_code import WlanReasonCode -from swagger_client.models.wlan_status_code import WlanStatusCode -from swagger_client.models.wmm_queue_stats import WmmQueueStats -from swagger_client.models.wmm_queue_stats_per_queue_type_map import WmmQueueStatsPerQueueTypeMap -from swagger_client.models.wmm_queue_type import WmmQueueType diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/acl_template.py b/libs/cloudapi/cloudsdk/swagger_client/models/acl_template.py deleted file mode 100644 index 5d2d33fdc..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/acl_template.py +++ /dev/null @@ -1,214 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class AclTemplate(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'read': 'bool', - 'read_write': 'bool', - 'read_write_create': 'bool', - 'delete': 'bool', - 'portal_login': 'bool' - } - - attribute_map = { - 'read': 'Read', - 'read_write': 'ReadWrite', - 'read_write_create': 'ReadWriteCreate', - 'delete': 'Delete', - 'portal_login': 'PortalLogin' - } - - def __init__(self, read=None, read_write=None, read_write_create=None, delete=None, portal_login=None): # noqa: E501 - """AclTemplate - a model defined in Swagger""" # noqa: E501 - self._read = None - self._read_write = None - self._read_write_create = None - self._delete = None - self._portal_login = None - self.discriminator = None - if read is not None: - self.read = read - if read_write is not None: - self.read_write = read_write - if read_write_create is not None: - self.read_write_create = read_write_create - if delete is not None: - self.delete = delete - if portal_login is not None: - self.portal_login = portal_login - - @property - def read(self): - """Gets the read of this AclTemplate. # noqa: E501 - - - :return: The read of this AclTemplate. # noqa: E501 - :rtype: bool - """ - return self._read - - @read.setter - def read(self, read): - """Sets the read of this AclTemplate. - - - :param read: The read of this AclTemplate. # noqa: E501 - :type: bool - """ - - self._read = read - - @property - def read_write(self): - """Gets the read_write of this AclTemplate. # noqa: E501 - - - :return: The read_write of this AclTemplate. # noqa: E501 - :rtype: bool - """ - return self._read_write - - @read_write.setter - def read_write(self, read_write): - """Sets the read_write of this AclTemplate. - - - :param read_write: The read_write of this AclTemplate. # noqa: E501 - :type: bool - """ - - self._read_write = read_write - - @property - def read_write_create(self): - """Gets the read_write_create of this AclTemplate. # noqa: E501 - - - :return: The read_write_create of this AclTemplate. # noqa: E501 - :rtype: bool - """ - return self._read_write_create - - @read_write_create.setter - def read_write_create(self, read_write_create): - """Sets the read_write_create of this AclTemplate. - - - :param read_write_create: The read_write_create of this AclTemplate. # noqa: E501 - :type: bool - """ - - self._read_write_create = read_write_create - - @property - def delete(self): - """Gets the delete of this AclTemplate. # noqa: E501 - - - :return: The delete of this AclTemplate. # noqa: E501 - :rtype: bool - """ - return self._delete - - @delete.setter - def delete(self, delete): - """Sets the delete of this AclTemplate. - - - :param delete: The delete of this AclTemplate. # noqa: E501 - :type: bool - """ - - self._delete = delete - - @property - def portal_login(self): - """Gets the portal_login of this AclTemplate. # noqa: E501 - - - :return: The portal_login of this AclTemplate. # noqa: E501 - :rtype: bool - """ - return self._portal_login - - @portal_login.setter - def portal_login(self, portal_login): - """Sets the portal_login of this AclTemplate. - - - :param portal_login: The portal_login of this AclTemplate. # noqa: E501 - :type: bool - """ - - self._portal_login = portal_login - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(AclTemplate, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, AclTemplate): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/active_bssi_ds.py b/libs/cloudapi/cloudsdk/swagger_client/models/active_bssi_ds.py deleted file mode 100644 index b86f7a2c5..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/active_bssi_ds.py +++ /dev/null @@ -1,175 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ActiveBSSIDs(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'status_data_type': 'str', - 'active_bssi_ds': 'list[ActiveBSSID]' - } - - attribute_map = { - 'model_type': 'model_type', - 'status_data_type': 'statusDataType', - 'active_bssi_ds': 'activeBSSIDs' - } - - def __init__(self, model_type=None, status_data_type=None, active_bssi_ds=None): # noqa: E501 - """ActiveBSSIDs - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._status_data_type = None - self._active_bssi_ds = None - self.discriminator = None - self.model_type = model_type - if status_data_type is not None: - self.status_data_type = status_data_type - if active_bssi_ds is not None: - self.active_bssi_ds = active_bssi_ds - - @property - def model_type(self): - """Gets the model_type of this ActiveBSSIDs. # noqa: E501 - - - :return: The model_type of this ActiveBSSIDs. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this ActiveBSSIDs. - - - :param model_type: The model_type of this ActiveBSSIDs. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - allowed_values = ["ActiveBSSIDs"] # noqa: E501 - if model_type not in allowed_values: - raise ValueError( - "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 - .format(model_type, allowed_values) - ) - - self._model_type = model_type - - @property - def status_data_type(self): - """Gets the status_data_type of this ActiveBSSIDs. # noqa: E501 - - - :return: The status_data_type of this ActiveBSSIDs. # noqa: E501 - :rtype: str - """ - return self._status_data_type - - @status_data_type.setter - def status_data_type(self, status_data_type): - """Sets the status_data_type of this ActiveBSSIDs. - - - :param status_data_type: The status_data_type of this ActiveBSSIDs. # noqa: E501 - :type: str - """ - allowed_values = ["ACTIVE_BSSIDS"] # noqa: E501 - if status_data_type not in allowed_values: - raise ValueError( - "Invalid value for `status_data_type` ({0}), must be one of {1}" # noqa: E501 - .format(status_data_type, allowed_values) - ) - - self._status_data_type = status_data_type - - @property - def active_bssi_ds(self): - """Gets the active_bssi_ds of this ActiveBSSIDs. # noqa: E501 - - - :return: The active_bssi_ds of this ActiveBSSIDs. # noqa: E501 - :rtype: list[ActiveBSSID] - """ - return self._active_bssi_ds - - @active_bssi_ds.setter - def active_bssi_ds(self, active_bssi_ds): - """Sets the active_bssi_ds of this ActiveBSSIDs. - - - :param active_bssi_ds: The active_bssi_ds of this ActiveBSSIDs. # noqa: E501 - :type: list[ActiveBSSID] - """ - - self._active_bssi_ds = active_bssi_ds - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ActiveBSSIDs, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ActiveBSSIDs): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/active_bssid.py b/libs/cloudapi/cloudsdk/swagger_client/models/active_bssid.py deleted file mode 100644 index b71a00f2b..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/active_bssid.py +++ /dev/null @@ -1,220 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ActiveBSSID(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'bssid': 'str', - 'ssid': 'str', - 'radio_type': 'RadioType', - 'num_devices_connected': 'int' - } - - attribute_map = { - 'model_type': 'model_type', - 'bssid': 'bssid', - 'ssid': 'ssid', - 'radio_type': 'radioType', - 'num_devices_connected': 'numDevicesConnected' - } - - def __init__(self, model_type=None, bssid=None, ssid=None, radio_type=None, num_devices_connected=None): # noqa: E501 - """ActiveBSSID - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._bssid = None - self._ssid = None - self._radio_type = None - self._num_devices_connected = None - self.discriminator = None - if model_type is not None: - self.model_type = model_type - if bssid is not None: - self.bssid = bssid - if ssid is not None: - self.ssid = ssid - if radio_type is not None: - self.radio_type = radio_type - if num_devices_connected is not None: - self.num_devices_connected = num_devices_connected - - @property - def model_type(self): - """Gets the model_type of this ActiveBSSID. # noqa: E501 - - - :return: The model_type of this ActiveBSSID. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this ActiveBSSID. - - - :param model_type: The model_type of this ActiveBSSID. # noqa: E501 - :type: str - """ - allowed_values = ["ActiveBSSID"] # noqa: E501 - if model_type not in allowed_values: - raise ValueError( - "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 - .format(model_type, allowed_values) - ) - - self._model_type = model_type - - @property - def bssid(self): - """Gets the bssid of this ActiveBSSID. # noqa: E501 - - - :return: The bssid of this ActiveBSSID. # noqa: E501 - :rtype: str - """ - return self._bssid - - @bssid.setter - def bssid(self, bssid): - """Sets the bssid of this ActiveBSSID. - - - :param bssid: The bssid of this ActiveBSSID. # noqa: E501 - :type: str - """ - - self._bssid = bssid - - @property - def ssid(self): - """Gets the ssid of this ActiveBSSID. # noqa: E501 - - - :return: The ssid of this ActiveBSSID. # noqa: E501 - :rtype: str - """ - return self._ssid - - @ssid.setter - def ssid(self, ssid): - """Sets the ssid of this ActiveBSSID. - - - :param ssid: The ssid of this ActiveBSSID. # noqa: E501 - :type: str - """ - - self._ssid = ssid - - @property - def radio_type(self): - """Gets the radio_type of this ActiveBSSID. # noqa: E501 - - - :return: The radio_type of this ActiveBSSID. # noqa: E501 - :rtype: RadioType - """ - return self._radio_type - - @radio_type.setter - def radio_type(self, radio_type): - """Sets the radio_type of this ActiveBSSID. - - - :param radio_type: The radio_type of this ActiveBSSID. # noqa: E501 - :type: RadioType - """ - - self._radio_type = radio_type - - @property - def num_devices_connected(self): - """Gets the num_devices_connected of this ActiveBSSID. # noqa: E501 - - - :return: The num_devices_connected of this ActiveBSSID. # noqa: E501 - :rtype: int - """ - return self._num_devices_connected - - @num_devices_connected.setter - def num_devices_connected(self, num_devices_connected): - """Sets the num_devices_connected of this ActiveBSSID. - - - :param num_devices_connected: The num_devices_connected of this ActiveBSSID. # noqa: E501 - :type: int - """ - - self._num_devices_connected = num_devices_connected - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ActiveBSSID, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ActiveBSSID): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/active_scan_settings.py b/libs/cloudapi/cloudsdk/swagger_client/models/active_scan_settings.py deleted file mode 100644 index 3e461cb6b..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/active_scan_settings.py +++ /dev/null @@ -1,162 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ActiveScanSettings(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'enabled': 'bool', - 'scan_frequency_seconds': 'int', - 'scan_duration_millis': 'int' - } - - attribute_map = { - 'enabled': 'enabled', - 'scan_frequency_seconds': 'scanFrequencySeconds', - 'scan_duration_millis': 'scanDurationMillis' - } - - def __init__(self, enabled=None, scan_frequency_seconds=None, scan_duration_millis=None): # noqa: E501 - """ActiveScanSettings - a model defined in Swagger""" # noqa: E501 - self._enabled = None - self._scan_frequency_seconds = None - self._scan_duration_millis = None - self.discriminator = None - if enabled is not None: - self.enabled = enabled - if scan_frequency_seconds is not None: - self.scan_frequency_seconds = scan_frequency_seconds - if scan_duration_millis is not None: - self.scan_duration_millis = scan_duration_millis - - @property - def enabled(self): - """Gets the enabled of this ActiveScanSettings. # noqa: E501 - - - :return: The enabled of this ActiveScanSettings. # noqa: E501 - :rtype: bool - """ - return self._enabled - - @enabled.setter - def enabled(self, enabled): - """Sets the enabled of this ActiveScanSettings. - - - :param enabled: The enabled of this ActiveScanSettings. # noqa: E501 - :type: bool - """ - - self._enabled = enabled - - @property - def scan_frequency_seconds(self): - """Gets the scan_frequency_seconds of this ActiveScanSettings. # noqa: E501 - - - :return: The scan_frequency_seconds of this ActiveScanSettings. # noqa: E501 - :rtype: int - """ - return self._scan_frequency_seconds - - @scan_frequency_seconds.setter - def scan_frequency_seconds(self, scan_frequency_seconds): - """Sets the scan_frequency_seconds of this ActiveScanSettings. - - - :param scan_frequency_seconds: The scan_frequency_seconds of this ActiveScanSettings. # noqa: E501 - :type: int - """ - - self._scan_frequency_seconds = scan_frequency_seconds - - @property - def scan_duration_millis(self): - """Gets the scan_duration_millis of this ActiveScanSettings. # noqa: E501 - - - :return: The scan_duration_millis of this ActiveScanSettings. # noqa: E501 - :rtype: int - """ - return self._scan_duration_millis - - @scan_duration_millis.setter - def scan_duration_millis(self, scan_duration_millis): - """Sets the scan_duration_millis of this ActiveScanSettings. - - - :param scan_duration_millis: The scan_duration_millis of this ActiveScanSettings. # noqa: E501 - :type: int - """ - - self._scan_duration_millis = scan_duration_millis - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ActiveScanSettings, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ActiveScanSettings): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/advanced_radio_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/advanced_radio_map.py deleted file mode 100644 index 19347d1cc..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/advanced_radio_map.py +++ /dev/null @@ -1,188 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class AdvancedRadioMap(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'is5_g_hz': 'RadioConfiguration', - 'is5_g_hz_u': 'RadioConfiguration', - 'is5_g_hz_l': 'RadioConfiguration', - 'is2dot4_g_hz': 'RadioConfiguration' - } - - attribute_map = { - 'is5_g_hz': 'is5GHz', - 'is5_g_hz_u': 'is5GHzU', - 'is5_g_hz_l': 'is5GHzL', - 'is2dot4_g_hz': 'is2dot4GHz' - } - - def __init__(self, is5_g_hz=None, is5_g_hz_u=None, is5_g_hz_l=None, is2dot4_g_hz=None): # noqa: E501 - """AdvancedRadioMap - a model defined in Swagger""" # noqa: E501 - self._is5_g_hz = None - self._is5_g_hz_u = None - self._is5_g_hz_l = None - self._is2dot4_g_hz = None - self.discriminator = None - if is5_g_hz is not None: - self.is5_g_hz = is5_g_hz - if is5_g_hz_u is not None: - self.is5_g_hz_u = is5_g_hz_u - if is5_g_hz_l is not None: - self.is5_g_hz_l = is5_g_hz_l - if is2dot4_g_hz is not None: - self.is2dot4_g_hz = is2dot4_g_hz - - @property - def is5_g_hz(self): - """Gets the is5_g_hz of this AdvancedRadioMap. # noqa: E501 - - - :return: The is5_g_hz of this AdvancedRadioMap. # noqa: E501 - :rtype: RadioConfiguration - """ - return self._is5_g_hz - - @is5_g_hz.setter - def is5_g_hz(self, is5_g_hz): - """Sets the is5_g_hz of this AdvancedRadioMap. - - - :param is5_g_hz: The is5_g_hz of this AdvancedRadioMap. # noqa: E501 - :type: RadioConfiguration - """ - - self._is5_g_hz = is5_g_hz - - @property - def is5_g_hz_u(self): - """Gets the is5_g_hz_u of this AdvancedRadioMap. # noqa: E501 - - - :return: The is5_g_hz_u of this AdvancedRadioMap. # noqa: E501 - :rtype: RadioConfiguration - """ - return self._is5_g_hz_u - - @is5_g_hz_u.setter - def is5_g_hz_u(self, is5_g_hz_u): - """Sets the is5_g_hz_u of this AdvancedRadioMap. - - - :param is5_g_hz_u: The is5_g_hz_u of this AdvancedRadioMap. # noqa: E501 - :type: RadioConfiguration - """ - - self._is5_g_hz_u = is5_g_hz_u - - @property - def is5_g_hz_l(self): - """Gets the is5_g_hz_l of this AdvancedRadioMap. # noqa: E501 - - - :return: The is5_g_hz_l of this AdvancedRadioMap. # noqa: E501 - :rtype: RadioConfiguration - """ - return self._is5_g_hz_l - - @is5_g_hz_l.setter - def is5_g_hz_l(self, is5_g_hz_l): - """Sets the is5_g_hz_l of this AdvancedRadioMap. - - - :param is5_g_hz_l: The is5_g_hz_l of this AdvancedRadioMap. # noqa: E501 - :type: RadioConfiguration - """ - - self._is5_g_hz_l = is5_g_hz_l - - @property - def is2dot4_g_hz(self): - """Gets the is2dot4_g_hz of this AdvancedRadioMap. # noqa: E501 - - - :return: The is2dot4_g_hz of this AdvancedRadioMap. # noqa: E501 - :rtype: RadioConfiguration - """ - return self._is2dot4_g_hz - - @is2dot4_g_hz.setter - def is2dot4_g_hz(self, is2dot4_g_hz): - """Sets the is2dot4_g_hz of this AdvancedRadioMap. - - - :param is2dot4_g_hz: The is2dot4_g_hz of this AdvancedRadioMap. # noqa: E501 - :type: RadioConfiguration - """ - - self._is2dot4_g_hz = is2dot4_g_hz - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(AdvancedRadioMap, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, AdvancedRadioMap): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/alarm.py b/libs/cloudapi/cloudsdk/swagger_client/models/alarm.py deleted file mode 100644 index 658def878..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/alarm.py +++ /dev/null @@ -1,372 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class Alarm(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'customer_id': 'int', - 'equipment_id': 'int', - 'alarm_code': 'AlarmCode', - 'created_timestamp': 'int', - 'originator_type': 'OriginatorType', - 'severity': 'StatusCode', - 'scope_type': 'AlarmScopeType', - 'scope_id': 'str', - 'details': 'AlarmDetails', - 'acknowledged': 'bool', - 'last_modified_timestamp': 'int' - } - - attribute_map = { - 'customer_id': 'customerId', - 'equipment_id': 'equipmentId', - 'alarm_code': 'alarmCode', - 'created_timestamp': 'createdTimestamp', - 'originator_type': 'originatorType', - 'severity': 'severity', - 'scope_type': 'scopeType', - 'scope_id': 'scopeId', - 'details': 'details', - 'acknowledged': 'acknowledged', - 'last_modified_timestamp': 'lastModifiedTimestamp' - } - - def __init__(self, customer_id=None, equipment_id=None, alarm_code=None, created_timestamp=None, originator_type=None, severity=None, scope_type=None, scope_id=None, details=None, acknowledged=None, last_modified_timestamp=None): # noqa: E501 - """Alarm - a model defined in Swagger""" # noqa: E501 - self._customer_id = None - self._equipment_id = None - self._alarm_code = None - self._created_timestamp = None - self._originator_type = None - self._severity = None - self._scope_type = None - self._scope_id = None - self._details = None - self._acknowledged = None - self._last_modified_timestamp = None - self.discriminator = None - if customer_id is not None: - self.customer_id = customer_id - if equipment_id is not None: - self.equipment_id = equipment_id - if alarm_code is not None: - self.alarm_code = alarm_code - if created_timestamp is not None: - self.created_timestamp = created_timestamp - if originator_type is not None: - self.originator_type = originator_type - if severity is not None: - self.severity = severity - if scope_type is not None: - self.scope_type = scope_type - if scope_id is not None: - self.scope_id = scope_id - if details is not None: - self.details = details - if acknowledged is not None: - self.acknowledged = acknowledged - if last_modified_timestamp is not None: - self.last_modified_timestamp = last_modified_timestamp - - @property - def customer_id(self): - """Gets the customer_id of this Alarm. # noqa: E501 - - - :return: The customer_id of this Alarm. # noqa: E501 - :rtype: int - """ - return self._customer_id - - @customer_id.setter - def customer_id(self, customer_id): - """Sets the customer_id of this Alarm. - - - :param customer_id: The customer_id of this Alarm. # noqa: E501 - :type: int - """ - - self._customer_id = customer_id - - @property - def equipment_id(self): - """Gets the equipment_id of this Alarm. # noqa: E501 - - - :return: The equipment_id of this Alarm. # noqa: E501 - :rtype: int - """ - return self._equipment_id - - @equipment_id.setter - def equipment_id(self, equipment_id): - """Sets the equipment_id of this Alarm. - - - :param equipment_id: The equipment_id of this Alarm. # noqa: E501 - :type: int - """ - - self._equipment_id = equipment_id - - @property - def alarm_code(self): - """Gets the alarm_code of this Alarm. # noqa: E501 - - - :return: The alarm_code of this Alarm. # noqa: E501 - :rtype: AlarmCode - """ - return self._alarm_code - - @alarm_code.setter - def alarm_code(self, alarm_code): - """Sets the alarm_code of this Alarm. - - - :param alarm_code: The alarm_code of this Alarm. # noqa: E501 - :type: AlarmCode - """ - - self._alarm_code = alarm_code - - @property - def created_timestamp(self): - """Gets the created_timestamp of this Alarm. # noqa: E501 - - - :return: The created_timestamp of this Alarm. # noqa: E501 - :rtype: int - """ - return self._created_timestamp - - @created_timestamp.setter - def created_timestamp(self, created_timestamp): - """Sets the created_timestamp of this Alarm. - - - :param created_timestamp: The created_timestamp of this Alarm. # noqa: E501 - :type: int - """ - - self._created_timestamp = created_timestamp - - @property - def originator_type(self): - """Gets the originator_type of this Alarm. # noqa: E501 - - - :return: The originator_type of this Alarm. # noqa: E501 - :rtype: OriginatorType - """ - return self._originator_type - - @originator_type.setter - def originator_type(self, originator_type): - """Sets the originator_type of this Alarm. - - - :param originator_type: The originator_type of this Alarm. # noqa: E501 - :type: OriginatorType - """ - - self._originator_type = originator_type - - @property - def severity(self): - """Gets the severity of this Alarm. # noqa: E501 - - - :return: The severity of this Alarm. # noqa: E501 - :rtype: StatusCode - """ - return self._severity - - @severity.setter - def severity(self, severity): - """Sets the severity of this Alarm. - - - :param severity: The severity of this Alarm. # noqa: E501 - :type: StatusCode - """ - - self._severity = severity - - @property - def scope_type(self): - """Gets the scope_type of this Alarm. # noqa: E501 - - - :return: The scope_type of this Alarm. # noqa: E501 - :rtype: AlarmScopeType - """ - return self._scope_type - - @scope_type.setter - def scope_type(self, scope_type): - """Sets the scope_type of this Alarm. - - - :param scope_type: The scope_type of this Alarm. # noqa: E501 - :type: AlarmScopeType - """ - - self._scope_type = scope_type - - @property - def scope_id(self): - """Gets the scope_id of this Alarm. # noqa: E501 - - - :return: The scope_id of this Alarm. # noqa: E501 - :rtype: str - """ - return self._scope_id - - @scope_id.setter - def scope_id(self, scope_id): - """Sets the scope_id of this Alarm. - - - :param scope_id: The scope_id of this Alarm. # noqa: E501 - :type: str - """ - - self._scope_id = scope_id - - @property - def details(self): - """Gets the details of this Alarm. # noqa: E501 - - - :return: The details of this Alarm. # noqa: E501 - :rtype: AlarmDetails - """ - return self._details - - @details.setter - def details(self, details): - """Sets the details of this Alarm. - - - :param details: The details of this Alarm. # noqa: E501 - :type: AlarmDetails - """ - - self._details = details - - @property - def acknowledged(self): - """Gets the acknowledged of this Alarm. # noqa: E501 - - - :return: The acknowledged of this Alarm. # noqa: E501 - :rtype: bool - """ - return self._acknowledged - - @acknowledged.setter - def acknowledged(self, acknowledged): - """Sets the acknowledged of this Alarm. - - - :param acknowledged: The acknowledged of this Alarm. # noqa: E501 - :type: bool - """ - - self._acknowledged = acknowledged - - @property - def last_modified_timestamp(self): - """Gets the last_modified_timestamp of this Alarm. # noqa: E501 - - must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database # noqa: E501 - - :return: The last_modified_timestamp of this Alarm. # noqa: E501 - :rtype: int - """ - return self._last_modified_timestamp - - @last_modified_timestamp.setter - def last_modified_timestamp(self, last_modified_timestamp): - """Sets the last_modified_timestamp of this Alarm. - - must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database # noqa: E501 - - :param last_modified_timestamp: The last_modified_timestamp of this Alarm. # noqa: E501 - :type: int - """ - - self._last_modified_timestamp = last_modified_timestamp - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(Alarm, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, Alarm): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/alarm_added_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/alarm_added_event.py deleted file mode 100644 index d2a043a3b..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/alarm_added_event.py +++ /dev/null @@ -1,215 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class AlarmAddedEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'event_timestamp': 'int', - 'customer_id': 'int', - 'equipment_id': 'int', - 'payload': 'Alarm' - } - - attribute_map = { - 'model_type': 'model_type', - 'event_timestamp': 'eventTimestamp', - 'customer_id': 'customerId', - 'equipment_id': 'equipmentId', - 'payload': 'payload' - } - - def __init__(self, model_type=None, event_timestamp=None, customer_id=None, equipment_id=None, payload=None): # noqa: E501 - """AlarmAddedEvent - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._event_timestamp = None - self._customer_id = None - self._equipment_id = None - self._payload = None - self.discriminator = None - self.model_type = model_type - if event_timestamp is not None: - self.event_timestamp = event_timestamp - if customer_id is not None: - self.customer_id = customer_id - if equipment_id is not None: - self.equipment_id = equipment_id - if payload is not None: - self.payload = payload - - @property - def model_type(self): - """Gets the model_type of this AlarmAddedEvent. # noqa: E501 - - - :return: The model_type of this AlarmAddedEvent. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this AlarmAddedEvent. - - - :param model_type: The model_type of this AlarmAddedEvent. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - - self._model_type = model_type - - @property - def event_timestamp(self): - """Gets the event_timestamp of this AlarmAddedEvent. # noqa: E501 - - - :return: The event_timestamp of this AlarmAddedEvent. # noqa: E501 - :rtype: int - """ - return self._event_timestamp - - @event_timestamp.setter - def event_timestamp(self, event_timestamp): - """Sets the event_timestamp of this AlarmAddedEvent. - - - :param event_timestamp: The event_timestamp of this AlarmAddedEvent. # noqa: E501 - :type: int - """ - - self._event_timestamp = event_timestamp - - @property - def customer_id(self): - """Gets the customer_id of this AlarmAddedEvent. # noqa: E501 - - - :return: The customer_id of this AlarmAddedEvent. # noqa: E501 - :rtype: int - """ - return self._customer_id - - @customer_id.setter - def customer_id(self, customer_id): - """Sets the customer_id of this AlarmAddedEvent. - - - :param customer_id: The customer_id of this AlarmAddedEvent. # noqa: E501 - :type: int - """ - - self._customer_id = customer_id - - @property - def equipment_id(self): - """Gets the equipment_id of this AlarmAddedEvent. # noqa: E501 - - - :return: The equipment_id of this AlarmAddedEvent. # noqa: E501 - :rtype: int - """ - return self._equipment_id - - @equipment_id.setter - def equipment_id(self, equipment_id): - """Sets the equipment_id of this AlarmAddedEvent. - - - :param equipment_id: The equipment_id of this AlarmAddedEvent. # noqa: E501 - :type: int - """ - - self._equipment_id = equipment_id - - @property - def payload(self): - """Gets the payload of this AlarmAddedEvent. # noqa: E501 - - - :return: The payload of this AlarmAddedEvent. # noqa: E501 - :rtype: Alarm - """ - return self._payload - - @payload.setter - def payload(self, payload): - """Sets the payload of this AlarmAddedEvent. - - - :param payload: The payload of this AlarmAddedEvent. # noqa: E501 - :type: Alarm - """ - - self._payload = payload - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(AlarmAddedEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, AlarmAddedEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/alarm_changed_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/alarm_changed_event.py deleted file mode 100644 index ca8f8cc38..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/alarm_changed_event.py +++ /dev/null @@ -1,215 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class AlarmChangedEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'event_timestamp': 'int', - 'customer_id': 'int', - 'equipment_id': 'int', - 'payload': 'Alarm' - } - - attribute_map = { - 'model_type': 'model_type', - 'event_timestamp': 'eventTimestamp', - 'customer_id': 'customerId', - 'equipment_id': 'equipmentId', - 'payload': 'payload' - } - - def __init__(self, model_type=None, event_timestamp=None, customer_id=None, equipment_id=None, payload=None): # noqa: E501 - """AlarmChangedEvent - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._event_timestamp = None - self._customer_id = None - self._equipment_id = None - self._payload = None - self.discriminator = None - self.model_type = model_type - if event_timestamp is not None: - self.event_timestamp = event_timestamp - if customer_id is not None: - self.customer_id = customer_id - if equipment_id is not None: - self.equipment_id = equipment_id - if payload is not None: - self.payload = payload - - @property - def model_type(self): - """Gets the model_type of this AlarmChangedEvent. # noqa: E501 - - - :return: The model_type of this AlarmChangedEvent. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this AlarmChangedEvent. - - - :param model_type: The model_type of this AlarmChangedEvent. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - - self._model_type = model_type - - @property - def event_timestamp(self): - """Gets the event_timestamp of this AlarmChangedEvent. # noqa: E501 - - - :return: The event_timestamp of this AlarmChangedEvent. # noqa: E501 - :rtype: int - """ - return self._event_timestamp - - @event_timestamp.setter - def event_timestamp(self, event_timestamp): - """Sets the event_timestamp of this AlarmChangedEvent. - - - :param event_timestamp: The event_timestamp of this AlarmChangedEvent. # noqa: E501 - :type: int - """ - - self._event_timestamp = event_timestamp - - @property - def customer_id(self): - """Gets the customer_id of this AlarmChangedEvent. # noqa: E501 - - - :return: The customer_id of this AlarmChangedEvent. # noqa: E501 - :rtype: int - """ - return self._customer_id - - @customer_id.setter - def customer_id(self, customer_id): - """Sets the customer_id of this AlarmChangedEvent. - - - :param customer_id: The customer_id of this AlarmChangedEvent. # noqa: E501 - :type: int - """ - - self._customer_id = customer_id - - @property - def equipment_id(self): - """Gets the equipment_id of this AlarmChangedEvent. # noqa: E501 - - - :return: The equipment_id of this AlarmChangedEvent. # noqa: E501 - :rtype: int - """ - return self._equipment_id - - @equipment_id.setter - def equipment_id(self, equipment_id): - """Sets the equipment_id of this AlarmChangedEvent. - - - :param equipment_id: The equipment_id of this AlarmChangedEvent. # noqa: E501 - :type: int - """ - - self._equipment_id = equipment_id - - @property - def payload(self): - """Gets the payload of this AlarmChangedEvent. # noqa: E501 - - - :return: The payload of this AlarmChangedEvent. # noqa: E501 - :rtype: Alarm - """ - return self._payload - - @payload.setter - def payload(self, payload): - """Sets the payload of this AlarmChangedEvent. - - - :param payload: The payload of this AlarmChangedEvent. # noqa: E501 - :type: Alarm - """ - - self._payload = payload - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(AlarmChangedEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, AlarmChangedEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/alarm_code.py b/libs/cloudapi/cloudsdk/swagger_client/models/alarm_code.py deleted file mode 100644 index 4a384d700..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/alarm_code.py +++ /dev/null @@ -1,138 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class AlarmCode(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - LIMITEDCLOUDCONNECTIVITY = "LimitedCloudConnectivity" - ACCESSPOINTISUNREACHABLE = "AccessPointIsUnreachable" - NOMETRICSRECEIVED = "NoMetricsReceived" - NOISEFLOOR2G = "NoiseFloor2G" - CHANNELUTILIZATION2G = "ChannelUtilization2G" - NOISEFLOOR5G = "NoiseFloor5G" - CHANNELUTILIZATION5G = "ChannelUtilization5G" - DNS = "DNS" - DNSLATENCY = "DNSLatency" - DHCP = "DHCP" - DHCPLATENCY = "DHCPLatency" - RADIUS = "Radius" - RADIUSLATENCY = "RadiusLatency" - CLOUDLINK = "CloudLink" - CLOUDLINKLATENCY = "CloudLinkLatency" - CPUUTILIZATION = "CPUUtilization" - MEMORYUTILIZATION = "MemoryUtilization" - DISCONNECTED = "Disconnected" - CPUTEMPERATURE = "CPUTemperature" - LOWMEMORYREBOOT = "LowMemoryReboot" - COUNTRYCODEMISMATCH = "CountryCodeMisMatch" - HARDWAREISSUEDIAGNOSTIC = "HardwareIssueDiagnostic" - TOOMANYCLIENTS2G = "TooManyClients2g" - TOOMANYCLIENTS5G = "TooManyClients5g" - REBOOTREQUESTFAILED = "RebootRequestFailed" - RADIUSCONFIGURATIONFAILED = "RadiusConfigurationFailed" - FIRMWAREUPGRADESTUCK = "FirmwareUpgradeStuck" - MULTIPLEAPCSONSAMESUBNET = "MultipleAPCsOnSameSubnet" - RADIOHUNG2G = "RadioHung2G" - RADIOHUNG5G = "RadioHung5G" - CONFIGURATIONOUTOFSYNC = "ConfigurationOutOfSync" - FAILEDCPAUTHENTICATIONS = "FailedCPAuthentications" - DISABLEDSSID = "DisabledSSID" - DEAUTHATTACKDETECTED = "DeauthAttackDetected" - TOOMANYBLOCKEDDEVICES = "TooManyBlockedDevices" - TOOMANYROGUEAPS = "TooManyRogueAPs" - NEIGHBOURSCANSTUCKON2G = "NeighbourScanStuckOn2g" - NEIGHBOURSCANSTUCKON5G = "NeighbourScanStuckOn5g" - INTROUBLESHOOTMODE = "InTroubleshootMode" - CHANNELSOUTOFSYNC2G = "ChannelsOutOfSync2g" - CHANNELSOUTOFSYNC5GV = "ChannelsOutOfSync5gv" - INCONSISTENTBASEMACS = "InconsistentBasemacs" - GENERICERROR = "GenericError" - RADIOHUNG = "RadioHung" - ASSOCFAILURE = "AssocFailure" - CLIENTAUTHFAILURE = "ClientAuthFailure" - QOEISSUES2G = "QoEIssues2g" - QOEISSUES5G = "QoEIssues5g" - DNSSERVERUNREACHABLE = "DNSServerUnreachable" - DNSSERVERLATENCY = "DNSServerLatency" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """AlarmCode - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(AlarmCode, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, AlarmCode): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/alarm_counts.py b/libs/cloudapi/cloudsdk/swagger_client/models/alarm_counts.py deleted file mode 100644 index 8afcee534..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/alarm_counts.py +++ /dev/null @@ -1,162 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class AlarmCounts(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'customer_id': 'int', - 'counts_per_equipment_id_map': 'CountsPerEquipmentIdPerAlarmCodeMap', - 'total_counts_per_alarm_code_map': 'CountsPerAlarmCodeMap' - } - - attribute_map = { - 'customer_id': 'customerId', - 'counts_per_equipment_id_map': 'countsPerEquipmentIdMap', - 'total_counts_per_alarm_code_map': 'totalCountsPerAlarmCodeMap' - } - - def __init__(self, customer_id=None, counts_per_equipment_id_map=None, total_counts_per_alarm_code_map=None): # noqa: E501 - """AlarmCounts - a model defined in Swagger""" # noqa: E501 - self._customer_id = None - self._counts_per_equipment_id_map = None - self._total_counts_per_alarm_code_map = None - self.discriminator = None - if customer_id is not None: - self.customer_id = customer_id - if counts_per_equipment_id_map is not None: - self.counts_per_equipment_id_map = counts_per_equipment_id_map - if total_counts_per_alarm_code_map is not None: - self.total_counts_per_alarm_code_map = total_counts_per_alarm_code_map - - @property - def customer_id(self): - """Gets the customer_id of this AlarmCounts. # noqa: E501 - - - :return: The customer_id of this AlarmCounts. # noqa: E501 - :rtype: int - """ - return self._customer_id - - @customer_id.setter - def customer_id(self, customer_id): - """Sets the customer_id of this AlarmCounts. - - - :param customer_id: The customer_id of this AlarmCounts. # noqa: E501 - :type: int - """ - - self._customer_id = customer_id - - @property - def counts_per_equipment_id_map(self): - """Gets the counts_per_equipment_id_map of this AlarmCounts. # noqa: E501 - - - :return: The counts_per_equipment_id_map of this AlarmCounts. # noqa: E501 - :rtype: CountsPerEquipmentIdPerAlarmCodeMap - """ - return self._counts_per_equipment_id_map - - @counts_per_equipment_id_map.setter - def counts_per_equipment_id_map(self, counts_per_equipment_id_map): - """Sets the counts_per_equipment_id_map of this AlarmCounts. - - - :param counts_per_equipment_id_map: The counts_per_equipment_id_map of this AlarmCounts. # noqa: E501 - :type: CountsPerEquipmentIdPerAlarmCodeMap - """ - - self._counts_per_equipment_id_map = counts_per_equipment_id_map - - @property - def total_counts_per_alarm_code_map(self): - """Gets the total_counts_per_alarm_code_map of this AlarmCounts. # noqa: E501 - - - :return: The total_counts_per_alarm_code_map of this AlarmCounts. # noqa: E501 - :rtype: CountsPerAlarmCodeMap - """ - return self._total_counts_per_alarm_code_map - - @total_counts_per_alarm_code_map.setter - def total_counts_per_alarm_code_map(self, total_counts_per_alarm_code_map): - """Sets the total_counts_per_alarm_code_map of this AlarmCounts. - - - :param total_counts_per_alarm_code_map: The total_counts_per_alarm_code_map of this AlarmCounts. # noqa: E501 - :type: CountsPerAlarmCodeMap - """ - - self._total_counts_per_alarm_code_map = total_counts_per_alarm_code_map - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(AlarmCounts, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, AlarmCounts): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/alarm_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/alarm_details.py deleted file mode 100644 index 638964d0c..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/alarm_details.py +++ /dev/null @@ -1,188 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class AlarmDetails(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'message': 'str', - 'affected_equipment_ids': 'list[int]', - 'generated_by': 'str', - 'context_attrs': 'AlarmDetailsAttributesMap' - } - - attribute_map = { - 'message': 'message', - 'affected_equipment_ids': 'affectedEquipmentIds', - 'generated_by': 'generatedBy', - 'context_attrs': 'contextAttrs' - } - - def __init__(self, message=None, affected_equipment_ids=None, generated_by=None, context_attrs=None): # noqa: E501 - """AlarmDetails - a model defined in Swagger""" # noqa: E501 - self._message = None - self._affected_equipment_ids = None - self._generated_by = None - self._context_attrs = None - self.discriminator = None - if message is not None: - self.message = message - if affected_equipment_ids is not None: - self.affected_equipment_ids = affected_equipment_ids - if generated_by is not None: - self.generated_by = generated_by - if context_attrs is not None: - self.context_attrs = context_attrs - - @property - def message(self): - """Gets the message of this AlarmDetails. # noqa: E501 - - - :return: The message of this AlarmDetails. # noqa: E501 - :rtype: str - """ - return self._message - - @message.setter - def message(self, message): - """Sets the message of this AlarmDetails. - - - :param message: The message of this AlarmDetails. # noqa: E501 - :type: str - """ - - self._message = message - - @property - def affected_equipment_ids(self): - """Gets the affected_equipment_ids of this AlarmDetails. # noqa: E501 - - - :return: The affected_equipment_ids of this AlarmDetails. # noqa: E501 - :rtype: list[int] - """ - return self._affected_equipment_ids - - @affected_equipment_ids.setter - def affected_equipment_ids(self, affected_equipment_ids): - """Sets the affected_equipment_ids of this AlarmDetails. - - - :param affected_equipment_ids: The affected_equipment_ids of this AlarmDetails. # noqa: E501 - :type: list[int] - """ - - self._affected_equipment_ids = affected_equipment_ids - - @property - def generated_by(self): - """Gets the generated_by of this AlarmDetails. # noqa: E501 - - - :return: The generated_by of this AlarmDetails. # noqa: E501 - :rtype: str - """ - return self._generated_by - - @generated_by.setter - def generated_by(self, generated_by): - """Sets the generated_by of this AlarmDetails. - - - :param generated_by: The generated_by of this AlarmDetails. # noqa: E501 - :type: str - """ - - self._generated_by = generated_by - - @property - def context_attrs(self): - """Gets the context_attrs of this AlarmDetails. # noqa: E501 - - - :return: The context_attrs of this AlarmDetails. # noqa: E501 - :rtype: AlarmDetailsAttributesMap - """ - return self._context_attrs - - @context_attrs.setter - def context_attrs(self, context_attrs): - """Sets the context_attrs of this AlarmDetails. - - - :param context_attrs: The context_attrs of this AlarmDetails. # noqa: E501 - :type: AlarmDetailsAttributesMap - """ - - self._context_attrs = context_attrs - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(AlarmDetails, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, AlarmDetails): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/alarm_details_attributes_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/alarm_details_attributes_map.py deleted file mode 100644 index fcda19ebc..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/alarm_details_attributes_map.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class AlarmDetailsAttributesMap(dict): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - if hasattr(dict, "swagger_types"): - swagger_types.update(dict.swagger_types) - - attribute_map = { - } - if hasattr(dict, "attribute_map"): - attribute_map.update(dict.attribute_map) - - def __init__(self, *args, **kwargs): # noqa: E501 - """AlarmDetailsAttributesMap - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - dict.__init__(self, *args, **kwargs) - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(AlarmDetailsAttributesMap, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, AlarmDetailsAttributesMap): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/alarm_removed_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/alarm_removed_event.py deleted file mode 100644 index f66f38cb6..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/alarm_removed_event.py +++ /dev/null @@ -1,215 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class AlarmRemovedEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'event_timestamp': 'int', - 'customer_id': 'int', - 'equipment_id': 'int', - 'payload': 'Alarm' - } - - attribute_map = { - 'model_type': 'model_type', - 'event_timestamp': 'eventTimestamp', - 'customer_id': 'customerId', - 'equipment_id': 'equipmentId', - 'payload': 'payload' - } - - def __init__(self, model_type=None, event_timestamp=None, customer_id=None, equipment_id=None, payload=None): # noqa: E501 - """AlarmRemovedEvent - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._event_timestamp = None - self._customer_id = None - self._equipment_id = None - self._payload = None - self.discriminator = None - self.model_type = model_type - if event_timestamp is not None: - self.event_timestamp = event_timestamp - if customer_id is not None: - self.customer_id = customer_id - if equipment_id is not None: - self.equipment_id = equipment_id - if payload is not None: - self.payload = payload - - @property - def model_type(self): - """Gets the model_type of this AlarmRemovedEvent. # noqa: E501 - - - :return: The model_type of this AlarmRemovedEvent. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this AlarmRemovedEvent. - - - :param model_type: The model_type of this AlarmRemovedEvent. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - - self._model_type = model_type - - @property - def event_timestamp(self): - """Gets the event_timestamp of this AlarmRemovedEvent. # noqa: E501 - - - :return: The event_timestamp of this AlarmRemovedEvent. # noqa: E501 - :rtype: int - """ - return self._event_timestamp - - @event_timestamp.setter - def event_timestamp(self, event_timestamp): - """Sets the event_timestamp of this AlarmRemovedEvent. - - - :param event_timestamp: The event_timestamp of this AlarmRemovedEvent. # noqa: E501 - :type: int - """ - - self._event_timestamp = event_timestamp - - @property - def customer_id(self): - """Gets the customer_id of this AlarmRemovedEvent. # noqa: E501 - - - :return: The customer_id of this AlarmRemovedEvent. # noqa: E501 - :rtype: int - """ - return self._customer_id - - @customer_id.setter - def customer_id(self, customer_id): - """Sets the customer_id of this AlarmRemovedEvent. - - - :param customer_id: The customer_id of this AlarmRemovedEvent. # noqa: E501 - :type: int - """ - - self._customer_id = customer_id - - @property - def equipment_id(self): - """Gets the equipment_id of this AlarmRemovedEvent. # noqa: E501 - - - :return: The equipment_id of this AlarmRemovedEvent. # noqa: E501 - :rtype: int - """ - return self._equipment_id - - @equipment_id.setter - def equipment_id(self, equipment_id): - """Sets the equipment_id of this AlarmRemovedEvent. - - - :param equipment_id: The equipment_id of this AlarmRemovedEvent. # noqa: E501 - :type: int - """ - - self._equipment_id = equipment_id - - @property - def payload(self): - """Gets the payload of this AlarmRemovedEvent. # noqa: E501 - - - :return: The payload of this AlarmRemovedEvent. # noqa: E501 - :rtype: Alarm - """ - return self._payload - - @payload.setter - def payload(self, payload): - """Sets the payload of this AlarmRemovedEvent. - - - :param payload: The payload of this AlarmRemovedEvent. # noqa: E501 - :type: Alarm - """ - - self._payload = payload - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(AlarmRemovedEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, AlarmRemovedEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/alarm_scope_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/alarm_scope_type.py deleted file mode 100644 index 1dd773d55..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/alarm_scope_type.py +++ /dev/null @@ -1,93 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class AlarmScopeType(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - CLIENT = "CLIENT" - EQUIPMENT = "EQUIPMENT" - VLAN = "VLAN" - CUSTOMER = "CUSTOMER" - LOCATION = "LOCATION" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """AlarmScopeType - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(AlarmScopeType, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, AlarmScopeType): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/antenna_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/antenna_type.py deleted file mode 100644 index ab1e471f6..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/antenna_type.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class AntennaType(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - OMNI = "OMNI" - OAP30_DIRECTIONAL = "OAP30_DIRECTIONAL" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """AntennaType - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(AntennaType, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, AntennaType): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/ap_element_configuration.py b/libs/cloudapi/cloudsdk/swagger_client/models/ap_element_configuration.py deleted file mode 100644 index ace45e388..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/ap_element_configuration.py +++ /dev/null @@ -1,721 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ApElementConfiguration(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'element_config_version': 'str', - 'equipment_type': 'EquipmentType', - 'device_mode': 'DeviceMode', - 'getting_ip': 'str', - 'static_ip': 'str', - 'static_ip_mask_cidr': 'int', - 'static_ip_gw': 'str', - 'getting_dns': 'str', - 'static_dns_ip1': 'str', - 'static_dns_ip2': 'str', - 'peer_info_list': 'list[PeerInfo]', - 'device_name': 'str', - 'location_data': 'str', - 'locally_configured_mgmt_vlan': 'int', - 'locally_configured': 'bool', - 'deployment_type': 'DeploymentType', - 'synthetic_client_enabled': 'bool', - 'frame_report_throttle_enabled': 'bool', - 'antenna_type': 'AntennaType', - 'cost_saving_events_enabled': 'bool', - 'forward_mode': 'NetworkForwardMode', - 'radio_map': 'RadioMap', - 'advanced_radio_map': 'AdvancedRadioMap' - } - - attribute_map = { - 'model_type': 'model_type', - 'element_config_version': 'elementConfigVersion', - 'equipment_type': 'equipmentType', - 'device_mode': 'deviceMode', - 'getting_ip': 'gettingIP', - 'static_ip': 'staticIP', - 'static_ip_mask_cidr': 'staticIpMaskCidr', - 'static_ip_gw': 'staticIpGw', - 'getting_dns': 'gettingDNS', - 'static_dns_ip1': 'staticDnsIp1', - 'static_dns_ip2': 'staticDnsIp2', - 'peer_info_list': 'peerInfoList', - 'device_name': 'deviceName', - 'location_data': 'locationData', - 'locally_configured_mgmt_vlan': 'locallyConfiguredMgmtVlan', - 'locally_configured': 'locallyConfigured', - 'deployment_type': 'deploymentType', - 'synthetic_client_enabled': 'syntheticClientEnabled', - 'frame_report_throttle_enabled': 'frameReportThrottleEnabled', - 'antenna_type': 'antennaType', - 'cost_saving_events_enabled': 'costSavingEventsEnabled', - 'forward_mode': 'forwardMode', - 'radio_map': 'radioMap', - 'advanced_radio_map': 'advancedRadioMap' - } - - def __init__(self, model_type=None, element_config_version=None, equipment_type=None, device_mode=None, getting_ip=None, static_ip=None, static_ip_mask_cidr=None, static_ip_gw=None, getting_dns=None, static_dns_ip1=None, static_dns_ip2=None, peer_info_list=None, device_name=None, location_data=None, locally_configured_mgmt_vlan=None, locally_configured=None, deployment_type=None, synthetic_client_enabled=None, frame_report_throttle_enabled=None, antenna_type=None, cost_saving_events_enabled=None, forward_mode=None, radio_map=None, advanced_radio_map=None): # noqa: E501 - """ApElementConfiguration - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._element_config_version = None - self._equipment_type = None - self._device_mode = None - self._getting_ip = None - self._static_ip = None - self._static_ip_mask_cidr = None - self._static_ip_gw = None - self._getting_dns = None - self._static_dns_ip1 = None - self._static_dns_ip2 = None - self._peer_info_list = None - self._device_name = None - self._location_data = None - self._locally_configured_mgmt_vlan = None - self._locally_configured = None - self._deployment_type = None - self._synthetic_client_enabled = None - self._frame_report_throttle_enabled = None - self._antenna_type = None - self._cost_saving_events_enabled = None - self._forward_mode = None - self._radio_map = None - self._advanced_radio_map = None - self.discriminator = None - self.model_type = model_type - if element_config_version is not None: - self.element_config_version = element_config_version - if equipment_type is not None: - self.equipment_type = equipment_type - if device_mode is not None: - self.device_mode = device_mode - if getting_ip is not None: - self.getting_ip = getting_ip - if static_ip is not None: - self.static_ip = static_ip - if static_ip_mask_cidr is not None: - self.static_ip_mask_cidr = static_ip_mask_cidr - if static_ip_gw is not None: - self.static_ip_gw = static_ip_gw - if getting_dns is not None: - self.getting_dns = getting_dns - if static_dns_ip1 is not None: - self.static_dns_ip1 = static_dns_ip1 - if static_dns_ip2 is not None: - self.static_dns_ip2 = static_dns_ip2 - if peer_info_list is not None: - self.peer_info_list = peer_info_list - if device_name is not None: - self.device_name = device_name - if location_data is not None: - self.location_data = location_data - if locally_configured_mgmt_vlan is not None: - self.locally_configured_mgmt_vlan = locally_configured_mgmt_vlan - if locally_configured is not None: - self.locally_configured = locally_configured - if deployment_type is not None: - self.deployment_type = deployment_type - if synthetic_client_enabled is not None: - self.synthetic_client_enabled = synthetic_client_enabled - if frame_report_throttle_enabled is not None: - self.frame_report_throttle_enabled = frame_report_throttle_enabled - if antenna_type is not None: - self.antenna_type = antenna_type - if cost_saving_events_enabled is not None: - self.cost_saving_events_enabled = cost_saving_events_enabled - if forward_mode is not None: - self.forward_mode = forward_mode - if radio_map is not None: - self.radio_map = radio_map - if advanced_radio_map is not None: - self.advanced_radio_map = advanced_radio_map - - @property - def model_type(self): - """Gets the model_type of this ApElementConfiguration. # noqa: E501 - - - :return: The model_type of this ApElementConfiguration. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this ApElementConfiguration. - - - :param model_type: The model_type of this ApElementConfiguration. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - - self._model_type = model_type - - @property - def element_config_version(self): - """Gets the element_config_version of this ApElementConfiguration. # noqa: E501 - - - :return: The element_config_version of this ApElementConfiguration. # noqa: E501 - :rtype: str - """ - return self._element_config_version - - @element_config_version.setter - def element_config_version(self, element_config_version): - """Sets the element_config_version of this ApElementConfiguration. - - - :param element_config_version: The element_config_version of this ApElementConfiguration. # noqa: E501 - :type: str - """ - - self._element_config_version = element_config_version - - @property - def equipment_type(self): - """Gets the equipment_type of this ApElementConfiguration. # noqa: E501 - - - :return: The equipment_type of this ApElementConfiguration. # noqa: E501 - :rtype: EquipmentType - """ - return self._equipment_type - - @equipment_type.setter - def equipment_type(self, equipment_type): - """Sets the equipment_type of this ApElementConfiguration. - - - :param equipment_type: The equipment_type of this ApElementConfiguration. # noqa: E501 - :type: EquipmentType - """ - - self._equipment_type = equipment_type - - @property - def device_mode(self): - """Gets the device_mode of this ApElementConfiguration. # noqa: E501 - - - :return: The device_mode of this ApElementConfiguration. # noqa: E501 - :rtype: DeviceMode - """ - return self._device_mode - - @device_mode.setter - def device_mode(self, device_mode): - """Sets the device_mode of this ApElementConfiguration. - - - :param device_mode: The device_mode of this ApElementConfiguration. # noqa: E501 - :type: DeviceMode - """ - - self._device_mode = device_mode - - @property - def getting_ip(self): - """Gets the getting_ip of this ApElementConfiguration. # noqa: E501 - - - :return: The getting_ip of this ApElementConfiguration. # noqa: E501 - :rtype: str - """ - return self._getting_ip - - @getting_ip.setter - def getting_ip(self, getting_ip): - """Sets the getting_ip of this ApElementConfiguration. - - - :param getting_ip: The getting_ip of this ApElementConfiguration. # noqa: E501 - :type: str - """ - allowed_values = ["dhcp", "manual"] # noqa: E501 - if getting_ip not in allowed_values: - raise ValueError( - "Invalid value for `getting_ip` ({0}), must be one of {1}" # noqa: E501 - .format(getting_ip, allowed_values) - ) - - self._getting_ip = getting_ip - - @property - def static_ip(self): - """Gets the static_ip of this ApElementConfiguration. # noqa: E501 - - - :return: The static_ip of this ApElementConfiguration. # noqa: E501 - :rtype: str - """ - return self._static_ip - - @static_ip.setter - def static_ip(self, static_ip): - """Sets the static_ip of this ApElementConfiguration. - - - :param static_ip: The static_ip of this ApElementConfiguration. # noqa: E501 - :type: str - """ - - self._static_ip = static_ip - - @property - def static_ip_mask_cidr(self): - """Gets the static_ip_mask_cidr of this ApElementConfiguration. # noqa: E501 - - - :return: The static_ip_mask_cidr of this ApElementConfiguration. # noqa: E501 - :rtype: int - """ - return self._static_ip_mask_cidr - - @static_ip_mask_cidr.setter - def static_ip_mask_cidr(self, static_ip_mask_cidr): - """Sets the static_ip_mask_cidr of this ApElementConfiguration. - - - :param static_ip_mask_cidr: The static_ip_mask_cidr of this ApElementConfiguration. # noqa: E501 - :type: int - """ - - self._static_ip_mask_cidr = static_ip_mask_cidr - - @property - def static_ip_gw(self): - """Gets the static_ip_gw of this ApElementConfiguration. # noqa: E501 - - - :return: The static_ip_gw of this ApElementConfiguration. # noqa: E501 - :rtype: str - """ - return self._static_ip_gw - - @static_ip_gw.setter - def static_ip_gw(self, static_ip_gw): - """Sets the static_ip_gw of this ApElementConfiguration. - - - :param static_ip_gw: The static_ip_gw of this ApElementConfiguration. # noqa: E501 - :type: str - """ - - self._static_ip_gw = static_ip_gw - - @property - def getting_dns(self): - """Gets the getting_dns of this ApElementConfiguration. # noqa: E501 - - - :return: The getting_dns of this ApElementConfiguration. # noqa: E501 - :rtype: str - """ - return self._getting_dns - - @getting_dns.setter - def getting_dns(self, getting_dns): - """Sets the getting_dns of this ApElementConfiguration. - - - :param getting_dns: The getting_dns of this ApElementConfiguration. # noqa: E501 - :type: str - """ - allowed_values = ["dhcp", "manual"] # noqa: E501 - if getting_dns not in allowed_values: - raise ValueError( - "Invalid value for `getting_dns` ({0}), must be one of {1}" # noqa: E501 - .format(getting_dns, allowed_values) - ) - - self._getting_dns = getting_dns - - @property - def static_dns_ip1(self): - """Gets the static_dns_ip1 of this ApElementConfiguration. # noqa: E501 - - - :return: The static_dns_ip1 of this ApElementConfiguration. # noqa: E501 - :rtype: str - """ - return self._static_dns_ip1 - - @static_dns_ip1.setter - def static_dns_ip1(self, static_dns_ip1): - """Sets the static_dns_ip1 of this ApElementConfiguration. - - - :param static_dns_ip1: The static_dns_ip1 of this ApElementConfiguration. # noqa: E501 - :type: str - """ - - self._static_dns_ip1 = static_dns_ip1 - - @property - def static_dns_ip2(self): - """Gets the static_dns_ip2 of this ApElementConfiguration. # noqa: E501 - - - :return: The static_dns_ip2 of this ApElementConfiguration. # noqa: E501 - :rtype: str - """ - return self._static_dns_ip2 - - @static_dns_ip2.setter - def static_dns_ip2(self, static_dns_ip2): - """Sets the static_dns_ip2 of this ApElementConfiguration. - - - :param static_dns_ip2: The static_dns_ip2 of this ApElementConfiguration. # noqa: E501 - :type: str - """ - - self._static_dns_ip2 = static_dns_ip2 - - @property - def peer_info_list(self): - """Gets the peer_info_list of this ApElementConfiguration. # noqa: E501 - - - :return: The peer_info_list of this ApElementConfiguration. # noqa: E501 - :rtype: list[PeerInfo] - """ - return self._peer_info_list - - @peer_info_list.setter - def peer_info_list(self, peer_info_list): - """Sets the peer_info_list of this ApElementConfiguration. - - - :param peer_info_list: The peer_info_list of this ApElementConfiguration. # noqa: E501 - :type: list[PeerInfo] - """ - - self._peer_info_list = peer_info_list - - @property - def device_name(self): - """Gets the device_name of this ApElementConfiguration. # noqa: E501 - - - :return: The device_name of this ApElementConfiguration. # noqa: E501 - :rtype: str - """ - return self._device_name - - @device_name.setter - def device_name(self, device_name): - """Sets the device_name of this ApElementConfiguration. - - - :param device_name: The device_name of this ApElementConfiguration. # noqa: E501 - :type: str - """ - - self._device_name = device_name - - @property - def location_data(self): - """Gets the location_data of this ApElementConfiguration. # noqa: E501 - - - :return: The location_data of this ApElementConfiguration. # noqa: E501 - :rtype: str - """ - return self._location_data - - @location_data.setter - def location_data(self, location_data): - """Sets the location_data of this ApElementConfiguration. - - - :param location_data: The location_data of this ApElementConfiguration. # noqa: E501 - :type: str - """ - - self._location_data = location_data - - @property - def locally_configured_mgmt_vlan(self): - """Gets the locally_configured_mgmt_vlan of this ApElementConfiguration. # noqa: E501 - - - :return: The locally_configured_mgmt_vlan of this ApElementConfiguration. # noqa: E501 - :rtype: int - """ - return self._locally_configured_mgmt_vlan - - @locally_configured_mgmt_vlan.setter - def locally_configured_mgmt_vlan(self, locally_configured_mgmt_vlan): - """Sets the locally_configured_mgmt_vlan of this ApElementConfiguration. - - - :param locally_configured_mgmt_vlan: The locally_configured_mgmt_vlan of this ApElementConfiguration. # noqa: E501 - :type: int - """ - - self._locally_configured_mgmt_vlan = locally_configured_mgmt_vlan - - @property - def locally_configured(self): - """Gets the locally_configured of this ApElementConfiguration. # noqa: E501 - - - :return: The locally_configured of this ApElementConfiguration. # noqa: E501 - :rtype: bool - """ - return self._locally_configured - - @locally_configured.setter - def locally_configured(self, locally_configured): - """Sets the locally_configured of this ApElementConfiguration. - - - :param locally_configured: The locally_configured of this ApElementConfiguration. # noqa: E501 - :type: bool - """ - - self._locally_configured = locally_configured - - @property - def deployment_type(self): - """Gets the deployment_type of this ApElementConfiguration. # noqa: E501 - - - :return: The deployment_type of this ApElementConfiguration. # noqa: E501 - :rtype: DeploymentType - """ - return self._deployment_type - - @deployment_type.setter - def deployment_type(self, deployment_type): - """Sets the deployment_type of this ApElementConfiguration. - - - :param deployment_type: The deployment_type of this ApElementConfiguration. # noqa: E501 - :type: DeploymentType - """ - - self._deployment_type = deployment_type - - @property - def synthetic_client_enabled(self): - """Gets the synthetic_client_enabled of this ApElementConfiguration. # noqa: E501 - - - :return: The synthetic_client_enabled of this ApElementConfiguration. # noqa: E501 - :rtype: bool - """ - return self._synthetic_client_enabled - - @synthetic_client_enabled.setter - def synthetic_client_enabled(self, synthetic_client_enabled): - """Sets the synthetic_client_enabled of this ApElementConfiguration. - - - :param synthetic_client_enabled: The synthetic_client_enabled of this ApElementConfiguration. # noqa: E501 - :type: bool - """ - - self._synthetic_client_enabled = synthetic_client_enabled - - @property - def frame_report_throttle_enabled(self): - """Gets the frame_report_throttle_enabled of this ApElementConfiguration. # noqa: E501 - - - :return: The frame_report_throttle_enabled of this ApElementConfiguration. # noqa: E501 - :rtype: bool - """ - return self._frame_report_throttle_enabled - - @frame_report_throttle_enabled.setter - def frame_report_throttle_enabled(self, frame_report_throttle_enabled): - """Sets the frame_report_throttle_enabled of this ApElementConfiguration. - - - :param frame_report_throttle_enabled: The frame_report_throttle_enabled of this ApElementConfiguration. # noqa: E501 - :type: bool - """ - - self._frame_report_throttle_enabled = frame_report_throttle_enabled - - @property - def antenna_type(self): - """Gets the antenna_type of this ApElementConfiguration. # noqa: E501 - - - :return: The antenna_type of this ApElementConfiguration. # noqa: E501 - :rtype: AntennaType - """ - return self._antenna_type - - @antenna_type.setter - def antenna_type(self, antenna_type): - """Sets the antenna_type of this ApElementConfiguration. - - - :param antenna_type: The antenna_type of this ApElementConfiguration. # noqa: E501 - :type: AntennaType - """ - - self._antenna_type = antenna_type - - @property - def cost_saving_events_enabled(self): - """Gets the cost_saving_events_enabled of this ApElementConfiguration. # noqa: E501 - - - :return: The cost_saving_events_enabled of this ApElementConfiguration. # noqa: E501 - :rtype: bool - """ - return self._cost_saving_events_enabled - - @cost_saving_events_enabled.setter - def cost_saving_events_enabled(self, cost_saving_events_enabled): - """Sets the cost_saving_events_enabled of this ApElementConfiguration. - - - :param cost_saving_events_enabled: The cost_saving_events_enabled of this ApElementConfiguration. # noqa: E501 - :type: bool - """ - - self._cost_saving_events_enabled = cost_saving_events_enabled - - @property - def forward_mode(self): - """Gets the forward_mode of this ApElementConfiguration. # noqa: E501 - - - :return: The forward_mode of this ApElementConfiguration. # noqa: E501 - :rtype: NetworkForwardMode - """ - return self._forward_mode - - @forward_mode.setter - def forward_mode(self, forward_mode): - """Sets the forward_mode of this ApElementConfiguration. - - - :param forward_mode: The forward_mode of this ApElementConfiguration. # noqa: E501 - :type: NetworkForwardMode - """ - - self._forward_mode = forward_mode - - @property - def radio_map(self): - """Gets the radio_map of this ApElementConfiguration. # noqa: E501 - - - :return: The radio_map of this ApElementConfiguration. # noqa: E501 - :rtype: RadioMap - """ - return self._radio_map - - @radio_map.setter - def radio_map(self, radio_map): - """Sets the radio_map of this ApElementConfiguration. - - - :param radio_map: The radio_map of this ApElementConfiguration. # noqa: E501 - :type: RadioMap - """ - - self._radio_map = radio_map - - @property - def advanced_radio_map(self): - """Gets the advanced_radio_map of this ApElementConfiguration. # noqa: E501 - - - :return: The advanced_radio_map of this ApElementConfiguration. # noqa: E501 - :rtype: AdvancedRadioMap - """ - return self._advanced_radio_map - - @advanced_radio_map.setter - def advanced_radio_map(self, advanced_radio_map): - """Sets the advanced_radio_map of this ApElementConfiguration. - - - :param advanced_radio_map: The advanced_radio_map of this ApElementConfiguration. # noqa: E501 - :type: AdvancedRadioMap - """ - - self._advanced_radio_map = advanced_radio_map - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ApElementConfiguration, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ApElementConfiguration): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/ap_mesh_mode.py b/libs/cloudapi/cloudsdk/swagger_client/models/ap_mesh_mode.py deleted file mode 100644 index eacd9803f..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/ap_mesh_mode.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ApMeshMode(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - STANDALONE = "STANDALONE" - MESH_PORTAL = "MESH_PORTAL" - MESH_POINT = "MESH_POINT" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """ApMeshMode - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ApMeshMode, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ApMeshMode): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/ap_network_configuration.py b/libs/cloudapi/cloudsdk/swagger_client/models/ap_network_configuration.py deleted file mode 100644 index 200028a00..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/ap_network_configuration.py +++ /dev/null @@ -1,446 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six -from swagger_client.models.profile_details import ProfileDetails # noqa: F401,E501 - -class ApNetworkConfiguration(ProfileDetails): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'network_config_version': 'str', - 'equipment_type': 'str', - 'vlan_native': 'bool', - 'vlan': 'int', - 'ntp_server': 'ApNetworkConfigurationNtpServer', - 'syslog_relay': 'SyslogRelay', - 'rtls_settings': 'RtlsSettings', - 'synthetic_client_enabled': 'bool', - 'led_control_enabled': 'bool', - 'equipment_discovery': 'bool', - 'gre_tunnel_configurations': 'list[GreTunnelConfiguration]', - 'radio_map': 'RadioProfileConfigurationMap' - } - if hasattr(ProfileDetails, "swagger_types"): - swagger_types.update(ProfileDetails.swagger_types) - - attribute_map = { - 'model_type': 'model_type', - 'network_config_version': 'networkConfigVersion', - 'equipment_type': 'equipmentType', - 'vlan_native': 'vlanNative', - 'vlan': 'vlan', - 'ntp_server': 'ntpServer', - 'syslog_relay': 'syslogRelay', - 'rtls_settings': 'rtlsSettings', - 'synthetic_client_enabled': 'syntheticClientEnabled', - 'led_control_enabled': 'ledControlEnabled', - 'equipment_discovery': 'equipmentDiscovery', - 'gre_tunnel_configurations': 'greTunnelConfigurations', - 'radio_map': 'radioMap' - } - if hasattr(ProfileDetails, "attribute_map"): - attribute_map.update(ProfileDetails.attribute_map) - - def __init__(self, model_type=None, network_config_version=None, equipment_type=None, vlan_native=None, vlan=None, ntp_server=None, syslog_relay=None, rtls_settings=None, synthetic_client_enabled=None, led_control_enabled=None, equipment_discovery=None, gre_tunnel_configurations=None, radio_map=None, *args, **kwargs): # noqa: E501 - """ApNetworkConfiguration - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._network_config_version = None - self._equipment_type = None - self._vlan_native = None - self._vlan = None - self._ntp_server = None - self._syslog_relay = None - self._rtls_settings = None - self._synthetic_client_enabled = None - self._led_control_enabled = None - self._equipment_discovery = None - self._gre_tunnel_configurations = None - self._radio_map = None - self.discriminator = None - if model_type is not None: - self.model_type = model_type - if network_config_version is not None: - self.network_config_version = network_config_version - if equipment_type is not None: - self.equipment_type = equipment_type - if vlan_native is not None: - self.vlan_native = vlan_native - if vlan is not None: - self.vlan = vlan - if ntp_server is not None: - self.ntp_server = ntp_server - if syslog_relay is not None: - self.syslog_relay = syslog_relay - if rtls_settings is not None: - self.rtls_settings = rtls_settings - if synthetic_client_enabled is not None: - self.synthetic_client_enabled = synthetic_client_enabled - if led_control_enabled is not None: - self.led_control_enabled = led_control_enabled - if equipment_discovery is not None: - self.equipment_discovery = equipment_discovery - if gre_tunnel_configurations is not None: - self.gre_tunnel_configurations = gre_tunnel_configurations - if radio_map is not None: - self.radio_map = radio_map - ProfileDetails.__init__(self, *args, **kwargs) - - @property - def model_type(self): - """Gets the model_type of this ApNetworkConfiguration. # noqa: E501 - - - :return: The model_type of this ApNetworkConfiguration. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this ApNetworkConfiguration. - - - :param model_type: The model_type of this ApNetworkConfiguration. # noqa: E501 - :type: str - """ - allowed_values = ["ApNetworkConfiguration"] # noqa: E501 - if model_type not in allowed_values: - raise ValueError( - "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 - .format(model_type, allowed_values) - ) - - self._model_type = model_type - - @property - def network_config_version(self): - """Gets the network_config_version of this ApNetworkConfiguration. # noqa: E501 - - - :return: The network_config_version of this ApNetworkConfiguration. # noqa: E501 - :rtype: str - """ - return self._network_config_version - - @network_config_version.setter - def network_config_version(self, network_config_version): - """Sets the network_config_version of this ApNetworkConfiguration. - - - :param network_config_version: The network_config_version of this ApNetworkConfiguration. # noqa: E501 - :type: str - """ - allowed_values = ["AP-1"] # noqa: E501 - if network_config_version not in allowed_values: - raise ValueError( - "Invalid value for `network_config_version` ({0}), must be one of {1}" # noqa: E501 - .format(network_config_version, allowed_values) - ) - - self._network_config_version = network_config_version - - @property - def equipment_type(self): - """Gets the equipment_type of this ApNetworkConfiguration. # noqa: E501 - - - :return: The equipment_type of this ApNetworkConfiguration. # noqa: E501 - :rtype: str - """ - return self._equipment_type - - @equipment_type.setter - def equipment_type(self, equipment_type): - """Sets the equipment_type of this ApNetworkConfiguration. - - - :param equipment_type: The equipment_type of this ApNetworkConfiguration. # noqa: E501 - :type: str - """ - allowed_values = ["AP"] # noqa: E501 - if equipment_type not in allowed_values: - raise ValueError( - "Invalid value for `equipment_type` ({0}), must be one of {1}" # noqa: E501 - .format(equipment_type, allowed_values) - ) - - self._equipment_type = equipment_type - - @property - def vlan_native(self): - """Gets the vlan_native of this ApNetworkConfiguration. # noqa: E501 - - - :return: The vlan_native of this ApNetworkConfiguration. # noqa: E501 - :rtype: bool - """ - return self._vlan_native - - @vlan_native.setter - def vlan_native(self, vlan_native): - """Sets the vlan_native of this ApNetworkConfiguration. - - - :param vlan_native: The vlan_native of this ApNetworkConfiguration. # noqa: E501 - :type: bool - """ - - self._vlan_native = vlan_native - - @property - def vlan(self): - """Gets the vlan of this ApNetworkConfiguration. # noqa: E501 - - - :return: The vlan of this ApNetworkConfiguration. # noqa: E501 - :rtype: int - """ - return self._vlan - - @vlan.setter - def vlan(self, vlan): - """Sets the vlan of this ApNetworkConfiguration. - - - :param vlan: The vlan of this ApNetworkConfiguration. # noqa: E501 - :type: int - """ - - self._vlan = vlan - - @property - def ntp_server(self): - """Gets the ntp_server of this ApNetworkConfiguration. # noqa: E501 - - - :return: The ntp_server of this ApNetworkConfiguration. # noqa: E501 - :rtype: ApNetworkConfigurationNtpServer - """ - return self._ntp_server - - @ntp_server.setter - def ntp_server(self, ntp_server): - """Sets the ntp_server of this ApNetworkConfiguration. - - - :param ntp_server: The ntp_server of this ApNetworkConfiguration. # noqa: E501 - :type: ApNetworkConfigurationNtpServer - """ - - self._ntp_server = ntp_server - - @property - def syslog_relay(self): - """Gets the syslog_relay of this ApNetworkConfiguration. # noqa: E501 - - - :return: The syslog_relay of this ApNetworkConfiguration. # noqa: E501 - :rtype: SyslogRelay - """ - return self._syslog_relay - - @syslog_relay.setter - def syslog_relay(self, syslog_relay): - """Sets the syslog_relay of this ApNetworkConfiguration. - - - :param syslog_relay: The syslog_relay of this ApNetworkConfiguration. # noqa: E501 - :type: SyslogRelay - """ - - self._syslog_relay = syslog_relay - - @property - def rtls_settings(self): - """Gets the rtls_settings of this ApNetworkConfiguration. # noqa: E501 - - - :return: The rtls_settings of this ApNetworkConfiguration. # noqa: E501 - :rtype: RtlsSettings - """ - return self._rtls_settings - - @rtls_settings.setter - def rtls_settings(self, rtls_settings): - """Sets the rtls_settings of this ApNetworkConfiguration. - - - :param rtls_settings: The rtls_settings of this ApNetworkConfiguration. # noqa: E501 - :type: RtlsSettings - """ - - self._rtls_settings = rtls_settings - - @property - def synthetic_client_enabled(self): - """Gets the synthetic_client_enabled of this ApNetworkConfiguration. # noqa: E501 - - - :return: The synthetic_client_enabled of this ApNetworkConfiguration. # noqa: E501 - :rtype: bool - """ - return self._synthetic_client_enabled - - @synthetic_client_enabled.setter - def synthetic_client_enabled(self, synthetic_client_enabled): - """Sets the synthetic_client_enabled of this ApNetworkConfiguration. - - - :param synthetic_client_enabled: The synthetic_client_enabled of this ApNetworkConfiguration. # noqa: E501 - :type: bool - """ - - self._synthetic_client_enabled = synthetic_client_enabled - - @property - def led_control_enabled(self): - """Gets the led_control_enabled of this ApNetworkConfiguration. # noqa: E501 - - - :return: The led_control_enabled of this ApNetworkConfiguration. # noqa: E501 - :rtype: bool - """ - return self._led_control_enabled - - @led_control_enabled.setter - def led_control_enabled(self, led_control_enabled): - """Sets the led_control_enabled of this ApNetworkConfiguration. - - - :param led_control_enabled: The led_control_enabled of this ApNetworkConfiguration. # noqa: E501 - :type: bool - """ - - self._led_control_enabled = led_control_enabled - - @property - def equipment_discovery(self): - """Gets the equipment_discovery of this ApNetworkConfiguration. # noqa: E501 - - - :return: The equipment_discovery of this ApNetworkConfiguration. # noqa: E501 - :rtype: bool - """ - return self._equipment_discovery - - @equipment_discovery.setter - def equipment_discovery(self, equipment_discovery): - """Sets the equipment_discovery of this ApNetworkConfiguration. - - - :param equipment_discovery: The equipment_discovery of this ApNetworkConfiguration. # noqa: E501 - :type: bool - """ - - self._equipment_discovery = equipment_discovery - - @property - def gre_tunnel_configurations(self): - """Gets the gre_tunnel_configurations of this ApNetworkConfiguration. # noqa: E501 - - - :return: The gre_tunnel_configurations of this ApNetworkConfiguration. # noqa: E501 - :rtype: list[GreTunnelConfiguration] - """ - return self._gre_tunnel_configurations - - @gre_tunnel_configurations.setter - def gre_tunnel_configurations(self, gre_tunnel_configurations): - """Sets the gre_tunnel_configurations of this ApNetworkConfiguration. - - - :param gre_tunnel_configurations: The gre_tunnel_configurations of this ApNetworkConfiguration. # noqa: E501 - :type: list[GreTunnelConfiguration] - """ - - self._gre_tunnel_configurations = gre_tunnel_configurations - - @property - def radio_map(self): - """Gets the radio_map of this ApNetworkConfiguration. # noqa: E501 - - - :return: The radio_map of this ApNetworkConfiguration. # noqa: E501 - :rtype: RadioProfileConfigurationMap - """ - return self._radio_map - - @radio_map.setter - def radio_map(self, radio_map): - """Sets the radio_map of this ApNetworkConfiguration. - - - :param radio_map: The radio_map of this ApNetworkConfiguration. # noqa: E501 - :type: RadioProfileConfigurationMap - """ - - self._radio_map = radio_map - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ApNetworkConfiguration, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ApNetworkConfiguration): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/ap_network_configuration_ntp_server.py b/libs/cloudapi/cloudsdk/swagger_client/models/ap_network_configuration_ntp_server.py deleted file mode 100644 index 4aaa49a59..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/ap_network_configuration_ntp_server.py +++ /dev/null @@ -1,136 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ApNetworkConfigurationNtpServer(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'auto': 'bool', - 'value': 'str' - } - - attribute_map = { - 'auto': 'auto', - 'value': 'value' - } - - def __init__(self, auto=None, value='pool.ntp.org'): # noqa: E501 - """ApNetworkConfigurationNtpServer - a model defined in Swagger""" # noqa: E501 - self._auto = None - self._value = None - self.discriminator = None - if auto is not None: - self.auto = auto - if value is not None: - self.value = value - - @property - def auto(self): - """Gets the auto of this ApNetworkConfigurationNtpServer. # noqa: E501 - - - :return: The auto of this ApNetworkConfigurationNtpServer. # noqa: E501 - :rtype: bool - """ - return self._auto - - @auto.setter - def auto(self, auto): - """Sets the auto of this ApNetworkConfigurationNtpServer. - - - :param auto: The auto of this ApNetworkConfigurationNtpServer. # noqa: E501 - :type: bool - """ - - self._auto = auto - - @property - def value(self): - """Gets the value of this ApNetworkConfigurationNtpServer. # noqa: E501 - - - :return: The value of this ApNetworkConfigurationNtpServer. # noqa: E501 - :rtype: str - """ - return self._value - - @value.setter - def value(self, value): - """Sets the value of this ApNetworkConfigurationNtpServer. - - - :param value: The value of this ApNetworkConfigurationNtpServer. # noqa: E501 - :type: str - """ - - self._value = value - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ApNetworkConfigurationNtpServer, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ApNetworkConfigurationNtpServer): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/ap_node_metrics.py b/libs/cloudapi/cloudsdk/swagger_client/models/ap_node_metrics.py deleted file mode 100644 index e51220f0d..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/ap_node_metrics.py +++ /dev/null @@ -1,555 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ApNodeMetrics(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'period_length_sec': 'int', - 'client_mac_addresses_per_radio': 'ListOfMacsPerRadioMap', - 'tx_bytes_per_radio': 'LongPerRadioTypeMap', - 'rx_bytes_per_radio': 'LongPerRadioTypeMap', - 'noise_floor_per_radio': 'IntegerPerRadioTypeMap', - 'tunnel_metrics': 'list[TunnelMetricData]', - 'network_probe_metrics': 'list[NetworkProbeMetrics]', - 'radius_metrics': 'list[RadiusMetrics]', - 'cloud_link_availability': 'int', - 'cloud_link_latency_in_ms': 'int', - 'channel_utilization_per_radio': 'IntegerPerRadioTypeMap', - 'ap_performance': 'ApPerformance', - 'vlan_subnet': 'list[VlanSubnet]', - 'radio_utilization_per_radio': 'ListOfRadioUtilizationPerRadioMap', - 'radio_stats_per_radio': 'RadioStatisticsPerRadioMap', - 'mcs_stats_per_radio': 'ListOfMcsStatsPerRadioMap', - 'wmm_queues_per_radio': 'MapOfWmmQueueStatsPerRadioMap' - } - - attribute_map = { - 'model_type': 'model_type', - 'period_length_sec': 'periodLengthSec', - 'client_mac_addresses_per_radio': 'clientMacAddressesPerRadio', - 'tx_bytes_per_radio': 'txBytesPerRadio', - 'rx_bytes_per_radio': 'rxBytesPerRadio', - 'noise_floor_per_radio': 'noiseFloorPerRadio', - 'tunnel_metrics': 'tunnelMetrics', - 'network_probe_metrics': 'networkProbeMetrics', - 'radius_metrics': 'radiusMetrics', - 'cloud_link_availability': 'cloudLinkAvailability', - 'cloud_link_latency_in_ms': 'cloudLinkLatencyInMs', - 'channel_utilization_per_radio': 'channelUtilizationPerRadio', - 'ap_performance': 'apPerformance', - 'vlan_subnet': 'vlanSubnet', - 'radio_utilization_per_radio': 'radioUtilizationPerRadio', - 'radio_stats_per_radio': 'radioStatsPerRadio', - 'mcs_stats_per_radio': 'mcsStatsPerRadio', - 'wmm_queues_per_radio': 'wmmQueuesPerRadio' - } - - def __init__(self, model_type=None, period_length_sec=None, client_mac_addresses_per_radio=None, tx_bytes_per_radio=None, rx_bytes_per_radio=None, noise_floor_per_radio=None, tunnel_metrics=None, network_probe_metrics=None, radius_metrics=None, cloud_link_availability=None, cloud_link_latency_in_ms=None, channel_utilization_per_radio=None, ap_performance=None, vlan_subnet=None, radio_utilization_per_radio=None, radio_stats_per_radio=None, mcs_stats_per_radio=None, wmm_queues_per_radio=None): # noqa: E501 - """ApNodeMetrics - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._period_length_sec = None - self._client_mac_addresses_per_radio = None - self._tx_bytes_per_radio = None - self._rx_bytes_per_radio = None - self._noise_floor_per_radio = None - self._tunnel_metrics = None - self._network_probe_metrics = None - self._radius_metrics = None - self._cloud_link_availability = None - self._cloud_link_latency_in_ms = None - self._channel_utilization_per_radio = None - self._ap_performance = None - self._vlan_subnet = None - self._radio_utilization_per_radio = None - self._radio_stats_per_radio = None - self._mcs_stats_per_radio = None - self._wmm_queues_per_radio = None - self.discriminator = None - self.model_type = model_type - if period_length_sec is not None: - self.period_length_sec = period_length_sec - if client_mac_addresses_per_radio is not None: - self.client_mac_addresses_per_radio = client_mac_addresses_per_radio - if tx_bytes_per_radio is not None: - self.tx_bytes_per_radio = tx_bytes_per_radio - if rx_bytes_per_radio is not None: - self.rx_bytes_per_radio = rx_bytes_per_radio - if noise_floor_per_radio is not None: - self.noise_floor_per_radio = noise_floor_per_radio - if tunnel_metrics is not None: - self.tunnel_metrics = tunnel_metrics - if network_probe_metrics is not None: - self.network_probe_metrics = network_probe_metrics - if radius_metrics is not None: - self.radius_metrics = radius_metrics - if cloud_link_availability is not None: - self.cloud_link_availability = cloud_link_availability - if cloud_link_latency_in_ms is not None: - self.cloud_link_latency_in_ms = cloud_link_latency_in_ms - if channel_utilization_per_radio is not None: - self.channel_utilization_per_radio = channel_utilization_per_radio - if ap_performance is not None: - self.ap_performance = ap_performance - if vlan_subnet is not None: - self.vlan_subnet = vlan_subnet - if radio_utilization_per_radio is not None: - self.radio_utilization_per_radio = radio_utilization_per_radio - if radio_stats_per_radio is not None: - self.radio_stats_per_radio = radio_stats_per_radio - if mcs_stats_per_radio is not None: - self.mcs_stats_per_radio = mcs_stats_per_radio - if wmm_queues_per_radio is not None: - self.wmm_queues_per_radio = wmm_queues_per_radio - - @property - def model_type(self): - """Gets the model_type of this ApNodeMetrics. # noqa: E501 - - - :return: The model_type of this ApNodeMetrics. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this ApNodeMetrics. - - - :param model_type: The model_type of this ApNodeMetrics. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - - self._model_type = model_type - - @property - def period_length_sec(self): - """Gets the period_length_sec of this ApNodeMetrics. # noqa: E501 - - How many seconds the AP measured for the metric # noqa: E501 - - :return: The period_length_sec of this ApNodeMetrics. # noqa: E501 - :rtype: int - """ - return self._period_length_sec - - @period_length_sec.setter - def period_length_sec(self, period_length_sec): - """Sets the period_length_sec of this ApNodeMetrics. - - How many seconds the AP measured for the metric # noqa: E501 - - :param period_length_sec: The period_length_sec of this ApNodeMetrics. # noqa: E501 - :type: int - """ - - self._period_length_sec = period_length_sec - - @property - def client_mac_addresses_per_radio(self): - """Gets the client_mac_addresses_per_radio of this ApNodeMetrics. # noqa: E501 - - - :return: The client_mac_addresses_per_radio of this ApNodeMetrics. # noqa: E501 - :rtype: ListOfMacsPerRadioMap - """ - return self._client_mac_addresses_per_radio - - @client_mac_addresses_per_radio.setter - def client_mac_addresses_per_radio(self, client_mac_addresses_per_radio): - """Sets the client_mac_addresses_per_radio of this ApNodeMetrics. - - - :param client_mac_addresses_per_radio: The client_mac_addresses_per_radio of this ApNodeMetrics. # noqa: E501 - :type: ListOfMacsPerRadioMap - """ - - self._client_mac_addresses_per_radio = client_mac_addresses_per_radio - - @property - def tx_bytes_per_radio(self): - """Gets the tx_bytes_per_radio of this ApNodeMetrics. # noqa: E501 - - - :return: The tx_bytes_per_radio of this ApNodeMetrics. # noqa: E501 - :rtype: LongPerRadioTypeMap - """ - return self._tx_bytes_per_radio - - @tx_bytes_per_radio.setter - def tx_bytes_per_radio(self, tx_bytes_per_radio): - """Sets the tx_bytes_per_radio of this ApNodeMetrics. - - - :param tx_bytes_per_radio: The tx_bytes_per_radio of this ApNodeMetrics. # noqa: E501 - :type: LongPerRadioTypeMap - """ - - self._tx_bytes_per_radio = tx_bytes_per_radio - - @property - def rx_bytes_per_radio(self): - """Gets the rx_bytes_per_radio of this ApNodeMetrics. # noqa: E501 - - - :return: The rx_bytes_per_radio of this ApNodeMetrics. # noqa: E501 - :rtype: LongPerRadioTypeMap - """ - return self._rx_bytes_per_radio - - @rx_bytes_per_radio.setter - def rx_bytes_per_radio(self, rx_bytes_per_radio): - """Sets the rx_bytes_per_radio of this ApNodeMetrics. - - - :param rx_bytes_per_radio: The rx_bytes_per_radio of this ApNodeMetrics. # noqa: E501 - :type: LongPerRadioTypeMap - """ - - self._rx_bytes_per_radio = rx_bytes_per_radio - - @property - def noise_floor_per_radio(self): - """Gets the noise_floor_per_radio of this ApNodeMetrics. # noqa: E501 - - - :return: The noise_floor_per_radio of this ApNodeMetrics. # noqa: E501 - :rtype: IntegerPerRadioTypeMap - """ - return self._noise_floor_per_radio - - @noise_floor_per_radio.setter - def noise_floor_per_radio(self, noise_floor_per_radio): - """Sets the noise_floor_per_radio of this ApNodeMetrics. - - - :param noise_floor_per_radio: The noise_floor_per_radio of this ApNodeMetrics. # noqa: E501 - :type: IntegerPerRadioTypeMap - """ - - self._noise_floor_per_radio = noise_floor_per_radio - - @property - def tunnel_metrics(self): - """Gets the tunnel_metrics of this ApNodeMetrics. # noqa: E501 - - - :return: The tunnel_metrics of this ApNodeMetrics. # noqa: E501 - :rtype: list[TunnelMetricData] - """ - return self._tunnel_metrics - - @tunnel_metrics.setter - def tunnel_metrics(self, tunnel_metrics): - """Sets the tunnel_metrics of this ApNodeMetrics. - - - :param tunnel_metrics: The tunnel_metrics of this ApNodeMetrics. # noqa: E501 - :type: list[TunnelMetricData] - """ - - self._tunnel_metrics = tunnel_metrics - - @property - def network_probe_metrics(self): - """Gets the network_probe_metrics of this ApNodeMetrics. # noqa: E501 - - - :return: The network_probe_metrics of this ApNodeMetrics. # noqa: E501 - :rtype: list[NetworkProbeMetrics] - """ - return self._network_probe_metrics - - @network_probe_metrics.setter - def network_probe_metrics(self, network_probe_metrics): - """Sets the network_probe_metrics of this ApNodeMetrics. - - - :param network_probe_metrics: The network_probe_metrics of this ApNodeMetrics. # noqa: E501 - :type: list[NetworkProbeMetrics] - """ - - self._network_probe_metrics = network_probe_metrics - - @property - def radius_metrics(self): - """Gets the radius_metrics of this ApNodeMetrics. # noqa: E501 - - - :return: The radius_metrics of this ApNodeMetrics. # noqa: E501 - :rtype: list[RadiusMetrics] - """ - return self._radius_metrics - - @radius_metrics.setter - def radius_metrics(self, radius_metrics): - """Sets the radius_metrics of this ApNodeMetrics. - - - :param radius_metrics: The radius_metrics of this ApNodeMetrics. # noqa: E501 - :type: list[RadiusMetrics] - """ - - self._radius_metrics = radius_metrics - - @property - def cloud_link_availability(self): - """Gets the cloud_link_availability of this ApNodeMetrics. # noqa: E501 - - - :return: The cloud_link_availability of this ApNodeMetrics. # noqa: E501 - :rtype: int - """ - return self._cloud_link_availability - - @cloud_link_availability.setter - def cloud_link_availability(self, cloud_link_availability): - """Sets the cloud_link_availability of this ApNodeMetrics. - - - :param cloud_link_availability: The cloud_link_availability of this ApNodeMetrics. # noqa: E501 - :type: int - """ - - self._cloud_link_availability = cloud_link_availability - - @property - def cloud_link_latency_in_ms(self): - """Gets the cloud_link_latency_in_ms of this ApNodeMetrics. # noqa: E501 - - - :return: The cloud_link_latency_in_ms of this ApNodeMetrics. # noqa: E501 - :rtype: int - """ - return self._cloud_link_latency_in_ms - - @cloud_link_latency_in_ms.setter - def cloud_link_latency_in_ms(self, cloud_link_latency_in_ms): - """Sets the cloud_link_latency_in_ms of this ApNodeMetrics. - - - :param cloud_link_latency_in_ms: The cloud_link_latency_in_ms of this ApNodeMetrics. # noqa: E501 - :type: int - """ - - self._cloud_link_latency_in_ms = cloud_link_latency_in_ms - - @property - def channel_utilization_per_radio(self): - """Gets the channel_utilization_per_radio of this ApNodeMetrics. # noqa: E501 - - - :return: The channel_utilization_per_radio of this ApNodeMetrics. # noqa: E501 - :rtype: IntegerPerRadioTypeMap - """ - return self._channel_utilization_per_radio - - @channel_utilization_per_radio.setter - def channel_utilization_per_radio(self, channel_utilization_per_radio): - """Sets the channel_utilization_per_radio of this ApNodeMetrics. - - - :param channel_utilization_per_radio: The channel_utilization_per_radio of this ApNodeMetrics. # noqa: E501 - :type: IntegerPerRadioTypeMap - """ - - self._channel_utilization_per_radio = channel_utilization_per_radio - - @property - def ap_performance(self): - """Gets the ap_performance of this ApNodeMetrics. # noqa: E501 - - - :return: The ap_performance of this ApNodeMetrics. # noqa: E501 - :rtype: ApPerformance - """ - return self._ap_performance - - @ap_performance.setter - def ap_performance(self, ap_performance): - """Sets the ap_performance of this ApNodeMetrics. - - - :param ap_performance: The ap_performance of this ApNodeMetrics. # noqa: E501 - :type: ApPerformance - """ - - self._ap_performance = ap_performance - - @property - def vlan_subnet(self): - """Gets the vlan_subnet of this ApNodeMetrics. # noqa: E501 - - - :return: The vlan_subnet of this ApNodeMetrics. # noqa: E501 - :rtype: list[VlanSubnet] - """ - return self._vlan_subnet - - @vlan_subnet.setter - def vlan_subnet(self, vlan_subnet): - """Sets the vlan_subnet of this ApNodeMetrics. - - - :param vlan_subnet: The vlan_subnet of this ApNodeMetrics. # noqa: E501 - :type: list[VlanSubnet] - """ - - self._vlan_subnet = vlan_subnet - - @property - def radio_utilization_per_radio(self): - """Gets the radio_utilization_per_radio of this ApNodeMetrics. # noqa: E501 - - - :return: The radio_utilization_per_radio of this ApNodeMetrics. # noqa: E501 - :rtype: ListOfRadioUtilizationPerRadioMap - """ - return self._radio_utilization_per_radio - - @radio_utilization_per_radio.setter - def radio_utilization_per_radio(self, radio_utilization_per_radio): - """Sets the radio_utilization_per_radio of this ApNodeMetrics. - - - :param radio_utilization_per_radio: The radio_utilization_per_radio of this ApNodeMetrics. # noqa: E501 - :type: ListOfRadioUtilizationPerRadioMap - """ - - self._radio_utilization_per_radio = radio_utilization_per_radio - - @property - def radio_stats_per_radio(self): - """Gets the radio_stats_per_radio of this ApNodeMetrics. # noqa: E501 - - - :return: The radio_stats_per_radio of this ApNodeMetrics. # noqa: E501 - :rtype: RadioStatisticsPerRadioMap - """ - return self._radio_stats_per_radio - - @radio_stats_per_radio.setter - def radio_stats_per_radio(self, radio_stats_per_radio): - """Sets the radio_stats_per_radio of this ApNodeMetrics. - - - :param radio_stats_per_radio: The radio_stats_per_radio of this ApNodeMetrics. # noqa: E501 - :type: RadioStatisticsPerRadioMap - """ - - self._radio_stats_per_radio = radio_stats_per_radio - - @property - def mcs_stats_per_radio(self): - """Gets the mcs_stats_per_radio of this ApNodeMetrics. # noqa: E501 - - - :return: The mcs_stats_per_radio of this ApNodeMetrics. # noqa: E501 - :rtype: ListOfMcsStatsPerRadioMap - """ - return self._mcs_stats_per_radio - - @mcs_stats_per_radio.setter - def mcs_stats_per_radio(self, mcs_stats_per_radio): - """Sets the mcs_stats_per_radio of this ApNodeMetrics. - - - :param mcs_stats_per_radio: The mcs_stats_per_radio of this ApNodeMetrics. # noqa: E501 - :type: ListOfMcsStatsPerRadioMap - """ - - self._mcs_stats_per_radio = mcs_stats_per_radio - - @property - def wmm_queues_per_radio(self): - """Gets the wmm_queues_per_radio of this ApNodeMetrics. # noqa: E501 - - - :return: The wmm_queues_per_radio of this ApNodeMetrics. # noqa: E501 - :rtype: MapOfWmmQueueStatsPerRadioMap - """ - return self._wmm_queues_per_radio - - @wmm_queues_per_radio.setter - def wmm_queues_per_radio(self, wmm_queues_per_radio): - """Sets the wmm_queues_per_radio of this ApNodeMetrics. - - - :param wmm_queues_per_radio: The wmm_queues_per_radio of this ApNodeMetrics. # noqa: E501 - :type: MapOfWmmQueueStatsPerRadioMap - """ - - self._wmm_queues_per_radio = wmm_queues_per_radio - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ApNodeMetrics, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ApNodeMetrics): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/ap_performance.py b/libs/cloudapi/cloudsdk/swagger_client/models/ap_performance.py deleted file mode 100644 index d858e56c1..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/ap_performance.py +++ /dev/null @@ -1,386 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ApPerformance(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'free_memory': 'int', - 'cpu_utilized': 'list[int]', - 'up_time': 'int', - 'cami_crashed': 'int', - 'cpu_temperature': 'int', - 'low_memory_reboot': 'bool', - 'eth_link_state': 'EthernetLinkState', - 'cloud_tx_bytes': 'int', - 'cloud_rx_bytes': 'int', - 'ps_cpu_util': 'list[PerProcessUtilization]', - 'ps_mem_util': 'list[PerProcessUtilization]' - } - - attribute_map = { - 'free_memory': 'freeMemory', - 'cpu_utilized': 'cpuUtilized', - 'up_time': 'upTime', - 'cami_crashed': 'camiCrashed', - 'cpu_temperature': 'cpuTemperature', - 'low_memory_reboot': 'lowMemoryReboot', - 'eth_link_state': 'ethLinkState', - 'cloud_tx_bytes': 'cloudTxBytes', - 'cloud_rx_bytes': 'cloudRxBytes', - 'ps_cpu_util': 'psCpuUtil', - 'ps_mem_util': 'psMemUtil' - } - - def __init__(self, free_memory=None, cpu_utilized=None, up_time=None, cami_crashed=None, cpu_temperature=None, low_memory_reboot=None, eth_link_state=None, cloud_tx_bytes=None, cloud_rx_bytes=None, ps_cpu_util=None, ps_mem_util=None): # noqa: E501 - """ApPerformance - a model defined in Swagger""" # noqa: E501 - self._free_memory = None - self._cpu_utilized = None - self._up_time = None - self._cami_crashed = None - self._cpu_temperature = None - self._low_memory_reboot = None - self._eth_link_state = None - self._cloud_tx_bytes = None - self._cloud_rx_bytes = None - self._ps_cpu_util = None - self._ps_mem_util = None - self.discriminator = None - if free_memory is not None: - self.free_memory = free_memory - if cpu_utilized is not None: - self.cpu_utilized = cpu_utilized - if up_time is not None: - self.up_time = up_time - if cami_crashed is not None: - self.cami_crashed = cami_crashed - if cpu_temperature is not None: - self.cpu_temperature = cpu_temperature - if low_memory_reboot is not None: - self.low_memory_reboot = low_memory_reboot - if eth_link_state is not None: - self.eth_link_state = eth_link_state - if cloud_tx_bytes is not None: - self.cloud_tx_bytes = cloud_tx_bytes - if cloud_rx_bytes is not None: - self.cloud_rx_bytes = cloud_rx_bytes - if ps_cpu_util is not None: - self.ps_cpu_util = ps_cpu_util - if ps_mem_util is not None: - self.ps_mem_util = ps_mem_util - - @property - def free_memory(self): - """Gets the free_memory of this ApPerformance. # noqa: E501 - - free memory in kilobytes # noqa: E501 - - :return: The free_memory of this ApPerformance. # noqa: E501 - :rtype: int - """ - return self._free_memory - - @free_memory.setter - def free_memory(self, free_memory): - """Sets the free_memory of this ApPerformance. - - free memory in kilobytes # noqa: E501 - - :param free_memory: The free_memory of this ApPerformance. # noqa: E501 - :type: int - """ - - self._free_memory = free_memory - - @property - def cpu_utilized(self): - """Gets the cpu_utilized of this ApPerformance. # noqa: E501 - - CPU utilization in percentage, one per core # noqa: E501 - - :return: The cpu_utilized of this ApPerformance. # noqa: E501 - :rtype: list[int] - """ - return self._cpu_utilized - - @cpu_utilized.setter - def cpu_utilized(self, cpu_utilized): - """Sets the cpu_utilized of this ApPerformance. - - CPU utilization in percentage, one per core # noqa: E501 - - :param cpu_utilized: The cpu_utilized of this ApPerformance. # noqa: E501 - :type: list[int] - """ - - self._cpu_utilized = cpu_utilized - - @property - def up_time(self): - """Gets the up_time of this ApPerformance. # noqa: E501 - - AP uptime in seconds # noqa: E501 - - :return: The up_time of this ApPerformance. # noqa: E501 - :rtype: int - """ - return self._up_time - - @up_time.setter - def up_time(self, up_time): - """Sets the up_time of this ApPerformance. - - AP uptime in seconds # noqa: E501 - - :param up_time: The up_time of this ApPerformance. # noqa: E501 - :type: int - """ - - self._up_time = up_time - - @property - def cami_crashed(self): - """Gets the cami_crashed of this ApPerformance. # noqa: E501 - - number of time cloud-to-ap-management process crashed # noqa: E501 - - :return: The cami_crashed of this ApPerformance. # noqa: E501 - :rtype: int - """ - return self._cami_crashed - - @cami_crashed.setter - def cami_crashed(self, cami_crashed): - """Sets the cami_crashed of this ApPerformance. - - number of time cloud-to-ap-management process crashed # noqa: E501 - - :param cami_crashed: The cami_crashed of this ApPerformance. # noqa: E501 - :type: int - """ - - self._cami_crashed = cami_crashed - - @property - def cpu_temperature(self): - """Gets the cpu_temperature of this ApPerformance. # noqa: E501 - - cpu temperature in Celsius # noqa: E501 - - :return: The cpu_temperature of this ApPerformance. # noqa: E501 - :rtype: int - """ - return self._cpu_temperature - - @cpu_temperature.setter - def cpu_temperature(self, cpu_temperature): - """Sets the cpu_temperature of this ApPerformance. - - cpu temperature in Celsius # noqa: E501 - - :param cpu_temperature: The cpu_temperature of this ApPerformance. # noqa: E501 - :type: int - """ - - self._cpu_temperature = cpu_temperature - - @property - def low_memory_reboot(self): - """Gets the low_memory_reboot of this ApPerformance. # noqa: E501 - - low memory reboot happened # noqa: E501 - - :return: The low_memory_reboot of this ApPerformance. # noqa: E501 - :rtype: bool - """ - return self._low_memory_reboot - - @low_memory_reboot.setter - def low_memory_reboot(self, low_memory_reboot): - """Sets the low_memory_reboot of this ApPerformance. - - low memory reboot happened # noqa: E501 - - :param low_memory_reboot: The low_memory_reboot of this ApPerformance. # noqa: E501 - :type: bool - """ - - self._low_memory_reboot = low_memory_reboot - - @property - def eth_link_state(self): - """Gets the eth_link_state of this ApPerformance. # noqa: E501 - - - :return: The eth_link_state of this ApPerformance. # noqa: E501 - :rtype: EthernetLinkState - """ - return self._eth_link_state - - @eth_link_state.setter - def eth_link_state(self, eth_link_state): - """Sets the eth_link_state of this ApPerformance. - - - :param eth_link_state: The eth_link_state of this ApPerformance. # noqa: E501 - :type: EthernetLinkState - """ - - self._eth_link_state = eth_link_state - - @property - def cloud_tx_bytes(self): - """Gets the cloud_tx_bytes of this ApPerformance. # noqa: E501 - - Data sent by AP to the cloud # noqa: E501 - - :return: The cloud_tx_bytes of this ApPerformance. # noqa: E501 - :rtype: int - """ - return self._cloud_tx_bytes - - @cloud_tx_bytes.setter - def cloud_tx_bytes(self, cloud_tx_bytes): - """Sets the cloud_tx_bytes of this ApPerformance. - - Data sent by AP to the cloud # noqa: E501 - - :param cloud_tx_bytes: The cloud_tx_bytes of this ApPerformance. # noqa: E501 - :type: int - """ - - self._cloud_tx_bytes = cloud_tx_bytes - - @property - def cloud_rx_bytes(self): - """Gets the cloud_rx_bytes of this ApPerformance. # noqa: E501 - - Data received by AP from cloud # noqa: E501 - - :return: The cloud_rx_bytes of this ApPerformance. # noqa: E501 - :rtype: int - """ - return self._cloud_rx_bytes - - @cloud_rx_bytes.setter - def cloud_rx_bytes(self, cloud_rx_bytes): - """Sets the cloud_rx_bytes of this ApPerformance. - - Data received by AP from cloud # noqa: E501 - - :param cloud_rx_bytes: The cloud_rx_bytes of this ApPerformance. # noqa: E501 - :type: int - """ - - self._cloud_rx_bytes = cloud_rx_bytes - - @property - def ps_cpu_util(self): - """Gets the ps_cpu_util of this ApPerformance. # noqa: E501 - - - :return: The ps_cpu_util of this ApPerformance. # noqa: E501 - :rtype: list[PerProcessUtilization] - """ - return self._ps_cpu_util - - @ps_cpu_util.setter - def ps_cpu_util(self, ps_cpu_util): - """Sets the ps_cpu_util of this ApPerformance. - - - :param ps_cpu_util: The ps_cpu_util of this ApPerformance. # noqa: E501 - :type: list[PerProcessUtilization] - """ - - self._ps_cpu_util = ps_cpu_util - - @property - def ps_mem_util(self): - """Gets the ps_mem_util of this ApPerformance. # noqa: E501 - - - :return: The ps_mem_util of this ApPerformance. # noqa: E501 - :rtype: list[PerProcessUtilization] - """ - return self._ps_mem_util - - @ps_mem_util.setter - def ps_mem_util(self, ps_mem_util): - """Sets the ps_mem_util of this ApPerformance. - - - :param ps_mem_util: The ps_mem_util of this ApPerformance. # noqa: E501 - :type: list[PerProcessUtilization] - """ - - self._ps_mem_util = ps_mem_util - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ApPerformance, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ApPerformance): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/ap_ssid_metrics.py b/libs/cloudapi/cloudsdk/swagger_client/models/ap_ssid_metrics.py deleted file mode 100644 index 7307434d8..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/ap_ssid_metrics.py +++ /dev/null @@ -1,137 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ApSsidMetrics(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'ssid_stats': 'ListOfSsidStatisticsPerRadioMap' - } - - attribute_map = { - 'model_type': 'model_type', - 'ssid_stats': 'ssidStats' - } - - def __init__(self, model_type=None, ssid_stats=None): # noqa: E501 - """ApSsidMetrics - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._ssid_stats = None - self.discriminator = None - self.model_type = model_type - if ssid_stats is not None: - self.ssid_stats = ssid_stats - - @property - def model_type(self): - """Gets the model_type of this ApSsidMetrics. # noqa: E501 - - - :return: The model_type of this ApSsidMetrics. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this ApSsidMetrics. - - - :param model_type: The model_type of this ApSsidMetrics. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - - self._model_type = model_type - - @property - def ssid_stats(self): - """Gets the ssid_stats of this ApSsidMetrics. # noqa: E501 - - - :return: The ssid_stats of this ApSsidMetrics. # noqa: E501 - :rtype: ListOfSsidStatisticsPerRadioMap - """ - return self._ssid_stats - - @ssid_stats.setter - def ssid_stats(self, ssid_stats): - """Sets the ssid_stats of this ApSsidMetrics. - - - :param ssid_stats: The ssid_stats of this ApSsidMetrics. # noqa: E501 - :type: ListOfSsidStatisticsPerRadioMap - """ - - self._ssid_stats = ssid_stats - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ApSsidMetrics, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ApSsidMetrics): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/auto_or_manual_string.py b/libs/cloudapi/cloudsdk/swagger_client/models/auto_or_manual_string.py deleted file mode 100644 index 9e02a99d0..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/auto_or_manual_string.py +++ /dev/null @@ -1,136 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class AutoOrManualString(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'auto': 'bool', - 'value': 'str' - } - - attribute_map = { - 'auto': 'auto', - 'value': 'value' - } - - def __init__(self, auto=None, value=None): # noqa: E501 - """AutoOrManualString - a model defined in Swagger""" # noqa: E501 - self._auto = None - self._value = None - self.discriminator = None - if auto is not None: - self.auto = auto - if value is not None: - self.value = value - - @property - def auto(self): - """Gets the auto of this AutoOrManualString. # noqa: E501 - - - :return: The auto of this AutoOrManualString. # noqa: E501 - :rtype: bool - """ - return self._auto - - @auto.setter - def auto(self, auto): - """Sets the auto of this AutoOrManualString. - - - :param auto: The auto of this AutoOrManualString. # noqa: E501 - :type: bool - """ - - self._auto = auto - - @property - def value(self): - """Gets the value of this AutoOrManualString. # noqa: E501 - - - :return: The value of this AutoOrManualString. # noqa: E501 - :rtype: str - """ - return self._value - - @value.setter - def value(self, value): - """Sets the value of this AutoOrManualString. - - - :param value: The value of this AutoOrManualString. # noqa: E501 - :type: str - """ - - self._value = value - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(AutoOrManualString, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, AutoOrManualString): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/auto_or_manual_value.py b/libs/cloudapi/cloudsdk/swagger_client/models/auto_or_manual_value.py deleted file mode 100644 index 181949106..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/auto_or_manual_value.py +++ /dev/null @@ -1,136 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class AutoOrManualValue(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'auto': 'bool', - 'value': 'int' - } - - attribute_map = { - 'auto': 'auto', - 'value': 'value' - } - - def __init__(self, auto=None, value=None): # noqa: E501 - """AutoOrManualValue - a model defined in Swagger""" # noqa: E501 - self._auto = None - self._value = None - self.discriminator = None - if auto is not None: - self.auto = auto - if value is not None: - self.value = value - - @property - def auto(self): - """Gets the auto of this AutoOrManualValue. # noqa: E501 - - - :return: The auto of this AutoOrManualValue. # noqa: E501 - :rtype: bool - """ - return self._auto - - @auto.setter - def auto(self, auto): - """Sets the auto of this AutoOrManualValue. - - - :param auto: The auto of this AutoOrManualValue. # noqa: E501 - :type: bool - """ - - self._auto = auto - - @property - def value(self): - """Gets the value of this AutoOrManualValue. # noqa: E501 - - - :return: The value of this AutoOrManualValue. # noqa: E501 - :rtype: int - """ - return self._value - - @value.setter - def value(self, value): - """Sets the value of this AutoOrManualValue. - - - :param value: The value of this AutoOrManualValue. # noqa: E501 - :type: int - """ - - self._value = value - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(AutoOrManualValue, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, AutoOrManualValue): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/background_position.py b/libs/cloudapi/cloudsdk/swagger_client/models/background_position.py deleted file mode 100644 index db6cd6b2c..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/background_position.py +++ /dev/null @@ -1,97 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class BackgroundPosition(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - LEFT_TOP = "left_top" - LEFT_CENTER = "left_center" - LEFT_BOTTOM = "left_bottom" - RIGHT_TOP = "right_top" - RIGHT_CENTER = "right_center" - RIGHT_BOTTOM = "right_bottom" - CENTER_TOP = "center_top" - CENTER_CENTER = "center_center" - CENTER_BOTTOM = "center_bottom" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """BackgroundPosition - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(BackgroundPosition, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, BackgroundPosition): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/background_repeat.py b/libs/cloudapi/cloudsdk/swagger_client/models/background_repeat.py deleted file mode 100644 index 2db796f53..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/background_repeat.py +++ /dev/null @@ -1,95 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class BackgroundRepeat(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - REPEAT_X = "repeat_x" - REPEAT_Y = "repeat_y" - REPEAT = "repeat" - SPACE = "space" - ROUND = "round" - NO_REPEAT = "no_repeat" - COVER = "cover" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """BackgroundRepeat - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(BackgroundRepeat, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, BackgroundRepeat): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/banned_channel.py b/libs/cloudapi/cloudsdk/swagger_client/models/banned_channel.py deleted file mode 100644 index cb7bf12f1..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/banned_channel.py +++ /dev/null @@ -1,136 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class BannedChannel(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'channel_number': 'int', - 'banned_on_epoc': 'int' - } - - attribute_map = { - 'channel_number': 'channelNumber', - 'banned_on_epoc': 'bannedOnEpoc' - } - - def __init__(self, channel_number=None, banned_on_epoc=None): # noqa: E501 - """BannedChannel - a model defined in Swagger""" # noqa: E501 - self._channel_number = None - self._banned_on_epoc = None - self.discriminator = None - if channel_number is not None: - self.channel_number = channel_number - if banned_on_epoc is not None: - self.banned_on_epoc = banned_on_epoc - - @property - def channel_number(self): - """Gets the channel_number of this BannedChannel. # noqa: E501 - - - :return: The channel_number of this BannedChannel. # noqa: E501 - :rtype: int - """ - return self._channel_number - - @channel_number.setter - def channel_number(self, channel_number): - """Sets the channel_number of this BannedChannel. - - - :param channel_number: The channel_number of this BannedChannel. # noqa: E501 - :type: int - """ - - self._channel_number = channel_number - - @property - def banned_on_epoc(self): - """Gets the banned_on_epoc of this BannedChannel. # noqa: E501 - - - :return: The banned_on_epoc of this BannedChannel. # noqa: E501 - :rtype: int - """ - return self._banned_on_epoc - - @banned_on_epoc.setter - def banned_on_epoc(self, banned_on_epoc): - """Sets the banned_on_epoc of this BannedChannel. - - - :param banned_on_epoc: The banned_on_epoc of this BannedChannel. # noqa: E501 - :type: int - """ - - self._banned_on_epoc = banned_on_epoc - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(BannedChannel, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, BannedChannel): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/base_dhcp_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/base_dhcp_event.py deleted file mode 100644 index 9f2dcbe33..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/base_dhcp_event.py +++ /dev/null @@ -1,377 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class BaseDhcpEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'all_of': 'SystemEvent', - 'x_id': 'int', - 'vlan_id': 'int', - 'dhcp_server_ip': 'str', - 'client_ip': 'str', - 'relay_ip': 'str', - 'client_mac_address': 'MacAddress', - 'session_id': 'int', - 'customer_id': 'int', - 'equipment_id': 'int' - } - - attribute_map = { - 'model_type': 'model_type', - 'all_of': 'allOf', - 'x_id': 'xId', - 'vlan_id': 'vlanId', - 'dhcp_server_ip': 'dhcpServerIp', - 'client_ip': 'clientIp', - 'relay_ip': 'relayIp', - 'client_mac_address': 'clientMacAddress', - 'session_id': 'sessionId', - 'customer_id': 'customerId', - 'equipment_id': 'equipmentId' - } - - def __init__(self, model_type=None, all_of=None, x_id=None, vlan_id=None, dhcp_server_ip=None, client_ip=None, relay_ip=None, client_mac_address=None, session_id=None, customer_id=None, equipment_id=None): # noqa: E501 - """BaseDhcpEvent - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._all_of = None - self._x_id = None - self._vlan_id = None - self._dhcp_server_ip = None - self._client_ip = None - self._relay_ip = None - self._client_mac_address = None - self._session_id = None - self._customer_id = None - self._equipment_id = None - self.discriminator = None - self.model_type = model_type - if all_of is not None: - self.all_of = all_of - if x_id is not None: - self.x_id = x_id - if vlan_id is not None: - self.vlan_id = vlan_id - if dhcp_server_ip is not None: - self.dhcp_server_ip = dhcp_server_ip - if client_ip is not None: - self.client_ip = client_ip - if relay_ip is not None: - self.relay_ip = relay_ip - if client_mac_address is not None: - self.client_mac_address = client_mac_address - if session_id is not None: - self.session_id = session_id - if customer_id is not None: - self.customer_id = customer_id - if equipment_id is not None: - self.equipment_id = equipment_id - - @property - def model_type(self): - """Gets the model_type of this BaseDhcpEvent. # noqa: E501 - - - :return: The model_type of this BaseDhcpEvent. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this BaseDhcpEvent. - - - :param model_type: The model_type of this BaseDhcpEvent. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - - self._model_type = model_type - - @property - def all_of(self): - """Gets the all_of of this BaseDhcpEvent. # noqa: E501 - - - :return: The all_of of this BaseDhcpEvent. # noqa: E501 - :rtype: SystemEvent - """ - return self._all_of - - @all_of.setter - def all_of(self, all_of): - """Sets the all_of of this BaseDhcpEvent. - - - :param all_of: The all_of of this BaseDhcpEvent. # noqa: E501 - :type: SystemEvent - """ - - self._all_of = all_of - - @property - def x_id(self): - """Gets the x_id of this BaseDhcpEvent. # noqa: E501 - - - :return: The x_id of this BaseDhcpEvent. # noqa: E501 - :rtype: int - """ - return self._x_id - - @x_id.setter - def x_id(self, x_id): - """Sets the x_id of this BaseDhcpEvent. - - - :param x_id: The x_id of this BaseDhcpEvent. # noqa: E501 - :type: int - """ - - self._x_id = x_id - - @property - def vlan_id(self): - """Gets the vlan_id of this BaseDhcpEvent. # noqa: E501 - - - :return: The vlan_id of this BaseDhcpEvent. # noqa: E501 - :rtype: int - """ - return self._vlan_id - - @vlan_id.setter - def vlan_id(self, vlan_id): - """Sets the vlan_id of this BaseDhcpEvent. - - - :param vlan_id: The vlan_id of this BaseDhcpEvent. # noqa: E501 - :type: int - """ - - self._vlan_id = vlan_id - - @property - def dhcp_server_ip(self): - """Gets the dhcp_server_ip of this BaseDhcpEvent. # noqa: E501 - - string representing InetAddress # noqa: E501 - - :return: The dhcp_server_ip of this BaseDhcpEvent. # noqa: E501 - :rtype: str - """ - return self._dhcp_server_ip - - @dhcp_server_ip.setter - def dhcp_server_ip(self, dhcp_server_ip): - """Sets the dhcp_server_ip of this BaseDhcpEvent. - - string representing InetAddress # noqa: E501 - - :param dhcp_server_ip: The dhcp_server_ip of this BaseDhcpEvent. # noqa: E501 - :type: str - """ - - self._dhcp_server_ip = dhcp_server_ip - - @property - def client_ip(self): - """Gets the client_ip of this BaseDhcpEvent. # noqa: E501 - - string representing InetAddress # noqa: E501 - - :return: The client_ip of this BaseDhcpEvent. # noqa: E501 - :rtype: str - """ - return self._client_ip - - @client_ip.setter - def client_ip(self, client_ip): - """Sets the client_ip of this BaseDhcpEvent. - - string representing InetAddress # noqa: E501 - - :param client_ip: The client_ip of this BaseDhcpEvent. # noqa: E501 - :type: str - """ - - self._client_ip = client_ip - - @property - def relay_ip(self): - """Gets the relay_ip of this BaseDhcpEvent. # noqa: E501 - - string representing InetAddress # noqa: E501 - - :return: The relay_ip of this BaseDhcpEvent. # noqa: E501 - :rtype: str - """ - return self._relay_ip - - @relay_ip.setter - def relay_ip(self, relay_ip): - """Sets the relay_ip of this BaseDhcpEvent. - - string representing InetAddress # noqa: E501 - - :param relay_ip: The relay_ip of this BaseDhcpEvent. # noqa: E501 - :type: str - """ - - self._relay_ip = relay_ip - - @property - def client_mac_address(self): - """Gets the client_mac_address of this BaseDhcpEvent. # noqa: E501 - - - :return: The client_mac_address of this BaseDhcpEvent. # noqa: E501 - :rtype: MacAddress - """ - return self._client_mac_address - - @client_mac_address.setter - def client_mac_address(self, client_mac_address): - """Sets the client_mac_address of this BaseDhcpEvent. - - - :param client_mac_address: The client_mac_address of this BaseDhcpEvent. # noqa: E501 - :type: MacAddress - """ - - self._client_mac_address = client_mac_address - - @property - def session_id(self): - """Gets the session_id of this BaseDhcpEvent. # noqa: E501 - - - :return: The session_id of this BaseDhcpEvent. # noqa: E501 - :rtype: int - """ - return self._session_id - - @session_id.setter - def session_id(self, session_id): - """Sets the session_id of this BaseDhcpEvent. - - - :param session_id: The session_id of this BaseDhcpEvent. # noqa: E501 - :type: int - """ - - self._session_id = session_id - - @property - def customer_id(self): - """Gets the customer_id of this BaseDhcpEvent. # noqa: E501 - - - :return: The customer_id of this BaseDhcpEvent. # noqa: E501 - :rtype: int - """ - return self._customer_id - - @customer_id.setter - def customer_id(self, customer_id): - """Sets the customer_id of this BaseDhcpEvent. - - - :param customer_id: The customer_id of this BaseDhcpEvent. # noqa: E501 - :type: int - """ - - self._customer_id = customer_id - - @property - def equipment_id(self): - """Gets the equipment_id of this BaseDhcpEvent. # noqa: E501 - - - :return: The equipment_id of this BaseDhcpEvent. # noqa: E501 - :rtype: int - """ - return self._equipment_id - - @equipment_id.setter - def equipment_id(self, equipment_id): - """Sets the equipment_id of this BaseDhcpEvent. - - - :param equipment_id: The equipment_id of this BaseDhcpEvent. # noqa: E501 - :type: int - """ - - self._equipment_id = equipment_id - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(BaseDhcpEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, BaseDhcpEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/best_ap_steer_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/best_ap_steer_type.py deleted file mode 100644 index eb9dd6416..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/best_ap_steer_type.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class BestAPSteerType(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - BOTH = "both" - LOADBALANCEONLY = "loadBalanceOnly" - LINKQUALITYONLY = "linkQualityOnly" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """BestAPSteerType - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(BestAPSteerType, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, BestAPSteerType): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/blocklist_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/blocklist_details.py deleted file mode 100644 index 842ab7654..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/blocklist_details.py +++ /dev/null @@ -1,168 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class BlocklistDetails(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'enabled': 'bool', - 'start_time': 'int', - 'end_time': 'int' - } - - attribute_map = { - 'enabled': 'enabled', - 'start_time': 'startTime', - 'end_time': 'endTime' - } - - def __init__(self, enabled=None, start_time=None, end_time=None): # noqa: E501 - """BlocklistDetails - a model defined in Swagger""" # noqa: E501 - self._enabled = None - self._start_time = None - self._end_time = None - self.discriminator = None - if enabled is not None: - self.enabled = enabled - if start_time is not None: - self.start_time = start_time - if end_time is not None: - self.end_time = end_time - - @property - def enabled(self): - """Gets the enabled of this BlocklistDetails. # noqa: E501 - - When enabled, blocklisting applies to the client, subject to the optional start/end times. # noqa: E501 - - :return: The enabled of this BlocklistDetails. # noqa: E501 - :rtype: bool - """ - return self._enabled - - @enabled.setter - def enabled(self, enabled): - """Sets the enabled of this BlocklistDetails. - - When enabled, blocklisting applies to the client, subject to the optional start/end times. # noqa: E501 - - :param enabled: The enabled of this BlocklistDetails. # noqa: E501 - :type: bool - """ - - self._enabled = enabled - - @property - def start_time(self): - """Gets the start_time of this BlocklistDetails. # noqa: E501 - - Optional startTime when blocklisting becomes enabled. # noqa: E501 - - :return: The start_time of this BlocklistDetails. # noqa: E501 - :rtype: int - """ - return self._start_time - - @start_time.setter - def start_time(self, start_time): - """Sets the start_time of this BlocklistDetails. - - Optional startTime when blocklisting becomes enabled. # noqa: E501 - - :param start_time: The start_time of this BlocklistDetails. # noqa: E501 - :type: int - """ - - self._start_time = start_time - - @property - def end_time(self): - """Gets the end_time of this BlocklistDetails. # noqa: E501 - - Optional endTime when blocklisting ceases to be enabled # noqa: E501 - - :return: The end_time of this BlocklistDetails. # noqa: E501 - :rtype: int - """ - return self._end_time - - @end_time.setter - def end_time(self, end_time): - """Sets the end_time of this BlocklistDetails. - - Optional endTime when blocklisting ceases to be enabled # noqa: E501 - - :param end_time: The end_time of this BlocklistDetails. # noqa: E501 - :type: int - """ - - self._end_time = end_time - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(BlocklistDetails, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, BlocklistDetails): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/bonjour_gateway_profile.py b/libs/cloudapi/cloudsdk/swagger_client/models/bonjour_gateway_profile.py deleted file mode 100644 index 1e4a9e889..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/bonjour_gateway_profile.py +++ /dev/null @@ -1,174 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six -from swagger_client.models.profile_details import ProfileDetails # noqa: F401,E501 - -class BonjourGatewayProfile(ProfileDetails): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'profile_description': 'str', - 'bonjour_services': 'list[BonjourServiceSet]' - } - if hasattr(ProfileDetails, "swagger_types"): - swagger_types.update(ProfileDetails.swagger_types) - - attribute_map = { - 'model_type': 'model_type', - 'profile_description': 'profileDescription', - 'bonjour_services': 'bonjourServices' - } - if hasattr(ProfileDetails, "attribute_map"): - attribute_map.update(ProfileDetails.attribute_map) - - def __init__(self, model_type=None, profile_description=None, bonjour_services=None, *args, **kwargs): # noqa: E501 - """BonjourGatewayProfile - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._profile_description = None - self._bonjour_services = None - self.discriminator = None - if model_type is not None: - self.model_type = model_type - if profile_description is not None: - self.profile_description = profile_description - if bonjour_services is not None: - self.bonjour_services = bonjour_services - ProfileDetails.__init__(self, *args, **kwargs) - - @property - def model_type(self): - """Gets the model_type of this BonjourGatewayProfile. # noqa: E501 - - - :return: The model_type of this BonjourGatewayProfile. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this BonjourGatewayProfile. - - - :param model_type: The model_type of this BonjourGatewayProfile. # noqa: E501 - :type: str - """ - allowed_values = ["BonjourGatewayProfile"] # noqa: E501 - if model_type not in allowed_values: - raise ValueError( - "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 - .format(model_type, allowed_values) - ) - - self._model_type = model_type - - @property - def profile_description(self): - """Gets the profile_description of this BonjourGatewayProfile. # noqa: E501 - - - :return: The profile_description of this BonjourGatewayProfile. # noqa: E501 - :rtype: str - """ - return self._profile_description - - @profile_description.setter - def profile_description(self, profile_description): - """Sets the profile_description of this BonjourGatewayProfile. - - - :param profile_description: The profile_description of this BonjourGatewayProfile. # noqa: E501 - :type: str - """ - - self._profile_description = profile_description - - @property - def bonjour_services(self): - """Gets the bonjour_services of this BonjourGatewayProfile. # noqa: E501 - - - :return: The bonjour_services of this BonjourGatewayProfile. # noqa: E501 - :rtype: list[BonjourServiceSet] - """ - return self._bonjour_services - - @bonjour_services.setter - def bonjour_services(self, bonjour_services): - """Sets the bonjour_services of this BonjourGatewayProfile. - - - :param bonjour_services: The bonjour_services of this BonjourGatewayProfile. # noqa: E501 - :type: list[BonjourServiceSet] - """ - - self._bonjour_services = bonjour_services - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(BonjourGatewayProfile, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, BonjourGatewayProfile): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/bonjour_service_set.py b/libs/cloudapi/cloudsdk/swagger_client/models/bonjour_service_set.py deleted file mode 100644 index 8b3598d5c..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/bonjour_service_set.py +++ /dev/null @@ -1,162 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class BonjourServiceSet(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'vlan_id': 'int', - 'support_all_services': 'bool', - 'service_names': 'list[str]' - } - - attribute_map = { - 'vlan_id': 'vlanId', - 'support_all_services': 'supportAllServices', - 'service_names': 'serviceNames' - } - - def __init__(self, vlan_id=None, support_all_services=None, service_names=None): # noqa: E501 - """BonjourServiceSet - a model defined in Swagger""" # noqa: E501 - self._vlan_id = None - self._support_all_services = None - self._service_names = None - self.discriminator = None - if vlan_id is not None: - self.vlan_id = vlan_id - if support_all_services is not None: - self.support_all_services = support_all_services - if service_names is not None: - self.service_names = service_names - - @property - def vlan_id(self): - """Gets the vlan_id of this BonjourServiceSet. # noqa: E501 - - - :return: The vlan_id of this BonjourServiceSet. # noqa: E501 - :rtype: int - """ - return self._vlan_id - - @vlan_id.setter - def vlan_id(self, vlan_id): - """Sets the vlan_id of this BonjourServiceSet. - - - :param vlan_id: The vlan_id of this BonjourServiceSet. # noqa: E501 - :type: int - """ - - self._vlan_id = vlan_id - - @property - def support_all_services(self): - """Gets the support_all_services of this BonjourServiceSet. # noqa: E501 - - - :return: The support_all_services of this BonjourServiceSet. # noqa: E501 - :rtype: bool - """ - return self._support_all_services - - @support_all_services.setter - def support_all_services(self, support_all_services): - """Sets the support_all_services of this BonjourServiceSet. - - - :param support_all_services: The support_all_services of this BonjourServiceSet. # noqa: E501 - :type: bool - """ - - self._support_all_services = support_all_services - - @property - def service_names(self): - """Gets the service_names of this BonjourServiceSet. # noqa: E501 - - - :return: The service_names of this BonjourServiceSet. # noqa: E501 - :rtype: list[str] - """ - return self._service_names - - @service_names.setter - def service_names(self, service_names): - """Sets the service_names of this BonjourServiceSet. - - - :param service_names: The service_names of this BonjourServiceSet. # noqa: E501 - :type: list[str] - """ - - self._service_names = service_names - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(BonjourServiceSet, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, BonjourServiceSet): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/capacity_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/capacity_details.py deleted file mode 100644 index f56455313..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/capacity_details.py +++ /dev/null @@ -1,110 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class CapacityDetails(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'per_radio_details': 'CapacityPerRadioDetailsMap' - } - - attribute_map = { - 'per_radio_details': 'perRadioDetails' - } - - def __init__(self, per_radio_details=None): # noqa: E501 - """CapacityDetails - a model defined in Swagger""" # noqa: E501 - self._per_radio_details = None - self.discriminator = None - if per_radio_details is not None: - self.per_radio_details = per_radio_details - - @property - def per_radio_details(self): - """Gets the per_radio_details of this CapacityDetails. # noqa: E501 - - - :return: The per_radio_details of this CapacityDetails. # noqa: E501 - :rtype: CapacityPerRadioDetailsMap - """ - return self._per_radio_details - - @per_radio_details.setter - def per_radio_details(self, per_radio_details): - """Sets the per_radio_details of this CapacityDetails. - - - :param per_radio_details: The per_radio_details of this CapacityDetails. # noqa: E501 - :type: CapacityPerRadioDetailsMap - """ - - self._per_radio_details = per_radio_details - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(CapacityDetails, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, CapacityDetails): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/capacity_per_radio_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/capacity_per_radio_details.py deleted file mode 100644 index 050b54c9b..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/capacity_per_radio_details.py +++ /dev/null @@ -1,214 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class CapacityPerRadioDetails(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'total_capacity': 'int', - 'available_capacity': 'MinMaxAvgValueInt', - 'unavailable_capacity': 'MinMaxAvgValueInt', - 'used_capacity': 'MinMaxAvgValueInt', - 'unused_capacity': 'MinMaxAvgValueInt' - } - - attribute_map = { - 'total_capacity': 'totalCapacity', - 'available_capacity': 'availableCapacity', - 'unavailable_capacity': 'unavailableCapacity', - 'used_capacity': 'usedCapacity', - 'unused_capacity': 'unusedCapacity' - } - - def __init__(self, total_capacity=None, available_capacity=None, unavailable_capacity=None, used_capacity=None, unused_capacity=None): # noqa: E501 - """CapacityPerRadioDetails - a model defined in Swagger""" # noqa: E501 - self._total_capacity = None - self._available_capacity = None - self._unavailable_capacity = None - self._used_capacity = None - self._unused_capacity = None - self.discriminator = None - if total_capacity is not None: - self.total_capacity = total_capacity - if available_capacity is not None: - self.available_capacity = available_capacity - if unavailable_capacity is not None: - self.unavailable_capacity = unavailable_capacity - if used_capacity is not None: - self.used_capacity = used_capacity - if unused_capacity is not None: - self.unused_capacity = unused_capacity - - @property - def total_capacity(self): - """Gets the total_capacity of this CapacityPerRadioDetails. # noqa: E501 - - - :return: The total_capacity of this CapacityPerRadioDetails. # noqa: E501 - :rtype: int - """ - return self._total_capacity - - @total_capacity.setter - def total_capacity(self, total_capacity): - """Sets the total_capacity of this CapacityPerRadioDetails. - - - :param total_capacity: The total_capacity of this CapacityPerRadioDetails. # noqa: E501 - :type: int - """ - - self._total_capacity = total_capacity - - @property - def available_capacity(self): - """Gets the available_capacity of this CapacityPerRadioDetails. # noqa: E501 - - - :return: The available_capacity of this CapacityPerRadioDetails. # noqa: E501 - :rtype: MinMaxAvgValueInt - """ - return self._available_capacity - - @available_capacity.setter - def available_capacity(self, available_capacity): - """Sets the available_capacity of this CapacityPerRadioDetails. - - - :param available_capacity: The available_capacity of this CapacityPerRadioDetails. # noqa: E501 - :type: MinMaxAvgValueInt - """ - - self._available_capacity = available_capacity - - @property - def unavailable_capacity(self): - """Gets the unavailable_capacity of this CapacityPerRadioDetails. # noqa: E501 - - - :return: The unavailable_capacity of this CapacityPerRadioDetails. # noqa: E501 - :rtype: MinMaxAvgValueInt - """ - return self._unavailable_capacity - - @unavailable_capacity.setter - def unavailable_capacity(self, unavailable_capacity): - """Sets the unavailable_capacity of this CapacityPerRadioDetails. - - - :param unavailable_capacity: The unavailable_capacity of this CapacityPerRadioDetails. # noqa: E501 - :type: MinMaxAvgValueInt - """ - - self._unavailable_capacity = unavailable_capacity - - @property - def used_capacity(self): - """Gets the used_capacity of this CapacityPerRadioDetails. # noqa: E501 - - - :return: The used_capacity of this CapacityPerRadioDetails. # noqa: E501 - :rtype: MinMaxAvgValueInt - """ - return self._used_capacity - - @used_capacity.setter - def used_capacity(self, used_capacity): - """Sets the used_capacity of this CapacityPerRadioDetails. - - - :param used_capacity: The used_capacity of this CapacityPerRadioDetails. # noqa: E501 - :type: MinMaxAvgValueInt - """ - - self._used_capacity = used_capacity - - @property - def unused_capacity(self): - """Gets the unused_capacity of this CapacityPerRadioDetails. # noqa: E501 - - - :return: The unused_capacity of this CapacityPerRadioDetails. # noqa: E501 - :rtype: MinMaxAvgValueInt - """ - return self._unused_capacity - - @unused_capacity.setter - def unused_capacity(self, unused_capacity): - """Sets the unused_capacity of this CapacityPerRadioDetails. - - - :param unused_capacity: The unused_capacity of this CapacityPerRadioDetails. # noqa: E501 - :type: MinMaxAvgValueInt - """ - - self._unused_capacity = unused_capacity - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(CapacityPerRadioDetails, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, CapacityPerRadioDetails): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/capacity_per_radio_details_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/capacity_per_radio_details_map.py deleted file mode 100644 index 6a267b9d8..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/capacity_per_radio_details_map.py +++ /dev/null @@ -1,188 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class CapacityPerRadioDetailsMap(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'is5_g_hz': 'CapacityPerRadioDetails', - 'is5_g_hz_u': 'CapacityPerRadioDetails', - 'is5_g_hz_l': 'CapacityPerRadioDetails', - 'is2dot4_g_hz': 'CapacityPerRadioDetails' - } - - attribute_map = { - 'is5_g_hz': 'is5GHz', - 'is5_g_hz_u': 'is5GHzU', - 'is5_g_hz_l': 'is5GHzL', - 'is2dot4_g_hz': 'is2dot4GHz' - } - - def __init__(self, is5_g_hz=None, is5_g_hz_u=None, is5_g_hz_l=None, is2dot4_g_hz=None): # noqa: E501 - """CapacityPerRadioDetailsMap - a model defined in Swagger""" # noqa: E501 - self._is5_g_hz = None - self._is5_g_hz_u = None - self._is5_g_hz_l = None - self._is2dot4_g_hz = None - self.discriminator = None - if is5_g_hz is not None: - self.is5_g_hz = is5_g_hz - if is5_g_hz_u is not None: - self.is5_g_hz_u = is5_g_hz_u - if is5_g_hz_l is not None: - self.is5_g_hz_l = is5_g_hz_l - if is2dot4_g_hz is not None: - self.is2dot4_g_hz = is2dot4_g_hz - - @property - def is5_g_hz(self): - """Gets the is5_g_hz of this CapacityPerRadioDetailsMap. # noqa: E501 - - - :return: The is5_g_hz of this CapacityPerRadioDetailsMap. # noqa: E501 - :rtype: CapacityPerRadioDetails - """ - return self._is5_g_hz - - @is5_g_hz.setter - def is5_g_hz(self, is5_g_hz): - """Sets the is5_g_hz of this CapacityPerRadioDetailsMap. - - - :param is5_g_hz: The is5_g_hz of this CapacityPerRadioDetailsMap. # noqa: E501 - :type: CapacityPerRadioDetails - """ - - self._is5_g_hz = is5_g_hz - - @property - def is5_g_hz_u(self): - """Gets the is5_g_hz_u of this CapacityPerRadioDetailsMap. # noqa: E501 - - - :return: The is5_g_hz_u of this CapacityPerRadioDetailsMap. # noqa: E501 - :rtype: CapacityPerRadioDetails - """ - return self._is5_g_hz_u - - @is5_g_hz_u.setter - def is5_g_hz_u(self, is5_g_hz_u): - """Sets the is5_g_hz_u of this CapacityPerRadioDetailsMap. - - - :param is5_g_hz_u: The is5_g_hz_u of this CapacityPerRadioDetailsMap. # noqa: E501 - :type: CapacityPerRadioDetails - """ - - self._is5_g_hz_u = is5_g_hz_u - - @property - def is5_g_hz_l(self): - """Gets the is5_g_hz_l of this CapacityPerRadioDetailsMap. # noqa: E501 - - - :return: The is5_g_hz_l of this CapacityPerRadioDetailsMap. # noqa: E501 - :rtype: CapacityPerRadioDetails - """ - return self._is5_g_hz_l - - @is5_g_hz_l.setter - def is5_g_hz_l(self, is5_g_hz_l): - """Sets the is5_g_hz_l of this CapacityPerRadioDetailsMap. - - - :param is5_g_hz_l: The is5_g_hz_l of this CapacityPerRadioDetailsMap. # noqa: E501 - :type: CapacityPerRadioDetails - """ - - self._is5_g_hz_l = is5_g_hz_l - - @property - def is2dot4_g_hz(self): - """Gets the is2dot4_g_hz of this CapacityPerRadioDetailsMap. # noqa: E501 - - - :return: The is2dot4_g_hz of this CapacityPerRadioDetailsMap. # noqa: E501 - :rtype: CapacityPerRadioDetails - """ - return self._is2dot4_g_hz - - @is2dot4_g_hz.setter - def is2dot4_g_hz(self, is2dot4_g_hz): - """Sets the is2dot4_g_hz of this CapacityPerRadioDetailsMap. - - - :param is2dot4_g_hz: The is2dot4_g_hz of this CapacityPerRadioDetailsMap. # noqa: E501 - :type: CapacityPerRadioDetails - """ - - self._is2dot4_g_hz = is2dot4_g_hz - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(CapacityPerRadioDetailsMap, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, CapacityPerRadioDetailsMap): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/captive_portal_authentication_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/captive_portal_authentication_type.py deleted file mode 100644 index dfbff540a..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/captive_portal_authentication_type.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class CaptivePortalAuthenticationType(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - GUEST = "guest" - USERNAME = "username" - RADIUS = "radius" - EXTERNAL = "external" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """CaptivePortalAuthenticationType - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(CaptivePortalAuthenticationType, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, CaptivePortalAuthenticationType): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/captive_portal_configuration.py b/libs/cloudapi/cloudsdk/swagger_client/models/captive_portal_configuration.py deleted file mode 100644 index 65342b9eb..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/captive_portal_configuration.py +++ /dev/null @@ -1,668 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six -from swagger_client.models.profile_details import ProfileDetails # noqa: F401,E501 - -class CaptivePortalConfiguration(ProfileDetails): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'browser_title': 'str', - 'header_content': 'str', - 'user_acceptance_policy': 'str', - 'success_page_markdown_text': 'str', - 'redirect_url': 'str', - 'external_captive_portal_url': 'str', - 'session_timeout_in_minutes': 'int', - 'logo_file': 'ManagedFileInfo', - 'background_file': 'ManagedFileInfo', - 'walled_garden_allowlist': 'list[str]', - 'username_password_file': 'ManagedFileInfo', - 'authentication_type': 'CaptivePortalAuthenticationType', - 'radius_auth_method': 'RadiusAuthenticationMethod', - 'max_users_with_same_credentials': 'int', - 'external_policy_file': 'ManagedFileInfo', - 'background_position': 'BackgroundPosition', - 'background_repeat': 'BackgroundRepeat', - 'radius_service_id': 'int', - 'expiry_type': 'SessionExpiryType', - 'user_list': 'list[TimedAccessUserRecord]', - 'mac_allow_list': 'list[MacAllowlistRecord]' - } - if hasattr(ProfileDetails, "swagger_types"): - swagger_types.update(ProfileDetails.swagger_types) - - attribute_map = { - 'model_type': 'model_type', - 'browser_title': 'browserTitle', - 'header_content': 'headerContent', - 'user_acceptance_policy': 'userAcceptancePolicy', - 'success_page_markdown_text': 'successPageMarkdownText', - 'redirect_url': 'redirectURL', - 'external_captive_portal_url': 'externalCaptivePortalURL', - 'session_timeout_in_minutes': 'sessionTimeoutInMinutes', - 'logo_file': 'logoFile', - 'background_file': 'backgroundFile', - 'walled_garden_allowlist': 'walledGardenAllowlist', - 'username_password_file': 'usernamePasswordFile', - 'authentication_type': 'authenticationType', - 'radius_auth_method': 'radiusAuthMethod', - 'max_users_with_same_credentials': 'maxUsersWithSameCredentials', - 'external_policy_file': 'externalPolicyFile', - 'background_position': 'backgroundPosition', - 'background_repeat': 'backgroundRepeat', - 'radius_service_id': 'radiusServiceId', - 'expiry_type': 'expiryType', - 'user_list': 'userList', - 'mac_allow_list': 'macAllowList' - } - if hasattr(ProfileDetails, "attribute_map"): - attribute_map.update(ProfileDetails.attribute_map) - - def __init__(self, model_type=None, browser_title=None, header_content=None, user_acceptance_policy=None, success_page_markdown_text=None, redirect_url=None, external_captive_portal_url=None, session_timeout_in_minutes=None, logo_file=None, background_file=None, walled_garden_allowlist=None, username_password_file=None, authentication_type=None, radius_auth_method=None, max_users_with_same_credentials=None, external_policy_file=None, background_position=None, background_repeat=None, radius_service_id=None, expiry_type=None, user_list=None, mac_allow_list=None, *args, **kwargs): # noqa: E501 - """CaptivePortalConfiguration - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._browser_title = None - self._header_content = None - self._user_acceptance_policy = None - self._success_page_markdown_text = None - self._redirect_url = None - self._external_captive_portal_url = None - self._session_timeout_in_minutes = None - self._logo_file = None - self._background_file = None - self._walled_garden_allowlist = None - self._username_password_file = None - self._authentication_type = None - self._radius_auth_method = None - self._max_users_with_same_credentials = None - self._external_policy_file = None - self._background_position = None - self._background_repeat = None - self._radius_service_id = None - self._expiry_type = None - self._user_list = None - self._mac_allow_list = None - self.discriminator = None - if model_type is not None: - self.model_type = model_type - if browser_title is not None: - self.browser_title = browser_title - if header_content is not None: - self.header_content = header_content - if user_acceptance_policy is not None: - self.user_acceptance_policy = user_acceptance_policy - if success_page_markdown_text is not None: - self.success_page_markdown_text = success_page_markdown_text - if redirect_url is not None: - self.redirect_url = redirect_url - if external_captive_portal_url is not None: - self.external_captive_portal_url = external_captive_portal_url - if session_timeout_in_minutes is not None: - self.session_timeout_in_minutes = session_timeout_in_minutes - if logo_file is not None: - self.logo_file = logo_file - if background_file is not None: - self.background_file = background_file - if walled_garden_allowlist is not None: - self.walled_garden_allowlist = walled_garden_allowlist - if username_password_file is not None: - self.username_password_file = username_password_file - if authentication_type is not None: - self.authentication_type = authentication_type - if radius_auth_method is not None: - self.radius_auth_method = radius_auth_method - if max_users_with_same_credentials is not None: - self.max_users_with_same_credentials = max_users_with_same_credentials - if external_policy_file is not None: - self.external_policy_file = external_policy_file - if background_position is not None: - self.background_position = background_position - if background_repeat is not None: - self.background_repeat = background_repeat - if radius_service_id is not None: - self.radius_service_id = radius_service_id - if expiry_type is not None: - self.expiry_type = expiry_type - if user_list is not None: - self.user_list = user_list - if mac_allow_list is not None: - self.mac_allow_list = mac_allow_list - ProfileDetails.__init__(self, *args, **kwargs) - - @property - def model_type(self): - """Gets the model_type of this CaptivePortalConfiguration. # noqa: E501 - - - :return: The model_type of this CaptivePortalConfiguration. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this CaptivePortalConfiguration. - - - :param model_type: The model_type of this CaptivePortalConfiguration. # noqa: E501 - :type: str - """ - allowed_values = ["CaptivePortalConfiguration"] # noqa: E501 - if model_type not in allowed_values: - raise ValueError( - "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 - .format(model_type, allowed_values) - ) - - self._model_type = model_type - - @property - def browser_title(self): - """Gets the browser_title of this CaptivePortalConfiguration. # noqa: E501 - - - :return: The browser_title of this CaptivePortalConfiguration. # noqa: E501 - :rtype: str - """ - return self._browser_title - - @browser_title.setter - def browser_title(self, browser_title): - """Sets the browser_title of this CaptivePortalConfiguration. - - - :param browser_title: The browser_title of this CaptivePortalConfiguration. # noqa: E501 - :type: str - """ - - self._browser_title = browser_title - - @property - def header_content(self): - """Gets the header_content of this CaptivePortalConfiguration. # noqa: E501 - - - :return: The header_content of this CaptivePortalConfiguration. # noqa: E501 - :rtype: str - """ - return self._header_content - - @header_content.setter - def header_content(self, header_content): - """Sets the header_content of this CaptivePortalConfiguration. - - - :param header_content: The header_content of this CaptivePortalConfiguration. # noqa: E501 - :type: str - """ - - self._header_content = header_content - - @property - def user_acceptance_policy(self): - """Gets the user_acceptance_policy of this CaptivePortalConfiguration. # noqa: E501 - - - :return: The user_acceptance_policy of this CaptivePortalConfiguration. # noqa: E501 - :rtype: str - """ - return self._user_acceptance_policy - - @user_acceptance_policy.setter - def user_acceptance_policy(self, user_acceptance_policy): - """Sets the user_acceptance_policy of this CaptivePortalConfiguration. - - - :param user_acceptance_policy: The user_acceptance_policy of this CaptivePortalConfiguration. # noqa: E501 - :type: str - """ - - self._user_acceptance_policy = user_acceptance_policy - - @property - def success_page_markdown_text(self): - """Gets the success_page_markdown_text of this CaptivePortalConfiguration. # noqa: E501 - - - :return: The success_page_markdown_text of this CaptivePortalConfiguration. # noqa: E501 - :rtype: str - """ - return self._success_page_markdown_text - - @success_page_markdown_text.setter - def success_page_markdown_text(self, success_page_markdown_text): - """Sets the success_page_markdown_text of this CaptivePortalConfiguration. - - - :param success_page_markdown_text: The success_page_markdown_text of this CaptivePortalConfiguration. # noqa: E501 - :type: str - """ - - self._success_page_markdown_text = success_page_markdown_text - - @property - def redirect_url(self): - """Gets the redirect_url of this CaptivePortalConfiguration. # noqa: E501 - - - :return: The redirect_url of this CaptivePortalConfiguration. # noqa: E501 - :rtype: str - """ - return self._redirect_url - - @redirect_url.setter - def redirect_url(self, redirect_url): - """Sets the redirect_url of this CaptivePortalConfiguration. - - - :param redirect_url: The redirect_url of this CaptivePortalConfiguration. # noqa: E501 - :type: str - """ - - self._redirect_url = redirect_url - - @property - def external_captive_portal_url(self): - """Gets the external_captive_portal_url of this CaptivePortalConfiguration. # noqa: E501 - - - :return: The external_captive_portal_url of this CaptivePortalConfiguration. # noqa: E501 - :rtype: str - """ - return self._external_captive_portal_url - - @external_captive_portal_url.setter - def external_captive_portal_url(self, external_captive_portal_url): - """Sets the external_captive_portal_url of this CaptivePortalConfiguration. - - - :param external_captive_portal_url: The external_captive_portal_url of this CaptivePortalConfiguration. # noqa: E501 - :type: str - """ - - self._external_captive_portal_url = external_captive_portal_url - - @property - def session_timeout_in_minutes(self): - """Gets the session_timeout_in_minutes of this CaptivePortalConfiguration. # noqa: E501 - - - :return: The session_timeout_in_minutes of this CaptivePortalConfiguration. # noqa: E501 - :rtype: int - """ - return self._session_timeout_in_minutes - - @session_timeout_in_minutes.setter - def session_timeout_in_minutes(self, session_timeout_in_minutes): - """Sets the session_timeout_in_minutes of this CaptivePortalConfiguration. - - - :param session_timeout_in_minutes: The session_timeout_in_minutes of this CaptivePortalConfiguration. # noqa: E501 - :type: int - """ - - self._session_timeout_in_minutes = session_timeout_in_minutes - - @property - def logo_file(self): - """Gets the logo_file of this CaptivePortalConfiguration. # noqa: E501 - - - :return: The logo_file of this CaptivePortalConfiguration. # noqa: E501 - :rtype: ManagedFileInfo - """ - return self._logo_file - - @logo_file.setter - def logo_file(self, logo_file): - """Sets the logo_file of this CaptivePortalConfiguration. - - - :param logo_file: The logo_file of this CaptivePortalConfiguration. # noqa: E501 - :type: ManagedFileInfo - """ - - self._logo_file = logo_file - - @property - def background_file(self): - """Gets the background_file of this CaptivePortalConfiguration. # noqa: E501 - - - :return: The background_file of this CaptivePortalConfiguration. # noqa: E501 - :rtype: ManagedFileInfo - """ - return self._background_file - - @background_file.setter - def background_file(self, background_file): - """Sets the background_file of this CaptivePortalConfiguration. - - - :param background_file: The background_file of this CaptivePortalConfiguration. # noqa: E501 - :type: ManagedFileInfo - """ - - self._background_file = background_file - - @property - def walled_garden_allowlist(self): - """Gets the walled_garden_allowlist of this CaptivePortalConfiguration. # noqa: E501 - - - :return: The walled_garden_allowlist of this CaptivePortalConfiguration. # noqa: E501 - :rtype: list[str] - """ - return self._walled_garden_allowlist - - @walled_garden_allowlist.setter - def walled_garden_allowlist(self, walled_garden_allowlist): - """Sets the walled_garden_allowlist of this CaptivePortalConfiguration. - - - :param walled_garden_allowlist: The walled_garden_allowlist of this CaptivePortalConfiguration. # noqa: E501 - :type: list[str] - """ - - self._walled_garden_allowlist = walled_garden_allowlist - - @property - def username_password_file(self): - """Gets the username_password_file of this CaptivePortalConfiguration. # noqa: E501 - - - :return: The username_password_file of this CaptivePortalConfiguration. # noqa: E501 - :rtype: ManagedFileInfo - """ - return self._username_password_file - - @username_password_file.setter - def username_password_file(self, username_password_file): - """Sets the username_password_file of this CaptivePortalConfiguration. - - - :param username_password_file: The username_password_file of this CaptivePortalConfiguration. # noqa: E501 - :type: ManagedFileInfo - """ - - self._username_password_file = username_password_file - - @property - def authentication_type(self): - """Gets the authentication_type of this CaptivePortalConfiguration. # noqa: E501 - - - :return: The authentication_type of this CaptivePortalConfiguration. # noqa: E501 - :rtype: CaptivePortalAuthenticationType - """ - return self._authentication_type - - @authentication_type.setter - def authentication_type(self, authentication_type): - """Sets the authentication_type of this CaptivePortalConfiguration. - - - :param authentication_type: The authentication_type of this CaptivePortalConfiguration. # noqa: E501 - :type: CaptivePortalAuthenticationType - """ - - self._authentication_type = authentication_type - - @property - def radius_auth_method(self): - """Gets the radius_auth_method of this CaptivePortalConfiguration. # noqa: E501 - - - :return: The radius_auth_method of this CaptivePortalConfiguration. # noqa: E501 - :rtype: RadiusAuthenticationMethod - """ - return self._radius_auth_method - - @radius_auth_method.setter - def radius_auth_method(self, radius_auth_method): - """Sets the radius_auth_method of this CaptivePortalConfiguration. - - - :param radius_auth_method: The radius_auth_method of this CaptivePortalConfiguration. # noqa: E501 - :type: RadiusAuthenticationMethod - """ - - self._radius_auth_method = radius_auth_method - - @property - def max_users_with_same_credentials(self): - """Gets the max_users_with_same_credentials of this CaptivePortalConfiguration. # noqa: E501 - - - :return: The max_users_with_same_credentials of this CaptivePortalConfiguration. # noqa: E501 - :rtype: int - """ - return self._max_users_with_same_credentials - - @max_users_with_same_credentials.setter - def max_users_with_same_credentials(self, max_users_with_same_credentials): - """Sets the max_users_with_same_credentials of this CaptivePortalConfiguration. - - - :param max_users_with_same_credentials: The max_users_with_same_credentials of this CaptivePortalConfiguration. # noqa: E501 - :type: int - """ - - self._max_users_with_same_credentials = max_users_with_same_credentials - - @property - def external_policy_file(self): - """Gets the external_policy_file of this CaptivePortalConfiguration. # noqa: E501 - - - :return: The external_policy_file of this CaptivePortalConfiguration. # noqa: E501 - :rtype: ManagedFileInfo - """ - return self._external_policy_file - - @external_policy_file.setter - def external_policy_file(self, external_policy_file): - """Sets the external_policy_file of this CaptivePortalConfiguration. - - - :param external_policy_file: The external_policy_file of this CaptivePortalConfiguration. # noqa: E501 - :type: ManagedFileInfo - """ - - self._external_policy_file = external_policy_file - - @property - def background_position(self): - """Gets the background_position of this CaptivePortalConfiguration. # noqa: E501 - - - :return: The background_position of this CaptivePortalConfiguration. # noqa: E501 - :rtype: BackgroundPosition - """ - return self._background_position - - @background_position.setter - def background_position(self, background_position): - """Sets the background_position of this CaptivePortalConfiguration. - - - :param background_position: The background_position of this CaptivePortalConfiguration. # noqa: E501 - :type: BackgroundPosition - """ - - self._background_position = background_position - - @property - def background_repeat(self): - """Gets the background_repeat of this CaptivePortalConfiguration. # noqa: E501 - - - :return: The background_repeat of this CaptivePortalConfiguration. # noqa: E501 - :rtype: BackgroundRepeat - """ - return self._background_repeat - - @background_repeat.setter - def background_repeat(self, background_repeat): - """Sets the background_repeat of this CaptivePortalConfiguration. - - - :param background_repeat: The background_repeat of this CaptivePortalConfiguration. # noqa: E501 - :type: BackgroundRepeat - """ - - self._background_repeat = background_repeat - - @property - def radius_service_id(self): - """Gets the radius_service_id of this CaptivePortalConfiguration. # noqa: E501 - - - :return: The radius_service_id of this CaptivePortalConfiguration. # noqa: E501 - :rtype: int - """ - return self._radius_service_id - - @radius_service_id.setter - def radius_service_id(self, radius_service_id): - """Sets the radius_service_id of this CaptivePortalConfiguration. - - - :param radius_service_id: The radius_service_id of this CaptivePortalConfiguration. # noqa: E501 - :type: int - """ - - self._radius_service_id = radius_service_id - - @property - def expiry_type(self): - """Gets the expiry_type of this CaptivePortalConfiguration. # noqa: E501 - - - :return: The expiry_type of this CaptivePortalConfiguration. # noqa: E501 - :rtype: SessionExpiryType - """ - return self._expiry_type - - @expiry_type.setter - def expiry_type(self, expiry_type): - """Sets the expiry_type of this CaptivePortalConfiguration. - - - :param expiry_type: The expiry_type of this CaptivePortalConfiguration. # noqa: E501 - :type: SessionExpiryType - """ - - self._expiry_type = expiry_type - - @property - def user_list(self): - """Gets the user_list of this CaptivePortalConfiguration. # noqa: E501 - - - :return: The user_list of this CaptivePortalConfiguration. # noqa: E501 - :rtype: list[TimedAccessUserRecord] - """ - return self._user_list - - @user_list.setter - def user_list(self, user_list): - """Sets the user_list of this CaptivePortalConfiguration. - - - :param user_list: The user_list of this CaptivePortalConfiguration. # noqa: E501 - :type: list[TimedAccessUserRecord] - """ - - self._user_list = user_list - - @property - def mac_allow_list(self): - """Gets the mac_allow_list of this CaptivePortalConfiguration. # noqa: E501 - - - :return: The mac_allow_list of this CaptivePortalConfiguration. # noqa: E501 - :rtype: list[MacAllowlistRecord] - """ - return self._mac_allow_list - - @mac_allow_list.setter - def mac_allow_list(self, mac_allow_list): - """Sets the mac_allow_list of this CaptivePortalConfiguration. - - - :param mac_allow_list: The mac_allow_list of this CaptivePortalConfiguration. # noqa: E501 - :type: list[MacAllowlistRecord] - """ - - self._mac_allow_list = mac_allow_list - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(CaptivePortalConfiguration, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, CaptivePortalConfiguration): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/channel_bandwidth.py b/libs/cloudapi/cloudsdk/swagger_client/models/channel_bandwidth.py deleted file mode 100644 index 29eb06d81..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/channel_bandwidth.py +++ /dev/null @@ -1,93 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ChannelBandwidth(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - AUTO = "auto" - IS20MHZ = "is20MHz" - IS40MHZ = "is40MHz" - IS80MHZ = "is80MHz" - IS160MHZ = "is160MHz" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """ChannelBandwidth - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ChannelBandwidth, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ChannelBandwidth): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/channel_hop_reason.py b/libs/cloudapi/cloudsdk/swagger_client/models/channel_hop_reason.py deleted file mode 100644 index 6f143aee7..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/channel_hop_reason.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ChannelHopReason(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - RADARDETECTED = "RadarDetected" - HIGHINTERFERENCE = "HighInterference" - UNSUPPORTED = "UNSUPPORTED" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """ChannelHopReason - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ChannelHopReason, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ChannelHopReason): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/channel_hop_settings.py b/libs/cloudapi/cloudsdk/swagger_client/models/channel_hop_settings.py deleted file mode 100644 index 6562a07c7..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/channel_hop_settings.py +++ /dev/null @@ -1,214 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ChannelHopSettings(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'noise_floor_threshold_in_db': 'int', - 'noise_floor_threshold_time_in_seconds': 'int', - 'non_wifi_threshold_in_percentage': 'int', - 'non_wifi_threshold_time_in_seconds': 'int', - 'obss_hop_mode': 'ObssHopMode' - } - - attribute_map = { - 'noise_floor_threshold_in_db': 'noiseFloorThresholdInDB', - 'noise_floor_threshold_time_in_seconds': 'noiseFloorThresholdTimeInSeconds', - 'non_wifi_threshold_in_percentage': 'nonWifiThresholdInPercentage', - 'non_wifi_threshold_time_in_seconds': 'nonWifiThresholdTimeInSeconds', - 'obss_hop_mode': 'obssHopMode' - } - - def __init__(self, noise_floor_threshold_in_db=-75, noise_floor_threshold_time_in_seconds=180, non_wifi_threshold_in_percentage=50, non_wifi_threshold_time_in_seconds=180, obss_hop_mode=None): # noqa: E501 - """ChannelHopSettings - a model defined in Swagger""" # noqa: E501 - self._noise_floor_threshold_in_db = None - self._noise_floor_threshold_time_in_seconds = None - self._non_wifi_threshold_in_percentage = None - self._non_wifi_threshold_time_in_seconds = None - self._obss_hop_mode = None - self.discriminator = None - if noise_floor_threshold_in_db is not None: - self.noise_floor_threshold_in_db = noise_floor_threshold_in_db - if noise_floor_threshold_time_in_seconds is not None: - self.noise_floor_threshold_time_in_seconds = noise_floor_threshold_time_in_seconds - if non_wifi_threshold_in_percentage is not None: - self.non_wifi_threshold_in_percentage = non_wifi_threshold_in_percentage - if non_wifi_threshold_time_in_seconds is not None: - self.non_wifi_threshold_time_in_seconds = non_wifi_threshold_time_in_seconds - if obss_hop_mode is not None: - self.obss_hop_mode = obss_hop_mode - - @property - def noise_floor_threshold_in_db(self): - """Gets the noise_floor_threshold_in_db of this ChannelHopSettings. # noqa: E501 - - - :return: The noise_floor_threshold_in_db of this ChannelHopSettings. # noqa: E501 - :rtype: int - """ - return self._noise_floor_threshold_in_db - - @noise_floor_threshold_in_db.setter - def noise_floor_threshold_in_db(self, noise_floor_threshold_in_db): - """Sets the noise_floor_threshold_in_db of this ChannelHopSettings. - - - :param noise_floor_threshold_in_db: The noise_floor_threshold_in_db of this ChannelHopSettings. # noqa: E501 - :type: int - """ - - self._noise_floor_threshold_in_db = noise_floor_threshold_in_db - - @property - def noise_floor_threshold_time_in_seconds(self): - """Gets the noise_floor_threshold_time_in_seconds of this ChannelHopSettings. # noqa: E501 - - - :return: The noise_floor_threshold_time_in_seconds of this ChannelHopSettings. # noqa: E501 - :rtype: int - """ - return self._noise_floor_threshold_time_in_seconds - - @noise_floor_threshold_time_in_seconds.setter - def noise_floor_threshold_time_in_seconds(self, noise_floor_threshold_time_in_seconds): - """Sets the noise_floor_threshold_time_in_seconds of this ChannelHopSettings. - - - :param noise_floor_threshold_time_in_seconds: The noise_floor_threshold_time_in_seconds of this ChannelHopSettings. # noqa: E501 - :type: int - """ - - self._noise_floor_threshold_time_in_seconds = noise_floor_threshold_time_in_seconds - - @property - def non_wifi_threshold_in_percentage(self): - """Gets the non_wifi_threshold_in_percentage of this ChannelHopSettings. # noqa: E501 - - - :return: The non_wifi_threshold_in_percentage of this ChannelHopSettings. # noqa: E501 - :rtype: int - """ - return self._non_wifi_threshold_in_percentage - - @non_wifi_threshold_in_percentage.setter - def non_wifi_threshold_in_percentage(self, non_wifi_threshold_in_percentage): - """Sets the non_wifi_threshold_in_percentage of this ChannelHopSettings. - - - :param non_wifi_threshold_in_percentage: The non_wifi_threshold_in_percentage of this ChannelHopSettings. # noqa: E501 - :type: int - """ - - self._non_wifi_threshold_in_percentage = non_wifi_threshold_in_percentage - - @property - def non_wifi_threshold_time_in_seconds(self): - """Gets the non_wifi_threshold_time_in_seconds of this ChannelHopSettings. # noqa: E501 - - - :return: The non_wifi_threshold_time_in_seconds of this ChannelHopSettings. # noqa: E501 - :rtype: int - """ - return self._non_wifi_threshold_time_in_seconds - - @non_wifi_threshold_time_in_seconds.setter - def non_wifi_threshold_time_in_seconds(self, non_wifi_threshold_time_in_seconds): - """Sets the non_wifi_threshold_time_in_seconds of this ChannelHopSettings. - - - :param non_wifi_threshold_time_in_seconds: The non_wifi_threshold_time_in_seconds of this ChannelHopSettings. # noqa: E501 - :type: int - """ - - self._non_wifi_threshold_time_in_seconds = non_wifi_threshold_time_in_seconds - - @property - def obss_hop_mode(self): - """Gets the obss_hop_mode of this ChannelHopSettings. # noqa: E501 - - - :return: The obss_hop_mode of this ChannelHopSettings. # noqa: E501 - :rtype: ObssHopMode - """ - return self._obss_hop_mode - - @obss_hop_mode.setter - def obss_hop_mode(self, obss_hop_mode): - """Sets the obss_hop_mode of this ChannelHopSettings. - - - :param obss_hop_mode: The obss_hop_mode of this ChannelHopSettings. # noqa: E501 - :type: ObssHopMode - """ - - self._obss_hop_mode = obss_hop_mode - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ChannelHopSettings, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ChannelHopSettings): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/channel_info.py b/libs/cloudapi/cloudsdk/swagger_client/models/channel_info.py deleted file mode 100644 index 5d9c745e8..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/channel_info.py +++ /dev/null @@ -1,214 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ChannelInfo(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'chan_number': 'int', - 'bandwidth': 'ChannelBandwidth', - 'total_utilization': 'int', - 'wifi_utilization': 'int', - 'noise_floor': 'int' - } - - attribute_map = { - 'chan_number': 'chanNumber', - 'bandwidth': 'bandwidth', - 'total_utilization': 'totalUtilization', - 'wifi_utilization': 'wifiUtilization', - 'noise_floor': 'noiseFloor' - } - - def __init__(self, chan_number=None, bandwidth=None, total_utilization=None, wifi_utilization=None, noise_floor=None): # noqa: E501 - """ChannelInfo - a model defined in Swagger""" # noqa: E501 - self._chan_number = None - self._bandwidth = None - self._total_utilization = None - self._wifi_utilization = None - self._noise_floor = None - self.discriminator = None - if chan_number is not None: - self.chan_number = chan_number - if bandwidth is not None: - self.bandwidth = bandwidth - if total_utilization is not None: - self.total_utilization = total_utilization - if wifi_utilization is not None: - self.wifi_utilization = wifi_utilization - if noise_floor is not None: - self.noise_floor = noise_floor - - @property - def chan_number(self): - """Gets the chan_number of this ChannelInfo. # noqa: E501 - - - :return: The chan_number of this ChannelInfo. # noqa: E501 - :rtype: int - """ - return self._chan_number - - @chan_number.setter - def chan_number(self, chan_number): - """Sets the chan_number of this ChannelInfo. - - - :param chan_number: The chan_number of this ChannelInfo. # noqa: E501 - :type: int - """ - - self._chan_number = chan_number - - @property - def bandwidth(self): - """Gets the bandwidth of this ChannelInfo. # noqa: E501 - - - :return: The bandwidth of this ChannelInfo. # noqa: E501 - :rtype: ChannelBandwidth - """ - return self._bandwidth - - @bandwidth.setter - def bandwidth(self, bandwidth): - """Sets the bandwidth of this ChannelInfo. - - - :param bandwidth: The bandwidth of this ChannelInfo. # noqa: E501 - :type: ChannelBandwidth - """ - - self._bandwidth = bandwidth - - @property - def total_utilization(self): - """Gets the total_utilization of this ChannelInfo. # noqa: E501 - - - :return: The total_utilization of this ChannelInfo. # noqa: E501 - :rtype: int - """ - return self._total_utilization - - @total_utilization.setter - def total_utilization(self, total_utilization): - """Sets the total_utilization of this ChannelInfo. - - - :param total_utilization: The total_utilization of this ChannelInfo. # noqa: E501 - :type: int - """ - - self._total_utilization = total_utilization - - @property - def wifi_utilization(self): - """Gets the wifi_utilization of this ChannelInfo. # noqa: E501 - - - :return: The wifi_utilization of this ChannelInfo. # noqa: E501 - :rtype: int - """ - return self._wifi_utilization - - @wifi_utilization.setter - def wifi_utilization(self, wifi_utilization): - """Sets the wifi_utilization of this ChannelInfo. - - - :param wifi_utilization: The wifi_utilization of this ChannelInfo. # noqa: E501 - :type: int - """ - - self._wifi_utilization = wifi_utilization - - @property - def noise_floor(self): - """Gets the noise_floor of this ChannelInfo. # noqa: E501 - - - :return: The noise_floor of this ChannelInfo. # noqa: E501 - :rtype: int - """ - return self._noise_floor - - @noise_floor.setter - def noise_floor(self, noise_floor): - """Sets the noise_floor of this ChannelInfo. - - - :param noise_floor: The noise_floor of this ChannelInfo. # noqa: E501 - :type: int - """ - - self._noise_floor = noise_floor - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ChannelInfo, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ChannelInfo): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/channel_info_reports.py b/libs/cloudapi/cloudsdk/swagger_client/models/channel_info_reports.py deleted file mode 100644 index e074b4e06..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/channel_info_reports.py +++ /dev/null @@ -1,137 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ChannelInfoReports(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'channel_information_reports_per_radio': 'ListOfChannelInfoReportsPerRadioMap' - } - - attribute_map = { - 'model_type': 'model_type', - 'channel_information_reports_per_radio': 'channelInformationReportsPerRadio' - } - - def __init__(self, model_type=None, channel_information_reports_per_radio=None): # noqa: E501 - """ChannelInfoReports - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._channel_information_reports_per_radio = None - self.discriminator = None - self.model_type = model_type - if channel_information_reports_per_radio is not None: - self.channel_information_reports_per_radio = channel_information_reports_per_radio - - @property - def model_type(self): - """Gets the model_type of this ChannelInfoReports. # noqa: E501 - - - :return: The model_type of this ChannelInfoReports. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this ChannelInfoReports. - - - :param model_type: The model_type of this ChannelInfoReports. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - - self._model_type = model_type - - @property - def channel_information_reports_per_radio(self): - """Gets the channel_information_reports_per_radio of this ChannelInfoReports. # noqa: E501 - - - :return: The channel_information_reports_per_radio of this ChannelInfoReports. # noqa: E501 - :rtype: ListOfChannelInfoReportsPerRadioMap - """ - return self._channel_information_reports_per_radio - - @channel_information_reports_per_radio.setter - def channel_information_reports_per_radio(self, channel_information_reports_per_radio): - """Sets the channel_information_reports_per_radio of this ChannelInfoReports. - - - :param channel_information_reports_per_radio: The channel_information_reports_per_radio of this ChannelInfoReports. # noqa: E501 - :type: ListOfChannelInfoReportsPerRadioMap - """ - - self._channel_information_reports_per_radio = channel_information_reports_per_radio - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ChannelInfoReports, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ChannelInfoReports): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/channel_power_level.py b/libs/cloudapi/cloudsdk/swagger_client/models/channel_power_level.py deleted file mode 100644 index fe09f5bdc..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/channel_power_level.py +++ /dev/null @@ -1,190 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ChannelPowerLevel(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'channel_number': 'int', - 'power_level': 'int', - 'dfs': 'bool', - 'channel_width': 'int' - } - - attribute_map = { - 'channel_number': 'channelNumber', - 'power_level': 'powerLevel', - 'dfs': 'dfs', - 'channel_width': 'channelWidth' - } - - def __init__(self, channel_number=None, power_level=None, dfs=None, channel_width=None): # noqa: E501 - """ChannelPowerLevel - a model defined in Swagger""" # noqa: E501 - self._channel_number = None - self._power_level = None - self._dfs = None - self._channel_width = None - self.discriminator = None - if channel_number is not None: - self.channel_number = channel_number - if power_level is not None: - self.power_level = power_level - if dfs is not None: - self.dfs = dfs - if channel_width is not None: - self.channel_width = channel_width - - @property - def channel_number(self): - """Gets the channel_number of this ChannelPowerLevel. # noqa: E501 - - - :return: The channel_number of this ChannelPowerLevel. # noqa: E501 - :rtype: int - """ - return self._channel_number - - @channel_number.setter - def channel_number(self, channel_number): - """Sets the channel_number of this ChannelPowerLevel. - - - :param channel_number: The channel_number of this ChannelPowerLevel. # noqa: E501 - :type: int - """ - - self._channel_number = channel_number - - @property - def power_level(self): - """Gets the power_level of this ChannelPowerLevel. # noqa: E501 - - - :return: The power_level of this ChannelPowerLevel. # noqa: E501 - :rtype: int - """ - return self._power_level - - @power_level.setter - def power_level(self, power_level): - """Sets the power_level of this ChannelPowerLevel. - - - :param power_level: The power_level of this ChannelPowerLevel. # noqa: E501 - :type: int - """ - - self._power_level = power_level - - @property - def dfs(self): - """Gets the dfs of this ChannelPowerLevel. # noqa: E501 - - - :return: The dfs of this ChannelPowerLevel. # noqa: E501 - :rtype: bool - """ - return self._dfs - - @dfs.setter - def dfs(self, dfs): - """Sets the dfs of this ChannelPowerLevel. - - - :param dfs: The dfs of this ChannelPowerLevel. # noqa: E501 - :type: bool - """ - - self._dfs = dfs - - @property - def channel_width(self): - """Gets the channel_width of this ChannelPowerLevel. # noqa: E501 - - Value is in MHz, -1 means AUTO # noqa: E501 - - :return: The channel_width of this ChannelPowerLevel. # noqa: E501 - :rtype: int - """ - return self._channel_width - - @channel_width.setter - def channel_width(self, channel_width): - """Sets the channel_width of this ChannelPowerLevel. - - Value is in MHz, -1 means AUTO # noqa: E501 - - :param channel_width: The channel_width of this ChannelPowerLevel. # noqa: E501 - :type: int - """ - - self._channel_width = channel_width - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ChannelPowerLevel, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ChannelPowerLevel): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/channel_utilization_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/channel_utilization_details.py deleted file mode 100644 index b75e5e149..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/channel_utilization_details.py +++ /dev/null @@ -1,136 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ChannelUtilizationDetails(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'per_radio_details': 'ChannelUtilizationPerRadioDetailsMap', - 'indicator_value': 'int' - } - - attribute_map = { - 'per_radio_details': 'perRadioDetails', - 'indicator_value': 'indicatorValue' - } - - def __init__(self, per_radio_details=None, indicator_value=None): # noqa: E501 - """ChannelUtilizationDetails - a model defined in Swagger""" # noqa: E501 - self._per_radio_details = None - self._indicator_value = None - self.discriminator = None - if per_radio_details is not None: - self.per_radio_details = per_radio_details - if indicator_value is not None: - self.indicator_value = indicator_value - - @property - def per_radio_details(self): - """Gets the per_radio_details of this ChannelUtilizationDetails. # noqa: E501 - - - :return: The per_radio_details of this ChannelUtilizationDetails. # noqa: E501 - :rtype: ChannelUtilizationPerRadioDetailsMap - """ - return self._per_radio_details - - @per_radio_details.setter - def per_radio_details(self, per_radio_details): - """Sets the per_radio_details of this ChannelUtilizationDetails. - - - :param per_radio_details: The per_radio_details of this ChannelUtilizationDetails. # noqa: E501 - :type: ChannelUtilizationPerRadioDetailsMap - """ - - self._per_radio_details = per_radio_details - - @property - def indicator_value(self): - """Gets the indicator_value of this ChannelUtilizationDetails. # noqa: E501 - - - :return: The indicator_value of this ChannelUtilizationDetails. # noqa: E501 - :rtype: int - """ - return self._indicator_value - - @indicator_value.setter - def indicator_value(self, indicator_value): - """Sets the indicator_value of this ChannelUtilizationDetails. - - - :param indicator_value: The indicator_value of this ChannelUtilizationDetails. # noqa: E501 - :type: int - """ - - self._indicator_value = indicator_value - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ChannelUtilizationDetails, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ChannelUtilizationDetails): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/channel_utilization_per_radio_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/channel_utilization_per_radio_details.py deleted file mode 100644 index cd8490330..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/channel_utilization_per_radio_details.py +++ /dev/null @@ -1,188 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ChannelUtilizationPerRadioDetails(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'channel_utilization': 'MinMaxAvgValueInt', - 'num_good_equipment': 'int', - 'num_warn_equipment': 'int', - 'num_bad_equipment': 'int' - } - - attribute_map = { - 'channel_utilization': 'channelUtilization', - 'num_good_equipment': 'numGoodEquipment', - 'num_warn_equipment': 'numWarnEquipment', - 'num_bad_equipment': 'numBadEquipment' - } - - def __init__(self, channel_utilization=None, num_good_equipment=None, num_warn_equipment=None, num_bad_equipment=None): # noqa: E501 - """ChannelUtilizationPerRadioDetails - a model defined in Swagger""" # noqa: E501 - self._channel_utilization = None - self._num_good_equipment = None - self._num_warn_equipment = None - self._num_bad_equipment = None - self.discriminator = None - if channel_utilization is not None: - self.channel_utilization = channel_utilization - if num_good_equipment is not None: - self.num_good_equipment = num_good_equipment - if num_warn_equipment is not None: - self.num_warn_equipment = num_warn_equipment - if num_bad_equipment is not None: - self.num_bad_equipment = num_bad_equipment - - @property - def channel_utilization(self): - """Gets the channel_utilization of this ChannelUtilizationPerRadioDetails. # noqa: E501 - - - :return: The channel_utilization of this ChannelUtilizationPerRadioDetails. # noqa: E501 - :rtype: MinMaxAvgValueInt - """ - return self._channel_utilization - - @channel_utilization.setter - def channel_utilization(self, channel_utilization): - """Sets the channel_utilization of this ChannelUtilizationPerRadioDetails. - - - :param channel_utilization: The channel_utilization of this ChannelUtilizationPerRadioDetails. # noqa: E501 - :type: MinMaxAvgValueInt - """ - - self._channel_utilization = channel_utilization - - @property - def num_good_equipment(self): - """Gets the num_good_equipment of this ChannelUtilizationPerRadioDetails. # noqa: E501 - - - :return: The num_good_equipment of this ChannelUtilizationPerRadioDetails. # noqa: E501 - :rtype: int - """ - return self._num_good_equipment - - @num_good_equipment.setter - def num_good_equipment(self, num_good_equipment): - """Sets the num_good_equipment of this ChannelUtilizationPerRadioDetails. - - - :param num_good_equipment: The num_good_equipment of this ChannelUtilizationPerRadioDetails. # noqa: E501 - :type: int - """ - - self._num_good_equipment = num_good_equipment - - @property - def num_warn_equipment(self): - """Gets the num_warn_equipment of this ChannelUtilizationPerRadioDetails. # noqa: E501 - - - :return: The num_warn_equipment of this ChannelUtilizationPerRadioDetails. # noqa: E501 - :rtype: int - """ - return self._num_warn_equipment - - @num_warn_equipment.setter - def num_warn_equipment(self, num_warn_equipment): - """Sets the num_warn_equipment of this ChannelUtilizationPerRadioDetails. - - - :param num_warn_equipment: The num_warn_equipment of this ChannelUtilizationPerRadioDetails. # noqa: E501 - :type: int - """ - - self._num_warn_equipment = num_warn_equipment - - @property - def num_bad_equipment(self): - """Gets the num_bad_equipment of this ChannelUtilizationPerRadioDetails. # noqa: E501 - - - :return: The num_bad_equipment of this ChannelUtilizationPerRadioDetails. # noqa: E501 - :rtype: int - """ - return self._num_bad_equipment - - @num_bad_equipment.setter - def num_bad_equipment(self, num_bad_equipment): - """Sets the num_bad_equipment of this ChannelUtilizationPerRadioDetails. - - - :param num_bad_equipment: The num_bad_equipment of this ChannelUtilizationPerRadioDetails. # noqa: E501 - :type: int - """ - - self._num_bad_equipment = num_bad_equipment - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ChannelUtilizationPerRadioDetails, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ChannelUtilizationPerRadioDetails): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/channel_utilization_per_radio_details_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/channel_utilization_per_radio_details_map.py deleted file mode 100644 index 1a020ead2..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/channel_utilization_per_radio_details_map.py +++ /dev/null @@ -1,188 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ChannelUtilizationPerRadioDetailsMap(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'is5_g_hz': 'ChannelUtilizationPerRadioDetails', - 'is5_g_hz_u': 'ChannelUtilizationPerRadioDetails', - 'is5_g_hz_l': 'ChannelUtilizationPerRadioDetails', - 'is2dot4_g_hz': 'ChannelUtilizationPerRadioDetails' - } - - attribute_map = { - 'is5_g_hz': 'is5GHz', - 'is5_g_hz_u': 'is5GHzU', - 'is5_g_hz_l': 'is5GHzL', - 'is2dot4_g_hz': 'is2dot4GHz' - } - - def __init__(self, is5_g_hz=None, is5_g_hz_u=None, is5_g_hz_l=None, is2dot4_g_hz=None): # noqa: E501 - """ChannelUtilizationPerRadioDetailsMap - a model defined in Swagger""" # noqa: E501 - self._is5_g_hz = None - self._is5_g_hz_u = None - self._is5_g_hz_l = None - self._is2dot4_g_hz = None - self.discriminator = None - if is5_g_hz is not None: - self.is5_g_hz = is5_g_hz - if is5_g_hz_u is not None: - self.is5_g_hz_u = is5_g_hz_u - if is5_g_hz_l is not None: - self.is5_g_hz_l = is5_g_hz_l - if is2dot4_g_hz is not None: - self.is2dot4_g_hz = is2dot4_g_hz - - @property - def is5_g_hz(self): - """Gets the is5_g_hz of this ChannelUtilizationPerRadioDetailsMap. # noqa: E501 - - - :return: The is5_g_hz of this ChannelUtilizationPerRadioDetailsMap. # noqa: E501 - :rtype: ChannelUtilizationPerRadioDetails - """ - return self._is5_g_hz - - @is5_g_hz.setter - def is5_g_hz(self, is5_g_hz): - """Sets the is5_g_hz of this ChannelUtilizationPerRadioDetailsMap. - - - :param is5_g_hz: The is5_g_hz of this ChannelUtilizationPerRadioDetailsMap. # noqa: E501 - :type: ChannelUtilizationPerRadioDetails - """ - - self._is5_g_hz = is5_g_hz - - @property - def is5_g_hz_u(self): - """Gets the is5_g_hz_u of this ChannelUtilizationPerRadioDetailsMap. # noqa: E501 - - - :return: The is5_g_hz_u of this ChannelUtilizationPerRadioDetailsMap. # noqa: E501 - :rtype: ChannelUtilizationPerRadioDetails - """ - return self._is5_g_hz_u - - @is5_g_hz_u.setter - def is5_g_hz_u(self, is5_g_hz_u): - """Sets the is5_g_hz_u of this ChannelUtilizationPerRadioDetailsMap. - - - :param is5_g_hz_u: The is5_g_hz_u of this ChannelUtilizationPerRadioDetailsMap. # noqa: E501 - :type: ChannelUtilizationPerRadioDetails - """ - - self._is5_g_hz_u = is5_g_hz_u - - @property - def is5_g_hz_l(self): - """Gets the is5_g_hz_l of this ChannelUtilizationPerRadioDetailsMap. # noqa: E501 - - - :return: The is5_g_hz_l of this ChannelUtilizationPerRadioDetailsMap. # noqa: E501 - :rtype: ChannelUtilizationPerRadioDetails - """ - return self._is5_g_hz_l - - @is5_g_hz_l.setter - def is5_g_hz_l(self, is5_g_hz_l): - """Sets the is5_g_hz_l of this ChannelUtilizationPerRadioDetailsMap. - - - :param is5_g_hz_l: The is5_g_hz_l of this ChannelUtilizationPerRadioDetailsMap. # noqa: E501 - :type: ChannelUtilizationPerRadioDetails - """ - - self._is5_g_hz_l = is5_g_hz_l - - @property - def is2dot4_g_hz(self): - """Gets the is2dot4_g_hz of this ChannelUtilizationPerRadioDetailsMap. # noqa: E501 - - - :return: The is2dot4_g_hz of this ChannelUtilizationPerRadioDetailsMap. # noqa: E501 - :rtype: ChannelUtilizationPerRadioDetails - """ - return self._is2dot4_g_hz - - @is2dot4_g_hz.setter - def is2dot4_g_hz(self, is2dot4_g_hz): - """Sets the is2dot4_g_hz of this ChannelUtilizationPerRadioDetailsMap. - - - :param is2dot4_g_hz: The is2dot4_g_hz of this ChannelUtilizationPerRadioDetailsMap. # noqa: E501 - :type: ChannelUtilizationPerRadioDetails - """ - - self._is2dot4_g_hz = is2dot4_g_hz - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ChannelUtilizationPerRadioDetailsMap, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ChannelUtilizationPerRadioDetailsMap): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/channel_utilization_survey_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/channel_utilization_survey_type.py deleted file mode 100644 index dd6403167..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/channel_utilization_survey_type.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ChannelUtilizationSurveyType(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - ON_CHANNEL = "ON_CHANNEL" - OFF_CHANNEL = "OFF_CHANNEL" - FULL = "FULL" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """ChannelUtilizationSurveyType - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ChannelUtilizationSurveyType, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ChannelUtilizationSurveyType): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/client.py b/libs/cloudapi/cloudsdk/swagger_client/models/client.py deleted file mode 100644 index 29c03fef2..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/client.py +++ /dev/null @@ -1,216 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class Client(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'mac_address': 'MacAddress', - 'customer_id': 'int', - 'details': 'ClientInfoDetails', - 'created_timestamp': 'int', - 'last_modified_timestamp': 'int' - } - - attribute_map = { - 'mac_address': 'macAddress', - 'customer_id': 'customerId', - 'details': 'details', - 'created_timestamp': 'createdTimestamp', - 'last_modified_timestamp': 'lastModifiedTimestamp' - } - - def __init__(self, mac_address=None, customer_id=None, details=None, created_timestamp=None, last_modified_timestamp=None): # noqa: E501 - """Client - a model defined in Swagger""" # noqa: E501 - self._mac_address = None - self._customer_id = None - self._details = None - self._created_timestamp = None - self._last_modified_timestamp = None - self.discriminator = None - if mac_address is not None: - self.mac_address = mac_address - if customer_id is not None: - self.customer_id = customer_id - if details is not None: - self.details = details - if created_timestamp is not None: - self.created_timestamp = created_timestamp - if last_modified_timestamp is not None: - self.last_modified_timestamp = last_modified_timestamp - - @property - def mac_address(self): - """Gets the mac_address of this Client. # noqa: E501 - - - :return: The mac_address of this Client. # noqa: E501 - :rtype: MacAddress - """ - return self._mac_address - - @mac_address.setter - def mac_address(self, mac_address): - """Sets the mac_address of this Client. - - - :param mac_address: The mac_address of this Client. # noqa: E501 - :type: MacAddress - """ - - self._mac_address = mac_address - - @property - def customer_id(self): - """Gets the customer_id of this Client. # noqa: E501 - - - :return: The customer_id of this Client. # noqa: E501 - :rtype: int - """ - return self._customer_id - - @customer_id.setter - def customer_id(self, customer_id): - """Sets the customer_id of this Client. - - - :param customer_id: The customer_id of this Client. # noqa: E501 - :type: int - """ - - self._customer_id = customer_id - - @property - def details(self): - """Gets the details of this Client. # noqa: E501 - - - :return: The details of this Client. # noqa: E501 - :rtype: ClientInfoDetails - """ - return self._details - - @details.setter - def details(self, details): - """Sets the details of this Client. - - - :param details: The details of this Client. # noqa: E501 - :type: ClientInfoDetails - """ - - self._details = details - - @property - def created_timestamp(self): - """Gets the created_timestamp of this Client. # noqa: E501 - - - :return: The created_timestamp of this Client. # noqa: E501 - :rtype: int - """ - return self._created_timestamp - - @created_timestamp.setter - def created_timestamp(self, created_timestamp): - """Sets the created_timestamp of this Client. - - - :param created_timestamp: The created_timestamp of this Client. # noqa: E501 - :type: int - """ - - self._created_timestamp = created_timestamp - - @property - def last_modified_timestamp(self): - """Gets the last_modified_timestamp of this Client. # noqa: E501 - - This class does not perform checks against concurrrent updates. Here last update always wins. # noqa: E501 - - :return: The last_modified_timestamp of this Client. # noqa: E501 - :rtype: int - """ - return self._last_modified_timestamp - - @last_modified_timestamp.setter - def last_modified_timestamp(self, last_modified_timestamp): - """Sets the last_modified_timestamp of this Client. - - This class does not perform checks against concurrrent updates. Here last update always wins. # noqa: E501 - - :param last_modified_timestamp: The last_modified_timestamp of this Client. # noqa: E501 - :type: int - """ - - self._last_modified_timestamp = last_modified_timestamp - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(Client, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, Client): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/client_activity_aggregated_stats.py b/libs/cloudapi/cloudsdk/swagger_client/models/client_activity_aggregated_stats.py deleted file mode 100644 index d89cb9702..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/client_activity_aggregated_stats.py +++ /dev/null @@ -1,188 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ClientActivityAggregatedStats(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'mbps': 'MinMaxAvgValueInt', - 'high_client_count': 'int', - 'medium_client_count': 'int', - 'low_client_count': 'int' - } - - attribute_map = { - 'mbps': 'mbps', - 'high_client_count': 'highClientCount', - 'medium_client_count': 'mediumClientCount', - 'low_client_count': 'lowClientCount' - } - - def __init__(self, mbps=None, high_client_count=None, medium_client_count=None, low_client_count=None): # noqa: E501 - """ClientActivityAggregatedStats - a model defined in Swagger""" # noqa: E501 - self._mbps = None - self._high_client_count = None - self._medium_client_count = None - self._low_client_count = None - self.discriminator = None - if mbps is not None: - self.mbps = mbps - if high_client_count is not None: - self.high_client_count = high_client_count - if medium_client_count is not None: - self.medium_client_count = medium_client_count - if low_client_count is not None: - self.low_client_count = low_client_count - - @property - def mbps(self): - """Gets the mbps of this ClientActivityAggregatedStats. # noqa: E501 - - - :return: The mbps of this ClientActivityAggregatedStats. # noqa: E501 - :rtype: MinMaxAvgValueInt - """ - return self._mbps - - @mbps.setter - def mbps(self, mbps): - """Sets the mbps of this ClientActivityAggregatedStats. - - - :param mbps: The mbps of this ClientActivityAggregatedStats. # noqa: E501 - :type: MinMaxAvgValueInt - """ - - self._mbps = mbps - - @property - def high_client_count(self): - """Gets the high_client_count of this ClientActivityAggregatedStats. # noqa: E501 - - - :return: The high_client_count of this ClientActivityAggregatedStats. # noqa: E501 - :rtype: int - """ - return self._high_client_count - - @high_client_count.setter - def high_client_count(self, high_client_count): - """Sets the high_client_count of this ClientActivityAggregatedStats. - - - :param high_client_count: The high_client_count of this ClientActivityAggregatedStats. # noqa: E501 - :type: int - """ - - self._high_client_count = high_client_count - - @property - def medium_client_count(self): - """Gets the medium_client_count of this ClientActivityAggregatedStats. # noqa: E501 - - - :return: The medium_client_count of this ClientActivityAggregatedStats. # noqa: E501 - :rtype: int - """ - return self._medium_client_count - - @medium_client_count.setter - def medium_client_count(self, medium_client_count): - """Sets the medium_client_count of this ClientActivityAggregatedStats. - - - :param medium_client_count: The medium_client_count of this ClientActivityAggregatedStats. # noqa: E501 - :type: int - """ - - self._medium_client_count = medium_client_count - - @property - def low_client_count(self): - """Gets the low_client_count of this ClientActivityAggregatedStats. # noqa: E501 - - - :return: The low_client_count of this ClientActivityAggregatedStats. # noqa: E501 - :rtype: int - """ - return self._low_client_count - - @low_client_count.setter - def low_client_count(self, low_client_count): - """Sets the low_client_count of this ClientActivityAggregatedStats. - - - :param low_client_count: The low_client_count of this ClientActivityAggregatedStats. # noqa: E501 - :type: int - """ - - self._low_client_count = low_client_count - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ClientActivityAggregatedStats, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ClientActivityAggregatedStats): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/client_activity_aggregated_stats_per_radio_type_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/client_activity_aggregated_stats_per_radio_type_map.py deleted file mode 100644 index cba2022d2..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/client_activity_aggregated_stats_per_radio_type_map.py +++ /dev/null @@ -1,188 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ClientActivityAggregatedStatsPerRadioTypeMap(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'is5_g_hz': 'ClientActivityAggregatedStats', - 'is5_g_hz_u': 'ClientActivityAggregatedStats', - 'is5_g_hz_l': 'ClientActivityAggregatedStats', - 'is2dot4_g_hz': 'ClientActivityAggregatedStats' - } - - attribute_map = { - 'is5_g_hz': 'is5GHz', - 'is5_g_hz_u': 'is5GHzU', - 'is5_g_hz_l': 'is5GHzL', - 'is2dot4_g_hz': 'is2dot4GHz' - } - - def __init__(self, is5_g_hz=None, is5_g_hz_u=None, is5_g_hz_l=None, is2dot4_g_hz=None): # noqa: E501 - """ClientActivityAggregatedStatsPerRadioTypeMap - a model defined in Swagger""" # noqa: E501 - self._is5_g_hz = None - self._is5_g_hz_u = None - self._is5_g_hz_l = None - self._is2dot4_g_hz = None - self.discriminator = None - if is5_g_hz is not None: - self.is5_g_hz = is5_g_hz - if is5_g_hz_u is not None: - self.is5_g_hz_u = is5_g_hz_u - if is5_g_hz_l is not None: - self.is5_g_hz_l = is5_g_hz_l - if is2dot4_g_hz is not None: - self.is2dot4_g_hz = is2dot4_g_hz - - @property - def is5_g_hz(self): - """Gets the is5_g_hz of this ClientActivityAggregatedStatsPerRadioTypeMap. # noqa: E501 - - - :return: The is5_g_hz of this ClientActivityAggregatedStatsPerRadioTypeMap. # noqa: E501 - :rtype: ClientActivityAggregatedStats - """ - return self._is5_g_hz - - @is5_g_hz.setter - def is5_g_hz(self, is5_g_hz): - """Sets the is5_g_hz of this ClientActivityAggregatedStatsPerRadioTypeMap. - - - :param is5_g_hz: The is5_g_hz of this ClientActivityAggregatedStatsPerRadioTypeMap. # noqa: E501 - :type: ClientActivityAggregatedStats - """ - - self._is5_g_hz = is5_g_hz - - @property - def is5_g_hz_u(self): - """Gets the is5_g_hz_u of this ClientActivityAggregatedStatsPerRadioTypeMap. # noqa: E501 - - - :return: The is5_g_hz_u of this ClientActivityAggregatedStatsPerRadioTypeMap. # noqa: E501 - :rtype: ClientActivityAggregatedStats - """ - return self._is5_g_hz_u - - @is5_g_hz_u.setter - def is5_g_hz_u(self, is5_g_hz_u): - """Sets the is5_g_hz_u of this ClientActivityAggregatedStatsPerRadioTypeMap. - - - :param is5_g_hz_u: The is5_g_hz_u of this ClientActivityAggregatedStatsPerRadioTypeMap. # noqa: E501 - :type: ClientActivityAggregatedStats - """ - - self._is5_g_hz_u = is5_g_hz_u - - @property - def is5_g_hz_l(self): - """Gets the is5_g_hz_l of this ClientActivityAggregatedStatsPerRadioTypeMap. # noqa: E501 - - - :return: The is5_g_hz_l of this ClientActivityAggregatedStatsPerRadioTypeMap. # noqa: E501 - :rtype: ClientActivityAggregatedStats - """ - return self._is5_g_hz_l - - @is5_g_hz_l.setter - def is5_g_hz_l(self, is5_g_hz_l): - """Sets the is5_g_hz_l of this ClientActivityAggregatedStatsPerRadioTypeMap. - - - :param is5_g_hz_l: The is5_g_hz_l of this ClientActivityAggregatedStatsPerRadioTypeMap. # noqa: E501 - :type: ClientActivityAggregatedStats - """ - - self._is5_g_hz_l = is5_g_hz_l - - @property - def is2dot4_g_hz(self): - """Gets the is2dot4_g_hz of this ClientActivityAggregatedStatsPerRadioTypeMap. # noqa: E501 - - - :return: The is2dot4_g_hz of this ClientActivityAggregatedStatsPerRadioTypeMap. # noqa: E501 - :rtype: ClientActivityAggregatedStats - """ - return self._is2dot4_g_hz - - @is2dot4_g_hz.setter - def is2dot4_g_hz(self, is2dot4_g_hz): - """Sets the is2dot4_g_hz of this ClientActivityAggregatedStatsPerRadioTypeMap. - - - :param is2dot4_g_hz: The is2dot4_g_hz of this ClientActivityAggregatedStatsPerRadioTypeMap. # noqa: E501 - :type: ClientActivityAggregatedStats - """ - - self._is2dot4_g_hz = is2dot4_g_hz - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ClientActivityAggregatedStatsPerRadioTypeMap, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ClientActivityAggregatedStatsPerRadioTypeMap): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/client_added_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/client_added_event.py deleted file mode 100644 index bc3592d41..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/client_added_event.py +++ /dev/null @@ -1,189 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ClientAddedEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'event_timestamp': 'int', - 'customer_id': 'int', - 'payload': 'Client' - } - - attribute_map = { - 'model_type': 'model_type', - 'event_timestamp': 'eventTimestamp', - 'customer_id': 'customerId', - 'payload': 'payload' - } - - def __init__(self, model_type=None, event_timestamp=None, customer_id=None, payload=None): # noqa: E501 - """ClientAddedEvent - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._event_timestamp = None - self._customer_id = None - self._payload = None - self.discriminator = None - self.model_type = model_type - if event_timestamp is not None: - self.event_timestamp = event_timestamp - if customer_id is not None: - self.customer_id = customer_id - if payload is not None: - self.payload = payload - - @property - def model_type(self): - """Gets the model_type of this ClientAddedEvent. # noqa: E501 - - - :return: The model_type of this ClientAddedEvent. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this ClientAddedEvent. - - - :param model_type: The model_type of this ClientAddedEvent. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - - self._model_type = model_type - - @property - def event_timestamp(self): - """Gets the event_timestamp of this ClientAddedEvent. # noqa: E501 - - - :return: The event_timestamp of this ClientAddedEvent. # noqa: E501 - :rtype: int - """ - return self._event_timestamp - - @event_timestamp.setter - def event_timestamp(self, event_timestamp): - """Sets the event_timestamp of this ClientAddedEvent. - - - :param event_timestamp: The event_timestamp of this ClientAddedEvent. # noqa: E501 - :type: int - """ - - self._event_timestamp = event_timestamp - - @property - def customer_id(self): - """Gets the customer_id of this ClientAddedEvent. # noqa: E501 - - - :return: The customer_id of this ClientAddedEvent. # noqa: E501 - :rtype: int - """ - return self._customer_id - - @customer_id.setter - def customer_id(self, customer_id): - """Sets the customer_id of this ClientAddedEvent. - - - :param customer_id: The customer_id of this ClientAddedEvent. # noqa: E501 - :type: int - """ - - self._customer_id = customer_id - - @property - def payload(self): - """Gets the payload of this ClientAddedEvent. # noqa: E501 - - - :return: The payload of this ClientAddedEvent. # noqa: E501 - :rtype: Client - """ - return self._payload - - @payload.setter - def payload(self, payload): - """Sets the payload of this ClientAddedEvent. - - - :param payload: The payload of this ClientAddedEvent. # noqa: E501 - :type: Client - """ - - self._payload = payload - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ClientAddedEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ClientAddedEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/client_assoc_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/client_assoc_event.py deleted file mode 100644 index 90768a484..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/client_assoc_event.py +++ /dev/null @@ -1,423 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ClientAssocEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'all_of': 'RealTimeEvent', - 'session_id': 'int', - 'ssid': 'str', - 'client_mac_address': 'MacAddress', - 'radio_type': 'RadioType', - 'is_reassociation': 'bool', - 'status': 'WlanStatusCode', - 'rssi': 'int', - 'internal_sc': 'int', - 'using11k': 'bool', - 'using11r': 'bool', - 'using11v': 'bool' - } - - attribute_map = { - 'model_type': 'model_type', - 'all_of': 'allOf', - 'session_id': 'sessionId', - 'ssid': 'ssid', - 'client_mac_address': 'clientMacAddress', - 'radio_type': 'radioType', - 'is_reassociation': 'isReassociation', - 'status': 'status', - 'rssi': 'rssi', - 'internal_sc': 'internalSC', - 'using11k': 'using11k', - 'using11r': 'using11r', - 'using11v': 'using11v' - } - - def __init__(self, model_type=None, all_of=None, session_id=None, ssid=None, client_mac_address=None, radio_type=None, is_reassociation=None, status=None, rssi=None, internal_sc=None, using11k=None, using11r=None, using11v=None): # noqa: E501 - """ClientAssocEvent - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._all_of = None - self._session_id = None - self._ssid = None - self._client_mac_address = None - self._radio_type = None - self._is_reassociation = None - self._status = None - self._rssi = None - self._internal_sc = None - self._using11k = None - self._using11r = None - self._using11v = None - self.discriminator = None - self.model_type = model_type - if all_of is not None: - self.all_of = all_of - if session_id is not None: - self.session_id = session_id - if ssid is not None: - self.ssid = ssid - if client_mac_address is not None: - self.client_mac_address = client_mac_address - if radio_type is not None: - self.radio_type = radio_type - if is_reassociation is not None: - self.is_reassociation = is_reassociation - if status is not None: - self.status = status - if rssi is not None: - self.rssi = rssi - if internal_sc is not None: - self.internal_sc = internal_sc - if using11k is not None: - self.using11k = using11k - if using11r is not None: - self.using11r = using11r - if using11v is not None: - self.using11v = using11v - - @property - def model_type(self): - """Gets the model_type of this ClientAssocEvent. # noqa: E501 - - - :return: The model_type of this ClientAssocEvent. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this ClientAssocEvent. - - - :param model_type: The model_type of this ClientAssocEvent. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - - self._model_type = model_type - - @property - def all_of(self): - """Gets the all_of of this ClientAssocEvent. # noqa: E501 - - - :return: The all_of of this ClientAssocEvent. # noqa: E501 - :rtype: RealTimeEvent - """ - return self._all_of - - @all_of.setter - def all_of(self, all_of): - """Sets the all_of of this ClientAssocEvent. - - - :param all_of: The all_of of this ClientAssocEvent. # noqa: E501 - :type: RealTimeEvent - """ - - self._all_of = all_of - - @property - def session_id(self): - """Gets the session_id of this ClientAssocEvent. # noqa: E501 - - - :return: The session_id of this ClientAssocEvent. # noqa: E501 - :rtype: int - """ - return self._session_id - - @session_id.setter - def session_id(self, session_id): - """Sets the session_id of this ClientAssocEvent. - - - :param session_id: The session_id of this ClientAssocEvent. # noqa: E501 - :type: int - """ - - self._session_id = session_id - - @property - def ssid(self): - """Gets the ssid of this ClientAssocEvent. # noqa: E501 - - - :return: The ssid of this ClientAssocEvent. # noqa: E501 - :rtype: str - """ - return self._ssid - - @ssid.setter - def ssid(self, ssid): - """Sets the ssid of this ClientAssocEvent. - - - :param ssid: The ssid of this ClientAssocEvent. # noqa: E501 - :type: str - """ - - self._ssid = ssid - - @property - def client_mac_address(self): - """Gets the client_mac_address of this ClientAssocEvent. # noqa: E501 - - - :return: The client_mac_address of this ClientAssocEvent. # noqa: E501 - :rtype: MacAddress - """ - return self._client_mac_address - - @client_mac_address.setter - def client_mac_address(self, client_mac_address): - """Sets the client_mac_address of this ClientAssocEvent. - - - :param client_mac_address: The client_mac_address of this ClientAssocEvent. # noqa: E501 - :type: MacAddress - """ - - self._client_mac_address = client_mac_address - - @property - def radio_type(self): - """Gets the radio_type of this ClientAssocEvent. # noqa: E501 - - - :return: The radio_type of this ClientAssocEvent. # noqa: E501 - :rtype: RadioType - """ - return self._radio_type - - @radio_type.setter - def radio_type(self, radio_type): - """Sets the radio_type of this ClientAssocEvent. - - - :param radio_type: The radio_type of this ClientAssocEvent. # noqa: E501 - :type: RadioType - """ - - self._radio_type = radio_type - - @property - def is_reassociation(self): - """Gets the is_reassociation of this ClientAssocEvent. # noqa: E501 - - - :return: The is_reassociation of this ClientAssocEvent. # noqa: E501 - :rtype: bool - """ - return self._is_reassociation - - @is_reassociation.setter - def is_reassociation(self, is_reassociation): - """Sets the is_reassociation of this ClientAssocEvent. - - - :param is_reassociation: The is_reassociation of this ClientAssocEvent. # noqa: E501 - :type: bool - """ - - self._is_reassociation = is_reassociation - - @property - def status(self): - """Gets the status of this ClientAssocEvent. # noqa: E501 - - - :return: The status of this ClientAssocEvent. # noqa: E501 - :rtype: WlanStatusCode - """ - return self._status - - @status.setter - def status(self, status): - """Sets the status of this ClientAssocEvent. - - - :param status: The status of this ClientAssocEvent. # noqa: E501 - :type: WlanStatusCode - """ - - self._status = status - - @property - def rssi(self): - """Gets the rssi of this ClientAssocEvent. # noqa: E501 - - - :return: The rssi of this ClientAssocEvent. # noqa: E501 - :rtype: int - """ - return self._rssi - - @rssi.setter - def rssi(self, rssi): - """Sets the rssi of this ClientAssocEvent. - - - :param rssi: The rssi of this ClientAssocEvent. # noqa: E501 - :type: int - """ - - self._rssi = rssi - - @property - def internal_sc(self): - """Gets the internal_sc of this ClientAssocEvent. # noqa: E501 - - - :return: The internal_sc of this ClientAssocEvent. # noqa: E501 - :rtype: int - """ - return self._internal_sc - - @internal_sc.setter - def internal_sc(self, internal_sc): - """Sets the internal_sc of this ClientAssocEvent. - - - :param internal_sc: The internal_sc of this ClientAssocEvent. # noqa: E501 - :type: int - """ - - self._internal_sc = internal_sc - - @property - def using11k(self): - """Gets the using11k of this ClientAssocEvent. # noqa: E501 - - - :return: The using11k of this ClientAssocEvent. # noqa: E501 - :rtype: bool - """ - return self._using11k - - @using11k.setter - def using11k(self, using11k): - """Sets the using11k of this ClientAssocEvent. - - - :param using11k: The using11k of this ClientAssocEvent. # noqa: E501 - :type: bool - """ - - self._using11k = using11k - - @property - def using11r(self): - """Gets the using11r of this ClientAssocEvent. # noqa: E501 - - - :return: The using11r of this ClientAssocEvent. # noqa: E501 - :rtype: bool - """ - return self._using11r - - @using11r.setter - def using11r(self, using11r): - """Sets the using11r of this ClientAssocEvent. - - - :param using11r: The using11r of this ClientAssocEvent. # noqa: E501 - :type: bool - """ - - self._using11r = using11r - - @property - def using11v(self): - """Gets the using11v of this ClientAssocEvent. # noqa: E501 - - - :return: The using11v of this ClientAssocEvent. # noqa: E501 - :rtype: bool - """ - return self._using11v - - @using11v.setter - def using11v(self, using11v): - """Sets the using11v of this ClientAssocEvent. - - - :param using11v: The using11v of this ClientAssocEvent. # noqa: E501 - :type: bool - """ - - self._using11v = using11v - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ClientAssocEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ClientAssocEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/client_auth_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/client_auth_event.py deleted file mode 100644 index bc95dece7..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/client_auth_event.py +++ /dev/null @@ -1,293 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ClientAuthEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'all_of': 'RealTimeEvent', - 'session_id': 'int', - 'ssid': 'str', - 'client_mac_address': 'MacAddress', - 'radio_type': 'RadioType', - 'is_reassociation': 'bool', - 'auth_status': 'WlanStatusCode' - } - - attribute_map = { - 'model_type': 'model_type', - 'all_of': 'allOf', - 'session_id': 'sessionId', - 'ssid': 'ssid', - 'client_mac_address': 'clientMacAddress', - 'radio_type': 'radioType', - 'is_reassociation': 'isReassociation', - 'auth_status': 'authStatus' - } - - def __init__(self, model_type=None, all_of=None, session_id=None, ssid=None, client_mac_address=None, radio_type=None, is_reassociation=None, auth_status=None): # noqa: E501 - """ClientAuthEvent - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._all_of = None - self._session_id = None - self._ssid = None - self._client_mac_address = None - self._radio_type = None - self._is_reassociation = None - self._auth_status = None - self.discriminator = None - self.model_type = model_type - if all_of is not None: - self.all_of = all_of - if session_id is not None: - self.session_id = session_id - if ssid is not None: - self.ssid = ssid - if client_mac_address is not None: - self.client_mac_address = client_mac_address - if radio_type is not None: - self.radio_type = radio_type - if is_reassociation is not None: - self.is_reassociation = is_reassociation - if auth_status is not None: - self.auth_status = auth_status - - @property - def model_type(self): - """Gets the model_type of this ClientAuthEvent. # noqa: E501 - - - :return: The model_type of this ClientAuthEvent. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this ClientAuthEvent. - - - :param model_type: The model_type of this ClientAuthEvent. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - - self._model_type = model_type - - @property - def all_of(self): - """Gets the all_of of this ClientAuthEvent. # noqa: E501 - - - :return: The all_of of this ClientAuthEvent. # noqa: E501 - :rtype: RealTimeEvent - """ - return self._all_of - - @all_of.setter - def all_of(self, all_of): - """Sets the all_of of this ClientAuthEvent. - - - :param all_of: The all_of of this ClientAuthEvent. # noqa: E501 - :type: RealTimeEvent - """ - - self._all_of = all_of - - @property - def session_id(self): - """Gets the session_id of this ClientAuthEvent. # noqa: E501 - - - :return: The session_id of this ClientAuthEvent. # noqa: E501 - :rtype: int - """ - return self._session_id - - @session_id.setter - def session_id(self, session_id): - """Sets the session_id of this ClientAuthEvent. - - - :param session_id: The session_id of this ClientAuthEvent. # noqa: E501 - :type: int - """ - - self._session_id = session_id - - @property - def ssid(self): - """Gets the ssid of this ClientAuthEvent. # noqa: E501 - - - :return: The ssid of this ClientAuthEvent. # noqa: E501 - :rtype: str - """ - return self._ssid - - @ssid.setter - def ssid(self, ssid): - """Sets the ssid of this ClientAuthEvent. - - - :param ssid: The ssid of this ClientAuthEvent. # noqa: E501 - :type: str - """ - - self._ssid = ssid - - @property - def client_mac_address(self): - """Gets the client_mac_address of this ClientAuthEvent. # noqa: E501 - - - :return: The client_mac_address of this ClientAuthEvent. # noqa: E501 - :rtype: MacAddress - """ - return self._client_mac_address - - @client_mac_address.setter - def client_mac_address(self, client_mac_address): - """Sets the client_mac_address of this ClientAuthEvent. - - - :param client_mac_address: The client_mac_address of this ClientAuthEvent. # noqa: E501 - :type: MacAddress - """ - - self._client_mac_address = client_mac_address - - @property - def radio_type(self): - """Gets the radio_type of this ClientAuthEvent. # noqa: E501 - - - :return: The radio_type of this ClientAuthEvent. # noqa: E501 - :rtype: RadioType - """ - return self._radio_type - - @radio_type.setter - def radio_type(self, radio_type): - """Sets the radio_type of this ClientAuthEvent. - - - :param radio_type: The radio_type of this ClientAuthEvent. # noqa: E501 - :type: RadioType - """ - - self._radio_type = radio_type - - @property - def is_reassociation(self): - """Gets the is_reassociation of this ClientAuthEvent. # noqa: E501 - - - :return: The is_reassociation of this ClientAuthEvent. # noqa: E501 - :rtype: bool - """ - return self._is_reassociation - - @is_reassociation.setter - def is_reassociation(self, is_reassociation): - """Sets the is_reassociation of this ClientAuthEvent. - - - :param is_reassociation: The is_reassociation of this ClientAuthEvent. # noqa: E501 - :type: bool - """ - - self._is_reassociation = is_reassociation - - @property - def auth_status(self): - """Gets the auth_status of this ClientAuthEvent. # noqa: E501 - - - :return: The auth_status of this ClientAuthEvent. # noqa: E501 - :rtype: WlanStatusCode - """ - return self._auth_status - - @auth_status.setter - def auth_status(self, auth_status): - """Sets the auth_status of this ClientAuthEvent. - - - :param auth_status: The auth_status of this ClientAuthEvent. # noqa: E501 - :type: WlanStatusCode - """ - - self._auth_status = auth_status - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ClientAuthEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ClientAuthEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/client_changed_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/client_changed_event.py deleted file mode 100644 index 297f058ed..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/client_changed_event.py +++ /dev/null @@ -1,189 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ClientChangedEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'event_timestamp': 'int', - 'customer_id': 'int', - 'payload': 'Client' - } - - attribute_map = { - 'model_type': 'model_type', - 'event_timestamp': 'eventTimestamp', - 'customer_id': 'customerId', - 'payload': 'payload' - } - - def __init__(self, model_type=None, event_timestamp=None, customer_id=None, payload=None): # noqa: E501 - """ClientChangedEvent - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._event_timestamp = None - self._customer_id = None - self._payload = None - self.discriminator = None - self.model_type = model_type - if event_timestamp is not None: - self.event_timestamp = event_timestamp - if customer_id is not None: - self.customer_id = customer_id - if payload is not None: - self.payload = payload - - @property - def model_type(self): - """Gets the model_type of this ClientChangedEvent. # noqa: E501 - - - :return: The model_type of this ClientChangedEvent. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this ClientChangedEvent. - - - :param model_type: The model_type of this ClientChangedEvent. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - - self._model_type = model_type - - @property - def event_timestamp(self): - """Gets the event_timestamp of this ClientChangedEvent. # noqa: E501 - - - :return: The event_timestamp of this ClientChangedEvent. # noqa: E501 - :rtype: int - """ - return self._event_timestamp - - @event_timestamp.setter - def event_timestamp(self, event_timestamp): - """Sets the event_timestamp of this ClientChangedEvent. - - - :param event_timestamp: The event_timestamp of this ClientChangedEvent. # noqa: E501 - :type: int - """ - - self._event_timestamp = event_timestamp - - @property - def customer_id(self): - """Gets the customer_id of this ClientChangedEvent. # noqa: E501 - - - :return: The customer_id of this ClientChangedEvent. # noqa: E501 - :rtype: int - """ - return self._customer_id - - @customer_id.setter - def customer_id(self, customer_id): - """Sets the customer_id of this ClientChangedEvent. - - - :param customer_id: The customer_id of this ClientChangedEvent. # noqa: E501 - :type: int - """ - - self._customer_id = customer_id - - @property - def payload(self): - """Gets the payload of this ClientChangedEvent. # noqa: E501 - - - :return: The payload of this ClientChangedEvent. # noqa: E501 - :rtype: Client - """ - return self._payload - - @payload.setter - def payload(self, payload): - """Sets the payload of this ClientChangedEvent. - - - :param payload: The payload of this ClientChangedEvent. # noqa: E501 - :type: Client - """ - - self._payload = payload - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ClientChangedEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ClientChangedEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/client_connect_success_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/client_connect_success_event.py deleted file mode 100644 index aeb3b5a37..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/client_connect_success_event.py +++ /dev/null @@ -1,659 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ClientConnectSuccessEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'all_of': 'RealTimeEvent', - 'client_mac_address': 'MacAddress', - 'session_id': 'int', - 'radio_type': 'RadioType', - 'is_reassociation': 'bool', - 'ssid': 'str', - 'security_type': 'SecurityType', - 'fbt_used': 'bool', - 'ip_addr': 'str', - 'clt_id': 'str', - 'auth_ts': 'int', - 'assoc_ts': 'int', - 'eapol_ts': 'int', - 'port_enabled_ts': 'int', - 'first_data_rx_ts': 'int', - 'first_data_tx_ts': 'int', - 'using11k': 'bool', - 'using11r': 'bool', - 'using11v': 'bool', - 'ip_acquisition_ts': 'int', - 'assoc_rssi': 'int' - } - - attribute_map = { - 'model_type': 'model_type', - 'all_of': 'allOf', - 'client_mac_address': 'clientMacAddress', - 'session_id': 'sessionId', - 'radio_type': 'radioType', - 'is_reassociation': 'isReassociation', - 'ssid': 'ssid', - 'security_type': 'securityType', - 'fbt_used': 'fbtUsed', - 'ip_addr': 'ipAddr', - 'clt_id': 'cltId', - 'auth_ts': 'authTs', - 'assoc_ts': 'assocTs', - 'eapol_ts': 'eapolTs', - 'port_enabled_ts': 'portEnabledTs', - 'first_data_rx_ts': 'firstDataRxTs', - 'first_data_tx_ts': 'firstDataTxTs', - 'using11k': 'using11k', - 'using11r': 'using11r', - 'using11v': 'using11v', - 'ip_acquisition_ts': 'ipAcquisitionTs', - 'assoc_rssi': 'assocRssi' - } - - def __init__(self, model_type=None, all_of=None, client_mac_address=None, session_id=None, radio_type=None, is_reassociation=None, ssid=None, security_type=None, fbt_used=None, ip_addr=None, clt_id=None, auth_ts=None, assoc_ts=None, eapol_ts=None, port_enabled_ts=None, first_data_rx_ts=None, first_data_tx_ts=None, using11k=None, using11r=None, using11v=None, ip_acquisition_ts=None, assoc_rssi=None): # noqa: E501 - """ClientConnectSuccessEvent - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._all_of = None - self._client_mac_address = None - self._session_id = None - self._radio_type = None - self._is_reassociation = None - self._ssid = None - self._security_type = None - self._fbt_used = None - self._ip_addr = None - self._clt_id = None - self._auth_ts = None - self._assoc_ts = None - self._eapol_ts = None - self._port_enabled_ts = None - self._first_data_rx_ts = None - self._first_data_tx_ts = None - self._using11k = None - self._using11r = None - self._using11v = None - self._ip_acquisition_ts = None - self._assoc_rssi = None - self.discriminator = None - self.model_type = model_type - if all_of is not None: - self.all_of = all_of - if client_mac_address is not None: - self.client_mac_address = client_mac_address - if session_id is not None: - self.session_id = session_id - if radio_type is not None: - self.radio_type = radio_type - if is_reassociation is not None: - self.is_reassociation = is_reassociation - if ssid is not None: - self.ssid = ssid - if security_type is not None: - self.security_type = security_type - if fbt_used is not None: - self.fbt_used = fbt_used - if ip_addr is not None: - self.ip_addr = ip_addr - if clt_id is not None: - self.clt_id = clt_id - if auth_ts is not None: - self.auth_ts = auth_ts - if assoc_ts is not None: - self.assoc_ts = assoc_ts - if eapol_ts is not None: - self.eapol_ts = eapol_ts - if port_enabled_ts is not None: - self.port_enabled_ts = port_enabled_ts - if first_data_rx_ts is not None: - self.first_data_rx_ts = first_data_rx_ts - if first_data_tx_ts is not None: - self.first_data_tx_ts = first_data_tx_ts - if using11k is not None: - self.using11k = using11k - if using11r is not None: - self.using11r = using11r - if using11v is not None: - self.using11v = using11v - if ip_acquisition_ts is not None: - self.ip_acquisition_ts = ip_acquisition_ts - if assoc_rssi is not None: - self.assoc_rssi = assoc_rssi - - @property - def model_type(self): - """Gets the model_type of this ClientConnectSuccessEvent. # noqa: E501 - - - :return: The model_type of this ClientConnectSuccessEvent. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this ClientConnectSuccessEvent. - - - :param model_type: The model_type of this ClientConnectSuccessEvent. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - - self._model_type = model_type - - @property - def all_of(self): - """Gets the all_of of this ClientConnectSuccessEvent. # noqa: E501 - - - :return: The all_of of this ClientConnectSuccessEvent. # noqa: E501 - :rtype: RealTimeEvent - """ - return self._all_of - - @all_of.setter - def all_of(self, all_of): - """Sets the all_of of this ClientConnectSuccessEvent. - - - :param all_of: The all_of of this ClientConnectSuccessEvent. # noqa: E501 - :type: RealTimeEvent - """ - - self._all_of = all_of - - @property - def client_mac_address(self): - """Gets the client_mac_address of this ClientConnectSuccessEvent. # noqa: E501 - - - :return: The client_mac_address of this ClientConnectSuccessEvent. # noqa: E501 - :rtype: MacAddress - """ - return self._client_mac_address - - @client_mac_address.setter - def client_mac_address(self, client_mac_address): - """Sets the client_mac_address of this ClientConnectSuccessEvent. - - - :param client_mac_address: The client_mac_address of this ClientConnectSuccessEvent. # noqa: E501 - :type: MacAddress - """ - - self._client_mac_address = client_mac_address - - @property - def session_id(self): - """Gets the session_id of this ClientConnectSuccessEvent. # noqa: E501 - - - :return: The session_id of this ClientConnectSuccessEvent. # noqa: E501 - :rtype: int - """ - return self._session_id - - @session_id.setter - def session_id(self, session_id): - """Sets the session_id of this ClientConnectSuccessEvent. - - - :param session_id: The session_id of this ClientConnectSuccessEvent. # noqa: E501 - :type: int - """ - - self._session_id = session_id - - @property - def radio_type(self): - """Gets the radio_type of this ClientConnectSuccessEvent. # noqa: E501 - - - :return: The radio_type of this ClientConnectSuccessEvent. # noqa: E501 - :rtype: RadioType - """ - return self._radio_type - - @radio_type.setter - def radio_type(self, radio_type): - """Sets the radio_type of this ClientConnectSuccessEvent. - - - :param radio_type: The radio_type of this ClientConnectSuccessEvent. # noqa: E501 - :type: RadioType - """ - - self._radio_type = radio_type - - @property - def is_reassociation(self): - """Gets the is_reassociation of this ClientConnectSuccessEvent. # noqa: E501 - - - :return: The is_reassociation of this ClientConnectSuccessEvent. # noqa: E501 - :rtype: bool - """ - return self._is_reassociation - - @is_reassociation.setter - def is_reassociation(self, is_reassociation): - """Sets the is_reassociation of this ClientConnectSuccessEvent. - - - :param is_reassociation: The is_reassociation of this ClientConnectSuccessEvent. # noqa: E501 - :type: bool - """ - - self._is_reassociation = is_reassociation - - @property - def ssid(self): - """Gets the ssid of this ClientConnectSuccessEvent. # noqa: E501 - - - :return: The ssid of this ClientConnectSuccessEvent. # noqa: E501 - :rtype: str - """ - return self._ssid - - @ssid.setter - def ssid(self, ssid): - """Sets the ssid of this ClientConnectSuccessEvent. - - - :param ssid: The ssid of this ClientConnectSuccessEvent. # noqa: E501 - :type: str - """ - - self._ssid = ssid - - @property - def security_type(self): - """Gets the security_type of this ClientConnectSuccessEvent. # noqa: E501 - - - :return: The security_type of this ClientConnectSuccessEvent. # noqa: E501 - :rtype: SecurityType - """ - return self._security_type - - @security_type.setter - def security_type(self, security_type): - """Sets the security_type of this ClientConnectSuccessEvent. - - - :param security_type: The security_type of this ClientConnectSuccessEvent. # noqa: E501 - :type: SecurityType - """ - - self._security_type = security_type - - @property - def fbt_used(self): - """Gets the fbt_used of this ClientConnectSuccessEvent. # noqa: E501 - - - :return: The fbt_used of this ClientConnectSuccessEvent. # noqa: E501 - :rtype: bool - """ - return self._fbt_used - - @fbt_used.setter - def fbt_used(self, fbt_used): - """Sets the fbt_used of this ClientConnectSuccessEvent. - - - :param fbt_used: The fbt_used of this ClientConnectSuccessEvent. # noqa: E501 - :type: bool - """ - - self._fbt_used = fbt_used - - @property - def ip_addr(self): - """Gets the ip_addr of this ClientConnectSuccessEvent. # noqa: E501 - - string representing InetAddress # noqa: E501 - - :return: The ip_addr of this ClientConnectSuccessEvent. # noqa: E501 - :rtype: str - """ - return self._ip_addr - - @ip_addr.setter - def ip_addr(self, ip_addr): - """Sets the ip_addr of this ClientConnectSuccessEvent. - - string representing InetAddress # noqa: E501 - - :param ip_addr: The ip_addr of this ClientConnectSuccessEvent. # noqa: E501 - :type: str - """ - - self._ip_addr = ip_addr - - @property - def clt_id(self): - """Gets the clt_id of this ClientConnectSuccessEvent. # noqa: E501 - - - :return: The clt_id of this ClientConnectSuccessEvent. # noqa: E501 - :rtype: str - """ - return self._clt_id - - @clt_id.setter - def clt_id(self, clt_id): - """Sets the clt_id of this ClientConnectSuccessEvent. - - - :param clt_id: The clt_id of this ClientConnectSuccessEvent. # noqa: E501 - :type: str - """ - - self._clt_id = clt_id - - @property - def auth_ts(self): - """Gets the auth_ts of this ClientConnectSuccessEvent. # noqa: E501 - - - :return: The auth_ts of this ClientConnectSuccessEvent. # noqa: E501 - :rtype: int - """ - return self._auth_ts - - @auth_ts.setter - def auth_ts(self, auth_ts): - """Sets the auth_ts of this ClientConnectSuccessEvent. - - - :param auth_ts: The auth_ts of this ClientConnectSuccessEvent. # noqa: E501 - :type: int - """ - - self._auth_ts = auth_ts - - @property - def assoc_ts(self): - """Gets the assoc_ts of this ClientConnectSuccessEvent. # noqa: E501 - - - :return: The assoc_ts of this ClientConnectSuccessEvent. # noqa: E501 - :rtype: int - """ - return self._assoc_ts - - @assoc_ts.setter - def assoc_ts(self, assoc_ts): - """Sets the assoc_ts of this ClientConnectSuccessEvent. - - - :param assoc_ts: The assoc_ts of this ClientConnectSuccessEvent. # noqa: E501 - :type: int - """ - - self._assoc_ts = assoc_ts - - @property - def eapol_ts(self): - """Gets the eapol_ts of this ClientConnectSuccessEvent. # noqa: E501 - - - :return: The eapol_ts of this ClientConnectSuccessEvent. # noqa: E501 - :rtype: int - """ - return self._eapol_ts - - @eapol_ts.setter - def eapol_ts(self, eapol_ts): - """Sets the eapol_ts of this ClientConnectSuccessEvent. - - - :param eapol_ts: The eapol_ts of this ClientConnectSuccessEvent. # noqa: E501 - :type: int - """ - - self._eapol_ts = eapol_ts - - @property - def port_enabled_ts(self): - """Gets the port_enabled_ts of this ClientConnectSuccessEvent. # noqa: E501 - - - :return: The port_enabled_ts of this ClientConnectSuccessEvent. # noqa: E501 - :rtype: int - """ - return self._port_enabled_ts - - @port_enabled_ts.setter - def port_enabled_ts(self, port_enabled_ts): - """Sets the port_enabled_ts of this ClientConnectSuccessEvent. - - - :param port_enabled_ts: The port_enabled_ts of this ClientConnectSuccessEvent. # noqa: E501 - :type: int - """ - - self._port_enabled_ts = port_enabled_ts - - @property - def first_data_rx_ts(self): - """Gets the first_data_rx_ts of this ClientConnectSuccessEvent. # noqa: E501 - - - :return: The first_data_rx_ts of this ClientConnectSuccessEvent. # noqa: E501 - :rtype: int - """ - return self._first_data_rx_ts - - @first_data_rx_ts.setter - def first_data_rx_ts(self, first_data_rx_ts): - """Sets the first_data_rx_ts of this ClientConnectSuccessEvent. - - - :param first_data_rx_ts: The first_data_rx_ts of this ClientConnectSuccessEvent. # noqa: E501 - :type: int - """ - - self._first_data_rx_ts = first_data_rx_ts - - @property - def first_data_tx_ts(self): - """Gets the first_data_tx_ts of this ClientConnectSuccessEvent. # noqa: E501 - - - :return: The first_data_tx_ts of this ClientConnectSuccessEvent. # noqa: E501 - :rtype: int - """ - return self._first_data_tx_ts - - @first_data_tx_ts.setter - def first_data_tx_ts(self, first_data_tx_ts): - """Sets the first_data_tx_ts of this ClientConnectSuccessEvent. - - - :param first_data_tx_ts: The first_data_tx_ts of this ClientConnectSuccessEvent. # noqa: E501 - :type: int - """ - - self._first_data_tx_ts = first_data_tx_ts - - @property - def using11k(self): - """Gets the using11k of this ClientConnectSuccessEvent. # noqa: E501 - - - :return: The using11k of this ClientConnectSuccessEvent. # noqa: E501 - :rtype: bool - """ - return self._using11k - - @using11k.setter - def using11k(self, using11k): - """Sets the using11k of this ClientConnectSuccessEvent. - - - :param using11k: The using11k of this ClientConnectSuccessEvent. # noqa: E501 - :type: bool - """ - - self._using11k = using11k - - @property - def using11r(self): - """Gets the using11r of this ClientConnectSuccessEvent. # noqa: E501 - - - :return: The using11r of this ClientConnectSuccessEvent. # noqa: E501 - :rtype: bool - """ - return self._using11r - - @using11r.setter - def using11r(self, using11r): - """Sets the using11r of this ClientConnectSuccessEvent. - - - :param using11r: The using11r of this ClientConnectSuccessEvent. # noqa: E501 - :type: bool - """ - - self._using11r = using11r - - @property - def using11v(self): - """Gets the using11v of this ClientConnectSuccessEvent. # noqa: E501 - - - :return: The using11v of this ClientConnectSuccessEvent. # noqa: E501 - :rtype: bool - """ - return self._using11v - - @using11v.setter - def using11v(self, using11v): - """Sets the using11v of this ClientConnectSuccessEvent. - - - :param using11v: The using11v of this ClientConnectSuccessEvent. # noqa: E501 - :type: bool - """ - - self._using11v = using11v - - @property - def ip_acquisition_ts(self): - """Gets the ip_acquisition_ts of this ClientConnectSuccessEvent. # noqa: E501 - - - :return: The ip_acquisition_ts of this ClientConnectSuccessEvent. # noqa: E501 - :rtype: int - """ - return self._ip_acquisition_ts - - @ip_acquisition_ts.setter - def ip_acquisition_ts(self, ip_acquisition_ts): - """Sets the ip_acquisition_ts of this ClientConnectSuccessEvent. - - - :param ip_acquisition_ts: The ip_acquisition_ts of this ClientConnectSuccessEvent. # noqa: E501 - :type: int - """ - - self._ip_acquisition_ts = ip_acquisition_ts - - @property - def assoc_rssi(self): - """Gets the assoc_rssi of this ClientConnectSuccessEvent. # noqa: E501 - - - :return: The assoc_rssi of this ClientConnectSuccessEvent. # noqa: E501 - :rtype: int - """ - return self._assoc_rssi - - @assoc_rssi.setter - def assoc_rssi(self, assoc_rssi): - """Sets the assoc_rssi of this ClientConnectSuccessEvent. - - - :param assoc_rssi: The assoc_rssi of this ClientConnectSuccessEvent. # noqa: E501 - :type: int - """ - - self._assoc_rssi = assoc_rssi - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ClientConnectSuccessEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ClientConnectSuccessEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/client_connection_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/client_connection_details.py deleted file mode 100644 index 9caeb8feb..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/client_connection_details.py +++ /dev/null @@ -1,175 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ClientConnectionDetails(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'status_data_type': 'str', - 'num_clients_per_radio': 'IntegerPerRadioTypeMap' - } - - attribute_map = { - 'model_type': 'model_type', - 'status_data_type': 'statusDataType', - 'num_clients_per_radio': 'numClientsPerRadio' - } - - def __init__(self, model_type=None, status_data_type=None, num_clients_per_radio=None): # noqa: E501 - """ClientConnectionDetails - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._status_data_type = None - self._num_clients_per_radio = None - self.discriminator = None - self.model_type = model_type - if status_data_type is not None: - self.status_data_type = status_data_type - if num_clients_per_radio is not None: - self.num_clients_per_radio = num_clients_per_radio - - @property - def model_type(self): - """Gets the model_type of this ClientConnectionDetails. # noqa: E501 - - - :return: The model_type of this ClientConnectionDetails. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this ClientConnectionDetails. - - - :param model_type: The model_type of this ClientConnectionDetails. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - allowed_values = ["ClientConnectionDetails"] # noqa: E501 - if model_type not in allowed_values: - raise ValueError( - "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 - .format(model_type, allowed_values) - ) - - self._model_type = model_type - - @property - def status_data_type(self): - """Gets the status_data_type of this ClientConnectionDetails. # noqa: E501 - - - :return: The status_data_type of this ClientConnectionDetails. # noqa: E501 - :rtype: str - """ - return self._status_data_type - - @status_data_type.setter - def status_data_type(self, status_data_type): - """Sets the status_data_type of this ClientConnectionDetails. - - - :param status_data_type: The status_data_type of this ClientConnectionDetails. # noqa: E501 - :type: str - """ - allowed_values = ["CLIENT_DETAILS"] # noqa: E501 - if status_data_type not in allowed_values: - raise ValueError( - "Invalid value for `status_data_type` ({0}), must be one of {1}" # noqa: E501 - .format(status_data_type, allowed_values) - ) - - self._status_data_type = status_data_type - - @property - def num_clients_per_radio(self): - """Gets the num_clients_per_radio of this ClientConnectionDetails. # noqa: E501 - - - :return: The num_clients_per_radio of this ClientConnectionDetails. # noqa: E501 - :rtype: IntegerPerRadioTypeMap - """ - return self._num_clients_per_radio - - @num_clients_per_radio.setter - def num_clients_per_radio(self, num_clients_per_radio): - """Sets the num_clients_per_radio of this ClientConnectionDetails. - - - :param num_clients_per_radio: The num_clients_per_radio of this ClientConnectionDetails. # noqa: E501 - :type: IntegerPerRadioTypeMap - """ - - self._num_clients_per_radio = num_clients_per_radio - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ClientConnectionDetails, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ClientConnectionDetails): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/client_dhcp_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/client_dhcp_details.py deleted file mode 100644 index e0a45e5eb..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/client_dhcp_details.py +++ /dev/null @@ -1,396 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ClientDhcpDetails(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'dhcp_server_ip': 'str', - 'primary_dns': 'str', - 'secondary_dns': 'str', - 'subnet_mask': 'str', - 'gateway_ip': 'str', - 'lease_start_timestamp': 'int', - 'lease_time_in_seconds': 'int', - 'first_request_timestamp': 'int', - 'first_offer_timestamp': 'int', - 'first_discover_timestamp': 'int', - 'nak_timestamp': 'int', - 'from_internal': 'bool' - } - - attribute_map = { - 'dhcp_server_ip': 'dhcpServerIp', - 'primary_dns': 'primaryDns', - 'secondary_dns': 'secondaryDns', - 'subnet_mask': 'subnetMask', - 'gateway_ip': 'gatewayIp', - 'lease_start_timestamp': 'leaseStartTimestamp', - 'lease_time_in_seconds': 'leaseTimeInSeconds', - 'first_request_timestamp': 'firstRequestTimestamp', - 'first_offer_timestamp': 'firstOfferTimestamp', - 'first_discover_timestamp': 'firstDiscoverTimestamp', - 'nak_timestamp': 'nakTimestamp', - 'from_internal': 'fromInternal' - } - - def __init__(self, dhcp_server_ip=None, primary_dns=None, secondary_dns=None, subnet_mask=None, gateway_ip=None, lease_start_timestamp=None, lease_time_in_seconds=None, first_request_timestamp=None, first_offer_timestamp=None, first_discover_timestamp=None, nak_timestamp=None, from_internal=None): # noqa: E501 - """ClientDhcpDetails - a model defined in Swagger""" # noqa: E501 - self._dhcp_server_ip = None - self._primary_dns = None - self._secondary_dns = None - self._subnet_mask = None - self._gateway_ip = None - self._lease_start_timestamp = None - self._lease_time_in_seconds = None - self._first_request_timestamp = None - self._first_offer_timestamp = None - self._first_discover_timestamp = None - self._nak_timestamp = None - self._from_internal = None - self.discriminator = None - if dhcp_server_ip is not None: - self.dhcp_server_ip = dhcp_server_ip - if primary_dns is not None: - self.primary_dns = primary_dns - if secondary_dns is not None: - self.secondary_dns = secondary_dns - if subnet_mask is not None: - self.subnet_mask = subnet_mask - if gateway_ip is not None: - self.gateway_ip = gateway_ip - if lease_start_timestamp is not None: - self.lease_start_timestamp = lease_start_timestamp - if lease_time_in_seconds is not None: - self.lease_time_in_seconds = lease_time_in_seconds - if first_request_timestamp is not None: - self.first_request_timestamp = first_request_timestamp - if first_offer_timestamp is not None: - self.first_offer_timestamp = first_offer_timestamp - if first_discover_timestamp is not None: - self.first_discover_timestamp = first_discover_timestamp - if nak_timestamp is not None: - self.nak_timestamp = nak_timestamp - if from_internal is not None: - self.from_internal = from_internal - - @property - def dhcp_server_ip(self): - """Gets the dhcp_server_ip of this ClientDhcpDetails. # noqa: E501 - - - :return: The dhcp_server_ip of this ClientDhcpDetails. # noqa: E501 - :rtype: str - """ - return self._dhcp_server_ip - - @dhcp_server_ip.setter - def dhcp_server_ip(self, dhcp_server_ip): - """Sets the dhcp_server_ip of this ClientDhcpDetails. - - - :param dhcp_server_ip: The dhcp_server_ip of this ClientDhcpDetails. # noqa: E501 - :type: str - """ - - self._dhcp_server_ip = dhcp_server_ip - - @property - def primary_dns(self): - """Gets the primary_dns of this ClientDhcpDetails. # noqa: E501 - - - :return: The primary_dns of this ClientDhcpDetails. # noqa: E501 - :rtype: str - """ - return self._primary_dns - - @primary_dns.setter - def primary_dns(self, primary_dns): - """Sets the primary_dns of this ClientDhcpDetails. - - - :param primary_dns: The primary_dns of this ClientDhcpDetails. # noqa: E501 - :type: str - """ - - self._primary_dns = primary_dns - - @property - def secondary_dns(self): - """Gets the secondary_dns of this ClientDhcpDetails. # noqa: E501 - - - :return: The secondary_dns of this ClientDhcpDetails. # noqa: E501 - :rtype: str - """ - return self._secondary_dns - - @secondary_dns.setter - def secondary_dns(self, secondary_dns): - """Sets the secondary_dns of this ClientDhcpDetails. - - - :param secondary_dns: The secondary_dns of this ClientDhcpDetails. # noqa: E501 - :type: str - """ - - self._secondary_dns = secondary_dns - - @property - def subnet_mask(self): - """Gets the subnet_mask of this ClientDhcpDetails. # noqa: E501 - - - :return: The subnet_mask of this ClientDhcpDetails. # noqa: E501 - :rtype: str - """ - return self._subnet_mask - - @subnet_mask.setter - def subnet_mask(self, subnet_mask): - """Sets the subnet_mask of this ClientDhcpDetails. - - - :param subnet_mask: The subnet_mask of this ClientDhcpDetails. # noqa: E501 - :type: str - """ - - self._subnet_mask = subnet_mask - - @property - def gateway_ip(self): - """Gets the gateway_ip of this ClientDhcpDetails. # noqa: E501 - - - :return: The gateway_ip of this ClientDhcpDetails. # noqa: E501 - :rtype: str - """ - return self._gateway_ip - - @gateway_ip.setter - def gateway_ip(self, gateway_ip): - """Sets the gateway_ip of this ClientDhcpDetails. - - - :param gateway_ip: The gateway_ip of this ClientDhcpDetails. # noqa: E501 - :type: str - """ - - self._gateway_ip = gateway_ip - - @property - def lease_start_timestamp(self): - """Gets the lease_start_timestamp of this ClientDhcpDetails. # noqa: E501 - - - :return: The lease_start_timestamp of this ClientDhcpDetails. # noqa: E501 - :rtype: int - """ - return self._lease_start_timestamp - - @lease_start_timestamp.setter - def lease_start_timestamp(self, lease_start_timestamp): - """Sets the lease_start_timestamp of this ClientDhcpDetails. - - - :param lease_start_timestamp: The lease_start_timestamp of this ClientDhcpDetails. # noqa: E501 - :type: int - """ - - self._lease_start_timestamp = lease_start_timestamp - - @property - def lease_time_in_seconds(self): - """Gets the lease_time_in_seconds of this ClientDhcpDetails. # noqa: E501 - - - :return: The lease_time_in_seconds of this ClientDhcpDetails. # noqa: E501 - :rtype: int - """ - return self._lease_time_in_seconds - - @lease_time_in_seconds.setter - def lease_time_in_seconds(self, lease_time_in_seconds): - """Sets the lease_time_in_seconds of this ClientDhcpDetails. - - - :param lease_time_in_seconds: The lease_time_in_seconds of this ClientDhcpDetails. # noqa: E501 - :type: int - """ - - self._lease_time_in_seconds = lease_time_in_seconds - - @property - def first_request_timestamp(self): - """Gets the first_request_timestamp of this ClientDhcpDetails. # noqa: E501 - - - :return: The first_request_timestamp of this ClientDhcpDetails. # noqa: E501 - :rtype: int - """ - return self._first_request_timestamp - - @first_request_timestamp.setter - def first_request_timestamp(self, first_request_timestamp): - """Sets the first_request_timestamp of this ClientDhcpDetails. - - - :param first_request_timestamp: The first_request_timestamp of this ClientDhcpDetails. # noqa: E501 - :type: int - """ - - self._first_request_timestamp = first_request_timestamp - - @property - def first_offer_timestamp(self): - """Gets the first_offer_timestamp of this ClientDhcpDetails. # noqa: E501 - - - :return: The first_offer_timestamp of this ClientDhcpDetails. # noqa: E501 - :rtype: int - """ - return self._first_offer_timestamp - - @first_offer_timestamp.setter - def first_offer_timestamp(self, first_offer_timestamp): - """Sets the first_offer_timestamp of this ClientDhcpDetails. - - - :param first_offer_timestamp: The first_offer_timestamp of this ClientDhcpDetails. # noqa: E501 - :type: int - """ - - self._first_offer_timestamp = first_offer_timestamp - - @property - def first_discover_timestamp(self): - """Gets the first_discover_timestamp of this ClientDhcpDetails. # noqa: E501 - - - :return: The first_discover_timestamp of this ClientDhcpDetails. # noqa: E501 - :rtype: int - """ - return self._first_discover_timestamp - - @first_discover_timestamp.setter - def first_discover_timestamp(self, first_discover_timestamp): - """Sets the first_discover_timestamp of this ClientDhcpDetails. - - - :param first_discover_timestamp: The first_discover_timestamp of this ClientDhcpDetails. # noqa: E501 - :type: int - """ - - self._first_discover_timestamp = first_discover_timestamp - - @property - def nak_timestamp(self): - """Gets the nak_timestamp of this ClientDhcpDetails. # noqa: E501 - - - :return: The nak_timestamp of this ClientDhcpDetails. # noqa: E501 - :rtype: int - """ - return self._nak_timestamp - - @nak_timestamp.setter - def nak_timestamp(self, nak_timestamp): - """Sets the nak_timestamp of this ClientDhcpDetails. - - - :param nak_timestamp: The nak_timestamp of this ClientDhcpDetails. # noqa: E501 - :type: int - """ - - self._nak_timestamp = nak_timestamp - - @property - def from_internal(self): - """Gets the from_internal of this ClientDhcpDetails. # noqa: E501 - - - :return: The from_internal of this ClientDhcpDetails. # noqa: E501 - :rtype: bool - """ - return self._from_internal - - @from_internal.setter - def from_internal(self, from_internal): - """Sets the from_internal of this ClientDhcpDetails. - - - :param from_internal: The from_internal of this ClientDhcpDetails. # noqa: E501 - :type: bool - """ - - self._from_internal = from_internal - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ClientDhcpDetails, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ClientDhcpDetails): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/client_disconnect_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/client_disconnect_event.py deleted file mode 100644 index 86ee9eeaa..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/client_disconnect_event.py +++ /dev/null @@ -1,449 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ClientDisconnectEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'all_of': 'RealTimeEvent', - 'session_id': 'int', - 'ssid': 'str', - 'client_mac_address': 'MacAddress', - 'radio_type': 'RadioType', - 'mac_address_bytes': 'list[str]', - 'reason_code': 'WlanReasonCode', - 'internal_reason_code': 'int', - 'rssi': 'int', - 'last_recv_time': 'int', - 'last_sent_time': 'int', - 'frame_type': 'DisconnectFrameType', - 'initiator': 'DisconnectInitiator' - } - - attribute_map = { - 'model_type': 'model_type', - 'all_of': 'allOf', - 'session_id': 'sessionId', - 'ssid': 'ssid', - 'client_mac_address': 'clientMacAddress', - 'radio_type': 'radioType', - 'mac_address_bytes': 'macAddressBytes', - 'reason_code': 'reasonCode', - 'internal_reason_code': 'internalReasonCode', - 'rssi': 'rssi', - 'last_recv_time': 'lastRecvTime', - 'last_sent_time': 'lastSentTime', - 'frame_type': 'frameType', - 'initiator': 'initiator' - } - - def __init__(self, model_type=None, all_of=None, session_id=None, ssid=None, client_mac_address=None, radio_type=None, mac_address_bytes=None, reason_code=None, internal_reason_code=None, rssi=None, last_recv_time=None, last_sent_time=None, frame_type=None, initiator=None): # noqa: E501 - """ClientDisconnectEvent - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._all_of = None - self._session_id = None - self._ssid = None - self._client_mac_address = None - self._radio_type = None - self._mac_address_bytes = None - self._reason_code = None - self._internal_reason_code = None - self._rssi = None - self._last_recv_time = None - self._last_sent_time = None - self._frame_type = None - self._initiator = None - self.discriminator = None - self.model_type = model_type - if all_of is not None: - self.all_of = all_of - if session_id is not None: - self.session_id = session_id - if ssid is not None: - self.ssid = ssid - if client_mac_address is not None: - self.client_mac_address = client_mac_address - if radio_type is not None: - self.radio_type = radio_type - if mac_address_bytes is not None: - self.mac_address_bytes = mac_address_bytes - if reason_code is not None: - self.reason_code = reason_code - if internal_reason_code is not None: - self.internal_reason_code = internal_reason_code - if rssi is not None: - self.rssi = rssi - if last_recv_time is not None: - self.last_recv_time = last_recv_time - if last_sent_time is not None: - self.last_sent_time = last_sent_time - if frame_type is not None: - self.frame_type = frame_type - if initiator is not None: - self.initiator = initiator - - @property - def model_type(self): - """Gets the model_type of this ClientDisconnectEvent. # noqa: E501 - - - :return: The model_type of this ClientDisconnectEvent. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this ClientDisconnectEvent. - - - :param model_type: The model_type of this ClientDisconnectEvent. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - - self._model_type = model_type - - @property - def all_of(self): - """Gets the all_of of this ClientDisconnectEvent. # noqa: E501 - - - :return: The all_of of this ClientDisconnectEvent. # noqa: E501 - :rtype: RealTimeEvent - """ - return self._all_of - - @all_of.setter - def all_of(self, all_of): - """Sets the all_of of this ClientDisconnectEvent. - - - :param all_of: The all_of of this ClientDisconnectEvent. # noqa: E501 - :type: RealTimeEvent - """ - - self._all_of = all_of - - @property - def session_id(self): - """Gets the session_id of this ClientDisconnectEvent. # noqa: E501 - - - :return: The session_id of this ClientDisconnectEvent. # noqa: E501 - :rtype: int - """ - return self._session_id - - @session_id.setter - def session_id(self, session_id): - """Sets the session_id of this ClientDisconnectEvent. - - - :param session_id: The session_id of this ClientDisconnectEvent. # noqa: E501 - :type: int - """ - - self._session_id = session_id - - @property - def ssid(self): - """Gets the ssid of this ClientDisconnectEvent. # noqa: E501 - - - :return: The ssid of this ClientDisconnectEvent. # noqa: E501 - :rtype: str - """ - return self._ssid - - @ssid.setter - def ssid(self, ssid): - """Sets the ssid of this ClientDisconnectEvent. - - - :param ssid: The ssid of this ClientDisconnectEvent. # noqa: E501 - :type: str - """ - - self._ssid = ssid - - @property - def client_mac_address(self): - """Gets the client_mac_address of this ClientDisconnectEvent. # noqa: E501 - - - :return: The client_mac_address of this ClientDisconnectEvent. # noqa: E501 - :rtype: MacAddress - """ - return self._client_mac_address - - @client_mac_address.setter - def client_mac_address(self, client_mac_address): - """Sets the client_mac_address of this ClientDisconnectEvent. - - - :param client_mac_address: The client_mac_address of this ClientDisconnectEvent. # noqa: E501 - :type: MacAddress - """ - - self._client_mac_address = client_mac_address - - @property - def radio_type(self): - """Gets the radio_type of this ClientDisconnectEvent. # noqa: E501 - - - :return: The radio_type of this ClientDisconnectEvent. # noqa: E501 - :rtype: RadioType - """ - return self._radio_type - - @radio_type.setter - def radio_type(self, radio_type): - """Sets the radio_type of this ClientDisconnectEvent. - - - :param radio_type: The radio_type of this ClientDisconnectEvent. # noqa: E501 - :type: RadioType - """ - - self._radio_type = radio_type - - @property - def mac_address_bytes(self): - """Gets the mac_address_bytes of this ClientDisconnectEvent. # noqa: E501 - - - :return: The mac_address_bytes of this ClientDisconnectEvent. # noqa: E501 - :rtype: list[str] - """ - return self._mac_address_bytes - - @mac_address_bytes.setter - def mac_address_bytes(self, mac_address_bytes): - """Sets the mac_address_bytes of this ClientDisconnectEvent. - - - :param mac_address_bytes: The mac_address_bytes of this ClientDisconnectEvent. # noqa: E501 - :type: list[str] - """ - - self._mac_address_bytes = mac_address_bytes - - @property - def reason_code(self): - """Gets the reason_code of this ClientDisconnectEvent. # noqa: E501 - - - :return: The reason_code of this ClientDisconnectEvent. # noqa: E501 - :rtype: WlanReasonCode - """ - return self._reason_code - - @reason_code.setter - def reason_code(self, reason_code): - """Sets the reason_code of this ClientDisconnectEvent. - - - :param reason_code: The reason_code of this ClientDisconnectEvent. # noqa: E501 - :type: WlanReasonCode - """ - - self._reason_code = reason_code - - @property - def internal_reason_code(self): - """Gets the internal_reason_code of this ClientDisconnectEvent. # noqa: E501 - - - :return: The internal_reason_code of this ClientDisconnectEvent. # noqa: E501 - :rtype: int - """ - return self._internal_reason_code - - @internal_reason_code.setter - def internal_reason_code(self, internal_reason_code): - """Sets the internal_reason_code of this ClientDisconnectEvent. - - - :param internal_reason_code: The internal_reason_code of this ClientDisconnectEvent. # noqa: E501 - :type: int - """ - - self._internal_reason_code = internal_reason_code - - @property - def rssi(self): - """Gets the rssi of this ClientDisconnectEvent. # noqa: E501 - - - :return: The rssi of this ClientDisconnectEvent. # noqa: E501 - :rtype: int - """ - return self._rssi - - @rssi.setter - def rssi(self, rssi): - """Sets the rssi of this ClientDisconnectEvent. - - - :param rssi: The rssi of this ClientDisconnectEvent. # noqa: E501 - :type: int - """ - - self._rssi = rssi - - @property - def last_recv_time(self): - """Gets the last_recv_time of this ClientDisconnectEvent. # noqa: E501 - - - :return: The last_recv_time of this ClientDisconnectEvent. # noqa: E501 - :rtype: int - """ - return self._last_recv_time - - @last_recv_time.setter - def last_recv_time(self, last_recv_time): - """Sets the last_recv_time of this ClientDisconnectEvent. - - - :param last_recv_time: The last_recv_time of this ClientDisconnectEvent. # noqa: E501 - :type: int - """ - - self._last_recv_time = last_recv_time - - @property - def last_sent_time(self): - """Gets the last_sent_time of this ClientDisconnectEvent. # noqa: E501 - - - :return: The last_sent_time of this ClientDisconnectEvent. # noqa: E501 - :rtype: int - """ - return self._last_sent_time - - @last_sent_time.setter - def last_sent_time(self, last_sent_time): - """Sets the last_sent_time of this ClientDisconnectEvent. - - - :param last_sent_time: The last_sent_time of this ClientDisconnectEvent. # noqa: E501 - :type: int - """ - - self._last_sent_time = last_sent_time - - @property - def frame_type(self): - """Gets the frame_type of this ClientDisconnectEvent. # noqa: E501 - - - :return: The frame_type of this ClientDisconnectEvent. # noqa: E501 - :rtype: DisconnectFrameType - """ - return self._frame_type - - @frame_type.setter - def frame_type(self, frame_type): - """Sets the frame_type of this ClientDisconnectEvent. - - - :param frame_type: The frame_type of this ClientDisconnectEvent. # noqa: E501 - :type: DisconnectFrameType - """ - - self._frame_type = frame_type - - @property - def initiator(self): - """Gets the initiator of this ClientDisconnectEvent. # noqa: E501 - - - :return: The initiator of this ClientDisconnectEvent. # noqa: E501 - :rtype: DisconnectInitiator - """ - return self._initiator - - @initiator.setter - def initiator(self, initiator): - """Sets the initiator of this ClientDisconnectEvent. - - - :param initiator: The initiator of this ClientDisconnectEvent. # noqa: E501 - :type: DisconnectInitiator - """ - - self._initiator = initiator - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ClientDisconnectEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ClientDisconnectEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/client_eap_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/client_eap_details.py deleted file mode 100644 index c1822cf36..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/client_eap_details.py +++ /dev/null @@ -1,266 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ClientEapDetails(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'eap_key1_timestamp': 'int', - 'eap_key2_timestamp': 'int', - 'eap_key3_timestamp': 'int', - 'eap_key4_timestamp': 'int', - 'request_identity_timestamp': 'int', - 'eap_negotiation_start_timestamp': 'int', - 'eap_success_timestamp': 'int' - } - - attribute_map = { - 'eap_key1_timestamp': 'eapKey1Timestamp', - 'eap_key2_timestamp': 'eapKey2Timestamp', - 'eap_key3_timestamp': 'eapKey3Timestamp', - 'eap_key4_timestamp': 'eapKey4Timestamp', - 'request_identity_timestamp': 'requestIdentityTimestamp', - 'eap_negotiation_start_timestamp': 'eapNegotiationStartTimestamp', - 'eap_success_timestamp': 'eapSuccessTimestamp' - } - - def __init__(self, eap_key1_timestamp=None, eap_key2_timestamp=None, eap_key3_timestamp=None, eap_key4_timestamp=None, request_identity_timestamp=None, eap_negotiation_start_timestamp=None, eap_success_timestamp=None): # noqa: E501 - """ClientEapDetails - a model defined in Swagger""" # noqa: E501 - self._eap_key1_timestamp = None - self._eap_key2_timestamp = None - self._eap_key3_timestamp = None - self._eap_key4_timestamp = None - self._request_identity_timestamp = None - self._eap_negotiation_start_timestamp = None - self._eap_success_timestamp = None - self.discriminator = None - if eap_key1_timestamp is not None: - self.eap_key1_timestamp = eap_key1_timestamp - if eap_key2_timestamp is not None: - self.eap_key2_timestamp = eap_key2_timestamp - if eap_key3_timestamp is not None: - self.eap_key3_timestamp = eap_key3_timestamp - if eap_key4_timestamp is not None: - self.eap_key4_timestamp = eap_key4_timestamp - if request_identity_timestamp is not None: - self.request_identity_timestamp = request_identity_timestamp - if eap_negotiation_start_timestamp is not None: - self.eap_negotiation_start_timestamp = eap_negotiation_start_timestamp - if eap_success_timestamp is not None: - self.eap_success_timestamp = eap_success_timestamp - - @property - def eap_key1_timestamp(self): - """Gets the eap_key1_timestamp of this ClientEapDetails. # noqa: E501 - - - :return: The eap_key1_timestamp of this ClientEapDetails. # noqa: E501 - :rtype: int - """ - return self._eap_key1_timestamp - - @eap_key1_timestamp.setter - def eap_key1_timestamp(self, eap_key1_timestamp): - """Sets the eap_key1_timestamp of this ClientEapDetails. - - - :param eap_key1_timestamp: The eap_key1_timestamp of this ClientEapDetails. # noqa: E501 - :type: int - """ - - self._eap_key1_timestamp = eap_key1_timestamp - - @property - def eap_key2_timestamp(self): - """Gets the eap_key2_timestamp of this ClientEapDetails. # noqa: E501 - - - :return: The eap_key2_timestamp of this ClientEapDetails. # noqa: E501 - :rtype: int - """ - return self._eap_key2_timestamp - - @eap_key2_timestamp.setter - def eap_key2_timestamp(self, eap_key2_timestamp): - """Sets the eap_key2_timestamp of this ClientEapDetails. - - - :param eap_key2_timestamp: The eap_key2_timestamp of this ClientEapDetails. # noqa: E501 - :type: int - """ - - self._eap_key2_timestamp = eap_key2_timestamp - - @property - def eap_key3_timestamp(self): - """Gets the eap_key3_timestamp of this ClientEapDetails. # noqa: E501 - - - :return: The eap_key3_timestamp of this ClientEapDetails. # noqa: E501 - :rtype: int - """ - return self._eap_key3_timestamp - - @eap_key3_timestamp.setter - def eap_key3_timestamp(self, eap_key3_timestamp): - """Sets the eap_key3_timestamp of this ClientEapDetails. - - - :param eap_key3_timestamp: The eap_key3_timestamp of this ClientEapDetails. # noqa: E501 - :type: int - """ - - self._eap_key3_timestamp = eap_key3_timestamp - - @property - def eap_key4_timestamp(self): - """Gets the eap_key4_timestamp of this ClientEapDetails. # noqa: E501 - - - :return: The eap_key4_timestamp of this ClientEapDetails. # noqa: E501 - :rtype: int - """ - return self._eap_key4_timestamp - - @eap_key4_timestamp.setter - def eap_key4_timestamp(self, eap_key4_timestamp): - """Sets the eap_key4_timestamp of this ClientEapDetails. - - - :param eap_key4_timestamp: The eap_key4_timestamp of this ClientEapDetails. # noqa: E501 - :type: int - """ - - self._eap_key4_timestamp = eap_key4_timestamp - - @property - def request_identity_timestamp(self): - """Gets the request_identity_timestamp of this ClientEapDetails. # noqa: E501 - - - :return: The request_identity_timestamp of this ClientEapDetails. # noqa: E501 - :rtype: int - """ - return self._request_identity_timestamp - - @request_identity_timestamp.setter - def request_identity_timestamp(self, request_identity_timestamp): - """Sets the request_identity_timestamp of this ClientEapDetails. - - - :param request_identity_timestamp: The request_identity_timestamp of this ClientEapDetails. # noqa: E501 - :type: int - """ - - self._request_identity_timestamp = request_identity_timestamp - - @property - def eap_negotiation_start_timestamp(self): - """Gets the eap_negotiation_start_timestamp of this ClientEapDetails. # noqa: E501 - - - :return: The eap_negotiation_start_timestamp of this ClientEapDetails. # noqa: E501 - :rtype: int - """ - return self._eap_negotiation_start_timestamp - - @eap_negotiation_start_timestamp.setter - def eap_negotiation_start_timestamp(self, eap_negotiation_start_timestamp): - """Sets the eap_negotiation_start_timestamp of this ClientEapDetails. - - - :param eap_negotiation_start_timestamp: The eap_negotiation_start_timestamp of this ClientEapDetails. # noqa: E501 - :type: int - """ - - self._eap_negotiation_start_timestamp = eap_negotiation_start_timestamp - - @property - def eap_success_timestamp(self): - """Gets the eap_success_timestamp of this ClientEapDetails. # noqa: E501 - - - :return: The eap_success_timestamp of this ClientEapDetails. # noqa: E501 - :rtype: int - """ - return self._eap_success_timestamp - - @eap_success_timestamp.setter - def eap_success_timestamp(self, eap_success_timestamp): - """Sets the eap_success_timestamp of this ClientEapDetails. - - - :param eap_success_timestamp: The eap_success_timestamp of this ClientEapDetails. # noqa: E501 - :type: int - """ - - self._eap_success_timestamp = eap_success_timestamp - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ClientEapDetails, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ClientEapDetails): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/client_failure_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/client_failure_details.py deleted file mode 100644 index 635d27c76..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/client_failure_details.py +++ /dev/null @@ -1,162 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ClientFailureDetails(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'failure_timestamp': 'int', - 'reason_code': 'int', - 'reason': 'str' - } - - attribute_map = { - 'failure_timestamp': 'failureTimestamp', - 'reason_code': 'reasonCode', - 'reason': 'reason' - } - - def __init__(self, failure_timestamp=None, reason_code=None, reason=None): # noqa: E501 - """ClientFailureDetails - a model defined in Swagger""" # noqa: E501 - self._failure_timestamp = None - self._reason_code = None - self._reason = None - self.discriminator = None - if failure_timestamp is not None: - self.failure_timestamp = failure_timestamp - if reason_code is not None: - self.reason_code = reason_code - if reason is not None: - self.reason = reason - - @property - def failure_timestamp(self): - """Gets the failure_timestamp of this ClientFailureDetails. # noqa: E501 - - - :return: The failure_timestamp of this ClientFailureDetails. # noqa: E501 - :rtype: int - """ - return self._failure_timestamp - - @failure_timestamp.setter - def failure_timestamp(self, failure_timestamp): - """Sets the failure_timestamp of this ClientFailureDetails. - - - :param failure_timestamp: The failure_timestamp of this ClientFailureDetails. # noqa: E501 - :type: int - """ - - self._failure_timestamp = failure_timestamp - - @property - def reason_code(self): - """Gets the reason_code of this ClientFailureDetails. # noqa: E501 - - - :return: The reason_code of this ClientFailureDetails. # noqa: E501 - :rtype: int - """ - return self._reason_code - - @reason_code.setter - def reason_code(self, reason_code): - """Sets the reason_code of this ClientFailureDetails. - - - :param reason_code: The reason_code of this ClientFailureDetails. # noqa: E501 - :type: int - """ - - self._reason_code = reason_code - - @property - def reason(self): - """Gets the reason of this ClientFailureDetails. # noqa: E501 - - - :return: The reason of this ClientFailureDetails. # noqa: E501 - :rtype: str - """ - return self._reason - - @reason.setter - def reason(self, reason): - """Sets the reason of this ClientFailureDetails. - - - :param reason: The reason of this ClientFailureDetails. # noqa: E501 - :type: str - """ - - self._reason = reason - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ClientFailureDetails, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ClientFailureDetails): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/client_failure_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/client_failure_event.py deleted file mode 100644 index a59990807..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/client_failure_event.py +++ /dev/null @@ -1,267 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ClientFailureEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'all_of': 'RealTimeEvent', - 'session_id': 'int', - 'ssid': 'str', - 'client_mac_address': 'MacAddress', - 'reason_code': 'WlanReasonCode', - 'reason_string': 'str' - } - - attribute_map = { - 'model_type': 'model_type', - 'all_of': 'allOf', - 'session_id': 'sessionId', - 'ssid': 'ssid', - 'client_mac_address': 'clientMacAddress', - 'reason_code': 'reasonCode', - 'reason_string': 'reasonString' - } - - def __init__(self, model_type=None, all_of=None, session_id=None, ssid=None, client_mac_address=None, reason_code=None, reason_string=None): # noqa: E501 - """ClientFailureEvent - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._all_of = None - self._session_id = None - self._ssid = None - self._client_mac_address = None - self._reason_code = None - self._reason_string = None - self.discriminator = None - self.model_type = model_type - if all_of is not None: - self.all_of = all_of - if session_id is not None: - self.session_id = session_id - if ssid is not None: - self.ssid = ssid - if client_mac_address is not None: - self.client_mac_address = client_mac_address - if reason_code is not None: - self.reason_code = reason_code - if reason_string is not None: - self.reason_string = reason_string - - @property - def model_type(self): - """Gets the model_type of this ClientFailureEvent. # noqa: E501 - - - :return: The model_type of this ClientFailureEvent. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this ClientFailureEvent. - - - :param model_type: The model_type of this ClientFailureEvent. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - - self._model_type = model_type - - @property - def all_of(self): - """Gets the all_of of this ClientFailureEvent. # noqa: E501 - - - :return: The all_of of this ClientFailureEvent. # noqa: E501 - :rtype: RealTimeEvent - """ - return self._all_of - - @all_of.setter - def all_of(self, all_of): - """Sets the all_of of this ClientFailureEvent. - - - :param all_of: The all_of of this ClientFailureEvent. # noqa: E501 - :type: RealTimeEvent - """ - - self._all_of = all_of - - @property - def session_id(self): - """Gets the session_id of this ClientFailureEvent. # noqa: E501 - - - :return: The session_id of this ClientFailureEvent. # noqa: E501 - :rtype: int - """ - return self._session_id - - @session_id.setter - def session_id(self, session_id): - """Sets the session_id of this ClientFailureEvent. - - - :param session_id: The session_id of this ClientFailureEvent. # noqa: E501 - :type: int - """ - - self._session_id = session_id - - @property - def ssid(self): - """Gets the ssid of this ClientFailureEvent. # noqa: E501 - - - :return: The ssid of this ClientFailureEvent. # noqa: E501 - :rtype: str - """ - return self._ssid - - @ssid.setter - def ssid(self, ssid): - """Sets the ssid of this ClientFailureEvent. - - - :param ssid: The ssid of this ClientFailureEvent. # noqa: E501 - :type: str - """ - - self._ssid = ssid - - @property - def client_mac_address(self): - """Gets the client_mac_address of this ClientFailureEvent. # noqa: E501 - - - :return: The client_mac_address of this ClientFailureEvent. # noqa: E501 - :rtype: MacAddress - """ - return self._client_mac_address - - @client_mac_address.setter - def client_mac_address(self, client_mac_address): - """Sets the client_mac_address of this ClientFailureEvent. - - - :param client_mac_address: The client_mac_address of this ClientFailureEvent. # noqa: E501 - :type: MacAddress - """ - - self._client_mac_address = client_mac_address - - @property - def reason_code(self): - """Gets the reason_code of this ClientFailureEvent. # noqa: E501 - - - :return: The reason_code of this ClientFailureEvent. # noqa: E501 - :rtype: WlanReasonCode - """ - return self._reason_code - - @reason_code.setter - def reason_code(self, reason_code): - """Sets the reason_code of this ClientFailureEvent. - - - :param reason_code: The reason_code of this ClientFailureEvent. # noqa: E501 - :type: WlanReasonCode - """ - - self._reason_code = reason_code - - @property - def reason_string(self): - """Gets the reason_string of this ClientFailureEvent. # noqa: E501 - - - :return: The reason_string of this ClientFailureEvent. # noqa: E501 - :rtype: str - """ - return self._reason_string - - @reason_string.setter - def reason_string(self, reason_string): - """Sets the reason_string of this ClientFailureEvent. - - - :param reason_string: The reason_string of this ClientFailureEvent. # noqa: E501 - :type: str - """ - - self._reason_string = reason_string - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ClientFailureEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ClientFailureEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/client_first_data_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/client_first_data_event.py deleted file mode 100644 index c300bcd80..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/client_first_data_event.py +++ /dev/null @@ -1,241 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ClientFirstDataEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'all_of': 'RealTimeEvent', - 'session_id': 'int', - 'client_mac_address': 'MacAddress', - 'first_data_rcvd_ts': 'int', - 'first_data_sent_ts': 'int' - } - - attribute_map = { - 'model_type': 'model_type', - 'all_of': 'allOf', - 'session_id': 'sessionId', - 'client_mac_address': 'clientMacAddress', - 'first_data_rcvd_ts': 'firstDataRcvdTs', - 'first_data_sent_ts': 'firstDataSentTs' - } - - def __init__(self, model_type=None, all_of=None, session_id=None, client_mac_address=None, first_data_rcvd_ts=None, first_data_sent_ts=None): # noqa: E501 - """ClientFirstDataEvent - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._all_of = None - self._session_id = None - self._client_mac_address = None - self._first_data_rcvd_ts = None - self._first_data_sent_ts = None - self.discriminator = None - self.model_type = model_type - if all_of is not None: - self.all_of = all_of - if session_id is not None: - self.session_id = session_id - if client_mac_address is not None: - self.client_mac_address = client_mac_address - if first_data_rcvd_ts is not None: - self.first_data_rcvd_ts = first_data_rcvd_ts - if first_data_sent_ts is not None: - self.first_data_sent_ts = first_data_sent_ts - - @property - def model_type(self): - """Gets the model_type of this ClientFirstDataEvent. # noqa: E501 - - - :return: The model_type of this ClientFirstDataEvent. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this ClientFirstDataEvent. - - - :param model_type: The model_type of this ClientFirstDataEvent. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - - self._model_type = model_type - - @property - def all_of(self): - """Gets the all_of of this ClientFirstDataEvent. # noqa: E501 - - - :return: The all_of of this ClientFirstDataEvent. # noqa: E501 - :rtype: RealTimeEvent - """ - return self._all_of - - @all_of.setter - def all_of(self, all_of): - """Sets the all_of of this ClientFirstDataEvent. - - - :param all_of: The all_of of this ClientFirstDataEvent. # noqa: E501 - :type: RealTimeEvent - """ - - self._all_of = all_of - - @property - def session_id(self): - """Gets the session_id of this ClientFirstDataEvent. # noqa: E501 - - - :return: The session_id of this ClientFirstDataEvent. # noqa: E501 - :rtype: int - """ - return self._session_id - - @session_id.setter - def session_id(self, session_id): - """Sets the session_id of this ClientFirstDataEvent. - - - :param session_id: The session_id of this ClientFirstDataEvent. # noqa: E501 - :type: int - """ - - self._session_id = session_id - - @property - def client_mac_address(self): - """Gets the client_mac_address of this ClientFirstDataEvent. # noqa: E501 - - - :return: The client_mac_address of this ClientFirstDataEvent. # noqa: E501 - :rtype: MacAddress - """ - return self._client_mac_address - - @client_mac_address.setter - def client_mac_address(self, client_mac_address): - """Sets the client_mac_address of this ClientFirstDataEvent. - - - :param client_mac_address: The client_mac_address of this ClientFirstDataEvent. # noqa: E501 - :type: MacAddress - """ - - self._client_mac_address = client_mac_address - - @property - def first_data_rcvd_ts(self): - """Gets the first_data_rcvd_ts of this ClientFirstDataEvent. # noqa: E501 - - - :return: The first_data_rcvd_ts of this ClientFirstDataEvent. # noqa: E501 - :rtype: int - """ - return self._first_data_rcvd_ts - - @first_data_rcvd_ts.setter - def first_data_rcvd_ts(self, first_data_rcvd_ts): - """Sets the first_data_rcvd_ts of this ClientFirstDataEvent. - - - :param first_data_rcvd_ts: The first_data_rcvd_ts of this ClientFirstDataEvent. # noqa: E501 - :type: int - """ - - self._first_data_rcvd_ts = first_data_rcvd_ts - - @property - def first_data_sent_ts(self): - """Gets the first_data_sent_ts of this ClientFirstDataEvent. # noqa: E501 - - - :return: The first_data_sent_ts of this ClientFirstDataEvent. # noqa: E501 - :rtype: int - """ - return self._first_data_sent_ts - - @first_data_sent_ts.setter - def first_data_sent_ts(self, first_data_sent_ts): - """Sets the first_data_sent_ts of this ClientFirstDataEvent. - - - :param first_data_sent_ts: The first_data_sent_ts of this ClientFirstDataEvent. # noqa: E501 - :type: int - """ - - self._first_data_sent_ts = first_data_sent_ts - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ClientFirstDataEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ClientFirstDataEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/client_id_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/client_id_event.py deleted file mode 100644 index 865268eee..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/client_id_event.py +++ /dev/null @@ -1,241 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ClientIdEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'all_of': 'RealTimeEvent', - 'session_id': 'int', - 'mac_address_bytes': 'list[str]', - 'client_mac_address': 'MacAddress', - 'user_id': 'str' - } - - attribute_map = { - 'model_type': 'model_type', - 'all_of': 'allOf', - 'session_id': 'sessionId', - 'mac_address_bytes': 'macAddressBytes', - 'client_mac_address': 'clientMacAddress', - 'user_id': 'userId' - } - - def __init__(self, model_type=None, all_of=None, session_id=None, mac_address_bytes=None, client_mac_address=None, user_id=None): # noqa: E501 - """ClientIdEvent - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._all_of = None - self._session_id = None - self._mac_address_bytes = None - self._client_mac_address = None - self._user_id = None - self.discriminator = None - self.model_type = model_type - if all_of is not None: - self.all_of = all_of - if session_id is not None: - self.session_id = session_id - if mac_address_bytes is not None: - self.mac_address_bytes = mac_address_bytes - if client_mac_address is not None: - self.client_mac_address = client_mac_address - if user_id is not None: - self.user_id = user_id - - @property - def model_type(self): - """Gets the model_type of this ClientIdEvent. # noqa: E501 - - - :return: The model_type of this ClientIdEvent. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this ClientIdEvent. - - - :param model_type: The model_type of this ClientIdEvent. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - - self._model_type = model_type - - @property - def all_of(self): - """Gets the all_of of this ClientIdEvent. # noqa: E501 - - - :return: The all_of of this ClientIdEvent. # noqa: E501 - :rtype: RealTimeEvent - """ - return self._all_of - - @all_of.setter - def all_of(self, all_of): - """Sets the all_of of this ClientIdEvent. - - - :param all_of: The all_of of this ClientIdEvent. # noqa: E501 - :type: RealTimeEvent - """ - - self._all_of = all_of - - @property - def session_id(self): - """Gets the session_id of this ClientIdEvent. # noqa: E501 - - - :return: The session_id of this ClientIdEvent. # noqa: E501 - :rtype: int - """ - return self._session_id - - @session_id.setter - def session_id(self, session_id): - """Sets the session_id of this ClientIdEvent. - - - :param session_id: The session_id of this ClientIdEvent. # noqa: E501 - :type: int - """ - - self._session_id = session_id - - @property - def mac_address_bytes(self): - """Gets the mac_address_bytes of this ClientIdEvent. # noqa: E501 - - - :return: The mac_address_bytes of this ClientIdEvent. # noqa: E501 - :rtype: list[str] - """ - return self._mac_address_bytes - - @mac_address_bytes.setter - def mac_address_bytes(self, mac_address_bytes): - """Sets the mac_address_bytes of this ClientIdEvent. - - - :param mac_address_bytes: The mac_address_bytes of this ClientIdEvent. # noqa: E501 - :type: list[str] - """ - - self._mac_address_bytes = mac_address_bytes - - @property - def client_mac_address(self): - """Gets the client_mac_address of this ClientIdEvent. # noqa: E501 - - - :return: The client_mac_address of this ClientIdEvent. # noqa: E501 - :rtype: MacAddress - """ - return self._client_mac_address - - @client_mac_address.setter - def client_mac_address(self, client_mac_address): - """Sets the client_mac_address of this ClientIdEvent. - - - :param client_mac_address: The client_mac_address of this ClientIdEvent. # noqa: E501 - :type: MacAddress - """ - - self._client_mac_address = client_mac_address - - @property - def user_id(self): - """Gets the user_id of this ClientIdEvent. # noqa: E501 - - - :return: The user_id of this ClientIdEvent. # noqa: E501 - :rtype: str - """ - return self._user_id - - @user_id.setter - def user_id(self, user_id): - """Sets the user_id of this ClientIdEvent. - - - :param user_id: The user_id of this ClientIdEvent. # noqa: E501 - :type: str - """ - - self._user_id = user_id - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ClientIdEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ClientIdEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/client_info_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/client_info_details.py deleted file mode 100644 index 5ed13839e..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/client_info_details.py +++ /dev/null @@ -1,318 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ClientInfoDetails(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'alias': 'str', - 'client_type': 'int', - 'ap_fingerprint': 'str', - 'user_name': 'str', - 'host_name': 'str', - 'last_used_cp_username': 'str', - 'last_user_agent': 'str', - 'do_not_steer': 'bool', - 'blocklist_details': 'BlocklistDetails' - } - - attribute_map = { - 'alias': 'alias', - 'client_type': 'clientType', - 'ap_fingerprint': 'apFingerprint', - 'user_name': 'userName', - 'host_name': 'hostName', - 'last_used_cp_username': 'lastUsedCpUsername', - 'last_user_agent': 'lastUserAgent', - 'do_not_steer': 'doNotSteer', - 'blocklist_details': 'blocklistDetails' - } - - def __init__(self, alias=None, client_type=None, ap_fingerprint=None, user_name=None, host_name=None, last_used_cp_username=None, last_user_agent=None, do_not_steer=None, blocklist_details=None): # noqa: E501 - """ClientInfoDetails - a model defined in Swagger""" # noqa: E501 - self._alias = None - self._client_type = None - self._ap_fingerprint = None - self._user_name = None - self._host_name = None - self._last_used_cp_username = None - self._last_user_agent = None - self._do_not_steer = None - self._blocklist_details = None - self.discriminator = None - if alias is not None: - self.alias = alias - if client_type is not None: - self.client_type = client_type - if ap_fingerprint is not None: - self.ap_fingerprint = ap_fingerprint - if user_name is not None: - self.user_name = user_name - if host_name is not None: - self.host_name = host_name - if last_used_cp_username is not None: - self.last_used_cp_username = last_used_cp_username - if last_user_agent is not None: - self.last_user_agent = last_user_agent - if do_not_steer is not None: - self.do_not_steer = do_not_steer - if blocklist_details is not None: - self.blocklist_details = blocklist_details - - @property - def alias(self): - """Gets the alias of this ClientInfoDetails. # noqa: E501 - - - :return: The alias of this ClientInfoDetails. # noqa: E501 - :rtype: str - """ - return self._alias - - @alias.setter - def alias(self, alias): - """Sets the alias of this ClientInfoDetails. - - - :param alias: The alias of this ClientInfoDetails. # noqa: E501 - :type: str - """ - - self._alias = alias - - @property - def client_type(self): - """Gets the client_type of this ClientInfoDetails. # noqa: E501 - - - :return: The client_type of this ClientInfoDetails. # noqa: E501 - :rtype: int - """ - return self._client_type - - @client_type.setter - def client_type(self, client_type): - """Sets the client_type of this ClientInfoDetails. - - - :param client_type: The client_type of this ClientInfoDetails. # noqa: E501 - :type: int - """ - - self._client_type = client_type - - @property - def ap_fingerprint(self): - """Gets the ap_fingerprint of this ClientInfoDetails. # noqa: E501 - - - :return: The ap_fingerprint of this ClientInfoDetails. # noqa: E501 - :rtype: str - """ - return self._ap_fingerprint - - @ap_fingerprint.setter - def ap_fingerprint(self, ap_fingerprint): - """Sets the ap_fingerprint of this ClientInfoDetails. - - - :param ap_fingerprint: The ap_fingerprint of this ClientInfoDetails. # noqa: E501 - :type: str - """ - - self._ap_fingerprint = ap_fingerprint - - @property - def user_name(self): - """Gets the user_name of this ClientInfoDetails. # noqa: E501 - - - :return: The user_name of this ClientInfoDetails. # noqa: E501 - :rtype: str - """ - return self._user_name - - @user_name.setter - def user_name(self, user_name): - """Sets the user_name of this ClientInfoDetails. - - - :param user_name: The user_name of this ClientInfoDetails. # noqa: E501 - :type: str - """ - - self._user_name = user_name - - @property - def host_name(self): - """Gets the host_name of this ClientInfoDetails. # noqa: E501 - - - :return: The host_name of this ClientInfoDetails. # noqa: E501 - :rtype: str - """ - return self._host_name - - @host_name.setter - def host_name(self, host_name): - """Sets the host_name of this ClientInfoDetails. - - - :param host_name: The host_name of this ClientInfoDetails. # noqa: E501 - :type: str - """ - - self._host_name = host_name - - @property - def last_used_cp_username(self): - """Gets the last_used_cp_username of this ClientInfoDetails. # noqa: E501 - - - :return: The last_used_cp_username of this ClientInfoDetails. # noqa: E501 - :rtype: str - """ - return self._last_used_cp_username - - @last_used_cp_username.setter - def last_used_cp_username(self, last_used_cp_username): - """Sets the last_used_cp_username of this ClientInfoDetails. - - - :param last_used_cp_username: The last_used_cp_username of this ClientInfoDetails. # noqa: E501 - :type: str - """ - - self._last_used_cp_username = last_used_cp_username - - @property - def last_user_agent(self): - """Gets the last_user_agent of this ClientInfoDetails. # noqa: E501 - - - :return: The last_user_agent of this ClientInfoDetails. # noqa: E501 - :rtype: str - """ - return self._last_user_agent - - @last_user_agent.setter - def last_user_agent(self, last_user_agent): - """Sets the last_user_agent of this ClientInfoDetails. - - - :param last_user_agent: The last_user_agent of this ClientInfoDetails. # noqa: E501 - :type: str - """ - - self._last_user_agent = last_user_agent - - @property - def do_not_steer(self): - """Gets the do_not_steer of this ClientInfoDetails. # noqa: E501 - - - :return: The do_not_steer of this ClientInfoDetails. # noqa: E501 - :rtype: bool - """ - return self._do_not_steer - - @do_not_steer.setter - def do_not_steer(self, do_not_steer): - """Sets the do_not_steer of this ClientInfoDetails. - - - :param do_not_steer: The do_not_steer of this ClientInfoDetails. # noqa: E501 - :type: bool - """ - - self._do_not_steer = do_not_steer - - @property - def blocklist_details(self): - """Gets the blocklist_details of this ClientInfoDetails. # noqa: E501 - - - :return: The blocklist_details of this ClientInfoDetails. # noqa: E501 - :rtype: BlocklistDetails - """ - return self._blocklist_details - - @blocklist_details.setter - def blocklist_details(self, blocklist_details): - """Sets the blocklist_details of this ClientInfoDetails. - - - :param blocklist_details: The blocklist_details of this ClientInfoDetails. # noqa: E501 - :type: BlocklistDetails - """ - - self._blocklist_details = blocklist_details - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ClientInfoDetails, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ClientInfoDetails): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/client_ip_address_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/client_ip_address_event.py deleted file mode 100644 index 5ca563f41..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/client_ip_address_event.py +++ /dev/null @@ -1,215 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ClientIpAddressEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'all_of': 'RealTimeEvent', - 'session_id': 'int', - 'client_mac_address': 'MacAddress', - 'ip_addr': 'list[str]' - } - - attribute_map = { - 'model_type': 'model_type', - 'all_of': 'allOf', - 'session_id': 'sessionId', - 'client_mac_address': 'clientMacAddress', - 'ip_addr': 'ipAddr' - } - - def __init__(self, model_type=None, all_of=None, session_id=None, client_mac_address=None, ip_addr=None): # noqa: E501 - """ClientIpAddressEvent - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._all_of = None - self._session_id = None - self._client_mac_address = None - self._ip_addr = None - self.discriminator = None - self.model_type = model_type - if all_of is not None: - self.all_of = all_of - if session_id is not None: - self.session_id = session_id - if client_mac_address is not None: - self.client_mac_address = client_mac_address - if ip_addr is not None: - self.ip_addr = ip_addr - - @property - def model_type(self): - """Gets the model_type of this ClientIpAddressEvent. # noqa: E501 - - - :return: The model_type of this ClientIpAddressEvent. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this ClientIpAddressEvent. - - - :param model_type: The model_type of this ClientIpAddressEvent. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - - self._model_type = model_type - - @property - def all_of(self): - """Gets the all_of of this ClientIpAddressEvent. # noqa: E501 - - - :return: The all_of of this ClientIpAddressEvent. # noqa: E501 - :rtype: RealTimeEvent - """ - return self._all_of - - @all_of.setter - def all_of(self, all_of): - """Sets the all_of of this ClientIpAddressEvent. - - - :param all_of: The all_of of this ClientIpAddressEvent. # noqa: E501 - :type: RealTimeEvent - """ - - self._all_of = all_of - - @property - def session_id(self): - """Gets the session_id of this ClientIpAddressEvent. # noqa: E501 - - - :return: The session_id of this ClientIpAddressEvent. # noqa: E501 - :rtype: int - """ - return self._session_id - - @session_id.setter - def session_id(self, session_id): - """Sets the session_id of this ClientIpAddressEvent. - - - :param session_id: The session_id of this ClientIpAddressEvent. # noqa: E501 - :type: int - """ - - self._session_id = session_id - - @property - def client_mac_address(self): - """Gets the client_mac_address of this ClientIpAddressEvent. # noqa: E501 - - - :return: The client_mac_address of this ClientIpAddressEvent. # noqa: E501 - :rtype: MacAddress - """ - return self._client_mac_address - - @client_mac_address.setter - def client_mac_address(self, client_mac_address): - """Sets the client_mac_address of this ClientIpAddressEvent. - - - :param client_mac_address: The client_mac_address of this ClientIpAddressEvent. # noqa: E501 - :type: MacAddress - """ - - self._client_mac_address = client_mac_address - - @property - def ip_addr(self): - """Gets the ip_addr of this ClientIpAddressEvent. # noqa: E501 - - - :return: The ip_addr of this ClientIpAddressEvent. # noqa: E501 - :rtype: list[str] - """ - return self._ip_addr - - @ip_addr.setter - def ip_addr(self, ip_addr): - """Sets the ip_addr of this ClientIpAddressEvent. - - - :param ip_addr: The ip_addr of this ClientIpAddressEvent. # noqa: E501 - :type: list[str] - """ - - self._ip_addr = ip_addr - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ClientIpAddressEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ClientIpAddressEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/client_metrics.py b/libs/cloudapi/cloudsdk/swagger_client/models/client_metrics.py deleted file mode 100644 index 120f5e494..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/client_metrics.py +++ /dev/null @@ -1,9505 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ClientMetrics(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'seconds_since_last_recv': 'int', - 'num_rx_packets': 'int', - 'num_tx_packets': 'int', - 'num_rx_bytes': 'int', - 'num_tx_bytes': 'int', - 'tx_retries': 'int', - 'rx_duplicate_packets': 'int', - 'rate_count': 'int', - 'rates': 'list[int]', - 'mcs': 'list[int]', - 'vht_mcs': 'int', - 'snr': 'int', - 'rssi': 'int', - 'session_id': 'int', - 'classification_name': 'str', - 'channel_band_width': 'ChannelBandwidth', - 'guard_interval': 'GuardInterval', - 'cisco_last_rate': 'int', - 'average_tx_rate': 'float', - 'average_rx_rate': 'float', - 'num_tx_data_frames_12_mbps': 'int', - 'num_tx_data_frames_54_mbps': 'int', - 'num_tx_data_frames_108_mbps': 'int', - 'num_tx_data_frames_300_mbps': 'int', - 'num_tx_data_frames_450_mbps': 'int', - 'num_tx_data_frames_1300_mbps': 'int', - 'num_tx_data_frames_1300_plus_mbps': 'int', - 'num_rx_data_frames_12_mbps': 'int', - 'num_rx_data_frames_54_mbps': 'int', - 'num_rx_data_frames_108_mbps': 'int', - 'num_rx_data_frames_300_mbps': 'int', - 'num_rx_data_frames_450_mbps': 'int', - 'num_rx_data_frames_1300_mbps': 'int', - 'num_rx_data_frames_1300_plus_mbps': 'int', - 'num_tx_time_frames_transmitted': 'int', - 'num_rx_time_to_me': 'int', - 'num_tx_time_data': 'int', - 'num_rx_time_data': 'int', - 'num_tx_frames_transmitted': 'int', - 'num_tx_success_with_retry': 'int', - 'num_tx_multiple_retries': 'int', - 'num_tx_data_transmitted_retried': 'int', - 'num_tx_data_transmitted': 'int', - 'num_rx_frames_received': 'int', - 'num_rx_data_frames_retried': 'int', - 'num_rx_data_frames': 'int', - 'num_tx_1_mbps': 'int', - 'num_tx_6_mbps': 'int', - 'num_tx_9_mbps': 'int', - 'num_tx_12_mbps': 'int', - 'num_tx_18_mbps': 'int', - 'num_tx_24_mbps': 'int', - 'num_tx_36_mbps': 'int', - 'num_tx_48_mbps': 'int', - 'num_tx_54_mbps': 'int', - 'num_rx_1_mbps': 'int', - 'num_rx_6_mbps': 'int', - 'num_rx_9_mbps': 'int', - 'num_rx_12_mbps': 'int', - 'num_rx_18_mbps': 'int', - 'num_rx_24_mbps': 'int', - 'num_rx_36_mbps': 'int', - 'num_rx_48_mbps': 'int', - 'num_rx_54_mbps': 'int', - 'num_tx_ht_6_5_mbps': 'int', - 'num_tx_ht_7_1_mbps': 'int', - 'num_tx_ht_13_mbps': 'int', - 'num_tx_ht_13_5_mbps': 'int', - 'num_tx_ht_14_3_mbps': 'int', - 'num_tx_ht_15_mbps': 'int', - 'num_tx_ht_19_5_mbps': 'int', - 'num_tx_ht_21_7_mbps': 'int', - 'num_tx_ht_26_mbps': 'int', - 'num_tx_ht_27_mbps': 'int', - 'num_tx_ht_28_7_mbps': 'int', - 'num_tx_ht_28_8_mbps': 'int', - 'num_tx_ht_29_2_mbps': 'int', - 'num_tx_ht_30_mbps': 'int', - 'num_tx_ht_32_5_mbps': 'int', - 'num_tx_ht_39_mbps': 'int', - 'num_tx_ht_40_5_mbps': 'int', - 'num_tx_ht_43_2_mbps': 'int', - 'num_tx_ht_45_mbps': 'int', - 'num_tx_ht_52_mbps': 'int', - 'num_tx_ht_54_mbps': 'int', - 'num_tx_ht_57_5_mbps': 'int', - 'num_tx_ht_57_7_mbps': 'int', - 'num_tx_ht_58_5_mbps': 'int', - 'num_tx_ht_60_mbps': 'int', - 'num_tx_ht_65_mbps': 'int', - 'num_tx_ht_72_1_mbps': 'int', - 'num_tx_ht_78_mbps': 'int', - 'num_tx_ht_81_mbps': 'int', - 'num_tx_ht_86_6_mbps': 'int', - 'num_tx_ht_86_8_mbps': 'int', - 'num_tx_ht_87_8_mbps': 'int', - 'num_tx_ht_90_mbps': 'int', - 'num_tx_ht_97_5_mbps': 'int', - 'num_tx_ht_104_mbps': 'int', - 'num_tx_ht_108_mbps': 'int', - 'num_tx_ht_115_5_mbps': 'int', - 'num_tx_ht_117_mbps': 'int', - 'num_tx_ht_117_1_mbps': 'int', - 'num_tx_ht_120_mbps': 'int', - 'num_tx_ht_121_5_mbps': 'int', - 'num_tx_ht_130_mbps': 'int', - 'num_tx_ht_130_3_mbps': 'int', - 'num_tx_ht_135_mbps': 'int', - 'num_tx_ht_144_3_mbps': 'int', - 'num_tx_ht_150_mbps': 'int', - 'num_tx_ht_156_mbps': 'int', - 'num_tx_ht_162_mbps': 'int', - 'num_tx_ht_173_1_mbps': 'int', - 'num_tx_ht_173_3_mbps': 'int', - 'num_tx_ht_175_5_mbps': 'int', - 'num_tx_ht_180_mbps': 'int', - 'num_tx_ht_195_mbps': 'int', - 'num_tx_ht_200_mbps': 'int', - 'num_tx_ht_208_mbps': 'int', - 'num_tx_ht_216_mbps': 'int', - 'num_tx_ht_216_6_mbps': 'int', - 'num_tx_ht_231_1_mbps': 'int', - 'num_tx_ht_234_mbps': 'int', - 'num_tx_ht_240_mbps': 'int', - 'num_tx_ht_243_mbps': 'int', - 'num_tx_ht_260_mbps': 'int', - 'num_tx_ht_263_2_mbps': 'int', - 'num_tx_ht_270_mbps': 'int', - 'num_tx_ht_288_7_mbps': 'int', - 'num_tx_ht_288_8_mbps': 'int', - 'num_tx_ht_292_5_mbps': 'int', - 'num_tx_ht_300_mbps': 'int', - 'num_tx_ht_312_mbps': 'int', - 'num_tx_ht_324_mbps': 'int', - 'num_tx_ht_325_mbps': 'int', - 'num_tx_ht_346_7_mbps': 'int', - 'num_tx_ht_351_mbps': 'int', - 'num_tx_ht_351_2_mbps': 'int', - 'num_tx_ht_360_mbps': 'int', - 'num_rx_ht_6_5_mbps': 'int', - 'num_rx_ht_7_1_mbps': 'int', - 'num_rx_ht_13_mbps': 'int', - 'num_rx_ht_13_5_mbps': 'int', - 'num_rx_ht_14_3_mbps': 'int', - 'num_rx_ht_15_mbps': 'int', - 'num_rx_ht_19_5_mbps': 'int', - 'num_rx_ht_21_7_mbps': 'int', - 'num_rx_ht_26_mbps': 'int', - 'num_rx_ht_27_mbps': 'int', - 'num_rx_ht_28_7_mbps': 'int', - 'num_rx_ht_28_8_mbps': 'int', - 'num_rx_ht_29_2_mbps': 'int', - 'num_rx_ht_30_mbps': 'int', - 'num_rx_ht_32_5_mbps': 'int', - 'num_rx_ht_39_mbps': 'int', - 'num_rx_ht_40_5_mbps': 'int', - 'num_rx_ht_43_2_mbps': 'int', - 'num_rx_ht_45_mbps': 'int', - 'num_rx_ht_52_mbps': 'int', - 'num_rx_ht_54_mbps': 'int', - 'num_rx_ht_57_5_mbps': 'int', - 'num_rx_ht_57_7_mbps': 'int', - 'num_rx_ht_58_5_mbps': 'int', - 'num_rx_ht_60_mbps': 'int', - 'num_rx_ht_65_mbps': 'int', - 'num_rx_ht_72_1_mbps': 'int', - 'num_rx_ht_78_mbps': 'int', - 'num_rx_ht_81_mbps': 'int', - 'num_rx_ht_86_6_mbps': 'int', - 'num_rx_ht_86_8_mbps': 'int', - 'num_rx_ht_87_8_mbps': 'int', - 'num_rx_ht_90_mbps': 'int', - 'num_rx_ht_97_5_mbps': 'int', - 'num_rx_ht_104_mbps': 'int', - 'num_rx_ht_108_mbps': 'int', - 'num_rx_ht_115_5_mbps': 'int', - 'num_rx_ht_117_mbps': 'int', - 'num_rx_ht_117_1_mbps': 'int', - 'num_rx_ht_120_mbps': 'int', - 'num_rx_ht_121_5_mbps': 'int', - 'num_rx_ht_130_mbps': 'int', - 'num_rx_ht_130_3_mbps': 'int', - 'num_rx_ht_135_mbps': 'int', - 'num_rx_ht_144_3_mbps': 'int', - 'num_rx_ht_150_mbps': 'int', - 'num_rx_ht_156_mbps': 'int', - 'num_rx_ht_162_mbps': 'int', - 'num_rx_ht_173_1_mbps': 'int', - 'num_rx_ht_173_3_mbps': 'int', - 'num_rx_ht_175_5_mbps': 'int', - 'num_rx_ht_180_mbps': 'int', - 'num_rx_ht_195_mbps': 'int', - 'num_rx_ht_200_mbps': 'int', - 'num_rx_ht_208_mbps': 'int', - 'num_rx_ht_216_mbps': 'int', - 'num_rx_ht_216_6_mbps': 'int', - 'num_rx_ht_231_1_mbps': 'int', - 'num_rx_ht_234_mbps': 'int', - 'num_rx_ht_240_mbps': 'int', - 'num_rx_ht_243_mbps': 'int', - 'num_rx_ht_260_mbps': 'int', - 'num_rx_ht_263_2_mbps': 'int', - 'num_rx_ht_270_mbps': 'int', - 'num_rx_ht_288_7_mbps': 'int', - 'num_rx_ht_288_8_mbps': 'int', - 'num_rx_ht_292_5_mbps': 'int', - 'num_rx_ht_300_mbps': 'int', - 'num_rx_ht_312_mbps': 'int', - 'num_rx_ht_324_mbps': 'int', - 'num_rx_ht_325_mbps': 'int', - 'num_rx_ht_346_7_mbps': 'int', - 'num_rx_ht_351_mbps': 'int', - 'num_rx_ht_351_2_mbps': 'int', - 'num_rx_ht_360_mbps': 'int', - 'num_tx_vht_292_5_mbps': 'int', - 'num_tx_vht_325_mbps': 'int', - 'num_tx_vht_364_5_mbps': 'int', - 'num_tx_vht_390_mbps': 'int', - 'num_tx_vht_400_mbps': 'int', - 'num_tx_vht_403_mbps': 'int', - 'num_tx_vht_405_mbps': 'int', - 'num_tx_vht_432_mbps': 'int', - 'num_tx_vht_433_2_mbps': 'int', - 'num_tx_vht_450_mbps': 'int', - 'num_tx_vht_468_mbps': 'int', - 'num_tx_vht_480_mbps': 'int', - 'num_tx_vht_486_mbps': 'int', - 'num_tx_vht_520_mbps': 'int', - 'num_tx_vht_526_5_mbps': 'int', - 'num_tx_vht_540_mbps': 'int', - 'num_tx_vht_585_mbps': 'int', - 'num_tx_vht_600_mbps': 'int', - 'num_tx_vht_648_mbps': 'int', - 'num_tx_vht_650_mbps': 'int', - 'num_tx_vht_702_mbps': 'int', - 'num_tx_vht_720_mbps': 'int', - 'num_tx_vht_780_mbps': 'int', - 'num_tx_vht_800_mbps': 'int', - 'num_tx_vht_866_7_mbps': 'int', - 'num_tx_vht_877_5_mbps': 'int', - 'num_tx_vht_936_mbps': 'int', - 'num_tx_vht_975_mbps': 'int', - 'num_tx_vht_1040_mbps': 'int', - 'num_tx_vht_1053_mbps': 'int', - 'num_tx_vht_1053_1_mbps': 'int', - 'num_tx_vht_1170_mbps': 'int', - 'num_tx_vht_1300_mbps': 'int', - 'num_tx_vht_1404_mbps': 'int', - 'num_tx_vht_1560_mbps': 'int', - 'num_tx_vht_1579_5_mbps': 'int', - 'num_tx_vht_1733_1_mbps': 'int', - 'num_tx_vht_1733_4_mbps': 'int', - 'num_tx_vht_1755_mbps': 'int', - 'num_tx_vht_1872_mbps': 'int', - 'num_tx_vht_1950_mbps': 'int', - 'num_tx_vht_2080_mbps': 'int', - 'num_tx_vht_2106_mbps': 'int', - 'num_tx_vht_2340_mbps': 'int', - 'num_tx_vht_2600_mbps': 'int', - 'num_tx_vht_2808_mbps': 'int', - 'num_tx_vht_3120_mbps': 'int', - 'num_tx_vht_3466_8_mbps': 'int', - 'num_rx_vht_292_5_mbps': 'int', - 'num_rx_vht_325_mbps': 'int', - 'num_rx_vht_364_5_mbps': 'int', - 'num_rx_vht_390_mbps': 'int', - 'num_rx_vht_400_mbps': 'int', - 'num_rx_vht_403_mbps': 'int', - 'num_rx_vht_405_mbps': 'int', - 'num_rx_vht_432_mbps': 'int', - 'num_rx_vht_433_2_mbps': 'int', - 'num_rx_vht_450_mbps': 'int', - 'num_rx_vht_468_mbps': 'int', - 'num_rx_vht_480_mbps': 'int', - 'num_rx_vht_486_mbps': 'int', - 'num_rx_vht_520_mbps': 'int', - 'num_rx_vht_526_5_mbps': 'int', - 'num_rx_vht_540_mbps': 'int', - 'num_rx_vht_585_mbps': 'int', - 'num_rx_vht_600_mbps': 'int', - 'num_rx_vht_648_mbps': 'int', - 'num_rx_vht_650_mbps': 'int', - 'num_rx_vht_702_mbps': 'int', - 'num_rx_vht_720_mbps': 'int', - 'num_rx_vht_780_mbps': 'int', - 'num_rx_vht_800_mbps': 'int', - 'num_rx_vht_866_7_mbps': 'int', - 'num_rx_vht_877_5_mbps': 'int', - 'num_rx_vht_936_mbps': 'int', - 'num_rx_vht_975_mbps': 'int', - 'num_rx_vht_1040_mbps': 'int', - 'num_rx_vht_1053_mbps': 'int', - 'num_rx_vht_1053_1_mbps': 'int', - 'num_rx_vht_1170_mbps': 'int', - 'num_rx_vht_1300_mbps': 'int', - 'num_rx_vht_1404_mbps': 'int', - 'num_rx_vht_1560_mbps': 'int', - 'num_rx_vht_1579_5_mbps': 'int', - 'num_rx_vht_1733_1_mbps': 'int', - 'num_rx_vht_1733_4_mbps': 'int', - 'num_rx_vht_1755_mbps': 'int', - 'num_rx_vht_1872_mbps': 'int', - 'num_rx_vht_1950_mbps': 'int', - 'num_rx_vht_2080_mbps': 'int', - 'num_rx_vht_2106_mbps': 'int', - 'num_rx_vht_2340_mbps': 'int', - 'num_rx_vht_2600_mbps': 'int', - 'num_rx_vht_2808_mbps': 'int', - 'num_rx_vht_3120_mbps': 'int', - 'num_rx_vht_3466_8_mbps': 'int', - 'rx_last_rssi': 'int', - 'num_rx_no_fcs_err': 'int', - 'num_rx_data': 'int', - 'num_rx_management': 'int', - 'num_rx_control': 'int', - 'rx_bytes': 'int', - 'rx_data_bytes': 'int', - 'num_rx_rts': 'int', - 'num_rx_cts': 'int', - 'num_rx_ack': 'int', - 'num_rx_probe_req': 'int', - 'num_rx_retry': 'int', - 'num_rx_dup': 'int', - 'num_rx_null_data': 'int', - 'num_rx_pspoll': 'int', - 'num_rx_stbc': 'int', - 'num_rx_ldpc': 'int', - 'last_recv_layer3_ts': 'int', - 'num_rcv_frame_for_tx': 'int', - 'num_tx_queued': 'int', - 'num_tx_dropped': 'int', - 'num_tx_retry_dropped': 'int', - 'num_tx_succ': 'int', - 'num_tx_byte_succ': 'int', - 'num_tx_succ_no_retry': 'int', - 'num_tx_succ_retries': 'int', - 'num_tx_multi_retries': 'int', - 'num_tx_management': 'int', - 'num_tx_control': 'int', - 'num_tx_action': 'int', - 'num_tx_prop_resp': 'int', - 'num_tx_data': 'int', - 'num_tx_data_retries': 'int', - 'num_tx_rts_succ': 'int', - 'num_tx_rts_fail': 'int', - 'num_tx_no_ack': 'int', - 'num_tx_eapol': 'int', - 'num_tx_ldpc': 'int', - 'num_tx_stbc': 'int', - 'num_tx_aggr_succ': 'int', - 'num_tx_aggr_one_mpdu': 'int', - 'last_sent_layer3_ts': 'int', - 'wmm_queue_stats': 'WmmQueueStatsPerQueueTypeMap', - 'list_mcs_stats_mcs_stats': 'list[McsStats]', - 'last_rx_mcs_idx': 'McsType', - 'last_tx_mcs_idx': 'McsType', - 'radio_type': 'RadioType', - 'period_length_sec': 'int' - } - - attribute_map = { - 'model_type': 'model_type', - 'seconds_since_last_recv': 'secondsSinceLastRecv', - 'num_rx_packets': 'numRxPackets', - 'num_tx_packets': 'numTxPackets', - 'num_rx_bytes': 'numRxBytes', - 'num_tx_bytes': 'numTxBytes', - 'tx_retries': 'txRetries', - 'rx_duplicate_packets': 'rxDuplicatePackets', - 'rate_count': 'rateCount', - 'rates': 'rates', - 'mcs': 'mcs', - 'vht_mcs': 'vhtMcs', - 'snr': 'snr', - 'rssi': 'rssi', - 'session_id': 'sessionId', - 'classification_name': 'classificationName', - 'channel_band_width': 'channelBandWidth', - 'guard_interval': 'guardInterval', - 'cisco_last_rate': 'ciscoLastRate', - 'average_tx_rate': 'averageTxRate', - 'average_rx_rate': 'averageRxRate', - 'num_tx_data_frames_12_mbps': 'numTxDataFrames_12_Mbps', - 'num_tx_data_frames_54_mbps': 'numTxDataFrames_54_Mbps', - 'num_tx_data_frames_108_mbps': 'numTxDataFrames_108_Mbps', - 'num_tx_data_frames_300_mbps': 'numTxDataFrames_300_Mbps', - 'num_tx_data_frames_450_mbps': 'numTxDataFrames_450_Mbps', - 'num_tx_data_frames_1300_mbps': 'numTxDataFrames_1300_Mbps', - 'num_tx_data_frames_1300_plus_mbps': 'numTxDataFrames_1300Plus_Mbps', - 'num_rx_data_frames_12_mbps': 'numRxDataFrames_12_Mbps', - 'num_rx_data_frames_54_mbps': 'numRxDataFrames_54_Mbps', - 'num_rx_data_frames_108_mbps': 'numRxDataFrames_108_Mbps', - 'num_rx_data_frames_300_mbps': 'numRxDataFrames_300_Mbps', - 'num_rx_data_frames_450_mbps': 'numRxDataFrames_450_Mbps', - 'num_rx_data_frames_1300_mbps': 'numRxDataFrames_1300_Mbps', - 'num_rx_data_frames_1300_plus_mbps': 'numRxDataFrames_1300Plus_Mbps', - 'num_tx_time_frames_transmitted': 'numTxTimeFramesTransmitted', - 'num_rx_time_to_me': 'numRxTimeToMe', - 'num_tx_time_data': 'numTxTimeData', - 'num_rx_time_data': 'numRxTimeData', - 'num_tx_frames_transmitted': 'numTxFramesTransmitted', - 'num_tx_success_with_retry': 'numTxSuccessWithRetry', - 'num_tx_multiple_retries': 'numTxMultipleRetries', - 'num_tx_data_transmitted_retried': 'numTxDataTransmittedRetried', - 'num_tx_data_transmitted': 'numTxDataTransmitted', - 'num_rx_frames_received': 'numRxFramesReceived', - 'num_rx_data_frames_retried': 'numRxDataFramesRetried', - 'num_rx_data_frames': 'numRxDataFrames', - 'num_tx_1_mbps': 'numTx_1_Mbps', - 'num_tx_6_mbps': 'numTx_6_Mbps', - 'num_tx_9_mbps': 'numTx_9_Mbps', - 'num_tx_12_mbps': 'numTx_12_Mbps', - 'num_tx_18_mbps': 'numTx_18_Mbps', - 'num_tx_24_mbps': 'numTx_24_Mbps', - 'num_tx_36_mbps': 'numTx_36_Mbps', - 'num_tx_48_mbps': 'numTx_48_Mbps', - 'num_tx_54_mbps': 'numTx_54_Mbps', - 'num_rx_1_mbps': 'numRx_1_Mbps', - 'num_rx_6_mbps': 'numRx_6_Mbps', - 'num_rx_9_mbps': 'numRx_9_Mbps', - 'num_rx_12_mbps': 'numRx_12_Mbps', - 'num_rx_18_mbps': 'numRx_18_Mbps', - 'num_rx_24_mbps': 'numRx_24_Mbps', - 'num_rx_36_mbps': 'numRx_36_Mbps', - 'num_rx_48_mbps': 'numRx_48_Mbps', - 'num_rx_54_mbps': 'numRx_54_Mbps', - 'num_tx_ht_6_5_mbps': 'numTxHT_6_5_Mbps', - 'num_tx_ht_7_1_mbps': 'numTxHT_7_1_Mbps', - 'num_tx_ht_13_mbps': 'numTxHT_13_Mbps', - 'num_tx_ht_13_5_mbps': 'numTxHT_13_5_Mbps', - 'num_tx_ht_14_3_mbps': 'numTxHT_14_3_Mbps', - 'num_tx_ht_15_mbps': 'numTxHT_15_Mbps', - 'num_tx_ht_19_5_mbps': 'numTxHT_19_5_Mbps', - 'num_tx_ht_21_7_mbps': 'numTxHT_21_7_Mbps', - 'num_tx_ht_26_mbps': 'numTxHT_26_Mbps', - 'num_tx_ht_27_mbps': 'numTxHT_27_Mbps', - 'num_tx_ht_28_7_mbps': 'numTxHT_28_7_Mbps', - 'num_tx_ht_28_8_mbps': 'numTxHT_28_8_Mbps', - 'num_tx_ht_29_2_mbps': 'numTxHT_29_2_Mbps', - 'num_tx_ht_30_mbps': 'numTxHT_30_Mbps', - 'num_tx_ht_32_5_mbps': 'numTxHT_32_5_Mbps', - 'num_tx_ht_39_mbps': 'numTxHT_39_Mbps', - 'num_tx_ht_40_5_mbps': 'numTxHT_40_5_Mbps', - 'num_tx_ht_43_2_mbps': 'numTxHT_43_2_Mbps', - 'num_tx_ht_45_mbps': 'numTxHT_45_Mbps', - 'num_tx_ht_52_mbps': 'numTxHT_52_Mbps', - 'num_tx_ht_54_mbps': 'numTxHT_54_Mbps', - 'num_tx_ht_57_5_mbps': 'numTxHT_57_5_Mbps', - 'num_tx_ht_57_7_mbps': 'numTxHT_57_7_Mbps', - 'num_tx_ht_58_5_mbps': 'numTxHT_58_5_Mbps', - 'num_tx_ht_60_mbps': 'numTxHT_60_Mbps', - 'num_tx_ht_65_mbps': 'numTxHT_65_Mbps', - 'num_tx_ht_72_1_mbps': 'numTxHT_72_1_Mbps', - 'num_tx_ht_78_mbps': 'numTxHT_78_Mbps', - 'num_tx_ht_81_mbps': 'numTxHT_81_Mbps', - 'num_tx_ht_86_6_mbps': 'numTxHT_86_6_Mbps', - 'num_tx_ht_86_8_mbps': 'numTxHT_86_8_Mbps', - 'num_tx_ht_87_8_mbps': 'numTxHT_87_8_Mbps', - 'num_tx_ht_90_mbps': 'numTxHT_90_Mbps', - 'num_tx_ht_97_5_mbps': 'numTxHT_97_5_Mbps', - 'num_tx_ht_104_mbps': 'numTxHT_104_Mbps', - 'num_tx_ht_108_mbps': 'numTxHT_108_Mbps', - 'num_tx_ht_115_5_mbps': 'numTxHT_115_5_Mbps', - 'num_tx_ht_117_mbps': 'numTxHT_117_Mbps', - 'num_tx_ht_117_1_mbps': 'numTxHT_117_1_Mbps', - 'num_tx_ht_120_mbps': 'numTxHT_120_Mbps', - 'num_tx_ht_121_5_mbps': 'numTxHT_121_5_Mbps', - 'num_tx_ht_130_mbps': 'numTxHT_130_Mbps', - 'num_tx_ht_130_3_mbps': 'numTxHT_130_3_Mbps', - 'num_tx_ht_135_mbps': 'numTxHT_135_Mbps', - 'num_tx_ht_144_3_mbps': 'numTxHT_144_3_Mbps', - 'num_tx_ht_150_mbps': 'numTxHT_150_Mbps', - 'num_tx_ht_156_mbps': 'numTxHT_156_Mbps', - 'num_tx_ht_162_mbps': 'numTxHT_162_Mbps', - 'num_tx_ht_173_1_mbps': 'numTxHT_173_1_Mbps', - 'num_tx_ht_173_3_mbps': 'numTxHT_173_3_Mbps', - 'num_tx_ht_175_5_mbps': 'numTxHT_175_5_Mbps', - 'num_tx_ht_180_mbps': 'numTxHT_180_Mbps', - 'num_tx_ht_195_mbps': 'numTxHT_195_Mbps', - 'num_tx_ht_200_mbps': 'numTxHT_200_Mbps', - 'num_tx_ht_208_mbps': 'numTxHT_208_Mbps', - 'num_tx_ht_216_mbps': 'numTxHT_216_Mbps', - 'num_tx_ht_216_6_mbps': 'numTxHT_216_6_Mbps', - 'num_tx_ht_231_1_mbps': 'numTxHT_231_1_Mbps', - 'num_tx_ht_234_mbps': 'numTxHT_234_Mbps', - 'num_tx_ht_240_mbps': 'numTxHT_240_Mbps', - 'num_tx_ht_243_mbps': 'numTxHT_243_Mbps', - 'num_tx_ht_260_mbps': 'numTxHT_260_Mbps', - 'num_tx_ht_263_2_mbps': 'numTxHT_263_2_Mbps', - 'num_tx_ht_270_mbps': 'numTxHT_270_Mbps', - 'num_tx_ht_288_7_mbps': 'numTxHT_288_7_Mbps', - 'num_tx_ht_288_8_mbps': 'numTxHT_288_8_Mbps', - 'num_tx_ht_292_5_mbps': 'numTxHT_292_5_Mbps', - 'num_tx_ht_300_mbps': 'numTxHT_300_Mbps', - 'num_tx_ht_312_mbps': 'numTxHT_312_Mbps', - 'num_tx_ht_324_mbps': 'numTxHT_324_Mbps', - 'num_tx_ht_325_mbps': 'numTxHT_325_Mbps', - 'num_tx_ht_346_7_mbps': 'numTxHT_346_7_Mbps', - 'num_tx_ht_351_mbps': 'numTxHT_351_Mbps', - 'num_tx_ht_351_2_mbps': 'numTxHT_351_2_Mbps', - 'num_tx_ht_360_mbps': 'numTxHT_360_Mbps', - 'num_rx_ht_6_5_mbps': 'numRxHT_6_5_Mbps', - 'num_rx_ht_7_1_mbps': 'numRxHT_7_1_Mbps', - 'num_rx_ht_13_mbps': 'numRxHT_13_Mbps', - 'num_rx_ht_13_5_mbps': 'numRxHT_13_5_Mbps', - 'num_rx_ht_14_3_mbps': 'numRxHT_14_3_Mbps', - 'num_rx_ht_15_mbps': 'numRxHT_15_Mbps', - 'num_rx_ht_19_5_mbps': 'numRxHT_19_5_Mbps', - 'num_rx_ht_21_7_mbps': 'numRxHT_21_7_Mbps', - 'num_rx_ht_26_mbps': 'numRxHT_26_Mbps', - 'num_rx_ht_27_mbps': 'numRxHT_27_Mbps', - 'num_rx_ht_28_7_mbps': 'numRxHT_28_7_Mbps', - 'num_rx_ht_28_8_mbps': 'numRxHT_28_8_Mbps', - 'num_rx_ht_29_2_mbps': 'numRxHT_29_2_Mbps', - 'num_rx_ht_30_mbps': 'numRxHT_30_Mbps', - 'num_rx_ht_32_5_mbps': 'numRxHT_32_5_Mbps', - 'num_rx_ht_39_mbps': 'numRxHT_39_Mbps', - 'num_rx_ht_40_5_mbps': 'numRxHT_40_5_Mbps', - 'num_rx_ht_43_2_mbps': 'numRxHT_43_2_Mbps', - 'num_rx_ht_45_mbps': 'numRxHT_45_Mbps', - 'num_rx_ht_52_mbps': 'numRxHT_52_Mbps', - 'num_rx_ht_54_mbps': 'numRxHT_54_Mbps', - 'num_rx_ht_57_5_mbps': 'numRxHT_57_5_Mbps', - 'num_rx_ht_57_7_mbps': 'numRxHT_57_7_Mbps', - 'num_rx_ht_58_5_mbps': 'numRxHT_58_5_Mbps', - 'num_rx_ht_60_mbps': 'numRxHT_60_Mbps', - 'num_rx_ht_65_mbps': 'numRxHT_65_Mbps', - 'num_rx_ht_72_1_mbps': 'numRxHT_72_1_Mbps', - 'num_rx_ht_78_mbps': 'numRxHT_78_Mbps', - 'num_rx_ht_81_mbps': 'numRxHT_81_Mbps', - 'num_rx_ht_86_6_mbps': 'numRxHT_86_6_Mbps', - 'num_rx_ht_86_8_mbps': 'numRxHT_86_8_Mbps', - 'num_rx_ht_87_8_mbps': 'numRxHT_87_8_Mbps', - 'num_rx_ht_90_mbps': 'numRxHT_90_Mbps', - 'num_rx_ht_97_5_mbps': 'numRxHT_97_5_Mbps', - 'num_rx_ht_104_mbps': 'numRxHT_104_Mbps', - 'num_rx_ht_108_mbps': 'numRxHT_108_Mbps', - 'num_rx_ht_115_5_mbps': 'numRxHT_115_5_Mbps', - 'num_rx_ht_117_mbps': 'numRxHT_117_Mbps', - 'num_rx_ht_117_1_mbps': 'numRxHT_117_1_Mbps', - 'num_rx_ht_120_mbps': 'numRxHT_120_Mbps', - 'num_rx_ht_121_5_mbps': 'numRxHT_121_5_Mbps', - 'num_rx_ht_130_mbps': 'numRxHT_130_Mbps', - 'num_rx_ht_130_3_mbps': 'numRxHT_130_3_Mbps', - 'num_rx_ht_135_mbps': 'numRxHT_135_Mbps', - 'num_rx_ht_144_3_mbps': 'numRxHT_144_3_Mbps', - 'num_rx_ht_150_mbps': 'numRxHT_150_Mbps', - 'num_rx_ht_156_mbps': 'numRxHT_156_Mbps', - 'num_rx_ht_162_mbps': 'numRxHT_162_Mbps', - 'num_rx_ht_173_1_mbps': 'numRxHT_173_1_Mbps', - 'num_rx_ht_173_3_mbps': 'numRxHT_173_3_Mbps', - 'num_rx_ht_175_5_mbps': 'numRxHT_175_5_Mbps', - 'num_rx_ht_180_mbps': 'numRxHT_180_Mbps', - 'num_rx_ht_195_mbps': 'numRxHT_195_Mbps', - 'num_rx_ht_200_mbps': 'numRxHT_200_Mbps', - 'num_rx_ht_208_mbps': 'numRxHT_208_Mbps', - 'num_rx_ht_216_mbps': 'numRxHT_216_Mbps', - 'num_rx_ht_216_6_mbps': 'numRxHT_216_6_Mbps', - 'num_rx_ht_231_1_mbps': 'numRxHT_231_1_Mbps', - 'num_rx_ht_234_mbps': 'numRxHT_234_Mbps', - 'num_rx_ht_240_mbps': 'numRxHT_240_Mbps', - 'num_rx_ht_243_mbps': 'numRxHT_243_Mbps', - 'num_rx_ht_260_mbps': 'numRxHT_260_Mbps', - 'num_rx_ht_263_2_mbps': 'numRxHT_263_2_Mbps', - 'num_rx_ht_270_mbps': 'numRxHT_270_Mbps', - 'num_rx_ht_288_7_mbps': 'numRxHT_288_7_Mbps', - 'num_rx_ht_288_8_mbps': 'numRxHT_288_8_Mbps', - 'num_rx_ht_292_5_mbps': 'numRxHT_292_5_Mbps', - 'num_rx_ht_300_mbps': 'numRxHT_300_Mbps', - 'num_rx_ht_312_mbps': 'numRxHT_312_Mbps', - 'num_rx_ht_324_mbps': 'numRxHT_324_Mbps', - 'num_rx_ht_325_mbps': 'numRxHT_325_Mbps', - 'num_rx_ht_346_7_mbps': 'numRxHT_346_7_Mbps', - 'num_rx_ht_351_mbps': 'numRxHT_351_Mbps', - 'num_rx_ht_351_2_mbps': 'numRxHT_351_2_Mbps', - 'num_rx_ht_360_mbps': 'numRxHT_360_Mbps', - 'num_tx_vht_292_5_mbps': 'numTxVHT_292_5_Mbps', - 'num_tx_vht_325_mbps': 'numTxVHT_325_Mbps', - 'num_tx_vht_364_5_mbps': 'numTxVHT_364_5_Mbps', - 'num_tx_vht_390_mbps': 'numTxVHT_390_Mbps', - 'num_tx_vht_400_mbps': 'numTxVHT_400_Mbps', - 'num_tx_vht_403_mbps': 'numTxVHT_403_Mbps', - 'num_tx_vht_405_mbps': 'numTxVHT_405_Mbps', - 'num_tx_vht_432_mbps': 'numTxVHT_432_Mbps', - 'num_tx_vht_433_2_mbps': 'numTxVHT_433_2_Mbps', - 'num_tx_vht_450_mbps': 'numTxVHT_450_Mbps', - 'num_tx_vht_468_mbps': 'numTxVHT_468_Mbps', - 'num_tx_vht_480_mbps': 'numTxVHT_480_Mbps', - 'num_tx_vht_486_mbps': 'numTxVHT_486_Mbps', - 'num_tx_vht_520_mbps': 'numTxVHT_520_Mbps', - 'num_tx_vht_526_5_mbps': 'numTxVHT_526_5_Mbps', - 'num_tx_vht_540_mbps': 'numTxVHT_540_Mbps', - 'num_tx_vht_585_mbps': 'numTxVHT_585_Mbps', - 'num_tx_vht_600_mbps': 'numTxVHT_600_Mbps', - 'num_tx_vht_648_mbps': 'numTxVHT_648_Mbps', - 'num_tx_vht_650_mbps': 'numTxVHT_650_Mbps', - 'num_tx_vht_702_mbps': 'numTxVHT_702_Mbps', - 'num_tx_vht_720_mbps': 'numTxVHT_720_Mbps', - 'num_tx_vht_780_mbps': 'numTxVHT_780_Mbps', - 'num_tx_vht_800_mbps': 'numTxVHT_800_Mbps', - 'num_tx_vht_866_7_mbps': 'numTxVHT_866_7_Mbps', - 'num_tx_vht_877_5_mbps': 'numTxVHT_877_5_Mbps', - 'num_tx_vht_936_mbps': 'numTxVHT_936_Mbps', - 'num_tx_vht_975_mbps': 'numTxVHT_975_Mbps', - 'num_tx_vht_1040_mbps': 'numTxVHT_1040_Mbps', - 'num_tx_vht_1053_mbps': 'numTxVHT_1053_Mbps', - 'num_tx_vht_1053_1_mbps': 'numTxVHT_1053_1_Mbps', - 'num_tx_vht_1170_mbps': 'numTxVHT_1170_Mbps', - 'num_tx_vht_1300_mbps': 'numTxVHT_1300_Mbps', - 'num_tx_vht_1404_mbps': 'numTxVHT_1404_Mbps', - 'num_tx_vht_1560_mbps': 'numTxVHT_1560_Mbps', - 'num_tx_vht_1579_5_mbps': 'numTxVHT_1579_5_Mbps', - 'num_tx_vht_1733_1_mbps': 'numTxVHT_1733_1_Mbps', - 'num_tx_vht_1733_4_mbps': 'numTxVHT_1733_4_Mbps', - 'num_tx_vht_1755_mbps': 'numTxVHT_1755_Mbps', - 'num_tx_vht_1872_mbps': 'numTxVHT_1872_Mbps', - 'num_tx_vht_1950_mbps': 'numTxVHT_1950_Mbps', - 'num_tx_vht_2080_mbps': 'numTxVHT_2080_Mbps', - 'num_tx_vht_2106_mbps': 'numTxVHT_2106_Mbps', - 'num_tx_vht_2340_mbps': 'numTxVHT_2340_Mbps', - 'num_tx_vht_2600_mbps': 'numTxVHT_2600_Mbps', - 'num_tx_vht_2808_mbps': 'numTxVHT_2808_Mbps', - 'num_tx_vht_3120_mbps': 'numTxVHT_3120_Mbps', - 'num_tx_vht_3466_8_mbps': 'numTxVHT_3466_8_Mbps', - 'num_rx_vht_292_5_mbps': 'numRxVHT_292_5_Mbps', - 'num_rx_vht_325_mbps': 'numRxVHT_325_Mbps', - 'num_rx_vht_364_5_mbps': 'numRxVHT_364_5_Mbps', - 'num_rx_vht_390_mbps': 'numRxVHT_390_Mbps', - 'num_rx_vht_400_mbps': 'numRxVHT_400_Mbps', - 'num_rx_vht_403_mbps': 'numRxVHT_403_Mbps', - 'num_rx_vht_405_mbps': 'numRxVHT_405_Mbps', - 'num_rx_vht_432_mbps': 'numRxVHT_432_Mbps', - 'num_rx_vht_433_2_mbps': 'numRxVHT_433_2_Mbps', - 'num_rx_vht_450_mbps': 'numRxVHT_450_Mbps', - 'num_rx_vht_468_mbps': 'numRxVHT_468_Mbps', - 'num_rx_vht_480_mbps': 'numRxVHT_480_Mbps', - 'num_rx_vht_486_mbps': 'numRxVHT_486_Mbps', - 'num_rx_vht_520_mbps': 'numRxVHT_520_Mbps', - 'num_rx_vht_526_5_mbps': 'numRxVHT_526_5_Mbps', - 'num_rx_vht_540_mbps': 'numRxVHT_540_Mbps', - 'num_rx_vht_585_mbps': 'numRxVHT_585_Mbps', - 'num_rx_vht_600_mbps': 'numRxVHT_600_Mbps', - 'num_rx_vht_648_mbps': 'numRxVHT_648_Mbps', - 'num_rx_vht_650_mbps': 'numRxVHT_650_Mbps', - 'num_rx_vht_702_mbps': 'numRxVHT_702_Mbps', - 'num_rx_vht_720_mbps': 'numRxVHT_720_Mbps', - 'num_rx_vht_780_mbps': 'numRxVHT_780_Mbps', - 'num_rx_vht_800_mbps': 'numRxVHT_800_Mbps', - 'num_rx_vht_866_7_mbps': 'numRxVHT_866_7_Mbps', - 'num_rx_vht_877_5_mbps': 'numRxVHT_877_5_Mbps', - 'num_rx_vht_936_mbps': 'numRxVHT_936_Mbps', - 'num_rx_vht_975_mbps': 'numRxVHT_975_Mbps', - 'num_rx_vht_1040_mbps': 'numRxVHT_1040_Mbps', - 'num_rx_vht_1053_mbps': 'numRxVHT_1053_Mbps', - 'num_rx_vht_1053_1_mbps': 'numRxVHT_1053_1_Mbps', - 'num_rx_vht_1170_mbps': 'numRxVHT_1170_Mbps', - 'num_rx_vht_1300_mbps': 'numRxVHT_1300_Mbps', - 'num_rx_vht_1404_mbps': 'numRxVHT_1404_Mbps', - 'num_rx_vht_1560_mbps': 'numRxVHT_1560_Mbps', - 'num_rx_vht_1579_5_mbps': 'numRxVHT_1579_5_Mbps', - 'num_rx_vht_1733_1_mbps': 'numRxVHT_1733_1_Mbps', - 'num_rx_vht_1733_4_mbps': 'numRxVHT_1733_4_Mbps', - 'num_rx_vht_1755_mbps': 'numRxVHT_1755_Mbps', - 'num_rx_vht_1872_mbps': 'numRxVHT_1872_Mbps', - 'num_rx_vht_1950_mbps': 'numRxVHT_1950_Mbps', - 'num_rx_vht_2080_mbps': 'numRxVHT_2080_Mbps', - 'num_rx_vht_2106_mbps': 'numRxVHT_2106_Mbps', - 'num_rx_vht_2340_mbps': 'numRxVHT_2340_Mbps', - 'num_rx_vht_2600_mbps': 'numRxVHT_2600_Mbps', - 'num_rx_vht_2808_mbps': 'numRxVHT_2808_Mbps', - 'num_rx_vht_3120_mbps': 'numRxVHT_3120_Mbps', - 'num_rx_vht_3466_8_mbps': 'numRxVHT_3466_8_Mbps', - 'rx_last_rssi': 'rxLastRssi', - 'num_rx_no_fcs_err': 'numRxNoFcsErr', - 'num_rx_data': 'numRxData', - 'num_rx_management': 'numRxManagement', - 'num_rx_control': 'numRxControl', - 'rx_bytes': 'rxBytes', - 'rx_data_bytes': 'rxDataBytes', - 'num_rx_rts': 'numRxRts', - 'num_rx_cts': 'numRxCts', - 'num_rx_ack': 'numRxAck', - 'num_rx_probe_req': 'numRxProbeReq', - 'num_rx_retry': 'numRxRetry', - 'num_rx_dup': 'numRxDup', - 'num_rx_null_data': 'numRxNullData', - 'num_rx_pspoll': 'numRxPspoll', - 'num_rx_stbc': 'numRxStbc', - 'num_rx_ldpc': 'numRxLdpc', - 'last_recv_layer3_ts': 'lastRecvLayer3Ts', - 'num_rcv_frame_for_tx': 'numRcvFrameForTx', - 'num_tx_queued': 'numTxQueued', - 'num_tx_dropped': 'numTxDropped', - 'num_tx_retry_dropped': 'numTxRetryDropped', - 'num_tx_succ': 'numTxSucc', - 'num_tx_byte_succ': 'numTxByteSucc', - 'num_tx_succ_no_retry': 'numTxSuccNoRetry', - 'num_tx_succ_retries': 'numTxSuccRetries', - 'num_tx_multi_retries': 'numTxMultiRetries', - 'num_tx_management': 'numTxManagement', - 'num_tx_control': 'numTxControl', - 'num_tx_action': 'numTxAction', - 'num_tx_prop_resp': 'numTxPropResp', - 'num_tx_data': 'numTxData', - 'num_tx_data_retries': 'numTxDataRetries', - 'num_tx_rts_succ': 'numTxRtsSucc', - 'num_tx_rts_fail': 'numTxRtsFail', - 'num_tx_no_ack': 'numTxNoAck', - 'num_tx_eapol': 'numTxEapol', - 'num_tx_ldpc': 'numTxLdpc', - 'num_tx_stbc': 'numTxStbc', - 'num_tx_aggr_succ': 'numTxAggrSucc', - 'num_tx_aggr_one_mpdu': 'numTxAggrOneMpdu', - 'last_sent_layer3_ts': 'lastSentLayer3Ts', - 'wmm_queue_stats': 'wmmQueueStats', - 'list_mcs_stats_mcs_stats': 'List<McsStats> mcsStats', - 'last_rx_mcs_idx': 'lastRxMcsIdx', - 'last_tx_mcs_idx': 'lastTxMcsIdx', - 'radio_type': 'radioType', - 'period_length_sec': 'periodLengthSec' - } - - def __init__(self, model_type=None, seconds_since_last_recv=None, num_rx_packets=None, num_tx_packets=None, num_rx_bytes=None, num_tx_bytes=None, tx_retries=None, rx_duplicate_packets=None, rate_count=None, rates=None, mcs=None, vht_mcs=None, snr=None, rssi=None, session_id=None, classification_name=None, channel_band_width=None, guard_interval=None, cisco_last_rate=None, average_tx_rate=None, average_rx_rate=None, num_tx_data_frames_12_mbps=None, num_tx_data_frames_54_mbps=None, num_tx_data_frames_108_mbps=None, num_tx_data_frames_300_mbps=None, num_tx_data_frames_450_mbps=None, num_tx_data_frames_1300_mbps=None, num_tx_data_frames_1300_plus_mbps=None, num_rx_data_frames_12_mbps=None, num_rx_data_frames_54_mbps=None, num_rx_data_frames_108_mbps=None, num_rx_data_frames_300_mbps=None, num_rx_data_frames_450_mbps=None, num_rx_data_frames_1300_mbps=None, num_rx_data_frames_1300_plus_mbps=None, num_tx_time_frames_transmitted=None, num_rx_time_to_me=None, num_tx_time_data=None, num_rx_time_data=None, num_tx_frames_transmitted=None, num_tx_success_with_retry=None, num_tx_multiple_retries=None, num_tx_data_transmitted_retried=None, num_tx_data_transmitted=None, num_rx_frames_received=None, num_rx_data_frames_retried=None, num_rx_data_frames=None, num_tx_1_mbps=None, num_tx_6_mbps=None, num_tx_9_mbps=None, num_tx_12_mbps=None, num_tx_18_mbps=None, num_tx_24_mbps=None, num_tx_36_mbps=None, num_tx_48_mbps=None, num_tx_54_mbps=None, num_rx_1_mbps=None, num_rx_6_mbps=None, num_rx_9_mbps=None, num_rx_12_mbps=None, num_rx_18_mbps=None, num_rx_24_mbps=None, num_rx_36_mbps=None, num_rx_48_mbps=None, num_rx_54_mbps=None, num_tx_ht_6_5_mbps=None, num_tx_ht_7_1_mbps=None, num_tx_ht_13_mbps=None, num_tx_ht_13_5_mbps=None, num_tx_ht_14_3_mbps=None, num_tx_ht_15_mbps=None, num_tx_ht_19_5_mbps=None, num_tx_ht_21_7_mbps=None, num_tx_ht_26_mbps=None, num_tx_ht_27_mbps=None, num_tx_ht_28_7_mbps=None, num_tx_ht_28_8_mbps=None, num_tx_ht_29_2_mbps=None, num_tx_ht_30_mbps=None, num_tx_ht_32_5_mbps=None, num_tx_ht_39_mbps=None, num_tx_ht_40_5_mbps=None, num_tx_ht_43_2_mbps=None, num_tx_ht_45_mbps=None, num_tx_ht_52_mbps=None, num_tx_ht_54_mbps=None, num_tx_ht_57_5_mbps=None, num_tx_ht_57_7_mbps=None, num_tx_ht_58_5_mbps=None, num_tx_ht_60_mbps=None, num_tx_ht_65_mbps=None, num_tx_ht_72_1_mbps=None, num_tx_ht_78_mbps=None, num_tx_ht_81_mbps=None, num_tx_ht_86_6_mbps=None, num_tx_ht_86_8_mbps=None, num_tx_ht_87_8_mbps=None, num_tx_ht_90_mbps=None, num_tx_ht_97_5_mbps=None, num_tx_ht_104_mbps=None, num_tx_ht_108_mbps=None, num_tx_ht_115_5_mbps=None, num_tx_ht_117_mbps=None, num_tx_ht_117_1_mbps=None, num_tx_ht_120_mbps=None, num_tx_ht_121_5_mbps=None, num_tx_ht_130_mbps=None, num_tx_ht_130_3_mbps=None, num_tx_ht_135_mbps=None, num_tx_ht_144_3_mbps=None, num_tx_ht_150_mbps=None, num_tx_ht_156_mbps=None, num_tx_ht_162_mbps=None, num_tx_ht_173_1_mbps=None, num_tx_ht_173_3_mbps=None, num_tx_ht_175_5_mbps=None, num_tx_ht_180_mbps=None, num_tx_ht_195_mbps=None, num_tx_ht_200_mbps=None, num_tx_ht_208_mbps=None, num_tx_ht_216_mbps=None, num_tx_ht_216_6_mbps=None, num_tx_ht_231_1_mbps=None, num_tx_ht_234_mbps=None, num_tx_ht_240_mbps=None, num_tx_ht_243_mbps=None, num_tx_ht_260_mbps=None, num_tx_ht_263_2_mbps=None, num_tx_ht_270_mbps=None, num_tx_ht_288_7_mbps=None, num_tx_ht_288_8_mbps=None, num_tx_ht_292_5_mbps=None, num_tx_ht_300_mbps=None, num_tx_ht_312_mbps=None, num_tx_ht_324_mbps=None, num_tx_ht_325_mbps=None, num_tx_ht_346_7_mbps=None, num_tx_ht_351_mbps=None, num_tx_ht_351_2_mbps=None, num_tx_ht_360_mbps=None, num_rx_ht_6_5_mbps=None, num_rx_ht_7_1_mbps=None, num_rx_ht_13_mbps=None, num_rx_ht_13_5_mbps=None, num_rx_ht_14_3_mbps=None, num_rx_ht_15_mbps=None, num_rx_ht_19_5_mbps=None, num_rx_ht_21_7_mbps=None, num_rx_ht_26_mbps=None, num_rx_ht_27_mbps=None, num_rx_ht_28_7_mbps=None, num_rx_ht_28_8_mbps=None, num_rx_ht_29_2_mbps=None, num_rx_ht_30_mbps=None, num_rx_ht_32_5_mbps=None, num_rx_ht_39_mbps=None, num_rx_ht_40_5_mbps=None, num_rx_ht_43_2_mbps=None, num_rx_ht_45_mbps=None, num_rx_ht_52_mbps=None, num_rx_ht_54_mbps=None, num_rx_ht_57_5_mbps=None, num_rx_ht_57_7_mbps=None, num_rx_ht_58_5_mbps=None, num_rx_ht_60_mbps=None, num_rx_ht_65_mbps=None, num_rx_ht_72_1_mbps=None, num_rx_ht_78_mbps=None, num_rx_ht_81_mbps=None, num_rx_ht_86_6_mbps=None, num_rx_ht_86_8_mbps=None, num_rx_ht_87_8_mbps=None, num_rx_ht_90_mbps=None, num_rx_ht_97_5_mbps=None, num_rx_ht_104_mbps=None, num_rx_ht_108_mbps=None, num_rx_ht_115_5_mbps=None, num_rx_ht_117_mbps=None, num_rx_ht_117_1_mbps=None, num_rx_ht_120_mbps=None, num_rx_ht_121_5_mbps=None, num_rx_ht_130_mbps=None, num_rx_ht_130_3_mbps=None, num_rx_ht_135_mbps=None, num_rx_ht_144_3_mbps=None, num_rx_ht_150_mbps=None, num_rx_ht_156_mbps=None, num_rx_ht_162_mbps=None, num_rx_ht_173_1_mbps=None, num_rx_ht_173_3_mbps=None, num_rx_ht_175_5_mbps=None, num_rx_ht_180_mbps=None, num_rx_ht_195_mbps=None, num_rx_ht_200_mbps=None, num_rx_ht_208_mbps=None, num_rx_ht_216_mbps=None, num_rx_ht_216_6_mbps=None, num_rx_ht_231_1_mbps=None, num_rx_ht_234_mbps=None, num_rx_ht_240_mbps=None, num_rx_ht_243_mbps=None, num_rx_ht_260_mbps=None, num_rx_ht_263_2_mbps=None, num_rx_ht_270_mbps=None, num_rx_ht_288_7_mbps=None, num_rx_ht_288_8_mbps=None, num_rx_ht_292_5_mbps=None, num_rx_ht_300_mbps=None, num_rx_ht_312_mbps=None, num_rx_ht_324_mbps=None, num_rx_ht_325_mbps=None, num_rx_ht_346_7_mbps=None, num_rx_ht_351_mbps=None, num_rx_ht_351_2_mbps=None, num_rx_ht_360_mbps=None, num_tx_vht_292_5_mbps=None, num_tx_vht_325_mbps=None, num_tx_vht_364_5_mbps=None, num_tx_vht_390_mbps=None, num_tx_vht_400_mbps=None, num_tx_vht_403_mbps=None, num_tx_vht_405_mbps=None, num_tx_vht_432_mbps=None, num_tx_vht_433_2_mbps=None, num_tx_vht_450_mbps=None, num_tx_vht_468_mbps=None, num_tx_vht_480_mbps=None, num_tx_vht_486_mbps=None, num_tx_vht_520_mbps=None, num_tx_vht_526_5_mbps=None, num_tx_vht_540_mbps=None, num_tx_vht_585_mbps=None, num_tx_vht_600_mbps=None, num_tx_vht_648_mbps=None, num_tx_vht_650_mbps=None, num_tx_vht_702_mbps=None, num_tx_vht_720_mbps=None, num_tx_vht_780_mbps=None, num_tx_vht_800_mbps=None, num_tx_vht_866_7_mbps=None, num_tx_vht_877_5_mbps=None, num_tx_vht_936_mbps=None, num_tx_vht_975_mbps=None, num_tx_vht_1040_mbps=None, num_tx_vht_1053_mbps=None, num_tx_vht_1053_1_mbps=None, num_tx_vht_1170_mbps=None, num_tx_vht_1300_mbps=None, num_tx_vht_1404_mbps=None, num_tx_vht_1560_mbps=None, num_tx_vht_1579_5_mbps=None, num_tx_vht_1733_1_mbps=None, num_tx_vht_1733_4_mbps=None, num_tx_vht_1755_mbps=None, num_tx_vht_1872_mbps=None, num_tx_vht_1950_mbps=None, num_tx_vht_2080_mbps=None, num_tx_vht_2106_mbps=None, num_tx_vht_2340_mbps=None, num_tx_vht_2600_mbps=None, num_tx_vht_2808_mbps=None, num_tx_vht_3120_mbps=None, num_tx_vht_3466_8_mbps=None, num_rx_vht_292_5_mbps=None, num_rx_vht_325_mbps=None, num_rx_vht_364_5_mbps=None, num_rx_vht_390_mbps=None, num_rx_vht_400_mbps=None, num_rx_vht_403_mbps=None, num_rx_vht_405_mbps=None, num_rx_vht_432_mbps=None, num_rx_vht_433_2_mbps=None, num_rx_vht_450_mbps=None, num_rx_vht_468_mbps=None, num_rx_vht_480_mbps=None, num_rx_vht_486_mbps=None, num_rx_vht_520_mbps=None, num_rx_vht_526_5_mbps=None, num_rx_vht_540_mbps=None, num_rx_vht_585_mbps=None, num_rx_vht_600_mbps=None, num_rx_vht_648_mbps=None, num_rx_vht_650_mbps=None, num_rx_vht_702_mbps=None, num_rx_vht_720_mbps=None, num_rx_vht_780_mbps=None, num_rx_vht_800_mbps=None, num_rx_vht_866_7_mbps=None, num_rx_vht_877_5_mbps=None, num_rx_vht_936_mbps=None, num_rx_vht_975_mbps=None, num_rx_vht_1040_mbps=None, num_rx_vht_1053_mbps=None, num_rx_vht_1053_1_mbps=None, num_rx_vht_1170_mbps=None, num_rx_vht_1300_mbps=None, num_rx_vht_1404_mbps=None, num_rx_vht_1560_mbps=None, num_rx_vht_1579_5_mbps=None, num_rx_vht_1733_1_mbps=None, num_rx_vht_1733_4_mbps=None, num_rx_vht_1755_mbps=None, num_rx_vht_1872_mbps=None, num_rx_vht_1950_mbps=None, num_rx_vht_2080_mbps=None, num_rx_vht_2106_mbps=None, num_rx_vht_2340_mbps=None, num_rx_vht_2600_mbps=None, num_rx_vht_2808_mbps=None, num_rx_vht_3120_mbps=None, num_rx_vht_3466_8_mbps=None, rx_last_rssi=None, num_rx_no_fcs_err=None, num_rx_data=None, num_rx_management=None, num_rx_control=None, rx_bytes=None, rx_data_bytes=None, num_rx_rts=None, num_rx_cts=None, num_rx_ack=None, num_rx_probe_req=None, num_rx_retry=None, num_rx_dup=None, num_rx_null_data=None, num_rx_pspoll=None, num_rx_stbc=None, num_rx_ldpc=None, last_recv_layer3_ts=None, num_rcv_frame_for_tx=None, num_tx_queued=None, num_tx_dropped=None, num_tx_retry_dropped=None, num_tx_succ=None, num_tx_byte_succ=None, num_tx_succ_no_retry=None, num_tx_succ_retries=None, num_tx_multi_retries=None, num_tx_management=None, num_tx_control=None, num_tx_action=None, num_tx_prop_resp=None, num_tx_data=None, num_tx_data_retries=None, num_tx_rts_succ=None, num_tx_rts_fail=None, num_tx_no_ack=None, num_tx_eapol=None, num_tx_ldpc=None, num_tx_stbc=None, num_tx_aggr_succ=None, num_tx_aggr_one_mpdu=None, last_sent_layer3_ts=None, wmm_queue_stats=None, list_mcs_stats_mcs_stats=None, last_rx_mcs_idx=None, last_tx_mcs_idx=None, radio_type=None, period_length_sec=None): # noqa: E501 - """ClientMetrics - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._seconds_since_last_recv = None - self._num_rx_packets = None - self._num_tx_packets = None - self._num_rx_bytes = None - self._num_tx_bytes = None - self._tx_retries = None - self._rx_duplicate_packets = None - self._rate_count = None - self._rates = None - self._mcs = None - self._vht_mcs = None - self._snr = None - self._rssi = None - self._session_id = None - self._classification_name = None - self._channel_band_width = None - self._guard_interval = None - self._cisco_last_rate = None - self._average_tx_rate = None - self._average_rx_rate = None - self._num_tx_data_frames_12_mbps = None - self._num_tx_data_frames_54_mbps = None - self._num_tx_data_frames_108_mbps = None - self._num_tx_data_frames_300_mbps = None - self._num_tx_data_frames_450_mbps = None - self._num_tx_data_frames_1300_mbps = None - self._num_tx_data_frames_1300_plus_mbps = None - self._num_rx_data_frames_12_mbps = None - self._num_rx_data_frames_54_mbps = None - self._num_rx_data_frames_108_mbps = None - self._num_rx_data_frames_300_mbps = None - self._num_rx_data_frames_450_mbps = None - self._num_rx_data_frames_1300_mbps = None - self._num_rx_data_frames_1300_plus_mbps = None - self._num_tx_time_frames_transmitted = None - self._num_rx_time_to_me = None - self._num_tx_time_data = None - self._num_rx_time_data = None - self._num_tx_frames_transmitted = None - self._num_tx_success_with_retry = None - self._num_tx_multiple_retries = None - self._num_tx_data_transmitted_retried = None - self._num_tx_data_transmitted = None - self._num_rx_frames_received = None - self._num_rx_data_frames_retried = None - self._num_rx_data_frames = None - self._num_tx_1_mbps = None - self._num_tx_6_mbps = None - self._num_tx_9_mbps = None - self._num_tx_12_mbps = None - self._num_tx_18_mbps = None - self._num_tx_24_mbps = None - self._num_tx_36_mbps = None - self._num_tx_48_mbps = None - self._num_tx_54_mbps = None - self._num_rx_1_mbps = None - self._num_rx_6_mbps = None - self._num_rx_9_mbps = None - self._num_rx_12_mbps = None - self._num_rx_18_mbps = None - self._num_rx_24_mbps = None - self._num_rx_36_mbps = None - self._num_rx_48_mbps = None - self._num_rx_54_mbps = None - self._num_tx_ht_6_5_mbps = None - self._num_tx_ht_7_1_mbps = None - self._num_tx_ht_13_mbps = None - self._num_tx_ht_13_5_mbps = None - self._num_tx_ht_14_3_mbps = None - self._num_tx_ht_15_mbps = None - self._num_tx_ht_19_5_mbps = None - self._num_tx_ht_21_7_mbps = None - self._num_tx_ht_26_mbps = None - self._num_tx_ht_27_mbps = None - self._num_tx_ht_28_7_mbps = None - self._num_tx_ht_28_8_mbps = None - self._num_tx_ht_29_2_mbps = None - self._num_tx_ht_30_mbps = None - self._num_tx_ht_32_5_mbps = None - self._num_tx_ht_39_mbps = None - self._num_tx_ht_40_5_mbps = None - self._num_tx_ht_43_2_mbps = None - self._num_tx_ht_45_mbps = None - self._num_tx_ht_52_mbps = None - self._num_tx_ht_54_mbps = None - self._num_tx_ht_57_5_mbps = None - self._num_tx_ht_57_7_mbps = None - self._num_tx_ht_58_5_mbps = None - self._num_tx_ht_60_mbps = None - self._num_tx_ht_65_mbps = None - self._num_tx_ht_72_1_mbps = None - self._num_tx_ht_78_mbps = None - self._num_tx_ht_81_mbps = None - self._num_tx_ht_86_6_mbps = None - self._num_tx_ht_86_8_mbps = None - self._num_tx_ht_87_8_mbps = None - self._num_tx_ht_90_mbps = None - self._num_tx_ht_97_5_mbps = None - self._num_tx_ht_104_mbps = None - self._num_tx_ht_108_mbps = None - self._num_tx_ht_115_5_mbps = None - self._num_tx_ht_117_mbps = None - self._num_tx_ht_117_1_mbps = None - self._num_tx_ht_120_mbps = None - self._num_tx_ht_121_5_mbps = None - self._num_tx_ht_130_mbps = None - self._num_tx_ht_130_3_mbps = None - self._num_tx_ht_135_mbps = None - self._num_tx_ht_144_3_mbps = None - self._num_tx_ht_150_mbps = None - self._num_tx_ht_156_mbps = None - self._num_tx_ht_162_mbps = None - self._num_tx_ht_173_1_mbps = None - self._num_tx_ht_173_3_mbps = None - self._num_tx_ht_175_5_mbps = None - self._num_tx_ht_180_mbps = None - self._num_tx_ht_195_mbps = None - self._num_tx_ht_200_mbps = None - self._num_tx_ht_208_mbps = None - self._num_tx_ht_216_mbps = None - self._num_tx_ht_216_6_mbps = None - self._num_tx_ht_231_1_mbps = None - self._num_tx_ht_234_mbps = None - self._num_tx_ht_240_mbps = None - self._num_tx_ht_243_mbps = None - self._num_tx_ht_260_mbps = None - self._num_tx_ht_263_2_mbps = None - self._num_tx_ht_270_mbps = None - self._num_tx_ht_288_7_mbps = None - self._num_tx_ht_288_8_mbps = None - self._num_tx_ht_292_5_mbps = None - self._num_tx_ht_300_mbps = None - self._num_tx_ht_312_mbps = None - self._num_tx_ht_324_mbps = None - self._num_tx_ht_325_mbps = None - self._num_tx_ht_346_7_mbps = None - self._num_tx_ht_351_mbps = None - self._num_tx_ht_351_2_mbps = None - self._num_tx_ht_360_mbps = None - self._num_rx_ht_6_5_mbps = None - self._num_rx_ht_7_1_mbps = None - self._num_rx_ht_13_mbps = None - self._num_rx_ht_13_5_mbps = None - self._num_rx_ht_14_3_mbps = None - self._num_rx_ht_15_mbps = None - self._num_rx_ht_19_5_mbps = None - self._num_rx_ht_21_7_mbps = None - self._num_rx_ht_26_mbps = None - self._num_rx_ht_27_mbps = None - self._num_rx_ht_28_7_mbps = None - self._num_rx_ht_28_8_mbps = None - self._num_rx_ht_29_2_mbps = None - self._num_rx_ht_30_mbps = None - self._num_rx_ht_32_5_mbps = None - self._num_rx_ht_39_mbps = None - self._num_rx_ht_40_5_mbps = None - self._num_rx_ht_43_2_mbps = None - self._num_rx_ht_45_mbps = None - self._num_rx_ht_52_mbps = None - self._num_rx_ht_54_mbps = None - self._num_rx_ht_57_5_mbps = None - self._num_rx_ht_57_7_mbps = None - self._num_rx_ht_58_5_mbps = None - self._num_rx_ht_60_mbps = None - self._num_rx_ht_65_mbps = None - self._num_rx_ht_72_1_mbps = None - self._num_rx_ht_78_mbps = None - self._num_rx_ht_81_mbps = None - self._num_rx_ht_86_6_mbps = None - self._num_rx_ht_86_8_mbps = None - self._num_rx_ht_87_8_mbps = None - self._num_rx_ht_90_mbps = None - self._num_rx_ht_97_5_mbps = None - self._num_rx_ht_104_mbps = None - self._num_rx_ht_108_mbps = None - self._num_rx_ht_115_5_mbps = None - self._num_rx_ht_117_mbps = None - self._num_rx_ht_117_1_mbps = None - self._num_rx_ht_120_mbps = None - self._num_rx_ht_121_5_mbps = None - self._num_rx_ht_130_mbps = None - self._num_rx_ht_130_3_mbps = None - self._num_rx_ht_135_mbps = None - self._num_rx_ht_144_3_mbps = None - self._num_rx_ht_150_mbps = None - self._num_rx_ht_156_mbps = None - self._num_rx_ht_162_mbps = None - self._num_rx_ht_173_1_mbps = None - self._num_rx_ht_173_3_mbps = None - self._num_rx_ht_175_5_mbps = None - self._num_rx_ht_180_mbps = None - self._num_rx_ht_195_mbps = None - self._num_rx_ht_200_mbps = None - self._num_rx_ht_208_mbps = None - self._num_rx_ht_216_mbps = None - self._num_rx_ht_216_6_mbps = None - self._num_rx_ht_231_1_mbps = None - self._num_rx_ht_234_mbps = None - self._num_rx_ht_240_mbps = None - self._num_rx_ht_243_mbps = None - self._num_rx_ht_260_mbps = None - self._num_rx_ht_263_2_mbps = None - self._num_rx_ht_270_mbps = None - self._num_rx_ht_288_7_mbps = None - self._num_rx_ht_288_8_mbps = None - self._num_rx_ht_292_5_mbps = None - self._num_rx_ht_300_mbps = None - self._num_rx_ht_312_mbps = None - self._num_rx_ht_324_mbps = None - self._num_rx_ht_325_mbps = None - self._num_rx_ht_346_7_mbps = None - self._num_rx_ht_351_mbps = None - self._num_rx_ht_351_2_mbps = None - self._num_rx_ht_360_mbps = None - self._num_tx_vht_292_5_mbps = None - self._num_tx_vht_325_mbps = None - self._num_tx_vht_364_5_mbps = None - self._num_tx_vht_390_mbps = None - self._num_tx_vht_400_mbps = None - self._num_tx_vht_403_mbps = None - self._num_tx_vht_405_mbps = None - self._num_tx_vht_432_mbps = None - self._num_tx_vht_433_2_mbps = None - self._num_tx_vht_450_mbps = None - self._num_tx_vht_468_mbps = None - self._num_tx_vht_480_mbps = None - self._num_tx_vht_486_mbps = None - self._num_tx_vht_520_mbps = None - self._num_tx_vht_526_5_mbps = None - self._num_tx_vht_540_mbps = None - self._num_tx_vht_585_mbps = None - self._num_tx_vht_600_mbps = None - self._num_tx_vht_648_mbps = None - self._num_tx_vht_650_mbps = None - self._num_tx_vht_702_mbps = None - self._num_tx_vht_720_mbps = None - self._num_tx_vht_780_mbps = None - self._num_tx_vht_800_mbps = None - self._num_tx_vht_866_7_mbps = None - self._num_tx_vht_877_5_mbps = None - self._num_tx_vht_936_mbps = None - self._num_tx_vht_975_mbps = None - self._num_tx_vht_1040_mbps = None - self._num_tx_vht_1053_mbps = None - self._num_tx_vht_1053_1_mbps = None - self._num_tx_vht_1170_mbps = None - self._num_tx_vht_1300_mbps = None - self._num_tx_vht_1404_mbps = None - self._num_tx_vht_1560_mbps = None - self._num_tx_vht_1579_5_mbps = None - self._num_tx_vht_1733_1_mbps = None - self._num_tx_vht_1733_4_mbps = None - self._num_tx_vht_1755_mbps = None - self._num_tx_vht_1872_mbps = None - self._num_tx_vht_1950_mbps = None - self._num_tx_vht_2080_mbps = None - self._num_tx_vht_2106_mbps = None - self._num_tx_vht_2340_mbps = None - self._num_tx_vht_2600_mbps = None - self._num_tx_vht_2808_mbps = None - self._num_tx_vht_3120_mbps = None - self._num_tx_vht_3466_8_mbps = None - self._num_rx_vht_292_5_mbps = None - self._num_rx_vht_325_mbps = None - self._num_rx_vht_364_5_mbps = None - self._num_rx_vht_390_mbps = None - self._num_rx_vht_400_mbps = None - self._num_rx_vht_403_mbps = None - self._num_rx_vht_405_mbps = None - self._num_rx_vht_432_mbps = None - self._num_rx_vht_433_2_mbps = None - self._num_rx_vht_450_mbps = None - self._num_rx_vht_468_mbps = None - self._num_rx_vht_480_mbps = None - self._num_rx_vht_486_mbps = None - self._num_rx_vht_520_mbps = None - self._num_rx_vht_526_5_mbps = None - self._num_rx_vht_540_mbps = None - self._num_rx_vht_585_mbps = None - self._num_rx_vht_600_mbps = None - self._num_rx_vht_648_mbps = None - self._num_rx_vht_650_mbps = None - self._num_rx_vht_702_mbps = None - self._num_rx_vht_720_mbps = None - self._num_rx_vht_780_mbps = None - self._num_rx_vht_800_mbps = None - self._num_rx_vht_866_7_mbps = None - self._num_rx_vht_877_5_mbps = None - self._num_rx_vht_936_mbps = None - self._num_rx_vht_975_mbps = None - self._num_rx_vht_1040_mbps = None - self._num_rx_vht_1053_mbps = None - self._num_rx_vht_1053_1_mbps = None - self._num_rx_vht_1170_mbps = None - self._num_rx_vht_1300_mbps = None - self._num_rx_vht_1404_mbps = None - self._num_rx_vht_1560_mbps = None - self._num_rx_vht_1579_5_mbps = None - self._num_rx_vht_1733_1_mbps = None - self._num_rx_vht_1733_4_mbps = None - self._num_rx_vht_1755_mbps = None - self._num_rx_vht_1872_mbps = None - self._num_rx_vht_1950_mbps = None - self._num_rx_vht_2080_mbps = None - self._num_rx_vht_2106_mbps = None - self._num_rx_vht_2340_mbps = None - self._num_rx_vht_2600_mbps = None - self._num_rx_vht_2808_mbps = None - self._num_rx_vht_3120_mbps = None - self._num_rx_vht_3466_8_mbps = None - self._rx_last_rssi = None - self._num_rx_no_fcs_err = None - self._num_rx_data = None - self._num_rx_management = None - self._num_rx_control = None - self._rx_bytes = None - self._rx_data_bytes = None - self._num_rx_rts = None - self._num_rx_cts = None - self._num_rx_ack = None - self._num_rx_probe_req = None - self._num_rx_retry = None - self._num_rx_dup = None - self._num_rx_null_data = None - self._num_rx_pspoll = None - self._num_rx_stbc = None - self._num_rx_ldpc = None - self._last_recv_layer3_ts = None - self._num_rcv_frame_for_tx = None - self._num_tx_queued = None - self._num_tx_dropped = None - self._num_tx_retry_dropped = None - self._num_tx_succ = None - self._num_tx_byte_succ = None - self._num_tx_succ_no_retry = None - self._num_tx_succ_retries = None - self._num_tx_multi_retries = None - self._num_tx_management = None - self._num_tx_control = None - self._num_tx_action = None - self._num_tx_prop_resp = None - self._num_tx_data = None - self._num_tx_data_retries = None - self._num_tx_rts_succ = None - self._num_tx_rts_fail = None - self._num_tx_no_ack = None - self._num_tx_eapol = None - self._num_tx_ldpc = None - self._num_tx_stbc = None - self._num_tx_aggr_succ = None - self._num_tx_aggr_one_mpdu = None - self._last_sent_layer3_ts = None - self._wmm_queue_stats = None - self._list_mcs_stats_mcs_stats = None - self._last_rx_mcs_idx = None - self._last_tx_mcs_idx = None - self._radio_type = None - self._period_length_sec = None - self.discriminator = None - self.model_type = model_type - if seconds_since_last_recv is not None: - self.seconds_since_last_recv = seconds_since_last_recv - if num_rx_packets is not None: - self.num_rx_packets = num_rx_packets - if num_tx_packets is not None: - self.num_tx_packets = num_tx_packets - if num_rx_bytes is not None: - self.num_rx_bytes = num_rx_bytes - if num_tx_bytes is not None: - self.num_tx_bytes = num_tx_bytes - if tx_retries is not None: - self.tx_retries = tx_retries - if rx_duplicate_packets is not None: - self.rx_duplicate_packets = rx_duplicate_packets - if rate_count is not None: - self.rate_count = rate_count - if rates is not None: - self.rates = rates - if mcs is not None: - self.mcs = mcs - if vht_mcs is not None: - self.vht_mcs = vht_mcs - if snr is not None: - self.snr = snr - if rssi is not None: - self.rssi = rssi - if session_id is not None: - self.session_id = session_id - if classification_name is not None: - self.classification_name = classification_name - if channel_band_width is not None: - self.channel_band_width = channel_band_width - if guard_interval is not None: - self.guard_interval = guard_interval - if cisco_last_rate is not None: - self.cisco_last_rate = cisco_last_rate - if average_tx_rate is not None: - self.average_tx_rate = average_tx_rate - if average_rx_rate is not None: - self.average_rx_rate = average_rx_rate - if num_tx_data_frames_12_mbps is not None: - self.num_tx_data_frames_12_mbps = num_tx_data_frames_12_mbps - if num_tx_data_frames_54_mbps is not None: - self.num_tx_data_frames_54_mbps = num_tx_data_frames_54_mbps - if num_tx_data_frames_108_mbps is not None: - self.num_tx_data_frames_108_mbps = num_tx_data_frames_108_mbps - if num_tx_data_frames_300_mbps is not None: - self.num_tx_data_frames_300_mbps = num_tx_data_frames_300_mbps - if num_tx_data_frames_450_mbps is not None: - self.num_tx_data_frames_450_mbps = num_tx_data_frames_450_mbps - if num_tx_data_frames_1300_mbps is not None: - self.num_tx_data_frames_1300_mbps = num_tx_data_frames_1300_mbps - if num_tx_data_frames_1300_plus_mbps is not None: - self.num_tx_data_frames_1300_plus_mbps = num_tx_data_frames_1300_plus_mbps - if num_rx_data_frames_12_mbps is not None: - self.num_rx_data_frames_12_mbps = num_rx_data_frames_12_mbps - if num_rx_data_frames_54_mbps is not None: - self.num_rx_data_frames_54_mbps = num_rx_data_frames_54_mbps - if num_rx_data_frames_108_mbps is not None: - self.num_rx_data_frames_108_mbps = num_rx_data_frames_108_mbps - if num_rx_data_frames_300_mbps is not None: - self.num_rx_data_frames_300_mbps = num_rx_data_frames_300_mbps - if num_rx_data_frames_450_mbps is not None: - self.num_rx_data_frames_450_mbps = num_rx_data_frames_450_mbps - if num_rx_data_frames_1300_mbps is not None: - self.num_rx_data_frames_1300_mbps = num_rx_data_frames_1300_mbps - if num_rx_data_frames_1300_plus_mbps is not None: - self.num_rx_data_frames_1300_plus_mbps = num_rx_data_frames_1300_plus_mbps - if num_tx_time_frames_transmitted is not None: - self.num_tx_time_frames_transmitted = num_tx_time_frames_transmitted - if num_rx_time_to_me is not None: - self.num_rx_time_to_me = num_rx_time_to_me - if num_tx_time_data is not None: - self.num_tx_time_data = num_tx_time_data - if num_rx_time_data is not None: - self.num_rx_time_data = num_rx_time_data - if num_tx_frames_transmitted is not None: - self.num_tx_frames_transmitted = num_tx_frames_transmitted - if num_tx_success_with_retry is not None: - self.num_tx_success_with_retry = num_tx_success_with_retry - if num_tx_multiple_retries is not None: - self.num_tx_multiple_retries = num_tx_multiple_retries - if num_tx_data_transmitted_retried is not None: - self.num_tx_data_transmitted_retried = num_tx_data_transmitted_retried - if num_tx_data_transmitted is not None: - self.num_tx_data_transmitted = num_tx_data_transmitted - if num_rx_frames_received is not None: - self.num_rx_frames_received = num_rx_frames_received - if num_rx_data_frames_retried is not None: - self.num_rx_data_frames_retried = num_rx_data_frames_retried - if num_rx_data_frames is not None: - self.num_rx_data_frames = num_rx_data_frames - if num_tx_1_mbps is not None: - self.num_tx_1_mbps = num_tx_1_mbps - if num_tx_6_mbps is not None: - self.num_tx_6_mbps = num_tx_6_mbps - if num_tx_9_mbps is not None: - self.num_tx_9_mbps = num_tx_9_mbps - if num_tx_12_mbps is not None: - self.num_tx_12_mbps = num_tx_12_mbps - if num_tx_18_mbps is not None: - self.num_tx_18_mbps = num_tx_18_mbps - if num_tx_24_mbps is not None: - self.num_tx_24_mbps = num_tx_24_mbps - if num_tx_36_mbps is not None: - self.num_tx_36_mbps = num_tx_36_mbps - if num_tx_48_mbps is not None: - self.num_tx_48_mbps = num_tx_48_mbps - if num_tx_54_mbps is not None: - self.num_tx_54_mbps = num_tx_54_mbps - if num_rx_1_mbps is not None: - self.num_rx_1_mbps = num_rx_1_mbps - if num_rx_6_mbps is not None: - self.num_rx_6_mbps = num_rx_6_mbps - if num_rx_9_mbps is not None: - self.num_rx_9_mbps = num_rx_9_mbps - if num_rx_12_mbps is not None: - self.num_rx_12_mbps = num_rx_12_mbps - if num_rx_18_mbps is not None: - self.num_rx_18_mbps = num_rx_18_mbps - if num_rx_24_mbps is not None: - self.num_rx_24_mbps = num_rx_24_mbps - if num_rx_36_mbps is not None: - self.num_rx_36_mbps = num_rx_36_mbps - if num_rx_48_mbps is not None: - self.num_rx_48_mbps = num_rx_48_mbps - if num_rx_54_mbps is not None: - self.num_rx_54_mbps = num_rx_54_mbps - if num_tx_ht_6_5_mbps is not None: - self.num_tx_ht_6_5_mbps = num_tx_ht_6_5_mbps - if num_tx_ht_7_1_mbps is not None: - self.num_tx_ht_7_1_mbps = num_tx_ht_7_1_mbps - if num_tx_ht_13_mbps is not None: - self.num_tx_ht_13_mbps = num_tx_ht_13_mbps - if num_tx_ht_13_5_mbps is not None: - self.num_tx_ht_13_5_mbps = num_tx_ht_13_5_mbps - if num_tx_ht_14_3_mbps is not None: - self.num_tx_ht_14_3_mbps = num_tx_ht_14_3_mbps - if num_tx_ht_15_mbps is not None: - self.num_tx_ht_15_mbps = num_tx_ht_15_mbps - if num_tx_ht_19_5_mbps is not None: - self.num_tx_ht_19_5_mbps = num_tx_ht_19_5_mbps - if num_tx_ht_21_7_mbps is not None: - self.num_tx_ht_21_7_mbps = num_tx_ht_21_7_mbps - if num_tx_ht_26_mbps is not None: - self.num_tx_ht_26_mbps = num_tx_ht_26_mbps - if num_tx_ht_27_mbps is not None: - self.num_tx_ht_27_mbps = num_tx_ht_27_mbps - if num_tx_ht_28_7_mbps is not None: - self.num_tx_ht_28_7_mbps = num_tx_ht_28_7_mbps - if num_tx_ht_28_8_mbps is not None: - self.num_tx_ht_28_8_mbps = num_tx_ht_28_8_mbps - if num_tx_ht_29_2_mbps is not None: - self.num_tx_ht_29_2_mbps = num_tx_ht_29_2_mbps - if num_tx_ht_30_mbps is not None: - self.num_tx_ht_30_mbps = num_tx_ht_30_mbps - if num_tx_ht_32_5_mbps is not None: - self.num_tx_ht_32_5_mbps = num_tx_ht_32_5_mbps - if num_tx_ht_39_mbps is not None: - self.num_tx_ht_39_mbps = num_tx_ht_39_mbps - if num_tx_ht_40_5_mbps is not None: - self.num_tx_ht_40_5_mbps = num_tx_ht_40_5_mbps - if num_tx_ht_43_2_mbps is not None: - self.num_tx_ht_43_2_mbps = num_tx_ht_43_2_mbps - if num_tx_ht_45_mbps is not None: - self.num_tx_ht_45_mbps = num_tx_ht_45_mbps - if num_tx_ht_52_mbps is not None: - self.num_tx_ht_52_mbps = num_tx_ht_52_mbps - if num_tx_ht_54_mbps is not None: - self.num_tx_ht_54_mbps = num_tx_ht_54_mbps - if num_tx_ht_57_5_mbps is not None: - self.num_tx_ht_57_5_mbps = num_tx_ht_57_5_mbps - if num_tx_ht_57_7_mbps is not None: - self.num_tx_ht_57_7_mbps = num_tx_ht_57_7_mbps - if num_tx_ht_58_5_mbps is not None: - self.num_tx_ht_58_5_mbps = num_tx_ht_58_5_mbps - if num_tx_ht_60_mbps is not None: - self.num_tx_ht_60_mbps = num_tx_ht_60_mbps - if num_tx_ht_65_mbps is not None: - self.num_tx_ht_65_mbps = num_tx_ht_65_mbps - if num_tx_ht_72_1_mbps is not None: - self.num_tx_ht_72_1_mbps = num_tx_ht_72_1_mbps - if num_tx_ht_78_mbps is not None: - self.num_tx_ht_78_mbps = num_tx_ht_78_mbps - if num_tx_ht_81_mbps is not None: - self.num_tx_ht_81_mbps = num_tx_ht_81_mbps - if num_tx_ht_86_6_mbps is not None: - self.num_tx_ht_86_6_mbps = num_tx_ht_86_6_mbps - if num_tx_ht_86_8_mbps is not None: - self.num_tx_ht_86_8_mbps = num_tx_ht_86_8_mbps - if num_tx_ht_87_8_mbps is not None: - self.num_tx_ht_87_8_mbps = num_tx_ht_87_8_mbps - if num_tx_ht_90_mbps is not None: - self.num_tx_ht_90_mbps = num_tx_ht_90_mbps - if num_tx_ht_97_5_mbps is not None: - self.num_tx_ht_97_5_mbps = num_tx_ht_97_5_mbps - if num_tx_ht_104_mbps is not None: - self.num_tx_ht_104_mbps = num_tx_ht_104_mbps - if num_tx_ht_108_mbps is not None: - self.num_tx_ht_108_mbps = num_tx_ht_108_mbps - if num_tx_ht_115_5_mbps is not None: - self.num_tx_ht_115_5_mbps = num_tx_ht_115_5_mbps - if num_tx_ht_117_mbps is not None: - self.num_tx_ht_117_mbps = num_tx_ht_117_mbps - if num_tx_ht_117_1_mbps is not None: - self.num_tx_ht_117_1_mbps = num_tx_ht_117_1_mbps - if num_tx_ht_120_mbps is not None: - self.num_tx_ht_120_mbps = num_tx_ht_120_mbps - if num_tx_ht_121_5_mbps is not None: - self.num_tx_ht_121_5_mbps = num_tx_ht_121_5_mbps - if num_tx_ht_130_mbps is not None: - self.num_tx_ht_130_mbps = num_tx_ht_130_mbps - if num_tx_ht_130_3_mbps is not None: - self.num_tx_ht_130_3_mbps = num_tx_ht_130_3_mbps - if num_tx_ht_135_mbps is not None: - self.num_tx_ht_135_mbps = num_tx_ht_135_mbps - if num_tx_ht_144_3_mbps is not None: - self.num_tx_ht_144_3_mbps = num_tx_ht_144_3_mbps - if num_tx_ht_150_mbps is not None: - self.num_tx_ht_150_mbps = num_tx_ht_150_mbps - if num_tx_ht_156_mbps is not None: - self.num_tx_ht_156_mbps = num_tx_ht_156_mbps - if num_tx_ht_162_mbps is not None: - self.num_tx_ht_162_mbps = num_tx_ht_162_mbps - if num_tx_ht_173_1_mbps is not None: - self.num_tx_ht_173_1_mbps = num_tx_ht_173_1_mbps - if num_tx_ht_173_3_mbps is not None: - self.num_tx_ht_173_3_mbps = num_tx_ht_173_3_mbps - if num_tx_ht_175_5_mbps is not None: - self.num_tx_ht_175_5_mbps = num_tx_ht_175_5_mbps - if num_tx_ht_180_mbps is not None: - self.num_tx_ht_180_mbps = num_tx_ht_180_mbps - if num_tx_ht_195_mbps is not None: - self.num_tx_ht_195_mbps = num_tx_ht_195_mbps - if num_tx_ht_200_mbps is not None: - self.num_tx_ht_200_mbps = num_tx_ht_200_mbps - if num_tx_ht_208_mbps is not None: - self.num_tx_ht_208_mbps = num_tx_ht_208_mbps - if num_tx_ht_216_mbps is not None: - self.num_tx_ht_216_mbps = num_tx_ht_216_mbps - if num_tx_ht_216_6_mbps is not None: - self.num_tx_ht_216_6_mbps = num_tx_ht_216_6_mbps - if num_tx_ht_231_1_mbps is not None: - self.num_tx_ht_231_1_mbps = num_tx_ht_231_1_mbps - if num_tx_ht_234_mbps is not None: - self.num_tx_ht_234_mbps = num_tx_ht_234_mbps - if num_tx_ht_240_mbps is not None: - self.num_tx_ht_240_mbps = num_tx_ht_240_mbps - if num_tx_ht_243_mbps is not None: - self.num_tx_ht_243_mbps = num_tx_ht_243_mbps - if num_tx_ht_260_mbps is not None: - self.num_tx_ht_260_mbps = num_tx_ht_260_mbps - if num_tx_ht_263_2_mbps is not None: - self.num_tx_ht_263_2_mbps = num_tx_ht_263_2_mbps - if num_tx_ht_270_mbps is not None: - self.num_tx_ht_270_mbps = num_tx_ht_270_mbps - if num_tx_ht_288_7_mbps is not None: - self.num_tx_ht_288_7_mbps = num_tx_ht_288_7_mbps - if num_tx_ht_288_8_mbps is not None: - self.num_tx_ht_288_8_mbps = num_tx_ht_288_8_mbps - if num_tx_ht_292_5_mbps is not None: - self.num_tx_ht_292_5_mbps = num_tx_ht_292_5_mbps - if num_tx_ht_300_mbps is not None: - self.num_tx_ht_300_mbps = num_tx_ht_300_mbps - if num_tx_ht_312_mbps is not None: - self.num_tx_ht_312_mbps = num_tx_ht_312_mbps - if num_tx_ht_324_mbps is not None: - self.num_tx_ht_324_mbps = num_tx_ht_324_mbps - if num_tx_ht_325_mbps is not None: - self.num_tx_ht_325_mbps = num_tx_ht_325_mbps - if num_tx_ht_346_7_mbps is not None: - self.num_tx_ht_346_7_mbps = num_tx_ht_346_7_mbps - if num_tx_ht_351_mbps is not None: - self.num_tx_ht_351_mbps = num_tx_ht_351_mbps - if num_tx_ht_351_2_mbps is not None: - self.num_tx_ht_351_2_mbps = num_tx_ht_351_2_mbps - if num_tx_ht_360_mbps is not None: - self.num_tx_ht_360_mbps = num_tx_ht_360_mbps - if num_rx_ht_6_5_mbps is not None: - self.num_rx_ht_6_5_mbps = num_rx_ht_6_5_mbps - if num_rx_ht_7_1_mbps is not None: - self.num_rx_ht_7_1_mbps = num_rx_ht_7_1_mbps - if num_rx_ht_13_mbps is not None: - self.num_rx_ht_13_mbps = num_rx_ht_13_mbps - if num_rx_ht_13_5_mbps is not None: - self.num_rx_ht_13_5_mbps = num_rx_ht_13_5_mbps - if num_rx_ht_14_3_mbps is not None: - self.num_rx_ht_14_3_mbps = num_rx_ht_14_3_mbps - if num_rx_ht_15_mbps is not None: - self.num_rx_ht_15_mbps = num_rx_ht_15_mbps - if num_rx_ht_19_5_mbps is not None: - self.num_rx_ht_19_5_mbps = num_rx_ht_19_5_mbps - if num_rx_ht_21_7_mbps is not None: - self.num_rx_ht_21_7_mbps = num_rx_ht_21_7_mbps - if num_rx_ht_26_mbps is not None: - self.num_rx_ht_26_mbps = num_rx_ht_26_mbps - if num_rx_ht_27_mbps is not None: - self.num_rx_ht_27_mbps = num_rx_ht_27_mbps - if num_rx_ht_28_7_mbps is not None: - self.num_rx_ht_28_7_mbps = num_rx_ht_28_7_mbps - if num_rx_ht_28_8_mbps is not None: - self.num_rx_ht_28_8_mbps = num_rx_ht_28_8_mbps - if num_rx_ht_29_2_mbps is not None: - self.num_rx_ht_29_2_mbps = num_rx_ht_29_2_mbps - if num_rx_ht_30_mbps is not None: - self.num_rx_ht_30_mbps = num_rx_ht_30_mbps - if num_rx_ht_32_5_mbps is not None: - self.num_rx_ht_32_5_mbps = num_rx_ht_32_5_mbps - if num_rx_ht_39_mbps is not None: - self.num_rx_ht_39_mbps = num_rx_ht_39_mbps - if num_rx_ht_40_5_mbps is not None: - self.num_rx_ht_40_5_mbps = num_rx_ht_40_5_mbps - if num_rx_ht_43_2_mbps is not None: - self.num_rx_ht_43_2_mbps = num_rx_ht_43_2_mbps - if num_rx_ht_45_mbps is not None: - self.num_rx_ht_45_mbps = num_rx_ht_45_mbps - if num_rx_ht_52_mbps is not None: - self.num_rx_ht_52_mbps = num_rx_ht_52_mbps - if num_rx_ht_54_mbps is not None: - self.num_rx_ht_54_mbps = num_rx_ht_54_mbps - if num_rx_ht_57_5_mbps is not None: - self.num_rx_ht_57_5_mbps = num_rx_ht_57_5_mbps - if num_rx_ht_57_7_mbps is not None: - self.num_rx_ht_57_7_mbps = num_rx_ht_57_7_mbps - if num_rx_ht_58_5_mbps is not None: - self.num_rx_ht_58_5_mbps = num_rx_ht_58_5_mbps - if num_rx_ht_60_mbps is not None: - self.num_rx_ht_60_mbps = num_rx_ht_60_mbps - if num_rx_ht_65_mbps is not None: - self.num_rx_ht_65_mbps = num_rx_ht_65_mbps - if num_rx_ht_72_1_mbps is not None: - self.num_rx_ht_72_1_mbps = num_rx_ht_72_1_mbps - if num_rx_ht_78_mbps is not None: - self.num_rx_ht_78_mbps = num_rx_ht_78_mbps - if num_rx_ht_81_mbps is not None: - self.num_rx_ht_81_mbps = num_rx_ht_81_mbps - if num_rx_ht_86_6_mbps is not None: - self.num_rx_ht_86_6_mbps = num_rx_ht_86_6_mbps - if num_rx_ht_86_8_mbps is not None: - self.num_rx_ht_86_8_mbps = num_rx_ht_86_8_mbps - if num_rx_ht_87_8_mbps is not None: - self.num_rx_ht_87_8_mbps = num_rx_ht_87_8_mbps - if num_rx_ht_90_mbps is not None: - self.num_rx_ht_90_mbps = num_rx_ht_90_mbps - if num_rx_ht_97_5_mbps is not None: - self.num_rx_ht_97_5_mbps = num_rx_ht_97_5_mbps - if num_rx_ht_104_mbps is not None: - self.num_rx_ht_104_mbps = num_rx_ht_104_mbps - if num_rx_ht_108_mbps is not None: - self.num_rx_ht_108_mbps = num_rx_ht_108_mbps - if num_rx_ht_115_5_mbps is not None: - self.num_rx_ht_115_5_mbps = num_rx_ht_115_5_mbps - if num_rx_ht_117_mbps is not None: - self.num_rx_ht_117_mbps = num_rx_ht_117_mbps - if num_rx_ht_117_1_mbps is not None: - self.num_rx_ht_117_1_mbps = num_rx_ht_117_1_mbps - if num_rx_ht_120_mbps is not None: - self.num_rx_ht_120_mbps = num_rx_ht_120_mbps - if num_rx_ht_121_5_mbps is not None: - self.num_rx_ht_121_5_mbps = num_rx_ht_121_5_mbps - if num_rx_ht_130_mbps is not None: - self.num_rx_ht_130_mbps = num_rx_ht_130_mbps - if num_rx_ht_130_3_mbps is not None: - self.num_rx_ht_130_3_mbps = num_rx_ht_130_3_mbps - if num_rx_ht_135_mbps is not None: - self.num_rx_ht_135_mbps = num_rx_ht_135_mbps - if num_rx_ht_144_3_mbps is not None: - self.num_rx_ht_144_3_mbps = num_rx_ht_144_3_mbps - if num_rx_ht_150_mbps is not None: - self.num_rx_ht_150_mbps = num_rx_ht_150_mbps - if num_rx_ht_156_mbps is not None: - self.num_rx_ht_156_mbps = num_rx_ht_156_mbps - if num_rx_ht_162_mbps is not None: - self.num_rx_ht_162_mbps = num_rx_ht_162_mbps - if num_rx_ht_173_1_mbps is not None: - self.num_rx_ht_173_1_mbps = num_rx_ht_173_1_mbps - if num_rx_ht_173_3_mbps is not None: - self.num_rx_ht_173_3_mbps = num_rx_ht_173_3_mbps - if num_rx_ht_175_5_mbps is not None: - self.num_rx_ht_175_5_mbps = num_rx_ht_175_5_mbps - if num_rx_ht_180_mbps is not None: - self.num_rx_ht_180_mbps = num_rx_ht_180_mbps - if num_rx_ht_195_mbps is not None: - self.num_rx_ht_195_mbps = num_rx_ht_195_mbps - if num_rx_ht_200_mbps is not None: - self.num_rx_ht_200_mbps = num_rx_ht_200_mbps - if num_rx_ht_208_mbps is not None: - self.num_rx_ht_208_mbps = num_rx_ht_208_mbps - if num_rx_ht_216_mbps is not None: - self.num_rx_ht_216_mbps = num_rx_ht_216_mbps - if num_rx_ht_216_6_mbps is not None: - self.num_rx_ht_216_6_mbps = num_rx_ht_216_6_mbps - if num_rx_ht_231_1_mbps is not None: - self.num_rx_ht_231_1_mbps = num_rx_ht_231_1_mbps - if num_rx_ht_234_mbps is not None: - self.num_rx_ht_234_mbps = num_rx_ht_234_mbps - if num_rx_ht_240_mbps is not None: - self.num_rx_ht_240_mbps = num_rx_ht_240_mbps - if num_rx_ht_243_mbps is not None: - self.num_rx_ht_243_mbps = num_rx_ht_243_mbps - if num_rx_ht_260_mbps is not None: - self.num_rx_ht_260_mbps = num_rx_ht_260_mbps - if num_rx_ht_263_2_mbps is not None: - self.num_rx_ht_263_2_mbps = num_rx_ht_263_2_mbps - if num_rx_ht_270_mbps is not None: - self.num_rx_ht_270_mbps = num_rx_ht_270_mbps - if num_rx_ht_288_7_mbps is not None: - self.num_rx_ht_288_7_mbps = num_rx_ht_288_7_mbps - if num_rx_ht_288_8_mbps is not None: - self.num_rx_ht_288_8_mbps = num_rx_ht_288_8_mbps - if num_rx_ht_292_5_mbps is not None: - self.num_rx_ht_292_5_mbps = num_rx_ht_292_5_mbps - if num_rx_ht_300_mbps is not None: - self.num_rx_ht_300_mbps = num_rx_ht_300_mbps - if num_rx_ht_312_mbps is not None: - self.num_rx_ht_312_mbps = num_rx_ht_312_mbps - if num_rx_ht_324_mbps is not None: - self.num_rx_ht_324_mbps = num_rx_ht_324_mbps - if num_rx_ht_325_mbps is not None: - self.num_rx_ht_325_mbps = num_rx_ht_325_mbps - if num_rx_ht_346_7_mbps is not None: - self.num_rx_ht_346_7_mbps = num_rx_ht_346_7_mbps - if num_rx_ht_351_mbps is not None: - self.num_rx_ht_351_mbps = num_rx_ht_351_mbps - if num_rx_ht_351_2_mbps is not None: - self.num_rx_ht_351_2_mbps = num_rx_ht_351_2_mbps - if num_rx_ht_360_mbps is not None: - self.num_rx_ht_360_mbps = num_rx_ht_360_mbps - if num_tx_vht_292_5_mbps is not None: - self.num_tx_vht_292_5_mbps = num_tx_vht_292_5_mbps - if num_tx_vht_325_mbps is not None: - self.num_tx_vht_325_mbps = num_tx_vht_325_mbps - if num_tx_vht_364_5_mbps is not None: - self.num_tx_vht_364_5_mbps = num_tx_vht_364_5_mbps - if num_tx_vht_390_mbps is not None: - self.num_tx_vht_390_mbps = num_tx_vht_390_mbps - if num_tx_vht_400_mbps is not None: - self.num_tx_vht_400_mbps = num_tx_vht_400_mbps - if num_tx_vht_403_mbps is not None: - self.num_tx_vht_403_mbps = num_tx_vht_403_mbps - if num_tx_vht_405_mbps is not None: - self.num_tx_vht_405_mbps = num_tx_vht_405_mbps - if num_tx_vht_432_mbps is not None: - self.num_tx_vht_432_mbps = num_tx_vht_432_mbps - if num_tx_vht_433_2_mbps is not None: - self.num_tx_vht_433_2_mbps = num_tx_vht_433_2_mbps - if num_tx_vht_450_mbps is not None: - self.num_tx_vht_450_mbps = num_tx_vht_450_mbps - if num_tx_vht_468_mbps is not None: - self.num_tx_vht_468_mbps = num_tx_vht_468_mbps - if num_tx_vht_480_mbps is not None: - self.num_tx_vht_480_mbps = num_tx_vht_480_mbps - if num_tx_vht_486_mbps is not None: - self.num_tx_vht_486_mbps = num_tx_vht_486_mbps - if num_tx_vht_520_mbps is not None: - self.num_tx_vht_520_mbps = num_tx_vht_520_mbps - if num_tx_vht_526_5_mbps is not None: - self.num_tx_vht_526_5_mbps = num_tx_vht_526_5_mbps - if num_tx_vht_540_mbps is not None: - self.num_tx_vht_540_mbps = num_tx_vht_540_mbps - if num_tx_vht_585_mbps is not None: - self.num_tx_vht_585_mbps = num_tx_vht_585_mbps - if num_tx_vht_600_mbps is not None: - self.num_tx_vht_600_mbps = num_tx_vht_600_mbps - if num_tx_vht_648_mbps is not None: - self.num_tx_vht_648_mbps = num_tx_vht_648_mbps - if num_tx_vht_650_mbps is not None: - self.num_tx_vht_650_mbps = num_tx_vht_650_mbps - if num_tx_vht_702_mbps is not None: - self.num_tx_vht_702_mbps = num_tx_vht_702_mbps - if num_tx_vht_720_mbps is not None: - self.num_tx_vht_720_mbps = num_tx_vht_720_mbps - if num_tx_vht_780_mbps is not None: - self.num_tx_vht_780_mbps = num_tx_vht_780_mbps - if num_tx_vht_800_mbps is not None: - self.num_tx_vht_800_mbps = num_tx_vht_800_mbps - if num_tx_vht_866_7_mbps is not None: - self.num_tx_vht_866_7_mbps = num_tx_vht_866_7_mbps - if num_tx_vht_877_5_mbps is not None: - self.num_tx_vht_877_5_mbps = num_tx_vht_877_5_mbps - if num_tx_vht_936_mbps is not None: - self.num_tx_vht_936_mbps = num_tx_vht_936_mbps - if num_tx_vht_975_mbps is not None: - self.num_tx_vht_975_mbps = num_tx_vht_975_mbps - if num_tx_vht_1040_mbps is not None: - self.num_tx_vht_1040_mbps = num_tx_vht_1040_mbps - if num_tx_vht_1053_mbps is not None: - self.num_tx_vht_1053_mbps = num_tx_vht_1053_mbps - if num_tx_vht_1053_1_mbps is not None: - self.num_tx_vht_1053_1_mbps = num_tx_vht_1053_1_mbps - if num_tx_vht_1170_mbps is not None: - self.num_tx_vht_1170_mbps = num_tx_vht_1170_mbps - if num_tx_vht_1300_mbps is not None: - self.num_tx_vht_1300_mbps = num_tx_vht_1300_mbps - if num_tx_vht_1404_mbps is not None: - self.num_tx_vht_1404_mbps = num_tx_vht_1404_mbps - if num_tx_vht_1560_mbps is not None: - self.num_tx_vht_1560_mbps = num_tx_vht_1560_mbps - if num_tx_vht_1579_5_mbps is not None: - self.num_tx_vht_1579_5_mbps = num_tx_vht_1579_5_mbps - if num_tx_vht_1733_1_mbps is not None: - self.num_tx_vht_1733_1_mbps = num_tx_vht_1733_1_mbps - if num_tx_vht_1733_4_mbps is not None: - self.num_tx_vht_1733_4_mbps = num_tx_vht_1733_4_mbps - if num_tx_vht_1755_mbps is not None: - self.num_tx_vht_1755_mbps = num_tx_vht_1755_mbps - if num_tx_vht_1872_mbps is not None: - self.num_tx_vht_1872_mbps = num_tx_vht_1872_mbps - if num_tx_vht_1950_mbps is not None: - self.num_tx_vht_1950_mbps = num_tx_vht_1950_mbps - if num_tx_vht_2080_mbps is not None: - self.num_tx_vht_2080_mbps = num_tx_vht_2080_mbps - if num_tx_vht_2106_mbps is not None: - self.num_tx_vht_2106_mbps = num_tx_vht_2106_mbps - if num_tx_vht_2340_mbps is not None: - self.num_tx_vht_2340_mbps = num_tx_vht_2340_mbps - if num_tx_vht_2600_mbps is not None: - self.num_tx_vht_2600_mbps = num_tx_vht_2600_mbps - if num_tx_vht_2808_mbps is not None: - self.num_tx_vht_2808_mbps = num_tx_vht_2808_mbps - if num_tx_vht_3120_mbps is not None: - self.num_tx_vht_3120_mbps = num_tx_vht_3120_mbps - if num_tx_vht_3466_8_mbps is not None: - self.num_tx_vht_3466_8_mbps = num_tx_vht_3466_8_mbps - if num_rx_vht_292_5_mbps is not None: - self.num_rx_vht_292_5_mbps = num_rx_vht_292_5_mbps - if num_rx_vht_325_mbps is not None: - self.num_rx_vht_325_mbps = num_rx_vht_325_mbps - if num_rx_vht_364_5_mbps is not None: - self.num_rx_vht_364_5_mbps = num_rx_vht_364_5_mbps - if num_rx_vht_390_mbps is not None: - self.num_rx_vht_390_mbps = num_rx_vht_390_mbps - if num_rx_vht_400_mbps is not None: - self.num_rx_vht_400_mbps = num_rx_vht_400_mbps - if num_rx_vht_403_mbps is not None: - self.num_rx_vht_403_mbps = num_rx_vht_403_mbps - if num_rx_vht_405_mbps is not None: - self.num_rx_vht_405_mbps = num_rx_vht_405_mbps - if num_rx_vht_432_mbps is not None: - self.num_rx_vht_432_mbps = num_rx_vht_432_mbps - if num_rx_vht_433_2_mbps is not None: - self.num_rx_vht_433_2_mbps = num_rx_vht_433_2_mbps - if num_rx_vht_450_mbps is not None: - self.num_rx_vht_450_mbps = num_rx_vht_450_mbps - if num_rx_vht_468_mbps is not None: - self.num_rx_vht_468_mbps = num_rx_vht_468_mbps - if num_rx_vht_480_mbps is not None: - self.num_rx_vht_480_mbps = num_rx_vht_480_mbps - if num_rx_vht_486_mbps is not None: - self.num_rx_vht_486_mbps = num_rx_vht_486_mbps - if num_rx_vht_520_mbps is not None: - self.num_rx_vht_520_mbps = num_rx_vht_520_mbps - if num_rx_vht_526_5_mbps is not None: - self.num_rx_vht_526_5_mbps = num_rx_vht_526_5_mbps - if num_rx_vht_540_mbps is not None: - self.num_rx_vht_540_mbps = num_rx_vht_540_mbps - if num_rx_vht_585_mbps is not None: - self.num_rx_vht_585_mbps = num_rx_vht_585_mbps - if num_rx_vht_600_mbps is not None: - self.num_rx_vht_600_mbps = num_rx_vht_600_mbps - if num_rx_vht_648_mbps is not None: - self.num_rx_vht_648_mbps = num_rx_vht_648_mbps - if num_rx_vht_650_mbps is not None: - self.num_rx_vht_650_mbps = num_rx_vht_650_mbps - if num_rx_vht_702_mbps is not None: - self.num_rx_vht_702_mbps = num_rx_vht_702_mbps - if num_rx_vht_720_mbps is not None: - self.num_rx_vht_720_mbps = num_rx_vht_720_mbps - if num_rx_vht_780_mbps is not None: - self.num_rx_vht_780_mbps = num_rx_vht_780_mbps - if num_rx_vht_800_mbps is not None: - self.num_rx_vht_800_mbps = num_rx_vht_800_mbps - if num_rx_vht_866_7_mbps is not None: - self.num_rx_vht_866_7_mbps = num_rx_vht_866_7_mbps - if num_rx_vht_877_5_mbps is not None: - self.num_rx_vht_877_5_mbps = num_rx_vht_877_5_mbps - if num_rx_vht_936_mbps is not None: - self.num_rx_vht_936_mbps = num_rx_vht_936_mbps - if num_rx_vht_975_mbps is not None: - self.num_rx_vht_975_mbps = num_rx_vht_975_mbps - if num_rx_vht_1040_mbps is not None: - self.num_rx_vht_1040_mbps = num_rx_vht_1040_mbps - if num_rx_vht_1053_mbps is not None: - self.num_rx_vht_1053_mbps = num_rx_vht_1053_mbps - if num_rx_vht_1053_1_mbps is not None: - self.num_rx_vht_1053_1_mbps = num_rx_vht_1053_1_mbps - if num_rx_vht_1170_mbps is not None: - self.num_rx_vht_1170_mbps = num_rx_vht_1170_mbps - if num_rx_vht_1300_mbps is not None: - self.num_rx_vht_1300_mbps = num_rx_vht_1300_mbps - if num_rx_vht_1404_mbps is not None: - self.num_rx_vht_1404_mbps = num_rx_vht_1404_mbps - if num_rx_vht_1560_mbps is not None: - self.num_rx_vht_1560_mbps = num_rx_vht_1560_mbps - if num_rx_vht_1579_5_mbps is not None: - self.num_rx_vht_1579_5_mbps = num_rx_vht_1579_5_mbps - if num_rx_vht_1733_1_mbps is not None: - self.num_rx_vht_1733_1_mbps = num_rx_vht_1733_1_mbps - if num_rx_vht_1733_4_mbps is not None: - self.num_rx_vht_1733_4_mbps = num_rx_vht_1733_4_mbps - if num_rx_vht_1755_mbps is not None: - self.num_rx_vht_1755_mbps = num_rx_vht_1755_mbps - if num_rx_vht_1872_mbps is not None: - self.num_rx_vht_1872_mbps = num_rx_vht_1872_mbps - if num_rx_vht_1950_mbps is not None: - self.num_rx_vht_1950_mbps = num_rx_vht_1950_mbps - if num_rx_vht_2080_mbps is not None: - self.num_rx_vht_2080_mbps = num_rx_vht_2080_mbps - if num_rx_vht_2106_mbps is not None: - self.num_rx_vht_2106_mbps = num_rx_vht_2106_mbps - if num_rx_vht_2340_mbps is not None: - self.num_rx_vht_2340_mbps = num_rx_vht_2340_mbps - if num_rx_vht_2600_mbps is not None: - self.num_rx_vht_2600_mbps = num_rx_vht_2600_mbps - if num_rx_vht_2808_mbps is not None: - self.num_rx_vht_2808_mbps = num_rx_vht_2808_mbps - if num_rx_vht_3120_mbps is not None: - self.num_rx_vht_3120_mbps = num_rx_vht_3120_mbps - if num_rx_vht_3466_8_mbps is not None: - self.num_rx_vht_3466_8_mbps = num_rx_vht_3466_8_mbps - if rx_last_rssi is not None: - self.rx_last_rssi = rx_last_rssi - if num_rx_no_fcs_err is not None: - self.num_rx_no_fcs_err = num_rx_no_fcs_err - if num_rx_data is not None: - self.num_rx_data = num_rx_data - if num_rx_management is not None: - self.num_rx_management = num_rx_management - if num_rx_control is not None: - self.num_rx_control = num_rx_control - if rx_bytes is not None: - self.rx_bytes = rx_bytes - if rx_data_bytes is not None: - self.rx_data_bytes = rx_data_bytes - if num_rx_rts is not None: - self.num_rx_rts = num_rx_rts - if num_rx_cts is not None: - self.num_rx_cts = num_rx_cts - if num_rx_ack is not None: - self.num_rx_ack = num_rx_ack - if num_rx_probe_req is not None: - self.num_rx_probe_req = num_rx_probe_req - if num_rx_retry is not None: - self.num_rx_retry = num_rx_retry - if num_rx_dup is not None: - self.num_rx_dup = num_rx_dup - if num_rx_null_data is not None: - self.num_rx_null_data = num_rx_null_data - if num_rx_pspoll is not None: - self.num_rx_pspoll = num_rx_pspoll - if num_rx_stbc is not None: - self.num_rx_stbc = num_rx_stbc - if num_rx_ldpc is not None: - self.num_rx_ldpc = num_rx_ldpc - if last_recv_layer3_ts is not None: - self.last_recv_layer3_ts = last_recv_layer3_ts - if num_rcv_frame_for_tx is not None: - self.num_rcv_frame_for_tx = num_rcv_frame_for_tx - if num_tx_queued is not None: - self.num_tx_queued = num_tx_queued - if num_tx_dropped is not None: - self.num_tx_dropped = num_tx_dropped - if num_tx_retry_dropped is not None: - self.num_tx_retry_dropped = num_tx_retry_dropped - if num_tx_succ is not None: - self.num_tx_succ = num_tx_succ - if num_tx_byte_succ is not None: - self.num_tx_byte_succ = num_tx_byte_succ - if num_tx_succ_no_retry is not None: - self.num_tx_succ_no_retry = num_tx_succ_no_retry - if num_tx_succ_retries is not None: - self.num_tx_succ_retries = num_tx_succ_retries - if num_tx_multi_retries is not None: - self.num_tx_multi_retries = num_tx_multi_retries - if num_tx_management is not None: - self.num_tx_management = num_tx_management - if num_tx_control is not None: - self.num_tx_control = num_tx_control - if num_tx_action is not None: - self.num_tx_action = num_tx_action - if num_tx_prop_resp is not None: - self.num_tx_prop_resp = num_tx_prop_resp - if num_tx_data is not None: - self.num_tx_data = num_tx_data - if num_tx_data_retries is not None: - self.num_tx_data_retries = num_tx_data_retries - if num_tx_rts_succ is not None: - self.num_tx_rts_succ = num_tx_rts_succ - if num_tx_rts_fail is not None: - self.num_tx_rts_fail = num_tx_rts_fail - if num_tx_no_ack is not None: - self.num_tx_no_ack = num_tx_no_ack - if num_tx_eapol is not None: - self.num_tx_eapol = num_tx_eapol - if num_tx_ldpc is not None: - self.num_tx_ldpc = num_tx_ldpc - if num_tx_stbc is not None: - self.num_tx_stbc = num_tx_stbc - if num_tx_aggr_succ is not None: - self.num_tx_aggr_succ = num_tx_aggr_succ - if num_tx_aggr_one_mpdu is not None: - self.num_tx_aggr_one_mpdu = num_tx_aggr_one_mpdu - if last_sent_layer3_ts is not None: - self.last_sent_layer3_ts = last_sent_layer3_ts - if wmm_queue_stats is not None: - self.wmm_queue_stats = wmm_queue_stats - if list_mcs_stats_mcs_stats is not None: - self.list_mcs_stats_mcs_stats = list_mcs_stats_mcs_stats - if last_rx_mcs_idx is not None: - self.last_rx_mcs_idx = last_rx_mcs_idx - if last_tx_mcs_idx is not None: - self.last_tx_mcs_idx = last_tx_mcs_idx - if radio_type is not None: - self.radio_type = radio_type - if period_length_sec is not None: - self.period_length_sec = period_length_sec - - @property - def model_type(self): - """Gets the model_type of this ClientMetrics. # noqa: E501 - - - :return: The model_type of this ClientMetrics. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this ClientMetrics. - - - :param model_type: The model_type of this ClientMetrics. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - - self._model_type = model_type - - @property - def seconds_since_last_recv(self): - """Gets the seconds_since_last_recv of this ClientMetrics. # noqa: E501 - - - :return: The seconds_since_last_recv of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._seconds_since_last_recv - - @seconds_since_last_recv.setter - def seconds_since_last_recv(self, seconds_since_last_recv): - """Sets the seconds_since_last_recv of this ClientMetrics. - - - :param seconds_since_last_recv: The seconds_since_last_recv of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._seconds_since_last_recv = seconds_since_last_recv - - @property - def num_rx_packets(self): - """Gets the num_rx_packets of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_packets of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_packets - - @num_rx_packets.setter - def num_rx_packets(self, num_rx_packets): - """Sets the num_rx_packets of this ClientMetrics. - - - :param num_rx_packets: The num_rx_packets of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_packets = num_rx_packets - - @property - def num_tx_packets(self): - """Gets the num_tx_packets of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_packets of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_packets - - @num_tx_packets.setter - def num_tx_packets(self, num_tx_packets): - """Sets the num_tx_packets of this ClientMetrics. - - - :param num_tx_packets: The num_tx_packets of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_packets = num_tx_packets - - @property - def num_rx_bytes(self): - """Gets the num_rx_bytes of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_bytes of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_bytes - - @num_rx_bytes.setter - def num_rx_bytes(self, num_rx_bytes): - """Sets the num_rx_bytes of this ClientMetrics. - - - :param num_rx_bytes: The num_rx_bytes of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_bytes = num_rx_bytes - - @property - def num_tx_bytes(self): - """Gets the num_tx_bytes of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_bytes of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_bytes - - @num_tx_bytes.setter - def num_tx_bytes(self, num_tx_bytes): - """Sets the num_tx_bytes of this ClientMetrics. - - - :param num_tx_bytes: The num_tx_bytes of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_bytes = num_tx_bytes - - @property - def tx_retries(self): - """Gets the tx_retries of this ClientMetrics. # noqa: E501 - - - :return: The tx_retries of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._tx_retries - - @tx_retries.setter - def tx_retries(self, tx_retries): - """Sets the tx_retries of this ClientMetrics. - - - :param tx_retries: The tx_retries of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._tx_retries = tx_retries - - @property - def rx_duplicate_packets(self): - """Gets the rx_duplicate_packets of this ClientMetrics. # noqa: E501 - - - :return: The rx_duplicate_packets of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._rx_duplicate_packets - - @rx_duplicate_packets.setter - def rx_duplicate_packets(self, rx_duplicate_packets): - """Sets the rx_duplicate_packets of this ClientMetrics. - - - :param rx_duplicate_packets: The rx_duplicate_packets of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._rx_duplicate_packets = rx_duplicate_packets - - @property - def rate_count(self): - """Gets the rate_count of this ClientMetrics. # noqa: E501 - - - :return: The rate_count of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._rate_count - - @rate_count.setter - def rate_count(self, rate_count): - """Sets the rate_count of this ClientMetrics. - - - :param rate_count: The rate_count of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._rate_count = rate_count - - @property - def rates(self): - """Gets the rates of this ClientMetrics. # noqa: E501 - - - :return: The rates of this ClientMetrics. # noqa: E501 - :rtype: list[int] - """ - return self._rates - - @rates.setter - def rates(self, rates): - """Sets the rates of this ClientMetrics. - - - :param rates: The rates of this ClientMetrics. # noqa: E501 - :type: list[int] - """ - - self._rates = rates - - @property - def mcs(self): - """Gets the mcs of this ClientMetrics. # noqa: E501 - - - :return: The mcs of this ClientMetrics. # noqa: E501 - :rtype: list[int] - """ - return self._mcs - - @mcs.setter - def mcs(self, mcs): - """Sets the mcs of this ClientMetrics. - - - :param mcs: The mcs of this ClientMetrics. # noqa: E501 - :type: list[int] - """ - - self._mcs = mcs - - @property - def vht_mcs(self): - """Gets the vht_mcs of this ClientMetrics. # noqa: E501 - - - :return: The vht_mcs of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._vht_mcs - - @vht_mcs.setter - def vht_mcs(self, vht_mcs): - """Sets the vht_mcs of this ClientMetrics. - - - :param vht_mcs: The vht_mcs of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._vht_mcs = vht_mcs - - @property - def snr(self): - """Gets the snr of this ClientMetrics. # noqa: E501 - - - :return: The snr of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._snr - - @snr.setter - def snr(self, snr): - """Sets the snr of this ClientMetrics. - - - :param snr: The snr of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._snr = snr - - @property - def rssi(self): - """Gets the rssi of this ClientMetrics. # noqa: E501 - - - :return: The rssi of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._rssi - - @rssi.setter - def rssi(self, rssi): - """Sets the rssi of this ClientMetrics. - - - :param rssi: The rssi of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._rssi = rssi - - @property - def session_id(self): - """Gets the session_id of this ClientMetrics. # noqa: E501 - - - :return: The session_id of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._session_id - - @session_id.setter - def session_id(self, session_id): - """Sets the session_id of this ClientMetrics. - - - :param session_id: The session_id of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._session_id = session_id - - @property - def classification_name(self): - """Gets the classification_name of this ClientMetrics. # noqa: E501 - - - :return: The classification_name of this ClientMetrics. # noqa: E501 - :rtype: str - """ - return self._classification_name - - @classification_name.setter - def classification_name(self, classification_name): - """Sets the classification_name of this ClientMetrics. - - - :param classification_name: The classification_name of this ClientMetrics. # noqa: E501 - :type: str - """ - - self._classification_name = classification_name - - @property - def channel_band_width(self): - """Gets the channel_band_width of this ClientMetrics. # noqa: E501 - - - :return: The channel_band_width of this ClientMetrics. # noqa: E501 - :rtype: ChannelBandwidth - """ - return self._channel_band_width - - @channel_band_width.setter - def channel_band_width(self, channel_band_width): - """Sets the channel_band_width of this ClientMetrics. - - - :param channel_band_width: The channel_band_width of this ClientMetrics. # noqa: E501 - :type: ChannelBandwidth - """ - - self._channel_band_width = channel_band_width - - @property - def guard_interval(self): - """Gets the guard_interval of this ClientMetrics. # noqa: E501 - - - :return: The guard_interval of this ClientMetrics. # noqa: E501 - :rtype: GuardInterval - """ - return self._guard_interval - - @guard_interval.setter - def guard_interval(self, guard_interval): - """Sets the guard_interval of this ClientMetrics. - - - :param guard_interval: The guard_interval of this ClientMetrics. # noqa: E501 - :type: GuardInterval - """ - - self._guard_interval = guard_interval - - @property - def cisco_last_rate(self): - """Gets the cisco_last_rate of this ClientMetrics. # noqa: E501 - - - :return: The cisco_last_rate of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._cisco_last_rate - - @cisco_last_rate.setter - def cisco_last_rate(self, cisco_last_rate): - """Sets the cisco_last_rate of this ClientMetrics. - - - :param cisco_last_rate: The cisco_last_rate of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._cisco_last_rate = cisco_last_rate - - @property - def average_tx_rate(self): - """Gets the average_tx_rate of this ClientMetrics. # noqa: E501 - - - :return: The average_tx_rate of this ClientMetrics. # noqa: E501 - :rtype: float - """ - return self._average_tx_rate - - @average_tx_rate.setter - def average_tx_rate(self, average_tx_rate): - """Sets the average_tx_rate of this ClientMetrics. - - - :param average_tx_rate: The average_tx_rate of this ClientMetrics. # noqa: E501 - :type: float - """ - - self._average_tx_rate = average_tx_rate - - @property - def average_rx_rate(self): - """Gets the average_rx_rate of this ClientMetrics. # noqa: E501 - - - :return: The average_rx_rate of this ClientMetrics. # noqa: E501 - :rtype: float - """ - return self._average_rx_rate - - @average_rx_rate.setter - def average_rx_rate(self, average_rx_rate): - """Sets the average_rx_rate of this ClientMetrics. - - - :param average_rx_rate: The average_rx_rate of this ClientMetrics. # noqa: E501 - :type: float - """ - - self._average_rx_rate = average_rx_rate - - @property - def num_tx_data_frames_12_mbps(self): - """Gets the num_tx_data_frames_12_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_data_frames_12_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_data_frames_12_mbps - - @num_tx_data_frames_12_mbps.setter - def num_tx_data_frames_12_mbps(self, num_tx_data_frames_12_mbps): - """Sets the num_tx_data_frames_12_mbps of this ClientMetrics. - - - :param num_tx_data_frames_12_mbps: The num_tx_data_frames_12_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_data_frames_12_mbps = num_tx_data_frames_12_mbps - - @property - def num_tx_data_frames_54_mbps(self): - """Gets the num_tx_data_frames_54_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_data_frames_54_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_data_frames_54_mbps - - @num_tx_data_frames_54_mbps.setter - def num_tx_data_frames_54_mbps(self, num_tx_data_frames_54_mbps): - """Sets the num_tx_data_frames_54_mbps of this ClientMetrics. - - - :param num_tx_data_frames_54_mbps: The num_tx_data_frames_54_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_data_frames_54_mbps = num_tx_data_frames_54_mbps - - @property - def num_tx_data_frames_108_mbps(self): - """Gets the num_tx_data_frames_108_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_data_frames_108_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_data_frames_108_mbps - - @num_tx_data_frames_108_mbps.setter - def num_tx_data_frames_108_mbps(self, num_tx_data_frames_108_mbps): - """Sets the num_tx_data_frames_108_mbps of this ClientMetrics. - - - :param num_tx_data_frames_108_mbps: The num_tx_data_frames_108_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_data_frames_108_mbps = num_tx_data_frames_108_mbps - - @property - def num_tx_data_frames_300_mbps(self): - """Gets the num_tx_data_frames_300_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_data_frames_300_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_data_frames_300_mbps - - @num_tx_data_frames_300_mbps.setter - def num_tx_data_frames_300_mbps(self, num_tx_data_frames_300_mbps): - """Sets the num_tx_data_frames_300_mbps of this ClientMetrics. - - - :param num_tx_data_frames_300_mbps: The num_tx_data_frames_300_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_data_frames_300_mbps = num_tx_data_frames_300_mbps - - @property - def num_tx_data_frames_450_mbps(self): - """Gets the num_tx_data_frames_450_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_data_frames_450_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_data_frames_450_mbps - - @num_tx_data_frames_450_mbps.setter - def num_tx_data_frames_450_mbps(self, num_tx_data_frames_450_mbps): - """Sets the num_tx_data_frames_450_mbps of this ClientMetrics. - - - :param num_tx_data_frames_450_mbps: The num_tx_data_frames_450_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_data_frames_450_mbps = num_tx_data_frames_450_mbps - - @property - def num_tx_data_frames_1300_mbps(self): - """Gets the num_tx_data_frames_1300_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_data_frames_1300_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_data_frames_1300_mbps - - @num_tx_data_frames_1300_mbps.setter - def num_tx_data_frames_1300_mbps(self, num_tx_data_frames_1300_mbps): - """Sets the num_tx_data_frames_1300_mbps of this ClientMetrics. - - - :param num_tx_data_frames_1300_mbps: The num_tx_data_frames_1300_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_data_frames_1300_mbps = num_tx_data_frames_1300_mbps - - @property - def num_tx_data_frames_1300_plus_mbps(self): - """Gets the num_tx_data_frames_1300_plus_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_data_frames_1300_plus_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_data_frames_1300_plus_mbps - - @num_tx_data_frames_1300_plus_mbps.setter - def num_tx_data_frames_1300_plus_mbps(self, num_tx_data_frames_1300_plus_mbps): - """Sets the num_tx_data_frames_1300_plus_mbps of this ClientMetrics. - - - :param num_tx_data_frames_1300_plus_mbps: The num_tx_data_frames_1300_plus_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_data_frames_1300_plus_mbps = num_tx_data_frames_1300_plus_mbps - - @property - def num_rx_data_frames_12_mbps(self): - """Gets the num_rx_data_frames_12_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_data_frames_12_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_data_frames_12_mbps - - @num_rx_data_frames_12_mbps.setter - def num_rx_data_frames_12_mbps(self, num_rx_data_frames_12_mbps): - """Sets the num_rx_data_frames_12_mbps of this ClientMetrics. - - - :param num_rx_data_frames_12_mbps: The num_rx_data_frames_12_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_data_frames_12_mbps = num_rx_data_frames_12_mbps - - @property - def num_rx_data_frames_54_mbps(self): - """Gets the num_rx_data_frames_54_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_data_frames_54_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_data_frames_54_mbps - - @num_rx_data_frames_54_mbps.setter - def num_rx_data_frames_54_mbps(self, num_rx_data_frames_54_mbps): - """Sets the num_rx_data_frames_54_mbps of this ClientMetrics. - - - :param num_rx_data_frames_54_mbps: The num_rx_data_frames_54_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_data_frames_54_mbps = num_rx_data_frames_54_mbps - - @property - def num_rx_data_frames_108_mbps(self): - """Gets the num_rx_data_frames_108_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_data_frames_108_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_data_frames_108_mbps - - @num_rx_data_frames_108_mbps.setter - def num_rx_data_frames_108_mbps(self, num_rx_data_frames_108_mbps): - """Sets the num_rx_data_frames_108_mbps of this ClientMetrics. - - - :param num_rx_data_frames_108_mbps: The num_rx_data_frames_108_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_data_frames_108_mbps = num_rx_data_frames_108_mbps - - @property - def num_rx_data_frames_300_mbps(self): - """Gets the num_rx_data_frames_300_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_data_frames_300_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_data_frames_300_mbps - - @num_rx_data_frames_300_mbps.setter - def num_rx_data_frames_300_mbps(self, num_rx_data_frames_300_mbps): - """Sets the num_rx_data_frames_300_mbps of this ClientMetrics. - - - :param num_rx_data_frames_300_mbps: The num_rx_data_frames_300_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_data_frames_300_mbps = num_rx_data_frames_300_mbps - - @property - def num_rx_data_frames_450_mbps(self): - """Gets the num_rx_data_frames_450_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_data_frames_450_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_data_frames_450_mbps - - @num_rx_data_frames_450_mbps.setter - def num_rx_data_frames_450_mbps(self, num_rx_data_frames_450_mbps): - """Sets the num_rx_data_frames_450_mbps of this ClientMetrics. - - - :param num_rx_data_frames_450_mbps: The num_rx_data_frames_450_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_data_frames_450_mbps = num_rx_data_frames_450_mbps - - @property - def num_rx_data_frames_1300_mbps(self): - """Gets the num_rx_data_frames_1300_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_data_frames_1300_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_data_frames_1300_mbps - - @num_rx_data_frames_1300_mbps.setter - def num_rx_data_frames_1300_mbps(self, num_rx_data_frames_1300_mbps): - """Sets the num_rx_data_frames_1300_mbps of this ClientMetrics. - - - :param num_rx_data_frames_1300_mbps: The num_rx_data_frames_1300_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_data_frames_1300_mbps = num_rx_data_frames_1300_mbps - - @property - def num_rx_data_frames_1300_plus_mbps(self): - """Gets the num_rx_data_frames_1300_plus_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_data_frames_1300_plus_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_data_frames_1300_plus_mbps - - @num_rx_data_frames_1300_plus_mbps.setter - def num_rx_data_frames_1300_plus_mbps(self, num_rx_data_frames_1300_plus_mbps): - """Sets the num_rx_data_frames_1300_plus_mbps of this ClientMetrics. - - - :param num_rx_data_frames_1300_plus_mbps: The num_rx_data_frames_1300_plus_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_data_frames_1300_plus_mbps = num_rx_data_frames_1300_plus_mbps - - @property - def num_tx_time_frames_transmitted(self): - """Gets the num_tx_time_frames_transmitted of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_time_frames_transmitted of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_time_frames_transmitted - - @num_tx_time_frames_transmitted.setter - def num_tx_time_frames_transmitted(self, num_tx_time_frames_transmitted): - """Sets the num_tx_time_frames_transmitted of this ClientMetrics. - - - :param num_tx_time_frames_transmitted: The num_tx_time_frames_transmitted of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_time_frames_transmitted = num_tx_time_frames_transmitted - - @property - def num_rx_time_to_me(self): - """Gets the num_rx_time_to_me of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_time_to_me of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_time_to_me - - @num_rx_time_to_me.setter - def num_rx_time_to_me(self, num_rx_time_to_me): - """Sets the num_rx_time_to_me of this ClientMetrics. - - - :param num_rx_time_to_me: The num_rx_time_to_me of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_time_to_me = num_rx_time_to_me - - @property - def num_tx_time_data(self): - """Gets the num_tx_time_data of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_time_data of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_time_data - - @num_tx_time_data.setter - def num_tx_time_data(self, num_tx_time_data): - """Sets the num_tx_time_data of this ClientMetrics. - - - :param num_tx_time_data: The num_tx_time_data of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_time_data = num_tx_time_data - - @property - def num_rx_time_data(self): - """Gets the num_rx_time_data of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_time_data of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_time_data - - @num_rx_time_data.setter - def num_rx_time_data(self, num_rx_time_data): - """Sets the num_rx_time_data of this ClientMetrics. - - - :param num_rx_time_data: The num_rx_time_data of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_time_data = num_rx_time_data - - @property - def num_tx_frames_transmitted(self): - """Gets the num_tx_frames_transmitted of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_frames_transmitted of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_frames_transmitted - - @num_tx_frames_transmitted.setter - def num_tx_frames_transmitted(self, num_tx_frames_transmitted): - """Sets the num_tx_frames_transmitted of this ClientMetrics. - - - :param num_tx_frames_transmitted: The num_tx_frames_transmitted of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_frames_transmitted = num_tx_frames_transmitted - - @property - def num_tx_success_with_retry(self): - """Gets the num_tx_success_with_retry of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_success_with_retry of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_success_with_retry - - @num_tx_success_with_retry.setter - def num_tx_success_with_retry(self, num_tx_success_with_retry): - """Sets the num_tx_success_with_retry of this ClientMetrics. - - - :param num_tx_success_with_retry: The num_tx_success_with_retry of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_success_with_retry = num_tx_success_with_retry - - @property - def num_tx_multiple_retries(self): - """Gets the num_tx_multiple_retries of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_multiple_retries of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_multiple_retries - - @num_tx_multiple_retries.setter - def num_tx_multiple_retries(self, num_tx_multiple_retries): - """Sets the num_tx_multiple_retries of this ClientMetrics. - - - :param num_tx_multiple_retries: The num_tx_multiple_retries of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_multiple_retries = num_tx_multiple_retries - - @property - def num_tx_data_transmitted_retried(self): - """Gets the num_tx_data_transmitted_retried of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_data_transmitted_retried of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_data_transmitted_retried - - @num_tx_data_transmitted_retried.setter - def num_tx_data_transmitted_retried(self, num_tx_data_transmitted_retried): - """Sets the num_tx_data_transmitted_retried of this ClientMetrics. - - - :param num_tx_data_transmitted_retried: The num_tx_data_transmitted_retried of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_data_transmitted_retried = num_tx_data_transmitted_retried - - @property - def num_tx_data_transmitted(self): - """Gets the num_tx_data_transmitted of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_data_transmitted of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_data_transmitted - - @num_tx_data_transmitted.setter - def num_tx_data_transmitted(self, num_tx_data_transmitted): - """Sets the num_tx_data_transmitted of this ClientMetrics. - - - :param num_tx_data_transmitted: The num_tx_data_transmitted of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_data_transmitted = num_tx_data_transmitted - - @property - def num_rx_frames_received(self): - """Gets the num_rx_frames_received of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_frames_received of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_frames_received - - @num_rx_frames_received.setter - def num_rx_frames_received(self, num_rx_frames_received): - """Sets the num_rx_frames_received of this ClientMetrics. - - - :param num_rx_frames_received: The num_rx_frames_received of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_frames_received = num_rx_frames_received - - @property - def num_rx_data_frames_retried(self): - """Gets the num_rx_data_frames_retried of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_data_frames_retried of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_data_frames_retried - - @num_rx_data_frames_retried.setter - def num_rx_data_frames_retried(self, num_rx_data_frames_retried): - """Sets the num_rx_data_frames_retried of this ClientMetrics. - - - :param num_rx_data_frames_retried: The num_rx_data_frames_retried of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_data_frames_retried = num_rx_data_frames_retried - - @property - def num_rx_data_frames(self): - """Gets the num_rx_data_frames of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_data_frames of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_data_frames - - @num_rx_data_frames.setter - def num_rx_data_frames(self, num_rx_data_frames): - """Sets the num_rx_data_frames of this ClientMetrics. - - - :param num_rx_data_frames: The num_rx_data_frames of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_data_frames = num_rx_data_frames - - @property - def num_tx_1_mbps(self): - """Gets the num_tx_1_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_1_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_1_mbps - - @num_tx_1_mbps.setter - def num_tx_1_mbps(self, num_tx_1_mbps): - """Sets the num_tx_1_mbps of this ClientMetrics. - - - :param num_tx_1_mbps: The num_tx_1_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_1_mbps = num_tx_1_mbps - - @property - def num_tx_6_mbps(self): - """Gets the num_tx_6_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_6_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_6_mbps - - @num_tx_6_mbps.setter - def num_tx_6_mbps(self, num_tx_6_mbps): - """Sets the num_tx_6_mbps of this ClientMetrics. - - - :param num_tx_6_mbps: The num_tx_6_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_6_mbps = num_tx_6_mbps - - @property - def num_tx_9_mbps(self): - """Gets the num_tx_9_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_9_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_9_mbps - - @num_tx_9_mbps.setter - def num_tx_9_mbps(self, num_tx_9_mbps): - """Sets the num_tx_9_mbps of this ClientMetrics. - - - :param num_tx_9_mbps: The num_tx_9_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_9_mbps = num_tx_9_mbps - - @property - def num_tx_12_mbps(self): - """Gets the num_tx_12_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_12_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_12_mbps - - @num_tx_12_mbps.setter - def num_tx_12_mbps(self, num_tx_12_mbps): - """Sets the num_tx_12_mbps of this ClientMetrics. - - - :param num_tx_12_mbps: The num_tx_12_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_12_mbps = num_tx_12_mbps - - @property - def num_tx_18_mbps(self): - """Gets the num_tx_18_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_18_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_18_mbps - - @num_tx_18_mbps.setter - def num_tx_18_mbps(self, num_tx_18_mbps): - """Sets the num_tx_18_mbps of this ClientMetrics. - - - :param num_tx_18_mbps: The num_tx_18_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_18_mbps = num_tx_18_mbps - - @property - def num_tx_24_mbps(self): - """Gets the num_tx_24_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_24_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_24_mbps - - @num_tx_24_mbps.setter - def num_tx_24_mbps(self, num_tx_24_mbps): - """Sets the num_tx_24_mbps of this ClientMetrics. - - - :param num_tx_24_mbps: The num_tx_24_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_24_mbps = num_tx_24_mbps - - @property - def num_tx_36_mbps(self): - """Gets the num_tx_36_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_36_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_36_mbps - - @num_tx_36_mbps.setter - def num_tx_36_mbps(self, num_tx_36_mbps): - """Sets the num_tx_36_mbps of this ClientMetrics. - - - :param num_tx_36_mbps: The num_tx_36_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_36_mbps = num_tx_36_mbps - - @property - def num_tx_48_mbps(self): - """Gets the num_tx_48_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_48_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_48_mbps - - @num_tx_48_mbps.setter - def num_tx_48_mbps(self, num_tx_48_mbps): - """Sets the num_tx_48_mbps of this ClientMetrics. - - - :param num_tx_48_mbps: The num_tx_48_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_48_mbps = num_tx_48_mbps - - @property - def num_tx_54_mbps(self): - """Gets the num_tx_54_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_54_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_54_mbps - - @num_tx_54_mbps.setter - def num_tx_54_mbps(self, num_tx_54_mbps): - """Sets the num_tx_54_mbps of this ClientMetrics. - - - :param num_tx_54_mbps: The num_tx_54_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_54_mbps = num_tx_54_mbps - - @property - def num_rx_1_mbps(self): - """Gets the num_rx_1_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_1_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_1_mbps - - @num_rx_1_mbps.setter - def num_rx_1_mbps(self, num_rx_1_mbps): - """Sets the num_rx_1_mbps of this ClientMetrics. - - - :param num_rx_1_mbps: The num_rx_1_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_1_mbps = num_rx_1_mbps - - @property - def num_rx_6_mbps(self): - """Gets the num_rx_6_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_6_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_6_mbps - - @num_rx_6_mbps.setter - def num_rx_6_mbps(self, num_rx_6_mbps): - """Sets the num_rx_6_mbps of this ClientMetrics. - - - :param num_rx_6_mbps: The num_rx_6_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_6_mbps = num_rx_6_mbps - - @property - def num_rx_9_mbps(self): - """Gets the num_rx_9_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_9_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_9_mbps - - @num_rx_9_mbps.setter - def num_rx_9_mbps(self, num_rx_9_mbps): - """Sets the num_rx_9_mbps of this ClientMetrics. - - - :param num_rx_9_mbps: The num_rx_9_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_9_mbps = num_rx_9_mbps - - @property - def num_rx_12_mbps(self): - """Gets the num_rx_12_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_12_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_12_mbps - - @num_rx_12_mbps.setter - def num_rx_12_mbps(self, num_rx_12_mbps): - """Sets the num_rx_12_mbps of this ClientMetrics. - - - :param num_rx_12_mbps: The num_rx_12_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_12_mbps = num_rx_12_mbps - - @property - def num_rx_18_mbps(self): - """Gets the num_rx_18_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_18_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_18_mbps - - @num_rx_18_mbps.setter - def num_rx_18_mbps(self, num_rx_18_mbps): - """Sets the num_rx_18_mbps of this ClientMetrics. - - - :param num_rx_18_mbps: The num_rx_18_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_18_mbps = num_rx_18_mbps - - @property - def num_rx_24_mbps(self): - """Gets the num_rx_24_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_24_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_24_mbps - - @num_rx_24_mbps.setter - def num_rx_24_mbps(self, num_rx_24_mbps): - """Sets the num_rx_24_mbps of this ClientMetrics. - - - :param num_rx_24_mbps: The num_rx_24_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_24_mbps = num_rx_24_mbps - - @property - def num_rx_36_mbps(self): - """Gets the num_rx_36_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_36_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_36_mbps - - @num_rx_36_mbps.setter - def num_rx_36_mbps(self, num_rx_36_mbps): - """Sets the num_rx_36_mbps of this ClientMetrics. - - - :param num_rx_36_mbps: The num_rx_36_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_36_mbps = num_rx_36_mbps - - @property - def num_rx_48_mbps(self): - """Gets the num_rx_48_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_48_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_48_mbps - - @num_rx_48_mbps.setter - def num_rx_48_mbps(self, num_rx_48_mbps): - """Sets the num_rx_48_mbps of this ClientMetrics. - - - :param num_rx_48_mbps: The num_rx_48_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_48_mbps = num_rx_48_mbps - - @property - def num_rx_54_mbps(self): - """Gets the num_rx_54_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_54_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_54_mbps - - @num_rx_54_mbps.setter - def num_rx_54_mbps(self, num_rx_54_mbps): - """Sets the num_rx_54_mbps of this ClientMetrics. - - - :param num_rx_54_mbps: The num_rx_54_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_54_mbps = num_rx_54_mbps - - @property - def num_tx_ht_6_5_mbps(self): - """Gets the num_tx_ht_6_5_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_6_5_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_6_5_mbps - - @num_tx_ht_6_5_mbps.setter - def num_tx_ht_6_5_mbps(self, num_tx_ht_6_5_mbps): - """Sets the num_tx_ht_6_5_mbps of this ClientMetrics. - - - :param num_tx_ht_6_5_mbps: The num_tx_ht_6_5_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_6_5_mbps = num_tx_ht_6_5_mbps - - @property - def num_tx_ht_7_1_mbps(self): - """Gets the num_tx_ht_7_1_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_7_1_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_7_1_mbps - - @num_tx_ht_7_1_mbps.setter - def num_tx_ht_7_1_mbps(self, num_tx_ht_7_1_mbps): - """Sets the num_tx_ht_7_1_mbps of this ClientMetrics. - - - :param num_tx_ht_7_1_mbps: The num_tx_ht_7_1_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_7_1_mbps = num_tx_ht_7_1_mbps - - @property - def num_tx_ht_13_mbps(self): - """Gets the num_tx_ht_13_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_13_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_13_mbps - - @num_tx_ht_13_mbps.setter - def num_tx_ht_13_mbps(self, num_tx_ht_13_mbps): - """Sets the num_tx_ht_13_mbps of this ClientMetrics. - - - :param num_tx_ht_13_mbps: The num_tx_ht_13_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_13_mbps = num_tx_ht_13_mbps - - @property - def num_tx_ht_13_5_mbps(self): - """Gets the num_tx_ht_13_5_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_13_5_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_13_5_mbps - - @num_tx_ht_13_5_mbps.setter - def num_tx_ht_13_5_mbps(self, num_tx_ht_13_5_mbps): - """Sets the num_tx_ht_13_5_mbps of this ClientMetrics. - - - :param num_tx_ht_13_5_mbps: The num_tx_ht_13_5_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_13_5_mbps = num_tx_ht_13_5_mbps - - @property - def num_tx_ht_14_3_mbps(self): - """Gets the num_tx_ht_14_3_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_14_3_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_14_3_mbps - - @num_tx_ht_14_3_mbps.setter - def num_tx_ht_14_3_mbps(self, num_tx_ht_14_3_mbps): - """Sets the num_tx_ht_14_3_mbps of this ClientMetrics. - - - :param num_tx_ht_14_3_mbps: The num_tx_ht_14_3_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_14_3_mbps = num_tx_ht_14_3_mbps - - @property - def num_tx_ht_15_mbps(self): - """Gets the num_tx_ht_15_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_15_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_15_mbps - - @num_tx_ht_15_mbps.setter - def num_tx_ht_15_mbps(self, num_tx_ht_15_mbps): - """Sets the num_tx_ht_15_mbps of this ClientMetrics. - - - :param num_tx_ht_15_mbps: The num_tx_ht_15_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_15_mbps = num_tx_ht_15_mbps - - @property - def num_tx_ht_19_5_mbps(self): - """Gets the num_tx_ht_19_5_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_19_5_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_19_5_mbps - - @num_tx_ht_19_5_mbps.setter - def num_tx_ht_19_5_mbps(self, num_tx_ht_19_5_mbps): - """Sets the num_tx_ht_19_5_mbps of this ClientMetrics. - - - :param num_tx_ht_19_5_mbps: The num_tx_ht_19_5_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_19_5_mbps = num_tx_ht_19_5_mbps - - @property - def num_tx_ht_21_7_mbps(self): - """Gets the num_tx_ht_21_7_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_21_7_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_21_7_mbps - - @num_tx_ht_21_7_mbps.setter - def num_tx_ht_21_7_mbps(self, num_tx_ht_21_7_mbps): - """Sets the num_tx_ht_21_7_mbps of this ClientMetrics. - - - :param num_tx_ht_21_7_mbps: The num_tx_ht_21_7_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_21_7_mbps = num_tx_ht_21_7_mbps - - @property - def num_tx_ht_26_mbps(self): - """Gets the num_tx_ht_26_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_26_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_26_mbps - - @num_tx_ht_26_mbps.setter - def num_tx_ht_26_mbps(self, num_tx_ht_26_mbps): - """Sets the num_tx_ht_26_mbps of this ClientMetrics. - - - :param num_tx_ht_26_mbps: The num_tx_ht_26_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_26_mbps = num_tx_ht_26_mbps - - @property - def num_tx_ht_27_mbps(self): - """Gets the num_tx_ht_27_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_27_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_27_mbps - - @num_tx_ht_27_mbps.setter - def num_tx_ht_27_mbps(self, num_tx_ht_27_mbps): - """Sets the num_tx_ht_27_mbps of this ClientMetrics. - - - :param num_tx_ht_27_mbps: The num_tx_ht_27_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_27_mbps = num_tx_ht_27_mbps - - @property - def num_tx_ht_28_7_mbps(self): - """Gets the num_tx_ht_28_7_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_28_7_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_28_7_mbps - - @num_tx_ht_28_7_mbps.setter - def num_tx_ht_28_7_mbps(self, num_tx_ht_28_7_mbps): - """Sets the num_tx_ht_28_7_mbps of this ClientMetrics. - - - :param num_tx_ht_28_7_mbps: The num_tx_ht_28_7_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_28_7_mbps = num_tx_ht_28_7_mbps - - @property - def num_tx_ht_28_8_mbps(self): - """Gets the num_tx_ht_28_8_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_28_8_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_28_8_mbps - - @num_tx_ht_28_8_mbps.setter - def num_tx_ht_28_8_mbps(self, num_tx_ht_28_8_mbps): - """Sets the num_tx_ht_28_8_mbps of this ClientMetrics. - - - :param num_tx_ht_28_8_mbps: The num_tx_ht_28_8_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_28_8_mbps = num_tx_ht_28_8_mbps - - @property - def num_tx_ht_29_2_mbps(self): - """Gets the num_tx_ht_29_2_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_29_2_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_29_2_mbps - - @num_tx_ht_29_2_mbps.setter - def num_tx_ht_29_2_mbps(self, num_tx_ht_29_2_mbps): - """Sets the num_tx_ht_29_2_mbps of this ClientMetrics. - - - :param num_tx_ht_29_2_mbps: The num_tx_ht_29_2_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_29_2_mbps = num_tx_ht_29_2_mbps - - @property - def num_tx_ht_30_mbps(self): - """Gets the num_tx_ht_30_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_30_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_30_mbps - - @num_tx_ht_30_mbps.setter - def num_tx_ht_30_mbps(self, num_tx_ht_30_mbps): - """Sets the num_tx_ht_30_mbps of this ClientMetrics. - - - :param num_tx_ht_30_mbps: The num_tx_ht_30_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_30_mbps = num_tx_ht_30_mbps - - @property - def num_tx_ht_32_5_mbps(self): - """Gets the num_tx_ht_32_5_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_32_5_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_32_5_mbps - - @num_tx_ht_32_5_mbps.setter - def num_tx_ht_32_5_mbps(self, num_tx_ht_32_5_mbps): - """Sets the num_tx_ht_32_5_mbps of this ClientMetrics. - - - :param num_tx_ht_32_5_mbps: The num_tx_ht_32_5_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_32_5_mbps = num_tx_ht_32_5_mbps - - @property - def num_tx_ht_39_mbps(self): - """Gets the num_tx_ht_39_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_39_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_39_mbps - - @num_tx_ht_39_mbps.setter - def num_tx_ht_39_mbps(self, num_tx_ht_39_mbps): - """Sets the num_tx_ht_39_mbps of this ClientMetrics. - - - :param num_tx_ht_39_mbps: The num_tx_ht_39_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_39_mbps = num_tx_ht_39_mbps - - @property - def num_tx_ht_40_5_mbps(self): - """Gets the num_tx_ht_40_5_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_40_5_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_40_5_mbps - - @num_tx_ht_40_5_mbps.setter - def num_tx_ht_40_5_mbps(self, num_tx_ht_40_5_mbps): - """Sets the num_tx_ht_40_5_mbps of this ClientMetrics. - - - :param num_tx_ht_40_5_mbps: The num_tx_ht_40_5_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_40_5_mbps = num_tx_ht_40_5_mbps - - @property - def num_tx_ht_43_2_mbps(self): - """Gets the num_tx_ht_43_2_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_43_2_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_43_2_mbps - - @num_tx_ht_43_2_mbps.setter - def num_tx_ht_43_2_mbps(self, num_tx_ht_43_2_mbps): - """Sets the num_tx_ht_43_2_mbps of this ClientMetrics. - - - :param num_tx_ht_43_2_mbps: The num_tx_ht_43_2_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_43_2_mbps = num_tx_ht_43_2_mbps - - @property - def num_tx_ht_45_mbps(self): - """Gets the num_tx_ht_45_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_45_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_45_mbps - - @num_tx_ht_45_mbps.setter - def num_tx_ht_45_mbps(self, num_tx_ht_45_mbps): - """Sets the num_tx_ht_45_mbps of this ClientMetrics. - - - :param num_tx_ht_45_mbps: The num_tx_ht_45_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_45_mbps = num_tx_ht_45_mbps - - @property - def num_tx_ht_52_mbps(self): - """Gets the num_tx_ht_52_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_52_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_52_mbps - - @num_tx_ht_52_mbps.setter - def num_tx_ht_52_mbps(self, num_tx_ht_52_mbps): - """Sets the num_tx_ht_52_mbps of this ClientMetrics. - - - :param num_tx_ht_52_mbps: The num_tx_ht_52_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_52_mbps = num_tx_ht_52_mbps - - @property - def num_tx_ht_54_mbps(self): - """Gets the num_tx_ht_54_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_54_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_54_mbps - - @num_tx_ht_54_mbps.setter - def num_tx_ht_54_mbps(self, num_tx_ht_54_mbps): - """Sets the num_tx_ht_54_mbps of this ClientMetrics. - - - :param num_tx_ht_54_mbps: The num_tx_ht_54_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_54_mbps = num_tx_ht_54_mbps - - @property - def num_tx_ht_57_5_mbps(self): - """Gets the num_tx_ht_57_5_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_57_5_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_57_5_mbps - - @num_tx_ht_57_5_mbps.setter - def num_tx_ht_57_5_mbps(self, num_tx_ht_57_5_mbps): - """Sets the num_tx_ht_57_5_mbps of this ClientMetrics. - - - :param num_tx_ht_57_5_mbps: The num_tx_ht_57_5_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_57_5_mbps = num_tx_ht_57_5_mbps - - @property - def num_tx_ht_57_7_mbps(self): - """Gets the num_tx_ht_57_7_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_57_7_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_57_7_mbps - - @num_tx_ht_57_7_mbps.setter - def num_tx_ht_57_7_mbps(self, num_tx_ht_57_7_mbps): - """Sets the num_tx_ht_57_7_mbps of this ClientMetrics. - - - :param num_tx_ht_57_7_mbps: The num_tx_ht_57_7_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_57_7_mbps = num_tx_ht_57_7_mbps - - @property - def num_tx_ht_58_5_mbps(self): - """Gets the num_tx_ht_58_5_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_58_5_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_58_5_mbps - - @num_tx_ht_58_5_mbps.setter - def num_tx_ht_58_5_mbps(self, num_tx_ht_58_5_mbps): - """Sets the num_tx_ht_58_5_mbps of this ClientMetrics. - - - :param num_tx_ht_58_5_mbps: The num_tx_ht_58_5_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_58_5_mbps = num_tx_ht_58_5_mbps - - @property - def num_tx_ht_60_mbps(self): - """Gets the num_tx_ht_60_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_60_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_60_mbps - - @num_tx_ht_60_mbps.setter - def num_tx_ht_60_mbps(self, num_tx_ht_60_mbps): - """Sets the num_tx_ht_60_mbps of this ClientMetrics. - - - :param num_tx_ht_60_mbps: The num_tx_ht_60_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_60_mbps = num_tx_ht_60_mbps - - @property - def num_tx_ht_65_mbps(self): - """Gets the num_tx_ht_65_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_65_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_65_mbps - - @num_tx_ht_65_mbps.setter - def num_tx_ht_65_mbps(self, num_tx_ht_65_mbps): - """Sets the num_tx_ht_65_mbps of this ClientMetrics. - - - :param num_tx_ht_65_mbps: The num_tx_ht_65_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_65_mbps = num_tx_ht_65_mbps - - @property - def num_tx_ht_72_1_mbps(self): - """Gets the num_tx_ht_72_1_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_72_1_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_72_1_mbps - - @num_tx_ht_72_1_mbps.setter - def num_tx_ht_72_1_mbps(self, num_tx_ht_72_1_mbps): - """Sets the num_tx_ht_72_1_mbps of this ClientMetrics. - - - :param num_tx_ht_72_1_mbps: The num_tx_ht_72_1_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_72_1_mbps = num_tx_ht_72_1_mbps - - @property - def num_tx_ht_78_mbps(self): - """Gets the num_tx_ht_78_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_78_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_78_mbps - - @num_tx_ht_78_mbps.setter - def num_tx_ht_78_mbps(self, num_tx_ht_78_mbps): - """Sets the num_tx_ht_78_mbps of this ClientMetrics. - - - :param num_tx_ht_78_mbps: The num_tx_ht_78_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_78_mbps = num_tx_ht_78_mbps - - @property - def num_tx_ht_81_mbps(self): - """Gets the num_tx_ht_81_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_81_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_81_mbps - - @num_tx_ht_81_mbps.setter - def num_tx_ht_81_mbps(self, num_tx_ht_81_mbps): - """Sets the num_tx_ht_81_mbps of this ClientMetrics. - - - :param num_tx_ht_81_mbps: The num_tx_ht_81_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_81_mbps = num_tx_ht_81_mbps - - @property - def num_tx_ht_86_6_mbps(self): - """Gets the num_tx_ht_86_6_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_86_6_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_86_6_mbps - - @num_tx_ht_86_6_mbps.setter - def num_tx_ht_86_6_mbps(self, num_tx_ht_86_6_mbps): - """Sets the num_tx_ht_86_6_mbps of this ClientMetrics. - - - :param num_tx_ht_86_6_mbps: The num_tx_ht_86_6_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_86_6_mbps = num_tx_ht_86_6_mbps - - @property - def num_tx_ht_86_8_mbps(self): - """Gets the num_tx_ht_86_8_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_86_8_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_86_8_mbps - - @num_tx_ht_86_8_mbps.setter - def num_tx_ht_86_8_mbps(self, num_tx_ht_86_8_mbps): - """Sets the num_tx_ht_86_8_mbps of this ClientMetrics. - - - :param num_tx_ht_86_8_mbps: The num_tx_ht_86_8_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_86_8_mbps = num_tx_ht_86_8_mbps - - @property - def num_tx_ht_87_8_mbps(self): - """Gets the num_tx_ht_87_8_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_87_8_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_87_8_mbps - - @num_tx_ht_87_8_mbps.setter - def num_tx_ht_87_8_mbps(self, num_tx_ht_87_8_mbps): - """Sets the num_tx_ht_87_8_mbps of this ClientMetrics. - - - :param num_tx_ht_87_8_mbps: The num_tx_ht_87_8_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_87_8_mbps = num_tx_ht_87_8_mbps - - @property - def num_tx_ht_90_mbps(self): - """Gets the num_tx_ht_90_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_90_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_90_mbps - - @num_tx_ht_90_mbps.setter - def num_tx_ht_90_mbps(self, num_tx_ht_90_mbps): - """Sets the num_tx_ht_90_mbps of this ClientMetrics. - - - :param num_tx_ht_90_mbps: The num_tx_ht_90_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_90_mbps = num_tx_ht_90_mbps - - @property - def num_tx_ht_97_5_mbps(self): - """Gets the num_tx_ht_97_5_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_97_5_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_97_5_mbps - - @num_tx_ht_97_5_mbps.setter - def num_tx_ht_97_5_mbps(self, num_tx_ht_97_5_mbps): - """Sets the num_tx_ht_97_5_mbps of this ClientMetrics. - - - :param num_tx_ht_97_5_mbps: The num_tx_ht_97_5_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_97_5_mbps = num_tx_ht_97_5_mbps - - @property - def num_tx_ht_104_mbps(self): - """Gets the num_tx_ht_104_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_104_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_104_mbps - - @num_tx_ht_104_mbps.setter - def num_tx_ht_104_mbps(self, num_tx_ht_104_mbps): - """Sets the num_tx_ht_104_mbps of this ClientMetrics. - - - :param num_tx_ht_104_mbps: The num_tx_ht_104_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_104_mbps = num_tx_ht_104_mbps - - @property - def num_tx_ht_108_mbps(self): - """Gets the num_tx_ht_108_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_108_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_108_mbps - - @num_tx_ht_108_mbps.setter - def num_tx_ht_108_mbps(self, num_tx_ht_108_mbps): - """Sets the num_tx_ht_108_mbps of this ClientMetrics. - - - :param num_tx_ht_108_mbps: The num_tx_ht_108_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_108_mbps = num_tx_ht_108_mbps - - @property - def num_tx_ht_115_5_mbps(self): - """Gets the num_tx_ht_115_5_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_115_5_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_115_5_mbps - - @num_tx_ht_115_5_mbps.setter - def num_tx_ht_115_5_mbps(self, num_tx_ht_115_5_mbps): - """Sets the num_tx_ht_115_5_mbps of this ClientMetrics. - - - :param num_tx_ht_115_5_mbps: The num_tx_ht_115_5_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_115_5_mbps = num_tx_ht_115_5_mbps - - @property - def num_tx_ht_117_mbps(self): - """Gets the num_tx_ht_117_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_117_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_117_mbps - - @num_tx_ht_117_mbps.setter - def num_tx_ht_117_mbps(self, num_tx_ht_117_mbps): - """Sets the num_tx_ht_117_mbps of this ClientMetrics. - - - :param num_tx_ht_117_mbps: The num_tx_ht_117_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_117_mbps = num_tx_ht_117_mbps - - @property - def num_tx_ht_117_1_mbps(self): - """Gets the num_tx_ht_117_1_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_117_1_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_117_1_mbps - - @num_tx_ht_117_1_mbps.setter - def num_tx_ht_117_1_mbps(self, num_tx_ht_117_1_mbps): - """Sets the num_tx_ht_117_1_mbps of this ClientMetrics. - - - :param num_tx_ht_117_1_mbps: The num_tx_ht_117_1_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_117_1_mbps = num_tx_ht_117_1_mbps - - @property - def num_tx_ht_120_mbps(self): - """Gets the num_tx_ht_120_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_120_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_120_mbps - - @num_tx_ht_120_mbps.setter - def num_tx_ht_120_mbps(self, num_tx_ht_120_mbps): - """Sets the num_tx_ht_120_mbps of this ClientMetrics. - - - :param num_tx_ht_120_mbps: The num_tx_ht_120_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_120_mbps = num_tx_ht_120_mbps - - @property - def num_tx_ht_121_5_mbps(self): - """Gets the num_tx_ht_121_5_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_121_5_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_121_5_mbps - - @num_tx_ht_121_5_mbps.setter - def num_tx_ht_121_5_mbps(self, num_tx_ht_121_5_mbps): - """Sets the num_tx_ht_121_5_mbps of this ClientMetrics. - - - :param num_tx_ht_121_5_mbps: The num_tx_ht_121_5_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_121_5_mbps = num_tx_ht_121_5_mbps - - @property - def num_tx_ht_130_mbps(self): - """Gets the num_tx_ht_130_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_130_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_130_mbps - - @num_tx_ht_130_mbps.setter - def num_tx_ht_130_mbps(self, num_tx_ht_130_mbps): - """Sets the num_tx_ht_130_mbps of this ClientMetrics. - - - :param num_tx_ht_130_mbps: The num_tx_ht_130_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_130_mbps = num_tx_ht_130_mbps - - @property - def num_tx_ht_130_3_mbps(self): - """Gets the num_tx_ht_130_3_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_130_3_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_130_3_mbps - - @num_tx_ht_130_3_mbps.setter - def num_tx_ht_130_3_mbps(self, num_tx_ht_130_3_mbps): - """Sets the num_tx_ht_130_3_mbps of this ClientMetrics. - - - :param num_tx_ht_130_3_mbps: The num_tx_ht_130_3_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_130_3_mbps = num_tx_ht_130_3_mbps - - @property - def num_tx_ht_135_mbps(self): - """Gets the num_tx_ht_135_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_135_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_135_mbps - - @num_tx_ht_135_mbps.setter - def num_tx_ht_135_mbps(self, num_tx_ht_135_mbps): - """Sets the num_tx_ht_135_mbps of this ClientMetrics. - - - :param num_tx_ht_135_mbps: The num_tx_ht_135_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_135_mbps = num_tx_ht_135_mbps - - @property - def num_tx_ht_144_3_mbps(self): - """Gets the num_tx_ht_144_3_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_144_3_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_144_3_mbps - - @num_tx_ht_144_3_mbps.setter - def num_tx_ht_144_3_mbps(self, num_tx_ht_144_3_mbps): - """Sets the num_tx_ht_144_3_mbps of this ClientMetrics. - - - :param num_tx_ht_144_3_mbps: The num_tx_ht_144_3_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_144_3_mbps = num_tx_ht_144_3_mbps - - @property - def num_tx_ht_150_mbps(self): - """Gets the num_tx_ht_150_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_150_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_150_mbps - - @num_tx_ht_150_mbps.setter - def num_tx_ht_150_mbps(self, num_tx_ht_150_mbps): - """Sets the num_tx_ht_150_mbps of this ClientMetrics. - - - :param num_tx_ht_150_mbps: The num_tx_ht_150_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_150_mbps = num_tx_ht_150_mbps - - @property - def num_tx_ht_156_mbps(self): - """Gets the num_tx_ht_156_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_156_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_156_mbps - - @num_tx_ht_156_mbps.setter - def num_tx_ht_156_mbps(self, num_tx_ht_156_mbps): - """Sets the num_tx_ht_156_mbps of this ClientMetrics. - - - :param num_tx_ht_156_mbps: The num_tx_ht_156_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_156_mbps = num_tx_ht_156_mbps - - @property - def num_tx_ht_162_mbps(self): - """Gets the num_tx_ht_162_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_162_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_162_mbps - - @num_tx_ht_162_mbps.setter - def num_tx_ht_162_mbps(self, num_tx_ht_162_mbps): - """Sets the num_tx_ht_162_mbps of this ClientMetrics. - - - :param num_tx_ht_162_mbps: The num_tx_ht_162_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_162_mbps = num_tx_ht_162_mbps - - @property - def num_tx_ht_173_1_mbps(self): - """Gets the num_tx_ht_173_1_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_173_1_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_173_1_mbps - - @num_tx_ht_173_1_mbps.setter - def num_tx_ht_173_1_mbps(self, num_tx_ht_173_1_mbps): - """Sets the num_tx_ht_173_1_mbps of this ClientMetrics. - - - :param num_tx_ht_173_1_mbps: The num_tx_ht_173_1_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_173_1_mbps = num_tx_ht_173_1_mbps - - @property - def num_tx_ht_173_3_mbps(self): - """Gets the num_tx_ht_173_3_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_173_3_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_173_3_mbps - - @num_tx_ht_173_3_mbps.setter - def num_tx_ht_173_3_mbps(self, num_tx_ht_173_3_mbps): - """Sets the num_tx_ht_173_3_mbps of this ClientMetrics. - - - :param num_tx_ht_173_3_mbps: The num_tx_ht_173_3_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_173_3_mbps = num_tx_ht_173_3_mbps - - @property - def num_tx_ht_175_5_mbps(self): - """Gets the num_tx_ht_175_5_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_175_5_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_175_5_mbps - - @num_tx_ht_175_5_mbps.setter - def num_tx_ht_175_5_mbps(self, num_tx_ht_175_5_mbps): - """Sets the num_tx_ht_175_5_mbps of this ClientMetrics. - - - :param num_tx_ht_175_5_mbps: The num_tx_ht_175_5_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_175_5_mbps = num_tx_ht_175_5_mbps - - @property - def num_tx_ht_180_mbps(self): - """Gets the num_tx_ht_180_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_180_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_180_mbps - - @num_tx_ht_180_mbps.setter - def num_tx_ht_180_mbps(self, num_tx_ht_180_mbps): - """Sets the num_tx_ht_180_mbps of this ClientMetrics. - - - :param num_tx_ht_180_mbps: The num_tx_ht_180_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_180_mbps = num_tx_ht_180_mbps - - @property - def num_tx_ht_195_mbps(self): - """Gets the num_tx_ht_195_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_195_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_195_mbps - - @num_tx_ht_195_mbps.setter - def num_tx_ht_195_mbps(self, num_tx_ht_195_mbps): - """Sets the num_tx_ht_195_mbps of this ClientMetrics. - - - :param num_tx_ht_195_mbps: The num_tx_ht_195_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_195_mbps = num_tx_ht_195_mbps - - @property - def num_tx_ht_200_mbps(self): - """Gets the num_tx_ht_200_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_200_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_200_mbps - - @num_tx_ht_200_mbps.setter - def num_tx_ht_200_mbps(self, num_tx_ht_200_mbps): - """Sets the num_tx_ht_200_mbps of this ClientMetrics. - - - :param num_tx_ht_200_mbps: The num_tx_ht_200_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_200_mbps = num_tx_ht_200_mbps - - @property - def num_tx_ht_208_mbps(self): - """Gets the num_tx_ht_208_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_208_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_208_mbps - - @num_tx_ht_208_mbps.setter - def num_tx_ht_208_mbps(self, num_tx_ht_208_mbps): - """Sets the num_tx_ht_208_mbps of this ClientMetrics. - - - :param num_tx_ht_208_mbps: The num_tx_ht_208_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_208_mbps = num_tx_ht_208_mbps - - @property - def num_tx_ht_216_mbps(self): - """Gets the num_tx_ht_216_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_216_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_216_mbps - - @num_tx_ht_216_mbps.setter - def num_tx_ht_216_mbps(self, num_tx_ht_216_mbps): - """Sets the num_tx_ht_216_mbps of this ClientMetrics. - - - :param num_tx_ht_216_mbps: The num_tx_ht_216_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_216_mbps = num_tx_ht_216_mbps - - @property - def num_tx_ht_216_6_mbps(self): - """Gets the num_tx_ht_216_6_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_216_6_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_216_6_mbps - - @num_tx_ht_216_6_mbps.setter - def num_tx_ht_216_6_mbps(self, num_tx_ht_216_6_mbps): - """Sets the num_tx_ht_216_6_mbps of this ClientMetrics. - - - :param num_tx_ht_216_6_mbps: The num_tx_ht_216_6_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_216_6_mbps = num_tx_ht_216_6_mbps - - @property - def num_tx_ht_231_1_mbps(self): - """Gets the num_tx_ht_231_1_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_231_1_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_231_1_mbps - - @num_tx_ht_231_1_mbps.setter - def num_tx_ht_231_1_mbps(self, num_tx_ht_231_1_mbps): - """Sets the num_tx_ht_231_1_mbps of this ClientMetrics. - - - :param num_tx_ht_231_1_mbps: The num_tx_ht_231_1_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_231_1_mbps = num_tx_ht_231_1_mbps - - @property - def num_tx_ht_234_mbps(self): - """Gets the num_tx_ht_234_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_234_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_234_mbps - - @num_tx_ht_234_mbps.setter - def num_tx_ht_234_mbps(self, num_tx_ht_234_mbps): - """Sets the num_tx_ht_234_mbps of this ClientMetrics. - - - :param num_tx_ht_234_mbps: The num_tx_ht_234_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_234_mbps = num_tx_ht_234_mbps - - @property - def num_tx_ht_240_mbps(self): - """Gets the num_tx_ht_240_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_240_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_240_mbps - - @num_tx_ht_240_mbps.setter - def num_tx_ht_240_mbps(self, num_tx_ht_240_mbps): - """Sets the num_tx_ht_240_mbps of this ClientMetrics. - - - :param num_tx_ht_240_mbps: The num_tx_ht_240_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_240_mbps = num_tx_ht_240_mbps - - @property - def num_tx_ht_243_mbps(self): - """Gets the num_tx_ht_243_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_243_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_243_mbps - - @num_tx_ht_243_mbps.setter - def num_tx_ht_243_mbps(self, num_tx_ht_243_mbps): - """Sets the num_tx_ht_243_mbps of this ClientMetrics. - - - :param num_tx_ht_243_mbps: The num_tx_ht_243_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_243_mbps = num_tx_ht_243_mbps - - @property - def num_tx_ht_260_mbps(self): - """Gets the num_tx_ht_260_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_260_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_260_mbps - - @num_tx_ht_260_mbps.setter - def num_tx_ht_260_mbps(self, num_tx_ht_260_mbps): - """Sets the num_tx_ht_260_mbps of this ClientMetrics. - - - :param num_tx_ht_260_mbps: The num_tx_ht_260_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_260_mbps = num_tx_ht_260_mbps - - @property - def num_tx_ht_263_2_mbps(self): - """Gets the num_tx_ht_263_2_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_263_2_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_263_2_mbps - - @num_tx_ht_263_2_mbps.setter - def num_tx_ht_263_2_mbps(self, num_tx_ht_263_2_mbps): - """Sets the num_tx_ht_263_2_mbps of this ClientMetrics. - - - :param num_tx_ht_263_2_mbps: The num_tx_ht_263_2_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_263_2_mbps = num_tx_ht_263_2_mbps - - @property - def num_tx_ht_270_mbps(self): - """Gets the num_tx_ht_270_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_270_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_270_mbps - - @num_tx_ht_270_mbps.setter - def num_tx_ht_270_mbps(self, num_tx_ht_270_mbps): - """Sets the num_tx_ht_270_mbps of this ClientMetrics. - - - :param num_tx_ht_270_mbps: The num_tx_ht_270_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_270_mbps = num_tx_ht_270_mbps - - @property - def num_tx_ht_288_7_mbps(self): - """Gets the num_tx_ht_288_7_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_288_7_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_288_7_mbps - - @num_tx_ht_288_7_mbps.setter - def num_tx_ht_288_7_mbps(self, num_tx_ht_288_7_mbps): - """Sets the num_tx_ht_288_7_mbps of this ClientMetrics. - - - :param num_tx_ht_288_7_mbps: The num_tx_ht_288_7_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_288_7_mbps = num_tx_ht_288_7_mbps - - @property - def num_tx_ht_288_8_mbps(self): - """Gets the num_tx_ht_288_8_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_288_8_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_288_8_mbps - - @num_tx_ht_288_8_mbps.setter - def num_tx_ht_288_8_mbps(self, num_tx_ht_288_8_mbps): - """Sets the num_tx_ht_288_8_mbps of this ClientMetrics. - - - :param num_tx_ht_288_8_mbps: The num_tx_ht_288_8_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_288_8_mbps = num_tx_ht_288_8_mbps - - @property - def num_tx_ht_292_5_mbps(self): - """Gets the num_tx_ht_292_5_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_292_5_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_292_5_mbps - - @num_tx_ht_292_5_mbps.setter - def num_tx_ht_292_5_mbps(self, num_tx_ht_292_5_mbps): - """Sets the num_tx_ht_292_5_mbps of this ClientMetrics. - - - :param num_tx_ht_292_5_mbps: The num_tx_ht_292_5_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_292_5_mbps = num_tx_ht_292_5_mbps - - @property - def num_tx_ht_300_mbps(self): - """Gets the num_tx_ht_300_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_300_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_300_mbps - - @num_tx_ht_300_mbps.setter - def num_tx_ht_300_mbps(self, num_tx_ht_300_mbps): - """Sets the num_tx_ht_300_mbps of this ClientMetrics. - - - :param num_tx_ht_300_mbps: The num_tx_ht_300_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_300_mbps = num_tx_ht_300_mbps - - @property - def num_tx_ht_312_mbps(self): - """Gets the num_tx_ht_312_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_312_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_312_mbps - - @num_tx_ht_312_mbps.setter - def num_tx_ht_312_mbps(self, num_tx_ht_312_mbps): - """Sets the num_tx_ht_312_mbps of this ClientMetrics. - - - :param num_tx_ht_312_mbps: The num_tx_ht_312_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_312_mbps = num_tx_ht_312_mbps - - @property - def num_tx_ht_324_mbps(self): - """Gets the num_tx_ht_324_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_324_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_324_mbps - - @num_tx_ht_324_mbps.setter - def num_tx_ht_324_mbps(self, num_tx_ht_324_mbps): - """Sets the num_tx_ht_324_mbps of this ClientMetrics. - - - :param num_tx_ht_324_mbps: The num_tx_ht_324_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_324_mbps = num_tx_ht_324_mbps - - @property - def num_tx_ht_325_mbps(self): - """Gets the num_tx_ht_325_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_325_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_325_mbps - - @num_tx_ht_325_mbps.setter - def num_tx_ht_325_mbps(self, num_tx_ht_325_mbps): - """Sets the num_tx_ht_325_mbps of this ClientMetrics. - - - :param num_tx_ht_325_mbps: The num_tx_ht_325_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_325_mbps = num_tx_ht_325_mbps - - @property - def num_tx_ht_346_7_mbps(self): - """Gets the num_tx_ht_346_7_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_346_7_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_346_7_mbps - - @num_tx_ht_346_7_mbps.setter - def num_tx_ht_346_7_mbps(self, num_tx_ht_346_7_mbps): - """Sets the num_tx_ht_346_7_mbps of this ClientMetrics. - - - :param num_tx_ht_346_7_mbps: The num_tx_ht_346_7_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_346_7_mbps = num_tx_ht_346_7_mbps - - @property - def num_tx_ht_351_mbps(self): - """Gets the num_tx_ht_351_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_351_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_351_mbps - - @num_tx_ht_351_mbps.setter - def num_tx_ht_351_mbps(self, num_tx_ht_351_mbps): - """Sets the num_tx_ht_351_mbps of this ClientMetrics. - - - :param num_tx_ht_351_mbps: The num_tx_ht_351_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_351_mbps = num_tx_ht_351_mbps - - @property - def num_tx_ht_351_2_mbps(self): - """Gets the num_tx_ht_351_2_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_351_2_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_351_2_mbps - - @num_tx_ht_351_2_mbps.setter - def num_tx_ht_351_2_mbps(self, num_tx_ht_351_2_mbps): - """Sets the num_tx_ht_351_2_mbps of this ClientMetrics. - - - :param num_tx_ht_351_2_mbps: The num_tx_ht_351_2_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_351_2_mbps = num_tx_ht_351_2_mbps - - @property - def num_tx_ht_360_mbps(self): - """Gets the num_tx_ht_360_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_ht_360_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_360_mbps - - @num_tx_ht_360_mbps.setter - def num_tx_ht_360_mbps(self, num_tx_ht_360_mbps): - """Sets the num_tx_ht_360_mbps of this ClientMetrics. - - - :param num_tx_ht_360_mbps: The num_tx_ht_360_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_360_mbps = num_tx_ht_360_mbps - - @property - def num_rx_ht_6_5_mbps(self): - """Gets the num_rx_ht_6_5_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_6_5_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_6_5_mbps - - @num_rx_ht_6_5_mbps.setter - def num_rx_ht_6_5_mbps(self, num_rx_ht_6_5_mbps): - """Sets the num_rx_ht_6_5_mbps of this ClientMetrics. - - - :param num_rx_ht_6_5_mbps: The num_rx_ht_6_5_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_6_5_mbps = num_rx_ht_6_5_mbps - - @property - def num_rx_ht_7_1_mbps(self): - """Gets the num_rx_ht_7_1_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_7_1_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_7_1_mbps - - @num_rx_ht_7_1_mbps.setter - def num_rx_ht_7_1_mbps(self, num_rx_ht_7_1_mbps): - """Sets the num_rx_ht_7_1_mbps of this ClientMetrics. - - - :param num_rx_ht_7_1_mbps: The num_rx_ht_7_1_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_7_1_mbps = num_rx_ht_7_1_mbps - - @property - def num_rx_ht_13_mbps(self): - """Gets the num_rx_ht_13_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_13_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_13_mbps - - @num_rx_ht_13_mbps.setter - def num_rx_ht_13_mbps(self, num_rx_ht_13_mbps): - """Sets the num_rx_ht_13_mbps of this ClientMetrics. - - - :param num_rx_ht_13_mbps: The num_rx_ht_13_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_13_mbps = num_rx_ht_13_mbps - - @property - def num_rx_ht_13_5_mbps(self): - """Gets the num_rx_ht_13_5_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_13_5_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_13_5_mbps - - @num_rx_ht_13_5_mbps.setter - def num_rx_ht_13_5_mbps(self, num_rx_ht_13_5_mbps): - """Sets the num_rx_ht_13_5_mbps of this ClientMetrics. - - - :param num_rx_ht_13_5_mbps: The num_rx_ht_13_5_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_13_5_mbps = num_rx_ht_13_5_mbps - - @property - def num_rx_ht_14_3_mbps(self): - """Gets the num_rx_ht_14_3_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_14_3_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_14_3_mbps - - @num_rx_ht_14_3_mbps.setter - def num_rx_ht_14_3_mbps(self, num_rx_ht_14_3_mbps): - """Sets the num_rx_ht_14_3_mbps of this ClientMetrics. - - - :param num_rx_ht_14_3_mbps: The num_rx_ht_14_3_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_14_3_mbps = num_rx_ht_14_3_mbps - - @property - def num_rx_ht_15_mbps(self): - """Gets the num_rx_ht_15_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_15_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_15_mbps - - @num_rx_ht_15_mbps.setter - def num_rx_ht_15_mbps(self, num_rx_ht_15_mbps): - """Sets the num_rx_ht_15_mbps of this ClientMetrics. - - - :param num_rx_ht_15_mbps: The num_rx_ht_15_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_15_mbps = num_rx_ht_15_mbps - - @property - def num_rx_ht_19_5_mbps(self): - """Gets the num_rx_ht_19_5_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_19_5_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_19_5_mbps - - @num_rx_ht_19_5_mbps.setter - def num_rx_ht_19_5_mbps(self, num_rx_ht_19_5_mbps): - """Sets the num_rx_ht_19_5_mbps of this ClientMetrics. - - - :param num_rx_ht_19_5_mbps: The num_rx_ht_19_5_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_19_5_mbps = num_rx_ht_19_5_mbps - - @property - def num_rx_ht_21_7_mbps(self): - """Gets the num_rx_ht_21_7_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_21_7_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_21_7_mbps - - @num_rx_ht_21_7_mbps.setter - def num_rx_ht_21_7_mbps(self, num_rx_ht_21_7_mbps): - """Sets the num_rx_ht_21_7_mbps of this ClientMetrics. - - - :param num_rx_ht_21_7_mbps: The num_rx_ht_21_7_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_21_7_mbps = num_rx_ht_21_7_mbps - - @property - def num_rx_ht_26_mbps(self): - """Gets the num_rx_ht_26_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_26_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_26_mbps - - @num_rx_ht_26_mbps.setter - def num_rx_ht_26_mbps(self, num_rx_ht_26_mbps): - """Sets the num_rx_ht_26_mbps of this ClientMetrics. - - - :param num_rx_ht_26_mbps: The num_rx_ht_26_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_26_mbps = num_rx_ht_26_mbps - - @property - def num_rx_ht_27_mbps(self): - """Gets the num_rx_ht_27_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_27_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_27_mbps - - @num_rx_ht_27_mbps.setter - def num_rx_ht_27_mbps(self, num_rx_ht_27_mbps): - """Sets the num_rx_ht_27_mbps of this ClientMetrics. - - - :param num_rx_ht_27_mbps: The num_rx_ht_27_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_27_mbps = num_rx_ht_27_mbps - - @property - def num_rx_ht_28_7_mbps(self): - """Gets the num_rx_ht_28_7_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_28_7_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_28_7_mbps - - @num_rx_ht_28_7_mbps.setter - def num_rx_ht_28_7_mbps(self, num_rx_ht_28_7_mbps): - """Sets the num_rx_ht_28_7_mbps of this ClientMetrics. - - - :param num_rx_ht_28_7_mbps: The num_rx_ht_28_7_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_28_7_mbps = num_rx_ht_28_7_mbps - - @property - def num_rx_ht_28_8_mbps(self): - """Gets the num_rx_ht_28_8_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_28_8_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_28_8_mbps - - @num_rx_ht_28_8_mbps.setter - def num_rx_ht_28_8_mbps(self, num_rx_ht_28_8_mbps): - """Sets the num_rx_ht_28_8_mbps of this ClientMetrics. - - - :param num_rx_ht_28_8_mbps: The num_rx_ht_28_8_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_28_8_mbps = num_rx_ht_28_8_mbps - - @property - def num_rx_ht_29_2_mbps(self): - """Gets the num_rx_ht_29_2_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_29_2_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_29_2_mbps - - @num_rx_ht_29_2_mbps.setter - def num_rx_ht_29_2_mbps(self, num_rx_ht_29_2_mbps): - """Sets the num_rx_ht_29_2_mbps of this ClientMetrics. - - - :param num_rx_ht_29_2_mbps: The num_rx_ht_29_2_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_29_2_mbps = num_rx_ht_29_2_mbps - - @property - def num_rx_ht_30_mbps(self): - """Gets the num_rx_ht_30_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_30_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_30_mbps - - @num_rx_ht_30_mbps.setter - def num_rx_ht_30_mbps(self, num_rx_ht_30_mbps): - """Sets the num_rx_ht_30_mbps of this ClientMetrics. - - - :param num_rx_ht_30_mbps: The num_rx_ht_30_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_30_mbps = num_rx_ht_30_mbps - - @property - def num_rx_ht_32_5_mbps(self): - """Gets the num_rx_ht_32_5_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_32_5_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_32_5_mbps - - @num_rx_ht_32_5_mbps.setter - def num_rx_ht_32_5_mbps(self, num_rx_ht_32_5_mbps): - """Sets the num_rx_ht_32_5_mbps of this ClientMetrics. - - - :param num_rx_ht_32_5_mbps: The num_rx_ht_32_5_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_32_5_mbps = num_rx_ht_32_5_mbps - - @property - def num_rx_ht_39_mbps(self): - """Gets the num_rx_ht_39_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_39_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_39_mbps - - @num_rx_ht_39_mbps.setter - def num_rx_ht_39_mbps(self, num_rx_ht_39_mbps): - """Sets the num_rx_ht_39_mbps of this ClientMetrics. - - - :param num_rx_ht_39_mbps: The num_rx_ht_39_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_39_mbps = num_rx_ht_39_mbps - - @property - def num_rx_ht_40_5_mbps(self): - """Gets the num_rx_ht_40_5_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_40_5_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_40_5_mbps - - @num_rx_ht_40_5_mbps.setter - def num_rx_ht_40_5_mbps(self, num_rx_ht_40_5_mbps): - """Sets the num_rx_ht_40_5_mbps of this ClientMetrics. - - - :param num_rx_ht_40_5_mbps: The num_rx_ht_40_5_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_40_5_mbps = num_rx_ht_40_5_mbps - - @property - def num_rx_ht_43_2_mbps(self): - """Gets the num_rx_ht_43_2_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_43_2_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_43_2_mbps - - @num_rx_ht_43_2_mbps.setter - def num_rx_ht_43_2_mbps(self, num_rx_ht_43_2_mbps): - """Sets the num_rx_ht_43_2_mbps of this ClientMetrics. - - - :param num_rx_ht_43_2_mbps: The num_rx_ht_43_2_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_43_2_mbps = num_rx_ht_43_2_mbps - - @property - def num_rx_ht_45_mbps(self): - """Gets the num_rx_ht_45_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_45_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_45_mbps - - @num_rx_ht_45_mbps.setter - def num_rx_ht_45_mbps(self, num_rx_ht_45_mbps): - """Sets the num_rx_ht_45_mbps of this ClientMetrics. - - - :param num_rx_ht_45_mbps: The num_rx_ht_45_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_45_mbps = num_rx_ht_45_mbps - - @property - def num_rx_ht_52_mbps(self): - """Gets the num_rx_ht_52_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_52_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_52_mbps - - @num_rx_ht_52_mbps.setter - def num_rx_ht_52_mbps(self, num_rx_ht_52_mbps): - """Sets the num_rx_ht_52_mbps of this ClientMetrics. - - - :param num_rx_ht_52_mbps: The num_rx_ht_52_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_52_mbps = num_rx_ht_52_mbps - - @property - def num_rx_ht_54_mbps(self): - """Gets the num_rx_ht_54_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_54_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_54_mbps - - @num_rx_ht_54_mbps.setter - def num_rx_ht_54_mbps(self, num_rx_ht_54_mbps): - """Sets the num_rx_ht_54_mbps of this ClientMetrics. - - - :param num_rx_ht_54_mbps: The num_rx_ht_54_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_54_mbps = num_rx_ht_54_mbps - - @property - def num_rx_ht_57_5_mbps(self): - """Gets the num_rx_ht_57_5_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_57_5_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_57_5_mbps - - @num_rx_ht_57_5_mbps.setter - def num_rx_ht_57_5_mbps(self, num_rx_ht_57_5_mbps): - """Sets the num_rx_ht_57_5_mbps of this ClientMetrics. - - - :param num_rx_ht_57_5_mbps: The num_rx_ht_57_5_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_57_5_mbps = num_rx_ht_57_5_mbps - - @property - def num_rx_ht_57_7_mbps(self): - """Gets the num_rx_ht_57_7_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_57_7_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_57_7_mbps - - @num_rx_ht_57_7_mbps.setter - def num_rx_ht_57_7_mbps(self, num_rx_ht_57_7_mbps): - """Sets the num_rx_ht_57_7_mbps of this ClientMetrics. - - - :param num_rx_ht_57_7_mbps: The num_rx_ht_57_7_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_57_7_mbps = num_rx_ht_57_7_mbps - - @property - def num_rx_ht_58_5_mbps(self): - """Gets the num_rx_ht_58_5_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_58_5_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_58_5_mbps - - @num_rx_ht_58_5_mbps.setter - def num_rx_ht_58_5_mbps(self, num_rx_ht_58_5_mbps): - """Sets the num_rx_ht_58_5_mbps of this ClientMetrics. - - - :param num_rx_ht_58_5_mbps: The num_rx_ht_58_5_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_58_5_mbps = num_rx_ht_58_5_mbps - - @property - def num_rx_ht_60_mbps(self): - """Gets the num_rx_ht_60_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_60_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_60_mbps - - @num_rx_ht_60_mbps.setter - def num_rx_ht_60_mbps(self, num_rx_ht_60_mbps): - """Sets the num_rx_ht_60_mbps of this ClientMetrics. - - - :param num_rx_ht_60_mbps: The num_rx_ht_60_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_60_mbps = num_rx_ht_60_mbps - - @property - def num_rx_ht_65_mbps(self): - """Gets the num_rx_ht_65_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_65_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_65_mbps - - @num_rx_ht_65_mbps.setter - def num_rx_ht_65_mbps(self, num_rx_ht_65_mbps): - """Sets the num_rx_ht_65_mbps of this ClientMetrics. - - - :param num_rx_ht_65_mbps: The num_rx_ht_65_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_65_mbps = num_rx_ht_65_mbps - - @property - def num_rx_ht_72_1_mbps(self): - """Gets the num_rx_ht_72_1_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_72_1_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_72_1_mbps - - @num_rx_ht_72_1_mbps.setter - def num_rx_ht_72_1_mbps(self, num_rx_ht_72_1_mbps): - """Sets the num_rx_ht_72_1_mbps of this ClientMetrics. - - - :param num_rx_ht_72_1_mbps: The num_rx_ht_72_1_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_72_1_mbps = num_rx_ht_72_1_mbps - - @property - def num_rx_ht_78_mbps(self): - """Gets the num_rx_ht_78_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_78_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_78_mbps - - @num_rx_ht_78_mbps.setter - def num_rx_ht_78_mbps(self, num_rx_ht_78_mbps): - """Sets the num_rx_ht_78_mbps of this ClientMetrics. - - - :param num_rx_ht_78_mbps: The num_rx_ht_78_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_78_mbps = num_rx_ht_78_mbps - - @property - def num_rx_ht_81_mbps(self): - """Gets the num_rx_ht_81_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_81_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_81_mbps - - @num_rx_ht_81_mbps.setter - def num_rx_ht_81_mbps(self, num_rx_ht_81_mbps): - """Sets the num_rx_ht_81_mbps of this ClientMetrics. - - - :param num_rx_ht_81_mbps: The num_rx_ht_81_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_81_mbps = num_rx_ht_81_mbps - - @property - def num_rx_ht_86_6_mbps(self): - """Gets the num_rx_ht_86_6_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_86_6_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_86_6_mbps - - @num_rx_ht_86_6_mbps.setter - def num_rx_ht_86_6_mbps(self, num_rx_ht_86_6_mbps): - """Sets the num_rx_ht_86_6_mbps of this ClientMetrics. - - - :param num_rx_ht_86_6_mbps: The num_rx_ht_86_6_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_86_6_mbps = num_rx_ht_86_6_mbps - - @property - def num_rx_ht_86_8_mbps(self): - """Gets the num_rx_ht_86_8_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_86_8_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_86_8_mbps - - @num_rx_ht_86_8_mbps.setter - def num_rx_ht_86_8_mbps(self, num_rx_ht_86_8_mbps): - """Sets the num_rx_ht_86_8_mbps of this ClientMetrics. - - - :param num_rx_ht_86_8_mbps: The num_rx_ht_86_8_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_86_8_mbps = num_rx_ht_86_8_mbps - - @property - def num_rx_ht_87_8_mbps(self): - """Gets the num_rx_ht_87_8_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_87_8_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_87_8_mbps - - @num_rx_ht_87_8_mbps.setter - def num_rx_ht_87_8_mbps(self, num_rx_ht_87_8_mbps): - """Sets the num_rx_ht_87_8_mbps of this ClientMetrics. - - - :param num_rx_ht_87_8_mbps: The num_rx_ht_87_8_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_87_8_mbps = num_rx_ht_87_8_mbps - - @property - def num_rx_ht_90_mbps(self): - """Gets the num_rx_ht_90_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_90_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_90_mbps - - @num_rx_ht_90_mbps.setter - def num_rx_ht_90_mbps(self, num_rx_ht_90_mbps): - """Sets the num_rx_ht_90_mbps of this ClientMetrics. - - - :param num_rx_ht_90_mbps: The num_rx_ht_90_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_90_mbps = num_rx_ht_90_mbps - - @property - def num_rx_ht_97_5_mbps(self): - """Gets the num_rx_ht_97_5_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_97_5_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_97_5_mbps - - @num_rx_ht_97_5_mbps.setter - def num_rx_ht_97_5_mbps(self, num_rx_ht_97_5_mbps): - """Sets the num_rx_ht_97_5_mbps of this ClientMetrics. - - - :param num_rx_ht_97_5_mbps: The num_rx_ht_97_5_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_97_5_mbps = num_rx_ht_97_5_mbps - - @property - def num_rx_ht_104_mbps(self): - """Gets the num_rx_ht_104_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_104_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_104_mbps - - @num_rx_ht_104_mbps.setter - def num_rx_ht_104_mbps(self, num_rx_ht_104_mbps): - """Sets the num_rx_ht_104_mbps of this ClientMetrics. - - - :param num_rx_ht_104_mbps: The num_rx_ht_104_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_104_mbps = num_rx_ht_104_mbps - - @property - def num_rx_ht_108_mbps(self): - """Gets the num_rx_ht_108_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_108_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_108_mbps - - @num_rx_ht_108_mbps.setter - def num_rx_ht_108_mbps(self, num_rx_ht_108_mbps): - """Sets the num_rx_ht_108_mbps of this ClientMetrics. - - - :param num_rx_ht_108_mbps: The num_rx_ht_108_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_108_mbps = num_rx_ht_108_mbps - - @property - def num_rx_ht_115_5_mbps(self): - """Gets the num_rx_ht_115_5_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_115_5_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_115_5_mbps - - @num_rx_ht_115_5_mbps.setter - def num_rx_ht_115_5_mbps(self, num_rx_ht_115_5_mbps): - """Sets the num_rx_ht_115_5_mbps of this ClientMetrics. - - - :param num_rx_ht_115_5_mbps: The num_rx_ht_115_5_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_115_5_mbps = num_rx_ht_115_5_mbps - - @property - def num_rx_ht_117_mbps(self): - """Gets the num_rx_ht_117_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_117_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_117_mbps - - @num_rx_ht_117_mbps.setter - def num_rx_ht_117_mbps(self, num_rx_ht_117_mbps): - """Sets the num_rx_ht_117_mbps of this ClientMetrics. - - - :param num_rx_ht_117_mbps: The num_rx_ht_117_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_117_mbps = num_rx_ht_117_mbps - - @property - def num_rx_ht_117_1_mbps(self): - """Gets the num_rx_ht_117_1_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_117_1_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_117_1_mbps - - @num_rx_ht_117_1_mbps.setter - def num_rx_ht_117_1_mbps(self, num_rx_ht_117_1_mbps): - """Sets the num_rx_ht_117_1_mbps of this ClientMetrics. - - - :param num_rx_ht_117_1_mbps: The num_rx_ht_117_1_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_117_1_mbps = num_rx_ht_117_1_mbps - - @property - def num_rx_ht_120_mbps(self): - """Gets the num_rx_ht_120_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_120_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_120_mbps - - @num_rx_ht_120_mbps.setter - def num_rx_ht_120_mbps(self, num_rx_ht_120_mbps): - """Sets the num_rx_ht_120_mbps of this ClientMetrics. - - - :param num_rx_ht_120_mbps: The num_rx_ht_120_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_120_mbps = num_rx_ht_120_mbps - - @property - def num_rx_ht_121_5_mbps(self): - """Gets the num_rx_ht_121_5_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_121_5_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_121_5_mbps - - @num_rx_ht_121_5_mbps.setter - def num_rx_ht_121_5_mbps(self, num_rx_ht_121_5_mbps): - """Sets the num_rx_ht_121_5_mbps of this ClientMetrics. - - - :param num_rx_ht_121_5_mbps: The num_rx_ht_121_5_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_121_5_mbps = num_rx_ht_121_5_mbps - - @property - def num_rx_ht_130_mbps(self): - """Gets the num_rx_ht_130_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_130_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_130_mbps - - @num_rx_ht_130_mbps.setter - def num_rx_ht_130_mbps(self, num_rx_ht_130_mbps): - """Sets the num_rx_ht_130_mbps of this ClientMetrics. - - - :param num_rx_ht_130_mbps: The num_rx_ht_130_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_130_mbps = num_rx_ht_130_mbps - - @property - def num_rx_ht_130_3_mbps(self): - """Gets the num_rx_ht_130_3_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_130_3_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_130_3_mbps - - @num_rx_ht_130_3_mbps.setter - def num_rx_ht_130_3_mbps(self, num_rx_ht_130_3_mbps): - """Sets the num_rx_ht_130_3_mbps of this ClientMetrics. - - - :param num_rx_ht_130_3_mbps: The num_rx_ht_130_3_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_130_3_mbps = num_rx_ht_130_3_mbps - - @property - def num_rx_ht_135_mbps(self): - """Gets the num_rx_ht_135_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_135_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_135_mbps - - @num_rx_ht_135_mbps.setter - def num_rx_ht_135_mbps(self, num_rx_ht_135_mbps): - """Sets the num_rx_ht_135_mbps of this ClientMetrics. - - - :param num_rx_ht_135_mbps: The num_rx_ht_135_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_135_mbps = num_rx_ht_135_mbps - - @property - def num_rx_ht_144_3_mbps(self): - """Gets the num_rx_ht_144_3_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_144_3_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_144_3_mbps - - @num_rx_ht_144_3_mbps.setter - def num_rx_ht_144_3_mbps(self, num_rx_ht_144_3_mbps): - """Sets the num_rx_ht_144_3_mbps of this ClientMetrics. - - - :param num_rx_ht_144_3_mbps: The num_rx_ht_144_3_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_144_3_mbps = num_rx_ht_144_3_mbps - - @property - def num_rx_ht_150_mbps(self): - """Gets the num_rx_ht_150_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_150_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_150_mbps - - @num_rx_ht_150_mbps.setter - def num_rx_ht_150_mbps(self, num_rx_ht_150_mbps): - """Sets the num_rx_ht_150_mbps of this ClientMetrics. - - - :param num_rx_ht_150_mbps: The num_rx_ht_150_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_150_mbps = num_rx_ht_150_mbps - - @property - def num_rx_ht_156_mbps(self): - """Gets the num_rx_ht_156_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_156_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_156_mbps - - @num_rx_ht_156_mbps.setter - def num_rx_ht_156_mbps(self, num_rx_ht_156_mbps): - """Sets the num_rx_ht_156_mbps of this ClientMetrics. - - - :param num_rx_ht_156_mbps: The num_rx_ht_156_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_156_mbps = num_rx_ht_156_mbps - - @property - def num_rx_ht_162_mbps(self): - """Gets the num_rx_ht_162_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_162_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_162_mbps - - @num_rx_ht_162_mbps.setter - def num_rx_ht_162_mbps(self, num_rx_ht_162_mbps): - """Sets the num_rx_ht_162_mbps of this ClientMetrics. - - - :param num_rx_ht_162_mbps: The num_rx_ht_162_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_162_mbps = num_rx_ht_162_mbps - - @property - def num_rx_ht_173_1_mbps(self): - """Gets the num_rx_ht_173_1_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_173_1_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_173_1_mbps - - @num_rx_ht_173_1_mbps.setter - def num_rx_ht_173_1_mbps(self, num_rx_ht_173_1_mbps): - """Sets the num_rx_ht_173_1_mbps of this ClientMetrics. - - - :param num_rx_ht_173_1_mbps: The num_rx_ht_173_1_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_173_1_mbps = num_rx_ht_173_1_mbps - - @property - def num_rx_ht_173_3_mbps(self): - """Gets the num_rx_ht_173_3_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_173_3_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_173_3_mbps - - @num_rx_ht_173_3_mbps.setter - def num_rx_ht_173_3_mbps(self, num_rx_ht_173_3_mbps): - """Sets the num_rx_ht_173_3_mbps of this ClientMetrics. - - - :param num_rx_ht_173_3_mbps: The num_rx_ht_173_3_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_173_3_mbps = num_rx_ht_173_3_mbps - - @property - def num_rx_ht_175_5_mbps(self): - """Gets the num_rx_ht_175_5_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_175_5_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_175_5_mbps - - @num_rx_ht_175_5_mbps.setter - def num_rx_ht_175_5_mbps(self, num_rx_ht_175_5_mbps): - """Sets the num_rx_ht_175_5_mbps of this ClientMetrics. - - - :param num_rx_ht_175_5_mbps: The num_rx_ht_175_5_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_175_5_mbps = num_rx_ht_175_5_mbps - - @property - def num_rx_ht_180_mbps(self): - """Gets the num_rx_ht_180_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_180_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_180_mbps - - @num_rx_ht_180_mbps.setter - def num_rx_ht_180_mbps(self, num_rx_ht_180_mbps): - """Sets the num_rx_ht_180_mbps of this ClientMetrics. - - - :param num_rx_ht_180_mbps: The num_rx_ht_180_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_180_mbps = num_rx_ht_180_mbps - - @property - def num_rx_ht_195_mbps(self): - """Gets the num_rx_ht_195_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_195_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_195_mbps - - @num_rx_ht_195_mbps.setter - def num_rx_ht_195_mbps(self, num_rx_ht_195_mbps): - """Sets the num_rx_ht_195_mbps of this ClientMetrics. - - - :param num_rx_ht_195_mbps: The num_rx_ht_195_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_195_mbps = num_rx_ht_195_mbps - - @property - def num_rx_ht_200_mbps(self): - """Gets the num_rx_ht_200_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_200_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_200_mbps - - @num_rx_ht_200_mbps.setter - def num_rx_ht_200_mbps(self, num_rx_ht_200_mbps): - """Sets the num_rx_ht_200_mbps of this ClientMetrics. - - - :param num_rx_ht_200_mbps: The num_rx_ht_200_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_200_mbps = num_rx_ht_200_mbps - - @property - def num_rx_ht_208_mbps(self): - """Gets the num_rx_ht_208_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_208_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_208_mbps - - @num_rx_ht_208_mbps.setter - def num_rx_ht_208_mbps(self, num_rx_ht_208_mbps): - """Sets the num_rx_ht_208_mbps of this ClientMetrics. - - - :param num_rx_ht_208_mbps: The num_rx_ht_208_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_208_mbps = num_rx_ht_208_mbps - - @property - def num_rx_ht_216_mbps(self): - """Gets the num_rx_ht_216_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_216_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_216_mbps - - @num_rx_ht_216_mbps.setter - def num_rx_ht_216_mbps(self, num_rx_ht_216_mbps): - """Sets the num_rx_ht_216_mbps of this ClientMetrics. - - - :param num_rx_ht_216_mbps: The num_rx_ht_216_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_216_mbps = num_rx_ht_216_mbps - - @property - def num_rx_ht_216_6_mbps(self): - """Gets the num_rx_ht_216_6_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_216_6_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_216_6_mbps - - @num_rx_ht_216_6_mbps.setter - def num_rx_ht_216_6_mbps(self, num_rx_ht_216_6_mbps): - """Sets the num_rx_ht_216_6_mbps of this ClientMetrics. - - - :param num_rx_ht_216_6_mbps: The num_rx_ht_216_6_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_216_6_mbps = num_rx_ht_216_6_mbps - - @property - def num_rx_ht_231_1_mbps(self): - """Gets the num_rx_ht_231_1_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_231_1_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_231_1_mbps - - @num_rx_ht_231_1_mbps.setter - def num_rx_ht_231_1_mbps(self, num_rx_ht_231_1_mbps): - """Sets the num_rx_ht_231_1_mbps of this ClientMetrics. - - - :param num_rx_ht_231_1_mbps: The num_rx_ht_231_1_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_231_1_mbps = num_rx_ht_231_1_mbps - - @property - def num_rx_ht_234_mbps(self): - """Gets the num_rx_ht_234_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_234_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_234_mbps - - @num_rx_ht_234_mbps.setter - def num_rx_ht_234_mbps(self, num_rx_ht_234_mbps): - """Sets the num_rx_ht_234_mbps of this ClientMetrics. - - - :param num_rx_ht_234_mbps: The num_rx_ht_234_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_234_mbps = num_rx_ht_234_mbps - - @property - def num_rx_ht_240_mbps(self): - """Gets the num_rx_ht_240_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_240_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_240_mbps - - @num_rx_ht_240_mbps.setter - def num_rx_ht_240_mbps(self, num_rx_ht_240_mbps): - """Sets the num_rx_ht_240_mbps of this ClientMetrics. - - - :param num_rx_ht_240_mbps: The num_rx_ht_240_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_240_mbps = num_rx_ht_240_mbps - - @property - def num_rx_ht_243_mbps(self): - """Gets the num_rx_ht_243_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_243_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_243_mbps - - @num_rx_ht_243_mbps.setter - def num_rx_ht_243_mbps(self, num_rx_ht_243_mbps): - """Sets the num_rx_ht_243_mbps of this ClientMetrics. - - - :param num_rx_ht_243_mbps: The num_rx_ht_243_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_243_mbps = num_rx_ht_243_mbps - - @property - def num_rx_ht_260_mbps(self): - """Gets the num_rx_ht_260_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_260_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_260_mbps - - @num_rx_ht_260_mbps.setter - def num_rx_ht_260_mbps(self, num_rx_ht_260_mbps): - """Sets the num_rx_ht_260_mbps of this ClientMetrics. - - - :param num_rx_ht_260_mbps: The num_rx_ht_260_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_260_mbps = num_rx_ht_260_mbps - - @property - def num_rx_ht_263_2_mbps(self): - """Gets the num_rx_ht_263_2_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_263_2_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_263_2_mbps - - @num_rx_ht_263_2_mbps.setter - def num_rx_ht_263_2_mbps(self, num_rx_ht_263_2_mbps): - """Sets the num_rx_ht_263_2_mbps of this ClientMetrics. - - - :param num_rx_ht_263_2_mbps: The num_rx_ht_263_2_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_263_2_mbps = num_rx_ht_263_2_mbps - - @property - def num_rx_ht_270_mbps(self): - """Gets the num_rx_ht_270_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_270_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_270_mbps - - @num_rx_ht_270_mbps.setter - def num_rx_ht_270_mbps(self, num_rx_ht_270_mbps): - """Sets the num_rx_ht_270_mbps of this ClientMetrics. - - - :param num_rx_ht_270_mbps: The num_rx_ht_270_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_270_mbps = num_rx_ht_270_mbps - - @property - def num_rx_ht_288_7_mbps(self): - """Gets the num_rx_ht_288_7_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_288_7_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_288_7_mbps - - @num_rx_ht_288_7_mbps.setter - def num_rx_ht_288_7_mbps(self, num_rx_ht_288_7_mbps): - """Sets the num_rx_ht_288_7_mbps of this ClientMetrics. - - - :param num_rx_ht_288_7_mbps: The num_rx_ht_288_7_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_288_7_mbps = num_rx_ht_288_7_mbps - - @property - def num_rx_ht_288_8_mbps(self): - """Gets the num_rx_ht_288_8_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_288_8_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_288_8_mbps - - @num_rx_ht_288_8_mbps.setter - def num_rx_ht_288_8_mbps(self, num_rx_ht_288_8_mbps): - """Sets the num_rx_ht_288_8_mbps of this ClientMetrics. - - - :param num_rx_ht_288_8_mbps: The num_rx_ht_288_8_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_288_8_mbps = num_rx_ht_288_8_mbps - - @property - def num_rx_ht_292_5_mbps(self): - """Gets the num_rx_ht_292_5_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_292_5_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_292_5_mbps - - @num_rx_ht_292_5_mbps.setter - def num_rx_ht_292_5_mbps(self, num_rx_ht_292_5_mbps): - """Sets the num_rx_ht_292_5_mbps of this ClientMetrics. - - - :param num_rx_ht_292_5_mbps: The num_rx_ht_292_5_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_292_5_mbps = num_rx_ht_292_5_mbps - - @property - def num_rx_ht_300_mbps(self): - """Gets the num_rx_ht_300_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_300_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_300_mbps - - @num_rx_ht_300_mbps.setter - def num_rx_ht_300_mbps(self, num_rx_ht_300_mbps): - """Sets the num_rx_ht_300_mbps of this ClientMetrics. - - - :param num_rx_ht_300_mbps: The num_rx_ht_300_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_300_mbps = num_rx_ht_300_mbps - - @property - def num_rx_ht_312_mbps(self): - """Gets the num_rx_ht_312_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_312_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_312_mbps - - @num_rx_ht_312_mbps.setter - def num_rx_ht_312_mbps(self, num_rx_ht_312_mbps): - """Sets the num_rx_ht_312_mbps of this ClientMetrics. - - - :param num_rx_ht_312_mbps: The num_rx_ht_312_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_312_mbps = num_rx_ht_312_mbps - - @property - def num_rx_ht_324_mbps(self): - """Gets the num_rx_ht_324_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_324_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_324_mbps - - @num_rx_ht_324_mbps.setter - def num_rx_ht_324_mbps(self, num_rx_ht_324_mbps): - """Sets the num_rx_ht_324_mbps of this ClientMetrics. - - - :param num_rx_ht_324_mbps: The num_rx_ht_324_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_324_mbps = num_rx_ht_324_mbps - - @property - def num_rx_ht_325_mbps(self): - """Gets the num_rx_ht_325_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_325_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_325_mbps - - @num_rx_ht_325_mbps.setter - def num_rx_ht_325_mbps(self, num_rx_ht_325_mbps): - """Sets the num_rx_ht_325_mbps of this ClientMetrics. - - - :param num_rx_ht_325_mbps: The num_rx_ht_325_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_325_mbps = num_rx_ht_325_mbps - - @property - def num_rx_ht_346_7_mbps(self): - """Gets the num_rx_ht_346_7_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_346_7_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_346_7_mbps - - @num_rx_ht_346_7_mbps.setter - def num_rx_ht_346_7_mbps(self, num_rx_ht_346_7_mbps): - """Sets the num_rx_ht_346_7_mbps of this ClientMetrics. - - - :param num_rx_ht_346_7_mbps: The num_rx_ht_346_7_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_346_7_mbps = num_rx_ht_346_7_mbps - - @property - def num_rx_ht_351_mbps(self): - """Gets the num_rx_ht_351_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_351_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_351_mbps - - @num_rx_ht_351_mbps.setter - def num_rx_ht_351_mbps(self, num_rx_ht_351_mbps): - """Sets the num_rx_ht_351_mbps of this ClientMetrics. - - - :param num_rx_ht_351_mbps: The num_rx_ht_351_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_351_mbps = num_rx_ht_351_mbps - - @property - def num_rx_ht_351_2_mbps(self): - """Gets the num_rx_ht_351_2_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_351_2_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_351_2_mbps - - @num_rx_ht_351_2_mbps.setter - def num_rx_ht_351_2_mbps(self, num_rx_ht_351_2_mbps): - """Sets the num_rx_ht_351_2_mbps of this ClientMetrics. - - - :param num_rx_ht_351_2_mbps: The num_rx_ht_351_2_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_351_2_mbps = num_rx_ht_351_2_mbps - - @property - def num_rx_ht_360_mbps(self): - """Gets the num_rx_ht_360_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_ht_360_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_360_mbps - - @num_rx_ht_360_mbps.setter - def num_rx_ht_360_mbps(self, num_rx_ht_360_mbps): - """Sets the num_rx_ht_360_mbps of this ClientMetrics. - - - :param num_rx_ht_360_mbps: The num_rx_ht_360_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_360_mbps = num_rx_ht_360_mbps - - @property - def num_tx_vht_292_5_mbps(self): - """Gets the num_tx_vht_292_5_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_vht_292_5_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_292_5_mbps - - @num_tx_vht_292_5_mbps.setter - def num_tx_vht_292_5_mbps(self, num_tx_vht_292_5_mbps): - """Sets the num_tx_vht_292_5_mbps of this ClientMetrics. - - - :param num_tx_vht_292_5_mbps: The num_tx_vht_292_5_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_292_5_mbps = num_tx_vht_292_5_mbps - - @property - def num_tx_vht_325_mbps(self): - """Gets the num_tx_vht_325_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_vht_325_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_325_mbps - - @num_tx_vht_325_mbps.setter - def num_tx_vht_325_mbps(self, num_tx_vht_325_mbps): - """Sets the num_tx_vht_325_mbps of this ClientMetrics. - - - :param num_tx_vht_325_mbps: The num_tx_vht_325_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_325_mbps = num_tx_vht_325_mbps - - @property - def num_tx_vht_364_5_mbps(self): - """Gets the num_tx_vht_364_5_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_vht_364_5_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_364_5_mbps - - @num_tx_vht_364_5_mbps.setter - def num_tx_vht_364_5_mbps(self, num_tx_vht_364_5_mbps): - """Sets the num_tx_vht_364_5_mbps of this ClientMetrics. - - - :param num_tx_vht_364_5_mbps: The num_tx_vht_364_5_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_364_5_mbps = num_tx_vht_364_5_mbps - - @property - def num_tx_vht_390_mbps(self): - """Gets the num_tx_vht_390_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_vht_390_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_390_mbps - - @num_tx_vht_390_mbps.setter - def num_tx_vht_390_mbps(self, num_tx_vht_390_mbps): - """Sets the num_tx_vht_390_mbps of this ClientMetrics. - - - :param num_tx_vht_390_mbps: The num_tx_vht_390_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_390_mbps = num_tx_vht_390_mbps - - @property - def num_tx_vht_400_mbps(self): - """Gets the num_tx_vht_400_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_vht_400_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_400_mbps - - @num_tx_vht_400_mbps.setter - def num_tx_vht_400_mbps(self, num_tx_vht_400_mbps): - """Sets the num_tx_vht_400_mbps of this ClientMetrics. - - - :param num_tx_vht_400_mbps: The num_tx_vht_400_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_400_mbps = num_tx_vht_400_mbps - - @property - def num_tx_vht_403_mbps(self): - """Gets the num_tx_vht_403_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_vht_403_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_403_mbps - - @num_tx_vht_403_mbps.setter - def num_tx_vht_403_mbps(self, num_tx_vht_403_mbps): - """Sets the num_tx_vht_403_mbps of this ClientMetrics. - - - :param num_tx_vht_403_mbps: The num_tx_vht_403_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_403_mbps = num_tx_vht_403_mbps - - @property - def num_tx_vht_405_mbps(self): - """Gets the num_tx_vht_405_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_vht_405_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_405_mbps - - @num_tx_vht_405_mbps.setter - def num_tx_vht_405_mbps(self, num_tx_vht_405_mbps): - """Sets the num_tx_vht_405_mbps of this ClientMetrics. - - - :param num_tx_vht_405_mbps: The num_tx_vht_405_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_405_mbps = num_tx_vht_405_mbps - - @property - def num_tx_vht_432_mbps(self): - """Gets the num_tx_vht_432_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_vht_432_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_432_mbps - - @num_tx_vht_432_mbps.setter - def num_tx_vht_432_mbps(self, num_tx_vht_432_mbps): - """Sets the num_tx_vht_432_mbps of this ClientMetrics. - - - :param num_tx_vht_432_mbps: The num_tx_vht_432_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_432_mbps = num_tx_vht_432_mbps - - @property - def num_tx_vht_433_2_mbps(self): - """Gets the num_tx_vht_433_2_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_vht_433_2_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_433_2_mbps - - @num_tx_vht_433_2_mbps.setter - def num_tx_vht_433_2_mbps(self, num_tx_vht_433_2_mbps): - """Sets the num_tx_vht_433_2_mbps of this ClientMetrics. - - - :param num_tx_vht_433_2_mbps: The num_tx_vht_433_2_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_433_2_mbps = num_tx_vht_433_2_mbps - - @property - def num_tx_vht_450_mbps(self): - """Gets the num_tx_vht_450_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_vht_450_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_450_mbps - - @num_tx_vht_450_mbps.setter - def num_tx_vht_450_mbps(self, num_tx_vht_450_mbps): - """Sets the num_tx_vht_450_mbps of this ClientMetrics. - - - :param num_tx_vht_450_mbps: The num_tx_vht_450_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_450_mbps = num_tx_vht_450_mbps - - @property - def num_tx_vht_468_mbps(self): - """Gets the num_tx_vht_468_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_vht_468_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_468_mbps - - @num_tx_vht_468_mbps.setter - def num_tx_vht_468_mbps(self, num_tx_vht_468_mbps): - """Sets the num_tx_vht_468_mbps of this ClientMetrics. - - - :param num_tx_vht_468_mbps: The num_tx_vht_468_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_468_mbps = num_tx_vht_468_mbps - - @property - def num_tx_vht_480_mbps(self): - """Gets the num_tx_vht_480_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_vht_480_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_480_mbps - - @num_tx_vht_480_mbps.setter - def num_tx_vht_480_mbps(self, num_tx_vht_480_mbps): - """Sets the num_tx_vht_480_mbps of this ClientMetrics. - - - :param num_tx_vht_480_mbps: The num_tx_vht_480_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_480_mbps = num_tx_vht_480_mbps - - @property - def num_tx_vht_486_mbps(self): - """Gets the num_tx_vht_486_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_vht_486_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_486_mbps - - @num_tx_vht_486_mbps.setter - def num_tx_vht_486_mbps(self, num_tx_vht_486_mbps): - """Sets the num_tx_vht_486_mbps of this ClientMetrics. - - - :param num_tx_vht_486_mbps: The num_tx_vht_486_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_486_mbps = num_tx_vht_486_mbps - - @property - def num_tx_vht_520_mbps(self): - """Gets the num_tx_vht_520_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_vht_520_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_520_mbps - - @num_tx_vht_520_mbps.setter - def num_tx_vht_520_mbps(self, num_tx_vht_520_mbps): - """Sets the num_tx_vht_520_mbps of this ClientMetrics. - - - :param num_tx_vht_520_mbps: The num_tx_vht_520_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_520_mbps = num_tx_vht_520_mbps - - @property - def num_tx_vht_526_5_mbps(self): - """Gets the num_tx_vht_526_5_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_vht_526_5_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_526_5_mbps - - @num_tx_vht_526_5_mbps.setter - def num_tx_vht_526_5_mbps(self, num_tx_vht_526_5_mbps): - """Sets the num_tx_vht_526_5_mbps of this ClientMetrics. - - - :param num_tx_vht_526_5_mbps: The num_tx_vht_526_5_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_526_5_mbps = num_tx_vht_526_5_mbps - - @property - def num_tx_vht_540_mbps(self): - """Gets the num_tx_vht_540_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_vht_540_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_540_mbps - - @num_tx_vht_540_mbps.setter - def num_tx_vht_540_mbps(self, num_tx_vht_540_mbps): - """Sets the num_tx_vht_540_mbps of this ClientMetrics. - - - :param num_tx_vht_540_mbps: The num_tx_vht_540_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_540_mbps = num_tx_vht_540_mbps - - @property - def num_tx_vht_585_mbps(self): - """Gets the num_tx_vht_585_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_vht_585_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_585_mbps - - @num_tx_vht_585_mbps.setter - def num_tx_vht_585_mbps(self, num_tx_vht_585_mbps): - """Sets the num_tx_vht_585_mbps of this ClientMetrics. - - - :param num_tx_vht_585_mbps: The num_tx_vht_585_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_585_mbps = num_tx_vht_585_mbps - - @property - def num_tx_vht_600_mbps(self): - """Gets the num_tx_vht_600_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_vht_600_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_600_mbps - - @num_tx_vht_600_mbps.setter - def num_tx_vht_600_mbps(self, num_tx_vht_600_mbps): - """Sets the num_tx_vht_600_mbps of this ClientMetrics. - - - :param num_tx_vht_600_mbps: The num_tx_vht_600_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_600_mbps = num_tx_vht_600_mbps - - @property - def num_tx_vht_648_mbps(self): - """Gets the num_tx_vht_648_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_vht_648_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_648_mbps - - @num_tx_vht_648_mbps.setter - def num_tx_vht_648_mbps(self, num_tx_vht_648_mbps): - """Sets the num_tx_vht_648_mbps of this ClientMetrics. - - - :param num_tx_vht_648_mbps: The num_tx_vht_648_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_648_mbps = num_tx_vht_648_mbps - - @property - def num_tx_vht_650_mbps(self): - """Gets the num_tx_vht_650_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_vht_650_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_650_mbps - - @num_tx_vht_650_mbps.setter - def num_tx_vht_650_mbps(self, num_tx_vht_650_mbps): - """Sets the num_tx_vht_650_mbps of this ClientMetrics. - - - :param num_tx_vht_650_mbps: The num_tx_vht_650_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_650_mbps = num_tx_vht_650_mbps - - @property - def num_tx_vht_702_mbps(self): - """Gets the num_tx_vht_702_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_vht_702_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_702_mbps - - @num_tx_vht_702_mbps.setter - def num_tx_vht_702_mbps(self, num_tx_vht_702_mbps): - """Sets the num_tx_vht_702_mbps of this ClientMetrics. - - - :param num_tx_vht_702_mbps: The num_tx_vht_702_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_702_mbps = num_tx_vht_702_mbps - - @property - def num_tx_vht_720_mbps(self): - """Gets the num_tx_vht_720_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_vht_720_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_720_mbps - - @num_tx_vht_720_mbps.setter - def num_tx_vht_720_mbps(self, num_tx_vht_720_mbps): - """Sets the num_tx_vht_720_mbps of this ClientMetrics. - - - :param num_tx_vht_720_mbps: The num_tx_vht_720_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_720_mbps = num_tx_vht_720_mbps - - @property - def num_tx_vht_780_mbps(self): - """Gets the num_tx_vht_780_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_vht_780_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_780_mbps - - @num_tx_vht_780_mbps.setter - def num_tx_vht_780_mbps(self, num_tx_vht_780_mbps): - """Sets the num_tx_vht_780_mbps of this ClientMetrics. - - - :param num_tx_vht_780_mbps: The num_tx_vht_780_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_780_mbps = num_tx_vht_780_mbps - - @property - def num_tx_vht_800_mbps(self): - """Gets the num_tx_vht_800_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_vht_800_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_800_mbps - - @num_tx_vht_800_mbps.setter - def num_tx_vht_800_mbps(self, num_tx_vht_800_mbps): - """Sets the num_tx_vht_800_mbps of this ClientMetrics. - - - :param num_tx_vht_800_mbps: The num_tx_vht_800_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_800_mbps = num_tx_vht_800_mbps - - @property - def num_tx_vht_866_7_mbps(self): - """Gets the num_tx_vht_866_7_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_vht_866_7_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_866_7_mbps - - @num_tx_vht_866_7_mbps.setter - def num_tx_vht_866_7_mbps(self, num_tx_vht_866_7_mbps): - """Sets the num_tx_vht_866_7_mbps of this ClientMetrics. - - - :param num_tx_vht_866_7_mbps: The num_tx_vht_866_7_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_866_7_mbps = num_tx_vht_866_7_mbps - - @property - def num_tx_vht_877_5_mbps(self): - """Gets the num_tx_vht_877_5_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_vht_877_5_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_877_5_mbps - - @num_tx_vht_877_5_mbps.setter - def num_tx_vht_877_5_mbps(self, num_tx_vht_877_5_mbps): - """Sets the num_tx_vht_877_5_mbps of this ClientMetrics. - - - :param num_tx_vht_877_5_mbps: The num_tx_vht_877_5_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_877_5_mbps = num_tx_vht_877_5_mbps - - @property - def num_tx_vht_936_mbps(self): - """Gets the num_tx_vht_936_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_vht_936_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_936_mbps - - @num_tx_vht_936_mbps.setter - def num_tx_vht_936_mbps(self, num_tx_vht_936_mbps): - """Sets the num_tx_vht_936_mbps of this ClientMetrics. - - - :param num_tx_vht_936_mbps: The num_tx_vht_936_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_936_mbps = num_tx_vht_936_mbps - - @property - def num_tx_vht_975_mbps(self): - """Gets the num_tx_vht_975_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_vht_975_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_975_mbps - - @num_tx_vht_975_mbps.setter - def num_tx_vht_975_mbps(self, num_tx_vht_975_mbps): - """Sets the num_tx_vht_975_mbps of this ClientMetrics. - - - :param num_tx_vht_975_mbps: The num_tx_vht_975_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_975_mbps = num_tx_vht_975_mbps - - @property - def num_tx_vht_1040_mbps(self): - """Gets the num_tx_vht_1040_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_vht_1040_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_1040_mbps - - @num_tx_vht_1040_mbps.setter - def num_tx_vht_1040_mbps(self, num_tx_vht_1040_mbps): - """Sets the num_tx_vht_1040_mbps of this ClientMetrics. - - - :param num_tx_vht_1040_mbps: The num_tx_vht_1040_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_1040_mbps = num_tx_vht_1040_mbps - - @property - def num_tx_vht_1053_mbps(self): - """Gets the num_tx_vht_1053_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_vht_1053_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_1053_mbps - - @num_tx_vht_1053_mbps.setter - def num_tx_vht_1053_mbps(self, num_tx_vht_1053_mbps): - """Sets the num_tx_vht_1053_mbps of this ClientMetrics. - - - :param num_tx_vht_1053_mbps: The num_tx_vht_1053_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_1053_mbps = num_tx_vht_1053_mbps - - @property - def num_tx_vht_1053_1_mbps(self): - """Gets the num_tx_vht_1053_1_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_vht_1053_1_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_1053_1_mbps - - @num_tx_vht_1053_1_mbps.setter - def num_tx_vht_1053_1_mbps(self, num_tx_vht_1053_1_mbps): - """Sets the num_tx_vht_1053_1_mbps of this ClientMetrics. - - - :param num_tx_vht_1053_1_mbps: The num_tx_vht_1053_1_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_1053_1_mbps = num_tx_vht_1053_1_mbps - - @property - def num_tx_vht_1170_mbps(self): - """Gets the num_tx_vht_1170_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_vht_1170_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_1170_mbps - - @num_tx_vht_1170_mbps.setter - def num_tx_vht_1170_mbps(self, num_tx_vht_1170_mbps): - """Sets the num_tx_vht_1170_mbps of this ClientMetrics. - - - :param num_tx_vht_1170_mbps: The num_tx_vht_1170_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_1170_mbps = num_tx_vht_1170_mbps - - @property - def num_tx_vht_1300_mbps(self): - """Gets the num_tx_vht_1300_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_vht_1300_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_1300_mbps - - @num_tx_vht_1300_mbps.setter - def num_tx_vht_1300_mbps(self, num_tx_vht_1300_mbps): - """Sets the num_tx_vht_1300_mbps of this ClientMetrics. - - - :param num_tx_vht_1300_mbps: The num_tx_vht_1300_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_1300_mbps = num_tx_vht_1300_mbps - - @property - def num_tx_vht_1404_mbps(self): - """Gets the num_tx_vht_1404_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_vht_1404_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_1404_mbps - - @num_tx_vht_1404_mbps.setter - def num_tx_vht_1404_mbps(self, num_tx_vht_1404_mbps): - """Sets the num_tx_vht_1404_mbps of this ClientMetrics. - - - :param num_tx_vht_1404_mbps: The num_tx_vht_1404_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_1404_mbps = num_tx_vht_1404_mbps - - @property - def num_tx_vht_1560_mbps(self): - """Gets the num_tx_vht_1560_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_vht_1560_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_1560_mbps - - @num_tx_vht_1560_mbps.setter - def num_tx_vht_1560_mbps(self, num_tx_vht_1560_mbps): - """Sets the num_tx_vht_1560_mbps of this ClientMetrics. - - - :param num_tx_vht_1560_mbps: The num_tx_vht_1560_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_1560_mbps = num_tx_vht_1560_mbps - - @property - def num_tx_vht_1579_5_mbps(self): - """Gets the num_tx_vht_1579_5_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_vht_1579_5_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_1579_5_mbps - - @num_tx_vht_1579_5_mbps.setter - def num_tx_vht_1579_5_mbps(self, num_tx_vht_1579_5_mbps): - """Sets the num_tx_vht_1579_5_mbps of this ClientMetrics. - - - :param num_tx_vht_1579_5_mbps: The num_tx_vht_1579_5_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_1579_5_mbps = num_tx_vht_1579_5_mbps - - @property - def num_tx_vht_1733_1_mbps(self): - """Gets the num_tx_vht_1733_1_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_vht_1733_1_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_1733_1_mbps - - @num_tx_vht_1733_1_mbps.setter - def num_tx_vht_1733_1_mbps(self, num_tx_vht_1733_1_mbps): - """Sets the num_tx_vht_1733_1_mbps of this ClientMetrics. - - - :param num_tx_vht_1733_1_mbps: The num_tx_vht_1733_1_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_1733_1_mbps = num_tx_vht_1733_1_mbps - - @property - def num_tx_vht_1733_4_mbps(self): - """Gets the num_tx_vht_1733_4_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_vht_1733_4_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_1733_4_mbps - - @num_tx_vht_1733_4_mbps.setter - def num_tx_vht_1733_4_mbps(self, num_tx_vht_1733_4_mbps): - """Sets the num_tx_vht_1733_4_mbps of this ClientMetrics. - - - :param num_tx_vht_1733_4_mbps: The num_tx_vht_1733_4_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_1733_4_mbps = num_tx_vht_1733_4_mbps - - @property - def num_tx_vht_1755_mbps(self): - """Gets the num_tx_vht_1755_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_vht_1755_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_1755_mbps - - @num_tx_vht_1755_mbps.setter - def num_tx_vht_1755_mbps(self, num_tx_vht_1755_mbps): - """Sets the num_tx_vht_1755_mbps of this ClientMetrics. - - - :param num_tx_vht_1755_mbps: The num_tx_vht_1755_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_1755_mbps = num_tx_vht_1755_mbps - - @property - def num_tx_vht_1872_mbps(self): - """Gets the num_tx_vht_1872_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_vht_1872_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_1872_mbps - - @num_tx_vht_1872_mbps.setter - def num_tx_vht_1872_mbps(self, num_tx_vht_1872_mbps): - """Sets the num_tx_vht_1872_mbps of this ClientMetrics. - - - :param num_tx_vht_1872_mbps: The num_tx_vht_1872_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_1872_mbps = num_tx_vht_1872_mbps - - @property - def num_tx_vht_1950_mbps(self): - """Gets the num_tx_vht_1950_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_vht_1950_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_1950_mbps - - @num_tx_vht_1950_mbps.setter - def num_tx_vht_1950_mbps(self, num_tx_vht_1950_mbps): - """Sets the num_tx_vht_1950_mbps of this ClientMetrics. - - - :param num_tx_vht_1950_mbps: The num_tx_vht_1950_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_1950_mbps = num_tx_vht_1950_mbps - - @property - def num_tx_vht_2080_mbps(self): - """Gets the num_tx_vht_2080_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_vht_2080_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_2080_mbps - - @num_tx_vht_2080_mbps.setter - def num_tx_vht_2080_mbps(self, num_tx_vht_2080_mbps): - """Sets the num_tx_vht_2080_mbps of this ClientMetrics. - - - :param num_tx_vht_2080_mbps: The num_tx_vht_2080_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_2080_mbps = num_tx_vht_2080_mbps - - @property - def num_tx_vht_2106_mbps(self): - """Gets the num_tx_vht_2106_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_vht_2106_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_2106_mbps - - @num_tx_vht_2106_mbps.setter - def num_tx_vht_2106_mbps(self, num_tx_vht_2106_mbps): - """Sets the num_tx_vht_2106_mbps of this ClientMetrics. - - - :param num_tx_vht_2106_mbps: The num_tx_vht_2106_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_2106_mbps = num_tx_vht_2106_mbps - - @property - def num_tx_vht_2340_mbps(self): - """Gets the num_tx_vht_2340_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_vht_2340_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_2340_mbps - - @num_tx_vht_2340_mbps.setter - def num_tx_vht_2340_mbps(self, num_tx_vht_2340_mbps): - """Sets the num_tx_vht_2340_mbps of this ClientMetrics. - - - :param num_tx_vht_2340_mbps: The num_tx_vht_2340_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_2340_mbps = num_tx_vht_2340_mbps - - @property - def num_tx_vht_2600_mbps(self): - """Gets the num_tx_vht_2600_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_vht_2600_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_2600_mbps - - @num_tx_vht_2600_mbps.setter - def num_tx_vht_2600_mbps(self, num_tx_vht_2600_mbps): - """Sets the num_tx_vht_2600_mbps of this ClientMetrics. - - - :param num_tx_vht_2600_mbps: The num_tx_vht_2600_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_2600_mbps = num_tx_vht_2600_mbps - - @property - def num_tx_vht_2808_mbps(self): - """Gets the num_tx_vht_2808_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_vht_2808_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_2808_mbps - - @num_tx_vht_2808_mbps.setter - def num_tx_vht_2808_mbps(self, num_tx_vht_2808_mbps): - """Sets the num_tx_vht_2808_mbps of this ClientMetrics. - - - :param num_tx_vht_2808_mbps: The num_tx_vht_2808_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_2808_mbps = num_tx_vht_2808_mbps - - @property - def num_tx_vht_3120_mbps(self): - """Gets the num_tx_vht_3120_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_vht_3120_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_3120_mbps - - @num_tx_vht_3120_mbps.setter - def num_tx_vht_3120_mbps(self, num_tx_vht_3120_mbps): - """Sets the num_tx_vht_3120_mbps of this ClientMetrics. - - - :param num_tx_vht_3120_mbps: The num_tx_vht_3120_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_3120_mbps = num_tx_vht_3120_mbps - - @property - def num_tx_vht_3466_8_mbps(self): - """Gets the num_tx_vht_3466_8_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_tx_vht_3466_8_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_3466_8_mbps - - @num_tx_vht_3466_8_mbps.setter - def num_tx_vht_3466_8_mbps(self, num_tx_vht_3466_8_mbps): - """Sets the num_tx_vht_3466_8_mbps of this ClientMetrics. - - - :param num_tx_vht_3466_8_mbps: The num_tx_vht_3466_8_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_3466_8_mbps = num_tx_vht_3466_8_mbps - - @property - def num_rx_vht_292_5_mbps(self): - """Gets the num_rx_vht_292_5_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_vht_292_5_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_292_5_mbps - - @num_rx_vht_292_5_mbps.setter - def num_rx_vht_292_5_mbps(self, num_rx_vht_292_5_mbps): - """Sets the num_rx_vht_292_5_mbps of this ClientMetrics. - - - :param num_rx_vht_292_5_mbps: The num_rx_vht_292_5_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_292_5_mbps = num_rx_vht_292_5_mbps - - @property - def num_rx_vht_325_mbps(self): - """Gets the num_rx_vht_325_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_vht_325_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_325_mbps - - @num_rx_vht_325_mbps.setter - def num_rx_vht_325_mbps(self, num_rx_vht_325_mbps): - """Sets the num_rx_vht_325_mbps of this ClientMetrics. - - - :param num_rx_vht_325_mbps: The num_rx_vht_325_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_325_mbps = num_rx_vht_325_mbps - - @property - def num_rx_vht_364_5_mbps(self): - """Gets the num_rx_vht_364_5_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_vht_364_5_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_364_5_mbps - - @num_rx_vht_364_5_mbps.setter - def num_rx_vht_364_5_mbps(self, num_rx_vht_364_5_mbps): - """Sets the num_rx_vht_364_5_mbps of this ClientMetrics. - - - :param num_rx_vht_364_5_mbps: The num_rx_vht_364_5_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_364_5_mbps = num_rx_vht_364_5_mbps - - @property - def num_rx_vht_390_mbps(self): - """Gets the num_rx_vht_390_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_vht_390_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_390_mbps - - @num_rx_vht_390_mbps.setter - def num_rx_vht_390_mbps(self, num_rx_vht_390_mbps): - """Sets the num_rx_vht_390_mbps of this ClientMetrics. - - - :param num_rx_vht_390_mbps: The num_rx_vht_390_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_390_mbps = num_rx_vht_390_mbps - - @property - def num_rx_vht_400_mbps(self): - """Gets the num_rx_vht_400_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_vht_400_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_400_mbps - - @num_rx_vht_400_mbps.setter - def num_rx_vht_400_mbps(self, num_rx_vht_400_mbps): - """Sets the num_rx_vht_400_mbps of this ClientMetrics. - - - :param num_rx_vht_400_mbps: The num_rx_vht_400_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_400_mbps = num_rx_vht_400_mbps - - @property - def num_rx_vht_403_mbps(self): - """Gets the num_rx_vht_403_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_vht_403_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_403_mbps - - @num_rx_vht_403_mbps.setter - def num_rx_vht_403_mbps(self, num_rx_vht_403_mbps): - """Sets the num_rx_vht_403_mbps of this ClientMetrics. - - - :param num_rx_vht_403_mbps: The num_rx_vht_403_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_403_mbps = num_rx_vht_403_mbps - - @property - def num_rx_vht_405_mbps(self): - """Gets the num_rx_vht_405_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_vht_405_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_405_mbps - - @num_rx_vht_405_mbps.setter - def num_rx_vht_405_mbps(self, num_rx_vht_405_mbps): - """Sets the num_rx_vht_405_mbps of this ClientMetrics. - - - :param num_rx_vht_405_mbps: The num_rx_vht_405_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_405_mbps = num_rx_vht_405_mbps - - @property - def num_rx_vht_432_mbps(self): - """Gets the num_rx_vht_432_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_vht_432_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_432_mbps - - @num_rx_vht_432_mbps.setter - def num_rx_vht_432_mbps(self, num_rx_vht_432_mbps): - """Sets the num_rx_vht_432_mbps of this ClientMetrics. - - - :param num_rx_vht_432_mbps: The num_rx_vht_432_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_432_mbps = num_rx_vht_432_mbps - - @property - def num_rx_vht_433_2_mbps(self): - """Gets the num_rx_vht_433_2_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_vht_433_2_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_433_2_mbps - - @num_rx_vht_433_2_mbps.setter - def num_rx_vht_433_2_mbps(self, num_rx_vht_433_2_mbps): - """Sets the num_rx_vht_433_2_mbps of this ClientMetrics. - - - :param num_rx_vht_433_2_mbps: The num_rx_vht_433_2_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_433_2_mbps = num_rx_vht_433_2_mbps - - @property - def num_rx_vht_450_mbps(self): - """Gets the num_rx_vht_450_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_vht_450_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_450_mbps - - @num_rx_vht_450_mbps.setter - def num_rx_vht_450_mbps(self, num_rx_vht_450_mbps): - """Sets the num_rx_vht_450_mbps of this ClientMetrics. - - - :param num_rx_vht_450_mbps: The num_rx_vht_450_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_450_mbps = num_rx_vht_450_mbps - - @property - def num_rx_vht_468_mbps(self): - """Gets the num_rx_vht_468_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_vht_468_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_468_mbps - - @num_rx_vht_468_mbps.setter - def num_rx_vht_468_mbps(self, num_rx_vht_468_mbps): - """Sets the num_rx_vht_468_mbps of this ClientMetrics. - - - :param num_rx_vht_468_mbps: The num_rx_vht_468_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_468_mbps = num_rx_vht_468_mbps - - @property - def num_rx_vht_480_mbps(self): - """Gets the num_rx_vht_480_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_vht_480_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_480_mbps - - @num_rx_vht_480_mbps.setter - def num_rx_vht_480_mbps(self, num_rx_vht_480_mbps): - """Sets the num_rx_vht_480_mbps of this ClientMetrics. - - - :param num_rx_vht_480_mbps: The num_rx_vht_480_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_480_mbps = num_rx_vht_480_mbps - - @property - def num_rx_vht_486_mbps(self): - """Gets the num_rx_vht_486_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_vht_486_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_486_mbps - - @num_rx_vht_486_mbps.setter - def num_rx_vht_486_mbps(self, num_rx_vht_486_mbps): - """Sets the num_rx_vht_486_mbps of this ClientMetrics. - - - :param num_rx_vht_486_mbps: The num_rx_vht_486_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_486_mbps = num_rx_vht_486_mbps - - @property - def num_rx_vht_520_mbps(self): - """Gets the num_rx_vht_520_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_vht_520_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_520_mbps - - @num_rx_vht_520_mbps.setter - def num_rx_vht_520_mbps(self, num_rx_vht_520_mbps): - """Sets the num_rx_vht_520_mbps of this ClientMetrics. - - - :param num_rx_vht_520_mbps: The num_rx_vht_520_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_520_mbps = num_rx_vht_520_mbps - - @property - def num_rx_vht_526_5_mbps(self): - """Gets the num_rx_vht_526_5_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_vht_526_5_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_526_5_mbps - - @num_rx_vht_526_5_mbps.setter - def num_rx_vht_526_5_mbps(self, num_rx_vht_526_5_mbps): - """Sets the num_rx_vht_526_5_mbps of this ClientMetrics. - - - :param num_rx_vht_526_5_mbps: The num_rx_vht_526_5_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_526_5_mbps = num_rx_vht_526_5_mbps - - @property - def num_rx_vht_540_mbps(self): - """Gets the num_rx_vht_540_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_vht_540_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_540_mbps - - @num_rx_vht_540_mbps.setter - def num_rx_vht_540_mbps(self, num_rx_vht_540_mbps): - """Sets the num_rx_vht_540_mbps of this ClientMetrics. - - - :param num_rx_vht_540_mbps: The num_rx_vht_540_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_540_mbps = num_rx_vht_540_mbps - - @property - def num_rx_vht_585_mbps(self): - """Gets the num_rx_vht_585_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_vht_585_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_585_mbps - - @num_rx_vht_585_mbps.setter - def num_rx_vht_585_mbps(self, num_rx_vht_585_mbps): - """Sets the num_rx_vht_585_mbps of this ClientMetrics. - - - :param num_rx_vht_585_mbps: The num_rx_vht_585_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_585_mbps = num_rx_vht_585_mbps - - @property - def num_rx_vht_600_mbps(self): - """Gets the num_rx_vht_600_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_vht_600_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_600_mbps - - @num_rx_vht_600_mbps.setter - def num_rx_vht_600_mbps(self, num_rx_vht_600_mbps): - """Sets the num_rx_vht_600_mbps of this ClientMetrics. - - - :param num_rx_vht_600_mbps: The num_rx_vht_600_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_600_mbps = num_rx_vht_600_mbps - - @property - def num_rx_vht_648_mbps(self): - """Gets the num_rx_vht_648_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_vht_648_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_648_mbps - - @num_rx_vht_648_mbps.setter - def num_rx_vht_648_mbps(self, num_rx_vht_648_mbps): - """Sets the num_rx_vht_648_mbps of this ClientMetrics. - - - :param num_rx_vht_648_mbps: The num_rx_vht_648_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_648_mbps = num_rx_vht_648_mbps - - @property - def num_rx_vht_650_mbps(self): - """Gets the num_rx_vht_650_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_vht_650_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_650_mbps - - @num_rx_vht_650_mbps.setter - def num_rx_vht_650_mbps(self, num_rx_vht_650_mbps): - """Sets the num_rx_vht_650_mbps of this ClientMetrics. - - - :param num_rx_vht_650_mbps: The num_rx_vht_650_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_650_mbps = num_rx_vht_650_mbps - - @property - def num_rx_vht_702_mbps(self): - """Gets the num_rx_vht_702_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_vht_702_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_702_mbps - - @num_rx_vht_702_mbps.setter - def num_rx_vht_702_mbps(self, num_rx_vht_702_mbps): - """Sets the num_rx_vht_702_mbps of this ClientMetrics. - - - :param num_rx_vht_702_mbps: The num_rx_vht_702_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_702_mbps = num_rx_vht_702_mbps - - @property - def num_rx_vht_720_mbps(self): - """Gets the num_rx_vht_720_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_vht_720_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_720_mbps - - @num_rx_vht_720_mbps.setter - def num_rx_vht_720_mbps(self, num_rx_vht_720_mbps): - """Sets the num_rx_vht_720_mbps of this ClientMetrics. - - - :param num_rx_vht_720_mbps: The num_rx_vht_720_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_720_mbps = num_rx_vht_720_mbps - - @property - def num_rx_vht_780_mbps(self): - """Gets the num_rx_vht_780_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_vht_780_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_780_mbps - - @num_rx_vht_780_mbps.setter - def num_rx_vht_780_mbps(self, num_rx_vht_780_mbps): - """Sets the num_rx_vht_780_mbps of this ClientMetrics. - - - :param num_rx_vht_780_mbps: The num_rx_vht_780_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_780_mbps = num_rx_vht_780_mbps - - @property - def num_rx_vht_800_mbps(self): - """Gets the num_rx_vht_800_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_vht_800_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_800_mbps - - @num_rx_vht_800_mbps.setter - def num_rx_vht_800_mbps(self, num_rx_vht_800_mbps): - """Sets the num_rx_vht_800_mbps of this ClientMetrics. - - - :param num_rx_vht_800_mbps: The num_rx_vht_800_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_800_mbps = num_rx_vht_800_mbps - - @property - def num_rx_vht_866_7_mbps(self): - """Gets the num_rx_vht_866_7_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_vht_866_7_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_866_7_mbps - - @num_rx_vht_866_7_mbps.setter - def num_rx_vht_866_7_mbps(self, num_rx_vht_866_7_mbps): - """Sets the num_rx_vht_866_7_mbps of this ClientMetrics. - - - :param num_rx_vht_866_7_mbps: The num_rx_vht_866_7_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_866_7_mbps = num_rx_vht_866_7_mbps - - @property - def num_rx_vht_877_5_mbps(self): - """Gets the num_rx_vht_877_5_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_vht_877_5_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_877_5_mbps - - @num_rx_vht_877_5_mbps.setter - def num_rx_vht_877_5_mbps(self, num_rx_vht_877_5_mbps): - """Sets the num_rx_vht_877_5_mbps of this ClientMetrics. - - - :param num_rx_vht_877_5_mbps: The num_rx_vht_877_5_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_877_5_mbps = num_rx_vht_877_5_mbps - - @property - def num_rx_vht_936_mbps(self): - """Gets the num_rx_vht_936_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_vht_936_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_936_mbps - - @num_rx_vht_936_mbps.setter - def num_rx_vht_936_mbps(self, num_rx_vht_936_mbps): - """Sets the num_rx_vht_936_mbps of this ClientMetrics. - - - :param num_rx_vht_936_mbps: The num_rx_vht_936_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_936_mbps = num_rx_vht_936_mbps - - @property - def num_rx_vht_975_mbps(self): - """Gets the num_rx_vht_975_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_vht_975_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_975_mbps - - @num_rx_vht_975_mbps.setter - def num_rx_vht_975_mbps(self, num_rx_vht_975_mbps): - """Sets the num_rx_vht_975_mbps of this ClientMetrics. - - - :param num_rx_vht_975_mbps: The num_rx_vht_975_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_975_mbps = num_rx_vht_975_mbps - - @property - def num_rx_vht_1040_mbps(self): - """Gets the num_rx_vht_1040_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_vht_1040_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_1040_mbps - - @num_rx_vht_1040_mbps.setter - def num_rx_vht_1040_mbps(self, num_rx_vht_1040_mbps): - """Sets the num_rx_vht_1040_mbps of this ClientMetrics. - - - :param num_rx_vht_1040_mbps: The num_rx_vht_1040_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_1040_mbps = num_rx_vht_1040_mbps - - @property - def num_rx_vht_1053_mbps(self): - """Gets the num_rx_vht_1053_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_vht_1053_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_1053_mbps - - @num_rx_vht_1053_mbps.setter - def num_rx_vht_1053_mbps(self, num_rx_vht_1053_mbps): - """Sets the num_rx_vht_1053_mbps of this ClientMetrics. - - - :param num_rx_vht_1053_mbps: The num_rx_vht_1053_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_1053_mbps = num_rx_vht_1053_mbps - - @property - def num_rx_vht_1053_1_mbps(self): - """Gets the num_rx_vht_1053_1_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_vht_1053_1_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_1053_1_mbps - - @num_rx_vht_1053_1_mbps.setter - def num_rx_vht_1053_1_mbps(self, num_rx_vht_1053_1_mbps): - """Sets the num_rx_vht_1053_1_mbps of this ClientMetrics. - - - :param num_rx_vht_1053_1_mbps: The num_rx_vht_1053_1_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_1053_1_mbps = num_rx_vht_1053_1_mbps - - @property - def num_rx_vht_1170_mbps(self): - """Gets the num_rx_vht_1170_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_vht_1170_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_1170_mbps - - @num_rx_vht_1170_mbps.setter - def num_rx_vht_1170_mbps(self, num_rx_vht_1170_mbps): - """Sets the num_rx_vht_1170_mbps of this ClientMetrics. - - - :param num_rx_vht_1170_mbps: The num_rx_vht_1170_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_1170_mbps = num_rx_vht_1170_mbps - - @property - def num_rx_vht_1300_mbps(self): - """Gets the num_rx_vht_1300_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_vht_1300_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_1300_mbps - - @num_rx_vht_1300_mbps.setter - def num_rx_vht_1300_mbps(self, num_rx_vht_1300_mbps): - """Sets the num_rx_vht_1300_mbps of this ClientMetrics. - - - :param num_rx_vht_1300_mbps: The num_rx_vht_1300_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_1300_mbps = num_rx_vht_1300_mbps - - @property - def num_rx_vht_1404_mbps(self): - """Gets the num_rx_vht_1404_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_vht_1404_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_1404_mbps - - @num_rx_vht_1404_mbps.setter - def num_rx_vht_1404_mbps(self, num_rx_vht_1404_mbps): - """Sets the num_rx_vht_1404_mbps of this ClientMetrics. - - - :param num_rx_vht_1404_mbps: The num_rx_vht_1404_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_1404_mbps = num_rx_vht_1404_mbps - - @property - def num_rx_vht_1560_mbps(self): - """Gets the num_rx_vht_1560_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_vht_1560_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_1560_mbps - - @num_rx_vht_1560_mbps.setter - def num_rx_vht_1560_mbps(self, num_rx_vht_1560_mbps): - """Sets the num_rx_vht_1560_mbps of this ClientMetrics. - - - :param num_rx_vht_1560_mbps: The num_rx_vht_1560_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_1560_mbps = num_rx_vht_1560_mbps - - @property - def num_rx_vht_1579_5_mbps(self): - """Gets the num_rx_vht_1579_5_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_vht_1579_5_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_1579_5_mbps - - @num_rx_vht_1579_5_mbps.setter - def num_rx_vht_1579_5_mbps(self, num_rx_vht_1579_5_mbps): - """Sets the num_rx_vht_1579_5_mbps of this ClientMetrics. - - - :param num_rx_vht_1579_5_mbps: The num_rx_vht_1579_5_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_1579_5_mbps = num_rx_vht_1579_5_mbps - - @property - def num_rx_vht_1733_1_mbps(self): - """Gets the num_rx_vht_1733_1_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_vht_1733_1_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_1733_1_mbps - - @num_rx_vht_1733_1_mbps.setter - def num_rx_vht_1733_1_mbps(self, num_rx_vht_1733_1_mbps): - """Sets the num_rx_vht_1733_1_mbps of this ClientMetrics. - - - :param num_rx_vht_1733_1_mbps: The num_rx_vht_1733_1_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_1733_1_mbps = num_rx_vht_1733_1_mbps - - @property - def num_rx_vht_1733_4_mbps(self): - """Gets the num_rx_vht_1733_4_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_vht_1733_4_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_1733_4_mbps - - @num_rx_vht_1733_4_mbps.setter - def num_rx_vht_1733_4_mbps(self, num_rx_vht_1733_4_mbps): - """Sets the num_rx_vht_1733_4_mbps of this ClientMetrics. - - - :param num_rx_vht_1733_4_mbps: The num_rx_vht_1733_4_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_1733_4_mbps = num_rx_vht_1733_4_mbps - - @property - def num_rx_vht_1755_mbps(self): - """Gets the num_rx_vht_1755_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_vht_1755_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_1755_mbps - - @num_rx_vht_1755_mbps.setter - def num_rx_vht_1755_mbps(self, num_rx_vht_1755_mbps): - """Sets the num_rx_vht_1755_mbps of this ClientMetrics. - - - :param num_rx_vht_1755_mbps: The num_rx_vht_1755_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_1755_mbps = num_rx_vht_1755_mbps - - @property - def num_rx_vht_1872_mbps(self): - """Gets the num_rx_vht_1872_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_vht_1872_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_1872_mbps - - @num_rx_vht_1872_mbps.setter - def num_rx_vht_1872_mbps(self, num_rx_vht_1872_mbps): - """Sets the num_rx_vht_1872_mbps of this ClientMetrics. - - - :param num_rx_vht_1872_mbps: The num_rx_vht_1872_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_1872_mbps = num_rx_vht_1872_mbps - - @property - def num_rx_vht_1950_mbps(self): - """Gets the num_rx_vht_1950_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_vht_1950_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_1950_mbps - - @num_rx_vht_1950_mbps.setter - def num_rx_vht_1950_mbps(self, num_rx_vht_1950_mbps): - """Sets the num_rx_vht_1950_mbps of this ClientMetrics. - - - :param num_rx_vht_1950_mbps: The num_rx_vht_1950_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_1950_mbps = num_rx_vht_1950_mbps - - @property - def num_rx_vht_2080_mbps(self): - """Gets the num_rx_vht_2080_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_vht_2080_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_2080_mbps - - @num_rx_vht_2080_mbps.setter - def num_rx_vht_2080_mbps(self, num_rx_vht_2080_mbps): - """Sets the num_rx_vht_2080_mbps of this ClientMetrics. - - - :param num_rx_vht_2080_mbps: The num_rx_vht_2080_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_2080_mbps = num_rx_vht_2080_mbps - - @property - def num_rx_vht_2106_mbps(self): - """Gets the num_rx_vht_2106_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_vht_2106_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_2106_mbps - - @num_rx_vht_2106_mbps.setter - def num_rx_vht_2106_mbps(self, num_rx_vht_2106_mbps): - """Sets the num_rx_vht_2106_mbps of this ClientMetrics. - - - :param num_rx_vht_2106_mbps: The num_rx_vht_2106_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_2106_mbps = num_rx_vht_2106_mbps - - @property - def num_rx_vht_2340_mbps(self): - """Gets the num_rx_vht_2340_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_vht_2340_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_2340_mbps - - @num_rx_vht_2340_mbps.setter - def num_rx_vht_2340_mbps(self, num_rx_vht_2340_mbps): - """Sets the num_rx_vht_2340_mbps of this ClientMetrics. - - - :param num_rx_vht_2340_mbps: The num_rx_vht_2340_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_2340_mbps = num_rx_vht_2340_mbps - - @property - def num_rx_vht_2600_mbps(self): - """Gets the num_rx_vht_2600_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_vht_2600_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_2600_mbps - - @num_rx_vht_2600_mbps.setter - def num_rx_vht_2600_mbps(self, num_rx_vht_2600_mbps): - """Sets the num_rx_vht_2600_mbps of this ClientMetrics. - - - :param num_rx_vht_2600_mbps: The num_rx_vht_2600_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_2600_mbps = num_rx_vht_2600_mbps - - @property - def num_rx_vht_2808_mbps(self): - """Gets the num_rx_vht_2808_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_vht_2808_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_2808_mbps - - @num_rx_vht_2808_mbps.setter - def num_rx_vht_2808_mbps(self, num_rx_vht_2808_mbps): - """Sets the num_rx_vht_2808_mbps of this ClientMetrics. - - - :param num_rx_vht_2808_mbps: The num_rx_vht_2808_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_2808_mbps = num_rx_vht_2808_mbps - - @property - def num_rx_vht_3120_mbps(self): - """Gets the num_rx_vht_3120_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_vht_3120_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_3120_mbps - - @num_rx_vht_3120_mbps.setter - def num_rx_vht_3120_mbps(self, num_rx_vht_3120_mbps): - """Sets the num_rx_vht_3120_mbps of this ClientMetrics. - - - :param num_rx_vht_3120_mbps: The num_rx_vht_3120_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_3120_mbps = num_rx_vht_3120_mbps - - @property - def num_rx_vht_3466_8_mbps(self): - """Gets the num_rx_vht_3466_8_mbps of this ClientMetrics. # noqa: E501 - - - :return: The num_rx_vht_3466_8_mbps of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_3466_8_mbps - - @num_rx_vht_3466_8_mbps.setter - def num_rx_vht_3466_8_mbps(self, num_rx_vht_3466_8_mbps): - """Sets the num_rx_vht_3466_8_mbps of this ClientMetrics. - - - :param num_rx_vht_3466_8_mbps: The num_rx_vht_3466_8_mbps of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_3466_8_mbps = num_rx_vht_3466_8_mbps - - @property - def rx_last_rssi(self): - """Gets the rx_last_rssi of this ClientMetrics. # noqa: E501 - - The RSSI of last frame received. # noqa: E501 - - :return: The rx_last_rssi of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._rx_last_rssi - - @rx_last_rssi.setter - def rx_last_rssi(self, rx_last_rssi): - """Sets the rx_last_rssi of this ClientMetrics. - - The RSSI of last frame received. # noqa: E501 - - :param rx_last_rssi: The rx_last_rssi of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._rx_last_rssi = rx_last_rssi - - @property - def num_rx_no_fcs_err(self): - """Gets the num_rx_no_fcs_err of this ClientMetrics. # noqa: E501 - - The number of received frames without FCS errors. # noqa: E501 - - :return: The num_rx_no_fcs_err of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_no_fcs_err - - @num_rx_no_fcs_err.setter - def num_rx_no_fcs_err(self, num_rx_no_fcs_err): - """Sets the num_rx_no_fcs_err of this ClientMetrics. - - The number of received frames without FCS errors. # noqa: E501 - - :param num_rx_no_fcs_err: The num_rx_no_fcs_err of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_no_fcs_err = num_rx_no_fcs_err - - @property - def num_rx_data(self): - """Gets the num_rx_data of this ClientMetrics. # noqa: E501 - - The number of received data frames. # noqa: E501 - - :return: The num_rx_data of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_data - - @num_rx_data.setter - def num_rx_data(self, num_rx_data): - """Sets the num_rx_data of this ClientMetrics. - - The number of received data frames. # noqa: E501 - - :param num_rx_data: The num_rx_data of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_data = num_rx_data - - @property - def num_rx_management(self): - """Gets the num_rx_management of this ClientMetrics. # noqa: E501 - - The number of received management frames. # noqa: E501 - - :return: The num_rx_management of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_management - - @num_rx_management.setter - def num_rx_management(self, num_rx_management): - """Sets the num_rx_management of this ClientMetrics. - - The number of received management frames. # noqa: E501 - - :param num_rx_management: The num_rx_management of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_management = num_rx_management - - @property - def num_rx_control(self): - """Gets the num_rx_control of this ClientMetrics. # noqa: E501 - - The number of received control frames. # noqa: E501 - - :return: The num_rx_control of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_control - - @num_rx_control.setter - def num_rx_control(self, num_rx_control): - """Sets the num_rx_control of this ClientMetrics. - - The number of received control frames. # noqa: E501 - - :param num_rx_control: The num_rx_control of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_control = num_rx_control - - @property - def rx_bytes(self): - """Gets the rx_bytes of this ClientMetrics. # noqa: E501 - - The number of received bytes. # noqa: E501 - - :return: The rx_bytes of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._rx_bytes - - @rx_bytes.setter - def rx_bytes(self, rx_bytes): - """Sets the rx_bytes of this ClientMetrics. - - The number of received bytes. # noqa: E501 - - :param rx_bytes: The rx_bytes of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._rx_bytes = rx_bytes - - @property - def rx_data_bytes(self): - """Gets the rx_data_bytes of this ClientMetrics. # noqa: E501 - - The number of received data bytes. # noqa: E501 - - :return: The rx_data_bytes of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._rx_data_bytes - - @rx_data_bytes.setter - def rx_data_bytes(self, rx_data_bytes): - """Sets the rx_data_bytes of this ClientMetrics. - - The number of received data bytes. # noqa: E501 - - :param rx_data_bytes: The rx_data_bytes of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._rx_data_bytes = rx_data_bytes - - @property - def num_rx_rts(self): - """Gets the num_rx_rts of this ClientMetrics. # noqa: E501 - - The number of received RTS frames. # noqa: E501 - - :return: The num_rx_rts of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_rts - - @num_rx_rts.setter - def num_rx_rts(self, num_rx_rts): - """Sets the num_rx_rts of this ClientMetrics. - - The number of received RTS frames. # noqa: E501 - - :param num_rx_rts: The num_rx_rts of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_rts = num_rx_rts - - @property - def num_rx_cts(self): - """Gets the num_rx_cts of this ClientMetrics. # noqa: E501 - - The number of received CTS frames. # noqa: E501 - - :return: The num_rx_cts of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_cts - - @num_rx_cts.setter - def num_rx_cts(self, num_rx_cts): - """Sets the num_rx_cts of this ClientMetrics. - - The number of received CTS frames. # noqa: E501 - - :param num_rx_cts: The num_rx_cts of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_cts = num_rx_cts - - @property - def num_rx_ack(self): - """Gets the num_rx_ack of this ClientMetrics. # noqa: E501 - - The number of all received ACK frames (Acks + BlockAcks). # noqa: E501 - - :return: The num_rx_ack of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ack - - @num_rx_ack.setter - def num_rx_ack(self, num_rx_ack): - """Sets the num_rx_ack of this ClientMetrics. - - The number of all received ACK frames (Acks + BlockAcks). # noqa: E501 - - :param num_rx_ack: The num_rx_ack of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ack = num_rx_ack - - @property - def num_rx_probe_req(self): - """Gets the num_rx_probe_req of this ClientMetrics. # noqa: E501 - - The number of received probe request frames. # noqa: E501 - - :return: The num_rx_probe_req of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_probe_req - - @num_rx_probe_req.setter - def num_rx_probe_req(self, num_rx_probe_req): - """Sets the num_rx_probe_req of this ClientMetrics. - - The number of received probe request frames. # noqa: E501 - - :param num_rx_probe_req: The num_rx_probe_req of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_probe_req = num_rx_probe_req - - @property - def num_rx_retry(self): - """Gets the num_rx_retry of this ClientMetrics. # noqa: E501 - - The number of received retry frames. # noqa: E501 - - :return: The num_rx_retry of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_retry - - @num_rx_retry.setter - def num_rx_retry(self, num_rx_retry): - """Sets the num_rx_retry of this ClientMetrics. - - The number of received retry frames. # noqa: E501 - - :param num_rx_retry: The num_rx_retry of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_retry = num_rx_retry - - @property - def num_rx_dup(self): - """Gets the num_rx_dup of this ClientMetrics. # noqa: E501 - - The number of received duplicated frames. # noqa: E501 - - :return: The num_rx_dup of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_dup - - @num_rx_dup.setter - def num_rx_dup(self, num_rx_dup): - """Sets the num_rx_dup of this ClientMetrics. - - The number of received duplicated frames. # noqa: E501 - - :param num_rx_dup: The num_rx_dup of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_dup = num_rx_dup - - @property - def num_rx_null_data(self): - """Gets the num_rx_null_data of this ClientMetrics. # noqa: E501 - - The number of received null data frames. # noqa: E501 - - :return: The num_rx_null_data of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_null_data - - @num_rx_null_data.setter - def num_rx_null_data(self, num_rx_null_data): - """Sets the num_rx_null_data of this ClientMetrics. - - The number of received null data frames. # noqa: E501 - - :param num_rx_null_data: The num_rx_null_data of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_null_data = num_rx_null_data - - @property - def num_rx_pspoll(self): - """Gets the num_rx_pspoll of this ClientMetrics. # noqa: E501 - - The number of received ps-poll frames. # noqa: E501 - - :return: The num_rx_pspoll of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_pspoll - - @num_rx_pspoll.setter - def num_rx_pspoll(self, num_rx_pspoll): - """Sets the num_rx_pspoll of this ClientMetrics. - - The number of received ps-poll frames. # noqa: E501 - - :param num_rx_pspoll: The num_rx_pspoll of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_pspoll = num_rx_pspoll - - @property - def num_rx_stbc(self): - """Gets the num_rx_stbc of this ClientMetrics. # noqa: E501 - - The number of received STBC frames. # noqa: E501 - - :return: The num_rx_stbc of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_stbc - - @num_rx_stbc.setter - def num_rx_stbc(self, num_rx_stbc): - """Sets the num_rx_stbc of this ClientMetrics. - - The number of received STBC frames. # noqa: E501 - - :param num_rx_stbc: The num_rx_stbc of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_stbc = num_rx_stbc - - @property - def num_rx_ldpc(self): - """Gets the num_rx_ldpc of this ClientMetrics. # noqa: E501 - - The number of received LDPC frames. # noqa: E501 - - :return: The num_rx_ldpc of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ldpc - - @num_rx_ldpc.setter - def num_rx_ldpc(self, num_rx_ldpc): - """Sets the num_rx_ldpc of this ClientMetrics. - - The number of received LDPC frames. # noqa: E501 - - :param num_rx_ldpc: The num_rx_ldpc of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rx_ldpc = num_rx_ldpc - - @property - def last_recv_layer3_ts(self): - """Gets the last_recv_layer3_ts of this ClientMetrics. # noqa: E501 - - The timestamp of last received layer three user traffic (IP data) # noqa: E501 - - :return: The last_recv_layer3_ts of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._last_recv_layer3_ts - - @last_recv_layer3_ts.setter - def last_recv_layer3_ts(self, last_recv_layer3_ts): - """Sets the last_recv_layer3_ts of this ClientMetrics. - - The timestamp of last received layer three user traffic (IP data) # noqa: E501 - - :param last_recv_layer3_ts: The last_recv_layer3_ts of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._last_recv_layer3_ts = last_recv_layer3_ts - - @property - def num_rcv_frame_for_tx(self): - """Gets the num_rcv_frame_for_tx of this ClientMetrics. # noqa: E501 - - The number of received ethernet and local generated frames for transmit. # noqa: E501 - - :return: The num_rcv_frame_for_tx of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_rcv_frame_for_tx - - @num_rcv_frame_for_tx.setter - def num_rcv_frame_for_tx(self, num_rcv_frame_for_tx): - """Sets the num_rcv_frame_for_tx of this ClientMetrics. - - The number of received ethernet and local generated frames for transmit. # noqa: E501 - - :param num_rcv_frame_for_tx: The num_rcv_frame_for_tx of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_rcv_frame_for_tx = num_rcv_frame_for_tx - - @property - def num_tx_queued(self): - """Gets the num_tx_queued of this ClientMetrics. # noqa: E501 - - The number of TX frames queued. # noqa: E501 - - :return: The num_tx_queued of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_queued - - @num_tx_queued.setter - def num_tx_queued(self, num_tx_queued): - """Sets the num_tx_queued of this ClientMetrics. - - The number of TX frames queued. # noqa: E501 - - :param num_tx_queued: The num_tx_queued of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_queued = num_tx_queued - - @property - def num_tx_dropped(self): - """Gets the num_tx_dropped of this ClientMetrics. # noqa: E501 - - The number of every TX frame dropped. # noqa: E501 - - :return: The num_tx_dropped of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_dropped - - @num_tx_dropped.setter - def num_tx_dropped(self, num_tx_dropped): - """Sets the num_tx_dropped of this ClientMetrics. - - The number of every TX frame dropped. # noqa: E501 - - :param num_tx_dropped: The num_tx_dropped of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_dropped = num_tx_dropped - - @property - def num_tx_retry_dropped(self): - """Gets the num_tx_retry_dropped of this ClientMetrics. # noqa: E501 - - The number of TX frame dropped due to retries. # noqa: E501 - - :return: The num_tx_retry_dropped of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_retry_dropped - - @num_tx_retry_dropped.setter - def num_tx_retry_dropped(self, num_tx_retry_dropped): - """Sets the num_tx_retry_dropped of this ClientMetrics. - - The number of TX frame dropped due to retries. # noqa: E501 - - :param num_tx_retry_dropped: The num_tx_retry_dropped of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_retry_dropped = num_tx_retry_dropped - - @property - def num_tx_succ(self): - """Gets the num_tx_succ of this ClientMetrics. # noqa: E501 - - The number of frames successfully transmitted. # noqa: E501 - - :return: The num_tx_succ of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_succ - - @num_tx_succ.setter - def num_tx_succ(self, num_tx_succ): - """Sets the num_tx_succ of this ClientMetrics. - - The number of frames successfully transmitted. # noqa: E501 - - :param num_tx_succ: The num_tx_succ of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_succ = num_tx_succ - - @property - def num_tx_byte_succ(self): - """Gets the num_tx_byte_succ of this ClientMetrics. # noqa: E501 - - The Number of Tx bytes successfully transmitted. # noqa: E501 - - :return: The num_tx_byte_succ of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_byte_succ - - @num_tx_byte_succ.setter - def num_tx_byte_succ(self, num_tx_byte_succ): - """Sets the num_tx_byte_succ of this ClientMetrics. - - The Number of Tx bytes successfully transmitted. # noqa: E501 - - :param num_tx_byte_succ: The num_tx_byte_succ of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_byte_succ = num_tx_byte_succ - - @property - def num_tx_succ_no_retry(self): - """Gets the num_tx_succ_no_retry of this ClientMetrics. # noqa: E501 - - The number of successfully transmitted frames at first attempt. # noqa: E501 - - :return: The num_tx_succ_no_retry of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_succ_no_retry - - @num_tx_succ_no_retry.setter - def num_tx_succ_no_retry(self, num_tx_succ_no_retry): - """Sets the num_tx_succ_no_retry of this ClientMetrics. - - The number of successfully transmitted frames at first attempt. # noqa: E501 - - :param num_tx_succ_no_retry: The num_tx_succ_no_retry of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_succ_no_retry = num_tx_succ_no_retry - - @property - def num_tx_succ_retries(self): - """Gets the num_tx_succ_retries of this ClientMetrics. # noqa: E501 - - The number of successfully transmitted frames with retries. # noqa: E501 - - :return: The num_tx_succ_retries of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_succ_retries - - @num_tx_succ_retries.setter - def num_tx_succ_retries(self, num_tx_succ_retries): - """Sets the num_tx_succ_retries of this ClientMetrics. - - The number of successfully transmitted frames with retries. # noqa: E501 - - :param num_tx_succ_retries: The num_tx_succ_retries of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_succ_retries = num_tx_succ_retries - - @property - def num_tx_multi_retries(self): - """Gets the num_tx_multi_retries of this ClientMetrics. # noqa: E501 - - The number of Tx frames with retries. # noqa: E501 - - :return: The num_tx_multi_retries of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_multi_retries - - @num_tx_multi_retries.setter - def num_tx_multi_retries(self, num_tx_multi_retries): - """Sets the num_tx_multi_retries of this ClientMetrics. - - The number of Tx frames with retries. # noqa: E501 - - :param num_tx_multi_retries: The num_tx_multi_retries of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_multi_retries = num_tx_multi_retries - - @property - def num_tx_management(self): - """Gets the num_tx_management of this ClientMetrics. # noqa: E501 - - The number of TX management frames. # noqa: E501 - - :return: The num_tx_management of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_management - - @num_tx_management.setter - def num_tx_management(self, num_tx_management): - """Sets the num_tx_management of this ClientMetrics. - - The number of TX management frames. # noqa: E501 - - :param num_tx_management: The num_tx_management of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_management = num_tx_management - - @property - def num_tx_control(self): - """Gets the num_tx_control of this ClientMetrics. # noqa: E501 - - The number of Tx control frames. # noqa: E501 - - :return: The num_tx_control of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_control - - @num_tx_control.setter - def num_tx_control(self, num_tx_control): - """Sets the num_tx_control of this ClientMetrics. - - The number of Tx control frames. # noqa: E501 - - :param num_tx_control: The num_tx_control of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_control = num_tx_control - - @property - def num_tx_action(self): - """Gets the num_tx_action of this ClientMetrics. # noqa: E501 - - The number of Tx action frames. # noqa: E501 - - :return: The num_tx_action of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_action - - @num_tx_action.setter - def num_tx_action(self, num_tx_action): - """Sets the num_tx_action of this ClientMetrics. - - The number of Tx action frames. # noqa: E501 - - :param num_tx_action: The num_tx_action of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_action = num_tx_action - - @property - def num_tx_prop_resp(self): - """Gets the num_tx_prop_resp of this ClientMetrics. # noqa: E501 - - The number of TX probe response. # noqa: E501 - - :return: The num_tx_prop_resp of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_prop_resp - - @num_tx_prop_resp.setter - def num_tx_prop_resp(self, num_tx_prop_resp): - """Sets the num_tx_prop_resp of this ClientMetrics. - - The number of TX probe response. # noqa: E501 - - :param num_tx_prop_resp: The num_tx_prop_resp of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_prop_resp = num_tx_prop_resp - - @property - def num_tx_data(self): - """Gets the num_tx_data of this ClientMetrics. # noqa: E501 - - The number of Tx data frames. # noqa: E501 - - :return: The num_tx_data of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_data - - @num_tx_data.setter - def num_tx_data(self, num_tx_data): - """Sets the num_tx_data of this ClientMetrics. - - The number of Tx data frames. # noqa: E501 - - :param num_tx_data: The num_tx_data of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_data = num_tx_data - - @property - def num_tx_data_retries(self): - """Gets the num_tx_data_retries of this ClientMetrics. # noqa: E501 - - The number of Tx data frames with retries,done. # noqa: E501 - - :return: The num_tx_data_retries of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_data_retries - - @num_tx_data_retries.setter - def num_tx_data_retries(self, num_tx_data_retries): - """Sets the num_tx_data_retries of this ClientMetrics. - - The number of Tx data frames with retries,done. # noqa: E501 - - :param num_tx_data_retries: The num_tx_data_retries of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_data_retries = num_tx_data_retries - - @property - def num_tx_rts_succ(self): - """Gets the num_tx_rts_succ of this ClientMetrics. # noqa: E501 - - The number of RTS frames sent successfully, done. # noqa: E501 - - :return: The num_tx_rts_succ of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_rts_succ - - @num_tx_rts_succ.setter - def num_tx_rts_succ(self, num_tx_rts_succ): - """Sets the num_tx_rts_succ of this ClientMetrics. - - The number of RTS frames sent successfully, done. # noqa: E501 - - :param num_tx_rts_succ: The num_tx_rts_succ of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_rts_succ = num_tx_rts_succ - - @property - def num_tx_rts_fail(self): - """Gets the num_tx_rts_fail of this ClientMetrics. # noqa: E501 - - The number of RTS frames failed transmission. # noqa: E501 - - :return: The num_tx_rts_fail of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_rts_fail - - @num_tx_rts_fail.setter - def num_tx_rts_fail(self, num_tx_rts_fail): - """Sets the num_tx_rts_fail of this ClientMetrics. - - The number of RTS frames failed transmission. # noqa: E501 - - :param num_tx_rts_fail: The num_tx_rts_fail of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_rts_fail = num_tx_rts_fail - - @property - def num_tx_no_ack(self): - """Gets the num_tx_no_ack of this ClientMetrics. # noqa: E501 - - The number of TX frames failed because of not Acked. # noqa: E501 - - :return: The num_tx_no_ack of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_no_ack - - @num_tx_no_ack.setter - def num_tx_no_ack(self, num_tx_no_ack): - """Sets the num_tx_no_ack of this ClientMetrics. - - The number of TX frames failed because of not Acked. # noqa: E501 - - :param num_tx_no_ack: The num_tx_no_ack of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_no_ack = num_tx_no_ack - - @property - def num_tx_eapol(self): - """Gets the num_tx_eapol of this ClientMetrics. # noqa: E501 - - The number of EAPOL frames sent. # noqa: E501 - - :return: The num_tx_eapol of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_eapol - - @num_tx_eapol.setter - def num_tx_eapol(self, num_tx_eapol): - """Sets the num_tx_eapol of this ClientMetrics. - - The number of EAPOL frames sent. # noqa: E501 - - :param num_tx_eapol: The num_tx_eapol of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_eapol = num_tx_eapol - - @property - def num_tx_ldpc(self): - """Gets the num_tx_ldpc of this ClientMetrics. # noqa: E501 - - The number of total LDPC frames sent. # noqa: E501 - - :return: The num_tx_ldpc of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ldpc - - @num_tx_ldpc.setter - def num_tx_ldpc(self, num_tx_ldpc): - """Sets the num_tx_ldpc of this ClientMetrics. - - The number of total LDPC frames sent. # noqa: E501 - - :param num_tx_ldpc: The num_tx_ldpc of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_ldpc = num_tx_ldpc - - @property - def num_tx_stbc(self): - """Gets the num_tx_stbc of this ClientMetrics. # noqa: E501 - - The number of total STBC frames sent. # noqa: E501 - - :return: The num_tx_stbc of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_stbc - - @num_tx_stbc.setter - def num_tx_stbc(self, num_tx_stbc): - """Sets the num_tx_stbc of this ClientMetrics. - - The number of total STBC frames sent. # noqa: E501 - - :param num_tx_stbc: The num_tx_stbc of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_stbc = num_tx_stbc - - @property - def num_tx_aggr_succ(self): - """Gets the num_tx_aggr_succ of this ClientMetrics. # noqa: E501 - - The number of aggregation frames sent successfully. # noqa: E501 - - :return: The num_tx_aggr_succ of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_aggr_succ - - @num_tx_aggr_succ.setter - def num_tx_aggr_succ(self, num_tx_aggr_succ): - """Sets the num_tx_aggr_succ of this ClientMetrics. - - The number of aggregation frames sent successfully. # noqa: E501 - - :param num_tx_aggr_succ: The num_tx_aggr_succ of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_aggr_succ = num_tx_aggr_succ - - @property - def num_tx_aggr_one_mpdu(self): - """Gets the num_tx_aggr_one_mpdu of this ClientMetrics. # noqa: E501 - - The number of aggregation frames sent using single MPDU (where the A-MPDU contains only one MPDU ). # noqa: E501 - - :return: The num_tx_aggr_one_mpdu of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._num_tx_aggr_one_mpdu - - @num_tx_aggr_one_mpdu.setter - def num_tx_aggr_one_mpdu(self, num_tx_aggr_one_mpdu): - """Sets the num_tx_aggr_one_mpdu of this ClientMetrics. - - The number of aggregation frames sent using single MPDU (where the A-MPDU contains only one MPDU ). # noqa: E501 - - :param num_tx_aggr_one_mpdu: The num_tx_aggr_one_mpdu of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._num_tx_aggr_one_mpdu = num_tx_aggr_one_mpdu - - @property - def last_sent_layer3_ts(self): - """Gets the last_sent_layer3_ts of this ClientMetrics. # noqa: E501 - - The timestamp of last successfully sent layer three user traffic (IP data). # noqa: E501 - - :return: The last_sent_layer3_ts of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._last_sent_layer3_ts - - @last_sent_layer3_ts.setter - def last_sent_layer3_ts(self, last_sent_layer3_ts): - """Sets the last_sent_layer3_ts of this ClientMetrics. - - The timestamp of last successfully sent layer three user traffic (IP data). # noqa: E501 - - :param last_sent_layer3_ts: The last_sent_layer3_ts of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._last_sent_layer3_ts = last_sent_layer3_ts - - @property - def wmm_queue_stats(self): - """Gets the wmm_queue_stats of this ClientMetrics. # noqa: E501 - - - :return: The wmm_queue_stats of this ClientMetrics. # noqa: E501 - :rtype: WmmQueueStatsPerQueueTypeMap - """ - return self._wmm_queue_stats - - @wmm_queue_stats.setter - def wmm_queue_stats(self, wmm_queue_stats): - """Sets the wmm_queue_stats of this ClientMetrics. - - - :param wmm_queue_stats: The wmm_queue_stats of this ClientMetrics. # noqa: E501 - :type: WmmQueueStatsPerQueueTypeMap - """ - - self._wmm_queue_stats = wmm_queue_stats - - @property - def list_mcs_stats_mcs_stats(self): - """Gets the list_mcs_stats_mcs_stats of this ClientMetrics. # noqa: E501 - - - :return: The list_mcs_stats_mcs_stats of this ClientMetrics. # noqa: E501 - :rtype: list[McsStats] - """ - return self._list_mcs_stats_mcs_stats - - @list_mcs_stats_mcs_stats.setter - def list_mcs_stats_mcs_stats(self, list_mcs_stats_mcs_stats): - """Sets the list_mcs_stats_mcs_stats of this ClientMetrics. - - - :param list_mcs_stats_mcs_stats: The list_mcs_stats_mcs_stats of this ClientMetrics. # noqa: E501 - :type: list[McsStats] - """ - - self._list_mcs_stats_mcs_stats = list_mcs_stats_mcs_stats - - @property - def last_rx_mcs_idx(self): - """Gets the last_rx_mcs_idx of this ClientMetrics. # noqa: E501 - - - :return: The last_rx_mcs_idx of this ClientMetrics. # noqa: E501 - :rtype: McsType - """ - return self._last_rx_mcs_idx - - @last_rx_mcs_idx.setter - def last_rx_mcs_idx(self, last_rx_mcs_idx): - """Sets the last_rx_mcs_idx of this ClientMetrics. - - - :param last_rx_mcs_idx: The last_rx_mcs_idx of this ClientMetrics. # noqa: E501 - :type: McsType - """ - - self._last_rx_mcs_idx = last_rx_mcs_idx - - @property - def last_tx_mcs_idx(self): - """Gets the last_tx_mcs_idx of this ClientMetrics. # noqa: E501 - - - :return: The last_tx_mcs_idx of this ClientMetrics. # noqa: E501 - :rtype: McsType - """ - return self._last_tx_mcs_idx - - @last_tx_mcs_idx.setter - def last_tx_mcs_idx(self, last_tx_mcs_idx): - """Sets the last_tx_mcs_idx of this ClientMetrics. - - - :param last_tx_mcs_idx: The last_tx_mcs_idx of this ClientMetrics. # noqa: E501 - :type: McsType - """ - - self._last_tx_mcs_idx = last_tx_mcs_idx - - @property - def radio_type(self): - """Gets the radio_type of this ClientMetrics. # noqa: E501 - - - :return: The radio_type of this ClientMetrics. # noqa: E501 - :rtype: RadioType - """ - return self._radio_type - - @radio_type.setter - def radio_type(self, radio_type): - """Sets the radio_type of this ClientMetrics. - - - :param radio_type: The radio_type of this ClientMetrics. # noqa: E501 - :type: RadioType - """ - - self._radio_type = radio_type - - @property - def period_length_sec(self): - """Gets the period_length_sec of this ClientMetrics. # noqa: E501 - - How many seconds the AP measured for the metric # noqa: E501 - - :return: The period_length_sec of this ClientMetrics. # noqa: E501 - :rtype: int - """ - return self._period_length_sec - - @period_length_sec.setter - def period_length_sec(self, period_length_sec): - """Sets the period_length_sec of this ClientMetrics. - - How many seconds the AP measured for the metric # noqa: E501 - - :param period_length_sec: The period_length_sec of this ClientMetrics. # noqa: E501 - :type: int - """ - - self._period_length_sec = period_length_sec - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ClientMetrics, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ClientMetrics): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/client_removed_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/client_removed_event.py deleted file mode 100644 index 7f45d1f2f..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/client_removed_event.py +++ /dev/null @@ -1,189 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ClientRemovedEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'event_timestamp': 'int', - 'customer_id': 'int', - 'payload': 'Client' - } - - attribute_map = { - 'model_type': 'model_type', - 'event_timestamp': 'eventTimestamp', - 'customer_id': 'customerId', - 'payload': 'payload' - } - - def __init__(self, model_type=None, event_timestamp=None, customer_id=None, payload=None): # noqa: E501 - """ClientRemovedEvent - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._event_timestamp = None - self._customer_id = None - self._payload = None - self.discriminator = None - self.model_type = model_type - if event_timestamp is not None: - self.event_timestamp = event_timestamp - if customer_id is not None: - self.customer_id = customer_id - if payload is not None: - self.payload = payload - - @property - def model_type(self): - """Gets the model_type of this ClientRemovedEvent. # noqa: E501 - - - :return: The model_type of this ClientRemovedEvent. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this ClientRemovedEvent. - - - :param model_type: The model_type of this ClientRemovedEvent. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - - self._model_type = model_type - - @property - def event_timestamp(self): - """Gets the event_timestamp of this ClientRemovedEvent. # noqa: E501 - - - :return: The event_timestamp of this ClientRemovedEvent. # noqa: E501 - :rtype: int - """ - return self._event_timestamp - - @event_timestamp.setter - def event_timestamp(self, event_timestamp): - """Sets the event_timestamp of this ClientRemovedEvent. - - - :param event_timestamp: The event_timestamp of this ClientRemovedEvent. # noqa: E501 - :type: int - """ - - self._event_timestamp = event_timestamp - - @property - def customer_id(self): - """Gets the customer_id of this ClientRemovedEvent. # noqa: E501 - - - :return: The customer_id of this ClientRemovedEvent. # noqa: E501 - :rtype: int - """ - return self._customer_id - - @customer_id.setter - def customer_id(self, customer_id): - """Sets the customer_id of this ClientRemovedEvent. - - - :param customer_id: The customer_id of this ClientRemovedEvent. # noqa: E501 - :type: int - """ - - self._customer_id = customer_id - - @property - def payload(self): - """Gets the payload of this ClientRemovedEvent. # noqa: E501 - - - :return: The payload of this ClientRemovedEvent. # noqa: E501 - :rtype: Client - """ - return self._payload - - @payload.setter - def payload(self, payload): - """Sets the payload of this ClientRemovedEvent. - - - :param payload: The payload of this ClientRemovedEvent. # noqa: E501 - :type: Client - """ - - self._payload = payload - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ClientRemovedEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ClientRemovedEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/client_session.py b/libs/cloudapi/cloudsdk/swagger_client/models/client_session.py deleted file mode 100644 index b01fdf92b..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/client_session.py +++ /dev/null @@ -1,216 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ClientSession(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'mac_address': 'MacAddress', - 'customer_id': 'int', - 'equipment_id': 'int', - 'details': 'ClientSessionDetails', - 'last_modified_timestamp': 'int' - } - - attribute_map = { - 'mac_address': 'macAddress', - 'customer_id': 'customerId', - 'equipment_id': 'equipmentId', - 'details': 'details', - 'last_modified_timestamp': 'lastModifiedTimestamp' - } - - def __init__(self, mac_address=None, customer_id=None, equipment_id=None, details=None, last_modified_timestamp=None): # noqa: E501 - """ClientSession - a model defined in Swagger""" # noqa: E501 - self._mac_address = None - self._customer_id = None - self._equipment_id = None - self._details = None - self._last_modified_timestamp = None - self.discriminator = None - if mac_address is not None: - self.mac_address = mac_address - if customer_id is not None: - self.customer_id = customer_id - if equipment_id is not None: - self.equipment_id = equipment_id - if details is not None: - self.details = details - if last_modified_timestamp is not None: - self.last_modified_timestamp = last_modified_timestamp - - @property - def mac_address(self): - """Gets the mac_address of this ClientSession. # noqa: E501 - - - :return: The mac_address of this ClientSession. # noqa: E501 - :rtype: MacAddress - """ - return self._mac_address - - @mac_address.setter - def mac_address(self, mac_address): - """Sets the mac_address of this ClientSession. - - - :param mac_address: The mac_address of this ClientSession. # noqa: E501 - :type: MacAddress - """ - - self._mac_address = mac_address - - @property - def customer_id(self): - """Gets the customer_id of this ClientSession. # noqa: E501 - - - :return: The customer_id of this ClientSession. # noqa: E501 - :rtype: int - """ - return self._customer_id - - @customer_id.setter - def customer_id(self, customer_id): - """Sets the customer_id of this ClientSession. - - - :param customer_id: The customer_id of this ClientSession. # noqa: E501 - :type: int - """ - - self._customer_id = customer_id - - @property - def equipment_id(self): - """Gets the equipment_id of this ClientSession. # noqa: E501 - - - :return: The equipment_id of this ClientSession. # noqa: E501 - :rtype: int - """ - return self._equipment_id - - @equipment_id.setter - def equipment_id(self, equipment_id): - """Sets the equipment_id of this ClientSession. - - - :param equipment_id: The equipment_id of this ClientSession. # noqa: E501 - :type: int - """ - - self._equipment_id = equipment_id - - @property - def details(self): - """Gets the details of this ClientSession. # noqa: E501 - - - :return: The details of this ClientSession. # noqa: E501 - :rtype: ClientSessionDetails - """ - return self._details - - @details.setter - def details(self, details): - """Sets the details of this ClientSession. - - - :param details: The details of this ClientSession. # noqa: E501 - :type: ClientSessionDetails - """ - - self._details = details - - @property - def last_modified_timestamp(self): - """Gets the last_modified_timestamp of this ClientSession. # noqa: E501 - - This class does not perform checks against concurrrent updates. Here last update always wins. # noqa: E501 - - :return: The last_modified_timestamp of this ClientSession. # noqa: E501 - :rtype: int - """ - return self._last_modified_timestamp - - @last_modified_timestamp.setter - def last_modified_timestamp(self, last_modified_timestamp): - """Sets the last_modified_timestamp of this ClientSession. - - This class does not perform checks against concurrrent updates. Here last update always wins. # noqa: E501 - - :param last_modified_timestamp: The last_modified_timestamp of this ClientSession. # noqa: E501 - :type: int - """ - - self._last_modified_timestamp = last_modified_timestamp - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ClientSession, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ClientSession): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/client_session_changed_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/client_session_changed_event.py deleted file mode 100644 index 4ccb95ec3..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/client_session_changed_event.py +++ /dev/null @@ -1,215 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ClientSessionChangedEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'event_timestamp': 'int', - 'customer_id': 'int', - 'equipment_id': 'int', - 'payload': 'ClientSession' - } - - attribute_map = { - 'model_type': 'model_type', - 'event_timestamp': 'eventTimestamp', - 'customer_id': 'customerId', - 'equipment_id': 'equipmentId', - 'payload': 'payload' - } - - def __init__(self, model_type=None, event_timestamp=None, customer_id=None, equipment_id=None, payload=None): # noqa: E501 - """ClientSessionChangedEvent - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._event_timestamp = None - self._customer_id = None - self._equipment_id = None - self._payload = None - self.discriminator = None - self.model_type = model_type - if event_timestamp is not None: - self.event_timestamp = event_timestamp - if customer_id is not None: - self.customer_id = customer_id - if equipment_id is not None: - self.equipment_id = equipment_id - if payload is not None: - self.payload = payload - - @property - def model_type(self): - """Gets the model_type of this ClientSessionChangedEvent. # noqa: E501 - - - :return: The model_type of this ClientSessionChangedEvent. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this ClientSessionChangedEvent. - - - :param model_type: The model_type of this ClientSessionChangedEvent. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - - self._model_type = model_type - - @property - def event_timestamp(self): - """Gets the event_timestamp of this ClientSessionChangedEvent. # noqa: E501 - - - :return: The event_timestamp of this ClientSessionChangedEvent. # noqa: E501 - :rtype: int - """ - return self._event_timestamp - - @event_timestamp.setter - def event_timestamp(self, event_timestamp): - """Sets the event_timestamp of this ClientSessionChangedEvent. - - - :param event_timestamp: The event_timestamp of this ClientSessionChangedEvent. # noqa: E501 - :type: int - """ - - self._event_timestamp = event_timestamp - - @property - def customer_id(self): - """Gets the customer_id of this ClientSessionChangedEvent. # noqa: E501 - - - :return: The customer_id of this ClientSessionChangedEvent. # noqa: E501 - :rtype: int - """ - return self._customer_id - - @customer_id.setter - def customer_id(self, customer_id): - """Sets the customer_id of this ClientSessionChangedEvent. - - - :param customer_id: The customer_id of this ClientSessionChangedEvent. # noqa: E501 - :type: int - """ - - self._customer_id = customer_id - - @property - def equipment_id(self): - """Gets the equipment_id of this ClientSessionChangedEvent. # noqa: E501 - - - :return: The equipment_id of this ClientSessionChangedEvent. # noqa: E501 - :rtype: int - """ - return self._equipment_id - - @equipment_id.setter - def equipment_id(self, equipment_id): - """Sets the equipment_id of this ClientSessionChangedEvent. - - - :param equipment_id: The equipment_id of this ClientSessionChangedEvent. # noqa: E501 - :type: int - """ - - self._equipment_id = equipment_id - - @property - def payload(self): - """Gets the payload of this ClientSessionChangedEvent. # noqa: E501 - - - :return: The payload of this ClientSessionChangedEvent. # noqa: E501 - :rtype: ClientSession - """ - return self._payload - - @payload.setter - def payload(self, payload): - """Sets the payload of this ClientSessionChangedEvent. - - - :param payload: The payload of this ClientSessionChangedEvent. # noqa: E501 - :type: ClientSession - """ - - self._payload = payload - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ClientSessionChangedEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ClientSessionChangedEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/client_session_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/client_session_details.py deleted file mode 100644 index becdfe313..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/client_session_details.py +++ /dev/null @@ -1,1260 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ClientSessionDetails(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'session_id': 'int', - 'auth_timestamp': 'int', - 'assoc_timestamp': 'int', - 'assoc_internal_sc': 'int', - 'ip_timestamp': 'int', - 'disconnect_by_ap_timestamp': 'int', - 'disconnect_by_client_timestamp': 'int', - 'timeout_timestamp': 'int', - 'first_data_sent_timestamp': 'int', - 'first_data_rcvd_timestamp': 'int', - 'ip_address': 'str', - 'radius_username': 'str', - 'ssid': 'str', - 'radio_type': 'RadioType', - 'last_event_timestamp': 'int', - 'hostname': 'str', - 'ap_fingerprint': 'str', - 'user_agent_str': 'str', - 'last_rx_timestamp': 'int', - 'last_tx_timestamp': 'int', - 'cp_username': 'str', - 'dhcp_details': 'ClientDhcpDetails', - 'eap_details': 'ClientEapDetails', - 'metric_details': 'ClientSessionMetricDetails', - 'is_reassociation': 'bool', - 'disconnect_by_ap_reason_code': 'int', - 'disconnect_by_client_reason_code': 'int', - 'disconnect_by_ap_internal_reason_code': 'int', - 'disconnect_by_client_internal_reason_code': 'int', - 'port_enabled_timestamp': 'int', - 'is11_r_used': 'bool', - 'is11_k_used': 'bool', - 'is11_v_used': 'bool', - 'security_type': 'SecurityType', - 'steer_type': 'SteerType', - 'previous_valid_session_id': 'int', - 'last_failure_details': 'ClientFailureDetails', - 'first_failure_details': 'ClientFailureDetails', - 'association_status': 'int', - 'dynamic_vlan': 'int', - 'assoc_rssi': 'int', - 'prior_session_id': 'int', - 'prior_equipment_id': 'int', - 'classification_name': 'str', - 'association_state': 'str' - } - - attribute_map = { - 'session_id': 'sessionId', - 'auth_timestamp': 'authTimestamp', - 'assoc_timestamp': 'assocTimestamp', - 'assoc_internal_sc': 'assocInternalSC', - 'ip_timestamp': 'ipTimestamp', - 'disconnect_by_ap_timestamp': 'disconnectByApTimestamp', - 'disconnect_by_client_timestamp': 'disconnectByClientTimestamp', - 'timeout_timestamp': 'timeoutTimestamp', - 'first_data_sent_timestamp': 'firstDataSentTimestamp', - 'first_data_rcvd_timestamp': 'firstDataRcvdTimestamp', - 'ip_address': 'ipAddress', - 'radius_username': 'radiusUsername', - 'ssid': 'ssid', - 'radio_type': 'radioType', - 'last_event_timestamp': 'lastEventTimestamp', - 'hostname': 'hostname', - 'ap_fingerprint': 'apFingerprint', - 'user_agent_str': 'userAgentStr', - 'last_rx_timestamp': 'lastRxTimestamp', - 'last_tx_timestamp': 'lastTxTimestamp', - 'cp_username': 'cpUsername', - 'dhcp_details': 'dhcpDetails', - 'eap_details': 'eapDetails', - 'metric_details': 'metricDetails', - 'is_reassociation': 'isReassociation', - 'disconnect_by_ap_reason_code': 'disconnectByApReasonCode', - 'disconnect_by_client_reason_code': 'disconnectByClientReasonCode', - 'disconnect_by_ap_internal_reason_code': 'disconnectByApInternalReasonCode', - 'disconnect_by_client_internal_reason_code': 'disconnectByClientInternalReasonCode', - 'port_enabled_timestamp': 'portEnabledTimestamp', - 'is11_r_used': 'is11RUsed', - 'is11_k_used': 'is11KUsed', - 'is11_v_used': 'is11VUsed', - 'security_type': 'securityType', - 'steer_type': 'steerType', - 'previous_valid_session_id': 'previousValidSessionId', - 'last_failure_details': 'lastFailureDetails', - 'first_failure_details': 'firstFailureDetails', - 'association_status': 'associationStatus', - 'dynamic_vlan': 'dynamicVlan', - 'assoc_rssi': 'assocRssi', - 'prior_session_id': 'priorSessionId', - 'prior_equipment_id': 'priorEquipmentId', - 'classification_name': 'classificationName', - 'association_state': 'associationState' - } - - def __init__(self, session_id=None, auth_timestamp=None, assoc_timestamp=None, assoc_internal_sc=None, ip_timestamp=None, disconnect_by_ap_timestamp=None, disconnect_by_client_timestamp=None, timeout_timestamp=None, first_data_sent_timestamp=None, first_data_rcvd_timestamp=None, ip_address=None, radius_username=None, ssid=None, radio_type=None, last_event_timestamp=None, hostname=None, ap_fingerprint=None, user_agent_str=None, last_rx_timestamp=None, last_tx_timestamp=None, cp_username=None, dhcp_details=None, eap_details=None, metric_details=None, is_reassociation=None, disconnect_by_ap_reason_code=None, disconnect_by_client_reason_code=None, disconnect_by_ap_internal_reason_code=None, disconnect_by_client_internal_reason_code=None, port_enabled_timestamp=None, is11_r_used=None, is11_k_used=None, is11_v_used=None, security_type=None, steer_type=None, previous_valid_session_id=None, last_failure_details=None, first_failure_details=None, association_status=None, dynamic_vlan=None, assoc_rssi=None, prior_session_id=None, prior_equipment_id=None, classification_name=None, association_state=None): # noqa: E501 - """ClientSessionDetails - a model defined in Swagger""" # noqa: E501 - self._session_id = None - self._auth_timestamp = None - self._assoc_timestamp = None - self._assoc_internal_sc = None - self._ip_timestamp = None - self._disconnect_by_ap_timestamp = None - self._disconnect_by_client_timestamp = None - self._timeout_timestamp = None - self._first_data_sent_timestamp = None - self._first_data_rcvd_timestamp = None - self._ip_address = None - self._radius_username = None - self._ssid = None - self._radio_type = None - self._last_event_timestamp = None - self._hostname = None - self._ap_fingerprint = None - self._user_agent_str = None - self._last_rx_timestamp = None - self._last_tx_timestamp = None - self._cp_username = None - self._dhcp_details = None - self._eap_details = None - self._metric_details = None - self._is_reassociation = None - self._disconnect_by_ap_reason_code = None - self._disconnect_by_client_reason_code = None - self._disconnect_by_ap_internal_reason_code = None - self._disconnect_by_client_internal_reason_code = None - self._port_enabled_timestamp = None - self._is11_r_used = None - self._is11_k_used = None - self._is11_v_used = None - self._security_type = None - self._steer_type = None - self._previous_valid_session_id = None - self._last_failure_details = None - self._first_failure_details = None - self._association_status = None - self._dynamic_vlan = None - self._assoc_rssi = None - self._prior_session_id = None - self._prior_equipment_id = None - self._classification_name = None - self._association_state = None - self.discriminator = None - if session_id is not None: - self.session_id = session_id - if auth_timestamp is not None: - self.auth_timestamp = auth_timestamp - if assoc_timestamp is not None: - self.assoc_timestamp = assoc_timestamp - if assoc_internal_sc is not None: - self.assoc_internal_sc = assoc_internal_sc - if ip_timestamp is not None: - self.ip_timestamp = ip_timestamp - if disconnect_by_ap_timestamp is not None: - self.disconnect_by_ap_timestamp = disconnect_by_ap_timestamp - if disconnect_by_client_timestamp is not None: - self.disconnect_by_client_timestamp = disconnect_by_client_timestamp - if timeout_timestamp is not None: - self.timeout_timestamp = timeout_timestamp - if first_data_sent_timestamp is not None: - self.first_data_sent_timestamp = first_data_sent_timestamp - if first_data_rcvd_timestamp is not None: - self.first_data_rcvd_timestamp = first_data_rcvd_timestamp - if ip_address is not None: - self.ip_address = ip_address - if radius_username is not None: - self.radius_username = radius_username - if ssid is not None: - self.ssid = ssid - if radio_type is not None: - self.radio_type = radio_type - if last_event_timestamp is not None: - self.last_event_timestamp = last_event_timestamp - if hostname is not None: - self.hostname = hostname - if ap_fingerprint is not None: - self.ap_fingerprint = ap_fingerprint - if user_agent_str is not None: - self.user_agent_str = user_agent_str - if last_rx_timestamp is not None: - self.last_rx_timestamp = last_rx_timestamp - if last_tx_timestamp is not None: - self.last_tx_timestamp = last_tx_timestamp - if cp_username is not None: - self.cp_username = cp_username - if dhcp_details is not None: - self.dhcp_details = dhcp_details - if eap_details is not None: - self.eap_details = eap_details - if metric_details is not None: - self.metric_details = metric_details - if is_reassociation is not None: - self.is_reassociation = is_reassociation - if disconnect_by_ap_reason_code is not None: - self.disconnect_by_ap_reason_code = disconnect_by_ap_reason_code - if disconnect_by_client_reason_code is not None: - self.disconnect_by_client_reason_code = disconnect_by_client_reason_code - if disconnect_by_ap_internal_reason_code is not None: - self.disconnect_by_ap_internal_reason_code = disconnect_by_ap_internal_reason_code - if disconnect_by_client_internal_reason_code is not None: - self.disconnect_by_client_internal_reason_code = disconnect_by_client_internal_reason_code - if port_enabled_timestamp is not None: - self.port_enabled_timestamp = port_enabled_timestamp - if is11_r_used is not None: - self.is11_r_used = is11_r_used - if is11_k_used is not None: - self.is11_k_used = is11_k_used - if is11_v_used is not None: - self.is11_v_used = is11_v_used - if security_type is not None: - self.security_type = security_type - if steer_type is not None: - self.steer_type = steer_type - if previous_valid_session_id is not None: - self.previous_valid_session_id = previous_valid_session_id - if last_failure_details is not None: - self.last_failure_details = last_failure_details - if first_failure_details is not None: - self.first_failure_details = first_failure_details - if association_status is not None: - self.association_status = association_status - if dynamic_vlan is not None: - self.dynamic_vlan = dynamic_vlan - if assoc_rssi is not None: - self.assoc_rssi = assoc_rssi - if prior_session_id is not None: - self.prior_session_id = prior_session_id - if prior_equipment_id is not None: - self.prior_equipment_id = prior_equipment_id - if classification_name is not None: - self.classification_name = classification_name - if association_state is not None: - self.association_state = association_state - - @property - def session_id(self): - """Gets the session_id of this ClientSessionDetails. # noqa: E501 - - - :return: The session_id of this ClientSessionDetails. # noqa: E501 - :rtype: int - """ - return self._session_id - - @session_id.setter - def session_id(self, session_id): - """Sets the session_id of this ClientSessionDetails. - - - :param session_id: The session_id of this ClientSessionDetails. # noqa: E501 - :type: int - """ - - self._session_id = session_id - - @property - def auth_timestamp(self): - """Gets the auth_timestamp of this ClientSessionDetails. # noqa: E501 - - - :return: The auth_timestamp of this ClientSessionDetails. # noqa: E501 - :rtype: int - """ - return self._auth_timestamp - - @auth_timestamp.setter - def auth_timestamp(self, auth_timestamp): - """Sets the auth_timestamp of this ClientSessionDetails. - - - :param auth_timestamp: The auth_timestamp of this ClientSessionDetails. # noqa: E501 - :type: int - """ - - self._auth_timestamp = auth_timestamp - - @property - def assoc_timestamp(self): - """Gets the assoc_timestamp of this ClientSessionDetails. # noqa: E501 - - - :return: The assoc_timestamp of this ClientSessionDetails. # noqa: E501 - :rtype: int - """ - return self._assoc_timestamp - - @assoc_timestamp.setter - def assoc_timestamp(self, assoc_timestamp): - """Sets the assoc_timestamp of this ClientSessionDetails. - - - :param assoc_timestamp: The assoc_timestamp of this ClientSessionDetails. # noqa: E501 - :type: int - """ - - self._assoc_timestamp = assoc_timestamp - - @property - def assoc_internal_sc(self): - """Gets the assoc_internal_sc of this ClientSessionDetails. # noqa: E501 - - - :return: The assoc_internal_sc of this ClientSessionDetails. # noqa: E501 - :rtype: int - """ - return self._assoc_internal_sc - - @assoc_internal_sc.setter - def assoc_internal_sc(self, assoc_internal_sc): - """Sets the assoc_internal_sc of this ClientSessionDetails. - - - :param assoc_internal_sc: The assoc_internal_sc of this ClientSessionDetails. # noqa: E501 - :type: int - """ - - self._assoc_internal_sc = assoc_internal_sc - - @property - def ip_timestamp(self): - """Gets the ip_timestamp of this ClientSessionDetails. # noqa: E501 - - - :return: The ip_timestamp of this ClientSessionDetails. # noqa: E501 - :rtype: int - """ - return self._ip_timestamp - - @ip_timestamp.setter - def ip_timestamp(self, ip_timestamp): - """Sets the ip_timestamp of this ClientSessionDetails. - - - :param ip_timestamp: The ip_timestamp of this ClientSessionDetails. # noqa: E501 - :type: int - """ - - self._ip_timestamp = ip_timestamp - - @property - def disconnect_by_ap_timestamp(self): - """Gets the disconnect_by_ap_timestamp of this ClientSessionDetails. # noqa: E501 - - - :return: The disconnect_by_ap_timestamp of this ClientSessionDetails. # noqa: E501 - :rtype: int - """ - return self._disconnect_by_ap_timestamp - - @disconnect_by_ap_timestamp.setter - def disconnect_by_ap_timestamp(self, disconnect_by_ap_timestamp): - """Sets the disconnect_by_ap_timestamp of this ClientSessionDetails. - - - :param disconnect_by_ap_timestamp: The disconnect_by_ap_timestamp of this ClientSessionDetails. # noqa: E501 - :type: int - """ - - self._disconnect_by_ap_timestamp = disconnect_by_ap_timestamp - - @property - def disconnect_by_client_timestamp(self): - """Gets the disconnect_by_client_timestamp of this ClientSessionDetails. # noqa: E501 - - - :return: The disconnect_by_client_timestamp of this ClientSessionDetails. # noqa: E501 - :rtype: int - """ - return self._disconnect_by_client_timestamp - - @disconnect_by_client_timestamp.setter - def disconnect_by_client_timestamp(self, disconnect_by_client_timestamp): - """Sets the disconnect_by_client_timestamp of this ClientSessionDetails. - - - :param disconnect_by_client_timestamp: The disconnect_by_client_timestamp of this ClientSessionDetails. # noqa: E501 - :type: int - """ - - self._disconnect_by_client_timestamp = disconnect_by_client_timestamp - - @property - def timeout_timestamp(self): - """Gets the timeout_timestamp of this ClientSessionDetails. # noqa: E501 - - - :return: The timeout_timestamp of this ClientSessionDetails. # noqa: E501 - :rtype: int - """ - return self._timeout_timestamp - - @timeout_timestamp.setter - def timeout_timestamp(self, timeout_timestamp): - """Sets the timeout_timestamp of this ClientSessionDetails. - - - :param timeout_timestamp: The timeout_timestamp of this ClientSessionDetails. # noqa: E501 - :type: int - """ - - self._timeout_timestamp = timeout_timestamp - - @property - def first_data_sent_timestamp(self): - """Gets the first_data_sent_timestamp of this ClientSessionDetails. # noqa: E501 - - - :return: The first_data_sent_timestamp of this ClientSessionDetails. # noqa: E501 - :rtype: int - """ - return self._first_data_sent_timestamp - - @first_data_sent_timestamp.setter - def first_data_sent_timestamp(self, first_data_sent_timestamp): - """Sets the first_data_sent_timestamp of this ClientSessionDetails. - - - :param first_data_sent_timestamp: The first_data_sent_timestamp of this ClientSessionDetails. # noqa: E501 - :type: int - """ - - self._first_data_sent_timestamp = first_data_sent_timestamp - - @property - def first_data_rcvd_timestamp(self): - """Gets the first_data_rcvd_timestamp of this ClientSessionDetails. # noqa: E501 - - - :return: The first_data_rcvd_timestamp of this ClientSessionDetails. # noqa: E501 - :rtype: int - """ - return self._first_data_rcvd_timestamp - - @first_data_rcvd_timestamp.setter - def first_data_rcvd_timestamp(self, first_data_rcvd_timestamp): - """Sets the first_data_rcvd_timestamp of this ClientSessionDetails. - - - :param first_data_rcvd_timestamp: The first_data_rcvd_timestamp of this ClientSessionDetails. # noqa: E501 - :type: int - """ - - self._first_data_rcvd_timestamp = first_data_rcvd_timestamp - - @property - def ip_address(self): - """Gets the ip_address of this ClientSessionDetails. # noqa: E501 - - - :return: The ip_address of this ClientSessionDetails. # noqa: E501 - :rtype: str - """ - return self._ip_address - - @ip_address.setter - def ip_address(self, ip_address): - """Sets the ip_address of this ClientSessionDetails. - - - :param ip_address: The ip_address of this ClientSessionDetails. # noqa: E501 - :type: str - """ - - self._ip_address = ip_address - - @property - def radius_username(self): - """Gets the radius_username of this ClientSessionDetails. # noqa: E501 - - - :return: The radius_username of this ClientSessionDetails. # noqa: E501 - :rtype: str - """ - return self._radius_username - - @radius_username.setter - def radius_username(self, radius_username): - """Sets the radius_username of this ClientSessionDetails. - - - :param radius_username: The radius_username of this ClientSessionDetails. # noqa: E501 - :type: str - """ - - self._radius_username = radius_username - - @property - def ssid(self): - """Gets the ssid of this ClientSessionDetails. # noqa: E501 - - - :return: The ssid of this ClientSessionDetails. # noqa: E501 - :rtype: str - """ - return self._ssid - - @ssid.setter - def ssid(self, ssid): - """Sets the ssid of this ClientSessionDetails. - - - :param ssid: The ssid of this ClientSessionDetails. # noqa: E501 - :type: str - """ - - self._ssid = ssid - - @property - def radio_type(self): - """Gets the radio_type of this ClientSessionDetails. # noqa: E501 - - - :return: The radio_type of this ClientSessionDetails. # noqa: E501 - :rtype: RadioType - """ - return self._radio_type - - @radio_type.setter - def radio_type(self, radio_type): - """Sets the radio_type of this ClientSessionDetails. - - - :param radio_type: The radio_type of this ClientSessionDetails. # noqa: E501 - :type: RadioType - """ - - self._radio_type = radio_type - - @property - def last_event_timestamp(self): - """Gets the last_event_timestamp of this ClientSessionDetails. # noqa: E501 - - - :return: The last_event_timestamp of this ClientSessionDetails. # noqa: E501 - :rtype: int - """ - return self._last_event_timestamp - - @last_event_timestamp.setter - def last_event_timestamp(self, last_event_timestamp): - """Sets the last_event_timestamp of this ClientSessionDetails. - - - :param last_event_timestamp: The last_event_timestamp of this ClientSessionDetails. # noqa: E501 - :type: int - """ - - self._last_event_timestamp = last_event_timestamp - - @property - def hostname(self): - """Gets the hostname of this ClientSessionDetails. # noqa: E501 - - - :return: The hostname of this ClientSessionDetails. # noqa: E501 - :rtype: str - """ - return self._hostname - - @hostname.setter - def hostname(self, hostname): - """Sets the hostname of this ClientSessionDetails. - - - :param hostname: The hostname of this ClientSessionDetails. # noqa: E501 - :type: str - """ - - self._hostname = hostname - - @property - def ap_fingerprint(self): - """Gets the ap_fingerprint of this ClientSessionDetails. # noqa: E501 - - - :return: The ap_fingerprint of this ClientSessionDetails. # noqa: E501 - :rtype: str - """ - return self._ap_fingerprint - - @ap_fingerprint.setter - def ap_fingerprint(self, ap_fingerprint): - """Sets the ap_fingerprint of this ClientSessionDetails. - - - :param ap_fingerprint: The ap_fingerprint of this ClientSessionDetails. # noqa: E501 - :type: str - """ - - self._ap_fingerprint = ap_fingerprint - - @property - def user_agent_str(self): - """Gets the user_agent_str of this ClientSessionDetails. # noqa: E501 - - - :return: The user_agent_str of this ClientSessionDetails. # noqa: E501 - :rtype: str - """ - return self._user_agent_str - - @user_agent_str.setter - def user_agent_str(self, user_agent_str): - """Sets the user_agent_str of this ClientSessionDetails. - - - :param user_agent_str: The user_agent_str of this ClientSessionDetails. # noqa: E501 - :type: str - """ - - self._user_agent_str = user_agent_str - - @property - def last_rx_timestamp(self): - """Gets the last_rx_timestamp of this ClientSessionDetails. # noqa: E501 - - - :return: The last_rx_timestamp of this ClientSessionDetails. # noqa: E501 - :rtype: int - """ - return self._last_rx_timestamp - - @last_rx_timestamp.setter - def last_rx_timestamp(self, last_rx_timestamp): - """Sets the last_rx_timestamp of this ClientSessionDetails. - - - :param last_rx_timestamp: The last_rx_timestamp of this ClientSessionDetails. # noqa: E501 - :type: int - """ - - self._last_rx_timestamp = last_rx_timestamp - - @property - def last_tx_timestamp(self): - """Gets the last_tx_timestamp of this ClientSessionDetails. # noqa: E501 - - - :return: The last_tx_timestamp of this ClientSessionDetails. # noqa: E501 - :rtype: int - """ - return self._last_tx_timestamp - - @last_tx_timestamp.setter - def last_tx_timestamp(self, last_tx_timestamp): - """Sets the last_tx_timestamp of this ClientSessionDetails. - - - :param last_tx_timestamp: The last_tx_timestamp of this ClientSessionDetails. # noqa: E501 - :type: int - """ - - self._last_tx_timestamp = last_tx_timestamp - - @property - def cp_username(self): - """Gets the cp_username of this ClientSessionDetails. # noqa: E501 - - - :return: The cp_username of this ClientSessionDetails. # noqa: E501 - :rtype: str - """ - return self._cp_username - - @cp_username.setter - def cp_username(self, cp_username): - """Sets the cp_username of this ClientSessionDetails. - - - :param cp_username: The cp_username of this ClientSessionDetails. # noqa: E501 - :type: str - """ - - self._cp_username = cp_username - - @property - def dhcp_details(self): - """Gets the dhcp_details of this ClientSessionDetails. # noqa: E501 - - - :return: The dhcp_details of this ClientSessionDetails. # noqa: E501 - :rtype: ClientDhcpDetails - """ - return self._dhcp_details - - @dhcp_details.setter - def dhcp_details(self, dhcp_details): - """Sets the dhcp_details of this ClientSessionDetails. - - - :param dhcp_details: The dhcp_details of this ClientSessionDetails. # noqa: E501 - :type: ClientDhcpDetails - """ - - self._dhcp_details = dhcp_details - - @property - def eap_details(self): - """Gets the eap_details of this ClientSessionDetails. # noqa: E501 - - - :return: The eap_details of this ClientSessionDetails. # noqa: E501 - :rtype: ClientEapDetails - """ - return self._eap_details - - @eap_details.setter - def eap_details(self, eap_details): - """Sets the eap_details of this ClientSessionDetails. - - - :param eap_details: The eap_details of this ClientSessionDetails. # noqa: E501 - :type: ClientEapDetails - """ - - self._eap_details = eap_details - - @property - def metric_details(self): - """Gets the metric_details of this ClientSessionDetails. # noqa: E501 - - - :return: The metric_details of this ClientSessionDetails. # noqa: E501 - :rtype: ClientSessionMetricDetails - """ - return self._metric_details - - @metric_details.setter - def metric_details(self, metric_details): - """Sets the metric_details of this ClientSessionDetails. - - - :param metric_details: The metric_details of this ClientSessionDetails. # noqa: E501 - :type: ClientSessionMetricDetails - """ - - self._metric_details = metric_details - - @property - def is_reassociation(self): - """Gets the is_reassociation of this ClientSessionDetails. # noqa: E501 - - - :return: The is_reassociation of this ClientSessionDetails. # noqa: E501 - :rtype: bool - """ - return self._is_reassociation - - @is_reassociation.setter - def is_reassociation(self, is_reassociation): - """Sets the is_reassociation of this ClientSessionDetails. - - - :param is_reassociation: The is_reassociation of this ClientSessionDetails. # noqa: E501 - :type: bool - """ - - self._is_reassociation = is_reassociation - - @property - def disconnect_by_ap_reason_code(self): - """Gets the disconnect_by_ap_reason_code of this ClientSessionDetails. # noqa: E501 - - - :return: The disconnect_by_ap_reason_code of this ClientSessionDetails. # noqa: E501 - :rtype: int - """ - return self._disconnect_by_ap_reason_code - - @disconnect_by_ap_reason_code.setter - def disconnect_by_ap_reason_code(self, disconnect_by_ap_reason_code): - """Sets the disconnect_by_ap_reason_code of this ClientSessionDetails. - - - :param disconnect_by_ap_reason_code: The disconnect_by_ap_reason_code of this ClientSessionDetails. # noqa: E501 - :type: int - """ - - self._disconnect_by_ap_reason_code = disconnect_by_ap_reason_code - - @property - def disconnect_by_client_reason_code(self): - """Gets the disconnect_by_client_reason_code of this ClientSessionDetails. # noqa: E501 - - - :return: The disconnect_by_client_reason_code of this ClientSessionDetails. # noqa: E501 - :rtype: int - """ - return self._disconnect_by_client_reason_code - - @disconnect_by_client_reason_code.setter - def disconnect_by_client_reason_code(self, disconnect_by_client_reason_code): - """Sets the disconnect_by_client_reason_code of this ClientSessionDetails. - - - :param disconnect_by_client_reason_code: The disconnect_by_client_reason_code of this ClientSessionDetails. # noqa: E501 - :type: int - """ - - self._disconnect_by_client_reason_code = disconnect_by_client_reason_code - - @property - def disconnect_by_ap_internal_reason_code(self): - """Gets the disconnect_by_ap_internal_reason_code of this ClientSessionDetails. # noqa: E501 - - - :return: The disconnect_by_ap_internal_reason_code of this ClientSessionDetails. # noqa: E501 - :rtype: int - """ - return self._disconnect_by_ap_internal_reason_code - - @disconnect_by_ap_internal_reason_code.setter - def disconnect_by_ap_internal_reason_code(self, disconnect_by_ap_internal_reason_code): - """Sets the disconnect_by_ap_internal_reason_code of this ClientSessionDetails. - - - :param disconnect_by_ap_internal_reason_code: The disconnect_by_ap_internal_reason_code of this ClientSessionDetails. # noqa: E501 - :type: int - """ - - self._disconnect_by_ap_internal_reason_code = disconnect_by_ap_internal_reason_code - - @property - def disconnect_by_client_internal_reason_code(self): - """Gets the disconnect_by_client_internal_reason_code of this ClientSessionDetails. # noqa: E501 - - - :return: The disconnect_by_client_internal_reason_code of this ClientSessionDetails. # noqa: E501 - :rtype: int - """ - return self._disconnect_by_client_internal_reason_code - - @disconnect_by_client_internal_reason_code.setter - def disconnect_by_client_internal_reason_code(self, disconnect_by_client_internal_reason_code): - """Sets the disconnect_by_client_internal_reason_code of this ClientSessionDetails. - - - :param disconnect_by_client_internal_reason_code: The disconnect_by_client_internal_reason_code of this ClientSessionDetails. # noqa: E501 - :type: int - """ - - self._disconnect_by_client_internal_reason_code = disconnect_by_client_internal_reason_code - - @property - def port_enabled_timestamp(self): - """Gets the port_enabled_timestamp of this ClientSessionDetails. # noqa: E501 - - - :return: The port_enabled_timestamp of this ClientSessionDetails. # noqa: E501 - :rtype: int - """ - return self._port_enabled_timestamp - - @port_enabled_timestamp.setter - def port_enabled_timestamp(self, port_enabled_timestamp): - """Sets the port_enabled_timestamp of this ClientSessionDetails. - - - :param port_enabled_timestamp: The port_enabled_timestamp of this ClientSessionDetails. # noqa: E501 - :type: int - """ - - self._port_enabled_timestamp = port_enabled_timestamp - - @property - def is11_r_used(self): - """Gets the is11_r_used of this ClientSessionDetails. # noqa: E501 - - - :return: The is11_r_used of this ClientSessionDetails. # noqa: E501 - :rtype: bool - """ - return self._is11_r_used - - @is11_r_used.setter - def is11_r_used(self, is11_r_used): - """Sets the is11_r_used of this ClientSessionDetails. - - - :param is11_r_used: The is11_r_used of this ClientSessionDetails. # noqa: E501 - :type: bool - """ - - self._is11_r_used = is11_r_used - - @property - def is11_k_used(self): - """Gets the is11_k_used of this ClientSessionDetails. # noqa: E501 - - - :return: The is11_k_used of this ClientSessionDetails. # noqa: E501 - :rtype: bool - """ - return self._is11_k_used - - @is11_k_used.setter - def is11_k_used(self, is11_k_used): - """Sets the is11_k_used of this ClientSessionDetails. - - - :param is11_k_used: The is11_k_used of this ClientSessionDetails. # noqa: E501 - :type: bool - """ - - self._is11_k_used = is11_k_used - - @property - def is11_v_used(self): - """Gets the is11_v_used of this ClientSessionDetails. # noqa: E501 - - - :return: The is11_v_used of this ClientSessionDetails. # noqa: E501 - :rtype: bool - """ - return self._is11_v_used - - @is11_v_used.setter - def is11_v_used(self, is11_v_used): - """Sets the is11_v_used of this ClientSessionDetails. - - - :param is11_v_used: The is11_v_used of this ClientSessionDetails. # noqa: E501 - :type: bool - """ - - self._is11_v_used = is11_v_used - - @property - def security_type(self): - """Gets the security_type of this ClientSessionDetails. # noqa: E501 - - - :return: The security_type of this ClientSessionDetails. # noqa: E501 - :rtype: SecurityType - """ - return self._security_type - - @security_type.setter - def security_type(self, security_type): - """Sets the security_type of this ClientSessionDetails. - - - :param security_type: The security_type of this ClientSessionDetails. # noqa: E501 - :type: SecurityType - """ - - self._security_type = security_type - - @property - def steer_type(self): - """Gets the steer_type of this ClientSessionDetails. # noqa: E501 - - - :return: The steer_type of this ClientSessionDetails. # noqa: E501 - :rtype: SteerType - """ - return self._steer_type - - @steer_type.setter - def steer_type(self, steer_type): - """Sets the steer_type of this ClientSessionDetails. - - - :param steer_type: The steer_type of this ClientSessionDetails. # noqa: E501 - :type: SteerType - """ - - self._steer_type = steer_type - - @property - def previous_valid_session_id(self): - """Gets the previous_valid_session_id of this ClientSessionDetails. # noqa: E501 - - - :return: The previous_valid_session_id of this ClientSessionDetails. # noqa: E501 - :rtype: int - """ - return self._previous_valid_session_id - - @previous_valid_session_id.setter - def previous_valid_session_id(self, previous_valid_session_id): - """Sets the previous_valid_session_id of this ClientSessionDetails. - - - :param previous_valid_session_id: The previous_valid_session_id of this ClientSessionDetails. # noqa: E501 - :type: int - """ - - self._previous_valid_session_id = previous_valid_session_id - - @property - def last_failure_details(self): - """Gets the last_failure_details of this ClientSessionDetails. # noqa: E501 - - - :return: The last_failure_details of this ClientSessionDetails. # noqa: E501 - :rtype: ClientFailureDetails - """ - return self._last_failure_details - - @last_failure_details.setter - def last_failure_details(self, last_failure_details): - """Sets the last_failure_details of this ClientSessionDetails. - - - :param last_failure_details: The last_failure_details of this ClientSessionDetails. # noqa: E501 - :type: ClientFailureDetails - """ - - self._last_failure_details = last_failure_details - - @property - def first_failure_details(self): - """Gets the first_failure_details of this ClientSessionDetails. # noqa: E501 - - - :return: The first_failure_details of this ClientSessionDetails. # noqa: E501 - :rtype: ClientFailureDetails - """ - return self._first_failure_details - - @first_failure_details.setter - def first_failure_details(self, first_failure_details): - """Sets the first_failure_details of this ClientSessionDetails. - - - :param first_failure_details: The first_failure_details of this ClientSessionDetails. # noqa: E501 - :type: ClientFailureDetails - """ - - self._first_failure_details = first_failure_details - - @property - def association_status(self): - """Gets the association_status of this ClientSessionDetails. # noqa: E501 - - - :return: The association_status of this ClientSessionDetails. # noqa: E501 - :rtype: int - """ - return self._association_status - - @association_status.setter - def association_status(self, association_status): - """Sets the association_status of this ClientSessionDetails. - - - :param association_status: The association_status of this ClientSessionDetails. # noqa: E501 - :type: int - """ - - self._association_status = association_status - - @property - def dynamic_vlan(self): - """Gets the dynamic_vlan of this ClientSessionDetails. # noqa: E501 - - - :return: The dynamic_vlan of this ClientSessionDetails. # noqa: E501 - :rtype: int - """ - return self._dynamic_vlan - - @dynamic_vlan.setter - def dynamic_vlan(self, dynamic_vlan): - """Sets the dynamic_vlan of this ClientSessionDetails. - - - :param dynamic_vlan: The dynamic_vlan of this ClientSessionDetails. # noqa: E501 - :type: int - """ - - self._dynamic_vlan = dynamic_vlan - - @property - def assoc_rssi(self): - """Gets the assoc_rssi of this ClientSessionDetails. # noqa: E501 - - - :return: The assoc_rssi of this ClientSessionDetails. # noqa: E501 - :rtype: int - """ - return self._assoc_rssi - - @assoc_rssi.setter - def assoc_rssi(self, assoc_rssi): - """Sets the assoc_rssi of this ClientSessionDetails. - - - :param assoc_rssi: The assoc_rssi of this ClientSessionDetails. # noqa: E501 - :type: int - """ - - self._assoc_rssi = assoc_rssi - - @property - def prior_session_id(self): - """Gets the prior_session_id of this ClientSessionDetails. # noqa: E501 - - - :return: The prior_session_id of this ClientSessionDetails. # noqa: E501 - :rtype: int - """ - return self._prior_session_id - - @prior_session_id.setter - def prior_session_id(self, prior_session_id): - """Sets the prior_session_id of this ClientSessionDetails. - - - :param prior_session_id: The prior_session_id of this ClientSessionDetails. # noqa: E501 - :type: int - """ - - self._prior_session_id = prior_session_id - - @property - def prior_equipment_id(self): - """Gets the prior_equipment_id of this ClientSessionDetails. # noqa: E501 - - - :return: The prior_equipment_id of this ClientSessionDetails. # noqa: E501 - :rtype: int - """ - return self._prior_equipment_id - - @prior_equipment_id.setter - def prior_equipment_id(self, prior_equipment_id): - """Sets the prior_equipment_id of this ClientSessionDetails. - - - :param prior_equipment_id: The prior_equipment_id of this ClientSessionDetails. # noqa: E501 - :type: int - """ - - self._prior_equipment_id = prior_equipment_id - - @property - def classification_name(self): - """Gets the classification_name of this ClientSessionDetails. # noqa: E501 - - - :return: The classification_name of this ClientSessionDetails. # noqa: E501 - :rtype: str - """ - return self._classification_name - - @classification_name.setter - def classification_name(self, classification_name): - """Sets the classification_name of this ClientSessionDetails. - - - :param classification_name: The classification_name of this ClientSessionDetails. # noqa: E501 - :type: str - """ - - self._classification_name = classification_name - - @property - def association_state(self): - """Gets the association_state of this ClientSessionDetails. # noqa: E501 - - - :return: The association_state of this ClientSessionDetails. # noqa: E501 - :rtype: str - """ - return self._association_state - - @association_state.setter - def association_state(self, association_state): - """Sets the association_state of this ClientSessionDetails. - - - :param association_state: The association_state of this ClientSessionDetails. # noqa: E501 - :type: str - """ - allowed_values = ["_802_11_Authenticated", "_802_11_Associated,", "_802_1x_Authenticated", "Valid_Ip", "Active_Data", "AP_Timeout", "Cloud_Timeout", "Disconnected"] # noqa: E501 - if association_state not in allowed_values: - raise ValueError( - "Invalid value for `association_state` ({0}), must be one of {1}" # noqa: E501 - .format(association_state, allowed_values) - ) - - self._association_state = association_state - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ClientSessionDetails, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ClientSessionDetails): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/client_session_metric_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/client_session_metric_details.py deleted file mode 100644 index b9e9d9ebf..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/client_session_metric_details.py +++ /dev/null @@ -1,532 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ClientSessionMetricDetails(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'rx_bytes': 'int', - 'tx_bytes': 'int', - 'total_rx_packets': 'int', - 'total_tx_packets': 'int', - 'rx_mbps': 'float', - 'tx_mbps': 'float', - 'rssi': 'int', - 'snr': 'int', - 'rx_rate_kbps': 'int', - 'tx_rate_kbps': 'int', - 'last_metric_timestamp': 'int', - 'last_rx_timestamp': 'int', - 'last_tx_timestamp': 'int', - 'classification': 'str', - 'tx_data_frames': 'int', - 'tx_data_frames_retried': 'int', - 'rx_data_frames': 'int' - } - - attribute_map = { - 'rx_bytes': 'rxBytes', - 'tx_bytes': 'txBytes', - 'total_rx_packets': 'totalRxPackets', - 'total_tx_packets': 'totalTxPackets', - 'rx_mbps': 'rxMbps', - 'tx_mbps': 'txMbps', - 'rssi': 'rssi', - 'snr': 'snr', - 'rx_rate_kbps': 'rxRateKbps', - 'tx_rate_kbps': 'txRateKbps', - 'last_metric_timestamp': 'lastMetricTimestamp', - 'last_rx_timestamp': 'lastRxTimestamp', - 'last_tx_timestamp': 'lastTxTimestamp', - 'classification': 'classification', - 'tx_data_frames': 'txDataFrames', - 'tx_data_frames_retried': 'txDataFramesRetried', - 'rx_data_frames': 'rxDataFrames' - } - - def __init__(self, rx_bytes=None, tx_bytes=None, total_rx_packets=None, total_tx_packets=None, rx_mbps=None, tx_mbps=None, rssi=None, snr=None, rx_rate_kbps=None, tx_rate_kbps=None, last_metric_timestamp=None, last_rx_timestamp=None, last_tx_timestamp=None, classification=None, tx_data_frames=None, tx_data_frames_retried=None, rx_data_frames=None): # noqa: E501 - """ClientSessionMetricDetails - a model defined in Swagger""" # noqa: E501 - self._rx_bytes = None - self._tx_bytes = None - self._total_rx_packets = None - self._total_tx_packets = None - self._rx_mbps = None - self._tx_mbps = None - self._rssi = None - self._snr = None - self._rx_rate_kbps = None - self._tx_rate_kbps = None - self._last_metric_timestamp = None - self._last_rx_timestamp = None - self._last_tx_timestamp = None - self._classification = None - self._tx_data_frames = None - self._tx_data_frames_retried = None - self._rx_data_frames = None - self.discriminator = None - if rx_bytes is not None: - self.rx_bytes = rx_bytes - if tx_bytes is not None: - self.tx_bytes = tx_bytes - if total_rx_packets is not None: - self.total_rx_packets = total_rx_packets - if total_tx_packets is not None: - self.total_tx_packets = total_tx_packets - if rx_mbps is not None: - self.rx_mbps = rx_mbps - if tx_mbps is not None: - self.tx_mbps = tx_mbps - if rssi is not None: - self.rssi = rssi - if snr is not None: - self.snr = snr - if rx_rate_kbps is not None: - self.rx_rate_kbps = rx_rate_kbps - if tx_rate_kbps is not None: - self.tx_rate_kbps = tx_rate_kbps - if last_metric_timestamp is not None: - self.last_metric_timestamp = last_metric_timestamp - if last_rx_timestamp is not None: - self.last_rx_timestamp = last_rx_timestamp - if last_tx_timestamp is not None: - self.last_tx_timestamp = last_tx_timestamp - if classification is not None: - self.classification = classification - if tx_data_frames is not None: - self.tx_data_frames = tx_data_frames - if tx_data_frames_retried is not None: - self.tx_data_frames_retried = tx_data_frames_retried - if rx_data_frames is not None: - self.rx_data_frames = rx_data_frames - - @property - def rx_bytes(self): - """Gets the rx_bytes of this ClientSessionMetricDetails. # noqa: E501 - - - :return: The rx_bytes of this ClientSessionMetricDetails. # noqa: E501 - :rtype: int - """ - return self._rx_bytes - - @rx_bytes.setter - def rx_bytes(self, rx_bytes): - """Sets the rx_bytes of this ClientSessionMetricDetails. - - - :param rx_bytes: The rx_bytes of this ClientSessionMetricDetails. # noqa: E501 - :type: int - """ - - self._rx_bytes = rx_bytes - - @property - def tx_bytes(self): - """Gets the tx_bytes of this ClientSessionMetricDetails. # noqa: E501 - - - :return: The tx_bytes of this ClientSessionMetricDetails. # noqa: E501 - :rtype: int - """ - return self._tx_bytes - - @tx_bytes.setter - def tx_bytes(self, tx_bytes): - """Sets the tx_bytes of this ClientSessionMetricDetails. - - - :param tx_bytes: The tx_bytes of this ClientSessionMetricDetails. # noqa: E501 - :type: int - """ - - self._tx_bytes = tx_bytes - - @property - def total_rx_packets(self): - """Gets the total_rx_packets of this ClientSessionMetricDetails. # noqa: E501 - - - :return: The total_rx_packets of this ClientSessionMetricDetails. # noqa: E501 - :rtype: int - """ - return self._total_rx_packets - - @total_rx_packets.setter - def total_rx_packets(self, total_rx_packets): - """Sets the total_rx_packets of this ClientSessionMetricDetails. - - - :param total_rx_packets: The total_rx_packets of this ClientSessionMetricDetails. # noqa: E501 - :type: int - """ - - self._total_rx_packets = total_rx_packets - - @property - def total_tx_packets(self): - """Gets the total_tx_packets of this ClientSessionMetricDetails. # noqa: E501 - - - :return: The total_tx_packets of this ClientSessionMetricDetails. # noqa: E501 - :rtype: int - """ - return self._total_tx_packets - - @total_tx_packets.setter - def total_tx_packets(self, total_tx_packets): - """Sets the total_tx_packets of this ClientSessionMetricDetails. - - - :param total_tx_packets: The total_tx_packets of this ClientSessionMetricDetails. # noqa: E501 - :type: int - """ - - self._total_tx_packets = total_tx_packets - - @property - def rx_mbps(self): - """Gets the rx_mbps of this ClientSessionMetricDetails. # noqa: E501 - - - :return: The rx_mbps of this ClientSessionMetricDetails. # noqa: E501 - :rtype: float - """ - return self._rx_mbps - - @rx_mbps.setter - def rx_mbps(self, rx_mbps): - """Sets the rx_mbps of this ClientSessionMetricDetails. - - - :param rx_mbps: The rx_mbps of this ClientSessionMetricDetails. # noqa: E501 - :type: float - """ - - self._rx_mbps = rx_mbps - - @property - def tx_mbps(self): - """Gets the tx_mbps of this ClientSessionMetricDetails. # noqa: E501 - - - :return: The tx_mbps of this ClientSessionMetricDetails. # noqa: E501 - :rtype: float - """ - return self._tx_mbps - - @tx_mbps.setter - def tx_mbps(self, tx_mbps): - """Sets the tx_mbps of this ClientSessionMetricDetails. - - - :param tx_mbps: The tx_mbps of this ClientSessionMetricDetails. # noqa: E501 - :type: float - """ - - self._tx_mbps = tx_mbps - - @property - def rssi(self): - """Gets the rssi of this ClientSessionMetricDetails. # noqa: E501 - - - :return: The rssi of this ClientSessionMetricDetails. # noqa: E501 - :rtype: int - """ - return self._rssi - - @rssi.setter - def rssi(self, rssi): - """Sets the rssi of this ClientSessionMetricDetails. - - - :param rssi: The rssi of this ClientSessionMetricDetails. # noqa: E501 - :type: int - """ - - self._rssi = rssi - - @property - def snr(self): - """Gets the snr of this ClientSessionMetricDetails. # noqa: E501 - - - :return: The snr of this ClientSessionMetricDetails. # noqa: E501 - :rtype: int - """ - return self._snr - - @snr.setter - def snr(self, snr): - """Sets the snr of this ClientSessionMetricDetails. - - - :param snr: The snr of this ClientSessionMetricDetails. # noqa: E501 - :type: int - """ - - self._snr = snr - - @property - def rx_rate_kbps(self): - """Gets the rx_rate_kbps of this ClientSessionMetricDetails. # noqa: E501 - - - :return: The rx_rate_kbps of this ClientSessionMetricDetails. # noqa: E501 - :rtype: int - """ - return self._rx_rate_kbps - - @rx_rate_kbps.setter - def rx_rate_kbps(self, rx_rate_kbps): - """Sets the rx_rate_kbps of this ClientSessionMetricDetails. - - - :param rx_rate_kbps: The rx_rate_kbps of this ClientSessionMetricDetails. # noqa: E501 - :type: int - """ - - self._rx_rate_kbps = rx_rate_kbps - - @property - def tx_rate_kbps(self): - """Gets the tx_rate_kbps of this ClientSessionMetricDetails. # noqa: E501 - - - :return: The tx_rate_kbps of this ClientSessionMetricDetails. # noqa: E501 - :rtype: int - """ - return self._tx_rate_kbps - - @tx_rate_kbps.setter - def tx_rate_kbps(self, tx_rate_kbps): - """Sets the tx_rate_kbps of this ClientSessionMetricDetails. - - - :param tx_rate_kbps: The tx_rate_kbps of this ClientSessionMetricDetails. # noqa: E501 - :type: int - """ - - self._tx_rate_kbps = tx_rate_kbps - - @property - def last_metric_timestamp(self): - """Gets the last_metric_timestamp of this ClientSessionMetricDetails. # noqa: E501 - - - :return: The last_metric_timestamp of this ClientSessionMetricDetails. # noqa: E501 - :rtype: int - """ - return self._last_metric_timestamp - - @last_metric_timestamp.setter - def last_metric_timestamp(self, last_metric_timestamp): - """Sets the last_metric_timestamp of this ClientSessionMetricDetails. - - - :param last_metric_timestamp: The last_metric_timestamp of this ClientSessionMetricDetails. # noqa: E501 - :type: int - """ - - self._last_metric_timestamp = last_metric_timestamp - - @property - def last_rx_timestamp(self): - """Gets the last_rx_timestamp of this ClientSessionMetricDetails. # noqa: E501 - - - :return: The last_rx_timestamp of this ClientSessionMetricDetails. # noqa: E501 - :rtype: int - """ - return self._last_rx_timestamp - - @last_rx_timestamp.setter - def last_rx_timestamp(self, last_rx_timestamp): - """Sets the last_rx_timestamp of this ClientSessionMetricDetails. - - - :param last_rx_timestamp: The last_rx_timestamp of this ClientSessionMetricDetails. # noqa: E501 - :type: int - """ - - self._last_rx_timestamp = last_rx_timestamp - - @property - def last_tx_timestamp(self): - """Gets the last_tx_timestamp of this ClientSessionMetricDetails. # noqa: E501 - - - :return: The last_tx_timestamp of this ClientSessionMetricDetails. # noqa: E501 - :rtype: int - """ - return self._last_tx_timestamp - - @last_tx_timestamp.setter - def last_tx_timestamp(self, last_tx_timestamp): - """Sets the last_tx_timestamp of this ClientSessionMetricDetails. - - - :param last_tx_timestamp: The last_tx_timestamp of this ClientSessionMetricDetails. # noqa: E501 - :type: int - """ - - self._last_tx_timestamp = last_tx_timestamp - - @property - def classification(self): - """Gets the classification of this ClientSessionMetricDetails. # noqa: E501 - - - :return: The classification of this ClientSessionMetricDetails. # noqa: E501 - :rtype: str - """ - return self._classification - - @classification.setter - def classification(self, classification): - """Sets the classification of this ClientSessionMetricDetails. - - - :param classification: The classification of this ClientSessionMetricDetails. # noqa: E501 - :type: str - """ - - self._classification = classification - - @property - def tx_data_frames(self): - """Gets the tx_data_frames of this ClientSessionMetricDetails. # noqa: E501 - - The number of dataframes transmitted TO the client from the AP. # noqa: E501 - - :return: The tx_data_frames of this ClientSessionMetricDetails. # noqa: E501 - :rtype: int - """ - return self._tx_data_frames - - @tx_data_frames.setter - def tx_data_frames(self, tx_data_frames): - """Sets the tx_data_frames of this ClientSessionMetricDetails. - - The number of dataframes transmitted TO the client from the AP. # noqa: E501 - - :param tx_data_frames: The tx_data_frames of this ClientSessionMetricDetails. # noqa: E501 - :type: int - """ - - self._tx_data_frames = tx_data_frames - - @property - def tx_data_frames_retried(self): - """Gets the tx_data_frames_retried of this ClientSessionMetricDetails. # noqa: E501 - - The number of data frames transmitted TO the client that were retried. Note this is not the same as the number of retries. # noqa: E501 - - :return: The tx_data_frames_retried of this ClientSessionMetricDetails. # noqa: E501 - :rtype: int - """ - return self._tx_data_frames_retried - - @tx_data_frames_retried.setter - def tx_data_frames_retried(self, tx_data_frames_retried): - """Sets the tx_data_frames_retried of this ClientSessionMetricDetails. - - The number of data frames transmitted TO the client that were retried. Note this is not the same as the number of retries. # noqa: E501 - - :param tx_data_frames_retried: The tx_data_frames_retried of this ClientSessionMetricDetails. # noqa: E501 - :type: int - """ - - self._tx_data_frames_retried = tx_data_frames_retried - - @property - def rx_data_frames(self): - """Gets the rx_data_frames of this ClientSessionMetricDetails. # noqa: E501 - - The number of dataframes transmitted FROM the client TO the AP. # noqa: E501 - - :return: The rx_data_frames of this ClientSessionMetricDetails. # noqa: E501 - :rtype: int - """ - return self._rx_data_frames - - @rx_data_frames.setter - def rx_data_frames(self, rx_data_frames): - """Sets the rx_data_frames of this ClientSessionMetricDetails. - - The number of dataframes transmitted FROM the client TO the AP. # noqa: E501 - - :param rx_data_frames: The rx_data_frames of this ClientSessionMetricDetails. # noqa: E501 - :type: int - """ - - self._rx_data_frames = rx_data_frames - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ClientSessionMetricDetails, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ClientSessionMetricDetails): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/client_session_removed_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/client_session_removed_event.py deleted file mode 100644 index c0c6f8184..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/client_session_removed_event.py +++ /dev/null @@ -1,215 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ClientSessionRemovedEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'event_timestamp': 'int', - 'customer_id': 'int', - 'equipment_id': 'int', - 'payload': 'ClientSession' - } - - attribute_map = { - 'model_type': 'model_type', - 'event_timestamp': 'eventTimestamp', - 'customer_id': 'customerId', - 'equipment_id': 'equipmentId', - 'payload': 'payload' - } - - def __init__(self, model_type=None, event_timestamp=None, customer_id=None, equipment_id=None, payload=None): # noqa: E501 - """ClientSessionRemovedEvent - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._event_timestamp = None - self._customer_id = None - self._equipment_id = None - self._payload = None - self.discriminator = None - self.model_type = model_type - if event_timestamp is not None: - self.event_timestamp = event_timestamp - if customer_id is not None: - self.customer_id = customer_id - if equipment_id is not None: - self.equipment_id = equipment_id - if payload is not None: - self.payload = payload - - @property - def model_type(self): - """Gets the model_type of this ClientSessionRemovedEvent. # noqa: E501 - - - :return: The model_type of this ClientSessionRemovedEvent. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this ClientSessionRemovedEvent. - - - :param model_type: The model_type of this ClientSessionRemovedEvent. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - - self._model_type = model_type - - @property - def event_timestamp(self): - """Gets the event_timestamp of this ClientSessionRemovedEvent. # noqa: E501 - - - :return: The event_timestamp of this ClientSessionRemovedEvent. # noqa: E501 - :rtype: int - """ - return self._event_timestamp - - @event_timestamp.setter - def event_timestamp(self, event_timestamp): - """Sets the event_timestamp of this ClientSessionRemovedEvent. - - - :param event_timestamp: The event_timestamp of this ClientSessionRemovedEvent. # noqa: E501 - :type: int - """ - - self._event_timestamp = event_timestamp - - @property - def customer_id(self): - """Gets the customer_id of this ClientSessionRemovedEvent. # noqa: E501 - - - :return: The customer_id of this ClientSessionRemovedEvent. # noqa: E501 - :rtype: int - """ - return self._customer_id - - @customer_id.setter - def customer_id(self, customer_id): - """Sets the customer_id of this ClientSessionRemovedEvent. - - - :param customer_id: The customer_id of this ClientSessionRemovedEvent. # noqa: E501 - :type: int - """ - - self._customer_id = customer_id - - @property - def equipment_id(self): - """Gets the equipment_id of this ClientSessionRemovedEvent. # noqa: E501 - - - :return: The equipment_id of this ClientSessionRemovedEvent. # noqa: E501 - :rtype: int - """ - return self._equipment_id - - @equipment_id.setter - def equipment_id(self, equipment_id): - """Sets the equipment_id of this ClientSessionRemovedEvent. - - - :param equipment_id: The equipment_id of this ClientSessionRemovedEvent. # noqa: E501 - :type: int - """ - - self._equipment_id = equipment_id - - @property - def payload(self): - """Gets the payload of this ClientSessionRemovedEvent. # noqa: E501 - - - :return: The payload of this ClientSessionRemovedEvent. # noqa: E501 - :rtype: ClientSession - """ - return self._payload - - @payload.setter - def payload(self, payload): - """Sets the payload of this ClientSessionRemovedEvent. - - - :param payload: The payload of this ClientSessionRemovedEvent. # noqa: E501 - :type: ClientSession - """ - - self._payload = payload - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ClientSessionRemovedEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ClientSessionRemovedEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/client_timeout_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/client_timeout_event.py deleted file mode 100644 index 049f461c7..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/client_timeout_event.py +++ /dev/null @@ -1,267 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ClientTimeoutEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'all_of': 'RealTimeEvent', - 'session_id': 'int', - 'client_mac_address': 'MacAddress', - 'last_recv_time': 'int', - 'last_sent_time': 'int', - 'timeout_reason': 'ClientTimeoutReason' - } - - attribute_map = { - 'model_type': 'model_type', - 'all_of': 'allOf', - 'session_id': 'sessionId', - 'client_mac_address': 'clientMacAddress', - 'last_recv_time': 'lastRecvTime', - 'last_sent_time': 'lastSentTime', - 'timeout_reason': 'timeoutReason' - } - - def __init__(self, model_type=None, all_of=None, session_id=None, client_mac_address=None, last_recv_time=None, last_sent_time=None, timeout_reason=None): # noqa: E501 - """ClientTimeoutEvent - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._all_of = None - self._session_id = None - self._client_mac_address = None - self._last_recv_time = None - self._last_sent_time = None - self._timeout_reason = None - self.discriminator = None - self.model_type = model_type - if all_of is not None: - self.all_of = all_of - if session_id is not None: - self.session_id = session_id - if client_mac_address is not None: - self.client_mac_address = client_mac_address - if last_recv_time is not None: - self.last_recv_time = last_recv_time - if last_sent_time is not None: - self.last_sent_time = last_sent_time - if timeout_reason is not None: - self.timeout_reason = timeout_reason - - @property - def model_type(self): - """Gets the model_type of this ClientTimeoutEvent. # noqa: E501 - - - :return: The model_type of this ClientTimeoutEvent. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this ClientTimeoutEvent. - - - :param model_type: The model_type of this ClientTimeoutEvent. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - - self._model_type = model_type - - @property - def all_of(self): - """Gets the all_of of this ClientTimeoutEvent. # noqa: E501 - - - :return: The all_of of this ClientTimeoutEvent. # noqa: E501 - :rtype: RealTimeEvent - """ - return self._all_of - - @all_of.setter - def all_of(self, all_of): - """Sets the all_of of this ClientTimeoutEvent. - - - :param all_of: The all_of of this ClientTimeoutEvent. # noqa: E501 - :type: RealTimeEvent - """ - - self._all_of = all_of - - @property - def session_id(self): - """Gets the session_id of this ClientTimeoutEvent. # noqa: E501 - - - :return: The session_id of this ClientTimeoutEvent. # noqa: E501 - :rtype: int - """ - return self._session_id - - @session_id.setter - def session_id(self, session_id): - """Sets the session_id of this ClientTimeoutEvent. - - - :param session_id: The session_id of this ClientTimeoutEvent. # noqa: E501 - :type: int - """ - - self._session_id = session_id - - @property - def client_mac_address(self): - """Gets the client_mac_address of this ClientTimeoutEvent. # noqa: E501 - - - :return: The client_mac_address of this ClientTimeoutEvent. # noqa: E501 - :rtype: MacAddress - """ - return self._client_mac_address - - @client_mac_address.setter - def client_mac_address(self, client_mac_address): - """Sets the client_mac_address of this ClientTimeoutEvent. - - - :param client_mac_address: The client_mac_address of this ClientTimeoutEvent. # noqa: E501 - :type: MacAddress - """ - - self._client_mac_address = client_mac_address - - @property - def last_recv_time(self): - """Gets the last_recv_time of this ClientTimeoutEvent. # noqa: E501 - - - :return: The last_recv_time of this ClientTimeoutEvent. # noqa: E501 - :rtype: int - """ - return self._last_recv_time - - @last_recv_time.setter - def last_recv_time(self, last_recv_time): - """Sets the last_recv_time of this ClientTimeoutEvent. - - - :param last_recv_time: The last_recv_time of this ClientTimeoutEvent. # noqa: E501 - :type: int - """ - - self._last_recv_time = last_recv_time - - @property - def last_sent_time(self): - """Gets the last_sent_time of this ClientTimeoutEvent. # noqa: E501 - - - :return: The last_sent_time of this ClientTimeoutEvent. # noqa: E501 - :rtype: int - """ - return self._last_sent_time - - @last_sent_time.setter - def last_sent_time(self, last_sent_time): - """Sets the last_sent_time of this ClientTimeoutEvent. - - - :param last_sent_time: The last_sent_time of this ClientTimeoutEvent. # noqa: E501 - :type: int - """ - - self._last_sent_time = last_sent_time - - @property - def timeout_reason(self): - """Gets the timeout_reason of this ClientTimeoutEvent. # noqa: E501 - - - :return: The timeout_reason of this ClientTimeoutEvent. # noqa: E501 - :rtype: ClientTimeoutReason - """ - return self._timeout_reason - - @timeout_reason.setter - def timeout_reason(self, timeout_reason): - """Sets the timeout_reason of this ClientTimeoutEvent. - - - :param timeout_reason: The timeout_reason of this ClientTimeoutEvent. # noqa: E501 - :type: ClientTimeoutReason - """ - - self._timeout_reason = timeout_reason - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ClientTimeoutEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ClientTimeoutEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/client_timeout_reason.py b/libs/cloudapi/cloudsdk/swagger_client/models/client_timeout_reason.py deleted file mode 100644 index c746ec9b4..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/client_timeout_reason.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ClientTimeoutReason(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - IDLETOOLONG = "IdleTooLong" - FAILEDPROBE = "FailedProbe" - UNSUPPORTED = "UNSUPPORTED" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """ClientTimeoutReason - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ClientTimeoutReason, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ClientTimeoutReason): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/common_probe_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/common_probe_details.py deleted file mode 100644 index 275035599..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/common_probe_details.py +++ /dev/null @@ -1,188 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class CommonProbeDetails(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'latency_ms': 'MinMaxAvgValueInt', - 'num_success_probe_requests': 'int', - 'num_failed_probe_requests': 'int', - 'status': 'StatusCode' - } - - attribute_map = { - 'latency_ms': 'latencyMs', - 'num_success_probe_requests': 'numSuccessProbeRequests', - 'num_failed_probe_requests': 'numFailedProbeRequests', - 'status': 'status' - } - - def __init__(self, latency_ms=None, num_success_probe_requests=None, num_failed_probe_requests=None, status=None): # noqa: E501 - """CommonProbeDetails - a model defined in Swagger""" # noqa: E501 - self._latency_ms = None - self._num_success_probe_requests = None - self._num_failed_probe_requests = None - self._status = None - self.discriminator = None - if latency_ms is not None: - self.latency_ms = latency_ms - if num_success_probe_requests is not None: - self.num_success_probe_requests = num_success_probe_requests - if num_failed_probe_requests is not None: - self.num_failed_probe_requests = num_failed_probe_requests - if status is not None: - self.status = status - - @property - def latency_ms(self): - """Gets the latency_ms of this CommonProbeDetails. # noqa: E501 - - - :return: The latency_ms of this CommonProbeDetails. # noqa: E501 - :rtype: MinMaxAvgValueInt - """ - return self._latency_ms - - @latency_ms.setter - def latency_ms(self, latency_ms): - """Sets the latency_ms of this CommonProbeDetails. - - - :param latency_ms: The latency_ms of this CommonProbeDetails. # noqa: E501 - :type: MinMaxAvgValueInt - """ - - self._latency_ms = latency_ms - - @property - def num_success_probe_requests(self): - """Gets the num_success_probe_requests of this CommonProbeDetails. # noqa: E501 - - - :return: The num_success_probe_requests of this CommonProbeDetails. # noqa: E501 - :rtype: int - """ - return self._num_success_probe_requests - - @num_success_probe_requests.setter - def num_success_probe_requests(self, num_success_probe_requests): - """Sets the num_success_probe_requests of this CommonProbeDetails. - - - :param num_success_probe_requests: The num_success_probe_requests of this CommonProbeDetails. # noqa: E501 - :type: int - """ - - self._num_success_probe_requests = num_success_probe_requests - - @property - def num_failed_probe_requests(self): - """Gets the num_failed_probe_requests of this CommonProbeDetails. # noqa: E501 - - - :return: The num_failed_probe_requests of this CommonProbeDetails. # noqa: E501 - :rtype: int - """ - return self._num_failed_probe_requests - - @num_failed_probe_requests.setter - def num_failed_probe_requests(self, num_failed_probe_requests): - """Sets the num_failed_probe_requests of this CommonProbeDetails. - - - :param num_failed_probe_requests: The num_failed_probe_requests of this CommonProbeDetails. # noqa: E501 - :type: int - """ - - self._num_failed_probe_requests = num_failed_probe_requests - - @property - def status(self): - """Gets the status of this CommonProbeDetails. # noqa: E501 - - - :return: The status of this CommonProbeDetails. # noqa: E501 - :rtype: StatusCode - """ - return self._status - - @status.setter - def status(self, status): - """Sets the status of this CommonProbeDetails. - - - :param status: The status of this CommonProbeDetails. # noqa: E501 - :type: StatusCode - """ - - self._status = status - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(CommonProbeDetails, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, CommonProbeDetails): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/country_code.py b/libs/cloudapi/cloudsdk/swagger_client/models/country_code.py deleted file mode 100644 index bf5d34d54..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/country_code.py +++ /dev/null @@ -1,338 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class CountryCode(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - AD = "AD" - AE = "AE" - AF = "AF" - AG = "AG" - AI = "AI" - AL = "AL" - AM = "AM" - AO = "AO" - AQ = "AQ" - AR = "AR" - AS = "AS" - AT = "AT" - AU = "AU" - AW = "AW" - AX = "AX" - AZ = "AZ" - BA = "BA" - BB = "BB" - BD = "BD" - BE = "BE" - BF = "BF" - BG = "BG" - BH = "BH" - BI = "BI" - BJ = "BJ" - BL = "BL" - BM = "BM" - BN = "BN" - BO = "BO" - BQ = "BQ" - BR = "BR" - BS = "BS" - BT = "BT" - BV = "BV" - BW = "BW" - BY = "BY" - BZ = "BZ" - CA = "CA" - CC = "CC" - CD = "CD" - CF = "CF" - CG = "CG" - CH = "CH" - CI = "CI" - CK = "CK" - CL = "CL" - CM = "CM" - CN = "CN" - CO = "CO" - CR = "CR" - CU = "CU" - CV = "CV" - CW = "CW" - CX = "CX" - CY = "CY" - CZ = "CZ" - DE = "DE" - DJ = "DJ" - DK = "DK" - DM = "DM" - DO = "DO" - DZ = "DZ" - EC = "EC" - EE = "EE" - EG = "EG" - EH = "EH" - ER = "ER" - ES = "ES" - ET = "ET" - FI = "FI" - FJ = "FJ" - FK = "FK" - FM = "FM" - FO = "FO" - FR = "FR" - GA = "GA" - GB = "GB" - GD = "GD" - GE = "GE" - GF = "GF" - GG = "GG" - GH = "GH" - GI = "GI" - GL = "GL" - GM = "GM" - GN = "GN" - GP = "GP" - GQ = "GQ" - GR = "GR" - GS = "GS" - GT = "GT" - GU = "GU" - GW = "GW" - GY = "GY" - HK = "HK" - HM = "HM" - HN = "HN" - HR = "HR" - HT = "HT" - HU = "HU" - ID = "ID" - IE = "IE" - IL = "IL" - IM = "IM" - IN = "IN" - IO = "IO" - IQ = "IQ" - IR = "IR" - IS = "IS" - IT = "IT" - JE = "JE" - JM = "JM" - JO = "JO" - JP = "JP" - KE = "KE" - KG = "KG" - KH = "KH" - KI = "KI" - KM = "KM" - KN = "KN" - KP = "KP" - KR = "KR" - KW = "KW" - KY = "KY" - KZ = "KZ" - LA = "LA" - LB = "LB" - LC = "LC" - LI = "LI" - LK = "LK" - LR = "LR" - LS = "LS" - LT = "LT" - LU = "LU" - LV = "LV" - LY = "LY" - MA = "MA" - MC = "MC" - MD = "MD" - ME = "ME" - MF = "MF" - MG = "MG" - MH = "MH" - MK = "MK" - ML = "ML" - MM = "MM" - MN = "MN" - MO = "MO" - MP = "MP" - MQ = "MQ" - MR = "MR" - MS = "MS" - MT = "MT" - MU = "MU" - MV = "MV" - MW = "MW" - MX = "MX" - MY = "MY" - MZ = "MZ" - NA = "NA" - NC = "NC" - NE = "NE" - NF = "NF" - NG = "NG" - NI = "NI" - NL = "NL" - NO = "NO" - NP = "NP" - NR = "NR" - NU = "NU" - NZ = "NZ" - OM = "OM" - PA = "PA" - PE = "PE" - PF = "PF" - PG = "PG" - PH = "PH" - PK = "PK" - PL = "PL" - PM = "PM" - PN = "PN" - PR = "PR" - PS = "PS" - PT = "PT" - PW = "PW" - PY = "PY" - QA = "QA" - RE = "RE" - RO = "RO" - RS = "RS" - RU = "RU" - RW = "RW" - SA = "SA" - SB = "SB" - SC = "SC" - SD = "SD" - SE = "SE" - SG = "SG" - SH = "SH" - SI = "SI" - SJ = "SJ" - SK = "SK" - SL = "SL" - SM = "SM" - SN = "SN" - SO = "SO" - SR = "SR" - SS = "SS" - ST = "ST" - SV = "SV" - SX = "SX" - SY = "SY" - SZ = "SZ" - TC = "TC" - TD = "TD" - TF = "TF" - TG = "TG" - TH = "TH" - TJ = "TJ" - TK = "TK" - TL = "TL" - TM = "TM" - TN = "TN" - TO = "TO" - TR = "TR" - TT = "TT" - TV = "TV" - TW = "TW" - TZ = "TZ" - UA = "UA" - UG = "UG" - UM = "UM" - US = "US" - UY = "UY" - UZ = "UZ" - VA = "VA" - VC = "VC" - VE = "VE" - VG = "VG" - VI = "VI" - VN = "VN" - VU = "VU" - WF = "WF" - WS = "WS" - YE = "YE" - YT = "YT" - ZA = "ZA" - ZM = "ZM" - ZW = "ZW" - UNSUPPORTED = "UNSUPPORTED" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """CountryCode - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(CountryCode, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, CountryCode): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/counts_per_alarm_code_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/counts_per_alarm_code_map.py deleted file mode 100644 index 21a04555b..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/counts_per_alarm_code_map.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class CountsPerAlarmCodeMap(dict): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - if hasattr(dict, "swagger_types"): - swagger_types.update(dict.swagger_types) - - attribute_map = { - } - if hasattr(dict, "attribute_map"): - attribute_map.update(dict.attribute_map) - - def __init__(self, *args, **kwargs): # noqa: E501 - """CountsPerAlarmCodeMap - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - dict.__init__(self, *args, **kwargs) - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(CountsPerAlarmCodeMap, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, CountsPerAlarmCodeMap): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/counts_per_equipment_id_per_alarm_code_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/counts_per_equipment_id_per_alarm_code_map.py deleted file mode 100644 index f9d00bc00..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/counts_per_equipment_id_per_alarm_code_map.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class CountsPerEquipmentIdPerAlarmCodeMap(dict): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - if hasattr(dict, "swagger_types"): - swagger_types.update(dict.swagger_types) - - attribute_map = { - } - if hasattr(dict, "attribute_map"): - attribute_map.update(dict.attribute_map) - - def __init__(self, *args, **kwargs): # noqa: E501 - """CountsPerEquipmentIdPerAlarmCodeMap - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - dict.__init__(self, *args, **kwargs) - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(CountsPerEquipmentIdPerAlarmCodeMap, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, CountsPerEquipmentIdPerAlarmCodeMap): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/customer.py b/libs/cloudapi/cloudsdk/swagger_client/models/customer.py deleted file mode 100644 index cf198bafb..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/customer.py +++ /dev/null @@ -1,246 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class Customer(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'int', - 'email': 'str', - 'name': 'str', - 'details': 'CustomerDetails', - 'created_timestamp': 'int', - 'last_modified_timestamp': 'int' - } - - attribute_map = { - 'id': 'id', - 'email': 'email', - 'name': 'name', - 'details': 'details', - 'created_timestamp': 'createdTimestamp', - 'last_modified_timestamp': 'lastModifiedTimestamp' - } - - def __init__(self, id=None, email=None, name=None, details=None, created_timestamp=None, last_modified_timestamp=None): # noqa: E501 - """Customer - a model defined in Swagger""" # noqa: E501 - self._id = None - self._email = None - self._name = None - self._details = None - self._created_timestamp = None - self._last_modified_timestamp = None - self.discriminator = None - self.id = id - self.email = email - self.name = name - if details is not None: - self.details = details - if created_timestamp is not None: - self.created_timestamp = created_timestamp - self.last_modified_timestamp = last_modified_timestamp - - @property - def id(self): - """Gets the id of this Customer. # noqa: E501 - - - :return: The id of this Customer. # noqa: E501 - :rtype: int - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this Customer. - - - :param id: The id of this Customer. # noqa: E501 - :type: int - """ - if id is None: - raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 - - self._id = id - - @property - def email(self): - """Gets the email of this Customer. # noqa: E501 - - - :return: The email of this Customer. # noqa: E501 - :rtype: str - """ - return self._email - - @email.setter - def email(self, email): - """Sets the email of this Customer. - - - :param email: The email of this Customer. # noqa: E501 - :type: str - """ - if email is None: - raise ValueError("Invalid value for `email`, must not be `None`") # noqa: E501 - - self._email = email - - @property - def name(self): - """Gets the name of this Customer. # noqa: E501 - - - :return: The name of this Customer. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this Customer. - - - :param name: The name of this Customer. # noqa: E501 - :type: str - """ - if name is None: - raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 - - self._name = name - - @property - def details(self): - """Gets the details of this Customer. # noqa: E501 - - - :return: The details of this Customer. # noqa: E501 - :rtype: CustomerDetails - """ - return self._details - - @details.setter - def details(self, details): - """Sets the details of this Customer. - - - :param details: The details of this Customer. # noqa: E501 - :type: CustomerDetails - """ - - self._details = details - - @property - def created_timestamp(self): - """Gets the created_timestamp of this Customer. # noqa: E501 - - - :return: The created_timestamp of this Customer. # noqa: E501 - :rtype: int - """ - return self._created_timestamp - - @created_timestamp.setter - def created_timestamp(self, created_timestamp): - """Sets the created_timestamp of this Customer. - - - :param created_timestamp: The created_timestamp of this Customer. # noqa: E501 - :type: int - """ - - self._created_timestamp = created_timestamp - - @property - def last_modified_timestamp(self): - """Gets the last_modified_timestamp of this Customer. # noqa: E501 - - must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database # noqa: E501 - - :return: The last_modified_timestamp of this Customer. # noqa: E501 - :rtype: int - """ - return self._last_modified_timestamp - - @last_modified_timestamp.setter - def last_modified_timestamp(self, last_modified_timestamp): - """Sets the last_modified_timestamp of this Customer. - - must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database # noqa: E501 - - :param last_modified_timestamp: The last_modified_timestamp of this Customer. # noqa: E501 - :type: int - """ - if last_modified_timestamp is None: - raise ValueError("Invalid value for `last_modified_timestamp`, must not be `None`") # noqa: E501 - - self._last_modified_timestamp = last_modified_timestamp - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(Customer, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, Customer): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/customer_added_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/customer_added_event.py deleted file mode 100644 index aa197595d..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/customer_added_event.py +++ /dev/null @@ -1,189 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class CustomerAddedEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'event_timestamp': 'int', - 'customer_id': 'int', - 'payload': 'Customer' - } - - attribute_map = { - 'model_type': 'model_type', - 'event_timestamp': 'eventTimestamp', - 'customer_id': 'customerId', - 'payload': 'payload' - } - - def __init__(self, model_type=None, event_timestamp=None, customer_id=None, payload=None): # noqa: E501 - """CustomerAddedEvent - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._event_timestamp = None - self._customer_id = None - self._payload = None - self.discriminator = None - self.model_type = model_type - if event_timestamp is not None: - self.event_timestamp = event_timestamp - if customer_id is not None: - self.customer_id = customer_id - if payload is not None: - self.payload = payload - - @property - def model_type(self): - """Gets the model_type of this CustomerAddedEvent. # noqa: E501 - - - :return: The model_type of this CustomerAddedEvent. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this CustomerAddedEvent. - - - :param model_type: The model_type of this CustomerAddedEvent. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - - self._model_type = model_type - - @property - def event_timestamp(self): - """Gets the event_timestamp of this CustomerAddedEvent. # noqa: E501 - - - :return: The event_timestamp of this CustomerAddedEvent. # noqa: E501 - :rtype: int - """ - return self._event_timestamp - - @event_timestamp.setter - def event_timestamp(self, event_timestamp): - """Sets the event_timestamp of this CustomerAddedEvent. - - - :param event_timestamp: The event_timestamp of this CustomerAddedEvent. # noqa: E501 - :type: int - """ - - self._event_timestamp = event_timestamp - - @property - def customer_id(self): - """Gets the customer_id of this CustomerAddedEvent. # noqa: E501 - - - :return: The customer_id of this CustomerAddedEvent. # noqa: E501 - :rtype: int - """ - return self._customer_id - - @customer_id.setter - def customer_id(self, customer_id): - """Sets the customer_id of this CustomerAddedEvent. - - - :param customer_id: The customer_id of this CustomerAddedEvent. # noqa: E501 - :type: int - """ - - self._customer_id = customer_id - - @property - def payload(self): - """Gets the payload of this CustomerAddedEvent. # noqa: E501 - - - :return: The payload of this CustomerAddedEvent. # noqa: E501 - :rtype: Customer - """ - return self._payload - - @payload.setter - def payload(self, payload): - """Sets the payload of this CustomerAddedEvent. - - - :param payload: The payload of this CustomerAddedEvent. # noqa: E501 - :type: Customer - """ - - self._payload = payload - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(CustomerAddedEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, CustomerAddedEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/customer_changed_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/customer_changed_event.py deleted file mode 100644 index de3cdc1b8..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/customer_changed_event.py +++ /dev/null @@ -1,189 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class CustomerChangedEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'event_timestamp': 'int', - 'customer_id': 'int', - 'payload': 'Customer' - } - - attribute_map = { - 'model_type': 'model_type', - 'event_timestamp': 'eventTimestamp', - 'customer_id': 'customerId', - 'payload': 'payload' - } - - def __init__(self, model_type=None, event_timestamp=None, customer_id=None, payload=None): # noqa: E501 - """CustomerChangedEvent - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._event_timestamp = None - self._customer_id = None - self._payload = None - self.discriminator = None - self.model_type = model_type - if event_timestamp is not None: - self.event_timestamp = event_timestamp - if customer_id is not None: - self.customer_id = customer_id - if payload is not None: - self.payload = payload - - @property - def model_type(self): - """Gets the model_type of this CustomerChangedEvent. # noqa: E501 - - - :return: The model_type of this CustomerChangedEvent. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this CustomerChangedEvent. - - - :param model_type: The model_type of this CustomerChangedEvent. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - - self._model_type = model_type - - @property - def event_timestamp(self): - """Gets the event_timestamp of this CustomerChangedEvent. # noqa: E501 - - - :return: The event_timestamp of this CustomerChangedEvent. # noqa: E501 - :rtype: int - """ - return self._event_timestamp - - @event_timestamp.setter - def event_timestamp(self, event_timestamp): - """Sets the event_timestamp of this CustomerChangedEvent. - - - :param event_timestamp: The event_timestamp of this CustomerChangedEvent. # noqa: E501 - :type: int - """ - - self._event_timestamp = event_timestamp - - @property - def customer_id(self): - """Gets the customer_id of this CustomerChangedEvent. # noqa: E501 - - - :return: The customer_id of this CustomerChangedEvent. # noqa: E501 - :rtype: int - """ - return self._customer_id - - @customer_id.setter - def customer_id(self, customer_id): - """Sets the customer_id of this CustomerChangedEvent. - - - :param customer_id: The customer_id of this CustomerChangedEvent. # noqa: E501 - :type: int - """ - - self._customer_id = customer_id - - @property - def payload(self): - """Gets the payload of this CustomerChangedEvent. # noqa: E501 - - - :return: The payload of this CustomerChangedEvent. # noqa: E501 - :rtype: Customer - """ - return self._payload - - @payload.setter - def payload(self, payload): - """Sets the payload of this CustomerChangedEvent. - - - :param payload: The payload of this CustomerChangedEvent. # noqa: E501 - :type: Customer - """ - - self._payload = payload - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(CustomerChangedEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, CustomerChangedEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/customer_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/customer_details.py deleted file mode 100644 index b87007833..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/customer_details.py +++ /dev/null @@ -1,110 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class CustomerDetails(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'auto_provisioning': 'EquipmentAutoProvisioningSettings' - } - - attribute_map = { - 'auto_provisioning': 'autoProvisioning' - } - - def __init__(self, auto_provisioning=None): # noqa: E501 - """CustomerDetails - a model defined in Swagger""" # noqa: E501 - self._auto_provisioning = None - self.discriminator = None - if auto_provisioning is not None: - self.auto_provisioning = auto_provisioning - - @property - def auto_provisioning(self): - """Gets the auto_provisioning of this CustomerDetails. # noqa: E501 - - - :return: The auto_provisioning of this CustomerDetails. # noqa: E501 - :rtype: EquipmentAutoProvisioningSettings - """ - return self._auto_provisioning - - @auto_provisioning.setter - def auto_provisioning(self, auto_provisioning): - """Sets the auto_provisioning of this CustomerDetails. - - - :param auto_provisioning: The auto_provisioning of this CustomerDetails. # noqa: E501 - :type: EquipmentAutoProvisioningSettings - """ - - self._auto_provisioning = auto_provisioning - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(CustomerDetails, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, CustomerDetails): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/customer_firmware_track_record.py b/libs/cloudapi/cloudsdk/swagger_client/models/customer_firmware_track_record.py deleted file mode 100644 index fb3e88a35..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/customer_firmware_track_record.py +++ /dev/null @@ -1,216 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class CustomerFirmwareTrackRecord(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'customer_id': 'int', - 'track_record_id': 'int', - 'settings': 'CustomerFirmwareTrackSettings', - 'created_timestamp': 'int', - 'last_modified_timestamp': 'int' - } - - attribute_map = { - 'customer_id': 'customerId', - 'track_record_id': 'trackRecordId', - 'settings': 'settings', - 'created_timestamp': 'createdTimestamp', - 'last_modified_timestamp': 'lastModifiedTimestamp' - } - - def __init__(self, customer_id=None, track_record_id=None, settings=None, created_timestamp=None, last_modified_timestamp=None): # noqa: E501 - """CustomerFirmwareTrackRecord - a model defined in Swagger""" # noqa: E501 - self._customer_id = None - self._track_record_id = None - self._settings = None - self._created_timestamp = None - self._last_modified_timestamp = None - self.discriminator = None - if customer_id is not None: - self.customer_id = customer_id - if track_record_id is not None: - self.track_record_id = track_record_id - if settings is not None: - self.settings = settings - if created_timestamp is not None: - self.created_timestamp = created_timestamp - if last_modified_timestamp is not None: - self.last_modified_timestamp = last_modified_timestamp - - @property - def customer_id(self): - """Gets the customer_id of this CustomerFirmwareTrackRecord. # noqa: E501 - - - :return: The customer_id of this CustomerFirmwareTrackRecord. # noqa: E501 - :rtype: int - """ - return self._customer_id - - @customer_id.setter - def customer_id(self, customer_id): - """Sets the customer_id of this CustomerFirmwareTrackRecord. - - - :param customer_id: The customer_id of this CustomerFirmwareTrackRecord. # noqa: E501 - :type: int - """ - - self._customer_id = customer_id - - @property - def track_record_id(self): - """Gets the track_record_id of this CustomerFirmwareTrackRecord. # noqa: E501 - - - :return: The track_record_id of this CustomerFirmwareTrackRecord. # noqa: E501 - :rtype: int - """ - return self._track_record_id - - @track_record_id.setter - def track_record_id(self, track_record_id): - """Sets the track_record_id of this CustomerFirmwareTrackRecord. - - - :param track_record_id: The track_record_id of this CustomerFirmwareTrackRecord. # noqa: E501 - :type: int - """ - - self._track_record_id = track_record_id - - @property - def settings(self): - """Gets the settings of this CustomerFirmwareTrackRecord. # noqa: E501 - - - :return: The settings of this CustomerFirmwareTrackRecord. # noqa: E501 - :rtype: CustomerFirmwareTrackSettings - """ - return self._settings - - @settings.setter - def settings(self, settings): - """Sets the settings of this CustomerFirmwareTrackRecord. - - - :param settings: The settings of this CustomerFirmwareTrackRecord. # noqa: E501 - :type: CustomerFirmwareTrackSettings - """ - - self._settings = settings - - @property - def created_timestamp(self): - """Gets the created_timestamp of this CustomerFirmwareTrackRecord. # noqa: E501 - - - :return: The created_timestamp of this CustomerFirmwareTrackRecord. # noqa: E501 - :rtype: int - """ - return self._created_timestamp - - @created_timestamp.setter - def created_timestamp(self, created_timestamp): - """Sets the created_timestamp of this CustomerFirmwareTrackRecord. - - - :param created_timestamp: The created_timestamp of this CustomerFirmwareTrackRecord. # noqa: E501 - :type: int - """ - - self._created_timestamp = created_timestamp - - @property - def last_modified_timestamp(self): - """Gets the last_modified_timestamp of this CustomerFirmwareTrackRecord. # noqa: E501 - - must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database # noqa: E501 - - :return: The last_modified_timestamp of this CustomerFirmwareTrackRecord. # noqa: E501 - :rtype: int - """ - return self._last_modified_timestamp - - @last_modified_timestamp.setter - def last_modified_timestamp(self, last_modified_timestamp): - """Sets the last_modified_timestamp of this CustomerFirmwareTrackRecord. - - must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database # noqa: E501 - - :param last_modified_timestamp: The last_modified_timestamp of this CustomerFirmwareTrackRecord. # noqa: E501 - :type: int - """ - - self._last_modified_timestamp = last_modified_timestamp - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(CustomerFirmwareTrackRecord, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, CustomerFirmwareTrackRecord): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/customer_firmware_track_settings.py b/libs/cloudapi/cloudsdk/swagger_client/models/customer_firmware_track_settings.py deleted file mode 100644 index 55041716d..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/customer_firmware_track_settings.py +++ /dev/null @@ -1,188 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class CustomerFirmwareTrackSettings(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'auto_upgrade_deprecated_on_bind': 'TrackFlag', - 'auto_upgrade_unknown_on_bind': 'TrackFlag', - 'auto_upgrade_deprecated_during_maintenance': 'TrackFlag', - 'auto_upgrade_unknown_during_maintenance': 'TrackFlag' - } - - attribute_map = { - 'auto_upgrade_deprecated_on_bind': 'autoUpgradeDeprecatedOnBind', - 'auto_upgrade_unknown_on_bind': 'autoUpgradeUnknownOnBind', - 'auto_upgrade_deprecated_during_maintenance': 'autoUpgradeDeprecatedDuringMaintenance', - 'auto_upgrade_unknown_during_maintenance': 'autoUpgradeUnknownDuringMaintenance' - } - - def __init__(self, auto_upgrade_deprecated_on_bind=None, auto_upgrade_unknown_on_bind=None, auto_upgrade_deprecated_during_maintenance=None, auto_upgrade_unknown_during_maintenance=None): # noqa: E501 - """CustomerFirmwareTrackSettings - a model defined in Swagger""" # noqa: E501 - self._auto_upgrade_deprecated_on_bind = None - self._auto_upgrade_unknown_on_bind = None - self._auto_upgrade_deprecated_during_maintenance = None - self._auto_upgrade_unknown_during_maintenance = None - self.discriminator = None - if auto_upgrade_deprecated_on_bind is not None: - self.auto_upgrade_deprecated_on_bind = auto_upgrade_deprecated_on_bind - if auto_upgrade_unknown_on_bind is not None: - self.auto_upgrade_unknown_on_bind = auto_upgrade_unknown_on_bind - if auto_upgrade_deprecated_during_maintenance is not None: - self.auto_upgrade_deprecated_during_maintenance = auto_upgrade_deprecated_during_maintenance - if auto_upgrade_unknown_during_maintenance is not None: - self.auto_upgrade_unknown_during_maintenance = auto_upgrade_unknown_during_maintenance - - @property - def auto_upgrade_deprecated_on_bind(self): - """Gets the auto_upgrade_deprecated_on_bind of this CustomerFirmwareTrackSettings. # noqa: E501 - - - :return: The auto_upgrade_deprecated_on_bind of this CustomerFirmwareTrackSettings. # noqa: E501 - :rtype: TrackFlag - """ - return self._auto_upgrade_deprecated_on_bind - - @auto_upgrade_deprecated_on_bind.setter - def auto_upgrade_deprecated_on_bind(self, auto_upgrade_deprecated_on_bind): - """Sets the auto_upgrade_deprecated_on_bind of this CustomerFirmwareTrackSettings. - - - :param auto_upgrade_deprecated_on_bind: The auto_upgrade_deprecated_on_bind of this CustomerFirmwareTrackSettings. # noqa: E501 - :type: TrackFlag - """ - - self._auto_upgrade_deprecated_on_bind = auto_upgrade_deprecated_on_bind - - @property - def auto_upgrade_unknown_on_bind(self): - """Gets the auto_upgrade_unknown_on_bind of this CustomerFirmwareTrackSettings. # noqa: E501 - - - :return: The auto_upgrade_unknown_on_bind of this CustomerFirmwareTrackSettings. # noqa: E501 - :rtype: TrackFlag - """ - return self._auto_upgrade_unknown_on_bind - - @auto_upgrade_unknown_on_bind.setter - def auto_upgrade_unknown_on_bind(self, auto_upgrade_unknown_on_bind): - """Sets the auto_upgrade_unknown_on_bind of this CustomerFirmwareTrackSettings. - - - :param auto_upgrade_unknown_on_bind: The auto_upgrade_unknown_on_bind of this CustomerFirmwareTrackSettings. # noqa: E501 - :type: TrackFlag - """ - - self._auto_upgrade_unknown_on_bind = auto_upgrade_unknown_on_bind - - @property - def auto_upgrade_deprecated_during_maintenance(self): - """Gets the auto_upgrade_deprecated_during_maintenance of this CustomerFirmwareTrackSettings. # noqa: E501 - - - :return: The auto_upgrade_deprecated_during_maintenance of this CustomerFirmwareTrackSettings. # noqa: E501 - :rtype: TrackFlag - """ - return self._auto_upgrade_deprecated_during_maintenance - - @auto_upgrade_deprecated_during_maintenance.setter - def auto_upgrade_deprecated_during_maintenance(self, auto_upgrade_deprecated_during_maintenance): - """Sets the auto_upgrade_deprecated_during_maintenance of this CustomerFirmwareTrackSettings. - - - :param auto_upgrade_deprecated_during_maintenance: The auto_upgrade_deprecated_during_maintenance of this CustomerFirmwareTrackSettings. # noqa: E501 - :type: TrackFlag - """ - - self._auto_upgrade_deprecated_during_maintenance = auto_upgrade_deprecated_during_maintenance - - @property - def auto_upgrade_unknown_during_maintenance(self): - """Gets the auto_upgrade_unknown_during_maintenance of this CustomerFirmwareTrackSettings. # noqa: E501 - - - :return: The auto_upgrade_unknown_during_maintenance of this CustomerFirmwareTrackSettings. # noqa: E501 - :rtype: TrackFlag - """ - return self._auto_upgrade_unknown_during_maintenance - - @auto_upgrade_unknown_during_maintenance.setter - def auto_upgrade_unknown_during_maintenance(self, auto_upgrade_unknown_during_maintenance): - """Sets the auto_upgrade_unknown_during_maintenance of this CustomerFirmwareTrackSettings. - - - :param auto_upgrade_unknown_during_maintenance: The auto_upgrade_unknown_during_maintenance of this CustomerFirmwareTrackSettings. # noqa: E501 - :type: TrackFlag - """ - - self._auto_upgrade_unknown_during_maintenance = auto_upgrade_unknown_during_maintenance - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(CustomerFirmwareTrackSettings, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, CustomerFirmwareTrackSettings): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/customer_portal_dashboard_status.py b/libs/cloudapi/cloudsdk/swagger_client/models/customer_portal_dashboard_status.py deleted file mode 100644 index 050864c9c..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/customer_portal_dashboard_status.py +++ /dev/null @@ -1,439 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class CustomerPortalDashboardStatus(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'status_data_type': 'str', - 'time_bucket_id': 'int', - 'time_bucket_ms': 'int', - 'equipment_in_service_count': 'int', - 'equipment_with_clients_count': 'int', - 'total_provisioned_equipment': 'int', - 'traffic_bytes_downstream': 'int', - 'traffic_bytes_upstream': 'int', - 'associated_clients_count_per_radio': 'IntegerPerRadioTypeMap', - 'client_count_per_oui': 'IntegerValueMap', - 'equipment_count_per_oui': 'IntegerValueMap', - 'alarms_count_by_severity': 'IntegerPerStatusCodeMap' - } - - attribute_map = { - 'model_type': 'model_type', - 'status_data_type': 'statusDataType', - 'time_bucket_id': 'timeBucketId', - 'time_bucket_ms': 'timeBucketMs', - 'equipment_in_service_count': 'equipmentInServiceCount', - 'equipment_with_clients_count': 'equipmentWithClientsCount', - 'total_provisioned_equipment': 'totalProvisionedEquipment', - 'traffic_bytes_downstream': 'trafficBytesDownstream', - 'traffic_bytes_upstream': 'trafficBytesUpstream', - 'associated_clients_count_per_radio': 'associatedClientsCountPerRadio', - 'client_count_per_oui': 'clientCountPerOui', - 'equipment_count_per_oui': 'equipmentCountPerOui', - 'alarms_count_by_severity': 'alarmsCountBySeverity' - } - - def __init__(self, model_type=None, status_data_type=None, time_bucket_id=None, time_bucket_ms=None, equipment_in_service_count=None, equipment_with_clients_count=None, total_provisioned_equipment=None, traffic_bytes_downstream=None, traffic_bytes_upstream=None, associated_clients_count_per_radio=None, client_count_per_oui=None, equipment_count_per_oui=None, alarms_count_by_severity=None): # noqa: E501 - """CustomerPortalDashboardStatus - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._status_data_type = None - self._time_bucket_id = None - self._time_bucket_ms = None - self._equipment_in_service_count = None - self._equipment_with_clients_count = None - self._total_provisioned_equipment = None - self._traffic_bytes_downstream = None - self._traffic_bytes_upstream = None - self._associated_clients_count_per_radio = None - self._client_count_per_oui = None - self._equipment_count_per_oui = None - self._alarms_count_by_severity = None - self.discriminator = None - self.model_type = model_type - if status_data_type is not None: - self.status_data_type = status_data_type - if time_bucket_id is not None: - self.time_bucket_id = time_bucket_id - if time_bucket_ms is not None: - self.time_bucket_ms = time_bucket_ms - if equipment_in_service_count is not None: - self.equipment_in_service_count = equipment_in_service_count - if equipment_with_clients_count is not None: - self.equipment_with_clients_count = equipment_with_clients_count - if total_provisioned_equipment is not None: - self.total_provisioned_equipment = total_provisioned_equipment - if traffic_bytes_downstream is not None: - self.traffic_bytes_downstream = traffic_bytes_downstream - if traffic_bytes_upstream is not None: - self.traffic_bytes_upstream = traffic_bytes_upstream - if associated_clients_count_per_radio is not None: - self.associated_clients_count_per_radio = associated_clients_count_per_radio - if client_count_per_oui is not None: - self.client_count_per_oui = client_count_per_oui - if equipment_count_per_oui is not None: - self.equipment_count_per_oui = equipment_count_per_oui - if alarms_count_by_severity is not None: - self.alarms_count_by_severity = alarms_count_by_severity - - @property - def model_type(self): - """Gets the model_type of this CustomerPortalDashboardStatus. # noqa: E501 - - - :return: The model_type of this CustomerPortalDashboardStatus. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this CustomerPortalDashboardStatus. - - - :param model_type: The model_type of this CustomerPortalDashboardStatus. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - allowed_values = ["CustomerPortalDashboardStatus"] # noqa: E501 - if model_type not in allowed_values: - raise ValueError( - "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 - .format(model_type, allowed_values) - ) - - self._model_type = model_type - - @property - def status_data_type(self): - """Gets the status_data_type of this CustomerPortalDashboardStatus. # noqa: E501 - - - :return: The status_data_type of this CustomerPortalDashboardStatus. # noqa: E501 - :rtype: str - """ - return self._status_data_type - - @status_data_type.setter - def status_data_type(self, status_data_type): - """Sets the status_data_type of this CustomerPortalDashboardStatus. - - - :param status_data_type: The status_data_type of this CustomerPortalDashboardStatus. # noqa: E501 - :type: str - """ - allowed_values = ["CUSTOMER_DASHBOARD"] # noqa: E501 - if status_data_type not in allowed_values: - raise ValueError( - "Invalid value for `status_data_type` ({0}), must be one of {1}" # noqa: E501 - .format(status_data_type, allowed_values) - ) - - self._status_data_type = status_data_type - - @property - def time_bucket_id(self): - """Gets the time_bucket_id of this CustomerPortalDashboardStatus. # noqa: E501 - - All metrics/events that have (createdTimestamp % timeBucketMs == timeBucketId) are counted in this object. # noqa: E501 - - :return: The time_bucket_id of this CustomerPortalDashboardStatus. # noqa: E501 - :rtype: int - """ - return self._time_bucket_id - - @time_bucket_id.setter - def time_bucket_id(self, time_bucket_id): - """Sets the time_bucket_id of this CustomerPortalDashboardStatus. - - All metrics/events that have (createdTimestamp % timeBucketMs == timeBucketId) are counted in this object. # noqa: E501 - - :param time_bucket_id: The time_bucket_id of this CustomerPortalDashboardStatus. # noqa: E501 - :type: int - """ - - self._time_bucket_id = time_bucket_id - - @property - def time_bucket_ms(self): - """Gets the time_bucket_ms of this CustomerPortalDashboardStatus. # noqa: E501 - - Length of the time bucket in milliseconds # noqa: E501 - - :return: The time_bucket_ms of this CustomerPortalDashboardStatus. # noqa: E501 - :rtype: int - """ - return self._time_bucket_ms - - @time_bucket_ms.setter - def time_bucket_ms(self, time_bucket_ms): - """Sets the time_bucket_ms of this CustomerPortalDashboardStatus. - - Length of the time bucket in milliseconds # noqa: E501 - - :param time_bucket_ms: The time_bucket_ms of this CustomerPortalDashboardStatus. # noqa: E501 - :type: int - """ - - self._time_bucket_ms = time_bucket_ms - - @property - def equipment_in_service_count(self): - """Gets the equipment_in_service_count of this CustomerPortalDashboardStatus. # noqa: E501 - - - :return: The equipment_in_service_count of this CustomerPortalDashboardStatus. # noqa: E501 - :rtype: int - """ - return self._equipment_in_service_count - - @equipment_in_service_count.setter - def equipment_in_service_count(self, equipment_in_service_count): - """Sets the equipment_in_service_count of this CustomerPortalDashboardStatus. - - - :param equipment_in_service_count: The equipment_in_service_count of this CustomerPortalDashboardStatus. # noqa: E501 - :type: int - """ - - self._equipment_in_service_count = equipment_in_service_count - - @property - def equipment_with_clients_count(self): - """Gets the equipment_with_clients_count of this CustomerPortalDashboardStatus. # noqa: E501 - - - :return: The equipment_with_clients_count of this CustomerPortalDashboardStatus. # noqa: E501 - :rtype: int - """ - return self._equipment_with_clients_count - - @equipment_with_clients_count.setter - def equipment_with_clients_count(self, equipment_with_clients_count): - """Sets the equipment_with_clients_count of this CustomerPortalDashboardStatus. - - - :param equipment_with_clients_count: The equipment_with_clients_count of this CustomerPortalDashboardStatus. # noqa: E501 - :type: int - """ - - self._equipment_with_clients_count = equipment_with_clients_count - - @property - def total_provisioned_equipment(self): - """Gets the total_provisioned_equipment of this CustomerPortalDashboardStatus. # noqa: E501 - - - :return: The total_provisioned_equipment of this CustomerPortalDashboardStatus. # noqa: E501 - :rtype: int - """ - return self._total_provisioned_equipment - - @total_provisioned_equipment.setter - def total_provisioned_equipment(self, total_provisioned_equipment): - """Sets the total_provisioned_equipment of this CustomerPortalDashboardStatus. - - - :param total_provisioned_equipment: The total_provisioned_equipment of this CustomerPortalDashboardStatus. # noqa: E501 - :type: int - """ - - self._total_provisioned_equipment = total_provisioned_equipment - - @property - def traffic_bytes_downstream(self): - """Gets the traffic_bytes_downstream of this CustomerPortalDashboardStatus. # noqa: E501 - - - :return: The traffic_bytes_downstream of this CustomerPortalDashboardStatus. # noqa: E501 - :rtype: int - """ - return self._traffic_bytes_downstream - - @traffic_bytes_downstream.setter - def traffic_bytes_downstream(self, traffic_bytes_downstream): - """Sets the traffic_bytes_downstream of this CustomerPortalDashboardStatus. - - - :param traffic_bytes_downstream: The traffic_bytes_downstream of this CustomerPortalDashboardStatus. # noqa: E501 - :type: int - """ - - self._traffic_bytes_downstream = traffic_bytes_downstream - - @property - def traffic_bytes_upstream(self): - """Gets the traffic_bytes_upstream of this CustomerPortalDashboardStatus. # noqa: E501 - - - :return: The traffic_bytes_upstream of this CustomerPortalDashboardStatus. # noqa: E501 - :rtype: int - """ - return self._traffic_bytes_upstream - - @traffic_bytes_upstream.setter - def traffic_bytes_upstream(self, traffic_bytes_upstream): - """Sets the traffic_bytes_upstream of this CustomerPortalDashboardStatus. - - - :param traffic_bytes_upstream: The traffic_bytes_upstream of this CustomerPortalDashboardStatus. # noqa: E501 - :type: int - """ - - self._traffic_bytes_upstream = traffic_bytes_upstream - - @property - def associated_clients_count_per_radio(self): - """Gets the associated_clients_count_per_radio of this CustomerPortalDashboardStatus. # noqa: E501 - - - :return: The associated_clients_count_per_radio of this CustomerPortalDashboardStatus. # noqa: E501 - :rtype: IntegerPerRadioTypeMap - """ - return self._associated_clients_count_per_radio - - @associated_clients_count_per_radio.setter - def associated_clients_count_per_radio(self, associated_clients_count_per_radio): - """Sets the associated_clients_count_per_radio of this CustomerPortalDashboardStatus. - - - :param associated_clients_count_per_radio: The associated_clients_count_per_radio of this CustomerPortalDashboardStatus. # noqa: E501 - :type: IntegerPerRadioTypeMap - """ - - self._associated_clients_count_per_radio = associated_clients_count_per_radio - - @property - def client_count_per_oui(self): - """Gets the client_count_per_oui of this CustomerPortalDashboardStatus. # noqa: E501 - - - :return: The client_count_per_oui of this CustomerPortalDashboardStatus. # noqa: E501 - :rtype: IntegerValueMap - """ - return self._client_count_per_oui - - @client_count_per_oui.setter - def client_count_per_oui(self, client_count_per_oui): - """Sets the client_count_per_oui of this CustomerPortalDashboardStatus. - - - :param client_count_per_oui: The client_count_per_oui of this CustomerPortalDashboardStatus. # noqa: E501 - :type: IntegerValueMap - """ - - self._client_count_per_oui = client_count_per_oui - - @property - def equipment_count_per_oui(self): - """Gets the equipment_count_per_oui of this CustomerPortalDashboardStatus. # noqa: E501 - - - :return: The equipment_count_per_oui of this CustomerPortalDashboardStatus. # noqa: E501 - :rtype: IntegerValueMap - """ - return self._equipment_count_per_oui - - @equipment_count_per_oui.setter - def equipment_count_per_oui(self, equipment_count_per_oui): - """Sets the equipment_count_per_oui of this CustomerPortalDashboardStatus. - - - :param equipment_count_per_oui: The equipment_count_per_oui of this CustomerPortalDashboardStatus. # noqa: E501 - :type: IntegerValueMap - """ - - self._equipment_count_per_oui = equipment_count_per_oui - - @property - def alarms_count_by_severity(self): - """Gets the alarms_count_by_severity of this CustomerPortalDashboardStatus. # noqa: E501 - - - :return: The alarms_count_by_severity of this CustomerPortalDashboardStatus. # noqa: E501 - :rtype: IntegerPerStatusCodeMap - """ - return self._alarms_count_by_severity - - @alarms_count_by_severity.setter - def alarms_count_by_severity(self, alarms_count_by_severity): - """Sets the alarms_count_by_severity of this CustomerPortalDashboardStatus. - - - :param alarms_count_by_severity: The alarms_count_by_severity of this CustomerPortalDashboardStatus. # noqa: E501 - :type: IntegerPerStatusCodeMap - """ - - self._alarms_count_by_severity = alarms_count_by_severity - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(CustomerPortalDashboardStatus, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, CustomerPortalDashboardStatus): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/customer_removed_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/customer_removed_event.py deleted file mode 100644 index fa89c38c2..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/customer_removed_event.py +++ /dev/null @@ -1,189 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class CustomerRemovedEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'event_timestamp': 'int', - 'customer_id': 'int', - 'payload': 'Customer' - } - - attribute_map = { - 'model_type': 'model_type', - 'event_timestamp': 'eventTimestamp', - 'customer_id': 'customerId', - 'payload': 'payload' - } - - def __init__(self, model_type=None, event_timestamp=None, customer_id=None, payload=None): # noqa: E501 - """CustomerRemovedEvent - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._event_timestamp = None - self._customer_id = None - self._payload = None - self.discriminator = None - self.model_type = model_type - if event_timestamp is not None: - self.event_timestamp = event_timestamp - if customer_id is not None: - self.customer_id = customer_id - if payload is not None: - self.payload = payload - - @property - def model_type(self): - """Gets the model_type of this CustomerRemovedEvent. # noqa: E501 - - - :return: The model_type of this CustomerRemovedEvent. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this CustomerRemovedEvent. - - - :param model_type: The model_type of this CustomerRemovedEvent. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - - self._model_type = model_type - - @property - def event_timestamp(self): - """Gets the event_timestamp of this CustomerRemovedEvent. # noqa: E501 - - - :return: The event_timestamp of this CustomerRemovedEvent. # noqa: E501 - :rtype: int - """ - return self._event_timestamp - - @event_timestamp.setter - def event_timestamp(self, event_timestamp): - """Sets the event_timestamp of this CustomerRemovedEvent. - - - :param event_timestamp: The event_timestamp of this CustomerRemovedEvent. # noqa: E501 - :type: int - """ - - self._event_timestamp = event_timestamp - - @property - def customer_id(self): - """Gets the customer_id of this CustomerRemovedEvent. # noqa: E501 - - - :return: The customer_id of this CustomerRemovedEvent. # noqa: E501 - :rtype: int - """ - return self._customer_id - - @customer_id.setter - def customer_id(self, customer_id): - """Sets the customer_id of this CustomerRemovedEvent. - - - :param customer_id: The customer_id of this CustomerRemovedEvent. # noqa: E501 - :type: int - """ - - self._customer_id = customer_id - - @property - def payload(self): - """Gets the payload of this CustomerRemovedEvent. # noqa: E501 - - - :return: The payload of this CustomerRemovedEvent. # noqa: E501 - :rtype: Customer - """ - return self._payload - - @payload.setter - def payload(self, payload): - """Sets the payload of this CustomerRemovedEvent. - - - :param payload: The payload of this CustomerRemovedEvent. # noqa: E501 - :type: Customer - """ - - self._payload = payload - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(CustomerRemovedEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, CustomerRemovedEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/daily_time_range_schedule.py b/libs/cloudapi/cloudsdk/swagger_client/models/daily_time_range_schedule.py deleted file mode 100644 index cd1e1b690..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/daily_time_range_schedule.py +++ /dev/null @@ -1,189 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class DailyTimeRangeSchedule(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'timezone': 'str', - 'time_begin': 'LocalTimeValue', - 'time_end': 'LocalTimeValue', - 'model_type': 'str' - } - - attribute_map = { - 'timezone': 'timezone', - 'time_begin': 'timeBegin', - 'time_end': 'timeEnd', - 'model_type': 'model_type' - } - - def __init__(self, timezone=None, time_begin=None, time_end=None, model_type=None): # noqa: E501 - """DailyTimeRangeSchedule - a model defined in Swagger""" # noqa: E501 - self._timezone = None - self._time_begin = None - self._time_end = None - self._model_type = None - self.discriminator = None - if timezone is not None: - self.timezone = timezone - if time_begin is not None: - self.time_begin = time_begin - if time_end is not None: - self.time_end = time_end - self.model_type = model_type - - @property - def timezone(self): - """Gets the timezone of this DailyTimeRangeSchedule. # noqa: E501 - - - :return: The timezone of this DailyTimeRangeSchedule. # noqa: E501 - :rtype: str - """ - return self._timezone - - @timezone.setter - def timezone(self, timezone): - """Sets the timezone of this DailyTimeRangeSchedule. - - - :param timezone: The timezone of this DailyTimeRangeSchedule. # noqa: E501 - :type: str - """ - - self._timezone = timezone - - @property - def time_begin(self): - """Gets the time_begin of this DailyTimeRangeSchedule. # noqa: E501 - - - :return: The time_begin of this DailyTimeRangeSchedule. # noqa: E501 - :rtype: LocalTimeValue - """ - return self._time_begin - - @time_begin.setter - def time_begin(self, time_begin): - """Sets the time_begin of this DailyTimeRangeSchedule. - - - :param time_begin: The time_begin of this DailyTimeRangeSchedule. # noqa: E501 - :type: LocalTimeValue - """ - - self._time_begin = time_begin - - @property - def time_end(self): - """Gets the time_end of this DailyTimeRangeSchedule. # noqa: E501 - - - :return: The time_end of this DailyTimeRangeSchedule. # noqa: E501 - :rtype: LocalTimeValue - """ - return self._time_end - - @time_end.setter - def time_end(self, time_end): - """Sets the time_end of this DailyTimeRangeSchedule. - - - :param time_end: The time_end of this DailyTimeRangeSchedule. # noqa: E501 - :type: LocalTimeValue - """ - - self._time_end = time_end - - @property - def model_type(self): - """Gets the model_type of this DailyTimeRangeSchedule. # noqa: E501 - - - :return: The model_type of this DailyTimeRangeSchedule. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this DailyTimeRangeSchedule. - - - :param model_type: The model_type of this DailyTimeRangeSchedule. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - - self._model_type = model_type - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(DailyTimeRangeSchedule, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, DailyTimeRangeSchedule): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/day_of_week.py b/libs/cloudapi/cloudsdk/swagger_client/models/day_of_week.py deleted file mode 100644 index 0a49fcdcc..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/day_of_week.py +++ /dev/null @@ -1,95 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class DayOfWeek(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - MONDAY = "MONDAY" - TUESDAY = "TUESDAY" - WEDNESDAY = "WEDNESDAY" - THURSDAY = "THURSDAY" - FRIDAY = "FRIDAY" - SATURDAY = "SATURDAY" - SUNDAY = "SUNDAY" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """DayOfWeek - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(DayOfWeek, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, DayOfWeek): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/days_of_week_time_range_schedule.py b/libs/cloudapi/cloudsdk/swagger_client/models/days_of_week_time_range_schedule.py deleted file mode 100644 index f8003c8e7..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/days_of_week_time_range_schedule.py +++ /dev/null @@ -1,215 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class DaysOfWeekTimeRangeSchedule(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'timezone': 'str', - 'time_begin': 'LocalTimeValue', - 'time_end': 'LocalTimeValue', - 'days_of_week': 'list[DayOfWeek]', - 'model_type': 'str' - } - - attribute_map = { - 'timezone': 'timezone', - 'time_begin': 'timeBegin', - 'time_end': 'timeEnd', - 'days_of_week': 'daysOfWeek', - 'model_type': 'model_type' - } - - def __init__(self, timezone=None, time_begin=None, time_end=None, days_of_week=None, model_type=None): # noqa: E501 - """DaysOfWeekTimeRangeSchedule - a model defined in Swagger""" # noqa: E501 - self._timezone = None - self._time_begin = None - self._time_end = None - self._days_of_week = None - self._model_type = None - self.discriminator = None - if timezone is not None: - self.timezone = timezone - if time_begin is not None: - self.time_begin = time_begin - if time_end is not None: - self.time_end = time_end - if days_of_week is not None: - self.days_of_week = days_of_week - self.model_type = model_type - - @property - def timezone(self): - """Gets the timezone of this DaysOfWeekTimeRangeSchedule. # noqa: E501 - - - :return: The timezone of this DaysOfWeekTimeRangeSchedule. # noqa: E501 - :rtype: str - """ - return self._timezone - - @timezone.setter - def timezone(self, timezone): - """Sets the timezone of this DaysOfWeekTimeRangeSchedule. - - - :param timezone: The timezone of this DaysOfWeekTimeRangeSchedule. # noqa: E501 - :type: str - """ - - self._timezone = timezone - - @property - def time_begin(self): - """Gets the time_begin of this DaysOfWeekTimeRangeSchedule. # noqa: E501 - - - :return: The time_begin of this DaysOfWeekTimeRangeSchedule. # noqa: E501 - :rtype: LocalTimeValue - """ - return self._time_begin - - @time_begin.setter - def time_begin(self, time_begin): - """Sets the time_begin of this DaysOfWeekTimeRangeSchedule. - - - :param time_begin: The time_begin of this DaysOfWeekTimeRangeSchedule. # noqa: E501 - :type: LocalTimeValue - """ - - self._time_begin = time_begin - - @property - def time_end(self): - """Gets the time_end of this DaysOfWeekTimeRangeSchedule. # noqa: E501 - - - :return: The time_end of this DaysOfWeekTimeRangeSchedule. # noqa: E501 - :rtype: LocalTimeValue - """ - return self._time_end - - @time_end.setter - def time_end(self, time_end): - """Sets the time_end of this DaysOfWeekTimeRangeSchedule. - - - :param time_end: The time_end of this DaysOfWeekTimeRangeSchedule. # noqa: E501 - :type: LocalTimeValue - """ - - self._time_end = time_end - - @property - def days_of_week(self): - """Gets the days_of_week of this DaysOfWeekTimeRangeSchedule. # noqa: E501 - - - :return: The days_of_week of this DaysOfWeekTimeRangeSchedule. # noqa: E501 - :rtype: list[DayOfWeek] - """ - return self._days_of_week - - @days_of_week.setter - def days_of_week(self, days_of_week): - """Sets the days_of_week of this DaysOfWeekTimeRangeSchedule. - - - :param days_of_week: The days_of_week of this DaysOfWeekTimeRangeSchedule. # noqa: E501 - :type: list[DayOfWeek] - """ - - self._days_of_week = days_of_week - - @property - def model_type(self): - """Gets the model_type of this DaysOfWeekTimeRangeSchedule. # noqa: E501 - - - :return: The model_type of this DaysOfWeekTimeRangeSchedule. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this DaysOfWeekTimeRangeSchedule. - - - :param model_type: The model_type of this DaysOfWeekTimeRangeSchedule. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - - self._model_type = model_type - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(DaysOfWeekTimeRangeSchedule, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, DaysOfWeekTimeRangeSchedule): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/deployment_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/deployment_type.py deleted file mode 100644 index 534dd7c01..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/deployment_type.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class DeploymentType(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - DESK = "DESK" - CEILING = "CEILING" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """DeploymentType - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(DeploymentType, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, DeploymentType): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/detected_auth_mode.py b/libs/cloudapi/cloudsdk/swagger_client/models/detected_auth_mode.py deleted file mode 100644 index 35cdee5dc..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/detected_auth_mode.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class DetectedAuthMode(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - OPEN = "OPEN" - WEP = "WEP" - WPA = "WPA" - UNKNOWN = "UNKNOWN" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """DetectedAuthMode - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(DetectedAuthMode, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, DetectedAuthMode): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/device_mode.py b/libs/cloudapi/cloudsdk/swagger_client/models/device_mode.py deleted file mode 100644 index 8d77801b2..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/device_mode.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class DeviceMode(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - STANDALONEAP = "standaloneAP" - MANAGEDAP = "managedAP" - GATEWAYWITHAP = "gatewaywithAP" - GATEWAYONLY = "gatewayOnly" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """DeviceMode - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(DeviceMode, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, DeviceMode): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/dhcp_ack_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/dhcp_ack_event.py deleted file mode 100644 index 82944e6da..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/dhcp_ack_event.py +++ /dev/null @@ -1,353 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class DhcpAckEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'all_of': 'BaseDhcpEvent', - 'subnet_mask': 'str', - 'primary_dns': 'str', - 'secondary_dns': 'str', - 'lease_time': 'int', - 'renewal_time': 'int', - 'rebinding_time': 'int', - 'time_offset': 'int', - 'gateway_ip': 'str' - } - - attribute_map = { - 'model_type': 'model_type', - 'all_of': 'allOf', - 'subnet_mask': 'subnetMask', - 'primary_dns': 'primaryDns', - 'secondary_dns': 'secondaryDns', - 'lease_time': 'leaseTime', - 'renewal_time': 'renewalTime', - 'rebinding_time': 'rebindingTime', - 'time_offset': 'timeOffset', - 'gateway_ip': 'gatewayIp' - } - - def __init__(self, model_type=None, all_of=None, subnet_mask=None, primary_dns=None, secondary_dns=None, lease_time=None, renewal_time=None, rebinding_time=None, time_offset=None, gateway_ip=None): # noqa: E501 - """DhcpAckEvent - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._all_of = None - self._subnet_mask = None - self._primary_dns = None - self._secondary_dns = None - self._lease_time = None - self._renewal_time = None - self._rebinding_time = None - self._time_offset = None - self._gateway_ip = None - self.discriminator = None - self.model_type = model_type - if all_of is not None: - self.all_of = all_of - if subnet_mask is not None: - self.subnet_mask = subnet_mask - if primary_dns is not None: - self.primary_dns = primary_dns - if secondary_dns is not None: - self.secondary_dns = secondary_dns - if lease_time is not None: - self.lease_time = lease_time - if renewal_time is not None: - self.renewal_time = renewal_time - if rebinding_time is not None: - self.rebinding_time = rebinding_time - if time_offset is not None: - self.time_offset = time_offset - if gateway_ip is not None: - self.gateway_ip = gateway_ip - - @property - def model_type(self): - """Gets the model_type of this DhcpAckEvent. # noqa: E501 - - - :return: The model_type of this DhcpAckEvent. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this DhcpAckEvent. - - - :param model_type: The model_type of this DhcpAckEvent. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - - self._model_type = model_type - - @property - def all_of(self): - """Gets the all_of of this DhcpAckEvent. # noqa: E501 - - - :return: The all_of of this DhcpAckEvent. # noqa: E501 - :rtype: BaseDhcpEvent - """ - return self._all_of - - @all_of.setter - def all_of(self, all_of): - """Sets the all_of of this DhcpAckEvent. - - - :param all_of: The all_of of this DhcpAckEvent. # noqa: E501 - :type: BaseDhcpEvent - """ - - self._all_of = all_of - - @property - def subnet_mask(self): - """Gets the subnet_mask of this DhcpAckEvent. # noqa: E501 - - string representing InetAddress # noqa: E501 - - :return: The subnet_mask of this DhcpAckEvent. # noqa: E501 - :rtype: str - """ - return self._subnet_mask - - @subnet_mask.setter - def subnet_mask(self, subnet_mask): - """Sets the subnet_mask of this DhcpAckEvent. - - string representing InetAddress # noqa: E501 - - :param subnet_mask: The subnet_mask of this DhcpAckEvent. # noqa: E501 - :type: str - """ - - self._subnet_mask = subnet_mask - - @property - def primary_dns(self): - """Gets the primary_dns of this DhcpAckEvent. # noqa: E501 - - string representing InetAddress # noqa: E501 - - :return: The primary_dns of this DhcpAckEvent. # noqa: E501 - :rtype: str - """ - return self._primary_dns - - @primary_dns.setter - def primary_dns(self, primary_dns): - """Sets the primary_dns of this DhcpAckEvent. - - string representing InetAddress # noqa: E501 - - :param primary_dns: The primary_dns of this DhcpAckEvent. # noqa: E501 - :type: str - """ - - self._primary_dns = primary_dns - - @property - def secondary_dns(self): - """Gets the secondary_dns of this DhcpAckEvent. # noqa: E501 - - string representing InetAddress # noqa: E501 - - :return: The secondary_dns of this DhcpAckEvent. # noqa: E501 - :rtype: str - """ - return self._secondary_dns - - @secondary_dns.setter - def secondary_dns(self, secondary_dns): - """Sets the secondary_dns of this DhcpAckEvent. - - string representing InetAddress # noqa: E501 - - :param secondary_dns: The secondary_dns of this DhcpAckEvent. # noqa: E501 - :type: str - """ - - self._secondary_dns = secondary_dns - - @property - def lease_time(self): - """Gets the lease_time of this DhcpAckEvent. # noqa: E501 - - - :return: The lease_time of this DhcpAckEvent. # noqa: E501 - :rtype: int - """ - return self._lease_time - - @lease_time.setter - def lease_time(self, lease_time): - """Sets the lease_time of this DhcpAckEvent. - - - :param lease_time: The lease_time of this DhcpAckEvent. # noqa: E501 - :type: int - """ - - self._lease_time = lease_time - - @property - def renewal_time(self): - """Gets the renewal_time of this DhcpAckEvent. # noqa: E501 - - - :return: The renewal_time of this DhcpAckEvent. # noqa: E501 - :rtype: int - """ - return self._renewal_time - - @renewal_time.setter - def renewal_time(self, renewal_time): - """Sets the renewal_time of this DhcpAckEvent. - - - :param renewal_time: The renewal_time of this DhcpAckEvent. # noqa: E501 - :type: int - """ - - self._renewal_time = renewal_time - - @property - def rebinding_time(self): - """Gets the rebinding_time of this DhcpAckEvent. # noqa: E501 - - - :return: The rebinding_time of this DhcpAckEvent. # noqa: E501 - :rtype: int - """ - return self._rebinding_time - - @rebinding_time.setter - def rebinding_time(self, rebinding_time): - """Sets the rebinding_time of this DhcpAckEvent. - - - :param rebinding_time: The rebinding_time of this DhcpAckEvent. # noqa: E501 - :type: int - """ - - self._rebinding_time = rebinding_time - - @property - def time_offset(self): - """Gets the time_offset of this DhcpAckEvent. # noqa: E501 - - - :return: The time_offset of this DhcpAckEvent. # noqa: E501 - :rtype: int - """ - return self._time_offset - - @time_offset.setter - def time_offset(self, time_offset): - """Sets the time_offset of this DhcpAckEvent. - - - :param time_offset: The time_offset of this DhcpAckEvent. # noqa: E501 - :type: int - """ - - self._time_offset = time_offset - - @property - def gateway_ip(self): - """Gets the gateway_ip of this DhcpAckEvent. # noqa: E501 - - string representing InetAddress # noqa: E501 - - :return: The gateway_ip of this DhcpAckEvent. # noqa: E501 - :rtype: str - """ - return self._gateway_ip - - @gateway_ip.setter - def gateway_ip(self, gateway_ip): - """Sets the gateway_ip of this DhcpAckEvent. - - string representing InetAddress # noqa: E501 - - :param gateway_ip: The gateway_ip of this DhcpAckEvent. # noqa: E501 - :type: str - """ - - self._gateway_ip = gateway_ip - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(DhcpAckEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, DhcpAckEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/dhcp_decline_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/dhcp_decline_event.py deleted file mode 100644 index eb5b9be4a..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/dhcp_decline_event.py +++ /dev/null @@ -1,137 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class DhcpDeclineEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'all_of': 'BaseDhcpEvent' - } - - attribute_map = { - 'model_type': 'model_type', - 'all_of': 'allOf' - } - - def __init__(self, model_type=None, all_of=None): # noqa: E501 - """DhcpDeclineEvent - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._all_of = None - self.discriminator = None - self.model_type = model_type - if all_of is not None: - self.all_of = all_of - - @property - def model_type(self): - """Gets the model_type of this DhcpDeclineEvent. # noqa: E501 - - - :return: The model_type of this DhcpDeclineEvent. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this DhcpDeclineEvent. - - - :param model_type: The model_type of this DhcpDeclineEvent. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - - self._model_type = model_type - - @property - def all_of(self): - """Gets the all_of of this DhcpDeclineEvent. # noqa: E501 - - - :return: The all_of of this DhcpDeclineEvent. # noqa: E501 - :rtype: BaseDhcpEvent - """ - return self._all_of - - @all_of.setter - def all_of(self, all_of): - """Sets the all_of of this DhcpDeclineEvent. - - - :param all_of: The all_of of this DhcpDeclineEvent. # noqa: E501 - :type: BaseDhcpEvent - """ - - self._all_of = all_of - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(DhcpDeclineEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, DhcpDeclineEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/dhcp_discover_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/dhcp_discover_event.py deleted file mode 100644 index 11d5266be..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/dhcp_discover_event.py +++ /dev/null @@ -1,163 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class DhcpDiscoverEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'all_of': 'BaseDhcpEvent', - 'host_name': 'str' - } - - attribute_map = { - 'model_type': 'model_type', - 'all_of': 'allOf', - 'host_name': 'hostName' - } - - def __init__(self, model_type=None, all_of=None, host_name=None): # noqa: E501 - """DhcpDiscoverEvent - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._all_of = None - self._host_name = None - self.discriminator = None - self.model_type = model_type - if all_of is not None: - self.all_of = all_of - if host_name is not None: - self.host_name = host_name - - @property - def model_type(self): - """Gets the model_type of this DhcpDiscoverEvent. # noqa: E501 - - - :return: The model_type of this DhcpDiscoverEvent. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this DhcpDiscoverEvent. - - - :param model_type: The model_type of this DhcpDiscoverEvent. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - - self._model_type = model_type - - @property - def all_of(self): - """Gets the all_of of this DhcpDiscoverEvent. # noqa: E501 - - - :return: The all_of of this DhcpDiscoverEvent. # noqa: E501 - :rtype: BaseDhcpEvent - """ - return self._all_of - - @all_of.setter - def all_of(self, all_of): - """Sets the all_of of this DhcpDiscoverEvent. - - - :param all_of: The all_of of this DhcpDiscoverEvent. # noqa: E501 - :type: BaseDhcpEvent - """ - - self._all_of = all_of - - @property - def host_name(self): - """Gets the host_name of this DhcpDiscoverEvent. # noqa: E501 - - - :return: The host_name of this DhcpDiscoverEvent. # noqa: E501 - :rtype: str - """ - return self._host_name - - @host_name.setter - def host_name(self, host_name): - """Sets the host_name of this DhcpDiscoverEvent. - - - :param host_name: The host_name of this DhcpDiscoverEvent. # noqa: E501 - :type: str - """ - - self._host_name = host_name - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(DhcpDiscoverEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, DhcpDiscoverEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/dhcp_inform_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/dhcp_inform_event.py deleted file mode 100644 index 7f8208e8d..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/dhcp_inform_event.py +++ /dev/null @@ -1,137 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class DhcpInformEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'all_of': 'BaseDhcpEvent' - } - - attribute_map = { - 'model_type': 'model_type', - 'all_of': 'allOf' - } - - def __init__(self, model_type=None, all_of=None): # noqa: E501 - """DhcpInformEvent - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._all_of = None - self.discriminator = None - self.model_type = model_type - if all_of is not None: - self.all_of = all_of - - @property - def model_type(self): - """Gets the model_type of this DhcpInformEvent. # noqa: E501 - - - :return: The model_type of this DhcpInformEvent. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this DhcpInformEvent. - - - :param model_type: The model_type of this DhcpInformEvent. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - - self._model_type = model_type - - @property - def all_of(self): - """Gets the all_of of this DhcpInformEvent. # noqa: E501 - - - :return: The all_of of this DhcpInformEvent. # noqa: E501 - :rtype: BaseDhcpEvent - """ - return self._all_of - - @all_of.setter - def all_of(self, all_of): - """Sets the all_of of this DhcpInformEvent. - - - :param all_of: The all_of of this DhcpInformEvent. # noqa: E501 - :type: BaseDhcpEvent - """ - - self._all_of = all_of - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(DhcpInformEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, DhcpInformEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/dhcp_nak_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/dhcp_nak_event.py deleted file mode 100644 index 59c3c7fa6..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/dhcp_nak_event.py +++ /dev/null @@ -1,163 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class DhcpNakEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'all_of': 'BaseDhcpEvent', - 'from_internal': 'bool' - } - - attribute_map = { - 'model_type': 'model_type', - 'all_of': 'allOf', - 'from_internal': 'fromInternal' - } - - def __init__(self, model_type=None, all_of=None, from_internal=False): # noqa: E501 - """DhcpNakEvent - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._all_of = None - self._from_internal = None - self.discriminator = None - self.model_type = model_type - if all_of is not None: - self.all_of = all_of - if from_internal is not None: - self.from_internal = from_internal - - @property - def model_type(self): - """Gets the model_type of this DhcpNakEvent. # noqa: E501 - - - :return: The model_type of this DhcpNakEvent. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this DhcpNakEvent. - - - :param model_type: The model_type of this DhcpNakEvent. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - - self._model_type = model_type - - @property - def all_of(self): - """Gets the all_of of this DhcpNakEvent. # noqa: E501 - - - :return: The all_of of this DhcpNakEvent. # noqa: E501 - :rtype: BaseDhcpEvent - """ - return self._all_of - - @all_of.setter - def all_of(self, all_of): - """Sets the all_of of this DhcpNakEvent. - - - :param all_of: The all_of of this DhcpNakEvent. # noqa: E501 - :type: BaseDhcpEvent - """ - - self._all_of = all_of - - @property - def from_internal(self): - """Gets the from_internal of this DhcpNakEvent. # noqa: E501 - - - :return: The from_internal of this DhcpNakEvent. # noqa: E501 - :rtype: bool - """ - return self._from_internal - - @from_internal.setter - def from_internal(self, from_internal): - """Sets the from_internal of this DhcpNakEvent. - - - :param from_internal: The from_internal of this DhcpNakEvent. # noqa: E501 - :type: bool - """ - - self._from_internal = from_internal - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(DhcpNakEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, DhcpNakEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/dhcp_offer_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/dhcp_offer_event.py deleted file mode 100644 index 34c14c2d0..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/dhcp_offer_event.py +++ /dev/null @@ -1,163 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class DhcpOfferEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'all_of': 'BaseDhcpEvent', - 'from_internal': 'bool' - } - - attribute_map = { - 'model_type': 'model_type', - 'all_of': 'allOf', - 'from_internal': 'fromInternal' - } - - def __init__(self, model_type=None, all_of=None, from_internal=False): # noqa: E501 - """DhcpOfferEvent - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._all_of = None - self._from_internal = None - self.discriminator = None - self.model_type = model_type - if all_of is not None: - self.all_of = all_of - if from_internal is not None: - self.from_internal = from_internal - - @property - def model_type(self): - """Gets the model_type of this DhcpOfferEvent. # noqa: E501 - - - :return: The model_type of this DhcpOfferEvent. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this DhcpOfferEvent. - - - :param model_type: The model_type of this DhcpOfferEvent. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - - self._model_type = model_type - - @property - def all_of(self): - """Gets the all_of of this DhcpOfferEvent. # noqa: E501 - - - :return: The all_of of this DhcpOfferEvent. # noqa: E501 - :rtype: BaseDhcpEvent - """ - return self._all_of - - @all_of.setter - def all_of(self, all_of): - """Sets the all_of of this DhcpOfferEvent. - - - :param all_of: The all_of of this DhcpOfferEvent. # noqa: E501 - :type: BaseDhcpEvent - """ - - self._all_of = all_of - - @property - def from_internal(self): - """Gets the from_internal of this DhcpOfferEvent. # noqa: E501 - - - :return: The from_internal of this DhcpOfferEvent. # noqa: E501 - :rtype: bool - """ - return self._from_internal - - @from_internal.setter - def from_internal(self, from_internal): - """Sets the from_internal of this DhcpOfferEvent. - - - :param from_internal: The from_internal of this DhcpOfferEvent. # noqa: E501 - :type: bool - """ - - self._from_internal = from_internal - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(DhcpOfferEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, DhcpOfferEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/dhcp_request_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/dhcp_request_event.py deleted file mode 100644 index 1597fe179..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/dhcp_request_event.py +++ /dev/null @@ -1,163 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class DhcpRequestEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'all_of': 'BaseDhcpEvent', - 'host_name': 'str' - } - - attribute_map = { - 'model_type': 'model_type', - 'all_of': 'allOf', - 'host_name': 'hostName' - } - - def __init__(self, model_type=None, all_of=None, host_name=None): # noqa: E501 - """DhcpRequestEvent - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._all_of = None - self._host_name = None - self.discriminator = None - self.model_type = model_type - if all_of is not None: - self.all_of = all_of - if host_name is not None: - self.host_name = host_name - - @property - def model_type(self): - """Gets the model_type of this DhcpRequestEvent. # noqa: E501 - - - :return: The model_type of this DhcpRequestEvent. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this DhcpRequestEvent. - - - :param model_type: The model_type of this DhcpRequestEvent. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - - self._model_type = model_type - - @property - def all_of(self): - """Gets the all_of of this DhcpRequestEvent. # noqa: E501 - - - :return: The all_of of this DhcpRequestEvent. # noqa: E501 - :rtype: BaseDhcpEvent - """ - return self._all_of - - @all_of.setter - def all_of(self, all_of): - """Sets the all_of of this DhcpRequestEvent. - - - :param all_of: The all_of of this DhcpRequestEvent. # noqa: E501 - :type: BaseDhcpEvent - """ - - self._all_of = all_of - - @property - def host_name(self): - """Gets the host_name of this DhcpRequestEvent. # noqa: E501 - - - :return: The host_name of this DhcpRequestEvent. # noqa: E501 - :rtype: str - """ - return self._host_name - - @host_name.setter - def host_name(self, host_name): - """Sets the host_name of this DhcpRequestEvent. - - - :param host_name: The host_name of this DhcpRequestEvent. # noqa: E501 - :type: str - """ - - self._host_name = host_name - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(DhcpRequestEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, DhcpRequestEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/disconnect_frame_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/disconnect_frame_type.py deleted file mode 100644 index aafad2606..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/disconnect_frame_type.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class DisconnectFrameType(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - DEAUTH = "Deauth" - DISASSOC = "Disassoc" - UNSUPPORTED = "UNSUPPORTED" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """DisconnectFrameType - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(DisconnectFrameType, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, DisconnectFrameType): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/disconnect_initiator.py b/libs/cloudapi/cloudsdk/swagger_client/models/disconnect_initiator.py deleted file mode 100644 index 64e74056b..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/disconnect_initiator.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class DisconnectInitiator(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - ACCESSPOINT = "AccessPoint" - CLIENT = "Client" - UNSUPPORTED = "UNSUPPORTED" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """DisconnectInitiator - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(DisconnectInitiator, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, DisconnectInitiator): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/dns_probe_metric.py b/libs/cloudapi/cloudsdk/swagger_client/models/dns_probe_metric.py deleted file mode 100644 index aae249109..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/dns_probe_metric.py +++ /dev/null @@ -1,162 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class DnsProbeMetric(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'dns_server_ip': 'str', - 'dns_state': 'StateUpDownError', - 'dns_latency_ms': 'int' - } - - attribute_map = { - 'dns_server_ip': 'dnsServerIp', - 'dns_state': 'dnsState', - 'dns_latency_ms': 'dnsLatencyMs' - } - - def __init__(self, dns_server_ip=None, dns_state=None, dns_latency_ms=None): # noqa: E501 - """DnsProbeMetric - a model defined in Swagger""" # noqa: E501 - self._dns_server_ip = None - self._dns_state = None - self._dns_latency_ms = None - self.discriminator = None - if dns_server_ip is not None: - self.dns_server_ip = dns_server_ip - if dns_state is not None: - self.dns_state = dns_state - if dns_latency_ms is not None: - self.dns_latency_ms = dns_latency_ms - - @property - def dns_server_ip(self): - """Gets the dns_server_ip of this DnsProbeMetric. # noqa: E501 - - - :return: The dns_server_ip of this DnsProbeMetric. # noqa: E501 - :rtype: str - """ - return self._dns_server_ip - - @dns_server_ip.setter - def dns_server_ip(self, dns_server_ip): - """Sets the dns_server_ip of this DnsProbeMetric. - - - :param dns_server_ip: The dns_server_ip of this DnsProbeMetric. # noqa: E501 - :type: str - """ - - self._dns_server_ip = dns_server_ip - - @property - def dns_state(self): - """Gets the dns_state of this DnsProbeMetric. # noqa: E501 - - - :return: The dns_state of this DnsProbeMetric. # noqa: E501 - :rtype: StateUpDownError - """ - return self._dns_state - - @dns_state.setter - def dns_state(self, dns_state): - """Sets the dns_state of this DnsProbeMetric. - - - :param dns_state: The dns_state of this DnsProbeMetric. # noqa: E501 - :type: StateUpDownError - """ - - self._dns_state = dns_state - - @property - def dns_latency_ms(self): - """Gets the dns_latency_ms of this DnsProbeMetric. # noqa: E501 - - - :return: The dns_latency_ms of this DnsProbeMetric. # noqa: E501 - :rtype: int - """ - return self._dns_latency_ms - - @dns_latency_ms.setter - def dns_latency_ms(self, dns_latency_ms): - """Sets the dns_latency_ms of this DnsProbeMetric. - - - :param dns_latency_ms: The dns_latency_ms of this DnsProbeMetric. # noqa: E501 - :type: int - """ - - self._dns_latency_ms = dns_latency_ms - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(DnsProbeMetric, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, DnsProbeMetric): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/dynamic_vlan_mode.py b/libs/cloudapi/cloudsdk/swagger_client/models/dynamic_vlan_mode.py deleted file mode 100644 index b4667af6f..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/dynamic_vlan_mode.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class DynamicVlanMode(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - DISABLED = "disabled" - ENABLED = "enabled" - ENABLED_REJECT_IF_NO_RADIUS_DYNAMIC_VLAN = "enabled_reject_if_no_radius_dynamic_vlan" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """DynamicVlanMode - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(DynamicVlanMode, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, DynamicVlanMode): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/element_radio_configuration.py b/libs/cloudapi/cloudsdk/swagger_client/models/element_radio_configuration.py deleted file mode 100644 index bfa446a63..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/element_radio_configuration.py +++ /dev/null @@ -1,430 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ElementRadioConfiguration(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'radio_type': 'RadioType', - 'channel_number': 'int', - 'manual_channel_number': 'int', - 'backup_channel_number': 'int', - 'manual_backup_channel_number': 'int', - 'rx_cell_size_db': 'SourceSelectionValue', - 'probe_response_threshold_db': 'SourceSelectionValue', - 'client_disconnect_threshold_db': 'SourceSelectionValue', - 'eirp_tx_power': 'ElementRadioConfigurationEirpTxPower', - 'perimeter_detection_enabled': 'bool', - 'best_ap_steer_type': 'BestAPSteerType', - 'deauth_attack_detection': 'bool', - 'allowed_channels_power_levels': 'ChannelPowerLevel' - } - - attribute_map = { - 'radio_type': 'radioType', - 'channel_number': 'channelNumber', - 'manual_channel_number': 'manualChannelNumber', - 'backup_channel_number': 'backupChannelNumber', - 'manual_backup_channel_number': 'manualBackupChannelNumber', - 'rx_cell_size_db': 'rxCellSizeDb', - 'probe_response_threshold_db': 'probeResponseThresholdDb', - 'client_disconnect_threshold_db': 'clientDisconnectThresholdDb', - 'eirp_tx_power': 'eirpTxPower', - 'perimeter_detection_enabled': 'perimeterDetectionEnabled', - 'best_ap_steer_type': 'bestAPSteerType', - 'deauth_attack_detection': 'deauthAttackDetection', - 'allowed_channels_power_levels': 'allowedChannelsPowerLevels' - } - - def __init__(self, radio_type=None, channel_number=None, manual_channel_number=None, backup_channel_number=None, manual_backup_channel_number=None, rx_cell_size_db=None, probe_response_threshold_db=None, client_disconnect_threshold_db=None, eirp_tx_power=None, perimeter_detection_enabled=None, best_ap_steer_type=None, deauth_attack_detection=None, allowed_channels_power_levels=None): # noqa: E501 - """ElementRadioConfiguration - a model defined in Swagger""" # noqa: E501 - self._radio_type = None - self._channel_number = None - self._manual_channel_number = None - self._backup_channel_number = None - self._manual_backup_channel_number = None - self._rx_cell_size_db = None - self._probe_response_threshold_db = None - self._client_disconnect_threshold_db = None - self._eirp_tx_power = None - self._perimeter_detection_enabled = None - self._best_ap_steer_type = None - self._deauth_attack_detection = None - self._allowed_channels_power_levels = None - self.discriminator = None - if radio_type is not None: - self.radio_type = radio_type - if channel_number is not None: - self.channel_number = channel_number - if manual_channel_number is not None: - self.manual_channel_number = manual_channel_number - if backup_channel_number is not None: - self.backup_channel_number = backup_channel_number - if manual_backup_channel_number is not None: - self.manual_backup_channel_number = manual_backup_channel_number - if rx_cell_size_db is not None: - self.rx_cell_size_db = rx_cell_size_db - if probe_response_threshold_db is not None: - self.probe_response_threshold_db = probe_response_threshold_db - if client_disconnect_threshold_db is not None: - self.client_disconnect_threshold_db = client_disconnect_threshold_db - if eirp_tx_power is not None: - self.eirp_tx_power = eirp_tx_power - if perimeter_detection_enabled is not None: - self.perimeter_detection_enabled = perimeter_detection_enabled - if best_ap_steer_type is not None: - self.best_ap_steer_type = best_ap_steer_type - if deauth_attack_detection is not None: - self.deauth_attack_detection = deauth_attack_detection - if allowed_channels_power_levels is not None: - self.allowed_channels_power_levels = allowed_channels_power_levels - - @property - def radio_type(self): - """Gets the radio_type of this ElementRadioConfiguration. # noqa: E501 - - - :return: The radio_type of this ElementRadioConfiguration. # noqa: E501 - :rtype: RadioType - """ - return self._radio_type - - @radio_type.setter - def radio_type(self, radio_type): - """Sets the radio_type of this ElementRadioConfiguration. - - - :param radio_type: The radio_type of this ElementRadioConfiguration. # noqa: E501 - :type: RadioType - """ - - self._radio_type = radio_type - - @property - def channel_number(self): - """Gets the channel_number of this ElementRadioConfiguration. # noqa: E501 - - The channel that was picked through the cloud's assigment # noqa: E501 - - :return: The channel_number of this ElementRadioConfiguration. # noqa: E501 - :rtype: int - """ - return self._channel_number - - @channel_number.setter - def channel_number(self, channel_number): - """Sets the channel_number of this ElementRadioConfiguration. - - The channel that was picked through the cloud's assigment # noqa: E501 - - :param channel_number: The channel_number of this ElementRadioConfiguration. # noqa: E501 - :type: int - """ - - self._channel_number = channel_number - - @property - def manual_channel_number(self): - """Gets the manual_channel_number of this ElementRadioConfiguration. # noqa: E501 - - The channel that was manually entered # noqa: E501 - - :return: The manual_channel_number of this ElementRadioConfiguration. # noqa: E501 - :rtype: int - """ - return self._manual_channel_number - - @manual_channel_number.setter - def manual_channel_number(self, manual_channel_number): - """Sets the manual_channel_number of this ElementRadioConfiguration. - - The channel that was manually entered # noqa: E501 - - :param manual_channel_number: The manual_channel_number of this ElementRadioConfiguration. # noqa: E501 - :type: int - """ - - self._manual_channel_number = manual_channel_number - - @property - def backup_channel_number(self): - """Gets the backup_channel_number of this ElementRadioConfiguration. # noqa: E501 - - The backup channel that was picked through the cloud's assigment # noqa: E501 - - :return: The backup_channel_number of this ElementRadioConfiguration. # noqa: E501 - :rtype: int - """ - return self._backup_channel_number - - @backup_channel_number.setter - def backup_channel_number(self, backup_channel_number): - """Sets the backup_channel_number of this ElementRadioConfiguration. - - The backup channel that was picked through the cloud's assigment # noqa: E501 - - :param backup_channel_number: The backup_channel_number of this ElementRadioConfiguration. # noqa: E501 - :type: int - """ - - self._backup_channel_number = backup_channel_number - - @property - def manual_backup_channel_number(self): - """Gets the manual_backup_channel_number of this ElementRadioConfiguration. # noqa: E501 - - The backup channel that was manually entered # noqa: E501 - - :return: The manual_backup_channel_number of this ElementRadioConfiguration. # noqa: E501 - :rtype: int - """ - return self._manual_backup_channel_number - - @manual_backup_channel_number.setter - def manual_backup_channel_number(self, manual_backup_channel_number): - """Sets the manual_backup_channel_number of this ElementRadioConfiguration. - - The backup channel that was manually entered # noqa: E501 - - :param manual_backup_channel_number: The manual_backup_channel_number of this ElementRadioConfiguration. # noqa: E501 - :type: int - """ - - self._manual_backup_channel_number = manual_backup_channel_number - - @property - def rx_cell_size_db(self): - """Gets the rx_cell_size_db of this ElementRadioConfiguration. # noqa: E501 - - - :return: The rx_cell_size_db of this ElementRadioConfiguration. # noqa: E501 - :rtype: SourceSelectionValue - """ - return self._rx_cell_size_db - - @rx_cell_size_db.setter - def rx_cell_size_db(self, rx_cell_size_db): - """Sets the rx_cell_size_db of this ElementRadioConfiguration. - - - :param rx_cell_size_db: The rx_cell_size_db of this ElementRadioConfiguration. # noqa: E501 - :type: SourceSelectionValue - """ - - self._rx_cell_size_db = rx_cell_size_db - - @property - def probe_response_threshold_db(self): - """Gets the probe_response_threshold_db of this ElementRadioConfiguration. # noqa: E501 - - - :return: The probe_response_threshold_db of this ElementRadioConfiguration. # noqa: E501 - :rtype: SourceSelectionValue - """ - return self._probe_response_threshold_db - - @probe_response_threshold_db.setter - def probe_response_threshold_db(self, probe_response_threshold_db): - """Sets the probe_response_threshold_db of this ElementRadioConfiguration. - - - :param probe_response_threshold_db: The probe_response_threshold_db of this ElementRadioConfiguration. # noqa: E501 - :type: SourceSelectionValue - """ - - self._probe_response_threshold_db = probe_response_threshold_db - - @property - def client_disconnect_threshold_db(self): - """Gets the client_disconnect_threshold_db of this ElementRadioConfiguration. # noqa: E501 - - - :return: The client_disconnect_threshold_db of this ElementRadioConfiguration. # noqa: E501 - :rtype: SourceSelectionValue - """ - return self._client_disconnect_threshold_db - - @client_disconnect_threshold_db.setter - def client_disconnect_threshold_db(self, client_disconnect_threshold_db): - """Sets the client_disconnect_threshold_db of this ElementRadioConfiguration. - - - :param client_disconnect_threshold_db: The client_disconnect_threshold_db of this ElementRadioConfiguration. # noqa: E501 - :type: SourceSelectionValue - """ - - self._client_disconnect_threshold_db = client_disconnect_threshold_db - - @property - def eirp_tx_power(self): - """Gets the eirp_tx_power of this ElementRadioConfiguration. # noqa: E501 - - - :return: The eirp_tx_power of this ElementRadioConfiguration. # noqa: E501 - :rtype: ElementRadioConfigurationEirpTxPower - """ - return self._eirp_tx_power - - @eirp_tx_power.setter - def eirp_tx_power(self, eirp_tx_power): - """Sets the eirp_tx_power of this ElementRadioConfiguration. - - - :param eirp_tx_power: The eirp_tx_power of this ElementRadioConfiguration. # noqa: E501 - :type: ElementRadioConfigurationEirpTxPower - """ - - self._eirp_tx_power = eirp_tx_power - - @property - def perimeter_detection_enabled(self): - """Gets the perimeter_detection_enabled of this ElementRadioConfiguration. # noqa: E501 - - - :return: The perimeter_detection_enabled of this ElementRadioConfiguration. # noqa: E501 - :rtype: bool - """ - return self._perimeter_detection_enabled - - @perimeter_detection_enabled.setter - def perimeter_detection_enabled(self, perimeter_detection_enabled): - """Sets the perimeter_detection_enabled of this ElementRadioConfiguration. - - - :param perimeter_detection_enabled: The perimeter_detection_enabled of this ElementRadioConfiguration. # noqa: E501 - :type: bool - """ - - self._perimeter_detection_enabled = perimeter_detection_enabled - - @property - def best_ap_steer_type(self): - """Gets the best_ap_steer_type of this ElementRadioConfiguration. # noqa: E501 - - - :return: The best_ap_steer_type of this ElementRadioConfiguration. # noqa: E501 - :rtype: BestAPSteerType - """ - return self._best_ap_steer_type - - @best_ap_steer_type.setter - def best_ap_steer_type(self, best_ap_steer_type): - """Sets the best_ap_steer_type of this ElementRadioConfiguration. - - - :param best_ap_steer_type: The best_ap_steer_type of this ElementRadioConfiguration. # noqa: E501 - :type: BestAPSteerType - """ - - self._best_ap_steer_type = best_ap_steer_type - - @property - def deauth_attack_detection(self): - """Gets the deauth_attack_detection of this ElementRadioConfiguration. # noqa: E501 - - - :return: The deauth_attack_detection of this ElementRadioConfiguration. # noqa: E501 - :rtype: bool - """ - return self._deauth_attack_detection - - @deauth_attack_detection.setter - def deauth_attack_detection(self, deauth_attack_detection): - """Sets the deauth_attack_detection of this ElementRadioConfiguration. - - - :param deauth_attack_detection: The deauth_attack_detection of this ElementRadioConfiguration. # noqa: E501 - :type: bool - """ - - self._deauth_attack_detection = deauth_attack_detection - - @property - def allowed_channels_power_levels(self): - """Gets the allowed_channels_power_levels of this ElementRadioConfiguration. # noqa: E501 - - - :return: The allowed_channels_power_levels of this ElementRadioConfiguration. # noqa: E501 - :rtype: ChannelPowerLevel - """ - return self._allowed_channels_power_levels - - @allowed_channels_power_levels.setter - def allowed_channels_power_levels(self, allowed_channels_power_levels): - """Sets the allowed_channels_power_levels of this ElementRadioConfiguration. - - - :param allowed_channels_power_levels: The allowed_channels_power_levels of this ElementRadioConfiguration. # noqa: E501 - :type: ChannelPowerLevel - """ - - self._allowed_channels_power_levels = allowed_channels_power_levels - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ElementRadioConfiguration, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ElementRadioConfiguration): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/element_radio_configuration_eirp_tx_power.py b/libs/cloudapi/cloudsdk/swagger_client/models/element_radio_configuration_eirp_tx_power.py deleted file mode 100644 index 8a01e4527..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/element_radio_configuration_eirp_tx_power.py +++ /dev/null @@ -1,136 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ElementRadioConfigurationEirpTxPower(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'source': 'SourceType', - 'value': 'int' - } - - attribute_map = { - 'source': 'source', - 'value': 'value' - } - - def __init__(self, source=None, value=18): # noqa: E501 - """ElementRadioConfigurationEirpTxPower - a model defined in Swagger""" # noqa: E501 - self._source = None - self._value = None - self.discriminator = None - if source is not None: - self.source = source - if value is not None: - self.value = value - - @property - def source(self): - """Gets the source of this ElementRadioConfigurationEirpTxPower. # noqa: E501 - - - :return: The source of this ElementRadioConfigurationEirpTxPower. # noqa: E501 - :rtype: SourceType - """ - return self._source - - @source.setter - def source(self, source): - """Sets the source of this ElementRadioConfigurationEirpTxPower. - - - :param source: The source of this ElementRadioConfigurationEirpTxPower. # noqa: E501 - :type: SourceType - """ - - self._source = source - - @property - def value(self): - """Gets the value of this ElementRadioConfigurationEirpTxPower. # noqa: E501 - - - :return: The value of this ElementRadioConfigurationEirpTxPower. # noqa: E501 - :rtype: int - """ - return self._value - - @value.setter - def value(self, value): - """Sets the value of this ElementRadioConfigurationEirpTxPower. - - - :param value: The value of this ElementRadioConfigurationEirpTxPower. # noqa: E501 - :type: int - """ - - self._value = value - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ElementRadioConfigurationEirpTxPower, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ElementRadioConfigurationEirpTxPower): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/empty_schedule.py b/libs/cloudapi/cloudsdk/swagger_client/models/empty_schedule.py deleted file mode 100644 index 16fa000db..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/empty_schedule.py +++ /dev/null @@ -1,137 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class EmptySchedule(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'timezone': 'str', - 'model_type': 'str' - } - - attribute_map = { - 'timezone': 'timezone', - 'model_type': 'model_type' - } - - def __init__(self, timezone=None, model_type=None): # noqa: E501 - """EmptySchedule - a model defined in Swagger""" # noqa: E501 - self._timezone = None - self._model_type = None - self.discriminator = None - if timezone is not None: - self.timezone = timezone - self.model_type = model_type - - @property - def timezone(self): - """Gets the timezone of this EmptySchedule. # noqa: E501 - - - :return: The timezone of this EmptySchedule. # noqa: E501 - :rtype: str - """ - return self._timezone - - @timezone.setter - def timezone(self, timezone): - """Sets the timezone of this EmptySchedule. - - - :param timezone: The timezone of this EmptySchedule. # noqa: E501 - :type: str - """ - - self._timezone = timezone - - @property - def model_type(self): - """Gets the model_type of this EmptySchedule. # noqa: E501 - - - :return: The model_type of this EmptySchedule. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this EmptySchedule. - - - :param model_type: The model_type of this EmptySchedule. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - - self._model_type = model_type - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(EmptySchedule, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, EmptySchedule): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/equipment.py b/libs/cloudapi/cloudsdk/swagger_client/models/equipment.py deleted file mode 100644 index b0f0ee3b6..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/equipment.py +++ /dev/null @@ -1,450 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class Equipment(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'int', - 'equipment_type': 'EquipmentType', - 'inventory_id': 'str', - 'customer_id': 'int', - 'profile_id': 'int', - 'name': 'str', - 'location_id': 'int', - 'details': 'EquipmentDetails', - 'latitude': 'str', - 'longitude': 'str', - 'base_mac_address': 'MacAddress', - 'serial': 'str', - 'created_timestamp': 'int', - 'last_modified_timestamp': 'int' - } - - attribute_map = { - 'id': 'id', - 'equipment_type': 'equipmentType', - 'inventory_id': 'inventoryId', - 'customer_id': 'customerId', - 'profile_id': 'profileId', - 'name': 'name', - 'location_id': 'locationId', - 'details': 'details', - 'latitude': 'latitude', - 'longitude': 'longitude', - 'base_mac_address': 'baseMacAddress', - 'serial': 'serial', - 'created_timestamp': 'createdTimestamp', - 'last_modified_timestamp': 'lastModifiedTimestamp' - } - - def __init__(self, id=None, equipment_type=None, inventory_id=None, customer_id=None, profile_id=None, name=None, location_id=None, details=None, latitude=None, longitude=None, base_mac_address=None, serial=None, created_timestamp=None, last_modified_timestamp=None): # noqa: E501 - """Equipment - a model defined in Swagger""" # noqa: E501 - self._id = None - self._equipment_type = None - self._inventory_id = None - self._customer_id = None - self._profile_id = None - self._name = None - self._location_id = None - self._details = None - self._latitude = None - self._longitude = None - self._base_mac_address = None - self._serial = None - self._created_timestamp = None - self._last_modified_timestamp = None - self.discriminator = None - if id is not None: - self.id = id - if equipment_type is not None: - self.equipment_type = equipment_type - if inventory_id is not None: - self.inventory_id = inventory_id - if customer_id is not None: - self.customer_id = customer_id - if profile_id is not None: - self.profile_id = profile_id - if name is not None: - self.name = name - if location_id is not None: - self.location_id = location_id - if details is not None: - self.details = details - if latitude is not None: - self.latitude = latitude - if longitude is not None: - self.longitude = longitude - if base_mac_address is not None: - self.base_mac_address = base_mac_address - if serial is not None: - self.serial = serial - if created_timestamp is not None: - self.created_timestamp = created_timestamp - if last_modified_timestamp is not None: - self.last_modified_timestamp = last_modified_timestamp - - @property - def id(self): - """Gets the id of this Equipment. # noqa: E501 - - - :return: The id of this Equipment. # noqa: E501 - :rtype: int - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this Equipment. - - - :param id: The id of this Equipment. # noqa: E501 - :type: int - """ - - self._id = id - - @property - def equipment_type(self): - """Gets the equipment_type of this Equipment. # noqa: E501 - - - :return: The equipment_type of this Equipment. # noqa: E501 - :rtype: EquipmentType - """ - return self._equipment_type - - @equipment_type.setter - def equipment_type(self, equipment_type): - """Sets the equipment_type of this Equipment. - - - :param equipment_type: The equipment_type of this Equipment. # noqa: E501 - :type: EquipmentType - """ - - self._equipment_type = equipment_type - - @property - def inventory_id(self): - """Gets the inventory_id of this Equipment. # noqa: E501 - - - :return: The inventory_id of this Equipment. # noqa: E501 - :rtype: str - """ - return self._inventory_id - - @inventory_id.setter - def inventory_id(self, inventory_id): - """Sets the inventory_id of this Equipment. - - - :param inventory_id: The inventory_id of this Equipment. # noqa: E501 - :type: str - """ - - self._inventory_id = inventory_id - - @property - def customer_id(self): - """Gets the customer_id of this Equipment. # noqa: E501 - - - :return: The customer_id of this Equipment. # noqa: E501 - :rtype: int - """ - return self._customer_id - - @customer_id.setter - def customer_id(self, customer_id): - """Sets the customer_id of this Equipment. - - - :param customer_id: The customer_id of this Equipment. # noqa: E501 - :type: int - """ - - self._customer_id = customer_id - - @property - def profile_id(self): - """Gets the profile_id of this Equipment. # noqa: E501 - - - :return: The profile_id of this Equipment. # noqa: E501 - :rtype: int - """ - return self._profile_id - - @profile_id.setter - def profile_id(self, profile_id): - """Sets the profile_id of this Equipment. - - - :param profile_id: The profile_id of this Equipment. # noqa: E501 - :type: int - """ - - self._profile_id = profile_id - - @property - def name(self): - """Gets the name of this Equipment. # noqa: E501 - - - :return: The name of this Equipment. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this Equipment. - - - :param name: The name of this Equipment. # noqa: E501 - :type: str - """ - - self._name = name - - @property - def location_id(self): - """Gets the location_id of this Equipment. # noqa: E501 - - - :return: The location_id of this Equipment. # noqa: E501 - :rtype: int - """ - return self._location_id - - @location_id.setter - def location_id(self, location_id): - """Sets the location_id of this Equipment. - - - :param location_id: The location_id of this Equipment. # noqa: E501 - :type: int - """ - - self._location_id = location_id - - @property - def details(self): - """Gets the details of this Equipment. # noqa: E501 - - - :return: The details of this Equipment. # noqa: E501 - :rtype: EquipmentDetails - """ - return self._details - - @details.setter - def details(self, details): - """Sets the details of this Equipment. - - - :param details: The details of this Equipment. # noqa: E501 - :type: EquipmentDetails - """ - - self._details = details - - @property - def latitude(self): - """Gets the latitude of this Equipment. # noqa: E501 - - - :return: The latitude of this Equipment. # noqa: E501 - :rtype: str - """ - return self._latitude - - @latitude.setter - def latitude(self, latitude): - """Sets the latitude of this Equipment. - - - :param latitude: The latitude of this Equipment. # noqa: E501 - :type: str - """ - - self._latitude = latitude - - @property - def longitude(self): - """Gets the longitude of this Equipment. # noqa: E501 - - - :return: The longitude of this Equipment. # noqa: E501 - :rtype: str - """ - return self._longitude - - @longitude.setter - def longitude(self, longitude): - """Sets the longitude of this Equipment. - - - :param longitude: The longitude of this Equipment. # noqa: E501 - :type: str - """ - - self._longitude = longitude - - @property - def base_mac_address(self): - """Gets the base_mac_address of this Equipment. # noqa: E501 - - - :return: The base_mac_address of this Equipment. # noqa: E501 - :rtype: MacAddress - """ - return self._base_mac_address - - @base_mac_address.setter - def base_mac_address(self, base_mac_address): - """Sets the base_mac_address of this Equipment. - - - :param base_mac_address: The base_mac_address of this Equipment. # noqa: E501 - :type: MacAddress - """ - - self._base_mac_address = base_mac_address - - @property - def serial(self): - """Gets the serial of this Equipment. # noqa: E501 - - - :return: The serial of this Equipment. # noqa: E501 - :rtype: str - """ - return self._serial - - @serial.setter - def serial(self, serial): - """Sets the serial of this Equipment. - - - :param serial: The serial of this Equipment. # noqa: E501 - :type: str - """ - - self._serial = serial - - @property - def created_timestamp(self): - """Gets the created_timestamp of this Equipment. # noqa: E501 - - - :return: The created_timestamp of this Equipment. # noqa: E501 - :rtype: int - """ - return self._created_timestamp - - @created_timestamp.setter - def created_timestamp(self, created_timestamp): - """Sets the created_timestamp of this Equipment. - - - :param created_timestamp: The created_timestamp of this Equipment. # noqa: E501 - :type: int - """ - - self._created_timestamp = created_timestamp - - @property - def last_modified_timestamp(self): - """Gets the last_modified_timestamp of this Equipment. # noqa: E501 - - must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database # noqa: E501 - - :return: The last_modified_timestamp of this Equipment. # noqa: E501 - :rtype: int - """ - return self._last_modified_timestamp - - @last_modified_timestamp.setter - def last_modified_timestamp(self, last_modified_timestamp): - """Sets the last_modified_timestamp of this Equipment. - - must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database # noqa: E501 - - :param last_modified_timestamp: The last_modified_timestamp of this Equipment. # noqa: E501 - :type: int - """ - - self._last_modified_timestamp = last_modified_timestamp - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(Equipment, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, Equipment): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_added_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_added_event.py deleted file mode 100644 index f885b4876..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_added_event.py +++ /dev/null @@ -1,215 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class EquipmentAddedEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'event_timestamp': 'int', - 'customer_id': 'int', - 'equipment_id': 'int', - 'payload': 'Equipment' - } - - attribute_map = { - 'model_type': 'model_type', - 'event_timestamp': 'eventTimestamp', - 'customer_id': 'customerId', - 'equipment_id': 'equipmentId', - 'payload': 'payload' - } - - def __init__(self, model_type=None, event_timestamp=None, customer_id=None, equipment_id=None, payload=None): # noqa: E501 - """EquipmentAddedEvent - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._event_timestamp = None - self._customer_id = None - self._equipment_id = None - self._payload = None - self.discriminator = None - self.model_type = model_type - if event_timestamp is not None: - self.event_timestamp = event_timestamp - if customer_id is not None: - self.customer_id = customer_id - if equipment_id is not None: - self.equipment_id = equipment_id - if payload is not None: - self.payload = payload - - @property - def model_type(self): - """Gets the model_type of this EquipmentAddedEvent. # noqa: E501 - - - :return: The model_type of this EquipmentAddedEvent. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this EquipmentAddedEvent. - - - :param model_type: The model_type of this EquipmentAddedEvent. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - - self._model_type = model_type - - @property - def event_timestamp(self): - """Gets the event_timestamp of this EquipmentAddedEvent. # noqa: E501 - - - :return: The event_timestamp of this EquipmentAddedEvent. # noqa: E501 - :rtype: int - """ - return self._event_timestamp - - @event_timestamp.setter - def event_timestamp(self, event_timestamp): - """Sets the event_timestamp of this EquipmentAddedEvent. - - - :param event_timestamp: The event_timestamp of this EquipmentAddedEvent. # noqa: E501 - :type: int - """ - - self._event_timestamp = event_timestamp - - @property - def customer_id(self): - """Gets the customer_id of this EquipmentAddedEvent. # noqa: E501 - - - :return: The customer_id of this EquipmentAddedEvent. # noqa: E501 - :rtype: int - """ - return self._customer_id - - @customer_id.setter - def customer_id(self, customer_id): - """Sets the customer_id of this EquipmentAddedEvent. - - - :param customer_id: The customer_id of this EquipmentAddedEvent. # noqa: E501 - :type: int - """ - - self._customer_id = customer_id - - @property - def equipment_id(self): - """Gets the equipment_id of this EquipmentAddedEvent. # noqa: E501 - - - :return: The equipment_id of this EquipmentAddedEvent. # noqa: E501 - :rtype: int - """ - return self._equipment_id - - @equipment_id.setter - def equipment_id(self, equipment_id): - """Sets the equipment_id of this EquipmentAddedEvent. - - - :param equipment_id: The equipment_id of this EquipmentAddedEvent. # noqa: E501 - :type: int - """ - - self._equipment_id = equipment_id - - @property - def payload(self): - """Gets the payload of this EquipmentAddedEvent. # noqa: E501 - - - :return: The payload of this EquipmentAddedEvent. # noqa: E501 - :rtype: Equipment - """ - return self._payload - - @payload.setter - def payload(self, payload): - """Sets the payload of this EquipmentAddedEvent. - - - :param payload: The payload of this EquipmentAddedEvent. # noqa: E501 - :type: Equipment - """ - - self._payload = payload - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(EquipmentAddedEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, EquipmentAddedEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_admin_status_data.py b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_admin_status_data.py deleted file mode 100644 index 2f753177c..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_admin_status_data.py +++ /dev/null @@ -1,201 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class EquipmentAdminStatusData(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'status_data_type': 'str', - 'status_code': 'StatusCode', - 'status_message': 'str' - } - - attribute_map = { - 'model_type': 'model_type', - 'status_data_type': 'statusDataType', - 'status_code': 'statusCode', - 'status_message': 'statusMessage' - } - - def __init__(self, model_type=None, status_data_type=None, status_code=None, status_message=None): # noqa: E501 - """EquipmentAdminStatusData - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._status_data_type = None - self._status_code = None - self._status_message = None - self.discriminator = None - self.model_type = model_type - if status_data_type is not None: - self.status_data_type = status_data_type - if status_code is not None: - self.status_code = status_code - if status_message is not None: - self.status_message = status_message - - @property - def model_type(self): - """Gets the model_type of this EquipmentAdminStatusData. # noqa: E501 - - - :return: The model_type of this EquipmentAdminStatusData. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this EquipmentAdminStatusData. - - - :param model_type: The model_type of this EquipmentAdminStatusData. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - allowed_values = ["EquipmentAdminStatusData"] # noqa: E501 - if model_type not in allowed_values: - raise ValueError( - "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 - .format(model_type, allowed_values) - ) - - self._model_type = model_type - - @property - def status_data_type(self): - """Gets the status_data_type of this EquipmentAdminStatusData. # noqa: E501 - - - :return: The status_data_type of this EquipmentAdminStatusData. # noqa: E501 - :rtype: str - """ - return self._status_data_type - - @status_data_type.setter - def status_data_type(self, status_data_type): - """Sets the status_data_type of this EquipmentAdminStatusData. - - - :param status_data_type: The status_data_type of this EquipmentAdminStatusData. # noqa: E501 - :type: str - """ - allowed_values = ["EQUIPMENT_ADMIN"] # noqa: E501 - if status_data_type not in allowed_values: - raise ValueError( - "Invalid value for `status_data_type` ({0}), must be one of {1}" # noqa: E501 - .format(status_data_type, allowed_values) - ) - - self._status_data_type = status_data_type - - @property - def status_code(self): - """Gets the status_code of this EquipmentAdminStatusData. # noqa: E501 - - - :return: The status_code of this EquipmentAdminStatusData. # noqa: E501 - :rtype: StatusCode - """ - return self._status_code - - @status_code.setter - def status_code(self, status_code): - """Sets the status_code of this EquipmentAdminStatusData. - - - :param status_code: The status_code of this EquipmentAdminStatusData. # noqa: E501 - :type: StatusCode - """ - - self._status_code = status_code - - @property - def status_message(self): - """Gets the status_message of this EquipmentAdminStatusData. # noqa: E501 - - - :return: The status_message of this EquipmentAdminStatusData. # noqa: E501 - :rtype: str - """ - return self._status_message - - @status_message.setter - def status_message(self, status_message): - """Sets the status_message of this EquipmentAdminStatusData. - - - :param status_message: The status_message of this EquipmentAdminStatusData. # noqa: E501 - :type: str - """ - - self._status_message = status_message - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(EquipmentAdminStatusData, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, EquipmentAdminStatusData): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_auto_provisioning_settings.py b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_auto_provisioning_settings.py deleted file mode 100644 index 8c51a6322..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_auto_provisioning_settings.py +++ /dev/null @@ -1,164 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class EquipmentAutoProvisioningSettings(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'enabled': 'bool', - 'location_id': 'int', - 'equipment_profile_id_per_model': 'LongValueMap' - } - - attribute_map = { - 'enabled': 'enabled', - 'location_id': 'locationId', - 'equipment_profile_id_per_model': 'equipmentProfileIdPerModel' - } - - def __init__(self, enabled=None, location_id=None, equipment_profile_id_per_model=None): # noqa: E501 - """EquipmentAutoProvisioningSettings - a model defined in Swagger""" # noqa: E501 - self._enabled = None - self._location_id = None - self._equipment_profile_id_per_model = None - self.discriminator = None - if enabled is not None: - self.enabled = enabled - if location_id is not None: - self.location_id = location_id - if equipment_profile_id_per_model is not None: - self.equipment_profile_id_per_model = equipment_profile_id_per_model - - @property - def enabled(self): - """Gets the enabled of this EquipmentAutoProvisioningSettings. # noqa: E501 - - - :return: The enabled of this EquipmentAutoProvisioningSettings. # noqa: E501 - :rtype: bool - """ - return self._enabled - - @enabled.setter - def enabled(self, enabled): - """Sets the enabled of this EquipmentAutoProvisioningSettings. - - - :param enabled: The enabled of this EquipmentAutoProvisioningSettings. # noqa: E501 - :type: bool - """ - - self._enabled = enabled - - @property - def location_id(self): - """Gets the location_id of this EquipmentAutoProvisioningSettings. # noqa: E501 - - auto-provisioned equipment will appear under this location # noqa: E501 - - :return: The location_id of this EquipmentAutoProvisioningSettings. # noqa: E501 - :rtype: int - """ - return self._location_id - - @location_id.setter - def location_id(self, location_id): - """Sets the location_id of this EquipmentAutoProvisioningSettings. - - auto-provisioned equipment will appear under this location # noqa: E501 - - :param location_id: The location_id of this EquipmentAutoProvisioningSettings. # noqa: E501 - :type: int - """ - - self._location_id = location_id - - @property - def equipment_profile_id_per_model(self): - """Gets the equipment_profile_id_per_model of this EquipmentAutoProvisioningSettings. # noqa: E501 - - - :return: The equipment_profile_id_per_model of this EquipmentAutoProvisioningSettings. # noqa: E501 - :rtype: LongValueMap - """ - return self._equipment_profile_id_per_model - - @equipment_profile_id_per_model.setter - def equipment_profile_id_per_model(self, equipment_profile_id_per_model): - """Sets the equipment_profile_id_per_model of this EquipmentAutoProvisioningSettings. - - - :param equipment_profile_id_per_model: The equipment_profile_id_per_model of this EquipmentAutoProvisioningSettings. # noqa: E501 - :type: LongValueMap - """ - - self._equipment_profile_id_per_model = equipment_profile_id_per_model - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(EquipmentAutoProvisioningSettings, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, EquipmentAutoProvisioningSettings): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_capacity_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_capacity_details.py deleted file mode 100644 index 8586f4182..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_capacity_details.py +++ /dev/null @@ -1,224 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class EquipmentCapacityDetails(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'total_capacity': 'int', - 'available_capacity': 'int', - 'unavailable_capacity': 'int', - 'unused_capacity': 'int', - 'used_capacity': 'int' - } - - attribute_map = { - 'total_capacity': 'totalCapacity', - 'available_capacity': 'availableCapacity', - 'unavailable_capacity': 'unavailableCapacity', - 'unused_capacity': 'unusedCapacity', - 'used_capacity': 'usedCapacity' - } - - def __init__(self, total_capacity=None, available_capacity=None, unavailable_capacity=None, unused_capacity=None, used_capacity=None): # noqa: E501 - """EquipmentCapacityDetails - a model defined in Swagger""" # noqa: E501 - self._total_capacity = None - self._available_capacity = None - self._unavailable_capacity = None - self._unused_capacity = None - self._used_capacity = None - self.discriminator = None - if total_capacity is not None: - self.total_capacity = total_capacity - if available_capacity is not None: - self.available_capacity = available_capacity - if unavailable_capacity is not None: - self.unavailable_capacity = unavailable_capacity - if unused_capacity is not None: - self.unused_capacity = unused_capacity - if used_capacity is not None: - self.used_capacity = used_capacity - - @property - def total_capacity(self): - """Gets the total_capacity of this EquipmentCapacityDetails. # noqa: E501 - - A theoretical maximum based on channel bandwidth # noqa: E501 - - :return: The total_capacity of this EquipmentCapacityDetails. # noqa: E501 - :rtype: int - """ - return self._total_capacity - - @total_capacity.setter - def total_capacity(self, total_capacity): - """Sets the total_capacity of this EquipmentCapacityDetails. - - A theoretical maximum based on channel bandwidth # noqa: E501 - - :param total_capacity: The total_capacity of this EquipmentCapacityDetails. # noqa: E501 - :type: int - """ - - self._total_capacity = total_capacity - - @property - def available_capacity(self): - """Gets the available_capacity of this EquipmentCapacityDetails. # noqa: E501 - - The percentage of capacity that is available for clients. # noqa: E501 - - :return: The available_capacity of this EquipmentCapacityDetails. # noqa: E501 - :rtype: int - """ - return self._available_capacity - - @available_capacity.setter - def available_capacity(self, available_capacity): - """Sets the available_capacity of this EquipmentCapacityDetails. - - The percentage of capacity that is available for clients. # noqa: E501 - - :param available_capacity: The available_capacity of this EquipmentCapacityDetails. # noqa: E501 - :type: int - """ - - self._available_capacity = available_capacity - - @property - def unavailable_capacity(self): - """Gets the unavailable_capacity of this EquipmentCapacityDetails. # noqa: E501 - - The percentage of capacity that is not available for clients (e.g. beacons, noise, non-wifi) # noqa: E501 - - :return: The unavailable_capacity of this EquipmentCapacityDetails. # noqa: E501 - :rtype: int - """ - return self._unavailable_capacity - - @unavailable_capacity.setter - def unavailable_capacity(self, unavailable_capacity): - """Sets the unavailable_capacity of this EquipmentCapacityDetails. - - The percentage of capacity that is not available for clients (e.g. beacons, noise, non-wifi) # noqa: E501 - - :param unavailable_capacity: The unavailable_capacity of this EquipmentCapacityDetails. # noqa: E501 - :type: int - """ - - self._unavailable_capacity = unavailable_capacity - - @property - def unused_capacity(self): - """Gets the unused_capacity of this EquipmentCapacityDetails. # noqa: E501 - - The percentage of the overall capacity that is not being used. # noqa: E501 - - :return: The unused_capacity of this EquipmentCapacityDetails. # noqa: E501 - :rtype: int - """ - return self._unused_capacity - - @unused_capacity.setter - def unused_capacity(self, unused_capacity): - """Sets the unused_capacity of this EquipmentCapacityDetails. - - The percentage of the overall capacity that is not being used. # noqa: E501 - - :param unused_capacity: The unused_capacity of this EquipmentCapacityDetails. # noqa: E501 - :type: int - """ - - self._unused_capacity = unused_capacity - - @property - def used_capacity(self): - """Gets the used_capacity of this EquipmentCapacityDetails. # noqa: E501 - - The percentage of the overall capacity that is currently being used by associated clients. # noqa: E501 - - :return: The used_capacity of this EquipmentCapacityDetails. # noqa: E501 - :rtype: int - """ - return self._used_capacity - - @used_capacity.setter - def used_capacity(self, used_capacity): - """Sets the used_capacity of this EquipmentCapacityDetails. - - The percentage of the overall capacity that is currently being used by associated clients. # noqa: E501 - - :param used_capacity: The used_capacity of this EquipmentCapacityDetails. # noqa: E501 - :type: int - """ - - self._used_capacity = used_capacity - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(EquipmentCapacityDetails, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, EquipmentCapacityDetails): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_capacity_details_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_capacity_details_map.py deleted file mode 100644 index 2f968c027..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_capacity_details_map.py +++ /dev/null @@ -1,188 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class EquipmentCapacityDetailsMap(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'is5_g_hz': 'EquipmentCapacityDetails', - 'is5_g_hz_u': 'EquipmentCapacityDetails', - 'is5_g_hz_l': 'EquipmentCapacityDetails', - 'is2dot4_g_hz': 'EquipmentCapacityDetails' - } - - attribute_map = { - 'is5_g_hz': 'is5GHz', - 'is5_g_hz_u': 'is5GHzU', - 'is5_g_hz_l': 'is5GHzL', - 'is2dot4_g_hz': 'is2dot4GHz' - } - - def __init__(self, is5_g_hz=None, is5_g_hz_u=None, is5_g_hz_l=None, is2dot4_g_hz=None): # noqa: E501 - """EquipmentCapacityDetailsMap - a model defined in Swagger""" # noqa: E501 - self._is5_g_hz = None - self._is5_g_hz_u = None - self._is5_g_hz_l = None - self._is2dot4_g_hz = None - self.discriminator = None - if is5_g_hz is not None: - self.is5_g_hz = is5_g_hz - if is5_g_hz_u is not None: - self.is5_g_hz_u = is5_g_hz_u - if is5_g_hz_l is not None: - self.is5_g_hz_l = is5_g_hz_l - if is2dot4_g_hz is not None: - self.is2dot4_g_hz = is2dot4_g_hz - - @property - def is5_g_hz(self): - """Gets the is5_g_hz of this EquipmentCapacityDetailsMap. # noqa: E501 - - - :return: The is5_g_hz of this EquipmentCapacityDetailsMap. # noqa: E501 - :rtype: EquipmentCapacityDetails - """ - return self._is5_g_hz - - @is5_g_hz.setter - def is5_g_hz(self, is5_g_hz): - """Sets the is5_g_hz of this EquipmentCapacityDetailsMap. - - - :param is5_g_hz: The is5_g_hz of this EquipmentCapacityDetailsMap. # noqa: E501 - :type: EquipmentCapacityDetails - """ - - self._is5_g_hz = is5_g_hz - - @property - def is5_g_hz_u(self): - """Gets the is5_g_hz_u of this EquipmentCapacityDetailsMap. # noqa: E501 - - - :return: The is5_g_hz_u of this EquipmentCapacityDetailsMap. # noqa: E501 - :rtype: EquipmentCapacityDetails - """ - return self._is5_g_hz_u - - @is5_g_hz_u.setter - def is5_g_hz_u(self, is5_g_hz_u): - """Sets the is5_g_hz_u of this EquipmentCapacityDetailsMap. - - - :param is5_g_hz_u: The is5_g_hz_u of this EquipmentCapacityDetailsMap. # noqa: E501 - :type: EquipmentCapacityDetails - """ - - self._is5_g_hz_u = is5_g_hz_u - - @property - def is5_g_hz_l(self): - """Gets the is5_g_hz_l of this EquipmentCapacityDetailsMap. # noqa: E501 - - - :return: The is5_g_hz_l of this EquipmentCapacityDetailsMap. # noqa: E501 - :rtype: EquipmentCapacityDetails - """ - return self._is5_g_hz_l - - @is5_g_hz_l.setter - def is5_g_hz_l(self, is5_g_hz_l): - """Sets the is5_g_hz_l of this EquipmentCapacityDetailsMap. - - - :param is5_g_hz_l: The is5_g_hz_l of this EquipmentCapacityDetailsMap. # noqa: E501 - :type: EquipmentCapacityDetails - """ - - self._is5_g_hz_l = is5_g_hz_l - - @property - def is2dot4_g_hz(self): - """Gets the is2dot4_g_hz of this EquipmentCapacityDetailsMap. # noqa: E501 - - - :return: The is2dot4_g_hz of this EquipmentCapacityDetailsMap. # noqa: E501 - :rtype: EquipmentCapacityDetails - """ - return self._is2dot4_g_hz - - @is2dot4_g_hz.setter - def is2dot4_g_hz(self, is2dot4_g_hz): - """Sets the is2dot4_g_hz of this EquipmentCapacityDetailsMap. - - - :param is2dot4_g_hz: The is2dot4_g_hz of this EquipmentCapacityDetailsMap. # noqa: E501 - :type: EquipmentCapacityDetails - """ - - self._is2dot4_g_hz = is2dot4_g_hz - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(EquipmentCapacityDetailsMap, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, EquipmentCapacityDetailsMap): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_changed_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_changed_event.py deleted file mode 100644 index b41f60142..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_changed_event.py +++ /dev/null @@ -1,215 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class EquipmentChangedEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'event_timestamp': 'int', - 'customer_id': 'int', - 'equipment_id': 'int', - 'payload': 'Equipment' - } - - attribute_map = { - 'model_type': 'model_type', - 'event_timestamp': 'eventTimestamp', - 'customer_id': 'customerId', - 'equipment_id': 'equipmentId', - 'payload': 'payload' - } - - def __init__(self, model_type=None, event_timestamp=None, customer_id=None, equipment_id=None, payload=None): # noqa: E501 - """EquipmentChangedEvent - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._event_timestamp = None - self._customer_id = None - self._equipment_id = None - self._payload = None - self.discriminator = None - self.model_type = model_type - if event_timestamp is not None: - self.event_timestamp = event_timestamp - if customer_id is not None: - self.customer_id = customer_id - if equipment_id is not None: - self.equipment_id = equipment_id - if payload is not None: - self.payload = payload - - @property - def model_type(self): - """Gets the model_type of this EquipmentChangedEvent. # noqa: E501 - - - :return: The model_type of this EquipmentChangedEvent. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this EquipmentChangedEvent. - - - :param model_type: The model_type of this EquipmentChangedEvent. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - - self._model_type = model_type - - @property - def event_timestamp(self): - """Gets the event_timestamp of this EquipmentChangedEvent. # noqa: E501 - - - :return: The event_timestamp of this EquipmentChangedEvent. # noqa: E501 - :rtype: int - """ - return self._event_timestamp - - @event_timestamp.setter - def event_timestamp(self, event_timestamp): - """Sets the event_timestamp of this EquipmentChangedEvent. - - - :param event_timestamp: The event_timestamp of this EquipmentChangedEvent. # noqa: E501 - :type: int - """ - - self._event_timestamp = event_timestamp - - @property - def customer_id(self): - """Gets the customer_id of this EquipmentChangedEvent. # noqa: E501 - - - :return: The customer_id of this EquipmentChangedEvent. # noqa: E501 - :rtype: int - """ - return self._customer_id - - @customer_id.setter - def customer_id(self, customer_id): - """Sets the customer_id of this EquipmentChangedEvent. - - - :param customer_id: The customer_id of this EquipmentChangedEvent. # noqa: E501 - :type: int - """ - - self._customer_id = customer_id - - @property - def equipment_id(self): - """Gets the equipment_id of this EquipmentChangedEvent. # noqa: E501 - - - :return: The equipment_id of this EquipmentChangedEvent. # noqa: E501 - :rtype: int - """ - return self._equipment_id - - @equipment_id.setter - def equipment_id(self, equipment_id): - """Sets the equipment_id of this EquipmentChangedEvent. - - - :param equipment_id: The equipment_id of this EquipmentChangedEvent. # noqa: E501 - :type: int - """ - - self._equipment_id = equipment_id - - @property - def payload(self): - """Gets the payload of this EquipmentChangedEvent. # noqa: E501 - - - :return: The payload of this EquipmentChangedEvent. # noqa: E501 - :rtype: Equipment - """ - return self._payload - - @payload.setter - def payload(self, payload): - """Sets the payload of this EquipmentChangedEvent. - - - :param payload: The payload of this EquipmentChangedEvent. # noqa: E501 - :type: Equipment - """ - - self._payload = payload - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(EquipmentChangedEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, EquipmentChangedEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_details.py deleted file mode 100644 index 20326aa7f..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_details.py +++ /dev/null @@ -1,118 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class EquipmentDetails(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'equipment_model': 'str' - } - - attribute_map = { - 'equipment_model': 'equipmentModel' - } - - discriminator_value_class_map = { - } - - def __init__(self, equipment_model=None): # noqa: E501 - """EquipmentDetails - a model defined in Swagger""" # noqa: E501 - self._equipment_model = None - self.discriminator = 'model_type' - if equipment_model is not None: - self.equipment_model = equipment_model - - @property - def equipment_model(self): - """Gets the equipment_model of this EquipmentDetails. # noqa: E501 - - - :return: The equipment_model of this EquipmentDetails. # noqa: E501 - :rtype: str - """ - return self._equipment_model - - @equipment_model.setter - def equipment_model(self, equipment_model): - """Sets the equipment_model of this EquipmentDetails. - - - :param equipment_model: The equipment_model of this EquipmentDetails. # noqa: E501 - :type: str - """ - - self._equipment_model = equipment_model - - def get_real_child_model(self, data): - """Returns the real base class specified by the discriminator""" - discriminator_value = data[self.discriminator].lower() - return self.discriminator_value_class_map.get(discriminator_value) - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(EquipmentDetails, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, EquipmentDetails): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_gateway_record.py b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_gateway_record.py deleted file mode 100644 index 28496a131..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_gateway_record.py +++ /dev/null @@ -1,266 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class EquipmentGatewayRecord(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'int', - 'hostname': 'str', - 'ip_addr': 'str', - 'port': 'int', - 'gateway_type': 'GatewayType', - 'created_time_stamp': 'int', - 'last_modified_timestamp': 'int' - } - - attribute_map = { - 'id': 'id', - 'hostname': 'hostname', - 'ip_addr': 'ipAddr', - 'port': 'port', - 'gateway_type': 'gatewayType', - 'created_time_stamp': 'createdTimeStamp', - 'last_modified_timestamp': 'lastModifiedTimestamp' - } - - def __init__(self, id=None, hostname=None, ip_addr=None, port=None, gateway_type=None, created_time_stamp=None, last_modified_timestamp=None): # noqa: E501 - """EquipmentGatewayRecord - a model defined in Swagger""" # noqa: E501 - self._id = None - self._hostname = None - self._ip_addr = None - self._port = None - self._gateway_type = None - self._created_time_stamp = None - self._last_modified_timestamp = None - self.discriminator = None - if id is not None: - self.id = id - if hostname is not None: - self.hostname = hostname - if ip_addr is not None: - self.ip_addr = ip_addr - if port is not None: - self.port = port - if gateway_type is not None: - self.gateway_type = gateway_type - if created_time_stamp is not None: - self.created_time_stamp = created_time_stamp - if last_modified_timestamp is not None: - self.last_modified_timestamp = last_modified_timestamp - - @property - def id(self): - """Gets the id of this EquipmentGatewayRecord. # noqa: E501 - - - :return: The id of this EquipmentGatewayRecord. # noqa: E501 - :rtype: int - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this EquipmentGatewayRecord. - - - :param id: The id of this EquipmentGatewayRecord. # noqa: E501 - :type: int - """ - - self._id = id - - @property - def hostname(self): - """Gets the hostname of this EquipmentGatewayRecord. # noqa: E501 - - - :return: The hostname of this EquipmentGatewayRecord. # noqa: E501 - :rtype: str - """ - return self._hostname - - @hostname.setter - def hostname(self, hostname): - """Sets the hostname of this EquipmentGatewayRecord. - - - :param hostname: The hostname of this EquipmentGatewayRecord. # noqa: E501 - :type: str - """ - - self._hostname = hostname - - @property - def ip_addr(self): - """Gets the ip_addr of this EquipmentGatewayRecord. # noqa: E501 - - - :return: The ip_addr of this EquipmentGatewayRecord. # noqa: E501 - :rtype: str - """ - return self._ip_addr - - @ip_addr.setter - def ip_addr(self, ip_addr): - """Sets the ip_addr of this EquipmentGatewayRecord. - - - :param ip_addr: The ip_addr of this EquipmentGatewayRecord. # noqa: E501 - :type: str - """ - - self._ip_addr = ip_addr - - @property - def port(self): - """Gets the port of this EquipmentGatewayRecord. # noqa: E501 - - - :return: The port of this EquipmentGatewayRecord. # noqa: E501 - :rtype: int - """ - return self._port - - @port.setter - def port(self, port): - """Sets the port of this EquipmentGatewayRecord. - - - :param port: The port of this EquipmentGatewayRecord. # noqa: E501 - :type: int - """ - - self._port = port - - @property - def gateway_type(self): - """Gets the gateway_type of this EquipmentGatewayRecord. # noqa: E501 - - - :return: The gateway_type of this EquipmentGatewayRecord. # noqa: E501 - :rtype: GatewayType - """ - return self._gateway_type - - @gateway_type.setter - def gateway_type(self, gateway_type): - """Sets the gateway_type of this EquipmentGatewayRecord. - - - :param gateway_type: The gateway_type of this EquipmentGatewayRecord. # noqa: E501 - :type: GatewayType - """ - - self._gateway_type = gateway_type - - @property - def created_time_stamp(self): - """Gets the created_time_stamp of this EquipmentGatewayRecord. # noqa: E501 - - - :return: The created_time_stamp of this EquipmentGatewayRecord. # noqa: E501 - :rtype: int - """ - return self._created_time_stamp - - @created_time_stamp.setter - def created_time_stamp(self, created_time_stamp): - """Sets the created_time_stamp of this EquipmentGatewayRecord. - - - :param created_time_stamp: The created_time_stamp of this EquipmentGatewayRecord. # noqa: E501 - :type: int - """ - - self._created_time_stamp = created_time_stamp - - @property - def last_modified_timestamp(self): - """Gets the last_modified_timestamp of this EquipmentGatewayRecord. # noqa: E501 - - - :return: The last_modified_timestamp of this EquipmentGatewayRecord. # noqa: E501 - :rtype: int - """ - return self._last_modified_timestamp - - @last_modified_timestamp.setter - def last_modified_timestamp(self, last_modified_timestamp): - """Sets the last_modified_timestamp of this EquipmentGatewayRecord. - - - :param last_modified_timestamp: The last_modified_timestamp of this EquipmentGatewayRecord. # noqa: E501 - :type: int - """ - - self._last_modified_timestamp = last_modified_timestamp - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(EquipmentGatewayRecord, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, EquipmentGatewayRecord): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_lan_status_data.py b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_lan_status_data.py deleted file mode 100644 index 59b28ece7..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_lan_status_data.py +++ /dev/null @@ -1,175 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class EquipmentLANStatusData(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'status_data_type': 'str', - 'vlan_status_data_map': 'VLANStatusDataMap' - } - - attribute_map = { - 'model_type': 'model_type', - 'status_data_type': 'statusDataType', - 'vlan_status_data_map': 'vlanStatusDataMap' - } - - def __init__(self, model_type=None, status_data_type=None, vlan_status_data_map=None): # noqa: E501 - """EquipmentLANStatusData - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._status_data_type = None - self._vlan_status_data_map = None - self.discriminator = None - self.model_type = model_type - if status_data_type is not None: - self.status_data_type = status_data_type - if vlan_status_data_map is not None: - self.vlan_status_data_map = vlan_status_data_map - - @property - def model_type(self): - """Gets the model_type of this EquipmentLANStatusData. # noqa: E501 - - - :return: The model_type of this EquipmentLANStatusData. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this EquipmentLANStatusData. - - - :param model_type: The model_type of this EquipmentLANStatusData. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - allowed_values = ["EquipmentLANStatusData"] # noqa: E501 - if model_type not in allowed_values: - raise ValueError( - "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 - .format(model_type, allowed_values) - ) - - self._model_type = model_type - - @property - def status_data_type(self): - """Gets the status_data_type of this EquipmentLANStatusData. # noqa: E501 - - - :return: The status_data_type of this EquipmentLANStatusData. # noqa: E501 - :rtype: str - """ - return self._status_data_type - - @status_data_type.setter - def status_data_type(self, status_data_type): - """Sets the status_data_type of this EquipmentLANStatusData. - - - :param status_data_type: The status_data_type of this EquipmentLANStatusData. # noqa: E501 - :type: str - """ - allowed_values = ["LANINFO"] # noqa: E501 - if status_data_type not in allowed_values: - raise ValueError( - "Invalid value for `status_data_type` ({0}), must be one of {1}" # noqa: E501 - .format(status_data_type, allowed_values) - ) - - self._status_data_type = status_data_type - - @property - def vlan_status_data_map(self): - """Gets the vlan_status_data_map of this EquipmentLANStatusData. # noqa: E501 - - - :return: The vlan_status_data_map of this EquipmentLANStatusData. # noqa: E501 - :rtype: VLANStatusDataMap - """ - return self._vlan_status_data_map - - @vlan_status_data_map.setter - def vlan_status_data_map(self, vlan_status_data_map): - """Sets the vlan_status_data_map of this EquipmentLANStatusData. - - - :param vlan_status_data_map: The vlan_status_data_map of this EquipmentLANStatusData. # noqa: E501 - :type: VLANStatusDataMap - """ - - self._vlan_status_data_map = vlan_status_data_map - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(EquipmentLANStatusData, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, EquipmentLANStatusData): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_neighbouring_status_data.py b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_neighbouring_status_data.py deleted file mode 100644 index ed276cb73..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_neighbouring_status_data.py +++ /dev/null @@ -1,149 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class EquipmentNeighbouringStatusData(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'status_data_type': 'str' - } - - attribute_map = { - 'model_type': 'model_type', - 'status_data_type': 'statusDataType' - } - - def __init__(self, model_type=None, status_data_type=None): # noqa: E501 - """EquipmentNeighbouringStatusData - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._status_data_type = None - self.discriminator = None - self.model_type = model_type - if status_data_type is not None: - self.status_data_type = status_data_type - - @property - def model_type(self): - """Gets the model_type of this EquipmentNeighbouringStatusData. # noqa: E501 - - - :return: The model_type of this EquipmentNeighbouringStatusData. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this EquipmentNeighbouringStatusData. - - - :param model_type: The model_type of this EquipmentNeighbouringStatusData. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - allowed_values = ["EquipmentNeighbouringStatusData"] # noqa: E501 - if model_type not in allowed_values: - raise ValueError( - "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 - .format(model_type, allowed_values) - ) - - self._model_type = model_type - - @property - def status_data_type(self): - """Gets the status_data_type of this EquipmentNeighbouringStatusData. # noqa: E501 - - - :return: The status_data_type of this EquipmentNeighbouringStatusData. # noqa: E501 - :rtype: str - """ - return self._status_data_type - - @status_data_type.setter - def status_data_type(self, status_data_type): - """Sets the status_data_type of this EquipmentNeighbouringStatusData. - - - :param status_data_type: The status_data_type of this EquipmentNeighbouringStatusData. # noqa: E501 - :type: str - """ - allowed_values = ["NEIGHBOURINGINFO"] # noqa: E501 - if status_data_type not in allowed_values: - raise ValueError( - "Invalid value for `status_data_type` ({0}), must be one of {1}" # noqa: E501 - .format(status_data_type, allowed_values) - ) - - self._status_data_type = status_data_type - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(EquipmentNeighbouringStatusData, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, EquipmentNeighbouringStatusData): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_peer_status_data.py b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_peer_status_data.py deleted file mode 100644 index 4322cf8d8..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_peer_status_data.py +++ /dev/null @@ -1,149 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class EquipmentPeerStatusData(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'status_data_type': 'str' - } - - attribute_map = { - 'model_type': 'model_type', - 'status_data_type': 'statusDataType' - } - - def __init__(self, model_type=None, status_data_type=None): # noqa: E501 - """EquipmentPeerStatusData - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._status_data_type = None - self.discriminator = None - self.model_type = model_type - if status_data_type is not None: - self.status_data_type = status_data_type - - @property - def model_type(self): - """Gets the model_type of this EquipmentPeerStatusData. # noqa: E501 - - - :return: The model_type of this EquipmentPeerStatusData. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this EquipmentPeerStatusData. - - - :param model_type: The model_type of this EquipmentPeerStatusData. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - allowed_values = ["EquipmentPeerStatusData"] # noqa: E501 - if model_type not in allowed_values: - raise ValueError( - "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 - .format(model_type, allowed_values) - ) - - self._model_type = model_type - - @property - def status_data_type(self): - """Gets the status_data_type of this EquipmentPeerStatusData. # noqa: E501 - - - :return: The status_data_type of this EquipmentPeerStatusData. # noqa: E501 - :rtype: str - """ - return self._status_data_type - - @status_data_type.setter - def status_data_type(self, status_data_type): - """Sets the status_data_type of this EquipmentPeerStatusData. - - - :param status_data_type: The status_data_type of this EquipmentPeerStatusData. # noqa: E501 - :type: str - """ - allowed_values = ["PEERINFO"] # noqa: E501 - if status_data_type not in allowed_values: - raise ValueError( - "Invalid value for `status_data_type` ({0}), must be one of {1}" # noqa: E501 - .format(status_data_type, allowed_values) - ) - - self._status_data_type = status_data_type - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(EquipmentPeerStatusData, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, EquipmentPeerStatusData): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_per_radio_utilization_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_per_radio_utilization_details.py deleted file mode 100644 index f6a2e2cff..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_per_radio_utilization_details.py +++ /dev/null @@ -1,110 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class EquipmentPerRadioUtilizationDetails(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'wifi_from_other_bss': 'MinMaxAvgValueInt' - } - - attribute_map = { - 'wifi_from_other_bss': 'wifiFromOtherBss' - } - - def __init__(self, wifi_from_other_bss=None): # noqa: E501 - """EquipmentPerRadioUtilizationDetails - a model defined in Swagger""" # noqa: E501 - self._wifi_from_other_bss = None - self.discriminator = None - if wifi_from_other_bss is not None: - self.wifi_from_other_bss = wifi_from_other_bss - - @property - def wifi_from_other_bss(self): - """Gets the wifi_from_other_bss of this EquipmentPerRadioUtilizationDetails. # noqa: E501 - - - :return: The wifi_from_other_bss of this EquipmentPerRadioUtilizationDetails. # noqa: E501 - :rtype: MinMaxAvgValueInt - """ - return self._wifi_from_other_bss - - @wifi_from_other_bss.setter - def wifi_from_other_bss(self, wifi_from_other_bss): - """Sets the wifi_from_other_bss of this EquipmentPerRadioUtilizationDetails. - - - :param wifi_from_other_bss: The wifi_from_other_bss of this EquipmentPerRadioUtilizationDetails. # noqa: E501 - :type: MinMaxAvgValueInt - """ - - self._wifi_from_other_bss = wifi_from_other_bss - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(EquipmentPerRadioUtilizationDetails, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, EquipmentPerRadioUtilizationDetails): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_per_radio_utilization_details_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_per_radio_utilization_details_map.py deleted file mode 100644 index 16fecdf0d..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_per_radio_utilization_details_map.py +++ /dev/null @@ -1,188 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class EquipmentPerRadioUtilizationDetailsMap(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'is5_g_hz': 'EquipmentPerRadioUtilizationDetails', - 'is5_g_hz_u': 'EquipmentPerRadioUtilizationDetails', - 'is5_g_hz_l': 'EquipmentPerRadioUtilizationDetails', - 'is2dot4_g_hz': 'EquipmentPerRadioUtilizationDetails' - } - - attribute_map = { - 'is5_g_hz': 'is5GHz', - 'is5_g_hz_u': 'is5GHzU', - 'is5_g_hz_l': 'is5GHzL', - 'is2dot4_g_hz': 'is2dot4GHz' - } - - def __init__(self, is5_g_hz=None, is5_g_hz_u=None, is5_g_hz_l=None, is2dot4_g_hz=None): # noqa: E501 - """EquipmentPerRadioUtilizationDetailsMap - a model defined in Swagger""" # noqa: E501 - self._is5_g_hz = None - self._is5_g_hz_u = None - self._is5_g_hz_l = None - self._is2dot4_g_hz = None - self.discriminator = None - if is5_g_hz is not None: - self.is5_g_hz = is5_g_hz - if is5_g_hz_u is not None: - self.is5_g_hz_u = is5_g_hz_u - if is5_g_hz_l is not None: - self.is5_g_hz_l = is5_g_hz_l - if is2dot4_g_hz is not None: - self.is2dot4_g_hz = is2dot4_g_hz - - @property - def is5_g_hz(self): - """Gets the is5_g_hz of this EquipmentPerRadioUtilizationDetailsMap. # noqa: E501 - - - :return: The is5_g_hz of this EquipmentPerRadioUtilizationDetailsMap. # noqa: E501 - :rtype: EquipmentPerRadioUtilizationDetails - """ - return self._is5_g_hz - - @is5_g_hz.setter - def is5_g_hz(self, is5_g_hz): - """Sets the is5_g_hz of this EquipmentPerRadioUtilizationDetailsMap. - - - :param is5_g_hz: The is5_g_hz of this EquipmentPerRadioUtilizationDetailsMap. # noqa: E501 - :type: EquipmentPerRadioUtilizationDetails - """ - - self._is5_g_hz = is5_g_hz - - @property - def is5_g_hz_u(self): - """Gets the is5_g_hz_u of this EquipmentPerRadioUtilizationDetailsMap. # noqa: E501 - - - :return: The is5_g_hz_u of this EquipmentPerRadioUtilizationDetailsMap. # noqa: E501 - :rtype: EquipmentPerRadioUtilizationDetails - """ - return self._is5_g_hz_u - - @is5_g_hz_u.setter - def is5_g_hz_u(self, is5_g_hz_u): - """Sets the is5_g_hz_u of this EquipmentPerRadioUtilizationDetailsMap. - - - :param is5_g_hz_u: The is5_g_hz_u of this EquipmentPerRadioUtilizationDetailsMap. # noqa: E501 - :type: EquipmentPerRadioUtilizationDetails - """ - - self._is5_g_hz_u = is5_g_hz_u - - @property - def is5_g_hz_l(self): - """Gets the is5_g_hz_l of this EquipmentPerRadioUtilizationDetailsMap. # noqa: E501 - - - :return: The is5_g_hz_l of this EquipmentPerRadioUtilizationDetailsMap. # noqa: E501 - :rtype: EquipmentPerRadioUtilizationDetails - """ - return self._is5_g_hz_l - - @is5_g_hz_l.setter - def is5_g_hz_l(self, is5_g_hz_l): - """Sets the is5_g_hz_l of this EquipmentPerRadioUtilizationDetailsMap. - - - :param is5_g_hz_l: The is5_g_hz_l of this EquipmentPerRadioUtilizationDetailsMap. # noqa: E501 - :type: EquipmentPerRadioUtilizationDetails - """ - - self._is5_g_hz_l = is5_g_hz_l - - @property - def is2dot4_g_hz(self): - """Gets the is2dot4_g_hz of this EquipmentPerRadioUtilizationDetailsMap. # noqa: E501 - - - :return: The is2dot4_g_hz of this EquipmentPerRadioUtilizationDetailsMap. # noqa: E501 - :rtype: EquipmentPerRadioUtilizationDetails - """ - return self._is2dot4_g_hz - - @is2dot4_g_hz.setter - def is2dot4_g_hz(self, is2dot4_g_hz): - """Sets the is2dot4_g_hz of this EquipmentPerRadioUtilizationDetailsMap. - - - :param is2dot4_g_hz: The is2dot4_g_hz of this EquipmentPerRadioUtilizationDetailsMap. # noqa: E501 - :type: EquipmentPerRadioUtilizationDetails - """ - - self._is2dot4_g_hz = is2dot4_g_hz - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(EquipmentPerRadioUtilizationDetailsMap, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, EquipmentPerRadioUtilizationDetailsMap): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_performance_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_performance_details.py deleted file mode 100644 index 5f3f45258..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_performance_details.py +++ /dev/null @@ -1,188 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class EquipmentPerformanceDetails(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'avg_free_memory': 'int', - 'avg_cpu_util_core1': 'int', - 'avg_cpu_util_core2': 'int', - 'avg_cpu_temperature': 'int' - } - - attribute_map = { - 'avg_free_memory': 'avgFreeMemory', - 'avg_cpu_util_core1': 'avgCpuUtilCore1', - 'avg_cpu_util_core2': 'avgCpuUtilCore2', - 'avg_cpu_temperature': 'avgCpuTemperature' - } - - def __init__(self, avg_free_memory=None, avg_cpu_util_core1=None, avg_cpu_util_core2=None, avg_cpu_temperature=None): # noqa: E501 - """EquipmentPerformanceDetails - a model defined in Swagger""" # noqa: E501 - self._avg_free_memory = None - self._avg_cpu_util_core1 = None - self._avg_cpu_util_core2 = None - self._avg_cpu_temperature = None - self.discriminator = None - if avg_free_memory is not None: - self.avg_free_memory = avg_free_memory - if avg_cpu_util_core1 is not None: - self.avg_cpu_util_core1 = avg_cpu_util_core1 - if avg_cpu_util_core2 is not None: - self.avg_cpu_util_core2 = avg_cpu_util_core2 - if avg_cpu_temperature is not None: - self.avg_cpu_temperature = avg_cpu_temperature - - @property - def avg_free_memory(self): - """Gets the avg_free_memory of this EquipmentPerformanceDetails. # noqa: E501 - - - :return: The avg_free_memory of this EquipmentPerformanceDetails. # noqa: E501 - :rtype: int - """ - return self._avg_free_memory - - @avg_free_memory.setter - def avg_free_memory(self, avg_free_memory): - """Sets the avg_free_memory of this EquipmentPerformanceDetails. - - - :param avg_free_memory: The avg_free_memory of this EquipmentPerformanceDetails. # noqa: E501 - :type: int - """ - - self._avg_free_memory = avg_free_memory - - @property - def avg_cpu_util_core1(self): - """Gets the avg_cpu_util_core1 of this EquipmentPerformanceDetails. # noqa: E501 - - - :return: The avg_cpu_util_core1 of this EquipmentPerformanceDetails. # noqa: E501 - :rtype: int - """ - return self._avg_cpu_util_core1 - - @avg_cpu_util_core1.setter - def avg_cpu_util_core1(self, avg_cpu_util_core1): - """Sets the avg_cpu_util_core1 of this EquipmentPerformanceDetails. - - - :param avg_cpu_util_core1: The avg_cpu_util_core1 of this EquipmentPerformanceDetails. # noqa: E501 - :type: int - """ - - self._avg_cpu_util_core1 = avg_cpu_util_core1 - - @property - def avg_cpu_util_core2(self): - """Gets the avg_cpu_util_core2 of this EquipmentPerformanceDetails. # noqa: E501 - - - :return: The avg_cpu_util_core2 of this EquipmentPerformanceDetails. # noqa: E501 - :rtype: int - """ - return self._avg_cpu_util_core2 - - @avg_cpu_util_core2.setter - def avg_cpu_util_core2(self, avg_cpu_util_core2): - """Sets the avg_cpu_util_core2 of this EquipmentPerformanceDetails. - - - :param avg_cpu_util_core2: The avg_cpu_util_core2 of this EquipmentPerformanceDetails. # noqa: E501 - :type: int - """ - - self._avg_cpu_util_core2 = avg_cpu_util_core2 - - @property - def avg_cpu_temperature(self): - """Gets the avg_cpu_temperature of this EquipmentPerformanceDetails. # noqa: E501 - - - :return: The avg_cpu_temperature of this EquipmentPerformanceDetails. # noqa: E501 - :rtype: int - """ - return self._avg_cpu_temperature - - @avg_cpu_temperature.setter - def avg_cpu_temperature(self, avg_cpu_temperature): - """Sets the avg_cpu_temperature of this EquipmentPerformanceDetails. - - - :param avg_cpu_temperature: The avg_cpu_temperature of this EquipmentPerformanceDetails. # noqa: E501 - :type: int - """ - - self._avg_cpu_temperature = avg_cpu_temperature - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(EquipmentPerformanceDetails, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, EquipmentPerformanceDetails): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_protocol_state.py b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_protocol_state.py deleted file mode 100644 index dc4b4c8f2..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_protocol_state.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class EquipmentProtocolState(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - INIT = "init" - JOINED = "joined" - CONFIGURATION_RECEIVED = "configuration_received" - READY = "ready" - ERROR_WHEN_JOINING = "error_when_joining" - ERROR_PROCESSING_CONFIGURATION = "error_processing_configuration" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """EquipmentProtocolState - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(EquipmentProtocolState, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, EquipmentProtocolState): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_protocol_status_data.py b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_protocol_status_data.py deleted file mode 100644 index ed82ae020..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_protocol_status_data.py +++ /dev/null @@ -1,799 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class EquipmentProtocolStatusData(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'status_data_type': 'str', - 'powered_on': 'bool', - 'protocol_state': 'EquipmentProtocolState', - 'reported_hw_version': 'str', - 'reported_sw_version': 'str', - 'reported_sw_alt_version': 'str', - 'cloud_protocol_version': 'str', - 'reported_ip_v4_addr': 'str', - 'reported_ip_v6_addr': 'str', - 'reported_mac_addr': 'MacAddress', - 'country_code': 'str', - 'system_name': 'str', - 'system_contact': 'str', - 'system_location': 'str', - 'band_plan': 'str', - 'serial_number': 'str', - 'base_mac_address': 'MacAddress', - 'reported_apc_address': 'str', - 'last_apc_update': 'int', - 'is_apc_connected': 'bool', - 'ip_based_configuration': 'str', - 'reported_sku': 'str', - 'reported_cc': 'CountryCode', - 'radius_proxy_address': 'str', - 'reported_cfg_data_version': 'int', - 'cloud_cfg_data_version': 'int' - } - - attribute_map = { - 'model_type': 'model_type', - 'status_data_type': 'statusDataType', - 'powered_on': 'poweredOn', - 'protocol_state': 'protocolState', - 'reported_hw_version': 'reportedHwVersion', - 'reported_sw_version': 'reportedSwVersion', - 'reported_sw_alt_version': 'reportedSwAltVersion', - 'cloud_protocol_version': 'cloudProtocolVersion', - 'reported_ip_v4_addr': 'reportedIpV4Addr', - 'reported_ip_v6_addr': 'reportedIpV6Addr', - 'reported_mac_addr': 'reportedMacAddr', - 'country_code': 'countryCode', - 'system_name': 'systemName', - 'system_contact': 'systemContact', - 'system_location': 'systemLocation', - 'band_plan': 'bandPlan', - 'serial_number': 'serialNumber', - 'base_mac_address': 'baseMacAddress', - 'reported_apc_address': 'reportedApcAddress', - 'last_apc_update': 'lastApcUpdate', - 'is_apc_connected': 'isApcConnected', - 'ip_based_configuration': 'ipBasedConfiguration', - 'reported_sku': 'reportedSku', - 'reported_cc': 'reportedCC', - 'radius_proxy_address': 'radiusProxyAddress', - 'reported_cfg_data_version': 'reportedCfgDataVersion', - 'cloud_cfg_data_version': 'cloudCfgDataVersion' - } - - def __init__(self, model_type=None, status_data_type=None, powered_on=None, protocol_state=None, reported_hw_version=None, reported_sw_version=None, reported_sw_alt_version=None, cloud_protocol_version=None, reported_ip_v4_addr=None, reported_ip_v6_addr=None, reported_mac_addr=None, country_code=None, system_name=None, system_contact=None, system_location=None, band_plan=None, serial_number=None, base_mac_address=None, reported_apc_address=None, last_apc_update=None, is_apc_connected=None, ip_based_configuration=None, reported_sku=None, reported_cc=None, radius_proxy_address=None, reported_cfg_data_version=None, cloud_cfg_data_version=None): # noqa: E501 - """EquipmentProtocolStatusData - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._status_data_type = None - self._powered_on = None - self._protocol_state = None - self._reported_hw_version = None - self._reported_sw_version = None - self._reported_sw_alt_version = None - self._cloud_protocol_version = None - self._reported_ip_v4_addr = None - self._reported_ip_v6_addr = None - self._reported_mac_addr = None - self._country_code = None - self._system_name = None - self._system_contact = None - self._system_location = None - self._band_plan = None - self._serial_number = None - self._base_mac_address = None - self._reported_apc_address = None - self._last_apc_update = None - self._is_apc_connected = None - self._ip_based_configuration = None - self._reported_sku = None - self._reported_cc = None - self._radius_proxy_address = None - self._reported_cfg_data_version = None - self._cloud_cfg_data_version = None - self.discriminator = None - self.model_type = model_type - if status_data_type is not None: - self.status_data_type = status_data_type - if powered_on is not None: - self.powered_on = powered_on - if protocol_state is not None: - self.protocol_state = protocol_state - if reported_hw_version is not None: - self.reported_hw_version = reported_hw_version - if reported_sw_version is not None: - self.reported_sw_version = reported_sw_version - if reported_sw_alt_version is not None: - self.reported_sw_alt_version = reported_sw_alt_version - if cloud_protocol_version is not None: - self.cloud_protocol_version = cloud_protocol_version - if reported_ip_v4_addr is not None: - self.reported_ip_v4_addr = reported_ip_v4_addr - if reported_ip_v6_addr is not None: - self.reported_ip_v6_addr = reported_ip_v6_addr - if reported_mac_addr is not None: - self.reported_mac_addr = reported_mac_addr - if country_code is not None: - self.country_code = country_code - if system_name is not None: - self.system_name = system_name - if system_contact is not None: - self.system_contact = system_contact - if system_location is not None: - self.system_location = system_location - if band_plan is not None: - self.band_plan = band_plan - if serial_number is not None: - self.serial_number = serial_number - if base_mac_address is not None: - self.base_mac_address = base_mac_address - if reported_apc_address is not None: - self.reported_apc_address = reported_apc_address - if last_apc_update is not None: - self.last_apc_update = last_apc_update - if is_apc_connected is not None: - self.is_apc_connected = is_apc_connected - if ip_based_configuration is not None: - self.ip_based_configuration = ip_based_configuration - if reported_sku is not None: - self.reported_sku = reported_sku - if reported_cc is not None: - self.reported_cc = reported_cc - if radius_proxy_address is not None: - self.radius_proxy_address = radius_proxy_address - if reported_cfg_data_version is not None: - self.reported_cfg_data_version = reported_cfg_data_version - if cloud_cfg_data_version is not None: - self.cloud_cfg_data_version = cloud_cfg_data_version - - @property - def model_type(self): - """Gets the model_type of this EquipmentProtocolStatusData. # noqa: E501 - - - :return: The model_type of this EquipmentProtocolStatusData. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this EquipmentProtocolStatusData. - - - :param model_type: The model_type of this EquipmentProtocolStatusData. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - allowed_values = ["EquipmentProtocolStatusData"] # noqa: E501 - if model_type not in allowed_values: - raise ValueError( - "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 - .format(model_type, allowed_values) - ) - - self._model_type = model_type - - @property - def status_data_type(self): - """Gets the status_data_type of this EquipmentProtocolStatusData. # noqa: E501 - - - :return: The status_data_type of this EquipmentProtocolStatusData. # noqa: E501 - :rtype: str - """ - return self._status_data_type - - @status_data_type.setter - def status_data_type(self, status_data_type): - """Sets the status_data_type of this EquipmentProtocolStatusData. - - - :param status_data_type: The status_data_type of this EquipmentProtocolStatusData. # noqa: E501 - :type: str - """ - allowed_values = ["PROTOCOL"] # noqa: E501 - if status_data_type not in allowed_values: - raise ValueError( - "Invalid value for `status_data_type` ({0}), must be one of {1}" # noqa: E501 - .format(status_data_type, allowed_values) - ) - - self._status_data_type = status_data_type - - @property - def powered_on(self): - """Gets the powered_on of this EquipmentProtocolStatusData. # noqa: E501 - - - :return: The powered_on of this EquipmentProtocolStatusData. # noqa: E501 - :rtype: bool - """ - return self._powered_on - - @powered_on.setter - def powered_on(self, powered_on): - """Sets the powered_on of this EquipmentProtocolStatusData. - - - :param powered_on: The powered_on of this EquipmentProtocolStatusData. # noqa: E501 - :type: bool - """ - - self._powered_on = powered_on - - @property - def protocol_state(self): - """Gets the protocol_state of this EquipmentProtocolStatusData. # noqa: E501 - - - :return: The protocol_state of this EquipmentProtocolStatusData. # noqa: E501 - :rtype: EquipmentProtocolState - """ - return self._protocol_state - - @protocol_state.setter - def protocol_state(self, protocol_state): - """Sets the protocol_state of this EquipmentProtocolStatusData. - - - :param protocol_state: The protocol_state of this EquipmentProtocolStatusData. # noqa: E501 - :type: EquipmentProtocolState - """ - - self._protocol_state = protocol_state - - @property - def reported_hw_version(self): - """Gets the reported_hw_version of this EquipmentProtocolStatusData. # noqa: E501 - - - :return: The reported_hw_version of this EquipmentProtocolStatusData. # noqa: E501 - :rtype: str - """ - return self._reported_hw_version - - @reported_hw_version.setter - def reported_hw_version(self, reported_hw_version): - """Sets the reported_hw_version of this EquipmentProtocolStatusData. - - - :param reported_hw_version: The reported_hw_version of this EquipmentProtocolStatusData. # noqa: E501 - :type: str - """ - - self._reported_hw_version = reported_hw_version - - @property - def reported_sw_version(self): - """Gets the reported_sw_version of this EquipmentProtocolStatusData. # noqa: E501 - - - :return: The reported_sw_version of this EquipmentProtocolStatusData. # noqa: E501 - :rtype: str - """ - return self._reported_sw_version - - @reported_sw_version.setter - def reported_sw_version(self, reported_sw_version): - """Sets the reported_sw_version of this EquipmentProtocolStatusData. - - - :param reported_sw_version: The reported_sw_version of this EquipmentProtocolStatusData. # noqa: E501 - :type: str - """ - - self._reported_sw_version = reported_sw_version - - @property - def reported_sw_alt_version(self): - """Gets the reported_sw_alt_version of this EquipmentProtocolStatusData. # noqa: E501 - - - :return: The reported_sw_alt_version of this EquipmentProtocolStatusData. # noqa: E501 - :rtype: str - """ - return self._reported_sw_alt_version - - @reported_sw_alt_version.setter - def reported_sw_alt_version(self, reported_sw_alt_version): - """Sets the reported_sw_alt_version of this EquipmentProtocolStatusData. - - - :param reported_sw_alt_version: The reported_sw_alt_version of this EquipmentProtocolStatusData. # noqa: E501 - :type: str - """ - - self._reported_sw_alt_version = reported_sw_alt_version - - @property - def cloud_protocol_version(self): - """Gets the cloud_protocol_version of this EquipmentProtocolStatusData. # noqa: E501 - - - :return: The cloud_protocol_version of this EquipmentProtocolStatusData. # noqa: E501 - :rtype: str - """ - return self._cloud_protocol_version - - @cloud_protocol_version.setter - def cloud_protocol_version(self, cloud_protocol_version): - """Sets the cloud_protocol_version of this EquipmentProtocolStatusData. - - - :param cloud_protocol_version: The cloud_protocol_version of this EquipmentProtocolStatusData. # noqa: E501 - :type: str - """ - - self._cloud_protocol_version = cloud_protocol_version - - @property - def reported_ip_v4_addr(self): - """Gets the reported_ip_v4_addr of this EquipmentProtocolStatusData. # noqa: E501 - - - :return: The reported_ip_v4_addr of this EquipmentProtocolStatusData. # noqa: E501 - :rtype: str - """ - return self._reported_ip_v4_addr - - @reported_ip_v4_addr.setter - def reported_ip_v4_addr(self, reported_ip_v4_addr): - """Sets the reported_ip_v4_addr of this EquipmentProtocolStatusData. - - - :param reported_ip_v4_addr: The reported_ip_v4_addr of this EquipmentProtocolStatusData. # noqa: E501 - :type: str - """ - - self._reported_ip_v4_addr = reported_ip_v4_addr - - @property - def reported_ip_v6_addr(self): - """Gets the reported_ip_v6_addr of this EquipmentProtocolStatusData. # noqa: E501 - - - :return: The reported_ip_v6_addr of this EquipmentProtocolStatusData. # noqa: E501 - :rtype: str - """ - return self._reported_ip_v6_addr - - @reported_ip_v6_addr.setter - def reported_ip_v6_addr(self, reported_ip_v6_addr): - """Sets the reported_ip_v6_addr of this EquipmentProtocolStatusData. - - - :param reported_ip_v6_addr: The reported_ip_v6_addr of this EquipmentProtocolStatusData. # noqa: E501 - :type: str - """ - - self._reported_ip_v6_addr = reported_ip_v6_addr - - @property - def reported_mac_addr(self): - """Gets the reported_mac_addr of this EquipmentProtocolStatusData. # noqa: E501 - - - :return: The reported_mac_addr of this EquipmentProtocolStatusData. # noqa: E501 - :rtype: MacAddress - """ - return self._reported_mac_addr - - @reported_mac_addr.setter - def reported_mac_addr(self, reported_mac_addr): - """Sets the reported_mac_addr of this EquipmentProtocolStatusData. - - - :param reported_mac_addr: The reported_mac_addr of this EquipmentProtocolStatusData. # noqa: E501 - :type: MacAddress - """ - - self._reported_mac_addr = reported_mac_addr - - @property - def country_code(self): - """Gets the country_code of this EquipmentProtocolStatusData. # noqa: E501 - - - :return: The country_code of this EquipmentProtocolStatusData. # noqa: E501 - :rtype: str - """ - return self._country_code - - @country_code.setter - def country_code(self, country_code): - """Sets the country_code of this EquipmentProtocolStatusData. - - - :param country_code: The country_code of this EquipmentProtocolStatusData. # noqa: E501 - :type: str - """ - - self._country_code = country_code - - @property - def system_name(self): - """Gets the system_name of this EquipmentProtocolStatusData. # noqa: E501 - - - :return: The system_name of this EquipmentProtocolStatusData. # noqa: E501 - :rtype: str - """ - return self._system_name - - @system_name.setter - def system_name(self, system_name): - """Sets the system_name of this EquipmentProtocolStatusData. - - - :param system_name: The system_name of this EquipmentProtocolStatusData. # noqa: E501 - :type: str - """ - - self._system_name = system_name - - @property - def system_contact(self): - """Gets the system_contact of this EquipmentProtocolStatusData. # noqa: E501 - - - :return: The system_contact of this EquipmentProtocolStatusData. # noqa: E501 - :rtype: str - """ - return self._system_contact - - @system_contact.setter - def system_contact(self, system_contact): - """Sets the system_contact of this EquipmentProtocolStatusData. - - - :param system_contact: The system_contact of this EquipmentProtocolStatusData. # noqa: E501 - :type: str - """ - - self._system_contact = system_contact - - @property - def system_location(self): - """Gets the system_location of this EquipmentProtocolStatusData. # noqa: E501 - - - :return: The system_location of this EquipmentProtocolStatusData. # noqa: E501 - :rtype: str - """ - return self._system_location - - @system_location.setter - def system_location(self, system_location): - """Sets the system_location of this EquipmentProtocolStatusData. - - - :param system_location: The system_location of this EquipmentProtocolStatusData. # noqa: E501 - :type: str - """ - - self._system_location = system_location - - @property - def band_plan(self): - """Gets the band_plan of this EquipmentProtocolStatusData. # noqa: E501 - - - :return: The band_plan of this EquipmentProtocolStatusData. # noqa: E501 - :rtype: str - """ - return self._band_plan - - @band_plan.setter - def band_plan(self, band_plan): - """Sets the band_plan of this EquipmentProtocolStatusData. - - - :param band_plan: The band_plan of this EquipmentProtocolStatusData. # noqa: E501 - :type: str - """ - - self._band_plan = band_plan - - @property - def serial_number(self): - """Gets the serial_number of this EquipmentProtocolStatusData. # noqa: E501 - - - :return: The serial_number of this EquipmentProtocolStatusData. # noqa: E501 - :rtype: str - """ - return self._serial_number - - @serial_number.setter - def serial_number(self, serial_number): - """Sets the serial_number of this EquipmentProtocolStatusData. - - - :param serial_number: The serial_number of this EquipmentProtocolStatusData. # noqa: E501 - :type: str - """ - - self._serial_number = serial_number - - @property - def base_mac_address(self): - """Gets the base_mac_address of this EquipmentProtocolStatusData. # noqa: E501 - - - :return: The base_mac_address of this EquipmentProtocolStatusData. # noqa: E501 - :rtype: MacAddress - """ - return self._base_mac_address - - @base_mac_address.setter - def base_mac_address(self, base_mac_address): - """Sets the base_mac_address of this EquipmentProtocolStatusData. - - - :param base_mac_address: The base_mac_address of this EquipmentProtocolStatusData. # noqa: E501 - :type: MacAddress - """ - - self._base_mac_address = base_mac_address - - @property - def reported_apc_address(self): - """Gets the reported_apc_address of this EquipmentProtocolStatusData. # noqa: E501 - - - :return: The reported_apc_address of this EquipmentProtocolStatusData. # noqa: E501 - :rtype: str - """ - return self._reported_apc_address - - @reported_apc_address.setter - def reported_apc_address(self, reported_apc_address): - """Sets the reported_apc_address of this EquipmentProtocolStatusData. - - - :param reported_apc_address: The reported_apc_address of this EquipmentProtocolStatusData. # noqa: E501 - :type: str - """ - - self._reported_apc_address = reported_apc_address - - @property - def last_apc_update(self): - """Gets the last_apc_update of this EquipmentProtocolStatusData. # noqa: E501 - - - :return: The last_apc_update of this EquipmentProtocolStatusData. # noqa: E501 - :rtype: int - """ - return self._last_apc_update - - @last_apc_update.setter - def last_apc_update(self, last_apc_update): - """Sets the last_apc_update of this EquipmentProtocolStatusData. - - - :param last_apc_update: The last_apc_update of this EquipmentProtocolStatusData. # noqa: E501 - :type: int - """ - - self._last_apc_update = last_apc_update - - @property - def is_apc_connected(self): - """Gets the is_apc_connected of this EquipmentProtocolStatusData. # noqa: E501 - - - :return: The is_apc_connected of this EquipmentProtocolStatusData. # noqa: E501 - :rtype: bool - """ - return self._is_apc_connected - - @is_apc_connected.setter - def is_apc_connected(self, is_apc_connected): - """Sets the is_apc_connected of this EquipmentProtocolStatusData. - - - :param is_apc_connected: The is_apc_connected of this EquipmentProtocolStatusData. # noqa: E501 - :type: bool - """ - - self._is_apc_connected = is_apc_connected - - @property - def ip_based_configuration(self): - """Gets the ip_based_configuration of this EquipmentProtocolStatusData. # noqa: E501 - - - :return: The ip_based_configuration of this EquipmentProtocolStatusData. # noqa: E501 - :rtype: str - """ - return self._ip_based_configuration - - @ip_based_configuration.setter - def ip_based_configuration(self, ip_based_configuration): - """Sets the ip_based_configuration of this EquipmentProtocolStatusData. - - - :param ip_based_configuration: The ip_based_configuration of this EquipmentProtocolStatusData. # noqa: E501 - :type: str - """ - - self._ip_based_configuration = ip_based_configuration - - @property - def reported_sku(self): - """Gets the reported_sku of this EquipmentProtocolStatusData. # noqa: E501 - - - :return: The reported_sku of this EquipmentProtocolStatusData. # noqa: E501 - :rtype: str - """ - return self._reported_sku - - @reported_sku.setter - def reported_sku(self, reported_sku): - """Sets the reported_sku of this EquipmentProtocolStatusData. - - - :param reported_sku: The reported_sku of this EquipmentProtocolStatusData. # noqa: E501 - :type: str - """ - - self._reported_sku = reported_sku - - @property - def reported_cc(self): - """Gets the reported_cc of this EquipmentProtocolStatusData. # noqa: E501 - - - :return: The reported_cc of this EquipmentProtocolStatusData. # noqa: E501 - :rtype: CountryCode - """ - return self._reported_cc - - @reported_cc.setter - def reported_cc(self, reported_cc): - """Sets the reported_cc of this EquipmentProtocolStatusData. - - - :param reported_cc: The reported_cc of this EquipmentProtocolStatusData. # noqa: E501 - :type: CountryCode - """ - - self._reported_cc = reported_cc - - @property - def radius_proxy_address(self): - """Gets the radius_proxy_address of this EquipmentProtocolStatusData. # noqa: E501 - - - :return: The radius_proxy_address of this EquipmentProtocolStatusData. # noqa: E501 - :rtype: str - """ - return self._radius_proxy_address - - @radius_proxy_address.setter - def radius_proxy_address(self, radius_proxy_address): - """Sets the radius_proxy_address of this EquipmentProtocolStatusData. - - - :param radius_proxy_address: The radius_proxy_address of this EquipmentProtocolStatusData. # noqa: E501 - :type: str - """ - - self._radius_proxy_address = radius_proxy_address - - @property - def reported_cfg_data_version(self): - """Gets the reported_cfg_data_version of this EquipmentProtocolStatusData. # noqa: E501 - - - :return: The reported_cfg_data_version of this EquipmentProtocolStatusData. # noqa: E501 - :rtype: int - """ - return self._reported_cfg_data_version - - @reported_cfg_data_version.setter - def reported_cfg_data_version(self, reported_cfg_data_version): - """Sets the reported_cfg_data_version of this EquipmentProtocolStatusData. - - - :param reported_cfg_data_version: The reported_cfg_data_version of this EquipmentProtocolStatusData. # noqa: E501 - :type: int - """ - - self._reported_cfg_data_version = reported_cfg_data_version - - @property - def cloud_cfg_data_version(self): - """Gets the cloud_cfg_data_version of this EquipmentProtocolStatusData. # noqa: E501 - - - :return: The cloud_cfg_data_version of this EquipmentProtocolStatusData. # noqa: E501 - :rtype: int - """ - return self._cloud_cfg_data_version - - @cloud_cfg_data_version.setter - def cloud_cfg_data_version(self, cloud_cfg_data_version): - """Sets the cloud_cfg_data_version of this EquipmentProtocolStatusData. - - - :param cloud_cfg_data_version: The cloud_cfg_data_version of this EquipmentProtocolStatusData. # noqa: E501 - :type: int - """ - - self._cloud_cfg_data_version = cloud_cfg_data_version - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(EquipmentProtocolStatusData, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, EquipmentProtocolStatusData): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_removed_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_removed_event.py deleted file mode 100644 index dd1afcef5..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_removed_event.py +++ /dev/null @@ -1,215 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class EquipmentRemovedEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'event_timestamp': 'int', - 'customer_id': 'int', - 'equipment_id': 'int', - 'payload': 'Equipment' - } - - attribute_map = { - 'model_type': 'model_type', - 'event_timestamp': 'eventTimestamp', - 'customer_id': 'customerId', - 'equipment_id': 'equipmentId', - 'payload': 'payload' - } - - def __init__(self, model_type=None, event_timestamp=None, customer_id=None, equipment_id=None, payload=None): # noqa: E501 - """EquipmentRemovedEvent - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._event_timestamp = None - self._customer_id = None - self._equipment_id = None - self._payload = None - self.discriminator = None - self.model_type = model_type - if event_timestamp is not None: - self.event_timestamp = event_timestamp - if customer_id is not None: - self.customer_id = customer_id - if equipment_id is not None: - self.equipment_id = equipment_id - if payload is not None: - self.payload = payload - - @property - def model_type(self): - """Gets the model_type of this EquipmentRemovedEvent. # noqa: E501 - - - :return: The model_type of this EquipmentRemovedEvent. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this EquipmentRemovedEvent. - - - :param model_type: The model_type of this EquipmentRemovedEvent. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - - self._model_type = model_type - - @property - def event_timestamp(self): - """Gets the event_timestamp of this EquipmentRemovedEvent. # noqa: E501 - - - :return: The event_timestamp of this EquipmentRemovedEvent. # noqa: E501 - :rtype: int - """ - return self._event_timestamp - - @event_timestamp.setter - def event_timestamp(self, event_timestamp): - """Sets the event_timestamp of this EquipmentRemovedEvent. - - - :param event_timestamp: The event_timestamp of this EquipmentRemovedEvent. # noqa: E501 - :type: int - """ - - self._event_timestamp = event_timestamp - - @property - def customer_id(self): - """Gets the customer_id of this EquipmentRemovedEvent. # noqa: E501 - - - :return: The customer_id of this EquipmentRemovedEvent. # noqa: E501 - :rtype: int - """ - return self._customer_id - - @customer_id.setter - def customer_id(self, customer_id): - """Sets the customer_id of this EquipmentRemovedEvent. - - - :param customer_id: The customer_id of this EquipmentRemovedEvent. # noqa: E501 - :type: int - """ - - self._customer_id = customer_id - - @property - def equipment_id(self): - """Gets the equipment_id of this EquipmentRemovedEvent. # noqa: E501 - - - :return: The equipment_id of this EquipmentRemovedEvent. # noqa: E501 - :rtype: int - """ - return self._equipment_id - - @equipment_id.setter - def equipment_id(self, equipment_id): - """Sets the equipment_id of this EquipmentRemovedEvent. - - - :param equipment_id: The equipment_id of this EquipmentRemovedEvent. # noqa: E501 - :type: int - """ - - self._equipment_id = equipment_id - - @property - def payload(self): - """Gets the payload of this EquipmentRemovedEvent. # noqa: E501 - - - :return: The payload of this EquipmentRemovedEvent. # noqa: E501 - :rtype: Equipment - """ - return self._payload - - @payload.setter - def payload(self, payload): - """Sets the payload of this EquipmentRemovedEvent. - - - :param payload: The payload of this EquipmentRemovedEvent. # noqa: E501 - :type: Equipment - """ - - self._payload = payload - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(EquipmentRemovedEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, EquipmentRemovedEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_routing_record.py b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_routing_record.py deleted file mode 100644 index b459c6506..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_routing_record.py +++ /dev/null @@ -1,240 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class EquipmentRoutingRecord(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'int', - 'equipment_id': 'int', - 'customer_id': 'int', - 'gateway_id': 'int', - 'created_timestamp': 'int', - 'last_modified_timestamp': 'int' - } - - attribute_map = { - 'id': 'id', - 'equipment_id': 'equipmentId', - 'customer_id': 'customerId', - 'gateway_id': 'gatewayId', - 'created_timestamp': 'createdTimestamp', - 'last_modified_timestamp': 'lastModifiedTimestamp' - } - - def __init__(self, id=None, equipment_id=None, customer_id=None, gateway_id=None, created_timestamp=None, last_modified_timestamp=None): # noqa: E501 - """EquipmentRoutingRecord - a model defined in Swagger""" # noqa: E501 - self._id = None - self._equipment_id = None - self._customer_id = None - self._gateway_id = None - self._created_timestamp = None - self._last_modified_timestamp = None - self.discriminator = None - if id is not None: - self.id = id - if equipment_id is not None: - self.equipment_id = equipment_id - if customer_id is not None: - self.customer_id = customer_id - if gateway_id is not None: - self.gateway_id = gateway_id - if created_timestamp is not None: - self.created_timestamp = created_timestamp - if last_modified_timestamp is not None: - self.last_modified_timestamp = last_modified_timestamp - - @property - def id(self): - """Gets the id of this EquipmentRoutingRecord. # noqa: E501 - - - :return: The id of this EquipmentRoutingRecord. # noqa: E501 - :rtype: int - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this EquipmentRoutingRecord. - - - :param id: The id of this EquipmentRoutingRecord. # noqa: E501 - :type: int - """ - - self._id = id - - @property - def equipment_id(self): - """Gets the equipment_id of this EquipmentRoutingRecord. # noqa: E501 - - - :return: The equipment_id of this EquipmentRoutingRecord. # noqa: E501 - :rtype: int - """ - return self._equipment_id - - @equipment_id.setter - def equipment_id(self, equipment_id): - """Sets the equipment_id of this EquipmentRoutingRecord. - - - :param equipment_id: The equipment_id of this EquipmentRoutingRecord. # noqa: E501 - :type: int - """ - - self._equipment_id = equipment_id - - @property - def customer_id(self): - """Gets the customer_id of this EquipmentRoutingRecord. # noqa: E501 - - - :return: The customer_id of this EquipmentRoutingRecord. # noqa: E501 - :rtype: int - """ - return self._customer_id - - @customer_id.setter - def customer_id(self, customer_id): - """Sets the customer_id of this EquipmentRoutingRecord. - - - :param customer_id: The customer_id of this EquipmentRoutingRecord. # noqa: E501 - :type: int - """ - - self._customer_id = customer_id - - @property - def gateway_id(self): - """Gets the gateway_id of this EquipmentRoutingRecord. # noqa: E501 - - - :return: The gateway_id of this EquipmentRoutingRecord. # noqa: E501 - :rtype: int - """ - return self._gateway_id - - @gateway_id.setter - def gateway_id(self, gateway_id): - """Sets the gateway_id of this EquipmentRoutingRecord. - - - :param gateway_id: The gateway_id of this EquipmentRoutingRecord. # noqa: E501 - :type: int - """ - - self._gateway_id = gateway_id - - @property - def created_timestamp(self): - """Gets the created_timestamp of this EquipmentRoutingRecord. # noqa: E501 - - - :return: The created_timestamp of this EquipmentRoutingRecord. # noqa: E501 - :rtype: int - """ - return self._created_timestamp - - @created_timestamp.setter - def created_timestamp(self, created_timestamp): - """Sets the created_timestamp of this EquipmentRoutingRecord. - - - :param created_timestamp: The created_timestamp of this EquipmentRoutingRecord. # noqa: E501 - :type: int - """ - - self._created_timestamp = created_timestamp - - @property - def last_modified_timestamp(self): - """Gets the last_modified_timestamp of this EquipmentRoutingRecord. # noqa: E501 - - - :return: The last_modified_timestamp of this EquipmentRoutingRecord. # noqa: E501 - :rtype: int - """ - return self._last_modified_timestamp - - @last_modified_timestamp.setter - def last_modified_timestamp(self, last_modified_timestamp): - """Sets the last_modified_timestamp of this EquipmentRoutingRecord. - - - :param last_modified_timestamp: The last_modified_timestamp of this EquipmentRoutingRecord. # noqa: E501 - :type: int - """ - - self._last_modified_timestamp = last_modified_timestamp - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(EquipmentRoutingRecord, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, EquipmentRoutingRecord): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_rrm_bulk_update_item.py b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_rrm_bulk_update_item.py deleted file mode 100644 index 6818aa4c2..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_rrm_bulk_update_item.py +++ /dev/null @@ -1,136 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class EquipmentRrmBulkUpdateItem(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'equipment_id': 'int', - 'per_radio_details': 'EquipmentRrmBulkUpdateItemPerRadioMap' - } - - attribute_map = { - 'equipment_id': 'equipmentId', - 'per_radio_details': 'perRadioDetails' - } - - def __init__(self, equipment_id=None, per_radio_details=None): # noqa: E501 - """EquipmentRrmBulkUpdateItem - a model defined in Swagger""" # noqa: E501 - self._equipment_id = None - self._per_radio_details = None - self.discriminator = None - if equipment_id is not None: - self.equipment_id = equipment_id - if per_radio_details is not None: - self.per_radio_details = per_radio_details - - @property - def equipment_id(self): - """Gets the equipment_id of this EquipmentRrmBulkUpdateItem. # noqa: E501 - - - :return: The equipment_id of this EquipmentRrmBulkUpdateItem. # noqa: E501 - :rtype: int - """ - return self._equipment_id - - @equipment_id.setter - def equipment_id(self, equipment_id): - """Sets the equipment_id of this EquipmentRrmBulkUpdateItem. - - - :param equipment_id: The equipment_id of this EquipmentRrmBulkUpdateItem. # noqa: E501 - :type: int - """ - - self._equipment_id = equipment_id - - @property - def per_radio_details(self): - """Gets the per_radio_details of this EquipmentRrmBulkUpdateItem. # noqa: E501 - - - :return: The per_radio_details of this EquipmentRrmBulkUpdateItem. # noqa: E501 - :rtype: EquipmentRrmBulkUpdateItemPerRadioMap - """ - return self._per_radio_details - - @per_radio_details.setter - def per_radio_details(self, per_radio_details): - """Sets the per_radio_details of this EquipmentRrmBulkUpdateItem. - - - :param per_radio_details: The per_radio_details of this EquipmentRrmBulkUpdateItem. # noqa: E501 - :type: EquipmentRrmBulkUpdateItemPerRadioMap - """ - - self._per_radio_details = per_radio_details - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(EquipmentRrmBulkUpdateItem, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, EquipmentRrmBulkUpdateItem): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_rrm_bulk_update_item_per_radio_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_rrm_bulk_update_item_per_radio_map.py deleted file mode 100644 index 745c53f25..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_rrm_bulk_update_item_per_radio_map.py +++ /dev/null @@ -1,188 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class EquipmentRrmBulkUpdateItemPerRadioMap(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'is5_g_hz': 'RrmBulkUpdateApDetails', - 'is5_g_hz_u': 'RrmBulkUpdateApDetails', - 'is5_g_hz_l': 'RrmBulkUpdateApDetails', - 'is2dot4_g_hz': 'RrmBulkUpdateApDetails' - } - - attribute_map = { - 'is5_g_hz': 'is5GHz', - 'is5_g_hz_u': 'is5GHzU', - 'is5_g_hz_l': 'is5GHzL', - 'is2dot4_g_hz': 'is2dot4GHz' - } - - def __init__(self, is5_g_hz=None, is5_g_hz_u=None, is5_g_hz_l=None, is2dot4_g_hz=None): # noqa: E501 - """EquipmentRrmBulkUpdateItemPerRadioMap - a model defined in Swagger""" # noqa: E501 - self._is5_g_hz = None - self._is5_g_hz_u = None - self._is5_g_hz_l = None - self._is2dot4_g_hz = None - self.discriminator = None - if is5_g_hz is not None: - self.is5_g_hz = is5_g_hz - if is5_g_hz_u is not None: - self.is5_g_hz_u = is5_g_hz_u - if is5_g_hz_l is not None: - self.is5_g_hz_l = is5_g_hz_l - if is2dot4_g_hz is not None: - self.is2dot4_g_hz = is2dot4_g_hz - - @property - def is5_g_hz(self): - """Gets the is5_g_hz of this EquipmentRrmBulkUpdateItemPerRadioMap. # noqa: E501 - - - :return: The is5_g_hz of this EquipmentRrmBulkUpdateItemPerRadioMap. # noqa: E501 - :rtype: RrmBulkUpdateApDetails - """ - return self._is5_g_hz - - @is5_g_hz.setter - def is5_g_hz(self, is5_g_hz): - """Sets the is5_g_hz of this EquipmentRrmBulkUpdateItemPerRadioMap. - - - :param is5_g_hz: The is5_g_hz of this EquipmentRrmBulkUpdateItemPerRadioMap. # noqa: E501 - :type: RrmBulkUpdateApDetails - """ - - self._is5_g_hz = is5_g_hz - - @property - def is5_g_hz_u(self): - """Gets the is5_g_hz_u of this EquipmentRrmBulkUpdateItemPerRadioMap. # noqa: E501 - - - :return: The is5_g_hz_u of this EquipmentRrmBulkUpdateItemPerRadioMap. # noqa: E501 - :rtype: RrmBulkUpdateApDetails - """ - return self._is5_g_hz_u - - @is5_g_hz_u.setter - def is5_g_hz_u(self, is5_g_hz_u): - """Sets the is5_g_hz_u of this EquipmentRrmBulkUpdateItemPerRadioMap. - - - :param is5_g_hz_u: The is5_g_hz_u of this EquipmentRrmBulkUpdateItemPerRadioMap. # noqa: E501 - :type: RrmBulkUpdateApDetails - """ - - self._is5_g_hz_u = is5_g_hz_u - - @property - def is5_g_hz_l(self): - """Gets the is5_g_hz_l of this EquipmentRrmBulkUpdateItemPerRadioMap. # noqa: E501 - - - :return: The is5_g_hz_l of this EquipmentRrmBulkUpdateItemPerRadioMap. # noqa: E501 - :rtype: RrmBulkUpdateApDetails - """ - return self._is5_g_hz_l - - @is5_g_hz_l.setter - def is5_g_hz_l(self, is5_g_hz_l): - """Sets the is5_g_hz_l of this EquipmentRrmBulkUpdateItemPerRadioMap. - - - :param is5_g_hz_l: The is5_g_hz_l of this EquipmentRrmBulkUpdateItemPerRadioMap. # noqa: E501 - :type: RrmBulkUpdateApDetails - """ - - self._is5_g_hz_l = is5_g_hz_l - - @property - def is2dot4_g_hz(self): - """Gets the is2dot4_g_hz of this EquipmentRrmBulkUpdateItemPerRadioMap. # noqa: E501 - - - :return: The is2dot4_g_hz of this EquipmentRrmBulkUpdateItemPerRadioMap. # noqa: E501 - :rtype: RrmBulkUpdateApDetails - """ - return self._is2dot4_g_hz - - @is2dot4_g_hz.setter - def is2dot4_g_hz(self, is2dot4_g_hz): - """Sets the is2dot4_g_hz of this EquipmentRrmBulkUpdateItemPerRadioMap. - - - :param is2dot4_g_hz: The is2dot4_g_hz of this EquipmentRrmBulkUpdateItemPerRadioMap. # noqa: E501 - :type: RrmBulkUpdateApDetails - """ - - self._is2dot4_g_hz = is2dot4_g_hz - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(EquipmentRrmBulkUpdateItemPerRadioMap, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, EquipmentRrmBulkUpdateItemPerRadioMap): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_rrm_bulk_update_request.py b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_rrm_bulk_update_request.py deleted file mode 100644 index 2b3afafb9..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_rrm_bulk_update_request.py +++ /dev/null @@ -1,110 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class EquipmentRrmBulkUpdateRequest(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'items': 'list[EquipmentRrmBulkUpdateItem]' - } - - attribute_map = { - 'items': 'items' - } - - def __init__(self, items=None): # noqa: E501 - """EquipmentRrmBulkUpdateRequest - a model defined in Swagger""" # noqa: E501 - self._items = None - self.discriminator = None - if items is not None: - self.items = items - - @property - def items(self): - """Gets the items of this EquipmentRrmBulkUpdateRequest. # noqa: E501 - - - :return: The items of this EquipmentRrmBulkUpdateRequest. # noqa: E501 - :rtype: list[EquipmentRrmBulkUpdateItem] - """ - return self._items - - @items.setter - def items(self, items): - """Sets the items of this EquipmentRrmBulkUpdateRequest. - - - :param items: The items of this EquipmentRrmBulkUpdateRequest. # noqa: E501 - :type: list[EquipmentRrmBulkUpdateItem] - """ - - self._items = items - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(EquipmentRrmBulkUpdateRequest, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, EquipmentRrmBulkUpdateRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_scan_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_scan_details.py deleted file mode 100644 index e3f98cfce..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_scan_details.py +++ /dev/null @@ -1,149 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class EquipmentScanDetails(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'status_data_type': 'str' - } - - attribute_map = { - 'model_type': 'model_type', - 'status_data_type': 'statusDataType' - } - - def __init__(self, model_type=None, status_data_type=None): # noqa: E501 - """EquipmentScanDetails - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._status_data_type = None - self.discriminator = None - self.model_type = model_type - if status_data_type is not None: - self.status_data_type = status_data_type - - @property - def model_type(self): - """Gets the model_type of this EquipmentScanDetails. # noqa: E501 - - - :return: The model_type of this EquipmentScanDetails. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this EquipmentScanDetails. - - - :param model_type: The model_type of this EquipmentScanDetails. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - allowed_values = ["EquipmentScanDetails"] # noqa: E501 - if model_type not in allowed_values: - raise ValueError( - "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 - .format(model_type, allowed_values) - ) - - self._model_type = model_type - - @property - def status_data_type(self): - """Gets the status_data_type of this EquipmentScanDetails. # noqa: E501 - - - :return: The status_data_type of this EquipmentScanDetails. # noqa: E501 - :rtype: str - """ - return self._status_data_type - - @status_data_type.setter - def status_data_type(self, status_data_type): - """Sets the status_data_type of this EquipmentScanDetails. - - - :param status_data_type: The status_data_type of this EquipmentScanDetails. # noqa: E501 - :type: str - """ - allowed_values = ["NEIGHBOUR_SCAN"] # noqa: E501 - if status_data_type not in allowed_values: - raise ValueError( - "Invalid value for `status_data_type` ({0}), must be one of {1}" # noqa: E501 - .format(status_data_type, allowed_values) - ) - - self._status_data_type = status_data_type - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(EquipmentScanDetails, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, EquipmentScanDetails): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_type.py deleted file mode 100644 index 93e910529..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_type.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class EquipmentType(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - AP = "AP" - SWITCH = "SWITCH" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """EquipmentType - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(EquipmentType, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, EquipmentType): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_upgrade_failure_reason.py b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_upgrade_failure_reason.py deleted file mode 100644 index 05aecb0c7..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_upgrade_failure_reason.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class EquipmentUpgradeFailureReason(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - DOWNLOADREQUESTREJECTED = "downloadRequestRejected" - VALIDATIONFAILED = "validationFailed" - UNREACHABLEURL = "unreachableUrl" - DOWNLOADFAILED = "downloadFailed" - APPLYREQUESTREJECTED = "applyRequestRejected" - APPLYFAILED = "applyFailed" - REBOOTREQUESTREJECTED = "rebootRequestRejected" - INVALIDVERSION = "invalidVersion" - REBOOTWITHWRONGVERSION = "rebootWithWrongVersion" - MAXRETRIES = "maxRetries" - REBOOTTIMEDOUT = "rebootTimedout" - DOWNLOADREQUESTFAILEDFLASHFULL = "downloadRequestFailedFlashFull" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """EquipmentUpgradeFailureReason - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(EquipmentUpgradeFailureReason, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, EquipmentUpgradeFailureReason): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_upgrade_state.py b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_upgrade_state.py deleted file mode 100644 index 6cae6e5b2..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_upgrade_state.py +++ /dev/null @@ -1,102 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class EquipmentUpgradeState(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - UNDEFINED = "undefined" - DOWNLOAD_INITIATED = "download_initiated" - DOWNLOADING = "downloading" - DOWNLOAD_FAILED = "download_failed" - DOWNLOAD_COMPLETE = "download_complete" - APPLY_INITIATED = "apply_initiated" - APPLYING = "applying" - APPLY_FAILED = "apply_failed" - APPLY_COMPLETE = "apply_complete" - REBOOT_INITIATED = "reboot_initiated" - REBOOTING = "rebooting" - OUT_OF_DATE = "out_of_date" - UP_TO_DATE = "up_to_date" - REBOOT_FAILED = "reboot_failed" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """EquipmentUpgradeState - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(EquipmentUpgradeState, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, EquipmentUpgradeState): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_upgrade_status_data.py b/libs/cloudapi/cloudsdk/swagger_client/models/equipment_upgrade_status_data.py deleted file mode 100644 index 78fa19922..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/equipment_upgrade_status_data.py +++ /dev/null @@ -1,357 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class EquipmentUpgradeStatusData(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'status_data_type': 'str', - 'active_sw_version': 'str', - 'alternate_sw_version': 'str', - 'target_sw_version': 'str', - 'retries': 'int', - 'upgrade_state': 'EquipmentUpgradeState', - 'reason': 'EquipmentUpgradeFailureReason', - 'upgrade_start_time': 'int', - 'switch_bank': 'bool' - } - - attribute_map = { - 'model_type': 'model_type', - 'status_data_type': 'statusDataType', - 'active_sw_version': 'activeSwVersion', - 'alternate_sw_version': 'alternateSwVersion', - 'target_sw_version': 'targetSwVersion', - 'retries': 'retries', - 'upgrade_state': 'upgradeState', - 'reason': 'reason', - 'upgrade_start_time': 'upgradeStartTime', - 'switch_bank': 'switchBank' - } - - def __init__(self, model_type=None, status_data_type=None, active_sw_version=None, alternate_sw_version=None, target_sw_version=None, retries=None, upgrade_state=None, reason=None, upgrade_start_time=None, switch_bank=None): # noqa: E501 - """EquipmentUpgradeStatusData - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._status_data_type = None - self._active_sw_version = None - self._alternate_sw_version = None - self._target_sw_version = None - self._retries = None - self._upgrade_state = None - self._reason = None - self._upgrade_start_time = None - self._switch_bank = None - self.discriminator = None - self.model_type = model_type - if status_data_type is not None: - self.status_data_type = status_data_type - if active_sw_version is not None: - self.active_sw_version = active_sw_version - if alternate_sw_version is not None: - self.alternate_sw_version = alternate_sw_version - if target_sw_version is not None: - self.target_sw_version = target_sw_version - if retries is not None: - self.retries = retries - if upgrade_state is not None: - self.upgrade_state = upgrade_state - if reason is not None: - self.reason = reason - if upgrade_start_time is not None: - self.upgrade_start_time = upgrade_start_time - if switch_bank is not None: - self.switch_bank = switch_bank - - @property - def model_type(self): - """Gets the model_type of this EquipmentUpgradeStatusData. # noqa: E501 - - - :return: The model_type of this EquipmentUpgradeStatusData. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this EquipmentUpgradeStatusData. - - - :param model_type: The model_type of this EquipmentUpgradeStatusData. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - allowed_values = ["EquipmentUpgradeStatusData"] # noqa: E501 - if model_type not in allowed_values: - raise ValueError( - "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 - .format(model_type, allowed_values) - ) - - self._model_type = model_type - - @property - def status_data_type(self): - """Gets the status_data_type of this EquipmentUpgradeStatusData. # noqa: E501 - - - :return: The status_data_type of this EquipmentUpgradeStatusData. # noqa: E501 - :rtype: str - """ - return self._status_data_type - - @status_data_type.setter - def status_data_type(self, status_data_type): - """Sets the status_data_type of this EquipmentUpgradeStatusData. - - - :param status_data_type: The status_data_type of this EquipmentUpgradeStatusData. # noqa: E501 - :type: str - """ - allowed_values = ["FIRMWARE"] # noqa: E501 - if status_data_type not in allowed_values: - raise ValueError( - "Invalid value for `status_data_type` ({0}), must be one of {1}" # noqa: E501 - .format(status_data_type, allowed_values) - ) - - self._status_data_type = status_data_type - - @property - def active_sw_version(self): - """Gets the active_sw_version of this EquipmentUpgradeStatusData. # noqa: E501 - - - :return: The active_sw_version of this EquipmentUpgradeStatusData. # noqa: E501 - :rtype: str - """ - return self._active_sw_version - - @active_sw_version.setter - def active_sw_version(self, active_sw_version): - """Sets the active_sw_version of this EquipmentUpgradeStatusData. - - - :param active_sw_version: The active_sw_version of this EquipmentUpgradeStatusData. # noqa: E501 - :type: str - """ - - self._active_sw_version = active_sw_version - - @property - def alternate_sw_version(self): - """Gets the alternate_sw_version of this EquipmentUpgradeStatusData. # noqa: E501 - - - :return: The alternate_sw_version of this EquipmentUpgradeStatusData. # noqa: E501 - :rtype: str - """ - return self._alternate_sw_version - - @alternate_sw_version.setter - def alternate_sw_version(self, alternate_sw_version): - """Sets the alternate_sw_version of this EquipmentUpgradeStatusData. - - - :param alternate_sw_version: The alternate_sw_version of this EquipmentUpgradeStatusData. # noqa: E501 - :type: str - """ - - self._alternate_sw_version = alternate_sw_version - - @property - def target_sw_version(self): - """Gets the target_sw_version of this EquipmentUpgradeStatusData. # noqa: E501 - - - :return: The target_sw_version of this EquipmentUpgradeStatusData. # noqa: E501 - :rtype: str - """ - return self._target_sw_version - - @target_sw_version.setter - def target_sw_version(self, target_sw_version): - """Sets the target_sw_version of this EquipmentUpgradeStatusData. - - - :param target_sw_version: The target_sw_version of this EquipmentUpgradeStatusData. # noqa: E501 - :type: str - """ - - self._target_sw_version = target_sw_version - - @property - def retries(self): - """Gets the retries of this EquipmentUpgradeStatusData. # noqa: E501 - - - :return: The retries of this EquipmentUpgradeStatusData. # noqa: E501 - :rtype: int - """ - return self._retries - - @retries.setter - def retries(self, retries): - """Sets the retries of this EquipmentUpgradeStatusData. - - - :param retries: The retries of this EquipmentUpgradeStatusData. # noqa: E501 - :type: int - """ - - self._retries = retries - - @property - def upgrade_state(self): - """Gets the upgrade_state of this EquipmentUpgradeStatusData. # noqa: E501 - - - :return: The upgrade_state of this EquipmentUpgradeStatusData. # noqa: E501 - :rtype: EquipmentUpgradeState - """ - return self._upgrade_state - - @upgrade_state.setter - def upgrade_state(self, upgrade_state): - """Sets the upgrade_state of this EquipmentUpgradeStatusData. - - - :param upgrade_state: The upgrade_state of this EquipmentUpgradeStatusData. # noqa: E501 - :type: EquipmentUpgradeState - """ - - self._upgrade_state = upgrade_state - - @property - def reason(self): - """Gets the reason of this EquipmentUpgradeStatusData. # noqa: E501 - - - :return: The reason of this EquipmentUpgradeStatusData. # noqa: E501 - :rtype: EquipmentUpgradeFailureReason - """ - return self._reason - - @reason.setter - def reason(self, reason): - """Sets the reason of this EquipmentUpgradeStatusData. - - - :param reason: The reason of this EquipmentUpgradeStatusData. # noqa: E501 - :type: EquipmentUpgradeFailureReason - """ - - self._reason = reason - - @property - def upgrade_start_time(self): - """Gets the upgrade_start_time of this EquipmentUpgradeStatusData. # noqa: E501 - - - :return: The upgrade_start_time of this EquipmentUpgradeStatusData. # noqa: E501 - :rtype: int - """ - return self._upgrade_start_time - - @upgrade_start_time.setter - def upgrade_start_time(self, upgrade_start_time): - """Sets the upgrade_start_time of this EquipmentUpgradeStatusData. - - - :param upgrade_start_time: The upgrade_start_time of this EquipmentUpgradeStatusData. # noqa: E501 - :type: int - """ - - self._upgrade_start_time = upgrade_start_time - - @property - def switch_bank(self): - """Gets the switch_bank of this EquipmentUpgradeStatusData. # noqa: E501 - - - :return: The switch_bank of this EquipmentUpgradeStatusData. # noqa: E501 - :rtype: bool - """ - return self._switch_bank - - @switch_bank.setter - def switch_bank(self, switch_bank): - """Sets the switch_bank of this EquipmentUpgradeStatusData. - - - :param switch_bank: The switch_bank of this EquipmentUpgradeStatusData. # noqa: E501 - :type: bool - """ - - self._switch_bank = switch_bank - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(EquipmentUpgradeStatusData, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, EquipmentUpgradeStatusData): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/ethernet_link_state.py b/libs/cloudapi/cloudsdk/swagger_client/models/ethernet_link_state.py deleted file mode 100644 index 036fddc40..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/ethernet_link_state.py +++ /dev/null @@ -1,95 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class EthernetLinkState(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - DOWN = "DOWN" - UP1000_FULL_DUPLEX = "UP1000_FULL_DUPLEX" - UP1000_HALF_DUPLEX = "UP1000_HALF_DUPLEX" - UP100_FULL_DUPLEX = "UP100_FULL_DUPLEX" - UP100_HALF_DUPLEX = "UP100_HALF_DUPLEX" - UP10_FULL_DUPLEX = "UP10_FULL_DUPLEX" - UP10_HALF_DUPLEX = "UP10_HALF_DUPLEX" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """EthernetLinkState - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(EthernetLinkState, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, EthernetLinkState): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/file_category.py b/libs/cloudapi/cloudsdk/swagger_client/models/file_category.py deleted file mode 100644 index f34fd77fb..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/file_category.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class FileCategory(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - CAPTIVEPORTALLOGO = "CaptivePortalLogo" - CAPTIVEPORTALBACKGROUND = "CaptivePortalBackground" - EXTERNALPOLICYCONFIGURATION = "ExternalPolicyConfiguration" - USERNAMEPASSWORDLIST = "UsernamePasswordList" - DEVICEMACBLOCKLIST = "DeviceMacBlockList" - DONOTSTEERCLIENTLIST = "DoNotSteerClientList" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """FileCategory - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(FileCategory, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, FileCategory): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/file_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/file_type.py deleted file mode 100644 index 129afc557..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/file_type.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class FileType(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - PNG = "PNG" - JPG = "JPG" - PROTOBUF = "PROTOBUF" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """FileType - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(FileType, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, FileType): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/firmware_schedule_setting.py b/libs/cloudapi/cloudsdk/swagger_client/models/firmware_schedule_setting.py deleted file mode 100644 index cf06fe410..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/firmware_schedule_setting.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class FirmwareScheduleSetting(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - discriminator_value_class_map = { - } - - def __init__(self): # noqa: E501 - """FirmwareScheduleSetting - a model defined in Swagger""" # noqa: E501 - self.discriminator = 'model_type' - - def get_real_child_model(self, data): - """Returns the real base class specified by the discriminator""" - discriminator_value = data[self.discriminator].lower() - return self.discriminator_value_class_map.get(discriminator_value) - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(FirmwareScheduleSetting, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, FirmwareScheduleSetting): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/firmware_track_assignment_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/firmware_track_assignment_details.py deleted file mode 100644 index 6213e3cd9..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/firmware_track_assignment_details.py +++ /dev/null @@ -1,252 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six -from swagger_client.models.firmware_track_assignment_record import FirmwareTrackAssignmentRecord # noqa: F401,E501 - -class FirmwareTrackAssignmentDetails(FirmwareTrackAssignmentRecord): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'equipment_type': 'EquipmentType', - 'model_id': 'str', - 'version_name': 'str', - 'description': 'str', - 'commit': 'str', - 'release_date': 'int' - } - if hasattr(FirmwareTrackAssignmentRecord, "swagger_types"): - swagger_types.update(FirmwareTrackAssignmentRecord.swagger_types) - - attribute_map = { - 'equipment_type': 'equipmentType', - 'model_id': 'modelId', - 'version_name': 'versionName', - 'description': 'description', - 'commit': 'commit', - 'release_date': 'releaseDate' - } - if hasattr(FirmwareTrackAssignmentRecord, "attribute_map"): - attribute_map.update(FirmwareTrackAssignmentRecord.attribute_map) - - def __init__(self, equipment_type=None, model_id=None, version_name=None, description=None, commit=None, release_date=None, *args, **kwargs): # noqa: E501 - """FirmwareTrackAssignmentDetails - a model defined in Swagger""" # noqa: E501 - self._equipment_type = None - self._model_id = None - self._version_name = None - self._description = None - self._commit = None - self._release_date = None - self.discriminator = None - if equipment_type is not None: - self.equipment_type = equipment_type - if model_id is not None: - self.model_id = model_id - if version_name is not None: - self.version_name = version_name - if description is not None: - self.description = description - if commit is not None: - self.commit = commit - if release_date is not None: - self.release_date = release_date - FirmwareTrackAssignmentRecord.__init__(self, *args, **kwargs) - - @property - def equipment_type(self): - """Gets the equipment_type of this FirmwareTrackAssignmentDetails. # noqa: E501 - - - :return: The equipment_type of this FirmwareTrackAssignmentDetails. # noqa: E501 - :rtype: EquipmentType - """ - return self._equipment_type - - @equipment_type.setter - def equipment_type(self, equipment_type): - """Sets the equipment_type of this FirmwareTrackAssignmentDetails. - - - :param equipment_type: The equipment_type of this FirmwareTrackAssignmentDetails. # noqa: E501 - :type: EquipmentType - """ - - self._equipment_type = equipment_type - - @property - def model_id(self): - """Gets the model_id of this FirmwareTrackAssignmentDetails. # noqa: E501 - - equipment model # noqa: E501 - - :return: The model_id of this FirmwareTrackAssignmentDetails. # noqa: E501 - :rtype: str - """ - return self._model_id - - @model_id.setter - def model_id(self, model_id): - """Sets the model_id of this FirmwareTrackAssignmentDetails. - - equipment model # noqa: E501 - - :param model_id: The model_id of this FirmwareTrackAssignmentDetails. # noqa: E501 - :type: str - """ - - self._model_id = model_id - - @property - def version_name(self): - """Gets the version_name of this FirmwareTrackAssignmentDetails. # noqa: E501 - - - :return: The version_name of this FirmwareTrackAssignmentDetails. # noqa: E501 - :rtype: str - """ - return self._version_name - - @version_name.setter - def version_name(self, version_name): - """Sets the version_name of this FirmwareTrackAssignmentDetails. - - - :param version_name: The version_name of this FirmwareTrackAssignmentDetails. # noqa: E501 - :type: str - """ - - self._version_name = version_name - - @property - def description(self): - """Gets the description of this FirmwareTrackAssignmentDetails. # noqa: E501 - - - :return: The description of this FirmwareTrackAssignmentDetails. # noqa: E501 - :rtype: str - """ - return self._description - - @description.setter - def description(self, description): - """Sets the description of this FirmwareTrackAssignmentDetails. - - - :param description: The description of this FirmwareTrackAssignmentDetails. # noqa: E501 - :type: str - """ - - self._description = description - - @property - def commit(self): - """Gets the commit of this FirmwareTrackAssignmentDetails. # noqa: E501 - - commit number for the firmware image, from the source control system # noqa: E501 - - :return: The commit of this FirmwareTrackAssignmentDetails. # noqa: E501 - :rtype: str - """ - return self._commit - - @commit.setter - def commit(self, commit): - """Sets the commit of this FirmwareTrackAssignmentDetails. - - commit number for the firmware image, from the source control system # noqa: E501 - - :param commit: The commit of this FirmwareTrackAssignmentDetails. # noqa: E501 - :type: str - """ - - self._commit = commit - - @property - def release_date(self): - """Gets the release_date of this FirmwareTrackAssignmentDetails. # noqa: E501 - - release date of the firmware image, in ms epoch time # noqa: E501 - - :return: The release_date of this FirmwareTrackAssignmentDetails. # noqa: E501 - :rtype: int - """ - return self._release_date - - @release_date.setter - def release_date(self, release_date): - """Sets the release_date of this FirmwareTrackAssignmentDetails. - - release date of the firmware image, in ms epoch time # noqa: E501 - - :param release_date: The release_date of this FirmwareTrackAssignmentDetails. # noqa: E501 - :type: int - """ - - self._release_date = release_date - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(FirmwareTrackAssignmentDetails, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, FirmwareTrackAssignmentDetails): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/firmware_track_assignment_record.py b/libs/cloudapi/cloudsdk/swagger_client/models/firmware_track_assignment_record.py deleted file mode 100644 index 5cee00c9e..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/firmware_track_assignment_record.py +++ /dev/null @@ -1,242 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class FirmwareTrackAssignmentRecord(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'track_record_id': 'int', - 'firmware_version_record_id': 'int', - 'default_revision_for_track': 'bool', - 'deprecated': 'bool', - 'created_timestamp': 'int', - 'last_modified_timestamp': 'int' - } - - attribute_map = { - 'track_record_id': 'trackRecordId', - 'firmware_version_record_id': 'firmwareVersionRecordId', - 'default_revision_for_track': 'defaultRevisionForTrack', - 'deprecated': 'deprecated', - 'created_timestamp': 'createdTimestamp', - 'last_modified_timestamp': 'lastModifiedTimestamp' - } - - def __init__(self, track_record_id=None, firmware_version_record_id=None, default_revision_for_track=False, deprecated=False, created_timestamp=None, last_modified_timestamp=None): # noqa: E501 - """FirmwareTrackAssignmentRecord - a model defined in Swagger""" # noqa: E501 - self._track_record_id = None - self._firmware_version_record_id = None - self._default_revision_for_track = None - self._deprecated = None - self._created_timestamp = None - self._last_modified_timestamp = None - self.discriminator = None - if track_record_id is not None: - self.track_record_id = track_record_id - if firmware_version_record_id is not None: - self.firmware_version_record_id = firmware_version_record_id - if default_revision_for_track is not None: - self.default_revision_for_track = default_revision_for_track - if deprecated is not None: - self.deprecated = deprecated - if created_timestamp is not None: - self.created_timestamp = created_timestamp - if last_modified_timestamp is not None: - self.last_modified_timestamp = last_modified_timestamp - - @property - def track_record_id(self): - """Gets the track_record_id of this FirmwareTrackAssignmentRecord. # noqa: E501 - - - :return: The track_record_id of this FirmwareTrackAssignmentRecord. # noqa: E501 - :rtype: int - """ - return self._track_record_id - - @track_record_id.setter - def track_record_id(self, track_record_id): - """Sets the track_record_id of this FirmwareTrackAssignmentRecord. - - - :param track_record_id: The track_record_id of this FirmwareTrackAssignmentRecord. # noqa: E501 - :type: int - """ - - self._track_record_id = track_record_id - - @property - def firmware_version_record_id(self): - """Gets the firmware_version_record_id of this FirmwareTrackAssignmentRecord. # noqa: E501 - - - :return: The firmware_version_record_id of this FirmwareTrackAssignmentRecord. # noqa: E501 - :rtype: int - """ - return self._firmware_version_record_id - - @firmware_version_record_id.setter - def firmware_version_record_id(self, firmware_version_record_id): - """Sets the firmware_version_record_id of this FirmwareTrackAssignmentRecord. - - - :param firmware_version_record_id: The firmware_version_record_id of this FirmwareTrackAssignmentRecord. # noqa: E501 - :type: int - """ - - self._firmware_version_record_id = firmware_version_record_id - - @property - def default_revision_for_track(self): - """Gets the default_revision_for_track of this FirmwareTrackAssignmentRecord. # noqa: E501 - - - :return: The default_revision_for_track of this FirmwareTrackAssignmentRecord. # noqa: E501 - :rtype: bool - """ - return self._default_revision_for_track - - @default_revision_for_track.setter - def default_revision_for_track(self, default_revision_for_track): - """Sets the default_revision_for_track of this FirmwareTrackAssignmentRecord. - - - :param default_revision_for_track: The default_revision_for_track of this FirmwareTrackAssignmentRecord. # noqa: E501 - :type: bool - """ - - self._default_revision_for_track = default_revision_for_track - - @property - def deprecated(self): - """Gets the deprecated of this FirmwareTrackAssignmentRecord. # noqa: E501 - - - :return: The deprecated of this FirmwareTrackAssignmentRecord. # noqa: E501 - :rtype: bool - """ - return self._deprecated - - @deprecated.setter - def deprecated(self, deprecated): - """Sets the deprecated of this FirmwareTrackAssignmentRecord. - - - :param deprecated: The deprecated of this FirmwareTrackAssignmentRecord. # noqa: E501 - :type: bool - """ - - self._deprecated = deprecated - - @property - def created_timestamp(self): - """Gets the created_timestamp of this FirmwareTrackAssignmentRecord. # noqa: E501 - - - :return: The created_timestamp of this FirmwareTrackAssignmentRecord. # noqa: E501 - :rtype: int - """ - return self._created_timestamp - - @created_timestamp.setter - def created_timestamp(self, created_timestamp): - """Sets the created_timestamp of this FirmwareTrackAssignmentRecord. - - - :param created_timestamp: The created_timestamp of this FirmwareTrackAssignmentRecord. # noqa: E501 - :type: int - """ - - self._created_timestamp = created_timestamp - - @property - def last_modified_timestamp(self): - """Gets the last_modified_timestamp of this FirmwareTrackAssignmentRecord. # noqa: E501 - - must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database # noqa: E501 - - :return: The last_modified_timestamp of this FirmwareTrackAssignmentRecord. # noqa: E501 - :rtype: int - """ - return self._last_modified_timestamp - - @last_modified_timestamp.setter - def last_modified_timestamp(self, last_modified_timestamp): - """Sets the last_modified_timestamp of this FirmwareTrackAssignmentRecord. - - must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database # noqa: E501 - - :param last_modified_timestamp: The last_modified_timestamp of this FirmwareTrackAssignmentRecord. # noqa: E501 - :type: int - """ - - self._last_modified_timestamp = last_modified_timestamp - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(FirmwareTrackAssignmentRecord, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, FirmwareTrackAssignmentRecord): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/firmware_track_record.py b/libs/cloudapi/cloudsdk/swagger_client/models/firmware_track_record.py deleted file mode 100644 index f8b2845bf..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/firmware_track_record.py +++ /dev/null @@ -1,216 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class FirmwareTrackRecord(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'record_id': 'int', - 'track_name': 'str', - 'maintenance_window': 'FirmwareScheduleSetting', - 'created_timestamp': 'int', - 'last_modified_timestamp': 'int' - } - - attribute_map = { - 'record_id': 'recordId', - 'track_name': 'trackName', - 'maintenance_window': 'maintenanceWindow', - 'created_timestamp': 'createdTimestamp', - 'last_modified_timestamp': 'lastModifiedTimestamp' - } - - def __init__(self, record_id=None, track_name=None, maintenance_window=None, created_timestamp=None, last_modified_timestamp=None): # noqa: E501 - """FirmwareTrackRecord - a model defined in Swagger""" # noqa: E501 - self._record_id = None - self._track_name = None - self._maintenance_window = None - self._created_timestamp = None - self._last_modified_timestamp = None - self.discriminator = None - if record_id is not None: - self.record_id = record_id - if track_name is not None: - self.track_name = track_name - if maintenance_window is not None: - self.maintenance_window = maintenance_window - if created_timestamp is not None: - self.created_timestamp = created_timestamp - if last_modified_timestamp is not None: - self.last_modified_timestamp = last_modified_timestamp - - @property - def record_id(self): - """Gets the record_id of this FirmwareTrackRecord. # noqa: E501 - - - :return: The record_id of this FirmwareTrackRecord. # noqa: E501 - :rtype: int - """ - return self._record_id - - @record_id.setter - def record_id(self, record_id): - """Sets the record_id of this FirmwareTrackRecord. - - - :param record_id: The record_id of this FirmwareTrackRecord. # noqa: E501 - :type: int - """ - - self._record_id = record_id - - @property - def track_name(self): - """Gets the track_name of this FirmwareTrackRecord. # noqa: E501 - - - :return: The track_name of this FirmwareTrackRecord. # noqa: E501 - :rtype: str - """ - return self._track_name - - @track_name.setter - def track_name(self, track_name): - """Sets the track_name of this FirmwareTrackRecord. - - - :param track_name: The track_name of this FirmwareTrackRecord. # noqa: E501 - :type: str - """ - - self._track_name = track_name - - @property - def maintenance_window(self): - """Gets the maintenance_window of this FirmwareTrackRecord. # noqa: E501 - - - :return: The maintenance_window of this FirmwareTrackRecord. # noqa: E501 - :rtype: FirmwareScheduleSetting - """ - return self._maintenance_window - - @maintenance_window.setter - def maintenance_window(self, maintenance_window): - """Sets the maintenance_window of this FirmwareTrackRecord. - - - :param maintenance_window: The maintenance_window of this FirmwareTrackRecord. # noqa: E501 - :type: FirmwareScheduleSetting - """ - - self._maintenance_window = maintenance_window - - @property - def created_timestamp(self): - """Gets the created_timestamp of this FirmwareTrackRecord. # noqa: E501 - - - :return: The created_timestamp of this FirmwareTrackRecord. # noqa: E501 - :rtype: int - """ - return self._created_timestamp - - @created_timestamp.setter - def created_timestamp(self, created_timestamp): - """Sets the created_timestamp of this FirmwareTrackRecord. - - - :param created_timestamp: The created_timestamp of this FirmwareTrackRecord. # noqa: E501 - :type: int - """ - - self._created_timestamp = created_timestamp - - @property - def last_modified_timestamp(self): - """Gets the last_modified_timestamp of this FirmwareTrackRecord. # noqa: E501 - - must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database # noqa: E501 - - :return: The last_modified_timestamp of this FirmwareTrackRecord. # noqa: E501 - :rtype: int - """ - return self._last_modified_timestamp - - @last_modified_timestamp.setter - def last_modified_timestamp(self, last_modified_timestamp): - """Sets the last_modified_timestamp of this FirmwareTrackRecord. - - must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database # noqa: E501 - - :param last_modified_timestamp: The last_modified_timestamp of this FirmwareTrackRecord. # noqa: E501 - :type: int - """ - - self._last_modified_timestamp = last_modified_timestamp - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(FirmwareTrackRecord, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, FirmwareTrackRecord): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/firmware_validation_method.py b/libs/cloudapi/cloudsdk/swagger_client/models/firmware_validation_method.py deleted file mode 100644 index fd91f7214..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/firmware_validation_method.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class FirmwareValidationMethod(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - MD5_CHECKSUM = "MD5_CHECKSUM" - NONE = "NONE" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """FirmwareValidationMethod - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(FirmwareValidationMethod, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, FirmwareValidationMethod): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/firmware_version.py b/libs/cloudapi/cloudsdk/swagger_client/models/firmware_version.py deleted file mode 100644 index ed8fcf292..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/firmware_version.py +++ /dev/null @@ -1,406 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class FirmwareVersion(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'int', - 'equipment_type': 'EquipmentType', - 'model_id': 'str', - 'version_name': 'str', - 'description': 'str', - 'filename': 'str', - 'commit': 'str', - 'validation_method': 'FirmwareValidationMethod', - 'validation_code': 'str', - 'release_date': 'int', - 'created_timestamp': 'int', - 'last_modified_timestamp': 'int' - } - - attribute_map = { - 'id': 'id', - 'equipment_type': 'equipmentType', - 'model_id': 'modelId', - 'version_name': 'versionName', - 'description': 'description', - 'filename': 'filename', - 'commit': 'commit', - 'validation_method': 'validationMethod', - 'validation_code': 'validationCode', - 'release_date': 'releaseDate', - 'created_timestamp': 'createdTimestamp', - 'last_modified_timestamp': 'lastModifiedTimestamp' - } - - def __init__(self, id=None, equipment_type=None, model_id=None, version_name=None, description=None, filename=None, commit=None, validation_method=None, validation_code=None, release_date=None, created_timestamp=None, last_modified_timestamp=None): # noqa: E501 - """FirmwareVersion - a model defined in Swagger""" # noqa: E501 - self._id = None - self._equipment_type = None - self._model_id = None - self._version_name = None - self._description = None - self._filename = None - self._commit = None - self._validation_method = None - self._validation_code = None - self._release_date = None - self._created_timestamp = None - self._last_modified_timestamp = None - self.discriminator = None - if id is not None: - self.id = id - if equipment_type is not None: - self.equipment_type = equipment_type - if model_id is not None: - self.model_id = model_id - if version_name is not None: - self.version_name = version_name - if description is not None: - self.description = description - if filename is not None: - self.filename = filename - if commit is not None: - self.commit = commit - if validation_method is not None: - self.validation_method = validation_method - if validation_code is not None: - self.validation_code = validation_code - if release_date is not None: - self.release_date = release_date - if created_timestamp is not None: - self.created_timestamp = created_timestamp - if last_modified_timestamp is not None: - self.last_modified_timestamp = last_modified_timestamp - - @property - def id(self): - """Gets the id of this FirmwareVersion. # noqa: E501 - - - :return: The id of this FirmwareVersion. # noqa: E501 - :rtype: int - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this FirmwareVersion. - - - :param id: The id of this FirmwareVersion. # noqa: E501 - :type: int - """ - - self._id = id - - @property - def equipment_type(self): - """Gets the equipment_type of this FirmwareVersion. # noqa: E501 - - - :return: The equipment_type of this FirmwareVersion. # noqa: E501 - :rtype: EquipmentType - """ - return self._equipment_type - - @equipment_type.setter - def equipment_type(self, equipment_type): - """Sets the equipment_type of this FirmwareVersion. - - - :param equipment_type: The equipment_type of this FirmwareVersion. # noqa: E501 - :type: EquipmentType - """ - - self._equipment_type = equipment_type - - @property - def model_id(self): - """Gets the model_id of this FirmwareVersion. # noqa: E501 - - equipment model # noqa: E501 - - :return: The model_id of this FirmwareVersion. # noqa: E501 - :rtype: str - """ - return self._model_id - - @model_id.setter - def model_id(self, model_id): - """Sets the model_id of this FirmwareVersion. - - equipment model # noqa: E501 - - :param model_id: The model_id of this FirmwareVersion. # noqa: E501 - :type: str - """ - - self._model_id = model_id - - @property - def version_name(self): - """Gets the version_name of this FirmwareVersion. # noqa: E501 - - - :return: The version_name of this FirmwareVersion. # noqa: E501 - :rtype: str - """ - return self._version_name - - @version_name.setter - def version_name(self, version_name): - """Sets the version_name of this FirmwareVersion. - - - :param version_name: The version_name of this FirmwareVersion. # noqa: E501 - :type: str - """ - - self._version_name = version_name - - @property - def description(self): - """Gets the description of this FirmwareVersion. # noqa: E501 - - - :return: The description of this FirmwareVersion. # noqa: E501 - :rtype: str - """ - return self._description - - @description.setter - def description(self, description): - """Sets the description of this FirmwareVersion. - - - :param description: The description of this FirmwareVersion. # noqa: E501 - :type: str - """ - - self._description = description - - @property - def filename(self): - """Gets the filename of this FirmwareVersion. # noqa: E501 - - - :return: The filename of this FirmwareVersion. # noqa: E501 - :rtype: str - """ - return self._filename - - @filename.setter - def filename(self, filename): - """Sets the filename of this FirmwareVersion. - - - :param filename: The filename of this FirmwareVersion. # noqa: E501 - :type: str - """ - - self._filename = filename - - @property - def commit(self): - """Gets the commit of this FirmwareVersion. # noqa: E501 - - commit number for the firmware image, from the source control system # noqa: E501 - - :return: The commit of this FirmwareVersion. # noqa: E501 - :rtype: str - """ - return self._commit - - @commit.setter - def commit(self, commit): - """Sets the commit of this FirmwareVersion. - - commit number for the firmware image, from the source control system # noqa: E501 - - :param commit: The commit of this FirmwareVersion. # noqa: E501 - :type: str - """ - - self._commit = commit - - @property - def validation_method(self): - """Gets the validation_method of this FirmwareVersion. # noqa: E501 - - - :return: The validation_method of this FirmwareVersion. # noqa: E501 - :rtype: FirmwareValidationMethod - """ - return self._validation_method - - @validation_method.setter - def validation_method(self, validation_method): - """Sets the validation_method of this FirmwareVersion. - - - :param validation_method: The validation_method of this FirmwareVersion. # noqa: E501 - :type: FirmwareValidationMethod - """ - - self._validation_method = validation_method - - @property - def validation_code(self): - """Gets the validation_code of this FirmwareVersion. # noqa: E501 - - firmware digest code, depending on validation method - MD5, etc. # noqa: E501 - - :return: The validation_code of this FirmwareVersion. # noqa: E501 - :rtype: str - """ - return self._validation_code - - @validation_code.setter - def validation_code(self, validation_code): - """Sets the validation_code of this FirmwareVersion. - - firmware digest code, depending on validation method - MD5, etc. # noqa: E501 - - :param validation_code: The validation_code of this FirmwareVersion. # noqa: E501 - :type: str - """ - - self._validation_code = validation_code - - @property - def release_date(self): - """Gets the release_date of this FirmwareVersion. # noqa: E501 - - release date of the firmware image, in ms epoch time # noqa: E501 - - :return: The release_date of this FirmwareVersion. # noqa: E501 - :rtype: int - """ - return self._release_date - - @release_date.setter - def release_date(self, release_date): - """Sets the release_date of this FirmwareVersion. - - release date of the firmware image, in ms epoch time # noqa: E501 - - :param release_date: The release_date of this FirmwareVersion. # noqa: E501 - :type: int - """ - - self._release_date = release_date - - @property - def created_timestamp(self): - """Gets the created_timestamp of this FirmwareVersion. # noqa: E501 - - - :return: The created_timestamp of this FirmwareVersion. # noqa: E501 - :rtype: int - """ - return self._created_timestamp - - @created_timestamp.setter - def created_timestamp(self, created_timestamp): - """Sets the created_timestamp of this FirmwareVersion. - - - :param created_timestamp: The created_timestamp of this FirmwareVersion. # noqa: E501 - :type: int - """ - - self._created_timestamp = created_timestamp - - @property - def last_modified_timestamp(self): - """Gets the last_modified_timestamp of this FirmwareVersion. # noqa: E501 - - must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database # noqa: E501 - - :return: The last_modified_timestamp of this FirmwareVersion. # noqa: E501 - :rtype: int - """ - return self._last_modified_timestamp - - @last_modified_timestamp.setter - def last_modified_timestamp(self, last_modified_timestamp): - """Sets the last_modified_timestamp of this FirmwareVersion. - - must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database # noqa: E501 - - :param last_modified_timestamp: The last_modified_timestamp of this FirmwareVersion. # noqa: E501 - :type: int - """ - - self._last_modified_timestamp = last_modified_timestamp - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(FirmwareVersion, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, FirmwareVersion): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/gateway_added_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/gateway_added_event.py deleted file mode 100644 index b96a6d390..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/gateway_added_event.py +++ /dev/null @@ -1,163 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class GatewayAddedEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'event_timestamp': 'int', - 'gateway': 'EquipmentGatewayRecord' - } - - attribute_map = { - 'model_type': 'model_type', - 'event_timestamp': 'eventTimestamp', - 'gateway': 'gateway' - } - - def __init__(self, model_type=None, event_timestamp=None, gateway=None): # noqa: E501 - """GatewayAddedEvent - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._event_timestamp = None - self._gateway = None - self.discriminator = None - self.model_type = model_type - if event_timestamp is not None: - self.event_timestamp = event_timestamp - if gateway is not None: - self.gateway = gateway - - @property - def model_type(self): - """Gets the model_type of this GatewayAddedEvent. # noqa: E501 - - - :return: The model_type of this GatewayAddedEvent. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this GatewayAddedEvent. - - - :param model_type: The model_type of this GatewayAddedEvent. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - - self._model_type = model_type - - @property - def event_timestamp(self): - """Gets the event_timestamp of this GatewayAddedEvent. # noqa: E501 - - - :return: The event_timestamp of this GatewayAddedEvent. # noqa: E501 - :rtype: int - """ - return self._event_timestamp - - @event_timestamp.setter - def event_timestamp(self, event_timestamp): - """Sets the event_timestamp of this GatewayAddedEvent. - - - :param event_timestamp: The event_timestamp of this GatewayAddedEvent. # noqa: E501 - :type: int - """ - - self._event_timestamp = event_timestamp - - @property - def gateway(self): - """Gets the gateway of this GatewayAddedEvent. # noqa: E501 - - - :return: The gateway of this GatewayAddedEvent. # noqa: E501 - :rtype: EquipmentGatewayRecord - """ - return self._gateway - - @gateway.setter - def gateway(self, gateway): - """Sets the gateway of this GatewayAddedEvent. - - - :param gateway: The gateway of this GatewayAddedEvent. # noqa: E501 - :type: EquipmentGatewayRecord - """ - - self._gateway = gateway - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(GatewayAddedEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, GatewayAddedEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/gateway_changed_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/gateway_changed_event.py deleted file mode 100644 index 1d1517dca..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/gateway_changed_event.py +++ /dev/null @@ -1,163 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class GatewayChangedEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'event_timestamp': 'int', - 'gateway': 'EquipmentGatewayRecord' - } - - attribute_map = { - 'model_type': 'model_type', - 'event_timestamp': 'eventTimestamp', - 'gateway': 'gateway' - } - - def __init__(self, model_type=None, event_timestamp=None, gateway=None): # noqa: E501 - """GatewayChangedEvent - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._event_timestamp = None - self._gateway = None - self.discriminator = None - self.model_type = model_type - if event_timestamp is not None: - self.event_timestamp = event_timestamp - if gateway is not None: - self.gateway = gateway - - @property - def model_type(self): - """Gets the model_type of this GatewayChangedEvent. # noqa: E501 - - - :return: The model_type of this GatewayChangedEvent. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this GatewayChangedEvent. - - - :param model_type: The model_type of this GatewayChangedEvent. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - - self._model_type = model_type - - @property - def event_timestamp(self): - """Gets the event_timestamp of this GatewayChangedEvent. # noqa: E501 - - - :return: The event_timestamp of this GatewayChangedEvent. # noqa: E501 - :rtype: int - """ - return self._event_timestamp - - @event_timestamp.setter - def event_timestamp(self, event_timestamp): - """Sets the event_timestamp of this GatewayChangedEvent. - - - :param event_timestamp: The event_timestamp of this GatewayChangedEvent. # noqa: E501 - :type: int - """ - - self._event_timestamp = event_timestamp - - @property - def gateway(self): - """Gets the gateway of this GatewayChangedEvent. # noqa: E501 - - - :return: The gateway of this GatewayChangedEvent. # noqa: E501 - :rtype: EquipmentGatewayRecord - """ - return self._gateway - - @gateway.setter - def gateway(self, gateway): - """Sets the gateway of this GatewayChangedEvent. - - - :param gateway: The gateway of this GatewayChangedEvent. # noqa: E501 - :type: EquipmentGatewayRecord - """ - - self._gateway = gateway - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(GatewayChangedEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, GatewayChangedEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/gateway_removed_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/gateway_removed_event.py deleted file mode 100644 index 27773f170..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/gateway_removed_event.py +++ /dev/null @@ -1,163 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class GatewayRemovedEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'event_timestamp': 'int', - 'gateway': 'EquipmentGatewayRecord' - } - - attribute_map = { - 'model_type': 'model_type', - 'event_timestamp': 'eventTimestamp', - 'gateway': 'gateway' - } - - def __init__(self, model_type=None, event_timestamp=None, gateway=None): # noqa: E501 - """GatewayRemovedEvent - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._event_timestamp = None - self._gateway = None - self.discriminator = None - self.model_type = model_type - if event_timestamp is not None: - self.event_timestamp = event_timestamp - if gateway is not None: - self.gateway = gateway - - @property - def model_type(self): - """Gets the model_type of this GatewayRemovedEvent. # noqa: E501 - - - :return: The model_type of this GatewayRemovedEvent. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this GatewayRemovedEvent. - - - :param model_type: The model_type of this GatewayRemovedEvent. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - - self._model_type = model_type - - @property - def event_timestamp(self): - """Gets the event_timestamp of this GatewayRemovedEvent. # noqa: E501 - - - :return: The event_timestamp of this GatewayRemovedEvent. # noqa: E501 - :rtype: int - """ - return self._event_timestamp - - @event_timestamp.setter - def event_timestamp(self, event_timestamp): - """Sets the event_timestamp of this GatewayRemovedEvent. - - - :param event_timestamp: The event_timestamp of this GatewayRemovedEvent. # noqa: E501 - :type: int - """ - - self._event_timestamp = event_timestamp - - @property - def gateway(self): - """Gets the gateway of this GatewayRemovedEvent. # noqa: E501 - - - :return: The gateway of this GatewayRemovedEvent. # noqa: E501 - :rtype: EquipmentGatewayRecord - """ - return self._gateway - - @gateway.setter - def gateway(self, gateway): - """Sets the gateway of this GatewayRemovedEvent. - - - :param gateway: The gateway of this GatewayRemovedEvent. # noqa: E501 - :type: EquipmentGatewayRecord - """ - - self._gateway = gateway - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(GatewayRemovedEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, GatewayRemovedEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/gateway_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/gateway_type.py deleted file mode 100644 index edd0de859..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/gateway_type.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class GatewayType(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - CEGW = "CEGW" - CNAGW = "CNAGW" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """GatewayType - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(GatewayType, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, GatewayType): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/generic_response.py b/libs/cloudapi/cloudsdk/swagger_client/models/generic_response.py deleted file mode 100644 index 27609a7de..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/generic_response.py +++ /dev/null @@ -1,136 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class GenericResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'message': 'str', - 'success': 'bool' - } - - attribute_map = { - 'message': 'message', - 'success': 'success' - } - - def __init__(self, message=None, success=None): # noqa: E501 - """GenericResponse - a model defined in Swagger""" # noqa: E501 - self._message = None - self._success = None - self.discriminator = None - if message is not None: - self.message = message - if success is not None: - self.success = success - - @property - def message(self): - """Gets the message of this GenericResponse. # noqa: E501 - - - :return: The message of this GenericResponse. # noqa: E501 - :rtype: str - """ - return self._message - - @message.setter - def message(self, message): - """Sets the message of this GenericResponse. - - - :param message: The message of this GenericResponse. # noqa: E501 - :type: str - """ - - self._message = message - - @property - def success(self): - """Gets the success of this GenericResponse. # noqa: E501 - - - :return: The success of this GenericResponse. # noqa: E501 - :rtype: bool - """ - return self._success - - @success.setter - def success(self, success): - """Sets the success of this GenericResponse. - - - :param success: The success of this GenericResponse. # noqa: E501 - :type: bool - """ - - self._success = success - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(GenericResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, GenericResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/gre_tunnel_configuration.py b/libs/cloudapi/cloudsdk/swagger_client/models/gre_tunnel_configuration.py deleted file mode 100644 index a3b975c80..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/gre_tunnel_configuration.py +++ /dev/null @@ -1,162 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class GreTunnelConfiguration(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'gre_tunnel_name': 'str', - 'gre_remote_inet_addr': 'str', - 'vlan_ids_in_gre_tunnel': 'list[int]' - } - - attribute_map = { - 'gre_tunnel_name': 'greTunnelName', - 'gre_remote_inet_addr': 'greRemoteInetAddr', - 'vlan_ids_in_gre_tunnel': 'vlanIdsInGreTunnel' - } - - def __init__(self, gre_tunnel_name=None, gre_remote_inet_addr=None, vlan_ids_in_gre_tunnel=None): # noqa: E501 - """GreTunnelConfiguration - a model defined in Swagger""" # noqa: E501 - self._gre_tunnel_name = None - self._gre_remote_inet_addr = None - self._vlan_ids_in_gre_tunnel = None - self.discriminator = None - if gre_tunnel_name is not None: - self.gre_tunnel_name = gre_tunnel_name - if gre_remote_inet_addr is not None: - self.gre_remote_inet_addr = gre_remote_inet_addr - if vlan_ids_in_gre_tunnel is not None: - self.vlan_ids_in_gre_tunnel = vlan_ids_in_gre_tunnel - - @property - def gre_tunnel_name(self): - """Gets the gre_tunnel_name of this GreTunnelConfiguration. # noqa: E501 - - - :return: The gre_tunnel_name of this GreTunnelConfiguration. # noqa: E501 - :rtype: str - """ - return self._gre_tunnel_name - - @gre_tunnel_name.setter - def gre_tunnel_name(self, gre_tunnel_name): - """Sets the gre_tunnel_name of this GreTunnelConfiguration. - - - :param gre_tunnel_name: The gre_tunnel_name of this GreTunnelConfiguration. # noqa: E501 - :type: str - """ - - self._gre_tunnel_name = gre_tunnel_name - - @property - def gre_remote_inet_addr(self): - """Gets the gre_remote_inet_addr of this GreTunnelConfiguration. # noqa: E501 - - - :return: The gre_remote_inet_addr of this GreTunnelConfiguration. # noqa: E501 - :rtype: str - """ - return self._gre_remote_inet_addr - - @gre_remote_inet_addr.setter - def gre_remote_inet_addr(self, gre_remote_inet_addr): - """Sets the gre_remote_inet_addr of this GreTunnelConfiguration. - - - :param gre_remote_inet_addr: The gre_remote_inet_addr of this GreTunnelConfiguration. # noqa: E501 - :type: str - """ - - self._gre_remote_inet_addr = gre_remote_inet_addr - - @property - def vlan_ids_in_gre_tunnel(self): - """Gets the vlan_ids_in_gre_tunnel of this GreTunnelConfiguration. # noqa: E501 - - - :return: The vlan_ids_in_gre_tunnel of this GreTunnelConfiguration. # noqa: E501 - :rtype: list[int] - """ - return self._vlan_ids_in_gre_tunnel - - @vlan_ids_in_gre_tunnel.setter - def vlan_ids_in_gre_tunnel(self, vlan_ids_in_gre_tunnel): - """Sets the vlan_ids_in_gre_tunnel of this GreTunnelConfiguration. - - - :param vlan_ids_in_gre_tunnel: The vlan_ids_in_gre_tunnel of this GreTunnelConfiguration. # noqa: E501 - :type: list[int] - """ - - self._vlan_ids_in_gre_tunnel = vlan_ids_in_gre_tunnel - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(GreTunnelConfiguration, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, GreTunnelConfiguration): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/guard_interval.py b/libs/cloudapi/cloudsdk/swagger_client/models/guard_interval.py deleted file mode 100644 index 1256d8047..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/guard_interval.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class GuardInterval(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - LGI_LONG_GUARD_INTERVAL = "LGI# Long Guard Interval" - SGI_SHORT_GUARD_INTERVAL = "SGI# Short Guard Interval" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """GuardInterval - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(GuardInterval, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, GuardInterval): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/integer_per_radio_type_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/integer_per_radio_type_map.py deleted file mode 100644 index e9e681b90..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/integer_per_radio_type_map.py +++ /dev/null @@ -1,188 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class IntegerPerRadioTypeMap(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'is5_g_hz': 'int', - 'is5_g_hz_u': 'int', - 'is5_g_hz_l': 'int', - 'is2dot4_g_hz': 'int' - } - - attribute_map = { - 'is5_g_hz': 'is5GHz', - 'is5_g_hz_u': 'is5GHzU', - 'is5_g_hz_l': 'is5GHzL', - 'is2dot4_g_hz': 'is2dot4GHz' - } - - def __init__(self, is5_g_hz=None, is5_g_hz_u=None, is5_g_hz_l=None, is2dot4_g_hz=None): # noqa: E501 - """IntegerPerRadioTypeMap - a model defined in Swagger""" # noqa: E501 - self._is5_g_hz = None - self._is5_g_hz_u = None - self._is5_g_hz_l = None - self._is2dot4_g_hz = None - self.discriminator = None - if is5_g_hz is not None: - self.is5_g_hz = is5_g_hz - if is5_g_hz_u is not None: - self.is5_g_hz_u = is5_g_hz_u - if is5_g_hz_l is not None: - self.is5_g_hz_l = is5_g_hz_l - if is2dot4_g_hz is not None: - self.is2dot4_g_hz = is2dot4_g_hz - - @property - def is5_g_hz(self): - """Gets the is5_g_hz of this IntegerPerRadioTypeMap. # noqa: E501 - - - :return: The is5_g_hz of this IntegerPerRadioTypeMap. # noqa: E501 - :rtype: int - """ - return self._is5_g_hz - - @is5_g_hz.setter - def is5_g_hz(self, is5_g_hz): - """Sets the is5_g_hz of this IntegerPerRadioTypeMap. - - - :param is5_g_hz: The is5_g_hz of this IntegerPerRadioTypeMap. # noqa: E501 - :type: int - """ - - self._is5_g_hz = is5_g_hz - - @property - def is5_g_hz_u(self): - """Gets the is5_g_hz_u of this IntegerPerRadioTypeMap. # noqa: E501 - - - :return: The is5_g_hz_u of this IntegerPerRadioTypeMap. # noqa: E501 - :rtype: int - """ - return self._is5_g_hz_u - - @is5_g_hz_u.setter - def is5_g_hz_u(self, is5_g_hz_u): - """Sets the is5_g_hz_u of this IntegerPerRadioTypeMap. - - - :param is5_g_hz_u: The is5_g_hz_u of this IntegerPerRadioTypeMap. # noqa: E501 - :type: int - """ - - self._is5_g_hz_u = is5_g_hz_u - - @property - def is5_g_hz_l(self): - """Gets the is5_g_hz_l of this IntegerPerRadioTypeMap. # noqa: E501 - - - :return: The is5_g_hz_l of this IntegerPerRadioTypeMap. # noqa: E501 - :rtype: int - """ - return self._is5_g_hz_l - - @is5_g_hz_l.setter - def is5_g_hz_l(self, is5_g_hz_l): - """Sets the is5_g_hz_l of this IntegerPerRadioTypeMap. - - - :param is5_g_hz_l: The is5_g_hz_l of this IntegerPerRadioTypeMap. # noqa: E501 - :type: int - """ - - self._is5_g_hz_l = is5_g_hz_l - - @property - def is2dot4_g_hz(self): - """Gets the is2dot4_g_hz of this IntegerPerRadioTypeMap. # noqa: E501 - - - :return: The is2dot4_g_hz of this IntegerPerRadioTypeMap. # noqa: E501 - :rtype: int - """ - return self._is2dot4_g_hz - - @is2dot4_g_hz.setter - def is2dot4_g_hz(self, is2dot4_g_hz): - """Sets the is2dot4_g_hz of this IntegerPerRadioTypeMap. - - - :param is2dot4_g_hz: The is2dot4_g_hz of this IntegerPerRadioTypeMap. # noqa: E501 - :type: int - """ - - self._is2dot4_g_hz = is2dot4_g_hz - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(IntegerPerRadioTypeMap, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, IntegerPerRadioTypeMap): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/integer_per_status_code_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/integer_per_status_code_map.py deleted file mode 100644 index 5c4761de7..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/integer_per_status_code_map.py +++ /dev/null @@ -1,188 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class IntegerPerStatusCodeMap(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'normal': 'int', - 'requires_attention': 'int', - 'error': 'int', - 'disabled': 'int' - } - - attribute_map = { - 'normal': 'normal', - 'requires_attention': 'requiresAttention', - 'error': 'error', - 'disabled': 'disabled' - } - - def __init__(self, normal=None, requires_attention=None, error=None, disabled=None): # noqa: E501 - """IntegerPerStatusCodeMap - a model defined in Swagger""" # noqa: E501 - self._normal = None - self._requires_attention = None - self._error = None - self._disabled = None - self.discriminator = None - if normal is not None: - self.normal = normal - if requires_attention is not None: - self.requires_attention = requires_attention - if error is not None: - self.error = error - if disabled is not None: - self.disabled = disabled - - @property - def normal(self): - """Gets the normal of this IntegerPerStatusCodeMap. # noqa: E501 - - - :return: The normal of this IntegerPerStatusCodeMap. # noqa: E501 - :rtype: int - """ - return self._normal - - @normal.setter - def normal(self, normal): - """Sets the normal of this IntegerPerStatusCodeMap. - - - :param normal: The normal of this IntegerPerStatusCodeMap. # noqa: E501 - :type: int - """ - - self._normal = normal - - @property - def requires_attention(self): - """Gets the requires_attention of this IntegerPerStatusCodeMap. # noqa: E501 - - - :return: The requires_attention of this IntegerPerStatusCodeMap. # noqa: E501 - :rtype: int - """ - return self._requires_attention - - @requires_attention.setter - def requires_attention(self, requires_attention): - """Sets the requires_attention of this IntegerPerStatusCodeMap. - - - :param requires_attention: The requires_attention of this IntegerPerStatusCodeMap. # noqa: E501 - :type: int - """ - - self._requires_attention = requires_attention - - @property - def error(self): - """Gets the error of this IntegerPerStatusCodeMap. # noqa: E501 - - - :return: The error of this IntegerPerStatusCodeMap. # noqa: E501 - :rtype: int - """ - return self._error - - @error.setter - def error(self, error): - """Sets the error of this IntegerPerStatusCodeMap. - - - :param error: The error of this IntegerPerStatusCodeMap. # noqa: E501 - :type: int - """ - - self._error = error - - @property - def disabled(self): - """Gets the disabled of this IntegerPerStatusCodeMap. # noqa: E501 - - - :return: The disabled of this IntegerPerStatusCodeMap. # noqa: E501 - :rtype: int - """ - return self._disabled - - @disabled.setter - def disabled(self, disabled): - """Sets the disabled of this IntegerPerStatusCodeMap. - - - :param disabled: The disabled of this IntegerPerStatusCodeMap. # noqa: E501 - :type: int - """ - - self._disabled = disabled - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(IntegerPerStatusCodeMap, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, IntegerPerStatusCodeMap): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/integer_status_code_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/integer_status_code_map.py deleted file mode 100644 index 5e34bae69..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/integer_status_code_map.py +++ /dev/null @@ -1,188 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class IntegerStatusCodeMap(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'normal': 'int', - 'requires_attention': 'int', - 'error': 'int', - 'disabled': 'int' - } - - attribute_map = { - 'normal': 'normal', - 'requires_attention': 'requiresAttention', - 'error': 'error', - 'disabled': 'disabled' - } - - def __init__(self, normal=None, requires_attention=None, error=None, disabled=None): # noqa: E501 - """IntegerStatusCodeMap - a model defined in Swagger""" # noqa: E501 - self._normal = None - self._requires_attention = None - self._error = None - self._disabled = None - self.discriminator = None - if normal is not None: - self.normal = normal - if requires_attention is not None: - self.requires_attention = requires_attention - if error is not None: - self.error = error - if disabled is not None: - self.disabled = disabled - - @property - def normal(self): - """Gets the normal of this IntegerStatusCodeMap. # noqa: E501 - - - :return: The normal of this IntegerStatusCodeMap. # noqa: E501 - :rtype: int - """ - return self._normal - - @normal.setter - def normal(self, normal): - """Sets the normal of this IntegerStatusCodeMap. - - - :param normal: The normal of this IntegerStatusCodeMap. # noqa: E501 - :type: int - """ - - self._normal = normal - - @property - def requires_attention(self): - """Gets the requires_attention of this IntegerStatusCodeMap. # noqa: E501 - - - :return: The requires_attention of this IntegerStatusCodeMap. # noqa: E501 - :rtype: int - """ - return self._requires_attention - - @requires_attention.setter - def requires_attention(self, requires_attention): - """Sets the requires_attention of this IntegerStatusCodeMap. - - - :param requires_attention: The requires_attention of this IntegerStatusCodeMap. # noqa: E501 - :type: int - """ - - self._requires_attention = requires_attention - - @property - def error(self): - """Gets the error of this IntegerStatusCodeMap. # noqa: E501 - - - :return: The error of this IntegerStatusCodeMap. # noqa: E501 - :rtype: int - """ - return self._error - - @error.setter - def error(self, error): - """Sets the error of this IntegerStatusCodeMap. - - - :param error: The error of this IntegerStatusCodeMap. # noqa: E501 - :type: int - """ - - self._error = error - - @property - def disabled(self): - """Gets the disabled of this IntegerStatusCodeMap. # noqa: E501 - - - :return: The disabled of this IntegerStatusCodeMap. # noqa: E501 - :rtype: int - """ - return self._disabled - - @disabled.setter - def disabled(self, disabled): - """Sets the disabled of this IntegerStatusCodeMap. - - - :param disabled: The disabled of this IntegerStatusCodeMap. # noqa: E501 - :type: int - """ - - self._disabled = disabled - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(IntegerStatusCodeMap, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, IntegerStatusCodeMap): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/integer_value_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/integer_value_map.py deleted file mode 100644 index 334bf778f..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/integer_value_map.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class IntegerValueMap(dict): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - if hasattr(dict, "swagger_types"): - swagger_types.update(dict.swagger_types) - - attribute_map = { - } - if hasattr(dict, "attribute_map"): - attribute_map.update(dict.attribute_map) - - def __init__(self, *args, **kwargs): # noqa: E501 - """IntegerValueMap - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - dict.__init__(self, *args, **kwargs) - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(IntegerValueMap, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, IntegerValueMap): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/json_serialized_exception.py b/libs/cloudapi/cloudsdk/swagger_client/models/json_serialized_exception.py deleted file mode 100644 index 375c1f37a..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/json_serialized_exception.py +++ /dev/null @@ -1,200 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class JsonSerializedException(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'ex_type': 'str', - 'error': 'str', - 'path': 'str', - 'timestamp': 'int' - } - - attribute_map = { - 'ex_type': 'exType', - 'error': 'error', - 'path': 'path', - 'timestamp': 'timestamp' - } - - def __init__(self, ex_type=None, error=None, path=None, timestamp=None): # noqa: E501 - """JsonSerializedException - a model defined in Swagger""" # noqa: E501 - self._ex_type = None - self._error = None - self._path = None - self._timestamp = None - self.discriminator = None - if ex_type is not None: - self.ex_type = ex_type - if error is not None: - self.error = error - if path is not None: - self.path = path - if timestamp is not None: - self.timestamp = timestamp - - @property - def ex_type(self): - """Gets the ex_type of this JsonSerializedException. # noqa: E501 - - - :return: The ex_type of this JsonSerializedException. # noqa: E501 - :rtype: str - """ - return self._ex_type - - @ex_type.setter - def ex_type(self, ex_type): - """Sets the ex_type of this JsonSerializedException. - - - :param ex_type: The ex_type of this JsonSerializedException. # noqa: E501 - :type: str - """ - allowed_values = ["IllegalStateException"] # noqa: E501 - if ex_type not in allowed_values: - raise ValueError( - "Invalid value for `ex_type` ({0}), must be one of {1}" # noqa: E501 - .format(ex_type, allowed_values) - ) - - self._ex_type = ex_type - - @property - def error(self): - """Gets the error of this JsonSerializedException. # noqa: E501 - - error message # noqa: E501 - - :return: The error of this JsonSerializedException. # noqa: E501 - :rtype: str - """ - return self._error - - @error.setter - def error(self, error): - """Sets the error of this JsonSerializedException. - - error message # noqa: E501 - - :param error: The error of this JsonSerializedException. # noqa: E501 - :type: str - """ - - self._error = error - - @property - def path(self): - """Gets the path of this JsonSerializedException. # noqa: E501 - - API path with parameters that produced the exception # noqa: E501 - - :return: The path of this JsonSerializedException. # noqa: E501 - :rtype: str - """ - return self._path - - @path.setter - def path(self, path): - """Sets the path of this JsonSerializedException. - - API path with parameters that produced the exception # noqa: E501 - - :param path: The path of this JsonSerializedException. # noqa: E501 - :type: str - """ - - self._path = path - - @property - def timestamp(self): - """Gets the timestamp of this JsonSerializedException. # noqa: E501 - - time stamp of when the exception was generated # noqa: E501 - - :return: The timestamp of this JsonSerializedException. # noqa: E501 - :rtype: int - """ - return self._timestamp - - @timestamp.setter - def timestamp(self, timestamp): - """Sets the timestamp of this JsonSerializedException. - - time stamp of when the exception was generated # noqa: E501 - - :param timestamp: The timestamp of this JsonSerializedException. # noqa: E501 - :type: int - """ - - self._timestamp = timestamp - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(JsonSerializedException, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, JsonSerializedException): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/link_quality_aggregated_stats.py b/libs/cloudapi/cloudsdk/swagger_client/models/link_quality_aggregated_stats.py deleted file mode 100644 index 6b2af1d7f..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/link_quality_aggregated_stats.py +++ /dev/null @@ -1,188 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class LinkQualityAggregatedStats(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'snr': 'MinMaxAvgValueInt', - 'bad_client_count': 'int', - 'average_client_count': 'int', - 'good_client_count': 'int' - } - - attribute_map = { - 'snr': 'snr', - 'bad_client_count': 'badClientCount', - 'average_client_count': 'averageClientCount', - 'good_client_count': 'goodClientCount' - } - - def __init__(self, snr=None, bad_client_count=None, average_client_count=None, good_client_count=None): # noqa: E501 - """LinkQualityAggregatedStats - a model defined in Swagger""" # noqa: E501 - self._snr = None - self._bad_client_count = None - self._average_client_count = None - self._good_client_count = None - self.discriminator = None - if snr is not None: - self.snr = snr - if bad_client_count is not None: - self.bad_client_count = bad_client_count - if average_client_count is not None: - self.average_client_count = average_client_count - if good_client_count is not None: - self.good_client_count = good_client_count - - @property - def snr(self): - """Gets the snr of this LinkQualityAggregatedStats. # noqa: E501 - - - :return: The snr of this LinkQualityAggregatedStats. # noqa: E501 - :rtype: MinMaxAvgValueInt - """ - return self._snr - - @snr.setter - def snr(self, snr): - """Sets the snr of this LinkQualityAggregatedStats. - - - :param snr: The snr of this LinkQualityAggregatedStats. # noqa: E501 - :type: MinMaxAvgValueInt - """ - - self._snr = snr - - @property - def bad_client_count(self): - """Gets the bad_client_count of this LinkQualityAggregatedStats. # noqa: E501 - - - :return: The bad_client_count of this LinkQualityAggregatedStats. # noqa: E501 - :rtype: int - """ - return self._bad_client_count - - @bad_client_count.setter - def bad_client_count(self, bad_client_count): - """Sets the bad_client_count of this LinkQualityAggregatedStats. - - - :param bad_client_count: The bad_client_count of this LinkQualityAggregatedStats. # noqa: E501 - :type: int - """ - - self._bad_client_count = bad_client_count - - @property - def average_client_count(self): - """Gets the average_client_count of this LinkQualityAggregatedStats. # noqa: E501 - - - :return: The average_client_count of this LinkQualityAggregatedStats. # noqa: E501 - :rtype: int - """ - return self._average_client_count - - @average_client_count.setter - def average_client_count(self, average_client_count): - """Sets the average_client_count of this LinkQualityAggregatedStats. - - - :param average_client_count: The average_client_count of this LinkQualityAggregatedStats. # noqa: E501 - :type: int - """ - - self._average_client_count = average_client_count - - @property - def good_client_count(self): - """Gets the good_client_count of this LinkQualityAggregatedStats. # noqa: E501 - - - :return: The good_client_count of this LinkQualityAggregatedStats. # noqa: E501 - :rtype: int - """ - return self._good_client_count - - @good_client_count.setter - def good_client_count(self, good_client_count): - """Sets the good_client_count of this LinkQualityAggregatedStats. - - - :param good_client_count: The good_client_count of this LinkQualityAggregatedStats. # noqa: E501 - :type: int - """ - - self._good_client_count = good_client_count - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(LinkQualityAggregatedStats, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, LinkQualityAggregatedStats): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/link_quality_aggregated_stats_per_radio_type_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/link_quality_aggregated_stats_per_radio_type_map.py deleted file mode 100644 index b73c29547..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/link_quality_aggregated_stats_per_radio_type_map.py +++ /dev/null @@ -1,188 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class LinkQualityAggregatedStatsPerRadioTypeMap(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'is5_g_hz': 'LinkQualityAggregatedStats', - 'is5_g_hz_u': 'LinkQualityAggregatedStats', - 'is5_g_hz_l': 'LinkQualityAggregatedStats', - 'is2dot4_g_hz': 'LinkQualityAggregatedStats' - } - - attribute_map = { - 'is5_g_hz': 'is5GHz', - 'is5_g_hz_u': 'is5GHzU', - 'is5_g_hz_l': 'is5GHzL', - 'is2dot4_g_hz': 'is2dot4GHz' - } - - def __init__(self, is5_g_hz=None, is5_g_hz_u=None, is5_g_hz_l=None, is2dot4_g_hz=None): # noqa: E501 - """LinkQualityAggregatedStatsPerRadioTypeMap - a model defined in Swagger""" # noqa: E501 - self._is5_g_hz = None - self._is5_g_hz_u = None - self._is5_g_hz_l = None - self._is2dot4_g_hz = None - self.discriminator = None - if is5_g_hz is not None: - self.is5_g_hz = is5_g_hz - if is5_g_hz_u is not None: - self.is5_g_hz_u = is5_g_hz_u - if is5_g_hz_l is not None: - self.is5_g_hz_l = is5_g_hz_l - if is2dot4_g_hz is not None: - self.is2dot4_g_hz = is2dot4_g_hz - - @property - def is5_g_hz(self): - """Gets the is5_g_hz of this LinkQualityAggregatedStatsPerRadioTypeMap. # noqa: E501 - - - :return: The is5_g_hz of this LinkQualityAggregatedStatsPerRadioTypeMap. # noqa: E501 - :rtype: LinkQualityAggregatedStats - """ - return self._is5_g_hz - - @is5_g_hz.setter - def is5_g_hz(self, is5_g_hz): - """Sets the is5_g_hz of this LinkQualityAggregatedStatsPerRadioTypeMap. - - - :param is5_g_hz: The is5_g_hz of this LinkQualityAggregatedStatsPerRadioTypeMap. # noqa: E501 - :type: LinkQualityAggregatedStats - """ - - self._is5_g_hz = is5_g_hz - - @property - def is5_g_hz_u(self): - """Gets the is5_g_hz_u of this LinkQualityAggregatedStatsPerRadioTypeMap. # noqa: E501 - - - :return: The is5_g_hz_u of this LinkQualityAggregatedStatsPerRadioTypeMap. # noqa: E501 - :rtype: LinkQualityAggregatedStats - """ - return self._is5_g_hz_u - - @is5_g_hz_u.setter - def is5_g_hz_u(self, is5_g_hz_u): - """Sets the is5_g_hz_u of this LinkQualityAggregatedStatsPerRadioTypeMap. - - - :param is5_g_hz_u: The is5_g_hz_u of this LinkQualityAggregatedStatsPerRadioTypeMap. # noqa: E501 - :type: LinkQualityAggregatedStats - """ - - self._is5_g_hz_u = is5_g_hz_u - - @property - def is5_g_hz_l(self): - """Gets the is5_g_hz_l of this LinkQualityAggregatedStatsPerRadioTypeMap. # noqa: E501 - - - :return: The is5_g_hz_l of this LinkQualityAggregatedStatsPerRadioTypeMap. # noqa: E501 - :rtype: LinkQualityAggregatedStats - """ - return self._is5_g_hz_l - - @is5_g_hz_l.setter - def is5_g_hz_l(self, is5_g_hz_l): - """Sets the is5_g_hz_l of this LinkQualityAggregatedStatsPerRadioTypeMap. - - - :param is5_g_hz_l: The is5_g_hz_l of this LinkQualityAggregatedStatsPerRadioTypeMap. # noqa: E501 - :type: LinkQualityAggregatedStats - """ - - self._is5_g_hz_l = is5_g_hz_l - - @property - def is2dot4_g_hz(self): - """Gets the is2dot4_g_hz of this LinkQualityAggregatedStatsPerRadioTypeMap. # noqa: E501 - - - :return: The is2dot4_g_hz of this LinkQualityAggregatedStatsPerRadioTypeMap. # noqa: E501 - :rtype: LinkQualityAggregatedStats - """ - return self._is2dot4_g_hz - - @is2dot4_g_hz.setter - def is2dot4_g_hz(self, is2dot4_g_hz): - """Sets the is2dot4_g_hz of this LinkQualityAggregatedStatsPerRadioTypeMap. - - - :param is2dot4_g_hz: The is2dot4_g_hz of this LinkQualityAggregatedStatsPerRadioTypeMap. # noqa: E501 - :type: LinkQualityAggregatedStats - """ - - self._is2dot4_g_hz = is2dot4_g_hz - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(LinkQualityAggregatedStatsPerRadioTypeMap, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, LinkQualityAggregatedStatsPerRadioTypeMap): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/list_of_channel_info_reports_per_radio_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/list_of_channel_info_reports_per_radio_map.py deleted file mode 100644 index a76c99bc2..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/list_of_channel_info_reports_per_radio_map.py +++ /dev/null @@ -1,188 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ListOfChannelInfoReportsPerRadioMap(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'is5_g_hz': 'list[ChannelInfo]', - 'is5_g_hz_u': 'list[ChannelInfo]', - 'is5_g_hz_l': 'list[ChannelInfo]', - 'is2dot4_g_hz': 'list[ChannelInfo]' - } - - attribute_map = { - 'is5_g_hz': 'is5GHz', - 'is5_g_hz_u': 'is5GHzU', - 'is5_g_hz_l': 'is5GHzL', - 'is2dot4_g_hz': 'is2dot4GHz' - } - - def __init__(self, is5_g_hz=None, is5_g_hz_u=None, is5_g_hz_l=None, is2dot4_g_hz=None): # noqa: E501 - """ListOfChannelInfoReportsPerRadioMap - a model defined in Swagger""" # noqa: E501 - self._is5_g_hz = None - self._is5_g_hz_u = None - self._is5_g_hz_l = None - self._is2dot4_g_hz = None - self.discriminator = None - if is5_g_hz is not None: - self.is5_g_hz = is5_g_hz - if is5_g_hz_u is not None: - self.is5_g_hz_u = is5_g_hz_u - if is5_g_hz_l is not None: - self.is5_g_hz_l = is5_g_hz_l - if is2dot4_g_hz is not None: - self.is2dot4_g_hz = is2dot4_g_hz - - @property - def is5_g_hz(self): - """Gets the is5_g_hz of this ListOfChannelInfoReportsPerRadioMap. # noqa: E501 - - - :return: The is5_g_hz of this ListOfChannelInfoReportsPerRadioMap. # noqa: E501 - :rtype: list[ChannelInfo] - """ - return self._is5_g_hz - - @is5_g_hz.setter - def is5_g_hz(self, is5_g_hz): - """Sets the is5_g_hz of this ListOfChannelInfoReportsPerRadioMap. - - - :param is5_g_hz: The is5_g_hz of this ListOfChannelInfoReportsPerRadioMap. # noqa: E501 - :type: list[ChannelInfo] - """ - - self._is5_g_hz = is5_g_hz - - @property - def is5_g_hz_u(self): - """Gets the is5_g_hz_u of this ListOfChannelInfoReportsPerRadioMap. # noqa: E501 - - - :return: The is5_g_hz_u of this ListOfChannelInfoReportsPerRadioMap. # noqa: E501 - :rtype: list[ChannelInfo] - """ - return self._is5_g_hz_u - - @is5_g_hz_u.setter - def is5_g_hz_u(self, is5_g_hz_u): - """Sets the is5_g_hz_u of this ListOfChannelInfoReportsPerRadioMap. - - - :param is5_g_hz_u: The is5_g_hz_u of this ListOfChannelInfoReportsPerRadioMap. # noqa: E501 - :type: list[ChannelInfo] - """ - - self._is5_g_hz_u = is5_g_hz_u - - @property - def is5_g_hz_l(self): - """Gets the is5_g_hz_l of this ListOfChannelInfoReportsPerRadioMap. # noqa: E501 - - - :return: The is5_g_hz_l of this ListOfChannelInfoReportsPerRadioMap. # noqa: E501 - :rtype: list[ChannelInfo] - """ - return self._is5_g_hz_l - - @is5_g_hz_l.setter - def is5_g_hz_l(self, is5_g_hz_l): - """Sets the is5_g_hz_l of this ListOfChannelInfoReportsPerRadioMap. - - - :param is5_g_hz_l: The is5_g_hz_l of this ListOfChannelInfoReportsPerRadioMap. # noqa: E501 - :type: list[ChannelInfo] - """ - - self._is5_g_hz_l = is5_g_hz_l - - @property - def is2dot4_g_hz(self): - """Gets the is2dot4_g_hz of this ListOfChannelInfoReportsPerRadioMap. # noqa: E501 - - - :return: The is2dot4_g_hz of this ListOfChannelInfoReportsPerRadioMap. # noqa: E501 - :rtype: list[ChannelInfo] - """ - return self._is2dot4_g_hz - - @is2dot4_g_hz.setter - def is2dot4_g_hz(self, is2dot4_g_hz): - """Sets the is2dot4_g_hz of this ListOfChannelInfoReportsPerRadioMap. - - - :param is2dot4_g_hz: The is2dot4_g_hz of this ListOfChannelInfoReportsPerRadioMap. # noqa: E501 - :type: list[ChannelInfo] - """ - - self._is2dot4_g_hz = is2dot4_g_hz - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ListOfChannelInfoReportsPerRadioMap, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ListOfChannelInfoReportsPerRadioMap): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/list_of_macs_per_radio_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/list_of_macs_per_radio_map.py deleted file mode 100644 index dd8279283..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/list_of_macs_per_radio_map.py +++ /dev/null @@ -1,188 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ListOfMacsPerRadioMap(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'is5_g_hz': 'list[MacAddress]', - 'is5_g_hz_u': 'list[MacAddress]', - 'is5_g_hz_l': 'list[MacAddress]', - 'is2dot4_g_hz': 'list[MacAddress]' - } - - attribute_map = { - 'is5_g_hz': 'is5GHz', - 'is5_g_hz_u': 'is5GHzU', - 'is5_g_hz_l': 'is5GHzL', - 'is2dot4_g_hz': 'is2dot4GHz' - } - - def __init__(self, is5_g_hz=None, is5_g_hz_u=None, is5_g_hz_l=None, is2dot4_g_hz=None): # noqa: E501 - """ListOfMacsPerRadioMap - a model defined in Swagger""" # noqa: E501 - self._is5_g_hz = None - self._is5_g_hz_u = None - self._is5_g_hz_l = None - self._is2dot4_g_hz = None - self.discriminator = None - if is5_g_hz is not None: - self.is5_g_hz = is5_g_hz - if is5_g_hz_u is not None: - self.is5_g_hz_u = is5_g_hz_u - if is5_g_hz_l is not None: - self.is5_g_hz_l = is5_g_hz_l - if is2dot4_g_hz is not None: - self.is2dot4_g_hz = is2dot4_g_hz - - @property - def is5_g_hz(self): - """Gets the is5_g_hz of this ListOfMacsPerRadioMap. # noqa: E501 - - - :return: The is5_g_hz of this ListOfMacsPerRadioMap. # noqa: E501 - :rtype: list[MacAddress] - """ - return self._is5_g_hz - - @is5_g_hz.setter - def is5_g_hz(self, is5_g_hz): - """Sets the is5_g_hz of this ListOfMacsPerRadioMap. - - - :param is5_g_hz: The is5_g_hz of this ListOfMacsPerRadioMap. # noqa: E501 - :type: list[MacAddress] - """ - - self._is5_g_hz = is5_g_hz - - @property - def is5_g_hz_u(self): - """Gets the is5_g_hz_u of this ListOfMacsPerRadioMap. # noqa: E501 - - - :return: The is5_g_hz_u of this ListOfMacsPerRadioMap. # noqa: E501 - :rtype: list[MacAddress] - """ - return self._is5_g_hz_u - - @is5_g_hz_u.setter - def is5_g_hz_u(self, is5_g_hz_u): - """Sets the is5_g_hz_u of this ListOfMacsPerRadioMap. - - - :param is5_g_hz_u: The is5_g_hz_u of this ListOfMacsPerRadioMap. # noqa: E501 - :type: list[MacAddress] - """ - - self._is5_g_hz_u = is5_g_hz_u - - @property - def is5_g_hz_l(self): - """Gets the is5_g_hz_l of this ListOfMacsPerRadioMap. # noqa: E501 - - - :return: The is5_g_hz_l of this ListOfMacsPerRadioMap. # noqa: E501 - :rtype: list[MacAddress] - """ - return self._is5_g_hz_l - - @is5_g_hz_l.setter - def is5_g_hz_l(self, is5_g_hz_l): - """Sets the is5_g_hz_l of this ListOfMacsPerRadioMap. - - - :param is5_g_hz_l: The is5_g_hz_l of this ListOfMacsPerRadioMap. # noqa: E501 - :type: list[MacAddress] - """ - - self._is5_g_hz_l = is5_g_hz_l - - @property - def is2dot4_g_hz(self): - """Gets the is2dot4_g_hz of this ListOfMacsPerRadioMap. # noqa: E501 - - - :return: The is2dot4_g_hz of this ListOfMacsPerRadioMap. # noqa: E501 - :rtype: list[MacAddress] - """ - return self._is2dot4_g_hz - - @is2dot4_g_hz.setter - def is2dot4_g_hz(self, is2dot4_g_hz): - """Sets the is2dot4_g_hz of this ListOfMacsPerRadioMap. - - - :param is2dot4_g_hz: The is2dot4_g_hz of this ListOfMacsPerRadioMap. # noqa: E501 - :type: list[MacAddress] - """ - - self._is2dot4_g_hz = is2dot4_g_hz - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ListOfMacsPerRadioMap, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ListOfMacsPerRadioMap): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/list_of_mcs_stats_per_radio_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/list_of_mcs_stats_per_radio_map.py deleted file mode 100644 index a4e912626..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/list_of_mcs_stats_per_radio_map.py +++ /dev/null @@ -1,188 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ListOfMcsStatsPerRadioMap(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'is5_g_hz': 'list[McsStats]', - 'is5_g_hz_u': 'list[McsStats]', - 'is5_g_hz_l': 'list[McsStats]', - 'is2dot4_g_hz': 'list[McsStats]' - } - - attribute_map = { - 'is5_g_hz': 'is5GHz', - 'is5_g_hz_u': 'is5GHzU', - 'is5_g_hz_l': 'is5GHzL', - 'is2dot4_g_hz': 'is2dot4GHz' - } - - def __init__(self, is5_g_hz=None, is5_g_hz_u=None, is5_g_hz_l=None, is2dot4_g_hz=None): # noqa: E501 - """ListOfMcsStatsPerRadioMap - a model defined in Swagger""" # noqa: E501 - self._is5_g_hz = None - self._is5_g_hz_u = None - self._is5_g_hz_l = None - self._is2dot4_g_hz = None - self.discriminator = None - if is5_g_hz is not None: - self.is5_g_hz = is5_g_hz - if is5_g_hz_u is not None: - self.is5_g_hz_u = is5_g_hz_u - if is5_g_hz_l is not None: - self.is5_g_hz_l = is5_g_hz_l - if is2dot4_g_hz is not None: - self.is2dot4_g_hz = is2dot4_g_hz - - @property - def is5_g_hz(self): - """Gets the is5_g_hz of this ListOfMcsStatsPerRadioMap. # noqa: E501 - - - :return: The is5_g_hz of this ListOfMcsStatsPerRadioMap. # noqa: E501 - :rtype: list[McsStats] - """ - return self._is5_g_hz - - @is5_g_hz.setter - def is5_g_hz(self, is5_g_hz): - """Sets the is5_g_hz of this ListOfMcsStatsPerRadioMap. - - - :param is5_g_hz: The is5_g_hz of this ListOfMcsStatsPerRadioMap. # noqa: E501 - :type: list[McsStats] - """ - - self._is5_g_hz = is5_g_hz - - @property - def is5_g_hz_u(self): - """Gets the is5_g_hz_u of this ListOfMcsStatsPerRadioMap. # noqa: E501 - - - :return: The is5_g_hz_u of this ListOfMcsStatsPerRadioMap. # noqa: E501 - :rtype: list[McsStats] - """ - return self._is5_g_hz_u - - @is5_g_hz_u.setter - def is5_g_hz_u(self, is5_g_hz_u): - """Sets the is5_g_hz_u of this ListOfMcsStatsPerRadioMap. - - - :param is5_g_hz_u: The is5_g_hz_u of this ListOfMcsStatsPerRadioMap. # noqa: E501 - :type: list[McsStats] - """ - - self._is5_g_hz_u = is5_g_hz_u - - @property - def is5_g_hz_l(self): - """Gets the is5_g_hz_l of this ListOfMcsStatsPerRadioMap. # noqa: E501 - - - :return: The is5_g_hz_l of this ListOfMcsStatsPerRadioMap. # noqa: E501 - :rtype: list[McsStats] - """ - return self._is5_g_hz_l - - @is5_g_hz_l.setter - def is5_g_hz_l(self, is5_g_hz_l): - """Sets the is5_g_hz_l of this ListOfMcsStatsPerRadioMap. - - - :param is5_g_hz_l: The is5_g_hz_l of this ListOfMcsStatsPerRadioMap. # noqa: E501 - :type: list[McsStats] - """ - - self._is5_g_hz_l = is5_g_hz_l - - @property - def is2dot4_g_hz(self): - """Gets the is2dot4_g_hz of this ListOfMcsStatsPerRadioMap. # noqa: E501 - - - :return: The is2dot4_g_hz of this ListOfMcsStatsPerRadioMap. # noqa: E501 - :rtype: list[McsStats] - """ - return self._is2dot4_g_hz - - @is2dot4_g_hz.setter - def is2dot4_g_hz(self, is2dot4_g_hz): - """Sets the is2dot4_g_hz of this ListOfMcsStatsPerRadioMap. - - - :param is2dot4_g_hz: The is2dot4_g_hz of this ListOfMcsStatsPerRadioMap. # noqa: E501 - :type: list[McsStats] - """ - - self._is2dot4_g_hz = is2dot4_g_hz - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ListOfMcsStatsPerRadioMap, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ListOfMcsStatsPerRadioMap): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/list_of_radio_utilization_per_radio_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/list_of_radio_utilization_per_radio_map.py deleted file mode 100644 index 616fe53f8..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/list_of_radio_utilization_per_radio_map.py +++ /dev/null @@ -1,188 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ListOfRadioUtilizationPerRadioMap(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'is5_g_hz': 'list[RadioUtilization]', - 'is5_g_hz_u': 'list[RadioUtilization]', - 'is5_g_hz_l': 'list[RadioUtilization]', - 'is2dot4_g_hz': 'list[RadioUtilization]' - } - - attribute_map = { - 'is5_g_hz': 'is5GHz', - 'is5_g_hz_u': 'is5GHzU', - 'is5_g_hz_l': 'is5GHzL', - 'is2dot4_g_hz': 'is2dot4GHz' - } - - def __init__(self, is5_g_hz=None, is5_g_hz_u=None, is5_g_hz_l=None, is2dot4_g_hz=None): # noqa: E501 - """ListOfRadioUtilizationPerRadioMap - a model defined in Swagger""" # noqa: E501 - self._is5_g_hz = None - self._is5_g_hz_u = None - self._is5_g_hz_l = None - self._is2dot4_g_hz = None - self.discriminator = None - if is5_g_hz is not None: - self.is5_g_hz = is5_g_hz - if is5_g_hz_u is not None: - self.is5_g_hz_u = is5_g_hz_u - if is5_g_hz_l is not None: - self.is5_g_hz_l = is5_g_hz_l - if is2dot4_g_hz is not None: - self.is2dot4_g_hz = is2dot4_g_hz - - @property - def is5_g_hz(self): - """Gets the is5_g_hz of this ListOfRadioUtilizationPerRadioMap. # noqa: E501 - - - :return: The is5_g_hz of this ListOfRadioUtilizationPerRadioMap. # noqa: E501 - :rtype: list[RadioUtilization] - """ - return self._is5_g_hz - - @is5_g_hz.setter - def is5_g_hz(self, is5_g_hz): - """Sets the is5_g_hz of this ListOfRadioUtilizationPerRadioMap. - - - :param is5_g_hz: The is5_g_hz of this ListOfRadioUtilizationPerRadioMap. # noqa: E501 - :type: list[RadioUtilization] - """ - - self._is5_g_hz = is5_g_hz - - @property - def is5_g_hz_u(self): - """Gets the is5_g_hz_u of this ListOfRadioUtilizationPerRadioMap. # noqa: E501 - - - :return: The is5_g_hz_u of this ListOfRadioUtilizationPerRadioMap. # noqa: E501 - :rtype: list[RadioUtilization] - """ - return self._is5_g_hz_u - - @is5_g_hz_u.setter - def is5_g_hz_u(self, is5_g_hz_u): - """Sets the is5_g_hz_u of this ListOfRadioUtilizationPerRadioMap. - - - :param is5_g_hz_u: The is5_g_hz_u of this ListOfRadioUtilizationPerRadioMap. # noqa: E501 - :type: list[RadioUtilization] - """ - - self._is5_g_hz_u = is5_g_hz_u - - @property - def is5_g_hz_l(self): - """Gets the is5_g_hz_l of this ListOfRadioUtilizationPerRadioMap. # noqa: E501 - - - :return: The is5_g_hz_l of this ListOfRadioUtilizationPerRadioMap. # noqa: E501 - :rtype: list[RadioUtilization] - """ - return self._is5_g_hz_l - - @is5_g_hz_l.setter - def is5_g_hz_l(self, is5_g_hz_l): - """Sets the is5_g_hz_l of this ListOfRadioUtilizationPerRadioMap. - - - :param is5_g_hz_l: The is5_g_hz_l of this ListOfRadioUtilizationPerRadioMap. # noqa: E501 - :type: list[RadioUtilization] - """ - - self._is5_g_hz_l = is5_g_hz_l - - @property - def is2dot4_g_hz(self): - """Gets the is2dot4_g_hz of this ListOfRadioUtilizationPerRadioMap. # noqa: E501 - - - :return: The is2dot4_g_hz of this ListOfRadioUtilizationPerRadioMap. # noqa: E501 - :rtype: list[RadioUtilization] - """ - return self._is2dot4_g_hz - - @is2dot4_g_hz.setter - def is2dot4_g_hz(self, is2dot4_g_hz): - """Sets the is2dot4_g_hz of this ListOfRadioUtilizationPerRadioMap. - - - :param is2dot4_g_hz: The is2dot4_g_hz of this ListOfRadioUtilizationPerRadioMap. # noqa: E501 - :type: list[RadioUtilization] - """ - - self._is2dot4_g_hz = is2dot4_g_hz - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ListOfRadioUtilizationPerRadioMap, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ListOfRadioUtilizationPerRadioMap): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/list_of_ssid_statistics_per_radio_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/list_of_ssid_statistics_per_radio_map.py deleted file mode 100644 index 87ea812f8..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/list_of_ssid_statistics_per_radio_map.py +++ /dev/null @@ -1,188 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ListOfSsidStatisticsPerRadioMap(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'is5_g_hz': 'list[SsidStatistics]', - 'is5_g_hz_u': 'list[SsidStatistics]', - 'is5_g_hz_l': 'list[SsidStatistics]', - 'is2dot4_g_hz': 'list[SsidStatistics]' - } - - attribute_map = { - 'is5_g_hz': 'is5GHz', - 'is5_g_hz_u': 'is5GHzU', - 'is5_g_hz_l': 'is5GHzL', - 'is2dot4_g_hz': 'is2dot4GHz' - } - - def __init__(self, is5_g_hz=None, is5_g_hz_u=None, is5_g_hz_l=None, is2dot4_g_hz=None): # noqa: E501 - """ListOfSsidStatisticsPerRadioMap - a model defined in Swagger""" # noqa: E501 - self._is5_g_hz = None - self._is5_g_hz_u = None - self._is5_g_hz_l = None - self._is2dot4_g_hz = None - self.discriminator = None - if is5_g_hz is not None: - self.is5_g_hz = is5_g_hz - if is5_g_hz_u is not None: - self.is5_g_hz_u = is5_g_hz_u - if is5_g_hz_l is not None: - self.is5_g_hz_l = is5_g_hz_l - if is2dot4_g_hz is not None: - self.is2dot4_g_hz = is2dot4_g_hz - - @property - def is5_g_hz(self): - """Gets the is5_g_hz of this ListOfSsidStatisticsPerRadioMap. # noqa: E501 - - - :return: The is5_g_hz of this ListOfSsidStatisticsPerRadioMap. # noqa: E501 - :rtype: list[SsidStatistics] - """ - return self._is5_g_hz - - @is5_g_hz.setter - def is5_g_hz(self, is5_g_hz): - """Sets the is5_g_hz of this ListOfSsidStatisticsPerRadioMap. - - - :param is5_g_hz: The is5_g_hz of this ListOfSsidStatisticsPerRadioMap. # noqa: E501 - :type: list[SsidStatistics] - """ - - self._is5_g_hz = is5_g_hz - - @property - def is5_g_hz_u(self): - """Gets the is5_g_hz_u of this ListOfSsidStatisticsPerRadioMap. # noqa: E501 - - - :return: The is5_g_hz_u of this ListOfSsidStatisticsPerRadioMap. # noqa: E501 - :rtype: list[SsidStatistics] - """ - return self._is5_g_hz_u - - @is5_g_hz_u.setter - def is5_g_hz_u(self, is5_g_hz_u): - """Sets the is5_g_hz_u of this ListOfSsidStatisticsPerRadioMap. - - - :param is5_g_hz_u: The is5_g_hz_u of this ListOfSsidStatisticsPerRadioMap. # noqa: E501 - :type: list[SsidStatistics] - """ - - self._is5_g_hz_u = is5_g_hz_u - - @property - def is5_g_hz_l(self): - """Gets the is5_g_hz_l of this ListOfSsidStatisticsPerRadioMap. # noqa: E501 - - - :return: The is5_g_hz_l of this ListOfSsidStatisticsPerRadioMap. # noqa: E501 - :rtype: list[SsidStatistics] - """ - return self._is5_g_hz_l - - @is5_g_hz_l.setter - def is5_g_hz_l(self, is5_g_hz_l): - """Sets the is5_g_hz_l of this ListOfSsidStatisticsPerRadioMap. - - - :param is5_g_hz_l: The is5_g_hz_l of this ListOfSsidStatisticsPerRadioMap. # noqa: E501 - :type: list[SsidStatistics] - """ - - self._is5_g_hz_l = is5_g_hz_l - - @property - def is2dot4_g_hz(self): - """Gets the is2dot4_g_hz of this ListOfSsidStatisticsPerRadioMap. # noqa: E501 - - - :return: The is2dot4_g_hz of this ListOfSsidStatisticsPerRadioMap. # noqa: E501 - :rtype: list[SsidStatistics] - """ - return self._is2dot4_g_hz - - @is2dot4_g_hz.setter - def is2dot4_g_hz(self, is2dot4_g_hz): - """Sets the is2dot4_g_hz of this ListOfSsidStatisticsPerRadioMap. - - - :param is2dot4_g_hz: The is2dot4_g_hz of this ListOfSsidStatisticsPerRadioMap. # noqa: E501 - :type: list[SsidStatistics] - """ - - self._is2dot4_g_hz = is2dot4_g_hz - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ListOfSsidStatisticsPerRadioMap, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ListOfSsidStatisticsPerRadioMap): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/local_time_value.py b/libs/cloudapi/cloudsdk/swagger_client/models/local_time_value.py deleted file mode 100644 index 59cf0770a..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/local_time_value.py +++ /dev/null @@ -1,136 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class LocalTimeValue(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'hour': 'int', - 'minute': 'int' - } - - attribute_map = { - 'hour': 'hour', - 'minute': 'minute' - } - - def __init__(self, hour=None, minute=None): # noqa: E501 - """LocalTimeValue - a model defined in Swagger""" # noqa: E501 - self._hour = None - self._minute = None - self.discriminator = None - if hour is not None: - self.hour = hour - if minute is not None: - self.minute = minute - - @property - def hour(self): - """Gets the hour of this LocalTimeValue. # noqa: E501 - - - :return: The hour of this LocalTimeValue. # noqa: E501 - :rtype: int - """ - return self._hour - - @hour.setter - def hour(self, hour): - """Sets the hour of this LocalTimeValue. - - - :param hour: The hour of this LocalTimeValue. # noqa: E501 - :type: int - """ - - self._hour = hour - - @property - def minute(self): - """Gets the minute of this LocalTimeValue. # noqa: E501 - - - :return: The minute of this LocalTimeValue. # noqa: E501 - :rtype: int - """ - return self._minute - - @minute.setter - def minute(self, minute): - """Sets the minute of this LocalTimeValue. - - - :param minute: The minute of this LocalTimeValue. # noqa: E501 - :type: int - """ - - self._minute = minute - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(LocalTimeValue, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, LocalTimeValue): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/location.py b/libs/cloudapi/cloudsdk/swagger_client/models/location.py deleted file mode 100644 index fe4ab884e..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/location.py +++ /dev/null @@ -1,300 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class Location(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'int', - 'location_type': 'str', - 'customer_id': 'int', - 'name': 'str', - 'parent_id': 'int', - 'details': 'LocationDetails', - 'created_timestamp': 'int', - 'last_modified_timestamp': 'int' - } - - attribute_map = { - 'id': 'id', - 'location_type': 'locationType', - 'customer_id': 'customerId', - 'name': 'name', - 'parent_id': 'parentId', - 'details': 'details', - 'created_timestamp': 'createdTimestamp', - 'last_modified_timestamp': 'lastModifiedTimestamp' - } - - def __init__(self, id=None, location_type=None, customer_id=None, name=None, parent_id=None, details=None, created_timestamp=None, last_modified_timestamp=None): # noqa: E501 - """Location - a model defined in Swagger""" # noqa: E501 - self._id = None - self._location_type = None - self._customer_id = None - self._name = None - self._parent_id = None - self._details = None - self._created_timestamp = None - self._last_modified_timestamp = None - self.discriminator = None - if id is not None: - self.id = id - if location_type is not None: - self.location_type = location_type - if customer_id is not None: - self.customer_id = customer_id - if name is not None: - self.name = name - if parent_id is not None: - self.parent_id = parent_id - if details is not None: - self.details = details - if created_timestamp is not None: - self.created_timestamp = created_timestamp - if last_modified_timestamp is not None: - self.last_modified_timestamp = last_modified_timestamp - - @property - def id(self): - """Gets the id of this Location. # noqa: E501 - - - :return: The id of this Location. # noqa: E501 - :rtype: int - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this Location. - - - :param id: The id of this Location. # noqa: E501 - :type: int - """ - - self._id = id - - @property - def location_type(self): - """Gets the location_type of this Location. # noqa: E501 - - - :return: The location_type of this Location. # noqa: E501 - :rtype: str - """ - return self._location_type - - @location_type.setter - def location_type(self, location_type): - """Sets the location_type of this Location. - - - :param location_type: The location_type of this Location. # noqa: E501 - :type: str - """ - allowed_values = ["COUNTRY", "SITE", "BUILDING", "FLOOR", "UNSUPPORTED"] # noqa: E501 - if location_type not in allowed_values: - raise ValueError( - "Invalid value for `location_type` ({0}), must be one of {1}" # noqa: E501 - .format(location_type, allowed_values) - ) - - self._location_type = location_type - - @property - def customer_id(self): - """Gets the customer_id of this Location. # noqa: E501 - - - :return: The customer_id of this Location. # noqa: E501 - :rtype: int - """ - return self._customer_id - - @customer_id.setter - def customer_id(self, customer_id): - """Sets the customer_id of this Location. - - - :param customer_id: The customer_id of this Location. # noqa: E501 - :type: int - """ - - self._customer_id = customer_id - - @property - def name(self): - """Gets the name of this Location. # noqa: E501 - - - :return: The name of this Location. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this Location. - - - :param name: The name of this Location. # noqa: E501 - :type: str - """ - - self._name = name - - @property - def parent_id(self): - """Gets the parent_id of this Location. # noqa: E501 - - - :return: The parent_id of this Location. # noqa: E501 - :rtype: int - """ - return self._parent_id - - @parent_id.setter - def parent_id(self, parent_id): - """Sets the parent_id of this Location. - - - :param parent_id: The parent_id of this Location. # noqa: E501 - :type: int - """ - - self._parent_id = parent_id - - @property - def details(self): - """Gets the details of this Location. # noqa: E501 - - - :return: The details of this Location. # noqa: E501 - :rtype: LocationDetails - """ - return self._details - - @details.setter - def details(self, details): - """Sets the details of this Location. - - - :param details: The details of this Location. # noqa: E501 - :type: LocationDetails - """ - - self._details = details - - @property - def created_timestamp(self): - """Gets the created_timestamp of this Location. # noqa: E501 - - - :return: The created_timestamp of this Location. # noqa: E501 - :rtype: int - """ - return self._created_timestamp - - @created_timestamp.setter - def created_timestamp(self, created_timestamp): - """Sets the created_timestamp of this Location. - - - :param created_timestamp: The created_timestamp of this Location. # noqa: E501 - :type: int - """ - - self._created_timestamp = created_timestamp - - @property - def last_modified_timestamp(self): - """Gets the last_modified_timestamp of this Location. # noqa: E501 - - must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database # noqa: E501 - - :return: The last_modified_timestamp of this Location. # noqa: E501 - :rtype: int - """ - return self._last_modified_timestamp - - @last_modified_timestamp.setter - def last_modified_timestamp(self, last_modified_timestamp): - """Sets the last_modified_timestamp of this Location. - - must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database # noqa: E501 - - :param last_modified_timestamp: The last_modified_timestamp of this Location. # noqa: E501 - :type: int - """ - - self._last_modified_timestamp = last_modified_timestamp - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(Location, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, Location): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/location_activity_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/location_activity_details.py deleted file mode 100644 index 541ec7663..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/location_activity_details.py +++ /dev/null @@ -1,188 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class LocationActivityDetails(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'busy_time': 'str', - 'quiet_time': 'str', - 'timezone': 'str', - 'last_busy_snapshot': 'int' - } - - attribute_map = { - 'busy_time': 'busyTime', - 'quiet_time': 'quietTime', - 'timezone': 'timezone', - 'last_busy_snapshot': 'lastBusySnapshot' - } - - def __init__(self, busy_time=None, quiet_time=None, timezone=None, last_busy_snapshot=None): # noqa: E501 - """LocationActivityDetails - a model defined in Swagger""" # noqa: E501 - self._busy_time = None - self._quiet_time = None - self._timezone = None - self._last_busy_snapshot = None - self.discriminator = None - if busy_time is not None: - self.busy_time = busy_time - if quiet_time is not None: - self.quiet_time = quiet_time - if timezone is not None: - self.timezone = timezone - if last_busy_snapshot is not None: - self.last_busy_snapshot = last_busy_snapshot - - @property - def busy_time(self): - """Gets the busy_time of this LocationActivityDetails. # noqa: E501 - - - :return: The busy_time of this LocationActivityDetails. # noqa: E501 - :rtype: str - """ - return self._busy_time - - @busy_time.setter - def busy_time(self, busy_time): - """Sets the busy_time of this LocationActivityDetails. - - - :param busy_time: The busy_time of this LocationActivityDetails. # noqa: E501 - :type: str - """ - - self._busy_time = busy_time - - @property - def quiet_time(self): - """Gets the quiet_time of this LocationActivityDetails. # noqa: E501 - - - :return: The quiet_time of this LocationActivityDetails. # noqa: E501 - :rtype: str - """ - return self._quiet_time - - @quiet_time.setter - def quiet_time(self, quiet_time): - """Sets the quiet_time of this LocationActivityDetails. - - - :param quiet_time: The quiet_time of this LocationActivityDetails. # noqa: E501 - :type: str - """ - - self._quiet_time = quiet_time - - @property - def timezone(self): - """Gets the timezone of this LocationActivityDetails. # noqa: E501 - - - :return: The timezone of this LocationActivityDetails. # noqa: E501 - :rtype: str - """ - return self._timezone - - @timezone.setter - def timezone(self, timezone): - """Sets the timezone of this LocationActivityDetails. - - - :param timezone: The timezone of this LocationActivityDetails. # noqa: E501 - :type: str - """ - - self._timezone = timezone - - @property - def last_busy_snapshot(self): - """Gets the last_busy_snapshot of this LocationActivityDetails. # noqa: E501 - - - :return: The last_busy_snapshot of this LocationActivityDetails. # noqa: E501 - :rtype: int - """ - return self._last_busy_snapshot - - @last_busy_snapshot.setter - def last_busy_snapshot(self, last_busy_snapshot): - """Sets the last_busy_snapshot of this LocationActivityDetails. - - - :param last_busy_snapshot: The last_busy_snapshot of this LocationActivityDetails. # noqa: E501 - :type: int - """ - - self._last_busy_snapshot = last_busy_snapshot - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(LocationActivityDetails, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, LocationActivityDetails): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/location_activity_details_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/location_activity_details_map.py deleted file mode 100644 index 12699f817..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/location_activity_details_map.py +++ /dev/null @@ -1,266 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class LocationActivityDetailsMap(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'sunday': 'LocationActivityDetails', - 'monday': 'LocationActivityDetails', - 'tuesday': 'LocationActivityDetails', - 'wednesday': 'LocationActivityDetails', - 'thursday': 'LocationActivityDetails', - 'friday': 'LocationActivityDetails', - 'saturday': 'LocationActivityDetails' - } - - attribute_map = { - 'sunday': 'SUNDAY', - 'monday': 'MONDAY', - 'tuesday': 'TUESDAY', - 'wednesday': 'WEDNESDAY', - 'thursday': 'THURSDAY', - 'friday': 'FRIDAY', - 'saturday': 'SATURDAY' - } - - def __init__(self, sunday=None, monday=None, tuesday=None, wednesday=None, thursday=None, friday=None, saturday=None): # noqa: E501 - """LocationActivityDetailsMap - a model defined in Swagger""" # noqa: E501 - self._sunday = None - self._monday = None - self._tuesday = None - self._wednesday = None - self._thursday = None - self._friday = None - self._saturday = None - self.discriminator = None - if sunday is not None: - self.sunday = sunday - if monday is not None: - self.monday = monday - if tuesday is not None: - self.tuesday = tuesday - if wednesday is not None: - self.wednesday = wednesday - if thursday is not None: - self.thursday = thursday - if friday is not None: - self.friday = friday - if saturday is not None: - self.saturday = saturday - - @property - def sunday(self): - """Gets the sunday of this LocationActivityDetailsMap. # noqa: E501 - - - :return: The sunday of this LocationActivityDetailsMap. # noqa: E501 - :rtype: LocationActivityDetails - """ - return self._sunday - - @sunday.setter - def sunday(self, sunday): - """Sets the sunday of this LocationActivityDetailsMap. - - - :param sunday: The sunday of this LocationActivityDetailsMap. # noqa: E501 - :type: LocationActivityDetails - """ - - self._sunday = sunday - - @property - def monday(self): - """Gets the monday of this LocationActivityDetailsMap. # noqa: E501 - - - :return: The monday of this LocationActivityDetailsMap. # noqa: E501 - :rtype: LocationActivityDetails - """ - return self._monday - - @monday.setter - def monday(self, monday): - """Sets the monday of this LocationActivityDetailsMap. - - - :param monday: The monday of this LocationActivityDetailsMap. # noqa: E501 - :type: LocationActivityDetails - """ - - self._monday = monday - - @property - def tuesday(self): - """Gets the tuesday of this LocationActivityDetailsMap. # noqa: E501 - - - :return: The tuesday of this LocationActivityDetailsMap. # noqa: E501 - :rtype: LocationActivityDetails - """ - return self._tuesday - - @tuesday.setter - def tuesday(self, tuesday): - """Sets the tuesday of this LocationActivityDetailsMap. - - - :param tuesday: The tuesday of this LocationActivityDetailsMap. # noqa: E501 - :type: LocationActivityDetails - """ - - self._tuesday = tuesday - - @property - def wednesday(self): - """Gets the wednesday of this LocationActivityDetailsMap. # noqa: E501 - - - :return: The wednesday of this LocationActivityDetailsMap. # noqa: E501 - :rtype: LocationActivityDetails - """ - return self._wednesday - - @wednesday.setter - def wednesday(self, wednesday): - """Sets the wednesday of this LocationActivityDetailsMap. - - - :param wednesday: The wednesday of this LocationActivityDetailsMap. # noqa: E501 - :type: LocationActivityDetails - """ - - self._wednesday = wednesday - - @property - def thursday(self): - """Gets the thursday of this LocationActivityDetailsMap. # noqa: E501 - - - :return: The thursday of this LocationActivityDetailsMap. # noqa: E501 - :rtype: LocationActivityDetails - """ - return self._thursday - - @thursday.setter - def thursday(self, thursday): - """Sets the thursday of this LocationActivityDetailsMap. - - - :param thursday: The thursday of this LocationActivityDetailsMap. # noqa: E501 - :type: LocationActivityDetails - """ - - self._thursday = thursday - - @property - def friday(self): - """Gets the friday of this LocationActivityDetailsMap. # noqa: E501 - - - :return: The friday of this LocationActivityDetailsMap. # noqa: E501 - :rtype: LocationActivityDetails - """ - return self._friday - - @friday.setter - def friday(self, friday): - """Sets the friday of this LocationActivityDetailsMap. - - - :param friday: The friday of this LocationActivityDetailsMap. # noqa: E501 - :type: LocationActivityDetails - """ - - self._friday = friday - - @property - def saturday(self): - """Gets the saturday of this LocationActivityDetailsMap. # noqa: E501 - - - :return: The saturday of this LocationActivityDetailsMap. # noqa: E501 - :rtype: LocationActivityDetails - """ - return self._saturday - - @saturday.setter - def saturday(self, saturday): - """Sets the saturday of this LocationActivityDetailsMap. - - - :param saturday: The saturday of this LocationActivityDetailsMap. # noqa: E501 - :type: LocationActivityDetails - """ - - self._saturday = saturday - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(LocationActivityDetailsMap, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, LocationActivityDetailsMap): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/location_added_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/location_added_event.py deleted file mode 100644 index f29f7d5b8..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/location_added_event.py +++ /dev/null @@ -1,189 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class LocationAddedEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'event_timestamp': 'int', - 'customer_id': 'int', - 'payload': 'Location' - } - - attribute_map = { - 'model_type': 'model_type', - 'event_timestamp': 'eventTimestamp', - 'customer_id': 'customerId', - 'payload': 'payload' - } - - def __init__(self, model_type=None, event_timestamp=None, customer_id=None, payload=None): # noqa: E501 - """LocationAddedEvent - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._event_timestamp = None - self._customer_id = None - self._payload = None - self.discriminator = None - self.model_type = model_type - if event_timestamp is not None: - self.event_timestamp = event_timestamp - if customer_id is not None: - self.customer_id = customer_id - if payload is not None: - self.payload = payload - - @property - def model_type(self): - """Gets the model_type of this LocationAddedEvent. # noqa: E501 - - - :return: The model_type of this LocationAddedEvent. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this LocationAddedEvent. - - - :param model_type: The model_type of this LocationAddedEvent. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - - self._model_type = model_type - - @property - def event_timestamp(self): - """Gets the event_timestamp of this LocationAddedEvent. # noqa: E501 - - - :return: The event_timestamp of this LocationAddedEvent. # noqa: E501 - :rtype: int - """ - return self._event_timestamp - - @event_timestamp.setter - def event_timestamp(self, event_timestamp): - """Sets the event_timestamp of this LocationAddedEvent. - - - :param event_timestamp: The event_timestamp of this LocationAddedEvent. # noqa: E501 - :type: int - """ - - self._event_timestamp = event_timestamp - - @property - def customer_id(self): - """Gets the customer_id of this LocationAddedEvent. # noqa: E501 - - - :return: The customer_id of this LocationAddedEvent. # noqa: E501 - :rtype: int - """ - return self._customer_id - - @customer_id.setter - def customer_id(self, customer_id): - """Sets the customer_id of this LocationAddedEvent. - - - :param customer_id: The customer_id of this LocationAddedEvent. # noqa: E501 - :type: int - """ - - self._customer_id = customer_id - - @property - def payload(self): - """Gets the payload of this LocationAddedEvent. # noqa: E501 - - - :return: The payload of this LocationAddedEvent. # noqa: E501 - :rtype: Location - """ - return self._payload - - @payload.setter - def payload(self, payload): - """Sets the payload of this LocationAddedEvent. - - - :param payload: The payload of this LocationAddedEvent. # noqa: E501 - :type: Location - """ - - self._payload = payload - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(LocationAddedEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, LocationAddedEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/location_changed_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/location_changed_event.py deleted file mode 100644 index 79de3c1e7..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/location_changed_event.py +++ /dev/null @@ -1,189 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class LocationChangedEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'event_timestamp': 'int', - 'customer_id': 'int', - 'payload': 'Location' - } - - attribute_map = { - 'model_type': 'model_type', - 'event_timestamp': 'eventTimestamp', - 'customer_id': 'customerId', - 'payload': 'payload' - } - - def __init__(self, model_type=None, event_timestamp=None, customer_id=None, payload=None): # noqa: E501 - """LocationChangedEvent - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._event_timestamp = None - self._customer_id = None - self._payload = None - self.discriminator = None - self.model_type = model_type - if event_timestamp is not None: - self.event_timestamp = event_timestamp - if customer_id is not None: - self.customer_id = customer_id - if payload is not None: - self.payload = payload - - @property - def model_type(self): - """Gets the model_type of this LocationChangedEvent. # noqa: E501 - - - :return: The model_type of this LocationChangedEvent. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this LocationChangedEvent. - - - :param model_type: The model_type of this LocationChangedEvent. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - - self._model_type = model_type - - @property - def event_timestamp(self): - """Gets the event_timestamp of this LocationChangedEvent. # noqa: E501 - - - :return: The event_timestamp of this LocationChangedEvent. # noqa: E501 - :rtype: int - """ - return self._event_timestamp - - @event_timestamp.setter - def event_timestamp(self, event_timestamp): - """Sets the event_timestamp of this LocationChangedEvent. - - - :param event_timestamp: The event_timestamp of this LocationChangedEvent. # noqa: E501 - :type: int - """ - - self._event_timestamp = event_timestamp - - @property - def customer_id(self): - """Gets the customer_id of this LocationChangedEvent. # noqa: E501 - - - :return: The customer_id of this LocationChangedEvent. # noqa: E501 - :rtype: int - """ - return self._customer_id - - @customer_id.setter - def customer_id(self, customer_id): - """Sets the customer_id of this LocationChangedEvent. - - - :param customer_id: The customer_id of this LocationChangedEvent. # noqa: E501 - :type: int - """ - - self._customer_id = customer_id - - @property - def payload(self): - """Gets the payload of this LocationChangedEvent. # noqa: E501 - - - :return: The payload of this LocationChangedEvent. # noqa: E501 - :rtype: Location - """ - return self._payload - - @payload.setter - def payload(self, payload): - """Sets the payload of this LocationChangedEvent. - - - :param payload: The payload of this LocationChangedEvent. # noqa: E501 - :type: Location - """ - - self._payload = payload - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(LocationChangedEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, LocationChangedEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/location_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/location_details.py deleted file mode 100644 index 87ac56897..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/location_details.py +++ /dev/null @@ -1,220 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class LocationDetails(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'country_code': 'CountryCode', - 'daily_activity_details': 'LocationActivityDetailsMap', - 'maintenance_window': 'DaysOfWeekTimeRangeSchedule', - 'rrm_enabled': 'bool' - } - - attribute_map = { - 'model_type': 'model_type', - 'country_code': 'countryCode', - 'daily_activity_details': 'dailyActivityDetails', - 'maintenance_window': 'maintenanceWindow', - 'rrm_enabled': 'rrmEnabled' - } - - def __init__(self, model_type=None, country_code=None, daily_activity_details=None, maintenance_window=None, rrm_enabled=None): # noqa: E501 - """LocationDetails - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._country_code = None - self._daily_activity_details = None - self._maintenance_window = None - self._rrm_enabled = None - self.discriminator = None - if model_type is not None: - self.model_type = model_type - if country_code is not None: - self.country_code = country_code - if daily_activity_details is not None: - self.daily_activity_details = daily_activity_details - if maintenance_window is not None: - self.maintenance_window = maintenance_window - if rrm_enabled is not None: - self.rrm_enabled = rrm_enabled - - @property - def model_type(self): - """Gets the model_type of this LocationDetails. # noqa: E501 - - - :return: The model_type of this LocationDetails. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this LocationDetails. - - - :param model_type: The model_type of this LocationDetails. # noqa: E501 - :type: str - """ - allowed_values = ["LocationDetails"] # noqa: E501 - if model_type not in allowed_values: - raise ValueError( - "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 - .format(model_type, allowed_values) - ) - - self._model_type = model_type - - @property - def country_code(self): - """Gets the country_code of this LocationDetails. # noqa: E501 - - - :return: The country_code of this LocationDetails. # noqa: E501 - :rtype: CountryCode - """ - return self._country_code - - @country_code.setter - def country_code(self, country_code): - """Sets the country_code of this LocationDetails. - - - :param country_code: The country_code of this LocationDetails. # noqa: E501 - :type: CountryCode - """ - - self._country_code = country_code - - @property - def daily_activity_details(self): - """Gets the daily_activity_details of this LocationDetails. # noqa: E501 - - - :return: The daily_activity_details of this LocationDetails. # noqa: E501 - :rtype: LocationActivityDetailsMap - """ - return self._daily_activity_details - - @daily_activity_details.setter - def daily_activity_details(self, daily_activity_details): - """Sets the daily_activity_details of this LocationDetails. - - - :param daily_activity_details: The daily_activity_details of this LocationDetails. # noqa: E501 - :type: LocationActivityDetailsMap - """ - - self._daily_activity_details = daily_activity_details - - @property - def maintenance_window(self): - """Gets the maintenance_window of this LocationDetails. # noqa: E501 - - - :return: The maintenance_window of this LocationDetails. # noqa: E501 - :rtype: DaysOfWeekTimeRangeSchedule - """ - return self._maintenance_window - - @maintenance_window.setter - def maintenance_window(self, maintenance_window): - """Sets the maintenance_window of this LocationDetails. - - - :param maintenance_window: The maintenance_window of this LocationDetails. # noqa: E501 - :type: DaysOfWeekTimeRangeSchedule - """ - - self._maintenance_window = maintenance_window - - @property - def rrm_enabled(self): - """Gets the rrm_enabled of this LocationDetails. # noqa: E501 - - - :return: The rrm_enabled of this LocationDetails. # noqa: E501 - :rtype: bool - """ - return self._rrm_enabled - - @rrm_enabled.setter - def rrm_enabled(self, rrm_enabled): - """Sets the rrm_enabled of this LocationDetails. - - - :param rrm_enabled: The rrm_enabled of this LocationDetails. # noqa: E501 - :type: bool - """ - - self._rrm_enabled = rrm_enabled - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(LocationDetails, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, LocationDetails): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/location_removed_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/location_removed_event.py deleted file mode 100644 index b45e067af..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/location_removed_event.py +++ /dev/null @@ -1,189 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class LocationRemovedEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'event_timestamp': 'int', - 'customer_id': 'int', - 'payload': 'Location' - } - - attribute_map = { - 'model_type': 'model_type', - 'event_timestamp': 'eventTimestamp', - 'customer_id': 'customerId', - 'payload': 'payload' - } - - def __init__(self, model_type=None, event_timestamp=None, customer_id=None, payload=None): # noqa: E501 - """LocationRemovedEvent - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._event_timestamp = None - self._customer_id = None - self._payload = None - self.discriminator = None - self.model_type = model_type - if event_timestamp is not None: - self.event_timestamp = event_timestamp - if customer_id is not None: - self.customer_id = customer_id - if payload is not None: - self.payload = payload - - @property - def model_type(self): - """Gets the model_type of this LocationRemovedEvent. # noqa: E501 - - - :return: The model_type of this LocationRemovedEvent. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this LocationRemovedEvent. - - - :param model_type: The model_type of this LocationRemovedEvent. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - - self._model_type = model_type - - @property - def event_timestamp(self): - """Gets the event_timestamp of this LocationRemovedEvent. # noqa: E501 - - - :return: The event_timestamp of this LocationRemovedEvent. # noqa: E501 - :rtype: int - """ - return self._event_timestamp - - @event_timestamp.setter - def event_timestamp(self, event_timestamp): - """Sets the event_timestamp of this LocationRemovedEvent. - - - :param event_timestamp: The event_timestamp of this LocationRemovedEvent. # noqa: E501 - :type: int - """ - - self._event_timestamp = event_timestamp - - @property - def customer_id(self): - """Gets the customer_id of this LocationRemovedEvent. # noqa: E501 - - - :return: The customer_id of this LocationRemovedEvent. # noqa: E501 - :rtype: int - """ - return self._customer_id - - @customer_id.setter - def customer_id(self, customer_id): - """Sets the customer_id of this LocationRemovedEvent. - - - :param customer_id: The customer_id of this LocationRemovedEvent. # noqa: E501 - :type: int - """ - - self._customer_id = customer_id - - @property - def payload(self): - """Gets the payload of this LocationRemovedEvent. # noqa: E501 - - - :return: The payload of this LocationRemovedEvent. # noqa: E501 - :rtype: Location - """ - return self._payload - - @payload.setter - def payload(self, payload): - """Sets the payload of this LocationRemovedEvent. - - - :param payload: The payload of this LocationRemovedEvent. # noqa: E501 - :type: Location - """ - - self._payload = payload - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(LocationRemovedEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, LocationRemovedEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/long_per_radio_type_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/long_per_radio_type_map.py deleted file mode 100644 index 2e7ef5ca5..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/long_per_radio_type_map.py +++ /dev/null @@ -1,188 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class LongPerRadioTypeMap(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'is5_g_hz': 'int', - 'is5_g_hz_u': 'int', - 'is5_g_hz_l': 'int', - 'is2dot4_g_hz': 'int' - } - - attribute_map = { - 'is5_g_hz': 'is5GHz', - 'is5_g_hz_u': 'is5GHzU', - 'is5_g_hz_l': 'is5GHzL', - 'is2dot4_g_hz': 'is2dot4GHz' - } - - def __init__(self, is5_g_hz=None, is5_g_hz_u=None, is5_g_hz_l=None, is2dot4_g_hz=None): # noqa: E501 - """LongPerRadioTypeMap - a model defined in Swagger""" # noqa: E501 - self._is5_g_hz = None - self._is5_g_hz_u = None - self._is5_g_hz_l = None - self._is2dot4_g_hz = None - self.discriminator = None - if is5_g_hz is not None: - self.is5_g_hz = is5_g_hz - if is5_g_hz_u is not None: - self.is5_g_hz_u = is5_g_hz_u - if is5_g_hz_l is not None: - self.is5_g_hz_l = is5_g_hz_l - if is2dot4_g_hz is not None: - self.is2dot4_g_hz = is2dot4_g_hz - - @property - def is5_g_hz(self): - """Gets the is5_g_hz of this LongPerRadioTypeMap. # noqa: E501 - - - :return: The is5_g_hz of this LongPerRadioTypeMap. # noqa: E501 - :rtype: int - """ - return self._is5_g_hz - - @is5_g_hz.setter - def is5_g_hz(self, is5_g_hz): - """Sets the is5_g_hz of this LongPerRadioTypeMap. - - - :param is5_g_hz: The is5_g_hz of this LongPerRadioTypeMap. # noqa: E501 - :type: int - """ - - self._is5_g_hz = is5_g_hz - - @property - def is5_g_hz_u(self): - """Gets the is5_g_hz_u of this LongPerRadioTypeMap. # noqa: E501 - - - :return: The is5_g_hz_u of this LongPerRadioTypeMap. # noqa: E501 - :rtype: int - """ - return self._is5_g_hz_u - - @is5_g_hz_u.setter - def is5_g_hz_u(self, is5_g_hz_u): - """Sets the is5_g_hz_u of this LongPerRadioTypeMap. - - - :param is5_g_hz_u: The is5_g_hz_u of this LongPerRadioTypeMap. # noqa: E501 - :type: int - """ - - self._is5_g_hz_u = is5_g_hz_u - - @property - def is5_g_hz_l(self): - """Gets the is5_g_hz_l of this LongPerRadioTypeMap. # noqa: E501 - - - :return: The is5_g_hz_l of this LongPerRadioTypeMap. # noqa: E501 - :rtype: int - """ - return self._is5_g_hz_l - - @is5_g_hz_l.setter - def is5_g_hz_l(self, is5_g_hz_l): - """Sets the is5_g_hz_l of this LongPerRadioTypeMap. - - - :param is5_g_hz_l: The is5_g_hz_l of this LongPerRadioTypeMap. # noqa: E501 - :type: int - """ - - self._is5_g_hz_l = is5_g_hz_l - - @property - def is2dot4_g_hz(self): - """Gets the is2dot4_g_hz of this LongPerRadioTypeMap. # noqa: E501 - - - :return: The is2dot4_g_hz of this LongPerRadioTypeMap. # noqa: E501 - :rtype: int - """ - return self._is2dot4_g_hz - - @is2dot4_g_hz.setter - def is2dot4_g_hz(self, is2dot4_g_hz): - """Sets the is2dot4_g_hz of this LongPerRadioTypeMap. - - - :param is2dot4_g_hz: The is2dot4_g_hz of this LongPerRadioTypeMap. # noqa: E501 - :type: int - """ - - self._is2dot4_g_hz = is2dot4_g_hz - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(LongPerRadioTypeMap, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, LongPerRadioTypeMap): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/long_value_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/long_value_map.py deleted file mode 100644 index 8045e3a28..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/long_value_map.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class LongValueMap(dict): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - if hasattr(dict, "swagger_types"): - swagger_types.update(dict.swagger_types) - - attribute_map = { - } - if hasattr(dict, "attribute_map"): - attribute_map.update(dict.attribute_map) - - def __init__(self, *args, **kwargs): # noqa: E501 - """LongValueMap - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - dict.__init__(self, *args, **kwargs) - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(LongValueMap, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, LongValueMap): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/mac_address.py b/libs/cloudapi/cloudsdk/swagger_client/models/mac_address.py deleted file mode 100644 index b3e9b401e..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/mac_address.py +++ /dev/null @@ -1,142 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class MacAddress(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'address_as_string': 'str' - } - - attribute_map = { - 'model_type': 'model_type', - 'address_as_string': 'addressAsString' - } - - def __init__(self, model_type=None, address_as_string=None): # noqa: E501 - """MacAddress - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._address_as_string = None - self.discriminator = None - if model_type is not None: - self.model_type = model_type - if address_as_string is not None: - self.address_as_string = address_as_string - - @property - def model_type(self): - """Gets the model_type of this MacAddress. # noqa: E501 - - - :return: The model_type of this MacAddress. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this MacAddress. - - - :param model_type: The model_type of this MacAddress. # noqa: E501 - :type: str - """ - allowed_values = ["MacAddress"] # noqa: E501 - if model_type not in allowed_values: - raise ValueError( - "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 - .format(model_type, allowed_values) - ) - - self._model_type = model_type - - @property - def address_as_string(self): - """Gets the address_as_string of this MacAddress. # noqa: E501 - - - :return: The address_as_string of this MacAddress. # noqa: E501 - :rtype: str - """ - return self._address_as_string - - @address_as_string.setter - def address_as_string(self, address_as_string): - """Sets the address_as_string of this MacAddress. - - - :param address_as_string: The address_as_string of this MacAddress. # noqa: E501 - :type: str - """ - - self._address_as_string = address_as_string - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(MacAddress, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, MacAddress): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/mac_allowlist_record.py b/libs/cloudapi/cloudsdk/swagger_client/models/mac_allowlist_record.py deleted file mode 100644 index a3a5a230f..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/mac_allowlist_record.py +++ /dev/null @@ -1,162 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class MacAllowlistRecord(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'mac_address': 'MacAddress', - 'notes': 'str', - 'last_modified_timestamp': 'int' - } - - attribute_map = { - 'mac_address': 'macAddress', - 'notes': 'notes', - 'last_modified_timestamp': 'lastModifiedTimestamp' - } - - def __init__(self, mac_address=None, notes=None, last_modified_timestamp=None): # noqa: E501 - """MacAllowlistRecord - a model defined in Swagger""" # noqa: E501 - self._mac_address = None - self._notes = None - self._last_modified_timestamp = None - self.discriminator = None - if mac_address is not None: - self.mac_address = mac_address - if notes is not None: - self.notes = notes - if last_modified_timestamp is not None: - self.last_modified_timestamp = last_modified_timestamp - - @property - def mac_address(self): - """Gets the mac_address of this MacAllowlistRecord. # noqa: E501 - - - :return: The mac_address of this MacAllowlistRecord. # noqa: E501 - :rtype: MacAddress - """ - return self._mac_address - - @mac_address.setter - def mac_address(self, mac_address): - """Sets the mac_address of this MacAllowlistRecord. - - - :param mac_address: The mac_address of this MacAllowlistRecord. # noqa: E501 - :type: MacAddress - """ - - self._mac_address = mac_address - - @property - def notes(self): - """Gets the notes of this MacAllowlistRecord. # noqa: E501 - - - :return: The notes of this MacAllowlistRecord. # noqa: E501 - :rtype: str - """ - return self._notes - - @notes.setter - def notes(self, notes): - """Sets the notes of this MacAllowlistRecord. - - - :param notes: The notes of this MacAllowlistRecord. # noqa: E501 - :type: str - """ - - self._notes = notes - - @property - def last_modified_timestamp(self): - """Gets the last_modified_timestamp of this MacAllowlistRecord. # noqa: E501 - - - :return: The last_modified_timestamp of this MacAllowlistRecord. # noqa: E501 - :rtype: int - """ - return self._last_modified_timestamp - - @last_modified_timestamp.setter - def last_modified_timestamp(self, last_modified_timestamp): - """Sets the last_modified_timestamp of this MacAllowlistRecord. - - - :param last_modified_timestamp: The last_modified_timestamp of this MacAllowlistRecord. # noqa: E501 - :type: int - """ - - self._last_modified_timestamp = last_modified_timestamp - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(MacAllowlistRecord, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, MacAllowlistRecord): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/managed_file_info.py b/libs/cloudapi/cloudsdk/swagger_client/models/managed_file_info.py deleted file mode 100644 index 207c1480a..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/managed_file_info.py +++ /dev/null @@ -1,240 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ManagedFileInfo(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'md5checksum': 'list[int]', - 'last_modified_timestamp': 'int', - 'ap_export_url': 'str', - 'file_category': 'FileCategory', - 'file_type': 'FileType', - 'alt_slot': 'bool' - } - - attribute_map = { - 'md5checksum': 'md5checksum', - 'last_modified_timestamp': 'lastModifiedTimestamp', - 'ap_export_url': 'apExportUrl', - 'file_category': 'fileCategory', - 'file_type': 'fileType', - 'alt_slot': 'altSlot' - } - - def __init__(self, md5checksum=None, last_modified_timestamp=None, ap_export_url=None, file_category=None, file_type=None, alt_slot=None): # noqa: E501 - """ManagedFileInfo - a model defined in Swagger""" # noqa: E501 - self._md5checksum = None - self._last_modified_timestamp = None - self._ap_export_url = None - self._file_category = None - self._file_type = None - self._alt_slot = None - self.discriminator = None - if md5checksum is not None: - self.md5checksum = md5checksum - if last_modified_timestamp is not None: - self.last_modified_timestamp = last_modified_timestamp - if ap_export_url is not None: - self.ap_export_url = ap_export_url - if file_category is not None: - self.file_category = file_category - if file_type is not None: - self.file_type = file_type - if alt_slot is not None: - self.alt_slot = alt_slot - - @property - def md5checksum(self): - """Gets the md5checksum of this ManagedFileInfo. # noqa: E501 - - - :return: The md5checksum of this ManagedFileInfo. # noqa: E501 - :rtype: list[int] - """ - return self._md5checksum - - @md5checksum.setter - def md5checksum(self, md5checksum): - """Sets the md5checksum of this ManagedFileInfo. - - - :param md5checksum: The md5checksum of this ManagedFileInfo. # noqa: E501 - :type: list[int] - """ - - self._md5checksum = md5checksum - - @property - def last_modified_timestamp(self): - """Gets the last_modified_timestamp of this ManagedFileInfo. # noqa: E501 - - - :return: The last_modified_timestamp of this ManagedFileInfo. # noqa: E501 - :rtype: int - """ - return self._last_modified_timestamp - - @last_modified_timestamp.setter - def last_modified_timestamp(self, last_modified_timestamp): - """Sets the last_modified_timestamp of this ManagedFileInfo. - - - :param last_modified_timestamp: The last_modified_timestamp of this ManagedFileInfo. # noqa: E501 - :type: int - """ - - self._last_modified_timestamp = last_modified_timestamp - - @property - def ap_export_url(self): - """Gets the ap_export_url of this ManagedFileInfo. # noqa: E501 - - - :return: The ap_export_url of this ManagedFileInfo. # noqa: E501 - :rtype: str - """ - return self._ap_export_url - - @ap_export_url.setter - def ap_export_url(self, ap_export_url): - """Sets the ap_export_url of this ManagedFileInfo. - - - :param ap_export_url: The ap_export_url of this ManagedFileInfo. # noqa: E501 - :type: str - """ - - self._ap_export_url = ap_export_url - - @property - def file_category(self): - """Gets the file_category of this ManagedFileInfo. # noqa: E501 - - - :return: The file_category of this ManagedFileInfo. # noqa: E501 - :rtype: FileCategory - """ - return self._file_category - - @file_category.setter - def file_category(self, file_category): - """Sets the file_category of this ManagedFileInfo. - - - :param file_category: The file_category of this ManagedFileInfo. # noqa: E501 - :type: FileCategory - """ - - self._file_category = file_category - - @property - def file_type(self): - """Gets the file_type of this ManagedFileInfo. # noqa: E501 - - - :return: The file_type of this ManagedFileInfo. # noqa: E501 - :rtype: FileType - """ - return self._file_type - - @file_type.setter - def file_type(self, file_type): - """Sets the file_type of this ManagedFileInfo. - - - :param file_type: The file_type of this ManagedFileInfo. # noqa: E501 - :type: FileType - """ - - self._file_type = file_type - - @property - def alt_slot(self): - """Gets the alt_slot of this ManagedFileInfo. # noqa: E501 - - - :return: The alt_slot of this ManagedFileInfo. # noqa: E501 - :rtype: bool - """ - return self._alt_slot - - @alt_slot.setter - def alt_slot(self, alt_slot): - """Sets the alt_slot of this ManagedFileInfo. - - - :param alt_slot: The alt_slot of this ManagedFileInfo. # noqa: E501 - :type: bool - """ - - self._alt_slot = alt_slot - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ManagedFileInfo, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ManagedFileInfo): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/management_rate.py b/libs/cloudapi/cloudsdk/swagger_client/models/management_rate.py deleted file mode 100644 index f3668a512..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/management_rate.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ManagementRate(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - AUTO = "auto" - RATE1MBPS = "rate1mbps" - RATE2MBPS = "rate2mbps" - RATE5DOT5MBPS = "rate5dot5mbps" - RATE6MBPS = "rate6mbps" - RATE9MBPS = "rate9mbps" - RATE11MBPS = "rate11mbps" - RATE12MBPS = "rate12mbps" - RATE18MBPS = "rate18mbps" - RATE24MBPS = "rate24mbps" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """ManagementRate - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ManagementRate, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ManagementRate): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/manufacturer_details_record.py b/libs/cloudapi/cloudsdk/swagger_client/models/manufacturer_details_record.py deleted file mode 100644 index 50e27d96a..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/manufacturer_details_record.py +++ /dev/null @@ -1,216 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ManufacturerDetailsRecord(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'int', - 'manufacturer_name': 'str', - 'manufacturer_alias': 'str', - 'created_timestamp': 'int', - 'last_modified_timestamp': 'int' - } - - attribute_map = { - 'id': 'id', - 'manufacturer_name': 'manufacturerName', - 'manufacturer_alias': 'manufacturerAlias', - 'created_timestamp': 'createdTimestamp', - 'last_modified_timestamp': 'lastModifiedTimestamp' - } - - def __init__(self, id=None, manufacturer_name=None, manufacturer_alias=None, created_timestamp=None, last_modified_timestamp=None): # noqa: E501 - """ManufacturerDetailsRecord - a model defined in Swagger""" # noqa: E501 - self._id = None - self._manufacturer_name = None - self._manufacturer_alias = None - self._created_timestamp = None - self._last_modified_timestamp = None - self.discriminator = None - if id is not None: - self.id = id - if manufacturer_name is not None: - self.manufacturer_name = manufacturer_name - if manufacturer_alias is not None: - self.manufacturer_alias = manufacturer_alias - if created_timestamp is not None: - self.created_timestamp = created_timestamp - if last_modified_timestamp is not None: - self.last_modified_timestamp = last_modified_timestamp - - @property - def id(self): - """Gets the id of this ManufacturerDetailsRecord. # noqa: E501 - - - :return: The id of this ManufacturerDetailsRecord. # noqa: E501 - :rtype: int - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this ManufacturerDetailsRecord. - - - :param id: The id of this ManufacturerDetailsRecord. # noqa: E501 - :type: int - """ - - self._id = id - - @property - def manufacturer_name(self): - """Gets the manufacturer_name of this ManufacturerDetailsRecord. # noqa: E501 - - - :return: The manufacturer_name of this ManufacturerDetailsRecord. # noqa: E501 - :rtype: str - """ - return self._manufacturer_name - - @manufacturer_name.setter - def manufacturer_name(self, manufacturer_name): - """Sets the manufacturer_name of this ManufacturerDetailsRecord. - - - :param manufacturer_name: The manufacturer_name of this ManufacturerDetailsRecord. # noqa: E501 - :type: str - """ - - self._manufacturer_name = manufacturer_name - - @property - def manufacturer_alias(self): - """Gets the manufacturer_alias of this ManufacturerDetailsRecord. # noqa: E501 - - - :return: The manufacturer_alias of this ManufacturerDetailsRecord. # noqa: E501 - :rtype: str - """ - return self._manufacturer_alias - - @manufacturer_alias.setter - def manufacturer_alias(self, manufacturer_alias): - """Sets the manufacturer_alias of this ManufacturerDetailsRecord. - - - :param manufacturer_alias: The manufacturer_alias of this ManufacturerDetailsRecord. # noqa: E501 - :type: str - """ - - self._manufacturer_alias = manufacturer_alias - - @property - def created_timestamp(self): - """Gets the created_timestamp of this ManufacturerDetailsRecord. # noqa: E501 - - - :return: The created_timestamp of this ManufacturerDetailsRecord. # noqa: E501 - :rtype: int - """ - return self._created_timestamp - - @created_timestamp.setter - def created_timestamp(self, created_timestamp): - """Sets the created_timestamp of this ManufacturerDetailsRecord. - - - :param created_timestamp: The created_timestamp of this ManufacturerDetailsRecord. # noqa: E501 - :type: int - """ - - self._created_timestamp = created_timestamp - - @property - def last_modified_timestamp(self): - """Gets the last_modified_timestamp of this ManufacturerDetailsRecord. # noqa: E501 - - must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database # noqa: E501 - - :return: The last_modified_timestamp of this ManufacturerDetailsRecord. # noqa: E501 - :rtype: int - """ - return self._last_modified_timestamp - - @last_modified_timestamp.setter - def last_modified_timestamp(self, last_modified_timestamp): - """Sets the last_modified_timestamp of this ManufacturerDetailsRecord. - - must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database # noqa: E501 - - :param last_modified_timestamp: The last_modified_timestamp of this ManufacturerDetailsRecord. # noqa: E501 - :type: int - """ - - self._last_modified_timestamp = last_modified_timestamp - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ManufacturerDetailsRecord, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ManufacturerDetailsRecord): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/manufacturer_oui_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/manufacturer_oui_details.py deleted file mode 100644 index 9b3be110a..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/manufacturer_oui_details.py +++ /dev/null @@ -1,164 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ManufacturerOuiDetails(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'oui': 'str', - 'manufacturer_name': 'str', - 'manufacturer_alias': 'str' - } - - attribute_map = { - 'oui': 'oui', - 'manufacturer_name': 'manufacturerName', - 'manufacturer_alias': 'manufacturerAlias' - } - - def __init__(self, oui=None, manufacturer_name=None, manufacturer_alias=None): # noqa: E501 - """ManufacturerOuiDetails - a model defined in Swagger""" # noqa: E501 - self._oui = None - self._manufacturer_name = None - self._manufacturer_alias = None - self.discriminator = None - if oui is not None: - self.oui = oui - if manufacturer_name is not None: - self.manufacturer_name = manufacturer_name - if manufacturer_alias is not None: - self.manufacturer_alias = manufacturer_alias - - @property - def oui(self): - """Gets the oui of this ManufacturerOuiDetails. # noqa: E501 - - first 3 bytes of MAC address, expressed as a string like '1a2b3c' # noqa: E501 - - :return: The oui of this ManufacturerOuiDetails. # noqa: E501 - :rtype: str - """ - return self._oui - - @oui.setter - def oui(self, oui): - """Sets the oui of this ManufacturerOuiDetails. - - first 3 bytes of MAC address, expressed as a string like '1a2b3c' # noqa: E501 - - :param oui: The oui of this ManufacturerOuiDetails. # noqa: E501 - :type: str - """ - - self._oui = oui - - @property - def manufacturer_name(self): - """Gets the manufacturer_name of this ManufacturerOuiDetails. # noqa: E501 - - - :return: The manufacturer_name of this ManufacturerOuiDetails. # noqa: E501 - :rtype: str - """ - return self._manufacturer_name - - @manufacturer_name.setter - def manufacturer_name(self, manufacturer_name): - """Sets the manufacturer_name of this ManufacturerOuiDetails. - - - :param manufacturer_name: The manufacturer_name of this ManufacturerOuiDetails. # noqa: E501 - :type: str - """ - - self._manufacturer_name = manufacturer_name - - @property - def manufacturer_alias(self): - """Gets the manufacturer_alias of this ManufacturerOuiDetails. # noqa: E501 - - - :return: The manufacturer_alias of this ManufacturerOuiDetails. # noqa: E501 - :rtype: str - """ - return self._manufacturer_alias - - @manufacturer_alias.setter - def manufacturer_alias(self, manufacturer_alias): - """Sets the manufacturer_alias of this ManufacturerOuiDetails. - - - :param manufacturer_alias: The manufacturer_alias of this ManufacturerOuiDetails. # noqa: E501 - :type: str - """ - - self._manufacturer_alias = manufacturer_alias - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ManufacturerOuiDetails, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ManufacturerOuiDetails): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/manufacturer_oui_details_per_oui_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/manufacturer_oui_details_per_oui_map.py deleted file mode 100644 index e3b935bd9..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/manufacturer_oui_details_per_oui_map.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ManufacturerOuiDetailsPerOuiMap(dict): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - if hasattr(dict, "swagger_types"): - swagger_types.update(dict.swagger_types) - - attribute_map = { - } - if hasattr(dict, "attribute_map"): - attribute_map.update(dict.attribute_map) - - def __init__(self, *args, **kwargs): # noqa: E501 - """ManufacturerOuiDetailsPerOuiMap - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - dict.__init__(self, *args, **kwargs) - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ManufacturerOuiDetailsPerOuiMap, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ManufacturerOuiDetailsPerOuiMap): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/map_of_wmm_queue_stats_per_radio_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/map_of_wmm_queue_stats_per_radio_map.py deleted file mode 100644 index 1c0704c4d..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/map_of_wmm_queue_stats_per_radio_map.py +++ /dev/null @@ -1,188 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class MapOfWmmQueueStatsPerRadioMap(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'is5_g_hz': 'WmmQueueStatsPerQueueTypeMap', - 'is5_g_hz_u': 'WmmQueueStatsPerQueueTypeMap', - 'is5_g_hz_l': 'WmmQueueStatsPerQueueTypeMap', - 'is2dot4_g_hz': 'WmmQueueStatsPerQueueTypeMap' - } - - attribute_map = { - 'is5_g_hz': 'is5GHz', - 'is5_g_hz_u': 'is5GHzU', - 'is5_g_hz_l': 'is5GHzL', - 'is2dot4_g_hz': 'is2dot4GHz' - } - - def __init__(self, is5_g_hz=None, is5_g_hz_u=None, is5_g_hz_l=None, is2dot4_g_hz=None): # noqa: E501 - """MapOfWmmQueueStatsPerRadioMap - a model defined in Swagger""" # noqa: E501 - self._is5_g_hz = None - self._is5_g_hz_u = None - self._is5_g_hz_l = None - self._is2dot4_g_hz = None - self.discriminator = None - if is5_g_hz is not None: - self.is5_g_hz = is5_g_hz - if is5_g_hz_u is not None: - self.is5_g_hz_u = is5_g_hz_u - if is5_g_hz_l is not None: - self.is5_g_hz_l = is5_g_hz_l - if is2dot4_g_hz is not None: - self.is2dot4_g_hz = is2dot4_g_hz - - @property - def is5_g_hz(self): - """Gets the is5_g_hz of this MapOfWmmQueueStatsPerRadioMap. # noqa: E501 - - - :return: The is5_g_hz of this MapOfWmmQueueStatsPerRadioMap. # noqa: E501 - :rtype: WmmQueueStatsPerQueueTypeMap - """ - return self._is5_g_hz - - @is5_g_hz.setter - def is5_g_hz(self, is5_g_hz): - """Sets the is5_g_hz of this MapOfWmmQueueStatsPerRadioMap. - - - :param is5_g_hz: The is5_g_hz of this MapOfWmmQueueStatsPerRadioMap. # noqa: E501 - :type: WmmQueueStatsPerQueueTypeMap - """ - - self._is5_g_hz = is5_g_hz - - @property - def is5_g_hz_u(self): - """Gets the is5_g_hz_u of this MapOfWmmQueueStatsPerRadioMap. # noqa: E501 - - - :return: The is5_g_hz_u of this MapOfWmmQueueStatsPerRadioMap. # noqa: E501 - :rtype: WmmQueueStatsPerQueueTypeMap - """ - return self._is5_g_hz_u - - @is5_g_hz_u.setter - def is5_g_hz_u(self, is5_g_hz_u): - """Sets the is5_g_hz_u of this MapOfWmmQueueStatsPerRadioMap. - - - :param is5_g_hz_u: The is5_g_hz_u of this MapOfWmmQueueStatsPerRadioMap. # noqa: E501 - :type: WmmQueueStatsPerQueueTypeMap - """ - - self._is5_g_hz_u = is5_g_hz_u - - @property - def is5_g_hz_l(self): - """Gets the is5_g_hz_l of this MapOfWmmQueueStatsPerRadioMap. # noqa: E501 - - - :return: The is5_g_hz_l of this MapOfWmmQueueStatsPerRadioMap. # noqa: E501 - :rtype: WmmQueueStatsPerQueueTypeMap - """ - return self._is5_g_hz_l - - @is5_g_hz_l.setter - def is5_g_hz_l(self, is5_g_hz_l): - """Sets the is5_g_hz_l of this MapOfWmmQueueStatsPerRadioMap. - - - :param is5_g_hz_l: The is5_g_hz_l of this MapOfWmmQueueStatsPerRadioMap. # noqa: E501 - :type: WmmQueueStatsPerQueueTypeMap - """ - - self._is5_g_hz_l = is5_g_hz_l - - @property - def is2dot4_g_hz(self): - """Gets the is2dot4_g_hz of this MapOfWmmQueueStatsPerRadioMap. # noqa: E501 - - - :return: The is2dot4_g_hz of this MapOfWmmQueueStatsPerRadioMap. # noqa: E501 - :rtype: WmmQueueStatsPerQueueTypeMap - """ - return self._is2dot4_g_hz - - @is2dot4_g_hz.setter - def is2dot4_g_hz(self, is2dot4_g_hz): - """Sets the is2dot4_g_hz of this MapOfWmmQueueStatsPerRadioMap. - - - :param is2dot4_g_hz: The is2dot4_g_hz of this MapOfWmmQueueStatsPerRadioMap. # noqa: E501 - :type: WmmQueueStatsPerQueueTypeMap - """ - - self._is2dot4_g_hz = is2dot4_g_hz - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(MapOfWmmQueueStatsPerRadioMap, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, MapOfWmmQueueStatsPerRadioMap): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/mcs_stats.py b/libs/cloudapi/cloudsdk/swagger_client/models/mcs_stats.py deleted file mode 100644 index 99c59985d..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/mcs_stats.py +++ /dev/null @@ -1,192 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class McsStats(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'mcs_num': 'McsType', - 'tx_frames': 'int', - 'rx_frames': 'int', - 'rate': 'int' - } - - attribute_map = { - 'mcs_num': 'mcsNum', - 'tx_frames': 'txFrames', - 'rx_frames': 'rxFrames', - 'rate': 'rate' - } - - def __init__(self, mcs_num=None, tx_frames=None, rx_frames=None, rate=None): # noqa: E501 - """McsStats - a model defined in Swagger""" # noqa: E501 - self._mcs_num = None - self._tx_frames = None - self._rx_frames = None - self._rate = None - self.discriminator = None - if mcs_num is not None: - self.mcs_num = mcs_num - if tx_frames is not None: - self.tx_frames = tx_frames - if rx_frames is not None: - self.rx_frames = rx_frames - if rate is not None: - self.rate = rate - - @property - def mcs_num(self): - """Gets the mcs_num of this McsStats. # noqa: E501 - - - :return: The mcs_num of this McsStats. # noqa: E501 - :rtype: McsType - """ - return self._mcs_num - - @mcs_num.setter - def mcs_num(self, mcs_num): - """Sets the mcs_num of this McsStats. - - - :param mcs_num: The mcs_num of this McsStats. # noqa: E501 - :type: McsType - """ - - self._mcs_num = mcs_num - - @property - def tx_frames(self): - """Gets the tx_frames of this McsStats. # noqa: E501 - - The number of successfully transmitted frames at this rate. Do not count failed transmission. # noqa: E501 - - :return: The tx_frames of this McsStats. # noqa: E501 - :rtype: int - """ - return self._tx_frames - - @tx_frames.setter - def tx_frames(self, tx_frames): - """Sets the tx_frames of this McsStats. - - The number of successfully transmitted frames at this rate. Do not count failed transmission. # noqa: E501 - - :param tx_frames: The tx_frames of this McsStats. # noqa: E501 - :type: int - """ - - self._tx_frames = tx_frames - - @property - def rx_frames(self): - """Gets the rx_frames of this McsStats. # noqa: E501 - - The number of received frames at this rate. # noqa: E501 - - :return: The rx_frames of this McsStats. # noqa: E501 - :rtype: int - """ - return self._rx_frames - - @rx_frames.setter - def rx_frames(self, rx_frames): - """Sets the rx_frames of this McsStats. - - The number of received frames at this rate. # noqa: E501 - - :param rx_frames: The rx_frames of this McsStats. # noqa: E501 - :type: int - """ - - self._rx_frames = rx_frames - - @property - def rate(self): - """Gets the rate of this McsStats. # noqa: E501 - - - :return: The rate of this McsStats. # noqa: E501 - :rtype: int - """ - return self._rate - - @rate.setter - def rate(self, rate): - """Sets the rate of this McsStats. - - - :param rate: The rate of this McsStats. # noqa: E501 - :type: int - """ - - self._rate = rate - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(McsStats, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, McsStats): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/mcs_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/mcs_type.py deleted file mode 100644 index 00af7cadc..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/mcs_type.py +++ /dev/null @@ -1,172 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class McsType(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - _1_2_4GHZ_ONLY = "MCS_1# 2.4GHz only" - _2_2_4GHZ_ONLY = "MCS_2# 2.4GHz only" - _5DOT5_2_4GHZ_ONLY = "MCS_5dot5# 2.4GHz only" - _11_2_4GHZ_ONLY = "MCS_11# 2.4GHz only" - _6 = "MCS_6" - _9 = "MCS_9" - _12 = "MCS_12" - _18 = "MCS_18" - _24 = "MCS_24" - _36 = "MCS_36" - _48 = "MCS_48" - _54 = "MCS_54" - N_0 = "MCS_N_0" - N_1 = "MCS_N_1" - N_2 = "MCS_N_2" - N_3 = "MCS_N_3" - N_4 = "MCS_N_4" - N_5 = "MCS_N_5" - N_6 = "MCS_N_6" - N_7 = "MCS_N_7" - N_8 = "MCS_N_8" - N_9 = "MCS_N_9" - N_10 = "MCS_N_10" - N_11 = "MCS_N_11" - N_12 = "MCS_N_12" - N_13 = "MCS_N_13" - N_14 = "MCS_N_14" - N_15 = "MCS_N_15" - AC_1X1_0 = "MCS_AC_1x1_0" - AC_1X1_1 = "MCS_AC_1x1_1" - AC_1X1_2 = "MCS_AC_1x1_2" - AC_1X1_3 = "MCS_AC_1x1_3" - AC_1X1_4 = "MCS_AC_1x1_4" - AC_1X1_5 = "MCS_AC_1x1_5" - AC_1X1_6 = "MCS_AC_1x1_6" - AC_1X1_7 = "MCS_AC_1x1_7" - AC_1X1_8 = "MCS_AC_1x1_8" - AC_1X1_9 = "MCS_AC_1x1_9" - AC_2X2_0 = "MCS_AC_2x2_0" - AC_2X2_1 = "MCS_AC_2x2_1" - AC_2X2_2 = "MCS_AC_2x2_2" - AC_2X2_3 = "MCS_AC_2x2_3" - AC_2X2_4 = "MCS_AC_2x2_4" - AC_2X2_5 = "MCS_AC_2x2_5" - AC_2X2_6 = "MCS_AC_2x2_6" - AC_2X2_7 = "MCS_AC_2x2_7" - AC_2X2_8 = "MCS_AC_2x2_8" - AC_2X2_9 = "MCS_AC_2x2_9" - AC_3X3_0 = "MCS_AC_3x3_0" - AC_3X3_1 = "MCS_AC_3x3_1" - AC_3X3_2 = "MCS_AC_3x3_2" - AC_3X3_3 = "MCS_AC_3x3_3" - AC_3X3_4 = "MCS_AC_3x3_4" - AC_3X3_5 = "MCS_AC_3x3_5" - AC_3X3_6 = "MCS_AC_3x3_6" - AC_3X3_7 = "MCS_AC_3x3_7" - AC_3X3_8 = "MCS_AC_3x3_8" - AC_3X3_9 = "MCS_AC_3x3_9" - N_16 = "MCS_N_16" - N_17 = "MCS_N_17" - N_18 = "MCS_N_18" - N_19 = "MCS_N_19" - N_20 = "MCS_N_20" - N_21 = "MCS_N_21" - N_22 = "MCS_N_22" - N_23 = "MCS_N_23" - N_24 = "MCS_N_24" - N_25 = "MCS_N_25" - N_26 = "MCS_N_26" - N_27 = "MCS_N_27" - N_28 = "MCS_N_28" - N_29 = "MCS_N_29" - N_30 = "MCS_N_30" - N_31 = "MCS_N_31" - AC_4X4_0 = "MCS_AC_4x4_0" - AC_4X4_1 = "MCS_AC_4x4_1" - AC_4X4_2 = "MCS_AC_4x4_2" - AC_4X4_3 = "MCS_AC_4x4_3" - AC_4X4_4 = "MCS_AC_4x4_4" - AC_4X4_5 = "MCS_AC_4x4_5" - AC_4X4_6 = "MCS_AC_4x4_6" - AC_4X4_7 = "MCS_AC_4x4_7" - AC_4X4_8 = "MCS_AC_4x4_8" - AC_4X4_9 = "MCS_AC_4x4_9" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """McsType - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(McsType, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, McsType): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/mesh_group.py b/libs/cloudapi/cloudsdk/swagger_client/models/mesh_group.py deleted file mode 100644 index f231f57ad..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/mesh_group.py +++ /dev/null @@ -1,174 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six -from swagger_client.models.profile_details import ProfileDetails # noqa: F401,E501 - -class MeshGroup(ProfileDetails): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - '_property': 'MeshGroupProperty', - 'members': 'list[MeshGroupMember]' - } - if hasattr(ProfileDetails, "swagger_types"): - swagger_types.update(ProfileDetails.swagger_types) - - attribute_map = { - 'model_type': 'model_type', - '_property': 'property', - 'members': 'members' - } - if hasattr(ProfileDetails, "attribute_map"): - attribute_map.update(ProfileDetails.attribute_map) - - def __init__(self, model_type=None, _property=None, members=None, *args, **kwargs): # noqa: E501 - """MeshGroup - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self.__property = None - self._members = None - self.discriminator = None - if model_type is not None: - self.model_type = model_type - if _property is not None: - self._property = _property - if members is not None: - self.members = members - ProfileDetails.__init__(self, *args, **kwargs) - - @property - def model_type(self): - """Gets the model_type of this MeshGroup. # noqa: E501 - - - :return: The model_type of this MeshGroup. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this MeshGroup. - - - :param model_type: The model_type of this MeshGroup. # noqa: E501 - :type: str - """ - allowed_values = ["MeshGroup"] # noqa: E501 - if model_type not in allowed_values: - raise ValueError( - "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 - .format(model_type, allowed_values) - ) - - self._model_type = model_type - - @property - def _property(self): - """Gets the _property of this MeshGroup. # noqa: E501 - - - :return: The _property of this MeshGroup. # noqa: E501 - :rtype: MeshGroupProperty - """ - return self.__property - - @_property.setter - def _property(self, _property): - """Sets the _property of this MeshGroup. - - - :param _property: The _property of this MeshGroup. # noqa: E501 - :type: MeshGroupProperty - """ - - self.__property = _property - - @property - def members(self): - """Gets the members of this MeshGroup. # noqa: E501 - - - :return: The members of this MeshGroup. # noqa: E501 - :rtype: list[MeshGroupMember] - """ - return self._members - - @members.setter - def members(self, members): - """Sets the members of this MeshGroup. - - - :param members: The members of this MeshGroup. # noqa: E501 - :type: list[MeshGroupMember] - """ - - self._members = members - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(MeshGroup, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, MeshGroup): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/mesh_group_member.py b/libs/cloudapi/cloudsdk/swagger_client/models/mesh_group_member.py deleted file mode 100644 index 526452805..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/mesh_group_member.py +++ /dev/null @@ -1,188 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class MeshGroupMember(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'mash_mode': 'ApMeshMode', - 'equipment_id': 'int', - 'created_timestamp': 'int', - 'last_modified_timestamp': 'int' - } - - attribute_map = { - 'mash_mode': 'mashMode', - 'equipment_id': 'equipmentId', - 'created_timestamp': 'createdTimestamp', - 'last_modified_timestamp': 'lastModifiedTimestamp' - } - - def __init__(self, mash_mode=None, equipment_id=None, created_timestamp=None, last_modified_timestamp=None): # noqa: E501 - """MeshGroupMember - a model defined in Swagger""" # noqa: E501 - self._mash_mode = None - self._equipment_id = None - self._created_timestamp = None - self._last_modified_timestamp = None - self.discriminator = None - if mash_mode is not None: - self.mash_mode = mash_mode - if equipment_id is not None: - self.equipment_id = equipment_id - if created_timestamp is not None: - self.created_timestamp = created_timestamp - if last_modified_timestamp is not None: - self.last_modified_timestamp = last_modified_timestamp - - @property - def mash_mode(self): - """Gets the mash_mode of this MeshGroupMember. # noqa: E501 - - - :return: The mash_mode of this MeshGroupMember. # noqa: E501 - :rtype: ApMeshMode - """ - return self._mash_mode - - @mash_mode.setter - def mash_mode(self, mash_mode): - """Sets the mash_mode of this MeshGroupMember. - - - :param mash_mode: The mash_mode of this MeshGroupMember. # noqa: E501 - :type: ApMeshMode - """ - - self._mash_mode = mash_mode - - @property - def equipment_id(self): - """Gets the equipment_id of this MeshGroupMember. # noqa: E501 - - - :return: The equipment_id of this MeshGroupMember. # noqa: E501 - :rtype: int - """ - return self._equipment_id - - @equipment_id.setter - def equipment_id(self, equipment_id): - """Sets the equipment_id of this MeshGroupMember. - - - :param equipment_id: The equipment_id of this MeshGroupMember. # noqa: E501 - :type: int - """ - - self._equipment_id = equipment_id - - @property - def created_timestamp(self): - """Gets the created_timestamp of this MeshGroupMember. # noqa: E501 - - - :return: The created_timestamp of this MeshGroupMember. # noqa: E501 - :rtype: int - """ - return self._created_timestamp - - @created_timestamp.setter - def created_timestamp(self, created_timestamp): - """Sets the created_timestamp of this MeshGroupMember. - - - :param created_timestamp: The created_timestamp of this MeshGroupMember. # noqa: E501 - :type: int - """ - - self._created_timestamp = created_timestamp - - @property - def last_modified_timestamp(self): - """Gets the last_modified_timestamp of this MeshGroupMember. # noqa: E501 - - - :return: The last_modified_timestamp of this MeshGroupMember. # noqa: E501 - :rtype: int - """ - return self._last_modified_timestamp - - @last_modified_timestamp.setter - def last_modified_timestamp(self, last_modified_timestamp): - """Sets the last_modified_timestamp of this MeshGroupMember. - - - :param last_modified_timestamp: The last_modified_timestamp of this MeshGroupMember. # noqa: E501 - :type: int - """ - - self._last_modified_timestamp = last_modified_timestamp - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(MeshGroupMember, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, MeshGroupMember): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/mesh_group_property.py b/libs/cloudapi/cloudsdk/swagger_client/models/mesh_group_property.py deleted file mode 100644 index 553cf17ea..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/mesh_group_property.py +++ /dev/null @@ -1,162 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class MeshGroupProperty(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'name': 'str', - 'location_id': 'int', - 'ethernet_protection': 'bool' - } - - attribute_map = { - 'name': 'name', - 'location_id': 'locationId', - 'ethernet_protection': 'ethernetProtection' - } - - def __init__(self, name=None, location_id=None, ethernet_protection=None): # noqa: E501 - """MeshGroupProperty - a model defined in Swagger""" # noqa: E501 - self._name = None - self._location_id = None - self._ethernet_protection = None - self.discriminator = None - if name is not None: - self.name = name - if location_id is not None: - self.location_id = location_id - if ethernet_protection is not None: - self.ethernet_protection = ethernet_protection - - @property - def name(self): - """Gets the name of this MeshGroupProperty. # noqa: E501 - - - :return: The name of this MeshGroupProperty. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this MeshGroupProperty. - - - :param name: The name of this MeshGroupProperty. # noqa: E501 - :type: str - """ - - self._name = name - - @property - def location_id(self): - """Gets the location_id of this MeshGroupProperty. # noqa: E501 - - - :return: The location_id of this MeshGroupProperty. # noqa: E501 - :rtype: int - """ - return self._location_id - - @location_id.setter - def location_id(self, location_id): - """Sets the location_id of this MeshGroupProperty. - - - :param location_id: The location_id of this MeshGroupProperty. # noqa: E501 - :type: int - """ - - self._location_id = location_id - - @property - def ethernet_protection(self): - """Gets the ethernet_protection of this MeshGroupProperty. # noqa: E501 - - - :return: The ethernet_protection of this MeshGroupProperty. # noqa: E501 - :rtype: bool - """ - return self._ethernet_protection - - @ethernet_protection.setter - def ethernet_protection(self, ethernet_protection): - """Sets the ethernet_protection of this MeshGroupProperty. - - - :param ethernet_protection: The ethernet_protection of this MeshGroupProperty. # noqa: E501 - :type: bool - """ - - self._ethernet_protection = ethernet_protection - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(MeshGroupProperty, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, MeshGroupProperty): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/metric_config_parameter_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/metric_config_parameter_map.py deleted file mode 100644 index fc3bb61e7..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/metric_config_parameter_map.py +++ /dev/null @@ -1,266 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class MetricConfigParameterMap(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'ap_node': 'ServiceMetricSurveyConfigParameters', - 'ap_ssid': 'ServiceMetricRadioConfigParameters', - 'client': 'ServiceMetricRadioConfigParameters', - 'channel': 'ServiceMetricSurveyConfigParameters', - 'neighbour': 'ServiceMetricSurveyConfigParameters', - 'qo_e': 'ServiceMetricConfigParameters', - 'client_qo_e': 'ServiceMetricConfigParameters' - } - - attribute_map = { - 'ap_node': 'ApNode', - 'ap_ssid': 'ApSsid', - 'client': 'Client', - 'channel': 'Channel', - 'neighbour': 'Neighbour', - 'qo_e': 'QoE', - 'client_qo_e': 'ClientQoE' - } - - def __init__(self, ap_node=None, ap_ssid=None, client=None, channel=None, neighbour=None, qo_e=None, client_qo_e=None): # noqa: E501 - """MetricConfigParameterMap - a model defined in Swagger""" # noqa: E501 - self._ap_node = None - self._ap_ssid = None - self._client = None - self._channel = None - self._neighbour = None - self._qo_e = None - self._client_qo_e = None - self.discriminator = None - if ap_node is not None: - self.ap_node = ap_node - if ap_ssid is not None: - self.ap_ssid = ap_ssid - if client is not None: - self.client = client - if channel is not None: - self.channel = channel - if neighbour is not None: - self.neighbour = neighbour - if qo_e is not None: - self.qo_e = qo_e - if client_qo_e is not None: - self.client_qo_e = client_qo_e - - @property - def ap_node(self): - """Gets the ap_node of this MetricConfigParameterMap. # noqa: E501 - - - :return: The ap_node of this MetricConfigParameterMap. # noqa: E501 - :rtype: ServiceMetricSurveyConfigParameters - """ - return self._ap_node - - @ap_node.setter - def ap_node(self, ap_node): - """Sets the ap_node of this MetricConfigParameterMap. - - - :param ap_node: The ap_node of this MetricConfigParameterMap. # noqa: E501 - :type: ServiceMetricSurveyConfigParameters - """ - - self._ap_node = ap_node - - @property - def ap_ssid(self): - """Gets the ap_ssid of this MetricConfigParameterMap. # noqa: E501 - - - :return: The ap_ssid of this MetricConfigParameterMap. # noqa: E501 - :rtype: ServiceMetricRadioConfigParameters - """ - return self._ap_ssid - - @ap_ssid.setter - def ap_ssid(self, ap_ssid): - """Sets the ap_ssid of this MetricConfigParameterMap. - - - :param ap_ssid: The ap_ssid of this MetricConfigParameterMap. # noqa: E501 - :type: ServiceMetricRadioConfigParameters - """ - - self._ap_ssid = ap_ssid - - @property - def client(self): - """Gets the client of this MetricConfigParameterMap. # noqa: E501 - - - :return: The client of this MetricConfigParameterMap. # noqa: E501 - :rtype: ServiceMetricRadioConfigParameters - """ - return self._client - - @client.setter - def client(self, client): - """Sets the client of this MetricConfigParameterMap. - - - :param client: The client of this MetricConfigParameterMap. # noqa: E501 - :type: ServiceMetricRadioConfigParameters - """ - - self._client = client - - @property - def channel(self): - """Gets the channel of this MetricConfigParameterMap. # noqa: E501 - - - :return: The channel of this MetricConfigParameterMap. # noqa: E501 - :rtype: ServiceMetricSurveyConfigParameters - """ - return self._channel - - @channel.setter - def channel(self, channel): - """Sets the channel of this MetricConfigParameterMap. - - - :param channel: The channel of this MetricConfigParameterMap. # noqa: E501 - :type: ServiceMetricSurveyConfigParameters - """ - - self._channel = channel - - @property - def neighbour(self): - """Gets the neighbour of this MetricConfigParameterMap. # noqa: E501 - - - :return: The neighbour of this MetricConfigParameterMap. # noqa: E501 - :rtype: ServiceMetricSurveyConfigParameters - """ - return self._neighbour - - @neighbour.setter - def neighbour(self, neighbour): - """Sets the neighbour of this MetricConfigParameterMap. - - - :param neighbour: The neighbour of this MetricConfigParameterMap. # noqa: E501 - :type: ServiceMetricSurveyConfigParameters - """ - - self._neighbour = neighbour - - @property - def qo_e(self): - """Gets the qo_e of this MetricConfigParameterMap. # noqa: E501 - - - :return: The qo_e of this MetricConfigParameterMap. # noqa: E501 - :rtype: ServiceMetricConfigParameters - """ - return self._qo_e - - @qo_e.setter - def qo_e(self, qo_e): - """Sets the qo_e of this MetricConfigParameterMap. - - - :param qo_e: The qo_e of this MetricConfigParameterMap. # noqa: E501 - :type: ServiceMetricConfigParameters - """ - - self._qo_e = qo_e - - @property - def client_qo_e(self): - """Gets the client_qo_e of this MetricConfigParameterMap. # noqa: E501 - - - :return: The client_qo_e of this MetricConfigParameterMap. # noqa: E501 - :rtype: ServiceMetricConfigParameters - """ - return self._client_qo_e - - @client_qo_e.setter - def client_qo_e(self, client_qo_e): - """Sets the client_qo_e of this MetricConfigParameterMap. - - - :param client_qo_e: The client_qo_e of this MetricConfigParameterMap. # noqa: E501 - :type: ServiceMetricConfigParameters - """ - - self._client_qo_e = client_qo_e - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(MetricConfigParameterMap, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, MetricConfigParameterMap): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/mimo_mode.py b/libs/cloudapi/cloudsdk/swagger_client/models/mimo_mode.py deleted file mode 100644 index 619d0369b..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/mimo_mode.py +++ /dev/null @@ -1,93 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class MimoMode(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - NONE = "none" - ONEBYONE = "oneByOne" - TWOBYTWO = "twoByTwo" - THREEBYTHREE = "threeByThree" - FOURBYFOUR = "fourByFour" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """MimoMode - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(MimoMode, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, MimoMode): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/min_max_avg_value_int.py b/libs/cloudapi/cloudsdk/swagger_client/models/min_max_avg_value_int.py deleted file mode 100644 index 7e08ec9a6..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/min_max_avg_value_int.py +++ /dev/null @@ -1,162 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class MinMaxAvgValueInt(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'min_value': 'int', - 'max_value': 'int', - 'avg_value': 'int' - } - - attribute_map = { - 'min_value': 'minValue', - 'max_value': 'maxValue', - 'avg_value': 'avgValue' - } - - def __init__(self, min_value=None, max_value=None, avg_value=None): # noqa: E501 - """MinMaxAvgValueInt - a model defined in Swagger""" # noqa: E501 - self._min_value = None - self._max_value = None - self._avg_value = None - self.discriminator = None - if min_value is not None: - self.min_value = min_value - if max_value is not None: - self.max_value = max_value - if avg_value is not None: - self.avg_value = avg_value - - @property - def min_value(self): - """Gets the min_value of this MinMaxAvgValueInt. # noqa: E501 - - - :return: The min_value of this MinMaxAvgValueInt. # noqa: E501 - :rtype: int - """ - return self._min_value - - @min_value.setter - def min_value(self, min_value): - """Sets the min_value of this MinMaxAvgValueInt. - - - :param min_value: The min_value of this MinMaxAvgValueInt. # noqa: E501 - :type: int - """ - - self._min_value = min_value - - @property - def max_value(self): - """Gets the max_value of this MinMaxAvgValueInt. # noqa: E501 - - - :return: The max_value of this MinMaxAvgValueInt. # noqa: E501 - :rtype: int - """ - return self._max_value - - @max_value.setter - def max_value(self, max_value): - """Sets the max_value of this MinMaxAvgValueInt. - - - :param max_value: The max_value of this MinMaxAvgValueInt. # noqa: E501 - :type: int - """ - - self._max_value = max_value - - @property - def avg_value(self): - """Gets the avg_value of this MinMaxAvgValueInt. # noqa: E501 - - - :return: The avg_value of this MinMaxAvgValueInt. # noqa: E501 - :rtype: int - """ - return self._avg_value - - @avg_value.setter - def avg_value(self, avg_value): - """Sets the avg_value of this MinMaxAvgValueInt. - - - :param avg_value: The avg_value of this MinMaxAvgValueInt. # noqa: E501 - :type: int - """ - - self._avg_value = avg_value - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(MinMaxAvgValueInt, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, MinMaxAvgValueInt): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/min_max_avg_value_int_per_radio_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/min_max_avg_value_int_per_radio_map.py deleted file mode 100644 index 3e04b9664..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/min_max_avg_value_int_per_radio_map.py +++ /dev/null @@ -1,188 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class MinMaxAvgValueIntPerRadioMap(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'is5_g_hz': 'MinMaxAvgValueInt', - 'is5_g_hz_u': 'MinMaxAvgValueInt', - 'is5_g_hz_l': 'MinMaxAvgValueInt', - 'is2dot4_g_hz': 'MinMaxAvgValueInt' - } - - attribute_map = { - 'is5_g_hz': 'is5GHz', - 'is5_g_hz_u': 'is5GHzU', - 'is5_g_hz_l': 'is5GHzL', - 'is2dot4_g_hz': 'is2dot4GHz' - } - - def __init__(self, is5_g_hz=None, is5_g_hz_u=None, is5_g_hz_l=None, is2dot4_g_hz=None): # noqa: E501 - """MinMaxAvgValueIntPerRadioMap - a model defined in Swagger""" # noqa: E501 - self._is5_g_hz = None - self._is5_g_hz_u = None - self._is5_g_hz_l = None - self._is2dot4_g_hz = None - self.discriminator = None - if is5_g_hz is not None: - self.is5_g_hz = is5_g_hz - if is5_g_hz_u is not None: - self.is5_g_hz_u = is5_g_hz_u - if is5_g_hz_l is not None: - self.is5_g_hz_l = is5_g_hz_l - if is2dot4_g_hz is not None: - self.is2dot4_g_hz = is2dot4_g_hz - - @property - def is5_g_hz(self): - """Gets the is5_g_hz of this MinMaxAvgValueIntPerRadioMap. # noqa: E501 - - - :return: The is5_g_hz of this MinMaxAvgValueIntPerRadioMap. # noqa: E501 - :rtype: MinMaxAvgValueInt - """ - return self._is5_g_hz - - @is5_g_hz.setter - def is5_g_hz(self, is5_g_hz): - """Sets the is5_g_hz of this MinMaxAvgValueIntPerRadioMap. - - - :param is5_g_hz: The is5_g_hz of this MinMaxAvgValueIntPerRadioMap. # noqa: E501 - :type: MinMaxAvgValueInt - """ - - self._is5_g_hz = is5_g_hz - - @property - def is5_g_hz_u(self): - """Gets the is5_g_hz_u of this MinMaxAvgValueIntPerRadioMap. # noqa: E501 - - - :return: The is5_g_hz_u of this MinMaxAvgValueIntPerRadioMap. # noqa: E501 - :rtype: MinMaxAvgValueInt - """ - return self._is5_g_hz_u - - @is5_g_hz_u.setter - def is5_g_hz_u(self, is5_g_hz_u): - """Sets the is5_g_hz_u of this MinMaxAvgValueIntPerRadioMap. - - - :param is5_g_hz_u: The is5_g_hz_u of this MinMaxAvgValueIntPerRadioMap. # noqa: E501 - :type: MinMaxAvgValueInt - """ - - self._is5_g_hz_u = is5_g_hz_u - - @property - def is5_g_hz_l(self): - """Gets the is5_g_hz_l of this MinMaxAvgValueIntPerRadioMap. # noqa: E501 - - - :return: The is5_g_hz_l of this MinMaxAvgValueIntPerRadioMap. # noqa: E501 - :rtype: MinMaxAvgValueInt - """ - return self._is5_g_hz_l - - @is5_g_hz_l.setter - def is5_g_hz_l(self, is5_g_hz_l): - """Sets the is5_g_hz_l of this MinMaxAvgValueIntPerRadioMap. - - - :param is5_g_hz_l: The is5_g_hz_l of this MinMaxAvgValueIntPerRadioMap. # noqa: E501 - :type: MinMaxAvgValueInt - """ - - self._is5_g_hz_l = is5_g_hz_l - - @property - def is2dot4_g_hz(self): - """Gets the is2dot4_g_hz of this MinMaxAvgValueIntPerRadioMap. # noqa: E501 - - - :return: The is2dot4_g_hz of this MinMaxAvgValueIntPerRadioMap. # noqa: E501 - :rtype: MinMaxAvgValueInt - """ - return self._is2dot4_g_hz - - @is2dot4_g_hz.setter - def is2dot4_g_hz(self, is2dot4_g_hz): - """Sets the is2dot4_g_hz of this MinMaxAvgValueIntPerRadioMap. - - - :param is2dot4_g_hz: The is2dot4_g_hz of this MinMaxAvgValueIntPerRadioMap. # noqa: E501 - :type: MinMaxAvgValueInt - """ - - self._is2dot4_g_hz = is2dot4_g_hz - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(MinMaxAvgValueIntPerRadioMap, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, MinMaxAvgValueIntPerRadioMap): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/multicast_rate.py b/libs/cloudapi/cloudsdk/swagger_client/models/multicast_rate.py deleted file mode 100644 index 5e6928203..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/multicast_rate.py +++ /dev/null @@ -1,97 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class MulticastRate(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - AUTO = "auto" - RATE6MBPS = "rate6mbps" - RATE9MBPS = "rate9mbps" - RATE12MBPS = "rate12mbps" - RATE18MBPS = "rate18mbps" - RATE24MBPS = "rate24mbps" - RATE36MBPS = "rate36mbps" - RATE48MBPS = "rate48mbps" - RATE54MBPS = "rate54mbps" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """MulticastRate - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(MulticastRate, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, MulticastRate): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/neighbor_scan_packet_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/neighbor_scan_packet_type.py deleted file mode 100644 index 9e69a68ae..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/neighbor_scan_packet_type.py +++ /dev/null @@ -1,101 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class NeighborScanPacketType(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - ASSOC_REQ = "ASSOC_REQ" - ASSOC_RESP = "ASSOC_RESP" - REASSOC_REQ = "REASSOC_REQ" - REASSOC_RESP = "REASSOC_RESP" - PROBE_REQ = "PROBE_REQ" - PROBE_RESP = "PROBE_RESP" - BEACON = "BEACON" - DISASSOC = "DISASSOC" - AUTH = "AUTH" - DEAUTH = "DEAUTH" - ACTION = "ACTION" - ACTION_NOACK = "ACTION_NOACK" - DATA_OTHER = "DATA -OTHER" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """NeighborScanPacketType - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(NeighborScanPacketType, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, NeighborScanPacketType): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/neighbour_report.py b/libs/cloudapi/cloudsdk/swagger_client/models/neighbour_report.py deleted file mode 100644 index 83949c408..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/neighbour_report.py +++ /dev/null @@ -1,500 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class NeighbourReport(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'mac_address': 'MacAddress', - 'ssid': 'str', - 'beacon_interval': 'int', - 'network_type': 'NetworkType', - 'privacy': 'bool', - 'radio_type_radio_type': 'RadioType', - 'channel': 'int', - 'rate': 'int', - 'rssi': 'int', - 'signal': 'int', - 'scan_time_in_seconds': 'int', - 'n_mode': 'bool', - 'ac_mode': 'bool', - 'b_mode': 'bool', - 'packet_type': 'NeighborScanPacketType', - 'secure_mode': 'DetectedAuthMode' - } - - attribute_map = { - 'mac_address': 'macAddress', - 'ssid': 'ssid', - 'beacon_interval': 'beaconInterval', - 'network_type': 'networkType', - 'privacy': 'privacy', - 'radio_type_radio_type': 'RadioType radioType', - 'channel': 'channel', - 'rate': 'rate', - 'rssi': 'rssi', - 'signal': 'signal', - 'scan_time_in_seconds': 'scanTimeInSeconds', - 'n_mode': 'nMode', - 'ac_mode': 'acMode', - 'b_mode': 'bMode', - 'packet_type': 'packetType', - 'secure_mode': 'secureMode' - } - - def __init__(self, mac_address=None, ssid=None, beacon_interval=None, network_type=None, privacy=None, radio_type_radio_type=None, channel=None, rate=None, rssi=None, signal=None, scan_time_in_seconds=None, n_mode=None, ac_mode=None, b_mode=None, packet_type=None, secure_mode=None): # noqa: E501 - """NeighbourReport - a model defined in Swagger""" # noqa: E501 - self._mac_address = None - self._ssid = None - self._beacon_interval = None - self._network_type = None - self._privacy = None - self._radio_type_radio_type = None - self._channel = None - self._rate = None - self._rssi = None - self._signal = None - self._scan_time_in_seconds = None - self._n_mode = None - self._ac_mode = None - self._b_mode = None - self._packet_type = None - self._secure_mode = None - self.discriminator = None - if mac_address is not None: - self.mac_address = mac_address - if ssid is not None: - self.ssid = ssid - if beacon_interval is not None: - self.beacon_interval = beacon_interval - if network_type is not None: - self.network_type = network_type - if privacy is not None: - self.privacy = privacy - if radio_type_radio_type is not None: - self.radio_type_radio_type = radio_type_radio_type - if channel is not None: - self.channel = channel - if rate is not None: - self.rate = rate - if rssi is not None: - self.rssi = rssi - if signal is not None: - self.signal = signal - if scan_time_in_seconds is not None: - self.scan_time_in_seconds = scan_time_in_seconds - if n_mode is not None: - self.n_mode = n_mode - if ac_mode is not None: - self.ac_mode = ac_mode - if b_mode is not None: - self.b_mode = b_mode - if packet_type is not None: - self.packet_type = packet_type - if secure_mode is not None: - self.secure_mode = secure_mode - - @property - def mac_address(self): - """Gets the mac_address of this NeighbourReport. # noqa: E501 - - - :return: The mac_address of this NeighbourReport. # noqa: E501 - :rtype: MacAddress - """ - return self._mac_address - - @mac_address.setter - def mac_address(self, mac_address): - """Sets the mac_address of this NeighbourReport. - - - :param mac_address: The mac_address of this NeighbourReport. # noqa: E501 - :type: MacAddress - """ - - self._mac_address = mac_address - - @property - def ssid(self): - """Gets the ssid of this NeighbourReport. # noqa: E501 - - - :return: The ssid of this NeighbourReport. # noqa: E501 - :rtype: str - """ - return self._ssid - - @ssid.setter - def ssid(self, ssid): - """Sets the ssid of this NeighbourReport. - - - :param ssid: The ssid of this NeighbourReport. # noqa: E501 - :type: str - """ - - self._ssid = ssid - - @property - def beacon_interval(self): - """Gets the beacon_interval of this NeighbourReport. # noqa: E501 - - - :return: The beacon_interval of this NeighbourReport. # noqa: E501 - :rtype: int - """ - return self._beacon_interval - - @beacon_interval.setter - def beacon_interval(self, beacon_interval): - """Sets the beacon_interval of this NeighbourReport. - - - :param beacon_interval: The beacon_interval of this NeighbourReport. # noqa: E501 - :type: int - """ - - self._beacon_interval = beacon_interval - - @property - def network_type(self): - """Gets the network_type of this NeighbourReport. # noqa: E501 - - - :return: The network_type of this NeighbourReport. # noqa: E501 - :rtype: NetworkType - """ - return self._network_type - - @network_type.setter - def network_type(self, network_type): - """Sets the network_type of this NeighbourReport. - - - :param network_type: The network_type of this NeighbourReport. # noqa: E501 - :type: NetworkType - """ - - self._network_type = network_type - - @property - def privacy(self): - """Gets the privacy of this NeighbourReport. # noqa: E501 - - - :return: The privacy of this NeighbourReport. # noqa: E501 - :rtype: bool - """ - return self._privacy - - @privacy.setter - def privacy(self, privacy): - """Sets the privacy of this NeighbourReport. - - - :param privacy: The privacy of this NeighbourReport. # noqa: E501 - :type: bool - """ - - self._privacy = privacy - - @property - def radio_type_radio_type(self): - """Gets the radio_type_radio_type of this NeighbourReport. # noqa: E501 - - - :return: The radio_type_radio_type of this NeighbourReport. # noqa: E501 - :rtype: RadioType - """ - return self._radio_type_radio_type - - @radio_type_radio_type.setter - def radio_type_radio_type(self, radio_type_radio_type): - """Sets the radio_type_radio_type of this NeighbourReport. - - - :param radio_type_radio_type: The radio_type_radio_type of this NeighbourReport. # noqa: E501 - :type: RadioType - """ - - self._radio_type_radio_type = radio_type_radio_type - - @property - def channel(self): - """Gets the channel of this NeighbourReport. # noqa: E501 - - - :return: The channel of this NeighbourReport. # noqa: E501 - :rtype: int - """ - return self._channel - - @channel.setter - def channel(self, channel): - """Sets the channel of this NeighbourReport. - - - :param channel: The channel of this NeighbourReport. # noqa: E501 - :type: int - """ - - self._channel = channel - - @property - def rate(self): - """Gets the rate of this NeighbourReport. # noqa: E501 - - - :return: The rate of this NeighbourReport. # noqa: E501 - :rtype: int - """ - return self._rate - - @rate.setter - def rate(self, rate): - """Sets the rate of this NeighbourReport. - - - :param rate: The rate of this NeighbourReport. # noqa: E501 - :type: int - """ - - self._rate = rate - - @property - def rssi(self): - """Gets the rssi of this NeighbourReport. # noqa: E501 - - - :return: The rssi of this NeighbourReport. # noqa: E501 - :rtype: int - """ - return self._rssi - - @rssi.setter - def rssi(self, rssi): - """Sets the rssi of this NeighbourReport. - - - :param rssi: The rssi of this NeighbourReport. # noqa: E501 - :type: int - """ - - self._rssi = rssi - - @property - def signal(self): - """Gets the signal of this NeighbourReport. # noqa: E501 - - - :return: The signal of this NeighbourReport. # noqa: E501 - :rtype: int - """ - return self._signal - - @signal.setter - def signal(self, signal): - """Sets the signal of this NeighbourReport. - - - :param signal: The signal of this NeighbourReport. # noqa: E501 - :type: int - """ - - self._signal = signal - - @property - def scan_time_in_seconds(self): - """Gets the scan_time_in_seconds of this NeighbourReport. # noqa: E501 - - - :return: The scan_time_in_seconds of this NeighbourReport. # noqa: E501 - :rtype: int - """ - return self._scan_time_in_seconds - - @scan_time_in_seconds.setter - def scan_time_in_seconds(self, scan_time_in_seconds): - """Sets the scan_time_in_seconds of this NeighbourReport. - - - :param scan_time_in_seconds: The scan_time_in_seconds of this NeighbourReport. # noqa: E501 - :type: int - """ - - self._scan_time_in_seconds = scan_time_in_seconds - - @property - def n_mode(self): - """Gets the n_mode of this NeighbourReport. # noqa: E501 - - - :return: The n_mode of this NeighbourReport. # noqa: E501 - :rtype: bool - """ - return self._n_mode - - @n_mode.setter - def n_mode(self, n_mode): - """Sets the n_mode of this NeighbourReport. - - - :param n_mode: The n_mode of this NeighbourReport. # noqa: E501 - :type: bool - """ - - self._n_mode = n_mode - - @property - def ac_mode(self): - """Gets the ac_mode of this NeighbourReport. # noqa: E501 - - - :return: The ac_mode of this NeighbourReport. # noqa: E501 - :rtype: bool - """ - return self._ac_mode - - @ac_mode.setter - def ac_mode(self, ac_mode): - """Sets the ac_mode of this NeighbourReport. - - - :param ac_mode: The ac_mode of this NeighbourReport. # noqa: E501 - :type: bool - """ - - self._ac_mode = ac_mode - - @property - def b_mode(self): - """Gets the b_mode of this NeighbourReport. # noqa: E501 - - - :return: The b_mode of this NeighbourReport. # noqa: E501 - :rtype: bool - """ - return self._b_mode - - @b_mode.setter - def b_mode(self, b_mode): - """Sets the b_mode of this NeighbourReport. - - - :param b_mode: The b_mode of this NeighbourReport. # noqa: E501 - :type: bool - """ - - self._b_mode = b_mode - - @property - def packet_type(self): - """Gets the packet_type of this NeighbourReport. # noqa: E501 - - - :return: The packet_type of this NeighbourReport. # noqa: E501 - :rtype: NeighborScanPacketType - """ - return self._packet_type - - @packet_type.setter - def packet_type(self, packet_type): - """Sets the packet_type of this NeighbourReport. - - - :param packet_type: The packet_type of this NeighbourReport. # noqa: E501 - :type: NeighborScanPacketType - """ - - self._packet_type = packet_type - - @property - def secure_mode(self): - """Gets the secure_mode of this NeighbourReport. # noqa: E501 - - - :return: The secure_mode of this NeighbourReport. # noqa: E501 - :rtype: DetectedAuthMode - """ - return self._secure_mode - - @secure_mode.setter - def secure_mode(self, secure_mode): - """Sets the secure_mode of this NeighbourReport. - - - :param secure_mode: The secure_mode of this NeighbourReport. # noqa: E501 - :type: DetectedAuthMode - """ - - self._secure_mode = secure_mode - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(NeighbourReport, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, NeighbourReport): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/neighbour_scan_reports.py b/libs/cloudapi/cloudsdk/swagger_client/models/neighbour_scan_reports.py deleted file mode 100644 index d5ced4a87..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/neighbour_scan_reports.py +++ /dev/null @@ -1,137 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class NeighbourScanReports(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'neighbour_reports': 'list[NeighbourReport]' - } - - attribute_map = { - 'model_type': 'model_type', - 'neighbour_reports': 'neighbourReports' - } - - def __init__(self, model_type=None, neighbour_reports=None): # noqa: E501 - """NeighbourScanReports - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._neighbour_reports = None - self.discriminator = None - self.model_type = model_type - if neighbour_reports is not None: - self.neighbour_reports = neighbour_reports - - @property - def model_type(self): - """Gets the model_type of this NeighbourScanReports. # noqa: E501 - - - :return: The model_type of this NeighbourScanReports. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this NeighbourScanReports. - - - :param model_type: The model_type of this NeighbourScanReports. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - - self._model_type = model_type - - @property - def neighbour_reports(self): - """Gets the neighbour_reports of this NeighbourScanReports. # noqa: E501 - - - :return: The neighbour_reports of this NeighbourScanReports. # noqa: E501 - :rtype: list[NeighbourReport] - """ - return self._neighbour_reports - - @neighbour_reports.setter - def neighbour_reports(self, neighbour_reports): - """Sets the neighbour_reports of this NeighbourScanReports. - - - :param neighbour_reports: The neighbour_reports of this NeighbourScanReports. # noqa: E501 - :type: list[NeighbourReport] - """ - - self._neighbour_reports = neighbour_reports - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(NeighbourScanReports, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, NeighbourScanReports): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/neighbouring_ap_list_configuration.py b/libs/cloudapi/cloudsdk/swagger_client/models/neighbouring_ap_list_configuration.py deleted file mode 100644 index 76dd7ca3f..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/neighbouring_ap_list_configuration.py +++ /dev/null @@ -1,136 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class NeighbouringAPListConfiguration(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'min_signal': 'int', - 'max_aps': 'int' - } - - attribute_map = { - 'min_signal': 'minSignal', - 'max_aps': 'maxAps' - } - - def __init__(self, min_signal=None, max_aps=None): # noqa: E501 - """NeighbouringAPListConfiguration - a model defined in Swagger""" # noqa: E501 - self._min_signal = None - self._max_aps = None - self.discriminator = None - if min_signal is not None: - self.min_signal = min_signal - if max_aps is not None: - self.max_aps = max_aps - - @property - def min_signal(self): - """Gets the min_signal of this NeighbouringAPListConfiguration. # noqa: E501 - - - :return: The min_signal of this NeighbouringAPListConfiguration. # noqa: E501 - :rtype: int - """ - return self._min_signal - - @min_signal.setter - def min_signal(self, min_signal): - """Sets the min_signal of this NeighbouringAPListConfiguration. - - - :param min_signal: The min_signal of this NeighbouringAPListConfiguration. # noqa: E501 - :type: int - """ - - self._min_signal = min_signal - - @property - def max_aps(self): - """Gets the max_aps of this NeighbouringAPListConfiguration. # noqa: E501 - - - :return: The max_aps of this NeighbouringAPListConfiguration. # noqa: E501 - :rtype: int - """ - return self._max_aps - - @max_aps.setter - def max_aps(self, max_aps): - """Sets the max_aps of this NeighbouringAPListConfiguration. - - - :param max_aps: The max_aps of this NeighbouringAPListConfiguration. # noqa: E501 - :type: int - """ - - self._max_aps = max_aps - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(NeighbouringAPListConfiguration, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, NeighbouringAPListConfiguration): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/network_admin_status_data.py b/libs/cloudapi/cloudsdk/swagger_client/models/network_admin_status_data.py deleted file mode 100644 index 19e3e7f7d..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/network_admin_status_data.py +++ /dev/null @@ -1,305 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class NetworkAdminStatusData(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'status_data_type': 'str', - 'dhcp_status': 'StatusCode', - 'dns_status': 'StatusCode', - 'cloud_link_status': 'StatusCode', - 'radius_status': 'StatusCode', - 'average_coverage_per_radio': 'IntegerPerRadioTypeMap', - 'equipment_counts_by_severity': 'IntegerStatusCodeMap' - } - - attribute_map = { - 'model_type': 'model_type', - 'status_data_type': 'statusDataType', - 'dhcp_status': 'dhcpStatus', - 'dns_status': 'dnsStatus', - 'cloud_link_status': 'cloudLinkStatus', - 'radius_status': 'radiusStatus', - 'average_coverage_per_radio': 'averageCoveragePerRadio', - 'equipment_counts_by_severity': 'equipmentCountsBySeverity' - } - - def __init__(self, model_type=None, status_data_type=None, dhcp_status=None, dns_status=None, cloud_link_status=None, radius_status=None, average_coverage_per_radio=None, equipment_counts_by_severity=None): # noqa: E501 - """NetworkAdminStatusData - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._status_data_type = None - self._dhcp_status = None - self._dns_status = None - self._cloud_link_status = None - self._radius_status = None - self._average_coverage_per_radio = None - self._equipment_counts_by_severity = None - self.discriminator = None - self.model_type = model_type - if status_data_type is not None: - self.status_data_type = status_data_type - if dhcp_status is not None: - self.dhcp_status = dhcp_status - if dns_status is not None: - self.dns_status = dns_status - if cloud_link_status is not None: - self.cloud_link_status = cloud_link_status - if radius_status is not None: - self.radius_status = radius_status - if average_coverage_per_radio is not None: - self.average_coverage_per_radio = average_coverage_per_radio - if equipment_counts_by_severity is not None: - self.equipment_counts_by_severity = equipment_counts_by_severity - - @property - def model_type(self): - """Gets the model_type of this NetworkAdminStatusData. # noqa: E501 - - - :return: The model_type of this NetworkAdminStatusData. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this NetworkAdminStatusData. - - - :param model_type: The model_type of this NetworkAdminStatusData. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - allowed_values = ["NetworkAdminStatusData"] # noqa: E501 - if model_type not in allowed_values: - raise ValueError( - "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 - .format(model_type, allowed_values) - ) - - self._model_type = model_type - - @property - def status_data_type(self): - """Gets the status_data_type of this NetworkAdminStatusData. # noqa: E501 - - - :return: The status_data_type of this NetworkAdminStatusData. # noqa: E501 - :rtype: str - """ - return self._status_data_type - - @status_data_type.setter - def status_data_type(self, status_data_type): - """Sets the status_data_type of this NetworkAdminStatusData. - - - :param status_data_type: The status_data_type of this NetworkAdminStatusData. # noqa: E501 - :type: str - """ - allowed_values = ["NETWORK_ADMIN"] # noqa: E501 - if status_data_type not in allowed_values: - raise ValueError( - "Invalid value for `status_data_type` ({0}), must be one of {1}" # noqa: E501 - .format(status_data_type, allowed_values) - ) - - self._status_data_type = status_data_type - - @property - def dhcp_status(self): - """Gets the dhcp_status of this NetworkAdminStatusData. # noqa: E501 - - - :return: The dhcp_status of this NetworkAdminStatusData. # noqa: E501 - :rtype: StatusCode - """ - return self._dhcp_status - - @dhcp_status.setter - def dhcp_status(self, dhcp_status): - """Sets the dhcp_status of this NetworkAdminStatusData. - - - :param dhcp_status: The dhcp_status of this NetworkAdminStatusData. # noqa: E501 - :type: StatusCode - """ - - self._dhcp_status = dhcp_status - - @property - def dns_status(self): - """Gets the dns_status of this NetworkAdminStatusData. # noqa: E501 - - - :return: The dns_status of this NetworkAdminStatusData. # noqa: E501 - :rtype: StatusCode - """ - return self._dns_status - - @dns_status.setter - def dns_status(self, dns_status): - """Sets the dns_status of this NetworkAdminStatusData. - - - :param dns_status: The dns_status of this NetworkAdminStatusData. # noqa: E501 - :type: StatusCode - """ - - self._dns_status = dns_status - - @property - def cloud_link_status(self): - """Gets the cloud_link_status of this NetworkAdminStatusData. # noqa: E501 - - - :return: The cloud_link_status of this NetworkAdminStatusData. # noqa: E501 - :rtype: StatusCode - """ - return self._cloud_link_status - - @cloud_link_status.setter - def cloud_link_status(self, cloud_link_status): - """Sets the cloud_link_status of this NetworkAdminStatusData. - - - :param cloud_link_status: The cloud_link_status of this NetworkAdminStatusData. # noqa: E501 - :type: StatusCode - """ - - self._cloud_link_status = cloud_link_status - - @property - def radius_status(self): - """Gets the radius_status of this NetworkAdminStatusData. # noqa: E501 - - - :return: The radius_status of this NetworkAdminStatusData. # noqa: E501 - :rtype: StatusCode - """ - return self._radius_status - - @radius_status.setter - def radius_status(self, radius_status): - """Sets the radius_status of this NetworkAdminStatusData. - - - :param radius_status: The radius_status of this NetworkAdminStatusData. # noqa: E501 - :type: StatusCode - """ - - self._radius_status = radius_status - - @property - def average_coverage_per_radio(self): - """Gets the average_coverage_per_radio of this NetworkAdminStatusData. # noqa: E501 - - - :return: The average_coverage_per_radio of this NetworkAdminStatusData. # noqa: E501 - :rtype: IntegerPerRadioTypeMap - """ - return self._average_coverage_per_radio - - @average_coverage_per_radio.setter - def average_coverage_per_radio(self, average_coverage_per_radio): - """Sets the average_coverage_per_radio of this NetworkAdminStatusData. - - - :param average_coverage_per_radio: The average_coverage_per_radio of this NetworkAdminStatusData. # noqa: E501 - :type: IntegerPerRadioTypeMap - """ - - self._average_coverage_per_radio = average_coverage_per_radio - - @property - def equipment_counts_by_severity(self): - """Gets the equipment_counts_by_severity of this NetworkAdminStatusData. # noqa: E501 - - - :return: The equipment_counts_by_severity of this NetworkAdminStatusData. # noqa: E501 - :rtype: IntegerStatusCodeMap - """ - return self._equipment_counts_by_severity - - @equipment_counts_by_severity.setter - def equipment_counts_by_severity(self, equipment_counts_by_severity): - """Sets the equipment_counts_by_severity of this NetworkAdminStatusData. - - - :param equipment_counts_by_severity: The equipment_counts_by_severity of this NetworkAdminStatusData. # noqa: E501 - :type: IntegerStatusCodeMap - """ - - self._equipment_counts_by_severity = equipment_counts_by_severity - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(NetworkAdminStatusData, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, NetworkAdminStatusData): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/network_aggregate_status_data.py b/libs/cloudapi/cloudsdk/swagger_client/models/network_aggregate_status_data.py deleted file mode 100644 index 0fb01e09e..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/network_aggregate_status_data.py +++ /dev/null @@ -1,721 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class NetworkAggregateStatusData(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'status_data_type': 'str', - 'dhcp_details': 'CommonProbeDetails', - 'dns_details': 'CommonProbeDetails', - 'cloud_link_details': 'CommonProbeDetails', - 'noise_floor_details': 'NoiseFloorDetails', - 'channel_utilization_details': 'ChannelUtilizationDetails', - 'radio_utilization_details': 'RadioUtilizationDetails', - 'user_details': 'UserDetails', - 'traffic_details': 'TrafficDetails', - 'radius_details': 'RadiusDetails', - 'equipment_performance_details': 'EquipmentPerformanceDetails', - 'capacity_details': 'CapacityDetails', - 'number_of_reporting_equipment': 'int', - 'number_of_total_equipment': 'int', - 'begin_generation_ts_ms': 'int', - 'end_generation_ts_ms': 'int', - 'begin_aggregation_ts_ms': 'int', - 'end_aggregation_ts_ms': 'int', - 'num_metrics_aggregated': 'int', - 'coverage': 'int', - 'behavior': 'int', - 'handoff': 'int', - 'wlan_latency': 'int' - } - - attribute_map = { - 'model_type': 'model_type', - 'status_data_type': 'statusDataType', - 'dhcp_details': 'dhcpDetails', - 'dns_details': 'dnsDetails', - 'cloud_link_details': 'cloudLinkDetails', - 'noise_floor_details': 'noiseFloorDetails', - 'channel_utilization_details': 'channelUtilizationDetails', - 'radio_utilization_details': 'radioUtilizationDetails', - 'user_details': 'userDetails', - 'traffic_details': 'trafficDetails', - 'radius_details': 'radiusDetails', - 'equipment_performance_details': 'equipmentPerformanceDetails', - 'capacity_details': 'capacityDetails', - 'number_of_reporting_equipment': 'numberOfReportingEquipment', - 'number_of_total_equipment': 'numberOfTotalEquipment', - 'begin_generation_ts_ms': 'beginGenerationTsMs', - 'end_generation_ts_ms': 'endGenerationTsMs', - 'begin_aggregation_ts_ms': 'beginAggregationTsMs', - 'end_aggregation_ts_ms': 'endAggregationTsMs', - 'num_metrics_aggregated': 'numMetricsAggregated', - 'coverage': 'coverage', - 'behavior': 'behavior', - 'handoff': 'handoff', - 'wlan_latency': 'wlanLatency' - } - - def __init__(self, model_type=None, status_data_type=None, dhcp_details=None, dns_details=None, cloud_link_details=None, noise_floor_details=None, channel_utilization_details=None, radio_utilization_details=None, user_details=None, traffic_details=None, radius_details=None, equipment_performance_details=None, capacity_details=None, number_of_reporting_equipment=None, number_of_total_equipment=None, begin_generation_ts_ms=None, end_generation_ts_ms=None, begin_aggregation_ts_ms=None, end_aggregation_ts_ms=None, num_metrics_aggregated=None, coverage=None, behavior=None, handoff=None, wlan_latency=None): # noqa: E501 - """NetworkAggregateStatusData - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._status_data_type = None - self._dhcp_details = None - self._dns_details = None - self._cloud_link_details = None - self._noise_floor_details = None - self._channel_utilization_details = None - self._radio_utilization_details = None - self._user_details = None - self._traffic_details = None - self._radius_details = None - self._equipment_performance_details = None - self._capacity_details = None - self._number_of_reporting_equipment = None - self._number_of_total_equipment = None - self._begin_generation_ts_ms = None - self._end_generation_ts_ms = None - self._begin_aggregation_ts_ms = None - self._end_aggregation_ts_ms = None - self._num_metrics_aggregated = None - self._coverage = None - self._behavior = None - self._handoff = None - self._wlan_latency = None - self.discriminator = None - self.model_type = model_type - if status_data_type is not None: - self.status_data_type = status_data_type - if dhcp_details is not None: - self.dhcp_details = dhcp_details - if dns_details is not None: - self.dns_details = dns_details - if cloud_link_details is not None: - self.cloud_link_details = cloud_link_details - if noise_floor_details is not None: - self.noise_floor_details = noise_floor_details - if channel_utilization_details is not None: - self.channel_utilization_details = channel_utilization_details - if radio_utilization_details is not None: - self.radio_utilization_details = radio_utilization_details - if user_details is not None: - self.user_details = user_details - if traffic_details is not None: - self.traffic_details = traffic_details - if radius_details is not None: - self.radius_details = radius_details - if equipment_performance_details is not None: - self.equipment_performance_details = equipment_performance_details - if capacity_details is not None: - self.capacity_details = capacity_details - if number_of_reporting_equipment is not None: - self.number_of_reporting_equipment = number_of_reporting_equipment - if number_of_total_equipment is not None: - self.number_of_total_equipment = number_of_total_equipment - if begin_generation_ts_ms is not None: - self.begin_generation_ts_ms = begin_generation_ts_ms - if end_generation_ts_ms is not None: - self.end_generation_ts_ms = end_generation_ts_ms - if begin_aggregation_ts_ms is not None: - self.begin_aggregation_ts_ms = begin_aggregation_ts_ms - if end_aggregation_ts_ms is not None: - self.end_aggregation_ts_ms = end_aggregation_ts_ms - if num_metrics_aggregated is not None: - self.num_metrics_aggregated = num_metrics_aggregated - if coverage is not None: - self.coverage = coverage - if behavior is not None: - self.behavior = behavior - if handoff is not None: - self.handoff = handoff - if wlan_latency is not None: - self.wlan_latency = wlan_latency - - @property - def model_type(self): - """Gets the model_type of this NetworkAggregateStatusData. # noqa: E501 - - - :return: The model_type of this NetworkAggregateStatusData. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this NetworkAggregateStatusData. - - - :param model_type: The model_type of this NetworkAggregateStatusData. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - allowed_values = ["NetworkAggregateStatusData"] # noqa: E501 - if model_type not in allowed_values: - raise ValueError( - "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 - .format(model_type, allowed_values) - ) - - self._model_type = model_type - - @property - def status_data_type(self): - """Gets the status_data_type of this NetworkAggregateStatusData. # noqa: E501 - - - :return: The status_data_type of this NetworkAggregateStatusData. # noqa: E501 - :rtype: str - """ - return self._status_data_type - - @status_data_type.setter - def status_data_type(self, status_data_type): - """Sets the status_data_type of this NetworkAggregateStatusData. - - - :param status_data_type: The status_data_type of this NetworkAggregateStatusData. # noqa: E501 - :type: str - """ - allowed_values = ["NETWORK_AGGREGATE"] # noqa: E501 - if status_data_type not in allowed_values: - raise ValueError( - "Invalid value for `status_data_type` ({0}), must be one of {1}" # noqa: E501 - .format(status_data_type, allowed_values) - ) - - self._status_data_type = status_data_type - - @property - def dhcp_details(self): - """Gets the dhcp_details of this NetworkAggregateStatusData. # noqa: E501 - - - :return: The dhcp_details of this NetworkAggregateStatusData. # noqa: E501 - :rtype: CommonProbeDetails - """ - return self._dhcp_details - - @dhcp_details.setter - def dhcp_details(self, dhcp_details): - """Sets the dhcp_details of this NetworkAggregateStatusData. - - - :param dhcp_details: The dhcp_details of this NetworkAggregateStatusData. # noqa: E501 - :type: CommonProbeDetails - """ - - self._dhcp_details = dhcp_details - - @property - def dns_details(self): - """Gets the dns_details of this NetworkAggregateStatusData. # noqa: E501 - - - :return: The dns_details of this NetworkAggregateStatusData. # noqa: E501 - :rtype: CommonProbeDetails - """ - return self._dns_details - - @dns_details.setter - def dns_details(self, dns_details): - """Sets the dns_details of this NetworkAggregateStatusData. - - - :param dns_details: The dns_details of this NetworkAggregateStatusData. # noqa: E501 - :type: CommonProbeDetails - """ - - self._dns_details = dns_details - - @property - def cloud_link_details(self): - """Gets the cloud_link_details of this NetworkAggregateStatusData. # noqa: E501 - - - :return: The cloud_link_details of this NetworkAggregateStatusData. # noqa: E501 - :rtype: CommonProbeDetails - """ - return self._cloud_link_details - - @cloud_link_details.setter - def cloud_link_details(self, cloud_link_details): - """Sets the cloud_link_details of this NetworkAggregateStatusData. - - - :param cloud_link_details: The cloud_link_details of this NetworkAggregateStatusData. # noqa: E501 - :type: CommonProbeDetails - """ - - self._cloud_link_details = cloud_link_details - - @property - def noise_floor_details(self): - """Gets the noise_floor_details of this NetworkAggregateStatusData. # noqa: E501 - - - :return: The noise_floor_details of this NetworkAggregateStatusData. # noqa: E501 - :rtype: NoiseFloorDetails - """ - return self._noise_floor_details - - @noise_floor_details.setter - def noise_floor_details(self, noise_floor_details): - """Sets the noise_floor_details of this NetworkAggregateStatusData. - - - :param noise_floor_details: The noise_floor_details of this NetworkAggregateStatusData. # noqa: E501 - :type: NoiseFloorDetails - """ - - self._noise_floor_details = noise_floor_details - - @property - def channel_utilization_details(self): - """Gets the channel_utilization_details of this NetworkAggregateStatusData. # noqa: E501 - - - :return: The channel_utilization_details of this NetworkAggregateStatusData. # noqa: E501 - :rtype: ChannelUtilizationDetails - """ - return self._channel_utilization_details - - @channel_utilization_details.setter - def channel_utilization_details(self, channel_utilization_details): - """Sets the channel_utilization_details of this NetworkAggregateStatusData. - - - :param channel_utilization_details: The channel_utilization_details of this NetworkAggregateStatusData. # noqa: E501 - :type: ChannelUtilizationDetails - """ - - self._channel_utilization_details = channel_utilization_details - - @property - def radio_utilization_details(self): - """Gets the radio_utilization_details of this NetworkAggregateStatusData. # noqa: E501 - - - :return: The radio_utilization_details of this NetworkAggregateStatusData. # noqa: E501 - :rtype: RadioUtilizationDetails - """ - return self._radio_utilization_details - - @radio_utilization_details.setter - def radio_utilization_details(self, radio_utilization_details): - """Sets the radio_utilization_details of this NetworkAggregateStatusData. - - - :param radio_utilization_details: The radio_utilization_details of this NetworkAggregateStatusData. # noqa: E501 - :type: RadioUtilizationDetails - """ - - self._radio_utilization_details = radio_utilization_details - - @property - def user_details(self): - """Gets the user_details of this NetworkAggregateStatusData. # noqa: E501 - - - :return: The user_details of this NetworkAggregateStatusData. # noqa: E501 - :rtype: UserDetails - """ - return self._user_details - - @user_details.setter - def user_details(self, user_details): - """Sets the user_details of this NetworkAggregateStatusData. - - - :param user_details: The user_details of this NetworkAggregateStatusData. # noqa: E501 - :type: UserDetails - """ - - self._user_details = user_details - - @property - def traffic_details(self): - """Gets the traffic_details of this NetworkAggregateStatusData. # noqa: E501 - - - :return: The traffic_details of this NetworkAggregateStatusData. # noqa: E501 - :rtype: TrafficDetails - """ - return self._traffic_details - - @traffic_details.setter - def traffic_details(self, traffic_details): - """Sets the traffic_details of this NetworkAggregateStatusData. - - - :param traffic_details: The traffic_details of this NetworkAggregateStatusData. # noqa: E501 - :type: TrafficDetails - """ - - self._traffic_details = traffic_details - - @property - def radius_details(self): - """Gets the radius_details of this NetworkAggregateStatusData. # noqa: E501 - - - :return: The radius_details of this NetworkAggregateStatusData. # noqa: E501 - :rtype: RadiusDetails - """ - return self._radius_details - - @radius_details.setter - def radius_details(self, radius_details): - """Sets the radius_details of this NetworkAggregateStatusData. - - - :param radius_details: The radius_details of this NetworkAggregateStatusData. # noqa: E501 - :type: RadiusDetails - """ - - self._radius_details = radius_details - - @property - def equipment_performance_details(self): - """Gets the equipment_performance_details of this NetworkAggregateStatusData. # noqa: E501 - - - :return: The equipment_performance_details of this NetworkAggregateStatusData. # noqa: E501 - :rtype: EquipmentPerformanceDetails - """ - return self._equipment_performance_details - - @equipment_performance_details.setter - def equipment_performance_details(self, equipment_performance_details): - """Sets the equipment_performance_details of this NetworkAggregateStatusData. - - - :param equipment_performance_details: The equipment_performance_details of this NetworkAggregateStatusData. # noqa: E501 - :type: EquipmentPerformanceDetails - """ - - self._equipment_performance_details = equipment_performance_details - - @property - def capacity_details(self): - """Gets the capacity_details of this NetworkAggregateStatusData. # noqa: E501 - - - :return: The capacity_details of this NetworkAggregateStatusData. # noqa: E501 - :rtype: CapacityDetails - """ - return self._capacity_details - - @capacity_details.setter - def capacity_details(self, capacity_details): - """Sets the capacity_details of this NetworkAggregateStatusData. - - - :param capacity_details: The capacity_details of this NetworkAggregateStatusData. # noqa: E501 - :type: CapacityDetails - """ - - self._capacity_details = capacity_details - - @property - def number_of_reporting_equipment(self): - """Gets the number_of_reporting_equipment of this NetworkAggregateStatusData. # noqa: E501 - - - :return: The number_of_reporting_equipment of this NetworkAggregateStatusData. # noqa: E501 - :rtype: int - """ - return self._number_of_reporting_equipment - - @number_of_reporting_equipment.setter - def number_of_reporting_equipment(self, number_of_reporting_equipment): - """Sets the number_of_reporting_equipment of this NetworkAggregateStatusData. - - - :param number_of_reporting_equipment: The number_of_reporting_equipment of this NetworkAggregateStatusData. # noqa: E501 - :type: int - """ - - self._number_of_reporting_equipment = number_of_reporting_equipment - - @property - def number_of_total_equipment(self): - """Gets the number_of_total_equipment of this NetworkAggregateStatusData. # noqa: E501 - - - :return: The number_of_total_equipment of this NetworkAggregateStatusData. # noqa: E501 - :rtype: int - """ - return self._number_of_total_equipment - - @number_of_total_equipment.setter - def number_of_total_equipment(self, number_of_total_equipment): - """Sets the number_of_total_equipment of this NetworkAggregateStatusData. - - - :param number_of_total_equipment: The number_of_total_equipment of this NetworkAggregateStatusData. # noqa: E501 - :type: int - """ - - self._number_of_total_equipment = number_of_total_equipment - - @property - def begin_generation_ts_ms(self): - """Gets the begin_generation_ts_ms of this NetworkAggregateStatusData. # noqa: E501 - - - :return: The begin_generation_ts_ms of this NetworkAggregateStatusData. # noqa: E501 - :rtype: int - """ - return self._begin_generation_ts_ms - - @begin_generation_ts_ms.setter - def begin_generation_ts_ms(self, begin_generation_ts_ms): - """Sets the begin_generation_ts_ms of this NetworkAggregateStatusData. - - - :param begin_generation_ts_ms: The begin_generation_ts_ms of this NetworkAggregateStatusData. # noqa: E501 - :type: int - """ - - self._begin_generation_ts_ms = begin_generation_ts_ms - - @property - def end_generation_ts_ms(self): - """Gets the end_generation_ts_ms of this NetworkAggregateStatusData. # noqa: E501 - - - :return: The end_generation_ts_ms of this NetworkAggregateStatusData. # noqa: E501 - :rtype: int - """ - return self._end_generation_ts_ms - - @end_generation_ts_ms.setter - def end_generation_ts_ms(self, end_generation_ts_ms): - """Sets the end_generation_ts_ms of this NetworkAggregateStatusData. - - - :param end_generation_ts_ms: The end_generation_ts_ms of this NetworkAggregateStatusData. # noqa: E501 - :type: int - """ - - self._end_generation_ts_ms = end_generation_ts_ms - - @property - def begin_aggregation_ts_ms(self): - """Gets the begin_aggregation_ts_ms of this NetworkAggregateStatusData. # noqa: E501 - - - :return: The begin_aggregation_ts_ms of this NetworkAggregateStatusData. # noqa: E501 - :rtype: int - """ - return self._begin_aggregation_ts_ms - - @begin_aggregation_ts_ms.setter - def begin_aggregation_ts_ms(self, begin_aggregation_ts_ms): - """Sets the begin_aggregation_ts_ms of this NetworkAggregateStatusData. - - - :param begin_aggregation_ts_ms: The begin_aggregation_ts_ms of this NetworkAggregateStatusData. # noqa: E501 - :type: int - """ - - self._begin_aggregation_ts_ms = begin_aggregation_ts_ms - - @property - def end_aggregation_ts_ms(self): - """Gets the end_aggregation_ts_ms of this NetworkAggregateStatusData. # noqa: E501 - - - :return: The end_aggregation_ts_ms of this NetworkAggregateStatusData. # noqa: E501 - :rtype: int - """ - return self._end_aggregation_ts_ms - - @end_aggregation_ts_ms.setter - def end_aggregation_ts_ms(self, end_aggregation_ts_ms): - """Sets the end_aggregation_ts_ms of this NetworkAggregateStatusData. - - - :param end_aggregation_ts_ms: The end_aggregation_ts_ms of this NetworkAggregateStatusData. # noqa: E501 - :type: int - """ - - self._end_aggregation_ts_ms = end_aggregation_ts_ms - - @property - def num_metrics_aggregated(self): - """Gets the num_metrics_aggregated of this NetworkAggregateStatusData. # noqa: E501 - - - :return: The num_metrics_aggregated of this NetworkAggregateStatusData. # noqa: E501 - :rtype: int - """ - return self._num_metrics_aggregated - - @num_metrics_aggregated.setter - def num_metrics_aggregated(self, num_metrics_aggregated): - """Sets the num_metrics_aggregated of this NetworkAggregateStatusData. - - - :param num_metrics_aggregated: The num_metrics_aggregated of this NetworkAggregateStatusData. # noqa: E501 - :type: int - """ - - self._num_metrics_aggregated = num_metrics_aggregated - - @property - def coverage(self): - """Gets the coverage of this NetworkAggregateStatusData. # noqa: E501 - - - :return: The coverage of this NetworkAggregateStatusData. # noqa: E501 - :rtype: int - """ - return self._coverage - - @coverage.setter - def coverage(self, coverage): - """Sets the coverage of this NetworkAggregateStatusData. - - - :param coverage: The coverage of this NetworkAggregateStatusData. # noqa: E501 - :type: int - """ - - self._coverage = coverage - - @property - def behavior(self): - """Gets the behavior of this NetworkAggregateStatusData. # noqa: E501 - - - :return: The behavior of this NetworkAggregateStatusData. # noqa: E501 - :rtype: int - """ - return self._behavior - - @behavior.setter - def behavior(self, behavior): - """Sets the behavior of this NetworkAggregateStatusData. - - - :param behavior: The behavior of this NetworkAggregateStatusData. # noqa: E501 - :type: int - """ - - self._behavior = behavior - - @property - def handoff(self): - """Gets the handoff of this NetworkAggregateStatusData. # noqa: E501 - - - :return: The handoff of this NetworkAggregateStatusData. # noqa: E501 - :rtype: int - """ - return self._handoff - - @handoff.setter - def handoff(self, handoff): - """Sets the handoff of this NetworkAggregateStatusData. - - - :param handoff: The handoff of this NetworkAggregateStatusData. # noqa: E501 - :type: int - """ - - self._handoff = handoff - - @property - def wlan_latency(self): - """Gets the wlan_latency of this NetworkAggregateStatusData. # noqa: E501 - - - :return: The wlan_latency of this NetworkAggregateStatusData. # noqa: E501 - :rtype: int - """ - return self._wlan_latency - - @wlan_latency.setter - def wlan_latency(self, wlan_latency): - """Sets the wlan_latency of this NetworkAggregateStatusData. - - - :param wlan_latency: The wlan_latency of this NetworkAggregateStatusData. # noqa: E501 - :type: int - """ - - self._wlan_latency = wlan_latency - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(NetworkAggregateStatusData, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, NetworkAggregateStatusData): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/network_forward_mode.py b/libs/cloudapi/cloudsdk/swagger_client/models/network_forward_mode.py deleted file mode 100644 index c83ea8d09..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/network_forward_mode.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class NetworkForwardMode(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - BRIDGE = "BRIDGE" - NAT = "NAT" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """NetworkForwardMode - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(NetworkForwardMode, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, NetworkForwardMode): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/network_probe_metrics.py b/libs/cloudapi/cloudsdk/swagger_client/models/network_probe_metrics.py deleted file mode 100644 index def102546..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/network_probe_metrics.py +++ /dev/null @@ -1,292 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class NetworkProbeMetrics(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'vlan_if': 'str', - 'dhcp_state': 'StateUpDownError', - 'dhcp_latency_ms': 'int', - 'dns_state': 'StateUpDownError', - 'dns_latency_ms': 'int', - 'radius_state': 'StateUpDownError', - 'radius_latency_ms': 'int', - 'dns_probe_results': 'list[DnsProbeMetric]' - } - - attribute_map = { - 'vlan_if': 'vlanIF', - 'dhcp_state': 'dhcpState', - 'dhcp_latency_ms': 'dhcpLatencyMs', - 'dns_state': 'dnsState', - 'dns_latency_ms': 'dnsLatencyMs', - 'radius_state': 'radiusState', - 'radius_latency_ms': 'radiusLatencyMs', - 'dns_probe_results': 'dnsProbeResults' - } - - def __init__(self, vlan_if=None, dhcp_state=None, dhcp_latency_ms=None, dns_state=None, dns_latency_ms=None, radius_state=None, radius_latency_ms=None, dns_probe_results=None): # noqa: E501 - """NetworkProbeMetrics - a model defined in Swagger""" # noqa: E501 - self._vlan_if = None - self._dhcp_state = None - self._dhcp_latency_ms = None - self._dns_state = None - self._dns_latency_ms = None - self._radius_state = None - self._radius_latency_ms = None - self._dns_probe_results = None - self.discriminator = None - if vlan_if is not None: - self.vlan_if = vlan_if - if dhcp_state is not None: - self.dhcp_state = dhcp_state - if dhcp_latency_ms is not None: - self.dhcp_latency_ms = dhcp_latency_ms - if dns_state is not None: - self.dns_state = dns_state - if dns_latency_ms is not None: - self.dns_latency_ms = dns_latency_ms - if radius_state is not None: - self.radius_state = radius_state - if radius_latency_ms is not None: - self.radius_latency_ms = radius_latency_ms - if dns_probe_results is not None: - self.dns_probe_results = dns_probe_results - - @property - def vlan_if(self): - """Gets the vlan_if of this NetworkProbeMetrics. # noqa: E501 - - - :return: The vlan_if of this NetworkProbeMetrics. # noqa: E501 - :rtype: str - """ - return self._vlan_if - - @vlan_if.setter - def vlan_if(self, vlan_if): - """Sets the vlan_if of this NetworkProbeMetrics. - - - :param vlan_if: The vlan_if of this NetworkProbeMetrics. # noqa: E501 - :type: str - """ - - self._vlan_if = vlan_if - - @property - def dhcp_state(self): - """Gets the dhcp_state of this NetworkProbeMetrics. # noqa: E501 - - - :return: The dhcp_state of this NetworkProbeMetrics. # noqa: E501 - :rtype: StateUpDownError - """ - return self._dhcp_state - - @dhcp_state.setter - def dhcp_state(self, dhcp_state): - """Sets the dhcp_state of this NetworkProbeMetrics. - - - :param dhcp_state: The dhcp_state of this NetworkProbeMetrics. # noqa: E501 - :type: StateUpDownError - """ - - self._dhcp_state = dhcp_state - - @property - def dhcp_latency_ms(self): - """Gets the dhcp_latency_ms of this NetworkProbeMetrics. # noqa: E501 - - - :return: The dhcp_latency_ms of this NetworkProbeMetrics. # noqa: E501 - :rtype: int - """ - return self._dhcp_latency_ms - - @dhcp_latency_ms.setter - def dhcp_latency_ms(self, dhcp_latency_ms): - """Sets the dhcp_latency_ms of this NetworkProbeMetrics. - - - :param dhcp_latency_ms: The dhcp_latency_ms of this NetworkProbeMetrics. # noqa: E501 - :type: int - """ - - self._dhcp_latency_ms = dhcp_latency_ms - - @property - def dns_state(self): - """Gets the dns_state of this NetworkProbeMetrics. # noqa: E501 - - - :return: The dns_state of this NetworkProbeMetrics. # noqa: E501 - :rtype: StateUpDownError - """ - return self._dns_state - - @dns_state.setter - def dns_state(self, dns_state): - """Sets the dns_state of this NetworkProbeMetrics. - - - :param dns_state: The dns_state of this NetworkProbeMetrics. # noqa: E501 - :type: StateUpDownError - """ - - self._dns_state = dns_state - - @property - def dns_latency_ms(self): - """Gets the dns_latency_ms of this NetworkProbeMetrics. # noqa: E501 - - - :return: The dns_latency_ms of this NetworkProbeMetrics. # noqa: E501 - :rtype: int - """ - return self._dns_latency_ms - - @dns_latency_ms.setter - def dns_latency_ms(self, dns_latency_ms): - """Sets the dns_latency_ms of this NetworkProbeMetrics. - - - :param dns_latency_ms: The dns_latency_ms of this NetworkProbeMetrics. # noqa: E501 - :type: int - """ - - self._dns_latency_ms = dns_latency_ms - - @property - def radius_state(self): - """Gets the radius_state of this NetworkProbeMetrics. # noqa: E501 - - - :return: The radius_state of this NetworkProbeMetrics. # noqa: E501 - :rtype: StateUpDownError - """ - return self._radius_state - - @radius_state.setter - def radius_state(self, radius_state): - """Sets the radius_state of this NetworkProbeMetrics. - - - :param radius_state: The radius_state of this NetworkProbeMetrics. # noqa: E501 - :type: StateUpDownError - """ - - self._radius_state = radius_state - - @property - def radius_latency_ms(self): - """Gets the radius_latency_ms of this NetworkProbeMetrics. # noqa: E501 - - - :return: The radius_latency_ms of this NetworkProbeMetrics. # noqa: E501 - :rtype: int - """ - return self._radius_latency_ms - - @radius_latency_ms.setter - def radius_latency_ms(self, radius_latency_ms): - """Sets the radius_latency_ms of this NetworkProbeMetrics. - - - :param radius_latency_ms: The radius_latency_ms of this NetworkProbeMetrics. # noqa: E501 - :type: int - """ - - self._radius_latency_ms = radius_latency_ms - - @property - def dns_probe_results(self): - """Gets the dns_probe_results of this NetworkProbeMetrics. # noqa: E501 - - - :return: The dns_probe_results of this NetworkProbeMetrics. # noqa: E501 - :rtype: list[DnsProbeMetric] - """ - return self._dns_probe_results - - @dns_probe_results.setter - def dns_probe_results(self, dns_probe_results): - """Sets the dns_probe_results of this NetworkProbeMetrics. - - - :param dns_probe_results: The dns_probe_results of this NetworkProbeMetrics. # noqa: E501 - :type: list[DnsProbeMetric] - """ - - self._dns_probe_results = dns_probe_results - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(NetworkProbeMetrics, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, NetworkProbeMetrics): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/network_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/network_type.py deleted file mode 100644 index db64113f5..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/network_type.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class NetworkType(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - AP = "AP" - ADHOC = "ADHOC" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """NetworkType - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(NetworkType, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, NetworkType): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/noise_floor_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/noise_floor_details.py deleted file mode 100644 index 6ccb666c0..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/noise_floor_details.py +++ /dev/null @@ -1,136 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class NoiseFloorDetails(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'per_radio_details': 'NoiseFloorPerRadioDetailsMap', - 'indicator_value': 'int' - } - - attribute_map = { - 'per_radio_details': 'perRadioDetails', - 'indicator_value': 'indicatorValue' - } - - def __init__(self, per_radio_details=None, indicator_value=None): # noqa: E501 - """NoiseFloorDetails - a model defined in Swagger""" # noqa: E501 - self._per_radio_details = None - self._indicator_value = None - self.discriminator = None - if per_radio_details is not None: - self.per_radio_details = per_radio_details - if indicator_value is not None: - self.indicator_value = indicator_value - - @property - def per_radio_details(self): - """Gets the per_radio_details of this NoiseFloorDetails. # noqa: E501 - - - :return: The per_radio_details of this NoiseFloorDetails. # noqa: E501 - :rtype: NoiseFloorPerRadioDetailsMap - """ - return self._per_radio_details - - @per_radio_details.setter - def per_radio_details(self, per_radio_details): - """Sets the per_radio_details of this NoiseFloorDetails. - - - :param per_radio_details: The per_radio_details of this NoiseFloorDetails. # noqa: E501 - :type: NoiseFloorPerRadioDetailsMap - """ - - self._per_radio_details = per_radio_details - - @property - def indicator_value(self): - """Gets the indicator_value of this NoiseFloorDetails. # noqa: E501 - - - :return: The indicator_value of this NoiseFloorDetails. # noqa: E501 - :rtype: int - """ - return self._indicator_value - - @indicator_value.setter - def indicator_value(self, indicator_value): - """Sets the indicator_value of this NoiseFloorDetails. - - - :param indicator_value: The indicator_value of this NoiseFloorDetails. # noqa: E501 - :type: int - """ - - self._indicator_value = indicator_value - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(NoiseFloorDetails, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, NoiseFloorDetails): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/noise_floor_per_radio_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/noise_floor_per_radio_details.py deleted file mode 100644 index 5b9f448ed..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/noise_floor_per_radio_details.py +++ /dev/null @@ -1,188 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class NoiseFloorPerRadioDetails(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'noise_floor': 'MinMaxAvgValueInt', - 'num_good_equipment': 'int', - 'num_warn_equipment': 'int', - 'num_bad_equipment': 'int' - } - - attribute_map = { - 'noise_floor': 'noiseFloor', - 'num_good_equipment': 'numGoodEquipment', - 'num_warn_equipment': 'numWarnEquipment', - 'num_bad_equipment': 'numBadEquipment' - } - - def __init__(self, noise_floor=None, num_good_equipment=None, num_warn_equipment=None, num_bad_equipment=None): # noqa: E501 - """NoiseFloorPerRadioDetails - a model defined in Swagger""" # noqa: E501 - self._noise_floor = None - self._num_good_equipment = None - self._num_warn_equipment = None - self._num_bad_equipment = None - self.discriminator = None - if noise_floor is not None: - self.noise_floor = noise_floor - if num_good_equipment is not None: - self.num_good_equipment = num_good_equipment - if num_warn_equipment is not None: - self.num_warn_equipment = num_warn_equipment - if num_bad_equipment is not None: - self.num_bad_equipment = num_bad_equipment - - @property - def noise_floor(self): - """Gets the noise_floor of this NoiseFloorPerRadioDetails. # noqa: E501 - - - :return: The noise_floor of this NoiseFloorPerRadioDetails. # noqa: E501 - :rtype: MinMaxAvgValueInt - """ - return self._noise_floor - - @noise_floor.setter - def noise_floor(self, noise_floor): - """Sets the noise_floor of this NoiseFloorPerRadioDetails. - - - :param noise_floor: The noise_floor of this NoiseFloorPerRadioDetails. # noqa: E501 - :type: MinMaxAvgValueInt - """ - - self._noise_floor = noise_floor - - @property - def num_good_equipment(self): - """Gets the num_good_equipment of this NoiseFloorPerRadioDetails. # noqa: E501 - - - :return: The num_good_equipment of this NoiseFloorPerRadioDetails. # noqa: E501 - :rtype: int - """ - return self._num_good_equipment - - @num_good_equipment.setter - def num_good_equipment(self, num_good_equipment): - """Sets the num_good_equipment of this NoiseFloorPerRadioDetails. - - - :param num_good_equipment: The num_good_equipment of this NoiseFloorPerRadioDetails. # noqa: E501 - :type: int - """ - - self._num_good_equipment = num_good_equipment - - @property - def num_warn_equipment(self): - """Gets the num_warn_equipment of this NoiseFloorPerRadioDetails. # noqa: E501 - - - :return: The num_warn_equipment of this NoiseFloorPerRadioDetails. # noqa: E501 - :rtype: int - """ - return self._num_warn_equipment - - @num_warn_equipment.setter - def num_warn_equipment(self, num_warn_equipment): - """Sets the num_warn_equipment of this NoiseFloorPerRadioDetails. - - - :param num_warn_equipment: The num_warn_equipment of this NoiseFloorPerRadioDetails. # noqa: E501 - :type: int - """ - - self._num_warn_equipment = num_warn_equipment - - @property - def num_bad_equipment(self): - """Gets the num_bad_equipment of this NoiseFloorPerRadioDetails. # noqa: E501 - - - :return: The num_bad_equipment of this NoiseFloorPerRadioDetails. # noqa: E501 - :rtype: int - """ - return self._num_bad_equipment - - @num_bad_equipment.setter - def num_bad_equipment(self, num_bad_equipment): - """Sets the num_bad_equipment of this NoiseFloorPerRadioDetails. - - - :param num_bad_equipment: The num_bad_equipment of this NoiseFloorPerRadioDetails. # noqa: E501 - :type: int - """ - - self._num_bad_equipment = num_bad_equipment - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(NoiseFloorPerRadioDetails, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, NoiseFloorPerRadioDetails): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/noise_floor_per_radio_details_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/noise_floor_per_radio_details_map.py deleted file mode 100644 index b1a915af6..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/noise_floor_per_radio_details_map.py +++ /dev/null @@ -1,188 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class NoiseFloorPerRadioDetailsMap(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'is5_g_hz': 'NoiseFloorPerRadioDetails', - 'is5_g_hz_u': 'NoiseFloorPerRadioDetails', - 'is5_g_hz_l': 'NoiseFloorPerRadioDetails', - 'is2dot4_g_hz': 'NoiseFloorPerRadioDetails' - } - - attribute_map = { - 'is5_g_hz': 'is5GHz', - 'is5_g_hz_u': 'is5GHzU', - 'is5_g_hz_l': 'is5GHzL', - 'is2dot4_g_hz': 'is2dot4GHz' - } - - def __init__(self, is5_g_hz=None, is5_g_hz_u=None, is5_g_hz_l=None, is2dot4_g_hz=None): # noqa: E501 - """NoiseFloorPerRadioDetailsMap - a model defined in Swagger""" # noqa: E501 - self._is5_g_hz = None - self._is5_g_hz_u = None - self._is5_g_hz_l = None - self._is2dot4_g_hz = None - self.discriminator = None - if is5_g_hz is not None: - self.is5_g_hz = is5_g_hz - if is5_g_hz_u is not None: - self.is5_g_hz_u = is5_g_hz_u - if is5_g_hz_l is not None: - self.is5_g_hz_l = is5_g_hz_l - if is2dot4_g_hz is not None: - self.is2dot4_g_hz = is2dot4_g_hz - - @property - def is5_g_hz(self): - """Gets the is5_g_hz of this NoiseFloorPerRadioDetailsMap. # noqa: E501 - - - :return: The is5_g_hz of this NoiseFloorPerRadioDetailsMap. # noqa: E501 - :rtype: NoiseFloorPerRadioDetails - """ - return self._is5_g_hz - - @is5_g_hz.setter - def is5_g_hz(self, is5_g_hz): - """Sets the is5_g_hz of this NoiseFloorPerRadioDetailsMap. - - - :param is5_g_hz: The is5_g_hz of this NoiseFloorPerRadioDetailsMap. # noqa: E501 - :type: NoiseFloorPerRadioDetails - """ - - self._is5_g_hz = is5_g_hz - - @property - def is5_g_hz_u(self): - """Gets the is5_g_hz_u of this NoiseFloorPerRadioDetailsMap. # noqa: E501 - - - :return: The is5_g_hz_u of this NoiseFloorPerRadioDetailsMap. # noqa: E501 - :rtype: NoiseFloorPerRadioDetails - """ - return self._is5_g_hz_u - - @is5_g_hz_u.setter - def is5_g_hz_u(self, is5_g_hz_u): - """Sets the is5_g_hz_u of this NoiseFloorPerRadioDetailsMap. - - - :param is5_g_hz_u: The is5_g_hz_u of this NoiseFloorPerRadioDetailsMap. # noqa: E501 - :type: NoiseFloorPerRadioDetails - """ - - self._is5_g_hz_u = is5_g_hz_u - - @property - def is5_g_hz_l(self): - """Gets the is5_g_hz_l of this NoiseFloorPerRadioDetailsMap. # noqa: E501 - - - :return: The is5_g_hz_l of this NoiseFloorPerRadioDetailsMap. # noqa: E501 - :rtype: NoiseFloorPerRadioDetails - """ - return self._is5_g_hz_l - - @is5_g_hz_l.setter - def is5_g_hz_l(self, is5_g_hz_l): - """Sets the is5_g_hz_l of this NoiseFloorPerRadioDetailsMap. - - - :param is5_g_hz_l: The is5_g_hz_l of this NoiseFloorPerRadioDetailsMap. # noqa: E501 - :type: NoiseFloorPerRadioDetails - """ - - self._is5_g_hz_l = is5_g_hz_l - - @property - def is2dot4_g_hz(self): - """Gets the is2dot4_g_hz of this NoiseFloorPerRadioDetailsMap. # noqa: E501 - - - :return: The is2dot4_g_hz of this NoiseFloorPerRadioDetailsMap. # noqa: E501 - :rtype: NoiseFloorPerRadioDetails - """ - return self._is2dot4_g_hz - - @is2dot4_g_hz.setter - def is2dot4_g_hz(self, is2dot4_g_hz): - """Sets the is2dot4_g_hz of this NoiseFloorPerRadioDetailsMap. - - - :param is2dot4_g_hz: The is2dot4_g_hz of this NoiseFloorPerRadioDetailsMap. # noqa: E501 - :type: NoiseFloorPerRadioDetails - """ - - self._is2dot4_g_hz = is2dot4_g_hz - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(NoiseFloorPerRadioDetailsMap, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, NoiseFloorPerRadioDetailsMap): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/obss_hop_mode.py b/libs/cloudapi/cloudsdk/swagger_client/models/obss_hop_mode.py deleted file mode 100644 index 6ce540893..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/obss_hop_mode.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ObssHopMode(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - WIFI = "NON_WIFI" - WIFI_AND_OBSS = "NON_WIFI_AND_OBSS" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """ObssHopMode - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ObssHopMode, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ObssHopMode): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/one_of_equipment_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/one_of_equipment_details.py deleted file mode 100644 index b6e531d20..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/one_of_equipment_details.py +++ /dev/null @@ -1,84 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class OneOfEquipmentDetails(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """OneOfEquipmentDetails - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(OneOfEquipmentDetails, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, OneOfEquipmentDetails): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/one_of_firmware_schedule_setting.py b/libs/cloudapi/cloudsdk/swagger_client/models/one_of_firmware_schedule_setting.py deleted file mode 100644 index 868907aec..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/one_of_firmware_schedule_setting.py +++ /dev/null @@ -1,84 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class OneOfFirmwareScheduleSetting(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """OneOfFirmwareScheduleSetting - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(OneOfFirmwareScheduleSetting, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, OneOfFirmwareScheduleSetting): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/one_of_profile_details_children.py b/libs/cloudapi/cloudsdk/swagger_client/models/one_of_profile_details_children.py deleted file mode 100644 index eee589e89..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/one_of_profile_details_children.py +++ /dev/null @@ -1,84 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class OneOfProfileDetailsChildren(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """OneOfProfileDetailsChildren - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(OneOfProfileDetailsChildren, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, OneOfProfileDetailsChildren): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/one_of_schedule_setting.py b/libs/cloudapi/cloudsdk/swagger_client/models/one_of_schedule_setting.py deleted file mode 100644 index 083b3002f..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/one_of_schedule_setting.py +++ /dev/null @@ -1,84 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class OneOfScheduleSetting(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """OneOfScheduleSetting - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(OneOfScheduleSetting, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, OneOfScheduleSetting): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/one_of_service_metric_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/one_of_service_metric_details.py deleted file mode 100644 index cbb5cf9e2..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/one_of_service_metric_details.py +++ /dev/null @@ -1,84 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class OneOfServiceMetricDetails(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """OneOfServiceMetricDetails - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(OneOfServiceMetricDetails, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, OneOfServiceMetricDetails): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/one_of_status_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/one_of_status_details.py deleted file mode 100644 index 33913fc81..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/one_of_status_details.py +++ /dev/null @@ -1,84 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class OneOfStatusDetails(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """OneOfStatusDetails - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(OneOfStatusDetails, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, OneOfStatusDetails): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/one_of_system_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/one_of_system_event.py deleted file mode 100644 index 133a0973d..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/one_of_system_event.py +++ /dev/null @@ -1,84 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class OneOfSystemEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """OneOfSystemEvent - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(OneOfSystemEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, OneOfSystemEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/operating_system_performance.py b/libs/cloudapi/cloudsdk/swagger_client/models/operating_system_performance.py deleted file mode 100644 index 3d56cee9b..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/operating_system_performance.py +++ /dev/null @@ -1,331 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class OperatingSystemPerformance(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'status_data_type': 'str', - 'num_cami_crashes': 'int', - 'uptime_in_seconds': 'int', - 'avg_cpu_utilization': 'float', - 'avg_cpu_per_core': 'list[float]', - 'avg_free_memory_kb': 'int', - 'total_available_memory_kb': 'int', - 'avg_cpu_temperature': 'float' - } - - attribute_map = { - 'model_type': 'model_type', - 'status_data_type': 'statusDataType', - 'num_cami_crashes': 'numCamiCrashes', - 'uptime_in_seconds': 'uptimeInSeconds', - 'avg_cpu_utilization': 'avgCpuUtilization', - 'avg_cpu_per_core': 'avgCpuPerCore', - 'avg_free_memory_kb': 'avgFreeMemoryKb', - 'total_available_memory_kb': 'totalAvailableMemoryKb', - 'avg_cpu_temperature': 'avgCpuTemperature' - } - - def __init__(self, model_type=None, status_data_type=None, num_cami_crashes=None, uptime_in_seconds=None, avg_cpu_utilization=None, avg_cpu_per_core=None, avg_free_memory_kb=None, total_available_memory_kb=None, avg_cpu_temperature=None): # noqa: E501 - """OperatingSystemPerformance - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._status_data_type = None - self._num_cami_crashes = None - self._uptime_in_seconds = None - self._avg_cpu_utilization = None - self._avg_cpu_per_core = None - self._avg_free_memory_kb = None - self._total_available_memory_kb = None - self._avg_cpu_temperature = None - self.discriminator = None - self.model_type = model_type - if status_data_type is not None: - self.status_data_type = status_data_type - if num_cami_crashes is not None: - self.num_cami_crashes = num_cami_crashes - if uptime_in_seconds is not None: - self.uptime_in_seconds = uptime_in_seconds - if avg_cpu_utilization is not None: - self.avg_cpu_utilization = avg_cpu_utilization - if avg_cpu_per_core is not None: - self.avg_cpu_per_core = avg_cpu_per_core - if avg_free_memory_kb is not None: - self.avg_free_memory_kb = avg_free_memory_kb - if total_available_memory_kb is not None: - self.total_available_memory_kb = total_available_memory_kb - if avg_cpu_temperature is not None: - self.avg_cpu_temperature = avg_cpu_temperature - - @property - def model_type(self): - """Gets the model_type of this OperatingSystemPerformance. # noqa: E501 - - - :return: The model_type of this OperatingSystemPerformance. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this OperatingSystemPerformance. - - - :param model_type: The model_type of this OperatingSystemPerformance. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - allowed_values = ["OperatingSystemPerformance"] # noqa: E501 - if model_type not in allowed_values: - raise ValueError( - "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 - .format(model_type, allowed_values) - ) - - self._model_type = model_type - - @property - def status_data_type(self): - """Gets the status_data_type of this OperatingSystemPerformance. # noqa: E501 - - - :return: The status_data_type of this OperatingSystemPerformance. # noqa: E501 - :rtype: str - """ - return self._status_data_type - - @status_data_type.setter - def status_data_type(self, status_data_type): - """Sets the status_data_type of this OperatingSystemPerformance. - - - :param status_data_type: The status_data_type of this OperatingSystemPerformance. # noqa: E501 - :type: str - """ - allowed_values = ["OS_PERFORMANCE"] # noqa: E501 - if status_data_type not in allowed_values: - raise ValueError( - "Invalid value for `status_data_type` ({0}), must be one of {1}" # noqa: E501 - .format(status_data_type, allowed_values) - ) - - self._status_data_type = status_data_type - - @property - def num_cami_crashes(self): - """Gets the num_cami_crashes of this OperatingSystemPerformance. # noqa: E501 - - - :return: The num_cami_crashes of this OperatingSystemPerformance. # noqa: E501 - :rtype: int - """ - return self._num_cami_crashes - - @num_cami_crashes.setter - def num_cami_crashes(self, num_cami_crashes): - """Sets the num_cami_crashes of this OperatingSystemPerformance. - - - :param num_cami_crashes: The num_cami_crashes of this OperatingSystemPerformance. # noqa: E501 - :type: int - """ - - self._num_cami_crashes = num_cami_crashes - - @property - def uptime_in_seconds(self): - """Gets the uptime_in_seconds of this OperatingSystemPerformance. # noqa: E501 - - - :return: The uptime_in_seconds of this OperatingSystemPerformance. # noqa: E501 - :rtype: int - """ - return self._uptime_in_seconds - - @uptime_in_seconds.setter - def uptime_in_seconds(self, uptime_in_seconds): - """Sets the uptime_in_seconds of this OperatingSystemPerformance. - - - :param uptime_in_seconds: The uptime_in_seconds of this OperatingSystemPerformance. # noqa: E501 - :type: int - """ - - self._uptime_in_seconds = uptime_in_seconds - - @property - def avg_cpu_utilization(self): - """Gets the avg_cpu_utilization of this OperatingSystemPerformance. # noqa: E501 - - - :return: The avg_cpu_utilization of this OperatingSystemPerformance. # noqa: E501 - :rtype: float - """ - return self._avg_cpu_utilization - - @avg_cpu_utilization.setter - def avg_cpu_utilization(self, avg_cpu_utilization): - """Sets the avg_cpu_utilization of this OperatingSystemPerformance. - - - :param avg_cpu_utilization: The avg_cpu_utilization of this OperatingSystemPerformance. # noqa: E501 - :type: float - """ - - self._avg_cpu_utilization = avg_cpu_utilization - - @property - def avg_cpu_per_core(self): - """Gets the avg_cpu_per_core of this OperatingSystemPerformance. # noqa: E501 - - - :return: The avg_cpu_per_core of this OperatingSystemPerformance. # noqa: E501 - :rtype: list[float] - """ - return self._avg_cpu_per_core - - @avg_cpu_per_core.setter - def avg_cpu_per_core(self, avg_cpu_per_core): - """Sets the avg_cpu_per_core of this OperatingSystemPerformance. - - - :param avg_cpu_per_core: The avg_cpu_per_core of this OperatingSystemPerformance. # noqa: E501 - :type: list[float] - """ - - self._avg_cpu_per_core = avg_cpu_per_core - - @property - def avg_free_memory_kb(self): - """Gets the avg_free_memory_kb of this OperatingSystemPerformance. # noqa: E501 - - - :return: The avg_free_memory_kb of this OperatingSystemPerformance. # noqa: E501 - :rtype: int - """ - return self._avg_free_memory_kb - - @avg_free_memory_kb.setter - def avg_free_memory_kb(self, avg_free_memory_kb): - """Sets the avg_free_memory_kb of this OperatingSystemPerformance. - - - :param avg_free_memory_kb: The avg_free_memory_kb of this OperatingSystemPerformance. # noqa: E501 - :type: int - """ - - self._avg_free_memory_kb = avg_free_memory_kb - - @property - def total_available_memory_kb(self): - """Gets the total_available_memory_kb of this OperatingSystemPerformance. # noqa: E501 - - - :return: The total_available_memory_kb of this OperatingSystemPerformance. # noqa: E501 - :rtype: int - """ - return self._total_available_memory_kb - - @total_available_memory_kb.setter - def total_available_memory_kb(self, total_available_memory_kb): - """Sets the total_available_memory_kb of this OperatingSystemPerformance. - - - :param total_available_memory_kb: The total_available_memory_kb of this OperatingSystemPerformance. # noqa: E501 - :type: int - """ - - self._total_available_memory_kb = total_available_memory_kb - - @property - def avg_cpu_temperature(self): - """Gets the avg_cpu_temperature of this OperatingSystemPerformance. # noqa: E501 - - - :return: The avg_cpu_temperature of this OperatingSystemPerformance. # noqa: E501 - :rtype: float - """ - return self._avg_cpu_temperature - - @avg_cpu_temperature.setter - def avg_cpu_temperature(self, avg_cpu_temperature): - """Sets the avg_cpu_temperature of this OperatingSystemPerformance. - - - :param avg_cpu_temperature: The avg_cpu_temperature of this OperatingSystemPerformance. # noqa: E501 - :type: float - """ - - self._avg_cpu_temperature = avg_cpu_temperature - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(OperatingSystemPerformance, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, OperatingSystemPerformance): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/originator_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/originator_type.py deleted file mode 100644 index e05de83a1..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/originator_type.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class OriginatorType(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - AP = "AP" - SWITCH = "SWITCH" - NET = "NET" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """OriginatorType - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(OriginatorType, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, OriginatorType): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_alarm.py b/libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_alarm.py deleted file mode 100644 index d369e03e4..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_alarm.py +++ /dev/null @@ -1,247 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class PaginationContextAlarm(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'max_items_per_page': 'int', - 'last_returned_page_number': 'int', - 'total_items_returned': 'int', - 'last_page': 'bool', - 'cursor': 'str' - } - - attribute_map = { - 'model_type': 'model_type', - 'max_items_per_page': 'maxItemsPerPage', - 'last_returned_page_number': 'lastReturnedPageNumber', - 'total_items_returned': 'totalItemsReturned', - 'last_page': 'lastPage', - 'cursor': 'cursor' - } - - def __init__(self, model_type=None, max_items_per_page=20, last_returned_page_number=None, total_items_returned=None, last_page=None, cursor=None): # noqa: E501 - """PaginationContextAlarm - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._max_items_per_page = None - self._last_returned_page_number = None - self._total_items_returned = None - self._last_page = None - self._cursor = None - self.discriminator = None - if model_type is not None: - self.model_type = model_type - self.max_items_per_page = max_items_per_page - if last_returned_page_number is not None: - self.last_returned_page_number = last_returned_page_number - if total_items_returned is not None: - self.total_items_returned = total_items_returned - if last_page is not None: - self.last_page = last_page - if cursor is not None: - self.cursor = cursor - - @property - def model_type(self): - """Gets the model_type of this PaginationContextAlarm. # noqa: E501 - - - :return: The model_type of this PaginationContextAlarm. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this PaginationContextAlarm. - - - :param model_type: The model_type of this PaginationContextAlarm. # noqa: E501 - :type: str - """ - allowed_values = ["PaginationContext"] # noqa: E501 - if model_type not in allowed_values: - raise ValueError( - "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 - .format(model_type, allowed_values) - ) - - self._model_type = model_type - - @property - def max_items_per_page(self): - """Gets the max_items_per_page of this PaginationContextAlarm. # noqa: E501 - - - :return: The max_items_per_page of this PaginationContextAlarm. # noqa: E501 - :rtype: int - """ - return self._max_items_per_page - - @max_items_per_page.setter - def max_items_per_page(self, max_items_per_page): - """Sets the max_items_per_page of this PaginationContextAlarm. - - - :param max_items_per_page: The max_items_per_page of this PaginationContextAlarm. # noqa: E501 - :type: int - """ - if max_items_per_page is None: - raise ValueError("Invalid value for `max_items_per_page`, must not be `None`") # noqa: E501 - - self._max_items_per_page = max_items_per_page - - @property - def last_returned_page_number(self): - """Gets the last_returned_page_number of this PaginationContextAlarm. # noqa: E501 - - - :return: The last_returned_page_number of this PaginationContextAlarm. # noqa: E501 - :rtype: int - """ - return self._last_returned_page_number - - @last_returned_page_number.setter - def last_returned_page_number(self, last_returned_page_number): - """Sets the last_returned_page_number of this PaginationContextAlarm. - - - :param last_returned_page_number: The last_returned_page_number of this PaginationContextAlarm. # noqa: E501 - :type: int - """ - - self._last_returned_page_number = last_returned_page_number - - @property - def total_items_returned(self): - """Gets the total_items_returned of this PaginationContextAlarm. # noqa: E501 - - - :return: The total_items_returned of this PaginationContextAlarm. # noqa: E501 - :rtype: int - """ - return self._total_items_returned - - @total_items_returned.setter - def total_items_returned(self, total_items_returned): - """Sets the total_items_returned of this PaginationContextAlarm. - - - :param total_items_returned: The total_items_returned of this PaginationContextAlarm. # noqa: E501 - :type: int - """ - - self._total_items_returned = total_items_returned - - @property - def last_page(self): - """Gets the last_page of this PaginationContextAlarm. # noqa: E501 - - - :return: The last_page of this PaginationContextAlarm. # noqa: E501 - :rtype: bool - """ - return self._last_page - - @last_page.setter - def last_page(self, last_page): - """Sets the last_page of this PaginationContextAlarm. - - - :param last_page: The last_page of this PaginationContextAlarm. # noqa: E501 - :type: bool - """ - - self._last_page = last_page - - @property - def cursor(self): - """Gets the cursor of this PaginationContextAlarm. # noqa: E501 - - - :return: The cursor of this PaginationContextAlarm. # noqa: E501 - :rtype: str - """ - return self._cursor - - @cursor.setter - def cursor(self, cursor): - """Sets the cursor of this PaginationContextAlarm. - - - :param cursor: The cursor of this PaginationContextAlarm. # noqa: E501 - :type: str - """ - - self._cursor = cursor - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(PaginationContextAlarm, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, PaginationContextAlarm): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_client.py b/libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_client.py deleted file mode 100644 index 1d31bdd36..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_client.py +++ /dev/null @@ -1,247 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class PaginationContextClient(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'max_items_per_page': 'int', - 'last_returned_page_number': 'int', - 'total_items_returned': 'int', - 'last_page': 'bool', - 'cursor': 'str' - } - - attribute_map = { - 'model_type': 'model_type', - 'max_items_per_page': 'maxItemsPerPage', - 'last_returned_page_number': 'lastReturnedPageNumber', - 'total_items_returned': 'totalItemsReturned', - 'last_page': 'lastPage', - 'cursor': 'cursor' - } - - def __init__(self, model_type=None, max_items_per_page=20, last_returned_page_number=None, total_items_returned=None, last_page=None, cursor=None): # noqa: E501 - """PaginationContextClient - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._max_items_per_page = None - self._last_returned_page_number = None - self._total_items_returned = None - self._last_page = None - self._cursor = None - self.discriminator = None - if model_type is not None: - self.model_type = model_type - self.max_items_per_page = max_items_per_page - if last_returned_page_number is not None: - self.last_returned_page_number = last_returned_page_number - if total_items_returned is not None: - self.total_items_returned = total_items_returned - if last_page is not None: - self.last_page = last_page - if cursor is not None: - self.cursor = cursor - - @property - def model_type(self): - """Gets the model_type of this PaginationContextClient. # noqa: E501 - - - :return: The model_type of this PaginationContextClient. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this PaginationContextClient. - - - :param model_type: The model_type of this PaginationContextClient. # noqa: E501 - :type: str - """ - allowed_values = ["PaginationContext"] # noqa: E501 - if model_type not in allowed_values: - raise ValueError( - "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 - .format(model_type, allowed_values) - ) - - self._model_type = model_type - - @property - def max_items_per_page(self): - """Gets the max_items_per_page of this PaginationContextClient. # noqa: E501 - - - :return: The max_items_per_page of this PaginationContextClient. # noqa: E501 - :rtype: int - """ - return self._max_items_per_page - - @max_items_per_page.setter - def max_items_per_page(self, max_items_per_page): - """Sets the max_items_per_page of this PaginationContextClient. - - - :param max_items_per_page: The max_items_per_page of this PaginationContextClient. # noqa: E501 - :type: int - """ - if max_items_per_page is None: - raise ValueError("Invalid value for `max_items_per_page`, must not be `None`") # noqa: E501 - - self._max_items_per_page = max_items_per_page - - @property - def last_returned_page_number(self): - """Gets the last_returned_page_number of this PaginationContextClient. # noqa: E501 - - - :return: The last_returned_page_number of this PaginationContextClient. # noqa: E501 - :rtype: int - """ - return self._last_returned_page_number - - @last_returned_page_number.setter - def last_returned_page_number(self, last_returned_page_number): - """Sets the last_returned_page_number of this PaginationContextClient. - - - :param last_returned_page_number: The last_returned_page_number of this PaginationContextClient. # noqa: E501 - :type: int - """ - - self._last_returned_page_number = last_returned_page_number - - @property - def total_items_returned(self): - """Gets the total_items_returned of this PaginationContextClient. # noqa: E501 - - - :return: The total_items_returned of this PaginationContextClient. # noqa: E501 - :rtype: int - """ - return self._total_items_returned - - @total_items_returned.setter - def total_items_returned(self, total_items_returned): - """Sets the total_items_returned of this PaginationContextClient. - - - :param total_items_returned: The total_items_returned of this PaginationContextClient. # noqa: E501 - :type: int - """ - - self._total_items_returned = total_items_returned - - @property - def last_page(self): - """Gets the last_page of this PaginationContextClient. # noqa: E501 - - - :return: The last_page of this PaginationContextClient. # noqa: E501 - :rtype: bool - """ - return self._last_page - - @last_page.setter - def last_page(self, last_page): - """Sets the last_page of this PaginationContextClient. - - - :param last_page: The last_page of this PaginationContextClient. # noqa: E501 - :type: bool - """ - - self._last_page = last_page - - @property - def cursor(self): - """Gets the cursor of this PaginationContextClient. # noqa: E501 - - - :return: The cursor of this PaginationContextClient. # noqa: E501 - :rtype: str - """ - return self._cursor - - @cursor.setter - def cursor(self, cursor): - """Sets the cursor of this PaginationContextClient. - - - :param cursor: The cursor of this PaginationContextClient. # noqa: E501 - :type: str - """ - - self._cursor = cursor - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(PaginationContextClient, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, PaginationContextClient): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_client_session.py b/libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_client_session.py deleted file mode 100644 index 4e77683e3..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_client_session.py +++ /dev/null @@ -1,247 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class PaginationContextClientSession(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'max_items_per_page': 'int', - 'last_returned_page_number': 'int', - 'total_items_returned': 'int', - 'last_page': 'bool', - 'cursor': 'str' - } - - attribute_map = { - 'model_type': 'model_type', - 'max_items_per_page': 'maxItemsPerPage', - 'last_returned_page_number': 'lastReturnedPageNumber', - 'total_items_returned': 'totalItemsReturned', - 'last_page': 'lastPage', - 'cursor': 'cursor' - } - - def __init__(self, model_type=None, max_items_per_page=20, last_returned_page_number=None, total_items_returned=None, last_page=None, cursor=None): # noqa: E501 - """PaginationContextClientSession - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._max_items_per_page = None - self._last_returned_page_number = None - self._total_items_returned = None - self._last_page = None - self._cursor = None - self.discriminator = None - if model_type is not None: - self.model_type = model_type - self.max_items_per_page = max_items_per_page - if last_returned_page_number is not None: - self.last_returned_page_number = last_returned_page_number - if total_items_returned is not None: - self.total_items_returned = total_items_returned - if last_page is not None: - self.last_page = last_page - if cursor is not None: - self.cursor = cursor - - @property - def model_type(self): - """Gets the model_type of this PaginationContextClientSession. # noqa: E501 - - - :return: The model_type of this PaginationContextClientSession. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this PaginationContextClientSession. - - - :param model_type: The model_type of this PaginationContextClientSession. # noqa: E501 - :type: str - """ - allowed_values = ["PaginationContext"] # noqa: E501 - if model_type not in allowed_values: - raise ValueError( - "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 - .format(model_type, allowed_values) - ) - - self._model_type = model_type - - @property - def max_items_per_page(self): - """Gets the max_items_per_page of this PaginationContextClientSession. # noqa: E501 - - - :return: The max_items_per_page of this PaginationContextClientSession. # noqa: E501 - :rtype: int - """ - return self._max_items_per_page - - @max_items_per_page.setter - def max_items_per_page(self, max_items_per_page): - """Sets the max_items_per_page of this PaginationContextClientSession. - - - :param max_items_per_page: The max_items_per_page of this PaginationContextClientSession. # noqa: E501 - :type: int - """ - if max_items_per_page is None: - raise ValueError("Invalid value for `max_items_per_page`, must not be `None`") # noqa: E501 - - self._max_items_per_page = max_items_per_page - - @property - def last_returned_page_number(self): - """Gets the last_returned_page_number of this PaginationContextClientSession. # noqa: E501 - - - :return: The last_returned_page_number of this PaginationContextClientSession. # noqa: E501 - :rtype: int - """ - return self._last_returned_page_number - - @last_returned_page_number.setter - def last_returned_page_number(self, last_returned_page_number): - """Sets the last_returned_page_number of this PaginationContextClientSession. - - - :param last_returned_page_number: The last_returned_page_number of this PaginationContextClientSession. # noqa: E501 - :type: int - """ - - self._last_returned_page_number = last_returned_page_number - - @property - def total_items_returned(self): - """Gets the total_items_returned of this PaginationContextClientSession. # noqa: E501 - - - :return: The total_items_returned of this PaginationContextClientSession. # noqa: E501 - :rtype: int - """ - return self._total_items_returned - - @total_items_returned.setter - def total_items_returned(self, total_items_returned): - """Sets the total_items_returned of this PaginationContextClientSession. - - - :param total_items_returned: The total_items_returned of this PaginationContextClientSession. # noqa: E501 - :type: int - """ - - self._total_items_returned = total_items_returned - - @property - def last_page(self): - """Gets the last_page of this PaginationContextClientSession. # noqa: E501 - - - :return: The last_page of this PaginationContextClientSession. # noqa: E501 - :rtype: bool - """ - return self._last_page - - @last_page.setter - def last_page(self, last_page): - """Sets the last_page of this PaginationContextClientSession. - - - :param last_page: The last_page of this PaginationContextClientSession. # noqa: E501 - :type: bool - """ - - self._last_page = last_page - - @property - def cursor(self): - """Gets the cursor of this PaginationContextClientSession. # noqa: E501 - - - :return: The cursor of this PaginationContextClientSession. # noqa: E501 - :rtype: str - """ - return self._cursor - - @cursor.setter - def cursor(self, cursor): - """Sets the cursor of this PaginationContextClientSession. - - - :param cursor: The cursor of this PaginationContextClientSession. # noqa: E501 - :type: str - """ - - self._cursor = cursor - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(PaginationContextClientSession, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, PaginationContextClientSession): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_equipment.py b/libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_equipment.py deleted file mode 100644 index e0e9079ef..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_equipment.py +++ /dev/null @@ -1,247 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class PaginationContextEquipment(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'max_items_per_page': 'int', - 'last_returned_page_number': 'int', - 'total_items_returned': 'int', - 'last_page': 'bool', - 'cursor': 'str' - } - - attribute_map = { - 'model_type': 'model_type', - 'max_items_per_page': 'maxItemsPerPage', - 'last_returned_page_number': 'lastReturnedPageNumber', - 'total_items_returned': 'totalItemsReturned', - 'last_page': 'lastPage', - 'cursor': 'cursor' - } - - def __init__(self, model_type=None, max_items_per_page=20, last_returned_page_number=None, total_items_returned=None, last_page=None, cursor=None): # noqa: E501 - """PaginationContextEquipment - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._max_items_per_page = None - self._last_returned_page_number = None - self._total_items_returned = None - self._last_page = None - self._cursor = None - self.discriminator = None - if model_type is not None: - self.model_type = model_type - self.max_items_per_page = max_items_per_page - if last_returned_page_number is not None: - self.last_returned_page_number = last_returned_page_number - if total_items_returned is not None: - self.total_items_returned = total_items_returned - if last_page is not None: - self.last_page = last_page - if cursor is not None: - self.cursor = cursor - - @property - def model_type(self): - """Gets the model_type of this PaginationContextEquipment. # noqa: E501 - - - :return: The model_type of this PaginationContextEquipment. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this PaginationContextEquipment. - - - :param model_type: The model_type of this PaginationContextEquipment. # noqa: E501 - :type: str - """ - allowed_values = ["PaginationContext"] # noqa: E501 - if model_type not in allowed_values: - raise ValueError( - "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 - .format(model_type, allowed_values) - ) - - self._model_type = model_type - - @property - def max_items_per_page(self): - """Gets the max_items_per_page of this PaginationContextEquipment. # noqa: E501 - - - :return: The max_items_per_page of this PaginationContextEquipment. # noqa: E501 - :rtype: int - """ - return self._max_items_per_page - - @max_items_per_page.setter - def max_items_per_page(self, max_items_per_page): - """Sets the max_items_per_page of this PaginationContextEquipment. - - - :param max_items_per_page: The max_items_per_page of this PaginationContextEquipment. # noqa: E501 - :type: int - """ - if max_items_per_page is None: - raise ValueError("Invalid value for `max_items_per_page`, must not be `None`") # noqa: E501 - - self._max_items_per_page = max_items_per_page - - @property - def last_returned_page_number(self): - """Gets the last_returned_page_number of this PaginationContextEquipment. # noqa: E501 - - - :return: The last_returned_page_number of this PaginationContextEquipment. # noqa: E501 - :rtype: int - """ - return self._last_returned_page_number - - @last_returned_page_number.setter - def last_returned_page_number(self, last_returned_page_number): - """Sets the last_returned_page_number of this PaginationContextEquipment. - - - :param last_returned_page_number: The last_returned_page_number of this PaginationContextEquipment. # noqa: E501 - :type: int - """ - - self._last_returned_page_number = last_returned_page_number - - @property - def total_items_returned(self): - """Gets the total_items_returned of this PaginationContextEquipment. # noqa: E501 - - - :return: The total_items_returned of this PaginationContextEquipment. # noqa: E501 - :rtype: int - """ - return self._total_items_returned - - @total_items_returned.setter - def total_items_returned(self, total_items_returned): - """Sets the total_items_returned of this PaginationContextEquipment. - - - :param total_items_returned: The total_items_returned of this PaginationContextEquipment. # noqa: E501 - :type: int - """ - - self._total_items_returned = total_items_returned - - @property - def last_page(self): - """Gets the last_page of this PaginationContextEquipment. # noqa: E501 - - - :return: The last_page of this PaginationContextEquipment. # noqa: E501 - :rtype: bool - """ - return self._last_page - - @last_page.setter - def last_page(self, last_page): - """Sets the last_page of this PaginationContextEquipment. - - - :param last_page: The last_page of this PaginationContextEquipment. # noqa: E501 - :type: bool - """ - - self._last_page = last_page - - @property - def cursor(self): - """Gets the cursor of this PaginationContextEquipment. # noqa: E501 - - - :return: The cursor of this PaginationContextEquipment. # noqa: E501 - :rtype: str - """ - return self._cursor - - @cursor.setter - def cursor(self, cursor): - """Sets the cursor of this PaginationContextEquipment. - - - :param cursor: The cursor of this PaginationContextEquipment. # noqa: E501 - :type: str - """ - - self._cursor = cursor - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(PaginationContextEquipment, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, PaginationContextEquipment): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_location.py b/libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_location.py deleted file mode 100644 index faf2c9971..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_location.py +++ /dev/null @@ -1,247 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class PaginationContextLocation(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'max_items_per_page': 'int', - 'last_returned_page_number': 'int', - 'total_items_returned': 'int', - 'last_page': 'bool', - 'cursor': 'str' - } - - attribute_map = { - 'model_type': 'model_type', - 'max_items_per_page': 'maxItemsPerPage', - 'last_returned_page_number': 'lastReturnedPageNumber', - 'total_items_returned': 'totalItemsReturned', - 'last_page': 'lastPage', - 'cursor': 'cursor' - } - - def __init__(self, model_type=None, max_items_per_page=20, last_returned_page_number=None, total_items_returned=None, last_page=None, cursor=None): # noqa: E501 - """PaginationContextLocation - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._max_items_per_page = None - self._last_returned_page_number = None - self._total_items_returned = None - self._last_page = None - self._cursor = None - self.discriminator = None - if model_type is not None: - self.model_type = model_type - self.max_items_per_page = max_items_per_page - if last_returned_page_number is not None: - self.last_returned_page_number = last_returned_page_number - if total_items_returned is not None: - self.total_items_returned = total_items_returned - if last_page is not None: - self.last_page = last_page - if cursor is not None: - self.cursor = cursor - - @property - def model_type(self): - """Gets the model_type of this PaginationContextLocation. # noqa: E501 - - - :return: The model_type of this PaginationContextLocation. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this PaginationContextLocation. - - - :param model_type: The model_type of this PaginationContextLocation. # noqa: E501 - :type: str - """ - allowed_values = ["PaginationContext"] # noqa: E501 - if model_type not in allowed_values: - raise ValueError( - "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 - .format(model_type, allowed_values) - ) - - self._model_type = model_type - - @property - def max_items_per_page(self): - """Gets the max_items_per_page of this PaginationContextLocation. # noqa: E501 - - - :return: The max_items_per_page of this PaginationContextLocation. # noqa: E501 - :rtype: int - """ - return self._max_items_per_page - - @max_items_per_page.setter - def max_items_per_page(self, max_items_per_page): - """Sets the max_items_per_page of this PaginationContextLocation. - - - :param max_items_per_page: The max_items_per_page of this PaginationContextLocation. # noqa: E501 - :type: int - """ - if max_items_per_page is None: - raise ValueError("Invalid value for `max_items_per_page`, must not be `None`") # noqa: E501 - - self._max_items_per_page = max_items_per_page - - @property - def last_returned_page_number(self): - """Gets the last_returned_page_number of this PaginationContextLocation. # noqa: E501 - - - :return: The last_returned_page_number of this PaginationContextLocation. # noqa: E501 - :rtype: int - """ - return self._last_returned_page_number - - @last_returned_page_number.setter - def last_returned_page_number(self, last_returned_page_number): - """Sets the last_returned_page_number of this PaginationContextLocation. - - - :param last_returned_page_number: The last_returned_page_number of this PaginationContextLocation. # noqa: E501 - :type: int - """ - - self._last_returned_page_number = last_returned_page_number - - @property - def total_items_returned(self): - """Gets the total_items_returned of this PaginationContextLocation. # noqa: E501 - - - :return: The total_items_returned of this PaginationContextLocation. # noqa: E501 - :rtype: int - """ - return self._total_items_returned - - @total_items_returned.setter - def total_items_returned(self, total_items_returned): - """Sets the total_items_returned of this PaginationContextLocation. - - - :param total_items_returned: The total_items_returned of this PaginationContextLocation. # noqa: E501 - :type: int - """ - - self._total_items_returned = total_items_returned - - @property - def last_page(self): - """Gets the last_page of this PaginationContextLocation. # noqa: E501 - - - :return: The last_page of this PaginationContextLocation. # noqa: E501 - :rtype: bool - """ - return self._last_page - - @last_page.setter - def last_page(self, last_page): - """Sets the last_page of this PaginationContextLocation. - - - :param last_page: The last_page of this PaginationContextLocation. # noqa: E501 - :type: bool - """ - - self._last_page = last_page - - @property - def cursor(self): - """Gets the cursor of this PaginationContextLocation. # noqa: E501 - - - :return: The cursor of this PaginationContextLocation. # noqa: E501 - :rtype: str - """ - return self._cursor - - @cursor.setter - def cursor(self, cursor): - """Sets the cursor of this PaginationContextLocation. - - - :param cursor: The cursor of this PaginationContextLocation. # noqa: E501 - :type: str - """ - - self._cursor = cursor - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(PaginationContextLocation, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, PaginationContextLocation): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_portal_user.py b/libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_portal_user.py deleted file mode 100644 index 38b3cd82a..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_portal_user.py +++ /dev/null @@ -1,247 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class PaginationContextPortalUser(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'max_items_per_page': 'int', - 'last_returned_page_number': 'int', - 'total_items_returned': 'int', - 'last_page': 'bool', - 'cursor': 'str' - } - - attribute_map = { - 'model_type': 'model_type', - 'max_items_per_page': 'maxItemsPerPage', - 'last_returned_page_number': 'lastReturnedPageNumber', - 'total_items_returned': 'totalItemsReturned', - 'last_page': 'lastPage', - 'cursor': 'cursor' - } - - def __init__(self, model_type=None, max_items_per_page=20, last_returned_page_number=None, total_items_returned=None, last_page=None, cursor=None): # noqa: E501 - """PaginationContextPortalUser - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._max_items_per_page = None - self._last_returned_page_number = None - self._total_items_returned = None - self._last_page = None - self._cursor = None - self.discriminator = None - if model_type is not None: - self.model_type = model_type - self.max_items_per_page = max_items_per_page - if last_returned_page_number is not None: - self.last_returned_page_number = last_returned_page_number - if total_items_returned is not None: - self.total_items_returned = total_items_returned - if last_page is not None: - self.last_page = last_page - if cursor is not None: - self.cursor = cursor - - @property - def model_type(self): - """Gets the model_type of this PaginationContextPortalUser. # noqa: E501 - - - :return: The model_type of this PaginationContextPortalUser. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this PaginationContextPortalUser. - - - :param model_type: The model_type of this PaginationContextPortalUser. # noqa: E501 - :type: str - """ - allowed_values = ["PaginationContext"] # noqa: E501 - if model_type not in allowed_values: - raise ValueError( - "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 - .format(model_type, allowed_values) - ) - - self._model_type = model_type - - @property - def max_items_per_page(self): - """Gets the max_items_per_page of this PaginationContextPortalUser. # noqa: E501 - - - :return: The max_items_per_page of this PaginationContextPortalUser. # noqa: E501 - :rtype: int - """ - return self._max_items_per_page - - @max_items_per_page.setter - def max_items_per_page(self, max_items_per_page): - """Sets the max_items_per_page of this PaginationContextPortalUser. - - - :param max_items_per_page: The max_items_per_page of this PaginationContextPortalUser. # noqa: E501 - :type: int - """ - if max_items_per_page is None: - raise ValueError("Invalid value for `max_items_per_page`, must not be `None`") # noqa: E501 - - self._max_items_per_page = max_items_per_page - - @property - def last_returned_page_number(self): - """Gets the last_returned_page_number of this PaginationContextPortalUser. # noqa: E501 - - - :return: The last_returned_page_number of this PaginationContextPortalUser. # noqa: E501 - :rtype: int - """ - return self._last_returned_page_number - - @last_returned_page_number.setter - def last_returned_page_number(self, last_returned_page_number): - """Sets the last_returned_page_number of this PaginationContextPortalUser. - - - :param last_returned_page_number: The last_returned_page_number of this PaginationContextPortalUser. # noqa: E501 - :type: int - """ - - self._last_returned_page_number = last_returned_page_number - - @property - def total_items_returned(self): - """Gets the total_items_returned of this PaginationContextPortalUser. # noqa: E501 - - - :return: The total_items_returned of this PaginationContextPortalUser. # noqa: E501 - :rtype: int - """ - return self._total_items_returned - - @total_items_returned.setter - def total_items_returned(self, total_items_returned): - """Sets the total_items_returned of this PaginationContextPortalUser. - - - :param total_items_returned: The total_items_returned of this PaginationContextPortalUser. # noqa: E501 - :type: int - """ - - self._total_items_returned = total_items_returned - - @property - def last_page(self): - """Gets the last_page of this PaginationContextPortalUser. # noqa: E501 - - - :return: The last_page of this PaginationContextPortalUser. # noqa: E501 - :rtype: bool - """ - return self._last_page - - @last_page.setter - def last_page(self, last_page): - """Sets the last_page of this PaginationContextPortalUser. - - - :param last_page: The last_page of this PaginationContextPortalUser. # noqa: E501 - :type: bool - """ - - self._last_page = last_page - - @property - def cursor(self): - """Gets the cursor of this PaginationContextPortalUser. # noqa: E501 - - - :return: The cursor of this PaginationContextPortalUser. # noqa: E501 - :rtype: str - """ - return self._cursor - - @cursor.setter - def cursor(self, cursor): - """Sets the cursor of this PaginationContextPortalUser. - - - :param cursor: The cursor of this PaginationContextPortalUser. # noqa: E501 - :type: str - """ - - self._cursor = cursor - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(PaginationContextPortalUser, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, PaginationContextPortalUser): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_profile.py b/libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_profile.py deleted file mode 100644 index 011f409b4..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_profile.py +++ /dev/null @@ -1,247 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class PaginationContextProfile(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'max_items_per_page': 'int', - 'last_returned_page_number': 'int', - 'total_items_returned': 'int', - 'last_page': 'bool', - 'cursor': 'str' - } - - attribute_map = { - 'model_type': 'model_type', - 'max_items_per_page': 'maxItemsPerPage', - 'last_returned_page_number': 'lastReturnedPageNumber', - 'total_items_returned': 'totalItemsReturned', - 'last_page': 'lastPage', - 'cursor': 'cursor' - } - - def __init__(self, model_type=None, max_items_per_page=20, last_returned_page_number=None, total_items_returned=None, last_page=None, cursor=None): # noqa: E501 - """PaginationContextProfile - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._max_items_per_page = None - self._last_returned_page_number = None - self._total_items_returned = None - self._last_page = None - self._cursor = None - self.discriminator = None - if model_type is not None: - self.model_type = model_type - self.max_items_per_page = max_items_per_page - if last_returned_page_number is not None: - self.last_returned_page_number = last_returned_page_number - if total_items_returned is not None: - self.total_items_returned = total_items_returned - if last_page is not None: - self.last_page = last_page - if cursor is not None: - self.cursor = cursor - - @property - def model_type(self): - """Gets the model_type of this PaginationContextProfile. # noqa: E501 - - - :return: The model_type of this PaginationContextProfile. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this PaginationContextProfile. - - - :param model_type: The model_type of this PaginationContextProfile. # noqa: E501 - :type: str - """ - allowed_values = ["PaginationContext"] # noqa: E501 - if model_type not in allowed_values: - raise ValueError( - "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 - .format(model_type, allowed_values) - ) - - self._model_type = model_type - - @property - def max_items_per_page(self): - """Gets the max_items_per_page of this PaginationContextProfile. # noqa: E501 - - - :return: The max_items_per_page of this PaginationContextProfile. # noqa: E501 - :rtype: int - """ - return self._max_items_per_page - - @max_items_per_page.setter - def max_items_per_page(self, max_items_per_page): - """Sets the max_items_per_page of this PaginationContextProfile. - - - :param max_items_per_page: The max_items_per_page of this PaginationContextProfile. # noqa: E501 - :type: int - """ - if max_items_per_page is None: - raise ValueError("Invalid value for `max_items_per_page`, must not be `None`") # noqa: E501 - - self._max_items_per_page = max_items_per_page - - @property - def last_returned_page_number(self): - """Gets the last_returned_page_number of this PaginationContextProfile. # noqa: E501 - - - :return: The last_returned_page_number of this PaginationContextProfile. # noqa: E501 - :rtype: int - """ - return self._last_returned_page_number - - @last_returned_page_number.setter - def last_returned_page_number(self, last_returned_page_number): - """Sets the last_returned_page_number of this PaginationContextProfile. - - - :param last_returned_page_number: The last_returned_page_number of this PaginationContextProfile. # noqa: E501 - :type: int - """ - - self._last_returned_page_number = last_returned_page_number - - @property - def total_items_returned(self): - """Gets the total_items_returned of this PaginationContextProfile. # noqa: E501 - - - :return: The total_items_returned of this PaginationContextProfile. # noqa: E501 - :rtype: int - """ - return self._total_items_returned - - @total_items_returned.setter - def total_items_returned(self, total_items_returned): - """Sets the total_items_returned of this PaginationContextProfile. - - - :param total_items_returned: The total_items_returned of this PaginationContextProfile. # noqa: E501 - :type: int - """ - - self._total_items_returned = total_items_returned - - @property - def last_page(self): - """Gets the last_page of this PaginationContextProfile. # noqa: E501 - - - :return: The last_page of this PaginationContextProfile. # noqa: E501 - :rtype: bool - """ - return self._last_page - - @last_page.setter - def last_page(self, last_page): - """Sets the last_page of this PaginationContextProfile. - - - :param last_page: The last_page of this PaginationContextProfile. # noqa: E501 - :type: bool - """ - - self._last_page = last_page - - @property - def cursor(self): - """Gets the cursor of this PaginationContextProfile. # noqa: E501 - - - :return: The cursor of this PaginationContextProfile. # noqa: E501 - :rtype: str - """ - return self._cursor - - @cursor.setter - def cursor(self, cursor): - """Sets the cursor of this PaginationContextProfile. - - - :param cursor: The cursor of this PaginationContextProfile. # noqa: E501 - :type: str - """ - - self._cursor = cursor - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(PaginationContextProfile, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, PaginationContextProfile): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_service_metric.py b/libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_service_metric.py deleted file mode 100644 index 8b8a192e7..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_service_metric.py +++ /dev/null @@ -1,247 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class PaginationContextServiceMetric(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'max_items_per_page': 'int', - 'last_returned_page_number': 'int', - 'total_items_returned': 'int', - 'last_page': 'bool', - 'cursor': 'str' - } - - attribute_map = { - 'model_type': 'model_type', - 'max_items_per_page': 'maxItemsPerPage', - 'last_returned_page_number': 'lastReturnedPageNumber', - 'total_items_returned': 'totalItemsReturned', - 'last_page': 'lastPage', - 'cursor': 'cursor' - } - - def __init__(self, model_type=None, max_items_per_page=20, last_returned_page_number=None, total_items_returned=None, last_page=None, cursor=None): # noqa: E501 - """PaginationContextServiceMetric - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._max_items_per_page = None - self._last_returned_page_number = None - self._total_items_returned = None - self._last_page = None - self._cursor = None - self.discriminator = None - if model_type is not None: - self.model_type = model_type - self.max_items_per_page = max_items_per_page - if last_returned_page_number is not None: - self.last_returned_page_number = last_returned_page_number - if total_items_returned is not None: - self.total_items_returned = total_items_returned - if last_page is not None: - self.last_page = last_page - if cursor is not None: - self.cursor = cursor - - @property - def model_type(self): - """Gets the model_type of this PaginationContextServiceMetric. # noqa: E501 - - - :return: The model_type of this PaginationContextServiceMetric. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this PaginationContextServiceMetric. - - - :param model_type: The model_type of this PaginationContextServiceMetric. # noqa: E501 - :type: str - """ - allowed_values = ["PaginationContext"] # noqa: E501 - if model_type not in allowed_values: - raise ValueError( - "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 - .format(model_type, allowed_values) - ) - - self._model_type = model_type - - @property - def max_items_per_page(self): - """Gets the max_items_per_page of this PaginationContextServiceMetric. # noqa: E501 - - - :return: The max_items_per_page of this PaginationContextServiceMetric. # noqa: E501 - :rtype: int - """ - return self._max_items_per_page - - @max_items_per_page.setter - def max_items_per_page(self, max_items_per_page): - """Sets the max_items_per_page of this PaginationContextServiceMetric. - - - :param max_items_per_page: The max_items_per_page of this PaginationContextServiceMetric. # noqa: E501 - :type: int - """ - if max_items_per_page is None: - raise ValueError("Invalid value for `max_items_per_page`, must not be `None`") # noqa: E501 - - self._max_items_per_page = max_items_per_page - - @property - def last_returned_page_number(self): - """Gets the last_returned_page_number of this PaginationContextServiceMetric. # noqa: E501 - - - :return: The last_returned_page_number of this PaginationContextServiceMetric. # noqa: E501 - :rtype: int - """ - return self._last_returned_page_number - - @last_returned_page_number.setter - def last_returned_page_number(self, last_returned_page_number): - """Sets the last_returned_page_number of this PaginationContextServiceMetric. - - - :param last_returned_page_number: The last_returned_page_number of this PaginationContextServiceMetric. # noqa: E501 - :type: int - """ - - self._last_returned_page_number = last_returned_page_number - - @property - def total_items_returned(self): - """Gets the total_items_returned of this PaginationContextServiceMetric. # noqa: E501 - - - :return: The total_items_returned of this PaginationContextServiceMetric. # noqa: E501 - :rtype: int - """ - return self._total_items_returned - - @total_items_returned.setter - def total_items_returned(self, total_items_returned): - """Sets the total_items_returned of this PaginationContextServiceMetric. - - - :param total_items_returned: The total_items_returned of this PaginationContextServiceMetric. # noqa: E501 - :type: int - """ - - self._total_items_returned = total_items_returned - - @property - def last_page(self): - """Gets the last_page of this PaginationContextServiceMetric. # noqa: E501 - - - :return: The last_page of this PaginationContextServiceMetric. # noqa: E501 - :rtype: bool - """ - return self._last_page - - @last_page.setter - def last_page(self, last_page): - """Sets the last_page of this PaginationContextServiceMetric. - - - :param last_page: The last_page of this PaginationContextServiceMetric. # noqa: E501 - :type: bool - """ - - self._last_page = last_page - - @property - def cursor(self): - """Gets the cursor of this PaginationContextServiceMetric. # noqa: E501 - - - :return: The cursor of this PaginationContextServiceMetric. # noqa: E501 - :rtype: str - """ - return self._cursor - - @cursor.setter - def cursor(self, cursor): - """Sets the cursor of this PaginationContextServiceMetric. - - - :param cursor: The cursor of this PaginationContextServiceMetric. # noqa: E501 - :type: str - """ - - self._cursor = cursor - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(PaginationContextServiceMetric, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, PaginationContextServiceMetric): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_status.py b/libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_status.py deleted file mode 100644 index 09fd3f0cf..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_status.py +++ /dev/null @@ -1,247 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class PaginationContextStatus(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'max_items_per_page': 'int', - 'last_returned_page_number': 'int', - 'total_items_returned': 'int', - 'last_page': 'bool', - 'cursor': 'str' - } - - attribute_map = { - 'model_type': 'model_type', - 'max_items_per_page': 'maxItemsPerPage', - 'last_returned_page_number': 'lastReturnedPageNumber', - 'total_items_returned': 'totalItemsReturned', - 'last_page': 'lastPage', - 'cursor': 'cursor' - } - - def __init__(self, model_type=None, max_items_per_page=20, last_returned_page_number=None, total_items_returned=None, last_page=None, cursor=None): # noqa: E501 - """PaginationContextStatus - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._max_items_per_page = None - self._last_returned_page_number = None - self._total_items_returned = None - self._last_page = None - self._cursor = None - self.discriminator = None - if model_type is not None: - self.model_type = model_type - self.max_items_per_page = max_items_per_page - if last_returned_page_number is not None: - self.last_returned_page_number = last_returned_page_number - if total_items_returned is not None: - self.total_items_returned = total_items_returned - if last_page is not None: - self.last_page = last_page - if cursor is not None: - self.cursor = cursor - - @property - def model_type(self): - """Gets the model_type of this PaginationContextStatus. # noqa: E501 - - - :return: The model_type of this PaginationContextStatus. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this PaginationContextStatus. - - - :param model_type: The model_type of this PaginationContextStatus. # noqa: E501 - :type: str - """ - allowed_values = ["PaginationContext"] # noqa: E501 - if model_type not in allowed_values: - raise ValueError( - "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 - .format(model_type, allowed_values) - ) - - self._model_type = model_type - - @property - def max_items_per_page(self): - """Gets the max_items_per_page of this PaginationContextStatus. # noqa: E501 - - - :return: The max_items_per_page of this PaginationContextStatus. # noqa: E501 - :rtype: int - """ - return self._max_items_per_page - - @max_items_per_page.setter - def max_items_per_page(self, max_items_per_page): - """Sets the max_items_per_page of this PaginationContextStatus. - - - :param max_items_per_page: The max_items_per_page of this PaginationContextStatus. # noqa: E501 - :type: int - """ - if max_items_per_page is None: - raise ValueError("Invalid value for `max_items_per_page`, must not be `None`") # noqa: E501 - - self._max_items_per_page = max_items_per_page - - @property - def last_returned_page_number(self): - """Gets the last_returned_page_number of this PaginationContextStatus. # noqa: E501 - - - :return: The last_returned_page_number of this PaginationContextStatus. # noqa: E501 - :rtype: int - """ - return self._last_returned_page_number - - @last_returned_page_number.setter - def last_returned_page_number(self, last_returned_page_number): - """Sets the last_returned_page_number of this PaginationContextStatus. - - - :param last_returned_page_number: The last_returned_page_number of this PaginationContextStatus. # noqa: E501 - :type: int - """ - - self._last_returned_page_number = last_returned_page_number - - @property - def total_items_returned(self): - """Gets the total_items_returned of this PaginationContextStatus. # noqa: E501 - - - :return: The total_items_returned of this PaginationContextStatus. # noqa: E501 - :rtype: int - """ - return self._total_items_returned - - @total_items_returned.setter - def total_items_returned(self, total_items_returned): - """Sets the total_items_returned of this PaginationContextStatus. - - - :param total_items_returned: The total_items_returned of this PaginationContextStatus. # noqa: E501 - :type: int - """ - - self._total_items_returned = total_items_returned - - @property - def last_page(self): - """Gets the last_page of this PaginationContextStatus. # noqa: E501 - - - :return: The last_page of this PaginationContextStatus. # noqa: E501 - :rtype: bool - """ - return self._last_page - - @last_page.setter - def last_page(self, last_page): - """Sets the last_page of this PaginationContextStatus. - - - :param last_page: The last_page of this PaginationContextStatus. # noqa: E501 - :type: bool - """ - - self._last_page = last_page - - @property - def cursor(self): - """Gets the cursor of this PaginationContextStatus. # noqa: E501 - - - :return: The cursor of this PaginationContextStatus. # noqa: E501 - :rtype: str - """ - return self._cursor - - @cursor.setter - def cursor(self, cursor): - """Sets the cursor of this PaginationContextStatus. - - - :param cursor: The cursor of this PaginationContextStatus. # noqa: E501 - :type: str - """ - - self._cursor = cursor - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(PaginationContextStatus, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, PaginationContextStatus): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_system_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_system_event.py deleted file mode 100644 index b80c5d60f..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/pagination_context_system_event.py +++ /dev/null @@ -1,247 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class PaginationContextSystemEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'max_items_per_page': 'int', - 'last_returned_page_number': 'int', - 'total_items_returned': 'int', - 'last_page': 'bool', - 'cursor': 'str' - } - - attribute_map = { - 'model_type': 'model_type', - 'max_items_per_page': 'maxItemsPerPage', - 'last_returned_page_number': 'lastReturnedPageNumber', - 'total_items_returned': 'totalItemsReturned', - 'last_page': 'lastPage', - 'cursor': 'cursor' - } - - def __init__(self, model_type=None, max_items_per_page=20, last_returned_page_number=None, total_items_returned=None, last_page=None, cursor=None): # noqa: E501 - """PaginationContextSystemEvent - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._max_items_per_page = None - self._last_returned_page_number = None - self._total_items_returned = None - self._last_page = None - self._cursor = None - self.discriminator = None - if model_type is not None: - self.model_type = model_type - self.max_items_per_page = max_items_per_page - if last_returned_page_number is not None: - self.last_returned_page_number = last_returned_page_number - if total_items_returned is not None: - self.total_items_returned = total_items_returned - if last_page is not None: - self.last_page = last_page - if cursor is not None: - self.cursor = cursor - - @property - def model_type(self): - """Gets the model_type of this PaginationContextSystemEvent. # noqa: E501 - - - :return: The model_type of this PaginationContextSystemEvent. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this PaginationContextSystemEvent. - - - :param model_type: The model_type of this PaginationContextSystemEvent. # noqa: E501 - :type: str - """ - allowed_values = ["PaginationContext"] # noqa: E501 - if model_type not in allowed_values: - raise ValueError( - "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 - .format(model_type, allowed_values) - ) - - self._model_type = model_type - - @property - def max_items_per_page(self): - """Gets the max_items_per_page of this PaginationContextSystemEvent. # noqa: E501 - - - :return: The max_items_per_page of this PaginationContextSystemEvent. # noqa: E501 - :rtype: int - """ - return self._max_items_per_page - - @max_items_per_page.setter - def max_items_per_page(self, max_items_per_page): - """Sets the max_items_per_page of this PaginationContextSystemEvent. - - - :param max_items_per_page: The max_items_per_page of this PaginationContextSystemEvent. # noqa: E501 - :type: int - """ - if max_items_per_page is None: - raise ValueError("Invalid value for `max_items_per_page`, must not be `None`") # noqa: E501 - - self._max_items_per_page = max_items_per_page - - @property - def last_returned_page_number(self): - """Gets the last_returned_page_number of this PaginationContextSystemEvent. # noqa: E501 - - - :return: The last_returned_page_number of this PaginationContextSystemEvent. # noqa: E501 - :rtype: int - """ - return self._last_returned_page_number - - @last_returned_page_number.setter - def last_returned_page_number(self, last_returned_page_number): - """Sets the last_returned_page_number of this PaginationContextSystemEvent. - - - :param last_returned_page_number: The last_returned_page_number of this PaginationContextSystemEvent. # noqa: E501 - :type: int - """ - - self._last_returned_page_number = last_returned_page_number - - @property - def total_items_returned(self): - """Gets the total_items_returned of this PaginationContextSystemEvent. # noqa: E501 - - - :return: The total_items_returned of this PaginationContextSystemEvent. # noqa: E501 - :rtype: int - """ - return self._total_items_returned - - @total_items_returned.setter - def total_items_returned(self, total_items_returned): - """Sets the total_items_returned of this PaginationContextSystemEvent. - - - :param total_items_returned: The total_items_returned of this PaginationContextSystemEvent. # noqa: E501 - :type: int - """ - - self._total_items_returned = total_items_returned - - @property - def last_page(self): - """Gets the last_page of this PaginationContextSystemEvent. # noqa: E501 - - - :return: The last_page of this PaginationContextSystemEvent. # noqa: E501 - :rtype: bool - """ - return self._last_page - - @last_page.setter - def last_page(self, last_page): - """Sets the last_page of this PaginationContextSystemEvent. - - - :param last_page: The last_page of this PaginationContextSystemEvent. # noqa: E501 - :type: bool - """ - - self._last_page = last_page - - @property - def cursor(self): - """Gets the cursor of this PaginationContextSystemEvent. # noqa: E501 - - - :return: The cursor of this PaginationContextSystemEvent. # noqa: E501 - :rtype: str - """ - return self._cursor - - @cursor.setter - def cursor(self, cursor): - """Sets the cursor of this PaginationContextSystemEvent. - - - :param cursor: The cursor of this PaginationContextSystemEvent. # noqa: E501 - :type: str - """ - - self._cursor = cursor - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(PaginationContextSystemEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, PaginationContextSystemEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_alarm.py b/libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_alarm.py deleted file mode 100644 index 190cb6499..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_alarm.py +++ /dev/null @@ -1,136 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class PaginationResponseAlarm(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'items': 'list[Alarm]', - 'context': 'PaginationContextAlarm' - } - - attribute_map = { - 'items': 'items', - 'context': 'context' - } - - def __init__(self, items=None, context=None): # noqa: E501 - """PaginationResponseAlarm - a model defined in Swagger""" # noqa: E501 - self._items = None - self._context = None - self.discriminator = None - if items is not None: - self.items = items - if context is not None: - self.context = context - - @property - def items(self): - """Gets the items of this PaginationResponseAlarm. # noqa: E501 - - - :return: The items of this PaginationResponseAlarm. # noqa: E501 - :rtype: list[Alarm] - """ - return self._items - - @items.setter - def items(self, items): - """Sets the items of this PaginationResponseAlarm. - - - :param items: The items of this PaginationResponseAlarm. # noqa: E501 - :type: list[Alarm] - """ - - self._items = items - - @property - def context(self): - """Gets the context of this PaginationResponseAlarm. # noqa: E501 - - - :return: The context of this PaginationResponseAlarm. # noqa: E501 - :rtype: PaginationContextAlarm - """ - return self._context - - @context.setter - def context(self, context): - """Sets the context of this PaginationResponseAlarm. - - - :param context: The context of this PaginationResponseAlarm. # noqa: E501 - :type: PaginationContextAlarm - """ - - self._context = context - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(PaginationResponseAlarm, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, PaginationResponseAlarm): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_client.py b/libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_client.py deleted file mode 100644 index aa8c1eb24..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_client.py +++ /dev/null @@ -1,136 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class PaginationResponseClient(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'items': 'list[Client]', - 'context': 'PaginationContextClient' - } - - attribute_map = { - 'items': 'items', - 'context': 'context' - } - - def __init__(self, items=None, context=None): # noqa: E501 - """PaginationResponseClient - a model defined in Swagger""" # noqa: E501 - self._items = None - self._context = None - self.discriminator = None - if items is not None: - self.items = items - if context is not None: - self.context = context - - @property - def items(self): - """Gets the items of this PaginationResponseClient. # noqa: E501 - - - :return: The items of this PaginationResponseClient. # noqa: E501 - :rtype: list[Client] - """ - return self._items - - @items.setter - def items(self, items): - """Sets the items of this PaginationResponseClient. - - - :param items: The items of this PaginationResponseClient. # noqa: E501 - :type: list[Client] - """ - - self._items = items - - @property - def context(self): - """Gets the context of this PaginationResponseClient. # noqa: E501 - - - :return: The context of this PaginationResponseClient. # noqa: E501 - :rtype: PaginationContextClient - """ - return self._context - - @context.setter - def context(self, context): - """Sets the context of this PaginationResponseClient. - - - :param context: The context of this PaginationResponseClient. # noqa: E501 - :type: PaginationContextClient - """ - - self._context = context - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(PaginationResponseClient, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, PaginationResponseClient): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_client_session.py b/libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_client_session.py deleted file mode 100644 index af5604a02..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_client_session.py +++ /dev/null @@ -1,136 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class PaginationResponseClientSession(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'items': 'list[ClientSession]', - 'context': 'PaginationContextClientSession' - } - - attribute_map = { - 'items': 'items', - 'context': 'context' - } - - def __init__(self, items=None, context=None): # noqa: E501 - """PaginationResponseClientSession - a model defined in Swagger""" # noqa: E501 - self._items = None - self._context = None - self.discriminator = None - if items is not None: - self.items = items - if context is not None: - self.context = context - - @property - def items(self): - """Gets the items of this PaginationResponseClientSession. # noqa: E501 - - - :return: The items of this PaginationResponseClientSession. # noqa: E501 - :rtype: list[ClientSession] - """ - return self._items - - @items.setter - def items(self, items): - """Sets the items of this PaginationResponseClientSession. - - - :param items: The items of this PaginationResponseClientSession. # noqa: E501 - :type: list[ClientSession] - """ - - self._items = items - - @property - def context(self): - """Gets the context of this PaginationResponseClientSession. # noqa: E501 - - - :return: The context of this PaginationResponseClientSession. # noqa: E501 - :rtype: PaginationContextClientSession - """ - return self._context - - @context.setter - def context(self, context): - """Sets the context of this PaginationResponseClientSession. - - - :param context: The context of this PaginationResponseClientSession. # noqa: E501 - :type: PaginationContextClientSession - """ - - self._context = context - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(PaginationResponseClientSession, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, PaginationResponseClientSession): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_equipment.py b/libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_equipment.py deleted file mode 100644 index 93c7a5ca7..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_equipment.py +++ /dev/null @@ -1,136 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class PaginationResponseEquipment(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'items': 'list[Equipment]', - 'context': 'PaginationContextEquipment' - } - - attribute_map = { - 'items': 'items', - 'context': 'context' - } - - def __init__(self, items=None, context=None): # noqa: E501 - """PaginationResponseEquipment - a model defined in Swagger""" # noqa: E501 - self._items = None - self._context = None - self.discriminator = None - if items is not None: - self.items = items - if context is not None: - self.context = context - - @property - def items(self): - """Gets the items of this PaginationResponseEquipment. # noqa: E501 - - - :return: The items of this PaginationResponseEquipment. # noqa: E501 - :rtype: list[Equipment] - """ - return self._items - - @items.setter - def items(self, items): - """Sets the items of this PaginationResponseEquipment. - - - :param items: The items of this PaginationResponseEquipment. # noqa: E501 - :type: list[Equipment] - """ - - self._items = items - - @property - def context(self): - """Gets the context of this PaginationResponseEquipment. # noqa: E501 - - - :return: The context of this PaginationResponseEquipment. # noqa: E501 - :rtype: PaginationContextEquipment - """ - return self._context - - @context.setter - def context(self, context): - """Sets the context of this PaginationResponseEquipment. - - - :param context: The context of this PaginationResponseEquipment. # noqa: E501 - :type: PaginationContextEquipment - """ - - self._context = context - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(PaginationResponseEquipment, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, PaginationResponseEquipment): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_location.py b/libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_location.py deleted file mode 100644 index 773db0e05..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_location.py +++ /dev/null @@ -1,136 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class PaginationResponseLocation(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'items': 'list[Location]', - 'context': 'PaginationContextLocation' - } - - attribute_map = { - 'items': 'items', - 'context': 'context' - } - - def __init__(self, items=None, context=None): # noqa: E501 - """PaginationResponseLocation - a model defined in Swagger""" # noqa: E501 - self._items = None - self._context = None - self.discriminator = None - if items is not None: - self.items = items - if context is not None: - self.context = context - - @property - def items(self): - """Gets the items of this PaginationResponseLocation. # noqa: E501 - - - :return: The items of this PaginationResponseLocation. # noqa: E501 - :rtype: list[Location] - """ - return self._items - - @items.setter - def items(self, items): - """Sets the items of this PaginationResponseLocation. - - - :param items: The items of this PaginationResponseLocation. # noqa: E501 - :type: list[Location] - """ - - self._items = items - - @property - def context(self): - """Gets the context of this PaginationResponseLocation. # noqa: E501 - - - :return: The context of this PaginationResponseLocation. # noqa: E501 - :rtype: PaginationContextLocation - """ - return self._context - - @context.setter - def context(self, context): - """Sets the context of this PaginationResponseLocation. - - - :param context: The context of this PaginationResponseLocation. # noqa: E501 - :type: PaginationContextLocation - """ - - self._context = context - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(PaginationResponseLocation, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, PaginationResponseLocation): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_portal_user.py b/libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_portal_user.py deleted file mode 100644 index 3b8360dd7..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_portal_user.py +++ /dev/null @@ -1,136 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class PaginationResponsePortalUser(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'items': 'list[PortalUser]', - 'context': 'PaginationContextPortalUser' - } - - attribute_map = { - 'items': 'items', - 'context': 'context' - } - - def __init__(self, items=None, context=None): # noqa: E501 - """PaginationResponsePortalUser - a model defined in Swagger""" # noqa: E501 - self._items = None - self._context = None - self.discriminator = None - if items is not None: - self.items = items - if context is not None: - self.context = context - - @property - def items(self): - """Gets the items of this PaginationResponsePortalUser. # noqa: E501 - - - :return: The items of this PaginationResponsePortalUser. # noqa: E501 - :rtype: list[PortalUser] - """ - return self._items - - @items.setter - def items(self, items): - """Sets the items of this PaginationResponsePortalUser. - - - :param items: The items of this PaginationResponsePortalUser. # noqa: E501 - :type: list[PortalUser] - """ - - self._items = items - - @property - def context(self): - """Gets the context of this PaginationResponsePortalUser. # noqa: E501 - - - :return: The context of this PaginationResponsePortalUser. # noqa: E501 - :rtype: PaginationContextPortalUser - """ - return self._context - - @context.setter - def context(self, context): - """Sets the context of this PaginationResponsePortalUser. - - - :param context: The context of this PaginationResponsePortalUser. # noqa: E501 - :type: PaginationContextPortalUser - """ - - self._context = context - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(PaginationResponsePortalUser, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, PaginationResponsePortalUser): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_profile.py b/libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_profile.py deleted file mode 100644 index 720888012..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_profile.py +++ /dev/null @@ -1,136 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class PaginationResponseProfile(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'items': 'list[Profile]', - 'context': 'PaginationContextProfile' - } - - attribute_map = { - 'items': 'items', - 'context': 'context' - } - - def __init__(self, items=None, context=None): # noqa: E501 - """PaginationResponseProfile - a model defined in Swagger""" # noqa: E501 - self._items = None - self._context = None - self.discriminator = None - if items is not None: - self.items = items - if context is not None: - self.context = context - - @property - def items(self): - """Gets the items of this PaginationResponseProfile. # noqa: E501 - - - :return: The items of this PaginationResponseProfile. # noqa: E501 - :rtype: list[Profile] - """ - return self._items - - @items.setter - def items(self, items): - """Sets the items of this PaginationResponseProfile. - - - :param items: The items of this PaginationResponseProfile. # noqa: E501 - :type: list[Profile] - """ - - self._items = items - - @property - def context(self): - """Gets the context of this PaginationResponseProfile. # noqa: E501 - - - :return: The context of this PaginationResponseProfile. # noqa: E501 - :rtype: PaginationContextProfile - """ - return self._context - - @context.setter - def context(self, context): - """Sets the context of this PaginationResponseProfile. - - - :param context: The context of this PaginationResponseProfile. # noqa: E501 - :type: PaginationContextProfile - """ - - self._context = context - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(PaginationResponseProfile, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, PaginationResponseProfile): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_service_metric.py b/libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_service_metric.py deleted file mode 100644 index 8ff03e07c..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_service_metric.py +++ /dev/null @@ -1,136 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class PaginationResponseServiceMetric(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'items': 'list[ServiceMetric]', - 'context': 'PaginationContextServiceMetric' - } - - attribute_map = { - 'items': 'items', - 'context': 'context' - } - - def __init__(self, items=None, context=None): # noqa: E501 - """PaginationResponseServiceMetric - a model defined in Swagger""" # noqa: E501 - self._items = None - self._context = None - self.discriminator = None - if items is not None: - self.items = items - if context is not None: - self.context = context - - @property - def items(self): - """Gets the items of this PaginationResponseServiceMetric. # noqa: E501 - - - :return: The items of this PaginationResponseServiceMetric. # noqa: E501 - :rtype: list[ServiceMetric] - """ - return self._items - - @items.setter - def items(self, items): - """Sets the items of this PaginationResponseServiceMetric. - - - :param items: The items of this PaginationResponseServiceMetric. # noqa: E501 - :type: list[ServiceMetric] - """ - - self._items = items - - @property - def context(self): - """Gets the context of this PaginationResponseServiceMetric. # noqa: E501 - - - :return: The context of this PaginationResponseServiceMetric. # noqa: E501 - :rtype: PaginationContextServiceMetric - """ - return self._context - - @context.setter - def context(self, context): - """Sets the context of this PaginationResponseServiceMetric. - - - :param context: The context of this PaginationResponseServiceMetric. # noqa: E501 - :type: PaginationContextServiceMetric - """ - - self._context = context - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(PaginationResponseServiceMetric, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, PaginationResponseServiceMetric): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_status.py b/libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_status.py deleted file mode 100644 index f74638464..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_status.py +++ /dev/null @@ -1,136 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class PaginationResponseStatus(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'items': 'list[Status]', - 'context': 'PaginationContextStatus' - } - - attribute_map = { - 'items': 'items', - 'context': 'context' - } - - def __init__(self, items=None, context=None): # noqa: E501 - """PaginationResponseStatus - a model defined in Swagger""" # noqa: E501 - self._items = None - self._context = None - self.discriminator = None - if items is not None: - self.items = items - if context is not None: - self.context = context - - @property - def items(self): - """Gets the items of this PaginationResponseStatus. # noqa: E501 - - - :return: The items of this PaginationResponseStatus. # noqa: E501 - :rtype: list[Status] - """ - return self._items - - @items.setter - def items(self, items): - """Sets the items of this PaginationResponseStatus. - - - :param items: The items of this PaginationResponseStatus. # noqa: E501 - :type: list[Status] - """ - - self._items = items - - @property - def context(self): - """Gets the context of this PaginationResponseStatus. # noqa: E501 - - - :return: The context of this PaginationResponseStatus. # noqa: E501 - :rtype: PaginationContextStatus - """ - return self._context - - @context.setter - def context(self, context): - """Sets the context of this PaginationResponseStatus. - - - :param context: The context of this PaginationResponseStatus. # noqa: E501 - :type: PaginationContextStatus - """ - - self._context = context - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(PaginationResponseStatus, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, PaginationResponseStatus): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_system_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_system_event.py deleted file mode 100644 index a729fec86..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/pagination_response_system_event.py +++ /dev/null @@ -1,136 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class PaginationResponseSystemEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'items': 'list[SystemEventRecord]', - 'context': 'PaginationContextSystemEvent' - } - - attribute_map = { - 'items': 'items', - 'context': 'context' - } - - def __init__(self, items=None, context=None): # noqa: E501 - """PaginationResponseSystemEvent - a model defined in Swagger""" # noqa: E501 - self._items = None - self._context = None - self.discriminator = None - if items is not None: - self.items = items - if context is not None: - self.context = context - - @property - def items(self): - """Gets the items of this PaginationResponseSystemEvent. # noqa: E501 - - - :return: The items of this PaginationResponseSystemEvent. # noqa: E501 - :rtype: list[SystemEventRecord] - """ - return self._items - - @items.setter - def items(self, items): - """Sets the items of this PaginationResponseSystemEvent. - - - :param items: The items of this PaginationResponseSystemEvent. # noqa: E501 - :type: list[SystemEventRecord] - """ - - self._items = items - - @property - def context(self): - """Gets the context of this PaginationResponseSystemEvent. # noqa: E501 - - - :return: The context of this PaginationResponseSystemEvent. # noqa: E501 - :rtype: PaginationContextSystemEvent - """ - return self._context - - @context.setter - def context(self, context): - """Sets the context of this PaginationResponseSystemEvent. - - - :param context: The context of this PaginationResponseSystemEvent. # noqa: E501 - :type: PaginationContextSystemEvent - """ - - self._context = context - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(PaginationResponseSystemEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, PaginationResponseSystemEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/pair_long_long.py b/libs/cloudapi/cloudsdk/swagger_client/models/pair_long_long.py deleted file mode 100644 index 61e7a6c9e..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/pair_long_long.py +++ /dev/null @@ -1,136 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class PairLongLong(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'value1': 'int', - 'value2': 'int' - } - - attribute_map = { - 'value1': 'value1', - 'value2': 'value2' - } - - def __init__(self, value1=None, value2=None): # noqa: E501 - """PairLongLong - a model defined in Swagger""" # noqa: E501 - self._value1 = None - self._value2 = None - self.discriminator = None - if value1 is not None: - self.value1 = value1 - if value2 is not None: - self.value2 = value2 - - @property - def value1(self): - """Gets the value1 of this PairLongLong. # noqa: E501 - - - :return: The value1 of this PairLongLong. # noqa: E501 - :rtype: int - """ - return self._value1 - - @value1.setter - def value1(self, value1): - """Sets the value1 of this PairLongLong. - - - :param value1: The value1 of this PairLongLong. # noqa: E501 - :type: int - """ - - self._value1 = value1 - - @property - def value2(self): - """Gets the value2 of this PairLongLong. # noqa: E501 - - - :return: The value2 of this PairLongLong. # noqa: E501 - :rtype: int - """ - return self._value2 - - @value2.setter - def value2(self, value2): - """Sets the value2 of this PairLongLong. - - - :param value2: The value2 of this PairLongLong. # noqa: E501 - :type: int - """ - - self._value2 = value2 - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(PairLongLong, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, PairLongLong): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_access_network_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_access_network_type.py deleted file mode 100644 index ba6de56e1..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_access_network_type.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class PasspointAccessNetworkType(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - PRIVATE_NETWORK = "private_network" - PRIVATE_NETWORK_GUEST_ACCESS = "private_network_guest_access" - CHANGEABLE_PUBLIC_NETWORK = "changeable_public_network" - FREE_PUBLIC_NETWORK = "free_public_network" - PERSON_DEVICE_NETWORK = "person_device_network" - EMERGENCY_SERVICES_ONLY_NETWORK = "emergency_services_only_network" - TEST_OR_EXPERIMENTAL = "test_or_experimental" - WILDCARD = "wildcard" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """PasspointAccessNetworkType - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(PasspointAccessNetworkType, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, PasspointAccessNetworkType): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_connection_capabilities_ip_protocol.py b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_connection_capabilities_ip_protocol.py deleted file mode 100644 index 27283bf5b..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_connection_capabilities_ip_protocol.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class PasspointConnectionCapabilitiesIpProtocol(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - ICMP = "ICMP" - TCP = "TCP" - UDP = "UDP" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """PasspointConnectionCapabilitiesIpProtocol - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(PasspointConnectionCapabilitiesIpProtocol, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, PasspointConnectionCapabilitiesIpProtocol): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_connection_capabilities_status.py b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_connection_capabilities_status.py deleted file mode 100644 index dff2c15b1..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_connection_capabilities_status.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class PasspointConnectionCapabilitiesStatus(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - CLOSED = "closed" - OPEN = "open" - UNKNOWN = "unknown" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """PasspointConnectionCapabilitiesStatus - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(PasspointConnectionCapabilitiesStatus, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, PasspointConnectionCapabilitiesStatus): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_connection_capability.py b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_connection_capability.py deleted file mode 100644 index 65b873376..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_connection_capability.py +++ /dev/null @@ -1,162 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class PasspointConnectionCapability(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'connection_capabilities_port_number': 'int', - 'connection_capabilities_ip_protocol': 'PasspointConnectionCapabilitiesIpProtocol', - 'connection_capabilities_status': 'PasspointConnectionCapabilitiesStatus' - } - - attribute_map = { - 'connection_capabilities_port_number': 'connectionCapabilitiesPortNumber', - 'connection_capabilities_ip_protocol': 'connectionCapabilitiesIpProtocol', - 'connection_capabilities_status': 'connectionCapabilitiesStatus' - } - - def __init__(self, connection_capabilities_port_number=None, connection_capabilities_ip_protocol=None, connection_capabilities_status=None): # noqa: E501 - """PasspointConnectionCapability - a model defined in Swagger""" # noqa: E501 - self._connection_capabilities_port_number = None - self._connection_capabilities_ip_protocol = None - self._connection_capabilities_status = None - self.discriminator = None - if connection_capabilities_port_number is not None: - self.connection_capabilities_port_number = connection_capabilities_port_number - if connection_capabilities_ip_protocol is not None: - self.connection_capabilities_ip_protocol = connection_capabilities_ip_protocol - if connection_capabilities_status is not None: - self.connection_capabilities_status = connection_capabilities_status - - @property - def connection_capabilities_port_number(self): - """Gets the connection_capabilities_port_number of this PasspointConnectionCapability. # noqa: E501 - - - :return: The connection_capabilities_port_number of this PasspointConnectionCapability. # noqa: E501 - :rtype: int - """ - return self._connection_capabilities_port_number - - @connection_capabilities_port_number.setter - def connection_capabilities_port_number(self, connection_capabilities_port_number): - """Sets the connection_capabilities_port_number of this PasspointConnectionCapability. - - - :param connection_capabilities_port_number: The connection_capabilities_port_number of this PasspointConnectionCapability. # noqa: E501 - :type: int - """ - - self._connection_capabilities_port_number = connection_capabilities_port_number - - @property - def connection_capabilities_ip_protocol(self): - """Gets the connection_capabilities_ip_protocol of this PasspointConnectionCapability. # noqa: E501 - - - :return: The connection_capabilities_ip_protocol of this PasspointConnectionCapability. # noqa: E501 - :rtype: PasspointConnectionCapabilitiesIpProtocol - """ - return self._connection_capabilities_ip_protocol - - @connection_capabilities_ip_protocol.setter - def connection_capabilities_ip_protocol(self, connection_capabilities_ip_protocol): - """Sets the connection_capabilities_ip_protocol of this PasspointConnectionCapability. - - - :param connection_capabilities_ip_protocol: The connection_capabilities_ip_protocol of this PasspointConnectionCapability. # noqa: E501 - :type: PasspointConnectionCapabilitiesIpProtocol - """ - - self._connection_capabilities_ip_protocol = connection_capabilities_ip_protocol - - @property - def connection_capabilities_status(self): - """Gets the connection_capabilities_status of this PasspointConnectionCapability. # noqa: E501 - - - :return: The connection_capabilities_status of this PasspointConnectionCapability. # noqa: E501 - :rtype: PasspointConnectionCapabilitiesStatus - """ - return self._connection_capabilities_status - - @connection_capabilities_status.setter - def connection_capabilities_status(self, connection_capabilities_status): - """Sets the connection_capabilities_status of this PasspointConnectionCapability. - - - :param connection_capabilities_status: The connection_capabilities_status of this PasspointConnectionCapability. # noqa: E501 - :type: PasspointConnectionCapabilitiesStatus - """ - - self._connection_capabilities_status = connection_capabilities_status - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(PasspointConnectionCapability, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, PasspointConnectionCapability): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_duple.py b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_duple.py deleted file mode 100644 index 9f4f8ecbb..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_duple.py +++ /dev/null @@ -1,194 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class PasspointDuple(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'locale': 'str', - 'duple_iso3_language': 'str', - 'duple_name': 'str', - 'default_duple_separator': 'str' - } - - attribute_map = { - 'locale': 'locale', - 'duple_iso3_language': 'dupleIso3Language', - 'duple_name': 'dupleName', - 'default_duple_separator': 'defaultDupleSeparator' - } - - def __init__(self, locale=None, duple_iso3_language=None, duple_name=None, default_duple_separator=None): # noqa: E501 - """PasspointDuple - a model defined in Swagger""" # noqa: E501 - self._locale = None - self._duple_iso3_language = None - self._duple_name = None - self._default_duple_separator = None - self.discriminator = None - if locale is not None: - self.locale = locale - if duple_iso3_language is not None: - self.duple_iso3_language = duple_iso3_language - if duple_name is not None: - self.duple_name = duple_name - if default_duple_separator is not None: - self.default_duple_separator = default_duple_separator - - @property - def locale(self): - """Gets the locale of this PasspointDuple. # noqa: E501 - - The locale for this duple. # noqa: E501 - - :return: The locale of this PasspointDuple. # noqa: E501 - :rtype: str - """ - return self._locale - - @locale.setter - def locale(self, locale): - """Sets the locale of this PasspointDuple. - - The locale for this duple. # noqa: E501 - - :param locale: The locale of this PasspointDuple. # noqa: E501 - :type: str - """ - - self._locale = locale - - @property - def duple_iso3_language(self): - """Gets the duple_iso3_language of this PasspointDuple. # noqa: E501 - - 3 letter iso language representation based on locale # noqa: E501 - - :return: The duple_iso3_language of this PasspointDuple. # noqa: E501 - :rtype: str - """ - return self._duple_iso3_language - - @duple_iso3_language.setter - def duple_iso3_language(self, duple_iso3_language): - """Sets the duple_iso3_language of this PasspointDuple. - - 3 letter iso language representation based on locale # noqa: E501 - - :param duple_iso3_language: The duple_iso3_language of this PasspointDuple. # noqa: E501 - :type: str - """ - - self._duple_iso3_language = duple_iso3_language - - @property - def duple_name(self): - """Gets the duple_name of this PasspointDuple. # noqa: E501 - - - :return: The duple_name of this PasspointDuple. # noqa: E501 - :rtype: str - """ - return self._duple_name - - @duple_name.setter - def duple_name(self, duple_name): - """Sets the duple_name of this PasspointDuple. - - - :param duple_name: The duple_name of this PasspointDuple. # noqa: E501 - :type: str - """ - - self._duple_name = duple_name - - @property - def default_duple_separator(self): - """Gets the default_duple_separator of this PasspointDuple. # noqa: E501 - - default separator between the values of a duple, by default it is a ':' # noqa: E501 - - :return: The default_duple_separator of this PasspointDuple. # noqa: E501 - :rtype: str - """ - return self._default_duple_separator - - @default_duple_separator.setter - def default_duple_separator(self, default_duple_separator): - """Sets the default_duple_separator of this PasspointDuple. - - default separator between the values of a duple, by default it is a ':' # noqa: E501 - - :param default_duple_separator: The default_duple_separator of this PasspointDuple. # noqa: E501 - :type: str - """ - - self._default_duple_separator = default_duple_separator - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(PasspointDuple, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, PasspointDuple): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_eap_methods.py b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_eap_methods.py deleted file mode 100644 index d9f197551..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_eap_methods.py +++ /dev/null @@ -1,93 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class PasspointEapMethods(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - TLS = "eap_tls" - TTLS = "eap_ttls" - AKA_AUTHENTICATION = "eap_aka_authentication" - MSCHAP_V2 = "eap_mschap_v2" - AKA = "eap_aka" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """PasspointEapMethods - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(PasspointEapMethods, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, PasspointEapMethods): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_gas_address3_behaviour.py b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_gas_address3_behaviour.py deleted file mode 100644 index 9b412c1b2..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_gas_address3_behaviour.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class PasspointGasAddress3Behaviour(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - P2PSPECWORKAROUNDFROMREQUEST = "p2pSpecWorkaroundFromRequest" - IEEE80211STANDARDCOMPLIANTONLY = "ieee80211StandardCompliantOnly" - FORCENONCOMPLIANTBEHAVIOURFROMREQUEST = "forceNonCompliantBehaviourFromRequest" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """PasspointGasAddress3Behaviour - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(PasspointGasAddress3Behaviour, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, PasspointGasAddress3Behaviour): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_i_pv4_address_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_i_pv4_address_type.py deleted file mode 100644 index ba747bb75..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_i_pv4_address_type.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class PasspointIPv4AddressType(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - ADDRESS_TYPE_NOT_AVAILABLE = "address_type_not_available" - PUBLIC_IPV4_ADDRESS_AVAILABLE = "public_IPv4_address_available" - PORT_RESTRICTED_IPV4_ADDRESS_AVAILABLE = "port_restricted_IPv4_address_available" - SINGLE_NATED_PRIVATE_IPV4_ADDRESS_AVAILABLE = "single_NATed_private_IPv4_address_available" - DOUBLE_NATED_PRIVATE_IPV4_ADDRESS_AVAILABLE = "double_NATed_private_IPv4_address_available" - PORT_RESTRICTED_IPV4_ADDRESS_AND_SINGLE_NATED_IPV4_ADDRESS_AVAILABLE = "port_restricted_IPv4_address_and_single_NATed_IPv4_address_available" - PORT_RESTRICTED_IPV4_ADDRESS_AND_DOUBLE_NATED_IPV4_ADDRESS_AVAILABLE = "port_restricted_IPv4_address_and_double_NATed_IPv4_address_available" - AVAILABILITY_OF_THE_ADDRESS_TYPE_IS_UNKNOWN = "availability_of_the_address_type_is_unknown" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """PasspointIPv4AddressType - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(PasspointIPv4AddressType, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, PasspointIPv4AddressType): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_i_pv6_address_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_i_pv6_address_type.py deleted file mode 100644 index 9759ac721..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_i_pv6_address_type.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class PasspointIPv6AddressType(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - ADDRESS_TYPE_NOT_AVAILABLE = "address_type_not_available" - ADDRESS_TYPE_AVAILABLE = "address_type_available" - AVAILABILITY_OF_THE_ADDRESS_TYPE_IS_UNKNOWN = "availability_of_the_address_type_is_unknown" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """PasspointIPv6AddressType - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(PasspointIPv6AddressType, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, PasspointIPv6AddressType): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_mcc_mnc.py b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_mcc_mnc.py deleted file mode 100644 index 3da63287f..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_mcc_mnc.py +++ /dev/null @@ -1,240 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class PasspointMccMnc(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'mcc': 'int', - 'mnc': 'int', - 'iso': 'str', - 'country': 'str', - 'country_code': 'int', - 'network': 'str' - } - - attribute_map = { - 'mcc': 'mcc', - 'mnc': 'mnc', - 'iso': 'iso', - 'country': 'country', - 'country_code': 'countryCode', - 'network': 'network' - } - - def __init__(self, mcc=None, mnc=None, iso=None, country=None, country_code=None, network=None): # noqa: E501 - """PasspointMccMnc - a model defined in Swagger""" # noqa: E501 - self._mcc = None - self._mnc = None - self._iso = None - self._country = None - self._country_code = None - self._network = None - self.discriminator = None - if mcc is not None: - self.mcc = mcc - if mnc is not None: - self.mnc = mnc - if iso is not None: - self.iso = iso - if country is not None: - self.country = country - if country_code is not None: - self.country_code = country_code - if network is not None: - self.network = network - - @property - def mcc(self): - """Gets the mcc of this PasspointMccMnc. # noqa: E501 - - - :return: The mcc of this PasspointMccMnc. # noqa: E501 - :rtype: int - """ - return self._mcc - - @mcc.setter - def mcc(self, mcc): - """Sets the mcc of this PasspointMccMnc. - - - :param mcc: The mcc of this PasspointMccMnc. # noqa: E501 - :type: int - """ - - self._mcc = mcc - - @property - def mnc(self): - """Gets the mnc of this PasspointMccMnc. # noqa: E501 - - - :return: The mnc of this PasspointMccMnc. # noqa: E501 - :rtype: int - """ - return self._mnc - - @mnc.setter - def mnc(self, mnc): - """Sets the mnc of this PasspointMccMnc. - - - :param mnc: The mnc of this PasspointMccMnc. # noqa: E501 - :type: int - """ - - self._mnc = mnc - - @property - def iso(self): - """Gets the iso of this PasspointMccMnc. # noqa: E501 - - - :return: The iso of this PasspointMccMnc. # noqa: E501 - :rtype: str - """ - return self._iso - - @iso.setter - def iso(self, iso): - """Sets the iso of this PasspointMccMnc. - - - :param iso: The iso of this PasspointMccMnc. # noqa: E501 - :type: str - """ - - self._iso = iso - - @property - def country(self): - """Gets the country of this PasspointMccMnc. # noqa: E501 - - - :return: The country of this PasspointMccMnc. # noqa: E501 - :rtype: str - """ - return self._country - - @country.setter - def country(self, country): - """Sets the country of this PasspointMccMnc. - - - :param country: The country of this PasspointMccMnc. # noqa: E501 - :type: str - """ - - self._country = country - - @property - def country_code(self): - """Gets the country_code of this PasspointMccMnc. # noqa: E501 - - - :return: The country_code of this PasspointMccMnc. # noqa: E501 - :rtype: int - """ - return self._country_code - - @country_code.setter - def country_code(self, country_code): - """Sets the country_code of this PasspointMccMnc. - - - :param country_code: The country_code of this PasspointMccMnc. # noqa: E501 - :type: int - """ - - self._country_code = country_code - - @property - def network(self): - """Gets the network of this PasspointMccMnc. # noqa: E501 - - - :return: The network of this PasspointMccMnc. # noqa: E501 - :rtype: str - """ - return self._network - - @network.setter - def network(self, network): - """Sets the network of this PasspointMccMnc. - - - :param network: The network of this PasspointMccMnc. # noqa: E501 - :type: str - """ - - self._network = network - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(PasspointMccMnc, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, PasspointMccMnc): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_nai_realm_eap_auth_inner_non_eap.py b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_nai_realm_eap_auth_inner_non_eap.py deleted file mode 100644 index 887a165a9..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_nai_realm_eap_auth_inner_non_eap.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class PasspointNaiRealmEapAuthInnerNonEap(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - PAP = "NAI_REALM_INNER_NON_EAP_PAP" - CHAP = "NAI_REALM_INNER_NON_EAP_CHAP" - MSCHAP = "NAI_REALM_INNER_NON_EAP_MSCHAP" - MSCHAPV2 = "NAI_REALM_INNER_NON_EAP_MSCHAPV2" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """PasspointNaiRealmEapAuthInnerNonEap - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(PasspointNaiRealmEapAuthInnerNonEap, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, PasspointNaiRealmEapAuthInnerNonEap): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_nai_realm_eap_auth_param.py b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_nai_realm_eap_auth_param.py deleted file mode 100644 index e20350e80..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_nai_realm_eap_auth_param.py +++ /dev/null @@ -1,95 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class PasspointNaiRealmEapAuthParam(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - EXPANDED_EAP_METHOD = "NAI_REALM_EAP_AUTH_EXPANDED_EAP_METHOD" - NON_EAP_INNER_AUTH = "NAI_REALM_EAP_AUTH_NON_EAP_INNER_AUTH" - INNER_AUTH_EAP_METHOD = "NAI_REALM_EAP_AUTH_INNER_AUTH_EAP_METHOD" - EXPANDED_INNER_EAP_METHOD = "NAI_REALM_EAP_AUTH_EXPANDED_INNER_EAP_METHOD" - CRED_TYPE = "NAI_REALM_EAP_AUTH_CRED_TYPE" - TUNNELED_CRED_TYPE = "NAI_REALM_EAP_AUTH_TUNNELED_CRED_TYPE" - VENDOR_SPECIFIC = "NAI_REALM_EAP_AUTH_VENDOR_SPECIFIC" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """PasspointNaiRealmEapAuthParam - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(PasspointNaiRealmEapAuthParam, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, PasspointNaiRealmEapAuthParam): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_nai_realm_eap_cred_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_nai_realm_eap_cred_type.py deleted file mode 100644 index 072706cbb..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_nai_realm_eap_cred_type.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class PasspointNaiRealmEapCredType(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - SIM = "NAI_REALM_CRED_TYPE_SIM" - USIM = "NAI_REALM_CRED_TYPE_USIM" - NFC_SECURE_ELEMENT = "NAI_REALM_CRED_TYPE_NFC_SECURE_ELEMENT" - HARDWARE_TOKEN = "NAI_REALM_CRED_TYPE_HARDWARE_TOKEN" - SOFTOKEN = "NAI_REALM_CRED_TYPE_SOFTOKEN" - CERTIFICATE = "NAI_REALM_CRED_TYPE_CERTIFICATE" - USERNAME_PASSWORD = "NAI_REALM_CRED_TYPE_USERNAME_PASSWORD" - NONE = "NAI_REALM_CRED_TYPE_NONE" - ANONYMOUS = "NAI_REALM_CRED_TYPE_ANONYMOUS" - VENDOR_SPECIFIC = "NAI_REALM_CRED_TYPE_VENDOR_SPECIFIC" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """PasspointNaiRealmEapCredType - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(PasspointNaiRealmEapCredType, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, PasspointNaiRealmEapCredType): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_nai_realm_encoding.py b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_nai_realm_encoding.py deleted file mode 100644 index 5cb274dc9..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_nai_realm_encoding.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class PasspointNaiRealmEncoding(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - IETF_RFC_4282_ENCODING = "ietf_rfc_4282_encoding" - UTF8_NON_IETF_RFC_4282_ENCODING = "utf8_non_ietf_rfc_4282_encoding" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """PasspointNaiRealmEncoding - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(PasspointNaiRealmEncoding, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, PasspointNaiRealmEncoding): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_nai_realm_information.py b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_nai_realm_information.py deleted file mode 100644 index 21cc501f0..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_nai_realm_information.py +++ /dev/null @@ -1,192 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class PasspointNaiRealmInformation(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'nai_realms': 'list[str]', - 'encoding': 'PasspointNaiRealmEncoding', - 'eap_methods': 'list[PasspointEapMethods]', - 'eap_map': 'dict(str, str)' - } - - attribute_map = { - 'nai_realms': 'naiRealms', - 'encoding': 'encoding', - 'eap_methods': 'eapMethods', - 'eap_map': 'eapMap' - } - - def __init__(self, nai_realms=None, encoding=None, eap_methods=None, eap_map=None): # noqa: E501 - """PasspointNaiRealmInformation - a model defined in Swagger""" # noqa: E501 - self._nai_realms = None - self._encoding = None - self._eap_methods = None - self._eap_map = None - self.discriminator = None - if nai_realms is not None: - self.nai_realms = nai_realms - if encoding is not None: - self.encoding = encoding - if eap_methods is not None: - self.eap_methods = eap_methods - if eap_map is not None: - self.eap_map = eap_map - - @property - def nai_realms(self): - """Gets the nai_realms of this PasspointNaiRealmInformation. # noqa: E501 - - - :return: The nai_realms of this PasspointNaiRealmInformation. # noqa: E501 - :rtype: list[str] - """ - return self._nai_realms - - @nai_realms.setter - def nai_realms(self, nai_realms): - """Sets the nai_realms of this PasspointNaiRealmInformation. - - - :param nai_realms: The nai_realms of this PasspointNaiRealmInformation. # noqa: E501 - :type: list[str] - """ - - self._nai_realms = nai_realms - - @property - def encoding(self): - """Gets the encoding of this PasspointNaiRealmInformation. # noqa: E501 - - - :return: The encoding of this PasspointNaiRealmInformation. # noqa: E501 - :rtype: PasspointNaiRealmEncoding - """ - return self._encoding - - @encoding.setter - def encoding(self, encoding): - """Sets the encoding of this PasspointNaiRealmInformation. - - - :param encoding: The encoding of this PasspointNaiRealmInformation. # noqa: E501 - :type: PasspointNaiRealmEncoding - """ - - self._encoding = encoding - - @property - def eap_methods(self): - """Gets the eap_methods of this PasspointNaiRealmInformation. # noqa: E501 - - array of EAP methods # noqa: E501 - - :return: The eap_methods of this PasspointNaiRealmInformation. # noqa: E501 - :rtype: list[PasspointEapMethods] - """ - return self._eap_methods - - @eap_methods.setter - def eap_methods(self, eap_methods): - """Sets the eap_methods of this PasspointNaiRealmInformation. - - array of EAP methods # noqa: E501 - - :param eap_methods: The eap_methods of this PasspointNaiRealmInformation. # noqa: E501 - :type: list[PasspointEapMethods] - """ - - self._eap_methods = eap_methods - - @property - def eap_map(self): - """Gets the eap_map of this PasspointNaiRealmInformation. # noqa: E501 - - map of string values comrised of 'param + credential' types, keyed by EAP methods # noqa: E501 - - :return: The eap_map of this PasspointNaiRealmInformation. # noqa: E501 - :rtype: dict(str, str) - """ - return self._eap_map - - @eap_map.setter - def eap_map(self, eap_map): - """Sets the eap_map of this PasspointNaiRealmInformation. - - map of string values comrised of 'param + credential' types, keyed by EAP methods # noqa: E501 - - :param eap_map: The eap_map of this PasspointNaiRealmInformation. # noqa: E501 - :type: dict(str, str) - """ - - self._eap_map = eap_map - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(PasspointNaiRealmInformation, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, PasspointNaiRealmInformation): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_network_authentication_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_network_authentication_type.py deleted file mode 100644 index 4329ddb70..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_network_authentication_type.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class PasspointNetworkAuthenticationType(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - ACCEPTANCE_OF_TERMS_AND_CONDITIONS = "acceptance_of_terms_and_conditions" - ONLINE_ENROLLMENT_SUPPORTED = "online_enrollment_supported" - HTTP_HTTPS_REDIRECTION = "http_https_redirection" - DNS_REDIRECTION = "dns_redirection" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """PasspointNetworkAuthenticationType - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(PasspointNetworkAuthenticationType, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, PasspointNetworkAuthenticationType): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_operator_profile.py b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_operator_profile.py deleted file mode 100644 index 8a60270f5..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_operator_profile.py +++ /dev/null @@ -1,254 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six -from swagger_client.models.profile_details import ProfileDetails # noqa: F401,E501 - -class PasspointOperatorProfile(ProfileDetails): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'server_only_authenticated_l2_encryption_network': 'bool', - 'operator_friendly_name': 'list[PasspointDuple]', - 'domain_name_list': 'list[str]', - 'default_operator_friendly_name': 'str', - 'default_operator_friendly_name_fr': 'str' - } - if hasattr(ProfileDetails, "swagger_types"): - swagger_types.update(ProfileDetails.swagger_types) - - attribute_map = { - 'model_type': 'model_type', - 'server_only_authenticated_l2_encryption_network': 'serverOnlyAuthenticatedL2EncryptionNetwork', - 'operator_friendly_name': 'operatorFriendlyName', - 'domain_name_list': 'domainNameList', - 'default_operator_friendly_name': 'defaultOperatorFriendlyName', - 'default_operator_friendly_name_fr': 'defaultOperatorFriendlyNameFr' - } - if hasattr(ProfileDetails, "attribute_map"): - attribute_map.update(ProfileDetails.attribute_map) - - def __init__(self, model_type=None, server_only_authenticated_l2_encryption_network=None, operator_friendly_name=None, domain_name_list=None, default_operator_friendly_name=None, default_operator_friendly_name_fr=None, *args, **kwargs): # noqa: E501 - """PasspointOperatorProfile - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._server_only_authenticated_l2_encryption_network = None - self._operator_friendly_name = None - self._domain_name_list = None - self._default_operator_friendly_name = None - self._default_operator_friendly_name_fr = None - self.discriminator = None - if model_type is not None: - self.model_type = model_type - if server_only_authenticated_l2_encryption_network is not None: - self.server_only_authenticated_l2_encryption_network = server_only_authenticated_l2_encryption_network - if operator_friendly_name is not None: - self.operator_friendly_name = operator_friendly_name - if domain_name_list is not None: - self.domain_name_list = domain_name_list - if default_operator_friendly_name is not None: - self.default_operator_friendly_name = default_operator_friendly_name - if default_operator_friendly_name_fr is not None: - self.default_operator_friendly_name_fr = default_operator_friendly_name_fr - ProfileDetails.__init__(self, *args, **kwargs) - - @property - def model_type(self): - """Gets the model_type of this PasspointOperatorProfile. # noqa: E501 - - - :return: The model_type of this PasspointOperatorProfile. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this PasspointOperatorProfile. - - - :param model_type: The model_type of this PasspointOperatorProfile. # noqa: E501 - :type: str - """ - allowed_values = ["PasspointOperatorProfile"] # noqa: E501 - if model_type not in allowed_values: - raise ValueError( - "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 - .format(model_type, allowed_values) - ) - - self._model_type = model_type - - @property - def server_only_authenticated_l2_encryption_network(self): - """Gets the server_only_authenticated_l2_encryption_network of this PasspointOperatorProfile. # noqa: E501 - - OSEN # noqa: E501 - - :return: The server_only_authenticated_l2_encryption_network of this PasspointOperatorProfile. # noqa: E501 - :rtype: bool - """ - return self._server_only_authenticated_l2_encryption_network - - @server_only_authenticated_l2_encryption_network.setter - def server_only_authenticated_l2_encryption_network(self, server_only_authenticated_l2_encryption_network): - """Sets the server_only_authenticated_l2_encryption_network of this PasspointOperatorProfile. - - OSEN # noqa: E501 - - :param server_only_authenticated_l2_encryption_network: The server_only_authenticated_l2_encryption_network of this PasspointOperatorProfile. # noqa: E501 - :type: bool - """ - - self._server_only_authenticated_l2_encryption_network = server_only_authenticated_l2_encryption_network - - @property - def operator_friendly_name(self): - """Gets the operator_friendly_name of this PasspointOperatorProfile. # noqa: E501 - - - :return: The operator_friendly_name of this PasspointOperatorProfile. # noqa: E501 - :rtype: list[PasspointDuple] - """ - return self._operator_friendly_name - - @operator_friendly_name.setter - def operator_friendly_name(self, operator_friendly_name): - """Sets the operator_friendly_name of this PasspointOperatorProfile. - - - :param operator_friendly_name: The operator_friendly_name of this PasspointOperatorProfile. # noqa: E501 - :type: list[PasspointDuple] - """ - - self._operator_friendly_name = operator_friendly_name - - @property - def domain_name_list(self): - """Gets the domain_name_list of this PasspointOperatorProfile. # noqa: E501 - - - :return: The domain_name_list of this PasspointOperatorProfile. # noqa: E501 - :rtype: list[str] - """ - return self._domain_name_list - - @domain_name_list.setter - def domain_name_list(self, domain_name_list): - """Sets the domain_name_list of this PasspointOperatorProfile. - - - :param domain_name_list: The domain_name_list of this PasspointOperatorProfile. # noqa: E501 - :type: list[str] - """ - - self._domain_name_list = domain_name_list - - @property - def default_operator_friendly_name(self): - """Gets the default_operator_friendly_name of this PasspointOperatorProfile. # noqa: E501 - - - :return: The default_operator_friendly_name of this PasspointOperatorProfile. # noqa: E501 - :rtype: str - """ - return self._default_operator_friendly_name - - @default_operator_friendly_name.setter - def default_operator_friendly_name(self, default_operator_friendly_name): - """Sets the default_operator_friendly_name of this PasspointOperatorProfile. - - - :param default_operator_friendly_name: The default_operator_friendly_name of this PasspointOperatorProfile. # noqa: E501 - :type: str - """ - - self._default_operator_friendly_name = default_operator_friendly_name - - @property - def default_operator_friendly_name_fr(self): - """Gets the default_operator_friendly_name_fr of this PasspointOperatorProfile. # noqa: E501 - - - :return: The default_operator_friendly_name_fr of this PasspointOperatorProfile. # noqa: E501 - :rtype: str - """ - return self._default_operator_friendly_name_fr - - @default_operator_friendly_name_fr.setter - def default_operator_friendly_name_fr(self, default_operator_friendly_name_fr): - """Sets the default_operator_friendly_name_fr of this PasspointOperatorProfile. - - - :param default_operator_friendly_name_fr: The default_operator_friendly_name_fr of this PasspointOperatorProfile. # noqa: E501 - :type: str - """ - - self._default_operator_friendly_name_fr = default_operator_friendly_name_fr - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(PasspointOperatorProfile, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, PasspointOperatorProfile): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_osu_icon.py b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_osu_icon.py deleted file mode 100644 index 5ddc0ec0f..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_osu_icon.py +++ /dev/null @@ -1,300 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class PasspointOsuIcon(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'icon_width': 'int', - 'icon_height': 'int', - 'language_code': 'str', - 'icon_locale': 'str', - 'icon_name': 'str', - 'file_path': 'str', - 'image_url': 'str', - 'icon_type': 'str' - } - - attribute_map = { - 'icon_width': 'iconWidth', - 'icon_height': 'iconHeight', - 'language_code': 'languageCode', - 'icon_locale': 'iconLocale', - 'icon_name': 'iconName', - 'file_path': 'filePath', - 'image_url': 'imageUrl', - 'icon_type': 'ICON_TYPE' - } - - def __init__(self, icon_width=None, icon_height=None, language_code=None, icon_locale=None, icon_name=None, file_path=None, image_url=None, icon_type=None): # noqa: E501 - """PasspointOsuIcon - a model defined in Swagger""" # noqa: E501 - self._icon_width = None - self._icon_height = None - self._language_code = None - self._icon_locale = None - self._icon_name = None - self._file_path = None - self._image_url = None - self._icon_type = None - self.discriminator = None - if icon_width is not None: - self.icon_width = icon_width - if icon_height is not None: - self.icon_height = icon_height - if language_code is not None: - self.language_code = language_code - if icon_locale is not None: - self.icon_locale = icon_locale - if icon_name is not None: - self.icon_name = icon_name - if file_path is not None: - self.file_path = file_path - if image_url is not None: - self.image_url = image_url - if icon_type is not None: - self.icon_type = icon_type - - @property - def icon_width(self): - """Gets the icon_width of this PasspointOsuIcon. # noqa: E501 - - - :return: The icon_width of this PasspointOsuIcon. # noqa: E501 - :rtype: int - """ - return self._icon_width - - @icon_width.setter - def icon_width(self, icon_width): - """Sets the icon_width of this PasspointOsuIcon. - - - :param icon_width: The icon_width of this PasspointOsuIcon. # noqa: E501 - :type: int - """ - - self._icon_width = icon_width - - @property - def icon_height(self): - """Gets the icon_height of this PasspointOsuIcon. # noqa: E501 - - - :return: The icon_height of this PasspointOsuIcon. # noqa: E501 - :rtype: int - """ - return self._icon_height - - @icon_height.setter - def icon_height(self, icon_height): - """Sets the icon_height of this PasspointOsuIcon. - - - :param icon_height: The icon_height of this PasspointOsuIcon. # noqa: E501 - :type: int - """ - - self._icon_height = icon_height - - @property - def language_code(self): - """Gets the language_code of this PasspointOsuIcon. # noqa: E501 - - - :return: The language_code of this PasspointOsuIcon. # noqa: E501 - :rtype: str - """ - return self._language_code - - @language_code.setter - def language_code(self, language_code): - """Sets the language_code of this PasspointOsuIcon. - - - :param language_code: The language_code of this PasspointOsuIcon. # noqa: E501 - :type: str - """ - - self._language_code = language_code - - @property - def icon_locale(self): - """Gets the icon_locale of this PasspointOsuIcon. # noqa: E501 - - The primary locale for this Icon. # noqa: E501 - - :return: The icon_locale of this PasspointOsuIcon. # noqa: E501 - :rtype: str - """ - return self._icon_locale - - @icon_locale.setter - def icon_locale(self, icon_locale): - """Sets the icon_locale of this PasspointOsuIcon. - - The primary locale for this Icon. # noqa: E501 - - :param icon_locale: The icon_locale of this PasspointOsuIcon. # noqa: E501 - :type: str - """ - - self._icon_locale = icon_locale - - @property - def icon_name(self): - """Gets the icon_name of this PasspointOsuIcon. # noqa: E501 - - - :return: The icon_name of this PasspointOsuIcon. # noqa: E501 - :rtype: str - """ - return self._icon_name - - @icon_name.setter - def icon_name(self, icon_name): - """Sets the icon_name of this PasspointOsuIcon. - - - :param icon_name: The icon_name of this PasspointOsuIcon. # noqa: E501 - :type: str - """ - - self._icon_name = icon_name - - @property - def file_path(self): - """Gets the file_path of this PasspointOsuIcon. # noqa: E501 - - - :return: The file_path of this PasspointOsuIcon. # noqa: E501 - :rtype: str - """ - return self._file_path - - @file_path.setter - def file_path(self, file_path): - """Sets the file_path of this PasspointOsuIcon. - - - :param file_path: The file_path of this PasspointOsuIcon. # noqa: E501 - :type: str - """ - - self._file_path = file_path - - @property - def image_url(self): - """Gets the image_url of this PasspointOsuIcon. # noqa: E501 - - - :return: The image_url of this PasspointOsuIcon. # noqa: E501 - :rtype: str - """ - return self._image_url - - @image_url.setter - def image_url(self, image_url): - """Sets the image_url of this PasspointOsuIcon. - - - :param image_url: The image_url of this PasspointOsuIcon. # noqa: E501 - :type: str - """ - - self._image_url = image_url - - @property - def icon_type(self): - """Gets the icon_type of this PasspointOsuIcon. # noqa: E501 - - - :return: The icon_type of this PasspointOsuIcon. # noqa: E501 - :rtype: str - """ - return self._icon_type - - @icon_type.setter - def icon_type(self, icon_type): - """Sets the icon_type of this PasspointOsuIcon. - - - :param icon_type: The icon_type of this PasspointOsuIcon. # noqa: E501 - :type: str - """ - allowed_values = ["image/png"] # noqa: E501 - if icon_type not in allowed_values: - raise ValueError( - "Invalid value for `icon_type` ({0}), must be one of {1}" # noqa: E501 - .format(icon_type, allowed_values) - ) - - self._icon_type = icon_type - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(PasspointOsuIcon, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, PasspointOsuIcon): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_osu_provider_profile.py b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_osu_provider_profile.py deleted file mode 100644 index 7939d9e38..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_osu_provider_profile.py +++ /dev/null @@ -1,460 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six -from swagger_client.models.profile_details import ProfileDetails # noqa: F401,E501 - -class PasspointOsuProviderProfile(ProfileDetails): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'passpoint_mcc_mnc_list': 'list[PasspointMccMnc]', - 'nai_realm_list': 'list[PasspointNaiRealmInformation]', - 'passpoint_osu_icon_list': 'list[PasspointOsuIcon]', - 'osu_ssid': 'str', - 'osu_server_uri': 'str', - 'radius_profile_auth': 'str', - 'radius_profile_accounting': 'str', - 'osu_friendly_name': 'list[PasspointDuple]', - 'osu_nai_standalone': 'str', - 'osu_nai_shared': 'str', - 'osu_method_list': 'int', - 'osu_service_description': 'list[PasspointDuple]', - 'roaming_oi': 'list[str]' - } - if hasattr(ProfileDetails, "swagger_types"): - swagger_types.update(ProfileDetails.swagger_types) - - attribute_map = { - 'model_type': 'model_type', - 'passpoint_mcc_mnc_list': 'PasspointMccMncList', - 'nai_realm_list': 'naiRealmList', - 'passpoint_osu_icon_list': 'PasspointOsuIconList', - 'osu_ssid': 'osuSsid', - 'osu_server_uri': 'osuServerUri', - 'radius_profile_auth': 'radiusProfileAuth', - 'radius_profile_accounting': 'radiusProfileAccounting', - 'osu_friendly_name': 'osuFriendlyName', - 'osu_nai_standalone': 'osuNaiStandalone', - 'osu_nai_shared': 'osuNaiShared', - 'osu_method_list': 'osuMethodList', - 'osu_service_description': 'osuServiceDescription', - 'roaming_oi': 'roamingOi' - } - if hasattr(ProfileDetails, "attribute_map"): - attribute_map.update(ProfileDetails.attribute_map) - - def __init__(self, model_type=None, passpoint_mcc_mnc_list=None, nai_realm_list=None, passpoint_osu_icon_list=None, osu_ssid=None, osu_server_uri=None, radius_profile_auth=None, radius_profile_accounting=None, osu_friendly_name=None, osu_nai_standalone=None, osu_nai_shared=None, osu_method_list=None, osu_service_description=None, roaming_oi=None, *args, **kwargs): # noqa: E501 - """PasspointOsuProviderProfile - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._passpoint_mcc_mnc_list = None - self._nai_realm_list = None - self._passpoint_osu_icon_list = None - self._osu_ssid = None - self._osu_server_uri = None - self._radius_profile_auth = None - self._radius_profile_accounting = None - self._osu_friendly_name = None - self._osu_nai_standalone = None - self._osu_nai_shared = None - self._osu_method_list = None - self._osu_service_description = None - self._roaming_oi = None - self.discriminator = None - if model_type is not None: - self.model_type = model_type - if passpoint_mcc_mnc_list is not None: - self.passpoint_mcc_mnc_list = passpoint_mcc_mnc_list - if nai_realm_list is not None: - self.nai_realm_list = nai_realm_list - if passpoint_osu_icon_list is not None: - self.passpoint_osu_icon_list = passpoint_osu_icon_list - if osu_ssid is not None: - self.osu_ssid = osu_ssid - if osu_server_uri is not None: - self.osu_server_uri = osu_server_uri - if radius_profile_auth is not None: - self.radius_profile_auth = radius_profile_auth - if radius_profile_accounting is not None: - self.radius_profile_accounting = radius_profile_accounting - if osu_friendly_name is not None: - self.osu_friendly_name = osu_friendly_name - if osu_nai_standalone is not None: - self.osu_nai_standalone = osu_nai_standalone - if osu_nai_shared is not None: - self.osu_nai_shared = osu_nai_shared - if osu_method_list is not None: - self.osu_method_list = osu_method_list - if osu_service_description is not None: - self.osu_service_description = osu_service_description - if roaming_oi is not None: - self.roaming_oi = roaming_oi - ProfileDetails.__init__(self, *args, **kwargs) - - @property - def model_type(self): - """Gets the model_type of this PasspointOsuProviderProfile. # noqa: E501 - - - :return: The model_type of this PasspointOsuProviderProfile. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this PasspointOsuProviderProfile. - - - :param model_type: The model_type of this PasspointOsuProviderProfile. # noqa: E501 - :type: str - """ - allowed_values = ["PasspointOsuProviderProfile"] # noqa: E501 - if model_type not in allowed_values: - raise ValueError( - "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 - .format(model_type, allowed_values) - ) - - self._model_type = model_type - - @property - def passpoint_mcc_mnc_list(self): - """Gets the passpoint_mcc_mnc_list of this PasspointOsuProviderProfile. # noqa: E501 - - - :return: The passpoint_mcc_mnc_list of this PasspointOsuProviderProfile. # noqa: E501 - :rtype: list[PasspointMccMnc] - """ - return self._passpoint_mcc_mnc_list - - @passpoint_mcc_mnc_list.setter - def passpoint_mcc_mnc_list(self, passpoint_mcc_mnc_list): - """Sets the passpoint_mcc_mnc_list of this PasspointOsuProviderProfile. - - - :param passpoint_mcc_mnc_list: The passpoint_mcc_mnc_list of this PasspointOsuProviderProfile. # noqa: E501 - :type: list[PasspointMccMnc] - """ - - self._passpoint_mcc_mnc_list = passpoint_mcc_mnc_list - - @property - def nai_realm_list(self): - """Gets the nai_realm_list of this PasspointOsuProviderProfile. # noqa: E501 - - - :return: The nai_realm_list of this PasspointOsuProviderProfile. # noqa: E501 - :rtype: list[PasspointNaiRealmInformation] - """ - return self._nai_realm_list - - @nai_realm_list.setter - def nai_realm_list(self, nai_realm_list): - """Sets the nai_realm_list of this PasspointOsuProviderProfile. - - - :param nai_realm_list: The nai_realm_list of this PasspointOsuProviderProfile. # noqa: E501 - :type: list[PasspointNaiRealmInformation] - """ - - self._nai_realm_list = nai_realm_list - - @property - def passpoint_osu_icon_list(self): - """Gets the passpoint_osu_icon_list of this PasspointOsuProviderProfile. # noqa: E501 - - - :return: The passpoint_osu_icon_list of this PasspointOsuProviderProfile. # noqa: E501 - :rtype: list[PasspointOsuIcon] - """ - return self._passpoint_osu_icon_list - - @passpoint_osu_icon_list.setter - def passpoint_osu_icon_list(self, passpoint_osu_icon_list): - """Sets the passpoint_osu_icon_list of this PasspointOsuProviderProfile. - - - :param passpoint_osu_icon_list: The passpoint_osu_icon_list of this PasspointOsuProviderProfile. # noqa: E501 - :type: list[PasspointOsuIcon] - """ - - self._passpoint_osu_icon_list = passpoint_osu_icon_list - - @property - def osu_ssid(self): - """Gets the osu_ssid of this PasspointOsuProviderProfile. # noqa: E501 - - - :return: The osu_ssid of this PasspointOsuProviderProfile. # noqa: E501 - :rtype: str - """ - return self._osu_ssid - - @osu_ssid.setter - def osu_ssid(self, osu_ssid): - """Sets the osu_ssid of this PasspointOsuProviderProfile. - - - :param osu_ssid: The osu_ssid of this PasspointOsuProviderProfile. # noqa: E501 - :type: str - """ - - self._osu_ssid = osu_ssid - - @property - def osu_server_uri(self): - """Gets the osu_server_uri of this PasspointOsuProviderProfile. # noqa: E501 - - - :return: The osu_server_uri of this PasspointOsuProviderProfile. # noqa: E501 - :rtype: str - """ - return self._osu_server_uri - - @osu_server_uri.setter - def osu_server_uri(self, osu_server_uri): - """Sets the osu_server_uri of this PasspointOsuProviderProfile. - - - :param osu_server_uri: The osu_server_uri of this PasspointOsuProviderProfile. # noqa: E501 - :type: str - """ - - self._osu_server_uri = osu_server_uri - - @property - def radius_profile_auth(self): - """Gets the radius_profile_auth of this PasspointOsuProviderProfile. # noqa: E501 - - - :return: The radius_profile_auth of this PasspointOsuProviderProfile. # noqa: E501 - :rtype: str - """ - return self._radius_profile_auth - - @radius_profile_auth.setter - def radius_profile_auth(self, radius_profile_auth): - """Sets the radius_profile_auth of this PasspointOsuProviderProfile. - - - :param radius_profile_auth: The radius_profile_auth of this PasspointOsuProviderProfile. # noqa: E501 - :type: str - """ - - self._radius_profile_auth = radius_profile_auth - - @property - def radius_profile_accounting(self): - """Gets the radius_profile_accounting of this PasspointOsuProviderProfile. # noqa: E501 - - - :return: The radius_profile_accounting of this PasspointOsuProviderProfile. # noqa: E501 - :rtype: str - """ - return self._radius_profile_accounting - - @radius_profile_accounting.setter - def radius_profile_accounting(self, radius_profile_accounting): - """Sets the radius_profile_accounting of this PasspointOsuProviderProfile. - - - :param radius_profile_accounting: The radius_profile_accounting of this PasspointOsuProviderProfile. # noqa: E501 - :type: str - """ - - self._radius_profile_accounting = radius_profile_accounting - - @property - def osu_friendly_name(self): - """Gets the osu_friendly_name of this PasspointOsuProviderProfile. # noqa: E501 - - - :return: The osu_friendly_name of this PasspointOsuProviderProfile. # noqa: E501 - :rtype: list[PasspointDuple] - """ - return self._osu_friendly_name - - @osu_friendly_name.setter - def osu_friendly_name(self, osu_friendly_name): - """Sets the osu_friendly_name of this PasspointOsuProviderProfile. - - - :param osu_friendly_name: The osu_friendly_name of this PasspointOsuProviderProfile. # noqa: E501 - :type: list[PasspointDuple] - """ - - self._osu_friendly_name = osu_friendly_name - - @property - def osu_nai_standalone(self): - """Gets the osu_nai_standalone of this PasspointOsuProviderProfile. # noqa: E501 - - - :return: The osu_nai_standalone of this PasspointOsuProviderProfile. # noqa: E501 - :rtype: str - """ - return self._osu_nai_standalone - - @osu_nai_standalone.setter - def osu_nai_standalone(self, osu_nai_standalone): - """Sets the osu_nai_standalone of this PasspointOsuProviderProfile. - - - :param osu_nai_standalone: The osu_nai_standalone of this PasspointOsuProviderProfile. # noqa: E501 - :type: str - """ - - self._osu_nai_standalone = osu_nai_standalone - - @property - def osu_nai_shared(self): - """Gets the osu_nai_shared of this PasspointOsuProviderProfile. # noqa: E501 - - - :return: The osu_nai_shared of this PasspointOsuProviderProfile. # noqa: E501 - :rtype: str - """ - return self._osu_nai_shared - - @osu_nai_shared.setter - def osu_nai_shared(self, osu_nai_shared): - """Sets the osu_nai_shared of this PasspointOsuProviderProfile. - - - :param osu_nai_shared: The osu_nai_shared of this PasspointOsuProviderProfile. # noqa: E501 - :type: str - """ - - self._osu_nai_shared = osu_nai_shared - - @property - def osu_method_list(self): - """Gets the osu_method_list of this PasspointOsuProviderProfile. # noqa: E501 - - - :return: The osu_method_list of this PasspointOsuProviderProfile. # noqa: E501 - :rtype: int - """ - return self._osu_method_list - - @osu_method_list.setter - def osu_method_list(self, osu_method_list): - """Sets the osu_method_list of this PasspointOsuProviderProfile. - - - :param osu_method_list: The osu_method_list of this PasspointOsuProviderProfile. # noqa: E501 - :type: int - """ - - self._osu_method_list = osu_method_list - - @property - def osu_service_description(self): - """Gets the osu_service_description of this PasspointOsuProviderProfile. # noqa: E501 - - - :return: The osu_service_description of this PasspointOsuProviderProfile. # noqa: E501 - :rtype: list[PasspointDuple] - """ - return self._osu_service_description - - @osu_service_description.setter - def osu_service_description(self, osu_service_description): - """Sets the osu_service_description of this PasspointOsuProviderProfile. - - - :param osu_service_description: The osu_service_description of this PasspointOsuProviderProfile. # noqa: E501 - :type: list[PasspointDuple] - """ - - self._osu_service_description = osu_service_description - - @property - def roaming_oi(self): - """Gets the roaming_oi of this PasspointOsuProviderProfile. # noqa: E501 - - - :return: The roaming_oi of this PasspointOsuProviderProfile. # noqa: E501 - :rtype: list[str] - """ - return self._roaming_oi - - @roaming_oi.setter - def roaming_oi(self, roaming_oi): - """Sets the roaming_oi of this PasspointOsuProviderProfile. - - - :param roaming_oi: The roaming_oi of this PasspointOsuProviderProfile. # noqa: E501 - :type: list[str] - """ - - self._roaming_oi = roaming_oi - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(PasspointOsuProviderProfile, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, PasspointOsuProviderProfile): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_profile.py b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_profile.py deleted file mode 100644 index 649cd533f..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_profile.py +++ /dev/null @@ -1,856 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six -from swagger_client.models.profile_details import ProfileDetails # noqa: F401,E501 - -class PasspointProfile(ProfileDetails): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'enable_interworking_and_hs20': 'bool', - 'additional_steps_required_for_access': 'int', - 'deauth_request_timeout': 'int', - 'operating_class': 'int', - 'terms_and_conditions_file': 'ManagedFileInfo', - 'whitelist_domain': 'str', - 'emergency_services_reachable': 'bool', - 'unauthenticated_emergency_service_accessible': 'bool', - 'internet_connectivity': 'bool', - 'ip_address_type_availability': 'Object', - 'qos_map_set_configuration': 'list[str]', - 'hessid': 'MacAddress', - 'ap_geospatial_location': 'str', - 'ap_civic_location': 'str', - 'anqp_domain_id': 'int', - 'disable_downstream_group_addressed_forwarding': 'bool', - 'enable2pt4_g_hz': 'bool', - 'enable5_g_hz': 'bool', - 'associated_access_ssid_profile_ids': 'list[int]', - 'osu_ssid_profile_id': 'int', - 'passpoint_operator_profile_id': 'int', - 'passpoint_venue_profile_id': 'int', - 'passpoint_osu_provider_profile_ids': 'list[int]', - 'ap_public_location_id_uri': 'str', - 'access_network_type': 'PasspointAccessNetworkType', - 'network_authentication_type': 'PasspointNetworkAuthenticationType', - 'connection_capability_set': 'list[PasspointConnectionCapability]', - 'gas_addr3_behaviour': 'PasspointGasAddress3Behaviour' - } - if hasattr(ProfileDetails, "swagger_types"): - swagger_types.update(ProfileDetails.swagger_types) - - attribute_map = { - 'model_type': 'model_type', - 'enable_interworking_and_hs20': 'enableInterworkingAndHs20', - 'additional_steps_required_for_access': 'additionalStepsRequiredForAccess', - 'deauth_request_timeout': 'deauthRequestTimeout', - 'operating_class': 'operatingClass', - 'terms_and_conditions_file': 'termsAndConditionsFile', - 'whitelist_domain': 'whitelistDomain', - 'emergency_services_reachable': 'emergencyServicesReachable', - 'unauthenticated_emergency_service_accessible': 'unauthenticatedEmergencyServiceAccessible', - 'internet_connectivity': 'internetConnectivity', - 'ip_address_type_availability': 'ipAddressTypeAvailability', - 'qos_map_set_configuration': 'qosMapSetConfiguration', - 'hessid': 'hessid', - 'ap_geospatial_location': 'apGeospatialLocation', - 'ap_civic_location': 'apCivicLocation', - 'anqp_domain_id': 'anqpDomainId', - 'disable_downstream_group_addressed_forwarding': 'disableDownstreamGroupAddressedForwarding', - 'enable2pt4_g_hz': 'enable2pt4GHz', - 'enable5_g_hz': 'enable5GHz', - 'associated_access_ssid_profile_ids': 'associatedAccessSsidProfileIds', - 'osu_ssid_profile_id': 'osuSsidProfileId', - 'passpoint_operator_profile_id': 'passpointOperatorProfileId', - 'passpoint_venue_profile_id': 'passpointVenueProfileId', - 'passpoint_osu_provider_profile_ids': 'passpointOsuProviderProfileIds', - 'ap_public_location_id_uri': 'apPublicLocationIdUri', - 'access_network_type': 'accessNetworkType', - 'network_authentication_type': 'networkAuthenticationType', - 'connection_capability_set': 'connectionCapabilitySet', - 'gas_addr3_behaviour': 'gasAddr3Behaviour' - } - if hasattr(ProfileDetails, "attribute_map"): - attribute_map.update(ProfileDetails.attribute_map) - - def __init__(self, model_type=None, enable_interworking_and_hs20=None, additional_steps_required_for_access=None, deauth_request_timeout=None, operating_class=None, terms_and_conditions_file=None, whitelist_domain=None, emergency_services_reachable=None, unauthenticated_emergency_service_accessible=None, internet_connectivity=None, ip_address_type_availability=None, qos_map_set_configuration=None, hessid=None, ap_geospatial_location=None, ap_civic_location=None, anqp_domain_id=None, disable_downstream_group_addressed_forwarding=None, enable2pt4_g_hz=None, enable5_g_hz=None, associated_access_ssid_profile_ids=None, osu_ssid_profile_id=None, passpoint_operator_profile_id=None, passpoint_venue_profile_id=None, passpoint_osu_provider_profile_ids=None, ap_public_location_id_uri=None, access_network_type=None, network_authentication_type=None, connection_capability_set=None, gas_addr3_behaviour=None, *args, **kwargs): # noqa: E501 - """PasspointProfile - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._enable_interworking_and_hs20 = None - self._additional_steps_required_for_access = None - self._deauth_request_timeout = None - self._operating_class = None - self._terms_and_conditions_file = None - self._whitelist_domain = None - self._emergency_services_reachable = None - self._unauthenticated_emergency_service_accessible = None - self._internet_connectivity = None - self._ip_address_type_availability = None - self._qos_map_set_configuration = None - self._hessid = None - self._ap_geospatial_location = None - self._ap_civic_location = None - self._anqp_domain_id = None - self._disable_downstream_group_addressed_forwarding = None - self._enable2pt4_g_hz = None - self._enable5_g_hz = None - self._associated_access_ssid_profile_ids = None - self._osu_ssid_profile_id = None - self._passpoint_operator_profile_id = None - self._passpoint_venue_profile_id = None - self._passpoint_osu_provider_profile_ids = None - self._ap_public_location_id_uri = None - self._access_network_type = None - self._network_authentication_type = None - self._connection_capability_set = None - self._gas_addr3_behaviour = None - self.discriminator = None - if model_type is not None: - self.model_type = model_type - if enable_interworking_and_hs20 is not None: - self.enable_interworking_and_hs20 = enable_interworking_and_hs20 - if additional_steps_required_for_access is not None: - self.additional_steps_required_for_access = additional_steps_required_for_access - if deauth_request_timeout is not None: - self.deauth_request_timeout = deauth_request_timeout - if operating_class is not None: - self.operating_class = operating_class - if terms_and_conditions_file is not None: - self.terms_and_conditions_file = terms_and_conditions_file - if whitelist_domain is not None: - self.whitelist_domain = whitelist_domain - if emergency_services_reachable is not None: - self.emergency_services_reachable = emergency_services_reachable - if unauthenticated_emergency_service_accessible is not None: - self.unauthenticated_emergency_service_accessible = unauthenticated_emergency_service_accessible - if internet_connectivity is not None: - self.internet_connectivity = internet_connectivity - if ip_address_type_availability is not None: - self.ip_address_type_availability = ip_address_type_availability - if qos_map_set_configuration is not None: - self.qos_map_set_configuration = qos_map_set_configuration - if hessid is not None: - self.hessid = hessid - if ap_geospatial_location is not None: - self.ap_geospatial_location = ap_geospatial_location - if ap_civic_location is not None: - self.ap_civic_location = ap_civic_location - if anqp_domain_id is not None: - self.anqp_domain_id = anqp_domain_id - if disable_downstream_group_addressed_forwarding is not None: - self.disable_downstream_group_addressed_forwarding = disable_downstream_group_addressed_forwarding - if enable2pt4_g_hz is not None: - self.enable2pt4_g_hz = enable2pt4_g_hz - if enable5_g_hz is not None: - self.enable5_g_hz = enable5_g_hz - if associated_access_ssid_profile_ids is not None: - self.associated_access_ssid_profile_ids = associated_access_ssid_profile_ids - if osu_ssid_profile_id is not None: - self.osu_ssid_profile_id = osu_ssid_profile_id - if passpoint_operator_profile_id is not None: - self.passpoint_operator_profile_id = passpoint_operator_profile_id - if passpoint_venue_profile_id is not None: - self.passpoint_venue_profile_id = passpoint_venue_profile_id - if passpoint_osu_provider_profile_ids is not None: - self.passpoint_osu_provider_profile_ids = passpoint_osu_provider_profile_ids - if ap_public_location_id_uri is not None: - self.ap_public_location_id_uri = ap_public_location_id_uri - if access_network_type is not None: - self.access_network_type = access_network_type - if network_authentication_type is not None: - self.network_authentication_type = network_authentication_type - if connection_capability_set is not None: - self.connection_capability_set = connection_capability_set - if gas_addr3_behaviour is not None: - self.gas_addr3_behaviour = gas_addr3_behaviour - ProfileDetails.__init__(self, *args, **kwargs) - - @property - def model_type(self): - """Gets the model_type of this PasspointProfile. # noqa: E501 - - - :return: The model_type of this PasspointProfile. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this PasspointProfile. - - - :param model_type: The model_type of this PasspointProfile. # noqa: E501 - :type: str - """ - allowed_values = ["PasspointProfile"] # noqa: E501 - if model_type not in allowed_values: - raise ValueError( - "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 - .format(model_type, allowed_values) - ) - - self._model_type = model_type - - @property - def enable_interworking_and_hs20(self): - """Gets the enable_interworking_and_hs20 of this PasspointProfile. # noqa: E501 - - - :return: The enable_interworking_and_hs20 of this PasspointProfile. # noqa: E501 - :rtype: bool - """ - return self._enable_interworking_and_hs20 - - @enable_interworking_and_hs20.setter - def enable_interworking_and_hs20(self, enable_interworking_and_hs20): - """Sets the enable_interworking_and_hs20 of this PasspointProfile. - - - :param enable_interworking_and_hs20: The enable_interworking_and_hs20 of this PasspointProfile. # noqa: E501 - :type: bool - """ - - self._enable_interworking_and_hs20 = enable_interworking_and_hs20 - - @property - def additional_steps_required_for_access(self): - """Gets the additional_steps_required_for_access of this PasspointProfile. # noqa: E501 - - - :return: The additional_steps_required_for_access of this PasspointProfile. # noqa: E501 - :rtype: int - """ - return self._additional_steps_required_for_access - - @additional_steps_required_for_access.setter - def additional_steps_required_for_access(self, additional_steps_required_for_access): - """Sets the additional_steps_required_for_access of this PasspointProfile. - - - :param additional_steps_required_for_access: The additional_steps_required_for_access of this PasspointProfile. # noqa: E501 - :type: int - """ - - self._additional_steps_required_for_access = additional_steps_required_for_access - - @property - def deauth_request_timeout(self): - """Gets the deauth_request_timeout of this PasspointProfile. # noqa: E501 - - - :return: The deauth_request_timeout of this PasspointProfile. # noqa: E501 - :rtype: int - """ - return self._deauth_request_timeout - - @deauth_request_timeout.setter - def deauth_request_timeout(self, deauth_request_timeout): - """Sets the deauth_request_timeout of this PasspointProfile. - - - :param deauth_request_timeout: The deauth_request_timeout of this PasspointProfile. # noqa: E501 - :type: int - """ - - self._deauth_request_timeout = deauth_request_timeout - - @property - def operating_class(self): - """Gets the operating_class of this PasspointProfile. # noqa: E501 - - - :return: The operating_class of this PasspointProfile. # noqa: E501 - :rtype: int - """ - return self._operating_class - - @operating_class.setter - def operating_class(self, operating_class): - """Sets the operating_class of this PasspointProfile. - - - :param operating_class: The operating_class of this PasspointProfile. # noqa: E501 - :type: int - """ - - self._operating_class = operating_class - - @property - def terms_and_conditions_file(self): - """Gets the terms_and_conditions_file of this PasspointProfile. # noqa: E501 - - - :return: The terms_and_conditions_file of this PasspointProfile. # noqa: E501 - :rtype: ManagedFileInfo - """ - return self._terms_and_conditions_file - - @terms_and_conditions_file.setter - def terms_and_conditions_file(self, terms_and_conditions_file): - """Sets the terms_and_conditions_file of this PasspointProfile. - - - :param terms_and_conditions_file: The terms_and_conditions_file of this PasspointProfile. # noqa: E501 - :type: ManagedFileInfo - """ - - self._terms_and_conditions_file = terms_and_conditions_file - - @property - def whitelist_domain(self): - """Gets the whitelist_domain of this PasspointProfile. # noqa: E501 - - - :return: The whitelist_domain of this PasspointProfile. # noqa: E501 - :rtype: str - """ - return self._whitelist_domain - - @whitelist_domain.setter - def whitelist_domain(self, whitelist_domain): - """Sets the whitelist_domain of this PasspointProfile. - - - :param whitelist_domain: The whitelist_domain of this PasspointProfile. # noqa: E501 - :type: str - """ - - self._whitelist_domain = whitelist_domain - - @property - def emergency_services_reachable(self): - """Gets the emergency_services_reachable of this PasspointProfile. # noqa: E501 - - - :return: The emergency_services_reachable of this PasspointProfile. # noqa: E501 - :rtype: bool - """ - return self._emergency_services_reachable - - @emergency_services_reachable.setter - def emergency_services_reachable(self, emergency_services_reachable): - """Sets the emergency_services_reachable of this PasspointProfile. - - - :param emergency_services_reachable: The emergency_services_reachable of this PasspointProfile. # noqa: E501 - :type: bool - """ - - self._emergency_services_reachable = emergency_services_reachable - - @property - def unauthenticated_emergency_service_accessible(self): - """Gets the unauthenticated_emergency_service_accessible of this PasspointProfile. # noqa: E501 - - - :return: The unauthenticated_emergency_service_accessible of this PasspointProfile. # noqa: E501 - :rtype: bool - """ - return self._unauthenticated_emergency_service_accessible - - @unauthenticated_emergency_service_accessible.setter - def unauthenticated_emergency_service_accessible(self, unauthenticated_emergency_service_accessible): - """Sets the unauthenticated_emergency_service_accessible of this PasspointProfile. - - - :param unauthenticated_emergency_service_accessible: The unauthenticated_emergency_service_accessible of this PasspointProfile. # noqa: E501 - :type: bool - """ - - self._unauthenticated_emergency_service_accessible = unauthenticated_emergency_service_accessible - - @property - def internet_connectivity(self): - """Gets the internet_connectivity of this PasspointProfile. # noqa: E501 - - - :return: The internet_connectivity of this PasspointProfile. # noqa: E501 - :rtype: bool - """ - return self._internet_connectivity - - @internet_connectivity.setter - def internet_connectivity(self, internet_connectivity): - """Sets the internet_connectivity of this PasspointProfile. - - - :param internet_connectivity: The internet_connectivity of this PasspointProfile. # noqa: E501 - :type: bool - """ - - self._internet_connectivity = internet_connectivity - - @property - def ip_address_type_availability(self): - """Gets the ip_address_type_availability of this PasspointProfile. # noqa: E501 - - - :return: The ip_address_type_availability of this PasspointProfile. # noqa: E501 - :rtype: Object - """ - return self._ip_address_type_availability - - @ip_address_type_availability.setter - def ip_address_type_availability(self, ip_address_type_availability): - """Sets the ip_address_type_availability of this PasspointProfile. - - - :param ip_address_type_availability: The ip_address_type_availability of this PasspointProfile. # noqa: E501 - :type: Object - """ - - self._ip_address_type_availability = ip_address_type_availability - - @property - def qos_map_set_configuration(self): - """Gets the qos_map_set_configuration of this PasspointProfile. # noqa: E501 - - - :return: The qos_map_set_configuration of this PasspointProfile. # noqa: E501 - :rtype: list[str] - """ - return self._qos_map_set_configuration - - @qos_map_set_configuration.setter - def qos_map_set_configuration(self, qos_map_set_configuration): - """Sets the qos_map_set_configuration of this PasspointProfile. - - - :param qos_map_set_configuration: The qos_map_set_configuration of this PasspointProfile. # noqa: E501 - :type: list[str] - """ - - self._qos_map_set_configuration = qos_map_set_configuration - - @property - def hessid(self): - """Gets the hessid of this PasspointProfile. # noqa: E501 - - - :return: The hessid of this PasspointProfile. # noqa: E501 - :rtype: MacAddress - """ - return self._hessid - - @hessid.setter - def hessid(self, hessid): - """Sets the hessid of this PasspointProfile. - - - :param hessid: The hessid of this PasspointProfile. # noqa: E501 - :type: MacAddress - """ - - self._hessid = hessid - - @property - def ap_geospatial_location(self): - """Gets the ap_geospatial_location of this PasspointProfile. # noqa: E501 - - - :return: The ap_geospatial_location of this PasspointProfile. # noqa: E501 - :rtype: str - """ - return self._ap_geospatial_location - - @ap_geospatial_location.setter - def ap_geospatial_location(self, ap_geospatial_location): - """Sets the ap_geospatial_location of this PasspointProfile. - - - :param ap_geospatial_location: The ap_geospatial_location of this PasspointProfile. # noqa: E501 - :type: str - """ - - self._ap_geospatial_location = ap_geospatial_location - - @property - def ap_civic_location(self): - """Gets the ap_civic_location of this PasspointProfile. # noqa: E501 - - - :return: The ap_civic_location of this PasspointProfile. # noqa: E501 - :rtype: str - """ - return self._ap_civic_location - - @ap_civic_location.setter - def ap_civic_location(self, ap_civic_location): - """Sets the ap_civic_location of this PasspointProfile. - - - :param ap_civic_location: The ap_civic_location of this PasspointProfile. # noqa: E501 - :type: str - """ - - self._ap_civic_location = ap_civic_location - - @property - def anqp_domain_id(self): - """Gets the anqp_domain_id of this PasspointProfile. # noqa: E501 - - - :return: The anqp_domain_id of this PasspointProfile. # noqa: E501 - :rtype: int - """ - return self._anqp_domain_id - - @anqp_domain_id.setter - def anqp_domain_id(self, anqp_domain_id): - """Sets the anqp_domain_id of this PasspointProfile. - - - :param anqp_domain_id: The anqp_domain_id of this PasspointProfile. # noqa: E501 - :type: int - """ - - self._anqp_domain_id = anqp_domain_id - - @property - def disable_downstream_group_addressed_forwarding(self): - """Gets the disable_downstream_group_addressed_forwarding of this PasspointProfile. # noqa: E501 - - - :return: The disable_downstream_group_addressed_forwarding of this PasspointProfile. # noqa: E501 - :rtype: bool - """ - return self._disable_downstream_group_addressed_forwarding - - @disable_downstream_group_addressed_forwarding.setter - def disable_downstream_group_addressed_forwarding(self, disable_downstream_group_addressed_forwarding): - """Sets the disable_downstream_group_addressed_forwarding of this PasspointProfile. - - - :param disable_downstream_group_addressed_forwarding: The disable_downstream_group_addressed_forwarding of this PasspointProfile. # noqa: E501 - :type: bool - """ - - self._disable_downstream_group_addressed_forwarding = disable_downstream_group_addressed_forwarding - - @property - def enable2pt4_g_hz(self): - """Gets the enable2pt4_g_hz of this PasspointProfile. # noqa: E501 - - - :return: The enable2pt4_g_hz of this PasspointProfile. # noqa: E501 - :rtype: bool - """ - return self._enable2pt4_g_hz - - @enable2pt4_g_hz.setter - def enable2pt4_g_hz(self, enable2pt4_g_hz): - """Sets the enable2pt4_g_hz of this PasspointProfile. - - - :param enable2pt4_g_hz: The enable2pt4_g_hz of this PasspointProfile. # noqa: E501 - :type: bool - """ - - self._enable2pt4_g_hz = enable2pt4_g_hz - - @property - def enable5_g_hz(self): - """Gets the enable5_g_hz of this PasspointProfile. # noqa: E501 - - - :return: The enable5_g_hz of this PasspointProfile. # noqa: E501 - :rtype: bool - """ - return self._enable5_g_hz - - @enable5_g_hz.setter - def enable5_g_hz(self, enable5_g_hz): - """Sets the enable5_g_hz of this PasspointProfile. - - - :param enable5_g_hz: The enable5_g_hz of this PasspointProfile. # noqa: E501 - :type: bool - """ - - self._enable5_g_hz = enable5_g_hz - - @property - def associated_access_ssid_profile_ids(self): - """Gets the associated_access_ssid_profile_ids of this PasspointProfile. # noqa: E501 - - - :return: The associated_access_ssid_profile_ids of this PasspointProfile. # noqa: E501 - :rtype: list[int] - """ - return self._associated_access_ssid_profile_ids - - @associated_access_ssid_profile_ids.setter - def associated_access_ssid_profile_ids(self, associated_access_ssid_profile_ids): - """Sets the associated_access_ssid_profile_ids of this PasspointProfile. - - - :param associated_access_ssid_profile_ids: The associated_access_ssid_profile_ids of this PasspointProfile. # noqa: E501 - :type: list[int] - """ - - self._associated_access_ssid_profile_ids = associated_access_ssid_profile_ids - - @property - def osu_ssid_profile_id(self): - """Gets the osu_ssid_profile_id of this PasspointProfile. # noqa: E501 - - - :return: The osu_ssid_profile_id of this PasspointProfile. # noqa: E501 - :rtype: int - """ - return self._osu_ssid_profile_id - - @osu_ssid_profile_id.setter - def osu_ssid_profile_id(self, osu_ssid_profile_id): - """Sets the osu_ssid_profile_id of this PasspointProfile. - - - :param osu_ssid_profile_id: The osu_ssid_profile_id of this PasspointProfile. # noqa: E501 - :type: int - """ - - self._osu_ssid_profile_id = osu_ssid_profile_id - - @property - def passpoint_operator_profile_id(self): - """Gets the passpoint_operator_profile_id of this PasspointProfile. # noqa: E501 - - Profile Id of a PasspointOperatorProfile profile, must be also added to the children of this profile # noqa: E501 - - :return: The passpoint_operator_profile_id of this PasspointProfile. # noqa: E501 - :rtype: int - """ - return self._passpoint_operator_profile_id - - @passpoint_operator_profile_id.setter - def passpoint_operator_profile_id(self, passpoint_operator_profile_id): - """Sets the passpoint_operator_profile_id of this PasspointProfile. - - Profile Id of a PasspointOperatorProfile profile, must be also added to the children of this profile # noqa: E501 - - :param passpoint_operator_profile_id: The passpoint_operator_profile_id of this PasspointProfile. # noqa: E501 - :type: int - """ - - self._passpoint_operator_profile_id = passpoint_operator_profile_id - - @property - def passpoint_venue_profile_id(self): - """Gets the passpoint_venue_profile_id of this PasspointProfile. # noqa: E501 - - Profile Id of a PasspointVenueProfile profile, must be also added to the children of this profile # noqa: E501 - - :return: The passpoint_venue_profile_id of this PasspointProfile. # noqa: E501 - :rtype: int - """ - return self._passpoint_venue_profile_id - - @passpoint_venue_profile_id.setter - def passpoint_venue_profile_id(self, passpoint_venue_profile_id): - """Sets the passpoint_venue_profile_id of this PasspointProfile. - - Profile Id of a PasspointVenueProfile profile, must be also added to the children of this profile # noqa: E501 - - :param passpoint_venue_profile_id: The passpoint_venue_profile_id of this PasspointProfile. # noqa: E501 - :type: int - """ - - self._passpoint_venue_profile_id = passpoint_venue_profile_id - - @property - def passpoint_osu_provider_profile_ids(self): - """Gets the passpoint_osu_provider_profile_ids of this PasspointProfile. # noqa: E501 - - array containing Profile Ids of PasspointOsuProviderProfiles, must be also added to the children of this profile # noqa: E501 - - :return: The passpoint_osu_provider_profile_ids of this PasspointProfile. # noqa: E501 - :rtype: list[int] - """ - return self._passpoint_osu_provider_profile_ids - - @passpoint_osu_provider_profile_ids.setter - def passpoint_osu_provider_profile_ids(self, passpoint_osu_provider_profile_ids): - """Sets the passpoint_osu_provider_profile_ids of this PasspointProfile. - - array containing Profile Ids of PasspointOsuProviderProfiles, must be also added to the children of this profile # noqa: E501 - - :param passpoint_osu_provider_profile_ids: The passpoint_osu_provider_profile_ids of this PasspointProfile. # noqa: E501 - :type: list[int] - """ - - self._passpoint_osu_provider_profile_ids = passpoint_osu_provider_profile_ids - - @property - def ap_public_location_id_uri(self): - """Gets the ap_public_location_id_uri of this PasspointProfile. # noqa: E501 - - - :return: The ap_public_location_id_uri of this PasspointProfile. # noqa: E501 - :rtype: str - """ - return self._ap_public_location_id_uri - - @ap_public_location_id_uri.setter - def ap_public_location_id_uri(self, ap_public_location_id_uri): - """Sets the ap_public_location_id_uri of this PasspointProfile. - - - :param ap_public_location_id_uri: The ap_public_location_id_uri of this PasspointProfile. # noqa: E501 - :type: str - """ - - self._ap_public_location_id_uri = ap_public_location_id_uri - - @property - def access_network_type(self): - """Gets the access_network_type of this PasspointProfile. # noqa: E501 - - - :return: The access_network_type of this PasspointProfile. # noqa: E501 - :rtype: PasspointAccessNetworkType - """ - return self._access_network_type - - @access_network_type.setter - def access_network_type(self, access_network_type): - """Sets the access_network_type of this PasspointProfile. - - - :param access_network_type: The access_network_type of this PasspointProfile. # noqa: E501 - :type: PasspointAccessNetworkType - """ - - self._access_network_type = access_network_type - - @property - def network_authentication_type(self): - """Gets the network_authentication_type of this PasspointProfile. # noqa: E501 - - - :return: The network_authentication_type of this PasspointProfile. # noqa: E501 - :rtype: PasspointNetworkAuthenticationType - """ - return self._network_authentication_type - - @network_authentication_type.setter - def network_authentication_type(self, network_authentication_type): - """Sets the network_authentication_type of this PasspointProfile. - - - :param network_authentication_type: The network_authentication_type of this PasspointProfile. # noqa: E501 - :type: PasspointNetworkAuthenticationType - """ - - self._network_authentication_type = network_authentication_type - - @property - def connection_capability_set(self): - """Gets the connection_capability_set of this PasspointProfile. # noqa: E501 - - - :return: The connection_capability_set of this PasspointProfile. # noqa: E501 - :rtype: list[PasspointConnectionCapability] - """ - return self._connection_capability_set - - @connection_capability_set.setter - def connection_capability_set(self, connection_capability_set): - """Sets the connection_capability_set of this PasspointProfile. - - - :param connection_capability_set: The connection_capability_set of this PasspointProfile. # noqa: E501 - :type: list[PasspointConnectionCapability] - """ - - self._connection_capability_set = connection_capability_set - - @property - def gas_addr3_behaviour(self): - """Gets the gas_addr3_behaviour of this PasspointProfile. # noqa: E501 - - - :return: The gas_addr3_behaviour of this PasspointProfile. # noqa: E501 - :rtype: PasspointGasAddress3Behaviour - """ - return self._gas_addr3_behaviour - - @gas_addr3_behaviour.setter - def gas_addr3_behaviour(self, gas_addr3_behaviour): - """Sets the gas_addr3_behaviour of this PasspointProfile. - - - :param gas_addr3_behaviour: The gas_addr3_behaviour of this PasspointProfile. # noqa: E501 - :type: PasspointGasAddress3Behaviour - """ - - self._gas_addr3_behaviour = gas_addr3_behaviour - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(PasspointProfile, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, PasspointProfile): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_venue_name.py b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_venue_name.py deleted file mode 100644 index cb67f8052..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_venue_name.py +++ /dev/null @@ -1,110 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class PasspointVenueName(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'venue_url': 'str' - } - - attribute_map = { - 'venue_url': 'venueUrl' - } - - def __init__(self, venue_url=None): # noqa: E501 - """PasspointVenueName - a model defined in Swagger""" # noqa: E501 - self._venue_url = None - self.discriminator = None - if venue_url is not None: - self.venue_url = venue_url - - @property - def venue_url(self): - """Gets the venue_url of this PasspointVenueName. # noqa: E501 - - - :return: The venue_url of this PasspointVenueName. # noqa: E501 - :rtype: str - """ - return self._venue_url - - @venue_url.setter - def venue_url(self, venue_url): - """Sets the venue_url of this PasspointVenueName. - - - :param venue_url: The venue_url of this PasspointVenueName. # noqa: E501 - :type: str - """ - - self._venue_url = venue_url - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(PasspointVenueName, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, PasspointVenueName): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_venue_profile.py b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_venue_profile.py deleted file mode 100644 index cc14ce993..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_venue_profile.py +++ /dev/null @@ -1,174 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six -from swagger_client.models.profile_details import ProfileDetails # noqa: F401,E501 - -class PasspointVenueProfile(ProfileDetails): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'passpoint_venue_name_set': 'list[PasspointVenueName]', - 'passpoint_venue_type_assignment': 'list[PasspointVenueTypeAssignment]' - } - if hasattr(ProfileDetails, "swagger_types"): - swagger_types.update(ProfileDetails.swagger_types) - - attribute_map = { - 'model_type': 'model_type', - 'passpoint_venue_name_set': 'passpointVenueNameSet', - 'passpoint_venue_type_assignment': 'passpointVenueTypeAssignment' - } - if hasattr(ProfileDetails, "attribute_map"): - attribute_map.update(ProfileDetails.attribute_map) - - def __init__(self, model_type=None, passpoint_venue_name_set=None, passpoint_venue_type_assignment=None, *args, **kwargs): # noqa: E501 - """PasspointVenueProfile - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._passpoint_venue_name_set = None - self._passpoint_venue_type_assignment = None - self.discriminator = None - if model_type is not None: - self.model_type = model_type - if passpoint_venue_name_set is not None: - self.passpoint_venue_name_set = passpoint_venue_name_set - if passpoint_venue_type_assignment is not None: - self.passpoint_venue_type_assignment = passpoint_venue_type_assignment - ProfileDetails.__init__(self, *args, **kwargs) - - @property - def model_type(self): - """Gets the model_type of this PasspointVenueProfile. # noqa: E501 - - - :return: The model_type of this PasspointVenueProfile. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this PasspointVenueProfile. - - - :param model_type: The model_type of this PasspointVenueProfile. # noqa: E501 - :type: str - """ - allowed_values = ["PasspointVenueProfile"] # noqa: E501 - if model_type not in allowed_values: - raise ValueError( - "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 - .format(model_type, allowed_values) - ) - - self._model_type = model_type - - @property - def passpoint_venue_name_set(self): - """Gets the passpoint_venue_name_set of this PasspointVenueProfile. # noqa: E501 - - - :return: The passpoint_venue_name_set of this PasspointVenueProfile. # noqa: E501 - :rtype: list[PasspointVenueName] - """ - return self._passpoint_venue_name_set - - @passpoint_venue_name_set.setter - def passpoint_venue_name_set(self, passpoint_venue_name_set): - """Sets the passpoint_venue_name_set of this PasspointVenueProfile. - - - :param passpoint_venue_name_set: The passpoint_venue_name_set of this PasspointVenueProfile. # noqa: E501 - :type: list[PasspointVenueName] - """ - - self._passpoint_venue_name_set = passpoint_venue_name_set - - @property - def passpoint_venue_type_assignment(self): - """Gets the passpoint_venue_type_assignment of this PasspointVenueProfile. # noqa: E501 - - - :return: The passpoint_venue_type_assignment of this PasspointVenueProfile. # noqa: E501 - :rtype: list[PasspointVenueTypeAssignment] - """ - return self._passpoint_venue_type_assignment - - @passpoint_venue_type_assignment.setter - def passpoint_venue_type_assignment(self, passpoint_venue_type_assignment): - """Sets the passpoint_venue_type_assignment of this PasspointVenueProfile. - - - :param passpoint_venue_type_assignment: The passpoint_venue_type_assignment of this PasspointVenueProfile. # noqa: E501 - :type: list[PasspointVenueTypeAssignment] - """ - - self._passpoint_venue_type_assignment = passpoint_venue_type_assignment - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(PasspointVenueProfile, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, PasspointVenueProfile): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_venue_type_assignment.py b/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_venue_type_assignment.py deleted file mode 100644 index 6e1b8a1fa..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/passpoint_venue_type_assignment.py +++ /dev/null @@ -1,162 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class PasspointVenueTypeAssignment(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'venue_description': 'str', - 'venue_group_id': 'int', - 'venue_type_id': 'int' - } - - attribute_map = { - 'venue_description': 'venueDescription', - 'venue_group_id': 'venueGroupId', - 'venue_type_id': 'venueTypeId' - } - - def __init__(self, venue_description=None, venue_group_id=None, venue_type_id=None): # noqa: E501 - """PasspointVenueTypeAssignment - a model defined in Swagger""" # noqa: E501 - self._venue_description = None - self._venue_group_id = None - self._venue_type_id = None - self.discriminator = None - if venue_description is not None: - self.venue_description = venue_description - if venue_group_id is not None: - self.venue_group_id = venue_group_id - if venue_type_id is not None: - self.venue_type_id = venue_type_id - - @property - def venue_description(self): - """Gets the venue_description of this PasspointVenueTypeAssignment. # noqa: E501 - - - :return: The venue_description of this PasspointVenueTypeAssignment. # noqa: E501 - :rtype: str - """ - return self._venue_description - - @venue_description.setter - def venue_description(self, venue_description): - """Sets the venue_description of this PasspointVenueTypeAssignment. - - - :param venue_description: The venue_description of this PasspointVenueTypeAssignment. # noqa: E501 - :type: str - """ - - self._venue_description = venue_description - - @property - def venue_group_id(self): - """Gets the venue_group_id of this PasspointVenueTypeAssignment. # noqa: E501 - - - :return: The venue_group_id of this PasspointVenueTypeAssignment. # noqa: E501 - :rtype: int - """ - return self._venue_group_id - - @venue_group_id.setter - def venue_group_id(self, venue_group_id): - """Sets the venue_group_id of this PasspointVenueTypeAssignment. - - - :param venue_group_id: The venue_group_id of this PasspointVenueTypeAssignment. # noqa: E501 - :type: int - """ - - self._venue_group_id = venue_group_id - - @property - def venue_type_id(self): - """Gets the venue_type_id of this PasspointVenueTypeAssignment. # noqa: E501 - - - :return: The venue_type_id of this PasspointVenueTypeAssignment. # noqa: E501 - :rtype: int - """ - return self._venue_type_id - - @venue_type_id.setter - def venue_type_id(self, venue_type_id): - """Sets the venue_type_id of this PasspointVenueTypeAssignment. - - - :param venue_type_id: The venue_type_id of this PasspointVenueTypeAssignment. # noqa: E501 - :type: int - """ - - self._venue_type_id = venue_type_id - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(PasspointVenueTypeAssignment, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, PasspointVenueTypeAssignment): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/peer_info.py b/libs/cloudapi/cloudsdk/swagger_client/models/peer_info.py deleted file mode 100644 index f6e0fa0ac..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/peer_info.py +++ /dev/null @@ -1,214 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class PeerInfo(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'peer_mac': 'list[int]', - 'peer_ip': 'str', - 'tunnel': 'TunnelIndicator', - 'vlans': 'list[int]', - 'radius_secret': 'str' - } - - attribute_map = { - 'peer_mac': 'peerMAC', - 'peer_ip': 'peerIP', - 'tunnel': 'tunnel', - 'vlans': 'vlans', - 'radius_secret': 'radiusSecret' - } - - def __init__(self, peer_mac=None, peer_ip=None, tunnel=None, vlans=None, radius_secret=None): # noqa: E501 - """PeerInfo - a model defined in Swagger""" # noqa: E501 - self._peer_mac = None - self._peer_ip = None - self._tunnel = None - self._vlans = None - self._radius_secret = None - self.discriminator = None - if peer_mac is not None: - self.peer_mac = peer_mac - if peer_ip is not None: - self.peer_ip = peer_ip - if tunnel is not None: - self.tunnel = tunnel - if vlans is not None: - self.vlans = vlans - if radius_secret is not None: - self.radius_secret = radius_secret - - @property - def peer_mac(self): - """Gets the peer_mac of this PeerInfo. # noqa: E501 - - - :return: The peer_mac of this PeerInfo. # noqa: E501 - :rtype: list[int] - """ - return self._peer_mac - - @peer_mac.setter - def peer_mac(self, peer_mac): - """Sets the peer_mac of this PeerInfo. - - - :param peer_mac: The peer_mac of this PeerInfo. # noqa: E501 - :type: list[int] - """ - - self._peer_mac = peer_mac - - @property - def peer_ip(self): - """Gets the peer_ip of this PeerInfo. # noqa: E501 - - - :return: The peer_ip of this PeerInfo. # noqa: E501 - :rtype: str - """ - return self._peer_ip - - @peer_ip.setter - def peer_ip(self, peer_ip): - """Sets the peer_ip of this PeerInfo. - - - :param peer_ip: The peer_ip of this PeerInfo. # noqa: E501 - :type: str - """ - - self._peer_ip = peer_ip - - @property - def tunnel(self): - """Gets the tunnel of this PeerInfo. # noqa: E501 - - - :return: The tunnel of this PeerInfo. # noqa: E501 - :rtype: TunnelIndicator - """ - return self._tunnel - - @tunnel.setter - def tunnel(self, tunnel): - """Sets the tunnel of this PeerInfo. - - - :param tunnel: The tunnel of this PeerInfo. # noqa: E501 - :type: TunnelIndicator - """ - - self._tunnel = tunnel - - @property - def vlans(self): - """Gets the vlans of this PeerInfo. # noqa: E501 - - - :return: The vlans of this PeerInfo. # noqa: E501 - :rtype: list[int] - """ - return self._vlans - - @vlans.setter - def vlans(self, vlans): - """Sets the vlans of this PeerInfo. - - - :param vlans: The vlans of this PeerInfo. # noqa: E501 - :type: list[int] - """ - - self._vlans = vlans - - @property - def radius_secret(self): - """Gets the radius_secret of this PeerInfo. # noqa: E501 - - - :return: The radius_secret of this PeerInfo. # noqa: E501 - :rtype: str - """ - return self._radius_secret - - @radius_secret.setter - def radius_secret(self, radius_secret): - """Sets the radius_secret of this PeerInfo. - - - :param radius_secret: The radius_secret of this PeerInfo. # noqa: E501 - :type: str - """ - - self._radius_secret = radius_secret - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(PeerInfo, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, PeerInfo): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/per_process_utilization.py b/libs/cloudapi/cloudsdk/swagger_client/models/per_process_utilization.py deleted file mode 100644 index 147a848e7..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/per_process_utilization.py +++ /dev/null @@ -1,168 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class PerProcessUtilization(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'pid': 'int', - 'cmd': 'str', - 'util': 'int' - } - - attribute_map = { - 'pid': 'pid', - 'cmd': 'cmd', - 'util': 'util' - } - - def __init__(self, pid=None, cmd=None, util=None): # noqa: E501 - """PerProcessUtilization - a model defined in Swagger""" # noqa: E501 - self._pid = None - self._cmd = None - self._util = None - self.discriminator = None - if pid is not None: - self.pid = pid - if cmd is not None: - self.cmd = cmd - if util is not None: - self.util = util - - @property - def pid(self): - """Gets the pid of this PerProcessUtilization. # noqa: E501 - - process id # noqa: E501 - - :return: The pid of this PerProcessUtilization. # noqa: E501 - :rtype: int - """ - return self._pid - - @pid.setter - def pid(self, pid): - """Sets the pid of this PerProcessUtilization. - - process id # noqa: E501 - - :param pid: The pid of this PerProcessUtilization. # noqa: E501 - :type: int - """ - - self._pid = pid - - @property - def cmd(self): - """Gets the cmd of this PerProcessUtilization. # noqa: E501 - - process name # noqa: E501 - - :return: The cmd of this PerProcessUtilization. # noqa: E501 - :rtype: str - """ - return self._cmd - - @cmd.setter - def cmd(self, cmd): - """Sets the cmd of this PerProcessUtilization. - - process name # noqa: E501 - - :param cmd: The cmd of this PerProcessUtilization. # noqa: E501 - :type: str - """ - - self._cmd = cmd - - @property - def util(self): - """Gets the util of this PerProcessUtilization. # noqa: E501 - - utilization, either as a percentage (i.e. for CPU) or in kB (for memory) # noqa: E501 - - :return: The util of this PerProcessUtilization. # noqa: E501 - :rtype: int - """ - return self._util - - @util.setter - def util(self, util): - """Sets the util of this PerProcessUtilization. - - utilization, either as a percentage (i.e. for CPU) or in kB (for memory) # noqa: E501 - - :param util: The util of this PerProcessUtilization. # noqa: E501 - :type: int - """ - - self._util = util - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(PerProcessUtilization, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, PerProcessUtilization): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/ping_response.py b/libs/cloudapi/cloudsdk/swagger_client/models/ping_response.py deleted file mode 100644 index 08904d75d..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/ping_response.py +++ /dev/null @@ -1,266 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class PingResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'startup_time': 'int', - 'current_time': 'int', - 'application_name': 'str', - 'host_name': 'str', - 'commit_id': 'str', - 'commit_date': 'str', - 'project_version': 'str' - } - - attribute_map = { - 'startup_time': 'startupTime', - 'current_time': 'currentTime', - 'application_name': 'applicationName', - 'host_name': 'hostName', - 'commit_id': 'commitID', - 'commit_date': 'commitDate', - 'project_version': 'projectVersion' - } - - def __init__(self, startup_time=None, current_time=None, application_name=None, host_name=None, commit_id=None, commit_date=None, project_version=None): # noqa: E501 - """PingResponse - a model defined in Swagger""" # noqa: E501 - self._startup_time = None - self._current_time = None - self._application_name = None - self._host_name = None - self._commit_id = None - self._commit_date = None - self._project_version = None - self.discriminator = None - if startup_time is not None: - self.startup_time = startup_time - if current_time is not None: - self.current_time = current_time - if application_name is not None: - self.application_name = application_name - if host_name is not None: - self.host_name = host_name - if commit_id is not None: - self.commit_id = commit_id - if commit_date is not None: - self.commit_date = commit_date - if project_version is not None: - self.project_version = project_version - - @property - def startup_time(self): - """Gets the startup_time of this PingResponse. # noqa: E501 - - - :return: The startup_time of this PingResponse. # noqa: E501 - :rtype: int - """ - return self._startup_time - - @startup_time.setter - def startup_time(self, startup_time): - """Sets the startup_time of this PingResponse. - - - :param startup_time: The startup_time of this PingResponse. # noqa: E501 - :type: int - """ - - self._startup_time = startup_time - - @property - def current_time(self): - """Gets the current_time of this PingResponse. # noqa: E501 - - - :return: The current_time of this PingResponse. # noqa: E501 - :rtype: int - """ - return self._current_time - - @current_time.setter - def current_time(self, current_time): - """Sets the current_time of this PingResponse. - - - :param current_time: The current_time of this PingResponse. # noqa: E501 - :type: int - """ - - self._current_time = current_time - - @property - def application_name(self): - """Gets the application_name of this PingResponse. # noqa: E501 - - - :return: The application_name of this PingResponse. # noqa: E501 - :rtype: str - """ - return self._application_name - - @application_name.setter - def application_name(self, application_name): - """Sets the application_name of this PingResponse. - - - :param application_name: The application_name of this PingResponse. # noqa: E501 - :type: str - """ - - self._application_name = application_name - - @property - def host_name(self): - """Gets the host_name of this PingResponse. # noqa: E501 - - - :return: The host_name of this PingResponse. # noqa: E501 - :rtype: str - """ - return self._host_name - - @host_name.setter - def host_name(self, host_name): - """Sets the host_name of this PingResponse. - - - :param host_name: The host_name of this PingResponse. # noqa: E501 - :type: str - """ - - self._host_name = host_name - - @property - def commit_id(self): - """Gets the commit_id of this PingResponse. # noqa: E501 - - - :return: The commit_id of this PingResponse. # noqa: E501 - :rtype: str - """ - return self._commit_id - - @commit_id.setter - def commit_id(self, commit_id): - """Sets the commit_id of this PingResponse. - - - :param commit_id: The commit_id of this PingResponse. # noqa: E501 - :type: str - """ - - self._commit_id = commit_id - - @property - def commit_date(self): - """Gets the commit_date of this PingResponse. # noqa: E501 - - - :return: The commit_date of this PingResponse. # noqa: E501 - :rtype: str - """ - return self._commit_date - - @commit_date.setter - def commit_date(self, commit_date): - """Sets the commit_date of this PingResponse. - - - :param commit_date: The commit_date of this PingResponse. # noqa: E501 - :type: str - """ - - self._commit_date = commit_date - - @property - def project_version(self): - """Gets the project_version of this PingResponse. # noqa: E501 - - - :return: The project_version of this PingResponse. # noqa: E501 - :rtype: str - """ - return self._project_version - - @project_version.setter - def project_version(self, project_version): - """Sets the project_version of this PingResponse. - - - :param project_version: The project_version of this PingResponse. # noqa: E501 - :type: str - """ - - self._project_version = project_version - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(PingResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, PingResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/portal_user.py b/libs/cloudapi/cloudsdk/swagger_client/models/portal_user.py deleted file mode 100644 index 6e309dcbd..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/portal_user.py +++ /dev/null @@ -1,268 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class PortalUser(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'int', - 'customer_id': 'int', - 'username': 'str', - 'password': 'str', - 'roles': 'list[PortalUserRole]', - 'created_timestamp': 'int', - 'last_modified_timestamp': 'int' - } - - attribute_map = { - 'id': 'id', - 'customer_id': 'customerId', - 'username': 'username', - 'password': 'password', - 'roles': 'roles', - 'created_timestamp': 'createdTimestamp', - 'last_modified_timestamp': 'lastModifiedTimestamp' - } - - def __init__(self, id=None, customer_id=None, username=None, password=None, roles=None, created_timestamp=None, last_modified_timestamp=None): # noqa: E501 - """PortalUser - a model defined in Swagger""" # noqa: E501 - self._id = None - self._customer_id = None - self._username = None - self._password = None - self._roles = None - self._created_timestamp = None - self._last_modified_timestamp = None - self.discriminator = None - if id is not None: - self.id = id - if customer_id is not None: - self.customer_id = customer_id - if username is not None: - self.username = username - if password is not None: - self.password = password - if roles is not None: - self.roles = roles - if created_timestamp is not None: - self.created_timestamp = created_timestamp - if last_modified_timestamp is not None: - self.last_modified_timestamp = last_modified_timestamp - - @property - def id(self): - """Gets the id of this PortalUser. # noqa: E501 - - - :return: The id of this PortalUser. # noqa: E501 - :rtype: int - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this PortalUser. - - - :param id: The id of this PortalUser. # noqa: E501 - :type: int - """ - - self._id = id - - @property - def customer_id(self): - """Gets the customer_id of this PortalUser. # noqa: E501 - - - :return: The customer_id of this PortalUser. # noqa: E501 - :rtype: int - """ - return self._customer_id - - @customer_id.setter - def customer_id(self, customer_id): - """Sets the customer_id of this PortalUser. - - - :param customer_id: The customer_id of this PortalUser. # noqa: E501 - :type: int - """ - - self._customer_id = customer_id - - @property - def username(self): - """Gets the username of this PortalUser. # noqa: E501 - - - :return: The username of this PortalUser. # noqa: E501 - :rtype: str - """ - return self._username - - @username.setter - def username(self, username): - """Sets the username of this PortalUser. - - - :param username: The username of this PortalUser. # noqa: E501 - :type: str - """ - - self._username = username - - @property - def password(self): - """Gets the password of this PortalUser. # noqa: E501 - - - :return: The password of this PortalUser. # noqa: E501 - :rtype: str - """ - return self._password - - @password.setter - def password(self, password): - """Sets the password of this PortalUser. - - - :param password: The password of this PortalUser. # noqa: E501 - :type: str - """ - - self._password = password - - @property - def roles(self): - """Gets the roles of this PortalUser. # noqa: E501 - - - :return: The roles of this PortalUser. # noqa: E501 - :rtype: list[PortalUserRole] - """ - return self._roles - - @roles.setter - def roles(self, roles): - """Sets the roles of this PortalUser. - - - :param roles: The roles of this PortalUser. # noqa: E501 - :type: list[PortalUserRole] - """ - - self._roles = roles - - @property - def created_timestamp(self): - """Gets the created_timestamp of this PortalUser. # noqa: E501 - - - :return: The created_timestamp of this PortalUser. # noqa: E501 - :rtype: int - """ - return self._created_timestamp - - @created_timestamp.setter - def created_timestamp(self, created_timestamp): - """Sets the created_timestamp of this PortalUser. - - - :param created_timestamp: The created_timestamp of this PortalUser. # noqa: E501 - :type: int - """ - - self._created_timestamp = created_timestamp - - @property - def last_modified_timestamp(self): - """Gets the last_modified_timestamp of this PortalUser. # noqa: E501 - - must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database # noqa: E501 - - :return: The last_modified_timestamp of this PortalUser. # noqa: E501 - :rtype: int - """ - return self._last_modified_timestamp - - @last_modified_timestamp.setter - def last_modified_timestamp(self, last_modified_timestamp): - """Sets the last_modified_timestamp of this PortalUser. - - must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database # noqa: E501 - - :param last_modified_timestamp: The last_modified_timestamp of this PortalUser. # noqa: E501 - :type: int - """ - - self._last_modified_timestamp = last_modified_timestamp - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(PortalUser, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, PortalUser): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/portal_user_added_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/portal_user_added_event.py deleted file mode 100644 index 87b2f722f..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/portal_user_added_event.py +++ /dev/null @@ -1,189 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class PortalUserAddedEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'event_timestamp': 'int', - 'customer_id': 'int', - 'payload': 'PortalUser' - } - - attribute_map = { - 'model_type': 'model_type', - 'event_timestamp': 'eventTimestamp', - 'customer_id': 'customerId', - 'payload': 'payload' - } - - def __init__(self, model_type=None, event_timestamp=None, customer_id=None, payload=None): # noqa: E501 - """PortalUserAddedEvent - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._event_timestamp = None - self._customer_id = None - self._payload = None - self.discriminator = None - self.model_type = model_type - if event_timestamp is not None: - self.event_timestamp = event_timestamp - if customer_id is not None: - self.customer_id = customer_id - if payload is not None: - self.payload = payload - - @property - def model_type(self): - """Gets the model_type of this PortalUserAddedEvent. # noqa: E501 - - - :return: The model_type of this PortalUserAddedEvent. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this PortalUserAddedEvent. - - - :param model_type: The model_type of this PortalUserAddedEvent. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - - self._model_type = model_type - - @property - def event_timestamp(self): - """Gets the event_timestamp of this PortalUserAddedEvent. # noqa: E501 - - - :return: The event_timestamp of this PortalUserAddedEvent. # noqa: E501 - :rtype: int - """ - return self._event_timestamp - - @event_timestamp.setter - def event_timestamp(self, event_timestamp): - """Sets the event_timestamp of this PortalUserAddedEvent. - - - :param event_timestamp: The event_timestamp of this PortalUserAddedEvent. # noqa: E501 - :type: int - """ - - self._event_timestamp = event_timestamp - - @property - def customer_id(self): - """Gets the customer_id of this PortalUserAddedEvent. # noqa: E501 - - - :return: The customer_id of this PortalUserAddedEvent. # noqa: E501 - :rtype: int - """ - return self._customer_id - - @customer_id.setter - def customer_id(self, customer_id): - """Sets the customer_id of this PortalUserAddedEvent. - - - :param customer_id: The customer_id of this PortalUserAddedEvent. # noqa: E501 - :type: int - """ - - self._customer_id = customer_id - - @property - def payload(self): - """Gets the payload of this PortalUserAddedEvent. # noqa: E501 - - - :return: The payload of this PortalUserAddedEvent. # noqa: E501 - :rtype: PortalUser - """ - return self._payload - - @payload.setter - def payload(self, payload): - """Sets the payload of this PortalUserAddedEvent. - - - :param payload: The payload of this PortalUserAddedEvent. # noqa: E501 - :type: PortalUser - """ - - self._payload = payload - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(PortalUserAddedEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, PortalUserAddedEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/portal_user_changed_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/portal_user_changed_event.py deleted file mode 100644 index f97a50b7b..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/portal_user_changed_event.py +++ /dev/null @@ -1,189 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class PortalUserChangedEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'event_timestamp': 'int', - 'customer_id': 'int', - 'payload': 'PortalUser' - } - - attribute_map = { - 'model_type': 'model_type', - 'event_timestamp': 'eventTimestamp', - 'customer_id': 'customerId', - 'payload': 'payload' - } - - def __init__(self, model_type=None, event_timestamp=None, customer_id=None, payload=None): # noqa: E501 - """PortalUserChangedEvent - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._event_timestamp = None - self._customer_id = None - self._payload = None - self.discriminator = None - self.model_type = model_type - if event_timestamp is not None: - self.event_timestamp = event_timestamp - if customer_id is not None: - self.customer_id = customer_id - if payload is not None: - self.payload = payload - - @property - def model_type(self): - """Gets the model_type of this PortalUserChangedEvent. # noqa: E501 - - - :return: The model_type of this PortalUserChangedEvent. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this PortalUserChangedEvent. - - - :param model_type: The model_type of this PortalUserChangedEvent. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - - self._model_type = model_type - - @property - def event_timestamp(self): - """Gets the event_timestamp of this PortalUserChangedEvent. # noqa: E501 - - - :return: The event_timestamp of this PortalUserChangedEvent. # noqa: E501 - :rtype: int - """ - return self._event_timestamp - - @event_timestamp.setter - def event_timestamp(self, event_timestamp): - """Sets the event_timestamp of this PortalUserChangedEvent. - - - :param event_timestamp: The event_timestamp of this PortalUserChangedEvent. # noqa: E501 - :type: int - """ - - self._event_timestamp = event_timestamp - - @property - def customer_id(self): - """Gets the customer_id of this PortalUserChangedEvent. # noqa: E501 - - - :return: The customer_id of this PortalUserChangedEvent. # noqa: E501 - :rtype: int - """ - return self._customer_id - - @customer_id.setter - def customer_id(self, customer_id): - """Sets the customer_id of this PortalUserChangedEvent. - - - :param customer_id: The customer_id of this PortalUserChangedEvent. # noqa: E501 - :type: int - """ - - self._customer_id = customer_id - - @property - def payload(self): - """Gets the payload of this PortalUserChangedEvent. # noqa: E501 - - - :return: The payload of this PortalUserChangedEvent. # noqa: E501 - :rtype: PortalUser - """ - return self._payload - - @payload.setter - def payload(self, payload): - """Sets the payload of this PortalUserChangedEvent. - - - :param payload: The payload of this PortalUserChangedEvent. # noqa: E501 - :type: PortalUser - """ - - self._payload = payload - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(PortalUserChangedEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, PortalUserChangedEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/portal_user_removed_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/portal_user_removed_event.py deleted file mode 100644 index c0505dd69..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/portal_user_removed_event.py +++ /dev/null @@ -1,189 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class PortalUserRemovedEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'event_timestamp': 'int', - 'customer_id': 'int', - 'payload': 'PortalUser' - } - - attribute_map = { - 'model_type': 'model_type', - 'event_timestamp': 'eventTimestamp', - 'customer_id': 'customerId', - 'payload': 'payload' - } - - def __init__(self, model_type=None, event_timestamp=None, customer_id=None, payload=None): # noqa: E501 - """PortalUserRemovedEvent - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._event_timestamp = None - self._customer_id = None - self._payload = None - self.discriminator = None - self.model_type = model_type - if event_timestamp is not None: - self.event_timestamp = event_timestamp - if customer_id is not None: - self.customer_id = customer_id - if payload is not None: - self.payload = payload - - @property - def model_type(self): - """Gets the model_type of this PortalUserRemovedEvent. # noqa: E501 - - - :return: The model_type of this PortalUserRemovedEvent. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this PortalUserRemovedEvent. - - - :param model_type: The model_type of this PortalUserRemovedEvent. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - - self._model_type = model_type - - @property - def event_timestamp(self): - """Gets the event_timestamp of this PortalUserRemovedEvent. # noqa: E501 - - - :return: The event_timestamp of this PortalUserRemovedEvent. # noqa: E501 - :rtype: int - """ - return self._event_timestamp - - @event_timestamp.setter - def event_timestamp(self, event_timestamp): - """Sets the event_timestamp of this PortalUserRemovedEvent. - - - :param event_timestamp: The event_timestamp of this PortalUserRemovedEvent. # noqa: E501 - :type: int - """ - - self._event_timestamp = event_timestamp - - @property - def customer_id(self): - """Gets the customer_id of this PortalUserRemovedEvent. # noqa: E501 - - - :return: The customer_id of this PortalUserRemovedEvent. # noqa: E501 - :rtype: int - """ - return self._customer_id - - @customer_id.setter - def customer_id(self, customer_id): - """Sets the customer_id of this PortalUserRemovedEvent. - - - :param customer_id: The customer_id of this PortalUserRemovedEvent. # noqa: E501 - :type: int - """ - - self._customer_id = customer_id - - @property - def payload(self): - """Gets the payload of this PortalUserRemovedEvent. # noqa: E501 - - - :return: The payload of this PortalUserRemovedEvent. # noqa: E501 - :rtype: PortalUser - """ - return self._payload - - @payload.setter - def payload(self, payload): - """Sets the payload of this PortalUserRemovedEvent. - - - :param payload: The payload of this PortalUserRemovedEvent. # noqa: E501 - :type: PortalUser - """ - - self._payload = payload - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(PortalUserRemovedEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, PortalUserRemovedEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/portal_user_role.py b/libs/cloudapi/cloudsdk/swagger_client/models/portal_user_role.py deleted file mode 100644 index 87edbe7c4..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/portal_user_role.py +++ /dev/null @@ -1,99 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class PortalUserRole(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - SUPERUSER = "SuperUser" - SUPERUSER_RO = "SuperUser_RO" - CUSTOMERIT = "CustomerIT" - CUSTOMERIT_RO = "CustomerIT_RO" - DISTRIBUTOR = "Distributor" - DISTRIBUTOR_RO = "Distributor_RO" - MANAGEDSERVICEPROVIDER = "ManagedServiceProvider" - MANAGEDSERVICEPROVIDER_RO = "ManagedServiceProvider_RO" - TECHSUPPORT = "TechSupport" - TECHSUPPORT_RO = "TechSupport_RO" - PUBLIC = "Public" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """PortalUserRole - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(PortalUserRole, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, PortalUserRole): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/profile.py b/libs/cloudapi/cloudsdk/swagger_client/models/profile.py deleted file mode 100644 index 36ba007d1..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/profile.py +++ /dev/null @@ -1,294 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class Profile(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'int', - 'profile_type': 'ProfileType', - 'customer_id': 'int', - 'name': 'str', - 'child_profile_ids': 'list[int]', - 'details': 'ProfileDetailsChildren', - 'created_timestamp': 'int', - 'last_modified_timestamp': 'int' - } - - attribute_map = { - 'id': 'id', - 'profile_type': 'profileType', - 'customer_id': 'customerId', - 'name': 'name', - 'child_profile_ids': 'childProfileIds', - 'details': 'details', - 'created_timestamp': 'createdTimestamp', - 'last_modified_timestamp': 'lastModifiedTimestamp' - } - - def __init__(self, id=None, profile_type=None, customer_id=None, name=None, child_profile_ids=None, details=None, created_timestamp=None, last_modified_timestamp=None): # noqa: E501 - """Profile - a model defined in Swagger""" # noqa: E501 - self._id = None - self._profile_type = None - self._customer_id = None - self._name = None - self._child_profile_ids = None - self._details = None - self._created_timestamp = None - self._last_modified_timestamp = None - self.discriminator = None - if id is not None: - self.id = id - if profile_type is not None: - self.profile_type = profile_type - if customer_id is not None: - self.customer_id = customer_id - if name is not None: - self.name = name - if child_profile_ids is not None: - self.child_profile_ids = child_profile_ids - if details is not None: - self.details = details - if created_timestamp is not None: - self.created_timestamp = created_timestamp - if last_modified_timestamp is not None: - self.last_modified_timestamp = last_modified_timestamp - - @property - def id(self): - """Gets the id of this Profile. # noqa: E501 - - - :return: The id of this Profile. # noqa: E501 - :rtype: int - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this Profile. - - - :param id: The id of this Profile. # noqa: E501 - :type: int - """ - - self._id = id - - @property - def profile_type(self): - """Gets the profile_type of this Profile. # noqa: E501 - - - :return: The profile_type of this Profile. # noqa: E501 - :rtype: ProfileType - """ - return self._profile_type - - @profile_type.setter - def profile_type(self, profile_type): - """Sets the profile_type of this Profile. - - - :param profile_type: The profile_type of this Profile. # noqa: E501 - :type: ProfileType - """ - - self._profile_type = profile_type - - @property - def customer_id(self): - """Gets the customer_id of this Profile. # noqa: E501 - - - :return: The customer_id of this Profile. # noqa: E501 - :rtype: int - """ - return self._customer_id - - @customer_id.setter - def customer_id(self, customer_id): - """Sets the customer_id of this Profile. - - - :param customer_id: The customer_id of this Profile. # noqa: E501 - :type: int - """ - - self._customer_id = customer_id - - @property - def name(self): - """Gets the name of this Profile. # noqa: E501 - - - :return: The name of this Profile. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this Profile. - - - :param name: The name of this Profile. # noqa: E501 - :type: str - """ - - self._name = name - - @property - def child_profile_ids(self): - """Gets the child_profile_ids of this Profile. # noqa: E501 - - - :return: The child_profile_ids of this Profile. # noqa: E501 - :rtype: list[int] - """ - return self._child_profile_ids - - @child_profile_ids.setter - def child_profile_ids(self, child_profile_ids): - """Sets the child_profile_ids of this Profile. - - - :param child_profile_ids: The child_profile_ids of this Profile. # noqa: E501 - :type: list[int] - """ - - self._child_profile_ids = child_profile_ids - - @property - def details(self): - """Gets the details of this Profile. # noqa: E501 - - - :return: The details of this Profile. # noqa: E501 - :rtype: ProfileDetailsChildren - """ - return self._details - - @details.setter - def details(self, details): - """Sets the details of this Profile. - - - :param details: The details of this Profile. # noqa: E501 - :type: ProfileDetailsChildren - """ - - self._details = details - - @property - def created_timestamp(self): - """Gets the created_timestamp of this Profile. # noqa: E501 - - - :return: The created_timestamp of this Profile. # noqa: E501 - :rtype: int - """ - return self._created_timestamp - - @created_timestamp.setter - def created_timestamp(self, created_timestamp): - """Sets the created_timestamp of this Profile. - - - :param created_timestamp: The created_timestamp of this Profile. # noqa: E501 - :type: int - """ - - self._created_timestamp = created_timestamp - - @property - def last_modified_timestamp(self): - """Gets the last_modified_timestamp of this Profile. # noqa: E501 - - must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database # noqa: E501 - - :return: The last_modified_timestamp of this Profile. # noqa: E501 - :rtype: int - """ - return self._last_modified_timestamp - - @last_modified_timestamp.setter - def last_modified_timestamp(self, last_modified_timestamp): - """Sets the last_modified_timestamp of this Profile. - - must be provided for update operation, update will be rejected if provided value does not match the one currently stored in the database # noqa: E501 - - :param last_modified_timestamp: The last_modified_timestamp of this Profile. # noqa: E501 - :type: int - """ - - self._last_modified_timestamp = last_modified_timestamp - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(Profile, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, Profile): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/profile_added_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/profile_added_event.py deleted file mode 100644 index aa7758db0..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/profile_added_event.py +++ /dev/null @@ -1,189 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ProfileAddedEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'event_timestamp': 'int', - 'customer_id': 'int', - 'payload': 'Profile' - } - - attribute_map = { - 'model_type': 'model_type', - 'event_timestamp': 'eventTimestamp', - 'customer_id': 'customerId', - 'payload': 'payload' - } - - def __init__(self, model_type=None, event_timestamp=None, customer_id=None, payload=None): # noqa: E501 - """ProfileAddedEvent - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._event_timestamp = None - self._customer_id = None - self._payload = None - self.discriminator = None - self.model_type = model_type - if event_timestamp is not None: - self.event_timestamp = event_timestamp - if customer_id is not None: - self.customer_id = customer_id - if payload is not None: - self.payload = payload - - @property - def model_type(self): - """Gets the model_type of this ProfileAddedEvent. # noqa: E501 - - - :return: The model_type of this ProfileAddedEvent. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this ProfileAddedEvent. - - - :param model_type: The model_type of this ProfileAddedEvent. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - - self._model_type = model_type - - @property - def event_timestamp(self): - """Gets the event_timestamp of this ProfileAddedEvent. # noqa: E501 - - - :return: The event_timestamp of this ProfileAddedEvent. # noqa: E501 - :rtype: int - """ - return self._event_timestamp - - @event_timestamp.setter - def event_timestamp(self, event_timestamp): - """Sets the event_timestamp of this ProfileAddedEvent. - - - :param event_timestamp: The event_timestamp of this ProfileAddedEvent. # noqa: E501 - :type: int - """ - - self._event_timestamp = event_timestamp - - @property - def customer_id(self): - """Gets the customer_id of this ProfileAddedEvent. # noqa: E501 - - - :return: The customer_id of this ProfileAddedEvent. # noqa: E501 - :rtype: int - """ - return self._customer_id - - @customer_id.setter - def customer_id(self, customer_id): - """Sets the customer_id of this ProfileAddedEvent. - - - :param customer_id: The customer_id of this ProfileAddedEvent. # noqa: E501 - :type: int - """ - - self._customer_id = customer_id - - @property - def payload(self): - """Gets the payload of this ProfileAddedEvent. # noqa: E501 - - - :return: The payload of this ProfileAddedEvent. # noqa: E501 - :rtype: Profile - """ - return self._payload - - @payload.setter - def payload(self, payload): - """Sets the payload of this ProfileAddedEvent. - - - :param payload: The payload of this ProfileAddedEvent. # noqa: E501 - :type: Profile - """ - - self._payload = payload - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ProfileAddedEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ProfileAddedEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/profile_changed_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/profile_changed_event.py deleted file mode 100644 index 499a5fe76..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/profile_changed_event.py +++ /dev/null @@ -1,189 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ProfileChangedEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'event_timestamp': 'int', - 'customer_id': 'int', - 'payload': 'Profile' - } - - attribute_map = { - 'model_type': 'model_type', - 'event_timestamp': 'eventTimestamp', - 'customer_id': 'customerId', - 'payload': 'payload' - } - - def __init__(self, model_type=None, event_timestamp=None, customer_id=None, payload=None): # noqa: E501 - """ProfileChangedEvent - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._event_timestamp = None - self._customer_id = None - self._payload = None - self.discriminator = None - self.model_type = model_type - if event_timestamp is not None: - self.event_timestamp = event_timestamp - if customer_id is not None: - self.customer_id = customer_id - if payload is not None: - self.payload = payload - - @property - def model_type(self): - """Gets the model_type of this ProfileChangedEvent. # noqa: E501 - - - :return: The model_type of this ProfileChangedEvent. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this ProfileChangedEvent. - - - :param model_type: The model_type of this ProfileChangedEvent. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - - self._model_type = model_type - - @property - def event_timestamp(self): - """Gets the event_timestamp of this ProfileChangedEvent. # noqa: E501 - - - :return: The event_timestamp of this ProfileChangedEvent. # noqa: E501 - :rtype: int - """ - return self._event_timestamp - - @event_timestamp.setter - def event_timestamp(self, event_timestamp): - """Sets the event_timestamp of this ProfileChangedEvent. - - - :param event_timestamp: The event_timestamp of this ProfileChangedEvent. # noqa: E501 - :type: int - """ - - self._event_timestamp = event_timestamp - - @property - def customer_id(self): - """Gets the customer_id of this ProfileChangedEvent. # noqa: E501 - - - :return: The customer_id of this ProfileChangedEvent. # noqa: E501 - :rtype: int - """ - return self._customer_id - - @customer_id.setter - def customer_id(self, customer_id): - """Sets the customer_id of this ProfileChangedEvent. - - - :param customer_id: The customer_id of this ProfileChangedEvent. # noqa: E501 - :type: int - """ - - self._customer_id = customer_id - - @property - def payload(self): - """Gets the payload of this ProfileChangedEvent. # noqa: E501 - - - :return: The payload of this ProfileChangedEvent. # noqa: E501 - :rtype: Profile - """ - return self._payload - - @payload.setter - def payload(self, payload): - """Sets the payload of this ProfileChangedEvent. - - - :param payload: The payload of this ProfileChangedEvent. # noqa: E501 - :type: Profile - """ - - self._payload = payload - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ProfileChangedEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ProfileChangedEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/profile_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/profile_details.py deleted file mode 100644 index f91b3f398..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/profile_details.py +++ /dev/null @@ -1,136 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ProfileDetails(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str' - } - - attribute_map = { - 'model_type': 'model_type' - } - - discriminator_value_class_map = { - 'PasspointOsuProviderProfile': 'PasspointOsuProviderProfile', -'PasspointProfile': 'PasspointProfile', -'BonjourGatewayProfile': 'BonjourGatewayProfile', -'SsidConfiguration': 'SsidConfiguration', -'MeshGroup': 'MeshGroup', -'PasspointVenueProfile': 'PasspointVenueProfile', -'RadiusProfile': 'RadiusProfile', -'ServiceMetricsCollectionConfigProfile': 'ServiceMetricsCollectionConfigProfile', -'RfConfiguration': 'RfConfiguration', -'CaptivePortalConfiguration': 'CaptivePortalConfiguration', -'ApNetworkConfiguration': 'ApNetworkConfiguration', -'PasspointOperatorProfile': 'PasspointOperatorProfile' } - - def __init__(self, model_type=None): # noqa: E501 - """ProfileDetails - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self.discriminator = 'model_type' - self.model_type = model_type - - @property - def model_type(self): - """Gets the model_type of this ProfileDetails. # noqa: E501 - - - :return: The model_type of this ProfileDetails. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this ProfileDetails. - - - :param model_type: The model_type of this ProfileDetails. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - allowed_values = ["BonjourGatewayProfile", "CaptivePortalConfiguration", "ApNetworkConfiguration", "MeshGroup", "RadiusProfile", "SsidConfiguration", "RfConfiguration", "PasspointOsuProviderProfile", "PasspointProfile", "PasspointOperatorProfile", "PasspointVenueProfile", "ServiceMetricsCollectionConfigProfile"] # noqa: E501 - if model_type not in allowed_values: - raise ValueError( - "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 - .format(model_type, allowed_values) - ) - - self._model_type = model_type - - def get_real_child_model(self, data): - """Returns the real base class specified by the discriminator""" - discriminator_value = data[self.discriminator].lower() - return self.discriminator_value_class_map.get(discriminator_value) - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ProfileDetails, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ProfileDetails): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/profile_details_children.py b/libs/cloudapi/cloudsdk/swagger_client/models/profile_details_children.py deleted file mode 100644 index abfbeb121..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/profile_details_children.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ProfileDetailsChildren(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - discriminator_value_class_map = { - } - - def __init__(self): # noqa: E501 - """ProfileDetailsChildren - a model defined in Swagger""" # noqa: E501 - self.discriminator = 'model_type' - - def get_real_child_model(self, data): - """Returns the real base class specified by the discriminator""" - discriminator_value = data[self.discriminator].lower() - return self.discriminator_value_class_map.get(discriminator_value) - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ProfileDetailsChildren, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ProfileDetailsChildren): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/profile_removed_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/profile_removed_event.py deleted file mode 100644 index e01d26e95..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/profile_removed_event.py +++ /dev/null @@ -1,189 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ProfileRemovedEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'event_timestamp': 'int', - 'customer_id': 'int', - 'payload': 'Profile' - } - - attribute_map = { - 'model_type': 'model_type', - 'event_timestamp': 'eventTimestamp', - 'customer_id': 'customerId', - 'payload': 'payload' - } - - def __init__(self, model_type=None, event_timestamp=None, customer_id=None, payload=None): # noqa: E501 - """ProfileRemovedEvent - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._event_timestamp = None - self._customer_id = None - self._payload = None - self.discriminator = None - self.model_type = model_type - if event_timestamp is not None: - self.event_timestamp = event_timestamp - if customer_id is not None: - self.customer_id = customer_id - if payload is not None: - self.payload = payload - - @property - def model_type(self): - """Gets the model_type of this ProfileRemovedEvent. # noqa: E501 - - - :return: The model_type of this ProfileRemovedEvent. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this ProfileRemovedEvent. - - - :param model_type: The model_type of this ProfileRemovedEvent. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - - self._model_type = model_type - - @property - def event_timestamp(self): - """Gets the event_timestamp of this ProfileRemovedEvent. # noqa: E501 - - - :return: The event_timestamp of this ProfileRemovedEvent. # noqa: E501 - :rtype: int - """ - return self._event_timestamp - - @event_timestamp.setter - def event_timestamp(self, event_timestamp): - """Sets the event_timestamp of this ProfileRemovedEvent. - - - :param event_timestamp: The event_timestamp of this ProfileRemovedEvent. # noqa: E501 - :type: int - """ - - self._event_timestamp = event_timestamp - - @property - def customer_id(self): - """Gets the customer_id of this ProfileRemovedEvent. # noqa: E501 - - - :return: The customer_id of this ProfileRemovedEvent. # noqa: E501 - :rtype: int - """ - return self._customer_id - - @customer_id.setter - def customer_id(self, customer_id): - """Sets the customer_id of this ProfileRemovedEvent. - - - :param customer_id: The customer_id of this ProfileRemovedEvent. # noqa: E501 - :type: int - """ - - self._customer_id = customer_id - - @property - def payload(self): - """Gets the payload of this ProfileRemovedEvent. # noqa: E501 - - - :return: The payload of this ProfileRemovedEvent. # noqa: E501 - :rtype: Profile - """ - return self._payload - - @payload.setter - def payload(self, payload): - """Sets the payload of this ProfileRemovedEvent. - - - :param payload: The payload of this ProfileRemovedEvent. # noqa: E501 - :type: Profile - """ - - self._payload = payload - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ProfileRemovedEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ProfileRemovedEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/profile_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/profile_type.py deleted file mode 100644 index 539fe24d9..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/profile_type.py +++ /dev/null @@ -1,101 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ProfileType(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - EQUIPMENT_AP = "equipment_ap" - EQUIPMENT_SWITCH = "equipment_switch" - SSID = "ssid" - BONJOUR = "bonjour" - RADIUS = "radius" - CAPTIVE_PORTAL = "captive_portal" - MESH = "mesh" - METRICS = "metrics" - RF = "rf" - PASSPOINT = "passpoint" - PASSPOINT_OPERATOR = "passpoint_operator" - PASSPOINT_VENUE = "passpoint_venue" - PASSPOINT_OSU_ID_PROVIDER = "passpoint_osu_id_provider" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """ProfileType - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ProfileType, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ProfileType): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/radio_based_ssid_configuration.py b/libs/cloudapi/cloudsdk/swagger_client/models/radio_based_ssid_configuration.py deleted file mode 100644 index ca6dd6f89..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/radio_based_ssid_configuration.py +++ /dev/null @@ -1,162 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class RadioBasedSsidConfiguration(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'enable80211r': 'bool', - 'enable80211k': 'bool', - 'enable80211v': 'bool' - } - - attribute_map = { - 'enable80211r': 'enable80211r', - 'enable80211k': 'enable80211k', - 'enable80211v': 'enable80211v' - } - - def __init__(self, enable80211r=None, enable80211k=None, enable80211v=None): # noqa: E501 - """RadioBasedSsidConfiguration - a model defined in Swagger""" # noqa: E501 - self._enable80211r = None - self._enable80211k = None - self._enable80211v = None - self.discriminator = None - if enable80211r is not None: - self.enable80211r = enable80211r - if enable80211k is not None: - self.enable80211k = enable80211k - if enable80211v is not None: - self.enable80211v = enable80211v - - @property - def enable80211r(self): - """Gets the enable80211r of this RadioBasedSsidConfiguration. # noqa: E501 - - - :return: The enable80211r of this RadioBasedSsidConfiguration. # noqa: E501 - :rtype: bool - """ - return self._enable80211r - - @enable80211r.setter - def enable80211r(self, enable80211r): - """Sets the enable80211r of this RadioBasedSsidConfiguration. - - - :param enable80211r: The enable80211r of this RadioBasedSsidConfiguration. # noqa: E501 - :type: bool - """ - - self._enable80211r = enable80211r - - @property - def enable80211k(self): - """Gets the enable80211k of this RadioBasedSsidConfiguration. # noqa: E501 - - - :return: The enable80211k of this RadioBasedSsidConfiguration. # noqa: E501 - :rtype: bool - """ - return self._enable80211k - - @enable80211k.setter - def enable80211k(self, enable80211k): - """Sets the enable80211k of this RadioBasedSsidConfiguration. - - - :param enable80211k: The enable80211k of this RadioBasedSsidConfiguration. # noqa: E501 - :type: bool - """ - - self._enable80211k = enable80211k - - @property - def enable80211v(self): - """Gets the enable80211v of this RadioBasedSsidConfiguration. # noqa: E501 - - - :return: The enable80211v of this RadioBasedSsidConfiguration. # noqa: E501 - :rtype: bool - """ - return self._enable80211v - - @enable80211v.setter - def enable80211v(self, enable80211v): - """Sets the enable80211v of this RadioBasedSsidConfiguration. - - - :param enable80211v: The enable80211v of this RadioBasedSsidConfiguration. # noqa: E501 - :type: bool - """ - - self._enable80211v = enable80211v - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(RadioBasedSsidConfiguration, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, RadioBasedSsidConfiguration): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/radio_based_ssid_configuration_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/radio_based_ssid_configuration_map.py deleted file mode 100644 index 9202ba40d..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/radio_based_ssid_configuration_map.py +++ /dev/null @@ -1,188 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class RadioBasedSsidConfigurationMap(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'is5_g_hz': 'RadioBasedSsidConfiguration', - 'is5_g_hz_u': 'RadioBasedSsidConfiguration', - 'is5_g_hz_l': 'RadioBasedSsidConfiguration', - 'is2dot4_g_hz': 'RadioBasedSsidConfiguration' - } - - attribute_map = { - 'is5_g_hz': 'is5GHz', - 'is5_g_hz_u': 'is5GHzU', - 'is5_g_hz_l': 'is5GHzL', - 'is2dot4_g_hz': 'is2dot4GHz' - } - - def __init__(self, is5_g_hz=None, is5_g_hz_u=None, is5_g_hz_l=None, is2dot4_g_hz=None): # noqa: E501 - """RadioBasedSsidConfigurationMap - a model defined in Swagger""" # noqa: E501 - self._is5_g_hz = None - self._is5_g_hz_u = None - self._is5_g_hz_l = None - self._is2dot4_g_hz = None - self.discriminator = None - if is5_g_hz is not None: - self.is5_g_hz = is5_g_hz - if is5_g_hz_u is not None: - self.is5_g_hz_u = is5_g_hz_u - if is5_g_hz_l is not None: - self.is5_g_hz_l = is5_g_hz_l - if is2dot4_g_hz is not None: - self.is2dot4_g_hz = is2dot4_g_hz - - @property - def is5_g_hz(self): - """Gets the is5_g_hz of this RadioBasedSsidConfigurationMap. # noqa: E501 - - - :return: The is5_g_hz of this RadioBasedSsidConfigurationMap. # noqa: E501 - :rtype: RadioBasedSsidConfiguration - """ - return self._is5_g_hz - - @is5_g_hz.setter - def is5_g_hz(self, is5_g_hz): - """Sets the is5_g_hz of this RadioBasedSsidConfigurationMap. - - - :param is5_g_hz: The is5_g_hz of this RadioBasedSsidConfigurationMap. # noqa: E501 - :type: RadioBasedSsidConfiguration - """ - - self._is5_g_hz = is5_g_hz - - @property - def is5_g_hz_u(self): - """Gets the is5_g_hz_u of this RadioBasedSsidConfigurationMap. # noqa: E501 - - - :return: The is5_g_hz_u of this RadioBasedSsidConfigurationMap. # noqa: E501 - :rtype: RadioBasedSsidConfiguration - """ - return self._is5_g_hz_u - - @is5_g_hz_u.setter - def is5_g_hz_u(self, is5_g_hz_u): - """Sets the is5_g_hz_u of this RadioBasedSsidConfigurationMap. - - - :param is5_g_hz_u: The is5_g_hz_u of this RadioBasedSsidConfigurationMap. # noqa: E501 - :type: RadioBasedSsidConfiguration - """ - - self._is5_g_hz_u = is5_g_hz_u - - @property - def is5_g_hz_l(self): - """Gets the is5_g_hz_l of this RadioBasedSsidConfigurationMap. # noqa: E501 - - - :return: The is5_g_hz_l of this RadioBasedSsidConfigurationMap. # noqa: E501 - :rtype: RadioBasedSsidConfiguration - """ - return self._is5_g_hz_l - - @is5_g_hz_l.setter - def is5_g_hz_l(self, is5_g_hz_l): - """Sets the is5_g_hz_l of this RadioBasedSsidConfigurationMap. - - - :param is5_g_hz_l: The is5_g_hz_l of this RadioBasedSsidConfigurationMap. # noqa: E501 - :type: RadioBasedSsidConfiguration - """ - - self._is5_g_hz_l = is5_g_hz_l - - @property - def is2dot4_g_hz(self): - """Gets the is2dot4_g_hz of this RadioBasedSsidConfigurationMap. # noqa: E501 - - - :return: The is2dot4_g_hz of this RadioBasedSsidConfigurationMap. # noqa: E501 - :rtype: RadioBasedSsidConfiguration - """ - return self._is2dot4_g_hz - - @is2dot4_g_hz.setter - def is2dot4_g_hz(self, is2dot4_g_hz): - """Sets the is2dot4_g_hz of this RadioBasedSsidConfigurationMap. - - - :param is2dot4_g_hz: The is2dot4_g_hz of this RadioBasedSsidConfigurationMap. # noqa: E501 - :type: RadioBasedSsidConfiguration - """ - - self._is2dot4_g_hz = is2dot4_g_hz - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(RadioBasedSsidConfigurationMap, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, RadioBasedSsidConfigurationMap): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/radio_best_ap_settings.py b/libs/cloudapi/cloudsdk/swagger_client/models/radio_best_ap_settings.py deleted file mode 100644 index 90cf8e555..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/radio_best_ap_settings.py +++ /dev/null @@ -1,162 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class RadioBestApSettings(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'ml_computed': 'bool', - 'drop_in_snr_percentage': 'int', - 'min_load_factor': 'int' - } - - attribute_map = { - 'ml_computed': 'mlComputed', - 'drop_in_snr_percentage': 'dropInSnrPercentage', - 'min_load_factor': 'minLoadFactor' - } - - def __init__(self, ml_computed=True, drop_in_snr_percentage=10, min_load_factor=10): # noqa: E501 - """RadioBestApSettings - a model defined in Swagger""" # noqa: E501 - self._ml_computed = None - self._drop_in_snr_percentage = None - self._min_load_factor = None - self.discriminator = None - if ml_computed is not None: - self.ml_computed = ml_computed - if drop_in_snr_percentage is not None: - self.drop_in_snr_percentage = drop_in_snr_percentage - if min_load_factor is not None: - self.min_load_factor = min_load_factor - - @property - def ml_computed(self): - """Gets the ml_computed of this RadioBestApSettings. # noqa: E501 - - - :return: The ml_computed of this RadioBestApSettings. # noqa: E501 - :rtype: bool - """ - return self._ml_computed - - @ml_computed.setter - def ml_computed(self, ml_computed): - """Sets the ml_computed of this RadioBestApSettings. - - - :param ml_computed: The ml_computed of this RadioBestApSettings. # noqa: E501 - :type: bool - """ - - self._ml_computed = ml_computed - - @property - def drop_in_snr_percentage(self): - """Gets the drop_in_snr_percentage of this RadioBestApSettings. # noqa: E501 - - - :return: The drop_in_snr_percentage of this RadioBestApSettings. # noqa: E501 - :rtype: int - """ - return self._drop_in_snr_percentage - - @drop_in_snr_percentage.setter - def drop_in_snr_percentage(self, drop_in_snr_percentage): - """Sets the drop_in_snr_percentage of this RadioBestApSettings. - - - :param drop_in_snr_percentage: The drop_in_snr_percentage of this RadioBestApSettings. # noqa: E501 - :type: int - """ - - self._drop_in_snr_percentage = drop_in_snr_percentage - - @property - def min_load_factor(self): - """Gets the min_load_factor of this RadioBestApSettings. # noqa: E501 - - - :return: The min_load_factor of this RadioBestApSettings. # noqa: E501 - :rtype: int - """ - return self._min_load_factor - - @min_load_factor.setter - def min_load_factor(self, min_load_factor): - """Sets the min_load_factor of this RadioBestApSettings. - - - :param min_load_factor: The min_load_factor of this RadioBestApSettings. # noqa: E501 - :type: int - """ - - self._min_load_factor = min_load_factor - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(RadioBestApSettings, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, RadioBestApSettings): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/radio_channel_change_settings.py b/libs/cloudapi/cloudsdk/swagger_client/models/radio_channel_change_settings.py deleted file mode 100644 index 797db7d9f..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/radio_channel_change_settings.py +++ /dev/null @@ -1,141 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class RadioChannelChangeSettings(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'primary_channel': 'dict(str, int)', - 'backup_channel': 'dict(str, int)' - } - - attribute_map = { - 'primary_channel': 'primaryChannel', - 'backup_channel': 'backupChannel' - } - - def __init__(self, primary_channel=None, backup_channel=None): # noqa: E501 - """RadioChannelChangeSettings - a model defined in Swagger""" # noqa: E501 - self._primary_channel = None - self._backup_channel = None - self.discriminator = None - if primary_channel is not None: - self.primary_channel = primary_channel - self.backup_channel = backup_channel - - @property - def primary_channel(self): - """Gets the primary_channel of this RadioChannelChangeSettings. # noqa: E501 - - Settings for primary channels, keys by RadioType per supported frequency_band (is5GHz, is5GHzL, is5GHzU, is2dot4GHz) # noqa: E501 - - :return: The primary_channel of this RadioChannelChangeSettings. # noqa: E501 - :rtype: dict(str, int) - """ - return self._primary_channel - - @primary_channel.setter - def primary_channel(self, primary_channel): - """Sets the primary_channel of this RadioChannelChangeSettings. - - Settings for primary channels, keys by RadioType per supported frequency_band (is5GHz, is5GHzL, is5GHzU, is2dot4GHz) # noqa: E501 - - :param primary_channel: The primary_channel of this RadioChannelChangeSettings. # noqa: E501 - :type: dict(str, int) - """ - - self._primary_channel = primary_channel - - @property - def backup_channel(self): - """Gets the backup_channel of this RadioChannelChangeSettings. # noqa: E501 - - Settings for backup channels, keys by RadioType per supported frequency_band (is5GHz, is5GHzL, is5GHzU, is2dot4GHz) # noqa: E501 - - :return: The backup_channel of this RadioChannelChangeSettings. # noqa: E501 - :rtype: dict(str, int) - """ - return self._backup_channel - - @backup_channel.setter - def backup_channel(self, backup_channel): - """Sets the backup_channel of this RadioChannelChangeSettings. - - Settings for backup channels, keys by RadioType per supported frequency_band (is5GHz, is5GHzL, is5GHzU, is2dot4GHz) # noqa: E501 - - :param backup_channel: The backup_channel of this RadioChannelChangeSettings. # noqa: E501 - :type: dict(str, int) - """ - if backup_channel is None: - raise ValueError("Invalid value for `backup_channel`, must not be `None`") # noqa: E501 - - self._backup_channel = backup_channel - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(RadioChannelChangeSettings, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, RadioChannelChangeSettings): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/radio_configuration.py b/libs/cloudapi/cloudsdk/swagger_client/models/radio_configuration.py deleted file mode 100644 index 42bc1fa2c..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/radio_configuration.py +++ /dev/null @@ -1,370 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class RadioConfiguration(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'radio_type': 'RadioType', - 'radio_admin_state': 'StateSetting', - 'fragmentation_threshold_bytes': 'int', - 'uapsd_state': 'StateSetting', - 'station_isolation': 'StateSetting', - 'multicast_rate': 'SourceSelectionMulticast', - 'management_rate': 'SourceSelectionManagement', - 'best_ap_settings': 'SourceSelectionSteering', - 'legacy_bss_rate': 'StateSetting', - 'dtim_period': 'int', - 'deauth_attack_detection': 'bool' - } - - attribute_map = { - 'radio_type': 'radioType', - 'radio_admin_state': 'radioAdminState', - 'fragmentation_threshold_bytes': 'fragmentationThresholdBytes', - 'uapsd_state': 'uapsdState', - 'station_isolation': 'stationIsolation', - 'multicast_rate': 'multicastRate', - 'management_rate': 'managementRate', - 'best_ap_settings': 'bestApSettings', - 'legacy_bss_rate': 'legacyBSSRate', - 'dtim_period': 'dtimPeriod', - 'deauth_attack_detection': 'deauthAttackDetection' - } - - def __init__(self, radio_type=None, radio_admin_state=None, fragmentation_threshold_bytes=None, uapsd_state=None, station_isolation=None, multicast_rate=None, management_rate=None, best_ap_settings=None, legacy_bss_rate=None, dtim_period=None, deauth_attack_detection=None): # noqa: E501 - """RadioConfiguration - a model defined in Swagger""" # noqa: E501 - self._radio_type = None - self._radio_admin_state = None - self._fragmentation_threshold_bytes = None - self._uapsd_state = None - self._station_isolation = None - self._multicast_rate = None - self._management_rate = None - self._best_ap_settings = None - self._legacy_bss_rate = None - self._dtim_period = None - self._deauth_attack_detection = None - self.discriminator = None - if radio_type is not None: - self.radio_type = radio_type - if radio_admin_state is not None: - self.radio_admin_state = radio_admin_state - if fragmentation_threshold_bytes is not None: - self.fragmentation_threshold_bytes = fragmentation_threshold_bytes - if uapsd_state is not None: - self.uapsd_state = uapsd_state - if station_isolation is not None: - self.station_isolation = station_isolation - if multicast_rate is not None: - self.multicast_rate = multicast_rate - if management_rate is not None: - self.management_rate = management_rate - if best_ap_settings is not None: - self.best_ap_settings = best_ap_settings - if legacy_bss_rate is not None: - self.legacy_bss_rate = legacy_bss_rate - if dtim_period is not None: - self.dtim_period = dtim_period - if deauth_attack_detection is not None: - self.deauth_attack_detection = deauth_attack_detection - - @property - def radio_type(self): - """Gets the radio_type of this RadioConfiguration. # noqa: E501 - - - :return: The radio_type of this RadioConfiguration. # noqa: E501 - :rtype: RadioType - """ - return self._radio_type - - @radio_type.setter - def radio_type(self, radio_type): - """Sets the radio_type of this RadioConfiguration. - - - :param radio_type: The radio_type of this RadioConfiguration. # noqa: E501 - :type: RadioType - """ - - self._radio_type = radio_type - - @property - def radio_admin_state(self): - """Gets the radio_admin_state of this RadioConfiguration. # noqa: E501 - - - :return: The radio_admin_state of this RadioConfiguration. # noqa: E501 - :rtype: StateSetting - """ - return self._radio_admin_state - - @radio_admin_state.setter - def radio_admin_state(self, radio_admin_state): - """Sets the radio_admin_state of this RadioConfiguration. - - - :param radio_admin_state: The radio_admin_state of this RadioConfiguration. # noqa: E501 - :type: StateSetting - """ - - self._radio_admin_state = radio_admin_state - - @property - def fragmentation_threshold_bytes(self): - """Gets the fragmentation_threshold_bytes of this RadioConfiguration. # noqa: E501 - - - :return: The fragmentation_threshold_bytes of this RadioConfiguration. # noqa: E501 - :rtype: int - """ - return self._fragmentation_threshold_bytes - - @fragmentation_threshold_bytes.setter - def fragmentation_threshold_bytes(self, fragmentation_threshold_bytes): - """Sets the fragmentation_threshold_bytes of this RadioConfiguration. - - - :param fragmentation_threshold_bytes: The fragmentation_threshold_bytes of this RadioConfiguration. # noqa: E501 - :type: int - """ - - self._fragmentation_threshold_bytes = fragmentation_threshold_bytes - - @property - def uapsd_state(self): - """Gets the uapsd_state of this RadioConfiguration. # noqa: E501 - - - :return: The uapsd_state of this RadioConfiguration. # noqa: E501 - :rtype: StateSetting - """ - return self._uapsd_state - - @uapsd_state.setter - def uapsd_state(self, uapsd_state): - """Sets the uapsd_state of this RadioConfiguration. - - - :param uapsd_state: The uapsd_state of this RadioConfiguration. # noqa: E501 - :type: StateSetting - """ - - self._uapsd_state = uapsd_state - - @property - def station_isolation(self): - """Gets the station_isolation of this RadioConfiguration. # noqa: E501 - - - :return: The station_isolation of this RadioConfiguration. # noqa: E501 - :rtype: StateSetting - """ - return self._station_isolation - - @station_isolation.setter - def station_isolation(self, station_isolation): - """Sets the station_isolation of this RadioConfiguration. - - - :param station_isolation: The station_isolation of this RadioConfiguration. # noqa: E501 - :type: StateSetting - """ - - self._station_isolation = station_isolation - - @property - def multicast_rate(self): - """Gets the multicast_rate of this RadioConfiguration. # noqa: E501 - - - :return: The multicast_rate of this RadioConfiguration. # noqa: E501 - :rtype: SourceSelectionMulticast - """ - return self._multicast_rate - - @multicast_rate.setter - def multicast_rate(self, multicast_rate): - """Sets the multicast_rate of this RadioConfiguration. - - - :param multicast_rate: The multicast_rate of this RadioConfiguration. # noqa: E501 - :type: SourceSelectionMulticast - """ - - self._multicast_rate = multicast_rate - - @property - def management_rate(self): - """Gets the management_rate of this RadioConfiguration. # noqa: E501 - - - :return: The management_rate of this RadioConfiguration. # noqa: E501 - :rtype: SourceSelectionManagement - """ - return self._management_rate - - @management_rate.setter - def management_rate(self, management_rate): - """Sets the management_rate of this RadioConfiguration. - - - :param management_rate: The management_rate of this RadioConfiguration. # noqa: E501 - :type: SourceSelectionManagement - """ - - self._management_rate = management_rate - - @property - def best_ap_settings(self): - """Gets the best_ap_settings of this RadioConfiguration. # noqa: E501 - - - :return: The best_ap_settings of this RadioConfiguration. # noqa: E501 - :rtype: SourceSelectionSteering - """ - return self._best_ap_settings - - @best_ap_settings.setter - def best_ap_settings(self, best_ap_settings): - """Sets the best_ap_settings of this RadioConfiguration. - - - :param best_ap_settings: The best_ap_settings of this RadioConfiguration. # noqa: E501 - :type: SourceSelectionSteering - """ - - self._best_ap_settings = best_ap_settings - - @property - def legacy_bss_rate(self): - """Gets the legacy_bss_rate of this RadioConfiguration. # noqa: E501 - - - :return: The legacy_bss_rate of this RadioConfiguration. # noqa: E501 - :rtype: StateSetting - """ - return self._legacy_bss_rate - - @legacy_bss_rate.setter - def legacy_bss_rate(self, legacy_bss_rate): - """Sets the legacy_bss_rate of this RadioConfiguration. - - - :param legacy_bss_rate: The legacy_bss_rate of this RadioConfiguration. # noqa: E501 - :type: StateSetting - """ - - self._legacy_bss_rate = legacy_bss_rate - - @property - def dtim_period(self): - """Gets the dtim_period of this RadioConfiguration. # noqa: E501 - - - :return: The dtim_period of this RadioConfiguration. # noqa: E501 - :rtype: int - """ - return self._dtim_period - - @dtim_period.setter - def dtim_period(self, dtim_period): - """Sets the dtim_period of this RadioConfiguration. - - - :param dtim_period: The dtim_period of this RadioConfiguration. # noqa: E501 - :type: int - """ - - self._dtim_period = dtim_period - - @property - def deauth_attack_detection(self): - """Gets the deauth_attack_detection of this RadioConfiguration. # noqa: E501 - - - :return: The deauth_attack_detection of this RadioConfiguration. # noqa: E501 - :rtype: bool - """ - return self._deauth_attack_detection - - @deauth_attack_detection.setter - def deauth_attack_detection(self, deauth_attack_detection): - """Sets the deauth_attack_detection of this RadioConfiguration. - - - :param deauth_attack_detection: The deauth_attack_detection of this RadioConfiguration. # noqa: E501 - :type: bool - """ - - self._deauth_attack_detection = deauth_attack_detection - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(RadioConfiguration, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, RadioConfiguration): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/radio_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/radio_map.py deleted file mode 100644 index d965c47a3..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/radio_map.py +++ /dev/null @@ -1,188 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class RadioMap(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'is5_g_hz': 'ElementRadioConfiguration', - 'is5_g_hz_u': 'ElementRadioConfiguration', - 'is5_g_hz_l': 'ElementRadioConfiguration', - 'is2dot4_g_hz': 'ElementRadioConfiguration' - } - - attribute_map = { - 'is5_g_hz': 'is5GHz', - 'is5_g_hz_u': 'is5GHzU', - 'is5_g_hz_l': 'is5GHzL', - 'is2dot4_g_hz': 'is2dot4GHz' - } - - def __init__(self, is5_g_hz=None, is5_g_hz_u=None, is5_g_hz_l=None, is2dot4_g_hz=None): # noqa: E501 - """RadioMap - a model defined in Swagger""" # noqa: E501 - self._is5_g_hz = None - self._is5_g_hz_u = None - self._is5_g_hz_l = None - self._is2dot4_g_hz = None - self.discriminator = None - if is5_g_hz is not None: - self.is5_g_hz = is5_g_hz - if is5_g_hz_u is not None: - self.is5_g_hz_u = is5_g_hz_u - if is5_g_hz_l is not None: - self.is5_g_hz_l = is5_g_hz_l - if is2dot4_g_hz is not None: - self.is2dot4_g_hz = is2dot4_g_hz - - @property - def is5_g_hz(self): - """Gets the is5_g_hz of this RadioMap. # noqa: E501 - - - :return: The is5_g_hz of this RadioMap. # noqa: E501 - :rtype: ElementRadioConfiguration - """ - return self._is5_g_hz - - @is5_g_hz.setter - def is5_g_hz(self, is5_g_hz): - """Sets the is5_g_hz of this RadioMap. - - - :param is5_g_hz: The is5_g_hz of this RadioMap. # noqa: E501 - :type: ElementRadioConfiguration - """ - - self._is5_g_hz = is5_g_hz - - @property - def is5_g_hz_u(self): - """Gets the is5_g_hz_u of this RadioMap. # noqa: E501 - - - :return: The is5_g_hz_u of this RadioMap. # noqa: E501 - :rtype: ElementRadioConfiguration - """ - return self._is5_g_hz_u - - @is5_g_hz_u.setter - def is5_g_hz_u(self, is5_g_hz_u): - """Sets the is5_g_hz_u of this RadioMap. - - - :param is5_g_hz_u: The is5_g_hz_u of this RadioMap. # noqa: E501 - :type: ElementRadioConfiguration - """ - - self._is5_g_hz_u = is5_g_hz_u - - @property - def is5_g_hz_l(self): - """Gets the is5_g_hz_l of this RadioMap. # noqa: E501 - - - :return: The is5_g_hz_l of this RadioMap. # noqa: E501 - :rtype: ElementRadioConfiguration - """ - return self._is5_g_hz_l - - @is5_g_hz_l.setter - def is5_g_hz_l(self, is5_g_hz_l): - """Sets the is5_g_hz_l of this RadioMap. - - - :param is5_g_hz_l: The is5_g_hz_l of this RadioMap. # noqa: E501 - :type: ElementRadioConfiguration - """ - - self._is5_g_hz_l = is5_g_hz_l - - @property - def is2dot4_g_hz(self): - """Gets the is2dot4_g_hz of this RadioMap. # noqa: E501 - - - :return: The is2dot4_g_hz of this RadioMap. # noqa: E501 - :rtype: ElementRadioConfiguration - """ - return self._is2dot4_g_hz - - @is2dot4_g_hz.setter - def is2dot4_g_hz(self, is2dot4_g_hz): - """Sets the is2dot4_g_hz of this RadioMap. - - - :param is2dot4_g_hz: The is2dot4_g_hz of this RadioMap. # noqa: E501 - :type: ElementRadioConfiguration - """ - - self._is2dot4_g_hz = is2dot4_g_hz - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(RadioMap, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, RadioMap): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/radio_mode.py b/libs/cloudapi/cloudsdk/swagger_client/models/radio_mode.py deleted file mode 100644 index d0f24972b..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/radio_mode.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class RadioMode(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - MODEN = "modeN" - MODEAC = "modeAC" - MODEGN = "modeGN" - MODEAX = "modeAX" - MODEA = "modeA" - MODEB = "modeB" - MODEG = "modeG" - MODEAB = "modeAB" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """RadioMode - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(RadioMode, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, RadioMode): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/radio_profile_configuration.py b/libs/cloudapi/cloudsdk/swagger_client/models/radio_profile_configuration.py deleted file mode 100644 index bf0715f14..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/radio_profile_configuration.py +++ /dev/null @@ -1,136 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class RadioProfileConfiguration(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'best_ap_enabled': 'bool', - 'best_ap_steer_type': 'BestAPSteerType' - } - - attribute_map = { - 'best_ap_enabled': 'bestApEnabled', - 'best_ap_steer_type': 'bestAPSteerType' - } - - def __init__(self, best_ap_enabled=None, best_ap_steer_type=None): # noqa: E501 - """RadioProfileConfiguration - a model defined in Swagger""" # noqa: E501 - self._best_ap_enabled = None - self._best_ap_steer_type = None - self.discriminator = None - if best_ap_enabled is not None: - self.best_ap_enabled = best_ap_enabled - if best_ap_steer_type is not None: - self.best_ap_steer_type = best_ap_steer_type - - @property - def best_ap_enabled(self): - """Gets the best_ap_enabled of this RadioProfileConfiguration. # noqa: E501 - - - :return: The best_ap_enabled of this RadioProfileConfiguration. # noqa: E501 - :rtype: bool - """ - return self._best_ap_enabled - - @best_ap_enabled.setter - def best_ap_enabled(self, best_ap_enabled): - """Sets the best_ap_enabled of this RadioProfileConfiguration. - - - :param best_ap_enabled: The best_ap_enabled of this RadioProfileConfiguration. # noqa: E501 - :type: bool - """ - - self._best_ap_enabled = best_ap_enabled - - @property - def best_ap_steer_type(self): - """Gets the best_ap_steer_type of this RadioProfileConfiguration. # noqa: E501 - - - :return: The best_ap_steer_type of this RadioProfileConfiguration. # noqa: E501 - :rtype: BestAPSteerType - """ - return self._best_ap_steer_type - - @best_ap_steer_type.setter - def best_ap_steer_type(self, best_ap_steer_type): - """Sets the best_ap_steer_type of this RadioProfileConfiguration. - - - :param best_ap_steer_type: The best_ap_steer_type of this RadioProfileConfiguration. # noqa: E501 - :type: BestAPSteerType - """ - - self._best_ap_steer_type = best_ap_steer_type - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(RadioProfileConfiguration, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, RadioProfileConfiguration): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/radio_profile_configuration_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/radio_profile_configuration_map.py deleted file mode 100644 index 72bef3e39..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/radio_profile_configuration_map.py +++ /dev/null @@ -1,188 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class RadioProfileConfigurationMap(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'is5_g_hz': 'RadioProfileConfiguration', - 'is5_g_hz_u': 'RadioProfileConfiguration', - 'is5_g_hz_l': 'RadioProfileConfiguration', - 'is2dot4_g_hz': 'RadioProfileConfiguration' - } - - attribute_map = { - 'is5_g_hz': 'is5GHz', - 'is5_g_hz_u': 'is5GHzU', - 'is5_g_hz_l': 'is5GHzL', - 'is2dot4_g_hz': 'is2dot4GHz' - } - - def __init__(self, is5_g_hz=None, is5_g_hz_u=None, is5_g_hz_l=None, is2dot4_g_hz=None): # noqa: E501 - """RadioProfileConfigurationMap - a model defined in Swagger""" # noqa: E501 - self._is5_g_hz = None - self._is5_g_hz_u = None - self._is5_g_hz_l = None - self._is2dot4_g_hz = None - self.discriminator = None - if is5_g_hz is not None: - self.is5_g_hz = is5_g_hz - if is5_g_hz_u is not None: - self.is5_g_hz_u = is5_g_hz_u - if is5_g_hz_l is not None: - self.is5_g_hz_l = is5_g_hz_l - if is2dot4_g_hz is not None: - self.is2dot4_g_hz = is2dot4_g_hz - - @property - def is5_g_hz(self): - """Gets the is5_g_hz of this RadioProfileConfigurationMap. # noqa: E501 - - - :return: The is5_g_hz of this RadioProfileConfigurationMap. # noqa: E501 - :rtype: RadioProfileConfiguration - """ - return self._is5_g_hz - - @is5_g_hz.setter - def is5_g_hz(self, is5_g_hz): - """Sets the is5_g_hz of this RadioProfileConfigurationMap. - - - :param is5_g_hz: The is5_g_hz of this RadioProfileConfigurationMap. # noqa: E501 - :type: RadioProfileConfiguration - """ - - self._is5_g_hz = is5_g_hz - - @property - def is5_g_hz_u(self): - """Gets the is5_g_hz_u of this RadioProfileConfigurationMap. # noqa: E501 - - - :return: The is5_g_hz_u of this RadioProfileConfigurationMap. # noqa: E501 - :rtype: RadioProfileConfiguration - """ - return self._is5_g_hz_u - - @is5_g_hz_u.setter - def is5_g_hz_u(self, is5_g_hz_u): - """Sets the is5_g_hz_u of this RadioProfileConfigurationMap. - - - :param is5_g_hz_u: The is5_g_hz_u of this RadioProfileConfigurationMap. # noqa: E501 - :type: RadioProfileConfiguration - """ - - self._is5_g_hz_u = is5_g_hz_u - - @property - def is5_g_hz_l(self): - """Gets the is5_g_hz_l of this RadioProfileConfigurationMap. # noqa: E501 - - - :return: The is5_g_hz_l of this RadioProfileConfigurationMap. # noqa: E501 - :rtype: RadioProfileConfiguration - """ - return self._is5_g_hz_l - - @is5_g_hz_l.setter - def is5_g_hz_l(self, is5_g_hz_l): - """Sets the is5_g_hz_l of this RadioProfileConfigurationMap. - - - :param is5_g_hz_l: The is5_g_hz_l of this RadioProfileConfigurationMap. # noqa: E501 - :type: RadioProfileConfiguration - """ - - self._is5_g_hz_l = is5_g_hz_l - - @property - def is2dot4_g_hz(self): - """Gets the is2dot4_g_hz of this RadioProfileConfigurationMap. # noqa: E501 - - - :return: The is2dot4_g_hz of this RadioProfileConfigurationMap. # noqa: E501 - :rtype: RadioProfileConfiguration - """ - return self._is2dot4_g_hz - - @is2dot4_g_hz.setter - def is2dot4_g_hz(self, is2dot4_g_hz): - """Sets the is2dot4_g_hz of this RadioProfileConfigurationMap. - - - :param is2dot4_g_hz: The is2dot4_g_hz of this RadioProfileConfigurationMap. # noqa: E501 - :type: RadioProfileConfiguration - """ - - self._is2dot4_g_hz = is2dot4_g_hz - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(RadioProfileConfigurationMap, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, RadioProfileConfigurationMap): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/radio_statistics.py b/libs/cloudapi/cloudsdk/swagger_client/models/radio_statistics.py deleted file mode 100644 index 1304b6dfe..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/radio_statistics.py +++ /dev/null @@ -1,9884 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class RadioStatistics(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'num_radio_resets': 'int', - 'num_chan_changes': 'int', - 'num_tx_power_changes': 'int', - 'num_radar_chan_changes': 'int', - 'num_free_tx_buf': 'int', - 'eleven_g_protection': 'int', - 'num_scan_req': 'int', - 'num_scan_succ': 'int', - 'cur_eirp': 'int', - 'actual_cell_size': 'list[int]', - 'cur_channel': 'int', - 'cur_backup_channel': 'int', - 'rx_last_rssi': 'int', - 'num_rx': 'int', - 'num_rx_no_fcs_err': 'int', - 'num_rx_fcs_err': 'int', - 'num_rx_data': 'int', - 'num_rx_management': 'int', - 'num_rx_control': 'int', - 'rx_data_bytes': 'int', - 'num_rx_rts': 'int', - 'num_rx_cts': 'int', - 'num_rx_ack': 'int', - 'num_rx_beacon': 'int', - 'num_rx_probe_req': 'int', - 'num_rx_probe_resp': 'int', - 'num_rx_retry': 'int', - 'num_rx_off_chan': 'int', - 'num_rx_dup': 'int', - 'num_rx_bc_mc': 'int', - 'num_rx_null_data': 'int', - 'num_rx_pspoll': 'int', - 'num_rx_err': 'int', - 'num_rx_stbc': 'int', - 'num_rx_ldpc': 'int', - 'num_rx_drop_runt': 'int', - 'num_rx_drop_invalid_src_mac': 'int', - 'num_rx_drop_amsdu_no_rcv': 'int', - 'num_rx_drop_eth_hdr_runt': 'int', - 'num_rx_amsdu_deagg_seq': 'int', - 'num_rx_amsdu_deagg_itmd': 'int', - 'num_rx_amsdu_deagg_last': 'int', - 'num_rx_drop_no_fc_field': 'int', - 'num_rx_drop_bad_protocol': 'int', - 'num_rcv_frame_for_tx': 'int', - 'num_tx_queued': 'int', - 'num_rcv_bc_for_tx': 'int', - 'num_tx_dropped': 'int', - 'num_tx_retry_dropped': 'int', - 'num_tx_bc_dropped': 'int', - 'num_tx_succ': 'int', - 'num_tx_ps_unicast': 'int', - 'num_tx_dtim_mc': 'int', - 'num_tx_succ_no_retry': 'int', - 'num_tx_succ_retries': 'int', - 'num_tx_multi_retries': 'int', - 'num_tx_management': 'int', - 'num_tx_control': 'int', - 'num_tx_action': 'int', - 'num_tx_beacon_succ': 'int', - 'num_tx_beacon_fail': 'int', - 'num_tx_beacon_su_fail': 'int', - 'num_tx_probe_resp': 'int', - 'num_tx_data': 'int', - 'num_tx_data_retries': 'int', - 'num_tx_rts_succ': 'int', - 'num_tx_rts_fail': 'int', - 'num_tx_cts': 'int', - 'num_tx_no_ack': 'int', - 'num_tx_eapol': 'int', - 'num_tx_ldpc': 'int', - 'num_tx_stbc': 'int', - 'num_tx_aggr_succ': 'int', - 'num_tx_aggr_one_mpdu': 'int', - 'num_tx_rate_limit_drop': 'int', - 'num_tx_retry_attemps': 'int', - 'num_tx_total_attemps': 'int', - 'num_tx_data_frames_12_mbps': 'int', - 'num_tx_data_frames_54_mbps': 'int', - 'num_tx_data_frames_108_mbps': 'int', - 'num_tx_data_frames_300_mbps': 'int', - 'num_tx_data_frames_450_mbps': 'int', - 'num_tx_data_frames_1300_mbps': 'int', - 'num_tx_data_frames_1300_plus_mbps': 'int', - 'num_rx_data_frames_12_mbps': 'int', - 'num_rx_data_frames_54_mbps': 'int', - 'num_rx_data_frames_108_mbps': 'int', - 'num_rx_data_frames_300_mbps': 'int', - 'num_rx_data_frames_450_mbps': 'int', - 'num_rx_data_frames_1300_mbps': 'int', - 'num_rx_data_frames_1300_plus_mbps': 'int', - 'num_tx_time_frames_transmitted': 'int', - 'num_rx_time_to_me': 'int', - 'num_channel_busy64s': 'int', - 'num_tx_time_data': 'int', - 'num_tx_time_bc_mc_data': 'int', - 'num_rx_time_data': 'int', - 'num_tx_frames_transmitted': 'int', - 'num_tx_success_with_retry': 'int', - 'num_tx_multiple_retries': 'int', - 'num_tx_data_transmitted_retried': 'int', - 'num_tx_data_transmitted': 'int', - 'num_tx_data_frames': 'int', - 'num_rx_frames_received': 'int', - 'num_rx_retry_frames': 'int', - 'num_rx_data_frames_retried': 'int', - 'num_rx_data_frames': 'int', - 'num_tx_1_mbps': 'int', - 'num_tx_6_mbps': 'int', - 'num_tx_9_mbps': 'int', - 'num_tx_12_mbps': 'int', - 'num_tx_18_mbps': 'int', - 'num_tx_24_mbps': 'int', - 'num_tx_36_mbps': 'int', - 'num_tx_48_mbps': 'int', - 'num_tx_54_mbps': 'int', - 'num_rx_1_mbps': 'int', - 'num_rx_6_mbps': 'int', - 'num_rx_9_mbps': 'int', - 'num_rx_12_mbps': 'int', - 'num_rx_18_mbps': 'int', - 'num_rx_24_mbps': 'int', - 'num_rx_36_mbps': 'int', - 'num_rx_48_mbps': 'int', - 'num_rx_54_mbps': 'int', - 'num_tx_ht_6_5_mbps': 'int', - 'num_tx_ht_7_1_mbps': 'int', - 'num_tx_ht_13_mbps': 'int', - 'num_tx_ht_13_5_mbps': 'int', - 'num_tx_ht_14_3_mbps': 'int', - 'num_tx_ht_15_mbps': 'int', - 'num_tx_ht_19_5_mbps': 'int', - 'num_tx_ht_21_7_mbps': 'int', - 'num_tx_ht_26_mbps': 'int', - 'num_tx_ht_27_mbps': 'int', - 'num_tx_ht_28_7_mbps': 'int', - 'num_tx_ht_28_8_mbps': 'int', - 'num_tx_ht_29_2_mbps': 'int', - 'num_tx_ht_30_mbps': 'int', - 'num_tx_ht_32_5_mbps': 'int', - 'num_tx_ht_39_mbps': 'int', - 'num_tx_ht_40_5_mbps': 'int', - 'num_tx_ht_43_2_mbps': 'int', - 'num_tx_ht_45_mbps': 'int', - 'num_tx_ht_52_mbps': 'int', - 'num_tx_ht_54_mbps': 'int', - 'num_tx_ht_57_5_mbps': 'int', - 'num_tx_ht_57_7_mbps': 'int', - 'num_tx_ht_58_5_mbps': 'int', - 'num_tx_ht_60_mbps': 'int', - 'num_tx_ht_65_mbps': 'int', - 'num_tx_ht_72_1_mbps': 'int', - 'num_tx_ht_78_mbps': 'int', - 'num_tx_ht_81_mbps': 'int', - 'num_tx_ht_86_6_mbps': 'int', - 'num_tx_ht_86_8_mbps': 'int', - 'num_tx_ht_87_8_mbps': 'int', - 'num_tx_ht_90_mbps': 'int', - 'num_tx_ht_97_5_mbps': 'int', - 'num_tx_ht_104_mbps': 'int', - 'num_tx_ht_108_mbps': 'int', - 'num_tx_ht_115_5_mbps': 'int', - 'num_tx_ht_117_mbps': 'int', - 'num_tx_ht_117_1_mbps': 'int', - 'num_tx_ht_120_mbps': 'int', - 'num_tx_ht_121_5_mbps': 'int', - 'num_tx_ht_130_mbps': 'int', - 'num_tx_ht_130_3_mbps': 'int', - 'num_tx_ht_135_mbps': 'int', - 'num_tx_ht_144_3_mbps': 'int', - 'num_tx_ht_150_mbps': 'int', - 'num_tx_ht_156_mbps': 'int', - 'num_tx_ht_162_mbps': 'int', - 'num_tx_ht_173_1_mbps': 'int', - 'num_tx_ht_173_3_mbps': 'int', - 'num_tx_ht_175_5_mbps': 'int', - 'num_tx_ht_180_mbps': 'int', - 'num_tx_ht_195_mbps': 'int', - 'num_tx_ht_200_mbps': 'int', - 'num_tx_ht_208_mbps': 'int', - 'num_tx_ht_216_mbps': 'int', - 'num_tx_ht_216_6_mbps': 'int', - 'num_tx_ht_231_1_mbps': 'int', - 'num_tx_ht_234_mbps': 'int', - 'num_tx_ht_240_mbps': 'int', - 'num_tx_ht_243_mbps': 'int', - 'num_tx_ht_260_mbps': 'int', - 'num_tx_ht_263_2_mbps': 'int', - 'num_tx_ht_270_mbps': 'int', - 'num_tx_ht_288_7_mbps': 'int', - 'num_tx_ht_288_8_mbps': 'int', - 'num_tx_ht_292_5_mbps': 'int', - 'num_tx_ht_300_mbps': 'int', - 'num_tx_ht_312_mbps': 'int', - 'num_tx_ht_324_mbps': 'int', - 'num_tx_ht_325_mbps': 'int', - 'num_tx_ht_346_7_mbps': 'int', - 'num_tx_ht_351_mbps': 'int', - 'num_tx_ht_351_2_mbps': 'int', - 'num_tx_ht_360_mbps': 'int', - 'num_rx_ht_6_5_mbps': 'int', - 'num_rx_ht_7_1_mbps': 'int', - 'num_rx_ht_13_mbps': 'int', - 'num_rx_ht_13_5_mbps': 'int', - 'num_rx_ht_14_3_mbps': 'int', - 'num_rx_ht_15_mbps': 'int', - 'num_rx_ht_19_5_mbps': 'int', - 'num_rx_ht_21_7_mbps': 'int', - 'num_rx_ht_26_mbps': 'int', - 'num_rx_ht_27_mbps': 'int', - 'num_rx_ht_28_7_mbps': 'int', - 'num_rx_ht_28_8_mbps': 'int', - 'num_rx_ht_29_2_mbps': 'int', - 'num_rx_ht_30_mbps': 'int', - 'num_rx_ht_32_5_mbps': 'int', - 'num_rx_ht_39_mbps': 'int', - 'num_rx_ht_40_5_mbps': 'int', - 'num_rx_ht_43_2_mbps': 'int', - 'num_rx_ht_45_mbps': 'int', - 'num_rx_ht_52_mbps': 'int', - 'num_rx_ht_54_mbps': 'int', - 'num_rx_ht_57_5_mbps': 'int', - 'num_rx_ht_57_7_mbps': 'int', - 'num_rx_ht_58_5_mbps': 'int', - 'num_rx_ht_60_mbps': 'int', - 'num_rx_ht_65_mbps': 'int', - 'num_rx_ht_72_1_mbps': 'int', - 'num_rx_ht_78_mbps': 'int', - 'num_rx_ht_81_mbps': 'int', - 'num_rx_ht_86_6_mbps': 'int', - 'num_rx_ht_86_8_mbps': 'int', - 'num_rx_ht_87_8_mbps': 'int', - 'num_rx_ht_90_mbps': 'int', - 'num_rx_ht_97_5_mbps': 'int', - 'num_rx_ht_104_mbps': 'int', - 'num_rx_ht_108_mbps': 'int', - 'num_rx_ht_115_5_mbps': 'int', - 'num_rx_ht_117_mbps': 'int', - 'num_rx_ht_117_1_mbps': 'int', - 'num_rx_ht_120_mbps': 'int', - 'num_rx_ht_121_5_mbps': 'int', - 'num_rx_ht_130_mbps': 'int', - 'num_rx_ht_130_3_mbps': 'int', - 'num_rx_ht_135_mbps': 'int', - 'num_rx_ht_144_3_mbps': 'int', - 'num_rx_ht_150_mbps': 'int', - 'num_rx_ht_156_mbps': 'int', - 'num_rx_ht_162_mbps': 'int', - 'num_rx_ht_173_1_mbps': 'int', - 'num_rx_ht_173_3_mbps': 'int', - 'num_rx_ht_175_5_mbps': 'int', - 'num_rx_ht_180_mbps': 'int', - 'num_rx_ht_195_mbps': 'int', - 'num_rx_ht_200_mbps': 'int', - 'num_rx_ht_208_mbps': 'int', - 'num_rx_ht_216_mbps': 'int', - 'num_rx_ht_216_6_mbps': 'int', - 'num_rx_ht_231_1_mbps': 'int', - 'num_rx_ht_234_mbps': 'int', - 'num_rx_ht_240_mbps': 'int', - 'num_rx_ht_243_mbps': 'int', - 'num_rx_ht_260_mbps': 'int', - 'num_rx_ht_263_2_mbps': 'int', - 'num_rx_ht_270_mbps': 'int', - 'num_rx_ht_288_7_mbps': 'int', - 'num_rx_ht_288_8_mbps': 'int', - 'num_rx_ht_292_5_mbps': 'int', - 'num_rx_ht_300_mbps': 'int', - 'num_rx_ht_312_mbps': 'int', - 'num_rx_ht_324_mbps': 'int', - 'num_rx_ht_325_mbps': 'int', - 'num_rx_ht_346_7_mbps': 'int', - 'num_rx_ht_351_mbps': 'int', - 'num_rx_ht_351_2_mbps': 'int', - 'num_rx_ht_360_mbps': 'int', - 'num_tx_vht_292_5_mbps': 'int', - 'num_tx_vht_325_mbps': 'int', - 'num_tx_vht_364_5_mbps': 'int', - 'num_tx_vht_390_mbps': 'int', - 'num_tx_vht_400_mbps': 'int', - 'num_tx_vht_403_mbps': 'int', - 'num_tx_vht_405_mbps': 'int', - 'num_tx_vht_432_mbps': 'int', - 'num_tx_vht_433_2_mbps': 'int', - 'num_tx_vht_450_mbps': 'int', - 'num_tx_vht_468_mbps': 'int', - 'num_tx_vht_480_mbps': 'int', - 'num_tx_vht_486_mbps': 'int', - 'num_tx_vht_520_mbps': 'int', - 'num_tx_vht_526_5_mbps': 'int', - 'num_tx_vht_540_mbps': 'int', - 'num_tx_vht_585_mbps': 'int', - 'num_tx_vht_600_mbps': 'int', - 'num_tx_vht_648_mbps': 'int', - 'num_tx_vht_650_mbps': 'int', - 'num_tx_vht_702_mbps': 'int', - 'num_tx_vht_720_mbps': 'int', - 'num_tx_vht_780_mbps': 'int', - 'num_tx_vht_800_mbps': 'int', - 'num_tx_vht_866_7_mbps': 'int', - 'num_tx_vht_877_5_mbps': 'int', - 'num_tx_vht_936_mbps': 'int', - 'num_tx_vht_975_mbps': 'int', - 'num_tx_vht_1040_mbps': 'int', - 'num_tx_vht_1053_mbps': 'int', - 'num_tx_vht_1053_1_mbps': 'int', - 'num_tx_vht_1170_mbps': 'int', - 'num_tx_vht_1300_mbps': 'int', - 'num_tx_vht_1404_mbps': 'int', - 'num_tx_vht_1560_mbps': 'int', - 'num_tx_vht_1579_5_mbps': 'int', - 'num_tx_vht_1733_1_mbps': 'int', - 'num_tx_vht_1733_4_mbps': 'int', - 'num_tx_vht_1755_mbps': 'int', - 'num_tx_vht_1872_mbps': 'int', - 'num_tx_vht_1950_mbps': 'int', - 'num_tx_vht_2080_mbps': 'int', - 'num_tx_vht_2106_mbps': 'int', - 'num_tx_vht_2340_mbps': 'int', - 'num_tx_vht_2600_mbps': 'int', - 'num_tx_vht_2808_mbps': 'int', - 'num_tx_vht_3120_mbps': 'int', - 'num_tx_vht_3466_8_mbps': 'int', - 'num_rx_vht_292_5_mbps': 'int', - 'num_rx_vht_325_mbps': 'int', - 'num_rx_vht_364_5_mbps': 'int', - 'num_rx_vht_390_mbps': 'int', - 'num_rx_vht_400_mbps': 'int', - 'num_rx_vht_403_mbps': 'int', - 'num_rx_vht_405_mbps': 'int', - 'num_rx_vht_432_mbps': 'int', - 'num_rx_vht_433_2_mbps': 'int', - 'num_rx_vht_450_mbps': 'int', - 'num_rx_vht_468_mbps': 'int', - 'num_rx_vht_480_mbps': 'int', - 'num_rx_vht_486_mbps': 'int', - 'num_rx_vht_520_mbps': 'int', - 'num_rx_vht_526_5_mbps': 'int', - 'num_rx_vht_540_mbps': 'int', - 'num_rx_vht_585_mbps': 'int', - 'num_rx_vht_600_mbps': 'int', - 'num_rx_vht_648_mbps': 'int', - 'num_rx_vht_650_mbps': 'int', - 'num_rx_vht_702_mbps': 'int', - 'num_rx_vht_720_mbps': 'int', - 'num_rx_vht_780_mbps': 'int', - 'num_rx_vht_800_mbps': 'int', - 'num_rx_vht_866_7_mbps': 'int', - 'num_rx_vht_877_5_mbps': 'int', - 'num_rx_vht_936_mbps': 'int', - 'num_rx_vht_975_mbps': 'int', - 'num_rx_vht_1040_mbps': 'int', - 'num_rx_vht_1053_mbps': 'int', - 'num_rx_vht_1053_1_mbps': 'int', - 'num_rx_vht_1170_mbps': 'int', - 'num_rx_vht_1300_mbps': 'int', - 'num_rx_vht_1404_mbps': 'int', - 'num_rx_vht_1560_mbps': 'int', - 'num_rx_vht_1579_5_mbps': 'int', - 'num_rx_vht_1733_1_mbps': 'int', - 'num_rx_vht_1733_4_mbps': 'int', - 'num_rx_vht_1755_mbps': 'int', - 'num_rx_vht_1872_mbps': 'int', - 'num_rx_vht_1950_mbps': 'int', - 'num_rx_vht_2080_mbps': 'int', - 'num_rx_vht_2106_mbps': 'int', - 'num_rx_vht_2340_mbps': 'int', - 'num_rx_vht_2600_mbps': 'int', - 'num_rx_vht_2808_mbps': 'int', - 'num_rx_vht_3120_mbps': 'int', - 'num_rx_vht_3466_8_mbps': 'int' - } - - attribute_map = { - 'num_radio_resets': 'numRadioResets', - 'num_chan_changes': 'numChanChanges', - 'num_tx_power_changes': 'numTxPowerChanges', - 'num_radar_chan_changes': 'numRadarChanChanges', - 'num_free_tx_buf': 'numFreeTxBuf', - 'eleven_g_protection': 'elevenGProtection', - 'num_scan_req': 'numScanReq', - 'num_scan_succ': 'numScanSucc', - 'cur_eirp': 'curEirp', - 'actual_cell_size': 'actualCellSize', - 'cur_channel': 'curChannel', - 'cur_backup_channel': 'curBackupChannel', - 'rx_last_rssi': 'rxLastRssi', - 'num_rx': 'numRx', - 'num_rx_no_fcs_err': 'numRxNoFcsErr', - 'num_rx_fcs_err': 'numRxFcsErr', - 'num_rx_data': 'numRxData', - 'num_rx_management': 'numRxManagement', - 'num_rx_control': 'numRxControl', - 'rx_data_bytes': 'rxDataBytes', - 'num_rx_rts': 'numRxRts', - 'num_rx_cts': 'numRxCts', - 'num_rx_ack': 'numRxAck', - 'num_rx_beacon': 'numRxBeacon', - 'num_rx_probe_req': 'numRxProbeReq', - 'num_rx_probe_resp': 'numRxProbeResp', - 'num_rx_retry': 'numRxRetry', - 'num_rx_off_chan': 'numRxOffChan', - 'num_rx_dup': 'numRxDup', - 'num_rx_bc_mc': 'numRxBcMc', - 'num_rx_null_data': 'numRxNullData', - 'num_rx_pspoll': 'numRxPspoll', - 'num_rx_err': 'numRxErr', - 'num_rx_stbc': 'numRxStbc', - 'num_rx_ldpc': 'numRxLdpc', - 'num_rx_drop_runt': 'numRxDropRunt', - 'num_rx_drop_invalid_src_mac': 'numRxDropInvalidSrcMac', - 'num_rx_drop_amsdu_no_rcv': 'numRxDropAmsduNoRcv', - 'num_rx_drop_eth_hdr_runt': 'numRxDropEthHdrRunt', - 'num_rx_amsdu_deagg_seq': 'numRxAmsduDeaggSeq', - 'num_rx_amsdu_deagg_itmd': 'numRxAmsduDeaggItmd', - 'num_rx_amsdu_deagg_last': 'numRxAmsduDeaggLast', - 'num_rx_drop_no_fc_field': 'numRxDropNoFcField', - 'num_rx_drop_bad_protocol': 'numRxDropBadProtocol', - 'num_rcv_frame_for_tx': 'numRcvFrameForTx', - 'num_tx_queued': 'numTxQueued', - 'num_rcv_bc_for_tx': 'numRcvBcForTx', - 'num_tx_dropped': 'numTxDropped', - 'num_tx_retry_dropped': 'numTxRetryDropped', - 'num_tx_bc_dropped': 'numTxBcDropped', - 'num_tx_succ': 'numTxSucc', - 'num_tx_ps_unicast': 'numTxPsUnicast', - 'num_tx_dtim_mc': 'numTxDtimMc', - 'num_tx_succ_no_retry': 'numTxSuccNoRetry', - 'num_tx_succ_retries': 'numTxSuccRetries', - 'num_tx_multi_retries': 'numTxMultiRetries', - 'num_tx_management': 'numTxManagement', - 'num_tx_control': 'numTxControl', - 'num_tx_action': 'numTxAction', - 'num_tx_beacon_succ': 'numTxBeaconSucc', - 'num_tx_beacon_fail': 'numTxBeaconFail', - 'num_tx_beacon_su_fail': 'numTxBeaconSuFail', - 'num_tx_probe_resp': 'numTxProbeResp', - 'num_tx_data': 'numTxData', - 'num_tx_data_retries': 'numTxDataRetries', - 'num_tx_rts_succ': 'numTxRtsSucc', - 'num_tx_rts_fail': 'numTxRtsFail', - 'num_tx_cts': 'numTxCts', - 'num_tx_no_ack': 'numTxNoAck', - 'num_tx_eapol': 'numTxEapol', - 'num_tx_ldpc': 'numTxLdpc', - 'num_tx_stbc': 'numTxStbc', - 'num_tx_aggr_succ': 'numTxAggrSucc', - 'num_tx_aggr_one_mpdu': 'numTxAggrOneMpdu', - 'num_tx_rate_limit_drop': 'numTxRateLimitDrop', - 'num_tx_retry_attemps': 'numTxRetryAttemps', - 'num_tx_total_attemps': 'numTxTotalAttemps', - 'num_tx_data_frames_12_mbps': 'numTxDataFrames_12_Mbps', - 'num_tx_data_frames_54_mbps': 'numTxDataFrames_54_Mbps', - 'num_tx_data_frames_108_mbps': 'numTxDataFrames_108_Mbps', - 'num_tx_data_frames_300_mbps': 'numTxDataFrames_300_Mbps', - 'num_tx_data_frames_450_mbps': 'numTxDataFrames_450_Mbps', - 'num_tx_data_frames_1300_mbps': 'numTxDataFrames_1300_Mbps', - 'num_tx_data_frames_1300_plus_mbps': 'numTxDataFrames_1300Plus_Mbps', - 'num_rx_data_frames_12_mbps': 'numRxDataFrames_12_Mbps', - 'num_rx_data_frames_54_mbps': 'numRxDataFrames_54_Mbps', - 'num_rx_data_frames_108_mbps': 'numRxDataFrames_108_Mbps', - 'num_rx_data_frames_300_mbps': 'numRxDataFrames_300_Mbps', - 'num_rx_data_frames_450_mbps': 'numRxDataFrames_450_Mbps', - 'num_rx_data_frames_1300_mbps': 'numRxDataFrames_1300_Mbps', - 'num_rx_data_frames_1300_plus_mbps': 'numRxDataFrames_1300Plus_Mbps', - 'num_tx_time_frames_transmitted': 'numTxTimeFramesTransmitted', - 'num_rx_time_to_me': 'numRxTimeToMe', - 'num_channel_busy64s': 'numChannelBusy64s', - 'num_tx_time_data': 'numTxTimeData', - 'num_tx_time_bc_mc_data': 'numTxTime_BC_MC_Data', - 'num_rx_time_data': 'numRxTimeData', - 'num_tx_frames_transmitted': 'numTxFramesTransmitted', - 'num_tx_success_with_retry': 'numTxSuccessWithRetry', - 'num_tx_multiple_retries': 'numTxMultipleRetries', - 'num_tx_data_transmitted_retried': 'numTxDataTransmittedRetried', - 'num_tx_data_transmitted': 'numTxDataTransmitted', - 'num_tx_data_frames': 'numTxDataFrames', - 'num_rx_frames_received': 'numRxFramesReceived', - 'num_rx_retry_frames': 'numRxRetryFrames', - 'num_rx_data_frames_retried': 'numRxDataFramesRetried', - 'num_rx_data_frames': 'numRxDataFrames', - 'num_tx_1_mbps': 'numTx_1_Mbps', - 'num_tx_6_mbps': 'numTx_6_Mbps', - 'num_tx_9_mbps': 'numTx_9_Mbps', - 'num_tx_12_mbps': 'numTx_12_Mbps', - 'num_tx_18_mbps': 'numTx_18_Mbps', - 'num_tx_24_mbps': 'numTx_24_Mbps', - 'num_tx_36_mbps': 'numTx_36_Mbps', - 'num_tx_48_mbps': 'numTx_48_Mbps', - 'num_tx_54_mbps': 'numTx_54_Mbps', - 'num_rx_1_mbps': 'numRx_1_Mbps', - 'num_rx_6_mbps': 'numRx_6_Mbps', - 'num_rx_9_mbps': 'numRx_9_Mbps', - 'num_rx_12_mbps': 'numRx_12_Mbps', - 'num_rx_18_mbps': 'numRx_18_Mbps', - 'num_rx_24_mbps': 'numRx_24_Mbps', - 'num_rx_36_mbps': 'numRx_36_Mbps', - 'num_rx_48_mbps': 'numRx_48_Mbps', - 'num_rx_54_mbps': 'numRx_54_Mbps', - 'num_tx_ht_6_5_mbps': 'numTxHT_6_5_Mbps', - 'num_tx_ht_7_1_mbps': 'numTxHT_7_1_Mbps', - 'num_tx_ht_13_mbps': 'numTxHT_13_Mbps', - 'num_tx_ht_13_5_mbps': 'numTxHT_13_5_Mbps', - 'num_tx_ht_14_3_mbps': 'numTxHT_14_3_Mbps', - 'num_tx_ht_15_mbps': 'numTxHT_15_Mbps', - 'num_tx_ht_19_5_mbps': 'numTxHT_19_5_Mbps', - 'num_tx_ht_21_7_mbps': 'numTxHT_21_7_Mbps', - 'num_tx_ht_26_mbps': 'numTxHT_26_Mbps', - 'num_tx_ht_27_mbps': 'numTxHT_27_Mbps', - 'num_tx_ht_28_7_mbps': 'numTxHT_28_7_Mbps', - 'num_tx_ht_28_8_mbps': 'numTxHT_28_8_Mbps', - 'num_tx_ht_29_2_mbps': 'numTxHT_29_2_Mbps', - 'num_tx_ht_30_mbps': 'numTxHT_30_Mbps', - 'num_tx_ht_32_5_mbps': 'numTxHT_32_5_Mbps', - 'num_tx_ht_39_mbps': 'numTxHT_39_Mbps', - 'num_tx_ht_40_5_mbps': 'numTxHT_40_5_Mbps', - 'num_tx_ht_43_2_mbps': 'numTxHT_43_2_Mbps', - 'num_tx_ht_45_mbps': 'numTxHT_45_Mbps', - 'num_tx_ht_52_mbps': 'numTxHT_52_Mbps', - 'num_tx_ht_54_mbps': 'numTxHT_54_Mbps', - 'num_tx_ht_57_5_mbps': 'numTxHT_57_5_Mbps', - 'num_tx_ht_57_7_mbps': 'numTxHT_57_7_Mbps', - 'num_tx_ht_58_5_mbps': 'numTxHT_58_5_Mbps', - 'num_tx_ht_60_mbps': 'numTxHT_60_Mbps', - 'num_tx_ht_65_mbps': 'numTxHT_65_Mbps', - 'num_tx_ht_72_1_mbps': 'numTxHT_72_1_Mbps', - 'num_tx_ht_78_mbps': 'numTxHT_78_Mbps', - 'num_tx_ht_81_mbps': 'numTxHT_81_Mbps', - 'num_tx_ht_86_6_mbps': 'numTxHT_86_6_Mbps', - 'num_tx_ht_86_8_mbps': 'numTxHT_86_8_Mbps', - 'num_tx_ht_87_8_mbps': 'numTxHT_87_8_Mbps', - 'num_tx_ht_90_mbps': 'numTxHT_90_Mbps', - 'num_tx_ht_97_5_mbps': 'numTxHT_97_5_Mbps', - 'num_tx_ht_104_mbps': 'numTxHT_104_Mbps', - 'num_tx_ht_108_mbps': 'numTxHT_108_Mbps', - 'num_tx_ht_115_5_mbps': 'numTxHT_115_5_Mbps', - 'num_tx_ht_117_mbps': 'numTxHT_117_Mbps', - 'num_tx_ht_117_1_mbps': 'numTxHT_117_1_Mbps', - 'num_tx_ht_120_mbps': 'numTxHT_120_Mbps', - 'num_tx_ht_121_5_mbps': 'numTxHT_121_5_Mbps', - 'num_tx_ht_130_mbps': 'numTxHT_130_Mbps', - 'num_tx_ht_130_3_mbps': 'numTxHT_130_3_Mbps', - 'num_tx_ht_135_mbps': 'numTxHT_135_Mbps', - 'num_tx_ht_144_3_mbps': 'numTxHT_144_3_Mbps', - 'num_tx_ht_150_mbps': 'numTxHT_150_Mbps', - 'num_tx_ht_156_mbps': 'numTxHT_156_Mbps', - 'num_tx_ht_162_mbps': 'numTxHT_162_Mbps', - 'num_tx_ht_173_1_mbps': 'numTxHT_173_1_Mbps', - 'num_tx_ht_173_3_mbps': 'numTxHT_173_3_Mbps', - 'num_tx_ht_175_5_mbps': 'numTxHT_175_5_Mbps', - 'num_tx_ht_180_mbps': 'numTxHT_180_Mbps', - 'num_tx_ht_195_mbps': 'numTxHT_195_Mbps', - 'num_tx_ht_200_mbps': 'numTxHT_200_Mbps', - 'num_tx_ht_208_mbps': 'numTxHT_208_Mbps', - 'num_tx_ht_216_mbps': 'numTxHT_216_Mbps', - 'num_tx_ht_216_6_mbps': 'numTxHT_216_6_Mbps', - 'num_tx_ht_231_1_mbps': 'numTxHT_231_1_Mbps', - 'num_tx_ht_234_mbps': 'numTxHT_234_Mbps', - 'num_tx_ht_240_mbps': 'numTxHT_240_Mbps', - 'num_tx_ht_243_mbps': 'numTxHT_243_Mbps', - 'num_tx_ht_260_mbps': 'numTxHT_260_Mbps', - 'num_tx_ht_263_2_mbps': 'numTxHT_263_2_Mbps', - 'num_tx_ht_270_mbps': 'numTxHT_270_Mbps', - 'num_tx_ht_288_7_mbps': 'numTxHT_288_7_Mbps', - 'num_tx_ht_288_8_mbps': 'numTxHT_288_8_Mbps', - 'num_tx_ht_292_5_mbps': 'numTxHT_292_5_Mbps', - 'num_tx_ht_300_mbps': 'numTxHT_300_Mbps', - 'num_tx_ht_312_mbps': 'numTxHT_312_Mbps', - 'num_tx_ht_324_mbps': 'numTxHT_324_Mbps', - 'num_tx_ht_325_mbps': 'numTxHT_325_Mbps', - 'num_tx_ht_346_7_mbps': 'numTxHT_346_7_Mbps', - 'num_tx_ht_351_mbps': 'numTxHT_351_Mbps', - 'num_tx_ht_351_2_mbps': 'numTxHT_351_2_Mbps', - 'num_tx_ht_360_mbps': 'numTxHT_360_Mbps', - 'num_rx_ht_6_5_mbps': 'numRxHT_6_5_Mbps', - 'num_rx_ht_7_1_mbps': 'numRxHT_7_1_Mbps', - 'num_rx_ht_13_mbps': 'numRxHT_13_Mbps', - 'num_rx_ht_13_5_mbps': 'numRxHT_13_5_Mbps', - 'num_rx_ht_14_3_mbps': 'numRxHT_14_3_Mbps', - 'num_rx_ht_15_mbps': 'numRxHT_15_Mbps', - 'num_rx_ht_19_5_mbps': 'numRxHT_19_5_Mbps', - 'num_rx_ht_21_7_mbps': 'numRxHT_21_7_Mbps', - 'num_rx_ht_26_mbps': 'numRxHT_26_Mbps', - 'num_rx_ht_27_mbps': 'numRxHT_27_Mbps', - 'num_rx_ht_28_7_mbps': 'numRxHT_28_7_Mbps', - 'num_rx_ht_28_8_mbps': 'numRxHT_28_8_Mbps', - 'num_rx_ht_29_2_mbps': 'numRxHT_29_2_Mbps', - 'num_rx_ht_30_mbps': 'numRxHT_30_Mbps', - 'num_rx_ht_32_5_mbps': 'numRxHT_32_5_Mbps', - 'num_rx_ht_39_mbps': 'numRxHT_39_Mbps', - 'num_rx_ht_40_5_mbps': 'numRxHT_40_5_Mbps', - 'num_rx_ht_43_2_mbps': 'numRxHT_43_2_Mbps', - 'num_rx_ht_45_mbps': 'numRxHT_45_Mbps', - 'num_rx_ht_52_mbps': 'numRxHT_52_Mbps', - 'num_rx_ht_54_mbps': 'numRxHT_54_Mbps', - 'num_rx_ht_57_5_mbps': 'numRxHT_57_5_Mbps', - 'num_rx_ht_57_7_mbps': 'numRxHT_57_7_Mbps', - 'num_rx_ht_58_5_mbps': 'numRxHT_58_5_Mbps', - 'num_rx_ht_60_mbps': 'numRxHT_60_Mbps', - 'num_rx_ht_65_mbps': 'numRxHT_65_Mbps', - 'num_rx_ht_72_1_mbps': 'numRxHT_72_1_Mbps', - 'num_rx_ht_78_mbps': 'numRxHT_78_Mbps', - 'num_rx_ht_81_mbps': 'numRxHT_81_Mbps', - 'num_rx_ht_86_6_mbps': 'numRxHT_86_6_Mbps', - 'num_rx_ht_86_8_mbps': 'numRxHT_86_8_Mbps', - 'num_rx_ht_87_8_mbps': 'numRxHT_87_8_Mbps', - 'num_rx_ht_90_mbps': 'numRxHT_90_Mbps', - 'num_rx_ht_97_5_mbps': 'numRxHT_97_5_Mbps', - 'num_rx_ht_104_mbps': 'numRxHT_104_Mbps', - 'num_rx_ht_108_mbps': 'numRxHT_108_Mbps', - 'num_rx_ht_115_5_mbps': 'numRxHT_115_5_Mbps', - 'num_rx_ht_117_mbps': 'numRxHT_117_Mbps', - 'num_rx_ht_117_1_mbps': 'numRxHT_117_1_Mbps', - 'num_rx_ht_120_mbps': 'numRxHT_120_Mbps', - 'num_rx_ht_121_5_mbps': 'numRxHT_121_5_Mbps', - 'num_rx_ht_130_mbps': 'numRxHT_130_Mbps', - 'num_rx_ht_130_3_mbps': 'numRxHT_130_3_Mbps', - 'num_rx_ht_135_mbps': 'numRxHT_135_Mbps', - 'num_rx_ht_144_3_mbps': 'numRxHT_144_3_Mbps', - 'num_rx_ht_150_mbps': 'numRxHT_150_Mbps', - 'num_rx_ht_156_mbps': 'numRxHT_156_Mbps', - 'num_rx_ht_162_mbps': 'numRxHT_162_Mbps', - 'num_rx_ht_173_1_mbps': 'numRxHT_173_1_Mbps', - 'num_rx_ht_173_3_mbps': 'numRxHT_173_3_Mbps', - 'num_rx_ht_175_5_mbps': 'numRxHT_175_5_Mbps', - 'num_rx_ht_180_mbps': 'numRxHT_180_Mbps', - 'num_rx_ht_195_mbps': 'numRxHT_195_Mbps', - 'num_rx_ht_200_mbps': 'numRxHT_200_Mbps', - 'num_rx_ht_208_mbps': 'numRxHT_208_Mbps', - 'num_rx_ht_216_mbps': 'numRxHT_216_Mbps', - 'num_rx_ht_216_6_mbps': 'numRxHT_216_6_Mbps', - 'num_rx_ht_231_1_mbps': 'numRxHT_231_1_Mbps', - 'num_rx_ht_234_mbps': 'numRxHT_234_Mbps', - 'num_rx_ht_240_mbps': 'numRxHT_240_Mbps', - 'num_rx_ht_243_mbps': 'numRxHT_243_Mbps', - 'num_rx_ht_260_mbps': 'numRxHT_260_Mbps', - 'num_rx_ht_263_2_mbps': 'numRxHT_263_2_Mbps', - 'num_rx_ht_270_mbps': 'numRxHT_270_Mbps', - 'num_rx_ht_288_7_mbps': 'numRxHT_288_7_Mbps', - 'num_rx_ht_288_8_mbps': 'numRxHT_288_8_Mbps', - 'num_rx_ht_292_5_mbps': 'numRxHT_292_5_Mbps', - 'num_rx_ht_300_mbps': 'numRxHT_300_Mbps', - 'num_rx_ht_312_mbps': 'numRxHT_312_Mbps', - 'num_rx_ht_324_mbps': 'numRxHT_324_Mbps', - 'num_rx_ht_325_mbps': 'numRxHT_325_Mbps', - 'num_rx_ht_346_7_mbps': 'numRxHT_346_7_Mbps', - 'num_rx_ht_351_mbps': 'numRxHT_351_Mbps', - 'num_rx_ht_351_2_mbps': 'numRxHT_351_2_Mbps', - 'num_rx_ht_360_mbps': 'numRxHT_360_Mbps', - 'num_tx_vht_292_5_mbps': 'numTxVHT_292_5_Mbps', - 'num_tx_vht_325_mbps': 'numTxVHT_325_Mbps', - 'num_tx_vht_364_5_mbps': 'numTxVHT_364_5_Mbps', - 'num_tx_vht_390_mbps': 'numTxVHT_390_Mbps', - 'num_tx_vht_400_mbps': 'numTxVHT_400_Mbps', - 'num_tx_vht_403_mbps': 'numTxVHT_403_Mbps', - 'num_tx_vht_405_mbps': 'numTxVHT_405_Mbps', - 'num_tx_vht_432_mbps': 'numTxVHT_432_Mbps', - 'num_tx_vht_433_2_mbps': 'numTxVHT_433_2_Mbps', - 'num_tx_vht_450_mbps': 'numTxVHT_450_Mbps', - 'num_tx_vht_468_mbps': 'numTxVHT_468_Mbps', - 'num_tx_vht_480_mbps': 'numTxVHT_480_Mbps', - 'num_tx_vht_486_mbps': 'numTxVHT_486_Mbps', - 'num_tx_vht_520_mbps': 'numTxVHT_520_Mbps', - 'num_tx_vht_526_5_mbps': 'numTxVHT_526_5_Mbps', - 'num_tx_vht_540_mbps': 'numTxVHT_540_Mbps', - 'num_tx_vht_585_mbps': 'numTxVHT_585_Mbps', - 'num_tx_vht_600_mbps': 'numTxVHT_600_Mbps', - 'num_tx_vht_648_mbps': 'numTxVHT_648_Mbps', - 'num_tx_vht_650_mbps': 'numTxVHT_650_Mbps', - 'num_tx_vht_702_mbps': 'numTxVHT_702_Mbps', - 'num_tx_vht_720_mbps': 'numTxVHT_720_Mbps', - 'num_tx_vht_780_mbps': 'numTxVHT_780_Mbps', - 'num_tx_vht_800_mbps': 'numTxVHT_800_Mbps', - 'num_tx_vht_866_7_mbps': 'numTxVHT_866_7_Mbps', - 'num_tx_vht_877_5_mbps': 'numTxVHT_877_5_Mbps', - 'num_tx_vht_936_mbps': 'numTxVHT_936_Mbps', - 'num_tx_vht_975_mbps': 'numTxVHT_975_Mbps', - 'num_tx_vht_1040_mbps': 'numTxVHT_1040_Mbps', - 'num_tx_vht_1053_mbps': 'numTxVHT_1053_Mbps', - 'num_tx_vht_1053_1_mbps': 'numTxVHT_1053_1_Mbps', - 'num_tx_vht_1170_mbps': 'numTxVHT_1170_Mbps', - 'num_tx_vht_1300_mbps': 'numTxVHT_1300_Mbps', - 'num_tx_vht_1404_mbps': 'numTxVHT_1404_Mbps', - 'num_tx_vht_1560_mbps': 'numTxVHT_1560_Mbps', - 'num_tx_vht_1579_5_mbps': 'numTxVHT_1579_5_Mbps', - 'num_tx_vht_1733_1_mbps': 'numTxVHT_1733_1_Mbps', - 'num_tx_vht_1733_4_mbps': 'numTxVHT_1733_4_Mbps', - 'num_tx_vht_1755_mbps': 'numTxVHT_1755_Mbps', - 'num_tx_vht_1872_mbps': 'numTxVHT_1872_Mbps', - 'num_tx_vht_1950_mbps': 'numTxVHT_1950_Mbps', - 'num_tx_vht_2080_mbps': 'numTxVHT_2080_Mbps', - 'num_tx_vht_2106_mbps': 'numTxVHT_2106_Mbps', - 'num_tx_vht_2340_mbps': 'numTxVHT_2340_Mbps', - 'num_tx_vht_2600_mbps': 'numTxVHT_2600_Mbps', - 'num_tx_vht_2808_mbps': 'numTxVHT_2808_Mbps', - 'num_tx_vht_3120_mbps': 'numTxVHT_3120_Mbps', - 'num_tx_vht_3466_8_mbps': 'numTxVHT_3466_8_Mbps', - 'num_rx_vht_292_5_mbps': 'numRxVHT_292_5_Mbps', - 'num_rx_vht_325_mbps': 'numRxVHT_325_Mbps', - 'num_rx_vht_364_5_mbps': 'numRxVHT_364_5_Mbps', - 'num_rx_vht_390_mbps': 'numRxVHT_390_Mbps', - 'num_rx_vht_400_mbps': 'numRxVHT_400_Mbps', - 'num_rx_vht_403_mbps': 'numRxVHT_403_Mbps', - 'num_rx_vht_405_mbps': 'numRxVHT_405_Mbps', - 'num_rx_vht_432_mbps': 'numRxVHT_432_Mbps', - 'num_rx_vht_433_2_mbps': 'numRxVHT_433_2_Mbps', - 'num_rx_vht_450_mbps': 'numRxVHT_450_Mbps', - 'num_rx_vht_468_mbps': 'numRxVHT_468_Mbps', - 'num_rx_vht_480_mbps': 'numRxVHT_480_Mbps', - 'num_rx_vht_486_mbps': 'numRxVHT_486_Mbps', - 'num_rx_vht_520_mbps': 'numRxVHT_520_Mbps', - 'num_rx_vht_526_5_mbps': 'numRxVHT_526_5_Mbps', - 'num_rx_vht_540_mbps': 'numRxVHT_540_Mbps', - 'num_rx_vht_585_mbps': 'numRxVHT_585_Mbps', - 'num_rx_vht_600_mbps': 'numRxVHT_600_Mbps', - 'num_rx_vht_648_mbps': 'numRxVHT_648_Mbps', - 'num_rx_vht_650_mbps': 'numRxVHT_650_Mbps', - 'num_rx_vht_702_mbps': 'numRxVHT_702_Mbps', - 'num_rx_vht_720_mbps': 'numRxVHT_720_Mbps', - 'num_rx_vht_780_mbps': 'numRxVHT_780_Mbps', - 'num_rx_vht_800_mbps': 'numRxVHT_800_Mbps', - 'num_rx_vht_866_7_mbps': 'numRxVHT_866_7_Mbps', - 'num_rx_vht_877_5_mbps': 'numRxVHT_877_5_Mbps', - 'num_rx_vht_936_mbps': 'numRxVHT_936_Mbps', - 'num_rx_vht_975_mbps': 'numRxVHT_975_Mbps', - 'num_rx_vht_1040_mbps': 'numRxVHT_1040_Mbps', - 'num_rx_vht_1053_mbps': 'numRxVHT_1053_Mbps', - 'num_rx_vht_1053_1_mbps': 'numRxVHT_1053_1_Mbps', - 'num_rx_vht_1170_mbps': 'numRxVHT_1170_Mbps', - 'num_rx_vht_1300_mbps': 'numRxVHT_1300_Mbps', - 'num_rx_vht_1404_mbps': 'numRxVHT_1404_Mbps', - 'num_rx_vht_1560_mbps': 'numRxVHT_1560_Mbps', - 'num_rx_vht_1579_5_mbps': 'numRxVHT_1579_5_Mbps', - 'num_rx_vht_1733_1_mbps': 'numRxVHT_1733_1_Mbps', - 'num_rx_vht_1733_4_mbps': 'numRxVHT_1733_4_Mbps', - 'num_rx_vht_1755_mbps': 'numRxVHT_1755_Mbps', - 'num_rx_vht_1872_mbps': 'numRxVHT_1872_Mbps', - 'num_rx_vht_1950_mbps': 'numRxVHT_1950_Mbps', - 'num_rx_vht_2080_mbps': 'numRxVHT_2080_Mbps', - 'num_rx_vht_2106_mbps': 'numRxVHT_2106_Mbps', - 'num_rx_vht_2340_mbps': 'numRxVHT_2340_Mbps', - 'num_rx_vht_2600_mbps': 'numRxVHT_2600_Mbps', - 'num_rx_vht_2808_mbps': 'numRxVHT_2808_Mbps', - 'num_rx_vht_3120_mbps': 'numRxVHT_3120_Mbps', - 'num_rx_vht_3466_8_mbps': 'numRxVHT_3466_8_Mbps' - } - - def __init__(self, num_radio_resets=None, num_chan_changes=None, num_tx_power_changes=None, num_radar_chan_changes=None, num_free_tx_buf=None, eleven_g_protection=None, num_scan_req=None, num_scan_succ=None, cur_eirp=None, actual_cell_size=None, cur_channel=None, cur_backup_channel=None, rx_last_rssi=None, num_rx=None, num_rx_no_fcs_err=None, num_rx_fcs_err=None, num_rx_data=None, num_rx_management=None, num_rx_control=None, rx_data_bytes=None, num_rx_rts=None, num_rx_cts=None, num_rx_ack=None, num_rx_beacon=None, num_rx_probe_req=None, num_rx_probe_resp=None, num_rx_retry=None, num_rx_off_chan=None, num_rx_dup=None, num_rx_bc_mc=None, num_rx_null_data=None, num_rx_pspoll=None, num_rx_err=None, num_rx_stbc=None, num_rx_ldpc=None, num_rx_drop_runt=None, num_rx_drop_invalid_src_mac=None, num_rx_drop_amsdu_no_rcv=None, num_rx_drop_eth_hdr_runt=None, num_rx_amsdu_deagg_seq=None, num_rx_amsdu_deagg_itmd=None, num_rx_amsdu_deagg_last=None, num_rx_drop_no_fc_field=None, num_rx_drop_bad_protocol=None, num_rcv_frame_for_tx=None, num_tx_queued=None, num_rcv_bc_for_tx=None, num_tx_dropped=None, num_tx_retry_dropped=None, num_tx_bc_dropped=None, num_tx_succ=None, num_tx_ps_unicast=None, num_tx_dtim_mc=None, num_tx_succ_no_retry=None, num_tx_succ_retries=None, num_tx_multi_retries=None, num_tx_management=None, num_tx_control=None, num_tx_action=None, num_tx_beacon_succ=None, num_tx_beacon_fail=None, num_tx_beacon_su_fail=None, num_tx_probe_resp=None, num_tx_data=None, num_tx_data_retries=None, num_tx_rts_succ=None, num_tx_rts_fail=None, num_tx_cts=None, num_tx_no_ack=None, num_tx_eapol=None, num_tx_ldpc=None, num_tx_stbc=None, num_tx_aggr_succ=None, num_tx_aggr_one_mpdu=None, num_tx_rate_limit_drop=None, num_tx_retry_attemps=None, num_tx_total_attemps=None, num_tx_data_frames_12_mbps=None, num_tx_data_frames_54_mbps=None, num_tx_data_frames_108_mbps=None, num_tx_data_frames_300_mbps=None, num_tx_data_frames_450_mbps=None, num_tx_data_frames_1300_mbps=None, num_tx_data_frames_1300_plus_mbps=None, num_rx_data_frames_12_mbps=None, num_rx_data_frames_54_mbps=None, num_rx_data_frames_108_mbps=None, num_rx_data_frames_300_mbps=None, num_rx_data_frames_450_mbps=None, num_rx_data_frames_1300_mbps=None, num_rx_data_frames_1300_plus_mbps=None, num_tx_time_frames_transmitted=None, num_rx_time_to_me=None, num_channel_busy64s=None, num_tx_time_data=None, num_tx_time_bc_mc_data=None, num_rx_time_data=None, num_tx_frames_transmitted=None, num_tx_success_with_retry=None, num_tx_multiple_retries=None, num_tx_data_transmitted_retried=None, num_tx_data_transmitted=None, num_tx_data_frames=None, num_rx_frames_received=None, num_rx_retry_frames=None, num_rx_data_frames_retried=None, num_rx_data_frames=None, num_tx_1_mbps=None, num_tx_6_mbps=None, num_tx_9_mbps=None, num_tx_12_mbps=None, num_tx_18_mbps=None, num_tx_24_mbps=None, num_tx_36_mbps=None, num_tx_48_mbps=None, num_tx_54_mbps=None, num_rx_1_mbps=None, num_rx_6_mbps=None, num_rx_9_mbps=None, num_rx_12_mbps=None, num_rx_18_mbps=None, num_rx_24_mbps=None, num_rx_36_mbps=None, num_rx_48_mbps=None, num_rx_54_mbps=None, num_tx_ht_6_5_mbps=None, num_tx_ht_7_1_mbps=None, num_tx_ht_13_mbps=None, num_tx_ht_13_5_mbps=None, num_tx_ht_14_3_mbps=None, num_tx_ht_15_mbps=None, num_tx_ht_19_5_mbps=None, num_tx_ht_21_7_mbps=None, num_tx_ht_26_mbps=None, num_tx_ht_27_mbps=None, num_tx_ht_28_7_mbps=None, num_tx_ht_28_8_mbps=None, num_tx_ht_29_2_mbps=None, num_tx_ht_30_mbps=None, num_tx_ht_32_5_mbps=None, num_tx_ht_39_mbps=None, num_tx_ht_40_5_mbps=None, num_tx_ht_43_2_mbps=None, num_tx_ht_45_mbps=None, num_tx_ht_52_mbps=None, num_tx_ht_54_mbps=None, num_tx_ht_57_5_mbps=None, num_tx_ht_57_7_mbps=None, num_tx_ht_58_5_mbps=None, num_tx_ht_60_mbps=None, num_tx_ht_65_mbps=None, num_tx_ht_72_1_mbps=None, num_tx_ht_78_mbps=None, num_tx_ht_81_mbps=None, num_tx_ht_86_6_mbps=None, num_tx_ht_86_8_mbps=None, num_tx_ht_87_8_mbps=None, num_tx_ht_90_mbps=None, num_tx_ht_97_5_mbps=None, num_tx_ht_104_mbps=None, num_tx_ht_108_mbps=None, num_tx_ht_115_5_mbps=None, num_tx_ht_117_mbps=None, num_tx_ht_117_1_mbps=None, num_tx_ht_120_mbps=None, num_tx_ht_121_5_mbps=None, num_tx_ht_130_mbps=None, num_tx_ht_130_3_mbps=None, num_tx_ht_135_mbps=None, num_tx_ht_144_3_mbps=None, num_tx_ht_150_mbps=None, num_tx_ht_156_mbps=None, num_tx_ht_162_mbps=None, num_tx_ht_173_1_mbps=None, num_tx_ht_173_3_mbps=None, num_tx_ht_175_5_mbps=None, num_tx_ht_180_mbps=None, num_tx_ht_195_mbps=None, num_tx_ht_200_mbps=None, num_tx_ht_208_mbps=None, num_tx_ht_216_mbps=None, num_tx_ht_216_6_mbps=None, num_tx_ht_231_1_mbps=None, num_tx_ht_234_mbps=None, num_tx_ht_240_mbps=None, num_tx_ht_243_mbps=None, num_tx_ht_260_mbps=None, num_tx_ht_263_2_mbps=None, num_tx_ht_270_mbps=None, num_tx_ht_288_7_mbps=None, num_tx_ht_288_8_mbps=None, num_tx_ht_292_5_mbps=None, num_tx_ht_300_mbps=None, num_tx_ht_312_mbps=None, num_tx_ht_324_mbps=None, num_tx_ht_325_mbps=None, num_tx_ht_346_7_mbps=None, num_tx_ht_351_mbps=None, num_tx_ht_351_2_mbps=None, num_tx_ht_360_mbps=None, num_rx_ht_6_5_mbps=None, num_rx_ht_7_1_mbps=None, num_rx_ht_13_mbps=None, num_rx_ht_13_5_mbps=None, num_rx_ht_14_3_mbps=None, num_rx_ht_15_mbps=None, num_rx_ht_19_5_mbps=None, num_rx_ht_21_7_mbps=None, num_rx_ht_26_mbps=None, num_rx_ht_27_mbps=None, num_rx_ht_28_7_mbps=None, num_rx_ht_28_8_mbps=None, num_rx_ht_29_2_mbps=None, num_rx_ht_30_mbps=None, num_rx_ht_32_5_mbps=None, num_rx_ht_39_mbps=None, num_rx_ht_40_5_mbps=None, num_rx_ht_43_2_mbps=None, num_rx_ht_45_mbps=None, num_rx_ht_52_mbps=None, num_rx_ht_54_mbps=None, num_rx_ht_57_5_mbps=None, num_rx_ht_57_7_mbps=None, num_rx_ht_58_5_mbps=None, num_rx_ht_60_mbps=None, num_rx_ht_65_mbps=None, num_rx_ht_72_1_mbps=None, num_rx_ht_78_mbps=None, num_rx_ht_81_mbps=None, num_rx_ht_86_6_mbps=None, num_rx_ht_86_8_mbps=None, num_rx_ht_87_8_mbps=None, num_rx_ht_90_mbps=None, num_rx_ht_97_5_mbps=None, num_rx_ht_104_mbps=None, num_rx_ht_108_mbps=None, num_rx_ht_115_5_mbps=None, num_rx_ht_117_mbps=None, num_rx_ht_117_1_mbps=None, num_rx_ht_120_mbps=None, num_rx_ht_121_5_mbps=None, num_rx_ht_130_mbps=None, num_rx_ht_130_3_mbps=None, num_rx_ht_135_mbps=None, num_rx_ht_144_3_mbps=None, num_rx_ht_150_mbps=None, num_rx_ht_156_mbps=None, num_rx_ht_162_mbps=None, num_rx_ht_173_1_mbps=None, num_rx_ht_173_3_mbps=None, num_rx_ht_175_5_mbps=None, num_rx_ht_180_mbps=None, num_rx_ht_195_mbps=None, num_rx_ht_200_mbps=None, num_rx_ht_208_mbps=None, num_rx_ht_216_mbps=None, num_rx_ht_216_6_mbps=None, num_rx_ht_231_1_mbps=None, num_rx_ht_234_mbps=None, num_rx_ht_240_mbps=None, num_rx_ht_243_mbps=None, num_rx_ht_260_mbps=None, num_rx_ht_263_2_mbps=None, num_rx_ht_270_mbps=None, num_rx_ht_288_7_mbps=None, num_rx_ht_288_8_mbps=None, num_rx_ht_292_5_mbps=None, num_rx_ht_300_mbps=None, num_rx_ht_312_mbps=None, num_rx_ht_324_mbps=None, num_rx_ht_325_mbps=None, num_rx_ht_346_7_mbps=None, num_rx_ht_351_mbps=None, num_rx_ht_351_2_mbps=None, num_rx_ht_360_mbps=None, num_tx_vht_292_5_mbps=None, num_tx_vht_325_mbps=None, num_tx_vht_364_5_mbps=None, num_tx_vht_390_mbps=None, num_tx_vht_400_mbps=None, num_tx_vht_403_mbps=None, num_tx_vht_405_mbps=None, num_tx_vht_432_mbps=None, num_tx_vht_433_2_mbps=None, num_tx_vht_450_mbps=None, num_tx_vht_468_mbps=None, num_tx_vht_480_mbps=None, num_tx_vht_486_mbps=None, num_tx_vht_520_mbps=None, num_tx_vht_526_5_mbps=None, num_tx_vht_540_mbps=None, num_tx_vht_585_mbps=None, num_tx_vht_600_mbps=None, num_tx_vht_648_mbps=None, num_tx_vht_650_mbps=None, num_tx_vht_702_mbps=None, num_tx_vht_720_mbps=None, num_tx_vht_780_mbps=None, num_tx_vht_800_mbps=None, num_tx_vht_866_7_mbps=None, num_tx_vht_877_5_mbps=None, num_tx_vht_936_mbps=None, num_tx_vht_975_mbps=None, num_tx_vht_1040_mbps=None, num_tx_vht_1053_mbps=None, num_tx_vht_1053_1_mbps=None, num_tx_vht_1170_mbps=None, num_tx_vht_1300_mbps=None, num_tx_vht_1404_mbps=None, num_tx_vht_1560_mbps=None, num_tx_vht_1579_5_mbps=None, num_tx_vht_1733_1_mbps=None, num_tx_vht_1733_4_mbps=None, num_tx_vht_1755_mbps=None, num_tx_vht_1872_mbps=None, num_tx_vht_1950_mbps=None, num_tx_vht_2080_mbps=None, num_tx_vht_2106_mbps=None, num_tx_vht_2340_mbps=None, num_tx_vht_2600_mbps=None, num_tx_vht_2808_mbps=None, num_tx_vht_3120_mbps=None, num_tx_vht_3466_8_mbps=None, num_rx_vht_292_5_mbps=None, num_rx_vht_325_mbps=None, num_rx_vht_364_5_mbps=None, num_rx_vht_390_mbps=None, num_rx_vht_400_mbps=None, num_rx_vht_403_mbps=None, num_rx_vht_405_mbps=None, num_rx_vht_432_mbps=None, num_rx_vht_433_2_mbps=None, num_rx_vht_450_mbps=None, num_rx_vht_468_mbps=None, num_rx_vht_480_mbps=None, num_rx_vht_486_mbps=None, num_rx_vht_520_mbps=None, num_rx_vht_526_5_mbps=None, num_rx_vht_540_mbps=None, num_rx_vht_585_mbps=None, num_rx_vht_600_mbps=None, num_rx_vht_648_mbps=None, num_rx_vht_650_mbps=None, num_rx_vht_702_mbps=None, num_rx_vht_720_mbps=None, num_rx_vht_780_mbps=None, num_rx_vht_800_mbps=None, num_rx_vht_866_7_mbps=None, num_rx_vht_877_5_mbps=None, num_rx_vht_936_mbps=None, num_rx_vht_975_mbps=None, num_rx_vht_1040_mbps=None, num_rx_vht_1053_mbps=None, num_rx_vht_1053_1_mbps=None, num_rx_vht_1170_mbps=None, num_rx_vht_1300_mbps=None, num_rx_vht_1404_mbps=None, num_rx_vht_1560_mbps=None, num_rx_vht_1579_5_mbps=None, num_rx_vht_1733_1_mbps=None, num_rx_vht_1733_4_mbps=None, num_rx_vht_1755_mbps=None, num_rx_vht_1872_mbps=None, num_rx_vht_1950_mbps=None, num_rx_vht_2080_mbps=None, num_rx_vht_2106_mbps=None, num_rx_vht_2340_mbps=None, num_rx_vht_2600_mbps=None, num_rx_vht_2808_mbps=None, num_rx_vht_3120_mbps=None, num_rx_vht_3466_8_mbps=None): # noqa: E501 - """RadioStatistics - a model defined in Swagger""" # noqa: E501 - self._num_radio_resets = None - self._num_chan_changes = None - self._num_tx_power_changes = None - self._num_radar_chan_changes = None - self._num_free_tx_buf = None - self._eleven_g_protection = None - self._num_scan_req = None - self._num_scan_succ = None - self._cur_eirp = None - self._actual_cell_size = None - self._cur_channel = None - self._cur_backup_channel = None - self._rx_last_rssi = None - self._num_rx = None - self._num_rx_no_fcs_err = None - self._num_rx_fcs_err = None - self._num_rx_data = None - self._num_rx_management = None - self._num_rx_control = None - self._rx_data_bytes = None - self._num_rx_rts = None - self._num_rx_cts = None - self._num_rx_ack = None - self._num_rx_beacon = None - self._num_rx_probe_req = None - self._num_rx_probe_resp = None - self._num_rx_retry = None - self._num_rx_off_chan = None - self._num_rx_dup = None - self._num_rx_bc_mc = None - self._num_rx_null_data = None - self._num_rx_pspoll = None - self._num_rx_err = None - self._num_rx_stbc = None - self._num_rx_ldpc = None - self._num_rx_drop_runt = None - self._num_rx_drop_invalid_src_mac = None - self._num_rx_drop_amsdu_no_rcv = None - self._num_rx_drop_eth_hdr_runt = None - self._num_rx_amsdu_deagg_seq = None - self._num_rx_amsdu_deagg_itmd = None - self._num_rx_amsdu_deagg_last = None - self._num_rx_drop_no_fc_field = None - self._num_rx_drop_bad_protocol = None - self._num_rcv_frame_for_tx = None - self._num_tx_queued = None - self._num_rcv_bc_for_tx = None - self._num_tx_dropped = None - self._num_tx_retry_dropped = None - self._num_tx_bc_dropped = None - self._num_tx_succ = None - self._num_tx_ps_unicast = None - self._num_tx_dtim_mc = None - self._num_tx_succ_no_retry = None - self._num_tx_succ_retries = None - self._num_tx_multi_retries = None - self._num_tx_management = None - self._num_tx_control = None - self._num_tx_action = None - self._num_tx_beacon_succ = None - self._num_tx_beacon_fail = None - self._num_tx_beacon_su_fail = None - self._num_tx_probe_resp = None - self._num_tx_data = None - self._num_tx_data_retries = None - self._num_tx_rts_succ = None - self._num_tx_rts_fail = None - self._num_tx_cts = None - self._num_tx_no_ack = None - self._num_tx_eapol = None - self._num_tx_ldpc = None - self._num_tx_stbc = None - self._num_tx_aggr_succ = None - self._num_tx_aggr_one_mpdu = None - self._num_tx_rate_limit_drop = None - self._num_tx_retry_attemps = None - self._num_tx_total_attemps = None - self._num_tx_data_frames_12_mbps = None - self._num_tx_data_frames_54_mbps = None - self._num_tx_data_frames_108_mbps = None - self._num_tx_data_frames_300_mbps = None - self._num_tx_data_frames_450_mbps = None - self._num_tx_data_frames_1300_mbps = None - self._num_tx_data_frames_1300_plus_mbps = None - self._num_rx_data_frames_12_mbps = None - self._num_rx_data_frames_54_mbps = None - self._num_rx_data_frames_108_mbps = None - self._num_rx_data_frames_300_mbps = None - self._num_rx_data_frames_450_mbps = None - self._num_rx_data_frames_1300_mbps = None - self._num_rx_data_frames_1300_plus_mbps = None - self._num_tx_time_frames_transmitted = None - self._num_rx_time_to_me = None - self._num_channel_busy64s = None - self._num_tx_time_data = None - self._num_tx_time_bc_mc_data = None - self._num_rx_time_data = None - self._num_tx_frames_transmitted = None - self._num_tx_success_with_retry = None - self._num_tx_multiple_retries = None - self._num_tx_data_transmitted_retried = None - self._num_tx_data_transmitted = None - self._num_tx_data_frames = None - self._num_rx_frames_received = None - self._num_rx_retry_frames = None - self._num_rx_data_frames_retried = None - self._num_rx_data_frames = None - self._num_tx_1_mbps = None - self._num_tx_6_mbps = None - self._num_tx_9_mbps = None - self._num_tx_12_mbps = None - self._num_tx_18_mbps = None - self._num_tx_24_mbps = None - self._num_tx_36_mbps = None - self._num_tx_48_mbps = None - self._num_tx_54_mbps = None - self._num_rx_1_mbps = None - self._num_rx_6_mbps = None - self._num_rx_9_mbps = None - self._num_rx_12_mbps = None - self._num_rx_18_mbps = None - self._num_rx_24_mbps = None - self._num_rx_36_mbps = None - self._num_rx_48_mbps = None - self._num_rx_54_mbps = None - self._num_tx_ht_6_5_mbps = None - self._num_tx_ht_7_1_mbps = None - self._num_tx_ht_13_mbps = None - self._num_tx_ht_13_5_mbps = None - self._num_tx_ht_14_3_mbps = None - self._num_tx_ht_15_mbps = None - self._num_tx_ht_19_5_mbps = None - self._num_tx_ht_21_7_mbps = None - self._num_tx_ht_26_mbps = None - self._num_tx_ht_27_mbps = None - self._num_tx_ht_28_7_mbps = None - self._num_tx_ht_28_8_mbps = None - self._num_tx_ht_29_2_mbps = None - self._num_tx_ht_30_mbps = None - self._num_tx_ht_32_5_mbps = None - self._num_tx_ht_39_mbps = None - self._num_tx_ht_40_5_mbps = None - self._num_tx_ht_43_2_mbps = None - self._num_tx_ht_45_mbps = None - self._num_tx_ht_52_mbps = None - self._num_tx_ht_54_mbps = None - self._num_tx_ht_57_5_mbps = None - self._num_tx_ht_57_7_mbps = None - self._num_tx_ht_58_5_mbps = None - self._num_tx_ht_60_mbps = None - self._num_tx_ht_65_mbps = None - self._num_tx_ht_72_1_mbps = None - self._num_tx_ht_78_mbps = None - self._num_tx_ht_81_mbps = None - self._num_tx_ht_86_6_mbps = None - self._num_tx_ht_86_8_mbps = None - self._num_tx_ht_87_8_mbps = None - self._num_tx_ht_90_mbps = None - self._num_tx_ht_97_5_mbps = None - self._num_tx_ht_104_mbps = None - self._num_tx_ht_108_mbps = None - self._num_tx_ht_115_5_mbps = None - self._num_tx_ht_117_mbps = None - self._num_tx_ht_117_1_mbps = None - self._num_tx_ht_120_mbps = None - self._num_tx_ht_121_5_mbps = None - self._num_tx_ht_130_mbps = None - self._num_tx_ht_130_3_mbps = None - self._num_tx_ht_135_mbps = None - self._num_tx_ht_144_3_mbps = None - self._num_tx_ht_150_mbps = None - self._num_tx_ht_156_mbps = None - self._num_tx_ht_162_mbps = None - self._num_tx_ht_173_1_mbps = None - self._num_tx_ht_173_3_mbps = None - self._num_tx_ht_175_5_mbps = None - self._num_tx_ht_180_mbps = None - self._num_tx_ht_195_mbps = None - self._num_tx_ht_200_mbps = None - self._num_tx_ht_208_mbps = None - self._num_tx_ht_216_mbps = None - self._num_tx_ht_216_6_mbps = None - self._num_tx_ht_231_1_mbps = None - self._num_tx_ht_234_mbps = None - self._num_tx_ht_240_mbps = None - self._num_tx_ht_243_mbps = None - self._num_tx_ht_260_mbps = None - self._num_tx_ht_263_2_mbps = None - self._num_tx_ht_270_mbps = None - self._num_tx_ht_288_7_mbps = None - self._num_tx_ht_288_8_mbps = None - self._num_tx_ht_292_5_mbps = None - self._num_tx_ht_300_mbps = None - self._num_tx_ht_312_mbps = None - self._num_tx_ht_324_mbps = None - self._num_tx_ht_325_mbps = None - self._num_tx_ht_346_7_mbps = None - self._num_tx_ht_351_mbps = None - self._num_tx_ht_351_2_mbps = None - self._num_tx_ht_360_mbps = None - self._num_rx_ht_6_5_mbps = None - self._num_rx_ht_7_1_mbps = None - self._num_rx_ht_13_mbps = None - self._num_rx_ht_13_5_mbps = None - self._num_rx_ht_14_3_mbps = None - self._num_rx_ht_15_mbps = None - self._num_rx_ht_19_5_mbps = None - self._num_rx_ht_21_7_mbps = None - self._num_rx_ht_26_mbps = None - self._num_rx_ht_27_mbps = None - self._num_rx_ht_28_7_mbps = None - self._num_rx_ht_28_8_mbps = None - self._num_rx_ht_29_2_mbps = None - self._num_rx_ht_30_mbps = None - self._num_rx_ht_32_5_mbps = None - self._num_rx_ht_39_mbps = None - self._num_rx_ht_40_5_mbps = None - self._num_rx_ht_43_2_mbps = None - self._num_rx_ht_45_mbps = None - self._num_rx_ht_52_mbps = None - self._num_rx_ht_54_mbps = None - self._num_rx_ht_57_5_mbps = None - self._num_rx_ht_57_7_mbps = None - self._num_rx_ht_58_5_mbps = None - self._num_rx_ht_60_mbps = None - self._num_rx_ht_65_mbps = None - self._num_rx_ht_72_1_mbps = None - self._num_rx_ht_78_mbps = None - self._num_rx_ht_81_mbps = None - self._num_rx_ht_86_6_mbps = None - self._num_rx_ht_86_8_mbps = None - self._num_rx_ht_87_8_mbps = None - self._num_rx_ht_90_mbps = None - self._num_rx_ht_97_5_mbps = None - self._num_rx_ht_104_mbps = None - self._num_rx_ht_108_mbps = None - self._num_rx_ht_115_5_mbps = None - self._num_rx_ht_117_mbps = None - self._num_rx_ht_117_1_mbps = None - self._num_rx_ht_120_mbps = None - self._num_rx_ht_121_5_mbps = None - self._num_rx_ht_130_mbps = None - self._num_rx_ht_130_3_mbps = None - self._num_rx_ht_135_mbps = None - self._num_rx_ht_144_3_mbps = None - self._num_rx_ht_150_mbps = None - self._num_rx_ht_156_mbps = None - self._num_rx_ht_162_mbps = None - self._num_rx_ht_173_1_mbps = None - self._num_rx_ht_173_3_mbps = None - self._num_rx_ht_175_5_mbps = None - self._num_rx_ht_180_mbps = None - self._num_rx_ht_195_mbps = None - self._num_rx_ht_200_mbps = None - self._num_rx_ht_208_mbps = None - self._num_rx_ht_216_mbps = None - self._num_rx_ht_216_6_mbps = None - self._num_rx_ht_231_1_mbps = None - self._num_rx_ht_234_mbps = None - self._num_rx_ht_240_mbps = None - self._num_rx_ht_243_mbps = None - self._num_rx_ht_260_mbps = None - self._num_rx_ht_263_2_mbps = None - self._num_rx_ht_270_mbps = None - self._num_rx_ht_288_7_mbps = None - self._num_rx_ht_288_8_mbps = None - self._num_rx_ht_292_5_mbps = None - self._num_rx_ht_300_mbps = None - self._num_rx_ht_312_mbps = None - self._num_rx_ht_324_mbps = None - self._num_rx_ht_325_mbps = None - self._num_rx_ht_346_7_mbps = None - self._num_rx_ht_351_mbps = None - self._num_rx_ht_351_2_mbps = None - self._num_rx_ht_360_mbps = None - self._num_tx_vht_292_5_mbps = None - self._num_tx_vht_325_mbps = None - self._num_tx_vht_364_5_mbps = None - self._num_tx_vht_390_mbps = None - self._num_tx_vht_400_mbps = None - self._num_tx_vht_403_mbps = None - self._num_tx_vht_405_mbps = None - self._num_tx_vht_432_mbps = None - self._num_tx_vht_433_2_mbps = None - self._num_tx_vht_450_mbps = None - self._num_tx_vht_468_mbps = None - self._num_tx_vht_480_mbps = None - self._num_tx_vht_486_mbps = None - self._num_tx_vht_520_mbps = None - self._num_tx_vht_526_5_mbps = None - self._num_tx_vht_540_mbps = None - self._num_tx_vht_585_mbps = None - self._num_tx_vht_600_mbps = None - self._num_tx_vht_648_mbps = None - self._num_tx_vht_650_mbps = None - self._num_tx_vht_702_mbps = None - self._num_tx_vht_720_mbps = None - self._num_tx_vht_780_mbps = None - self._num_tx_vht_800_mbps = None - self._num_tx_vht_866_7_mbps = None - self._num_tx_vht_877_5_mbps = None - self._num_tx_vht_936_mbps = None - self._num_tx_vht_975_mbps = None - self._num_tx_vht_1040_mbps = None - self._num_tx_vht_1053_mbps = None - self._num_tx_vht_1053_1_mbps = None - self._num_tx_vht_1170_mbps = None - self._num_tx_vht_1300_mbps = None - self._num_tx_vht_1404_mbps = None - self._num_tx_vht_1560_mbps = None - self._num_tx_vht_1579_5_mbps = None - self._num_tx_vht_1733_1_mbps = None - self._num_tx_vht_1733_4_mbps = None - self._num_tx_vht_1755_mbps = None - self._num_tx_vht_1872_mbps = None - self._num_tx_vht_1950_mbps = None - self._num_tx_vht_2080_mbps = None - self._num_tx_vht_2106_mbps = None - self._num_tx_vht_2340_mbps = None - self._num_tx_vht_2600_mbps = None - self._num_tx_vht_2808_mbps = None - self._num_tx_vht_3120_mbps = None - self._num_tx_vht_3466_8_mbps = None - self._num_rx_vht_292_5_mbps = None - self._num_rx_vht_325_mbps = None - self._num_rx_vht_364_5_mbps = None - self._num_rx_vht_390_mbps = None - self._num_rx_vht_400_mbps = None - self._num_rx_vht_403_mbps = None - self._num_rx_vht_405_mbps = None - self._num_rx_vht_432_mbps = None - self._num_rx_vht_433_2_mbps = None - self._num_rx_vht_450_mbps = None - self._num_rx_vht_468_mbps = None - self._num_rx_vht_480_mbps = None - self._num_rx_vht_486_mbps = None - self._num_rx_vht_520_mbps = None - self._num_rx_vht_526_5_mbps = None - self._num_rx_vht_540_mbps = None - self._num_rx_vht_585_mbps = None - self._num_rx_vht_600_mbps = None - self._num_rx_vht_648_mbps = None - self._num_rx_vht_650_mbps = None - self._num_rx_vht_702_mbps = None - self._num_rx_vht_720_mbps = None - self._num_rx_vht_780_mbps = None - self._num_rx_vht_800_mbps = None - self._num_rx_vht_866_7_mbps = None - self._num_rx_vht_877_5_mbps = None - self._num_rx_vht_936_mbps = None - self._num_rx_vht_975_mbps = None - self._num_rx_vht_1040_mbps = None - self._num_rx_vht_1053_mbps = None - self._num_rx_vht_1053_1_mbps = None - self._num_rx_vht_1170_mbps = None - self._num_rx_vht_1300_mbps = None - self._num_rx_vht_1404_mbps = None - self._num_rx_vht_1560_mbps = None - self._num_rx_vht_1579_5_mbps = None - self._num_rx_vht_1733_1_mbps = None - self._num_rx_vht_1733_4_mbps = None - self._num_rx_vht_1755_mbps = None - self._num_rx_vht_1872_mbps = None - self._num_rx_vht_1950_mbps = None - self._num_rx_vht_2080_mbps = None - self._num_rx_vht_2106_mbps = None - self._num_rx_vht_2340_mbps = None - self._num_rx_vht_2600_mbps = None - self._num_rx_vht_2808_mbps = None - self._num_rx_vht_3120_mbps = None - self._num_rx_vht_3466_8_mbps = None - self.discriminator = None - if num_radio_resets is not None: - self.num_radio_resets = num_radio_resets - if num_chan_changes is not None: - self.num_chan_changes = num_chan_changes - if num_tx_power_changes is not None: - self.num_tx_power_changes = num_tx_power_changes - if num_radar_chan_changes is not None: - self.num_radar_chan_changes = num_radar_chan_changes - if num_free_tx_buf is not None: - self.num_free_tx_buf = num_free_tx_buf - if eleven_g_protection is not None: - self.eleven_g_protection = eleven_g_protection - if num_scan_req is not None: - self.num_scan_req = num_scan_req - if num_scan_succ is not None: - self.num_scan_succ = num_scan_succ - if cur_eirp is not None: - self.cur_eirp = cur_eirp - if actual_cell_size is not None: - self.actual_cell_size = actual_cell_size - if cur_channel is not None: - self.cur_channel = cur_channel - if cur_backup_channel is not None: - self.cur_backup_channel = cur_backup_channel - if rx_last_rssi is not None: - self.rx_last_rssi = rx_last_rssi - if num_rx is not None: - self.num_rx = num_rx - if num_rx_no_fcs_err is not None: - self.num_rx_no_fcs_err = num_rx_no_fcs_err - if num_rx_fcs_err is not None: - self.num_rx_fcs_err = num_rx_fcs_err - if num_rx_data is not None: - self.num_rx_data = num_rx_data - if num_rx_management is not None: - self.num_rx_management = num_rx_management - if num_rx_control is not None: - self.num_rx_control = num_rx_control - if rx_data_bytes is not None: - self.rx_data_bytes = rx_data_bytes - if num_rx_rts is not None: - self.num_rx_rts = num_rx_rts - if num_rx_cts is not None: - self.num_rx_cts = num_rx_cts - if num_rx_ack is not None: - self.num_rx_ack = num_rx_ack - if num_rx_beacon is not None: - self.num_rx_beacon = num_rx_beacon - if num_rx_probe_req is not None: - self.num_rx_probe_req = num_rx_probe_req - if num_rx_probe_resp is not None: - self.num_rx_probe_resp = num_rx_probe_resp - if num_rx_retry is not None: - self.num_rx_retry = num_rx_retry - if num_rx_off_chan is not None: - self.num_rx_off_chan = num_rx_off_chan - if num_rx_dup is not None: - self.num_rx_dup = num_rx_dup - if num_rx_bc_mc is not None: - self.num_rx_bc_mc = num_rx_bc_mc - if num_rx_null_data is not None: - self.num_rx_null_data = num_rx_null_data - if num_rx_pspoll is not None: - self.num_rx_pspoll = num_rx_pspoll - if num_rx_err is not None: - self.num_rx_err = num_rx_err - if num_rx_stbc is not None: - self.num_rx_stbc = num_rx_stbc - if num_rx_ldpc is not None: - self.num_rx_ldpc = num_rx_ldpc - if num_rx_drop_runt is not None: - self.num_rx_drop_runt = num_rx_drop_runt - if num_rx_drop_invalid_src_mac is not None: - self.num_rx_drop_invalid_src_mac = num_rx_drop_invalid_src_mac - if num_rx_drop_amsdu_no_rcv is not None: - self.num_rx_drop_amsdu_no_rcv = num_rx_drop_amsdu_no_rcv - if num_rx_drop_eth_hdr_runt is not None: - self.num_rx_drop_eth_hdr_runt = num_rx_drop_eth_hdr_runt - if num_rx_amsdu_deagg_seq is not None: - self.num_rx_amsdu_deagg_seq = num_rx_amsdu_deagg_seq - if num_rx_amsdu_deagg_itmd is not None: - self.num_rx_amsdu_deagg_itmd = num_rx_amsdu_deagg_itmd - if num_rx_amsdu_deagg_last is not None: - self.num_rx_amsdu_deagg_last = num_rx_amsdu_deagg_last - if num_rx_drop_no_fc_field is not None: - self.num_rx_drop_no_fc_field = num_rx_drop_no_fc_field - if num_rx_drop_bad_protocol is not None: - self.num_rx_drop_bad_protocol = num_rx_drop_bad_protocol - if num_rcv_frame_for_tx is not None: - self.num_rcv_frame_for_tx = num_rcv_frame_for_tx - if num_tx_queued is not None: - self.num_tx_queued = num_tx_queued - if num_rcv_bc_for_tx is not None: - self.num_rcv_bc_for_tx = num_rcv_bc_for_tx - if num_tx_dropped is not None: - self.num_tx_dropped = num_tx_dropped - if num_tx_retry_dropped is not None: - self.num_tx_retry_dropped = num_tx_retry_dropped - if num_tx_bc_dropped is not None: - self.num_tx_bc_dropped = num_tx_bc_dropped - if num_tx_succ is not None: - self.num_tx_succ = num_tx_succ - if num_tx_ps_unicast is not None: - self.num_tx_ps_unicast = num_tx_ps_unicast - if num_tx_dtim_mc is not None: - self.num_tx_dtim_mc = num_tx_dtim_mc - if num_tx_succ_no_retry is not None: - self.num_tx_succ_no_retry = num_tx_succ_no_retry - if num_tx_succ_retries is not None: - self.num_tx_succ_retries = num_tx_succ_retries - if num_tx_multi_retries is not None: - self.num_tx_multi_retries = num_tx_multi_retries - if num_tx_management is not None: - self.num_tx_management = num_tx_management - if num_tx_control is not None: - self.num_tx_control = num_tx_control - if num_tx_action is not None: - self.num_tx_action = num_tx_action - if num_tx_beacon_succ is not None: - self.num_tx_beacon_succ = num_tx_beacon_succ - if num_tx_beacon_fail is not None: - self.num_tx_beacon_fail = num_tx_beacon_fail - if num_tx_beacon_su_fail is not None: - self.num_tx_beacon_su_fail = num_tx_beacon_su_fail - if num_tx_probe_resp is not None: - self.num_tx_probe_resp = num_tx_probe_resp - if num_tx_data is not None: - self.num_tx_data = num_tx_data - if num_tx_data_retries is not None: - self.num_tx_data_retries = num_tx_data_retries - if num_tx_rts_succ is not None: - self.num_tx_rts_succ = num_tx_rts_succ - if num_tx_rts_fail is not None: - self.num_tx_rts_fail = num_tx_rts_fail - if num_tx_cts is not None: - self.num_tx_cts = num_tx_cts - if num_tx_no_ack is not None: - self.num_tx_no_ack = num_tx_no_ack - if num_tx_eapol is not None: - self.num_tx_eapol = num_tx_eapol - if num_tx_ldpc is not None: - self.num_tx_ldpc = num_tx_ldpc - if num_tx_stbc is not None: - self.num_tx_stbc = num_tx_stbc - if num_tx_aggr_succ is not None: - self.num_tx_aggr_succ = num_tx_aggr_succ - if num_tx_aggr_one_mpdu is not None: - self.num_tx_aggr_one_mpdu = num_tx_aggr_one_mpdu - if num_tx_rate_limit_drop is not None: - self.num_tx_rate_limit_drop = num_tx_rate_limit_drop - if num_tx_retry_attemps is not None: - self.num_tx_retry_attemps = num_tx_retry_attemps - if num_tx_total_attemps is not None: - self.num_tx_total_attemps = num_tx_total_attemps - if num_tx_data_frames_12_mbps is not None: - self.num_tx_data_frames_12_mbps = num_tx_data_frames_12_mbps - if num_tx_data_frames_54_mbps is not None: - self.num_tx_data_frames_54_mbps = num_tx_data_frames_54_mbps - if num_tx_data_frames_108_mbps is not None: - self.num_tx_data_frames_108_mbps = num_tx_data_frames_108_mbps - if num_tx_data_frames_300_mbps is not None: - self.num_tx_data_frames_300_mbps = num_tx_data_frames_300_mbps - if num_tx_data_frames_450_mbps is not None: - self.num_tx_data_frames_450_mbps = num_tx_data_frames_450_mbps - if num_tx_data_frames_1300_mbps is not None: - self.num_tx_data_frames_1300_mbps = num_tx_data_frames_1300_mbps - if num_tx_data_frames_1300_plus_mbps is not None: - self.num_tx_data_frames_1300_plus_mbps = num_tx_data_frames_1300_plus_mbps - if num_rx_data_frames_12_mbps is not None: - self.num_rx_data_frames_12_mbps = num_rx_data_frames_12_mbps - if num_rx_data_frames_54_mbps is not None: - self.num_rx_data_frames_54_mbps = num_rx_data_frames_54_mbps - if num_rx_data_frames_108_mbps is not None: - self.num_rx_data_frames_108_mbps = num_rx_data_frames_108_mbps - if num_rx_data_frames_300_mbps is not None: - self.num_rx_data_frames_300_mbps = num_rx_data_frames_300_mbps - if num_rx_data_frames_450_mbps is not None: - self.num_rx_data_frames_450_mbps = num_rx_data_frames_450_mbps - if num_rx_data_frames_1300_mbps is not None: - self.num_rx_data_frames_1300_mbps = num_rx_data_frames_1300_mbps - if num_rx_data_frames_1300_plus_mbps is not None: - self.num_rx_data_frames_1300_plus_mbps = num_rx_data_frames_1300_plus_mbps - if num_tx_time_frames_transmitted is not None: - self.num_tx_time_frames_transmitted = num_tx_time_frames_transmitted - if num_rx_time_to_me is not None: - self.num_rx_time_to_me = num_rx_time_to_me - if num_channel_busy64s is not None: - self.num_channel_busy64s = num_channel_busy64s - if num_tx_time_data is not None: - self.num_tx_time_data = num_tx_time_data - if num_tx_time_bc_mc_data is not None: - self.num_tx_time_bc_mc_data = num_tx_time_bc_mc_data - if num_rx_time_data is not None: - self.num_rx_time_data = num_rx_time_data - if num_tx_frames_transmitted is not None: - self.num_tx_frames_transmitted = num_tx_frames_transmitted - if num_tx_success_with_retry is not None: - self.num_tx_success_with_retry = num_tx_success_with_retry - if num_tx_multiple_retries is not None: - self.num_tx_multiple_retries = num_tx_multiple_retries - if num_tx_data_transmitted_retried is not None: - self.num_tx_data_transmitted_retried = num_tx_data_transmitted_retried - if num_tx_data_transmitted is not None: - self.num_tx_data_transmitted = num_tx_data_transmitted - if num_tx_data_frames is not None: - self.num_tx_data_frames = num_tx_data_frames - if num_rx_frames_received is not None: - self.num_rx_frames_received = num_rx_frames_received - if num_rx_retry_frames is not None: - self.num_rx_retry_frames = num_rx_retry_frames - if num_rx_data_frames_retried is not None: - self.num_rx_data_frames_retried = num_rx_data_frames_retried - if num_rx_data_frames is not None: - self.num_rx_data_frames = num_rx_data_frames - if num_tx_1_mbps is not None: - self.num_tx_1_mbps = num_tx_1_mbps - if num_tx_6_mbps is not None: - self.num_tx_6_mbps = num_tx_6_mbps - if num_tx_9_mbps is not None: - self.num_tx_9_mbps = num_tx_9_mbps - if num_tx_12_mbps is not None: - self.num_tx_12_mbps = num_tx_12_mbps - if num_tx_18_mbps is not None: - self.num_tx_18_mbps = num_tx_18_mbps - if num_tx_24_mbps is not None: - self.num_tx_24_mbps = num_tx_24_mbps - if num_tx_36_mbps is not None: - self.num_tx_36_mbps = num_tx_36_mbps - if num_tx_48_mbps is not None: - self.num_tx_48_mbps = num_tx_48_mbps - if num_tx_54_mbps is not None: - self.num_tx_54_mbps = num_tx_54_mbps - if num_rx_1_mbps is not None: - self.num_rx_1_mbps = num_rx_1_mbps - if num_rx_6_mbps is not None: - self.num_rx_6_mbps = num_rx_6_mbps - if num_rx_9_mbps is not None: - self.num_rx_9_mbps = num_rx_9_mbps - if num_rx_12_mbps is not None: - self.num_rx_12_mbps = num_rx_12_mbps - if num_rx_18_mbps is not None: - self.num_rx_18_mbps = num_rx_18_mbps - if num_rx_24_mbps is not None: - self.num_rx_24_mbps = num_rx_24_mbps - if num_rx_36_mbps is not None: - self.num_rx_36_mbps = num_rx_36_mbps - if num_rx_48_mbps is not None: - self.num_rx_48_mbps = num_rx_48_mbps - if num_rx_54_mbps is not None: - self.num_rx_54_mbps = num_rx_54_mbps - if num_tx_ht_6_5_mbps is not None: - self.num_tx_ht_6_5_mbps = num_tx_ht_6_5_mbps - if num_tx_ht_7_1_mbps is not None: - self.num_tx_ht_7_1_mbps = num_tx_ht_7_1_mbps - if num_tx_ht_13_mbps is not None: - self.num_tx_ht_13_mbps = num_tx_ht_13_mbps - if num_tx_ht_13_5_mbps is not None: - self.num_tx_ht_13_5_mbps = num_tx_ht_13_5_mbps - if num_tx_ht_14_3_mbps is not None: - self.num_tx_ht_14_3_mbps = num_tx_ht_14_3_mbps - if num_tx_ht_15_mbps is not None: - self.num_tx_ht_15_mbps = num_tx_ht_15_mbps - if num_tx_ht_19_5_mbps is not None: - self.num_tx_ht_19_5_mbps = num_tx_ht_19_5_mbps - if num_tx_ht_21_7_mbps is not None: - self.num_tx_ht_21_7_mbps = num_tx_ht_21_7_mbps - if num_tx_ht_26_mbps is not None: - self.num_tx_ht_26_mbps = num_tx_ht_26_mbps - if num_tx_ht_27_mbps is not None: - self.num_tx_ht_27_mbps = num_tx_ht_27_mbps - if num_tx_ht_28_7_mbps is not None: - self.num_tx_ht_28_7_mbps = num_tx_ht_28_7_mbps - if num_tx_ht_28_8_mbps is not None: - self.num_tx_ht_28_8_mbps = num_tx_ht_28_8_mbps - if num_tx_ht_29_2_mbps is not None: - self.num_tx_ht_29_2_mbps = num_tx_ht_29_2_mbps - if num_tx_ht_30_mbps is not None: - self.num_tx_ht_30_mbps = num_tx_ht_30_mbps - if num_tx_ht_32_5_mbps is not None: - self.num_tx_ht_32_5_mbps = num_tx_ht_32_5_mbps - if num_tx_ht_39_mbps is not None: - self.num_tx_ht_39_mbps = num_tx_ht_39_mbps - if num_tx_ht_40_5_mbps is not None: - self.num_tx_ht_40_5_mbps = num_tx_ht_40_5_mbps - if num_tx_ht_43_2_mbps is not None: - self.num_tx_ht_43_2_mbps = num_tx_ht_43_2_mbps - if num_tx_ht_45_mbps is not None: - self.num_tx_ht_45_mbps = num_tx_ht_45_mbps - if num_tx_ht_52_mbps is not None: - self.num_tx_ht_52_mbps = num_tx_ht_52_mbps - if num_tx_ht_54_mbps is not None: - self.num_tx_ht_54_mbps = num_tx_ht_54_mbps - if num_tx_ht_57_5_mbps is not None: - self.num_tx_ht_57_5_mbps = num_tx_ht_57_5_mbps - if num_tx_ht_57_7_mbps is not None: - self.num_tx_ht_57_7_mbps = num_tx_ht_57_7_mbps - if num_tx_ht_58_5_mbps is not None: - self.num_tx_ht_58_5_mbps = num_tx_ht_58_5_mbps - if num_tx_ht_60_mbps is not None: - self.num_tx_ht_60_mbps = num_tx_ht_60_mbps - if num_tx_ht_65_mbps is not None: - self.num_tx_ht_65_mbps = num_tx_ht_65_mbps - if num_tx_ht_72_1_mbps is not None: - self.num_tx_ht_72_1_mbps = num_tx_ht_72_1_mbps - if num_tx_ht_78_mbps is not None: - self.num_tx_ht_78_mbps = num_tx_ht_78_mbps - if num_tx_ht_81_mbps is not None: - self.num_tx_ht_81_mbps = num_tx_ht_81_mbps - if num_tx_ht_86_6_mbps is not None: - self.num_tx_ht_86_6_mbps = num_tx_ht_86_6_mbps - if num_tx_ht_86_8_mbps is not None: - self.num_tx_ht_86_8_mbps = num_tx_ht_86_8_mbps - if num_tx_ht_87_8_mbps is not None: - self.num_tx_ht_87_8_mbps = num_tx_ht_87_8_mbps - if num_tx_ht_90_mbps is not None: - self.num_tx_ht_90_mbps = num_tx_ht_90_mbps - if num_tx_ht_97_5_mbps is not None: - self.num_tx_ht_97_5_mbps = num_tx_ht_97_5_mbps - if num_tx_ht_104_mbps is not None: - self.num_tx_ht_104_mbps = num_tx_ht_104_mbps - if num_tx_ht_108_mbps is not None: - self.num_tx_ht_108_mbps = num_tx_ht_108_mbps - if num_tx_ht_115_5_mbps is not None: - self.num_tx_ht_115_5_mbps = num_tx_ht_115_5_mbps - if num_tx_ht_117_mbps is not None: - self.num_tx_ht_117_mbps = num_tx_ht_117_mbps - if num_tx_ht_117_1_mbps is not None: - self.num_tx_ht_117_1_mbps = num_tx_ht_117_1_mbps - if num_tx_ht_120_mbps is not None: - self.num_tx_ht_120_mbps = num_tx_ht_120_mbps - if num_tx_ht_121_5_mbps is not None: - self.num_tx_ht_121_5_mbps = num_tx_ht_121_5_mbps - if num_tx_ht_130_mbps is not None: - self.num_tx_ht_130_mbps = num_tx_ht_130_mbps - if num_tx_ht_130_3_mbps is not None: - self.num_tx_ht_130_3_mbps = num_tx_ht_130_3_mbps - if num_tx_ht_135_mbps is not None: - self.num_tx_ht_135_mbps = num_tx_ht_135_mbps - if num_tx_ht_144_3_mbps is not None: - self.num_tx_ht_144_3_mbps = num_tx_ht_144_3_mbps - if num_tx_ht_150_mbps is not None: - self.num_tx_ht_150_mbps = num_tx_ht_150_mbps - if num_tx_ht_156_mbps is not None: - self.num_tx_ht_156_mbps = num_tx_ht_156_mbps - if num_tx_ht_162_mbps is not None: - self.num_tx_ht_162_mbps = num_tx_ht_162_mbps - if num_tx_ht_173_1_mbps is not None: - self.num_tx_ht_173_1_mbps = num_tx_ht_173_1_mbps - if num_tx_ht_173_3_mbps is not None: - self.num_tx_ht_173_3_mbps = num_tx_ht_173_3_mbps - if num_tx_ht_175_5_mbps is not None: - self.num_tx_ht_175_5_mbps = num_tx_ht_175_5_mbps - if num_tx_ht_180_mbps is not None: - self.num_tx_ht_180_mbps = num_tx_ht_180_mbps - if num_tx_ht_195_mbps is not None: - self.num_tx_ht_195_mbps = num_tx_ht_195_mbps - if num_tx_ht_200_mbps is not None: - self.num_tx_ht_200_mbps = num_tx_ht_200_mbps - if num_tx_ht_208_mbps is not None: - self.num_tx_ht_208_mbps = num_tx_ht_208_mbps - if num_tx_ht_216_mbps is not None: - self.num_tx_ht_216_mbps = num_tx_ht_216_mbps - if num_tx_ht_216_6_mbps is not None: - self.num_tx_ht_216_6_mbps = num_tx_ht_216_6_mbps - if num_tx_ht_231_1_mbps is not None: - self.num_tx_ht_231_1_mbps = num_tx_ht_231_1_mbps - if num_tx_ht_234_mbps is not None: - self.num_tx_ht_234_mbps = num_tx_ht_234_mbps - if num_tx_ht_240_mbps is not None: - self.num_tx_ht_240_mbps = num_tx_ht_240_mbps - if num_tx_ht_243_mbps is not None: - self.num_tx_ht_243_mbps = num_tx_ht_243_mbps - if num_tx_ht_260_mbps is not None: - self.num_tx_ht_260_mbps = num_tx_ht_260_mbps - if num_tx_ht_263_2_mbps is not None: - self.num_tx_ht_263_2_mbps = num_tx_ht_263_2_mbps - if num_tx_ht_270_mbps is not None: - self.num_tx_ht_270_mbps = num_tx_ht_270_mbps - if num_tx_ht_288_7_mbps is not None: - self.num_tx_ht_288_7_mbps = num_tx_ht_288_7_mbps - if num_tx_ht_288_8_mbps is not None: - self.num_tx_ht_288_8_mbps = num_tx_ht_288_8_mbps - if num_tx_ht_292_5_mbps is not None: - self.num_tx_ht_292_5_mbps = num_tx_ht_292_5_mbps - if num_tx_ht_300_mbps is not None: - self.num_tx_ht_300_mbps = num_tx_ht_300_mbps - if num_tx_ht_312_mbps is not None: - self.num_tx_ht_312_mbps = num_tx_ht_312_mbps - if num_tx_ht_324_mbps is not None: - self.num_tx_ht_324_mbps = num_tx_ht_324_mbps - if num_tx_ht_325_mbps is not None: - self.num_tx_ht_325_mbps = num_tx_ht_325_mbps - if num_tx_ht_346_7_mbps is not None: - self.num_tx_ht_346_7_mbps = num_tx_ht_346_7_mbps - if num_tx_ht_351_mbps is not None: - self.num_tx_ht_351_mbps = num_tx_ht_351_mbps - if num_tx_ht_351_2_mbps is not None: - self.num_tx_ht_351_2_mbps = num_tx_ht_351_2_mbps - if num_tx_ht_360_mbps is not None: - self.num_tx_ht_360_mbps = num_tx_ht_360_mbps - if num_rx_ht_6_5_mbps is not None: - self.num_rx_ht_6_5_mbps = num_rx_ht_6_5_mbps - if num_rx_ht_7_1_mbps is not None: - self.num_rx_ht_7_1_mbps = num_rx_ht_7_1_mbps - if num_rx_ht_13_mbps is not None: - self.num_rx_ht_13_mbps = num_rx_ht_13_mbps - if num_rx_ht_13_5_mbps is not None: - self.num_rx_ht_13_5_mbps = num_rx_ht_13_5_mbps - if num_rx_ht_14_3_mbps is not None: - self.num_rx_ht_14_3_mbps = num_rx_ht_14_3_mbps - if num_rx_ht_15_mbps is not None: - self.num_rx_ht_15_mbps = num_rx_ht_15_mbps - if num_rx_ht_19_5_mbps is not None: - self.num_rx_ht_19_5_mbps = num_rx_ht_19_5_mbps - if num_rx_ht_21_7_mbps is not None: - self.num_rx_ht_21_7_mbps = num_rx_ht_21_7_mbps - if num_rx_ht_26_mbps is not None: - self.num_rx_ht_26_mbps = num_rx_ht_26_mbps - if num_rx_ht_27_mbps is not None: - self.num_rx_ht_27_mbps = num_rx_ht_27_mbps - if num_rx_ht_28_7_mbps is not None: - self.num_rx_ht_28_7_mbps = num_rx_ht_28_7_mbps - if num_rx_ht_28_8_mbps is not None: - self.num_rx_ht_28_8_mbps = num_rx_ht_28_8_mbps - if num_rx_ht_29_2_mbps is not None: - self.num_rx_ht_29_2_mbps = num_rx_ht_29_2_mbps - if num_rx_ht_30_mbps is not None: - self.num_rx_ht_30_mbps = num_rx_ht_30_mbps - if num_rx_ht_32_5_mbps is not None: - self.num_rx_ht_32_5_mbps = num_rx_ht_32_5_mbps - if num_rx_ht_39_mbps is not None: - self.num_rx_ht_39_mbps = num_rx_ht_39_mbps - if num_rx_ht_40_5_mbps is not None: - self.num_rx_ht_40_5_mbps = num_rx_ht_40_5_mbps - if num_rx_ht_43_2_mbps is not None: - self.num_rx_ht_43_2_mbps = num_rx_ht_43_2_mbps - if num_rx_ht_45_mbps is not None: - self.num_rx_ht_45_mbps = num_rx_ht_45_mbps - if num_rx_ht_52_mbps is not None: - self.num_rx_ht_52_mbps = num_rx_ht_52_mbps - if num_rx_ht_54_mbps is not None: - self.num_rx_ht_54_mbps = num_rx_ht_54_mbps - if num_rx_ht_57_5_mbps is not None: - self.num_rx_ht_57_5_mbps = num_rx_ht_57_5_mbps - if num_rx_ht_57_7_mbps is not None: - self.num_rx_ht_57_7_mbps = num_rx_ht_57_7_mbps - if num_rx_ht_58_5_mbps is not None: - self.num_rx_ht_58_5_mbps = num_rx_ht_58_5_mbps - if num_rx_ht_60_mbps is not None: - self.num_rx_ht_60_mbps = num_rx_ht_60_mbps - if num_rx_ht_65_mbps is not None: - self.num_rx_ht_65_mbps = num_rx_ht_65_mbps - if num_rx_ht_72_1_mbps is not None: - self.num_rx_ht_72_1_mbps = num_rx_ht_72_1_mbps - if num_rx_ht_78_mbps is not None: - self.num_rx_ht_78_mbps = num_rx_ht_78_mbps - if num_rx_ht_81_mbps is not None: - self.num_rx_ht_81_mbps = num_rx_ht_81_mbps - if num_rx_ht_86_6_mbps is not None: - self.num_rx_ht_86_6_mbps = num_rx_ht_86_6_mbps - if num_rx_ht_86_8_mbps is not None: - self.num_rx_ht_86_8_mbps = num_rx_ht_86_8_mbps - if num_rx_ht_87_8_mbps is not None: - self.num_rx_ht_87_8_mbps = num_rx_ht_87_8_mbps - if num_rx_ht_90_mbps is not None: - self.num_rx_ht_90_mbps = num_rx_ht_90_mbps - if num_rx_ht_97_5_mbps is not None: - self.num_rx_ht_97_5_mbps = num_rx_ht_97_5_mbps - if num_rx_ht_104_mbps is not None: - self.num_rx_ht_104_mbps = num_rx_ht_104_mbps - if num_rx_ht_108_mbps is not None: - self.num_rx_ht_108_mbps = num_rx_ht_108_mbps - if num_rx_ht_115_5_mbps is not None: - self.num_rx_ht_115_5_mbps = num_rx_ht_115_5_mbps - if num_rx_ht_117_mbps is not None: - self.num_rx_ht_117_mbps = num_rx_ht_117_mbps - if num_rx_ht_117_1_mbps is not None: - self.num_rx_ht_117_1_mbps = num_rx_ht_117_1_mbps - if num_rx_ht_120_mbps is not None: - self.num_rx_ht_120_mbps = num_rx_ht_120_mbps - if num_rx_ht_121_5_mbps is not None: - self.num_rx_ht_121_5_mbps = num_rx_ht_121_5_mbps - if num_rx_ht_130_mbps is not None: - self.num_rx_ht_130_mbps = num_rx_ht_130_mbps - if num_rx_ht_130_3_mbps is not None: - self.num_rx_ht_130_3_mbps = num_rx_ht_130_3_mbps - if num_rx_ht_135_mbps is not None: - self.num_rx_ht_135_mbps = num_rx_ht_135_mbps - if num_rx_ht_144_3_mbps is not None: - self.num_rx_ht_144_3_mbps = num_rx_ht_144_3_mbps - if num_rx_ht_150_mbps is not None: - self.num_rx_ht_150_mbps = num_rx_ht_150_mbps - if num_rx_ht_156_mbps is not None: - self.num_rx_ht_156_mbps = num_rx_ht_156_mbps - if num_rx_ht_162_mbps is not None: - self.num_rx_ht_162_mbps = num_rx_ht_162_mbps - if num_rx_ht_173_1_mbps is not None: - self.num_rx_ht_173_1_mbps = num_rx_ht_173_1_mbps - if num_rx_ht_173_3_mbps is not None: - self.num_rx_ht_173_3_mbps = num_rx_ht_173_3_mbps - if num_rx_ht_175_5_mbps is not None: - self.num_rx_ht_175_5_mbps = num_rx_ht_175_5_mbps - if num_rx_ht_180_mbps is not None: - self.num_rx_ht_180_mbps = num_rx_ht_180_mbps - if num_rx_ht_195_mbps is not None: - self.num_rx_ht_195_mbps = num_rx_ht_195_mbps - if num_rx_ht_200_mbps is not None: - self.num_rx_ht_200_mbps = num_rx_ht_200_mbps - if num_rx_ht_208_mbps is not None: - self.num_rx_ht_208_mbps = num_rx_ht_208_mbps - if num_rx_ht_216_mbps is not None: - self.num_rx_ht_216_mbps = num_rx_ht_216_mbps - if num_rx_ht_216_6_mbps is not None: - self.num_rx_ht_216_6_mbps = num_rx_ht_216_6_mbps - if num_rx_ht_231_1_mbps is not None: - self.num_rx_ht_231_1_mbps = num_rx_ht_231_1_mbps - if num_rx_ht_234_mbps is not None: - self.num_rx_ht_234_mbps = num_rx_ht_234_mbps - if num_rx_ht_240_mbps is not None: - self.num_rx_ht_240_mbps = num_rx_ht_240_mbps - if num_rx_ht_243_mbps is not None: - self.num_rx_ht_243_mbps = num_rx_ht_243_mbps - if num_rx_ht_260_mbps is not None: - self.num_rx_ht_260_mbps = num_rx_ht_260_mbps - if num_rx_ht_263_2_mbps is not None: - self.num_rx_ht_263_2_mbps = num_rx_ht_263_2_mbps - if num_rx_ht_270_mbps is not None: - self.num_rx_ht_270_mbps = num_rx_ht_270_mbps - if num_rx_ht_288_7_mbps is not None: - self.num_rx_ht_288_7_mbps = num_rx_ht_288_7_mbps - if num_rx_ht_288_8_mbps is not None: - self.num_rx_ht_288_8_mbps = num_rx_ht_288_8_mbps - if num_rx_ht_292_5_mbps is not None: - self.num_rx_ht_292_5_mbps = num_rx_ht_292_5_mbps - if num_rx_ht_300_mbps is not None: - self.num_rx_ht_300_mbps = num_rx_ht_300_mbps - if num_rx_ht_312_mbps is not None: - self.num_rx_ht_312_mbps = num_rx_ht_312_mbps - if num_rx_ht_324_mbps is not None: - self.num_rx_ht_324_mbps = num_rx_ht_324_mbps - if num_rx_ht_325_mbps is not None: - self.num_rx_ht_325_mbps = num_rx_ht_325_mbps - if num_rx_ht_346_7_mbps is not None: - self.num_rx_ht_346_7_mbps = num_rx_ht_346_7_mbps - if num_rx_ht_351_mbps is not None: - self.num_rx_ht_351_mbps = num_rx_ht_351_mbps - if num_rx_ht_351_2_mbps is not None: - self.num_rx_ht_351_2_mbps = num_rx_ht_351_2_mbps - if num_rx_ht_360_mbps is not None: - self.num_rx_ht_360_mbps = num_rx_ht_360_mbps - if num_tx_vht_292_5_mbps is not None: - self.num_tx_vht_292_5_mbps = num_tx_vht_292_5_mbps - if num_tx_vht_325_mbps is not None: - self.num_tx_vht_325_mbps = num_tx_vht_325_mbps - if num_tx_vht_364_5_mbps is not None: - self.num_tx_vht_364_5_mbps = num_tx_vht_364_5_mbps - if num_tx_vht_390_mbps is not None: - self.num_tx_vht_390_mbps = num_tx_vht_390_mbps - if num_tx_vht_400_mbps is not None: - self.num_tx_vht_400_mbps = num_tx_vht_400_mbps - if num_tx_vht_403_mbps is not None: - self.num_tx_vht_403_mbps = num_tx_vht_403_mbps - if num_tx_vht_405_mbps is not None: - self.num_tx_vht_405_mbps = num_tx_vht_405_mbps - if num_tx_vht_432_mbps is not None: - self.num_tx_vht_432_mbps = num_tx_vht_432_mbps - if num_tx_vht_433_2_mbps is not None: - self.num_tx_vht_433_2_mbps = num_tx_vht_433_2_mbps - if num_tx_vht_450_mbps is not None: - self.num_tx_vht_450_mbps = num_tx_vht_450_mbps - if num_tx_vht_468_mbps is not None: - self.num_tx_vht_468_mbps = num_tx_vht_468_mbps - if num_tx_vht_480_mbps is not None: - self.num_tx_vht_480_mbps = num_tx_vht_480_mbps - if num_tx_vht_486_mbps is not None: - self.num_tx_vht_486_mbps = num_tx_vht_486_mbps - if num_tx_vht_520_mbps is not None: - self.num_tx_vht_520_mbps = num_tx_vht_520_mbps - if num_tx_vht_526_5_mbps is not None: - self.num_tx_vht_526_5_mbps = num_tx_vht_526_5_mbps - if num_tx_vht_540_mbps is not None: - self.num_tx_vht_540_mbps = num_tx_vht_540_mbps - if num_tx_vht_585_mbps is not None: - self.num_tx_vht_585_mbps = num_tx_vht_585_mbps - if num_tx_vht_600_mbps is not None: - self.num_tx_vht_600_mbps = num_tx_vht_600_mbps - if num_tx_vht_648_mbps is not None: - self.num_tx_vht_648_mbps = num_tx_vht_648_mbps - if num_tx_vht_650_mbps is not None: - self.num_tx_vht_650_mbps = num_tx_vht_650_mbps - if num_tx_vht_702_mbps is not None: - self.num_tx_vht_702_mbps = num_tx_vht_702_mbps - if num_tx_vht_720_mbps is not None: - self.num_tx_vht_720_mbps = num_tx_vht_720_mbps - if num_tx_vht_780_mbps is not None: - self.num_tx_vht_780_mbps = num_tx_vht_780_mbps - if num_tx_vht_800_mbps is not None: - self.num_tx_vht_800_mbps = num_tx_vht_800_mbps - if num_tx_vht_866_7_mbps is not None: - self.num_tx_vht_866_7_mbps = num_tx_vht_866_7_mbps - if num_tx_vht_877_5_mbps is not None: - self.num_tx_vht_877_5_mbps = num_tx_vht_877_5_mbps - if num_tx_vht_936_mbps is not None: - self.num_tx_vht_936_mbps = num_tx_vht_936_mbps - if num_tx_vht_975_mbps is not None: - self.num_tx_vht_975_mbps = num_tx_vht_975_mbps - if num_tx_vht_1040_mbps is not None: - self.num_tx_vht_1040_mbps = num_tx_vht_1040_mbps - if num_tx_vht_1053_mbps is not None: - self.num_tx_vht_1053_mbps = num_tx_vht_1053_mbps - if num_tx_vht_1053_1_mbps is not None: - self.num_tx_vht_1053_1_mbps = num_tx_vht_1053_1_mbps - if num_tx_vht_1170_mbps is not None: - self.num_tx_vht_1170_mbps = num_tx_vht_1170_mbps - if num_tx_vht_1300_mbps is not None: - self.num_tx_vht_1300_mbps = num_tx_vht_1300_mbps - if num_tx_vht_1404_mbps is not None: - self.num_tx_vht_1404_mbps = num_tx_vht_1404_mbps - if num_tx_vht_1560_mbps is not None: - self.num_tx_vht_1560_mbps = num_tx_vht_1560_mbps - if num_tx_vht_1579_5_mbps is not None: - self.num_tx_vht_1579_5_mbps = num_tx_vht_1579_5_mbps - if num_tx_vht_1733_1_mbps is not None: - self.num_tx_vht_1733_1_mbps = num_tx_vht_1733_1_mbps - if num_tx_vht_1733_4_mbps is not None: - self.num_tx_vht_1733_4_mbps = num_tx_vht_1733_4_mbps - if num_tx_vht_1755_mbps is not None: - self.num_tx_vht_1755_mbps = num_tx_vht_1755_mbps - if num_tx_vht_1872_mbps is not None: - self.num_tx_vht_1872_mbps = num_tx_vht_1872_mbps - if num_tx_vht_1950_mbps is not None: - self.num_tx_vht_1950_mbps = num_tx_vht_1950_mbps - if num_tx_vht_2080_mbps is not None: - self.num_tx_vht_2080_mbps = num_tx_vht_2080_mbps - if num_tx_vht_2106_mbps is not None: - self.num_tx_vht_2106_mbps = num_tx_vht_2106_mbps - if num_tx_vht_2340_mbps is not None: - self.num_tx_vht_2340_mbps = num_tx_vht_2340_mbps - if num_tx_vht_2600_mbps is not None: - self.num_tx_vht_2600_mbps = num_tx_vht_2600_mbps - if num_tx_vht_2808_mbps is not None: - self.num_tx_vht_2808_mbps = num_tx_vht_2808_mbps - if num_tx_vht_3120_mbps is not None: - self.num_tx_vht_3120_mbps = num_tx_vht_3120_mbps - if num_tx_vht_3466_8_mbps is not None: - self.num_tx_vht_3466_8_mbps = num_tx_vht_3466_8_mbps - if num_rx_vht_292_5_mbps is not None: - self.num_rx_vht_292_5_mbps = num_rx_vht_292_5_mbps - if num_rx_vht_325_mbps is not None: - self.num_rx_vht_325_mbps = num_rx_vht_325_mbps - if num_rx_vht_364_5_mbps is not None: - self.num_rx_vht_364_5_mbps = num_rx_vht_364_5_mbps - if num_rx_vht_390_mbps is not None: - self.num_rx_vht_390_mbps = num_rx_vht_390_mbps - if num_rx_vht_400_mbps is not None: - self.num_rx_vht_400_mbps = num_rx_vht_400_mbps - if num_rx_vht_403_mbps is not None: - self.num_rx_vht_403_mbps = num_rx_vht_403_mbps - if num_rx_vht_405_mbps is not None: - self.num_rx_vht_405_mbps = num_rx_vht_405_mbps - if num_rx_vht_432_mbps is not None: - self.num_rx_vht_432_mbps = num_rx_vht_432_mbps - if num_rx_vht_433_2_mbps is not None: - self.num_rx_vht_433_2_mbps = num_rx_vht_433_2_mbps - if num_rx_vht_450_mbps is not None: - self.num_rx_vht_450_mbps = num_rx_vht_450_mbps - if num_rx_vht_468_mbps is not None: - self.num_rx_vht_468_mbps = num_rx_vht_468_mbps - if num_rx_vht_480_mbps is not None: - self.num_rx_vht_480_mbps = num_rx_vht_480_mbps - if num_rx_vht_486_mbps is not None: - self.num_rx_vht_486_mbps = num_rx_vht_486_mbps - if num_rx_vht_520_mbps is not None: - self.num_rx_vht_520_mbps = num_rx_vht_520_mbps - if num_rx_vht_526_5_mbps is not None: - self.num_rx_vht_526_5_mbps = num_rx_vht_526_5_mbps - if num_rx_vht_540_mbps is not None: - self.num_rx_vht_540_mbps = num_rx_vht_540_mbps - if num_rx_vht_585_mbps is not None: - self.num_rx_vht_585_mbps = num_rx_vht_585_mbps - if num_rx_vht_600_mbps is not None: - self.num_rx_vht_600_mbps = num_rx_vht_600_mbps - if num_rx_vht_648_mbps is not None: - self.num_rx_vht_648_mbps = num_rx_vht_648_mbps - if num_rx_vht_650_mbps is not None: - self.num_rx_vht_650_mbps = num_rx_vht_650_mbps - if num_rx_vht_702_mbps is not None: - self.num_rx_vht_702_mbps = num_rx_vht_702_mbps - if num_rx_vht_720_mbps is not None: - self.num_rx_vht_720_mbps = num_rx_vht_720_mbps - if num_rx_vht_780_mbps is not None: - self.num_rx_vht_780_mbps = num_rx_vht_780_mbps - if num_rx_vht_800_mbps is not None: - self.num_rx_vht_800_mbps = num_rx_vht_800_mbps - if num_rx_vht_866_7_mbps is not None: - self.num_rx_vht_866_7_mbps = num_rx_vht_866_7_mbps - if num_rx_vht_877_5_mbps is not None: - self.num_rx_vht_877_5_mbps = num_rx_vht_877_5_mbps - if num_rx_vht_936_mbps is not None: - self.num_rx_vht_936_mbps = num_rx_vht_936_mbps - if num_rx_vht_975_mbps is not None: - self.num_rx_vht_975_mbps = num_rx_vht_975_mbps - if num_rx_vht_1040_mbps is not None: - self.num_rx_vht_1040_mbps = num_rx_vht_1040_mbps - if num_rx_vht_1053_mbps is not None: - self.num_rx_vht_1053_mbps = num_rx_vht_1053_mbps - if num_rx_vht_1053_1_mbps is not None: - self.num_rx_vht_1053_1_mbps = num_rx_vht_1053_1_mbps - if num_rx_vht_1170_mbps is not None: - self.num_rx_vht_1170_mbps = num_rx_vht_1170_mbps - if num_rx_vht_1300_mbps is not None: - self.num_rx_vht_1300_mbps = num_rx_vht_1300_mbps - if num_rx_vht_1404_mbps is not None: - self.num_rx_vht_1404_mbps = num_rx_vht_1404_mbps - if num_rx_vht_1560_mbps is not None: - self.num_rx_vht_1560_mbps = num_rx_vht_1560_mbps - if num_rx_vht_1579_5_mbps is not None: - self.num_rx_vht_1579_5_mbps = num_rx_vht_1579_5_mbps - if num_rx_vht_1733_1_mbps is not None: - self.num_rx_vht_1733_1_mbps = num_rx_vht_1733_1_mbps - if num_rx_vht_1733_4_mbps is not None: - self.num_rx_vht_1733_4_mbps = num_rx_vht_1733_4_mbps - if num_rx_vht_1755_mbps is not None: - self.num_rx_vht_1755_mbps = num_rx_vht_1755_mbps - if num_rx_vht_1872_mbps is not None: - self.num_rx_vht_1872_mbps = num_rx_vht_1872_mbps - if num_rx_vht_1950_mbps is not None: - self.num_rx_vht_1950_mbps = num_rx_vht_1950_mbps - if num_rx_vht_2080_mbps is not None: - self.num_rx_vht_2080_mbps = num_rx_vht_2080_mbps - if num_rx_vht_2106_mbps is not None: - self.num_rx_vht_2106_mbps = num_rx_vht_2106_mbps - if num_rx_vht_2340_mbps is not None: - self.num_rx_vht_2340_mbps = num_rx_vht_2340_mbps - if num_rx_vht_2600_mbps is not None: - self.num_rx_vht_2600_mbps = num_rx_vht_2600_mbps - if num_rx_vht_2808_mbps is not None: - self.num_rx_vht_2808_mbps = num_rx_vht_2808_mbps - if num_rx_vht_3120_mbps is not None: - self.num_rx_vht_3120_mbps = num_rx_vht_3120_mbps - if num_rx_vht_3466_8_mbps is not None: - self.num_rx_vht_3466_8_mbps = num_rx_vht_3466_8_mbps - - @property - def num_radio_resets(self): - """Gets the num_radio_resets of this RadioStatistics. # noqa: E501 - - The number of radio resets # noqa: E501 - - :return: The num_radio_resets of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_radio_resets - - @num_radio_resets.setter - def num_radio_resets(self, num_radio_resets): - """Sets the num_radio_resets of this RadioStatistics. - - The number of radio resets # noqa: E501 - - :param num_radio_resets: The num_radio_resets of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_radio_resets = num_radio_resets - - @property - def num_chan_changes(self): - """Gets the num_chan_changes of this RadioStatistics. # noqa: E501 - - The number of channel changes. # noqa: E501 - - :return: The num_chan_changes of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_chan_changes - - @num_chan_changes.setter - def num_chan_changes(self, num_chan_changes): - """Sets the num_chan_changes of this RadioStatistics. - - The number of channel changes. # noqa: E501 - - :param num_chan_changes: The num_chan_changes of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_chan_changes = num_chan_changes - - @property - def num_tx_power_changes(self): - """Gets the num_tx_power_changes of this RadioStatistics. # noqa: E501 - - The number of tx power changes. # noqa: E501 - - :return: The num_tx_power_changes of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_power_changes - - @num_tx_power_changes.setter - def num_tx_power_changes(self, num_tx_power_changes): - """Sets the num_tx_power_changes of this RadioStatistics. - - The number of tx power changes. # noqa: E501 - - :param num_tx_power_changes: The num_tx_power_changes of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_power_changes = num_tx_power_changes - - @property - def num_radar_chan_changes(self): - """Gets the num_radar_chan_changes of this RadioStatistics. # noqa: E501 - - The number of channel changes due to radar detections. # noqa: E501 - - :return: The num_radar_chan_changes of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_radar_chan_changes - - @num_radar_chan_changes.setter - def num_radar_chan_changes(self, num_radar_chan_changes): - """Sets the num_radar_chan_changes of this RadioStatistics. - - The number of channel changes due to radar detections. # noqa: E501 - - :param num_radar_chan_changes: The num_radar_chan_changes of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_radar_chan_changes = num_radar_chan_changes - - @property - def num_free_tx_buf(self): - """Gets the num_free_tx_buf of this RadioStatistics. # noqa: E501 - - The number of free TX buffers available. # noqa: E501 - - :return: The num_free_tx_buf of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_free_tx_buf - - @num_free_tx_buf.setter - def num_free_tx_buf(self, num_free_tx_buf): - """Sets the num_free_tx_buf of this RadioStatistics. - - The number of free TX buffers available. # noqa: E501 - - :param num_free_tx_buf: The num_free_tx_buf of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_free_tx_buf = num_free_tx_buf - - @property - def eleven_g_protection(self): - """Gets the eleven_g_protection of this RadioStatistics. # noqa: E501 - - 11g protection, 2.4GHz only. # noqa: E501 - - :return: The eleven_g_protection of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._eleven_g_protection - - @eleven_g_protection.setter - def eleven_g_protection(self, eleven_g_protection): - """Sets the eleven_g_protection of this RadioStatistics. - - 11g protection, 2.4GHz only. # noqa: E501 - - :param eleven_g_protection: The eleven_g_protection of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._eleven_g_protection = eleven_g_protection - - @property - def num_scan_req(self): - """Gets the num_scan_req of this RadioStatistics. # noqa: E501 - - The number of scanning requests. # noqa: E501 - - :return: The num_scan_req of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_scan_req - - @num_scan_req.setter - def num_scan_req(self, num_scan_req): - """Sets the num_scan_req of this RadioStatistics. - - The number of scanning requests. # noqa: E501 - - :param num_scan_req: The num_scan_req of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_scan_req = num_scan_req - - @property - def num_scan_succ(self): - """Gets the num_scan_succ of this RadioStatistics. # noqa: E501 - - The number of scanning successes. # noqa: E501 - - :return: The num_scan_succ of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_scan_succ - - @num_scan_succ.setter - def num_scan_succ(self, num_scan_succ): - """Sets the num_scan_succ of this RadioStatistics. - - The number of scanning successes. # noqa: E501 - - :param num_scan_succ: The num_scan_succ of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_scan_succ = num_scan_succ - - @property - def cur_eirp(self): - """Gets the cur_eirp of this RadioStatistics. # noqa: E501 - - The Current EIRP. # noqa: E501 - - :return: The cur_eirp of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._cur_eirp - - @cur_eirp.setter - def cur_eirp(self, cur_eirp): - """Sets the cur_eirp of this RadioStatistics. - - The Current EIRP. # noqa: E501 - - :param cur_eirp: The cur_eirp of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._cur_eirp = cur_eirp - - @property - def actual_cell_size(self): - """Gets the actual_cell_size of this RadioStatistics. # noqa: E501 - - Actuall Cell Size # noqa: E501 - - :return: The actual_cell_size of this RadioStatistics. # noqa: E501 - :rtype: list[int] - """ - return self._actual_cell_size - - @actual_cell_size.setter - def actual_cell_size(self, actual_cell_size): - """Sets the actual_cell_size of this RadioStatistics. - - Actuall Cell Size # noqa: E501 - - :param actual_cell_size: The actual_cell_size of this RadioStatistics. # noqa: E501 - :type: list[int] - """ - - self._actual_cell_size = actual_cell_size - - @property - def cur_channel(self): - """Gets the cur_channel of this RadioStatistics. # noqa: E501 - - The current primary channel # noqa: E501 - - :return: The cur_channel of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._cur_channel - - @cur_channel.setter - def cur_channel(self, cur_channel): - """Sets the cur_channel of this RadioStatistics. - - The current primary channel # noqa: E501 - - :param cur_channel: The cur_channel of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._cur_channel = cur_channel - - @property - def cur_backup_channel(self): - """Gets the cur_backup_channel of this RadioStatistics. # noqa: E501 - - The current backup channel # noqa: E501 - - :return: The cur_backup_channel of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._cur_backup_channel - - @cur_backup_channel.setter - def cur_backup_channel(self, cur_backup_channel): - """Sets the cur_backup_channel of this RadioStatistics. - - The current backup channel # noqa: E501 - - :param cur_backup_channel: The cur_backup_channel of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._cur_backup_channel = cur_backup_channel - - @property - def rx_last_rssi(self): - """Gets the rx_last_rssi of this RadioStatistics. # noqa: E501 - - The RSSI of last frame received. # noqa: E501 - - :return: The rx_last_rssi of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._rx_last_rssi - - @rx_last_rssi.setter - def rx_last_rssi(self, rx_last_rssi): - """Sets the rx_last_rssi of this RadioStatistics. - - The RSSI of last frame received. # noqa: E501 - - :param rx_last_rssi: The rx_last_rssi of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._rx_last_rssi = rx_last_rssi - - @property - def num_rx(self): - """Gets the num_rx of this RadioStatistics. # noqa: E501 - - The number of received frames. # noqa: E501 - - :return: The num_rx of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx - - @num_rx.setter - def num_rx(self, num_rx): - """Sets the num_rx of this RadioStatistics. - - The number of received frames. # noqa: E501 - - :param num_rx: The num_rx of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx = num_rx - - @property - def num_rx_no_fcs_err(self): - """Gets the num_rx_no_fcs_err of this RadioStatistics. # noqa: E501 - - The number of received frames without FCS errors. # noqa: E501 - - :return: The num_rx_no_fcs_err of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_no_fcs_err - - @num_rx_no_fcs_err.setter - def num_rx_no_fcs_err(self, num_rx_no_fcs_err): - """Sets the num_rx_no_fcs_err of this RadioStatistics. - - The number of received frames without FCS errors. # noqa: E501 - - :param num_rx_no_fcs_err: The num_rx_no_fcs_err of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_no_fcs_err = num_rx_no_fcs_err - - @property - def num_rx_fcs_err(self): - """Gets the num_rx_fcs_err of this RadioStatistics. # noqa: E501 - - The number of received frames with FCS errors. # noqa: E501 - - :return: The num_rx_fcs_err of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_fcs_err - - @num_rx_fcs_err.setter - def num_rx_fcs_err(self, num_rx_fcs_err): - """Sets the num_rx_fcs_err of this RadioStatistics. - - The number of received frames with FCS errors. # noqa: E501 - - :param num_rx_fcs_err: The num_rx_fcs_err of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_fcs_err = num_rx_fcs_err - - @property - def num_rx_data(self): - """Gets the num_rx_data of this RadioStatistics. # noqa: E501 - - The number of received data frames. # noqa: E501 - - :return: The num_rx_data of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_data - - @num_rx_data.setter - def num_rx_data(self, num_rx_data): - """Sets the num_rx_data of this RadioStatistics. - - The number of received data frames. # noqa: E501 - - :param num_rx_data: The num_rx_data of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_data = num_rx_data - - @property - def num_rx_management(self): - """Gets the num_rx_management of this RadioStatistics. # noqa: E501 - - The number of received management frames. # noqa: E501 - - :return: The num_rx_management of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_management - - @num_rx_management.setter - def num_rx_management(self, num_rx_management): - """Sets the num_rx_management of this RadioStatistics. - - The number of received management frames. # noqa: E501 - - :param num_rx_management: The num_rx_management of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_management = num_rx_management - - @property - def num_rx_control(self): - """Gets the num_rx_control of this RadioStatistics. # noqa: E501 - - The number of received control frames. # noqa: E501 - - :return: The num_rx_control of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_control - - @num_rx_control.setter - def num_rx_control(self, num_rx_control): - """Sets the num_rx_control of this RadioStatistics. - - The number of received control frames. # noqa: E501 - - :param num_rx_control: The num_rx_control of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_control = num_rx_control - - @property - def rx_data_bytes(self): - """Gets the rx_data_bytes of this RadioStatistics. # noqa: E501 - - The number of received data frames. # noqa: E501 - - :return: The rx_data_bytes of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._rx_data_bytes - - @rx_data_bytes.setter - def rx_data_bytes(self, rx_data_bytes): - """Sets the rx_data_bytes of this RadioStatistics. - - The number of received data frames. # noqa: E501 - - :param rx_data_bytes: The rx_data_bytes of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._rx_data_bytes = rx_data_bytes - - @property - def num_rx_rts(self): - """Gets the num_rx_rts of this RadioStatistics. # noqa: E501 - - The number of received RTS frames. # noqa: E501 - - :return: The num_rx_rts of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_rts - - @num_rx_rts.setter - def num_rx_rts(self, num_rx_rts): - """Sets the num_rx_rts of this RadioStatistics. - - The number of received RTS frames. # noqa: E501 - - :param num_rx_rts: The num_rx_rts of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_rts = num_rx_rts - - @property - def num_rx_cts(self): - """Gets the num_rx_cts of this RadioStatistics. # noqa: E501 - - The number of received CTS frames. # noqa: E501 - - :return: The num_rx_cts of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_cts - - @num_rx_cts.setter - def num_rx_cts(self, num_rx_cts): - """Sets the num_rx_cts of this RadioStatistics. - - The number of received CTS frames. # noqa: E501 - - :param num_rx_cts: The num_rx_cts of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_cts = num_rx_cts - - @property - def num_rx_ack(self): - """Gets the num_rx_ack of this RadioStatistics. # noqa: E501 - - The number of all received ACK frames (Acks + BlockAcks). # noqa: E501 - - :return: The num_rx_ack of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ack - - @num_rx_ack.setter - def num_rx_ack(self, num_rx_ack): - """Sets the num_rx_ack of this RadioStatistics. - - The number of all received ACK frames (Acks + BlockAcks). # noqa: E501 - - :param num_rx_ack: The num_rx_ack of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ack = num_rx_ack - - @property - def num_rx_beacon(self): - """Gets the num_rx_beacon of this RadioStatistics. # noqa: E501 - - The number of received beacon frames. # noqa: E501 - - :return: The num_rx_beacon of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_beacon - - @num_rx_beacon.setter - def num_rx_beacon(self, num_rx_beacon): - """Sets the num_rx_beacon of this RadioStatistics. - - The number of received beacon frames. # noqa: E501 - - :param num_rx_beacon: The num_rx_beacon of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_beacon = num_rx_beacon - - @property - def num_rx_probe_req(self): - """Gets the num_rx_probe_req of this RadioStatistics. # noqa: E501 - - The number of received probe request frames. # noqa: E501 - - :return: The num_rx_probe_req of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_probe_req - - @num_rx_probe_req.setter - def num_rx_probe_req(self, num_rx_probe_req): - """Sets the num_rx_probe_req of this RadioStatistics. - - The number of received probe request frames. # noqa: E501 - - :param num_rx_probe_req: The num_rx_probe_req of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_probe_req = num_rx_probe_req - - @property - def num_rx_probe_resp(self): - """Gets the num_rx_probe_resp of this RadioStatistics. # noqa: E501 - - The number of received probe response frames. # noqa: E501 - - :return: The num_rx_probe_resp of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_probe_resp - - @num_rx_probe_resp.setter - def num_rx_probe_resp(self, num_rx_probe_resp): - """Sets the num_rx_probe_resp of this RadioStatistics. - - The number of received probe response frames. # noqa: E501 - - :param num_rx_probe_resp: The num_rx_probe_resp of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_probe_resp = num_rx_probe_resp - - @property - def num_rx_retry(self): - """Gets the num_rx_retry of this RadioStatistics. # noqa: E501 - - The number of received retry frames. # noqa: E501 - - :return: The num_rx_retry of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_retry - - @num_rx_retry.setter - def num_rx_retry(self, num_rx_retry): - """Sets the num_rx_retry of this RadioStatistics. - - The number of received retry frames. # noqa: E501 - - :param num_rx_retry: The num_rx_retry of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_retry = num_rx_retry - - @property - def num_rx_off_chan(self): - """Gets the num_rx_off_chan of this RadioStatistics. # noqa: E501 - - The number of frames received during off-channel scanning. # noqa: E501 - - :return: The num_rx_off_chan of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_off_chan - - @num_rx_off_chan.setter - def num_rx_off_chan(self, num_rx_off_chan): - """Sets the num_rx_off_chan of this RadioStatistics. - - The number of frames received during off-channel scanning. # noqa: E501 - - :param num_rx_off_chan: The num_rx_off_chan of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_off_chan = num_rx_off_chan - - @property - def num_rx_dup(self): - """Gets the num_rx_dup of this RadioStatistics. # noqa: E501 - - The number of received duplicated frames. # noqa: E501 - - :return: The num_rx_dup of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_dup - - @num_rx_dup.setter - def num_rx_dup(self, num_rx_dup): - """Sets the num_rx_dup of this RadioStatistics. - - The number of received duplicated frames. # noqa: E501 - - :param num_rx_dup: The num_rx_dup of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_dup = num_rx_dup - - @property - def num_rx_bc_mc(self): - """Gets the num_rx_bc_mc of this RadioStatistics. # noqa: E501 - - The number of received Broadcast/Multicast frames. # noqa: E501 - - :return: The num_rx_bc_mc of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_bc_mc - - @num_rx_bc_mc.setter - def num_rx_bc_mc(self, num_rx_bc_mc): - """Sets the num_rx_bc_mc of this RadioStatistics. - - The number of received Broadcast/Multicast frames. # noqa: E501 - - :param num_rx_bc_mc: The num_rx_bc_mc of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_bc_mc = num_rx_bc_mc - - @property - def num_rx_null_data(self): - """Gets the num_rx_null_data of this RadioStatistics. # noqa: E501 - - The number of received null data frames. # noqa: E501 - - :return: The num_rx_null_data of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_null_data - - @num_rx_null_data.setter - def num_rx_null_data(self, num_rx_null_data): - """Sets the num_rx_null_data of this RadioStatistics. - - The number of received null data frames. # noqa: E501 - - :param num_rx_null_data: The num_rx_null_data of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_null_data = num_rx_null_data - - @property - def num_rx_pspoll(self): - """Gets the num_rx_pspoll of this RadioStatistics. # noqa: E501 - - The number of received ps-poll frames # noqa: E501 - - :return: The num_rx_pspoll of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_pspoll - - @num_rx_pspoll.setter - def num_rx_pspoll(self, num_rx_pspoll): - """Sets the num_rx_pspoll of this RadioStatistics. - - The number of received ps-poll frames # noqa: E501 - - :param num_rx_pspoll: The num_rx_pspoll of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_pspoll = num_rx_pspoll - - @property - def num_rx_err(self): - """Gets the num_rx_err of this RadioStatistics. # noqa: E501 - - The number of received frames with errors. # noqa: E501 - - :return: The num_rx_err of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_err - - @num_rx_err.setter - def num_rx_err(self, num_rx_err): - """Sets the num_rx_err of this RadioStatistics. - - The number of received frames with errors. # noqa: E501 - - :param num_rx_err: The num_rx_err of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_err = num_rx_err - - @property - def num_rx_stbc(self): - """Gets the num_rx_stbc of this RadioStatistics. # noqa: E501 - - The number of received STBC frames. # noqa: E501 - - :return: The num_rx_stbc of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_stbc - - @num_rx_stbc.setter - def num_rx_stbc(self, num_rx_stbc): - """Sets the num_rx_stbc of this RadioStatistics. - - The number of received STBC frames. # noqa: E501 - - :param num_rx_stbc: The num_rx_stbc of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_stbc = num_rx_stbc - - @property - def num_rx_ldpc(self): - """Gets the num_rx_ldpc of this RadioStatistics. # noqa: E501 - - The number of received LDPC frames. # noqa: E501 - - :return: The num_rx_ldpc of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ldpc - - @num_rx_ldpc.setter - def num_rx_ldpc(self, num_rx_ldpc): - """Sets the num_rx_ldpc of this RadioStatistics. - - The number of received LDPC frames. # noqa: E501 - - :param num_rx_ldpc: The num_rx_ldpc of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ldpc = num_rx_ldpc - - @property - def num_rx_drop_runt(self): - """Gets the num_rx_drop_runt of this RadioStatistics. # noqa: E501 - - The number of dropped rx frames, runt. # noqa: E501 - - :return: The num_rx_drop_runt of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_drop_runt - - @num_rx_drop_runt.setter - def num_rx_drop_runt(self, num_rx_drop_runt): - """Sets the num_rx_drop_runt of this RadioStatistics. - - The number of dropped rx frames, runt. # noqa: E501 - - :param num_rx_drop_runt: The num_rx_drop_runt of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_drop_runt = num_rx_drop_runt - - @property - def num_rx_drop_invalid_src_mac(self): - """Gets the num_rx_drop_invalid_src_mac of this RadioStatistics. # noqa: E501 - - The number of dropped rx frames, invalid source MAC. # noqa: E501 - - :return: The num_rx_drop_invalid_src_mac of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_drop_invalid_src_mac - - @num_rx_drop_invalid_src_mac.setter - def num_rx_drop_invalid_src_mac(self, num_rx_drop_invalid_src_mac): - """Sets the num_rx_drop_invalid_src_mac of this RadioStatistics. - - The number of dropped rx frames, invalid source MAC. # noqa: E501 - - :param num_rx_drop_invalid_src_mac: The num_rx_drop_invalid_src_mac of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_drop_invalid_src_mac = num_rx_drop_invalid_src_mac - - @property - def num_rx_drop_amsdu_no_rcv(self): - """Gets the num_rx_drop_amsdu_no_rcv of this RadioStatistics. # noqa: E501 - - The number of dropped rx frames, AMSDU no receive. # noqa: E501 - - :return: The num_rx_drop_amsdu_no_rcv of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_drop_amsdu_no_rcv - - @num_rx_drop_amsdu_no_rcv.setter - def num_rx_drop_amsdu_no_rcv(self, num_rx_drop_amsdu_no_rcv): - """Sets the num_rx_drop_amsdu_no_rcv of this RadioStatistics. - - The number of dropped rx frames, AMSDU no receive. # noqa: E501 - - :param num_rx_drop_amsdu_no_rcv: The num_rx_drop_amsdu_no_rcv of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_drop_amsdu_no_rcv = num_rx_drop_amsdu_no_rcv - - @property - def num_rx_drop_eth_hdr_runt(self): - """Gets the num_rx_drop_eth_hdr_runt of this RadioStatistics. # noqa: E501 - - The number of dropped rx frames, Ethernet header runt. # noqa: E501 - - :return: The num_rx_drop_eth_hdr_runt of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_drop_eth_hdr_runt - - @num_rx_drop_eth_hdr_runt.setter - def num_rx_drop_eth_hdr_runt(self, num_rx_drop_eth_hdr_runt): - """Sets the num_rx_drop_eth_hdr_runt of this RadioStatistics. - - The number of dropped rx frames, Ethernet header runt. # noqa: E501 - - :param num_rx_drop_eth_hdr_runt: The num_rx_drop_eth_hdr_runt of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_drop_eth_hdr_runt = num_rx_drop_eth_hdr_runt - - @property - def num_rx_amsdu_deagg_seq(self): - """Gets the num_rx_amsdu_deagg_seq of this RadioStatistics. # noqa: E501 - - The number of dropped rx frames, AMSDU deagg sequence. # noqa: E501 - - :return: The num_rx_amsdu_deagg_seq of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_amsdu_deagg_seq - - @num_rx_amsdu_deagg_seq.setter - def num_rx_amsdu_deagg_seq(self, num_rx_amsdu_deagg_seq): - """Sets the num_rx_amsdu_deagg_seq of this RadioStatistics. - - The number of dropped rx frames, AMSDU deagg sequence. # noqa: E501 - - :param num_rx_amsdu_deagg_seq: The num_rx_amsdu_deagg_seq of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_amsdu_deagg_seq = num_rx_amsdu_deagg_seq - - @property - def num_rx_amsdu_deagg_itmd(self): - """Gets the num_rx_amsdu_deagg_itmd of this RadioStatistics. # noqa: E501 - - The number of dropped rx frames, AMSDU deagg intermediate. # noqa: E501 - - :return: The num_rx_amsdu_deagg_itmd of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_amsdu_deagg_itmd - - @num_rx_amsdu_deagg_itmd.setter - def num_rx_amsdu_deagg_itmd(self, num_rx_amsdu_deagg_itmd): - """Sets the num_rx_amsdu_deagg_itmd of this RadioStatistics. - - The number of dropped rx frames, AMSDU deagg intermediate. # noqa: E501 - - :param num_rx_amsdu_deagg_itmd: The num_rx_amsdu_deagg_itmd of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_amsdu_deagg_itmd = num_rx_amsdu_deagg_itmd - - @property - def num_rx_amsdu_deagg_last(self): - """Gets the num_rx_amsdu_deagg_last of this RadioStatistics. # noqa: E501 - - The number of dropped rx frames, AMSDU deagg last. # noqa: E501 - - :return: The num_rx_amsdu_deagg_last of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_amsdu_deagg_last - - @num_rx_amsdu_deagg_last.setter - def num_rx_amsdu_deagg_last(self, num_rx_amsdu_deagg_last): - """Sets the num_rx_amsdu_deagg_last of this RadioStatistics. - - The number of dropped rx frames, AMSDU deagg last. # noqa: E501 - - :param num_rx_amsdu_deagg_last: The num_rx_amsdu_deagg_last of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_amsdu_deagg_last = num_rx_amsdu_deagg_last - - @property - def num_rx_drop_no_fc_field(self): - """Gets the num_rx_drop_no_fc_field of this RadioStatistics. # noqa: E501 - - The number of dropped rx frames, no frame control field. # noqa: E501 - - :return: The num_rx_drop_no_fc_field of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_drop_no_fc_field - - @num_rx_drop_no_fc_field.setter - def num_rx_drop_no_fc_field(self, num_rx_drop_no_fc_field): - """Sets the num_rx_drop_no_fc_field of this RadioStatistics. - - The number of dropped rx frames, no frame control field. # noqa: E501 - - :param num_rx_drop_no_fc_field: The num_rx_drop_no_fc_field of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_drop_no_fc_field = num_rx_drop_no_fc_field - - @property - def num_rx_drop_bad_protocol(self): - """Gets the num_rx_drop_bad_protocol of this RadioStatistics. # noqa: E501 - - The number of dropped rx frames, bad protocol. # noqa: E501 - - :return: The num_rx_drop_bad_protocol of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_drop_bad_protocol - - @num_rx_drop_bad_protocol.setter - def num_rx_drop_bad_protocol(self, num_rx_drop_bad_protocol): - """Sets the num_rx_drop_bad_protocol of this RadioStatistics. - - The number of dropped rx frames, bad protocol. # noqa: E501 - - :param num_rx_drop_bad_protocol: The num_rx_drop_bad_protocol of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_drop_bad_protocol = num_rx_drop_bad_protocol - - @property - def num_rcv_frame_for_tx(self): - """Gets the num_rcv_frame_for_tx of this RadioStatistics. # noqa: E501 - - The number of received ethernet and local generated frames for transmit. # noqa: E501 - - :return: The num_rcv_frame_for_tx of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rcv_frame_for_tx - - @num_rcv_frame_for_tx.setter - def num_rcv_frame_for_tx(self, num_rcv_frame_for_tx): - """Sets the num_rcv_frame_for_tx of this RadioStatistics. - - The number of received ethernet and local generated frames for transmit. # noqa: E501 - - :param num_rcv_frame_for_tx: The num_rcv_frame_for_tx of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rcv_frame_for_tx = num_rcv_frame_for_tx - - @property - def num_tx_queued(self): - """Gets the num_tx_queued of this RadioStatistics. # noqa: E501 - - The number of TX frames queued. # noqa: E501 - - :return: The num_tx_queued of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_queued - - @num_tx_queued.setter - def num_tx_queued(self, num_tx_queued): - """Sets the num_tx_queued of this RadioStatistics. - - The number of TX frames queued. # noqa: E501 - - :param num_tx_queued: The num_tx_queued of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_queued = num_tx_queued - - @property - def num_rcv_bc_for_tx(self): - """Gets the num_rcv_bc_for_tx of this RadioStatistics. # noqa: E501 - - The number of received ethernet and local generated broadcast frames for transmit. # noqa: E501 - - :return: The num_rcv_bc_for_tx of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rcv_bc_for_tx - - @num_rcv_bc_for_tx.setter - def num_rcv_bc_for_tx(self, num_rcv_bc_for_tx): - """Sets the num_rcv_bc_for_tx of this RadioStatistics. - - The number of received ethernet and local generated broadcast frames for transmit. # noqa: E501 - - :param num_rcv_bc_for_tx: The num_rcv_bc_for_tx of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rcv_bc_for_tx = num_rcv_bc_for_tx - - @property - def num_tx_dropped(self): - """Gets the num_tx_dropped of this RadioStatistics. # noqa: E501 - - The number of every TX frame dropped. # noqa: E501 - - :return: The num_tx_dropped of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_dropped - - @num_tx_dropped.setter - def num_tx_dropped(self, num_tx_dropped): - """Sets the num_tx_dropped of this RadioStatistics. - - The number of every TX frame dropped. # noqa: E501 - - :param num_tx_dropped: The num_tx_dropped of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_dropped = num_tx_dropped - - @property - def num_tx_retry_dropped(self): - """Gets the num_tx_retry_dropped of this RadioStatistics. # noqa: E501 - - The number of TX frame dropped due to retries. # noqa: E501 - - :return: The num_tx_retry_dropped of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_retry_dropped - - @num_tx_retry_dropped.setter - def num_tx_retry_dropped(self, num_tx_retry_dropped): - """Sets the num_tx_retry_dropped of this RadioStatistics. - - The number of TX frame dropped due to retries. # noqa: E501 - - :param num_tx_retry_dropped: The num_tx_retry_dropped of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_retry_dropped = num_tx_retry_dropped - - @property - def num_tx_bc_dropped(self): - """Gets the num_tx_bc_dropped of this RadioStatistics. # noqa: E501 - - The number of broadcast frames dropped. # noqa: E501 - - :return: The num_tx_bc_dropped of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_bc_dropped - - @num_tx_bc_dropped.setter - def num_tx_bc_dropped(self, num_tx_bc_dropped): - """Sets the num_tx_bc_dropped of this RadioStatistics. - - The number of broadcast frames dropped. # noqa: E501 - - :param num_tx_bc_dropped: The num_tx_bc_dropped of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_bc_dropped = num_tx_bc_dropped - - @property - def num_tx_succ(self): - """Gets the num_tx_succ of this RadioStatistics. # noqa: E501 - - The number of frames successfully transmitted. # noqa: E501 - - :return: The num_tx_succ of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_succ - - @num_tx_succ.setter - def num_tx_succ(self, num_tx_succ): - """Sets the num_tx_succ of this RadioStatistics. - - The number of frames successfully transmitted. # noqa: E501 - - :param num_tx_succ: The num_tx_succ of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_succ = num_tx_succ - - @property - def num_tx_ps_unicast(self): - """Gets the num_tx_ps_unicast of this RadioStatistics. # noqa: E501 - - The number of transmitted PS unicast frame. # noqa: E501 - - :return: The num_tx_ps_unicast of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ps_unicast - - @num_tx_ps_unicast.setter - def num_tx_ps_unicast(self, num_tx_ps_unicast): - """Sets the num_tx_ps_unicast of this RadioStatistics. - - The number of transmitted PS unicast frame. # noqa: E501 - - :param num_tx_ps_unicast: The num_tx_ps_unicast of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ps_unicast = num_tx_ps_unicast - - @property - def num_tx_dtim_mc(self): - """Gets the num_tx_dtim_mc of this RadioStatistics. # noqa: E501 - - The number of transmitted DTIM multicast frames. # noqa: E501 - - :return: The num_tx_dtim_mc of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_dtim_mc - - @num_tx_dtim_mc.setter - def num_tx_dtim_mc(self, num_tx_dtim_mc): - """Sets the num_tx_dtim_mc of this RadioStatistics. - - The number of transmitted DTIM multicast frames. # noqa: E501 - - :param num_tx_dtim_mc: The num_tx_dtim_mc of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_dtim_mc = num_tx_dtim_mc - - @property - def num_tx_succ_no_retry(self): - """Gets the num_tx_succ_no_retry of this RadioStatistics. # noqa: E501 - - The number of successfully transmitted frames at firt attemp. # noqa: E501 - - :return: The num_tx_succ_no_retry of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_succ_no_retry - - @num_tx_succ_no_retry.setter - def num_tx_succ_no_retry(self, num_tx_succ_no_retry): - """Sets the num_tx_succ_no_retry of this RadioStatistics. - - The number of successfully transmitted frames at firt attemp. # noqa: E501 - - :param num_tx_succ_no_retry: The num_tx_succ_no_retry of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_succ_no_retry = num_tx_succ_no_retry - - @property - def num_tx_succ_retries(self): - """Gets the num_tx_succ_retries of this RadioStatistics. # noqa: E501 - - The number of successfully transmitted frames with retries. # noqa: E501 - - :return: The num_tx_succ_retries of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_succ_retries - - @num_tx_succ_retries.setter - def num_tx_succ_retries(self, num_tx_succ_retries): - """Sets the num_tx_succ_retries of this RadioStatistics. - - The number of successfully transmitted frames with retries. # noqa: E501 - - :param num_tx_succ_retries: The num_tx_succ_retries of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_succ_retries = num_tx_succ_retries - - @property - def num_tx_multi_retries(self): - """Gets the num_tx_multi_retries of this RadioStatistics. # noqa: E501 - - The number of Tx frames with retries. # noqa: E501 - - :return: The num_tx_multi_retries of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_multi_retries - - @num_tx_multi_retries.setter - def num_tx_multi_retries(self, num_tx_multi_retries): - """Sets the num_tx_multi_retries of this RadioStatistics. - - The number of Tx frames with retries. # noqa: E501 - - :param num_tx_multi_retries: The num_tx_multi_retries of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_multi_retries = num_tx_multi_retries - - @property - def num_tx_management(self): - """Gets the num_tx_management of this RadioStatistics. # noqa: E501 - - The number of TX management frames. # noqa: E501 - - :return: The num_tx_management of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_management - - @num_tx_management.setter - def num_tx_management(self, num_tx_management): - """Sets the num_tx_management of this RadioStatistics. - - The number of TX management frames. # noqa: E501 - - :param num_tx_management: The num_tx_management of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_management = num_tx_management - - @property - def num_tx_control(self): - """Gets the num_tx_control of this RadioStatistics. # noqa: E501 - - The number of Tx control frames. # noqa: E501 - - :return: The num_tx_control of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_control - - @num_tx_control.setter - def num_tx_control(self, num_tx_control): - """Sets the num_tx_control of this RadioStatistics. - - The number of Tx control frames. # noqa: E501 - - :param num_tx_control: The num_tx_control of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_control = num_tx_control - - @property - def num_tx_action(self): - """Gets the num_tx_action of this RadioStatistics. # noqa: E501 - - The number of Tx action frames. # noqa: E501 - - :return: The num_tx_action of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_action - - @num_tx_action.setter - def num_tx_action(self, num_tx_action): - """Sets the num_tx_action of this RadioStatistics. - - The number of Tx action frames. # noqa: E501 - - :param num_tx_action: The num_tx_action of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_action = num_tx_action - - @property - def num_tx_beacon_succ(self): - """Gets the num_tx_beacon_succ of this RadioStatistics. # noqa: E501 - - The number of successfully transmitted beacon. # noqa: E501 - - :return: The num_tx_beacon_succ of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_beacon_succ - - @num_tx_beacon_succ.setter - def num_tx_beacon_succ(self, num_tx_beacon_succ): - """Sets the num_tx_beacon_succ of this RadioStatistics. - - The number of successfully transmitted beacon. # noqa: E501 - - :param num_tx_beacon_succ: The num_tx_beacon_succ of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_beacon_succ = num_tx_beacon_succ - - @property - def num_tx_beacon_fail(self): - """Gets the num_tx_beacon_fail of this RadioStatistics. # noqa: E501 - - The number of unsuccessfully transmitted beacon. # noqa: E501 - - :return: The num_tx_beacon_fail of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_beacon_fail - - @num_tx_beacon_fail.setter - def num_tx_beacon_fail(self, num_tx_beacon_fail): - """Sets the num_tx_beacon_fail of this RadioStatistics. - - The number of unsuccessfully transmitted beacon. # noqa: E501 - - :param num_tx_beacon_fail: The num_tx_beacon_fail of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_beacon_fail = num_tx_beacon_fail - - @property - def num_tx_beacon_su_fail(self): - """Gets the num_tx_beacon_su_fail of this RadioStatistics. # noqa: E501 - - The number of successive beacon tx failure. # noqa: E501 - - :return: The num_tx_beacon_su_fail of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_beacon_su_fail - - @num_tx_beacon_su_fail.setter - def num_tx_beacon_su_fail(self, num_tx_beacon_su_fail): - """Sets the num_tx_beacon_su_fail of this RadioStatistics. - - The number of successive beacon tx failure. # noqa: E501 - - :param num_tx_beacon_su_fail: The num_tx_beacon_su_fail of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_beacon_su_fail = num_tx_beacon_su_fail - - @property - def num_tx_probe_resp(self): - """Gets the num_tx_probe_resp of this RadioStatistics. # noqa: E501 - - The number of TX probe response. # noqa: E501 - - :return: The num_tx_probe_resp of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_probe_resp - - @num_tx_probe_resp.setter - def num_tx_probe_resp(self, num_tx_probe_resp): - """Sets the num_tx_probe_resp of this RadioStatistics. - - The number of TX probe response. # noqa: E501 - - :param num_tx_probe_resp: The num_tx_probe_resp of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_probe_resp = num_tx_probe_resp - - @property - def num_tx_data(self): - """Gets the num_tx_data of this RadioStatistics. # noqa: E501 - - The number of Tx data frames. # noqa: E501 - - :return: The num_tx_data of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_data - - @num_tx_data.setter - def num_tx_data(self, num_tx_data): - """Sets the num_tx_data of this RadioStatistics. - - The number of Tx data frames. # noqa: E501 - - :param num_tx_data: The num_tx_data of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_data = num_tx_data - - @property - def num_tx_data_retries(self): - """Gets the num_tx_data_retries of this RadioStatistics. # noqa: E501 - - The number of Tx data frames with retries. # noqa: E501 - - :return: The num_tx_data_retries of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_data_retries - - @num_tx_data_retries.setter - def num_tx_data_retries(self, num_tx_data_retries): - """Sets the num_tx_data_retries of this RadioStatistics. - - The number of Tx data frames with retries. # noqa: E501 - - :param num_tx_data_retries: The num_tx_data_retries of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_data_retries = num_tx_data_retries - - @property - def num_tx_rts_succ(self): - """Gets the num_tx_rts_succ of this RadioStatistics. # noqa: E501 - - The number of RTS frames sent successfully . # noqa: E501 - - :return: The num_tx_rts_succ of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_rts_succ - - @num_tx_rts_succ.setter - def num_tx_rts_succ(self, num_tx_rts_succ): - """Sets the num_tx_rts_succ of this RadioStatistics. - - The number of RTS frames sent successfully . # noqa: E501 - - :param num_tx_rts_succ: The num_tx_rts_succ of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_rts_succ = num_tx_rts_succ - - @property - def num_tx_rts_fail(self): - """Gets the num_tx_rts_fail of this RadioStatistics. # noqa: E501 - - The number of RTS frames failed transmission. # noqa: E501 - - :return: The num_tx_rts_fail of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_rts_fail - - @num_tx_rts_fail.setter - def num_tx_rts_fail(self, num_tx_rts_fail): - """Sets the num_tx_rts_fail of this RadioStatistics. - - The number of RTS frames failed transmission. # noqa: E501 - - :param num_tx_rts_fail: The num_tx_rts_fail of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_rts_fail = num_tx_rts_fail - - @property - def num_tx_cts(self): - """Gets the num_tx_cts of this RadioStatistics. # noqa: E501 - - The number of CTS frames sent. # noqa: E501 - - :return: The num_tx_cts of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_cts - - @num_tx_cts.setter - def num_tx_cts(self, num_tx_cts): - """Sets the num_tx_cts of this RadioStatistics. - - The number of CTS frames sent. # noqa: E501 - - :param num_tx_cts: The num_tx_cts of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_cts = num_tx_cts - - @property - def num_tx_no_ack(self): - """Gets the num_tx_no_ack of this RadioStatistics. # noqa: E501 - - The number of TX frames failed because of not Acked. # noqa: E501 - - :return: The num_tx_no_ack of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_no_ack - - @num_tx_no_ack.setter - def num_tx_no_ack(self, num_tx_no_ack): - """Sets the num_tx_no_ack of this RadioStatistics. - - The number of TX frames failed because of not Acked. # noqa: E501 - - :param num_tx_no_ack: The num_tx_no_ack of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_no_ack = num_tx_no_ack - - @property - def num_tx_eapol(self): - """Gets the num_tx_eapol of this RadioStatistics. # noqa: E501 - - The number of EAPOL frames sent. # noqa: E501 - - :return: The num_tx_eapol of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_eapol - - @num_tx_eapol.setter - def num_tx_eapol(self, num_tx_eapol): - """Sets the num_tx_eapol of this RadioStatistics. - - The number of EAPOL frames sent. # noqa: E501 - - :param num_tx_eapol: The num_tx_eapol of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_eapol = num_tx_eapol - - @property - def num_tx_ldpc(self): - """Gets the num_tx_ldpc of this RadioStatistics. # noqa: E501 - - The number of total LDPC frames sent. # noqa: E501 - - :return: The num_tx_ldpc of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ldpc - - @num_tx_ldpc.setter - def num_tx_ldpc(self, num_tx_ldpc): - """Sets the num_tx_ldpc of this RadioStatistics. - - The number of total LDPC frames sent. # noqa: E501 - - :param num_tx_ldpc: The num_tx_ldpc of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ldpc = num_tx_ldpc - - @property - def num_tx_stbc(self): - """Gets the num_tx_stbc of this RadioStatistics. # noqa: E501 - - The number of total STBC frames sent. # noqa: E501 - - :return: The num_tx_stbc of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_stbc - - @num_tx_stbc.setter - def num_tx_stbc(self, num_tx_stbc): - """Sets the num_tx_stbc of this RadioStatistics. - - The number of total STBC frames sent. # noqa: E501 - - :param num_tx_stbc: The num_tx_stbc of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_stbc = num_tx_stbc - - @property - def num_tx_aggr_succ(self): - """Gets the num_tx_aggr_succ of this RadioStatistics. # noqa: E501 - - The number of aggregation frames sent successfully. # noqa: E501 - - :return: The num_tx_aggr_succ of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_aggr_succ - - @num_tx_aggr_succ.setter - def num_tx_aggr_succ(self, num_tx_aggr_succ): - """Sets the num_tx_aggr_succ of this RadioStatistics. - - The number of aggregation frames sent successfully. # noqa: E501 - - :param num_tx_aggr_succ: The num_tx_aggr_succ of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_aggr_succ = num_tx_aggr_succ - - @property - def num_tx_aggr_one_mpdu(self): - """Gets the num_tx_aggr_one_mpdu of this RadioStatistics. # noqa: E501 - - The number of aggregation frames sent using single MPDU. # noqa: E501 - - :return: The num_tx_aggr_one_mpdu of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_aggr_one_mpdu - - @num_tx_aggr_one_mpdu.setter - def num_tx_aggr_one_mpdu(self, num_tx_aggr_one_mpdu): - """Sets the num_tx_aggr_one_mpdu of this RadioStatistics. - - The number of aggregation frames sent using single MPDU. # noqa: E501 - - :param num_tx_aggr_one_mpdu: The num_tx_aggr_one_mpdu of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_aggr_one_mpdu = num_tx_aggr_one_mpdu - - @property - def num_tx_rate_limit_drop(self): - """Gets the num_tx_rate_limit_drop of this RadioStatistics. # noqa: E501 - - The number of Tx frames dropped because of rate limit and burst exceeded. # noqa: E501 - - :return: The num_tx_rate_limit_drop of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_rate_limit_drop - - @num_tx_rate_limit_drop.setter - def num_tx_rate_limit_drop(self, num_tx_rate_limit_drop): - """Sets the num_tx_rate_limit_drop of this RadioStatistics. - - The number of Tx frames dropped because of rate limit and burst exceeded. # noqa: E501 - - :param num_tx_rate_limit_drop: The num_tx_rate_limit_drop of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_rate_limit_drop = num_tx_rate_limit_drop - - @property - def num_tx_retry_attemps(self): - """Gets the num_tx_retry_attemps of this RadioStatistics. # noqa: E501 - - The number of retry tx attempts that have been made # noqa: E501 - - :return: The num_tx_retry_attemps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_retry_attemps - - @num_tx_retry_attemps.setter - def num_tx_retry_attemps(self, num_tx_retry_attemps): - """Sets the num_tx_retry_attemps of this RadioStatistics. - - The number of retry tx attempts that have been made # noqa: E501 - - :param num_tx_retry_attemps: The num_tx_retry_attemps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_retry_attemps = num_tx_retry_attemps - - @property - def num_tx_total_attemps(self): - """Gets the num_tx_total_attemps of this RadioStatistics. # noqa: E501 - - The total number of tx attempts # noqa: E501 - - :return: The num_tx_total_attemps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_total_attemps - - @num_tx_total_attemps.setter - def num_tx_total_attemps(self, num_tx_total_attemps): - """Sets the num_tx_total_attemps of this RadioStatistics. - - The total number of tx attempts # noqa: E501 - - :param num_tx_total_attemps: The num_tx_total_attemps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_total_attemps = num_tx_total_attemps - - @property - def num_tx_data_frames_12_mbps(self): - """Gets the num_tx_data_frames_12_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_data_frames_12_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_data_frames_12_mbps - - @num_tx_data_frames_12_mbps.setter - def num_tx_data_frames_12_mbps(self, num_tx_data_frames_12_mbps): - """Sets the num_tx_data_frames_12_mbps of this RadioStatistics. - - - :param num_tx_data_frames_12_mbps: The num_tx_data_frames_12_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_data_frames_12_mbps = num_tx_data_frames_12_mbps - - @property - def num_tx_data_frames_54_mbps(self): - """Gets the num_tx_data_frames_54_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_data_frames_54_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_data_frames_54_mbps - - @num_tx_data_frames_54_mbps.setter - def num_tx_data_frames_54_mbps(self, num_tx_data_frames_54_mbps): - """Sets the num_tx_data_frames_54_mbps of this RadioStatistics. - - - :param num_tx_data_frames_54_mbps: The num_tx_data_frames_54_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_data_frames_54_mbps = num_tx_data_frames_54_mbps - - @property - def num_tx_data_frames_108_mbps(self): - """Gets the num_tx_data_frames_108_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_data_frames_108_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_data_frames_108_mbps - - @num_tx_data_frames_108_mbps.setter - def num_tx_data_frames_108_mbps(self, num_tx_data_frames_108_mbps): - """Sets the num_tx_data_frames_108_mbps of this RadioStatistics. - - - :param num_tx_data_frames_108_mbps: The num_tx_data_frames_108_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_data_frames_108_mbps = num_tx_data_frames_108_mbps - - @property - def num_tx_data_frames_300_mbps(self): - """Gets the num_tx_data_frames_300_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_data_frames_300_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_data_frames_300_mbps - - @num_tx_data_frames_300_mbps.setter - def num_tx_data_frames_300_mbps(self, num_tx_data_frames_300_mbps): - """Sets the num_tx_data_frames_300_mbps of this RadioStatistics. - - - :param num_tx_data_frames_300_mbps: The num_tx_data_frames_300_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_data_frames_300_mbps = num_tx_data_frames_300_mbps - - @property - def num_tx_data_frames_450_mbps(self): - """Gets the num_tx_data_frames_450_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_data_frames_450_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_data_frames_450_mbps - - @num_tx_data_frames_450_mbps.setter - def num_tx_data_frames_450_mbps(self, num_tx_data_frames_450_mbps): - """Sets the num_tx_data_frames_450_mbps of this RadioStatistics. - - - :param num_tx_data_frames_450_mbps: The num_tx_data_frames_450_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_data_frames_450_mbps = num_tx_data_frames_450_mbps - - @property - def num_tx_data_frames_1300_mbps(self): - """Gets the num_tx_data_frames_1300_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_data_frames_1300_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_data_frames_1300_mbps - - @num_tx_data_frames_1300_mbps.setter - def num_tx_data_frames_1300_mbps(self, num_tx_data_frames_1300_mbps): - """Sets the num_tx_data_frames_1300_mbps of this RadioStatistics. - - - :param num_tx_data_frames_1300_mbps: The num_tx_data_frames_1300_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_data_frames_1300_mbps = num_tx_data_frames_1300_mbps - - @property - def num_tx_data_frames_1300_plus_mbps(self): - """Gets the num_tx_data_frames_1300_plus_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_data_frames_1300_plus_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_data_frames_1300_plus_mbps - - @num_tx_data_frames_1300_plus_mbps.setter - def num_tx_data_frames_1300_plus_mbps(self, num_tx_data_frames_1300_plus_mbps): - """Sets the num_tx_data_frames_1300_plus_mbps of this RadioStatistics. - - - :param num_tx_data_frames_1300_plus_mbps: The num_tx_data_frames_1300_plus_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_data_frames_1300_plus_mbps = num_tx_data_frames_1300_plus_mbps - - @property - def num_rx_data_frames_12_mbps(self): - """Gets the num_rx_data_frames_12_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_data_frames_12_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_data_frames_12_mbps - - @num_rx_data_frames_12_mbps.setter - def num_rx_data_frames_12_mbps(self, num_rx_data_frames_12_mbps): - """Sets the num_rx_data_frames_12_mbps of this RadioStatistics. - - - :param num_rx_data_frames_12_mbps: The num_rx_data_frames_12_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_data_frames_12_mbps = num_rx_data_frames_12_mbps - - @property - def num_rx_data_frames_54_mbps(self): - """Gets the num_rx_data_frames_54_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_data_frames_54_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_data_frames_54_mbps - - @num_rx_data_frames_54_mbps.setter - def num_rx_data_frames_54_mbps(self, num_rx_data_frames_54_mbps): - """Sets the num_rx_data_frames_54_mbps of this RadioStatistics. - - - :param num_rx_data_frames_54_mbps: The num_rx_data_frames_54_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_data_frames_54_mbps = num_rx_data_frames_54_mbps - - @property - def num_rx_data_frames_108_mbps(self): - """Gets the num_rx_data_frames_108_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_data_frames_108_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_data_frames_108_mbps - - @num_rx_data_frames_108_mbps.setter - def num_rx_data_frames_108_mbps(self, num_rx_data_frames_108_mbps): - """Sets the num_rx_data_frames_108_mbps of this RadioStatistics. - - - :param num_rx_data_frames_108_mbps: The num_rx_data_frames_108_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_data_frames_108_mbps = num_rx_data_frames_108_mbps - - @property - def num_rx_data_frames_300_mbps(self): - """Gets the num_rx_data_frames_300_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_data_frames_300_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_data_frames_300_mbps - - @num_rx_data_frames_300_mbps.setter - def num_rx_data_frames_300_mbps(self, num_rx_data_frames_300_mbps): - """Sets the num_rx_data_frames_300_mbps of this RadioStatistics. - - - :param num_rx_data_frames_300_mbps: The num_rx_data_frames_300_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_data_frames_300_mbps = num_rx_data_frames_300_mbps - - @property - def num_rx_data_frames_450_mbps(self): - """Gets the num_rx_data_frames_450_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_data_frames_450_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_data_frames_450_mbps - - @num_rx_data_frames_450_mbps.setter - def num_rx_data_frames_450_mbps(self, num_rx_data_frames_450_mbps): - """Sets the num_rx_data_frames_450_mbps of this RadioStatistics. - - - :param num_rx_data_frames_450_mbps: The num_rx_data_frames_450_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_data_frames_450_mbps = num_rx_data_frames_450_mbps - - @property - def num_rx_data_frames_1300_mbps(self): - """Gets the num_rx_data_frames_1300_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_data_frames_1300_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_data_frames_1300_mbps - - @num_rx_data_frames_1300_mbps.setter - def num_rx_data_frames_1300_mbps(self, num_rx_data_frames_1300_mbps): - """Sets the num_rx_data_frames_1300_mbps of this RadioStatistics. - - - :param num_rx_data_frames_1300_mbps: The num_rx_data_frames_1300_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_data_frames_1300_mbps = num_rx_data_frames_1300_mbps - - @property - def num_rx_data_frames_1300_plus_mbps(self): - """Gets the num_rx_data_frames_1300_plus_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_data_frames_1300_plus_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_data_frames_1300_plus_mbps - - @num_rx_data_frames_1300_plus_mbps.setter - def num_rx_data_frames_1300_plus_mbps(self, num_rx_data_frames_1300_plus_mbps): - """Sets the num_rx_data_frames_1300_plus_mbps of this RadioStatistics. - - - :param num_rx_data_frames_1300_plus_mbps: The num_rx_data_frames_1300_plus_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_data_frames_1300_plus_mbps = num_rx_data_frames_1300_plus_mbps - - @property - def num_tx_time_frames_transmitted(self): - """Gets the num_tx_time_frames_transmitted of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_time_frames_transmitted of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_time_frames_transmitted - - @num_tx_time_frames_transmitted.setter - def num_tx_time_frames_transmitted(self, num_tx_time_frames_transmitted): - """Sets the num_tx_time_frames_transmitted of this RadioStatistics. - - - :param num_tx_time_frames_transmitted: The num_tx_time_frames_transmitted of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_time_frames_transmitted = num_tx_time_frames_transmitted - - @property - def num_rx_time_to_me(self): - """Gets the num_rx_time_to_me of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_time_to_me of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_time_to_me - - @num_rx_time_to_me.setter - def num_rx_time_to_me(self, num_rx_time_to_me): - """Sets the num_rx_time_to_me of this RadioStatistics. - - - :param num_rx_time_to_me: The num_rx_time_to_me of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_time_to_me = num_rx_time_to_me - - @property - def num_channel_busy64s(self): - """Gets the num_channel_busy64s of this RadioStatistics. # noqa: E501 - - - :return: The num_channel_busy64s of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_channel_busy64s - - @num_channel_busy64s.setter - def num_channel_busy64s(self, num_channel_busy64s): - """Sets the num_channel_busy64s of this RadioStatistics. - - - :param num_channel_busy64s: The num_channel_busy64s of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_channel_busy64s = num_channel_busy64s - - @property - def num_tx_time_data(self): - """Gets the num_tx_time_data of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_time_data of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_time_data - - @num_tx_time_data.setter - def num_tx_time_data(self, num_tx_time_data): - """Sets the num_tx_time_data of this RadioStatistics. - - - :param num_tx_time_data: The num_tx_time_data of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_time_data = num_tx_time_data - - @property - def num_tx_time_bc_mc_data(self): - """Gets the num_tx_time_bc_mc_data of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_time_bc_mc_data of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_time_bc_mc_data - - @num_tx_time_bc_mc_data.setter - def num_tx_time_bc_mc_data(self, num_tx_time_bc_mc_data): - """Sets the num_tx_time_bc_mc_data of this RadioStatistics. - - - :param num_tx_time_bc_mc_data: The num_tx_time_bc_mc_data of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_time_bc_mc_data = num_tx_time_bc_mc_data - - @property - def num_rx_time_data(self): - """Gets the num_rx_time_data of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_time_data of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_time_data - - @num_rx_time_data.setter - def num_rx_time_data(self, num_rx_time_data): - """Sets the num_rx_time_data of this RadioStatistics. - - - :param num_rx_time_data: The num_rx_time_data of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_time_data = num_rx_time_data - - @property - def num_tx_frames_transmitted(self): - """Gets the num_tx_frames_transmitted of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_frames_transmitted of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_frames_transmitted - - @num_tx_frames_transmitted.setter - def num_tx_frames_transmitted(self, num_tx_frames_transmitted): - """Sets the num_tx_frames_transmitted of this RadioStatistics. - - - :param num_tx_frames_transmitted: The num_tx_frames_transmitted of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_frames_transmitted = num_tx_frames_transmitted - - @property - def num_tx_success_with_retry(self): - """Gets the num_tx_success_with_retry of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_success_with_retry of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_success_with_retry - - @num_tx_success_with_retry.setter - def num_tx_success_with_retry(self, num_tx_success_with_retry): - """Sets the num_tx_success_with_retry of this RadioStatistics. - - - :param num_tx_success_with_retry: The num_tx_success_with_retry of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_success_with_retry = num_tx_success_with_retry - - @property - def num_tx_multiple_retries(self): - """Gets the num_tx_multiple_retries of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_multiple_retries of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_multiple_retries - - @num_tx_multiple_retries.setter - def num_tx_multiple_retries(self, num_tx_multiple_retries): - """Sets the num_tx_multiple_retries of this RadioStatistics. - - - :param num_tx_multiple_retries: The num_tx_multiple_retries of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_multiple_retries = num_tx_multiple_retries - - @property - def num_tx_data_transmitted_retried(self): - """Gets the num_tx_data_transmitted_retried of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_data_transmitted_retried of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_data_transmitted_retried - - @num_tx_data_transmitted_retried.setter - def num_tx_data_transmitted_retried(self, num_tx_data_transmitted_retried): - """Sets the num_tx_data_transmitted_retried of this RadioStatistics. - - - :param num_tx_data_transmitted_retried: The num_tx_data_transmitted_retried of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_data_transmitted_retried = num_tx_data_transmitted_retried - - @property - def num_tx_data_transmitted(self): - """Gets the num_tx_data_transmitted of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_data_transmitted of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_data_transmitted - - @num_tx_data_transmitted.setter - def num_tx_data_transmitted(self, num_tx_data_transmitted): - """Sets the num_tx_data_transmitted of this RadioStatistics. - - - :param num_tx_data_transmitted: The num_tx_data_transmitted of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_data_transmitted = num_tx_data_transmitted - - @property - def num_tx_data_frames(self): - """Gets the num_tx_data_frames of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_data_frames of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_data_frames - - @num_tx_data_frames.setter - def num_tx_data_frames(self, num_tx_data_frames): - """Sets the num_tx_data_frames of this RadioStatistics. - - - :param num_tx_data_frames: The num_tx_data_frames of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_data_frames = num_tx_data_frames - - @property - def num_rx_frames_received(self): - """Gets the num_rx_frames_received of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_frames_received of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_frames_received - - @num_rx_frames_received.setter - def num_rx_frames_received(self, num_rx_frames_received): - """Sets the num_rx_frames_received of this RadioStatistics. - - - :param num_rx_frames_received: The num_rx_frames_received of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_frames_received = num_rx_frames_received - - @property - def num_rx_retry_frames(self): - """Gets the num_rx_retry_frames of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_retry_frames of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_retry_frames - - @num_rx_retry_frames.setter - def num_rx_retry_frames(self, num_rx_retry_frames): - """Sets the num_rx_retry_frames of this RadioStatistics. - - - :param num_rx_retry_frames: The num_rx_retry_frames of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_retry_frames = num_rx_retry_frames - - @property - def num_rx_data_frames_retried(self): - """Gets the num_rx_data_frames_retried of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_data_frames_retried of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_data_frames_retried - - @num_rx_data_frames_retried.setter - def num_rx_data_frames_retried(self, num_rx_data_frames_retried): - """Sets the num_rx_data_frames_retried of this RadioStatistics. - - - :param num_rx_data_frames_retried: The num_rx_data_frames_retried of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_data_frames_retried = num_rx_data_frames_retried - - @property - def num_rx_data_frames(self): - """Gets the num_rx_data_frames of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_data_frames of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_data_frames - - @num_rx_data_frames.setter - def num_rx_data_frames(self, num_rx_data_frames): - """Sets the num_rx_data_frames of this RadioStatistics. - - - :param num_rx_data_frames: The num_rx_data_frames of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_data_frames = num_rx_data_frames - - @property - def num_tx_1_mbps(self): - """Gets the num_tx_1_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_1_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_1_mbps - - @num_tx_1_mbps.setter - def num_tx_1_mbps(self, num_tx_1_mbps): - """Sets the num_tx_1_mbps of this RadioStatistics. - - - :param num_tx_1_mbps: The num_tx_1_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_1_mbps = num_tx_1_mbps - - @property - def num_tx_6_mbps(self): - """Gets the num_tx_6_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_6_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_6_mbps - - @num_tx_6_mbps.setter - def num_tx_6_mbps(self, num_tx_6_mbps): - """Sets the num_tx_6_mbps of this RadioStatistics. - - - :param num_tx_6_mbps: The num_tx_6_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_6_mbps = num_tx_6_mbps - - @property - def num_tx_9_mbps(self): - """Gets the num_tx_9_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_9_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_9_mbps - - @num_tx_9_mbps.setter - def num_tx_9_mbps(self, num_tx_9_mbps): - """Sets the num_tx_9_mbps of this RadioStatistics. - - - :param num_tx_9_mbps: The num_tx_9_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_9_mbps = num_tx_9_mbps - - @property - def num_tx_12_mbps(self): - """Gets the num_tx_12_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_12_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_12_mbps - - @num_tx_12_mbps.setter - def num_tx_12_mbps(self, num_tx_12_mbps): - """Sets the num_tx_12_mbps of this RadioStatistics. - - - :param num_tx_12_mbps: The num_tx_12_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_12_mbps = num_tx_12_mbps - - @property - def num_tx_18_mbps(self): - """Gets the num_tx_18_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_18_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_18_mbps - - @num_tx_18_mbps.setter - def num_tx_18_mbps(self, num_tx_18_mbps): - """Sets the num_tx_18_mbps of this RadioStatistics. - - - :param num_tx_18_mbps: The num_tx_18_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_18_mbps = num_tx_18_mbps - - @property - def num_tx_24_mbps(self): - """Gets the num_tx_24_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_24_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_24_mbps - - @num_tx_24_mbps.setter - def num_tx_24_mbps(self, num_tx_24_mbps): - """Sets the num_tx_24_mbps of this RadioStatistics. - - - :param num_tx_24_mbps: The num_tx_24_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_24_mbps = num_tx_24_mbps - - @property - def num_tx_36_mbps(self): - """Gets the num_tx_36_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_36_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_36_mbps - - @num_tx_36_mbps.setter - def num_tx_36_mbps(self, num_tx_36_mbps): - """Sets the num_tx_36_mbps of this RadioStatistics. - - - :param num_tx_36_mbps: The num_tx_36_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_36_mbps = num_tx_36_mbps - - @property - def num_tx_48_mbps(self): - """Gets the num_tx_48_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_48_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_48_mbps - - @num_tx_48_mbps.setter - def num_tx_48_mbps(self, num_tx_48_mbps): - """Sets the num_tx_48_mbps of this RadioStatistics. - - - :param num_tx_48_mbps: The num_tx_48_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_48_mbps = num_tx_48_mbps - - @property - def num_tx_54_mbps(self): - """Gets the num_tx_54_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_54_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_54_mbps - - @num_tx_54_mbps.setter - def num_tx_54_mbps(self, num_tx_54_mbps): - """Sets the num_tx_54_mbps of this RadioStatistics. - - - :param num_tx_54_mbps: The num_tx_54_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_54_mbps = num_tx_54_mbps - - @property - def num_rx_1_mbps(self): - """Gets the num_rx_1_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_1_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_1_mbps - - @num_rx_1_mbps.setter - def num_rx_1_mbps(self, num_rx_1_mbps): - """Sets the num_rx_1_mbps of this RadioStatistics. - - - :param num_rx_1_mbps: The num_rx_1_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_1_mbps = num_rx_1_mbps - - @property - def num_rx_6_mbps(self): - """Gets the num_rx_6_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_6_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_6_mbps - - @num_rx_6_mbps.setter - def num_rx_6_mbps(self, num_rx_6_mbps): - """Sets the num_rx_6_mbps of this RadioStatistics. - - - :param num_rx_6_mbps: The num_rx_6_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_6_mbps = num_rx_6_mbps - - @property - def num_rx_9_mbps(self): - """Gets the num_rx_9_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_9_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_9_mbps - - @num_rx_9_mbps.setter - def num_rx_9_mbps(self, num_rx_9_mbps): - """Sets the num_rx_9_mbps of this RadioStatistics. - - - :param num_rx_9_mbps: The num_rx_9_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_9_mbps = num_rx_9_mbps - - @property - def num_rx_12_mbps(self): - """Gets the num_rx_12_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_12_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_12_mbps - - @num_rx_12_mbps.setter - def num_rx_12_mbps(self, num_rx_12_mbps): - """Sets the num_rx_12_mbps of this RadioStatistics. - - - :param num_rx_12_mbps: The num_rx_12_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_12_mbps = num_rx_12_mbps - - @property - def num_rx_18_mbps(self): - """Gets the num_rx_18_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_18_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_18_mbps - - @num_rx_18_mbps.setter - def num_rx_18_mbps(self, num_rx_18_mbps): - """Sets the num_rx_18_mbps of this RadioStatistics. - - - :param num_rx_18_mbps: The num_rx_18_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_18_mbps = num_rx_18_mbps - - @property - def num_rx_24_mbps(self): - """Gets the num_rx_24_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_24_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_24_mbps - - @num_rx_24_mbps.setter - def num_rx_24_mbps(self, num_rx_24_mbps): - """Sets the num_rx_24_mbps of this RadioStatistics. - - - :param num_rx_24_mbps: The num_rx_24_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_24_mbps = num_rx_24_mbps - - @property - def num_rx_36_mbps(self): - """Gets the num_rx_36_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_36_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_36_mbps - - @num_rx_36_mbps.setter - def num_rx_36_mbps(self, num_rx_36_mbps): - """Sets the num_rx_36_mbps of this RadioStatistics. - - - :param num_rx_36_mbps: The num_rx_36_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_36_mbps = num_rx_36_mbps - - @property - def num_rx_48_mbps(self): - """Gets the num_rx_48_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_48_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_48_mbps - - @num_rx_48_mbps.setter - def num_rx_48_mbps(self, num_rx_48_mbps): - """Sets the num_rx_48_mbps of this RadioStatistics. - - - :param num_rx_48_mbps: The num_rx_48_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_48_mbps = num_rx_48_mbps - - @property - def num_rx_54_mbps(self): - """Gets the num_rx_54_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_54_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_54_mbps - - @num_rx_54_mbps.setter - def num_rx_54_mbps(self, num_rx_54_mbps): - """Sets the num_rx_54_mbps of this RadioStatistics. - - - :param num_rx_54_mbps: The num_rx_54_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_54_mbps = num_rx_54_mbps - - @property - def num_tx_ht_6_5_mbps(self): - """Gets the num_tx_ht_6_5_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_6_5_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_6_5_mbps - - @num_tx_ht_6_5_mbps.setter - def num_tx_ht_6_5_mbps(self, num_tx_ht_6_5_mbps): - """Sets the num_tx_ht_6_5_mbps of this RadioStatistics. - - - :param num_tx_ht_6_5_mbps: The num_tx_ht_6_5_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_6_5_mbps = num_tx_ht_6_5_mbps - - @property - def num_tx_ht_7_1_mbps(self): - """Gets the num_tx_ht_7_1_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_7_1_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_7_1_mbps - - @num_tx_ht_7_1_mbps.setter - def num_tx_ht_7_1_mbps(self, num_tx_ht_7_1_mbps): - """Sets the num_tx_ht_7_1_mbps of this RadioStatistics. - - - :param num_tx_ht_7_1_mbps: The num_tx_ht_7_1_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_7_1_mbps = num_tx_ht_7_1_mbps - - @property - def num_tx_ht_13_mbps(self): - """Gets the num_tx_ht_13_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_13_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_13_mbps - - @num_tx_ht_13_mbps.setter - def num_tx_ht_13_mbps(self, num_tx_ht_13_mbps): - """Sets the num_tx_ht_13_mbps of this RadioStatistics. - - - :param num_tx_ht_13_mbps: The num_tx_ht_13_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_13_mbps = num_tx_ht_13_mbps - - @property - def num_tx_ht_13_5_mbps(self): - """Gets the num_tx_ht_13_5_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_13_5_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_13_5_mbps - - @num_tx_ht_13_5_mbps.setter - def num_tx_ht_13_5_mbps(self, num_tx_ht_13_5_mbps): - """Sets the num_tx_ht_13_5_mbps of this RadioStatistics. - - - :param num_tx_ht_13_5_mbps: The num_tx_ht_13_5_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_13_5_mbps = num_tx_ht_13_5_mbps - - @property - def num_tx_ht_14_3_mbps(self): - """Gets the num_tx_ht_14_3_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_14_3_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_14_3_mbps - - @num_tx_ht_14_3_mbps.setter - def num_tx_ht_14_3_mbps(self, num_tx_ht_14_3_mbps): - """Sets the num_tx_ht_14_3_mbps of this RadioStatistics. - - - :param num_tx_ht_14_3_mbps: The num_tx_ht_14_3_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_14_3_mbps = num_tx_ht_14_3_mbps - - @property - def num_tx_ht_15_mbps(self): - """Gets the num_tx_ht_15_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_15_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_15_mbps - - @num_tx_ht_15_mbps.setter - def num_tx_ht_15_mbps(self, num_tx_ht_15_mbps): - """Sets the num_tx_ht_15_mbps of this RadioStatistics. - - - :param num_tx_ht_15_mbps: The num_tx_ht_15_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_15_mbps = num_tx_ht_15_mbps - - @property - def num_tx_ht_19_5_mbps(self): - """Gets the num_tx_ht_19_5_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_19_5_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_19_5_mbps - - @num_tx_ht_19_5_mbps.setter - def num_tx_ht_19_5_mbps(self, num_tx_ht_19_5_mbps): - """Sets the num_tx_ht_19_5_mbps of this RadioStatistics. - - - :param num_tx_ht_19_5_mbps: The num_tx_ht_19_5_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_19_5_mbps = num_tx_ht_19_5_mbps - - @property - def num_tx_ht_21_7_mbps(self): - """Gets the num_tx_ht_21_7_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_21_7_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_21_7_mbps - - @num_tx_ht_21_7_mbps.setter - def num_tx_ht_21_7_mbps(self, num_tx_ht_21_7_mbps): - """Sets the num_tx_ht_21_7_mbps of this RadioStatistics. - - - :param num_tx_ht_21_7_mbps: The num_tx_ht_21_7_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_21_7_mbps = num_tx_ht_21_7_mbps - - @property - def num_tx_ht_26_mbps(self): - """Gets the num_tx_ht_26_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_26_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_26_mbps - - @num_tx_ht_26_mbps.setter - def num_tx_ht_26_mbps(self, num_tx_ht_26_mbps): - """Sets the num_tx_ht_26_mbps of this RadioStatistics. - - - :param num_tx_ht_26_mbps: The num_tx_ht_26_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_26_mbps = num_tx_ht_26_mbps - - @property - def num_tx_ht_27_mbps(self): - """Gets the num_tx_ht_27_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_27_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_27_mbps - - @num_tx_ht_27_mbps.setter - def num_tx_ht_27_mbps(self, num_tx_ht_27_mbps): - """Sets the num_tx_ht_27_mbps of this RadioStatistics. - - - :param num_tx_ht_27_mbps: The num_tx_ht_27_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_27_mbps = num_tx_ht_27_mbps - - @property - def num_tx_ht_28_7_mbps(self): - """Gets the num_tx_ht_28_7_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_28_7_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_28_7_mbps - - @num_tx_ht_28_7_mbps.setter - def num_tx_ht_28_7_mbps(self, num_tx_ht_28_7_mbps): - """Sets the num_tx_ht_28_7_mbps of this RadioStatistics. - - - :param num_tx_ht_28_7_mbps: The num_tx_ht_28_7_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_28_7_mbps = num_tx_ht_28_7_mbps - - @property - def num_tx_ht_28_8_mbps(self): - """Gets the num_tx_ht_28_8_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_28_8_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_28_8_mbps - - @num_tx_ht_28_8_mbps.setter - def num_tx_ht_28_8_mbps(self, num_tx_ht_28_8_mbps): - """Sets the num_tx_ht_28_8_mbps of this RadioStatistics. - - - :param num_tx_ht_28_8_mbps: The num_tx_ht_28_8_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_28_8_mbps = num_tx_ht_28_8_mbps - - @property - def num_tx_ht_29_2_mbps(self): - """Gets the num_tx_ht_29_2_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_29_2_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_29_2_mbps - - @num_tx_ht_29_2_mbps.setter - def num_tx_ht_29_2_mbps(self, num_tx_ht_29_2_mbps): - """Sets the num_tx_ht_29_2_mbps of this RadioStatistics. - - - :param num_tx_ht_29_2_mbps: The num_tx_ht_29_2_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_29_2_mbps = num_tx_ht_29_2_mbps - - @property - def num_tx_ht_30_mbps(self): - """Gets the num_tx_ht_30_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_30_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_30_mbps - - @num_tx_ht_30_mbps.setter - def num_tx_ht_30_mbps(self, num_tx_ht_30_mbps): - """Sets the num_tx_ht_30_mbps of this RadioStatistics. - - - :param num_tx_ht_30_mbps: The num_tx_ht_30_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_30_mbps = num_tx_ht_30_mbps - - @property - def num_tx_ht_32_5_mbps(self): - """Gets the num_tx_ht_32_5_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_32_5_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_32_5_mbps - - @num_tx_ht_32_5_mbps.setter - def num_tx_ht_32_5_mbps(self, num_tx_ht_32_5_mbps): - """Sets the num_tx_ht_32_5_mbps of this RadioStatistics. - - - :param num_tx_ht_32_5_mbps: The num_tx_ht_32_5_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_32_5_mbps = num_tx_ht_32_5_mbps - - @property - def num_tx_ht_39_mbps(self): - """Gets the num_tx_ht_39_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_39_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_39_mbps - - @num_tx_ht_39_mbps.setter - def num_tx_ht_39_mbps(self, num_tx_ht_39_mbps): - """Sets the num_tx_ht_39_mbps of this RadioStatistics. - - - :param num_tx_ht_39_mbps: The num_tx_ht_39_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_39_mbps = num_tx_ht_39_mbps - - @property - def num_tx_ht_40_5_mbps(self): - """Gets the num_tx_ht_40_5_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_40_5_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_40_5_mbps - - @num_tx_ht_40_5_mbps.setter - def num_tx_ht_40_5_mbps(self, num_tx_ht_40_5_mbps): - """Sets the num_tx_ht_40_5_mbps of this RadioStatistics. - - - :param num_tx_ht_40_5_mbps: The num_tx_ht_40_5_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_40_5_mbps = num_tx_ht_40_5_mbps - - @property - def num_tx_ht_43_2_mbps(self): - """Gets the num_tx_ht_43_2_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_43_2_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_43_2_mbps - - @num_tx_ht_43_2_mbps.setter - def num_tx_ht_43_2_mbps(self, num_tx_ht_43_2_mbps): - """Sets the num_tx_ht_43_2_mbps of this RadioStatistics. - - - :param num_tx_ht_43_2_mbps: The num_tx_ht_43_2_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_43_2_mbps = num_tx_ht_43_2_mbps - - @property - def num_tx_ht_45_mbps(self): - """Gets the num_tx_ht_45_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_45_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_45_mbps - - @num_tx_ht_45_mbps.setter - def num_tx_ht_45_mbps(self, num_tx_ht_45_mbps): - """Sets the num_tx_ht_45_mbps of this RadioStatistics. - - - :param num_tx_ht_45_mbps: The num_tx_ht_45_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_45_mbps = num_tx_ht_45_mbps - - @property - def num_tx_ht_52_mbps(self): - """Gets the num_tx_ht_52_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_52_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_52_mbps - - @num_tx_ht_52_mbps.setter - def num_tx_ht_52_mbps(self, num_tx_ht_52_mbps): - """Sets the num_tx_ht_52_mbps of this RadioStatistics. - - - :param num_tx_ht_52_mbps: The num_tx_ht_52_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_52_mbps = num_tx_ht_52_mbps - - @property - def num_tx_ht_54_mbps(self): - """Gets the num_tx_ht_54_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_54_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_54_mbps - - @num_tx_ht_54_mbps.setter - def num_tx_ht_54_mbps(self, num_tx_ht_54_mbps): - """Sets the num_tx_ht_54_mbps of this RadioStatistics. - - - :param num_tx_ht_54_mbps: The num_tx_ht_54_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_54_mbps = num_tx_ht_54_mbps - - @property - def num_tx_ht_57_5_mbps(self): - """Gets the num_tx_ht_57_5_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_57_5_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_57_5_mbps - - @num_tx_ht_57_5_mbps.setter - def num_tx_ht_57_5_mbps(self, num_tx_ht_57_5_mbps): - """Sets the num_tx_ht_57_5_mbps of this RadioStatistics. - - - :param num_tx_ht_57_5_mbps: The num_tx_ht_57_5_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_57_5_mbps = num_tx_ht_57_5_mbps - - @property - def num_tx_ht_57_7_mbps(self): - """Gets the num_tx_ht_57_7_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_57_7_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_57_7_mbps - - @num_tx_ht_57_7_mbps.setter - def num_tx_ht_57_7_mbps(self, num_tx_ht_57_7_mbps): - """Sets the num_tx_ht_57_7_mbps of this RadioStatistics. - - - :param num_tx_ht_57_7_mbps: The num_tx_ht_57_7_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_57_7_mbps = num_tx_ht_57_7_mbps - - @property - def num_tx_ht_58_5_mbps(self): - """Gets the num_tx_ht_58_5_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_58_5_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_58_5_mbps - - @num_tx_ht_58_5_mbps.setter - def num_tx_ht_58_5_mbps(self, num_tx_ht_58_5_mbps): - """Sets the num_tx_ht_58_5_mbps of this RadioStatistics. - - - :param num_tx_ht_58_5_mbps: The num_tx_ht_58_5_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_58_5_mbps = num_tx_ht_58_5_mbps - - @property - def num_tx_ht_60_mbps(self): - """Gets the num_tx_ht_60_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_60_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_60_mbps - - @num_tx_ht_60_mbps.setter - def num_tx_ht_60_mbps(self, num_tx_ht_60_mbps): - """Sets the num_tx_ht_60_mbps of this RadioStatistics. - - - :param num_tx_ht_60_mbps: The num_tx_ht_60_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_60_mbps = num_tx_ht_60_mbps - - @property - def num_tx_ht_65_mbps(self): - """Gets the num_tx_ht_65_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_65_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_65_mbps - - @num_tx_ht_65_mbps.setter - def num_tx_ht_65_mbps(self, num_tx_ht_65_mbps): - """Sets the num_tx_ht_65_mbps of this RadioStatistics. - - - :param num_tx_ht_65_mbps: The num_tx_ht_65_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_65_mbps = num_tx_ht_65_mbps - - @property - def num_tx_ht_72_1_mbps(self): - """Gets the num_tx_ht_72_1_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_72_1_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_72_1_mbps - - @num_tx_ht_72_1_mbps.setter - def num_tx_ht_72_1_mbps(self, num_tx_ht_72_1_mbps): - """Sets the num_tx_ht_72_1_mbps of this RadioStatistics. - - - :param num_tx_ht_72_1_mbps: The num_tx_ht_72_1_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_72_1_mbps = num_tx_ht_72_1_mbps - - @property - def num_tx_ht_78_mbps(self): - """Gets the num_tx_ht_78_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_78_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_78_mbps - - @num_tx_ht_78_mbps.setter - def num_tx_ht_78_mbps(self, num_tx_ht_78_mbps): - """Sets the num_tx_ht_78_mbps of this RadioStatistics. - - - :param num_tx_ht_78_mbps: The num_tx_ht_78_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_78_mbps = num_tx_ht_78_mbps - - @property - def num_tx_ht_81_mbps(self): - """Gets the num_tx_ht_81_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_81_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_81_mbps - - @num_tx_ht_81_mbps.setter - def num_tx_ht_81_mbps(self, num_tx_ht_81_mbps): - """Sets the num_tx_ht_81_mbps of this RadioStatistics. - - - :param num_tx_ht_81_mbps: The num_tx_ht_81_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_81_mbps = num_tx_ht_81_mbps - - @property - def num_tx_ht_86_6_mbps(self): - """Gets the num_tx_ht_86_6_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_86_6_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_86_6_mbps - - @num_tx_ht_86_6_mbps.setter - def num_tx_ht_86_6_mbps(self, num_tx_ht_86_6_mbps): - """Sets the num_tx_ht_86_6_mbps of this RadioStatistics. - - - :param num_tx_ht_86_6_mbps: The num_tx_ht_86_6_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_86_6_mbps = num_tx_ht_86_6_mbps - - @property - def num_tx_ht_86_8_mbps(self): - """Gets the num_tx_ht_86_8_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_86_8_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_86_8_mbps - - @num_tx_ht_86_8_mbps.setter - def num_tx_ht_86_8_mbps(self, num_tx_ht_86_8_mbps): - """Sets the num_tx_ht_86_8_mbps of this RadioStatistics. - - - :param num_tx_ht_86_8_mbps: The num_tx_ht_86_8_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_86_8_mbps = num_tx_ht_86_8_mbps - - @property - def num_tx_ht_87_8_mbps(self): - """Gets the num_tx_ht_87_8_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_87_8_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_87_8_mbps - - @num_tx_ht_87_8_mbps.setter - def num_tx_ht_87_8_mbps(self, num_tx_ht_87_8_mbps): - """Sets the num_tx_ht_87_8_mbps of this RadioStatistics. - - - :param num_tx_ht_87_8_mbps: The num_tx_ht_87_8_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_87_8_mbps = num_tx_ht_87_8_mbps - - @property - def num_tx_ht_90_mbps(self): - """Gets the num_tx_ht_90_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_90_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_90_mbps - - @num_tx_ht_90_mbps.setter - def num_tx_ht_90_mbps(self, num_tx_ht_90_mbps): - """Sets the num_tx_ht_90_mbps of this RadioStatistics. - - - :param num_tx_ht_90_mbps: The num_tx_ht_90_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_90_mbps = num_tx_ht_90_mbps - - @property - def num_tx_ht_97_5_mbps(self): - """Gets the num_tx_ht_97_5_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_97_5_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_97_5_mbps - - @num_tx_ht_97_5_mbps.setter - def num_tx_ht_97_5_mbps(self, num_tx_ht_97_5_mbps): - """Sets the num_tx_ht_97_5_mbps of this RadioStatistics. - - - :param num_tx_ht_97_5_mbps: The num_tx_ht_97_5_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_97_5_mbps = num_tx_ht_97_5_mbps - - @property - def num_tx_ht_104_mbps(self): - """Gets the num_tx_ht_104_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_104_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_104_mbps - - @num_tx_ht_104_mbps.setter - def num_tx_ht_104_mbps(self, num_tx_ht_104_mbps): - """Sets the num_tx_ht_104_mbps of this RadioStatistics. - - - :param num_tx_ht_104_mbps: The num_tx_ht_104_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_104_mbps = num_tx_ht_104_mbps - - @property - def num_tx_ht_108_mbps(self): - """Gets the num_tx_ht_108_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_108_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_108_mbps - - @num_tx_ht_108_mbps.setter - def num_tx_ht_108_mbps(self, num_tx_ht_108_mbps): - """Sets the num_tx_ht_108_mbps of this RadioStatistics. - - - :param num_tx_ht_108_mbps: The num_tx_ht_108_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_108_mbps = num_tx_ht_108_mbps - - @property - def num_tx_ht_115_5_mbps(self): - """Gets the num_tx_ht_115_5_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_115_5_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_115_5_mbps - - @num_tx_ht_115_5_mbps.setter - def num_tx_ht_115_5_mbps(self, num_tx_ht_115_5_mbps): - """Sets the num_tx_ht_115_5_mbps of this RadioStatistics. - - - :param num_tx_ht_115_5_mbps: The num_tx_ht_115_5_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_115_5_mbps = num_tx_ht_115_5_mbps - - @property - def num_tx_ht_117_mbps(self): - """Gets the num_tx_ht_117_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_117_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_117_mbps - - @num_tx_ht_117_mbps.setter - def num_tx_ht_117_mbps(self, num_tx_ht_117_mbps): - """Sets the num_tx_ht_117_mbps of this RadioStatistics. - - - :param num_tx_ht_117_mbps: The num_tx_ht_117_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_117_mbps = num_tx_ht_117_mbps - - @property - def num_tx_ht_117_1_mbps(self): - """Gets the num_tx_ht_117_1_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_117_1_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_117_1_mbps - - @num_tx_ht_117_1_mbps.setter - def num_tx_ht_117_1_mbps(self, num_tx_ht_117_1_mbps): - """Sets the num_tx_ht_117_1_mbps of this RadioStatistics. - - - :param num_tx_ht_117_1_mbps: The num_tx_ht_117_1_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_117_1_mbps = num_tx_ht_117_1_mbps - - @property - def num_tx_ht_120_mbps(self): - """Gets the num_tx_ht_120_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_120_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_120_mbps - - @num_tx_ht_120_mbps.setter - def num_tx_ht_120_mbps(self, num_tx_ht_120_mbps): - """Sets the num_tx_ht_120_mbps of this RadioStatistics. - - - :param num_tx_ht_120_mbps: The num_tx_ht_120_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_120_mbps = num_tx_ht_120_mbps - - @property - def num_tx_ht_121_5_mbps(self): - """Gets the num_tx_ht_121_5_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_121_5_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_121_5_mbps - - @num_tx_ht_121_5_mbps.setter - def num_tx_ht_121_5_mbps(self, num_tx_ht_121_5_mbps): - """Sets the num_tx_ht_121_5_mbps of this RadioStatistics. - - - :param num_tx_ht_121_5_mbps: The num_tx_ht_121_5_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_121_5_mbps = num_tx_ht_121_5_mbps - - @property - def num_tx_ht_130_mbps(self): - """Gets the num_tx_ht_130_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_130_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_130_mbps - - @num_tx_ht_130_mbps.setter - def num_tx_ht_130_mbps(self, num_tx_ht_130_mbps): - """Sets the num_tx_ht_130_mbps of this RadioStatistics. - - - :param num_tx_ht_130_mbps: The num_tx_ht_130_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_130_mbps = num_tx_ht_130_mbps - - @property - def num_tx_ht_130_3_mbps(self): - """Gets the num_tx_ht_130_3_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_130_3_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_130_3_mbps - - @num_tx_ht_130_3_mbps.setter - def num_tx_ht_130_3_mbps(self, num_tx_ht_130_3_mbps): - """Sets the num_tx_ht_130_3_mbps of this RadioStatistics. - - - :param num_tx_ht_130_3_mbps: The num_tx_ht_130_3_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_130_3_mbps = num_tx_ht_130_3_mbps - - @property - def num_tx_ht_135_mbps(self): - """Gets the num_tx_ht_135_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_135_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_135_mbps - - @num_tx_ht_135_mbps.setter - def num_tx_ht_135_mbps(self, num_tx_ht_135_mbps): - """Sets the num_tx_ht_135_mbps of this RadioStatistics. - - - :param num_tx_ht_135_mbps: The num_tx_ht_135_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_135_mbps = num_tx_ht_135_mbps - - @property - def num_tx_ht_144_3_mbps(self): - """Gets the num_tx_ht_144_3_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_144_3_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_144_3_mbps - - @num_tx_ht_144_3_mbps.setter - def num_tx_ht_144_3_mbps(self, num_tx_ht_144_3_mbps): - """Sets the num_tx_ht_144_3_mbps of this RadioStatistics. - - - :param num_tx_ht_144_3_mbps: The num_tx_ht_144_3_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_144_3_mbps = num_tx_ht_144_3_mbps - - @property - def num_tx_ht_150_mbps(self): - """Gets the num_tx_ht_150_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_150_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_150_mbps - - @num_tx_ht_150_mbps.setter - def num_tx_ht_150_mbps(self, num_tx_ht_150_mbps): - """Sets the num_tx_ht_150_mbps of this RadioStatistics. - - - :param num_tx_ht_150_mbps: The num_tx_ht_150_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_150_mbps = num_tx_ht_150_mbps - - @property - def num_tx_ht_156_mbps(self): - """Gets the num_tx_ht_156_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_156_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_156_mbps - - @num_tx_ht_156_mbps.setter - def num_tx_ht_156_mbps(self, num_tx_ht_156_mbps): - """Sets the num_tx_ht_156_mbps of this RadioStatistics. - - - :param num_tx_ht_156_mbps: The num_tx_ht_156_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_156_mbps = num_tx_ht_156_mbps - - @property - def num_tx_ht_162_mbps(self): - """Gets the num_tx_ht_162_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_162_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_162_mbps - - @num_tx_ht_162_mbps.setter - def num_tx_ht_162_mbps(self, num_tx_ht_162_mbps): - """Sets the num_tx_ht_162_mbps of this RadioStatistics. - - - :param num_tx_ht_162_mbps: The num_tx_ht_162_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_162_mbps = num_tx_ht_162_mbps - - @property - def num_tx_ht_173_1_mbps(self): - """Gets the num_tx_ht_173_1_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_173_1_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_173_1_mbps - - @num_tx_ht_173_1_mbps.setter - def num_tx_ht_173_1_mbps(self, num_tx_ht_173_1_mbps): - """Sets the num_tx_ht_173_1_mbps of this RadioStatistics. - - - :param num_tx_ht_173_1_mbps: The num_tx_ht_173_1_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_173_1_mbps = num_tx_ht_173_1_mbps - - @property - def num_tx_ht_173_3_mbps(self): - """Gets the num_tx_ht_173_3_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_173_3_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_173_3_mbps - - @num_tx_ht_173_3_mbps.setter - def num_tx_ht_173_3_mbps(self, num_tx_ht_173_3_mbps): - """Sets the num_tx_ht_173_3_mbps of this RadioStatistics. - - - :param num_tx_ht_173_3_mbps: The num_tx_ht_173_3_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_173_3_mbps = num_tx_ht_173_3_mbps - - @property - def num_tx_ht_175_5_mbps(self): - """Gets the num_tx_ht_175_5_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_175_5_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_175_5_mbps - - @num_tx_ht_175_5_mbps.setter - def num_tx_ht_175_5_mbps(self, num_tx_ht_175_5_mbps): - """Sets the num_tx_ht_175_5_mbps of this RadioStatistics. - - - :param num_tx_ht_175_5_mbps: The num_tx_ht_175_5_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_175_5_mbps = num_tx_ht_175_5_mbps - - @property - def num_tx_ht_180_mbps(self): - """Gets the num_tx_ht_180_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_180_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_180_mbps - - @num_tx_ht_180_mbps.setter - def num_tx_ht_180_mbps(self, num_tx_ht_180_mbps): - """Sets the num_tx_ht_180_mbps of this RadioStatistics. - - - :param num_tx_ht_180_mbps: The num_tx_ht_180_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_180_mbps = num_tx_ht_180_mbps - - @property - def num_tx_ht_195_mbps(self): - """Gets the num_tx_ht_195_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_195_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_195_mbps - - @num_tx_ht_195_mbps.setter - def num_tx_ht_195_mbps(self, num_tx_ht_195_mbps): - """Sets the num_tx_ht_195_mbps of this RadioStatistics. - - - :param num_tx_ht_195_mbps: The num_tx_ht_195_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_195_mbps = num_tx_ht_195_mbps - - @property - def num_tx_ht_200_mbps(self): - """Gets the num_tx_ht_200_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_200_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_200_mbps - - @num_tx_ht_200_mbps.setter - def num_tx_ht_200_mbps(self, num_tx_ht_200_mbps): - """Sets the num_tx_ht_200_mbps of this RadioStatistics. - - - :param num_tx_ht_200_mbps: The num_tx_ht_200_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_200_mbps = num_tx_ht_200_mbps - - @property - def num_tx_ht_208_mbps(self): - """Gets the num_tx_ht_208_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_208_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_208_mbps - - @num_tx_ht_208_mbps.setter - def num_tx_ht_208_mbps(self, num_tx_ht_208_mbps): - """Sets the num_tx_ht_208_mbps of this RadioStatistics. - - - :param num_tx_ht_208_mbps: The num_tx_ht_208_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_208_mbps = num_tx_ht_208_mbps - - @property - def num_tx_ht_216_mbps(self): - """Gets the num_tx_ht_216_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_216_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_216_mbps - - @num_tx_ht_216_mbps.setter - def num_tx_ht_216_mbps(self, num_tx_ht_216_mbps): - """Sets the num_tx_ht_216_mbps of this RadioStatistics. - - - :param num_tx_ht_216_mbps: The num_tx_ht_216_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_216_mbps = num_tx_ht_216_mbps - - @property - def num_tx_ht_216_6_mbps(self): - """Gets the num_tx_ht_216_6_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_216_6_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_216_6_mbps - - @num_tx_ht_216_6_mbps.setter - def num_tx_ht_216_6_mbps(self, num_tx_ht_216_6_mbps): - """Sets the num_tx_ht_216_6_mbps of this RadioStatistics. - - - :param num_tx_ht_216_6_mbps: The num_tx_ht_216_6_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_216_6_mbps = num_tx_ht_216_6_mbps - - @property - def num_tx_ht_231_1_mbps(self): - """Gets the num_tx_ht_231_1_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_231_1_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_231_1_mbps - - @num_tx_ht_231_1_mbps.setter - def num_tx_ht_231_1_mbps(self, num_tx_ht_231_1_mbps): - """Sets the num_tx_ht_231_1_mbps of this RadioStatistics. - - - :param num_tx_ht_231_1_mbps: The num_tx_ht_231_1_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_231_1_mbps = num_tx_ht_231_1_mbps - - @property - def num_tx_ht_234_mbps(self): - """Gets the num_tx_ht_234_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_234_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_234_mbps - - @num_tx_ht_234_mbps.setter - def num_tx_ht_234_mbps(self, num_tx_ht_234_mbps): - """Sets the num_tx_ht_234_mbps of this RadioStatistics. - - - :param num_tx_ht_234_mbps: The num_tx_ht_234_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_234_mbps = num_tx_ht_234_mbps - - @property - def num_tx_ht_240_mbps(self): - """Gets the num_tx_ht_240_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_240_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_240_mbps - - @num_tx_ht_240_mbps.setter - def num_tx_ht_240_mbps(self, num_tx_ht_240_mbps): - """Sets the num_tx_ht_240_mbps of this RadioStatistics. - - - :param num_tx_ht_240_mbps: The num_tx_ht_240_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_240_mbps = num_tx_ht_240_mbps - - @property - def num_tx_ht_243_mbps(self): - """Gets the num_tx_ht_243_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_243_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_243_mbps - - @num_tx_ht_243_mbps.setter - def num_tx_ht_243_mbps(self, num_tx_ht_243_mbps): - """Sets the num_tx_ht_243_mbps of this RadioStatistics. - - - :param num_tx_ht_243_mbps: The num_tx_ht_243_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_243_mbps = num_tx_ht_243_mbps - - @property - def num_tx_ht_260_mbps(self): - """Gets the num_tx_ht_260_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_260_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_260_mbps - - @num_tx_ht_260_mbps.setter - def num_tx_ht_260_mbps(self, num_tx_ht_260_mbps): - """Sets the num_tx_ht_260_mbps of this RadioStatistics. - - - :param num_tx_ht_260_mbps: The num_tx_ht_260_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_260_mbps = num_tx_ht_260_mbps - - @property - def num_tx_ht_263_2_mbps(self): - """Gets the num_tx_ht_263_2_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_263_2_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_263_2_mbps - - @num_tx_ht_263_2_mbps.setter - def num_tx_ht_263_2_mbps(self, num_tx_ht_263_2_mbps): - """Sets the num_tx_ht_263_2_mbps of this RadioStatistics. - - - :param num_tx_ht_263_2_mbps: The num_tx_ht_263_2_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_263_2_mbps = num_tx_ht_263_2_mbps - - @property - def num_tx_ht_270_mbps(self): - """Gets the num_tx_ht_270_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_270_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_270_mbps - - @num_tx_ht_270_mbps.setter - def num_tx_ht_270_mbps(self, num_tx_ht_270_mbps): - """Sets the num_tx_ht_270_mbps of this RadioStatistics. - - - :param num_tx_ht_270_mbps: The num_tx_ht_270_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_270_mbps = num_tx_ht_270_mbps - - @property - def num_tx_ht_288_7_mbps(self): - """Gets the num_tx_ht_288_7_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_288_7_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_288_7_mbps - - @num_tx_ht_288_7_mbps.setter - def num_tx_ht_288_7_mbps(self, num_tx_ht_288_7_mbps): - """Sets the num_tx_ht_288_7_mbps of this RadioStatistics. - - - :param num_tx_ht_288_7_mbps: The num_tx_ht_288_7_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_288_7_mbps = num_tx_ht_288_7_mbps - - @property - def num_tx_ht_288_8_mbps(self): - """Gets the num_tx_ht_288_8_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_288_8_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_288_8_mbps - - @num_tx_ht_288_8_mbps.setter - def num_tx_ht_288_8_mbps(self, num_tx_ht_288_8_mbps): - """Sets the num_tx_ht_288_8_mbps of this RadioStatistics. - - - :param num_tx_ht_288_8_mbps: The num_tx_ht_288_8_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_288_8_mbps = num_tx_ht_288_8_mbps - - @property - def num_tx_ht_292_5_mbps(self): - """Gets the num_tx_ht_292_5_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_292_5_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_292_5_mbps - - @num_tx_ht_292_5_mbps.setter - def num_tx_ht_292_5_mbps(self, num_tx_ht_292_5_mbps): - """Sets the num_tx_ht_292_5_mbps of this RadioStatistics. - - - :param num_tx_ht_292_5_mbps: The num_tx_ht_292_5_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_292_5_mbps = num_tx_ht_292_5_mbps - - @property - def num_tx_ht_300_mbps(self): - """Gets the num_tx_ht_300_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_300_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_300_mbps - - @num_tx_ht_300_mbps.setter - def num_tx_ht_300_mbps(self, num_tx_ht_300_mbps): - """Sets the num_tx_ht_300_mbps of this RadioStatistics. - - - :param num_tx_ht_300_mbps: The num_tx_ht_300_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_300_mbps = num_tx_ht_300_mbps - - @property - def num_tx_ht_312_mbps(self): - """Gets the num_tx_ht_312_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_312_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_312_mbps - - @num_tx_ht_312_mbps.setter - def num_tx_ht_312_mbps(self, num_tx_ht_312_mbps): - """Sets the num_tx_ht_312_mbps of this RadioStatistics. - - - :param num_tx_ht_312_mbps: The num_tx_ht_312_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_312_mbps = num_tx_ht_312_mbps - - @property - def num_tx_ht_324_mbps(self): - """Gets the num_tx_ht_324_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_324_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_324_mbps - - @num_tx_ht_324_mbps.setter - def num_tx_ht_324_mbps(self, num_tx_ht_324_mbps): - """Sets the num_tx_ht_324_mbps of this RadioStatistics. - - - :param num_tx_ht_324_mbps: The num_tx_ht_324_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_324_mbps = num_tx_ht_324_mbps - - @property - def num_tx_ht_325_mbps(self): - """Gets the num_tx_ht_325_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_325_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_325_mbps - - @num_tx_ht_325_mbps.setter - def num_tx_ht_325_mbps(self, num_tx_ht_325_mbps): - """Sets the num_tx_ht_325_mbps of this RadioStatistics. - - - :param num_tx_ht_325_mbps: The num_tx_ht_325_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_325_mbps = num_tx_ht_325_mbps - - @property - def num_tx_ht_346_7_mbps(self): - """Gets the num_tx_ht_346_7_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_346_7_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_346_7_mbps - - @num_tx_ht_346_7_mbps.setter - def num_tx_ht_346_7_mbps(self, num_tx_ht_346_7_mbps): - """Sets the num_tx_ht_346_7_mbps of this RadioStatistics. - - - :param num_tx_ht_346_7_mbps: The num_tx_ht_346_7_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_346_7_mbps = num_tx_ht_346_7_mbps - - @property - def num_tx_ht_351_mbps(self): - """Gets the num_tx_ht_351_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_351_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_351_mbps - - @num_tx_ht_351_mbps.setter - def num_tx_ht_351_mbps(self, num_tx_ht_351_mbps): - """Sets the num_tx_ht_351_mbps of this RadioStatistics. - - - :param num_tx_ht_351_mbps: The num_tx_ht_351_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_351_mbps = num_tx_ht_351_mbps - - @property - def num_tx_ht_351_2_mbps(self): - """Gets the num_tx_ht_351_2_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_351_2_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_351_2_mbps - - @num_tx_ht_351_2_mbps.setter - def num_tx_ht_351_2_mbps(self, num_tx_ht_351_2_mbps): - """Sets the num_tx_ht_351_2_mbps of this RadioStatistics. - - - :param num_tx_ht_351_2_mbps: The num_tx_ht_351_2_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_351_2_mbps = num_tx_ht_351_2_mbps - - @property - def num_tx_ht_360_mbps(self): - """Gets the num_tx_ht_360_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_ht_360_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ht_360_mbps - - @num_tx_ht_360_mbps.setter - def num_tx_ht_360_mbps(self, num_tx_ht_360_mbps): - """Sets the num_tx_ht_360_mbps of this RadioStatistics. - - - :param num_tx_ht_360_mbps: The num_tx_ht_360_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ht_360_mbps = num_tx_ht_360_mbps - - @property - def num_rx_ht_6_5_mbps(self): - """Gets the num_rx_ht_6_5_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_6_5_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_6_5_mbps - - @num_rx_ht_6_5_mbps.setter - def num_rx_ht_6_5_mbps(self, num_rx_ht_6_5_mbps): - """Sets the num_rx_ht_6_5_mbps of this RadioStatistics. - - - :param num_rx_ht_6_5_mbps: The num_rx_ht_6_5_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_6_5_mbps = num_rx_ht_6_5_mbps - - @property - def num_rx_ht_7_1_mbps(self): - """Gets the num_rx_ht_7_1_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_7_1_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_7_1_mbps - - @num_rx_ht_7_1_mbps.setter - def num_rx_ht_7_1_mbps(self, num_rx_ht_7_1_mbps): - """Sets the num_rx_ht_7_1_mbps of this RadioStatistics. - - - :param num_rx_ht_7_1_mbps: The num_rx_ht_7_1_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_7_1_mbps = num_rx_ht_7_1_mbps - - @property - def num_rx_ht_13_mbps(self): - """Gets the num_rx_ht_13_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_13_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_13_mbps - - @num_rx_ht_13_mbps.setter - def num_rx_ht_13_mbps(self, num_rx_ht_13_mbps): - """Sets the num_rx_ht_13_mbps of this RadioStatistics. - - - :param num_rx_ht_13_mbps: The num_rx_ht_13_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_13_mbps = num_rx_ht_13_mbps - - @property - def num_rx_ht_13_5_mbps(self): - """Gets the num_rx_ht_13_5_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_13_5_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_13_5_mbps - - @num_rx_ht_13_5_mbps.setter - def num_rx_ht_13_5_mbps(self, num_rx_ht_13_5_mbps): - """Sets the num_rx_ht_13_5_mbps of this RadioStatistics. - - - :param num_rx_ht_13_5_mbps: The num_rx_ht_13_5_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_13_5_mbps = num_rx_ht_13_5_mbps - - @property - def num_rx_ht_14_3_mbps(self): - """Gets the num_rx_ht_14_3_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_14_3_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_14_3_mbps - - @num_rx_ht_14_3_mbps.setter - def num_rx_ht_14_3_mbps(self, num_rx_ht_14_3_mbps): - """Sets the num_rx_ht_14_3_mbps of this RadioStatistics. - - - :param num_rx_ht_14_3_mbps: The num_rx_ht_14_3_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_14_3_mbps = num_rx_ht_14_3_mbps - - @property - def num_rx_ht_15_mbps(self): - """Gets the num_rx_ht_15_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_15_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_15_mbps - - @num_rx_ht_15_mbps.setter - def num_rx_ht_15_mbps(self, num_rx_ht_15_mbps): - """Sets the num_rx_ht_15_mbps of this RadioStatistics. - - - :param num_rx_ht_15_mbps: The num_rx_ht_15_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_15_mbps = num_rx_ht_15_mbps - - @property - def num_rx_ht_19_5_mbps(self): - """Gets the num_rx_ht_19_5_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_19_5_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_19_5_mbps - - @num_rx_ht_19_5_mbps.setter - def num_rx_ht_19_5_mbps(self, num_rx_ht_19_5_mbps): - """Sets the num_rx_ht_19_5_mbps of this RadioStatistics. - - - :param num_rx_ht_19_5_mbps: The num_rx_ht_19_5_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_19_5_mbps = num_rx_ht_19_5_mbps - - @property - def num_rx_ht_21_7_mbps(self): - """Gets the num_rx_ht_21_7_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_21_7_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_21_7_mbps - - @num_rx_ht_21_7_mbps.setter - def num_rx_ht_21_7_mbps(self, num_rx_ht_21_7_mbps): - """Sets the num_rx_ht_21_7_mbps of this RadioStatistics. - - - :param num_rx_ht_21_7_mbps: The num_rx_ht_21_7_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_21_7_mbps = num_rx_ht_21_7_mbps - - @property - def num_rx_ht_26_mbps(self): - """Gets the num_rx_ht_26_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_26_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_26_mbps - - @num_rx_ht_26_mbps.setter - def num_rx_ht_26_mbps(self, num_rx_ht_26_mbps): - """Sets the num_rx_ht_26_mbps of this RadioStatistics. - - - :param num_rx_ht_26_mbps: The num_rx_ht_26_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_26_mbps = num_rx_ht_26_mbps - - @property - def num_rx_ht_27_mbps(self): - """Gets the num_rx_ht_27_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_27_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_27_mbps - - @num_rx_ht_27_mbps.setter - def num_rx_ht_27_mbps(self, num_rx_ht_27_mbps): - """Sets the num_rx_ht_27_mbps of this RadioStatistics. - - - :param num_rx_ht_27_mbps: The num_rx_ht_27_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_27_mbps = num_rx_ht_27_mbps - - @property - def num_rx_ht_28_7_mbps(self): - """Gets the num_rx_ht_28_7_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_28_7_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_28_7_mbps - - @num_rx_ht_28_7_mbps.setter - def num_rx_ht_28_7_mbps(self, num_rx_ht_28_7_mbps): - """Sets the num_rx_ht_28_7_mbps of this RadioStatistics. - - - :param num_rx_ht_28_7_mbps: The num_rx_ht_28_7_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_28_7_mbps = num_rx_ht_28_7_mbps - - @property - def num_rx_ht_28_8_mbps(self): - """Gets the num_rx_ht_28_8_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_28_8_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_28_8_mbps - - @num_rx_ht_28_8_mbps.setter - def num_rx_ht_28_8_mbps(self, num_rx_ht_28_8_mbps): - """Sets the num_rx_ht_28_8_mbps of this RadioStatistics. - - - :param num_rx_ht_28_8_mbps: The num_rx_ht_28_8_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_28_8_mbps = num_rx_ht_28_8_mbps - - @property - def num_rx_ht_29_2_mbps(self): - """Gets the num_rx_ht_29_2_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_29_2_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_29_2_mbps - - @num_rx_ht_29_2_mbps.setter - def num_rx_ht_29_2_mbps(self, num_rx_ht_29_2_mbps): - """Sets the num_rx_ht_29_2_mbps of this RadioStatistics. - - - :param num_rx_ht_29_2_mbps: The num_rx_ht_29_2_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_29_2_mbps = num_rx_ht_29_2_mbps - - @property - def num_rx_ht_30_mbps(self): - """Gets the num_rx_ht_30_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_30_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_30_mbps - - @num_rx_ht_30_mbps.setter - def num_rx_ht_30_mbps(self, num_rx_ht_30_mbps): - """Sets the num_rx_ht_30_mbps of this RadioStatistics. - - - :param num_rx_ht_30_mbps: The num_rx_ht_30_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_30_mbps = num_rx_ht_30_mbps - - @property - def num_rx_ht_32_5_mbps(self): - """Gets the num_rx_ht_32_5_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_32_5_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_32_5_mbps - - @num_rx_ht_32_5_mbps.setter - def num_rx_ht_32_5_mbps(self, num_rx_ht_32_5_mbps): - """Sets the num_rx_ht_32_5_mbps of this RadioStatistics. - - - :param num_rx_ht_32_5_mbps: The num_rx_ht_32_5_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_32_5_mbps = num_rx_ht_32_5_mbps - - @property - def num_rx_ht_39_mbps(self): - """Gets the num_rx_ht_39_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_39_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_39_mbps - - @num_rx_ht_39_mbps.setter - def num_rx_ht_39_mbps(self, num_rx_ht_39_mbps): - """Sets the num_rx_ht_39_mbps of this RadioStatistics. - - - :param num_rx_ht_39_mbps: The num_rx_ht_39_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_39_mbps = num_rx_ht_39_mbps - - @property - def num_rx_ht_40_5_mbps(self): - """Gets the num_rx_ht_40_5_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_40_5_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_40_5_mbps - - @num_rx_ht_40_5_mbps.setter - def num_rx_ht_40_5_mbps(self, num_rx_ht_40_5_mbps): - """Sets the num_rx_ht_40_5_mbps of this RadioStatistics. - - - :param num_rx_ht_40_5_mbps: The num_rx_ht_40_5_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_40_5_mbps = num_rx_ht_40_5_mbps - - @property - def num_rx_ht_43_2_mbps(self): - """Gets the num_rx_ht_43_2_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_43_2_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_43_2_mbps - - @num_rx_ht_43_2_mbps.setter - def num_rx_ht_43_2_mbps(self, num_rx_ht_43_2_mbps): - """Sets the num_rx_ht_43_2_mbps of this RadioStatistics. - - - :param num_rx_ht_43_2_mbps: The num_rx_ht_43_2_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_43_2_mbps = num_rx_ht_43_2_mbps - - @property - def num_rx_ht_45_mbps(self): - """Gets the num_rx_ht_45_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_45_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_45_mbps - - @num_rx_ht_45_mbps.setter - def num_rx_ht_45_mbps(self, num_rx_ht_45_mbps): - """Sets the num_rx_ht_45_mbps of this RadioStatistics. - - - :param num_rx_ht_45_mbps: The num_rx_ht_45_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_45_mbps = num_rx_ht_45_mbps - - @property - def num_rx_ht_52_mbps(self): - """Gets the num_rx_ht_52_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_52_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_52_mbps - - @num_rx_ht_52_mbps.setter - def num_rx_ht_52_mbps(self, num_rx_ht_52_mbps): - """Sets the num_rx_ht_52_mbps of this RadioStatistics. - - - :param num_rx_ht_52_mbps: The num_rx_ht_52_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_52_mbps = num_rx_ht_52_mbps - - @property - def num_rx_ht_54_mbps(self): - """Gets the num_rx_ht_54_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_54_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_54_mbps - - @num_rx_ht_54_mbps.setter - def num_rx_ht_54_mbps(self, num_rx_ht_54_mbps): - """Sets the num_rx_ht_54_mbps of this RadioStatistics. - - - :param num_rx_ht_54_mbps: The num_rx_ht_54_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_54_mbps = num_rx_ht_54_mbps - - @property - def num_rx_ht_57_5_mbps(self): - """Gets the num_rx_ht_57_5_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_57_5_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_57_5_mbps - - @num_rx_ht_57_5_mbps.setter - def num_rx_ht_57_5_mbps(self, num_rx_ht_57_5_mbps): - """Sets the num_rx_ht_57_5_mbps of this RadioStatistics. - - - :param num_rx_ht_57_5_mbps: The num_rx_ht_57_5_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_57_5_mbps = num_rx_ht_57_5_mbps - - @property - def num_rx_ht_57_7_mbps(self): - """Gets the num_rx_ht_57_7_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_57_7_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_57_7_mbps - - @num_rx_ht_57_7_mbps.setter - def num_rx_ht_57_7_mbps(self, num_rx_ht_57_7_mbps): - """Sets the num_rx_ht_57_7_mbps of this RadioStatistics. - - - :param num_rx_ht_57_7_mbps: The num_rx_ht_57_7_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_57_7_mbps = num_rx_ht_57_7_mbps - - @property - def num_rx_ht_58_5_mbps(self): - """Gets the num_rx_ht_58_5_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_58_5_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_58_5_mbps - - @num_rx_ht_58_5_mbps.setter - def num_rx_ht_58_5_mbps(self, num_rx_ht_58_5_mbps): - """Sets the num_rx_ht_58_5_mbps of this RadioStatistics. - - - :param num_rx_ht_58_5_mbps: The num_rx_ht_58_5_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_58_5_mbps = num_rx_ht_58_5_mbps - - @property - def num_rx_ht_60_mbps(self): - """Gets the num_rx_ht_60_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_60_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_60_mbps - - @num_rx_ht_60_mbps.setter - def num_rx_ht_60_mbps(self, num_rx_ht_60_mbps): - """Sets the num_rx_ht_60_mbps of this RadioStatistics. - - - :param num_rx_ht_60_mbps: The num_rx_ht_60_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_60_mbps = num_rx_ht_60_mbps - - @property - def num_rx_ht_65_mbps(self): - """Gets the num_rx_ht_65_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_65_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_65_mbps - - @num_rx_ht_65_mbps.setter - def num_rx_ht_65_mbps(self, num_rx_ht_65_mbps): - """Sets the num_rx_ht_65_mbps of this RadioStatistics. - - - :param num_rx_ht_65_mbps: The num_rx_ht_65_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_65_mbps = num_rx_ht_65_mbps - - @property - def num_rx_ht_72_1_mbps(self): - """Gets the num_rx_ht_72_1_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_72_1_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_72_1_mbps - - @num_rx_ht_72_1_mbps.setter - def num_rx_ht_72_1_mbps(self, num_rx_ht_72_1_mbps): - """Sets the num_rx_ht_72_1_mbps of this RadioStatistics. - - - :param num_rx_ht_72_1_mbps: The num_rx_ht_72_1_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_72_1_mbps = num_rx_ht_72_1_mbps - - @property - def num_rx_ht_78_mbps(self): - """Gets the num_rx_ht_78_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_78_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_78_mbps - - @num_rx_ht_78_mbps.setter - def num_rx_ht_78_mbps(self, num_rx_ht_78_mbps): - """Sets the num_rx_ht_78_mbps of this RadioStatistics. - - - :param num_rx_ht_78_mbps: The num_rx_ht_78_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_78_mbps = num_rx_ht_78_mbps - - @property - def num_rx_ht_81_mbps(self): - """Gets the num_rx_ht_81_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_81_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_81_mbps - - @num_rx_ht_81_mbps.setter - def num_rx_ht_81_mbps(self, num_rx_ht_81_mbps): - """Sets the num_rx_ht_81_mbps of this RadioStatistics. - - - :param num_rx_ht_81_mbps: The num_rx_ht_81_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_81_mbps = num_rx_ht_81_mbps - - @property - def num_rx_ht_86_6_mbps(self): - """Gets the num_rx_ht_86_6_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_86_6_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_86_6_mbps - - @num_rx_ht_86_6_mbps.setter - def num_rx_ht_86_6_mbps(self, num_rx_ht_86_6_mbps): - """Sets the num_rx_ht_86_6_mbps of this RadioStatistics. - - - :param num_rx_ht_86_6_mbps: The num_rx_ht_86_6_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_86_6_mbps = num_rx_ht_86_6_mbps - - @property - def num_rx_ht_86_8_mbps(self): - """Gets the num_rx_ht_86_8_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_86_8_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_86_8_mbps - - @num_rx_ht_86_8_mbps.setter - def num_rx_ht_86_8_mbps(self, num_rx_ht_86_8_mbps): - """Sets the num_rx_ht_86_8_mbps of this RadioStatistics. - - - :param num_rx_ht_86_8_mbps: The num_rx_ht_86_8_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_86_8_mbps = num_rx_ht_86_8_mbps - - @property - def num_rx_ht_87_8_mbps(self): - """Gets the num_rx_ht_87_8_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_87_8_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_87_8_mbps - - @num_rx_ht_87_8_mbps.setter - def num_rx_ht_87_8_mbps(self, num_rx_ht_87_8_mbps): - """Sets the num_rx_ht_87_8_mbps of this RadioStatistics. - - - :param num_rx_ht_87_8_mbps: The num_rx_ht_87_8_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_87_8_mbps = num_rx_ht_87_8_mbps - - @property - def num_rx_ht_90_mbps(self): - """Gets the num_rx_ht_90_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_90_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_90_mbps - - @num_rx_ht_90_mbps.setter - def num_rx_ht_90_mbps(self, num_rx_ht_90_mbps): - """Sets the num_rx_ht_90_mbps of this RadioStatistics. - - - :param num_rx_ht_90_mbps: The num_rx_ht_90_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_90_mbps = num_rx_ht_90_mbps - - @property - def num_rx_ht_97_5_mbps(self): - """Gets the num_rx_ht_97_5_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_97_5_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_97_5_mbps - - @num_rx_ht_97_5_mbps.setter - def num_rx_ht_97_5_mbps(self, num_rx_ht_97_5_mbps): - """Sets the num_rx_ht_97_5_mbps of this RadioStatistics. - - - :param num_rx_ht_97_5_mbps: The num_rx_ht_97_5_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_97_5_mbps = num_rx_ht_97_5_mbps - - @property - def num_rx_ht_104_mbps(self): - """Gets the num_rx_ht_104_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_104_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_104_mbps - - @num_rx_ht_104_mbps.setter - def num_rx_ht_104_mbps(self, num_rx_ht_104_mbps): - """Sets the num_rx_ht_104_mbps of this RadioStatistics. - - - :param num_rx_ht_104_mbps: The num_rx_ht_104_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_104_mbps = num_rx_ht_104_mbps - - @property - def num_rx_ht_108_mbps(self): - """Gets the num_rx_ht_108_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_108_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_108_mbps - - @num_rx_ht_108_mbps.setter - def num_rx_ht_108_mbps(self, num_rx_ht_108_mbps): - """Sets the num_rx_ht_108_mbps of this RadioStatistics. - - - :param num_rx_ht_108_mbps: The num_rx_ht_108_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_108_mbps = num_rx_ht_108_mbps - - @property - def num_rx_ht_115_5_mbps(self): - """Gets the num_rx_ht_115_5_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_115_5_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_115_5_mbps - - @num_rx_ht_115_5_mbps.setter - def num_rx_ht_115_5_mbps(self, num_rx_ht_115_5_mbps): - """Sets the num_rx_ht_115_5_mbps of this RadioStatistics. - - - :param num_rx_ht_115_5_mbps: The num_rx_ht_115_5_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_115_5_mbps = num_rx_ht_115_5_mbps - - @property - def num_rx_ht_117_mbps(self): - """Gets the num_rx_ht_117_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_117_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_117_mbps - - @num_rx_ht_117_mbps.setter - def num_rx_ht_117_mbps(self, num_rx_ht_117_mbps): - """Sets the num_rx_ht_117_mbps of this RadioStatistics. - - - :param num_rx_ht_117_mbps: The num_rx_ht_117_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_117_mbps = num_rx_ht_117_mbps - - @property - def num_rx_ht_117_1_mbps(self): - """Gets the num_rx_ht_117_1_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_117_1_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_117_1_mbps - - @num_rx_ht_117_1_mbps.setter - def num_rx_ht_117_1_mbps(self, num_rx_ht_117_1_mbps): - """Sets the num_rx_ht_117_1_mbps of this RadioStatistics. - - - :param num_rx_ht_117_1_mbps: The num_rx_ht_117_1_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_117_1_mbps = num_rx_ht_117_1_mbps - - @property - def num_rx_ht_120_mbps(self): - """Gets the num_rx_ht_120_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_120_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_120_mbps - - @num_rx_ht_120_mbps.setter - def num_rx_ht_120_mbps(self, num_rx_ht_120_mbps): - """Sets the num_rx_ht_120_mbps of this RadioStatistics. - - - :param num_rx_ht_120_mbps: The num_rx_ht_120_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_120_mbps = num_rx_ht_120_mbps - - @property - def num_rx_ht_121_5_mbps(self): - """Gets the num_rx_ht_121_5_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_121_5_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_121_5_mbps - - @num_rx_ht_121_5_mbps.setter - def num_rx_ht_121_5_mbps(self, num_rx_ht_121_5_mbps): - """Sets the num_rx_ht_121_5_mbps of this RadioStatistics. - - - :param num_rx_ht_121_5_mbps: The num_rx_ht_121_5_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_121_5_mbps = num_rx_ht_121_5_mbps - - @property - def num_rx_ht_130_mbps(self): - """Gets the num_rx_ht_130_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_130_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_130_mbps - - @num_rx_ht_130_mbps.setter - def num_rx_ht_130_mbps(self, num_rx_ht_130_mbps): - """Sets the num_rx_ht_130_mbps of this RadioStatistics. - - - :param num_rx_ht_130_mbps: The num_rx_ht_130_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_130_mbps = num_rx_ht_130_mbps - - @property - def num_rx_ht_130_3_mbps(self): - """Gets the num_rx_ht_130_3_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_130_3_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_130_3_mbps - - @num_rx_ht_130_3_mbps.setter - def num_rx_ht_130_3_mbps(self, num_rx_ht_130_3_mbps): - """Sets the num_rx_ht_130_3_mbps of this RadioStatistics. - - - :param num_rx_ht_130_3_mbps: The num_rx_ht_130_3_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_130_3_mbps = num_rx_ht_130_3_mbps - - @property - def num_rx_ht_135_mbps(self): - """Gets the num_rx_ht_135_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_135_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_135_mbps - - @num_rx_ht_135_mbps.setter - def num_rx_ht_135_mbps(self, num_rx_ht_135_mbps): - """Sets the num_rx_ht_135_mbps of this RadioStatistics. - - - :param num_rx_ht_135_mbps: The num_rx_ht_135_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_135_mbps = num_rx_ht_135_mbps - - @property - def num_rx_ht_144_3_mbps(self): - """Gets the num_rx_ht_144_3_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_144_3_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_144_3_mbps - - @num_rx_ht_144_3_mbps.setter - def num_rx_ht_144_3_mbps(self, num_rx_ht_144_3_mbps): - """Sets the num_rx_ht_144_3_mbps of this RadioStatistics. - - - :param num_rx_ht_144_3_mbps: The num_rx_ht_144_3_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_144_3_mbps = num_rx_ht_144_3_mbps - - @property - def num_rx_ht_150_mbps(self): - """Gets the num_rx_ht_150_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_150_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_150_mbps - - @num_rx_ht_150_mbps.setter - def num_rx_ht_150_mbps(self, num_rx_ht_150_mbps): - """Sets the num_rx_ht_150_mbps of this RadioStatistics. - - - :param num_rx_ht_150_mbps: The num_rx_ht_150_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_150_mbps = num_rx_ht_150_mbps - - @property - def num_rx_ht_156_mbps(self): - """Gets the num_rx_ht_156_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_156_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_156_mbps - - @num_rx_ht_156_mbps.setter - def num_rx_ht_156_mbps(self, num_rx_ht_156_mbps): - """Sets the num_rx_ht_156_mbps of this RadioStatistics. - - - :param num_rx_ht_156_mbps: The num_rx_ht_156_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_156_mbps = num_rx_ht_156_mbps - - @property - def num_rx_ht_162_mbps(self): - """Gets the num_rx_ht_162_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_162_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_162_mbps - - @num_rx_ht_162_mbps.setter - def num_rx_ht_162_mbps(self, num_rx_ht_162_mbps): - """Sets the num_rx_ht_162_mbps of this RadioStatistics. - - - :param num_rx_ht_162_mbps: The num_rx_ht_162_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_162_mbps = num_rx_ht_162_mbps - - @property - def num_rx_ht_173_1_mbps(self): - """Gets the num_rx_ht_173_1_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_173_1_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_173_1_mbps - - @num_rx_ht_173_1_mbps.setter - def num_rx_ht_173_1_mbps(self, num_rx_ht_173_1_mbps): - """Sets the num_rx_ht_173_1_mbps of this RadioStatistics. - - - :param num_rx_ht_173_1_mbps: The num_rx_ht_173_1_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_173_1_mbps = num_rx_ht_173_1_mbps - - @property - def num_rx_ht_173_3_mbps(self): - """Gets the num_rx_ht_173_3_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_173_3_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_173_3_mbps - - @num_rx_ht_173_3_mbps.setter - def num_rx_ht_173_3_mbps(self, num_rx_ht_173_3_mbps): - """Sets the num_rx_ht_173_3_mbps of this RadioStatistics. - - - :param num_rx_ht_173_3_mbps: The num_rx_ht_173_3_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_173_3_mbps = num_rx_ht_173_3_mbps - - @property - def num_rx_ht_175_5_mbps(self): - """Gets the num_rx_ht_175_5_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_175_5_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_175_5_mbps - - @num_rx_ht_175_5_mbps.setter - def num_rx_ht_175_5_mbps(self, num_rx_ht_175_5_mbps): - """Sets the num_rx_ht_175_5_mbps of this RadioStatistics. - - - :param num_rx_ht_175_5_mbps: The num_rx_ht_175_5_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_175_5_mbps = num_rx_ht_175_5_mbps - - @property - def num_rx_ht_180_mbps(self): - """Gets the num_rx_ht_180_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_180_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_180_mbps - - @num_rx_ht_180_mbps.setter - def num_rx_ht_180_mbps(self, num_rx_ht_180_mbps): - """Sets the num_rx_ht_180_mbps of this RadioStatistics. - - - :param num_rx_ht_180_mbps: The num_rx_ht_180_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_180_mbps = num_rx_ht_180_mbps - - @property - def num_rx_ht_195_mbps(self): - """Gets the num_rx_ht_195_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_195_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_195_mbps - - @num_rx_ht_195_mbps.setter - def num_rx_ht_195_mbps(self, num_rx_ht_195_mbps): - """Sets the num_rx_ht_195_mbps of this RadioStatistics. - - - :param num_rx_ht_195_mbps: The num_rx_ht_195_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_195_mbps = num_rx_ht_195_mbps - - @property - def num_rx_ht_200_mbps(self): - """Gets the num_rx_ht_200_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_200_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_200_mbps - - @num_rx_ht_200_mbps.setter - def num_rx_ht_200_mbps(self, num_rx_ht_200_mbps): - """Sets the num_rx_ht_200_mbps of this RadioStatistics. - - - :param num_rx_ht_200_mbps: The num_rx_ht_200_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_200_mbps = num_rx_ht_200_mbps - - @property - def num_rx_ht_208_mbps(self): - """Gets the num_rx_ht_208_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_208_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_208_mbps - - @num_rx_ht_208_mbps.setter - def num_rx_ht_208_mbps(self, num_rx_ht_208_mbps): - """Sets the num_rx_ht_208_mbps of this RadioStatistics. - - - :param num_rx_ht_208_mbps: The num_rx_ht_208_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_208_mbps = num_rx_ht_208_mbps - - @property - def num_rx_ht_216_mbps(self): - """Gets the num_rx_ht_216_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_216_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_216_mbps - - @num_rx_ht_216_mbps.setter - def num_rx_ht_216_mbps(self, num_rx_ht_216_mbps): - """Sets the num_rx_ht_216_mbps of this RadioStatistics. - - - :param num_rx_ht_216_mbps: The num_rx_ht_216_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_216_mbps = num_rx_ht_216_mbps - - @property - def num_rx_ht_216_6_mbps(self): - """Gets the num_rx_ht_216_6_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_216_6_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_216_6_mbps - - @num_rx_ht_216_6_mbps.setter - def num_rx_ht_216_6_mbps(self, num_rx_ht_216_6_mbps): - """Sets the num_rx_ht_216_6_mbps of this RadioStatistics. - - - :param num_rx_ht_216_6_mbps: The num_rx_ht_216_6_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_216_6_mbps = num_rx_ht_216_6_mbps - - @property - def num_rx_ht_231_1_mbps(self): - """Gets the num_rx_ht_231_1_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_231_1_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_231_1_mbps - - @num_rx_ht_231_1_mbps.setter - def num_rx_ht_231_1_mbps(self, num_rx_ht_231_1_mbps): - """Sets the num_rx_ht_231_1_mbps of this RadioStatistics. - - - :param num_rx_ht_231_1_mbps: The num_rx_ht_231_1_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_231_1_mbps = num_rx_ht_231_1_mbps - - @property - def num_rx_ht_234_mbps(self): - """Gets the num_rx_ht_234_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_234_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_234_mbps - - @num_rx_ht_234_mbps.setter - def num_rx_ht_234_mbps(self, num_rx_ht_234_mbps): - """Sets the num_rx_ht_234_mbps of this RadioStatistics. - - - :param num_rx_ht_234_mbps: The num_rx_ht_234_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_234_mbps = num_rx_ht_234_mbps - - @property - def num_rx_ht_240_mbps(self): - """Gets the num_rx_ht_240_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_240_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_240_mbps - - @num_rx_ht_240_mbps.setter - def num_rx_ht_240_mbps(self, num_rx_ht_240_mbps): - """Sets the num_rx_ht_240_mbps of this RadioStatistics. - - - :param num_rx_ht_240_mbps: The num_rx_ht_240_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_240_mbps = num_rx_ht_240_mbps - - @property - def num_rx_ht_243_mbps(self): - """Gets the num_rx_ht_243_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_243_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_243_mbps - - @num_rx_ht_243_mbps.setter - def num_rx_ht_243_mbps(self, num_rx_ht_243_mbps): - """Sets the num_rx_ht_243_mbps of this RadioStatistics. - - - :param num_rx_ht_243_mbps: The num_rx_ht_243_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_243_mbps = num_rx_ht_243_mbps - - @property - def num_rx_ht_260_mbps(self): - """Gets the num_rx_ht_260_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_260_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_260_mbps - - @num_rx_ht_260_mbps.setter - def num_rx_ht_260_mbps(self, num_rx_ht_260_mbps): - """Sets the num_rx_ht_260_mbps of this RadioStatistics. - - - :param num_rx_ht_260_mbps: The num_rx_ht_260_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_260_mbps = num_rx_ht_260_mbps - - @property - def num_rx_ht_263_2_mbps(self): - """Gets the num_rx_ht_263_2_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_263_2_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_263_2_mbps - - @num_rx_ht_263_2_mbps.setter - def num_rx_ht_263_2_mbps(self, num_rx_ht_263_2_mbps): - """Sets the num_rx_ht_263_2_mbps of this RadioStatistics. - - - :param num_rx_ht_263_2_mbps: The num_rx_ht_263_2_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_263_2_mbps = num_rx_ht_263_2_mbps - - @property - def num_rx_ht_270_mbps(self): - """Gets the num_rx_ht_270_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_270_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_270_mbps - - @num_rx_ht_270_mbps.setter - def num_rx_ht_270_mbps(self, num_rx_ht_270_mbps): - """Sets the num_rx_ht_270_mbps of this RadioStatistics. - - - :param num_rx_ht_270_mbps: The num_rx_ht_270_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_270_mbps = num_rx_ht_270_mbps - - @property - def num_rx_ht_288_7_mbps(self): - """Gets the num_rx_ht_288_7_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_288_7_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_288_7_mbps - - @num_rx_ht_288_7_mbps.setter - def num_rx_ht_288_7_mbps(self, num_rx_ht_288_7_mbps): - """Sets the num_rx_ht_288_7_mbps of this RadioStatistics. - - - :param num_rx_ht_288_7_mbps: The num_rx_ht_288_7_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_288_7_mbps = num_rx_ht_288_7_mbps - - @property - def num_rx_ht_288_8_mbps(self): - """Gets the num_rx_ht_288_8_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_288_8_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_288_8_mbps - - @num_rx_ht_288_8_mbps.setter - def num_rx_ht_288_8_mbps(self, num_rx_ht_288_8_mbps): - """Sets the num_rx_ht_288_8_mbps of this RadioStatistics. - - - :param num_rx_ht_288_8_mbps: The num_rx_ht_288_8_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_288_8_mbps = num_rx_ht_288_8_mbps - - @property - def num_rx_ht_292_5_mbps(self): - """Gets the num_rx_ht_292_5_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_292_5_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_292_5_mbps - - @num_rx_ht_292_5_mbps.setter - def num_rx_ht_292_5_mbps(self, num_rx_ht_292_5_mbps): - """Sets the num_rx_ht_292_5_mbps of this RadioStatistics. - - - :param num_rx_ht_292_5_mbps: The num_rx_ht_292_5_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_292_5_mbps = num_rx_ht_292_5_mbps - - @property - def num_rx_ht_300_mbps(self): - """Gets the num_rx_ht_300_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_300_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_300_mbps - - @num_rx_ht_300_mbps.setter - def num_rx_ht_300_mbps(self, num_rx_ht_300_mbps): - """Sets the num_rx_ht_300_mbps of this RadioStatistics. - - - :param num_rx_ht_300_mbps: The num_rx_ht_300_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_300_mbps = num_rx_ht_300_mbps - - @property - def num_rx_ht_312_mbps(self): - """Gets the num_rx_ht_312_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_312_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_312_mbps - - @num_rx_ht_312_mbps.setter - def num_rx_ht_312_mbps(self, num_rx_ht_312_mbps): - """Sets the num_rx_ht_312_mbps of this RadioStatistics. - - - :param num_rx_ht_312_mbps: The num_rx_ht_312_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_312_mbps = num_rx_ht_312_mbps - - @property - def num_rx_ht_324_mbps(self): - """Gets the num_rx_ht_324_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_324_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_324_mbps - - @num_rx_ht_324_mbps.setter - def num_rx_ht_324_mbps(self, num_rx_ht_324_mbps): - """Sets the num_rx_ht_324_mbps of this RadioStatistics. - - - :param num_rx_ht_324_mbps: The num_rx_ht_324_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_324_mbps = num_rx_ht_324_mbps - - @property - def num_rx_ht_325_mbps(self): - """Gets the num_rx_ht_325_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_325_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_325_mbps - - @num_rx_ht_325_mbps.setter - def num_rx_ht_325_mbps(self, num_rx_ht_325_mbps): - """Sets the num_rx_ht_325_mbps of this RadioStatistics. - - - :param num_rx_ht_325_mbps: The num_rx_ht_325_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_325_mbps = num_rx_ht_325_mbps - - @property - def num_rx_ht_346_7_mbps(self): - """Gets the num_rx_ht_346_7_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_346_7_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_346_7_mbps - - @num_rx_ht_346_7_mbps.setter - def num_rx_ht_346_7_mbps(self, num_rx_ht_346_7_mbps): - """Sets the num_rx_ht_346_7_mbps of this RadioStatistics. - - - :param num_rx_ht_346_7_mbps: The num_rx_ht_346_7_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_346_7_mbps = num_rx_ht_346_7_mbps - - @property - def num_rx_ht_351_mbps(self): - """Gets the num_rx_ht_351_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_351_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_351_mbps - - @num_rx_ht_351_mbps.setter - def num_rx_ht_351_mbps(self, num_rx_ht_351_mbps): - """Sets the num_rx_ht_351_mbps of this RadioStatistics. - - - :param num_rx_ht_351_mbps: The num_rx_ht_351_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_351_mbps = num_rx_ht_351_mbps - - @property - def num_rx_ht_351_2_mbps(self): - """Gets the num_rx_ht_351_2_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_351_2_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_351_2_mbps - - @num_rx_ht_351_2_mbps.setter - def num_rx_ht_351_2_mbps(self, num_rx_ht_351_2_mbps): - """Sets the num_rx_ht_351_2_mbps of this RadioStatistics. - - - :param num_rx_ht_351_2_mbps: The num_rx_ht_351_2_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_351_2_mbps = num_rx_ht_351_2_mbps - - @property - def num_rx_ht_360_mbps(self): - """Gets the num_rx_ht_360_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_ht_360_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ht_360_mbps - - @num_rx_ht_360_mbps.setter - def num_rx_ht_360_mbps(self, num_rx_ht_360_mbps): - """Sets the num_rx_ht_360_mbps of this RadioStatistics. - - - :param num_rx_ht_360_mbps: The num_rx_ht_360_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ht_360_mbps = num_rx_ht_360_mbps - - @property - def num_tx_vht_292_5_mbps(self): - """Gets the num_tx_vht_292_5_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_vht_292_5_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_292_5_mbps - - @num_tx_vht_292_5_mbps.setter - def num_tx_vht_292_5_mbps(self, num_tx_vht_292_5_mbps): - """Sets the num_tx_vht_292_5_mbps of this RadioStatistics. - - - :param num_tx_vht_292_5_mbps: The num_tx_vht_292_5_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_292_5_mbps = num_tx_vht_292_5_mbps - - @property - def num_tx_vht_325_mbps(self): - """Gets the num_tx_vht_325_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_vht_325_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_325_mbps - - @num_tx_vht_325_mbps.setter - def num_tx_vht_325_mbps(self, num_tx_vht_325_mbps): - """Sets the num_tx_vht_325_mbps of this RadioStatistics. - - - :param num_tx_vht_325_mbps: The num_tx_vht_325_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_325_mbps = num_tx_vht_325_mbps - - @property - def num_tx_vht_364_5_mbps(self): - """Gets the num_tx_vht_364_5_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_vht_364_5_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_364_5_mbps - - @num_tx_vht_364_5_mbps.setter - def num_tx_vht_364_5_mbps(self, num_tx_vht_364_5_mbps): - """Sets the num_tx_vht_364_5_mbps of this RadioStatistics. - - - :param num_tx_vht_364_5_mbps: The num_tx_vht_364_5_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_364_5_mbps = num_tx_vht_364_5_mbps - - @property - def num_tx_vht_390_mbps(self): - """Gets the num_tx_vht_390_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_vht_390_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_390_mbps - - @num_tx_vht_390_mbps.setter - def num_tx_vht_390_mbps(self, num_tx_vht_390_mbps): - """Sets the num_tx_vht_390_mbps of this RadioStatistics. - - - :param num_tx_vht_390_mbps: The num_tx_vht_390_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_390_mbps = num_tx_vht_390_mbps - - @property - def num_tx_vht_400_mbps(self): - """Gets the num_tx_vht_400_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_vht_400_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_400_mbps - - @num_tx_vht_400_mbps.setter - def num_tx_vht_400_mbps(self, num_tx_vht_400_mbps): - """Sets the num_tx_vht_400_mbps of this RadioStatistics. - - - :param num_tx_vht_400_mbps: The num_tx_vht_400_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_400_mbps = num_tx_vht_400_mbps - - @property - def num_tx_vht_403_mbps(self): - """Gets the num_tx_vht_403_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_vht_403_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_403_mbps - - @num_tx_vht_403_mbps.setter - def num_tx_vht_403_mbps(self, num_tx_vht_403_mbps): - """Sets the num_tx_vht_403_mbps of this RadioStatistics. - - - :param num_tx_vht_403_mbps: The num_tx_vht_403_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_403_mbps = num_tx_vht_403_mbps - - @property - def num_tx_vht_405_mbps(self): - """Gets the num_tx_vht_405_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_vht_405_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_405_mbps - - @num_tx_vht_405_mbps.setter - def num_tx_vht_405_mbps(self, num_tx_vht_405_mbps): - """Sets the num_tx_vht_405_mbps of this RadioStatistics. - - - :param num_tx_vht_405_mbps: The num_tx_vht_405_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_405_mbps = num_tx_vht_405_mbps - - @property - def num_tx_vht_432_mbps(self): - """Gets the num_tx_vht_432_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_vht_432_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_432_mbps - - @num_tx_vht_432_mbps.setter - def num_tx_vht_432_mbps(self, num_tx_vht_432_mbps): - """Sets the num_tx_vht_432_mbps of this RadioStatistics. - - - :param num_tx_vht_432_mbps: The num_tx_vht_432_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_432_mbps = num_tx_vht_432_mbps - - @property - def num_tx_vht_433_2_mbps(self): - """Gets the num_tx_vht_433_2_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_vht_433_2_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_433_2_mbps - - @num_tx_vht_433_2_mbps.setter - def num_tx_vht_433_2_mbps(self, num_tx_vht_433_2_mbps): - """Sets the num_tx_vht_433_2_mbps of this RadioStatistics. - - - :param num_tx_vht_433_2_mbps: The num_tx_vht_433_2_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_433_2_mbps = num_tx_vht_433_2_mbps - - @property - def num_tx_vht_450_mbps(self): - """Gets the num_tx_vht_450_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_vht_450_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_450_mbps - - @num_tx_vht_450_mbps.setter - def num_tx_vht_450_mbps(self, num_tx_vht_450_mbps): - """Sets the num_tx_vht_450_mbps of this RadioStatistics. - - - :param num_tx_vht_450_mbps: The num_tx_vht_450_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_450_mbps = num_tx_vht_450_mbps - - @property - def num_tx_vht_468_mbps(self): - """Gets the num_tx_vht_468_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_vht_468_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_468_mbps - - @num_tx_vht_468_mbps.setter - def num_tx_vht_468_mbps(self, num_tx_vht_468_mbps): - """Sets the num_tx_vht_468_mbps of this RadioStatistics. - - - :param num_tx_vht_468_mbps: The num_tx_vht_468_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_468_mbps = num_tx_vht_468_mbps - - @property - def num_tx_vht_480_mbps(self): - """Gets the num_tx_vht_480_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_vht_480_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_480_mbps - - @num_tx_vht_480_mbps.setter - def num_tx_vht_480_mbps(self, num_tx_vht_480_mbps): - """Sets the num_tx_vht_480_mbps of this RadioStatistics. - - - :param num_tx_vht_480_mbps: The num_tx_vht_480_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_480_mbps = num_tx_vht_480_mbps - - @property - def num_tx_vht_486_mbps(self): - """Gets the num_tx_vht_486_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_vht_486_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_486_mbps - - @num_tx_vht_486_mbps.setter - def num_tx_vht_486_mbps(self, num_tx_vht_486_mbps): - """Sets the num_tx_vht_486_mbps of this RadioStatistics. - - - :param num_tx_vht_486_mbps: The num_tx_vht_486_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_486_mbps = num_tx_vht_486_mbps - - @property - def num_tx_vht_520_mbps(self): - """Gets the num_tx_vht_520_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_vht_520_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_520_mbps - - @num_tx_vht_520_mbps.setter - def num_tx_vht_520_mbps(self, num_tx_vht_520_mbps): - """Sets the num_tx_vht_520_mbps of this RadioStatistics. - - - :param num_tx_vht_520_mbps: The num_tx_vht_520_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_520_mbps = num_tx_vht_520_mbps - - @property - def num_tx_vht_526_5_mbps(self): - """Gets the num_tx_vht_526_5_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_vht_526_5_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_526_5_mbps - - @num_tx_vht_526_5_mbps.setter - def num_tx_vht_526_5_mbps(self, num_tx_vht_526_5_mbps): - """Sets the num_tx_vht_526_5_mbps of this RadioStatistics. - - - :param num_tx_vht_526_5_mbps: The num_tx_vht_526_5_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_526_5_mbps = num_tx_vht_526_5_mbps - - @property - def num_tx_vht_540_mbps(self): - """Gets the num_tx_vht_540_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_vht_540_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_540_mbps - - @num_tx_vht_540_mbps.setter - def num_tx_vht_540_mbps(self, num_tx_vht_540_mbps): - """Sets the num_tx_vht_540_mbps of this RadioStatistics. - - - :param num_tx_vht_540_mbps: The num_tx_vht_540_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_540_mbps = num_tx_vht_540_mbps - - @property - def num_tx_vht_585_mbps(self): - """Gets the num_tx_vht_585_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_vht_585_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_585_mbps - - @num_tx_vht_585_mbps.setter - def num_tx_vht_585_mbps(self, num_tx_vht_585_mbps): - """Sets the num_tx_vht_585_mbps of this RadioStatistics. - - - :param num_tx_vht_585_mbps: The num_tx_vht_585_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_585_mbps = num_tx_vht_585_mbps - - @property - def num_tx_vht_600_mbps(self): - """Gets the num_tx_vht_600_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_vht_600_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_600_mbps - - @num_tx_vht_600_mbps.setter - def num_tx_vht_600_mbps(self, num_tx_vht_600_mbps): - """Sets the num_tx_vht_600_mbps of this RadioStatistics. - - - :param num_tx_vht_600_mbps: The num_tx_vht_600_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_600_mbps = num_tx_vht_600_mbps - - @property - def num_tx_vht_648_mbps(self): - """Gets the num_tx_vht_648_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_vht_648_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_648_mbps - - @num_tx_vht_648_mbps.setter - def num_tx_vht_648_mbps(self, num_tx_vht_648_mbps): - """Sets the num_tx_vht_648_mbps of this RadioStatistics. - - - :param num_tx_vht_648_mbps: The num_tx_vht_648_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_648_mbps = num_tx_vht_648_mbps - - @property - def num_tx_vht_650_mbps(self): - """Gets the num_tx_vht_650_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_vht_650_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_650_mbps - - @num_tx_vht_650_mbps.setter - def num_tx_vht_650_mbps(self, num_tx_vht_650_mbps): - """Sets the num_tx_vht_650_mbps of this RadioStatistics. - - - :param num_tx_vht_650_mbps: The num_tx_vht_650_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_650_mbps = num_tx_vht_650_mbps - - @property - def num_tx_vht_702_mbps(self): - """Gets the num_tx_vht_702_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_vht_702_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_702_mbps - - @num_tx_vht_702_mbps.setter - def num_tx_vht_702_mbps(self, num_tx_vht_702_mbps): - """Sets the num_tx_vht_702_mbps of this RadioStatistics. - - - :param num_tx_vht_702_mbps: The num_tx_vht_702_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_702_mbps = num_tx_vht_702_mbps - - @property - def num_tx_vht_720_mbps(self): - """Gets the num_tx_vht_720_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_vht_720_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_720_mbps - - @num_tx_vht_720_mbps.setter - def num_tx_vht_720_mbps(self, num_tx_vht_720_mbps): - """Sets the num_tx_vht_720_mbps of this RadioStatistics. - - - :param num_tx_vht_720_mbps: The num_tx_vht_720_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_720_mbps = num_tx_vht_720_mbps - - @property - def num_tx_vht_780_mbps(self): - """Gets the num_tx_vht_780_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_vht_780_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_780_mbps - - @num_tx_vht_780_mbps.setter - def num_tx_vht_780_mbps(self, num_tx_vht_780_mbps): - """Sets the num_tx_vht_780_mbps of this RadioStatistics. - - - :param num_tx_vht_780_mbps: The num_tx_vht_780_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_780_mbps = num_tx_vht_780_mbps - - @property - def num_tx_vht_800_mbps(self): - """Gets the num_tx_vht_800_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_vht_800_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_800_mbps - - @num_tx_vht_800_mbps.setter - def num_tx_vht_800_mbps(self, num_tx_vht_800_mbps): - """Sets the num_tx_vht_800_mbps of this RadioStatistics. - - - :param num_tx_vht_800_mbps: The num_tx_vht_800_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_800_mbps = num_tx_vht_800_mbps - - @property - def num_tx_vht_866_7_mbps(self): - """Gets the num_tx_vht_866_7_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_vht_866_7_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_866_7_mbps - - @num_tx_vht_866_7_mbps.setter - def num_tx_vht_866_7_mbps(self, num_tx_vht_866_7_mbps): - """Sets the num_tx_vht_866_7_mbps of this RadioStatistics. - - - :param num_tx_vht_866_7_mbps: The num_tx_vht_866_7_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_866_7_mbps = num_tx_vht_866_7_mbps - - @property - def num_tx_vht_877_5_mbps(self): - """Gets the num_tx_vht_877_5_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_vht_877_5_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_877_5_mbps - - @num_tx_vht_877_5_mbps.setter - def num_tx_vht_877_5_mbps(self, num_tx_vht_877_5_mbps): - """Sets the num_tx_vht_877_5_mbps of this RadioStatistics. - - - :param num_tx_vht_877_5_mbps: The num_tx_vht_877_5_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_877_5_mbps = num_tx_vht_877_5_mbps - - @property - def num_tx_vht_936_mbps(self): - """Gets the num_tx_vht_936_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_vht_936_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_936_mbps - - @num_tx_vht_936_mbps.setter - def num_tx_vht_936_mbps(self, num_tx_vht_936_mbps): - """Sets the num_tx_vht_936_mbps of this RadioStatistics. - - - :param num_tx_vht_936_mbps: The num_tx_vht_936_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_936_mbps = num_tx_vht_936_mbps - - @property - def num_tx_vht_975_mbps(self): - """Gets the num_tx_vht_975_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_vht_975_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_975_mbps - - @num_tx_vht_975_mbps.setter - def num_tx_vht_975_mbps(self, num_tx_vht_975_mbps): - """Sets the num_tx_vht_975_mbps of this RadioStatistics. - - - :param num_tx_vht_975_mbps: The num_tx_vht_975_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_975_mbps = num_tx_vht_975_mbps - - @property - def num_tx_vht_1040_mbps(self): - """Gets the num_tx_vht_1040_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_vht_1040_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_1040_mbps - - @num_tx_vht_1040_mbps.setter - def num_tx_vht_1040_mbps(self, num_tx_vht_1040_mbps): - """Sets the num_tx_vht_1040_mbps of this RadioStatistics. - - - :param num_tx_vht_1040_mbps: The num_tx_vht_1040_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_1040_mbps = num_tx_vht_1040_mbps - - @property - def num_tx_vht_1053_mbps(self): - """Gets the num_tx_vht_1053_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_vht_1053_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_1053_mbps - - @num_tx_vht_1053_mbps.setter - def num_tx_vht_1053_mbps(self, num_tx_vht_1053_mbps): - """Sets the num_tx_vht_1053_mbps of this RadioStatistics. - - - :param num_tx_vht_1053_mbps: The num_tx_vht_1053_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_1053_mbps = num_tx_vht_1053_mbps - - @property - def num_tx_vht_1053_1_mbps(self): - """Gets the num_tx_vht_1053_1_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_vht_1053_1_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_1053_1_mbps - - @num_tx_vht_1053_1_mbps.setter - def num_tx_vht_1053_1_mbps(self, num_tx_vht_1053_1_mbps): - """Sets the num_tx_vht_1053_1_mbps of this RadioStatistics. - - - :param num_tx_vht_1053_1_mbps: The num_tx_vht_1053_1_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_1053_1_mbps = num_tx_vht_1053_1_mbps - - @property - def num_tx_vht_1170_mbps(self): - """Gets the num_tx_vht_1170_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_vht_1170_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_1170_mbps - - @num_tx_vht_1170_mbps.setter - def num_tx_vht_1170_mbps(self, num_tx_vht_1170_mbps): - """Sets the num_tx_vht_1170_mbps of this RadioStatistics. - - - :param num_tx_vht_1170_mbps: The num_tx_vht_1170_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_1170_mbps = num_tx_vht_1170_mbps - - @property - def num_tx_vht_1300_mbps(self): - """Gets the num_tx_vht_1300_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_vht_1300_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_1300_mbps - - @num_tx_vht_1300_mbps.setter - def num_tx_vht_1300_mbps(self, num_tx_vht_1300_mbps): - """Sets the num_tx_vht_1300_mbps of this RadioStatistics. - - - :param num_tx_vht_1300_mbps: The num_tx_vht_1300_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_1300_mbps = num_tx_vht_1300_mbps - - @property - def num_tx_vht_1404_mbps(self): - """Gets the num_tx_vht_1404_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_vht_1404_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_1404_mbps - - @num_tx_vht_1404_mbps.setter - def num_tx_vht_1404_mbps(self, num_tx_vht_1404_mbps): - """Sets the num_tx_vht_1404_mbps of this RadioStatistics. - - - :param num_tx_vht_1404_mbps: The num_tx_vht_1404_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_1404_mbps = num_tx_vht_1404_mbps - - @property - def num_tx_vht_1560_mbps(self): - """Gets the num_tx_vht_1560_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_vht_1560_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_1560_mbps - - @num_tx_vht_1560_mbps.setter - def num_tx_vht_1560_mbps(self, num_tx_vht_1560_mbps): - """Sets the num_tx_vht_1560_mbps of this RadioStatistics. - - - :param num_tx_vht_1560_mbps: The num_tx_vht_1560_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_1560_mbps = num_tx_vht_1560_mbps - - @property - def num_tx_vht_1579_5_mbps(self): - """Gets the num_tx_vht_1579_5_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_vht_1579_5_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_1579_5_mbps - - @num_tx_vht_1579_5_mbps.setter - def num_tx_vht_1579_5_mbps(self, num_tx_vht_1579_5_mbps): - """Sets the num_tx_vht_1579_5_mbps of this RadioStatistics. - - - :param num_tx_vht_1579_5_mbps: The num_tx_vht_1579_5_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_1579_5_mbps = num_tx_vht_1579_5_mbps - - @property - def num_tx_vht_1733_1_mbps(self): - """Gets the num_tx_vht_1733_1_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_vht_1733_1_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_1733_1_mbps - - @num_tx_vht_1733_1_mbps.setter - def num_tx_vht_1733_1_mbps(self, num_tx_vht_1733_1_mbps): - """Sets the num_tx_vht_1733_1_mbps of this RadioStatistics. - - - :param num_tx_vht_1733_1_mbps: The num_tx_vht_1733_1_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_1733_1_mbps = num_tx_vht_1733_1_mbps - - @property - def num_tx_vht_1733_4_mbps(self): - """Gets the num_tx_vht_1733_4_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_vht_1733_4_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_1733_4_mbps - - @num_tx_vht_1733_4_mbps.setter - def num_tx_vht_1733_4_mbps(self, num_tx_vht_1733_4_mbps): - """Sets the num_tx_vht_1733_4_mbps of this RadioStatistics. - - - :param num_tx_vht_1733_4_mbps: The num_tx_vht_1733_4_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_1733_4_mbps = num_tx_vht_1733_4_mbps - - @property - def num_tx_vht_1755_mbps(self): - """Gets the num_tx_vht_1755_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_vht_1755_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_1755_mbps - - @num_tx_vht_1755_mbps.setter - def num_tx_vht_1755_mbps(self, num_tx_vht_1755_mbps): - """Sets the num_tx_vht_1755_mbps of this RadioStatistics. - - - :param num_tx_vht_1755_mbps: The num_tx_vht_1755_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_1755_mbps = num_tx_vht_1755_mbps - - @property - def num_tx_vht_1872_mbps(self): - """Gets the num_tx_vht_1872_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_vht_1872_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_1872_mbps - - @num_tx_vht_1872_mbps.setter - def num_tx_vht_1872_mbps(self, num_tx_vht_1872_mbps): - """Sets the num_tx_vht_1872_mbps of this RadioStatistics. - - - :param num_tx_vht_1872_mbps: The num_tx_vht_1872_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_1872_mbps = num_tx_vht_1872_mbps - - @property - def num_tx_vht_1950_mbps(self): - """Gets the num_tx_vht_1950_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_vht_1950_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_1950_mbps - - @num_tx_vht_1950_mbps.setter - def num_tx_vht_1950_mbps(self, num_tx_vht_1950_mbps): - """Sets the num_tx_vht_1950_mbps of this RadioStatistics. - - - :param num_tx_vht_1950_mbps: The num_tx_vht_1950_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_1950_mbps = num_tx_vht_1950_mbps - - @property - def num_tx_vht_2080_mbps(self): - """Gets the num_tx_vht_2080_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_vht_2080_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_2080_mbps - - @num_tx_vht_2080_mbps.setter - def num_tx_vht_2080_mbps(self, num_tx_vht_2080_mbps): - """Sets the num_tx_vht_2080_mbps of this RadioStatistics. - - - :param num_tx_vht_2080_mbps: The num_tx_vht_2080_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_2080_mbps = num_tx_vht_2080_mbps - - @property - def num_tx_vht_2106_mbps(self): - """Gets the num_tx_vht_2106_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_vht_2106_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_2106_mbps - - @num_tx_vht_2106_mbps.setter - def num_tx_vht_2106_mbps(self, num_tx_vht_2106_mbps): - """Sets the num_tx_vht_2106_mbps of this RadioStatistics. - - - :param num_tx_vht_2106_mbps: The num_tx_vht_2106_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_2106_mbps = num_tx_vht_2106_mbps - - @property - def num_tx_vht_2340_mbps(self): - """Gets the num_tx_vht_2340_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_vht_2340_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_2340_mbps - - @num_tx_vht_2340_mbps.setter - def num_tx_vht_2340_mbps(self, num_tx_vht_2340_mbps): - """Sets the num_tx_vht_2340_mbps of this RadioStatistics. - - - :param num_tx_vht_2340_mbps: The num_tx_vht_2340_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_2340_mbps = num_tx_vht_2340_mbps - - @property - def num_tx_vht_2600_mbps(self): - """Gets the num_tx_vht_2600_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_vht_2600_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_2600_mbps - - @num_tx_vht_2600_mbps.setter - def num_tx_vht_2600_mbps(self, num_tx_vht_2600_mbps): - """Sets the num_tx_vht_2600_mbps of this RadioStatistics. - - - :param num_tx_vht_2600_mbps: The num_tx_vht_2600_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_2600_mbps = num_tx_vht_2600_mbps - - @property - def num_tx_vht_2808_mbps(self): - """Gets the num_tx_vht_2808_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_vht_2808_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_2808_mbps - - @num_tx_vht_2808_mbps.setter - def num_tx_vht_2808_mbps(self, num_tx_vht_2808_mbps): - """Sets the num_tx_vht_2808_mbps of this RadioStatistics. - - - :param num_tx_vht_2808_mbps: The num_tx_vht_2808_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_2808_mbps = num_tx_vht_2808_mbps - - @property - def num_tx_vht_3120_mbps(self): - """Gets the num_tx_vht_3120_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_vht_3120_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_3120_mbps - - @num_tx_vht_3120_mbps.setter - def num_tx_vht_3120_mbps(self, num_tx_vht_3120_mbps): - """Sets the num_tx_vht_3120_mbps of this RadioStatistics. - - - :param num_tx_vht_3120_mbps: The num_tx_vht_3120_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_3120_mbps = num_tx_vht_3120_mbps - - @property - def num_tx_vht_3466_8_mbps(self): - """Gets the num_tx_vht_3466_8_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_tx_vht_3466_8_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_vht_3466_8_mbps - - @num_tx_vht_3466_8_mbps.setter - def num_tx_vht_3466_8_mbps(self, num_tx_vht_3466_8_mbps): - """Sets the num_tx_vht_3466_8_mbps of this RadioStatistics. - - - :param num_tx_vht_3466_8_mbps: The num_tx_vht_3466_8_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_vht_3466_8_mbps = num_tx_vht_3466_8_mbps - - @property - def num_rx_vht_292_5_mbps(self): - """Gets the num_rx_vht_292_5_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_vht_292_5_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_292_5_mbps - - @num_rx_vht_292_5_mbps.setter - def num_rx_vht_292_5_mbps(self, num_rx_vht_292_5_mbps): - """Sets the num_rx_vht_292_5_mbps of this RadioStatistics. - - - :param num_rx_vht_292_5_mbps: The num_rx_vht_292_5_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_292_5_mbps = num_rx_vht_292_5_mbps - - @property - def num_rx_vht_325_mbps(self): - """Gets the num_rx_vht_325_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_vht_325_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_325_mbps - - @num_rx_vht_325_mbps.setter - def num_rx_vht_325_mbps(self, num_rx_vht_325_mbps): - """Sets the num_rx_vht_325_mbps of this RadioStatistics. - - - :param num_rx_vht_325_mbps: The num_rx_vht_325_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_325_mbps = num_rx_vht_325_mbps - - @property - def num_rx_vht_364_5_mbps(self): - """Gets the num_rx_vht_364_5_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_vht_364_5_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_364_5_mbps - - @num_rx_vht_364_5_mbps.setter - def num_rx_vht_364_5_mbps(self, num_rx_vht_364_5_mbps): - """Sets the num_rx_vht_364_5_mbps of this RadioStatistics. - - - :param num_rx_vht_364_5_mbps: The num_rx_vht_364_5_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_364_5_mbps = num_rx_vht_364_5_mbps - - @property - def num_rx_vht_390_mbps(self): - """Gets the num_rx_vht_390_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_vht_390_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_390_mbps - - @num_rx_vht_390_mbps.setter - def num_rx_vht_390_mbps(self, num_rx_vht_390_mbps): - """Sets the num_rx_vht_390_mbps of this RadioStatistics. - - - :param num_rx_vht_390_mbps: The num_rx_vht_390_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_390_mbps = num_rx_vht_390_mbps - - @property - def num_rx_vht_400_mbps(self): - """Gets the num_rx_vht_400_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_vht_400_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_400_mbps - - @num_rx_vht_400_mbps.setter - def num_rx_vht_400_mbps(self, num_rx_vht_400_mbps): - """Sets the num_rx_vht_400_mbps of this RadioStatistics. - - - :param num_rx_vht_400_mbps: The num_rx_vht_400_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_400_mbps = num_rx_vht_400_mbps - - @property - def num_rx_vht_403_mbps(self): - """Gets the num_rx_vht_403_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_vht_403_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_403_mbps - - @num_rx_vht_403_mbps.setter - def num_rx_vht_403_mbps(self, num_rx_vht_403_mbps): - """Sets the num_rx_vht_403_mbps of this RadioStatistics. - - - :param num_rx_vht_403_mbps: The num_rx_vht_403_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_403_mbps = num_rx_vht_403_mbps - - @property - def num_rx_vht_405_mbps(self): - """Gets the num_rx_vht_405_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_vht_405_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_405_mbps - - @num_rx_vht_405_mbps.setter - def num_rx_vht_405_mbps(self, num_rx_vht_405_mbps): - """Sets the num_rx_vht_405_mbps of this RadioStatistics. - - - :param num_rx_vht_405_mbps: The num_rx_vht_405_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_405_mbps = num_rx_vht_405_mbps - - @property - def num_rx_vht_432_mbps(self): - """Gets the num_rx_vht_432_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_vht_432_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_432_mbps - - @num_rx_vht_432_mbps.setter - def num_rx_vht_432_mbps(self, num_rx_vht_432_mbps): - """Sets the num_rx_vht_432_mbps of this RadioStatistics. - - - :param num_rx_vht_432_mbps: The num_rx_vht_432_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_432_mbps = num_rx_vht_432_mbps - - @property - def num_rx_vht_433_2_mbps(self): - """Gets the num_rx_vht_433_2_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_vht_433_2_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_433_2_mbps - - @num_rx_vht_433_2_mbps.setter - def num_rx_vht_433_2_mbps(self, num_rx_vht_433_2_mbps): - """Sets the num_rx_vht_433_2_mbps of this RadioStatistics. - - - :param num_rx_vht_433_2_mbps: The num_rx_vht_433_2_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_433_2_mbps = num_rx_vht_433_2_mbps - - @property - def num_rx_vht_450_mbps(self): - """Gets the num_rx_vht_450_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_vht_450_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_450_mbps - - @num_rx_vht_450_mbps.setter - def num_rx_vht_450_mbps(self, num_rx_vht_450_mbps): - """Sets the num_rx_vht_450_mbps of this RadioStatistics. - - - :param num_rx_vht_450_mbps: The num_rx_vht_450_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_450_mbps = num_rx_vht_450_mbps - - @property - def num_rx_vht_468_mbps(self): - """Gets the num_rx_vht_468_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_vht_468_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_468_mbps - - @num_rx_vht_468_mbps.setter - def num_rx_vht_468_mbps(self, num_rx_vht_468_mbps): - """Sets the num_rx_vht_468_mbps of this RadioStatistics. - - - :param num_rx_vht_468_mbps: The num_rx_vht_468_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_468_mbps = num_rx_vht_468_mbps - - @property - def num_rx_vht_480_mbps(self): - """Gets the num_rx_vht_480_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_vht_480_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_480_mbps - - @num_rx_vht_480_mbps.setter - def num_rx_vht_480_mbps(self, num_rx_vht_480_mbps): - """Sets the num_rx_vht_480_mbps of this RadioStatistics. - - - :param num_rx_vht_480_mbps: The num_rx_vht_480_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_480_mbps = num_rx_vht_480_mbps - - @property - def num_rx_vht_486_mbps(self): - """Gets the num_rx_vht_486_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_vht_486_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_486_mbps - - @num_rx_vht_486_mbps.setter - def num_rx_vht_486_mbps(self, num_rx_vht_486_mbps): - """Sets the num_rx_vht_486_mbps of this RadioStatistics. - - - :param num_rx_vht_486_mbps: The num_rx_vht_486_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_486_mbps = num_rx_vht_486_mbps - - @property - def num_rx_vht_520_mbps(self): - """Gets the num_rx_vht_520_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_vht_520_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_520_mbps - - @num_rx_vht_520_mbps.setter - def num_rx_vht_520_mbps(self, num_rx_vht_520_mbps): - """Sets the num_rx_vht_520_mbps of this RadioStatistics. - - - :param num_rx_vht_520_mbps: The num_rx_vht_520_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_520_mbps = num_rx_vht_520_mbps - - @property - def num_rx_vht_526_5_mbps(self): - """Gets the num_rx_vht_526_5_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_vht_526_5_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_526_5_mbps - - @num_rx_vht_526_5_mbps.setter - def num_rx_vht_526_5_mbps(self, num_rx_vht_526_5_mbps): - """Sets the num_rx_vht_526_5_mbps of this RadioStatistics. - - - :param num_rx_vht_526_5_mbps: The num_rx_vht_526_5_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_526_5_mbps = num_rx_vht_526_5_mbps - - @property - def num_rx_vht_540_mbps(self): - """Gets the num_rx_vht_540_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_vht_540_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_540_mbps - - @num_rx_vht_540_mbps.setter - def num_rx_vht_540_mbps(self, num_rx_vht_540_mbps): - """Sets the num_rx_vht_540_mbps of this RadioStatistics. - - - :param num_rx_vht_540_mbps: The num_rx_vht_540_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_540_mbps = num_rx_vht_540_mbps - - @property - def num_rx_vht_585_mbps(self): - """Gets the num_rx_vht_585_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_vht_585_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_585_mbps - - @num_rx_vht_585_mbps.setter - def num_rx_vht_585_mbps(self, num_rx_vht_585_mbps): - """Sets the num_rx_vht_585_mbps of this RadioStatistics. - - - :param num_rx_vht_585_mbps: The num_rx_vht_585_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_585_mbps = num_rx_vht_585_mbps - - @property - def num_rx_vht_600_mbps(self): - """Gets the num_rx_vht_600_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_vht_600_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_600_mbps - - @num_rx_vht_600_mbps.setter - def num_rx_vht_600_mbps(self, num_rx_vht_600_mbps): - """Sets the num_rx_vht_600_mbps of this RadioStatistics. - - - :param num_rx_vht_600_mbps: The num_rx_vht_600_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_600_mbps = num_rx_vht_600_mbps - - @property - def num_rx_vht_648_mbps(self): - """Gets the num_rx_vht_648_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_vht_648_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_648_mbps - - @num_rx_vht_648_mbps.setter - def num_rx_vht_648_mbps(self, num_rx_vht_648_mbps): - """Sets the num_rx_vht_648_mbps of this RadioStatistics. - - - :param num_rx_vht_648_mbps: The num_rx_vht_648_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_648_mbps = num_rx_vht_648_mbps - - @property - def num_rx_vht_650_mbps(self): - """Gets the num_rx_vht_650_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_vht_650_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_650_mbps - - @num_rx_vht_650_mbps.setter - def num_rx_vht_650_mbps(self, num_rx_vht_650_mbps): - """Sets the num_rx_vht_650_mbps of this RadioStatistics. - - - :param num_rx_vht_650_mbps: The num_rx_vht_650_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_650_mbps = num_rx_vht_650_mbps - - @property - def num_rx_vht_702_mbps(self): - """Gets the num_rx_vht_702_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_vht_702_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_702_mbps - - @num_rx_vht_702_mbps.setter - def num_rx_vht_702_mbps(self, num_rx_vht_702_mbps): - """Sets the num_rx_vht_702_mbps of this RadioStatistics. - - - :param num_rx_vht_702_mbps: The num_rx_vht_702_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_702_mbps = num_rx_vht_702_mbps - - @property - def num_rx_vht_720_mbps(self): - """Gets the num_rx_vht_720_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_vht_720_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_720_mbps - - @num_rx_vht_720_mbps.setter - def num_rx_vht_720_mbps(self, num_rx_vht_720_mbps): - """Sets the num_rx_vht_720_mbps of this RadioStatistics. - - - :param num_rx_vht_720_mbps: The num_rx_vht_720_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_720_mbps = num_rx_vht_720_mbps - - @property - def num_rx_vht_780_mbps(self): - """Gets the num_rx_vht_780_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_vht_780_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_780_mbps - - @num_rx_vht_780_mbps.setter - def num_rx_vht_780_mbps(self, num_rx_vht_780_mbps): - """Sets the num_rx_vht_780_mbps of this RadioStatistics. - - - :param num_rx_vht_780_mbps: The num_rx_vht_780_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_780_mbps = num_rx_vht_780_mbps - - @property - def num_rx_vht_800_mbps(self): - """Gets the num_rx_vht_800_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_vht_800_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_800_mbps - - @num_rx_vht_800_mbps.setter - def num_rx_vht_800_mbps(self, num_rx_vht_800_mbps): - """Sets the num_rx_vht_800_mbps of this RadioStatistics. - - - :param num_rx_vht_800_mbps: The num_rx_vht_800_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_800_mbps = num_rx_vht_800_mbps - - @property - def num_rx_vht_866_7_mbps(self): - """Gets the num_rx_vht_866_7_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_vht_866_7_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_866_7_mbps - - @num_rx_vht_866_7_mbps.setter - def num_rx_vht_866_7_mbps(self, num_rx_vht_866_7_mbps): - """Sets the num_rx_vht_866_7_mbps of this RadioStatistics. - - - :param num_rx_vht_866_7_mbps: The num_rx_vht_866_7_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_866_7_mbps = num_rx_vht_866_7_mbps - - @property - def num_rx_vht_877_5_mbps(self): - """Gets the num_rx_vht_877_5_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_vht_877_5_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_877_5_mbps - - @num_rx_vht_877_5_mbps.setter - def num_rx_vht_877_5_mbps(self, num_rx_vht_877_5_mbps): - """Sets the num_rx_vht_877_5_mbps of this RadioStatistics. - - - :param num_rx_vht_877_5_mbps: The num_rx_vht_877_5_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_877_5_mbps = num_rx_vht_877_5_mbps - - @property - def num_rx_vht_936_mbps(self): - """Gets the num_rx_vht_936_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_vht_936_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_936_mbps - - @num_rx_vht_936_mbps.setter - def num_rx_vht_936_mbps(self, num_rx_vht_936_mbps): - """Sets the num_rx_vht_936_mbps of this RadioStatistics. - - - :param num_rx_vht_936_mbps: The num_rx_vht_936_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_936_mbps = num_rx_vht_936_mbps - - @property - def num_rx_vht_975_mbps(self): - """Gets the num_rx_vht_975_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_vht_975_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_975_mbps - - @num_rx_vht_975_mbps.setter - def num_rx_vht_975_mbps(self, num_rx_vht_975_mbps): - """Sets the num_rx_vht_975_mbps of this RadioStatistics. - - - :param num_rx_vht_975_mbps: The num_rx_vht_975_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_975_mbps = num_rx_vht_975_mbps - - @property - def num_rx_vht_1040_mbps(self): - """Gets the num_rx_vht_1040_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_vht_1040_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_1040_mbps - - @num_rx_vht_1040_mbps.setter - def num_rx_vht_1040_mbps(self, num_rx_vht_1040_mbps): - """Sets the num_rx_vht_1040_mbps of this RadioStatistics. - - - :param num_rx_vht_1040_mbps: The num_rx_vht_1040_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_1040_mbps = num_rx_vht_1040_mbps - - @property - def num_rx_vht_1053_mbps(self): - """Gets the num_rx_vht_1053_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_vht_1053_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_1053_mbps - - @num_rx_vht_1053_mbps.setter - def num_rx_vht_1053_mbps(self, num_rx_vht_1053_mbps): - """Sets the num_rx_vht_1053_mbps of this RadioStatistics. - - - :param num_rx_vht_1053_mbps: The num_rx_vht_1053_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_1053_mbps = num_rx_vht_1053_mbps - - @property - def num_rx_vht_1053_1_mbps(self): - """Gets the num_rx_vht_1053_1_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_vht_1053_1_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_1053_1_mbps - - @num_rx_vht_1053_1_mbps.setter - def num_rx_vht_1053_1_mbps(self, num_rx_vht_1053_1_mbps): - """Sets the num_rx_vht_1053_1_mbps of this RadioStatistics. - - - :param num_rx_vht_1053_1_mbps: The num_rx_vht_1053_1_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_1053_1_mbps = num_rx_vht_1053_1_mbps - - @property - def num_rx_vht_1170_mbps(self): - """Gets the num_rx_vht_1170_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_vht_1170_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_1170_mbps - - @num_rx_vht_1170_mbps.setter - def num_rx_vht_1170_mbps(self, num_rx_vht_1170_mbps): - """Sets the num_rx_vht_1170_mbps of this RadioStatistics. - - - :param num_rx_vht_1170_mbps: The num_rx_vht_1170_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_1170_mbps = num_rx_vht_1170_mbps - - @property - def num_rx_vht_1300_mbps(self): - """Gets the num_rx_vht_1300_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_vht_1300_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_1300_mbps - - @num_rx_vht_1300_mbps.setter - def num_rx_vht_1300_mbps(self, num_rx_vht_1300_mbps): - """Sets the num_rx_vht_1300_mbps of this RadioStatistics. - - - :param num_rx_vht_1300_mbps: The num_rx_vht_1300_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_1300_mbps = num_rx_vht_1300_mbps - - @property - def num_rx_vht_1404_mbps(self): - """Gets the num_rx_vht_1404_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_vht_1404_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_1404_mbps - - @num_rx_vht_1404_mbps.setter - def num_rx_vht_1404_mbps(self, num_rx_vht_1404_mbps): - """Sets the num_rx_vht_1404_mbps of this RadioStatistics. - - - :param num_rx_vht_1404_mbps: The num_rx_vht_1404_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_1404_mbps = num_rx_vht_1404_mbps - - @property - def num_rx_vht_1560_mbps(self): - """Gets the num_rx_vht_1560_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_vht_1560_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_1560_mbps - - @num_rx_vht_1560_mbps.setter - def num_rx_vht_1560_mbps(self, num_rx_vht_1560_mbps): - """Sets the num_rx_vht_1560_mbps of this RadioStatistics. - - - :param num_rx_vht_1560_mbps: The num_rx_vht_1560_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_1560_mbps = num_rx_vht_1560_mbps - - @property - def num_rx_vht_1579_5_mbps(self): - """Gets the num_rx_vht_1579_5_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_vht_1579_5_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_1579_5_mbps - - @num_rx_vht_1579_5_mbps.setter - def num_rx_vht_1579_5_mbps(self, num_rx_vht_1579_5_mbps): - """Sets the num_rx_vht_1579_5_mbps of this RadioStatistics. - - - :param num_rx_vht_1579_5_mbps: The num_rx_vht_1579_5_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_1579_5_mbps = num_rx_vht_1579_5_mbps - - @property - def num_rx_vht_1733_1_mbps(self): - """Gets the num_rx_vht_1733_1_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_vht_1733_1_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_1733_1_mbps - - @num_rx_vht_1733_1_mbps.setter - def num_rx_vht_1733_1_mbps(self, num_rx_vht_1733_1_mbps): - """Sets the num_rx_vht_1733_1_mbps of this RadioStatistics. - - - :param num_rx_vht_1733_1_mbps: The num_rx_vht_1733_1_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_1733_1_mbps = num_rx_vht_1733_1_mbps - - @property - def num_rx_vht_1733_4_mbps(self): - """Gets the num_rx_vht_1733_4_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_vht_1733_4_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_1733_4_mbps - - @num_rx_vht_1733_4_mbps.setter - def num_rx_vht_1733_4_mbps(self, num_rx_vht_1733_4_mbps): - """Sets the num_rx_vht_1733_4_mbps of this RadioStatistics. - - - :param num_rx_vht_1733_4_mbps: The num_rx_vht_1733_4_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_1733_4_mbps = num_rx_vht_1733_4_mbps - - @property - def num_rx_vht_1755_mbps(self): - """Gets the num_rx_vht_1755_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_vht_1755_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_1755_mbps - - @num_rx_vht_1755_mbps.setter - def num_rx_vht_1755_mbps(self, num_rx_vht_1755_mbps): - """Sets the num_rx_vht_1755_mbps of this RadioStatistics. - - - :param num_rx_vht_1755_mbps: The num_rx_vht_1755_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_1755_mbps = num_rx_vht_1755_mbps - - @property - def num_rx_vht_1872_mbps(self): - """Gets the num_rx_vht_1872_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_vht_1872_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_1872_mbps - - @num_rx_vht_1872_mbps.setter - def num_rx_vht_1872_mbps(self, num_rx_vht_1872_mbps): - """Sets the num_rx_vht_1872_mbps of this RadioStatistics. - - - :param num_rx_vht_1872_mbps: The num_rx_vht_1872_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_1872_mbps = num_rx_vht_1872_mbps - - @property - def num_rx_vht_1950_mbps(self): - """Gets the num_rx_vht_1950_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_vht_1950_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_1950_mbps - - @num_rx_vht_1950_mbps.setter - def num_rx_vht_1950_mbps(self, num_rx_vht_1950_mbps): - """Sets the num_rx_vht_1950_mbps of this RadioStatistics. - - - :param num_rx_vht_1950_mbps: The num_rx_vht_1950_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_1950_mbps = num_rx_vht_1950_mbps - - @property - def num_rx_vht_2080_mbps(self): - """Gets the num_rx_vht_2080_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_vht_2080_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_2080_mbps - - @num_rx_vht_2080_mbps.setter - def num_rx_vht_2080_mbps(self, num_rx_vht_2080_mbps): - """Sets the num_rx_vht_2080_mbps of this RadioStatistics. - - - :param num_rx_vht_2080_mbps: The num_rx_vht_2080_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_2080_mbps = num_rx_vht_2080_mbps - - @property - def num_rx_vht_2106_mbps(self): - """Gets the num_rx_vht_2106_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_vht_2106_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_2106_mbps - - @num_rx_vht_2106_mbps.setter - def num_rx_vht_2106_mbps(self, num_rx_vht_2106_mbps): - """Sets the num_rx_vht_2106_mbps of this RadioStatistics. - - - :param num_rx_vht_2106_mbps: The num_rx_vht_2106_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_2106_mbps = num_rx_vht_2106_mbps - - @property - def num_rx_vht_2340_mbps(self): - """Gets the num_rx_vht_2340_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_vht_2340_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_2340_mbps - - @num_rx_vht_2340_mbps.setter - def num_rx_vht_2340_mbps(self, num_rx_vht_2340_mbps): - """Sets the num_rx_vht_2340_mbps of this RadioStatistics. - - - :param num_rx_vht_2340_mbps: The num_rx_vht_2340_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_2340_mbps = num_rx_vht_2340_mbps - - @property - def num_rx_vht_2600_mbps(self): - """Gets the num_rx_vht_2600_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_vht_2600_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_2600_mbps - - @num_rx_vht_2600_mbps.setter - def num_rx_vht_2600_mbps(self, num_rx_vht_2600_mbps): - """Sets the num_rx_vht_2600_mbps of this RadioStatistics. - - - :param num_rx_vht_2600_mbps: The num_rx_vht_2600_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_2600_mbps = num_rx_vht_2600_mbps - - @property - def num_rx_vht_2808_mbps(self): - """Gets the num_rx_vht_2808_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_vht_2808_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_2808_mbps - - @num_rx_vht_2808_mbps.setter - def num_rx_vht_2808_mbps(self, num_rx_vht_2808_mbps): - """Sets the num_rx_vht_2808_mbps of this RadioStatistics. - - - :param num_rx_vht_2808_mbps: The num_rx_vht_2808_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_2808_mbps = num_rx_vht_2808_mbps - - @property - def num_rx_vht_3120_mbps(self): - """Gets the num_rx_vht_3120_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_vht_3120_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_3120_mbps - - @num_rx_vht_3120_mbps.setter - def num_rx_vht_3120_mbps(self, num_rx_vht_3120_mbps): - """Sets the num_rx_vht_3120_mbps of this RadioStatistics. - - - :param num_rx_vht_3120_mbps: The num_rx_vht_3120_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_3120_mbps = num_rx_vht_3120_mbps - - @property - def num_rx_vht_3466_8_mbps(self): - """Gets the num_rx_vht_3466_8_mbps of this RadioStatistics. # noqa: E501 - - - :return: The num_rx_vht_3466_8_mbps of this RadioStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_vht_3466_8_mbps - - @num_rx_vht_3466_8_mbps.setter - def num_rx_vht_3466_8_mbps(self, num_rx_vht_3466_8_mbps): - """Sets the num_rx_vht_3466_8_mbps of this RadioStatistics. - - - :param num_rx_vht_3466_8_mbps: The num_rx_vht_3466_8_mbps of this RadioStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_vht_3466_8_mbps = num_rx_vht_3466_8_mbps - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(RadioStatistics, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, RadioStatistics): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/radio_statistics_per_radio_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/radio_statistics_per_radio_map.py deleted file mode 100644 index 5ae7406c2..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/radio_statistics_per_radio_map.py +++ /dev/null @@ -1,188 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class RadioStatisticsPerRadioMap(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'is5_g_hz': 'RadioStatistics', - 'is5_g_hz_u': 'RadioStatistics', - 'is5_g_hz_l': 'RadioStatistics', - 'is2dot4_g_hz': 'RadioStatistics' - } - - attribute_map = { - 'is5_g_hz': 'is5GHz', - 'is5_g_hz_u': 'is5GHzU', - 'is5_g_hz_l': 'is5GHzL', - 'is2dot4_g_hz': 'is2dot4GHz' - } - - def __init__(self, is5_g_hz=None, is5_g_hz_u=None, is5_g_hz_l=None, is2dot4_g_hz=None): # noqa: E501 - """RadioStatisticsPerRadioMap - a model defined in Swagger""" # noqa: E501 - self._is5_g_hz = None - self._is5_g_hz_u = None - self._is5_g_hz_l = None - self._is2dot4_g_hz = None - self.discriminator = None - if is5_g_hz is not None: - self.is5_g_hz = is5_g_hz - if is5_g_hz_u is not None: - self.is5_g_hz_u = is5_g_hz_u - if is5_g_hz_l is not None: - self.is5_g_hz_l = is5_g_hz_l - if is2dot4_g_hz is not None: - self.is2dot4_g_hz = is2dot4_g_hz - - @property - def is5_g_hz(self): - """Gets the is5_g_hz of this RadioStatisticsPerRadioMap. # noqa: E501 - - - :return: The is5_g_hz of this RadioStatisticsPerRadioMap. # noqa: E501 - :rtype: RadioStatistics - """ - return self._is5_g_hz - - @is5_g_hz.setter - def is5_g_hz(self, is5_g_hz): - """Sets the is5_g_hz of this RadioStatisticsPerRadioMap. - - - :param is5_g_hz: The is5_g_hz of this RadioStatisticsPerRadioMap. # noqa: E501 - :type: RadioStatistics - """ - - self._is5_g_hz = is5_g_hz - - @property - def is5_g_hz_u(self): - """Gets the is5_g_hz_u of this RadioStatisticsPerRadioMap. # noqa: E501 - - - :return: The is5_g_hz_u of this RadioStatisticsPerRadioMap. # noqa: E501 - :rtype: RadioStatistics - """ - return self._is5_g_hz_u - - @is5_g_hz_u.setter - def is5_g_hz_u(self, is5_g_hz_u): - """Sets the is5_g_hz_u of this RadioStatisticsPerRadioMap. - - - :param is5_g_hz_u: The is5_g_hz_u of this RadioStatisticsPerRadioMap. # noqa: E501 - :type: RadioStatistics - """ - - self._is5_g_hz_u = is5_g_hz_u - - @property - def is5_g_hz_l(self): - """Gets the is5_g_hz_l of this RadioStatisticsPerRadioMap. # noqa: E501 - - - :return: The is5_g_hz_l of this RadioStatisticsPerRadioMap. # noqa: E501 - :rtype: RadioStatistics - """ - return self._is5_g_hz_l - - @is5_g_hz_l.setter - def is5_g_hz_l(self, is5_g_hz_l): - """Sets the is5_g_hz_l of this RadioStatisticsPerRadioMap. - - - :param is5_g_hz_l: The is5_g_hz_l of this RadioStatisticsPerRadioMap. # noqa: E501 - :type: RadioStatistics - """ - - self._is5_g_hz_l = is5_g_hz_l - - @property - def is2dot4_g_hz(self): - """Gets the is2dot4_g_hz of this RadioStatisticsPerRadioMap. # noqa: E501 - - - :return: The is2dot4_g_hz of this RadioStatisticsPerRadioMap. # noqa: E501 - :rtype: RadioStatistics - """ - return self._is2dot4_g_hz - - @is2dot4_g_hz.setter - def is2dot4_g_hz(self, is2dot4_g_hz): - """Sets the is2dot4_g_hz of this RadioStatisticsPerRadioMap. - - - :param is2dot4_g_hz: The is2dot4_g_hz of this RadioStatisticsPerRadioMap. # noqa: E501 - :type: RadioStatistics - """ - - self._is2dot4_g_hz = is2dot4_g_hz - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(RadioStatisticsPerRadioMap, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, RadioStatisticsPerRadioMap): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/radio_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/radio_type.py deleted file mode 100644 index b6b8bbf33..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/radio_type.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class RadioType(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - IS5GHZ = "is5GHz" - IS2DOT4GHZ = "is2dot4GHz" - IS5GHZU = "is5GHzU" - IS5GHZL = "is5GHzL" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """RadioType - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(RadioType, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, RadioType): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/radio_utilization.py b/libs/cloudapi/cloudsdk/swagger_client/models/radio_utilization.py deleted file mode 100644 index 10764d425..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/radio_utilization.py +++ /dev/null @@ -1,292 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class RadioUtilization(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'assoc_client_tx': 'int', - 'unassoc_client_tx': 'int', - 'assoc_client_rx': 'int', - 'unassoc_client_rx': 'int', - 'non_wifi': 'int', - 'timestamp_seconds': 'int', - 'ibss': 'float', - 'un_available_capacity': 'float' - } - - attribute_map = { - 'assoc_client_tx': 'assocClientTx', - 'unassoc_client_tx': 'unassocClientTx', - 'assoc_client_rx': 'assocClientRx', - 'unassoc_client_rx': 'unassocClientRx', - 'non_wifi': 'nonWifi', - 'timestamp_seconds': 'timestampSeconds', - 'ibss': 'ibss', - 'un_available_capacity': 'unAvailableCapacity' - } - - def __init__(self, assoc_client_tx=None, unassoc_client_tx=None, assoc_client_rx=None, unassoc_client_rx=None, non_wifi=None, timestamp_seconds=None, ibss=None, un_available_capacity=None): # noqa: E501 - """RadioUtilization - a model defined in Swagger""" # noqa: E501 - self._assoc_client_tx = None - self._unassoc_client_tx = None - self._assoc_client_rx = None - self._unassoc_client_rx = None - self._non_wifi = None - self._timestamp_seconds = None - self._ibss = None - self._un_available_capacity = None - self.discriminator = None - if assoc_client_tx is not None: - self.assoc_client_tx = assoc_client_tx - if unassoc_client_tx is not None: - self.unassoc_client_tx = unassoc_client_tx - if assoc_client_rx is not None: - self.assoc_client_rx = assoc_client_rx - if unassoc_client_rx is not None: - self.unassoc_client_rx = unassoc_client_rx - if non_wifi is not None: - self.non_wifi = non_wifi - if timestamp_seconds is not None: - self.timestamp_seconds = timestamp_seconds - if ibss is not None: - self.ibss = ibss - if un_available_capacity is not None: - self.un_available_capacity = un_available_capacity - - @property - def assoc_client_tx(self): - """Gets the assoc_client_tx of this RadioUtilization. # noqa: E501 - - - :return: The assoc_client_tx of this RadioUtilization. # noqa: E501 - :rtype: int - """ - return self._assoc_client_tx - - @assoc_client_tx.setter - def assoc_client_tx(self, assoc_client_tx): - """Sets the assoc_client_tx of this RadioUtilization. - - - :param assoc_client_tx: The assoc_client_tx of this RadioUtilization. # noqa: E501 - :type: int - """ - - self._assoc_client_tx = assoc_client_tx - - @property - def unassoc_client_tx(self): - """Gets the unassoc_client_tx of this RadioUtilization. # noqa: E501 - - - :return: The unassoc_client_tx of this RadioUtilization. # noqa: E501 - :rtype: int - """ - return self._unassoc_client_tx - - @unassoc_client_tx.setter - def unassoc_client_tx(self, unassoc_client_tx): - """Sets the unassoc_client_tx of this RadioUtilization. - - - :param unassoc_client_tx: The unassoc_client_tx of this RadioUtilization. # noqa: E501 - :type: int - """ - - self._unassoc_client_tx = unassoc_client_tx - - @property - def assoc_client_rx(self): - """Gets the assoc_client_rx of this RadioUtilization. # noqa: E501 - - - :return: The assoc_client_rx of this RadioUtilization. # noqa: E501 - :rtype: int - """ - return self._assoc_client_rx - - @assoc_client_rx.setter - def assoc_client_rx(self, assoc_client_rx): - """Sets the assoc_client_rx of this RadioUtilization. - - - :param assoc_client_rx: The assoc_client_rx of this RadioUtilization. # noqa: E501 - :type: int - """ - - self._assoc_client_rx = assoc_client_rx - - @property - def unassoc_client_rx(self): - """Gets the unassoc_client_rx of this RadioUtilization. # noqa: E501 - - - :return: The unassoc_client_rx of this RadioUtilization. # noqa: E501 - :rtype: int - """ - return self._unassoc_client_rx - - @unassoc_client_rx.setter - def unassoc_client_rx(self, unassoc_client_rx): - """Sets the unassoc_client_rx of this RadioUtilization. - - - :param unassoc_client_rx: The unassoc_client_rx of this RadioUtilization. # noqa: E501 - :type: int - """ - - self._unassoc_client_rx = unassoc_client_rx - - @property - def non_wifi(self): - """Gets the non_wifi of this RadioUtilization. # noqa: E501 - - - :return: The non_wifi of this RadioUtilization. # noqa: E501 - :rtype: int - """ - return self._non_wifi - - @non_wifi.setter - def non_wifi(self, non_wifi): - """Sets the non_wifi of this RadioUtilization. - - - :param non_wifi: The non_wifi of this RadioUtilization. # noqa: E501 - :type: int - """ - - self._non_wifi = non_wifi - - @property - def timestamp_seconds(self): - """Gets the timestamp_seconds of this RadioUtilization. # noqa: E501 - - - :return: The timestamp_seconds of this RadioUtilization. # noqa: E501 - :rtype: int - """ - return self._timestamp_seconds - - @timestamp_seconds.setter - def timestamp_seconds(self, timestamp_seconds): - """Sets the timestamp_seconds of this RadioUtilization. - - - :param timestamp_seconds: The timestamp_seconds of this RadioUtilization. # noqa: E501 - :type: int - """ - - self._timestamp_seconds = timestamp_seconds - - @property - def ibss(self): - """Gets the ibss of this RadioUtilization. # noqa: E501 - - - :return: The ibss of this RadioUtilization. # noqa: E501 - :rtype: float - """ - return self._ibss - - @ibss.setter - def ibss(self, ibss): - """Sets the ibss of this RadioUtilization. - - - :param ibss: The ibss of this RadioUtilization. # noqa: E501 - :type: float - """ - - self._ibss = ibss - - @property - def un_available_capacity(self): - """Gets the un_available_capacity of this RadioUtilization. # noqa: E501 - - - :return: The un_available_capacity of this RadioUtilization. # noqa: E501 - :rtype: float - """ - return self._un_available_capacity - - @un_available_capacity.setter - def un_available_capacity(self, un_available_capacity): - """Sets the un_available_capacity of this RadioUtilization. - - - :param un_available_capacity: The un_available_capacity of this RadioUtilization. # noqa: E501 - :type: float - """ - - self._un_available_capacity = un_available_capacity - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(RadioUtilization, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, RadioUtilization): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/radio_utilization_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/radio_utilization_details.py deleted file mode 100644 index d3dd952a1..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/radio_utilization_details.py +++ /dev/null @@ -1,110 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class RadioUtilizationDetails(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'per_radio_details': 'RadioUtilizationPerRadioDetailsMap' - } - - attribute_map = { - 'per_radio_details': 'perRadioDetails' - } - - def __init__(self, per_radio_details=None): # noqa: E501 - """RadioUtilizationDetails - a model defined in Swagger""" # noqa: E501 - self._per_radio_details = None - self.discriminator = None - if per_radio_details is not None: - self.per_radio_details = per_radio_details - - @property - def per_radio_details(self): - """Gets the per_radio_details of this RadioUtilizationDetails. # noqa: E501 - - - :return: The per_radio_details of this RadioUtilizationDetails. # noqa: E501 - :rtype: RadioUtilizationPerRadioDetailsMap - """ - return self._per_radio_details - - @per_radio_details.setter - def per_radio_details(self, per_radio_details): - """Sets the per_radio_details of this RadioUtilizationDetails. - - - :param per_radio_details: The per_radio_details of this RadioUtilizationDetails. # noqa: E501 - :type: RadioUtilizationPerRadioDetailsMap - """ - - self._per_radio_details = per_radio_details - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(RadioUtilizationDetails, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, RadioUtilizationDetails): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/radio_utilization_per_radio_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/radio_utilization_per_radio_details.py deleted file mode 100644 index 1f95b5db1..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/radio_utilization_per_radio_details.py +++ /dev/null @@ -1,214 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class RadioUtilizationPerRadioDetails(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'avg_assoc_client_tx': 'int', - 'avg_unassoc_client_tx': 'int', - 'avg_assoc_client_rx': 'int', - 'avg_unassoc_client_rx': 'int', - 'avg_non_wifi': 'int' - } - - attribute_map = { - 'avg_assoc_client_tx': 'avgAssocClientTx', - 'avg_unassoc_client_tx': 'avgUnassocClientTx', - 'avg_assoc_client_rx': 'avgAssocClientRx', - 'avg_unassoc_client_rx': 'avgUnassocClientRx', - 'avg_non_wifi': 'avgNonWifi' - } - - def __init__(self, avg_assoc_client_tx=None, avg_unassoc_client_tx=None, avg_assoc_client_rx=None, avg_unassoc_client_rx=None, avg_non_wifi=None): # noqa: E501 - """RadioUtilizationPerRadioDetails - a model defined in Swagger""" # noqa: E501 - self._avg_assoc_client_tx = None - self._avg_unassoc_client_tx = None - self._avg_assoc_client_rx = None - self._avg_unassoc_client_rx = None - self._avg_non_wifi = None - self.discriminator = None - if avg_assoc_client_tx is not None: - self.avg_assoc_client_tx = avg_assoc_client_tx - if avg_unassoc_client_tx is not None: - self.avg_unassoc_client_tx = avg_unassoc_client_tx - if avg_assoc_client_rx is not None: - self.avg_assoc_client_rx = avg_assoc_client_rx - if avg_unassoc_client_rx is not None: - self.avg_unassoc_client_rx = avg_unassoc_client_rx - if avg_non_wifi is not None: - self.avg_non_wifi = avg_non_wifi - - @property - def avg_assoc_client_tx(self): - """Gets the avg_assoc_client_tx of this RadioUtilizationPerRadioDetails. # noqa: E501 - - - :return: The avg_assoc_client_tx of this RadioUtilizationPerRadioDetails. # noqa: E501 - :rtype: int - """ - return self._avg_assoc_client_tx - - @avg_assoc_client_tx.setter - def avg_assoc_client_tx(self, avg_assoc_client_tx): - """Sets the avg_assoc_client_tx of this RadioUtilizationPerRadioDetails. - - - :param avg_assoc_client_tx: The avg_assoc_client_tx of this RadioUtilizationPerRadioDetails. # noqa: E501 - :type: int - """ - - self._avg_assoc_client_tx = avg_assoc_client_tx - - @property - def avg_unassoc_client_tx(self): - """Gets the avg_unassoc_client_tx of this RadioUtilizationPerRadioDetails. # noqa: E501 - - - :return: The avg_unassoc_client_tx of this RadioUtilizationPerRadioDetails. # noqa: E501 - :rtype: int - """ - return self._avg_unassoc_client_tx - - @avg_unassoc_client_tx.setter - def avg_unassoc_client_tx(self, avg_unassoc_client_tx): - """Sets the avg_unassoc_client_tx of this RadioUtilizationPerRadioDetails. - - - :param avg_unassoc_client_tx: The avg_unassoc_client_tx of this RadioUtilizationPerRadioDetails. # noqa: E501 - :type: int - """ - - self._avg_unassoc_client_tx = avg_unassoc_client_tx - - @property - def avg_assoc_client_rx(self): - """Gets the avg_assoc_client_rx of this RadioUtilizationPerRadioDetails. # noqa: E501 - - - :return: The avg_assoc_client_rx of this RadioUtilizationPerRadioDetails. # noqa: E501 - :rtype: int - """ - return self._avg_assoc_client_rx - - @avg_assoc_client_rx.setter - def avg_assoc_client_rx(self, avg_assoc_client_rx): - """Sets the avg_assoc_client_rx of this RadioUtilizationPerRadioDetails. - - - :param avg_assoc_client_rx: The avg_assoc_client_rx of this RadioUtilizationPerRadioDetails. # noqa: E501 - :type: int - """ - - self._avg_assoc_client_rx = avg_assoc_client_rx - - @property - def avg_unassoc_client_rx(self): - """Gets the avg_unassoc_client_rx of this RadioUtilizationPerRadioDetails. # noqa: E501 - - - :return: The avg_unassoc_client_rx of this RadioUtilizationPerRadioDetails. # noqa: E501 - :rtype: int - """ - return self._avg_unassoc_client_rx - - @avg_unassoc_client_rx.setter - def avg_unassoc_client_rx(self, avg_unassoc_client_rx): - """Sets the avg_unassoc_client_rx of this RadioUtilizationPerRadioDetails. - - - :param avg_unassoc_client_rx: The avg_unassoc_client_rx of this RadioUtilizationPerRadioDetails. # noqa: E501 - :type: int - """ - - self._avg_unassoc_client_rx = avg_unassoc_client_rx - - @property - def avg_non_wifi(self): - """Gets the avg_non_wifi of this RadioUtilizationPerRadioDetails. # noqa: E501 - - - :return: The avg_non_wifi of this RadioUtilizationPerRadioDetails. # noqa: E501 - :rtype: int - """ - return self._avg_non_wifi - - @avg_non_wifi.setter - def avg_non_wifi(self, avg_non_wifi): - """Sets the avg_non_wifi of this RadioUtilizationPerRadioDetails. - - - :param avg_non_wifi: The avg_non_wifi of this RadioUtilizationPerRadioDetails. # noqa: E501 - :type: int - """ - - self._avg_non_wifi = avg_non_wifi - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(RadioUtilizationPerRadioDetails, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, RadioUtilizationPerRadioDetails): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/radio_utilization_per_radio_details_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/radio_utilization_per_radio_details_map.py deleted file mode 100644 index 7a526e901..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/radio_utilization_per_radio_details_map.py +++ /dev/null @@ -1,188 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class RadioUtilizationPerRadioDetailsMap(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'is5_g_hz': 'RadioUtilizationPerRadioDetails', - 'is5_g_hz_u': 'RadioUtilizationPerRadioDetails', - 'is5_g_hz_l': 'RadioUtilizationPerRadioDetails', - 'is2dot4_g_hz': 'RadioUtilizationPerRadioDetails' - } - - attribute_map = { - 'is5_g_hz': 'is5GHz', - 'is5_g_hz_u': 'is5GHzU', - 'is5_g_hz_l': 'is5GHzL', - 'is2dot4_g_hz': 'is2dot4GHz' - } - - def __init__(self, is5_g_hz=None, is5_g_hz_u=None, is5_g_hz_l=None, is2dot4_g_hz=None): # noqa: E501 - """RadioUtilizationPerRadioDetailsMap - a model defined in Swagger""" # noqa: E501 - self._is5_g_hz = None - self._is5_g_hz_u = None - self._is5_g_hz_l = None - self._is2dot4_g_hz = None - self.discriminator = None - if is5_g_hz is not None: - self.is5_g_hz = is5_g_hz - if is5_g_hz_u is not None: - self.is5_g_hz_u = is5_g_hz_u - if is5_g_hz_l is not None: - self.is5_g_hz_l = is5_g_hz_l - if is2dot4_g_hz is not None: - self.is2dot4_g_hz = is2dot4_g_hz - - @property - def is5_g_hz(self): - """Gets the is5_g_hz of this RadioUtilizationPerRadioDetailsMap. # noqa: E501 - - - :return: The is5_g_hz of this RadioUtilizationPerRadioDetailsMap. # noqa: E501 - :rtype: RadioUtilizationPerRadioDetails - """ - return self._is5_g_hz - - @is5_g_hz.setter - def is5_g_hz(self, is5_g_hz): - """Sets the is5_g_hz of this RadioUtilizationPerRadioDetailsMap. - - - :param is5_g_hz: The is5_g_hz of this RadioUtilizationPerRadioDetailsMap. # noqa: E501 - :type: RadioUtilizationPerRadioDetails - """ - - self._is5_g_hz = is5_g_hz - - @property - def is5_g_hz_u(self): - """Gets the is5_g_hz_u of this RadioUtilizationPerRadioDetailsMap. # noqa: E501 - - - :return: The is5_g_hz_u of this RadioUtilizationPerRadioDetailsMap. # noqa: E501 - :rtype: RadioUtilizationPerRadioDetails - """ - return self._is5_g_hz_u - - @is5_g_hz_u.setter - def is5_g_hz_u(self, is5_g_hz_u): - """Sets the is5_g_hz_u of this RadioUtilizationPerRadioDetailsMap. - - - :param is5_g_hz_u: The is5_g_hz_u of this RadioUtilizationPerRadioDetailsMap. # noqa: E501 - :type: RadioUtilizationPerRadioDetails - """ - - self._is5_g_hz_u = is5_g_hz_u - - @property - def is5_g_hz_l(self): - """Gets the is5_g_hz_l of this RadioUtilizationPerRadioDetailsMap. # noqa: E501 - - - :return: The is5_g_hz_l of this RadioUtilizationPerRadioDetailsMap. # noqa: E501 - :rtype: RadioUtilizationPerRadioDetails - """ - return self._is5_g_hz_l - - @is5_g_hz_l.setter - def is5_g_hz_l(self, is5_g_hz_l): - """Sets the is5_g_hz_l of this RadioUtilizationPerRadioDetailsMap. - - - :param is5_g_hz_l: The is5_g_hz_l of this RadioUtilizationPerRadioDetailsMap. # noqa: E501 - :type: RadioUtilizationPerRadioDetails - """ - - self._is5_g_hz_l = is5_g_hz_l - - @property - def is2dot4_g_hz(self): - """Gets the is2dot4_g_hz of this RadioUtilizationPerRadioDetailsMap. # noqa: E501 - - - :return: The is2dot4_g_hz of this RadioUtilizationPerRadioDetailsMap. # noqa: E501 - :rtype: RadioUtilizationPerRadioDetails - """ - return self._is2dot4_g_hz - - @is2dot4_g_hz.setter - def is2dot4_g_hz(self, is2dot4_g_hz): - """Sets the is2dot4_g_hz of this RadioUtilizationPerRadioDetailsMap. - - - :param is2dot4_g_hz: The is2dot4_g_hz of this RadioUtilizationPerRadioDetailsMap. # noqa: E501 - :type: RadioUtilizationPerRadioDetails - """ - - self._is2dot4_g_hz = is2dot4_g_hz - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(RadioUtilizationPerRadioDetailsMap, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, RadioUtilizationPerRadioDetailsMap): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/radio_utilization_report.py b/libs/cloudapi/cloudsdk/swagger_client/models/radio_utilization_report.py deleted file mode 100644 index 616d1e519..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/radio_utilization_report.py +++ /dev/null @@ -1,227 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class RadioUtilizationReport(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'status_data_type': 'str', - 'radio_utilization': 'EquipmentPerRadioUtilizationDetailsMap', - 'capacity_details': 'EquipmentCapacityDetailsMap', - 'avg_noise_floor': 'IntegerPerRadioTypeMap' - } - - attribute_map = { - 'model_type': 'model_type', - 'status_data_type': 'statusDataType', - 'radio_utilization': 'radioUtilization', - 'capacity_details': 'capacityDetails', - 'avg_noise_floor': 'avgNoiseFloor' - } - - def __init__(self, model_type=None, status_data_type=None, radio_utilization=None, capacity_details=None, avg_noise_floor=None): # noqa: E501 - """RadioUtilizationReport - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._status_data_type = None - self._radio_utilization = None - self._capacity_details = None - self._avg_noise_floor = None - self.discriminator = None - self.model_type = model_type - if status_data_type is not None: - self.status_data_type = status_data_type - if radio_utilization is not None: - self.radio_utilization = radio_utilization - if capacity_details is not None: - self.capacity_details = capacity_details - if avg_noise_floor is not None: - self.avg_noise_floor = avg_noise_floor - - @property - def model_type(self): - """Gets the model_type of this RadioUtilizationReport. # noqa: E501 - - - :return: The model_type of this RadioUtilizationReport. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this RadioUtilizationReport. - - - :param model_type: The model_type of this RadioUtilizationReport. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - allowed_values = ["RadioUtilizationReport"] # noqa: E501 - if model_type not in allowed_values: - raise ValueError( - "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 - .format(model_type, allowed_values) - ) - - self._model_type = model_type - - @property - def status_data_type(self): - """Gets the status_data_type of this RadioUtilizationReport. # noqa: E501 - - - :return: The status_data_type of this RadioUtilizationReport. # noqa: E501 - :rtype: str - """ - return self._status_data_type - - @status_data_type.setter - def status_data_type(self, status_data_type): - """Sets the status_data_type of this RadioUtilizationReport. - - - :param status_data_type: The status_data_type of this RadioUtilizationReport. # noqa: E501 - :type: str - """ - allowed_values = ["RADIO_UTILIZATION"] # noqa: E501 - if status_data_type not in allowed_values: - raise ValueError( - "Invalid value for `status_data_type` ({0}), must be one of {1}" # noqa: E501 - .format(status_data_type, allowed_values) - ) - - self._status_data_type = status_data_type - - @property - def radio_utilization(self): - """Gets the radio_utilization of this RadioUtilizationReport. # noqa: E501 - - - :return: The radio_utilization of this RadioUtilizationReport. # noqa: E501 - :rtype: EquipmentPerRadioUtilizationDetailsMap - """ - return self._radio_utilization - - @radio_utilization.setter - def radio_utilization(self, radio_utilization): - """Sets the radio_utilization of this RadioUtilizationReport. - - - :param radio_utilization: The radio_utilization of this RadioUtilizationReport. # noqa: E501 - :type: EquipmentPerRadioUtilizationDetailsMap - """ - - self._radio_utilization = radio_utilization - - @property - def capacity_details(self): - """Gets the capacity_details of this RadioUtilizationReport. # noqa: E501 - - - :return: The capacity_details of this RadioUtilizationReport. # noqa: E501 - :rtype: EquipmentCapacityDetailsMap - """ - return self._capacity_details - - @capacity_details.setter - def capacity_details(self, capacity_details): - """Sets the capacity_details of this RadioUtilizationReport. - - - :param capacity_details: The capacity_details of this RadioUtilizationReport. # noqa: E501 - :type: EquipmentCapacityDetailsMap - """ - - self._capacity_details = capacity_details - - @property - def avg_noise_floor(self): - """Gets the avg_noise_floor of this RadioUtilizationReport. # noqa: E501 - - - :return: The avg_noise_floor of this RadioUtilizationReport. # noqa: E501 - :rtype: IntegerPerRadioTypeMap - """ - return self._avg_noise_floor - - @avg_noise_floor.setter - def avg_noise_floor(self, avg_noise_floor): - """Sets the avg_noise_floor of this RadioUtilizationReport. - - - :param avg_noise_floor: The avg_noise_floor of this RadioUtilizationReport. # noqa: E501 - :type: IntegerPerRadioTypeMap - """ - - self._avg_noise_floor = avg_noise_floor - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(RadioUtilizationReport, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, RadioUtilizationReport): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/radius_authentication_method.py b/libs/cloudapi/cloudsdk/swagger_client/models/radius_authentication_method.py deleted file mode 100644 index febf57a07..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/radius_authentication_method.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class RadiusAuthenticationMethod(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - PAP = "PAP" - CHAP = "CHAP" - MSCHAPV2 = "MSCHAPv2" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """RadiusAuthenticationMethod - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(RadiusAuthenticationMethod, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, RadiusAuthenticationMethod): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/radius_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/radius_details.py deleted file mode 100644 index 46a3b69c8..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/radius_details.py +++ /dev/null @@ -1,136 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class RadiusDetails(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'status': 'StatusCode', - 'radius_server_details': 'list[RadiusServerDetails]' - } - - attribute_map = { - 'status': 'status', - 'radius_server_details': 'radiusServerDetails' - } - - def __init__(self, status=None, radius_server_details=None): # noqa: E501 - """RadiusDetails - a model defined in Swagger""" # noqa: E501 - self._status = None - self._radius_server_details = None - self.discriminator = None - if status is not None: - self.status = status - if radius_server_details is not None: - self.radius_server_details = radius_server_details - - @property - def status(self): - """Gets the status of this RadiusDetails. # noqa: E501 - - - :return: The status of this RadiusDetails. # noqa: E501 - :rtype: StatusCode - """ - return self._status - - @status.setter - def status(self, status): - """Sets the status of this RadiusDetails. - - - :param status: The status of this RadiusDetails. # noqa: E501 - :type: StatusCode - """ - - self._status = status - - @property - def radius_server_details(self): - """Gets the radius_server_details of this RadiusDetails. # noqa: E501 - - - :return: The radius_server_details of this RadiusDetails. # noqa: E501 - :rtype: list[RadiusServerDetails] - """ - return self._radius_server_details - - @radius_server_details.setter - def radius_server_details(self, radius_server_details): - """Sets the radius_server_details of this RadiusDetails. - - - :param radius_server_details: The radius_server_details of this RadiusDetails. # noqa: E501 - :type: list[RadiusServerDetails] - """ - - self._radius_server_details = radius_server_details - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(RadiusDetails, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, RadiusDetails): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/radius_metrics.py b/libs/cloudapi/cloudsdk/swagger_client/models/radius_metrics.py deleted file mode 100644 index c4448e8b4..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/radius_metrics.py +++ /dev/null @@ -1,162 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class RadiusMetrics(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'server_ip': 'str', - 'number_of_no_answer': 'int', - 'latency_ms': 'MinMaxAvgValueInt' - } - - attribute_map = { - 'server_ip': 'serverIp', - 'number_of_no_answer': 'numberOfNoAnswer', - 'latency_ms': 'latencyMs' - } - - def __init__(self, server_ip=None, number_of_no_answer=None, latency_ms=None): # noqa: E501 - """RadiusMetrics - a model defined in Swagger""" # noqa: E501 - self._server_ip = None - self._number_of_no_answer = None - self._latency_ms = None - self.discriminator = None - if server_ip is not None: - self.server_ip = server_ip - if number_of_no_answer is not None: - self.number_of_no_answer = number_of_no_answer - if latency_ms is not None: - self.latency_ms = latency_ms - - @property - def server_ip(self): - """Gets the server_ip of this RadiusMetrics. # noqa: E501 - - - :return: The server_ip of this RadiusMetrics. # noqa: E501 - :rtype: str - """ - return self._server_ip - - @server_ip.setter - def server_ip(self, server_ip): - """Sets the server_ip of this RadiusMetrics. - - - :param server_ip: The server_ip of this RadiusMetrics. # noqa: E501 - :type: str - """ - - self._server_ip = server_ip - - @property - def number_of_no_answer(self): - """Gets the number_of_no_answer of this RadiusMetrics. # noqa: E501 - - - :return: The number_of_no_answer of this RadiusMetrics. # noqa: E501 - :rtype: int - """ - return self._number_of_no_answer - - @number_of_no_answer.setter - def number_of_no_answer(self, number_of_no_answer): - """Sets the number_of_no_answer of this RadiusMetrics. - - - :param number_of_no_answer: The number_of_no_answer of this RadiusMetrics. # noqa: E501 - :type: int - """ - - self._number_of_no_answer = number_of_no_answer - - @property - def latency_ms(self): - """Gets the latency_ms of this RadiusMetrics. # noqa: E501 - - - :return: The latency_ms of this RadiusMetrics. # noqa: E501 - :rtype: MinMaxAvgValueInt - """ - return self._latency_ms - - @latency_ms.setter - def latency_ms(self, latency_ms): - """Sets the latency_ms of this RadiusMetrics. - - - :param latency_ms: The latency_ms of this RadiusMetrics. # noqa: E501 - :type: MinMaxAvgValueInt - """ - - self._latency_ms = latency_ms - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(RadiusMetrics, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, RadiusMetrics): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/radius_nas_configuration.py b/libs/cloudapi/cloudsdk/swagger_client/models/radius_nas_configuration.py deleted file mode 100644 index 09ccf85a7..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/radius_nas_configuration.py +++ /dev/null @@ -1,236 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class RadiusNasConfiguration(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'nas_client_id': 'str', - 'nas_client_ip': 'str', - 'user_defined_nas_id': 'str', - 'user_defined_nas_ip': 'str', - 'operator_id': 'str' - } - - attribute_map = { - 'nas_client_id': 'nasClientId', - 'nas_client_ip': 'nasClientIp', - 'user_defined_nas_id': 'userDefinedNasId', - 'user_defined_nas_ip': 'userDefinedNasIp', - 'operator_id': 'operatorId' - } - - def __init__(self, nas_client_id='DEFAULT', nas_client_ip='WAN_IP', user_defined_nas_id=None, user_defined_nas_ip=None, operator_id=None): # noqa: E501 - """RadiusNasConfiguration - a model defined in Swagger""" # noqa: E501 - self._nas_client_id = None - self._nas_client_ip = None - self._user_defined_nas_id = None - self._user_defined_nas_ip = None - self._operator_id = None - self.discriminator = None - if nas_client_id is not None: - self.nas_client_id = nas_client_id - if nas_client_ip is not None: - self.nas_client_ip = nas_client_ip - if user_defined_nas_id is not None: - self.user_defined_nas_id = user_defined_nas_id - if user_defined_nas_ip is not None: - self.user_defined_nas_ip = user_defined_nas_ip - if operator_id is not None: - self.operator_id = operator_id - - @property - def nas_client_id(self): - """Gets the nas_client_id of this RadiusNasConfiguration. # noqa: E501 - - String identifying the NAS (AP) – Default shall be set to the AP BASE MAC Address for the WAN Interface # noqa: E501 - - :return: The nas_client_id of this RadiusNasConfiguration. # noqa: E501 - :rtype: str - """ - return self._nas_client_id - - @nas_client_id.setter - def nas_client_id(self, nas_client_id): - """Sets the nas_client_id of this RadiusNasConfiguration. - - String identifying the NAS (AP) – Default shall be set to the AP BASE MAC Address for the WAN Interface # noqa: E501 - - :param nas_client_id: The nas_client_id of this RadiusNasConfiguration. # noqa: E501 - :type: str - """ - allowed_values = ["DEFAULT", "USER_DEFINED"] # noqa: E501 - if nas_client_id not in allowed_values: - raise ValueError( - "Invalid value for `nas_client_id` ({0}), must be one of {1}" # noqa: E501 - .format(nas_client_id, allowed_values) - ) - - self._nas_client_id = nas_client_id - - @property - def nas_client_ip(self): - """Gets the nas_client_ip of this RadiusNasConfiguration. # noqa: E501 - - NAS-IP AVP - Default it shall be the WAN IP address of the AP when AP communicates with RADIUS server directly. # noqa: E501 - - :return: The nas_client_ip of this RadiusNasConfiguration. # noqa: E501 - :rtype: str - """ - return self._nas_client_ip - - @nas_client_ip.setter - def nas_client_ip(self, nas_client_ip): - """Sets the nas_client_ip of this RadiusNasConfiguration. - - NAS-IP AVP - Default it shall be the WAN IP address of the AP when AP communicates with RADIUS server directly. # noqa: E501 - - :param nas_client_ip: The nas_client_ip of this RadiusNasConfiguration. # noqa: E501 - :type: str - """ - allowed_values = ["USER_DEFINED", "WAN_IP", "PROXY_IP"] # noqa: E501 - if nas_client_ip not in allowed_values: - raise ValueError( - "Invalid value for `nas_client_ip` ({0}), must be one of {1}" # noqa: E501 - .format(nas_client_ip, allowed_values) - ) - - self._nas_client_ip = nas_client_ip - - @property - def user_defined_nas_id(self): - """Gets the user_defined_nas_id of this RadiusNasConfiguration. # noqa: E501 - - user entered string if the nasClientId is 'USER_DEFINED'. This should not be enabled and will not be passed to the AP unless the nasClientId is USER_DEFINED. # noqa: E501 - - :return: The user_defined_nas_id of this RadiusNasConfiguration. # noqa: E501 - :rtype: str - """ - return self._user_defined_nas_id - - @user_defined_nas_id.setter - def user_defined_nas_id(self, user_defined_nas_id): - """Sets the user_defined_nas_id of this RadiusNasConfiguration. - - user entered string if the nasClientId is 'USER_DEFINED'. This should not be enabled and will not be passed to the AP unless the nasClientId is USER_DEFINED. # noqa: E501 - - :param user_defined_nas_id: The user_defined_nas_id of this RadiusNasConfiguration. # noqa: E501 - :type: str - """ - - self._user_defined_nas_id = user_defined_nas_id - - @property - def user_defined_nas_ip(self): - """Gets the user_defined_nas_ip of this RadiusNasConfiguration. # noqa: E501 - - user entered IP address if the nasClientIp is 'USER_DEFINED'. This should not be enabled and will not be passed to the AP unless the nasClientIp is USER_DEFINED. # noqa: E501 - - :return: The user_defined_nas_ip of this RadiusNasConfiguration. # noqa: E501 - :rtype: str - """ - return self._user_defined_nas_ip - - @user_defined_nas_ip.setter - def user_defined_nas_ip(self, user_defined_nas_ip): - """Sets the user_defined_nas_ip of this RadiusNasConfiguration. - - user entered IP address if the nasClientIp is 'USER_DEFINED'. This should not be enabled and will not be passed to the AP unless the nasClientIp is USER_DEFINED. # noqa: E501 - - :param user_defined_nas_ip: The user_defined_nas_ip of this RadiusNasConfiguration. # noqa: E501 - :type: str - """ - - self._user_defined_nas_ip = user_defined_nas_ip - - @property - def operator_id(self): - """Gets the operator_id of this RadiusNasConfiguration. # noqa: E501 - - Carries the operator namespace identifier and the operator name. The operator name is combined with the namespace identifier to uniquely identify the owner of an access network. The value of the Operator-Name is a non-NULL terminated text. This is not to be confused with the Passpoint Operator Domain # noqa: E501 - - :return: The operator_id of this RadiusNasConfiguration. # noqa: E501 - :rtype: str - """ - return self._operator_id - - @operator_id.setter - def operator_id(self, operator_id): - """Sets the operator_id of this RadiusNasConfiguration. - - Carries the operator namespace identifier and the operator name. The operator name is combined with the namespace identifier to uniquely identify the owner of an access network. The value of the Operator-Name is a non-NULL terminated text. This is not to be confused with the Passpoint Operator Domain # noqa: E501 - - :param operator_id: The operator_id of this RadiusNasConfiguration. # noqa: E501 - :type: str - """ - - self._operator_id = operator_id - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(RadiusNasConfiguration, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, RadiusNasConfiguration): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/radius_profile.py b/libs/cloudapi/cloudsdk/swagger_client/models/radius_profile.py deleted file mode 100644 index 8abf5b5cf..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/radius_profile.py +++ /dev/null @@ -1,226 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six -from swagger_client.models.profile_details import ProfileDetails # noqa: F401,E501 - -class RadiusProfile(ProfileDetails): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'primary_radius_auth_server': 'RadiusServer', - 'secondary_radius_auth_server': 'RadiusServer', - 'primary_radius_accounting_server': 'RadiusServer', - 'secondary_radius_accounting_server': 'RadiusServer' - } - if hasattr(ProfileDetails, "swagger_types"): - swagger_types.update(ProfileDetails.swagger_types) - - attribute_map = { - 'model_type': 'model_type', - 'primary_radius_auth_server': 'primaryRadiusAuthServer', - 'secondary_radius_auth_server': 'secondaryRadiusAuthServer', - 'primary_radius_accounting_server': 'primaryRadiusAccountingServer', - 'secondary_radius_accounting_server': 'secondaryRadiusAccountingServer' - } - if hasattr(ProfileDetails, "attribute_map"): - attribute_map.update(ProfileDetails.attribute_map) - - def __init__(self, model_type=None, primary_radius_auth_server=None, secondary_radius_auth_server=None, primary_radius_accounting_server=None, secondary_radius_accounting_server=None, *args, **kwargs): # noqa: E501 - """RadiusProfile - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._primary_radius_auth_server = None - self._secondary_radius_auth_server = None - self._primary_radius_accounting_server = None - self._secondary_radius_accounting_server = None - self.discriminator = None - if model_type is not None: - self.model_type = model_type - if primary_radius_auth_server is not None: - self.primary_radius_auth_server = primary_radius_auth_server - if secondary_radius_auth_server is not None: - self.secondary_radius_auth_server = secondary_radius_auth_server - if primary_radius_accounting_server is not None: - self.primary_radius_accounting_server = primary_radius_accounting_server - if secondary_radius_accounting_server is not None: - self.secondary_radius_accounting_server = secondary_radius_accounting_server - ProfileDetails.__init__(self, *args, **kwargs) - - @property - def model_type(self): - """Gets the model_type of this RadiusProfile. # noqa: E501 - - - :return: The model_type of this RadiusProfile. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this RadiusProfile. - - - :param model_type: The model_type of this RadiusProfile. # noqa: E501 - :type: str - """ - allowed_values = ["RadiusProfile"] # noqa: E501 - if model_type not in allowed_values: - raise ValueError( - "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 - .format(model_type, allowed_values) - ) - - self._model_type = model_type - - @property - def primary_radius_auth_server(self): - """Gets the primary_radius_auth_server of this RadiusProfile. # noqa: E501 - - - :return: The primary_radius_auth_server of this RadiusProfile. # noqa: E501 - :rtype: RadiusServer - """ - return self._primary_radius_auth_server - - @primary_radius_auth_server.setter - def primary_radius_auth_server(self, primary_radius_auth_server): - """Sets the primary_radius_auth_server of this RadiusProfile. - - - :param primary_radius_auth_server: The primary_radius_auth_server of this RadiusProfile. # noqa: E501 - :type: RadiusServer - """ - - self._primary_radius_auth_server = primary_radius_auth_server - - @property - def secondary_radius_auth_server(self): - """Gets the secondary_radius_auth_server of this RadiusProfile. # noqa: E501 - - - :return: The secondary_radius_auth_server of this RadiusProfile. # noqa: E501 - :rtype: RadiusServer - """ - return self._secondary_radius_auth_server - - @secondary_radius_auth_server.setter - def secondary_radius_auth_server(self, secondary_radius_auth_server): - """Sets the secondary_radius_auth_server of this RadiusProfile. - - - :param secondary_radius_auth_server: The secondary_radius_auth_server of this RadiusProfile. # noqa: E501 - :type: RadiusServer - """ - - self._secondary_radius_auth_server = secondary_radius_auth_server - - @property - def primary_radius_accounting_server(self): - """Gets the primary_radius_accounting_server of this RadiusProfile. # noqa: E501 - - - :return: The primary_radius_accounting_server of this RadiusProfile. # noqa: E501 - :rtype: RadiusServer - """ - return self._primary_radius_accounting_server - - @primary_radius_accounting_server.setter - def primary_radius_accounting_server(self, primary_radius_accounting_server): - """Sets the primary_radius_accounting_server of this RadiusProfile. - - - :param primary_radius_accounting_server: The primary_radius_accounting_server of this RadiusProfile. # noqa: E501 - :type: RadiusServer - """ - - self._primary_radius_accounting_server = primary_radius_accounting_server - - @property - def secondary_radius_accounting_server(self): - """Gets the secondary_radius_accounting_server of this RadiusProfile. # noqa: E501 - - - :return: The secondary_radius_accounting_server of this RadiusProfile. # noqa: E501 - :rtype: RadiusServer - """ - return self._secondary_radius_accounting_server - - @secondary_radius_accounting_server.setter - def secondary_radius_accounting_server(self, secondary_radius_accounting_server): - """Sets the secondary_radius_accounting_server of this RadiusProfile. - - - :param secondary_radius_accounting_server: The secondary_radius_accounting_server of this RadiusProfile. # noqa: E501 - :type: RadiusServer - """ - - self._secondary_radius_accounting_server = secondary_radius_accounting_server - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(RadiusProfile, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, RadiusProfile): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/radius_server.py b/libs/cloudapi/cloudsdk/swagger_client/models/radius_server.py deleted file mode 100644 index a0a42e1b4..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/radius_server.py +++ /dev/null @@ -1,188 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class RadiusServer(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'ip_address': 'str', - 'secret': 'str', - 'port': 'int', - 'timeout': 'int' - } - - attribute_map = { - 'ip_address': 'ipAddress', - 'secret': 'secret', - 'port': 'port', - 'timeout': 'timeout' - } - - def __init__(self, ip_address=None, secret=None, port=None, timeout=None): # noqa: E501 - """RadiusServer - a model defined in Swagger""" # noqa: E501 - self._ip_address = None - self._secret = None - self._port = None - self._timeout = None - self.discriminator = None - if ip_address is not None: - self.ip_address = ip_address - if secret is not None: - self.secret = secret - if port is not None: - self.port = port - if timeout is not None: - self.timeout = timeout - - @property - def ip_address(self): - """Gets the ip_address of this RadiusServer. # noqa: E501 - - - :return: The ip_address of this RadiusServer. # noqa: E501 - :rtype: str - """ - return self._ip_address - - @ip_address.setter - def ip_address(self, ip_address): - """Sets the ip_address of this RadiusServer. - - - :param ip_address: The ip_address of this RadiusServer. # noqa: E501 - :type: str - """ - - self._ip_address = ip_address - - @property - def secret(self): - """Gets the secret of this RadiusServer. # noqa: E501 - - - :return: The secret of this RadiusServer. # noqa: E501 - :rtype: str - """ - return self._secret - - @secret.setter - def secret(self, secret): - """Sets the secret of this RadiusServer. - - - :param secret: The secret of this RadiusServer. # noqa: E501 - :type: str - """ - - self._secret = secret - - @property - def port(self): - """Gets the port of this RadiusServer. # noqa: E501 - - - :return: The port of this RadiusServer. # noqa: E501 - :rtype: int - """ - return self._port - - @port.setter - def port(self, port): - """Sets the port of this RadiusServer. - - - :param port: The port of this RadiusServer. # noqa: E501 - :type: int - """ - - self._port = port - - @property - def timeout(self): - """Gets the timeout of this RadiusServer. # noqa: E501 - - - :return: The timeout of this RadiusServer. # noqa: E501 - :rtype: int - """ - return self._timeout - - @timeout.setter - def timeout(self, timeout): - """Sets the timeout of this RadiusServer. - - - :param timeout: The timeout of this RadiusServer. # noqa: E501 - :type: int - """ - - self._timeout = timeout - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(RadiusServer, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, RadiusServer): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/radius_server_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/radius_server_details.py deleted file mode 100644 index 81f7cf8e1..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/radius_server_details.py +++ /dev/null @@ -1,136 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class RadiusServerDetails(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'address': 'str', - 'radius_latency': 'MinMaxAvgValueInt' - } - - attribute_map = { - 'address': 'address', - 'radius_latency': 'radiusLatency' - } - - def __init__(self, address=None, radius_latency=None): # noqa: E501 - """RadiusServerDetails - a model defined in Swagger""" # noqa: E501 - self._address = None - self._radius_latency = None - self.discriminator = None - if address is not None: - self.address = address - if radius_latency is not None: - self.radius_latency = radius_latency - - @property - def address(self): - """Gets the address of this RadiusServerDetails. # noqa: E501 - - - :return: The address of this RadiusServerDetails. # noqa: E501 - :rtype: str - """ - return self._address - - @address.setter - def address(self, address): - """Sets the address of this RadiusServerDetails. - - - :param address: The address of this RadiusServerDetails. # noqa: E501 - :type: str - """ - - self._address = address - - @property - def radius_latency(self): - """Gets the radius_latency of this RadiusServerDetails. # noqa: E501 - - - :return: The radius_latency of this RadiusServerDetails. # noqa: E501 - :rtype: MinMaxAvgValueInt - """ - return self._radius_latency - - @radius_latency.setter - def radius_latency(self, radius_latency): - """Sets the radius_latency of this RadiusServerDetails. - - - :param radius_latency: The radius_latency of this RadiusServerDetails. # noqa: E501 - :type: MinMaxAvgValueInt - """ - - self._radius_latency = radius_latency - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(RadiusServerDetails, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, RadiusServerDetails): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/real_time_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/real_time_event.py deleted file mode 100644 index b547fad62..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/real_time_event.py +++ /dev/null @@ -1,215 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class RealTimeEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'all_of': 'SystemEvent', - 'event_timestamp': 'int', - 'customer_id': 'int', - 'equipment_id': 'int' - } - - attribute_map = { - 'model_type': 'model_type', - 'all_of': 'allOf', - 'event_timestamp': 'eventTimestamp', - 'customer_id': 'customerId', - 'equipment_id': 'equipmentId' - } - - def __init__(self, model_type=None, all_of=None, event_timestamp=None, customer_id=None, equipment_id=None): # noqa: E501 - """RealTimeEvent - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._all_of = None - self._event_timestamp = None - self._customer_id = None - self._equipment_id = None - self.discriminator = None - self.model_type = model_type - if all_of is not None: - self.all_of = all_of - if event_timestamp is not None: - self.event_timestamp = event_timestamp - if customer_id is not None: - self.customer_id = customer_id - if equipment_id is not None: - self.equipment_id = equipment_id - - @property - def model_type(self): - """Gets the model_type of this RealTimeEvent. # noqa: E501 - - - :return: The model_type of this RealTimeEvent. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this RealTimeEvent. - - - :param model_type: The model_type of this RealTimeEvent. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - - self._model_type = model_type - - @property - def all_of(self): - """Gets the all_of of this RealTimeEvent. # noqa: E501 - - - :return: The all_of of this RealTimeEvent. # noqa: E501 - :rtype: SystemEvent - """ - return self._all_of - - @all_of.setter - def all_of(self, all_of): - """Sets the all_of of this RealTimeEvent. - - - :param all_of: The all_of of this RealTimeEvent. # noqa: E501 - :type: SystemEvent - """ - - self._all_of = all_of - - @property - def event_timestamp(self): - """Gets the event_timestamp of this RealTimeEvent. # noqa: E501 - - - :return: The event_timestamp of this RealTimeEvent. # noqa: E501 - :rtype: int - """ - return self._event_timestamp - - @event_timestamp.setter - def event_timestamp(self, event_timestamp): - """Sets the event_timestamp of this RealTimeEvent. - - - :param event_timestamp: The event_timestamp of this RealTimeEvent. # noqa: E501 - :type: int - """ - - self._event_timestamp = event_timestamp - - @property - def customer_id(self): - """Gets the customer_id of this RealTimeEvent. # noqa: E501 - - - :return: The customer_id of this RealTimeEvent. # noqa: E501 - :rtype: int - """ - return self._customer_id - - @customer_id.setter - def customer_id(self, customer_id): - """Sets the customer_id of this RealTimeEvent. - - - :param customer_id: The customer_id of this RealTimeEvent. # noqa: E501 - :type: int - """ - - self._customer_id = customer_id - - @property - def equipment_id(self): - """Gets the equipment_id of this RealTimeEvent. # noqa: E501 - - - :return: The equipment_id of this RealTimeEvent. # noqa: E501 - :rtype: int - """ - return self._equipment_id - - @equipment_id.setter - def equipment_id(self, equipment_id): - """Sets the equipment_id of this RealTimeEvent. - - - :param equipment_id: The equipment_id of this RealTimeEvent. # noqa: E501 - :type: int - """ - - self._equipment_id = equipment_id - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(RealTimeEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, RealTimeEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/real_time_sip_call_event_with_stats.py b/libs/cloudapi/cloudsdk/swagger_client/models/real_time_sip_call_event_with_stats.py deleted file mode 100644 index 455402516..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/real_time_sip_call_event_with_stats.py +++ /dev/null @@ -1,345 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class RealTimeSipCallEventWithStats(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'all_of': 'RealTimeEvent', - 'sip_call_id': 'int', - 'association_id': 'int', - 'client_mac_address': 'MacAddress', - 'radio_type': 'RadioType', - 'statuses': 'list[RtpFlowStats]', - 'channel': 'int', - 'codecs': 'list[str]', - 'provider_domain': 'str' - } - - attribute_map = { - 'model_type': 'model_type', - 'all_of': 'allOf', - 'sip_call_id': 'sipCallId', - 'association_id': 'associationId', - 'client_mac_address': 'clientMacAddress', - 'radio_type': 'radioType', - 'statuses': 'statuses', - 'channel': 'channel', - 'codecs': 'codecs', - 'provider_domain': 'providerDomain' - } - - def __init__(self, model_type=None, all_of=None, sip_call_id=None, association_id=None, client_mac_address=None, radio_type=None, statuses=None, channel=None, codecs=None, provider_domain=None): # noqa: E501 - """RealTimeSipCallEventWithStats - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._all_of = None - self._sip_call_id = None - self._association_id = None - self._client_mac_address = None - self._radio_type = None - self._statuses = None - self._channel = None - self._codecs = None - self._provider_domain = None - self.discriminator = None - self.model_type = model_type - if all_of is not None: - self.all_of = all_of - if sip_call_id is not None: - self.sip_call_id = sip_call_id - if association_id is not None: - self.association_id = association_id - if client_mac_address is not None: - self.client_mac_address = client_mac_address - if radio_type is not None: - self.radio_type = radio_type - if statuses is not None: - self.statuses = statuses - if channel is not None: - self.channel = channel - if codecs is not None: - self.codecs = codecs - if provider_domain is not None: - self.provider_domain = provider_domain - - @property - def model_type(self): - """Gets the model_type of this RealTimeSipCallEventWithStats. # noqa: E501 - - - :return: The model_type of this RealTimeSipCallEventWithStats. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this RealTimeSipCallEventWithStats. - - - :param model_type: The model_type of this RealTimeSipCallEventWithStats. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - - self._model_type = model_type - - @property - def all_of(self): - """Gets the all_of of this RealTimeSipCallEventWithStats. # noqa: E501 - - - :return: The all_of of this RealTimeSipCallEventWithStats. # noqa: E501 - :rtype: RealTimeEvent - """ - return self._all_of - - @all_of.setter - def all_of(self, all_of): - """Sets the all_of of this RealTimeSipCallEventWithStats. - - - :param all_of: The all_of of this RealTimeSipCallEventWithStats. # noqa: E501 - :type: RealTimeEvent - """ - - self._all_of = all_of - - @property - def sip_call_id(self): - """Gets the sip_call_id of this RealTimeSipCallEventWithStats. # noqa: E501 - - - :return: The sip_call_id of this RealTimeSipCallEventWithStats. # noqa: E501 - :rtype: int - """ - return self._sip_call_id - - @sip_call_id.setter - def sip_call_id(self, sip_call_id): - """Sets the sip_call_id of this RealTimeSipCallEventWithStats. - - - :param sip_call_id: The sip_call_id of this RealTimeSipCallEventWithStats. # noqa: E501 - :type: int - """ - - self._sip_call_id = sip_call_id - - @property - def association_id(self): - """Gets the association_id of this RealTimeSipCallEventWithStats. # noqa: E501 - - - :return: The association_id of this RealTimeSipCallEventWithStats. # noqa: E501 - :rtype: int - """ - return self._association_id - - @association_id.setter - def association_id(self, association_id): - """Sets the association_id of this RealTimeSipCallEventWithStats. - - - :param association_id: The association_id of this RealTimeSipCallEventWithStats. # noqa: E501 - :type: int - """ - - self._association_id = association_id - - @property - def client_mac_address(self): - """Gets the client_mac_address of this RealTimeSipCallEventWithStats. # noqa: E501 - - - :return: The client_mac_address of this RealTimeSipCallEventWithStats. # noqa: E501 - :rtype: MacAddress - """ - return self._client_mac_address - - @client_mac_address.setter - def client_mac_address(self, client_mac_address): - """Sets the client_mac_address of this RealTimeSipCallEventWithStats. - - - :param client_mac_address: The client_mac_address of this RealTimeSipCallEventWithStats. # noqa: E501 - :type: MacAddress - """ - - self._client_mac_address = client_mac_address - - @property - def radio_type(self): - """Gets the radio_type of this RealTimeSipCallEventWithStats. # noqa: E501 - - - :return: The radio_type of this RealTimeSipCallEventWithStats. # noqa: E501 - :rtype: RadioType - """ - return self._radio_type - - @radio_type.setter - def radio_type(self, radio_type): - """Sets the radio_type of this RealTimeSipCallEventWithStats. - - - :param radio_type: The radio_type of this RealTimeSipCallEventWithStats. # noqa: E501 - :type: RadioType - """ - - self._radio_type = radio_type - - @property - def statuses(self): - """Gets the statuses of this RealTimeSipCallEventWithStats. # noqa: E501 - - - :return: The statuses of this RealTimeSipCallEventWithStats. # noqa: E501 - :rtype: list[RtpFlowStats] - """ - return self._statuses - - @statuses.setter - def statuses(self, statuses): - """Sets the statuses of this RealTimeSipCallEventWithStats. - - - :param statuses: The statuses of this RealTimeSipCallEventWithStats. # noqa: E501 - :type: list[RtpFlowStats] - """ - - self._statuses = statuses - - @property - def channel(self): - """Gets the channel of this RealTimeSipCallEventWithStats. # noqa: E501 - - - :return: The channel of this RealTimeSipCallEventWithStats. # noqa: E501 - :rtype: int - """ - return self._channel - - @channel.setter - def channel(self, channel): - """Sets the channel of this RealTimeSipCallEventWithStats. - - - :param channel: The channel of this RealTimeSipCallEventWithStats. # noqa: E501 - :type: int - """ - - self._channel = channel - - @property - def codecs(self): - """Gets the codecs of this RealTimeSipCallEventWithStats. # noqa: E501 - - - :return: The codecs of this RealTimeSipCallEventWithStats. # noqa: E501 - :rtype: list[str] - """ - return self._codecs - - @codecs.setter - def codecs(self, codecs): - """Sets the codecs of this RealTimeSipCallEventWithStats. - - - :param codecs: The codecs of this RealTimeSipCallEventWithStats. # noqa: E501 - :type: list[str] - """ - - self._codecs = codecs - - @property - def provider_domain(self): - """Gets the provider_domain of this RealTimeSipCallEventWithStats. # noqa: E501 - - - :return: The provider_domain of this RealTimeSipCallEventWithStats. # noqa: E501 - :rtype: str - """ - return self._provider_domain - - @provider_domain.setter - def provider_domain(self, provider_domain): - """Sets the provider_domain of this RealTimeSipCallEventWithStats. - - - :param provider_domain: The provider_domain of this RealTimeSipCallEventWithStats. # noqa: E501 - :type: str - """ - - self._provider_domain = provider_domain - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(RealTimeSipCallEventWithStats, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, RealTimeSipCallEventWithStats): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/real_time_sip_call_report_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/real_time_sip_call_report_event.py deleted file mode 100644 index 098cff2e5..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/real_time_sip_call_report_event.py +++ /dev/null @@ -1,163 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class RealTimeSipCallReportEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'all_of': 'RealTimeSipCallEventWithStats', - 'report_reason': 'SIPCallReportReason' - } - - attribute_map = { - 'model_type': 'model_type', - 'all_of': 'allOf', - 'report_reason': 'reportReason' - } - - def __init__(self, model_type=None, all_of=None, report_reason=None): # noqa: E501 - """RealTimeSipCallReportEvent - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._all_of = None - self._report_reason = None - self.discriminator = None - self.model_type = model_type - if all_of is not None: - self.all_of = all_of - if report_reason is not None: - self.report_reason = report_reason - - @property - def model_type(self): - """Gets the model_type of this RealTimeSipCallReportEvent. # noqa: E501 - - - :return: The model_type of this RealTimeSipCallReportEvent. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this RealTimeSipCallReportEvent. - - - :param model_type: The model_type of this RealTimeSipCallReportEvent. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - - self._model_type = model_type - - @property - def all_of(self): - """Gets the all_of of this RealTimeSipCallReportEvent. # noqa: E501 - - - :return: The all_of of this RealTimeSipCallReportEvent. # noqa: E501 - :rtype: RealTimeSipCallEventWithStats - """ - return self._all_of - - @all_of.setter - def all_of(self, all_of): - """Sets the all_of of this RealTimeSipCallReportEvent. - - - :param all_of: The all_of of this RealTimeSipCallReportEvent. # noqa: E501 - :type: RealTimeSipCallEventWithStats - """ - - self._all_of = all_of - - @property - def report_reason(self): - """Gets the report_reason of this RealTimeSipCallReportEvent. # noqa: E501 - - - :return: The report_reason of this RealTimeSipCallReportEvent. # noqa: E501 - :rtype: SIPCallReportReason - """ - return self._report_reason - - @report_reason.setter - def report_reason(self, report_reason): - """Sets the report_reason of this RealTimeSipCallReportEvent. - - - :param report_reason: The report_reason of this RealTimeSipCallReportEvent. # noqa: E501 - :type: SIPCallReportReason - """ - - self._report_reason = report_reason - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(RealTimeSipCallReportEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, RealTimeSipCallReportEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/real_time_sip_call_start_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/real_time_sip_call_start_event.py deleted file mode 100644 index 87a8c802f..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/real_time_sip_call_start_event.py +++ /dev/null @@ -1,345 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class RealTimeSipCallStartEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'all_of': 'RealTimeEvent', - 'sip_call_id': 'int', - 'association_id': 'int', - 'mac_address': 'MacAddress', - 'radio_type': 'RadioType', - 'channel': 'int', - 'codecs': 'list[str]', - 'provider_domain': 'str', - 'device_info': 'str' - } - - attribute_map = { - 'model_type': 'model_type', - 'all_of': 'allOf', - 'sip_call_id': 'sipCallId', - 'association_id': 'associationId', - 'mac_address': 'macAddress', - 'radio_type': 'radioType', - 'channel': 'channel', - 'codecs': 'codecs', - 'provider_domain': 'providerDomain', - 'device_info': 'deviceInfo' - } - - def __init__(self, model_type=None, all_of=None, sip_call_id=None, association_id=None, mac_address=None, radio_type=None, channel=None, codecs=None, provider_domain=None, device_info=None): # noqa: E501 - """RealTimeSipCallStartEvent - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._all_of = None - self._sip_call_id = None - self._association_id = None - self._mac_address = None - self._radio_type = None - self._channel = None - self._codecs = None - self._provider_domain = None - self._device_info = None - self.discriminator = None - self.model_type = model_type - if all_of is not None: - self.all_of = all_of - if sip_call_id is not None: - self.sip_call_id = sip_call_id - if association_id is not None: - self.association_id = association_id - if mac_address is not None: - self.mac_address = mac_address - if radio_type is not None: - self.radio_type = radio_type - if channel is not None: - self.channel = channel - if codecs is not None: - self.codecs = codecs - if provider_domain is not None: - self.provider_domain = provider_domain - if device_info is not None: - self.device_info = device_info - - @property - def model_type(self): - """Gets the model_type of this RealTimeSipCallStartEvent. # noqa: E501 - - - :return: The model_type of this RealTimeSipCallStartEvent. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this RealTimeSipCallStartEvent. - - - :param model_type: The model_type of this RealTimeSipCallStartEvent. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - - self._model_type = model_type - - @property - def all_of(self): - """Gets the all_of of this RealTimeSipCallStartEvent. # noqa: E501 - - - :return: The all_of of this RealTimeSipCallStartEvent. # noqa: E501 - :rtype: RealTimeEvent - """ - return self._all_of - - @all_of.setter - def all_of(self, all_of): - """Sets the all_of of this RealTimeSipCallStartEvent. - - - :param all_of: The all_of of this RealTimeSipCallStartEvent. # noqa: E501 - :type: RealTimeEvent - """ - - self._all_of = all_of - - @property - def sip_call_id(self): - """Gets the sip_call_id of this RealTimeSipCallStartEvent. # noqa: E501 - - - :return: The sip_call_id of this RealTimeSipCallStartEvent. # noqa: E501 - :rtype: int - """ - return self._sip_call_id - - @sip_call_id.setter - def sip_call_id(self, sip_call_id): - """Sets the sip_call_id of this RealTimeSipCallStartEvent. - - - :param sip_call_id: The sip_call_id of this RealTimeSipCallStartEvent. # noqa: E501 - :type: int - """ - - self._sip_call_id = sip_call_id - - @property - def association_id(self): - """Gets the association_id of this RealTimeSipCallStartEvent. # noqa: E501 - - - :return: The association_id of this RealTimeSipCallStartEvent. # noqa: E501 - :rtype: int - """ - return self._association_id - - @association_id.setter - def association_id(self, association_id): - """Sets the association_id of this RealTimeSipCallStartEvent. - - - :param association_id: The association_id of this RealTimeSipCallStartEvent. # noqa: E501 - :type: int - """ - - self._association_id = association_id - - @property - def mac_address(self): - """Gets the mac_address of this RealTimeSipCallStartEvent. # noqa: E501 - - - :return: The mac_address of this RealTimeSipCallStartEvent. # noqa: E501 - :rtype: MacAddress - """ - return self._mac_address - - @mac_address.setter - def mac_address(self, mac_address): - """Sets the mac_address of this RealTimeSipCallStartEvent. - - - :param mac_address: The mac_address of this RealTimeSipCallStartEvent. # noqa: E501 - :type: MacAddress - """ - - self._mac_address = mac_address - - @property - def radio_type(self): - """Gets the radio_type of this RealTimeSipCallStartEvent. # noqa: E501 - - - :return: The radio_type of this RealTimeSipCallStartEvent. # noqa: E501 - :rtype: RadioType - """ - return self._radio_type - - @radio_type.setter - def radio_type(self, radio_type): - """Sets the radio_type of this RealTimeSipCallStartEvent. - - - :param radio_type: The radio_type of this RealTimeSipCallStartEvent. # noqa: E501 - :type: RadioType - """ - - self._radio_type = radio_type - - @property - def channel(self): - """Gets the channel of this RealTimeSipCallStartEvent. # noqa: E501 - - - :return: The channel of this RealTimeSipCallStartEvent. # noqa: E501 - :rtype: int - """ - return self._channel - - @channel.setter - def channel(self, channel): - """Sets the channel of this RealTimeSipCallStartEvent. - - - :param channel: The channel of this RealTimeSipCallStartEvent. # noqa: E501 - :type: int - """ - - self._channel = channel - - @property - def codecs(self): - """Gets the codecs of this RealTimeSipCallStartEvent. # noqa: E501 - - - :return: The codecs of this RealTimeSipCallStartEvent. # noqa: E501 - :rtype: list[str] - """ - return self._codecs - - @codecs.setter - def codecs(self, codecs): - """Sets the codecs of this RealTimeSipCallStartEvent. - - - :param codecs: The codecs of this RealTimeSipCallStartEvent. # noqa: E501 - :type: list[str] - """ - - self._codecs = codecs - - @property - def provider_domain(self): - """Gets the provider_domain of this RealTimeSipCallStartEvent. # noqa: E501 - - - :return: The provider_domain of this RealTimeSipCallStartEvent. # noqa: E501 - :rtype: str - """ - return self._provider_domain - - @provider_domain.setter - def provider_domain(self, provider_domain): - """Sets the provider_domain of this RealTimeSipCallStartEvent. - - - :param provider_domain: The provider_domain of this RealTimeSipCallStartEvent. # noqa: E501 - :type: str - """ - - self._provider_domain = provider_domain - - @property - def device_info(self): - """Gets the device_info of this RealTimeSipCallStartEvent. # noqa: E501 - - - :return: The device_info of this RealTimeSipCallStartEvent. # noqa: E501 - :rtype: str - """ - return self._device_info - - @device_info.setter - def device_info(self, device_info): - """Sets the device_info of this RealTimeSipCallStartEvent. - - - :param device_info: The device_info of this RealTimeSipCallStartEvent. # noqa: E501 - :type: str - """ - - self._device_info = device_info - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(RealTimeSipCallStartEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, RealTimeSipCallStartEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/real_time_sip_call_stop_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/real_time_sip_call_stop_event.py deleted file mode 100644 index 2d8e0cff5..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/real_time_sip_call_stop_event.py +++ /dev/null @@ -1,189 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class RealTimeSipCallStopEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'all_of': 'RealTimeEvent', - 'call_duration': 'int', - 'reason': 'SipCallStopReason' - } - - attribute_map = { - 'model_type': 'model_type', - 'all_of': 'allOf', - 'call_duration': 'callDuration', - 'reason': 'reason' - } - - def __init__(self, model_type=None, all_of=None, call_duration=None, reason=None): # noqa: E501 - """RealTimeSipCallStopEvent - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._all_of = None - self._call_duration = None - self._reason = None - self.discriminator = None - self.model_type = model_type - if all_of is not None: - self.all_of = all_of - if call_duration is not None: - self.call_duration = call_duration - if reason is not None: - self.reason = reason - - @property - def model_type(self): - """Gets the model_type of this RealTimeSipCallStopEvent. # noqa: E501 - - - :return: The model_type of this RealTimeSipCallStopEvent. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this RealTimeSipCallStopEvent. - - - :param model_type: The model_type of this RealTimeSipCallStopEvent. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - - self._model_type = model_type - - @property - def all_of(self): - """Gets the all_of of this RealTimeSipCallStopEvent. # noqa: E501 - - - :return: The all_of of this RealTimeSipCallStopEvent. # noqa: E501 - :rtype: RealTimeEvent - """ - return self._all_of - - @all_of.setter - def all_of(self, all_of): - """Sets the all_of of this RealTimeSipCallStopEvent. - - - :param all_of: The all_of of this RealTimeSipCallStopEvent. # noqa: E501 - :type: RealTimeEvent - """ - - self._all_of = all_of - - @property - def call_duration(self): - """Gets the call_duration of this RealTimeSipCallStopEvent. # noqa: E501 - - - :return: The call_duration of this RealTimeSipCallStopEvent. # noqa: E501 - :rtype: int - """ - return self._call_duration - - @call_duration.setter - def call_duration(self, call_duration): - """Sets the call_duration of this RealTimeSipCallStopEvent. - - - :param call_duration: The call_duration of this RealTimeSipCallStopEvent. # noqa: E501 - :type: int - """ - - self._call_duration = call_duration - - @property - def reason(self): - """Gets the reason of this RealTimeSipCallStopEvent. # noqa: E501 - - - :return: The reason of this RealTimeSipCallStopEvent. # noqa: E501 - :rtype: SipCallStopReason - """ - return self._reason - - @reason.setter - def reason(self, reason): - """Sets the reason of this RealTimeSipCallStopEvent. - - - :param reason: The reason of this RealTimeSipCallStopEvent. # noqa: E501 - :type: SipCallStopReason - """ - - self._reason = reason - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(RealTimeSipCallStopEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, RealTimeSipCallStopEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/real_time_streaming_start_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/real_time_streaming_start_event.py deleted file mode 100644 index 5258bdb57..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/real_time_streaming_start_event.py +++ /dev/null @@ -1,295 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class RealTimeStreamingStartEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'all_of': 'RealTimeEvent', - 'video_session_id': 'int', - 'session_id': 'int', - 'client_mac': 'MacAddress', - 'server_ip': 'str', - 'server_dns_name': 'str', - 'type': 'StreamingVideoType' - } - - attribute_map = { - 'model_type': 'model_type', - 'all_of': 'allOf', - 'video_session_id': 'videoSessionId', - 'session_id': 'sessionId', - 'client_mac': 'clientMac', - 'server_ip': 'serverIp', - 'server_dns_name': 'serverDnsName', - 'type': 'type' - } - - def __init__(self, model_type=None, all_of=None, video_session_id=None, session_id=None, client_mac=None, server_ip=None, server_dns_name=None, type=None): # noqa: E501 - """RealTimeStreamingStartEvent - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._all_of = None - self._video_session_id = None - self._session_id = None - self._client_mac = None - self._server_ip = None - self._server_dns_name = None - self._type = None - self.discriminator = None - self.model_type = model_type - if all_of is not None: - self.all_of = all_of - if video_session_id is not None: - self.video_session_id = video_session_id - if session_id is not None: - self.session_id = session_id - if client_mac is not None: - self.client_mac = client_mac - if server_ip is not None: - self.server_ip = server_ip - if server_dns_name is not None: - self.server_dns_name = server_dns_name - if type is not None: - self.type = type - - @property - def model_type(self): - """Gets the model_type of this RealTimeStreamingStartEvent. # noqa: E501 - - - :return: The model_type of this RealTimeStreamingStartEvent. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this RealTimeStreamingStartEvent. - - - :param model_type: The model_type of this RealTimeStreamingStartEvent. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - - self._model_type = model_type - - @property - def all_of(self): - """Gets the all_of of this RealTimeStreamingStartEvent. # noqa: E501 - - - :return: The all_of of this RealTimeStreamingStartEvent. # noqa: E501 - :rtype: RealTimeEvent - """ - return self._all_of - - @all_of.setter - def all_of(self, all_of): - """Sets the all_of of this RealTimeStreamingStartEvent. - - - :param all_of: The all_of of this RealTimeStreamingStartEvent. # noqa: E501 - :type: RealTimeEvent - """ - - self._all_of = all_of - - @property - def video_session_id(self): - """Gets the video_session_id of this RealTimeStreamingStartEvent. # noqa: E501 - - - :return: The video_session_id of this RealTimeStreamingStartEvent. # noqa: E501 - :rtype: int - """ - return self._video_session_id - - @video_session_id.setter - def video_session_id(self, video_session_id): - """Sets the video_session_id of this RealTimeStreamingStartEvent. - - - :param video_session_id: The video_session_id of this RealTimeStreamingStartEvent. # noqa: E501 - :type: int - """ - - self._video_session_id = video_session_id - - @property - def session_id(self): - """Gets the session_id of this RealTimeStreamingStartEvent. # noqa: E501 - - - :return: The session_id of this RealTimeStreamingStartEvent. # noqa: E501 - :rtype: int - """ - return self._session_id - - @session_id.setter - def session_id(self, session_id): - """Sets the session_id of this RealTimeStreamingStartEvent. - - - :param session_id: The session_id of this RealTimeStreamingStartEvent. # noqa: E501 - :type: int - """ - - self._session_id = session_id - - @property - def client_mac(self): - """Gets the client_mac of this RealTimeStreamingStartEvent. # noqa: E501 - - - :return: The client_mac of this RealTimeStreamingStartEvent. # noqa: E501 - :rtype: MacAddress - """ - return self._client_mac - - @client_mac.setter - def client_mac(self, client_mac): - """Sets the client_mac of this RealTimeStreamingStartEvent. - - - :param client_mac: The client_mac of this RealTimeStreamingStartEvent. # noqa: E501 - :type: MacAddress - """ - - self._client_mac = client_mac - - @property - def server_ip(self): - """Gets the server_ip of this RealTimeStreamingStartEvent. # noqa: E501 - - string representing InetAddress # noqa: E501 - - :return: The server_ip of this RealTimeStreamingStartEvent. # noqa: E501 - :rtype: str - """ - return self._server_ip - - @server_ip.setter - def server_ip(self, server_ip): - """Sets the server_ip of this RealTimeStreamingStartEvent. - - string representing InetAddress # noqa: E501 - - :param server_ip: The server_ip of this RealTimeStreamingStartEvent. # noqa: E501 - :type: str - """ - - self._server_ip = server_ip - - @property - def server_dns_name(self): - """Gets the server_dns_name of this RealTimeStreamingStartEvent. # noqa: E501 - - - :return: The server_dns_name of this RealTimeStreamingStartEvent. # noqa: E501 - :rtype: str - """ - return self._server_dns_name - - @server_dns_name.setter - def server_dns_name(self, server_dns_name): - """Sets the server_dns_name of this RealTimeStreamingStartEvent. - - - :param server_dns_name: The server_dns_name of this RealTimeStreamingStartEvent. # noqa: E501 - :type: str - """ - - self._server_dns_name = server_dns_name - - @property - def type(self): - """Gets the type of this RealTimeStreamingStartEvent. # noqa: E501 - - - :return: The type of this RealTimeStreamingStartEvent. # noqa: E501 - :rtype: StreamingVideoType - """ - return self._type - - @type.setter - def type(self, type): - """Sets the type of this RealTimeStreamingStartEvent. - - - :param type: The type of this RealTimeStreamingStartEvent. # noqa: E501 - :type: StreamingVideoType - """ - - self._type = type - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(RealTimeStreamingStartEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, RealTimeStreamingStartEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/real_time_streaming_start_session_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/real_time_streaming_start_session_event.py deleted file mode 100644 index f8dc3de40..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/real_time_streaming_start_session_event.py +++ /dev/null @@ -1,269 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class RealTimeStreamingStartSessionEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'all_of': 'RealTimeEvent', - 'video_session_id': 'int', - 'session_id': 'int', - 'client_mac': 'MacAddress', - 'server_ip': 'str', - 'type': 'StreamingVideoType' - } - - attribute_map = { - 'model_type': 'model_type', - 'all_of': 'allOf', - 'video_session_id': 'videoSessionId', - 'session_id': 'sessionId', - 'client_mac': 'clientMac', - 'server_ip': 'serverIp', - 'type': 'type' - } - - def __init__(self, model_type=None, all_of=None, video_session_id=None, session_id=None, client_mac=None, server_ip=None, type=None): # noqa: E501 - """RealTimeStreamingStartSessionEvent - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._all_of = None - self._video_session_id = None - self._session_id = None - self._client_mac = None - self._server_ip = None - self._type = None - self.discriminator = None - self.model_type = model_type - if all_of is not None: - self.all_of = all_of - if video_session_id is not None: - self.video_session_id = video_session_id - if session_id is not None: - self.session_id = session_id - if client_mac is not None: - self.client_mac = client_mac - if server_ip is not None: - self.server_ip = server_ip - if type is not None: - self.type = type - - @property - def model_type(self): - """Gets the model_type of this RealTimeStreamingStartSessionEvent. # noqa: E501 - - - :return: The model_type of this RealTimeStreamingStartSessionEvent. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this RealTimeStreamingStartSessionEvent. - - - :param model_type: The model_type of this RealTimeStreamingStartSessionEvent. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - - self._model_type = model_type - - @property - def all_of(self): - """Gets the all_of of this RealTimeStreamingStartSessionEvent. # noqa: E501 - - - :return: The all_of of this RealTimeStreamingStartSessionEvent. # noqa: E501 - :rtype: RealTimeEvent - """ - return self._all_of - - @all_of.setter - def all_of(self, all_of): - """Sets the all_of of this RealTimeStreamingStartSessionEvent. - - - :param all_of: The all_of of this RealTimeStreamingStartSessionEvent. # noqa: E501 - :type: RealTimeEvent - """ - - self._all_of = all_of - - @property - def video_session_id(self): - """Gets the video_session_id of this RealTimeStreamingStartSessionEvent. # noqa: E501 - - - :return: The video_session_id of this RealTimeStreamingStartSessionEvent. # noqa: E501 - :rtype: int - """ - return self._video_session_id - - @video_session_id.setter - def video_session_id(self, video_session_id): - """Sets the video_session_id of this RealTimeStreamingStartSessionEvent. - - - :param video_session_id: The video_session_id of this RealTimeStreamingStartSessionEvent. # noqa: E501 - :type: int - """ - - self._video_session_id = video_session_id - - @property - def session_id(self): - """Gets the session_id of this RealTimeStreamingStartSessionEvent. # noqa: E501 - - - :return: The session_id of this RealTimeStreamingStartSessionEvent. # noqa: E501 - :rtype: int - """ - return self._session_id - - @session_id.setter - def session_id(self, session_id): - """Sets the session_id of this RealTimeStreamingStartSessionEvent. - - - :param session_id: The session_id of this RealTimeStreamingStartSessionEvent. # noqa: E501 - :type: int - """ - - self._session_id = session_id - - @property - def client_mac(self): - """Gets the client_mac of this RealTimeStreamingStartSessionEvent. # noqa: E501 - - - :return: The client_mac of this RealTimeStreamingStartSessionEvent. # noqa: E501 - :rtype: MacAddress - """ - return self._client_mac - - @client_mac.setter - def client_mac(self, client_mac): - """Sets the client_mac of this RealTimeStreamingStartSessionEvent. - - - :param client_mac: The client_mac of this RealTimeStreamingStartSessionEvent. # noqa: E501 - :type: MacAddress - """ - - self._client_mac = client_mac - - @property - def server_ip(self): - """Gets the server_ip of this RealTimeStreamingStartSessionEvent. # noqa: E501 - - string representing InetAddress # noqa: E501 - - :return: The server_ip of this RealTimeStreamingStartSessionEvent. # noqa: E501 - :rtype: str - """ - return self._server_ip - - @server_ip.setter - def server_ip(self, server_ip): - """Sets the server_ip of this RealTimeStreamingStartSessionEvent. - - string representing InetAddress # noqa: E501 - - :param server_ip: The server_ip of this RealTimeStreamingStartSessionEvent. # noqa: E501 - :type: str - """ - - self._server_ip = server_ip - - @property - def type(self): - """Gets the type of this RealTimeStreamingStartSessionEvent. # noqa: E501 - - - :return: The type of this RealTimeStreamingStartSessionEvent. # noqa: E501 - :rtype: StreamingVideoType - """ - return self._type - - @type.setter - def type(self, type): - """Sets the type of this RealTimeStreamingStartSessionEvent. - - - :param type: The type of this RealTimeStreamingStartSessionEvent. # noqa: E501 - :type: StreamingVideoType - """ - - self._type = type - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(RealTimeStreamingStartSessionEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, RealTimeStreamingStartSessionEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/real_time_streaming_stop_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/real_time_streaming_stop_event.py deleted file mode 100644 index d9731ffc9..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/real_time_streaming_stop_event.py +++ /dev/null @@ -1,321 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class RealTimeStreamingStopEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'all_of': 'RealTimeEvent', - 'video_session_id': 'int', - 'session_id': 'int', - 'client_mac': 'MacAddress', - 'server_ip': 'str', - 'total_bytes': 'int', - 'type': 'StreamingVideoType', - 'duration_in_secs': 'int' - } - - attribute_map = { - 'model_type': 'model_type', - 'all_of': 'allOf', - 'video_session_id': 'videoSessionId', - 'session_id': 'sessionId', - 'client_mac': 'clientMac', - 'server_ip': 'serverIp', - 'total_bytes': 'totalBytes', - 'type': 'type', - 'duration_in_secs': 'durationInSecs' - } - - def __init__(self, model_type=None, all_of=None, video_session_id=None, session_id=None, client_mac=None, server_ip=None, total_bytes=None, type=None, duration_in_secs=None): # noqa: E501 - """RealTimeStreamingStopEvent - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._all_of = None - self._video_session_id = None - self._session_id = None - self._client_mac = None - self._server_ip = None - self._total_bytes = None - self._type = None - self._duration_in_secs = None - self.discriminator = None - self.model_type = model_type - if all_of is not None: - self.all_of = all_of - if video_session_id is not None: - self.video_session_id = video_session_id - if session_id is not None: - self.session_id = session_id - if client_mac is not None: - self.client_mac = client_mac - if server_ip is not None: - self.server_ip = server_ip - if total_bytes is not None: - self.total_bytes = total_bytes - if type is not None: - self.type = type - if duration_in_secs is not None: - self.duration_in_secs = duration_in_secs - - @property - def model_type(self): - """Gets the model_type of this RealTimeStreamingStopEvent. # noqa: E501 - - - :return: The model_type of this RealTimeStreamingStopEvent. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this RealTimeStreamingStopEvent. - - - :param model_type: The model_type of this RealTimeStreamingStopEvent. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - - self._model_type = model_type - - @property - def all_of(self): - """Gets the all_of of this RealTimeStreamingStopEvent. # noqa: E501 - - - :return: The all_of of this RealTimeStreamingStopEvent. # noqa: E501 - :rtype: RealTimeEvent - """ - return self._all_of - - @all_of.setter - def all_of(self, all_of): - """Sets the all_of of this RealTimeStreamingStopEvent. - - - :param all_of: The all_of of this RealTimeStreamingStopEvent. # noqa: E501 - :type: RealTimeEvent - """ - - self._all_of = all_of - - @property - def video_session_id(self): - """Gets the video_session_id of this RealTimeStreamingStopEvent. # noqa: E501 - - - :return: The video_session_id of this RealTimeStreamingStopEvent. # noqa: E501 - :rtype: int - """ - return self._video_session_id - - @video_session_id.setter - def video_session_id(self, video_session_id): - """Sets the video_session_id of this RealTimeStreamingStopEvent. - - - :param video_session_id: The video_session_id of this RealTimeStreamingStopEvent. # noqa: E501 - :type: int - """ - - self._video_session_id = video_session_id - - @property - def session_id(self): - """Gets the session_id of this RealTimeStreamingStopEvent. # noqa: E501 - - - :return: The session_id of this RealTimeStreamingStopEvent. # noqa: E501 - :rtype: int - """ - return self._session_id - - @session_id.setter - def session_id(self, session_id): - """Sets the session_id of this RealTimeStreamingStopEvent. - - - :param session_id: The session_id of this RealTimeStreamingStopEvent. # noqa: E501 - :type: int - """ - - self._session_id = session_id - - @property - def client_mac(self): - """Gets the client_mac of this RealTimeStreamingStopEvent. # noqa: E501 - - - :return: The client_mac of this RealTimeStreamingStopEvent. # noqa: E501 - :rtype: MacAddress - """ - return self._client_mac - - @client_mac.setter - def client_mac(self, client_mac): - """Sets the client_mac of this RealTimeStreamingStopEvent. - - - :param client_mac: The client_mac of this RealTimeStreamingStopEvent. # noqa: E501 - :type: MacAddress - """ - - self._client_mac = client_mac - - @property - def server_ip(self): - """Gets the server_ip of this RealTimeStreamingStopEvent. # noqa: E501 - - string representing InetAddress # noqa: E501 - - :return: The server_ip of this RealTimeStreamingStopEvent. # noqa: E501 - :rtype: str - """ - return self._server_ip - - @server_ip.setter - def server_ip(self, server_ip): - """Sets the server_ip of this RealTimeStreamingStopEvent. - - string representing InetAddress # noqa: E501 - - :param server_ip: The server_ip of this RealTimeStreamingStopEvent. # noqa: E501 - :type: str - """ - - self._server_ip = server_ip - - @property - def total_bytes(self): - """Gets the total_bytes of this RealTimeStreamingStopEvent. # noqa: E501 - - - :return: The total_bytes of this RealTimeStreamingStopEvent. # noqa: E501 - :rtype: int - """ - return self._total_bytes - - @total_bytes.setter - def total_bytes(self, total_bytes): - """Sets the total_bytes of this RealTimeStreamingStopEvent. - - - :param total_bytes: The total_bytes of this RealTimeStreamingStopEvent. # noqa: E501 - :type: int - """ - - self._total_bytes = total_bytes - - @property - def type(self): - """Gets the type of this RealTimeStreamingStopEvent. # noqa: E501 - - - :return: The type of this RealTimeStreamingStopEvent. # noqa: E501 - :rtype: StreamingVideoType - """ - return self._type - - @type.setter - def type(self, type): - """Sets the type of this RealTimeStreamingStopEvent. - - - :param type: The type of this RealTimeStreamingStopEvent. # noqa: E501 - :type: StreamingVideoType - """ - - self._type = type - - @property - def duration_in_secs(self): - """Gets the duration_in_secs of this RealTimeStreamingStopEvent. # noqa: E501 - - - :return: The duration_in_secs of this RealTimeStreamingStopEvent. # noqa: E501 - :rtype: int - """ - return self._duration_in_secs - - @duration_in_secs.setter - def duration_in_secs(self, duration_in_secs): - """Sets the duration_in_secs of this RealTimeStreamingStopEvent. - - - :param duration_in_secs: The duration_in_secs of this RealTimeStreamingStopEvent. # noqa: E501 - :type: int - """ - - self._duration_in_secs = duration_in_secs - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(RealTimeStreamingStopEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, RealTimeStreamingStopEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/realtime_channel_hop_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/realtime_channel_hop_event.py deleted file mode 100644 index d0038109a..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/realtime_channel_hop_event.py +++ /dev/null @@ -1,241 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class RealtimeChannelHopEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'all_of': 'RealTimeEvent', - 'old_channel': 'int', - 'new_channel': 'int', - 'reason_code': 'ChannelHopReason', - 'radio_type': 'RadioType' - } - - attribute_map = { - 'model_type': 'model_type', - 'all_of': 'allOf', - 'old_channel': 'oldChannel', - 'new_channel': 'newChannel', - 'reason_code': 'reasonCode', - 'radio_type': 'radioType' - } - - def __init__(self, model_type=None, all_of=None, old_channel=None, new_channel=None, reason_code=None, radio_type=None): # noqa: E501 - """RealtimeChannelHopEvent - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._all_of = None - self._old_channel = None - self._new_channel = None - self._reason_code = None - self._radio_type = None - self.discriminator = None - self.model_type = model_type - if all_of is not None: - self.all_of = all_of - if old_channel is not None: - self.old_channel = old_channel - if new_channel is not None: - self.new_channel = new_channel - if reason_code is not None: - self.reason_code = reason_code - if radio_type is not None: - self.radio_type = radio_type - - @property - def model_type(self): - """Gets the model_type of this RealtimeChannelHopEvent. # noqa: E501 - - - :return: The model_type of this RealtimeChannelHopEvent. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this RealtimeChannelHopEvent. - - - :param model_type: The model_type of this RealtimeChannelHopEvent. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - - self._model_type = model_type - - @property - def all_of(self): - """Gets the all_of of this RealtimeChannelHopEvent. # noqa: E501 - - - :return: The all_of of this RealtimeChannelHopEvent. # noqa: E501 - :rtype: RealTimeEvent - """ - return self._all_of - - @all_of.setter - def all_of(self, all_of): - """Sets the all_of of this RealtimeChannelHopEvent. - - - :param all_of: The all_of of this RealtimeChannelHopEvent. # noqa: E501 - :type: RealTimeEvent - """ - - self._all_of = all_of - - @property - def old_channel(self): - """Gets the old_channel of this RealtimeChannelHopEvent. # noqa: E501 - - - :return: The old_channel of this RealtimeChannelHopEvent. # noqa: E501 - :rtype: int - """ - return self._old_channel - - @old_channel.setter - def old_channel(self, old_channel): - """Sets the old_channel of this RealtimeChannelHopEvent. - - - :param old_channel: The old_channel of this RealtimeChannelHopEvent. # noqa: E501 - :type: int - """ - - self._old_channel = old_channel - - @property - def new_channel(self): - """Gets the new_channel of this RealtimeChannelHopEvent. # noqa: E501 - - - :return: The new_channel of this RealtimeChannelHopEvent. # noqa: E501 - :rtype: int - """ - return self._new_channel - - @new_channel.setter - def new_channel(self, new_channel): - """Sets the new_channel of this RealtimeChannelHopEvent. - - - :param new_channel: The new_channel of this RealtimeChannelHopEvent. # noqa: E501 - :type: int - """ - - self._new_channel = new_channel - - @property - def reason_code(self): - """Gets the reason_code of this RealtimeChannelHopEvent. # noqa: E501 - - - :return: The reason_code of this RealtimeChannelHopEvent. # noqa: E501 - :rtype: ChannelHopReason - """ - return self._reason_code - - @reason_code.setter - def reason_code(self, reason_code): - """Sets the reason_code of this RealtimeChannelHopEvent. - - - :param reason_code: The reason_code of this RealtimeChannelHopEvent. # noqa: E501 - :type: ChannelHopReason - """ - - self._reason_code = reason_code - - @property - def radio_type(self): - """Gets the radio_type of this RealtimeChannelHopEvent. # noqa: E501 - - - :return: The radio_type of this RealtimeChannelHopEvent. # noqa: E501 - :rtype: RadioType - """ - return self._radio_type - - @radio_type.setter - def radio_type(self, radio_type): - """Sets the radio_type of this RealtimeChannelHopEvent. - - - :param radio_type: The radio_type of this RealtimeChannelHopEvent. # noqa: E501 - :type: RadioType - """ - - self._radio_type = radio_type - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(RealtimeChannelHopEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, RealtimeChannelHopEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/rf_config_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/rf_config_map.py deleted file mode 100644 index e385be532..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/rf_config_map.py +++ /dev/null @@ -1,188 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class RfConfigMap(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'is2dot4_g_hz': 'RfElementConfiguration', - 'is5_g_hz': 'RfElementConfiguration', - 'is5_g_hz_u': 'RfElementConfiguration', - 'is5_g_hz_l': 'RfElementConfiguration' - } - - attribute_map = { - 'is2dot4_g_hz': 'is2dot4GHz', - 'is5_g_hz': 'is5GHz', - 'is5_g_hz_u': 'is5GHzU', - 'is5_g_hz_l': 'is5GHzL' - } - - def __init__(self, is2dot4_g_hz=None, is5_g_hz=None, is5_g_hz_u=None, is5_g_hz_l=None): # noqa: E501 - """RfConfigMap - a model defined in Swagger""" # noqa: E501 - self._is2dot4_g_hz = None - self._is5_g_hz = None - self._is5_g_hz_u = None - self._is5_g_hz_l = None - self.discriminator = None - if is2dot4_g_hz is not None: - self.is2dot4_g_hz = is2dot4_g_hz - if is5_g_hz is not None: - self.is5_g_hz = is5_g_hz - if is5_g_hz_u is not None: - self.is5_g_hz_u = is5_g_hz_u - if is5_g_hz_l is not None: - self.is5_g_hz_l = is5_g_hz_l - - @property - def is2dot4_g_hz(self): - """Gets the is2dot4_g_hz of this RfConfigMap. # noqa: E501 - - - :return: The is2dot4_g_hz of this RfConfigMap. # noqa: E501 - :rtype: RfElementConfiguration - """ - return self._is2dot4_g_hz - - @is2dot4_g_hz.setter - def is2dot4_g_hz(self, is2dot4_g_hz): - """Sets the is2dot4_g_hz of this RfConfigMap. - - - :param is2dot4_g_hz: The is2dot4_g_hz of this RfConfigMap. # noqa: E501 - :type: RfElementConfiguration - """ - - self._is2dot4_g_hz = is2dot4_g_hz - - @property - def is5_g_hz(self): - """Gets the is5_g_hz of this RfConfigMap. # noqa: E501 - - - :return: The is5_g_hz of this RfConfigMap. # noqa: E501 - :rtype: RfElementConfiguration - """ - return self._is5_g_hz - - @is5_g_hz.setter - def is5_g_hz(self, is5_g_hz): - """Sets the is5_g_hz of this RfConfigMap. - - - :param is5_g_hz: The is5_g_hz of this RfConfigMap. # noqa: E501 - :type: RfElementConfiguration - """ - - self._is5_g_hz = is5_g_hz - - @property - def is5_g_hz_u(self): - """Gets the is5_g_hz_u of this RfConfigMap. # noqa: E501 - - - :return: The is5_g_hz_u of this RfConfigMap. # noqa: E501 - :rtype: RfElementConfiguration - """ - return self._is5_g_hz_u - - @is5_g_hz_u.setter - def is5_g_hz_u(self, is5_g_hz_u): - """Sets the is5_g_hz_u of this RfConfigMap. - - - :param is5_g_hz_u: The is5_g_hz_u of this RfConfigMap. # noqa: E501 - :type: RfElementConfiguration - """ - - self._is5_g_hz_u = is5_g_hz_u - - @property - def is5_g_hz_l(self): - """Gets the is5_g_hz_l of this RfConfigMap. # noqa: E501 - - - :return: The is5_g_hz_l of this RfConfigMap. # noqa: E501 - :rtype: RfElementConfiguration - """ - return self._is5_g_hz_l - - @is5_g_hz_l.setter - def is5_g_hz_l(self, is5_g_hz_l): - """Sets the is5_g_hz_l of this RfConfigMap. - - - :param is5_g_hz_l: The is5_g_hz_l of this RfConfigMap. # noqa: E501 - :type: RfElementConfiguration - """ - - self._is5_g_hz_l = is5_g_hz_l - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(RfConfigMap, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, RfConfigMap): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/rf_configuration.py b/libs/cloudapi/cloudsdk/swagger_client/models/rf_configuration.py deleted file mode 100644 index 8000b049b..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/rf_configuration.py +++ /dev/null @@ -1,116 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six -from swagger_client.models.profile_details import ProfileDetails # noqa: F401,E501 - -class RfConfiguration(ProfileDetails): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'rf_config_map': 'RfConfigMap' - } - if hasattr(ProfileDetails, "swagger_types"): - swagger_types.update(ProfileDetails.swagger_types) - - attribute_map = { - 'rf_config_map': 'rfConfigMap' - } - if hasattr(ProfileDetails, "attribute_map"): - attribute_map.update(ProfileDetails.attribute_map) - - def __init__(self, rf_config_map=None, *args, **kwargs): # noqa: E501 - """RfConfiguration - a model defined in Swagger""" # noqa: E501 - self._rf_config_map = None - self.discriminator = None - if rf_config_map is not None: - self.rf_config_map = rf_config_map - ProfileDetails.__init__(self, *args, **kwargs) - - @property - def rf_config_map(self): - """Gets the rf_config_map of this RfConfiguration. # noqa: E501 - - - :return: The rf_config_map of this RfConfiguration. # noqa: E501 - :rtype: RfConfigMap - """ - return self._rf_config_map - - @rf_config_map.setter - def rf_config_map(self, rf_config_map): - """Sets the rf_config_map of this RfConfiguration. - - - :param rf_config_map: The rf_config_map of this RfConfiguration. # noqa: E501 - :type: RfConfigMap - """ - - self._rf_config_map = rf_config_map - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(RfConfiguration, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, RfConfiguration): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/rf_element_configuration.py b/libs/cloudapi/cloudsdk/swagger_client/models/rf_element_configuration.py deleted file mode 100644 index 2d3f2191f..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/rf_element_configuration.py +++ /dev/null @@ -1,714 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class RfElementConfiguration(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'rf': 'str', - 'radio_type': 'RadioType', - 'radio_mode': 'RadioMode', - 'auto_channel_selection': 'bool', - 'beacon_interval': 'int', - 'force_scan_during_voice': 'StateSetting', - 'rts_cts_threshold': 'int', - 'channel_bandwidth': 'ChannelBandwidth', - 'mimo_mode': 'MimoMode', - 'max_num_clients': 'int', - 'multicast_rate': 'MulticastRate', - 'active_scan_settings': 'ActiveScanSettings', - 'management_rate': 'ManagementRate', - 'rx_cell_size_db': 'int', - 'probe_response_threshold_db': 'int', - 'client_disconnect_threshold_db': 'int', - 'eirp_tx_power': 'int', - 'best_ap_enabled': 'bool', - 'neighbouring_list_ap_config': 'NeighbouringAPListConfiguration', - 'min_auto_cell_size': 'int', - 'perimeter_detection_enabled': 'bool', - 'channel_hop_settings': 'ChannelHopSettings', - 'best_ap_settings': 'RadioBestApSettings' - } - - attribute_map = { - 'model_type': 'model_type', - 'rf': 'rf', - 'radio_type': 'radioType', - 'radio_mode': 'radioMode', - 'auto_channel_selection': 'autoChannelSelection', - 'beacon_interval': 'beaconInterval', - 'force_scan_during_voice': 'forceScanDuringVoice', - 'rts_cts_threshold': 'rtsCtsThreshold', - 'channel_bandwidth': 'channelBandwidth', - 'mimo_mode': 'mimoMode', - 'max_num_clients': 'maxNumClients', - 'multicast_rate': 'multicastRate', - 'active_scan_settings': 'activeScanSettings', - 'management_rate': 'managementRate', - 'rx_cell_size_db': 'rxCellSizeDb', - 'probe_response_threshold_db': 'probeResponseThresholdDb', - 'client_disconnect_threshold_db': 'clientDisconnectThresholdDb', - 'eirp_tx_power': 'eirpTxPower', - 'best_ap_enabled': 'bestApEnabled', - 'neighbouring_list_ap_config': 'neighbouringListApConfig', - 'min_auto_cell_size': 'minAutoCellSize', - 'perimeter_detection_enabled': 'perimeterDetectionEnabled', - 'channel_hop_settings': 'channelHopSettings', - 'best_ap_settings': 'bestApSettings' - } - - def __init__(self, model_type=None, rf=None, radio_type=None, radio_mode=None, auto_channel_selection=None, beacon_interval=None, force_scan_during_voice=None, rts_cts_threshold=None, channel_bandwidth=None, mimo_mode=None, max_num_clients=None, multicast_rate=None, active_scan_settings=None, management_rate=None, rx_cell_size_db=None, probe_response_threshold_db=None, client_disconnect_threshold_db=None, eirp_tx_power=18, best_ap_enabled=None, neighbouring_list_ap_config=None, min_auto_cell_size=None, perimeter_detection_enabled=None, channel_hop_settings=None, best_ap_settings=None): # noqa: E501 - """RfElementConfiguration - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._rf = None - self._radio_type = None - self._radio_mode = None - self._auto_channel_selection = None - self._beacon_interval = None - self._force_scan_during_voice = None - self._rts_cts_threshold = None - self._channel_bandwidth = None - self._mimo_mode = None - self._max_num_clients = None - self._multicast_rate = None - self._active_scan_settings = None - self._management_rate = None - self._rx_cell_size_db = None - self._probe_response_threshold_db = None - self._client_disconnect_threshold_db = None - self._eirp_tx_power = None - self._best_ap_enabled = None - self._neighbouring_list_ap_config = None - self._min_auto_cell_size = None - self._perimeter_detection_enabled = None - self._channel_hop_settings = None - self._best_ap_settings = None - self.discriminator = None - if model_type is not None: - self.model_type = model_type - if rf is not None: - self.rf = rf - if radio_type is not None: - self.radio_type = radio_type - if radio_mode is not None: - self.radio_mode = radio_mode - if auto_channel_selection is not None: - self.auto_channel_selection = auto_channel_selection - if beacon_interval is not None: - self.beacon_interval = beacon_interval - if force_scan_during_voice is not None: - self.force_scan_during_voice = force_scan_during_voice - if rts_cts_threshold is not None: - self.rts_cts_threshold = rts_cts_threshold - if channel_bandwidth is not None: - self.channel_bandwidth = channel_bandwidth - if mimo_mode is not None: - self.mimo_mode = mimo_mode - if max_num_clients is not None: - self.max_num_clients = max_num_clients - if multicast_rate is not None: - self.multicast_rate = multicast_rate - if active_scan_settings is not None: - self.active_scan_settings = active_scan_settings - if management_rate is not None: - self.management_rate = management_rate - if rx_cell_size_db is not None: - self.rx_cell_size_db = rx_cell_size_db - if probe_response_threshold_db is not None: - self.probe_response_threshold_db = probe_response_threshold_db - if client_disconnect_threshold_db is not None: - self.client_disconnect_threshold_db = client_disconnect_threshold_db - if eirp_tx_power is not None: - self.eirp_tx_power = eirp_tx_power - if best_ap_enabled is not None: - self.best_ap_enabled = best_ap_enabled - if neighbouring_list_ap_config is not None: - self.neighbouring_list_ap_config = neighbouring_list_ap_config - if min_auto_cell_size is not None: - self.min_auto_cell_size = min_auto_cell_size - if perimeter_detection_enabled is not None: - self.perimeter_detection_enabled = perimeter_detection_enabled - if channel_hop_settings is not None: - self.channel_hop_settings = channel_hop_settings - if best_ap_settings is not None: - self.best_ap_settings = best_ap_settings - - @property - def model_type(self): - """Gets the model_type of this RfElementConfiguration. # noqa: E501 - - - :return: The model_type of this RfElementConfiguration. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this RfElementConfiguration. - - - :param model_type: The model_type of this RfElementConfiguration. # noqa: E501 - :type: str - """ - allowed_values = ["RfElementConfiguration"] # noqa: E501 - if model_type not in allowed_values: - raise ValueError( - "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 - .format(model_type, allowed_values) - ) - - self._model_type = model_type - - @property - def rf(self): - """Gets the rf of this RfElementConfiguration. # noqa: E501 - - - :return: The rf of this RfElementConfiguration. # noqa: E501 - :rtype: str - """ - return self._rf - - @rf.setter - def rf(self, rf): - """Sets the rf of this RfElementConfiguration. - - - :param rf: The rf of this RfElementConfiguration. # noqa: E501 - :type: str - """ - - self._rf = rf - - @property - def radio_type(self): - """Gets the radio_type of this RfElementConfiguration. # noqa: E501 - - - :return: The radio_type of this RfElementConfiguration. # noqa: E501 - :rtype: RadioType - """ - return self._radio_type - - @radio_type.setter - def radio_type(self, radio_type): - """Sets the radio_type of this RfElementConfiguration. - - - :param radio_type: The radio_type of this RfElementConfiguration. # noqa: E501 - :type: RadioType - """ - - self._radio_type = radio_type - - @property - def radio_mode(self): - """Gets the radio_mode of this RfElementConfiguration. # noqa: E501 - - - :return: The radio_mode of this RfElementConfiguration. # noqa: E501 - :rtype: RadioMode - """ - return self._radio_mode - - @radio_mode.setter - def radio_mode(self, radio_mode): - """Sets the radio_mode of this RfElementConfiguration. - - - :param radio_mode: The radio_mode of this RfElementConfiguration. # noqa: E501 - :type: RadioMode - """ - - self._radio_mode = radio_mode - - @property - def auto_channel_selection(self): - """Gets the auto_channel_selection of this RfElementConfiguration. # noqa: E501 - - - :return: The auto_channel_selection of this RfElementConfiguration. # noqa: E501 - :rtype: bool - """ - return self._auto_channel_selection - - @auto_channel_selection.setter - def auto_channel_selection(self, auto_channel_selection): - """Sets the auto_channel_selection of this RfElementConfiguration. - - - :param auto_channel_selection: The auto_channel_selection of this RfElementConfiguration. # noqa: E501 - :type: bool - """ - - self._auto_channel_selection = auto_channel_selection - - @property - def beacon_interval(self): - """Gets the beacon_interval of this RfElementConfiguration. # noqa: E501 - - - :return: The beacon_interval of this RfElementConfiguration. # noqa: E501 - :rtype: int - """ - return self._beacon_interval - - @beacon_interval.setter - def beacon_interval(self, beacon_interval): - """Sets the beacon_interval of this RfElementConfiguration. - - - :param beacon_interval: The beacon_interval of this RfElementConfiguration. # noqa: E501 - :type: int - """ - - self._beacon_interval = beacon_interval - - @property - def force_scan_during_voice(self): - """Gets the force_scan_during_voice of this RfElementConfiguration. # noqa: E501 - - - :return: The force_scan_during_voice of this RfElementConfiguration. # noqa: E501 - :rtype: StateSetting - """ - return self._force_scan_during_voice - - @force_scan_during_voice.setter - def force_scan_during_voice(self, force_scan_during_voice): - """Sets the force_scan_during_voice of this RfElementConfiguration. - - - :param force_scan_during_voice: The force_scan_during_voice of this RfElementConfiguration. # noqa: E501 - :type: StateSetting - """ - - self._force_scan_during_voice = force_scan_during_voice - - @property - def rts_cts_threshold(self): - """Gets the rts_cts_threshold of this RfElementConfiguration. # noqa: E501 - - - :return: The rts_cts_threshold of this RfElementConfiguration. # noqa: E501 - :rtype: int - """ - return self._rts_cts_threshold - - @rts_cts_threshold.setter - def rts_cts_threshold(self, rts_cts_threshold): - """Sets the rts_cts_threshold of this RfElementConfiguration. - - - :param rts_cts_threshold: The rts_cts_threshold of this RfElementConfiguration. # noqa: E501 - :type: int - """ - - self._rts_cts_threshold = rts_cts_threshold - - @property - def channel_bandwidth(self): - """Gets the channel_bandwidth of this RfElementConfiguration. # noqa: E501 - - - :return: The channel_bandwidth of this RfElementConfiguration. # noqa: E501 - :rtype: ChannelBandwidth - """ - return self._channel_bandwidth - - @channel_bandwidth.setter - def channel_bandwidth(self, channel_bandwidth): - """Sets the channel_bandwidth of this RfElementConfiguration. - - - :param channel_bandwidth: The channel_bandwidth of this RfElementConfiguration. # noqa: E501 - :type: ChannelBandwidth - """ - - self._channel_bandwidth = channel_bandwidth - - @property - def mimo_mode(self): - """Gets the mimo_mode of this RfElementConfiguration. # noqa: E501 - - - :return: The mimo_mode of this RfElementConfiguration. # noqa: E501 - :rtype: MimoMode - """ - return self._mimo_mode - - @mimo_mode.setter - def mimo_mode(self, mimo_mode): - """Sets the mimo_mode of this RfElementConfiguration. - - - :param mimo_mode: The mimo_mode of this RfElementConfiguration. # noqa: E501 - :type: MimoMode - """ - - self._mimo_mode = mimo_mode - - @property - def max_num_clients(self): - """Gets the max_num_clients of this RfElementConfiguration. # noqa: E501 - - - :return: The max_num_clients of this RfElementConfiguration. # noqa: E501 - :rtype: int - """ - return self._max_num_clients - - @max_num_clients.setter - def max_num_clients(self, max_num_clients): - """Sets the max_num_clients of this RfElementConfiguration. - - - :param max_num_clients: The max_num_clients of this RfElementConfiguration. # noqa: E501 - :type: int - """ - - self._max_num_clients = max_num_clients - - @property - def multicast_rate(self): - """Gets the multicast_rate of this RfElementConfiguration. # noqa: E501 - - - :return: The multicast_rate of this RfElementConfiguration. # noqa: E501 - :rtype: MulticastRate - """ - return self._multicast_rate - - @multicast_rate.setter - def multicast_rate(self, multicast_rate): - """Sets the multicast_rate of this RfElementConfiguration. - - - :param multicast_rate: The multicast_rate of this RfElementConfiguration. # noqa: E501 - :type: MulticastRate - """ - - self._multicast_rate = multicast_rate - - @property - def active_scan_settings(self): - """Gets the active_scan_settings of this RfElementConfiguration. # noqa: E501 - - - :return: The active_scan_settings of this RfElementConfiguration. # noqa: E501 - :rtype: ActiveScanSettings - """ - return self._active_scan_settings - - @active_scan_settings.setter - def active_scan_settings(self, active_scan_settings): - """Sets the active_scan_settings of this RfElementConfiguration. - - - :param active_scan_settings: The active_scan_settings of this RfElementConfiguration. # noqa: E501 - :type: ActiveScanSettings - """ - - self._active_scan_settings = active_scan_settings - - @property - def management_rate(self): - """Gets the management_rate of this RfElementConfiguration. # noqa: E501 - - - :return: The management_rate of this RfElementConfiguration. # noqa: E501 - :rtype: ManagementRate - """ - return self._management_rate - - @management_rate.setter - def management_rate(self, management_rate): - """Sets the management_rate of this RfElementConfiguration. - - - :param management_rate: The management_rate of this RfElementConfiguration. # noqa: E501 - :type: ManagementRate - """ - - self._management_rate = management_rate - - @property - def rx_cell_size_db(self): - """Gets the rx_cell_size_db of this RfElementConfiguration. # noqa: E501 - - - :return: The rx_cell_size_db of this RfElementConfiguration. # noqa: E501 - :rtype: int - """ - return self._rx_cell_size_db - - @rx_cell_size_db.setter - def rx_cell_size_db(self, rx_cell_size_db): - """Sets the rx_cell_size_db of this RfElementConfiguration. - - - :param rx_cell_size_db: The rx_cell_size_db of this RfElementConfiguration. # noqa: E501 - :type: int - """ - - self._rx_cell_size_db = rx_cell_size_db - - @property - def probe_response_threshold_db(self): - """Gets the probe_response_threshold_db of this RfElementConfiguration. # noqa: E501 - - - :return: The probe_response_threshold_db of this RfElementConfiguration. # noqa: E501 - :rtype: int - """ - return self._probe_response_threshold_db - - @probe_response_threshold_db.setter - def probe_response_threshold_db(self, probe_response_threshold_db): - """Sets the probe_response_threshold_db of this RfElementConfiguration. - - - :param probe_response_threshold_db: The probe_response_threshold_db of this RfElementConfiguration. # noqa: E501 - :type: int - """ - - self._probe_response_threshold_db = probe_response_threshold_db - - @property - def client_disconnect_threshold_db(self): - """Gets the client_disconnect_threshold_db of this RfElementConfiguration. # noqa: E501 - - - :return: The client_disconnect_threshold_db of this RfElementConfiguration. # noqa: E501 - :rtype: int - """ - return self._client_disconnect_threshold_db - - @client_disconnect_threshold_db.setter - def client_disconnect_threshold_db(self, client_disconnect_threshold_db): - """Sets the client_disconnect_threshold_db of this RfElementConfiguration. - - - :param client_disconnect_threshold_db: The client_disconnect_threshold_db of this RfElementConfiguration. # noqa: E501 - :type: int - """ - - self._client_disconnect_threshold_db = client_disconnect_threshold_db - - @property - def eirp_tx_power(self): - """Gets the eirp_tx_power of this RfElementConfiguration. # noqa: E501 - - - :return: The eirp_tx_power of this RfElementConfiguration. # noqa: E501 - :rtype: int - """ - return self._eirp_tx_power - - @eirp_tx_power.setter - def eirp_tx_power(self, eirp_tx_power): - """Sets the eirp_tx_power of this RfElementConfiguration. - - - :param eirp_tx_power: The eirp_tx_power of this RfElementConfiguration. # noqa: E501 - :type: int - """ - - self._eirp_tx_power = eirp_tx_power - - @property - def best_ap_enabled(self): - """Gets the best_ap_enabled of this RfElementConfiguration. # noqa: E501 - - - :return: The best_ap_enabled of this RfElementConfiguration. # noqa: E501 - :rtype: bool - """ - return self._best_ap_enabled - - @best_ap_enabled.setter - def best_ap_enabled(self, best_ap_enabled): - """Sets the best_ap_enabled of this RfElementConfiguration. - - - :param best_ap_enabled: The best_ap_enabled of this RfElementConfiguration. # noqa: E501 - :type: bool - """ - - self._best_ap_enabled = best_ap_enabled - - @property - def neighbouring_list_ap_config(self): - """Gets the neighbouring_list_ap_config of this RfElementConfiguration. # noqa: E501 - - - :return: The neighbouring_list_ap_config of this RfElementConfiguration. # noqa: E501 - :rtype: NeighbouringAPListConfiguration - """ - return self._neighbouring_list_ap_config - - @neighbouring_list_ap_config.setter - def neighbouring_list_ap_config(self, neighbouring_list_ap_config): - """Sets the neighbouring_list_ap_config of this RfElementConfiguration. - - - :param neighbouring_list_ap_config: The neighbouring_list_ap_config of this RfElementConfiguration. # noqa: E501 - :type: NeighbouringAPListConfiguration - """ - - self._neighbouring_list_ap_config = neighbouring_list_ap_config - - @property - def min_auto_cell_size(self): - """Gets the min_auto_cell_size of this RfElementConfiguration. # noqa: E501 - - - :return: The min_auto_cell_size of this RfElementConfiguration. # noqa: E501 - :rtype: int - """ - return self._min_auto_cell_size - - @min_auto_cell_size.setter - def min_auto_cell_size(self, min_auto_cell_size): - """Sets the min_auto_cell_size of this RfElementConfiguration. - - - :param min_auto_cell_size: The min_auto_cell_size of this RfElementConfiguration. # noqa: E501 - :type: int - """ - - self._min_auto_cell_size = min_auto_cell_size - - @property - def perimeter_detection_enabled(self): - """Gets the perimeter_detection_enabled of this RfElementConfiguration. # noqa: E501 - - - :return: The perimeter_detection_enabled of this RfElementConfiguration. # noqa: E501 - :rtype: bool - """ - return self._perimeter_detection_enabled - - @perimeter_detection_enabled.setter - def perimeter_detection_enabled(self, perimeter_detection_enabled): - """Sets the perimeter_detection_enabled of this RfElementConfiguration. - - - :param perimeter_detection_enabled: The perimeter_detection_enabled of this RfElementConfiguration. # noqa: E501 - :type: bool - """ - - self._perimeter_detection_enabled = perimeter_detection_enabled - - @property - def channel_hop_settings(self): - """Gets the channel_hop_settings of this RfElementConfiguration. # noqa: E501 - - - :return: The channel_hop_settings of this RfElementConfiguration. # noqa: E501 - :rtype: ChannelHopSettings - """ - return self._channel_hop_settings - - @channel_hop_settings.setter - def channel_hop_settings(self, channel_hop_settings): - """Sets the channel_hop_settings of this RfElementConfiguration. - - - :param channel_hop_settings: The channel_hop_settings of this RfElementConfiguration. # noqa: E501 - :type: ChannelHopSettings - """ - - self._channel_hop_settings = channel_hop_settings - - @property - def best_ap_settings(self): - """Gets the best_ap_settings of this RfElementConfiguration. # noqa: E501 - - - :return: The best_ap_settings of this RfElementConfiguration. # noqa: E501 - :rtype: RadioBestApSettings - """ - return self._best_ap_settings - - @best_ap_settings.setter - def best_ap_settings(self, best_ap_settings): - """Sets the best_ap_settings of this RfElementConfiguration. - - - :param best_ap_settings: The best_ap_settings of this RfElementConfiguration. # noqa: E501 - :type: RadioBestApSettings - """ - - self._best_ap_settings = best_ap_settings - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(RfElementConfiguration, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, RfElementConfiguration): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/routing_added_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/routing_added_event.py deleted file mode 100644 index c76179196..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/routing_added_event.py +++ /dev/null @@ -1,215 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class RoutingAddedEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'event_timestamp': 'int', - 'customer_id': 'int', - 'equipment_id': 'int', - 'payload': 'EquipmentRoutingRecord' - } - - attribute_map = { - 'model_type': 'model_type', - 'event_timestamp': 'eventTimestamp', - 'customer_id': 'customerId', - 'equipment_id': 'equipmentId', - 'payload': 'payload' - } - - def __init__(self, model_type=None, event_timestamp=None, customer_id=None, equipment_id=None, payload=None): # noqa: E501 - """RoutingAddedEvent - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._event_timestamp = None - self._customer_id = None - self._equipment_id = None - self._payload = None - self.discriminator = None - self.model_type = model_type - if event_timestamp is not None: - self.event_timestamp = event_timestamp - if customer_id is not None: - self.customer_id = customer_id - if equipment_id is not None: - self.equipment_id = equipment_id - if payload is not None: - self.payload = payload - - @property - def model_type(self): - """Gets the model_type of this RoutingAddedEvent. # noqa: E501 - - - :return: The model_type of this RoutingAddedEvent. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this RoutingAddedEvent. - - - :param model_type: The model_type of this RoutingAddedEvent. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - - self._model_type = model_type - - @property - def event_timestamp(self): - """Gets the event_timestamp of this RoutingAddedEvent. # noqa: E501 - - - :return: The event_timestamp of this RoutingAddedEvent. # noqa: E501 - :rtype: int - """ - return self._event_timestamp - - @event_timestamp.setter - def event_timestamp(self, event_timestamp): - """Sets the event_timestamp of this RoutingAddedEvent. - - - :param event_timestamp: The event_timestamp of this RoutingAddedEvent. # noqa: E501 - :type: int - """ - - self._event_timestamp = event_timestamp - - @property - def customer_id(self): - """Gets the customer_id of this RoutingAddedEvent. # noqa: E501 - - - :return: The customer_id of this RoutingAddedEvent. # noqa: E501 - :rtype: int - """ - return self._customer_id - - @customer_id.setter - def customer_id(self, customer_id): - """Sets the customer_id of this RoutingAddedEvent. - - - :param customer_id: The customer_id of this RoutingAddedEvent. # noqa: E501 - :type: int - """ - - self._customer_id = customer_id - - @property - def equipment_id(self): - """Gets the equipment_id of this RoutingAddedEvent. # noqa: E501 - - - :return: The equipment_id of this RoutingAddedEvent. # noqa: E501 - :rtype: int - """ - return self._equipment_id - - @equipment_id.setter - def equipment_id(self, equipment_id): - """Sets the equipment_id of this RoutingAddedEvent. - - - :param equipment_id: The equipment_id of this RoutingAddedEvent. # noqa: E501 - :type: int - """ - - self._equipment_id = equipment_id - - @property - def payload(self): - """Gets the payload of this RoutingAddedEvent. # noqa: E501 - - - :return: The payload of this RoutingAddedEvent. # noqa: E501 - :rtype: EquipmentRoutingRecord - """ - return self._payload - - @payload.setter - def payload(self, payload): - """Sets the payload of this RoutingAddedEvent. - - - :param payload: The payload of this RoutingAddedEvent. # noqa: E501 - :type: EquipmentRoutingRecord - """ - - self._payload = payload - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(RoutingAddedEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, RoutingAddedEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/routing_changed_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/routing_changed_event.py deleted file mode 100644 index fb1e5f8ff..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/routing_changed_event.py +++ /dev/null @@ -1,215 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class RoutingChangedEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'event_timestamp': 'int', - 'customer_id': 'int', - 'equipment_id': 'int', - 'payload': 'EquipmentRoutingRecord' - } - - attribute_map = { - 'model_type': 'model_type', - 'event_timestamp': 'eventTimestamp', - 'customer_id': 'customerId', - 'equipment_id': 'equipmentId', - 'payload': 'payload' - } - - def __init__(self, model_type=None, event_timestamp=None, customer_id=None, equipment_id=None, payload=None): # noqa: E501 - """RoutingChangedEvent - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._event_timestamp = None - self._customer_id = None - self._equipment_id = None - self._payload = None - self.discriminator = None - self.model_type = model_type - if event_timestamp is not None: - self.event_timestamp = event_timestamp - if customer_id is not None: - self.customer_id = customer_id - if equipment_id is not None: - self.equipment_id = equipment_id - if payload is not None: - self.payload = payload - - @property - def model_type(self): - """Gets the model_type of this RoutingChangedEvent. # noqa: E501 - - - :return: The model_type of this RoutingChangedEvent. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this RoutingChangedEvent. - - - :param model_type: The model_type of this RoutingChangedEvent. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - - self._model_type = model_type - - @property - def event_timestamp(self): - """Gets the event_timestamp of this RoutingChangedEvent. # noqa: E501 - - - :return: The event_timestamp of this RoutingChangedEvent. # noqa: E501 - :rtype: int - """ - return self._event_timestamp - - @event_timestamp.setter - def event_timestamp(self, event_timestamp): - """Sets the event_timestamp of this RoutingChangedEvent. - - - :param event_timestamp: The event_timestamp of this RoutingChangedEvent. # noqa: E501 - :type: int - """ - - self._event_timestamp = event_timestamp - - @property - def customer_id(self): - """Gets the customer_id of this RoutingChangedEvent. # noqa: E501 - - - :return: The customer_id of this RoutingChangedEvent. # noqa: E501 - :rtype: int - """ - return self._customer_id - - @customer_id.setter - def customer_id(self, customer_id): - """Sets the customer_id of this RoutingChangedEvent. - - - :param customer_id: The customer_id of this RoutingChangedEvent. # noqa: E501 - :type: int - """ - - self._customer_id = customer_id - - @property - def equipment_id(self): - """Gets the equipment_id of this RoutingChangedEvent. # noqa: E501 - - - :return: The equipment_id of this RoutingChangedEvent. # noqa: E501 - :rtype: int - """ - return self._equipment_id - - @equipment_id.setter - def equipment_id(self, equipment_id): - """Sets the equipment_id of this RoutingChangedEvent. - - - :param equipment_id: The equipment_id of this RoutingChangedEvent. # noqa: E501 - :type: int - """ - - self._equipment_id = equipment_id - - @property - def payload(self): - """Gets the payload of this RoutingChangedEvent. # noqa: E501 - - - :return: The payload of this RoutingChangedEvent. # noqa: E501 - :rtype: EquipmentRoutingRecord - """ - return self._payload - - @payload.setter - def payload(self, payload): - """Sets the payload of this RoutingChangedEvent. - - - :param payload: The payload of this RoutingChangedEvent. # noqa: E501 - :type: EquipmentRoutingRecord - """ - - self._payload = payload - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(RoutingChangedEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, RoutingChangedEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/routing_removed_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/routing_removed_event.py deleted file mode 100644 index e3f3173f9..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/routing_removed_event.py +++ /dev/null @@ -1,215 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class RoutingRemovedEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'event_timestamp': 'int', - 'customer_id': 'int', - 'equipment_id': 'int', - 'payload': 'EquipmentRoutingRecord' - } - - attribute_map = { - 'model_type': 'model_type', - 'event_timestamp': 'eventTimestamp', - 'customer_id': 'customerId', - 'equipment_id': 'equipmentId', - 'payload': 'payload' - } - - def __init__(self, model_type=None, event_timestamp=None, customer_id=None, equipment_id=None, payload=None): # noqa: E501 - """RoutingRemovedEvent - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._event_timestamp = None - self._customer_id = None - self._equipment_id = None - self._payload = None - self.discriminator = None - self.model_type = model_type - if event_timestamp is not None: - self.event_timestamp = event_timestamp - if customer_id is not None: - self.customer_id = customer_id - if equipment_id is not None: - self.equipment_id = equipment_id - if payload is not None: - self.payload = payload - - @property - def model_type(self): - """Gets the model_type of this RoutingRemovedEvent. # noqa: E501 - - - :return: The model_type of this RoutingRemovedEvent. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this RoutingRemovedEvent. - - - :param model_type: The model_type of this RoutingRemovedEvent. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - - self._model_type = model_type - - @property - def event_timestamp(self): - """Gets the event_timestamp of this RoutingRemovedEvent. # noqa: E501 - - - :return: The event_timestamp of this RoutingRemovedEvent. # noqa: E501 - :rtype: int - """ - return self._event_timestamp - - @event_timestamp.setter - def event_timestamp(self, event_timestamp): - """Sets the event_timestamp of this RoutingRemovedEvent. - - - :param event_timestamp: The event_timestamp of this RoutingRemovedEvent. # noqa: E501 - :type: int - """ - - self._event_timestamp = event_timestamp - - @property - def customer_id(self): - """Gets the customer_id of this RoutingRemovedEvent. # noqa: E501 - - - :return: The customer_id of this RoutingRemovedEvent. # noqa: E501 - :rtype: int - """ - return self._customer_id - - @customer_id.setter - def customer_id(self, customer_id): - """Sets the customer_id of this RoutingRemovedEvent. - - - :param customer_id: The customer_id of this RoutingRemovedEvent. # noqa: E501 - :type: int - """ - - self._customer_id = customer_id - - @property - def equipment_id(self): - """Gets the equipment_id of this RoutingRemovedEvent. # noqa: E501 - - - :return: The equipment_id of this RoutingRemovedEvent. # noqa: E501 - :rtype: int - """ - return self._equipment_id - - @equipment_id.setter - def equipment_id(self, equipment_id): - """Sets the equipment_id of this RoutingRemovedEvent. - - - :param equipment_id: The equipment_id of this RoutingRemovedEvent. # noqa: E501 - :type: int - """ - - self._equipment_id = equipment_id - - @property - def payload(self): - """Gets the payload of this RoutingRemovedEvent. # noqa: E501 - - - :return: The payload of this RoutingRemovedEvent. # noqa: E501 - :rtype: EquipmentRoutingRecord - """ - return self._payload - - @payload.setter - def payload(self, payload): - """Sets the payload of this RoutingRemovedEvent. - - - :param payload: The payload of this RoutingRemovedEvent. # noqa: E501 - :type: EquipmentRoutingRecord - """ - - self._payload = payload - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(RoutingRemovedEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, RoutingRemovedEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/rrm_bulk_update_ap_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/rrm_bulk_update_ap_details.py deleted file mode 100644 index 65a70fca4..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/rrm_bulk_update_ap_details.py +++ /dev/null @@ -1,266 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class RrmBulkUpdateApDetails(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'channel_number': 'int', - 'backup_channel_number': 'int', - 'rx_cell_size_db': 'SourceSelectionValue', - 'probe_response_threshold_db': 'SourceSelectionValue', - 'client_disconnect_threshold_db': 'SourceSelectionValue', - 'drop_in_snr_percentage': 'int', - 'min_load_factor': 'int' - } - - attribute_map = { - 'channel_number': 'channelNumber', - 'backup_channel_number': 'backupChannelNumber', - 'rx_cell_size_db': 'rxCellSizeDb', - 'probe_response_threshold_db': 'probeResponseThresholdDb', - 'client_disconnect_threshold_db': 'clientDisconnectThresholdDb', - 'drop_in_snr_percentage': 'dropInSnrPercentage', - 'min_load_factor': 'minLoadFactor' - } - - def __init__(self, channel_number=None, backup_channel_number=None, rx_cell_size_db=None, probe_response_threshold_db=None, client_disconnect_threshold_db=None, drop_in_snr_percentage=None, min_load_factor=None): # noqa: E501 - """RrmBulkUpdateApDetails - a model defined in Swagger""" # noqa: E501 - self._channel_number = None - self._backup_channel_number = None - self._rx_cell_size_db = None - self._probe_response_threshold_db = None - self._client_disconnect_threshold_db = None - self._drop_in_snr_percentage = None - self._min_load_factor = None - self.discriminator = None - if channel_number is not None: - self.channel_number = channel_number - if backup_channel_number is not None: - self.backup_channel_number = backup_channel_number - if rx_cell_size_db is not None: - self.rx_cell_size_db = rx_cell_size_db - if probe_response_threshold_db is not None: - self.probe_response_threshold_db = probe_response_threshold_db - if client_disconnect_threshold_db is not None: - self.client_disconnect_threshold_db = client_disconnect_threshold_db - if drop_in_snr_percentage is not None: - self.drop_in_snr_percentage = drop_in_snr_percentage - if min_load_factor is not None: - self.min_load_factor = min_load_factor - - @property - def channel_number(self): - """Gets the channel_number of this RrmBulkUpdateApDetails. # noqa: E501 - - - :return: The channel_number of this RrmBulkUpdateApDetails. # noqa: E501 - :rtype: int - """ - return self._channel_number - - @channel_number.setter - def channel_number(self, channel_number): - """Sets the channel_number of this RrmBulkUpdateApDetails. - - - :param channel_number: The channel_number of this RrmBulkUpdateApDetails. # noqa: E501 - :type: int - """ - - self._channel_number = channel_number - - @property - def backup_channel_number(self): - """Gets the backup_channel_number of this RrmBulkUpdateApDetails. # noqa: E501 - - - :return: The backup_channel_number of this RrmBulkUpdateApDetails. # noqa: E501 - :rtype: int - """ - return self._backup_channel_number - - @backup_channel_number.setter - def backup_channel_number(self, backup_channel_number): - """Sets the backup_channel_number of this RrmBulkUpdateApDetails. - - - :param backup_channel_number: The backup_channel_number of this RrmBulkUpdateApDetails. # noqa: E501 - :type: int - """ - - self._backup_channel_number = backup_channel_number - - @property - def rx_cell_size_db(self): - """Gets the rx_cell_size_db of this RrmBulkUpdateApDetails. # noqa: E501 - - - :return: The rx_cell_size_db of this RrmBulkUpdateApDetails. # noqa: E501 - :rtype: SourceSelectionValue - """ - return self._rx_cell_size_db - - @rx_cell_size_db.setter - def rx_cell_size_db(self, rx_cell_size_db): - """Sets the rx_cell_size_db of this RrmBulkUpdateApDetails. - - - :param rx_cell_size_db: The rx_cell_size_db of this RrmBulkUpdateApDetails. # noqa: E501 - :type: SourceSelectionValue - """ - - self._rx_cell_size_db = rx_cell_size_db - - @property - def probe_response_threshold_db(self): - """Gets the probe_response_threshold_db of this RrmBulkUpdateApDetails. # noqa: E501 - - - :return: The probe_response_threshold_db of this RrmBulkUpdateApDetails. # noqa: E501 - :rtype: SourceSelectionValue - """ - return self._probe_response_threshold_db - - @probe_response_threshold_db.setter - def probe_response_threshold_db(self, probe_response_threshold_db): - """Sets the probe_response_threshold_db of this RrmBulkUpdateApDetails. - - - :param probe_response_threshold_db: The probe_response_threshold_db of this RrmBulkUpdateApDetails. # noqa: E501 - :type: SourceSelectionValue - """ - - self._probe_response_threshold_db = probe_response_threshold_db - - @property - def client_disconnect_threshold_db(self): - """Gets the client_disconnect_threshold_db of this RrmBulkUpdateApDetails. # noqa: E501 - - - :return: The client_disconnect_threshold_db of this RrmBulkUpdateApDetails. # noqa: E501 - :rtype: SourceSelectionValue - """ - return self._client_disconnect_threshold_db - - @client_disconnect_threshold_db.setter - def client_disconnect_threshold_db(self, client_disconnect_threshold_db): - """Sets the client_disconnect_threshold_db of this RrmBulkUpdateApDetails. - - - :param client_disconnect_threshold_db: The client_disconnect_threshold_db of this RrmBulkUpdateApDetails. # noqa: E501 - :type: SourceSelectionValue - """ - - self._client_disconnect_threshold_db = client_disconnect_threshold_db - - @property - def drop_in_snr_percentage(self): - """Gets the drop_in_snr_percentage of this RrmBulkUpdateApDetails. # noqa: E501 - - - :return: The drop_in_snr_percentage of this RrmBulkUpdateApDetails. # noqa: E501 - :rtype: int - """ - return self._drop_in_snr_percentage - - @drop_in_snr_percentage.setter - def drop_in_snr_percentage(self, drop_in_snr_percentage): - """Sets the drop_in_snr_percentage of this RrmBulkUpdateApDetails. - - - :param drop_in_snr_percentage: The drop_in_snr_percentage of this RrmBulkUpdateApDetails. # noqa: E501 - :type: int - """ - - self._drop_in_snr_percentage = drop_in_snr_percentage - - @property - def min_load_factor(self): - """Gets the min_load_factor of this RrmBulkUpdateApDetails. # noqa: E501 - - - :return: The min_load_factor of this RrmBulkUpdateApDetails. # noqa: E501 - :rtype: int - """ - return self._min_load_factor - - @min_load_factor.setter - def min_load_factor(self, min_load_factor): - """Sets the min_load_factor of this RrmBulkUpdateApDetails. - - - :param min_load_factor: The min_load_factor of this RrmBulkUpdateApDetails. # noqa: E501 - :type: int - """ - - self._min_load_factor = min_load_factor - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(RrmBulkUpdateApDetails, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, RrmBulkUpdateApDetails): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/rtls_settings.py b/libs/cloudapi/cloudsdk/swagger_client/models/rtls_settings.py deleted file mode 100644 index da86ca041..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/rtls_settings.py +++ /dev/null @@ -1,162 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class RtlsSettings(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'enabled': 'bool', - 'srv_host_ip': 'str', - 'srv_host_port': 'int' - } - - attribute_map = { - 'enabled': 'enabled', - 'srv_host_ip': 'srvHostIp', - 'srv_host_port': 'srvHostPort' - } - - def __init__(self, enabled=None, srv_host_ip=None, srv_host_port=None): # noqa: E501 - """RtlsSettings - a model defined in Swagger""" # noqa: E501 - self._enabled = None - self._srv_host_ip = None - self._srv_host_port = None - self.discriminator = None - if enabled is not None: - self.enabled = enabled - if srv_host_ip is not None: - self.srv_host_ip = srv_host_ip - if srv_host_port is not None: - self.srv_host_port = srv_host_port - - @property - def enabled(self): - """Gets the enabled of this RtlsSettings. # noqa: E501 - - - :return: The enabled of this RtlsSettings. # noqa: E501 - :rtype: bool - """ - return self._enabled - - @enabled.setter - def enabled(self, enabled): - """Sets the enabled of this RtlsSettings. - - - :param enabled: The enabled of this RtlsSettings. # noqa: E501 - :type: bool - """ - - self._enabled = enabled - - @property - def srv_host_ip(self): - """Gets the srv_host_ip of this RtlsSettings. # noqa: E501 - - - :return: The srv_host_ip of this RtlsSettings. # noqa: E501 - :rtype: str - """ - return self._srv_host_ip - - @srv_host_ip.setter - def srv_host_ip(self, srv_host_ip): - """Sets the srv_host_ip of this RtlsSettings. - - - :param srv_host_ip: The srv_host_ip of this RtlsSettings. # noqa: E501 - :type: str - """ - - self._srv_host_ip = srv_host_ip - - @property - def srv_host_port(self): - """Gets the srv_host_port of this RtlsSettings. # noqa: E501 - - - :return: The srv_host_port of this RtlsSettings. # noqa: E501 - :rtype: int - """ - return self._srv_host_port - - @srv_host_port.setter - def srv_host_port(self, srv_host_port): - """Sets the srv_host_port of this RtlsSettings. - - - :param srv_host_port: The srv_host_port of this RtlsSettings. # noqa: E501 - :type: int - """ - - self._srv_host_port = srv_host_port - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(RtlsSettings, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, RtlsSettings): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/rtp_flow_direction.py b/libs/cloudapi/cloudsdk/swagger_client/models/rtp_flow_direction.py deleted file mode 100644 index b4a604631..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/rtp_flow_direction.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class RtpFlowDirection(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - UPSTREAM = "UPSTREAM" - DOWNSTREAM = "DOWNSTREAM" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """RtpFlowDirection - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(RtpFlowDirection, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, RtpFlowDirection): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/rtp_flow_stats.py b/libs/cloudapi/cloudsdk/swagger_client/models/rtp_flow_stats.py deleted file mode 100644 index ba91c9e89..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/rtp_flow_stats.py +++ /dev/null @@ -1,292 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class RtpFlowStats(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'direction': 'RtpFlowDirection', - 'flow_type': 'RtpFlowType', - 'latency': 'int', - 'jitter': 'int', - 'packet_loss_consecutive': 'int', - 'code': 'int', - 'mos_multiplied_by100': 'int', - 'block_codecs': 'list[str]' - } - - attribute_map = { - 'direction': 'direction', - 'flow_type': 'flowType', - 'latency': 'latency', - 'jitter': 'jitter', - 'packet_loss_consecutive': 'packetLossConsecutive', - 'code': 'code', - 'mos_multiplied_by100': 'mosMultipliedBy100', - 'block_codecs': 'blockCodecs' - } - - def __init__(self, direction=None, flow_type=None, latency=None, jitter=None, packet_loss_consecutive=None, code=None, mos_multiplied_by100=None, block_codecs=None): # noqa: E501 - """RtpFlowStats - a model defined in Swagger""" # noqa: E501 - self._direction = None - self._flow_type = None - self._latency = None - self._jitter = None - self._packet_loss_consecutive = None - self._code = None - self._mos_multiplied_by100 = None - self._block_codecs = None - self.discriminator = None - if direction is not None: - self.direction = direction - if flow_type is not None: - self.flow_type = flow_type - if latency is not None: - self.latency = latency - if jitter is not None: - self.jitter = jitter - if packet_loss_consecutive is not None: - self.packet_loss_consecutive = packet_loss_consecutive - if code is not None: - self.code = code - if mos_multiplied_by100 is not None: - self.mos_multiplied_by100 = mos_multiplied_by100 - if block_codecs is not None: - self.block_codecs = block_codecs - - @property - def direction(self): - """Gets the direction of this RtpFlowStats. # noqa: E501 - - - :return: The direction of this RtpFlowStats. # noqa: E501 - :rtype: RtpFlowDirection - """ - return self._direction - - @direction.setter - def direction(self, direction): - """Sets the direction of this RtpFlowStats. - - - :param direction: The direction of this RtpFlowStats. # noqa: E501 - :type: RtpFlowDirection - """ - - self._direction = direction - - @property - def flow_type(self): - """Gets the flow_type of this RtpFlowStats. # noqa: E501 - - - :return: The flow_type of this RtpFlowStats. # noqa: E501 - :rtype: RtpFlowType - """ - return self._flow_type - - @flow_type.setter - def flow_type(self, flow_type): - """Sets the flow_type of this RtpFlowStats. - - - :param flow_type: The flow_type of this RtpFlowStats. # noqa: E501 - :type: RtpFlowType - """ - - self._flow_type = flow_type - - @property - def latency(self): - """Gets the latency of this RtpFlowStats. # noqa: E501 - - - :return: The latency of this RtpFlowStats. # noqa: E501 - :rtype: int - """ - return self._latency - - @latency.setter - def latency(self, latency): - """Sets the latency of this RtpFlowStats. - - - :param latency: The latency of this RtpFlowStats. # noqa: E501 - :type: int - """ - - self._latency = latency - - @property - def jitter(self): - """Gets the jitter of this RtpFlowStats. # noqa: E501 - - - :return: The jitter of this RtpFlowStats. # noqa: E501 - :rtype: int - """ - return self._jitter - - @jitter.setter - def jitter(self, jitter): - """Sets the jitter of this RtpFlowStats. - - - :param jitter: The jitter of this RtpFlowStats. # noqa: E501 - :type: int - """ - - self._jitter = jitter - - @property - def packet_loss_consecutive(self): - """Gets the packet_loss_consecutive of this RtpFlowStats. # noqa: E501 - - - :return: The packet_loss_consecutive of this RtpFlowStats. # noqa: E501 - :rtype: int - """ - return self._packet_loss_consecutive - - @packet_loss_consecutive.setter - def packet_loss_consecutive(self, packet_loss_consecutive): - """Sets the packet_loss_consecutive of this RtpFlowStats. - - - :param packet_loss_consecutive: The packet_loss_consecutive of this RtpFlowStats. # noqa: E501 - :type: int - """ - - self._packet_loss_consecutive = packet_loss_consecutive - - @property - def code(self): - """Gets the code of this RtpFlowStats. # noqa: E501 - - - :return: The code of this RtpFlowStats. # noqa: E501 - :rtype: int - """ - return self._code - - @code.setter - def code(self, code): - """Sets the code of this RtpFlowStats. - - - :param code: The code of this RtpFlowStats. # noqa: E501 - :type: int - """ - - self._code = code - - @property - def mos_multiplied_by100(self): - """Gets the mos_multiplied_by100 of this RtpFlowStats. # noqa: E501 - - - :return: The mos_multiplied_by100 of this RtpFlowStats. # noqa: E501 - :rtype: int - """ - return self._mos_multiplied_by100 - - @mos_multiplied_by100.setter - def mos_multiplied_by100(self, mos_multiplied_by100): - """Sets the mos_multiplied_by100 of this RtpFlowStats. - - - :param mos_multiplied_by100: The mos_multiplied_by100 of this RtpFlowStats. # noqa: E501 - :type: int - """ - - self._mos_multiplied_by100 = mos_multiplied_by100 - - @property - def block_codecs(self): - """Gets the block_codecs of this RtpFlowStats. # noqa: E501 - - - :return: The block_codecs of this RtpFlowStats. # noqa: E501 - :rtype: list[str] - """ - return self._block_codecs - - @block_codecs.setter - def block_codecs(self, block_codecs): - """Sets the block_codecs of this RtpFlowStats. - - - :param block_codecs: The block_codecs of this RtpFlowStats. # noqa: E501 - :type: list[str] - """ - - self._block_codecs = block_codecs - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(RtpFlowStats, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, RtpFlowStats): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/rtp_flow_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/rtp_flow_type.py deleted file mode 100644 index 53d1e17d7..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/rtp_flow_type.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class RtpFlowType(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - VOICE = "VOICE" - VIDEO = "VIDEO" - UNSUPPORTED = "UNSUPPORTED" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """RtpFlowType - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(RtpFlowType, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, RtpFlowType): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/schedule_setting.py b/libs/cloudapi/cloudsdk/swagger_client/models/schedule_setting.py deleted file mode 100644 index 3b7544081..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/schedule_setting.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ScheduleSetting(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - discriminator_value_class_map = { - } - - def __init__(self): # noqa: E501 - """ScheduleSetting - a model defined in Swagger""" # noqa: E501 - self.discriminator = 'model_type' - - def get_real_child_model(self, data): - """Returns the real base class specified by the discriminator""" - discriminator_value = data[self.discriminator].lower() - return self.discriminator_value_class_map.get(discriminator_value) - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ScheduleSetting, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ScheduleSetting): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/security_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/security_type.py deleted file mode 100644 index 9b9439b0a..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/security_type.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class SecurityType(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - OPEN = "OPEN" - RADIUS = "RADIUS" - PSK = "PSK" - SAE = "SAE" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """SecurityType - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(SecurityType, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, SecurityType): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/service_adoption_metrics.py b/libs/cloudapi/cloudsdk/swagger_client/models/service_adoption_metrics.py deleted file mode 100644 index 592768aec..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/service_adoption_metrics.py +++ /dev/null @@ -1,346 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ServiceAdoptionMetrics(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'year': 'int', - 'month': 'int', - 'week_of_year': 'int', - 'day_of_year': 'int', - 'customer_id': 'int', - 'location_id': 'int', - 'equipment_id': 'int', - 'num_unique_connected_macs': 'int', - 'num_bytes_upstream': 'int', - 'num_bytes_downstream': 'int' - } - - attribute_map = { - 'year': 'year', - 'month': 'month', - 'week_of_year': 'weekOfYear', - 'day_of_year': 'dayOfYear', - 'customer_id': 'customerId', - 'location_id': 'locationId', - 'equipment_id': 'equipmentId', - 'num_unique_connected_macs': 'numUniqueConnectedMacs', - 'num_bytes_upstream': 'numBytesUpstream', - 'num_bytes_downstream': 'numBytesDownstream' - } - - def __init__(self, year=None, month=None, week_of_year=None, day_of_year=None, customer_id=None, location_id=None, equipment_id=None, num_unique_connected_macs=None, num_bytes_upstream=None, num_bytes_downstream=None): # noqa: E501 - """ServiceAdoptionMetrics - a model defined in Swagger""" # noqa: E501 - self._year = None - self._month = None - self._week_of_year = None - self._day_of_year = None - self._customer_id = None - self._location_id = None - self._equipment_id = None - self._num_unique_connected_macs = None - self._num_bytes_upstream = None - self._num_bytes_downstream = None - self.discriminator = None - if year is not None: - self.year = year - if month is not None: - self.month = month - if week_of_year is not None: - self.week_of_year = week_of_year - if day_of_year is not None: - self.day_of_year = day_of_year - if customer_id is not None: - self.customer_id = customer_id - if location_id is not None: - self.location_id = location_id - if equipment_id is not None: - self.equipment_id = equipment_id - if num_unique_connected_macs is not None: - self.num_unique_connected_macs = num_unique_connected_macs - if num_bytes_upstream is not None: - self.num_bytes_upstream = num_bytes_upstream - if num_bytes_downstream is not None: - self.num_bytes_downstream = num_bytes_downstream - - @property - def year(self): - """Gets the year of this ServiceAdoptionMetrics. # noqa: E501 - - - :return: The year of this ServiceAdoptionMetrics. # noqa: E501 - :rtype: int - """ - return self._year - - @year.setter - def year(self, year): - """Sets the year of this ServiceAdoptionMetrics. - - - :param year: The year of this ServiceAdoptionMetrics. # noqa: E501 - :type: int - """ - - self._year = year - - @property - def month(self): - """Gets the month of this ServiceAdoptionMetrics. # noqa: E501 - - - :return: The month of this ServiceAdoptionMetrics. # noqa: E501 - :rtype: int - """ - return self._month - - @month.setter - def month(self, month): - """Sets the month of this ServiceAdoptionMetrics. - - - :param month: The month of this ServiceAdoptionMetrics. # noqa: E501 - :type: int - """ - - self._month = month - - @property - def week_of_year(self): - """Gets the week_of_year of this ServiceAdoptionMetrics. # noqa: E501 - - - :return: The week_of_year of this ServiceAdoptionMetrics. # noqa: E501 - :rtype: int - """ - return self._week_of_year - - @week_of_year.setter - def week_of_year(self, week_of_year): - """Sets the week_of_year of this ServiceAdoptionMetrics. - - - :param week_of_year: The week_of_year of this ServiceAdoptionMetrics. # noqa: E501 - :type: int - """ - - self._week_of_year = week_of_year - - @property - def day_of_year(self): - """Gets the day_of_year of this ServiceAdoptionMetrics. # noqa: E501 - - - :return: The day_of_year of this ServiceAdoptionMetrics. # noqa: E501 - :rtype: int - """ - return self._day_of_year - - @day_of_year.setter - def day_of_year(self, day_of_year): - """Sets the day_of_year of this ServiceAdoptionMetrics. - - - :param day_of_year: The day_of_year of this ServiceAdoptionMetrics. # noqa: E501 - :type: int - """ - - self._day_of_year = day_of_year - - @property - def customer_id(self): - """Gets the customer_id of this ServiceAdoptionMetrics. # noqa: E501 - - - :return: The customer_id of this ServiceAdoptionMetrics. # noqa: E501 - :rtype: int - """ - return self._customer_id - - @customer_id.setter - def customer_id(self, customer_id): - """Sets the customer_id of this ServiceAdoptionMetrics. - - - :param customer_id: The customer_id of this ServiceAdoptionMetrics. # noqa: E501 - :type: int - """ - - self._customer_id = customer_id - - @property - def location_id(self): - """Gets the location_id of this ServiceAdoptionMetrics. # noqa: E501 - - - :return: The location_id of this ServiceAdoptionMetrics. # noqa: E501 - :rtype: int - """ - return self._location_id - - @location_id.setter - def location_id(self, location_id): - """Sets the location_id of this ServiceAdoptionMetrics. - - - :param location_id: The location_id of this ServiceAdoptionMetrics. # noqa: E501 - :type: int - """ - - self._location_id = location_id - - @property - def equipment_id(self): - """Gets the equipment_id of this ServiceAdoptionMetrics. # noqa: E501 - - - :return: The equipment_id of this ServiceAdoptionMetrics. # noqa: E501 - :rtype: int - """ - return self._equipment_id - - @equipment_id.setter - def equipment_id(self, equipment_id): - """Sets the equipment_id of this ServiceAdoptionMetrics. - - - :param equipment_id: The equipment_id of this ServiceAdoptionMetrics. # noqa: E501 - :type: int - """ - - self._equipment_id = equipment_id - - @property - def num_unique_connected_macs(self): - """Gets the num_unique_connected_macs of this ServiceAdoptionMetrics. # noqa: E501 - - number of unique connected MAC addresses for the data point. Note - this number is accurate only at the lowest level of granularity - per AP per day. In case of aggregations - per location/customer or per week/month - this number is just a sum of corresponding datapoints, and it does not account for non-unique MACs in those cases. # noqa: E501 - - :return: The num_unique_connected_macs of this ServiceAdoptionMetrics. # noqa: E501 - :rtype: int - """ - return self._num_unique_connected_macs - - @num_unique_connected_macs.setter - def num_unique_connected_macs(self, num_unique_connected_macs): - """Sets the num_unique_connected_macs of this ServiceAdoptionMetrics. - - number of unique connected MAC addresses for the data point. Note - this number is accurate only at the lowest level of granularity - per AP per day. In case of aggregations - per location/customer or per week/month - this number is just a sum of corresponding datapoints, and it does not account for non-unique MACs in those cases. # noqa: E501 - - :param num_unique_connected_macs: The num_unique_connected_macs of this ServiceAdoptionMetrics. # noqa: E501 - :type: int - """ - - self._num_unique_connected_macs = num_unique_connected_macs - - @property - def num_bytes_upstream(self): - """Gets the num_bytes_upstream of this ServiceAdoptionMetrics. # noqa: E501 - - - :return: The num_bytes_upstream of this ServiceAdoptionMetrics. # noqa: E501 - :rtype: int - """ - return self._num_bytes_upstream - - @num_bytes_upstream.setter - def num_bytes_upstream(self, num_bytes_upstream): - """Sets the num_bytes_upstream of this ServiceAdoptionMetrics. - - - :param num_bytes_upstream: The num_bytes_upstream of this ServiceAdoptionMetrics. # noqa: E501 - :type: int - """ - - self._num_bytes_upstream = num_bytes_upstream - - @property - def num_bytes_downstream(self): - """Gets the num_bytes_downstream of this ServiceAdoptionMetrics. # noqa: E501 - - - :return: The num_bytes_downstream of this ServiceAdoptionMetrics. # noqa: E501 - :rtype: int - """ - return self._num_bytes_downstream - - @num_bytes_downstream.setter - def num_bytes_downstream(self, num_bytes_downstream): - """Sets the num_bytes_downstream of this ServiceAdoptionMetrics. - - - :param num_bytes_downstream: The num_bytes_downstream of this ServiceAdoptionMetrics. # noqa: E501 - :type: int - """ - - self._num_bytes_downstream = num_bytes_downstream - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ServiceAdoptionMetrics, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ServiceAdoptionMetrics): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/service_metric.py b/libs/cloudapi/cloudsdk/swagger_client/models/service_metric.py deleted file mode 100644 index 0626a4d33..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/service_metric.py +++ /dev/null @@ -1,294 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ServiceMetric(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'customer_id': 'int', - 'location_id': 'int', - 'equipment_id': 'int', - 'client_mac': 'int', - 'client_mac_address': 'MacAddress', - 'data_type': 'ServiceMetricDataType', - 'created_timestamp': 'int', - 'details': 'ServiceMetricDetails' - } - - attribute_map = { - 'customer_id': 'customerId', - 'location_id': 'locationId', - 'equipment_id': 'equipmentId', - 'client_mac': 'clientMac', - 'client_mac_address': 'clientMacAddress', - 'data_type': 'dataType', - 'created_timestamp': 'createdTimestamp', - 'details': 'details' - } - - def __init__(self, customer_id=None, location_id=None, equipment_id=None, client_mac=None, client_mac_address=None, data_type=None, created_timestamp=None, details=None): # noqa: E501 - """ServiceMetric - a model defined in Swagger""" # noqa: E501 - self._customer_id = None - self._location_id = None - self._equipment_id = None - self._client_mac = None - self._client_mac_address = None - self._data_type = None - self._created_timestamp = None - self._details = None - self.discriminator = None - if customer_id is not None: - self.customer_id = customer_id - if location_id is not None: - self.location_id = location_id - if equipment_id is not None: - self.equipment_id = equipment_id - if client_mac is not None: - self.client_mac = client_mac - if client_mac_address is not None: - self.client_mac_address = client_mac_address - if data_type is not None: - self.data_type = data_type - if created_timestamp is not None: - self.created_timestamp = created_timestamp - if details is not None: - self.details = details - - @property - def customer_id(self): - """Gets the customer_id of this ServiceMetric. # noqa: E501 - - - :return: The customer_id of this ServiceMetric. # noqa: E501 - :rtype: int - """ - return self._customer_id - - @customer_id.setter - def customer_id(self, customer_id): - """Sets the customer_id of this ServiceMetric. - - - :param customer_id: The customer_id of this ServiceMetric. # noqa: E501 - :type: int - """ - - self._customer_id = customer_id - - @property - def location_id(self): - """Gets the location_id of this ServiceMetric. # noqa: E501 - - - :return: The location_id of this ServiceMetric. # noqa: E501 - :rtype: int - """ - return self._location_id - - @location_id.setter - def location_id(self, location_id): - """Sets the location_id of this ServiceMetric. - - - :param location_id: The location_id of this ServiceMetric. # noqa: E501 - :type: int - """ - - self._location_id = location_id - - @property - def equipment_id(self): - """Gets the equipment_id of this ServiceMetric. # noqa: E501 - - - :return: The equipment_id of this ServiceMetric. # noqa: E501 - :rtype: int - """ - return self._equipment_id - - @equipment_id.setter - def equipment_id(self, equipment_id): - """Sets the equipment_id of this ServiceMetric. - - - :param equipment_id: The equipment_id of this ServiceMetric. # noqa: E501 - :type: int - """ - - self._equipment_id = equipment_id - - @property - def client_mac(self): - """Gets the client_mac of this ServiceMetric. # noqa: E501 - - int64 representation of the client MAC address, used internally for storage and indexing # noqa: E501 - - :return: The client_mac of this ServiceMetric. # noqa: E501 - :rtype: int - """ - return self._client_mac - - @client_mac.setter - def client_mac(self, client_mac): - """Sets the client_mac of this ServiceMetric. - - int64 representation of the client MAC address, used internally for storage and indexing # noqa: E501 - - :param client_mac: The client_mac of this ServiceMetric. # noqa: E501 - :type: int - """ - - self._client_mac = client_mac - - @property - def client_mac_address(self): - """Gets the client_mac_address of this ServiceMetric. # noqa: E501 - - - :return: The client_mac_address of this ServiceMetric. # noqa: E501 - :rtype: MacAddress - """ - return self._client_mac_address - - @client_mac_address.setter - def client_mac_address(self, client_mac_address): - """Sets the client_mac_address of this ServiceMetric. - - - :param client_mac_address: The client_mac_address of this ServiceMetric. # noqa: E501 - :type: MacAddress - """ - - self._client_mac_address = client_mac_address - - @property - def data_type(self): - """Gets the data_type of this ServiceMetric. # noqa: E501 - - - :return: The data_type of this ServiceMetric. # noqa: E501 - :rtype: ServiceMetricDataType - """ - return self._data_type - - @data_type.setter - def data_type(self, data_type): - """Sets the data_type of this ServiceMetric. - - - :param data_type: The data_type of this ServiceMetric. # noqa: E501 - :type: ServiceMetricDataType - """ - - self._data_type = data_type - - @property - def created_timestamp(self): - """Gets the created_timestamp of this ServiceMetric. # noqa: E501 - - - :return: The created_timestamp of this ServiceMetric. # noqa: E501 - :rtype: int - """ - return self._created_timestamp - - @created_timestamp.setter - def created_timestamp(self, created_timestamp): - """Sets the created_timestamp of this ServiceMetric. - - - :param created_timestamp: The created_timestamp of this ServiceMetric. # noqa: E501 - :type: int - """ - - self._created_timestamp = created_timestamp - - @property - def details(self): - """Gets the details of this ServiceMetric. # noqa: E501 - - - :return: The details of this ServiceMetric. # noqa: E501 - :rtype: ServiceMetricDetails - """ - return self._details - - @details.setter - def details(self, details): - """Sets the details of this ServiceMetric. - - - :param details: The details of this ServiceMetric. # noqa: E501 - :type: ServiceMetricDetails - """ - - self._details = details - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ServiceMetric, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ServiceMetric): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/service_metric_config_parameters.py b/libs/cloudapi/cloudsdk/swagger_client/models/service_metric_config_parameters.py deleted file mode 100644 index 13e7a04e7..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/service_metric_config_parameters.py +++ /dev/null @@ -1,162 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ServiceMetricConfigParameters(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'sampling_interval': 'int', - 'reporting_interval_seconds': 'int', - 'service_metric_data_type': 'ServiceMetricDataType' - } - - attribute_map = { - 'sampling_interval': 'samplingInterval', - 'reporting_interval_seconds': 'reportingIntervalSeconds', - 'service_metric_data_type': 'serviceMetricDataType' - } - - def __init__(self, sampling_interval=None, reporting_interval_seconds=None, service_metric_data_type=None): # noqa: E501 - """ServiceMetricConfigParameters - a model defined in Swagger""" # noqa: E501 - self._sampling_interval = None - self._reporting_interval_seconds = None - self._service_metric_data_type = None - self.discriminator = None - if sampling_interval is not None: - self.sampling_interval = sampling_interval - if reporting_interval_seconds is not None: - self.reporting_interval_seconds = reporting_interval_seconds - if service_metric_data_type is not None: - self.service_metric_data_type = service_metric_data_type - - @property - def sampling_interval(self): - """Gets the sampling_interval of this ServiceMetricConfigParameters. # noqa: E501 - - - :return: The sampling_interval of this ServiceMetricConfigParameters. # noqa: E501 - :rtype: int - """ - return self._sampling_interval - - @sampling_interval.setter - def sampling_interval(self, sampling_interval): - """Sets the sampling_interval of this ServiceMetricConfigParameters. - - - :param sampling_interval: The sampling_interval of this ServiceMetricConfigParameters. # noqa: E501 - :type: int - """ - - self._sampling_interval = sampling_interval - - @property - def reporting_interval_seconds(self): - """Gets the reporting_interval_seconds of this ServiceMetricConfigParameters. # noqa: E501 - - - :return: The reporting_interval_seconds of this ServiceMetricConfigParameters. # noqa: E501 - :rtype: int - """ - return self._reporting_interval_seconds - - @reporting_interval_seconds.setter - def reporting_interval_seconds(self, reporting_interval_seconds): - """Sets the reporting_interval_seconds of this ServiceMetricConfigParameters. - - - :param reporting_interval_seconds: The reporting_interval_seconds of this ServiceMetricConfigParameters. # noqa: E501 - :type: int - """ - - self._reporting_interval_seconds = reporting_interval_seconds - - @property - def service_metric_data_type(self): - """Gets the service_metric_data_type of this ServiceMetricConfigParameters. # noqa: E501 - - - :return: The service_metric_data_type of this ServiceMetricConfigParameters. # noqa: E501 - :rtype: ServiceMetricDataType - """ - return self._service_metric_data_type - - @service_metric_data_type.setter - def service_metric_data_type(self, service_metric_data_type): - """Sets the service_metric_data_type of this ServiceMetricConfigParameters. - - - :param service_metric_data_type: The service_metric_data_type of this ServiceMetricConfigParameters. # noqa: E501 - :type: ServiceMetricDataType - """ - - self._service_metric_data_type = service_metric_data_type - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ServiceMetricConfigParameters, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ServiceMetricConfigParameters): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/service_metric_data_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/service_metric_data_type.py deleted file mode 100644 index 18de8c055..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/service_metric_data_type.py +++ /dev/null @@ -1,93 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ServiceMetricDataType(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - APNODE = "ApNode" - APSSID = "ApSsid" - CLIENT = "Client" - CHANNEL = "Channel" - NEIGHBOUR = "Neighbour" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """ServiceMetricDataType - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ServiceMetricDataType, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ServiceMetricDataType): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/service_metric_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/service_metric_details.py deleted file mode 100644 index 1e1acd4fe..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/service_metric_details.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ServiceMetricDetails(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - discriminator_value_class_map = { - } - - def __init__(self): # noqa: E501 - """ServiceMetricDetails - a model defined in Swagger""" # noqa: E501 - self.discriminator = 'model_type' - - def get_real_child_model(self, data): - """Returns the real base class specified by the discriminator""" - discriminator_value = data[self.discriminator].lower() - return self.discriminator_value_class_map.get(discriminator_value) - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ServiceMetricDetails, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ServiceMetricDetails): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/service_metric_radio_config_parameters.py b/libs/cloudapi/cloudsdk/swagger_client/models/service_metric_radio_config_parameters.py deleted file mode 100644 index da66de2b4..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/service_metric_radio_config_parameters.py +++ /dev/null @@ -1,318 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ServiceMetricRadioConfigParameters(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'sampling_interval': 'int', - 'reporting_interval_seconds': 'int', - 'service_metric_data_type': 'ServiceMetricDataType', - 'radio_type': 'RadioType', - 'channel_survey_type': 'ChannelUtilizationSurveyType', - 'scan_interval_millis': 'int', - 'percent_utilization_threshold': 'int', - 'delay_milliseconds_threshold': 'int', - 'stats_report_format': 'StatsReportFormat' - } - - attribute_map = { - 'sampling_interval': 'samplingInterval', - 'reporting_interval_seconds': 'reportingIntervalSeconds', - 'service_metric_data_type': 'serviceMetricDataType', - 'radio_type': 'radioType', - 'channel_survey_type': 'channelSurveyType', - 'scan_interval_millis': 'scanIntervalMillis', - 'percent_utilization_threshold': 'percentUtilizationThreshold', - 'delay_milliseconds_threshold': 'delayMillisecondsThreshold', - 'stats_report_format': 'statsReportFormat' - } - - def __init__(self, sampling_interval=None, reporting_interval_seconds=None, service_metric_data_type=None, radio_type=None, channel_survey_type=None, scan_interval_millis=None, percent_utilization_threshold=None, delay_milliseconds_threshold=None, stats_report_format=None): # noqa: E501 - """ServiceMetricRadioConfigParameters - a model defined in Swagger""" # noqa: E501 - self._sampling_interval = None - self._reporting_interval_seconds = None - self._service_metric_data_type = None - self._radio_type = None - self._channel_survey_type = None - self._scan_interval_millis = None - self._percent_utilization_threshold = None - self._delay_milliseconds_threshold = None - self._stats_report_format = None - self.discriminator = None - if sampling_interval is not None: - self.sampling_interval = sampling_interval - if reporting_interval_seconds is not None: - self.reporting_interval_seconds = reporting_interval_seconds - if service_metric_data_type is not None: - self.service_metric_data_type = service_metric_data_type - if radio_type is not None: - self.radio_type = radio_type - if channel_survey_type is not None: - self.channel_survey_type = channel_survey_type - if scan_interval_millis is not None: - self.scan_interval_millis = scan_interval_millis - if percent_utilization_threshold is not None: - self.percent_utilization_threshold = percent_utilization_threshold - if delay_milliseconds_threshold is not None: - self.delay_milliseconds_threshold = delay_milliseconds_threshold - if stats_report_format is not None: - self.stats_report_format = stats_report_format - - @property - def sampling_interval(self): - """Gets the sampling_interval of this ServiceMetricRadioConfigParameters. # noqa: E501 - - - :return: The sampling_interval of this ServiceMetricRadioConfigParameters. # noqa: E501 - :rtype: int - """ - return self._sampling_interval - - @sampling_interval.setter - def sampling_interval(self, sampling_interval): - """Sets the sampling_interval of this ServiceMetricRadioConfigParameters. - - - :param sampling_interval: The sampling_interval of this ServiceMetricRadioConfigParameters. # noqa: E501 - :type: int - """ - - self._sampling_interval = sampling_interval - - @property - def reporting_interval_seconds(self): - """Gets the reporting_interval_seconds of this ServiceMetricRadioConfigParameters. # noqa: E501 - - - :return: The reporting_interval_seconds of this ServiceMetricRadioConfigParameters. # noqa: E501 - :rtype: int - """ - return self._reporting_interval_seconds - - @reporting_interval_seconds.setter - def reporting_interval_seconds(self, reporting_interval_seconds): - """Sets the reporting_interval_seconds of this ServiceMetricRadioConfigParameters. - - - :param reporting_interval_seconds: The reporting_interval_seconds of this ServiceMetricRadioConfigParameters. # noqa: E501 - :type: int - """ - - self._reporting_interval_seconds = reporting_interval_seconds - - @property - def service_metric_data_type(self): - """Gets the service_metric_data_type of this ServiceMetricRadioConfigParameters. # noqa: E501 - - - :return: The service_metric_data_type of this ServiceMetricRadioConfigParameters. # noqa: E501 - :rtype: ServiceMetricDataType - """ - return self._service_metric_data_type - - @service_metric_data_type.setter - def service_metric_data_type(self, service_metric_data_type): - """Sets the service_metric_data_type of this ServiceMetricRadioConfigParameters. - - - :param service_metric_data_type: The service_metric_data_type of this ServiceMetricRadioConfigParameters. # noqa: E501 - :type: ServiceMetricDataType - """ - - self._service_metric_data_type = service_metric_data_type - - @property - def radio_type(self): - """Gets the radio_type of this ServiceMetricRadioConfigParameters. # noqa: E501 - - - :return: The radio_type of this ServiceMetricRadioConfigParameters. # noqa: E501 - :rtype: RadioType - """ - return self._radio_type - - @radio_type.setter - def radio_type(self, radio_type): - """Sets the radio_type of this ServiceMetricRadioConfigParameters. - - - :param radio_type: The radio_type of this ServiceMetricRadioConfigParameters. # noqa: E501 - :type: RadioType - """ - - self._radio_type = radio_type - - @property - def channel_survey_type(self): - """Gets the channel_survey_type of this ServiceMetricRadioConfigParameters. # noqa: E501 - - - :return: The channel_survey_type of this ServiceMetricRadioConfigParameters. # noqa: E501 - :rtype: ChannelUtilizationSurveyType - """ - return self._channel_survey_type - - @channel_survey_type.setter - def channel_survey_type(self, channel_survey_type): - """Sets the channel_survey_type of this ServiceMetricRadioConfigParameters. - - - :param channel_survey_type: The channel_survey_type of this ServiceMetricRadioConfigParameters. # noqa: E501 - :type: ChannelUtilizationSurveyType - """ - - self._channel_survey_type = channel_survey_type - - @property - def scan_interval_millis(self): - """Gets the scan_interval_millis of this ServiceMetricRadioConfigParameters. # noqa: E501 - - - :return: The scan_interval_millis of this ServiceMetricRadioConfigParameters. # noqa: E501 - :rtype: int - """ - return self._scan_interval_millis - - @scan_interval_millis.setter - def scan_interval_millis(self, scan_interval_millis): - """Sets the scan_interval_millis of this ServiceMetricRadioConfigParameters. - - - :param scan_interval_millis: The scan_interval_millis of this ServiceMetricRadioConfigParameters. # noqa: E501 - :type: int - """ - - self._scan_interval_millis = scan_interval_millis - - @property - def percent_utilization_threshold(self): - """Gets the percent_utilization_threshold of this ServiceMetricRadioConfigParameters. # noqa: E501 - - - :return: The percent_utilization_threshold of this ServiceMetricRadioConfigParameters. # noqa: E501 - :rtype: int - """ - return self._percent_utilization_threshold - - @percent_utilization_threshold.setter - def percent_utilization_threshold(self, percent_utilization_threshold): - """Sets the percent_utilization_threshold of this ServiceMetricRadioConfigParameters. - - - :param percent_utilization_threshold: The percent_utilization_threshold of this ServiceMetricRadioConfigParameters. # noqa: E501 - :type: int - """ - - self._percent_utilization_threshold = percent_utilization_threshold - - @property - def delay_milliseconds_threshold(self): - """Gets the delay_milliseconds_threshold of this ServiceMetricRadioConfigParameters. # noqa: E501 - - - :return: The delay_milliseconds_threshold of this ServiceMetricRadioConfigParameters. # noqa: E501 - :rtype: int - """ - return self._delay_milliseconds_threshold - - @delay_milliseconds_threshold.setter - def delay_milliseconds_threshold(self, delay_milliseconds_threshold): - """Sets the delay_milliseconds_threshold of this ServiceMetricRadioConfigParameters. - - - :param delay_milliseconds_threshold: The delay_milliseconds_threshold of this ServiceMetricRadioConfigParameters. # noqa: E501 - :type: int - """ - - self._delay_milliseconds_threshold = delay_milliseconds_threshold - - @property - def stats_report_format(self): - """Gets the stats_report_format of this ServiceMetricRadioConfigParameters. # noqa: E501 - - - :return: The stats_report_format of this ServiceMetricRadioConfigParameters. # noqa: E501 - :rtype: StatsReportFormat - """ - return self._stats_report_format - - @stats_report_format.setter - def stats_report_format(self, stats_report_format): - """Sets the stats_report_format of this ServiceMetricRadioConfigParameters. - - - :param stats_report_format: The stats_report_format of this ServiceMetricRadioConfigParameters. # noqa: E501 - :type: StatsReportFormat - """ - - self._stats_report_format = stats_report_format - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ServiceMetricRadioConfigParameters, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ServiceMetricRadioConfigParameters): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/service_metric_survey_config_parameters.py b/libs/cloudapi/cloudsdk/swagger_client/models/service_metric_survey_config_parameters.py deleted file mode 100644 index 822900b0a..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/service_metric_survey_config_parameters.py +++ /dev/null @@ -1,188 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ServiceMetricSurveyConfigParameters(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'sampling_interval': 'int', - 'reporting_interval_seconds': 'int', - 'service_metric_data_type': 'ServiceMetricDataType', - 'radio_type': 'RadioType' - } - - attribute_map = { - 'sampling_interval': 'samplingInterval', - 'reporting_interval_seconds': 'reportingIntervalSeconds', - 'service_metric_data_type': 'serviceMetricDataType', - 'radio_type': 'radioType' - } - - def __init__(self, sampling_interval=None, reporting_interval_seconds=None, service_metric_data_type=None, radio_type=None): # noqa: E501 - """ServiceMetricSurveyConfigParameters - a model defined in Swagger""" # noqa: E501 - self._sampling_interval = None - self._reporting_interval_seconds = None - self._service_metric_data_type = None - self._radio_type = None - self.discriminator = None - if sampling_interval is not None: - self.sampling_interval = sampling_interval - if reporting_interval_seconds is not None: - self.reporting_interval_seconds = reporting_interval_seconds - if service_metric_data_type is not None: - self.service_metric_data_type = service_metric_data_type - if radio_type is not None: - self.radio_type = radio_type - - @property - def sampling_interval(self): - """Gets the sampling_interval of this ServiceMetricSurveyConfigParameters. # noqa: E501 - - - :return: The sampling_interval of this ServiceMetricSurveyConfigParameters. # noqa: E501 - :rtype: int - """ - return self._sampling_interval - - @sampling_interval.setter - def sampling_interval(self, sampling_interval): - """Sets the sampling_interval of this ServiceMetricSurveyConfigParameters. - - - :param sampling_interval: The sampling_interval of this ServiceMetricSurveyConfigParameters. # noqa: E501 - :type: int - """ - - self._sampling_interval = sampling_interval - - @property - def reporting_interval_seconds(self): - """Gets the reporting_interval_seconds of this ServiceMetricSurveyConfigParameters. # noqa: E501 - - - :return: The reporting_interval_seconds of this ServiceMetricSurveyConfigParameters. # noqa: E501 - :rtype: int - """ - return self._reporting_interval_seconds - - @reporting_interval_seconds.setter - def reporting_interval_seconds(self, reporting_interval_seconds): - """Sets the reporting_interval_seconds of this ServiceMetricSurveyConfigParameters. - - - :param reporting_interval_seconds: The reporting_interval_seconds of this ServiceMetricSurveyConfigParameters. # noqa: E501 - :type: int - """ - - self._reporting_interval_seconds = reporting_interval_seconds - - @property - def service_metric_data_type(self): - """Gets the service_metric_data_type of this ServiceMetricSurveyConfigParameters. # noqa: E501 - - - :return: The service_metric_data_type of this ServiceMetricSurveyConfigParameters. # noqa: E501 - :rtype: ServiceMetricDataType - """ - return self._service_metric_data_type - - @service_metric_data_type.setter - def service_metric_data_type(self, service_metric_data_type): - """Sets the service_metric_data_type of this ServiceMetricSurveyConfigParameters. - - - :param service_metric_data_type: The service_metric_data_type of this ServiceMetricSurveyConfigParameters. # noqa: E501 - :type: ServiceMetricDataType - """ - - self._service_metric_data_type = service_metric_data_type - - @property - def radio_type(self): - """Gets the radio_type of this ServiceMetricSurveyConfigParameters. # noqa: E501 - - - :return: The radio_type of this ServiceMetricSurveyConfigParameters. # noqa: E501 - :rtype: RadioType - """ - return self._radio_type - - @radio_type.setter - def radio_type(self, radio_type): - """Sets the radio_type of this ServiceMetricSurveyConfigParameters. - - - :param radio_type: The radio_type of this ServiceMetricSurveyConfigParameters. # noqa: E501 - :type: RadioType - """ - - self._radio_type = radio_type - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ServiceMetricSurveyConfigParameters, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ServiceMetricSurveyConfigParameters): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/service_metrics_collection_config_profile.py b/libs/cloudapi/cloudsdk/swagger_client/models/service_metrics_collection_config_profile.py deleted file mode 100644 index 69fa4659b..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/service_metrics_collection_config_profile.py +++ /dev/null @@ -1,200 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six -from swagger_client.models.profile_details import ProfileDetails # noqa: F401,E501 - -class ServiceMetricsCollectionConfigProfile(ProfileDetails): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'radio_types': 'list[RadioType]', - 'service_metric_data_types': 'list[ServiceMetricDataType]', - 'metric_config_parameter_map': 'MetricConfigParameterMap' - } - if hasattr(ProfileDetails, "swagger_types"): - swagger_types.update(ProfileDetails.swagger_types) - - attribute_map = { - 'model_type': 'model_type', - 'radio_types': 'radioTypes', - 'service_metric_data_types': 'serviceMetricDataTypes', - 'metric_config_parameter_map': 'metricConfigParameterMap' - } - if hasattr(ProfileDetails, "attribute_map"): - attribute_map.update(ProfileDetails.attribute_map) - - def __init__(self, model_type=None, radio_types=None, service_metric_data_types=None, metric_config_parameter_map=None, *args, **kwargs): # noqa: E501 - """ServiceMetricsCollectionConfigProfile - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._radio_types = None - self._service_metric_data_types = None - self._metric_config_parameter_map = None - self.discriminator = None - if model_type is not None: - self.model_type = model_type - if radio_types is not None: - self.radio_types = radio_types - if service_metric_data_types is not None: - self.service_metric_data_types = service_metric_data_types - if metric_config_parameter_map is not None: - self.metric_config_parameter_map = metric_config_parameter_map - ProfileDetails.__init__(self, *args, **kwargs) - - @property - def model_type(self): - """Gets the model_type of this ServiceMetricsCollectionConfigProfile. # noqa: E501 - - - :return: The model_type of this ServiceMetricsCollectionConfigProfile. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this ServiceMetricsCollectionConfigProfile. - - - :param model_type: The model_type of this ServiceMetricsCollectionConfigProfile. # noqa: E501 - :type: str - """ - allowed_values = ["ServiceMetricsCollectionConfigProfile"] # noqa: E501 - if model_type not in allowed_values: - raise ValueError( - "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 - .format(model_type, allowed_values) - ) - - self._model_type = model_type - - @property - def radio_types(self): - """Gets the radio_types of this ServiceMetricsCollectionConfigProfile. # noqa: E501 - - - :return: The radio_types of this ServiceMetricsCollectionConfigProfile. # noqa: E501 - :rtype: list[RadioType] - """ - return self._radio_types - - @radio_types.setter - def radio_types(self, radio_types): - """Sets the radio_types of this ServiceMetricsCollectionConfigProfile. - - - :param radio_types: The radio_types of this ServiceMetricsCollectionConfigProfile. # noqa: E501 - :type: list[RadioType] - """ - - self._radio_types = radio_types - - @property - def service_metric_data_types(self): - """Gets the service_metric_data_types of this ServiceMetricsCollectionConfigProfile. # noqa: E501 - - - :return: The service_metric_data_types of this ServiceMetricsCollectionConfigProfile. # noqa: E501 - :rtype: list[ServiceMetricDataType] - """ - return self._service_metric_data_types - - @service_metric_data_types.setter - def service_metric_data_types(self, service_metric_data_types): - """Sets the service_metric_data_types of this ServiceMetricsCollectionConfigProfile. - - - :param service_metric_data_types: The service_metric_data_types of this ServiceMetricsCollectionConfigProfile. # noqa: E501 - :type: list[ServiceMetricDataType] - """ - - self._service_metric_data_types = service_metric_data_types - - @property - def metric_config_parameter_map(self): - """Gets the metric_config_parameter_map of this ServiceMetricsCollectionConfigProfile. # noqa: E501 - - - :return: The metric_config_parameter_map of this ServiceMetricsCollectionConfigProfile. # noqa: E501 - :rtype: MetricConfigParameterMap - """ - return self._metric_config_parameter_map - - @metric_config_parameter_map.setter - def metric_config_parameter_map(self, metric_config_parameter_map): - """Sets the metric_config_parameter_map of this ServiceMetricsCollectionConfigProfile. - - - :param metric_config_parameter_map: The metric_config_parameter_map of this ServiceMetricsCollectionConfigProfile. # noqa: E501 - :type: MetricConfigParameterMap - """ - - self._metric_config_parameter_map = metric_config_parameter_map - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(ServiceMetricsCollectionConfigProfile, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, ServiceMetricsCollectionConfigProfile): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/session_expiry_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/session_expiry_type.py deleted file mode 100644 index 394813b0a..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/session_expiry_type.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class SessionExpiryType(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - TIME_LIMITED = "time_limited" - UNLIMITED = "unlimited" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """SessionExpiryType - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(SessionExpiryType, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, SessionExpiryType): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/sip_call_report_reason.py b/libs/cloudapi/cloudsdk/swagger_client/models/sip_call_report_reason.py deleted file mode 100644 index 0e7f18b2c..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/sip_call_report_reason.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class SIPCallReportReason(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - ROAMED_FROM = "ROAMED_FROM" - ROAMED_TO = "ROAMED_TO" - GOT_PUBLISH = "GOT_PUBLISH" - UNSUPPORTED = "UNSUPPORTED" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """SIPCallReportReason - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(SIPCallReportReason, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, SIPCallReportReason): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/sip_call_stop_reason.py b/libs/cloudapi/cloudsdk/swagger_client/models/sip_call_stop_reason.py deleted file mode 100644 index 830bc6cc5..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/sip_call_stop_reason.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class SipCallStopReason(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - BYE_OK = "BYE_OK" - DROPPED = "DROPPED" - UNSUPPORTED = "UNSUPPORTED" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """SipCallStopReason - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(SipCallStopReason, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, SipCallStopReason): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_alarm.py b/libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_alarm.py deleted file mode 100644 index d78f04f07..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_alarm.py +++ /dev/null @@ -1,177 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class SortColumnsAlarm(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'column_name': 'str', - 'sort_order': 'SortOrder' - } - - attribute_map = { - 'model_type': 'model_type', - 'column_name': 'columnName', - 'sort_order': 'sortOrder' - } - - def __init__(self, model_type=None, column_name='id', sort_order=None): # noqa: E501 - """SortColumnsAlarm - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._column_name = None - self._sort_order = None - self.discriminator = None - self.model_type = model_type - self.column_name = column_name - self.sort_order = sort_order - - @property - def model_type(self): - """Gets the model_type of this SortColumnsAlarm. # noqa: E501 - - - :return: The model_type of this SortColumnsAlarm. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this SortColumnsAlarm. - - - :param model_type: The model_type of this SortColumnsAlarm. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - allowed_values = ["ColumnAndSort"] # noqa: E501 - if model_type not in allowed_values: - raise ValueError( - "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 - .format(model_type, allowed_values) - ) - - self._model_type = model_type - - @property - def column_name(self): - """Gets the column_name of this SortColumnsAlarm. # noqa: E501 - - - :return: The column_name of this SortColumnsAlarm. # noqa: E501 - :rtype: str - """ - return self._column_name - - @column_name.setter - def column_name(self, column_name): - """Sets the column_name of this SortColumnsAlarm. - - - :param column_name: The column_name of this SortColumnsAlarm. # noqa: E501 - :type: str - """ - if column_name is None: - raise ValueError("Invalid value for `column_name`, must not be `None`") # noqa: E501 - allowed_values = ["equipmentId", "alarmCode", "createdTimestamp"] # noqa: E501 - if column_name not in allowed_values: - raise ValueError( - "Invalid value for `column_name` ({0}), must be one of {1}" # noqa: E501 - .format(column_name, allowed_values) - ) - - self._column_name = column_name - - @property - def sort_order(self): - """Gets the sort_order of this SortColumnsAlarm. # noqa: E501 - - - :return: The sort_order of this SortColumnsAlarm. # noqa: E501 - :rtype: SortOrder - """ - return self._sort_order - - @sort_order.setter - def sort_order(self, sort_order): - """Sets the sort_order of this SortColumnsAlarm. - - - :param sort_order: The sort_order of this SortColumnsAlarm. # noqa: E501 - :type: SortOrder - """ - if sort_order is None: - raise ValueError("Invalid value for `sort_order`, must not be `None`") # noqa: E501 - - self._sort_order = sort_order - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(SortColumnsAlarm, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, SortColumnsAlarm): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_client.py b/libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_client.py deleted file mode 100644 index bb6860995..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_client.py +++ /dev/null @@ -1,177 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class SortColumnsClient(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'column_name': 'str', - 'sort_order': 'SortOrder' - } - - attribute_map = { - 'model_type': 'model_type', - 'column_name': 'columnName', - 'sort_order': 'sortOrder' - } - - def __init__(self, model_type=None, column_name='macAddress', sort_order=None): # noqa: E501 - """SortColumnsClient - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._column_name = None - self._sort_order = None - self.discriminator = None - self.model_type = model_type - self.column_name = column_name - self.sort_order = sort_order - - @property - def model_type(self): - """Gets the model_type of this SortColumnsClient. # noqa: E501 - - - :return: The model_type of this SortColumnsClient. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this SortColumnsClient. - - - :param model_type: The model_type of this SortColumnsClient. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - allowed_values = ["ColumnAndSort"] # noqa: E501 - if model_type not in allowed_values: - raise ValueError( - "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 - .format(model_type, allowed_values) - ) - - self._model_type = model_type - - @property - def column_name(self): - """Gets the column_name of this SortColumnsClient. # noqa: E501 - - - :return: The column_name of this SortColumnsClient. # noqa: E501 - :rtype: str - """ - return self._column_name - - @column_name.setter - def column_name(self, column_name): - """Sets the column_name of this SortColumnsClient. - - - :param column_name: The column_name of this SortColumnsClient. # noqa: E501 - :type: str - """ - if column_name is None: - raise ValueError("Invalid value for `column_name`, must not be `None`") # noqa: E501 - allowed_values = ["macAddress"] # noqa: E501 - if column_name not in allowed_values: - raise ValueError( - "Invalid value for `column_name` ({0}), must be one of {1}" # noqa: E501 - .format(column_name, allowed_values) - ) - - self._column_name = column_name - - @property - def sort_order(self): - """Gets the sort_order of this SortColumnsClient. # noqa: E501 - - - :return: The sort_order of this SortColumnsClient. # noqa: E501 - :rtype: SortOrder - """ - return self._sort_order - - @sort_order.setter - def sort_order(self, sort_order): - """Sets the sort_order of this SortColumnsClient. - - - :param sort_order: The sort_order of this SortColumnsClient. # noqa: E501 - :type: SortOrder - """ - if sort_order is None: - raise ValueError("Invalid value for `sort_order`, must not be `None`") # noqa: E501 - - self._sort_order = sort_order - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(SortColumnsClient, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, SortColumnsClient): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_client_session.py b/libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_client_session.py deleted file mode 100644 index a7ebaf530..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_client_session.py +++ /dev/null @@ -1,177 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class SortColumnsClientSession(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'column_name': 'str', - 'sort_order': 'SortOrder' - } - - attribute_map = { - 'model_type': 'model_type', - 'column_name': 'columnName', - 'sort_order': 'sortOrder' - } - - def __init__(self, model_type=None, column_name='id', sort_order=None): # noqa: E501 - """SortColumnsClientSession - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._column_name = None - self._sort_order = None - self.discriminator = None - self.model_type = model_type - self.column_name = column_name - self.sort_order = sort_order - - @property - def model_type(self): - """Gets the model_type of this SortColumnsClientSession. # noqa: E501 - - - :return: The model_type of this SortColumnsClientSession. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this SortColumnsClientSession. - - - :param model_type: The model_type of this SortColumnsClientSession. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - allowed_values = ["ColumnAndSort"] # noqa: E501 - if model_type not in allowed_values: - raise ValueError( - "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 - .format(model_type, allowed_values) - ) - - self._model_type = model_type - - @property - def column_name(self): - """Gets the column_name of this SortColumnsClientSession. # noqa: E501 - - - :return: The column_name of this SortColumnsClientSession. # noqa: E501 - :rtype: str - """ - return self._column_name - - @column_name.setter - def column_name(self, column_name): - """Sets the column_name of this SortColumnsClientSession. - - - :param column_name: The column_name of this SortColumnsClientSession. # noqa: E501 - :type: str - """ - if column_name is None: - raise ValueError("Invalid value for `column_name`, must not be `None`") # noqa: E501 - allowed_values = ["customerId", "equipmentId", "macAddress"] # noqa: E501 - if column_name not in allowed_values: - raise ValueError( - "Invalid value for `column_name` ({0}), must be one of {1}" # noqa: E501 - .format(column_name, allowed_values) - ) - - self._column_name = column_name - - @property - def sort_order(self): - """Gets the sort_order of this SortColumnsClientSession. # noqa: E501 - - - :return: The sort_order of this SortColumnsClientSession. # noqa: E501 - :rtype: SortOrder - """ - return self._sort_order - - @sort_order.setter - def sort_order(self, sort_order): - """Sets the sort_order of this SortColumnsClientSession. - - - :param sort_order: The sort_order of this SortColumnsClientSession. # noqa: E501 - :type: SortOrder - """ - if sort_order is None: - raise ValueError("Invalid value for `sort_order`, must not be `None`") # noqa: E501 - - self._sort_order = sort_order - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(SortColumnsClientSession, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, SortColumnsClientSession): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_equipment.py b/libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_equipment.py deleted file mode 100644 index 9dee06bab..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_equipment.py +++ /dev/null @@ -1,177 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class SortColumnsEquipment(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'column_name': 'str', - 'sort_order': 'SortOrder' - } - - attribute_map = { - 'model_type': 'model_type', - 'column_name': 'columnName', - 'sort_order': 'sortOrder' - } - - def __init__(self, model_type=None, column_name='id', sort_order=None): # noqa: E501 - """SortColumnsEquipment - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._column_name = None - self._sort_order = None - self.discriminator = None - self.model_type = model_type - self.column_name = column_name - self.sort_order = sort_order - - @property - def model_type(self): - """Gets the model_type of this SortColumnsEquipment. # noqa: E501 - - - :return: The model_type of this SortColumnsEquipment. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this SortColumnsEquipment. - - - :param model_type: The model_type of this SortColumnsEquipment. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - allowed_values = ["ColumnAndSort"] # noqa: E501 - if model_type not in allowed_values: - raise ValueError( - "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 - .format(model_type, allowed_values) - ) - - self._model_type = model_type - - @property - def column_name(self): - """Gets the column_name of this SortColumnsEquipment. # noqa: E501 - - - :return: The column_name of this SortColumnsEquipment. # noqa: E501 - :rtype: str - """ - return self._column_name - - @column_name.setter - def column_name(self, column_name): - """Sets the column_name of this SortColumnsEquipment. - - - :param column_name: The column_name of this SortColumnsEquipment. # noqa: E501 - :type: str - """ - if column_name is None: - raise ValueError("Invalid value for `column_name`, must not be `None`") # noqa: E501 - allowed_values = ["id", "name", "profileId", "locationId", "equipmentType", "inventoryId"] # noqa: E501 - if column_name not in allowed_values: - raise ValueError( - "Invalid value for `column_name` ({0}), must be one of {1}" # noqa: E501 - .format(column_name, allowed_values) - ) - - self._column_name = column_name - - @property - def sort_order(self): - """Gets the sort_order of this SortColumnsEquipment. # noqa: E501 - - - :return: The sort_order of this SortColumnsEquipment. # noqa: E501 - :rtype: SortOrder - """ - return self._sort_order - - @sort_order.setter - def sort_order(self, sort_order): - """Sets the sort_order of this SortColumnsEquipment. - - - :param sort_order: The sort_order of this SortColumnsEquipment. # noqa: E501 - :type: SortOrder - """ - if sort_order is None: - raise ValueError("Invalid value for `sort_order`, must not be `None`") # noqa: E501 - - self._sort_order = sort_order - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(SortColumnsEquipment, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, SortColumnsEquipment): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_location.py b/libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_location.py deleted file mode 100644 index 58add9e27..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_location.py +++ /dev/null @@ -1,177 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class SortColumnsLocation(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'column_name': 'str', - 'sort_order': 'SortOrder' - } - - attribute_map = { - 'model_type': 'model_type', - 'column_name': 'columnName', - 'sort_order': 'sortOrder' - } - - def __init__(self, model_type=None, column_name='id', sort_order=None): # noqa: E501 - """SortColumnsLocation - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._column_name = None - self._sort_order = None - self.discriminator = None - self.model_type = model_type - self.column_name = column_name - self.sort_order = sort_order - - @property - def model_type(self): - """Gets the model_type of this SortColumnsLocation. # noqa: E501 - - - :return: The model_type of this SortColumnsLocation. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this SortColumnsLocation. - - - :param model_type: The model_type of this SortColumnsLocation. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - allowed_values = ["ColumnAndSort"] # noqa: E501 - if model_type not in allowed_values: - raise ValueError( - "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 - .format(model_type, allowed_values) - ) - - self._model_type = model_type - - @property - def column_name(self): - """Gets the column_name of this SortColumnsLocation. # noqa: E501 - - - :return: The column_name of this SortColumnsLocation. # noqa: E501 - :rtype: str - """ - return self._column_name - - @column_name.setter - def column_name(self, column_name): - """Sets the column_name of this SortColumnsLocation. - - - :param column_name: The column_name of this SortColumnsLocation. # noqa: E501 - :type: str - """ - if column_name is None: - raise ValueError("Invalid value for `column_name`, must not be `None`") # noqa: E501 - allowed_values = ["id", "name"] # noqa: E501 - if column_name not in allowed_values: - raise ValueError( - "Invalid value for `column_name` ({0}), must be one of {1}" # noqa: E501 - .format(column_name, allowed_values) - ) - - self._column_name = column_name - - @property - def sort_order(self): - """Gets the sort_order of this SortColumnsLocation. # noqa: E501 - - - :return: The sort_order of this SortColumnsLocation. # noqa: E501 - :rtype: SortOrder - """ - return self._sort_order - - @sort_order.setter - def sort_order(self, sort_order): - """Sets the sort_order of this SortColumnsLocation. - - - :param sort_order: The sort_order of this SortColumnsLocation. # noqa: E501 - :type: SortOrder - """ - if sort_order is None: - raise ValueError("Invalid value for `sort_order`, must not be `None`") # noqa: E501 - - self._sort_order = sort_order - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(SortColumnsLocation, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, SortColumnsLocation): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_portal_user.py b/libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_portal_user.py deleted file mode 100644 index d618c8f18..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_portal_user.py +++ /dev/null @@ -1,177 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class SortColumnsPortalUser(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'column_name': 'str', - 'sort_order': 'SortOrder' - } - - attribute_map = { - 'model_type': 'model_type', - 'column_name': 'columnName', - 'sort_order': 'sortOrder' - } - - def __init__(self, model_type=None, column_name='id', sort_order=None): # noqa: E501 - """SortColumnsPortalUser - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._column_name = None - self._sort_order = None - self.discriminator = None - self.model_type = model_type - self.column_name = column_name - self.sort_order = sort_order - - @property - def model_type(self): - """Gets the model_type of this SortColumnsPortalUser. # noqa: E501 - - - :return: The model_type of this SortColumnsPortalUser. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this SortColumnsPortalUser. - - - :param model_type: The model_type of this SortColumnsPortalUser. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - allowed_values = ["ColumnAndSort"] # noqa: E501 - if model_type not in allowed_values: - raise ValueError( - "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 - .format(model_type, allowed_values) - ) - - self._model_type = model_type - - @property - def column_name(self): - """Gets the column_name of this SortColumnsPortalUser. # noqa: E501 - - - :return: The column_name of this SortColumnsPortalUser. # noqa: E501 - :rtype: str - """ - return self._column_name - - @column_name.setter - def column_name(self, column_name): - """Sets the column_name of this SortColumnsPortalUser. - - - :param column_name: The column_name of this SortColumnsPortalUser. # noqa: E501 - :type: str - """ - if column_name is None: - raise ValueError("Invalid value for `column_name`, must not be `None`") # noqa: E501 - allowed_values = ["id", "username"] # noqa: E501 - if column_name not in allowed_values: - raise ValueError( - "Invalid value for `column_name` ({0}), must be one of {1}" # noqa: E501 - .format(column_name, allowed_values) - ) - - self._column_name = column_name - - @property - def sort_order(self): - """Gets the sort_order of this SortColumnsPortalUser. # noqa: E501 - - - :return: The sort_order of this SortColumnsPortalUser. # noqa: E501 - :rtype: SortOrder - """ - return self._sort_order - - @sort_order.setter - def sort_order(self, sort_order): - """Sets the sort_order of this SortColumnsPortalUser. - - - :param sort_order: The sort_order of this SortColumnsPortalUser. # noqa: E501 - :type: SortOrder - """ - if sort_order is None: - raise ValueError("Invalid value for `sort_order`, must not be `None`") # noqa: E501 - - self._sort_order = sort_order - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(SortColumnsPortalUser, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, SortColumnsPortalUser): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_profile.py b/libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_profile.py deleted file mode 100644 index 50889856d..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_profile.py +++ /dev/null @@ -1,177 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class SortColumnsProfile(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'column_name': 'str', - 'sort_order': 'SortOrder' - } - - attribute_map = { - 'model_type': 'model_type', - 'column_name': 'columnName', - 'sort_order': 'sortOrder' - } - - def __init__(self, model_type=None, column_name='id', sort_order=None): # noqa: E501 - """SortColumnsProfile - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._column_name = None - self._sort_order = None - self.discriminator = None - self.model_type = model_type - self.column_name = column_name - self.sort_order = sort_order - - @property - def model_type(self): - """Gets the model_type of this SortColumnsProfile. # noqa: E501 - - - :return: The model_type of this SortColumnsProfile. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this SortColumnsProfile. - - - :param model_type: The model_type of this SortColumnsProfile. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - allowed_values = ["ColumnAndSort"] # noqa: E501 - if model_type not in allowed_values: - raise ValueError( - "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 - .format(model_type, allowed_values) - ) - - self._model_type = model_type - - @property - def column_name(self): - """Gets the column_name of this SortColumnsProfile. # noqa: E501 - - - :return: The column_name of this SortColumnsProfile. # noqa: E501 - :rtype: str - """ - return self._column_name - - @column_name.setter - def column_name(self, column_name): - """Sets the column_name of this SortColumnsProfile. - - - :param column_name: The column_name of this SortColumnsProfile. # noqa: E501 - :type: str - """ - if column_name is None: - raise ValueError("Invalid value for `column_name`, must not be `None`") # noqa: E501 - allowed_values = ["id", "name"] # noqa: E501 - if column_name not in allowed_values: - raise ValueError( - "Invalid value for `column_name` ({0}), must be one of {1}" # noqa: E501 - .format(column_name, allowed_values) - ) - - self._column_name = column_name - - @property - def sort_order(self): - """Gets the sort_order of this SortColumnsProfile. # noqa: E501 - - - :return: The sort_order of this SortColumnsProfile. # noqa: E501 - :rtype: SortOrder - """ - return self._sort_order - - @sort_order.setter - def sort_order(self, sort_order): - """Sets the sort_order of this SortColumnsProfile. - - - :param sort_order: The sort_order of this SortColumnsProfile. # noqa: E501 - :type: SortOrder - """ - if sort_order is None: - raise ValueError("Invalid value for `sort_order`, must not be `None`") # noqa: E501 - - self._sort_order = sort_order - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(SortColumnsProfile, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, SortColumnsProfile): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_service_metric.py b/libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_service_metric.py deleted file mode 100644 index d04818b81..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_service_metric.py +++ /dev/null @@ -1,177 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class SortColumnsServiceMetric(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'column_name': 'str', - 'sort_order': 'SortOrder' - } - - attribute_map = { - 'model_type': 'model_type', - 'column_name': 'columnName', - 'sort_order': 'sortOrder' - } - - def __init__(self, model_type=None, column_name='createdTimestamp', sort_order=None): # noqa: E501 - """SortColumnsServiceMetric - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._column_name = None - self._sort_order = None - self.discriminator = None - self.model_type = model_type - self.column_name = column_name - self.sort_order = sort_order - - @property - def model_type(self): - """Gets the model_type of this SortColumnsServiceMetric. # noqa: E501 - - - :return: The model_type of this SortColumnsServiceMetric. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this SortColumnsServiceMetric. - - - :param model_type: The model_type of this SortColumnsServiceMetric. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - allowed_values = ["ColumnAndSort"] # noqa: E501 - if model_type not in allowed_values: - raise ValueError( - "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 - .format(model_type, allowed_values) - ) - - self._model_type = model_type - - @property - def column_name(self): - """Gets the column_name of this SortColumnsServiceMetric. # noqa: E501 - - - :return: The column_name of this SortColumnsServiceMetric. # noqa: E501 - :rtype: str - """ - return self._column_name - - @column_name.setter - def column_name(self, column_name): - """Sets the column_name of this SortColumnsServiceMetric. - - - :param column_name: The column_name of this SortColumnsServiceMetric. # noqa: E501 - :type: str - """ - if column_name is None: - raise ValueError("Invalid value for `column_name`, must not be `None`") # noqa: E501 - allowed_values = ["equipmentId", "clientMac", "dataType", "createdTimestamp"] # noqa: E501 - if column_name not in allowed_values: - raise ValueError( - "Invalid value for `column_name` ({0}), must be one of {1}" # noqa: E501 - .format(column_name, allowed_values) - ) - - self._column_name = column_name - - @property - def sort_order(self): - """Gets the sort_order of this SortColumnsServiceMetric. # noqa: E501 - - - :return: The sort_order of this SortColumnsServiceMetric. # noqa: E501 - :rtype: SortOrder - """ - return self._sort_order - - @sort_order.setter - def sort_order(self, sort_order): - """Sets the sort_order of this SortColumnsServiceMetric. - - - :param sort_order: The sort_order of this SortColumnsServiceMetric. # noqa: E501 - :type: SortOrder - """ - if sort_order is None: - raise ValueError("Invalid value for `sort_order`, must not be `None`") # noqa: E501 - - self._sort_order = sort_order - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(SortColumnsServiceMetric, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, SortColumnsServiceMetric): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_status.py b/libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_status.py deleted file mode 100644 index 2be203422..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_status.py +++ /dev/null @@ -1,177 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class SortColumnsStatus(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'column_name': 'str', - 'sort_order': 'SortOrder' - } - - attribute_map = { - 'model_type': 'model_type', - 'column_name': 'columnName', - 'sort_order': 'sortOrder' - } - - def __init__(self, model_type=None, column_name='id', sort_order=None): # noqa: E501 - """SortColumnsStatus - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._column_name = None - self._sort_order = None - self.discriminator = None - self.model_type = model_type - self.column_name = column_name - self.sort_order = sort_order - - @property - def model_type(self): - """Gets the model_type of this SortColumnsStatus. # noqa: E501 - - - :return: The model_type of this SortColumnsStatus. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this SortColumnsStatus. - - - :param model_type: The model_type of this SortColumnsStatus. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - allowed_values = ["ColumnAndSort"] # noqa: E501 - if model_type not in allowed_values: - raise ValueError( - "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 - .format(model_type, allowed_values) - ) - - self._model_type = model_type - - @property - def column_name(self): - """Gets the column_name of this SortColumnsStatus. # noqa: E501 - - - :return: The column_name of this SortColumnsStatus. # noqa: E501 - :rtype: str - """ - return self._column_name - - @column_name.setter - def column_name(self, column_name): - """Sets the column_name of this SortColumnsStatus. - - - :param column_name: The column_name of this SortColumnsStatus. # noqa: E501 - :type: str - """ - if column_name is None: - raise ValueError("Invalid value for `column_name`, must not be `None`") # noqa: E501 - allowed_values = ["customerId", "equipmentId"] # noqa: E501 - if column_name not in allowed_values: - raise ValueError( - "Invalid value for `column_name` ({0}), must be one of {1}" # noqa: E501 - .format(column_name, allowed_values) - ) - - self._column_name = column_name - - @property - def sort_order(self): - """Gets the sort_order of this SortColumnsStatus. # noqa: E501 - - - :return: The sort_order of this SortColumnsStatus. # noqa: E501 - :rtype: SortOrder - """ - return self._sort_order - - @sort_order.setter - def sort_order(self, sort_order): - """Sets the sort_order of this SortColumnsStatus. - - - :param sort_order: The sort_order of this SortColumnsStatus. # noqa: E501 - :type: SortOrder - """ - if sort_order is None: - raise ValueError("Invalid value for `sort_order`, must not be `None`") # noqa: E501 - - self._sort_order = sort_order - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(SortColumnsStatus, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, SortColumnsStatus): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_system_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_system_event.py deleted file mode 100644 index 5a3e50577..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/sort_columns_system_event.py +++ /dev/null @@ -1,177 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class SortColumnsSystemEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'column_name': 'str', - 'sort_order': 'SortOrder' - } - - attribute_map = { - 'model_type': 'model_type', - 'column_name': 'columnName', - 'sort_order': 'sortOrder' - } - - def __init__(self, model_type=None, column_name='equipmentId', sort_order=None): # noqa: E501 - """SortColumnsSystemEvent - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._column_name = None - self._sort_order = None - self.discriminator = None - self.model_type = model_type - self.column_name = column_name - self.sort_order = sort_order - - @property - def model_type(self): - """Gets the model_type of this SortColumnsSystemEvent. # noqa: E501 - - - :return: The model_type of this SortColumnsSystemEvent. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this SortColumnsSystemEvent. - - - :param model_type: The model_type of this SortColumnsSystemEvent. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - allowed_values = ["ColumnAndSort"] # noqa: E501 - if model_type not in allowed_values: - raise ValueError( - "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 - .format(model_type, allowed_values) - ) - - self._model_type = model_type - - @property - def column_name(self): - """Gets the column_name of this SortColumnsSystemEvent. # noqa: E501 - - - :return: The column_name of this SortColumnsSystemEvent. # noqa: E501 - :rtype: str - """ - return self._column_name - - @column_name.setter - def column_name(self, column_name): - """Sets the column_name of this SortColumnsSystemEvent. - - - :param column_name: The column_name of this SortColumnsSystemEvent. # noqa: E501 - :type: str - """ - if column_name is None: - raise ValueError("Invalid value for `column_name`, must not be `None`") # noqa: E501 - allowed_values = ["equipmentId", "dataType", "createdTimestamp"] # noqa: E501 - if column_name not in allowed_values: - raise ValueError( - "Invalid value for `column_name` ({0}), must be one of {1}" # noqa: E501 - .format(column_name, allowed_values) - ) - - self._column_name = column_name - - @property - def sort_order(self): - """Gets the sort_order of this SortColumnsSystemEvent. # noqa: E501 - - - :return: The sort_order of this SortColumnsSystemEvent. # noqa: E501 - :rtype: SortOrder - """ - return self._sort_order - - @sort_order.setter - def sort_order(self, sort_order): - """Sets the sort_order of this SortColumnsSystemEvent. - - - :param sort_order: The sort_order of this SortColumnsSystemEvent. # noqa: E501 - :type: SortOrder - """ - if sort_order is None: - raise ValueError("Invalid value for `sort_order`, must not be `None`") # noqa: E501 - - self._sort_order = sort_order - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(SortColumnsSystemEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, SortColumnsSystemEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/sort_order.py b/libs/cloudapi/cloudsdk/swagger_client/models/sort_order.py deleted file mode 100644 index 96f3bef1d..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/sort_order.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class SortOrder(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - ASC = "asc" - DESC = "desc" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """SortOrder - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(SortOrder, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, SortOrder): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/source_selection_management.py b/libs/cloudapi/cloudsdk/swagger_client/models/source_selection_management.py deleted file mode 100644 index fd9c660ad..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/source_selection_management.py +++ /dev/null @@ -1,136 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class SourceSelectionManagement(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'source': 'SourceType', - 'value': 'ManagementRate' - } - - attribute_map = { - 'source': 'source', - 'value': 'value' - } - - def __init__(self, source=None, value=None): # noqa: E501 - """SourceSelectionManagement - a model defined in Swagger""" # noqa: E501 - self._source = None - self._value = None - self.discriminator = None - if source is not None: - self.source = source - if value is not None: - self.value = value - - @property - def source(self): - """Gets the source of this SourceSelectionManagement. # noqa: E501 - - - :return: The source of this SourceSelectionManagement. # noqa: E501 - :rtype: SourceType - """ - return self._source - - @source.setter - def source(self, source): - """Sets the source of this SourceSelectionManagement. - - - :param source: The source of this SourceSelectionManagement. # noqa: E501 - :type: SourceType - """ - - self._source = source - - @property - def value(self): - """Gets the value of this SourceSelectionManagement. # noqa: E501 - - - :return: The value of this SourceSelectionManagement. # noqa: E501 - :rtype: ManagementRate - """ - return self._value - - @value.setter - def value(self, value): - """Sets the value of this SourceSelectionManagement. - - - :param value: The value of this SourceSelectionManagement. # noqa: E501 - :type: ManagementRate - """ - - self._value = value - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(SourceSelectionManagement, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, SourceSelectionManagement): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/source_selection_multicast.py b/libs/cloudapi/cloudsdk/swagger_client/models/source_selection_multicast.py deleted file mode 100644 index ed7ea5b95..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/source_selection_multicast.py +++ /dev/null @@ -1,136 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class SourceSelectionMulticast(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'source': 'SourceType', - 'value': 'MulticastRate' - } - - attribute_map = { - 'source': 'source', - 'value': 'value' - } - - def __init__(self, source=None, value=None): # noqa: E501 - """SourceSelectionMulticast - a model defined in Swagger""" # noqa: E501 - self._source = None - self._value = None - self.discriminator = None - if source is not None: - self.source = source - if value is not None: - self.value = value - - @property - def source(self): - """Gets the source of this SourceSelectionMulticast. # noqa: E501 - - - :return: The source of this SourceSelectionMulticast. # noqa: E501 - :rtype: SourceType - """ - return self._source - - @source.setter - def source(self, source): - """Sets the source of this SourceSelectionMulticast. - - - :param source: The source of this SourceSelectionMulticast. # noqa: E501 - :type: SourceType - """ - - self._source = source - - @property - def value(self): - """Gets the value of this SourceSelectionMulticast. # noqa: E501 - - - :return: The value of this SourceSelectionMulticast. # noqa: E501 - :rtype: MulticastRate - """ - return self._value - - @value.setter - def value(self, value): - """Sets the value of this SourceSelectionMulticast. - - - :param value: The value of this SourceSelectionMulticast. # noqa: E501 - :type: MulticastRate - """ - - self._value = value - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(SourceSelectionMulticast, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, SourceSelectionMulticast): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/source_selection_steering.py b/libs/cloudapi/cloudsdk/swagger_client/models/source_selection_steering.py deleted file mode 100644 index 0e609304c..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/source_selection_steering.py +++ /dev/null @@ -1,136 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class SourceSelectionSteering(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'source': 'SourceType', - 'value': 'RadioBestApSettings' - } - - attribute_map = { - 'source': 'source', - 'value': 'value' - } - - def __init__(self, source=None, value=None): # noqa: E501 - """SourceSelectionSteering - a model defined in Swagger""" # noqa: E501 - self._source = None - self._value = None - self.discriminator = None - if source is not None: - self.source = source - if value is not None: - self.value = value - - @property - def source(self): - """Gets the source of this SourceSelectionSteering. # noqa: E501 - - - :return: The source of this SourceSelectionSteering. # noqa: E501 - :rtype: SourceType - """ - return self._source - - @source.setter - def source(self, source): - """Sets the source of this SourceSelectionSteering. - - - :param source: The source of this SourceSelectionSteering. # noqa: E501 - :type: SourceType - """ - - self._source = source - - @property - def value(self): - """Gets the value of this SourceSelectionSteering. # noqa: E501 - - - :return: The value of this SourceSelectionSteering. # noqa: E501 - :rtype: RadioBestApSettings - """ - return self._value - - @value.setter - def value(self, value): - """Sets the value of this SourceSelectionSteering. - - - :param value: The value of this SourceSelectionSteering. # noqa: E501 - :type: RadioBestApSettings - """ - - self._value = value - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(SourceSelectionSteering, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, SourceSelectionSteering): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/source_selection_value.py b/libs/cloudapi/cloudsdk/swagger_client/models/source_selection_value.py deleted file mode 100644 index 40318864e..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/source_selection_value.py +++ /dev/null @@ -1,136 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class SourceSelectionValue(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'source': 'SourceType', - 'value': 'int' - } - - attribute_map = { - 'source': 'source', - 'value': 'value' - } - - def __init__(self, source=None, value=None): # noqa: E501 - """SourceSelectionValue - a model defined in Swagger""" # noqa: E501 - self._source = None - self._value = None - self.discriminator = None - if source is not None: - self.source = source - if value is not None: - self.value = value - - @property - def source(self): - """Gets the source of this SourceSelectionValue. # noqa: E501 - - - :return: The source of this SourceSelectionValue. # noqa: E501 - :rtype: SourceType - """ - return self._source - - @source.setter - def source(self, source): - """Sets the source of this SourceSelectionValue. - - - :param source: The source of this SourceSelectionValue. # noqa: E501 - :type: SourceType - """ - - self._source = source - - @property - def value(self): - """Gets the value of this SourceSelectionValue. # noqa: E501 - - - :return: The value of this SourceSelectionValue. # noqa: E501 - :rtype: int - """ - return self._value - - @value.setter - def value(self, value): - """Sets the value of this SourceSelectionValue. - - - :param value: The value of this SourceSelectionValue. # noqa: E501 - :type: int - """ - - self._value = value - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(SourceSelectionValue, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, SourceSelectionValue): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/source_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/source_type.py deleted file mode 100644 index 4a6826a06..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/source_type.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class SourceType(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - AUTO = "auto" - MANUAL = "manual" - PROFILE = "profile" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """SourceType - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(SourceType, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, SourceType): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/ssid_configuration.py b/libs/cloudapi/cloudsdk/swagger_client/models/ssid_configuration.py deleted file mode 100644 index a126b8332..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/ssid_configuration.py +++ /dev/null @@ -1,752 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six -from swagger_client.models.profile_details import ProfileDetails # noqa: F401,E501 - -class SsidConfiguration(ProfileDetails): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'ssid': 'str', - 'applied_radios': 'list[RadioType]', - 'ssid_admin_state': 'StateSetting', - 'secure_mode': 'SsidSecureMode', - 'vlan_id': 'int', - 'dynamic_vlan': 'DynamicVlanMode', - 'key_str': 'str', - 'broadcast_ssid': 'StateSetting', - 'key_refresh': 'int', - 'no_local_subnets': 'bool', - 'radius_service_id': 'int', - 'radius_acounting_service_interval': 'int', - 'radius_nas_configuration': 'RadiusNasConfiguration', - 'captive_portal_id': 'int', - 'bandwidth_limit_down': 'int', - 'bandwidth_limit_up': 'int', - 'client_bandwidth_limit_down': 'int', - 'client_bandwidth_limit_up': 'int', - 'video_traffic_only': 'bool', - 'radio_based_configs': 'RadioBasedSsidConfigurationMap', - 'bonjour_gateway_profile_id': 'int', - 'enable80211w': 'bool', - 'wep_config': 'WepConfiguration', - 'forward_mode': 'NetworkForwardMode' - } - if hasattr(ProfileDetails, "swagger_types"): - swagger_types.update(ProfileDetails.swagger_types) - - attribute_map = { - 'model_type': 'model_type', - 'ssid': 'ssid', - 'applied_radios': 'appliedRadios', - 'ssid_admin_state': 'ssidAdminState', - 'secure_mode': 'secureMode', - 'vlan_id': 'vlanId', - 'dynamic_vlan': 'dynamicVlan', - 'key_str': 'keyStr', - 'broadcast_ssid': 'broadcastSsid', - 'key_refresh': 'keyRefresh', - 'no_local_subnets': 'noLocalSubnets', - 'radius_service_id': 'radiusServiceId', - 'radius_acounting_service_interval': 'radiusAcountingServiceInterval', - 'radius_nas_configuration': 'radiusNasConfiguration', - 'captive_portal_id': 'captivePortalId', - 'bandwidth_limit_down': 'bandwidthLimitDown', - 'bandwidth_limit_up': 'bandwidthLimitUp', - 'client_bandwidth_limit_down': 'clientBandwidthLimitDown', - 'client_bandwidth_limit_up': 'clientBandwidthLimitUp', - 'video_traffic_only': 'videoTrafficOnly', - 'radio_based_configs': 'radioBasedConfigs', - 'bonjour_gateway_profile_id': 'bonjourGatewayProfileId', - 'enable80211w': 'enable80211w', - 'wep_config': 'wepConfig', - 'forward_mode': 'forwardMode' - } - if hasattr(ProfileDetails, "attribute_map"): - attribute_map.update(ProfileDetails.attribute_map) - - def __init__(self, model_type=None, ssid=None, applied_radios=None, ssid_admin_state=None, secure_mode=None, vlan_id=None, dynamic_vlan=None, key_str=None, broadcast_ssid=None, key_refresh=0, no_local_subnets=None, radius_service_id=None, radius_acounting_service_interval=None, radius_nas_configuration=None, captive_portal_id=None, bandwidth_limit_down=None, bandwidth_limit_up=None, client_bandwidth_limit_down=None, client_bandwidth_limit_up=None, video_traffic_only=None, radio_based_configs=None, bonjour_gateway_profile_id=None, enable80211w=None, wep_config=None, forward_mode=None, *args, **kwargs): # noqa: E501 - """SsidConfiguration - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._ssid = None - self._applied_radios = None - self._ssid_admin_state = None - self._secure_mode = None - self._vlan_id = None - self._dynamic_vlan = None - self._key_str = None - self._broadcast_ssid = None - self._key_refresh = None - self._no_local_subnets = None - self._radius_service_id = None - self._radius_acounting_service_interval = None - self._radius_nas_configuration = None - self._captive_portal_id = None - self._bandwidth_limit_down = None - self._bandwidth_limit_up = None - self._client_bandwidth_limit_down = None - self._client_bandwidth_limit_up = None - self._video_traffic_only = None - self._radio_based_configs = None - self._bonjour_gateway_profile_id = None - self._enable80211w = None - self._wep_config = None - self._forward_mode = None - self.discriminator = None - if model_type is not None: - self.model_type = model_type - if ssid is not None: - self.ssid = ssid - if applied_radios is not None: - self.applied_radios = applied_radios - if ssid_admin_state is not None: - self.ssid_admin_state = ssid_admin_state - if secure_mode is not None: - self.secure_mode = secure_mode - if vlan_id is not None: - self.vlan_id = vlan_id - if dynamic_vlan is not None: - self.dynamic_vlan = dynamic_vlan - if key_str is not None: - self.key_str = key_str - if broadcast_ssid is not None: - self.broadcast_ssid = broadcast_ssid - if key_refresh is not None: - self.key_refresh = key_refresh - if no_local_subnets is not None: - self.no_local_subnets = no_local_subnets - if radius_service_id is not None: - self.radius_service_id = radius_service_id - if radius_acounting_service_interval is not None: - self.radius_acounting_service_interval = radius_acounting_service_interval - if radius_nas_configuration is not None: - self.radius_nas_configuration = radius_nas_configuration - if captive_portal_id is not None: - self.captive_portal_id = captive_portal_id - if bandwidth_limit_down is not None: - self.bandwidth_limit_down = bandwidth_limit_down - if bandwidth_limit_up is not None: - self.bandwidth_limit_up = bandwidth_limit_up - if client_bandwidth_limit_down is not None: - self.client_bandwidth_limit_down = client_bandwidth_limit_down - if client_bandwidth_limit_up is not None: - self.client_bandwidth_limit_up = client_bandwidth_limit_up - if video_traffic_only is not None: - self.video_traffic_only = video_traffic_only - if radio_based_configs is not None: - self.radio_based_configs = radio_based_configs - if bonjour_gateway_profile_id is not None: - self.bonjour_gateway_profile_id = bonjour_gateway_profile_id - if enable80211w is not None: - self.enable80211w = enable80211w - if wep_config is not None: - self.wep_config = wep_config - if forward_mode is not None: - self.forward_mode = forward_mode - ProfileDetails.__init__(self, *args, **kwargs) - - @property - def model_type(self): - """Gets the model_type of this SsidConfiguration. # noqa: E501 - - - :return: The model_type of this SsidConfiguration. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this SsidConfiguration. - - - :param model_type: The model_type of this SsidConfiguration. # noqa: E501 - :type: str - """ - allowed_values = ["SsidConfiguration"] # noqa: E501 - if model_type not in allowed_values: - raise ValueError( - "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 - .format(model_type, allowed_values) - ) - - self._model_type = model_type - - @property - def ssid(self): - """Gets the ssid of this SsidConfiguration. # noqa: E501 - - - :return: The ssid of this SsidConfiguration. # noqa: E501 - :rtype: str - """ - return self._ssid - - @ssid.setter - def ssid(self, ssid): - """Sets the ssid of this SsidConfiguration. - - - :param ssid: The ssid of this SsidConfiguration. # noqa: E501 - :type: str - """ - - self._ssid = ssid - - @property - def applied_radios(self): - """Gets the applied_radios of this SsidConfiguration. # noqa: E501 - - - :return: The applied_radios of this SsidConfiguration. # noqa: E501 - :rtype: list[RadioType] - """ - return self._applied_radios - - @applied_radios.setter - def applied_radios(self, applied_radios): - """Sets the applied_radios of this SsidConfiguration. - - - :param applied_radios: The applied_radios of this SsidConfiguration. # noqa: E501 - :type: list[RadioType] - """ - - self._applied_radios = applied_radios - - @property - def ssid_admin_state(self): - """Gets the ssid_admin_state of this SsidConfiguration. # noqa: E501 - - - :return: The ssid_admin_state of this SsidConfiguration. # noqa: E501 - :rtype: StateSetting - """ - return self._ssid_admin_state - - @ssid_admin_state.setter - def ssid_admin_state(self, ssid_admin_state): - """Sets the ssid_admin_state of this SsidConfiguration. - - - :param ssid_admin_state: The ssid_admin_state of this SsidConfiguration. # noqa: E501 - :type: StateSetting - """ - - self._ssid_admin_state = ssid_admin_state - - @property - def secure_mode(self): - """Gets the secure_mode of this SsidConfiguration. # noqa: E501 - - - :return: The secure_mode of this SsidConfiguration. # noqa: E501 - :rtype: SsidSecureMode - """ - return self._secure_mode - - @secure_mode.setter - def secure_mode(self, secure_mode): - """Sets the secure_mode of this SsidConfiguration. - - - :param secure_mode: The secure_mode of this SsidConfiguration. # noqa: E501 - :type: SsidSecureMode - """ - - self._secure_mode = secure_mode - - @property - def vlan_id(self): - """Gets the vlan_id of this SsidConfiguration. # noqa: E501 - - - :return: The vlan_id of this SsidConfiguration. # noqa: E501 - :rtype: int - """ - return self._vlan_id - - @vlan_id.setter - def vlan_id(self, vlan_id): - """Sets the vlan_id of this SsidConfiguration. - - - :param vlan_id: The vlan_id of this SsidConfiguration. # noqa: E501 - :type: int - """ - - self._vlan_id = vlan_id - - @property - def dynamic_vlan(self): - """Gets the dynamic_vlan of this SsidConfiguration. # noqa: E501 - - - :return: The dynamic_vlan of this SsidConfiguration. # noqa: E501 - :rtype: DynamicVlanMode - """ - return self._dynamic_vlan - - @dynamic_vlan.setter - def dynamic_vlan(self, dynamic_vlan): - """Sets the dynamic_vlan of this SsidConfiguration. - - - :param dynamic_vlan: The dynamic_vlan of this SsidConfiguration. # noqa: E501 - :type: DynamicVlanMode - """ - - self._dynamic_vlan = dynamic_vlan - - @property - def key_str(self): - """Gets the key_str of this SsidConfiguration. # noqa: E501 - - - :return: The key_str of this SsidConfiguration. # noqa: E501 - :rtype: str - """ - return self._key_str - - @key_str.setter - def key_str(self, key_str): - """Sets the key_str of this SsidConfiguration. - - - :param key_str: The key_str of this SsidConfiguration. # noqa: E501 - :type: str - """ - - self._key_str = key_str - - @property - def broadcast_ssid(self): - """Gets the broadcast_ssid of this SsidConfiguration. # noqa: E501 - - - :return: The broadcast_ssid of this SsidConfiguration. # noqa: E501 - :rtype: StateSetting - """ - return self._broadcast_ssid - - @broadcast_ssid.setter - def broadcast_ssid(self, broadcast_ssid): - """Sets the broadcast_ssid of this SsidConfiguration. - - - :param broadcast_ssid: The broadcast_ssid of this SsidConfiguration. # noqa: E501 - :type: StateSetting - """ - - self._broadcast_ssid = broadcast_ssid - - @property - def key_refresh(self): - """Gets the key_refresh of this SsidConfiguration. # noqa: E501 - - - :return: The key_refresh of this SsidConfiguration. # noqa: E501 - :rtype: int - """ - return self._key_refresh - - @key_refresh.setter - def key_refresh(self, key_refresh): - """Sets the key_refresh of this SsidConfiguration. - - - :param key_refresh: The key_refresh of this SsidConfiguration. # noqa: E501 - :type: int - """ - - self._key_refresh = key_refresh - - @property - def no_local_subnets(self): - """Gets the no_local_subnets of this SsidConfiguration. # noqa: E501 - - - :return: The no_local_subnets of this SsidConfiguration. # noqa: E501 - :rtype: bool - """ - return self._no_local_subnets - - @no_local_subnets.setter - def no_local_subnets(self, no_local_subnets): - """Sets the no_local_subnets of this SsidConfiguration. - - - :param no_local_subnets: The no_local_subnets of this SsidConfiguration. # noqa: E501 - :type: bool - """ - - self._no_local_subnets = no_local_subnets - - @property - def radius_service_id(self): - """Gets the radius_service_id of this SsidConfiguration. # noqa: E501 - - - :return: The radius_service_id of this SsidConfiguration. # noqa: E501 - :rtype: int - """ - return self._radius_service_id - - @radius_service_id.setter - def radius_service_id(self, radius_service_id): - """Sets the radius_service_id of this SsidConfiguration. - - - :param radius_service_id: The radius_service_id of this SsidConfiguration. # noqa: E501 - :type: int - """ - - self._radius_service_id = radius_service_id - - @property - def radius_acounting_service_interval(self): - """Gets the radius_acounting_service_interval of this SsidConfiguration. # noqa: E501 - - If this is set (i.e. non-null), RadiusAccountingService is configured, and SsidSecureMode is configured as Enterprise/Radius, ap will send interim accounting updates every N seconds # noqa: E501 - - :return: The radius_acounting_service_interval of this SsidConfiguration. # noqa: E501 - :rtype: int - """ - return self._radius_acounting_service_interval - - @radius_acounting_service_interval.setter - def radius_acounting_service_interval(self, radius_acounting_service_interval): - """Sets the radius_acounting_service_interval of this SsidConfiguration. - - If this is set (i.e. non-null), RadiusAccountingService is configured, and SsidSecureMode is configured as Enterprise/Radius, ap will send interim accounting updates every N seconds # noqa: E501 - - :param radius_acounting_service_interval: The radius_acounting_service_interval of this SsidConfiguration. # noqa: E501 - :type: int - """ - - self._radius_acounting_service_interval = radius_acounting_service_interval - - @property - def radius_nas_configuration(self): - """Gets the radius_nas_configuration of this SsidConfiguration. # noqa: E501 - - - :return: The radius_nas_configuration of this SsidConfiguration. # noqa: E501 - :rtype: RadiusNasConfiguration - """ - return self._radius_nas_configuration - - @radius_nas_configuration.setter - def radius_nas_configuration(self, radius_nas_configuration): - """Sets the radius_nas_configuration of this SsidConfiguration. - - - :param radius_nas_configuration: The radius_nas_configuration of this SsidConfiguration. # noqa: E501 - :type: RadiusNasConfiguration - """ - - self._radius_nas_configuration = radius_nas_configuration - - @property - def captive_portal_id(self): - """Gets the captive_portal_id of this SsidConfiguration. # noqa: E501 - - id of a CaptivePortalConfiguration profile, must be also added to the children of this profile # noqa: E501 - - :return: The captive_portal_id of this SsidConfiguration. # noqa: E501 - :rtype: int - """ - return self._captive_portal_id - - @captive_portal_id.setter - def captive_portal_id(self, captive_portal_id): - """Sets the captive_portal_id of this SsidConfiguration. - - id of a CaptivePortalConfiguration profile, must be also added to the children of this profile # noqa: E501 - - :param captive_portal_id: The captive_portal_id of this SsidConfiguration. # noqa: E501 - :type: int - """ - - self._captive_portal_id = captive_portal_id - - @property - def bandwidth_limit_down(self): - """Gets the bandwidth_limit_down of this SsidConfiguration. # noqa: E501 - - - :return: The bandwidth_limit_down of this SsidConfiguration. # noqa: E501 - :rtype: int - """ - return self._bandwidth_limit_down - - @bandwidth_limit_down.setter - def bandwidth_limit_down(self, bandwidth_limit_down): - """Sets the bandwidth_limit_down of this SsidConfiguration. - - - :param bandwidth_limit_down: The bandwidth_limit_down of this SsidConfiguration. # noqa: E501 - :type: int - """ - - self._bandwidth_limit_down = bandwidth_limit_down - - @property - def bandwidth_limit_up(self): - """Gets the bandwidth_limit_up of this SsidConfiguration. # noqa: E501 - - - :return: The bandwidth_limit_up of this SsidConfiguration. # noqa: E501 - :rtype: int - """ - return self._bandwidth_limit_up - - @bandwidth_limit_up.setter - def bandwidth_limit_up(self, bandwidth_limit_up): - """Sets the bandwidth_limit_up of this SsidConfiguration. - - - :param bandwidth_limit_up: The bandwidth_limit_up of this SsidConfiguration. # noqa: E501 - :type: int - """ - - self._bandwidth_limit_up = bandwidth_limit_up - - @property - def client_bandwidth_limit_down(self): - """Gets the client_bandwidth_limit_down of this SsidConfiguration. # noqa: E501 - - - :return: The client_bandwidth_limit_down of this SsidConfiguration. # noqa: E501 - :rtype: int - """ - return self._client_bandwidth_limit_down - - @client_bandwidth_limit_down.setter - def client_bandwidth_limit_down(self, client_bandwidth_limit_down): - """Sets the client_bandwidth_limit_down of this SsidConfiguration. - - - :param client_bandwidth_limit_down: The client_bandwidth_limit_down of this SsidConfiguration. # noqa: E501 - :type: int - """ - - self._client_bandwidth_limit_down = client_bandwidth_limit_down - - @property - def client_bandwidth_limit_up(self): - """Gets the client_bandwidth_limit_up of this SsidConfiguration. # noqa: E501 - - - :return: The client_bandwidth_limit_up of this SsidConfiguration. # noqa: E501 - :rtype: int - """ - return self._client_bandwidth_limit_up - - @client_bandwidth_limit_up.setter - def client_bandwidth_limit_up(self, client_bandwidth_limit_up): - """Sets the client_bandwidth_limit_up of this SsidConfiguration. - - - :param client_bandwidth_limit_up: The client_bandwidth_limit_up of this SsidConfiguration. # noqa: E501 - :type: int - """ - - self._client_bandwidth_limit_up = client_bandwidth_limit_up - - @property - def video_traffic_only(self): - """Gets the video_traffic_only of this SsidConfiguration. # noqa: E501 - - - :return: The video_traffic_only of this SsidConfiguration. # noqa: E501 - :rtype: bool - """ - return self._video_traffic_only - - @video_traffic_only.setter - def video_traffic_only(self, video_traffic_only): - """Sets the video_traffic_only of this SsidConfiguration. - - - :param video_traffic_only: The video_traffic_only of this SsidConfiguration. # noqa: E501 - :type: bool - """ - - self._video_traffic_only = video_traffic_only - - @property - def radio_based_configs(self): - """Gets the radio_based_configs of this SsidConfiguration. # noqa: E501 - - - :return: The radio_based_configs of this SsidConfiguration. # noqa: E501 - :rtype: RadioBasedSsidConfigurationMap - """ - return self._radio_based_configs - - @radio_based_configs.setter - def radio_based_configs(self, radio_based_configs): - """Sets the radio_based_configs of this SsidConfiguration. - - - :param radio_based_configs: The radio_based_configs of this SsidConfiguration. # noqa: E501 - :type: RadioBasedSsidConfigurationMap - """ - - self._radio_based_configs = radio_based_configs - - @property - def bonjour_gateway_profile_id(self): - """Gets the bonjour_gateway_profile_id of this SsidConfiguration. # noqa: E501 - - id of a BonjourGateway profile, must be also added to the children of this profile # noqa: E501 - - :return: The bonjour_gateway_profile_id of this SsidConfiguration. # noqa: E501 - :rtype: int - """ - return self._bonjour_gateway_profile_id - - @bonjour_gateway_profile_id.setter - def bonjour_gateway_profile_id(self, bonjour_gateway_profile_id): - """Sets the bonjour_gateway_profile_id of this SsidConfiguration. - - id of a BonjourGateway profile, must be also added to the children of this profile # noqa: E501 - - :param bonjour_gateway_profile_id: The bonjour_gateway_profile_id of this SsidConfiguration. # noqa: E501 - :type: int - """ - - self._bonjour_gateway_profile_id = bonjour_gateway_profile_id - - @property - def enable80211w(self): - """Gets the enable80211w of this SsidConfiguration. # noqa: E501 - - - :return: The enable80211w of this SsidConfiguration. # noqa: E501 - :rtype: bool - """ - return self._enable80211w - - @enable80211w.setter - def enable80211w(self, enable80211w): - """Sets the enable80211w of this SsidConfiguration. - - - :param enable80211w: The enable80211w of this SsidConfiguration. # noqa: E501 - :type: bool - """ - - self._enable80211w = enable80211w - - @property - def wep_config(self): - """Gets the wep_config of this SsidConfiguration. # noqa: E501 - - - :return: The wep_config of this SsidConfiguration. # noqa: E501 - :rtype: WepConfiguration - """ - return self._wep_config - - @wep_config.setter - def wep_config(self, wep_config): - """Sets the wep_config of this SsidConfiguration. - - - :param wep_config: The wep_config of this SsidConfiguration. # noqa: E501 - :type: WepConfiguration - """ - - self._wep_config = wep_config - - @property - def forward_mode(self): - """Gets the forward_mode of this SsidConfiguration. # noqa: E501 - - - :return: The forward_mode of this SsidConfiguration. # noqa: E501 - :rtype: NetworkForwardMode - """ - return self._forward_mode - - @forward_mode.setter - def forward_mode(self, forward_mode): - """Sets the forward_mode of this SsidConfiguration. - - - :param forward_mode: The forward_mode of this SsidConfiguration. # noqa: E501 - :type: NetworkForwardMode - """ - - self._forward_mode = forward_mode - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(SsidConfiguration, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, SsidConfiguration): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/ssid_secure_mode.py b/libs/cloudapi/cloudsdk/swagger_client/models/ssid_secure_mode.py deleted file mode 100644 index 6801bb8bc..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/ssid_secure_mode.py +++ /dev/null @@ -1,103 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class SsidSecureMode(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - OPEN = "open" - WPAPSK = "wpaPSK" - WPA2PSK = "wpa2PSK" - WPARADIUS = "wpaRadius" - WPA2RADIUS = "wpa2Radius" - WPA2ONLYPSK = "wpa2OnlyPSK" - WPA2ONLYRADIUS = "wpa2OnlyRadius" - WEP = "wep" - WPAEAP = "wpaEAP" - WPA2EAP = "wpa2EAP" - WPA2ONLYEAP = "wpa2OnlyEAP" - WPA3ONLYSAE = "wpa3OnlySAE" - WPA3MIXEDSAE = "wpa3MixedSAE" - WPA3ONLYEAP = "wpa3OnlyEAP" - WPA3MIXEDEAP = "wpa3MixedEAP" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """SsidSecureMode - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(SsidSecureMode, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, SsidSecureMode): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/ssid_statistics.py b/libs/cloudapi/cloudsdk/swagger_client/models/ssid_statistics.py deleted file mode 100644 index d395241eb..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/ssid_statistics.py +++ /dev/null @@ -1,1450 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class SsidStatistics(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'ssid': 'str', - 'bssid': 'MacAddress', - 'num_client': 'int', - 'rx_last_rssi': 'int', - 'num_rx_no_fcs_err': 'int', - 'num_rx_data': 'int', - 'num_rx_management': 'int', - 'num_rx_control': 'int', - 'rx_bytes': 'int', - 'rx_data_bytes': 'int', - 'num_rx_rts': 'int', - 'num_rx_cts': 'int', - 'num_rx_ack': 'int', - 'num_rx_probe_req': 'int', - 'num_rx_retry': 'int', - 'num_rx_dup': 'int', - 'num_rx_null_data': 'int', - 'num_rx_pspoll': 'int', - 'num_rx_stbc': 'int', - 'num_rx_ldpc': 'int', - 'num_rcv_frame_for_tx': 'int', - 'num_tx_queued': 'int', - 'num_rcv_bc_for_tx': 'int', - 'num_tx_dropped': 'int', - 'num_tx_retry_dropped': 'int', - 'num_tx_bc_dropped': 'int', - 'num_tx_succ': 'int', - 'num_tx_bytes_succ': 'int', - 'num_tx_ps_unicast': 'int', - 'num_tx_dtim_mc': 'int', - 'num_tx_succ_no_retry': 'int', - 'num_tx_succ_retries': 'int', - 'num_tx_multi_retries': 'int', - 'num_tx_management': 'int', - 'num_tx_control': 'int', - 'num_tx_action': 'int', - 'num_tx_prop_resp': 'int', - 'num_tx_data': 'int', - 'num_tx_data_retries': 'int', - 'num_tx_rts_succ': 'int', - 'num_tx_rts_fail': 'int', - 'num_tx_no_ack': 'int', - 'num_tx_eapol': 'int', - 'num_tx_ldpc': 'int', - 'num_tx_stbc': 'int', - 'num_tx_aggr_succ': 'int', - 'num_tx_aggr_one_mpdu': 'int', - 'wmm_queue_stats': 'WmmQueueStatsPerQueueTypeMap', - 'mcs_stats': 'list[McsStats]' - } - - attribute_map = { - 'ssid': 'ssid', - 'bssid': 'bssid', - 'num_client': 'numClient', - 'rx_last_rssi': 'rxLastRssi', - 'num_rx_no_fcs_err': 'numRxNoFcsErr', - 'num_rx_data': 'numRxData', - 'num_rx_management': 'numRxManagement', - 'num_rx_control': 'numRxControl', - 'rx_bytes': 'rxBytes', - 'rx_data_bytes': 'rxDataBytes', - 'num_rx_rts': 'numRxRts', - 'num_rx_cts': 'numRxCts', - 'num_rx_ack': 'numRxAck', - 'num_rx_probe_req': 'numRxProbeReq', - 'num_rx_retry': 'numRxRetry', - 'num_rx_dup': 'numRxDup', - 'num_rx_null_data': 'numRxNullData', - 'num_rx_pspoll': 'numRxPspoll', - 'num_rx_stbc': 'numRxStbc', - 'num_rx_ldpc': 'numRxLdpc', - 'num_rcv_frame_for_tx': 'numRcvFrameForTx', - 'num_tx_queued': 'numTxQueued', - 'num_rcv_bc_for_tx': 'numRcvBcForTx', - 'num_tx_dropped': 'numTxDropped', - 'num_tx_retry_dropped': 'numTxRetryDropped', - 'num_tx_bc_dropped': 'numTxBcDropped', - 'num_tx_succ': 'numTxSucc', - 'num_tx_bytes_succ': 'numTxBytesSucc', - 'num_tx_ps_unicast': 'numTxPsUnicast', - 'num_tx_dtim_mc': 'numTxDtimMc', - 'num_tx_succ_no_retry': 'numTxSuccNoRetry', - 'num_tx_succ_retries': 'numTxSuccRetries', - 'num_tx_multi_retries': 'numTxMultiRetries', - 'num_tx_management': 'numTxManagement', - 'num_tx_control': 'numTxControl', - 'num_tx_action': 'numTxAction', - 'num_tx_prop_resp': 'numTxPropResp', - 'num_tx_data': 'numTxData', - 'num_tx_data_retries': 'numTxDataRetries', - 'num_tx_rts_succ': 'numTxRtsSucc', - 'num_tx_rts_fail': 'numTxRtsFail', - 'num_tx_no_ack': 'numTxNoAck', - 'num_tx_eapol': 'numTxEapol', - 'num_tx_ldpc': 'numTxLdpc', - 'num_tx_stbc': 'numTxStbc', - 'num_tx_aggr_succ': 'numTxAggrSucc', - 'num_tx_aggr_one_mpdu': 'numTxAggrOneMpdu', - 'wmm_queue_stats': 'wmmQueueStats', - 'mcs_stats': 'mcsStats' - } - - def __init__(self, ssid=None, bssid=None, num_client=None, rx_last_rssi=None, num_rx_no_fcs_err=None, num_rx_data=None, num_rx_management=None, num_rx_control=None, rx_bytes=None, rx_data_bytes=None, num_rx_rts=None, num_rx_cts=None, num_rx_ack=None, num_rx_probe_req=None, num_rx_retry=None, num_rx_dup=None, num_rx_null_data=None, num_rx_pspoll=None, num_rx_stbc=None, num_rx_ldpc=None, num_rcv_frame_for_tx=None, num_tx_queued=None, num_rcv_bc_for_tx=None, num_tx_dropped=None, num_tx_retry_dropped=None, num_tx_bc_dropped=None, num_tx_succ=None, num_tx_bytes_succ=None, num_tx_ps_unicast=None, num_tx_dtim_mc=None, num_tx_succ_no_retry=None, num_tx_succ_retries=None, num_tx_multi_retries=None, num_tx_management=None, num_tx_control=None, num_tx_action=None, num_tx_prop_resp=None, num_tx_data=None, num_tx_data_retries=None, num_tx_rts_succ=None, num_tx_rts_fail=None, num_tx_no_ack=None, num_tx_eapol=None, num_tx_ldpc=None, num_tx_stbc=None, num_tx_aggr_succ=None, num_tx_aggr_one_mpdu=None, wmm_queue_stats=None, mcs_stats=None): # noqa: E501 - """SsidStatistics - a model defined in Swagger""" # noqa: E501 - self._ssid = None - self._bssid = None - self._num_client = None - self._rx_last_rssi = None - self._num_rx_no_fcs_err = None - self._num_rx_data = None - self._num_rx_management = None - self._num_rx_control = None - self._rx_bytes = None - self._rx_data_bytes = None - self._num_rx_rts = None - self._num_rx_cts = None - self._num_rx_ack = None - self._num_rx_probe_req = None - self._num_rx_retry = None - self._num_rx_dup = None - self._num_rx_null_data = None - self._num_rx_pspoll = None - self._num_rx_stbc = None - self._num_rx_ldpc = None - self._num_rcv_frame_for_tx = None - self._num_tx_queued = None - self._num_rcv_bc_for_tx = None - self._num_tx_dropped = None - self._num_tx_retry_dropped = None - self._num_tx_bc_dropped = None - self._num_tx_succ = None - self._num_tx_bytes_succ = None - self._num_tx_ps_unicast = None - self._num_tx_dtim_mc = None - self._num_tx_succ_no_retry = None - self._num_tx_succ_retries = None - self._num_tx_multi_retries = None - self._num_tx_management = None - self._num_tx_control = None - self._num_tx_action = None - self._num_tx_prop_resp = None - self._num_tx_data = None - self._num_tx_data_retries = None - self._num_tx_rts_succ = None - self._num_tx_rts_fail = None - self._num_tx_no_ack = None - self._num_tx_eapol = None - self._num_tx_ldpc = None - self._num_tx_stbc = None - self._num_tx_aggr_succ = None - self._num_tx_aggr_one_mpdu = None - self._wmm_queue_stats = None - self._mcs_stats = None - self.discriminator = None - if ssid is not None: - self.ssid = ssid - if bssid is not None: - self.bssid = bssid - if num_client is not None: - self.num_client = num_client - if rx_last_rssi is not None: - self.rx_last_rssi = rx_last_rssi - if num_rx_no_fcs_err is not None: - self.num_rx_no_fcs_err = num_rx_no_fcs_err - if num_rx_data is not None: - self.num_rx_data = num_rx_data - if num_rx_management is not None: - self.num_rx_management = num_rx_management - if num_rx_control is not None: - self.num_rx_control = num_rx_control - if rx_bytes is not None: - self.rx_bytes = rx_bytes - if rx_data_bytes is not None: - self.rx_data_bytes = rx_data_bytes - if num_rx_rts is not None: - self.num_rx_rts = num_rx_rts - if num_rx_cts is not None: - self.num_rx_cts = num_rx_cts - if num_rx_ack is not None: - self.num_rx_ack = num_rx_ack - if num_rx_probe_req is not None: - self.num_rx_probe_req = num_rx_probe_req - if num_rx_retry is not None: - self.num_rx_retry = num_rx_retry - if num_rx_dup is not None: - self.num_rx_dup = num_rx_dup - if num_rx_null_data is not None: - self.num_rx_null_data = num_rx_null_data - if num_rx_pspoll is not None: - self.num_rx_pspoll = num_rx_pspoll - if num_rx_stbc is not None: - self.num_rx_stbc = num_rx_stbc - if num_rx_ldpc is not None: - self.num_rx_ldpc = num_rx_ldpc - if num_rcv_frame_for_tx is not None: - self.num_rcv_frame_for_tx = num_rcv_frame_for_tx - if num_tx_queued is not None: - self.num_tx_queued = num_tx_queued - if num_rcv_bc_for_tx is not None: - self.num_rcv_bc_for_tx = num_rcv_bc_for_tx - if num_tx_dropped is not None: - self.num_tx_dropped = num_tx_dropped - if num_tx_retry_dropped is not None: - self.num_tx_retry_dropped = num_tx_retry_dropped - if num_tx_bc_dropped is not None: - self.num_tx_bc_dropped = num_tx_bc_dropped - if num_tx_succ is not None: - self.num_tx_succ = num_tx_succ - if num_tx_bytes_succ is not None: - self.num_tx_bytes_succ = num_tx_bytes_succ - if num_tx_ps_unicast is not None: - self.num_tx_ps_unicast = num_tx_ps_unicast - if num_tx_dtim_mc is not None: - self.num_tx_dtim_mc = num_tx_dtim_mc - if num_tx_succ_no_retry is not None: - self.num_tx_succ_no_retry = num_tx_succ_no_retry - if num_tx_succ_retries is not None: - self.num_tx_succ_retries = num_tx_succ_retries - if num_tx_multi_retries is not None: - self.num_tx_multi_retries = num_tx_multi_retries - if num_tx_management is not None: - self.num_tx_management = num_tx_management - if num_tx_control is not None: - self.num_tx_control = num_tx_control - if num_tx_action is not None: - self.num_tx_action = num_tx_action - if num_tx_prop_resp is not None: - self.num_tx_prop_resp = num_tx_prop_resp - if num_tx_data is not None: - self.num_tx_data = num_tx_data - if num_tx_data_retries is not None: - self.num_tx_data_retries = num_tx_data_retries - if num_tx_rts_succ is not None: - self.num_tx_rts_succ = num_tx_rts_succ - if num_tx_rts_fail is not None: - self.num_tx_rts_fail = num_tx_rts_fail - if num_tx_no_ack is not None: - self.num_tx_no_ack = num_tx_no_ack - if num_tx_eapol is not None: - self.num_tx_eapol = num_tx_eapol - if num_tx_ldpc is not None: - self.num_tx_ldpc = num_tx_ldpc - if num_tx_stbc is not None: - self.num_tx_stbc = num_tx_stbc - if num_tx_aggr_succ is not None: - self.num_tx_aggr_succ = num_tx_aggr_succ - if num_tx_aggr_one_mpdu is not None: - self.num_tx_aggr_one_mpdu = num_tx_aggr_one_mpdu - if wmm_queue_stats is not None: - self.wmm_queue_stats = wmm_queue_stats - if mcs_stats is not None: - self.mcs_stats = mcs_stats - - @property - def ssid(self): - """Gets the ssid of this SsidStatistics. # noqa: E501 - - SSID # noqa: E501 - - :return: The ssid of this SsidStatistics. # noqa: E501 - :rtype: str - """ - return self._ssid - - @ssid.setter - def ssid(self, ssid): - """Sets the ssid of this SsidStatistics. - - SSID # noqa: E501 - - :param ssid: The ssid of this SsidStatistics. # noqa: E501 - :type: str - """ - - self._ssid = ssid - - @property - def bssid(self): - """Gets the bssid of this SsidStatistics. # noqa: E501 - - - :return: The bssid of this SsidStatistics. # noqa: E501 - :rtype: MacAddress - """ - return self._bssid - - @bssid.setter - def bssid(self, bssid): - """Sets the bssid of this SsidStatistics. - - - :param bssid: The bssid of this SsidStatistics. # noqa: E501 - :type: MacAddress - """ - - self._bssid = bssid - - @property - def num_client(self): - """Gets the num_client of this SsidStatistics. # noqa: E501 - - Number client associated to this BSS # noqa: E501 - - :return: The num_client of this SsidStatistics. # noqa: E501 - :rtype: int - """ - return self._num_client - - @num_client.setter - def num_client(self, num_client): - """Sets the num_client of this SsidStatistics. - - Number client associated to this BSS # noqa: E501 - - :param num_client: The num_client of this SsidStatistics. # noqa: E501 - :type: int - """ - - self._num_client = num_client - - @property - def rx_last_rssi(self): - """Gets the rx_last_rssi of this SsidStatistics. # noqa: E501 - - The RSSI of last frame received. # noqa: E501 - - :return: The rx_last_rssi of this SsidStatistics. # noqa: E501 - :rtype: int - """ - return self._rx_last_rssi - - @rx_last_rssi.setter - def rx_last_rssi(self, rx_last_rssi): - """Sets the rx_last_rssi of this SsidStatistics. - - The RSSI of last frame received. # noqa: E501 - - :param rx_last_rssi: The rx_last_rssi of this SsidStatistics. # noqa: E501 - :type: int - """ - - self._rx_last_rssi = rx_last_rssi - - @property - def num_rx_no_fcs_err(self): - """Gets the num_rx_no_fcs_err of this SsidStatistics. # noqa: E501 - - The number of received frames without FCS errors. # noqa: E501 - - :return: The num_rx_no_fcs_err of this SsidStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_no_fcs_err - - @num_rx_no_fcs_err.setter - def num_rx_no_fcs_err(self, num_rx_no_fcs_err): - """Sets the num_rx_no_fcs_err of this SsidStatistics. - - The number of received frames without FCS errors. # noqa: E501 - - :param num_rx_no_fcs_err: The num_rx_no_fcs_err of this SsidStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_no_fcs_err = num_rx_no_fcs_err - - @property - def num_rx_data(self): - """Gets the num_rx_data of this SsidStatistics. # noqa: E501 - - The number of received data frames. # noqa: E501 - - :return: The num_rx_data of this SsidStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_data - - @num_rx_data.setter - def num_rx_data(self, num_rx_data): - """Sets the num_rx_data of this SsidStatistics. - - The number of received data frames. # noqa: E501 - - :param num_rx_data: The num_rx_data of this SsidStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_data = num_rx_data - - @property - def num_rx_management(self): - """Gets the num_rx_management of this SsidStatistics. # noqa: E501 - - The number of received management frames. # noqa: E501 - - :return: The num_rx_management of this SsidStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_management - - @num_rx_management.setter - def num_rx_management(self, num_rx_management): - """Sets the num_rx_management of this SsidStatistics. - - The number of received management frames. # noqa: E501 - - :param num_rx_management: The num_rx_management of this SsidStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_management = num_rx_management - - @property - def num_rx_control(self): - """Gets the num_rx_control of this SsidStatistics. # noqa: E501 - - The number of received control frames. # noqa: E501 - - :return: The num_rx_control of this SsidStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_control - - @num_rx_control.setter - def num_rx_control(self, num_rx_control): - """Sets the num_rx_control of this SsidStatistics. - - The number of received control frames. # noqa: E501 - - :param num_rx_control: The num_rx_control of this SsidStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_control = num_rx_control - - @property - def rx_bytes(self): - """Gets the rx_bytes of this SsidStatistics. # noqa: E501 - - The number of received bytes. # noqa: E501 - - :return: The rx_bytes of this SsidStatistics. # noqa: E501 - :rtype: int - """ - return self._rx_bytes - - @rx_bytes.setter - def rx_bytes(self, rx_bytes): - """Sets the rx_bytes of this SsidStatistics. - - The number of received bytes. # noqa: E501 - - :param rx_bytes: The rx_bytes of this SsidStatistics. # noqa: E501 - :type: int - """ - - self._rx_bytes = rx_bytes - - @property - def rx_data_bytes(self): - """Gets the rx_data_bytes of this SsidStatistics. # noqa: E501 - - The number of received data bytes. # noqa: E501 - - :return: The rx_data_bytes of this SsidStatistics. # noqa: E501 - :rtype: int - """ - return self._rx_data_bytes - - @rx_data_bytes.setter - def rx_data_bytes(self, rx_data_bytes): - """Sets the rx_data_bytes of this SsidStatistics. - - The number of received data bytes. # noqa: E501 - - :param rx_data_bytes: The rx_data_bytes of this SsidStatistics. # noqa: E501 - :type: int - """ - - self._rx_data_bytes = rx_data_bytes - - @property - def num_rx_rts(self): - """Gets the num_rx_rts of this SsidStatistics. # noqa: E501 - - The number of received RTS frames. # noqa: E501 - - :return: The num_rx_rts of this SsidStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_rts - - @num_rx_rts.setter - def num_rx_rts(self, num_rx_rts): - """Sets the num_rx_rts of this SsidStatistics. - - The number of received RTS frames. # noqa: E501 - - :param num_rx_rts: The num_rx_rts of this SsidStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_rts = num_rx_rts - - @property - def num_rx_cts(self): - """Gets the num_rx_cts of this SsidStatistics. # noqa: E501 - - The number of received CTS frames. # noqa: E501 - - :return: The num_rx_cts of this SsidStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_cts - - @num_rx_cts.setter - def num_rx_cts(self, num_rx_cts): - """Sets the num_rx_cts of this SsidStatistics. - - The number of received CTS frames. # noqa: E501 - - :param num_rx_cts: The num_rx_cts of this SsidStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_cts = num_rx_cts - - @property - def num_rx_ack(self): - """Gets the num_rx_ack of this SsidStatistics. # noqa: E501 - - The number of all received ACK frames (Acks + BlockAcks). # noqa: E501 - - :return: The num_rx_ack of this SsidStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ack - - @num_rx_ack.setter - def num_rx_ack(self, num_rx_ack): - """Sets the num_rx_ack of this SsidStatistics. - - The number of all received ACK frames (Acks + BlockAcks). # noqa: E501 - - :param num_rx_ack: The num_rx_ack of this SsidStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ack = num_rx_ack - - @property - def num_rx_probe_req(self): - """Gets the num_rx_probe_req of this SsidStatistics. # noqa: E501 - - The number of received probe request frames. # noqa: E501 - - :return: The num_rx_probe_req of this SsidStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_probe_req - - @num_rx_probe_req.setter - def num_rx_probe_req(self, num_rx_probe_req): - """Sets the num_rx_probe_req of this SsidStatistics. - - The number of received probe request frames. # noqa: E501 - - :param num_rx_probe_req: The num_rx_probe_req of this SsidStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_probe_req = num_rx_probe_req - - @property - def num_rx_retry(self): - """Gets the num_rx_retry of this SsidStatistics. # noqa: E501 - - The number of received retry frames. # noqa: E501 - - :return: The num_rx_retry of this SsidStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_retry - - @num_rx_retry.setter - def num_rx_retry(self, num_rx_retry): - """Sets the num_rx_retry of this SsidStatistics. - - The number of received retry frames. # noqa: E501 - - :param num_rx_retry: The num_rx_retry of this SsidStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_retry = num_rx_retry - - @property - def num_rx_dup(self): - """Gets the num_rx_dup of this SsidStatistics. # noqa: E501 - - The number of received duplicated frames. # noqa: E501 - - :return: The num_rx_dup of this SsidStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_dup - - @num_rx_dup.setter - def num_rx_dup(self, num_rx_dup): - """Sets the num_rx_dup of this SsidStatistics. - - The number of received duplicated frames. # noqa: E501 - - :param num_rx_dup: The num_rx_dup of this SsidStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_dup = num_rx_dup - - @property - def num_rx_null_data(self): - """Gets the num_rx_null_data of this SsidStatistics. # noqa: E501 - - The number of received null data frames. # noqa: E501 - - :return: The num_rx_null_data of this SsidStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_null_data - - @num_rx_null_data.setter - def num_rx_null_data(self, num_rx_null_data): - """Sets the num_rx_null_data of this SsidStatistics. - - The number of received null data frames. # noqa: E501 - - :param num_rx_null_data: The num_rx_null_data of this SsidStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_null_data = num_rx_null_data - - @property - def num_rx_pspoll(self): - """Gets the num_rx_pspoll of this SsidStatistics. # noqa: E501 - - The number of received ps-poll frames. # noqa: E501 - - :return: The num_rx_pspoll of this SsidStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_pspoll - - @num_rx_pspoll.setter - def num_rx_pspoll(self, num_rx_pspoll): - """Sets the num_rx_pspoll of this SsidStatistics. - - The number of received ps-poll frames. # noqa: E501 - - :param num_rx_pspoll: The num_rx_pspoll of this SsidStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_pspoll = num_rx_pspoll - - @property - def num_rx_stbc(self): - """Gets the num_rx_stbc of this SsidStatistics. # noqa: E501 - - The number of received STBC frames. # noqa: E501 - - :return: The num_rx_stbc of this SsidStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_stbc - - @num_rx_stbc.setter - def num_rx_stbc(self, num_rx_stbc): - """Sets the num_rx_stbc of this SsidStatistics. - - The number of received STBC frames. # noqa: E501 - - :param num_rx_stbc: The num_rx_stbc of this SsidStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_stbc = num_rx_stbc - - @property - def num_rx_ldpc(self): - """Gets the num_rx_ldpc of this SsidStatistics. # noqa: E501 - - The number of received LDPC frames. # noqa: E501 - - :return: The num_rx_ldpc of this SsidStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rx_ldpc - - @num_rx_ldpc.setter - def num_rx_ldpc(self, num_rx_ldpc): - """Sets the num_rx_ldpc of this SsidStatistics. - - The number of received LDPC frames. # noqa: E501 - - :param num_rx_ldpc: The num_rx_ldpc of this SsidStatistics. # noqa: E501 - :type: int - """ - - self._num_rx_ldpc = num_rx_ldpc - - @property - def num_rcv_frame_for_tx(self): - """Gets the num_rcv_frame_for_tx of this SsidStatistics. # noqa: E501 - - The number of received ethernet and local generated frames for transmit. # noqa: E501 - - :return: The num_rcv_frame_for_tx of this SsidStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rcv_frame_for_tx - - @num_rcv_frame_for_tx.setter - def num_rcv_frame_for_tx(self, num_rcv_frame_for_tx): - """Sets the num_rcv_frame_for_tx of this SsidStatistics. - - The number of received ethernet and local generated frames for transmit. # noqa: E501 - - :param num_rcv_frame_for_tx: The num_rcv_frame_for_tx of this SsidStatistics. # noqa: E501 - :type: int - """ - - self._num_rcv_frame_for_tx = num_rcv_frame_for_tx - - @property - def num_tx_queued(self): - """Gets the num_tx_queued of this SsidStatistics. # noqa: E501 - - The number of TX frames queued. # noqa: E501 - - :return: The num_tx_queued of this SsidStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_queued - - @num_tx_queued.setter - def num_tx_queued(self, num_tx_queued): - """Sets the num_tx_queued of this SsidStatistics. - - The number of TX frames queued. # noqa: E501 - - :param num_tx_queued: The num_tx_queued of this SsidStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_queued = num_tx_queued - - @property - def num_rcv_bc_for_tx(self): - """Gets the num_rcv_bc_for_tx of this SsidStatistics. # noqa: E501 - - The number of received ethernet and local generated broadcast frames for transmit. # noqa: E501 - - :return: The num_rcv_bc_for_tx of this SsidStatistics. # noqa: E501 - :rtype: int - """ - return self._num_rcv_bc_for_tx - - @num_rcv_bc_for_tx.setter - def num_rcv_bc_for_tx(self, num_rcv_bc_for_tx): - """Sets the num_rcv_bc_for_tx of this SsidStatistics. - - The number of received ethernet and local generated broadcast frames for transmit. # noqa: E501 - - :param num_rcv_bc_for_tx: The num_rcv_bc_for_tx of this SsidStatistics. # noqa: E501 - :type: int - """ - - self._num_rcv_bc_for_tx = num_rcv_bc_for_tx - - @property - def num_tx_dropped(self): - """Gets the num_tx_dropped of this SsidStatistics. # noqa: E501 - - The number of every TX frame dropped. # noqa: E501 - - :return: The num_tx_dropped of this SsidStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_dropped - - @num_tx_dropped.setter - def num_tx_dropped(self, num_tx_dropped): - """Sets the num_tx_dropped of this SsidStatistics. - - The number of every TX frame dropped. # noqa: E501 - - :param num_tx_dropped: The num_tx_dropped of this SsidStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_dropped = num_tx_dropped - - @property - def num_tx_retry_dropped(self): - """Gets the num_tx_retry_dropped of this SsidStatistics. # noqa: E501 - - The number of TX frame dropped due to retries. # noqa: E501 - - :return: The num_tx_retry_dropped of this SsidStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_retry_dropped - - @num_tx_retry_dropped.setter - def num_tx_retry_dropped(self, num_tx_retry_dropped): - """Sets the num_tx_retry_dropped of this SsidStatistics. - - The number of TX frame dropped due to retries. # noqa: E501 - - :param num_tx_retry_dropped: The num_tx_retry_dropped of this SsidStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_retry_dropped = num_tx_retry_dropped - - @property - def num_tx_bc_dropped(self): - """Gets the num_tx_bc_dropped of this SsidStatistics. # noqa: E501 - - The number of broadcast frames dropped. # noqa: E501 - - :return: The num_tx_bc_dropped of this SsidStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_bc_dropped - - @num_tx_bc_dropped.setter - def num_tx_bc_dropped(self, num_tx_bc_dropped): - """Sets the num_tx_bc_dropped of this SsidStatistics. - - The number of broadcast frames dropped. # noqa: E501 - - :param num_tx_bc_dropped: The num_tx_bc_dropped of this SsidStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_bc_dropped = num_tx_bc_dropped - - @property - def num_tx_succ(self): - """Gets the num_tx_succ of this SsidStatistics. # noqa: E501 - - The number of frames successfully transmitted. # noqa: E501 - - :return: The num_tx_succ of this SsidStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_succ - - @num_tx_succ.setter - def num_tx_succ(self, num_tx_succ): - """Sets the num_tx_succ of this SsidStatistics. - - The number of frames successfully transmitted. # noqa: E501 - - :param num_tx_succ: The num_tx_succ of this SsidStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_succ = num_tx_succ - - @property - def num_tx_bytes_succ(self): - """Gets the num_tx_bytes_succ of this SsidStatistics. # noqa: E501 - - The number of bytes successfully transmitted. # noqa: E501 - - :return: The num_tx_bytes_succ of this SsidStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_bytes_succ - - @num_tx_bytes_succ.setter - def num_tx_bytes_succ(self, num_tx_bytes_succ): - """Sets the num_tx_bytes_succ of this SsidStatistics. - - The number of bytes successfully transmitted. # noqa: E501 - - :param num_tx_bytes_succ: The num_tx_bytes_succ of this SsidStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_bytes_succ = num_tx_bytes_succ - - @property - def num_tx_ps_unicast(self): - """Gets the num_tx_ps_unicast of this SsidStatistics. # noqa: E501 - - The number of transmitted PS unicast frame. # noqa: E501 - - :return: The num_tx_ps_unicast of this SsidStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ps_unicast - - @num_tx_ps_unicast.setter - def num_tx_ps_unicast(self, num_tx_ps_unicast): - """Sets the num_tx_ps_unicast of this SsidStatistics. - - The number of transmitted PS unicast frame. # noqa: E501 - - :param num_tx_ps_unicast: The num_tx_ps_unicast of this SsidStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ps_unicast = num_tx_ps_unicast - - @property - def num_tx_dtim_mc(self): - """Gets the num_tx_dtim_mc of this SsidStatistics. # noqa: E501 - - The number of transmitted DTIM multicast frames. # noqa: E501 - - :return: The num_tx_dtim_mc of this SsidStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_dtim_mc - - @num_tx_dtim_mc.setter - def num_tx_dtim_mc(self, num_tx_dtim_mc): - """Sets the num_tx_dtim_mc of this SsidStatistics. - - The number of transmitted DTIM multicast frames. # noqa: E501 - - :param num_tx_dtim_mc: The num_tx_dtim_mc of this SsidStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_dtim_mc = num_tx_dtim_mc - - @property - def num_tx_succ_no_retry(self): - """Gets the num_tx_succ_no_retry of this SsidStatistics. # noqa: E501 - - The number of successfully transmitted frames at firt attemp. # noqa: E501 - - :return: The num_tx_succ_no_retry of this SsidStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_succ_no_retry - - @num_tx_succ_no_retry.setter - def num_tx_succ_no_retry(self, num_tx_succ_no_retry): - """Sets the num_tx_succ_no_retry of this SsidStatistics. - - The number of successfully transmitted frames at firt attemp. # noqa: E501 - - :param num_tx_succ_no_retry: The num_tx_succ_no_retry of this SsidStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_succ_no_retry = num_tx_succ_no_retry - - @property - def num_tx_succ_retries(self): - """Gets the num_tx_succ_retries of this SsidStatistics. # noqa: E501 - - The number of successfully transmitted frames with retries. # noqa: E501 - - :return: The num_tx_succ_retries of this SsidStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_succ_retries - - @num_tx_succ_retries.setter - def num_tx_succ_retries(self, num_tx_succ_retries): - """Sets the num_tx_succ_retries of this SsidStatistics. - - The number of successfully transmitted frames with retries. # noqa: E501 - - :param num_tx_succ_retries: The num_tx_succ_retries of this SsidStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_succ_retries = num_tx_succ_retries - - @property - def num_tx_multi_retries(self): - """Gets the num_tx_multi_retries of this SsidStatistics. # noqa: E501 - - The number of Tx frames with retries. # noqa: E501 - - :return: The num_tx_multi_retries of this SsidStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_multi_retries - - @num_tx_multi_retries.setter - def num_tx_multi_retries(self, num_tx_multi_retries): - """Sets the num_tx_multi_retries of this SsidStatistics. - - The number of Tx frames with retries. # noqa: E501 - - :param num_tx_multi_retries: The num_tx_multi_retries of this SsidStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_multi_retries = num_tx_multi_retries - - @property - def num_tx_management(self): - """Gets the num_tx_management of this SsidStatistics. # noqa: E501 - - The number of TX management frames. # noqa: E501 - - :return: The num_tx_management of this SsidStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_management - - @num_tx_management.setter - def num_tx_management(self, num_tx_management): - """Sets the num_tx_management of this SsidStatistics. - - The number of TX management frames. # noqa: E501 - - :param num_tx_management: The num_tx_management of this SsidStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_management = num_tx_management - - @property - def num_tx_control(self): - """Gets the num_tx_control of this SsidStatistics. # noqa: E501 - - The number of Tx control frames. # noqa: E501 - - :return: The num_tx_control of this SsidStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_control - - @num_tx_control.setter - def num_tx_control(self, num_tx_control): - """Sets the num_tx_control of this SsidStatistics. - - The number of Tx control frames. # noqa: E501 - - :param num_tx_control: The num_tx_control of this SsidStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_control = num_tx_control - - @property - def num_tx_action(self): - """Gets the num_tx_action of this SsidStatistics. # noqa: E501 - - The number of Tx action frames. # noqa: E501 - - :return: The num_tx_action of this SsidStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_action - - @num_tx_action.setter - def num_tx_action(self, num_tx_action): - """Sets the num_tx_action of this SsidStatistics. - - The number of Tx action frames. # noqa: E501 - - :param num_tx_action: The num_tx_action of this SsidStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_action = num_tx_action - - @property - def num_tx_prop_resp(self): - """Gets the num_tx_prop_resp of this SsidStatistics. # noqa: E501 - - The number of TX probe response. # noqa: E501 - - :return: The num_tx_prop_resp of this SsidStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_prop_resp - - @num_tx_prop_resp.setter - def num_tx_prop_resp(self, num_tx_prop_resp): - """Sets the num_tx_prop_resp of this SsidStatistics. - - The number of TX probe response. # noqa: E501 - - :param num_tx_prop_resp: The num_tx_prop_resp of this SsidStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_prop_resp = num_tx_prop_resp - - @property - def num_tx_data(self): - """Gets the num_tx_data of this SsidStatistics. # noqa: E501 - - The number of Tx data frames. # noqa: E501 - - :return: The num_tx_data of this SsidStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_data - - @num_tx_data.setter - def num_tx_data(self, num_tx_data): - """Sets the num_tx_data of this SsidStatistics. - - The number of Tx data frames. # noqa: E501 - - :param num_tx_data: The num_tx_data of this SsidStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_data = num_tx_data - - @property - def num_tx_data_retries(self): - """Gets the num_tx_data_retries of this SsidStatistics. # noqa: E501 - - The number of Tx data frames with retries. # noqa: E501 - - :return: The num_tx_data_retries of this SsidStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_data_retries - - @num_tx_data_retries.setter - def num_tx_data_retries(self, num_tx_data_retries): - """Sets the num_tx_data_retries of this SsidStatistics. - - The number of Tx data frames with retries. # noqa: E501 - - :param num_tx_data_retries: The num_tx_data_retries of this SsidStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_data_retries = num_tx_data_retries - - @property - def num_tx_rts_succ(self): - """Gets the num_tx_rts_succ of this SsidStatistics. # noqa: E501 - - The number of RTS frames sent successfully. # noqa: E501 - - :return: The num_tx_rts_succ of this SsidStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_rts_succ - - @num_tx_rts_succ.setter - def num_tx_rts_succ(self, num_tx_rts_succ): - """Sets the num_tx_rts_succ of this SsidStatistics. - - The number of RTS frames sent successfully. # noqa: E501 - - :param num_tx_rts_succ: The num_tx_rts_succ of this SsidStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_rts_succ = num_tx_rts_succ - - @property - def num_tx_rts_fail(self): - """Gets the num_tx_rts_fail of this SsidStatistics. # noqa: E501 - - The number of RTS frames failed transmission. # noqa: E501 - - :return: The num_tx_rts_fail of this SsidStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_rts_fail - - @num_tx_rts_fail.setter - def num_tx_rts_fail(self, num_tx_rts_fail): - """Sets the num_tx_rts_fail of this SsidStatistics. - - The number of RTS frames failed transmission. # noqa: E501 - - :param num_tx_rts_fail: The num_tx_rts_fail of this SsidStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_rts_fail = num_tx_rts_fail - - @property - def num_tx_no_ack(self): - """Gets the num_tx_no_ack of this SsidStatistics. # noqa: E501 - - The number of TX frames failed because of not Acked. # noqa: E501 - - :return: The num_tx_no_ack of this SsidStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_no_ack - - @num_tx_no_ack.setter - def num_tx_no_ack(self, num_tx_no_ack): - """Sets the num_tx_no_ack of this SsidStatistics. - - The number of TX frames failed because of not Acked. # noqa: E501 - - :param num_tx_no_ack: The num_tx_no_ack of this SsidStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_no_ack = num_tx_no_ack - - @property - def num_tx_eapol(self): - """Gets the num_tx_eapol of this SsidStatistics. # noqa: E501 - - The number of EAPOL frames sent. # noqa: E501 - - :return: The num_tx_eapol of this SsidStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_eapol - - @num_tx_eapol.setter - def num_tx_eapol(self, num_tx_eapol): - """Sets the num_tx_eapol of this SsidStatistics. - - The number of EAPOL frames sent. # noqa: E501 - - :param num_tx_eapol: The num_tx_eapol of this SsidStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_eapol = num_tx_eapol - - @property - def num_tx_ldpc(self): - """Gets the num_tx_ldpc of this SsidStatistics. # noqa: E501 - - The number of total LDPC frames sent. # noqa: E501 - - :return: The num_tx_ldpc of this SsidStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_ldpc - - @num_tx_ldpc.setter - def num_tx_ldpc(self, num_tx_ldpc): - """Sets the num_tx_ldpc of this SsidStatistics. - - The number of total LDPC frames sent. # noqa: E501 - - :param num_tx_ldpc: The num_tx_ldpc of this SsidStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_ldpc = num_tx_ldpc - - @property - def num_tx_stbc(self): - """Gets the num_tx_stbc of this SsidStatistics. # noqa: E501 - - The number of total STBC frames sent. # noqa: E501 - - :return: The num_tx_stbc of this SsidStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_stbc - - @num_tx_stbc.setter - def num_tx_stbc(self, num_tx_stbc): - """Sets the num_tx_stbc of this SsidStatistics. - - The number of total STBC frames sent. # noqa: E501 - - :param num_tx_stbc: The num_tx_stbc of this SsidStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_stbc = num_tx_stbc - - @property - def num_tx_aggr_succ(self): - """Gets the num_tx_aggr_succ of this SsidStatistics. # noqa: E501 - - The number of aggregation frames sent successfully. # noqa: E501 - - :return: The num_tx_aggr_succ of this SsidStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_aggr_succ - - @num_tx_aggr_succ.setter - def num_tx_aggr_succ(self, num_tx_aggr_succ): - """Sets the num_tx_aggr_succ of this SsidStatistics. - - The number of aggregation frames sent successfully. # noqa: E501 - - :param num_tx_aggr_succ: The num_tx_aggr_succ of this SsidStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_aggr_succ = num_tx_aggr_succ - - @property - def num_tx_aggr_one_mpdu(self): - """Gets the num_tx_aggr_one_mpdu of this SsidStatistics. # noqa: E501 - - The number of aggregation frames sent using single MPDU (where the A-MPDU contains only one MPDU ). # noqa: E501 - - :return: The num_tx_aggr_one_mpdu of this SsidStatistics. # noqa: E501 - :rtype: int - """ - return self._num_tx_aggr_one_mpdu - - @num_tx_aggr_one_mpdu.setter - def num_tx_aggr_one_mpdu(self, num_tx_aggr_one_mpdu): - """Sets the num_tx_aggr_one_mpdu of this SsidStatistics. - - The number of aggregation frames sent using single MPDU (where the A-MPDU contains only one MPDU ). # noqa: E501 - - :param num_tx_aggr_one_mpdu: The num_tx_aggr_one_mpdu of this SsidStatistics. # noqa: E501 - :type: int - """ - - self._num_tx_aggr_one_mpdu = num_tx_aggr_one_mpdu - - @property - def wmm_queue_stats(self): - """Gets the wmm_queue_stats of this SsidStatistics. # noqa: E501 - - - :return: The wmm_queue_stats of this SsidStatistics. # noqa: E501 - :rtype: WmmQueueStatsPerQueueTypeMap - """ - return self._wmm_queue_stats - - @wmm_queue_stats.setter - def wmm_queue_stats(self, wmm_queue_stats): - """Sets the wmm_queue_stats of this SsidStatistics. - - - :param wmm_queue_stats: The wmm_queue_stats of this SsidStatistics. # noqa: E501 - :type: WmmQueueStatsPerQueueTypeMap - """ - - self._wmm_queue_stats = wmm_queue_stats - - @property - def mcs_stats(self): - """Gets the mcs_stats of this SsidStatistics. # noqa: E501 - - - :return: The mcs_stats of this SsidStatistics. # noqa: E501 - :rtype: list[McsStats] - """ - return self._mcs_stats - - @mcs_stats.setter - def mcs_stats(self, mcs_stats): - """Sets the mcs_stats of this SsidStatistics. - - - :param mcs_stats: The mcs_stats of this SsidStatistics. # noqa: E501 - :type: list[McsStats] - """ - - self._mcs_stats = mcs_stats - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(SsidStatistics, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, SsidStatistics): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/state_setting.py b/libs/cloudapi/cloudsdk/swagger_client/models/state_setting.py deleted file mode 100644 index c30928eba..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/state_setting.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class StateSetting(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - ENABLED = "enabled" - DISABLED = "disabled" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """StateSetting - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(StateSetting, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, StateSetting): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/state_up_down_error.py b/libs/cloudapi/cloudsdk/swagger_client/models/state_up_down_error.py deleted file mode 100644 index 68098343f..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/state_up_down_error.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class StateUpDownError(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - DISABLED = "disabled" - ENABLED = "enabled" - ERROR = "error" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """StateUpDownError - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(StateUpDownError, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, StateUpDownError): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/stats_report_format.py b/libs/cloudapi/cloudsdk/swagger_client/models/stats_report_format.py deleted file mode 100644 index c4a9705fd..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/stats_report_format.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class StatsReportFormat(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - RAW = "RAW" - PERCENTILE = "PERCENTILE" - AVERAGE = "AVERAGE" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """StatsReportFormat - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(StatsReportFormat, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, StatsReportFormat): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/status.py b/libs/cloudapi/cloudsdk/swagger_client/models/status.py deleted file mode 100644 index 890579bfd..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/status.py +++ /dev/null @@ -1,274 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class Status(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'customer_id': 'int', - 'equipment_id': 'int', - 'status_data_type': 'StatusDataType', - 'status_details': 'StatusDetails', - 'created_timestamp': 'int', - 'last_modified_timestamp': 'int' - } - - attribute_map = { - 'model_type': 'model_type', - 'customer_id': 'customerId', - 'equipment_id': 'equipmentId', - 'status_data_type': 'statusDataType', - 'status_details': 'statusDetails', - 'created_timestamp': 'createdTimestamp', - 'last_modified_timestamp': 'lastModifiedTimestamp' - } - - def __init__(self, model_type=None, customer_id=None, equipment_id=None, status_data_type=None, status_details=None, created_timestamp=None, last_modified_timestamp=None): # noqa: E501 - """Status - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._customer_id = None - self._equipment_id = None - self._status_data_type = None - self._status_details = None - self._created_timestamp = None - self._last_modified_timestamp = None - self.discriminator = None - if model_type is not None: - self.model_type = model_type - if customer_id is not None: - self.customer_id = customer_id - if equipment_id is not None: - self.equipment_id = equipment_id - if status_data_type is not None: - self.status_data_type = status_data_type - if status_details is not None: - self.status_details = status_details - if created_timestamp is not None: - self.created_timestamp = created_timestamp - if last_modified_timestamp is not None: - self.last_modified_timestamp = last_modified_timestamp - - @property - def model_type(self): - """Gets the model_type of this Status. # noqa: E501 - - - :return: The model_type of this Status. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this Status. - - - :param model_type: The model_type of this Status. # noqa: E501 - :type: str - """ - allowed_values = ["Status"] # noqa: E501 - if model_type not in allowed_values: - raise ValueError( - "Invalid value for `model_type` ({0}), must be one of {1}" # noqa: E501 - .format(model_type, allowed_values) - ) - - self._model_type = model_type - - @property - def customer_id(self): - """Gets the customer_id of this Status. # noqa: E501 - - - :return: The customer_id of this Status. # noqa: E501 - :rtype: int - """ - return self._customer_id - - @customer_id.setter - def customer_id(self, customer_id): - """Sets the customer_id of this Status. - - - :param customer_id: The customer_id of this Status. # noqa: E501 - :type: int - """ - - self._customer_id = customer_id - - @property - def equipment_id(self): - """Gets the equipment_id of this Status. # noqa: E501 - - - :return: The equipment_id of this Status. # noqa: E501 - :rtype: int - """ - return self._equipment_id - - @equipment_id.setter - def equipment_id(self, equipment_id): - """Sets the equipment_id of this Status. - - - :param equipment_id: The equipment_id of this Status. # noqa: E501 - :type: int - """ - - self._equipment_id = equipment_id - - @property - def status_data_type(self): - """Gets the status_data_type of this Status. # noqa: E501 - - - :return: The status_data_type of this Status. # noqa: E501 - :rtype: StatusDataType - """ - return self._status_data_type - - @status_data_type.setter - def status_data_type(self, status_data_type): - """Sets the status_data_type of this Status. - - - :param status_data_type: The status_data_type of this Status. # noqa: E501 - :type: StatusDataType - """ - - self._status_data_type = status_data_type - - @property - def status_details(self): - """Gets the status_details of this Status. # noqa: E501 - - - :return: The status_details of this Status. # noqa: E501 - :rtype: StatusDetails - """ - return self._status_details - - @status_details.setter - def status_details(self, status_details): - """Sets the status_details of this Status. - - - :param status_details: The status_details of this Status. # noqa: E501 - :type: StatusDetails - """ - - self._status_details = status_details - - @property - def created_timestamp(self): - """Gets the created_timestamp of this Status. # noqa: E501 - - - :return: The created_timestamp of this Status. # noqa: E501 - :rtype: int - """ - return self._created_timestamp - - @created_timestamp.setter - def created_timestamp(self, created_timestamp): - """Sets the created_timestamp of this Status. - - - :param created_timestamp: The created_timestamp of this Status. # noqa: E501 - :type: int - """ - - self._created_timestamp = created_timestamp - - @property - def last_modified_timestamp(self): - """Gets the last_modified_timestamp of this Status. # noqa: E501 - - This class does not perform checks against concurrrent updates. Here last update always wins. # noqa: E501 - - :return: The last_modified_timestamp of this Status. # noqa: E501 - :rtype: int - """ - return self._last_modified_timestamp - - @last_modified_timestamp.setter - def last_modified_timestamp(self, last_modified_timestamp): - """Sets the last_modified_timestamp of this Status. - - This class does not perform checks against concurrrent updates. Here last update always wins. # noqa: E501 - - :param last_modified_timestamp: The last_modified_timestamp of this Status. # noqa: E501 - :type: int - """ - - self._last_modified_timestamp = last_modified_timestamp - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(Status, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, Status): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/status_changed_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/status_changed_event.py deleted file mode 100644 index 6e8239267..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/status_changed_event.py +++ /dev/null @@ -1,215 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class StatusChangedEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'event_timestamp': 'int', - 'customer_id': 'int', - 'equipment_id': 'int', - 'payload': 'Status' - } - - attribute_map = { - 'model_type': 'model_type', - 'event_timestamp': 'eventTimestamp', - 'customer_id': 'customerId', - 'equipment_id': 'equipmentId', - 'payload': 'payload' - } - - def __init__(self, model_type=None, event_timestamp=None, customer_id=None, equipment_id=None, payload=None): # noqa: E501 - """StatusChangedEvent - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._event_timestamp = None - self._customer_id = None - self._equipment_id = None - self._payload = None - self.discriminator = None - self.model_type = model_type - if event_timestamp is not None: - self.event_timestamp = event_timestamp - if customer_id is not None: - self.customer_id = customer_id - if equipment_id is not None: - self.equipment_id = equipment_id - if payload is not None: - self.payload = payload - - @property - def model_type(self): - """Gets the model_type of this StatusChangedEvent. # noqa: E501 - - - :return: The model_type of this StatusChangedEvent. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this StatusChangedEvent. - - - :param model_type: The model_type of this StatusChangedEvent. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - - self._model_type = model_type - - @property - def event_timestamp(self): - """Gets the event_timestamp of this StatusChangedEvent. # noqa: E501 - - - :return: The event_timestamp of this StatusChangedEvent. # noqa: E501 - :rtype: int - """ - return self._event_timestamp - - @event_timestamp.setter - def event_timestamp(self, event_timestamp): - """Sets the event_timestamp of this StatusChangedEvent. - - - :param event_timestamp: The event_timestamp of this StatusChangedEvent. # noqa: E501 - :type: int - """ - - self._event_timestamp = event_timestamp - - @property - def customer_id(self): - """Gets the customer_id of this StatusChangedEvent. # noqa: E501 - - - :return: The customer_id of this StatusChangedEvent. # noqa: E501 - :rtype: int - """ - return self._customer_id - - @customer_id.setter - def customer_id(self, customer_id): - """Sets the customer_id of this StatusChangedEvent. - - - :param customer_id: The customer_id of this StatusChangedEvent. # noqa: E501 - :type: int - """ - - self._customer_id = customer_id - - @property - def equipment_id(self): - """Gets the equipment_id of this StatusChangedEvent. # noqa: E501 - - - :return: The equipment_id of this StatusChangedEvent. # noqa: E501 - :rtype: int - """ - return self._equipment_id - - @equipment_id.setter - def equipment_id(self, equipment_id): - """Sets the equipment_id of this StatusChangedEvent. - - - :param equipment_id: The equipment_id of this StatusChangedEvent. # noqa: E501 - :type: int - """ - - self._equipment_id = equipment_id - - @property - def payload(self): - """Gets the payload of this StatusChangedEvent. # noqa: E501 - - - :return: The payload of this StatusChangedEvent. # noqa: E501 - :rtype: Status - """ - return self._payload - - @payload.setter - def payload(self, payload): - """Sets the payload of this StatusChangedEvent. - - - :param payload: The payload of this StatusChangedEvent. # noqa: E501 - :type: Status - """ - - self._payload = payload - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(StatusChangedEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, StatusChangedEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/status_code.py b/libs/cloudapi/cloudsdk/swagger_client/models/status_code.py deleted file mode 100644 index 1733ec84c..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/status_code.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class StatusCode(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - NORMAL = "normal" - REQUIRESATTENTION = "requiresAttention" - ERROR = "error" - DISABLED = "disabled" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """StatusCode - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(StatusCode, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, StatusCode): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/status_data_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/status_data_type.py deleted file mode 100644 index addde2822..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/status_data_type.py +++ /dev/null @@ -1,102 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class StatusDataType(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - EQUIPMENT_ADMIN = "EQUIPMENT_ADMIN" - NETWORK_ADMIN = "NETWORK_ADMIN" - NETWORK_AGGREGATE = "NETWORK_AGGREGATE" - PROTOCOL = "PROTOCOL" - FIRMWARE = "FIRMWARE" - PEERINFO = "PEERINFO" - LANINFO = "LANINFO" - NEIGHBOURINGINFO = "NEIGHBOURINGINFO" - OS_PERFORMANCE = "OS_PERFORMANCE" - NEIGHBOUR_SCAN = "NEIGHBOUR_SCAN" - RADIO_UTILIZATION = "RADIO_UTILIZATION" - ACTIVE_BSSIDS = "ACTIVE_BSSIDS" - CLIENT_DETAILS = "CLIENT_DETAILS" - CUSTOMER_DASHBOARD = "CUSTOMER_DASHBOARD" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """StatusDataType - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(StatusDataType, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, StatusDataType): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/status_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/status_details.py deleted file mode 100644 index 9974c1dce..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/status_details.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class StatusDetails(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - discriminator_value_class_map = { - } - - def __init__(self): # noqa: E501 - """StatusDetails - a model defined in Swagger""" # noqa: E501 - self.discriminator = 'model_type' - - def get_real_child_model(self, data): - """Returns the real base class specified by the discriminator""" - discriminator_value = data[self.discriminator].lower() - return self.discriminator_value_class_map.get(discriminator_value) - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(StatusDetails, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, StatusDetails): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/status_removed_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/status_removed_event.py deleted file mode 100644 index 8e2ab48d7..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/status_removed_event.py +++ /dev/null @@ -1,215 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class StatusRemovedEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'event_timestamp': 'int', - 'customer_id': 'int', - 'equipment_id': 'int', - 'payload': 'Status' - } - - attribute_map = { - 'model_type': 'model_type', - 'event_timestamp': 'eventTimestamp', - 'customer_id': 'customerId', - 'equipment_id': 'equipmentId', - 'payload': 'payload' - } - - def __init__(self, model_type=None, event_timestamp=None, customer_id=None, equipment_id=None, payload=None): # noqa: E501 - """StatusRemovedEvent - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._event_timestamp = None - self._customer_id = None - self._equipment_id = None - self._payload = None - self.discriminator = None - self.model_type = model_type - if event_timestamp is not None: - self.event_timestamp = event_timestamp - if customer_id is not None: - self.customer_id = customer_id - if equipment_id is not None: - self.equipment_id = equipment_id - if payload is not None: - self.payload = payload - - @property - def model_type(self): - """Gets the model_type of this StatusRemovedEvent. # noqa: E501 - - - :return: The model_type of this StatusRemovedEvent. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this StatusRemovedEvent. - - - :param model_type: The model_type of this StatusRemovedEvent. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - - self._model_type = model_type - - @property - def event_timestamp(self): - """Gets the event_timestamp of this StatusRemovedEvent. # noqa: E501 - - - :return: The event_timestamp of this StatusRemovedEvent. # noqa: E501 - :rtype: int - """ - return self._event_timestamp - - @event_timestamp.setter - def event_timestamp(self, event_timestamp): - """Sets the event_timestamp of this StatusRemovedEvent. - - - :param event_timestamp: The event_timestamp of this StatusRemovedEvent. # noqa: E501 - :type: int - """ - - self._event_timestamp = event_timestamp - - @property - def customer_id(self): - """Gets the customer_id of this StatusRemovedEvent. # noqa: E501 - - - :return: The customer_id of this StatusRemovedEvent. # noqa: E501 - :rtype: int - """ - return self._customer_id - - @customer_id.setter - def customer_id(self, customer_id): - """Sets the customer_id of this StatusRemovedEvent. - - - :param customer_id: The customer_id of this StatusRemovedEvent. # noqa: E501 - :type: int - """ - - self._customer_id = customer_id - - @property - def equipment_id(self): - """Gets the equipment_id of this StatusRemovedEvent. # noqa: E501 - - - :return: The equipment_id of this StatusRemovedEvent. # noqa: E501 - :rtype: int - """ - return self._equipment_id - - @equipment_id.setter - def equipment_id(self, equipment_id): - """Sets the equipment_id of this StatusRemovedEvent. - - - :param equipment_id: The equipment_id of this StatusRemovedEvent. # noqa: E501 - :type: int - """ - - self._equipment_id = equipment_id - - @property - def payload(self): - """Gets the payload of this StatusRemovedEvent. # noqa: E501 - - - :return: The payload of this StatusRemovedEvent. # noqa: E501 - :rtype: Status - """ - return self._payload - - @payload.setter - def payload(self, payload): - """Sets the payload of this StatusRemovedEvent. - - - :param payload: The payload of this StatusRemovedEvent. # noqa: E501 - :type: Status - """ - - self._payload = payload - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(StatusRemovedEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, StatusRemovedEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/steer_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/steer_type.py deleted file mode 100644 index 8cb8a8dec..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/steer_type.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class SteerType(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - RSVD = "steer_rsvd" - DEAUTH = "steer_deauth" - _11V = "steer_11v" - PERIMETER = "steer_perimeter" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """SteerType - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(SteerType, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, SteerType): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/streaming_video_server_record.py b/libs/cloudapi/cloudsdk/swagger_client/models/streaming_video_server_record.py deleted file mode 100644 index 9a23b97a8..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/streaming_video_server_record.py +++ /dev/null @@ -1,266 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class StreamingVideoServerRecord(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'int', - 'customer_id': 'int', - 'equipment_id': 'int', - 'ip_addr': 'str', - 'type': 'StreamingVideoType', - 'created_timestamp': 'int', - 'last_modified_timestamp': 'int' - } - - attribute_map = { - 'id': 'id', - 'customer_id': 'customerId', - 'equipment_id': 'equipmentId', - 'ip_addr': 'ipAddr', - 'type': 'type', - 'created_timestamp': 'createdTimestamp', - 'last_modified_timestamp': 'lastModifiedTimestamp' - } - - def __init__(self, id=None, customer_id=None, equipment_id=None, ip_addr=None, type=None, created_timestamp=None, last_modified_timestamp=None): # noqa: E501 - """StreamingVideoServerRecord - a model defined in Swagger""" # noqa: E501 - self._id = None - self._customer_id = None - self._equipment_id = None - self._ip_addr = None - self._type = None - self._created_timestamp = None - self._last_modified_timestamp = None - self.discriminator = None - if id is not None: - self.id = id - if customer_id is not None: - self.customer_id = customer_id - if equipment_id is not None: - self.equipment_id = equipment_id - if ip_addr is not None: - self.ip_addr = ip_addr - if type is not None: - self.type = type - if created_timestamp is not None: - self.created_timestamp = created_timestamp - if last_modified_timestamp is not None: - self.last_modified_timestamp = last_modified_timestamp - - @property - def id(self): - """Gets the id of this StreamingVideoServerRecord. # noqa: E501 - - - :return: The id of this StreamingVideoServerRecord. # noqa: E501 - :rtype: int - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this StreamingVideoServerRecord. - - - :param id: The id of this StreamingVideoServerRecord. # noqa: E501 - :type: int - """ - - self._id = id - - @property - def customer_id(self): - """Gets the customer_id of this StreamingVideoServerRecord. # noqa: E501 - - - :return: The customer_id of this StreamingVideoServerRecord. # noqa: E501 - :rtype: int - """ - return self._customer_id - - @customer_id.setter - def customer_id(self, customer_id): - """Sets the customer_id of this StreamingVideoServerRecord. - - - :param customer_id: The customer_id of this StreamingVideoServerRecord. # noqa: E501 - :type: int - """ - - self._customer_id = customer_id - - @property - def equipment_id(self): - """Gets the equipment_id of this StreamingVideoServerRecord. # noqa: E501 - - - :return: The equipment_id of this StreamingVideoServerRecord. # noqa: E501 - :rtype: int - """ - return self._equipment_id - - @equipment_id.setter - def equipment_id(self, equipment_id): - """Sets the equipment_id of this StreamingVideoServerRecord. - - - :param equipment_id: The equipment_id of this StreamingVideoServerRecord. # noqa: E501 - :type: int - """ - - self._equipment_id = equipment_id - - @property - def ip_addr(self): - """Gets the ip_addr of this StreamingVideoServerRecord. # noqa: E501 - - - :return: The ip_addr of this StreamingVideoServerRecord. # noqa: E501 - :rtype: str - """ - return self._ip_addr - - @ip_addr.setter - def ip_addr(self, ip_addr): - """Sets the ip_addr of this StreamingVideoServerRecord. - - - :param ip_addr: The ip_addr of this StreamingVideoServerRecord. # noqa: E501 - :type: str - """ - - self._ip_addr = ip_addr - - @property - def type(self): - """Gets the type of this StreamingVideoServerRecord. # noqa: E501 - - - :return: The type of this StreamingVideoServerRecord. # noqa: E501 - :rtype: StreamingVideoType - """ - return self._type - - @type.setter - def type(self, type): - """Sets the type of this StreamingVideoServerRecord. - - - :param type: The type of this StreamingVideoServerRecord. # noqa: E501 - :type: StreamingVideoType - """ - - self._type = type - - @property - def created_timestamp(self): - """Gets the created_timestamp of this StreamingVideoServerRecord. # noqa: E501 - - - :return: The created_timestamp of this StreamingVideoServerRecord. # noqa: E501 - :rtype: int - """ - return self._created_timestamp - - @created_timestamp.setter - def created_timestamp(self, created_timestamp): - """Sets the created_timestamp of this StreamingVideoServerRecord. - - - :param created_timestamp: The created_timestamp of this StreamingVideoServerRecord. # noqa: E501 - :type: int - """ - - self._created_timestamp = created_timestamp - - @property - def last_modified_timestamp(self): - """Gets the last_modified_timestamp of this StreamingVideoServerRecord. # noqa: E501 - - - :return: The last_modified_timestamp of this StreamingVideoServerRecord. # noqa: E501 - :rtype: int - """ - return self._last_modified_timestamp - - @last_modified_timestamp.setter - def last_modified_timestamp(self, last_modified_timestamp): - """Sets the last_modified_timestamp of this StreamingVideoServerRecord. - - - :param last_modified_timestamp: The last_modified_timestamp of this StreamingVideoServerRecord. # noqa: E501 - :type: int - """ - - self._last_modified_timestamp = last_modified_timestamp - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(StreamingVideoServerRecord, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, StreamingVideoServerRecord): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/streaming_video_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/streaming_video_type.py deleted file mode 100644 index 63369e75e..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/streaming_video_type.py +++ /dev/null @@ -1,93 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class StreamingVideoType(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - UNKNOWN = "UNKNOWN" - NETFLIX = "NETFLIX" - YOUTUBE = "YOUTUBE" - PLEX = "PLEX" - UNSUPPORTED = "UNSUPPORTED" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """StreamingVideoType - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(StreamingVideoType, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, StreamingVideoType): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/syslog_relay.py b/libs/cloudapi/cloudsdk/swagger_client/models/syslog_relay.py deleted file mode 100644 index 34d8689e3..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/syslog_relay.py +++ /dev/null @@ -1,188 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class SyslogRelay(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'enabled': 'bool', - 'srv_host_ip': 'str', - 'srv_host_port': 'int', - 'severity': 'SyslogSeverityType' - } - - attribute_map = { - 'enabled': 'enabled', - 'srv_host_ip': 'srvHostIp', - 'srv_host_port': 'srvHostPort', - 'severity': 'severity' - } - - def __init__(self, enabled=None, srv_host_ip=None, srv_host_port=None, severity=None): # noqa: E501 - """SyslogRelay - a model defined in Swagger""" # noqa: E501 - self._enabled = None - self._srv_host_ip = None - self._srv_host_port = None - self._severity = None - self.discriminator = None - if enabled is not None: - self.enabled = enabled - if srv_host_ip is not None: - self.srv_host_ip = srv_host_ip - if srv_host_port is not None: - self.srv_host_port = srv_host_port - if severity is not None: - self.severity = severity - - @property - def enabled(self): - """Gets the enabled of this SyslogRelay. # noqa: E501 - - - :return: The enabled of this SyslogRelay. # noqa: E501 - :rtype: bool - """ - return self._enabled - - @enabled.setter - def enabled(self, enabled): - """Sets the enabled of this SyslogRelay. - - - :param enabled: The enabled of this SyslogRelay. # noqa: E501 - :type: bool - """ - - self._enabled = enabled - - @property - def srv_host_ip(self): - """Gets the srv_host_ip of this SyslogRelay. # noqa: E501 - - - :return: The srv_host_ip of this SyslogRelay. # noqa: E501 - :rtype: str - """ - return self._srv_host_ip - - @srv_host_ip.setter - def srv_host_ip(self, srv_host_ip): - """Sets the srv_host_ip of this SyslogRelay. - - - :param srv_host_ip: The srv_host_ip of this SyslogRelay. # noqa: E501 - :type: str - """ - - self._srv_host_ip = srv_host_ip - - @property - def srv_host_port(self): - """Gets the srv_host_port of this SyslogRelay. # noqa: E501 - - - :return: The srv_host_port of this SyslogRelay. # noqa: E501 - :rtype: int - """ - return self._srv_host_port - - @srv_host_port.setter - def srv_host_port(self, srv_host_port): - """Sets the srv_host_port of this SyslogRelay. - - - :param srv_host_port: The srv_host_port of this SyslogRelay. # noqa: E501 - :type: int - """ - - self._srv_host_port = srv_host_port - - @property - def severity(self): - """Gets the severity of this SyslogRelay. # noqa: E501 - - - :return: The severity of this SyslogRelay. # noqa: E501 - :rtype: SyslogSeverityType - """ - return self._severity - - @severity.setter - def severity(self, severity): - """Sets the severity of this SyslogRelay. - - - :param severity: The severity of this SyslogRelay. # noqa: E501 - :type: SyslogSeverityType - """ - - self._severity = severity - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(SyslogRelay, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, SyslogRelay): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/syslog_severity_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/syslog_severity_type.py deleted file mode 100644 index 1cb5e6359..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/syslog_severity_type.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class SyslogSeverityType(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - EMERG = "EMERG" - ALERT = "ALERT" - CRIT = "CRIT" - ERR = "ERR" - WARING = "WARING" - NOTICE = "NOTICE" - INFO = "INFO" - DEBUG = "DEBUG" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """SyslogSeverityType - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(SyslogSeverityType, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, SyslogSeverityType): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/system_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/system_event.py deleted file mode 100644 index bce371eca..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/system_event.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class SystemEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - discriminator_value_class_map = { - } - - def __init__(self): # noqa: E501 - """SystemEvent - a model defined in Swagger""" # noqa: E501 - self.discriminator = 'model_type' - - def get_real_child_model(self, data): - """Returns the real base class specified by the discriminator""" - discriminator_value = data[self.discriminator].lower() - return self.discriminator_value_class_map.get(discriminator_value) - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(SystemEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, SystemEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/system_event_data_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/system_event_data_type.py deleted file mode 100644 index 9f9ec582a..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/system_event_data_type.py +++ /dev/null @@ -1,148 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class SystemEventDataType(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - GATEWAYADDEDEVENT = "GatewayAddedEvent" - GATEWAYCHANGEDEVENT = "GatewayChangedEvent" - GATEWAYREMOVEDEVENT = "GatewayRemovedEvent" - CLIENTADDEDEVENT = "ClientAddedEvent" - CLIENTCHANGEDEVENT = "ClientChangedEvent" - CLIENTREMOVEDEVENT = "ClientRemovedEvent" - CUSTOMERADDEDEVENT = "CustomerAddedEvent" - CUSTOMERCHANGEDEVENT = "CustomerChangedEvent" - CUSTOMERREMOVEDEVENT = "CustomerRemovedEvent" - FIRMWAREADDEDEVENT = "FirmwareAddedEvent" - FIRMWARECHANGEDEVENT = "FirmwareChangedEvent" - FIRMWAREREMOVEDEVENT = "FirmwareRemovedEvent" - LOCATIONADDEDEVENT = "LocationAddedEvent" - LOCATIONCHANGEDEVENT = "LocationChangedEvent" - LOCATIONREMOVEDEVENT = "LocationRemovedEvent" - PORTALUSERADDEDEVENT = "PortalUserAddedEvent" - PORTALUSERCHANGEDEVENT = "PortalUserChangedEvent" - PORTALUSERREMOVEDEVENT = "PortalUserRemovedEvent" - PROFILEADDEDEVENT = "ProfileAddedEvent" - PROFILECHANGEDEVENT = "ProfileChangedEvent" - PROFILEREMOVEDEVENT = "ProfileRemovedEvent" - ROUTINGADDEDEVENT = "RoutingAddedEvent" - ROUTINGCHANGEDEVENT = "RoutingChangedEvent" - ROUTINGREMOVEDEVENT = "RoutingRemovedEvent" - ALARMADDEDEVENT = "AlarmAddedEvent" - ALARMCHANGEDEVENT = "AlarmChangedEvent" - ALARMREMOVEDEVENT = "AlarmRemovedEvent" - CLIENTSESSIONADDEDEVENT = "ClientSessionAddedEvent" - CLIENTSESSIONCHANGEDEVENT = "ClientSessionChangedEvent" - CLIENTSESSIONREMOVEDEVENT = "ClientSessionRemovedEvent" - EQUIPMENTADDEDEVENT = "EquipmentAddedEvent" - EQUIPMENTCHANGEDEVENT = "EquipmentChangedEvent" - EQUIPMENTREMOVEDEVENT = "EquipmentRemovedEvent" - STATUSCHANGEDEVENT = "StatusChangedEvent" - STATUSREMOVEDEVENT = "StatusRemovedEvent" - DHCPACKEVENT = "DhcpAckEvent" - DHCPNAKEVENT = "DhcpNakEvent" - DHCPDECLINEEVENT = "DhcpDeclineEvent" - DHCPDISCOVEREVENT = "DhcpDiscoverEvent" - DHCPINFORMEVENT = "DhcpInformEvent" - DHCPOFFEREVENT = "DhcpOfferEvent" - DHCPREQUESTEVENT = "DhcpRequestEvent" - CLIENTASSOCEVENT = "ClientAssocEvent" - CLIENTCONNECTSUCCESSEVENT = "ClientConnectSuccessEvent" - CLIENTFAILUREEVENT = "ClientFailureEvent" - CLIENTIDEVENT = "ClientIdEvent" - CLIENTTIMEOUTEVENT = "ClientTimeoutEvent" - CLIENTAUTHEVENT = "ClientAuthEvent" - CLIENTDISCONNECTEVENT = "ClientDisconnectEvent" - CLIENTFIRSTDATAEVENT = "ClientFirstDataEvent" - CLIENTIPADDRESSEVENT = "ClientIpAddressEvent" - REALTIMECHANNELHOPEVENT = "RealTimeChannelHopEvent" - REALTIMESIPCALLEVENTWITHSTATS = "RealTimeSipCallEventWithStats" - REALTIMESIPCALLREPORTEVENT = "RealTimeSipCallReportEvent" - REALTIMESIPCALLSTARTEVENT = "RealTimeSipCallStartEvent" - REALTIMESIPCALLSTOPEVENT = "RealTimeSipCallStopEvent" - REALTIMESTREAMINGSTARTEVENT = "RealTimeStreamingStartEvent" - REALTIMESTREAMINGSTARTSESSIONEVENT = "RealTimeStreamingStartSessionEvent" - REALTIMESTREAMINGSTOPEVENT = "RealTimeStreamingStopEvent" - UNSERIALIZABLESYSTEMEVENT = "UnserializableSystemEvent" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """SystemEventDataType - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(SystemEventDataType, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, SystemEventDataType): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/system_event_record.py b/libs/cloudapi/cloudsdk/swagger_client/models/system_event_record.py deleted file mode 100644 index 209880a2a..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/system_event_record.py +++ /dev/null @@ -1,294 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class SystemEventRecord(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'customer_id': 'int', - 'location_id': 'int', - 'equipment_id': 'int', - 'client_mac': 'int', - 'client_mac_address': 'MacAddress', - 'data_type': 'SystemEventDataType', - 'event_timestamp': 'int', - 'details': 'SystemEvent' - } - - attribute_map = { - 'customer_id': 'customerId', - 'location_id': 'locationId', - 'equipment_id': 'equipmentId', - 'client_mac': 'clientMac', - 'client_mac_address': 'clientMacAddress', - 'data_type': 'dataType', - 'event_timestamp': 'eventTimestamp', - 'details': 'details' - } - - def __init__(self, customer_id=None, location_id=None, equipment_id=None, client_mac=None, client_mac_address=None, data_type=None, event_timestamp=None, details=None): # noqa: E501 - """SystemEventRecord - a model defined in Swagger""" # noqa: E501 - self._customer_id = None - self._location_id = None - self._equipment_id = None - self._client_mac = None - self._client_mac_address = None - self._data_type = None - self._event_timestamp = None - self._details = None - self.discriminator = None - if customer_id is not None: - self.customer_id = customer_id - if location_id is not None: - self.location_id = location_id - if equipment_id is not None: - self.equipment_id = equipment_id - if client_mac is not None: - self.client_mac = client_mac - if client_mac_address is not None: - self.client_mac_address = client_mac_address - if data_type is not None: - self.data_type = data_type - if event_timestamp is not None: - self.event_timestamp = event_timestamp - if details is not None: - self.details = details - - @property - def customer_id(self): - """Gets the customer_id of this SystemEventRecord. # noqa: E501 - - - :return: The customer_id of this SystemEventRecord. # noqa: E501 - :rtype: int - """ - return self._customer_id - - @customer_id.setter - def customer_id(self, customer_id): - """Sets the customer_id of this SystemEventRecord. - - - :param customer_id: The customer_id of this SystemEventRecord. # noqa: E501 - :type: int - """ - - self._customer_id = customer_id - - @property - def location_id(self): - """Gets the location_id of this SystemEventRecord. # noqa: E501 - - - :return: The location_id of this SystemEventRecord. # noqa: E501 - :rtype: int - """ - return self._location_id - - @location_id.setter - def location_id(self, location_id): - """Sets the location_id of this SystemEventRecord. - - - :param location_id: The location_id of this SystemEventRecord. # noqa: E501 - :type: int - """ - - self._location_id = location_id - - @property - def equipment_id(self): - """Gets the equipment_id of this SystemEventRecord. # noqa: E501 - - - :return: The equipment_id of this SystemEventRecord. # noqa: E501 - :rtype: int - """ - return self._equipment_id - - @equipment_id.setter - def equipment_id(self, equipment_id): - """Sets the equipment_id of this SystemEventRecord. - - - :param equipment_id: The equipment_id of this SystemEventRecord. # noqa: E501 - :type: int - """ - - self._equipment_id = equipment_id - - @property - def client_mac(self): - """Gets the client_mac of this SystemEventRecord. # noqa: E501 - - int64 representation of the client MAC address, used internally for storage and indexing # noqa: E501 - - :return: The client_mac of this SystemEventRecord. # noqa: E501 - :rtype: int - """ - return self._client_mac - - @client_mac.setter - def client_mac(self, client_mac): - """Sets the client_mac of this SystemEventRecord. - - int64 representation of the client MAC address, used internally for storage and indexing # noqa: E501 - - :param client_mac: The client_mac of this SystemEventRecord. # noqa: E501 - :type: int - """ - - self._client_mac = client_mac - - @property - def client_mac_address(self): - """Gets the client_mac_address of this SystemEventRecord. # noqa: E501 - - - :return: The client_mac_address of this SystemEventRecord. # noqa: E501 - :rtype: MacAddress - """ - return self._client_mac_address - - @client_mac_address.setter - def client_mac_address(self, client_mac_address): - """Sets the client_mac_address of this SystemEventRecord. - - - :param client_mac_address: The client_mac_address of this SystemEventRecord. # noqa: E501 - :type: MacAddress - """ - - self._client_mac_address = client_mac_address - - @property - def data_type(self): - """Gets the data_type of this SystemEventRecord. # noqa: E501 - - - :return: The data_type of this SystemEventRecord. # noqa: E501 - :rtype: SystemEventDataType - """ - return self._data_type - - @data_type.setter - def data_type(self, data_type): - """Sets the data_type of this SystemEventRecord. - - - :param data_type: The data_type of this SystemEventRecord. # noqa: E501 - :type: SystemEventDataType - """ - - self._data_type = data_type - - @property - def event_timestamp(self): - """Gets the event_timestamp of this SystemEventRecord. # noqa: E501 - - - :return: The event_timestamp of this SystemEventRecord. # noqa: E501 - :rtype: int - """ - return self._event_timestamp - - @event_timestamp.setter - def event_timestamp(self, event_timestamp): - """Sets the event_timestamp of this SystemEventRecord. - - - :param event_timestamp: The event_timestamp of this SystemEventRecord. # noqa: E501 - :type: int - """ - - self._event_timestamp = event_timestamp - - @property - def details(self): - """Gets the details of this SystemEventRecord. # noqa: E501 - - - :return: The details of this SystemEventRecord. # noqa: E501 - :rtype: SystemEvent - """ - return self._details - - @details.setter - def details(self, details): - """Sets the details of this SystemEventRecord. - - - :param details: The details of this SystemEventRecord. # noqa: E501 - :type: SystemEvent - """ - - self._details = details - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(SystemEventRecord, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, SystemEventRecord): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/timed_access_user_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/timed_access_user_details.py deleted file mode 100644 index 08e412ee4..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/timed_access_user_details.py +++ /dev/null @@ -1,162 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class TimedAccessUserDetails(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'first_name': 'str', - 'last_name': 'str', - 'password_needs_reset': 'bool' - } - - attribute_map = { - 'first_name': 'firstName', - 'last_name': 'lastName', - 'password_needs_reset': 'passwordNeedsReset' - } - - def __init__(self, first_name=None, last_name=None, password_needs_reset=None): # noqa: E501 - """TimedAccessUserDetails - a model defined in Swagger""" # noqa: E501 - self._first_name = None - self._last_name = None - self._password_needs_reset = None - self.discriminator = None - if first_name is not None: - self.first_name = first_name - if last_name is not None: - self.last_name = last_name - if password_needs_reset is not None: - self.password_needs_reset = password_needs_reset - - @property - def first_name(self): - """Gets the first_name of this TimedAccessUserDetails. # noqa: E501 - - - :return: The first_name of this TimedAccessUserDetails. # noqa: E501 - :rtype: str - """ - return self._first_name - - @first_name.setter - def first_name(self, first_name): - """Sets the first_name of this TimedAccessUserDetails. - - - :param first_name: The first_name of this TimedAccessUserDetails. # noqa: E501 - :type: str - """ - - self._first_name = first_name - - @property - def last_name(self): - """Gets the last_name of this TimedAccessUserDetails. # noqa: E501 - - - :return: The last_name of this TimedAccessUserDetails. # noqa: E501 - :rtype: str - """ - return self._last_name - - @last_name.setter - def last_name(self, last_name): - """Sets the last_name of this TimedAccessUserDetails. - - - :param last_name: The last_name of this TimedAccessUserDetails. # noqa: E501 - :type: str - """ - - self._last_name = last_name - - @property - def password_needs_reset(self): - """Gets the password_needs_reset of this TimedAccessUserDetails. # noqa: E501 - - - :return: The password_needs_reset of this TimedAccessUserDetails. # noqa: E501 - :rtype: bool - """ - return self._password_needs_reset - - @password_needs_reset.setter - def password_needs_reset(self, password_needs_reset): - """Sets the password_needs_reset of this TimedAccessUserDetails. - - - :param password_needs_reset: The password_needs_reset of this TimedAccessUserDetails. # noqa: E501 - :type: bool - """ - - self._password_needs_reset = password_needs_reset - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(TimedAccessUserDetails, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, TimedAccessUserDetails): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/timed_access_user_record.py b/libs/cloudapi/cloudsdk/swagger_client/models/timed_access_user_record.py deleted file mode 100644 index 543f74562..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/timed_access_user_record.py +++ /dev/null @@ -1,292 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class TimedAccessUserRecord(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'username': 'str', - 'password': 'str', - 'activation_time': 'int', - 'expiration_time': 'int', - 'num_devices': 'int', - 'user_details': 'TimedAccessUserDetails', - 'user_mac_addresses': 'list[MacAddress]', - 'last_modified_timestamp': 'int' - } - - attribute_map = { - 'username': 'username', - 'password': 'password', - 'activation_time': 'activationTime', - 'expiration_time': 'expirationTime', - 'num_devices': 'numDevices', - 'user_details': 'userDetails', - 'user_mac_addresses': 'userMacAddresses', - 'last_modified_timestamp': 'lastModifiedTimestamp' - } - - def __init__(self, username=None, password=None, activation_time=None, expiration_time=None, num_devices=None, user_details=None, user_mac_addresses=None, last_modified_timestamp=None): # noqa: E501 - """TimedAccessUserRecord - a model defined in Swagger""" # noqa: E501 - self._username = None - self._password = None - self._activation_time = None - self._expiration_time = None - self._num_devices = None - self._user_details = None - self._user_mac_addresses = None - self._last_modified_timestamp = None - self.discriminator = None - if username is not None: - self.username = username - if password is not None: - self.password = password - if activation_time is not None: - self.activation_time = activation_time - if expiration_time is not None: - self.expiration_time = expiration_time - if num_devices is not None: - self.num_devices = num_devices - if user_details is not None: - self.user_details = user_details - if user_mac_addresses is not None: - self.user_mac_addresses = user_mac_addresses - if last_modified_timestamp is not None: - self.last_modified_timestamp = last_modified_timestamp - - @property - def username(self): - """Gets the username of this TimedAccessUserRecord. # noqa: E501 - - - :return: The username of this TimedAccessUserRecord. # noqa: E501 - :rtype: str - """ - return self._username - - @username.setter - def username(self, username): - """Sets the username of this TimedAccessUserRecord. - - - :param username: The username of this TimedAccessUserRecord. # noqa: E501 - :type: str - """ - - self._username = username - - @property - def password(self): - """Gets the password of this TimedAccessUserRecord. # noqa: E501 - - - :return: The password of this TimedAccessUserRecord. # noqa: E501 - :rtype: str - """ - return self._password - - @password.setter - def password(self, password): - """Sets the password of this TimedAccessUserRecord. - - - :param password: The password of this TimedAccessUserRecord. # noqa: E501 - :type: str - """ - - self._password = password - - @property - def activation_time(self): - """Gets the activation_time of this TimedAccessUserRecord. # noqa: E501 - - - :return: The activation_time of this TimedAccessUserRecord. # noqa: E501 - :rtype: int - """ - return self._activation_time - - @activation_time.setter - def activation_time(self, activation_time): - """Sets the activation_time of this TimedAccessUserRecord. - - - :param activation_time: The activation_time of this TimedAccessUserRecord. # noqa: E501 - :type: int - """ - - self._activation_time = activation_time - - @property - def expiration_time(self): - """Gets the expiration_time of this TimedAccessUserRecord. # noqa: E501 - - - :return: The expiration_time of this TimedAccessUserRecord. # noqa: E501 - :rtype: int - """ - return self._expiration_time - - @expiration_time.setter - def expiration_time(self, expiration_time): - """Sets the expiration_time of this TimedAccessUserRecord. - - - :param expiration_time: The expiration_time of this TimedAccessUserRecord. # noqa: E501 - :type: int - """ - - self._expiration_time = expiration_time - - @property - def num_devices(self): - """Gets the num_devices of this TimedAccessUserRecord. # noqa: E501 - - - :return: The num_devices of this TimedAccessUserRecord. # noqa: E501 - :rtype: int - """ - return self._num_devices - - @num_devices.setter - def num_devices(self, num_devices): - """Sets the num_devices of this TimedAccessUserRecord. - - - :param num_devices: The num_devices of this TimedAccessUserRecord. # noqa: E501 - :type: int - """ - - self._num_devices = num_devices - - @property - def user_details(self): - """Gets the user_details of this TimedAccessUserRecord. # noqa: E501 - - - :return: The user_details of this TimedAccessUserRecord. # noqa: E501 - :rtype: TimedAccessUserDetails - """ - return self._user_details - - @user_details.setter - def user_details(self, user_details): - """Sets the user_details of this TimedAccessUserRecord. - - - :param user_details: The user_details of this TimedAccessUserRecord. # noqa: E501 - :type: TimedAccessUserDetails - """ - - self._user_details = user_details - - @property - def user_mac_addresses(self): - """Gets the user_mac_addresses of this TimedAccessUserRecord. # noqa: E501 - - - :return: The user_mac_addresses of this TimedAccessUserRecord. # noqa: E501 - :rtype: list[MacAddress] - """ - return self._user_mac_addresses - - @user_mac_addresses.setter - def user_mac_addresses(self, user_mac_addresses): - """Sets the user_mac_addresses of this TimedAccessUserRecord. - - - :param user_mac_addresses: The user_mac_addresses of this TimedAccessUserRecord. # noqa: E501 - :type: list[MacAddress] - """ - - self._user_mac_addresses = user_mac_addresses - - @property - def last_modified_timestamp(self): - """Gets the last_modified_timestamp of this TimedAccessUserRecord. # noqa: E501 - - - :return: The last_modified_timestamp of this TimedAccessUserRecord. # noqa: E501 - :rtype: int - """ - return self._last_modified_timestamp - - @last_modified_timestamp.setter - def last_modified_timestamp(self, last_modified_timestamp): - """Sets the last_modified_timestamp of this TimedAccessUserRecord. - - - :param last_modified_timestamp: The last_modified_timestamp of this TimedAccessUserRecord. # noqa: E501 - :type: int - """ - - self._last_modified_timestamp = last_modified_timestamp - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(TimedAccessUserRecord, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, TimedAccessUserRecord): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/track_flag.py b/libs/cloudapi/cloudsdk/swagger_client/models/track_flag.py deleted file mode 100644 index 73c821015..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/track_flag.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class TrackFlag(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - ALWAYS = "ALWAYS" - NEVER = "NEVER" - DEFAULT = "DEFAULT" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """TrackFlag - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(TrackFlag, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, TrackFlag): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/traffic_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/traffic_details.py deleted file mode 100644 index 7b3ebc510..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/traffic_details.py +++ /dev/null @@ -1,162 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class TrafficDetails(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'per_radio_details': 'TrafficPerRadioDetailsPerRadioTypeMap', - 'indicator_value_rx_mbps': 'float', - 'indicator_value_tx_mbps': 'float' - } - - attribute_map = { - 'per_radio_details': 'perRadioDetails', - 'indicator_value_rx_mbps': 'indicatorValueRxMbps', - 'indicator_value_tx_mbps': 'indicatorValueTxMbps' - } - - def __init__(self, per_radio_details=None, indicator_value_rx_mbps=None, indicator_value_tx_mbps=None): # noqa: E501 - """TrafficDetails - a model defined in Swagger""" # noqa: E501 - self._per_radio_details = None - self._indicator_value_rx_mbps = None - self._indicator_value_tx_mbps = None - self.discriminator = None - if per_radio_details is not None: - self.per_radio_details = per_radio_details - if indicator_value_rx_mbps is not None: - self.indicator_value_rx_mbps = indicator_value_rx_mbps - if indicator_value_tx_mbps is not None: - self.indicator_value_tx_mbps = indicator_value_tx_mbps - - @property - def per_radio_details(self): - """Gets the per_radio_details of this TrafficDetails. # noqa: E501 - - - :return: The per_radio_details of this TrafficDetails. # noqa: E501 - :rtype: TrafficPerRadioDetailsPerRadioTypeMap - """ - return self._per_radio_details - - @per_radio_details.setter - def per_radio_details(self, per_radio_details): - """Sets the per_radio_details of this TrafficDetails. - - - :param per_radio_details: The per_radio_details of this TrafficDetails. # noqa: E501 - :type: TrafficPerRadioDetailsPerRadioTypeMap - """ - - self._per_radio_details = per_radio_details - - @property - def indicator_value_rx_mbps(self): - """Gets the indicator_value_rx_mbps of this TrafficDetails. # noqa: E501 - - - :return: The indicator_value_rx_mbps of this TrafficDetails. # noqa: E501 - :rtype: float - """ - return self._indicator_value_rx_mbps - - @indicator_value_rx_mbps.setter - def indicator_value_rx_mbps(self, indicator_value_rx_mbps): - """Sets the indicator_value_rx_mbps of this TrafficDetails. - - - :param indicator_value_rx_mbps: The indicator_value_rx_mbps of this TrafficDetails. # noqa: E501 - :type: float - """ - - self._indicator_value_rx_mbps = indicator_value_rx_mbps - - @property - def indicator_value_tx_mbps(self): - """Gets the indicator_value_tx_mbps of this TrafficDetails. # noqa: E501 - - - :return: The indicator_value_tx_mbps of this TrafficDetails. # noqa: E501 - :rtype: float - """ - return self._indicator_value_tx_mbps - - @indicator_value_tx_mbps.setter - def indicator_value_tx_mbps(self, indicator_value_tx_mbps): - """Sets the indicator_value_tx_mbps of this TrafficDetails. - - - :param indicator_value_tx_mbps: The indicator_value_tx_mbps of this TrafficDetails. # noqa: E501 - :type: float - """ - - self._indicator_value_tx_mbps = indicator_value_tx_mbps - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(TrafficDetails, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, TrafficDetails): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/traffic_per_radio_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/traffic_per_radio_details.py deleted file mode 100644 index 94b5fd38e..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/traffic_per_radio_details.py +++ /dev/null @@ -1,396 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class TrafficPerRadioDetails(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'min_rx_mbps': 'float', - 'max_rx_mbps': 'float', - 'avg_rx_mbps': 'float', - 'total_rx_mbps': 'float', - 'min_tx_mbps': 'float', - 'max_tx_mbps': 'float', - 'avg_tx_mbps': 'float', - 'total_tx_mbps': 'float', - 'num_good_equipment': 'int', - 'num_warn_equipment': 'int', - 'num_bad_equipment': 'int', - 'total_aps_reported': 'int' - } - - attribute_map = { - 'min_rx_mbps': 'minRxMbps', - 'max_rx_mbps': 'maxRxMbps', - 'avg_rx_mbps': 'avgRxMbps', - 'total_rx_mbps': 'totalRxMbps', - 'min_tx_mbps': 'minTxMbps', - 'max_tx_mbps': 'maxTxMbps', - 'avg_tx_mbps': 'avgTxMbps', - 'total_tx_mbps': 'totalTxMbps', - 'num_good_equipment': 'numGoodEquipment', - 'num_warn_equipment': 'numWarnEquipment', - 'num_bad_equipment': 'numBadEquipment', - 'total_aps_reported': 'totalApsReported' - } - - def __init__(self, min_rx_mbps=None, max_rx_mbps=None, avg_rx_mbps=None, total_rx_mbps=None, min_tx_mbps=None, max_tx_mbps=None, avg_tx_mbps=None, total_tx_mbps=None, num_good_equipment=None, num_warn_equipment=None, num_bad_equipment=None, total_aps_reported=None): # noqa: E501 - """TrafficPerRadioDetails - a model defined in Swagger""" # noqa: E501 - self._min_rx_mbps = None - self._max_rx_mbps = None - self._avg_rx_mbps = None - self._total_rx_mbps = None - self._min_tx_mbps = None - self._max_tx_mbps = None - self._avg_tx_mbps = None - self._total_tx_mbps = None - self._num_good_equipment = None - self._num_warn_equipment = None - self._num_bad_equipment = None - self._total_aps_reported = None - self.discriminator = None - if min_rx_mbps is not None: - self.min_rx_mbps = min_rx_mbps - if max_rx_mbps is not None: - self.max_rx_mbps = max_rx_mbps - if avg_rx_mbps is not None: - self.avg_rx_mbps = avg_rx_mbps - if total_rx_mbps is not None: - self.total_rx_mbps = total_rx_mbps - if min_tx_mbps is not None: - self.min_tx_mbps = min_tx_mbps - if max_tx_mbps is not None: - self.max_tx_mbps = max_tx_mbps - if avg_tx_mbps is not None: - self.avg_tx_mbps = avg_tx_mbps - if total_tx_mbps is not None: - self.total_tx_mbps = total_tx_mbps - if num_good_equipment is not None: - self.num_good_equipment = num_good_equipment - if num_warn_equipment is not None: - self.num_warn_equipment = num_warn_equipment - if num_bad_equipment is not None: - self.num_bad_equipment = num_bad_equipment - if total_aps_reported is not None: - self.total_aps_reported = total_aps_reported - - @property - def min_rx_mbps(self): - """Gets the min_rx_mbps of this TrafficPerRadioDetails. # noqa: E501 - - - :return: The min_rx_mbps of this TrafficPerRadioDetails. # noqa: E501 - :rtype: float - """ - return self._min_rx_mbps - - @min_rx_mbps.setter - def min_rx_mbps(self, min_rx_mbps): - """Sets the min_rx_mbps of this TrafficPerRadioDetails. - - - :param min_rx_mbps: The min_rx_mbps of this TrafficPerRadioDetails. # noqa: E501 - :type: float - """ - - self._min_rx_mbps = min_rx_mbps - - @property - def max_rx_mbps(self): - """Gets the max_rx_mbps of this TrafficPerRadioDetails. # noqa: E501 - - - :return: The max_rx_mbps of this TrafficPerRadioDetails. # noqa: E501 - :rtype: float - """ - return self._max_rx_mbps - - @max_rx_mbps.setter - def max_rx_mbps(self, max_rx_mbps): - """Sets the max_rx_mbps of this TrafficPerRadioDetails. - - - :param max_rx_mbps: The max_rx_mbps of this TrafficPerRadioDetails. # noqa: E501 - :type: float - """ - - self._max_rx_mbps = max_rx_mbps - - @property - def avg_rx_mbps(self): - """Gets the avg_rx_mbps of this TrafficPerRadioDetails. # noqa: E501 - - - :return: The avg_rx_mbps of this TrafficPerRadioDetails. # noqa: E501 - :rtype: float - """ - return self._avg_rx_mbps - - @avg_rx_mbps.setter - def avg_rx_mbps(self, avg_rx_mbps): - """Sets the avg_rx_mbps of this TrafficPerRadioDetails. - - - :param avg_rx_mbps: The avg_rx_mbps of this TrafficPerRadioDetails. # noqa: E501 - :type: float - """ - - self._avg_rx_mbps = avg_rx_mbps - - @property - def total_rx_mbps(self): - """Gets the total_rx_mbps of this TrafficPerRadioDetails. # noqa: E501 - - - :return: The total_rx_mbps of this TrafficPerRadioDetails. # noqa: E501 - :rtype: float - """ - return self._total_rx_mbps - - @total_rx_mbps.setter - def total_rx_mbps(self, total_rx_mbps): - """Sets the total_rx_mbps of this TrafficPerRadioDetails. - - - :param total_rx_mbps: The total_rx_mbps of this TrafficPerRadioDetails. # noqa: E501 - :type: float - """ - - self._total_rx_mbps = total_rx_mbps - - @property - def min_tx_mbps(self): - """Gets the min_tx_mbps of this TrafficPerRadioDetails. # noqa: E501 - - - :return: The min_tx_mbps of this TrafficPerRadioDetails. # noqa: E501 - :rtype: float - """ - return self._min_tx_mbps - - @min_tx_mbps.setter - def min_tx_mbps(self, min_tx_mbps): - """Sets the min_tx_mbps of this TrafficPerRadioDetails. - - - :param min_tx_mbps: The min_tx_mbps of this TrafficPerRadioDetails. # noqa: E501 - :type: float - """ - - self._min_tx_mbps = min_tx_mbps - - @property - def max_tx_mbps(self): - """Gets the max_tx_mbps of this TrafficPerRadioDetails. # noqa: E501 - - - :return: The max_tx_mbps of this TrafficPerRadioDetails. # noqa: E501 - :rtype: float - """ - return self._max_tx_mbps - - @max_tx_mbps.setter - def max_tx_mbps(self, max_tx_mbps): - """Sets the max_tx_mbps of this TrafficPerRadioDetails. - - - :param max_tx_mbps: The max_tx_mbps of this TrafficPerRadioDetails. # noqa: E501 - :type: float - """ - - self._max_tx_mbps = max_tx_mbps - - @property - def avg_tx_mbps(self): - """Gets the avg_tx_mbps of this TrafficPerRadioDetails. # noqa: E501 - - - :return: The avg_tx_mbps of this TrafficPerRadioDetails. # noqa: E501 - :rtype: float - """ - return self._avg_tx_mbps - - @avg_tx_mbps.setter - def avg_tx_mbps(self, avg_tx_mbps): - """Sets the avg_tx_mbps of this TrafficPerRadioDetails. - - - :param avg_tx_mbps: The avg_tx_mbps of this TrafficPerRadioDetails. # noqa: E501 - :type: float - """ - - self._avg_tx_mbps = avg_tx_mbps - - @property - def total_tx_mbps(self): - """Gets the total_tx_mbps of this TrafficPerRadioDetails. # noqa: E501 - - - :return: The total_tx_mbps of this TrafficPerRadioDetails. # noqa: E501 - :rtype: float - """ - return self._total_tx_mbps - - @total_tx_mbps.setter - def total_tx_mbps(self, total_tx_mbps): - """Sets the total_tx_mbps of this TrafficPerRadioDetails. - - - :param total_tx_mbps: The total_tx_mbps of this TrafficPerRadioDetails. # noqa: E501 - :type: float - """ - - self._total_tx_mbps = total_tx_mbps - - @property - def num_good_equipment(self): - """Gets the num_good_equipment of this TrafficPerRadioDetails. # noqa: E501 - - - :return: The num_good_equipment of this TrafficPerRadioDetails. # noqa: E501 - :rtype: int - """ - return self._num_good_equipment - - @num_good_equipment.setter - def num_good_equipment(self, num_good_equipment): - """Sets the num_good_equipment of this TrafficPerRadioDetails. - - - :param num_good_equipment: The num_good_equipment of this TrafficPerRadioDetails. # noqa: E501 - :type: int - """ - - self._num_good_equipment = num_good_equipment - - @property - def num_warn_equipment(self): - """Gets the num_warn_equipment of this TrafficPerRadioDetails. # noqa: E501 - - - :return: The num_warn_equipment of this TrafficPerRadioDetails. # noqa: E501 - :rtype: int - """ - return self._num_warn_equipment - - @num_warn_equipment.setter - def num_warn_equipment(self, num_warn_equipment): - """Sets the num_warn_equipment of this TrafficPerRadioDetails. - - - :param num_warn_equipment: The num_warn_equipment of this TrafficPerRadioDetails. # noqa: E501 - :type: int - """ - - self._num_warn_equipment = num_warn_equipment - - @property - def num_bad_equipment(self): - """Gets the num_bad_equipment of this TrafficPerRadioDetails. # noqa: E501 - - - :return: The num_bad_equipment of this TrafficPerRadioDetails. # noqa: E501 - :rtype: int - """ - return self._num_bad_equipment - - @num_bad_equipment.setter - def num_bad_equipment(self, num_bad_equipment): - """Sets the num_bad_equipment of this TrafficPerRadioDetails. - - - :param num_bad_equipment: The num_bad_equipment of this TrafficPerRadioDetails. # noqa: E501 - :type: int - """ - - self._num_bad_equipment = num_bad_equipment - - @property - def total_aps_reported(self): - """Gets the total_aps_reported of this TrafficPerRadioDetails. # noqa: E501 - - - :return: The total_aps_reported of this TrafficPerRadioDetails. # noqa: E501 - :rtype: int - """ - return self._total_aps_reported - - @total_aps_reported.setter - def total_aps_reported(self, total_aps_reported): - """Sets the total_aps_reported of this TrafficPerRadioDetails. - - - :param total_aps_reported: The total_aps_reported of this TrafficPerRadioDetails. # noqa: E501 - :type: int - """ - - self._total_aps_reported = total_aps_reported - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(TrafficPerRadioDetails, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, TrafficPerRadioDetails): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/traffic_per_radio_details_per_radio_type_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/traffic_per_radio_details_per_radio_type_map.py deleted file mode 100644 index 1bd43dfdb..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/traffic_per_radio_details_per_radio_type_map.py +++ /dev/null @@ -1,188 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class TrafficPerRadioDetailsPerRadioTypeMap(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'is5_g_hz': 'TrafficPerRadioDetails', - 'is5_g_hz_u': 'TrafficPerRadioDetails', - 'is5_g_hz_l': 'TrafficPerRadioDetails', - 'is2dot4_g_hz': 'TrafficPerRadioDetails' - } - - attribute_map = { - 'is5_g_hz': 'is5GHz', - 'is5_g_hz_u': 'is5GHzU', - 'is5_g_hz_l': 'is5GHzL', - 'is2dot4_g_hz': 'is2dot4GHz' - } - - def __init__(self, is5_g_hz=None, is5_g_hz_u=None, is5_g_hz_l=None, is2dot4_g_hz=None): # noqa: E501 - """TrafficPerRadioDetailsPerRadioTypeMap - a model defined in Swagger""" # noqa: E501 - self._is5_g_hz = None - self._is5_g_hz_u = None - self._is5_g_hz_l = None - self._is2dot4_g_hz = None - self.discriminator = None - if is5_g_hz is not None: - self.is5_g_hz = is5_g_hz - if is5_g_hz_u is not None: - self.is5_g_hz_u = is5_g_hz_u - if is5_g_hz_l is not None: - self.is5_g_hz_l = is5_g_hz_l - if is2dot4_g_hz is not None: - self.is2dot4_g_hz = is2dot4_g_hz - - @property - def is5_g_hz(self): - """Gets the is5_g_hz of this TrafficPerRadioDetailsPerRadioTypeMap. # noqa: E501 - - - :return: The is5_g_hz of this TrafficPerRadioDetailsPerRadioTypeMap. # noqa: E501 - :rtype: TrafficPerRadioDetails - """ - return self._is5_g_hz - - @is5_g_hz.setter - def is5_g_hz(self, is5_g_hz): - """Sets the is5_g_hz of this TrafficPerRadioDetailsPerRadioTypeMap. - - - :param is5_g_hz: The is5_g_hz of this TrafficPerRadioDetailsPerRadioTypeMap. # noqa: E501 - :type: TrafficPerRadioDetails - """ - - self._is5_g_hz = is5_g_hz - - @property - def is5_g_hz_u(self): - """Gets the is5_g_hz_u of this TrafficPerRadioDetailsPerRadioTypeMap. # noqa: E501 - - - :return: The is5_g_hz_u of this TrafficPerRadioDetailsPerRadioTypeMap. # noqa: E501 - :rtype: TrafficPerRadioDetails - """ - return self._is5_g_hz_u - - @is5_g_hz_u.setter - def is5_g_hz_u(self, is5_g_hz_u): - """Sets the is5_g_hz_u of this TrafficPerRadioDetailsPerRadioTypeMap. - - - :param is5_g_hz_u: The is5_g_hz_u of this TrafficPerRadioDetailsPerRadioTypeMap. # noqa: E501 - :type: TrafficPerRadioDetails - """ - - self._is5_g_hz_u = is5_g_hz_u - - @property - def is5_g_hz_l(self): - """Gets the is5_g_hz_l of this TrafficPerRadioDetailsPerRadioTypeMap. # noqa: E501 - - - :return: The is5_g_hz_l of this TrafficPerRadioDetailsPerRadioTypeMap. # noqa: E501 - :rtype: TrafficPerRadioDetails - """ - return self._is5_g_hz_l - - @is5_g_hz_l.setter - def is5_g_hz_l(self, is5_g_hz_l): - """Sets the is5_g_hz_l of this TrafficPerRadioDetailsPerRadioTypeMap. - - - :param is5_g_hz_l: The is5_g_hz_l of this TrafficPerRadioDetailsPerRadioTypeMap. # noqa: E501 - :type: TrafficPerRadioDetails - """ - - self._is5_g_hz_l = is5_g_hz_l - - @property - def is2dot4_g_hz(self): - """Gets the is2dot4_g_hz of this TrafficPerRadioDetailsPerRadioTypeMap. # noqa: E501 - - - :return: The is2dot4_g_hz of this TrafficPerRadioDetailsPerRadioTypeMap. # noqa: E501 - :rtype: TrafficPerRadioDetails - """ - return self._is2dot4_g_hz - - @is2dot4_g_hz.setter - def is2dot4_g_hz(self, is2dot4_g_hz): - """Sets the is2dot4_g_hz of this TrafficPerRadioDetailsPerRadioTypeMap. - - - :param is2dot4_g_hz: The is2dot4_g_hz of this TrafficPerRadioDetailsPerRadioTypeMap. # noqa: E501 - :type: TrafficPerRadioDetails - """ - - self._is2dot4_g_hz = is2dot4_g_hz - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(TrafficPerRadioDetailsPerRadioTypeMap, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, TrafficPerRadioDetailsPerRadioTypeMap): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/tunnel_indicator.py b/libs/cloudapi/cloudsdk/swagger_client/models/tunnel_indicator.py deleted file mode 100644 index 8caa5759a..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/tunnel_indicator.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class TunnelIndicator(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - NO = "no" - PRIMARY = "primary" - SECONDARY = "secondary" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """TunnelIndicator - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(TunnelIndicator, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, TunnelIndicator): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/tunnel_metric_data.py b/libs/cloudapi/cloudsdk/swagger_client/models/tunnel_metric_data.py deleted file mode 100644 index 12e33bfb5..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/tunnel_metric_data.py +++ /dev/null @@ -1,252 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class TunnelMetricData(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'ip_addr': 'str', - 'cfg_time': 'int', - 'up_time': 'int', - 'pings_sent': 'int', - 'pings_recvd': 'int', - 'active_tun': 'bool' - } - - attribute_map = { - 'ip_addr': 'ipAddr', - 'cfg_time': 'cfgTime', - 'up_time': 'upTime', - 'pings_sent': 'pingsSent', - 'pings_recvd': 'pingsRecvd', - 'active_tun': 'activeTun' - } - - def __init__(self, ip_addr=None, cfg_time=None, up_time=None, pings_sent=None, pings_recvd=None, active_tun=None): # noqa: E501 - """TunnelMetricData - a model defined in Swagger""" # noqa: E501 - self._ip_addr = None - self._cfg_time = None - self._up_time = None - self._pings_sent = None - self._pings_recvd = None - self._active_tun = None - self.discriminator = None - if ip_addr is not None: - self.ip_addr = ip_addr - if cfg_time is not None: - self.cfg_time = cfg_time - if up_time is not None: - self.up_time = up_time - if pings_sent is not None: - self.pings_sent = pings_sent - if pings_recvd is not None: - self.pings_recvd = pings_recvd - if active_tun is not None: - self.active_tun = active_tun - - @property - def ip_addr(self): - """Gets the ip_addr of this TunnelMetricData. # noqa: E501 - - IP address of tunnel peer # noqa: E501 - - :return: The ip_addr of this TunnelMetricData. # noqa: E501 - :rtype: str - """ - return self._ip_addr - - @ip_addr.setter - def ip_addr(self, ip_addr): - """Sets the ip_addr of this TunnelMetricData. - - IP address of tunnel peer # noqa: E501 - - :param ip_addr: The ip_addr of this TunnelMetricData. # noqa: E501 - :type: str - """ - - self._ip_addr = ip_addr - - @property - def cfg_time(self): - """Gets the cfg_time of this TunnelMetricData. # noqa: E501 - - number of seconds tunnel was configured # noqa: E501 - - :return: The cfg_time of this TunnelMetricData. # noqa: E501 - :rtype: int - """ - return self._cfg_time - - @cfg_time.setter - def cfg_time(self, cfg_time): - """Sets the cfg_time of this TunnelMetricData. - - number of seconds tunnel was configured # noqa: E501 - - :param cfg_time: The cfg_time of this TunnelMetricData. # noqa: E501 - :type: int - """ - - self._cfg_time = cfg_time - - @property - def up_time(self): - """Gets the up_time of this TunnelMetricData. # noqa: E501 - - number of seconds tunnel was up in current bin # noqa: E501 - - :return: The up_time of this TunnelMetricData. # noqa: E501 - :rtype: int - """ - return self._up_time - - @up_time.setter - def up_time(self, up_time): - """Sets the up_time of this TunnelMetricData. - - number of seconds tunnel was up in current bin # noqa: E501 - - :param up_time: The up_time of this TunnelMetricData. # noqa: E501 - :type: int - """ - - self._up_time = up_time - - @property - def pings_sent(self): - """Gets the pings_sent of this TunnelMetricData. # noqa: E501 - - number of 'ping' sent in the current bin in case tunnel was DOWN # noqa: E501 - - :return: The pings_sent of this TunnelMetricData. # noqa: E501 - :rtype: int - """ - return self._pings_sent - - @pings_sent.setter - def pings_sent(self, pings_sent): - """Sets the pings_sent of this TunnelMetricData. - - number of 'ping' sent in the current bin in case tunnel was DOWN # noqa: E501 - - :param pings_sent: The pings_sent of this TunnelMetricData. # noqa: E501 - :type: int - """ - - self._pings_sent = pings_sent - - @property - def pings_recvd(self): - """Gets the pings_recvd of this TunnelMetricData. # noqa: E501 - - number of 'ping' response received by peer in the current bin in case tunnel was DOWN # noqa: E501 - - :return: The pings_recvd of this TunnelMetricData. # noqa: E501 - :rtype: int - """ - return self._pings_recvd - - @pings_recvd.setter - def pings_recvd(self, pings_recvd): - """Sets the pings_recvd of this TunnelMetricData. - - number of 'ping' response received by peer in the current bin in case tunnel was DOWN # noqa: E501 - - :param pings_recvd: The pings_recvd of this TunnelMetricData. # noqa: E501 - :type: int - """ - - self._pings_recvd = pings_recvd - - @property - def active_tun(self): - """Gets the active_tun of this TunnelMetricData. # noqa: E501 - - Indicates if the current tunnel is the active one # noqa: E501 - - :return: The active_tun of this TunnelMetricData. # noqa: E501 - :rtype: bool - """ - return self._active_tun - - @active_tun.setter - def active_tun(self, active_tun): - """Sets the active_tun of this TunnelMetricData. - - Indicates if the current tunnel is the active one # noqa: E501 - - :param active_tun: The active_tun of this TunnelMetricData. # noqa: E501 - :type: bool - """ - - self._active_tun = active_tun - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(TunnelMetricData, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, TunnelMetricData): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/unserializable_system_event.py b/libs/cloudapi/cloudsdk/swagger_client/models/unserializable_system_event.py deleted file mode 100644 index df5e5dee9..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/unserializable_system_event.py +++ /dev/null @@ -1,215 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class UnserializableSystemEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'model_type': 'str', - 'event_timestamp': 'int', - 'customer_id': 'int', - 'equipment_id': 'int', - 'payload': 'str' - } - - attribute_map = { - 'model_type': 'model_type', - 'event_timestamp': 'eventTimestamp', - 'customer_id': 'customerId', - 'equipment_id': 'equipmentId', - 'payload': 'payload' - } - - def __init__(self, model_type=None, event_timestamp=None, customer_id=None, equipment_id=None, payload=None): # noqa: E501 - """UnserializableSystemEvent - a model defined in Swagger""" # noqa: E501 - self._model_type = None - self._event_timestamp = None - self._customer_id = None - self._equipment_id = None - self._payload = None - self.discriminator = None - self.model_type = model_type - if event_timestamp is not None: - self.event_timestamp = event_timestamp - if customer_id is not None: - self.customer_id = customer_id - if equipment_id is not None: - self.equipment_id = equipment_id - if payload is not None: - self.payload = payload - - @property - def model_type(self): - """Gets the model_type of this UnserializableSystemEvent. # noqa: E501 - - - :return: The model_type of this UnserializableSystemEvent. # noqa: E501 - :rtype: str - """ - return self._model_type - - @model_type.setter - def model_type(self, model_type): - """Sets the model_type of this UnserializableSystemEvent. - - - :param model_type: The model_type of this UnserializableSystemEvent. # noqa: E501 - :type: str - """ - if model_type is None: - raise ValueError("Invalid value for `model_type`, must not be `None`") # noqa: E501 - - self._model_type = model_type - - @property - def event_timestamp(self): - """Gets the event_timestamp of this UnserializableSystemEvent. # noqa: E501 - - - :return: The event_timestamp of this UnserializableSystemEvent. # noqa: E501 - :rtype: int - """ - return self._event_timestamp - - @event_timestamp.setter - def event_timestamp(self, event_timestamp): - """Sets the event_timestamp of this UnserializableSystemEvent. - - - :param event_timestamp: The event_timestamp of this UnserializableSystemEvent. # noqa: E501 - :type: int - """ - - self._event_timestamp = event_timestamp - - @property - def customer_id(self): - """Gets the customer_id of this UnserializableSystemEvent. # noqa: E501 - - - :return: The customer_id of this UnserializableSystemEvent. # noqa: E501 - :rtype: int - """ - return self._customer_id - - @customer_id.setter - def customer_id(self, customer_id): - """Sets the customer_id of this UnserializableSystemEvent. - - - :param customer_id: The customer_id of this UnserializableSystemEvent. # noqa: E501 - :type: int - """ - - self._customer_id = customer_id - - @property - def equipment_id(self): - """Gets the equipment_id of this UnserializableSystemEvent. # noqa: E501 - - - :return: The equipment_id of this UnserializableSystemEvent. # noqa: E501 - :rtype: int - """ - return self._equipment_id - - @equipment_id.setter - def equipment_id(self, equipment_id): - """Sets the equipment_id of this UnserializableSystemEvent. - - - :param equipment_id: The equipment_id of this UnserializableSystemEvent. # noqa: E501 - :type: int - """ - - self._equipment_id = equipment_id - - @property - def payload(self): - """Gets the payload of this UnserializableSystemEvent. # noqa: E501 - - - :return: The payload of this UnserializableSystemEvent. # noqa: E501 - :rtype: str - """ - return self._payload - - @payload.setter - def payload(self, payload): - """Sets the payload of this UnserializableSystemEvent. - - - :param payload: The payload of this UnserializableSystemEvent. # noqa: E501 - :type: str - """ - - self._payload = payload - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(UnserializableSystemEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, UnserializableSystemEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/user_details.py b/libs/cloudapi/cloudsdk/swagger_client/models/user_details.py deleted file mode 100644 index 975a63420..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/user_details.py +++ /dev/null @@ -1,370 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class UserDetails(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'total_users': 'MinMaxAvgValueInt', - 'users_per_radio': 'MinMaxAvgValueIntPerRadioMap', - 'num_good_equipment': 'int', - 'num_warn_equipment': 'int', - 'num_bad_equipment': 'int', - 'user_device_per_manufacturer_counts': 'IntegerValueMap', - 'total_aps_reported': 'int', - 'indicator_value': 'int', - 'indicator_value_per_radio': 'IntegerPerRadioTypeMap', - 'link_quality_per_radio': 'LinkQualityAggregatedStatsPerRadioTypeMap', - 'client_activity_per_radio': 'ClientActivityAggregatedStatsPerRadioTypeMap' - } - - attribute_map = { - 'total_users': 'totalUsers', - 'users_per_radio': 'usersPerRadio', - 'num_good_equipment': 'numGoodEquipment', - 'num_warn_equipment': 'numWarnEquipment', - 'num_bad_equipment': 'numBadEquipment', - 'user_device_per_manufacturer_counts': 'userDevicePerManufacturerCounts', - 'total_aps_reported': 'totalApsReported', - 'indicator_value': 'indicatorValue', - 'indicator_value_per_radio': 'indicatorValuePerRadio', - 'link_quality_per_radio': 'linkQualityPerRadio', - 'client_activity_per_radio': 'clientActivityPerRadio' - } - - def __init__(self, total_users=None, users_per_radio=None, num_good_equipment=None, num_warn_equipment=None, num_bad_equipment=None, user_device_per_manufacturer_counts=None, total_aps_reported=None, indicator_value=None, indicator_value_per_radio=None, link_quality_per_radio=None, client_activity_per_radio=None): # noqa: E501 - """UserDetails - a model defined in Swagger""" # noqa: E501 - self._total_users = None - self._users_per_radio = None - self._num_good_equipment = None - self._num_warn_equipment = None - self._num_bad_equipment = None - self._user_device_per_manufacturer_counts = None - self._total_aps_reported = None - self._indicator_value = None - self._indicator_value_per_radio = None - self._link_quality_per_radio = None - self._client_activity_per_radio = None - self.discriminator = None - if total_users is not None: - self.total_users = total_users - if users_per_radio is not None: - self.users_per_radio = users_per_radio - if num_good_equipment is not None: - self.num_good_equipment = num_good_equipment - if num_warn_equipment is not None: - self.num_warn_equipment = num_warn_equipment - if num_bad_equipment is not None: - self.num_bad_equipment = num_bad_equipment - if user_device_per_manufacturer_counts is not None: - self.user_device_per_manufacturer_counts = user_device_per_manufacturer_counts - if total_aps_reported is not None: - self.total_aps_reported = total_aps_reported - if indicator_value is not None: - self.indicator_value = indicator_value - if indicator_value_per_radio is not None: - self.indicator_value_per_radio = indicator_value_per_radio - if link_quality_per_radio is not None: - self.link_quality_per_radio = link_quality_per_radio - if client_activity_per_radio is not None: - self.client_activity_per_radio = client_activity_per_radio - - @property - def total_users(self): - """Gets the total_users of this UserDetails. # noqa: E501 - - - :return: The total_users of this UserDetails. # noqa: E501 - :rtype: MinMaxAvgValueInt - """ - return self._total_users - - @total_users.setter - def total_users(self, total_users): - """Sets the total_users of this UserDetails. - - - :param total_users: The total_users of this UserDetails. # noqa: E501 - :type: MinMaxAvgValueInt - """ - - self._total_users = total_users - - @property - def users_per_radio(self): - """Gets the users_per_radio of this UserDetails. # noqa: E501 - - - :return: The users_per_radio of this UserDetails. # noqa: E501 - :rtype: MinMaxAvgValueIntPerRadioMap - """ - return self._users_per_radio - - @users_per_radio.setter - def users_per_radio(self, users_per_radio): - """Sets the users_per_radio of this UserDetails. - - - :param users_per_radio: The users_per_radio of this UserDetails. # noqa: E501 - :type: MinMaxAvgValueIntPerRadioMap - """ - - self._users_per_radio = users_per_radio - - @property - def num_good_equipment(self): - """Gets the num_good_equipment of this UserDetails. # noqa: E501 - - - :return: The num_good_equipment of this UserDetails. # noqa: E501 - :rtype: int - """ - return self._num_good_equipment - - @num_good_equipment.setter - def num_good_equipment(self, num_good_equipment): - """Sets the num_good_equipment of this UserDetails. - - - :param num_good_equipment: The num_good_equipment of this UserDetails. # noqa: E501 - :type: int - """ - - self._num_good_equipment = num_good_equipment - - @property - def num_warn_equipment(self): - """Gets the num_warn_equipment of this UserDetails. # noqa: E501 - - - :return: The num_warn_equipment of this UserDetails. # noqa: E501 - :rtype: int - """ - return self._num_warn_equipment - - @num_warn_equipment.setter - def num_warn_equipment(self, num_warn_equipment): - """Sets the num_warn_equipment of this UserDetails. - - - :param num_warn_equipment: The num_warn_equipment of this UserDetails. # noqa: E501 - :type: int - """ - - self._num_warn_equipment = num_warn_equipment - - @property - def num_bad_equipment(self): - """Gets the num_bad_equipment of this UserDetails. # noqa: E501 - - - :return: The num_bad_equipment of this UserDetails. # noqa: E501 - :rtype: int - """ - return self._num_bad_equipment - - @num_bad_equipment.setter - def num_bad_equipment(self, num_bad_equipment): - """Sets the num_bad_equipment of this UserDetails. - - - :param num_bad_equipment: The num_bad_equipment of this UserDetails. # noqa: E501 - :type: int - """ - - self._num_bad_equipment = num_bad_equipment - - @property - def user_device_per_manufacturer_counts(self): - """Gets the user_device_per_manufacturer_counts of this UserDetails. # noqa: E501 - - - :return: The user_device_per_manufacturer_counts of this UserDetails. # noqa: E501 - :rtype: IntegerValueMap - """ - return self._user_device_per_manufacturer_counts - - @user_device_per_manufacturer_counts.setter - def user_device_per_manufacturer_counts(self, user_device_per_manufacturer_counts): - """Sets the user_device_per_manufacturer_counts of this UserDetails. - - - :param user_device_per_manufacturer_counts: The user_device_per_manufacturer_counts of this UserDetails. # noqa: E501 - :type: IntegerValueMap - """ - - self._user_device_per_manufacturer_counts = user_device_per_manufacturer_counts - - @property - def total_aps_reported(self): - """Gets the total_aps_reported of this UserDetails. # noqa: E501 - - - :return: The total_aps_reported of this UserDetails. # noqa: E501 - :rtype: int - """ - return self._total_aps_reported - - @total_aps_reported.setter - def total_aps_reported(self, total_aps_reported): - """Sets the total_aps_reported of this UserDetails. - - - :param total_aps_reported: The total_aps_reported of this UserDetails. # noqa: E501 - :type: int - """ - - self._total_aps_reported = total_aps_reported - - @property - def indicator_value(self): - """Gets the indicator_value of this UserDetails. # noqa: E501 - - - :return: The indicator_value of this UserDetails. # noqa: E501 - :rtype: int - """ - return self._indicator_value - - @indicator_value.setter - def indicator_value(self, indicator_value): - """Sets the indicator_value of this UserDetails. - - - :param indicator_value: The indicator_value of this UserDetails. # noqa: E501 - :type: int - """ - - self._indicator_value = indicator_value - - @property - def indicator_value_per_radio(self): - """Gets the indicator_value_per_radio of this UserDetails. # noqa: E501 - - - :return: The indicator_value_per_radio of this UserDetails. # noqa: E501 - :rtype: IntegerPerRadioTypeMap - """ - return self._indicator_value_per_radio - - @indicator_value_per_radio.setter - def indicator_value_per_radio(self, indicator_value_per_radio): - """Sets the indicator_value_per_radio of this UserDetails. - - - :param indicator_value_per_radio: The indicator_value_per_radio of this UserDetails. # noqa: E501 - :type: IntegerPerRadioTypeMap - """ - - self._indicator_value_per_radio = indicator_value_per_radio - - @property - def link_quality_per_radio(self): - """Gets the link_quality_per_radio of this UserDetails. # noqa: E501 - - - :return: The link_quality_per_radio of this UserDetails. # noqa: E501 - :rtype: LinkQualityAggregatedStatsPerRadioTypeMap - """ - return self._link_quality_per_radio - - @link_quality_per_radio.setter - def link_quality_per_radio(self, link_quality_per_radio): - """Sets the link_quality_per_radio of this UserDetails. - - - :param link_quality_per_radio: The link_quality_per_radio of this UserDetails. # noqa: E501 - :type: LinkQualityAggregatedStatsPerRadioTypeMap - """ - - self._link_quality_per_radio = link_quality_per_radio - - @property - def client_activity_per_radio(self): - """Gets the client_activity_per_radio of this UserDetails. # noqa: E501 - - - :return: The client_activity_per_radio of this UserDetails. # noqa: E501 - :rtype: ClientActivityAggregatedStatsPerRadioTypeMap - """ - return self._client_activity_per_radio - - @client_activity_per_radio.setter - def client_activity_per_radio(self, client_activity_per_radio): - """Sets the client_activity_per_radio of this UserDetails. - - - :param client_activity_per_radio: The client_activity_per_radio of this UserDetails. # noqa: E501 - :type: ClientActivityAggregatedStatsPerRadioTypeMap - """ - - self._client_activity_per_radio = client_activity_per_radio - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(UserDetails, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, UserDetails): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/vlan_status_data.py b/libs/cloudapi/cloudsdk/swagger_client/models/vlan_status_data.py deleted file mode 100644 index eb7663e42..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/vlan_status_data.py +++ /dev/null @@ -1,266 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class VLANStatusData(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'ip_base': 'str', - 'subnet_mask': 'str', - 'gateway': 'str', - 'dhcp_server': 'str', - 'dns_server1': 'str', - 'dns_server2': 'str', - 'dns_server3': 'str' - } - - attribute_map = { - 'ip_base': 'ipBase', - 'subnet_mask': 'subnetMask', - 'gateway': 'gateway', - 'dhcp_server': 'dhcpServer', - 'dns_server1': 'dnsServer1', - 'dns_server2': 'dnsServer2', - 'dns_server3': 'dnsServer3' - } - - def __init__(self, ip_base=None, subnet_mask=None, gateway=None, dhcp_server=None, dns_server1=None, dns_server2=None, dns_server3=None): # noqa: E501 - """VLANStatusData - a model defined in Swagger""" # noqa: E501 - self._ip_base = None - self._subnet_mask = None - self._gateway = None - self._dhcp_server = None - self._dns_server1 = None - self._dns_server2 = None - self._dns_server3 = None - self.discriminator = None - if ip_base is not None: - self.ip_base = ip_base - if subnet_mask is not None: - self.subnet_mask = subnet_mask - if gateway is not None: - self.gateway = gateway - if dhcp_server is not None: - self.dhcp_server = dhcp_server - if dns_server1 is not None: - self.dns_server1 = dns_server1 - if dns_server2 is not None: - self.dns_server2 = dns_server2 - if dns_server3 is not None: - self.dns_server3 = dns_server3 - - @property - def ip_base(self): - """Gets the ip_base of this VLANStatusData. # noqa: E501 - - - :return: The ip_base of this VLANStatusData. # noqa: E501 - :rtype: str - """ - return self._ip_base - - @ip_base.setter - def ip_base(self, ip_base): - """Sets the ip_base of this VLANStatusData. - - - :param ip_base: The ip_base of this VLANStatusData. # noqa: E501 - :type: str - """ - - self._ip_base = ip_base - - @property - def subnet_mask(self): - """Gets the subnet_mask of this VLANStatusData. # noqa: E501 - - - :return: The subnet_mask of this VLANStatusData. # noqa: E501 - :rtype: str - """ - return self._subnet_mask - - @subnet_mask.setter - def subnet_mask(self, subnet_mask): - """Sets the subnet_mask of this VLANStatusData. - - - :param subnet_mask: The subnet_mask of this VLANStatusData. # noqa: E501 - :type: str - """ - - self._subnet_mask = subnet_mask - - @property - def gateway(self): - """Gets the gateway of this VLANStatusData. # noqa: E501 - - - :return: The gateway of this VLANStatusData. # noqa: E501 - :rtype: str - """ - return self._gateway - - @gateway.setter - def gateway(self, gateway): - """Sets the gateway of this VLANStatusData. - - - :param gateway: The gateway of this VLANStatusData. # noqa: E501 - :type: str - """ - - self._gateway = gateway - - @property - def dhcp_server(self): - """Gets the dhcp_server of this VLANStatusData. # noqa: E501 - - - :return: The dhcp_server of this VLANStatusData. # noqa: E501 - :rtype: str - """ - return self._dhcp_server - - @dhcp_server.setter - def dhcp_server(self, dhcp_server): - """Sets the dhcp_server of this VLANStatusData. - - - :param dhcp_server: The dhcp_server of this VLANStatusData. # noqa: E501 - :type: str - """ - - self._dhcp_server = dhcp_server - - @property - def dns_server1(self): - """Gets the dns_server1 of this VLANStatusData. # noqa: E501 - - - :return: The dns_server1 of this VLANStatusData. # noqa: E501 - :rtype: str - """ - return self._dns_server1 - - @dns_server1.setter - def dns_server1(self, dns_server1): - """Sets the dns_server1 of this VLANStatusData. - - - :param dns_server1: The dns_server1 of this VLANStatusData. # noqa: E501 - :type: str - """ - - self._dns_server1 = dns_server1 - - @property - def dns_server2(self): - """Gets the dns_server2 of this VLANStatusData. # noqa: E501 - - - :return: The dns_server2 of this VLANStatusData. # noqa: E501 - :rtype: str - """ - return self._dns_server2 - - @dns_server2.setter - def dns_server2(self, dns_server2): - """Sets the dns_server2 of this VLANStatusData. - - - :param dns_server2: The dns_server2 of this VLANStatusData. # noqa: E501 - :type: str - """ - - self._dns_server2 = dns_server2 - - @property - def dns_server3(self): - """Gets the dns_server3 of this VLANStatusData. # noqa: E501 - - - :return: The dns_server3 of this VLANStatusData. # noqa: E501 - :rtype: str - """ - return self._dns_server3 - - @dns_server3.setter - def dns_server3(self, dns_server3): - """Sets the dns_server3 of this VLANStatusData. - - - :param dns_server3: The dns_server3 of this VLANStatusData. # noqa: E501 - :type: str - """ - - self._dns_server3 = dns_server3 - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(VLANStatusData, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, VLANStatusData): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/vlan_status_data_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/vlan_status_data_map.py deleted file mode 100644 index 185f18585..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/vlan_status_data_map.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class VLANStatusDataMap(dict): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - if hasattr(dict, "swagger_types"): - swagger_types.update(dict.swagger_types) - - attribute_map = { - } - if hasattr(dict, "attribute_map"): - attribute_map.update(dict.attribute_map) - - def __init__(self, *args, **kwargs): # noqa: E501 - """VLANStatusDataMap - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - dict.__init__(self, *args, **kwargs) - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(VLANStatusDataMap, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, VLANStatusDataMap): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/vlan_subnet.py b/libs/cloudapi/cloudsdk/swagger_client/models/vlan_subnet.py deleted file mode 100644 index a758899b4..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/vlan_subnet.py +++ /dev/null @@ -1,306 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class VlanSubnet(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'subnet_vlan': 'int', - 'subnet_base': 'str', - 'subnet_mask': 'str', - 'subnet_gateway': 'str', - 'subnet_dhcp_server': 'str', - 'subnet_dns1': 'str', - 'subnet_dns2': 'str', - 'subnet_dns3': 'str' - } - - attribute_map = { - 'subnet_vlan': 'subnetVlan', - 'subnet_base': 'subnetBase', - 'subnet_mask': 'subnetMask', - 'subnet_gateway': 'subnetGateway', - 'subnet_dhcp_server': 'subnetDhcpServer', - 'subnet_dns1': 'subnetDns1', - 'subnet_dns2': 'subnetDns2', - 'subnet_dns3': 'subnetDns3' - } - - def __init__(self, subnet_vlan=None, subnet_base=None, subnet_mask=None, subnet_gateway=None, subnet_dhcp_server=None, subnet_dns1=None, subnet_dns2=None, subnet_dns3=None): # noqa: E501 - """VlanSubnet - a model defined in Swagger""" # noqa: E501 - self._subnet_vlan = None - self._subnet_base = None - self._subnet_mask = None - self._subnet_gateway = None - self._subnet_dhcp_server = None - self._subnet_dns1 = None - self._subnet_dns2 = None - self._subnet_dns3 = None - self.discriminator = None - if subnet_vlan is not None: - self.subnet_vlan = subnet_vlan - if subnet_base is not None: - self.subnet_base = subnet_base - if subnet_mask is not None: - self.subnet_mask = subnet_mask - if subnet_gateway is not None: - self.subnet_gateway = subnet_gateway - if subnet_dhcp_server is not None: - self.subnet_dhcp_server = subnet_dhcp_server - if subnet_dns1 is not None: - self.subnet_dns1 = subnet_dns1 - if subnet_dns2 is not None: - self.subnet_dns2 = subnet_dns2 - if subnet_dns3 is not None: - self.subnet_dns3 = subnet_dns3 - - @property - def subnet_vlan(self): - """Gets the subnet_vlan of this VlanSubnet. # noqa: E501 - - - :return: The subnet_vlan of this VlanSubnet. # noqa: E501 - :rtype: int - """ - return self._subnet_vlan - - @subnet_vlan.setter - def subnet_vlan(self, subnet_vlan): - """Sets the subnet_vlan of this VlanSubnet. - - - :param subnet_vlan: The subnet_vlan of this VlanSubnet. # noqa: E501 - :type: int - """ - - self._subnet_vlan = subnet_vlan - - @property - def subnet_base(self): - """Gets the subnet_base of this VlanSubnet. # noqa: E501 - - string representing InetAddress # noqa: E501 - - :return: The subnet_base of this VlanSubnet. # noqa: E501 - :rtype: str - """ - return self._subnet_base - - @subnet_base.setter - def subnet_base(self, subnet_base): - """Sets the subnet_base of this VlanSubnet. - - string representing InetAddress # noqa: E501 - - :param subnet_base: The subnet_base of this VlanSubnet. # noqa: E501 - :type: str - """ - - self._subnet_base = subnet_base - - @property - def subnet_mask(self): - """Gets the subnet_mask of this VlanSubnet. # noqa: E501 - - string representing InetAddress # noqa: E501 - - :return: The subnet_mask of this VlanSubnet. # noqa: E501 - :rtype: str - """ - return self._subnet_mask - - @subnet_mask.setter - def subnet_mask(self, subnet_mask): - """Sets the subnet_mask of this VlanSubnet. - - string representing InetAddress # noqa: E501 - - :param subnet_mask: The subnet_mask of this VlanSubnet. # noqa: E501 - :type: str - """ - - self._subnet_mask = subnet_mask - - @property - def subnet_gateway(self): - """Gets the subnet_gateway of this VlanSubnet. # noqa: E501 - - string representing InetAddress # noqa: E501 - - :return: The subnet_gateway of this VlanSubnet. # noqa: E501 - :rtype: str - """ - return self._subnet_gateway - - @subnet_gateway.setter - def subnet_gateway(self, subnet_gateway): - """Sets the subnet_gateway of this VlanSubnet. - - string representing InetAddress # noqa: E501 - - :param subnet_gateway: The subnet_gateway of this VlanSubnet. # noqa: E501 - :type: str - """ - - self._subnet_gateway = subnet_gateway - - @property - def subnet_dhcp_server(self): - """Gets the subnet_dhcp_server of this VlanSubnet. # noqa: E501 - - string representing InetAddress # noqa: E501 - - :return: The subnet_dhcp_server of this VlanSubnet. # noqa: E501 - :rtype: str - """ - return self._subnet_dhcp_server - - @subnet_dhcp_server.setter - def subnet_dhcp_server(self, subnet_dhcp_server): - """Sets the subnet_dhcp_server of this VlanSubnet. - - string representing InetAddress # noqa: E501 - - :param subnet_dhcp_server: The subnet_dhcp_server of this VlanSubnet. # noqa: E501 - :type: str - """ - - self._subnet_dhcp_server = subnet_dhcp_server - - @property - def subnet_dns1(self): - """Gets the subnet_dns1 of this VlanSubnet. # noqa: E501 - - string representing InetAddress # noqa: E501 - - :return: The subnet_dns1 of this VlanSubnet. # noqa: E501 - :rtype: str - """ - return self._subnet_dns1 - - @subnet_dns1.setter - def subnet_dns1(self, subnet_dns1): - """Sets the subnet_dns1 of this VlanSubnet. - - string representing InetAddress # noqa: E501 - - :param subnet_dns1: The subnet_dns1 of this VlanSubnet. # noqa: E501 - :type: str - """ - - self._subnet_dns1 = subnet_dns1 - - @property - def subnet_dns2(self): - """Gets the subnet_dns2 of this VlanSubnet. # noqa: E501 - - string representing InetAddress # noqa: E501 - - :return: The subnet_dns2 of this VlanSubnet. # noqa: E501 - :rtype: str - """ - return self._subnet_dns2 - - @subnet_dns2.setter - def subnet_dns2(self, subnet_dns2): - """Sets the subnet_dns2 of this VlanSubnet. - - string representing InetAddress # noqa: E501 - - :param subnet_dns2: The subnet_dns2 of this VlanSubnet. # noqa: E501 - :type: str - """ - - self._subnet_dns2 = subnet_dns2 - - @property - def subnet_dns3(self): - """Gets the subnet_dns3 of this VlanSubnet. # noqa: E501 - - string representing InetAddress # noqa: E501 - - :return: The subnet_dns3 of this VlanSubnet. # noqa: E501 - :rtype: str - """ - return self._subnet_dns3 - - @subnet_dns3.setter - def subnet_dns3(self, subnet_dns3): - """Sets the subnet_dns3 of this VlanSubnet. - - string representing InetAddress # noqa: E501 - - :param subnet_dns3: The subnet_dns3 of this VlanSubnet. # noqa: E501 - :type: str - """ - - self._subnet_dns3 = subnet_dns3 - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(VlanSubnet, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, VlanSubnet): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/web_token_acl_template.py b/libs/cloudapi/cloudsdk/swagger_client/models/web_token_acl_template.py deleted file mode 100644 index 5a0b43b65..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/web_token_acl_template.py +++ /dev/null @@ -1,110 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class WebTokenAclTemplate(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'acl_template': 'AclTemplate' - } - - attribute_map = { - 'acl_template': 'aclTemplate' - } - - def __init__(self, acl_template=None): # noqa: E501 - """WebTokenAclTemplate - a model defined in Swagger""" # noqa: E501 - self._acl_template = None - self.discriminator = None - if acl_template is not None: - self.acl_template = acl_template - - @property - def acl_template(self): - """Gets the acl_template of this WebTokenAclTemplate. # noqa: E501 - - - :return: The acl_template of this WebTokenAclTemplate. # noqa: E501 - :rtype: AclTemplate - """ - return self._acl_template - - @acl_template.setter - def acl_template(self, acl_template): - """Sets the acl_template of this WebTokenAclTemplate. - - - :param acl_template: The acl_template of this WebTokenAclTemplate. # noqa: E501 - :type: AclTemplate - """ - - self._acl_template = acl_template - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(WebTokenAclTemplate, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, WebTokenAclTemplate): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/web_token_request.py b/libs/cloudapi/cloudsdk/swagger_client/models/web_token_request.py deleted file mode 100644 index 632f7de0c..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/web_token_request.py +++ /dev/null @@ -1,164 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class WebTokenRequest(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'user_id': 'str', - 'password': 'str', - 'refresh_token': 'str' - } - - attribute_map = { - 'user_id': 'userId', - 'password': 'password', - 'refresh_token': 'refreshToken' - } - - def __init__(self, user_id='support@example.com', password='support', refresh_token=None): # noqa: E501 - """WebTokenRequest - a model defined in Swagger""" # noqa: E501 - self._user_id = None - self._password = None - self._refresh_token = None - self.discriminator = None - self.user_id = user_id - self.password = password - if refresh_token is not None: - self.refresh_token = refresh_token - - @property - def user_id(self): - """Gets the user_id of this WebTokenRequest. # noqa: E501 - - - :return: The user_id of this WebTokenRequest. # noqa: E501 - :rtype: str - """ - return self._user_id - - @user_id.setter - def user_id(self, user_id): - """Sets the user_id of this WebTokenRequest. - - - :param user_id: The user_id of this WebTokenRequest. # noqa: E501 - :type: str - """ - if user_id is None: - raise ValueError("Invalid value for `user_id`, must not be `None`") # noqa: E501 - - self._user_id = user_id - - @property - def password(self): - """Gets the password of this WebTokenRequest. # noqa: E501 - - - :return: The password of this WebTokenRequest. # noqa: E501 - :rtype: str - """ - return self._password - - @password.setter - def password(self, password): - """Sets the password of this WebTokenRequest. - - - :param password: The password of this WebTokenRequest. # noqa: E501 - :type: str - """ - if password is None: - raise ValueError("Invalid value for `password`, must not be `None`") # noqa: E501 - - self._password = password - - @property - def refresh_token(self): - """Gets the refresh_token of this WebTokenRequest. # noqa: E501 - - - :return: The refresh_token of this WebTokenRequest. # noqa: E501 - :rtype: str - """ - return self._refresh_token - - @refresh_token.setter - def refresh_token(self, refresh_token): - """Sets the refresh_token of this WebTokenRequest. - - - :param refresh_token: The refresh_token of this WebTokenRequest. # noqa: E501 - :type: str - """ - - self._refresh_token = refresh_token - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(WebTokenRequest, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, WebTokenRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/web_token_result.py b/libs/cloudapi/cloudsdk/swagger_client/models/web_token_result.py deleted file mode 100644 index be97b5bbc..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/web_token_result.py +++ /dev/null @@ -1,266 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class WebTokenResult(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'access_token': 'str', - 'refresh_token': 'str', - 'id_token': 'str', - 'token_type': 'str', - 'expires_in': 'int', - 'idle_timeout': 'int', - 'acl_template': 'WebTokenAclTemplate' - } - - attribute_map = { - 'access_token': 'access_token', - 'refresh_token': 'refresh_token', - 'id_token': 'id_token', - 'token_type': 'token_type', - 'expires_in': 'expires_in', - 'idle_timeout': 'idle_timeout', - 'acl_template': 'aclTemplate' - } - - def __init__(self, access_token=None, refresh_token=None, id_token=None, token_type=None, expires_in=None, idle_timeout=None, acl_template=None): # noqa: E501 - """WebTokenResult - a model defined in Swagger""" # noqa: E501 - self._access_token = None - self._refresh_token = None - self._id_token = None - self._token_type = None - self._expires_in = None - self._idle_timeout = None - self._acl_template = None - self.discriminator = None - if access_token is not None: - self.access_token = access_token - if refresh_token is not None: - self.refresh_token = refresh_token - if id_token is not None: - self.id_token = id_token - if token_type is not None: - self.token_type = token_type - if expires_in is not None: - self.expires_in = expires_in - if idle_timeout is not None: - self.idle_timeout = idle_timeout - if acl_template is not None: - self.acl_template = acl_template - - @property - def access_token(self): - """Gets the access_token of this WebTokenResult. # noqa: E501 - - - :return: The access_token of this WebTokenResult. # noqa: E501 - :rtype: str - """ - return self._access_token - - @access_token.setter - def access_token(self, access_token): - """Sets the access_token of this WebTokenResult. - - - :param access_token: The access_token of this WebTokenResult. # noqa: E501 - :type: str - """ - - self._access_token = access_token - - @property - def refresh_token(self): - """Gets the refresh_token of this WebTokenResult. # noqa: E501 - - - :return: The refresh_token of this WebTokenResult. # noqa: E501 - :rtype: str - """ - return self._refresh_token - - @refresh_token.setter - def refresh_token(self, refresh_token): - """Sets the refresh_token of this WebTokenResult. - - - :param refresh_token: The refresh_token of this WebTokenResult. # noqa: E501 - :type: str - """ - - self._refresh_token = refresh_token - - @property - def id_token(self): - """Gets the id_token of this WebTokenResult. # noqa: E501 - - - :return: The id_token of this WebTokenResult. # noqa: E501 - :rtype: str - """ - return self._id_token - - @id_token.setter - def id_token(self, id_token): - """Sets the id_token of this WebTokenResult. - - - :param id_token: The id_token of this WebTokenResult. # noqa: E501 - :type: str - """ - - self._id_token = id_token - - @property - def token_type(self): - """Gets the token_type of this WebTokenResult. # noqa: E501 - - - :return: The token_type of this WebTokenResult. # noqa: E501 - :rtype: str - """ - return self._token_type - - @token_type.setter - def token_type(self, token_type): - """Sets the token_type of this WebTokenResult. - - - :param token_type: The token_type of this WebTokenResult. # noqa: E501 - :type: str - """ - - self._token_type = token_type - - @property - def expires_in(self): - """Gets the expires_in of this WebTokenResult. # noqa: E501 - - - :return: The expires_in of this WebTokenResult. # noqa: E501 - :rtype: int - """ - return self._expires_in - - @expires_in.setter - def expires_in(self, expires_in): - """Sets the expires_in of this WebTokenResult. - - - :param expires_in: The expires_in of this WebTokenResult. # noqa: E501 - :type: int - """ - - self._expires_in = expires_in - - @property - def idle_timeout(self): - """Gets the idle_timeout of this WebTokenResult. # noqa: E501 - - - :return: The idle_timeout of this WebTokenResult. # noqa: E501 - :rtype: int - """ - return self._idle_timeout - - @idle_timeout.setter - def idle_timeout(self, idle_timeout): - """Sets the idle_timeout of this WebTokenResult. - - - :param idle_timeout: The idle_timeout of this WebTokenResult. # noqa: E501 - :type: int - """ - - self._idle_timeout = idle_timeout - - @property - def acl_template(self): - """Gets the acl_template of this WebTokenResult. # noqa: E501 - - - :return: The acl_template of this WebTokenResult. # noqa: E501 - :rtype: WebTokenAclTemplate - """ - return self._acl_template - - @acl_template.setter - def acl_template(self, acl_template): - """Sets the acl_template of this WebTokenResult. - - - :param acl_template: The acl_template of this WebTokenResult. # noqa: E501 - :type: WebTokenAclTemplate - """ - - self._acl_template = acl_template - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(WebTokenResult, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, WebTokenResult): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/wep_auth_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/wep_auth_type.py deleted file mode 100644 index a0f9512f1..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/wep_auth_type.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class WepAuthType(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - OPEN = "open" - SHARED = "shared" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """WepAuthType - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(WepAuthType, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, WepAuthType): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/wep_configuration.py b/libs/cloudapi/cloudsdk/swagger_client/models/wep_configuration.py deleted file mode 100644 index 7d0f9d6c3..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/wep_configuration.py +++ /dev/null @@ -1,162 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class WepConfiguration(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'primary_tx_key_id': 'int', - 'wep_keys': 'list[WepKey]', - 'wep_auth_type': 'WepAuthType' - } - - attribute_map = { - 'primary_tx_key_id': 'primaryTxKeyId', - 'wep_keys': 'wepKeys', - 'wep_auth_type': 'wepAuthType' - } - - def __init__(self, primary_tx_key_id=None, wep_keys=None, wep_auth_type=None): # noqa: E501 - """WepConfiguration - a model defined in Swagger""" # noqa: E501 - self._primary_tx_key_id = None - self._wep_keys = None - self._wep_auth_type = None - self.discriminator = None - if primary_tx_key_id is not None: - self.primary_tx_key_id = primary_tx_key_id - if wep_keys is not None: - self.wep_keys = wep_keys - if wep_auth_type is not None: - self.wep_auth_type = wep_auth_type - - @property - def primary_tx_key_id(self): - """Gets the primary_tx_key_id of this WepConfiguration. # noqa: E501 - - - :return: The primary_tx_key_id of this WepConfiguration. # noqa: E501 - :rtype: int - """ - return self._primary_tx_key_id - - @primary_tx_key_id.setter - def primary_tx_key_id(self, primary_tx_key_id): - """Sets the primary_tx_key_id of this WepConfiguration. - - - :param primary_tx_key_id: The primary_tx_key_id of this WepConfiguration. # noqa: E501 - :type: int - """ - - self._primary_tx_key_id = primary_tx_key_id - - @property - def wep_keys(self): - """Gets the wep_keys of this WepConfiguration. # noqa: E501 - - - :return: The wep_keys of this WepConfiguration. # noqa: E501 - :rtype: list[WepKey] - """ - return self._wep_keys - - @wep_keys.setter - def wep_keys(self, wep_keys): - """Sets the wep_keys of this WepConfiguration. - - - :param wep_keys: The wep_keys of this WepConfiguration. # noqa: E501 - :type: list[WepKey] - """ - - self._wep_keys = wep_keys - - @property - def wep_auth_type(self): - """Gets the wep_auth_type of this WepConfiguration. # noqa: E501 - - - :return: The wep_auth_type of this WepConfiguration. # noqa: E501 - :rtype: WepAuthType - """ - return self._wep_auth_type - - @wep_auth_type.setter - def wep_auth_type(self, wep_auth_type): - """Sets the wep_auth_type of this WepConfiguration. - - - :param wep_auth_type: The wep_auth_type of this WepConfiguration. # noqa: E501 - :type: WepAuthType - """ - - self._wep_auth_type = wep_auth_type - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(WepConfiguration, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, WepConfiguration): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/wep_key.py b/libs/cloudapi/cloudsdk/swagger_client/models/wep_key.py deleted file mode 100644 index 1290841b0..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/wep_key.py +++ /dev/null @@ -1,162 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class WepKey(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'tx_key': 'str', - 'tx_key_converted': 'str', - 'tx_key_type': 'WepType' - } - - attribute_map = { - 'tx_key': 'txKey', - 'tx_key_converted': 'txKeyConverted', - 'tx_key_type': 'txKeyType' - } - - def __init__(self, tx_key=None, tx_key_converted=None, tx_key_type=None): # noqa: E501 - """WepKey - a model defined in Swagger""" # noqa: E501 - self._tx_key = None - self._tx_key_converted = None - self._tx_key_type = None - self.discriminator = None - if tx_key is not None: - self.tx_key = tx_key - if tx_key_converted is not None: - self.tx_key_converted = tx_key_converted - if tx_key_type is not None: - self.tx_key_type = tx_key_type - - @property - def tx_key(self): - """Gets the tx_key of this WepKey. # noqa: E501 - - - :return: The tx_key of this WepKey. # noqa: E501 - :rtype: str - """ - return self._tx_key - - @tx_key.setter - def tx_key(self, tx_key): - """Sets the tx_key of this WepKey. - - - :param tx_key: The tx_key of this WepKey. # noqa: E501 - :type: str - """ - - self._tx_key = tx_key - - @property - def tx_key_converted(self): - """Gets the tx_key_converted of this WepKey. # noqa: E501 - - - :return: The tx_key_converted of this WepKey. # noqa: E501 - :rtype: str - """ - return self._tx_key_converted - - @tx_key_converted.setter - def tx_key_converted(self, tx_key_converted): - """Sets the tx_key_converted of this WepKey. - - - :param tx_key_converted: The tx_key_converted of this WepKey. # noqa: E501 - :type: str - """ - - self._tx_key_converted = tx_key_converted - - @property - def tx_key_type(self): - """Gets the tx_key_type of this WepKey. # noqa: E501 - - - :return: The tx_key_type of this WepKey. # noqa: E501 - :rtype: WepType - """ - return self._tx_key_type - - @tx_key_type.setter - def tx_key_type(self, tx_key_type): - """Sets the tx_key_type of this WepKey. - - - :param tx_key_type: The tx_key_type of this WepKey. # noqa: E501 - :type: WepType - """ - - self._tx_key_type = tx_key_type - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(WepKey, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, WepKey): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/wep_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/wep_type.py deleted file mode 100644 index f88f88bc7..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/wep_type.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class WepType(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - WEP64 = "wep64" - WEP128 = "wep128" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """WepType - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(WepType, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, WepType): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/wlan_reason_code.py b/libs/cloudapi/cloudsdk/swagger_client/models/wlan_reason_code.py deleted file mode 100644 index b95ad771b..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/wlan_reason_code.py +++ /dev/null @@ -1,150 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class WlanReasonCode(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - WLAN_REASON_UNSPECIFIED = "WLAN_REASON_UNSPECIFIED" - WLAN_REASON_PREV_AUTH_NOT_VALID = "WLAN_REASON_PREV_AUTH_NOT_VALID" - WLAN_REASON_DEAUTH_LEAVING = "WLAN_REASON_DEAUTH_LEAVING" - WLAN_REASON_DISASSOC_DUE_TO_INACTIVITY = "WLAN_REASON_DISASSOC_DUE_TO_INACTIVITY" - WLAN_REASON_DISASSOC_AP_BUSY = "WLAN_REASON_DISASSOC_AP_BUSY" - WLAN_REASON_CLASS2_FRAME_FROM_NONAUTH_STA = "WLAN_REASON_CLASS2_FRAME_FROM_NONAUTH_STA" - WLAN_REASON_CLASS3_FRAME_FROM_NONASSOC_STA = "WLAN_REASON_CLASS3_FRAME_FROM_NONASSOC_STA" - WLAN_REASON_DISASSOC_STA_HAS_LEFT = "WLAN_REASON_DISASSOC_STA_HAS_LEFT" - WLAN_REASON_STA_REQ_ASSOC_WITHOUT_AUTH = "WLAN_REASON_STA_REQ_ASSOC_WITHOUT_AUTH" - WLAN_REASON_PWR_CAPABILITY_NOT_VALID = "WLAN_REASON_PWR_CAPABILITY_NOT_VALID" - WLAN_REASON_SUPPORTED_CHANNEL_NOT_VALID = "WLAN_REASON_SUPPORTED_CHANNEL_NOT_VALID" - WLAN_REASON_BSS_TRANSITION_DISASSOC = "WLAN_REASON_BSS_TRANSITION_DISASSOC" - WLAN_REASON_INVALID_IE = "WLAN_REASON_INVALID_IE" - WLAN_REASON_MICHAEL_MIC_FAILURE = "WLAN_REASON_MICHAEL_MIC_FAILURE" - WLAN_REASON_4WAY_HANDSHAKE_TIMEOUT = "WLAN_REASON_4WAY_HANDSHAKE_TIMEOUT" - WLAN_REASON_GROUP_KEY_UPDATE_TIMEOUT = "WLAN_REASON_GROUP_KEY_UPDATE_TIMEOUT" - WLAN_REASON_IE_IN_4WAY_DIFFERS = "WLAN_REASON_IE_IN_4WAY_DIFFERS" - WLAN_REASON_GROUP_CIPHER_NOT_VALID = "WLAN_REASON_GROUP_CIPHER_NOT_VALID" - WLAN_REASON_PAIRWISE_CIPHER_NOT_VALID = "WLAN_REASON_PAIRWISE_CIPHER_NOT_VALID" - WLAN_REASON_AKMP_NOT_VALID = "WLAN_REASON_AKMP_NOT_VALID" - WLAN_REASON_UNSUPPORTED_RSN_IE_VERSION = "WLAN_REASON_UNSUPPORTED_RSN_IE_VERSION" - WLAN_REASON_INVALID_RSN_IE_CAPAB = "WLAN_REASON_INVALID_RSN_IE_CAPAB" - WLAN_REASON_IEEE_802_1X_AUTH_FAILED = "WLAN_REASON_IEEE_802_1X_AUTH_FAILED" - WLAN_REASON_CIPHER_SUITE_REJECTED = "WLAN_REASON_CIPHER_SUITE_REJECTED" - WLAN_REASON_TDLS_TEARDOWN_UNREACHABLE = "WLAN_REASON_TDLS_TEARDOWN_UNREACHABLE" - WLAN_REASON_TDLS_TEARDOWN_UNSPECIFIED = "WLAN_REASON_TDLS_TEARDOWN_UNSPECIFIED" - WLAN_REASON_SSP_REQUESTED_DISASSOC = "WLAN_REASON_SSP_REQUESTED_DISASSOC" - WLAN_REASON_NO_SSP_ROAMING_AGREEMENT = "WLAN_REASON_NO_SSP_ROAMING_AGREEMENT" - WLAN_REASON_BAD_CIPHER_OR_AKM = "WLAN_REASON_BAD_CIPHER_OR_AKM" - WLAN_REASON_NOT_AUTHORIZED_THIS_LOCATION = "WLAN_REASON_NOT_AUTHORIZED_THIS_LOCATION" - WLAN_REASON_SERVICE_CHANGE_PRECLUDES_TS = "WLAN_REASON_SERVICE_CHANGE_PRECLUDES_TS" - WLAN_REASON_UNSPECIFIED_QOS_REASON = "WLAN_REASON_UNSPECIFIED_QOS_REASON" - WLAN_REASON_NOT_ENOUGH_BANDWIDTH = "WLAN_REASON_NOT_ENOUGH_BANDWIDTH" - WLAN_REASON_DISASSOC_LOW_ACK = "WLAN_REASON_DISASSOC_LOW_ACK" - WLAN_REASON_EXCEEDED_TXOP = "WLAN_REASON_EXCEEDED_TXOP" - WLAN_REASON_STA_LEAVING = "WLAN_REASON_STA_LEAVING" - WLAN_REASON_END_TS_BA_DLS = "WLAN_REASON_END_TS_BA_DLS" - WLAN_REASON_UNKNOWN_TS_BA = "WLAN_REASON_UNKNOWN_TS_BA" - WLAN_REASON_TIMEOUT = "WLAN_REASON_TIMEOUT" - WLAN_REASON_PEERKEY_MISMATCH = "WLAN_REASON_PEERKEY_MISMATCH" - WLAN_REASON_AUTHORIZED_ACCESS_LIMIT_REACHED = "WLAN_REASON_AUTHORIZED_ACCESS_LIMIT_REACHED" - WLAN_REASON_EXTERNAL_SERVICE_REQUIREMENTS = "WLAN_REASON_EXTERNAL_SERVICE_REQUIREMENTS" - WLAN_REASON_INVALID_FT_ACTION_FRAME_COUNT = "WLAN_REASON_INVALID_FT_ACTION_FRAME_COUNT" - WLAN_REASON_INVALID_PMKID = "WLAN_REASON_INVALID_PMKID" - WLAN_REASON_INVALID_MDE = "WLAN_REASON_INVALID_MDE" - WLAN_REASON_INVALID_FTE = "WLAN_REASON_INVALID_FTE" - WLAN_REASON_MESH_PEERING_CANCELLED = "WLAN_REASON_MESH_PEERING_CANCELLED" - WLAN_REASON_MESH_MAX_PEERS = "WLAN_REASON_MESH_MAX_PEERS" - WLAN_REASON_MESH_CONFIG_POLICY_VIOLATION = "WLAN_REASON_MESH_CONFIG_POLICY_VIOLATION" - WLAN_REASON_MESH_CLOSE_RCVD = "WLAN_REASON_MESH_CLOSE_RCVD" - WLAN_REASON_MESH_MAX_RETRIES = "WLAN_REASON_MESH_MAX_RETRIES" - WLAN_REASON_MESH_CONFIRM_TIMEOUT = "WLAN_REASON_MESH_CONFIRM_TIMEOUT" - WLAN_REASON_MESH_INVALID_GTK = "WLAN_REASON_MESH_INVALID_GTK" - WLAN_REASON_MESH_INCONSISTENT_PARAMS = "WLAN_REASON_MESH_INCONSISTENT_PARAMS" - WLAN_REASON_MESH_INVALID_SECURITY_CAP = "WLAN_REASON_MESH_INVALID_SECURITY_CAP" - WLAN_REASON_MESH_PATH_ERROR_NO_PROXY_INFO = "WLAN_REASON_MESH_PATH_ERROR_NO_PROXY_INFO" - WLAN_REASON_MESH_PATH_ERROR_NO_FORWARDING_INFO = "WLAN_REASON_MESH_PATH_ERROR_NO_FORWARDING_INFO" - WLAN_REASON_MESH_PATH_ERROR_DEST_UNREACHABLE = "WLAN_REASON_MESH_PATH_ERROR_DEST_UNREACHABLE" - WLAN_REASON_MAC_ADDRESS_ALREADY_EXISTS_IN_MBSS = "WLAN_REASON_MAC_ADDRESS_ALREADY_EXISTS_IN_MBSS" - WLAN_REASON_MESH_CHANNEL_SWITCH_REGULATORY_REQ = "WLAN_REASON_MESH_CHANNEL_SWITCH_REGULATORY_REQ" - WLAN_REASON_MESH_CHANNEL_SWITCH_UNSPECIFIED = "WLAN_REASON_MESH_CHANNEL_SWITCH_UNSPECIFIED" - UNSUPPORTED = "UNSUPPORTED" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """WlanReasonCode - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(WlanReasonCode, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, WlanReasonCode): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/wlan_status_code.py b/libs/cloudapi/cloudsdk/swagger_client/models/wlan_status_code.py deleted file mode 100644 index 9d86a6336..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/wlan_status_code.py +++ /dev/null @@ -1,189 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class WlanStatusCode(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - WLAN_STATUS_SUCCESS = "WLAN_STATUS_SUCCESS" - WLAN_STATUS_UNSPECIFIED_FAILURE = "WLAN_STATUS_UNSPECIFIED_FAILURE" - WLAN_STATUS_TDLS_WAKEUP_ALTERNATE = "WLAN_STATUS_TDLS_WAKEUP_ALTERNATE" - WLAN_STATUS_TDLS_WAKEUP_REJECT = "WLAN_STATUS_TDLS_WAKEUP_REJECT" - WLAN_STATUS_SECURITY_DISABLED = "WLAN_STATUS_SECURITY_DISABLED" - WLAN_STATUS_UNACCEPTABLE_LIFETIME = "WLAN_STATUS_UNACCEPTABLE_LIFETIME" - WLAN_STATUS_NOT_IN_SAME_BSS = "WLAN_STATUS_NOT_IN_SAME_BSS" - WLAN_STATUS_CAPS_UNSUPPORTED = "WLAN_STATUS_CAPS_UNSUPPORTED" - WLAN_STATUS_REASSOC_NO_ASSOC = "WLAN_STATUS_REASSOC_NO_ASSOC" - WLAN_STATUS_ASSOC_DENIED_UNSPEC = "WLAN_STATUS_ASSOC_DENIED_UNSPEC" - WLAN_STATUS_NOT_SUPPORTED_AUTH_ALG = "WLAN_STATUS_NOT_SUPPORTED_AUTH_ALG" - WLAN_STATUS_UNKNOWN_AUTH_TRANSACTION = "WLAN_STATUS_UNKNOWN_AUTH_TRANSACTION" - WLAN_STATUS_CHALLENGE_FAIL = "WLAN_STATUS_CHALLENGE_FAIL" - WLAN_STATUS_AUTH_TIMEOUT = "WLAN_STATUS_AUTH_TIMEOUT" - WLAN_STATUS_AP_UNABLE_TO_HANDLE_NEW_STA = "WLAN_STATUS_AP_UNABLE_TO_HANDLE_NEW_STA" - WLAN_STATUS_ASSOC_DENIED_RATES = "WLAN_STATUS_ASSOC_DENIED_RATES" - WLAN_STATUS_ASSOC_DENIED_NOSHORT = "WLAN_STATUS_ASSOC_DENIED_NOSHORT" - WLAN_STATUS_SPEC_MGMT_REQUIRED = "WLAN_STATUS_SPEC_MGMT_REQUIRED" - WLAN_STATUS_PWR_CAPABILITY_NOT_VALID = "WLAN_STATUS_PWR_CAPABILITY_NOT_VALID" - WLAN_STATUS_SUPPORTED_CHANNEL_NOT_VALID = "WLAN_STATUS_SUPPORTED_CHANNEL_NOT_VALID" - WLAN_STATUS_ASSOC_DENIED_NO_SHORT_SLOT_TIME = "WLAN_STATUS_ASSOC_DENIED_NO_SHORT_SLOT_TIME" - WLAN_STATUS_ASSOC_DENIED_NO_HT = "WLAN_STATUS_ASSOC_DENIED_NO_HT" - WLAN_STATUS_R0KH_UNREACHABLE = "WLAN_STATUS_R0KH_UNREACHABLE" - WLAN_STATUS_ASSOC_DENIED_NO_PCO = "WLAN_STATUS_ASSOC_DENIED_NO_PCO" - WLAN_STATUS_ASSOC_REJECTED_TEMPORARILY = "WLAN_STATUS_ASSOC_REJECTED_TEMPORARILY" - WLAN_STATUS_ROBUST_MGMT_FRAME_POLICY_VIOLATION = "WLAN_STATUS_ROBUST_MGMT_FRAME_POLICY_VIOLATION" - WLAN_STATUS_UNSPECIFIED_QOS_FAILURE = "WLAN_STATUS_UNSPECIFIED_QOS_FAILURE" - WLAN_STATUS_DENIED_INSUFFICIENT_BANDWIDTH = "WLAN_STATUS_DENIED_INSUFFICIENT_BANDWIDTH" - WLAN_STATUS_DENIED_POOR_CHANNEL_CONDITIONS = "WLAN_STATUS_DENIED_POOR_CHANNEL_CONDITIONS" - WLAN_STATUS_DENIED_QOS_NOT_SUPPORTED = "WLAN_STATUS_DENIED_QOS_NOT_SUPPORTED" - WLAN_STATUS_REQUEST_DECLINED = "WLAN_STATUS_REQUEST_DECLINED" - WLAN_STATUS_INVALID_PARAMETERS = "WLAN_STATUS_INVALID_PARAMETERS" - WLAN_STATUS_REJECTED_WITH_SUGGESTED_CHANGES = "WLAN_STATUS_REJECTED_WITH_SUGGESTED_CHANGES" - WLAN_STATUS_INVALID_IE = "WLAN_STATUS_INVALID_IE" - WLAN_STATUS_GROUP_CIPHER_NOT_VALID = "WLAN_STATUS_GROUP_CIPHER_NOT_VALID" - WLAN_STATUS_PAIRWISE_CIPHER_NOT_VALID = "WLAN_STATUS_PAIRWISE_CIPHER_NOT_VALID" - WLAN_STATUS_AKMP_NOT_VALID = "WLAN_STATUS_AKMP_NOT_VALID" - WLAN_STATUS_UNSUPPORTED_RSN_IE_VERSION = "WLAN_STATUS_UNSUPPORTED_RSN_IE_VERSION" - WLAN_STATUS_INVALID_RSN_IE_CAPAB = "WLAN_STATUS_INVALID_RSN_IE_CAPAB" - WLAN_STATUS_CIPHER_REJECTED_PER_POLICY = "WLAN_STATUS_CIPHER_REJECTED_PER_POLICY" - WLAN_STATUS_TS_NOT_CREATED = "WLAN_STATUS_TS_NOT_CREATED" - WLAN_STATUS_DIRECT_LINK_NOT_ALLOWED = "WLAN_STATUS_DIRECT_LINK_NOT_ALLOWED" - WLAN_STATUS_DEST_STA_NOT_PRESENT = "WLAN_STATUS_DEST_STA_NOT_PRESENT" - WLAN_STATUS_DEST_STA_NOT_QOS_STA = "WLAN_STATUS_DEST_STA_NOT_QOS_STA" - WLAN_STATUS_ASSOC_DENIED_LISTEN_INT_TOO_LARGE = "WLAN_STATUS_ASSOC_DENIED_LISTEN_INT_TOO_LARGE" - WLAN_STATUS_INVALID_FT_ACTION_FRAME_COUNT = "WLAN_STATUS_INVALID_FT_ACTION_FRAME_COUNT" - WLAN_STATUS_INVALID_PMKID = "WLAN_STATUS_INVALID_PMKID" - WLAN_STATUS_INVALID_MDIE = "WLAN_STATUS_INVALID_MDIE" - WLAN_STATUS_INVALID_FTIE = "WLAN_STATUS_INVALID_FTIE" - WLAN_STATUS_REQUESTED_TCLAS_NOT_SUPPORTED = "WLAN_STATUS_REQUESTED_TCLAS_NOT_SUPPORTED" - WLAN_STATUS_INSUFFICIENT_TCLAS_PROCESSING_RESOURCES = "WLAN_STATUS_INSUFFICIENT_TCLAS_PROCESSING_RESOURCES" - WLAN_STATUS_TRY_ANOTHER_BSS = "WLAN_STATUS_TRY_ANOTHER_BSS" - WLAN_STATUS_GAS_ADV_PROTO_NOT_SUPPORTED = "WLAN_STATUS_GAS_ADV_PROTO_NOT_SUPPORTED" - WLAN_STATUS_NO_OUTSTANDING_GAS_REQ = "WLAN_STATUS_NO_OUTSTANDING_GAS_REQ" - WLAN_STATUS_GAS_RESP_NOT_RECEIVED = "WLAN_STATUS_GAS_RESP_NOT_RECEIVED" - WLAN_STATUS_STA_TIMED_OUT_WAITING_FOR_GAS_RESP = "WLAN_STATUS_STA_TIMED_OUT_WAITING_FOR_GAS_RESP" - WLAN_STATUS_GAS_RESP_LARGER_THAN_LIMIT = "WLAN_STATUS_GAS_RESP_LARGER_THAN_LIMIT" - WLAN_STATUS_REQ_REFUSED_HOME = "WLAN_STATUS_REQ_REFUSED_HOME" - WLAN_STATUS_ADV_SRV_UNREACHABLE = "WLAN_STATUS_ADV_SRV_UNREACHABLE" - WLAN_STATUS_REQ_REFUSED_SSPN = "WLAN_STATUS_REQ_REFUSED_SSPN" - WLAN_STATUS_REQ_REFUSED_UNAUTH_ACCESS = "WLAN_STATUS_REQ_REFUSED_UNAUTH_ACCESS" - WLAN_STATUS_INVALID_RSNIE = "WLAN_STATUS_INVALID_RSNIE" - WLAN_STATUS_U_APSD_COEX_NOT_SUPPORTED = "WLAN_STATUS_U_APSD_COEX_NOT_SUPPORTED" - WLAN_STATUS_U_APSD_COEX_MODE_NOT_SUPPORTED = "WLAN_STATUS_U_APSD_COEX_MODE_NOT_SUPPORTED" - WLAN_STATUS_BAD_INTERVAL_WITH_U_APSD_COEX = "WLAN_STATUS_BAD_INTERVAL_WITH_U_APSD_COEX" - WLAN_STATUS_ANTI_CLOGGING_TOKEN_REQ = "WLAN_STATUS_ANTI_CLOGGING_TOKEN_REQ" - WLAN_STATUS_FINITE_CYCLIC_GROUP_NOT_SUPPORTED = "WLAN_STATUS_FINITE_CYCLIC_GROUP_NOT_SUPPORTED" - WLAN_STATUS_CANNOT_FIND_ALT_TBTT = "WLAN_STATUS_CANNOT_FIND_ALT_TBTT" - WLAN_STATUS_TRANSMISSION_FAILURE = "WLAN_STATUS_TRANSMISSION_FAILURE" - WLAN_STATUS_REQ_TCLAS_NOT_SUPPORTED = "WLAN_STATUS_REQ_TCLAS_NOT_SUPPORTED" - WLAN_STATUS_TCLAS_RESOURCES_EXCHAUSTED = "WLAN_STATUS_TCLAS_RESOURCES_EXCHAUSTED" - WLAN_STATUS_REJECTED_WITH_SUGGESTED_BSS_TRANSITION = "WLAN_STATUS_REJECTED_WITH_SUGGESTED_BSS_TRANSITION" - WLAN_STATUS_REJECT_WITH_SCHEDULE = "WLAN_STATUS_REJECT_WITH_SCHEDULE" - WLAN_STATUS_REJECT_NO_WAKEUP_SPECIFIED = "WLAN_STATUS_REJECT_NO_WAKEUP_SPECIFIED" - WLAN_STATUS_SUCCESS_POWER_SAVE_MODE = "WLAN_STATUS_SUCCESS_POWER_SAVE_MODE" - WLAN_STATUS_PENDING_ADMITTING_FST_SESSION = "WLAN_STATUS_PENDING_ADMITTING_FST_SESSION" - WLAN_STATUS_PERFORMING_FST_NOW = "WLAN_STATUS_PERFORMING_FST_NOW" - WLAN_STATUS_PENDING_GAP_IN_BA_WINDOW = "WLAN_STATUS_PENDING_GAP_IN_BA_WINDOW" - WLAN_STATUS_REJECT_U_PID_SETTING = "WLAN_STATUS_REJECT_U_PID_SETTING" - WLAN_STATUS_REFUSED_EXTERNAL_REASON = "WLAN_STATUS_REFUSED_EXTERNAL_REASON" - WLAN_STATUS_REFUSED_AP_OUT_OF_MEMORY = "WLAN_STATUS_REFUSED_AP_OUT_OF_MEMORY" - WLAN_STATUS_REJECTED_EMERGENCY_SERVICE_NOT_SUPPORTED = "WLAN_STATUS_REJECTED_EMERGENCY_SERVICE_NOT_SUPPORTED" - WLAN_STATUS_QUERY_RESP_OUTSTANDING = "WLAN_STATUS_QUERY_RESP_OUTSTANDING" - WLAN_STATUS_REJECT_DSE_BAND = "WLAN_STATUS_REJECT_DSE_BAND" - WLAN_STATUS_TCLAS_PROCESSING_TERMINATED = "WLAN_STATUS_TCLAS_PROCESSING_TERMINATED" - WLAN_STATUS_TS_SCHEDULE_CONFLICT = "WLAN_STATUS_TS_SCHEDULE_CONFLICT" - WLAN_STATUS_DENIED_WITH_SUGGESTED_BAND_AND_CHANNEL = "WLAN_STATUS_DENIED_WITH_SUGGESTED_BAND_AND_CHANNEL" - WLAN_STATUS_MCCAOP_RESERVATION_CONFLICT = "WLAN_STATUS_MCCAOP_RESERVATION_CONFLICT" - WLAN_STATUS_MAF_LIMIT_EXCEEDED = "WLAN_STATUS_MAF_LIMIT_EXCEEDED" - WLAN_STATUS_MCCA_TRACK_LIMIT_EXCEEDED = "WLAN_STATUS_MCCA_TRACK_LIMIT_EXCEEDED" - WLAN_STATUS_DENIED_DUE_TO_SPECTRUM_MANAGEMENT = "WLAN_STATUS_DENIED_DUE_TO_SPECTRUM_MANAGEMENT" - WLAN_STATUS_ASSOC_DENIED_NO_VHT = "WLAN_STATUS_ASSOC_DENIED_NO_VHT" - WLAN_STATUS_ENABLEMENT_DENIED = "WLAN_STATUS_ENABLEMENT_DENIED" - WLAN_STATUS_RESTRICTION_FROM_AUTHORIZED_GDB = "WLAN_STATUS_RESTRICTION_FROM_AUTHORIZED_GDB" - WLAN_STATUS_AUTHORIZATION_DEENABLED = "WLAN_STATUS_AUTHORIZATION_DEENABLED" - WLAN_STATUS_FILS_AUTHENTICATION_FAILURE = "WLAN_STATUS_FILS_AUTHENTICATION_FAILURE" - WLAN_STATUS_UNKNOWN_AUTHENTICATION_SERVER = "WLAN_STATUS_UNKNOWN_AUTHENTICATION_SERVER" - WLAN_STATUS_UNKNOWN_PASSWORD_IDENTIFIER = "WLAN_STATUS_UNKNOWN_PASSWORD_IDENTIFIER" - WLAN_STATUS_SAE_HASH_TO_ELEMENT = "WLAN_STATUS_SAE_HASH_TO_ELEMENT" - WLAN_STATUS_SAE_PK = "WLAN_STATUS_SAE_PK" - UNSUPPORTED = "UNSUPPORTED" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """WlanStatusCode - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(WlanStatusCode, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, WlanStatusCode): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/wmm_queue_stats.py b/libs/cloudapi/cloudsdk/swagger_client/models/wmm_queue_stats.py deleted file mode 100644 index 57a7092d9..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/wmm_queue_stats.py +++ /dev/null @@ -1,422 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class WmmQueueStats(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'queue_type': 'WmmQueueType', - 'tx_frames': 'int', - 'tx_bytes': 'int', - 'tx_failed_frames': 'int', - 'tx_failed_bytes': 'int', - 'rx_frames': 'int', - 'rx_bytes': 'int', - 'rx_failed_frames': 'int', - 'rx_failed_bytes': 'int', - 'forward_frames': 'int', - 'forward_bytes': 'int', - 'tx_expired_frames': 'int', - 'tx_expired_bytes': 'int' - } - - attribute_map = { - 'queue_type': 'queueType', - 'tx_frames': 'txFrames', - 'tx_bytes': 'txBytes', - 'tx_failed_frames': 'txFailedFrames', - 'tx_failed_bytes': 'txFailedBytes', - 'rx_frames': 'rxFrames', - 'rx_bytes': 'rxBytes', - 'rx_failed_frames': 'rxFailedFrames', - 'rx_failed_bytes': 'rxFailedBytes', - 'forward_frames': 'forwardFrames', - 'forward_bytes': 'forwardBytes', - 'tx_expired_frames': 'txExpiredFrames', - 'tx_expired_bytes': 'txExpiredBytes' - } - - def __init__(self, queue_type=None, tx_frames=None, tx_bytes=None, tx_failed_frames=None, tx_failed_bytes=None, rx_frames=None, rx_bytes=None, rx_failed_frames=None, rx_failed_bytes=None, forward_frames=None, forward_bytes=None, tx_expired_frames=None, tx_expired_bytes=None): # noqa: E501 - """WmmQueueStats - a model defined in Swagger""" # noqa: E501 - self._queue_type = None - self._tx_frames = None - self._tx_bytes = None - self._tx_failed_frames = None - self._tx_failed_bytes = None - self._rx_frames = None - self._rx_bytes = None - self._rx_failed_frames = None - self._rx_failed_bytes = None - self._forward_frames = None - self._forward_bytes = None - self._tx_expired_frames = None - self._tx_expired_bytes = None - self.discriminator = None - if queue_type is not None: - self.queue_type = queue_type - if tx_frames is not None: - self.tx_frames = tx_frames - if tx_bytes is not None: - self.tx_bytes = tx_bytes - if tx_failed_frames is not None: - self.tx_failed_frames = tx_failed_frames - if tx_failed_bytes is not None: - self.tx_failed_bytes = tx_failed_bytes - if rx_frames is not None: - self.rx_frames = rx_frames - if rx_bytes is not None: - self.rx_bytes = rx_bytes - if rx_failed_frames is not None: - self.rx_failed_frames = rx_failed_frames - if rx_failed_bytes is not None: - self.rx_failed_bytes = rx_failed_bytes - if forward_frames is not None: - self.forward_frames = forward_frames - if forward_bytes is not None: - self.forward_bytes = forward_bytes - if tx_expired_frames is not None: - self.tx_expired_frames = tx_expired_frames - if tx_expired_bytes is not None: - self.tx_expired_bytes = tx_expired_bytes - - @property - def queue_type(self): - """Gets the queue_type of this WmmQueueStats. # noqa: E501 - - - :return: The queue_type of this WmmQueueStats. # noqa: E501 - :rtype: WmmQueueType - """ - return self._queue_type - - @queue_type.setter - def queue_type(self, queue_type): - """Sets the queue_type of this WmmQueueStats. - - - :param queue_type: The queue_type of this WmmQueueStats. # noqa: E501 - :type: WmmQueueType - """ - - self._queue_type = queue_type - - @property - def tx_frames(self): - """Gets the tx_frames of this WmmQueueStats. # noqa: E501 - - - :return: The tx_frames of this WmmQueueStats. # noqa: E501 - :rtype: int - """ - return self._tx_frames - - @tx_frames.setter - def tx_frames(self, tx_frames): - """Sets the tx_frames of this WmmQueueStats. - - - :param tx_frames: The tx_frames of this WmmQueueStats. # noqa: E501 - :type: int - """ - - self._tx_frames = tx_frames - - @property - def tx_bytes(self): - """Gets the tx_bytes of this WmmQueueStats. # noqa: E501 - - - :return: The tx_bytes of this WmmQueueStats. # noqa: E501 - :rtype: int - """ - return self._tx_bytes - - @tx_bytes.setter - def tx_bytes(self, tx_bytes): - """Sets the tx_bytes of this WmmQueueStats. - - - :param tx_bytes: The tx_bytes of this WmmQueueStats. # noqa: E501 - :type: int - """ - - self._tx_bytes = tx_bytes - - @property - def tx_failed_frames(self): - """Gets the tx_failed_frames of this WmmQueueStats. # noqa: E501 - - - :return: The tx_failed_frames of this WmmQueueStats. # noqa: E501 - :rtype: int - """ - return self._tx_failed_frames - - @tx_failed_frames.setter - def tx_failed_frames(self, tx_failed_frames): - """Sets the tx_failed_frames of this WmmQueueStats. - - - :param tx_failed_frames: The tx_failed_frames of this WmmQueueStats. # noqa: E501 - :type: int - """ - - self._tx_failed_frames = tx_failed_frames - - @property - def tx_failed_bytes(self): - """Gets the tx_failed_bytes of this WmmQueueStats. # noqa: E501 - - - :return: The tx_failed_bytes of this WmmQueueStats. # noqa: E501 - :rtype: int - """ - return self._tx_failed_bytes - - @tx_failed_bytes.setter - def tx_failed_bytes(self, tx_failed_bytes): - """Sets the tx_failed_bytes of this WmmQueueStats. - - - :param tx_failed_bytes: The tx_failed_bytes of this WmmQueueStats. # noqa: E501 - :type: int - """ - - self._tx_failed_bytes = tx_failed_bytes - - @property - def rx_frames(self): - """Gets the rx_frames of this WmmQueueStats. # noqa: E501 - - - :return: The rx_frames of this WmmQueueStats. # noqa: E501 - :rtype: int - """ - return self._rx_frames - - @rx_frames.setter - def rx_frames(self, rx_frames): - """Sets the rx_frames of this WmmQueueStats. - - - :param rx_frames: The rx_frames of this WmmQueueStats. # noqa: E501 - :type: int - """ - - self._rx_frames = rx_frames - - @property - def rx_bytes(self): - """Gets the rx_bytes of this WmmQueueStats. # noqa: E501 - - - :return: The rx_bytes of this WmmQueueStats. # noqa: E501 - :rtype: int - """ - return self._rx_bytes - - @rx_bytes.setter - def rx_bytes(self, rx_bytes): - """Sets the rx_bytes of this WmmQueueStats. - - - :param rx_bytes: The rx_bytes of this WmmQueueStats. # noqa: E501 - :type: int - """ - - self._rx_bytes = rx_bytes - - @property - def rx_failed_frames(self): - """Gets the rx_failed_frames of this WmmQueueStats. # noqa: E501 - - - :return: The rx_failed_frames of this WmmQueueStats. # noqa: E501 - :rtype: int - """ - return self._rx_failed_frames - - @rx_failed_frames.setter - def rx_failed_frames(self, rx_failed_frames): - """Sets the rx_failed_frames of this WmmQueueStats. - - - :param rx_failed_frames: The rx_failed_frames of this WmmQueueStats. # noqa: E501 - :type: int - """ - - self._rx_failed_frames = rx_failed_frames - - @property - def rx_failed_bytes(self): - """Gets the rx_failed_bytes of this WmmQueueStats. # noqa: E501 - - - :return: The rx_failed_bytes of this WmmQueueStats. # noqa: E501 - :rtype: int - """ - return self._rx_failed_bytes - - @rx_failed_bytes.setter - def rx_failed_bytes(self, rx_failed_bytes): - """Sets the rx_failed_bytes of this WmmQueueStats. - - - :param rx_failed_bytes: The rx_failed_bytes of this WmmQueueStats. # noqa: E501 - :type: int - """ - - self._rx_failed_bytes = rx_failed_bytes - - @property - def forward_frames(self): - """Gets the forward_frames of this WmmQueueStats. # noqa: E501 - - - :return: The forward_frames of this WmmQueueStats. # noqa: E501 - :rtype: int - """ - return self._forward_frames - - @forward_frames.setter - def forward_frames(self, forward_frames): - """Sets the forward_frames of this WmmQueueStats. - - - :param forward_frames: The forward_frames of this WmmQueueStats. # noqa: E501 - :type: int - """ - - self._forward_frames = forward_frames - - @property - def forward_bytes(self): - """Gets the forward_bytes of this WmmQueueStats. # noqa: E501 - - - :return: The forward_bytes of this WmmQueueStats. # noqa: E501 - :rtype: int - """ - return self._forward_bytes - - @forward_bytes.setter - def forward_bytes(self, forward_bytes): - """Sets the forward_bytes of this WmmQueueStats. - - - :param forward_bytes: The forward_bytes of this WmmQueueStats. # noqa: E501 - :type: int - """ - - self._forward_bytes = forward_bytes - - @property - def tx_expired_frames(self): - """Gets the tx_expired_frames of this WmmQueueStats. # noqa: E501 - - - :return: The tx_expired_frames of this WmmQueueStats. # noqa: E501 - :rtype: int - """ - return self._tx_expired_frames - - @tx_expired_frames.setter - def tx_expired_frames(self, tx_expired_frames): - """Sets the tx_expired_frames of this WmmQueueStats. - - - :param tx_expired_frames: The tx_expired_frames of this WmmQueueStats. # noqa: E501 - :type: int - """ - - self._tx_expired_frames = tx_expired_frames - - @property - def tx_expired_bytes(self): - """Gets the tx_expired_bytes of this WmmQueueStats. # noqa: E501 - - - :return: The tx_expired_bytes of this WmmQueueStats. # noqa: E501 - :rtype: int - """ - return self._tx_expired_bytes - - @tx_expired_bytes.setter - def tx_expired_bytes(self, tx_expired_bytes): - """Sets the tx_expired_bytes of this WmmQueueStats. - - - :param tx_expired_bytes: The tx_expired_bytes of this WmmQueueStats. # noqa: E501 - :type: int - """ - - self._tx_expired_bytes = tx_expired_bytes - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(WmmQueueStats, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, WmmQueueStats): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/wmm_queue_stats_per_queue_type_map.py b/libs/cloudapi/cloudsdk/swagger_client/models/wmm_queue_stats_per_queue_type_map.py deleted file mode 100644 index 94b43d2b3..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/wmm_queue_stats_per_queue_type_map.py +++ /dev/null @@ -1,188 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class WmmQueueStatsPerQueueTypeMap(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'be': 'WmmQueueStats', - 'bk': 'WmmQueueStats', - 'vi': 'WmmQueueStats', - 'vo': 'WmmQueueStats' - } - - attribute_map = { - 'be': 'BE', - 'bk': 'BK', - 'vi': 'VI', - 'vo': 'VO' - } - - def __init__(self, be=None, bk=None, vi=None, vo=None): # noqa: E501 - """WmmQueueStatsPerQueueTypeMap - a model defined in Swagger""" # noqa: E501 - self._be = None - self._bk = None - self._vi = None - self._vo = None - self.discriminator = None - if be is not None: - self.be = be - if bk is not None: - self.bk = bk - if vi is not None: - self.vi = vi - if vo is not None: - self.vo = vo - - @property - def be(self): - """Gets the be of this WmmQueueStatsPerQueueTypeMap. # noqa: E501 - - - :return: The be of this WmmQueueStatsPerQueueTypeMap. # noqa: E501 - :rtype: WmmQueueStats - """ - return self._be - - @be.setter - def be(self, be): - """Sets the be of this WmmQueueStatsPerQueueTypeMap. - - - :param be: The be of this WmmQueueStatsPerQueueTypeMap. # noqa: E501 - :type: WmmQueueStats - """ - - self._be = be - - @property - def bk(self): - """Gets the bk of this WmmQueueStatsPerQueueTypeMap. # noqa: E501 - - - :return: The bk of this WmmQueueStatsPerQueueTypeMap. # noqa: E501 - :rtype: WmmQueueStats - """ - return self._bk - - @bk.setter - def bk(self, bk): - """Sets the bk of this WmmQueueStatsPerQueueTypeMap. - - - :param bk: The bk of this WmmQueueStatsPerQueueTypeMap. # noqa: E501 - :type: WmmQueueStats - """ - - self._bk = bk - - @property - def vi(self): - """Gets the vi of this WmmQueueStatsPerQueueTypeMap. # noqa: E501 - - - :return: The vi of this WmmQueueStatsPerQueueTypeMap. # noqa: E501 - :rtype: WmmQueueStats - """ - return self._vi - - @vi.setter - def vi(self, vi): - """Sets the vi of this WmmQueueStatsPerQueueTypeMap. - - - :param vi: The vi of this WmmQueueStatsPerQueueTypeMap. # noqa: E501 - :type: WmmQueueStats - """ - - self._vi = vi - - @property - def vo(self): - """Gets the vo of this WmmQueueStatsPerQueueTypeMap. # noqa: E501 - - - :return: The vo of this WmmQueueStatsPerQueueTypeMap. # noqa: E501 - :rtype: WmmQueueStats - """ - return self._vo - - @vo.setter - def vo(self, vo): - """Sets the vo of this WmmQueueStatsPerQueueTypeMap. - - - :param vo: The vo of this WmmQueueStatsPerQueueTypeMap. # noqa: E501 - :type: WmmQueueStats - """ - - self._vo = vo - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(WmmQueueStatsPerQueueTypeMap, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, WmmQueueStatsPerQueueTypeMap): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/models/wmm_queue_type.py b/libs/cloudapi/cloudsdk/swagger_client/models/wmm_queue_type.py deleted file mode 100644 index a0db88441..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/models/wmm_queue_type.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class WmmQueueType(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - BE = "BE" - BK = "BK" - VI = "VI" - VO = "VO" - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """WmmQueueType - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a 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 - if issubclass(WmmQueueType, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - 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""" - if not isinstance(other, WmmQueueType): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/libs/cloudapi/cloudsdk/swagger_client/rest.py b/libs/cloudapi/cloudsdk/swagger_client/rest.py deleted file mode 100644 index 3e7a249bf..000000000 --- a/libs/cloudapi/cloudsdk/swagger_client/rest.py +++ /dev/null @@ -1,322 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import io -import json -import logging -import re -import ssl - -import certifi -# python 2 and python 3 compatibility library -import six -from six.moves.urllib.parse import urlencode - -try: - import urllib3 -except ImportError: - raise ImportError('Swagger python client requires urllib3.') - - -logger = logging.getLogger(__name__) - - -class RESTResponse(io.IOBase): - - def __init__(self, resp): - self.urllib3_response = resp - self.status = resp.status - self.reason = resp.reason - self.data = resp.data - - def getheaders(self): - """Returns a dictionary of the response headers.""" - return self.urllib3_response.getheaders() - - def getheader(self, name, default=None): - """Returns a given response header.""" - return self.urllib3_response.getheader(name, default) - - -class RESTClientObject(object): - - def __init__(self, configuration, pools_size=4, maxsize=None): - # urllib3.PoolManager will pass all kw parameters to connectionpool - # https://github.com/shazow/urllib3/blob/f9409436f83aeb79fbaf090181cd81b784f1b8ce/urllib3/poolmanager.py#L75 # noqa: E501 - # https://github.com/shazow/urllib3/blob/f9409436f83aeb79fbaf090181cd81b784f1b8ce/urllib3/connectionpool.py#L680 # noqa: E501 - # maxsize is the number of requests to host that are allowed in parallel # noqa: E501 - # Custom SSL certificates and client certificates: http://urllib3.readthedocs.io/en/latest/advanced-usage.html # noqa: E501 - - # cert_reqs - if configuration.verify_ssl: - cert_reqs = ssl.CERT_REQUIRED - else: - cert_reqs = ssl.CERT_NONE - - # ca_certs - if configuration.ssl_ca_cert: - ca_certs = configuration.ssl_ca_cert - else: - # if not set certificate file, use Mozilla's root certificates. - ca_certs = certifi.where() - - addition_pool_args = {} - if configuration.assert_hostname is not None: - addition_pool_args['assert_hostname'] = configuration.assert_hostname # noqa: E501 - - if maxsize is None: - if configuration.connection_pool_maxsize is not None: - maxsize = configuration.connection_pool_maxsize - else: - maxsize = 4 - - # https pool manager - if configuration.proxy: - self.pool_manager = urllib3.ProxyManager( - num_pools=pools_size, - maxsize=maxsize, - cert_reqs=cert_reqs, - ca_certs=ca_certs, - cert_file=configuration.cert_file, - key_file=configuration.key_file, - proxy_url=configuration.proxy, - **addition_pool_args - ) - else: - self.pool_manager = urllib3.PoolManager( - num_pools=pools_size, - maxsize=maxsize, - cert_reqs=cert_reqs, - ca_certs=ca_certs, - cert_file=configuration.cert_file, - key_file=configuration.key_file, - **addition_pool_args - ) - - def request(self, method, url, query_params=None, headers=None, - body=None, post_params=None, _preload_content=True, - _request_timeout=None): - """Perform requests. - - :param method: http request method - :param url: http request url - :param query_params: query parameters in the url - :param headers: http request headers - :param body: request json body, for `application/json` - :param post_params: request post parameters, - `application/x-www-form-urlencoded` - and `multipart/form-data` - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - """ - method = method.upper() - assert method in ['GET', 'HEAD', 'DELETE', 'POST', 'PUT', - 'PATCH', 'OPTIONS'] - - if post_params and body: - raise ValueError( - "body parameter cannot be used with post_params parameter." - ) - - post_params = post_params or {} - headers = headers or {} - - timeout = None - if _request_timeout: - if isinstance(_request_timeout, (int, ) if six.PY3 else (int, long)): # noqa: E501,F821 - timeout = urllib3.Timeout(total=_request_timeout) - elif (isinstance(_request_timeout, tuple) and - len(_request_timeout) == 2): - timeout = urllib3.Timeout( - connect=_request_timeout[0], read=_request_timeout[1]) - - if 'Content-Type' not in headers: - headers['Content-Type'] = 'application/json' - - try: - # For `POST`, `PUT`, `PATCH`, `OPTIONS`, `DELETE` - if method in ['POST', 'PUT', 'PATCH', 'OPTIONS', 'DELETE']: - if query_params: - url += '?' + urlencode(query_params) - if re.search('json', headers['Content-Type'], re.IGNORECASE): - request_body = '{}' - if body is not None: - request_body = json.dumps(body) - r = self.pool_manager.request( - method, url, - body=request_body, - preload_content=_preload_content, - timeout=timeout, - headers=headers) - elif headers['Content-Type'] == 'application/x-www-form-urlencoded': # noqa: E501 - r = self.pool_manager.request( - method, url, - fields=post_params, - encode_multipart=False, - preload_content=_preload_content, - timeout=timeout, - headers=headers) - elif headers['Content-Type'] == 'multipart/form-data': - # must del headers['Content-Type'], or the correct - # Content-Type which generated by urllib3 will be - # overwritten. - del headers['Content-Type'] - r = self.pool_manager.request( - method, url, - fields=post_params, - encode_multipart=True, - preload_content=_preload_content, - timeout=timeout, - headers=headers) - # Pass a `string` parameter directly in the body to support - # other content types than Json when `body` argument is - # provided in serialized form - elif isinstance(body, str): - request_body = body - r = self.pool_manager.request( - method, url, - body=request_body, - preload_content=_preload_content, - timeout=timeout, - headers=headers) - else: - # Cannot generate the request from given parameters - msg = """Cannot prepare a request message for provided - arguments. Please check that your arguments match - declared content type.""" - raise ApiException(status=0, reason=msg) - # For `GET`, `HEAD` - else: - r = self.pool_manager.request(method, url, - fields=query_params, - preload_content=_preload_content, - timeout=timeout, - headers=headers) - except urllib3.exceptions.SSLError as e: - msg = "{0}\n{1}".format(type(e).__name__, str(e)) - raise ApiException(status=0, reason=msg) - - if _preload_content: - r = RESTResponse(r) - - # In the python 3, the response.data is bytes. - # we need to decode it to string. - if six.PY3: - r.data = r.data.decode('utf8') - - # log response body - logger.debug("response body: %s", r.data) - - if not 200 <= r.status <= 299: - raise ApiException(http_resp=r) - - return r - - def GET(self, url, headers=None, query_params=None, _preload_content=True, - _request_timeout=None): - return self.request("GET", url, - headers=headers, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - query_params=query_params) - - def HEAD(self, url, headers=None, query_params=None, _preload_content=True, - _request_timeout=None): - return self.request("HEAD", url, - headers=headers, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - query_params=query_params) - - def OPTIONS(self, url, headers=None, query_params=None, post_params=None, - body=None, _preload_content=True, _request_timeout=None): - return self.request("OPTIONS", url, - headers=headers, - query_params=query_params, - post_params=post_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) - - def DELETE(self, url, headers=None, query_params=None, body=None, - _preload_content=True, _request_timeout=None): - return self.request("DELETE", url, - headers=headers, - query_params=query_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) - - def POST(self, url, headers=None, query_params=None, post_params=None, - body=None, _preload_content=True, _request_timeout=None): - return self.request("POST", url, - headers=headers, - query_params=query_params, - post_params=post_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) - - def PUT(self, url, headers=None, query_params=None, post_params=None, - body=None, _preload_content=True, _request_timeout=None): - return self.request("PUT", url, - headers=headers, - query_params=query_params, - post_params=post_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) - - def PATCH(self, url, headers=None, query_params=None, post_params=None, - body=None, _preload_content=True, _request_timeout=None): - return self.request("PATCH", url, - headers=headers, - query_params=query_params, - post_params=post_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) - - -class ApiException(Exception): - - def __init__(self, status=None, reason=None, http_resp=None): - if http_resp: - self.status = http_resp.status - self.reason = http_resp.reason - self.body = http_resp.data - self.headers = http_resp.getheaders() - else: - self.status = status - self.reason = reason - self.body = None - self.headers = None - - def __str__(self): - """Custom error messages for exception""" - error_message = "({0})\n"\ - "Reason: {1}\n".format(self.status, self.reason) - if self.headers: - error_message += "HTTP response headers: {0}\n".format( - self.headers) - - if self.body: - error_message += "HTTP response body: {0}\n".format(self.body) - - return error_message diff --git a/libs/cloudapi/cloudsdk/test-requirements.txt b/libs/cloudapi/cloudsdk/test-requirements.txt deleted file mode 100644 index 2702246c0..000000000 --- a/libs/cloudapi/cloudsdk/test-requirements.txt +++ /dev/null @@ -1,5 +0,0 @@ -coverage>=4.0.3 -nose>=1.3.7 -pluggy>=0.3.1 -py>=1.4.31 -randomize>=0.13 diff --git a/libs/cloudapi/cloudsdk/test/__init__.py b/libs/cloudapi/cloudsdk/test/__init__.py deleted file mode 100644 index e69de29bb..000000000 diff --git a/libs/cloudapi/cloudsdk/test/test_acl_template.py b/libs/cloudapi/cloudsdk/test/test_acl_template.py deleted file mode 100644 index 599294b74..000000000 --- a/libs/cloudapi/cloudsdk/test/test_acl_template.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.acl_template import AclTemplate # noqa: E501 -from swagger_client.rest import ApiException - - -class TestAclTemplate(unittest.TestCase): - """AclTemplate unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAclTemplate(self): - """Test AclTemplate""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.acl_template.AclTemplate() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_active_bssi_ds.py b/libs/cloudapi/cloudsdk/test/test_active_bssi_ds.py deleted file mode 100644 index 2aab50f56..000000000 --- a/libs/cloudapi/cloudsdk/test/test_active_bssi_ds.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.active_bssi_ds import ActiveBSSIDs # noqa: E501 -from swagger_client.rest import ApiException - - -class TestActiveBSSIDs(unittest.TestCase): - """ActiveBSSIDs unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testActiveBSSIDs(self): - """Test ActiveBSSIDs""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.active_bssi_ds.ActiveBSSIDs() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_active_bssid.py b/libs/cloudapi/cloudsdk/test/test_active_bssid.py deleted file mode 100644 index af5638a6b..000000000 --- a/libs/cloudapi/cloudsdk/test/test_active_bssid.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.active_bssid import ActiveBSSID # noqa: E501 -from swagger_client.rest import ApiException - - -class TestActiveBSSID(unittest.TestCase): - """ActiveBSSID unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testActiveBSSID(self): - """Test ActiveBSSID""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.active_bssid.ActiveBSSID() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_active_scan_settings.py b/libs/cloudapi/cloudsdk/test/test_active_scan_settings.py deleted file mode 100644 index 24570bc91..000000000 --- a/libs/cloudapi/cloudsdk/test/test_active_scan_settings.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.active_scan_settings import ActiveScanSettings # noqa: E501 -from swagger_client.rest import ApiException - - -class TestActiveScanSettings(unittest.TestCase): - """ActiveScanSettings unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testActiveScanSettings(self): - """Test ActiveScanSettings""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.active_scan_settings.ActiveScanSettings() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_advanced_radio_map.py b/libs/cloudapi/cloudsdk/test/test_advanced_radio_map.py deleted file mode 100644 index 035c8e4c7..000000000 --- a/libs/cloudapi/cloudsdk/test/test_advanced_radio_map.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.advanced_radio_map import AdvancedRadioMap # noqa: E501 -from swagger_client.rest import ApiException - - -class TestAdvancedRadioMap(unittest.TestCase): - """AdvancedRadioMap unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdvancedRadioMap(self): - """Test AdvancedRadioMap""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.advanced_radio_map.AdvancedRadioMap() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_alarm.py b/libs/cloudapi/cloudsdk/test/test_alarm.py deleted file mode 100644 index eabcd222a..000000000 --- a/libs/cloudapi/cloudsdk/test/test_alarm.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.alarm import Alarm # noqa: E501 -from swagger_client.rest import ApiException - - -class TestAlarm(unittest.TestCase): - """Alarm unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAlarm(self): - """Test Alarm""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.alarm.Alarm() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_alarm_added_event.py b/libs/cloudapi/cloudsdk/test/test_alarm_added_event.py deleted file mode 100644 index d4ade18f7..000000000 --- a/libs/cloudapi/cloudsdk/test/test_alarm_added_event.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.alarm_added_event import AlarmAddedEvent # noqa: E501 -from swagger_client.rest import ApiException - - -class TestAlarmAddedEvent(unittest.TestCase): - """AlarmAddedEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAlarmAddedEvent(self): - """Test AlarmAddedEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.alarm_added_event.AlarmAddedEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_alarm_changed_event.py b/libs/cloudapi/cloudsdk/test/test_alarm_changed_event.py deleted file mode 100644 index 8a1265363..000000000 --- a/libs/cloudapi/cloudsdk/test/test_alarm_changed_event.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.alarm_changed_event import AlarmChangedEvent # noqa: E501 -from swagger_client.rest import ApiException - - -class TestAlarmChangedEvent(unittest.TestCase): - """AlarmChangedEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAlarmChangedEvent(self): - """Test AlarmChangedEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.alarm_changed_event.AlarmChangedEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_alarm_code.py b/libs/cloudapi/cloudsdk/test/test_alarm_code.py deleted file mode 100644 index 2d9fe98f4..000000000 --- a/libs/cloudapi/cloudsdk/test/test_alarm_code.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.alarm_code import AlarmCode # noqa: E501 -from swagger_client.rest import ApiException - - -class TestAlarmCode(unittest.TestCase): - """AlarmCode unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAlarmCode(self): - """Test AlarmCode""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.alarm_code.AlarmCode() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_alarm_counts.py b/libs/cloudapi/cloudsdk/test/test_alarm_counts.py deleted file mode 100644 index fddf36484..000000000 --- a/libs/cloudapi/cloudsdk/test/test_alarm_counts.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.alarm_counts import AlarmCounts # noqa: E501 -from swagger_client.rest import ApiException - - -class TestAlarmCounts(unittest.TestCase): - """AlarmCounts unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAlarmCounts(self): - """Test AlarmCounts""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.alarm_counts.AlarmCounts() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_alarm_details.py b/libs/cloudapi/cloudsdk/test/test_alarm_details.py deleted file mode 100644 index cede1007e..000000000 --- a/libs/cloudapi/cloudsdk/test/test_alarm_details.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.alarm_details import AlarmDetails # noqa: E501 -from swagger_client.rest import ApiException - - -class TestAlarmDetails(unittest.TestCase): - """AlarmDetails unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAlarmDetails(self): - """Test AlarmDetails""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.alarm_details.AlarmDetails() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_alarm_details_attributes_map.py b/libs/cloudapi/cloudsdk/test/test_alarm_details_attributes_map.py deleted file mode 100644 index a519d0ce2..000000000 --- a/libs/cloudapi/cloudsdk/test/test_alarm_details_attributes_map.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.alarm_details_attributes_map import AlarmDetailsAttributesMap # noqa: E501 -from swagger_client.rest import ApiException - - -class TestAlarmDetailsAttributesMap(unittest.TestCase): - """AlarmDetailsAttributesMap unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAlarmDetailsAttributesMap(self): - """Test AlarmDetailsAttributesMap""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.alarm_details_attributes_map.AlarmDetailsAttributesMap() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_alarm_removed_event.py b/libs/cloudapi/cloudsdk/test/test_alarm_removed_event.py deleted file mode 100644 index e88328870..000000000 --- a/libs/cloudapi/cloudsdk/test/test_alarm_removed_event.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.alarm_removed_event import AlarmRemovedEvent # noqa: E501 -from swagger_client.rest import ApiException - - -class TestAlarmRemovedEvent(unittest.TestCase): - """AlarmRemovedEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAlarmRemovedEvent(self): - """Test AlarmRemovedEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.alarm_removed_event.AlarmRemovedEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_alarm_scope_type.py b/libs/cloudapi/cloudsdk/test/test_alarm_scope_type.py deleted file mode 100644 index c968895de..000000000 --- a/libs/cloudapi/cloudsdk/test/test_alarm_scope_type.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.alarm_scope_type import AlarmScopeType # noqa: E501 -from swagger_client.rest import ApiException - - -class TestAlarmScopeType(unittest.TestCase): - """AlarmScopeType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAlarmScopeType(self): - """Test AlarmScopeType""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.alarm_scope_type.AlarmScopeType() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_alarms_api.py b/libs/cloudapi/cloudsdk/test/test_alarms_api.py deleted file mode 100644 index 9aa763026..000000000 --- a/libs/cloudapi/cloudsdk/test/test_alarms_api.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.api.alarms_api import AlarmsApi # noqa: E501 -from swagger_client.rest import ApiException - - -class TestAlarmsApi(unittest.TestCase): - """AlarmsApi unit test stubs""" - - def setUp(self): - self.api = AlarmsApi() # noqa: E501 - - def tearDown(self): - pass - - def test_delete_alarm(self): - """Test case for delete_alarm - - Delete Alarm # noqa: E501 - """ - pass - - def test_get_alarm_counts(self): - """Test case for get_alarm_counts - - Get counts of Alarms for customerId, optional set of equipment ids, optional set of alarm codes. # noqa: E501 - """ - pass - - def test_get_alarmsfor_customer(self): - """Test case for get_alarmsfor_customer - - Get list of Alarms for customerId, optional set of equipment ids, optional set of alarm codes. # noqa: E501 - """ - pass - - def test_get_alarmsfor_equipment(self): - """Test case for get_alarmsfor_equipment - - Get list of Alarms for customerId, set of equipment ids, and set of alarm codes. # noqa: E501 - """ - pass - - def test_reset_alarm_counts(self): - """Test case for reset_alarm_counts - - Reset accumulated counts of Alarms. # noqa: E501 - """ - pass - - def test_update_alarm(self): - """Test case for update_alarm - - Update Alarm # noqa: E501 - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_antenna_type.py b/libs/cloudapi/cloudsdk/test/test_antenna_type.py deleted file mode 100644 index 3f402ae99..000000000 --- a/libs/cloudapi/cloudsdk/test/test_antenna_type.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.antenna_type import AntennaType # noqa: E501 -from swagger_client.rest import ApiException - - -class TestAntennaType(unittest.TestCase): - """AntennaType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAntennaType(self): - """Test AntennaType""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.antenna_type.AntennaType() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_ap_element_configuration.py b/libs/cloudapi/cloudsdk/test/test_ap_element_configuration.py deleted file mode 100644 index 8d7b6675d..000000000 --- a/libs/cloudapi/cloudsdk/test/test_ap_element_configuration.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.ap_element_configuration import ApElementConfiguration # noqa: E501 -from swagger_client.rest import ApiException - - -class TestApElementConfiguration(unittest.TestCase): - """ApElementConfiguration unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testApElementConfiguration(self): - """Test ApElementConfiguration""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.ap_element_configuration.ApElementConfiguration() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_ap_mesh_mode.py b/libs/cloudapi/cloudsdk/test/test_ap_mesh_mode.py deleted file mode 100644 index e8be9f495..000000000 --- a/libs/cloudapi/cloudsdk/test/test_ap_mesh_mode.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.ap_mesh_mode import ApMeshMode # noqa: E501 -from swagger_client.rest import ApiException - - -class TestApMeshMode(unittest.TestCase): - """ApMeshMode unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testApMeshMode(self): - """Test ApMeshMode""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.ap_mesh_mode.ApMeshMode() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_ap_network_configuration.py b/libs/cloudapi/cloudsdk/test/test_ap_network_configuration.py deleted file mode 100644 index 9825bcf99..000000000 --- a/libs/cloudapi/cloudsdk/test/test_ap_network_configuration.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.ap_network_configuration import ApNetworkConfiguration # noqa: E501 -from swagger_client.rest import ApiException - - -class TestApNetworkConfiguration(unittest.TestCase): - """ApNetworkConfiguration unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testApNetworkConfiguration(self): - """Test ApNetworkConfiguration""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.ap_network_configuration.ApNetworkConfiguration() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_ap_network_configuration_ntp_server.py b/libs/cloudapi/cloudsdk/test/test_ap_network_configuration_ntp_server.py deleted file mode 100644 index 31a8faa40..000000000 --- a/libs/cloudapi/cloudsdk/test/test_ap_network_configuration_ntp_server.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.ap_network_configuration_ntp_server import ApNetworkConfigurationNtpServer # noqa: E501 -from swagger_client.rest import ApiException - - -class TestApNetworkConfigurationNtpServer(unittest.TestCase): - """ApNetworkConfigurationNtpServer unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testApNetworkConfigurationNtpServer(self): - """Test ApNetworkConfigurationNtpServer""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.ap_network_configuration_ntp_server.ApNetworkConfigurationNtpServer() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_ap_node_metrics.py b/libs/cloudapi/cloudsdk/test/test_ap_node_metrics.py deleted file mode 100644 index d2f3cbbd4..000000000 --- a/libs/cloudapi/cloudsdk/test/test_ap_node_metrics.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.ap_node_metrics import ApNodeMetrics # noqa: E501 -from swagger_client.rest import ApiException - - -class TestApNodeMetrics(unittest.TestCase): - """ApNodeMetrics unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testApNodeMetrics(self): - """Test ApNodeMetrics""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.ap_node_metrics.ApNodeMetrics() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_ap_performance.py b/libs/cloudapi/cloudsdk/test/test_ap_performance.py deleted file mode 100644 index 9d776d893..000000000 --- a/libs/cloudapi/cloudsdk/test/test_ap_performance.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.ap_performance import ApPerformance # noqa: E501 -from swagger_client.rest import ApiException - - -class TestApPerformance(unittest.TestCase): - """ApPerformance unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testApPerformance(self): - """Test ApPerformance""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.ap_performance.ApPerformance() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_ap_ssid_metrics.py b/libs/cloudapi/cloudsdk/test/test_ap_ssid_metrics.py deleted file mode 100644 index d854d8790..000000000 --- a/libs/cloudapi/cloudsdk/test/test_ap_ssid_metrics.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.ap_ssid_metrics import ApSsidMetrics # noqa: E501 -from swagger_client.rest import ApiException - - -class TestApSsidMetrics(unittest.TestCase): - """ApSsidMetrics unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testApSsidMetrics(self): - """Test ApSsidMetrics""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.ap_ssid_metrics.ApSsidMetrics() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_auto_or_manual_string.py b/libs/cloudapi/cloudsdk/test/test_auto_or_manual_string.py deleted file mode 100644 index 98aabc5b7..000000000 --- a/libs/cloudapi/cloudsdk/test/test_auto_or_manual_string.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.auto_or_manual_string import AutoOrManualString # noqa: E501 -from swagger_client.rest import ApiException - - -class TestAutoOrManualString(unittest.TestCase): - """AutoOrManualString unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAutoOrManualString(self): - """Test AutoOrManualString""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.auto_or_manual_string.AutoOrManualString() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_auto_or_manual_value.py b/libs/cloudapi/cloudsdk/test/test_auto_or_manual_value.py deleted file mode 100644 index 98fe5e714..000000000 --- a/libs/cloudapi/cloudsdk/test/test_auto_or_manual_value.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.auto_or_manual_value import AutoOrManualValue # noqa: E501 -from swagger_client.rest import ApiException - - -class TestAutoOrManualValue(unittest.TestCase): - """AutoOrManualValue unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAutoOrManualValue(self): - """Test AutoOrManualValue""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.auto_or_manual_value.AutoOrManualValue() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_background_position.py b/libs/cloudapi/cloudsdk/test/test_background_position.py deleted file mode 100644 index 82726f63a..000000000 --- a/libs/cloudapi/cloudsdk/test/test_background_position.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.background_position import BackgroundPosition # noqa: E501 -from swagger_client.rest import ApiException - - -class TestBackgroundPosition(unittest.TestCase): - """BackgroundPosition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testBackgroundPosition(self): - """Test BackgroundPosition""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.background_position.BackgroundPosition() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_background_repeat.py b/libs/cloudapi/cloudsdk/test/test_background_repeat.py deleted file mode 100644 index 5e7aa46ad..000000000 --- a/libs/cloudapi/cloudsdk/test/test_background_repeat.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.background_repeat import BackgroundRepeat # noqa: E501 -from swagger_client.rest import ApiException - - -class TestBackgroundRepeat(unittest.TestCase): - """BackgroundRepeat unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testBackgroundRepeat(self): - """Test BackgroundRepeat""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.background_repeat.BackgroundRepeat() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_banned_channel.py b/libs/cloudapi/cloudsdk/test/test_banned_channel.py deleted file mode 100644 index b509acd03..000000000 --- a/libs/cloudapi/cloudsdk/test/test_banned_channel.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.banned_channel import BannedChannel # noqa: E501 -from swagger_client.rest import ApiException - - -class TestBannedChannel(unittest.TestCase): - """BannedChannel unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testBannedChannel(self): - """Test BannedChannel""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.banned_channel.BannedChannel() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_base_dhcp_event.py b/libs/cloudapi/cloudsdk/test/test_base_dhcp_event.py deleted file mode 100644 index 03b49afc3..000000000 --- a/libs/cloudapi/cloudsdk/test/test_base_dhcp_event.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.base_dhcp_event import BaseDhcpEvent # noqa: E501 -from swagger_client.rest import ApiException - - -class TestBaseDhcpEvent(unittest.TestCase): - """BaseDhcpEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testBaseDhcpEvent(self): - """Test BaseDhcpEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.base_dhcp_event.BaseDhcpEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_best_ap_steer_type.py b/libs/cloudapi/cloudsdk/test/test_best_ap_steer_type.py deleted file mode 100644 index 123d04b03..000000000 --- a/libs/cloudapi/cloudsdk/test/test_best_ap_steer_type.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.best_ap_steer_type import BestAPSteerType # noqa: E501 -from swagger_client.rest import ApiException - - -class TestBestAPSteerType(unittest.TestCase): - """BestAPSteerType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testBestAPSteerType(self): - """Test BestAPSteerType""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.best_ap_steer_type.BestAPSteerType() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_blocklist_details.py b/libs/cloudapi/cloudsdk/test/test_blocklist_details.py deleted file mode 100644 index 03ca2bae6..000000000 --- a/libs/cloudapi/cloudsdk/test/test_blocklist_details.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.blocklist_details import BlocklistDetails # noqa: E501 -from swagger_client.rest import ApiException - - -class TestBlocklistDetails(unittest.TestCase): - """BlocklistDetails unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testBlocklistDetails(self): - """Test BlocklistDetails""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.blocklist_details.BlocklistDetails() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_bonjour_gateway_profile.py b/libs/cloudapi/cloudsdk/test/test_bonjour_gateway_profile.py deleted file mode 100644 index 045b1e8ad..000000000 --- a/libs/cloudapi/cloudsdk/test/test_bonjour_gateway_profile.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.bonjour_gateway_profile import BonjourGatewayProfile # noqa: E501 -from swagger_client.rest import ApiException - - -class TestBonjourGatewayProfile(unittest.TestCase): - """BonjourGatewayProfile unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testBonjourGatewayProfile(self): - """Test BonjourGatewayProfile""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.bonjour_gateway_profile.BonjourGatewayProfile() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_bonjour_service_set.py b/libs/cloudapi/cloudsdk/test/test_bonjour_service_set.py deleted file mode 100644 index e16506312..000000000 --- a/libs/cloudapi/cloudsdk/test/test_bonjour_service_set.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.bonjour_service_set import BonjourServiceSet # noqa: E501 -from swagger_client.rest import ApiException - - -class TestBonjourServiceSet(unittest.TestCase): - """BonjourServiceSet unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testBonjourServiceSet(self): - """Test BonjourServiceSet""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.bonjour_service_set.BonjourServiceSet() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_capacity_details.py b/libs/cloudapi/cloudsdk/test/test_capacity_details.py deleted file mode 100644 index 45401e511..000000000 --- a/libs/cloudapi/cloudsdk/test/test_capacity_details.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.capacity_details import CapacityDetails # noqa: E501 -from swagger_client.rest import ApiException - - -class TestCapacityDetails(unittest.TestCase): - """CapacityDetails unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCapacityDetails(self): - """Test CapacityDetails""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.capacity_details.CapacityDetails() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_capacity_per_radio_details.py b/libs/cloudapi/cloudsdk/test/test_capacity_per_radio_details.py deleted file mode 100644 index 379177f61..000000000 --- a/libs/cloudapi/cloudsdk/test/test_capacity_per_radio_details.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.capacity_per_radio_details import CapacityPerRadioDetails # noqa: E501 -from swagger_client.rest import ApiException - - -class TestCapacityPerRadioDetails(unittest.TestCase): - """CapacityPerRadioDetails unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCapacityPerRadioDetails(self): - """Test CapacityPerRadioDetails""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.capacity_per_radio_details.CapacityPerRadioDetails() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_capacity_per_radio_details_map.py b/libs/cloudapi/cloudsdk/test/test_capacity_per_radio_details_map.py deleted file mode 100644 index ebcef95d0..000000000 --- a/libs/cloudapi/cloudsdk/test/test_capacity_per_radio_details_map.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.capacity_per_radio_details_map import CapacityPerRadioDetailsMap # noqa: E501 -from swagger_client.rest import ApiException - - -class TestCapacityPerRadioDetailsMap(unittest.TestCase): - """CapacityPerRadioDetailsMap unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCapacityPerRadioDetailsMap(self): - """Test CapacityPerRadioDetailsMap""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.capacity_per_radio_details_map.CapacityPerRadioDetailsMap() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_captive_portal_authentication_type.py b/libs/cloudapi/cloudsdk/test/test_captive_portal_authentication_type.py deleted file mode 100644 index 43292a9d9..000000000 --- a/libs/cloudapi/cloudsdk/test/test_captive_portal_authentication_type.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.captive_portal_authentication_type import CaptivePortalAuthenticationType # noqa: E501 -from swagger_client.rest import ApiException - - -class TestCaptivePortalAuthenticationType(unittest.TestCase): - """CaptivePortalAuthenticationType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCaptivePortalAuthenticationType(self): - """Test CaptivePortalAuthenticationType""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.captive_portal_authentication_type.CaptivePortalAuthenticationType() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_captive_portal_configuration.py b/libs/cloudapi/cloudsdk/test/test_captive_portal_configuration.py deleted file mode 100644 index 82ab0d149..000000000 --- a/libs/cloudapi/cloudsdk/test/test_captive_portal_configuration.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.captive_portal_configuration import CaptivePortalConfiguration # noqa: E501 -from swagger_client.rest import ApiException - - -class TestCaptivePortalConfiguration(unittest.TestCase): - """CaptivePortalConfiguration unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCaptivePortalConfiguration(self): - """Test CaptivePortalConfiguration""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.captive_portal_configuration.CaptivePortalConfiguration() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_channel_bandwidth.py b/libs/cloudapi/cloudsdk/test/test_channel_bandwidth.py deleted file mode 100644 index dc208ee1f..000000000 --- a/libs/cloudapi/cloudsdk/test/test_channel_bandwidth.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.channel_bandwidth import ChannelBandwidth # noqa: E501 -from swagger_client.rest import ApiException - - -class TestChannelBandwidth(unittest.TestCase): - """ChannelBandwidth unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testChannelBandwidth(self): - """Test ChannelBandwidth""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.channel_bandwidth.ChannelBandwidth() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_channel_hop_reason.py b/libs/cloudapi/cloudsdk/test/test_channel_hop_reason.py deleted file mode 100644 index d671b71e8..000000000 --- a/libs/cloudapi/cloudsdk/test/test_channel_hop_reason.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.channel_hop_reason import ChannelHopReason # noqa: E501 -from swagger_client.rest import ApiException - - -class TestChannelHopReason(unittest.TestCase): - """ChannelHopReason unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testChannelHopReason(self): - """Test ChannelHopReason""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.channel_hop_reason.ChannelHopReason() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_channel_hop_settings.py b/libs/cloudapi/cloudsdk/test/test_channel_hop_settings.py deleted file mode 100644 index a01108b6c..000000000 --- a/libs/cloudapi/cloudsdk/test/test_channel_hop_settings.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.channel_hop_settings import ChannelHopSettings # noqa: E501 -from swagger_client.rest import ApiException - - -class TestChannelHopSettings(unittest.TestCase): - """ChannelHopSettings unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testChannelHopSettings(self): - """Test ChannelHopSettings""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.channel_hop_settings.ChannelHopSettings() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_channel_info.py b/libs/cloudapi/cloudsdk/test/test_channel_info.py deleted file mode 100644 index a61f02b19..000000000 --- a/libs/cloudapi/cloudsdk/test/test_channel_info.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.channel_info import ChannelInfo # noqa: E501 -from swagger_client.rest import ApiException - - -class TestChannelInfo(unittest.TestCase): - """ChannelInfo unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testChannelInfo(self): - """Test ChannelInfo""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.channel_info.ChannelInfo() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_channel_info_reports.py b/libs/cloudapi/cloudsdk/test/test_channel_info_reports.py deleted file mode 100644 index 113f3a6e4..000000000 --- a/libs/cloudapi/cloudsdk/test/test_channel_info_reports.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.channel_info_reports import ChannelInfoReports # noqa: E501 -from swagger_client.rest import ApiException - - -class TestChannelInfoReports(unittest.TestCase): - """ChannelInfoReports unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testChannelInfoReports(self): - """Test ChannelInfoReports""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.channel_info_reports.ChannelInfoReports() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_channel_power_level.py b/libs/cloudapi/cloudsdk/test/test_channel_power_level.py deleted file mode 100644 index e13a990d2..000000000 --- a/libs/cloudapi/cloudsdk/test/test_channel_power_level.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.channel_power_level import ChannelPowerLevel # noqa: E501 -from swagger_client.rest import ApiException - - -class TestChannelPowerLevel(unittest.TestCase): - """ChannelPowerLevel unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testChannelPowerLevel(self): - """Test ChannelPowerLevel""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.channel_power_level.ChannelPowerLevel() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_channel_utilization_details.py b/libs/cloudapi/cloudsdk/test/test_channel_utilization_details.py deleted file mode 100644 index 57fc1ecb7..000000000 --- a/libs/cloudapi/cloudsdk/test/test_channel_utilization_details.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.channel_utilization_details import ChannelUtilizationDetails # noqa: E501 -from swagger_client.rest import ApiException - - -class TestChannelUtilizationDetails(unittest.TestCase): - """ChannelUtilizationDetails unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testChannelUtilizationDetails(self): - """Test ChannelUtilizationDetails""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.channel_utilization_details.ChannelUtilizationDetails() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_channel_utilization_per_radio_details.py b/libs/cloudapi/cloudsdk/test/test_channel_utilization_per_radio_details.py deleted file mode 100644 index abc08a05f..000000000 --- a/libs/cloudapi/cloudsdk/test/test_channel_utilization_per_radio_details.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.channel_utilization_per_radio_details import ChannelUtilizationPerRadioDetails # noqa: E501 -from swagger_client.rest import ApiException - - -class TestChannelUtilizationPerRadioDetails(unittest.TestCase): - """ChannelUtilizationPerRadioDetails unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testChannelUtilizationPerRadioDetails(self): - """Test ChannelUtilizationPerRadioDetails""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.channel_utilization_per_radio_details.ChannelUtilizationPerRadioDetails() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_channel_utilization_per_radio_details_map.py b/libs/cloudapi/cloudsdk/test/test_channel_utilization_per_radio_details_map.py deleted file mode 100644 index 3afa618a2..000000000 --- a/libs/cloudapi/cloudsdk/test/test_channel_utilization_per_radio_details_map.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.channel_utilization_per_radio_details_map import ChannelUtilizationPerRadioDetailsMap # noqa: E501 -from swagger_client.rest import ApiException - - -class TestChannelUtilizationPerRadioDetailsMap(unittest.TestCase): - """ChannelUtilizationPerRadioDetailsMap unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testChannelUtilizationPerRadioDetailsMap(self): - """Test ChannelUtilizationPerRadioDetailsMap""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.channel_utilization_per_radio_details_map.ChannelUtilizationPerRadioDetailsMap() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_channel_utilization_survey_type.py b/libs/cloudapi/cloudsdk/test/test_channel_utilization_survey_type.py deleted file mode 100644 index 33b858213..000000000 --- a/libs/cloudapi/cloudsdk/test/test_channel_utilization_survey_type.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.channel_utilization_survey_type import ChannelUtilizationSurveyType # noqa: E501 -from swagger_client.rest import ApiException - - -class TestChannelUtilizationSurveyType(unittest.TestCase): - """ChannelUtilizationSurveyType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testChannelUtilizationSurveyType(self): - """Test ChannelUtilizationSurveyType""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.channel_utilization_survey_type.ChannelUtilizationSurveyType() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_client.py b/libs/cloudapi/cloudsdk/test/test_client.py deleted file mode 100644 index e258adaed..000000000 --- a/libs/cloudapi/cloudsdk/test/test_client.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.client import Client # noqa: E501 -from swagger_client.rest import ApiException - - -class TestClient(unittest.TestCase): - """Client unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testClient(self): - """Test Client""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.client.Client() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_client_activity_aggregated_stats.py b/libs/cloudapi/cloudsdk/test/test_client_activity_aggregated_stats.py deleted file mode 100644 index 75c9d3618..000000000 --- a/libs/cloudapi/cloudsdk/test/test_client_activity_aggregated_stats.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.client_activity_aggregated_stats import ClientActivityAggregatedStats # noqa: E501 -from swagger_client.rest import ApiException - - -class TestClientActivityAggregatedStats(unittest.TestCase): - """ClientActivityAggregatedStats unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testClientActivityAggregatedStats(self): - """Test ClientActivityAggregatedStats""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.client_activity_aggregated_stats.ClientActivityAggregatedStats() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_client_activity_aggregated_stats_per_radio_type_map.py b/libs/cloudapi/cloudsdk/test/test_client_activity_aggregated_stats_per_radio_type_map.py deleted file mode 100644 index be4e5adce..000000000 --- a/libs/cloudapi/cloudsdk/test/test_client_activity_aggregated_stats_per_radio_type_map.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.client_activity_aggregated_stats_per_radio_type_map import ClientActivityAggregatedStatsPerRadioTypeMap # noqa: E501 -from swagger_client.rest import ApiException - - -class TestClientActivityAggregatedStatsPerRadioTypeMap(unittest.TestCase): - """ClientActivityAggregatedStatsPerRadioTypeMap unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testClientActivityAggregatedStatsPerRadioTypeMap(self): - """Test ClientActivityAggregatedStatsPerRadioTypeMap""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.client_activity_aggregated_stats_per_radio_type_map.ClientActivityAggregatedStatsPerRadioTypeMap() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_client_added_event.py b/libs/cloudapi/cloudsdk/test/test_client_added_event.py deleted file mode 100644 index fa952428d..000000000 --- a/libs/cloudapi/cloudsdk/test/test_client_added_event.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.client_added_event import ClientAddedEvent # noqa: E501 -from swagger_client.rest import ApiException - - -class TestClientAddedEvent(unittest.TestCase): - """ClientAddedEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testClientAddedEvent(self): - """Test ClientAddedEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.client_added_event.ClientAddedEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_client_assoc_event.py b/libs/cloudapi/cloudsdk/test/test_client_assoc_event.py deleted file mode 100644 index 0e52671bc..000000000 --- a/libs/cloudapi/cloudsdk/test/test_client_assoc_event.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.client_assoc_event import ClientAssocEvent # noqa: E501 -from swagger_client.rest import ApiException - - -class TestClientAssocEvent(unittest.TestCase): - """ClientAssocEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testClientAssocEvent(self): - """Test ClientAssocEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.client_assoc_event.ClientAssocEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_client_auth_event.py b/libs/cloudapi/cloudsdk/test/test_client_auth_event.py deleted file mode 100644 index 0bbe987ca..000000000 --- a/libs/cloudapi/cloudsdk/test/test_client_auth_event.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.client_auth_event import ClientAuthEvent # noqa: E501 -from swagger_client.rest import ApiException - - -class TestClientAuthEvent(unittest.TestCase): - """ClientAuthEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testClientAuthEvent(self): - """Test ClientAuthEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.client_auth_event.ClientAuthEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_client_changed_event.py b/libs/cloudapi/cloudsdk/test/test_client_changed_event.py deleted file mode 100644 index f51300979..000000000 --- a/libs/cloudapi/cloudsdk/test/test_client_changed_event.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.client_changed_event import ClientChangedEvent # noqa: E501 -from swagger_client.rest import ApiException - - -class TestClientChangedEvent(unittest.TestCase): - """ClientChangedEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testClientChangedEvent(self): - """Test ClientChangedEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.client_changed_event.ClientChangedEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_client_connect_success_event.py b/libs/cloudapi/cloudsdk/test/test_client_connect_success_event.py deleted file mode 100644 index 263ef8317..000000000 --- a/libs/cloudapi/cloudsdk/test/test_client_connect_success_event.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.client_connect_success_event import ClientConnectSuccessEvent # noqa: E501 -from swagger_client.rest import ApiException - - -class TestClientConnectSuccessEvent(unittest.TestCase): - """ClientConnectSuccessEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testClientConnectSuccessEvent(self): - """Test ClientConnectSuccessEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.client_connect_success_event.ClientConnectSuccessEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_client_connection_details.py b/libs/cloudapi/cloudsdk/test/test_client_connection_details.py deleted file mode 100644 index 678643764..000000000 --- a/libs/cloudapi/cloudsdk/test/test_client_connection_details.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.client_connection_details import ClientConnectionDetails # noqa: E501 -from swagger_client.rest import ApiException - - -class TestClientConnectionDetails(unittest.TestCase): - """ClientConnectionDetails unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testClientConnectionDetails(self): - """Test ClientConnectionDetails""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.client_connection_details.ClientConnectionDetails() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_client_dhcp_details.py b/libs/cloudapi/cloudsdk/test/test_client_dhcp_details.py deleted file mode 100644 index 100c7bda0..000000000 --- a/libs/cloudapi/cloudsdk/test/test_client_dhcp_details.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.client_dhcp_details import ClientDhcpDetails # noqa: E501 -from swagger_client.rest import ApiException - - -class TestClientDhcpDetails(unittest.TestCase): - """ClientDhcpDetails unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testClientDhcpDetails(self): - """Test ClientDhcpDetails""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.client_dhcp_details.ClientDhcpDetails() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_client_disconnect_event.py b/libs/cloudapi/cloudsdk/test/test_client_disconnect_event.py deleted file mode 100644 index 0a8d505f0..000000000 --- a/libs/cloudapi/cloudsdk/test/test_client_disconnect_event.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.client_disconnect_event import ClientDisconnectEvent # noqa: E501 -from swagger_client.rest import ApiException - - -class TestClientDisconnectEvent(unittest.TestCase): - """ClientDisconnectEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testClientDisconnectEvent(self): - """Test ClientDisconnectEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.client_disconnect_event.ClientDisconnectEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_client_eap_details.py b/libs/cloudapi/cloudsdk/test/test_client_eap_details.py deleted file mode 100644 index 69291a221..000000000 --- a/libs/cloudapi/cloudsdk/test/test_client_eap_details.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.client_eap_details import ClientEapDetails # noqa: E501 -from swagger_client.rest import ApiException - - -class TestClientEapDetails(unittest.TestCase): - """ClientEapDetails unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testClientEapDetails(self): - """Test ClientEapDetails""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.client_eap_details.ClientEapDetails() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_client_failure_details.py b/libs/cloudapi/cloudsdk/test/test_client_failure_details.py deleted file mode 100644 index d2945f959..000000000 --- a/libs/cloudapi/cloudsdk/test/test_client_failure_details.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.client_failure_details import ClientFailureDetails # noqa: E501 -from swagger_client.rest import ApiException - - -class TestClientFailureDetails(unittest.TestCase): - """ClientFailureDetails unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testClientFailureDetails(self): - """Test ClientFailureDetails""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.client_failure_details.ClientFailureDetails() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_client_failure_event.py b/libs/cloudapi/cloudsdk/test/test_client_failure_event.py deleted file mode 100644 index e36be6723..000000000 --- a/libs/cloudapi/cloudsdk/test/test_client_failure_event.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.client_failure_event import ClientFailureEvent # noqa: E501 -from swagger_client.rest import ApiException - - -class TestClientFailureEvent(unittest.TestCase): - """ClientFailureEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testClientFailureEvent(self): - """Test ClientFailureEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.client_failure_event.ClientFailureEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_client_first_data_event.py b/libs/cloudapi/cloudsdk/test/test_client_first_data_event.py deleted file mode 100644 index 06e073202..000000000 --- a/libs/cloudapi/cloudsdk/test/test_client_first_data_event.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.client_first_data_event import ClientFirstDataEvent # noqa: E501 -from swagger_client.rest import ApiException - - -class TestClientFirstDataEvent(unittest.TestCase): - """ClientFirstDataEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testClientFirstDataEvent(self): - """Test ClientFirstDataEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.client_first_data_event.ClientFirstDataEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_client_id_event.py b/libs/cloudapi/cloudsdk/test/test_client_id_event.py deleted file mode 100644 index 28dff67f0..000000000 --- a/libs/cloudapi/cloudsdk/test/test_client_id_event.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.client_id_event import ClientIdEvent # noqa: E501 -from swagger_client.rest import ApiException - - -class TestClientIdEvent(unittest.TestCase): - """ClientIdEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testClientIdEvent(self): - """Test ClientIdEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.client_id_event.ClientIdEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_client_info_details.py b/libs/cloudapi/cloudsdk/test/test_client_info_details.py deleted file mode 100644 index 0a3ef0271..000000000 --- a/libs/cloudapi/cloudsdk/test/test_client_info_details.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.client_info_details import ClientInfoDetails # noqa: E501 -from swagger_client.rest import ApiException - - -class TestClientInfoDetails(unittest.TestCase): - """ClientInfoDetails unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testClientInfoDetails(self): - """Test ClientInfoDetails""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.client_info_details.ClientInfoDetails() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_client_ip_address_event.py b/libs/cloudapi/cloudsdk/test/test_client_ip_address_event.py deleted file mode 100644 index d84b26bc7..000000000 --- a/libs/cloudapi/cloudsdk/test/test_client_ip_address_event.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.client_ip_address_event import ClientIpAddressEvent # noqa: E501 -from swagger_client.rest import ApiException - - -class TestClientIpAddressEvent(unittest.TestCase): - """ClientIpAddressEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testClientIpAddressEvent(self): - """Test ClientIpAddressEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.client_ip_address_event.ClientIpAddressEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_client_metrics.py b/libs/cloudapi/cloudsdk/test/test_client_metrics.py deleted file mode 100644 index fe4e5c724..000000000 --- a/libs/cloudapi/cloudsdk/test/test_client_metrics.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.client_metrics import ClientMetrics # noqa: E501 -from swagger_client.rest import ApiException - - -class TestClientMetrics(unittest.TestCase): - """ClientMetrics unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testClientMetrics(self): - """Test ClientMetrics""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.client_metrics.ClientMetrics() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_client_removed_event.py b/libs/cloudapi/cloudsdk/test/test_client_removed_event.py deleted file mode 100644 index 6aaa1baa8..000000000 --- a/libs/cloudapi/cloudsdk/test/test_client_removed_event.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.client_removed_event import ClientRemovedEvent # noqa: E501 -from swagger_client.rest import ApiException - - -class TestClientRemovedEvent(unittest.TestCase): - """ClientRemovedEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testClientRemovedEvent(self): - """Test ClientRemovedEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.client_removed_event.ClientRemovedEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_client_session.py b/libs/cloudapi/cloudsdk/test/test_client_session.py deleted file mode 100644 index 060f726e1..000000000 --- a/libs/cloudapi/cloudsdk/test/test_client_session.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.client_session import ClientSession # noqa: E501 -from swagger_client.rest import ApiException - - -class TestClientSession(unittest.TestCase): - """ClientSession unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testClientSession(self): - """Test ClientSession""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.client_session.ClientSession() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_client_session_changed_event.py b/libs/cloudapi/cloudsdk/test/test_client_session_changed_event.py deleted file mode 100644 index b35e1759f..000000000 --- a/libs/cloudapi/cloudsdk/test/test_client_session_changed_event.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.client_session_changed_event import ClientSessionChangedEvent # noqa: E501 -from swagger_client.rest import ApiException - - -class TestClientSessionChangedEvent(unittest.TestCase): - """ClientSessionChangedEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testClientSessionChangedEvent(self): - """Test ClientSessionChangedEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.client_session_changed_event.ClientSessionChangedEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_client_session_details.py b/libs/cloudapi/cloudsdk/test/test_client_session_details.py deleted file mode 100644 index ee2285eef..000000000 --- a/libs/cloudapi/cloudsdk/test/test_client_session_details.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.client_session_details import ClientSessionDetails # noqa: E501 -from swagger_client.rest import ApiException - - -class TestClientSessionDetails(unittest.TestCase): - """ClientSessionDetails unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testClientSessionDetails(self): - """Test ClientSessionDetails""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.client_session_details.ClientSessionDetails() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_client_session_metric_details.py b/libs/cloudapi/cloudsdk/test/test_client_session_metric_details.py deleted file mode 100644 index d628af68e..000000000 --- a/libs/cloudapi/cloudsdk/test/test_client_session_metric_details.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.client_session_metric_details import ClientSessionMetricDetails # noqa: E501 -from swagger_client.rest import ApiException - - -class TestClientSessionMetricDetails(unittest.TestCase): - """ClientSessionMetricDetails unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testClientSessionMetricDetails(self): - """Test ClientSessionMetricDetails""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.client_session_metric_details.ClientSessionMetricDetails() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_client_session_removed_event.py b/libs/cloudapi/cloudsdk/test/test_client_session_removed_event.py deleted file mode 100644 index 15dc05220..000000000 --- a/libs/cloudapi/cloudsdk/test/test_client_session_removed_event.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.client_session_removed_event import ClientSessionRemovedEvent # noqa: E501 -from swagger_client.rest import ApiException - - -class TestClientSessionRemovedEvent(unittest.TestCase): - """ClientSessionRemovedEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testClientSessionRemovedEvent(self): - """Test ClientSessionRemovedEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.client_session_removed_event.ClientSessionRemovedEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_client_timeout_event.py b/libs/cloudapi/cloudsdk/test/test_client_timeout_event.py deleted file mode 100644 index bdd901c59..000000000 --- a/libs/cloudapi/cloudsdk/test/test_client_timeout_event.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.client_timeout_event import ClientTimeoutEvent # noqa: E501 -from swagger_client.rest import ApiException - - -class TestClientTimeoutEvent(unittest.TestCase): - """ClientTimeoutEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testClientTimeoutEvent(self): - """Test ClientTimeoutEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.client_timeout_event.ClientTimeoutEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_client_timeout_reason.py b/libs/cloudapi/cloudsdk/test/test_client_timeout_reason.py deleted file mode 100644 index 1c798d50f..000000000 --- a/libs/cloudapi/cloudsdk/test/test_client_timeout_reason.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.client_timeout_reason import ClientTimeoutReason # noqa: E501 -from swagger_client.rest import ApiException - - -class TestClientTimeoutReason(unittest.TestCase): - """ClientTimeoutReason unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testClientTimeoutReason(self): - """Test ClientTimeoutReason""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.client_timeout_reason.ClientTimeoutReason() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_clients_api.py b/libs/cloudapi/cloudsdk/test/test_clients_api.py deleted file mode 100644 index 422fdb481..000000000 --- a/libs/cloudapi/cloudsdk/test/test_clients_api.py +++ /dev/null @@ -1,82 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.api.clients_api import ClientsApi # noqa: E501 -from swagger_client.rest import ApiException - - -class TestClientsApi(unittest.TestCase): - """ClientsApi unit test stubs""" - - def setUp(self): - self.api = ClientsApi() # noqa: E501 - - def tearDown(self): - pass - - def test_get_all_client_sessions_in_set(self): - """Test case for get_all_client_sessions_in_set - - Get list of Client sessions for customerId and a set of client MAC addresses. # noqa: E501 - """ - pass - - def test_get_all_clients_in_set(self): - """Test case for get_all_clients_in_set - - Get list of Clients for customerId and a set of client MAC addresses. # noqa: E501 - """ - pass - - def test_get_blocked_clients(self): - """Test case for get_blocked_clients - - Retrieves a list of Clients for the customer that are marked as blocked. This per-customer list of blocked clients is pushed to every AP, so it has to be limited in size. # noqa: E501 - """ - pass - - def test_get_client_session_by_customer_with_filter(self): - """Test case for get_client_session_by_customer_with_filter - - Get list of Client sessions for customerId and a set of equipment/location ids. Equipment and locations filters are joined using logical AND operation. # noqa: E501 - """ - pass - - def test_get_for_customer(self): - """Test case for get_for_customer - - Get list of clients for a given customer by equipment ids # noqa: E501 - """ - pass - - def test_search_by_mac_address(self): - """Test case for search_by_mac_address - - Get list of Clients for customerId and searching by macSubstring. # noqa: E501 - """ - pass - - def test_update_client(self): - """Test case for update_client - - Update Client # noqa: E501 - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_common_probe_details.py b/libs/cloudapi/cloudsdk/test/test_common_probe_details.py deleted file mode 100644 index 037e490c3..000000000 --- a/libs/cloudapi/cloudsdk/test/test_common_probe_details.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.common_probe_details import CommonProbeDetails # noqa: E501 -from swagger_client.rest import ApiException - - -class TestCommonProbeDetails(unittest.TestCase): - """CommonProbeDetails unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCommonProbeDetails(self): - """Test CommonProbeDetails""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.common_probe_details.CommonProbeDetails() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_country_code.py b/libs/cloudapi/cloudsdk/test/test_country_code.py deleted file mode 100644 index 38d299c80..000000000 --- a/libs/cloudapi/cloudsdk/test/test_country_code.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.country_code import CountryCode # noqa: E501 -from swagger_client.rest import ApiException - - -class TestCountryCode(unittest.TestCase): - """CountryCode unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCountryCode(self): - """Test CountryCode""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.country_code.CountryCode() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_counts_per_alarm_code_map.py b/libs/cloudapi/cloudsdk/test/test_counts_per_alarm_code_map.py deleted file mode 100644 index c54252723..000000000 --- a/libs/cloudapi/cloudsdk/test/test_counts_per_alarm_code_map.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.counts_per_alarm_code_map import CountsPerAlarmCodeMap # noqa: E501 -from swagger_client.rest import ApiException - - -class TestCountsPerAlarmCodeMap(unittest.TestCase): - """CountsPerAlarmCodeMap unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCountsPerAlarmCodeMap(self): - """Test CountsPerAlarmCodeMap""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.counts_per_alarm_code_map.CountsPerAlarmCodeMap() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_counts_per_equipment_id_per_alarm_code_map.py b/libs/cloudapi/cloudsdk/test/test_counts_per_equipment_id_per_alarm_code_map.py deleted file mode 100644 index dc643bd41..000000000 --- a/libs/cloudapi/cloudsdk/test/test_counts_per_equipment_id_per_alarm_code_map.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.counts_per_equipment_id_per_alarm_code_map import CountsPerEquipmentIdPerAlarmCodeMap # noqa: E501 -from swagger_client.rest import ApiException - - -class TestCountsPerEquipmentIdPerAlarmCodeMap(unittest.TestCase): - """CountsPerEquipmentIdPerAlarmCodeMap unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCountsPerEquipmentIdPerAlarmCodeMap(self): - """Test CountsPerEquipmentIdPerAlarmCodeMap""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.counts_per_equipment_id_per_alarm_code_map.CountsPerEquipmentIdPerAlarmCodeMap() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_customer.py b/libs/cloudapi/cloudsdk/test/test_customer.py deleted file mode 100644 index 460ef9309..000000000 --- a/libs/cloudapi/cloudsdk/test/test_customer.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.customer import Customer # noqa: E501 -from swagger_client.rest import ApiException - - -class TestCustomer(unittest.TestCase): - """Customer unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCustomer(self): - """Test Customer""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.customer.Customer() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_customer_added_event.py b/libs/cloudapi/cloudsdk/test/test_customer_added_event.py deleted file mode 100644 index a1b14849b..000000000 --- a/libs/cloudapi/cloudsdk/test/test_customer_added_event.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.customer_added_event import CustomerAddedEvent # noqa: E501 -from swagger_client.rest import ApiException - - -class TestCustomerAddedEvent(unittest.TestCase): - """CustomerAddedEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCustomerAddedEvent(self): - """Test CustomerAddedEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.customer_added_event.CustomerAddedEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_customer_api.py b/libs/cloudapi/cloudsdk/test/test_customer_api.py deleted file mode 100644 index 14a4e6b3d..000000000 --- a/libs/cloudapi/cloudsdk/test/test_customer_api.py +++ /dev/null @@ -1,47 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.api.customer_api import CustomerApi # noqa: E501 -from swagger_client.rest import ApiException - - -class TestCustomerApi(unittest.TestCase): - """CustomerApi unit test stubs""" - - def setUp(self): - self.api = CustomerApi() # noqa: E501 - - def tearDown(self): - pass - - def test_get_customer_by_id(self): - """Test case for get_customer_by_id - - Get Customer By Id # noqa: E501 - """ - pass - - def test_update_customer(self): - """Test case for update_customer - - Update Customer # noqa: E501 - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_customer_changed_event.py b/libs/cloudapi/cloudsdk/test/test_customer_changed_event.py deleted file mode 100644 index 65e4b6fc1..000000000 --- a/libs/cloudapi/cloudsdk/test/test_customer_changed_event.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.customer_changed_event import CustomerChangedEvent # noqa: E501 -from swagger_client.rest import ApiException - - -class TestCustomerChangedEvent(unittest.TestCase): - """CustomerChangedEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCustomerChangedEvent(self): - """Test CustomerChangedEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.customer_changed_event.CustomerChangedEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_customer_details.py b/libs/cloudapi/cloudsdk/test/test_customer_details.py deleted file mode 100644 index 0f212561b..000000000 --- a/libs/cloudapi/cloudsdk/test/test_customer_details.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.customer_details import CustomerDetails # noqa: E501 -from swagger_client.rest import ApiException - - -class TestCustomerDetails(unittest.TestCase): - """CustomerDetails unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCustomerDetails(self): - """Test CustomerDetails""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.customer_details.CustomerDetails() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_customer_firmware_track_record.py b/libs/cloudapi/cloudsdk/test/test_customer_firmware_track_record.py deleted file mode 100644 index 19c092123..000000000 --- a/libs/cloudapi/cloudsdk/test/test_customer_firmware_track_record.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.customer_firmware_track_record import CustomerFirmwareTrackRecord # noqa: E501 -from swagger_client.rest import ApiException - - -class TestCustomerFirmwareTrackRecord(unittest.TestCase): - """CustomerFirmwareTrackRecord unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCustomerFirmwareTrackRecord(self): - """Test CustomerFirmwareTrackRecord""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.customer_firmware_track_record.CustomerFirmwareTrackRecord() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_customer_firmware_track_settings.py b/libs/cloudapi/cloudsdk/test/test_customer_firmware_track_settings.py deleted file mode 100644 index 92c2eea1c..000000000 --- a/libs/cloudapi/cloudsdk/test/test_customer_firmware_track_settings.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.customer_firmware_track_settings import CustomerFirmwareTrackSettings # noqa: E501 -from swagger_client.rest import ApiException - - -class TestCustomerFirmwareTrackSettings(unittest.TestCase): - """CustomerFirmwareTrackSettings unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCustomerFirmwareTrackSettings(self): - """Test CustomerFirmwareTrackSettings""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.customer_firmware_track_settings.CustomerFirmwareTrackSettings() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_customer_portal_dashboard_status.py b/libs/cloudapi/cloudsdk/test/test_customer_portal_dashboard_status.py deleted file mode 100644 index 6265ba936..000000000 --- a/libs/cloudapi/cloudsdk/test/test_customer_portal_dashboard_status.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.customer_portal_dashboard_status import CustomerPortalDashboardStatus # noqa: E501 -from swagger_client.rest import ApiException - - -class TestCustomerPortalDashboardStatus(unittest.TestCase): - """CustomerPortalDashboardStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCustomerPortalDashboardStatus(self): - """Test CustomerPortalDashboardStatus""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.customer_portal_dashboard_status.CustomerPortalDashboardStatus() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_customer_removed_event.py b/libs/cloudapi/cloudsdk/test/test_customer_removed_event.py deleted file mode 100644 index cccf02c9f..000000000 --- a/libs/cloudapi/cloudsdk/test/test_customer_removed_event.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.customer_removed_event import CustomerRemovedEvent # noqa: E501 -from swagger_client.rest import ApiException - - -class TestCustomerRemovedEvent(unittest.TestCase): - """CustomerRemovedEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCustomerRemovedEvent(self): - """Test CustomerRemovedEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.customer_removed_event.CustomerRemovedEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_daily_time_range_schedule.py b/libs/cloudapi/cloudsdk/test/test_daily_time_range_schedule.py deleted file mode 100644 index ed73792cd..000000000 --- a/libs/cloudapi/cloudsdk/test/test_daily_time_range_schedule.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.daily_time_range_schedule import DailyTimeRangeSchedule # noqa: E501 -from swagger_client.rest import ApiException - - -class TestDailyTimeRangeSchedule(unittest.TestCase): - """DailyTimeRangeSchedule unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testDailyTimeRangeSchedule(self): - """Test DailyTimeRangeSchedule""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.daily_time_range_schedule.DailyTimeRangeSchedule() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_day_of_week.py b/libs/cloudapi/cloudsdk/test/test_day_of_week.py deleted file mode 100644 index be0874ca2..000000000 --- a/libs/cloudapi/cloudsdk/test/test_day_of_week.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.day_of_week import DayOfWeek # noqa: E501 -from swagger_client.rest import ApiException - - -class TestDayOfWeek(unittest.TestCase): - """DayOfWeek unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testDayOfWeek(self): - """Test DayOfWeek""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.day_of_week.DayOfWeek() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_days_of_week_time_range_schedule.py b/libs/cloudapi/cloudsdk/test/test_days_of_week_time_range_schedule.py deleted file mode 100644 index e87aefe8b..000000000 --- a/libs/cloudapi/cloudsdk/test/test_days_of_week_time_range_schedule.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.days_of_week_time_range_schedule import DaysOfWeekTimeRangeSchedule # noqa: E501 -from swagger_client.rest import ApiException - - -class TestDaysOfWeekTimeRangeSchedule(unittest.TestCase): - """DaysOfWeekTimeRangeSchedule unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testDaysOfWeekTimeRangeSchedule(self): - """Test DaysOfWeekTimeRangeSchedule""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.days_of_week_time_range_schedule.DaysOfWeekTimeRangeSchedule() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_deployment_type.py b/libs/cloudapi/cloudsdk/test/test_deployment_type.py deleted file mode 100644 index 1edd510b8..000000000 --- a/libs/cloudapi/cloudsdk/test/test_deployment_type.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.deployment_type import DeploymentType # noqa: E501 -from swagger_client.rest import ApiException - - -class TestDeploymentType(unittest.TestCase): - """DeploymentType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testDeploymentType(self): - """Test DeploymentType""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.deployment_type.DeploymentType() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_detected_auth_mode.py b/libs/cloudapi/cloudsdk/test/test_detected_auth_mode.py deleted file mode 100644 index 92f4a61dc..000000000 --- a/libs/cloudapi/cloudsdk/test/test_detected_auth_mode.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.detected_auth_mode import DetectedAuthMode # noqa: E501 -from swagger_client.rest import ApiException - - -class TestDetectedAuthMode(unittest.TestCase): - """DetectedAuthMode unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testDetectedAuthMode(self): - """Test DetectedAuthMode""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.detected_auth_mode.DetectedAuthMode() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_device_mode.py b/libs/cloudapi/cloudsdk/test/test_device_mode.py deleted file mode 100644 index 11c8e6cc5..000000000 --- a/libs/cloudapi/cloudsdk/test/test_device_mode.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.device_mode import DeviceMode # noqa: E501 -from swagger_client.rest import ApiException - - -class TestDeviceMode(unittest.TestCase): - """DeviceMode unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testDeviceMode(self): - """Test DeviceMode""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.device_mode.DeviceMode() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_dhcp_ack_event.py b/libs/cloudapi/cloudsdk/test/test_dhcp_ack_event.py deleted file mode 100644 index 54e097dce..000000000 --- a/libs/cloudapi/cloudsdk/test/test_dhcp_ack_event.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.dhcp_ack_event import DhcpAckEvent # noqa: E501 -from swagger_client.rest import ApiException - - -class TestDhcpAckEvent(unittest.TestCase): - """DhcpAckEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testDhcpAckEvent(self): - """Test DhcpAckEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.dhcp_ack_event.DhcpAckEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_dhcp_decline_event.py b/libs/cloudapi/cloudsdk/test/test_dhcp_decline_event.py deleted file mode 100644 index dc20422c2..000000000 --- a/libs/cloudapi/cloudsdk/test/test_dhcp_decline_event.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.dhcp_decline_event import DhcpDeclineEvent # noqa: E501 -from swagger_client.rest import ApiException - - -class TestDhcpDeclineEvent(unittest.TestCase): - """DhcpDeclineEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testDhcpDeclineEvent(self): - """Test DhcpDeclineEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.dhcp_decline_event.DhcpDeclineEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_dhcp_discover_event.py b/libs/cloudapi/cloudsdk/test/test_dhcp_discover_event.py deleted file mode 100644 index 168215bcc..000000000 --- a/libs/cloudapi/cloudsdk/test/test_dhcp_discover_event.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.dhcp_discover_event import DhcpDiscoverEvent # noqa: E501 -from swagger_client.rest import ApiException - - -class TestDhcpDiscoverEvent(unittest.TestCase): - """DhcpDiscoverEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testDhcpDiscoverEvent(self): - """Test DhcpDiscoverEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.dhcp_discover_event.DhcpDiscoverEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_dhcp_inform_event.py b/libs/cloudapi/cloudsdk/test/test_dhcp_inform_event.py deleted file mode 100644 index bfec18c69..000000000 --- a/libs/cloudapi/cloudsdk/test/test_dhcp_inform_event.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.dhcp_inform_event import DhcpInformEvent # noqa: E501 -from swagger_client.rest import ApiException - - -class TestDhcpInformEvent(unittest.TestCase): - """DhcpInformEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testDhcpInformEvent(self): - """Test DhcpInformEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.dhcp_inform_event.DhcpInformEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_dhcp_nak_event.py b/libs/cloudapi/cloudsdk/test/test_dhcp_nak_event.py deleted file mode 100644 index c62863ba3..000000000 --- a/libs/cloudapi/cloudsdk/test/test_dhcp_nak_event.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.dhcp_nak_event import DhcpNakEvent # noqa: E501 -from swagger_client.rest import ApiException - - -class TestDhcpNakEvent(unittest.TestCase): - """DhcpNakEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testDhcpNakEvent(self): - """Test DhcpNakEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.dhcp_nak_event.DhcpNakEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_dhcp_offer_event.py b/libs/cloudapi/cloudsdk/test/test_dhcp_offer_event.py deleted file mode 100644 index bb2a11e1e..000000000 --- a/libs/cloudapi/cloudsdk/test/test_dhcp_offer_event.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.dhcp_offer_event import DhcpOfferEvent # noqa: E501 -from swagger_client.rest import ApiException - - -class TestDhcpOfferEvent(unittest.TestCase): - """DhcpOfferEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testDhcpOfferEvent(self): - """Test DhcpOfferEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.dhcp_offer_event.DhcpOfferEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_dhcp_request_event.py b/libs/cloudapi/cloudsdk/test/test_dhcp_request_event.py deleted file mode 100644 index 8fbb4aa3b..000000000 --- a/libs/cloudapi/cloudsdk/test/test_dhcp_request_event.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.dhcp_request_event import DhcpRequestEvent # noqa: E501 -from swagger_client.rest import ApiException - - -class TestDhcpRequestEvent(unittest.TestCase): - """DhcpRequestEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testDhcpRequestEvent(self): - """Test DhcpRequestEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.dhcp_request_event.DhcpRequestEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_disconnect_frame_type.py b/libs/cloudapi/cloudsdk/test/test_disconnect_frame_type.py deleted file mode 100644 index cc3ff6602..000000000 --- a/libs/cloudapi/cloudsdk/test/test_disconnect_frame_type.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.disconnect_frame_type import DisconnectFrameType # noqa: E501 -from swagger_client.rest import ApiException - - -class TestDisconnectFrameType(unittest.TestCase): - """DisconnectFrameType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testDisconnectFrameType(self): - """Test DisconnectFrameType""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.disconnect_frame_type.DisconnectFrameType() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_disconnect_initiator.py b/libs/cloudapi/cloudsdk/test/test_disconnect_initiator.py deleted file mode 100644 index c0e10b6a8..000000000 --- a/libs/cloudapi/cloudsdk/test/test_disconnect_initiator.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.disconnect_initiator import DisconnectInitiator # noqa: E501 -from swagger_client.rest import ApiException - - -class TestDisconnectInitiator(unittest.TestCase): - """DisconnectInitiator unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testDisconnectInitiator(self): - """Test DisconnectInitiator""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.disconnect_initiator.DisconnectInitiator() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_dns_probe_metric.py b/libs/cloudapi/cloudsdk/test/test_dns_probe_metric.py deleted file mode 100644 index 06bd7e004..000000000 --- a/libs/cloudapi/cloudsdk/test/test_dns_probe_metric.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.dns_probe_metric import DnsProbeMetric # noqa: E501 -from swagger_client.rest import ApiException - - -class TestDnsProbeMetric(unittest.TestCase): - """DnsProbeMetric unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testDnsProbeMetric(self): - """Test DnsProbeMetric""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.dns_probe_metric.DnsProbeMetric() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_dynamic_vlan_mode.py b/libs/cloudapi/cloudsdk/test/test_dynamic_vlan_mode.py deleted file mode 100644 index 7bfe09490..000000000 --- a/libs/cloudapi/cloudsdk/test/test_dynamic_vlan_mode.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.dynamic_vlan_mode import DynamicVlanMode # noqa: E501 -from swagger_client.rest import ApiException - - -class TestDynamicVlanMode(unittest.TestCase): - """DynamicVlanMode unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testDynamicVlanMode(self): - """Test DynamicVlanMode""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.dynamic_vlan_mode.DynamicVlanMode() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_element_radio_configuration.py b/libs/cloudapi/cloudsdk/test/test_element_radio_configuration.py deleted file mode 100644 index 7c4c2388c..000000000 --- a/libs/cloudapi/cloudsdk/test/test_element_radio_configuration.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.element_radio_configuration import ElementRadioConfiguration # noqa: E501 -from swagger_client.rest import ApiException - - -class TestElementRadioConfiguration(unittest.TestCase): - """ElementRadioConfiguration unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testElementRadioConfiguration(self): - """Test ElementRadioConfiguration""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.element_radio_configuration.ElementRadioConfiguration() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_element_radio_configuration_eirp_tx_power.py b/libs/cloudapi/cloudsdk/test/test_element_radio_configuration_eirp_tx_power.py deleted file mode 100644 index c0af75e92..000000000 --- a/libs/cloudapi/cloudsdk/test/test_element_radio_configuration_eirp_tx_power.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.element_radio_configuration_eirp_tx_power import ElementRadioConfigurationEirpTxPower # noqa: E501 -from swagger_client.rest import ApiException - - -class TestElementRadioConfigurationEirpTxPower(unittest.TestCase): - """ElementRadioConfigurationEirpTxPower unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testElementRadioConfigurationEirpTxPower(self): - """Test ElementRadioConfigurationEirpTxPower""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.element_radio_configuration_eirp_tx_power.ElementRadioConfigurationEirpTxPower() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_empty_schedule.py b/libs/cloudapi/cloudsdk/test/test_empty_schedule.py deleted file mode 100644 index 71bef6027..000000000 --- a/libs/cloudapi/cloudsdk/test/test_empty_schedule.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.empty_schedule import EmptySchedule # noqa: E501 -from swagger_client.rest import ApiException - - -class TestEmptySchedule(unittest.TestCase): - """EmptySchedule unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testEmptySchedule(self): - """Test EmptySchedule""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.empty_schedule.EmptySchedule() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_equipment.py b/libs/cloudapi/cloudsdk/test/test_equipment.py deleted file mode 100644 index 9c009826b..000000000 --- a/libs/cloudapi/cloudsdk/test/test_equipment.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.equipment import Equipment # noqa: E501 -from swagger_client.rest import ApiException - - -class TestEquipment(unittest.TestCase): - """Equipment unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testEquipment(self): - """Test Equipment""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.equipment.Equipment() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_equipment_added_event.py b/libs/cloudapi/cloudsdk/test/test_equipment_added_event.py deleted file mode 100644 index 8727d9bf7..000000000 --- a/libs/cloudapi/cloudsdk/test/test_equipment_added_event.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.equipment_added_event import EquipmentAddedEvent # noqa: E501 -from swagger_client.rest import ApiException - - -class TestEquipmentAddedEvent(unittest.TestCase): - """EquipmentAddedEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testEquipmentAddedEvent(self): - """Test EquipmentAddedEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.equipment_added_event.EquipmentAddedEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_equipment_admin_status_data.py b/libs/cloudapi/cloudsdk/test/test_equipment_admin_status_data.py deleted file mode 100644 index 5e4a7ce0d..000000000 --- a/libs/cloudapi/cloudsdk/test/test_equipment_admin_status_data.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.equipment_admin_status_data import EquipmentAdminStatusData # noqa: E501 -from swagger_client.rest import ApiException - - -class TestEquipmentAdminStatusData(unittest.TestCase): - """EquipmentAdminStatusData unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testEquipmentAdminStatusData(self): - """Test EquipmentAdminStatusData""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.equipment_admin_status_data.EquipmentAdminStatusData() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_equipment_api.py b/libs/cloudapi/cloudsdk/test/test_equipment_api.py deleted file mode 100644 index b91791c6a..000000000 --- a/libs/cloudapi/cloudsdk/test/test_equipment_api.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.api.equipment_api import EquipmentApi # noqa: E501 -from swagger_client.rest import ApiException - - -class TestEquipmentApi(unittest.TestCase): - """EquipmentApi unit test stubs""" - - def setUp(self): - self.api = EquipmentApi() # noqa: E501 - - def tearDown(self): - pass - - def test_create_equipment(self): - """Test case for create_equipment - - Create new Equipment # noqa: E501 - """ - pass - - def test_delete_equipment(self): - """Test case for delete_equipment - - Delete Equipment # noqa: E501 - """ - pass - - def test_get_default_equipment_details(self): - """Test case for get_default_equipment_details - - Get default values for Equipment details for a specific equipment type # noqa: E501 - """ - pass - - def test_get_equipment_by_customer_id(self): - """Test case for get_equipment_by_customer_id - - Get Equipment By customerId # noqa: E501 - """ - pass - - def test_get_equipment_by_customer_with_filter(self): - """Test case for get_equipment_by_customer_with_filter - - Get Equipment for customerId, equipment type, and location id # noqa: E501 - """ - pass - - def test_get_equipment_by_id(self): - """Test case for get_equipment_by_id - - Get Equipment By Id # noqa: E501 - """ - pass - - def test_get_equipment_by_set_of_ids(self): - """Test case for get_equipment_by_set_of_ids - - Get Equipment By a set of ids # noqa: E501 - """ - pass - - def test_update_equipment(self): - """Test case for update_equipment - - Update Equipment # noqa: E501 - """ - pass - - def test_update_equipment_rrm_bulk(self): - """Test case for update_equipment_rrm_bulk - - Update RRM related properties of Equipment in bulk # noqa: E501 - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_equipment_auto_provisioning_settings.py b/libs/cloudapi/cloudsdk/test/test_equipment_auto_provisioning_settings.py deleted file mode 100644 index ed2d0531f..000000000 --- a/libs/cloudapi/cloudsdk/test/test_equipment_auto_provisioning_settings.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.equipment_auto_provisioning_settings import EquipmentAutoProvisioningSettings # noqa: E501 -from swagger_client.rest import ApiException - - -class TestEquipmentAutoProvisioningSettings(unittest.TestCase): - """EquipmentAutoProvisioningSettings unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testEquipmentAutoProvisioningSettings(self): - """Test EquipmentAutoProvisioningSettings""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.equipment_auto_provisioning_settings.EquipmentAutoProvisioningSettings() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_equipment_capacity_details.py b/libs/cloudapi/cloudsdk/test/test_equipment_capacity_details.py deleted file mode 100644 index 9bae4067c..000000000 --- a/libs/cloudapi/cloudsdk/test/test_equipment_capacity_details.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.equipment_capacity_details import EquipmentCapacityDetails # noqa: E501 -from swagger_client.rest import ApiException - - -class TestEquipmentCapacityDetails(unittest.TestCase): - """EquipmentCapacityDetails unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testEquipmentCapacityDetails(self): - """Test EquipmentCapacityDetails""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.equipment_capacity_details.EquipmentCapacityDetails() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_equipment_capacity_details_map.py b/libs/cloudapi/cloudsdk/test/test_equipment_capacity_details_map.py deleted file mode 100644 index 2e3173358..000000000 --- a/libs/cloudapi/cloudsdk/test/test_equipment_capacity_details_map.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.equipment_capacity_details_map import EquipmentCapacityDetailsMap # noqa: E501 -from swagger_client.rest import ApiException - - -class TestEquipmentCapacityDetailsMap(unittest.TestCase): - """EquipmentCapacityDetailsMap unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testEquipmentCapacityDetailsMap(self): - """Test EquipmentCapacityDetailsMap""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.equipment_capacity_details_map.EquipmentCapacityDetailsMap() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_equipment_changed_event.py b/libs/cloudapi/cloudsdk/test/test_equipment_changed_event.py deleted file mode 100644 index 2313679ab..000000000 --- a/libs/cloudapi/cloudsdk/test/test_equipment_changed_event.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.equipment_changed_event import EquipmentChangedEvent # noqa: E501 -from swagger_client.rest import ApiException - - -class TestEquipmentChangedEvent(unittest.TestCase): - """EquipmentChangedEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testEquipmentChangedEvent(self): - """Test EquipmentChangedEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.equipment_changed_event.EquipmentChangedEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_equipment_details.py b/libs/cloudapi/cloudsdk/test/test_equipment_details.py deleted file mode 100644 index ef7ea97d1..000000000 --- a/libs/cloudapi/cloudsdk/test/test_equipment_details.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.equipment_details import EquipmentDetails # noqa: E501 -from swagger_client.rest import ApiException - - -class TestEquipmentDetails(unittest.TestCase): - """EquipmentDetails unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testEquipmentDetails(self): - """Test EquipmentDetails""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.equipment_details.EquipmentDetails() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_equipment_gateway_api.py b/libs/cloudapi/cloudsdk/test/test_equipment_gateway_api.py deleted file mode 100644 index d12e8bb75..000000000 --- a/libs/cloudapi/cloudsdk/test/test_equipment_gateway_api.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.api.equipment_gateway_api import EquipmentGatewayApi # noqa: E501 -from swagger_client.rest import ApiException - - -class TestEquipmentGatewayApi(unittest.TestCase): - """EquipmentGatewayApi unit test stubs""" - - def setUp(self): - self.api = EquipmentGatewayApi() # noqa: E501 - - def tearDown(self): - pass - - def test_request_ap_factory_reset(self): - """Test case for request_ap_factory_reset - - Request factory reset for a particular equipment. # noqa: E501 - """ - pass - - def test_request_ap_reboot(self): - """Test case for request_ap_reboot - - Request reboot for a particular equipment. # noqa: E501 - """ - pass - - def test_request_ap_switch_software_bank(self): - """Test case for request_ap_switch_software_bank - - Request switch of active/inactive sw bank for a particular equipment. # noqa: E501 - """ - pass - - def test_request_channel_change(self): - """Test case for request_channel_change - - Request change of primary and/or backup channels for given frequency bands. # noqa: E501 - """ - pass - - def test_request_firmware_update(self): - """Test case for request_firmware_update - - Request firmware update for a particular equipment. # noqa: E501 - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_equipment_gateway_record.py b/libs/cloudapi/cloudsdk/test/test_equipment_gateway_record.py deleted file mode 100644 index 372307b27..000000000 --- a/libs/cloudapi/cloudsdk/test/test_equipment_gateway_record.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.equipment_gateway_record import EquipmentGatewayRecord # noqa: E501 -from swagger_client.rest import ApiException - - -class TestEquipmentGatewayRecord(unittest.TestCase): - """EquipmentGatewayRecord unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testEquipmentGatewayRecord(self): - """Test EquipmentGatewayRecord""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.equipment_gateway_record.EquipmentGatewayRecord() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_equipment_lan_status_data.py b/libs/cloudapi/cloudsdk/test/test_equipment_lan_status_data.py deleted file mode 100644 index eecab2942..000000000 --- a/libs/cloudapi/cloudsdk/test/test_equipment_lan_status_data.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.equipment_lan_status_data import EquipmentLANStatusData # noqa: E501 -from swagger_client.rest import ApiException - - -class TestEquipmentLANStatusData(unittest.TestCase): - """EquipmentLANStatusData unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testEquipmentLANStatusData(self): - """Test EquipmentLANStatusData""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.equipment_lan_status_data.EquipmentLANStatusData() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_equipment_neighbouring_status_data.py b/libs/cloudapi/cloudsdk/test/test_equipment_neighbouring_status_data.py deleted file mode 100644 index a90066db5..000000000 --- a/libs/cloudapi/cloudsdk/test/test_equipment_neighbouring_status_data.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.equipment_neighbouring_status_data import EquipmentNeighbouringStatusData # noqa: E501 -from swagger_client.rest import ApiException - - -class TestEquipmentNeighbouringStatusData(unittest.TestCase): - """EquipmentNeighbouringStatusData unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testEquipmentNeighbouringStatusData(self): - """Test EquipmentNeighbouringStatusData""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.equipment_neighbouring_status_data.EquipmentNeighbouringStatusData() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_equipment_peer_status_data.py b/libs/cloudapi/cloudsdk/test/test_equipment_peer_status_data.py deleted file mode 100644 index e93f042db..000000000 --- a/libs/cloudapi/cloudsdk/test/test_equipment_peer_status_data.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.equipment_peer_status_data import EquipmentPeerStatusData # noqa: E501 -from swagger_client.rest import ApiException - - -class TestEquipmentPeerStatusData(unittest.TestCase): - """EquipmentPeerStatusData unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testEquipmentPeerStatusData(self): - """Test EquipmentPeerStatusData""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.equipment_peer_status_data.EquipmentPeerStatusData() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_equipment_per_radio_utilization_details.py b/libs/cloudapi/cloudsdk/test/test_equipment_per_radio_utilization_details.py deleted file mode 100644 index e5ba61e39..000000000 --- a/libs/cloudapi/cloudsdk/test/test_equipment_per_radio_utilization_details.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.equipment_per_radio_utilization_details import EquipmentPerRadioUtilizationDetails # noqa: E501 -from swagger_client.rest import ApiException - - -class TestEquipmentPerRadioUtilizationDetails(unittest.TestCase): - """EquipmentPerRadioUtilizationDetails unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testEquipmentPerRadioUtilizationDetails(self): - """Test EquipmentPerRadioUtilizationDetails""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.equipment_per_radio_utilization_details.EquipmentPerRadioUtilizationDetails() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_equipment_per_radio_utilization_details_map.py b/libs/cloudapi/cloudsdk/test/test_equipment_per_radio_utilization_details_map.py deleted file mode 100644 index 52c703aab..000000000 --- a/libs/cloudapi/cloudsdk/test/test_equipment_per_radio_utilization_details_map.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.equipment_per_radio_utilization_details_map import EquipmentPerRadioUtilizationDetailsMap # noqa: E501 -from swagger_client.rest import ApiException - - -class TestEquipmentPerRadioUtilizationDetailsMap(unittest.TestCase): - """EquipmentPerRadioUtilizationDetailsMap unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testEquipmentPerRadioUtilizationDetailsMap(self): - """Test EquipmentPerRadioUtilizationDetailsMap""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.equipment_per_radio_utilization_details_map.EquipmentPerRadioUtilizationDetailsMap() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_equipment_performance_details.py b/libs/cloudapi/cloudsdk/test/test_equipment_performance_details.py deleted file mode 100644 index fe92ed7bc..000000000 --- a/libs/cloudapi/cloudsdk/test/test_equipment_performance_details.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.equipment_performance_details import EquipmentPerformanceDetails # noqa: E501 -from swagger_client.rest import ApiException - - -class TestEquipmentPerformanceDetails(unittest.TestCase): - """EquipmentPerformanceDetails unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testEquipmentPerformanceDetails(self): - """Test EquipmentPerformanceDetails""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.equipment_performance_details.EquipmentPerformanceDetails() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_equipment_protocol_state.py b/libs/cloudapi/cloudsdk/test/test_equipment_protocol_state.py deleted file mode 100644 index f13505c73..000000000 --- a/libs/cloudapi/cloudsdk/test/test_equipment_protocol_state.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.equipment_protocol_state import EquipmentProtocolState # noqa: E501 -from swagger_client.rest import ApiException - - -class TestEquipmentProtocolState(unittest.TestCase): - """EquipmentProtocolState unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testEquipmentProtocolState(self): - """Test EquipmentProtocolState""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.equipment_protocol_state.EquipmentProtocolState() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_equipment_protocol_status_data.py b/libs/cloudapi/cloudsdk/test/test_equipment_protocol_status_data.py deleted file mode 100644 index 1436b1612..000000000 --- a/libs/cloudapi/cloudsdk/test/test_equipment_protocol_status_data.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.equipment_protocol_status_data import EquipmentProtocolStatusData # noqa: E501 -from swagger_client.rest import ApiException - - -class TestEquipmentProtocolStatusData(unittest.TestCase): - """EquipmentProtocolStatusData unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testEquipmentProtocolStatusData(self): - """Test EquipmentProtocolStatusData""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.equipment_protocol_status_data.EquipmentProtocolStatusData() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_equipment_removed_event.py b/libs/cloudapi/cloudsdk/test/test_equipment_removed_event.py deleted file mode 100644 index 2e3b46be8..000000000 --- a/libs/cloudapi/cloudsdk/test/test_equipment_removed_event.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.equipment_removed_event import EquipmentRemovedEvent # noqa: E501 -from swagger_client.rest import ApiException - - -class TestEquipmentRemovedEvent(unittest.TestCase): - """EquipmentRemovedEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testEquipmentRemovedEvent(self): - """Test EquipmentRemovedEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.equipment_removed_event.EquipmentRemovedEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_equipment_routing_record.py b/libs/cloudapi/cloudsdk/test/test_equipment_routing_record.py deleted file mode 100644 index 1a282978d..000000000 --- a/libs/cloudapi/cloudsdk/test/test_equipment_routing_record.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.equipment_routing_record import EquipmentRoutingRecord # noqa: E501 -from swagger_client.rest import ApiException - - -class TestEquipmentRoutingRecord(unittest.TestCase): - """EquipmentRoutingRecord unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testEquipmentRoutingRecord(self): - """Test EquipmentRoutingRecord""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.equipment_routing_record.EquipmentRoutingRecord() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_equipment_rrm_bulk_update_item.py b/libs/cloudapi/cloudsdk/test/test_equipment_rrm_bulk_update_item.py deleted file mode 100644 index 5f41aaec6..000000000 --- a/libs/cloudapi/cloudsdk/test/test_equipment_rrm_bulk_update_item.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.equipment_rrm_bulk_update_item import EquipmentRrmBulkUpdateItem # noqa: E501 -from swagger_client.rest import ApiException - - -class TestEquipmentRrmBulkUpdateItem(unittest.TestCase): - """EquipmentRrmBulkUpdateItem unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testEquipmentRrmBulkUpdateItem(self): - """Test EquipmentRrmBulkUpdateItem""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.equipment_rrm_bulk_update_item.EquipmentRrmBulkUpdateItem() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_equipment_rrm_bulk_update_item_per_radio_map.py b/libs/cloudapi/cloudsdk/test/test_equipment_rrm_bulk_update_item_per_radio_map.py deleted file mode 100644 index c1ca0c608..000000000 --- a/libs/cloudapi/cloudsdk/test/test_equipment_rrm_bulk_update_item_per_radio_map.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.equipment_rrm_bulk_update_item_per_radio_map import EquipmentRrmBulkUpdateItemPerRadioMap # noqa: E501 -from swagger_client.rest import ApiException - - -class TestEquipmentRrmBulkUpdateItemPerRadioMap(unittest.TestCase): - """EquipmentRrmBulkUpdateItemPerRadioMap unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testEquipmentRrmBulkUpdateItemPerRadioMap(self): - """Test EquipmentRrmBulkUpdateItemPerRadioMap""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.equipment_rrm_bulk_update_item_per_radio_map.EquipmentRrmBulkUpdateItemPerRadioMap() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_equipment_rrm_bulk_update_request.py b/libs/cloudapi/cloudsdk/test/test_equipment_rrm_bulk_update_request.py deleted file mode 100644 index c8fc8a1d8..000000000 --- a/libs/cloudapi/cloudsdk/test/test_equipment_rrm_bulk_update_request.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.equipment_rrm_bulk_update_request import EquipmentRrmBulkUpdateRequest # noqa: E501 -from swagger_client.rest import ApiException - - -class TestEquipmentRrmBulkUpdateRequest(unittest.TestCase): - """EquipmentRrmBulkUpdateRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testEquipmentRrmBulkUpdateRequest(self): - """Test EquipmentRrmBulkUpdateRequest""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.equipment_rrm_bulk_update_request.EquipmentRrmBulkUpdateRequest() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_equipment_scan_details.py b/libs/cloudapi/cloudsdk/test/test_equipment_scan_details.py deleted file mode 100644 index ee9deaafb..000000000 --- a/libs/cloudapi/cloudsdk/test/test_equipment_scan_details.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.equipment_scan_details import EquipmentScanDetails # noqa: E501 -from swagger_client.rest import ApiException - - -class TestEquipmentScanDetails(unittest.TestCase): - """EquipmentScanDetails unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testEquipmentScanDetails(self): - """Test EquipmentScanDetails""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.equipment_scan_details.EquipmentScanDetails() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_equipment_type.py b/libs/cloudapi/cloudsdk/test/test_equipment_type.py deleted file mode 100644 index 1655668ed..000000000 --- a/libs/cloudapi/cloudsdk/test/test_equipment_type.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.equipment_type import EquipmentType # noqa: E501 -from swagger_client.rest import ApiException - - -class TestEquipmentType(unittest.TestCase): - """EquipmentType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testEquipmentType(self): - """Test EquipmentType""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.equipment_type.EquipmentType() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_equipment_upgrade_failure_reason.py b/libs/cloudapi/cloudsdk/test/test_equipment_upgrade_failure_reason.py deleted file mode 100644 index f9323e4e4..000000000 --- a/libs/cloudapi/cloudsdk/test/test_equipment_upgrade_failure_reason.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.equipment_upgrade_failure_reason import EquipmentUpgradeFailureReason # noqa: E501 -from swagger_client.rest import ApiException - - -class TestEquipmentUpgradeFailureReason(unittest.TestCase): - """EquipmentUpgradeFailureReason unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testEquipmentUpgradeFailureReason(self): - """Test EquipmentUpgradeFailureReason""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.equipment_upgrade_failure_reason.EquipmentUpgradeFailureReason() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_equipment_upgrade_state.py b/libs/cloudapi/cloudsdk/test/test_equipment_upgrade_state.py deleted file mode 100644 index 588f5a7f1..000000000 --- a/libs/cloudapi/cloudsdk/test/test_equipment_upgrade_state.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.equipment_upgrade_state import EquipmentUpgradeState # noqa: E501 -from swagger_client.rest import ApiException - - -class TestEquipmentUpgradeState(unittest.TestCase): - """EquipmentUpgradeState unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testEquipmentUpgradeState(self): - """Test EquipmentUpgradeState""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.equipment_upgrade_state.EquipmentUpgradeState() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_equipment_upgrade_status_data.py b/libs/cloudapi/cloudsdk/test/test_equipment_upgrade_status_data.py deleted file mode 100644 index 809f068cf..000000000 --- a/libs/cloudapi/cloudsdk/test/test_equipment_upgrade_status_data.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.equipment_upgrade_status_data import EquipmentUpgradeStatusData # noqa: E501 -from swagger_client.rest import ApiException - - -class TestEquipmentUpgradeStatusData(unittest.TestCase): - """EquipmentUpgradeStatusData unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testEquipmentUpgradeStatusData(self): - """Test EquipmentUpgradeStatusData""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.equipment_upgrade_status_data.EquipmentUpgradeStatusData() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_ethernet_link_state.py b/libs/cloudapi/cloudsdk/test/test_ethernet_link_state.py deleted file mode 100644 index e11a64454..000000000 --- a/libs/cloudapi/cloudsdk/test/test_ethernet_link_state.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.ethernet_link_state import EthernetLinkState # noqa: E501 -from swagger_client.rest import ApiException - - -class TestEthernetLinkState(unittest.TestCase): - """EthernetLinkState unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testEthernetLinkState(self): - """Test EthernetLinkState""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.ethernet_link_state.EthernetLinkState() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_file_category.py b/libs/cloudapi/cloudsdk/test/test_file_category.py deleted file mode 100644 index 3fddc8ec8..000000000 --- a/libs/cloudapi/cloudsdk/test/test_file_category.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.file_category import FileCategory # noqa: E501 -from swagger_client.rest import ApiException - - -class TestFileCategory(unittest.TestCase): - """FileCategory unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testFileCategory(self): - """Test FileCategory""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.file_category.FileCategory() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_file_services_api.py b/libs/cloudapi/cloudsdk/test/test_file_services_api.py deleted file mode 100644 index f67e5e501..000000000 --- a/libs/cloudapi/cloudsdk/test/test_file_services_api.py +++ /dev/null @@ -1,47 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.api.file_services_api import FileServicesApi # noqa: E501 -from swagger_client.rest import ApiException - - -class TestFileServicesApi(unittest.TestCase): - """FileServicesApi unit test stubs""" - - def setUp(self): - self.api = FileServicesApi() # noqa: E501 - - def tearDown(self): - pass - - def test_download_binary_file(self): - """Test case for download_binary_file - - Download binary file. # noqa: E501 - """ - pass - - def test_upload_binary_file(self): - """Test case for upload_binary_file - - Upload binary file. # noqa: E501 - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_file_type.py b/libs/cloudapi/cloudsdk/test/test_file_type.py deleted file mode 100644 index 602b71638..000000000 --- a/libs/cloudapi/cloudsdk/test/test_file_type.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.file_type import FileType # noqa: E501 -from swagger_client.rest import ApiException - - -class TestFileType(unittest.TestCase): - """FileType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testFileType(self): - """Test FileType""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.file_type.FileType() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_firmware_management_api.py b/libs/cloudapi/cloudsdk/test/test_firmware_management_api.py deleted file mode 100644 index 4c67547ee..000000000 --- a/libs/cloudapi/cloudsdk/test/test_firmware_management_api.py +++ /dev/null @@ -1,173 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.api.firmware_management_api import FirmwareManagementApi # noqa: E501 -from swagger_client.rest import ApiException - - -class TestFirmwareManagementApi(unittest.TestCase): - """FirmwareManagementApi unit test stubs""" - - def setUp(self): - self.api = FirmwareManagementApi() # noqa: E501 - - def tearDown(self): - pass - - def test_create_customer_firmware_track_record(self): - """Test case for create_customer_firmware_track_record - - Create new CustomerFirmwareTrackRecord # noqa: E501 - """ - pass - - def test_create_firmware_track_record(self): - """Test case for create_firmware_track_record - - Create new FirmwareTrackRecord # noqa: E501 - """ - pass - - def test_create_firmware_version(self): - """Test case for create_firmware_version - - Create new FirmwareVersion # noqa: E501 - """ - pass - - def test_delete_customer_firmware_track_record(self): - """Test case for delete_customer_firmware_track_record - - Delete CustomerFirmwareTrackRecord # noqa: E501 - """ - pass - - def test_delete_firmware_track_assignment(self): - """Test case for delete_firmware_track_assignment - - Delete FirmwareTrackAssignment # noqa: E501 - """ - pass - - def test_delete_firmware_track_record(self): - """Test case for delete_firmware_track_record - - Delete FirmwareTrackRecord # noqa: E501 - """ - pass - - def test_delete_firmware_version(self): - """Test case for delete_firmware_version - - Delete FirmwareVersion # noqa: E501 - """ - pass - - def test_get_customer_firmware_track_record(self): - """Test case for get_customer_firmware_track_record - - Get CustomerFirmwareTrackRecord By customerId # noqa: E501 - """ - pass - - def test_get_default_customer_track_setting(self): - """Test case for get_default_customer_track_setting - - Get default settings for handling automatic firmware upgrades # noqa: E501 - """ - pass - - def test_get_firmware_model_ids_by_equipment_type(self): - """Test case for get_firmware_model_ids_by_equipment_type - - Get equipment models from all known firmware versions filtered by equipmentType # noqa: E501 - """ - pass - - def test_get_firmware_track_assignment_details(self): - """Test case for get_firmware_track_assignment_details - - Get FirmwareTrackAssignmentDetails for a given firmware track name # noqa: E501 - """ - pass - - def test_get_firmware_track_record(self): - """Test case for get_firmware_track_record - - Get FirmwareTrackRecord By Id # noqa: E501 - """ - pass - - def test_get_firmware_track_record_by_name(self): - """Test case for get_firmware_track_record_by_name - - Get FirmwareTrackRecord By name # noqa: E501 - """ - pass - - def test_get_firmware_version(self): - """Test case for get_firmware_version - - Get FirmwareVersion By Id # noqa: E501 - """ - pass - - def test_get_firmware_version_by_equipment_type(self): - """Test case for get_firmware_version_by_equipment_type - - Get FirmwareVersions filtered by equipmentType and optional equipment model # noqa: E501 - """ - pass - - def test_get_firmware_version_by_name(self): - """Test case for get_firmware_version_by_name - - Get FirmwareVersion By name # noqa: E501 - """ - pass - - def test_update_customer_firmware_track_record(self): - """Test case for update_customer_firmware_track_record - - Update CustomerFirmwareTrackRecord # noqa: E501 - """ - pass - - def test_update_firmware_track_assignment_details(self): - """Test case for update_firmware_track_assignment_details - - Update FirmwareTrackAssignmentDetails # noqa: E501 - """ - pass - - def test_update_firmware_track_record(self): - """Test case for update_firmware_track_record - - Update FirmwareTrackRecord # noqa: E501 - """ - pass - - def test_update_firmware_version(self): - """Test case for update_firmware_version - - Update FirmwareVersion # noqa: E501 - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_firmware_schedule_setting.py b/libs/cloudapi/cloudsdk/test/test_firmware_schedule_setting.py deleted file mode 100644 index fb17a8e74..000000000 --- a/libs/cloudapi/cloudsdk/test/test_firmware_schedule_setting.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.firmware_schedule_setting import FirmwareScheduleSetting # noqa: E501 -from swagger_client.rest import ApiException - - -class TestFirmwareScheduleSetting(unittest.TestCase): - """FirmwareScheduleSetting unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testFirmwareScheduleSetting(self): - """Test FirmwareScheduleSetting""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.firmware_schedule_setting.FirmwareScheduleSetting() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_firmware_track_assignment_details.py b/libs/cloudapi/cloudsdk/test/test_firmware_track_assignment_details.py deleted file mode 100644 index a59d8fbce..000000000 --- a/libs/cloudapi/cloudsdk/test/test_firmware_track_assignment_details.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.firmware_track_assignment_details import FirmwareTrackAssignmentDetails # noqa: E501 -from swagger_client.rest import ApiException - - -class TestFirmwareTrackAssignmentDetails(unittest.TestCase): - """FirmwareTrackAssignmentDetails unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testFirmwareTrackAssignmentDetails(self): - """Test FirmwareTrackAssignmentDetails""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.firmware_track_assignment_details.FirmwareTrackAssignmentDetails() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_firmware_track_assignment_record.py b/libs/cloudapi/cloudsdk/test/test_firmware_track_assignment_record.py deleted file mode 100644 index 8faf16ae9..000000000 --- a/libs/cloudapi/cloudsdk/test/test_firmware_track_assignment_record.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.firmware_track_assignment_record import FirmwareTrackAssignmentRecord # noqa: E501 -from swagger_client.rest import ApiException - - -class TestFirmwareTrackAssignmentRecord(unittest.TestCase): - """FirmwareTrackAssignmentRecord unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testFirmwareTrackAssignmentRecord(self): - """Test FirmwareTrackAssignmentRecord""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.firmware_track_assignment_record.FirmwareTrackAssignmentRecord() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_firmware_track_record.py b/libs/cloudapi/cloudsdk/test/test_firmware_track_record.py deleted file mode 100644 index b9dd31fbe..000000000 --- a/libs/cloudapi/cloudsdk/test/test_firmware_track_record.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.firmware_track_record import FirmwareTrackRecord # noqa: E501 -from swagger_client.rest import ApiException - - -class TestFirmwareTrackRecord(unittest.TestCase): - """FirmwareTrackRecord unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testFirmwareTrackRecord(self): - """Test FirmwareTrackRecord""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.firmware_track_record.FirmwareTrackRecord() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_firmware_validation_method.py b/libs/cloudapi/cloudsdk/test/test_firmware_validation_method.py deleted file mode 100644 index aca2c4caa..000000000 --- a/libs/cloudapi/cloudsdk/test/test_firmware_validation_method.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.firmware_validation_method import FirmwareValidationMethod # noqa: E501 -from swagger_client.rest import ApiException - - -class TestFirmwareValidationMethod(unittest.TestCase): - """FirmwareValidationMethod unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testFirmwareValidationMethod(self): - """Test FirmwareValidationMethod""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.firmware_validation_method.FirmwareValidationMethod() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_firmware_version.py b/libs/cloudapi/cloudsdk/test/test_firmware_version.py deleted file mode 100644 index d931cd8e6..000000000 --- a/libs/cloudapi/cloudsdk/test/test_firmware_version.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.firmware_version import FirmwareVersion # noqa: E501 -from swagger_client.rest import ApiException - - -class TestFirmwareVersion(unittest.TestCase): - """FirmwareVersion unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testFirmwareVersion(self): - """Test FirmwareVersion""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.firmware_version.FirmwareVersion() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_gateway_added_event.py b/libs/cloudapi/cloudsdk/test/test_gateway_added_event.py deleted file mode 100644 index aaedb3677..000000000 --- a/libs/cloudapi/cloudsdk/test/test_gateway_added_event.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.gateway_added_event import GatewayAddedEvent # noqa: E501 -from swagger_client.rest import ApiException - - -class TestGatewayAddedEvent(unittest.TestCase): - """GatewayAddedEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testGatewayAddedEvent(self): - """Test GatewayAddedEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.gateway_added_event.GatewayAddedEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_gateway_changed_event.py b/libs/cloudapi/cloudsdk/test/test_gateway_changed_event.py deleted file mode 100644 index 3c4956a5e..000000000 --- a/libs/cloudapi/cloudsdk/test/test_gateway_changed_event.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.gateway_changed_event import GatewayChangedEvent # noqa: E501 -from swagger_client.rest import ApiException - - -class TestGatewayChangedEvent(unittest.TestCase): - """GatewayChangedEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testGatewayChangedEvent(self): - """Test GatewayChangedEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.gateway_changed_event.GatewayChangedEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_gateway_removed_event.py b/libs/cloudapi/cloudsdk/test/test_gateway_removed_event.py deleted file mode 100644 index 58e310930..000000000 --- a/libs/cloudapi/cloudsdk/test/test_gateway_removed_event.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.gateway_removed_event import GatewayRemovedEvent # noqa: E501 -from swagger_client.rest import ApiException - - -class TestGatewayRemovedEvent(unittest.TestCase): - """GatewayRemovedEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testGatewayRemovedEvent(self): - """Test GatewayRemovedEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.gateway_removed_event.GatewayRemovedEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_gateway_type.py b/libs/cloudapi/cloudsdk/test/test_gateway_type.py deleted file mode 100644 index 0f6af65ed..000000000 --- a/libs/cloudapi/cloudsdk/test/test_gateway_type.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.gateway_type import GatewayType # noqa: E501 -from swagger_client.rest import ApiException - - -class TestGatewayType(unittest.TestCase): - """GatewayType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testGatewayType(self): - """Test GatewayType""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.gateway_type.GatewayType() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_generic_response.py b/libs/cloudapi/cloudsdk/test/test_generic_response.py deleted file mode 100644 index 9d37bcf70..000000000 --- a/libs/cloudapi/cloudsdk/test/test_generic_response.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.generic_response import GenericResponse # noqa: E501 -from swagger_client.rest import ApiException - - -class TestGenericResponse(unittest.TestCase): - """GenericResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testGenericResponse(self): - """Test GenericResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.generic_response.GenericResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_gre_tunnel_configuration.py b/libs/cloudapi/cloudsdk/test/test_gre_tunnel_configuration.py deleted file mode 100644 index 9ed71bec1..000000000 --- a/libs/cloudapi/cloudsdk/test/test_gre_tunnel_configuration.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.gre_tunnel_configuration import GreTunnelConfiguration # noqa: E501 -from swagger_client.rest import ApiException - - -class TestGreTunnelConfiguration(unittest.TestCase): - """GreTunnelConfiguration unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testGreTunnelConfiguration(self): - """Test GreTunnelConfiguration""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.gre_tunnel_configuration.GreTunnelConfiguration() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_guard_interval.py b/libs/cloudapi/cloudsdk/test/test_guard_interval.py deleted file mode 100644 index f4e6efe8c..000000000 --- a/libs/cloudapi/cloudsdk/test/test_guard_interval.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.guard_interval import GuardInterval # noqa: E501 -from swagger_client.rest import ApiException - - -class TestGuardInterval(unittest.TestCase): - """GuardInterval unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testGuardInterval(self): - """Test GuardInterval""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.guard_interval.GuardInterval() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_integer_per_radio_type_map.py b/libs/cloudapi/cloudsdk/test/test_integer_per_radio_type_map.py deleted file mode 100644 index eb72c908f..000000000 --- a/libs/cloudapi/cloudsdk/test/test_integer_per_radio_type_map.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.integer_per_radio_type_map import IntegerPerRadioTypeMap # noqa: E501 -from swagger_client.rest import ApiException - - -class TestIntegerPerRadioTypeMap(unittest.TestCase): - """IntegerPerRadioTypeMap unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testIntegerPerRadioTypeMap(self): - """Test IntegerPerRadioTypeMap""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.integer_per_radio_type_map.IntegerPerRadioTypeMap() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_integer_per_status_code_map.py b/libs/cloudapi/cloudsdk/test/test_integer_per_status_code_map.py deleted file mode 100644 index 3b513aae8..000000000 --- a/libs/cloudapi/cloudsdk/test/test_integer_per_status_code_map.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.integer_per_status_code_map import IntegerPerStatusCodeMap # noqa: E501 -from swagger_client.rest import ApiException - - -class TestIntegerPerStatusCodeMap(unittest.TestCase): - """IntegerPerStatusCodeMap unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testIntegerPerStatusCodeMap(self): - """Test IntegerPerStatusCodeMap""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.integer_per_status_code_map.IntegerPerStatusCodeMap() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_integer_status_code_map.py b/libs/cloudapi/cloudsdk/test/test_integer_status_code_map.py deleted file mode 100644 index aa2deadfe..000000000 --- a/libs/cloudapi/cloudsdk/test/test_integer_status_code_map.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.integer_status_code_map import IntegerStatusCodeMap # noqa: E501 -from swagger_client.rest import ApiException - - -class TestIntegerStatusCodeMap(unittest.TestCase): - """IntegerStatusCodeMap unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testIntegerStatusCodeMap(self): - """Test IntegerStatusCodeMap""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.integer_status_code_map.IntegerStatusCodeMap() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_integer_value_map.py b/libs/cloudapi/cloudsdk/test/test_integer_value_map.py deleted file mode 100644 index f651b9813..000000000 --- a/libs/cloudapi/cloudsdk/test/test_integer_value_map.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.integer_value_map import IntegerValueMap # noqa: E501 -from swagger_client.rest import ApiException - - -class TestIntegerValueMap(unittest.TestCase): - """IntegerValueMap unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testIntegerValueMap(self): - """Test IntegerValueMap""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.integer_value_map.IntegerValueMap() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_json_serialized_exception.py b/libs/cloudapi/cloudsdk/test/test_json_serialized_exception.py deleted file mode 100644 index 3080141cd..000000000 --- a/libs/cloudapi/cloudsdk/test/test_json_serialized_exception.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.json_serialized_exception import JsonSerializedException # noqa: E501 -from swagger_client.rest import ApiException - - -class TestJsonSerializedException(unittest.TestCase): - """JsonSerializedException unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testJsonSerializedException(self): - """Test JsonSerializedException""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.json_serialized_exception.JsonSerializedException() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_link_quality_aggregated_stats.py b/libs/cloudapi/cloudsdk/test/test_link_quality_aggregated_stats.py deleted file mode 100644 index f3211bf74..000000000 --- a/libs/cloudapi/cloudsdk/test/test_link_quality_aggregated_stats.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.link_quality_aggregated_stats import LinkQualityAggregatedStats # noqa: E501 -from swagger_client.rest import ApiException - - -class TestLinkQualityAggregatedStats(unittest.TestCase): - """LinkQualityAggregatedStats unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testLinkQualityAggregatedStats(self): - """Test LinkQualityAggregatedStats""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.link_quality_aggregated_stats.LinkQualityAggregatedStats() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_link_quality_aggregated_stats_per_radio_type_map.py b/libs/cloudapi/cloudsdk/test/test_link_quality_aggregated_stats_per_radio_type_map.py deleted file mode 100644 index c253af946..000000000 --- a/libs/cloudapi/cloudsdk/test/test_link_quality_aggregated_stats_per_radio_type_map.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.link_quality_aggregated_stats_per_radio_type_map import LinkQualityAggregatedStatsPerRadioTypeMap # noqa: E501 -from swagger_client.rest import ApiException - - -class TestLinkQualityAggregatedStatsPerRadioTypeMap(unittest.TestCase): - """LinkQualityAggregatedStatsPerRadioTypeMap unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testLinkQualityAggregatedStatsPerRadioTypeMap(self): - """Test LinkQualityAggregatedStatsPerRadioTypeMap""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.link_quality_aggregated_stats_per_radio_type_map.LinkQualityAggregatedStatsPerRadioTypeMap() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_list_of_channel_info_reports_per_radio_map.py b/libs/cloudapi/cloudsdk/test/test_list_of_channel_info_reports_per_radio_map.py deleted file mode 100644 index 9f2231e29..000000000 --- a/libs/cloudapi/cloudsdk/test/test_list_of_channel_info_reports_per_radio_map.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.list_of_channel_info_reports_per_radio_map import ListOfChannelInfoReportsPerRadioMap # noqa: E501 -from swagger_client.rest import ApiException - - -class TestListOfChannelInfoReportsPerRadioMap(unittest.TestCase): - """ListOfChannelInfoReportsPerRadioMap unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testListOfChannelInfoReportsPerRadioMap(self): - """Test ListOfChannelInfoReportsPerRadioMap""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.list_of_channel_info_reports_per_radio_map.ListOfChannelInfoReportsPerRadioMap() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_list_of_macs_per_radio_map.py b/libs/cloudapi/cloudsdk/test/test_list_of_macs_per_radio_map.py deleted file mode 100644 index ea4ffb4d8..000000000 --- a/libs/cloudapi/cloudsdk/test/test_list_of_macs_per_radio_map.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.list_of_macs_per_radio_map import ListOfMacsPerRadioMap # noqa: E501 -from swagger_client.rest import ApiException - - -class TestListOfMacsPerRadioMap(unittest.TestCase): - """ListOfMacsPerRadioMap unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testListOfMacsPerRadioMap(self): - """Test ListOfMacsPerRadioMap""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.list_of_macs_per_radio_map.ListOfMacsPerRadioMap() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_list_of_mcs_stats_per_radio_map.py b/libs/cloudapi/cloudsdk/test/test_list_of_mcs_stats_per_radio_map.py deleted file mode 100644 index 456bdc141..000000000 --- a/libs/cloudapi/cloudsdk/test/test_list_of_mcs_stats_per_radio_map.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.list_of_mcs_stats_per_radio_map import ListOfMcsStatsPerRadioMap # noqa: E501 -from swagger_client.rest import ApiException - - -class TestListOfMcsStatsPerRadioMap(unittest.TestCase): - """ListOfMcsStatsPerRadioMap unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testListOfMcsStatsPerRadioMap(self): - """Test ListOfMcsStatsPerRadioMap""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.list_of_mcs_stats_per_radio_map.ListOfMcsStatsPerRadioMap() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_list_of_radio_utilization_per_radio_map.py b/libs/cloudapi/cloudsdk/test/test_list_of_radio_utilization_per_radio_map.py deleted file mode 100644 index c4a749e9a..000000000 --- a/libs/cloudapi/cloudsdk/test/test_list_of_radio_utilization_per_radio_map.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.list_of_radio_utilization_per_radio_map import ListOfRadioUtilizationPerRadioMap # noqa: E501 -from swagger_client.rest import ApiException - - -class TestListOfRadioUtilizationPerRadioMap(unittest.TestCase): - """ListOfRadioUtilizationPerRadioMap unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testListOfRadioUtilizationPerRadioMap(self): - """Test ListOfRadioUtilizationPerRadioMap""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.list_of_radio_utilization_per_radio_map.ListOfRadioUtilizationPerRadioMap() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_list_of_ssid_statistics_per_radio_map.py b/libs/cloudapi/cloudsdk/test/test_list_of_ssid_statistics_per_radio_map.py deleted file mode 100644 index 0bc410328..000000000 --- a/libs/cloudapi/cloudsdk/test/test_list_of_ssid_statistics_per_radio_map.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.list_of_ssid_statistics_per_radio_map import ListOfSsidStatisticsPerRadioMap # noqa: E501 -from swagger_client.rest import ApiException - - -class TestListOfSsidStatisticsPerRadioMap(unittest.TestCase): - """ListOfSsidStatisticsPerRadioMap unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testListOfSsidStatisticsPerRadioMap(self): - """Test ListOfSsidStatisticsPerRadioMap""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.list_of_ssid_statistics_per_radio_map.ListOfSsidStatisticsPerRadioMap() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_local_time_value.py b/libs/cloudapi/cloudsdk/test/test_local_time_value.py deleted file mode 100644 index 356085fb4..000000000 --- a/libs/cloudapi/cloudsdk/test/test_local_time_value.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.local_time_value import LocalTimeValue # noqa: E501 -from swagger_client.rest import ApiException - - -class TestLocalTimeValue(unittest.TestCase): - """LocalTimeValue unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testLocalTimeValue(self): - """Test LocalTimeValue""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.local_time_value.LocalTimeValue() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_location.py b/libs/cloudapi/cloudsdk/test/test_location.py deleted file mode 100644 index 6dc63342e..000000000 --- a/libs/cloudapi/cloudsdk/test/test_location.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.location import Location # noqa: E501 -from swagger_client.rest import ApiException - - -class TestLocation(unittest.TestCase): - """Location unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testLocation(self): - """Test Location""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.location.Location() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_location_activity_details.py b/libs/cloudapi/cloudsdk/test/test_location_activity_details.py deleted file mode 100644 index 3b9ab3170..000000000 --- a/libs/cloudapi/cloudsdk/test/test_location_activity_details.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.location_activity_details import LocationActivityDetails # noqa: E501 -from swagger_client.rest import ApiException - - -class TestLocationActivityDetails(unittest.TestCase): - """LocationActivityDetails unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testLocationActivityDetails(self): - """Test LocationActivityDetails""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.location_activity_details.LocationActivityDetails() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_location_activity_details_map.py b/libs/cloudapi/cloudsdk/test/test_location_activity_details_map.py deleted file mode 100644 index 9bb6148cd..000000000 --- a/libs/cloudapi/cloudsdk/test/test_location_activity_details_map.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.location_activity_details_map import LocationActivityDetailsMap # noqa: E501 -from swagger_client.rest import ApiException - - -class TestLocationActivityDetailsMap(unittest.TestCase): - """LocationActivityDetailsMap unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testLocationActivityDetailsMap(self): - """Test LocationActivityDetailsMap""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.location_activity_details_map.LocationActivityDetailsMap() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_location_added_event.py b/libs/cloudapi/cloudsdk/test/test_location_added_event.py deleted file mode 100644 index 812162386..000000000 --- a/libs/cloudapi/cloudsdk/test/test_location_added_event.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.location_added_event import LocationAddedEvent # noqa: E501 -from swagger_client.rest import ApiException - - -class TestLocationAddedEvent(unittest.TestCase): - """LocationAddedEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testLocationAddedEvent(self): - """Test LocationAddedEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.location_added_event.LocationAddedEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_location_api.py b/libs/cloudapi/cloudsdk/test/test_location_api.py deleted file mode 100644 index b221f3e85..000000000 --- a/libs/cloudapi/cloudsdk/test/test_location_api.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.api.location_api import LocationApi # noqa: E501 -from swagger_client.rest import ApiException - - -class TestLocationApi(unittest.TestCase): - """LocationApi unit test stubs""" - - def setUp(self): - self.api = LocationApi() # noqa: E501 - - def tearDown(self): - pass - - def test_create_location(self): - """Test case for create_location - - Create new Location # noqa: E501 - """ - pass - - def test_delete_location(self): - """Test case for delete_location - - Delete Location # noqa: E501 - """ - pass - - def test_get_location_by_id(self): - """Test case for get_location_by_id - - Get Location By Id # noqa: E501 - """ - pass - - def test_get_location_by_set_of_ids(self): - """Test case for get_location_by_set_of_ids - - Get Locations By a set of ids # noqa: E501 - """ - pass - - def test_get_locations_by_customer_id(self): - """Test case for get_locations_by_customer_id - - Get Locations By customerId # noqa: E501 - """ - pass - - def test_update_location(self): - """Test case for update_location - - Update Location # noqa: E501 - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_location_changed_event.py b/libs/cloudapi/cloudsdk/test/test_location_changed_event.py deleted file mode 100644 index 2d9789a24..000000000 --- a/libs/cloudapi/cloudsdk/test/test_location_changed_event.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.location_changed_event import LocationChangedEvent # noqa: E501 -from swagger_client.rest import ApiException - - -class TestLocationChangedEvent(unittest.TestCase): - """LocationChangedEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testLocationChangedEvent(self): - """Test LocationChangedEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.location_changed_event.LocationChangedEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_location_details.py b/libs/cloudapi/cloudsdk/test/test_location_details.py deleted file mode 100644 index f70fe4b2f..000000000 --- a/libs/cloudapi/cloudsdk/test/test_location_details.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.location_details import LocationDetails # noqa: E501 -from swagger_client.rest import ApiException - - -class TestLocationDetails(unittest.TestCase): - """LocationDetails unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testLocationDetails(self): - """Test LocationDetails""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.location_details.LocationDetails() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_location_removed_event.py b/libs/cloudapi/cloudsdk/test/test_location_removed_event.py deleted file mode 100644 index add0ab4a9..000000000 --- a/libs/cloudapi/cloudsdk/test/test_location_removed_event.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.location_removed_event import LocationRemovedEvent # noqa: E501 -from swagger_client.rest import ApiException - - -class TestLocationRemovedEvent(unittest.TestCase): - """LocationRemovedEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testLocationRemovedEvent(self): - """Test LocationRemovedEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.location_removed_event.LocationRemovedEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_login_api.py b/libs/cloudapi/cloudsdk/test/test_login_api.py deleted file mode 100644 index 15a373c97..000000000 --- a/libs/cloudapi/cloudsdk/test/test_login_api.py +++ /dev/null @@ -1,47 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.api.login_api import LoginApi # noqa: E501 -from swagger_client.rest import ApiException - - -class TestLoginApi(unittest.TestCase): - """LoginApi unit test stubs""" - - def setUp(self): - self.api = LoginApi() # noqa: E501 - - def tearDown(self): - pass - - def test_get_access_token(self): - """Test case for get_access_token - - Get access token - to be used as Bearer token header for all other API requests. # noqa: E501 - """ - pass - - def test_portal_ping(self): - """Test case for portal_ping - - Portal proces version info. # noqa: E501 - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_long_per_radio_type_map.py b/libs/cloudapi/cloudsdk/test/test_long_per_radio_type_map.py deleted file mode 100644 index 53a33824f..000000000 --- a/libs/cloudapi/cloudsdk/test/test_long_per_radio_type_map.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.long_per_radio_type_map import LongPerRadioTypeMap # noqa: E501 -from swagger_client.rest import ApiException - - -class TestLongPerRadioTypeMap(unittest.TestCase): - """LongPerRadioTypeMap unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testLongPerRadioTypeMap(self): - """Test LongPerRadioTypeMap""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.long_per_radio_type_map.LongPerRadioTypeMap() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_long_value_map.py b/libs/cloudapi/cloudsdk/test/test_long_value_map.py deleted file mode 100644 index 552479d91..000000000 --- a/libs/cloudapi/cloudsdk/test/test_long_value_map.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.long_value_map import LongValueMap # noqa: E501 -from swagger_client.rest import ApiException - - -class TestLongValueMap(unittest.TestCase): - """LongValueMap unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testLongValueMap(self): - """Test LongValueMap""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.long_value_map.LongValueMap() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_mac_address.py b/libs/cloudapi/cloudsdk/test/test_mac_address.py deleted file mode 100644 index 00194e4b1..000000000 --- a/libs/cloudapi/cloudsdk/test/test_mac_address.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.mac_address import MacAddress # noqa: E501 -from swagger_client.rest import ApiException - - -class TestMacAddress(unittest.TestCase): - """MacAddress unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testMacAddress(self): - """Test MacAddress""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.mac_address.MacAddress() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_mac_allowlist_record.py b/libs/cloudapi/cloudsdk/test/test_mac_allowlist_record.py deleted file mode 100644 index 0221f8322..000000000 --- a/libs/cloudapi/cloudsdk/test/test_mac_allowlist_record.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.mac_allowlist_record import MacAllowlistRecord # noqa: E501 -from swagger_client.rest import ApiException - - -class TestMacAllowlistRecord(unittest.TestCase): - """MacAllowlistRecord unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testMacAllowlistRecord(self): - """Test MacAllowlistRecord""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.mac_allowlist_record.MacAllowlistRecord() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_managed_file_info.py b/libs/cloudapi/cloudsdk/test/test_managed_file_info.py deleted file mode 100644 index 0413d5744..000000000 --- a/libs/cloudapi/cloudsdk/test/test_managed_file_info.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.managed_file_info import ManagedFileInfo # noqa: E501 -from swagger_client.rest import ApiException - - -class TestManagedFileInfo(unittest.TestCase): - """ManagedFileInfo unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testManagedFileInfo(self): - """Test ManagedFileInfo""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.managed_file_info.ManagedFileInfo() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_management_rate.py b/libs/cloudapi/cloudsdk/test/test_management_rate.py deleted file mode 100644 index 2175948f8..000000000 --- a/libs/cloudapi/cloudsdk/test/test_management_rate.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.management_rate import ManagementRate # noqa: E501 -from swagger_client.rest import ApiException - - -class TestManagementRate(unittest.TestCase): - """ManagementRate unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testManagementRate(self): - """Test ManagementRate""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.management_rate.ManagementRate() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_manufacturer_details_record.py b/libs/cloudapi/cloudsdk/test/test_manufacturer_details_record.py deleted file mode 100644 index 964a635ba..000000000 --- a/libs/cloudapi/cloudsdk/test/test_manufacturer_details_record.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.manufacturer_details_record import ManufacturerDetailsRecord # noqa: E501 -from swagger_client.rest import ApiException - - -class TestManufacturerDetailsRecord(unittest.TestCase): - """ManufacturerDetailsRecord unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testManufacturerDetailsRecord(self): - """Test ManufacturerDetailsRecord""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.manufacturer_details_record.ManufacturerDetailsRecord() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_manufacturer_oui_api.py b/libs/cloudapi/cloudsdk/test/test_manufacturer_oui_api.py deleted file mode 100644 index e77a658f4..000000000 --- a/libs/cloudapi/cloudsdk/test/test_manufacturer_oui_api.py +++ /dev/null @@ -1,131 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.api.manufacturer_oui_api import ManufacturerOUIApi # noqa: E501 -from swagger_client.rest import ApiException - - -class TestManufacturerOUIApi(unittest.TestCase): - """ManufacturerOUIApi unit test stubs""" - - def setUp(self): - self.api = ManufacturerOUIApi() # noqa: E501 - - def tearDown(self): - pass - - def test_create_manufacturer_details_record(self): - """Test case for create_manufacturer_details_record - - Create new ManufacturerDetailsRecord # noqa: E501 - """ - pass - - def test_create_manufacturer_oui_details(self): - """Test case for create_manufacturer_oui_details - - Create new ManufacturerOuiDetails # noqa: E501 - """ - pass - - def test_delete_manufacturer_details_record(self): - """Test case for delete_manufacturer_details_record - - Delete ManufacturerDetailsRecord # noqa: E501 - """ - pass - - def test_delete_manufacturer_oui_details(self): - """Test case for delete_manufacturer_oui_details - - Delete ManufacturerOuiDetails # noqa: E501 - """ - pass - - def test_get_alias_values_that_begin_with(self): - """Test case for get_alias_values_that_begin_with - - Get manufacturer aliases that begin with the given prefix # noqa: E501 - """ - pass - - def test_get_all_manufacturer_oui_details(self): - """Test case for get_all_manufacturer_oui_details - - Get all ManufacturerOuiDetails # noqa: E501 - """ - pass - - def test_get_manufacturer_details_for_oui_list(self): - """Test case for get_manufacturer_details_for_oui_list - - Get ManufacturerOuiDetails for the list of OUIs # noqa: E501 - """ - pass - - def test_get_manufacturer_details_record(self): - """Test case for get_manufacturer_details_record - - Get ManufacturerDetailsRecord By id # noqa: E501 - """ - pass - - def test_get_manufacturer_oui_details_by_oui(self): - """Test case for get_manufacturer_oui_details_by_oui - - Get ManufacturerOuiDetails By oui # noqa: E501 - """ - pass - - def test_get_oui_list_for_manufacturer(self): - """Test case for get_oui_list_for_manufacturer - - Get Oui List for manufacturer # noqa: E501 - """ - pass - - def test_update_manufacturer_details_record(self): - """Test case for update_manufacturer_details_record - - Update ManufacturerDetailsRecord # noqa: E501 - """ - pass - - def test_update_oui_alias(self): - """Test case for update_oui_alias - - Update alias for ManufacturerOuiDetails # noqa: E501 - """ - pass - - def test_upload_oui_data_file(self): - """Test case for upload_oui_data_file - - Upload the gziped OUI DataFile, in the format that is published by IEEE. Latest sanitized IEEE OUI data file (oui.txt.gz) can be obtained from https://linuxnet.ca/ieee/oui/ # noqa: E501 - """ - pass - - def test_upload_oui_data_file_base64(self): - """Test case for upload_oui_data_file_base64 - - Upload the gziped OUI DataFile using base64 encoding, in the format that is published by IEEE. Latest sanitized IEEE OUI data file (oui.txt.gz) can be obtained from https://linuxnet.ca/ieee/oui/ # noqa: E501 - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_manufacturer_oui_details.py b/libs/cloudapi/cloudsdk/test/test_manufacturer_oui_details.py deleted file mode 100644 index 4c8892857..000000000 --- a/libs/cloudapi/cloudsdk/test/test_manufacturer_oui_details.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.manufacturer_oui_details import ManufacturerOuiDetails # noqa: E501 -from swagger_client.rest import ApiException - - -class TestManufacturerOuiDetails(unittest.TestCase): - """ManufacturerOuiDetails unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testManufacturerOuiDetails(self): - """Test ManufacturerOuiDetails""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.manufacturer_oui_details.ManufacturerOuiDetails() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_manufacturer_oui_details_per_oui_map.py b/libs/cloudapi/cloudsdk/test/test_manufacturer_oui_details_per_oui_map.py deleted file mode 100644 index f9b3e282c..000000000 --- a/libs/cloudapi/cloudsdk/test/test_manufacturer_oui_details_per_oui_map.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.manufacturer_oui_details_per_oui_map import ManufacturerOuiDetailsPerOuiMap # noqa: E501 -from swagger_client.rest import ApiException - - -class TestManufacturerOuiDetailsPerOuiMap(unittest.TestCase): - """ManufacturerOuiDetailsPerOuiMap unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testManufacturerOuiDetailsPerOuiMap(self): - """Test ManufacturerOuiDetailsPerOuiMap""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.manufacturer_oui_details_per_oui_map.ManufacturerOuiDetailsPerOuiMap() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_map_of_wmm_queue_stats_per_radio_map.py b/libs/cloudapi/cloudsdk/test/test_map_of_wmm_queue_stats_per_radio_map.py deleted file mode 100644 index 560b69d66..000000000 --- a/libs/cloudapi/cloudsdk/test/test_map_of_wmm_queue_stats_per_radio_map.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.map_of_wmm_queue_stats_per_radio_map import MapOfWmmQueueStatsPerRadioMap # noqa: E501 -from swagger_client.rest import ApiException - - -class TestMapOfWmmQueueStatsPerRadioMap(unittest.TestCase): - """MapOfWmmQueueStatsPerRadioMap unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testMapOfWmmQueueStatsPerRadioMap(self): - """Test MapOfWmmQueueStatsPerRadioMap""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.map_of_wmm_queue_stats_per_radio_map.MapOfWmmQueueStatsPerRadioMap() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_mcs_stats.py b/libs/cloudapi/cloudsdk/test/test_mcs_stats.py deleted file mode 100644 index eb5be8417..000000000 --- a/libs/cloudapi/cloudsdk/test/test_mcs_stats.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.mcs_stats import McsStats # noqa: E501 -from swagger_client.rest import ApiException - - -class TestMcsStats(unittest.TestCase): - """McsStats unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testMcsStats(self): - """Test McsStats""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.mcs_stats.McsStats() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_mcs_type.py b/libs/cloudapi/cloudsdk/test/test_mcs_type.py deleted file mode 100644 index ee3b97468..000000000 --- a/libs/cloudapi/cloudsdk/test/test_mcs_type.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.mcs_type import McsType # noqa: E501 -from swagger_client.rest import ApiException - - -class TestMcsType(unittest.TestCase): - """McsType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testMcsType(self): - """Test McsType""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.mcs_type.McsType() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_mesh_group.py b/libs/cloudapi/cloudsdk/test/test_mesh_group.py deleted file mode 100644 index 8ca129db7..000000000 --- a/libs/cloudapi/cloudsdk/test/test_mesh_group.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.mesh_group import MeshGroup # noqa: E501 -from swagger_client.rest import ApiException - - -class TestMeshGroup(unittest.TestCase): - """MeshGroup unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testMeshGroup(self): - """Test MeshGroup""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.mesh_group.MeshGroup() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_mesh_group_member.py b/libs/cloudapi/cloudsdk/test/test_mesh_group_member.py deleted file mode 100644 index 1f320a1ca..000000000 --- a/libs/cloudapi/cloudsdk/test/test_mesh_group_member.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.mesh_group_member import MeshGroupMember # noqa: E501 -from swagger_client.rest import ApiException - - -class TestMeshGroupMember(unittest.TestCase): - """MeshGroupMember unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testMeshGroupMember(self): - """Test MeshGroupMember""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.mesh_group_member.MeshGroupMember() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_mesh_group_property.py b/libs/cloudapi/cloudsdk/test/test_mesh_group_property.py deleted file mode 100644 index b9a237889..000000000 --- a/libs/cloudapi/cloudsdk/test/test_mesh_group_property.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.mesh_group_property import MeshGroupProperty # noqa: E501 -from swagger_client.rest import ApiException - - -class TestMeshGroupProperty(unittest.TestCase): - """MeshGroupProperty unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testMeshGroupProperty(self): - """Test MeshGroupProperty""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.mesh_group_property.MeshGroupProperty() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_metric_config_parameter_map.py b/libs/cloudapi/cloudsdk/test/test_metric_config_parameter_map.py deleted file mode 100644 index 6f7345320..000000000 --- a/libs/cloudapi/cloudsdk/test/test_metric_config_parameter_map.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.metric_config_parameter_map import MetricConfigParameterMap # noqa: E501 -from swagger_client.rest import ApiException - - -class TestMetricConfigParameterMap(unittest.TestCase): - """MetricConfigParameterMap unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testMetricConfigParameterMap(self): - """Test MetricConfigParameterMap""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.metric_config_parameter_map.MetricConfigParameterMap() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_mimo_mode.py b/libs/cloudapi/cloudsdk/test/test_mimo_mode.py deleted file mode 100644 index cf2e79bc1..000000000 --- a/libs/cloudapi/cloudsdk/test/test_mimo_mode.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.mimo_mode import MimoMode # noqa: E501 -from swagger_client.rest import ApiException - - -class TestMimoMode(unittest.TestCase): - """MimoMode unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testMimoMode(self): - """Test MimoMode""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.mimo_mode.MimoMode() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_min_max_avg_value_int.py b/libs/cloudapi/cloudsdk/test/test_min_max_avg_value_int.py deleted file mode 100644 index 44800dd70..000000000 --- a/libs/cloudapi/cloudsdk/test/test_min_max_avg_value_int.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.min_max_avg_value_int import MinMaxAvgValueInt # noqa: E501 -from swagger_client.rest import ApiException - - -class TestMinMaxAvgValueInt(unittest.TestCase): - """MinMaxAvgValueInt unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testMinMaxAvgValueInt(self): - """Test MinMaxAvgValueInt""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.min_max_avg_value_int.MinMaxAvgValueInt() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_min_max_avg_value_int_per_radio_map.py b/libs/cloudapi/cloudsdk/test/test_min_max_avg_value_int_per_radio_map.py deleted file mode 100644 index 3e5089fc6..000000000 --- a/libs/cloudapi/cloudsdk/test/test_min_max_avg_value_int_per_radio_map.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.min_max_avg_value_int_per_radio_map import MinMaxAvgValueIntPerRadioMap # noqa: E501 -from swagger_client.rest import ApiException - - -class TestMinMaxAvgValueIntPerRadioMap(unittest.TestCase): - """MinMaxAvgValueIntPerRadioMap unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testMinMaxAvgValueIntPerRadioMap(self): - """Test MinMaxAvgValueIntPerRadioMap""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.min_max_avg_value_int_per_radio_map.MinMaxAvgValueIntPerRadioMap() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_multicast_rate.py b/libs/cloudapi/cloudsdk/test/test_multicast_rate.py deleted file mode 100644 index 87c9939a7..000000000 --- a/libs/cloudapi/cloudsdk/test/test_multicast_rate.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.multicast_rate import MulticastRate # noqa: E501 -from swagger_client.rest import ApiException - - -class TestMulticastRate(unittest.TestCase): - """MulticastRate unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testMulticastRate(self): - """Test MulticastRate""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.multicast_rate.MulticastRate() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_neighbor_scan_packet_type.py b/libs/cloudapi/cloudsdk/test/test_neighbor_scan_packet_type.py deleted file mode 100644 index 0d31dca59..000000000 --- a/libs/cloudapi/cloudsdk/test/test_neighbor_scan_packet_type.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.neighbor_scan_packet_type import NeighborScanPacketType # noqa: E501 -from swagger_client.rest import ApiException - - -class TestNeighborScanPacketType(unittest.TestCase): - """NeighborScanPacketType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testNeighborScanPacketType(self): - """Test NeighborScanPacketType""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.neighbor_scan_packet_type.NeighborScanPacketType() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_neighbour_report.py b/libs/cloudapi/cloudsdk/test/test_neighbour_report.py deleted file mode 100644 index 62ef460b5..000000000 --- a/libs/cloudapi/cloudsdk/test/test_neighbour_report.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.neighbour_report import NeighbourReport # noqa: E501 -from swagger_client.rest import ApiException - - -class TestNeighbourReport(unittest.TestCase): - """NeighbourReport unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testNeighbourReport(self): - """Test NeighbourReport""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.neighbour_report.NeighbourReport() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_neighbour_scan_reports.py b/libs/cloudapi/cloudsdk/test/test_neighbour_scan_reports.py deleted file mode 100644 index 3e42d5891..000000000 --- a/libs/cloudapi/cloudsdk/test/test_neighbour_scan_reports.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.neighbour_scan_reports import NeighbourScanReports # noqa: E501 -from swagger_client.rest import ApiException - - -class TestNeighbourScanReports(unittest.TestCase): - """NeighbourScanReports unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testNeighbourScanReports(self): - """Test NeighbourScanReports""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.neighbour_scan_reports.NeighbourScanReports() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_neighbouring_ap_list_configuration.py b/libs/cloudapi/cloudsdk/test/test_neighbouring_ap_list_configuration.py deleted file mode 100644 index 6ebb568e9..000000000 --- a/libs/cloudapi/cloudsdk/test/test_neighbouring_ap_list_configuration.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.neighbouring_ap_list_configuration import NeighbouringAPListConfiguration # noqa: E501 -from swagger_client.rest import ApiException - - -class TestNeighbouringAPListConfiguration(unittest.TestCase): - """NeighbouringAPListConfiguration unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testNeighbouringAPListConfiguration(self): - """Test NeighbouringAPListConfiguration""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.neighbouring_ap_list_configuration.NeighbouringAPListConfiguration() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_network_admin_status_data.py b/libs/cloudapi/cloudsdk/test/test_network_admin_status_data.py deleted file mode 100644 index 9708b63fa..000000000 --- a/libs/cloudapi/cloudsdk/test/test_network_admin_status_data.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.network_admin_status_data import NetworkAdminStatusData # noqa: E501 -from swagger_client.rest import ApiException - - -class TestNetworkAdminStatusData(unittest.TestCase): - """NetworkAdminStatusData unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testNetworkAdminStatusData(self): - """Test NetworkAdminStatusData""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.network_admin_status_data.NetworkAdminStatusData() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_network_aggregate_status_data.py b/libs/cloudapi/cloudsdk/test/test_network_aggregate_status_data.py deleted file mode 100644 index 9ac3c31dd..000000000 --- a/libs/cloudapi/cloudsdk/test/test_network_aggregate_status_data.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.network_aggregate_status_data import NetworkAggregateStatusData # noqa: E501 -from swagger_client.rest import ApiException - - -class TestNetworkAggregateStatusData(unittest.TestCase): - """NetworkAggregateStatusData unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testNetworkAggregateStatusData(self): - """Test NetworkAggregateStatusData""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.network_aggregate_status_data.NetworkAggregateStatusData() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_network_forward_mode.py b/libs/cloudapi/cloudsdk/test/test_network_forward_mode.py deleted file mode 100644 index 80f922c5f..000000000 --- a/libs/cloudapi/cloudsdk/test/test_network_forward_mode.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.network_forward_mode import NetworkForwardMode # noqa: E501 -from swagger_client.rest import ApiException - - -class TestNetworkForwardMode(unittest.TestCase): - """NetworkForwardMode unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testNetworkForwardMode(self): - """Test NetworkForwardMode""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.network_forward_mode.NetworkForwardMode() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_network_probe_metrics.py b/libs/cloudapi/cloudsdk/test/test_network_probe_metrics.py deleted file mode 100644 index 3eeb3a01e..000000000 --- a/libs/cloudapi/cloudsdk/test/test_network_probe_metrics.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.network_probe_metrics import NetworkProbeMetrics # noqa: E501 -from swagger_client.rest import ApiException - - -class TestNetworkProbeMetrics(unittest.TestCase): - """NetworkProbeMetrics unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testNetworkProbeMetrics(self): - """Test NetworkProbeMetrics""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.network_probe_metrics.NetworkProbeMetrics() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_network_type.py b/libs/cloudapi/cloudsdk/test/test_network_type.py deleted file mode 100644 index 2e1214d88..000000000 --- a/libs/cloudapi/cloudsdk/test/test_network_type.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.network_type import NetworkType # noqa: E501 -from swagger_client.rest import ApiException - - -class TestNetworkType(unittest.TestCase): - """NetworkType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testNetworkType(self): - """Test NetworkType""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.network_type.NetworkType() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_noise_floor_details.py b/libs/cloudapi/cloudsdk/test/test_noise_floor_details.py deleted file mode 100644 index dd6c8c1fb..000000000 --- a/libs/cloudapi/cloudsdk/test/test_noise_floor_details.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.noise_floor_details import NoiseFloorDetails # noqa: E501 -from swagger_client.rest import ApiException - - -class TestNoiseFloorDetails(unittest.TestCase): - """NoiseFloorDetails unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testNoiseFloorDetails(self): - """Test NoiseFloorDetails""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.noise_floor_details.NoiseFloorDetails() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_noise_floor_per_radio_details.py b/libs/cloudapi/cloudsdk/test/test_noise_floor_per_radio_details.py deleted file mode 100644 index f635460fb..000000000 --- a/libs/cloudapi/cloudsdk/test/test_noise_floor_per_radio_details.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.noise_floor_per_radio_details import NoiseFloorPerRadioDetails # noqa: E501 -from swagger_client.rest import ApiException - - -class TestNoiseFloorPerRadioDetails(unittest.TestCase): - """NoiseFloorPerRadioDetails unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testNoiseFloorPerRadioDetails(self): - """Test NoiseFloorPerRadioDetails""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.noise_floor_per_radio_details.NoiseFloorPerRadioDetails() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_noise_floor_per_radio_details_map.py b/libs/cloudapi/cloudsdk/test/test_noise_floor_per_radio_details_map.py deleted file mode 100644 index dfaef98ed..000000000 --- a/libs/cloudapi/cloudsdk/test/test_noise_floor_per_radio_details_map.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.noise_floor_per_radio_details_map import NoiseFloorPerRadioDetailsMap # noqa: E501 -from swagger_client.rest import ApiException - - -class TestNoiseFloorPerRadioDetailsMap(unittest.TestCase): - """NoiseFloorPerRadioDetailsMap unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testNoiseFloorPerRadioDetailsMap(self): - """Test NoiseFloorPerRadioDetailsMap""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.noise_floor_per_radio_details_map.NoiseFloorPerRadioDetailsMap() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_obss_hop_mode.py b/libs/cloudapi/cloudsdk/test/test_obss_hop_mode.py deleted file mode 100644 index b4c7a46e0..000000000 --- a/libs/cloudapi/cloudsdk/test/test_obss_hop_mode.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.obss_hop_mode import ObssHopMode # noqa: E501 -from swagger_client.rest import ApiException - - -class TestObssHopMode(unittest.TestCase): - """ObssHopMode unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testObssHopMode(self): - """Test ObssHopMode""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.obss_hop_mode.ObssHopMode() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_one_of_equipment_details.py b/libs/cloudapi/cloudsdk/test/test_one_of_equipment_details.py deleted file mode 100644 index 25c4f3866..000000000 --- a/libs/cloudapi/cloudsdk/test/test_one_of_equipment_details.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.one_of_equipment_details import OneOfEquipmentDetails # noqa: E501 -from swagger_client.rest import ApiException - - -class TestOneOfEquipmentDetails(unittest.TestCase): - """OneOfEquipmentDetails unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testOneOfEquipmentDetails(self): - """Test OneOfEquipmentDetails""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.one_of_equipment_details.OneOfEquipmentDetails() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_one_of_firmware_schedule_setting.py b/libs/cloudapi/cloudsdk/test/test_one_of_firmware_schedule_setting.py deleted file mode 100644 index 71769c175..000000000 --- a/libs/cloudapi/cloudsdk/test/test_one_of_firmware_schedule_setting.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.one_of_firmware_schedule_setting import OneOfFirmwareScheduleSetting # noqa: E501 -from swagger_client.rest import ApiException - - -class TestOneOfFirmwareScheduleSetting(unittest.TestCase): - """OneOfFirmwareScheduleSetting unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testOneOfFirmwareScheduleSetting(self): - """Test OneOfFirmwareScheduleSetting""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.one_of_firmware_schedule_setting.OneOfFirmwareScheduleSetting() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_one_of_profile_details_children.py b/libs/cloudapi/cloudsdk/test/test_one_of_profile_details_children.py deleted file mode 100644 index 3533f2518..000000000 --- a/libs/cloudapi/cloudsdk/test/test_one_of_profile_details_children.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.one_of_profile_details_children import OneOfProfileDetailsChildren # noqa: E501 -from swagger_client.rest import ApiException - - -class TestOneOfProfileDetailsChildren(unittest.TestCase): - """OneOfProfileDetailsChildren unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testOneOfProfileDetailsChildren(self): - """Test OneOfProfileDetailsChildren""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.one_of_profile_details_children.OneOfProfileDetailsChildren() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_one_of_schedule_setting.py b/libs/cloudapi/cloudsdk/test/test_one_of_schedule_setting.py deleted file mode 100644 index b0386b429..000000000 --- a/libs/cloudapi/cloudsdk/test/test_one_of_schedule_setting.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.one_of_schedule_setting import OneOfScheduleSetting # noqa: E501 -from swagger_client.rest import ApiException - - -class TestOneOfScheduleSetting(unittest.TestCase): - """OneOfScheduleSetting unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testOneOfScheduleSetting(self): - """Test OneOfScheduleSetting""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.one_of_schedule_setting.OneOfScheduleSetting() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_one_of_service_metric_details.py b/libs/cloudapi/cloudsdk/test/test_one_of_service_metric_details.py deleted file mode 100644 index 4a73c7695..000000000 --- a/libs/cloudapi/cloudsdk/test/test_one_of_service_metric_details.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.one_of_service_metric_details import OneOfServiceMetricDetails # noqa: E501 -from swagger_client.rest import ApiException - - -class TestOneOfServiceMetricDetails(unittest.TestCase): - """OneOfServiceMetricDetails unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testOneOfServiceMetricDetails(self): - """Test OneOfServiceMetricDetails""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.one_of_service_metric_details.OneOfServiceMetricDetails() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_one_of_status_details.py b/libs/cloudapi/cloudsdk/test/test_one_of_status_details.py deleted file mode 100644 index d21879a5d..000000000 --- a/libs/cloudapi/cloudsdk/test/test_one_of_status_details.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.one_of_status_details import OneOfStatusDetails # noqa: E501 -from swagger_client.rest import ApiException - - -class TestOneOfStatusDetails(unittest.TestCase): - """OneOfStatusDetails unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testOneOfStatusDetails(self): - """Test OneOfStatusDetails""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.one_of_status_details.OneOfStatusDetails() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_one_of_system_event.py b/libs/cloudapi/cloudsdk/test/test_one_of_system_event.py deleted file mode 100644 index ec04e6b4b..000000000 --- a/libs/cloudapi/cloudsdk/test/test_one_of_system_event.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.one_of_system_event import OneOfSystemEvent # noqa: E501 -from swagger_client.rest import ApiException - - -class TestOneOfSystemEvent(unittest.TestCase): - """OneOfSystemEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testOneOfSystemEvent(self): - """Test OneOfSystemEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.one_of_system_event.OneOfSystemEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_operating_system_performance.py b/libs/cloudapi/cloudsdk/test/test_operating_system_performance.py deleted file mode 100644 index dd4a9e583..000000000 --- a/libs/cloudapi/cloudsdk/test/test_operating_system_performance.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.operating_system_performance import OperatingSystemPerformance # noqa: E501 -from swagger_client.rest import ApiException - - -class TestOperatingSystemPerformance(unittest.TestCase): - """OperatingSystemPerformance unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testOperatingSystemPerformance(self): - """Test OperatingSystemPerformance""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.operating_system_performance.OperatingSystemPerformance() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_originator_type.py b/libs/cloudapi/cloudsdk/test/test_originator_type.py deleted file mode 100644 index 8eebec26f..000000000 --- a/libs/cloudapi/cloudsdk/test/test_originator_type.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.originator_type import OriginatorType # noqa: E501 -from swagger_client.rest import ApiException - - -class TestOriginatorType(unittest.TestCase): - """OriginatorType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testOriginatorType(self): - """Test OriginatorType""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.originator_type.OriginatorType() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_pagination_context_alarm.py b/libs/cloudapi/cloudsdk/test/test_pagination_context_alarm.py deleted file mode 100644 index af04cf636..000000000 --- a/libs/cloudapi/cloudsdk/test/test_pagination_context_alarm.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.pagination_context_alarm import PaginationContextAlarm # noqa: E501 -from swagger_client.rest import ApiException - - -class TestPaginationContextAlarm(unittest.TestCase): - """PaginationContextAlarm unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPaginationContextAlarm(self): - """Test PaginationContextAlarm""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.pagination_context_alarm.PaginationContextAlarm() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_pagination_context_client.py b/libs/cloudapi/cloudsdk/test/test_pagination_context_client.py deleted file mode 100644 index 10e802b78..000000000 --- a/libs/cloudapi/cloudsdk/test/test_pagination_context_client.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.pagination_context_client import PaginationContextClient # noqa: E501 -from swagger_client.rest import ApiException - - -class TestPaginationContextClient(unittest.TestCase): - """PaginationContextClient unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPaginationContextClient(self): - """Test PaginationContextClient""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.pagination_context_client.PaginationContextClient() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_pagination_context_client_session.py b/libs/cloudapi/cloudsdk/test/test_pagination_context_client_session.py deleted file mode 100644 index 53a281ecf..000000000 --- a/libs/cloudapi/cloudsdk/test/test_pagination_context_client_session.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.pagination_context_client_session import PaginationContextClientSession # noqa: E501 -from swagger_client.rest import ApiException - - -class TestPaginationContextClientSession(unittest.TestCase): - """PaginationContextClientSession unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPaginationContextClientSession(self): - """Test PaginationContextClientSession""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.pagination_context_client_session.PaginationContextClientSession() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_pagination_context_equipment.py b/libs/cloudapi/cloudsdk/test/test_pagination_context_equipment.py deleted file mode 100644 index eb90998fc..000000000 --- a/libs/cloudapi/cloudsdk/test/test_pagination_context_equipment.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.pagination_context_equipment import PaginationContextEquipment # noqa: E501 -from swagger_client.rest import ApiException - - -class TestPaginationContextEquipment(unittest.TestCase): - """PaginationContextEquipment unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPaginationContextEquipment(self): - """Test PaginationContextEquipment""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.pagination_context_equipment.PaginationContextEquipment() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_pagination_context_location.py b/libs/cloudapi/cloudsdk/test/test_pagination_context_location.py deleted file mode 100644 index 4af8ecb25..000000000 --- a/libs/cloudapi/cloudsdk/test/test_pagination_context_location.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.pagination_context_location import PaginationContextLocation # noqa: E501 -from swagger_client.rest import ApiException - - -class TestPaginationContextLocation(unittest.TestCase): - """PaginationContextLocation unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPaginationContextLocation(self): - """Test PaginationContextLocation""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.pagination_context_location.PaginationContextLocation() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_pagination_context_portal_user.py b/libs/cloudapi/cloudsdk/test/test_pagination_context_portal_user.py deleted file mode 100644 index 756f9db02..000000000 --- a/libs/cloudapi/cloudsdk/test/test_pagination_context_portal_user.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.pagination_context_portal_user import PaginationContextPortalUser # noqa: E501 -from swagger_client.rest import ApiException - - -class TestPaginationContextPortalUser(unittest.TestCase): - """PaginationContextPortalUser unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPaginationContextPortalUser(self): - """Test PaginationContextPortalUser""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.pagination_context_portal_user.PaginationContextPortalUser() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_pagination_context_profile.py b/libs/cloudapi/cloudsdk/test/test_pagination_context_profile.py deleted file mode 100644 index 5652dc06e..000000000 --- a/libs/cloudapi/cloudsdk/test/test_pagination_context_profile.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.pagination_context_profile import PaginationContextProfile # noqa: E501 -from swagger_client.rest import ApiException - - -class TestPaginationContextProfile(unittest.TestCase): - """PaginationContextProfile unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPaginationContextProfile(self): - """Test PaginationContextProfile""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.pagination_context_profile.PaginationContextProfile() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_pagination_context_service_metric.py b/libs/cloudapi/cloudsdk/test/test_pagination_context_service_metric.py deleted file mode 100644 index ac30030fa..000000000 --- a/libs/cloudapi/cloudsdk/test/test_pagination_context_service_metric.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.pagination_context_service_metric import PaginationContextServiceMetric # noqa: E501 -from swagger_client.rest import ApiException - - -class TestPaginationContextServiceMetric(unittest.TestCase): - """PaginationContextServiceMetric unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPaginationContextServiceMetric(self): - """Test PaginationContextServiceMetric""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.pagination_context_service_metric.PaginationContextServiceMetric() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_pagination_context_status.py b/libs/cloudapi/cloudsdk/test/test_pagination_context_status.py deleted file mode 100644 index a41c56109..000000000 --- a/libs/cloudapi/cloudsdk/test/test_pagination_context_status.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.pagination_context_status import PaginationContextStatus # noqa: E501 -from swagger_client.rest import ApiException - - -class TestPaginationContextStatus(unittest.TestCase): - """PaginationContextStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPaginationContextStatus(self): - """Test PaginationContextStatus""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.pagination_context_status.PaginationContextStatus() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_pagination_context_system_event.py b/libs/cloudapi/cloudsdk/test/test_pagination_context_system_event.py deleted file mode 100644 index d34514cce..000000000 --- a/libs/cloudapi/cloudsdk/test/test_pagination_context_system_event.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.pagination_context_system_event import PaginationContextSystemEvent # noqa: E501 -from swagger_client.rest import ApiException - - -class TestPaginationContextSystemEvent(unittest.TestCase): - """PaginationContextSystemEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPaginationContextSystemEvent(self): - """Test PaginationContextSystemEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.pagination_context_system_event.PaginationContextSystemEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_pagination_response_alarm.py b/libs/cloudapi/cloudsdk/test/test_pagination_response_alarm.py deleted file mode 100644 index 1fc0002bf..000000000 --- a/libs/cloudapi/cloudsdk/test/test_pagination_response_alarm.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.pagination_response_alarm import PaginationResponseAlarm # noqa: E501 -from swagger_client.rest import ApiException - - -class TestPaginationResponseAlarm(unittest.TestCase): - """PaginationResponseAlarm unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPaginationResponseAlarm(self): - """Test PaginationResponseAlarm""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.pagination_response_alarm.PaginationResponseAlarm() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_pagination_response_client.py b/libs/cloudapi/cloudsdk/test/test_pagination_response_client.py deleted file mode 100644 index a82192f9c..000000000 --- a/libs/cloudapi/cloudsdk/test/test_pagination_response_client.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.pagination_response_client import PaginationResponseClient # noqa: E501 -from swagger_client.rest import ApiException - - -class TestPaginationResponseClient(unittest.TestCase): - """PaginationResponseClient unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPaginationResponseClient(self): - """Test PaginationResponseClient""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.pagination_response_client.PaginationResponseClient() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_pagination_response_client_session.py b/libs/cloudapi/cloudsdk/test/test_pagination_response_client_session.py deleted file mode 100644 index d2070f574..000000000 --- a/libs/cloudapi/cloudsdk/test/test_pagination_response_client_session.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.pagination_response_client_session import PaginationResponseClientSession # noqa: E501 -from swagger_client.rest import ApiException - - -class TestPaginationResponseClientSession(unittest.TestCase): - """PaginationResponseClientSession unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPaginationResponseClientSession(self): - """Test PaginationResponseClientSession""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.pagination_response_client_session.PaginationResponseClientSession() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_pagination_response_equipment.py b/libs/cloudapi/cloudsdk/test/test_pagination_response_equipment.py deleted file mode 100644 index cd06c484b..000000000 --- a/libs/cloudapi/cloudsdk/test/test_pagination_response_equipment.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.pagination_response_equipment import PaginationResponseEquipment # noqa: E501 -from swagger_client.rest import ApiException - - -class TestPaginationResponseEquipment(unittest.TestCase): - """PaginationResponseEquipment unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPaginationResponseEquipment(self): - """Test PaginationResponseEquipment""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.pagination_response_equipment.PaginationResponseEquipment() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_pagination_response_location.py b/libs/cloudapi/cloudsdk/test/test_pagination_response_location.py deleted file mode 100644 index a9bb25164..000000000 --- a/libs/cloudapi/cloudsdk/test/test_pagination_response_location.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.pagination_response_location import PaginationResponseLocation # noqa: E501 -from swagger_client.rest import ApiException - - -class TestPaginationResponseLocation(unittest.TestCase): - """PaginationResponseLocation unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPaginationResponseLocation(self): - """Test PaginationResponseLocation""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.pagination_response_location.PaginationResponseLocation() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_pagination_response_portal_user.py b/libs/cloudapi/cloudsdk/test/test_pagination_response_portal_user.py deleted file mode 100644 index 977ca533b..000000000 --- a/libs/cloudapi/cloudsdk/test/test_pagination_response_portal_user.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.pagination_response_portal_user import PaginationResponsePortalUser # noqa: E501 -from swagger_client.rest import ApiException - - -class TestPaginationResponsePortalUser(unittest.TestCase): - """PaginationResponsePortalUser unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPaginationResponsePortalUser(self): - """Test PaginationResponsePortalUser""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.pagination_response_portal_user.PaginationResponsePortalUser() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_pagination_response_profile.py b/libs/cloudapi/cloudsdk/test/test_pagination_response_profile.py deleted file mode 100644 index 02e3b0050..000000000 --- a/libs/cloudapi/cloudsdk/test/test_pagination_response_profile.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.pagination_response_profile import PaginationResponseProfile # noqa: E501 -from swagger_client.rest import ApiException - - -class TestPaginationResponseProfile(unittest.TestCase): - """PaginationResponseProfile unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPaginationResponseProfile(self): - """Test PaginationResponseProfile""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.pagination_response_profile.PaginationResponseProfile() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_pagination_response_service_metric.py b/libs/cloudapi/cloudsdk/test/test_pagination_response_service_metric.py deleted file mode 100644 index c515111ab..000000000 --- a/libs/cloudapi/cloudsdk/test/test_pagination_response_service_metric.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.pagination_response_service_metric import PaginationResponseServiceMetric # noqa: E501 -from swagger_client.rest import ApiException - - -class TestPaginationResponseServiceMetric(unittest.TestCase): - """PaginationResponseServiceMetric unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPaginationResponseServiceMetric(self): - """Test PaginationResponseServiceMetric""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.pagination_response_service_metric.PaginationResponseServiceMetric() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_pagination_response_status.py b/libs/cloudapi/cloudsdk/test/test_pagination_response_status.py deleted file mode 100644 index 01c3962e9..000000000 --- a/libs/cloudapi/cloudsdk/test/test_pagination_response_status.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.pagination_response_status import PaginationResponseStatus # noqa: E501 -from swagger_client.rest import ApiException - - -class TestPaginationResponseStatus(unittest.TestCase): - """PaginationResponseStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPaginationResponseStatus(self): - """Test PaginationResponseStatus""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.pagination_response_status.PaginationResponseStatus() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_pagination_response_system_event.py b/libs/cloudapi/cloudsdk/test/test_pagination_response_system_event.py deleted file mode 100644 index 5bc671954..000000000 --- a/libs/cloudapi/cloudsdk/test/test_pagination_response_system_event.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.pagination_response_system_event import PaginationResponseSystemEvent # noqa: E501 -from swagger_client.rest import ApiException - - -class TestPaginationResponseSystemEvent(unittest.TestCase): - """PaginationResponseSystemEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPaginationResponseSystemEvent(self): - """Test PaginationResponseSystemEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.pagination_response_system_event.PaginationResponseSystemEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_pair_long_long.py b/libs/cloudapi/cloudsdk/test/test_pair_long_long.py deleted file mode 100644 index d31045151..000000000 --- a/libs/cloudapi/cloudsdk/test/test_pair_long_long.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.pair_long_long import PairLongLong # noqa: E501 -from swagger_client.rest import ApiException - - -class TestPairLongLong(unittest.TestCase): - """PairLongLong unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPairLongLong(self): - """Test PairLongLong""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.pair_long_long.PairLongLong() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_passpoint_access_network_type.py b/libs/cloudapi/cloudsdk/test/test_passpoint_access_network_type.py deleted file mode 100644 index 7e9ee030c..000000000 --- a/libs/cloudapi/cloudsdk/test/test_passpoint_access_network_type.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.passpoint_access_network_type import PasspointAccessNetworkType # noqa: E501 -from swagger_client.rest import ApiException - - -class TestPasspointAccessNetworkType(unittest.TestCase): - """PasspointAccessNetworkType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPasspointAccessNetworkType(self): - """Test PasspointAccessNetworkType""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.passpoint_access_network_type.PasspointAccessNetworkType() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_passpoint_connection_capabilities_ip_protocol.py b/libs/cloudapi/cloudsdk/test/test_passpoint_connection_capabilities_ip_protocol.py deleted file mode 100644 index 166cfb7ec..000000000 --- a/libs/cloudapi/cloudsdk/test/test_passpoint_connection_capabilities_ip_protocol.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.passpoint_connection_capabilities_ip_protocol import PasspointConnectionCapabilitiesIpProtocol # noqa: E501 -from swagger_client.rest import ApiException - - -class TestPasspointConnectionCapabilitiesIpProtocol(unittest.TestCase): - """PasspointConnectionCapabilitiesIpProtocol unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPasspointConnectionCapabilitiesIpProtocol(self): - """Test PasspointConnectionCapabilitiesIpProtocol""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.passpoint_connection_capabilities_ip_protocol.PasspointConnectionCapabilitiesIpProtocol() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_passpoint_connection_capabilities_status.py b/libs/cloudapi/cloudsdk/test/test_passpoint_connection_capabilities_status.py deleted file mode 100644 index fa40ecf5f..000000000 --- a/libs/cloudapi/cloudsdk/test/test_passpoint_connection_capabilities_status.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.passpoint_connection_capabilities_status import PasspointConnectionCapabilitiesStatus # noqa: E501 -from swagger_client.rest import ApiException - - -class TestPasspointConnectionCapabilitiesStatus(unittest.TestCase): - """PasspointConnectionCapabilitiesStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPasspointConnectionCapabilitiesStatus(self): - """Test PasspointConnectionCapabilitiesStatus""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.passpoint_connection_capabilities_status.PasspointConnectionCapabilitiesStatus() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_passpoint_connection_capability.py b/libs/cloudapi/cloudsdk/test/test_passpoint_connection_capability.py deleted file mode 100644 index 2663a10ee..000000000 --- a/libs/cloudapi/cloudsdk/test/test_passpoint_connection_capability.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.passpoint_connection_capability import PasspointConnectionCapability # noqa: E501 -from swagger_client.rest import ApiException - - -class TestPasspointConnectionCapability(unittest.TestCase): - """PasspointConnectionCapability unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPasspointConnectionCapability(self): - """Test PasspointConnectionCapability""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.passpoint_connection_capability.PasspointConnectionCapability() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_passpoint_duple.py b/libs/cloudapi/cloudsdk/test/test_passpoint_duple.py deleted file mode 100644 index efef543a8..000000000 --- a/libs/cloudapi/cloudsdk/test/test_passpoint_duple.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.passpoint_duple import PasspointDuple # noqa: E501 -from swagger_client.rest import ApiException - - -class TestPasspointDuple(unittest.TestCase): - """PasspointDuple unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPasspointDuple(self): - """Test PasspointDuple""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.passpoint_duple.PasspointDuple() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_passpoint_eap_methods.py b/libs/cloudapi/cloudsdk/test/test_passpoint_eap_methods.py deleted file mode 100644 index 0e71a09f4..000000000 --- a/libs/cloudapi/cloudsdk/test/test_passpoint_eap_methods.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.passpoint_eap_methods import PasspointEapMethods # noqa: E501 -from swagger_client.rest import ApiException - - -class TestPasspointEapMethods(unittest.TestCase): - """PasspointEapMethods unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPasspointEapMethods(self): - """Test PasspointEapMethods""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.passpoint_eap_methods.PasspointEapMethods() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_passpoint_gas_address3_behaviour.py b/libs/cloudapi/cloudsdk/test/test_passpoint_gas_address3_behaviour.py deleted file mode 100644 index c5e282406..000000000 --- a/libs/cloudapi/cloudsdk/test/test_passpoint_gas_address3_behaviour.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.passpoint_gas_address3_behaviour import PasspointGasAddress3Behaviour # noqa: E501 -from swagger_client.rest import ApiException - - -class TestPasspointGasAddress3Behaviour(unittest.TestCase): - """PasspointGasAddress3Behaviour unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPasspointGasAddress3Behaviour(self): - """Test PasspointGasAddress3Behaviour""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.passpoint_gas_address3_behaviour.PasspointGasAddress3Behaviour() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_passpoint_i_pv4_address_type.py b/libs/cloudapi/cloudsdk/test/test_passpoint_i_pv4_address_type.py deleted file mode 100644 index 079ebc5d2..000000000 --- a/libs/cloudapi/cloudsdk/test/test_passpoint_i_pv4_address_type.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.passpoint_i_pv4_address_type import PasspointIPv4AddressType # noqa: E501 -from swagger_client.rest import ApiException - - -class TestPasspointIPv4AddressType(unittest.TestCase): - """PasspointIPv4AddressType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPasspointIPv4AddressType(self): - """Test PasspointIPv4AddressType""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.passpoint_i_pv4_address_type.PasspointIPv4AddressType() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_passpoint_i_pv6_address_type.py b/libs/cloudapi/cloudsdk/test/test_passpoint_i_pv6_address_type.py deleted file mode 100644 index 761f9667e..000000000 --- a/libs/cloudapi/cloudsdk/test/test_passpoint_i_pv6_address_type.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.passpoint_i_pv6_address_type import PasspointIPv6AddressType # noqa: E501 -from swagger_client.rest import ApiException - - -class TestPasspointIPv6AddressType(unittest.TestCase): - """PasspointIPv6AddressType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPasspointIPv6AddressType(self): - """Test PasspointIPv6AddressType""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.passpoint_i_pv6_address_type.PasspointIPv6AddressType() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_passpoint_mcc_mnc.py b/libs/cloudapi/cloudsdk/test/test_passpoint_mcc_mnc.py deleted file mode 100644 index 301a555de..000000000 --- a/libs/cloudapi/cloudsdk/test/test_passpoint_mcc_mnc.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.passpoint_mcc_mnc import PasspointMccMnc # noqa: E501 -from swagger_client.rest import ApiException - - -class TestPasspointMccMnc(unittest.TestCase): - """PasspointMccMnc unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPasspointMccMnc(self): - """Test PasspointMccMnc""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.passpoint_mcc_mnc.PasspointMccMnc() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_passpoint_nai_realm_eap_auth_inner_non_eap.py b/libs/cloudapi/cloudsdk/test/test_passpoint_nai_realm_eap_auth_inner_non_eap.py deleted file mode 100644 index f5b633874..000000000 --- a/libs/cloudapi/cloudsdk/test/test_passpoint_nai_realm_eap_auth_inner_non_eap.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.passpoint_nai_realm_eap_auth_inner_non_eap import PasspointNaiRealmEapAuthInnerNonEap # noqa: E501 -from swagger_client.rest import ApiException - - -class TestPasspointNaiRealmEapAuthInnerNonEap(unittest.TestCase): - """PasspointNaiRealmEapAuthInnerNonEap unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPasspointNaiRealmEapAuthInnerNonEap(self): - """Test PasspointNaiRealmEapAuthInnerNonEap""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.passpoint_nai_realm_eap_auth_inner_non_eap.PasspointNaiRealmEapAuthInnerNonEap() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_passpoint_nai_realm_eap_auth_param.py b/libs/cloudapi/cloudsdk/test/test_passpoint_nai_realm_eap_auth_param.py deleted file mode 100644 index 80d7afef1..000000000 --- a/libs/cloudapi/cloudsdk/test/test_passpoint_nai_realm_eap_auth_param.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.passpoint_nai_realm_eap_auth_param import PasspointNaiRealmEapAuthParam # noqa: E501 -from swagger_client.rest import ApiException - - -class TestPasspointNaiRealmEapAuthParam(unittest.TestCase): - """PasspointNaiRealmEapAuthParam unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPasspointNaiRealmEapAuthParam(self): - """Test PasspointNaiRealmEapAuthParam""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.passpoint_nai_realm_eap_auth_param.PasspointNaiRealmEapAuthParam() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_passpoint_nai_realm_eap_cred_type.py b/libs/cloudapi/cloudsdk/test/test_passpoint_nai_realm_eap_cred_type.py deleted file mode 100644 index 8c5ac53a0..000000000 --- a/libs/cloudapi/cloudsdk/test/test_passpoint_nai_realm_eap_cred_type.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.passpoint_nai_realm_eap_cred_type import PasspointNaiRealmEapCredType # noqa: E501 -from swagger_client.rest import ApiException - - -class TestPasspointNaiRealmEapCredType(unittest.TestCase): - """PasspointNaiRealmEapCredType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPasspointNaiRealmEapCredType(self): - """Test PasspointNaiRealmEapCredType""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.passpoint_nai_realm_eap_cred_type.PasspointNaiRealmEapCredType() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_passpoint_nai_realm_encoding.py b/libs/cloudapi/cloudsdk/test/test_passpoint_nai_realm_encoding.py deleted file mode 100644 index 914a7e261..000000000 --- a/libs/cloudapi/cloudsdk/test/test_passpoint_nai_realm_encoding.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.passpoint_nai_realm_encoding import PasspointNaiRealmEncoding # noqa: E501 -from swagger_client.rest import ApiException - - -class TestPasspointNaiRealmEncoding(unittest.TestCase): - """PasspointNaiRealmEncoding unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPasspointNaiRealmEncoding(self): - """Test PasspointNaiRealmEncoding""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.passpoint_nai_realm_encoding.PasspointNaiRealmEncoding() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_passpoint_nai_realm_information.py b/libs/cloudapi/cloudsdk/test/test_passpoint_nai_realm_information.py deleted file mode 100644 index baa866b1f..000000000 --- a/libs/cloudapi/cloudsdk/test/test_passpoint_nai_realm_information.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.passpoint_nai_realm_information import PasspointNaiRealmInformation # noqa: E501 -from swagger_client.rest import ApiException - - -class TestPasspointNaiRealmInformation(unittest.TestCase): - """PasspointNaiRealmInformation unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPasspointNaiRealmInformation(self): - """Test PasspointNaiRealmInformation""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.passpoint_nai_realm_information.PasspointNaiRealmInformation() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_passpoint_network_authentication_type.py b/libs/cloudapi/cloudsdk/test/test_passpoint_network_authentication_type.py deleted file mode 100644 index 644173afa..000000000 --- a/libs/cloudapi/cloudsdk/test/test_passpoint_network_authentication_type.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.passpoint_network_authentication_type import PasspointNetworkAuthenticationType # noqa: E501 -from swagger_client.rest import ApiException - - -class TestPasspointNetworkAuthenticationType(unittest.TestCase): - """PasspointNetworkAuthenticationType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPasspointNetworkAuthenticationType(self): - """Test PasspointNetworkAuthenticationType""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.passpoint_network_authentication_type.PasspointNetworkAuthenticationType() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_passpoint_operator_profile.py b/libs/cloudapi/cloudsdk/test/test_passpoint_operator_profile.py deleted file mode 100644 index 53d44c8dd..000000000 --- a/libs/cloudapi/cloudsdk/test/test_passpoint_operator_profile.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.passpoint_operator_profile import PasspointOperatorProfile # noqa: E501 -from swagger_client.rest import ApiException - - -class TestPasspointOperatorProfile(unittest.TestCase): - """PasspointOperatorProfile unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPasspointOperatorProfile(self): - """Test PasspointOperatorProfile""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.passpoint_operator_profile.PasspointOperatorProfile() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_passpoint_osu_icon.py b/libs/cloudapi/cloudsdk/test/test_passpoint_osu_icon.py deleted file mode 100644 index c49d0ecbe..000000000 --- a/libs/cloudapi/cloudsdk/test/test_passpoint_osu_icon.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.passpoint_osu_icon import PasspointOsuIcon # noqa: E501 -from swagger_client.rest import ApiException - - -class TestPasspointOsuIcon(unittest.TestCase): - """PasspointOsuIcon unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPasspointOsuIcon(self): - """Test PasspointOsuIcon""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.passpoint_osu_icon.PasspointOsuIcon() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_passpoint_osu_provider_profile.py b/libs/cloudapi/cloudsdk/test/test_passpoint_osu_provider_profile.py deleted file mode 100644 index cf1a22b2a..000000000 --- a/libs/cloudapi/cloudsdk/test/test_passpoint_osu_provider_profile.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.passpoint_osu_provider_profile import PasspointOsuProviderProfile # noqa: E501 -from swagger_client.rest import ApiException - - -class TestPasspointOsuProviderProfile(unittest.TestCase): - """PasspointOsuProviderProfile unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPasspointOsuProviderProfile(self): - """Test PasspointOsuProviderProfile""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.passpoint_osu_provider_profile.PasspointOsuProviderProfile() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_passpoint_profile.py b/libs/cloudapi/cloudsdk/test/test_passpoint_profile.py deleted file mode 100644 index de1f3cfb1..000000000 --- a/libs/cloudapi/cloudsdk/test/test_passpoint_profile.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.passpoint_profile import PasspointProfile # noqa: E501 -from swagger_client.rest import ApiException - - -class TestPasspointProfile(unittest.TestCase): - """PasspointProfile unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPasspointProfile(self): - """Test PasspointProfile""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.passpoint_profile.PasspointProfile() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_passpoint_venue_name.py b/libs/cloudapi/cloudsdk/test/test_passpoint_venue_name.py deleted file mode 100644 index be9be4830..000000000 --- a/libs/cloudapi/cloudsdk/test/test_passpoint_venue_name.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.passpoint_venue_name import PasspointVenueName # noqa: E501 -from swagger_client.rest import ApiException - - -class TestPasspointVenueName(unittest.TestCase): - """PasspointVenueName unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPasspointVenueName(self): - """Test PasspointVenueName""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.passpoint_venue_name.PasspointVenueName() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_passpoint_venue_profile.py b/libs/cloudapi/cloudsdk/test/test_passpoint_venue_profile.py deleted file mode 100644 index d7f54783b..000000000 --- a/libs/cloudapi/cloudsdk/test/test_passpoint_venue_profile.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.passpoint_venue_profile import PasspointVenueProfile # noqa: E501 -from swagger_client.rest import ApiException - - -class TestPasspointVenueProfile(unittest.TestCase): - """PasspointVenueProfile unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPasspointVenueProfile(self): - """Test PasspointVenueProfile""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.passpoint_venue_profile.PasspointVenueProfile() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_passpoint_venue_type_assignment.py b/libs/cloudapi/cloudsdk/test/test_passpoint_venue_type_assignment.py deleted file mode 100644 index 4999017f1..000000000 --- a/libs/cloudapi/cloudsdk/test/test_passpoint_venue_type_assignment.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.passpoint_venue_type_assignment import PasspointVenueTypeAssignment # noqa: E501 -from swagger_client.rest import ApiException - - -class TestPasspointVenueTypeAssignment(unittest.TestCase): - """PasspointVenueTypeAssignment unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPasspointVenueTypeAssignment(self): - """Test PasspointVenueTypeAssignment""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.passpoint_venue_type_assignment.PasspointVenueTypeAssignment() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_peer_info.py b/libs/cloudapi/cloudsdk/test/test_peer_info.py deleted file mode 100644 index aa36b6867..000000000 --- a/libs/cloudapi/cloudsdk/test/test_peer_info.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.peer_info import PeerInfo # noqa: E501 -from swagger_client.rest import ApiException - - -class TestPeerInfo(unittest.TestCase): - """PeerInfo unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPeerInfo(self): - """Test PeerInfo""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.peer_info.PeerInfo() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_per_process_utilization.py b/libs/cloudapi/cloudsdk/test/test_per_process_utilization.py deleted file mode 100644 index a38799a07..000000000 --- a/libs/cloudapi/cloudsdk/test/test_per_process_utilization.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.per_process_utilization import PerProcessUtilization # noqa: E501 -from swagger_client.rest import ApiException - - -class TestPerProcessUtilization(unittest.TestCase): - """PerProcessUtilization unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPerProcessUtilization(self): - """Test PerProcessUtilization""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.per_process_utilization.PerProcessUtilization() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_ping_response.py b/libs/cloudapi/cloudsdk/test/test_ping_response.py deleted file mode 100644 index 823b0ed32..000000000 --- a/libs/cloudapi/cloudsdk/test/test_ping_response.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.ping_response import PingResponse # noqa: E501 -from swagger_client.rest import ApiException - - -class TestPingResponse(unittest.TestCase): - """PingResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPingResponse(self): - """Test PingResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.ping_response.PingResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_portal_user.py b/libs/cloudapi/cloudsdk/test/test_portal_user.py deleted file mode 100644 index 25bf39ea4..000000000 --- a/libs/cloudapi/cloudsdk/test/test_portal_user.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.portal_user import PortalUser # noqa: E501 -from swagger_client.rest import ApiException - - -class TestPortalUser(unittest.TestCase): - """PortalUser unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPortalUser(self): - """Test PortalUser""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.portal_user.PortalUser() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_portal_user_added_event.py b/libs/cloudapi/cloudsdk/test/test_portal_user_added_event.py deleted file mode 100644 index 2acb1891e..000000000 --- a/libs/cloudapi/cloudsdk/test/test_portal_user_added_event.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.portal_user_added_event import PortalUserAddedEvent # noqa: E501 -from swagger_client.rest import ApiException - - -class TestPortalUserAddedEvent(unittest.TestCase): - """PortalUserAddedEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPortalUserAddedEvent(self): - """Test PortalUserAddedEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.portal_user_added_event.PortalUserAddedEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_portal_user_changed_event.py b/libs/cloudapi/cloudsdk/test/test_portal_user_changed_event.py deleted file mode 100644 index 82f01add6..000000000 --- a/libs/cloudapi/cloudsdk/test/test_portal_user_changed_event.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.portal_user_changed_event import PortalUserChangedEvent # noqa: E501 -from swagger_client.rest import ApiException - - -class TestPortalUserChangedEvent(unittest.TestCase): - """PortalUserChangedEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPortalUserChangedEvent(self): - """Test PortalUserChangedEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.portal_user_changed_event.PortalUserChangedEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_portal_user_removed_event.py b/libs/cloudapi/cloudsdk/test/test_portal_user_removed_event.py deleted file mode 100644 index 47bd949ef..000000000 --- a/libs/cloudapi/cloudsdk/test/test_portal_user_removed_event.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.portal_user_removed_event import PortalUserRemovedEvent # noqa: E501 -from swagger_client.rest import ApiException - - -class TestPortalUserRemovedEvent(unittest.TestCase): - """PortalUserRemovedEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPortalUserRemovedEvent(self): - """Test PortalUserRemovedEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.portal_user_removed_event.PortalUserRemovedEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_portal_user_role.py b/libs/cloudapi/cloudsdk/test/test_portal_user_role.py deleted file mode 100644 index 35a81b331..000000000 --- a/libs/cloudapi/cloudsdk/test/test_portal_user_role.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.portal_user_role import PortalUserRole # noqa: E501 -from swagger_client.rest import ApiException - - -class TestPortalUserRole(unittest.TestCase): - """PortalUserRole unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPortalUserRole(self): - """Test PortalUserRole""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.portal_user_role.PortalUserRole() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_portal_users_api.py b/libs/cloudapi/cloudsdk/test/test_portal_users_api.py deleted file mode 100644 index c21e32126..000000000 --- a/libs/cloudapi/cloudsdk/test/test_portal_users_api.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.api.portal_users_api import PortalUsersApi # noqa: E501 -from swagger_client.rest import ApiException - - -class TestPortalUsersApi(unittest.TestCase): - """PortalUsersApi unit test stubs""" - - def setUp(self): - self.api = PortalUsersApi() # noqa: E501 - - def tearDown(self): - pass - - def test_create_portal_user(self): - """Test case for create_portal_user - - Create new Portal User # noqa: E501 - """ - pass - - def test_delete_portal_user(self): - """Test case for delete_portal_user - - Delete PortalUser # noqa: E501 - """ - pass - - def test_get_portal_user_by_id(self): - """Test case for get_portal_user_by_id - - Get portal user By Id # noqa: E501 - """ - pass - - def test_get_portal_user_by_username(self): - """Test case for get_portal_user_by_username - - Get portal user by user name # noqa: E501 - """ - pass - - def test_get_portal_users_by_customer_id(self): - """Test case for get_portal_users_by_customer_id - - Get PortalUsers By customerId # noqa: E501 - """ - pass - - def test_get_portal_users_by_set_of_ids(self): - """Test case for get_portal_users_by_set_of_ids - - Get PortalUsers By a set of ids # noqa: E501 - """ - pass - - def test_get_users_for_username(self): - """Test case for get_users_for_username - - Get Portal Users for username # noqa: E501 - """ - pass - - def test_update_portal_user(self): - """Test case for update_portal_user - - Update PortalUser # noqa: E501 - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_profile.py b/libs/cloudapi/cloudsdk/test/test_profile.py deleted file mode 100644 index bfe15ff5a..000000000 --- a/libs/cloudapi/cloudsdk/test/test_profile.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.profile import Profile # noqa: E501 -from swagger_client.rest import ApiException - - -class TestProfile(unittest.TestCase): - """Profile unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testProfile(self): - """Test Profile""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.profile.Profile() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_profile_added_event.py b/libs/cloudapi/cloudsdk/test/test_profile_added_event.py deleted file mode 100644 index 914ad3fdf..000000000 --- a/libs/cloudapi/cloudsdk/test/test_profile_added_event.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.profile_added_event import ProfileAddedEvent # noqa: E501 -from swagger_client.rest import ApiException - - -class TestProfileAddedEvent(unittest.TestCase): - """ProfileAddedEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testProfileAddedEvent(self): - """Test ProfileAddedEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.profile_added_event.ProfileAddedEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_profile_api.py b/libs/cloudapi/cloudsdk/test/test_profile_api.py deleted file mode 100644 index 202a5b825..000000000 --- a/libs/cloudapi/cloudsdk/test/test_profile_api.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.api.profile_api import ProfileApi # noqa: E501 -from swagger_client.rest import ApiException - - -class TestProfileApi(unittest.TestCase): - """ProfileApi unit test stubs""" - - def setUp(self): - self.api = ProfileApi() # noqa: E501 - - def tearDown(self): - pass - - def test_create_profile(self): - """Test case for create_profile - - Create new Profile # noqa: E501 - """ - pass - - def test_delete_profile(self): - """Test case for delete_profile - - Delete Profile # noqa: E501 - """ - pass - - def test_get_counts_of_equipment_that_use_profiles(self): - """Test case for get_counts_of_equipment_that_use_profiles - - Get counts of equipment that use specified profiles # noqa: E501 - """ - pass - - def test_get_profile_by_id(self): - """Test case for get_profile_by_id - - Get Profile By Id # noqa: E501 - """ - pass - - def test_get_profile_with_children(self): - """Test case for get_profile_with_children - - Get Profile and all its associated children # noqa: E501 - """ - pass - - def test_get_profiles_by_customer_id(self): - """Test case for get_profiles_by_customer_id - - Get Profiles By customerId # noqa: E501 - """ - pass - - def test_get_profiles_by_set_of_ids(self): - """Test case for get_profiles_by_set_of_ids - - Get Profiles By a set of ids # noqa: E501 - """ - pass - - def test_update_profile(self): - """Test case for update_profile - - Update Profile # noqa: E501 - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_profile_changed_event.py b/libs/cloudapi/cloudsdk/test/test_profile_changed_event.py deleted file mode 100644 index 30cd25c0c..000000000 --- a/libs/cloudapi/cloudsdk/test/test_profile_changed_event.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.profile_changed_event import ProfileChangedEvent # noqa: E501 -from swagger_client.rest import ApiException - - -class TestProfileChangedEvent(unittest.TestCase): - """ProfileChangedEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testProfileChangedEvent(self): - """Test ProfileChangedEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.profile_changed_event.ProfileChangedEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_profile_details.py b/libs/cloudapi/cloudsdk/test/test_profile_details.py deleted file mode 100644 index 0f5d6a628..000000000 --- a/libs/cloudapi/cloudsdk/test/test_profile_details.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.profile_details import ProfileDetails # noqa: E501 -from swagger_client.rest import ApiException - - -class TestProfileDetails(unittest.TestCase): - """ProfileDetails unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testProfileDetails(self): - """Test ProfileDetails""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.profile_details.ProfileDetails() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_profile_details_children.py b/libs/cloudapi/cloudsdk/test/test_profile_details_children.py deleted file mode 100644 index 9d88eea81..000000000 --- a/libs/cloudapi/cloudsdk/test/test_profile_details_children.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.profile_details_children import ProfileDetailsChildren # noqa: E501 -from swagger_client.rest import ApiException - - -class TestProfileDetailsChildren(unittest.TestCase): - """ProfileDetailsChildren unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testProfileDetailsChildren(self): - """Test ProfileDetailsChildren""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.profile_details_children.ProfileDetailsChildren() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_profile_removed_event.py b/libs/cloudapi/cloudsdk/test/test_profile_removed_event.py deleted file mode 100644 index c42d542b3..000000000 --- a/libs/cloudapi/cloudsdk/test/test_profile_removed_event.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.profile_removed_event import ProfileRemovedEvent # noqa: E501 -from swagger_client.rest import ApiException - - -class TestProfileRemovedEvent(unittest.TestCase): - """ProfileRemovedEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testProfileRemovedEvent(self): - """Test ProfileRemovedEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.profile_removed_event.ProfileRemovedEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_profile_type.py b/libs/cloudapi/cloudsdk/test/test_profile_type.py deleted file mode 100644 index b36a57ef8..000000000 --- a/libs/cloudapi/cloudsdk/test/test_profile_type.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.profile_type import ProfileType # noqa: E501 -from swagger_client.rest import ApiException - - -class TestProfileType(unittest.TestCase): - """ProfileType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testProfileType(self): - """Test ProfileType""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.profile_type.ProfileType() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_radio_based_ssid_configuration.py b/libs/cloudapi/cloudsdk/test/test_radio_based_ssid_configuration.py deleted file mode 100644 index 1e2bfc127..000000000 --- a/libs/cloudapi/cloudsdk/test/test_radio_based_ssid_configuration.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.radio_based_ssid_configuration import RadioBasedSsidConfiguration # noqa: E501 -from swagger_client.rest import ApiException - - -class TestRadioBasedSsidConfiguration(unittest.TestCase): - """RadioBasedSsidConfiguration unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRadioBasedSsidConfiguration(self): - """Test RadioBasedSsidConfiguration""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.radio_based_ssid_configuration.RadioBasedSsidConfiguration() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_radio_based_ssid_configuration_map.py b/libs/cloudapi/cloudsdk/test/test_radio_based_ssid_configuration_map.py deleted file mode 100644 index 5fbdaba8e..000000000 --- a/libs/cloudapi/cloudsdk/test/test_radio_based_ssid_configuration_map.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.radio_based_ssid_configuration_map import RadioBasedSsidConfigurationMap # noqa: E501 -from swagger_client.rest import ApiException - - -class TestRadioBasedSsidConfigurationMap(unittest.TestCase): - """RadioBasedSsidConfigurationMap unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRadioBasedSsidConfigurationMap(self): - """Test RadioBasedSsidConfigurationMap""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.radio_based_ssid_configuration_map.RadioBasedSsidConfigurationMap() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_radio_best_ap_settings.py b/libs/cloudapi/cloudsdk/test/test_radio_best_ap_settings.py deleted file mode 100644 index f66dfedfd..000000000 --- a/libs/cloudapi/cloudsdk/test/test_radio_best_ap_settings.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.radio_best_ap_settings import RadioBestApSettings # noqa: E501 -from swagger_client.rest import ApiException - - -class TestRadioBestApSettings(unittest.TestCase): - """RadioBestApSettings unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRadioBestApSettings(self): - """Test RadioBestApSettings""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.radio_best_ap_settings.RadioBestApSettings() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_radio_channel_change_settings.py b/libs/cloudapi/cloudsdk/test/test_radio_channel_change_settings.py deleted file mode 100644 index e89ac4949..000000000 --- a/libs/cloudapi/cloudsdk/test/test_radio_channel_change_settings.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.radio_channel_change_settings import RadioChannelChangeSettings # noqa: E501 -from swagger_client.rest import ApiException - - -class TestRadioChannelChangeSettings(unittest.TestCase): - """RadioChannelChangeSettings unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRadioChannelChangeSettings(self): - """Test RadioChannelChangeSettings""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.radio_channel_change_settings.RadioChannelChangeSettings() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_radio_configuration.py b/libs/cloudapi/cloudsdk/test/test_radio_configuration.py deleted file mode 100644 index ddcbcde97..000000000 --- a/libs/cloudapi/cloudsdk/test/test_radio_configuration.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.radio_configuration import RadioConfiguration # noqa: E501 -from swagger_client.rest import ApiException - - -class TestRadioConfiguration(unittest.TestCase): - """RadioConfiguration unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRadioConfiguration(self): - """Test RadioConfiguration""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.radio_configuration.RadioConfiguration() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_radio_map.py b/libs/cloudapi/cloudsdk/test/test_radio_map.py deleted file mode 100644 index 590d67f61..000000000 --- a/libs/cloudapi/cloudsdk/test/test_radio_map.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.radio_map import RadioMap # noqa: E501 -from swagger_client.rest import ApiException - - -class TestRadioMap(unittest.TestCase): - """RadioMap unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRadioMap(self): - """Test RadioMap""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.radio_map.RadioMap() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_radio_mode.py b/libs/cloudapi/cloudsdk/test/test_radio_mode.py deleted file mode 100644 index 312e66c3d..000000000 --- a/libs/cloudapi/cloudsdk/test/test_radio_mode.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.radio_mode import RadioMode # noqa: E501 -from swagger_client.rest import ApiException - - -class TestRadioMode(unittest.TestCase): - """RadioMode unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRadioMode(self): - """Test RadioMode""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.radio_mode.RadioMode() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_radio_profile_configuration.py b/libs/cloudapi/cloudsdk/test/test_radio_profile_configuration.py deleted file mode 100644 index 58ac55581..000000000 --- a/libs/cloudapi/cloudsdk/test/test_radio_profile_configuration.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.radio_profile_configuration import RadioProfileConfiguration # noqa: E501 -from swagger_client.rest import ApiException - - -class TestRadioProfileConfiguration(unittest.TestCase): - """RadioProfileConfiguration unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRadioProfileConfiguration(self): - """Test RadioProfileConfiguration""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.radio_profile_configuration.RadioProfileConfiguration() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_radio_profile_configuration_map.py b/libs/cloudapi/cloudsdk/test/test_radio_profile_configuration_map.py deleted file mode 100644 index c9b822f3d..000000000 --- a/libs/cloudapi/cloudsdk/test/test_radio_profile_configuration_map.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.radio_profile_configuration_map import RadioProfileConfigurationMap # noqa: E501 -from swagger_client.rest import ApiException - - -class TestRadioProfileConfigurationMap(unittest.TestCase): - """RadioProfileConfigurationMap unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRadioProfileConfigurationMap(self): - """Test RadioProfileConfigurationMap""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.radio_profile_configuration_map.RadioProfileConfigurationMap() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_radio_statistics.py b/libs/cloudapi/cloudsdk/test/test_radio_statistics.py deleted file mode 100644 index 60a19e71c..000000000 --- a/libs/cloudapi/cloudsdk/test/test_radio_statistics.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.radio_statistics import RadioStatistics # noqa: E501 -from swagger_client.rest import ApiException - - -class TestRadioStatistics(unittest.TestCase): - """RadioStatistics unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRadioStatistics(self): - """Test RadioStatistics""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.radio_statistics.RadioStatistics() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_radio_statistics_per_radio_map.py b/libs/cloudapi/cloudsdk/test/test_radio_statistics_per_radio_map.py deleted file mode 100644 index a5f00ea52..000000000 --- a/libs/cloudapi/cloudsdk/test/test_radio_statistics_per_radio_map.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.radio_statistics_per_radio_map import RadioStatisticsPerRadioMap # noqa: E501 -from swagger_client.rest import ApiException - - -class TestRadioStatisticsPerRadioMap(unittest.TestCase): - """RadioStatisticsPerRadioMap unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRadioStatisticsPerRadioMap(self): - """Test RadioStatisticsPerRadioMap""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.radio_statistics_per_radio_map.RadioStatisticsPerRadioMap() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_radio_type.py b/libs/cloudapi/cloudsdk/test/test_radio_type.py deleted file mode 100644 index 6b9ba35cc..000000000 --- a/libs/cloudapi/cloudsdk/test/test_radio_type.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.radio_type import RadioType # noqa: E501 -from swagger_client.rest import ApiException - - -class TestRadioType(unittest.TestCase): - """RadioType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRadioType(self): - """Test RadioType""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.radio_type.RadioType() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_radio_utilization.py b/libs/cloudapi/cloudsdk/test/test_radio_utilization.py deleted file mode 100644 index db02bf369..000000000 --- a/libs/cloudapi/cloudsdk/test/test_radio_utilization.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.radio_utilization import RadioUtilization # noqa: E501 -from swagger_client.rest import ApiException - - -class TestRadioUtilization(unittest.TestCase): - """RadioUtilization unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRadioUtilization(self): - """Test RadioUtilization""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.radio_utilization.RadioUtilization() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_radio_utilization_details.py b/libs/cloudapi/cloudsdk/test/test_radio_utilization_details.py deleted file mode 100644 index f81c21593..000000000 --- a/libs/cloudapi/cloudsdk/test/test_radio_utilization_details.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.radio_utilization_details import RadioUtilizationDetails # noqa: E501 -from swagger_client.rest import ApiException - - -class TestRadioUtilizationDetails(unittest.TestCase): - """RadioUtilizationDetails unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRadioUtilizationDetails(self): - """Test RadioUtilizationDetails""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.radio_utilization_details.RadioUtilizationDetails() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_radio_utilization_per_radio_details.py b/libs/cloudapi/cloudsdk/test/test_radio_utilization_per_radio_details.py deleted file mode 100644 index 7fbf53a56..000000000 --- a/libs/cloudapi/cloudsdk/test/test_radio_utilization_per_radio_details.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.radio_utilization_per_radio_details import RadioUtilizationPerRadioDetails # noqa: E501 -from swagger_client.rest import ApiException - - -class TestRadioUtilizationPerRadioDetails(unittest.TestCase): - """RadioUtilizationPerRadioDetails unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRadioUtilizationPerRadioDetails(self): - """Test RadioUtilizationPerRadioDetails""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.radio_utilization_per_radio_details.RadioUtilizationPerRadioDetails() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_radio_utilization_per_radio_details_map.py b/libs/cloudapi/cloudsdk/test/test_radio_utilization_per_radio_details_map.py deleted file mode 100644 index 9d3a632eb..000000000 --- a/libs/cloudapi/cloudsdk/test/test_radio_utilization_per_radio_details_map.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.radio_utilization_per_radio_details_map import RadioUtilizationPerRadioDetailsMap # noqa: E501 -from swagger_client.rest import ApiException - - -class TestRadioUtilizationPerRadioDetailsMap(unittest.TestCase): - """RadioUtilizationPerRadioDetailsMap unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRadioUtilizationPerRadioDetailsMap(self): - """Test RadioUtilizationPerRadioDetailsMap""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.radio_utilization_per_radio_details_map.RadioUtilizationPerRadioDetailsMap() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_radio_utilization_report.py b/libs/cloudapi/cloudsdk/test/test_radio_utilization_report.py deleted file mode 100644 index 2d781b4e3..000000000 --- a/libs/cloudapi/cloudsdk/test/test_radio_utilization_report.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.radio_utilization_report import RadioUtilizationReport # noqa: E501 -from swagger_client.rest import ApiException - - -class TestRadioUtilizationReport(unittest.TestCase): - """RadioUtilizationReport unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRadioUtilizationReport(self): - """Test RadioUtilizationReport""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.radio_utilization_report.RadioUtilizationReport() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_radius_authentication_method.py b/libs/cloudapi/cloudsdk/test/test_radius_authentication_method.py deleted file mode 100644 index 59880732e..000000000 --- a/libs/cloudapi/cloudsdk/test/test_radius_authentication_method.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.radius_authentication_method import RadiusAuthenticationMethod # noqa: E501 -from swagger_client.rest import ApiException - - -class TestRadiusAuthenticationMethod(unittest.TestCase): - """RadiusAuthenticationMethod unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRadiusAuthenticationMethod(self): - """Test RadiusAuthenticationMethod""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.radius_authentication_method.RadiusAuthenticationMethod() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_radius_details.py b/libs/cloudapi/cloudsdk/test/test_radius_details.py deleted file mode 100644 index f7a4e0139..000000000 --- a/libs/cloudapi/cloudsdk/test/test_radius_details.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.radius_details import RadiusDetails # noqa: E501 -from swagger_client.rest import ApiException - - -class TestRadiusDetails(unittest.TestCase): - """RadiusDetails unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRadiusDetails(self): - """Test RadiusDetails""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.radius_details.RadiusDetails() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_radius_metrics.py b/libs/cloudapi/cloudsdk/test/test_radius_metrics.py deleted file mode 100644 index 8e1258931..000000000 --- a/libs/cloudapi/cloudsdk/test/test_radius_metrics.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.radius_metrics import RadiusMetrics # noqa: E501 -from swagger_client.rest import ApiException - - -class TestRadiusMetrics(unittest.TestCase): - """RadiusMetrics unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRadiusMetrics(self): - """Test RadiusMetrics""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.radius_metrics.RadiusMetrics() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_radius_nas_configuration.py b/libs/cloudapi/cloudsdk/test/test_radius_nas_configuration.py deleted file mode 100644 index df287fa54..000000000 --- a/libs/cloudapi/cloudsdk/test/test_radius_nas_configuration.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.radius_nas_configuration import RadiusNasConfiguration # noqa: E501 -from swagger_client.rest import ApiException - - -class TestRadiusNasConfiguration(unittest.TestCase): - """RadiusNasConfiguration unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRadiusNasConfiguration(self): - """Test RadiusNasConfiguration""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.radius_nas_configuration.RadiusNasConfiguration() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_radius_profile.py b/libs/cloudapi/cloudsdk/test/test_radius_profile.py deleted file mode 100644 index 065e48095..000000000 --- a/libs/cloudapi/cloudsdk/test/test_radius_profile.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.radius_profile import RadiusProfile # noqa: E501 -from swagger_client.rest import ApiException - - -class TestRadiusProfile(unittest.TestCase): - """RadiusProfile unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRadiusProfile(self): - """Test RadiusProfile""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.radius_profile.RadiusProfile() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_radius_server.py b/libs/cloudapi/cloudsdk/test/test_radius_server.py deleted file mode 100644 index 8b166e537..000000000 --- a/libs/cloudapi/cloudsdk/test/test_radius_server.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.radius_server import RadiusServer # noqa: E501 -from swagger_client.rest import ApiException - - -class TestRadiusServer(unittest.TestCase): - """RadiusServer unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRadiusServer(self): - """Test RadiusServer""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.radius_server.RadiusServer() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_radius_server_details.py b/libs/cloudapi/cloudsdk/test/test_radius_server_details.py deleted file mode 100644 index c270eac6e..000000000 --- a/libs/cloudapi/cloudsdk/test/test_radius_server_details.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.radius_server_details import RadiusServerDetails # noqa: E501 -from swagger_client.rest import ApiException - - -class TestRadiusServerDetails(unittest.TestCase): - """RadiusServerDetails unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRadiusServerDetails(self): - """Test RadiusServerDetails""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.radius_server_details.RadiusServerDetails() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_real_time_event.py b/libs/cloudapi/cloudsdk/test/test_real_time_event.py deleted file mode 100644 index 153f54360..000000000 --- a/libs/cloudapi/cloudsdk/test/test_real_time_event.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.real_time_event import RealTimeEvent # noqa: E501 -from swagger_client.rest import ApiException - - -class TestRealTimeEvent(unittest.TestCase): - """RealTimeEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRealTimeEvent(self): - """Test RealTimeEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.real_time_event.RealTimeEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_real_time_sip_call_event_with_stats.py b/libs/cloudapi/cloudsdk/test/test_real_time_sip_call_event_with_stats.py deleted file mode 100644 index dd0a5bf80..000000000 --- a/libs/cloudapi/cloudsdk/test/test_real_time_sip_call_event_with_stats.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.real_time_sip_call_event_with_stats import RealTimeSipCallEventWithStats # noqa: E501 -from swagger_client.rest import ApiException - - -class TestRealTimeSipCallEventWithStats(unittest.TestCase): - """RealTimeSipCallEventWithStats unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRealTimeSipCallEventWithStats(self): - """Test RealTimeSipCallEventWithStats""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.real_time_sip_call_event_with_stats.RealTimeSipCallEventWithStats() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_real_time_sip_call_report_event.py b/libs/cloudapi/cloudsdk/test/test_real_time_sip_call_report_event.py deleted file mode 100644 index 3cdf2d1d8..000000000 --- a/libs/cloudapi/cloudsdk/test/test_real_time_sip_call_report_event.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.real_time_sip_call_report_event import RealTimeSipCallReportEvent # noqa: E501 -from swagger_client.rest import ApiException - - -class TestRealTimeSipCallReportEvent(unittest.TestCase): - """RealTimeSipCallReportEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRealTimeSipCallReportEvent(self): - """Test RealTimeSipCallReportEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.real_time_sip_call_report_event.RealTimeSipCallReportEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_real_time_sip_call_start_event.py b/libs/cloudapi/cloudsdk/test/test_real_time_sip_call_start_event.py deleted file mode 100644 index 96635809c..000000000 --- a/libs/cloudapi/cloudsdk/test/test_real_time_sip_call_start_event.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.real_time_sip_call_start_event import RealTimeSipCallStartEvent # noqa: E501 -from swagger_client.rest import ApiException - - -class TestRealTimeSipCallStartEvent(unittest.TestCase): - """RealTimeSipCallStartEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRealTimeSipCallStartEvent(self): - """Test RealTimeSipCallStartEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.real_time_sip_call_start_event.RealTimeSipCallStartEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_real_time_sip_call_stop_event.py b/libs/cloudapi/cloudsdk/test/test_real_time_sip_call_stop_event.py deleted file mode 100644 index 39541af43..000000000 --- a/libs/cloudapi/cloudsdk/test/test_real_time_sip_call_stop_event.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.real_time_sip_call_stop_event import RealTimeSipCallStopEvent # noqa: E501 -from swagger_client.rest import ApiException - - -class TestRealTimeSipCallStopEvent(unittest.TestCase): - """RealTimeSipCallStopEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRealTimeSipCallStopEvent(self): - """Test RealTimeSipCallStopEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.real_time_sip_call_stop_event.RealTimeSipCallStopEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_real_time_streaming_start_event.py b/libs/cloudapi/cloudsdk/test/test_real_time_streaming_start_event.py deleted file mode 100644 index d579163cc..000000000 --- a/libs/cloudapi/cloudsdk/test/test_real_time_streaming_start_event.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.real_time_streaming_start_event import RealTimeStreamingStartEvent # noqa: E501 -from swagger_client.rest import ApiException - - -class TestRealTimeStreamingStartEvent(unittest.TestCase): - """RealTimeStreamingStartEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRealTimeStreamingStartEvent(self): - """Test RealTimeStreamingStartEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.real_time_streaming_start_event.RealTimeStreamingStartEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_real_time_streaming_start_session_event.py b/libs/cloudapi/cloudsdk/test/test_real_time_streaming_start_session_event.py deleted file mode 100644 index 974fed1ff..000000000 --- a/libs/cloudapi/cloudsdk/test/test_real_time_streaming_start_session_event.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.real_time_streaming_start_session_event import RealTimeStreamingStartSessionEvent # noqa: E501 -from swagger_client.rest import ApiException - - -class TestRealTimeStreamingStartSessionEvent(unittest.TestCase): - """RealTimeStreamingStartSessionEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRealTimeStreamingStartSessionEvent(self): - """Test RealTimeStreamingStartSessionEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.real_time_streaming_start_session_event.RealTimeStreamingStartSessionEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_real_time_streaming_stop_event.py b/libs/cloudapi/cloudsdk/test/test_real_time_streaming_stop_event.py deleted file mode 100644 index 560a9f6b3..000000000 --- a/libs/cloudapi/cloudsdk/test/test_real_time_streaming_stop_event.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.real_time_streaming_stop_event import RealTimeStreamingStopEvent # noqa: E501 -from swagger_client.rest import ApiException - - -class TestRealTimeStreamingStopEvent(unittest.TestCase): - """RealTimeStreamingStopEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRealTimeStreamingStopEvent(self): - """Test RealTimeStreamingStopEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.real_time_streaming_stop_event.RealTimeStreamingStopEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_realtime_channel_hop_event.py b/libs/cloudapi/cloudsdk/test/test_realtime_channel_hop_event.py deleted file mode 100644 index 26a6a5865..000000000 --- a/libs/cloudapi/cloudsdk/test/test_realtime_channel_hop_event.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.realtime_channel_hop_event import RealtimeChannelHopEvent # noqa: E501 -from swagger_client.rest import ApiException - - -class TestRealtimeChannelHopEvent(unittest.TestCase): - """RealtimeChannelHopEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRealtimeChannelHopEvent(self): - """Test RealtimeChannelHopEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.realtime_channel_hop_event.RealtimeChannelHopEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_rf_config_map.py b/libs/cloudapi/cloudsdk/test/test_rf_config_map.py deleted file mode 100644 index e48d92d3d..000000000 --- a/libs/cloudapi/cloudsdk/test/test_rf_config_map.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.rf_config_map import RfConfigMap # noqa: E501 -from swagger_client.rest import ApiException - - -class TestRfConfigMap(unittest.TestCase): - """RfConfigMap unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRfConfigMap(self): - """Test RfConfigMap""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.rf_config_map.RfConfigMap() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_rf_configuration.py b/libs/cloudapi/cloudsdk/test/test_rf_configuration.py deleted file mode 100644 index 22ac42a7a..000000000 --- a/libs/cloudapi/cloudsdk/test/test_rf_configuration.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.rf_configuration import RfConfiguration # noqa: E501 -from swagger_client.rest import ApiException - - -class TestRfConfiguration(unittest.TestCase): - """RfConfiguration unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRfConfiguration(self): - """Test RfConfiguration""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.rf_configuration.RfConfiguration() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_rf_element_configuration.py b/libs/cloudapi/cloudsdk/test/test_rf_element_configuration.py deleted file mode 100644 index 92ec4dc83..000000000 --- a/libs/cloudapi/cloudsdk/test/test_rf_element_configuration.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.rf_element_configuration import RfElementConfiguration # noqa: E501 -from swagger_client.rest import ApiException - - -class TestRfElementConfiguration(unittest.TestCase): - """RfElementConfiguration unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRfElementConfiguration(self): - """Test RfElementConfiguration""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.rf_element_configuration.RfElementConfiguration() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_routing_added_event.py b/libs/cloudapi/cloudsdk/test/test_routing_added_event.py deleted file mode 100644 index 2b5f72a50..000000000 --- a/libs/cloudapi/cloudsdk/test/test_routing_added_event.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.routing_added_event import RoutingAddedEvent # noqa: E501 -from swagger_client.rest import ApiException - - -class TestRoutingAddedEvent(unittest.TestCase): - """RoutingAddedEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRoutingAddedEvent(self): - """Test RoutingAddedEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.routing_added_event.RoutingAddedEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_routing_changed_event.py b/libs/cloudapi/cloudsdk/test/test_routing_changed_event.py deleted file mode 100644 index 0d7f87736..000000000 --- a/libs/cloudapi/cloudsdk/test/test_routing_changed_event.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.routing_changed_event import RoutingChangedEvent # noqa: E501 -from swagger_client.rest import ApiException - - -class TestRoutingChangedEvent(unittest.TestCase): - """RoutingChangedEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRoutingChangedEvent(self): - """Test RoutingChangedEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.routing_changed_event.RoutingChangedEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_routing_removed_event.py b/libs/cloudapi/cloudsdk/test/test_routing_removed_event.py deleted file mode 100644 index 4094829d0..000000000 --- a/libs/cloudapi/cloudsdk/test/test_routing_removed_event.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.routing_removed_event import RoutingRemovedEvent # noqa: E501 -from swagger_client.rest import ApiException - - -class TestRoutingRemovedEvent(unittest.TestCase): - """RoutingRemovedEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRoutingRemovedEvent(self): - """Test RoutingRemovedEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.routing_removed_event.RoutingRemovedEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_rrm_bulk_update_ap_details.py b/libs/cloudapi/cloudsdk/test/test_rrm_bulk_update_ap_details.py deleted file mode 100644 index b88fcaf94..000000000 --- a/libs/cloudapi/cloudsdk/test/test_rrm_bulk_update_ap_details.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.rrm_bulk_update_ap_details import RrmBulkUpdateApDetails # noqa: E501 -from swagger_client.rest import ApiException - - -class TestRrmBulkUpdateApDetails(unittest.TestCase): - """RrmBulkUpdateApDetails unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRrmBulkUpdateApDetails(self): - """Test RrmBulkUpdateApDetails""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.rrm_bulk_update_ap_details.RrmBulkUpdateApDetails() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_rtls_settings.py b/libs/cloudapi/cloudsdk/test/test_rtls_settings.py deleted file mode 100644 index bb4f1dcf6..000000000 --- a/libs/cloudapi/cloudsdk/test/test_rtls_settings.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.rtls_settings import RtlsSettings # noqa: E501 -from swagger_client.rest import ApiException - - -class TestRtlsSettings(unittest.TestCase): - """RtlsSettings unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRtlsSettings(self): - """Test RtlsSettings""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.rtls_settings.RtlsSettings() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_rtp_flow_direction.py b/libs/cloudapi/cloudsdk/test/test_rtp_flow_direction.py deleted file mode 100644 index 3343fe350..000000000 --- a/libs/cloudapi/cloudsdk/test/test_rtp_flow_direction.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.rtp_flow_direction import RtpFlowDirection # noqa: E501 -from swagger_client.rest import ApiException - - -class TestRtpFlowDirection(unittest.TestCase): - """RtpFlowDirection unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRtpFlowDirection(self): - """Test RtpFlowDirection""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.rtp_flow_direction.RtpFlowDirection() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_rtp_flow_stats.py b/libs/cloudapi/cloudsdk/test/test_rtp_flow_stats.py deleted file mode 100644 index 7e2456b7e..000000000 --- a/libs/cloudapi/cloudsdk/test/test_rtp_flow_stats.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.rtp_flow_stats import RtpFlowStats # noqa: E501 -from swagger_client.rest import ApiException - - -class TestRtpFlowStats(unittest.TestCase): - """RtpFlowStats unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRtpFlowStats(self): - """Test RtpFlowStats""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.rtp_flow_stats.RtpFlowStats() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_rtp_flow_type.py b/libs/cloudapi/cloudsdk/test/test_rtp_flow_type.py deleted file mode 100644 index d406c2c56..000000000 --- a/libs/cloudapi/cloudsdk/test/test_rtp_flow_type.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.rtp_flow_type import RtpFlowType # noqa: E501 -from swagger_client.rest import ApiException - - -class TestRtpFlowType(unittest.TestCase): - """RtpFlowType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRtpFlowType(self): - """Test RtpFlowType""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.rtp_flow_type.RtpFlowType() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_schedule_setting.py b/libs/cloudapi/cloudsdk/test/test_schedule_setting.py deleted file mode 100644 index 941d8c245..000000000 --- a/libs/cloudapi/cloudsdk/test/test_schedule_setting.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.schedule_setting import ScheduleSetting # noqa: E501 -from swagger_client.rest import ApiException - - -class TestScheduleSetting(unittest.TestCase): - """ScheduleSetting unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testScheduleSetting(self): - """Test ScheduleSetting""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.schedule_setting.ScheduleSetting() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_security_type.py b/libs/cloudapi/cloudsdk/test/test_security_type.py deleted file mode 100644 index 69a208672..000000000 --- a/libs/cloudapi/cloudsdk/test/test_security_type.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.security_type import SecurityType # noqa: E501 -from swagger_client.rest import ApiException - - -class TestSecurityType(unittest.TestCase): - """SecurityType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testSecurityType(self): - """Test SecurityType""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.security_type.SecurityType() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_service_adoption_metrics.py b/libs/cloudapi/cloudsdk/test/test_service_adoption_metrics.py deleted file mode 100644 index 8e0c2c1eb..000000000 --- a/libs/cloudapi/cloudsdk/test/test_service_adoption_metrics.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.service_adoption_metrics import ServiceAdoptionMetrics # noqa: E501 -from swagger_client.rest import ApiException - - -class TestServiceAdoptionMetrics(unittest.TestCase): - """ServiceAdoptionMetrics unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testServiceAdoptionMetrics(self): - """Test ServiceAdoptionMetrics""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.service_adoption_metrics.ServiceAdoptionMetrics() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_service_adoption_metrics_api.py b/libs/cloudapi/cloudsdk/test/test_service_adoption_metrics_api.py deleted file mode 100644 index 43f1710ef..000000000 --- a/libs/cloudapi/cloudsdk/test/test_service_adoption_metrics_api.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.api.service_adoption_metrics_api import ServiceAdoptionMetricsApi # noqa: E501 -from swagger_client.rest import ApiException - - -class TestServiceAdoptionMetricsApi(unittest.TestCase): - """ServiceAdoptionMetricsApi unit test stubs""" - - def setUp(self): - self.api = ServiceAdoptionMetricsApi() # noqa: E501 - - def tearDown(self): - pass - - def test_get_adoption_metrics_all_per_day(self): - """Test case for get_adoption_metrics_all_per_day - - Get daily service adoption metrics for a given year # noqa: E501 - """ - pass - - def test_get_adoption_metrics_all_per_month(self): - """Test case for get_adoption_metrics_all_per_month - - Get monthly service adoption metrics for a given year # noqa: E501 - """ - pass - - def test_get_adoption_metrics_all_per_week(self): - """Test case for get_adoption_metrics_all_per_week - - Get weekly service adoption metrics for a given year # noqa: E501 - """ - pass - - def test_get_adoption_metrics_per_customer_per_day(self): - """Test case for get_adoption_metrics_per_customer_per_day - - Get daily service adoption metrics for a given year aggregated by customer and filtered by specified customer ids # noqa: E501 - """ - pass - - def test_get_adoption_metrics_per_equipment_per_day(self): - """Test case for get_adoption_metrics_per_equipment_per_day - - Get daily service adoption metrics for a given year filtered by specified equipment ids # noqa: E501 - """ - pass - - def test_get_adoption_metrics_per_location_per_day(self): - """Test case for get_adoption_metrics_per_location_per_day - - Get daily service adoption metrics for a given year aggregated by location and filtered by specified location ids # noqa: E501 - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_service_metric.py b/libs/cloudapi/cloudsdk/test/test_service_metric.py deleted file mode 100644 index f28c2b9ff..000000000 --- a/libs/cloudapi/cloudsdk/test/test_service_metric.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.service_metric import ServiceMetric # noqa: E501 -from swagger_client.rest import ApiException - - -class TestServiceMetric(unittest.TestCase): - """ServiceMetric unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testServiceMetric(self): - """Test ServiceMetric""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.service_metric.ServiceMetric() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_service_metric_config_parameters.py b/libs/cloudapi/cloudsdk/test/test_service_metric_config_parameters.py deleted file mode 100644 index 371eae0a1..000000000 --- a/libs/cloudapi/cloudsdk/test/test_service_metric_config_parameters.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.service_metric_config_parameters import ServiceMetricConfigParameters # noqa: E501 -from swagger_client.rest import ApiException - - -class TestServiceMetricConfigParameters(unittest.TestCase): - """ServiceMetricConfigParameters unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testServiceMetricConfigParameters(self): - """Test ServiceMetricConfigParameters""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.service_metric_config_parameters.ServiceMetricConfigParameters() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_service_metric_data_type.py b/libs/cloudapi/cloudsdk/test/test_service_metric_data_type.py deleted file mode 100644 index 33428c9c6..000000000 --- a/libs/cloudapi/cloudsdk/test/test_service_metric_data_type.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.service_metric_data_type import ServiceMetricDataType # noqa: E501 -from swagger_client.rest import ApiException - - -class TestServiceMetricDataType(unittest.TestCase): - """ServiceMetricDataType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testServiceMetricDataType(self): - """Test ServiceMetricDataType""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.service_metric_data_type.ServiceMetricDataType() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_service_metric_details.py b/libs/cloudapi/cloudsdk/test/test_service_metric_details.py deleted file mode 100644 index 23f4ebcb6..000000000 --- a/libs/cloudapi/cloudsdk/test/test_service_metric_details.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.service_metric_details import ServiceMetricDetails # noqa: E501 -from swagger_client.rest import ApiException - - -class TestServiceMetricDetails(unittest.TestCase): - """ServiceMetricDetails unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testServiceMetricDetails(self): - """Test ServiceMetricDetails""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.service_metric_details.ServiceMetricDetails() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_service_metric_radio_config_parameters.py b/libs/cloudapi/cloudsdk/test/test_service_metric_radio_config_parameters.py deleted file mode 100644 index 10e327e17..000000000 --- a/libs/cloudapi/cloudsdk/test/test_service_metric_radio_config_parameters.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.service_metric_radio_config_parameters import ServiceMetricRadioConfigParameters # noqa: E501 -from swagger_client.rest import ApiException - - -class TestServiceMetricRadioConfigParameters(unittest.TestCase): - """ServiceMetricRadioConfigParameters unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testServiceMetricRadioConfigParameters(self): - """Test ServiceMetricRadioConfigParameters""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.service_metric_radio_config_parameters.ServiceMetricRadioConfigParameters() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_service_metric_survey_config_parameters.py b/libs/cloudapi/cloudsdk/test/test_service_metric_survey_config_parameters.py deleted file mode 100644 index a3835001e..000000000 --- a/libs/cloudapi/cloudsdk/test/test_service_metric_survey_config_parameters.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.service_metric_survey_config_parameters import ServiceMetricSurveyConfigParameters # noqa: E501 -from swagger_client.rest import ApiException - - -class TestServiceMetricSurveyConfigParameters(unittest.TestCase): - """ServiceMetricSurveyConfigParameters unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testServiceMetricSurveyConfigParameters(self): - """Test ServiceMetricSurveyConfigParameters""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.service_metric_survey_config_parameters.ServiceMetricSurveyConfigParameters() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_service_metrics_collection_config_profile.py b/libs/cloudapi/cloudsdk/test/test_service_metrics_collection_config_profile.py deleted file mode 100644 index a1b40e66a..000000000 --- a/libs/cloudapi/cloudsdk/test/test_service_metrics_collection_config_profile.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.service_metrics_collection_config_profile import ServiceMetricsCollectionConfigProfile # noqa: E501 -from swagger_client.rest import ApiException - - -class TestServiceMetricsCollectionConfigProfile(unittest.TestCase): - """ServiceMetricsCollectionConfigProfile unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testServiceMetricsCollectionConfigProfile(self): - """Test ServiceMetricsCollectionConfigProfile""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.service_metrics_collection_config_profile.ServiceMetricsCollectionConfigProfile() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_session_expiry_type.py b/libs/cloudapi/cloudsdk/test/test_session_expiry_type.py deleted file mode 100644 index 8759e14ff..000000000 --- a/libs/cloudapi/cloudsdk/test/test_session_expiry_type.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.session_expiry_type import SessionExpiryType # noqa: E501 -from swagger_client.rest import ApiException - - -class TestSessionExpiryType(unittest.TestCase): - """SessionExpiryType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testSessionExpiryType(self): - """Test SessionExpiryType""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.session_expiry_type.SessionExpiryType() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_sip_call_report_reason.py b/libs/cloudapi/cloudsdk/test/test_sip_call_report_reason.py deleted file mode 100644 index 370b6ff0e..000000000 --- a/libs/cloudapi/cloudsdk/test/test_sip_call_report_reason.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.sip_call_report_reason import SIPCallReportReason # noqa: E501 -from swagger_client.rest import ApiException - - -class TestSIPCallReportReason(unittest.TestCase): - """SIPCallReportReason unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testSIPCallReportReason(self): - """Test SIPCallReportReason""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.sip_call_report_reason.SIPCallReportReason() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_sip_call_stop_reason.py b/libs/cloudapi/cloudsdk/test/test_sip_call_stop_reason.py deleted file mode 100644 index 3f0cb747f..000000000 --- a/libs/cloudapi/cloudsdk/test/test_sip_call_stop_reason.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.sip_call_stop_reason import SipCallStopReason # noqa: E501 -from swagger_client.rest import ApiException - - -class TestSipCallStopReason(unittest.TestCase): - """SipCallStopReason unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testSipCallStopReason(self): - """Test SipCallStopReason""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.sip_call_stop_reason.SipCallStopReason() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_sort_columns_alarm.py b/libs/cloudapi/cloudsdk/test/test_sort_columns_alarm.py deleted file mode 100644 index f03c67899..000000000 --- a/libs/cloudapi/cloudsdk/test/test_sort_columns_alarm.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.sort_columns_alarm import SortColumnsAlarm # noqa: E501 -from swagger_client.rest import ApiException - - -class TestSortColumnsAlarm(unittest.TestCase): - """SortColumnsAlarm unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testSortColumnsAlarm(self): - """Test SortColumnsAlarm""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.sort_columns_alarm.SortColumnsAlarm() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_sort_columns_client.py b/libs/cloudapi/cloudsdk/test/test_sort_columns_client.py deleted file mode 100644 index fa58b40db..000000000 --- a/libs/cloudapi/cloudsdk/test/test_sort_columns_client.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.sort_columns_client import SortColumnsClient # noqa: E501 -from swagger_client.rest import ApiException - - -class TestSortColumnsClient(unittest.TestCase): - """SortColumnsClient unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testSortColumnsClient(self): - """Test SortColumnsClient""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.sort_columns_client.SortColumnsClient() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_sort_columns_client_session.py b/libs/cloudapi/cloudsdk/test/test_sort_columns_client_session.py deleted file mode 100644 index 06651f48a..000000000 --- a/libs/cloudapi/cloudsdk/test/test_sort_columns_client_session.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.sort_columns_client_session import SortColumnsClientSession # noqa: E501 -from swagger_client.rest import ApiException - - -class TestSortColumnsClientSession(unittest.TestCase): - """SortColumnsClientSession unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testSortColumnsClientSession(self): - """Test SortColumnsClientSession""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.sort_columns_client_session.SortColumnsClientSession() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_sort_columns_equipment.py b/libs/cloudapi/cloudsdk/test/test_sort_columns_equipment.py deleted file mode 100644 index a03a16adb..000000000 --- a/libs/cloudapi/cloudsdk/test/test_sort_columns_equipment.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.sort_columns_equipment import SortColumnsEquipment # noqa: E501 -from swagger_client.rest import ApiException - - -class TestSortColumnsEquipment(unittest.TestCase): - """SortColumnsEquipment unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testSortColumnsEquipment(self): - """Test SortColumnsEquipment""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.sort_columns_equipment.SortColumnsEquipment() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_sort_columns_location.py b/libs/cloudapi/cloudsdk/test/test_sort_columns_location.py deleted file mode 100644 index cf226a88f..000000000 --- a/libs/cloudapi/cloudsdk/test/test_sort_columns_location.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.sort_columns_location import SortColumnsLocation # noqa: E501 -from swagger_client.rest import ApiException - - -class TestSortColumnsLocation(unittest.TestCase): - """SortColumnsLocation unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testSortColumnsLocation(self): - """Test SortColumnsLocation""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.sort_columns_location.SortColumnsLocation() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_sort_columns_portal_user.py b/libs/cloudapi/cloudsdk/test/test_sort_columns_portal_user.py deleted file mode 100644 index a8e92b61b..000000000 --- a/libs/cloudapi/cloudsdk/test/test_sort_columns_portal_user.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.sort_columns_portal_user import SortColumnsPortalUser # noqa: E501 -from swagger_client.rest import ApiException - - -class TestSortColumnsPortalUser(unittest.TestCase): - """SortColumnsPortalUser unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testSortColumnsPortalUser(self): - """Test SortColumnsPortalUser""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.sort_columns_portal_user.SortColumnsPortalUser() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_sort_columns_profile.py b/libs/cloudapi/cloudsdk/test/test_sort_columns_profile.py deleted file mode 100644 index 0c50fb551..000000000 --- a/libs/cloudapi/cloudsdk/test/test_sort_columns_profile.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.sort_columns_profile import SortColumnsProfile # noqa: E501 -from swagger_client.rest import ApiException - - -class TestSortColumnsProfile(unittest.TestCase): - """SortColumnsProfile unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testSortColumnsProfile(self): - """Test SortColumnsProfile""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.sort_columns_profile.SortColumnsProfile() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_sort_columns_service_metric.py b/libs/cloudapi/cloudsdk/test/test_sort_columns_service_metric.py deleted file mode 100644 index 022c04210..000000000 --- a/libs/cloudapi/cloudsdk/test/test_sort_columns_service_metric.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.sort_columns_service_metric import SortColumnsServiceMetric # noqa: E501 -from swagger_client.rest import ApiException - - -class TestSortColumnsServiceMetric(unittest.TestCase): - """SortColumnsServiceMetric unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testSortColumnsServiceMetric(self): - """Test SortColumnsServiceMetric""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.sort_columns_service_metric.SortColumnsServiceMetric() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_sort_columns_status.py b/libs/cloudapi/cloudsdk/test/test_sort_columns_status.py deleted file mode 100644 index b26c261f8..000000000 --- a/libs/cloudapi/cloudsdk/test/test_sort_columns_status.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.sort_columns_status import SortColumnsStatus # noqa: E501 -from swagger_client.rest import ApiException - - -class TestSortColumnsStatus(unittest.TestCase): - """SortColumnsStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testSortColumnsStatus(self): - """Test SortColumnsStatus""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.sort_columns_status.SortColumnsStatus() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_sort_columns_system_event.py b/libs/cloudapi/cloudsdk/test/test_sort_columns_system_event.py deleted file mode 100644 index d935f8a48..000000000 --- a/libs/cloudapi/cloudsdk/test/test_sort_columns_system_event.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.sort_columns_system_event import SortColumnsSystemEvent # noqa: E501 -from swagger_client.rest import ApiException - - -class TestSortColumnsSystemEvent(unittest.TestCase): - """SortColumnsSystemEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testSortColumnsSystemEvent(self): - """Test SortColumnsSystemEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.sort_columns_system_event.SortColumnsSystemEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_sort_order.py b/libs/cloudapi/cloudsdk/test/test_sort_order.py deleted file mode 100644 index 583127c4d..000000000 --- a/libs/cloudapi/cloudsdk/test/test_sort_order.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.sort_order import SortOrder # noqa: E501 -from swagger_client.rest import ApiException - - -class TestSortOrder(unittest.TestCase): - """SortOrder unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testSortOrder(self): - """Test SortOrder""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.sort_order.SortOrder() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_source_selection_management.py b/libs/cloudapi/cloudsdk/test/test_source_selection_management.py deleted file mode 100644 index 75d7fefbd..000000000 --- a/libs/cloudapi/cloudsdk/test/test_source_selection_management.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.source_selection_management import SourceSelectionManagement # noqa: E501 -from swagger_client.rest import ApiException - - -class TestSourceSelectionManagement(unittest.TestCase): - """SourceSelectionManagement unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testSourceSelectionManagement(self): - """Test SourceSelectionManagement""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.source_selection_management.SourceSelectionManagement() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_source_selection_multicast.py b/libs/cloudapi/cloudsdk/test/test_source_selection_multicast.py deleted file mode 100644 index 96a56dc25..000000000 --- a/libs/cloudapi/cloudsdk/test/test_source_selection_multicast.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.source_selection_multicast import SourceSelectionMulticast # noqa: E501 -from swagger_client.rest import ApiException - - -class TestSourceSelectionMulticast(unittest.TestCase): - """SourceSelectionMulticast unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testSourceSelectionMulticast(self): - """Test SourceSelectionMulticast""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.source_selection_multicast.SourceSelectionMulticast() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_source_selection_steering.py b/libs/cloudapi/cloudsdk/test/test_source_selection_steering.py deleted file mode 100644 index 8a6e574f9..000000000 --- a/libs/cloudapi/cloudsdk/test/test_source_selection_steering.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.source_selection_steering import SourceSelectionSteering # noqa: E501 -from swagger_client.rest import ApiException - - -class TestSourceSelectionSteering(unittest.TestCase): - """SourceSelectionSteering unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testSourceSelectionSteering(self): - """Test SourceSelectionSteering""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.source_selection_steering.SourceSelectionSteering() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_source_selection_value.py b/libs/cloudapi/cloudsdk/test/test_source_selection_value.py deleted file mode 100644 index 5c5ea56d9..000000000 --- a/libs/cloudapi/cloudsdk/test/test_source_selection_value.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.source_selection_value import SourceSelectionValue # noqa: E501 -from swagger_client.rest import ApiException - - -class TestSourceSelectionValue(unittest.TestCase): - """SourceSelectionValue unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testSourceSelectionValue(self): - """Test SourceSelectionValue""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.source_selection_value.SourceSelectionValue() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_source_type.py b/libs/cloudapi/cloudsdk/test/test_source_type.py deleted file mode 100644 index 4463488f6..000000000 --- a/libs/cloudapi/cloudsdk/test/test_source_type.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.source_type import SourceType # noqa: E501 -from swagger_client.rest import ApiException - - -class TestSourceType(unittest.TestCase): - """SourceType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testSourceType(self): - """Test SourceType""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.source_type.SourceType() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_ssid_configuration.py b/libs/cloudapi/cloudsdk/test/test_ssid_configuration.py deleted file mode 100644 index 7cdc3dec1..000000000 --- a/libs/cloudapi/cloudsdk/test/test_ssid_configuration.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.ssid_configuration import SsidConfiguration # noqa: E501 -from swagger_client.rest import ApiException - - -class TestSsidConfiguration(unittest.TestCase): - """SsidConfiguration unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testSsidConfiguration(self): - """Test SsidConfiguration""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.ssid_configuration.SsidConfiguration() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_ssid_secure_mode.py b/libs/cloudapi/cloudsdk/test/test_ssid_secure_mode.py deleted file mode 100644 index 5b1a23f17..000000000 --- a/libs/cloudapi/cloudsdk/test/test_ssid_secure_mode.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.ssid_secure_mode import SsidSecureMode # noqa: E501 -from swagger_client.rest import ApiException - - -class TestSsidSecureMode(unittest.TestCase): - """SsidSecureMode unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testSsidSecureMode(self): - """Test SsidSecureMode""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.ssid_secure_mode.SsidSecureMode() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_ssid_statistics.py b/libs/cloudapi/cloudsdk/test/test_ssid_statistics.py deleted file mode 100644 index a018e5430..000000000 --- a/libs/cloudapi/cloudsdk/test/test_ssid_statistics.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.ssid_statistics import SsidStatistics # noqa: E501 -from swagger_client.rest import ApiException - - -class TestSsidStatistics(unittest.TestCase): - """SsidStatistics unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testSsidStatistics(self): - """Test SsidStatistics""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.ssid_statistics.SsidStatistics() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_state_setting.py b/libs/cloudapi/cloudsdk/test/test_state_setting.py deleted file mode 100644 index aa5b7cb1c..000000000 --- a/libs/cloudapi/cloudsdk/test/test_state_setting.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.state_setting import StateSetting # noqa: E501 -from swagger_client.rest import ApiException - - -class TestStateSetting(unittest.TestCase): - """StateSetting unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testStateSetting(self): - """Test StateSetting""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.state_setting.StateSetting() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_state_up_down_error.py b/libs/cloudapi/cloudsdk/test/test_state_up_down_error.py deleted file mode 100644 index 27cfbd2ae..000000000 --- a/libs/cloudapi/cloudsdk/test/test_state_up_down_error.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.state_up_down_error import StateUpDownError # noqa: E501 -from swagger_client.rest import ApiException - - -class TestStateUpDownError(unittest.TestCase): - """StateUpDownError unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testStateUpDownError(self): - """Test StateUpDownError""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.state_up_down_error.StateUpDownError() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_stats_report_format.py b/libs/cloudapi/cloudsdk/test/test_stats_report_format.py deleted file mode 100644 index d7f79e149..000000000 --- a/libs/cloudapi/cloudsdk/test/test_stats_report_format.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.stats_report_format import StatsReportFormat # noqa: E501 -from swagger_client.rest import ApiException - - -class TestStatsReportFormat(unittest.TestCase): - """StatsReportFormat unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testStatsReportFormat(self): - """Test StatsReportFormat""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.stats_report_format.StatsReportFormat() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_status.py b/libs/cloudapi/cloudsdk/test/test_status.py deleted file mode 100644 index c1558863b..000000000 --- a/libs/cloudapi/cloudsdk/test/test_status.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.status import Status # noqa: E501 -from swagger_client.rest import ApiException - - -class TestStatus(unittest.TestCase): - """Status unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testStatus(self): - """Test Status""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.status.Status() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_status_api.py b/libs/cloudapi/cloudsdk/test/test_status_api.py deleted file mode 100644 index dc12dfaf9..000000000 --- a/libs/cloudapi/cloudsdk/test/test_status_api.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.api.status_api import StatusApi # noqa: E501 -from swagger_client.rest import ApiException - - -class TestStatusApi(unittest.TestCase): - """StatusApi unit test stubs""" - - def setUp(self): - self.api = StatusApi() # noqa: E501 - - def tearDown(self): - pass - - def test_get_status_by_customer_equipment(self): - """Test case for get_status_by_customer_equipment - - Get all Status objects for a given customer equipment. # noqa: E501 - """ - pass - - def test_get_status_by_customer_equipment_with_filter(self): - """Test case for get_status_by_customer_equipment_with_filter - - Get Status objects for a given customer equipment ids and status data types. # noqa: E501 - """ - pass - - def test_get_status_by_customer_id(self): - """Test case for get_status_by_customer_id - - Get all Status objects By customerId # noqa: E501 - """ - pass - - def test_get_status_by_customer_with_filter(self): - """Test case for get_status_by_customer_with_filter - - Get list of Statuses for customerId, set of equipment ids, and set of status data types. # noqa: E501 - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_status_changed_event.py b/libs/cloudapi/cloudsdk/test/test_status_changed_event.py deleted file mode 100644 index 8a8ee80f3..000000000 --- a/libs/cloudapi/cloudsdk/test/test_status_changed_event.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.status_changed_event import StatusChangedEvent # noqa: E501 -from swagger_client.rest import ApiException - - -class TestStatusChangedEvent(unittest.TestCase): - """StatusChangedEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testStatusChangedEvent(self): - """Test StatusChangedEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.status_changed_event.StatusChangedEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_status_code.py b/libs/cloudapi/cloudsdk/test/test_status_code.py deleted file mode 100644 index 1f9f40e8a..000000000 --- a/libs/cloudapi/cloudsdk/test/test_status_code.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.status_code import StatusCode # noqa: E501 -from swagger_client.rest import ApiException - - -class TestStatusCode(unittest.TestCase): - """StatusCode unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testStatusCode(self): - """Test StatusCode""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.status_code.StatusCode() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_status_data_type.py b/libs/cloudapi/cloudsdk/test/test_status_data_type.py deleted file mode 100644 index ff5ef2faa..000000000 --- a/libs/cloudapi/cloudsdk/test/test_status_data_type.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.status_data_type import StatusDataType # noqa: E501 -from swagger_client.rest import ApiException - - -class TestStatusDataType(unittest.TestCase): - """StatusDataType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testStatusDataType(self): - """Test StatusDataType""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.status_data_type.StatusDataType() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_status_details.py b/libs/cloudapi/cloudsdk/test/test_status_details.py deleted file mode 100644 index d7d4f1324..000000000 --- a/libs/cloudapi/cloudsdk/test/test_status_details.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.status_details import StatusDetails # noqa: E501 -from swagger_client.rest import ApiException - - -class TestStatusDetails(unittest.TestCase): - """StatusDetails unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testStatusDetails(self): - """Test StatusDetails""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.status_details.StatusDetails() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_status_removed_event.py b/libs/cloudapi/cloudsdk/test/test_status_removed_event.py deleted file mode 100644 index e5d1ea39c..000000000 --- a/libs/cloudapi/cloudsdk/test/test_status_removed_event.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.status_removed_event import StatusRemovedEvent # noqa: E501 -from swagger_client.rest import ApiException - - -class TestStatusRemovedEvent(unittest.TestCase): - """StatusRemovedEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testStatusRemovedEvent(self): - """Test StatusRemovedEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.status_removed_event.StatusRemovedEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_steer_type.py b/libs/cloudapi/cloudsdk/test/test_steer_type.py deleted file mode 100644 index ba04cdecd..000000000 --- a/libs/cloudapi/cloudsdk/test/test_steer_type.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.steer_type import SteerType # noqa: E501 -from swagger_client.rest import ApiException - - -class TestSteerType(unittest.TestCase): - """SteerType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testSteerType(self): - """Test SteerType""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.steer_type.SteerType() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_streaming_video_server_record.py b/libs/cloudapi/cloudsdk/test/test_streaming_video_server_record.py deleted file mode 100644 index dfd3adbd1..000000000 --- a/libs/cloudapi/cloudsdk/test/test_streaming_video_server_record.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.streaming_video_server_record import StreamingVideoServerRecord # noqa: E501 -from swagger_client.rest import ApiException - - -class TestStreamingVideoServerRecord(unittest.TestCase): - """StreamingVideoServerRecord unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testStreamingVideoServerRecord(self): - """Test StreamingVideoServerRecord""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.streaming_video_server_record.StreamingVideoServerRecord() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_streaming_video_type.py b/libs/cloudapi/cloudsdk/test/test_streaming_video_type.py deleted file mode 100644 index 9dcb7b5d9..000000000 --- a/libs/cloudapi/cloudsdk/test/test_streaming_video_type.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.streaming_video_type import StreamingVideoType # noqa: E501 -from swagger_client.rest import ApiException - - -class TestStreamingVideoType(unittest.TestCase): - """StreamingVideoType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testStreamingVideoType(self): - """Test StreamingVideoType""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.streaming_video_type.StreamingVideoType() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_syslog_relay.py b/libs/cloudapi/cloudsdk/test/test_syslog_relay.py deleted file mode 100644 index 571369b26..000000000 --- a/libs/cloudapi/cloudsdk/test/test_syslog_relay.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.syslog_relay import SyslogRelay # noqa: E501 -from swagger_client.rest import ApiException - - -class TestSyslogRelay(unittest.TestCase): - """SyslogRelay unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testSyslogRelay(self): - """Test SyslogRelay""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.syslog_relay.SyslogRelay() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_syslog_severity_type.py b/libs/cloudapi/cloudsdk/test/test_syslog_severity_type.py deleted file mode 100644 index 699f392bd..000000000 --- a/libs/cloudapi/cloudsdk/test/test_syslog_severity_type.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.syslog_severity_type import SyslogSeverityType # noqa: E501 -from swagger_client.rest import ApiException - - -class TestSyslogSeverityType(unittest.TestCase): - """SyslogSeverityType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testSyslogSeverityType(self): - """Test SyslogSeverityType""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.syslog_severity_type.SyslogSeverityType() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_system_event.py b/libs/cloudapi/cloudsdk/test/test_system_event.py deleted file mode 100644 index 1b75ce383..000000000 --- a/libs/cloudapi/cloudsdk/test/test_system_event.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.system_event import SystemEvent # noqa: E501 -from swagger_client.rest import ApiException - - -class TestSystemEvent(unittest.TestCase): - """SystemEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testSystemEvent(self): - """Test SystemEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.system_event.SystemEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_system_event_data_type.py b/libs/cloudapi/cloudsdk/test/test_system_event_data_type.py deleted file mode 100644 index 22418729d..000000000 --- a/libs/cloudapi/cloudsdk/test/test_system_event_data_type.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.system_event_data_type import SystemEventDataType # noqa: E501 -from swagger_client.rest import ApiException - - -class TestSystemEventDataType(unittest.TestCase): - """SystemEventDataType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testSystemEventDataType(self): - """Test SystemEventDataType""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.system_event_data_type.SystemEventDataType() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_system_event_record.py b/libs/cloudapi/cloudsdk/test/test_system_event_record.py deleted file mode 100644 index 94e7e2225..000000000 --- a/libs/cloudapi/cloudsdk/test/test_system_event_record.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.system_event_record import SystemEventRecord # noqa: E501 -from swagger_client.rest import ApiException - - -class TestSystemEventRecord(unittest.TestCase): - """SystemEventRecord unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testSystemEventRecord(self): - """Test SystemEventRecord""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.system_event_record.SystemEventRecord() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_system_events_api.py b/libs/cloudapi/cloudsdk/test/test_system_events_api.py deleted file mode 100644 index 641619983..000000000 --- a/libs/cloudapi/cloudsdk/test/test_system_events_api.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.api.system_events_api import SystemEventsApi # noqa: E501 -from swagger_client.rest import ApiException - - -class TestSystemEventsApi(unittest.TestCase): - """SystemEventsApi unit test stubs""" - - def setUp(self): - self.api = SystemEventsApi() # noqa: E501 - - def tearDown(self): - pass - - def test_get_system_eventsfor_customer(self): - """Test case for get_system_eventsfor_customer - - Get list of System Events for customerId, optional set of equipment ids, and optional set of data types. Only events that are created between specified fromTime and toTime are retrieved. # noqa: E501 - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_timed_access_user_details.py b/libs/cloudapi/cloudsdk/test/test_timed_access_user_details.py deleted file mode 100644 index 12c46789d..000000000 --- a/libs/cloudapi/cloudsdk/test/test_timed_access_user_details.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.timed_access_user_details import TimedAccessUserDetails # noqa: E501 -from swagger_client.rest import ApiException - - -class TestTimedAccessUserDetails(unittest.TestCase): - """TimedAccessUserDetails unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTimedAccessUserDetails(self): - """Test TimedAccessUserDetails""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.timed_access_user_details.TimedAccessUserDetails() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_timed_access_user_record.py b/libs/cloudapi/cloudsdk/test/test_timed_access_user_record.py deleted file mode 100644 index addeb896a..000000000 --- a/libs/cloudapi/cloudsdk/test/test_timed_access_user_record.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.timed_access_user_record import TimedAccessUserRecord # noqa: E501 -from swagger_client.rest import ApiException - - -class TestTimedAccessUserRecord(unittest.TestCase): - """TimedAccessUserRecord unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTimedAccessUserRecord(self): - """Test TimedAccessUserRecord""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.timed_access_user_record.TimedAccessUserRecord() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_track_flag.py b/libs/cloudapi/cloudsdk/test/test_track_flag.py deleted file mode 100644 index 5c3ee6513..000000000 --- a/libs/cloudapi/cloudsdk/test/test_track_flag.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.track_flag import TrackFlag # noqa: E501 -from swagger_client.rest import ApiException - - -class TestTrackFlag(unittest.TestCase): - """TrackFlag unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTrackFlag(self): - """Test TrackFlag""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.track_flag.TrackFlag() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_traffic_details.py b/libs/cloudapi/cloudsdk/test/test_traffic_details.py deleted file mode 100644 index 997356c7a..000000000 --- a/libs/cloudapi/cloudsdk/test/test_traffic_details.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.traffic_details import TrafficDetails # noqa: E501 -from swagger_client.rest import ApiException - - -class TestTrafficDetails(unittest.TestCase): - """TrafficDetails unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTrafficDetails(self): - """Test TrafficDetails""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.traffic_details.TrafficDetails() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_traffic_per_radio_details.py b/libs/cloudapi/cloudsdk/test/test_traffic_per_radio_details.py deleted file mode 100644 index 8a84aad06..000000000 --- a/libs/cloudapi/cloudsdk/test/test_traffic_per_radio_details.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.traffic_per_radio_details import TrafficPerRadioDetails # noqa: E501 -from swagger_client.rest import ApiException - - -class TestTrafficPerRadioDetails(unittest.TestCase): - """TrafficPerRadioDetails unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTrafficPerRadioDetails(self): - """Test TrafficPerRadioDetails""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.traffic_per_radio_details.TrafficPerRadioDetails() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_traffic_per_radio_details_per_radio_type_map.py b/libs/cloudapi/cloudsdk/test/test_traffic_per_radio_details_per_radio_type_map.py deleted file mode 100644 index 8f8021429..000000000 --- a/libs/cloudapi/cloudsdk/test/test_traffic_per_radio_details_per_radio_type_map.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.traffic_per_radio_details_per_radio_type_map import TrafficPerRadioDetailsPerRadioTypeMap # noqa: E501 -from swagger_client.rest import ApiException - - -class TestTrafficPerRadioDetailsPerRadioTypeMap(unittest.TestCase): - """TrafficPerRadioDetailsPerRadioTypeMap unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTrafficPerRadioDetailsPerRadioTypeMap(self): - """Test TrafficPerRadioDetailsPerRadioTypeMap""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.traffic_per_radio_details_per_radio_type_map.TrafficPerRadioDetailsPerRadioTypeMap() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_tunnel_indicator.py b/libs/cloudapi/cloudsdk/test/test_tunnel_indicator.py deleted file mode 100644 index 4aa095c77..000000000 --- a/libs/cloudapi/cloudsdk/test/test_tunnel_indicator.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.tunnel_indicator import TunnelIndicator # noqa: E501 -from swagger_client.rest import ApiException - - -class TestTunnelIndicator(unittest.TestCase): - """TunnelIndicator unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTunnelIndicator(self): - """Test TunnelIndicator""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.tunnel_indicator.TunnelIndicator() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_tunnel_metric_data.py b/libs/cloudapi/cloudsdk/test/test_tunnel_metric_data.py deleted file mode 100644 index 1ac7b4212..000000000 --- a/libs/cloudapi/cloudsdk/test/test_tunnel_metric_data.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.tunnel_metric_data import TunnelMetricData # noqa: E501 -from swagger_client.rest import ApiException - - -class TestTunnelMetricData(unittest.TestCase): - """TunnelMetricData unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTunnelMetricData(self): - """Test TunnelMetricData""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.tunnel_metric_data.TunnelMetricData() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_unserializable_system_event.py b/libs/cloudapi/cloudsdk/test/test_unserializable_system_event.py deleted file mode 100644 index 6d32bc242..000000000 --- a/libs/cloudapi/cloudsdk/test/test_unserializable_system_event.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.unserializable_system_event import UnserializableSystemEvent # noqa: E501 -from swagger_client.rest import ApiException - - -class TestUnserializableSystemEvent(unittest.TestCase): - """UnserializableSystemEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testUnserializableSystemEvent(self): - """Test UnserializableSystemEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.unserializable_system_event.UnserializableSystemEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_user_details.py b/libs/cloudapi/cloudsdk/test/test_user_details.py deleted file mode 100644 index 96c12bb33..000000000 --- a/libs/cloudapi/cloudsdk/test/test_user_details.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.user_details import UserDetails # noqa: E501 -from swagger_client.rest import ApiException - - -class TestUserDetails(unittest.TestCase): - """UserDetails unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testUserDetails(self): - """Test UserDetails""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.user_details.UserDetails() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_vlan_status_data.py b/libs/cloudapi/cloudsdk/test/test_vlan_status_data.py deleted file mode 100644 index e754a93e9..000000000 --- a/libs/cloudapi/cloudsdk/test/test_vlan_status_data.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.vlan_status_data import VLANStatusData # noqa: E501 -from swagger_client.rest import ApiException - - -class TestVLANStatusData(unittest.TestCase): - """VLANStatusData unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testVLANStatusData(self): - """Test VLANStatusData""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.vlan_status_data.VLANStatusData() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_vlan_status_data_map.py b/libs/cloudapi/cloudsdk/test/test_vlan_status_data_map.py deleted file mode 100644 index 00dd9c055..000000000 --- a/libs/cloudapi/cloudsdk/test/test_vlan_status_data_map.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.vlan_status_data_map import VLANStatusDataMap # noqa: E501 -from swagger_client.rest import ApiException - - -class TestVLANStatusDataMap(unittest.TestCase): - """VLANStatusDataMap unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testVLANStatusDataMap(self): - """Test VLANStatusDataMap""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.vlan_status_data_map.VLANStatusDataMap() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_vlan_subnet.py b/libs/cloudapi/cloudsdk/test/test_vlan_subnet.py deleted file mode 100644 index 2d4447fac..000000000 --- a/libs/cloudapi/cloudsdk/test/test_vlan_subnet.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.vlan_subnet import VlanSubnet # noqa: E501 -from swagger_client.rest import ApiException - - -class TestVlanSubnet(unittest.TestCase): - """VlanSubnet unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testVlanSubnet(self): - """Test VlanSubnet""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.vlan_subnet.VlanSubnet() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_web_token_acl_template.py b/libs/cloudapi/cloudsdk/test/test_web_token_acl_template.py deleted file mode 100644 index 7c3f157f7..000000000 --- a/libs/cloudapi/cloudsdk/test/test_web_token_acl_template.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.web_token_acl_template import WebTokenAclTemplate # noqa: E501 -from swagger_client.rest import ApiException - - -class TestWebTokenAclTemplate(unittest.TestCase): - """WebTokenAclTemplate unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testWebTokenAclTemplate(self): - """Test WebTokenAclTemplate""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.web_token_acl_template.WebTokenAclTemplate() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_web_token_request.py b/libs/cloudapi/cloudsdk/test/test_web_token_request.py deleted file mode 100644 index c7a9db117..000000000 --- a/libs/cloudapi/cloudsdk/test/test_web_token_request.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.web_token_request import WebTokenRequest # noqa: E501 -from swagger_client.rest import ApiException - - -class TestWebTokenRequest(unittest.TestCase): - """WebTokenRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testWebTokenRequest(self): - """Test WebTokenRequest""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.web_token_request.WebTokenRequest() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_web_token_result.py b/libs/cloudapi/cloudsdk/test/test_web_token_result.py deleted file mode 100644 index 90970467c..000000000 --- a/libs/cloudapi/cloudsdk/test/test_web_token_result.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.web_token_result import WebTokenResult # noqa: E501 -from swagger_client.rest import ApiException - - -class TestWebTokenResult(unittest.TestCase): - """WebTokenResult unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testWebTokenResult(self): - """Test WebTokenResult""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.web_token_result.WebTokenResult() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_wep_auth_type.py b/libs/cloudapi/cloudsdk/test/test_wep_auth_type.py deleted file mode 100644 index e8440ddc5..000000000 --- a/libs/cloudapi/cloudsdk/test/test_wep_auth_type.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.wep_auth_type import WepAuthType # noqa: E501 -from swagger_client.rest import ApiException - - -class TestWepAuthType(unittest.TestCase): - """WepAuthType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testWepAuthType(self): - """Test WepAuthType""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.wep_auth_type.WepAuthType() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_wep_configuration.py b/libs/cloudapi/cloudsdk/test/test_wep_configuration.py deleted file mode 100644 index 4df508654..000000000 --- a/libs/cloudapi/cloudsdk/test/test_wep_configuration.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.wep_configuration import WepConfiguration # noqa: E501 -from swagger_client.rest import ApiException - - -class TestWepConfiguration(unittest.TestCase): - """WepConfiguration unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testWepConfiguration(self): - """Test WepConfiguration""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.wep_configuration.WepConfiguration() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_wep_key.py b/libs/cloudapi/cloudsdk/test/test_wep_key.py deleted file mode 100644 index 011d6e2d0..000000000 --- a/libs/cloudapi/cloudsdk/test/test_wep_key.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.wep_key import WepKey # noqa: E501 -from swagger_client.rest import ApiException - - -class TestWepKey(unittest.TestCase): - """WepKey unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testWepKey(self): - """Test WepKey""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.wep_key.WepKey() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_wep_type.py b/libs/cloudapi/cloudsdk/test/test_wep_type.py deleted file mode 100644 index 35594e86a..000000000 --- a/libs/cloudapi/cloudsdk/test/test_wep_type.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.wep_type import WepType # noqa: E501 -from swagger_client.rest import ApiException - - -class TestWepType(unittest.TestCase): - """WepType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testWepType(self): - """Test WepType""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.wep_type.WepType() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_wlan_reason_code.py b/libs/cloudapi/cloudsdk/test/test_wlan_reason_code.py deleted file mode 100644 index 166d314f4..000000000 --- a/libs/cloudapi/cloudsdk/test/test_wlan_reason_code.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.wlan_reason_code import WlanReasonCode # noqa: E501 -from swagger_client.rest import ApiException - - -class TestWlanReasonCode(unittest.TestCase): - """WlanReasonCode unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testWlanReasonCode(self): - """Test WlanReasonCode""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.wlan_reason_code.WlanReasonCode() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_wlan_service_metrics_api.py b/libs/cloudapi/cloudsdk/test/test_wlan_service_metrics_api.py deleted file mode 100644 index e5fc370a3..000000000 --- a/libs/cloudapi/cloudsdk/test/test_wlan_service_metrics_api.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.api.wlan_service_metrics_api import WLANServiceMetricsApi # noqa: E501 -from swagger_client.rest import ApiException - - -class TestWLANServiceMetricsApi(unittest.TestCase): - """WLANServiceMetricsApi unit test stubs""" - - def setUp(self): - self.api = WLANServiceMetricsApi() # noqa: E501 - - def tearDown(self): - pass - - def test_get_service_metricsfor_customer(self): - """Test case for get_service_metricsfor_customer - - Get list of WLAN Service Metrics for customerId, optional set of location ids, optional set of equipment ids, optional set of client MAC addresses, optional set of metric data types. Only metrics that are created between specified fromTime and toTime are retrieved. # noqa: E501 - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_wlan_status_code.py b/libs/cloudapi/cloudsdk/test/test_wlan_status_code.py deleted file mode 100644 index 98fd5622f..000000000 --- a/libs/cloudapi/cloudsdk/test/test_wlan_status_code.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.wlan_status_code import WlanStatusCode # noqa: E501 -from swagger_client.rest import ApiException - - -class TestWlanStatusCode(unittest.TestCase): - """WlanStatusCode unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testWlanStatusCode(self): - """Test WlanStatusCode""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.wlan_status_code.WlanStatusCode() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_wmm_queue_stats.py b/libs/cloudapi/cloudsdk/test/test_wmm_queue_stats.py deleted file mode 100644 index c13e930a0..000000000 --- a/libs/cloudapi/cloudsdk/test/test_wmm_queue_stats.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.wmm_queue_stats import WmmQueueStats # noqa: E501 -from swagger_client.rest import ApiException - - -class TestWmmQueueStats(unittest.TestCase): - """WmmQueueStats unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testWmmQueueStats(self): - """Test WmmQueueStats""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.wmm_queue_stats.WmmQueueStats() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_wmm_queue_stats_per_queue_type_map.py b/libs/cloudapi/cloudsdk/test/test_wmm_queue_stats_per_queue_type_map.py deleted file mode 100644 index 06604c462..000000000 --- a/libs/cloudapi/cloudsdk/test/test_wmm_queue_stats_per_queue_type_map.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.wmm_queue_stats_per_queue_type_map import WmmQueueStatsPerQueueTypeMap # noqa: E501 -from swagger_client.rest import ApiException - - -class TestWmmQueueStatsPerQueueTypeMap(unittest.TestCase): - """WmmQueueStatsPerQueueTypeMap unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testWmmQueueStatsPerQueueTypeMap(self): - """Test WmmQueueStatsPerQueueTypeMap""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.wmm_queue_stats_per_queue_type_map.WmmQueueStatsPerQueueTypeMap() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/test/test_wmm_queue_type.py b/libs/cloudapi/cloudsdk/test/test_wmm_queue_type.py deleted file mode 100644 index 2a3c6887c..000000000 --- a/libs/cloudapi/cloudsdk/test/test_wmm_queue_type.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudSDK Portal API - - APIs that provide services for provisioning, monitoring, and history retrieval of various data elements of CloudSDK. # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import swagger_client -from swagger_client.models.wmm_queue_type import WmmQueueType # noqa: E501 -from swagger_client.rest import ApiException - - -class TestWmmQueueType(unittest.TestCase): - """WmmQueueType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testWmmQueueType(self): - """Test WmmQueueType""" - # FIXME: construct object with mandatory attributes with example values - # model = swagger_client.models.wmm_queue_type.WmmQueueType() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/libs/cloudapi/cloudsdk/tox.ini b/libs/cloudapi/cloudsdk/tox.ini deleted file mode 100644 index a310bec97..000000000 --- a/libs/cloudapi/cloudsdk/tox.ini +++ /dev/null @@ -1,10 +0,0 @@ -[tox] -envlist = py3 - -[testenv] -deps=-r{toxinidir}/requirements.txt - -r{toxinidir}/test-requirements.txt - -commands= - nosetests \ - [] diff --git a/libs/cloudsdk/cloudsdk.py b/libs/cloudsdk/cloudsdk.py old mode 100755 new mode 100644 index ab2f7211d..d576f7f5e --- a/libs/cloudsdk/cloudsdk.py +++ b/libs/cloudsdk/cloudsdk.py @@ -1,1603 +1,99 @@ -#!/usr/bin/python3 - -################################################################################## -# Module contains functions to interact with CloudSDK using APIs -# Start by calling get_bearer to obtain bearer token, then other APIs can be used -# -# Used by Nightly_Sanity and Throughput_Test ##################################### -################################################################################## - -import base64 -import urllib.request -from bs4 import BeautifulSoup -import ssl -import subprocess, os -from artifactory import ArtifactoryPath -import tarfile -import paramiko -from paramiko import SSHClient -from scp import SCPClient -import os -import pexpect -from pexpect import pxssh -import sys -import paramiko -from scp import SCPClient -import pprint +from __future__ import print_function +from swagger import swagger_client +from swagger.swagger_client.rest import ApiException from pprint import pprint -from os import listdir -import re -import requests -import json -import testrail_api -import logging -import datetime -import time -from ap_ssh import ssh_cli_active_fw -import lab_ap_info -import ap_ssh + +login_credentials = { + "userId": "support@example.com", + "password": "support" +} -###Class for CloudSDK Interaction via RestAPI -class CloudSDK: - def __init__(self, command_line_args): - self.user = command_line_args.sdk_user_id - self.password = command_line_args.sdk_user_password - self.assert_bad_response = False - self.verbose = command_line_args.verbose - self.base_url = command_line_args.sdk_base_url - self.cloud_type = "v1" - self.refresh_bearer() +class cloudsdk: - def refresh_bearer(self): - self.bearer = self.get_bearer(self.base_url, self.cloud_type) - - def get_bearer(self, cloudSDK_url, cloud_type): - cloud_login_url = cloudSDK_url + "/management/" + cloud_type + "/oauth2/token" - payload = ''' - { - "userId": "''' + self.user + '''", - "password": "''' + self.password + '''" - } - ''' - headers = { - 'Content-Type': 'application/json' + """ + constructor for cloudsdk library : can be used from pytest framework + """ + def __init__(self): + self.api_client = swagger_client.ApiClient() + self.api_client.configuration.username = login_credentials["userId"] + self.api_client.configuration.password = login_credentials["password"] + self.login_client = swagger_client.LoginApi(api_client=self.api_client) + self.bearer = self.get_bearer_token() + self.api_client.default_headers['Authorization'] = "Bearer " + self.bearer._access_token + self.equipment_client = swagger_client.EquipmentApi(self.api_client) + self.profile_client = swagger_client.ProfileApi(self.api_client) + self.api_client.configuration.api_key_prefix = { + "Authorization": "Bearer " + self.bearer._access_token } - try: - token_response = requests.request("POST", cloud_login_url, headers=headers, data=payload) - self.check_response("POST", token_response, headers, payload, cloud_login_url) - except requests.exceptions.RequestException as e: - raise SystemExit("Exiting Script! Cloud not get bearer token for reason:", e) - token_data = token_response.json() - bearer_token = token_data['access_token'] - bearer = bearer_token - return (bearer_token) + self.api_client.configuration.refresh_api_key_hook = self.get_bearer_token() + self.ping_response = self.portal_ping() + #print(self.bearer) + #print(self.ping_response) + + """ + Login Utilities + """ + + def get_bearer_token(self): + return self.login_client.get_access_token(body=login_credentials) + + def portal_ping(self): + return self.login_client.portal_ping() + + """ + Equipment Utilities + """ + + def get_equipment_by_customer_id(self, customer_id=None): + pagination_context = """{ + "model_type": "PaginationContext", + "maxItemsPerPage": 10 + }""" + + # print(self.equipment_client.get_equipment_by_customer_id(customer_id=customer_id, + # pagination_context=pagination_context)) + + def request_ap_reboot(self): + pass + + def request_firmware_update(self): + pass + + """ + Profile Utilities + """ + + def get_profile_by_id(self, profile_id=None): + #print(self.profile_client.get_profile_by_id(profile_id=profile_id)) + pass + + def get_profiles_by_customer_id(self, customer_id=None): + pagination_context= """{ + "model_type": "PaginationContext", + "maxItemsPerPage": 100 + }""" + self.default_profiles = {} + print(len((self.profile_client.get_profiles_by_customer_id(customer_id=customer_id, pagination_context=pagination_context))._items)) + for i in self.profile_client.get_profiles_by_customer_id(customer_id=customer_id, pagination_context=pagination_context)._items: + print(i._name, i._id) + if i._name is "TipWlan-Cloud-Wifi": + self.default_profiles['ssid'] = i + + def create_profile(self, profile_type=None, customer_id=None, profile_name=None): + if profile_type is None or customer_id is None or profile_name is None: + return "Invalid profile_type/customer_id/profile_name" - def check_response(self, cmd, response, headers, data_str, url): - if response.status_code >= 500 or self.verbose: - if response.status_code >= 500: - print("check-response: ERROR, url: ", url) - else: - print("check-response: url: ", url) - print("Command: ", cmd) - print("response-status: ", response.status_code) - print("response-headers: ", response.headers) - print("response-content: ", response.content) - print("headers: ", headers) - print("data-str: ", data_str) - - if response.status_code >= 500: - if self.assert_bad_response: - raise NameError("Invalid response code.") - return False - return True - - def should_upgrade_ap_fw(self, force_upgrade, skip_upgrade, report_data, latest_ap_image, fw_model, ap_cli_fw, - logger, key): - do_upgrade = False - if ap_cli_fw == latest_ap_image and force_upgrade != True: - print('FW does not require updating') - if report_data: - report_data['fw_available'][key] = "No" - if logger: - logger.info(fw_model + " does not require upgrade.") - cloudsdk_cluster_info = { - "date": "N/A", - "commitId": "N/A", - "projectVersion": "N/A" - } - if report_data: - report_data['cloud_sdk'][key] = cloudsdk_cluster_info - - if ap_cli_fw != latest_ap_image and skip_upgrade == True: - print('FW needs updating, but skip_upgrade is True, so skipping upgrade') - if report_data: - report_data['fw_available'][key] = "No" - if logger: - logger.info(fw_model + " firmware upgrade skipped, running with " + ap_cli_fw) - cloudsdk_cluster_info = { - "date": "N/A", - "commitId": "N/A", - "projectVersion": "N/A" - } - if report_data: - report_data['cloud_sdk'][key] = cloudsdk_cluster_info - - if (ap_cli_fw != latest_ap_image or force_upgrade == True) and not skip_upgrade: - print('Updating firmware, old: %s new: %s' % (ap_cli_fw, latest_ap_image)) - do_upgrade = True - if report_data: - report_data['fw_available'][key] = "Yes" - report_data['fw_under_test'][key] = latest_ap_image - - return do_upgrade - - # client is testrail client - def do_upgrade_ap_fw(self, command_line_args, report_data, test_cases, testrail_client, ap_image, cloudModel, model, - jfrog_user, jfrog_pwd, testrails_rid, customer_id, equipment_id, logger): - # Test Create Firmware Version - key = model - rid = testrails_rid - cloudSDK_url = self.base_url - bearer = self.bearer - if test_cases: - test_id_fw = test_cases["create_fw"] - print(cloudModel) - firmware_list_by_model = self.CloudSDK_images(cloudModel, cloudSDK_url, bearer) - print("Available", cloudModel, "Firmware on CloudSDK:", firmware_list_by_model) - - if ap_image in firmware_list_by_model: - print("Latest Firmware", ap_image, "is already on CloudSDK, need to delete to test create FW API") - old_fw_id = self.get_firmware_id(ap_image, cloudSDK_url, bearer) - delete_fw = self.delete_firmware(str(old_fw_id), cloudSDK_url, bearer) - fw_url = "https://" + jfrog_user + ":" + jfrog_pwd + "@tip.jfrog.io/artifactory/tip-wlan-ap-firmware/" + key + "/dev/" + ap_image + ".tar.gz" - commit = ap_image.split("-")[-1] - try: - fw_upload_status = self.firwmare_upload(commit, cloudModel, ap_image, fw_url, cloudSDK_url, - bearer) - fw_id = fw_upload_status['id'] - print("Upload Complete.", ap_image, "FW ID is", fw_id) - if testrail_client: - testrail_client.update_testrail(case_id=test_id_fw, run_id=rid, status_id=1, - msg='Create new FW version by API successful') - if report_data: - report_data['tests'][key][test_id_fw] = "passed" - except: - fw_upload_status = 'error' - print("Unable to upload new FW version. Skipping Sanity on AP Model") - if testrail_client: - testrail_client.update_testrail(case_id=test_id_fw, run_id=rid, status_id=5, - msg='Error creating new FW version by API') - if report_data: - report_data['tests'][key][test_id_fw] = "failed" - return False - else: - print("Latest Firmware is not on CloudSDK! Uploading...") - fw_url = "https://" + jfrog_user + ":" + jfrog_pwd + "@tip.jfrog.io/artifactory/tip-wlan-ap-firmware/" + key + "/dev/" + ap_image + ".tar.gz" - commit = ap_image.split("-")[-1] - try: - fw_upload_status = self.firwmare_upload(commit, cloudModel, ap_image, fw_url, cloudSDK_url, - bearer) - fw_id = fw_upload_status['id'] - print("Upload Complete.", ap_image, "FW ID is", fw_id) - if testrail_client: - testrail_client.update_testrail(case_id=test_id_fw, run_id=rid, status_id=1, - msg='Create new FW version by API successful') - if report_data: - report_data['tests'][key][test_id_fw] = "passed" - except: - fw_upload_status = 'error' - print("Unable to upload new FW version. Skipping Sanity on AP Model") - if testrail_client: - testrail_client.update_testrail(case_id=test_id_fw, run_id=rid, status_id=5, - msg='Error creating new FW version by API') - if report_data: - report_data['tests'][key][test_id_fw] = "failed" - return False - - # Upgrade AP firmware - print("Upgrading...firmware ID is: ", fw_id) - upgrade_fw = self.update_firmware(equipment_id, str(fw_id), cloudSDK_url, bearer) - if logger: - logger.info("Lab " + model + " Requires FW update") - print(upgrade_fw) - - if "success" in upgrade_fw: - if upgrade_fw["success"] == True: - print("CloudSDK Upgrade Request Success") - if report_data and test_cases: - report_data['tests'][key][test_cases["upgrade_api"]] = "passed" - if testrail_client: - testrail_client.update_testrail(case_id=test_cases["upgrade_api"], run_id=rid, status_id=1, - msg='Upgrade request using API successful') - if logger: - logger.info('Firmware upgrade API successfully sent') - else: - print("Cloud SDK Upgrade Request Error!") - # mark upgrade test case as failed with CloudSDK error - if test_cases: - if testrail_client: - testrail_client.update_testrail(case_id=test_cases["upgrade_api"], run_id=rid, status_id=5, - msg='Error requesting upgrade via API') - if report_data: - report_data['tests'][key][test_cases["upgrade_api"]] = "failed" - if logger: - logger.warning('Firmware upgrade API failed to send') - return False - else: - print("Cloud SDK Upgrade Request Error!") - # mark upgrade test case as failed with CloudSDK error - if test_cases: - if testrail_client: - testrail_client.update_testrail(case_id=test_cases["upgrade_api"], run_id=rid, status_id=5, - msg='Error requesting upgrade via API') - if report_data: - report_data['tests'][key][test_cases["upgrade_api"]] = "failed" - if logger: - logger.warning('Firmware upgrade API failed to send') - return False - - sdk_ok = False - for i in range(10): - time.sleep(30) - # Check if upgrade success is displayed on CloudSDK - if test_cases: - test_id_cloud = test_cases["cloud_fw"] - cloud_ap_fw = self.ap_firmware(customer_id, equipment_id, cloudSDK_url, bearer) - print('Current AP Firmware from CloudSDK: %s requested-image: %s' % (cloud_ap_fw, ap_image)) - if logger: - logger.info('AP Firmware from CloudSDK: ' + cloud_ap_fw) - if cloud_ap_fw == "ERROR": - print("AP FW Could not be read from CloudSDK") - - elif cloud_ap_fw == ap_image: - print("CloudSDK status shows upgrade successful!") - sdk_ok = True - break - - else: - print("AP FW from CloudSDK status is not latest build. Will try again in 30 seconds.") - - cli_ok = False - if sdk_ok: - for i in range(10): - # Check if upgrade successful on AP CLI - if test_cases: - test_id_cli = test_cases["ap_upgrade"] - try: - ap_cli_info = ssh_cli_active_fw(command_line_args) - ap_cli_fw = ap_cli_info['active_fw'] - print("CLI reporting AP Active FW as:", ap_cli_fw) - if logger: - logger.info('Firmware from CLI: ' + ap_cli_fw) - if ap_cli_fw == ap_image: - cli_ok = True - break - else: - print("probed api-cli-fw: %s != requested-image: %s" % (ap_cli_fw, ap_image)) - continue - except Exception as ex: - ap_cli_info = "ERROR" - print(ex) - logging.error(logging.traceback.format_exc()) - print("Cannot Reach AP CLI to confirm upgrade!") - if logger: - logger.warning('Cannot Reach AP CLI to confirm upgrade!') - if test_cases: - if testrail_client: - testrail_client.update_testrail(case_id=test_id_cli, run_id=rid, status_id=4, - msg='Cannot reach AP after upgrade to check CLI - re-test required') - continue - - time.sleep(30) - else: - print("ERROR: Cloud did not report firmware upgrade within expiration time.") - - if not (sdk_ok and cli_ok): - return False # Cannot talk to AP/Cloud, cannot make intelligent decision on pass/fail - - # Check status - if cloud_ap_fw == ap_image and ap_cli_fw == ap_image: - print("CloudSDK and AP CLI both show upgrade success, passing upgrade test case") - if test_cases: - if testrail_client: - testrail_client.update_testrail(case_id=test_id_cli, run_id=rid, status_id=1, - msg='Upgrade to ' + ap_image + ' successful') - testrail_client.update_testrail(case_id=test_id_cloud, run_id=rid, status_id=1, - msg='CLOUDSDK reporting correct firmware version.') - if report_data: - report_data['tests'][key][test_id_cli] = "passed" - report_data['tests'][key][test_id_cloud] = "passed" - print(report_data['tests'][key]) - return True - - elif cloud_ap_fw != ap_image and ap_cli_fw == ap_image: - print("AP CLI shows upgrade success - CloudSDK reporting error!") - ##Raise CloudSDK error but continue testing - if test_cases: - if testrail_client: - testrail_client.update_testrail(case_id=test_id_cli, run_id=rid, status_id=1, - msg='Upgrade to ' + ap_image + ' successful.') - testrail_client.update_testrail(case_id=test_id_cloud, run_id=rid, status_id=5, - msg='CLOUDSDK reporting incorrect firmware version.') - if report_data: - report_data['tests'][key][test_id_cli] = "passed" - report_data['tests'][key][test_id_cloud] = "failed" - print(report_data['tests'][key]) - return True - - elif cloud_ap_fw == ap_image and ap_cli_fw != ap_image: - print("AP CLI shows upgrade failed - CloudSDK reporting error!") - # Testrail TC fail - if test_cases: - if testrail_client: - testrail_client.update_testrail(case_id=test_id_cli, run_id=rid, status_id=5, - msg='AP failed to download or apply new FW. Upgrade to ' + ap_image + ' Failed') - testrail_client.update_testrail(case_id=test_id_cloud, run_id=rid, status_id=5, - msg='CLOUDSDK reporting incorrect firmware version.') - if report_data: - report_data['tests'][key][test_id_cli] = "failed" - report_data['tests'][key][test_id_cloud] = "failed" - print(report_data['tests'][key]) - return False - - elif cloud_ap_fw != ap_image and ap_cli_fw != ap_image: - print("Upgrade Failed! Confirmed on CloudSDK and AP CLI. Upgrade test case failed.") - ##fail TR testcase and exit - if test_cases: - if testrail_client: - testrail_client.update_testrail(case_id=test_id_cli, run_id=rid, status_id=5, - msg='AP failed to download or apply new FW. Upgrade to ' + ap_image + ' Failed') - if report_data: - report_data['tests'][key][test_id_cli] = "failed" - print(report_data['tests'][key]) - return False - - else: - print("Unable to determine upgrade status. Skipping AP variant") - # update TR testcase as error - if test_cases: - if testrail_client: - testrail_client.update_testrail(case_id=test_id_cli, run_id=rid, status_id=4, - msg='Cannot determine upgrade status - re-test required') - if report_data: - report_data['tests'][key][test_id_cli] = "error" - print(report_data['tests'][key]) - return False - - def ap_firmware(self, customer_id, equipment_id, cloudSDK_url, bearer): - equip_fw_url = cloudSDK_url + "/portal/status/forEquipment?customerId=" + customer_id + "&equipmentId=" + equipment_id - payload = {} - headers = { - 'Authorization': 'Bearer ' + bearer - } - status_response = requests.request("GET", equip_fw_url, headers=headers, data=payload) - self.check_response("GET", status_response, headers, payload, equip_fw_url) - status_code = status_response.status_code - if status_code == 200: - status_data = status_response.json() - # print(status_data) - try: - current_ap_fw = status_data[2]['details']['reportedSwVersion'] - return current_ap_fw - except Exception as ex: - ap_cli_info = "ERROR" - print(ex) - logging.error(logging.traceback.format_exc()) - if not self.verbose: - # Force full logging for this, result is not as expected. - self.verbose = True - self.check_response("GET", status_response, headers, payload, equip_fw_url) - self.verbose = False - return ("ERROR") - - else: - return ("ERROR") - - def CloudSDK_images(self, apModel, cloudSDK_url, bearer): - if apModel and apModel != "None": - getFW_url = cloudSDK_url + "/portal/firmware/version/byEquipmentType?equipmentType=AP&modelId=" + apModel - else: - getFW_url = cloudSDK_url + "/portal/firmware/version/byEquipmentType?equipmentType=AP" - payload = {} - headers = { - 'Authorization': 'Bearer ' + bearer - } - response = requests.request("GET", getFW_url, headers=headers, data=payload) - self.check_response("GET", response, headers, payload, getFW_url) - ap_fw_details = response.json() - ###return ap_fw_details - fwlist = [] - for version in ap_fw_details: - fwlist.append(version.get('versionName')) - return (fwlist) - # fw_versionNames = ap_fw_details[0]['versionName'] - # return fw_versionNames - - def firwmare_upload(self, commit, apModel, latest_image, fw_url, cloudSDK_url, bearer): - fw_upload_url = cloudSDK_url + "/portal/firmware/version" - payload = "{\n \"model_type\": \"FirmwareVersion\",\n \"id\": 0,\n \"equipmentType\": \"AP\",\n \"modelId\": \"" + apModel + "\",\n \"versionName\": \"" + latest_image + "\",\n \"description\": \"\",\n \"filename\": \"" + fw_url + "\",\n \"commit\": \"" + commit + "\",\n \"validationMethod\": \"MD5_CHECKSUM\",\n \"validationCode\": \"19494befa87eb6bb90a64fd515634263\",\n \"releaseDate\": 1596192028877,\n \"createdTimestamp\": 0,\n \"lastModifiedTimestamp\": 0\n}\n\n" - headers = { - 'Content-Type': 'application/json', - 'Authorization': 'Bearer ' + bearer - } - - response = requests.request("POST", fw_upload_url, headers=headers, data=payload) - self.check_response("POST", response, headers, payload, fw_upload_url) - # print(response) - upload_result = response.json() - return (upload_result) - - def get_firmware_id(self, latest_ap_image, cloudSDK_url, bearer): - # print(latest_ap_image) - fw_id_url = cloudSDK_url + "/portal/firmware/version/byName?firmwareVersionName=" + latest_ap_image - - payload = {} - headers = { - 'Authorization': 'Bearer ' + bearer - } - response = requests.request("GET", fw_id_url, headers=headers, data=payload) - self.check_response("GET", response, headers, payload, fw_id_url) - fw_data = response.json() - latest_fw_id = fw_data['id'] - return latest_fw_id - - def get_paged_url(self, bearer, url_base): - url = url_base - - payload = {} - headers = { - 'Authorization': 'Bearer ' + bearer - } - - rv = [] - req = 0 - while True: - print("Request %i: in get-paged-url, url: %s" % (req, url)) - response = requests.request("GET", url, headers=headers, data=payload) - self.check_response("GET", response, headers, payload, url) - rjson = response.json() - rv.append(rjson) - if not 'context' in rjson: - print(json.dumps(rjson, indent=4, sort_keys=True)) - break - if rjson['context']['lastPage']: - break - context_str = json.dumps(rjson['context']) - # print("context-str: %s"%(context_str)) - url = url_base + "&paginationContext=" + urllib.parse.quote(context_str) - req = req + 1 - # print("Profile, reading another page, context:") - # print(rjson['context']) - # print("url: %s"%(fw_id_url)) - - return rv - - def get_url(self, bearer, url): - payload = {} - headers = { - 'Authorization': 'Bearer ' + bearer - } - - print("Get-url, url: %s" % (url)) - response = requests.request("GET", url, headers=headers, data=payload) - self.check_response("GET", response, headers, payload, url) - return response.json() - - def get_customer_profiles(self, cloudSDK_url, bearer, customer_id, object_id): - if object_id != None: - url_base = cloudSDK_url + "/portal/profile" + "?profileId=" + object_id - return [self.get_url(bearer, url_base)] - else: - url_base = cloudSDK_url + "/portal/profile/forCustomer" + "?customerId=" + customer_id - return self.get_paged_url(bearer, url_base) - - def ping(self, cloudSDK_url, bearer): - url_base = cloudSDK_url + "/ping" - return [self.get_url(bearer, url_base)] - - # This is querys all and filters locally. Maybe there is better way to get cloud to - # do the filtering? - def get_customer_profile_by_name(self, cloudSDK_url, bearer, customer_id, name): - rv = self.get_customer_profiles(cloudSDK_url, bearer, customer_id, None) - for page in rv: - for e in page['items']: - prof_id = str(e['id']) - prof_model_type = e['model_type'] - prof_type = e['profileType'] - prof_name = e['name'] - print("looking for profile: %s checking prof-id: %s model-type: %s type: %s name: %s" % ( - name, prof_id, prof_model_type, prof_type, prof_name)) - if name == prof_name: - return e - return None - - def delete_customer_profile(self, cloudSDK_url, bearer, profile_id): - url = cloudSDK_url + '/portal/profile/?profileId=' + str(profile_id) - print("Deleting customer profile with url: " + url) - payload = {} - headers = { - 'Authorization': 'Bearer ' + bearer - } - response = requests.request("DELETE", url, headers=headers, data=payload) - self.check_response("DELETE", response, headers, payload, url) - return (response) - - def delete_equipment(self, cloudSDK_url, bearer, eq_id): - url = cloudSDK_url + '/portal/equipment/?equipmentId=' + eq_id - print("Deleting equipment with url: " + url) - payload = {} - headers = { - 'Authorization': 'Bearer ' + bearer - } - response = requests.request("DELETE", url, headers=headers, data=payload) - self.check_response("DELETE", response, headers, payload, url) - return (response) - - def get_customer_locations(self, cloudSDK_url, bearer, customer_id): - url_base = cloudSDK_url + "/portal/location/forCustomer" + "?customerId=" + customer_id - return self.get_paged_url(bearer, url_base) - - def get_customer_equipment(self, customer_id): - url = self.base_url + "/portal/equipment/forCustomer" + "?customerId=" + customer_id - return self.get_paged_url(self.bearer, url) - - def get_customer_portal_users(self, cloudSDK_url, bearer, customer_id): - url_base = cloudSDK_url + "/portal/portalUser/forCustomer" + "?customerId=" + customer_id - return self.get_paged_url(bearer, url_base) - - def get_customer_status(self, cloudSDK_url, bearer, customer_id): - url_base = cloudSDK_url + "/portal/status/forCustomer" + "?customerId=" + customer_id - return self.get_paged_url(bearer, url_base) - - def get_customer_client_sessions(self, cloudSDK_url, bearer, customer_id): - url_base = cloudSDK_url + "/portal/client/session/forCustomer" + "?customerId=" + customer_id - return self.get_paged_url(bearer, url_base) - - def get_customer_clients(self, cloudSDK_url, bearer, customer_id): - url_base = cloudSDK_url + "/portal/client/forCustomer" + "?customerId=" + customer_id - return self.get_paged_url(bearer, url_base) - - def get_customer_alarms(self, cloudSDK_url, bearer, customer_id): - url_base = cloudSDK_url + "/portal/alarm/forCustomer" + "?customerId=" + customer_id - return self.get_paged_url(bearer, url_base) - - def get_customer_service_metrics(self, cloudSDK_url, bearer, customer_id, fromTime, toTime): - url_base = cloudSDK_url + "/portal/serviceMetric/forCustomer" + "?customerId=" + customer_id + "&fromTime=" + fromTime + "&toTime=" + toTime - return self.get_paged_url(bearer, url_base) - - def get_customer_system_events(self, cloudSDK_url, bearer, customer_id, fromTime, toTime): - url_base = cloudSDK_url + "/portal/systemEvent/forCustomer" + "?customerId=" + customer_id + "&fromTime=" + fromTime + "&toTime=" + toTime - return self.get_paged_url(bearer, url_base) - - def get_customer(self, cloudSDK_url, bearer, customer_id): - fw_id_url = cloudSDK_url + "/portal/customer" + "?customerId=" + customer_id - - payload = {} - headers = { - 'Authorization': 'Bearer ' + bearer - } - response = requests.request("GET", fw_id_url, headers=headers, data=payload) - self.check_response("GET", response, headers, payload, fw_id_url) - return response.json() - - def delete_firmware(self, fw_id, cloudSDK_url, bearer): - url = cloudSDK_url + '/portal/firmware/version?firmwareVersionId=' + fw_id - payload = {} - headers = { - 'Authorization': 'Bearer ' + bearer - } - response = requests.request("DELETE", url, headers=headers, data=payload) - self.check_response("DELETE", response, headers, payload, url) - return (response) - - def update_firmware(self, equipment_id, latest_firmware_id, cloudSDK_url, bearer): - url = cloudSDK_url + "/portal/equipmentGateway/requestFirmwareUpdate?equipmentId=" + equipment_id + "&firmwareVersionId=" + latest_firmware_id - - payload = {} - headers = { - 'Authorization': 'Bearer ' + bearer - } - - response = requests.request("POST", url, headers=headers, data=payload) - self.check_response("POST", response, headers, payload, url) - # print(response.text) - return response.json() - - # This one is not yet tested, coded from spec, could have bugs. - def ap_reboot(self, equipment_id, cloudSDK_url, bearer): - url = cloudSDK_url + "/portal/equipmentGateway/requestApReboot?equipmentId=" + equipment_id - - payload = {} - headers = { - 'Authorization': 'Bearer ' + bearer - } - - response = requests.request("POST", url, headers=headers, data=payload) - self.check_response("POST", response, headers, payload, url) - # print(response.text) - return response.json() - - # This one is not yet tested, coded from spec, could have bugs. - def ap_switch_sw_bank(self, equipment_id, cloudSDK_url, bearer): - url = cloudSDK_url + "/portal/equipmentGateway/requestApSwitchSoftwareBank?equipmentId=" + equipment_id - - payload = {} - headers = { - 'Authorization': 'Bearer ' + bearer - } - - response = requests.request("POST", url, headers=headers, data=payload) - self.check_response("POST", response, headers, payload, url) - # print(response.text) - return response.json() - - # This one is not yet tested, coded from spec, could have bugs. - def ap_factory_reset(self, equipment_id, cloudSDK_url, bearer): - url = cloudSDK_url + "/portal/equipmentGateway/requestApFactoryReset?equipmentId=" + equipment_id - - payload = {} - headers = { - 'Authorization': 'Bearer ' + bearer - } - - response = requests.request("POST", url, headers=headers, data=payload) - self.check_response("POST", response, headers, payload, url) - # print(response.text) - return response.json() - - # This one is not yet tested, coded from spec, could have bugs. - def ap_channel_change(self, equipment_id, cloudSDK_url, bearer): - url = cloudSDK_url + "/portal/equipmentGateway/requestChannelChange?equipmentId=" + equipment_id - - payload = {} - headers = { - 'Authorization': 'Bearer ' + bearer - } - - response = requests.request("POST", url, headers=headers, data=payload) - self.check_response("POST", response, headers, payload, url) - # print(response.text) - return response.json() - - def set_ap_profile(self, equipment_id, test_profile_id): - ###Get AP Info - url = self.base_url + "/portal/equipment?equipmentId=" + equipment_id - payload = {} - headers = { - 'Authorization': 'Bearer ' + self.bearer - } - - response = requests.request("GET", url, headers=headers, data=payload) - self.check_response("GET", response, headers, payload, url) - print(response) - - ###Add Lab Profile ID to Equipment - equipment_info = response.json() - # print(equipment_info) - equipment_info["profileId"] = test_profile_id - print(equipment_info) - - ###Update AP Info with Required Profile ID - url = self.base_url + "/portal/equipment" - headers = { - 'Content-Type': 'application/json', - 'Authorization': 'Bearer ' + self.bearer - } - - response = requests.request("PUT", url, headers=headers, data=json.dumps(equipment_info)) - self.check_response("PUT", response, headers, payload, url) - print(response) - - def get_cloudsdk_version(self, cloudSDK_url, bearer): - # print(latest_ap_image) - url = cloudSDK_url + "/ping" - - payload = {} - headers = { - 'Authorization': 'Bearer ' + bearer - } - response = requests.request("GET", url, headers=headers, data=payload) - self.check_response("GET", response, headers, payload, url) - cloud_sdk_version = response.json() - return cloud_sdk_version - - def create_ap_profile(self, cloudSDK_url, bearer, customer_id, template, name, child_profiles): - # TODO: specify default ap profile. - profile = self.get_customer_profile_by_name(cloudSDK_url, bearer, customer_id, template) - - profile["name"] = name - profile["childProfileIds"] = child_profiles - - url = cloudSDK_url + "/portal/profile" - headers = { - 'Content-Type': 'application/json', - 'Authorization': 'Bearer ' + bearer - } - - data_str = json.dumps(profile) - print("Creating new ap-profile, data: %s" % (data_str)) - response = requests.request("POST", url, headers=headers, data=data_str) - self.check_response("POST", response, headers, data_str, url) - ap_profile = response.json() - print("New AP profile: ", ap_profile) - ap_profile_id = ap_profile['id'] - return ap_profile_id - - def create_or_update_ap_profile(self, cloudSDK_url, bearer, customer_id, template, name, child_profiles): - profile = self.get_customer_profile_by_name(cloudSDK_url, bearer, customer_id, name) - if profile == None: - return self.create_ap_profile(cloudSDK_url, bearer, customer_id, template, name, child_profiles) - - if self.verbose: - print("AP Profile before modification:") - print(json.dumps(profile, indent=4, sort_keys=True)) - - profile["name"] = name - profile["childProfileIds"] = child_profiles - - url = cloudSDK_url + "/portal/profile" - headers = { - 'Content-Type': 'application/json', - 'Authorization': 'Bearer ' + bearer - } - - data_str = json.dumps(profile) - print("Updating ap-profile, data: %s" % (data_str)) - response = requests.request("PUT", url, headers=headers, data=data_str) - self.check_response("PUT", response, headers, data_str, url) - print(response) - - if self.verbose: - p2 = self.get_customer_profile_by_name(cloudSDK_url, bearer, customer_id, name) - print("AP Profile: %s after update:" % (name)) - print(json.dumps(p2, indent=4, sort_keys=True)) - - return profile['id'] - - def create_ssid_profile(self, cloudSDK_url, bearer, customer_id, template, name, ssid, passkey, radius, security, - mode, vlan, radios, radius_profile=None): - print("create-ssid-profile, template: %s" % (template)) - profile = self.get_customer_profile_by_name(cloudSDK_url, bearer, customer_id, template) - - profile['name'] = name - profile['details']['ssid'] = ssid - profile['details']['keyStr'] = passkey - profile['details']['radiusServiceName'] = radius - profile['details']['secureMode'] = security - profile['details']['forwardMode'] = mode - profile['details']['vlanId'] = vlan - profile['details']['appliedRadios'] = radios - if radius_profile is not None: - profile['details']['radiusServiceId'] = radius_profile - profile['childProfileIds'].append(radius_profile) - url = cloudSDK_url + "/portal/profile" - headers = { - 'Content-Type': 'application/json', - 'Authorization': 'Bearer ' + bearer - } - data_str = json.dumps(profile) - time.sleep(5) - print("shivamgogoshots radius :", radius_profile, "\n\n", profile, "\n\n", data_str) - response = requests.request("POST", url, headers=headers, data=data_str) - self.check_response("POST", response, headers, data_str, url) - ssid_profile = response.json() - return ssid_profile['id'] - - def create_or_update_ssid_profile(self, cloudSDK_url, bearer, customer_id, template, name, - ssid, passkey, radius, security, mode, vlan, radios, radius_profile=None): - # First, see if profile of this name already exists. - profile = self.get_customer_profile_by_name(cloudSDK_url, bearer, customer_id, name) - if profile == None: - # create one then - return self.create_ssid_profile(cloudSDK_url, bearer, customer_id, template, name, - ssid, passkey, radius, security, mode, vlan, radios, radius_profile) - - # Update then. - print("Update existing ssid profile, name: %s" % (name)) - profile['name'] = name - profile['details']['ssid'] = ssid - profile['details']['keyStr'] = passkey - profile['details']['radiusServiceName'] = radius - profile['details']['secureMode'] = security - profile['details']['forwardMode'] = mode - profile['details']['vlanId'] = vlan - profile['details']['appliedRadios'] = radios - if radius_profile is not None: - profile['details']['radiusServiceId'] = radius_profile - profile['childProfileIds'].append(radius_profile) - url = cloudSDK_url + "/portal/profile" - headers = { - 'Content-Type': 'application/json', - 'Authorization': 'Bearer ' + bearer - } - - data_str = json.dumps(profile) - time.sleep(10) - print("shivamgogoshots radius :", radius_profile, "\n\n", profile, "\n\n", data_str) - response = requests.request("PUT", url, headers=headers, data=data_str) - self.check_response("PUT", response, headers, data_str, url) - return profile['id'] - - # General usage: get the default profile, modify it accordingly, pass it back to here - # Not tested yet. - def create_rf_profile(self, cloudSDK_url, bearer, customer_id, template, name, new_prof): - print("create-rf-profile, template: %s" % (template)) - - url = cloudSDK_url + "/portal/profile" - headers = { - 'Content-Type': 'application/json', - 'Authorization': 'Bearer ' + bearer - } - data_str = json.dumps(profile) - response = requests.request("POST", url, headers=headers, data=data_str) - self.check_response("POST", response, headers, data_str, url) - ssid_profile = response.json() - return ssid_profile['id'] - - # Not tested yet. - def create_or_update_rf_profile(self, cloudSDK_url, bearer, customer_id, template, name, - new_prof): - # First, see if profile of this name already exists. - profile = self.get_customer_profile_by_name(cloudSDK_url, bearer, customer_id, name) - if profile == None: - # create one then - return self.create_rf_profile(cloudSDK_url, bearer, customer_id, template, name, new_prof) - - # Update then. - print("Update existing ssid profile, name: %s" % (name)) - - url = cloudSDK_url + "/portal/profile" - headers = { - 'Content-Type': 'application/json', - 'Authorization': 'Bearer ' + bearer - } - data_str = json.dumps(new_profile) - response = requests.request("PUT", url, headers=headers, data=data_str) - self.check_response("PUT", response, headers, data_str, url) - return profile['id'] - - def create_radius_profile(self, cloudSDK_url, bearer, customer_id, template, name, subnet_name, subnet, subnet_mask, - region, server_name, server_ip, secret, auth_port): - print("Create-radius-profile called, template: %s" % (template)) - profile = self.get_customer_profile_by_name(cloudSDK_url, bearer, customer_id, template) - - profile['name'] = name - - subnet_config = profile['details']['subnetConfiguration'] - old_subnet_name = list(subnet_config.keys())[0] - subnet_config[subnet_name] = subnet_config.pop(old_subnet_name) - profile['details']['subnetConfiguration'][subnet_name]['subnetAddress'] = subnet - profile['details']['subnetConfiguration'][subnet_name]['subnetCidrPrefix'] = subnet_mask - profile['details']['subnetConfiguration'][subnet_name]['subnetName'] = subnet_name - - region_map = profile['details']['serviceRegionMap'] - old_region = list(region_map.keys())[0] - region_map[region] = region_map.pop(old_region) - profile['details']['serviceRegionName'] = region - profile['details']['subnetConfiguration'][subnet_name]['serviceRegionName'] = region - profile['details']['serviceRegionMap'][region]['regionName'] = region - - server_map = profile['details']['serviceRegionMap'][region]['serverMap'] - old_server_name = list(server_map.keys())[0] - server_map[server_name] = server_map.pop(old_server_name) - profile['details']['serviceRegionMap'][region]['serverMap'][server_name][0]['ipAddress'] = server_ip - profile['details']['serviceRegionMap'][region]['serverMap'][server_name][0]['secret'] = secret - profile['details']['serviceRegionMap'][region]['serverMap'][server_name][0]['authPort'] = auth_port - - url = cloudSDK_url + "/portal/profile" - headers = { - 'Content-Type': 'application/json', - 'Authorization': 'Bearer ' + bearer - } - - data_str = json.dumps(profile) - print("Sending json to create radius: %s" % (data_str)) - response = requests.request("POST", url, headers=headers, data=data_str) - self.check_response("POST", response, headers, data_str, url) - radius_profile = response.json() - print(radius_profile) - radius_profile_id = radius_profile['id'] - return radius_profile_id - - def create_or_update_radius_profile(self, cloudSDK_url, bearer, customer_id, template, name, subnet_name, subnet, - subnet_mask, - region, server_name, server_ip, secret, auth_port): - null = None - profile = {"model_type": "Profile", "id": 129, "customerId": 2, "profileType": "radius", "name": "Lab-RADIUS", - "details": {"model_type": "RadiusProfile", - "primaryRadiusAuthServer": {"model_type": "RadiusServer", "ipAddress": "10.10.10.203", - "secret": "testing123", "port": 1812, "timeout": 5}, - "secondaryRadiusAuthServer": null, "primaryRadiusAccountingServer": null, - "secondaryRadiusAccountingServer": null, "profileType": "radius"}, - "createdTimestamp": 1602263176599, "lastModifiedTimestamp": 1611708334061, "childProfileIds": []} - profile['name'] = name - profile['customerId'] = customer_id - profile['details']["primaryRadiusAuthServer"]['ipAddress'] = server_ip - profile['details']["primaryRadiusAuthServer"]['secret'] = secret - profile['details']["primaryRadiusAuthServer"]['port'] = auth_port - - url = cloudSDK_url + "/portal/profile" - headers = { - 'Content-Type': 'application/json', - 'Authorization': 'Bearer ' + bearer - } - - json_profile_data = json.dumps(profile).encode("utf-8") - response = requests.request("POST", url, headers=headers, data=json_profile_data) - radius_profile = response.json() - radius_profile_id = radius_profile['id'] - return radius_profile_id - - -# Library for creating AP Profiles -class CreateAPProfiles: - - def __init__(self, - command_line_args, - cloud=None, - cloud_type="v1", - client=None, - fw_model=None, - sleep=5 - ): - - self.profile_test_data = {"ssid_config": {}, "vif_config": {}} - self.rid = None - self.fiveG_wpa2 = None - self.fiveG_wpa = None - self.fiveG_eap = None - self.twoFourG_wpa2 = None - self.twoFourG_wpa = None - self.twoFourG_eap = None - self.command_line_args = command_line_args - self.radius_profile = None - self.radius_name = None - self.cloud = cloud - self.client = client - self.cloud_type = cloud_type - self.customer_id = command_line_args.customer_id - self.ap_cli_info = ssh_cli_active_fw(self.command_line_args) - if self.cloud == None: - print("cloud cannot be None") - exit() - self.ap_cli_fw = self.ap_cli_info['active_fw'] - self.bearer = self.cloud.get_bearer(self.command_line_args.sdk_base_url, self.cloud_type) - self.radius_info = { - - "name": "Lab-RADIUS", - "subnet_name": "Lab", - "subnet": "8.189.25.141", - "subnet_mask": 16, - "region": "Toronto", - "server_name": "Lab-RADIUS", - "server_ip": "18.189.25.141", - "secret": "testing123", - "auth_port": 1812 - } - self.ap_models = ["ec420", "ea8300", "ecw5211", "ecw5410"] - self.fw_model = fw_model - self.report_data = {} - self.sleep = sleep - self.report_data['tests'] = dict.fromkeys(self.ap_models, "") - self.test_cases = { - "radius_profile": None, - - "ssid_5g_eap_bridge": None, - "ssid_5g_wpa2_bridge": None, - "ssid_5g_wpa_bridge": None, - "ssid_2g_eap_bridge": None, - "ssid_2g_wpa2_bridge": None, - "ssid_2g_wpa_bridge": None, - - "ssid_5g_eap_nat": None, - "ssid_5g_wpa2_nat": None, - "ssid_5g_wpa_nat": None, - "ssid_2g_eap_nat": None, - "ssid_2g_wpa2_nat": None, - "ssid_2g_wpa_nat": None, - - "ssid_5g_eap_vlan": None, - "ssid_5g_wpa2_vlan": None, - "ssid_5g_wpa_vlan": None, - "ssid_2g_eap_vlan": None, - "ssid_2g_wpa2_vlan": None, - "ssid_2g_wpa_vlan": None, - - "ap_bridge": None, - "ap_nat": None, - "ap_vlan": None, - - "bridge_vifc": None, - "bridge_vifs": None, - - "nat_vifc": None, - "nat_vifs": None, - - "vlan_vifc": None, - "vlan_vifs": None - } - self.profile_data, self.prof_names, self.prof_names_eap = self.create_profile_data(self.command_line_args, - self.fw_model) - self.ssid_data, self.psk_data = self.create_ssid_data(self.command_line_args, self.fw_model) - self.profile_ids = [] - - def create_profile_data(self, args, fw_model): profile_data = { - "5g": {"eap": - { - "bridge": "%s-%s-%s" % (args.testbed, fw_model, "5G_EAP"), - "nat": "%s-%s-%s" % (args.testbed, fw_model, "5G_EAP_NAT"), - "vlan": "%s-%s-%s" % (args.testbed, fw_model, "5G_EAP_VLAN") - }, - "wpa": - { - "bridge": "%s-%s-%s" % (args.testbed, fw_model, "5G_WPA"), - "nat": "%s-%s-%s" % (args.testbed, fw_model, "5G_WPA_NAT"), - "vlan": "%s-%s-%s" % (args.testbed, fw_model, "5G_WPA_VLAN") - }, - "wpa2": - { - "bridge": "%s-%s-%s" % (args.testbed, fw_model, "5G_WPA2"), - "nat": "%s-%s-%s" % (args.testbed, fw_model, "5G_WPA2_NAT"), - "vlan": "%s-%s-%s" % (args.testbed, fw_model, "5G_WPA2_VLAN") - } - }, - "2g": {"eap": - { - "bridge": "%s-%s-%s" % (args.testbed, fw_model, "2G_EAP"), - "nat": "%s-%s-%s" % (args.testbed, fw_model, "2G_EAP_NAT"), - "vlan": "%s-%s-%s" % (args.testbed, fw_model, "2G_EAP_VLAN") - }, - "wpa": - { - "bridge": "%s-%s-%s" % (args.testbed, fw_model, "2G_WPA"), - "nat": "%s-%s-%s" % (args.testbed, fw_model, "2G_WPA_NAT"), - "vlan": "%s-%s-%s" % (args.testbed, fw_model, "2G_WPA_VLAN") - }, - "wpa2": - { - "bridge": "%s-%s-%s" % (args.testbed, fw_model, "2G_WPA2"), - "nat": "%s-%s-%s" % (args.testbed, fw_model, "2G_WPA2_NAT"), - "vlan": "%s-%s-%s" % (args.testbed, fw_model, "2G_WPA2_VLAN") - } - } + "profileType": profile_type, # eg. ("equipment_ap", "ssid", "rf", "radius", "captive_portal") + "customerId": customer_id, + "name": profile_name } - prof_names = [profile_data["5g"]["wpa2"]["bridge"], profile_data["5g"]["wpa"]["bridge"], - profile_data["2g"]["wpa2"]["bridge"], profile_data["2g"]["wpa"]["bridge"], - profile_data["5g"]["wpa2"]["nat"], profile_data["5g"]["wpa"]["nat"], - profile_data["2g"]["wpa2"]["nat"], profile_data["2g"]["wpa"]["nat"], - profile_data["5g"]["wpa2"]["vlan"], profile_data["5g"]["wpa"]["vlan"], - profile_data["2g"]["wpa2"]["vlan"], profile_data["2g"]["wpa"]["vlan"]] + return "Profile Created Successfully!" - prof_names_eap = [profile_data["5g"]["eap"]["bridge"], profile_data["2g"]["eap"]["bridge"], - profile_data["5g"]["eap"]["nat"], profile_data["2g"]["eap"]["nat"], - profile_data["5g"]["eap"]["vlan"], profile_data["2g"]["eap"]["vlan"]] - return profile_data, prof_names, prof_names_eap - - def create_ssid_data(self, args, fw_model): - ssid_data = self.profile_data.copy() - psk_data = { - "5g": - { - "wpa": - { - "bridge": "%s-%s" % (fw_model, "5G_WPA"), - "nat": "%s-%s" % (fw_model, "5G_WPA_NAT"), - "vlan": "%s-%s" % (fw_model, "5G_WPA_VLAN") - }, - "wpa2": - { - "bridge": "%s-%s" % (fw_model, "5G_WPA2"), - "nat": "%s-%s" % (fw_model, "5G_WPA2_NAT"), - "vlan": "%s-%s" % (fw_model, "5G_WPA2_VLAN") - } - }, - "2g": - { - "wpa": - { - "bridge": "%s-%s" % (fw_model, "2G_WPA"), - "nat": "%s-%s" % (fw_model, "2G_WPA_NAT"), - "vlan": "%s-%s" % (fw_model, "2G_WPA_VLAN") - }, - "wpa2": - { - "bridge": "%s-%s" % (fw_model, "2G_WPA2"), - "nat": "%s-%s" % (fw_model, "2G_WPA2_NAT"), - "vlan": "%s-%s" % (fw_model, "2G_WPA2_VLAN") - } - } - - } - return ssid_data, psk_data - - def set_ssid_psk_data(self, - ssid_2g_wpa=None, - ssid_5g_wpa=None, - psk_2g_wpa=None, - psk_5g_wpa=None, - ssid_2g_wpa2=None, - ssid_5g_wpa2=None, - psk_2g_wpa2=None, - psk_5g_wpa2=None): - if psk_5g_wpa2 is not None: - self.psk_data["5g"]["wpa2"]["bridge"] = psk_5g_wpa2 - self.psk_data["5g"]["wpa2"]["nat"] = psk_5g_wpa2 - self.psk_data["5g"]["wpa2"]["vlan"] = psk_5g_wpa2 - if psk_5g_wpa is not None: - self.psk_data["5g"]["wpa"]["bridge"] = psk_5g_wpa - self.psk_data["5g"]["wpa"]["nat"] = psk_5g_wpa - self.psk_data["5g"]["wpa"]["vlan"] = psk_5g_wpa - if psk_2g_wpa2 is not None: - self.psk_data["2g"]["wpa2"]["bridge"] = psk_2g_wpa2 - self.psk_data["2g"]["wpa2"]["nat"] = psk_2g_wpa2 - self.psk_data["2g"]["wpa2"]["vlan"] = psk_2g_wpa2 - if psk_2g_wpa is not None: - self.psk_data["2g"]["wpa"]["bridge"] = psk_2g_wpa - self.psk_data["2g"]["wpa"]["nat"] = psk_2g_wpa - self.psk_data["2g"]["wpa"]["nat"] = psk_2g_wpa - if ssid_5g_wpa2 is not None: - self.ssid_data["5g"]["wpa2"]["bridge"] = ssid_5g_wpa2 - self.ssid_data["5g"]["wpa2"]["nat"] = ssid_5g_wpa2 - self.ssid_data["5g"]["wpa2"]["vlan"] = ssid_5g_wpa2 - if ssid_5g_wpa is not None: - self.ssid_data["5g"]["wpa"]["bridge"] = ssid_5g_wpa - self.ssid_data["5g"]["wpa"]["nat"] = ssid_5g_wpa - self.ssid_data["5g"]["wpa"]["vlan"] = ssid_5g_wpa - if ssid_2g_wpa2 is not None: - self.ssid_data["2g"]["wpa2"]["bridge"] = ssid_2g_wpa2 - self.ssid_data["2g"]["wpa2"]["nat"] = ssid_2g_wpa2 - self.ssid_data["2g"]["wpa2"]["vlan"] = ssid_2g_wpa2 - if ssid_2g_wpa is not None: - self.ssid_data["2g"]["wpa"]["bridge"] = ssid_2g_wpa - self.ssid_data["2g"]["wpa"]["nat"] = ssid_2g_wpa - self.ssid_data["2g"]["wpa"]["vlan"] = ssid_2g_wpa - - def create_radius_profile(self, radius_name=None, radius_template=None, rid=None, key=None): - - ### Create RADIUS profile - used for all EAP SSIDs - self.radius_name = radius_name - self.radius_template = radius_template # Default radius profile found in cloud-sdk - self.subnet_name = self.radius_info['subnet_name'] - self.subnet = self.radius_info['subnet'] - self.subnet_mask = self.radius_info['subnet_mask'] - self.region = self.radius_info['region'] - self.server_name = self.radius_info['server_name'] - self.server_ip = self.radius_info['server_ip'] - self.secret = self.radius_info['secret'] - self.auth_port = self.radius_info['auth_port'] - self.rid = rid - self.key = key - if self.command_line_args.skip_radius == False: - try: - print("Into") - self.radius_profile = self.cloud.create_or_update_radius_profile(self.command_line_args.sdk_base_url, - self.bearer, self.customer_id, - self.radius_template, self.radius_name, - self.subnet_name, - self.subnet, - self.subnet_mask, self.region, - self.server_name, self.server_ip, - self.secret, self.auth_port) - print("radius profile Id is", self.radius_profile) - time.sleep(self.sleep) - self.client.update_testrail(case_id=self.test_cases["radius_profile"], run_id=self.rid, status_id=1, - msg='RADIUS profile created successfully') - self.test_cases["radius_profile"] = "passed" - except Exception as ex: - print(ex) - logging.error(logging.traceback.format_exc()) - print("RADIUS Profile Create Error, will skip radius profile.") - # Set backup profile ID so test can continue - self.radius_profile = None - self.radius_name = None - self.server_name = "Lab-RADIUS" - self.client.update_testrail(case_id=self.test_cases["radius_profile"], run_id=self.rid, status_id=5, - msg='Failed to create RADIUS profile') - self.test_cases["radius_profile"] = "failed" - - def create_ssid_profiles(self, ssid_template=None, skip_wpa2=False, skip_wpa=False, skip_eap=False, mode="bridge"): - - self.ssid_template = ssid_template - if mode == "vlan": - self.mode = "bridge" - self.value = 100 - else: - self.mode = mode - self.value = 1 - self.fiveG_eap = None - self.twoFourG_eap = None - self.fiveG_wpa2 = None - self.twoFourG_wpa2 = None - self.fiveG_wpa = None - self.twoFourG_wpa = None - if skip_eap: - self.radius_profile = None - # 5G SSID's - print("CreateAPProfile::create_ssid_profile, skip-wpa: ", skip_wpa, " skip-wpa2: ", skip_wpa2, " skip-eap: ", - skip_eap) - - if not skip_eap: - self.profile_test_data["vif_config"]["ssid_5g_eap"] = None - self.profile_test_data["vif_config"]["ssid_2g_eap"] = None - self.profile_test_data["ssid_config"]["ssid_5g_eap"] = None - self.profile_test_data["ssid_config"]["ssid_2g_eap"] = None - - # 5G eap - try: - print("sssss", self.radius_profile) - self.fiveG_eap = self.cloud.create_or_update_ssid_profile(self.command_line_args.sdk_base_url, - self.bearer, self.customer_id, - self.ssid_template, - self.profile_data['5g']['eap'][mode], - self.ssid_data['5g']['eap'][mode], - None, - self.radius_name, - "wpa2OnlyRadius", self.mode.upper(), self.value, - ["is5GHzU", "is5GHz", "is5GHzL"], - radius_profile=self.radius_profile) - - time.sleep(self.sleep) - print("5G EAP SSID created successfully - " + mode + " mode") - self.client.update_testrail(case_id=self.test_cases["ssid_5g_eap_" + mode], - run_id=self.rid, - status_id=1, - msg='5G EAP SSID created successfully - ' + mode + ' mode') - self.test_cases["ssid_5g_eap_" + mode] = "passed" - except Exception as ex: - print(ex) - logging.error(logging.traceback.format_exc()) - self.fiveG_eap = None - print("5G EAP SSID create failed - " + mode + " mode") - self.client.update_testrail(case_id=self.test_cases["ssid_5g_eap_" + mode], run_id=self.rid, - status_id=5, - msg='5G EAP SSID create failed - ' + mode + ' mode') - self.test_cases["ssid_5g_eap_" + mode] = "failed" - - # 2.4G eap - try: - print("shivamgogoshots", self.radius_profile) - self.twoFourG_eap = self.cloud.create_or_update_ssid_profile(self.command_line_args.sdk_base_url, - self.bearer, self.customer_id, - self.ssid_template, - self.profile_data['2g']['eap'][mode], - self.ssid_data['2g']['eap'][mode], - None, - self.radius_name, "wpa2OnlyRadius", - self.mode.upper(), self.value, - ["is2dot4GHz"], - radius_profile=self.radius_profile) - print("2.4G EAP SSID created successfully - " + mode + " mode") - time.sleep(self.sleep) - self.client.update_testrail(case_id=self.test_cases["ssid_5g_eap_" + mode], run_id=self.rid, - status_id=1, - msg='2.4G EAP SSID created successfully - ' + mode + ' mode') - self.test_cases["ssid_5g_eap_" + mode] = "passed" - except Exception as ex: - print(ex) - logging.error(logging.traceback.format_exc()) - self.twoFourG_eap = None - print("2.4G EAP SSID create failed - bridge mode") - self.client.update_testrail(case_id=self.test_cases["ssid_5g_eap_" + mode], run_id=self.rid, - status_id=5, - msg='2.4G EAP SSID create failed - bridge mode') - self.test_cases["ssid_5g_eap_" + mode] = "failed" - - if not skip_wpa2: - self.profile_test_data["vif_config"]["ssid_5g_wpa2"] = None - self.profile_test_data["vif_config"]["ssid_2g_wpa2"] = None - self.profile_test_data["ssid_config"]["ssid_5g_wpa2"] = None - self.profile_test_data["ssid_config"]["ssid_2g_wpa2"] = None - - # 5g wpa2 - try: - self.fiveG_wpa2 = self.cloud.create_or_update_ssid_profile(self.command_line_args.sdk_base_url, - self.bearer, self.customer_id, - self.ssid_template, - self.profile_data['5g']['wpa2'][mode], - self.ssid_data['5g']['wpa2'][mode], - self.psk_data['5g']['wpa2'][mode], - "Radius-Accounting-Profile", "wpa2OnlyPSK", - self.mode.upper(), self.value, - ["is5GHzU", "is5GHz", "is5GHzL"]) - print("5G WPA2 SSID created successfully - " + mode + " mode") - time.sleep(self.sleep) - self.client.update_testrail(case_id=self.test_cases["ssid_5g_wpa2_" + mode], run_id=self.rid, - status_id=1, - msg='5G WPA2 SSID created successfully - ' + mode + ' mode') - self.test_cases["ssid_5g_wpa2_" + mode] = "passed" - except Exception as ex: - print(ex) - logging.error(logging.traceback.format_exc()) - self.fiveG_wpa2 = None - print("5G WPA2 SSID create failed - " + mode + " mode") - self.client.update_testrail(case_id=self.test_cases["ssid_5g_wpa2_" + mode], run_id=self.rid, - status_id=5, - msg='5G WPA2 SSID create failed - ' + mode + ' mode') - self.test_cases["ssid_5g_wpa2_" + mode] = "failed" - - # 2.4G wpa2 - try: - self.twoFourG_wpa2 = self.cloud.create_or_update_ssid_profile(self.command_line_args.sdk_base_url, - self.bearer, self.customer_id, - self.ssid_template, - self.profile_data['2g']['wpa2'][ - mode], - self.ssid_data['2g']['wpa2'][mode], - self.psk_data['2g']['wpa2'][mode], - "Radius-Accounting-Profile", - "wpa2OnlyPSK", self.mode.upper(), self.value, - ["is2dot4GHz"]) - print("2.4G WPA2 SSID created successfully - " + mode + " mode") - time.sleep(self.sleep) - self.client.update_testrail(case_id=self.test_cases["ssid_2g_wpa2_" + mode], run_id=self.rid, - status_id=1, - msg='2.4G WPA2 SSID created successfully - ' + mode + ' mode') - self.test_cases["ssid_2g_wpa2_" + mode] = "passed" - except Exception as ex: - print(ex) - logging.error(logging.traceback.format_exc()) - self.twoFourG_wpa2 = None - print("2.4G WPA2 SSID create failed - " + mode + " mode") - self.client.update_testrail(case_id=self.test_cases["ssid_2g_wpa2_" + mode], run_id=self.rid, - status_id=5, - msg='2.4G WPA2 SSID create failed - ' + mode + ' mode') - self.test_cases["ssid_2g_wpa2_" + mode] = "failed" - - if not skip_wpa: - self.profile_test_data["vif_config"]["ssid_5g_wpa"] = None - self.profile_test_data["vif_config"]["ssid_2g_wpa"] = None - self.profile_test_data["ssid_config"]["ssid_5g_wpa"] = None - self.profile_test_data["ssid_config"]["ssid_2g_wpa"] = None - - # 5g wpa - try: - self.fiveG_wpa = self.cloud.create_or_update_ssid_profile(self.command_line_args.sdk_base_url, - self.bearer, self.customer_id, - self.ssid_template, - self.profile_data['5g']['wpa'][mode], - self.ssid_data['5g']['wpa'][mode], - self.psk_data['5g']['wpa'][mode], - "Radius-Accounting-Profile", "wpaPSK", - self.mode.upper(), self.value, - ["is5GHzU", "is5GHz", "is5GHzL"]) - print("5G WPA SSID created successfully - " + mode + " mode") - time.sleep(self.sleep) - self.client.update_testrail(case_id=self.test_cases["ssid_5g_wpa_" + mode], - run_id=self.rid, - status_id=1, - msg='5G WPA SSID created successfully - ' + mode + ' mode') - self.test_cases["ssid_5g_wpa_" + mode] = "passed" - except Exception as ex: - print(ex) - logging.error(logging.traceback.format_exc()) - self.fiveG_wpa = None - print("5G WPA SSID create failed - " + mode + " mode") - self.client.update_testrail(case_id=self.test_cases["ssid_5g_wpa_" + mode], run_id=self.rid, - status_id=5, - msg='5G WPA SSID create failed - ' + mode + ' mode') - self.test_cases["ssid_5g_wpa_" + mode] = "failed" - - # 2.4G wpa - try: - self.twoFourG_wpa = self.cloud.create_or_update_ssid_profile(self.command_line_args.sdk_base_url, - self.bearer, self.customer_id, - self.ssid_template, - self.profile_data['2g']['wpa'][mode], - self.ssid_data['2g']['wpa'][mode], - self.psk_data['2g']['wpa'][mode], - "Radius-Accounting-Profile", "wpaPSK", - self.mode.upper(), self.value, - ["is2dot4GHz"]) - print("2.4G WPA SSID created successfully - " + mode + " mode") - time.sleep(self.sleep) - self.client.update_testrail(case_id=self.test_cases["ssid_2g_wpa_" + mode], run_id=self.rid, - status_id=1, - msg='2.4G WPA SSID created successfully - ' + mode + ' mode') - self.test_cases["ssid_2g_wpa_" + self.mode] = "passed" - except Exception as ex: - print(ex) - logging.error(logging.traceback.format_exc()) - self.twoFourG_wpa = None - print("2.4G WPA SSID create failed - " + self.mode + " mode") - self.client.update_testrail(case_id=self.test_cases["ssid_2g_wpa_" + self.mode], run_id=self.rid, - status_id=5, - msg='2.4G WPA SSID create failed - ' + mode + ' mode') - self.test_cases["ssid_2g_wpa_" + self.mode] = "failed" - - def create_ap_profile(self, eq_id=None, fw_model=None, mode="bridge"): - self.ssid_prof_config = [] - self.ssid_config = [] - self.fw_model = fw_model - self.rfProfileId = lab_ap_info.rf_profile - self.child_profiles = [self.rfProfileId] - self.mode = mode - - print("create-ap-bridge-profile: 5G-wpa2: ", self.fiveG_wpa2, " 2g-wpa2: ", self.twoFourG_wpa2) - - if self.fiveG_wpa2: - self.child_profiles.append(self.fiveG_wpa2) - self.profile_ids.append(self.fiveG_wpa2) - self.ssid_prof_config.append(self.profile_data['5g']['wpa2'][self.mode]) - self.ssid_config.append(self.ssid_data['5g']['wpa2'][self.mode]) - - if self.twoFourG_wpa2: - self.child_profiles.append(self.twoFourG_wpa2) - self.profile_ids.append(self.twoFourG_wpa2) - self.ssid_prof_config.append(self.profile_data['2g']['wpa2'][self.mode]) - self.ssid_config.append(self.ssid_data['2g']['wpa2'][self.mode]) - - if self.fiveG_eap: - self.child_profiles.append(self.fiveG_eap) - self.profile_ids.append(self.fiveG_eap) - self.ssid_prof_config.append(self.profile_data['5g']['eap'][self.mode]) - self.ssid_config.append(self.ssid_data['5g']['eap'][self.mode]) - - if self.twoFourG_eap: - self.child_profiles.append(self.twoFourG_eap) - self.profile_ids.append(self.twoFourG_eap) - self.ssid_prof_config.append(self.profile_data['2g']['eap'][self.mode]) - self.ssid_config.append(self.ssid_data['2g']['eap'][self.mode]) - - if self.fiveG_wpa: - self.child_profiles.append(self.fiveG_wpa) - self.profile_ids.append(self.fiveG_wpa) - self.ssid_prof_config.append(self.profile_data['5g']['wpa'][self.mode]) - self.ssid_config.append(self.ssid_data['5g']['wpa'][self.mode]) - - if self.twoFourG_wpa: - self.child_profiles.append(self.twoFourG_wpa) - self.profile_ids.append(self.twoFourG_wpa) - self.ssid_prof_config.append(self.profile_data['2g']['wpa'][self.mode]) - self.ssid_config.append(self.ssid_data['2g']['wpa'][self.mode]) - - if self.radius_profile is not None: - self.child_profiles.append(self.radius_profile) - self.profile_ids.append(self.radius_profile) - # EAP ssid profiles would have been added above if they existed. - - name = self.command_line_args.testbed + "-" + self.fw_model + "_" + self.mode - - print("child profiles: ", self.child_profiles) - - try: - self.create_ap_profile = self.cloud.create_or_update_ap_profile(self.command_line_args.sdk_base_url, - self.bearer, self.customer_id, - self.command_line_args.default_ap_profile, - name, - self.child_profiles) - self.test_profile_id = self.create_ap_profile - print("Test Profile ID for Test is:", self.test_profile_id) - time.sleep(5) - self.client.update_testrail(case_id=self.test_cases["ap_" + self.mode], run_id=self.rid, status_id=1, - msg='AP profile for ' + mode + ' tests created successfully') - self.test_cases["ap_" + self.mode] = "passed" - except Exception as ex: - print(ex) - logging.error(logging.traceback.format_exc()) - create_ap_profile = "error" - print("Error creating AP profile for bridge tests. Will use existing AP profile") - self.client.update_testrail(case_id=self.test_cases["ap_" + self.mode], run_id=self.rid, status_id=5, - msg='AP profile for ' + mode + ' tests could not be created using API') - self.test_cases["ap_" + self.mode] = "failed" - - self.ap_profile = self.cloud.set_ap_profile(eq_id, self.test_profile_id) - self.profile_ids.append(self.ap_profile) - - # should be called after test completion - def cleanup_profile(self, equipment_id=None): - profile_info_dict = { - "profile_id": "2", - "childProfileIds": [ - 3647, - 10, - 11, - 12, - 13, - 190, - 191 - ], - "fiveG_WPA2_SSID": "ECW5410_5G_WPA2", - "fiveG_WPA2_PSK": "Connectus123$", - "fiveG_WPA_SSID": "ECW5410_5G_WPA", - "fiveG_WPA_PSK": "Connectus123$", - "fiveG_OPEN_SSID": "ECW5410_5G_OPEN", - "fiveG_WPA2-EAP_SSID": "ECW5410_5G_WPA2-EAP", - "twoFourG_OPEN_SSID": "ECW5410_2dot4G_OPEN", - "twoFourG_WPA2_SSID": "ECW5410_2dot4G_WPA2", - "twoFourG_WPA2_PSK": "Connectus123$", - "twoFourG_WPA_SSID": "ECW5410_2dot4G_WPA", - "twoFourG_WPA_PSK": "Connectus123$", - "twoFourG_WPA2-EAP_SSID": "ECW5410_2dot4G_WPA2-EAP", - "fiveG_WPA2_profile": 3647, - "fiveG_WPA_profile": 13, - "fiveG_WPA2-EAP_profile": 191, - "twoFourG_WPA2_profile": 11, - "twoFourG_WPA_profile": 12, - "twoFourG_WPA2-EAP_profile": 190, - "ssid_list": [ - "ECW5410_5G_WPA2", - "ECW5410_5G_WPA", - "ECW5410_5G_WPA2-EAP", - "ECW5410_2dot4G_WPA2", - "ECW5410_2dot4G_WPA", - "ECW5410_2dot4G_WPA2-EAP" - ] - } - ap_profile = self.cloud.set_ap_profile(equipment_id, profile_info_dict["profile_id"]) - time.sleep(5) - for i in self.profile_ids: - if i is not None: - self.cloud.delete_customer_profile(self.command_line_args.sdk_base_url, self.bearer, i) - time.sleep(5) - - def validate_changes(self, mode="bridge"): - - ssid_list_ok = False - vif_state_ok = False - for i in range(18): - ### Check if VIF Config and VIF State reflect AP Profile from CloudSDK - ## VIF Config - - if (ssid_list_ok and vif_state_ok): - print("SSID and VIF state is OK, continuing.") - break - - print("Check: %i/18 Wait 10 seconds for profile push.\n" % (i)) - time.sleep(10) - try: - print("SSIDs in AP Profile:", self.ssid_config) - print("SSID Profiles in AP Profile:", self.ssid_prof_config) - - ssid_list = ap_ssh.get_vif_state(self.command_line_args) - print("SSIDs in AP VIF Config:", ssid_list) - - if set(ssid_list) == set(self.ssid_config): - print("SSIDs in Wifi_VIF_Config Match AP Profile Config") - self.client.update_testrail(case_id=self.test_cases[mode + "_vifc"], run_id=self.rid, status_id=1, - msg='SSIDs in VIF Config matches AP Profile Config') - self.test_cases[mode + "_vifc"] = "passed" - ssid_list_ok = True - else: - print("SSIDs in Wifi_VIF_Config do not match desired AP Profile Config") - self.client.update_testrail(case_id=self.test_cases[mode + "_vifc"], run_id=self.rid, status_id=5, - msg='SSIDs in VIF Config do not match AP Profile Config') - self.test_cases[mode + "_vifc"] = "failed" - except Exception as ex: - print(ex) - logging.error(logging.traceback.format_exc()) - ssid_list = "ERROR" - print("Error accessing VIF Config from AP CLI") - self.client.update_testrail(case_id=self.test_cases[mode + "_vifc"], run_id=self.rid, status_id=4, - msg='Cannot determine VIF Config - re-test required') - self.test_cases[mode + "_vifc"] = "error" - - # VIF State - try: - ssid_state = ap_ssh.get_vif_state(self.command_line_args) - print("SSIDs in AP VIF State:", ssid_state) - - if set(ssid_state) == set(self.ssid_config): - print("SSIDs properly applied on AP") - self.client.update_testrail(case_id=self.test_cases[mode + "_vifs"], run_id=self.rid, status_id=1, - msg='SSIDs in VIF Config applied to VIF State') - self.test_cases[mode + "_vifs"] = "passed" - vif_state_ok = True - else: - print("SSIDs not applied on AP") - self.client.update_testrail(case_id=self.test_cases[mode + "_vifs"], run_id=self.rid, status_id=5, - msg='SSIDs in VIF Config not applied to VIF State') - self.test_cases[mode + "_vifs"] = "failed" - except Exception as ex: - print(ex) - logging.error(logging.traceback.format_exc()) - ssid_list = "ERROR" - print("Error accessing VIF State from AP CLI") - self.client.update_testrail(case_id=self.test_cases[mode + "_vifs"], run_id=self.rid, status_id=4, - msg='Cannot determine VIF State - re-test required') - self.test_cases[mode + "_vifs"] = "error" - - print("Profiles Created") - self.profile_test_data = {"ssid_config": self.ssid_config, "vif_config": ssid_state} +obj = cloudsdk() +obj.portal_ping() +obj.get_equipment_by_customer_id(customer_id=2) +obj.get_profiles_by_customer_id(customer_id=2) +obj.api_client.__del__() \ No newline at end of file diff --git a/libs/cloudsdk/requirements.txt b/libs/cloudsdk/requirements.txt new file mode 100644 index 000000000..601137f03 --- /dev/null +++ b/libs/cloudsdk/requirements.txt @@ -0,0 +1,10 @@ +Requirements are as follows: + + mkdir libs/swagger + Put the generated swagger code in libs/swagger + Inside swagger, there will be a python script setup.py + run that script as follows: + python setup.py install --user + read the requirements.txt inside swagger to install the libraries needed for this setup + + run the cloudsdk.py and see if it works From da883963becaf3ec9509823ee968d5dacbbfcbf4 Mon Sep 17 00:00:00 2001 From: shivam Date: Tue, 2 Mar 2021 15:23:19 +0530 Subject: [PATCH 14/45] cloudsdk library added custom testbed feature Signed-off-by: shivam --- libs/cloudsdk/README.md | 34 +++++++++++++++++++++++ libs/cloudsdk/cloudsdk.py | 51 ++++++++++++++++++++++------------ libs/cloudsdk/requirements.txt | 10 ------- 3 files changed, 68 insertions(+), 27 deletions(-) delete mode 100644 libs/cloudsdk/requirements.txt diff --git a/libs/cloudsdk/README.md b/libs/cloudsdk/README.md index e6dfffea6..487c64e04 100644 --- a/libs/cloudsdk/README.md +++ b/libs/cloudsdk/README.md @@ -1 +1,35 @@ ## Cloud SDK Library +Using Swagger Autogenerated CloudSDK Library as a pip installer. + +###Follow the setps below to setup the environment for your development Environment + +####For Linux Users +```shell +mkdir ~/.pip +vim ~/.pip/pip.conf +``` + +put the below content in pip.conf +```shell +[global] +index-url = https://tip-read:tip-read@tip.jfrog.io/artifactory/api/pypi/tip-wlan-python-pypi-local/simple +``` +Create another file requirements.txt +```shell +vim ~/.pip/requirements.txt +``` + +Put the below content inside requirements.txt +```shell +tip-wlan=cloud +``` +save it and then +```shell +cd ~/.pip/ +pip3 install -r requirements.txt +``` +##Now your cloud sdk code is downloaded + + + + diff --git a/libs/cloudsdk/cloudsdk.py b/libs/cloudsdk/cloudsdk.py index d576f7f5e..9fd9e415d 100644 --- a/libs/cloudsdk/cloudsdk.py +++ b/libs/cloudsdk/cloudsdk.py @@ -1,23 +1,33 @@ +# !/usr/local/lib64/python3.8 from __future__ import print_function -from swagger import swagger_client -from swagger.swagger_client.rest import ApiException -from pprint import pprint + +import swagger_client login_credentials = { "userId": "support@example.com", "password": "support" } +sdk_base_urls = { + "nola-01": "https://wlan-portal-svc-nola-01.cicd.lab.wlan.tip.build", + "nola-02": "https://wlan-portal-svc-nola-02.cicd.lab.wlan.tip.build", + "nola-04": "https://wlan-portal-svc-nola-04.cicd.lab.wlan.tip.build", +} class cloudsdk: - """ constructor for cloudsdk library : can be used from pytest framework """ - def __init__(self): - self.api_client = swagger_client.ApiClient() - self.api_client.configuration.username = login_credentials["userId"] - self.api_client.configuration.password = login_credentials["password"] + + def __init__(self, testbed="nola-01"): + self.configuration = swagger_client.Configuration() + self.configuration.host = sdk_base_urls[testbed] + self.configuration.refresh_api_key_hook = self.get_bearer_token + self.configuration.username = login_credentials['userId'] + self.configuration.password = login_credentials['password'] + + self.api_client = swagger_client.ApiClient(self.configuration) + self.login_client = swagger_client.LoginApi(api_client=self.api_client) self.bearer = self.get_bearer_token() self.api_client.default_headers['Authorization'] = "Bearer " + self.bearer._access_token @@ -28,8 +38,8 @@ class cloudsdk: } self.api_client.configuration.refresh_api_key_hook = self.get_bearer_token() self.ping_response = self.portal_ping() - #print(self.bearer) - #print(self.ping_response) + print(self.bearer) + # print(self.ping_response) """ Login Utilities @@ -65,19 +75,25 @@ class cloudsdk: """ def get_profile_by_id(self, profile_id=None): - #print(self.profile_client.get_profile_by_id(profile_id=profile_id)) + # print(self.profile_client.get_profile_by_id(profile_id=profile_id)) pass def get_profiles_by_customer_id(self, customer_id=None): - pagination_context= """{ + pagination_context = """{ "model_type": "PaginationContext", "maxItemsPerPage": 100 }""" self.default_profiles = {} - print(len((self.profile_client.get_profiles_by_customer_id(customer_id=customer_id, pagination_context=pagination_context))._items)) - for i in self.profile_client.get_profiles_by_customer_id(customer_id=customer_id, pagination_context=pagination_context)._items: + print(len((self.profile_client.get_profiles_by_customer_id(customer_id=customer_id, + pagination_context=pagination_context))._items)) + for i in self.profile_client.get_profiles_by_customer_id(customer_id=customer_id, + pagination_context=pagination_context)._items: print(i._name, i._id) - if i._name is "TipWlan-Cloud-Wifi": + if i._name == "TipWlan-Cloud-Wifi": + self.default_profiles['ssid'] = i + if i._name == "TipWlan-Cloud-Wifi": + self.default_profiles['ssid'] = i + if i._name == "TipWlan-Cloud-Wifi": self.default_profiles['ssid'] = i def create_profile(self, profile_type=None, customer_id=None, profile_name=None): @@ -92,8 +108,9 @@ class cloudsdk: return "Profile Created Successfully!" -obj = cloudsdk() +obj = cloudsdk(testbed="nola-01") obj.portal_ping() obj.get_equipment_by_customer_id(customer_id=2) obj.get_profiles_by_customer_id(customer_id=2) -obj.api_client.__del__() \ No newline at end of file +print(obj.default_profiles) +obj.api_client.__del__() diff --git a/libs/cloudsdk/requirements.txt b/libs/cloudsdk/requirements.txt deleted file mode 100644 index 601137f03..000000000 --- a/libs/cloudsdk/requirements.txt +++ /dev/null @@ -1,10 +0,0 @@ -Requirements are as follows: - - mkdir libs/swagger - Put the generated swagger code in libs/swagger - Inside swagger, there will be a python script setup.py - run that script as follows: - python setup.py install --user - read the requirements.txt inside swagger to install the libraries needed for this setup - - run the cloudsdk.py and see if it works From 42ebc0fad4eda3d7d57becbf55c091d29d840346 Mon Sep 17 00:00:00 2001 From: Gleb Boushev Date: Tue, 2 Mar 2021 13:35:51 +0300 Subject: [PATCH 15/45] fixed readme, added dockerfile --- libs/cloudsdk/README.md | 29 ++++++----------------------- libs/cloudsdk/dockerfile | 11 +++++++++++ libs/cloudsdk/requirements.txt | 6 ++++++ 3 files changed, 23 insertions(+), 23 deletions(-) create mode 100644 libs/cloudsdk/dockerfile create mode 100644 libs/cloudsdk/requirements.txt diff --git a/libs/cloudsdk/README.md b/libs/cloudsdk/README.md index 487c64e04..04b107c54 100644 --- a/libs/cloudsdk/README.md +++ b/libs/cloudsdk/README.md @@ -1,35 +1,18 @@ ## Cloud SDK Library Using Swagger Autogenerated CloudSDK Library as a pip installer. -###Follow the setps below to setup the environment for your development Environment +### Follow the setps below to setup the environment for your development Environment -####For Linux Users ```shell mkdir ~/.pip -vim ~/.pip/pip.conf +echo "[global]" > ~/.pip/pip.conf +echo "index-url = https://pypi.org/simple" >> ~/.pip/pip.conf +echo "extra-index-url = https://tip-read:tip-read@tip.jfrog.io/artifactory/api/pypi/tip-wlan-python-pypi-local/simple" >> ~/.pip/pip.conf ``` -put the below content in pip.conf +after that do the following in this folder ```shell -[global] -index-url = https://tip-read:tip-read@tip.jfrog.io/artifactory/api/pypi/tip-wlan-python-pypi-local/simple -``` -Create another file requirements.txt -```shell -vim ~/.pip/requirements.txt -``` - -Put the below content inside requirements.txt -```shell -tip-wlan=cloud -``` -save it and then -```shell -cd ~/.pip/ pip3 install -r requirements.txt ``` -##Now your cloud sdk code is downloaded - - - +Now your cloud sdk code is downloaded diff --git a/libs/cloudsdk/dockerfile b/libs/cloudsdk/dockerfile new file mode 100644 index 000000000..782cd092e --- /dev/null +++ b/libs/cloudsdk/dockerfile @@ -0,0 +1,11 @@ +FROM python:alpine3.12 +WORKDIR /tests +COPY . /tests + +RUN mkdir ~/.pip \ + && echo "[global]" > ~/.pip/pip.conf \ + && echo "index-url = https://pypi.org/simple" >> ~/.pip/pip.conf \ + && echo "extra-index-url = https://tip-read:tip-read@tip.jfrog.io/artifactory/api/pypi/tip-wlan-python-pypi-local/simple" >> ~/.pip/pip.conf +RUN pip3 install -r requirements.txt + +ENTRYPOINT [ "/bin/sh" ] diff --git a/libs/cloudsdk/requirements.txt b/libs/cloudsdk/requirements.txt new file mode 100644 index 000000000..96d5314c2 --- /dev/null +++ b/libs/cloudsdk/requirements.txt @@ -0,0 +1,6 @@ +tip_wlan_cloud >= 0.0.3 +certifi >= 14.05.14 +six >= 1.10 +python_dateutil >= 2.5.3 +setuptools >= 21.0.0 +urllib3 >= 1.15.1 From 4d05924950f44aa3024cd5ac750082ea90647587 Mon Sep 17 00:00:00 2001 From: Gleb Boushev Date: Tue, 2 Mar 2021 14:20:11 +0300 Subject: [PATCH 16/45] added dockerfile for linter, fixed couple of minor things --- libs/cloudsdk/README.md | 21 +++++++++++++++++++++ libs/cloudsdk/__init__.py | 0 libs/cloudsdk/cloudsdk.py | 19 ++++++++----------- libs/cloudsdk/dockerfile-lint | 3 +++ 4 files changed, 32 insertions(+), 11 deletions(-) create mode 100644 libs/cloudsdk/__init__.py create mode 100644 libs/cloudsdk/dockerfile-lint diff --git a/libs/cloudsdk/README.md b/libs/cloudsdk/README.md index 04b107c54..72b4692b4 100644 --- a/libs/cloudsdk/README.md +++ b/libs/cloudsdk/README.md @@ -16,3 +16,24 @@ pip3 install -r requirements.txt ``` Now your cloud sdk code is downloaded + +### Docker + +Alternatively you can use provided dockerfiles to develop\lint your code: + +``` +docker build -t wlan-cloud-test -f dockerfile . +docker build -t wlan-cloud-lint -f dockerfile-lint . +``` + +and then you can do something like this to lint your code: + +``` +docker run -it --rm -v %path_to_this_dir%/tests wlan-tip-lint cloudsdk.py +``` + +and you can use something like this to develop your code: + +``` +docker run -it -v %path_to_this_dir%/tests wlan-tip-test +``` diff --git a/libs/cloudsdk/__init__.py b/libs/cloudsdk/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/libs/cloudsdk/cloudsdk.py b/libs/cloudsdk/cloudsdk.py index 9fd9e415d..e5786e397 100644 --- a/libs/cloudsdk/cloudsdk.py +++ b/libs/cloudsdk/cloudsdk.py @@ -1,6 +1,4 @@ # !/usr/local/lib64/python3.8 -from __future__ import print_function - import swagger_client login_credentials = { @@ -11,10 +9,9 @@ sdk_base_urls = { "nola-01": "https://wlan-portal-svc-nola-01.cicd.lab.wlan.tip.build", "nola-02": "https://wlan-portal-svc-nola-02.cicd.lab.wlan.tip.build", "nola-04": "https://wlan-portal-svc-nola-04.cicd.lab.wlan.tip.build", - } -class cloudsdk: +class CloudSdk: """ constructor for cloudsdk library : can be used from pytest framework """ @@ -107,10 +104,10 @@ class cloudsdk: } return "Profile Created Successfully!" - -obj = cloudsdk(testbed="nola-01") -obj.portal_ping() -obj.get_equipment_by_customer_id(customer_id=2) -obj.get_profiles_by_customer_id(customer_id=2) -print(obj.default_profiles) -obj.api_client.__del__() +if __name__ == "__main__": + obj = CloudSdk(testbed="nola-01") + obj.portal_ping() + obj.get_equipment_by_customer_id(customer_id=2) + obj.get_profiles_by_customer_id(customer_id=2) + print(obj.default_profiles) + obj.api_client.__del__() diff --git a/libs/cloudsdk/dockerfile-lint b/libs/cloudsdk/dockerfile-lint new file mode 100644 index 000000000..bcab34e7f --- /dev/null +++ b/libs/cloudsdk/dockerfile-lint @@ -0,0 +1,3 @@ +FROM wlan-tip-tests +RUN pip3 install pylint +ENTRYPOINT [ "pylint" ] From 883bd9e7aa8bb69bbe147237ca9c0461c178d29c Mon Sep 17 00:00:00 2001 From: shivam Date: Wed, 3 Mar 2021 15:36:13 +0530 Subject: [PATCH 17/45] new library framework is all set, need to implement methods Signed-off-by: shivam --- libs/cloudsdk/cloudsdk.py | 160 ++++++++++++++++++++++++++++------ libs/cloudsdk/testbed_info.py | 11 +++ 2 files changed, 146 insertions(+), 25 deletions(-) create mode 100644 libs/cloudsdk/testbed_info.py diff --git a/libs/cloudsdk/cloudsdk.py b/libs/cloudsdk/cloudsdk.py index e5786e397..36ef096e0 100644 --- a/libs/cloudsdk/cloudsdk.py +++ b/libs/cloudsdk/cloudsdk.py @@ -1,32 +1,76 @@ # !/usr/local/lib64/python3.8 import swagger_client +from testbed_info import SDK_BASE_URLS +from testbed_info import LOGIN_CREDENTIALS -login_credentials = { - "userId": "support@example.com", - "password": "support" -} -sdk_base_urls = { - "nola-01": "https://wlan-portal-svc-nola-01.cicd.lab.wlan.tip.build", - "nola-02": "https://wlan-portal-svc-nola-02.cicd.lab.wlan.tip.build", - "nola-04": "https://wlan-portal-svc-nola-04.cicd.lab.wlan.tip.build", -} +""" + Library for setting up the configuration for cloud connectivity + 1. testbed/ sdk_base_url + 2. login credentials +""" -class CloudSdk: + +class ConfigureCloudSDK: + + def __init__(self): + self.configuration = swagger_client.Configuration() + + def set_credentials(self, userId=None, password=None): + if userId is None or password is None: + self.configuration.username = LOGIN_CREDENTIALS['userId'] + self.configuration.password = LOGIN_CREDENTIALS['password'] + print("Login Credentials set to default: \n userID: %s\n password: %s\n" % (LOGIN_CREDENTIALS['userId'], + LOGIN_CREDENTIALS['password'])) + return False + else: + LOGIN_CREDENTIALS['userId'] = userId + self.configuration.username = userId + LOGIN_CREDENTIALS['password'] = password + self.configuration.password = password + print("Login Credentials set to custom: \n userID: %s\n password: %s\n" % (LOGIN_CREDENTIALS['userId'], + LOGIN_CREDENTIALS['password'])) + return True + + def select_testbed(self, testbed=None): + if testbed is None: + print("No Testbed Selected") + exit() + self.configuration.host = SDK_BASE_URLS[testbed] + print("Testbed Selected: %s\n SDK_BASE_URL: %s\n" % (testbed, SDK_BASE_URLS[testbed])) + return True + + def set_sdk_base_url(self, sdk_base_url=None): + if sdk_base_url is None: + print("URL is None") + exit() + self.configuration.host = sdk_base_url + return True + + +""" + Library for cloudSDK generic usages, it instantiate the bearer and credentials. + It provides the connectivity to the cloud. +""" + + +class CloudSDK(ConfigureCloudSDK): """ constructor for cloudsdk library : can be used from pytest framework """ - def __init__(self, testbed="nola-01"): - self.configuration = swagger_client.Configuration() - self.configuration.host = sdk_base_urls[testbed] + def __init__(self, testbed=None): + super().__init__() + + # Setting the CloudSDK Client Configuration + self.select_testbed(testbed=testbed) + self.set_credentials() self.configuration.refresh_api_key_hook = self.get_bearer_token - self.configuration.username = login_credentials['userId'] - self.configuration.password = login_credentials['password'] + # Connecting to CloudSDK self.api_client = swagger_client.ApiClient(self.configuration) - self.login_client = swagger_client.LoginApi(api_client=self.api_client) self.bearer = self.get_bearer_token() + self.api_client.default_headers['Authorization'] = "Bearer " + self.bearer._access_token self.equipment_client = swagger_client.EquipmentApi(self.api_client) self.profile_client = swagger_client.ProfileApi(self.api_client) @@ -35,19 +79,25 @@ class CloudSdk: } self.api_client.configuration.refresh_api_key_hook = self.get_bearer_token() self.ping_response = self.portal_ping() - print(self.bearer) - # print(self.ping_response) + # print(self.bearer) + if self.ping_response._application_name != 'PortalServer': + print("Server not Reachable") + exit() + print("Connected to CloudSDK Server") """ Login Utilities """ def get_bearer_token(self): - return self.login_client.get_access_token(body=login_credentials) + return self.login_client.get_access_token(LOGIN_CREDENTIALS) def portal_ping(self): return self.login_client.portal_ping() + def disconnect_cloudsdk(self): + self.api_client.__del__() + """ Equipment Utilities """ @@ -104,10 +154,70 @@ class CloudSdk: } return "Profile Created Successfully!" + +class APUtils: + """ + constructor for Access Point Utility library : can be used from pytest framework + to control Access Points + """ + + def __init__(self): + pass + + """ + method call: used to create the rf profile and push set the parameters accordingly and update + """ + + def set_rf_profile(self): + pass + + """ + method call: used to create a ssid profile with the given parameters + """ + + def set_ssid_profile(self): + pass + + """ + method call: used to create a ap profile that contains the given ssid profiles + """ + + def set_ap_profile(self): + pass + + """ + method call: used to create a radius profile with the settings given + """ + + def set_radius_profile(self): + pass + + """ + method call: used to create the ssid and psk data that can be used in creation of ssid profile + """ + + def set_ssid_psk_data(self): + pass + + """ + method to push the profile to the given equipment + """ + + def push_profile(self): + pass + + """ + method to verify if the expected ssid's are loaded in the ap vif config + """ + + def monitor_vif_conf(self): + pass + + if __name__ == "__main__": - obj = CloudSdk(testbed="nola-01") - obj.portal_ping() - obj.get_equipment_by_customer_id(customer_id=2) - obj.get_profiles_by_customer_id(customer_id=2) - print(obj.default_profiles) - obj.api_client.__del__() + obj = CloudSDK(testbed="nola-01") + # obj.portal_ping() + # obj.get_equipment_by_customer_id(customer_id=2) + # obj.get_profiles_by_customer_id(customer_id=2) + # print(obj.default_profiles) + obj.disconnect_cloudsdk() diff --git a/libs/cloudsdk/testbed_info.py b/libs/cloudsdk/testbed_info.py new file mode 100644 index 000000000..984630256 --- /dev/null +++ b/libs/cloudsdk/testbed_info.py @@ -0,0 +1,11 @@ +SDK_BASE_URLS = { + "nola-01": "https://wlan-portal-svc-nola-01.cicd.lab.wlan.tip.build", + "nola-02": "https://wlan-portal-svc-nola-02.cicd.lab.wlan.tip.build", + "nola-04": "https://wlan-portal-svc-nola-04.cicd.lab.wlan.tip.build", + +} + +LOGIN_CREDENTIALS = { + "userId": "support@example.com", + "password": "support" +} \ No newline at end of file From 4ed650c8f23b15c89f00bdb17800d84c162a7718 Mon Sep 17 00:00:00 2001 From: shivam Date: Thu, 4 Mar 2021 02:07:07 +0530 Subject: [PATCH 18/45] profile creation done, will need to verify profile push and vif config next Signed-off-by: shivam --- libs/cloudsdk/cloudsdk.py | 263 ++++++++++++++++++++++++++++++++-- libs/cloudsdk/testbed_info.py | 4 +- 2 files changed, 251 insertions(+), 16 deletions(-) diff --git a/libs/cloudsdk/cloudsdk.py b/libs/cloudsdk/cloudsdk.py index 36ef096e0..442d78250 100644 --- a/libs/cloudsdk/cloudsdk.py +++ b/libs/cloudsdk/cloudsdk.py @@ -2,6 +2,8 @@ import swagger_client from testbed_info import SDK_BASE_URLS from testbed_info import LOGIN_CREDENTIALS +import datetime +import time """ Library for setting up the configuration for cloud connectivity @@ -108,8 +110,8 @@ class CloudSDK(ConfigureCloudSDK): "maxItemsPerPage": 10 }""" - # print(self.equipment_client.get_equipment_by_customer_id(customer_id=customer_id, - # pagination_context=pagination_context)) + print(self.equipment_client.get_equipment_by_customer_id(customer_id=customer_id, + pagination_context=pagination_context)) def request_ap_reboot(self): pass @@ -125,6 +127,28 @@ class CloudSDK(ConfigureCloudSDK): # print(self.profile_client.get_profile_by_id(profile_id=profile_id)) pass + """ + default templates are as follows : + profile_name= TipWlan-rf/ + Radius-Profile/ + TipWlan-2-Radios/ + TipWlan-3-Radios/ + TipWlan-Cloud-Wifi/ + Captive-Portal + """ + + def get_profile_template(self, customer_id=None, profile_name=None): + pagination_context = """{ + "model_type": "PaginationContext", + "maxItemsPerPage": 100 + }""" + profiles = self.profile_client.get_profiles_by_customer_id(customer_id=customer_id, + pagination_context=pagination_context)._items + for i in profiles: + if i._name == profile_name: + return i + return None + def get_profiles_by_customer_id(self, customer_id=None): pagination_context = """{ "model_type": "PaginationContext", @@ -161,36 +185,190 @@ class APUtils: to control Access Points """ - def __init__(self): - pass + def __init__(self, sdk_client=None, testbed=None): + if sdk_client is None: + sdk_client = CloudSDK(testbed=testbed) + self.sdk_client = sdk_client + self.profile_client = swagger_client.ProfileApi(api_client=self.sdk_client.api_client) + self.profile_creation_ids = { + "ssid": [], + "ap": [], + "radius": [], + "rf": [] + } + self.profile_ids = [] """ method call: used to create the rf profile and push set the parameters accordingly and update """ - def set_rf_profile(self): - pass + def select_rf_profile(self, profile_data=None): + default_profile = self.sdk_client.get_profile_template(customer_id=2, profile_name="TipWlan-rf") + if profile_data is None: + self.profile_creation_ids['rf'].append(default_profile._id) + # Need to add functionality to add similar Profile and modify accordingly """ method call: used to create a ssid profile with the given parameters """ - def set_ssid_profile(self): - pass + def create_open_ssid_profile(self, two4g=True, fiveg=True, profile_data=None): + if profile_data is None: + return False + default_profile = self.sdk_client.get_profile_template(customer_id=2, profile_name="TipWlan-Cloud-Wifi") + default_profile._details['appliedRadios'] = [] + if two4g is True: + default_profile._details['appliedRadios'].append("is2dot4GHz") + if fiveg is True: + default_profile._details['appliedRadios'].append("is5GHzU") + default_profile._details['appliedRadios'].append("is5GHz") + default_profile._details['appliedRadios'].append("is5GHzL") + default_profile._name = profile_data['profile_name'] + default_profile._details['ssid'] = profile_data['ssid_name'] + default_profile._details['forwardMode'] = profile_data['mode'] + default_profile._details['secureMode'] = 'open' + profile_id = self.profile_client.create_profile(body=default_profile)._id + self.profile_creation_ids['ssid'].append(profile_id) + self.profile_ids.append(profile_id) + return True + + def create_wpa_ssid_profile(self, two4g=True, fiveg=True, profile_data=None): + if profile_data is None: + return False + default_profile = self.sdk_client.get_profile_template(customer_id=2, profile_name="TipWlan-Cloud-Wifi") + default_profile._details['appliedRadios'] = [] + if two4g is True: + default_profile._details['appliedRadios'].append("is2dot4GHz") + if fiveg is True: + default_profile._details['appliedRadios'].append("is5GHzU") + default_profile._details['appliedRadios'].append("is5GHz") + default_profile._details['appliedRadios'].append("is5GHzL") + default_profile._name = profile_data['profile_name'] + default_profile._details['ssid'] = profile_data['ssid_name'] + default_profile._details['keyStr'] = profile_data['security_key'] + default_profile._details['forwardMode'] = profile_data['mode'] + default_profile._details['secureMode'] = 'wpaPSK' + profile_id = self.profile_client.create_profile(body=default_profile)._id + self.profile_creation_ids['ssid'].append(profile_id) + self.profile_ids.append(profile_id) + return True + + def create_wpa2_personal_ssid_profile(self, two4g=True, fiveg=True, profile_data=None): + if profile_data is None: + return False + default_profile = self.sdk_client.get_profile_template(customer_id=2, profile_name="TipWlan-Cloud-Wifi") + default_profile._details['appliedRadios'] = [] + if two4g is True: + default_profile._details['appliedRadios'].append("is2dot4GHz") + if fiveg is True: + default_profile._details['appliedRadios'].append("is5GHzU") + default_profile._details['appliedRadios'].append("is5GHz") + default_profile._details['appliedRadios'].append("is5GHzL") + default_profile._name = profile_data['profile_name'] + default_profile._details['ssid'] = profile_data['ssid_name'] + default_profile._details['keyStr'] = profile_data['security_key'] + default_profile._details['forwardMode'] = profile_data['mode'] + default_profile._details['secureMode'] = 'wpa2OnlyPSK' + profile_id = self.profile_client.create_profile(body=default_profile)._id + self.profile_creation_ids['ssid'].append(profile_id) + self.profile_ids.append(profile_id) + return True + + def create_wpa3_personal_ssid_profile(self, two4g=True, fiveg=True, profile_data=None): + if profile_data is None: + return False + default_profile = self.sdk_client.get_profile_template(customer_id=2, profile_name="TipWlan-Cloud-Wifi") + default_profile._details['appliedRadios'] = [] + if two4g is True: + default_profile._details['appliedRadios'].append("is2dot4GHz") + if fiveg is True: + default_profile._details['appliedRadios'].append("is5GHzU") + default_profile._details['appliedRadios'].append("is5GHz") + default_profile._details['appliedRadios'].append("is5GHzL") + default_profile._name = profile_data['profile_name'] + default_profile._details['ssid'] = profile_data['ssid_name'] + default_profile._details['keyStr'] = profile_data['security_key'] + default_profile._details['forwardMode'] = profile_data['mode'] + default_profile._details['secureMode'] = 'wpa3OnlyPSK' + profile_id = self.profile_client.create_profile(body=default_profile)._id + self.profile_creation_ids['ssid'].append(profile_id) + self.profile_ids.append(profile_id) + return True + + def create_wpa2_enterprise_ssid_profile(self, two4g=True, fiveg=True, profile_data=None): + if profile_data is None: + return False + default_profile = self.sdk_client.get_profile_template(customer_id=2, profile_name="TipWlan-Cloud-Wifi") + default_profile._details['appliedRadios'] = [] + if two4g is True: + default_profile._details['appliedRadios'].append("is2dot4GHz") + if fiveg is True: + default_profile._details['appliedRadios'].append("is5GHzU") + default_profile._details['appliedRadios'].append("is5GHz") + default_profile._details['appliedRadios'].append("is5GHzL") + default_profile._name = profile_data['profile_name'] + default_profile._details['ssid'] = profile_data['ssid_name'] + default_profile._details['forwardMode'] = profile_data['mode'] + default_profile._details['secureMode'] = 'wpa2OnlyRadius' + profile_id = self.profile_client.create_profile(body=default_profile)._id + self.profile_creation_ids['ssid'].append(profile_id) + self.profile_ids.append(profile_id) + return True + + def create_wpa3_enterprise_ssid_profile(self, two4g=True, fiveg=True, profile_data=None): + if profile_data is None: + return False + default_profile = self.sdk_client.get_profile_template(customer_id=2, profile_name="TipWlan-Cloud-Wifi") + default_profile._details['appliedRadios'] = [] + if two4g is True: + default_profile._details['appliedRadios'].append("is2dot4GHz") + if fiveg is True: + default_profile._details['appliedRadios'].append("is5GHzU") + default_profile._details['appliedRadios'].append("is5GHz") + default_profile._details['appliedRadios'].append("is5GHzL") + default_profile._name = profile_data['profile_name'] + default_profile._details['ssid'] = profile_data['ssid_name'] + default_profile._details['keyStr'] = profile_data['security_key'] + default_profile._details['forwardMode'] = profile_data['mode'] + default_profile._details['secureMode'] = 'wpa3OnlyRadius' + profile_id = self.profile_client.create_profile(body=default_profile)._id + self.profile_creation_ids['ssid'].append(profile_id) + self.profile_ids.append(profile_id) + return True """ method call: used to create a ap profile that contains the given ssid profiles """ - def set_ap_profile(self): + def set_ap_profile(self, profile_data=None): + if profile_data is None: + return False + default_profile = self.sdk_client.get_profile_template(customer_id=2, profile_name="TipWlan-2-Radios") + default_profile._child_profile_ids = [] + for i in self.profile_creation_ids: + for j in self.profile_creation_ids[i]: + default_profile._child_profile_ids.append(j) + # default_profile._details['radiusServiceId'] = self.profile_creation_ids['radius'] + default_profile._name = profile_data['profile_name'] + print(default_profile) + default_profile = self.profile_client.create_profile(body=default_profile) + self.profile_creation_ids['ap'] = default_profile._id + self.profile_ids.append(default_profile._id) pass """ method call: used to create a radius profile with the settings given """ - def set_radius_profile(self): - pass + def set_radius_profile(self, radius_info=None): + default_profile = self.sdk_client.get_profile_template(customer_id=2, profile_name="Radius-Profile") + default_profile._name = radius_info['name'] + default_profile._details['primaryRadiusAuthServer']['ipAddress'] = radius_info['ip'] + default_profile._details['primaryRadiusAuthServer']['port'] = radius_info['port'] + default_profile._details['primaryRadiusAuthServer']['secret'] = radius_info['secret'] + default_profile = self.profile_client.create_profile(body=default_profile) + self.profile_creation_ids['radius'].append(default_profile._id) + self.profile_ids.append(default_profile._id) """ method call: used to create the ssid and psk data that can be used in creation of ssid profile @@ -203,8 +381,12 @@ class APUtils: method to push the profile to the given equipment """ - def push_profile(self): - pass + def push_profile(self, equipment_id=None): + default_equipment_data =self.sdk_client.equipment_client.get_equipment_by_id(equipment_id=equipment_id) + default_equipment_data._profile_id = self.profile_creation_ids['ap'] + print(default_equipment_data) + self.sdk_client.equipment_client.update_equipment(body=default_equipment_data) + """ method to verify if the expected ssid's are loaded in the ap vif config @@ -213,11 +395,62 @@ class APUtils: def monitor_vif_conf(self): pass + """ + method to delete a profile by its id + """ + + def delete_profile(self, profile_id=None): + for i in profile_id: + self.profile_client.delete_profile(profile_id=i) + pass + if __name__ == "__main__": - obj = CloudSDK(testbed="nola-01") + sdk_client = CloudSDK(testbed="nola-ext-03") + # sdk_client.get_equipment_by_customer_id(customer_id=2) + ap_utils = APUtils(sdk_client=sdk_client) + ap_utils.select_rf_profile(profile_data=None) + # radius_info = { + # "name": "Radius-Profile-" + str(datetime.datetime.now()), + # "ip": "192.168.200.75", + # "port": 1812, + # "secret": "testing123" + # } + # + # ap_utils.set_radius_profile(radius_info=radius_info) + profile_data = { + "profile_name": "test-ssid-open", + "ssid_name": "test_open", + "mode": "BRIDGE" + } + + ap_utils.create_open_ssid_profile(profile_data=profile_data) + profile_data = { + "profile_name": "test-ssid-wpa", + "ssid_name": "test_wpa", + "mode": "BRIDGE", + "security_key": "testing12345" + } + + ap_utils.create_wpa_ssid_profile(profile_data=profile_data) + profile_data = { + "profile_name": "test-ssid-wpa2", + "ssid_name": "test_wpa2", + "mode": "BRIDGE", + "security_key": "testing12345" + } + + ap_utils.create_wpa2_personal_ssid_profile(profile_data=profile_data) + # # obj.portal_ping() # obj.get_equipment_by_customer_id(customer_id=2) # obj.get_profiles_by_customer_id(customer_id=2) # print(obj.default_profiles) - obj.disconnect_cloudsdk() + profile_data = { + "profile_name": "test-ap-library", + } + ap_utils.set_ap_profile(profile_data=profile_data) + ap_utils.push_profile(equipment_id=1) + sdk_client.disconnect_cloudsdk() + # ap_utils.delete_profile(profile_id=ap_utils.profile_ids) + diff --git a/libs/cloudsdk/testbed_info.py b/libs/cloudsdk/testbed_info.py index 984630256..303767e09 100644 --- a/libs/cloudsdk/testbed_info.py +++ b/libs/cloudsdk/testbed_info.py @@ -2,7 +2,9 @@ SDK_BASE_URLS = { "nola-01": "https://wlan-portal-svc-nola-01.cicd.lab.wlan.tip.build", "nola-02": "https://wlan-portal-svc-nola-02.cicd.lab.wlan.tip.build", "nola-04": "https://wlan-portal-svc-nola-04.cicd.lab.wlan.tip.build", - + "nola-ext-03": "https://wlan-portal-svc-nola-ext-03.cicd.lab.wlan.tip.build", + "nola-ext-04": "https://wlan-portal-svc-nola-ext-04.cicd.lab.wlan.tip.build", + "nola-ext-05": "https://wlan-portal-svc-nola-ext-05.cicd.lab.wlan.tip.build" } LOGIN_CREDENTIALS = { From 04868cd515b14cb3cb04fa33f62c6e0afb67030d Mon Sep 17 00:00:00 2001 From: Gleb Boushev Date: Thu, 4 Mar 2021 13:48:29 +0300 Subject: [PATCH 19/45] style guidelines --- libs/cloudsdk/.pylintrc | 593 +++++++++++++++++++++++++++++++++ libs/cloudsdk/README.md | 46 ++- libs/cloudsdk/cloudsdk.py | 26 +- libs/cloudsdk/requirements.txt | 1 + libs/cloudsdk/testbed_info.py | 6 +- 5 files changed, 654 insertions(+), 18 deletions(-) create mode 100644 libs/cloudsdk/.pylintrc diff --git a/libs/cloudsdk/.pylintrc b/libs/cloudsdk/.pylintrc new file mode 100644 index 000000000..9cae686a5 --- /dev/null +++ b/libs/cloudsdk/.pylintrc @@ -0,0 +1,593 @@ +[MASTER] + +# A comma-separated list of package or module names from where C extensions may +# be loaded. Extensions are loading into the active Python interpreter and may +# run arbitrary code. +extension-pkg-whitelist= + +# Specify a score threshold to be exceeded before program exits with error. +fail-under=10.0 + +# Add files or directories to the blacklist. They should be base names, not +# paths. +ignore=CVS + +# Add files or directories matching the regex patterns to the blacklist. The +# regex matches against base names, not paths. +ignore-patterns= + +# Python code to execute, usually for sys.path manipulation such as +# pygtk.require(). +#init-hook= + +# Use multiple processes to speed up Pylint. Specifying 0 will auto-detect the +# number of processors available to use. +jobs=1 + +# Control the amount of potential inferred values when inferring a single +# object. This can help the performance when dealing with large functions or +# complex, nested conditions. +limit-inference-results=100 + +# List of plugins (as comma separated values of python module names) to load, +# usually to register additional checkers. +load-plugins= + +# Pickle collected data for later comparisons. +persistent=yes + +# When enabled, pylint would attempt to guess common misconfiguration and emit +# user-friendly hints instead of false-positive error messages. +suggestion-mode=yes + +# Allow loading of arbitrary C extensions. Extensions are imported into the +# active Python interpreter and may run arbitrary code. +unsafe-load-any-extension=no + + +[MESSAGES CONTROL] + +# Only show warnings with the listed confidence levels. Leave empty to show +# all. Valid levels: HIGH, INFERENCE, INFERENCE_FAILURE, UNDEFINED. +confidence= + +# Disable the message, report, category or checker with the given id(s). You +# can either give multiple identifiers separated by comma (,) or put this +# option multiple times (only on the command line, not in the configuration +# file where it should appear only once). You can also use "--disable=all" to +# disable everything first and then reenable specific checks. For example, if +# you want to run only the similarities checker, you can use "--disable=all +# --enable=similarities". If you want to run only the classes checker, but have +# no Warning level messages displayed, use "--disable=all --enable=classes +# --disable=W". +disable=print-statement, + parameter-unpacking, + unpacking-in-except, + old-raise-syntax, + backtick, + long-suffix, + old-ne-operator, + old-octal-literal, + import-star-module-level, + non-ascii-bytes-literal, + raw-checker-failed, + bad-inline-option, + locally-disabled, + file-ignored, + suppressed-message, + useless-suppression, + deprecated-pragma, + use-symbolic-message-instead, + apply-builtin, + basestring-builtin, + buffer-builtin, + cmp-builtin, + coerce-builtin, + execfile-builtin, + file-builtin, + long-builtin, + raw_input-builtin, + reduce-builtin, + standarderror-builtin, + unicode-builtin, + xrange-builtin, + coerce-method, + delslice-method, + getslice-method, + setslice-method, + no-absolute-import, + old-division, + dict-iter-method, + dict-view-method, + next-method-called, + metaclass-assignment, + indexing-exception, + raising-string, + reload-builtin, + oct-method, + hex-method, + nonzero-method, + cmp-method, + input-builtin, + round-builtin, + intern-builtin, + unichr-builtin, + map-builtin-not-iterating, + zip-builtin-not-iterating, + range-builtin-not-iterating, + filter-builtin-not-iterating, + using-cmp-argument, + eq-without-hash, + div-method, + idiv-method, + rdiv-method, + exception-message-attribute, + invalid-str-codec, + sys-max-int, + bad-python3-import, + deprecated-string-function, + deprecated-str-translate-call, + deprecated-itertools-function, + deprecated-types-field, + next-method-defined, + dict-items-not-iterating, + dict-keys-not-iterating, + dict-values-not-iterating, + deprecated-operator-function, + deprecated-urllib-function, + xreadlines-attribute, + deprecated-sys-function, + exception-escape, + comprehension-escape, + missing-final-newline, + trailing-newlines + +# Enable the message, report, category or checker with the given id(s). You can +# either give multiple identifier separated by comma (,) or put this option +# multiple time (only on the command line, not in the configuration file where +# it should appear only once). See also the "--disable" option for examples. +enable=c-extension-no-member + + +[REPORTS] + +# Python expression which should return a score less than or equal to 10. You +# have access to the variables 'error', 'warning', 'refactor', and 'convention' +# which contain the number of messages in each category, as well as 'statement' +# which is the total number of statements analyzed. This score is used by the +# global evaluation report (RP0004). +evaluation=10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10) + +# Template used to display messages. This is a python new-style format string +# used to format the message information. See doc for all details. +#msg-template= + +# Set the output format. Available formats are text, parseable, colorized, json +# and msvs (visual studio). You can also give a reporter class, e.g. +# mypackage.mymodule.MyReporterClass. +output-format=text + +# Tells whether to display a full report or only the messages. +reports=no + +# Activate the evaluation score. +score=yes + + +[REFACTORING] + +# Maximum number of nested blocks for function / method body +max-nested-blocks=5 + +# Complete name of functions that never returns. When checking for +# inconsistent-return-statements if a never returning function is called then +# it will be considered as an explicit return statement and no message will be +# printed. +never-returning-functions=sys.exit + + +[STRING] + +# This flag controls whether inconsistent-quotes generates a warning when the +# character used as a quote delimiter is used inconsistently within a module. +check-quote-consistency=no + +# This flag controls whether the implicit-str-concat should generate a warning +# on implicit string concatenation in sequences defined over several lines. +check-str-concat-over-line-jumps=no + + +[MISCELLANEOUS] + +# List of note tags to take in consideration, separated by a comma. +notes=FIXME, + XXX, + TODO + +# Regular expression of note tags to take in consideration. +#notes-rgx= + + +[SPELLING] + +# Limits count of emitted suggestions for spelling mistakes. +max-spelling-suggestions=4 + +# Spelling dictionary name. Available dictionaries: none. To make it work, +# install the python-enchant package. +spelling-dict= + +# List of comma separated words that should not be checked. +spelling-ignore-words= + +# A path to a file that contains the private dictionary; one word per line. +spelling-private-dict-file= + +# Tells whether to store unknown words to the private dictionary (see the +# --spelling-private-dict-file option) instead of raising a message. +spelling-store-unknown-words=no + + +[BASIC] + +# Naming style matching correct argument names. +argument-naming-style=snake_case + +# Regular expression matching correct argument names. Overrides argument- +# naming-style. +#argument-rgx= + +# Naming style matching correct attribute names. +attr-naming-style=snake_case + +# Regular expression matching correct attribute names. Overrides attr-naming- +# style. +#attr-rgx= + +# Bad variable names which should always be refused, separated by a comma. +bad-names=foo, + bar, + baz, + toto, + tutu, + tata + +# Bad variable names regexes, separated by a comma. If names match any regex, +# they will always be refused +bad-names-rgxs= + +# Naming style matching correct class attribute names. +class-attribute-naming-style=any + +# Regular expression matching correct class attribute names. Overrides class- +# attribute-naming-style. +#class-attribute-rgx= + +# Naming style matching correct class names. +class-naming-style=PascalCase + +# Regular expression matching correct class names. Overrides class-naming- +# style. +#class-rgx= + +# Naming style matching correct constant names. +const-naming-style=UPPER_CASE + +# Regular expression matching correct constant names. Overrides const-naming- +# style. +#const-rgx= + +# Minimum line length for functions/classes that require docstrings, shorter +# ones are exempt. +docstring-min-length=-1 + +# Naming style matching correct function names. +function-naming-style=snake_case + +# Regular expression matching correct function names. Overrides function- +# naming-style. +#function-rgx= + +# Good variable names which should always be accepted, separated by a comma. +good-names=i, + j, + k, + ex, + Run, + _ + +# Good variable names regexes, separated by a comma. If names match any regex, +# they will always be accepted +good-names-rgxs= + +# Include a hint for the correct naming format with invalid-name. +include-naming-hint=no + +# Naming style matching correct inline iteration names. +inlinevar-naming-style=any + +# Regular expression matching correct inline iteration names. Overrides +# inlinevar-naming-style. +#inlinevar-rgx= + +# Naming style matching correct method names. +method-naming-style=snake_case + +# Regular expression matching correct method names. Overrides method-naming- +# style. +#method-rgx= + +# Naming style matching correct module names. +module-naming-style=snake_case + +# Regular expression matching correct module names. Overrides module-naming- +# style. +#module-rgx= + +# Colon-delimited sets of names that determine each other's naming style when +# the name regexes allow several styles. +name-group= + +# Regular expression which should only match function or class names that do +# not require a docstring. +no-docstring-rgx=^_ + +# List of decorators that produce properties, such as abc.abstractproperty. Add +# to this list to register other decorators that produce valid properties. +# These decorators are taken in consideration only for invalid-name. +property-classes=abc.abstractproperty + +# Naming style matching correct variable names. +variable-naming-style=snake_case + +# Regular expression matching correct variable names. Overrides variable- +# naming-style. +#variable-rgx= + + +[LOGGING] + +# The type of string formatting that logging methods do. `old` means using % +# formatting, `new` is for `{}` formatting. +logging-format-style=old + +# Logging modules to check that the string format arguments are in logging +# function parameter format. +logging-modules=logging + + +[VARIABLES] + +# List of additional names supposed to be defined in builtins. Remember that +# you should avoid defining new builtins when possible. +additional-builtins= + +# Tells whether unused global variables should be treated as a violation. +allow-global-unused-variables=yes + +# List of strings which can identify a callback function by name. A callback +# name must start or end with one of those strings. +callbacks=cb_, + _cb + +# A regular expression matching the name of dummy variables (i.e. expected to +# not be used). +dummy-variables-rgx=_+$|(_[a-zA-Z0-9_]*[a-zA-Z0-9]+?$)|dummy|^ignored_|^unused_ + +# Argument names that match this expression will be ignored. Default to name +# with leading underscore. +ignored-argument-names=_.*|^ignored_|^unused_ + +# Tells whether we should check for unused import in __init__ files. +init-import=no + +# List of qualified module names which can have objects that can redefine +# builtins. +redefining-builtins-modules=six.moves,past.builtins,future.builtins,builtins,io + + +[TYPECHECK] + +# List of decorators that produce context managers, such as +# contextlib.contextmanager. Add to this list to register other decorators that +# produce valid context managers. +contextmanager-decorators=contextlib.contextmanager + +# List of members which are set dynamically and missed by pylint inference +# system, and so shouldn't trigger E1101 when accessed. Python regular +# expressions are accepted. +generated-members= + +# Tells whether missing members accessed in mixin class should be ignored. A +# mixin class is detected if its name ends with "mixin" (case insensitive). +ignore-mixin-members=yes + +# Tells whether to warn about missing members when the owner of the attribute +# is inferred to be None. +ignore-none=yes + +# This flag controls whether pylint should warn about no-member and similar +# checks whenever an opaque object is returned when inferring. The inference +# can return multiple potential results while evaluating a Python object, but +# some branches might not be evaluated, which results in partial inference. In +# that case, it might be useful to still emit no-member and other checks for +# the rest of the inferred objects. +ignore-on-opaque-inference=yes + +# List of class names for which member attributes should not be checked (useful +# for classes with dynamically set attributes). This supports the use of +# qualified names. +ignored-classes=optparse.Values,thread._local,_thread._local + +# List of module names for which member attributes should not be checked +# (useful for modules/projects where namespaces are manipulated during runtime +# and thus existing member attributes cannot be deduced by static analysis). It +# supports qualified module names, as well as Unix pattern matching. +ignored-modules= + +# Show a hint with possible names when a member name was not found. The aspect +# of finding the hint is based on edit distance. +missing-member-hint=yes + +# The minimum edit distance a name should have in order to be considered a +# similar match for a missing member name. +missing-member-hint-distance=1 + +# The total number of similar names that should be taken in consideration when +# showing a hint for a missing member. +missing-member-max-choices=1 + +# List of decorators that change the signature of a decorated function. +signature-mutators= + + +[FORMAT] + +# Expected format of line ending, e.g. empty (any line ending), LF or CRLF. +expected-line-ending-format= + +# Regexp for a line that is allowed to be longer than the limit. +ignore-long-lines=^\s*(# )??$ + +# Number of spaces of indent required inside a hanging or continued line. +indent-after-paren=4 + +# String used as indentation unit. This is usually " " (4 spaces) or "\t" (1 +# tab). +indent-string=' ' + +# Maximum number of characters on a single line. +max-line-length=120 + +# Maximum number of lines in a module. +max-module-lines=1000 + +# Allow the body of a class to be on the same line as the declaration if body +# contains single statement. +single-line-class-stmt=no + +# Allow the body of an if to be on the same line as the test if there is no +# else. +single-line-if-stmt=no + + +[SIMILARITIES] + +# Ignore comments when computing similarities. +ignore-comments=yes + +# Ignore docstrings when computing similarities. +ignore-docstrings=yes + +# Ignore imports when computing similarities. +ignore-imports=no + +# Minimum lines number of a similarity. +min-similarity-lines=4 + + +[DESIGN] + +# Maximum number of arguments for function / method. +max-args=5 + +# Maximum number of attributes for a class (see R0902). +max-attributes=7 + +# Maximum number of boolean expressions in an if statement (see R0916). +max-bool-expr=5 + +# Maximum number of branch for function / method body. +max-branches=12 + +# Maximum number of locals for function / method body. +max-locals=15 + +# Maximum number of parents for a class (see R0901). +max-parents=7 + +# Maximum number of public methods for a class (see R0904). +max-public-methods=20 + +# Maximum number of return / yield for function / method body. +max-returns=6 + +# Maximum number of statements in function / method body. +max-statements=50 + +# Minimum number of public methods for a class (see R0903). +min-public-methods=2 + + +[IMPORTS] + +# List of modules that can be imported at any level, not just the top level +# one. +allow-any-import-level= + +# Allow wildcard imports from modules that define __all__. +allow-wildcard-with-all=no + +# Analyse import fallback blocks. This can be used to support both Python 2 and +# 3 compatible code, which means that the block might have code that exists +# only in one or another interpreter, leading to false positives when analysed. +analyse-fallback-blocks=no + +# Deprecated modules which should not be used, separated by a comma. +deprecated-modules=optparse,tkinter.tix + +# Create a graph of external dependencies in the given file (report RP0402 must +# not be disabled). +ext-import-graph= + +# Create a graph of every (i.e. internal and external) dependencies in the +# given file (report RP0402 must not be disabled). +import-graph= + +# Create a graph of internal dependencies in the given file (report RP0402 must +# not be disabled). +int-import-graph= + +# Force import order to recognize a module as part of the standard +# compatibility libraries. +known-standard-library= + +# Force import order to recognize a module as part of a third party library. +known-third-party=enchant + +# Couples of modules and preferred modules, separated by a comma. +preferred-modules= + + +[CLASSES] + +# Warn about protected attribute access inside special methods +check-protected-access-in-special-methods=no + +# List of method names used to declare (i.e. assign) instance attributes. +defining-attr-methods=__init__, + __new__, + setUp, + __post_init__ + +# List of member names, which should be excluded from the protected access +# warning. +exclude-protected=_asdict, + _fields, + _replace, + _source, + _make + +# List of valid names for the first argument in a class method. +valid-classmethod-first-arg=cls + +# List of valid names for the first argument in a metaclass class method. +valid-metaclass-classmethod-first-arg=cls + + +[EXCEPTIONS] + +# Exceptions that will emit a warning when being caught. Defaults to +# "BaseException, Exception". +overgeneral-exceptions=BaseException, + Exception diff --git a/libs/cloudsdk/README.md b/libs/cloudsdk/README.md index 72b4692b4..2fc894568 100644 --- a/libs/cloudsdk/README.md +++ b/libs/cloudsdk/README.md @@ -15,25 +15,63 @@ after that do the following in this folder pip3 install -r requirements.txt ``` -Now your cloud sdk code is downloaded +Now your cloud sdk code is downloaded with all of the dependencies and you can start working on the solution ### Docker Alternatively you can use provided dockerfiles to develop\lint your code: -``` +```shell docker build -t wlan-cloud-test -f dockerfile . docker build -t wlan-cloud-lint -f dockerfile-lint . ``` and then you can do something like this to lint your code: +```shell +docker run -it --rm -v %path_to_this_dir%/tests wlan-tip-lint -d protected-access *py # for now +docker run -it --rm -v %path_to_this_dir%/tests wlan-tip-lint *py # for future ``` -docker run -it --rm -v %path_to_this_dir%/tests wlan-tip-lint cloudsdk.py + +to have a better output (sorted by line numbers) you can do something like this: + +```shell +docker run -it --rm --entrypoint sh -v %path_to_this_dir%/tests wlan-tip-lint -- -c 'pylint *py | sort -t ":" -k 2,2n' ``` and you can use something like this to develop your code: -``` +```shell docker run -it -v %path_to_this_dir%/tests wlan-tip-test ``` + +### General guidelines + +This testing code adheres to generic [pep8](https://www.python.org/dev/peps/pep-0008/#introduction) style guidelines, most notably: + +1. [Documentation strings](https://www.python.org/dev/peps/pep-0008/#documentation-strings) +2. [Naming conventions](https://www.python.org/dev/peps/pep-0008/#prescriptive-naming-conventions) +3. [Sphynx docstring format](https://sphinx-rtd-tutorial.readthedocs.io/en/latest/docstrings.html) + +We are using the `pylint` package to do the linting. Documentation for it can be found [here](http://pylint.pycqa.org/en/latest/). +In general, the customizations are possible via the `.pylintrc` file: + +1. Line length below 120 characters is fine (search for max-line-length) +2. No new line at the end of file is fine (search for missing-final-newline) +3. Multiple new lines at the end of file are fine (search for trailing-newlines) +4. Indent using 4 spaces (search for indent-string) +5. todo + +In future we should enforce a policy, where we cannot merge a code where the pylint scoe goes below 7: + +```shell +pylint --fail-under=7 *py +``` + +the command above would produce a non-zero exit code if the score drops below 7. + +### Miscelanneous + +1. Do not use old style string formatting: `"Hello %s" % var`; use `f"Hello {var}` instead +2. use `"""` in Docstrings +3. todo \ No newline at end of file diff --git a/libs/cloudsdk/cloudsdk.py b/libs/cloudsdk/cloudsdk.py index 442d78250..b06851e0d 100644 --- a/libs/cloudsdk/cloudsdk.py +++ b/libs/cloudsdk/cloudsdk.py @@ -1,35 +1,35 @@ # !/usr/local/lib64/python3.8 -import swagger_client -from testbed_info import SDK_BASE_URLS -from testbed_info import LOGIN_CREDENTIALS -import datetime -import time - """ Library for setting up the configuration for cloud connectivity 1. testbed/ sdk_base_url 2. login credentials """ +import datetime +import time +import swagger_client +from testbed_info import SDK_BASE_URLS +from testbed_info import LOGIN_CREDENTIALS + class ConfigureCloudSDK: def __init__(self): self.configuration = swagger_client.Configuration() - def set_credentials(self, userId=None, password=None): - if userId is None or password is None: - self.configuration.username = LOGIN_CREDENTIALS['userId'] + def set_credentials(self, user_id=None, password=None): + if user_id is None or password is None: + self.configuration.username = LOGIN_CREDENTIALS['user_id'] self.configuration.password = LOGIN_CREDENTIALS['password'] - print("Login Credentials set to default: \n userID: %s\n password: %s\n" % (LOGIN_CREDENTIALS['userId'], + print("Login Credentials set to default: \n user_id: %s\n password: %s\n" % (LOGIN_CREDENTIALS['user_id'], LOGIN_CREDENTIALS['password'])) return False else: - LOGIN_CREDENTIALS['userId'] = userId - self.configuration.username = userId + LOGIN_CREDENTIALS['user_id'] = user_id + self.configuration.username = user_id LOGIN_CREDENTIALS['password'] = password self.configuration.password = password - print("Login Credentials set to custom: \n userID: %s\n password: %s\n" % (LOGIN_CREDENTIALS['userId'], + print("Login Credentials set to custom: \n user_id: %s\n password: %s\n" % (LOGIN_CREDENTIALS['user_id'], LOGIN_CREDENTIALS['password'])) return True diff --git a/libs/cloudsdk/requirements.txt b/libs/cloudsdk/requirements.txt index 96d5314c2..688d28f8d 100644 --- a/libs/cloudsdk/requirements.txt +++ b/libs/cloudsdk/requirements.txt @@ -4,3 +4,4 @@ six >= 1.10 python_dateutil >= 2.5.3 setuptools >= 21.0.0 urllib3 >= 1.15.1 +pylint \ No newline at end of file diff --git a/libs/cloudsdk/testbed_info.py b/libs/cloudsdk/testbed_info.py index 303767e09..e887ad284 100644 --- a/libs/cloudsdk/testbed_info.py +++ b/libs/cloudsdk/testbed_info.py @@ -1,3 +1,7 @@ +""" + A set of constants to use throughtout the tests +""" + SDK_BASE_URLS = { "nola-01": "https://wlan-portal-svc-nola-01.cicd.lab.wlan.tip.build", "nola-02": "https://wlan-portal-svc-nola-02.cicd.lab.wlan.tip.build", @@ -8,6 +12,6 @@ SDK_BASE_URLS = { } LOGIN_CREDENTIALS = { - "userId": "support@example.com", + "user_id": "support@example.com", "password": "support" } \ No newline at end of file From c1f4ac101e9c120fc0966aec86aed5beeccdb811 Mon Sep 17 00:00:00 2001 From: Gleb Boushev Date: Thu, 4 Mar 2021 14:03:58 +0300 Subject: [PATCH 20/45] small edits, added allure stuff --- libs/cloudsdk/README.md | 11 +++++++++-- libs/cloudsdk/requirements.txt | 7 ++++++- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/libs/cloudsdk/README.md b/libs/cloudsdk/README.md index 2fc894568..7c2259cde 100644 --- a/libs/cloudsdk/README.md +++ b/libs/cloudsdk/README.md @@ -1,5 +1,8 @@ ## Cloud SDK Library -Using Swagger Autogenerated CloudSDK Library as a pip installer. +Using Swagger Autogenerated CloudSDK Library pypi package (implemented with [swagger codegen](https://github.com/swagger-api/swagger-codegen)). +Using [pytest] as the test execution framework. +Using [pylint](http://pylint.pycqa.org) for code quality monitoring. +Using [allure](https://docs.qameta.io/allure/#_about) with Github Pages to report test outcome. ### Follow the setps below to setup the environment for your development Environment @@ -70,8 +73,12 @@ pylint --fail-under=7 *py the command above would produce a non-zero exit code if the score drops below 7. +### Reporting + +Currently the plan is to use pytest integrated with [allure](https://docs.qameta.io/allure/#_pytest) to create visual reports for the test outcomes + ### Miscelanneous 1. Do not use old style string formatting: `"Hello %s" % var`; use `f"Hello {var}` instead 2. use `"""` in Docstrings -3. todo \ No newline at end of file +3. todo diff --git a/libs/cloudsdk/requirements.txt b/libs/cloudsdk/requirements.txt index 688d28f8d..b20693cf9 100644 --- a/libs/cloudsdk/requirements.txt +++ b/libs/cloudsdk/requirements.txt @@ -1,7 +1,12 @@ +# actual code package dependencies tip_wlan_cloud >= 0.0.3 certifi >= 14.05.14 six >= 1.10 python_dateutil >= 2.5.3 setuptools >= 21.0.0 urllib3 >= 1.15.1 -pylint \ No newline at end of file +pytest + +# style\reporting package dependencies +pylint +allure-pytest \ No newline at end of file From 8c6f373e817d2c63d0263043845f6557f406e160 Mon Sep 17 00:00:00 2001 From: shivam Date: Thu, 4 Mar 2021 19:36:20 +0530 Subject: [PATCH 21/45] profile push Signed-off-by: shivam --- libs/cloudsdk/cloudsdk.py | 50 ++++++++++++++++++++++----------------- 1 file changed, 28 insertions(+), 22 deletions(-) diff --git a/libs/cloudsdk/cloudsdk.py b/libs/cloudsdk/cloudsdk.py index 442d78250..55f93f78c 100644 --- a/libs/cloudsdk/cloudsdk.py +++ b/libs/cloudsdk/cloudsdk.py @@ -16,6 +16,7 @@ class ConfigureCloudSDK: def __init__(self): self.configuration = swagger_client.Configuration() + self.configuration.logger_file = "logs.log" def set_credentials(self, userId=None, password=None): if userId is None or password is None: @@ -354,7 +355,6 @@ class APUtils: default_profile = self.profile_client.create_profile(body=default_profile) self.profile_creation_ids['ap'] = default_profile._id self.profile_ids.append(default_profile._id) - pass """ method call: used to create a radius profile with the settings given @@ -382,11 +382,10 @@ class APUtils: """ def push_profile(self, equipment_id=None): - default_equipment_data =self.sdk_client.equipment_client.get_equipment_by_id(equipment_id=equipment_id) + default_equipment_data = self.sdk_client.equipment_client.get_equipment_by_id(equipment_id=equipment_id) default_equipment_data._profile_id = self.profile_creation_ids['ap'] print(default_equipment_data) - self.sdk_client.equipment_client.update_equipment(body=default_equipment_data) - + print(self.sdk_client.equipment_client.update_equipment(body=default_equipment_data, async_req=True)) """ method to verify if the expected ssid's are loaded in the ap vif config @@ -409,6 +408,8 @@ if __name__ == "__main__": sdk_client = CloudSDK(testbed="nola-ext-03") # sdk_client.get_equipment_by_customer_id(customer_id=2) ap_utils = APUtils(sdk_client=sdk_client) + + # sdk_client.get_profile_template() ap_utils.select_rf_profile(profile_data=None) # radius_info = { # "name": "Radius-Profile-" + str(datetime.datetime.now()), @@ -418,39 +419,44 @@ if __name__ == "__main__": # } # # ap_utils.set_radius_profile(radius_info=radius_info) - profile_data = { - "profile_name": "test-ssid-open", - "ssid_name": "test_open", - "mode": "BRIDGE" - } + # profile_data = { + # "profile_name": "test-ssid-open", + # "ssid_name": "test_open", + # "mode": "BRIDGE" + # } + # + # ap_utils.create_open_ssid_profile(profile_data=profile_data) + # profile_data = { + # "profile_name": "test-ssid-wpa", + # "ssid_name": "test_wpa", + # "mode": "BRIDGE", + # "security_key": "testing12345" + # } + # + # ap_utils.create_wpa_ssid_profile(profile_data=profile_data) - ap_utils.create_open_ssid_profile(profile_data=profile_data) - profile_data = { - "profile_name": "test-ssid-wpa", - "ssid_name": "test_wpa", - "mode": "BRIDGE", - "security_key": "testing12345" - } - - ap_utils.create_wpa_ssid_profile(profile_data=profile_data) + # Change the profile data if ssid/profile already exists profile_data = { "profile_name": "test-ssid-wpa2", - "ssid_name": "test_wpa2", + "ssid_name": "test_wpa2_test", "mode": "BRIDGE", "security_key": "testing12345" } - ap_utils.create_wpa2_personal_ssid_profile(profile_data=profile_data) + ap_utils.create_wpa2_personal_ssid_profile(profile_data=profile_data, fiveg=False) # # obj.portal_ping() # obj.get_equipment_by_customer_id(customer_id=2) # obj.get_profiles_by_customer_id(customer_id=2) # print(obj.default_profiles) profile_data = { - "profile_name": "test-ap-library", + "profile_name": "test-ap-profile", } ap_utils.set_ap_profile(profile_data=profile_data) - ap_utils.push_profile(equipment_id=1) + time.sleep(20) + # Please change the equipment ID with the respective testbed + ap_utils.push_profile(equipment_id=12) + # time.sleep(20) sdk_client.disconnect_cloudsdk() # ap_utils.delete_profile(profile_id=ap_utils.profile_ids) From 70a52e64c3c5ebbdc9cb2ec4b316b32e0f2e8955 Mon Sep 17 00:00:00 2001 From: Gleb Boushev Date: Tue, 9 Mar 2021 12:25:20 +0300 Subject: [PATCH 22/45] initial pytest core redone --- .gitignore | 4 +- libs/cloudsdk/2.4ghz/test_generic.py | 29 +++++++++++ libs/cloudsdk/README.md | 6 +++ libs/cloudsdk/configuration_data.py | 17 ++++++ libs/cloudsdk/conftest.py | 78 ++++++++++++++++++++++++++++ libs/cloudsdk/pytest.ini | 29 +++++++++++ libs/cloudsdk/testbed_info.py | 2 +- 7 files changed, 163 insertions(+), 2 deletions(-) create mode 100644 libs/cloudsdk/2.4ghz/test_generic.py create mode 100644 libs/cloudsdk/configuration_data.py create mode 100644 libs/cloudsdk/conftest.py create mode 100644 libs/cloudsdk/pytest.ini diff --git a/.gitignore b/.gitignore index 83e4a229f..465460e48 100644 --- a/.gitignore +++ b/.gitignore @@ -149,4 +149,6 @@ pytest/* !pytest/test_*.py !pytest/helpers !pytest/pytest.ini -pytest/nightly*log \ No newline at end of file +pytest/nightly*log + +test_everything.xml \ No newline at end of file diff --git a/libs/cloudsdk/2.4ghz/test_generic.py b/libs/cloudsdk/2.4ghz/test_generic.py new file mode 100644 index 000000000..f481c311e --- /dev/null +++ b/libs/cloudsdk/2.4ghz/test_generic.py @@ -0,0 +1,29 @@ +import pytest + +@pytest.mark.usefixtures('setup_cloudsdk') +@pytest.mark.usefixtures('update_firmware') +@pytest.mark.UHF # example of a class mark +class Test24ghz(object): + @pytest.mark.wpa2 + def test_single_client_wpa2(self, setup_cloudsdk, update_firmware): + print(setup_cloudsdk) + assert 1 == 0 + + @pytest.mark.open + def test_single_client_open(self, setup_cloudsdk, update_firmware): + print(setup_cloudsdk) + assert 1 == 0 + +@pytest.mark.usefixtures('setup_cloudsdk') +@pytest.mark.usefixtures('update_firmware') +@pytest.mark.SHF # example of a class mark +class Test50ghz(object): + @pytest.mark.wpa2 + def test_single_client_wpa2(self, setup_cloudsdk, update_firmware): + print(setup_cloudsdk) + assert 1 == 0 + + @pytest.mark.open + def test_single_client_open(self, setup_cloudsdk, update_firmware): + print(setup_cloudsdk) + assert 1 == 0 diff --git a/libs/cloudsdk/README.md b/libs/cloudsdk/README.md index 7c2259cde..96f664530 100644 --- a/libs/cloudsdk/README.md +++ b/libs/cloudsdk/README.md @@ -82,3 +82,9 @@ Currently the plan is to use pytest integrated with [allure](https://docs.qameta 1. Do not use old style string formatting: `"Hello %s" % var`; use `f"Hello {var}` instead 2. use `"""` in Docstrings 3. todo + +### Useful links + +https://docs.pytest.org/en/latest/example/markers.html +https://docs.pytest.org/en/latest/usage.html +http://pythontesting.net/framework/pytest/pytest-introduction/ \ No newline at end of file diff --git a/libs/cloudsdk/configuration_data.py b/libs/cloudsdk/configuration_data.py new file mode 100644 index 000000000..2e652c3d4 --- /dev/null +++ b/libs/cloudsdk/configuration_data.py @@ -0,0 +1,17 @@ +""" + A set of constants describing AP profiles +""" + +PROFILE_DATA = { + "test_single_client_wpa2": { + "profile_name": "test-ssid-wpa2", + "ssid_name": "test_wpa2_test", + "mode": "BRIDGE", + "security_key": "testing12345" + }, + "test_single_client_open": { + "profile_name": "test-ssid-open", + "ssid_name": "test_open", + "mode": "BRIDGE" + } +} \ No newline at end of file diff --git a/libs/cloudsdk/conftest.py b/libs/cloudsdk/conftest.py new file mode 100644 index 000000000..811b07826 --- /dev/null +++ b/libs/cloudsdk/conftest.py @@ -0,0 +1,78 @@ +# import files in the current directory +import sys +import os +sys.path.append( + os.path.dirname( + os.path.realpath( __file__ ) + ) +) + +import pytest +from configuration_data import PROFILE_DATA + +def pytest_addoption(parser): + parser.addini("jfrog-base-url", "jfrog base url") + parser.addini("jfrog-user-id", "jfrog username") + parser.addini("jfrog-user-password", "jfrog password") + parser.addini("sdk-base-url", "cloud sdk base url") + parser.addini("sdk-user-id", "cloud sdk username") + parser.addini("sdk-user-password", "cloud sdk user password") + parser.addini("sdk-customer-id", "cloud sdk customer id for the access points") + parser.addini("testrail-base-url", "testrail base url") + parser.addini("testrail-project", "testrail project name to use to generate test reports") + parser.addini("testrail-user-id", "testrail username") + parser.addini("testrail-user-password", "testrail user password") + parser.addini("lanforge-ip-address", "LANforge ip address to connect to") + parser.addini("lanforge-port-number", "LANforge port number to connect to") + parser.addini("lanforge-radio", "LANforge radio to use") + parser.addini("lanforge-ethernet-port", "LANforge ethernet adapter to use") + + # change behaviour + parser.addoption( + "--skip-update-firmware", + action="store_true", + default=False, + help="skip updating firmware on the AP (useful for local testing)" + ) + # this has to be the last argument + # example: --access-points ECW5410 EA8300-EU + parser.addoption( + "--access-points", + nargs="+", + default=[ "ECW5410" ], + help="list of access points to test" + ) + +def pytest_generate_tests(metafunc): + metafunc.parametrize("access_points", metafunc.config.getoption('--access-points'), scope="session") + +# run something after all tests are done regardless of the outcome +def pytest_unconfigure(config): + print("Tests cleanup done") + +@pytest.fixture(scope="function") +def setup_cloudsdk(request, instantiate_cloudsdk): + def fin(): + print(f"Cloud SDK cleanup for {request.node.originalname}") + request.addfinalizer(fin) + yield PROFILE_DATA[request.node.originalname] + +@pytest.fixture(scope="session") +def update_firmware(request, instantiate_jFrog, instantiate_cloudsdk, retrieve_latest_image, access_points): + if request.config.getoption("--skip-update-firmware"): + return + yield "update_firmware" + +@pytest.fixture(scope="session") +def retrieve_latest_image(request, access_points): + if request.config.getoption("--skip-update-firmware"): + return + yield "retrieve_latest_image" + +@pytest.fixture(scope="session") +def instantiate_cloudsdk(request): + yield "instantiate_cloudsdk" + +@pytest.fixture(scope="session") +def instantiate_jFrog(request): + yield "instantiate_jFrog" \ No newline at end of file diff --git a/libs/cloudsdk/pytest.ini b/libs/cloudsdk/pytest.ini new file mode 100644 index 000000000..12fe0d2c2 --- /dev/null +++ b/libs/cloudsdk/pytest.ini @@ -0,0 +1,29 @@ +[pytest] +addopts= --junitxml=test_everything.xml +# jFrog parameters +jfrog-base-url=tip.jFrog.io/artifactory/tip-wlan-ap-firmware +jfrog-user-id=tip-read +jfrog-user-password=tip-read +# Cloud SDK parameters +sdk-base-url=wlan-portal-svc.cicd.lab.wlan.tip.build +sdk-user-id=support@example.com +sdk-user-password=support +# Testrails parameters +testrail-base-url=telecominfraproject.testrail.com +testrail-project=opsfleet-wlan +testrail-user-id=gleb@opsfleet.com +testrail-user-password=use_command_line_to_pass_this +# LANforge +lanforge-ip-address=localhost +lanforge-port-number=8080 +lanforge-radio=wiphy4 +lanforge-ethernet-port=eth2 + +# Cloud SDK settings +sdk-customer-id=2 + +markers = + UHF: marks tests as using 2.4 ghz frequency + SHF: marks tests as using 5.0 ghz frequency + open: marks tests as using no security + wpa2: marks tests as using wpa2 security \ No newline at end of file diff --git a/libs/cloudsdk/testbed_info.py b/libs/cloudsdk/testbed_info.py index e887ad284..0d519cd75 100644 --- a/libs/cloudsdk/testbed_info.py +++ b/libs/cloudsdk/testbed_info.py @@ -1,5 +1,5 @@ """ - A set of constants to use throughtout the tests + A set of constants describing cloud controllers properties """ SDK_BASE_URLS = { From 059b06981db699098dbf0dabf4e0711c0c382d44 Mon Sep 17 00:00:00 2001 From: shivam Date: Tue, 9 Mar 2021 15:29:17 +0530 Subject: [PATCH 23/45] ap profile push old method added Signed-off-by: shivam --- libs/cloudsdk/cloudsdk.py | 166 +++++++++++++++++++++++++++----------- 1 file changed, 119 insertions(+), 47 deletions(-) diff --git a/libs/cloudsdk/cloudsdk.py b/libs/cloudsdk/cloudsdk.py index ec60100cb..4cdd3a0ba 100644 --- a/libs/cloudsdk/cloudsdk.py +++ b/libs/cloudsdk/cloudsdk.py @@ -6,7 +6,10 @@ """ import datetime +import json import time + +import requests import swagger_client from testbed_info import SDK_BASE_URLS from testbed_info import LOGIN_CREDENTIALS @@ -16,30 +19,30 @@ class ConfigureCloudSDK: def __init__(self): self.configuration = swagger_client.Configuration() - self.configuration.logger_file = "logs.log" def set_credentials(self, user_id=None, password=None): if user_id is None or password is None: - self.configuration.username = LOGIN_CREDENTIALS['user_id'] + self.configuration.username = LOGIN_CREDENTIALS['userId'] self.configuration.password = LOGIN_CREDENTIALS['password'] - print("Login Credentials set to default: \n user_id: %s\n password: %s\n" % (LOGIN_CREDENTIALS['user_id'], - LOGIN_CREDENTIALS['password'])) + print("Login Credentials set to default: \n user_id: %s\n password: %s\n" % (LOGIN_CREDENTIALS['userId'], + LOGIN_CREDENTIALS['password'])) return False else: LOGIN_CREDENTIALS['user_id'] = user_id self.configuration.username = user_id LOGIN_CREDENTIALS['password'] = password self.configuration.password = password - print("Login Credentials set to custom: \n user_id: %s\n password: %s\n" % (LOGIN_CREDENTIALS['user_id'], - LOGIN_CREDENTIALS['password'])) + print("Login Credentials set to custom: \n user_id: %s\n password: %s\n" % (LOGIN_CREDENTIALS['userId'], + LOGIN_CREDENTIALS['password'])) return True def select_testbed(self, testbed=None): if testbed is None: print("No Testbed Selected") exit() - self.configuration.host = SDK_BASE_URLS[testbed] - print("Testbed Selected: %s\n SDK_BASE_URL: %s\n" % (testbed, SDK_BASE_URLS[testbed])) + self.sdk_base_url = "https://wlan-portal-svc-" + testbed + ".cicd.lab.wlan.tip.build" + self.configuration.host = self.sdk_base_url + print("Testbed Selected: %s\n SDK_BASE_URL: %s\n" % (testbed, self.sdk_base_url)) return True def set_sdk_base_url(self, sdk_base_url=None): @@ -67,7 +70,7 @@ class CloudSDK(ConfigureCloudSDK): # Setting the CloudSDK Client Configuration self.select_testbed(testbed=testbed) self.set_credentials() - self.configuration.refresh_api_key_hook = self.get_bearer_token + # self.configuration.refresh_api_key_hook = self.get_bearer_token # Connecting to CloudSDK self.api_client = swagger_client.ApiClient(self.configuration) @@ -105,10 +108,10 @@ class CloudSDK(ConfigureCloudSDK): Equipment Utilities """ - def get_equipment_by_customer_id(self, customer_id=None): + def get_equipment_by_customer_id(self, customer_id=None, max_items=10): pagination_context = """{ "model_type": "PaginationContext", - "maxItemsPerPage": 10 + "maxItemsPerPage": """+str(max_items)+""" }""" print(self.equipment_client.get_equipment_by_customer_id(customer_id=customer_id, @@ -273,6 +276,7 @@ class APUtils: profile_id = self.profile_client.create_profile(body=default_profile)._id self.profile_creation_ids['ssid'].append(profile_id) self.profile_ids.append(profile_id) + # print(default_profile) return True def create_wpa3_personal_ssid_profile(self, two4g=True, fiveg=True, profile_data=None): @@ -355,6 +359,7 @@ class APUtils: default_profile = self.profile_client.create_profile(body=default_profile) self.profile_creation_ids['ap'] = default_profile._id self.profile_ids.append(default_profile._id) + # print(default_profile) """ method call: used to create a radius profile with the settings given @@ -381,11 +386,16 @@ class APUtils: method to push the profile to the given equipment """ + # Under a Bug, depreciated until resolved, should be used primarily def push_profile(self, equipment_id=None): - default_equipment_data = self.sdk_client.equipment_client.get_equipment_by_id(equipment_id=equipment_id) - default_equipment_data._profile_id = self.profile_creation_ids['ap'] + pagination_context = """{ + "model_type": "PaginationContext", + "maxItemsPerPage": 100 + }""" + default_equipment_data = self.sdk_client.equipment_client.get_equipment_by_id(equipment_id=11, async_req=False) + # default_equipment_data._details[] = self.profile_creation_ids['ap'] print(default_equipment_data) - print(self.sdk_client.equipment_client.update_equipment(body=default_equipment_data, async_req=True)) + # print(self.sdk_client.equipment_client.update_equipment(body=default_equipment_data, async_req=True)) """ method to verify if the expected ssid's are loaded in the ap vif config @@ -403,60 +413,122 @@ class APUtils: self.profile_client.delete_profile(profile_id=i) pass + # Need to be depreciated by using push_profile method + def push_profile_old_method(self, equipment_id=None): + if equipment_id is None: + return 0 + url = self.sdk_client.configuration.host + "/portal/equipment?equipmentId=" + equipment_id + payload = {} + headers = self.sdk_client.configuration.api_key_prefix + response = requests.request("GET", url, headers=headers, data=payload) + equipment_info = response.json() + equipment_info['profileId'] = self.profile_creation_ids['ap'] + url = self.sdk_client.configuration.host + "/portal/equipment" + headers = { + 'Content-Type': 'application/json', + 'Authorization': self.sdk_client.configuration.api_key_prefix['Authorization'] + } + + response = requests.request("PUT", url, headers=headers, data=json.dumps(equipment_info)) + if __name__ == "__main__": - sdk_client = CloudSDK(testbed="nola-ext-03") + sdk_client = CloudSDK(testbed="nola-ext-04") + print(sdk_client.get_equipment_by_customer_id(customer_id=2)) + sdk_client.disconnect_cloudsdk() # sdk_client.get_equipment_by_customer_id(customer_id=2) - ap_utils = APUtils(sdk_client=sdk_client) - - # sdk_client.get_profile_template() - ap_utils.select_rf_profile(profile_data=None) - # radius_info = { - # "name": "Radius-Profile-" + str(datetime.datetime.now()), - # "ip": "192.168.200.75", - # "port": 1812, - # "secret": "testing123" - # } - # - # ap_utils.set_radius_profile(radius_info=radius_info) + # ap_utils = APUtils(sdk_client=sdk_client) + # print(sdk_client.configuration.api_key_prefix) + # ap_utils.select_rf_profile(profile_data=None) # profile_data = { # "profile_name": "test-ssid-open", # "ssid_name": "test_open", # "mode": "BRIDGE" # } - # + # ap_utils.create_open_ssid_profile(profile_data=profile_data) # profile_data = { # "profile_name": "test-ssid-wpa", + # "ssid_name": "test_wpa_test", + # "mode": "BRIDGE", + # "security_key": "testing12345" + # } + # ap_utils.create_wpa_ssid_profile(profile_data=profile_data, fiveg=False) + # profile_data = { + # "profile_name": "test-ap-profile", + # } + # ap_utils.set_ap_profile(profile_data=profile_data) + # ap_utils.push_profile_old_method(equipment_id='12') + + # sdk_client.get_profile_template() + # ap_utils.select_rf_profile(profile_data=None) + # # radius_info = { + # # "name": "Radius-Profile-" + str(datetime.datetime.now()), + # # "ip": "192.168.200.75", + # # "port": 1812, + # # "secret": "testing123" + # # } + # # + # # ap_utils.set_radius_profile(radius_info=radius_info) + # # profile_data = { + # # "profile_name": "test-ssid-open", + # # "ssid_name": "test_open", + # # "mode": "BRIDGE" + # # } + # # + # # # ap_utils.create_open_ssid_profile(profile_data=profile_data) + # profile_data = { + # "profile_name": "test-ssid-wpa", # "ssid_name": "test_wpa", # "mode": "BRIDGE", # "security_key": "testing12345" # } - # + # # # # ap_utils.create_wpa_ssid_profile(profile_data=profile_data) + # # + # # # Change the profile data if ssid/profile already exists - # Change the profile data if ssid/profile already exists + # # # + # # # obj.portal_ping() + # # # obj.get_equipment_by_customer_id(customer_id=2) + # # # obj.get_profiles_by_customer_id(customer_id=2) + # # # print(obj.default_profiles) + + + # # time.sleep(20) + # # # Please change the equipment ID with the respective testbed + # #ap_utils.push_profile(equipment_id=11) + # # ap ssh + # ap_utils.push_profile_old_method(equipment_id='12') + # time.sleep(1) + + # ap_utils.delete_profile(profile_id=ap_utils.profile_ids) + +def test_open_ssid(): + sdk_client = CloudSDK(testbed="nola-ext-04") + ap_utils = APUtils(sdk_client=sdk_client) + print(sdk_client.configuration.api_key_prefix) + ap_utils.select_rf_profile(profile_data=None) profile_data = { - "profile_name": "test-ssid-wpa2", - "ssid_name": "test_wpa2_test", - "mode": "BRIDGE", - "security_key": "testing12345" + "profile_name": "test-ssid-open", + "ssid_name": "test_open", + "mode": "BRIDGE" } - - ap_utils.create_wpa2_personal_ssid_profile(profile_data=profile_data, fiveg=False) - # - # obj.portal_ping() - # obj.get_equipment_by_customer_id(customer_id=2) - # obj.get_profiles_by_customer_id(customer_id=2) - # print(obj.default_profiles) + ap_utils.create_open_ssid_profile(profile_data=profile_data) profile_data = { "profile_name": "test-ap-profile", } ap_utils.set_ap_profile(profile_data=profile_data) - time.sleep(20) - # Please change the equipment ID with the respective testbed - ap_utils.push_profile(equipment_id=12) - # time.sleep(20) + ap_utils.push_profile_old_method(equipment_id='12') sdk_client.disconnect_cloudsdk() - # ap_utils.delete_profile(profile_id=ap_utils.profile_ids) - + pass +def test_wpa_ssid(): + pass +def test_wpa2_personal_ssid(): + pass +def test_wpa3_personal_ssid(): + pass +def test_wpa2_enterprise_ssid(): + pass +def test_wpa3_enterprise_ssid(): + pass \ No newline at end of file From edd393e2ac36b021d88370344b23ad6e683cb2a4 Mon Sep 17 00:00:00 2001 From: shivam Date: Wed, 10 Mar 2021 17:36:06 +0530 Subject: [PATCH 24/45] Added cloudsdk pytests and directory structuring Signed-off-by: shivam --- libs/cloudsdk/2.4ghz/test_generic.py | 29 - libs/cloudsdk/cloudsdk.py | 184 +- libs/cloudsdk/conftest.py | 78 - libs/cloudsdk/pytest.ini | 29 - libs/cloudsdk/testbed_info.py | 8 +- {libs/cloudsdk => tests}/.pylintrc | 0 tests/Dockerfile | 16 - tests/EXAMPLE-USAGE.txt | 35 - tests/Nightly_Sanity.py | 487 ---- tests/README.md | 2 - tests/Throughput_Test.py | 530 ----- tests/UnitTestBase.py | 406 ---- tests/cicd_sanity/ap_connect.py | 187 -- tests/cicd_sanity/cicd_sanity.py | 2057 ----------------- tests/cicd_sanity/cloud_connect.py | 292 --- tests/cicd_sanity/nola04_test_info.py | 249 -- tests/cicd_sanity/reports/report_template.php | 1838 --------------- tests/cicd_sanity/sanity_status.json | 1 - .../templates/ap_profile_template.json | 1 - .../templates/radius_profile_template.json | 1 - .../templates/ssid_profile_template.json | 1 - tests/cicd_sanity/test_info.py | 276 --- tests/cicd_sanity/testrail.py | 194 -- tests/cloudsdk/test_cloud.py | 26 + .../cloudsdk => tests}/configuration_data.py | 0 tests/conftest.py | 278 +-- tests/eap_connect.py | 354 --- tests/helpers/utils.py | 64 - tests/pytest.ini | 20 +- tests/pytest_utility/conftest.py | 0 tests/pytest_utility/pytest.ini | 0 tests/sanity_status.json | 1 - tests/single_client_throughput.py | 1064 --------- tests/templates/radius_profile_template.json | 1 - tests/templates/report_template.php | 622 ----- tests/templates/ssid_profile_template.json | 1 - tests/test_24ghz.py | 66 - tests/test_utility/reporting.py | 46 - tools/README.md | 2 - tools/USAGE_EXAMPLES.txt | 150 -- tools/debug_nola01.sh | 31 - tools/debug_nola12.sh | 31 - tools/logs/README.md | 1 - tools/query_ap.py | 44 - tools/query_sdk.py | 253 -- tools/sdk_set_profile.py | 219 -- tools/sdk_upgrade_fw.py | 183 -- 47 files changed, 196 insertions(+), 10162 deletions(-) delete mode 100644 libs/cloudsdk/2.4ghz/test_generic.py delete mode 100644 libs/cloudsdk/conftest.py delete mode 100644 libs/cloudsdk/pytest.ini rename {libs/cloudsdk => tests}/.pylintrc (100%) delete mode 100644 tests/Dockerfile delete mode 100644 tests/EXAMPLE-USAGE.txt delete mode 100755 tests/Nightly_Sanity.py delete mode 100644 tests/README.md delete mode 100755 tests/Throughput_Test.py delete mode 100644 tests/UnitTestBase.py delete mode 100644 tests/cicd_sanity/ap_connect.py delete mode 100755 tests/cicd_sanity/cicd_sanity.py delete mode 100755 tests/cicd_sanity/cloud_connect.py delete mode 100644 tests/cicd_sanity/nola04_test_info.py delete mode 100755 tests/cicd_sanity/reports/report_template.php delete mode 100755 tests/cicd_sanity/sanity_status.json delete mode 100644 tests/cicd_sanity/templates/ap_profile_template.json delete mode 100644 tests/cicd_sanity/templates/radius_profile_template.json delete mode 100644 tests/cicd_sanity/templates/ssid_profile_template.json delete mode 100755 tests/cicd_sanity/test_info.py delete mode 100644 tests/cicd_sanity/testrail.py create mode 100644 tests/cloudsdk/test_cloud.py rename {libs/cloudsdk => tests}/configuration_data.py (100%) delete mode 100755 tests/eap_connect.py delete mode 100644 tests/helpers/utils.py delete mode 100644 tests/pytest_utility/conftest.py delete mode 100644 tests/pytest_utility/pytest.ini delete mode 100755 tests/sanity_status.json delete mode 100755 tests/single_client_throughput.py delete mode 100644 tests/templates/radius_profile_template.json delete mode 100755 tests/templates/report_template.php delete mode 100644 tests/templates/ssid_profile_template.json delete mode 100644 tests/test_24ghz.py delete mode 100644 tests/test_utility/reporting.py delete mode 100644 tools/README.md delete mode 100644 tools/USAGE_EXAMPLES.txt delete mode 100755 tools/debug_nola01.sh delete mode 100755 tools/debug_nola12.sh delete mode 100644 tools/logs/README.md delete mode 100755 tools/query_ap.py delete mode 100755 tools/query_sdk.py delete mode 100755 tools/sdk_set_profile.py delete mode 100755 tools/sdk_upgrade_fw.py diff --git a/libs/cloudsdk/2.4ghz/test_generic.py b/libs/cloudsdk/2.4ghz/test_generic.py deleted file mode 100644 index f481c311e..000000000 --- a/libs/cloudsdk/2.4ghz/test_generic.py +++ /dev/null @@ -1,29 +0,0 @@ -import pytest - -@pytest.mark.usefixtures('setup_cloudsdk') -@pytest.mark.usefixtures('update_firmware') -@pytest.mark.UHF # example of a class mark -class Test24ghz(object): - @pytest.mark.wpa2 - def test_single_client_wpa2(self, setup_cloudsdk, update_firmware): - print(setup_cloudsdk) - assert 1 == 0 - - @pytest.mark.open - def test_single_client_open(self, setup_cloudsdk, update_firmware): - print(setup_cloudsdk) - assert 1 == 0 - -@pytest.mark.usefixtures('setup_cloudsdk') -@pytest.mark.usefixtures('update_firmware') -@pytest.mark.SHF # example of a class mark -class Test50ghz(object): - @pytest.mark.wpa2 - def test_single_client_wpa2(self, setup_cloudsdk, update_firmware): - print(setup_cloudsdk) - assert 1 == 0 - - @pytest.mark.open - def test_single_client_open(self, setup_cloudsdk, update_firmware): - print(setup_cloudsdk) - assert 1 == 0 diff --git a/libs/cloudsdk/cloudsdk.py b/libs/cloudsdk/cloudsdk.py index 4cdd3a0ba..a5acb8f67 100644 --- a/libs/cloudsdk/cloudsdk.py +++ b/libs/cloudsdk/cloudsdk.py @@ -54,7 +54,7 @@ class ConfigureCloudSDK: """ - Library for cloudSDK generic usages, it instantiate the bearer and credentials. + Library for cloudsdk generic usages, it instantiate the bearer and credentials. It provides the connectivity to the cloud. """ @@ -64,9 +64,12 @@ class CloudSDK(ConfigureCloudSDK): constructor for cloudsdk library : can be used from pytest framework """ - def __init__(self, testbed=None): + def __init__(self, testbed=None, customer_id=None): super().__init__() - + if customer_id is None: + print("Invalid Customer Id") + exit() + self.customer_id = customer_id # Setting the CloudSDK Client Configuration self.select_testbed(testbed=testbed) self.set_credentials() @@ -85,6 +88,7 @@ class CloudSDK(ConfigureCloudSDK): } self.api_client.configuration.refresh_api_key_hook = self.get_bearer_token() self.ping_response = self.portal_ping() + self.default_profiles = {} # print(self.bearer) if self.ping_response._application_name != 'PortalServer': print("Server not Reachable") @@ -108,14 +112,16 @@ class CloudSDK(ConfigureCloudSDK): Equipment Utilities """ - def get_equipment_by_customer_id(self, customer_id=None, max_items=10): + # Returns a List of All the Equipments that are available + def get_equipment_by_customer_id(self, max_items=10): pagination_context = """{ "model_type": "PaginationContext", - "maxItemsPerPage": """+str(max_items)+""" + "maxItemsPerPage": """ + str(max_items) + """ }""" - print(self.equipment_client.get_equipment_by_customer_id(customer_id=customer_id, - pagination_context=pagination_context)) + equipment_data = self.equipment_client.get_equipment_by_customer_id(customer_id=self.customer_id, + pagination_context=pagination_context) + return equipment_data._items def request_ap_reboot(self): pass @@ -141,57 +147,16 @@ class CloudSDK(ConfigureCloudSDK): Captive-Portal """ - def get_profile_template(self, customer_id=None, profile_name=None): - pagination_context = """{ - "model_type": "PaginationContext", - "maxItemsPerPage": 100 - }""" - profiles = self.profile_client.get_profiles_by_customer_id(customer_id=customer_id, - pagination_context=pagination_context)._items - for i in profiles: - if i._name == profile_name: - return i - return None - def get_profiles_by_customer_id(self, customer_id=None): - pagination_context = """{ - "model_type": "PaginationContext", - "maxItemsPerPage": 100 - }""" - self.default_profiles = {} - print(len((self.profile_client.get_profiles_by_customer_id(customer_id=customer_id, - pagination_context=pagination_context))._items)) - for i in self.profile_client.get_profiles_by_customer_id(customer_id=customer_id, - pagination_context=pagination_context)._items: - print(i._name, i._id) - if i._name == "TipWlan-Cloud-Wifi": - self.default_profiles['ssid'] = i - if i._name == "TipWlan-Cloud-Wifi": - self.default_profiles['ssid'] = i - if i._name == "TipWlan-Cloud-Wifi": - self.default_profiles['ssid'] = i - - def create_profile(self, profile_type=None, customer_id=None, profile_name=None): - if profile_type is None or customer_id is None or profile_name is None: - return "Invalid profile_type/customer_id/profile_name" - - profile_data = { - "profileType": profile_type, # eg. ("equipment_ap", "ssid", "rf", "radius", "captive_portal") - "customerId": customer_id, - "name": profile_name - } - return "Profile Created Successfully!" - - -class APUtils: +class ProfileUtility: """ constructor for Access Point Utility library : can be used from pytest framework to control Access Points """ - def __init__(self, sdk_client=None, testbed=None): + def __init__(self, sdk_client=None, testbed=None, customer_id=None): if sdk_client is None: - sdk_client = CloudSDK(testbed=testbed) + sdk_client = CloudSDK(testbed=testbed, customer_id=customer_id) self.sdk_client = sdk_client self.profile_client = swagger_client.ProfileApi(api_client=self.sdk_client.api_client) self.profile_creation_ids = { @@ -200,14 +165,52 @@ class APUtils: "radius": [], "rf": [] } + self.default_profiles = {} self.profile_ids = [] + def get_profile_by_name(self, profile_name=None): + pagination_context = """{ + "model_type": "PaginationContext", + "maxItemsPerPage": 1000 + }""" + profiles = self.profile_client.get_profiles_by_customer_id(customer_id=self.sdk_client.customer_id, + pagination_context=pagination_context) + + for i in profiles._items: + if i._name == profile_name: + return i + return None + + def get_default_profiles(self): + pagination_context = """{ + "model_type": "PaginationContext", + "maxItemsPerPage": 100 + }""" + items = self.profile_client.get_profiles_by_customer_id(customer_id=self.sdk_client.customer_id, + pagination_context=pagination_context) + + for i in items._items: + # print(i._name, i._id) + if i._name == "TipWlan-Cloud-Wifi": + self.default_profiles['ssid'] = i + if i._name == "TipWlan-3-Radios": + self.default_profiles['equipment_ap_3_radios'] = i + if i._name == "TipWlan-2-Radios": + self.default_profiles['equipment_ap_3_radios'] = i + if i._name == "Captive-Portal": + self.default_profiles['captive_portal'] = i + if i._name == "Radius-Profile": + self.default_profiles['radius'] = i + if i._name == "TipWlan-rf": + self.default_profiles['rf'] = i + """ method call: used to create the rf profile and push set the parameters accordingly and update """ - def select_rf_profile(self, profile_data=None): - default_profile = self.sdk_client.get_profile_template(customer_id=2, profile_name="TipWlan-rf") + def set_rf_profile(self, profile_data=None): + default_profile = self.default_profiles['rf'] + # default_profile = self.sdk_client.get_profile_template(customer_id=2, profile_name="TipWlan-rf") if profile_data is None: self.profile_creation_ids['rf'].append(default_profile._id) # Need to add functionality to add similar Profile and modify accordingly @@ -219,7 +222,8 @@ class APUtils: def create_open_ssid_profile(self, two4g=True, fiveg=True, profile_data=None): if profile_data is None: return False - default_profile = self.sdk_client.get_profile_template(customer_id=2, profile_name="TipWlan-Cloud-Wifi") + default_profile = self.default_profiles['ssid'] + # default_profile = self.sdk_client.get_profile_template(customer_id=2, profile_name="TipWlan-Cloud-Wifi") default_profile._details['appliedRadios'] = [] if two4g is True: default_profile._details['appliedRadios'].append("is2dot4GHz") @@ -239,7 +243,8 @@ class APUtils: def create_wpa_ssid_profile(self, two4g=True, fiveg=True, profile_data=None): if profile_data is None: return False - default_profile = self.sdk_client.get_profile_template(customer_id=2, profile_name="TipWlan-Cloud-Wifi") + default_profile = self.default_profiles['ssid'] + # default_profile = self.sdk_client.get_profile_template(customer_id=2, profile_name="TipWlan-Cloud-Wifi") default_profile._details['appliedRadios'] = [] if two4g is True: default_profile._details['appliedRadios'].append("is2dot4GHz") @@ -260,7 +265,8 @@ class APUtils: def create_wpa2_personal_ssid_profile(self, two4g=True, fiveg=True, profile_data=None): if profile_data is None: return False - default_profile = self.sdk_client.get_profile_template(customer_id=2, profile_name="TipWlan-Cloud-Wifi") + default_profile = self.default_profiles['ssid'] + # default_profile = self.sdk_client.get_profile_template(customer_id=2, profile_name="TipWlan-Cloud-Wifi") default_profile._details['appliedRadios'] = [] if two4g is True: default_profile._details['appliedRadios'].append("is2dot4GHz") @@ -282,7 +288,8 @@ class APUtils: def create_wpa3_personal_ssid_profile(self, two4g=True, fiveg=True, profile_data=None): if profile_data is None: return False - default_profile = self.sdk_client.get_profile_template(customer_id=2, profile_name="TipWlan-Cloud-Wifi") + default_profile = self.default_profiles['ssid'] + # default_profile = self.sdk_client.get_profile_template(customer_id=2, profile_name="TipWlan-Cloud-Wifi") default_profile._details['appliedRadios'] = [] if two4g is True: default_profile._details['appliedRadios'].append("is2dot4GHz") @@ -303,7 +310,8 @@ class APUtils: def create_wpa2_enterprise_ssid_profile(self, two4g=True, fiveg=True, profile_data=None): if profile_data is None: return False - default_profile = self.sdk_client.get_profile_template(customer_id=2, profile_name="TipWlan-Cloud-Wifi") + default_profile = self.default_profiles['ssid'] + # default_profile = self.sdk_client.get_profile_template(customer_id=2, profile_name="TipWlan-Cloud-Wifi") default_profile._details['appliedRadios'] = [] if two4g is True: default_profile._details['appliedRadios'].append("is2dot4GHz") @@ -323,7 +331,8 @@ class APUtils: def create_wpa3_enterprise_ssid_profile(self, two4g=True, fiveg=True, profile_data=None): if profile_data is None: return False - default_profile = self.sdk_client.get_profile_template(customer_id=2, profile_name="TipWlan-Cloud-Wifi") + default_profile = self.default_profiles['ssid'] + # default_profile = self.sdk_client.get_profile_template(customer_id=2, profile_name="TipWlan-Cloud-Wifi") default_profile._details['appliedRadios'] = [] if two4g is True: default_profile._details['appliedRadios'].append("is2dot4GHz") @@ -348,7 +357,8 @@ class APUtils: def set_ap_profile(self, profile_data=None): if profile_data is None: return False - default_profile = self.sdk_client.get_profile_template(customer_id=2, profile_name="TipWlan-2-Radios") + default_profile = self.default_profiles['equipment_ap_2_radios'] + # default_profile = self.sdk_client.get_profile_template(customer_id=2, profile_name="TipWlan-2-Radios") default_profile._child_profile_ids = [] for i in self.profile_creation_ids: for j in self.profile_creation_ids[i]: @@ -432,10 +442,44 @@ class APUtils: response = requests.request("PUT", url, headers=headers, data=json.dumps(equipment_info)) +class JFrogUtility: + + def __init__(self, credentials=None): + if credentials is None: + exit() + self.user = credentials["user"] + self.password = credentials["password"] + self.jfrog_url = "https://tip.jfrog.io/artifactory/tip-wlan-ap-firmware/" + self.build = "pending" + + def list_revisions(self): + pass + + def get_latest_build(self): + pass + + if __name__ == "__main__": - sdk_client = CloudSDK(testbed="nola-ext-04") - print(sdk_client.get_equipment_by_customer_id(customer_id=2)) - sdk_client.disconnect_cloudsdk() + testbeds = ["nola-01", "nola-02", "nola-04", "nola-ext-01", "nola-ext-02", "nola-ext-03", "nola-ext-04", + "nola-ext-05"] + for i in testbeds: + sdk_client = CloudSDK(testbed=i, customer_id=2) + print(sdk_client.get_equipment_by_customer_id()) + print(sdk_client.portal_ping() is None) + break + # ap_utils = ProfileUtility(sdk_client=sdk_client) + # ap_utils.get_default_profiles() + # for j in ap_utils.default_profiles: + # print(ap_utils.default_profiles[j]._id) + + # data = sdk_client.get_equipment_by_customer_id() + # equipment_ids = [] + # for i in data: + # equipment_ids.append(i) + # print(equipment_ids[0]._details._equipment_model) + sdk_client.disconnect_cloudsdk() + time.sleep(2) + # sdk_client.get_equipment_by_customer_id(customer_id=2) # ap_utils = APUtils(sdk_client=sdk_client) # print(sdk_client.configuration.api_key_prefix) @@ -494,7 +538,6 @@ if __name__ == "__main__": # # # obj.get_profiles_by_customer_id(customer_id=2) # # # print(obj.default_profiles) - # # time.sleep(20) # # # Please change the equipment ID with the respective testbed # #ap_utils.push_profile(equipment_id=11) @@ -504,6 +547,7 @@ if __name__ == "__main__": # ap_utils.delete_profile(profile_id=ap_utils.profile_ids) + def test_open_ssid(): sdk_client = CloudSDK(testbed="nola-ext-04") ap_utils = APUtils(sdk_client=sdk_client) @@ -522,13 +566,23 @@ def test_open_ssid(): ap_utils.push_profile_old_method(equipment_id='12') sdk_client.disconnect_cloudsdk() pass + + def test_wpa_ssid(): pass + + def test_wpa2_personal_ssid(): pass + + def test_wpa3_personal_ssid(): pass + + def test_wpa2_enterprise_ssid(): pass + + def test_wpa3_enterprise_ssid(): - pass \ No newline at end of file + pass diff --git a/libs/cloudsdk/conftest.py b/libs/cloudsdk/conftest.py deleted file mode 100644 index 811b07826..000000000 --- a/libs/cloudsdk/conftest.py +++ /dev/null @@ -1,78 +0,0 @@ -# import files in the current directory -import sys -import os -sys.path.append( - os.path.dirname( - os.path.realpath( __file__ ) - ) -) - -import pytest -from configuration_data import PROFILE_DATA - -def pytest_addoption(parser): - parser.addini("jfrog-base-url", "jfrog base url") - parser.addini("jfrog-user-id", "jfrog username") - parser.addini("jfrog-user-password", "jfrog password") - parser.addini("sdk-base-url", "cloud sdk base url") - parser.addini("sdk-user-id", "cloud sdk username") - parser.addini("sdk-user-password", "cloud sdk user password") - parser.addini("sdk-customer-id", "cloud sdk customer id for the access points") - parser.addini("testrail-base-url", "testrail base url") - parser.addini("testrail-project", "testrail project name to use to generate test reports") - parser.addini("testrail-user-id", "testrail username") - parser.addini("testrail-user-password", "testrail user password") - parser.addini("lanforge-ip-address", "LANforge ip address to connect to") - parser.addini("lanforge-port-number", "LANforge port number to connect to") - parser.addini("lanforge-radio", "LANforge radio to use") - parser.addini("lanforge-ethernet-port", "LANforge ethernet adapter to use") - - # change behaviour - parser.addoption( - "--skip-update-firmware", - action="store_true", - default=False, - help="skip updating firmware on the AP (useful for local testing)" - ) - # this has to be the last argument - # example: --access-points ECW5410 EA8300-EU - parser.addoption( - "--access-points", - nargs="+", - default=[ "ECW5410" ], - help="list of access points to test" - ) - -def pytest_generate_tests(metafunc): - metafunc.parametrize("access_points", metafunc.config.getoption('--access-points'), scope="session") - -# run something after all tests are done regardless of the outcome -def pytest_unconfigure(config): - print("Tests cleanup done") - -@pytest.fixture(scope="function") -def setup_cloudsdk(request, instantiate_cloudsdk): - def fin(): - print(f"Cloud SDK cleanup for {request.node.originalname}") - request.addfinalizer(fin) - yield PROFILE_DATA[request.node.originalname] - -@pytest.fixture(scope="session") -def update_firmware(request, instantiate_jFrog, instantiate_cloudsdk, retrieve_latest_image, access_points): - if request.config.getoption("--skip-update-firmware"): - return - yield "update_firmware" - -@pytest.fixture(scope="session") -def retrieve_latest_image(request, access_points): - if request.config.getoption("--skip-update-firmware"): - return - yield "retrieve_latest_image" - -@pytest.fixture(scope="session") -def instantiate_cloudsdk(request): - yield "instantiate_cloudsdk" - -@pytest.fixture(scope="session") -def instantiate_jFrog(request): - yield "instantiate_jFrog" \ No newline at end of file diff --git a/libs/cloudsdk/pytest.ini b/libs/cloudsdk/pytest.ini deleted file mode 100644 index 12fe0d2c2..000000000 --- a/libs/cloudsdk/pytest.ini +++ /dev/null @@ -1,29 +0,0 @@ -[pytest] -addopts= --junitxml=test_everything.xml -# jFrog parameters -jfrog-base-url=tip.jFrog.io/artifactory/tip-wlan-ap-firmware -jfrog-user-id=tip-read -jfrog-user-password=tip-read -# Cloud SDK parameters -sdk-base-url=wlan-portal-svc.cicd.lab.wlan.tip.build -sdk-user-id=support@example.com -sdk-user-password=support -# Testrails parameters -testrail-base-url=telecominfraproject.testrail.com -testrail-project=opsfleet-wlan -testrail-user-id=gleb@opsfleet.com -testrail-user-password=use_command_line_to_pass_this -# LANforge -lanforge-ip-address=localhost -lanforge-port-number=8080 -lanforge-radio=wiphy4 -lanforge-ethernet-port=eth2 - -# Cloud SDK settings -sdk-customer-id=2 - -markers = - UHF: marks tests as using 2.4 ghz frequency - SHF: marks tests as using 5.0 ghz frequency - open: marks tests as using no security - wpa2: marks tests as using wpa2 security \ No newline at end of file diff --git a/libs/cloudsdk/testbed_info.py b/libs/cloudsdk/testbed_info.py index 0d519cd75..694e517bb 100644 --- a/libs/cloudsdk/testbed_info.py +++ b/libs/cloudsdk/testbed_info.py @@ -1,6 +1,7 @@ """ A set of constants describing cloud controllers properties """ +import os SDK_BASE_URLS = { "nola-01": "https://wlan-portal-svc-nola-01.cicd.lab.wlan.tip.build", @@ -12,6 +13,11 @@ SDK_BASE_URLS = { } LOGIN_CREDENTIALS = { - "user_id": "support@example.com", + "userId": "support@example.com", "password": "support" +} + +JFROG_CREDENTIALS = { + "userId": os.getenv('JFROG_USER'), + "password": os.getenv('JFROG_PWD') } \ No newline at end of file diff --git a/libs/cloudsdk/.pylintrc b/tests/.pylintrc similarity index 100% rename from libs/cloudsdk/.pylintrc rename to tests/.pylintrc diff --git a/tests/Dockerfile b/tests/Dockerfile deleted file mode 100644 index 328c4c69c..000000000 --- a/tests/Dockerfile +++ /dev/null @@ -1,16 +0,0 @@ -FROM python:3.8 -WORKDIR /ci - -RUN apt update && apt install vim -y && rm -rf /var/lib/apt/lists/* -RUN pip3 install requests xlsxwriter pandas pytest - -COPY wlan-lanforge-scripts/py-json/LANforge /ci/LANforge/ -COPY wlan-lanforge-scripts/py-json/realm.py /ci/ -COPY wlan-lanforge-scripts/py-json/generic_cx.py /ci/ -COPY wlan-lanforge-scripts/py-scripts/sta_connect2.py /ci/ -COPY wlan-testing/pytest/conftest.py /ci/ -COPY wlan-testing/pytest/test* /ci/ -COPY wlan-testing/pytest/pytest.ini /ci/ -COPY wlan-testing/pytest/helpers /ci/helpers/ - -ENTRYPOINT [ "pytest" ] diff --git a/tests/EXAMPLE-USAGE.txt b/tests/EXAMPLE-USAGE.txt deleted file mode 100644 index 6a9cf30cd..000000000 --- a/tests/EXAMPLE-USAGE.txt +++ /dev/null @@ -1,35 +0,0 @@ -# This assumes you have ssh tunnels set up as suggested in ../tools/USAGE_EXAMPLES.txt - -# Attempt to run pytest against nola-12. Doesn't work, cloud is down, but of course maybe more problems too. - -pytest test_24ghz.py --testrail-user-id NONE --ap-jumphost-address localhost --ap-jumphost-port 8823 \ - --ap-jumphost-password pumpkin77 --ap-jumphost-tty /dev/ttyAP1 --lanforge-ip-address localhost --lanforge-port-number 8822 \ - --default-ap-profile TipWlan-2-Radios --sdk-base-url https://wlan-portal-svc-nola-01.cicd.lab.wlan.tip.build \ - --skip-radius --skip-wpa --verbose --testbed "NOLA-12c" --ssid-5g-wpa2 Default-SSID-5gl --psk-5g-wpa2 12345678 \ - --ssid-2g-wpa2 Default-SSID-2g --psk-2g-wpa2 12345678 --mode bridge --access-points wf188n - - -# Run nightly against NOLA-01 - -./Nightly_Sanity.py --testrail-user-id NONE --model ecw5410 --ap-jumphost-address localhost --ap-jumphost-port 8803 \ - --ap-jumphost-password pumpkin77 --ap-jumphost-tty /dev/ttyAP1 --skip-upgrade True --testbed "NOLA-01h" \ - --lanforge-ip-address localhost --lanforge-port-number 8802 --default_ap_profile TipWlan-2-Radios \ - --skip_radius --lanforge-2g-radio 1.1.wiphy4 --lanforge-5g-radio 1.1.wiphy5 \ - --sdk-base-url https://wlan-portal-svc-nola-01.cicd.lab.wlan.tip.build - - -# Run nightly against NOLA-04 from lab-ctlr itself. - -./Nightly_Sanity.py --testrail-user-id NONE --model ecw5410 --ap-jumphost-address localhost --ap-jumphost-port 22 \ - --ap-jumphost-password pumpkin77 --ap-jumphost-tty /dev/ttyAP4 --skip-upgrade True --testbed "NOLA-04ben" \ - --lanforge-ip-address lf4 --lanforge-port-number 8080 --default_ap_profile TipWlan-2-Radios \ - --skip_radius --lanforge-2g-radio 1.1.wiphy4 --lanforge-5g-radio 1.1.wiphy5 \ - --sdk-base-url https://wlan-portal-svc-nola-04.cicd.lab.wlan.tip.build - -# Run nightly against NOLA-04 from dev machine with ssh tunnel. - -./Nightly_Sanity.py --testrail-user-id NONE --model ecw5410 --ap-jumphost-address localhost --ap-jumphost-port 8813 \ - --ap-jumphost-password pumpkin77 --ap-jumphost-tty /dev/ttyAP4 --skip-upgrade True --testbed "NOLA-04ben" \ - --lanforge-ip-address localhost --lanforge-port-number 8812 --default_ap_profile TipWlan-2-Radios \ - --skip_radius --lanforge-2g-radio 1.1.wiphy4 --lanforge-5g-radio 1.1.wiphy5 \ - --sdk-base-url https://wlan-portal-svc-nola-04.cicd.lab.wlan.tip.build diff --git a/tests/Nightly_Sanity.py b/tests/Nightly_Sanity.py deleted file mode 100755 index d8a96489e..000000000 --- a/tests/Nightly_Sanity.py +++ /dev/null @@ -1,487 +0,0 @@ -#!/usr/bin/python3 - -import sys - -if "libs" not in sys.path: - sys.path.append("../libs") - -from UnitTestBase import * - - -class NightlySanity: - - def __init__(self, args=None, base=None, lanforge_data=None, test=None, reporting=None, build=None): - - self.args = args - self.model = self.args.model - self.client: TestRail_Client = TestRail_Client(args) - self.logger = base.logger - self.rid = None - # Get Cloud Bearer Token - self.cloud: CloudSDK = CloudSDK(args) - cloud_type = "v1" - self.bearer = self.cloud.get_bearer(args.sdk_base_url, cloud_type) - self.customer_id = "2" - self.test = test - self.reporting = reporting - self.lanforge_data = lanforge_data - if lanforge_data is None: - exit() - self.cloud_sdk_models = { - "ec420": "EC420-G1", - "ea8300": "EA8300-CA", - "ecw5211": "ECW5211", - "ecw5410": "ECW5410", - "wf188n": "WF188N" - } - self.jfrog_build = build - self.ap_object = None - self.equipment_id = self.args.equipment_id - - self.report_data = dict() - self.ap_cli_info = get_ap_info(self.args) - self.ap_current_fw = self.ap_cli_info['active_fw'] - self.report_data = dict() - self.firmware = {} - - if self.equipment_id == "-1": - eq_id = ap_ssh_ovsh_nodec(args, 'id') - print("EQ Id: %s" % (eq_id)) - - # Now, query equipment to find something that matches. - eq = self.cloud.get_customer_equipment(self.customer_id) - for item in eq: - for e in item['items']: - print(e['id'], " ", e['inventoryId']) - if e['inventoryId'].endswith("_%s" % (eq_id)): - print("Found equipment ID: %s inventoryId: %s", - e['id'], e['inventoryId']) - self.equipment_id = str(e['id']) - if self.equipment_id == "-1": - print("ERROR: Could not find equipment-id.") - exit() - - def configure_dut(self): - - # Check for latest Firmware - latest_fw = self.jfrog_build.check_latest_fw(self.model) - if latest_fw is None: - print("AP Model doesn't match the available Models") - exit() - self.firmware = { - "latest": latest_fw, - "current": self.ap_current_fw - } - - # Create Test session - self.create_test_run_session() - key = self.args.model; # TODO: Not sure about this. - - # Check if AP needs Upgrade - if (self.firmware["current"] is not None) and self.firmware["latest"] != self.firmware["current"]: - do_upgrade = self.cloud.should_upgrade_ap_fw(self.args.force_upgrade, self.args.skip_upgrade, self.report_data, - self.firmware["latest"], - self.args.model, - self.firmware["current"], self.logger, key) - - elif (self.firmware["current"] is not None) and self.firmware["latest"] == self.firmware["current"]: - do_upgrade = False - print("AP ia already having Latest Firmware...") - - else: - print("Skipping this Profile") - exit() - - # Upgrade the Firmware on AP - if do_upgrade: - - cloud_model = self.cloud_sdk_models[self.args.model] - pf = self.cloud.do_upgrade_ap_fw(self.args, self.report_data, test_cases, self.client, - self.firmware["latest"], cloud_model, self.args.model, - self.args.jfrog_user_id, self.args.jfrog_user_password, self.rid, - self.customer_id, self.equipment_id, self.logger) - print(self.report_data) - if not pf: - exit() - - return self.firmware - - def create_test_run_session(self): - today = str(date.today()) - case_ids = list(test_cases.values()) - proj_id = self.client.get_project_id(project_name=self.args.testrail_project) - test_run_name = self.args.testrail_run_prefix + self.model + "_" + today + "_" + self.firmware["latest"] - self.client.create_testrun(name=test_run_name, case_ids=case_ids, project_id=proj_id, - milestone_id=self.args.milestone, - description="Automated Nightly Sanity test run for new firmware build") - self.rid = self.client.get_run_id(test_run_name=self.args.testrail_run_prefix + self.model + "_" + today + "_" + self.firmware["latest"]) - print("TIP run ID is:", self.rid) - - def start_test(self): - if True: - # Check AP Manager Status - manager_status = self.ap_cli_info['state'] - print(manager_status) - """ - if manager_status != "active": - print("Manager status is " + manager_status + "! Not connected to the cloud.") - print("Waiting 30 seconds and re-checking status") - time.sleep(30) - ap_cli_info = ssh_cli_active_fw(self.args) - manager_status = ap_cli_info['state'] - if manager_status != "active": - print("Manager status is", manager_status, "! Not connected to the cloud.") - print("Manager status fails multiple checks - failing test case.") - # fail cloud connectivity testcase - self.client.update_testrail(case_id=test_cases["cloud_connection"], run_id=self.rid, - status_id=5, - msg='CloudSDK connectivity failed') - self.report_data['tests'][self.model][test_cases["cloud_connection"]] = "failed" - print(self.report_data['tests'][self.model]) - - else: - print("Manager status is Active. Proceeding to connectivity testing!") - # TC522 pass in Testrail - self.client.update_testrail(case_id=test_cases["cloud_connection"], run_id=self.rid, status_id=1, - msg='Manager status is Active') - self.report_data['tests'][self.model][test_cases["cloud_connection"]] = "passed" - print(self.report_data['tests'][self.model]) - else: - print("Manager status is Active. Proceeding to connectivity testing!") - # TC5222 pass in testrail - self.client.update_testrail(case_id=test_cases["cloud_connection"], run_id=self.rid, status_id=1, - msg='Manager status is Active') - self.report_data['tests'][self.model][test_cases["cloud_connection"]] = "passed" - print(self.report_data['tests'][self.model]) - # Pass cloud connectivity test case - """ - # Update in reporting - self.reporting.update_json_report(self.report_data) - - self.ap_object = CreateAPProfiles(self.args, cloud=self.cloud, client=self.client, fw_model=self.model) - # - # # Logic to create AP Profiles (Bridge Mode) - nprefix = "%s-Nightly"%(self.args.testbed) - self.ap_object.set_ssid_psk_data(ssid_2g_wpa="%s-SSID-2G-WPA"%(nprefix), - ssid_5g_wpa="%s-SSID-5G-WPA"%(nprefix), - psk_2g_wpa="%s_2g_wpa"%(nprefix), - psk_5g_wpa="%s_5g_wpa"%(nprefix), - ssid_2g_wpa2="%s-SSID-2G-WPA2"%(nprefix), - ssid_5g_wpa2="%s-SSID-5G-WPA2"%(nprefix), - psk_2g_wpa2="%s_2g_wpa2"%(nprefix), - psk_5g_wpa2="%s_5g_wpa2"%(nprefix)) - - print("creating Profiles") - ssid_template = "TipWlan-Cloud-Wifi" - - if not self.args.skip_profiles: - if not self.args.skip_radius: - radius_name = "Automation_Radius_Nightly-01" - radius_template = "templates/radius_profile_template.json" - self.ap_object.create_radius_profile(radius_name=radius_name, radius_template=radius_template, rid=self.rid, - key=self.model) - self.ap_object.create_ssid_profiles(ssid_template=ssid_template, skip_eap=True, mode="bridge") - - print("Create AP with equipment-id: ", self.equipment_id) - self.ap_object.create_ap_profile(eq_id=self.equipment_id, fw_model=self.model, mode="bridge") - self.ap_object.validate_changes(mode="bridge") - - print("Profiles Created") - - self.test_2g(mode="bridge") - self.test_5g(mode="bridge") - - time.sleep(10) - self.reporting.update_json_report(report_data=self.ap_object.report_data) - - self.ap_object = CreateAPProfiles(self.args, cloud=self.cloud, client=self.client, fw_model=self.model) - - # Logic to create AP Profiles (NAT Mode) - self.ap_object.set_ssid_psk_data(ssid_2g_wpa="%s-SSID-NAT-2G-WPA"%(nprefix), - ssid_5g_wpa="%s-SSID-NAT-5G-WPA"%(nprefix), - psk_2g_wpa="%s_2g_nat_wpa"%(nprefix), - psk_5g_wpa="%s_5g_nat_wpa"%(nprefix), - ssid_2g_wpa2="%s-SSID-NAT-2G-WPA2"%(nprefix), - ssid_5g_wpa2="%s-SSID-NAT-5G-WPA2"%(nprefix), - psk_2g_wpa2="%s_2g_nat_wpa2"%(nprefix), - psk_5g_wpa2="%s_5g_nat_wpa2"%(nprefix)) - - print("creating Profiles") - ssid_template = "TipWlan-Cloud-Wifi" - - if not self.args.skip_profiles: - if not self.args.skip_radius: - # Radius Profile needs to be set here - # obj.create_radius_profile(radius_name, rid, key) - pass - self.ap_object.create_ssid_profiles(ssid_template=ssid_template, mode="nat") - - print("Create AP with equipment-id: ", self.equipment_id) - self.ap_object.create_ap_profile(eq_id=self.equipment_id, fw_model=self.model, mode="nat") - self.ap_object.validate_changes(mode="nat") - - self.test_2g(mode="nat") - self.test_5g(mode="nat") - time.sleep(10) - self.reporting.update_json_report(report_data=self.ap_object.report_data) - - def setup_report(self): - - self.report_data["cloud_sdk"] = dict.fromkeys(ap_models, "") - for key in self.report_data["cloud_sdk"]: - self.report_data["cloud_sdk"][key] = { - "date": "N/A", - "commitId": "N/A", - "projectVersion": "N/A" - } - self.report_data["fw_available"] = dict.fromkeys(ap_models, "Unknown") - self.report_data["fw_under_test"] = dict.fromkeys(ap_models, "N/A") - self.report_data['pass_percent'] = dict.fromkeys(ap_models, "") - - self.report_data['tests'] = dict.fromkeys(ap_models, "") - for key in ap_models: - self.report_data['tests'][key] = dict.fromkeys(test_cases.values(), "not run") - - print(self.report_data) - - self.reporting.update_json_report(report_data=self.report_data) - - def test_2g(self, mode="bridge"): - - if not self.args.skip_radius: - # Run Client Single Connectivity Test Cases for Bridge SSIDs - # TC5214 - 2.4 GHz WPA2-Enterprise - test_case = test_cases["2g_eap_" + mode] - radio = command_line_args.lanforge_2g_radio - sta_list = [lanforge_prefix + "5214"] - ssid_name = ssid_2g_eap; - security = "wpa2" - eap_type = "TTLS" - try: - test_result = self.test.Single_Client_EAP(port, sta_list, ssid_name, radio, security, eap_type, - identity, ttls_password, test_case, rid, client, logger) - except: - test_result = "error" - self.test.testrail_retest(test_case, rid, ssid_name, client, logger) - pass - report_data['tests'][key][int(test_case)] = test_result - print(report_data['tests'][key]) - - time.sleep(10) - - # Run Client Single Connectivity Test Cases for Bridge SSIDs - # TC - 2.4 GHz WPA2 - test_case = test_cases["2g_wpa2_" + mode] - station = [self.lanforge_data['prefix'] + "2237"] - ssid_name = self.ap_object.ssid_data['2g']['wpa2'][mode] - ssid_psk = self.ap_object.psk_data['2g']['wpa2'][mode] - security = "wpa2" - upstream_port = "eth2" - print(self.lanforge_data['port']) - - try: - test_result = self.test.Single_Client_Connectivity(upstream_port=upstream_port, - radio=self.lanforge_data['2g_radio'], - ssid=ssid_name, - passkey=ssid_psk, - security=security, - station_name=station, test_case=test_case, rid=self.rid, - client=self.client, logger=self.logger) - except: - test_result = "error" - self.test.testrail_retest(test_case, self.rid, ssid_name, self.client, self.logger) - pass - self.report_data['tests'][self.model][int(test_case)] = test_result - print(self.report_data['tests'][self.model]) - - time.sleep(10) - - # TC - 2.4 GHz WPA - test_case = test_cases["2g_wpa_" + mode] - station = [self.lanforge_data['prefix'] + "2420"] - ssid_name = self.ap_object.ssid_data['2g']['wpa'][mode] - ssid_psk = self.ap_object.psk_data['2g']['wpa'][mode] - security = "wpa" - upstream_port = "eth2" - print(self.lanforge_data['port']) - try: - test_result = self.test.Single_Client_Connectivity(upstream_port=upstream_port, - radio=self.lanforge_data['2g_radio'], - ssid=ssid_name, - passkey=ssid_psk, - security=security, - station_name=station, test_case=test_case, rid=self.rid, - client=self.client, logger=self.logger) - except: - test_result = "error" - self.test.testrail_retest(test_case, self.rid, ssid_name, self.client, self.logger) - pass - self.report_data['tests'][self.model][int(test_case)] = test_result - print(self.report_data['tests'][self.model]) - - time.sleep(10) - - def test_5g(self, mode="bridge"): - if not self.args.skip_radius: - # TC - 5 GHz WPA2-Enterprise - test_case = self.test_cases["5g_eap_" + mode] - radio = lanforge_5g_radio - sta_list = [lanforge_prefix + "5215"] - ssid_name = ssid_5g_eap - security = "wpa2" - eap_type = "TTLS" - try: - test_result = Test.Single_Client_EAP(port, sta_list, ssid_name, radio, security, eap_type, - identity, ttls_password, test_case, rid, client, logger) - except: - test_result = "error" - Test.testrail_retest(test_case, rid, ssid_name, client, logger) - pass - report_data['tests'][key][int(test_case)] = test_result - print(report_data['tests'][key]) - - time.sleep(10) - - # TC 5 GHz WPA2 - test_case = test_cases["5g_wpa2_" + mode] - station = [self.lanforge_data['prefix'] + "2236"] - ssid_name = self.ap_object.ssid_data['5g']['wpa2'][mode] - ssid_psk = self.ap_object.psk_data['5g']['wpa2'][mode] - security = "wpa2" - upstream_port = "eth2" - try: - test_result = self.test.Single_Client_Connectivity(upstream_port=upstream_port, - radio=self.lanforge_data['5g_radio'], - ssid=ssid_name, - passkey=ssid_psk, - security=security, - station_name=station, test_case=test_case, rid=self.rid, - client=self.client, logger=self.logger) - except: - test_result = "error" - self.test.testrail_retest(test_case, self.rid, ssid_name, self.client, self.logger) - pass - self.report_data['tests'][self.model][int(test_case)] = test_result - print(self.report_data['tests'][self.model]) - - time.sleep(10) - - # # TC - 5 GHz WPA - test_case = test_cases["5g_wpa_" + mode] - station = [self.lanforge_data['prefix'] + "2419"] - ssid_name = self.ap_object.ssid_data['5g']['wpa'][mode] - ssid_psk = self.ap_object.psk_data['5g']['wpa'][mode] - security = "wpa" - upstream_port = "eth2" - try: - test_result = self.test.Single_Client_Connectivity(upstream_port=upstream_port, - radio=self.lanforge_data['5g_radio'], - ssid=ssid_name, - passkey=ssid_psk, - security=security, - station_name=station, test_case=test_case, rid=self.rid, - client=self.client, logger=self.logger) - except: - test_result = "error" - self.test.testrail_retest(test_case, self.rid, ssid_name, self.client, self.logger) - pass - self.report_data['tests'][self.model][int(test_case)] = test_result - print(self.report_data['tests'][self.model]) - - time.sleep(10) - - -def main(): - parser = argparse.ArgumentParser(description="Nightly Combined Tests", add_help=False) - parser.add_argument("--default_ap_profile", type=str, - help="Default AP profile to use as basis for creating new ones, typically: TipWlan-2-Radios or TipWlan-3-Radios", - required=True) - parser.add_argument("--skip_radius", dest="skip_radius", action='store_true', - help="Should we skip the RADIUS configs or not") - parser.add_argument("--skip_profiles", dest="skip_profiles", action='store_true', - help="Should we skip applying profiles?") - parser.add_argument("--skip_wpa", dest="skip_wpa", action='store_false', - help="Should we skip applying profiles?") - parser.add_argument("--skip_wpa2", dest="skip_wpa2", action='store_false', - help="Should we skip applying profiles?") - parser.add_argument("--skip_eap", dest="skip_eap", action='store_false', - help="Should we skip applying profiles?") - - reporting = Reporting(reports_root=os.getcwd() + "/reports/") - base = UnitTestBase("query-sdk", parser, reporting) - command_line_args = base.command_line_args - - # cmd line takes precedence over env-vars. - cloudsdk_url = command_line_args.sdk_base_url # was os.getenv('CLOUD_SDK_URL') - - local_dir = command_line_args.local_dir # was os.getenv('SANITY_LOG_DIR') - report_path = command_line_args.report_path # was os.getenv('SANITY_REPORT_DIR') - report_template = command_line_args.report_template # was os.getenv('REPORT_TEMPLATE') - - # TestRail Information - tr_user = command_line_args.testrail_user_id # was os.getenv('TR_USER') - tr_pw = command_line_args.testrail_user_password # was os.getenv('TR_PWD') - milestone_id = command_line_args.milestone # was os.getenv('MILESTONE') - project_id = command_line_args.testrail_project # was os.getenv('PROJECT_ID') - test_run_prefix = command_line_args.testrail_run_prefix # os.getenv('TEST_RUN_PREFIX') - - # Jfrog credentials - jfrog = { - "user": command_line_args.jfrog_user_id, # was os.getenv('JFROG_USER') - "pass": command_line_args.jfrog_user_password # was os.getenv('JFROG_PWD') - } - - # EAP Credentials - eap_cred = { - "identity": command_line_args.eap_id, - "ttls_password": command_line_args.ttls_password - } - - # AP Credentials - ap_cred = { - "username": command_line_args.ap_username - } - - # LANForge Information - lanforge = { - "ip": command_line_args.lanforge_ip_address, - "port": command_line_args.lanforge_port_number, - "prefix": command_line_args.lanforge_prefix, - "2g_radio": command_line_args.lanforge_2g_radio, - "5g_radio": command_line_args.lanforge_5g_radio - } - - build = command_line_args.build_id - - logger = base.logger - hdlr = base.hdlr - - if command_line_args.testbed is None: - print("ERROR: Must specify --testbed argument for this test.") - sys.exit(1) - - print("Start of Sanity Testing...") - print("Testing Latest Build with Tag: " + build) - if command_line_args.skip_upgrade: - print("Will skip upgrading AP firmware...") - - # Testrail Project and Run ID Information - - test = RunTest(lanforge_ip=lanforge["ip"], lanforge_port=lanforge["port"], lanforge_prefix=lanforge["prefix"]) - - build_obj = GetBuild(jfrog['user'], jfrog['pass'], build) - - # sanity_status = json.load(open("sanity_status.json")) - obj = NightlySanity(args=command_line_args, base=base, lanforge_data=lanforge, test=test, reporting=reporting, - build=build_obj) - obj.configure_dut() - - proj_id = obj.client.get_project_id(project_name=project_id) - print("TIP WLAN Project ID is:", proj_id) - logger.info('Start of Nightly Sanity') - obj.setup_report() - obj.start_test() - - -if __name__ == "__main__": - main() diff --git a/tests/README.md b/tests/README.md deleted file mode 100644 index 515f4c7e3..000000000 --- a/tests/README.md +++ /dev/null @@ -1,2 +0,0 @@ -## Testcases -This directory contains the automated test cases for the TIP Open Wi-Fi Solution diff --git a/tests/Throughput_Test.py b/tests/Throughput_Test.py deleted file mode 100755 index cffcf93f0..000000000 --- a/tests/Throughput_Test.py +++ /dev/null @@ -1,530 +0,0 @@ -import csv -import sys -import time -import datetime -from datetime import date -import json -import os -import logging - -import single_client_throughput -import cloudsdk -from cloudsdk import CloudSDK -import lab_ap_info - -cloudSDK_url=os.getenv('CLOUD_SDK_URL') -station = ["tput5000"] -runtime = 10 -csv_path=os.getenv('CSV_PATH') -bridge_upstream_port = "eth2" -nat_upstream_port = "eth2" -vlan_upstream_port = "vlan100" - -#EAP Credentials -identity=os.getenv('EAP_IDENTITY') -ttls_password=os.getenv('EAP_PWD') - -local_dir=os.getenv('TPUT_LOG_DIR') -logger = logging.getLogger('Throughput_Test') -hdlr = logging.FileHandler(local_dir+"/Throughput_Testing.log") -formatter = logging.Formatter('%(asctime)s %(levelname)s %(message)s') -hdlr.setFormatter(formatter) -logger.addHandler(hdlr) -logger.setLevel(logging.INFO) - - -if sys.version_info[0] != 3: - print("This script requires Python 3") - exit(1) - -if 'py-json' not in sys.path: - sys.path.append('../../py-json') - -def throughput_csv(csv_file, ssid_name, ap_model, mimo, firmware, security, mode, client_tput): - #parse client_tput list returned from single_client_throughput - udp_ds = client_tput[0].partition(": ")[2] - udp_us = client_tput[1].partition(": ")[2] - tcp_ds = client_tput[2].partition(": ")[2] - tcp_us = client_tput[3].partition(": ")[2] - # Find band for CSV ---> This code is not great, it SHOULD get that info from LANForge! - if "5G" in ssid_name: - frequency = "5 GHz" - elif "2dot4G" in ssid_name: - frequency = "2.4 GHz" - else: - frequency = "Unknown" - # Append row to top of CSV file - row = [ap_model, firmware, frequency, mimo, security, mode, udp_ds, udp_us, tcp_ds, tcp_us] - with open(csv_file, 'r') as readFile: - reader = csv.reader(readFile) - lines = list(reader) - lines.insert(1, row) - with open(csv_file, 'w') as writeFile: - writer = csv.writer(writeFile) - writer.writerows(lines) - readFile.close() - writeFile.close() - -#Import dictionaries for AP Info -from lab_ap_info import equipment_id_dict -from lab_ap_info import profile_info_dict -from lab_ap_info import ap_models -from lab_ap_info import mimo_2dot4g -from lab_ap_info import mimo_5g -from lab_ap_info import customer_id -from lab_ap_info import cloud_type -#import json file to determine if throughput should be run for specific AP model -sanity_status = json.load(open("sanity_status.json")) - -#create CSV file for test run -today = str(date.today()) -csv_file = csv_path+"throughput_test_"+today+".csv" -headers = ['AP Type', 'Firmware','Radio', 'MIMO', 'Security', 'Mode', 'UDP Downstream (Mbps)', 'UDP Upstream (Mbps)', 'TCP Downstream (Mbps)', 'TCP Upstream (Mbps)'] -with open(csv_file, "w") as file: - create = csv.writer(file) - create.writerow(headers) - file.close() - -ap_firmware_dict = { - "ea8300": '', - "ecw5211": '', - "ecw5410": '', - "ec420": '' -} - -logger.info('Start of Throughput Test') - -for key in equipment_id_dict: - if sanity_status['sanity_status'][key] == "passed": - logger.info("Running throughput test on " + key) - ##Get Bearer Token to make sure its valid (long tests can require re-auth) - bearer = CloudSDK.get_bearer(cloudSDK_url, cloud_type) - ###Get Current AP Firmware - equipment_id = equipment_id_dict[key] - ap_fw = CloudSDK.ap_firmware(customer_id, equipment_id, cloudSDK_url, bearer) - fw_model = ap_fw.partition("-")[0] - print("AP MODEL UNDER TEST IS", fw_model) - print('Current AP Firmware:', ap_fw) - ##add current FW to dictionary - ap_firmware_dict[fw_model] = ap_fw - - ########################################################################### - ############## Bridge Throughput Testing ################################# - ########################################################################### - print("Testing for Bridge SSIDs") - logger.info("Starting Brdige SSID tput tests on " + key) - ###Set Proper AP Profile for Bridge SSID Tests - test_profile_id = profile_info_dict[fw_model]["profile_id"] - #print(test_profile_id) - ap_profile = CloudSDK.set_ap_profile(equipment_id, test_profile_id, cloudSDK_url, bearer) - ### Wait for Profile Push - print('-----------------PROFILE PUSH -------------------') - time.sleep(180) - - ##Set port for LANForge - port = bridge_upstream_port - - # 5G WPA2 Enterprise UDP DS/US and TCP DS/US - ap_model = fw_model - firmware = ap_fw - sta_list = station - radio = lab_ap_info.lanforge_5g - ssid_name = profile_info_dict[fw_model]["fiveG_WPA2-EAP_SSID"] - security = "wpa2" - eap_type = "TTLS" - mode = "Bridge" - mimo = mimo_5g[fw_model] - client_tput = single_client_throughput.eap_tput(sta_list, ssid_name, radio, security, eap_type, identity, ttls_password, port) - print(fw_model, "5 GHz WPA2-EAP throughput:\n", client_tput) - security = "wpa2-eap" - throughput_csv(csv_file, ssid_name, ap_model, mimo, firmware, security, mode, client_tput) - - #5G WPA2 UDP DS/US and TCP DS/US - ap_model = fw_model - firmware = ap_fw - radio = lab_ap_info.lanforge_5g - ssid_name = profile_info_dict[fw_model]["fiveG_WPA2_SSID"] - ssid_psk = profile_info_dict[fw_model]["fiveG_WPA2_PSK"] - security = "wpa2" - mode = "Bridge" - mimo = mimo_5g[fw_model] - client_tput = single_client_throughput.main(ap_model, firmware, radio, ssid_name, ssid_psk, security, station, runtime, port) - print(fw_model, "5 GHz WPA2 throughput:\n",client_tput) - security = "wpa2-psk" - throughput_csv(csv_file, ssid_name, ap_model, mimo, firmware, security, mode, client_tput) - - # 5G WPA UDP DS/US and TCP DS/US - ap_model = fw_model - firmware = ap_fw - radio = lab_ap_info.lanforge_5g - ssid_name = profile_info_dict[fw_model]["fiveG_WPA_SSID"] - ssid_psk = profile_info_dict[fw_model]["fiveG_WPA_PSK"] - security = "wpa" - mode = "Bridge" - mimo = mimo_5g[fw_model] - client_tput = single_client_throughput.main(ap_model, firmware, radio, ssid_name, ssid_psk, security, station, runtime, port) - print(fw_model, "5 GHz WPA throughput:\n",client_tput) - security = "wpa-psk" - throughput_csv(csv_file, ssid_name, ap_model, mimo, firmware, security, mode, client_tput) - - # 5G Open UDP DS/US and TCP DS/US - # ap_model = fw_model - # firmware = ap_fw - # radio = lab_ap_info.lanforge_5g - # ssid_name = profile_info_dict[fw_model]["fiveG_OPEN_SSID"] - # ssid_psk = "BLANK" - # security = "open" - #mode = "Bridge" - #mimo = mimo_5g[fw_model] - # client_tput = single_client_throughput.main(ap_model, firmware, radio, ssid_name, ssid_psk, security, station, runtime, port) - #print(fw_model, "5 GHz Open throughput:\n",client_tput) - #throughput_csv(csv_file, ssid_name, ap_model, mimo, firmware, security, mode, client_tput) - - # 2.4G WPA2 Enterprise UDP DS/US and TCP DS/US - ap_model = fw_model - firmware = ap_fw - sta_list = station - radio = lab_ap_info.lanforge_2dot4g - ssid_name = profile_info_dict[fw_model]["twoFourG_WPA2-EAP_SSID"] - security = "wpa2" - eap_type = "TTLS" - mode = "Bridge" - mimo = mimo_2dot4g[fw_model] - client_tput = single_client_throughput.eap_tput(sta_list, ssid_name, radio, security, eap_type, identity, - ttls_password, port) - print(fw_model, "2.4 GHz WPA2-EAP throughput:\n", client_tput) - security = "wpa2-eap" - throughput_csv(csv_file, ssid_name, ap_model, mimo, firmware, security, mode, client_tput) - - # 2.4G WPA2 UDP DS/US and TCP DS/US - ap_model = fw_model - firmware = ap_fw - radio = lab_ap_info.lanforge_2dot4g - ssid_name = profile_info_dict[fw_model]["twoFourG_WPA2_SSID"] - ssid_psk = profile_info_dict[fw_model]["twoFourG_WPA2_PSK"] - security = "wpa2" - mode = "Bridge" - mimo = mimo_2dot4g[fw_model] - client_tput = single_client_throughput.main(ap_model, firmware, radio, ssid_name, ssid_psk, security, station, runtime, port) - print(fw_model, "2.4 GHz WPA2 throughput:\n",client_tput) - security = "wpa2-psk" - throughput_csv(csv_file, ssid_name, ap_model, mimo, firmware, security, mode, client_tput) - - # 2.4G WPA UDP DS/US and TCP DS/US - ap_model = fw_model - firmware = ap_fw - radio = lab_ap_info.lanforge_2dot4g - ssid_name = profile_info_dict[fw_model]["twoFourG_WPA_SSID"] - ssid_psk = profile_info_dict[fw_model]["twoFourG_WPA_PSK"] - security = "wpa" - mode = "Bridge" - mimo = mimo_2dot4g[fw_model] - client_tput = single_client_throughput.main(ap_model, firmware, radio, ssid_name, ssid_psk, security, station, runtime, port) - print(fw_model, "2.4 GHz WPA throughput:\n",client_tput) - security = "wpa-psk" - throughput_csv(csv_file, ssid_name, ap_model, mimo, firmware, security, mode, client_tput) - - # 2.4G Open UDP DS/US and TCP DS/US - #ap_model = fw_model - #firmware = ap_fw - # radio = lab_ap_info.lanforge_5g - # ssid_name = profile_info_dict[fw_model]["twoFourG_OPEN_SSID"] - # ssid_psk = "BLANK" - # security = "open" - #mode = "Bridge" - #mimo = mimo_2dot4g[fw_model] - #client_tput = single_client_throughput.main(ap_model, firmware, radio, ssid_name, ssid_psk, security, station, runtime, port) - #print(fw_model, "2.4 GHz Open throughput:\n",client_tput) - #throughput_csv(csv_file, ssid_name, ap_model, mimo, firmware, security, mode, client_tput) - - ########################################################################### - ################# NAT Mode Throughput Testing ############################ - ########################################################################### - print('Testing for NAT SSIDs') - logger.info("Starting NAT SSID tput tests on " + key) - ###Set Proper AP Profile for NAT SSID Tests - test_profile_id = profile_info_dict[fw_model + '_nat']["profile_id"] - print(test_profile_id) - ap_profile = CloudSDK.set_ap_profile(equipment_id, test_profile_id, cloudSDK_url, bearer) - - ### Wait for Profile Push - print('-----------------PROFILE PUSH -------------------') - time.sleep(180) - - ##Set port for LANForge - port = nat_upstream_port - - # 5G WPA2 Enterprise UDP DS/US and TCP DS/US - ap_model = fw_model - firmware = ap_fw - sta_list = station - radio = lab_ap_info.lanforge_5g - ssid_name = profile_info_dict[fw_model+'_nat']["fiveG_WPA2-EAP_SSID"] - security = "wpa2" - eap_type = "TTLS" - mode = "NAT" - mimo = mimo_5g[fw_model] - client_tput = single_client_throughput.eap_tput(sta_list, ssid_name, radio, security, eap_type, identity, - ttls_password, port) - print(fw_model, "5 GHz WPA2-EAP NAT throughput:\n", client_tput) - security = "wpa2-eap" - throughput_csv(csv_file, ssid_name, ap_model, mimo, firmware, security, mode, client_tput) - - # 5G WPA2 NAT UDP DS/US and TCP DS/US - ap_model = fw_model - firmware = ap_fw - radio = lab_ap_info.lanforge_5g - ssid_name = profile_info_dict[fw_model+'_nat']["fiveG_WPA2_SSID"] - ssid_psk = profile_info_dict[fw_model+'_nat']["fiveG_WPA2_PSK"] - security = "wpa2" - mode = "NAT" - mimo = mimo_5g[fw_model] - client_tput = single_client_throughput.main(ap_model, firmware, radio, ssid_name, ssid_psk, security, station, runtime, port) - print(fw_model, "5 GHz WPA2 NAT throughput:\n", client_tput) - security = "wpa2-psk" - throughput_csv(csv_file, ssid_name, ap_model, mimo, firmware, security, mode, client_tput) - - # 5G WPA UDP DS/US and TCP DS/US - ap_model = fw_model - firmware = ap_fw - radio = lab_ap_info.lanforge_5g - ssid_name = profile_info_dict[fw_model+'_nat']["fiveG_WPA_SSID"] - ssid_psk = profile_info_dict[fw_model+'_nat']["fiveG_WPA_PSK"] - security = "wpa" - mode = "NAT" - mimo = mimo_5g[fw_model] - client_tput = single_client_throughput.main(ap_model, firmware, radio, ssid_name, ssid_psk, security, station, runtime, port) - print(fw_model, "5 GHz WPA NAT throughput:\n", client_tput) - security = "wpa-psk" - throughput_csv(csv_file, ssid_name, ap_model, mimo, firmware, security, mode, client_tput) - - # 5G Open UDP DS/US and TCP DS/US - # ap_model = fw_model - # firmware = ap_fw - # radio = lab_ap_info.lanforge_5g - # ssid_name = profile_info_dict[fw_model+'_nat']["fiveG_OPEN_SSID"] - # ssid_psk = "BLANK" - # security = "open" - # mode = "NAT" - #mimo = mimo_5g[fw_model] - # client_tput = single_client_throughput.main(ap_model, firmware, radio, ssid_name, ssid_psk, security, station, runtime, port) - # print(fw_model, "5 GHz Open NAT throughput:\n",client_tput) - # throughput_csv(csv_file, ssid_name, ap_model, mimo, firmware, security, mode, client_tput) - - # 2.4G WPA2 Enterprise UDP DS/US and TCP DS/US - ap_model = fw_model - firmware = ap_fw - sta_list = station - radio = lab_ap_info.lanforge_2dot4g - ssid_name = profile_info_dict[fw_model+'_nat']["twoFourG_WPA2-EAP_SSID"] - security = "wpa2" - eap_type = "TTLS" - mode = "NAT" - mimo = mimo_2dot4g[fw_model] - client_tput = single_client_throughput.eap_tput(sta_list, ssid_name, radio, security, eap_type, identity, ttls_password, port) - print(fw_model, "2.4 GHz WPA2-EAP NAT throughput:\n", client_tput) - security = "wpa2-eap" - throughput_csv(csv_file, ssid_name, ap_model, mimo, firmware, security, mode, client_tput) - - # 2.4G WPA2 UDP DS/US and TCP DS/US - ap_model = fw_model - firmware = ap_fw - radio = lab_ap_info.lanforge_2dot4g - ssid_name = profile_info_dict[fw_model+'_nat']["twoFourG_WPA2_SSID"] - ssid_psk = profile_info_dict[fw_model+'_nat']["twoFourG_WPA2_PSK"] - security = "wpa2" - mode = "NAT" - mimo = mimo_2dot4g[fw_model] - client_tput = single_client_throughput.main(ap_model, firmware, radio, ssid_name, ssid_psk, security, station, runtime, port) - print(fw_model, "2.4 GHz WPA2 NAT throughput:\n", client_tput) - security = "wpa2-psk" - throughput_csv(csv_file, ssid_name, ap_model, mimo, firmware, security, mode, client_tput) - - # 2.4G WPA UDP DS/US and TCP DS/US - ap_model = fw_model - firmware = ap_fw - radio = lab_ap_info.lanforge_2dot4g - ssid_name = profile_info_dict[fw_model+'_nat']["twoFourG_WPA_SSID"] - ssid_psk = profile_info_dict[fw_model+'_nat']["twoFourG_WPA_PSK"] - security = "wpa" - mode = "NAT" - mimo = mimo_2dot4g[fw_model] - client_tput = single_client_throughput.main(ap_model, firmware, radio, ssid_name, ssid_psk, security, station, runtime, port) - print(fw_model, "2.4 GHz WPA NAT throughput:\n", client_tput) - security = "wpa-psk" - throughput_csv(csv_file, ssid_name, ap_model, mimo, firmware, security, mode, client_tput) - - # 2.4G Open NAT UDP DS/US and TCP DS/US - # ap_model = fw_model - # firmware = ap_fw - # radio = lab_ap_info.lanforge_5g - # ssid_name = profile_info_dict[fw_model+'_nat']["twoFourG_OPEN_SSID"] - # ssid_psk = "BLANK" - # security = "open" - # mode = "NAT" - #mimo = mimo_2dot4g[fw_model] - # client_tput = single_client_throughput.main(ap_model, firmware, radio, ssid_name, ssid_psk, security, station, runtime, port) - # print(fw_model, "2.4 GHz Open NAT throughput:\n",client_tput) - # throughput_csv(csv_file, ssid_name, ap_model, mimo, firmware, security, mode, client_tput) - - ########################################################################### - ################# Custom VLAN Mode Throughput Testing ##################### - ########################################################################### - print('Testing for Custom VLAN SSIDs') - logger.info("Starting Custom VLAN SSID tput tests on " + key) - ###Set Proper AP Profile for NAT SSID Tests - test_profile_id = profile_info_dict[fw_model + '_vlan']["profile_id"] - print(test_profile_id) - ap_profile = CloudSDK.set_ap_profile(equipment_id, test_profile_id, cloudSDK_url, bearer) - - ### Wait for Profile Push - print('-----------------PROFILE PUSH -------------------') - time.sleep(180) - - ##Set port for LANForge - port = vlan_upstream_port - - # 5G WPA2 Enterprise UDP DS/US and TCP DS/US - ap_model = fw_model - firmware = ap_fw - sta_list = station - radio = lab_ap_info.lanforge_5g - ssid_name = profile_info_dict[fw_model + '_vlan']["fiveG_WPA2-EAP_SSID"] - security = "wpa2" - eap_type = "TTLS" - mode = "VLAN" - mimo = mimo_5g[fw_model] - client_tput = single_client_throughput.eap_tput(sta_list, ssid_name, radio, security, eap_type, identity, ttls_password, port) - print(fw_model, "5 GHz WPA2-EAP VLAN throughput:\n", client_tput) - security = "wpa2-eap" - throughput_csv(csv_file, ssid_name, ap_model, mimo, firmware, security, mode, client_tput) - - # 5G WPA2 VLAN UDP DS/US and TCP DS/US - ap_model = fw_model - firmware = ap_fw - radio = lab_ap_info.lanforge_5g - ssid_name = profile_info_dict[fw_model + '_vlan']["fiveG_WPA2_SSID"] - ssid_psk = profile_info_dict[fw_model + '_vlan']["fiveG_WPA2_PSK"] - security = "wpa2" - mode = "VLAN" - mimo = mimo_5g[fw_model] - client_tput = single_client_throughput.main(ap_model, firmware, radio, ssid_name, ssid_psk, security, station, runtime, port) - print(fw_model, "5 GHz WPA2 VLAN throughput:\n", client_tput) - security = "wpa2-psk" - throughput_csv(csv_file, ssid_name, ap_model, mimo, firmware, security, mode, client_tput) - - # 5G WPA UDP DS/US and TCP DS/US - ap_model = fw_model - firmware = ap_fw - radio = lab_ap_info.lanforge_5g - ssid_name = profile_info_dict[fw_model + '_vlan']["fiveG_WPA_SSID"] - ssid_psk = profile_info_dict[fw_model + '_vlan']["fiveG_WPA_PSK"] - security = "wpa" - mode = "VLAN" - mimo = mimo_5g[fw_model] - client_tput = single_client_throughput.main(ap_model, firmware, radio, ssid_name, ssid_psk, security, station, runtime, port) - print(fw_model, "5 GHz WPA VLAN throughput:\n", client_tput) - security = "wpa-psk" - throughput_csv(csv_file, ssid_name, ap_model, mimo, firmware, security, mode, client_tput) - - # 5G Open UDP DS/US and TCP DS/US - # ap_model = fw_model - # firmware = ap_fw - # radio = lab_ap_info.lanforge_5g - # ssid_name = profile_info_dict[fw_model+'_vlan']["fiveG_OPEN_SSID"] - # ssid_psk = "BLANK" - # security = "open" - # mode = "VLAN" - # mimo = mimo_5g[fw_model] - # client_tput = single_client_throughput.main(ap_model, firmware, radio, ssid_name, ssid_psk, security, station, runtime, port) - # print(fw_model, "5 GHz Open VLAN throughput:\n",client_tput) - # throughput_csv(csv_file, ssid_name, ap_model, mimo, firmware, security, mode, client_tput) - - # 2.4G WPA2 Enterprise UDP DS/US and TCP DS/US - ap_model = fw_model - firmware = ap_fw - sta_list = station - radio = lab_ap_info.lanforge_2dot4g - ssid_name = profile_info_dict[fw_model + '_vlan']["twoFourG_WPA2-EAP_SSID"] - security = "wpa2" - eap_type = "TTLS" - mode = "VLAN" - mimo = mimo_2dot4g[fw_model] - client_tput = single_client_throughput.eap_tput(sta_list, ssid_name, radio, security, eap_type, identity, ttls_password, port) - print(fw_model, "2.4 GHz WPA2-EAP VLAN throughput:\n", client_tput) - security = "wpa2-eap" - throughput_csv(csv_file, ssid_name, ap_model, mimo, firmware, security, mode, client_tput) - - # 2.4G WPA2 UDP DS/US and TCP DS/US - ap_model = fw_model - firmware = ap_fw - radio = lab_ap_info.lanforge_2dot4g - ssid_name = profile_info_dict[fw_model + '_vlan']["twoFourG_WPA2_SSID"] - ssid_psk = profile_info_dict[fw_model + '_vlan']["twoFourG_WPA2_PSK"] - security = "wpa2" - mode = "VLAN" - mimo = mimo_2dot4g[fw_model] - client_tput = single_client_throughput.main(ap_model, firmware, radio, ssid_name, ssid_psk, security, station, runtime, port) - print(fw_model, "2.4 GHz WPA2 VLAN throughput:\n", client_tput) - security = "wpa2-psk" - throughput_csv(csv_file, ssid_name, ap_model, mimo, firmware, security, mode, client_tput) - - # 2.4G WPA UDP DS/US and TCP DS/US - ap_model = fw_model - firmware = ap_fw - radio = lab_ap_info.lanforge_2dot4g - ssid_name = profile_info_dict[fw_model + '_vlan']["twoFourG_WPA_SSID"] - ssid_psk = profile_info_dict[fw_model + '_vlan']["twoFourG_WPA_PSK"] - security = "wpa" - mode = "VLAN" - mimo = mimo_2dot4g[fw_model] - client_tput = single_client_throughput.main(ap_model, firmware, radio, ssid_name, ssid_psk, security, station, runtime, port) - print(fw_model, "2.4 GHz WPA VLAN throughput:\n", client_tput) - security = "wpa-psk" - throughput_csv(csv_file, ssid_name, ap_model, mimo, firmware, security, mode, client_tput) - - # 2.4G Open VLAN UDP DS/US and TCP DS/US - # ap_model = fw_model - # firmware = ap_fw - # radio = lab_ap_info.lanforge_5g - # ssid_name = profile_info_dict[fw_model+'_vlan']["twoFourG_OPEN_SSID"] - # ssid_psk = "BLANK" - # security = "open" - # mode = "VLAN" - # mimo = mimo_2dot4g[fw_model] - # client_tput = single_client_throughput.main(ap_model, firmware, radio, ssid_name, ssid_psk, security, station, runtime, port) - # print(fw_model, "2.4 GHz Open VLAN throughput:\n",client_tput) - # throughput_csv(csv_file, ssid_name, ap_model, mimo, firmware, security, mode, client_tput) - - - #Indicates throughput has been run for AP model - sanity_status['sanity_status'][key] = "tput run" - logger.info("Trhoughput tests complete on " + key) - - elif sanity_status['sanity_status'][key] == "tput run": - print("Throughput test already run on", key) - logger.info("Throughput test already run on "+ key +" for latest AP FW") - - else: - print(key,"did not pass Nightly Sanity. Skipping throughput test on this AP Model") - logger.info(key+" did not pass Nightly Sanity. Skipping throughput test.") - -#Indicate which AP model has had tput test to external json file -with open('sanity_status.json', 'w') as json_file: - json.dump(sanity_status, json_file) - -with open(csv_file, 'r') as readFile: - reader = csv.reader(readFile) - lines = list(reader) - row_count = len(lines) - #print(row_count) - -if row_count <= 1: - os.remove(csv_file) - file.close() - -else: - print("Saving File") - file.close() - -print(" -- Throughput Testing Complete -- ") diff --git a/tests/UnitTestBase.py b/tests/UnitTestBase.py deleted file mode 100644 index d791c9a8a..000000000 --- a/tests/UnitTestBase.py +++ /dev/null @@ -1,406 +0,0 @@ -#!/usr/bin/python3 - -import sys - -if sys.version_info[0] != 3: - print("This script requires Python 3") - exit(1) - -for folder in 'py-json', 'py-scripts': - if folder not in sys.path: - sys.path.append(f'../lanforge/lanforge-scripts/{folder}') - -sys.path.append(f'../libs/lanforge') -sys.path.append(f'../libs/testrails') -sys.path.append(f'../libs/apnos') -sys.path.append(f'../libs/cloudsdk') -sys.path.append(f'../libs') -sys.path.append(f'../tests/test_utility/') - -import base64 -import urllib.request -from bs4 import BeautifulSoup -import ssl -import subprocess, os -from artifactory import ArtifactoryPath -import tarfile -import paramiko -from paramiko import SSHClient -from scp import SCPClient -import os -import pexpect -from pexpect import pxssh - -import paramiko -from scp import SCPClient -import pprint -from pprint import pprint -from os import listdir -import re -import requests -import json -import logging -import datetime -import time -from datetime import date -from shutil import copyfile -import argparse -from unittest.mock import Mock -from lf_tests import * -from ap_plus_sdk import * -from lab_ap_info import * -from JfrogHelper import * -from reporting import Reporting - -# For finding files -# https://stackoverflow.com/questions/3207219/how-do-i-list-all-files-of-a-directory -import glob - -# external_results_dir=/var/tmp/lanforge - -# To run this from your home system to NOLA-01 testbed, use this command. This assumes you have set up an ssh tunnel -# logged to the cicd jumphost that can reach the lab. In separate console to set up the ssh tunnel: ssh -C -L -# 7220:lab-ctlr:22 ubuntu@3.130.51.163 On local machine: -# ./query_ssids.py --testrail-user-id NONE --model ecw5410 -# --ap-jumphost-address localhost --ap-jumphost-port 7220 --ap-jumphost-password secret --ap-jumphost-tty /dev/ttyAP1 - - -import testrail_api - -from LANforge.LFUtils import * - -# if you lack __init__.py in this directory you will not find sta_connect module# - -import sta_connect2 -from sta_connect2 import StaConnect2 -import testrail_api -from testrail_api import TestRail_Client -import eap_connect -from eap_connect import EAPConnect -import cloudsdk -from cloudsdk import CloudSDK -from cloudsdk import CreateAPProfiles -import ap_ssh -from ap_ssh import * - -# Import info for lab setup and APs under test -import lab_ap_info -from lab_ap_info import cloud_sdk_models -from lab_ap_info import ap_models -from lab_ap_info import customer_id -from lab_ap_info import cloud_type -from lab_ap_info import test_cases -from lab_ap_info import radius_info - -# keep in sync with that below. -def add_base_parse_args(parser): - parser.add_argument("-b", "--build-id", type=str, - help="FW commit ID (latest pending build on dev is default)", - default="pending") - parser.add_argument("--skip-upgrade", type=bool, help="Skip upgrading firmware", - default=False) - parser.add_argument("--force-upgrade", type=bool, - help="Force upgrading firmware even if it is already current version", - default=False) - parser.add_argument("-m", "--model", type=str, - choices=['ea8300', 'ecw5410', 'ecw5211', 'ec420', 'wf188n', 'eap102', 'eap101', 'cig194c', 'None'], - help="AP model to be run", required=True) - parser.add_argument("--equipment-id", type=str, - help="AP model ID, as exists in the cloud-sdk. -1 to auto-detect.", - default="-1") - parser.add_argument("--object-id", type=str, - help="Used when querying and deleting individual objects.", - default=None) - parser.add_argument("--customer-id", type=str, - help="Specify cloud customer-id, default is 2", - default="2") - parser.add_argument("--testbed", type=str, - help="Testbed name, will be prefixed to profile names and similar", - default=None) - - parser.add_argument("--sdk-base-url", type=str, - help="cloudsdk base url, default: https://wlan-portal-svc.cicd.lab.wlan.tip.build", - default="https://wlan-portal-svc.cicd.lab.wlan.tip.build") - parser.add_argument("--sdk-user-id", type=str, help="cloudsdk user id, default: support@example.conf", - default="support@example.com") - parser.add_argument("--sdk-user-password", type=str, help="cloudsdk user password, default: support", - default="support") - - parser.add_argument("--jfrog-base-url", type=str, help="jfrog base url", - default="tip.jFrog.io/artifactory/tip-wlan-ap-firmware") - parser.add_argument("--jfrog-user-id", type=str, help="jfrog user id", - default="tip-read") - parser.add_argument("--jfrog-user-password", type=str, help="jfrog user password", - default="tip-read") - - parser.add_argument("--testrail-base-url", type=str, help="testrail base url", - # was os.getenv('TESTRAIL_URL') - default="https://telecominfraproject.testrail.com") - parser.add_argument("--testrail-project", type=str, help="testrail project name", - default="opsfleet-wlan") - parser.add_argument("--testrail-user-id", type=str, - help="testrail user id. Use 'NONE' to disable use of testrails.", - default="NONE") - parser.add_argument("--testrail-user-password", type=str, help="testrail user password", - default="password") - parser.add_argument("--testrail-run-prefix", type=str, help="testrail run prefix", - default="prefix-1") - parser.add_argument("--testrail-milestone", dest="milestone", type=str, help="testrail milestone ID", - default="milestone-1") - - parser.add_argument("--lanforge-ip-address", type=str, help="ip address of the lanforge gui", - default="127.0.0.1") - parser.add_argument("--lanforge-port-number", type=str, help="port of the lanforge gui", - default="8080") - parser.add_argument("--lanforge-prefix", type=str, help="LANforge api prefix string", - default="sdk") - parser.add_argument("--lanforge-2g-radio", type=str, help="LANforge 2Ghz radio to use for testing", - default="1.1.wiphy0") - parser.add_argument("--lanforge-5g-radio", type=str, help="LANforge 5Ghz radio to use for testing", - default="1.1.wiphy1") - - parser.add_argument("--local_dir", type=str, help="Sanity logging directory", - default="logs") - parser.add_argument("--report-path", type=str, help="Sanity report directory", - default="reports") - parser.add_argument("--report-template", type=str, help="Sanity report template", - default="reports/report_template.php") - - parser.add_argument("--eap-id", type=str, help="EAP indentity", - default="lanforge") - parser.add_argument("--ttls-password", type=str, help="TTLS password", - default="lanforge") - - parser.add_argument("--ap-ip", type=str, help="AP IP Address, for direct ssh access if not using jumphost", - default="127.0.0.1") - parser.add_argument("--ap-username", type=str, help="AP username", - default="root") - parser.add_argument("--ap-password", type=str, help="AP password", - default="root") - parser.add_argument("--ap-jumphost-address", type=str, - help="IP of system that we can ssh in to get serial console access to AP", - default=None) - parser.add_argument("--ap-jumphost-port", type=str, - help="SSH port to use in case we are using ssh tunneling or other non-standard ports", - default="22") - parser.add_argument("--ap-jumphost-username", type=str, - help="User-ID for system that we can ssh in to get serial console access to AP", - default="lanforge") - parser.add_argument("--ap-jumphost-password", type=str, - help="Passwort for system that we can ssh in to get serial console access to AP", - default="lanforge") - parser.add_argument("--ap-jumphost-wlan-testing", type=str, help="wlan-testing repo dir on the jumphost", - default="git/wlan-testing") - parser.add_argument("--ap-jumphost-tty", type=str, help="Serial port for the AP we wish to talk to", - default="UNCONFIGURED-JUMPHOST-TTY") - - parser.add_argument('--skip-update-firmware', dest='update_firmware', action='store_false') - parser.set_defaults(update_firmware=True) - - parser.add_argument('--verbose', dest='verbose', action='store_true') - parser.set_defaults(verbose=False) - - -# Keep in sync with that above -def add_base_parse_args_pytest(parser): - parser.addoption("--default-ap-profile", type=str, - help="Default AP profile to use as basis for creating new ones, typically: TipWlan-2-Radios or TipWlan-3-Radios", - default="TipWlan-2-Radios") - parser.addoption("--skip-radius", dest="skip_radius", action='store_true', - help="Should we skip the RADIUS configs or not") - parser.addoption("--skip-profiles", dest="skip_profiles", action='store_true', - help="Should we skip applying profiles?") - parser.addoption("--skip-wpa", dest="skip_wpa", action='store_false', - help="Should we skip applying profiles?") - parser.addoption("--skip-wpa2", dest="skip_wpa2", action='store_false', - help="Should we skip applying profiles?") - - parser.addoption("--psk-5g-wpa2", dest="psk_5g_wpa2", type=str, - help="Allow over-riding the 5g-wpa2 PSK value.") - parser.addoption("--psk-5g-wpa", dest="psk_5g_wpa", type=str, - help="Allow over-riding the 5g-wpa PSK value.") - parser.addoption("--psk-2g-wpa2", dest="psk_2g_wpa2", type=str, - help="Allow over-riding the 2g-wpa2 PSK value.") - parser.addoption("--psk-2g-wpa", dest="psk_2g_wpa", type=str, - help="Allow over-riding the 2g-wpa PSK value.") - - parser.addoption("--ssid-5g-wpa2", dest="ssid_5g_wpa2", type=str, - help="Allow over-riding the 5g-wpa2 SSID value.") - parser.addoption("--ssid-5g-wpa", dest="ssid_5g_wpa", type=str, - help="Allow over-riding the 5g-wpa SSID value.") - parser.addoption("--ssid-2g-wpa2", dest="ssid_2g_wpa2", type=str, - help="Allow over-riding the 2g-wpa2 SSID value.") - parser.addoption("--ssid-2g-wpa", dest="ssid_2g_wpa", type=str, - help="Allow over-riding the 2g-wpa SSID value.") - - parser.addoption("--mode", dest="mode", choices=['bridge', 'nat', 'vlan'], type=str, - help="Mode of AP Profile [bridge/nat/vlan]", default="bridge") - - parser.addoption("--build-id", type=str, - help="FW commit ID (latest pending build on dev is default)", - default="pending") - parser.addoption("--skip-upgrade", type=bool, help="Skip upgrading firmware", - default=False) - parser.addoption("--force-upgrade", type=bool, - help="Force upgrading firmware even if it is already current version", - default=False) - # --access-points instead - # parser.addoption("--model", type=str, - # choices=['ea8300', 'ecw5410', 'ecw5211', 'ec420', 'wf188n', 'eap102', 'None'], - # help="AP model to be run", required=True) - parser.addoption("--equipment-id", type=str, - help="AP model ID, as exists in the cloud-sdk. -1 to auto-detect.", - default="-1") - parser.addoption("--object-id", type=str, - help="Used when querying and deleting individual objects.", - default=None) - parser.addoption("--customer-id", type=str, - help="Specify cloud customer-id, default is 2", - default="2") - parser.addoption("--testbed", type=str, - help="Testbed name, will be prefixed to profile names and similar", - default=None) - - parser.addoption("--sdk-base-url", type=str, - help="cloudsdk base url, default: https://wlan-portal-svc.cicd.lab.wlan.tip.build", - default="https://wlan-portal-svc.cicd.lab.wlan.tip.build") - parser.addoption("--sdk-user-id", type=str, help="cloudsdk user id, default: support@example.conf", - default="support@example.com") - parser.addoption("--sdk-user-password", type=str, help="cloudsdk user password, default: support", - default="support") - - parser.addoption("--jfrog-base-url", type=str, help="jfrog base url", - default="tip.jFrog.io/artifactory/tip-wlan-ap-firmware") - parser.addoption("--jfrog-user-id", type=str, help="jfrog user id", - default="tip-read") - parser.addoption("--jfrog-user-password", type=str, help="jfrog user password", - default="tip-read") - - parser.addoption("--testrail-base-url", type=str, help="testrail base url", - # was os.getenv('TESTRAIL_URL') - default="https://telecominfraproject.testrail.com") - parser.addoption("--testrail-project", type=str, help="testrail project name", - default="opsfleet-wlan") - parser.addoption("--testrail-user-id", type=str, - help="testrail user id. Use 'NONE' to disable use of testrails.", - default="NONE") - parser.addoption("--testrail-user-password", type=str, help="testrail user password", - default="password") - parser.addoption("--testrail-run-prefix", type=str, help="testrail run prefix", - default="prefix-1") - parser.addoption("--testrail-milestone", dest="milestone", type=str, help="testrail milestone ID", - default="milestone-1") - - parser.addoption("--lanforge-ip-address", type=str, help="ip address of the lanforge gui", - default="127.0.0.1") - parser.addoption("--lanforge-port-number", type=str, help="port of the lanforge gui", - default="8080") - parser.addoption("--lanforge-prefix", type=str, help="LANforge api prefix string", - default="sdk") - parser.addoption("--lanforge-2g-radio", type=str, help="LANforge 2Ghz radio to use for testing", - default="1.1.wiphy0") - parser.addoption("--lanforge-5g-radio", type=str, help="LANforge 5Ghz radio to use for testing", - default="1.1.wiphy1") - - parser.addoption("--local_dir", type=str, help="Sanity logging directory", - default="logs") - parser.addoption("--report-path", type=str, help="Sanity report directory", - default="reports") - parser.addoption("--report-template", type=str, help="Sanity report template", - default="reports/report_template.php") - - parser.addoption("--eap-id", type=str, help="EAP indentity", - default="lanforge") - parser.addoption("--ttls-password", type=str, help="TTLS password", - default="lanforge") - - parser.addoption("--ap-ip", type=str, help="AP IP Address, for direct ssh access if not using jumphost", - default="127.0.0.1") - parser.addoption("--ap-username", type=str, help="AP username", - default="root") - parser.addoption("--ap-password", type=str, help="AP password", - default="root") - parser.addoption("--ap-jumphost-address", type=str, - help="IP of system that we can ssh in to get serial console access to AP", - default=None) - parser.addoption("--ap-jumphost-port", type=str, - help="SSH port to use in case we are using ssh tunneling or other non-standard ports", - default="22") - parser.addoption("--ap-jumphost-username", type=str, - help="User-ID for system that we can ssh in to get serial console access to AP", - default="lanforge") - parser.addoption("--ap-jumphost-password", type=str, - help="Passwort for system that we can ssh in to get serial console access to AP", - default="lanforge") - parser.addoption("--ap-jumphost-wlan-testing", type=str, help="wlan-testing repo dir on the jumphost", - default="git/wlan-testing") - parser.addoption("--ap-jumphost-tty", type=str, help="Serial port for the AP we wish to talk to", - default="UNCONFIGURED-JUMPHOST-TTY") - - parser.addoption('--skip-update-firmware', dest='update_firmware', action='store_false', default=True) - - parser.addoption('--tip-verbose', dest='verbose', action='store_true', default=False) - - -class UnitTestBase: - - def __init__(self, log_name, args, reporting=None): - self.parser = argparse.ArgumentParser(description="Sanity Testing on Firmware Build", parents=[args]) - - add_base_parse_args(self.parser) - - self.command_line_args = self.parser.parse_args() - - # cmd line takes precedence over env-vars. - self.cloudSDK_url = self.command_line_args.sdk_base_url # was os.getenv('CLOUD_SDK_URL') - self.local_dir = self.command_line_args.local_dir # was os.getenv('SANITY_LOG_DIR') - self.report_path = self.command_line_args.report_path # was os.getenv('SANITY_REPORT_DIR') - self.report_template = self.command_line_args.report_template # was os.getenv('REPORT_TEMPLATE') - - ## TestRail Information - self.tr_user = self.command_line_args.testrail_user_id # was os.getenv('TR_USER') - self.tr_pw = self.command_line_args.testrail_user_password # was os.getenv('TR_PWD') - self.milestoneId = self.command_line_args.milestone # was os.getenv('MILESTONE') - self.projectId = self.command_line_args.testrail_project # was os.getenv('PROJECT_ID') - self.testRunPrefix = self.command_line_args.testrail_run_prefix # os.getenv('TEST_RUN_PREFIX') - - ##Jfrog credentials - self.jfrog_user = self.command_line_args.jfrog_user_id # was os.getenv('JFROG_USER') - self.jfrog_pwd = self.command_line_args.jfrog_user_password # was os.getenv('JFROG_PWD') - - ##EAP Credentials - self.identity = self.command_line_args.eap_id # was os.getenv('EAP_IDENTITY') - self.ttls_password = self.command_line_args.ttls_password # was os.getenv('EAP_PWD') - - ## AP Credentials - self.ap_username = self.command_line_args.ap_username # was os.getenv('AP_USER') - - ##LANForge Information - self.lanforge_ip = self.command_line_args.lanforge_ip_address - self.lanforge_port = self.command_line_args.lanforge_port_number - self.lanforge_prefix = self.command_line_args.lanforge_prefix - - self.build = self.command_line_args.build_id - - - self.logger = logging.getLogger(log_name) - - if not reporting: - self.hdlr = logging.FileHandler("./logs/test_run.log") - else: - self.hdlr = logging.FileHandler(reporting.report_path + "/test_run.log") - self.formatter = logging.Formatter('%(asctime)s %(levelname)s %(message)s') - self.hdlr.setFormatter(self.formatter) - self.logger.addHandler(self.hdlr) - self.logger.setLevel(logging.INFO) - - ####Use variables other than defaults for running tests on custom FW etc - - self.model_id = self.command_line_args.model - self.equipment_id = self.command_line_args.equipment_id - - ###Get Cloud Bearer Token - self.cloud: CloudSDK = CloudSDK(self.command_line_args) - self.bearer = self.cloud.get_bearer(self.cloudSDK_url, cloud_type) - self.customer_id = self.command_line_args.customer_id - diff --git a/tests/cicd_sanity/ap_connect.py b/tests/cicd_sanity/ap_connect.py deleted file mode 100644 index 628f26101..000000000 --- a/tests/cicd_sanity/ap_connect.py +++ /dev/null @@ -1,187 +0,0 @@ -################################################################################## -# Module contains functions to get specific data from AP CLI using SSH -# -# Used by Nightly_Sanity and Throughput_Test ##################################### -################################################################################## - -import paramiko -from paramiko import SSHClient -import socket -import os -import subprocess - -owrt_args = "--prompt root@OpenAp -s serial --log stdout --user root --passwd openwifi" - -def ssh_cli_active_fw(ap_ip, username, password): - print(ap_ip) - try: - if 'tty' in ap_ip: - print("AP is connected using serial cable") - ap_cmd = '/usr/opensync/bin/ovsh s AWLAN_Node -c | grep FW_IMAGE_ACTIVE' - cmd = "cd ../../lanforge/lanforge-scripts && python3 openwrt_ctl.py %s -t %s --action cmd --value \"%s\""%(owrt_args, ap_ip, ap_cmd) - with subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True) as p: - output, errors = p.communicate() - version_matrix = str(output.decode('utf-8').splitlines()) - version_matrix_split = version_matrix.partition('FW_IMAGE_ACTIVE","')[2] - cli_active_fw = version_matrix_split.partition('"],[')[0] - print(cli_active_fw) - - ap_cmd = '/usr/opensync/bin/ovsh s Manager -c | grep status' - cmd = "cd ../../lanforge/lanforge-scripts && python3 openwrt_ctl.py %s -t %s --action cmd --value \"%s\"" % (owrt_args, ap_ip, ap_cmd) - with subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True) as p: - output, errors = p.communicate() - status = str(output.decode('utf-8').splitlines()) - - else: - print("AP is accessible by SSH") - client = paramiko.SSHClient() - client.set_missing_host_key_policy(paramiko.AutoAddPolicy()) - client.connect(ap_ip, username=username, password=password, timeout=5) - stdin, stdout, stderr = client.exec_command('/usr/opensync/bin/ovsh s AWLAN_Node -c | grep FW_IMAGE_ACTIVE') - version_matrix = str(stdout.read(), 'utf-8') - err = str(stderr.read(), 'utf-8') - #print("version-matrix: %s stderr: %s" % (version_matrix, err)) - version_matrix_split = version_matrix.partition('FW_IMAGE_ACTIVE","')[2] - cli_active_fw = version_matrix_split.partition('"],[')[0] - stdin, stdout, stderr = client.exec_command('/usr/opensync/bin/ovsh s Manager -c | grep status') - status = str(stdout.read(), 'utf-8') - - - print("status: %s" %(status)) - - if "ACTIVE" in status: - # print("AP is in Active state") - state = "active" - elif "BACKOFF" in status: - # print("AP is in Backoff state") - state = "backoff" - else: - # print("AP is not in Active state") - state = "unknown" - - cli_info = { - "state": state, - "active_fw": cli_active_fw - } - - return (cli_info) - - except paramiko.ssh_exception.AuthenticationException: - print("Authentication Error, Check Credentials") - return "ERROR" - except paramiko.SSHException: - print("Cannot SSH to the AP") - return "ERROR" - except socket.timeout: - print("AP Unreachable") - return "ERROR" - -def iwinfo_status(ap_ip, username, password): - try: - if 'tty' in ap_ip: - ap_cmd = 'iwinfo | grep ESSID' - cmd = "cd ../../lanforge/lanforge-scripts && python3 openwrt_ctl.py %s -t %s --action cmd --value \"%s\"" % ( - owrt_args, ap_ip, ap_cmd) - with subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True) as p: - output, errors = p.communicate() - for line in output.decode('utf-8').splitlines(): - print(line) - - else: - client = paramiko.SSHClient() - client.set_missing_host_key_policy(paramiko.AutoAddPolicy()) - client.connect(ap_ip, username=username, password=password, timeout=5) - stdin, stdout, stderr = client.exec_command('iwinfo | grep ESSID') - - for line in stdout.read().splitlines(): - print(line) - - except paramiko.ssh_exception.AuthenticationException: - print("Authentication Error, Check Credentials") - return "ERROR" - except paramiko.SSHException: - print("Cannot SSH to the AP") - return "ERROR" - except socket.timeout: - print("AP Unreachable") - return "ERROR" - -def get_vif_config(ap_ip, username, password): - try: - if 'tty' in ap_ip: - ap_cmd = "/usr/opensync/bin/ovsh s Wifi_VIF_Config -c | grep 'ssid :'" - cmd = "cd ../../lanforge/lanforge-scripts && python3 openwrt_ctl.py %s -t %s --action cmd --value \"%s\"" % ( - owrt_args, ap_ip, ap_cmd) - with subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True) as p: - output, errors = p.communicate() - ssid_output_raw = output.decode('utf-8').splitlines() - raw = output.decode('utf-8').splitlines() - ssid_output = [] - for line in raw: - if 'ssid :' in line: - ssid_output.append(line) - print(ssid_output) - ssid_list = [s.replace('ssid : ','') for s in ssid_output] - return ssid_list - else: - client = paramiko.SSHClient() - client.set_missing_host_key_policy(paramiko.AutoAddPolicy()) - client.connect(ap_ip, username=username, password=password, timeout=5) - stdin, stdout, stderr = client.exec_command( - "/usr/opensync/bin/ovsh s Wifi_VIF_Config -c | grep 'ssid :'") - - output = str(stdout.read(), 'utf-8') - ssid_output = output.splitlines() - - ssid_list = [s.strip('ssid : ') for s in ssid_output] - return ssid_list - - except paramiko.ssh_exception.AuthenticationException: - print("Authentication Error, Check Credentials") - return "ERROR" - except paramiko.SSHException: - print("Cannot SSH to the AP") - return "ERROR" - except socket.timeout: - print("AP Unreachable") - return "ERROR" - -def get_vif_state(ap_ip, username, password): - try: - if 'tty' in ap_ip: - ap_cmd = "/usr/opensync/bin/ovsh s Wifi_VIF_State -c | grep 'ssid :'" - cmd = "cd ../../lanforge/lanforge-scripts && python3 openwrt_ctl.py %s -t %s --action cmd --value \"%s\"" % ( - owrt_args, ap_ip, ap_cmd) - with subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True) as p: - output, errors = p.communicate() - ssid_output_raw = output.decode('utf-8').splitlines() - raw = output.decode('utf-8').splitlines() - ssid_output = [] - for line in raw: - if 'ssid :' in line: - ssid_output.append(line) - print(ssid_output) - ssid_list = [s.replace('ssid : ','') for s in ssid_output] - return ssid_list - else: - client = paramiko.SSHClient() - client.set_missing_host_key_policy(paramiko.AutoAddPolicy()) - client.connect(ap_ip, username=username, password=password, timeout=5) - stdin, stdout, stderr = client.exec_command( - "/usr/opensync/bin/ovsh s Wifi_VIF_State -c | grep 'ssid :'") - - output = str(stdout.read(), 'utf-8') - ssid_output = output.splitlines() - - ssid_list = [s.strip('ssid : ') for s in ssid_output] - return ssid_list - - except paramiko.ssh_exception.AuthenticationException: - print("Authentication Error, Check Credentials") - return "ERROR" - except paramiko.SSHException: - print("Cannot SSH to the AP") - return "ERROR" - except socket.timeout: - print("AP Unreachable") - return "ERROR" diff --git a/tests/cicd_sanity/cicd_sanity.py b/tests/cicd_sanity/cicd_sanity.py deleted file mode 100755 index b928b6b80..000000000 --- a/tests/cicd_sanity/cicd_sanity.py +++ /dev/null @@ -1,2057 +0,0 @@ -#!/usr/bin/python3 - -import base64 -import urllib.request -from bs4 import BeautifulSoup -import ssl -import subprocess, os -from artifactory import ArtifactoryPath -import tarfile -import paramiko -from paramiko import SSHClient -from scp import SCPClient -import os -import pexpect -from pexpect import pxssh -import sys -import paramiko -from scp import SCPClient -import pprint -from pprint import pprint -from os import listdir -import re -import requests -import json -import testrail -import logging -import datetime -import time -from datetime import date -from shutil import copyfile -import argparse -import importlib - -# For finding files -# https://stackoverflow.com/questions/3207219/how-do-i-list-all-files-of-a-directory -import glob - -# external_results_dir=/var/tmp/lanforge - -if sys.version_info[0] != 3: - print("This script requires Python 3") - exit(1) -for folder in 'py-json', 'py-scripts': - if folder not in sys.path: - sys.path.append(f'../../lanforge/lanforge-scripts/{folder}') - -sys.path.append(f'../../libs/lanforge') -#sys.path.append(f'../../libs/testrails') -#sys.path.append(f'../../libs/apnos') -#sys.path.append(f'../../libs/cloudsdk') -sys.path.append(f'../../libs') -#sys.path.append(f'../test_utility/') -sys.path.append(f'../') - -from LANforge.LFUtils import * - -# if you lack __init__.py in this directory you will not find sta_connect module# - -if 'py-json' not in sys.path: - sys.path.append('../../py-scripts') - -import sta_connect2 -from sta_connect2 import StaConnect2 -import testrail -from testrail import APIClient -import eap_connect -from eap_connect import EAPConnect -import cloud_connect -from cloud_connect import CloudSDK -import ap_connect -from ap_connect import ssh_cli_active_fw -from ap_connect import iwinfo_status - -###Class for jfrog Interaction -class GetBuild: - def __init__(self): - self.user = jfrog_user - self.password = jfrog_pwd - ssl._create_default_https_context = ssl._create_unverified_context - - def get_latest_image(self, url, build): - auth = str( - base64.b64encode( - bytes('%s:%s' % (self.user, self.password), 'utf-8') - ), - 'ascii' - ).strip() - headers = {'Authorization': 'Basic ' + auth} - - ''' FIND THE LATEST FILE NAME''' - # print(url) - req = urllib.request.Request(url, headers=headers) - response = urllib.request.urlopen(req) - html = response.read() - soup = BeautifulSoup(html, features="html.parser") - ##find the last pending link on dev - last_link = soup.find_all('a', href=re.compile(build))[-1] - latest_file = last_link['href'] - latest_fw = latest_file.replace('.tar.gz', '') - return latest_fw - - -###Class for Tests -class RunTest: - def Single_Client_Connectivity(self, port, radio, prefix, ssid_name, ssid_psk, security, station, test_case, rid): - '''SINGLE CLIENT CONNECTIVITY using test_connect2.py''' - staConnect = StaConnect2(lanforge_ip, 8080, debug_=False) - staConnect.sta_mode = 0 - staConnect.upstream_resource = 1 - staConnect.upstream_port = port - staConnect.radio = radio - staConnect.resource = 1 - staConnect.dut_ssid = ssid_name - staConnect.dut_passwd = ssid_psk - staConnect.dut_security = security - staConnect.station_names = station - staConnect.sta_prefix = prefix - staConnect.runtime_secs = 10 - staConnect.bringup_time_sec = 60 - staConnect.cleanup_on_exit = True - # staConnect.cleanup() - staConnect.setup() - staConnect.start() - print("napping %f sec" % staConnect.runtime_secs) - time.sleep(staConnect.runtime_secs) - staConnect.stop() - staConnect.cleanup() - run_results = staConnect.get_result_list() - for result in run_results: - print("test result: " + result) - # result = 'pass' - print("Single Client Connectivity :", staConnect.passes) - if staConnect.passes() == True: - print("Single client connection to", ssid_name, "successful. Test Passed") - client.update_testrail(case_id=test_case, run_id=rid, status_id=1, msg='Client connectivity passed') - logger.info("Client connectivity to " + ssid_name + " Passed") - return ("passed") - else: - client.update_testrail(case_id=test_case, run_id=rid, status_id=5, msg='Client connectivity failed') - print("Single client connection to", ssid_name, "unsuccessful. Test Failed") - logger.warning("Client connectivity to " + ssid_name + " FAILED") - return ("failed") - - def Single_Client_EAP(port, sta_list, ssid_name, radio, sta_prefix, security, eap_type, identity, ttls_password, test_case, - rid): - eap_connect = EAPConnect(lanforge_ip, 8080, _debug_on=False) - eap_connect.upstream_resource = 1 - eap_connect.upstream_port = port - eap_connect.security = security - eap_connect.sta_list = sta_list - eap_connect.station_names = sta_list - eap_connect.sta_prefix = sta_prefix - eap_connect.ssid = ssid_name - eap_connect.radio = radio - eap_connect.eap = eap_type - eap_connect.identity = identity - eap_connect.ttls_passwd = ttls_password - eap_connect.runtime_secs = 10 - eap_connect.setup() - eap_connect.start() - print("napping %f sec" % eap_connect.runtime_secs) - time.sleep(eap_connect.runtime_secs) - eap_connect.stop() - eap_connect.cleanup() - run_results = eap_connect.get_result_list() - for result in run_results: - print("test result: " + result) - # result = 'pass' - print("Single Client Connectivity :", eap_connect.passes) - if eap_connect.passes() == True: - print("Single client connection to", ssid_name, "successful. Test Passed") - client.update_testrail(case_id=test_case, run_id=rid, status_id=1, msg='Client connectivity passed') - logger.info("Client connectivity to " + ssid_name + " Passed") - return ("passed") - else: - client.update_testrail(case_id=test_case, run_id=rid, status_id=5, msg='Client connectivity failed') - print("Single client connection to", ssid_name, "unsuccessful. Test Failed") - logger.warning("Client connectivity to " + ssid_name + " FAILED") - return ("failed") - - def testrail_retest(self, test_case, rid, ssid_name): - client.update_testrail(case_id=test_case, run_id=rid, status_id=4, - msg='Error in Client Connectivity Test. Needs to be Re-run') - print("Error in test for single client connection to", ssid_name) - logger.warning("ERROR testing Client connectivity to " + ssid_name) - -### Directories -local_dir = os.getenv('SANITY_LOG_DIR') -report_path = os.getenv('SANITY_REPORT_DIR') -report_template = os.getenv('REPORT_TEMPLATE') - -## TestRail Information -tr_user = os.getenv('TR_USER') -tr_pw = os.getenv('TR_PWD') -milestoneId = os.getenv('MILESTONE') -projectId = os.getenv('PROJECT_ID') -testRunPrefix = os.getenv('TEST_RUN_PREFIX') - -##Jfrog credentials -jfrog_user = os.getenv('JFROG_USER') -jfrog_pwd = os.getenv('JFROG_PWD') - - -## AP Credentials -ap_username = os.getenv('AP_USER') - -logger = logging.getLogger('Nightly_Sanity') -hdlr = logging.FileHandler(local_dir + "/Nightly_Sanity.log") -formatter = logging.Formatter('%(asctime)s %(levelname)s %(message)s') -hdlr.setFormatter(formatter) -logger.addHandler(hdlr) -logger.setLevel(logging.INFO) - -testrail_url = os.getenv('TR_URL') -client: APIClient = APIClient(testrail_url) -client.user = tr_user -client.password = tr_pw - -# Command Line Args -parser = argparse.ArgumentParser(description="Sanity Testing on Firmware Build") -parser.add_argument("-b", "--build", type=str, default="pending", - help="FW commit ID (latest pending build on dev is default)") -parser.add_argument("-i", "--ignore", type=str, default='no', choices=['yes', 'no'], - help="Set to 'no' to ignore current running version on AP and run sanity including upgrade") -parser.add_argument("-r", "--report", type=str, default=report_path, help="Report directory path other than default - directory must already exist!") -parser.add_argument("-m", "--model", type=str, choices=['ea8300', 'ecw5410', 'ecw5211', 'ec420', "wf188n", "wf194c", "ex227", "ex447", "eap101", "eap102"], - help="AP model to be run") -parser.add_argument("-f", "--file", type=str, help="Test Info file name", default="test_info") -parser.add_argument("--tr_prefix", type=str, default=testRunPrefix, help="Testrail test run prefix override (default is Env variable)") -parser.add_argument("--skip_upgrade", dest="skip_upgrade", action='store_true', help="Skip Upgrade testing") -parser.set_defaults(skip_eap=False) -parser.add_argument("--skip_eap", dest="skip_eap", action='store_true', help="Skip EAP testing") -parser.set_defaults(skip_eap=False) -parser.add_argument("--skip_bridge", dest="skip_bridge", action='store_true', help="Skip Bridge testing") -parser.set_defaults(skip_bridge=False) -parser.add_argument("--skip_nat", dest="skip_nat", action='store_true', help="Skip NAT testing") -parser.set_defaults(skip_nat=False) -parser.add_argument("--skip_vlan", dest="skip_vlan", action='store_true', help="Skip VLAN testing") -parser.set_defaults(skip_vlan=False) -args = parser.parse_args() - -build = args.build -ignore = args.ignore -report_path = args.report -test_file = args.file - -# Import info for lab setup and APs under test -test_info_module = os.path.splitext(test_file)[0] -test_info = importlib.import_module(test_info_module) - -equipment_id_dict = test_info.equipment_id_dict -equipment_ids = equipment_id_dict -profile_info_dict = test_info.profile_info_dict -cloud_sdk_models = test_info.cloud_sdk_models -equipment_ip_dict = test_info.equipment_ip_dict -equipment_credentials_dict = test_info.equipment_credentials_dict -ap_models = test_info.ap_models -customer_id = test_info.customer_id -cloud_type = test_info.cloud_type -test_cases = test_info.test_cases - -# Set CloudSDK URL -cloudSDK_url = test_info.cloudSDK_url -# CloudSDK credentials -cloud_user = test_info.cloud_user -cloud_password = test_info.cloud_password - -# RADIUS info and EAP credentials -radius_info = test_info.radius_info -identity = test_info.radius_info["eap_identity"] -ttls_password = test_info.radius_info["eap_pwd"] - -if args.model is not None: - model_id = args.model - equipment_ids = { - model_id: equipment_id_dict[model_id] - } - print("User requested test on equipment ID:",equipment_ids) - -if args.tr_prefix is not None: - testRunPrefix = args.tr_prefix - -##LANForge Information -lanforge_ip = test_info.lanforge_ip -#lanforge_prefix = test_info.lanforge_prefix - -print("Start of Sanity Testing...") -print("Test file used will be: "+test_file) -print("TestRail Test Run Prefix is: "+testRunPrefix) -print("Skipping Upgrade Tests? " + str(args.skip_upgrade)) -print("Skipping EAP Tests? " + str(args.skip_eap)) -print("Skipping Bridge Tests? " + str(args.skip_bridge)) -print("Skipping NAT Tests? " + str(args.skip_nat)) -print("Skipping VLAN Tests? " + str(args.skip_vlan)) -print("Testing Latest Build with Tag: " + build) - -if ignore == 'yes': - print("Will ignore if AP is already running build under test and run sanity regardless...") -else: - print("Checking for APs requiring upgrade to latest build...") - -######Testrail Project and Run ID Information ############################## - -Test: RunTest = RunTest() - -projId = client.get_project_id(project_name=projectId) -print("TIP WLAN Project ID is:", projId) - -logger.info('Start of Nightly Sanity') - -###Dictionaries -ap_latest_dict = { - "ec420": "Unknown", - "ea8300": "Unknown", - "ecw5211": "unknown", - "ecw5410": "unknown" -} - -# import json file used by throughput test -sanity_status = json.load(open("sanity_status.json")) - -############################################################################ -#################### Create Report ######################################### -############################################################################ - -# Create Report Folder for Today -today = str(date.today()) -try: - os.mkdir(report_path + today) -except OSError: - print("Creation of the directory %s failed" % report_path) -else: - print("Successfully created the directory %s " % report_path) - -logger.info('Report data can be found here: ' + report_path + today) - -# Copy report template to folder. If template doesn't exist, continue anyway with log -try: - copyfile(report_template, report_path + today + '/report.php') - -except: - print("No report template created. Report data will still be saved. Continuing with tests...") - -##Create report_data dictionary -tc_results = dict.fromkeys(test_cases.values(), "not run") - -report_data = dict() -report_data["cloud_sdk"] = dict.fromkeys(ap_models, "") -for key in report_data["cloud_sdk"]: - report_data["cloud_sdk"][key] = { - "date": "N/A", - "commitId": "N/A", - "projectVersion": "N/A" - } -report_data["fw_available"] = dict.fromkeys(ap_models, "Unknown") -report_data["fw_under_test"] = dict.fromkeys(ap_models, "N/A") -report_data['pass_percent'] = dict.fromkeys(ap_models, "") - -report_data['tests'] = dict.fromkeys(ap_models, "") -for key in ap_models: - report_data['tests'][key] = dict.fromkeys(test_cases.values(), "not run") -print(report_data) - -# write to report_data contents to json file so it has something in case of unexpected fail -with open(report_path + today + '/report_data.json', 'w') as report_json_file: - json.dump(report_data, report_json_file) - -###Get Cloud Bearer Token -bearer = CloudSDK.get_bearer(cloudSDK_url, cloud_type, cloud_user, cloud_password) - -############################################################################ -#################### Jfrog Firmware Check ################################## -############################################################################ - -for model in ap_models: - apModel = model - cloudModel = cloud_sdk_models[apModel] - # print(cloudModel) - ###Check Latest FW on jFrog - jfrog_url = 'https://tip.jfrog.io/artifactory/tip-wlan-ap-firmware/' - url = jfrog_url + apModel + "/dev/" - Build: GetBuild = GetBuild() - latest_image = Build.get_latest_image(url, build) - print(model, "Latest FW on jFrog:", latest_image) - ap_latest_dict[model] = latest_image - -print(ap_latest_dict) -#################################################################################### -############ Update FW and Run Test Cases on Each AP Variant ####################### -#################################################################################### -#################################################################################### - -for key in equipment_ids: - ##Get Bearer Token to make sure its valid (long tests can require re-auth) - bearer = CloudSDK.get_bearer(cloudSDK_url, cloud_type, cloud_user, cloud_password) - - ###Get Current AP Firmware and upgrade - equipment_id = equipment_id_dict[key] - ap_ip = equipment_ip_dict[key] - ap_username = "root" - ap_password = equipment_credentials_dict[key] - print("AP MODEL UNDER TEST IS", key) - try: - ap_cli_info = ssh_cli_active_fw(ap_ip, ap_username, ap_password) - ap_cli_fw = ap_cli_info['active_fw'] - except: - ap_cli_info = "ERROR" - print("Cannot Reach AP CLI, will not test this variant") - report_data["pass_percent"][key] = "AP offline" - continue - - fw_model = ap_cli_fw.partition("-")[0] - print('Current Active AP FW from CLI:', ap_cli_fw) - - if ap_cli_info['state'] != "active": - print('Manager Status not Active. Skipping AP Model!') - report_data["pass_percent"][key] = "AP offline" - continue - - else: - print('Manager Status Active. Proceed with tests...') - ###Find Latest FW for Current AP Model and Get FW ID - ##Compare Latest and Current AP FW and Upgrade - latest_ap_image = ap_latest_dict[fw_model] - - if ap_cli_fw == latest_ap_image and ignore == 'no' and args.skip_upgrade != True: - print('FW does not require updating') - report_data['fw_available'][key] = "No" - logger.info(fw_model + " does not require upgrade. Not performing sanity tests for this AP variant") - cloudsdk_cluster_info = { - "date": "N/A", - "commitId": "N/A", - "projectVersion": "N/A" - } - report_data['cloud_sdk'][key] = cloudsdk_cluster_info - - else: - if ap_cli_fw == latest_ap_image and ignore == "yes": - print('AP is already running FW version under test. Ignored based on ignore flag') - report_data['fw_available'][key] = "Yes" - elif args.skip_upgrade == True: - print("User requested to skip upgrade, will use existing version and not upgrade AP") - report_data['fw_available'][key] = "N/A" - report_data['fw_under_test'][key] = ap_cli_fw - latest_ap_image = ap_cli_fw - else: - print('FW needs updating') - report_data['fw_available'][key] = "Yes" - report_data['fw_under_test'][key] = latest_ap_image - - ###Create Test Run - today = str(date.today()) - case_ids = list(test_cases.values()) - - ##Remove unused test cases based on command line arguments - - # Skip upgrade argument - if args.skip_upgrade == True: - case_ids.remove(test_cases["upgrade_api"]) - else: - pass - - # Skip Bridge argument - if args.skip_bridge == True: - for x in test_cases: - if "bridge" in x: - case_ids.remove(test_cases[x]) - else: - pass - - # Skip NAT argument - if args.skip_nat == True: - for x in test_cases: - if "nat" in x: - case_ids.remove(test_cases[x]) - else: - pass - - # Skip VLAN argument - if args.skip_vlan == True: - for x in test_cases: - if "vlan" in x: - case_ids.remove(test_cases[x]) - else: - pass - - # Skip EAP argument - if args.skip_eap == True: - case_ids.remove(test_cases["radius_profile"]) - for x in test_cases: - if "eap" in x and test_cases[x] in case_ids: - case_ids.remove(test_cases[x]) - else: - pass - - test_run_name = testRunPrefix + fw_model + "_" + today + "_" + latest_ap_image - client.create_testrun(name=test_run_name, case_ids=case_ids, project_id=projId, milestone_id=milestoneId, - description="Automated Nightly Sanity test run for new firmware build") - rid = client.get_run_id(test_run_name=testRunPrefix + fw_model + "_" + today + "_" + latest_ap_image) - print("TIP run ID is:", rid) - - ###GetCloudSDK Version - print("Getting CloudSDK version information...") - try: - cluster_ver = CloudSDK.get_cloudsdk_version(cloudSDK_url, bearer) - print("CloudSDK Version Information:") - print("-------------------------------------------") - print(cluster_ver) - print("-------------------------------------------") - - cloudsdk_cluster_info = {} - cloudsdk_cluster_info['date'] = cluster_ver['commitDate'] - cloudsdk_cluster_info['commitId'] = cluster_ver['commitID'] - cloudsdk_cluster_info['projectVersion'] = cluster_ver['projectVersion'] - report_data['cloud_sdk'][key] = cloudsdk_cluster_info - client.update_testrail(case_id=test_cases["cloud_ver"], run_id=rid, status_id=1, - msg='Read CloudSDK version from API successfully') - report_data['tests'][key][test_cases["cloud_ver"]] = "passed" - - except: - cluster_ver = 'error' - print("ERROR: CloudSDK Version Unavailable") - logger.info('CloudSDK version Unavailable') - cloudsdk_cluster_info = { - "date": "unknown", - "commitId": "unknown", - "projectVersion": "unknown" - } - client.update_testrail(case_id=test_cases["cloud_ver"], run_id=rid, status_id=5, - msg='Could not read CloudSDK version from API') - report_data['cloud_sdk'][key] = cloudsdk_cluster_info - report_data['tests'][key][test_cases["cloud_ver"]] = "failed" - - with open(report_path + today + '/report_data.json', 'w') as report_json_file: - json.dump(report_data, report_json_file) - - # Update TR Testrun with CloudSDK info for use in QA portal - sdk_description = cloudsdk_cluster_info["date"]+" (Commit ID: "+cloudsdk_cluster_info["commitId"]+")" - update_test = client.update_testrun(rid,sdk_description) - print(update_test) - - # Test Create Firmware Version - test_id_fw = test_cases["create_fw"] - latest_image = ap_latest_dict[key] - cloudModel = cloud_sdk_models[key] - print(cloudModel) - firmware_list_by_model = CloudSDK.CloudSDK_images(cloudModel, cloudSDK_url, bearer) - print("Available", cloudModel, "Firmware on CloudSDK:", firmware_list_by_model) - - if latest_image in firmware_list_by_model: - print("Latest Firmware", latest_image, "is already on CloudSDK, need to delete to test create FW API") - old_fw_id = CloudSDK.get_firmware_id(latest_image, cloudSDK_url, bearer) - delete_fw = CloudSDK.delete_firmware(str(old_fw_id), cloudSDK_url, bearer) - fw_url = "https://" + jfrog_user + ":" + jfrog_pwd + "@tip.jfrog.io/artifactory/tip-wlan-ap-firmware/" + key + "/dev/" + latest_image + ".tar.gz" - commit = latest_image.split("-")[-1] - try: - fw_upload_status = CloudSDK.firwmare_upload(commit, cloudModel, latest_image, fw_url, cloudSDK_url, - bearer) - fw_id = fw_upload_status['id'] - print("Upload Complete.", latest_image, "FW ID is", fw_id) - client.update_testrail(case_id=test_id_fw, run_id=rid, status_id=1, - msg='Create new FW version by API successful') - report_data['tests'][key][test_id_fw] = "passed" - except: - fw_upload_status = 'error' - print("Unable to upload new FW version. Skipping Sanity on AP Model") - client.update_testrail(case_id=test_id_fw, run_id=rid, status_id=5, - msg='Error creating new FW version by API') - report_data['tests'][key][test_id_fw] = "failed" - continue - else: - print("Latest Firmware is not on CloudSDK! Uploading...") - fw_url = "https://" + jfrog_user + ":" + jfrog_pwd + "@tip.jfrog.io/artifactory/tip-wlan-ap-firmware/" + key + "/dev/" + latest_image + ".tar.gz" - commit = latest_image.split("-")[-1] - try: - fw_upload_status = CloudSDK.firwmare_upload(commit, cloudModel, latest_image, fw_url, cloudSDK_url, - bearer) - fw_id = fw_upload_status['id'] - print("Upload Complete.", latest_image, "FW ID is", fw_id) - client.update_testrail(case_id=test_id_fw, run_id=rid, status_id=1, - msg='Create new FW version by API successful') - report_data['tests'][key][test_id_fw] = "passed" - except: - fw_upload_status = 'error' - print("Unable to upload new FW version. Skipping Sanity on AP Model") - client.update_testrail(case_id=test_id_fw, run_id=rid, status_id=5, - msg='Error creating new FW version by API') - report_data['tests'][key][test_id_fw] = "failed" - continue - - # Upgrade AP firmware - if args.skip_upgrade == True: - print("User Requested to Not Performing Upgrade, skipping to Connectivity Tests") - else: - print("Upgrading...firmware ID is: ", fw_id) - upgrade_fw = CloudSDK.update_firmware(equipment_id, str(fw_id), cloudSDK_url, bearer) - logger.info("Lab " + fw_model + " Requires FW update") - print(upgrade_fw) - - if "success" in upgrade_fw: - if upgrade_fw["success"] == True: - print("CloudSDK Upgrade Request Success") - report_data['tests'][key][test_cases["upgrade_api"]] = "passed" - client.update_testrail(case_id=test_cases["upgrade_api"], run_id=rid, status_id=1, - msg='Upgrade request using API successful') - logger.info('Firmware upgrade API successfully sent') - else: - print("Cloud SDK Upgrade Request Error!") - # mark upgrade test case as failed with CloudSDK error - client.update_testrail(case_id=test_cases["upgrade_api"], run_id=rid, status_id=5, - msg='Error requesting upgrade via API') - report_data['tests'][key][test_cases["upgrade_api"]] = "failed" - logger.warning('Firmware upgrade API failed to send') - continue - else: - print("Cloud SDK Upgrade Request Error!") - # mark upgrade test case as failed with CloudSDK error - client.update_testrail(case_id=test_cases["upgrade_api"], run_id=rid, status_id=5, - msg='Error requesting upgrade via API') - report_data['tests'][key][test_cases["upgrade_api"]] = "failed" - logger.warning('Firmware upgrade API failed to send') - continue - - time.sleep(300) - - # Check if upgrade success is displayed on CloudSDK - test_id_cloud = test_cases["cloud_fw"] - cloud_ap_fw = CloudSDK.ap_firmware(customer_id, equipment_id, cloudSDK_url, bearer) - print('Current AP Firmware from CloudSDK:', cloud_ap_fw) - logger.info('AP Firmware from CloudSDK: ' + cloud_ap_fw) - if cloud_ap_fw == "ERROR": - print("AP FW Could not be read from CloudSDK") - - elif cloud_ap_fw == latest_ap_image: - print("CloudSDK status shows upgrade successful!") - - else: - print("AP FW from CloudSDK status is not latest build. Will check AP CLI.") - - # Check if upgrade successful on AP CLI - test_id_cli = test_cases["ap_upgrade"] - try: - ap_cli_info = ssh_cli_active_fw(ap_ip, ap_username, ap_password) - ap_cli_fw = ap_cli_info['active_fw'] - print("CLI reporting AP Active FW as:", ap_cli_fw) - logger.info('Firmware from CLI: ' + ap_cli_fw) - except: - ap_cli_info = "ERROR" - print("Cannot Reach AP CLI to confirm upgrade!") - logger.warning('Cannot Reach AP CLI to confirm upgrade!') - client.update_testrail(case_id=test_id_cli, run_id=rid, status_id=4, - msg='Cannot reach AP after upgrade to check CLI - re-test required') - continue - - if cloud_ap_fw == latest_ap_image and ap_cli_fw == latest_ap_image: - print("CloudSDK and AP CLI both show upgrade success, passing upgrade test case") - client.update_testrail(case_id=test_id_cli, run_id=rid, status_id=1, - msg='Upgrade to ' + latest_ap_image + ' successful') - client.update_testrail(case_id=test_id_cloud, run_id=rid, status_id=1, - msg='CLOUDSDK reporting correct firmware version.') - report_data['tests'][key][test_id_cli] = "passed" - report_data['tests'][key][test_id_cloud] = "passed" - print(report_data['tests'][key]) - - elif cloud_ap_fw != latest_ap_image and ap_cli_fw == latest_ap_image: - print("AP CLI shows upgrade success - CloudSDK reporting error!") - ##Raise CloudSDK error but continue testing - client.update_testrail(case_id=test_id_cli, run_id=rid, status_id=1, - msg='Upgrade to ' + latest_ap_image + ' successful.') - client.update_testrail(case_id=test_id_cloud, run_id=rid, status_id=5, - msg='CLOUDSDK reporting incorrect firmware version.') - report_data['tests'][key][test_id_cli] = "passed" - report_data['tests'][key][test_id_cloud] = "failed" - print(report_data['tests'][key]) - - elif cloud_ap_fw == latest_ap_image and ap_cli_fw != latest_ap_image: - print("AP CLI shows upgrade failed - CloudSDK reporting error!") - # Testrail TC fail - client.update_testrail(case_id=test_id_cli, run_id=rid, status_id=5, - msg='AP failed to download or apply new FW. Upgrade to ' + latest_ap_image + ' Failed') - client.update_testrail(case_id=test_id_cloud, run_id=rid, status_id=5, - msg='CLOUDSDK reporting incorrect firmware version.') - report_data['tests'][key][test_id_cli] = "failed" - report_data['tests'][key][test_id_cloud] = "failed" - print(report_data['tests'][key]) - continue - - elif cloud_ap_fw != latest_ap_image and ap_cli_fw != latest_ap_image: - print("Upgrade Failed! Confirmed on CloudSDK and AP CLI. Upgrade test case failed.") - ##fail TR testcase and exit - client.update_testrail(case_id=test_id_cli, run_id=rid, status_id=5, - msg='AP failed to download or apply new FW. Upgrade to ' + latest_ap_image + ' Failed') - report_data['tests'][key][test_id_cli] = "failed" - print(report_data['tests'][key]) - continue - - else: - print("Unable to determine upgrade status. Skipping AP variant") - # update TR testcase as error - client.update_testrail(case_id=test_id_cli, run_id=rid, status_id=4, - msg='Cannot determine upgrade status - re-test required') - report_data['tests'][key][test_id_cli] = "error" - print(report_data['tests'][key]) - continue - - print(report_data) - - ###Check AP Manager Status - manager_status = ap_cli_info['state'] - - if manager_status != "active": - print("Manager status is " + manager_status + "! Not connected to the cloud.") - print("Waiting 30 seconds and re-checking status") - time.sleep(30) - ap_cli_info = ssh_cli_active_fw(ap_ip, ap_username, ap_password) - manager_status = ap_cli_info['state'] - if manager_status != "active": - print("Manager status is", manager_status, "! Not connected to the cloud.") - print("Manager status fails multiple checks - failing test case.") - ##fail cloud connectivity testcase - client.update_testrail(case_id=test_cases["cloud_connection"], run_id=rid, status_id=5, - msg='CloudSDK connectivity failed') - report_data['tests'][key][test_cases["cloud_connection"]] = "failed" - continue - else: - print("Manager status is Active. Proceeding to connectivity testing!") - # TC522 pass in Testrail - client.update_testrail(case_id=test_cases["cloud_connection"], run_id=rid, status_id=1, - msg='Manager status is Active') - report_data['tests'][key][test_cases["cloud_connection"]] = "passed" - else: - print("Manager status is Active. Proceeding to connectivity testing!") - # TC5222 pass in testrail - client.update_testrail(case_id=test_cases["cloud_connection"], run_id=rid, status_id=1, - msg='Manager status is Active') - report_data['tests'][key][test_cases["cloud_connection"]] = "passed" - # Pass cloud connectivity test case - - # Update report json - with open(report_path + today + '/report_data.json', 'w') as report_json_file: - json.dump(report_data, report_json_file) - - # Create List of Created Profiles to Delete After Test - delete_list = [] - - # Create RADIUS profile - used for all EAP SSIDs - if args.skip_eap != True: - radius_template = "templates/radius_profile_template.json" - radius_name = "Automation_RADIUS_"+today - server_ip = radius_info['server_ip'] - secret = radius_info['secret'] - auth_port = radius_info['auth_port'] - try: - radius_profile = CloudSDK.create_radius_profile(cloudSDK_url, bearer, radius_template, radius_name, customer_id, - server_ip, secret, - auth_port) - print("radius profile Id is", radius_profile) - client.update_testrail(case_id=test_cases["radius_profile"], run_id=rid, status_id=1, - msg='RADIUS profile created successfully') - report_data['tests'][key][test_cases["radius_profile"]] = "passed" - # Add created RADIUS profile to list for deletion at end of test - delete_list.append(radius_profile) - except: - radius_profile = 'error' - print("RADIUS Profile Create Error, will use existing profile for tests") - # Set backup profile ID so test can continue - radius_profile = test_info.radius_profile - server_name = "Lab-RADIUS" - client.update_testrail(case_id=test_cases["radius_profile"], run_id=rid, status_id=5, - msg='Failed to create RADIUS profile') - report_data['tests'][key][test_cases["radius_profile"]] = "failed" - else: - print("Skipped creating RADIUS profile based on skip_eap argument") - - # Set RF Profile Id depending on AP capability - if test_info.ap_spec[key] == "wifi5": - rfProfileId = test_info.rf_profile_wifi5 - print("using Wi-Fi5 profile Id") - elif test_info.ap_spec[key] == "wifi6": - rfProfileId = test_info.rf_profile_wifi6 - print("using Wi-Fi6 profile Id") - else: - rfProfileId = 10 - print("Unknown AP radio spec, using default RF profile") - - ########################################################################### - ############## Bridge Mode Client Connectivity ############################ - ########################################################################### - if args.skip_bridge != True: - ### Create SSID Profiles - ssid_template = "templates/ssid_profile_template.json" - child_profiles = [rfProfileId] - - # 5G SSIDs - if args.skip_eap != True: - try: - fiveG_eap = CloudSDK.create_ssid_profile(cloudSDK_url, bearer, ssid_template, - fw_model + '_5G_EAP_' + today, customer_id, profile_info_dict[fw_model]["fiveG_WPA2-EAP_SSID"], None, - radius_profile, - "wpa2OnlyRadius", "BRIDGE", 1, - ["is5GHzU", "is5GHz", "is5GHzL"]) - print("5G EAP SSID created successfully - bridge mode") - client.update_testrail(case_id=test_cases["ssid_5g_eap_bridge"], run_id=rid, status_id=1, - msg='5G EAP SSID created successfully - bridge mode') - report_data['tests'][key][test_cases["ssid_5g_eap_bridge"]] = "passed" - # Add create profile to list for AP profile - child_profiles.append(fiveG_eap) - # Add created profile to list for deletion at end of test - delete_list.append(fiveG_eap) - except: - fiveG_eap = "error" - print("5G EAP SSID create failed - bridge mode") - client.update_testrail(case_id=test_cases["ssid_5g_eap_bridge"], run_id=rid, status_id=5, - msg='5G EAP SSID create failed - bridge mode') - report_data['tests'][key][test_cases["ssid_5g_eap_bridge"]] = "failed" - - else: - pass - - try: - fiveG_wpa2 = CloudSDK.create_ssid_profile(cloudSDK_url, bearer, ssid_template, - fw_model + '_5G_WPA2_' + today, customer_id, - profile_info_dict[fw_model]["fiveG_WPA2_SSID"], - profile_info_dict[fw_model]["fiveG_WPA2_PSK"], - 0, "wpa2OnlyPSK", "BRIDGE", 1, - ["is5GHzU", "is5GHz", "is5GHzL"]) - print("5G WPA2 SSID created successfully - bridge mode") - client.update_testrail(case_id=test_cases["ssid_5g_wpa2_bridge"], run_id=rid, status_id=1, - msg='5G WPA2 SSID created successfully - bridge mode') - report_data['tests'][key][test_cases["ssid_5g_wpa2_bridge"]] = "passed" - # Add created profile to list for AP profile - child_profiles.append(fiveG_wpa2) - # Add created profile to list for deletion at end of test - delete_list.append(fiveG_wpa2) - except: - fiveG_wpa2 = "error" - print("5G WPA2 SSID create failed - bridge mode") - client.update_testrail(case_id=test_cases["ssid_5g_wpa2_bridge"], run_id=rid, status_id=5, - msg='5G WPA2 SSID create failed - bridge mode') - report_data['tests'][key][test_cases["ssid_5g_wpa2_bridge"]] = "failed" - - try: - fiveG_wpa = CloudSDK.create_ssid_profile(cloudSDK_url, bearer, ssid_template, - fw_model + '_5G_WPA_' + today, customer_id, - profile_info_dict[fw_model]["fiveG_WPA_SSID"], - profile_info_dict[fw_model]["fiveG_WPA_PSK"], - 0, "wpaPSK", "BRIDGE", 1, - ["is5GHzU", "is5GHz", "is5GHzL"]) - print("5G WPA SSID created successfully - bridge mode") - client.update_testrail(case_id=test_cases["ssid_5g_wpa_bridge"], run_id=rid, status_id=1, - msg='5G WPA SSID created successfully - bridge mode') - report_data['tests'][key][test_cases["ssid_5g_wpa_bridge"]] = "passed" - # Add created profile to list for AP profile - child_profiles.append(fiveG_wpa) - # Add created profile to list for deletion at end of test - delete_list.append(fiveG_wpa) - except: - fiveG_wpa = "error" - print("5G WPA SSID create failed - bridge mode") - client.update_testrail(case_id=test_cases["ssid_5g_wpa_bridge"], run_id=rid, status_id=5, - msg='5G WPA SSID create failed - bridge mode') - report_data['tests'][key][test_cases["ssid_5g_wpa_bridge"]] = "failed" - - # 2.4G SSIDs - if args.skip_eap != True: - try: - twoFourG_eap = CloudSDK.create_ssid_profile(cloudSDK_url, bearer, ssid_template, - fw_model + '_2G_EAP_' + today, customer_id, - profile_info_dict[fw_model]["twoFourG_WPA2-EAP_SSID"], - None, - radius_profile, "wpa2OnlyRadius", "BRIDGE", 1, - ["is2dot4GHz"]) - print("2.4G EAP SSID created successfully - bridge mode") - client.update_testrail(case_id=test_cases["ssid_2g_eap_bridge"], run_id=rid, status_id=1, - msg='2.4G EAP SSID created successfully - bridge mode') - report_data['tests'][key][test_cases["ssid_2g_eap_bridge"]] = "passed" - # Add created profile to list for AP profile - child_profiles.append(twoFourG_eap) - # Add created profile to list for deletion at end of test - delete_list.append(twoFourG_eap) - except: - twoFourG_eap = "error" - print("2.4G EAP SSID create failed - bridge mode") - client.update_testrail(case_id=test_cases["ssid_2g_eap_bridge"], run_id=rid, status_id=5, - msg='2.4G EAP SSID create failed - bridge mode') - report_data['tests'][key][test_cases["ssid_2g_eap_bridge"]] = "failed" - else: - pass - - try: - twoFourG_wpa2 = CloudSDK.create_ssid_profile(cloudSDK_url, bearer, ssid_template, - fw_model + '_2G_WPA2_' + today, customer_id, - profile_info_dict[fw_model]["twoFourG_WPA2_SSID"], - profile_info_dict[fw_model]["twoFourG_WPA2_PSK"], - 0, "wpa2OnlyPSK", "BRIDGE", 1, - ["is2dot4GHz"]) - print("2.4G WPA2 SSID created successfully - bridge mode") - client.update_testrail(case_id=test_cases["ssid_2g_wpa2_bridge"], run_id=rid, status_id=1, - msg='2.4G WPA2 SSID created successfully - bridge mode') - report_data['tests'][key][test_cases["ssid_2g_wpa2_bridge"]] = "passed" - # Add created profile to list for AP profile - child_profiles.append(twoFourG_wpa2) - # Add created profile to list for deletion at end of test - delete_list.append(twoFourG_wpa2) - except: - twoFourG_wpa2 = "error" - print("2.4G WPA2 SSID create failed - bridge mode") - client.update_testrail(case_id=test_cases["ssid_2g_wpa2_bridge"], run_id=rid, status_id=5, - msg='2.4G WPA2 SSID create failed - bridge mode') - report_data['tests'][key][test_cases["ssid_2g_wpa2_bridge"]] = "failed" - - try: - twoFourG_wpa = CloudSDK.create_ssid_profile(cloudSDK_url, bearer, ssid_template, - fw_model + '_2G_WPA_' + today, customer_id, - profile_info_dict[fw_model]["twoFourG_WPA_SSID"], - profile_info_dict[fw_model]["twoFourG_WPA_PSK"], - 0, "wpaPSK", "BRIDGE", 1, - ["is2dot4GHz"]) - print("2.4G WPA SSID created successfully - bridge mode") - client.update_testrail(case_id=test_cases["ssid_2g_wpa_bridge"], run_id=rid, status_id=1, - msg='2.4G WPA SSID created successfully - bridge mode') - report_data['tests'][key][test_cases["ssid_2g_wpa_bridge"]] = "passed" - # Add created profile to list for AP profile - child_profiles.append(twoFourG_wpa) - # Add created profile to list for deletion at end of test - delete_list.append(twoFourG_wpa) - except: - twoFourG_wpa = "error" - print("2.4G WPA SSID create failed - bridge mode") - client.update_testrail(case_id=test_cases["ssid_2g_wpa_bridge"], run_id=rid, status_id=5, - msg='2.4G WPA SSID create failed - bridge mode') - report_data['tests'][key][test_cases["ssid_2g_wpa_bridge"]] = "failed" - - ### Create AP Bridge Profile - print(child_profiles) - - ap_template = "templates/ap_profile_template.json" - name = "Nightly_Sanity_" + fw_model + "_" + today + "_bridge" - - try: - create_ap_profile = CloudSDK.create_ap_profile(cloudSDK_url, bearer, ap_template, name, customer_id, child_profiles) - test_profile_id = create_ap_profile - print("Test Profile ID for Test is:", test_profile_id) - client.update_testrail(case_id=test_cases["ap_bridge"], run_id=rid, status_id=1, - msg='AP profile for bridge tests created successfully') - report_data['tests'][key][test_cases["ap_bridge"]] = "passed" - # Add created profile to list for deletion at end of test - delete_list.append(test_profile_id) - except: - create_ap_profile = "error" - #test_profile_id = profile_info_dict[fw_model]["profile_id"] - print("Error creating AP profile for bridge tests. Will use existing AP profile") - client.update_testrail(case_id=test_cases["ap_bridge"], run_id=rid, status_id=5, - msg='AP profile for bridge tests could not be created using API') - report_data['tests'][key][test_cases["ap_bridge"]] = "failed" - - ### Set Proper AP Profile for Bridge SSID Tests - ap_profile = CloudSDK.set_ap_profile(equipment_id, test_profile_id, cloudSDK_url, bearer) - - ### Wait for Profile Push - time.sleep(180) - - ### Check if VIF Config and VIF State reflect AP Profile from CloudSDK - ## VIF Config - if args.skip_eap != True: - ssid_config = profile_info_dict[key]["ssid_list"] - else: - ssid_config = [x for x in profile_info_dict[key]["ssid_list"] if "-EAP" not in x] - try: - print("SSIDs in AP Profile:", ssid_config) - - ssid_list = ap_connect.get_vif_config(ap_ip, ap_username, ap_password) - print("SSIDs in AP VIF Config:", ssid_list) - - if set(ssid_list) == set(ssid_config): - print("SSIDs in Wifi_VIF_Config Match AP Profile Config") - client.update_testrail(case_id=test_cases["bridge_vifc"], run_id=rid, status_id=1, - msg='SSIDs in VIF Config matches AP Profile Config') - report_data['tests'][key][test_cases["bridge_vifc"]] = "passed" - else: - print("SSIDs in Wifi_VIF_Config do not match desired AP Profile Config") - client.update_testrail(case_id=test_cases["bridge_vifc"], run_id=rid, status_id=5, - msg='SSIDs in VIF Config do not match AP Profile Config') - report_data['tests'][key][test_cases["bridge_vifc"]] = "failed" - except: - ssid_list = "ERROR" - print("Error accessing VIF Config from AP CLI") - client.update_testrail(case_id=test_cases["bridge_vifc"], run_id=rid, status_id=4, - msg='Cannot determine VIF Config - re-test required') - report_data['tests'][key][test_cases["bridge_vifc"]] = "error" - # VIF State - try: - ssid_state = ap_connect.get_vif_state(ap_ip, ap_username, ap_password) - print("SSIDs in AP VIF State:", ssid_state) - - if set(ssid_state) == set(ssid_config): - print("SSIDs properly applied on AP") - client.update_testrail(case_id=test_cases["bridge_vifs"], run_id=rid, status_id=1, - msg='SSIDs in VIF Config applied to VIF State') - report_data['tests'][key][test_cases["bridge_vifs"]] = "passed" - else: - print("SSIDs not applied on AP") - client.update_testrail(case_id=test_cases["bridge_vifs"], run_id=rid, status_id=5, - msg='SSIDs in VIF Config not applied to VIF State') - report_data['tests'][key][test_cases["bridge_vifs"]] = "failed" - - except: - ssid_list = "ERROR" - print("Error accessing VIF State from AP CLI") - print("Error accessing VIF Config from AP CLI") - client.update_testrail(case_id=test_cases["bridge_vifs"], run_id=rid, status_id=4, - msg='Cannot determine VIF State - re-test required') - report_data['tests'][key][test_cases["bridge_vifs"]] = "error" - - # Set LANForge port for tests - port = test_info.lanforge_bridge_port - - # print iwinfo for information - iwinfo = iwinfo_status(ap_ip, ap_username, ap_password) - print(iwinfo) - - ###Run Client Single Connectivity Test Cases for Bridge SSIDs - # TC5214 - 2.4 GHz WPA2-Enterprise - if args.skip_eap != True: - test_case = test_cases["2g_eap_bridge"] - radio = test_info.lanforge_2dot4g - #sta_list = [lanforge_prefix + "5214"] - sta_list = [test_info.lanforge_2dot4g_station] - prefix = test_info.lanforge_2dot4g_prefix - ssid_name = profile_info_dict[fw_model]["twoFourG_WPA2-EAP_SSID"] - security = "wpa2" - eap_type = "TTLS" - try: - test_result = RunTest.Single_Client_EAP(port, sta_list, ssid_name, radio, prefix, security, eap_type, - identity, - ttls_password, test_case, rid) - except: - test_result = "error" - Test.testrail_retest(test_case, rid, ssid_name) - pass - report_data['tests'][key][int(test_case)] = test_result - time.sleep(10) - else: - pass - - ###Run Client Single Connectivity Test Cases for Bridge SSIDs - # TC - 2.4 GHz WPA2 - test_case = test_cases["2g_wpa2_bridge"] - radio = test_info.lanforge_2dot4g - #station = [lanforge_prefix + "2237"] - station = [test_info.lanforge_2dot4g_station] - prefix = test_info.lanforge_2dot4g_prefix - ssid_name = profile_info_dict[fw_model]["twoFourG_WPA2_SSID"] - ssid_psk = profile_info_dict[fw_model]["twoFourG_WPA2_PSK"] - security = "wpa2" - try: - test_result = Test.Single_Client_Connectivity(port, radio, prefix, ssid_name, ssid_psk, security, station, - test_case, - rid) - except: - test_result = "error" - Test.testrail_retest(test_case, rid, ssid_name) - pass - report_data['tests'][key][int(test_case)] = test_result - time.sleep(10) - - # TC - 2.4 GHz WPA - test_case = test_cases["2g_wpa_bridge"] - radio = test_info.lanforge_2dot4g - #station = [lanforge_prefix + "2420"] - station = [test_info.lanforge_2dot4g_station] - prefix = test_info.lanforge_2dot4g_prefix - ssid_name = profile_info_dict[fw_model]["twoFourG_WPA_SSID"] - ssid_psk = profile_info_dict[fw_model]["twoFourG_WPA_PSK"] - security = "wpa" - try: - test_result = Test.Single_Client_Connectivity(port, radio, prefix, ssid_name, ssid_psk, security, station, - test_case, - rid) - except: - test_result = "error" - Test.testrail_retest(test_case, rid, ssid_name) - pass - report_data['tests'][key][int(test_case)] = test_result - time.sleep(10) - - # TC - 5 GHz WPA2-Enterprise - if args.skip_eap != True: - test_case = test_cases["5g_eap_bridge"] - radio = test_info.lanforge_5g - #sta_list = [lanforge_prefix + "5215"] - sta_list = [test_info.lanforge_5g_station] - prefix = test_info.lanforge_5g_prefix - ssid_name = profile_info_dict[fw_model]["fiveG_WPA2-EAP_SSID"] - security = "wpa2" - eap_type = "TTLS" - try: - test_result = RunTest.Single_Client_EAP(port, sta_list, ssid_name, radio, prefix, security, eap_type, - identity, - ttls_password, test_case, rid) - except: - test_result = "error" - Test.testrail_retest(test_case, rid, ssid_name) - pass - report_data['tests'][key][int(test_case)] = test_result - time.sleep(10) - else: - pass - - # TC 5 GHz WPA2 - test_case = test_cases["5g_wpa2_bridge"] - radio = test_info.lanforge_5g - #station = [lanforge_prefix + "2236"] - station = [test_info.lanforge_5g_station] - prefix = test_info.lanforge_5g_prefix - ssid_name = profile_info_dict[fw_model]["fiveG_WPA2_SSID"] - ssid_psk = profile_info_dict[fw_model]["fiveG_WPA2_PSK"] - security = "wpa2" - try: - test_result = Test.Single_Client_Connectivity(port, radio, prefix, ssid_name, ssid_psk, security, station, - test_case, - rid) - except: - test_result = "error" - Test.testrail_retest(test_case, rid, ssid_name) - pass - report_data['tests'][key][int(test_case)] = test_result - time.sleep(10) - - # TC - 5 GHz WPA - test_case = test_cases["5g_wpa_bridge"] - radio = test_info.lanforge_5g - #station = [lanforge_prefix + "2419"] - station = [test_info.lanforge_5g_station] - prefix = test_info.lanforge_5g_prefix - ssid_name = profile_info_dict[fw_model]["fiveG_WPA_SSID"] - ssid_psk = profile_info_dict[fw_model]["fiveG_WPA_PSK"] - security = "wpa" - try: - test_result = Test.Single_Client_Connectivity(port, radio, prefix, ssid_name, ssid_psk, security, station, - test_case, - rid) - except: - test_result = "error" - Test.testrail_retest(test_case, rid, ssid_name) - pass - report_data['tests'][key][int(test_case)] = test_result - time.sleep(10) - - # Update SSID Profile - update_profile_id = str(fiveG_wpa) - update_ssid = key+"_Updated_SSID" - update_auth = "wpa2OnlyPSK" - update_security = "wpa2" - update_psk = "12345678" - update_profile = CloudSDK.update_ssid_profile(cloudSDK_url, bearer, update_profile_id, update_ssid, update_auth, update_psk) - print(update_profile) - time.sleep(90) - - # TC - Update Bridge SSID profile - test_case = test_cases["bridge_ssid_update"] - radio = test_info.lanforge_5g - station = [test_info.lanforge_5g_station] - prefix = test_info.lanforge_5g_prefix - try: - test_result = Test.Single_Client_Connectivity(port, radio, prefix, update_ssid, update_psk, - update_security, station, - test_case, - rid) - except: - test_result = "error" - Test.testrail_retest(test_case, rid, update_ssid) - pass - report_data['tests'][key][int(test_case)] = test_result - time.sleep(5) - - print(report_data['tests'][key]) - logger.info("Testing for " + fw_model + "Bridge Mode SSIDs Complete") - with open(report_path + today + '/report_data.json', 'w') as report_json_file: - json.dump(report_data, report_json_file) - else: - print("Skipping Bridge tests at user request...") - pass - - ########################################################################### - ################# NAT Mode Client Connectivity ############################ - ########################################################################### - if args.skip_nat != True: - child_profiles = [rfProfileId] - ### Create SSID Profiles - ssid_template = "templates/ssid_profile_template.json" - - # 5G SSIDs - if args.skip_eap != True: - try: - fiveG_eap = CloudSDK.create_ssid_profile(cloudSDK_url, bearer, ssid_template, - fw_model + '_5G_EAP_NAT_' + today, customer_id, - profile_info_dict[fw_model + '_nat'][ - "fiveG_WPA2-EAP_SSID"], None, - radius_profile, - "wpa2OnlyRadius", "NAT", 1, - ["is5GHzU", "is5GHz", "is5GHzL"]) - print("5G EAP SSID created successfully - NAT mode") - client.update_testrail(case_id=test_cases["ssid_5g_eap_nat"], run_id=rid, status_id=1, - msg='5G EAP SSID created successfully - NAT mode') - report_data['tests'][key][test_cases["ssid_5g_eap_nat"]] = "passed" - # Add created profile to list for AP profile - child_profiles.append(fiveG_eap) - # Add created profile to list for deletion at end of test - delete_list.append(fiveG_eap) - - except: - fiveG_eap = "error" - print("5G EAP SSID create failed - NAT mode") - client.update_testrail(case_id=test_cases["ssid_5g_eap_nat"], run_id=rid, status_id=5, - msg='5G EAP SSID create failed - NAT mode') - report_data['tests'][key][test_cases["ssid_5g_eap_nat"]] = "failed" - else: - pass - - try: - fiveG_wpa2 = CloudSDK.create_ssid_profile(cloudSDK_url, bearer, ssid_template, - fw_model + '_5G_WPA2_NAT_' + today, customer_id, - profile_info_dict[fw_model + '_nat']["fiveG_WPA2_SSID"], - profile_info_dict[fw_model + '_nat']["fiveG_WPA2_PSK"], - 0, "wpa2OnlyPSK", "NAT", 1, - ["is5GHzU", "is5GHz", "is5GHzL"]) - print("5G WPA2 SSID created successfully - NAT mode") - client.update_testrail(case_id=test_cases["ssid_5g_wpa2_nat"], run_id=rid, status_id=1, - msg='5G WPA2 SSID created successfully - NAT mode') - report_data['tests'][key][test_cases["ssid_5g_wpa2_nat"]] = "passed" - # Add created profile to list for AP profile - child_profiles.append(fiveG_wpa2) - # Add created profile to list for deletion at end of test - delete_list.append(fiveG_wpa2) - except: - fiveG_wpa2 = "error" - print("5G WPA2 SSID create failed - NAT mode") - client.update_testrail(case_id=test_cases["ssid_5g_wpa2_nat"], run_id=rid, status_id=5, - msg='5G WPA2 SSID create failed - NAT mode') - report_data['tests'][key][test_cases["ssid_5g_wpa2_nat"]] = "failed" - - try: - fiveG_wpa = CloudSDK.create_ssid_profile(cloudSDK_url, bearer, ssid_template, - fw_model + '_5G_WPA_NAT_' + today, customer_id, - profile_info_dict[fw_model + '_nat']["fiveG_WPA_SSID"], - profile_info_dict[fw_model + '_nat']["fiveG_WPA_PSK"], - 0, "wpaPSK", "NAT", 1, - ["is5GHzU", "is5GHz", "is5GHzL"]) - print("5G WPA SSID created successfully - NAT mode") - client.update_testrail(case_id=test_cases["ssid_5g_wpa_nat"], run_id=rid, status_id=1, - msg='5G WPA SSID created successfully - NAT mode') - report_data['tests'][key][test_cases["ssid_5g_wpa_nat"]] = "passed" - # Add created profile to list for AP profile - child_profiles.append(fiveG_wpa) - # Add created profile to list for deletion at end of test - delete_list.append(fiveG_wpa) - except: - fiveG_wpa = "error" - print("5G WPA SSID create failed - NAT mode") - client.update_testrail(case_id=test_cases["ssid_5g_wpa_nat"], run_id=rid, status_id=5, - msg='5G WPA SSID create failed - NAT mode') - report_data['tests'][key][test_cases["ssid_5g_wpa_nat"]] = "failed" - - # 2.4G SSIDs - if args.skip_eap != True: - try: - twoFourG_eap = CloudSDK.create_ssid_profile(cloudSDK_url, bearer, ssid_template, - fw_model + '_2G_EAP_NAT_' + today, customer_id, - profile_info_dict[fw_model + '_nat'][ - "twoFourG_WPA2-EAP_SSID"], - None, - radius_profile, "wpa2OnlyRadius", "NAT", 1, ["is2dot4GHz"]) - print("2.4G EAP SSID created successfully - NAT mode") - client.update_testrail(case_id=test_cases["ssid_2g_eap_nat"], run_id=rid, status_id=1, - msg='2.4G EAP SSID created successfully - NAT mode') - report_data['tests'][key][test_cases["ssid_2g_eap_nat"]] = "passed" - # Add created profile to list for AP profile - child_profiles.append(twoFourG_eap) - # Add created profile to list for deletion at end of test - delete_list.append(twoFourG_eap) - except: - twoFourG_eap = "error" - print("2.4G EAP SSID create failed - NAT mode") - client.update_testrail(case_id=test_cases["ssid_2g_eap_nat"], run_id=rid, status_id=5, - msg='2.4G EAP SSID create failed - NAT mode') - report_data['tests'][key][test_cases["ssid_2g_eap_nat"]] = "failed" - else: - pass - - try: - twoFourG_wpa2 = CloudSDK.create_ssid_profile(cloudSDK_url, bearer, ssid_template, - fw_model + '_2G_WPA2_NAT_' + today, customer_id, - profile_info_dict[fw_model + '_nat']["twoFourG_WPA2_SSID"], - profile_info_dict[fw_model + '_nat']["twoFourG_WPA2_PSK"], - 0, "wpa2OnlyPSK", "NAT", 1, - ["is2dot4GHz"]) - print("2.4G WPA2 SSID created successfully - NAT mode") - client.update_testrail(case_id=test_cases["ssid_2g_wpa2_nat"], run_id=rid, status_id=1, - msg='2.4G WPA2 SSID created successfully - NAT mode') - report_data['tests'][key][test_cases["ssid_2g_wpa2_nat"]] = "passed" - # Add created profile to list for AP profile - child_profiles.append(twoFourG_wpa2) - # Add created profile to list for deletion at end of test - delete_list.append(twoFourG_wpa2) - except: - twoFourG_wpa2 = "error" - print("2.4G WPA2 SSID create failed - NAT mode") - client.update_testrail(case_id=test_cases["ssid_2g_wpa2_nat"], run_id=rid, status_id=5, - msg='2.4G WPA2 SSID create failed - NAT mode') - report_data['tests'][key][test_cases["ssid_2g_wpa2_nat"]] = "failed" - try: - twoFourG_wpa = CloudSDK.create_ssid_profile(cloudSDK_url, bearer, ssid_template, - fw_model + '_2G_WPA_NAT_' + today, customer_id, - profile_info_dict[fw_model + '_nat']["twoFourG_WPA_SSID"], - profile_info_dict[fw_model + '_nat']["twoFourG_WPA_PSK"], - 0, "wpaPSK", "NAT", 1, - ["is2dot4GHz"]) - print("2.4G WPA SSID created successfully - NAT mode") - client.update_testrail(case_id=test_cases["ssid_2g_wpa_nat"], run_id=rid, status_id=1, - msg='2.4G WPA SSID created successfully - NAT mode') - report_data['tests'][key][test_cases["ssid_2g_wpa_nat"]] = "passed" - # Add created profile to list for AP profile - child_profiles.append(twoFourG_wpa) - # Add created profile to list for deletion at end of test - delete_list.append(twoFourG_wpa) - except: - twoFourG_wpa = "error" - print("2.4G WPA SSID create failed - NAT mode") - client.update_testrail(case_id=test_cases["ssid_2g_wpa_nat"], run_id=rid, status_id=5, - msg='2.4G WPA SSID create failed - NAT mode') - report_data['tests'][key][test_cases["ssid_2g_wpa_nat"]] = "failed" - - ### Create AP NAT Profile - print(child_profiles) - ap_template = "templates/ap_profile_template.json" - name = "Nightly_Sanity_" + fw_model + "_" + today + "_nat" - - try: - create_ap_profile = CloudSDK.create_ap_profile(cloudSDK_url, bearer, ap_template, name, customer_id, child_profiles) - test_profile_id = create_ap_profile - print("Test Profile ID for Test is:", test_profile_id) - client.update_testrail(case_id=test_cases["ap_nat"], run_id=rid, status_id=1, - msg='AP profile for NAT tests created successfully') - report_data['tests'][key][test_cases["ap_nat"]] = "passed" - # Add created profile to list for AP profile - # Add created profile to list for deletion at end of test - delete_list.append(test_profile_id) - except: - create_ap_profile = "error" - #test_profile_id = profile_info_dict[fw_model + '_nat']["profile_id"] - print("Error creating AP profile for NAT tests. Will use existing AP profile") - client.update_testrail(case_id=test_cases["ap_nat"], run_id=rid, status_id=5, - msg='AP profile for NAT tests could not be created using API') - report_data['tests'][key][test_cases["ap_nat"]] = "failed" - - ###Set Proper AP Profile for NAT SSID Tests - ap_profile = CloudSDK.set_ap_profile(equipment_id, test_profile_id, cloudSDK_url, bearer) - - ### Wait for Profile Push - time.sleep(180) - - ###Check if VIF Config and VIF State reflect AP Profile from CloudSDK - ## VIF Config - if args.skip_eap != True: - ssid_config = profile_info_dict[fw_model + '_nat']["ssid_list"] - else: - ssid_config = [x for x in profile_info_dict[fw_model + '_nat']["ssid_list"] if "-EAP" not in x] - try: - print("SSIDs in AP Profile:", ssid_config) - - ssid_list = ap_connect.get_vif_config(ap_ip, ap_username, ap_password) - print("SSIDs in AP VIF Config:", ssid_list) - - if set(ssid_list) == set(ssid_config): - print("SSIDs in Wifi_VIF_Config Match AP Profile Config") - client.update_testrail(case_id=test_cases["nat_vifc"], run_id=rid, status_id=1, - msg='SSIDs in VIF Config matches AP Profile Config') - report_data['tests'][key][test_cases["nat_vifc"]] = "passed" - else: - print("SSIDs in Wifi_VIF_Config do not match desired AP Profile Config") - client.update_testrail(case_id=test_cases["nat_vifc"], run_id=rid, status_id=5, - msg='SSIDs in VIF Config do not match AP Profile Config') - report_data['tests'][key][test_cases["nat_vifc"]] = "failed" - except: - ssid_list = "ERROR" - print("Error accessing VIF Config from AP CLI") - client.update_testrail(case_id=test_cases["nat_vifc"], run_id=rid, status_id=4, - msg='Cannot determine VIF Config - re-test required') - report_data['tests'][key][test_cases["nat_vifc"]] = "error" - # VIF State - try: - ssid_state = ap_connect.get_vif_state(ap_ip, ap_username, ap_password) - print("SSIDs in AP VIF State:", ssid_state) - - if set(ssid_state) == set(ssid_config): - print("SSIDs properly applied on AP") - client.update_testrail(case_id=test_cases["nat_vifs"], run_id=rid, status_id=1, - msg='SSIDs in VIF Config applied to VIF State') - report_data['tests'][key][test_cases["nat_vifs"]] = "passed" - else: - print("SSIDs not applied on AP") - client.update_testrail(case_id=test_cases["nat_vifs"], run_id=rid, status_id=5, - msg='SSIDs in VIF Config not applied to VIF State') - report_data['tests'][key][test_cases["nat_vifs"]] = "failed" - except: - ssid_list = "ERROR" - print("Error accessing VIF State from AP CLI") - print("Error accessing VIF Config from AP CLI") - client.update_testrail(case_id=test_cases["nat_vifs"], run_id=rid, status_id=4, - msg='Cannot determine VIF State - re-test required') - report_data['tests'][key][test_cases["nat_vifs"]] = "error" - - ### Set LANForge port for tests - port = test_info.lanforge_bridge_port - - # Print iwinfo for logs - iwinfo = iwinfo_status(ap_ip, ap_username, ap_password) - print(iwinfo) - - ###Run Client Single Connectivity Test Cases for NAT SSIDs - # TC - 2.4 GHz WPA2-Enterprise NAT - if args.skip_eap != True: - test_case = test_cases["2g_eap_nat"] - radio = test_info.lanforge_2dot4g - #sta_list = [lanforge_prefix + "5216"] - sta_list = [test_info.lanforge_2dot4g_station] - prefix = test_info.lanforge_2dot4g_prefix - ssid_name = profile_info_dict[fw_model + '_nat']["twoFourG_WPA2-EAP_SSID"] - security = "wpa2" - eap_type = "TTLS" - try: - test_result = RunTest.Single_Client_EAP(port, sta_list, ssid_name, radio, prefix, security, eap_type, - identity, - ttls_password, test_case, rid) - except: - test_result = "error" - Test.testrail_retest(test_case, rid, ssid_name) - pass - report_data['tests'][key][int(test_case)] = test_result - time.sleep(10) - else: - pass - - # TC - 2.4 GHz WPA2 NAT - test_case = test_cases["2g_wpa2_nat"] - radio = test_info.lanforge_2dot4g - #station = [lanforge_prefix + "4325"] - station = [test_info.lanforge_2dot4g_station] - prefix = test_info.lanforge_2dot4g_prefix - ssid_name = profile_info_dict[fw_model + '_nat']["twoFourG_WPA2_SSID"] - ssid_psk = profile_info_dict[fw_model + '_nat']["twoFourG_WPA2_PSK"] - security = "wpa2" - try: - test_result = Test.Single_Client_Connectivity(port, radio, prefix, ssid_name, ssid_psk, security, station, - test_case, - rid) - except: - test_result = "error" - Test.testrail_retest(test_case, rid, ssid_name) - pass - report_data['tests'][key][int(test_case)] = test_result - time.sleep(10) - - # TC - 2.4 GHz WPA NAT - test_case = test_cases["2g_wpa_nat"] - radio = test_info.lanforge_2dot4g - #station = [lanforge_prefix + "4323"] - station = [test_info.lanforge_2dot4g_station] - prefix = test_info.lanforge_2dot4g_prefix - ssid_name = profile_info_dict[fw_model + '_nat']["twoFourG_WPA_SSID"] - ssid_psk = profile_info_dict[fw_model + '_nat']["twoFourG_WPA_PSK"] - security = "wpa" - try: - test_result = Test.Single_Client_Connectivity(port, radio, prefix, ssid_name, ssid_psk, security, station, - test_case, rid) - except: - test_result = "error" - Test.testrail_retest(test_case, rid, ssid_name) - pass - report_data['tests'][key][int(test_case)] = test_result - time.sleep(10) - - # TC - 5 GHz WPA2-Enterprise NAT - if args.skip_eap != True: - test_case = test_cases["5g_eap_nat"] - radio = test_info.lanforge_5g - #sta_list = [lanforge_prefix + "5217"] - sta_list = [test_info.lanforge_5g_station] - prefix = test_info.lanforge_5g_prefix - ssid_name = profile_info_dict[fw_model + '_nat']["fiveG_WPA2-EAP_SSID"] - security = "wpa2" - eap_type = "TTLS" - try: - test_result = RunTest.Single_Client_EAP(port, sta_list, ssid_name, radio, prefix, security, eap_type, - identity, - ttls_password, test_case, rid) - except: - test_result = "error" - Test.testrail_retest(test_case, rid, ssid_name) - pass - report_data['tests'][key][int(test_case)] = test_result - time.sleep(10) - - # TC - 5 GHz WPA2 NAT - test_case = test_cases["5g_wpa2_nat"] - radio = test_info.lanforge_5g - #station = [lanforge_prefix + "4326"] - station = [test_info.lanforge_5g_station] - prefix = test_info.lanforge_5g_prefix - ssid_name = profile_info_dict[fw_model + '_nat']["fiveG_WPA2_SSID"] - ssid_psk = profile_info_dict[fw_model]["fiveG_WPA2_PSK"] - security = "wpa2" - try: - test_result = Test.Single_Client_Connectivity(port, radio, prefix, ssid_name, ssid_psk, security, station, - test_case, - rid) - except: - test_result = "error" - Test.testrail_retest(test_case, rid, ssid_name) - pass - report_data['tests'][key][int(test_case)] = test_result - time.sleep(10) - - # TC - 5 GHz WPA NAT - test_case = test_cases["5g_wpa_nat"] - radio = test_info.lanforge_5g - #station = [lanforge_prefix + "4324"] - station = [test_info.lanforge_5g_station] - prefix = test_info.lanforge_5g_prefix - ssid_name = profile_info_dict[fw_model + '_nat']["fiveG_WPA_SSID"] - ssid_psk = profile_info_dict[fw_model]["fiveG_WPA_PSK"] - security = "wpa" - try: - test_result = Test.Single_Client_Connectivity(port, radio, prefix, ssid_name, ssid_psk, security, station, - test_case, - rid) - except: - test_result = "error" - Test.testrail_retest(test_case, rid, ssid_name) - pass - report_data['tests'][key][int(test_case)] = test_result - time.sleep(10) - - # Update SSID Profile - update_profile_id = str(fiveG_wpa2) - update_ssid = key + "_Updated_SSID_NAT" - update_auth = "wpaPSK" - update_security = "wpa" - update_psk = "12345678" - update_profile = CloudSDK.update_ssid_profile(cloudSDK_url, bearer, update_profile_id, update_ssid, - update_auth, update_psk) - print(update_profile) - time.sleep(90) - - # TC - Update NAT SSID profile - test_case = test_cases["nat_ssid_update"] - radio = test_info.lanforge_5g - station = [test_info.lanforge_5g_station] - prefix = test_info.lanforge_5g_prefix - try: - test_result = Test.Single_Client_Connectivity(port, radio, prefix, update_ssid, update_psk, - update_security, station, - test_case, - rid) - except: - test_result = "error" - Test.testrail_retest(test_case, rid, update_ssid) - pass - report_data['tests'][key][int(test_case)] = test_result - time.sleep(5) - - print(report_data['tests'][key]) - logger.info("Testing for " + fw_model + "NAT Mode SSIDs Complete") - with open(report_path + today + '/report_data.json', 'w') as report_json_file: - json.dump(report_data, report_json_file) - else: - print("Skipping NAT tests at user request...") - pass - - ########################################################################### - ################# Customer VLAN Client Connectivity ####################### - ########################################################################### - if args.skip_vlan != True: - child_profiles = [rfProfileId] - ### Create SSID Profiles - ssid_template = "templates/ssid_profile_template.json" - - # 5G SSIDs - if args.skip_eap != True: - try: - fiveG_eap = CloudSDK.create_ssid_profile(cloudSDK_url, bearer, ssid_template, - fw_model + '_5G_EAP_VLAN' + today, customer_id, - profile_info_dict[fw_model + '_vlan'][ - "fiveG_WPA2-EAP_SSID"], None, - radius_profile, - "wpa2OnlyRadius", "BRIDGE", test_info.vlan, - ["is5GHzU", "is5GHz", "is5GHzL"]) - print("5G EAP SSID created successfully - custom VLAN mode") - client.update_testrail(case_id=test_cases["ssid_5g_eap_vlan"], run_id=rid, status_id=1, - msg='5G EAP SSID created successfully - Custom VLAN mode') - report_data['tests'][key][test_cases["ssid_5g_eap_vlan"]] = "passed" - # Add created profile to list for AP profile - child_profiles.append(fiveG_eap) - # Add created profile to list for deletion at end of test - delete_list.append(fiveG_eap) - - except: - fiveG_eap = "error" - print("5G EAP SSID create failed - custom VLAN mode") - client.update_testrail(case_id=test_cases["ssid_5g_eap_vlan"], run_id=rid, status_id=5, - msg='5G EAP SSID create failed - custom VLAN mode') - report_data['tests'][key][test_cases["ssid_5g_eap_vlan"]] = "failed" - else: - pass - - try: - fiveG_wpa2 = CloudSDK.create_ssid_profile(cloudSDK_url, bearer, ssid_template, - fw_model + '_5G_WPA2_VLAN' + today, customer_id, - profile_info_dict[fw_model + '_vlan']["fiveG_WPA2_SSID"], - profile_info_dict[fw_model + '_vlan']["fiveG_WPA2_PSK"], - 0, "wpa2OnlyPSK", "BRIDGE", test_info.vlan, - ["is5GHzU", "is5GHz", "is5GHzL"]) - print("5G WPA2 SSID created successfully - custom VLAN mode") - client.update_testrail(case_id=test_cases["ssid_5g_wpa2_vlan"], run_id=rid, status_id=1, - msg='5G WPA2 SSID created successfully - custom VLAN mode') - report_data['tests'][key][test_cases["ssid_5g_wpa2_vlan"]] = "passed" - # Add created profile to list for AP profile - child_profiles.append(fiveG_wpa2) - # Add created profile to list for deletion at end of test - delete_list.append(fiveG_wpa2) - except: - fiveG_wpa2 = "error" - print("5G WPA2 SSID create failed - custom VLAN mode") - client.update_testrail(case_id=test_cases["ssid_5g_wpa2_vlan"], run_id=rid, status_id=5, - msg='5G WPA2 SSID create failed - custom VLAN mode') - report_data['tests'][key][test_cases["ssid_5g_wpa2_vlan"]] = "failed" - - try: - fiveG_wpa = CloudSDK.create_ssid_profile(cloudSDK_url, bearer, ssid_template, - fw_model + '_5G_WPA_VLAN_' + today, customer_id, - profile_info_dict[fw_model + '_vlan']["fiveG_WPA_SSID"], - profile_info_dict[fw_model + '_vlan']["fiveG_WPA_PSK"], - 0, "wpaPSK", "BRIDGE", test_info.vlan, - ["is5GHzU", "is5GHz", "is5GHzL"]) - print("5G WPA SSID created successfully - custom VLAN mode") - client.update_testrail(case_id=test_cases["ssid_5g_wpa_vlan"], run_id=rid, status_id=1, - msg='5G WPA SSID created successfully - custom VLAN mode') - report_data['tests'][key][test_cases["ssid_5g_wpa_vlan"]] = "passed" - # Add created profile to list for AP profile - child_profiles.append(fiveG_wpa) - # Add created profile to list for deletion at end of test - delete_list.append(fiveG_wpa) - except: - fiveG_wpa = "error" - print("5G WPA SSID create failed - custom VLAN mode") - client.update_testrail(case_id=test_cases["ssid_5g_wpa_vlan"], run_id=rid, status_id=5, - msg='5G WPA SSID create failed - custom VLAN mode') - report_data['tests'][key][test_cases["ssid_5g_wpa_vlan"]] = "failed" - - # 2.4G SSIDs - if args.skip_eap != True: - try: - twoFourG_eap = CloudSDK.create_ssid_profile(cloudSDK_url, bearer, ssid_template, - fw_model + '_2G_EAP_VLAN_' + today, customer_id, - profile_info_dict[fw_model + '_vlan'][ - "twoFourG_WPA2-EAP_SSID"], - None, - radius_profile, "wpa2OnlyRadius", "BRIDGE", test_info.vlan, - ["is2dot4GHz"]) - print("2.4G EAP SSID created successfully - custom VLAN mode") - client.update_testrail(case_id=test_cases["ssid_2g_eap_vlan"], run_id=rid, status_id=1, - msg='2.4G EAP SSID created successfully - custom VLAN mode') - report_data['tests'][key][test_cases["ssid_2g_eap_vlan"]] = "passed" - # Add created profile to list for AP profile - child_profiles.append(twoFourG_eap) - # Add created profile to list for deletion at end of test - delete_list.append(twoFourG_eap) - except: - twoFourG_eap = "error" - print("2.4G EAP SSID create failed - custom VLAN mode") - client.update_testrail(case_id=test_cases["ssid_2g_eap_vlan"], run_id=rid, status_id=5, - msg='2.4G EAP SSID create failed - custom VLAN mode') - report_data['tests'][key][test_cases["ssid_2g_eap_vlan"]] = "failed" - else: - pass - - try: - twoFourG_wpa2 = CloudSDK.create_ssid_profile(cloudSDK_url, bearer, ssid_template, - fw_model + '_2G_WPA2_VLAN_' + today, customer_id, - profile_info_dict[fw_model + '_vlan'][ - "twoFourG_WPA2_SSID"], - profile_info_dict[fw_model + '_vlan']["twoFourG_WPA2_PSK"], - 0, "wpa2OnlyPSK", "BRIDGE", test_info.vlan, - ["is2dot4GHz"]) - print("2.4G WPA2 SSID created successfully - custom VLAN mode") - client.update_testrail(case_id=test_cases["ssid_2g_wpa2_vlan"], run_id=rid, status_id=1, - msg='2.4G WPA2 SSID created successfully - custom VLAN mode') - report_data['tests'][key][test_cases["ssid_2g_wpa2_vlan"]] = "passed" - # Add created profile to list for AP profile - child_profiles.append(twoFourG_wpa2) - # Add created profile to list for deletion at end of test - delete_list.append(twoFourG_wpa2) - except: - twoFourG_wpa2 = "error" - print("2.4G WPA2 SSID create failed - custom VLAN mode") - client.update_testrail(case_id=test_cases["ssid_2g_wpa2_vlan"], run_id=rid, status_id=5, - msg='2.4G WPA2 SSID create failed - custom VLAN mode') - report_data['tests'][key][test_cases["ssid_2g_wpa2_vlan"]] = "failed" - - try: - twoFourG_wpa = CloudSDK.create_ssid_profile(cloudSDK_url, bearer, ssid_template, - fw_model + '_2G_WPA_VLAN_' + today, customer_id, - profile_info_dict[fw_model + '_vlan']["twoFourG_WPA_SSID"], - profile_info_dict[fw_model + '_vlan']["twoFourG_WPA_PSK"], - 0, "wpaPSK", "BRIDGE", test_info.vlan, - ["is2dot4GHz"]) - print("2.4G WPA SSID created successfully - custom VLAN mode") - client.update_testrail(case_id=test_cases["ssid_2g_wpa_vlan"], run_id=rid, status_id=1, - msg='2.4G WPA SSID created successfully - custom VLAN mode') - report_data['tests'][key][test_cases["ssid_2g_wpa_vlan"]] = "passed" - # Add created profile to list for AP profile - child_profiles.append(twoFourG_wpa) - # Add created profile to list for deletion at end of test - delete_list.append(twoFourG_wpa) - except: - twoFourG_wpa = "error" - print("2.4G WPA SSID create failed - custom VLAN mode") - client.update_testrail(case_id=test_cases["ssid_2g_wpa_vlan"], run_id=rid, status_id=5, - msg='2.4G WPA SSID create failed - custom VLAN mode') - report_data['tests'][key][test_cases["ssid_2g_wpa_vlan"]] = "failed" - - ### Create AP VLAN Profile - print(child_profiles) - ap_template = "templates/ap_profile_template.json" - name = "Nightly_Sanity_" + fw_model + "_" + today + "_vlan" - - try: - create_ap_profile = CloudSDK.create_ap_profile(cloudSDK_url, bearer, ap_template, name, customer_id, child_profiles) - test_profile_id = create_ap_profile - print("Test Profile ID for Test is:", test_profile_id) - client.update_testrail(case_id=test_cases["ap_vlan"], run_id=rid, status_id=1, - msg='AP profile for VLAN tests created successfully') - report_data['tests'][key][test_cases["ap_vlan"]] = "passed" - # Add created profile to list for deletion at end of test - delete_list.append(test_profile_id) - except: - create_ap_profile = "error" - #test_profile_id = profile_info_dict[fw_model + '_vlan']["profile_id"] - print("Error creating AP profile for bridge tests. Will use existing AP profile") - client.update_testrail(case_id=test_cases["ap_vlan"], run_id=rid, status_id=5, - msg='AP profile for VLAN tests could not be created using API') - report_data['tests'][key][test_cases["ap_vlan"]] = "failed" - - ### Set Proper AP Profile for VLAN SSID Tests - ap_profile = CloudSDK.set_ap_profile(equipment_id, test_profile_id, cloudSDK_url, bearer) - - ### Wait for Profile Push - time.sleep(180) - - ###Check if VIF Config and VIF State reflect AP Profile from CloudSDK - ## VIF Config - if args.skip_eap != True: - ssid_config = profile_info_dict[fw_model + '_vlan']["ssid_list"] - else: - ssid_config = [x for x in profile_info_dict[fw_model + '_vlan']["ssid_list"] if "-EAP" not in x] - - try: - print("SSIDs in AP Profile:", ssid_config) - - ssid_list = ap_connect.get_vif_config(ap_ip, ap_username, ap_password) - print("SSIDs in AP VIF Config:", ssid_list) - - if set(ssid_list) == set(ssid_config): - print("SSIDs in Wifi_VIF_Config Match AP Profile Config") - client.update_testrail(case_id=test_cases["vlan_vifc"], run_id=rid, status_id=1, - msg='SSIDs in VIF Config matches AP Profile Config') - report_data['tests'][key][test_cases["vlan_vifc"]] = "passed" - else: - print("SSIDs in Wifi_VIF_Config do not match desired AP Profile Config") - client.update_testrail(case_id=test_cases["vlan_vifc"], run_id=rid, status_id=5, - msg='SSIDs in VIF Config do not match AP Profile Config') - report_data['tests'][key][test_cases["vlan_vifc"]] = "failed" - except: - ssid_list = "ERROR" - print("Error accessing VIF Config from AP CLI") - client.update_testrail(case_id=test_cases["vlan_vifc"], run_id=rid, status_id=4, - msg='Cannot determine VIF Config - re-test required') - report_data['tests'][key][test_cases["vlan_vifc"]] = "error" - # VIF State - try: - ssid_state = ap_connect.get_vif_state(ap_ip, ap_username, ap_password) - print("SSIDs in AP VIF State:", ssid_state) - - if set(ssid_state) == set(ssid_config): - print("SSIDs properly applied on AP") - client.update_testrail(case_id=test_cases["vlan_vifs"], run_id=rid, status_id=1, - msg='SSIDs in VIF Config applied to VIF State') - report_data['tests'][key][test_cases["vlan_vifs"]] = "passed" - else: - print("SSIDs not applied on AP") - client.update_testrail(case_id=test_cases["vlan_vifs"], run_id=rid, status_id=5, - msg='SSIDs in VIF Config not applied to VIF State') - report_data['tests'][key][test_cases["vlan_vifs"]] = "failed" - except: - ssid_list = "ERROR" - print("Error accessing VIF State from AP CLI") - print("Error accessing VIF Config from AP CLI") - client.update_testrail(case_id=test_cases["vlan_vifs"], run_id=rid, status_id=4, - msg='Cannot determine VIF State - re-test required') - report_data['tests'][key][test_cases["vlan_vifs"]] = "error" - - ### Set port for LANForge - port = test_info.lanforge_vlan_port - - # Print iwinfo for logs - iwinfo = iwinfo_status(ap_ip, ap_username, ap_password) - print(iwinfo) - - ###Run Client Single Connectivity Test Cases for VLAN SSIDs - # TC- 2.4 GHz WPA2-Enterprise VLAN - if args.skip_eap != True: - test_case = test_cases["2g_eap_vlan"] - radio = test_info.lanforge_2dot4g - #sta_list = [lanforge_prefix + "5253"] - sta_list = [test_info.lanforge_2dot4g_station] - prefix = test_info.lanforge_2dot4g_prefix - ssid_name = profile_info_dict[fw_model + '_vlan']["twoFourG_WPA2-EAP_SSID"] - security = "wpa2" - eap_type = "TTLS" - try: - test_result = RunTest.Single_Client_EAP(port, sta_list, ssid_name, radio, prefix, security, eap_type, - identity, - ttls_password, test_case, rid) - except: - test_result = "error" - Test.testrail_retest(test_case, rid, ssid_name) - pass - report_data['tests'][key][int(test_case)] = test_result - time.sleep(10) - else: - pass - # TC - 2.4 GHz WPA2 VLAN - test_case = test_cases["2g_wpa2_vlan"] - radio = test_info.lanforge_2dot4g - #station = [lanforge_prefix + "5251"] - station = [test_info.lanforge_2dot4g_station] - prefix = test_info.lanforge_2dot4g_prefix - ssid_name = profile_info_dict[fw_model + '_vlan']["twoFourG_WPA2_SSID"] - ssid_psk = profile_info_dict[fw_model + '_vlan']["twoFourG_WPA2_PSK"] - security = "wpa2" - try: - test_result = Test.Single_Client_Connectivity(port, radio, prefix, ssid_name, ssid_psk, security, station, - test_case, - rid) - except: - test_result = "error" - Test.testrail_retest(test_case, rid, ssid_name) - pass - report_data['tests'][key][int(test_case)] = test_result - time.sleep(10) - - # TC 4323 - 2.4 GHz WPA VLAN - test_case = test_cases["2g_wpa_vlan"] - radio = test_info.lanforge_2dot4g - #station = [lanforge_prefix + "5252"] - station = [test_info.lanforge_2dot4g_station] - prefix = test_info.lanforge_2dot4g_prefix - ssid_name = profile_info_dict[fw_model + '_vlan']["twoFourG_WPA_SSID"] - ssid_psk = profile_info_dict[fw_model + '_vlan']["twoFourG_WPA_PSK"] - security = "wpa" - try: - test_result = Test.Single_Client_Connectivity(port, radio, prefix, ssid_name, ssid_psk, security, station, - test_case, rid) - except: - test_result = "error" - Test.testrail_retest(test_case, rid, ssid_name) - pass - report_data['tests'][key][int(test_case)] = test_result - time.sleep(10) - - # TC - 5 GHz WPA2-Enterprise VLAN - if args.skip_eap != True: - test_case = test_cases["5g_eap_vlan"] - radio = test_info.lanforge_5g - #sta_list = [lanforge_prefix + "5250"] - sta_list = [test_info.lanforge_5g_station] - prefix = test_info.lanforge_5g_prefix - ssid_name = profile_info_dict[fw_model + '_vlan']["fiveG_WPA2-EAP_SSID"] - security = "wpa2" - eap_type = "TTLS" - try: - test_result = RunTest.Single_Client_EAP(port, sta_list, ssid_name, radio, prefix, security, eap_type, - identity, - ttls_password, test_case, rid) - except: - test_result = "error" - Test.testrail_retest(test_case, rid, ssid_name) - pass - report_data['tests'][key][int(test_case)] = test_result - time.sleep(10) - else: - pass - - # TC - 5 GHz WPA2 VLAN - test_case = test_cases["5g_wpa2_vlan"] - radio = test_info.lanforge_5g - #station = [lanforge_prefix + "5248"] - station = [test_info.lanforge_5g_station] - prefix = test_info.lanforge_5g_prefix - ssid_name = profile_info_dict[fw_model + '_vlan']["fiveG_WPA2_SSID"] - ssid_psk = profile_info_dict[fw_model]["fiveG_WPA2_PSK"] - security = "wpa2" - try: - test_result = Test.Single_Client_Connectivity(port, radio, prefix, ssid_name, ssid_psk, security, station, - test_case, - rid) - except: - test_result = "error" - Test.testrail_retest(test_case, rid, ssid_name) - pass - report_data['tests'][key][int(test_case)] = test_result - time.sleep(10) - - # TC 4324 - 5 GHz WPA VLAN - test_case = test_cases["5g_wpa_vlan"] - radio = test_info.lanforge_5g - #station = [lanforge_prefix + "5249"] - station = [test_info.lanforge_5g_station] - prefix = test_info.lanforge_5g_prefix - ssid_name = profile_info_dict[fw_model + '_vlan']["fiveG_WPA_SSID"] - ssid_psk = profile_info_dict[fw_model]["fiveG_WPA_PSK"] - security = "wpa" - try: - test_result = Test.Single_Client_Connectivity(port, radio, prefix, ssid_name, ssid_psk, security, station, - test_case, - rid) - except: - test_result = "error" - Test.testrail_retest(test_case, rid, ssid_name) - pass - report_data['tests'][key][int(test_case)] = test_result - time.sleep(10) - - # Update SSID Profile - update_profile_id = str(fiveG_wpa) - update_ssid = key + "_Updated_SSID_NAT" - update_auth = "open" - update_security = "open" - update_psk = "" - update_profile = CloudSDK.update_ssid_profile(cloudSDK_url, bearer, update_profile_id, update_ssid, - update_auth, update_psk) - print(update_profile) - time.sleep(90) - - # TC - Updated VLAN SSID profile - test_case = test_cases["vlan_ssid_update"] - radio = test_info.lanforge_5g - station = [test_info.lanforge_5g_station] - prefix = test_info.lanforge_5g_prefix - try: - test_result = Test.Single_Client_Connectivity(port, radio, prefix, update_ssid, update_psk, - update_security, station, - test_case, - rid) - except: - test_result = "error" - Test.testrail_retest(test_case, rid, update_ssid) - pass - report_data['tests'][key][int(test_case)] = test_result - time.sleep(5) - - print(report_data['tests'][key]) - logger.info("Testing for " + fw_model + "Custom VLAN SSIDs Complete") - else: - print("Skipping VLAN tests at user request...") - pass - - logger.info("Testing for " + fw_model + "Complete") - - # Add indication of complete TC pass/fail to sanity_status for pass to external json used by Throughput Test - x = all(status == "passed" for status in report_data["tests"][key].values()) - print(x) - - if x == True: - sanity_status['sanity_status'][key] = "passed" - - else: - sanity_status['sanity_status'][key] = "failed" - - ##Update sanity_status.json to indicate there has been a test on at least one AP model tonight - sanity_status['sanity_run']['new_data'] = "yes" - - print(sanity_status) - - # write to json file - with open('sanity_status.json', 'w') as json_file: - json.dump(sanity_status, json_file) - - # write to report_data contents to json file so it has something in case of unexpected fail - print(report_data) - with open(report_path + today + '/report_data.json', 'w') as report_json_file: - json.dump(report_data, report_json_file) - - ########################################################################### - ################# Post-test Prfofile Cleanup ############################## - ########################################################################### - - # Set AP to use permanently available profile to allow for deletion of RADIUS, SSID, and AP profiles - print("Cleaning up! Deleting created test profiles") - print("Set AP to profile not created in test") - ap_profile = CloudSDK.set_ap_profile(equipment_id, 6, cloudSDK_url, bearer) - time.sleep(5) - - # Delete profiles in delete_list - for x in delete_list: - delete_profile = CloudSDK.delete_profile(cloudSDK_url, bearer, str(x)) - if delete_profile == "SUCCESS": - print("profile", x, "delete successful") - else: - print("Error deleting profile") - -# Dump all sanity test results to external json file again just to be sure -with open('sanity_status.json', 'w') as json_file: - json.dump(sanity_status, json_file) - -# Calculate percent of tests passed for report -for key in ap_models: - if report_data['fw_available'][key] == "No": - report_data["pass_percent"][key] = "Not Run" - else: - # no_of_tests = len(report_data["tests"][key]) - passed_tests = sum(x == "passed" for x in report_data["tests"][key].values()) - failed_tests = sum(y == "failed" for y in report_data["tests"][key].values()) - error_tests = sum(z == "error" for z in report_data["tests"][key].values()) - no_of_tests = len(case_ids) - if no_of_tests == 0: - print("No tests run for", key) - else: - print("--- Test Data for", key, "---") - print(key, "tests passed:", passed_tests) - print(key, "tests failed:", failed_tests) - print(key, "tests with error:", error_tests) - print(key, "total tests:", no_of_tests) - percent = float(passed_tests / no_of_tests) * 100 - percent_pass = round(percent, 2) - print(key, "pass rate is", str(percent_pass) + "%") - print("---------------------------") - report_data["pass_percent"][key] = str(percent_pass) + '%' - -# write to report_data contents to json file -print(report_data) -with open(report_path + today + '/report_data.json', 'w') as report_json_file: - json.dump(report_data, report_json_file) - -print(".....End of Sanity Test.....") -logger.info("End of Sanity Test run") diff --git a/tests/cicd_sanity/cloud_connect.py b/tests/cicd_sanity/cloud_connect.py deleted file mode 100755 index f6a3722ce..000000000 --- a/tests/cicd_sanity/cloud_connect.py +++ /dev/null @@ -1,292 +0,0 @@ -#!/usr/bin/python3 - -################################################################################## -# Module contains functions to interact with CloudSDK using APIs -# Start by calling get_bearer to obtain bearer token, then other APIs can be used -# -# Used by Nightly_Sanity and Throughput_Test ##################################### -################################################################################## - -import base64 -import urllib.request -from bs4 import BeautifulSoup -import ssl -import subprocess, os -from artifactory import ArtifactoryPath -import tarfile -import paramiko -from paramiko import SSHClient -from scp import SCPClient -import os -import pexpect -from pexpect import pxssh -import sys -import paramiko -from scp import SCPClient -import pprint -from pprint import pprint -from os import listdir -import re -import requests -import json -import logging -import datetime -import time - -###Class for CloudSDK Interaction via RestAPI -class CloudSDK: - def get_bearer(cloudSDK_url, cloud_type, user, password): - cloud_login_url = cloudSDK_url+"/management/"+cloud_type+"/oauth2/token" - payload = ''' - { - "userId": "'''+user+'''", - "password": "'''+password+'''" - } - ''' - headers = { - 'Content-Type': 'application/json' - } - try: - token_response = requests.request("POST", cloud_login_url, headers=headers, data=payload) - except requests.exceptions.RequestException as e: - raise SystemExit("Exiting Script! Cloud not get bearer token for reason:",e) - token_data = token_response.json() - bearer_token = token_data['access_token'] - return(bearer_token) - - def ap_firmware(customer_id,equipment_id, cloudSDK_url, bearer): - equip_fw_url = cloudSDK_url+"/portal/status/forEquipment?customerId="+customer_id+"&equipmentId="+equipment_id - payload = {} - headers = { - 'Authorization': 'Bearer ' + bearer - } - status_response = requests.request("GET", equip_fw_url, headers=headers, data=payload) - status_code = status_response.status_code - if status_code == 200: - status_data = status_response.json() - #print(status_data) - try: - current_ap_fw = status_data[2]['details']['reportedSwVersion'] - return current_ap_fw - except: - current_ap_fw = "error" - return "ERROR" - - else: - return "ERROR" - - def CloudSDK_images(apModel, cloudSDK_url, bearer): - getFW_url = cloudSDK_url+"/portal/firmware/version/byEquipmentType?equipmentType=AP&modelId=" + apModel - payload = {} - headers = { - 'Authorization': 'Bearer ' + bearer - } - response = requests.request("GET", getFW_url, headers=headers, data=payload) - ap_fw_details = response.json() - ###return ap_fw_details - fwlist = [] - for version in ap_fw_details: - fwlist.append(version.get('versionName')) - return(fwlist) - #fw_versionNames = ap_fw_details[0]['versionName'] - #return fw_versionNames - - def firwmare_upload(commit, apModel,latest_image,fw_url,cloudSDK_url,bearer): - fw_upload_url = cloudSDK_url+"/portal/firmware/version" - payload = "{\n \"model_type\": \"FirmwareVersion\",\n \"id\": 0,\n \"equipmentType\": \"AP\",\n \"modelId\": \""+apModel+"\",\n \"versionName\": \""+latest_image+"\",\n \"description\": \"\",\n \"filename\": \""+fw_url+"\",\n \"commit\": \""+commit+"\",\n \"validationMethod\": \"MD5_CHECKSUM\",\n \"validationCode\": \"19494befa87eb6bb90a64fd515634263\",\n \"releaseDate\": 1596192028877,\n \"createdTimestamp\": 0,\n \"lastModifiedTimestamp\": 0\n}\n\n" - headers = { - 'Content-Type': 'application/json', - 'Authorization': 'Bearer ' + bearer - } - - response = requests.request("POST", fw_upload_url, headers=headers, data=payload) - #print(response) - upload_result = response.json() - return(upload_result) - - def get_firmware_id(latest_ap_image, cloudSDK_url, bearer): - #print(latest_ap_image) - fw_id_url = cloudSDK_url+"/portal/firmware/version/byName?firmwareVersionName="+latest_ap_image - - payload = {} - headers = { - 'Authorization': 'Bearer ' + bearer - } - response = requests.request("GET", fw_id_url, headers=headers, data=payload) - fw_data = response.json() - latest_fw_id = fw_data['id'] - return latest_fw_id - - def delete_firmware(fw_id, cloudSDK_url, bearer): - url = cloudSDK_url + '/portal/firmware/version?firmwareVersionId=' + fw_id - payload = {} - headers = { - 'Authorization': 'Bearer ' + bearer - } - response = requests.request("DELETE", url, headers=headers, data=payload) - return(response) - - def update_firmware(equipment_id, latest_firmware_id, cloudSDK_url, bearer): - url = cloudSDK_url+"/portal/equipmentGateway/requestFirmwareUpdate?equipmentId="+equipment_id+"&firmwareVersionId="+latest_firmware_id - - payload = {} - headers = { - 'Authorization': 'Bearer ' + bearer - } - - response = requests.request("POST", url, headers=headers, data=payload) - #print(response.text) - return response.json() - - def set_ap_profile(equipment_id, test_profile_id, cloudSDK_url, bearer): - ###Get AP Info - url = cloudSDK_url+"/portal/equipment?equipmentId="+equipment_id - payload = {} - headers = { - 'Authorization': 'Bearer ' + bearer - } - - response = requests.request("GET", url, headers=headers, data=payload) - print(response) - - ###Add Lab Profile ID to Equipment - equipment_info = response.json() - #print(equipment_info) - equipment_info["profileId"] = test_profile_id - #print(equipment_info) - - ###Update AP Info with Required Profile ID - url = cloudSDK_url+"/portal/equipment" - headers = { - 'Content-Type': 'application/json', - 'Authorization': 'Bearer ' + bearer - } - - response = requests.request("PUT", url, headers=headers, data=json.dumps(equipment_info)) - #print(response) - - def get_cloudsdk_version(cloudSDK_url, bearer): - #print(latest_ap_image) - url = cloudSDK_url+"/ping" - - payload = {} - headers = { - 'Authorization': 'Bearer ' + bearer - } - response = requests.request("GET", url, headers=headers, data=payload) - cloud_sdk_version = response.json() - return cloud_sdk_version - - def create_ap_profile(cloudSDK_url, bearer, template, name, customer_id, child_profiles): - with open(template, 'r+') as ap_profile: - profile = json.load(ap_profile) - profile["name"] = name - profile['customerId'] = customer_id - profile["childProfileIds"] = child_profiles - - with open(template, 'w') as ap_profile: - json.dump(profile, ap_profile) - - url = cloudSDK_url+"/portal/profile" - headers = { - 'Content-Type': 'application/json', - 'Authorization': 'Bearer ' + bearer - } - response = requests.request("POST", url, headers=headers, data=open(template, 'rb')) - ap_profile = response.json() - print(ap_profile) - ap_profile_id = ap_profile['id'] - return ap_profile_id - - def create_ssid_profile(cloudSDK_url, bearer, template, name, customer_id, ssid, passkey, radius, security, mode, vlan, radios): - with open(template, 'r+') as ssid_profile: - profile = json.load(ssid_profile) - profile['name'] = name - profile['customerId'] = customer_id - profile['details']['ssid'] = ssid - profile['details']['keyStr'] = passkey - profile['details']['radiusServiceId'] = radius - profile['details']['secureMode'] = security - profile['details']['forwardMode'] = mode - profile['details']['vlanId'] = vlan - profile['details']['appliedRadios'] = radios - if radius != 0: - profile["childProfileIds"] = [radius] - else: - profile["childProfileIds"] = [] - with open(template, 'w') as ssid_profile: - json.dump(profile, ssid_profile) - - url = cloudSDK_url + "/portal/profile" - headers = { - 'Content-Type': 'application/json', - 'Authorization': 'Bearer ' + bearer - } - response = requests.request("POST", url, headers=headers, data=open(template, 'rb')) - ssid_profile = response.json() - #print(ssid_profile) - ssid_profile_id = ssid_profile['id'] - return ssid_profile_id - - def create_radius_profile(cloudSDK_url, bearer, template, name, customer_id, server_ip, secret, auth_port): - with open(template, 'r+') as radius_profile: - profile = json.load(radius_profile) - - profile['name'] = name - profile['customerId'] = customer_id - profile['details']["primaryRadiusAuthServer"]['ipAddress'] = server_ip - profile['details']["primaryRadiusAuthServer"]['secret'] = secret - profile['details']["primaryRadiusAuthServer"]['port'] = auth_port - - with open(template, 'w') as radius_profile: - json.dump(profile, radius_profile) - - url = cloudSDK_url + "/portal/profile" - headers = { - 'Content-Type': 'application/json', - 'Authorization': 'Bearer ' + bearer - } - response = requests.request("POST", url, headers=headers, data=open(template, 'rb')) - radius_profile = response.json() - radius_profile_id = radius_profile['id'] - return radius_profile_id - - def delete_profile(cloudSDK_url, bearer, profile_id): - url = cloudSDK_url + "/portal/profile?profileId="+profile_id - payload = {} - headers = { - 'Authorization': 'Bearer ' + bearer - } - del_profile = requests.request("DELETE", url, headers=headers, data=payload) - status_code = del_profile.status_code - if status_code == 200: - return("SUCCESS") - else: - return ("ERROR") - - def update_ssid_profile(cloudSDK_url, bearer, profile_id, new_ssid, new_secure_mode, new_psk): - get_profile_url = cloudSDK_url + "/portal/profile?profileId="+profile_id - - payload = {} - headers = headers = { - 'Authorization': 'Bearer ' + bearer - } - - response = requests.request("GET", get_profile_url, headers=headers, data=payload) - original_profile = response.json() - print(original_profile) - - original_profile['details']['ssid'] = new_ssid - original_profile['details']['secureMode'] = new_secure_mode - original_profile['details']['keyStr'] = new_psk - - put_profile_url = cloudSDK_url + "/portal/profile" - payload = original_profile - headers = headers = { - 'Content-Type': 'application/json', - 'Authorization': 'Bearer ' + bearer - } - response = requests.request("PUT", put_profile_url, headers=headers, json=payload) - print(response) - updated_profile = response.json() - return updated_profile \ No newline at end of file diff --git a/tests/cicd_sanity/nola04_test_info.py b/tests/cicd_sanity/nola04_test_info.py deleted file mode 100644 index c36fbde5b..000000000 --- a/tests/cicd_sanity/nola04_test_info.py +++ /dev/null @@ -1,249 +0,0 @@ -#!/usr/bin/python3 - -##AP Models Under Test -ap_models = ["ecw5410"] - -##Cloud Type(cloudSDK = v1) -cloud_type = "v1" -cloudSDK_url = "https://wlan-portal-svc-nola-04.cicd.lab.wlan.tip.build" -customer_id = "2" -cloud_user = "support@example.com" -cloud_password = "support" - -# LANForge Info -lanforge_ip = "10.28.3.12" -lanforge_2dot4g = "wiphy4" -lanforge_5g = "wiphy5" -# For single client connectivity use cases, use full station name for prefix to only read traffic from client under test -lanforge_2dot4g_prefix = "test" -lanforge_5g_prefix = "test" -lanforge_2dot4g_station = "test1234" -lanforge_5g_station = "test1234" -# Used for bridge and NAT -lanforge_bridge_port = "eth2" -# VLAN interface on LANForge - must be configured to use alias of "vlan###" to accommodate sta_connect2 library -lanforge_vlan_port = "vlan100" -vlan = 100 - -##Equipment IDs for Lab APs under test -equipment_id_dict = { - "ecw5410": "1", -} -# Equipment IPs for SSH or serial connection information -equipment_ip_dict = { - "ecw5410": "/dev/ttyAP4" -} - -equipment_credentials_dict = { - "ecw5410": "openwifi", -} - -##RADIUS Info -radius_info = { - "server_ip": "10.28.3.100", - "secret": "testing123", - "auth_port": 1812, - "eap_identity": "nolaradius", - "eap_pwd": "nolastart" -} -##AP Models for firmware upload -cloud_sdk_models = { - "ec420": "EC420-G1", - "ea8300": "EA8300-CA", - "ecw5211": "ECW5211", - "ecw5410": "ECW5410", - "wf188n": "WF188N", - "wf194c": "WF194C", - "ex227": "EX227", - "ex447": "EX447", - "eap101": "EAP101", - "eap102": "EAP102" -} - -ap_spec = { - "ec420": "wifi5", - "ea8300": "wifi5", - "ecw5211": "wifi5", - "ecw5410": "wifi5", - "wf188n": "wifi6", - "wf194c": "wifi6", - "ex227": "wifi6", - "ex447": "wifi6", - "eap101": "wifi6", - "eap102": "wifi6" -} - -mimo_5g = { - "ec420": "4x4", - "ea8300": "2x2", - "ecw5211": "2x2", - "ecw5410": "4x4", - "wf188n": "2x2", - "wf194c": "8x8", - "ex227": "", - "ex447": "", - "eap101": "2x2", - "eap102": "4x4" -} - -mimo_2dot4g = { - "ec420": "2x2", - "ea8300": "2x2", - "ecw5211": "2x2", - "ecw5410": "4x4", - "wf188n": "2x2", - "wf194c": "4x4", - "ex227": "", - "ex447": "", - "eap101": "2x2", - "eap102": "4x4" -} - -sanity_status = { - "ea8300": "failed", - "ecw5211": 'passed', - "ecw5410": 'failed', - "ec420": 'failed', - "wf188n": "failed", - "wf194c": "failed", - "ex227": "failed", - "ex447": "failed", - "eap101": "failed", - "eap102": "failed" -} - -##Test Case information - Maps a generic TC name to TestRail TC numbers -test_cases = { - "ap_upgrade": 2233, - "5g_wpa2_bridge": 2236, - "2g_wpa2_bridge": 2237, - "5g_wpa_bridge": 2419, - "2g_wpa_bridge": 2420, - "2g_wpa_nat": 4323, - "5g_wpa_nat": 4324, - "2g_wpa2_nat": 4325, - "5g_wpa2_nat": 4326, - "2g_eap_bridge": 5214, - "5g_eap_bridge": 5215, - "2g_eap_nat": 5216, - "5g_eap_nat": 5217, - "cloud_connection": 5222, - "cloud_fw": 5247, - "5g_wpa2_vlan": 5248, - "5g_wpa_vlan": 5249, - "5g_eap_vlan": 5250, - "2g_wpa2_vlan": 5251, - "2g_wpa_vlan": 5252, - "2g_eap_vlan": 5253, - "cloud_ver": 5540, - "bridge_vifc": 5541, - "nat_vifc": 5542, - "vlan_vifc": 5543, - "bridge_vifs": 5544, - "nat_vifs": 5545, - "vlan_vifs": 5546, - "upgrade_api": 5547, - "create_fw": 5548, - "ap_bridge": 5641, - "ap_nat": 5642, - "ap_vlan": 5643, - "ssid_2g_eap_bridge": 5644, - "ssid_2g_wpa2_bridge": 5645, - "ssid_2g_wpa_bridge": 5646, - "ssid_5g_eap_bridge": 5647, - "ssid_5g_wpa2_bridge": 5648, - "ssid_5g_wpa_bridge": 5649, - "ssid_2g_eap_nat": 5650, - "ssid_2g_wpa2_nat": 5651, - "ssid_2g_wpa_nat": 5652, - "ssid_5g_eap_nat": 5653, - "ssid_5g_wpa2_nat": 5654, - "ssid_5g_wpa_nat": 5655, - "ssid_2g_eap_vlan": 5656, - "ssid_2g_wpa2_vlan": 5657, - "ssid_2g_wpa_vlan": 5658, - "ssid_5g_eap_vlan": 5659, - "ssid_5g_wpa2_vlan": 5660, - "ssid_5g_wpa_vlan": 5661, - "radius_profile": 5808, - "bridge_ssid_update": 8742, - "nat_ssid_update": 8743, - "vlan_ssid_update": 8744 -} - -## Other profiles -radius_profile = 9 -rf_profile_wifi5 = 10 -rf_profile_wifi6 = 762 - -###Testing AP Profile Information -profile_info_dict = { - "ecw5410": { - "fiveG_WPA2_SSID": "ECW5410_5G_WPA2", - "fiveG_WPA2_PSK": "Connectus123$", - "fiveG_WPA_SSID": "ECW5410_5G_WPA", - "fiveG_WPA_PSK": "Connectus123$", - "fiveG_OPEN_SSID": "ECW5410_5G_OPEN", - "fiveG_WPA2-EAP_SSID": "ECW5410_5G_WPA2-EAP", - "twoFourG_OPEN_SSID": "ECW5410_2dot4G_OPEN", - "twoFourG_WPA2_SSID": "ECW5410_2dot4G_WPA2", - "twoFourG_WPA2_PSK": "Connectus123$", - "twoFourG_WPA_SSID": "ECW5410_2dot4G_WPA", - "twoFourG_WPA_PSK": "Connectus123$", - "twoFourG_WPA2-EAP_SSID": "ECW5410_2dot4G_WPA2-EAP", - "ssid_list": [ - "ECW5410_5G_WPA2", - "ECW5410_5G_WPA", - "ECW5410_5G_WPA2-EAP", - "ECW5410_2dot4G_WPA2", - "ECW5410_2dot4G_WPA", - "ECW5410_2dot4G_WPA2-EAP" - ] - }, - - "ecw5410_nat": { - "fiveG_WPA2_SSID": "ECW5410_5G_WPA2_NAT", - "fiveG_WPA2_PSK": "Connectus123$", - "fiveG_WPA_SSID": "ECW5410_5G_WPA_NAT", - "fiveG_WPA_PSK": "Connectus123$", - "fiveG_OPEN_SSID": "ECW5410_5G_OPEN_NAT", - "fiveG_WPA2-EAP_SSID": "ECW5410_5G_WPA2-EAP_NAT", - "twoFourG_OPEN_SSID": "ECW5410_2dot4G_OPEN_NAT", - "twoFourG_WPA2_SSID": "ECW5410_2dot4G_WPA2_NAT", - "twoFourG_WPA2_PSK": "Connectus123$", - "twoFourG_WPA_SSID": "ECW5410_2dot4G_WPA_NAT", - "twoFourG_WPA_PSK": "Connectus123$", - "twoFourG_WPA2-EAP_SSID": "ECW5410_2dot4G_WPA2-EAP_NAT", - "ssid_list": [ - "ECW5410_5G_WPA2_NAT", - "ECW5410_5G_WPA_NAT", - "ECW5410_5G_WPA2-EAP_NAT", - "ECW5410_2dot4G_WPA2_NAT", - "ECW5410_2dot4G_WPA_NAT", - "ECW5410_2dot4G_WPA2-EAP_NAT" - ] - }, - - "ecw5410_vlan": { - "fiveG_WPA2_SSID": "ECW5410_5G_WPA2_VLAN", - "fiveG_WPA2_PSK": "Connectus123$", - "fiveG_WPA_SSID": "ECW5410_5G_WPA_VLAN", - "fiveG_WPA_PSK": "Connectus123$", - "fiveG_OPEN_SSID": "ECW5410_5G_OPEN_VLAN", - "fiveG_WPA2-EAP_SSID": "ECW5410_5G_WPA2-EAP_VLAN", - "twoFourG_OPEN_SSID": "ECW5410_2dot4G_OPEN_VLAN", - "twoFourG_WPA2_SSID": "ECW5410_2dot4G_WPA2_VLAN", - "twoFourG_WPA2_PSK": "Connectus123$", - "twoFourG_WPA_SSID": "ECW5410_2dot4G_WPA_VLAN", - "twoFourG_WPA_PSK": "Connectus123$", - "twoFourG_WPA2-EAP_SSID": "ECW5410_2dot4G_WPA2-EAP_VLAN", - "ssid_list": [ - "ECW5410_5G_WPA2_VLAN", - "ECW5410_5G_WPA_VLAN", - "ECW5410_5G_WPA2-EAP_VLAN", - "ECW5410_2dot4G_WPA2_VLAN", - "ECW5410_2dot4G_WPA_VLAN", - "ECW5410_2dot4G_WPA2-EAP_VLAN" - ] - } -} \ No newline at end of file diff --git a/tests/cicd_sanity/reports/report_template.php b/tests/cicd_sanity/reports/report_template.php deleted file mode 100755 index 8ceb44161..000000000 --- a/tests/cicd_sanity/reports/report_template.php +++ /dev/null @@ -1,1838 +0,0 @@ - - - - -Testing Report - - - - - - - - -
-

CICD Nightly Sanity Report -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Test Results

Scroll Down for Additional AP Models... -
EA8300 ResultECW5211 ResultECW5410 ResultEC420 Result
New FW Available
FW Under Test
CloudSDK Commit Date
CloudSDK Commit ID
CloudSDK Project Version
Test Pass Rate
Test CaseCategoryDescription
5540CloudSDKGet CloudSDK Version with API
5548CloudSDKCreate FW version on CloudSDK using API
5547CloudSDKRequest AP Upgrade using API
2233APAP Upgrade Successful
5247CloudSDKCloudSDK Reports Correct FW
5222CloudSDKAP-CloudSDK Connection Active
5808CloudSDKCreate RADIUS Profile
5644CloudSDKCreate SSID Profile 2.4 GHz WPA2-EAP - Bridge Mode
5645CloudSDKCreate SSID Profile 2.4 GHz WPA2 - Bridge Mode
5646CloudSDKCreate SSID Profile 2.4 GHz WPA - Bridge Mode
5647CloudSDKCreate SSID Profile 5 GHz WPA2-EAP - Bridge Mode
5647CloudSDKCreate SSID Profile 5 GHz WPA2 - Bridge Mode
5648CloudSDKCreate SSID Profile 5 GHz WPA - Bridge Mode
5641CloudSDKCreate AP Profile - Bridge Mode
5541CloudSDKCloudSDK Pushes Correct AP Profile - Bridge Mode
5544APAP Applies Correct AP Profile - Bridge Mode
5214APClient connects to 2.4 GHz WPA2-EAP - Bridge Mode
2237APClient connects to 2.4 GHz WPA2 - Bridge Mode
2420APClient connects to 2.4 GHz WPA - Bridge Mode
5215APClient connects to 5 GHz WPA2-EAP - Bridge Mode
2236APClient connects to 5 GHz WPA2 - Bridge Mode
2419APClient connects to 5 GHz WPA - Bridge Mode
8742APClient connects to Updated SSID - Bridge Mode
5650CloudSDKCreate SSID Profile 2.4 GHz WPA2-EAP - NAT Mode
5651CloudSDKCreate SSID Profile 2.4 GHz WPA2 - NAT Mode
5652CloudSDKCreate SSID Profile 2.4 GHz WPA - NAT Mode
5653CloudSDKCreate SSID Profile 5 GHz WPA2-EAP - NAT Mode
5654CloudSDKCreate SSID Profile 5 GHz WPA2 - NAT Mode
5655CloudSDKCreate SSID Profile 5 GHz WPA - NAT Mode
5642CloudSDKCreate AP Profile - NAT Mode
5542CloudSDKCloudSDK Pushes Correct AP Profile - NAT Mode
5545APAP Applies Correct AP Profile - NAT Mode
5216APClient connects to 2.4 GHz WPA2-EAP - NAT Mode
4325APClient connects to 2.4 GHz WPA2 - NAT Mode
4323APClient connects to 2.4 GHz WPA - NAT Mode
5217APClient connects to 5 GHz WPA2-EAP - NAT Mode
4326APClient connects to 5 GHz WPA2 - NAT Mode
4324APClient connects to 5 GHz WPA - NAT Mode
8743APClient connects to Updated SSID - NAT Mode
5656CloudSDKCreate SSID Profile 2.4 GHz WPA2-EAP - Custom VLAN
5657CloudSDKCreate SSID Profile 2.4 GHz WPA2 - Custom VLAN
5658CloudSDKCreate SSID Profile 2.4 GHz WPA - Custom VLAN
5659CloudSDKCreate SSID Profile 5 GHz WPA2-EAP - Custom VLAN
5660CloudSDKCreate SSID Profile 5 GHz WPA2 - Custom VLAN
5661CloudSDKCreate SSID Profile 5 GHz WPA - Custom VLAN
5643CloudSDKCreate AP Profile - Custom VLAN
5543CloudSDKCloudSDK Pushes Correct AP Profile - Custom VLAN
5546APAP Applies Correct AP Profile - Custom VLAN
5253APClient connects to 2.4 GHz WPA2-EAP - Custom VLAN
5251APClient connects to 2.4 GHz WPA2 - Custom VLAN
5252APClient connects to 2.4 GHz WPA - Custom VLAN
5250APClient connects to 5 GHz WPA2-EAP - Custom VLAN
5248APClient connects to 5 GHz WPA2 - Custom VLAN
5249APClient connects to 5 GHz WPA - Custom VLAN
8744APClient connects to Updated SSID - Custom VLAN
WF188N ResultWF194C ResultEX227 ResultEX447 Result
New FW Available
FW Under Test
CloudSDK Commit Date
CloudSDK Commit ID
CloudSDK Project Version
Test Pass Rate
Test CaseCategoryDescription
5540CloudSDKGet CloudSDK Version with API
5548CloudSDKCreate FW version on CloudSDK using API
5547CloudSDKRequest AP Upgrade using API
2233APAP Upgrade Successful
5247CloudSDKCloudSDK Reports Correct FW
5222CloudSDKAP-CloudSDK Connection Active
5808CloudSDKCreate RADIUS Profile
5644CloudSDKCreate SSID Profile 2.4 GHz WPA2-EAP - Bridge Mode
5645CloudSDKCreate SSID Profile 2.4 GHz WPA2 - Bridge Mode
5646CloudSDKCreate SSID Profile 2.4 GHz WPA - Bridge Mode
5647CloudSDKCreate SSID Profile 5 GHz WPA2-EAP - Bridge Mode
5647CloudSDKCreate SSID Profile 5 GHz WPA2 - Bridge Mode
5648CloudSDKCreate SSID Profile 5 GHz WPA - Bridge Mode
5641CloudSDKCreate AP Profile - Bridge Mode
5541CloudSDKCloudSDK Pushes Correct AP Profile - Bridge Mode
5544APAP Applies Correct AP Profile - Bridge Mode
5214APClient connects to 2.4 GHz WPA2-EAP - Bridge Mode
2237APClient connects to 2.4 GHz WPA2 - Bridge Mode
2420APClient connects to 2.4 GHz WPA - Bridge Mode
5215APClient connects to 5 GHz WPA2-EAP - Bridge Mode
2236APClient connects to 5 GHz WPA2 - Bridge Mode
2419APClient connects to 5 GHz WPA - Bridge Mode
8742APClient connects to Updated SSID - Bridge Mode
5650CloudSDKCreate SSID Profile 2.4 GHz WPA2-EAP - NAT Mode
5651CloudSDKCreate SSID Profile 2.4 GHz WPA2 - NAT Mode
5652CloudSDKCreate SSID Profile 2.4 GHz WPA - NAT Mode
5653CloudSDKCreate SSID Profile 5 GHz WPA2-EAP - NAT Mode
5654CloudSDKCreate SSID Profile 5 GHz WPA2 - NAT Mode
5655CloudSDKCreate SSID Profile 5 GHz WPA - NAT Mode
5642CloudSDKCreate AP Profile - NAT Mode
5542CloudSDKCloudSDK Pushes Correct AP Profile - NAT Mode
5545APAP Applies Correct AP Profile - NAT Mode
5216APClient connects to 2.4 GHz WPA2-EAP - NAT Mode
4325APClient connects to 2.4 GHz WPA2 - NAT Mode
4323APClient connects to 2.4 GHz WPA - NAT Mode
5217APClient connects to 5 GHz WPA2-EAP - NAT Mode
4326APClient connects to 5 GHz WPA2 - NAT Mode
8743APClient connects to Updated SSID - NAT Mode
4324APClient connects to 5 GHz WPA - NAT Mode
5656CloudSDKCreate SSID Profile 2.4 GHz WPA2-EAP - Custom VLAN
5657CloudSDKCreate SSID Profile 2.4 GHz WPA2 - Custom VLAN
5658CloudSDKCreate SSID Profile 2.4 GHz WPA - Custom VLAN
5659CloudSDKCreate SSID Profile 5 GHz WPA2-EAP - Custom VLAN
5660CloudSDKCreate SSID Profile 5 GHz WPA2 - Custom VLAN
5661CloudSDKCreate SSID Profile 5 GHz WPA - Custom VLAN
5643CloudSDKCreate AP Profile - Custom VLAN
5543CloudSDKCloudSDK Pushes Correct AP Profile - Custom VLAN
5546APAP Applies Correct AP Profile - Custom VLAN
5253APClient connects to 2.4 GHz WPA2-EAP - Custom VLAN
5251APClient connects to 2.4 GHz WPA2 - Custom VLAN
5252APClient connects to 2.4 GHz WPA - Custom VLAN
5250APClient connects to 5 GHz WPA2-EAP - Custom VLAN
5248APClient connects to 5 GHz WPA2 - Custom VLAN
5249APClient connects to 5 GHz WPA - Custom VLAN
8744APClient connects to Updated SSID - VLAN Mode
EAP101 ResultEAP102 Result
New FW Available
FW Under Test
CloudSDK Commit Date
CloudSDK Commit ID
CloudSDK Project Version
Test Pass Rate
Test CaseCategoryDescription
5540CloudSDKGet CloudSDK Version with API
5548CloudSDKCreate FW version on CloudSDK using API
5547CloudSDKRequest AP Upgrade using API
2233APAP Upgrade Successful
5247CloudSDKCloudSDK Reports Correct FW
5222CloudSDKAP-CloudSDK Connection Active
5808CloudSDKCreate RADIUS Profile
5644CloudSDKCreate SSID Profile 2.4 GHz WPA2-EAP - Bridge Mode
5645CloudSDKCreate SSID Profile 2.4 GHz WPA2 - Bridge Mode
5646CloudSDKCreate SSID Profile 2.4 GHz WPA - Bridge Mode
5647CloudSDKCreate SSID Profile 5 GHz WPA2-EAP - Bridge Mode
5647CloudSDKCreate SSID Profile 5 GHz WPA2 - Bridge Mode
5648CloudSDKCreate SSID Profile 5 GHz WPA - Bridge Mode
5641CloudSDKCreate AP Profile - Bridge Mode
5541CloudSDKCloudSDK Pushes Correct AP Profile - Bridge Mode
5544APAP Applies Correct AP Profile - Bridge Mode
5214APClient connects to 2.4 GHz WPA2-EAP - Bridge Mode
2237APClient connects to 2.4 GHz WPA2 - Bridge Mode
2420APClient connects to 2.4 GHz WPA - Bridge Mode
5215APClient connects to 5 GHz WPA2-EAP - Bridge Mode
2236APClient connects to 5 GHz WPA2 - Bridge Mode
2419APClient connects to 5 GHz WPA - Bridge Mode
8742APClient connects to Updated SSID - Bridge Mode
5650CloudSDKCreate SSID Profile 2.4 GHz WPA2-EAP - NAT Mode
5651CloudSDKCreate SSID Profile 2.4 GHz WPA2 - NAT Mode
5652CloudSDKCreate SSID Profile 2.4 GHz WPA - NAT Mode
5653CloudSDKCreate SSID Profile 5 GHz WPA2-EAP - NAT Mode
5654CloudSDKCreate SSID Profile 5 GHz WPA2 - NAT Mode
5655CloudSDKCreate SSID Profile 5 GHz WPA - NAT Mode
5642CloudSDKCreate AP Profile - NAT Mode
5542CloudSDKCloudSDK Pushes Correct AP Profile - NAT Mode
5545APAP Applies Correct AP Profile - NAT Mode
5216APClient connects to 2.4 GHz WPA2-EAP - NAT Mode
4325APClient connects to 2.4 GHz WPA2 - NAT Mode
4323APClient connects to 2.4 GHz WPA - NAT Mode
5217APClient connects to 5 GHz WPA2-EAP - NAT Mode
4326APClient connects to 5 GHz WPA2 - NAT Mode
4324APClient connects to 5 GHz WPA - NAT Mode
8743APClient connects to Updated SSID - NAT Mode
5656CloudSDKCreate SSID Profile 2.4 GHz WPA2-EAP - Custom VLAN
5657CloudSDKCreate SSID Profile 2.4 GHz WPA2 - Custom VLAN
5658CloudSDKCreate SSID Profile 2.4 GHz WPA - Custom VLAN
5659CloudSDKCreate SSID Profile 5 GHz WPA2-EAP - Custom VLAN
5660CloudSDKCreate SSID Profile 5 GHz WPA2 - Custom VLAN
5661CloudSDKCreate SSID Profile 5 GHz WPA - Custom VLAN
5643CloudSDKCreate AP Profile - Custom VLAN
5543CloudSDKCloudSDK Pushes Correct AP Profile - Custom VLAN
5546APAP Applies Correct AP Profile - Custom VLAN
5253APClient connects to 2.4 GHz WPA2-EAP - Custom VLAN
5251APClient connects to 2.4 GHz WPA2 - Custom VLAN
5252APClient connects to 2.4 GHz WPA - Custom VLAN
5250APClient connects to 5 GHz WPA2-EAP - Custom VLAN
5248APClient connects to 5 GHz WPA2 - Custom VLAN
5249APClient connects to 5 GHz WPA - Custom VLAN
8744APClient connects to Updated SSID - Custom
- - \ No newline at end of file diff --git a/tests/cicd_sanity/sanity_status.json b/tests/cicd_sanity/sanity_status.json deleted file mode 100755 index a68c377e2..000000000 --- a/tests/cicd_sanity/sanity_status.json +++ /dev/null @@ -1 +0,0 @@ -{"sanity_status": {"ea8300": "passed", "ecw5211": "passed", "ecw5410": "passed", "ec420": "passed", "wf188n": "failed", "wf193c": "failed", "ex227": "passed", "ex447": "failed", "eap101": "failed", "eap102": "failed", "wf194c": "failed"}, "sanity_run": {"new_data": "yes"}} \ No newline at end of file diff --git a/tests/cicd_sanity/templates/ap_profile_template.json b/tests/cicd_sanity/templates/ap_profile_template.json deleted file mode 100644 index 506661942..000000000 --- a/tests/cicd_sanity/templates/ap_profile_template.json +++ /dev/null @@ -1 +0,0 @@ -{"model_type": "Profile", "id": 2, "customerId": "2", "profileType": "equipment_ap", "name": "Nightly_Sanity_wf194c_2021-02-23_vlan", "details": {"model_type": "ApNetworkConfiguration", "networkConfigVersion": "AP-1", "equipmentType": "AP", "vlanNative": true, "vlan": 0, "ntpServer": {"model_type": "AutoOrManualString", "auto": true, "value": null}, "syslogRelay": {"model_type": "SyslogRelay", "enabled": false, "srvHostIp": null, "srvHostPort": 514, "severity": "NOTICE"}, "rtlsSettings": {"model_type": "RtlsSettings", "enabled": false, "srvHostIp": null, "srvHostPort": 0}, "syntheticClientEnabled": false, "ledControlEnabled": true, "equipmentDiscovery": false, "greTunnelName": null, "greParentIfName": null, "greLocalInetAddr": null, "greRemoteInetAddr": null, "greRemoteMacAddr": null, "radioMap": {"is5GHz": {"model_type": "RadioProfileConfiguration", "bestApEnabled": true, "bestAPSteerType": "both"}, "is2dot4GHz": {"model_type": "RadioProfileConfiguration", "bestApEnabled": true, "bestAPSteerType": "both"}, "is5GHzU": {"model_type": "RadioProfileConfiguration", "bestApEnabled": true, "bestAPSteerType": "both"}, "is5GHzL": {"model_type": "RadioProfileConfiguration", "bestApEnabled": true, "bestAPSteerType": "both"}}, "profileType": "equipment_ap"}, "createdTimestamp": 1598524693438, "lastModifiedTimestamp": 1607377963675, "childProfileIds": [762, 1292, 1293, 1294, 1295, 1296, 1297, 1299, 1300, 1301, 1302, 1303, 1304]} \ No newline at end of file diff --git a/tests/cicd_sanity/templates/radius_profile_template.json b/tests/cicd_sanity/templates/radius_profile_template.json deleted file mode 100644 index 6330d1444..000000000 --- a/tests/cicd_sanity/templates/radius_profile_template.json +++ /dev/null @@ -1 +0,0 @@ -{"model_type": "Profile", "id": 129, "customerId": "2", "profileType": "radius", "name": "Automation_RADIUS_2021-02-23", "details": {"model_type": "RadiusProfile", "primaryRadiusAuthServer": {"model_type": "RadiusServer", "ipAddress": "10.10.10.203", "secret": "testing123", "port": 1812, "timeout": 5}, "secondaryRadiusAuthServer": null, "primaryRadiusAccountingServer": null, "secondaryRadiusAccountingServer": null, "profileType": "radius"}, "createdTimestamp": 1602263176599, "lastModifiedTimestamp": 1611708334061, "childProfileIds": []} \ No newline at end of file diff --git a/tests/cicd_sanity/templates/ssid_profile_template.json b/tests/cicd_sanity/templates/ssid_profile_template.json deleted file mode 100644 index cdaf1d6cd..000000000 --- a/tests/cicd_sanity/templates/ssid_profile_template.json +++ /dev/null @@ -1 +0,0 @@ -{"model_type": "Profile", "id": 28, "customerId": "2", "profileType": "ssid", "name": "wf194c_2G_WPA_VLAN_2021-02-23", "details": {"model_type": "SsidConfiguration", "ssid": "WF194C_2dot4G_WPA_VLAN", "appliedRadios": ["is2dot4GHz"], "ssidAdminState": "enabled", "secureMode": "wpaPSK", "vlanId": 100, "keyStr": "Connectus123$", "broadcastSsid": "enabled", "keyRefresh": 0, "noLocalSubnets": false, "radiusServiceName": "Radius-Accounting-Profile", "radiusAccountingServiceName": null, "radiusAcountingServiceInterval": null, "captivePortalId": null, "bandwidthLimitDown": 0, "bandwidthLimitUp": 0, "clientBandwidthLimitDown": 0, "clientBandwidthLimitUp": 0, "videoTrafficOnly": false, "radioBasedConfigs": {"is2dot4GHz": {"model_type": "RadioBasedSsidConfiguration", "enable80211r": null, "enable80211k": null, "enable80211v": null}, "is5GHz": {"model_type": "RadioBasedSsidConfiguration", "enable80211r": null, "enable80211k": null, "enable80211v": null}, "is5GHzU": {"model_type": "RadioBasedSsidConfiguration", "enable80211r": null, "enable80211k": null, "enable80211v": null}, "is5GHzL": {"model_type": "RadioBasedSsidConfiguration", "enable80211r": null, "enable80211k": null, "enable80211v": null}}, "bonjourGatewayProfileId": null, "enable80211w": null, "wepConfig": null, "forwardMode": "BRIDGE", "profileType": "ssid", "radiusServiceId": 0}, "createdTimestamp": 1598557809816, "lastModifiedTimestamp": 1598557809816, "childProfileIds": []} \ No newline at end of file diff --git a/tests/cicd_sanity/test_info.py b/tests/cicd_sanity/test_info.py deleted file mode 100755 index acde3adac..000000000 --- a/tests/cicd_sanity/test_info.py +++ /dev/null @@ -1,276 +0,0 @@ -#!/usr/bin/python3 - -##AP Models Under Test -ap_models = ["ecw5410"] - -##Cloud Type(cloudSDK = v1) -cloud_type = "v1" -cloudSDK_url = "https://wlan-portal-svc-nola-ext-02.cicd.lab.wlan.tip.build" -customer_id = "2" -cloud_user = "support@example.com" -cloud_password = "support" - -##LANForge Info -lanforge_ip = "10.10.10.201" -lanforge_2dot4g = "wiphy6" -lanforge_5g = "wiphy6" -# For single client connectivity use cases, use full station name for prefix to only read traffic from client under test -lanforge_2dot4g_prefix = "wlan6" -lanforge_5g_prefix = "wlan6" -lanforge_2dot4g_station = "wlan6" -lanforge_5g_station = "wlan6" -lanforge_bridge_port = "eth2" -# VLAN interface on LANForge - must be configured to use alias of "vlan###" to accommodate sta_connect2 library -lanforge_vlan_port = "vlan100" -vlan = 100 - -# Equipment IDs for Lab APs under test - for test to loop through multiple APs put additional keys in the dictionary -equipment_id_dict = { - "ecw5410": "5", -} -# Equipment IPs for SSH or serial connection information -equipment_ip_dict = { - "ecw5410": "10.10.10.105" -} - -equipment_credentials_dict = { - "ecw5410": "openwifi", -} - -##RADIUS Info -radius_info = { - "server_ip": "10.10.10.203", - "secret": "testing123", - "auth_port": 1812, - "eap_identity": "testing", - "eap_pwd": "admin123" -} - -## Other profiles -radius_profile = 9 # used as backup -rf_profile_wifi5 = 10 -rf_profile_wifi6 = 762 - -##AP Models for firmware upload -cloud_sdk_models = { - "ec420": "EC420-G1", - "ea8300": "EA8300-CA", - "ecw5211": "ECW5211", - "ecw5410": "ECW5410", - "wf188n": "WF188N", - "wf194c": "WF194C", - "ex227": "EX227", - "ex447": "EX447", - "eap101": "EAP101", - "eap102": "EAP102" -} - -ap_spec = { - "ec420": "wifi5", - "ea8300": "wifi5", - "ecw5211": "wifi5", - "ecw5410": "wifi5", - "wf188n": "wifi6", - "wf194c": "wifi6", - "ex227": "wifi6", - "ex447": "wifi6", - "eap101": "wifi6", - "eap102": "wifi6" -} - -mimo_5g = { - "ec420": "4x4", - "ea8300": "2x2", - "ecw5211": "2x2", - "ecw5410": "4x4", - "wf188n": "2x2", - "wf194c": "8x8", - "ex227": "", - "ex447": "", - "eap101": "2x2", - "eap102": "4x4" -} - -mimo_2dot4g = { - "ec420": "2x2", - "ea8300": "2x2", - "ecw5211": "2x2", - "ecw5410": "4x4", - "wf188n": "2x2", - "wf194c": "4x4", - "ex227": "", - "ex447": "", - "eap101": "2x2", - "eap102": "4x4" -} - -sanity_status = { - "ea8300": "failed", - "ecw5211": 'passed', - "ecw5410": 'failed', - "ec420": 'failed', - "wf188n": "failed", - "wf194c": "failed", - "ex227": "failed", - "ex447": "failed", - "eap101": "failed", - "eap102": "failed" -} - -##Test Case information - Maps a generic TC name to TestRail TC numbers -test_cases = { - "ap_upgrade": 2233, - "5g_wpa2_bridge": 2236, - "2g_wpa2_bridge": 2237, - "5g_wpa_bridge": 2419, - "2g_wpa_bridge": 2420, - "2g_wpa_nat": 4323, - "5g_wpa_nat": 4324, - "2g_wpa2_nat": 4325, - "5g_wpa2_nat": 4326, - "2g_eap_bridge": 5214, - "5g_eap_bridge": 5215, - "2g_eap_nat": 5216, - "5g_eap_nat": 5217, - "cloud_connection": 5222, - "cloud_fw": 5247, - "5g_wpa2_vlan": 5248, - "5g_wpa_vlan": 5249, - "5g_eap_vlan": 5250, - "2g_wpa2_vlan": 5251, - "2g_wpa_vlan": 5252, - "2g_eap_vlan": 5253, - "cloud_ver": 5540, - "bridge_vifc": 5541, - "nat_vifc": 5542, - "vlan_vifc": 5543, - "bridge_vifs": 5544, - "nat_vifs": 5545, - "vlan_vifs": 5546, - "upgrade_api": 5547, - "create_fw": 5548, - "ap_bridge": 5641, - "ap_nat": 5642, - "ap_vlan": 5643, - "ssid_2g_eap_bridge": 5644, - "ssid_2g_wpa2_bridge": 5645, - "ssid_2g_wpa_bridge": 5646, - "ssid_5g_eap_bridge": 5647, - "ssid_5g_wpa2_bridge": 5648, - "ssid_5g_wpa_bridge": 5649, - "ssid_2g_eap_nat": 5650, - "ssid_2g_wpa2_nat": 5651, - "ssid_2g_wpa_nat": 5652, - "ssid_5g_eap_nat": 5653, - "ssid_5g_wpa2_nat": 5654, - "ssid_5g_wpa_nat": 5655, - "ssid_2g_eap_vlan": 5656, - "ssid_2g_wpa2_vlan": 5657, - "ssid_2g_wpa_vlan": 5658, - "ssid_5g_eap_vlan": 5659, - "ssid_5g_wpa2_vlan": 5660, - "ssid_5g_wpa_vlan": 5661, - "radius_profile": 5808, - "bridge_ssid_update": 8742, - "nat_ssid_update": 8743, - "vlan_ssid_update": 8744 -} - -###Testing AP Profile Information -profile_info_dict = { - "ecw5410": { - "fiveG_WPA2_SSID": "ECW5410_5G_WPA2", - "fiveG_WPA2_PSK": "Connectus123$", - "fiveG_WPA_SSID": "ECW5410_5G_WPA", - "fiveG_WPA_PSK": "Connectus123$", - "fiveG_OPEN_SSID": "ECW5410_5G_OPEN", - "fiveG_WPA2-EAP_SSID": "ECW5410_5G_WPA2-EAP", - "twoFourG_OPEN_SSID": "ECW5410_2dot4G_OPEN", - "twoFourG_WPA2_SSID": "ECW5410_2dot4G_WPA2", - "twoFourG_WPA2_PSK": "Connectus123$", - "twoFourG_WPA_SSID": "ECW5410_2dot4G_WPA", - "twoFourG_WPA_PSK": "Connectus123$", - "twoFourG_WPA2-EAP_SSID": "ECW5410_2dot4G_WPA2-EAP", - "ssid_list": [ - "ECW5410_5G_WPA2", - "ECW5410_5G_WPA", - "ECW5410_5G_WPA2-EAP", - "ECW5410_2dot4G_WPA2", - "ECW5410_2dot4G_WPA", - "ECW5410_2dot4G_WPA2-EAP" - ] - }, - - "ecw5410_nat": { - "fiveG_WPA2_SSID": "ECW5410_5G_WPA2_NAT", - "fiveG_WPA2_PSK": "Connectus123$", - "fiveG_WPA_SSID": "ECW5410_5G_WPA_NAT", - "fiveG_WPA_PSK": "Connectus123$", - "fiveG_OPEN_SSID": "ECW5410_5G_OPEN_NAT", - "fiveG_WPA2-EAP_SSID": "ECW5410_5G_WPA2-EAP_NAT", - "twoFourG_OPEN_SSID": "ECW5410_2dot4G_OPEN_NAT", - "twoFourG_WPA2_SSID": "ECW5410_2dot4G_WPA2_NAT", - "twoFourG_WPA2_PSK": "Connectus123$", - "twoFourG_WPA_SSID": "ECW5410_2dot4G_WPA_NAT", - "twoFourG_WPA_PSK": "Connectus123$", - "twoFourG_WPA2-EAP_SSID": "ECW5410_2dot4G_WPA2-EAP_NAT", - "ssid_list": [ - "ECW5410_5G_WPA2_NAT", - "ECW5410_5G_WPA_NAT", - "ECW5410_5G_WPA2-EAP_NAT", - "ECW5410_2dot4G_WPA2_NAT", - "ECW5410_2dot4G_WPA_NAT", - "ECW5410_2dot4G_WPA2-EAP_NAT" - ] - }, - - "ecw5410_vlan": { - "fiveG_WPA2_SSID": "ECW5410_5G_WPA2_VLAN", - "fiveG_WPA2_PSK": "Connectus123$", - "fiveG_WPA_SSID": "ECW5410_5G_WPA_VLAN", - "fiveG_WPA_PSK": "Connectus123$", - "fiveG_OPEN_SSID": "ECW5410_5G_OPEN_VLAN", - "fiveG_WPA2-EAP_SSID": "ECW5410_5G_WPA2-EAP_VLAN", - "twoFourG_OPEN_SSID": "ECW5410_2dot4G_OPEN_VLAN", - "twoFourG_WPA2_SSID": "ECW5410_2dot4G_WPA2_VLAN", - "twoFourG_WPA2_PSK": "Connectus123$", - "twoFourG_WPA_SSID": "ECW5410_2dot4G_WPA_VLAN", - "twoFourG_WPA_PSK": "Connectus123$", - "twoFourG_WPA2-EAP_SSID": "ECW5410_2dot4G_WPA2-EAP_VLAN", - "ssid_list": [ - "ECW5410_5G_WPA2_VLAN", - "ECW5410_5G_WPA_VLAN", - "ECW5410_5G_WPA2-EAP_VLAN", - "ECW5410_2dot4G_WPA2_VLAN", - "ECW5410_2dot4G_WPA_VLAN", - "ECW5410_2dot4G_WPA2-EAP_VLAN" - ] - }, - # example for tri-radio AP - "ea8300": { - "fiveG_WPA2_SSID": "EA8300_5G_WPA2", - "fiveG_WPA2_PSK": "Connectus123$", - "fiveG_WPA_SSID": "EA8300_5G_WPA", - "fiveG_WPA_PSK": "Connectus123$", - "fiveG_OPEN_SSID": "EA8300_5G_OPEN", - "fiveG_WPA2-EAP_SSID": "EA8300_5G_WPA2-EAP", - "twoFourG_OPEN_SSID": "EA8300_2dot4G_OPEN", - "twoFourG_WPA2_SSID": "EA8300_2dot4G_WPA2", - "twoFourG_WPA2_PSK": "Connectus123$", - "twoFourG_WPA_SSID": "EA8300_2dot4G_WPA", - "twoFourG_WPA_PSK": "Connectus123$", - "twoFourG_WPA2-EAP_SSID": "EA8300_2dot4G_WPA2-EAP", - # EA8300 has 2x 5GHz SSIDs because it is a tri-radio AP! - "ssid_list": [ - "EA8300_5G_WPA2", - "EA8300_5G_WPA2", - "EA8300_5G_WPA", - "EA8300_5G_WPA", - "EA8300_5G_WPA2-EAP", - "EA8300_5G_WPA2-EAP", - "EA8300_2dot4G_WPA2", - "EA8300_2dot4G_WPA", - "EA8300_2dot4G_WPA2-EAP" - ] - }, -} diff --git a/tests/cicd_sanity/testrail.py b/tests/cicd_sanity/testrail.py deleted file mode 100644 index 6125cf37e..000000000 --- a/tests/cicd_sanity/testrail.py +++ /dev/null @@ -1,194 +0,0 @@ -"""TestRail API binding for Python 3.x. - -""" - -#################################################################### -# Custom version of testrail_api module -# -# Used by Nightly_Sanity ########################################### -#################################################################### - -import base64 -import json - -import requests -from pprint import pprint -import os -tr_user=os.getenv('TR_USER') -tr_pw=os.getenv('TR_PWD') -project = os.getenv('PROJECT_ID') - - -class APIClient: - def __init__(self, base_url): - self.user = tr_user - self.password = tr_pw - if not base_url.endswith('/'): - base_url += '/' - self.__url = base_url + 'index.php?/api/v2/' - - - def send_get(self, uri, filepath=None): - """Issue a GET request (read) against the API. - - Args: - uri: The API method to call including parameters, e.g. get_case/1. - filepath: The path and file name for attachment download; used only - for 'get_attachment/:attachment_id'. - - Returns: - A dict containing the result of the request. - """ - return self.__send_request('GET', uri, filepath) - - def send_post(self, uri, data): - """Issue a POST request (write) against the API. - - Args: - uri: The API method to call, including parameters, e.g. add_case/1. - data: The data to submit as part of the request as a dict; strings - must be UTF-8 encoded. If adding an attachment, must be the - path to the file. - - Returns: - A dict containing the result of the request. - """ - return self.__send_request('POST', uri, data) - - def __send_request(self, method, uri, data): - url = self.__url + uri - - auth = str( - base64.b64encode( - bytes('%s:%s' % (self.user, self.password), 'utf-8') - ), - 'ascii' - ).strip() - headers = {'Authorization': 'Basic ' + auth} - #print("Method =" , method) - - if method == 'POST': - if uri[:14] == 'add_attachment': # add_attachment API method - files = {'attachment': (open(data, 'rb'))} - response = requests.post(url, headers=headers, files=files) - files['attachment'].close() - else: - headers['Content-Type'] = 'application/json' - payload = bytes(json.dumps(data), 'utf-8') - response = requests.post(url, headers=headers, data=payload) - else: - headers['Content-Type'] = 'application/json' - response = requests.get(url, headers=headers) - #print("headers = ", headers) - #print("resonse=", response) - #print("response code =", response.status_code) - - if response.status_code > 201: - - try: - error = response.json() - except: # response.content not formatted as JSON - error = str(response.content) - #raise APIError('TestRail API returned HTTP %s (%s)' % (response.status_code, error)) - print('TestRail API returned HTTP %s (%s)' % (response.status_code, error)) - return - else: - print(uri[:15]) - if uri[:15] == 'get_attachments': # Expecting file, not JSON - try: - print('opening file') - print (str(response.content)) - open(data, 'wb').write(response.content) - print('opened file') - return (data) - except: - return ("Error saving attachment.") - else: - - try: - return response.json() - except: # Nothing to return - return {} - - def get_project_id(self, project_name): - "Get the project ID using project name" - project_id = None - projects = client.send_get('get_projects') - ##pprint(projects) - for project in projects: - if project['name']== project_name: - project_id = project['id'] - # project_found_flag=True - break - print("project Id =",project_id) - return project_id - - def get_run_id(self, test_run_name): - "Get the run ID using test name and project name" - run_id = None - project_id = client.get_project_id(project_name=project) - - try: - test_runs = client.send_get('get_runs/%s' % (project_id)) - #print("------------TEST RUNS----------") - #pprint(test_runs) - - except Exception: - print - 'Exception in update_testrail() updating TestRail.' - return None - else: - for test_run in test_runs: - if test_run['name'] == test_run_name: - run_id = test_run['id'] - #print("run Id in Test Runs=",run_id) - break - return run_id - - - def update_testrail(self, case_id, run_id, status_id, msg): - "Update TestRail for a given run_id and case_id" - update_flag = False - # Get the TestRail client account details - # Update the result in TestRail using send_post function. - # Parameters for add_result_for_case is the combination of runid and case id. - # status_id is 1 for Passed, 2 For Blocked, 4 for Retest and 5 for Failed - #status_id = 1 if result_flag is True else 5 - - print("result status Pass/Fail = ", status_id) - print("case id=", case_id) - print("run id passed to update is ", run_id, case_id) - if run_id is not None: - try: - result = client.send_post( - 'add_result_for_case/%s/%s' % (run_id, case_id), - {'status_id': status_id, 'comment': msg}) - print("result in post",result) - except Exception: - print - 'Exception in update_testrail() updating TestRail.' - - else: - print - 'Updated test result for case: %s in test run: %s with msg:%s' % (case_id, run_id, msg) - - return update_flag - - def create_testrun(self, name, case_ids, project_id, milestone_id, description): - result = client.send_post( - 'add_run/%s' % (project_id), - {'name': name, 'case_ids': case_ids, 'milestone_id': milestone_id, 'description': description, 'include_all': False}) - print("result in post", result) - - def update_testrun(self, runid, description): - result = client.send_post( - 'update_run/%s' % (runid), - {'description': description}) - print("result in post", result) - - -client: APIClient = APIClient(os.getenv('TR_URL')) - - -class APIError(Exception): - pass diff --git a/tests/cloudsdk/test_cloud.py b/tests/cloudsdk/test_cloud.py new file mode 100644 index 000000000..c39914eb8 --- /dev/null +++ b/tests/cloudsdk/test_cloud.py @@ -0,0 +1,26 @@ +import pytest +import sys +if 'cloudsdk' not in sys.path: + sys.path.append(f'../../libs/cloudsdk') +from cloudsdk import CloudSDK + +@pytest.mark.login +class TestLogin: + + def test_token_login(self): + try: + obj = CloudSDK(testbed="nola-ext-04", customer_id=2) + bearer = obj.get_bearer_token() + value = bearer._access_token is None + except: + value = True + assert value == False + + def test_ping(self): + try: + obj = CloudSDK(testbed="nola-ext-04", customer_id=2) + value = obj.portal_ping() is None + except: + value = True + assert value == False + diff --git a/libs/cloudsdk/configuration_data.py b/tests/configuration_data.py similarity index 100% rename from libs/cloudsdk/configuration_data.py rename to tests/configuration_data.py diff --git a/tests/conftest.py b/tests/conftest.py index 5b556ddde..6bef7f3e3 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,287 +1,79 @@ -import pytest -from time import sleep, gmtime, strftime - +# import files in the current directory import sys import os -sys.path.append(os.path.join(os.path.dirname(__file__), 'helpers')) - -sys.path.append(f'..') - -for folder in 'py-json', 'py-scripts': - if folder not in sys.path: - sys.path.append(f'../../lanforge/lanforge-scripts/{folder}') - -sys.path.append(f'../../libs/lanforge/') -sys.path.append(f'../../libs/cloudsdk/') -sys.path.append(f'../../libs/apnos/') -sys.path.append(f'../../libs/testrails/') -sys.path.append(f'../../libs/') - -sys.path.append(f'../test_utility/') - -from utils import * -from UnitTestBase import * -from JfrogHelper import * -from cloudsdk import * -from testrail_api import TestRail_Client +sys.path.append( + os.path.dirname( + os.path.realpath( __file__ ) + ) +) +import pytest +from configuration_data import PROFILE_DATA def pytest_addoption(parser): parser.addini("jfrog-base-url", "jfrog base url") parser.addini("jfrog-user-id", "jfrog username") parser.addini("jfrog-user-password", "jfrog password") - - parser.addini("sdk-base-url", "cloud sdk base url") + parser.addini("testbed-name", "cloud sdk base url") parser.addini("sdk-user-id", "cloud sdk username") parser.addini("sdk-user-password", "cloud sdk user password") - parser.addini("customer-id", "cloud sdk customer id for the access points") - parser.addini("equipment-id", "cloud sdk equipment id for the access point") - parser.addini("default-ap-profile", "cloud sdk default AP profile name") - - parser.addini("verbose", "Enable verbose logs?") - - parser.addini("ap-ip", "AP IP address (or can use serial)") - parser.addini("ap-username", "AP username") - parser.addini("ap-password", "AP password") - parser.addini("ap-jumphost-address", "AP jumphost IP address") - parser.addini("ap-jumphost-username", "AP jumphost username") - parser.addini("ap-jumphost-password", "AP jumphost password") - parser.addini("ap-jumphost-port", "AP jumphost port") - parser.addini("ap-jumphost-wlan-testing", "AP jumphost wlan-testing code directory") - parser.addini("ap-jumphost-tty", "AP jumphost TTY") - - parser.addini("build-id", "What build flavor to use, ie 'pending'") - parser.addini("testbed", "Testbed name") - parser.addini("mode", "AP Mode, bridge/vlan/nat") - parser.addini("skip-wpa", "Should we skip setting up WPA?", default=False) - parser.addini("skip-wpa2", "Should we skip setting up WPA2?", default=False) - parser.addini("skip-radius", "Should we skip setting up EAP/Radius?", default=False) - parser.addini("skip-profiles", "Should we skip setting up profiles") - - parser.addini("ssid-2g-wpa", "Configure ssid-2g-wpa") - parser.addini("psk-2g-wpa", "Configure psk-2g-wpa") - parser.addini("ssid-5g-wpa", "Configure ssid-5g-wpa") - parser.addini("psk-5g-wpa", "Configure psk-5g-wpa") - parser.addini("ssid-2g-wpa2", "Configure ssid-2g-wpa2") - parser.addini("psk-2g-wpa2", "Configure psk-2g-wpa2") - parser.addini("ssid-5g-wpa2", "Configure ssid-5g-wpa2") - parser.addini("psk-5g-wpa2", "Configure psk-5g-wpa2") - + parser.addini("sdk-customer-id", "cloud sdk customer id for the access points") parser.addini("testrail-base-url", "testrail base url") parser.addini("testrail-project", "testrail project name to use to generate test reports") parser.addini("testrail-user-id", "testrail username") parser.addini("testrail-user-password", "testrail user password") parser.addini("lanforge-ip-address", "LANforge ip address to connect to") parser.addini("lanforge-port-number", "LANforge port number to connect to") - parser.addini("lanforge-2g-radio", "LANforge radio to use") - parser.addini("lanforge-5g-radio", "LANforge radio to use") + parser.addini("lanforge-radio", "LANforge radio to use") parser.addini("lanforge-ethernet-port", "LANforge ethernet adapter to use") - add_base_parse_args_pytest(parser) - + # change behaviour + parser.addoption( + "--skip-update-firmware", + action="store_true", + default=False, + help="skip updating firmware on the AP (useful for local testing)" + ) # this has to be the last argument # example: --access-points ECW5410 EA8300-EU parser.addoption( "--access-points", - nargs="+", + # nargs="+", default=[ "ECW5410" ], help="list of access points to test" ) def pytest_generate_tests(metafunc): - metafunc.parametrize("access_points", metafunc.config.getoption('--access-points'), scope="session") + if 'access_points' in metafunc.fixturenames: + metafunc.parametrize("access_points", metafunc.config.getoption('--access-points'), scope="session") # run something after all tests are done regardless of the outcome def pytest_unconfigure(config): print("Tests cleanup done") -@pytest.fixture(scope="session") -def setup_testrails(request, instantiate_testrail, access_points): - if request.config.getoption("--testrail-user-id") == "NONE": - yield -1 - return # needed to stop fixture execution - - if request.config.getoption("--skip-update-firmware"): - firmware_update_case = [] - else: - firmware_update_case = [ 2831 ] - seen = {None} - test_data = [] - session = request.node - for item in session.items: - cls = item.getparent(pytest.Class) - if cls not in seen: - if hasattr(cls.obj, "get_test_data"): - test_data.append(cls.obj.get_test_data()) - seen.add(cls) - testrail_project_id = instantiate_testrail.get_project_id(request.config.getini("testrail-project")) - runId = instantiate_testrail.create_testrun( - name=f'Nightly_model_{access_points}_{strftime("%Y-%m-%d", gmtime())}', - case_ids=( [*test_data] + firmware_update_case ), - project_id=testrail_project_id - ) - yield runId - -# TODO: Should not be session wide I think, you will want to run different -# configurations (bridge, nat, vlan, wpa/wpa2/eap, etc -@pytest.fixture(scope="session") -def setup_cloudsdk(request, instantiate_cloudsdk, instantiate_testrail): - # snippet to do cleanup after all the tests are done +@pytest.fixture(scope="function") +def setup_cloudsdk(request, instantiate_cloudsdk): def fin(): - print("Cloud SDK cleanup done") + print(f"Cloud SDK cleanup for {request.node.originalname}") request.addfinalizer(fin) - - # Set up bridged setup by default. - - command_line_args = create_command_line_args(request) - - cloud = instantiate_cloudsdk - - cloud.assert_bad_response = True - - equipment_id = instantiate_cloudsdk.equipment_id - - print("equipment-id: %s" % (equipment_id)) - if equipment_id == "-1": - print("ERROR: Could not find equipment-id.") - sys.exit(1) - - ###Get Current AP info - try: - ap_cli_info = ssh_cli_active_fw(command_line_args) - ap_cli_fw = ap_cli_info['active_fw'] - except Exception as ex: - print(ex) - logging.error(logging.traceback.format_exc()) - ap_cli_info = "ERROR" - print("FAILED: Cannot Reach AP CLI."); - sys.exit(1) - - # LANForge Information - lanforge = { - "ip": "localhost", - "port": 8806, - # "prefix": command_line_args.lanforge_prefix, - "2g_radio": "wiphy4", - "5g_radio": "wiphy5", - "eth_port": "eth2" - } - - - - - fw_model = ap_cli_fw.partition("-")[0] - - print('Current Active AP FW from CLI:', ap_cli_fw) - - radius_name = "%s-%s-%s" % (command_line_args.testbed, fw_model, "Radius") - - print("Create profiles") - ap_object = CreateAPProfiles(command_line_args, cloud=cloud, client=instantiate_testrail, fw_model=fw_model) - - # Logic to create AP Profiles (Bridge Mode) - - # ap_object.set_ssid_psk_data(ssid_2g_wpa="Pytest-run-2g-wpa", - # ssid_5g_wpa="Pytest-run-2g-wpa", - # psk_2g_wpa="Pytest-run-2g-wpa", - # psk_5g_wpa="Pytest-run-2g-wpa", - # ssid_2g_wpa2="Pytest-run-2g-wpa", - # ssid_5g_wpa2="Pytest-run-2g-wpa", - # psk_2g_wpa2="Pytest-run-2g-wpa", - # psk_5g_wpa2="Pytest-run-2g-wpa") - - print(ap_object) - today = str(date.today()) - rid = instantiate_testrail.get_run_id( - test_run_name=command_line_args.testrail_run_prefix + fw_model + "_" + today + "_" + "ecw5410-2021-02-12-pending-e8bb466") - print("creating Profiles") - ssid_template = "TipWlan-Cloud-Wifi" - - if not command_line_args.skip_profiles: - if not command_line_args.skip_radius: - # Radius Profile needs to be set here - radius_name = "Test-Radius-" + str(time.time()).split(".")[0] - radius_template = "templates/radius_profile_template.json" - ap_object.create_radius_profile(radius_name=radius_name, radius_template=radius_template, rid=rid, - key=fw_model) - ap_object.create_ssid_profiles(ssid_template=ssid_template, skip_eap=True, skip_wpa=True, - skip_wpa2=False, mode="bridge") - - print("Create AP with equipment-id: ", equipment_id) - ap_object.create_ap_profile(eq_id=equipment_id, fw_model=fw_model, mode=command_line_args.mode) - ap_object.validate_changes(mode=command_line_args.mode) - - print("Profiles Created") - data = {"lanforge": lanforge, "ap_object": ap_object} - - yield data + yield PROFILE_DATA[request.node.originalname] @pytest.fixture(scope="session") -def update_firmware(request, setup_testrails, instantiate_jFrog, instantiate_cloudsdk, access_points): +def update_firmware(request, instantiate_jFrog, instantiate_cloudsdk, retrieve_latest_image, access_points): if request.config.getoption("--skip-update-firmware"): - return True + return + yield "update_firmware" - #access_points is really a single AP. - ap = access_points - - if True: - latest_image = instantiate_jFrog.get_latest_image(ap) - if latest_image is None: - print("AP Model: %s doesn't match the available Models"%(ap)) - sys.exit(1) # TODO: How to return error properly here? - - cloudModel = cloud_sdk_models[ap] - logger = None - report_data = None - test_cases = None - testrail_client = None - jfrog_user = instantiate_jFrog.get_user() - jfrog_pwd = instantiate_jFrog.get_passwd() - testrail_rid = 0 - customer_id = request.config.getoption("--customer-id") - equipment_id = instantiate_cloudsdk.equipment_id - pf = instantiate_cloudsdk.do_upgrade_ap_fw(request.config, report_data, test_cases, testrail_client, - latest_image, cloudModel, ap, jfrog_user, jfrog_pwd, testrail_rid, - customer_id, equipment_id, logger) - - return pf +@pytest.fixture(scope="session") +def retrieve_latest_image(request, access_points): + if request.config.getoption("--skip-update-firmware"): + return + yield "retrieve_latest_image" @pytest.fixture(scope="session") def instantiate_cloudsdk(request): - command_line_args = create_command_line_args(request) - rv = CloudSDK(command_line_args) - - equipment_id = request.config.getoption("--equipment-id") - if equipment_id == "-1": - eq_id = ap_ssh_ovsh_nodec(command_line_args, 'id') - print("EQ Id: %s" % (eq_id)) - - # Now, query equipment to find something that matches. - eq = rv.get_customer_equipment(customer_id) - for item in eq: - for e in item['items']: - print(e['id'], " ", e['inventoryId']) - if e['inventoryId'].endswith("_%s" % (eq_id)): - print("Found equipment ID: %s inventoryId: %s" % (e['id'], e['inventoryId'])) - equipment_id = str(e['id']) - - rv.equipment_id = equipment_id - - if equipment_id == "-1": - print("EQ ID invalid: ", equipment_id) - sys.exit(1) - - yield rv - -@pytest.fixture(scope="session") -def instantiate_testrail(request): - yield TestRail_Client(create_command_line_args(request)) + yield "instantiate_cloudsdk" @pytest.fixture(scope="session") def instantiate_jFrog(request): - yield GetBuild( - request.config.getini("jfrog-user-id"), - request.config.getini("jfrog-user-password"), - "pending", # TODO make this optional - url=request.config.getini("jfrog-base-url") - ) + yield "instantiate_jFrog" \ No newline at end of file diff --git a/tests/eap_connect.py b/tests/eap_connect.py deleted file mode 100755 index d5055150b..000000000 --- a/tests/eap_connect.py +++ /dev/null @@ -1,354 +0,0 @@ -#!/usr/bin/env python3 - -######################################################################################################### -# Built to allow connection and test of clients using EAP-TTLS. -# Functions can be called to create a station, create TCP and UDP traffic, run it a short amount of time. -# -# Used by Nightly_Sanity and Throughput_Test ############################################################ -######################################################################################################### - -# This will create a station, create TCP and UDP traffic, run it a short amount of time, -# and verify whether traffic was sent and received. It also verifies the station connected -# to the requested BSSID if bssid is specified as an argument. -# The script will clean up the station and connections at the end of the test. - -import sys - -if sys.version_info[0] != 3: - print("This script requires Python 3") - exit(1) - -if 'py-json' not in sys.path: - sys.path.append('../../py-json') - -import argparse -import LANforge -from LANforge import LFUtils -# from LANforge import LFCliBase -from LANforge import lfcli_base -from LANforge.lfcli_base import LFCliBase -from LANforge.LFUtils import * -import realm -from realm import Realm -from lf_lib import * -import pprint - -OPEN="open" -WEP="wep" -WPA="wpa" -WPA2="wpa2" -MODE_AUTO=0 - -class EAPConnect(LFCliBase): - def __init__(self, host, port, security=None, ssid=None, sta_list=None, number_template="00000", _debug_on=False, _dut_bssid="", - _exit_on_error=False, _sta_name=None, _resource=1, radio="wiphy0", key_mgmt="WPA-EAP", eap="", identity="", - ttls_passwd="", hessid=None, ttls_realm="", domain="", _sta_prefix='eap', _exit_on_fail=False, _cleanup_on_exit=True): - super().__init__(host, port, _debug=_debug_on, _halt_on_error=_exit_on_error, _exit_on_fail=_exit_on_fail) - self.host = host - self.port = port - self.ssid = ssid - self.radio = radio - self.security = security - #self.password = password - self.sta_list = sta_list - self.key_mgmt = key_mgmt - self.eap = eap - self.sta_prefix = _sta_prefix - self.identity = identity - self.ttls_passwd = ttls_passwd - self.ttls_realm = ttls_realm - self.domain = domain - self.hessid = hessid - self.dut_bssid = _dut_bssid - self.timeout = 120 - self.number_template = number_template - self.debug = _debug_on - self.local_realm = realm.Realm(lfclient_host=self.host, lfclient_port=self.port) - self.station_profile = self.local_realm.new_station_profile() - self.station_profile.lfclient_url = self.lfclient_url - self.station_profile.ssid = self.ssid - self.station_profile.security = self.security - self.station_profile.number_template_ = self.number_template - self.station_profile.mode = 0 - #Added to test_ipv4_ttls code - self.upstream_url = None # defer construction - self.sta_url_map = None - self.upstream_resource = None - self.upstream_port = "eth2" - self.station_names = [] - if _sta_name is not None: - self.station_names = [_sta_name] - self.localrealm = Realm(lfclient_host=host, lfclient_port=port) - self.resource = _resource - self.cleanup_on_exit = _cleanup_on_exit - self.resulting_stations = {} - self.resulting_endpoints = {} - self.station_profile = None - self.l3_udp_profile = None - self.l3_tcp_profile = None - - # def get_realm(self) -> Realm: # py > 3.6 - def get_realm(self): - return self.localrealm - - def get_station_url(self, sta_name_=None): - if sta_name_ is None: - raise ValueError("get_station_url wants a station name") - if self.sta_url_map is None: - self.sta_url_map = {} - for sta_name in self.station_names: - self.sta_url_map[sta_name] = "port/1/%s/%s" % (self.resource, sta_name) - return self.sta_url_map[sta_name_] - - def get_upstream_url(self): - if self.upstream_url is None: - self.upstream_url = "port/1/%s/%s" % (self.upstream_resource, self.upstream_port) - return self.upstream_url - - # Compare pre-test values to post-test values - def compare_vals(self, name, postVal, print_pass=False, print_fail=True): - # print(f"Comparing {name}") - if postVal > 0: - self._pass("%s %s" % (name, postVal), print_pass) - else: - self._fail("%s did not report traffic: %s" % (name, postVal), print_fail) - - def remove_stations(self): - for name in self.station_names: - LFUtils.removePort(self.resource, name, self.lfclient_url) - - def num_associated(self, bssid): - counter = 0 - # print("there are %d results" % len(self.station_results)) - fields = "_links,port,alias,ip,ap,port+type" - self.station_results = self.localrealm.find_ports_like("%s*"%self.sta_prefix, fields, debug_=False) - if (self.station_results is None) or (len(self.station_results) < 1): - self.get_failed_result_list() - for eid,record in self.station_results.items(): - #print("-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- ") - #pprint(eid) - #pprint(record) - if record["ap"] == bssid: - counter += 1 - #print("-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- ") - return counter - - def clear_test_results(self): - self.resulting_stations = {} - self.resulting_endpoints = {} - super().clear_test_results() - #super(StaConnect, self).clear_test_results().test_results.clear() - - def setup(self): - self.clear_test_results() - self.check_connect() - upstream_json = self.json_get("%s?fields=alias,phantom,down,port,ip" % self.get_upstream_url(), debug_=False) - - if upstream_json is None: - self._fail(message="Unable to query %s, bye" % self.upstream_port, print_=True) - return False - - if upstream_json['interface']['ip'] == "0.0.0.0": - if self.debug: - pprint.pprint(upstream_json) - self._fail("Warning: %s lacks ip address" % self.get_upstream_url(), print_=True) - return False - - # remove old stations - print("Removing old stations") - for sta_name in self.station_names: - sta_url = self.get_station_url(sta_name) - response = self.json_get(sta_url) - if (response is not None) and (response["interface"] is not None): - for sta_name in self.station_names: - LFUtils.removePort(self.resource, sta_name, self.lfclient_url) - LFUtils.wait_until_ports_disappear(self.lfclient_url, self.station_names) - - # Create stations and turn dhcp on - self.station_profile = self.localrealm.new_station_profile() - - # Build stations - self.station_profile.use_security(self.security, self.ssid, passwd="[BLANK]") - self.station_profile.set_number_template(self.number_template) - print("Creating stations") - self.station_profile.set_command_flag("add_sta", "create_admin_down", 1) - self.station_profile.set_command_param("set_port", "report_timer", 1500) - self.station_profile.set_command_flag("set_port", "rpt_timer", 1) - self.station_profile.set_wifi_extra(key_mgmt=self.key_mgmt, eap=self.eap, identity=self.identity, - passwd=self.ttls_passwd, - realm=self.ttls_realm, domain=self.domain, - hessid=self.hessid) - self.station_profile.create(radio=self.radio, sta_names_=self.sta_list, debug=self.debug, use_radius=True, hs20_enable=False) - self._pass("PASS: Station build finished") - - self.create_traffic = createTraffic(self.localrealm, self.sta_prefix, self.resource, self.upstream_port) - self.create_traffic.lf_l3_udp_profile() - self.create_traffic.lf_l3_tcp_profile() - - def start(self): - if self.station_profile is None: - self._fail("Incorrect setup") - pprint.pprint(self.station_profile) - if self.station_profile.up is None: - self._fail("Incorrect station profile, missing profile.up") - if self.station_profile.up == False: - print("\nBringing ports up...") - data = {"shelf": 1, - "resource": self.resource, - "port": "ALL", - "probe_flags": 1} - self.json_post("/cli-json/nc_show_ports", data) - self.station_profile.admin_up() - LFUtils.waitUntilPortsAdminUp(self.resource, self.lfclient_url, self.station_names) - - # station_info = self.jsonGet(self.mgr_url, "%s?fields=port,ip,ap" % (self.getStaUrl())) - duration = 0 - maxTime = 60 - ip = "0.0.0.0" - ap = "" - print("Waiting for %s stations to associate to AP: " % len(self.station_names), end="") - connected_stations = {} - while (len(connected_stations.keys()) < len(self.station_names)) and (duration < maxTime): - duration += 3 - time.sleep(3) - print(".", end="") - for sta_name in self.station_names: - sta_url = self.get_station_url(sta_name) - station_info = self.json_get(sta_url + "?fields=port,ip,ap") - - # LFUtils.debug_printer.pprint(station_info) - if (station_info is not None) and ("interface" in station_info): - if "ip" in station_info["interface"]: - ip = station_info["interface"]["ip"] - if "ap" in station_info["interface"]: - ap = station_info["interface"]["ap"] - - if (ap == "Not-Associated") or (ap == ""): - if self.debug: - print(" -%s," % sta_name, end="") - else: - if ip == "0.0.0.0": - if self.debug: - print(" %s (0.0.0.0)" % sta_name, end="") - else: - connected_stations[sta_name] = sta_url - data = { - "shelf":1, - "resource": self.resource, - "port": "ALL", - "probe_flags": 1 - } - self.json_post("/cli-json/nc_show_ports", data) - - for sta_name in self.station_names: - sta_url = self.get_station_url(sta_name) - station_info = self.json_get(sta_url) # + "?fields=port,ip,ap") - if station_info is None: - print("unable to query %s" % sta_url) - self.resulting_stations[sta_url] = station_info - ap = station_info["interface"]["ap"] - ip = station_info["interface"]["ip"] - if (ap != "") and (ap != "Not-Associated"): - print(" %s +AP %s, " % (sta_name, ap), end="") - if self.dut_bssid != "": - if self.dut_bssid.lower() == ap.lower(): - self._pass(sta_name+" connected to BSSID: " + ap) - # self.test_results.append("PASSED: ) - # print("PASSED: Connected to BSSID: "+ap) - else: - self._fail("%s connected to wrong BSSID, requested: %s Actual: %s" % (sta_name, self.dut_bssid, ap)) - else: - self._fail(sta_name+" did not connect to AP") - return False - - if ip == "0.0.0.0": - self._fail("%s did not get an ip. Ending test" % sta_name) - else: - self._pass("%s connected to AP: %s With IP: %s" % (sta_name, ap, ip)) - - if self.passes() == False: - if self.cleanup_on_exit: - print("Cleaning up...") - self.remove_stations() - return False - - # start cx traffic - print("\nStarting CX Traffic") - - self.create_traffic.l3_udp_profile.start_cx() - self.create_traffic.l3_tcp_profile.start_cx() - time.sleep(1) - self.create_traffic.l3_tcp_profile.refresh_cx() - self.create_traffic.l3_udp_profile.refresh_cx() - - def collect_endp_stats(self, endp_map): - print("Collecting Data") - fields="?fields=name,tx+bytes,rx+bytes" - for (cx_name, endps) in endp_map.items(): - try: - endp_url = "/endp/%s%s" % (endps[0], fields) - endp_json = self.json_get(endp_url) - self.resulting_endpoints[endp_url] = endp_json - ptest_a_tx = endp_json['endpoint']['tx bytes'] - ptest_a_rx = endp_json['endpoint']['rx bytes'] - - #ptest = self.json_get("/endp/%s?fields=tx+bytes,rx+bytes" % cx_names[cx_name]["b"]) - endp_url = "/endp/%s%s" % (endps[1], fields) - endp_json = self.json_get(endp_url) - self.resulting_endpoints[endp_url] = endp_json - - ptest_b_tx = endp_json['endpoint']['tx bytes'] - ptest_b_rx = endp_json['endpoint']['rx bytes'] - - self.compare_vals("testTCP-A TX", ptest_a_tx) - self.compare_vals("testTCP-A RX", ptest_a_rx) - - self.compare_vals("testTCP-B TX", ptest_b_tx) - self.compare_vals("testTCP-B RX", ptest_b_rx) - - except Exception as e: - print("Is this the function having the error?") - self.error(e) - - - def stop(self): - # stop cx traffic - print("Stopping CX Traffic") - self.create_traffic.l3_udp_profile.stop_cx() - self.create_traffic.l3_tcp_profile.stop_cx() - - # Refresh stats - print("\nRefresh CX stats") - self.create_traffic.l3_udp_profile.refresh_cx() - self.create_traffic.l3_tcp_profile.refresh_cx() - - print("Sleeping for 5 seconds") - time.sleep(5) - - # get data for endpoints JSON - self.collect_endp_stats(self.create_traffic.l3_udp_profile.created_cx) - self.collect_endp_stats(self.create_traffic.l3_tcp_profile.created_cx) - # print("\n") - - def cleanup(self): - # remove all endpoints and cxs - if self.cleanup_on_exit: - for sta_name in self.station_names: - LFUtils.removePort(self.resource, sta_name, self.lfclient_url) - curr_endp_names = [] - removeCX(self.lfclient_url, self.create_traffic.l3_udp_profile.get_cx_names()) - removeCX(self.lfclient_url, self.create_traffic.l3_tcp_profile.get_cx_names()) - for (cx_name, endp_names) in self.create_traffic.l3_udp_profile.created_cx.items(): - curr_endp_names.append(endp_names[0]) - curr_endp_names.append(endp_names[1]) - for (cx_name, endp_names) in self.create_traffic.l3_tcp_profile.created_cx.items(): - curr_endp_names.append(endp_names[0]) - curr_endp_names.append(endp_names[1]) - removeEndps(self.lfclient_url, curr_endp_names, debug= self.debug) - -# ~class - - - -if __name__ == "__main__": - main() diff --git a/tests/helpers/utils.py b/tests/helpers/utils.py deleted file mode 100644 index 16451d23f..000000000 --- a/tests/helpers/utils.py +++ /dev/null @@ -1,64 +0,0 @@ -import re -import requests -import json -import argparse - -# Map firmware directory name to cloud's model name. -cloud_sdk_models = { - "ec420": "EC420-G1", - "ea8300": "EA8300-CA", - "ecw5211": "ECW5211", - "ecw5410": "ECW5410", - "wf188n": "WF188N" - } - -# To better interoperate with libs that want to take a cmd-line-args thing vs -# the pytest request config. -def create_command_line_args(request): - parser = argparse.ArgumentParser(description="Fake") - command_line_args, unknown = parser.parse_known_args() - - # And then overwrite it with whatever pytest is using (which is likely same in many cases) - command_line_args.equipment_id = request.config.getoption("--equipment-id") - command_line_args.customer_id = request.config.getoption("--customer-id") - command_line_args.sdk_base_url = request.config.getoption("--sdk-base-url") - command_line_args.sdk_user_id = request.config.getoption("--sdk-user-id") - command_line_args.sdk_user_password = request.config.getoption("--sdk-user-password") - command_line_args.default_ap_profile = request.config.getoption("--default-ap-profile") - - command_line_args.verbose = request.config.getoption("--verbose") - - command_line_args.ap_ip = request.config.getoption("--ap-ip") - command_line_args.ap_username = request.config.getoption("--ap-username") - command_line_args.ap_password = request.config.getoption("--ap-password") - command_line_args.ap_jumphost_address = request.config.getoption("--ap-jumphost-address") - command_line_args.ap_jumphost_username = request.config.getoption("--ap-jumphost-username") - command_line_args.ap_jumphost_password = request.config.getoption("--ap-jumphost-password") - command_line_args.ap_jumphost_port = request.config.getoption("--ap-jumphost-port") - command_line_args.ap_jumphost_wlan_testing = request.config.getoption("--ap-jumphost-wlan-testing") # directory - command_line_args.ap_jumphost_tty = request.config.getoption("--ap-jumphost-tty") - - command_line_args.build_id = request.config.getoption("--build-id") - command_line_args.testbed = request.config.getoption("--testbed") - command_line_args.mode = request.config.getoption("--mode") - command_line_args.skip_wpa = request.config.getoption("--skip-wpa") - command_line_args.skip_wpa2 = request.config.getoption("--skip-wpa2") - command_line_args.skip_radius = request.config.getoption("--skip-radius") - command_line_args.skip_profiles = request.config.getoption("--skip-profiles") - command_line_args.ssid_2g_wpa = request.config.getoption("--ssid-2g-wpa") - command_line_args.ssid_5g_wpa = request.config.getoption("--ssid-5g-wpa") - command_line_args.psk_2g_wpa = request.config.getoption("--psk-2g-wpa") - command_line_args.psk_5g_wpa = request.config.getoption("--psk-5g-wpa") - command_line_args.ssid_2g_wpa2 = request.config.getoption("--ssid-2g-wpa2") - command_line_args.ssid_5g_wpa2 = request.config.getoption("--ssid-5g-wpa2") - command_line_args.psk_2g_wpa2 = request.config.getoption("--psk-2g-wpa2") - command_line_args.psk_5g_wpa2 = request.config.getoption("--psk-5g-wpa2") - - command_line_args.testrail_base_url = request.config.getoption("--testrail-base-url") - command_line_args.testrail_project = request.config.getoption("--testrail-project") - command_line_args.testrail_user_id = request.config.getoption("--testrail-user-id") - command_line_args.testrail_user_password = request.config.getoption("--testrail-user-password") - command_line_args.testrail_run_prefix = request.config.getoption("--testrail-run-prefix") - command_line_args.testrail_milestone = request.config.getoption("--testrail-milestone") - - return command_line_args diff --git a/tests/pytest.ini b/tests/pytest.ini index acea6fe28..d00f79f77 100644 --- a/tests/pytest.ini +++ b/tests/pytest.ini @@ -1,15 +1,15 @@ [pytest] addopts= --junitxml=test_everything.xml # jFrog parameters -jfrog-base-url=https://tip.jfrog.io/artifactory/tip-wlan-ap-firmware/ +jfrog-base-url=tip.jFrog.io/artifactory/tip-wlan-ap-firmware jfrog-user-id=tip-read jfrog-user-password=tip-read # Cloud SDK parameters -sdk-base-url=https://wlan-portal-svc.cicd.lab.wlan.tip.build +testbed-name=nola-ext-04 sdk-user-id=support@example.com sdk-user-password=support # Testrails parameters -testrail-base-url=https://telecominfraproject.testrail.com +testrail-base-url=telecominfraproject.testrail.com testrail-project=opsfleet-wlan testrail-user-id=gleb@opsfleet.com testrail-user-password=use_command_line_to_pass_this @@ -20,13 +20,11 @@ lanforge-radio=wiphy4 lanforge-ethernet-port=eth2 # Cloud SDK settings -customer-id=2 -# equipment ID is unique for each AP, have to be told what to use or query it based on other info. -equipment-id=-1 +sdk-customer-id=2 markers = - featureA: marks tests as slow (deselect with '-m "not slow"') - featureB - featureC - featureD - featureE + login: marks cloudsdk login + UHF: marks tests as using 2.4 ghz frequency + SHF: marks tests as using 5.0 ghz frequency + open: marks tests as using no security + wpa2: marks tests as using wpa2 security \ No newline at end of file diff --git a/tests/pytest_utility/conftest.py b/tests/pytest_utility/conftest.py deleted file mode 100644 index e69de29bb..000000000 diff --git a/tests/pytest_utility/pytest.ini b/tests/pytest_utility/pytest.ini deleted file mode 100644 index e69de29bb..000000000 diff --git a/tests/sanity_status.json b/tests/sanity_status.json deleted file mode 100755 index a0d9d4c0e..000000000 --- a/tests/sanity_status.json +++ /dev/null @@ -1 +0,0 @@ -{"sanity_status": {"ea8300": "failed", "ecw5211": "failed", "ecw5410": "failed", "ec420": "failed"}, "sanity_run": {"new_data": "yes"}} \ No newline at end of file diff --git a/tests/single_client_throughput.py b/tests/single_client_throughput.py deleted file mode 100755 index 51ab2c9b5..000000000 --- a/tests/single_client_throughput.py +++ /dev/null @@ -1,1064 +0,0 @@ -#!/usr/bin/env python3 - -#################################################################################### -# Script is based off of LANForge sta_connect2.py -# Script built for max throughput testing on a single client -# The main function of the script creates a station, then tests: -# 1. UDP Downstream (AP to STA) -# 2. UDP Upstream (STA to AP) -# 3. TCP Downstream (AP to STA) -# 4. TCP Upstream (STA to AP) -# The script will clean up the station and connections at the end of the test. -# -# Used by Throughput_Test ########################################################### -#################################################################################### - -# Script is based off of sta_connect2.py -# Script built for max throughput testing on a single client -# The main function of the script creates a station, then tests: -# 1. UDP Downstream (AP to STA) -# 2. UDP Upstream (STA to AP) -# 3. TCP Downstream (AP to STA) -# 4. TCP Upstream (STA to AP) -# The script will clean up the station and connections at the end of the test. - -import sys -import csv - -if sys.version_info[0] != 3: - print("This script requires Python 3") - exit(1) - -if 'py-json' not in sys.path: - sys.path.append('../../py-json') - -import argparse -from LANforge import LFUtils -# from LANforge import LFCliBase -from LANforge import lfcli_base -from LANforge.lfcli_base import LFCliBase -from LANforge.LFUtils import * -import realm -from realm import Realm -import pprint - -OPEN="open" -WEP="wep" -WPA="wpa" -WPA2="wpa2" -MODE_AUTO=0 - -class SingleClient(LFCliBase): - def __init__(self, host, port, _dut_ssid="jedway-open-1", _dut_passwd="NA", _dut_bssid="", - _user="", _passwd="", _sta_mode="0", _radio="wiphy0", - _resource=1, _upstream_resource=1, _upstream_port="eth1", - _sta_name=None, debug_=False, _dut_security=OPEN, _exit_on_error=False, - _cleanup_on_exit=True, _runtime_sec=60, _exit_on_fail=False): - # do not use `super(LFCLiBase,self).__init__(self, host, port, _debugOn) - # that is py2 era syntax and will force self into the host variable, making you - # very confused. - super().__init__(host, port, _debug=debug_, _halt_on_error=_exit_on_error, _exit_on_fail=_exit_on_fail) - self.debug = debug_ - self.dut_security = _dut_security - self.dut_ssid = _dut_ssid - self.dut_passwd = _dut_passwd - self.dut_bssid = _dut_bssid - self.user = _user - self.passwd = _passwd - self.sta_mode = _sta_mode # See add_sta LANforge CLI users guide entry - self.radio = _radio - self.resource = _resource - self.upstream_resource = _upstream_resource - self.upstream_port = _upstream_port - self.runtime_secs = _runtime_sec - self.cleanup_on_exit = _cleanup_on_exit - self.sta_url_map = None # defer construction - self.upstream_url = None # defer construction - self.station_names = [] - if _sta_name is not None: - self.station_names = [ _sta_name ] - # self.localrealm :Realm = Realm(lfclient_host=host, lfclient_port=port) # py > 3.6 - self.localrealm = Realm(lfclient_host=host, lfclient_port=port) # py > 3.6 - self.resulting_stations = {} - self.resulting_endpoints = {} - self.station_profile = None - self.l3_udp_profile = None - self.l3_tcp_profile = None - - # def get_realm(self) -> Realm: # py > 3.6 - def get_realm(self): - return self.localrealm - - def get_station_url(self, sta_name_=None): - if sta_name_ is None: - raise ValueError("get_station_url wants a station name") - if self.sta_url_map is None: - self.sta_url_map = {} - for sta_name in self.station_names: - self.sta_url_map[sta_name] = "port/1/%s/%s" % (self.resource, sta_name) - return self.sta_url_map[sta_name_] - - def get_upstream_url(self): - if self.upstream_url is None: - self.upstream_url = "port/1/%s/%s" % (self.upstream_resource, self.upstream_port) - return self.upstream_url - - # Compare pre-test values to post-test values - def compare_vals(self, name, postVal, print_pass=False, print_fail=True): - # print(f"Comparing {name}") - if postVal > 0: - self._pass("%s %s" % (name, postVal), print_pass) - else: - self._fail("%s did not report traffic: %s" % (name, postVal), print_fail) - - def remove_stations(self): - for name in self.station_names: - LFUtils.removePort(self.resource, name, self.lfclient_url) - - def num_associated(self, bssid): - counter = 0 - # print("there are %d results" % len(self.station_results)) - fields = "_links,port,alias,ip,ap,port+type" - self.station_results = self.localrealm.find_ports_like("sta*", fields, debug_=False) - if (self.station_results is None) or (len(self.station_results) < 1): - self.get_failed_result_list() - for eid,record in self.station_results.items(): - #print("-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- ") - #pprint(eid) - #pprint(record) - if record["ap"] == bssid: - counter += 1 - #print("-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- ") - return counter - - def clear_test_results(self): - self.resulting_stations = {} - self.resulting_endpoints = {} - super().clear_test_results() - #super(StaConnect, self).clear_test_results().test_results.clear() - - def setup(self): - self.clear_test_results() - self.check_connect() - upstream_json = self.json_get("%s?fields=alias,phantom,down,port,ip" % self.get_upstream_url(), debug_=False) - - if upstream_json is None: - self._fail(message="Unable to query %s, bye" % self.upstream_port, print_=True) - return False - - if upstream_json['interface']['ip'] == "0.0.0.0": - if self.debug: - pprint.pprint(upstream_json) - self._fail("Warning: %s lacks ip address" % self.get_upstream_url(), print_=True) - return False - - # remove old stations - print("Removing old stations") - for sta_name in self.station_names: - sta_url = self.get_station_url(sta_name) - response = self.json_get(sta_url) - if (response is not None) and (response["interface"] is not None): - for sta_name in self.station_names: - LFUtils.removePort(self.resource, sta_name, self.lfclient_url) - LFUtils.wait_until_ports_disappear(self.lfclient_url, self.station_names) - - # Create stations and turn dhcp on - self.station_profile = self.localrealm.new_station_profile() - - if self.dut_security == WPA2: - self.station_profile.use_security(security_type="wpa2", ssid=self.dut_ssid, passwd=self.dut_passwd) - elif self.dut_security == WPA: - self.station_profile.use_security(security_type="wpa", ssid=self.dut_ssid, passwd=self.dut_passwd) - elif self.dut_security == OPEN: - self.station_profile.use_security(security_type="open", ssid=self.dut_ssid, passwd="[BLANK]") - elif self.dut_security == WPA: - self.station_profile.use_security(security_type="wpa", ssid=self.dut_ssid, passwd=self.dut_passwd) - elif self.dut_security == WEP: - self.station_profile.use_security(security_type="wep", ssid=self.dut_ssid, passwd=self.dut_passwd) - self.station_profile.set_command_flag("add_sta", "create_admin_down", 1) - - print("Adding new stations ", end="") - self.station_profile.create(radio=self.radio, sta_names_=self.station_names, up_=False, debug=self.debug, suppress_related_commands_=True) - LFUtils.wait_until_ports_appear(self.lfclient_url, self.station_names, debug=self.debug) - - def start(self): - if self.station_profile is None: - self._fail("Incorrect setup") - pprint.pprint(self.station_profile) - if self.station_profile.up is None: - self._fail("Incorrect station profile, missing profile.up") - if self.station_profile.up == False: - print("\nBringing ports up...") - data = {"shelf": 1, - "resource": self.resource, - "port": "ALL", - "probe_flags": 1} - self.json_post("/cli-json/nc_show_ports", data) - self.station_profile.admin_up() - LFUtils.waitUntilPortsAdminUp(self.resource, self.lfclient_url, self.station_names) - - # station_info = self.jsonGet(self.mgr_url, "%s?fields=port,ip,ap" % (self.getStaUrl())) - duration = 0 - maxTime = 100 - ip = "0.0.0.0" - ap = "" - print("Waiting for %s stations to associate to AP: " % len(self.station_names), end="") - connected_stations = {} - while (len(connected_stations.keys()) < len(self.station_names)) and (duration < maxTime): - duration += 3 - time.sleep(10) - print(".", end="") - for sta_name in self.station_names: - sta_url = self.get_station_url(sta_name) - station_info = self.json_get(sta_url + "?fields=port,ip,ap") - - # LFUtils.debug_printer.pprint(station_info) - if (station_info is not None) and ("interface" in station_info): - if "ip" in station_info["interface"]: - ip = station_info["interface"]["ip"] - if "ap" in station_info["interface"]: - ap = station_info["interface"]["ap"] - - if (ap == "Not-Associated") or (ap == ""): - if self.debug: - print(" -%s," % sta_name, end="") - else: - if ip == "0.0.0.0": - if self.debug: - print(" %s (0.0.0.0)" % sta_name, end="") - else: - connected_stations[sta_name] = sta_url - data = { - "shelf":1, - "resource": self.resource, - "port": "ALL", - "probe_flags": 1 - } - self.json_post("/cli-json/nc_show_ports", data) - - for sta_name in self.station_names: - sta_url = self.get_station_url(sta_name) - station_info = self.json_get(sta_url) # + "?fields=port,ip,ap") - if station_info is None: - print("unable to query %s" % sta_url) - self.resulting_stations[sta_url] = station_info - ap = station_info["interface"]["ap"] - ip = station_info["interface"]["ip"] - if (ap != "") and (ap != "Not-Associated"): - print(" %s +AP %s, " % (sta_name, ap), end="") - if self.dut_bssid != "": - if self.dut_bssid.lower() == ap.lower(): - self._pass(sta_name+" connected to BSSID: " + ap) - # self.test_results.append("PASSED: ) - # print("PASSED: Connected to BSSID: "+ap) - else: - self._fail("%s connected to wrong BSSID, requested: %s Actual: %s" % (sta_name, self.dut_bssid, ap)) - else: - self._fail(sta_name+" did not connect to AP") - return False - - if ip == "0.0.0.0": - self._fail("%s did not get an ip. Ending test" % sta_name) - else: - self._pass("%s connected to AP: %s With IP: %s" % (sta_name, ap, ip)) - - if self.passes() == False: - if self.cleanup_on_exit: - print("Cleaning up...") - self.remove_stations() - return False - - def udp_profile(self, side_a_min_bps, side_b_min_bps, side_a_min_pdu, side_b_min_pdu): - # Create UDP endpoint - Alex's code! - self.l3_udp_tput_profile = self.localrealm.new_l3_cx_profile() - self.l3_udp_tput_profile.side_a_min_bps = side_a_min_bps - self.l3_udp_tput_profile.side_b_min_bps = side_b_min_bps - self.l3_udp_tput_profile.side_a_min_pdu = side_a_min_pdu - self.l3_udp_tput_profile.side_b_min_pdu = side_b_min_pdu - self.l3_udp_tput_profile.report_timer = 1000 - self.l3_udp_tput_profile.name_prefix = "udp" - self.l3_udp_tput_profile.create(endp_type="lf_udp", - side_a=list(self.localrealm.find_ports_like("tput+")), - side_b="%d.%s" % (self.resource, self.upstream_port), - suppress_related_commands=True) - - def tcp_profile(self, side_a_min_bps, side_b_min_bps): - # Create TCP endpoints - original code! - self.l3_tcp_tput_profile = self.localrealm.new_l3_cx_profile() - self.l3_tcp_tput_profile.side_a_min_bps = side_a_min_bps - self.l3_tcp_tput_profile.side_b_min_bps = side_b_min_bps - self.l3_tcp_tput_profile.name_prefix = "tcp" - self.l3_tcp_tput_profile.report_timer = 1000 - self.l3_tcp_tput_profile.create(endp_type="lf_tcp", - side_a=list(self.localrealm.find_ports_like("tput+")), - side_b="%d.%s" % (self.resource, self.upstream_port), - suppress_related_commands=True) - - # Start UDP Downstream Traffic - def udp_throughput(self): - print("\nStarting UDP Traffic") - self.l3_udp_tput_profile.start_cx() - time.sleep(1) - self.l3_udp_tput_profile.refresh_cx() - - def tcp_throughput(self): - print("\nStarting TCP Traffic") - self.l3_tcp_tput_profile.start_cx() - time.sleep(1) - self.l3_tcp_tput_profile.refresh_cx() - - def udp_stop(self): - # stop cx traffic - print("Stopping CX Traffic") - self.l3_udp_tput_profile.stop_cx() - - # Refresh stats - print("\nRefresh CX stats") - self.l3_udp_tput_profile.refresh_cx() - - print("Sleeping for 5 seconds") - time.sleep(5) - - # get data for endpoints JSON - return self.collect_client_stats(self.l3_udp_tput_profile.created_cx) - # print("\n") - - def tcp_stop(self): - # stop cx traffic - print("Stopping CX Traffic") - self.l3_tcp_tput_profile.stop_cx() - - # Refresh stats - print("\nRefresh CX stats") - self.l3_tcp_tput_profile.refresh_cx() - - print("Sleeping for 5 seconds") - time.sleep(5) - - # get data for endpoints JSON - return self.collect_client_stats(self.l3_tcp_tput_profile.created_cx) - # print("\n") - - # New Endpoint code to print TX and RX numbers - def collect_client_stats(self, endp_map): - print("Collecting Data") - fields="?fields=name,tx+bytes,rx+bytes" - for (cx_name, endps) in endp_map.items(): - try: - endp_url = "/endp/%s%s" % (endps[0], fields) - endp_json = self.json_get(endp_url) - self.resulting_endpoints[endp_url] = endp_json - ptest_a_tx = endp_json['endpoint']['tx bytes'] - ptest_a_rx = endp_json['endpoint']['rx bytes'] - - # ptest = self.json_get("/endp/%s?fields=tx+bytes,rx+bytes" % cx_names[cx_name]["b"]) - endp_url = "/endp/%s%s" % (endps[1], fields) - endp_json = self.json_get(endp_url) - self.resulting_endpoints[endp_url] = endp_json - ptest_b_tx = endp_json['endpoint']['tx bytes'] - ptest_b_rx = endp_json['endpoint']['rx bytes'] - - byte_values = [] - byte_values.append("Station TX: " + str(ptest_a_tx)) - byte_values.append("Station RX: " + str(ptest_a_rx)) - byte_values.append("AP TX: " + str(ptest_b_tx)) - byte_values.append("AP RX: " + str(ptest_b_rx)) - - return byte_values - - except Exception as e: - self.error(e) - - def cleanup_udp(self): - # remove all endpoints and cxs - if self.cleanup_on_exit: - for sta_name in self.station_names: - LFUtils.removePort(self.resource, sta_name, self.lfclient_url) - curr_endp_names = [] - removeCX(self.lfclient_url, self.l3_udp_tput_profile.get_cx_names()) - for (cx_name, endp_names) in self.l3_udp_tput_profile.created_cx.items(): - curr_endp_names.append(endp_names[0]) - curr_endp_names.append(endp_names[1]) - removeEndps(self.lfclient_url, curr_endp_names, debug= self.debug) - - def cleanup_tcp(self): - # remove all endpoints and cxs - if self.cleanup_on_exit: - for sta_name in self.station_names: - LFUtils.removePort(self.resource, sta_name, self.lfclient_url) - curr_endp_names = [] - removeCX(self.lfclient_url, self.l3_tcp_tput_profile.get_cx_names()) - for (cx_name, endp_names) in self.l3_tcp_tput_profile.created_cx.items(): - curr_endp_names.append(endp_names[0]) - curr_endp_names.append(endp_names[1]) - removeEndps(self.lfclient_url, curr_endp_names, debug= self.debug) - - def cleanup(self): - # remove all endpoints and cxs - if self.cleanup_on_exit: - for sta_name in self.station_names: - LFUtils.removePort(self.resource, sta_name, self.lfclient_url) - curr_endp_names = [] - removeCX(self.lfclient_url, self.l3_tcp_tput_profile.get_cx_names()) - removeCX(self.lfclient_url, self.l3_udp_tput_profile.get_cx_names()) - for (cx_name, endp_names) in self.l3_tcp_tput_profile.created_cx.items(): - curr_endp_names.append(endp_names[0]) - curr_endp_names.append(endp_names[1]) - for (cx_name, endp_names) in self.l3_udp_tput_profile.created_cx.items(): - curr_endp_names.append(endp_names[0]) - curr_endp_names.append(endp_names[1]) - removeEndps(self.lfclient_url, curr_endp_names, debug=self.debug) - - def udp_unidirectional(self, side_a_min_bps, side_b_min_bps, side_a_min_pdu, side_b_min_pdu, direction, values_line): - self.udp_profile(side_a_min_bps, side_b_min_bps, side_a_min_pdu, side_b_min_pdu) - self.start() - print("Running", direction, "Traffic for %s seconds" % self.runtime_secs) - self.udp_throughput() - print("napping %f sec" % self.runtime_secs) - time.sleep(self.runtime_secs) - values = self.udp_stop() - print(values) - # Get value required for measurement - bytes = values[values_line] - # Get value in Bits and convert to Mbps - bits = (int(bytes.split(": ", 1)[1])) * 8 - mpbs = round((bits / 1000000) / self.runtime_secs, 2) - return mpbs - - def tcp_unidirectional(self, side_a_min_bps, side_b_min_bps, direction, values_line): - self.tcp_profile(side_a_min_bps, side_b_min_bps) - self.start() - print("Running", direction, "Traffic for %s seconds" % self.runtime_secs) - self.tcp_throughput() - print("napping %f sec" % self.runtime_secs) - time.sleep(self.runtime_secs) - values = self.tcp_stop() - print(values) - # Get value required for measurement - bytes = values[values_line] - # Get value in Bits and convert to Mbps - bits = (int(bytes.split(": ", 1)[1])) * 8 - mpbs = round((bits / 1000000) / self.runtime_secs, 2) - return mpbs - - def throughput_csv(csv_file, ssid_name, ap_model, firmware, security, udp_ds, udp_us, tcp_ds, tcp_us): - # Find band for CSV ---> This code is not great, it SHOULD get that info from LANForge! - if "5G" in ssid_name: - frequency = "5 GHz" - - elif "2dot4G" in ssid_name: - frequency = "2.4 GHz" - - else: - frequency = "Unknown" - - # Append row to top of CSV file - row = [ap_model, firmware, frequency, security, udp_ds, udp_us, tcp_ds, tcp_us] - - with open(csv_file, 'r') as readFile: - reader = csv.reader(readFile) - lines = list(reader) - lines.insert(1, row) - - with open(csv_file, 'w') as writeFile: - writer = csv.writer(writeFile) - writer.writerows(lines) - - readFile.close() - writeFile.close() - - -class SingleClientEAP(LFCliBase): - def __init__(self, host, port, security=None, ssid=None, sta_list=None, number_template="00000", _debug_on=False, _dut_bssid="", - _exit_on_error=False, _sta_name=None, _resource=1, radio="wiphy0", key_mgmt="WPA-EAP", eap="", identity="", - ttls_passwd="", hessid=None, ttls_realm="", domain="", _exit_on_fail=False, _cleanup_on_exit=True): - super().__init__(host, port, _debug=_debug_on, _halt_on_error=_exit_on_error, _exit_on_fail=_exit_on_fail) - self.host = host - self.port = port - self.ssid = ssid - self.radio = radio - self.security = security - #self.password = password - self.sta_list = sta_list - self.key_mgmt = key_mgmt - self.eap = eap - self.identity = identity - self.ttls_passwd = ttls_passwd - self.ttls_realm = ttls_realm - self.domain = domain - self.hessid = hessid - self.dut_bssid = _dut_bssid - self.timeout = 120 - self.number_template = number_template - self.debug = _debug_on - self.local_realm = realm.Realm(lfclient_host=self.host, lfclient_port=self.port) - self.station_profile = self.local_realm.new_station_profile() - self.station_profile.lfclient_url = self.lfclient_url - self.station_profile.ssid = self.ssid - self.station_profile.security = self.security - self.station_profile.number_template_ = self.number_template - self.station_profile.mode = 0 - #Added to test_ipv4_ttls code - self.upstream_url = None # defer construction - self.sta_url_map = None - self.upstream_resource = None - self.upstream_port = None - self.station_names = [] - if _sta_name is not None: - self.station_names = [_sta_name] - self.localrealm = Realm(lfclient_host=host, lfclient_port=port) - self.resource = _resource - self.cleanup_on_exit = _cleanup_on_exit - self.resulting_stations = {} - self.resulting_endpoints = {} - self.station_profile = None - self.l3_udp_profile = None - self.l3_tcp_profile = None - - # def get_realm(self) -> Realm: # py > 3.6 - def get_realm(self): - return self.localrealm - - def get_station_url(self, sta_name_=None): - if sta_name_ is None: - raise ValueError("get_station_url wants a station name") - if self.sta_url_map is None: - self.sta_url_map = {} - for sta_name in self.station_names: - self.sta_url_map[sta_name] = "port/1/%s/%s" % (self.resource, sta_name) - return self.sta_url_map[sta_name_] - - def get_upstream_url(self): - if self.upstream_url is None: - self.upstream_url = "port/1/%s/%s" % (self.upstream_resource, self.upstream_port) - return self.upstream_url - - # Compare pre-test values to post-test values - def compare_vals(self, name, postVal, print_pass=False, print_fail=True): - # print(f"Comparing {name}") - if postVal > 0: - self._pass("%s %s" % (name, postVal), print_pass) - else: - self._fail("%s did not report traffic: %s" % (name, postVal), print_fail) - - def remove_stations(self): - for name in self.station_names: - LFUtils.removePort(self.resource, name, self.lfclient_url) - - def num_associated(self, bssid): - counter = 0 - # print("there are %d results" % len(self.station_results)) - fields = "_links,port,alias,ip,ap,port+type" - self.station_results = self.localrealm.find_ports_like("eap*", fields, debug_=False) - if (self.station_results is None) or (len(self.station_results) < 1): - self.get_failed_result_list() - for eid,record in self.station_results.items(): - #print("-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- ") - #pprint(eid) - #pprint(record) - if record["ap"] == bssid: - counter += 1 - #print("-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- ") - return counter - - def clear_test_results(self): - self.resulting_stations = {} - self.resulting_endpoints = {} - super().clear_test_results() - #super(StaConnect, self).clear_test_results().test_results.clear() - - def setup(self): - self.clear_test_results() - self.check_connect() - upstream_json = self.json_get("%s?fields=alias,phantom,down,port,ip" % self.get_upstream_url(), debug_=False) - - if upstream_json is None: - self._fail(message="Unable to query %s, bye" % self.upstream_port, print_=True) - return False - - if upstream_json['interface']['ip'] == "0.0.0.0": - if self.debug: - pprint.pprint(upstream_json) - self._fail("Warning: %s lacks ip address" % self.get_upstream_url(), print_=True) - return False - - # remove old stations - print("Removing old stations") - for sta_name in self.station_names: - sta_url = self.get_station_url(sta_name) - response = self.json_get(sta_url) - if (response is not None) and (response["interface"] is not None): - for sta_name in self.station_names: - LFUtils.removePort(self.resource, sta_name, self.lfclient_url) - LFUtils.wait_until_ports_disappear(self.lfclient_url, self.station_names) - - # Create stations and turn dhcp on - self.station_profile = self.localrealm.new_station_profile() - - # Build stations - self.station_profile.use_security(self.security, self.ssid, passwd="[BLANK]") - self.station_profile.set_number_template(self.number_template) - print("Creating stations") - self.station_profile.set_command_flag("add_sta", "create_admin_down", 1) - self.station_profile.set_command_param("set_port", "report_timer", 1500) - self.station_profile.set_command_flag("set_port", "rpt_timer", 1) - self.station_profile.set_wifi_extra(key_mgmt=self.key_mgmt, eap=self.eap, identity=self.identity, - passwd=self.ttls_passwd, - realm=self.ttls_realm, domain=self.domain, - hessid=self.hessid) - self.station_profile.create(radio=self.radio, sta_names_=self.sta_list, debug=self.debug, use_radius=True, hs20_enable=False) - self._pass("PASS: Station build finished") - - def start(self): - if self.station_profile is None: - self._fail("Incorrect setup") - pprint.pprint(self.station_profile) - if self.station_profile.up is None: - self._fail("Incorrect station profile, missing profile.up") - if self.station_profile.up == False: - print("\nBringing ports up...") - data = {"shelf": 1, - "resource": self.resource, - "port": "ALL", - "probe_flags": 1} - self.json_post("/cli-json/nc_show_ports", data) - self.station_profile.admin_up() - LFUtils.waitUntilPortsAdminUp(self.resource, self.lfclient_url, self.station_names) - - # station_info = self.jsonGet(self.mgr_url, "%s?fields=port,ip,ap" % (self.getStaUrl())) - duration = 0 - maxTime = 30 - ip = "0.0.0.0" - ap = "" - print("Waiting for %s stations to associate to AP: " % len(self.station_names), end="") - connected_stations = {} - while (len(connected_stations.keys()) < len(self.station_names)) and (duration < maxTime): - duration += 3 - time.sleep(10) - print(".", end="") - for sta_name in self.station_names: - sta_url = self.get_station_url(sta_name) - station_info = self.json_get(sta_url + "?fields=port,ip,ap") - - # LFUtils.debug_printer.pprint(station_info) - if (station_info is not None) and ("interface" in station_info): - if "ip" in station_info["interface"]: - ip = station_info["interface"]["ip"] - if "ap" in station_info["interface"]: - ap = station_info["interface"]["ap"] - - if (ap == "Not-Associated") or (ap == ""): - if self.debug: - print(" -%s," % sta_name, end="") - else: - if ip == "0.0.0.0": - if self.debug: - print(" %s (0.0.0.0)" % sta_name, end="") - else: - connected_stations[sta_name] = sta_url - data = { - "shelf":1, - "resource": self.resource, - "port": "ALL", - "probe_flags": 1 - } - self.json_post("/cli-json/nc_show_ports", data) - - for sta_name in self.station_names: - sta_url = self.get_station_url(sta_name) - station_info = self.json_get(sta_url) # + "?fields=port,ip,ap") - if station_info is None: - print("unable to query %s" % sta_url) - self.resulting_stations[sta_url] = station_info - ap = station_info["interface"]["ap"] - ip = station_info["interface"]["ip"] - if (ap != "") and (ap != "Not-Associated"): - print(" %s +AP %s, " % (sta_name, ap), end="") - if self.dut_bssid != "": - if self.dut_bssid.lower() == ap.lower(): - self._pass(sta_name+" connected to BSSID: " + ap) - # self.test_results.append("PASSED: ) - # print("PASSED: Connected to BSSID: "+ap) - else: - self._fail("%s connected to wrong BSSID, requested: %s Actual: %s" % (sta_name, self.dut_bssid, ap)) - else: - self._fail(sta_name+" did not connect to AP") - return False - - if ip == "0.0.0.0": - self._fail("%s did not get an ip. Ending test" % sta_name) - else: - self._pass("%s connected to AP: %s With IP: %s" % (sta_name, ap, ip)) - - if self.passes() == False: - if self.cleanup_on_exit: - print("Cleaning up...") - self.remove_stations() - return False - - def udp_profile(self, side_a_min_bps, side_b_min_bps, side_a_min_pdu, side_b_min_pdu): - # Create UDP endpoint - Alex's code! - self.l3_udp_tput_profile = self.localrealm.new_l3_cx_profile() - self.l3_udp_tput_profile.side_a_min_bps = side_a_min_bps - self.l3_udp_tput_profile.side_b_min_bps = side_b_min_bps - self.l3_udp_tput_profile.side_a_min_pdu = side_a_min_pdu - self.l3_udp_tput_profile.side_b_min_pdu = side_b_min_pdu - self.l3_udp_tput_profile.report_timer = 1000 - self.l3_udp_tput_profile.name_prefix = "udp" - self.l3_udp_tput_profile.create(endp_type="lf_udp", - side_a=list(self.localrealm.find_ports_like("tput+")), - side_b="%d.%s" % (self.resource, self.upstream_port), - suppress_related_commands=True) - - def tcp_profile(self, side_a_min_bps, side_b_min_bps): - # Create TCP endpoints - original code! - self.l3_tcp_tput_profile = self.localrealm.new_l3_cx_profile() - self.l3_tcp_tput_profile.side_a_min_bps = side_a_min_bps - self.l3_tcp_tput_profile.side_b_min_bps = side_b_min_bps - self.l3_tcp_tput_profile.name_prefix = "tcp" - self.l3_tcp_tput_profile.report_timer = 1000 - self.l3_tcp_tput_profile.create(endp_type="lf_tcp", - side_a=list(self.localrealm.find_ports_like("tput+")), - side_b="%d.%s" % (self.resource, self.upstream_port), - suppress_related_commands=True) - - # Start UDP Downstream Traffic - def udp_throughput(self): - print("\nStarting UDP Traffic") - self.l3_udp_tput_profile.start_cx() - time.sleep(1) - self.l3_udp_tput_profile.refresh_cx() - - def tcp_throughput(self): - print("\nStarting TCP Traffic") - self.l3_tcp_tput_profile.start_cx() - time.sleep(1) - self.l3_tcp_tput_profile.refresh_cx() - - def udp_stop(self): - # stop cx traffic - print("Stopping CX Traffic") - self.l3_udp_tput_profile.stop_cx() - - # Refresh stats - print("\nRefresh CX stats") - self.l3_udp_tput_profile.refresh_cx() - - print("Sleeping for 5 seconds") - time.sleep(5) - - # get data for endpoints JSON - return self.collect_client_stats(self.l3_udp_tput_profile.created_cx) - # print("\n") - - def tcp_stop(self): - # stop cx traffic - print("Stopping CX Traffic") - self.l3_tcp_tput_profile.stop_cx() - - # Refresh stats - print("\nRefresh CX stats") - self.l3_tcp_tput_profile.refresh_cx() - - print("Sleeping for 5 seconds") - time.sleep(5) - - # get data for endpoints JSON - return self.collect_client_stats(self.l3_tcp_tput_profile.created_cx) - # print("\n") - - # New Endpoint code to print TX and RX numbers - def collect_client_stats(self, endp_map): - print("Collecting Data") - fields="?fields=name,tx+bytes,rx+bytes" - for (cx_name, endps) in endp_map.items(): - try: - endp_url = "/endp/%s%s" % (endps[0], fields) - endp_json = self.json_get(endp_url) - self.resulting_endpoints[endp_url] = endp_json - ptest_a_tx = endp_json['endpoint']['tx bytes'] - ptest_a_rx = endp_json['endpoint']['rx bytes'] - - # ptest = self.json_get("/endp/%s?fields=tx+bytes,rx+bytes" % cx_names[cx_name]["b"]) - endp_url = "/endp/%s%s" % (endps[1], fields) - endp_json = self.json_get(endp_url) - self.resulting_endpoints[endp_url] = endp_json - ptest_b_tx = endp_json['endpoint']['tx bytes'] - ptest_b_rx = endp_json['endpoint']['rx bytes'] - - byte_values = [] - byte_values.append("Station TX: " + str(ptest_a_tx)) - byte_values.append("Station RX: " + str(ptest_a_rx)) - byte_values.append("AP TX: " + str(ptest_b_tx)) - byte_values.append("AP RX: " + str(ptest_b_rx)) - - return byte_values - - except Exception as e: - self.error(e) - - def cleanup_udp(self): - # remove all endpoints and cxs - if self.cleanup_on_exit: - for sta_name in self.station_names: - LFUtils.removePort(self.resource, sta_name, self.lfclient_url) - curr_endp_names = [] - removeCX(self.lfclient_url, self.l3_udp_tput_profile.get_cx_names()) - for (cx_name, endp_names) in self.l3_udp_tput_profile.created_cx.items(): - curr_endp_names.append(endp_names[0]) - curr_endp_names.append(endp_names[1]) - removeEndps(self.lfclient_url, curr_endp_names, debug= self.debug) - - def cleanup_tcp(self): - # remove all endpoints and cxs - if self.cleanup_on_exit: - for sta_name in self.station_names: - LFUtils.removePort(self.resource, sta_name, self.lfclient_url) - curr_endp_names = [] - removeCX(self.lfclient_url, self.l3_tcp_tput_profile.get_cx_names()) - for (cx_name, endp_names) in self.l3_tcp_tput_profile.created_cx.items(): - curr_endp_names.append(endp_names[0]) - curr_endp_names.append(endp_names[1]) - removeEndps(self.lfclient_url, curr_endp_names, debug= self.debug) - - def cleanup(self): - # remove all endpoints and cxs - if self.cleanup_on_exit: - for sta_name in self.station_names: - LFUtils.removePort(self.resource, sta_name, self.lfclient_url) - curr_endp_names = [] - removeCX(self.lfclient_url, self.l3_tcp_tput_profile.get_cx_names()) - removeCX(self.lfclient_url, self.l3_udp_tput_profile.get_cx_names()) - for (cx_name, endp_names) in self.l3_tcp_tput_profile.created_cx.items(): - curr_endp_names.append(endp_names[0]) - curr_endp_names.append(endp_names[1]) - for (cx_name, endp_names) in self.l3_udp_tput_profile.created_cx.items(): - curr_endp_names.append(endp_names[0]) - curr_endp_names.append(endp_names[1]) - removeEndps(self.lfclient_url, curr_endp_names, debug=self.debug) - - def udp_unidirectional(self, side_a_min_bps, side_b_min_bps, side_a_min_pdu, side_b_min_pdu, direction, values_line): - self.udp_profile(side_a_min_bps, side_b_min_bps, side_a_min_pdu, side_b_min_pdu) - self.start() - print("Running", direction, "Traffic for %s seconds" % self.runtime_secs) - self.udp_throughput() - print("napping %f sec" % self.runtime_secs) - time.sleep(self.runtime_secs) - values = self.udp_stop() - print(values) - # Get value required for measurement - bytes = values[values_line] - # Get value in Bits and convert to Mbps - bits = (int(bytes.split(": ", 1)[1])) * 8 - mpbs = round((bits / 1000000) / self.runtime_secs, 2) - return mpbs - - def tcp_unidirectional(self, side_a_min_bps, side_b_min_bps, direction, values_line): - self.tcp_profile(side_a_min_bps, side_b_min_bps) - self.start() - print("Running", direction, "Traffic for %s seconds" % self.runtime_secs) - self.tcp_throughput() - print("napping %f sec" % self.runtime_secs) - time.sleep(self.runtime_secs) - values = self.tcp_stop() - print(values) - # Get value required for measurement - bytes = values[values_line] - # Get value in Bits and convert to Mbps - bits = (int(bytes.split(": ", 1)[1])) * 8 - mpbs = round((bits / 1000000) / self.runtime_secs, 2) - return mpbs -# ~class - - -# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -########################## Test Code ################################ - -##Main will perform 4 throughput tests on SSID provided by input and return a list with the values - -def main(ap_model, firmware, radio, ssid_name, ssid_psk, security, station, runtime, upstream_port): - ######## Establish Client Connection ######################### - singleClient = SingleClient("10.10.10.201", 8080, debug_=False) - singleClient.sta_mode = 0 - singleClient.upstream_resource = 1 - singleClient.upstream_port = upstream_port - singleClient.radio = radio - singleClient.resource = 1 - singleClient.dut_ssid = ssid_name - singleClient.dut_passwd = ssid_psk - singleClient.dut_security = security - singleClient.station_names = station - singleClient.runtime_secs = runtime - singleClient.cleanup_on_exit = True - - #Create List for Throughput Data - tput_data = [] - - ####### Setup UDP Profile and Run Traffic Downstream (AP to STA) ####################### - singleClient.setup() - side_a_min_bps = 56000 - side_b_min_bps = 500000000 - side_a_min_pdu = 1200 - side_b_min_pdu = 1500 - direction = "Downstream" - values_line = 1 # 1 = Station Rx - try: - udp_ds = singleClient.udp_unidirectional(side_a_min_bps, side_b_min_bps, side_a_min_pdu, side_b_min_pdu, direction, values_line) - print("UDP Downstream:", udp_ds, "Mbps") - tput_data.append("UDP Downstream: " + str(udp_ds)) - except: - udp_ds = "error" - print("UDP Downstream Test Error") - tput_data.append("UDP Downstream: Error") - - - ####### Setup UDP Profile and Run Traffic Upstream (STA to AP) ####################### - #singleClient.setup() - side_a_min_bps = 500000000 - side_b_min_bps = 0 - side_a_min_pdu = 1200 - side_b_min_pdu = 1500 - direction = "Upstream" - values_line = 3 # 3 = AP Rx - try: - udp_us = singleClient.udp_unidirectional(side_a_min_bps, side_b_min_bps, side_a_min_pdu, side_b_min_pdu, direction, values_line) - print("UDP Upstream:",udp_us,"Mbps") - tput_data.append("UDP Upstream: " + str(udp_us)) - except: - udp_us = "error" - print("UDP Upstream Test Error") - tput_data.append("UDP Upstream: Error") - #Cleanup UDP Endpoints - #singleClient.cleanup_udp() - - - ####### Setup TCP Profile and Run Traffic Downstream (AP to STA) ####################### - #singleClient.setup() - side_a_min_bps = 0 - side_b_min_bps = 500000000 - direction = "Downstream" - values_line = 1 # 1 = Station Rx - try: - tcp_ds = singleClient.tcp_unidirectional(side_a_min_bps, side_b_min_bps, direction, values_line) - print("TCP Downstream:",tcp_ds,"Mbps") - tput_data.append("TCP Downstream: " + str(tcp_ds)) - except: - tcp_ds = "error" - print("TCP Downstream Test Error") - tput_data.append("TCP Downstream: Error") - - ####### Setup TCP Profile and Run Traffic Upstream (STA to AP) ####################### - #singleClient.setup() - side_a_min_bps = 500000000 - side_b_min_bps = 0 - direction = "Upstream" - values_line = 3 # 3 = AP Rx - try: - tcp_us = singleClient.tcp_unidirectional(side_a_min_bps, side_b_min_bps, direction, values_line) - print("TCP Upstream:",tcp_us,"Mbps") - tput_data.append("TCP Upstream: " + str(tcp_us)) - except: - tcp_us = "error" - print("TCP Upstream Test Error") - tput_data.append("TCP Uptream: Error") - - #Cleanup TCP Endpoints - #singleClient.cleanup_tcp() - - #Cleanup Endpoints - singleClient.cleanup() - - return(tput_data) - -def eap_tput(sta_list, ssid_name, radio, security, eap_type, identity, ttls_password, upstream_port): - eap_connect = SingleClientEAP("10.10.10.201", 8080, _debug_on=False) - eap_connect.upstream_resource = 1 - eap_connect.upstream_port = upstream_port - eap_connect.security = security - eap_connect.sta_list = sta_list - eap_connect.station_names = sta_list - eap_connect.ssid = ssid_name - eap_connect.radio = radio - eap_connect.eap = eap_type - eap_connect.identity = identity - eap_connect.ttls_passwd = ttls_password - eap_connect.runtime_secs = 10 - - #Create List for Throughput Data - tput_data = [] - - ####### Setup UDP Profile and Run Traffic Downstream (AP to STA) ####################### - eap_connect.setup() - side_a_min_bps = 56000 - side_b_min_bps = 500000000 - side_a_min_pdu = 1200 - side_b_min_pdu = 1500 - direction = "Downstream" - values_line = 1 # 1 = Station Rx - try: - udp_ds = eap_connect.udp_unidirectional(side_a_min_bps, side_b_min_bps, side_a_min_pdu, side_b_min_pdu, direction, values_line) - print("UDP Downstream:", udp_ds, "Mbps") - tput_data.append("UDP Downstream: " + str(udp_ds)) - except: - udp_ds = "error" - print("UDP Downstream Test Error") - tput_data.append("UDP Downstream: Error") - - - ####### Setup UDP Profile and Run Traffic Upstream (STA to AP) ####################### - #singleClient.setup() - side_a_min_bps = 500000000 - side_b_min_bps = 0 - side_a_min_pdu = 1200 - side_b_min_pdu = 1500 - direction = "Upstream" - values_line = 3 # 3 = AP Rx - try: - udp_us = eap_connect.udp_unidirectional(side_a_min_bps, side_b_min_bps, side_a_min_pdu, side_b_min_pdu, direction, values_line) - print("UDP Upstream:",udp_us,"Mbps") - tput_data.append("UDP Upstream: " + str(udp_us)) - except: - udp_us = "error" - print("UDP Upstream Test Error") - tput_data.append("UDP Upstream: Error") - #Cleanup UDP Endpoints - #singleClient.cleanup_udp() - - - ####### Setup TCP Profile and Run Traffic Downstream (AP to STA) ####################### - #singleClient.setup() - side_a_min_bps = 0 - side_b_min_bps = 500000000 - direction = "Downstream" - values_line = 1 # 1 = Station Rx - try: - tcp_ds = eap_connect.tcp_unidirectional(side_a_min_bps, side_b_min_bps, direction, values_line) - print("TCP Downstream:",tcp_ds,"Mbps") - tput_data.append("TCP Downstream: " + str(tcp_ds)) - except: - tcp_ds = "error" - print("TCP Downstream Test Error") - tput_data.append("TCP Downstream: Error") - - ####### Setup TCP Profile and Run Traffic Upstream (STA to AP) ####################### - #singleClient.setup() - side_a_min_bps = 500000000 - side_b_min_bps = 0 - direction = "Upstream" - values_line = 3 # 3 = AP Rx - try: - tcp_us = eap_connect.tcp_unidirectional(side_a_min_bps, side_b_min_bps, direction, values_line) - print("TCP Upstream:",tcp_us,"Mbps") - tput_data.append("TCP Upstream: " + str(tcp_us)) - except: - tcp_us = "error" - print("TCP Upstream Test Error") - tput_data.append("TCP Uptream: Error") - - #Cleanup TCP Endpoints - #singleClient.cleanup_tcp() - - #Cleanup Endpoints - eap_connect.cleanup() - - return(tput_data) diff --git a/tests/templates/radius_profile_template.json b/tests/templates/radius_profile_template.json deleted file mode 100644 index 2af9ee0f8..000000000 --- a/tests/templates/radius_profile_template.json +++ /dev/null @@ -1 +0,0 @@ -{"model_type": "Profile", "id": 129, "customerId": "2", "profileType": "radius", "name": "Automation_Radius_Nightly-01", "details": {"model_type": "RadiusProfile", "primaryRadiusAuthServer": {"model_type": "RadiusServer", "ipAddress": "18.189.25.141", "secret": "testing123", "port": 1812, "timeout": 5}, "secondaryRadiusAuthServer": null, "primaryRadiusAccountingServer": null, "secondaryRadiusAccountingServer": null, "profileType": "radius"}, "createdTimestamp": 1602263176599, "lastModifiedTimestamp": 1611708334061, "childProfileIds": []} \ No newline at end of file diff --git a/tests/templates/report_template.php b/tests/templates/report_template.php deleted file mode 100755 index f25fcda54..000000000 --- a/tests/templates/report_template.php +++ /dev/null @@ -1,622 +0,0 @@ - - - - -Testing Report - - - - - - - - -
-

CICD Nightly Sanity Report -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Test Results

-
EA8300 ResultECW5211 ResultECW5410 ResultEC420 Result
New FW Available
FW Under Test
CloudSDK Commit Date
CloudSDK Commit ID
CloudSDK Project Version
Test Pass Rate
Test CaseCategoryDescription
5540CloudSDKGet CloudSDK Version with API
5548CloudSDKCreate FW version on CloudSDK using API
5547CloudSDKRequest AP Upgrade using API
2233APAP Upgrade Successful
5247CloudSDKCloudSDK Reports Correct FW
5222CloudSDKAP-CloudSDK Connection Active
5808CloudSDKCreate RADIUS Profile
5644CloudSDKCreate SSID Profile 2.4 GHz WPA2-EAP - Bridge Mode
5645CloudSDKCreate SSID Profile 2.4 GHz WPA2 - Bridge Mode
5646CloudSDKCreate SSID Profile 2.4 GHz WPA - Bridge Mode
5647CloudSDKCreate SSID Profile 5 GHz WPA2-EAP - Bridge Mode
5647CloudSDKCreate SSID Profile 5 GHz WPA2 - Bridge Mode
5648CloudSDKCreate SSID Profile 5 GHz WPA - Bridge Mode
5641CloudSDKCreate AP Profile - Bridge Mode
5541CloudSDKCloudSDK Pushes Correct AP Profile - Bridge Mode
5544APAP Applies Correct AP Profile - Bridge Mode
5214APClient connects to 2.4 GHz WPA2-EAP - Bridge Mode
2237APClient connects to 2.4 GHz WPA2 - Bridge Mode
2420APClient connects to 2.4 GHz WPA - Bridge Mode
5215APClient connects to 5 GHz WPA2-EAP - Bridge Mode
2236APClient connects to 5 GHz WPA2 - Bridge Mode
2419APClient connects to 5 GHz WPA - Bridge Mode
5650CloudSDKCreate SSID Profile 2.4 GHz WPA2-EAP - NAT Mode
5651CloudSDKCreate SSID Profile 2.4 GHz WPA2 - NAT Mode
5652CloudSDKCreate SSID Profile 2.4 GHz WPA - NAT Mode
5653CloudSDKCreate SSID Profile 5 GHz WPA2-EAP - NAT Mode
5654CloudSDKCreate SSID Profile 5 GHz WPA2 - NAT Mode
5655CloudSDKCreate SSID Profile 5 GHz WPA - NAT Mode
5642CloudSDKCreate AP Profile - NAT Mode
5542CloudSDKCloudSDK Pushes Correct AP Profile - NAT Mode
5545APAP Applies Correct AP Profile - NAT Mode
5216APClient connects to 2.4 GHz WPA2-EAP - NAT Mode
4325APClient connects to 2.4 GHz WPA2 - NAT Mode
4323APClient connects to 2.4 GHz WPA - NAT Mode
5217APClient connects to 5 GHz WPA2-EAP - NAT Mode
4326APClient connects to 5 GHz WPA2 - NAT Mode
4324APClient connects to 5 GHz WPA - NAT Mode
5656CloudSDKCreate SSID Profile 2.4 GHz WPA2-EAP - Custom VLAN
5657CloudSDKCreate SSID Profile 2.4 GHz WPA2 - Custom VLAN
5658CloudSDKCreate SSID Profile 2.4 GHz WPA - Custom VLAN
5659CloudSDKCreate SSID Profile 5 GHz WPA2-EAP - Custom VLAN
5660CloudSDKCreate SSID Profile 5 GHz WPA2 - Custom VLAN
5661CloudSDKCreate SSID Profile 5 GHz WPA - Custom VLAN
5643CloudSDKCreate AP Profile - Custom VLAN
5543CloudSDKCloudSDK Pushes Correct AP Profile - Custom VLAN
5546APAP Applies Correct AP Profile - Custom VLAN
5253APClient connects to 2.4 GHz WPA2-EAP - Custom VLAN
5251APClient connects to 2.4 GHz WPA2 - Custom VLAN
5252APClient connects to 2.4 GHz WPA - Custom VLAN
5250APClient connects to 5 GHz WPA2-EAP - Custom VLAN
5248APClient connects to 5 GHz WPA2 - Custom VLAN
5249APClient connects to 5 GHz WPA - Custom VLAN
- - \ No newline at end of file diff --git a/tests/templates/ssid_profile_template.json b/tests/templates/ssid_profile_template.json deleted file mode 100644 index 6dae58662..000000000 --- a/tests/templates/ssid_profile_template.json +++ /dev/null @@ -1 +0,0 @@ -{"model_type": "Profile", "id": 28, "customerId": 2, "profileType": "ssid", "name": "NOLA-01-ecw5410-2G_WPA", "details": {"model_type": "SsidConfiguration", "ssid": "ECW5410_2dot4G_WPA", "appliedRadios": ["is2dot4GHz"], "ssidAdminState": "enabled", "secureMode": "wpaPSK", "vlanId": 1, "keyStr": "Connectus123$", "broadcastSsid": "enabled", "keyRefresh": 0, "noLocalSubnets": false, "radiusServiceName": "Radius-Accounting-Profile", "radiusAccountingServiceName": null, "radiusAcountingServiceInterval": null, "captivePortalId": null, "bandwidthLimitDown": 0, "bandwidthLimitUp": 0, "clientBandwidthLimitDown": 0, "clientBandwidthLimitUp": 0, "videoTrafficOnly": false, "radioBasedConfigs": {"is2dot4GHz": {"model_type": "RadioBasedSsidConfiguration", "enable80211r": null, "enable80211k": null, "enable80211v": null}, "is5GHz": {"model_type": "RadioBasedSsidConfiguration", "enable80211r": null, "enable80211k": null, "enable80211v": null}, "is5GHzU": {"model_type": "RadioBasedSsidConfiguration", "enable80211r": null, "enable80211k": null, "enable80211v": null}, "is5GHzL": {"model_type": "RadioBasedSsidConfiguration", "enable80211r": null, "enable80211k": null, "enable80211v": null}}, "bonjourGatewayProfileId": null, "enable80211w": null, "wepConfig": null, "forwardMode": "BRIDGE", "profileType": "ssid"}, "createdTimestamp": 1598557809816, "lastModifiedTimestamp": 1598557809816, "childProfileIds": []} \ No newline at end of file diff --git a/tests/test_24ghz.py b/tests/test_24ghz.py deleted file mode 100644 index fbe6e8686..000000000 --- a/tests/test_24ghz.py +++ /dev/null @@ -1,66 +0,0 @@ -# https://docs.pytest.org/en/latest/example/markers.html -# https://docs.pytest.org/en/latest/usage.html -# http://pythontesting.net/framework/pytest/pytest-introduction/ - -import sys - -import pytest -from time import sleep, gmtime, strftime -from sta_connect2 import StaConnect2 - -@pytest.mark.usefixtures('setup_testrails') -@pytest.mark.usefixtures('setup_cloudsdk') -@pytest.mark.usefixtures('update_firmware') -@pytest.mark.usefixtures('instantiate_testrail') -class Test24ghz(object): - @pytest.mark.client_connectivity - def test_single_client_wpa2(self, setup_testrails, setup_cloudsdk, update_firmware, instantiate_testrail): - lf_config = setup_cloudsdk["lanforge"] - # ap_profile = setup_cloudsdk["ap_object"] - staConnect = StaConnect2(lf_config["ip"], lf_config["port"], debug_=False) - staConnect.sta_mode = 0 - staConnect.upstream_resource = 1 - staConnect.upstream_port = lf_config["eth_port"] - staConnect.radio = lf_config["2g_radio"] - # staConnect.runtime_secs = lf_config["runtime_duration"] - staConnect.resource = 1 - staConnect.dut_ssid = "NOLA-01g-ecw5410-2G_WPA2" - staConnect.dut_passwd = "ecw5410-2G_WPA2" - staConnect.dut_security = "wpa2" - staConnect.station_names = ['sta0000'] - staConnect.bringup_time_sec = 60 - staConnect.cleanup_on_exit = True - staConnect.setup() - staConnect.start() - sleep(staConnect.runtime_secs) - staConnect.stop() - staConnect.cleanup() - - assert staConnect.passes() - if setup_testrails > 0: - instantiate_testrail.update_testrail(case_id=2835, run_id=setup_testrails, status_id=1, msg="testing") - - # @pytest.mark.client_connectivity - # def test_single_client_wpa(self): - # pass - # - # @pytest.mark.client_connectivity - # def test_single_client_eap(self): - # pass - - #@pytest.mark.featureB - #def test_feature_b(self): - # pass - - #@pytest.mark.featureC - #def test_feature_c(self): - # assert 1 == 0 - - #@pytest.mark.featureD - #def test_feature_d(self): - # pytest.skip("speedup") - - #@pytest.mark.xfail - #@pytest.mark.featureE - #def test_feature_e(self): - # assert 1 == 0 diff --git a/tests/test_utility/reporting.py b/tests/test_utility/reporting.py deleted file mode 100644 index 0517fb001..000000000 --- a/tests/test_utility/reporting.py +++ /dev/null @@ -1,46 +0,0 @@ -import os -from datetime import date, datetime -from shutil import copyfile -import json - - -class Reporting: - - def __init__(self, reports_root="../reports/"): - - self.reports_root = reports_root - self.report_id = self.create_report_id() - self.report_path = self.reports_root + self.report_id - self.templates_root = os.path.abspath(self.reports_root + "../templates") - try: - os.mkdir(self.report_path) - print("Successfully created the directory %s " % self.report_path) - except OSError: - print("Creation of the directory %s failed" % self.report_path) - - try: - copyfile(self.templates_root + "/report_template.php", self.report_path + '/report.php') - except: - print("No report template created. Report data will still be saved. Continuing with tests...") - - def create_report_id(self): - today = str(date.today()) - now = str(datetime.now()).split(" ")[1].split(".")[0].replace(":", "-") - id = today + "-" + now - return id - - def update_json_report(self, report_data): - try: - with open(self.report_path + '/report_data.json', 'w') as report_json_file: - json.dump(report_data, report_json_file) - report_json_file.close() - except Exception as e: - print(e) - - -def main(): - Reporting() - - -if __name__ == '__main__': - main() diff --git a/tools/README.md b/tools/README.md deleted file mode 100644 index b6fce0ede..000000000 --- a/tools/README.md +++ /dev/null @@ -1,2 +0,0 @@ -## Tools -Handy tools made by utliziing the cloud and ap libraries diff --git a/tools/USAGE_EXAMPLES.txt b/tools/USAGE_EXAMPLES.txt deleted file mode 100644 index 007bd48a9..000000000 --- a/tools/USAGE_EXAMPLES.txt +++ /dev/null @@ -1,150 +0,0 @@ - - -All of this assumes you are running on some developer system, with ssh tunnels -into the 'ubuntu' jumphost machine. - -ssh -C -L 8800:lf1:4002 -L 8801:lf1:5901 -L 8802:lf1:8080 -L 8803:lab-ctlr:22 \ - -L 8810:lf4:4002 -L 8811:lf4:5901 -L 8812:lf4:8080 -L 8813:lab-ctlr:22 \ - -L 8850:lf5:4002 -L 8851:lf5:5901 -L 8852:lf5:8080 -L 8853:lab-ctlr2:22 \ - -L 8860:lf6:4002 -L 8861:lf6:5901 -L 8862:lf6:8080 -L 8863:lab-ctlr2:22 \ - -L 8870:lf7:4002 -L 8871:lf7:5901 -L 8872:lf7:8080 -L 8873:lab-ctlr2:22 \ - -L 8880:lf8:4002 -L 8881:lf8:5901 -L 8882:lf8:8080 -L 8883:lab-ctlr2:22 \ - -L 8890:lf9:4002 -L 8891:lf9:5901 -L 8892:lf9:8080 -L 8893:lab-ctlr3:22 \ - -L 8900:lf10:4002 -L 8901:lf10:5901 -L 8902:lf10:8080 -L 8903:lab-ctlr3:22 \ - -L 8910:lf11:4002 -L 8911:lf11:5901 -L 8912:lf11:8080 -L 8913:lab-ctlr3:22 \ - -L 8950:lf15:4002 -L 8951:lf15:5901 -L 8952:lf115:8080 -L 8953:lab-ctlr4:22 \ - -L 8820:lf12:4002 -L 8821:lf12:5901 -L 8822:lf12:8080 -L 8823:lab-ctlr4:22 \ - ubuntu@orch - -The ports are used as: - 4002: LANforge GUI connection to LANforge in the testbed. - 5901: VNC connection to LANforge machine. - 8080: LANforge JSON/API connection. - 22: ssh shell access to lab controller - - Each testbed will have a set of 4 ssh tunnels. Some are duplicated since - lab-controllers are shared. I figure a consistent pattern is worth a few - duplicated tunnels. - -Testbed-01 - -# Set AP profile on NOLA-01 -./sdk_set_profile.py --testrail-user-id NONE --model ecw5410 --ap-jumphost-address localhost --ap-jumphost-port 8803 \ - --ap-jumphost-password pumpkin77 --ap-jumphost-tty /dev/ttyAP1 --lanforge-ip-address localhost --lanforge-port-number 8802 \ - --default-ap-profile TipWlan-2-Radios --sdk-base-url https://wlan-portal-svc-nola-01.cicd.lab.wlan.tip.build \ - --skip-radius --skip-wpa --verbose --testbed "NOLA-01" --ssid-5g-wpa2 Default-SSID-5gl --psk-5g-wpa2 12345678 \ - --ssid-2g-wpa2 Default-SSID-2g --psk-2g-wpa2 12345678 --mode bridge - - -./Nightly_Sanity.py --testrail-user-id NONE --model ecw5410 --ap-jumphost-address localhost --ap-jumphost-port 8803 --ap-jumphost-password pumpkin77 --ap-jumphost-tty /dev/ttyAP1 --testbed "NOLA-01r" --lanforge-ip-address localhost --lanforge-port-number 8802 --default_ap_profile TipWlan-2-Radios --lanforge-2g-radio 1.1.wiphy4 --lanforge-5g-radio 1.1.wiphy5 --skip-upgrade True --testrail-milestone milestone-1 --sdk-base-url https://wlan-portal-svc-nola-01.cicd.lab.wlan.tip.build - - -# Set AP profile on NOLA-06 (eap101) -./sdk_set_profile.py --testrail-user-id NONE --model eap101 --ap-jumphost-address localhost --ap-jumphost-port 8863 \ - --ap-jumphost-password pumpkin77 --ap-jumphost-tty /dev/ttyAP2 --lanforge-ip-address localhost --lanforge-port-number 8862 \ - --default-ap-profile TipWlan-2-Radios --sdk-base-url https://wlan-portal-svc-nola-01.cicd.lab.wlan.tip.build \ - --skip-radius --skip-wpa --verbose --testbed "NOLA-06" --ssid-5g-wpa2 Default-SSID-5gl --psk-5g-wpa2 12345678 \ - --ssid-2g-wpa2 Default-SSID-2g --psk-2g-wpa2 12345678 --mode bridge - - -./Nightly_Sanity.py --testrail-user-id NONE --model ecw5410 --ap-jumphost-address localhost --ap-jumphost-port 8803 --ap-jumphost-password pumpkin77 --ap-jumphost-tty /dev/ttyAP1 --testbed "NOLA-01r" --lanforge-ip-address localhost --lanforge-port-number 8802 --default_ap_profile TipWlan-2-Radios --lanforge-2g-radio 1.1.wiphy4 --lanforge-5g-radio 1.1.wiphy5 --skip-upgrade True --testrail-milestone milestone-1 --sdk-base-url https://wlan-portal-svc-nola-01.cicd.lab.wlan.tip.build - - -Testbed-09 (perfecto) - -# Set AP profile (ssid, etc) on 'b' chamber. AP is ttyAP4 -./sdk_set_profile.py --testrail-user-id NONE --model ecw5410 --ap-jumphost-address localhost --ap-jumphost-port 8893 \ - --ap-jumphost-password pumpkin77 --ap-jumphost-tty /dev/ttyAP4 \ - --lanforge-ip-address localhost --lanforge-port-number 8892 \ - --default-ap-profile TipWlan-2-Radios --sdk-base-url https://wlan-portal-svc-nola-01.cicd.lab.wlan.tip.build \ - --skip-radius --skip-wpa --verbose --testbed "NOLA-09b" \ - --ssid-5g-wpa2 Default-SSID-5gl-perfecto-b --psk-5g-wpa2 12345678 \ - --ssid-2g-wpa2 Default-SSID-2g-perfecto-b --psk-2g-wpa2 12345678 --mode bridge - -# Upgrade 'b' chamber AP -./sdk_upgrade_fw.py --testrail-user-id NONE --model ecw5410 --ap-jumphost-address localhost --ap-jumphost-port 8893 \ - --ap-jumphost-password pumpkin77 --ap-jumphost-tty /dev/ttyAP4 --testbed \"NOLA-09b\" \ - --sdk-base-url https://wlan-portal-svc-nola-01.cicd.lab.wlan.tip.build --force-upgrade true - -# Set AP profile (ssid, etc) on 'a' chamber. AP is ttyAP1 -./sdk_set_profile.py --testrail-user-id NONE --model ecw5410 --ap-jumphost-address localhost --ap-jumphost-port 8893 \ - --ap-jumphost-password pumpkin77 --ap-jumphost-tty /dev/ttyAP1 \ - --lanforge-ip-address localhost --lanforge-port-number 8892 \ - --default-ap-profile TipWlan-2-Radios --sdk-base-url https://wlan-portal-svc-nola-01.cicd.lab.wlan.tip.build \ - --skip-radius --skip-wpa --verbose --testbed "NOLA-09a" \ - --ssid-5g-wpa2 Default-SSID-5gl-perfecto --psk-5g-wpa2 12345678 \ - --ssid-2g-wpa2 Default-SSID-2g-perfecto --psk-2g-wpa2 12345678 --mode bridge - -# Upgrade 'a' chamber AP -./sdk_upgrade_fw.py --testrail-user-id NONE --model ecw5410 --ap-jumphost-address localhost --ap-jumphost-port 8893 \ - --ap-jumphost-password pumpkin77 --ap-jumphost-tty /dev/ttyAP1 --testbed \"NOLA-09a\" \ - --sdk-base-url https://wlan-portal-svc-nola-01.cicd.lab.wlan.tip.build --force-upgrade true - - - -Testbed 10 (Advanced setup, 2D turntable chamber plus medium chamber, RF attenuator, etc) - -./sdk_set_profile.py --testrail-user-id NONE --model ecw5410 --ap-jumphost-address localhost --ap-jumphost-port 8903 \ - --ap-jumphost-password pumpkin77 --ap-jumphost-tty /dev/ttyAP2 --lanforge-ip-address localhost --lanforge-port-number 8902 \ - --default-ap-profile TipWlan-2-Radios --sdk-base-url https://wlan-portal-svc-nola-01.cicd.lab.wlan.tip.build \ - --skip-radius --skip-wpa --verbose --testbed "NOLA-10" --ssid-5g-wpa2 Default-SSID-5gl --psk-5g-wpa2 12345678 \ - --ssid-2g-wpa2 Default-SSID-2g --psk-2g-wpa2 12345678 --mode bridge - -# Upgrade AP -./sdk_upgrade_fw.py --testrail-user-id NONE --model ecw5410 --ap-jumphost-address localhost --ap-jumphost-port 8903 \ - --ap-jumphost-password pumpkin77 --ap-jumphost-tty /dev/ttyAP2 --testbed \"NOLA-10\" \ - --sdk-base-url https://wlan-portal-svc-nola-01.cicd.lab.wlan.tip.build --force-upgrade true - - -Testbed 11 (Advanced setup, 2D turntable chamber plus medium chamber, RF attenuator, etc) - -./sdk_set_profile.py --testrail-user-id NONE --model eap102 --ap-jumphost-address localhost --ap-jumphost-port 8913 \ - --ap-jumphost-password pumpkin77 --ap-jumphost-tty /dev/ttyAP3 --lanforge-ip-address localhost --lanforge-port-number 8912 \ - --default-ap-profile TipWlan-2-Radios --sdk-base-url https://wlan-portal-svc-nola-01.cicd.lab.wlan.tip.build \ - --skip-radius --skip-wpa --verbose --testbed "NOLA-11" --ssid-5g-wpa2 Default-SSID-5gl --psk-5g-wpa2 12345678 \ - --ssid-2g-wpa2 Default-SSID-2g --psk-2g-wpa2 12345678 --mode bridge - -# Upgrade AP -./sdk_upgrade_fw.py --testrail-user-id NONE --model eap102 --ap-jumphost-address localhost --ap-jumphost-port 8913 \ - --ap-jumphost-password pumpkin77 --ap-jumphost-tty /dev/ttyAP3 --testbed \"NOLA-11\" \ - --sdk-base-url https://wlan-portal-svc-nola-01.cicd.lab.wlan.tip.build --force-upgrade true - - -Testbed 12 (Basic, wf188n) - -# Upgrade firmware to latest -./sdk_upgrade_fw.py --testrail-user-id NONE --model wf188n --ap-jumphost-address localhost --ap-jumphost-port 8823 \ - --ap-jumphost-password pumpkin77 --ap-jumphost-tty /dev/ttyAP1 --testbed \"NOLA-12\" \ - --sdk-base-url https://wlan-portal-svc-nola-01.cicd.lab.wlan.tip.build --force-upgrade true - -./sdk_set_profile.py --testrail-user-id NONE --model wf188n --ap-jumphost-address localhost --ap-jumphost-port 8823 \ - --ap-jumphost-password pumpkin77 --ap-jumphost-tty /dev/ttyAP1 --lanforge-ip-address localhost --lanforge-port-number 8822 \ - --default-ap-profile TipWlan-2-Radios --sdk-base-url https://wlan-portal-svc-nola-01.cicd.lab.wlan.tip.build \ - --skip-radius --skip-wpa --verbose --testbed "NOLA-12" --ssid-5g-wpa2 Default-SSID-5gl --psk-5g-wpa2 12345678 \ - --ssid-2g-wpa2 Default-SSID-2g --psk-2g-wpa2 12345678 --mode bridge - -# Query an ssid -./query_sdk.py --testrail-user-id NONE --model wf188n --sdk-base-url https://wlan-portal-svc-nola-01.cicd.lab.wlan.tip.build \ - --sdk-user-id support@example.com --sdk-user-password support --equipment_id 3 --type profile --cmd get --object_id 11 - - -Testbed-15 - -# Set AP profile on NOLA-15 (ap-1) -./sdk_set_profile.py --testrail-user-id NONE --model ecw5410 --ap-jumphost-address localhost --ap-jumphost-port 8953 \ - --ap-jumphost-password pumpkin77 --ap-jumphost-tty /dev/ttyAP4 --lanforge-ip-address localhost --lanforge-port-number 8952 \ - --default-ap-profile TipWlan-2-Radios --sdk-base-url https://wlan-portal-svc-nola-15.cicd.lab.wlan.tip.build \ - --skip-radius --skip-wpa --verbose --testbed "NOLA-15" --ssid-5g-wpa2 Default-SSID-5gl --psk-5g-wpa2 12345678 \ - --ssid-2g-wpa2 Default-SSID-2g --psk-2g-wpa2 12345678 --mode bridge - -# Update firmware (ap-1) -./sdk_upgrade_fw.py --testrail-user-id NONE --model ecw5410 --ap-jumphost-address localhost --ap-jumphost-port 8953 \ - --ap-jumphost-password pumpkin77 --ap-jumphost-tty /dev/ttyAP4 --testbed \"NOLA-15\" \ - --sdk-base-url https://wlan-portal-svc-nola-15.cicd.lab.wlan.tip.build --force-upgrade true - -# Set AP profile on NOLA-15 (ap-2, cig194c) -./sdk_set_profile.py --testrail-user-id NONE --model cig194c --ap-jumphost-address localhost --ap-jumphost-port 8953 \ - --ap-jumphost-password pumpkin77 --ap-jumphost-tty /dev/ttyAP5 --lanforge-ip-address localhost --lanforge-port-number 8952 \ - --default-ap-profile TipWlan-2-Radios --sdk-base-url https://wlan-portal-svc-nola-15.cicd.lab.wlan.tip.build \ - --skip-radius --skip-wpa --verbose --testbed "NOLA-15b" --ssid-5g-wpa2 Default-SSID-5gl-cig --psk-5g-wpa2 12345678 \ - --ssid-2g-wpa2 Default-SSID-2g-cig --psk-2g-wpa2 12345678 --mode bridge diff --git a/tools/debug_nola01.sh b/tools/debug_nola01.sh deleted file mode 100755 index 1d9644e0e..000000000 --- a/tools/debug_nola01.sh +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/bash - -# Commands to grab debug info off of NOLA-01. Everything is hard-coded assuming you use -# ssh tunnel in the suggested way. Otherwise, you will need to edit things... - -set -x - -NOLANUM=01 -PORTAL=wlan-portal-svc.cicd.lab.wlan.tip.build -APPORT=8803 -APTTY=/dev/ttyAP1 -MODEL=ecw5410 - -# cloud sdk profile dump -./query_sdk.py --testrail-user-id NONE --model $MODEL --sdk-base-url https://$PORTAL --sdk-user-id support@example.com \ - --sdk-user-password support --type profile --cmd get > /tmp/nola-$NOLANUM-profiles.txt - -# cloud version info -./query_sdk.py --testrail-user-id NONE --model $MODEL --sdk-base-url https://$PORTAL --sdk-user-id support@example.com \ - --sdk-user-password support --type ping > /tmp/nola-$NOLANUM-sdk-ping.txt - -# ovsdb-client dump -./query_ap.py --ap-jumphost-address localhost --ap-jumphost-port $APPORT --ap-jumphost-password pumpkin77 --ap-jumphost-tty $APTTY -m $MODEL --cmd "ovsdb-client dump" > /tmp/nola-$NOLANUM-ap.txt - -# interface info -./query_ap.py --ap-jumphost-address localhost --ap-jumphost-port $APPORT --ap-jumphost-password pumpkin77 --ap-jumphost-tty $APTTY -m $MODEL --cmd "iwinfo && brctl show" > /tmp/nola-$NOLANUM-ap-if.txt - - -# TODO: Add more things here as we learn what better provides debug info to cloud. - -echo "Grab: /tmp/nola-$NOLANUM-profiles.txt /tmp/nola-$NOLANUM-ap.txt /tmp/nola-$NOLANUM-ap-if.txt /tmp/nola-$NOLANUM-sdk-ping.txt" diff --git a/tools/debug_nola12.sh b/tools/debug_nola12.sh deleted file mode 100755 index 648b242ef..000000000 --- a/tools/debug_nola12.sh +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/bash - -# Commands to grab debug info off of NOLA-12. Everything is hard-coded assuming you use -# ssh tunnel in the suggested way. Otherwise, you will need to edit things... - -set -x - -NOLANUM=12 -PORTAL=wlan-portal-svc-ben-testbed.cicd.lab.wlan.tip.build -APPORT=8823 -APTTY=/dev/ttyAP1 -MODEL=wf188n - -# cloud sdk profile dump -./query_sdk.py --testrail-user-id NONE --model $MODEL --sdk-base-url https://$PORTAL --sdk-user-id support@example.com \ - --sdk-user-password support --type profile --cmd get > /tmp/nola-$NOLANUM-profiles.txt - -# cloud version info -./query_sdk.py --testrail-user-id NONE --model $MODEL --sdk-base-url https://$PORTAL --sdk-user-id support@example.com \ - --sdk-user-password support --type ping > /tmp/nola-$NOLANUM-sdk-ping.txt - -# ovsdb-client dump -./query_ap.py --ap-jumphost-address localhost --ap-jumphost-port $APPORT --ap-jumphost-password pumpkin77 --ap-jumphost-tty $APTTY -m $MODEL --cmd "ovsdb-client dump" > /tmp/nola-$NOLANUM-ap.txt - -# interface info -./query_ap.py --ap-jumphost-address localhost --ap-jumphost-port $APPORT --ap-jumphost-password pumpkin77 --ap-jumphost-tty $APTTY -m $MODEL --cmd "iwinfo && brctl show" > /tmp/nola-$NOLANUM-ap-if.txt - - -# TODO: Add more things here as we learn what better provides debug info to cloud. - -echo "Grab: /tmp/nola-$NOLANUM-profiles.txt /tmp/nola-$NOLANUM-ap.txt /tmp/nola-$NOLANUM-ap-if.txt /tmp/nola-$NOLANUM-sdk-ping.txt" diff --git a/tools/logs/README.md b/tools/logs/README.md deleted file mode 100644 index c1d294cb1..000000000 --- a/tools/logs/README.md +++ /dev/null @@ -1 +0,0 @@ -Logs go here, don't commit them! diff --git a/tools/query_ap.py b/tools/query_ap.py deleted file mode 100755 index 2cb44532a..000000000 --- a/tools/query_ap.py +++ /dev/null @@ -1,44 +0,0 @@ -#!/usr/bin/python3 - -# Example command line: -#./query_ap.py --testrail-user-id NONE --model ecw5410 --ap-jumphost-address localhost --ap-jumphost-port 8803 --ap-jumphost-password pumpkin77 --ap-jumphost-tty /dev/ttyAP1 --cmd "ifconfig -a" - -import sys - -sys.path.append(f'../tests') - -from UnitTestBase import * - -parser = argparse.ArgumentParser(description="Query AP", add_help=False) -parser.add_argument("--cmd", type=str, help="Command-line to run on AP", - default = "ifconfig -a") -parser.add_argument("--ap_ssh", type=str, help="ap_ssh method to execute.", - default = None, choices=["get_vif_config", "get_vif_state"]) - -reporting = Reporting(reports_root=os.getcwd() + "/reports/") -base = UnitTestBase("query-ap", parser, reporting) - -cmd = base.command_line_args.cmd - -try: - - if base.command_line_args.ap_ssh != None: - ap_cmd = base.command_line_args.ap_ssh - if ap_cmd == "get_vif_config": - print(get_vif_config(base.command_line_args)) - sys.exit(0) - if ap_cmd == "get_vif_state": - print(get_vif_state(base.command_line_args)) - sys.exit(0) - - print("Un-known ap-ssh method: %s"%(ap_cmd)) - sys.exit(1) - - print("Command: %s"%(cmd)) - rv = ap_ssh_cmd(base.command_line_args, cmd) - print("Command Output:\n%s"%(rv)) - -except Exception as ex: - print(ex) - logging.error(logging.traceback.format_exc()) - print("Failed to execute command on AP") diff --git a/tools/query_sdk.py b/tools/query_sdk.py deleted file mode 100755 index f67feb40e..000000000 --- a/tools/query_sdk.py +++ /dev/null @@ -1,253 +0,0 @@ -#!/usr/bin/python3 - -import sys - -sys.path.append(f'../tests') - -from UnitTestBase import * - -parser = argparse.ArgumentParser(description="Query SDK Objects", add_help=False) -parser.add_argument("--type", type=str, help="Type of thing to query", - choices=['profile', 'customer', 'location', 'equipment', 'portalUser', - 'status', 'client-sessions', 'client-info', 'alarm', 'service-metric', - 'event', 'firmware', 'ping', 'all'], - default = "all") -parser.add_argument("--cmd", type=str, help="Operation to do, default is 'get'", - choices=['get', 'delete', 'child_of'], - default = "get") -parser.add_argument("--brief", type=str, help="Show output in brief mode?", - choices=["true", "false"], - default = "false") - -reporting = Reporting(reports_root=os.getcwd() + "/reports/") - -base = UnitTestBase("query-sdk", parser, reporting) - -qtype = base.command_line_args.type -cmd = base.command_line_args.cmd -brief = False -if base.command_line_args.brief == "true": - brief = True - -def get_profile(url, bearer, cust_id, object_id): - if (object_id == None or object_id.isdigit()): - return base.cloud.get_customer_profiles(url, bearer, cust_id, object_id) - else: - return [base.cloud.get_customer_profile_by_name(url, bearer, cust_id, object_id)] - -if qtype == 'all' or qtype == 'profile': - # Get customer profiles - try: - if cmd == "get": - rv = get_profile(base.cloudSDK_url, base.bearer, base.customer_id, base.command_line_args.object_id) - print("Profiles for customer %s (%i pages):"%(base.customer_id, len(rv))) - #jobj = json.load(ssids) - for r in rv: - if brief: - for p in r['items']: - print("Profile id: %s name: %s type: %s"%(p['id'], p['name'], p['profileType'])) - else: - print(json.dumps(r, indent=4, sort_keys=True)) - - if cmd == "delete": - delid = base.command_line_args.object_id; - if delid.isdigit(): - rv = base.cloud.delete_profile(base.cloudSDK_url, base.bearer, base.command_line_args.object_id) - print("Delete profile for customer %s, id: %s results:"%(base.customer_id, base.command_line_args.object_id)) - print(rv.json()) - else: - # Query object by name to find its ID - targets = get_profile(base.cloudSDK_url, base.bearer, base.customer_id, base.command_line_args.object_id) - for me in targets: - rv = base.cloud.delete_profile(base.cloudSDK_url, base.bearer, str(me['id'])) - print("Delete profile for customer %s, id: %s results:"%(base.customer_id, base.command_line_args.object_id)) - print(rv.json()) - - if cmd == "child_of": - targets = get_profile(base.cloudSDK_url, base.bearer, base.customer_id, base.command_line_args.object_id) - for me in targets: - meid = me['id'] - print("Profiles using profile: %s %s"%(meid, me['name'])) - - # Get all profiles and search - rv = get_profile(base.cloudSDK_url, base.bearer, base.customer_id, None) - #jobj = json.load(ssids) - for r in rv: - for p in r['items']: - #print("profile: %s %s, checking children..."%(p['id'], p['name'])) - if 'childProfileIds' in p: - for child in p['childProfileIds']: - #print("profile: %s %s, checking child: %s my-id: %s"%(p['id'], p['name'], child, meid)) - if child == meid: - print("Used-By: %s %s"%(p['id'], p['name'])) - - except Exception as ex: - print(ex) - logging.error(logging.traceback.format_exc()) - print("Failed to read customer profiles") - -if qtype == 'all' or qtype == 'customer': - try: - rv = base.cloud.get_customer(base.cloudSDK_url, base.bearer, base.customer_id) - print("Customer %s:"%(base.customer_id)) - #jobj = json.load(ssids) - print(json.dumps(rv, indent=4, sort_keys=True)) - except Exception as ex: - print(ex) - logging.error(logging.traceback.format_exc()) - print("Failed to read Customer %i"%(customer_id)) - -if qtype == 'all' or qtype == 'ping': - try: - rv = base.cloud.ping(base.cloudSDK_url, base.bearer) - print("Cloud Ping %s:"%(base.cloudSDK_url)) - #jobj = json.load(ssids) - print(json.dumps(rv, indent=4, sort_keys=True)) - except Exception as ex: - print(ex) - logging.error(logging.traceback.format_exc()) - print("Failed to read Cloud Ping %i"%(base.cloudSDK_url)) - -if qtype == 'all' or qtype == 'firmware': - try: - rv = base.cloud.CloudSDK_images(base.command_line_args.model, base.cloudSDK_url, base.bearer) - print("Firmware for model:", base.command_line_args.model) - #jobj = json.load(ssids) - print(json.dumps(rv, indent=4, sort_keys=True)) - except Exception as ex: - print(ex) - logging.error(logging.traceback.format_exc()) - print("Failed to read Firmware") - -if qtype == 'all' or qtype == 'location': - # Get location info - try: - # NOTE: Could also use base.customer_id to get single one that user may have specified. - rv = base.cloud.get_customer_locations(base.cloudSDK_url, base.bearer, base.customer_id) - print("Locations for customer %s:"%(base.customer_id)) - #jobj = json.load(ssids) - print(json.dumps(rv, indent=4, sort_keys=True)) - except Exception as ex: - print(ex) - logging.error(logging.traceback.format_exc()) - print("Failed to read Customer %s locations"%(base.customer_id)) - -if qtype == 'all' or qtype == 'equipment': - # Get equipment info - try: - if cmd == "get": - rv = base.cloud.get_customer_equipment(base.customer_id) - print("Equipment for customer %s:"%(base.customer_id)) - #jobj = json.load(ssids) - for e in rv: - if brief: - for eq in e['items']: - print("Equipment id: %s inventoryId: %s profileId: %s type: %s"%(eq['id'], eq['inventoryId'], eq['profileId'], eq['equipmentType'])) - else: - print(json.dumps(e, indent=4, sort_keys=True)) - if cmd == "delete": - delid = base.command_line_args.object_id; - rv = base.cloud.delete_equipment(base.cloudSDK_url, base.bearer, base.command_line_args.object_id) - print("Delete Equipment, id: %s results:"%(base.command_line_args.object_id)) - print(rv.json()) - - - except Exception as ex: - print(ex) - logging.error(logging.traceback.format_exc()) - print("Failed to read Customer %s equipment"%(base.customer_id)) - -if qtype == 'all' or qtype == 'portalUser': - # Get portalUser info - try: - rv = base.cloud.get_customer_portal_users(base.cloudSDK_url, base.bearer, base.customer_id) - print("PortalUsers for customer %s:"%(base.customer_id)) - #jobj = json.load(ssids) - for e in rv: - print(json.dumps(e, indent=4, sort_keys=True)) - except Exception as ex: - print(ex) - logging.error(logging.traceback.format_exc()) - print("Failed to read Customer %s portalUsers"%(base.customer_id)) - -if qtype == 'all' or qtype == 'status': - # Get status info - try: - rv = base.cloud.get_customer_status(base.cloudSDK_url, base.bearer, base.customer_id) - print("Status for customer %s:"%(base.customer_id)) - #jobj = json.load(ssids) - for e in rv: - print(json.dumps(e, indent=4, sort_keys=True)) - except Exception as ex: - print(ex) - logging.error(logging.traceback.format_exc()) - print("Failed to read Customer %s status"%(base.customer_id)) - -if qtype == 'all' or qtype == 'client-sessions': - # Get client sessions info - try: - rv = base.cloud.get_customer_client_sessions(base.cloudSDK_url, base.bearer, base.customer_id) - print("Sessions for customer %s:"%(base.customer_id)) - #jobj = json.load(ssids) - for e in rv: - print(json.dumps(e, indent=4, sort_keys=True)) - except Exception as ex: - print(ex) - logging.error(logging.traceback.format_exc()) - print("Failed to read Customer %s sessions"%(base.customer_id)) - -if qtype == 'all' or qtype == 'client-info': - # Get clients info - try: - rv = base.cloud.get_customer_clients(base.cloudSDK_url, base.bearer, base.customer_id) - print("Clients for customer %s:"%(base.customer_id)) - #jobj = json.load(ssids) - for e in rv: - print(json.dumps(e, indent=4, sort_keys=True)) - except Exception as ex: - print(ex) - logging.error(logging.traceback.format_exc()) - print("Failed to read Customer %s clients"%(base.customer_id)) - -if qtype == 'all' or qtype == 'alarm': - # Get alarms info - try: - rv = base.cloud.get_customer_alarms(base.cloudSDK_url, base.bearer, base.customer_id) - print("Alarms for customer %s:"%(base.customer_id)) - #jobj = json.load(ssids) - for e in rv: - print(json.dumps(e, indent=4, sort_keys=True)) - except Exception as ex: - print(ex) - logging.error(logging.traceback.format_exc()) - print("Failed to read Customer %s alarms"%(base.customer_id)) - -if qtype == 'all' or qtype == 'service-metric': - # Get service metrics - try: - fromTime = "0" - toTime = "%i"%(0xFFFFFFFFFFFF) # something past now, units are msec - rv = base.cloud.get_customer_service_metrics(base.cloudSDK_url, base.bearer, base.customer_id, fromTime, toTime) - print("Service Metrics for customer %s:"%(base.customer_id)) - for e in rv: - #jobj = json.load(ssids) - print(json.dumps(e, indent=4, sort_keys=True)) - except Exception as ex: - print(ex) - logging.error(logging.traceback.format_exc()) - print("Failed to read Customer %s service metrics"%(base.customer_id)) - -if qtype == 'all' or qtype == 'event': - # Get system events - try: - fromTime = "0" - toTime = "%i"%(0xFFFFFFFFFFFF) # something past now, units are msec - rv = base.cloud.get_customer_system_events(base.cloudSDK_url, base.bearer, base.customer_id, fromTime, toTime) - #print("System Events for customer %s:"%(base.customer_id)) - #jobj = json.load(ssids) - for e in rv: - print(json.dumps(e, indent=4, sort_keys=True)) - except Exception as ex: - print(ex) - logging.error(logging.traceback.format_exc()) - print("Failed to read Customer %s system events"%(base.customer_id)) diff --git a/tools/sdk_set_profile.py b/tools/sdk_set_profile.py deleted file mode 100755 index 1f622195b..000000000 --- a/tools/sdk_set_profile.py +++ /dev/null @@ -1,219 +0,0 @@ -#!/usr/bin/python3 -u - -# Example to set profile on NOLA-12 testbed: -# ./sdk_set_profile.py --testrail-user-id NONE --model ecw5410 --ap-jumphost-address localhost --ap-jumphost-port 8823 --ap-jumphost-password pumpkin77 \ -# --ap-jumphost-tty /dev/ttyAP1 --testbed "NOLA-12" --lanforge-ip-address localhost --lanforge-port-number 8822 \ -# --default-ap-profile TipWlan-2-Radios --sdk-base-url https://wlan-portal-svc-ben-testbed.cicd.lab.wlan.tip.build --skip-radius - -# Example to set profile on NOLA-01 testbed -# ./sdk_set_profile.py --testrail-user-id NONE --model ecw5410 --ap-jumphost-address localhost --ap-jumphost-port 8803 \ -# --ap-jumphost-password pumpkin77 --ap-jumphost-tty /dev/ttyAP1 --testbed "NOLA-01" --lanforge-ip-address localhost \ -# --lanforge-port-number 8802 --default-ap-profile TipWlan-2-Radios --sdk-base-url https://wlan-portal-svc.cicd.lab.wlan.tip.build \ -# --skip-radius - -import sys - -sys.path.append(f'../tests') - -from UnitTestBase import * -from cloudsdk import CreateAPProfiles - -def main(): - parser = argparse.ArgumentParser(description="SDK Set Profile", add_help=False) - parser.add_argument("--default-ap-profile", type=str, - help="Default AP profile to use as basis for creating new ones, typically: TipWlan-2-Radios or TipWlan-3-Radios", - required=True) - parser.add_argument("--skip-radius", dest="skip_radius", action='store_true', - help="Should we skip the RADIUS configs or not", default=False) - parser.add_argument("--skip-wpa", dest="skip_wpa", action='store_true', - help="Should we skip the WPA ssid or not", default=False) - parser.add_argument("--skip-wpa2", dest="skip_wpa2", action='store_true', - help="Should we skip the WPA2 ssid or not", default=False) - parser.add_argument("--skip-profiles", dest="skip_profiles", action='store_true', - help="Should we skip creating new ssid profiles?", default=False) - parser.add_argument("--cleanup-profile", dest="cleanup_profile", action='store_true', - help="Should we clean up profiles after creating them?", default=False) - - parser.add_argument("--psk-5g-wpa2", dest="psk_5g_wpa2", type=str, - help="Allow over-riding the 5g-wpa2 PSK value.") - parser.add_argument("--psk-5g-wpa", dest="psk_5g_wpa", type=str, - help="Allow over-riding the 5g-wpa PSK value.") - parser.add_argument("--psk-2g-wpa2", dest="psk_2g_wpa2", type=str, - help="Allow over-riding the 2g-wpa2 PSK value.") - parser.add_argument("--psk-2g-wpa", dest="psk_2g_wpa", type=str, - help="Allow over-riding the 2g-wpa PSK value.") - - parser.add_argument("--ssid-5g-wpa2", dest="ssid_5g_wpa2", type=str, - help="Allow over-riding the 5g-wpa2 SSID value.") - parser.add_argument("--ssid-5g-wpa", dest="ssid_5g_wpa", type=str, - help="Allow over-riding the 5g-wpa SSID value.") - parser.add_argument("--ssid-2g-wpa2", dest="ssid_2g_wpa2", type=str, - help="Allow over-riding the 2g-wpa2 SSID value.") - parser.add_argument("--ssid-2g-wpa", dest="ssid_2g_wpa", type=str, - help="Allow over-riding the 2g-wpa SSID value.") - - parser.add_argument("--mode", dest="mode", choices=['bridge', 'nat', 'vlan'], type=str, - help="Mode of AP Profile [bridge/nat/vlan]", required=True) - - parser.add_argument("--sleep-after-profile", dest="sleep", type=int, - help="Enter the sleep interval delay in ms between each profile push. Default is 0", required=False, default=0) - # Not implemented yet. - #parser.add_argument("--rf-mode", type=str, - # choices=["modeN", "modeAC", "modeGN", "modeX", "modeA", "modeB", "modeG", "modeAB"], - # help="Allow over-riding the 2g-wpa SSID value.") - - - reporting = Reporting(reports_root=os.getcwd() + "/reports/") - - base = UnitTestBase("skd-set-profile", parser) - - command_line_args = base.command_line_args - print(command_line_args.mode) - - # cmd line takes precedence over env-vars. - cloudSDK_url = command_line_args.sdk_base_url # was os.getenv('CLOUD_SDK_URL') - local_dir = command_line_args.local_dir # was os.getenv('SANITY_LOG_DIR') - report_path = command_line_args.report_path # was os.getenv('SANITY_REPORT_DIR') - report_template = command_line_args.report_template # was os.getenv('REPORT_TEMPLATE') - - ## TestRail Information - tr_user = command_line_args.testrail_user_id # was os.getenv('TR_USER') - tr_pw = command_line_args.testrail_user_password # was os.getenv('TR_PWD') - milestoneId = command_line_args.milestone # was os.getenv('MILESTONE') - projectId = command_line_args.testrail_project # was os.getenv('PROJECT_ID') - testRunPrefix = command_line_args.testrail_run_prefix # os.getenv('TEST_RUN_PREFIX') - - ##Jfrog credentials - jfrog_user = command_line_args.jfrog_user_id # was os.getenv('JFROG_USER') - jfrog_pwd = command_line_args.jfrog_user_password # was os.getenv('JFROG_PWD') - - ##EAP Credentials - identity = command_line_args.eap_id # was os.getenv('EAP_IDENTITY') - ttls_password = command_line_args.ttls_password # was os.getenv('EAP_PWD') - - ## AP Credentials - ap_username = command_line_args.ap_username # was os.getenv('AP_USER') - - ##LANForge Information - lanforge_ip = command_line_args.lanforge_ip_address - lanforge_port = command_line_args.lanforge_port_number - lanforge_prefix = command_line_args.lanforge_prefix - - build = command_line_args.build_id - - logger = base.logger - hdlr = base.hdlr - - if command_line_args.testbed == None: - print("ERROR: Must specify --testbed argument for this test.") - sys.exit(1) - - client: TestRail_Client = TestRail_Client(command_line_args) - - ###Get Cloud Bearer Token - cloud: CloudSDK = CloudSDK(command_line_args) - bearer = cloud.get_bearer(cloudSDK_url, cloud_type) - - cloud.assert_bad_response = True - - model_id = command_line_args.model - equipment_id = command_line_args.equipment_id - - print("equipment-id: %s" % (equipment_id)) - - if equipment_id == "-1": - eq_id = ap_ssh_ovsh_nodec(command_line_args, 'id') - print("EQ Id: %s" % (eq_id)) - - # Now, query equipment to find something that matches. - eq = cloud.get_customer_equipment(customer_id) - for item in eq: - for e in item['items']: - print(e['id'], " ", e['inventoryId']) - if e['inventoryId'].endswith("_%s" % (eq_id)): - print("Found equipment ID: %s inventoryId: %s" % (e['id'], e['inventoryId'])) - equipment_id = str(e['id']) - - if equipment_id == "-1": - print("ERROR: Could not find equipment-id.") - sys.exit(1) - - ###Get Current AP Firmware and upgrade - try: - ap_cli_info = ssh_cli_active_fw(command_line_args) - ap_cli_fw = ap_cli_info['active_fw'] - except Exception as ex: - print(ex) - logging.error(logging.traceback.format_exc()) - ap_cli_info = "ERROR" - print("FAILED: Cannot Reach AP CLI."); - sys.exit(1) - - fw_model = ap_cli_fw.partition("-")[0] - - print('Current Active AP FW from CLI:', ap_cli_fw) - - # Create Report Folder for Today - today = str(date.today()) - try: - os.mkdir(report_path + today) - except OSError: - print("Creation of the directory %s failed" % report_path) - else: - print("Successfully created the directory %s " % report_path) - - logger.info('Report data can be found here: ' + report_path + today) - - # Get Bearer Token to make sure its valid (long tests can require re-auth) - bearer = cloud.get_bearer(cloudSDK_url, cloud_type) - radius_name = "%s-%s-%s" % (command_line_args.testbed, fw_model, "Radius") - - sleep = command_line_args.sleep - sleep = sleep/1000 - - args = command_line_args - - print("Profiles Created") - - ap_object = CreateAPProfiles(args, cloud=cloud, client=client, fw_model=fw_model, sleep=sleep) - - # Logic to create AP Profiles (Bridge Mode) - - ap_object.set_ssid_psk_data(ssid_2g_wpa=args.ssid_2g_wpa, - ssid_5g_wpa=args.ssid_5g_wpa, - psk_2g_wpa=args.psk_2g_wpa, - psk_5g_wpa=args.psk_5g_wpa, - ssid_2g_wpa2=args.ssid_2g_wpa2, - ssid_5g_wpa2=args.ssid_5g_wpa2, - psk_2g_wpa2=args.psk_2g_wpa2, - psk_5g_wpa2=args.psk_5g_wpa2) - - print(ap_object) - rid = client.get_run_id(test_run_name=args.testrail_run_prefix + fw_model + "_" + today + "_" + "ecw5410-2021-02-12-pending-e8bb466") - print("creating Profiles") - ssid_template = "TipWlan-Cloud-Wifi" - - if not args.skip_profiles: - if not args.skip_radius: - # Radius Profile needs to be set here - radius_name = "Test-Radius-" + str(time.time()).split(".")[0] - radius_template = "templates/radius_profile_template.json" - ap_object.create_radius_profile(radius_name=radius_name, radius_template=radius_template, rid=rid, key=fw_model) - - ap_object.create_ssid_profiles(ssid_template=ssid_template, skip_eap=args.skip_radius, skip_wpa=args.skip_wpa, - skip_wpa2=args.skip_wpa2, mode=args.mode) - - - print("Create AP with equipment-id: ", equipment_id) - time.sleep(sleep) - ap_object.create_ap_profile(eq_id=equipment_id, fw_model=fw_model, mode=args.mode) - ap_object.validate_changes(mode=args.mode) - if args.cleanup_profile: - time.sleep(5) - print("Removing profile...") - ap_object.cleanup_profile(equipment_id=equipment_id) - print("Profiles Created") - - -main() - diff --git a/tools/sdk_upgrade_fw.py b/tools/sdk_upgrade_fw.py deleted file mode 100755 index edaf9c10b..000000000 --- a/tools/sdk_upgrade_fw.py +++ /dev/null @@ -1,183 +0,0 @@ -#!/usr/bin/python3 -u - -# Example to upgrade firmware on NOLA-12 testbed: -""" -./sdk_upgrade_fw.py --testrail-user-id NONE --model wf188n --ap-jumphost-address localhost --ap-jumphost-port 8823 \ - --ap-jumphost-password pumpkin77 --ap-jumphost-tty /dev/ttyAP1 --testbed \"NOLA-12\" \ - --sdk-base-url https://wlan-portal-svc-ben-testbed.cicd.lab.wlan.tip.build --force-upgrade true - - # Use specified firmware image, not just the latest. - ./sdk_upgrade_fw.py --testrail-user-id NONE --model wf188n --ap-jumphost-address localhost --ap-jumphost-port 8823 \ - --ap-jumphost-password pumpkin77 --ap-jumphost-tty /dev/ttyAP1 --testbed \"NOLA-12\" \ - --sdk-base-url https://wlan-portal-svc-ben-testbed.cicd.lab.wlan.tip.build --ap-image wf188n-2021-02-01-pending-686c4df --verbose - -# Example to upgrade fw on NOLA-01 testbed -./sdk_upgrade_fw.py --testrail-user-id NONE --model ecw5410 --ap-jumphost-address localhost --ap-jumphost-port 8803 \ - --ap-jumphost-password pumpkin77 --ap-jumphost-tty /dev/ttyAP1 --testbed \"NOLA-01\" \ - --sdk-base-url https://wlan-portal-svc.cicd.lab.wlan.tip.build --verbose - -""" - -import sys - -sys.path.append(f'../tests') - -from UnitTestBase import * -from JfrogHelper import * -from cloudsdk import CreateAPProfiles - -parser = argparse.ArgumentParser(description="SDK Upgrade Firmware", add_help=False) -parser.add_argument("--ap-image", type=str, - help="Specify an AP image to install. Will use latest found on jfrog if this is not specified.", - default=None) -base = UnitTestBase("sdk-upgrade-fw", parser) - -command_line_args = base.command_line_args - - -# cmd line takes precedence over env-vars. -cloudSDK_url = command_line_args.sdk_base_url # was os.getenv('CLOUD_SDK_URL') -local_dir = command_line_args.local_dir # was os.getenv('SANITY_LOG_DIR') -report_path = command_line_args.report_path # was os.getenv('SANITY_REPORT_DIR') -report_template = command_line_args.report_template # was os.getenv('REPORT_TEMPLATE') - -## TestRail Information -tr_user = command_line_args.testrail_user_id # was os.getenv('TR_USER') -tr_pw = command_line_args.testrail_user_password # was os.getenv('TR_PWD') -milestoneId = command_line_args.milestone # was os.getenv('MILESTONE') -projectId = command_line_args.testrail_project # was os.getenv('PROJECT_ID') -testRunPrefix = command_line_args.testrail_run_prefix # os.getenv('TEST_RUN_PREFIX') - -##Jfrog credentials -jfrog_user = command_line_args.jfrog_user_id # was os.getenv('JFROG_USER') -jfrog_pwd = command_line_args.jfrog_user_password # was os.getenv('JFROG_PWD') - -##EAP Credentials -identity = command_line_args.eap_id # was os.getenv('EAP_IDENTITY') -ttls_password = command_line_args.ttls_password # was os.getenv('EAP_PWD') - -## AP Credentials -ap_username = command_line_args.ap_username # was os.getenv('AP_USER') - -##LANForge Information -lanforge_ip = command_line_args.lanforge_ip_address -lanforge_port = command_line_args.lanforge_port_number -lanforge_prefix = command_line_args.lanforge_prefix - -build = command_line_args.build_id - -logger = base.logger -hdlr = base.hdlr - -client: TestRail_Client = TestRail_Client(command_line_args) -rid = 0 # testrails run-id, not actually supported at the moment. - -###Get Cloud Bearer Token -cloud: CloudSDK = CloudSDK(command_line_args) -bearer = cloud.get_bearer(cloudSDK_url, cloud_type) - -cloud.assert_bad_response = True - -model_id = command_line_args.model -equipment_id = command_line_args.equipment_id - -print("equipment-id: %s"%(equipment_id)) - -if equipment_id == "-1": - eq_id = ap_ssh_ovsh_nodec(command_line_args, 'id') - print("EQ Id: %s"%(eq_id)) - - # Now, query equipment to find something that matches. - eq = cloud.get_customer_equipment(customer_id) - for item in eq: - for e in item['items']: - print(e['id'], " ", e['inventoryId']) - if e['inventoryId'].endswith("_%s"%(eq_id)): - print("Found equipment ID: %s inventoryId: %s"%(e['id'], e['inventoryId'])) - equipment_id = str(e['id']) - -if equipment_id == "-1": - print("ERROR: Could not find equipment-id.") - sys.exit(1) - -###Get Current AP Firmware and upgrade -try: - ap_cli_info = ssh_cli_active_fw(command_line_args) - ap_cli_fw = ap_cli_info['active_fw'] -except Exception as ex: - print(ex) - logging.error(logging.traceback.format_exc()) - ap_cli_info = "ERROR" - print("FAILED: Cannot Reach AP CLI."); - sys.exit(1) - -fw_model = ap_cli_fw.partition("-")[0] -print('Current Active AP FW from CLI:', ap_cli_fw) - -############################################################################ -#################### Create Report ######################################### -############################################################################ - -# Create Report Folder for Today -today = str(date.today()) -try: - os.mkdir(report_path + today) -except OSError: - print("Creation of the directory %s failed" % report_path) -else: - print("Successfully created the directory %s " % report_path) - -logger.info('Report data can be found here: ' + report_path + today) - -###Dictionaries -ap_image = command_line_args.ap_image - -############################################################################ -#################### Jfrog Firmware Check ################################## -############################################################################ - -apModel = model_id -cloudModel = cloud_sdk_models[apModel] -build = command_line_args.build_id # ie, pending - -if not ap_image: - # then get latest from jfrog - Build: GetBuild = GetBuild(jfrog_user, jfrog_pwd, build) - ap_image = Build.get_latest_image(apModel) - -##Get Bearer Token to make sure its valid (long tests can require re-auth) -bearer = cloud.get_bearer(cloudSDK_url, cloud_type) - -print("AP MODEL UNDER TEST IS", model_id) -try: - ap_cli_info = ssh_cli_active_fw(command_line_args) - ap_cli_fw = ap_cli_info['active_fw'] -except Exception as ex: - print(ex) - logging.error(logging.traceback.format_exc()) - ap_cli_info = "ERROR" - print("Cannot Reach AP CLI, will not test this variant"); - sys.exit(1) - -fw_model = ap_cli_fw.partition("-")[0] -print('Current Active AP FW from CLI:', ap_cli_fw) -###Find Latest FW for Current AP Model and Get FW ID - -##Compare Latest and Current AP FW and Upgrade -report_data = None -key = None # model name I think, if we are doing reporting? - -do_upgrade = cloud.should_upgrade_ap_fw(command_line_args.force_upgrade, command_line_args.skip_upgrade, - report_data, ap_image, fw_model, ap_cli_fw, logger, key) - -cloudModel = cloud_sdk_models[model_id] -pf = cloud.do_upgrade_ap_fw(command_line_args, report_data, test_cases, client, - ap_image, cloudModel, model_id, jfrog_user, jfrog_pwd, rid, - customer_id, equipment_id, logger) - -if pf: - sys.exit(0) - -sys.exit(1) - - From 2e8803687e61f5f13bc4fb797c73b85a0f2d5928 Mon Sep 17 00:00:00 2001 From: shivam Date: Wed, 10 Mar 2021 18:10:53 +0530 Subject: [PATCH 25/45] cloudsdk unit tests working Signed-off-by: shivam --- tests/cloudsdk/test_cloud.py | 17 ++++++++++------- tests/conftest.py | 10 +++++++++- 2 files changed, 19 insertions(+), 8 deletions(-) diff --git a/tests/cloudsdk/test_cloud.py b/tests/cloudsdk/test_cloud.py index c39914eb8..73ea3af3d 100644 --- a/tests/cloudsdk/test_cloud.py +++ b/tests/cloudsdk/test_cloud.py @@ -1,26 +1,29 @@ import pytest import sys + if 'cloudsdk' not in sys.path: sys.path.append(f'../../libs/cloudsdk') from cloudsdk import CloudSDK -@pytest.mark.login -class TestLogin: - def test_token_login(self): +@pytest.mark.userfixtures('get_customer_id') +@pytest.mark.userfixtures('get_testbed_name') +@pytest.mark.login +class TestLogin(object): + + def test_token_login(self, get_customer_id, get_testbed_name): try: - obj = CloudSDK(testbed="nola-ext-04", customer_id=2) + obj = CloudSDK(testbed=get_testbed_name, customer_id=get_customer_id) bearer = obj.get_bearer_token() value = bearer._access_token is None except: value = True assert value == False - def test_ping(self): + def test_ping(self, get_customer_id, get_testbed_name): try: - obj = CloudSDK(testbed="nola-ext-04", customer_id=2) + obj = CloudSDK(testbed=get_testbed_name, customer_id=get_customer_id) value = obj.portal_ping() is None except: value = True assert value == False - diff --git a/tests/conftest.py b/tests/conftest.py index 6bef7f3e3..07ba8b4ca 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -76,4 +76,12 @@ def instantiate_cloudsdk(request): @pytest.fixture(scope="session") def instantiate_jFrog(request): - yield "instantiate_jFrog" \ No newline at end of file + yield "instantiate_jFrog" + +@pytest.fixture(scope="session") +def get_customer_id(request): + yield request.config.getini("sdk-customer-id") + +@pytest.fixture(scope="session") +def get_testbed_name(request): + yield request.config.getini("testbed-name") From 0bb98fea08e69e17b5cfeac6df3fd47c815067be Mon Sep 17 00:00:00 2001 From: shivam Date: Thu, 11 Mar 2021 13:11:59 +0530 Subject: [PATCH 26/45] nightly work with pytest started Signed-off-by: shivam --- tests/conftest.py | 3 +++ tests/nightly/test_nightly.py | 22 ++++++++++++++++++++++ tests/pytest.ini | 7 +++++++ 3 files changed, 32 insertions(+) create mode 100644 tests/nightly/test_nightly.py diff --git a/tests/conftest.py b/tests/conftest.py index 07ba8b4ca..8c7032560 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -85,3 +85,6 @@ def get_customer_id(request): @pytest.fixture(scope="session") def get_testbed_name(request): yield request.config.getini("testbed-name") + + + diff --git a/tests/nightly/test_nightly.py b/tests/nightly/test_nightly.py new file mode 100644 index 000000000..8b3973e05 --- /dev/null +++ b/tests/nightly/test_nightly.py @@ -0,0 +1,22 @@ +import pytest + + +@pytest.mark.usefixtures('setup_cloudsdk') +@pytest.mark.usefixtures('update_firmware') +@pytest.mark.nightly +class NightlySanity(object): + + @pytest.mark.nightly_bridge + def test_nightly_bridge(self, setup_cloudsdk, update_firmware): + print(setup_cloudsdk) + assert 1 == 1 + + @pytest.mark.nightly_nat + def test_nightly_nat(self, setup_cloudsdk, update_firmware): + print(setup_cloudsdk) + assert 1 == 1 + + @pytest.mark.nightly_vlan + def test_nightly_vlan(self, setup_cloudsdk, update_firmware): + print(setup_cloudsdk) + assert 1 == 1 diff --git a/tests/pytest.ini b/tests/pytest.ini index d00f79f77..f15470c7f 100644 --- a/tests/pytest.ini +++ b/tests/pytest.ini @@ -1,5 +1,6 @@ [pytest] addopts= --junitxml=test_everything.xml + # jFrog parameters jfrog-base-url=tip.jFrog.io/artifactory/tip-wlan-ap-firmware jfrog-user-id=tip-read @@ -8,11 +9,13 @@ jfrog-user-password=tip-read testbed-name=nola-ext-04 sdk-user-id=support@example.com sdk-user-password=support + # Testrails parameters testrail-base-url=telecominfraproject.testrail.com testrail-project=opsfleet-wlan testrail-user-id=gleb@opsfleet.com testrail-user-password=use_command_line_to_pass_this + # LANforge lanforge-ip-address=localhost lanforge-port-number=8080 @@ -24,6 +27,10 @@ sdk-customer-id=2 markers = login: marks cloudsdk login + nightly_vlan: marks nightly vlan cases + nightly: marks nightly sanity cases + nightly_bridge: marks nightly bridge cases + nightly_nat: marks nightly nat cases UHF: marks tests as using 2.4 ghz frequency SHF: marks tests as using 5.0 ghz frequency open: marks tests as using no security From 48b35b43b29c8aa206aaecb13062e2c85ba4befb Mon Sep 17 00:00:00 2001 From: Gleb Boushev Date: Thu, 11 Mar 2021 11:20:45 +0300 Subject: [PATCH 27/45] moving supporting files to the new pytest location --- {libs/cloudsdk => tests}/README.md | 0 {libs/cloudsdk => tests}/dockerfile | 0 {libs/cloudsdk => tests}/dockerfile-lint | 0 {libs/cloudsdk => tests}/requirements.txt | 0 4 files changed, 0 insertions(+), 0 deletions(-) rename {libs/cloudsdk => tests}/README.md (100%) rename {libs/cloudsdk => tests}/dockerfile (100%) rename {libs/cloudsdk => tests}/dockerfile-lint (100%) rename {libs/cloudsdk => tests}/requirements.txt (100%) diff --git a/libs/cloudsdk/README.md b/tests/README.md similarity index 100% rename from libs/cloudsdk/README.md rename to tests/README.md diff --git a/libs/cloudsdk/dockerfile b/tests/dockerfile similarity index 100% rename from libs/cloudsdk/dockerfile rename to tests/dockerfile diff --git a/libs/cloudsdk/dockerfile-lint b/tests/dockerfile-lint similarity index 100% rename from libs/cloudsdk/dockerfile-lint rename to tests/dockerfile-lint diff --git a/libs/cloudsdk/requirements.txt b/tests/requirements.txt similarity index 100% rename from libs/cloudsdk/requirements.txt rename to tests/requirements.txt From c480b7ffdc8fdf8615bdbfd1c5ab411a6993628f Mon Sep 17 00:00:00 2001 From: shivam Date: Thu, 11 Mar 2021 14:14:32 +0530 Subject: [PATCH 28/45] added test profiles for cloudsdk unit tests Signed-off-by: shivam --- tests/cloudsdk/test_cloud.py | 63 +++++++++++++++++++++++++++++++++++ tests/nightly/test_nightly.py | 8 ++++- 2 files changed, 70 insertions(+), 1 deletion(-) diff --git a/tests/cloudsdk/test_cloud.py b/tests/cloudsdk/test_cloud.py index 73ea3af3d..1eb65e95f 100644 --- a/tests/cloudsdk/test_cloud.py +++ b/tests/cloudsdk/test_cloud.py @@ -27,3 +27,66 @@ class TestLogin(object): except: value = True assert value == False + + +@pytest.mark.userfixtures('get_customer_id') +@pytest.mark.userfixtures('get_testbed_name') +@pytest.mark.profiles +class TestProfiles(object): + + @pytest.mark.profile_open_bridge + def test_open_bridge(self): + pass + + @pytest.mark.profile_open_nat + def test_open_nat(self): + pass + + @pytest.mark.profile_open_vlan + def test_open_vlan(self): + pass + + def test_wpa_bridge(self): + pass + + def test_wpa_nat(self): + pass + + def test_wpa_vlan(self): + pass + + def test_wpa2_personal_bridge(self): + pass + + def test_wpa2_personal_nat(self): + pass + + def test_wpa2_personal_vlan(self): + pass + + def test_wpa2_enterprise_bridge(self): + pass + + def test_wpa2_enterprise_nat(self): + pass + + def test_wpa2_enterprise_vlan(self): + pass + + def test_wpa3_personal_bridge(self): + pass + + def test_wpa3_personal_nat(self): + pass + + def test_wpa3_personal_vlan(self): + pass + + def test_wpa3_enterprise_bridge(self): + pass + + def test_wpa3_enterprise_nat(self): + pass + + def test_wpa3_enterprise_vlan(self): + pass diff --git a/tests/nightly/test_nightly.py b/tests/nightly/test_nightly.py index 8b3973e05..4189568e5 100644 --- a/tests/nightly/test_nightly.py +++ b/tests/nightly/test_nightly.py @@ -4,18 +4,24 @@ import pytest @pytest.mark.usefixtures('setup_cloudsdk') @pytest.mark.usefixtures('update_firmware') @pytest.mark.nightly -class NightlySanity(object): +class TestNightly(object): + @pytest.mark.usefixtures('setup_cloudsdk') + @pytest.mark.usefixtures('update_firmware') @pytest.mark.nightly_bridge def test_nightly_bridge(self, setup_cloudsdk, update_firmware): print(setup_cloudsdk) assert 1 == 1 + @pytest.mark.usefixtures('setup_cloudsdk') + @pytest.mark.usefixtures('update_firmware') @pytest.mark.nightly_nat def test_nightly_nat(self, setup_cloudsdk, update_firmware): print(setup_cloudsdk) assert 1 == 1 + @pytest.mark.usefixtures('setup_cloudsdk') + @pytest.mark.usefixtures('update_firmware') @pytest.mark.nightly_vlan def test_nightly_vlan(self, setup_cloudsdk, update_firmware): print(setup_cloudsdk) From 8ae9e3da73eb9b3572513e08c2acdd3f6a50b123 Mon Sep 17 00:00:00 2001 From: shivam Date: Thu, 11 Mar 2021 14:23:37 +0530 Subject: [PATCH 29/45] added test_generic that can run pytest Signed-off-by: shivam --- tests/2.4ghz/test_generic.py | 40 ++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 tests/2.4ghz/test_generic.py diff --git a/tests/2.4ghz/test_generic.py b/tests/2.4ghz/test_generic.py new file mode 100644 index 000000000..6fa81b08d --- /dev/null +++ b/tests/2.4ghz/test_generic.py @@ -0,0 +1,40 @@ +import pytest + +@pytest.mark.usefixtures('setup_cloudsdk') +@pytest.mark.usefixtures('update_firmware') +@pytest.mark.UHF # example of a class mark +class Test24ghz(object): + @pytest.mark.wpa2 + def test_single_client_wpa2(self, setup_cloudsdk, update_firmware): + print(setup_cloudsdk) + assert 1 == 1 + + @pytest.mark.open + def test_single_client_open(self, setup_cloudsdk, update_firmware): + print(setup_cloudsdk) + assert 1 == 1 + +@pytest.mark.usefixtures('setup_cloudsdk') +@pytest.mark.usefixtures('update_firmware') +@pytest.mark.SHF # example of a class mark +class Test50ghz(object): + @pytest.mark.wpa2 + def test_single_client_wpa2(self, setup_cloudsdk, update_firmware): + print(setup_cloudsdk) + assert 1 == 0 + + @pytest.mark.open + def test_single_client_open(self, setup_cloudsdk, update_firmware): + print(setup_cloudsdk) + assert 1 == 0 + + + + + + + + + + + From 42671838fd774ee7587bf0185d8ff18799dfc563 Mon Sep 17 00:00:00 2001 From: shivam Date: Mon, 15 Mar 2021 16:39:22 +0530 Subject: [PATCH 30/45] Updated APNOS library, restructured the pytest directory structures Signed-off-by: shivam --- libs/apnos/apnos.py | 77 ++++++ tests/ap_tests/README.md | 2 + tests/client_connectivity/test_bridge_mode.py | 38 +++ tests/client_connectivity/test_nat_mode.py | 17 ++ tests/client_connectivity/test_vlan_mode.py | 17 ++ .../test_cloud.py | 39 ++- tests/configuration_data.py | 48 +++- tests/conftest.py | 252 +++++++++++++++++- tests/nightly/test_nightly.py | 28 -- tests/pytest.ini | 15 ++ 10 files changed, 483 insertions(+), 50 deletions(-) create mode 100644 libs/apnos/apnos.py create mode 100644 tests/ap_tests/README.md create mode 100644 tests/client_connectivity/test_bridge_mode.py create mode 100644 tests/client_connectivity/test_nat_mode.py create mode 100644 tests/client_connectivity/test_vlan_mode.py rename tests/{cloudsdk => cloudsdk_tests}/test_cloud.py (70%) delete mode 100644 tests/nightly/test_nightly.py diff --git a/libs/apnos/apnos.py b/libs/apnos/apnos.py new file mode 100644 index 000000000..83658dc5c --- /dev/null +++ b/libs/apnos/apnos.py @@ -0,0 +1,77 @@ +import paramiko + +class APNOS: + + def __init__(self, jumphost_cred=None): + self.owrt_args = "--prompt root@OpenAp -s serial --log stdout --user root --passwd openwifi" + if jumphost_cred is None: + exit() + self.jumphost_ip = jumphost_cred['jumphost_ip'] # "192.168.200.80" + self.jumphost_username =jumphost_cred['jumphost_username'] # "lanforge" + self.jumphost_password = jumphost_cred['jumphost_password'] # "lanforge" + self.jumphost_port = jumphost_cred['jumphost_port'] # 22 + + + def ssh_cli_connect(self): + client = paramiko.SSHClient() + client.set_missing_host_key_policy(paramiko.AutoAddPolicy()) + print("Connecting to jumphost: %s@%s:%s with password: %s" % ( + self.jumphost_username, self.jumphost_ip, self.jumphost_port, self.jumphost_password)) + client.connect(self.jumphost_ip, username=self.jumphost_username, password=self.jumphost_password, + port=self.jumphost_port, timeout=10) + + return client + + + def iwinfo_status(self): + client = self.ssh_cli_connect() + cmd = "cd %s/lanforge/lanforge-scripts/ && ./openwrt_ctl.py %s -t %s --action cmd --value \"%s\"" % ( + '/home', self.owrt_args, '/dev/ttyAP1', 'iwinfo') + stdin, stdout, stderr = client.exec_command(cmd) + output = stdout.read() + client.close() + return output + + + def get_vif_config(self): + client = self.ssh_cli_connect() + cmd = "cd %s/lanforge/lanforge-scripts/ && ./openwrt_ctl.py %s -t %s --action cmd --value \"%s\"" % ( + '/home', self.owrt_args, '/dev/ttyAP1', "/usr/opensync/bin/ovsh s Wifi_VIF_Config -c") + stdin, stdout, stderr = client.exec_command(cmd) + output = stdout.read() + client.close() + return output + + + def get_vif_state(self): + client = self.ssh_cli_connect() + cmd = "cd %s/lanforge/lanforge-scripts/ && ./openwrt_ctl.py %s -t %s --action cmd --value \"%s\"" % ( + '/home', self.owrt_args, '/dev/ttyAP1', "/usr/opensync/bin/ovsh s Wifi_VIF_State -c") + stdin, stdout, stderr = client.exec_command(cmd) + output = stdout.read() + client.close() + return output + + + def get_vif_config_ssids(self): + stdout = self.get_vif_config() + ssid_list = [] + for i in stdout.splitlines(): + ssid = str(i).replace(" ", "").split(".") + if ssid[0].split(":")[0] == "b'ssid": + ssid_list.append(ssid[0].split(":")[1].replace("'", "")) + return ssid_list + + + def get_vif_state_ssids(self): + stdout = self.get_vif_state() + ssid_list = [] + for i in stdout.splitlines(): + ssid = str(i).replace(" ", "").split(".") + if ssid[0].split(":")[0] == "b'ssid": + ssid_list.append(ssid[0].split(":")[1].replace("'", "")) + return ssid_list + + +# print(get_vif_config_ssids()) +# print(get_vif_state_ssids()) diff --git a/tests/ap_tests/README.md b/tests/ap_tests/README.md new file mode 100644 index 000000000..bff12e0ee --- /dev/null +++ b/tests/ap_tests/README.md @@ -0,0 +1,2 @@ +## APNOS Test Cases +his directory contains all the test cases related to the APNOS \ No newline at end of file diff --git a/tests/client_connectivity/test_bridge_mode.py b/tests/client_connectivity/test_bridge_mode.py new file mode 100644 index 000000000..3ea6f9b5c --- /dev/null +++ b/tests/client_connectivity/test_bridge_mode.py @@ -0,0 +1,38 @@ +import pytest + +@pytest.mark.usefixtures('setup_cloudsdk') +@pytest.mark.usefixtures('update_firmware') +@pytest.mark.bridge_mode_client_connectivity +class TestBridgeModeClientConnectivity(object): + + @pytest.mark.bridge_mode_single_client_connectivity + @pytest.mark.nightly + @pytest.mark.nightly_bridge + def test_single_client(self, setup_cloudsdk, update_firmware, setup_bridge_profile, disconnect_cloudsdk): + assert setup_cloudsdk != -1 + + @pytest.mark.bridge_mode_multi_client_connectivity + def test_multi_client(self): + pass + + +# """ +# Bridge mode: +# testbed name, customer_id, equipment_id, jfrog-credentials, cloudsdk_tests-credentials, skip-open, skip-wpa, skip-wpa2, skip-radius +# Create a CloudSDK Instance and verify login +# Get Equipment by Id +# upgrade firmware if not latest +# create bridge mode ssid's +# LANforge Tests +# +# NAT mode: +# +# """ +# """ +# +# Cloudsdk and AP Test cases are seperate +# +# Bridge Mode: +# WPA, WPA2-PERSONAL, WPA2-ENTERPRISE +# 2.4/5, 2.4/5, 2.4/5 +# """ \ No newline at end of file diff --git a/tests/client_connectivity/test_nat_mode.py b/tests/client_connectivity/test_nat_mode.py new file mode 100644 index 000000000..c752dff54 --- /dev/null +++ b/tests/client_connectivity/test_nat_mode.py @@ -0,0 +1,17 @@ +import pytest + +@pytest.mark.usefixtures('setup_cloudsdk') +@pytest.mark.usefixtures('update_firmware') +@pytest.mark.nat_mode_client_connectivity +class TestNATModeClientConnectivity(object): + + @pytest.mark.nat_mode_single_client_connectivity + @pytest.mark.nightly + @pytest.mark.nightly_nat + def test_single_client(self, setup_cloudsdk, update_firmware, setup_bridge_profile, disconnect_cloudsdk): + assert setup_cloudsdk != -1 + + @pytest.mark.nat_mode_multi_client_connectivity + def test_multi_client(self): + pass + diff --git a/tests/client_connectivity/test_vlan_mode.py b/tests/client_connectivity/test_vlan_mode.py new file mode 100644 index 000000000..3171cbcf2 --- /dev/null +++ b/tests/client_connectivity/test_vlan_mode.py @@ -0,0 +1,17 @@ +import pytest + +@pytest.mark.usefixtures('setup_cloudsdk') +@pytest.mark.usefixtures('update_firmware') +@pytest.mark.vlan_mode_client_connectivity +class TestVLANModeClientConnectivity(object): + + @pytest.mark.vlan_mode_single_client_connectivity + @pytest.mark.nightly + @pytest.mark.nightly_vlan + def test_single_client(self, setup_cloudsdk, update_firmware, setup_bridge_profile, disconnect_cloudsdk): + assert setup_cloudsdk != -1 + + @pytest.mark.vlan_mode_multi_client_connectivity + def test_multi_client(self): + pass + diff --git a/tests/cloudsdk/test_cloud.py b/tests/cloudsdk_tests/test_cloud.py similarity index 70% rename from tests/cloudsdk/test_cloud.py rename to tests/cloudsdk_tests/test_cloud.py index 1eb65e95f..8532ac080 100644 --- a/tests/cloudsdk/test_cloud.py +++ b/tests/cloudsdk_tests/test_cloud.py @@ -1,7 +1,7 @@ import pytest import sys -if 'cloudsdk' not in sys.path: +if 'cloudsdk_tests' not in sys.path: sys.path.append(f'../../libs/cloudsdk') from cloudsdk import CloudSDK @@ -31,62 +31,89 @@ class TestLogin(object): @pytest.mark.userfixtures('get_customer_id') @pytest.mark.userfixtures('get_testbed_name') -@pytest.mark.profiles -class TestProfiles(object): +@pytest.mark.ssid_profiles +class TestSSIDProfiles(object): - @pytest.mark.profile_open_bridge + @pytest.mark.ssid_open_bridge def test_open_bridge(self): pass - @pytest.mark.profile_open_nat + @pytest.mark.ssid_open_nat def test_open_nat(self): pass - @pytest.mark.profile_open_vlan + @pytest.mark.ssid_open_vlan def test_open_vlan(self): pass + @pytest.mark.ssid_open_vlan def test_wpa_bridge(self): pass + @pytest.mark.ssid_open_vlan def test_wpa_nat(self): pass + @pytest.mark.ssid_open_vlan def test_wpa_vlan(self): pass + @pytest.mark.ssid_open_vlan def test_wpa2_personal_bridge(self): pass + @pytest.mark.ssid_open_vlan def test_wpa2_personal_nat(self): pass + @pytest.mark.ssid_open_vlan def test_wpa2_personal_vlan(self): pass + @pytest.mark.ssid_open_vlan def test_wpa2_enterprise_bridge(self): pass + @pytest.mark.ssid_open_vlan def test_wpa2_enterprise_nat(self): pass + @pytest.mark.ssid_open_vlan def test_wpa2_enterprise_vlan(self): pass + @pytest.mark.ssid_open_vlan def test_wpa3_personal_bridge(self): pass + @pytest.mark.ssid_open_vlan def test_wpa3_personal_nat(self): pass + @pytest.mark.ssid_open_vlan def test_wpa3_personal_vlan(self): pass + @pytest.mark.ssid_open_vlan def test_wpa3_enterprise_bridge(self): pass + @pytest.mark.ssid_open_vlan def test_wpa3_enterprise_nat(self): pass + @pytest.mark.ssid_wpa3_vlan def test_wpa3_enterprise_vlan(self): pass + + +class TestEquipmentAPProfile(object): + + def test_equipment_ap_profile_creation(self): + pass + + + + + + diff --git a/tests/configuration_data.py b/tests/configuration_data.py index 2e652c3d4..d2f43517f 100644 --- a/tests/configuration_data.py +++ b/tests/configuration_data.py @@ -3,15 +3,43 @@ """ PROFILE_DATA = { - "test_single_client_wpa2": { - "profile_name": "test-ssid-wpa2", - "ssid_name": "test_wpa2_test", - "mode": "BRIDGE", - "security_key": "testing12345" + "OPEN": { + "2G": { + + }, + "5G": { + + } }, - "test_single_client_open": { - "profile_name": "test-ssid-open", - "ssid_name": "test_open", - "mode": "BRIDGE" + "WPA": { + "2G": { + + }, + "5G": { + + } + }, + "WPA2-PERSONAL": { + "2G": { + + }, + "5G": { + + } + }, + "WPA2-ENTERPRISE": { + "2G": { + + }, + "5G": { + + } } -} \ No newline at end of file +} + +APNOS_CREDENTIAL_DATA = { + 'jumphost_ip': "192.168.200.80", + 'jumphost_username': "lanforge", + 'jumphost_password': "lanforge", + 'jumphost_port': 22 +} diff --git a/tests/conftest.py b/tests/conftest.py index 8c7032560..97fac5cf3 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -7,6 +7,15 @@ sys.path.append( ) ) + +if 'cloudsdk' not in sys.path: + sys.path.append(f'../libs/cloudsdk') +if 'apnos' not in sys.path: + sys.path.append(f'../libs/apnos') + +from apnos import APNOS +from cloudsdk import CloudSDK +from cloudsdk import ProfileUtility import pytest from configuration_data import PROFILE_DATA @@ -14,20 +23,35 @@ def pytest_addoption(parser): parser.addini("jfrog-base-url", "jfrog base url") parser.addini("jfrog-user-id", "jfrog username") parser.addini("jfrog-user-password", "jfrog password") + parser.addini("testbed-name", "cloud sdk base url") + parser.addini("sdk-user-id", "cloud sdk username") parser.addini("sdk-user-password", "cloud sdk user password") + parser.addini("sdk-customer-id", "cloud sdk customer id for the access points") + parser.addini("sdk-equipment-id", "cloud sdk customer id for the access points") + parser.addini("testrail-base-url", "testrail base url") parser.addini("testrail-project", "testrail project name to use to generate test reports") parser.addini("testrail-user-id", "testrail username") parser.addini("testrail-user-password", "testrail user password") + parser.addini("lanforge-ip-address", "LANforge ip address to connect to") parser.addini("lanforge-port-number", "LANforge port number to connect to") parser.addini("lanforge-radio", "LANforge radio to use") parser.addini("lanforge-ethernet-port", "LANforge ethernet adapter to use") - # change behaviour + parser.addini("jumphost_ip", "APNOS Jumphost IP Address") + parser.addini("jumphost_username", "APNOS Jumphost Username") + parser.addini("jumphost_password", "APNOS Jumphost password") + parser.addini("jumphost_port", "APNOS Jumphost ssh Port") + + parser.addini("skip-open", "skip open ssid mode") + parser.addini("skip-wpa", "skip wpa ssid mode") + parser.addini("skip-wpa2", "skip wpa2 ssid mode") + parser.addini("skip-eap", "skip eap ssid mode") + # change behaviour parser.addoption( "--skip-update-firmware", action="store_true", @@ -53,10 +77,11 @@ def pytest_unconfigure(config): @pytest.fixture(scope="function") def setup_cloudsdk(request, instantiate_cloudsdk): - def fin(): - print(f"Cloud SDK cleanup for {request.node.originalname}") - request.addfinalizer(fin) - yield PROFILE_DATA[request.node.originalname] + equipment_id = instantiate_cloudsdk.validate_equipment_availability(equipment_id=int(request.config.getini("sdk-equipment-id"))) + if equipment_id == -1: + yield -1 + else: + yield equipment_id @pytest.fixture(scope="session") def update_firmware(request, instantiate_jFrog, instantiate_cloudsdk, retrieve_latest_image, access_points): @@ -72,10 +97,12 @@ def retrieve_latest_image(request, access_points): @pytest.fixture(scope="session") def instantiate_cloudsdk(request): - yield "instantiate_cloudsdk" + sdk_client = CloudSDK(testbed=request.config.getini("testbed-name"), customer_id=request.config.getini("sdk-customer-id")) + yield sdk_client @pytest.fixture(scope="session") def instantiate_jFrog(request): + yield "instantiate_jFrog" @pytest.fixture(scope="session") @@ -86,5 +113,218 @@ def get_customer_id(request): def get_testbed_name(request): yield request.config.getini("testbed-name") +@pytest.fixture(scope="session") +def get_equipment_model(request, instantiate_cloudsdk): + yield request.config.getini("testbed-name") + +@pytest.fixture(scope="session") +def get_current_firmware(request, instantiate_cloudsdk, get_equipment_model): + yield request.config.getini("testbed-name") + +@pytest.fixture(scope="session") +def get_latest_firmware(request, instantiate_cloudsdk, get_equipment_model): + yield request.config.getini("testbed-name") + +@pytest.fixture(scope="function") +def disconnect_cloudsdk(instantiate_cloudsdk): + instantiate_cloudsdk.disconnect_cloudsdk() + +@pytest.fixture(scope="function") +def setup_bridge_mode(request, instantiate_cloudsdk, setup_profile_data, create_bridge_profile): + # vif config and vif state logic here + APNOS_CREDENTIAL_DATA = { + 'jumphost_ip': request.config.getini("jumphost_ip"), + 'jumphost_username': request.config.getini("jumphost_username"), + 'jumphost_password': request.config.getini("jumphost_password"), + 'jumphost_port': request.config.getini("jumphost_port") + } + obj = APNOS(APNOS_CREDENTIAL_DATA) + obj.get_vif_config_ssids() + condition = "" + if condition: # Condition that matches the vif config data with pushed profile data + yield True + else: + yield False + +@pytest.fixture(scope="function") +def setup_profile_data(request, setup_profile_data): + # logic to setup bridge mode ssid and parameters + pass + +@pytest.fixture(scope="function") +def create_bridge_profile(request, instantiate_cloudsdk, get_testbed_name): + # SSID and AP name shall be used as testbed_name and mode + profile_object = ProfileUtility(sdk_client=instantiate_cloudsdk) + profile_object.get_default_profiles() + profile_object.set_rf_profile() + if request.config.getini("skip-open") == 'False': + profile_data = { + "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '2G_O_BR'), + "ssid_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '2G_O_BR'), + "mode": "BRIDGE" + } + profile_object.create_open_ssid_profile(profile_data=profile_data, fiveg=False) + profile_data = { + "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '5G_O_BR'), + "ssid_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '5G_O_BR'), + "mode": "BRIDGE" + } + profile_object.create_open_ssid_profile(profile_data=profile_data, two4g=False) + # Create an open ssid profile + if request.config.getini("skip-wpa") == 'False': + profile_data = { + "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '2G_WPA_BR'), + "ssid_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '2G_WPA_BR'), + "mode": "BRIDGE", + "security_key": "%s-%s" % ("ecw5410", "2G_WPA_BR") + } + profile_object.create_wpa_ssid_profile(profile_data=profile_data, fiveg=False) + profile_data = { + "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '5G_WPA_BR'), + "ssid_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '5G_WPA_BR'), + "mode": "BRIDGE", + "security_key": "%s-%s" % ("ecw5410", "5G_WPA_BR") + } + profile_object.create_wpa_ssid_profile(profile_data=profile_data, two4g=False) + # Create a wpa profile + pass + if request.config.getini("skip-wpa2") == 'False': + profile_data = { + "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '5G_WPA2_BR'), + "ssid_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '5G_WPA2_BR'), + "mode": "BRIDGE", + "security_key": "%s-%s" % ("ecw5410", "5G_WPA2_BR") + } + profile_object.create_wpa2_personal_ssid_profile(profile_data=profile_data, fiveg=False) + profile_data = { + "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '2G_WPA2_BR'), + "ssid_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '2G_WPA2_BR'), + "mode": "BRIDGE", + "security_key": "%s-%s" % ("ecw5410", "2G_WPA2_BR") + } + profile_object.create_wpa2_personal_ssid_profile(profile_data=profile_data, two4g=False) + # Create a wpa2 profile + pass + if request.config.getini("skip-eap") == 'False': + radius_info = { + "name": request.config.getini("testbed-name") + "-RADIUS-Nightly", + "ip": "192.168.200.75", + "port": 1812, + "secret": "testing123" + } + # create a eap profile + pass + profile_data = { + "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", 'BRIDGE'), + } + profile_object.set_ap_profile(profile_data=profile_data) + profile_object.push_profile_old_method(equipment_id='13') + # create an equipment ap profile + yield profile_object + +@pytest.fixture(scope="function") +def setup_nat_profile(request, instantiate_cloudsdk, get_testbed_name): + # SSID and AP name shall be used as testbed_name and mode + profile_object = ProfileUtility(sdk_client=instantiate_cloudsdk) + profile_object.get_default_profiles() + profile_object.set_rf_profile() + if request.config.getini("skip-open") == 'False': + profile_data = { + "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '2G_O_NAT'), + "ssid_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '2G_O_NAT'), + "mode": "NAT" + } + profile_object.create_open_ssid_profile(profile_data=profile_data, fiveg=False) + profile_data = { + "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '5G_O_NAT'), + "ssid_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '5G_O_NAT'), + "mode": "NAT" + } + profile_object.create_open_ssid_profile(profile_data=profile_data, two4g=False) + # Create an open ssid profile + if request.config.getini("skip-wpa") == 'False': + profile_data = { + "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '2G_WPA_NAT'), + "ssid_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '2G_WPA_NAT'), + "mode": "NAT", + "security_key": "%s-%s" % ("ecw5410", "2G_WPA_NAT") + } + profile_object.create_wpa_ssid_profile(profile_data=profile_data, fiveg=False) + profile_data = { + "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '5G_WPA_NAT'), + "ssid_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '5G_WPA_NAT'), + "mode": "NAT", + "security_key": "%s-%s" % ("ecw5410", "5G_WPA_NAT") + } + profile_object.create_wpa_ssid_profile(profile_data=profile_data, two4g=False) + # Create a wpa profile + pass + if request.config.getini("skip-wpa2") == 'False': + profile_data = { + "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '5G_WPA2_NAT'), + "ssid_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '5G_WPA2_NAT'), + "mode": "NAT", + "security_key": "%s-%s" % ("ecw5410", "5G_WPA2_NAT") + } + profile_object.create_wpa2_personal_ssid_profile(profile_data=profile_data, fiveg=False) + profile_data = { + "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '2G_WPA2_NAT'), + "ssid_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '2G_WPA2_NAT'), + "mode": "NAT", + "security_key": "%s-%s" % ("ecw5410", "2G_WPA2_NAT") + } + profile_object.create_wpa2_personal_ssid_profile(profile_data=profile_data, two4g=False) + # Create a wpa2 profile + pass + if request.config.getini("skip-eap") == 'False': + radius_info = { + "name": get_testbed_name + "-RADIUS-Nightly", + "ip": "192.168.200.75", + "port": 1812, + "secret": "testing123" + } + # create a eap profile + pass + profile_data = { + "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", 'NAT'), + } + profile_object.set_ap_profile(profile_data=profile_data) + profile_object.push_profile_old_method(equipment_id='13') + # create an equipment ap profile + yield profile_object + +@pytest.fixture(scope="function") +def setup_vlan_profile(request, instantiate_cloudsdk): + # SSID and AP name shall be used as testbed_name and mode + profile_object = ProfileUtility(sdk_client=instantiate_cloudsdk) + # profile_object.select_rf_profile(profile_data=None) + if request.config.getini("skip-open") is False: + # Create an open ssid profile + pass + if request.config.getini("skip-wpa") is False: + # Create a wpa profile + pass + if request.config.getini("skip-wpa2") is False: + # Create a wpa2 profile + pass + if request.config.getini("skip-eap") is False: + # create a radius profile + # create a eap profile + pass + # create an equipment ap profile + yield profile_object + +@pytest.fixture(scope="function") +def apply_default_profile(instantiate_cloudsdk): + profile_object = ProfileUtility(sdk_client=instantiate_cloudsdk) + profile_object.get_default_profiles() + profile_object.profile_creation_ids['ap'] = profile_object.default_profiles['equipment_ap_3_radios'] + profile_object.push_profile_old_method(equipment_id='13') + +@pytest.fixture(scope="function") +def delete_profiles(instantiate_cloudsdk): + profile_object = ProfileUtility(sdk_client=instantiate_cloudsdk) + profile_object.get_default_profiles() + profile_object.profile_creation_ids['ap'] = profile_object.default_profiles['equipment_ap_3_radios'] diff --git a/tests/nightly/test_nightly.py b/tests/nightly/test_nightly.py deleted file mode 100644 index 4189568e5..000000000 --- a/tests/nightly/test_nightly.py +++ /dev/null @@ -1,28 +0,0 @@ -import pytest - - -@pytest.mark.usefixtures('setup_cloudsdk') -@pytest.mark.usefixtures('update_firmware') -@pytest.mark.nightly -class TestNightly(object): - - @pytest.mark.usefixtures('setup_cloudsdk') - @pytest.mark.usefixtures('update_firmware') - @pytest.mark.nightly_bridge - def test_nightly_bridge(self, setup_cloudsdk, update_firmware): - print(setup_cloudsdk) - assert 1 == 1 - - @pytest.mark.usefixtures('setup_cloudsdk') - @pytest.mark.usefixtures('update_firmware') - @pytest.mark.nightly_nat - def test_nightly_nat(self, setup_cloudsdk, update_firmware): - print(setup_cloudsdk) - assert 1 == 1 - - @pytest.mark.usefixtures('setup_cloudsdk') - @pytest.mark.usefixtures('update_firmware') - @pytest.mark.nightly_vlan - def test_nightly_vlan(self, setup_cloudsdk, update_firmware): - print(setup_cloudsdk) - assert 1 == 1 diff --git a/tests/pytest.ini b/tests/pytest.ini index f15470c7f..d6abf0c30 100644 --- a/tests/pytest.ini +++ b/tests/pytest.ini @@ -5,6 +5,7 @@ addopts= --junitxml=test_everything.xml jfrog-base-url=tip.jFrog.io/artifactory/tip-wlan-ap-firmware jfrog-user-id=tip-read jfrog-user-password=tip-read + # Cloud SDK parameters testbed-name=nola-ext-04 sdk-user-id=support@example.com @@ -16,6 +17,12 @@ testrail-project=opsfleet-wlan testrail-user-id=gleb@opsfleet.com testrail-user-password=use_command_line_to_pass_this +# Jumphost +jumphost-address=192.168.200.80 +jumphost-port=22 +jumphost-username=root +jumphost-password=lanforge + # LANforge lanforge-ip-address=localhost lanforge-port-number=8080 @@ -24,6 +31,14 @@ lanforge-ethernet-port=eth2 # Cloud SDK settings sdk-customer-id=2 +sdk-equipment-id=12 + +# Profile +skip-open=False +skip-wpa=False +skip-wpa2=False +skip-eap=False + markers = login: marks cloudsdk login From 462c450f3c6e6ecf92938d64b41230978e92fe34 Mon Sep 17 00:00:00 2001 From: shivamcandela Date: Tue, 16 Mar 2021 19:18:54 +0530 Subject: [PATCH 31/45] Added Bridge mode fixtures Signed-off-by: shivamcandela --- libs/apnos/apnos.py | 10 +- libs/cloudsdk/cloudsdk.py | 230 +++++++++++++----- tests/client_connectivity/test_bridge_mode.py | 9 +- tests/conftest.py | 163 +++++++++---- tests/pytest.ini | 10 +- 5 files changed, 304 insertions(+), 118 deletions(-) diff --git a/libs/apnos/apnos.py b/libs/apnos/apnos.py index 83658dc5c..f18fbaa13 100644 --- a/libs/apnos/apnos.py +++ b/libs/apnos/apnos.py @@ -18,7 +18,7 @@ class APNOS: print("Connecting to jumphost: %s@%s:%s with password: %s" % ( self.jumphost_username, self.jumphost_ip, self.jumphost_port, self.jumphost_password)) client.connect(self.jumphost_ip, username=self.jumphost_username, password=self.jumphost_password, - port=self.jumphost_port, timeout=10) + port=self.jumphost_port, timeout=10, allow_agent=False, banner_timeout=200) return client @@ -73,5 +73,13 @@ class APNOS: return ssid_list +APNOS_CREDENTIAL_DATA = { + 'jumphost_ip': "192.168.200.80", + 'jumphost_username': "lanforge", + 'jumphost_password': "lanforge", + 'jumphost_port': 22 +} +obj = APNOS(jumphost_cred=APNOS_CREDENTIAL_DATA) +print(obj.get_vif_config_ssids()) # print(get_vif_config_ssids()) # print(get_vif_state_ssids()) diff --git a/libs/cloudsdk/cloudsdk.py b/libs/cloudsdk/cloudsdk.py index a5acb8f67..7c5a48f46 100644 --- a/libs/cloudsdk/cloudsdk.py +++ b/libs/cloudsdk/cloudsdk.py @@ -4,13 +4,18 @@ 1. testbed/ sdk_base_url 2. login credentials """ - +import base64 import datetime import json +import re +import ssl import time +import urllib import requests import swagger_client +from bs4 import BeautifulSoup + from testbed_info import SDK_BASE_URLS from testbed_info import LOGIN_CREDENTIALS @@ -54,14 +59,14 @@ class ConfigureCloudSDK: """ - Library for cloudsdk generic usages, it instantiate the bearer and credentials. + Library for cloudsdk_tests generic usages, it instantiate the bearer and credentials. It provides the connectivity to the cloud. """ class CloudSDK(ConfigureCloudSDK): """ - constructor for cloudsdk library : can be used from pytest framework + constructor for cloudsdk_tests library : can be used from pytest framework """ def __init__(self, testbed=None, customer_id=None): @@ -123,12 +128,25 @@ class CloudSDK(ConfigureCloudSDK): pagination_context=pagination_context) return equipment_data._items + def validate_equipment_availability(self, equipment_id=None): + data = self.get_equipment_by_customer_id() + for i in data: + if i._id == equipment_id: + return i._id + return -1 + def request_ap_reboot(self): pass def request_firmware_update(self): pass + def get_model_name(self, equipment_id=None): + if equipment_id is None: + return None + data = self.equipment_client.get_equipment_by_id(equipment_id=equipment_id) + return str(data._details._equipment_model) + """ Profile Utilities """ @@ -180,6 +198,17 @@ class ProfileUtility: if i._name == profile_name: return i return None + def get_profile_by_id(self, profile_id=None): + # pagination_context = """{ + # "model_type": "PaginationContext", + # "maxItemsPerPage": 10 + # }""" + profiles = self.profile_client.get_profile_by_id(profile_id=profile_id) + print(profiles) + # for i in profiles._items: + # if i._name == profile_name: + # return i + # return None def get_default_profiles(self): pagination_context = """{ @@ -196,7 +225,7 @@ class ProfileUtility: if i._name == "TipWlan-3-Radios": self.default_profiles['equipment_ap_3_radios'] = i if i._name == "TipWlan-2-Radios": - self.default_profiles['equipment_ap_3_radios'] = i + self.default_profiles['equipment_ap_2_radios'] = i if i._name == "Captive-Portal": self.default_profiles['captive_portal'] = i if i._name == "Radius-Profile": @@ -451,34 +480,145 @@ class JFrogUtility: self.password = credentials["password"] self.jfrog_url = "https://tip.jfrog.io/artifactory/tip-wlan-ap-firmware/" self.build = "pending" + ssl._create_default_https_context = ssl._create_unverified_context - def list_revisions(self): + def get_latest_build(self, model=None): + jfrog_url = self.jfrog_url + model + "/dev/" + auth = str( + base64.b64encode( + bytes('%s:%s' % (self.user, self.password), 'utf-8') + ), + 'ascii' + ).strip() + headers = {'Authorization': 'Basic ' + auth} + + ''' FIND THE LATEST FILE NAME''' + # print(url) + req = urllib.request.Request(jfrog_url, headers=headers) + response = urllib.request.urlopen(req) + html = response.read() + soup = BeautifulSoup(html, features="html.parser") + ##find the last pending link on dev + last_link = soup.find_all('a', href=re.compile(self.build))[-1] + latest_file = last_link['href'] + latest_fw = latest_file.replace('.tar.gz', '') + return latest_fw + + def get_revisions(self, model=None): pass - def get_latest_build(self): - pass +def create_bridge_profile(get_testbed_name="nola-ext-04"): + # SSID and AP name shall be used as testbed_name and mode + sdk_client = CloudSDK(testbed=get_testbed_name, customer_id=2) + profile_object = ProfileUtility(sdk_client=sdk_client) + profile_object.get_default_profiles() + profile_object.set_rf_profile() + ssid_list = [] + + + profile_data = { + "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '5G_WPA2_BR'), + "ssid_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '5G_WPA2_BR'), + "mode": "BRIDGE", + "security_key": "%s-%s" % ("ecw5410", "5G_WPA2_BR") + } + profile_object.create_wpa2_personal_ssid_profile(profile_data=profile_data, fiveg=False) + ssid_list.append(profile_data["profile_name"]) + profile_data = { + "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '2G_WPA2_BR'), + "ssid_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '2G_WPA2_BR'), + "mode": "BRIDGE", + "security_key": "%s-%s" % ("ecw5410", "2G_WPA2_BR") + } + profile_object.create_wpa2_personal_ssid_profile(profile_data=profile_data, two4g=False) + ssid_list.append(profile_data["profile_name"]) + # Create a wpa2 profile + pass + profile_data = { + "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", 'BRIDGE'), + } + profile_object.set_ap_profile(profile_data=profile_data) + profile_object.push_profile_old_method(equipment_id='13') + + # create an equipment ap profile + return ssid_list +def vif(profile_data=[]): + import sys + if 'apnos' not in sys.path: + sys.path.append(f'../apnos') + + from apnos import APNOS + APNOS_CREDENTIAL_DATA = { + 'jumphost_ip': "192.168.200.80", + 'jumphost_username': "lanforge", + 'jumphost_password': "lanforge", + 'jumphost_port': 22 + } + obj = APNOS(APNOS_CREDENTIAL_DATA) + # data = obj.get_vif_config_ssids() + cur_time = datetime.datetime.now() + print(profile_data) + for i in range(18): + vif_config = list(obj.get_vif_config_ssids()) + vif_config.sort() + vif_state = list(obj.get_vif_state_ssids()) + vif_state.sort() + profile_data = list(profile_data) + profile_data.sort() + print("create_bridge_profile: ", profile_data) + print("vif config data: ", vif_config) + print("vif state data: ", vif_state) + if profile_data == vif_config: + print("matched") + if vif_config == vif_state: + status = True + print("matched 1") + break + else: + print("matched 2") + status = False + else: + status = False + time.sleep(10) +def main(): + # credentials = { + # "user": "tip-read", + # "password": "tip-read" + # } + # obj = JFrogUtility(credentials=credentials) + # print(obj.get_latest_build(model="ecw5410")) + # sdk_client = CloudSDK(testbed="nola-ext-04", customer_id=2) + # ap_utils = ProfileUtility(sdk_client=sdk_client) + # ap_utils.get_profile_by_id(profile_id=5) + # # sdk_client.get_model_name() + # sdk_client.disconnect_cloudsdk() + cur_time = datetime.datetime.now() + data = create_bridge_profile() + vif(profile_data=data) + print(cur_time) if __name__ == "__main__": - testbeds = ["nola-01", "nola-02", "nola-04", "nola-ext-01", "nola-ext-02", "nola-ext-03", "nola-ext-04", - "nola-ext-05"] - for i in testbeds: - sdk_client = CloudSDK(testbed=i, customer_id=2) - print(sdk_client.get_equipment_by_customer_id()) - print(sdk_client.portal_ping() is None) - break - # ap_utils = ProfileUtility(sdk_client=sdk_client) - # ap_utils.get_default_profiles() - # for j in ap_utils.default_profiles: - # print(ap_utils.default_profiles[j]._id) + main() + # testbeds = ["nola-01", "nola-02", "nola-04", "nola-ext-01", "nola-ext-02", "nola-ext-03", "nola-ext-04", + # "nola-ext-05"] + # for i in testbeds: + # sdk_client = CloudSDK(testbed=i, customer_id=2) + # print(sdk_client.get_equipment_by_customer_id()) + # print(sdk_client.portal_ping() is None) + # break + # # ap_utils = ProfileUtility(sdk_client=sdk_client) + # ap_utils.get_default_profiles() + # for j in ap_utils.default_profiles: + # print(ap_utils.default_profiles[j]._id) - # data = sdk_client.get_equipment_by_customer_id() - # equipment_ids = [] - # for i in data: - # equipment_ids.append(i) - # print(equipment_ids[0]._details._equipment_model) - sdk_client.disconnect_cloudsdk() - time.sleep(2) + # data = sdk_client.get_equipment_by_customer_id() + # equipment_ids = [] + # for i in data: + # equipment_ids.append(i) + # print(equipment_ids[0]._details._equipment_model) + # sdk_client.disconnect_cloudsdk() + # time.sleep(2) # sdk_client.get_equipment_by_customer_id(customer_id=2) # ap_utils = APUtils(sdk_client=sdk_client) @@ -546,43 +686,3 @@ if __name__ == "__main__": # time.sleep(1) # ap_utils.delete_profile(profile_id=ap_utils.profile_ids) - - -def test_open_ssid(): - sdk_client = CloudSDK(testbed="nola-ext-04") - ap_utils = APUtils(sdk_client=sdk_client) - print(sdk_client.configuration.api_key_prefix) - ap_utils.select_rf_profile(profile_data=None) - profile_data = { - "profile_name": "test-ssid-open", - "ssid_name": "test_open", - "mode": "BRIDGE" - } - ap_utils.create_open_ssid_profile(profile_data=profile_data) - profile_data = { - "profile_name": "test-ap-profile", - } - ap_utils.set_ap_profile(profile_data=profile_data) - ap_utils.push_profile_old_method(equipment_id='12') - sdk_client.disconnect_cloudsdk() - pass - - -def test_wpa_ssid(): - pass - - -def test_wpa2_personal_ssid(): - pass - - -def test_wpa3_personal_ssid(): - pass - - -def test_wpa2_enterprise_ssid(): - pass - - -def test_wpa3_enterprise_ssid(): - pass diff --git a/tests/client_connectivity/test_bridge_mode.py b/tests/client_connectivity/test_bridge_mode.py index 3ea6f9b5c..f0c1c78cc 100644 --- a/tests/client_connectivity/test_bridge_mode.py +++ b/tests/client_connectivity/test_bridge_mode.py @@ -1,5 +1,6 @@ import pytest + @pytest.mark.usefixtures('setup_cloudsdk') @pytest.mark.usefixtures('update_firmware') @pytest.mark.bridge_mode_client_connectivity @@ -8,14 +9,14 @@ class TestBridgeModeClientConnectivity(object): @pytest.mark.bridge_mode_single_client_connectivity @pytest.mark.nightly @pytest.mark.nightly_bridge - def test_single_client(self, setup_cloudsdk, update_firmware, setup_bridge_profile, disconnect_cloudsdk): - assert setup_cloudsdk != -1 + def test_single_client(self, setup_cloudsdk, update_firmware, setup_bridge_mode, disconnect_cloudsdk): + print("I am Iron Man") + assert setup_bridge_mode is True @pytest.mark.bridge_mode_multi_client_connectivity def test_multi_client(self): pass - # """ # Bridge mode: # testbed name, customer_id, equipment_id, jfrog-credentials, cloudsdk_tests-credentials, skip-open, skip-wpa, skip-wpa2, skip-radius @@ -35,4 +36,4 @@ class TestBridgeModeClientConnectivity(object): # Bridge Mode: # WPA, WPA2-PERSONAL, WPA2-ENTERPRISE # 2.4/5, 2.4/5, 2.4/5 -# """ \ No newline at end of file +# """ diff --git a/tests/conftest.py b/tests/conftest.py index 97fac5cf3..b5888d847 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,13 +1,15 @@ # import files in the current directory +import datetime import sys import os +import time + sys.path.append( os.path.dirname( - os.path.realpath( __file__ ) + os.path.realpath(__file__) ) ) - if 'cloudsdk' not in sys.path: sys.path.append(f'../libs/cloudsdk') if 'apnos' not in sys.path: @@ -17,8 +19,10 @@ from apnos import APNOS from cloudsdk import CloudSDK from cloudsdk import ProfileUtility import pytest +import logging from configuration_data import PROFILE_DATA + def pytest_addoption(parser): parser.addini("jfrog-base-url", "jfrog base url") parser.addini("jfrog-user-id", "jfrog username") @@ -51,7 +55,7 @@ def pytest_addoption(parser): parser.addini("skip-wpa", "skip wpa ssid mode") parser.addini("skip-wpa2", "skip wpa2 ssid mode") parser.addini("skip-eap", "skip eap ssid mode") - # change behaviour + # change behaviour parser.addoption( "--skip-update-firmware", action="store_true", @@ -63,75 +67,108 @@ def pytest_addoption(parser): parser.addoption( "--access-points", # nargs="+", - default=[ "ECW5410" ], + default=["ECW5410"], help="list of access points to test" ) + +""" +Fixtures for Instantiate the Objects +""" + + +@pytest.fixture(scope="session") +def instantiate_cloudsdk(request): + sdk_client = CloudSDK(testbed=request.config.getini("testbed-name"), + customer_id=request.config.getini("sdk-customer-id")) + yield sdk_client + + +@pytest.fixture(scope="session") +def instantiate_jFrog(request): + yield "instantiate_jFrog" + + +""" +Fixtures for Getting Essentials from ini +""" + + +@pytest.fixture(scope="session") +def get_testbed_name(request): + yield request.config.getini("testbed-name") + + +@pytest.fixture(scope="session") +def get_customer_id(request): + yield request.config.getini("sdk-customer-id") + + +""" +Fixtures for CloudSDK Utilities +""" + + +@pytest.fixture(scope="session") +def get_equipment_model(request, instantiate_cloudsdk, get_equipment_id): + yield request.config.getini("testbed-name") + + +@pytest.fixture(scope="session") +def get_current_firmware(request, instantiate_cloudsdk, get_equipment_model): + yield request.config.getini("testbed-name") + + def pytest_generate_tests(metafunc): if 'access_points' in metafunc.fixturenames: metafunc.parametrize("access_points", metafunc.config.getoption('--access-points'), scope="session") + # run something after all tests are done regardless of the outcome def pytest_unconfigure(config): + # cleanup or reporting print("Tests cleanup done") + @pytest.fixture(scope="function") def setup_cloudsdk(request, instantiate_cloudsdk): - equipment_id = instantiate_cloudsdk.validate_equipment_availability(equipment_id=int(request.config.getini("sdk-equipment-id"))) + equipment_id = instantiate_cloudsdk.validate_equipment_availability( + equipment_id=int(request.config.getini("sdk-equipment-id"))) if equipment_id == -1: yield -1 else: yield equipment_id + @pytest.fixture(scope="session") def update_firmware(request, instantiate_jFrog, instantiate_cloudsdk, retrieve_latest_image, access_points): if request.config.getoption("--skip-update-firmware"): return yield "update_firmware" + @pytest.fixture(scope="session") def retrieve_latest_image(request, access_points): if request.config.getoption("--skip-update-firmware"): return yield "retrieve_latest_image" -@pytest.fixture(scope="session") -def instantiate_cloudsdk(request): - sdk_client = CloudSDK(testbed=request.config.getini("testbed-name"), customer_id=request.config.getini("sdk-customer-id")) - yield sdk_client - -@pytest.fixture(scope="session") -def instantiate_jFrog(request): - - yield "instantiate_jFrog" - -@pytest.fixture(scope="session") -def get_customer_id(request): - yield request.config.getini("sdk-customer-id") - -@pytest.fixture(scope="session") -def get_testbed_name(request): - yield request.config.getini("testbed-name") - -@pytest.fixture(scope="session") -def get_equipment_model(request, instantiate_cloudsdk): - yield request.config.getini("testbed-name") - -@pytest.fixture(scope="session") -def get_current_firmware(request, instantiate_cloudsdk, get_equipment_model): - yield request.config.getini("testbed-name") @pytest.fixture(scope="session") def get_latest_firmware(request, instantiate_cloudsdk, get_equipment_model): yield request.config.getini("testbed-name") + @pytest.fixture(scope="function") def disconnect_cloudsdk(instantiate_cloudsdk): instantiate_cloudsdk.disconnect_cloudsdk() + @pytest.fixture(scope="function") def setup_bridge_mode(request, instantiate_cloudsdk, setup_profile_data, create_bridge_profile): # vif config and vif state logic here + logging.basicConfig(level=logging.DEBUG) + log = logging.getLogger('test_1') APNOS_CREDENTIAL_DATA = { 'jumphost_ip': request.config.getini("jumphost_ip"), 'jumphost_username': request.config.getini("jumphost_username"), @@ -139,18 +176,46 @@ def setup_bridge_mode(request, instantiate_cloudsdk, setup_profile_data, create_ 'jumphost_port': request.config.getini("jumphost_port") } obj = APNOS(APNOS_CREDENTIAL_DATA) - obj.get_vif_config_ssids() - condition = "" - if condition: # Condition that matches the vif config data with pushed profile data - yield True - else: - yield False + profile_data = create_bridge_profile + vif_config = list(obj.get_vif_config_ssids()) + vif_config.sort() + vif_state = list(obj.get_vif_state_ssids()) + vif_state.sort() + profile_data = list(profile_data) + profile_data.sort() + for i in range(18): + print("profiles pushed: ", profile_data) + print("vif config data: ", vif_config) + print("vif state data: ", vif_state) + if profile_data == vif_config: + print("matched") + if vif_config == vif_state: + status = True + print("matched 1") + break + else: + print("matched 2") + status = False + else: + status = False + time.sleep(10) + vif_config = list(obj.get_vif_config_ssids()) + vif_config.sort() + vif_state = list(obj.get_vif_state_ssids()) + vif_state.sort() + profile_data = list(profile_data) + profile_data.sort() + + def delete_profile(profile_data, sdk_client): + print(f"Cloud SDK cleanup for {request.node.originalname}, {profile_data}") + delete_profiles(profile_names=profile_data, sdk_client=sdk_client) + request.addfinalizer(delete_profile(profile_data, instantiate_cloudsdk)) + yield [profile_data, vif_config, vif_state] @pytest.fixture(scope="function") -def setup_profile_data(request, setup_profile_data): +def setup_profile_data(request): # logic to setup bridge mode ssid and parameters - pass - + yield True @pytest.fixture(scope="function") @@ -159,6 +224,7 @@ def create_bridge_profile(request, instantiate_cloudsdk, get_testbed_name): profile_object = ProfileUtility(sdk_client=instantiate_cloudsdk) profile_object.get_default_profiles() profile_object.set_rf_profile() + ssid_list = [] if request.config.getini("skip-open") == 'False': profile_data = { "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '2G_O_BR'), @@ -166,12 +232,14 @@ def create_bridge_profile(request, instantiate_cloudsdk, get_testbed_name): "mode": "BRIDGE" } profile_object.create_open_ssid_profile(profile_data=profile_data, fiveg=False) + ssid_list.append(profile_data["profile_name"]) profile_data = { "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '5G_O_BR'), "ssid_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '5G_O_BR'), "mode": "BRIDGE" } profile_object.create_open_ssid_profile(profile_data=profile_data, two4g=False) + ssid_list.append(profile_data["profile_name"]) # Create an open ssid profile if request.config.getini("skip-wpa") == 'False': profile_data = { @@ -181,6 +249,7 @@ def create_bridge_profile(request, instantiate_cloudsdk, get_testbed_name): "security_key": "%s-%s" % ("ecw5410", "2G_WPA_BR") } profile_object.create_wpa_ssid_profile(profile_data=profile_data, fiveg=False) + ssid_list.append(profile_data["profile_name"]) profile_data = { "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '5G_WPA_BR'), "ssid_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '5G_WPA_BR'), @@ -188,6 +257,7 @@ def create_bridge_profile(request, instantiate_cloudsdk, get_testbed_name): "security_key": "%s-%s" % ("ecw5410", "5G_WPA_BR") } profile_object.create_wpa_ssid_profile(profile_data=profile_data, two4g=False) + ssid_list.append(profile_data["profile_name"]) # Create a wpa profile pass if request.config.getini("skip-wpa2") == 'False': @@ -198,6 +268,7 @@ def create_bridge_profile(request, instantiate_cloudsdk, get_testbed_name): "security_key": "%s-%s" % ("ecw5410", "5G_WPA2_BR") } profile_object.create_wpa2_personal_ssid_profile(profile_data=profile_data, fiveg=False) + ssid_list.append(profile_data["profile_name"]) profile_data = { "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '2G_WPA2_BR'), "ssid_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '2G_WPA2_BR'), @@ -205,6 +276,7 @@ def create_bridge_profile(request, instantiate_cloudsdk, get_testbed_name): "security_key": "%s-%s" % ("ecw5410", "2G_WPA2_BR") } profile_object.create_wpa2_personal_ssid_profile(profile_data=profile_data, two4g=False) + ssid_list.append(profile_data["profile_name"]) # Create a wpa2 profile pass if request.config.getini("skip-eap") == 'False': @@ -221,8 +293,10 @@ def create_bridge_profile(request, instantiate_cloudsdk, get_testbed_name): } profile_object.set_ap_profile(profile_data=profile_data) profile_object.push_profile_old_method(equipment_id='13') + # create an equipment ap profile - yield profile_object + yield ssid_list + @pytest.fixture(scope="function") def setup_nat_profile(request, instantiate_cloudsdk, get_testbed_name): @@ -295,6 +369,7 @@ def setup_nat_profile(request, instantiate_cloudsdk, get_testbed_name): # create an equipment ap profile yield profile_object + @pytest.fixture(scope="function") def setup_vlan_profile(request, instantiate_cloudsdk): # SSID and AP name shall be used as testbed_name and mode @@ -316,6 +391,7 @@ def setup_vlan_profile(request, instantiate_cloudsdk): # create an equipment ap profile yield profile_object + @pytest.fixture(scope="function") def apply_default_profile(instantiate_cloudsdk): profile_object = ProfileUtility(sdk_client=instantiate_cloudsdk) @@ -323,8 +399,9 @@ def apply_default_profile(instantiate_cloudsdk): profile_object.profile_creation_ids['ap'] = profile_object.default_profiles['equipment_ap_3_radios'] profile_object.push_profile_old_method(equipment_id='13') -@pytest.fixture(scope="function") -def delete_profiles(instantiate_cloudsdk): - profile_object = ProfileUtility(sdk_client=instantiate_cloudsdk) + +def delete_profiles(profile_names, sdk_client=None): + profile_object = ProfileUtility(sdk_client=sdk_client) profile_object.get_default_profiles() profile_object.profile_creation_ids['ap'] = profile_object.default_profiles['equipment_ap_3_radios'] + profile_object.push_profile_old_method() diff --git a/tests/pytest.ini b/tests/pytest.ini index d6abf0c30..57b63f397 100644 --- a/tests/pytest.ini +++ b/tests/pytest.ini @@ -18,10 +18,10 @@ testrail-user-id=gleb@opsfleet.com testrail-user-password=use_command_line_to_pass_this # Jumphost -jumphost-address=192.168.200.80 -jumphost-port=22 -jumphost-username=root -jumphost-password=lanforge +jumphost_ip=192.168.200.80 +jumphost_port=22 +jumphost_username=lanforge +jumphost_password=lanforge # LANforge lanforge-ip-address=localhost @@ -34,7 +34,7 @@ sdk-customer-id=2 sdk-equipment-id=12 # Profile -skip-open=False +skip-open=True skip-wpa=False skip-wpa2=False skip-eap=False From 4668aec1ba6102024bc4aabac7a35a46ab9c9817 Mon Sep 17 00:00:00 2001 From: shivamcandela Date: Wed, 17 Mar 2021 02:12:45 +0530 Subject: [PATCH 32/45] Client Connectivity Fixtures are done, Did some Documentation Signed-off-by: shivamcandela --- NOLA-README.md | 138 ---------- README.md | 2 +- libs/apnos/README.md | 3 + libs/apnos/ap_ssh.py | 229 ---------------- libs/cloudsdk/README.md | 100 +++++++ libs/cloudsdk/cloudsdk.py | 221 +++------------- tests/2.4ghz/test_generic.py | 40 --- tests/README.md | 96 +------ tests/ap_tests/test_apnos.py | 44 ++++ tests/client_connectivity/test_bridge_mode.py | 31 +-- tests/client_connectivity/test_nat_mode.py | 8 +- tests/client_connectivity/test_vlan_mode.py | 8 +- tests/cloudsdk_tests/test_cloud.py | 16 +- tests/conftest.py | 244 +++++++++++++++--- 14 files changed, 418 insertions(+), 762 deletions(-) delete mode 100644 NOLA-README.md delete mode 100755 libs/apnos/ap_ssh.py create mode 100644 libs/cloudsdk/README.md delete mode 100644 tests/2.4ghz/test_generic.py create mode 100644 tests/ap_tests/test_apnos.py diff --git a/NOLA-README.md b/NOLA-README.md deleted file mode 100644 index 2c16ad01d..000000000 --- a/NOLA-README.md +++ /dev/null @@ -1,138 +0,0 @@ -# TIP CICD Sanity Scripts -This directory contains scripts and modules designed for automated full-system testing. - -# Libraries needed to run this code successfully -sudo pip3 install artifactory -sudo pip3 install xlsxwriter -sudo pip3 install pandas -sudo pip3 install paramiko -sudo pip3 install scp -sudo pip3 install pexpect -sudo pip3 install pexpect-serial -sudo yum install pytest - -# Clone these repositories to get started: -git@github.com:Telecominfraproject/wlan-testing.git # This repo - -# LANforge scripts repo. This *MUST* be located or linked at wlan-testing/lanforge/lanforge-scripts -git@github.com:Telecominfraproject/wlan-lanforge-scripts.git - -# Cloud-services, so that you can find the API document -git@github.com:Telecominfraproject/wlan-cloud-services - -# Find the cloud-sdk API document here: -https://github.com/Telecominfraproject/wlan-cloud-services/tree/master/portal-services/src/main/resources/ - -# You need access to the 'ubuntu' jumphost. Send your public ssh key to greearb@candelatech.com -# and he will add this to the jumphost. -# For ease of use, add this to your /etc/hosts file: 3.130.51.163 orch - -# Examples in this code often assume you are using ssh port redirects to log into the testbeds, -# for instance, this is for working on the NOLA-01 testbed. The 3.130.51.163 (aka orch) -# system has its /etc/hosts file updated, so that 'lf1' means LANforg system in testbed NOLA-01 -# You can find other testbed info in TIP Confluence -# https://telecominfraproject.atlassian.net/wiki/spaces/WIFI/pages/307888428/TIP+Testbeds -# Please communicate with Ben Greear or Jaspreet Sachdev before accessing a testbed -# at leat until we have a reservation system in place. - -# NOLA-01 testbed -ssh -C -L 8800:lf1:4002 -L 8801:lf1:5901 -L 8802:lf1:8080 -L 8803:lab-ctlr:22 ubuntu@orch -# Example of accessing AP over serial console through jumphost -./query_ap.py --ap-jumphost-address localhost --ap-jumphost-port 8803 --ap-jumphost-password pumpkin77 --ap-jumphost-tty /dev/ttyAP1 \ - -m ecw5410 --cmd "cat /etc/banner" -# Example of accessing NOLA-01's cloud controller (https://wlan-portal-svc.cicd.lab.wlan.tip.build) -./query_sdk.py --testrail-user-id NONE --model ecw5410 --sdk-base-url https://wlan-portal-svc.cicd.lab.wlan.tip.build --sdk-user-id \ - support@example.com --sdk-user-password support --equipment_id 3 --type profile --cmd get --brief true -# Configure wpa, wpa2 SSIDs on NOLA-01 -./sdk_set_profile.py --testrail-user-id NONE --model ecw5410 --ap-jumphost-address localhost --ap-jumphost-port 8803 \ - --ap-jumphost-password pumpkin77 --ap-jumphost-tty /dev/ttyAP1 --testbed "NOLA-01" --lanforge-ip-address localhost \ - --lanforge-port-number 8802 --default-ap-profile TipWlan-2-Radios --sdk-base-url https://wlan-portal-svc.cicd.lab.wlan.tip.build \ - --skip-radius - -# NOLA-04 testbed -# testbed ssh tunnel -ssh -C -L 8810:lf4:4002 -L 8811:lf4:5901 -L 8812:lf4:8080 -L 8813:lab-ctlr:22 ubuntu@orch -# Example of accessing AP over serial console through jumphost -./query_ap.py --ap-jumphost-address localhost --ap-jumphost-port 8813 --ap-jumphost-password pumpkin77 --ap-jumphost-tty /dev/ttyAP4 -m ecw5410 --cmd "cat /etc/banner" - - -# NOLA-12 testbed -# testbed ssh tunnel -ssh -C -L 8820:lf12:4002 -L 8821:lf12:5901 -L 8822:lf12:8080 -L 8823:lab-ctlr4:22 ubuntu@orch -# Create profiles. -./sdk_set_profile.py --testrail-user-id NONE --model ecw5410 --ap-jumphost-address localhost --ap-jumphost-port 8823 --ap-jumphost-password pumpkin77 --ap-jumphost-tty /dev/ttyAP1 --testbed "NOLA-12" --lanforge-ip-address localhost --lanforge-port-number 8822 --default_ap_profile TipWlan-2-Radios --sdk-base-url https://wlan-portal-svc-ben-testbed.cicd.lab.wlan.tip.build --skip_radius - - -Then, you would use port 8802 for connecting to the LANforge-GUI for the python LANforge test logic, -and port 8803 to access the lab jumphost. Port 8800 could connect a locally running LANforge GUI to the -testbed for monitoring the test, and port 8801 will connect VNC to the LANforge machine. - -# This automated test logic is found in the wlan-testing/unit_tests directory. These notes -# assume you are in that directory unless otherwise specified. - -# Interesting files in this repo - -* ap_ssh.py: Library methods to access the AP over direct ssh connection or serial console. For NOLA - testbeds, currently serial console is the only viable way to connect. - -* cloudsdk.py: Library methods to access the cloud controller API using REST/JSON. This is how you configure - the AP. - -* lab_ap_info.py: Holds some variables related to lab config. I prefer to use this as little as possible. - Instead, use command line arguments, possibly specifying a particular config file on the cmd line if - needed. - -* UnitTestBase.py: Base class for all test cases. Handles bulk of command-line-argument processing and importing - of various modules needed for testing. Test cases should normally inherit from this. - -* Nightly_Sanity.py: All-in-one script that updates firmware, creates cloud controller profiles, and runs LANforge - tests. This is only partially functional for now. Much of the logic in it needs to be moved to library files - so that other test cases can take advantage of the logic. - -* query_ap.py: Calls into ap_ssh.py to do some actions on APs, including running arbitrary commands. This would - be a good example to use as starting point for writing new test cases that need to access the AP. - Try: ./query_ap.py --help for example of how to use. - -* query_sdk.py: Calls into cloudsdk.py to do some actions on cloud controller. This would - be a good example to use as starting point for writing new test cases that need to access the cloud controller. - Try: ./query_sdk.py --help for example of how to use. - - - -# This is how the nightly sanity script is launched for the NOLA-01 testbed. - -./Nightly_Sanity.py --testrail-user-id NONE --model ecw5410 --ap-jumphost-address localhost --ap-jumphost-port 8803 \ - --ap-jumphost-password pumpkin77 --ap-jumphost-tty /dev/ttyAP1 --skip-upgrade True --testbed "NOLA-01h" \ - --lanforge-ip-address localhost --lanforge-port-number 8802 --default_ap_profile TipWlan-2-Radios --skip_radius --skip_profiles \ - --lanforge-2g-radio 1.1.wiphy4 --lanforge-5g-radio 1.1.wiphy5 - - - -## Nightly Sanity details: -This script is used to look for and test new firmware available for the APs. AP equipment IDs and SSID information used in test is stored in the lab_ap_info file - -1. Check current CloudSDK version -2. Find latest dev firmware on TIP jfrog and create instances on CloudSDK (if necessary) -3. Create report_data.json file with information about versions and test case pass/fail -4. For each AP model: - 1. Check current AP firmware *(If AP already running newest firmware, test will skip)* - 2. Create Testrail test run with required test cases included - 3. Upgrade AP via CloudSDK API - 4. Check if AP upgrade and CloudSDK connection successful - 5. For each SSID mode (bridge, NAT and VLAN), marking TestRail and report_data.json with pass/fail: - 1. Create SSID Profiles for various security modes and radio types - 2. Create AP Profile for SSID mode - 3. Apply AP profile to AP - 5. Check that SSID have been applied properly on AP - 4. Perform client connectivity tests - 6. Update sanity_status.json with **overall** pass/fail - -## Throughput Test -This script is used to test UDP and TCP throughput on different modes of SSIDs, on multiple AP models. It is designed to run on APs that have successfully passed through Nightly_Sanity test. - -For each AP model: -1) Read sanity_status.json to see if throughput should be run, if yes: - 1) Run throughput tests on SSIDs modes - 2) Record results to CSV file -2) Update sanity_status.json that throughput tests have been run - diff --git a/README.md b/README.md index ab5503da0..886ad03b0 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ All code must be written in python 3 and conform to PEP 8 style guide. The test ```bash ├── tests ├── libs -│ ├── cloudsdk +│ ├── cloudsdk_tests │ ├── apnos │ ├── lanforge │ ├── perfecto diff --git a/libs/apnos/README.md b/libs/apnos/README.md index 95b2d6956..cc67c8b34 100644 --- a/libs/apnos/README.md +++ b/libs/apnos/README.md @@ -1 +1,4 @@ ## AP NOS Library +###apnos.py : This Library Consists of the following- + 1. class APNOS : Library to SSH and Pull the information from AP + diff --git a/libs/apnos/ap_ssh.py b/libs/apnos/ap_ssh.py deleted file mode 100755 index a41d77539..000000000 --- a/libs/apnos/ap_ssh.py +++ /dev/null @@ -1,229 +0,0 @@ -################################################################################## -# Module contains functions to get specific data from AP CLI using SSH -# -# Used by Nightly_Sanity and Throughput_Test ##################################### -################################################################################## - -import paramiko -from paramiko import SSHClient -import socket -import logging - -owrt_args = "--prompt root@OpenAp -s serial --log stdout --user root --passwd openwifi" - -def ssh_cli_connect(command_line_args): - client = paramiko.SSHClient() - client.set_missing_host_key_policy(paramiko.AutoAddPolicy()) - - ap_ip = command_line_args.ap_ip - ap_username = command_line_args.ap_username - ap_password = command_line_args.ap_password - - jumphost_ip = command_line_args.ap_jumphost_address - jumphost_username = command_line_args.ap_jumphost_username - jumphost_password = command_line_args.ap_jumphost_password - jumphost_port = command_line_args.ap_jumphost_port - - if command_line_args.ap_jumphost_address != None: - print("Connecting to jumphost: %s@%s:%s with password: %s"%(jumphost_username, jumphost_ip, jumphost_port, jumphost_password)) - client.connect(jumphost_ip, username=jumphost_username, password=jumphost_password, - port=jumphost_port, timeout=10) - else: - print("Connecting to AP with ssh: %s@%s with password: %s"%(ap_username, ap_ip, jumphost_password)) - client.connect(ap_ip, username=ap_username, password=ap_password, timeout=10) - return client - -def ssh_cli_active_fw(command_line_args): - try: - client = ssh_cli_connect(command_line_args) - - jumphost_wlan_testing = command_line_args.ap_jumphost_wlan_testing - jumphost_tty = command_line_args.ap_jumphost_tty - - ap_cmd = "/usr/opensync/bin/ovsh s AWLAN_Node -c | grep FW_IMAGE_ACTIVE" - if command_line_args.ap_jumphost_address != None: - cmd = "cd %s/lanforge/lanforge-scripts/ && ./openwrt_ctl.py %s -t %s --action cmd --value \"%s\""%(jumphost_wlan_testing, owrt_args, jumphost_tty, ap_cmd) - stdin, stdout, stderr = client.exec_command(cmd) - else: - stdin, stdout, stderr = client.exec_command(ap_cmd) - - version_matrix = str(stdout.read(), 'utf-8') - err = str(stderr.read(), 'utf-8') - print("version-matrix: %s stderr: %s"%(version_matrix, err)) - version_matrix_split = version_matrix.partition('FW_IMAGE_ACTIVE","')[2] - cli_active_fw = version_matrix_split.partition('"],[')[0] - #print("Active FW is",cli_active_fw) - - ap_cmd = "/usr/opensync/bin/ovsh s Manager -c | grep status" - if command_line_args.ap_jumphost_address != None: - cmd = "cd %s/lanforge/lanforge-scripts/ && ./openwrt_ctl.py %s -t %s --action cmd --value \"%s\""%(jumphost_wlan_testing, owrt_args, jumphost_tty, ap_cmd) - stdin, stdout, stderr = client.exec_command(cmd) - else: - stdin, stdout, stderr = client.exec_command(ap_cmd) - - status = str(stdout.read(), 'utf-8') - err = str(stderr.read(), 'utf-8') - - print("status: %s stderr: %s"%(status, err)) - - if "ACTIVE" in status: - #print("AP is in Active state") - state = "active" - elif "BACKOFF" in status: - #print("AP is in Backoff state") - state = "backoff" - else: - #print("AP is not in Active state") - state = "unknown" - - cli_info = { - "state": state, - "active_fw": cli_active_fw - } - - return(cli_info) - - except paramiko.ssh_exception.AuthenticationException: - print("Authentication Error, Check Credentials") - return "ERROR" - except paramiko.SSHException: - print("Cannot SSH to the AP") - return "ERROR" - except socket.timeout: - print("AP Unreachable") - return "ERROR" - -def iwinfo_status(command_line_args): - try: - client = ssh_cli_connect(command_line_args) - - jumphost_wlan_testing = command_line_args.ap_jumphost_wlan_testing - jumphost_tty = command_line_args.ap_jumphost_tty - - ap_cmd = "iwinfo | grep ESSID" - if command_line_args.ap_jumphost_address != None: - cmd = "cd %s/lanforge/lanforge-scripts/ && ./openwrt_ctl.py %s -t %s --action cmd --value \"%s\""%(jumphost_wlan_testing, owrt_args, jumphost_tty, ap_cmd) - stdin, stdout, stderr = client.exec_command(cmd) - else: - stdin, stdout, stderr = client.exec_command(ap_cmd) - - for line in stdout.read().splitlines(): - print(line) - - except paramiko.ssh_exception.AuthenticationException: - print("Authentication Error, Check Credentials") - return "ERROR" - except paramiko.SSHException: - print("Cannot SSH to the AP") - return "ERROR" - except socket.timeout: - print("AP Unreachable") - return "ERROR" - - -def ap_ssh_ovsh_nodec(command_line_args, key): - try: - jumphost_wlan_testing = command_line_args.ap_jumphost_wlan_testing - jumphost_tty = command_line_args.ap_jumphost_tty - - client = ssh_cli_connect(command_line_args) - - ap_cmd = "/usr/opensync/bin/ovsh s AWLAN_Node -c" - if command_line_args.ap_jumphost_address != None: - cmd = "cd %s/lanforge/lanforge-scripts/ && ./openwrt_ctl.py %s -t %s --action cmd --value \"%s\""%(jumphost_wlan_testing, owrt_args, jumphost_tty, ap_cmd) - stdin, stdout, stderr = client.exec_command(cmd) - else: - stdin, stdout, stderr = client.exec_command(ap_cmd) - - output = str(stdout.read(), 'utf-8') - - #print("ovsdh cmd: ", cmd) - #print("ovsh output: ", output) - - if key != None: - for line in output.splitlines(): - toks = line.split(':', 1) - try: - k = toks[0].strip(' ') - v = toks[1].strip(' ') - if k == 'id': - return v - except Exception as e1: - print(e1) - print(line) - print(toks) - - return output - - except paramiko.ssh_exception.AuthenticationException: - print("Authentication Error, Check Credentials") - return "ERROR" - except paramiko.SSHException: - print("Cannot SSH to the AP") - return "ERROR" - except socket.timeout: - print("AP Unreachable") - return "ERROR" - -def ap_ssh_ovsh_by_key(command_line_args, ovsh_cmd, key): - jumphost_wlan_testing = command_line_args.ap_jumphost_wlan_testing - jumphost_tty = command_line_args.ap_jumphost_tty - - client = ssh_cli_connect(command_line_args) - - ap_cmd = ovsh_cmd - if command_line_args.ap_jumphost_address != None: - cmd = "cd %s/lanforge/lanforge-scripts/ && ./openwrt_ctl.py %s -t %s --action cmd --value \"%s\""%(jumphost_wlan_testing, owrt_args, jumphost_tty, ap_cmd) - stdin, stdout, stderr = client.exec_command(cmd) - else: - stdin, stdout, stderr = client.exec_command(ap_cmd) - - output = str(stdout.read(), 'utf-8') - - if key != None: - rv = [] - for line in output.splitlines(): - toks = line.split(':', 1) - if (len(toks) < 2): - #print("ovsh-by-key, ignoring line: %s"%(line)) - continue - - try: - k = toks[0].strip(' ') - v = toks[1].strip(' ') - #print("ovsh-by-key, k -:%s:- v -:%s:- searching for key -:%s:-"%(k, v, key)) - if k == key: - rv.append(v) - except Exception as e1: - print(e1) - print(line) - print(toks) - print("Output:\n", output) - logging.error(logging.traceback.format_exc()) - return rv - - return output - -# This can throw exceptions, calling code beware. -def ap_ssh_cmd(command_line_args, ap_cmd): - jumphost_wlan_testing = command_line_args.ap_jumphost_wlan_testing - jumphost_tty = command_line_args.ap_jumphost_tty - - client = ssh_cli_connect(command_line_args) - - if command_line_args.ap_jumphost_address != None: - cmd = "cd %s/lanforge/lanforge-scripts/ && ./openwrt_ctl.py %s -t %s --action cmd --value \"%s\""%(jumphost_wlan_testing, owrt_args, jumphost_tty, ap_cmd) - stdin, stdout, stderr = client.exec_command(cmd) - else: - stdin, stdout, stderr = client.exec_command(ap_cmd) - - output = str(stdout.read(), 'utf-8') - return output - -def get_vif_config(command_line_args): - ap_cmd = "/usr/opensync/bin/ovsh s Wifi_VIF_Config -c" - return ap_ssh_ovsh_by_key(command_line_args, ap_cmd, "ssid") - -def get_vif_state(command_line_args): - ap_cmd = "/usr/opensync/bin/ovsh s Wifi_VIF_State -c" - return ap_ssh_ovsh_by_key(command_line_args, ap_cmd, "ssid") diff --git a/libs/cloudsdk/README.md b/libs/cloudsdk/README.md new file mode 100644 index 000000000..577d811e9 --- /dev/null +++ b/libs/cloudsdk/README.md @@ -0,0 +1,100 @@ +# Cloud SDK Library + +###cloudsdk.py : This Library Consists of the following- + 1. class ConfigureCloudSDK : Base Configuration Class + 2. class CloudSDK(ConfigureCloudSDK) : Main Cloudsdk Class + 3. class ProfileUtility : Used to CRUD over CloudSDK Profiles Utility + 4. class JFrogUtility : Used for Artifactory Utils, Get latest Build, Upload Firmware etc. + +###Note: cloudsdk.py has libraries that uses Swagger Autogenerated Code. +### Setup The Environment For using the cloudsdk library + +Using Swagger Autogenerated CloudSDK Library pypi package (implemented with [swagger codegen](https://github.com/swagger-api/swagger-codegen)). +Using [pytest] as the test execution framework. +Using [pylint](http://pylint.pycqa.org) for code quality monitoring. +Using [allure](https://docs.qameta.io/allure/#_about) with Github Pages to report test outcome. + +### Follow the setps below to setup the environment for your development Environment + +```shell +mkdir ~/.pip +echo "[global]" > ~/.pip/pip.conf +echo "index-url = https://pypi.org/simple" >> ~/.pip/pip.conf +echo "extra-index-url = https://tip-read:tip-read@tip.jfrog.io/artifactory/api/pypi/tip-wlan-python-pypi-local/simple" >> ~/.pip/pip.conf +``` + +after that do the following in this folder +```shell +pip3 install -r requirements.txt +``` + +Now your cloud sdk code is downloaded with all of the dependencies and you can start working on the solution + +### Docker + +Alternatively you can use provided dockerfiles to develop\lint your code: + +```shell +docker build -t wlan-cloud-test -f dockerfile . +docker build -t wlan-cloud-lint -f dockerfile-lint . +``` + +and then you can do something like this to lint your code: + +```shell +docker run -it --rm -v %path_to_this_dir%/tests wlan-tip-lint -d protected-access *py # for now +docker run -it --rm -v %path_to_this_dir%/tests wlan-tip-lint *py # for future +``` + +to have a better output (sorted by line numbers) you can do something like this: + +```shell +docker run -it --rm --entrypoint sh -v %path_to_this_dir%/tests wlan-tip-lint -- -c 'pylint *py | sort -t ":" -k 2,2n' +``` + +and you can use something like this to develop your code: + +```shell +docker run -it -v %path_to_this_dir%/tests wlan-tip-test +``` + +### General guidelines + +This testing code adheres to generic [pep8](https://www.python.org/dev/peps/pep-0008/#introduction) style guidelines, most notably: + +1. [Documentation strings](https://www.python.org/dev/peps/pep-0008/#documentation-strings) +2. [Naming conventions](https://www.python.org/dev/peps/pep-0008/#prescriptive-naming-conventions) +3. [Sphynx docstring format](https://sphinx-rtd-tutorial.readthedocs.io/en/latest/docstrings.html) + +We are using the `pylint` package to do the linting. Documentation for it can be found [here](http://pylint.pycqa.org/en/latest/). +In general, the customizations are possible via the `.pylintrc` file: + +1. Line length below 120 characters is fine (search for max-line-length) +2. No new line at the end of file is fine (search for missing-final-newline) +3. Multiple new lines at the end of file are fine (search for trailing-newlines) +4. Indent using 4 spaces (search for indent-string) +5. todo + +In future we should enforce a policy, where we cannot merge a code where the pylint scoe goes below 7: + +```shell +pylint --fail-under=7 *py +``` + +the command above would produce a non-zero exit code if the score drops below 7. + +### Reporting + +Currently the plan is to use pytest integrated with [allure](https://docs.qameta.io/allure/#_pytest) to create visual reports for the test outcomes + +### Miscelanneous + +1. Do not use old style string formatting: `"Hello %s" % var`; use `f"Hello {var}` instead +2. use `"""` in Docstrings +3. todo + +### Useful links + +https://docs.pytest.org/en/latest/example/markers.html +https://docs.pytest.org/en/latest/usage.html +http://pythontesting.net/framework/pytest/pytest-introduction/ \ No newline at end of file diff --git a/libs/cloudsdk/cloudsdk.py b/libs/cloudsdk/cloudsdk.py index 7c5a48f46..3a3866423 100644 --- a/libs/cloudsdk/cloudsdk.py +++ b/libs/cloudsdk/cloudsdk.py @@ -166,6 +166,10 @@ class CloudSDK(ConfigureCloudSDK): """ +""" + Library for Profile Utility, Creating Profiles and Pushing and Deleting them +""" + class ProfileUtility: """ constructor for Access Point Utility library : can be used from pytest framework @@ -198,17 +202,10 @@ class ProfileUtility: if i._name == profile_name: return i return None + def get_profile_by_id(self, profile_id=None): - # pagination_context = """{ - # "model_type": "PaginationContext", - # "maxItemsPerPage": 10 - # }""" profiles = self.profile_client.get_profile_by_id(profile_id=profile_id) print(profiles) - # for i in profiles._items: - # if i._name == profile_name: - # return i - # return None def get_default_profiles(self): pagination_context = """{ @@ -233,6 +230,22 @@ class ProfileUtility: if i._name == "TipWlan-rf": self.default_profiles['rf'] = i + def delete_current_profile(self, equipment_id=None): + equipment_data = self.sdk_client.equipment_client.get_equipment_by_id(equipment_id=equipment_id) + + data = self.profile_client.get_profile_with_children(profile_id=equipment_data._profile_id) + delete_ids = [] + for i in data: + if i._name == "TipWlan-rf": + continue + else: + delete_ids.append(i._id) + print(delete_ids) + self.get_default_profiles() + self.profile_creation_ids['ap'] = self.default_profiles['equipment_ap_3_radios']._id + print(self.profile_creation_ids) + self.push_profile_old_method(equipment_id=equipment_id) + self.delete_profile(profile_id=delete_ids) """ method call: used to create the rf profile and push set the parameters accordingly and update """ @@ -261,6 +274,7 @@ class ProfileUtility: default_profile._details['appliedRadios'].append("is5GHz") default_profile._details['appliedRadios'].append("is5GHzL") default_profile._name = profile_data['profile_name'] + default_profile._details['vlanId'] = profile_data['vlan'] default_profile._details['ssid'] = profile_data['ssid_name'] default_profile._details['forwardMode'] = profile_data['mode'] default_profile._details['secureMode'] = 'open' @@ -282,6 +296,7 @@ class ProfileUtility: default_profile._details['appliedRadios'].append("is5GHz") default_profile._details['appliedRadios'].append("is5GHzL") default_profile._name = profile_data['profile_name'] + default_profile._details['vlanId'] = profile_data['vlan'] default_profile._details['ssid'] = profile_data['ssid_name'] default_profile._details['keyStr'] = profile_data['security_key'] default_profile._details['forwardMode'] = profile_data['mode'] @@ -304,6 +319,7 @@ class ProfileUtility: default_profile._details['appliedRadios'].append("is5GHz") default_profile._details['appliedRadios'].append("is5GHzL") default_profile._name = profile_data['profile_name'] + default_profile._details['vlanId'] = profile_data['vlan'] default_profile._details['ssid'] = profile_data['ssid_name'] default_profile._details['keyStr'] = profile_data['security_key'] default_profile._details['forwardMode'] = profile_data['mode'] @@ -327,6 +343,7 @@ class ProfileUtility: default_profile._details['appliedRadios'].append("is5GHz") default_profile._details['appliedRadios'].append("is5GHzL") default_profile._name = profile_data['profile_name'] + default_profile._details['vlanId'] = profile_data['vlan'] default_profile._details['ssid'] = profile_data['ssid_name'] default_profile._details['keyStr'] = profile_data['security_key'] default_profile._details['forwardMode'] = profile_data['mode'] @@ -349,6 +366,7 @@ class ProfileUtility: default_profile._details['appliedRadios'].append("is5GHz") default_profile._details['appliedRadios'].append("is5GHzL") default_profile._name = profile_data['profile_name'] + default_profile._details['vlanId'] = profile_data['vlan'] default_profile._details['ssid'] = profile_data['ssid_name'] default_profile._details['forwardMode'] = profile_data['mode'] default_profile._details['secureMode'] = 'wpa2OnlyRadius' @@ -370,6 +388,7 @@ class ProfileUtility: default_profile._details['appliedRadios'].append("is5GHz") default_profile._details['appliedRadios'].append("is5GHzL") default_profile._name = profile_data['profile_name'] + default_profile._details['vlanId'] = profile_data['vlan'] default_profile._details['ssid'] = profile_data['ssid_name'] default_profile._details['keyStr'] = profile_data['security_key'] default_profile._details['forwardMode'] = profile_data['mode'] @@ -450,13 +469,12 @@ class ProfileUtility: def delete_profile(self, profile_id=None): for i in profile_id: self.profile_client.delete_profile(profile_id=i) - pass # Need to be depreciated by using push_profile method def push_profile_old_method(self, equipment_id=None): if equipment_id is None: return 0 - url = self.sdk_client.configuration.host + "/portal/equipment?equipmentId=" + equipment_id + url = self.sdk_client.configuration.host + "/portal/equipment?equipmentId=" + str(equipment_id) payload = {} headers = self.sdk_client.configuration.api_key_prefix response = requests.request("GET", url, headers=headers, data=payload) @@ -471,6 +489,10 @@ class ProfileUtility: response = requests.request("PUT", url, headers=headers, data=json.dumps(equipment_info)) +""" + Jfrog Utility for Artifactory Management +""" + class JFrogUtility: def __init__(self, credentials=None): @@ -507,182 +529,3 @@ class JFrogUtility: def get_revisions(self, model=None): pass - -def create_bridge_profile(get_testbed_name="nola-ext-04"): - # SSID and AP name shall be used as testbed_name and mode - sdk_client = CloudSDK(testbed=get_testbed_name, customer_id=2) - profile_object = ProfileUtility(sdk_client=sdk_client) - profile_object.get_default_profiles() - profile_object.set_rf_profile() - ssid_list = [] - - - profile_data = { - "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '5G_WPA2_BR'), - "ssid_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '5G_WPA2_BR'), - "mode": "BRIDGE", - "security_key": "%s-%s" % ("ecw5410", "5G_WPA2_BR") - } - profile_object.create_wpa2_personal_ssid_profile(profile_data=profile_data, fiveg=False) - ssid_list.append(profile_data["profile_name"]) - profile_data = { - "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '2G_WPA2_BR'), - "ssid_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '2G_WPA2_BR'), - "mode": "BRIDGE", - "security_key": "%s-%s" % ("ecw5410", "2G_WPA2_BR") - } - profile_object.create_wpa2_personal_ssid_profile(profile_data=profile_data, two4g=False) - ssid_list.append(profile_data["profile_name"]) - # Create a wpa2 profile - pass - profile_data = { - "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", 'BRIDGE'), - } - profile_object.set_ap_profile(profile_data=profile_data) - profile_object.push_profile_old_method(equipment_id='13') - - # create an equipment ap profile - return ssid_list -def vif(profile_data=[]): - import sys - if 'apnos' not in sys.path: - sys.path.append(f'../apnos') - - from apnos import APNOS - APNOS_CREDENTIAL_DATA = { - 'jumphost_ip': "192.168.200.80", - 'jumphost_username': "lanforge", - 'jumphost_password': "lanforge", - 'jumphost_port': 22 - } - obj = APNOS(APNOS_CREDENTIAL_DATA) - # data = obj.get_vif_config_ssids() - cur_time = datetime.datetime.now() - print(profile_data) - for i in range(18): - vif_config = list(obj.get_vif_config_ssids()) - vif_config.sort() - vif_state = list(obj.get_vif_state_ssids()) - vif_state.sort() - profile_data = list(profile_data) - profile_data.sort() - print("create_bridge_profile: ", profile_data) - print("vif config data: ", vif_config) - print("vif state data: ", vif_state) - if profile_data == vif_config: - print("matched") - if vif_config == vif_state: - status = True - print("matched 1") - break - else: - print("matched 2") - status = False - else: - status = False - time.sleep(10) -def main(): - # credentials = { - # "user": "tip-read", - # "password": "tip-read" - # } - # obj = JFrogUtility(credentials=credentials) - # print(obj.get_latest_build(model="ecw5410")) - # sdk_client = CloudSDK(testbed="nola-ext-04", customer_id=2) - # ap_utils = ProfileUtility(sdk_client=sdk_client) - # ap_utils.get_profile_by_id(profile_id=5) - # # sdk_client.get_model_name() - # sdk_client.disconnect_cloudsdk() - cur_time = datetime.datetime.now() - data = create_bridge_profile() - vif(profile_data=data) - print(cur_time) - -if __name__ == "__main__": - main() - # testbeds = ["nola-01", "nola-02", "nola-04", "nola-ext-01", "nola-ext-02", "nola-ext-03", "nola-ext-04", - # "nola-ext-05"] - # for i in testbeds: - # sdk_client = CloudSDK(testbed=i, customer_id=2) - # print(sdk_client.get_equipment_by_customer_id()) - # print(sdk_client.portal_ping() is None) - # break - # # ap_utils = ProfileUtility(sdk_client=sdk_client) - # ap_utils.get_default_profiles() - # for j in ap_utils.default_profiles: - # print(ap_utils.default_profiles[j]._id) - - # data = sdk_client.get_equipment_by_customer_id() - # equipment_ids = [] - # for i in data: - # equipment_ids.append(i) - # print(equipment_ids[0]._details._equipment_model) - # sdk_client.disconnect_cloudsdk() - # time.sleep(2) - - # sdk_client.get_equipment_by_customer_id(customer_id=2) - # ap_utils = APUtils(sdk_client=sdk_client) - # print(sdk_client.configuration.api_key_prefix) - # ap_utils.select_rf_profile(profile_data=None) - # profile_data = { - # "profile_name": "test-ssid-open", - # "ssid_name": "test_open", - # "mode": "BRIDGE" - # } - - # ap_utils.create_open_ssid_profile(profile_data=profile_data) - # profile_data = { - # "profile_name": "test-ssid-wpa", - # "ssid_name": "test_wpa_test", - # "mode": "BRIDGE", - # "security_key": "testing12345" - # } - # ap_utils.create_wpa_ssid_profile(profile_data=profile_data, fiveg=False) - # profile_data = { - # "profile_name": "test-ap-profile", - # } - # ap_utils.set_ap_profile(profile_data=profile_data) - # ap_utils.push_profile_old_method(equipment_id='12') - - # sdk_client.get_profile_template() - # ap_utils.select_rf_profile(profile_data=None) - # # radius_info = { - # # "name": "Radius-Profile-" + str(datetime.datetime.now()), - # # "ip": "192.168.200.75", - # # "port": 1812, - # # "secret": "testing123" - # # } - # # - # # ap_utils.set_radius_profile(radius_info=radius_info) - # # profile_data = { - # # "profile_name": "test-ssid-open", - # # "ssid_name": "test_open", - # # "mode": "BRIDGE" - # # } - # # - # # # ap_utils.create_open_ssid_profile(profile_data=profile_data) - # profile_data = { - # "profile_name": "test-ssid-wpa", - # "ssid_name": "test_wpa", - # "mode": "BRIDGE", - # "security_key": "testing12345" - # } - # # # - # ap_utils.create_wpa_ssid_profile(profile_data=profile_data) - # # - # # # Change the profile data if ssid/profile already exists - - # # # - # # # obj.portal_ping() - # # # obj.get_equipment_by_customer_id(customer_id=2) - # # # obj.get_profiles_by_customer_id(customer_id=2) - # # # print(obj.default_profiles) - - # # time.sleep(20) - # # # Please change the equipment ID with the respective testbed - # #ap_utils.push_profile(equipment_id=11) - # # ap ssh - # ap_utils.push_profile_old_method(equipment_id='12') - # time.sleep(1) - - # ap_utils.delete_profile(profile_id=ap_utils.profile_ids) diff --git a/tests/2.4ghz/test_generic.py b/tests/2.4ghz/test_generic.py deleted file mode 100644 index 6fa81b08d..000000000 --- a/tests/2.4ghz/test_generic.py +++ /dev/null @@ -1,40 +0,0 @@ -import pytest - -@pytest.mark.usefixtures('setup_cloudsdk') -@pytest.mark.usefixtures('update_firmware') -@pytest.mark.UHF # example of a class mark -class Test24ghz(object): - @pytest.mark.wpa2 - def test_single_client_wpa2(self, setup_cloudsdk, update_firmware): - print(setup_cloudsdk) - assert 1 == 1 - - @pytest.mark.open - def test_single_client_open(self, setup_cloudsdk, update_firmware): - print(setup_cloudsdk) - assert 1 == 1 - -@pytest.mark.usefixtures('setup_cloudsdk') -@pytest.mark.usefixtures('update_firmware') -@pytest.mark.SHF # example of a class mark -class Test50ghz(object): - @pytest.mark.wpa2 - def test_single_client_wpa2(self, setup_cloudsdk, update_firmware): - print(setup_cloudsdk) - assert 1 == 0 - - @pytest.mark.open - def test_single_client_open(self, setup_cloudsdk, update_firmware): - print(setup_cloudsdk) - assert 1 == 0 - - - - - - - - - - - diff --git a/tests/README.md b/tests/README.md index 96f664530..677f69263 100644 --- a/tests/README.md +++ b/tests/README.md @@ -1,90 +1,10 @@ -## Cloud SDK Library -Using Swagger Autogenerated CloudSDK Library pypi package (implemented with [swagger codegen](https://github.com/swagger-api/swagger-codegen)). -Using [pytest] as the test execution framework. -Using [pylint](http://pylint.pycqa.org) for code quality monitoring. -Using [allure](https://docs.qameta.io/allure/#_about) with Github Pages to report test outcome. +# Pytest Framework +## Perform Unit Tests in TIP Community Testbeds -### Follow the setps below to setup the environment for your development Environment +### Fixtures : +#### conftest.py +### Unit Tests : +#### Structured around multiple Directories +### Markers : +#### Categorized the Test across different Markers -```shell -mkdir ~/.pip -echo "[global]" > ~/.pip/pip.conf -echo "index-url = https://pypi.org/simple" >> ~/.pip/pip.conf -echo "extra-index-url = https://tip-read:tip-read@tip.jfrog.io/artifactory/api/pypi/tip-wlan-python-pypi-local/simple" >> ~/.pip/pip.conf -``` - -after that do the following in this folder -```shell -pip3 install -r requirements.txt -``` - -Now your cloud sdk code is downloaded with all of the dependencies and you can start working on the solution - -### Docker - -Alternatively you can use provided dockerfiles to develop\lint your code: - -```shell -docker build -t wlan-cloud-test -f dockerfile . -docker build -t wlan-cloud-lint -f dockerfile-lint . -``` - -and then you can do something like this to lint your code: - -```shell -docker run -it --rm -v %path_to_this_dir%/tests wlan-tip-lint -d protected-access *py # for now -docker run -it --rm -v %path_to_this_dir%/tests wlan-tip-lint *py # for future -``` - -to have a better output (sorted by line numbers) you can do something like this: - -```shell -docker run -it --rm --entrypoint sh -v %path_to_this_dir%/tests wlan-tip-lint -- -c 'pylint *py | sort -t ":" -k 2,2n' -``` - -and you can use something like this to develop your code: - -```shell -docker run -it -v %path_to_this_dir%/tests wlan-tip-test -``` - -### General guidelines - -This testing code adheres to generic [pep8](https://www.python.org/dev/peps/pep-0008/#introduction) style guidelines, most notably: - -1. [Documentation strings](https://www.python.org/dev/peps/pep-0008/#documentation-strings) -2. [Naming conventions](https://www.python.org/dev/peps/pep-0008/#prescriptive-naming-conventions) -3. [Sphynx docstring format](https://sphinx-rtd-tutorial.readthedocs.io/en/latest/docstrings.html) - -We are using the `pylint` package to do the linting. Documentation for it can be found [here](http://pylint.pycqa.org/en/latest/). -In general, the customizations are possible via the `.pylintrc` file: - -1. Line length below 120 characters is fine (search for max-line-length) -2. No new line at the end of file is fine (search for missing-final-newline) -3. Multiple new lines at the end of file are fine (search for trailing-newlines) -4. Indent using 4 spaces (search for indent-string) -5. todo - -In future we should enforce a policy, where we cannot merge a code where the pylint scoe goes below 7: - -```shell -pylint --fail-under=7 *py -``` - -the command above would produce a non-zero exit code if the score drops below 7. - -### Reporting - -Currently the plan is to use pytest integrated with [allure](https://docs.qameta.io/allure/#_pytest) to create visual reports for the test outcomes - -### Miscelanneous - -1. Do not use old style string formatting: `"Hello %s" % var`; use `f"Hello {var}` instead -2. use `"""` in Docstrings -3. todo - -### Useful links - -https://docs.pytest.org/en/latest/example/markers.html -https://docs.pytest.org/en/latest/usage.html -http://pythontesting.net/framework/pytest/pytest-introduction/ \ No newline at end of file diff --git a/tests/ap_tests/test_apnos.py b/tests/ap_tests/test_apnos.py new file mode 100644 index 000000000..8fcebb44e --- /dev/null +++ b/tests/ap_tests/test_apnos.py @@ -0,0 +1,44 @@ +""" +About: It contains some Functional Unit Tests for CloudSDK+APNOS and to run and test them on per unit level +""" +import pytest + + +# Note: Use Reusable Fixtures, Create SSID Profile, Equipment_AP Profile, Use RF Profile, Radius Profile, +# Push and Verify +@pytest.mark.test_apnos_profiles +class TestProfiles(object): + + @pytest.mark.test_apnos_open_ssid + def test_open_ssid(self): + # Write a Test case that creates Open ssid and pushes it to AP, and verifies that profile is applied properly + yield True + + @pytest.mark.test_apnos_wpa_ssid + def test_wpa_ssid(self): + # Write a Test case that creates WPA ssid and pushes it to AP, and verifies that profile is applied properly + yield True + + @pytest.mark.test_apnos_wpa2_personal_ssid + def test_wpa2_personal_ssid(self): + # Write a Test case that creates WPA2-PERSONAL ssid and pushes it to AP, and verifies that profile is applied + # properly + yield True + + @pytest.mark.test_apnos_wpa2_enterprise_ssid + def test_wpa2_enterprise_ssid(self): + # Write a Test case that creates WPA2-ENTERPRISE ssid and pushes it to AP, and verifies that profile is + # applied properly + yield True + + @pytest.mark.test_apnos_wpa3_personal_ssid + def test_wpa3_personal_ssid(self): + # Write a Test case that creates WPA3-PERSONAL ssid and pushes it to AP, and verifies that profile is applied + # properly + yield True + + @pytest.mark.test_apnos_wpa3_enterprise_ssid + def test_wpa3_enterprise_ssid(self): + # Write a Test case that creates WPA3-ENTERPRISE ssid and pushes it to AP, and verifies that profile is + # applied properly + yield True diff --git a/tests/client_connectivity/test_bridge_mode.py b/tests/client_connectivity/test_bridge_mode.py index f0c1c78cc..7e46c999b 100644 --- a/tests/client_connectivity/test_bridge_mode.py +++ b/tests/client_connectivity/test_bridge_mode.py @@ -10,30 +10,13 @@ class TestBridgeModeClientConnectivity(object): @pytest.mark.nightly @pytest.mark.nightly_bridge def test_single_client(self, setup_cloudsdk, update_firmware, setup_bridge_mode, disconnect_cloudsdk): - print("I am Iron Man") - assert setup_bridge_mode is True + print("Run Client Connectivity Here - BRIDGE Mode") + if setup_bridge_mode[0] == setup_bridge_mode[1]: + assert True + else: + assert False + @pytest.mark.bridge_mode_multi_client_connectivity def test_multi_client(self): - pass - -# """ -# Bridge mode: -# testbed name, customer_id, equipment_id, jfrog-credentials, cloudsdk_tests-credentials, skip-open, skip-wpa, skip-wpa2, skip-radius -# Create a CloudSDK Instance and verify login -# Get Equipment by Id -# upgrade firmware if not latest -# create bridge mode ssid's -# LANforge Tests -# -# NAT mode: -# -# """ -# """ -# -# Cloudsdk and AP Test cases are seperate -# -# Bridge Mode: -# WPA, WPA2-PERSONAL, WPA2-ENTERPRISE -# 2.4/5, 2.4/5, 2.4/5 -# """ + assert 1 == 1 diff --git a/tests/client_connectivity/test_nat_mode.py b/tests/client_connectivity/test_nat_mode.py index c752dff54..500da52d5 100644 --- a/tests/client_connectivity/test_nat_mode.py +++ b/tests/client_connectivity/test_nat_mode.py @@ -8,8 +8,12 @@ class TestNATModeClientConnectivity(object): @pytest.mark.nat_mode_single_client_connectivity @pytest.mark.nightly @pytest.mark.nightly_nat - def test_single_client(self, setup_cloudsdk, update_firmware, setup_bridge_profile, disconnect_cloudsdk): - assert setup_cloudsdk != -1 + def test_single_client(self, setup_cloudsdk, update_firmware, setup_nat_mode, disconnect_cloudsdk): + print("Run Client Connectivity Here - NAT Mode") + if setup_nat_mode[0] == setup_nat_mode[1]: + assert True + else: + assert False @pytest.mark.nat_mode_multi_client_connectivity def test_multi_client(self): diff --git a/tests/client_connectivity/test_vlan_mode.py b/tests/client_connectivity/test_vlan_mode.py index 3171cbcf2..dc2e0edb6 100644 --- a/tests/client_connectivity/test_vlan_mode.py +++ b/tests/client_connectivity/test_vlan_mode.py @@ -8,8 +8,12 @@ class TestVLANModeClientConnectivity(object): @pytest.mark.vlan_mode_single_client_connectivity @pytest.mark.nightly @pytest.mark.nightly_vlan - def test_single_client(self, setup_cloudsdk, update_firmware, setup_bridge_profile, disconnect_cloudsdk): - assert setup_cloudsdk != -1 + def test_single_client(self, setup_cloudsdk, update_firmware, setup_vlan_mode, disconnect_cloudsdk): + print("Run Client Connectivity Here - VLAN Mode") + if setup_vlan_mode[0] == setup_vlan_mode[1]: + assert True + else: + assert False @pytest.mark.vlan_mode_multi_client_connectivity def test_multi_client(self): diff --git a/tests/cloudsdk_tests/test_cloud.py b/tests/cloudsdk_tests/test_cloud.py index 8532ac080..5309acb9c 100644 --- a/tests/cloudsdk_tests/test_cloud.py +++ b/tests/cloudsdk_tests/test_cloud.py @@ -1,3 +1,8 @@ + +""" +About: It contains some Functional Unit Tests for CloudSDK and to run and test them on per unit level +""" + import pytest import sys @@ -6,6 +11,7 @@ if 'cloudsdk_tests' not in sys.path: from cloudsdk import CloudSDK + @pytest.mark.userfixtures('get_customer_id') @pytest.mark.userfixtures('get_testbed_name') @pytest.mark.login @@ -29,6 +35,10 @@ class TestLogin(object): assert value == False + + + + @pytest.mark.userfixtures('get_customer_id') @pytest.mark.userfixtures('get_testbed_name') @pytest.mark.ssid_profiles @@ -111,9 +121,3 @@ class TestEquipmentAPProfile(object): def test_equipment_ap_profile_creation(self): pass - - - - - - diff --git a/tests/conftest.py b/tests/conftest.py index b5888d847..c2c13dff6 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -164,6 +164,7 @@ def disconnect_cloudsdk(instantiate_cloudsdk): instantiate_cloudsdk.disconnect_cloudsdk() + @pytest.fixture(scope="function") def setup_bridge_mode(request, instantiate_cloudsdk, setup_profile_data, create_bridge_profile): # vif config and vif state logic here @@ -206,16 +207,9 @@ def setup_bridge_mode(request, instantiate_cloudsdk, setup_profile_data, create_ profile_data = list(profile_data) profile_data.sort() - def delete_profile(profile_data, sdk_client): - print(f"Cloud SDK cleanup for {request.node.originalname}, {profile_data}") - delete_profiles(profile_names=profile_data, sdk_client=sdk_client) - request.addfinalizer(delete_profile(profile_data, instantiate_cloudsdk)) + # request.addfinalizer(delete_profiles(profile_data, instantiate_cloudsdk)) yield [profile_data, vif_config, vif_state] - -@pytest.fixture(scope="function") -def setup_profile_data(request): - # logic to setup bridge mode ssid and parameters - yield True + delete_profiles(instantiate_cloudsdk) @pytest.fixture(scope="function") @@ -229,6 +223,7 @@ def create_bridge_profile(request, instantiate_cloudsdk, get_testbed_name): profile_data = { "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '2G_O_BR'), "ssid_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '2G_O_BR'), + "vlan": 1, "mode": "BRIDGE" } profile_object.create_open_ssid_profile(profile_data=profile_data, fiveg=False) @@ -236,6 +231,7 @@ def create_bridge_profile(request, instantiate_cloudsdk, get_testbed_name): profile_data = { "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '5G_O_BR'), "ssid_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '5G_O_BR'), + "vlan": 1, "mode": "BRIDGE" } profile_object.create_open_ssid_profile(profile_data=profile_data, two4g=False) @@ -246,6 +242,7 @@ def create_bridge_profile(request, instantiate_cloudsdk, get_testbed_name): "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '2G_WPA_BR'), "ssid_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '2G_WPA_BR'), "mode": "BRIDGE", + "vlan": 1, "security_key": "%s-%s" % ("ecw5410", "2G_WPA_BR") } profile_object.create_wpa_ssid_profile(profile_data=profile_data, fiveg=False) @@ -254,6 +251,7 @@ def create_bridge_profile(request, instantiate_cloudsdk, get_testbed_name): "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '5G_WPA_BR'), "ssid_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '5G_WPA_BR'), "mode": "BRIDGE", + "vlan": 1, "security_key": "%s-%s" % ("ecw5410", "5G_WPA_BR") } profile_object.create_wpa_ssid_profile(profile_data=profile_data, two4g=False) @@ -265,6 +263,7 @@ def create_bridge_profile(request, instantiate_cloudsdk, get_testbed_name): "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '5G_WPA2_BR'), "ssid_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '5G_WPA2_BR'), "mode": "BRIDGE", + "vlan": 1, "security_key": "%s-%s" % ("ecw5410", "5G_WPA2_BR") } profile_object.create_wpa2_personal_ssid_profile(profile_data=profile_data, fiveg=False) @@ -273,6 +272,7 @@ def create_bridge_profile(request, instantiate_cloudsdk, get_testbed_name): "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '2G_WPA2_BR'), "ssid_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '2G_WPA2_BR'), "mode": "BRIDGE", + "vlan": 1, "security_key": "%s-%s" % ("ecw5410", "2G_WPA2_BR") } profile_object.create_wpa2_personal_ssid_profile(profile_data=profile_data, two4g=False) @@ -293,65 +293,121 @@ def create_bridge_profile(request, instantiate_cloudsdk, get_testbed_name): } profile_object.set_ap_profile(profile_data=profile_data) profile_object.push_profile_old_method(equipment_id='13') - # create an equipment ap profile yield ssid_list @pytest.fixture(scope="function") -def setup_nat_profile(request, instantiate_cloudsdk, get_testbed_name): +def setup_nat_mode(request, instantiate_cloudsdk, setup_profile_data, create_nat_profile): + # vif config and vif state logic here + logging.basicConfig(level=logging.DEBUG) + log = logging.getLogger('test_1') + APNOS_CREDENTIAL_DATA = { + 'jumphost_ip': request.config.getini("jumphost_ip"), + 'jumphost_username': request.config.getini("jumphost_username"), + 'jumphost_password': request.config.getini("jumphost_password"), + 'jumphost_port': request.config.getini("jumphost_port") + } + obj = APNOS(APNOS_CREDENTIAL_DATA) + profile_data = create_nat_profile + vif_config = list(obj.get_vif_config_ssids()) + vif_config.sort() + vif_state = list(obj.get_vif_state_ssids()) + vif_state.sort() + profile_data = list(profile_data) + profile_data.sort() + for i in range(18): + print("profiles pushed: ", profile_data) + print("vif config data: ", vif_config) + print("vif state data: ", vif_state) + if profile_data == vif_config: + print("matched") + if vif_config == vif_state: + status = True + print("matched 1") + break + else: + print("matched 2") + status = False + else: + status = False + time.sleep(10) + vif_config = list(obj.get_vif_config_ssids()) + vif_config.sort() + vif_state = list(obj.get_vif_state_ssids()) + vif_state.sort() + profile_data = list(profile_data) + profile_data.sort() + + # request.addfinalizer(delete_profiles(profile_data, instantiate_cloudsdk)) + yield [profile_data, vif_config, vif_state] + delete_profiles(instantiate_cloudsdk) + + +@pytest.fixture(scope="function") +def create_nat_profile(request, instantiate_cloudsdk, get_testbed_name): # SSID and AP name shall be used as testbed_name and mode profile_object = ProfileUtility(sdk_client=instantiate_cloudsdk) profile_object.get_default_profiles() profile_object.set_rf_profile() + ssid_list = [] if request.config.getini("skip-open") == 'False': profile_data = { "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '2G_O_NAT'), "ssid_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '2G_O_NAT'), + "vlan": 1, "mode": "NAT" } profile_object.create_open_ssid_profile(profile_data=profile_data, fiveg=False) + ssid_list.append(profile_data["profile_name"]) profile_data = { "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '5G_O_NAT'), "ssid_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '5G_O_NAT'), + "vlan": 1, "mode": "NAT" } profile_object.create_open_ssid_profile(profile_data=profile_data, two4g=False) - # Create an open ssid profile + ssid_list.append(profile_data["profile_name"]) if request.config.getini("skip-wpa") == 'False': profile_data = { "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '2G_WPA_NAT'), "ssid_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '2G_WPA_NAT'), "mode": "NAT", + "vlan": 1, "security_key": "%s-%s" % ("ecw5410", "2G_WPA_NAT") } profile_object.create_wpa_ssid_profile(profile_data=profile_data, fiveg=False) + ssid_list.append(profile_data["profile_name"]) profile_data = { "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '5G_WPA_NAT'), "ssid_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '5G_WPA_NAT'), "mode": "NAT", + "vlan": 1, "security_key": "%s-%s" % ("ecw5410", "5G_WPA_NAT") } profile_object.create_wpa_ssid_profile(profile_data=profile_data, two4g=False) - # Create a wpa profile - pass + ssid_list.append(profile_data["profile_name"]) + if request.config.getini("skip-wpa2") == 'False': profile_data = { "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '5G_WPA2_NAT'), "ssid_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '5G_WPA2_NAT'), "mode": "NAT", + "vlan": 1, "security_key": "%s-%s" % ("ecw5410", "5G_WPA2_NAT") } profile_object.create_wpa2_personal_ssid_profile(profile_data=profile_data, fiveg=False) + ssid_list.append(profile_data["profile_name"]) profile_data = { "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '2G_WPA2_NAT'), "ssid_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '2G_WPA2_NAT'), "mode": "NAT", + "vlan": 1, "security_key": "%s-%s" % ("ecw5410", "2G_WPA2_NAT") } profile_object.create_wpa2_personal_ssid_profile(profile_data=profile_data, two4g=False) - # Create a wpa2 profile - pass + ssid_list.append(profile_data["profile_name"]) + if request.config.getini("skip-eap") == 'False': radius_info = { "name": get_testbed_name + "-RADIUS-Nightly", @@ -367,41 +423,143 @@ def setup_nat_profile(request, instantiate_cloudsdk, get_testbed_name): profile_object.set_ap_profile(profile_data=profile_data) profile_object.push_profile_old_method(equipment_id='13') # create an equipment ap profile - yield profile_object + yield ssid_list @pytest.fixture(scope="function") -def setup_vlan_profile(request, instantiate_cloudsdk): +def setup_profile_data(request): + # logic to setup bridge mode ssid and parameters + yield True + +@pytest.fixture(scope="function") +def setup_vlan_mode(request, instantiate_cloudsdk, setup_profile_data, create_vlan_profile): + # vif config and vif state logic here + logging.basicConfig(level=logging.DEBUG) + log = logging.getLogger('test_1') + APNOS_CREDENTIAL_DATA = { + 'jumphost_ip': request.config.getini("jumphost_ip"), + 'jumphost_username': request.config.getini("jumphost_username"), + 'jumphost_password': request.config.getini("jumphost_password"), + 'jumphost_port': request.config.getini("jumphost_port") + } + obj = APNOS(APNOS_CREDENTIAL_DATA) + profile_data = create_vlan_profile + vif_config = list(obj.get_vif_config_ssids()) + vif_config.sort() + vif_state = list(obj.get_vif_state_ssids()) + vif_state.sort() + profile_data = list(profile_data) + profile_data.sort() + for i in range(18): + print("profiles pushed: ", profile_data) + print("vif config data: ", vif_config) + print("vif state data: ", vif_state) + if profile_data == vif_config: + print("matched") + if vif_config == vif_state: + status = True + print("matched 1") + break + else: + print("matched 2") + status = False + else: + status = False + time.sleep(10) + vif_config = list(obj.get_vif_config_ssids()) + vif_config.sort() + vif_state = list(obj.get_vif_state_ssids()) + vif_state.sort() + profile_data = list(profile_data) + profile_data.sort() + + # request.addfinalizer(delete_profiles(profile_data, instantiate_cloudsdk)) + yield [profile_data, vif_config, vif_state] + delete_profiles(instantiate_cloudsdk) + + +@pytest.fixture(scope="function") +def create_vlan_profile(request, instantiate_cloudsdk, get_testbed_name): # SSID and AP name shall be used as testbed_name and mode profile_object = ProfileUtility(sdk_client=instantiate_cloudsdk) - # profile_object.select_rf_profile(profile_data=None) - if request.config.getini("skip-open") is False: - # Create an open ssid profile - pass - if request.config.getini("skip-wpa") is False: - # Create a wpa profile - pass - if request.config.getini("skip-wpa2") is False: - # Create a wpa2 profile - pass - if request.config.getini("skip-eap") is False: - # create a radius profile + profile_object.get_default_profiles() + profile_object.set_rf_profile() + ssid_list = [] + if request.config.getini("skip-open") == 'False': + profile_data = { + "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '2G_O_VLAN'), + "ssid_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '2G_O_VLAN'), + "vlan": 100, + "mode": "BRIDGE" + } + profile_object.create_open_ssid_profile(profile_data=profile_data, fiveg=False) + ssid_list.append(profile_data["profile_name"]) + profile_data = { + "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '5G_O_VLAN'), + "ssid_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '5G_O_VLAN'), + "vlan": 100, + "mode": "BRIDGE" + } + profile_object.create_open_ssid_profile(profile_data=profile_data, two4g=False) + ssid_list.append(profile_data["profile_name"]) + if request.config.getini("skip-wpa") == 'False': + profile_data = { + "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '2G_WPA_VLAN'), + "ssid_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '2G_WPA_VLAN'), + "mode": "BRIDGE", + "vlan": 100, + "security_key": "%s-%s" % ("ecw5410", "2G_WPA_VLAN") + } + profile_object.create_wpa_ssid_profile(profile_data=profile_data, fiveg=False) + ssid_list.append(profile_data["profile_name"]) + profile_data = { + "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '5G_WPA_VLAN'), + "ssid_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '5G_WPA_VLAN'), + "mode": "BRIDGE", + "vlan": 100, + "security_key": "%s-%s" % ("ecw5410", "5G_WPA_VLAN") + } + profile_object.create_wpa_ssid_profile(profile_data=profile_data, two4g=False) + ssid_list.append(profile_data["profile_name"]) + + if request.config.getini("skip-wpa2") == 'False': + profile_data = { + "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '5G_WPA2_VLAN'), + "ssid_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '5G_WPA2_VLAN'), + "mode": "BRIDGE", + "vlan": 100, + "security_key": "%s-%s" % ("ecw5410", "5G_WPA2_VLAN") + } + profile_object.create_wpa2_personal_ssid_profile(profile_data=profile_data, fiveg=False) + ssid_list.append(profile_data["profile_name"]) + profile_data = { + "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '2G_WPA2_VLAN'), + "ssid_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '2G_WPA2_VLAN'), + "mode": "BRIDGE", + "vlan": 100, + "security_key": "%s-%s" % ("ecw5410", "2G_WPA2_VLAN") + } + profile_object.create_wpa2_personal_ssid_profile(profile_data=profile_data, two4g=False) + ssid_list.append(profile_data["profile_name"]) + + if request.config.getini("skip-eap") == 'False': + radius_info = { + "name": get_testbed_name + "-RADIUS-Nightly", + "ip": "192.168.200.75", + "port": 1812, + "secret": "testing123" + } # create a eap profile pass - # create an equipment ap profile - yield profile_object - - -@pytest.fixture(scope="function") -def apply_default_profile(instantiate_cloudsdk): - profile_object = ProfileUtility(sdk_client=instantiate_cloudsdk) - profile_object.get_default_profiles() - profile_object.profile_creation_ids['ap'] = profile_object.default_profiles['equipment_ap_3_radios'] + profile_data = { + "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", 'VLAN'), + } + profile_object.set_ap_profile(profile_data=profile_data) profile_object.push_profile_old_method(equipment_id='13') + # create an equipment ap profile + yield ssid_list -def delete_profiles(profile_names, sdk_client=None): +def delete_profiles(sdk_client=None): profile_object = ProfileUtility(sdk_client=sdk_client) - profile_object.get_default_profiles() - profile_object.profile_creation_ids['ap'] = profile_object.default_profiles['equipment_ap_3_radios'] - profile_object.push_profile_old_method() + profile_object.delete_current_profile(equipment_id=13) From a7149234587cf0340922b4f6163c684eef0471bb Mon Sep 17 00:00:00 2001 From: shivamcandela Date: Thu, 18 Mar 2021 04:31:49 +0530 Subject: [PATCH 33/45] Fixture updates- Profiles, README updates, marker updates Signed-off-by: shivamcandela --- libs/cloudsdk/cloudsdk.py | 2 + libs/lab_ap_info.py | 2 +- tests/README.md | 33 ++ tests/client_connectivity/test_bridge_mode.py | 57 +++- tests/client_connectivity/test_nat_mode.py | 3 +- tests/client_connectivity/test_vlan_mode.py | 3 +- tests/cloudsdk_tests/test_cloud.py | 10 +- tests/configuration_data.py | 35 --- tests/conftest.py | 282 +++++++----------- 9 files changed, 204 insertions(+), 223 deletions(-) diff --git a/libs/cloudsdk/cloudsdk.py b/libs/cloudsdk/cloudsdk.py index 3a3866423..7a2b78a8b 100644 --- a/libs/cloudsdk/cloudsdk.py +++ b/libs/cloudsdk/cloudsdk.py @@ -301,6 +301,7 @@ class ProfileUtility: default_profile._details['keyStr'] = profile_data['security_key'] default_profile._details['forwardMode'] = profile_data['mode'] default_profile._details['secureMode'] = 'wpaPSK' + print(default_profile) profile_id = self.profile_client.create_profile(body=default_profile)._id self.profile_creation_ids['ssid'].append(profile_id) self.profile_ids.append(profile_id) @@ -529,3 +530,4 @@ class JFrogUtility: def get_revisions(self, model=None): pass + diff --git a/libs/lab_ap_info.py b/libs/lab_ap_info.py index b82278560..33d731a88 100755 --- a/libs/lab_ap_info.py +++ b/libs/lab_ap_info.py @@ -3,7 +3,7 @@ ##AP Models Under Test ap_models = ["ec420","ea8300","ecw5211","ecw5410", "wf188n", "wf194c", "ex227", "ex447", "eap101", "eap102"] -##Cloud Type(cloudSDK = v1, CMAP = cmap) +##Cloud Type(cloudsdk_tests = v1, CMAP = cmap) cloud_type = "v1" ##LANForge Info diff --git a/tests/README.md b/tests/README.md index 677f69263..8aadabdec 100644 --- a/tests/README.md +++ b/tests/README.md @@ -8,3 +8,36 @@ ### Markers : #### Categorized the Test across different Markers + +### Note: Run all the tests from "tests" directory + +## Examples: +Following are the examples for Running Client Connectivity Test with different Combinations + + pytest -m nightly -s + pytest -m nightly_bridge -s + pytest -m nightly_nat -s + pytest -m nightly_vlan -s + pytest -m bridge_mode_single_client_connectivity -s + pytest -m nat_mode_single_client_connectivity -s + pytest -m vlan_mode_single_client_connectivity -s + pytest -m bridge_mode_client_connectivity -s + pytest -m nat_mode_client_connectivity -s + pytest -m vlan_mode_client_connectivity -s + +Following are the examples for cloudSDK standalone tests + + pytest -m test_login -s + pytest -m test_bearer_token -s + pytest -m test_portal_ping -s + + more to be added ... + +Following are the examples for apnos standalone tests + + To be added... + +Following are the examples for apnos+cloudsdk mixed tests + + To be added... + diff --git a/tests/client_connectivity/test_bridge_mode.py b/tests/client_connectivity/test_bridge_mode.py index 7e46c999b..89b875f7f 100644 --- a/tests/client_connectivity/test_bridge_mode.py +++ b/tests/client_connectivity/test_bridge_mode.py @@ -1,4 +1,22 @@ import pytest +import sys +# +# +# for folder in 'py-json', 'py-scripts': +# if folder not in sys.path: +# sys.path.append(f'../../lanforge/lanforge-scripts/{folder}') +# +# +# from LANforge.LFUtils import * +# +# # if you lack __init__.py in this directory you will not find sta_connect module# +# +# if 'py-json' not in sys.path: +# sys.path.append('../../py-scripts') +# +# import sta_connect2 +# from sta_connect2 import StaConnect2 +import time @pytest.mark.usefixtures('setup_cloudsdk') @@ -11,12 +29,47 @@ class TestBridgeModeClientConnectivity(object): @pytest.mark.nightly_bridge def test_single_client(self, setup_cloudsdk, update_firmware, setup_bridge_mode, disconnect_cloudsdk): print("Run Client Connectivity Here - BRIDGE Mode") + for i in setup_bridge_mode: + for j in i: + staConnect = StaConnect2("192.168.200.80", 8080, debug_=False) + staConnect.sta_mode = 0 + staConnect.upstream_resource = 1 + staConnect.upstream_port = "eth1" + staConnect.radio = "wiphy0" + staConnect.resource = 1 + staConnect.dut_ssid = j + staConnect.dut_passwd = "[BLANK]" + staConnect.dut_security = "open" + staConnect.station_names = ["sta0000", "sta0001"] + staConnect.sta_prefix = "sta" + staConnect.runtime_secs = 10 + staConnect.bringup_time_sec = 60 + staConnect.cleanup_on_exit = True + # staConnect.cleanup() + staConnect.setup() + staConnect.start() + print("napping %f sec" % staConnect.runtime_secs) + time.sleep(staConnect.runtime_secs) + staConnect.stop() + staConnect.cleanup() + run_results = staConnect.get_result_list() + for result in run_results: + print("test result: " + result) + # result = 'pass' + print("Single Client Connectivity :", staConnect.passes) + if staConnect.passes() == True: + print("Single client connection to", staConnect.dut_ssid, "successful. Test Passed") + else: + print("Single client connection to", staConnect.dut_ssid, "unsuccessful. Test Failed") + + time.sleep(30) if setup_bridge_mode[0] == setup_bridge_mode[1]: assert True else: assert False - @pytest.mark.bridge_mode_multi_client_connectivity - def test_multi_client(self): + def test_multi_client(self, create_vlan_profile): + print(create_vlan_profile) assert 1 == 1 + diff --git a/tests/client_connectivity/test_nat_mode.py b/tests/client_connectivity/test_nat_mode.py index 500da52d5..1767edcad 100644 --- a/tests/client_connectivity/test_nat_mode.py +++ b/tests/client_connectivity/test_nat_mode.py @@ -1,5 +1,5 @@ import pytest - +import time @pytest.mark.usefixtures('setup_cloudsdk') @pytest.mark.usefixtures('update_firmware') @pytest.mark.nat_mode_client_connectivity @@ -10,6 +10,7 @@ class TestNATModeClientConnectivity(object): @pytest.mark.nightly_nat def test_single_client(self, setup_cloudsdk, update_firmware, setup_nat_mode, disconnect_cloudsdk): print("Run Client Connectivity Here - NAT Mode") + time.sleep(30) if setup_nat_mode[0] == setup_nat_mode[1]: assert True else: diff --git a/tests/client_connectivity/test_vlan_mode.py b/tests/client_connectivity/test_vlan_mode.py index dc2e0edb6..e235d9ca1 100644 --- a/tests/client_connectivity/test_vlan_mode.py +++ b/tests/client_connectivity/test_vlan_mode.py @@ -1,5 +1,5 @@ import pytest - +import time @pytest.mark.usefixtures('setup_cloudsdk') @pytest.mark.usefixtures('update_firmware') @pytest.mark.vlan_mode_client_connectivity @@ -10,6 +10,7 @@ class TestVLANModeClientConnectivity(object): @pytest.mark.nightly_vlan def test_single_client(self, setup_cloudsdk, update_firmware, setup_vlan_mode, disconnect_cloudsdk): print("Run Client Connectivity Here - VLAN Mode") + time.sleep(30) if setup_vlan_mode[0] == setup_vlan_mode[1]: assert True else: diff --git a/tests/cloudsdk_tests/test_cloud.py b/tests/cloudsdk_tests/test_cloud.py index 5309acb9c..1e3f8d8d6 100644 --- a/tests/cloudsdk_tests/test_cloud.py +++ b/tests/cloudsdk_tests/test_cloud.py @@ -1,4 +1,3 @@ - """ About: It contains some Functional Unit Tests for CloudSDK and to run and test them on per unit level """ @@ -11,12 +10,12 @@ if 'cloudsdk_tests' not in sys.path: from cloudsdk import CloudSDK - @pytest.mark.userfixtures('get_customer_id') @pytest.mark.userfixtures('get_testbed_name') -@pytest.mark.login +@pytest.mark.test_login class TestLogin(object): + @pytest.mark.test_bearer_token def test_token_login(self, get_customer_id, get_testbed_name): try: obj = CloudSDK(testbed=get_testbed_name, customer_id=get_customer_id) @@ -26,6 +25,7 @@ class TestLogin(object): value = True assert value == False + @pytest.mark.test_portal_ping def test_ping(self, get_customer_id, get_testbed_name): try: obj = CloudSDK(testbed=get_testbed_name, customer_id=get_customer_id) @@ -35,10 +35,6 @@ class TestLogin(object): assert value == False - - - - @pytest.mark.userfixtures('get_customer_id') @pytest.mark.userfixtures('get_testbed_name') @pytest.mark.ssid_profiles diff --git a/tests/configuration_data.py b/tests/configuration_data.py index d2f43517f..32d47f1d5 100644 --- a/tests/configuration_data.py +++ b/tests/configuration_data.py @@ -2,41 +2,6 @@ A set of constants describing AP profiles """ -PROFILE_DATA = { - "OPEN": { - "2G": { - - }, - "5G": { - - } - }, - "WPA": { - "2G": { - - }, - "5G": { - - } - }, - "WPA2-PERSONAL": { - "2G": { - - }, - "5G": { - - } - }, - "WPA2-ENTERPRISE": { - "2G": { - - }, - "5G": { - - } - } -} - APNOS_CREDENTIAL_DATA = { 'jumphost_ip': "192.168.200.80", 'jumphost_username': "lanforge", diff --git a/tests/conftest.py b/tests/conftest.py index c2c13dff6..bbe030716 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -20,7 +20,7 @@ from cloudsdk import CloudSDK from cloudsdk import ProfileUtility import pytest import logging -from configuration_data import PROFILE_DATA + def pytest_addoption(parser): @@ -130,6 +130,11 @@ def pytest_unconfigure(config): print("Tests cleanup done") +""" +Basic CloudSDK inatance Objects +""" + + @pytest.fixture(scope="function") def setup_cloudsdk(request, instantiate_cloudsdk): equipment_id = instantiate_cloudsdk.validate_equipment_availability( @@ -164,12 +169,15 @@ def disconnect_cloudsdk(instantiate_cloudsdk): instantiate_cloudsdk.disconnect_cloudsdk() +""" +Fixtures to Create Profiles and Push to vif config and delete after the test completion +""" + @pytest.fixture(scope="function") -def setup_bridge_mode(request, instantiate_cloudsdk, setup_profile_data, create_bridge_profile): +def setup_bridge_mode(request, instantiate_cloudsdk, create_bridge_profile): # vif config and vif state logic here logging.basicConfig(level=logging.DEBUG) - log = logging.getLogger('test_1') APNOS_CREDENTIAL_DATA = { 'jumphost_ip': request.config.getini("jumphost_ip"), 'jumphost_username': request.config.getini("jumphost_username"), @@ -177,7 +185,10 @@ def setup_bridge_mode(request, instantiate_cloudsdk, setup_profile_data, create_ 'jumphost_port': request.config.getini("jumphost_port") } obj = APNOS(APNOS_CREDENTIAL_DATA) - profile_data = create_bridge_profile + profile_data = [] + for i in create_bridge_profile: + profile_data.append(i['ssid_name']) + log = logging.getLogger('test_1') vif_config = list(obj.get_vif_config_ssids()) vif_config.sort() vif_state = list(obj.get_vif_state_ssids()) @@ -213,75 +224,37 @@ def setup_bridge_mode(request, instantiate_cloudsdk, setup_profile_data, create_ @pytest.fixture(scope="function") -def create_bridge_profile(request, instantiate_cloudsdk, get_testbed_name): +def create_bridge_profile(request, instantiate_cloudsdk, setup_profile_data, get_testbed_name): + print(setup_profile_data) # SSID and AP name shall be used as testbed_name and mode profile_object = ProfileUtility(sdk_client=instantiate_cloudsdk) profile_object.get_default_profiles() profile_object.set_rf_profile() - ssid_list = [] + profile_list = [] if request.config.getini("skip-open") == 'False': - profile_data = { - "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '2G_O_BR'), - "ssid_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '2G_O_BR'), - "vlan": 1, - "mode": "BRIDGE" - } + profile_data = setup_profile_data['OPEN']['2G'] profile_object.create_open_ssid_profile(profile_data=profile_data, fiveg=False) - ssid_list.append(profile_data["profile_name"]) - profile_data = { - "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '5G_O_BR'), - "ssid_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '5G_O_BR'), - "vlan": 1, - "mode": "BRIDGE" - } + profile_list.append(profile_data) + profile_data = setup_profile_data['OPEN']['5G'] profile_object.create_open_ssid_profile(profile_data=profile_data, two4g=False) - ssid_list.append(profile_data["profile_name"]) - # Create an open ssid profile + profile_list.append(profile_data) if request.config.getini("skip-wpa") == 'False': - profile_data = { - "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '2G_WPA_BR'), - "ssid_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '2G_WPA_BR'), - "mode": "BRIDGE", - "vlan": 1, - "security_key": "%s-%s" % ("ecw5410", "2G_WPA_BR") - } + profile_data = setup_profile_data['WPA']['2G'] profile_object.create_wpa_ssid_profile(profile_data=profile_data, fiveg=False) - ssid_list.append(profile_data["profile_name"]) - profile_data = { - "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '5G_WPA_BR'), - "ssid_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '5G_WPA_BR'), - "mode": "BRIDGE", - "vlan": 1, - "security_key": "%s-%s" % ("ecw5410", "5G_WPA_BR") - } + profile_list.append(profile_data) + profile_data = setup_profile_data['WPA']['5G'] profile_object.create_wpa_ssid_profile(profile_data=profile_data, two4g=False) - ssid_list.append(profile_data["profile_name"]) - # Create a wpa profile - pass + profile_list.append(profile_data) if request.config.getini("skip-wpa2") == 'False': - profile_data = { - "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '5G_WPA2_BR'), - "ssid_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '5G_WPA2_BR'), - "mode": "BRIDGE", - "vlan": 1, - "security_key": "%s-%s" % ("ecw5410", "5G_WPA2_BR") - } + profile_data = setup_profile_data['WPA2']['2G'] profile_object.create_wpa2_personal_ssid_profile(profile_data=profile_data, fiveg=False) - ssid_list.append(profile_data["profile_name"]) - profile_data = { - "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '2G_WPA2_BR'), - "ssid_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '2G_WPA2_BR'), - "mode": "BRIDGE", - "vlan": 1, - "security_key": "%s-%s" % ("ecw5410", "2G_WPA2_BR") - } + profile_list.append(profile_data) + profile_data = setup_profile_data['WPA2']['5G'] profile_object.create_wpa2_personal_ssid_profile(profile_data=profile_data, two4g=False) - ssid_list.append(profile_data["profile_name"]) - # Create a wpa2 profile - pass + profile_list.append(profile_data) if request.config.getini("skip-eap") == 'False': radius_info = { - "name": request.config.getini("testbed-name") + "-RADIUS-Nightly", + "name": get_testbed_name + "-RADIUS-Nightly", "ip": "192.168.200.75", "port": 1812, "secret": "testing123" @@ -293,12 +266,11 @@ def create_bridge_profile(request, instantiate_cloudsdk, get_testbed_name): } profile_object.set_ap_profile(profile_data=profile_data) profile_object.push_profile_old_method(equipment_id='13') - # create an equipment ap profile - yield ssid_list + yield profile_list @pytest.fixture(scope="function") -def setup_nat_mode(request, instantiate_cloudsdk, setup_profile_data, create_nat_profile): +def setup_nat_mode(request, instantiate_cloudsdk, create_nat_profile): # vif config and vif state logic here logging.basicConfig(level=logging.DEBUG) log = logging.getLogger('test_1') @@ -309,7 +281,9 @@ def setup_nat_mode(request, instantiate_cloudsdk, setup_profile_data, create_nat 'jumphost_port': request.config.getini("jumphost_port") } obj = APNOS(APNOS_CREDENTIAL_DATA) - profile_data = create_nat_profile + profile_data = [] + for i in create_nat_profile: + profile_data.append(i['ssid_name']) vif_config = list(obj.get_vif_config_ssids()) vif_config.sort() vif_state = list(obj.get_vif_state_ssids()) @@ -345,69 +319,34 @@ def setup_nat_mode(request, instantiate_cloudsdk, setup_profile_data, create_nat @pytest.fixture(scope="function") -def create_nat_profile(request, instantiate_cloudsdk, get_testbed_name): +def create_nat_profile(request, instantiate_cloudsdk, setup_profile_data, get_testbed_name): + print(setup_profile_data) # SSID and AP name shall be used as testbed_name and mode profile_object = ProfileUtility(sdk_client=instantiate_cloudsdk) profile_object.get_default_profiles() profile_object.set_rf_profile() - ssid_list = [] + profile_list = [] if request.config.getini("skip-open") == 'False': - profile_data = { - "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '2G_O_NAT'), - "ssid_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '2G_O_NAT'), - "vlan": 1, - "mode": "NAT" - } + profile_data = setup_profile_data['OPEN']['2G'] profile_object.create_open_ssid_profile(profile_data=profile_data, fiveg=False) - ssid_list.append(profile_data["profile_name"]) - profile_data = { - "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '5G_O_NAT'), - "ssid_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '5G_O_NAT'), - "vlan": 1, - "mode": "NAT" - } + profile_list.append(profile_data) + profile_data = setup_profile_data['OPEN']['5G'] profile_object.create_open_ssid_profile(profile_data=profile_data, two4g=False) - ssid_list.append(profile_data["profile_name"]) + profile_list.append(profile_data) if request.config.getini("skip-wpa") == 'False': - profile_data = { - "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '2G_WPA_NAT'), - "ssid_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '2G_WPA_NAT'), - "mode": "NAT", - "vlan": 1, - "security_key": "%s-%s" % ("ecw5410", "2G_WPA_NAT") - } + profile_data = setup_profile_data['WPA']['2G'] profile_object.create_wpa_ssid_profile(profile_data=profile_data, fiveg=False) - ssid_list.append(profile_data["profile_name"]) - profile_data = { - "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '5G_WPA_NAT'), - "ssid_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '5G_WPA_NAT'), - "mode": "NAT", - "vlan": 1, - "security_key": "%s-%s" % ("ecw5410", "5G_WPA_NAT") - } + profile_list.append(profile_data) + profile_data = setup_profile_data['WPA']['5G'] profile_object.create_wpa_ssid_profile(profile_data=profile_data, two4g=False) - ssid_list.append(profile_data["profile_name"]) - + profile_list.append(profile_data) if request.config.getini("skip-wpa2") == 'False': - profile_data = { - "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '5G_WPA2_NAT'), - "ssid_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '5G_WPA2_NAT'), - "mode": "NAT", - "vlan": 1, - "security_key": "%s-%s" % ("ecw5410", "5G_WPA2_NAT") - } + profile_data = setup_profile_data['WPA2']['2G'] profile_object.create_wpa2_personal_ssid_profile(profile_data=profile_data, fiveg=False) - ssid_list.append(profile_data["profile_name"]) - profile_data = { - "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '2G_WPA2_NAT'), - "ssid_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '2G_WPA2_NAT'), - "mode": "NAT", - "vlan": 1, - "security_key": "%s-%s" % ("ecw5410", "2G_WPA2_NAT") - } + profile_list.append(profile_data) + profile_data = setup_profile_data['WPA2']['5G'] profile_object.create_wpa2_personal_ssid_profile(profile_data=profile_data, two4g=False) - ssid_list.append(profile_data["profile_name"]) - + profile_list.append(profile_data) if request.config.getini("skip-eap") == 'False': radius_info = { "name": get_testbed_name + "-RADIUS-Nightly", @@ -416,23 +355,17 @@ def create_nat_profile(request, instantiate_cloudsdk, get_testbed_name): "secret": "testing123" } # create a eap profile - pass profile_data = { - "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", 'NAT'), + "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", "NAT") } profile_object.set_ap_profile(profile_data=profile_data) profile_object.push_profile_old_method(equipment_id='13') - # create an equipment ap profile - yield ssid_list + + yield profile_list @pytest.fixture(scope="function") -def setup_profile_data(request): - # logic to setup bridge mode ssid and parameters - yield True - -@pytest.fixture(scope="function") -def setup_vlan_mode(request, instantiate_cloudsdk, setup_profile_data, create_vlan_profile): +def setup_vlan_mode(request, instantiate_cloudsdk, create_vlan_profile): # vif config and vif state logic here logging.basicConfig(level=logging.DEBUG) log = logging.getLogger('test_1') @@ -443,7 +376,10 @@ def setup_vlan_mode(request, instantiate_cloudsdk, setup_profile_data, create_vl 'jumphost_port': request.config.getini("jumphost_port") } obj = APNOS(APNOS_CREDENTIAL_DATA) - profile_data = create_vlan_profile + profile_data = [] + for i in create_vlan_profile: + profile_data.append(i['ssid_name']) + log = logging.getLogger('test_1') vif_config = list(obj.get_vif_config_ssids()) vif_config.sort() vif_state = list(obj.get_vif_state_ssids()) @@ -479,69 +415,34 @@ def setup_vlan_mode(request, instantiate_cloudsdk, setup_profile_data, create_vl @pytest.fixture(scope="function") -def create_vlan_profile(request, instantiate_cloudsdk, get_testbed_name): +def create_vlan_profile(request, instantiate_cloudsdk, setup_profile_data, get_testbed_name): + print(setup_profile_data) # SSID and AP name shall be used as testbed_name and mode profile_object = ProfileUtility(sdk_client=instantiate_cloudsdk) profile_object.get_default_profiles() profile_object.set_rf_profile() - ssid_list = [] + profile_list = [] if request.config.getini("skip-open") == 'False': - profile_data = { - "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '2G_O_VLAN'), - "ssid_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '2G_O_VLAN'), - "vlan": 100, - "mode": "BRIDGE" - } + profile_data = setup_profile_data['OPEN']['2G'] profile_object.create_open_ssid_profile(profile_data=profile_data, fiveg=False) - ssid_list.append(profile_data["profile_name"]) - profile_data = { - "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '5G_O_VLAN'), - "ssid_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '5G_O_VLAN'), - "vlan": 100, - "mode": "BRIDGE" - } + profile_list.append(profile_data) + profile_data = setup_profile_data['OPEN']['5G'] profile_object.create_open_ssid_profile(profile_data=profile_data, two4g=False) - ssid_list.append(profile_data["profile_name"]) + profile_list.append(profile_data) if request.config.getini("skip-wpa") == 'False': - profile_data = { - "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '2G_WPA_VLAN'), - "ssid_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '2G_WPA_VLAN'), - "mode": "BRIDGE", - "vlan": 100, - "security_key": "%s-%s" % ("ecw5410", "2G_WPA_VLAN") - } + profile_data = setup_profile_data['WPA']['2G'] profile_object.create_wpa_ssid_profile(profile_data=profile_data, fiveg=False) - ssid_list.append(profile_data["profile_name"]) - profile_data = { - "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '5G_WPA_VLAN'), - "ssid_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '5G_WPA_VLAN'), - "mode": "BRIDGE", - "vlan": 100, - "security_key": "%s-%s" % ("ecw5410", "5G_WPA_VLAN") - } + profile_list.append(profile_data) + profile_data = setup_profile_data['WPA']['5G'] profile_object.create_wpa_ssid_profile(profile_data=profile_data, two4g=False) - ssid_list.append(profile_data["profile_name"]) - + profile_list.append(profile_data) if request.config.getini("skip-wpa2") == 'False': - profile_data = { - "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '5G_WPA2_VLAN'), - "ssid_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '5G_WPA2_VLAN'), - "mode": "BRIDGE", - "vlan": 100, - "security_key": "%s-%s" % ("ecw5410", "5G_WPA2_VLAN") - } + profile_data = setup_profile_data['WPA2']['2G'] profile_object.create_wpa2_personal_ssid_profile(profile_data=profile_data, fiveg=False) - ssid_list.append(profile_data["profile_name"]) - profile_data = { - "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '2G_WPA2_VLAN'), - "ssid_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", '2G_WPA2_VLAN'), - "mode": "BRIDGE", - "vlan": 100, - "security_key": "%s-%s" % ("ecw5410", "2G_WPA2_VLAN") - } + profile_list.append(profile_data) + profile_data = setup_profile_data['WPA2']['5G'] profile_object.create_wpa2_personal_ssid_profile(profile_data=profile_data, two4g=False) - ssid_list.append(profile_data["profile_name"]) - + profile_list.append(profile_data) if request.config.getini("skip-eap") == 'False': radius_info = { "name": get_testbed_name + "-RADIUS-Nightly", @@ -552,12 +453,41 @@ def create_vlan_profile(request, instantiate_cloudsdk, get_testbed_name): # create a eap profile pass profile_data = { - "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", 'VLAN'), + "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", 'VLAN') } profile_object.set_ap_profile(profile_data=profile_data) profile_object.push_profile_old_method(equipment_id='13') - # create an equipment ap profile - yield ssid_list + yield profile_list + + +@pytest.fixture(scope="function") +def setup_profile_data(request, get_testbed_name): + profile_data = {} + equipment_model = "ecw5410" + mode = str(request._parent_request.fixturename).split("_")[1].upper() + if mode == "BRIDGE": + mode_str = "BR" + vlan_id = 1 + elif mode == "VLAN": + mode_str = "VLAN" + mode = "BRIDGE" + vlan_id = 100 + else: + mode_str = mode + vlan_id = 1 + for security in "OPEN", "WPA", "WPA2", "EAP": + profile_data[security] = {} + for radio in "2G", "5G": + name_string = "%s-%s-%s_%s_%s" % (get_testbed_name, equipment_model, radio, security, mode_str) + passkey_string = "%s-%s_%s" % (radio, security, mode) + profile_data[security][radio] = {} + profile_data[security][radio]["profile_name"] = name_string + profile_data[security][radio]["ssid_name"] = name_string + profile_data[security][radio]["mode"] = mode + profile_data[security][radio]["vlan"] = vlan_id + if security != "OPEN": + profile_data[security][radio]["security_key"] = passkey_string + yield profile_data def delete_profiles(sdk_client=None): From 797949e1ce91d681d97e8c5ca96f42d1d72c3a76 Mon Sep 17 00:00:00 2001 From: shivamcandela Date: Sat, 20 Mar 2021 02:57:02 +0530 Subject: [PATCH 34/45] bridge mode, nat mode all sanity cases working now in open, wpa and wpa2 mode Signed-off-by: shivamcandela --- libs/cloudsdk/cloudsdk.py | 111 +++++++++++ tests/README.md | 41 ++-- tests/ap_tests/test_apnos.py | 88 ++++----- tests/client_connectivity/test_bridge_mode.py | 123 ++++++------ tests/client_connectivity/test_nat_mode.py | 75 ++++++-- tests/client_connectivity/test_vlan_mode.py | 16 +- tests/cloudsdk_tests/test_cloud.py | 176 +++++++++--------- tests/conftest.py | 107 +++++++---- tests/pytest.ini | 24 +-- 9 files changed, 483 insertions(+), 278 deletions(-) diff --git a/libs/cloudsdk/cloudsdk.py b/libs/cloudsdk/cloudsdk.py index 7a2b78a8b..477082e34 100644 --- a/libs/cloudsdk/cloudsdk.py +++ b/libs/cloudsdk/cloudsdk.py @@ -14,6 +14,8 @@ import urllib import requests import swagger_client +from swagger_client import FirmwareManagementApi +from swagger_client import EquipmentGatewayApi from bs4 import BeautifulSoup from testbed_info import SDK_BASE_URLS @@ -170,6 +172,7 @@ class CloudSDK(ConfigureCloudSDK): Library for Profile Utility, Creating Profiles and Pushing and Deleting them """ + class ProfileUtility: """ constructor for Access Point Utility library : can be used from pytest framework @@ -246,6 +249,7 @@ class ProfileUtility: print(self.profile_creation_ids) self.push_profile_old_method(equipment_id=equipment_id) self.delete_profile(profile_id=delete_ids) + """ method call: used to create the rf profile and push set the parameters accordingly and update """ @@ -494,6 +498,7 @@ class ProfileUtility: Jfrog Utility for Artifactory Management """ + class JFrogUtility: def __init__(self, credentials=None): @@ -531,3 +536,109 @@ class JFrogUtility: pass +class FirmwareUtility(JFrogUtility): + + def __init__(self, sdk_client=None, jfrog_credentials=None, testbed=None, customer_id=None): + super().__init__(credentials=jfrog_credentials) + if sdk_client is None: + sdk_client = CloudSDK(testbed=testbed, customer_id=customer_id) + self.sdk_client = sdk_client + self.firmware_client = FirmwareManagementApi(api_client=sdk_client.api_client) + self.jfrog_client = JFrogUtility(credentials=jfrog_credentials) + self.equipment_gateway_client = EquipmentGatewayApi(api_client=sdk_client.api_client) + def get_current_fw_version(self, equipment_id=None): + # Write a logic to get the currently loaded firmware on the equipment + self.current_fw = "something" + return self.current_fw + + def get_latest_fw_version(self, model="ecw5410"): + # Get The equipment model + + self.latest_fw = self.get_latest_build(model=model) + return self.latest_fw + + def upload_fw_on_cloud(self, fw_version=None, force_upload=False): + # if fw_latest available and force upload is False -- Don't upload + # if fw_latest available and force upload is True -- Upload + # if fw_latest is not available -- Upload + fw_id = self.is_fw_available(fw_version=fw_version) + if fw_id and (force_upload is False): + print("Force Upload :", force_upload, " Skipping upload") + # Don't Upload the fw + pass + else: + if fw_id and (force_upload is True): + self.firmware_client.delete_firmware_version(firmware_version_id=fw_id) + print("Force Upload :", force_upload, " Deleted current Image") + time.sleep(2) + # if force_upload is true and latest image available, then delete the image + firmware_data = { + "id": 0, + "equipmentType": "AP", + "modelId": fw_version.split("-")[0], + "versionName": fw_version + ".tar.gz", + "description": "ECW5410 FW VERSION TEST", + "filename": "https://tip.jfrog.io/artifactory/tip-wlan-ap-firmware/" + fw_version.split("-")[ + 0] + "/dev/" + fw_version + ".tar.gz", + "commit": fw_version.split("-")[5] + } + firmware_id = self.firmware_client.create_firmware_version(body=firmware_data) + print("Force Upload :", force_upload, " Uploaded Image") + return firmware_id._id + + def upgrade_fw(self, equipment_id=None, force_upgrade=False, force_upload=False): + if equipment_id is None: + print("No Equipment Id Given") + exit() + if (force_upgrade is True) or (self.should_upgrade_ap_fw(equipment_id=equipment_id)): + model = self.sdk_client.get_model_name(equipment_id=equipment_id).lower() + latest_fw = self.get_latest_fw_version(model=model) + firmware_id = self.upload_fw_on_cloud(fw_version=latest_fw, force_upload=force_upload) + time.sleep(5) + try: + obj = self.equipment_gateway_client.request_firmware_update(equipment_id=equipment_id, firmware_version_id=firmware_id) + except Exception as e: + obj = False + return obj + # Write the upgrade fw logic here + + def should_upgrade_ap_fw(self, equipment_id=None): + current_fw = self.get_current_fw_version(equipment_id=equipment_id) + model = self.sdk_client.get_model_name(equipment_id=equipment_id).lower() + latest_fw = self.get_latest_fw_version(model=model) + if current_fw == latest_fw: + return False + else: + return True + + def is_fw_available(self, fw_version=None): + if fw_version is None: + exit() + try: + firmware_version = self.firmware_client.get_firmware_version_by_name( + firmware_version_name=fw_version + ".tar.gz") + firmware_version = firmware_version._id + print("Firmware already Available: ", firmware_version) + except Exception as e: + firmware_version = False + print("firmware not available: ", firmware_version) + return firmware_version + + +# from testbed_info import JFROG_CREDENTIALS +# +# sdk_client = CloudSDK(testbed="nola-ext-05", customer_id=2) +# obj = FirmwareUtility(jfrog_credentials=JFROG_CREDENTIALS, sdk_client=sdk_client) +# obj.upgrade_fw(equipment_id=7, force_upload=False, force_upgrade=False) + +""" +Check the ap model +Check latest revision of a model +Check the firmware version on AP +Check if latest version is available on cloud + if not: + Upload to cloud + if yes: + continue +Upgrade the Firmware on AP +""" diff --git a/tests/README.md b/tests/README.md index 8aadabdec..78816c44d 100644 --- a/tests/README.md +++ b/tests/README.md @@ -12,24 +12,37 @@ ### Note: Run all the tests from "tests" directory ## Examples: -Following are the examples for Running Client Connectivity Test with different Combinations +Following are the examples for Running Client Connectivity Test with different Combinations: + + # Run the sanity test in all modes across wpa, wpa2 and eap) + pytest -m "sanity and wpa and wpa2 and eap" -s + + # Run the sanity test in all modes across wpa, wpa2) + pytest -m "sanity and wpa and wpa2" -s + + # Run the bridge test in all modes across wpa, wpa2 and eap) + pytest -m "bridge and wpa and wpa2 and eap" -s + + # Run the bridge test in all modes across wpa, wpa2) + pytest -m "bridge and wpa and wpa2" -s + + # Run the nat test in all modes across wpa, wpa2 and eap) + pytest -m "nat and wpa and wpa2 and eap" -s + + # Run the nat test in all modes across wpa, wpa2) + pytest -m "nat and wpa and wpa2" -s - pytest -m nightly -s - pytest -m nightly_bridge -s - pytest -m nightly_nat -s - pytest -m nightly_vlan -s - pytest -m bridge_mode_single_client_connectivity -s - pytest -m nat_mode_single_client_connectivity -s - pytest -m vlan_mode_single_client_connectivity -s - pytest -m bridge_mode_client_connectivity -s - pytest -m nat_mode_client_connectivity -s - pytest -m vlan_mode_client_connectivity -s Following are the examples for cloudSDK standalone tests - pytest -m test_login -s - pytest -m test_bearer_token -s - pytest -m test_portal_ping -s + # Run cloud connection test, it executes the two tests, bearer and ping + pytest -m cloud -s + + # Run cloud connection test, gets the bearer + pytest -m bearer -s + + # Run cloud connection test, pings the portal + pytest -m ping -s more to be added ... diff --git a/tests/ap_tests/test_apnos.py b/tests/ap_tests/test_apnos.py index 8fcebb44e..4de6cdee0 100644 --- a/tests/ap_tests/test_apnos.py +++ b/tests/ap_tests/test_apnos.py @@ -1,44 +1,44 @@ -""" -About: It contains some Functional Unit Tests for CloudSDK+APNOS and to run and test them on per unit level -""" -import pytest - - -# Note: Use Reusable Fixtures, Create SSID Profile, Equipment_AP Profile, Use RF Profile, Radius Profile, -# Push and Verify -@pytest.mark.test_apnos_profiles -class TestProfiles(object): - - @pytest.mark.test_apnos_open_ssid - def test_open_ssid(self): - # Write a Test case that creates Open ssid and pushes it to AP, and verifies that profile is applied properly - yield True - - @pytest.mark.test_apnos_wpa_ssid - def test_wpa_ssid(self): - # Write a Test case that creates WPA ssid and pushes it to AP, and verifies that profile is applied properly - yield True - - @pytest.mark.test_apnos_wpa2_personal_ssid - def test_wpa2_personal_ssid(self): - # Write a Test case that creates WPA2-PERSONAL ssid and pushes it to AP, and verifies that profile is applied - # properly - yield True - - @pytest.mark.test_apnos_wpa2_enterprise_ssid - def test_wpa2_enterprise_ssid(self): - # Write a Test case that creates WPA2-ENTERPRISE ssid and pushes it to AP, and verifies that profile is - # applied properly - yield True - - @pytest.mark.test_apnos_wpa3_personal_ssid - def test_wpa3_personal_ssid(self): - # Write a Test case that creates WPA3-PERSONAL ssid and pushes it to AP, and verifies that profile is applied - # properly - yield True - - @pytest.mark.test_apnos_wpa3_enterprise_ssid - def test_wpa3_enterprise_ssid(self): - # Write a Test case that creates WPA3-ENTERPRISE ssid and pushes it to AP, and verifies that profile is - # applied properly - yield True +# """ +# About: It contains some Functional Unit Tests for CloudSDK+APNOS and to run and test them on per unit level +# """ +# import pytest +# +# +# # Note: Use Reusable Fixtures, Create SSID Profile, Equipment_AP Profile, Use RF Profile, Radius Profile, +# # Push and Verify +# @pytest.mark.test_apnos_profiles +# class TestProfiles(object): +# +# @pytest.mark.test_apnos_open_ssid +# def test_open_ssid(self): +# # Write a Test case that creates Open ssid and pushes it to AP, and verifies that profile is applied properly +# yield True +# +# @pytest.mark.test_apnos_wpa_ssid +# def test_wpa_ssid(self): +# # Write a Test case that creates WPA ssid and pushes it to AP, and verifies that profile is applied properly +# yield True +# +# @pytest.mark.test_apnos_wpa2_personal_ssid +# def test_wpa2_personal_ssid(self): +# # Write a Test case that creates WPA2-PERSONAL ssid and pushes it to AP, and verifies that profile is applied +# # properly +# yield True +# +# @pytest.mark.test_apnos_wpa2_enterprise_ssid +# def test_wpa2_enterprise_ssid(self): +# # Write a Test case that creates WPA2-ENTERPRISE ssid and pushes it to AP, and verifies that profile is +# # applied properly +# yield True +# +# @pytest.mark.test_apnos_wpa3_personal_ssid +# def test_wpa3_personal_ssid(self): +# # Write a Test case that creates WPA3-PERSONAL ssid and pushes it to AP, and verifies that profile is applied +# # properly +# yield True +# +# @pytest.mark.test_apnos_wpa3_enterprise_ssid +# def test_wpa3_enterprise_ssid(self): +# # Write a Test case that creates WPA3-ENTERPRISE ssid and pushes it to AP, and verifies that profile is +# # applied properly +# yield True diff --git a/tests/client_connectivity/test_bridge_mode.py b/tests/client_connectivity/test_bridge_mode.py index 89b875f7f..d3b6d848e 100644 --- a/tests/client_connectivity/test_bridge_mode.py +++ b/tests/client_connectivity/test_bridge_mode.py @@ -1,75 +1,68 @@ import pytest import sys -# -# -# for folder in 'py-json', 'py-scripts': -# if folder not in sys.path: -# sys.path.append(f'../../lanforge/lanforge-scripts/{folder}') -# -# -# from LANforge.LFUtils import * -# -# # if you lack __init__.py in this directory you will not find sta_connect module# -# -# if 'py-json' not in sys.path: -# sys.path.append('../../py-scripts') -# -# import sta_connect2 -# from sta_connect2 import StaConnect2 + +for folder in 'py-json', 'py-scripts': + if folder not in sys.path: + sys.path.append(f'../lanforge/lanforge-scripts/{folder}') + +from LANforge.LFUtils import * + +if 'py-json' not in sys.path: + sys.path.append('../py-scripts') + +import sta_connect2 +from sta_connect2 import StaConnect2 import time @pytest.mark.usefixtures('setup_cloudsdk') -@pytest.mark.usefixtures('update_firmware') -@pytest.mark.bridge_mode_client_connectivity +@pytest.mark.usefixtures('upgrade_firmware') class TestBridgeModeClientConnectivity(object): - @pytest.mark.bridge_mode_single_client_connectivity - @pytest.mark.nightly - @pytest.mark.nightly_bridge - def test_single_client(self, setup_cloudsdk, update_firmware, setup_bridge_mode, disconnect_cloudsdk): + @pytest.mark.sanity + @pytest.mark.bridge + @pytest.mark.open + @pytest.mark.wpa + @pytest.mark.wpa2 + @pytest.mark.eap + def test_single_client(self, setup_cloudsdk, upgrade_firmware, setup_bridge_mode, disconnect_cloudsdk, get_lanforge_data): print("Run Client Connectivity Here - BRIDGE Mode") - for i in setup_bridge_mode: - for j in i: - staConnect = StaConnect2("192.168.200.80", 8080, debug_=False) - staConnect.sta_mode = 0 - staConnect.upstream_resource = 1 - staConnect.upstream_port = "eth1" - staConnect.radio = "wiphy0" - staConnect.resource = 1 - staConnect.dut_ssid = j - staConnect.dut_passwd = "[BLANK]" - staConnect.dut_security = "open" - staConnect.station_names = ["sta0000", "sta0001"] - staConnect.sta_prefix = "sta" - staConnect.runtime_secs = 10 - staConnect.bringup_time_sec = 60 - staConnect.cleanup_on_exit = True - # staConnect.cleanup() - staConnect.setup() - staConnect.start() - print("napping %f sec" % staConnect.runtime_secs) - time.sleep(staConnect.runtime_secs) - staConnect.stop() - staConnect.cleanup() - run_results = staConnect.get_result_list() - for result in run_results: - print("test result: " + result) - # result = 'pass' - print("Single Client Connectivity :", staConnect.passes) - if staConnect.passes() == True: - print("Single client connection to", staConnect.dut_ssid, "successful. Test Passed") - else: - print("Single client connection to", staConnect.dut_ssid, "unsuccessful. Test Failed") - - time.sleep(30) - if setup_bridge_mode[0] == setup_bridge_mode[1]: - assert True - else: + test_result = [] + for profile in setup_bridge_mode[3]: + print(profile) + # SSID, Passkey, Security, Run layer3 tcp, udp upstream downstream + staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], 8080, debug_=False) + staConnect.sta_mode = 0 + staConnect.upstream_resource = 1 + staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] + staConnect.radio = get_lanforge_data["lanforge_5g"] + staConnect.resource = 1 + staConnect.dut_ssid = profile["ssid_name"] + staConnect.dut_passwd = profile["security_key"] + staConnect.dut_security = profile["security_key"].split("-")[1].split("_")[0].lower() + staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] + staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] + staConnect.runtime_secs = 10 + staConnect.bringup_time_sec = 60 + staConnect.cleanup_on_exit = True + # staConnect.cleanup() + staConnect.setup() + staConnect.start() + print("napping %f sec" % staConnect.runtime_secs) + time.sleep(staConnect.runtime_secs) + staConnect.stop() + staConnect.cleanup() + run_results = staConnect.get_result_list() + for result in run_results: + print("test result: " + result) + # result = 'pass' + print("Single Client Connectivity :", staConnect.passes) + if staConnect.passes() == True: + test_result.append("PASS") + else: + test_result.append("FAIL") + print(test_result) + if test_result.__contains__("FAIL"): assert False - - @pytest.mark.bridge_mode_multi_client_connectivity - def test_multi_client(self, create_vlan_profile): - print(create_vlan_profile) - assert 1 == 1 - + else: + assert True diff --git a/tests/client_connectivity/test_nat_mode.py b/tests/client_connectivity/test_nat_mode.py index 1767edcad..e008244bb 100644 --- a/tests/client_connectivity/test_nat_mode.py +++ b/tests/client_connectivity/test_nat_mode.py @@ -1,22 +1,69 @@ import pytest + +import sys +for folder in 'py-json', 'py-scripts': + if folder not in sys.path: + sys.path.append(f'../lanforge/lanforge-scripts/{folder}') + +from LANforge.LFUtils import * + +if 'py-json' not in sys.path: + sys.path.append('../py-scripts') + +import sta_connect2 +from sta_connect2 import StaConnect2 import time + + @pytest.mark.usefixtures('setup_cloudsdk') -@pytest.mark.usefixtures('update_firmware') -@pytest.mark.nat_mode_client_connectivity +@pytest.mark.usefixtures('upgrade_firmware') class TestNATModeClientConnectivity(object): - @pytest.mark.nat_mode_single_client_connectivity - @pytest.mark.nightly - @pytest.mark.nightly_nat - def test_single_client(self, setup_cloudsdk, update_firmware, setup_nat_mode, disconnect_cloudsdk): + @pytest.mark.sanity + @pytest.mark.nat + @pytest.mark.open + @pytest.mark.wpa + @pytest.mark.wpa2 + @pytest.mark.eap + def test_single_client(self, setup_cloudsdk, upgrade_firmware, setup_nat_mode, disconnect_cloudsdk, get_lanforge_data): print("Run Client Connectivity Here - NAT Mode") - time.sleep(30) - if setup_nat_mode[0] == setup_nat_mode[1]: - assert True - else: + test_result = [] + for profile in setup_nat_mode[3]: + print(profile) + # SSID, Passkey, Security, Run layer3 tcp, udp upstream downstream + staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], 8080, debug_=False) + staConnect.sta_mode = 0 + staConnect.upstream_resource = 1 + staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] + staConnect.radio = get_lanforge_data["lanforge_5g"] + staConnect.resource = 1 + staConnect.dut_ssid = profile["ssid_name"] + staConnect.dut_passwd = profile["security_key"] + staConnect.dut_security = profile["security_key"].split("-")[1].split("_")[0].lower() + staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] + staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] + staConnect.runtime_secs = 10 + staConnect.bringup_time_sec = 60 + staConnect.cleanup_on_exit = True + # staConnect.cleanup() + staConnect.setup() + staConnect.start() + print("napping %f sec" % staConnect.runtime_secs) + time.sleep(staConnect.runtime_secs) + staConnect.stop() + staConnect.cleanup() + run_results = staConnect.get_result_list() + for result in run_results: + print("test result: " + result) + # result = 'pass' + print("Single Client Connectivity :", staConnect.passes) + if staConnect.passes() == True: + test_result.append("PASS") + else: + test_result.append("FAIL") + print(test_result) + if test_result.__contains__("FAIL"): assert False - - @pytest.mark.nat_mode_multi_client_connectivity - def test_multi_client(self): - pass + else: + assert True diff --git a/tests/client_connectivity/test_vlan_mode.py b/tests/client_connectivity/test_vlan_mode.py index e235d9ca1..3af5358f4 100644 --- a/tests/client_connectivity/test_vlan_mode.py +++ b/tests/client_connectivity/test_vlan_mode.py @@ -1,14 +1,15 @@ import pytest import time @pytest.mark.usefixtures('setup_cloudsdk') -@pytest.mark.usefixtures('update_firmware') -@pytest.mark.vlan_mode_client_connectivity +@pytest.mark.usefixtures('upgrade_firmware') class TestVLANModeClientConnectivity(object): - @pytest.mark.vlan_mode_single_client_connectivity - @pytest.mark.nightly - @pytest.mark.nightly_vlan - def test_single_client(self, setup_cloudsdk, update_firmware, setup_vlan_mode, disconnect_cloudsdk): + @pytest.mark.vlan + @pytest.mark.open + @pytest.mark.wpa + @pytest.mark.wpa2 + @pytest.mark.eap + def test_single_client(self, setup_cloudsdk, upgrade_firmware, setup_vlan_mode, disconnect_cloudsdk): print("Run Client Connectivity Here - VLAN Mode") time.sleep(30) if setup_vlan_mode[0] == setup_vlan_mode[1]: @@ -16,7 +17,4 @@ class TestVLANModeClientConnectivity(object): else: assert False - @pytest.mark.vlan_mode_multi_client_connectivity - def test_multi_client(self): - pass diff --git a/tests/cloudsdk_tests/test_cloud.py b/tests/cloudsdk_tests/test_cloud.py index 1e3f8d8d6..6b8e818c2 100644 --- a/tests/cloudsdk_tests/test_cloud.py +++ b/tests/cloudsdk_tests/test_cloud.py @@ -10,12 +10,10 @@ if 'cloudsdk_tests' not in sys.path: from cloudsdk import CloudSDK -@pytest.mark.userfixtures('get_customer_id') -@pytest.mark.userfixtures('get_testbed_name') -@pytest.mark.test_login +@pytest.mark.cloud class TestLogin(object): - @pytest.mark.test_bearer_token + @pytest.mark.bearer def test_token_login(self, get_customer_id, get_testbed_name): try: obj = CloudSDK(testbed=get_testbed_name, customer_id=get_customer_id) @@ -23,97 +21,97 @@ class TestLogin(object): value = bearer._access_token is None except: value = True - assert value == False + assert value is False - @pytest.mark.test_portal_ping + @pytest.mark.ping def test_ping(self, get_customer_id, get_testbed_name): try: obj = CloudSDK(testbed=get_testbed_name, customer_id=get_customer_id) value = obj.portal_ping() is None except: value = True - assert value == False + assert value is False +# +# @pytest.mark.userfixtures('get_customer_id') +# @pytest.mark.userfixtures('get_testbed_name') +# @pytest.mark.ssid_profiles +# class TestSSIDProfiles(object): +# +# @pytest.mark.ssid_open_bridge +# def test_open_bridge(self): +# pass +# +# @pytest.mark.ssid_open_nat +# def test_open_nat(self): +# pass +# +# @pytest.mark.ssid_open_vlan +# def test_open_vlan(self): +# pass +# +# @pytest.mark.ssid_wpa_bridge +# def test_wpa_bridge(self): +# pass +# +# @pytest.mark.ssid_wpa_nat +# def test_wpa_nat(self): +# pass +# +# @pytest.mark.ssid_wpa_vlan +# def test_wpa_vlan(self): +# pass +# +# @pytest.mark.ssid_wpa_personal_bridge +# def test_wpa2_personal_bridge(self): +# pass +# +# @pytest.mark.ssid_wpa_personal_nat +# def test_wpa2_personal_nat(self): +# pass +# +# @pytest.mark.ssid_wpa_personal_vlan +# def test_wpa2_personal_vlan(self): +# pass +# +# @pytest.mark.ssid_wpa2_enterprise_bridge +# def test_wpa2_enterprise_bridge(self): +# pass +# +# @pytest.mark.ssid_wpa2_enterprise_nat +# def test_wpa2_enterprise_nat(self): +# pass +# +# @pytest.mark.ssid_wpa2_enterprise_vlan +# def test_wpa2_enterprise_vlan(self): +# pass +# +# @pytest.mark.ssid_wpa3_personal_bridge +# def test_wpa3_personal_bridge(self): +# pass +# +# @pytest.mark.ssid_wpa3_personal_nat +# def test_wpa3_personal_nat(self): +# pass +# +# @pytest.mark.ssid_wpa3_personal_vlan +# def test_wpa3_personal_vlan(self): +# pass +# +# @pytest.mark.ssid_wpa3_enterprise_bridge +# def test_wpa3_enterprise_bridge(self): +# pass +# +# @pytest.mark.ssid_wpa3_enterprise_nat +# def test_wpa3_enterprise_nat(self): +# pass +# +# @pytest.mark.ssid_wpa3_enterprise_vlan +# def test_wpa3_enterprise_vlan(self): +# pass -@pytest.mark.userfixtures('get_customer_id') -@pytest.mark.userfixtures('get_testbed_name') -@pytest.mark.ssid_profiles -class TestSSIDProfiles(object): - - @pytest.mark.ssid_open_bridge - def test_open_bridge(self): - pass - - @pytest.mark.ssid_open_nat - def test_open_nat(self): - pass - - @pytest.mark.ssid_open_vlan - def test_open_vlan(self): - pass - - @pytest.mark.ssid_open_vlan - def test_wpa_bridge(self): - pass - - @pytest.mark.ssid_open_vlan - def test_wpa_nat(self): - pass - - @pytest.mark.ssid_open_vlan - def test_wpa_vlan(self): - pass - - @pytest.mark.ssid_open_vlan - def test_wpa2_personal_bridge(self): - pass - - @pytest.mark.ssid_open_vlan - def test_wpa2_personal_nat(self): - pass - - @pytest.mark.ssid_open_vlan - def test_wpa2_personal_vlan(self): - pass - - @pytest.mark.ssid_open_vlan - def test_wpa2_enterprise_bridge(self): - pass - - @pytest.mark.ssid_open_vlan - def test_wpa2_enterprise_nat(self): - pass - - @pytest.mark.ssid_open_vlan - def test_wpa2_enterprise_vlan(self): - pass - - @pytest.mark.ssid_open_vlan - def test_wpa3_personal_bridge(self): - pass - - @pytest.mark.ssid_open_vlan - def test_wpa3_personal_nat(self): - pass - - @pytest.mark.ssid_open_vlan - def test_wpa3_personal_vlan(self): - pass - - @pytest.mark.ssid_open_vlan - def test_wpa3_enterprise_bridge(self): - pass - - @pytest.mark.ssid_open_vlan - def test_wpa3_enterprise_nat(self): - pass - - @pytest.mark.ssid_wpa3_vlan - def test_wpa3_enterprise_vlan(self): - pass - - -class TestEquipmentAPProfile(object): - - def test_equipment_ap_profile_creation(self): - pass +# +# class TestEquipmentAPProfile(object): +# +# def test_equipment_ap_profile_creation(self): +# pass diff --git a/tests/conftest.py b/tests/conftest.py index bbe030716..37398f581 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -18,11 +18,11 @@ if 'apnos' not in sys.path: from apnos import APNOS from cloudsdk import CloudSDK from cloudsdk import ProfileUtility +from cloudsdk import FirmwareUtility import pytest import logging - def pytest_addoption(parser): parser.addini("jfrog-base-url", "jfrog base url") parser.addini("jfrog-user-id", "jfrog username") @@ -86,7 +86,11 @@ def instantiate_cloudsdk(request): @pytest.fixture(scope="session") def instantiate_jFrog(request): - yield "instantiate_jFrog" + jfrog_cred = { + "user": request.config.getini("jfrog-user-id"), + "password": request.config.getini("jfrog-user-password") + } + yield jfrog_cred """ @@ -104,6 +108,11 @@ def get_customer_id(request): yield request.config.getini("sdk-customer-id") +@pytest.fixture(scope="session") +def get_equipment_id(request): + yield request.config.getini("sdk-equipment-id") + + """ Fixtures for CloudSDK Utilities """ @@ -146,10 +155,14 @@ def setup_cloudsdk(request, instantiate_cloudsdk): @pytest.fixture(scope="session") -def update_firmware(request, instantiate_jFrog, instantiate_cloudsdk, retrieve_latest_image, access_points): +def upgrade_firmware(request, instantiate_jFrog, instantiate_cloudsdk, retrieve_latest_image, get_equipment_id): if request.config.getoption("--skip-update-firmware"): - return - yield "update_firmware" + obj = FirmwareUtility(jfrog_credentials=instantiate_jFrog, sdk_client=instantiate_cloudsdk) + status = obj.upgrade_fw(equipment_id=get_equipment_id, force_upload=False, force_upgrade=False) + time.sleep(60) + else: + status = "skip-upgrade" + yield status @pytest.fixture(scope="session") @@ -175,7 +188,7 @@ Fixtures to Create Profiles and Push to vif config and delete after the test com @pytest.fixture(scope="function") -def setup_bridge_mode(request, instantiate_cloudsdk, create_bridge_profile): +def setup_bridge_mode(request, instantiate_cloudsdk, create_bridge_profile, get_equipment_id): # vif config and vif state logic here logging.basicConfig(level=logging.DEBUG) APNOS_CREDENTIAL_DATA = { @@ -218,41 +231,40 @@ def setup_bridge_mode(request, instantiate_cloudsdk, create_bridge_profile): profile_data = list(profile_data) profile_data.sort() - # request.addfinalizer(delete_profiles(profile_data, instantiate_cloudsdk)) - yield [profile_data, vif_config, vif_state] - delete_profiles(instantiate_cloudsdk) + yield [profile_data, vif_config, vif_state, create_bridge_profile] + delete_profiles(instantiate_cloudsdk, get_equipment_id) @pytest.fixture(scope="function") -def create_bridge_profile(request, instantiate_cloudsdk, setup_profile_data, get_testbed_name): +def create_bridge_profile(request, instantiate_cloudsdk, setup_profile_data, get_testbed_name, get_equipment_id, get_markers): print(setup_profile_data) # SSID and AP name shall be used as testbed_name and mode profile_object = ProfileUtility(sdk_client=instantiate_cloudsdk) profile_object.get_default_profiles() profile_object.set_rf_profile() profile_list = [] - if request.config.getini("skip-open") == 'False': + if get_markers.__contains__("open"): profile_data = setup_profile_data['OPEN']['2G'] profile_object.create_open_ssid_profile(profile_data=profile_data, fiveg=False) profile_list.append(profile_data) profile_data = setup_profile_data['OPEN']['5G'] profile_object.create_open_ssid_profile(profile_data=profile_data, two4g=False) profile_list.append(profile_data) - if request.config.getini("skip-wpa") == 'False': + if get_markers.__contains__("wpa"): profile_data = setup_profile_data['WPA']['2G'] profile_object.create_wpa_ssid_profile(profile_data=profile_data, fiveg=False) profile_list.append(profile_data) profile_data = setup_profile_data['WPA']['5G'] profile_object.create_wpa_ssid_profile(profile_data=profile_data, two4g=False) profile_list.append(profile_data) - if request.config.getini("skip-wpa2") == 'False': + if get_markers.__contains__("wpa2"): profile_data = setup_profile_data['WPA2']['2G'] profile_object.create_wpa2_personal_ssid_profile(profile_data=profile_data, fiveg=False) profile_list.append(profile_data) profile_data = setup_profile_data['WPA2']['5G'] profile_object.create_wpa2_personal_ssid_profile(profile_data=profile_data, two4g=False) profile_list.append(profile_data) - if request.config.getini("skip-eap") == 'False': + if get_markers.__contains__("eap"): radius_info = { "name": get_testbed_name + "-RADIUS-Nightly", "ip": "192.168.200.75", @@ -265,12 +277,12 @@ def create_bridge_profile(request, instantiate_cloudsdk, setup_profile_data, get "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", 'BRIDGE'), } profile_object.set_ap_profile(profile_data=profile_data) - profile_object.push_profile_old_method(equipment_id='13') + profile_object.push_profile_old_method(equipment_id=get_equipment_id) yield profile_list @pytest.fixture(scope="function") -def setup_nat_mode(request, instantiate_cloudsdk, create_nat_profile): +def setup_nat_mode(request, instantiate_cloudsdk, create_nat_profile, get_equipment_id): # vif config and vif state logic here logging.basicConfig(level=logging.DEBUG) log = logging.getLogger('test_1') @@ -313,41 +325,40 @@ def setup_nat_mode(request, instantiate_cloudsdk, create_nat_profile): profile_data = list(profile_data) profile_data.sort() - # request.addfinalizer(delete_profiles(profile_data, instantiate_cloudsdk)) - yield [profile_data, vif_config, vif_state] - delete_profiles(instantiate_cloudsdk) + yield [profile_data, vif_config, vif_state, create_nat_profile] + delete_profiles(instantiate_cloudsdk, get_equipment_id) @pytest.fixture(scope="function") -def create_nat_profile(request, instantiate_cloudsdk, setup_profile_data, get_testbed_name): +def create_nat_profile(request, instantiate_cloudsdk, setup_profile_data, get_testbed_name, get_equipment_id, get_markers): print(setup_profile_data) # SSID and AP name shall be used as testbed_name and mode profile_object = ProfileUtility(sdk_client=instantiate_cloudsdk) profile_object.get_default_profiles() profile_object.set_rf_profile() profile_list = [] - if request.config.getini("skip-open") == 'False': + if get_markers.__contains__("open"): profile_data = setup_profile_data['OPEN']['2G'] profile_object.create_open_ssid_profile(profile_data=profile_data, fiveg=False) profile_list.append(profile_data) profile_data = setup_profile_data['OPEN']['5G'] profile_object.create_open_ssid_profile(profile_data=profile_data, two4g=False) profile_list.append(profile_data) - if request.config.getini("skip-wpa") == 'False': + if get_markers.__contains__("wpa"): profile_data = setup_profile_data['WPA']['2G'] profile_object.create_wpa_ssid_profile(profile_data=profile_data, fiveg=False) profile_list.append(profile_data) profile_data = setup_profile_data['WPA']['5G'] profile_object.create_wpa_ssid_profile(profile_data=profile_data, two4g=False) profile_list.append(profile_data) - if request.config.getini("skip-wpa2") == 'False': + if get_markers.__contains__("wpa2"): profile_data = setup_profile_data['WPA2']['2G'] profile_object.create_wpa2_personal_ssid_profile(profile_data=profile_data, fiveg=False) profile_list.append(profile_data) profile_data = setup_profile_data['WPA2']['5G'] profile_object.create_wpa2_personal_ssid_profile(profile_data=profile_data, two4g=False) profile_list.append(profile_data) - if request.config.getini("skip-eap") == 'False': + if get_markers.__contains__("eap"): radius_info = { "name": get_testbed_name + "-RADIUS-Nightly", "ip": "192.168.200.75", @@ -359,13 +370,13 @@ def create_nat_profile(request, instantiate_cloudsdk, setup_profile_data, get_te "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", "NAT") } profile_object.set_ap_profile(profile_data=profile_data) - profile_object.push_profile_old_method(equipment_id='13') + profile_object.push_profile_old_method(equipment_id=get_equipment_id) yield profile_list @pytest.fixture(scope="function") -def setup_vlan_mode(request, instantiate_cloudsdk, create_vlan_profile): +def setup_vlan_mode(request, instantiate_cloudsdk, create_vlan_profile, get_equipment_id): # vif config and vif state logic here logging.basicConfig(level=logging.DEBUG) log = logging.getLogger('test_1') @@ -410,12 +421,12 @@ def setup_vlan_mode(request, instantiate_cloudsdk, create_vlan_profile): profile_data.sort() # request.addfinalizer(delete_profiles(profile_data, instantiate_cloudsdk)) - yield [profile_data, vif_config, vif_state] - delete_profiles(instantiate_cloudsdk) + yield [profile_data, vif_config, vif_state, create_vlan_profile] + delete_profiles(instantiate_cloudsdk, get_equipment_id) @pytest.fixture(scope="function") -def create_vlan_profile(request, instantiate_cloudsdk, setup_profile_data, get_testbed_name): +def create_vlan_profile(request, instantiate_cloudsdk, setup_profile_data, get_testbed_name, get_equipment_id): print(setup_profile_data) # SSID and AP name shall be used as testbed_name and mode profile_object = ProfileUtility(sdk_client=instantiate_cloudsdk) @@ -456,7 +467,7 @@ def create_vlan_profile(request, instantiate_cloudsdk, setup_profile_data, get_t "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", 'VLAN') } profile_object.set_ap_profile(profile_data=profile_data) - profile_object.push_profile_old_method(equipment_id='13') + profile_object.push_profile_old_method(equipment_id=get_equipment_id) yield profile_list @@ -487,9 +498,41 @@ def setup_profile_data(request, get_testbed_name): profile_data[security][radio]["vlan"] = vlan_id if security != "OPEN": profile_data[security][radio]["security_key"] = passkey_string + else: + profile_data[security][radio]["security_key"] = "[BLANK]" yield profile_data -def delete_profiles(sdk_client=None): +def delete_profiles(sdk_client=None, equipment_id=None): profile_object = ProfileUtility(sdk_client=sdk_client) - profile_object.delete_current_profile(equipment_id=13) + profile_object.delete_current_profile(equipment_id=equipment_id) + + +@pytest.fixture(scope="function") +def get_lanforge_data(request): + lanforge_data = { + "lanforge_ip": "192.168.200.80", + "lanforge_2dot4g": "wiphy1", + "lanforge_5g": "wiphy1", + "lanforge_2dot4g_prefix": "wlan1", + "lanforge_5g_prefix": "wlan1", + "lanforge_2dot4g_station": "wlan1", + "lanforge_5g_station": "wlan1", + "lanforge_bridge_port": "eth1", + "lanforge_vlan_port": "vlan100", + "vlan": 100 + } + yield lanforge_data + + +@pytest.fixture(scope="function") +def get_markers(request): + mode = request.config.getoption("-m") + markers = [] + for i in request.node.iter_markers(): + markers.append(i.name) + a = set(mode.split(" ")) + b = set(markers) + markers = a.intersection(b) + yield list(markers) + diff --git a/tests/pytest.ini b/tests/pytest.ini index 57b63f397..a23c64215 100644 --- a/tests/pytest.ini +++ b/tests/pytest.ini @@ -7,7 +7,7 @@ jfrog-user-id=tip-read jfrog-user-password=tip-read # Cloud SDK parameters -testbed-name=nola-ext-04 +testbed-name=nola-ext-03 sdk-user-id=support@example.com sdk-user-password=support @@ -31,7 +31,7 @@ lanforge-ethernet-port=eth2 # Cloud SDK settings sdk-customer-id=2 -sdk-equipment-id=12 +sdk-equipment-id=21 # Profile skip-open=True @@ -41,12 +41,14 @@ skip-eap=False markers = - login: marks cloudsdk login - nightly_vlan: marks nightly vlan cases - nightly: marks nightly sanity cases - nightly_bridge: marks nightly bridge cases - nightly_nat: marks nightly nat cases - UHF: marks tests as using 2.4 ghz frequency - SHF: marks tests as using 5.0 ghz frequency - open: marks tests as using no security - wpa2: marks tests as using wpa2 security \ No newline at end of file + sanity: Run the sanity for Client Connectivity test + bridge + nat + vlan + open + wpa + wpa2 + eap + cloud + bearer + ping From 00805461a6c8d1d9b88aeae77ac83325fa6edc87 Mon Sep 17 00:00:00 2001 From: shivamcandela Date: Sat, 20 Mar 2021 16:23:30 +0530 Subject: [PATCH 35/45] radius cases working, bridge nat Signed-off-by: shivamcandela --- libs/cloudsdk/cloudsdk.py | 54 ++++++++-- tests/client_connectivity/test_bridge_mode.py | 95 ++++++++++++------ tests/client_connectivity/test_nat_mode.py | 98 +++++++++++++------ tests/conftest.py | 32 ++++-- tests/pytest.ini | 2 +- 5 files changed, 201 insertions(+), 80 deletions(-) diff --git a/libs/cloudsdk/cloudsdk.py b/libs/cloudsdk/cloudsdk.py index 477082e34..01917839f 100644 --- a/libs/cloudsdk/cloudsdk.py +++ b/libs/cloudsdk/cloudsdk.py @@ -103,7 +103,7 @@ class CloudSDK(ConfigureCloudSDK): print("Connected to CloudSDK Server") """ - Login Utilities + Login Utilitiesdefault_profile = self.default_profiles['ssid'] """ def get_bearer_token(self): @@ -115,7 +115,7 @@ class CloudSDK(ConfigureCloudSDK): def disconnect_cloudsdk(self): self.api_client.__del__() - """ + """default_profile = self.default_profiles['ssid'] Equipment Utilities """ @@ -208,7 +208,7 @@ class ProfileUtility: def get_profile_by_id(self, profile_id=None): profiles = self.profile_client.get_profile_by_id(profile_id=profile_id) - print(profiles) + print(profiles._child_profile_ids) def get_default_profiles(self): pagination_context = """{ @@ -374,6 +374,8 @@ class ProfileUtility: default_profile._details['vlanId'] = profile_data['vlan'] default_profile._details['ssid'] = profile_data['ssid_name'] default_profile._details['forwardMode'] = profile_data['mode'] + default_profile._details["radiusServiceId"] = self.profile_creation_ids["radius"][0] + default_profile._child_profile_ids = self.profile_creation_ids["radius"] default_profile._details['secureMode'] = 'wpa2OnlyRadius' profile_id = self.profile_client.create_profile(body=default_profile)._id self.profile_creation_ids['ssid'].append(profile_id) @@ -398,6 +400,8 @@ class ProfileUtility: default_profile._details['keyStr'] = profile_data['security_key'] default_profile._details['forwardMode'] = profile_data['mode'] default_profile._details['secureMode'] = 'wpa3OnlyRadius' + default_profile._details["radiusServiceId"] = self.profile_creation_ids["radius"][0] + default_profile._child_profile_ids = self.profile_creation_ids["radius"] profile_id = self.profile_client.create_profile(body=default_profile)._id self.profile_creation_ids['ssid'].append(profile_id) self.profile_ids.append(profile_id) @@ -428,14 +432,15 @@ class ProfileUtility: method call: used to create a radius profile with the settings given """ - def set_radius_profile(self, radius_info=None): - default_profile = self.sdk_client.get_profile_template(customer_id=2, profile_name="Radius-Profile") + def create_radius_profile(self, radius_info=None): + # default_profile = self.sdk_client.get_profile_template(customer_id=self.sdk_client.customer_id, profile_name="Radius-Profile") + default_profile = self.default_profiles['radius'] default_profile._name = radius_info['name'] default_profile._details['primaryRadiusAuthServer']['ipAddress'] = radius_info['ip'] default_profile._details['primaryRadiusAuthServer']['port'] = radius_info['port'] default_profile._details['primaryRadiusAuthServer']['secret'] = radius_info['secret'] default_profile = self.profile_client.create_profile(body=default_profile) - self.profile_creation_ids['radius'].append(default_profile._id) + self.profile_creation_ids['radius'] = [default_profile._id] self.profile_ids.append(default_profile._id) """ @@ -625,11 +630,40 @@ class FirmwareUtility(JFrogUtility): return firmware_version -# from testbed_info import JFROG_CREDENTIALS +# sdk_client = CloudSDK(testbed="nola-ext-03", customer_id=2) +# profile_obj = ProfileUtility(sdk_client=sdk_client) +# profile_obj.get_default_profiles() +# profile_obj.set_rf_profile() +# # print(profile_obj.default_profiles["ssid"]._id) +# # profile_obj.get_profile_by_id(profile_id=profile_obj.default_profiles["ssid"]._id) +# # +# # print(profile_obj.default_profiles)default_profiles +# radius_info = { +# "name": "nola-ext-03" + "-RADIUS-Sanity", +# "ip": "192.168.200.75", +# "port": 1812, +# "secret": "testing123" +# } +# profile_obj.create_radius_profile(radius_info=radius_info) +# profile_data = { +# "profile_name": "NOLA-ext-03-WPA2-Enterprise-2G", +# "ssid_name": "NOLA-ext-03-WPA2-Enterprise-2G", +# "vlan": 1, +# "mode": "BRIDGE" +# } +# profile_obj.create_wpa2_enterprise_ssid_profile(profile_data=profile_data) +# profile_data = { +# "profile_name": "%s-%s-%s" % ("Nola-ext-03", "ecw5410", 'Bridge') +# } +# profile_obj.set_ap_profile(profile_data=profile_data) +# profile_obj.push_profile_old_method(equipment_id=23) +# sdk_client.disconnect_cloudsdk() # -# sdk_client = CloudSDK(testbed="nola-ext-05", customer_id=2) -# obj = FirmwareUtility(jfrog_credentials=JFROG_CREDENTIALS, sdk_client=sdk_client) -# obj.upgrade_fw(equipment_id=7, force_upload=False, force_upgrade=False) +# # from testbed_info import JFROG_CREDENTIALS +# # +# # sdk_client = CloudSDK(testbed="nola-ext-05", customer_id=2) +# # obj = FirmwareUtility(jfrog_credentials=JFROG_CREDENTIALS, sdk_client=sdk_client) +# # obj.upgrade_fw(equipment_id=7, force_upload=False, force_upgrade=False) """ Check the ap model diff --git a/tests/client_connectivity/test_bridge_mode.py b/tests/client_connectivity/test_bridge_mode.py index d3b6d848e..d5c7f628f 100644 --- a/tests/client_connectivity/test_bridge_mode.py +++ b/tests/client_connectivity/test_bridge_mode.py @@ -5,6 +5,9 @@ for folder in 'py-json', 'py-scripts': if folder not in sys.path: sys.path.append(f'../lanforge/lanforge-scripts/{folder}') +sys.path.append(f'../libs') +sys.path.append(f'../libs/lanforge/') + from LANforge.LFUtils import * if 'py-json' not in sys.path: @@ -12,6 +15,8 @@ if 'py-json' not in sys.path: import sta_connect2 from sta_connect2 import StaConnect2 +import eap_connect +from eap_connect import EAPConnect import time @@ -30,37 +35,67 @@ class TestBridgeModeClientConnectivity(object): test_result = [] for profile in setup_bridge_mode[3]: print(profile) - # SSID, Passkey, Security, Run layer3 tcp, udp upstream downstream - staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], 8080, debug_=False) - staConnect.sta_mode = 0 - staConnect.upstream_resource = 1 - staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] - staConnect.radio = get_lanforge_data["lanforge_5g"] - staConnect.resource = 1 - staConnect.dut_ssid = profile["ssid_name"] - staConnect.dut_passwd = profile["security_key"] - staConnect.dut_security = profile["security_key"].split("-")[1].split("_")[0].lower() - staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] - staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] - staConnect.runtime_secs = 10 - staConnect.bringup_time_sec = 60 - staConnect.cleanup_on_exit = True - # staConnect.cleanup() - staConnect.setup() - staConnect.start() - print("napping %f sec" % staConnect.runtime_secs) - time.sleep(staConnect.runtime_secs) - staConnect.stop() - staConnect.cleanup() - run_results = staConnect.get_result_list() - for result in run_results: - print("test result: " + result) - # result = 'pass' - print("Single Client Connectivity :", staConnect.passes) - if staConnect.passes() == True: - test_result.append("PASS") + if str(profile["ssid_name"]).__contains__("EAP"): + eap_connect = EAPConnect(get_lanforge_data["lanforge_ip"], 8080) + eap_connect.upstream_resource = 1 + eap_connect.upstream_port = get_lanforge_data["lanforge_bridge_port"] + eap_connect.security = "wpa2" + eap_connect.sta_list = [get_lanforge_data["lanforge_5g_station"]] + eap_connect.station_names = [get_lanforge_data["lanforge_5g_station"]] + eap_connect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] + eap_connect.ssid = profile["ssid_name"] + eap_connect.radio = get_lanforge_data["lanforge_5g"] + eap_connect.eap = "TTLS" + eap_connect.identity = "nolaradius" + eap_connect.ttls_passwd = "nolastart" + eap_connect.runtime_secs = 10 + eap_connect.setup() + eap_connect.start() + print("napping %f sec" % eap_connect.runtime_secs) + time.sleep(eap_connect.runtime_secs) + eap_connect.stop() + eap_connect.cleanup() + run_results = eap_connect.get_result_list() + for result in run_results: + print("test result: " + result) + # result = 'pass' + print("Single Client Connectivity :", eap_connect.passes) + if eap_connect.passes() == True: + test_result.append("PASS") + else: + test_result.append("FAIL") else: - test_result.append("FAIL") + # SSID, Passkey, Security, Run layer3 tcp, udp upstream downstream + staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], 8080, debug_=False) + staConnect.sta_mode = 0 + staConnect.upstream_resource = 1 + staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] + staConnect.radio = get_lanforge_data["lanforge_5g"] + staConnect.resource = 1 + staConnect.dut_ssid = profile["ssid_name"] + staConnect.dut_passwd = profile["security_key"] + staConnect.dut_security = profile["security_key"].split("-")[1].split("_")[0].lower() + staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] + staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] + staConnect.runtime_secs = 10 + staConnect.bringup_time_sec = 60 + staConnect.cleanup_on_exit = True + # staConnect.cleanup() + staConnect.setup() + staConnect.start() + print("napping %f sec" % staConnect.runtime_secs) + time.sleep(staConnect.runtime_secs) + staConnect.stop() + staConnect.cleanup() + run_results = staConnect.get_result_list() + for result in run_results: + print("test result: " + result) + # result = 'pass' + print("Single Client Connectivity :", staConnect.passes) + if staConnect.passes() == True: + test_result.append("PASS") + else: + test_result.append("FAIL") print(test_result) if test_result.__contains__("FAIL"): assert False diff --git a/tests/client_connectivity/test_nat_mode.py b/tests/client_connectivity/test_nat_mode.py index e008244bb..9baa9d7f5 100644 --- a/tests/client_connectivity/test_nat_mode.py +++ b/tests/client_connectivity/test_nat_mode.py @@ -1,10 +1,13 @@ import pytest - import sys + for folder in 'py-json', 'py-scripts': if folder not in sys.path: sys.path.append(f'../lanforge/lanforge-scripts/{folder}') +sys.path.append(f'../libs') +sys.path.append(f'../libs/lanforge/') + from LANforge.LFUtils import * if 'py-json' not in sys.path: @@ -12,9 +15,12 @@ if 'py-json' not in sys.path: import sta_connect2 from sta_connect2 import StaConnect2 +import eap_connect +from eap_connect import EAPConnect import time + @pytest.mark.usefixtures('setup_cloudsdk') @pytest.mark.usefixtures('upgrade_firmware') class TestNATModeClientConnectivity(object): @@ -30,37 +36,67 @@ class TestNATModeClientConnectivity(object): test_result = [] for profile in setup_nat_mode[3]: print(profile) - # SSID, Passkey, Security, Run layer3 tcp, udp upstream downstream - staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], 8080, debug_=False) - staConnect.sta_mode = 0 - staConnect.upstream_resource = 1 - staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] - staConnect.radio = get_lanforge_data["lanforge_5g"] - staConnect.resource = 1 - staConnect.dut_ssid = profile["ssid_name"] - staConnect.dut_passwd = profile["security_key"] - staConnect.dut_security = profile["security_key"].split("-")[1].split("_")[0].lower() - staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] - staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] - staConnect.runtime_secs = 10 - staConnect.bringup_time_sec = 60 - staConnect.cleanup_on_exit = True - # staConnect.cleanup() - staConnect.setup() - staConnect.start() - print("napping %f sec" % staConnect.runtime_secs) - time.sleep(staConnect.runtime_secs) - staConnect.stop() - staConnect.cleanup() - run_results = staConnect.get_result_list() - for result in run_results: - print("test result: " + result) - # result = 'pass' - print("Single Client Connectivity :", staConnect.passes) - if staConnect.passes() == True: - test_result.append("PASS") + if str(profile["ssid_name"]).__contains__("EAP"): + eap_connect = EAPConnect(get_lanforge_data["lanforge_ip"], 8080) + eap_connect.upstream_resource = 1 + eap_connect.upstream_port = get_lanforge_data["lanforge_bridge_port"] + eap_connect.security = "wpa2" + eap_connect.sta_list = [get_lanforge_data["lanforge_5g_station"]] + eap_connect.station_names = [get_lanforge_data["lanforge_5g_station"]] + eap_connect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] + eap_connect.ssid = profile["ssid_name"] + eap_connect.radio = get_lanforge_data["lanforge_5g"] + eap_connect.eap = "TTLS" + eap_connect.identity = "nolaradius" + eap_connect.ttls_passwd = "nolastart" + eap_connect.runtime_secs = 10 + eap_connect.setup() + eap_connect.start() + print("napping %f sec" % eap_connect.runtime_secs) + time.sleep(eap_connect.runtime_secs) + eap_connect.stop() + eap_connect.cleanup() + run_results = eap_connect.get_result_list() + for result in run_results: + print("test result: " + result) + # result = 'pass' + print("Single Client Connectivity :", eap_connect.passes) + if eap_connect.passes() == True: + test_result.append("PASS") + else: + test_result.append("FAIL") else: - test_result.append("FAIL") + # SSID, Passkey, Security, Run layer3 tcp, udp upstream downstream + staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], 8080, debug_=False) + staConnect.sta_mode = 0 + staConnect.upstream_resource = 1 + staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] + staConnect.radio = get_lanforge_data["lanforge_5g"] + staConnect.resource = 1 + staConnect.dut_ssid = profile["ssid_name"] + staConnect.dut_passwd = profile["security_key"] + staConnect.dut_security = profile["security_key"].split("-")[1].split("_")[0].lower() + staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] + staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] + staConnect.runtime_secs = 10 + staConnect.bringup_time_sec = 60 + staConnect.cleanup_on_exit = True + # staConnect.cleanup() + staConnect.setup() + staConnect.start() + print("napping %f sec" % staConnect.runtime_secs) + time.sleep(staConnect.runtime_secs) + staConnect.stop() + staConnect.cleanup() + run_results = staConnect.get_result_list() + for result in run_results: + print("test result: " + result) + # result = 'pass' + print("Single Client Connectivity :", staConnect.passes) + if staConnect.passes() == True: + test_result.append("PASS") + else: + test_result.append("FAIL") print(test_result) if test_result.__contains__("FAIL"): assert False diff --git a/tests/conftest.py b/tests/conftest.py index 37398f581..3ddcf362a 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -266,13 +266,18 @@ def create_bridge_profile(request, instantiate_cloudsdk, setup_profile_data, get profile_list.append(profile_data) if get_markers.__contains__("eap"): radius_info = { - "name": get_testbed_name + "-RADIUS-Nightly", + "name": "nola-ext-03" + "-RADIUS-Sanity", "ip": "192.168.200.75", "port": 1812, "secret": "testing123" } - # create a eap profile - pass + profile_object.create_radius_profile(radius_info=radius_info) + profile_data = setup_profile_data['EAP']['2G'] + profile_object.create_wpa2_enterprise_ssid_profile(profile_data=profile_data, fiveg=False) + profile_list.append(profile_data) + profile_data = setup_profile_data['EAP']['5G'] + profile_object.create_wpa2_enterprise_ssid_profile(profile_data=profile_data, two4g=False) + profile_list.append(profile_data) profile_data = { "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", 'BRIDGE'), } @@ -360,12 +365,18 @@ def create_nat_profile(request, instantiate_cloudsdk, setup_profile_data, get_te profile_list.append(profile_data) if get_markers.__contains__("eap"): radius_info = { - "name": get_testbed_name + "-RADIUS-Nightly", + "name": "nola-ext-03" + "-RADIUS-Sanity", "ip": "192.168.200.75", "port": 1812, "secret": "testing123" } - # create a eap profile + profile_object.create_radius_profile(radius_info=radius_info) + profile_data = setup_profile_data['EAP']['2G'] + profile_object.create_wpa2_enterprise_ssid_profile(profile_data=profile_data, fiveg=False) + profile_list.append(profile_data) + profile_data = setup_profile_data['EAP']['5G'] + profile_object.create_wpa2_enterprise_ssid_profile(profile_data=profile_data, two4g=False) + profile_list.append(profile_data) profile_data = { "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", "NAT") } @@ -456,13 +467,18 @@ def create_vlan_profile(request, instantiate_cloudsdk, setup_profile_data, get_t profile_list.append(profile_data) if request.config.getini("skip-eap") == 'False': radius_info = { - "name": get_testbed_name + "-RADIUS-Nightly", + "name": "nola-ext-03" + "-RADIUS-Sanity", "ip": "192.168.200.75", "port": 1812, "secret": "testing123" } - # create a eap profile - pass + profile_object.create_radius_profile(radius_info=radius_info) + profile_data = setup_profile_data['EAP']['2G'] + profile_object.create_wpa2_enterprise_ssid_profile(profile_data=profile_data, fiveg=False) + profile_list.append(profile_data) + profile_data = setup_profile_data['EAP']['5G'] + profile_object.create_wpa2_enterprise_ssid_profile(profile_data=profile_data, two4g=False) + profile_list.append(profile_data) profile_data = { "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", 'VLAN') } diff --git a/tests/pytest.ini b/tests/pytest.ini index a23c64215..18b56264f 100644 --- a/tests/pytest.ini +++ b/tests/pytest.ini @@ -31,7 +31,7 @@ lanforge-ethernet-port=eth2 # Cloud SDK settings sdk-customer-id=2 -sdk-equipment-id=21 +sdk-equipment-id=23 # Profile skip-open=True From 7380b87ad33b876aaba23c2f8056123217f13033 Mon Sep 17 00:00:00 2001 From: shivamcandela Date: Tue, 23 Mar 2021 23:40:54 +0530 Subject: [PATCH 36/45] all sanity cases working now Signed-off-by: shivamcandela --- tests/client_connectivity/test_bridge_mode.py | 279 ++++++++---- tests/client_connectivity/test_nat_mode.py | 280 ++++++++---- tests/client_connectivity/test_vlan_mode.py | 309 +++++++++++++- tests/conftest.py | 402 +++++++++++++----- tests/pytest.ini | 1 + 5 files changed, 1004 insertions(+), 267 deletions(-) diff --git a/tests/client_connectivity/test_bridge_mode.py b/tests/client_connectivity/test_bridge_mode.py index d5c7f628f..93bba54bb 100644 --- a/tests/client_connectivity/test_bridge_mode.py +++ b/tests/client_connectivity/test_bridge_mode.py @@ -20,84 +20,211 @@ from eap_connect import EAPConnect import time -@pytest.mark.usefixtures('setup_cloudsdk') -@pytest.mark.usefixtures('upgrade_firmware') class TestBridgeModeClientConnectivity(object): @pytest.mark.sanity @pytest.mark.bridge - @pytest.mark.open + @pytest.mark.wpa2_personal + @pytest.mark.wpa2_personal_5g + def test_single_client_wpa2_personal_5g(self, setup_cloudsdk, upgrade_firmware, setup_bridge_mode, + disconnect_cloudsdk, get_lanforge_data): + profile_data = setup_bridge_mode[3]['wpa2_personal']['5g'] + staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], 8080, debug_=False) + staConnect.sta_mode = 0 + staConnect.upstream_resource = 1 + staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] + staConnect.radio = get_lanforge_data["lanforge_5g"] + staConnect.resource = 1 + staConnect.dut_ssid = profile_data["ssid_name"] + staConnect.dut_passwd = profile_data["security_key"] + staConnect.dut_security = profile_data["security_key"].split("-")[1].split("_")[0].lower() + staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] + staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] + staConnect.runtime_secs = 10 + staConnect.bringup_time_sec = 60 + staConnect.cleanup_on_exit = True + # staConnect.cleanup() + staConnect.setup() + staConnect.start() + print("napping %f sec" % staConnect.runtime_secs) + time.sleep(staConnect.runtime_secs) + staConnect.stop() + staConnect.cleanup() + run_results = staConnect.get_result_list() + for result in run_results: + print("test result: " + result) + # result = 'pass' + print("Single Client Connectivity :", staConnect.passes) + assert staConnect.passes() + + @pytest.mark.sanity + @pytest.mark.bridge + @pytest.mark.wpa2_personal + @pytest.mark.wpa2_personal_2g + def test_single_client_wpa2_personal_2g(self, setup_cloudsdk, upgrade_firmware, setup_bridge_mode, + disconnect_cloudsdk, get_lanforge_data): + profile_data = setup_bridge_mode[3]['wpa2_personal']['2g'] + staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], 8080, debug_=False) + staConnect.sta_mode = 0 + staConnect.upstream_resource = 1 + staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] + staConnect.radio = get_lanforge_data["lanforge_5g"] + staConnect.resource = 1 + staConnect.dut_ssid = profile_data["ssid_name"] + staConnect.dut_passwd = profile_data["security_key"] + staConnect.dut_security = profile_data["security_key"].split("-")[1].split("_")[0].lower() + staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] + staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] + staConnect.runtime_secs = 10 + staConnect.bringup_time_sec = 60 + staConnect.cleanup_on_exit = True + # staConnect.cleanup() + staConnect.setup() + staConnect.start() + print("napping %f sec" % staConnect.runtime_secs) + time.sleep(staConnect.runtime_secs) + staConnect.stop() + staConnect.cleanup() + run_results = staConnect.get_result_list() + for result in run_results: + print("test result: " + result) + # result = 'pass' + print("Single Client Connectivity :", staConnect.passes) + assert staConnect.passes() + + @pytest.mark.sanity + @pytest.mark.bridge @pytest.mark.wpa - @pytest.mark.wpa2 - @pytest.mark.eap - def test_single_client(self, setup_cloudsdk, upgrade_firmware, setup_bridge_mode, disconnect_cloudsdk, get_lanforge_data): - print("Run Client Connectivity Here - BRIDGE Mode") - test_result = [] - for profile in setup_bridge_mode[3]: - print(profile) - if str(profile["ssid_name"]).__contains__("EAP"): - eap_connect = EAPConnect(get_lanforge_data["lanforge_ip"], 8080) - eap_connect.upstream_resource = 1 - eap_connect.upstream_port = get_lanforge_data["lanforge_bridge_port"] - eap_connect.security = "wpa2" - eap_connect.sta_list = [get_lanforge_data["lanforge_5g_station"]] - eap_connect.station_names = [get_lanforge_data["lanforge_5g_station"]] - eap_connect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] - eap_connect.ssid = profile["ssid_name"] - eap_connect.radio = get_lanforge_data["lanforge_5g"] - eap_connect.eap = "TTLS" - eap_connect.identity = "nolaradius" - eap_connect.ttls_passwd = "nolastart" - eap_connect.runtime_secs = 10 - eap_connect.setup() - eap_connect.start() - print("napping %f sec" % eap_connect.runtime_secs) - time.sleep(eap_connect.runtime_secs) - eap_connect.stop() - eap_connect.cleanup() - run_results = eap_connect.get_result_list() - for result in run_results: - print("test result: " + result) - # result = 'pass' - print("Single Client Connectivity :", eap_connect.passes) - if eap_connect.passes() == True: - test_result.append("PASS") - else: - test_result.append("FAIL") - else: - # SSID, Passkey, Security, Run layer3 tcp, udp upstream downstream - staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], 8080, debug_=False) - staConnect.sta_mode = 0 - staConnect.upstream_resource = 1 - staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] - staConnect.radio = get_lanforge_data["lanforge_5g"] - staConnect.resource = 1 - staConnect.dut_ssid = profile["ssid_name"] - staConnect.dut_passwd = profile["security_key"] - staConnect.dut_security = profile["security_key"].split("-")[1].split("_")[0].lower() - staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] - staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] - staConnect.runtime_secs = 10 - staConnect.bringup_time_sec = 60 - staConnect.cleanup_on_exit = True - # staConnect.cleanup() - staConnect.setup() - staConnect.start() - print("napping %f sec" % staConnect.runtime_secs) - time.sleep(staConnect.runtime_secs) - staConnect.stop() - staConnect.cleanup() - run_results = staConnect.get_result_list() - for result in run_results: - print("test result: " + result) - # result = 'pass' - print("Single Client Connectivity :", staConnect.passes) - if staConnect.passes() == True: - test_result.append("PASS") - else: - test_result.append("FAIL") - print(test_result) - if test_result.__contains__("FAIL"): - assert False - else: - assert True + @pytest.mark.wpa_5g + def test_single_client_wpa_5g(self, setup_cloudsdk, upgrade_firmware, setup_bridge_mode, + disconnect_cloudsdk, get_lanforge_data): + profile_data = setup_bridge_mode[3]['wpa']['5g'] + staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], 8080, debug_=False) + staConnect.sta_mode = 0 + staConnect.upstream_resource = 1 + staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] + staConnect.radio = get_lanforge_data["lanforge_5g"] + staConnect.resource = 1 + staConnect.dut_ssid = profile_data["ssid_name"] + staConnect.dut_passwd = profile_data["security_key"] + staConnect.dut_security = profile_data["security_key"].split("-")[1].split("_")[0].lower() + staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] + staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] + staConnect.runtime_secs = 10 + staConnect.bringup_time_sec = 60 + staConnect.cleanup_on_exit = True + # staConnect.cleanup() + staConnect.setup() + staConnect.start() + print("napping %f sec" % staConnect.runtime_secs) + time.sleep(staConnect.runtime_secs) + staConnect.stop() + staConnect.cleanup() + run_results = staConnect.get_result_list() + for result in run_results: + print("test result: " + result) + # result = 'pass' + print("Single Client Connectivity :", staConnect.passes) + assert staConnect.passes() + + @pytest.mark.sanity + @pytest.mark.bridge + @pytest.mark.wpa + @pytest.mark.wpa_2g + def test_single_client_wpa_2g(self, setup_cloudsdk, upgrade_firmware, setup_bridge_mode, + disconnect_cloudsdk, get_lanforge_data): + profile_data = setup_bridge_mode[3]['wpa']['2g'] + staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], 8080, debug_=False) + staConnect.sta_mode = 0 + staConnect.upstream_resource = 1 + staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] + staConnect.radio = get_lanforge_data["lanforge_5g"] + staConnect.resource = 1 + staConnect.dut_ssid = profile_data["ssid_name"] + staConnect.dut_passwd = profile_data["security_key"] + staConnect.dut_security = profile_data["security_key"].split("-")[1].split("_")[0].lower() + staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] + staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] + staConnect.runtime_secs = 10 + staConnect.bringup_time_sec = 60 + staConnect.cleanup_on_exit = True + # staConnect.cleanup() + staConnect.setup() + staConnect.start() + print("napping %f sec" % staConnect.runtime_secs) + time.sleep(staConnect.runtime_secs) + staConnect.stop() + staConnect.cleanup() + run_results = staConnect.get_result_list() + for result in run_results: + print("test result: " + result) + # result = 'pass' + print("Single Client Connectivity :", staConnect.passes) + assert staConnect.passes() + + @pytest.mark.sanity + @pytest.mark.bridge + @pytest.mark.wpa2_enterprise + @pytest.mark.wpa2_enterprise_5g + def test_single_client_wpa2_enterprise_5g(self, setup_cloudsdk, upgrade_firmware, setup_bridge_mode, + disconnect_cloudsdk, get_lanforge_data): + profile_data = setup_bridge_mode[3]['wpa2_enterprise']['5g'] + eap_connect = EAPConnect(get_lanforge_data["lanforge_ip"], 8080) + eap_connect.upstream_resource = 1 + eap_connect.upstream_port = get_lanforge_data["lanforge_bridge_port"] + eap_connect.security = "wpa2" + eap_connect.sta_list = [get_lanforge_data["lanforge_5g_station"]] + eap_connect.station_names = [get_lanforge_data["lanforge_5g_station"]] + eap_connect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] + eap_connect.ssid = profile_data["ssid_name"] + eap_connect.radio = get_lanforge_data["lanforge_5g"] + eap_connect.eap = "TTLS" + eap_connect.identity = "nolaradius" + eap_connect.ttls_passwd = "nolastart" + eap_connect.runtime_secs = 10 + eap_connect.setup() + eap_connect.start() + print("napping %f sec" % eap_connect.runtime_secs) + time.sleep(eap_connect.runtime_secs) + eap_connect.stop() + eap_connect.cleanup() + run_results = eap_connect.get_result_list() + for result in run_results: + print("test result: " + result) + # result = 'pass' + print("Single Client Connectivity :", eap_connect.passes) + assert eap_connect.passes() + + + @pytest.mark.sanity + @pytest.mark.bridge + @pytest.mark.wpa2_enterprise + @pytest.mark.wpa2_enterprise_2g + def test_single_client_wpa2_enterprise_2g(self, setup_cloudsdk, upgrade_firmware, setup_bridge_mode, + disconnect_cloudsdk, get_lanforge_data): + profile_data = setup_bridge_mode[3]['wpa2_enterprise']['2g'] + eap_connect = EAPConnect(get_lanforge_data["lanforge_ip"], 8080) + eap_connect.upstream_resource = 1 + eap_connect.upstream_port = get_lanforge_data["lanforge_bridge_port"] + eap_connect.security = "wpa2" + eap_connect.sta_list = [get_lanforge_data["lanforge_5g_station"]] + eap_connect.station_names = [get_lanforge_data["lanforge_5g_station"]] + eap_connect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] + eap_connect.ssid = profile_data["ssid_name"] + eap_connect.radio = get_lanforge_data["lanforge_5g"] + eap_connect.eap = "TTLS" + eap_connect.identity = "nolaradius" + eap_connect.ttls_passwd = "nolastart" + eap_connect.runtime_secs = 10 + eap_connect.setup() + eap_connect.start() + print("napping %f sec" % eap_connect.runtime_secs) + time.sleep(eap_connect.runtime_secs) + eap_connect.stop() + eap_connect.cleanup() + run_results = eap_connect.get_result_list() + for result in run_results: + print("test result: " + result) + # result = 'pass' + print("Single Client Connectivity :", eap_connect.passes) + assert eap_connect.passes() diff --git a/tests/client_connectivity/test_nat_mode.py b/tests/client_connectivity/test_nat_mode.py index 9baa9d7f5..28724abf7 100644 --- a/tests/client_connectivity/test_nat_mode.py +++ b/tests/client_connectivity/test_nat_mode.py @@ -20,86 +20,210 @@ from eap_connect import EAPConnect import time - -@pytest.mark.usefixtures('setup_cloudsdk') -@pytest.mark.usefixtures('upgrade_firmware') class TestNATModeClientConnectivity(object): @pytest.mark.sanity @pytest.mark.nat - @pytest.mark.open - @pytest.mark.wpa - @pytest.mark.wpa2 - @pytest.mark.eap - def test_single_client(self, setup_cloudsdk, upgrade_firmware, setup_nat_mode, disconnect_cloudsdk, get_lanforge_data): - print("Run Client Connectivity Here - NAT Mode") - test_result = [] - for profile in setup_nat_mode[3]: - print(profile) - if str(profile["ssid_name"]).__contains__("EAP"): - eap_connect = EAPConnect(get_lanforge_data["lanforge_ip"], 8080) - eap_connect.upstream_resource = 1 - eap_connect.upstream_port = get_lanforge_data["lanforge_bridge_port"] - eap_connect.security = "wpa2" - eap_connect.sta_list = [get_lanforge_data["lanforge_5g_station"]] - eap_connect.station_names = [get_lanforge_data["lanforge_5g_station"]] - eap_connect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] - eap_connect.ssid = profile["ssid_name"] - eap_connect.radio = get_lanforge_data["lanforge_5g"] - eap_connect.eap = "TTLS" - eap_connect.identity = "nolaradius" - eap_connect.ttls_passwd = "nolastart" - eap_connect.runtime_secs = 10 - eap_connect.setup() - eap_connect.start() - print("napping %f sec" % eap_connect.runtime_secs) - time.sleep(eap_connect.runtime_secs) - eap_connect.stop() - eap_connect.cleanup() - run_results = eap_connect.get_result_list() - for result in run_results: - print("test result: " + result) - # result = 'pass' - print("Single Client Connectivity :", eap_connect.passes) - if eap_connect.passes() == True: - test_result.append("PASS") - else: - test_result.append("FAIL") - else: - # SSID, Passkey, Security, Run layer3 tcp, udp upstream downstream - staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], 8080, debug_=False) - staConnect.sta_mode = 0 - staConnect.upstream_resource = 1 - staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] - staConnect.radio = get_lanforge_data["lanforge_5g"] - staConnect.resource = 1 - staConnect.dut_ssid = profile["ssid_name"] - staConnect.dut_passwd = profile["security_key"] - staConnect.dut_security = profile["security_key"].split("-")[1].split("_")[0].lower() - staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] - staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] - staConnect.runtime_secs = 10 - staConnect.bringup_time_sec = 60 - staConnect.cleanup_on_exit = True - # staConnect.cleanup() - staConnect.setup() - staConnect.start() - print("napping %f sec" % staConnect.runtime_secs) - time.sleep(staConnect.runtime_secs) - staConnect.stop() - staConnect.cleanup() - run_results = staConnect.get_result_list() - for result in run_results: - print("test result: " + result) - # result = 'pass' - print("Single Client Connectivity :", staConnect.passes) - if staConnect.passes() == True: - test_result.append("PASS") - else: - test_result.append("FAIL") - print(test_result) - if test_result.__contains__("FAIL"): - assert False - else: - assert True + @pytest.mark.wpa2_personal + @pytest.mark.wpa2_personal_5g + def test_single_client_wpa2_personal_5g(self, setup_cloudsdk, upgrade_firmware, setup_nat_mode, + disconnect_cloudsdk, get_lanforge_data): + profile_data = setup_nat_mode[3]['wpa2_personal']['5g'] + staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], 8080, debug_=False) + staConnect.sta_mode = 0 + staConnect.upstream_resource = 1 + staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] + staConnect.radio = get_lanforge_data["lanforge_5g"] + staConnect.resource = 1 + staConnect.dut_ssid = profile_data["ssid_name"] + staConnect.dut_passwd = profile_data["security_key"] + staConnect.dut_security = profile_data["security_key"].split("-")[1].split("_")[0].lower() + staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] + staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] + staConnect.runtime_secs = 10 + staConnect.bringup_time_sec = 60 + staConnect.cleanup_on_exit = True + # staConnect.cleanup() + staConnect.setup() + staConnect.start() + print("napping %f sec" % staConnect.runtime_secs) + time.sleep(staConnect.runtime_secs) + staConnect.stop() + staConnect.cleanup() + run_results = staConnect.get_result_list() + for result in run_results: + print("test result: " + result) + # result = 'pass' + print("Single Client Connectivity :", staConnect.passes) + assert staConnect.passes() + @pytest.mark.sanity + @pytest.mark.nat + @pytest.mark.wpa2_personal + @pytest.mark.wpa2_personal_2g + def test_single_client_wpa2_personal_2g(self, setup_cloudsdk, upgrade_firmware, setup_nat_mode, + disconnect_cloudsdk, get_lanforge_data): + profile_data = setup_nat_mode[3]['wpa2_personal']['2g'] + staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], 8080, debug_=False) + staConnect.sta_mode = 0 + staConnect.upstream_resource = 1 + staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] + staConnect.radio = get_lanforge_data["lanforge_5g"] + staConnect.resource = 1 + staConnect.dut_ssid = profile_data["ssid_name"] + staConnect.dut_passwd = profile_data["security_key"] + staConnect.dut_security = profile_data["security_key"].split("-")[1].split("_")[0].lower() + staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] + staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] + staConnect.runtime_secs = 10 + staConnect.bringup_time_sec = 60 + staConnect.cleanup_on_exit = True + # staConnect.cleanup() + staConnect.setup() + staConnect.start() + print("napping %f sec" % staConnect.runtime_secs) + time.sleep(staConnect.runtime_secs) + staConnect.stop() + staConnect.cleanup() + run_results = staConnect.get_result_list() + for result in run_results: + print("test result: " + result) + # result = 'pass' + print("Single Client Connectivity :", staConnect.passes) + assert staConnect.passes() + + @pytest.mark.sanity + @pytest.mark.nat + @pytest.mark.wpa + @pytest.mark.wpa_5g + def test_single_client_wpa_5g(self, setup_cloudsdk, upgrade_firmware, setup_nat_mode, + disconnect_cloudsdk, get_lanforge_data): + profile_data = setup_nat_mode[3]['wpa']['5g'] + staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], 8080, debug_=False) + staConnect.sta_mode = 0 + staConnect.upstream_resource = 1 + staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] + staConnect.radio = get_lanforge_data["lanforge_5g"] + staConnect.resource = 1 + staConnect.dut_ssid = profile_data["ssid_name"] + staConnect.dut_passwd = profile_data["security_key"] + staConnect.dut_security = profile_data["security_key"].split("-")[1].split("_")[0].lower() + staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] + staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] + staConnect.runtime_secs = 10 + staConnect.bringup_time_sec = 60 + staConnect.cleanup_on_exit = True + # staConnect.cleanup() + staConnect.setup() + staConnect.start() + print("napping %f sec" % staConnect.runtime_secs) + time.sleep(staConnect.runtime_secs) + staConnect.stop() + staConnect.cleanup() + run_results = staConnect.get_result_list() + for result in run_results: + print("test result: " + result) + # result = 'pass' + print("Single Client Connectivity :", staConnect.passes) + assert staConnect.passes() + + @pytest.mark.sanity + @pytest.mark.nat + @pytest.mark.wpa + @pytest.mark.wpa_2g + def test_single_client_wpa_2g(self, setup_cloudsdk, upgrade_firmware, setup_nat_mode, + disconnect_cloudsdk, get_lanforge_data): + profile_data = setup_nat_mode[3]['wpa']['2g'] + staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], 8080, debug_=False) + staConnect.sta_mode = 0 + staConnect.upstream_resource = 1 + staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] + staConnect.radio = get_lanforge_data["lanforge_5g"] + staConnect.resource = 1 + staConnect.dut_ssid = profile_data["ssid_name"] + staConnect.dut_passwd = profile_data["security_key"] + staConnect.dut_security = profile_data["security_key"].split("-")[1].split("_")[0].lower() + staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] + staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] + staConnect.runtime_secs = 10 + staConnect.bringup_time_sec = 60 + staConnect.cleanup_on_exit = True + # staConnect.cleanup() + staConnect.setup() + staConnect.start() + print("napping %f sec" % staConnect.runtime_secs) + time.sleep(staConnect.runtime_secs) + staConnect.stop() + staConnect.cleanup() + run_results = staConnect.get_result_list() + for result in run_results: + print("test result: " + result) + # result = 'pass' + print("Single Client Connectivity :", staConnect.passes) + assert staConnect.passes() + + @pytest.mark.sanity + @pytest.mark.nat + @pytest.mark.wpa2_enterprise + @pytest.mark.wpa2_enterprise_5g + def test_single_client_wpa2_enterprise_5g(self, setup_cloudsdk, upgrade_firmware, setup_nat_mode, + disconnect_cloudsdk, get_lanforge_data): + profile_data = setup_nat_mode[3]['wpa2_enterprise']['5g'] + eap_connect = EAPConnect(get_lanforge_data["lanforge_ip"], 8080) + eap_connect.upstream_resource = 1 + eap_connect.upstream_port = get_lanforge_data["lanforge_bridge_port"] + eap_connect.security = "wpa2" + eap_connect.sta_list = [get_lanforge_data["lanforge_5g_station"]] + eap_connect.station_names = [get_lanforge_data["lanforge_5g_station"]] + eap_connect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] + eap_connect.ssid = profile_data["ssid_name"] + eap_connect.radio = get_lanforge_data["lanforge_5g"] + eap_connect.eap = "TTLS" + eap_connect.identity = "nolaradius" + eap_connect.ttls_passwd = "nolastart" + eap_connect.runtime_secs = 10 + eap_connect.setup() + eap_connect.start() + print("napping %f sec" % eap_connect.runtime_secs) + time.sleep(eap_connect.runtime_secs) + eap_connect.stop() + eap_connect.cleanup() + run_results = eap_connect.get_result_list() + for result in run_results: + print("test result: " + result) + # result = 'pass' + print("Single Client Connectivity :", eap_connect.passes) + assert eap_connect.passes() + + @pytest.mark.sanity + @pytest.mark.nat + @pytest.mark.wpa2_enterprise + @pytest.mark.wpa2_enterprise_2g + def test_single_client_wpa2_enterprise_2g(self, setup_cloudsdk, upgrade_firmware, setup_nat_mode, + disconnect_cloudsdk, get_lanforge_data): + profile_data = setup_nat_mode[3]['wpa2_enterprise']['2g'] + eap_connect = EAPConnect(get_lanforge_data["lanforge_ip"], 8080) + eap_connect.upstream_resource = 1 + eap_connect.upstream_port = get_lanforge_data["lanforge_bridge_port"] + eap_connect.security = "wpa2" + eap_connect.sta_list = [get_lanforge_data["lanforge_5g_station"]] + eap_connect.station_names = [get_lanforge_data["lanforge_5g_station"]] + eap_connect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] + eap_connect.ssid = profile_data["ssid_name"] + eap_connect.radio = get_lanforge_data["lanforge_5g"] + eap_connect.eap = "TTLS" + eap_connect.identity = "nolaradius" + eap_connect.ttls_passwd = "nolastart" + eap_connect.runtime_secs = 10 + eap_connect.setup() + eap_connect.start() + print("napping %f sec" % eap_connect.runtime_secs) + time.sleep(eap_connect.runtime_secs) + eap_connect.stop() + eap_connect.cleanup() + run_results = eap_connect.get_result_list() + for result in run_results: + print("test result: " + result) + # result = 'pass' + print("Single Client Connectivity :", eap_connect.passes) + assert eap_connect.passes() diff --git a/tests/client_connectivity/test_vlan_mode.py b/tests/client_connectivity/test_vlan_mode.py index 3af5358f4..fb76d79ad 100644 --- a/tests/client_connectivity/test_vlan_mode.py +++ b/tests/client_connectivity/test_vlan_mode.py @@ -1,20 +1,309 @@ import pytest +import sys + +for folder in 'py-json', 'py-scripts': + if folder not in sys.path: + sys.path.append(f'../lanforge/lanforge-scripts/{folder}') + +sys.path.append(f'../libs') +sys.path.append(f'../libs/lanforge/') + +from LANforge.LFUtils import * + +if 'py-json' not in sys.path: + sys.path.append('../py-scripts') + +import sta_connect2 +from sta_connect2 import StaConnect2 +import eap_connect +from eap_connect import EAPConnect import time + @pytest.mark.usefixtures('setup_cloudsdk') @pytest.mark.usefixtures('upgrade_firmware') class TestVLANModeClientConnectivity(object): + # @pytest.mark.vlan + # @pytest.mark.open + # @pytest.mark.wpa + # @pytest.mark.wpa2 + # @pytest.mark.eap + # def test_single_client(self, setup_cloudsdk, upgrade_firmware, setup_vlan_mode, disconnect_cloudsdk, get_lanforge_data): + # print("Run Client Connectivity Here - VLAN Mode") + # test_result = [] + # for profile in setup_vlan_mode[3]: + # print(profile) + # if str(profile["ssid_name"]).__contains__("EAP"): + # eap_connect = EAPConnect(get_lanforge_data["lanforge_ip"], 8080) + # eap_connect.upstream_resource = 1 + # eap_connect.upstream_port = get_lanforge_data["lanforge_bridge_port"] + # eap_connect.security = "wpa2" + # eap_connect.sta_list = [get_lanforge_data["lanforge_5g_station"]] + # eap_connect.station_names = [get_lanforge_data["lanforge_5g_station"]] + # eap_connect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] + # eap_connect.ssid = profile["ssid_name"] + # eap_connect.radio = get_lanforge_data["lanforge_5g"] + # eap_connect.eap = "TTLS" + # eap_connect.identity = "nolaradius" + # eap_connect.ttls_passwd = "nolastart" + # eap_connect.runtime_secs = 10 + # eap_connect.setup() + # eap_connect.start() + # print("napping %f sec" % eap_connect.runtime_secs) + # time.sleep(eap_connect.runtime_secs) + # eap_connect.stop() + # eap_connect.cleanup() + # run_results = eap_connect.get_result_list() + # for result in run_results: + # print("test result: " + result) + # # result = 'pass' + # print("Single Client Connectivity :", eap_connect.passes) + # if eap_connect.passes() == True: + # test_result.append("PASS") + # else: + # test_result.append("FAIL") + # else: + # # SSID, Passkey, Security, Run layer3 tcp, udp upstream downstream + # staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], 8080, debug_=False) + # staConnect.sta_mode = 0 + # staConnect.upstream_resource = 1 + # staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] + # staConnect.radio = get_lanforge_data["lanforge_5g"] + # staConnect.resource = 1 + # staConnect.dut_ssid = profile["ssid_name"] + # staConnect.dut_passwd = profile["security_key"] + # staConnect.dut_security = profile["security_key"].split("-")[1].split("_")[0].lower() + # staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] + # staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] + # staConnect.runtime_secs = 10 + # staConnect.bringup_time_sec = 60 + # staConnect.cleanup_on_exit = True + # # staConnect.cleanup() + # staConnect.setup() + # staConnect.start() + # print("napping %f sec" % staConnect.runtime_secs) + # time.sleep(staConnect.runtime_secs) + # staConnect.stop() + # staConnect.cleanup() + # run_results = staConnect.get_result_list() + # for result in run_results: + # print("test result: " + result) + # # result = 'pass' + # print("Single Client Connectivity :", staConnect.passes) + # if staConnect.passes() == True: + # test_result.append("PASS") + # else: + # test_result.append("FAIL") + # print(test_result) + # if test_result.__contains__("FAIL"): + # assert False + # else: + # assert True + + @pytest.mark.sanity + @pytest.mark.vlan + @pytest.mark.wpa2_personal + @pytest.mark.wpa2_personal_5g + def test_single_client_wpa2_personal_5g(self, setup_cloudsdk, upgrade_firmware, setup_vlan_mode, + disconnect_cloudsdk, get_lanforge_data): + profile_data = setup_vlan_mode[3]['wpa2_personal']['5g'] + staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], 8080, debug_=False) + staConnect.sta_mode = 0 + staConnect.upstream_resource = 1 + staConnect.upstream_port = get_lanforge_data["lanforge_vlan_port"] + staConnect.radio = get_lanforge_data["lanforge_5g"] + staConnect.resource = 1 + staConnect.dut_ssid = profile_data["ssid_name"] + staConnect.dut_passwd = profile_data["security_key"] + staConnect.dut_security = profile_data["security_key"].split("-")[1].split("_")[0].lower() + staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] + staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] + staConnect.runtime_secs = 10 + staConnect.bringup_time_sec = 60 + staConnect.cleanup_on_exit = True + # staConnect.cleanup() + staConnect.setup() + staConnect.start() + print("napping %f sec" % staConnect.runtime_secs) + time.sleep(staConnect.runtime_secs) + staConnect.stop() + staConnect.cleanup() + run_results = staConnect.get_result_list() + for result in run_results: + print("test result: " + result) + # result = 'pass' + print("Single Client Connectivity :", staConnect.passes) + assert staConnect.passes() + + @pytest.mark.sanity + @pytest.mark.vlan + @pytest.mark.wpa2_personal + @pytest.mark.wpa2_personal_2g + def test_single_client_wpa2_personal_2g(self, setup_cloudsdk, upgrade_firmware, setup_vlan_mode, + disconnect_cloudsdk, get_lanforge_data): + profile_data = setup_vlan_mode[3]['wpa2_personal']['2g'] + staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], 8080, debug_=False) + staConnect.sta_mode = 0 + staConnect.upstream_resource = 1 + staConnect.upstream_port = get_lanforge_data["lanforge_vlan_port"] + staConnect.radio = get_lanforge_data["lanforge_5g"] + staConnect.resource = 1 + staConnect.dut_ssid = profile_data["ssid_name"] + staConnect.dut_passwd = profile_data["security_key"] + staConnect.dut_security = profile_data["security_key"].split("-")[1].split("_")[0].lower() + staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] + staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] + staConnect.runtime_secs = 10 + staConnect.bringup_time_sec = 60 + staConnect.cleanup_on_exit = True + # staConnect.cleanup() + staConnect.setup() + staConnect.start() + print("napping %f sec" % staConnect.runtime_secs) + time.sleep(staConnect.runtime_secs) + staConnect.stop() + staConnect.cleanup() + run_results = staConnect.get_result_list() + for result in run_results: + print("test result: " + result) + # result = 'pass' + print("Single Client Connectivity :", staConnect.passes) + assert staConnect.passes() + + @pytest.mark.sanity @pytest.mark.vlan - @pytest.mark.open @pytest.mark.wpa - @pytest.mark.wpa2 - @pytest.mark.eap - def test_single_client(self, setup_cloudsdk, upgrade_firmware, setup_vlan_mode, disconnect_cloudsdk): - print("Run Client Connectivity Here - VLAN Mode") - time.sleep(30) - if setup_vlan_mode[0] == setup_vlan_mode[1]: - assert True - else: - assert False + @pytest.mark.wpa_5g + def test_single_client_wpa_5g(self, setup_cloudsdk, upgrade_firmware, setup_vlan_mode, + disconnect_cloudsdk, get_lanforge_data): + profile_data = setup_vlan_mode[3]['wpa']['5g'] + staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], 8080, debug_=False) + staConnect.sta_mode = 0 + staConnect.upstream_resource = 1 + staConnect.upstream_port = get_lanforge_data["lanforge_vlan_port"] + staConnect.radio = get_lanforge_data["lanforge_5g"] + staConnect.resource = 1 + staConnect.dut_ssid = profile_data["ssid_name"] + staConnect.dut_passwd = profile_data["security_key"] + staConnect.dut_security = profile_data["security_key"].split("-")[1].split("_")[0].lower() + staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] + staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] + staConnect.runtime_secs = 10 + staConnect.bringup_time_sec = 60 + staConnect.cleanup_on_exit = True + # staConnect.cleanup() + staConnect.setup() + staConnect.start() + print("napping %f sec" % staConnect.runtime_secs) + time.sleep(staConnect.runtime_secs) + staConnect.stop() + staConnect.cleanup() + run_results = staConnect.get_result_list() + for result in run_results: + print("test result: " + result) + # result = 'pass' + print("Single Client Connectivity :", staConnect.passes) + assert staConnect.passes() + + @pytest.mark.sanity + @pytest.mark.vlan + @pytest.mark.wpa + @pytest.mark.wpa_2g + def test_single_client_wpa_2g(self, setup_cloudsdk, upgrade_firmware, setup_vlan_mode, + disconnect_cloudsdk, get_lanforge_data): + profile_data = setup_vlan_mode[3]['wpa']['2g'] + staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], 8080, debug_=False) + staConnect.sta_mode = 0 + staConnect.upstream_resource = 1 + staConnect.upstream_port = get_lanforge_data["lanforge_vlan_port"] + staConnect.radio = get_lanforge_data["lanforge_5g"] + staConnect.resource = 1 + staConnect.dut_ssid = profile_data["ssid_name"] + staConnect.dut_passwd = profile_data["security_key"] + staConnect.dut_security = profile_data["security_key"].split("-")[1].split("_")[0].lower() + staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] + staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] + staConnect.runtime_secs = 10 + staConnect.bringup_time_sec = 60 + staConnect.cleanup_on_exit = True + # staConnect.cleanup() + staConnect.setup() + staConnect.start() + print("napping %f sec" % staConnect.runtime_secs) + time.sleep(staConnect.runtime_secs) + staConnect.stop() + staConnect.cleanup() + run_results = staConnect.get_result_list() + for result in run_results: + print("test result: " + result) + # result = 'pass' + print("Single Client Connectivity :", staConnect.passes) + assert staConnect.passes() + + @pytest.mark.sanity + @pytest.mark.vlan + @pytest.mark.wpa2_enterprise + @pytest.mark.wpa2_enterprise_5g + def test_single_client_wpa2_enterprise_5g(self, setup_cloudsdk, upgrade_firmware, setup_vlan_mode, + disconnect_cloudsdk, get_lanforge_data): + profile_data = setup_vlan_mode[3]['wpa2_enterprise']['5g'] + eap_connect = EAPConnect(get_lanforge_data["lanforge_ip"], 8080) + eap_connect.upstream_resource = 1 + eap_connect.upstream_port = get_lanforge_data["lanforge_vlan_port"] + eap_connect.security = "wpa2" + eap_connect.sta_list = [get_lanforge_data["lanforge_5g_station"]] + eap_connect.station_names = [get_lanforge_data["lanforge_5g_station"]] + eap_connect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] + eap_connect.ssid = profile_data["ssid_name"] + eap_connect.radio = get_lanforge_data["lanforge_5g"] + eap_connect.eap = "TTLS" + eap_connect.identity = "nolaradius" + eap_connect.ttls_passwd = "nolastart" + eap_connect.runtime_secs = 10 + eap_connect.setup() + eap_connect.start() + print("napping %f sec" % eap_connect.runtime_secs) + time.sleep(eap_connect.runtime_secs) + eap_connect.stop() + eap_connect.cleanup() + run_results = eap_connect.get_result_list() + for result in run_results: + print("test result: " + result) + # result = 'pass' + print("Single Client Connectivity :", eap_connect.passes) + assert eap_connect.passes() + @pytest.mark.sanity + @pytest.mark.vlan + @pytest.mark.wpa2_enterprise + @pytest.mark.wpa2_enterprise_2g + def test_single_client_wpa2_enterprise_2g(self, setup_cloudsdk, upgrade_firmware, setup_vlan_mode, + disconnect_cloudsdk, get_lanforge_data): + profile_data = setup_vlan_mode[3]['wpa2_enterprise']['2g'] + eap_connect = EAPConnect(get_lanforge_data["lanforge_ip"], 8080) + eap_connect.upstream_resource = 1 + eap_connect.upstream_port = get_lanforge_data["lanforge_vlan_port"] + eap_connect.security = "wpa2" + eap_connect.sta_list = [get_lanforge_data["lanforge_5g_station"]] + eap_connect.station_names = [get_lanforge_data["lanforge_5g_station"]] + eap_connect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] + eap_connect.ssid = profile_data["ssid_name"] + eap_connect.radio = get_lanforge_data["lanforge_5g"] + eap_connect.eap = "TTLS" + eap_connect.identity = "nolaradius" + eap_connect.ttls_passwd = "nolastart" + eap_connect.runtime_secs = 10 + eap_connect.setup() + eap_connect.start() + print("napping %f sec" % eap_connect.runtime_secs) + time.sleep(eap_connect.runtime_secs) + eap_connect.stop() + eap_connect.cleanup() + run_results = eap_connect.get_result_list() + for result in run_results: + print("test result: " + result) + # result = 'pass' + print("Single Client Connectivity :", eap_connect.passes) + assert eap_connect.passes() + diff --git a/tests/conftest.py b/tests/conftest.py index 3ddcf362a..a5f1af4e6 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -29,6 +29,7 @@ def pytest_addoption(parser): parser.addini("jfrog-user-password", "jfrog password") parser.addini("testbed-name", "cloud sdk base url") + parser.addini("equipment-model", "Equipment Model") parser.addini("sdk-user-id", "cloud sdk username") parser.addini("sdk-user-password", "cloud sdk user password") @@ -59,7 +60,7 @@ def pytest_addoption(parser): parser.addoption( "--skip-update-firmware", action="store_true", - default=False, + default=True, help="skip updating firmware on the AP (useful for local testing)" ) # this has to be the last argument @@ -120,7 +121,7 @@ Fixtures for CloudSDK Utilities @pytest.fixture(scope="session") def get_equipment_model(request, instantiate_cloudsdk, get_equipment_id): - yield request.config.getini("testbed-name") + yield request.config.getini("equipment-model") @pytest.fixture(scope="session") @@ -168,8 +169,8 @@ def upgrade_firmware(request, instantiate_jFrog, instantiate_cloudsdk, retrieve_ @pytest.fixture(scope="session") def retrieve_latest_image(request, access_points): if request.config.getoption("--skip-update-firmware"): - return - yield "retrieve_latest_image" + yield True + yield True @pytest.fixture(scope="session") @@ -187,7 +188,7 @@ Fixtures to Create Profiles and Push to vif config and delete after the test com """ -@pytest.fixture(scope="function") +@pytest.fixture(scope="class") def setup_bridge_mode(request, instantiate_cloudsdk, create_bridge_profile, get_equipment_id): # vif config and vif state logic here logging.basicConfig(level=logging.DEBUG) @@ -200,7 +201,9 @@ def setup_bridge_mode(request, instantiate_cloudsdk, create_bridge_profile, get_ obj = APNOS(APNOS_CREDENTIAL_DATA) profile_data = [] for i in create_bridge_profile: - profile_data.append(i['ssid_name']) + for j in create_bridge_profile[i]: + if create_bridge_profile[i][j] != {}: + profile_data.append(create_bridge_profile[i][j]['ssid_name']) log = logging.getLogger('test_1') vif_config = list(obj.get_vif_config_ssids()) vif_config.sort() @@ -235,58 +238,71 @@ def setup_bridge_mode(request, instantiate_cloudsdk, create_bridge_profile, get_ delete_profiles(instantiate_cloudsdk, get_equipment_id) -@pytest.fixture(scope="function") -def create_bridge_profile(request, instantiate_cloudsdk, setup_profile_data, get_testbed_name, get_equipment_id, get_markers): - print(setup_profile_data) +@pytest.fixture(scope="class") +def create_bridge_profile(instantiate_cloudsdk, setup_bridge_profile_data, get_testbed_name, get_equipment_id, + get_equipment_model, + get_bridge_testcases): + print(setup_bridge_profile_data) # SSID and AP name shall be used as testbed_name and mode profile_object = ProfileUtility(sdk_client=instantiate_cloudsdk) profile_object.get_default_profiles() profile_object.set_rf_profile() - profile_list = [] - if get_markers.__contains__("open"): - profile_data = setup_profile_data['OPEN']['2G'] + profile_list = {"open": {"2g": {}, "5g": {}}, "wpa": {"2g": {}, "5g": {}}, "wpa2_personal": {"2g": {}, "5g": {}}, + "wpa2_enterprise": {"2g": {}, "5g": {}}} + + if get_bridge_testcases["open"]: + profile_data = setup_bridge_profile_data['OPEN']['2G'] + profile_list["open"]["2g"] = profile_data profile_object.create_open_ssid_profile(profile_data=profile_data, fiveg=False) - profile_list.append(profile_data) - profile_data = setup_profile_data['OPEN']['5G'] + + profile_data = setup_bridge_profile_data['OPEN']['5G'] + profile_list["open"]["5g"] = profile_data profile_object.create_open_ssid_profile(profile_data=profile_data, two4g=False) - profile_list.append(profile_data) - if get_markers.__contains__("wpa"): - profile_data = setup_profile_data['WPA']['2G'] + + if get_bridge_testcases["wpa"]: + profile_data = setup_bridge_profile_data['WPA']['2G'] + profile_list["wpa"]["2g"] = profile_data profile_object.create_wpa_ssid_profile(profile_data=profile_data, fiveg=False) - profile_list.append(profile_data) - profile_data = setup_profile_data['WPA']['5G'] + + profile_data = setup_bridge_profile_data['WPA']['5G'] + profile_list["wpa"]["5g"] = profile_data profile_object.create_wpa_ssid_profile(profile_data=profile_data, two4g=False) - profile_list.append(profile_data) - if get_markers.__contains__("wpa2"): - profile_data = setup_profile_data['WPA2']['2G'] + + if get_bridge_testcases["wpa2_personal"]: + profile_data = setup_bridge_profile_data['WPA2']['2G'] + profile_list["wpa2_personal"]["2g"] = profile_data profile_object.create_wpa2_personal_ssid_profile(profile_data=profile_data, fiveg=False) - profile_list.append(profile_data) - profile_data = setup_profile_data['WPA2']['5G'] + + profile_data = setup_bridge_profile_data['WPA2']['5G'] + profile_list["wpa2_personal"]["5g"] = profile_data profile_object.create_wpa2_personal_ssid_profile(profile_data=profile_data, two4g=False) - profile_list.append(profile_data) - if get_markers.__contains__("eap"): + + if get_bridge_testcases["wpa2_enterprise"]: radius_info = { - "name": "nola-ext-03" + "-RADIUS-Sanity", + "name": get_testbed_name + "-RADIUS-Sanity", "ip": "192.168.200.75", "port": 1812, "secret": "testing123" } profile_object.create_radius_profile(radius_info=radius_info) - profile_data = setup_profile_data['EAP']['2G'] + + profile_data = setup_bridge_profile_data['EAP']['2G'] + profile_list["wpa2_enterprise"]["2g"] = profile_data profile_object.create_wpa2_enterprise_ssid_profile(profile_data=profile_data, fiveg=False) - profile_list.append(profile_data) - profile_data = setup_profile_data['EAP']['5G'] + + profile_data = setup_bridge_profile_data['EAP']['5G'] + profile_list["wpa2_enterprise"]["5g"] = profile_data profile_object.create_wpa2_enterprise_ssid_profile(profile_data=profile_data, two4g=False) - profile_list.append(profile_data) + profile_data = { - "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", 'BRIDGE'), + "profile_name": "%s-%s-%s" % (get_testbed_name, get_equipment_model, 'BRIDGE'), } profile_object.set_ap_profile(profile_data=profile_data) profile_object.push_profile_old_method(equipment_id=get_equipment_id) yield profile_list -@pytest.fixture(scope="function") +@pytest.fixture(scope="class") def setup_nat_mode(request, instantiate_cloudsdk, create_nat_profile, get_equipment_id): # vif config and vif state logic here logging.basicConfig(level=logging.DEBUG) @@ -300,7 +316,9 @@ def setup_nat_mode(request, instantiate_cloudsdk, create_nat_profile, get_equipm obj = APNOS(APNOS_CREDENTIAL_DATA) profile_data = [] for i in create_nat_profile: - profile_data.append(i['ssid_name']) + for j in create_nat_profile[i]: + if create_nat_profile[i][j] != {}: + profile_data.append(create_nat_profile[i][j]['ssid_name']) vif_config = list(obj.get_vif_config_ssids()) vif_config.sort() vif_state = list(obj.get_vif_state_ssids()) @@ -334,59 +352,70 @@ def setup_nat_mode(request, instantiate_cloudsdk, create_nat_profile, get_equipm delete_profiles(instantiate_cloudsdk, get_equipment_id) -@pytest.fixture(scope="function") -def create_nat_profile(request, instantiate_cloudsdk, setup_profile_data, get_testbed_name, get_equipment_id, get_markers): - print(setup_profile_data) +@pytest.fixture(scope="class") +def create_nat_profile(instantiate_cloudsdk, setup_nat_profile_data, get_testbed_name, get_equipment_id, + get_nat_testcases): + print(setup_nat_profile_data) # SSID and AP name shall be used as testbed_name and mode profile_object = ProfileUtility(sdk_client=instantiate_cloudsdk) profile_object.get_default_profiles() profile_object.set_rf_profile() - profile_list = [] - if get_markers.__contains__("open"): - profile_data = setup_profile_data['OPEN']['2G'] + profile_list = {"open": {"2g": {}, "5g": {}}, "wpa": {"2g": {}, "5g": {}}, "wpa2_personal": {"2g": {}, "5g": {}}, + "wpa2_enterprise": {"2g": {}, "5g": {}}} + + if get_nat_testcases["open"]: + profile_data = setup_nat_profile_data['OPEN']['2G'] + profile_list["open"]["2g"] = profile_data profile_object.create_open_ssid_profile(profile_data=profile_data, fiveg=False) - profile_list.append(profile_data) - profile_data = setup_profile_data['OPEN']['5G'] + + profile_data = setup_nat_profile_data['OPEN']['5G'] + profile_list["open"]["5g"] = profile_data profile_object.create_open_ssid_profile(profile_data=profile_data, two4g=False) - profile_list.append(profile_data) - if get_markers.__contains__("wpa"): - profile_data = setup_profile_data['WPA']['2G'] + + if get_nat_testcases["wpa"]: + profile_data = setup_nat_profile_data['WPA']['2G'] + profile_list["wpa"]["2g"] = profile_data profile_object.create_wpa_ssid_profile(profile_data=profile_data, fiveg=False) - profile_list.append(profile_data) - profile_data = setup_profile_data['WPA']['5G'] + + profile_data = setup_nat_profile_data['WPA']['5G'] + profile_list["wpa"]["5g"] = profile_data profile_object.create_wpa_ssid_profile(profile_data=profile_data, two4g=False) - profile_list.append(profile_data) - if get_markers.__contains__("wpa2"): - profile_data = setup_profile_data['WPA2']['2G'] + + if get_nat_testcases["wpa2_personal"]: + profile_data = setup_nat_profile_data['WPA2']['2G'] + profile_list["wpa2_personal"]["2g"] = profile_data profile_object.create_wpa2_personal_ssid_profile(profile_data=profile_data, fiveg=False) - profile_list.append(profile_data) - profile_data = setup_profile_data['WPA2']['5G'] + + profile_data = setup_nat_profile_data['WPA2']['5G'] + profile_list["wpa2_personal"]["5g"] = profile_data profile_object.create_wpa2_personal_ssid_profile(profile_data=profile_data, two4g=False) - profile_list.append(profile_data) - if get_markers.__contains__("eap"): + + if get_nat_testcases["wpa2_enterprise"]: radius_info = { - "name": "nola-ext-03" + "-RADIUS-Sanity", + "name": get_testbed_name + "-RADIUS-Sanity", "ip": "192.168.200.75", "port": 1812, "secret": "testing123" } profile_object.create_radius_profile(radius_info=radius_info) - profile_data = setup_profile_data['EAP']['2G'] + + profile_data = setup_nat_profile_data['EAP']['2G'] + profile_list["wpa2_enterprise"]["2g"] = profile_data profile_object.create_wpa2_enterprise_ssid_profile(profile_data=profile_data, fiveg=False) - profile_list.append(profile_data) - profile_data = setup_profile_data['EAP']['5G'] + + profile_data = setup_nat_profile_data['EAP']['5G'] + profile_list["wpa2_enterprise"]["5g"] = profile_data profile_object.create_wpa2_enterprise_ssid_profile(profile_data=profile_data, two4g=False) - profile_list.append(profile_data) + profile_data = { - "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", "NAT") + "profile_name": "%s-%s-%s" % (get_testbed_name, get_equipment_model, 'NAT'), } profile_object.set_ap_profile(profile_data=profile_data) profile_object.push_profile_old_method(equipment_id=get_equipment_id) - yield profile_list -@pytest.fixture(scope="function") +@pytest.fixture(scope="class") def setup_vlan_mode(request, instantiate_cloudsdk, create_vlan_profile, get_equipment_id): # vif config and vif state logic here logging.basicConfig(level=logging.DEBUG) @@ -400,7 +429,9 @@ def setup_vlan_mode(request, instantiate_cloudsdk, create_vlan_profile, get_equi obj = APNOS(APNOS_CREDENTIAL_DATA) profile_data = [] for i in create_vlan_profile: - profile_data.append(i['ssid_name']) + for j in create_vlan_profile[i]: + if create_vlan_profile[i][j] != {}: + profile_data.append(create_vlan_profile[i][j]['ssid_name']) log = logging.getLogger('test_1') vif_config = list(obj.get_vif_config_ssids()) vif_config.sort() @@ -436,61 +467,137 @@ def setup_vlan_mode(request, instantiate_cloudsdk, create_vlan_profile, get_equi delete_profiles(instantiate_cloudsdk, get_equipment_id) -@pytest.fixture(scope="function") -def create_vlan_profile(request, instantiate_cloudsdk, setup_profile_data, get_testbed_name, get_equipment_id): - print(setup_profile_data) +@pytest.fixture(scope="class") +def create_vlan_profile(instantiate_cloudsdk, setup_vlan_profile_data, get_testbed_name, get_equipment_id, + get_vlan_testcases): + print(setup_vlan_profile_data) # SSID and AP name shall be used as testbed_name and mode profile_object = ProfileUtility(sdk_client=instantiate_cloudsdk) profile_object.get_default_profiles() profile_object.set_rf_profile() - profile_list = [] - if request.config.getini("skip-open") == 'False': - profile_data = setup_profile_data['OPEN']['2G'] + profile_list = {"open": {"2g": {}, "5g": {}}, "wpa": {"2g": {}, "5g": {}}, "wpa2_personal": {"2g": {}, "5g": {}}, + "wpa2_enterprise": {"2g": {}, "5g": {}}} + + if get_vlan_testcases["open"]: + profile_data = setup_vlan_profile_data['OPEN']['2G'] + profile_list["open"]["2g"] = profile_data profile_object.create_open_ssid_profile(profile_data=profile_data, fiveg=False) - profile_list.append(profile_data) - profile_data = setup_profile_data['OPEN']['5G'] + + profile_data = setup_vlan_profile_data['OPEN']['5G'] + profile_list["open"]["5g"] = profile_data profile_object.create_open_ssid_profile(profile_data=profile_data, two4g=False) - profile_list.append(profile_data) - if request.config.getini("skip-wpa") == 'False': - profile_data = setup_profile_data['WPA']['2G'] + + if get_vlan_testcases["wpa"]: + profile_data = setup_vlan_profile_data['WPA']['2G'] + profile_list["wpa"]["2g"] = profile_data profile_object.create_wpa_ssid_profile(profile_data=profile_data, fiveg=False) - profile_list.append(profile_data) - profile_data = setup_profile_data['WPA']['5G'] + + profile_data = setup_vlan_profile_data['WPA']['5G'] + profile_list["wpa"]["5g"] = profile_data profile_object.create_wpa_ssid_profile(profile_data=profile_data, two4g=False) - profile_list.append(profile_data) - if request.config.getini("skip-wpa2") == 'False': - profile_data = setup_profile_data['WPA2']['2G'] + + if get_vlan_testcases["wpa2_personal"]: + profile_data = setup_vlan_profile_data['WPA2']['2G'] + profile_list["wpa2_personal"]["2g"] = profile_data profile_object.create_wpa2_personal_ssid_profile(profile_data=profile_data, fiveg=False) - profile_list.append(profile_data) - profile_data = setup_profile_data['WPA2']['5G'] + + profile_data = setup_vlan_profile_data['WPA2']['5G'] + profile_list["wpa2_personal"]["5g"] = profile_data profile_object.create_wpa2_personal_ssid_profile(profile_data=profile_data, two4g=False) - profile_list.append(profile_data) - if request.config.getini("skip-eap") == 'False': + + if get_vlan_testcases["wpa2_enterprise"]: radius_info = { - "name": "nola-ext-03" + "-RADIUS-Sanity", + "name": get_testbed_name + "-RADIUS-Sanity", "ip": "192.168.200.75", "port": 1812, "secret": "testing123" } profile_object.create_radius_profile(radius_info=radius_info) - profile_data = setup_profile_data['EAP']['2G'] + + profile_data = setup_vlan_profile_data['EAP']['2G'] + profile_list["wpa2_enterprise"]["2g"] = profile_data profile_object.create_wpa2_enterprise_ssid_profile(profile_data=profile_data, fiveg=False) - profile_list.append(profile_data) - profile_data = setup_profile_data['EAP']['5G'] + + profile_data = setup_vlan_profile_data['EAP']['5G'] + profile_list["wpa2_enterprise"]["5g"] = profile_data profile_object.create_wpa2_enterprise_ssid_profile(profile_data=profile_data, two4g=False) - profile_list.append(profile_data) + profile_data = { - "profile_name": "%s-%s-%s" % (get_testbed_name, "ecw5410", 'VLAN') + "profile_name": "%s-%s-%s" % (get_testbed_name, get_equipment_model, 'VLAN'), } profile_object.set_ap_profile(profile_data=profile_data) profile_object.push_profile_old_method(equipment_id=get_equipment_id) yield profile_list -@pytest.fixture(scope="function") -def setup_profile_data(request, get_testbed_name): +@pytest.fixture(scope="class") +def setup_bridge_profile_data(request, get_testbed_name, get_equipment_model): profile_data = {} - equipment_model = "ecw5410" + equipment_model = get_equipment_model + mode = str(request._parent_request.fixturename).split("_")[1].upper() + if mode == "BRIDGE": + mode_str = "BR" + vlan_id = 1 + elif mode == "VLAN": + mode_str = "VLAN" + mode = "BRIDGE" + vlan_id = 100 + else: + mode_str = mode + vlan_id = 1 + for security in "OPEN", "WPA", "WPA2", "EAP": + profile_data[security] = {} + for radio in "2G", "5G": + name_string = "%s-%s-%s_%s_%s" % (get_testbed_name, equipment_model, radio, security, mode_str) + passkey_string = "%s-%s_%s" % (radio, security, mode) + profile_data[security][radio] = {} + profile_data[security][radio]["profile_name"] = name_string + profile_data[security][radio]["ssid_name"] = name_string + profile_data[security][radio]["mode"] = mode + profile_data[security][radio]["vlan"] = vlan_id + if security != "OPEN": + profile_data[security][radio]["security_key"] = passkey_string + else: + profile_data[security][radio]["security_key"] = "[BLANK]" + yield profile_data + + +@pytest.fixture(scope="class") +def setup_nat_profile_data(request, get_testbed_name, get_equipment_model): + profile_data = {} + equipment_model = get_equipment_model + mode = str(request._parent_request.fixturename).split("_")[1].upper() + if mode == "BRIDGE": + mode_str = "BR" + vlan_id = 1 + elif mode == "VLAN": + mode_str = "VLAN" + mode = "BRIDGE" + vlan_id = 100 + else: + mode_str = mode + vlan_id = 1 + for security in "OPEN", "WPA", "WPA2", "EAP": + profile_data[security] = {} + for radio in "2G", "5G": + name_string = "%s-%s-%s_%s_%s" % (get_testbed_name, equipment_model, radio, security, mode_str) + passkey_string = "%s-%s_%s" % (radio, security, mode) + profile_data[security][radio] = {} + profile_data[security][radio]["profile_name"] = name_string + profile_data[security][radio]["ssid_name"] = name_string + profile_data[security][radio]["mode"] = mode + profile_data[security][radio]["vlan"] = vlan_id + if security != "OPEN": + profile_data[security][radio]["security_key"] = passkey_string + else: + profile_data[security][radio]["security_key"] = "[BLANK]" + yield profile_data + + +@pytest.fixture(scope="class") +def setup_vlan_profile_data(request, get_testbed_name, get_equipment_model): + profile_data = {} + equipment_model = get_equipment_model mode = str(request._parent_request.fixturename).split("_")[1].upper() if mode == "BRIDGE": mode_str = "BR" @@ -535,20 +642,109 @@ def get_lanforge_data(request): "lanforge_2dot4g_station": "wlan1", "lanforge_5g_station": "wlan1", "lanforge_bridge_port": "eth1", - "lanforge_vlan_port": "vlan100", + "lanforge_vlan_port": "eth1.100", "vlan": 100 } yield lanforge_data -@pytest.fixture(scope="function") -def get_markers(request): - mode = request.config.getoption("-m") - markers = [] - for i in request.node.iter_markers(): - markers.append(i.name) - a = set(mode.split(" ")) - b = set(markers) - markers = a.intersection(b) - yield list(markers) +# @pytest.fixture(scope="session") +# def get_testcase(request): +# import pdb +# pdb.set_trace() +# +# # mode = request.config.getoption("-m") +# # markers = [] +# # for i in request.node.iter_markers(): +# # markers.append(i.name) +# # a = set(mode.split(" ")) +# # b = set(markers) +# # markers = a.intersection(b) +# # yield list(markers) + +@pytest.fixture(scope="session") +def get_bridge_testcases(request): + # import pdb + # pdb.set_trace() + print("callattr_ahead_of_alltests called") + security = {"open": False, + "wpa": False, + "wpa2_personal": False, + "wpa2_enterprise": False + } + session = request.node + for item in session.items: + for i in item.iter_markers(): + if str(i.name).__eq__("wpa"): + print(i) + security["wpa"] = True + pass + if str(i.name).__eq__("wpa2_personal"): + print(i) + security["wpa2_personal"] = True + pass + if str(i.name).__eq__("wpa2_enterprise"): + print(i) + security["wpa2_enterprise"] = True + pass + + yield security + + +@pytest.fixture(scope="session") +def get_nat_testcases(request): + # import pdb + # pdb.set_trace() + print("callattr_ahead_of_alltests called") + security = {"open": False, + "wpa": False, + "wpa2_personal": False, + "wpa2_enterprise": False + } + session = request.node + for item in session.items: + for i in item.iter_markers(): + if str(i.name).__eq__("wpa"): + print(i) + security["wpa"] = True + pass + if str(i.name).__eq__("wpa2_personal"): + print(i) + security["wpa2_personal"] = True + pass + if str(i.name).__eq__("wpa2_enterprise"): + print(i) + security["wpa2_enterprise"] = True + pass + + yield security + + +@pytest.fixture(scope="session") +def get_vlan_testcases(request): + # import pdb + # pdb.set_trace() + print("callattr_ahead_of_alltests called") + security = {"open": False, + "wpa": False, + "wpa2_personal": False, + "wpa2_enterprise": False + } + session = request.node + for item in session.items: + for i in item.iter_markers(): + if str(i.name).__eq__("wpa"): + print(i) + security["wpa"] = True + pass + if str(i.name).__eq__("wpa2_personal"): + print(i) + security["wpa2_personal"] = True + pass + if str(i.name).__eq__("wpa2_enterprise"): + print(i) + security["wpa2_enterprise"] = True + pass + + yield security diff --git a/tests/pytest.ini b/tests/pytest.ini index 18b56264f..a0f47b37c 100644 --- a/tests/pytest.ini +++ b/tests/pytest.ini @@ -8,6 +8,7 @@ jfrog-user-password=tip-read # Cloud SDK parameters testbed-name=nola-ext-03 +equipment-model=ecw5410 sdk-user-id=support@example.com sdk-user-password=support From a3edf2c02be91b09108c64a67c1cd76f9dd1e202 Mon Sep 17 00:00:00 2001 From: shivamcandela Date: Wed, 24 Mar 2021 01:55:48 +0530 Subject: [PATCH 37/45] added some improvements in logic Signed-off-by: shivamcandela --- libs/cloudsdk/cloudsdk.py | 1 + tests/README.md | 27 +- tests/client_connectivity/test_bridge_mode.py | 19 +- tests/client_connectivity/test_nat_mode.py | 15 +- tests/client_connectivity/test_vlan_mode.py | 98 +------ tests/conftest.py | 258 ++++++++++++------ tests/pytest.ini | 29 +- 7 files changed, 246 insertions(+), 201 deletions(-) diff --git a/libs/cloudsdk/cloudsdk.py b/libs/cloudsdk/cloudsdk.py index 01917839f..deec3ee56 100644 --- a/libs/cloudsdk/cloudsdk.py +++ b/libs/cloudsdk/cloudsdk.py @@ -602,6 +602,7 @@ class FirmwareUtility(JFrogUtility): time.sleep(5) try: obj = self.equipment_gateway_client.request_firmware_update(equipment_id=equipment_id, firmware_version_id=firmware_id) + time.sleep(60) except Exception as e: obj = False return obj diff --git a/tests/README.md b/tests/README.md index 78816c44d..37105e14b 100644 --- a/tests/README.md +++ b/tests/README.md @@ -11,26 +11,35 @@ ### Note: Run all the tests from "tests" directory +Modify pytest.ini based on the config for your setup +You can modify the ini options by using switch -o + ## Examples: Following are the examples for Running Client Connectivity Test with different Combinations: # Run the sanity test in all modes across wpa, wpa2 and eap) - pytest -m "sanity and wpa and wpa2 and eap" -s + pytest -m sanity -s - # Run the sanity test in all modes across wpa, wpa2) - pytest -m "sanity and wpa and wpa2" -s + # Run the sanity test in all modes except wpa2_enterprise) + pytest -m "sanity and not wpa2_enterprise" -s # Run the bridge test in all modes across wpa, wpa2 and eap) - pytest -m "bridge and wpa and wpa2 and eap" -s + pytest -m bridge -s - # Run the bridge test in all modes across wpa, wpa2) - pytest -m "bridge and wpa and wpa2" -s + # Run the bridge test in all modes except wpa2_enterprise) + pytest -m "bridge and not wpa2_enterprise" -s # Run the nat test in all modes across wpa, wpa2 and eap) - pytest -m "nat and wpa and wpa2 and eap" -s + pytest -m nat -s - # Run the nat test in all modes across wpa, wpa2) - pytest -m "nat and wpa and wpa2" -s + # Run the nat test in all modes except wpa2_enterprise) + pytest -m "nat and not wpa2_enterprise" -s + + # Run the vlan test in all modes across wpa, wpa2 and eap) + pytest -m vlan -s + + # Run the vlan test in all modes except wpa2_enterprise) + pytest -m "vlan and not wpa2_enterprise" -s Following are the examples for cloudSDK standalone tests diff --git a/tests/client_connectivity/test_bridge_mode.py b/tests/client_connectivity/test_bridge_mode.py index 93bba54bb..2e3e6a037 100644 --- a/tests/client_connectivity/test_bridge_mode.py +++ b/tests/client_connectivity/test_bridge_mode.py @@ -5,6 +5,8 @@ for folder in 'py-json', 'py-scripts': if folder not in sys.path: sys.path.append(f'../lanforge/lanforge-scripts/{folder}') +sys.path.append(f"../lanforge/lanforge-scripts/py-scripts/tip-cicd-sanity") + sys.path.append(f'../libs') sys.path.append(f'../libs/lanforge/') @@ -29,7 +31,8 @@ class TestBridgeModeClientConnectivity(object): def test_single_client_wpa2_personal_5g(self, setup_cloudsdk, upgrade_firmware, setup_bridge_mode, disconnect_cloudsdk, get_lanforge_data): profile_data = setup_bridge_mode[3]['wpa2_personal']['5g'] - staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], 8080, debug_=False) + staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), + debug_=False) staConnect.sta_mode = 0 staConnect.upstream_resource = 1 staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] @@ -64,7 +67,8 @@ class TestBridgeModeClientConnectivity(object): def test_single_client_wpa2_personal_2g(self, setup_cloudsdk, upgrade_firmware, setup_bridge_mode, disconnect_cloudsdk, get_lanforge_data): profile_data = setup_bridge_mode[3]['wpa2_personal']['2g'] - staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], 8080, debug_=False) + staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), + debug_=False) staConnect.sta_mode = 0 staConnect.upstream_resource = 1 staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] @@ -99,7 +103,8 @@ class TestBridgeModeClientConnectivity(object): def test_single_client_wpa_5g(self, setup_cloudsdk, upgrade_firmware, setup_bridge_mode, disconnect_cloudsdk, get_lanforge_data): profile_data = setup_bridge_mode[3]['wpa']['5g'] - staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], 8080, debug_=False) + staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), + debug_=False) staConnect.sta_mode = 0 staConnect.upstream_resource = 1 staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] @@ -134,7 +139,8 @@ class TestBridgeModeClientConnectivity(object): def test_single_client_wpa_2g(self, setup_cloudsdk, upgrade_firmware, setup_bridge_mode, disconnect_cloudsdk, get_lanforge_data): profile_data = setup_bridge_mode[3]['wpa']['2g'] - staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], 8080, debug_=False) + staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), + debug_=False) staConnect.sta_mode = 0 staConnect.upstream_resource = 1 staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] @@ -169,7 +175,7 @@ class TestBridgeModeClientConnectivity(object): def test_single_client_wpa2_enterprise_5g(self, setup_cloudsdk, upgrade_firmware, setup_bridge_mode, disconnect_cloudsdk, get_lanforge_data): profile_data = setup_bridge_mode[3]['wpa2_enterprise']['5g'] - eap_connect = EAPConnect(get_lanforge_data["lanforge_ip"], 8080) + eap_connect = EAPConnect(get_lanforge_data["lanforge_ip"], get_lanforge_data["lanforge-port-number"]) eap_connect.upstream_resource = 1 eap_connect.upstream_port = get_lanforge_data["lanforge_bridge_port"] eap_connect.security = "wpa2" @@ -195,7 +201,6 @@ class TestBridgeModeClientConnectivity(object): print("Single Client Connectivity :", eap_connect.passes) assert eap_connect.passes() - @pytest.mark.sanity @pytest.mark.bridge @pytest.mark.wpa2_enterprise @@ -203,7 +208,7 @@ class TestBridgeModeClientConnectivity(object): def test_single_client_wpa2_enterprise_2g(self, setup_cloudsdk, upgrade_firmware, setup_bridge_mode, disconnect_cloudsdk, get_lanforge_data): profile_data = setup_bridge_mode[3]['wpa2_enterprise']['2g'] - eap_connect = EAPConnect(get_lanforge_data["lanforge_ip"], 8080) + eap_connect = EAPConnect(get_lanforge_data["lanforge_ip"], get_lanforge_data["lanforge-port-number"]) eap_connect.upstream_resource = 1 eap_connect.upstream_port = get_lanforge_data["lanforge_bridge_port"] eap_connect.security = "wpa2" diff --git a/tests/client_connectivity/test_nat_mode.py b/tests/client_connectivity/test_nat_mode.py index 28724abf7..1ebd0e195 100644 --- a/tests/client_connectivity/test_nat_mode.py +++ b/tests/client_connectivity/test_nat_mode.py @@ -5,6 +5,8 @@ for folder in 'py-json', 'py-scripts': if folder not in sys.path: sys.path.append(f'../lanforge/lanforge-scripts/{folder}') +sys.path.append(f"../lanforge/lanforge-scripts/py-scripts/tip-cicd-sanity") + sys.path.append(f'../libs') sys.path.append(f'../libs/lanforge/') @@ -19,7 +21,6 @@ import eap_connect from eap_connect import EAPConnect import time - class TestNATModeClientConnectivity(object): @pytest.mark.sanity @@ -29,7 +30,7 @@ class TestNATModeClientConnectivity(object): def test_single_client_wpa2_personal_5g(self, setup_cloudsdk, upgrade_firmware, setup_nat_mode, disconnect_cloudsdk, get_lanforge_data): profile_data = setup_nat_mode[3]['wpa2_personal']['5g'] - staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], 8080, debug_=False) + staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), debug_=False) staConnect.sta_mode = 0 staConnect.upstream_resource = 1 staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] @@ -64,7 +65,7 @@ class TestNATModeClientConnectivity(object): def test_single_client_wpa2_personal_2g(self, setup_cloudsdk, upgrade_firmware, setup_nat_mode, disconnect_cloudsdk, get_lanforge_data): profile_data = setup_nat_mode[3]['wpa2_personal']['2g'] - staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], 8080, debug_=False) + staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), debug_=False) staConnect.sta_mode = 0 staConnect.upstream_resource = 1 staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] @@ -99,7 +100,7 @@ class TestNATModeClientConnectivity(object): def test_single_client_wpa_5g(self, setup_cloudsdk, upgrade_firmware, setup_nat_mode, disconnect_cloudsdk, get_lanforge_data): profile_data = setup_nat_mode[3]['wpa']['5g'] - staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], 8080, debug_=False) + staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), debug_=False) staConnect.sta_mode = 0 staConnect.upstream_resource = 1 staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] @@ -134,7 +135,7 @@ class TestNATModeClientConnectivity(object): def test_single_client_wpa_2g(self, setup_cloudsdk, upgrade_firmware, setup_nat_mode, disconnect_cloudsdk, get_lanforge_data): profile_data = setup_nat_mode[3]['wpa']['2g'] - staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], 8080, debug_=False) + staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), debug_=False) staConnect.sta_mode = 0 staConnect.upstream_resource = 1 staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] @@ -169,7 +170,7 @@ class TestNATModeClientConnectivity(object): def test_single_client_wpa2_enterprise_5g(self, setup_cloudsdk, upgrade_firmware, setup_nat_mode, disconnect_cloudsdk, get_lanforge_data): profile_data = setup_nat_mode[3]['wpa2_enterprise']['5g'] - eap_connect = EAPConnect(get_lanforge_data["lanforge_ip"], 8080) + eap_connect = EAPConnect(get_lanforge_data["lanforge_ip"], get_lanforge_data["lanforge-port-number"]) eap_connect.upstream_resource = 1 eap_connect.upstream_port = get_lanforge_data["lanforge_bridge_port"] eap_connect.security = "wpa2" @@ -202,7 +203,7 @@ class TestNATModeClientConnectivity(object): def test_single_client_wpa2_enterprise_2g(self, setup_cloudsdk, upgrade_firmware, setup_nat_mode, disconnect_cloudsdk, get_lanforge_data): profile_data = setup_nat_mode[3]['wpa2_enterprise']['2g'] - eap_connect = EAPConnect(get_lanforge_data["lanforge_ip"], 8080) + eap_connect = EAPConnect(get_lanforge_data["lanforge_ip"], get_lanforge_data["lanforge-port-number"]) eap_connect.upstream_resource = 1 eap_connect.upstream_port = get_lanforge_data["lanforge_bridge_port"] eap_connect.security = "wpa2" diff --git a/tests/client_connectivity/test_vlan_mode.py b/tests/client_connectivity/test_vlan_mode.py index fb76d79ad..b9b6da220 100644 --- a/tests/client_connectivity/test_vlan_mode.py +++ b/tests/client_connectivity/test_vlan_mode.py @@ -5,6 +5,8 @@ for folder in 'py-json', 'py-scripts': if folder not in sys.path: sys.path.append(f'../lanforge/lanforge-scripts/{folder}') +sys.path.append(f"../lanforge/lanforge-scripts/py-scripts/tip-cicd-sanity") + sys.path.append(f'../libs') sys.path.append(f'../libs/lanforge/') @@ -19,87 +21,11 @@ import eap_connect from eap_connect import EAPConnect import time + @pytest.mark.usefixtures('setup_cloudsdk') @pytest.mark.usefixtures('upgrade_firmware') class TestVLANModeClientConnectivity(object): - # @pytest.mark.vlan - # @pytest.mark.open - # @pytest.mark.wpa - # @pytest.mark.wpa2 - # @pytest.mark.eap - # def test_single_client(self, setup_cloudsdk, upgrade_firmware, setup_vlan_mode, disconnect_cloudsdk, get_lanforge_data): - # print("Run Client Connectivity Here - VLAN Mode") - # test_result = [] - # for profile in setup_vlan_mode[3]: - # print(profile) - # if str(profile["ssid_name"]).__contains__("EAP"): - # eap_connect = EAPConnect(get_lanforge_data["lanforge_ip"], 8080) - # eap_connect.upstream_resource = 1 - # eap_connect.upstream_port = get_lanforge_data["lanforge_bridge_port"] - # eap_connect.security = "wpa2" - # eap_connect.sta_list = [get_lanforge_data["lanforge_5g_station"]] - # eap_connect.station_names = [get_lanforge_data["lanforge_5g_station"]] - # eap_connect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] - # eap_connect.ssid = profile["ssid_name"] - # eap_connect.radio = get_lanforge_data["lanforge_5g"] - # eap_connect.eap = "TTLS" - # eap_connect.identity = "nolaradius" - # eap_connect.ttls_passwd = "nolastart" - # eap_connect.runtime_secs = 10 - # eap_connect.setup() - # eap_connect.start() - # print("napping %f sec" % eap_connect.runtime_secs) - # time.sleep(eap_connect.runtime_secs) - # eap_connect.stop() - # eap_connect.cleanup() - # run_results = eap_connect.get_result_list() - # for result in run_results: - # print("test result: " + result) - # # result = 'pass' - # print("Single Client Connectivity :", eap_connect.passes) - # if eap_connect.passes() == True: - # test_result.append("PASS") - # else: - # test_result.append("FAIL") - # else: - # # SSID, Passkey, Security, Run layer3 tcp, udp upstream downstream - # staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], 8080, debug_=False) - # staConnect.sta_mode = 0 - # staConnect.upstream_resource = 1 - # staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] - # staConnect.radio = get_lanforge_data["lanforge_5g"] - # staConnect.resource = 1 - # staConnect.dut_ssid = profile["ssid_name"] - # staConnect.dut_passwd = profile["security_key"] - # staConnect.dut_security = profile["security_key"].split("-")[1].split("_")[0].lower() - # staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] - # staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] - # staConnect.runtime_secs = 10 - # staConnect.bringup_time_sec = 60 - # staConnect.cleanup_on_exit = True - # # staConnect.cleanup() - # staConnect.setup() - # staConnect.start() - # print("napping %f sec" % staConnect.runtime_secs) - # time.sleep(staConnect.runtime_secs) - # staConnect.stop() - # staConnect.cleanup() - # run_results = staConnect.get_result_list() - # for result in run_results: - # print("test result: " + result) - # # result = 'pass' - # print("Single Client Connectivity :", staConnect.passes) - # if staConnect.passes() == True: - # test_result.append("PASS") - # else: - # test_result.append("FAIL") - # print(test_result) - # if test_result.__contains__("FAIL"): - # assert False - # else: - # assert True - @pytest.mark.sanity @pytest.mark.vlan @pytest.mark.wpa2_personal @@ -107,7 +33,8 @@ class TestVLANModeClientConnectivity(object): def test_single_client_wpa2_personal_5g(self, setup_cloudsdk, upgrade_firmware, setup_vlan_mode, disconnect_cloudsdk, get_lanforge_data): profile_data = setup_vlan_mode[3]['wpa2_personal']['5g'] - staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], 8080, debug_=False) + staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), + debug_=False) staConnect.sta_mode = 0 staConnect.upstream_resource = 1 staConnect.upstream_port = get_lanforge_data["lanforge_vlan_port"] @@ -142,7 +69,8 @@ class TestVLANModeClientConnectivity(object): def test_single_client_wpa2_personal_2g(self, setup_cloudsdk, upgrade_firmware, setup_vlan_mode, disconnect_cloudsdk, get_lanforge_data): profile_data = setup_vlan_mode[3]['wpa2_personal']['2g'] - staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], 8080, debug_=False) + staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), + debug_=False) staConnect.sta_mode = 0 staConnect.upstream_resource = 1 staConnect.upstream_port = get_lanforge_data["lanforge_vlan_port"] @@ -177,7 +105,8 @@ class TestVLANModeClientConnectivity(object): def test_single_client_wpa_5g(self, setup_cloudsdk, upgrade_firmware, setup_vlan_mode, disconnect_cloudsdk, get_lanforge_data): profile_data = setup_vlan_mode[3]['wpa']['5g'] - staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], 8080, debug_=False) + staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), + debug_=False) staConnect.sta_mode = 0 staConnect.upstream_resource = 1 staConnect.upstream_port = get_lanforge_data["lanforge_vlan_port"] @@ -212,7 +141,8 @@ class TestVLANModeClientConnectivity(object): def test_single_client_wpa_2g(self, setup_cloudsdk, upgrade_firmware, setup_vlan_mode, disconnect_cloudsdk, get_lanforge_data): profile_data = setup_vlan_mode[3]['wpa']['2g'] - staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], 8080, debug_=False) + staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), + debug_=False) staConnect.sta_mode = 0 staConnect.upstream_resource = 1 staConnect.upstream_port = get_lanforge_data["lanforge_vlan_port"] @@ -247,7 +177,7 @@ class TestVLANModeClientConnectivity(object): def test_single_client_wpa2_enterprise_5g(self, setup_cloudsdk, upgrade_firmware, setup_vlan_mode, disconnect_cloudsdk, get_lanforge_data): profile_data = setup_vlan_mode[3]['wpa2_enterprise']['5g'] - eap_connect = EAPConnect(get_lanforge_data["lanforge_ip"], 8080) + eap_connect = EAPConnect(get_lanforge_data["lanforge_ip"], get_lanforge_data["lanforge-port-number"]) eap_connect.upstream_resource = 1 eap_connect.upstream_port = get_lanforge_data["lanforge_vlan_port"] eap_connect.security = "wpa2" @@ -273,7 +203,6 @@ class TestVLANModeClientConnectivity(object): print("Single Client Connectivity :", eap_connect.passes) assert eap_connect.passes() - @pytest.mark.sanity @pytest.mark.vlan @pytest.mark.wpa2_enterprise @@ -281,7 +210,7 @@ class TestVLANModeClientConnectivity(object): def test_single_client_wpa2_enterprise_2g(self, setup_cloudsdk, upgrade_firmware, setup_vlan_mode, disconnect_cloudsdk, get_lanforge_data): profile_data = setup_vlan_mode[3]['wpa2_enterprise']['2g'] - eap_connect = EAPConnect(get_lanforge_data["lanforge_ip"], 8080) + eap_connect = EAPConnect(get_lanforge_data["lanforge_ip"], get_lanforge_data["lanforge-port-number"]) eap_connect.upstream_resource = 1 eap_connect.upstream_port = get_lanforge_data["lanforge_vlan_port"] eap_connect.security = "wpa2" @@ -306,4 +235,3 @@ class TestVLANModeClientConnectivity(object): # result = 'pass' print("Single Client Connectivity :", eap_connect.passes) assert eap_connect.passes() - diff --git a/tests/conftest.py b/tests/conftest.py index a5f1af4e6..372a34935 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -44,8 +44,13 @@ def pytest_addoption(parser): parser.addini("lanforge-ip-address", "LANforge ip address to connect to") parser.addini("lanforge-port-number", "LANforge port number to connect to") - parser.addini("lanforge-radio", "LANforge radio to use") - parser.addini("lanforge-ethernet-port", "LANforge ethernet adapter to use") + parser.addini("lanforge-bridge-port", "LANforge port for bridge mode testing") + parser.addini("lanforge-2dot4g-prefix", "LANforge 2.4g prefix") + parser.addini("lanforge-5g-prefix", "LANforge 5g prefix") + parser.addini("lanforge-2dot4g-station", "LANforge station name for 2.4g") + parser.addini("lanforge-5g-station", "LANforge station name for 5g") + parser.addini("lanforge-2dot4g-radio", "LANforge radio for 2.4g") + parser.addini("lanforge-5g-radio", "LANforge radio for 5g") parser.addini("jumphost_ip", "APNOS Jumphost IP Address") parser.addini("jumphost_username", "APNOS Jumphost Username") @@ -56,6 +61,10 @@ def pytest_addoption(parser): parser.addini("skip-wpa", "skip wpa ssid mode") parser.addini("skip-wpa2", "skip wpa2 ssid mode") parser.addini("skip-eap", "skip eap ssid mode") + + parser.addini("radius_server_ip", "Radius server IP") + parser.addini("radius_port", "Radius Port") + parser.addini("radius_secret", "Radius shared Secret") # change behaviour parser.addoption( "--skip-update-firmware", @@ -156,21 +165,20 @@ def setup_cloudsdk(request, instantiate_cloudsdk): @pytest.fixture(scope="session") -def upgrade_firmware(request, instantiate_jFrog, instantiate_cloudsdk, retrieve_latest_image, get_equipment_id): +def upgrade_firmware(request, instantiate_jFrog, instantiate_cloudsdk, get_equipment_id): if request.config.getoption("--skip-update-firmware"): obj = FirmwareUtility(jfrog_credentials=instantiate_jFrog, sdk_client=instantiate_cloudsdk) status = obj.upgrade_fw(equipment_id=get_equipment_id, force_upload=False, force_upgrade=False) - time.sleep(60) else: status = "skip-upgrade" yield status -@pytest.fixture(scope="session") -def retrieve_latest_image(request, access_points): - if request.config.getoption("--skip-update-firmware"): - yield True - yield True +# @pytest.fixture(scope="session") +# def retrieve_latest_image(request, access_points): +# if request.config.getoption("--skip-update-firmware"): +# yield True +# yield True @pytest.fixture(scope="session") @@ -239,7 +247,7 @@ def setup_bridge_mode(request, instantiate_cloudsdk, create_bridge_profile, get_ @pytest.fixture(scope="class") -def create_bridge_profile(instantiate_cloudsdk, setup_bridge_profile_data, get_testbed_name, get_equipment_id, +def create_bridge_profile(request, instantiate_cloudsdk, setup_bridge_profile_data, get_testbed_name, get_equipment_id, get_equipment_model, get_bridge_testcases): print(setup_bridge_profile_data) @@ -250,46 +258,58 @@ def create_bridge_profile(instantiate_cloudsdk, setup_bridge_profile_data, get_t profile_list = {"open": {"2g": {}, "5g": {}}, "wpa": {"2g": {}, "5g": {}}, "wpa2_personal": {"2g": {}, "5g": {}}, "wpa2_enterprise": {"2g": {}, "5g": {}}} - if get_bridge_testcases["open"]: + if get_bridge_testcases["open_2g"]: + profile_data = setup_bridge_profile_data['OPEN']['2G'] profile_list["open"]["2g"] = profile_data profile_object.create_open_ssid_profile(profile_data=profile_data, fiveg=False) + if get_bridge_testcases["open_5g"]: profile_data = setup_bridge_profile_data['OPEN']['5G'] profile_list["open"]["5g"] = profile_data profile_object.create_open_ssid_profile(profile_data=profile_data, two4g=False) - if get_bridge_testcases["wpa"]: + if get_bridge_testcases["wpa_2g"]: + profile_data = setup_bridge_profile_data['WPA']['2G'] profile_list["wpa"]["2g"] = profile_data profile_object.create_wpa_ssid_profile(profile_data=profile_data, fiveg=False) + if get_bridge_testcases["wpa_5g"]: + profile_data = setup_bridge_profile_data['WPA']['5G'] profile_list["wpa"]["5g"] = profile_data profile_object.create_wpa_ssid_profile(profile_data=profile_data, two4g=False) - if get_bridge_testcases["wpa2_personal"]: + if get_bridge_testcases["wpa2_personal_2g"]: + profile_data = setup_bridge_profile_data['WPA2']['2G'] profile_list["wpa2_personal"]["2g"] = profile_data profile_object.create_wpa2_personal_ssid_profile(profile_data=profile_data, fiveg=False) + if get_bridge_testcases["wpa2_personal_5g"]: + profile_data = setup_bridge_profile_data['WPA2']['5G'] profile_list["wpa2_personal"]["5g"] = profile_data profile_object.create_wpa2_personal_ssid_profile(profile_data=profile_data, two4g=False) - if get_bridge_testcases["wpa2_enterprise"]: + if get_bridge_testcases["wpa2_enterprise_2g"] or get_bridge_testcases["wpa2_enterprise_5g"]: radius_info = { "name": get_testbed_name + "-RADIUS-Sanity", - "ip": "192.168.200.75", - "port": 1812, - "secret": "testing123" + "ip": request.config.getini("radius_server_ip"), + "port": request.config.getini("radius_port"), + "secret": request.config.getini("radius_secret") } profile_object.create_radius_profile(radius_info=radius_info) + if get_bridge_testcases["wpa2_enterprise_2g"]: + profile_data = setup_bridge_profile_data['EAP']['2G'] profile_list["wpa2_enterprise"]["2g"] = profile_data profile_object.create_wpa2_enterprise_ssid_profile(profile_data=profile_data, fiveg=False) + if get_bridge_testcases["wpa2_enterprise_5g"]: + profile_data = setup_bridge_profile_data['EAP']['5G'] profile_list["wpa2_enterprise"]["5g"] = profile_data profile_object.create_wpa2_enterprise_ssid_profile(profile_data=profile_data, two4g=False) @@ -353,8 +373,8 @@ def setup_nat_mode(request, instantiate_cloudsdk, create_nat_profile, get_equipm @pytest.fixture(scope="class") -def create_nat_profile(instantiate_cloudsdk, setup_nat_profile_data, get_testbed_name, get_equipment_id, - get_nat_testcases): +def create_nat_profile(request, instantiate_cloudsdk, setup_nat_profile_data, get_testbed_name, get_equipment_id, + get_nat_testcases, get_equipment_model): print(setup_nat_profile_data) # SSID and AP name shall be used as testbed_name and mode profile_object = ProfileUtility(sdk_client=instantiate_cloudsdk) @@ -363,46 +383,50 @@ def create_nat_profile(instantiate_cloudsdk, setup_nat_profile_data, get_testbed profile_list = {"open": {"2g": {}, "5g": {}}, "wpa": {"2g": {}, "5g": {}}, "wpa2_personal": {"2g": {}, "5g": {}}, "wpa2_enterprise": {"2g": {}, "5g": {}}} - if get_nat_testcases["open"]: + if get_nat_testcases["open_2g"]: profile_data = setup_nat_profile_data['OPEN']['2G'] profile_list["open"]["2g"] = profile_data profile_object.create_open_ssid_profile(profile_data=profile_data, fiveg=False) - + if get_nat_testcases["open_5g"]: profile_data = setup_nat_profile_data['OPEN']['5G'] profile_list["open"]["5g"] = profile_data profile_object.create_open_ssid_profile(profile_data=profile_data, two4g=False) - if get_nat_testcases["wpa"]: + if get_nat_testcases["wpa_2g"]: profile_data = setup_nat_profile_data['WPA']['2G'] profile_list["wpa"]["2g"] = profile_data profile_object.create_wpa_ssid_profile(profile_data=profile_data, fiveg=False) + if get_nat_testcases["wpa_5g"]: profile_data = setup_nat_profile_data['WPA']['5G'] profile_list["wpa"]["5g"] = profile_data profile_object.create_wpa_ssid_profile(profile_data=profile_data, two4g=False) - if get_nat_testcases["wpa2_personal"]: + if get_nat_testcases["wpa2_personal_2g"]: profile_data = setup_nat_profile_data['WPA2']['2G'] profile_list["wpa2_personal"]["2g"] = profile_data profile_object.create_wpa2_personal_ssid_profile(profile_data=profile_data, fiveg=False) + if get_nat_testcases["wpa2_personal_5g"]: profile_data = setup_nat_profile_data['WPA2']['5G'] profile_list["wpa2_personal"]["5g"] = profile_data profile_object.create_wpa2_personal_ssid_profile(profile_data=profile_data, two4g=False) - if get_nat_testcases["wpa2_enterprise"]: + if get_nat_testcases["wpa2_enterprise_2g"] or get_nat_testcases["wpa2_enterprise_5g"]: radius_info = { "name": get_testbed_name + "-RADIUS-Sanity", - "ip": "192.168.200.75", - "port": 1812, - "secret": "testing123" + "ip": request.config.getini("radius_server_ip"), + "port": request.config.getini("radius_port"), + "secret": request.config.getini("radius_secret") } profile_object.create_radius_profile(radius_info=radius_info) + if get_nat_testcases["wpa2_enterprise_2g"]: profile_data = setup_nat_profile_data['EAP']['2G'] profile_list["wpa2_enterprise"]["2g"] = profile_data profile_object.create_wpa2_enterprise_ssid_profile(profile_data=profile_data, fiveg=False) + if get_nat_testcases["wpa2_enterprise_5g"]: profile_data = setup_nat_profile_data['EAP']['5G'] profile_list["wpa2_enterprise"]["5g"] = profile_data profile_object.create_wpa2_enterprise_ssid_profile(profile_data=profile_data, two4g=False) @@ -468,8 +492,8 @@ def setup_vlan_mode(request, instantiate_cloudsdk, create_vlan_profile, get_equi @pytest.fixture(scope="class") -def create_vlan_profile(instantiate_cloudsdk, setup_vlan_profile_data, get_testbed_name, get_equipment_id, - get_vlan_testcases): +def create_vlan_profile(request, instantiate_cloudsdk, setup_vlan_profile_data, get_testbed_name, get_equipment_id, + get_vlan_testcases, get_equipment_model): print(setup_vlan_profile_data) # SSID and AP name shall be used as testbed_name and mode profile_object = ProfileUtility(sdk_client=instantiate_cloudsdk) @@ -478,46 +502,50 @@ def create_vlan_profile(instantiate_cloudsdk, setup_vlan_profile_data, get_testb profile_list = {"open": {"2g": {}, "5g": {}}, "wpa": {"2g": {}, "5g": {}}, "wpa2_personal": {"2g": {}, "5g": {}}, "wpa2_enterprise": {"2g": {}, "5g": {}}} - if get_vlan_testcases["open"]: + if get_vlan_testcases["open_2g"]: profile_data = setup_vlan_profile_data['OPEN']['2G'] profile_list["open"]["2g"] = profile_data profile_object.create_open_ssid_profile(profile_data=profile_data, fiveg=False) - + if get_vlan_testcases["open_5g"]: profile_data = setup_vlan_profile_data['OPEN']['5G'] profile_list["open"]["5g"] = profile_data profile_object.create_open_ssid_profile(profile_data=profile_data, two4g=False) - if get_vlan_testcases["wpa"]: + if get_vlan_testcases["wpa_2g"]: profile_data = setup_vlan_profile_data['WPA']['2G'] profile_list["wpa"]["2g"] = profile_data profile_object.create_wpa_ssid_profile(profile_data=profile_data, fiveg=False) + if get_vlan_testcases["wpa_5g"]: profile_data = setup_vlan_profile_data['WPA']['5G'] profile_list["wpa"]["5g"] = profile_data profile_object.create_wpa_ssid_profile(profile_data=profile_data, two4g=False) - if get_vlan_testcases["wpa2_personal"]: + if get_vlan_testcases["wpa2_personal_2g"]: profile_data = setup_vlan_profile_data['WPA2']['2G'] profile_list["wpa2_personal"]["2g"] = profile_data profile_object.create_wpa2_personal_ssid_profile(profile_data=profile_data, fiveg=False) + if get_vlan_testcases["wpa2_personal_5g"]: profile_data = setup_vlan_profile_data['WPA2']['5G'] profile_list["wpa2_personal"]["5g"] = profile_data profile_object.create_wpa2_personal_ssid_profile(profile_data=profile_data, two4g=False) - if get_vlan_testcases["wpa2_enterprise"]: + if get_vlan_testcases["wpa2_enterprise_2g"] or get_vlan_testcases["wpa2_enterprise_5g"]: radius_info = { "name": get_testbed_name + "-RADIUS-Sanity", - "ip": "192.168.200.75", - "port": 1812, - "secret": "testing123" + "ip": request.config.getini("radius_server_ip"), + "port": request.config.getini("radius_port"), + "secret": request.config.getini("radius_secret") } profile_object.create_radius_profile(radius_info=radius_info) + if get_vlan_testcases["wpa2_enterprise_2g"]: profile_data = setup_vlan_profile_data['EAP']['2G'] profile_list["wpa2_enterprise"]["2g"] = profile_data profile_object.create_wpa2_enterprise_ssid_profile(profile_data=profile_data, fiveg=False) + if get_vlan_testcases["wpa2_enterprise_5g"]: profile_data = setup_vlan_profile_data['EAP']['5G'] profile_list["wpa2_enterprise"]["5g"] = profile_data profile_object.create_wpa2_enterprise_ssid_profile(profile_data=profile_data, two4g=False) @@ -634,14 +662,15 @@ def delete_profiles(sdk_client=None, equipment_id=None): @pytest.fixture(scope="function") def get_lanforge_data(request): lanforge_data = { - "lanforge_ip": "192.168.200.80", - "lanforge_2dot4g": "wiphy1", - "lanforge_5g": "wiphy1", - "lanforge_2dot4g_prefix": "wlan1", - "lanforge_5g_prefix": "wlan1", - "lanforge_2dot4g_station": "wlan1", - "lanforge_5g_station": "wlan1", - "lanforge_bridge_port": "eth1", + "lanforge_ip": request.config.getini("lanforge-ip-address"), + "lanforge-port-number": request.config.getini("lanforge-port-number"), + "lanforge_2dot4g": request.config.getini("lanforge-2dot4g-radio"), + "lanforge_5g": request.config.getini("lanforge-5g-radio"), + "lanforge_2dot4g_prefix": request.config.getini("lanforge-2dot4g-prefix"), + "lanforge_5g_prefix": request.config.getini("lanforge-5g-prefix"), + "lanforge_2dot4g_station": request.config.getini("lanforge-2dot4g-station"), + "lanforge_5g_station": request.config.getini("lanforge-5g-station"), + "lanforge_bridge_port": request.config.getini("lanforge-bridge-port"), "lanforge_vlan_port": "eth1.100", "vlan": 100 } @@ -668,83 +697,136 @@ def get_bridge_testcases(request): # import pdb # pdb.set_trace() print("callattr_ahead_of_alltests called") - security = {"open": False, - "wpa": False, - "wpa2_personal": False, - "wpa2_enterprise": False + security = {"open_2g": False, + "open_5g": False, + "wpa_5g": False, + "wpa_2g": False, + "wpa2_personal_5g": False, + "wpa2_personal_2g": False, + "wpa2_enterprise_5g": False, + "wpa2_enterprise_2g": False } session = request.node for item in session.items: for i in item.iter_markers(): - if str(i.name).__eq__("wpa"): + if str(i.name).__eq__("wpa_2g"): print(i) - security["wpa"] = True - pass - if str(i.name).__eq__("wpa2_personal"): + security["wpa_2g"] = True + + if str(i.name).__eq__("wpa_5g"): print(i) - security["wpa2_personal"] = True - pass - if str(i.name).__eq__("wpa2_enterprise"): + security["wpa_5g"] = True + + if str(i.name).__eq__("wpa2_personal_5g"): print(i) - security["wpa2_enterprise"] = True - pass + security["wpa2_personal_5g"] = True + + if str(i.name).__eq__("wpa2_personal_2g"): + print(i) + security["wpa2_personal_2g"] = True + + if str(i.name).__eq__("wpa2_enterprise_2g"): + print(i) + security["wpa2_enterprise_2g"] = True + + if str(i.name).__eq__("wpa2_enterprise_5g"): + print(i) + security["wpa2_enterprise_5g"] = True yield security +""" +open_2g +open_5g +wpa2_personal_5g +wpa2_personal_2g +wpa_5g +wpa_2g +wpa2_enterprise_5g +wpa2_enterprise_2g +""" + + @pytest.fixture(scope="session") def get_nat_testcases(request): - # import pdb - # pdb.set_trace() print("callattr_ahead_of_alltests called") - security = {"open": False, - "wpa": False, - "wpa2_personal": False, - "wpa2_enterprise": False + security = {"open_2g": False, + "open_5g": False, + "wpa_5g": False, + "wpa_2g": False, + "wpa2_personal_5g": False, + "wpa2_personal_2g": False, + "wpa2_enterprise_5g": False, + "wpa2_enterprise_2g": False } session = request.node for item in session.items: for i in item.iter_markers(): - if str(i.name).__eq__("wpa"): + if str(i.name).__eq__("wpa_2g"): print(i) - security["wpa"] = True - pass - if str(i.name).__eq__("wpa2_personal"): + security["wpa_2g"] = True + + if str(i.name).__eq__("wpa_5g"): print(i) - security["wpa2_personal"] = True - pass - if str(i.name).__eq__("wpa2_enterprise"): + security["wpa_5g"] = True + + if str(i.name).__eq__("wpa2_personal_5g"): print(i) - security["wpa2_enterprise"] = True - pass + security["wpa2_personal_5g"] = True + + if str(i.name).__eq__("wpa2_personal_2g"): + print(i) + security["wpa2_personal_2g"] = True + + if str(i.name).__eq__("wpa2_enterprise_2g"): + print(i) + security["wpa2_enterprise_2g"] = True + + if str(i.name).__eq__("wpa2_enterprise_5g"): + print(i) + security["wpa2_enterprise_5g"] = True yield security @pytest.fixture(scope="session") def get_vlan_testcases(request): - # import pdb - # pdb.set_trace() print("callattr_ahead_of_alltests called") - security = {"open": False, - "wpa": False, - "wpa2_personal": False, - "wpa2_enterprise": False + security = {"open_2g": False, + "open_5g": False, + "wpa_5g": False, + "wpa_2g": False, + "wpa2_personal_5g": False, + "wpa2_personal_2g": False, + "wpa2_enterprise_5g": False, + "wpa2_enterprise_2g": False } session = request.node for item in session.items: for i in item.iter_markers(): - if str(i.name).__eq__("wpa"): + if str(i.name).__eq__("wpa_2g"): print(i) - security["wpa"] = True - pass - if str(i.name).__eq__("wpa2_personal"): + security["wpa_2g"] = True + + if str(i.name).__eq__("wpa_5g"): print(i) - security["wpa2_personal"] = True - pass - if str(i.name).__eq__("wpa2_enterprise"): + security["wpa_5g"] = True + + if str(i.name).__eq__("wpa2_personal_5g"): print(i) - security["wpa2_enterprise"] = True - pass + security["wpa2_personal_5g"] = True + + if str(i.name).__eq__("wpa2_personal_2g"): + print(i) + security["wpa2_personal_2g"] = True + + if str(i.name).__eq__("wpa2_enterprise_2g"): + print(i) + security["wpa2_enterprise_2g"] = True + + if str(i.name).__eq__("wpa2_enterprise_5g"): + print(i) + security["wpa2_enterprise_5g"] = True yield security diff --git a/tests/pytest.ini b/tests/pytest.ini index a0f47b37c..033eafb41 100644 --- a/tests/pytest.ini +++ b/tests/pytest.ini @@ -27,8 +27,18 @@ jumphost_password=lanforge # LANforge lanforge-ip-address=localhost lanforge-port-number=8080 -lanforge-radio=wiphy4 -lanforge-ethernet-port=eth2 + +lanforge-bridge-port=eth1 + + +lanforge-2dot4g-prefix=wlan1 +lanforge-5g-prefix=wlan1 + +lanforge-2dot4g-station=wlan1 +lanforge-5g-station=wlan1 + +lanforge-2dot4g-radio=wiphy0 +lanforge-5g-radio=wiphy1 # Cloud SDK settings sdk-customer-id=2 @@ -40,16 +50,25 @@ skip-wpa=False skip-wpa2=False skip-eap=False +# Radius Settings +radius_server_ip=192.168.200.75 +radius_port=1812 +radius_secret=testing123 markers = sanity: Run the sanity for Client Connectivity test bridge nat vlan - open wpa - wpa2 - eap + wpa_2g + wpa_5g + wpa2_personal + wpa2_enterprise + wpa2_personal_2g + wpa2_enterprise_2g + wpa2_personal_5g + wpa2_enterprise_5g cloud bearer ping From 9d3239fda926a9172b2e7c82a663e7c6c35bbba5 Mon Sep 17 00:00:00 2001 From: shivamcandela Date: Tue, 30 Mar 2021 23:18:40 +0530 Subject: [PATCH 38/45] fixtures pulled as a test case Signed-off-by: shivamcandela --- libs/apnos/apnos.py | 70 +- libs/cloudsdk/cloudsdk.py | 374 ++++-- libs/testrails/testrail_api.py | 86 +- tests/__init__.py | 0 tests/ap_tests/test_apnos.py | 106 +- tests/client_connectivity/test_bridge_mode.py | 473 ++++---- tests/client_connectivity/test_nat_mode.py | 466 +++---- tests/client_connectivity/test_vlan_mode.py | 480 ++++---- tests/cloudsdk_apnos/test_cloudsdk_apnos.py | 13 + tests/cloudsdk_tests/__init__.py | 0 tests/cloudsdk_tests/test_cloud.py | 180 ++- tests/cloudsdk_tests/test_profile.py | 337 ++++++ tests/configuration_data.py | 124 +- tests/conftest.py | 1073 +++++++---------- tests/pytest.ini | 43 +- 15 files changed, 2115 insertions(+), 1710 deletions(-) create mode 100644 tests/__init__.py create mode 100644 tests/cloudsdk_apnos/test_cloudsdk_apnos.py create mode 100644 tests/cloudsdk_tests/__init__.py create mode 100644 tests/cloudsdk_tests/test_profile.py diff --git a/libs/apnos/apnos.py b/libs/apnos/apnos.py index f18fbaa13..6afc2db86 100644 --- a/libs/apnos/apnos.py +++ b/libs/apnos/apnos.py @@ -1,16 +1,16 @@ import paramiko + class APNOS: def __init__(self, jumphost_cred=None): self.owrt_args = "--prompt root@OpenAp -s serial --log stdout --user root --passwd openwifi" if jumphost_cred is None: exit() - self.jumphost_ip = jumphost_cred['jumphost_ip'] # "192.168.200.80" - self.jumphost_username =jumphost_cred['jumphost_username'] # "lanforge" - self.jumphost_password = jumphost_cred['jumphost_password'] # "lanforge" - self.jumphost_port = jumphost_cred['jumphost_port'] # 22 - + self.jumphost_ip = jumphost_cred['jumphost_ip'] # "192.168.200.80" + self.jumphost_username = jumphost_cred['jumphost_username'] # "lanforge" + self.jumphost_password = jumphost_cred['jumphost_password'] # "lanforge" + self.jumphost_port = jumphost_cred['jumphost_port'] # 22 def ssh_cli_connect(self): client = paramiko.SSHClient() @@ -22,7 +22,6 @@ class APNOS: return client - def iwinfo_status(self): client = self.ssh_cli_connect() cmd = "cd %s/lanforge/lanforge-scripts/ && ./openwrt_ctl.py %s -t %s --action cmd --value \"%s\"" % ( @@ -32,7 +31,6 @@ class APNOS: client.close() return output - def get_vif_config(self): client = self.ssh_cli_connect() cmd = "cd %s/lanforge/lanforge-scripts/ && ./openwrt_ctl.py %s -t %s --action cmd --value \"%s\"" % ( @@ -42,7 +40,6 @@ class APNOS: client.close() return output - def get_vif_state(self): client = self.ssh_cli_connect() cmd = "cd %s/lanforge/lanforge-scripts/ && ./openwrt_ctl.py %s -t %s --action cmd --value \"%s\"" % ( @@ -52,7 +49,6 @@ class APNOS: client.close() return output - def get_vif_config_ssids(self): stdout = self.get_vif_config() ssid_list = [] @@ -62,7 +58,6 @@ class APNOS: ssid_list.append(ssid[0].split(":")[1].replace("'", "")) return ssid_list - def get_vif_state_ssids(self): stdout = self.get_vif_state() ssid_list = [] @@ -72,14 +67,53 @@ class APNOS: ssid_list.append(ssid[0].split(":")[1].replace("'", "")) return ssid_list + def get_active_firmware(self): + try: + client = self.ssh_cli_connect() + cmd = "cd %s/lanforge/lanforge-scripts/ && ./openwrt_ctl.py %s -t %s --action cmd --value \"%s\"" % ( + '/home', self.owrt_args, '/dev/ttyAP1', '/usr/opensync/bin/ovsh s AWLAN_Node -c | grep FW_IMAGE_ACTIVE') + stdin, stdout, stderr = client.exec_command(cmd) + output = stdout.read() + # print(output) + version_matrix = str(output.decode('utf-8').splitlines()) + version_matrix_split = version_matrix.partition('FW_IMAGE_ACTIVE","')[2] + cli_active_fw = version_matrix_split.partition('"],[')[0] + client.close() + except Exception as e: + cli_active_fw = "Error" + return cli_active_fw -APNOS_CREDENTIAL_DATA = { - 'jumphost_ip': "192.168.200.80", - 'jumphost_username': "lanforge", - 'jumphost_password': "lanforge", - 'jumphost_port': 22 -} -obj = APNOS(jumphost_cred=APNOS_CREDENTIAL_DATA) -print(obj.get_vif_config_ssids()) + def get_manager_state(self): + try: + client = self.ssh_cli_connect() + cmd = "cd %s/lanforge/lanforge-scripts/ && ./openwrt_ctl.py %s -t %s --action cmd --value \"%s\"" % ( + '/home', self.owrt_args, '/dev/ttyAP1', '/usr/opensync/bin/ovsh s Manager -c | grep status') + stdin, stdout, stderr = client.exec_command(cmd) + output = stdout.read() + status = str(output.decode('utf-8').splitlines()) + client.close() + except Exception as e: + status = "Error" + return status + + def get_status(self): + client = self.ssh_cli_connect() + cmd = "cd %s/lanforge/lanforge-scripts/ && ./openwrt_ctl.py %s -t %s --action cmd --value \"%s\"" % ( + '/home', self.owrt_args, '/dev/ttyAP1', "/usr/opensync/bin/ovsh s Wifi_VIF_State -c") + stdin, stdout, stderr = client.exec_command(cmd) + output = stdout.read() + client.close() + return output + pass +# +# APNOS_CREDENTIAL_DATA = { +# 'jumphost_ip': "192.168.200.80", +# 'jumphost_username': "lanforge", +# 'jumphost_password': "lanforge", +# 'jumphost_port': 22 +# } +# obj = APNOS(jumphost_cred=APNOS_CREDENTIAL_DATA) +# print(obj.get_active_firmware()) +# print(obj.get_vif_config_ssids()) # print(get_vif_config_ssids()) # print(get_vif_state_ssids()) diff --git a/libs/cloudsdk/cloudsdk.py b/libs/cloudsdk/cloudsdk.py index deec3ee56..c497d4bc4 100644 --- a/libs/cloudsdk/cloudsdk.py +++ b/libs/cloudsdk/cloudsdk.py @@ -47,7 +47,7 @@ class ConfigureCloudSDK: if testbed is None: print("No Testbed Selected") exit() - self.sdk_base_url = "https://wlan-portal-svc-" + testbed + ".cicd.lab.wlan.tip.build" + self.sdk_base_url = testbed self.configuration.host = self.sdk_base_url print("Testbed Selected: %s\n SDK_BASE_URL: %s\n" % (testbed, self.sdk_base_url)) return True @@ -88,6 +88,7 @@ class CloudSDK(ConfigureCloudSDK): self.bearer = self.get_bearer_token() self.api_client.default_headers['Authorization'] = "Bearer " + self.bearer._access_token + self.status_client = swagger_client.StatusApi(api_client=self.api_client) self.equipment_client = swagger_client.EquipmentApi(self.api_client) self.profile_client = swagger_client.ProfileApi(self.api_client) self.api_client.configuration.api_key_prefix = { @@ -149,6 +150,34 @@ class CloudSDK(ConfigureCloudSDK): data = self.equipment_client.get_equipment_by_id(equipment_id=equipment_id) return str(data._details._equipment_model) + # Needs Bug fix from swagger code generation side + def get_ap_firmware_new_method(self, equipment_id=None): + + response = self.status_client.get_status_by_customer_equipment(customer_id=self.customer_id, + equipment_id=equipment_id) + print(response[2]) + + # Old Method, will be depreciated in future + def get_ap_firmware_old_method(self, equipment_id=None): + url = self.configuration.host + "/portal/status/forEquipment?customerId=" + str( + self.customer_id) + "&equipmentId=" + str(equipment_id) + payload = {} + headers = self.configuration.api_key_prefix + response = requests.request("GET", url, headers=headers, data=payload) + if response.status_code == 200: + status_data = response.json() + # print(status_data) + try: + current_ap_fw = status_data[2]['details']['reportedSwVersion'] + print(current_ap_fw) + return current_ap_fw + except: + current_ap_fw = "error" + return False + + else: + return False + """ Profile Utilities """ @@ -193,6 +222,16 @@ class ProfileUtility: self.default_profiles = {} self.profile_ids = [] + def cleanup_objects(self): + self.profile_creation_ids = { + "ssid": [], + "ap": [], + "radius": [], + "rf": [] + } + self.default_profiles = {} + self.profile_ids = [] + def get_profile_by_name(self, profile_name=None): pagination_context = """{ "model_type": "PaginationContext", @@ -208,7 +247,7 @@ class ProfileUtility: def get_profile_by_id(self, profile_id=None): profiles = self.profile_client.get_profile_by_id(profile_id=profile_id) - print(profiles._child_profile_ids) + # print(profiles._child_profile_ids) def get_default_profiles(self): pagination_context = """{ @@ -243,14 +282,78 @@ class ProfileUtility: continue else: delete_ids.append(i._id) - print(delete_ids) + # print(delete_ids) self.get_default_profiles() self.profile_creation_ids['ap'] = self.default_profiles['equipment_ap_3_radios']._id - print(self.profile_creation_ids) + # print(self.profile_creation_ids) self.push_profile_old_method(equipment_id=equipment_id) self.delete_profile(profile_id=delete_ids) - """ + def cleanup_profiles(self): + try: + self.get_default_profiles() + pagination_context = """{ + "model_type": "PaginationContext", + "maxItemsPerPage": 5000 + }""" + skip_delete_id = [] + for i in self.default_profiles: + skip_delete_id.append(self.default_profiles[i]._id) + + all_profiles = self.profile_client.get_profiles_by_customer_id(customer_id=self.sdk_client.customer_id, + pagination_context=pagination_context) + + delete_ids = [] + for i in all_profiles._items: + delete_ids.append(i._id) + skip_delete_id = [] + for i in self.default_profiles: + skip_delete_id.append(self.default_profiles[i]._id) + delete_ids = list(set(delete_ids) - set(delete_ids).intersection(set(skip_delete_id))) + for i in delete_ids: + self.set_equipment_to_profile(profile_id=i) + try: + self.delete_profile(profile_id=delete_ids) + except Exception as e: + pass + status = True + except: + status = False + return status + + def delete_profile_by_name(self, profile_name=None): + pagination_context = """{ + "model_type": "PaginationContext", + "maxItemsPerPage": 5000 + }""" + all_profiles = self.profile_client.get_profiles_by_customer_id(customer_id=self.sdk_client.customer_id, + pagination_context=pagination_context) + for i in all_profiles._items: + if i._name == profile_name: + counts = self.profile_client.get_counts_of_equipment_that_use_profiles([i._id])[0] + # print(counts._value2) + if counts._value2: + self.set_equipment_to_profile(profile_id=i._id) + else: + self.delete_profile(profile_id=[i._id]) + + # This method will set all the equipments to default equipment_ap profile, those having the profile_id passed in + # argument + def set_equipment_to_profile(self, profile_id=None): + pagination_context = """{ + "model_type": "PaginationContext", + "maxItemsPerPage": 5000 + }""" + equipment_data = self.sdk_client.equipment_client.get_equipment_by_customer_id(customer_id=2, + pagination_context=pagination_context) + + for i in equipment_data._items: + if i._profile_id == profile_id: + self.profile_creation_ids['ap'] = self.default_profiles['equipment_ap_2_radios']._id + self.push_profile_old_method(equipment_id=i._id) + time.sleep(2) + + """ method call: used to create the rf profile and push set the parameters accordingly and update """ @@ -260,80 +363,91 @@ class ProfileUtility: if profile_data is None: self.profile_creation_ids['rf'].append(default_profile._id) # Need to add functionality to add similar Profile and modify accordingly - + return True """ method call: used to create a ssid profile with the given parameters """ def create_open_ssid_profile(self, two4g=True, fiveg=True, profile_data=None): - if profile_data is None: - return False - default_profile = self.default_profiles['ssid'] - # default_profile = self.sdk_client.get_profile_template(customer_id=2, profile_name="TipWlan-Cloud-Wifi") - default_profile._details['appliedRadios'] = [] - if two4g is True: - default_profile._details['appliedRadios'].append("is2dot4GHz") - if fiveg is True: - default_profile._details['appliedRadios'].append("is5GHzU") - default_profile._details['appliedRadios'].append("is5GHz") - default_profile._details['appliedRadios'].append("is5GHzL") - default_profile._name = profile_data['profile_name'] - default_profile._details['vlanId'] = profile_data['vlan'] - default_profile._details['ssid'] = profile_data['ssid_name'] - default_profile._details['forwardMode'] = profile_data['mode'] - default_profile._details['secureMode'] = 'open' - profile_id = self.profile_client.create_profile(body=default_profile)._id - self.profile_creation_ids['ssid'].append(profile_id) - self.profile_ids.append(profile_id) - return True + try: + if profile_data is None: + return False + default_profile = self.default_profiles['ssid'] + # default_profile = self.sdk_client.get_profile_template(customer_id=2, profile_name="TipWlan-Cloud-Wifi") + default_profile._details['appliedRadios'] = [] + if two4g is True: + default_profile._details['appliedRadios'].append("is2dot4GHz") + if fiveg is True: + default_profile._details['appliedRadios'].append("is5GHzU") + default_profile._details['appliedRadios'].append("is5GHz") + default_profile._details['appliedRadios'].append("is5GHzL") + default_profile._name = profile_data['profile_name'] + default_profile._details['vlanId'] = profile_data['vlan'] + default_profile._details['ssid'] = profile_data['ssid_name'] + default_profile._details['forwardMode'] = profile_data['mode'] + default_profile._details['secureMode'] = 'open' + profile = self.profile_client.create_profile(body=default_profile) + profile_id = profile._id + self.profile_creation_ids['ssid'].append(profile_id) + self.profile_ids.append(profile_id) + except Exception as e: + profile = "error" + + return profile def create_wpa_ssid_profile(self, two4g=True, fiveg=True, profile_data=None): - if profile_data is None: - return False - default_profile = self.default_profiles['ssid'] - # default_profile = self.sdk_client.get_profile_template(customer_id=2, profile_name="TipWlan-Cloud-Wifi") - default_profile._details['appliedRadios'] = [] - if two4g is True: - default_profile._details['appliedRadios'].append("is2dot4GHz") - if fiveg is True: - default_profile._details['appliedRadios'].append("is5GHzU") - default_profile._details['appliedRadios'].append("is5GHz") - default_profile._details['appliedRadios'].append("is5GHzL") - default_profile._name = profile_data['profile_name'] - default_profile._details['vlanId'] = profile_data['vlan'] - default_profile._details['ssid'] = profile_data['ssid_name'] - default_profile._details['keyStr'] = profile_data['security_key'] - default_profile._details['forwardMode'] = profile_data['mode'] - default_profile._details['secureMode'] = 'wpaPSK' - print(default_profile) - profile_id = self.profile_client.create_profile(body=default_profile)._id - self.profile_creation_ids['ssid'].append(profile_id) - self.profile_ids.append(profile_id) - return True + try: + if profile_data is None: + return False + default_profile = self.default_profiles['ssid'] + # default_profile = self.sdk_client.get_profile_template(customer_id=2, profile_name="TipWlan-Cloud-Wifi") + default_profile._details['appliedRadios'] = [] + if two4g is True: + default_profile._details['appliedRadios'].append("is2dot4GHz") + if fiveg is True: + default_profile._details['appliedRadios'].append("is5GHzU") + default_profile._details['appliedRadios'].append("is5GHz") + default_profile._details['appliedRadios'].append("is5GHzL") + default_profile._name = profile_data['profile_name'] + default_profile._details['vlanId'] = profile_data['vlan'] + default_profile._details['ssid'] = profile_data['ssid_name'] + default_profile._details['keyStr'] = profile_data['security_key'] + default_profile._details['forwardMode'] = profile_data['mode'] + default_profile._details['secureMode'] = 'wpaPSK' + profile = self.profile_client.create_profile(body=default_profile) + profile_id = profile._id + self.profile_creation_ids['ssid'].append(profile_id) + self.profile_ids.append(profile_id) + except Exception as e: + profile = False + return profile def create_wpa2_personal_ssid_profile(self, two4g=True, fiveg=True, profile_data=None): - if profile_data is None: - return False - default_profile = self.default_profiles['ssid'] - # default_profile = self.sdk_client.get_profile_template(customer_id=2, profile_name="TipWlan-Cloud-Wifi") - default_profile._details['appliedRadios'] = [] - if two4g is True: - default_profile._details['appliedRadios'].append("is2dot4GHz") - if fiveg is True: - default_profile._details['appliedRadios'].append("is5GHzU") - default_profile._details['appliedRadios'].append("is5GHz") - default_profile._details['appliedRadios'].append("is5GHzL") - default_profile._name = profile_data['profile_name'] - default_profile._details['vlanId'] = profile_data['vlan'] - default_profile._details['ssid'] = profile_data['ssid_name'] - default_profile._details['keyStr'] = profile_data['security_key'] - default_profile._details['forwardMode'] = profile_data['mode'] - default_profile._details['secureMode'] = 'wpa2OnlyPSK' - profile_id = self.profile_client.create_profile(body=default_profile)._id - self.profile_creation_ids['ssid'].append(profile_id) - self.profile_ids.append(profile_id) - # print(default_profile) - return True + try: + if profile_data is None: + return False + default_profile = self.default_profiles['ssid'] + # default_profile = self.sdk_client.get_profile_template(customer_id=2, profile_name="TipWlan-Cloud-Wifi") + default_profile._details['appliedRadios'] = [] + if two4g is True: + default_profile._details['appliedRadios'].append("is2dot4GHz") + if fiveg is True: + default_profile._details['appliedRadios'].append("is5GHzU") + default_profile._details['appliedRadios'].append("is5GHz") + default_profile._details['appliedRadios'].append("is5GHzL") + default_profile._name = profile_data['profile_name'] + default_profile._details['vlanId'] = profile_data['vlan'] + default_profile._details['ssid'] = profile_data['ssid_name'] + default_profile._details['keyStr'] = profile_data['security_key'] + default_profile._details['forwardMode'] = profile_data['mode'] + default_profile._details['secureMode'] = 'wpa2OnlyPSK' + profile = self.profile_client.create_profile(body=default_profile) + profile_id = profile._id + self.profile_creation_ids['ssid'].append(profile_id) + self.profile_ids.append(profile_id) + except Exception as e: + profile = False + return profile def create_wpa3_personal_ssid_profile(self, two4g=True, fiveg=True, profile_data=None): if profile_data is None: @@ -359,28 +473,34 @@ class ProfileUtility: return True def create_wpa2_enterprise_ssid_profile(self, two4g=True, fiveg=True, profile_data=None): - if profile_data is None: - return False - default_profile = self.default_profiles['ssid'] - # default_profile = self.sdk_client.get_profile_template(customer_id=2, profile_name="TipWlan-Cloud-Wifi") - default_profile._details['appliedRadios'] = [] - if two4g is True: - default_profile._details['appliedRadios'].append("is2dot4GHz") - if fiveg is True: - default_profile._details['appliedRadios'].append("is5GHzU") - default_profile._details['appliedRadios'].append("is5GHz") - default_profile._details['appliedRadios'].append("is5GHzL") - default_profile._name = profile_data['profile_name'] - default_profile._details['vlanId'] = profile_data['vlan'] - default_profile._details['ssid'] = profile_data['ssid_name'] - default_profile._details['forwardMode'] = profile_data['mode'] - default_profile._details["radiusServiceId"] = self.profile_creation_ids["radius"][0] - default_profile._child_profile_ids = self.profile_creation_ids["radius"] - default_profile._details['secureMode'] = 'wpa2OnlyRadius' - profile_id = self.profile_client.create_profile(body=default_profile)._id - self.profile_creation_ids['ssid'].append(profile_id) - self.profile_ids.append(profile_id) - return True + try: + if profile_data is None: + return False + default_profile = self.default_profiles['ssid'] + # print(default_profile) + # default_profile = self.sdk_client.get_profile_template(customer_id=2, profile_name="TipWlan-Cloud-Wifi") + default_profile._details['appliedRadios'] = [] + if two4g is True: + default_profile._details['appliedRadios'].append("is2dot4GHz") + if fiveg is True: + default_profile._details['appliedRadios'].append("is5GHzU") + default_profile._details['appliedRadios'].append("is5GHz") + default_profile._details['appliedRadios'].append("is5GHzL") + default_profile._name = profile_data['profile_name'] + default_profile._details['vlanId'] = profile_data['vlan'] + default_profile._details['ssid'] = profile_data['ssid_name'] + default_profile._details['forwardMode'] = profile_data['mode'] + default_profile._details["radiusServiceId"] = self.profile_creation_ids["radius"][0] + default_profile._child_profile_ids = self.profile_creation_ids["radius"] + default_profile._details['secureMode'] = 'wpa2OnlyRadius' + profile = self.profile_client.create_profile(body=default_profile) + profile_id = profile._id + self.profile_creation_ids['ssid'].append(profile_id) + self.profile_ids.append(profile_id) + except Exception as e: + print(e) + profile = False + return profile def create_wpa3_enterprise_ssid_profile(self, two4g=True, fiveg=True, profile_data=None): if profile_data is None: @@ -415,18 +535,17 @@ class ProfileUtility: if profile_data is None: return False default_profile = self.default_profiles['equipment_ap_2_radios'] - # default_profile = self.sdk_client.get_profile_template(customer_id=2, profile_name="TipWlan-2-Radios") default_profile._child_profile_ids = [] for i in self.profile_creation_ids: for j in self.profile_creation_ids[i]: default_profile._child_profile_ids.append(j) - # default_profile._details['radiusServiceId'] = self.profile_creation_ids['radius'] + default_profile._name = profile_data['profile_name'] - print(default_profile) + # print(default_profile) default_profile = self.profile_client.create_profile(body=default_profile) self.profile_creation_ids['ap'] = default_profile._id self.profile_ids.append(default_profile._id) - # print(default_profile) + return default_profile """ method call: used to create a radius profile with the settings given @@ -442,13 +561,7 @@ class ProfileUtility: default_profile = self.profile_client.create_profile(body=default_profile) self.profile_creation_ids['radius'] = [default_profile._id] self.profile_ids.append(default_profile._id) - - """ - method call: used to create the ssid and psk data that can be used in creation of ssid profile - """ - - def set_ssid_psk_data(self): - pass + return default_profile """ method to push the profile to the given equipment @@ -462,7 +575,7 @@ class ProfileUtility: }""" default_equipment_data = self.sdk_client.equipment_client.get_equipment_by_id(equipment_id=11, async_req=False) # default_equipment_data._details[] = self.profile_creation_ids['ap'] - print(default_equipment_data) + # print(default_equipment_data) # print(self.sdk_client.equipment_client.update_equipment(body=default_equipment_data, async_req=True)) """ @@ -551,6 +664,7 @@ class FirmwareUtility(JFrogUtility): self.firmware_client = FirmwareManagementApi(api_client=sdk_client.api_client) self.jfrog_client = JFrogUtility(credentials=jfrog_credentials) self.equipment_gateway_client = EquipmentGatewayApi(api_client=sdk_client.api_client) + def get_current_fw_version(self, equipment_id=None): # Write a logic to get the currently loaded firmware on the equipment self.current_fw = "something" @@ -558,7 +672,6 @@ class FirmwareUtility(JFrogUtility): def get_latest_fw_version(self, model="ecw5410"): # Get The equipment model - self.latest_fw = self.get_latest_build(model=model) return self.latest_fw @@ -567,12 +680,13 @@ class FirmwareUtility(JFrogUtility): # if fw_latest available and force upload is True -- Upload # if fw_latest is not available -- Upload fw_id = self.is_fw_available(fw_version=fw_version) - if fw_id and (force_upload is False): - print("Force Upload :", force_upload, " Skipping upload") + if fw_id and not force_upload: + print("Firmware Version Already Available, Skipping upload", "Force Upload :", force_upload) # Don't Upload the fw - pass + return fw_id else: - if fw_id and (force_upload is True): + if fw_id and force_upload: + print("Firmware Version Already Available, Deleting and Uploading Again") self.firmware_client.delete_firmware_version(firmware_version_id=fw_id) print("Force Upload :", force_upload, " Deleted current Image") time.sleep(2) @@ -588,7 +702,7 @@ class FirmwareUtility(JFrogUtility): "commit": fw_version.split("-")[5] } firmware_id = self.firmware_client.create_firmware_version(body=firmware_data) - print("Force Upload :", force_upload, " Uploaded Image") + print("Force Upload :", force_upload, " Uploaded the Image") return firmware_id._id def upgrade_fw(self, equipment_id=None, force_upgrade=False, force_upload=False): @@ -601,8 +715,10 @@ class FirmwareUtility(JFrogUtility): firmware_id = self.upload_fw_on_cloud(fw_version=latest_fw, force_upload=force_upload) time.sleep(5) try: - obj = self.equipment_gateway_client.request_firmware_update(equipment_id=equipment_id, firmware_version_id=firmware_id) - time.sleep(60) + obj = self.equipment_gateway_client.request_firmware_update(equipment_id=equipment_id, + firmware_version_id=firmware_id) + print("Request firmware upgrade Success! waiting for 100 sec") + time.sleep(100) except Exception as e: obj = False return obj @@ -624,13 +740,33 @@ class FirmwareUtility(JFrogUtility): firmware_version = self.firmware_client.get_firmware_version_by_name( firmware_version_name=fw_version + ".tar.gz") firmware_version = firmware_version._id - print("Firmware already Available: ", firmware_version) + print("Firmware ID: ", firmware_version) except Exception as e: firmware_version = False print("firmware not available: ", firmware_version) return firmware_version +# sdk_client = CloudSDK(testbed="https://wlan-portal-svc-nola-ext-03.cicd.lab.wlan.tip.build", customer_id=2) +# profile_obj = ProfileUtility(sdk_client=sdk_client) +# profile_data = {'profile_name': 'Sanity-ecw5410-2G_WPA2_E_BRIDGE', 'ssid_name': 'Sanity-ecw5410-2G_WPA2_E_BRIDGE', 'vlan': 1, 'mode': 'BRIDGE', 'security_key': '2G-WPA2_E_BRIDGE'} +# profile_obj.get_default_profiles() +# radius_info = { +# "name" : "something", +# "ip": "192.168.200.75", +# "port": 1812, +# "secret": "testing123" +# +# } +# profile_obj.create_radius_profile(radius_info=radius_info) +# profile_obj.create_wpa2_enterprise_ssid_profile(profile_data=profile_data, fiveg=False) +# # # profile_obj.delete_profile_by_name(profile_name="Test_Delete") +# sdk_client.disconnect_cloudsdk() +# # # +# sdk_client = CloudSDK(testbed="nola-ext-03", customer_id=2) +# sdk_client.get_ap_firmware_old_method(equipment_id=23) +# sdk_client.disconnect_cloudsdk() + # sdk_client = CloudSDK(testbed="nola-ext-03", customer_id=2) # profile_obj = ProfileUtility(sdk_client=sdk_client) # profile_obj.get_default_profiles() @@ -662,10 +798,14 @@ class FirmwareUtility(JFrogUtility): # # # from testbed_info import JFROG_CREDENTIALS # # -# # sdk_client = CloudSDK(testbed="nola-ext-05", customer_id=2) -# # obj = FirmwareUtility(jfrog_credentials=JFROG_CREDENTIALS, sdk_client=sdk_client) -# # obj.upgrade_fw(equipment_id=7, force_upload=False, force_upgrade=False) - +# JFROG_CREDENTIALS = { +# "user": "tip-read", +# "password": "tip-read" +# } +# sdk_client = CloudSDK(testbed="nola-ext-03", customer_id=2) +# obj = FirmwareUtility(jfrog_credentials=JFROG_CREDENTIALS, sdk_client=sdk_client) +# obj.upgrade_fw(equipment_id=23, force_upload=False, force_upgrade=False) +# sdk_client.disconnect_cloudsdk() """ Check the ap model Check latest revision of a model diff --git a/libs/testrails/testrail_api.py b/libs/testrails/testrail_api.py index 541ea6551..841c2bc97 100644 --- a/libs/testrails/testrail_api.py +++ b/libs/testrails/testrail_api.py @@ -15,19 +15,20 @@ import requests from pprint import pprint import os -class TestRail_Client: - def __init__(self, command_line_args): - self.user = command_line_args.testrail_user_id - self.password = command_line_args.testrail_user_password - self.command_line_args = command_line_args - base_url = command_line_args.testrail_base_url + +# tr_user=os.getenv('TR_USER') +# tr_pw=os.getenv('TR_PWD') +# project = os.getenv('PROJECT_ID') + + +class APIClient: + def __init__(self, base_url, tr_user, tr_pw, project): + self.user = tr_user + self.password = tr_pw + self.project = project if not base_url.endswith('/'): base_url += '/' self.__url = base_url + 'index.php?/api/v2/' - self.use_testrails = True - if command_line_args.testrail_user_id == "NONE": - self.use_testrails = False - def send_get(self, uri, filepath=None): """Issue a GET request (read) against the API. @@ -57,9 +58,6 @@ class TestRail_Client: return self.__send_request('POST', uri, data) def __send_request(self, method, uri, data): - if not self.use_testrails: - return {"TESTRAILS":"DISABLED"} - url = self.__url + uri auth = str( @@ -69,10 +67,10 @@ class TestRail_Client: 'ascii' ).strip() headers = {'Authorization': 'Basic ' + auth} - #print("Method =" , method) + # print("Method =" , method) if method == 'POST': - if uri[:14] == 'add_attachment': # add_attachment API method + if uri[:14] == 'add_attachment': # add_attachment API method files = {'attachment': (open(data, 'rb'))} response = requests.post(url, headers=headers, files=files) files['attachment'].close() @@ -83,25 +81,25 @@ class TestRail_Client: else: headers['Content-Type'] = 'application/json' response = requests.get(url, headers=headers) - #print("headers = ", headers) - #print("resonse=", response) - #print("response code =", response.status_code) + # print("headers = ", headers) + # print("resonse=", response) + # print("response code =", response.status_code) if response.status_code > 201: try: error = response.json() - except: # response.content not formatted as JSON + except: # response.content not formatted as JSON error = str(response.content) - #raise APIError('TestRail API returned HTTP %s (%s)' % (response.status_code, error)) + # raise APIError('TestRail API returned HTTP %s (%s)' % (response.status_code, error)) print('TestRail API returned HTTP %s (%s)' % (response.status_code, error)) return else: print(uri[:15]) - if uri[:15] == 'get_attachments': # Expecting file, not JSON + if uri[:15] == 'get_attachments': # Expecting file, not JSON try: print('opening file') - print (str(response.content)) + print(str(response.content)) open(data, 'wb').write(response.content) print('opened file') return (data) @@ -111,39 +109,31 @@ class TestRail_Client: try: return response.json() - except: # Nothing to return + except: # Nothing to return return {} def get_project_id(self, project_name): "Get the project ID using project name" - - if not self.use_testrails: - return -1 - project_id = None projects = self.send_get('get_projects') ##pprint(projects) for project in projects: - if project['name']== project_name: + if project['name'] == project_name: project_id = project['id'] # project_found_flag=True break - print("project Id =",project_id) + print("project Id =", project_id) return project_id def get_run_id(self, test_run_name): "Get the run ID using test name and project name" - - if not self.use_testrails: - return -1 - run_id = None - project_id = self.get_project_id(project_name=project) + project_id = self.get_project_id(project_name=self.project) try: test_runs = self.send_get('get_runs/%s' % (project_id)) - #print("------------TEST RUNS----------") - #pprint(test_runs) + # print("------------TEST RUNS----------") + # pprint(test_runs) except Exception: print @@ -153,23 +143,18 @@ class TestRail_Client: for test_run in test_runs: if test_run['name'] == test_run_name: run_id = test_run['id'] - #print("run Id in Test Runs=",run_id) + # print("run Id in Test Runs=",run_id) break return run_id - def update_testrail(self, case_id, run_id, status_id, msg): "Update TestRail for a given run_id and case_id" - - if not self.use_testrails: - return False - update_flag = False # Get the TestRail client account details # Update the result in TestRail using send_post function. # Parameters for add_result_for_case is the combination of runid and case id. # status_id is 1 for Passed, 2 For Blocked, 4 for Retest and 5 for Failed - #status_id = 1 if result_flag is True else 5 + # status_id = 1 if result_flag is True else 5 print("result status Pass/Fail = ", status_id) print("case id=", case_id) @@ -179,7 +164,7 @@ class TestRail_Client: result = self.send_post( 'add_result_for_case/%s/%s' % (run_id, case_id), {'status_id': status_id, 'comment': msg}) - print("result in post",result) + print("result in post", result) except Exception: print 'Exception in update_testrail() updating TestRail.' @@ -193,8 +178,19 @@ class TestRail_Client: def create_testrun(self, name, case_ids, project_id, milestone_id, description): result = self.send_post( 'add_run/%s' % (project_id), - {'name': name, 'case_ids': case_ids, 'milestone_id': milestone_id, 'description': description, 'include_all': False}) + {'name': name, 'case_ids': case_ids, 'milestone_id': milestone_id, 'description': description, + 'include_all': False}) print("result in post", result) + def update_testrun(self, runid, description): + result = self.send_post( + 'update_run/%s' % (runid), + {'description': description}) + print("result in post", result) + + +# client: APIClient = APIClient(os.getenv('TR_URL')) + + class APIError(Exception): pass diff --git a/tests/__init__.py b/tests/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/tests/ap_tests/test_apnos.py b/tests/ap_tests/test_apnos.py index 4de6cdee0..4799ad387 100644 --- a/tests/ap_tests/test_apnos.py +++ b/tests/ap_tests/test_apnos.py @@ -1,44 +1,62 @@ -# """ -# About: It contains some Functional Unit Tests for CloudSDK+APNOS and to run and test them on per unit level -# """ -# import pytest -# -# -# # Note: Use Reusable Fixtures, Create SSID Profile, Equipment_AP Profile, Use RF Profile, Radius Profile, -# # Push and Verify -# @pytest.mark.test_apnos_profiles -# class TestProfiles(object): -# -# @pytest.mark.test_apnos_open_ssid -# def test_open_ssid(self): -# # Write a Test case that creates Open ssid and pushes it to AP, and verifies that profile is applied properly -# yield True -# -# @pytest.mark.test_apnos_wpa_ssid -# def test_wpa_ssid(self): -# # Write a Test case that creates WPA ssid and pushes it to AP, and verifies that profile is applied properly -# yield True -# -# @pytest.mark.test_apnos_wpa2_personal_ssid -# def test_wpa2_personal_ssid(self): -# # Write a Test case that creates WPA2-PERSONAL ssid and pushes it to AP, and verifies that profile is applied -# # properly -# yield True -# -# @pytest.mark.test_apnos_wpa2_enterprise_ssid -# def test_wpa2_enterprise_ssid(self): -# # Write a Test case that creates WPA2-ENTERPRISE ssid and pushes it to AP, and verifies that profile is -# # applied properly -# yield True -# -# @pytest.mark.test_apnos_wpa3_personal_ssid -# def test_wpa3_personal_ssid(self): -# # Write a Test case that creates WPA3-PERSONAL ssid and pushes it to AP, and verifies that profile is applied -# # properly -# yield True -# -# @pytest.mark.test_apnos_wpa3_enterprise_ssid -# def test_wpa3_enterprise_ssid(self): -# # Write a Test case that creates WPA3-ENTERPRISE ssid and pushes it to AP, and verifies that profile is -# # applied properly -# yield True +import pytest + +from configuration_data import TEST_CASES + + +@pytest.mark.shivamy(after='test_something_1') +def test_something_2(): + assert True + + +@pytest.mark.sanity(depends=['TestFirmware']) +@pytest.mark.bridge(order=3) +@pytest.mark.nat(order=3) +@pytest.mark.vlan(order=3) +@pytest.mark.ap_firmware +class TestFirmwareAPNOS(object): + + @pytest.mark.check_active_firmware_ap + def test_ap_firmware(self, check_ap_firmware_ssh, get_latest_firmware): + print("5") + if check_ap_firmware_ssh == get_latest_firmware: + status = True + # instantiate_testrail.update_testrail(case_id=TEST_CASES["ap_upgrade"], run_id=instantiate_project, + # status_id=1, + # msg='Upgrade to ' + get_latest_firmware + ' successful') + else: + status = False + # instantiate_testrail.update_testrail(case_id=TEST_CASES["ap_upgrade"], run_id=instantiate_project, + # status_id=4, + # msg='Cannot reach AP after upgrade to check CLI - re-test required') + + assert status + + +@pytest.mark.basic +@pytest.mark.bridge(order=4) +@pytest.mark.nat(order=4) +@pytest.mark.vlan(order=4) +@pytest.mark.ap_connection +class TestConnection(object): + + @pytest.mark.ap_manager_state + @pytest.mark.sanity(depends=['TestFirmwareAPNOS']) + def test_ap_manager_state(self, get_ap_manager_status): + print("4") + if "ACTIVE" not in get_ap_manager_status: + # instantiate_testrail.update_testrail(case_id=TEST_CASES["cloud_connection"], run_id=instantiate_project, + # status_id=5, + # msg='CloudSDK connectivity failed') + status = False + else: + # instantiate_testrail.update_testrail(case_id=TEST_CASES["cloud_connection"], run_id=instantiate_project, + # status_id=1, + # msg='Manager status is Active') + status = True + assert status + # break test session if test case is false + + +@pytest.mark.shivamy(after='test_something_2') +def test_something_3(): + assert True diff --git a/tests/client_connectivity/test_bridge_mode.py b/tests/client_connectivity/test_bridge_mode.py index 2e3e6a037..d01f0878d 100644 --- a/tests/client_connectivity/test_bridge_mode.py +++ b/tests/client_connectivity/test_bridge_mode.py @@ -1,235 +1,238 @@ -import pytest -import sys - -for folder in 'py-json', 'py-scripts': - if folder not in sys.path: - sys.path.append(f'../lanforge/lanforge-scripts/{folder}') - -sys.path.append(f"../lanforge/lanforge-scripts/py-scripts/tip-cicd-sanity") - -sys.path.append(f'../libs') -sys.path.append(f'../libs/lanforge/') - -from LANforge.LFUtils import * - -if 'py-json' not in sys.path: - sys.path.append('../py-scripts') - -import sta_connect2 -from sta_connect2 import StaConnect2 -import eap_connect -from eap_connect import EAPConnect -import time - - -class TestBridgeModeClientConnectivity(object): - - @pytest.mark.sanity - @pytest.mark.bridge - @pytest.mark.wpa2_personal - @pytest.mark.wpa2_personal_5g - def test_single_client_wpa2_personal_5g(self, setup_cloudsdk, upgrade_firmware, setup_bridge_mode, - disconnect_cloudsdk, get_lanforge_data): - profile_data = setup_bridge_mode[3]['wpa2_personal']['5g'] - staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), - debug_=False) - staConnect.sta_mode = 0 - staConnect.upstream_resource = 1 - staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] - staConnect.radio = get_lanforge_data["lanforge_5g"] - staConnect.resource = 1 - staConnect.dut_ssid = profile_data["ssid_name"] - staConnect.dut_passwd = profile_data["security_key"] - staConnect.dut_security = profile_data["security_key"].split("-")[1].split("_")[0].lower() - staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] - staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] - staConnect.runtime_secs = 10 - staConnect.bringup_time_sec = 60 - staConnect.cleanup_on_exit = True - # staConnect.cleanup() - staConnect.setup() - staConnect.start() - print("napping %f sec" % staConnect.runtime_secs) - time.sleep(staConnect.runtime_secs) - staConnect.stop() - staConnect.cleanup() - run_results = staConnect.get_result_list() - for result in run_results: - print("test result: " + result) - # result = 'pass' - print("Single Client Connectivity :", staConnect.passes) - assert staConnect.passes() - - @pytest.mark.sanity - @pytest.mark.bridge - @pytest.mark.wpa2_personal - @pytest.mark.wpa2_personal_2g - def test_single_client_wpa2_personal_2g(self, setup_cloudsdk, upgrade_firmware, setup_bridge_mode, - disconnect_cloudsdk, get_lanforge_data): - profile_data = setup_bridge_mode[3]['wpa2_personal']['2g'] - staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), - debug_=False) - staConnect.sta_mode = 0 - staConnect.upstream_resource = 1 - staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] - staConnect.radio = get_lanforge_data["lanforge_5g"] - staConnect.resource = 1 - staConnect.dut_ssid = profile_data["ssid_name"] - staConnect.dut_passwd = profile_data["security_key"] - staConnect.dut_security = profile_data["security_key"].split("-")[1].split("_")[0].lower() - staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] - staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] - staConnect.runtime_secs = 10 - staConnect.bringup_time_sec = 60 - staConnect.cleanup_on_exit = True - # staConnect.cleanup() - staConnect.setup() - staConnect.start() - print("napping %f sec" % staConnect.runtime_secs) - time.sleep(staConnect.runtime_secs) - staConnect.stop() - staConnect.cleanup() - run_results = staConnect.get_result_list() - for result in run_results: - print("test result: " + result) - # result = 'pass' - print("Single Client Connectivity :", staConnect.passes) - assert staConnect.passes() - - @pytest.mark.sanity - @pytest.mark.bridge - @pytest.mark.wpa - @pytest.mark.wpa_5g - def test_single_client_wpa_5g(self, setup_cloudsdk, upgrade_firmware, setup_bridge_mode, - disconnect_cloudsdk, get_lanforge_data): - profile_data = setup_bridge_mode[3]['wpa']['5g'] - staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), - debug_=False) - staConnect.sta_mode = 0 - staConnect.upstream_resource = 1 - staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] - staConnect.radio = get_lanforge_data["lanforge_5g"] - staConnect.resource = 1 - staConnect.dut_ssid = profile_data["ssid_name"] - staConnect.dut_passwd = profile_data["security_key"] - staConnect.dut_security = profile_data["security_key"].split("-")[1].split("_")[0].lower() - staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] - staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] - staConnect.runtime_secs = 10 - staConnect.bringup_time_sec = 60 - staConnect.cleanup_on_exit = True - # staConnect.cleanup() - staConnect.setup() - staConnect.start() - print("napping %f sec" % staConnect.runtime_secs) - time.sleep(staConnect.runtime_secs) - staConnect.stop() - staConnect.cleanup() - run_results = staConnect.get_result_list() - for result in run_results: - print("test result: " + result) - # result = 'pass' - print("Single Client Connectivity :", staConnect.passes) - assert staConnect.passes() - - @pytest.mark.sanity - @pytest.mark.bridge - @pytest.mark.wpa - @pytest.mark.wpa_2g - def test_single_client_wpa_2g(self, setup_cloudsdk, upgrade_firmware, setup_bridge_mode, - disconnect_cloudsdk, get_lanforge_data): - profile_data = setup_bridge_mode[3]['wpa']['2g'] - staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), - debug_=False) - staConnect.sta_mode = 0 - staConnect.upstream_resource = 1 - staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] - staConnect.radio = get_lanforge_data["lanforge_5g"] - staConnect.resource = 1 - staConnect.dut_ssid = profile_data["ssid_name"] - staConnect.dut_passwd = profile_data["security_key"] - staConnect.dut_security = profile_data["security_key"].split("-")[1].split("_")[0].lower() - staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] - staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] - staConnect.runtime_secs = 10 - staConnect.bringup_time_sec = 60 - staConnect.cleanup_on_exit = True - # staConnect.cleanup() - staConnect.setup() - staConnect.start() - print("napping %f sec" % staConnect.runtime_secs) - time.sleep(staConnect.runtime_secs) - staConnect.stop() - staConnect.cleanup() - run_results = staConnect.get_result_list() - for result in run_results: - print("test result: " + result) - # result = 'pass' - print("Single Client Connectivity :", staConnect.passes) - assert staConnect.passes() - - @pytest.mark.sanity - @pytest.mark.bridge - @pytest.mark.wpa2_enterprise - @pytest.mark.wpa2_enterprise_5g - def test_single_client_wpa2_enterprise_5g(self, setup_cloudsdk, upgrade_firmware, setup_bridge_mode, - disconnect_cloudsdk, get_lanforge_data): - profile_data = setup_bridge_mode[3]['wpa2_enterprise']['5g'] - eap_connect = EAPConnect(get_lanforge_data["lanforge_ip"], get_lanforge_data["lanforge-port-number"]) - eap_connect.upstream_resource = 1 - eap_connect.upstream_port = get_lanforge_data["lanforge_bridge_port"] - eap_connect.security = "wpa2" - eap_connect.sta_list = [get_lanforge_data["lanforge_5g_station"]] - eap_connect.station_names = [get_lanforge_data["lanforge_5g_station"]] - eap_connect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] - eap_connect.ssid = profile_data["ssid_name"] - eap_connect.radio = get_lanforge_data["lanforge_5g"] - eap_connect.eap = "TTLS" - eap_connect.identity = "nolaradius" - eap_connect.ttls_passwd = "nolastart" - eap_connect.runtime_secs = 10 - eap_connect.setup() - eap_connect.start() - print("napping %f sec" % eap_connect.runtime_secs) - time.sleep(eap_connect.runtime_secs) - eap_connect.stop() - eap_connect.cleanup() - run_results = eap_connect.get_result_list() - for result in run_results: - print("test result: " + result) - # result = 'pass' - print("Single Client Connectivity :", eap_connect.passes) - assert eap_connect.passes() - - @pytest.mark.sanity - @pytest.mark.bridge - @pytest.mark.wpa2_enterprise - @pytest.mark.wpa2_enterprise_2g - def test_single_client_wpa2_enterprise_2g(self, setup_cloudsdk, upgrade_firmware, setup_bridge_mode, - disconnect_cloudsdk, get_lanforge_data): - profile_data = setup_bridge_mode[3]['wpa2_enterprise']['2g'] - eap_connect = EAPConnect(get_lanforge_data["lanforge_ip"], get_lanforge_data["lanforge-port-number"]) - eap_connect.upstream_resource = 1 - eap_connect.upstream_port = get_lanforge_data["lanforge_bridge_port"] - eap_connect.security = "wpa2" - eap_connect.sta_list = [get_lanforge_data["lanforge_5g_station"]] - eap_connect.station_names = [get_lanforge_data["lanforge_5g_station"]] - eap_connect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] - eap_connect.ssid = profile_data["ssid_name"] - eap_connect.radio = get_lanforge_data["lanforge_5g"] - eap_connect.eap = "TTLS" - eap_connect.identity = "nolaradius" - eap_connect.ttls_passwd = "nolastart" - eap_connect.runtime_secs = 10 - eap_connect.setup() - eap_connect.start() - print("napping %f sec" % eap_connect.runtime_secs) - time.sleep(eap_connect.runtime_secs) - eap_connect.stop() - eap_connect.cleanup() - run_results = eap_connect.get_result_list() - for result in run_results: - print("test result: " + result) - # result = 'pass' - print("Single Client Connectivity :", eap_connect.passes) - assert eap_connect.passes() +# import pytest +# import sys +# +# for folder in 'py-json', 'py-scripts': +# if folder not in sys.path: +# sys.path.append(f'../lanforge/lanforge-scripts/{folder}') +# +# sys.path.append(f"../lanforge/lanforge-scripts/py-scripts/tip-cicd-sanity") +# +# sys.path.append(f'../libs') +# sys.path.append(f'../libs/lanforge/') +# +# from LANforge.LFUtils import * +# +# if 'py-json' not in sys.path: +# sys.path.append('../py-scripts') +# +# import sta_connect2 +# from sta_connect2 import StaConnect2 +# import eap_connect +# from eap_connect import EAPConnect +# import time +# +# +# +# class TestBridgeModeClientConnectivity(object): +# +# @pytest.mark.bridge +# @pytest.mark.wpa +# @pytest.mark.twog +# def test_single_client_wpa_2g(self, get_lanforge_data, create_wpa_ssid_2g_profile_bridge): +# profile_data = create_wpa_ssid_2g_profile_bridge +# print(profile_data) +# staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), +# debug_=False) +# staConnect.sta_mode = 0 +# staConnect.upstream_resource = 1 +# staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] +# staConnect.radio = get_lanforge_data["lanforge_5g"] +# staConnect.resource = 1 +# staConnect.dut_ssid = profile_data["ssid_name"] +# staConnect.dut_passwd = profile_data["security_key"] +# # {'profile_name': 'Sanity-ecw5410-2G_WPA_BRIDGE', 'ssid_name': 'Sanity-ecw5410-2G_WPA_BRIDGE', 'vlan': 1, +# # 'mode': 'BRIDGE', 'security_key': '2G-WPA_BRIDGE'} +# staConnect.dut_security = profile_data["security_key"].split("-")[1].split("_")[0].lower() +# staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] +# staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] +# staConnect.runtime_secs = 10 +# staConnect.bringup_time_sec = 60 +# staConnect.cleanup_on_exit = True +# # staConnect.cleanup() +# staConnect.setup() +# staConnect.start() +# print("napping %f sec" % staConnect.runtime_secs) +# time.sleep(staConnect.runtime_secs) +# staConnect.stop() +# staConnect.cleanup() +# run_results = staConnect.get_result_list() +# for result in run_results: +# print("test result: " + result) +# # result = 'pass' +# print("Single Client Connectivity :", staConnect.passes) +# assert staConnect.passes() +# # C2420 +# assert True +# +# @pytest.mark.bridge +# @pytest.mark.wpa +# @pytest.mark.fiveg +# def test_single_client_wpa_5g(self, setup_cloudsdk, upgrade_firmware, setup_bridge_mode, +# disconnect_cloudsdk, get_lanforge_data): +# profile_data = setup_bridge_mode[3]['wpa']['5g'] +# staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), +# debug_=False) +# staConnect.sta_mode = 0 +# staConnect.upstream_resource = 1 +# staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] +# staConnect.radio = get_lanforge_data["lanforge_5g"] +# staConnect.resource = 1 +# staConnect.dut_ssid = profile_data["ssid_name"] +# staConnect.dut_passwd = profile_data["security_key"] +# staConnect.dut_security = profile_data["security_key"].split("-")[1].split("_")[0].lower() +# staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] +# staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] +# staConnect.runtime_secs = 10 +# staConnect.bringup_time_sec = 60 +# staConnect.cleanup_on_exit = True +# # staConnect.cleanup() +# staConnect.setup() +# staConnect.start() +# print("napping %f sec" % staConnect.runtime_secs) +# time.sleep(staConnect.runtime_secs) +# staConnect.stop() +# staConnect.cleanup() +# run_results = staConnect.get_result_list() +# for result in run_results: +# print("test result: " + result) +# # result = 'pass' +# print("Single Client Connectivity :", staConnect.passes) +# assert staConnect.passes() +# # C2419 +# +# @pytest.mark.bridge +# @pytest.mark.wpa2_personal +# @pytest.mark.twog +# def test_single_client_wpa2_personal_2g(self, setup_cloudsdk, upgrade_firmware, setup_bridge_mode, +# disconnect_cloudsdk, get_lanforge_data): +# profile_data = setup_bridge_mode[3]['wpa2_personal']['2g'] +# staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), +# debug_=False) +# staConnect.sta_mode = 0 +# staConnect.upstream_resource = 1 +# staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] +# staConnect.radio = get_lanforge_data["lanforge_5g"] +# staConnect.resource = 1 +# staConnect.dut_ssid = profile_data["ssid_name"] +# staConnect.dut_passwd = profile_data["security_key"] +# staConnect.dut_security = profile_data["security_key"].split("-")[1].split("_")[0].lower() +# staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] +# staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] +# staConnect.runtime_secs = 10 +# staConnect.bringup_time_sec = 60 +# staConnect.cleanup_on_exit = True +# # staConnect.cleanup() +# staConnect.setup() +# staConnect.start() +# print("napping %f sec" % staConnect.runtime_secs) +# time.sleep(staConnect.runtime_secs) +# staConnect.stop() +# staConnect.cleanup() +# run_results = staConnect.get_result_list() +# for result in run_results: +# print("test result: " + result) +# # result = 'pass' +# print("Single Client Connectivity :", staConnect.passes) +# assert staConnect.passes() +# # C2237 +# +# @pytest.mark.bridge +# @pytest.mark.wpa2_personal +# @pytest.mark.fiveg +# def test_single_client_wpa2_personal_5g(self, setup_cloudsdk, upgrade_firmware, setup_bridge_mode, +# disconnect_cloudsdk, get_lanforge_data): +# profile_data = setup_bridge_mode[3]['wpa2_personal']['5g'] +# staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), +# debug_=False) +# staConnect.sta_mode = 0 +# staConnect.upstream_resource = 1 +# staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] +# staConnect.radio = get_lanforge_data["lanforge_5g"] +# staConnect.resource = 1 +# staConnect.dut_ssid = profile_data["ssid_name"] +# staConnect.dut_passwd = profile_data["security_key"] +# staConnect.dut_security = profile_data["security_key"].split("-")[1].split("_")[0].lower() +# staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] +# staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] +# staConnect.runtime_secs = 10 +# staConnect.bringup_time_sec = 60 +# staConnect.cleanup_on_exit = True +# # staConnect.cleanup() +# staConnect.setup() +# staConnect.start() +# print("napping %f sec" % staConnect.runtime_secs) +# time.sleep(staConnect.runtime_secs) +# staConnect.stop() +# staConnect.cleanup() +# run_results = staConnect.get_result_list() +# for result in run_results: +# print("test result: " + result) +# # result = 'pass' +# print("Single Client Connectivity :", staConnect.passes) +# assert staConnect.passes() +# # C2236 +# +# @pytest.mark.bridge +# @pytest.mark.wpa2_enterprise +# @pytest.mark.twog +# def test_single_client_wpa2_enterprise_2g(self, setup_cloudsdk, upgrade_firmware, setup_bridge_mode, +# disconnect_cloudsdk, get_lanforge_data): +# profile_data = setup_bridge_mode[3]['wpa2_enterprise']['2g'] +# eap_connect = EAPConnect(get_lanforge_data["lanforge_ip"], get_lanforge_data["lanforge-port-number"]) +# eap_connect.upstream_resource = 1 +# eap_connect.upstream_port = get_lanforge_data["lanforge_bridge_port"] +# eap_connect.security = "wpa2" +# eap_connect.sta_list = [get_lanforge_data["lanforge_5g_station"]] +# eap_connect.station_names = [get_lanforge_data["lanforge_5g_station"]] +# eap_connect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] +# eap_connect.ssid = profile_data["ssid_name"] +# eap_connect.radio = get_lanforge_data["lanforge_5g"] +# eap_connect.eap = "TTLS" +# eap_connect.identity = "nolaradius" +# eap_connect.ttls_passwd = "nolastart" +# eap_connect.runtime_secs = 10 +# eap_connect.setup() +# eap_connect.start() +# print("napping %f sec" % eap_connect.runtime_secs) +# time.sleep(eap_connect.runtime_secs) +# eap_connect.stop() +# eap_connect.cleanup() +# run_results = eap_connect.get_result_list() +# for result in run_results: +# print("test result: " + result) +# # result = 'pass' +# print("Single Client Connectivity :", eap_connect.passes) +# assert eap_connect.passes() +# # C5214 +# +# @pytest.mark.bridge +# @pytest.mark.wpa2_enterprise +# @pytest.mark.fiveg +# def test_single_client_wpa2_enterprise_5g(self, get_lanforge_data, create_wpa_ssid_2g_profile_bridge): +# profile_data = setup_bridge_mode[3]['wpa2_enterprise']['5g'] +# eap_connect = EAPConnect(get_lanforge_data["lanforge_ip"], get_lanforge_data["lanforge-port-number"]) +# eap_connect.upstream_resource = 1 +# eap_connect.upstream_port = get_lanforge_data["lanforge_bridge_port"] +# eap_connect.security = "wpa2" +# eap_connect.sta_list = [get_lanforge_data["lanforge_5g_station"]] +# eap_connect.station_names = [get_lanforge_data["lanforge_5g_station"]] +# eap_connect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] +# eap_connect.ssid = profile_data["ssid_name"] +# eap_connect.radio = get_lanforge_data["lanforge_5g"] +# eap_connect.eap = "TTLS" +# eap_connect.identity = "nolaradius" +# eap_connect.ttls_passwd = "nolastart" +# eap_connect.runtime_secs = 10 +# eap_connect.setup() +# eap_connect.start() +# print("napping %f sec" % eap_connect.runtime_secs) +# time.sleep(eap_connect.runtime_secs) +# eap_connect.stop() +# eap_connect.cleanup() +# run_results = eap_connect.get_result_list() +# for result in run_results: +# print("test result: " + result) +# # result = 'pass' +# print("Single Client Connectivity :", eap_connect.passes) +# assert eap_connect.passes() +# # C5215 diff --git a/tests/client_connectivity/test_nat_mode.py b/tests/client_connectivity/test_nat_mode.py index 1ebd0e195..469b9bf66 100644 --- a/tests/client_connectivity/test_nat_mode.py +++ b/tests/client_connectivity/test_nat_mode.py @@ -1,230 +1,236 @@ -import pytest -import sys - -for folder in 'py-json', 'py-scripts': - if folder not in sys.path: - sys.path.append(f'../lanforge/lanforge-scripts/{folder}') - -sys.path.append(f"../lanforge/lanforge-scripts/py-scripts/tip-cicd-sanity") - -sys.path.append(f'../libs') -sys.path.append(f'../libs/lanforge/') - -from LANforge.LFUtils import * - -if 'py-json' not in sys.path: - sys.path.append('../py-scripts') - -import sta_connect2 -from sta_connect2 import StaConnect2 -import eap_connect -from eap_connect import EAPConnect -import time - -class TestNATModeClientConnectivity(object): - - @pytest.mark.sanity - @pytest.mark.nat - @pytest.mark.wpa2_personal - @pytest.mark.wpa2_personal_5g - def test_single_client_wpa2_personal_5g(self, setup_cloudsdk, upgrade_firmware, setup_nat_mode, - disconnect_cloudsdk, get_lanforge_data): - profile_data = setup_nat_mode[3]['wpa2_personal']['5g'] - staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), debug_=False) - staConnect.sta_mode = 0 - staConnect.upstream_resource = 1 - staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] - staConnect.radio = get_lanforge_data["lanforge_5g"] - staConnect.resource = 1 - staConnect.dut_ssid = profile_data["ssid_name"] - staConnect.dut_passwd = profile_data["security_key"] - staConnect.dut_security = profile_data["security_key"].split("-")[1].split("_")[0].lower() - staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] - staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] - staConnect.runtime_secs = 10 - staConnect.bringup_time_sec = 60 - staConnect.cleanup_on_exit = True - # staConnect.cleanup() - staConnect.setup() - staConnect.start() - print("napping %f sec" % staConnect.runtime_secs) - time.sleep(staConnect.runtime_secs) - staConnect.stop() - staConnect.cleanup() - run_results = staConnect.get_result_list() - for result in run_results: - print("test result: " + result) - # result = 'pass' - print("Single Client Connectivity :", staConnect.passes) - assert staConnect.passes() - - @pytest.mark.sanity - @pytest.mark.nat - @pytest.mark.wpa2_personal - @pytest.mark.wpa2_personal_2g - def test_single_client_wpa2_personal_2g(self, setup_cloudsdk, upgrade_firmware, setup_nat_mode, - disconnect_cloudsdk, get_lanforge_data): - profile_data = setup_nat_mode[3]['wpa2_personal']['2g'] - staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), debug_=False) - staConnect.sta_mode = 0 - staConnect.upstream_resource = 1 - staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] - staConnect.radio = get_lanforge_data["lanforge_5g"] - staConnect.resource = 1 - staConnect.dut_ssid = profile_data["ssid_name"] - staConnect.dut_passwd = profile_data["security_key"] - staConnect.dut_security = profile_data["security_key"].split("-")[1].split("_")[0].lower() - staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] - staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] - staConnect.runtime_secs = 10 - staConnect.bringup_time_sec = 60 - staConnect.cleanup_on_exit = True - # staConnect.cleanup() - staConnect.setup() - staConnect.start() - print("napping %f sec" % staConnect.runtime_secs) - time.sleep(staConnect.runtime_secs) - staConnect.stop() - staConnect.cleanup() - run_results = staConnect.get_result_list() - for result in run_results: - print("test result: " + result) - # result = 'pass' - print("Single Client Connectivity :", staConnect.passes) - assert staConnect.passes() - - @pytest.mark.sanity - @pytest.mark.nat - @pytest.mark.wpa - @pytest.mark.wpa_5g - def test_single_client_wpa_5g(self, setup_cloudsdk, upgrade_firmware, setup_nat_mode, - disconnect_cloudsdk, get_lanforge_data): - profile_data = setup_nat_mode[3]['wpa']['5g'] - staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), debug_=False) - staConnect.sta_mode = 0 - staConnect.upstream_resource = 1 - staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] - staConnect.radio = get_lanforge_data["lanforge_5g"] - staConnect.resource = 1 - staConnect.dut_ssid = profile_data["ssid_name"] - staConnect.dut_passwd = profile_data["security_key"] - staConnect.dut_security = profile_data["security_key"].split("-")[1].split("_")[0].lower() - staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] - staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] - staConnect.runtime_secs = 10 - staConnect.bringup_time_sec = 60 - staConnect.cleanup_on_exit = True - # staConnect.cleanup() - staConnect.setup() - staConnect.start() - print("napping %f sec" % staConnect.runtime_secs) - time.sleep(staConnect.runtime_secs) - staConnect.stop() - staConnect.cleanup() - run_results = staConnect.get_result_list() - for result in run_results: - print("test result: " + result) - # result = 'pass' - print("Single Client Connectivity :", staConnect.passes) - assert staConnect.passes() - - @pytest.mark.sanity - @pytest.mark.nat - @pytest.mark.wpa - @pytest.mark.wpa_2g - def test_single_client_wpa_2g(self, setup_cloudsdk, upgrade_firmware, setup_nat_mode, - disconnect_cloudsdk, get_lanforge_data): - profile_data = setup_nat_mode[3]['wpa']['2g'] - staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), debug_=False) - staConnect.sta_mode = 0 - staConnect.upstream_resource = 1 - staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] - staConnect.radio = get_lanforge_data["lanforge_5g"] - staConnect.resource = 1 - staConnect.dut_ssid = profile_data["ssid_name"] - staConnect.dut_passwd = profile_data["security_key"] - staConnect.dut_security = profile_data["security_key"].split("-")[1].split("_")[0].lower() - staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] - staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] - staConnect.runtime_secs = 10 - staConnect.bringup_time_sec = 60 - staConnect.cleanup_on_exit = True - # staConnect.cleanup() - staConnect.setup() - staConnect.start() - print("napping %f sec" % staConnect.runtime_secs) - time.sleep(staConnect.runtime_secs) - staConnect.stop() - staConnect.cleanup() - run_results = staConnect.get_result_list() - for result in run_results: - print("test result: " + result) - # result = 'pass' - print("Single Client Connectivity :", staConnect.passes) - assert staConnect.passes() - - @pytest.mark.sanity - @pytest.mark.nat - @pytest.mark.wpa2_enterprise - @pytest.mark.wpa2_enterprise_5g - def test_single_client_wpa2_enterprise_5g(self, setup_cloudsdk, upgrade_firmware, setup_nat_mode, - disconnect_cloudsdk, get_lanforge_data): - profile_data = setup_nat_mode[3]['wpa2_enterprise']['5g'] - eap_connect = EAPConnect(get_lanforge_data["lanforge_ip"], get_lanforge_data["lanforge-port-number"]) - eap_connect.upstream_resource = 1 - eap_connect.upstream_port = get_lanforge_data["lanforge_bridge_port"] - eap_connect.security = "wpa2" - eap_connect.sta_list = [get_lanforge_data["lanforge_5g_station"]] - eap_connect.station_names = [get_lanforge_data["lanforge_5g_station"]] - eap_connect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] - eap_connect.ssid = profile_data["ssid_name"] - eap_connect.radio = get_lanforge_data["lanforge_5g"] - eap_connect.eap = "TTLS" - eap_connect.identity = "nolaradius" - eap_connect.ttls_passwd = "nolastart" - eap_connect.runtime_secs = 10 - eap_connect.setup() - eap_connect.start() - print("napping %f sec" % eap_connect.runtime_secs) - time.sleep(eap_connect.runtime_secs) - eap_connect.stop() - eap_connect.cleanup() - run_results = eap_connect.get_result_list() - for result in run_results: - print("test result: " + result) - # result = 'pass' - print("Single Client Connectivity :", eap_connect.passes) - assert eap_connect.passes() - - @pytest.mark.sanity - @pytest.mark.nat - @pytest.mark.wpa2_enterprise - @pytest.mark.wpa2_enterprise_2g - def test_single_client_wpa2_enterprise_2g(self, setup_cloudsdk, upgrade_firmware, setup_nat_mode, - disconnect_cloudsdk, get_lanforge_data): - profile_data = setup_nat_mode[3]['wpa2_enterprise']['2g'] - eap_connect = EAPConnect(get_lanforge_data["lanforge_ip"], get_lanforge_data["lanforge-port-number"]) - eap_connect.upstream_resource = 1 - eap_connect.upstream_port = get_lanforge_data["lanforge_bridge_port"] - eap_connect.security = "wpa2" - eap_connect.sta_list = [get_lanforge_data["lanforge_5g_station"]] - eap_connect.station_names = [get_lanforge_data["lanforge_5g_station"]] - eap_connect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] - eap_connect.ssid = profile_data["ssid_name"] - eap_connect.radio = get_lanforge_data["lanforge_5g"] - eap_connect.eap = "TTLS" - eap_connect.identity = "nolaradius" - eap_connect.ttls_passwd = "nolastart" - eap_connect.runtime_secs = 10 - eap_connect.setup() - eap_connect.start() - print("napping %f sec" % eap_connect.runtime_secs) - time.sleep(eap_connect.runtime_secs) - eap_connect.stop() - eap_connect.cleanup() - run_results = eap_connect.get_result_list() - for result in run_results: - print("test result: " + result) - # result = 'pass' - print("Single Client Connectivity :", eap_connect.passes) - assert eap_connect.passes() +# import pytest +# import sys +# +# for folder in 'py-json', 'py-scripts': +# if folder not in sys.path: +# sys.path.append(f'../lanforge/lanforge-scripts/{folder}') +# +# sys.path.append(f"../lanforge/lanforge-scripts/py-scripts/tip-cicd-something") +# +# sys.path.append(f'../libs') +# sys.path.append(f'../libs/lanforge/') +# +# from LANforge.LFUtils import * +# +# if 'py-json' not in sys.path: +# sys.path.append('../py-scripts') +# +# import sta_connect2 +# from sta_connect2 import StaConnect2 +# import eap_connect +# from eap_connect import EAPConnect +# import time +# +# class TestNATModeClientConnectivity(object): +# +# @pytest.mark.something +# @pytest.mark.nat +# @pytest.mark.wpa2_personal +# @pytest.mark.wpa2_personal_5g +# def test_single_client_wpa2_personal_5g(self, setup_cloudsdk, upgrade_firmware, setup_nat_mode, +# disconnect_cloudsdk, get_lanforge_data): +# profile_data = setup_nat_mode[3]['wpa2_personal']['5g'] +# staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), debug_=False) +# staConnect.sta_mode = 0 +# staConnect.upstream_resource = 1 +# staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] +# staConnect.radio = get_lanforge_data["lanforge_5g"] +# staConnect.resource = 1 +# staConnect.dut_ssid = profile_data["ssid_name"] +# staConnect.dut_passwd = profile_data["security_key"] +# staConnect.dut_security = profile_data["security_key"].split("-")[1].split("_")[0].lower() +# staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] +# staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] +# staConnect.runtime_secs = 10 +# staConnect.bringup_time_sec = 60 +# staConnect.cleanup_on_exit = True +# # staConnect.cleanup() +# staConnect.setup() +# staConnect.start() +# print("napping %f sec" % staConnect.runtime_secs) +# time.sleep(staConnect.runtime_secs) +# staConnect.stop() +# staConnect.cleanup() +# run_results = staConnect.get_result_list() +# for result in run_results: +# print("test result: " + result) +# # result = 'pass' +# print("Single Client Connectivity :", staConnect.passes) +# assert staConnect.passes() +# # C4326 +# +# @pytest.mark.something +# @pytest.mark.nat +# @pytest.mark.wpa2_personal +# @pytest.mark.wpa2_personal_2g +# def test_single_client_wpa2_personal_2g(self, setup_cloudsdk, upgrade_firmware, setup_nat_mode, +# disconnect_cloudsdk, get_lanforge_data): +# profile_data = setup_nat_mode[3]['wpa2_personal']['2g'] +# staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), debug_=False) +# staConnect.sta_mode = 0 +# staConnect.upstream_resource = 1 +# staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] +# staConnect.radio = get_lanforge_data["lanforge_5g"] +# staConnect.resource = 1 +# staConnect.dut_ssid = profile_data["ssid_name"] +# staConnect.dut_passwd = profile_data["security_key"] +# staConnect.dut_security = profile_data["security_key"].split("-")[1].split("_")[0].lower() +# staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] +# staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] +# staConnect.runtime_secs = 10 +# staConnect.bringup_time_sec = 60 +# staConnect.cleanup_on_exit = True +# # staConnect.cleanup() +# staConnect.setup() +# staConnect.start() +# print("napping %f sec" % staConnect.runtime_secs) +# time.sleep(staConnect.runtime_secs) +# staConnect.stop() +# staConnect.cleanup() +# run_results = staConnect.get_result_list() +# for result in run_results: +# print("test result: " + result) +# # result = 'pass' +# print("Single Client Connectivity :", staConnect.passes) +# assert staConnect.passes() +# # C4325 +# +# @pytest.mark.something +# @pytest.mark.nat +# @pytest.mark.wpa +# @pytest.mark.wpa_5g +# def test_single_client_wpa_5g(self, setup_cloudsdk, upgrade_firmware, setup_nat_mode, +# disconnect_cloudsdk, get_lanforge_data): +# profile_data = setup_nat_mode[3]['wpa']['5g'] +# staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), debug_=False) +# staConnect.sta_mode = 0 +# staConnect.upstream_resource = 1 +# staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] +# staConnect.radio = get_lanforge_data["lanforge_5g"] +# staConnect.resource = 1 +# staConnect.dut_ssid = profile_data["ssid_name"] +# staConnect.dut_passwd = profile_data["security_key"] +# staConnect.dut_security = profile_data["security_key"].split("-")[1].split("_")[0].lower() +# staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] +# staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] +# staConnect.runtime_secs = 10 +# staConnect.bringup_time_sec = 60 +# staConnect.cleanup_on_exit = True +# # staConnect.cleanup() +# staConnect.setup() +# staConnect.start() +# print("napping %f sec" % staConnect.runtime_secs) +# time.sleep(staConnect.runtime_secs) +# staConnect.stop() +# staConnect.cleanup() +# run_results = staConnect.get_result_list() +# for result in run_results: +# print("test result: " + result) +# # result = 'pass' +# print("Single Client Connectivity :", staConnect.passes) +# assert staConnect.passes() +# # C4324 +# +# @pytest.mark.something +# @pytest.mark.nat +# @pytest.mark.wpa +# @pytest.mark.wpa_2g +# def test_single_client_wpa_2g(self, setup_cloudsdk, upgrade_firmware, setup_nat_mode, +# disconnect_cloudsdk, get_lanforge_data): +# profile_data = setup_nat_mode[3]['wpa']['2g'] +# staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), debug_=False) +# staConnect.sta_mode = 0 +# staConnect.upstream_resource = 1 +# staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] +# staConnect.radio = get_lanforge_data["lanforge_5g"] +# staConnect.resource = 1 +# staConnect.dut_ssid = profile_data["ssid_name"] +# staConnect.dut_passwd = profile_data["security_key"] +# staConnect.dut_security = profile_data["security_key"].split("-")[1].split("_")[0].lower() +# staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] +# staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] +# staConnect.runtime_secs = 10 +# staConnect.bringup_time_sec = 60 +# staConnect.cleanup_on_exit = True +# # staConnect.cleanup() +# staConnect.setup() +# staConnect.start() +# print("napping %f sec" % staConnect.runtime_secs) +# time.sleep(staConnect.runtime_secs) +# staConnect.stop() +# staConnect.cleanup() +# run_results = staConnect.get_result_list() +# for result in run_results: +# print("test result: " + result) +# # result = 'pass' +# print("Single Client Connectivity :", staConnect.passes) +# assert staConnect.passes() +# # C4323 +# +# @pytest.mark.something +# @pytest.mark.nat +# @pytest.mark.wpa2_enterprise +# @pytest.mark.wpa2_enterprise_5g +# def test_single_client_wpa2_enterprise_5g(self, setup_cloudsdk, upgrade_firmware, setup_nat_mode, +# disconnect_cloudsdk, get_lanforge_data): +# profile_data = setup_nat_mode[3]['wpa2_enterprise']['5g'] +# eap_connect = EAPConnect(get_lanforge_data["lanforge_ip"], get_lanforge_data["lanforge-port-number"]) +# eap_connect.upstream_resource = 1 +# eap_connect.upstream_port = get_lanforge_data["lanforge_bridge_port"] +# eap_connect.security = "wpa2" +# eap_connect.sta_list = [get_lanforge_data["lanforge_5g_station"]] +# eap_connect.station_names = [get_lanforge_data["lanforge_5g_station"]] +# eap_connect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] +# eap_connect.ssid = profile_data["ssid_name"] +# eap_connect.radio = get_lanforge_data["lanforge_5g"] +# eap_connect.eap = "TTLS" +# eap_connect.identity = "nolaradius" +# eap_connect.ttls_passwd = "nolastart" +# eap_connect.runtime_secs = 10 +# eap_connect.setup() +# eap_connect.start() +# print("napping %f sec" % eap_connect.runtime_secs) +# time.sleep(eap_connect.runtime_secs) +# eap_connect.stop() +# eap_connect.cleanup() +# run_results = eap_connect.get_result_list() +# for result in run_results: +# print("test result: " + result) +# # result = 'pass' +# print("Single Client Connectivity :", eap_connect.passes) +# assert eap_connect.passes() +# # C5217 +# +# @pytest.mark.something +# @pytest.mark.nat +# @pytest.mark.wpa2_enterprise +# @pytest.mark.wpa2_enterprise_2g +# def test_single_client_wpa2_enterprise_2g(self, setup_cloudsdk, upgrade_firmware, setup_nat_mode, +# disconnect_cloudsdk, get_lanforge_data): +# profile_data = setup_nat_mode[3]['wpa2_enterprise']['2g'] +# eap_connect = EAPConnect(get_lanforge_data["lanforge_ip"], get_lanforge_data["lanforge-port-number"]) +# eap_connect.upstream_resource = 1 +# eap_connect.upstream_port = get_lanforge_data["lanforge_bridge_port"] +# eap_connect.security = "wpa2" +# eap_connect.sta_list = [get_lanforge_data["lanforge_5g_station"]] +# eap_connect.station_names = [get_lanforge_data["lanforge_5g_station"]] +# eap_connect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] +# eap_connect.ssid = profile_data["ssid_name"] +# eap_connect.radio = get_lanforge_data["lanforge_5g"] +# eap_connect.eap = "TTLS" +# eap_connect.identity = "nolaradius" +# eap_connect.ttls_passwd = "nolastart" +# eap_connect.runtime_secs = 10 +# eap_connect.setup() +# eap_connect.start() +# print("napping %f sec" % eap_connect.runtime_secs) +# time.sleep(eap_connect.runtime_secs) +# eap_connect.stop() +# eap_connect.cleanup() +# run_results = eap_connect.get_result_list() +# for result in run_results: +# print("test result: " + result) +# # result = 'pass' +# print("Single Client Connectivity :", eap_connect.passes) +# assert eap_connect.passes() +# # C5216 diff --git a/tests/client_connectivity/test_vlan_mode.py b/tests/client_connectivity/test_vlan_mode.py index b9b6da220..ff12ba545 100644 --- a/tests/client_connectivity/test_vlan_mode.py +++ b/tests/client_connectivity/test_vlan_mode.py @@ -1,237 +1,243 @@ -import pytest -import sys - -for folder in 'py-json', 'py-scripts': - if folder not in sys.path: - sys.path.append(f'../lanforge/lanforge-scripts/{folder}') - -sys.path.append(f"../lanforge/lanforge-scripts/py-scripts/tip-cicd-sanity") - -sys.path.append(f'../libs') -sys.path.append(f'../libs/lanforge/') - -from LANforge.LFUtils import * - -if 'py-json' not in sys.path: - sys.path.append('../py-scripts') - -import sta_connect2 -from sta_connect2 import StaConnect2 -import eap_connect -from eap_connect import EAPConnect -import time - - -@pytest.mark.usefixtures('setup_cloudsdk') -@pytest.mark.usefixtures('upgrade_firmware') -class TestVLANModeClientConnectivity(object): - - @pytest.mark.sanity - @pytest.mark.vlan - @pytest.mark.wpa2_personal - @pytest.mark.wpa2_personal_5g - def test_single_client_wpa2_personal_5g(self, setup_cloudsdk, upgrade_firmware, setup_vlan_mode, - disconnect_cloudsdk, get_lanforge_data): - profile_data = setup_vlan_mode[3]['wpa2_personal']['5g'] - staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), - debug_=False) - staConnect.sta_mode = 0 - staConnect.upstream_resource = 1 - staConnect.upstream_port = get_lanforge_data["lanforge_vlan_port"] - staConnect.radio = get_lanforge_data["lanforge_5g"] - staConnect.resource = 1 - staConnect.dut_ssid = profile_data["ssid_name"] - staConnect.dut_passwd = profile_data["security_key"] - staConnect.dut_security = profile_data["security_key"].split("-")[1].split("_")[0].lower() - staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] - staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] - staConnect.runtime_secs = 10 - staConnect.bringup_time_sec = 60 - staConnect.cleanup_on_exit = True - # staConnect.cleanup() - staConnect.setup() - staConnect.start() - print("napping %f sec" % staConnect.runtime_secs) - time.sleep(staConnect.runtime_secs) - staConnect.stop() - staConnect.cleanup() - run_results = staConnect.get_result_list() - for result in run_results: - print("test result: " + result) - # result = 'pass' - print("Single Client Connectivity :", staConnect.passes) - assert staConnect.passes() - - @pytest.mark.sanity - @pytest.mark.vlan - @pytest.mark.wpa2_personal - @pytest.mark.wpa2_personal_2g - def test_single_client_wpa2_personal_2g(self, setup_cloudsdk, upgrade_firmware, setup_vlan_mode, - disconnect_cloudsdk, get_lanforge_data): - profile_data = setup_vlan_mode[3]['wpa2_personal']['2g'] - staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), - debug_=False) - staConnect.sta_mode = 0 - staConnect.upstream_resource = 1 - staConnect.upstream_port = get_lanforge_data["lanforge_vlan_port"] - staConnect.radio = get_lanforge_data["lanforge_5g"] - staConnect.resource = 1 - staConnect.dut_ssid = profile_data["ssid_name"] - staConnect.dut_passwd = profile_data["security_key"] - staConnect.dut_security = profile_data["security_key"].split("-")[1].split("_")[0].lower() - staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] - staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] - staConnect.runtime_secs = 10 - staConnect.bringup_time_sec = 60 - staConnect.cleanup_on_exit = True - # staConnect.cleanup() - staConnect.setup() - staConnect.start() - print("napping %f sec" % staConnect.runtime_secs) - time.sleep(staConnect.runtime_secs) - staConnect.stop() - staConnect.cleanup() - run_results = staConnect.get_result_list() - for result in run_results: - print("test result: " + result) - # result = 'pass' - print("Single Client Connectivity :", staConnect.passes) - assert staConnect.passes() - - @pytest.mark.sanity - @pytest.mark.vlan - @pytest.mark.wpa - @pytest.mark.wpa_5g - def test_single_client_wpa_5g(self, setup_cloudsdk, upgrade_firmware, setup_vlan_mode, - disconnect_cloudsdk, get_lanforge_data): - profile_data = setup_vlan_mode[3]['wpa']['5g'] - staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), - debug_=False) - staConnect.sta_mode = 0 - staConnect.upstream_resource = 1 - staConnect.upstream_port = get_lanforge_data["lanforge_vlan_port"] - staConnect.radio = get_lanforge_data["lanforge_5g"] - staConnect.resource = 1 - staConnect.dut_ssid = profile_data["ssid_name"] - staConnect.dut_passwd = profile_data["security_key"] - staConnect.dut_security = profile_data["security_key"].split("-")[1].split("_")[0].lower() - staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] - staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] - staConnect.runtime_secs = 10 - staConnect.bringup_time_sec = 60 - staConnect.cleanup_on_exit = True - # staConnect.cleanup() - staConnect.setup() - staConnect.start() - print("napping %f sec" % staConnect.runtime_secs) - time.sleep(staConnect.runtime_secs) - staConnect.stop() - staConnect.cleanup() - run_results = staConnect.get_result_list() - for result in run_results: - print("test result: " + result) - # result = 'pass' - print("Single Client Connectivity :", staConnect.passes) - assert staConnect.passes() - - @pytest.mark.sanity - @pytest.mark.vlan - @pytest.mark.wpa - @pytest.mark.wpa_2g - def test_single_client_wpa_2g(self, setup_cloudsdk, upgrade_firmware, setup_vlan_mode, - disconnect_cloudsdk, get_lanforge_data): - profile_data = setup_vlan_mode[3]['wpa']['2g'] - staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), - debug_=False) - staConnect.sta_mode = 0 - staConnect.upstream_resource = 1 - staConnect.upstream_port = get_lanforge_data["lanforge_vlan_port"] - staConnect.radio = get_lanforge_data["lanforge_5g"] - staConnect.resource = 1 - staConnect.dut_ssid = profile_data["ssid_name"] - staConnect.dut_passwd = profile_data["security_key"] - staConnect.dut_security = profile_data["security_key"].split("-")[1].split("_")[0].lower() - staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] - staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] - staConnect.runtime_secs = 10 - staConnect.bringup_time_sec = 60 - staConnect.cleanup_on_exit = True - # staConnect.cleanup() - staConnect.setup() - staConnect.start() - print("napping %f sec" % staConnect.runtime_secs) - time.sleep(staConnect.runtime_secs) - staConnect.stop() - staConnect.cleanup() - run_results = staConnect.get_result_list() - for result in run_results: - print("test result: " + result) - # result = 'pass' - print("Single Client Connectivity :", staConnect.passes) - assert staConnect.passes() - - @pytest.mark.sanity - @pytest.mark.vlan - @pytest.mark.wpa2_enterprise - @pytest.mark.wpa2_enterprise_5g - def test_single_client_wpa2_enterprise_5g(self, setup_cloudsdk, upgrade_firmware, setup_vlan_mode, - disconnect_cloudsdk, get_lanforge_data): - profile_data = setup_vlan_mode[3]['wpa2_enterprise']['5g'] - eap_connect = EAPConnect(get_lanforge_data["lanforge_ip"], get_lanforge_data["lanforge-port-number"]) - eap_connect.upstream_resource = 1 - eap_connect.upstream_port = get_lanforge_data["lanforge_vlan_port"] - eap_connect.security = "wpa2" - eap_connect.sta_list = [get_lanforge_data["lanforge_5g_station"]] - eap_connect.station_names = [get_lanforge_data["lanforge_5g_station"]] - eap_connect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] - eap_connect.ssid = profile_data["ssid_name"] - eap_connect.radio = get_lanforge_data["lanforge_5g"] - eap_connect.eap = "TTLS" - eap_connect.identity = "nolaradius" - eap_connect.ttls_passwd = "nolastart" - eap_connect.runtime_secs = 10 - eap_connect.setup() - eap_connect.start() - print("napping %f sec" % eap_connect.runtime_secs) - time.sleep(eap_connect.runtime_secs) - eap_connect.stop() - eap_connect.cleanup() - run_results = eap_connect.get_result_list() - for result in run_results: - print("test result: " + result) - # result = 'pass' - print("Single Client Connectivity :", eap_connect.passes) - assert eap_connect.passes() - - @pytest.mark.sanity - @pytest.mark.vlan - @pytest.mark.wpa2_enterprise - @pytest.mark.wpa2_enterprise_2g - def test_single_client_wpa2_enterprise_2g(self, setup_cloudsdk, upgrade_firmware, setup_vlan_mode, - disconnect_cloudsdk, get_lanforge_data): - profile_data = setup_vlan_mode[3]['wpa2_enterprise']['2g'] - eap_connect = EAPConnect(get_lanforge_data["lanforge_ip"], get_lanforge_data["lanforge-port-number"]) - eap_connect.upstream_resource = 1 - eap_connect.upstream_port = get_lanforge_data["lanforge_vlan_port"] - eap_connect.security = "wpa2" - eap_connect.sta_list = [get_lanforge_data["lanforge_5g_station"]] - eap_connect.station_names = [get_lanforge_data["lanforge_5g_station"]] - eap_connect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] - eap_connect.ssid = profile_data["ssid_name"] - eap_connect.radio = get_lanforge_data["lanforge_5g"] - eap_connect.eap = "TTLS" - eap_connect.identity = "nolaradius" - eap_connect.ttls_passwd = "nolastart" - eap_connect.runtime_secs = 10 - eap_connect.setup() - eap_connect.start() - print("napping %f sec" % eap_connect.runtime_secs) - time.sleep(eap_connect.runtime_secs) - eap_connect.stop() - eap_connect.cleanup() - run_results = eap_connect.get_result_list() - for result in run_results: - print("test result: " + result) - # result = 'pass' - print("Single Client Connectivity :", eap_connect.passes) - assert eap_connect.passes() +# import pytest +# import sys +# +# for folder in 'py-json', 'py-scripts': +# if folder not in sys.path: +# sys.path.append(f'../lanforge/lanforge-scripts/{folder}') +# +# sys.path.append(f"../lanforge/lanforge-scripts/py-scripts/tip-cicd-something") +# +# sys.path.append(f'../libs') +# sys.path.append(f'../libs/lanforge/') +# +# from LANforge.LFUtils import * +# +# if 'py-json' not in sys.path: +# sys.path.append('../py-scripts') +# +# import sta_connect2 +# from sta_connect2 import StaConnect2 +# import eap_connect +# from eap_connect import EAPConnect +# import time +# +# +# @pytest.mark.usefixtures('setup_cloudsdk') +# @pytest.mark.usefixtures('upgrade_firmware') +# class TestVLANModeClientConnectivity(object): +# +# @pytest.mark.something +# @pytest.mark.vlan +# @pytest.mark.wpa2_personal +# @pytest.mark.wpa2_personal_5g +# def test_single_client_wpa2_personal_5g(self, setup_cloudsdk, upgrade_firmware, setup_vlan_mode, +# disconnect_cloudsdk, get_lanforge_data): +# profile_data = setup_vlan_mode[3]['wpa2_personal']['5g'] +# staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), +# debug_=False) +# staConnect.sta_mode = 0 +# staConnect.upstream_resource = 1 +# staConnect.upstream_port = get_lanforge_data["lanforge_vlan_port"] +# staConnect.radio = get_lanforge_data["lanforge_5g"] +# staConnect.resource = 1 +# staConnect.dut_ssid = profile_data["ssid_name"] +# staConnect.dut_passwd = profile_data["security_key"] +# staConnect.dut_security = profile_data["security_key"].split("-")[1].split("_")[0].lower() +# staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] +# staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] +# staConnect.runtime_secs = 10 +# staConnect.bringup_time_sec = 60 +# staConnect.cleanup_on_exit = True +# # staConnect.cleanup() +# staConnect.setup() +# staConnect.start() +# print("napping %f sec" % staConnect.runtime_secs) +# time.sleep(staConnect.runtime_secs) +# staConnect.stop() +# staConnect.cleanup() +# run_results = staConnect.get_result_list() +# for result in run_results: +# print("test result: " + result) +# # result = 'pass' +# print("Single Client Connectivity :", staConnect.passes) +# assert staConnect.passes() +# # C5248 +# +# @pytest.mark.something +# @pytest.mark.vlan +# @pytest.mark.wpa2_personal +# @pytest.mark.wpa2_personal_2g +# def test_single_client_wpa2_personal_2g(self, setup_cloudsdk, upgrade_firmware, setup_vlan_mode, +# disconnect_cloudsdk, get_lanforge_data): +# profile_data = setup_vlan_mode[3]['wpa2_personal']['2g'] +# staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), +# debug_=False) +# staConnect.sta_mode = 0 +# staConnect.upstream_resource = 1 +# staConnect.upstream_port = get_lanforge_data["lanforge_vlan_port"] +# staConnect.radio = get_lanforge_data["lanforge_5g"] +# staConnect.resource = 1 +# staConnect.dut_ssid = profile_data["ssid_name"] +# staConnect.dut_passwd = profile_data["security_key"] +# staConnect.dut_security = profile_data["security_key"].split("-")[1].split("_")[0].lower() +# staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] +# staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] +# staConnect.runtime_secs = 10 +# staConnect.bringup_time_sec = 60 +# staConnect.cleanup_on_exit = True +# # staConnect.cleanup() +# staConnect.setup() +# staConnect.start() +# print("napping %f sec" % staConnect.runtime_secs) +# time.sleep(staConnect.runtime_secs) +# staConnect.stop() +# staConnect.cleanup() +# run_results = staConnect.get_result_list() +# for result in run_results: +# print("test result: " + result) +# # result = 'pass' +# print("Single Client Connectivity :", staConnect.passes) +# assert staConnect.passes() +# # C5251 +# +# @pytest.mark.something +# @pytest.mark.vlan +# @pytest.mark.wpa +# @pytest.mark.wpa_5g +# def test_single_client_wpa_5g(self, setup_cloudsdk, upgrade_firmware, setup_vlan_mode, +# disconnect_cloudsdk, get_lanforge_data): +# profile_data = setup_vlan_mode[3]['wpa']['5g'] +# staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), +# debug_=False) +# staConnect.sta_mode = 0 +# staConnect.upstream_resource = 1 +# staConnect.upstream_port = get_lanforge_data["lanforge_vlan_port"] +# staConnect.radio = get_lanforge_data["lanforge_5g"] +# staConnect.resource = 1 +# staConnect.dut_ssid = profile_data["ssid_name"] +# staConnect.dut_passwd = profile_data["security_key"] +# staConnect.dut_security = profile_data["security_key"].split("-")[1].split("_")[0].lower() +# staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] +# staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] +# staConnect.runtime_secs = 10 +# staConnect.bringup_time_sec = 60 +# staConnect.cleanup_on_exit = True +# # staConnect.cleanup() +# staConnect.setup() +# staConnect.start() +# print("napping %f sec" % staConnect.runtime_secs) +# time.sleep(staConnect.runtime_secs) +# staConnect.stop() +# staConnect.cleanup() +# run_results = staConnect.get_result_list() +# for result in run_results: +# print("test result: " + result) +# # result = 'pass' +# print("Single Client Connectivity :", staConnect.passes) +# assert staConnect.passes() +# # C5249 +# +# @pytest.mark.something +# @pytest.mark.vlan +# @pytest.mark.wpa +# @pytest.mark.wpa_2g +# def test_single_client_wpa_2g(self, setup_cloudsdk, upgrade_firmware, setup_vlan_mode, +# disconnect_cloudsdk, get_lanforge_data): +# profile_data = setup_vlan_mode[3]['wpa']['2g'] +# staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), +# debug_=False) +# staConnect.sta_mode = 0 +# staConnect.upstream_resource = 1 +# staConnect.upstream_port = get_lanforge_data["lanforge_vlan_port"] +# staConnect.radio = get_lanforge_data["lanforge_5g"] +# staConnect.resource = 1 +# staConnect.dut_ssid = profile_data["ssid_name"] +# staConnect.dut_passwd = profile_data["security_key"] +# staConnect.dut_security = profile_data["security_key"].split("-")[1].split("_")[0].lower() +# staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] +# staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] +# staConnect.runtime_secs = 10 +# staConnect.bringup_time_sec = 60 +# staConnect.cleanup_on_exit = True +# # staConnect.cleanup() +# staConnect.setup() +# staConnect.start() +# print("napping %f sec" % staConnect.runtime_secs) +# time.sleep(staConnect.runtime_secs) +# staConnect.stop() +# staConnect.cleanup() +# run_results = staConnect.get_result_list() +# for result in run_results: +# print("test result: " + result) +# # result = 'pass' +# print("Single Client Connectivity :", staConnect.passes) +# assert staConnect.passes() +# # C5252 +# +# @pytest.mark.something +# @pytest.mark.vlan +# @pytest.mark.wpa2_enterprise +# @pytest.mark.wpa2_enterprise_5g +# def test_single_client_wpa2_enterprise_5g(self, setup_cloudsdk, upgrade_firmware, setup_vlan_mode, +# disconnect_cloudsdk, get_lanforge_data): +# profile_data = setup_vlan_mode[3]['wpa2_enterprise']['5g'] +# eap_connect = EAPConnect(get_lanforge_data["lanforge_ip"], get_lanforge_data["lanforge-port-number"]) +# eap_connect.upstream_resource = 1 +# eap_connect.upstream_port = get_lanforge_data["lanforge_vlan_port"] +# eap_connect.security = "wpa2" +# eap_connect.sta_list = [get_lanforge_data["lanforge_5g_station"]] +# eap_connect.station_names = [get_lanforge_data["lanforge_5g_station"]] +# eap_connect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] +# eap_connect.ssid = profile_data["ssid_name"] +# eap_connect.radio = get_lanforge_data["lanforge_5g"] +# eap_connect.eap = "TTLS" +# eap_connect.identity = "nolaradius" +# eap_connect.ttls_passwd = "nolastart" +# eap_connect.runtime_secs = 10 +# eap_connect.setup() +# eap_connect.start() +# print("napping %f sec" % eap_connect.runtime_secs) +# time.sleep(eap_connect.runtime_secs) +# eap_connect.stop() +# eap_connect.cleanup() +# run_results = eap_connect.get_result_list() +# for result in run_results: +# print("test result: " + result) +# # result = 'pass' +# print("Single Client Connectivity :", eap_connect.passes) +# assert eap_connect.passes() +# # C5250 +# +# @pytest.mark.something +# @pytest.mark.vlan +# @pytest.mark.wpa2_enterprise +# @pytest.mark.wpa2_enterprise_2g +# def test_single_client_wpa2_enterprise_2g(self, setup_cloudsdk, upgrade_firmware, setup_vlan_mode, +# disconnect_cloudsdk, get_lanforge_data): +# profile_data = setup_vlan_mode[3]['wpa2_enterprise']['2g'] +# eap_connect = EAPConnect(get_lanforge_data["lanforge_ip"], get_lanforge_data["lanforge-port-number"]) +# eap_connect.upstream_resource = 1 +# eap_connect.upstream_port = get_lanforge_data["lanforge_vlan_port"] +# eap_connect.security = "wpa2" +# eap_connect.sta_list = [get_lanforge_data["lanforge_5g_station"]] +# eap_connect.station_names = [get_lanforge_data["lanforge_5g_station"]] +# eap_connect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] +# eap_connect.ssid = profile_data["ssid_name"] +# eap_connect.radio = get_lanforge_data["lanforge_5g"] +# eap_connect.eap = "TTLS" +# eap_connect.identity = "nolaradius" +# eap_connect.ttls_passwd = "nolastart" +# eap_connect.runtime_secs = 10 +# eap_connect.setup() +# eap_connect.start() +# print("napping %f sec" % eap_connect.runtime_secs) +# time.sleep(eap_connect.runtime_secs) +# eap_connect.stop() +# eap_connect.cleanup() +# run_results = eap_connect.get_result_list() +# for result in run_results: +# print("test result: " + result) +# # result = 'pass' +# print("Single Client Connectivity :", eap_connect.passes) +# assert eap_connect.passes() +# # C5253 diff --git a/tests/cloudsdk_apnos/test_cloudsdk_apnos.py b/tests/cloudsdk_apnos/test_cloudsdk_apnos.py new file mode 100644 index 000000000..686f79c5b --- /dev/null +++ b/tests/cloudsdk_apnos/test_cloudsdk_apnos.py @@ -0,0 +1,13 @@ +import pytest +import sys + +if 'cloudsdk_tests' not in sys.path: + sys.path.append(f'../../libs/cloudsdk') +from cloudsdk import CloudSDK +from configuration_data import TEST_CASES + + +class TestCloudAPNOS(object): + + def test_apnos_cloud(self): + pass \ No newline at end of file diff --git a/tests/cloudsdk_tests/__init__.py b/tests/cloudsdk_tests/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/tests/cloudsdk_tests/test_cloud.py b/tests/cloudsdk_tests/test_cloud.py index 6b8e818c2..1a17cd9a4 100644 --- a/tests/cloudsdk_tests/test_cloud.py +++ b/tests/cloudsdk_tests/test_cloud.py @@ -8,110 +8,92 @@ import sys if 'cloudsdk_tests' not in sys.path: sys.path.append(f'../../libs/cloudsdk') from cloudsdk import CloudSDK +from configuration_data import TEST_CASES -@pytest.mark.cloud -class TestLogin(object): +@pytest.mark.sanity +@pytest.mark.bridge +@pytest.mark.nat +@pytest.mark.vlan +@pytest.mark.cloud_connect +class TestCloudSDK(object): - @pytest.mark.bearer - def test_token_login(self, get_customer_id, get_testbed_name): + @pytest.mark.sdk_version_check + def test_cloud_sdk_version(self, instantiate_cloudsdk): + print("1") + cloudsdk_cluster_info = {} # Needed in Test Result try: - obj = CloudSDK(testbed=get_testbed_name, customer_id=get_customer_id) - bearer = obj.get_bearer_token() - value = bearer._access_token is None + response = instantiate_cloudsdk.portal_ping() + + cloudsdk_cluster_info['date'] = response._commit_date + cloudsdk_cluster_info['commitId'] = response._commit_id + cloudsdk_cluster_info['projectVersion'] = response._project_version + # instantiate_testrail.update_testrail(case_id=TEST_CASES["cloud_ver"], run_id=instantiate_project, + # status_id=1, msg='Read CloudSDK version from API successfully') + PASS = True except: - value = True - assert value is False + cloudsdk_cluster_info = {'date': "unknown", 'commitId': "unknown", 'projectVersion': "unknown"} + # instantiate_testrail.update_testrail(case_id=TEST_CASES["cloud_ver"], run_id=instantiate_project, + # status_id=0, msg='Could not read CloudSDK version from API') + PASS = False - @pytest.mark.ping - def test_ping(self, get_customer_id, get_testbed_name): - try: - obj = CloudSDK(testbed=get_testbed_name, customer_id=get_customer_id) - value = obj.portal_ping() is None - except: - value = True - assert value is False + assert PASS, cloudsdk_cluster_info -# -# @pytest.mark.userfixtures('get_customer_id') -# @pytest.mark.userfixtures('get_testbed_name') -# @pytest.mark.ssid_profiles -# class TestSSIDProfiles(object): -# -# @pytest.mark.ssid_open_bridge -# def test_open_bridge(self): -# pass -# -# @pytest.mark.ssid_open_nat -# def test_open_nat(self): -# pass -# -# @pytest.mark.ssid_open_vlan -# def test_open_vlan(self): -# pass -# -# @pytest.mark.ssid_wpa_bridge -# def test_wpa_bridge(self): -# pass -# -# @pytest.mark.ssid_wpa_nat -# def test_wpa_nat(self): -# pass -# -# @pytest.mark.ssid_wpa_vlan -# def test_wpa_vlan(self): -# pass -# -# @pytest.mark.ssid_wpa_personal_bridge -# def test_wpa2_personal_bridge(self): -# pass -# -# @pytest.mark.ssid_wpa_personal_nat -# def test_wpa2_personal_nat(self): -# pass -# -# @pytest.mark.ssid_wpa_personal_vlan -# def test_wpa2_personal_vlan(self): -# pass -# -# @pytest.mark.ssid_wpa2_enterprise_bridge -# def test_wpa2_enterprise_bridge(self): -# pass -# -# @pytest.mark.ssid_wpa2_enterprise_nat -# def test_wpa2_enterprise_nat(self): -# pass -# -# @pytest.mark.ssid_wpa2_enterprise_vlan -# def test_wpa2_enterprise_vlan(self): -# pass -# -# @pytest.mark.ssid_wpa3_personal_bridge -# def test_wpa3_personal_bridge(self): -# pass -# -# @pytest.mark.ssid_wpa3_personal_nat -# def test_wpa3_personal_nat(self): -# pass -# -# @pytest.mark.ssid_wpa3_personal_vlan -# def test_wpa3_personal_vlan(self): -# pass -# -# @pytest.mark.ssid_wpa3_enterprise_bridge -# def test_wpa3_enterprise_bridge(self): -# pass -# -# @pytest.mark.ssid_wpa3_enterprise_nat -# def test_wpa3_enterprise_nat(self): -# pass -# -# @pytest.mark.ssid_wpa3_enterprise_vlan -# def test_wpa3_enterprise_vlan(self): -# pass -# -# class TestEquipmentAPProfile(object): -# -# def test_equipment_ap_profile_creation(self): -# pass +@pytest.mark.sanity(depends=['TestCloudSDK']) +@pytest.mark.bridge +@pytest.mark.nat +@pytest.mark.vlan +@pytest.mark.firmware +class TestFirmware(object): + + @pytest.mark.firmware_create + def test_firmware_create(self, upload_firmware): + print("2") + if upload_firmware != 0: + # instantiate_testrail.update_testrail(case_id=TEST_CASES["create_fw"], run_id=instantiate_project, + # status_id=1, + # msg='Create new FW version by API successful') + PASS = True + else: + # instantiate_testrail.update_testrail(case_id=TEST_CASES["create_fw"], run_id=instantiate_project, + # status_id=5, + # msg='Error creating new FW version by API') + PASS = False + assert PASS + + @pytest.mark.firmware_upgrade + def test_firmware_upgrade_request(self, upgrade_firmware): + print("2") + if not upgrade_firmware: + # instantiate_testrail.update_testrail(case_id=TEST_CASES["upgrade_api"], run_id=instantiate_project, + # status_id=0, + # msg='Error requesting upgrade via API') + PASS = False + else: + # instantiate_testrail.update_testrail(case_id=TEST_CASES["upgrade_api"], run_id=instantiate_project, + # status_id=1, + # msg='Upgrade request using API successful') + PASS = True + assert PASS + + @pytest.mark.check_active_firmware_cloud + def test_active_version_cloud(self, check_ap_firmware_cloud): + print("3") + if not check_ap_firmware_cloud: + # instantiate_testrail.update_testrail(case_id=TEST_CASES["cloud_fw"], run_id=instantiate_project, + # status_id=5, + # msg='CLOUDSDK reporting incorrect firmware version.') + PASS = False + else: + PASS = True + # instantiate_testrail.update_testrail(case_id=TEST_CASES["cloud_fw"], run_id=instantiate_project, + # status_id=1, + # msg='CLOUDSDK reporting correct firmware version.') + + assert PASS + + +@pytest.mark.shivamy(before='test_something_2') +def test_something_1(): + assert True diff --git a/tests/cloudsdk_tests/test_profile.py b/tests/cloudsdk_tests/test_profile.py new file mode 100644 index 000000000..2ad4f2f4c --- /dev/null +++ b/tests/cloudsdk_tests/test_profile.py @@ -0,0 +1,337 @@ +import pytest +import sys +import os + +sys.path.append( + os.path.dirname( + os.path.realpath(__file__) + ) +) + +if 'cloudsdk' not in sys.path: + sys.path.append(f'../libs/cloudsdk') +if 'apnos' not in sys.path: + sys.path.append(f'../libs/apnos') +if 'testrails' not in sys.path: + sys.path.append(f'../libs/testrails') + +from cloudsdk import ProfileUtility +from configuration_data import TEST_CASES + + +class TestProfileCleanup(object): + + @pytest.mark.hard_cleanup + def test_profile_hard_cleanup(self, cleanup_cloud_profiles): + # (cleanup_cloud_profiles) + assert True + + @pytest.mark.sanity_cleanup + @pytest.mark.sanity(after='TestConnection') + def test_profile_cleanup(self, setup_profile_data, instantiate_profile, testrun_session): + print("6") + try: + for i in setup_profile_data: + for j in setup_profile_data[i]: + for k in setup_profile_data[i][j]: + instantiate_profile.delete_profile_by_name(profile_name=setup_profile_data[i][j][k]['profile_name']) + instantiate_profile.delete_profile_by_name(profile_name=testrun_session + "-RADIUS-Sanity") + status = True + except Exception as e: + status = False + assert status + + +@pytest.mark.sanity(depends=['test_ap_manager_state']) +@pytest.mark.bridge +class TestRfProfile(object): + + @pytest.mark.rf + def test_radius_profile_creation(self, set_rf_profile): + print("7") + profile_data = set_rf_profile + if profile_data: + # instantiate_testrail.update_testrail(case_id=TEST_CASES["radius_profile"], run_id=instantiate_project, + # status_id=1, + # msg='RADIUS profile created successfully') + PASS = True + else: + # instantiate_testrail.update_testrail(case_id=TEST_CASES["radius_profile"], run_id=instantiate_project, + # status_id=5, + # msg='Failed to create RADIUS profile') + PASS = False + assert PASS + + +@pytest.mark.sanity(depends=['TestRfProfile']) +@pytest.mark.bridge +class TestRadiusProfile(object): + + @pytest.mark.radius + def test_radius_profile_creation(self, instantiate_profile, create_radius_profile, testrun_session): + print("8") + profile_data = create_radius_profile + if profile_data._name == testrun_session + "-RADIUS-Sanity": + # instantiate_testrail.update_testrail(case_id=TEST_CASES["radius_profile"], run_id=instantiate_project, + # status_id=1, + # msg='RADIUS profile created successfully') + PASS = True + else: + # instantiate_testrail.update_testrail(case_id=TEST_CASES["radius_profile"], run_id=instantiate_project, + # status_id=5, + # msg='Failed to create RADIUS profile') + PASS = False + assert PASS + + +@pytest.mark.sanity(after='TestRadiusProfile') +@pytest.mark.ssid +@pytest.mark.bridge +class TestProfilesBridge(object): + + def test_reset_profile(self, reset_profile): + print("9") + assert reset_profile + + @pytest.mark.fiveg + @pytest.mark.wpa + def test_ssid_wpa_5g(self, instantiate_profile, create_wpa_ssid_5g_profile_bridge): + print("10") + profile_data = create_wpa_ssid_5g_profile_bridge + if profile_data: + # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa_bridge"], run_id=instantiate_project, + # status_id=1, + # msg='5G WPA SSID created successfully - bridge mode') + PASS = True + else: + # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa_bridge"], run_id=instantiate_project, + # status_id=5, + # msg='5G WPA SSID created successfully - bridge mode') + PASS = False + assert PASS + + @pytest.mark.twog + @pytest.mark.wpa + def test_ssid_wpa_2g(self, instantiate_profile, create_wpa_ssid_2g_profile_bridge): + print("11") + profile_data = create_wpa_ssid_2g_profile_bridge + if profile_data: + # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa_bridge"], run_id=instantiate_project, + # status_id=1, + # msg='2G WPA SSID created successfully - bridge mode') + PASS = True + else: + # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa_bridge"], run_id=instantiate_project, + # status_id=5, + # msg='2G WPA SSID create failed - bridge mode') + PASS = False + assert PASS + + @pytest.mark.twog + @pytest.mark.wpa2_personal + def test_ssid_wpa2_personal_2g(self, instantiate_profile, create_wpa2_p_ssid_2g_profile_bridge): + print("12") + profile_data = create_wpa2_p_ssid_2g_profile_bridge + if profile_data: + # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa_bridge"], run_id=instantiate_project, + # status_id=1, + # msg='2G WPA SSID created successfully - bridge mode') + PASS = True + else: + # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa_bridge"], run_id=instantiate_project, + # status_id=5, + # msg='2G WPA SSID create failed - bridge mode') + PASS = False + assert PASS + + @pytest.mark.fiveg + @pytest.mark.wpa2_personal + def test_ssid_wpa2_personal_5g(self, instantiate_profile, create_wpa2_p_ssid_5g_profile_bridge): + print("13") + profile_data = create_wpa2_p_ssid_5g_profile_bridge + if profile_data: + # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa_bridge"], run_id=instantiate_project, + # status_id=1, + # msg='2G WPA SSID created successfully - bridge mode') + PASS = True + else: + # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa_bridge"], run_id=instantiate_project, + # status_id=5, + # msg='2G WPA SSID create failed - bridge mode') + PASS = False + assert PASS + + @pytest.mark.twog + @pytest.mark.wpa2_enterprise + def test_ssid_wpa2_enterprise_2g(self, instantiate_profile, create_wpa2_e_ssid_2g_profile_bridge): + print("14") + profile_data = create_wpa2_e_ssid_2g_profile_bridge + if profile_data: + # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa_bridge"], run_id=instantiate_project, + # status_id=1, + # msg='2G WPA SSID created successfully - bridge mode') + PASS = True + else: + # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa_bridge"], run_id=instantiate_project, + # status_id=5, + # msg='2G WPA SSID create failed - bridge mode') + PASS = False + assert PASS + + @pytest.mark.fiveg + @pytest.mark.wpa2_enterprise + def test_ssid_wpa2_enterprise_5g(self, instantiate_profile, create_wpa2_e_ssid_5g_profile_bridge): + print("15") + profile_data = create_wpa2_e_ssid_5g_profile_bridge + if profile_data: + # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa_bridge"], run_id=instantiate_project, + # status_id=1, + # msg='2G WPA SSID created successfully - bridge mode') + PASS = True + else: + # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa_bridge"], run_id=instantiate_project, + # status_id=5, + # msg='2G WPA SSID create failed - bridge mode') + PASS = False + assert PASS + +# class TestEquipmentAPProfile(object): +# +# @pytest.mark.sanity(order=9) +# @pytest.mark.bridge +# @pytest.mark.bridge_pp(order=4) +# def test_equipment_ap_profile_bridge_mode(self, create_ap_profile_bridge): +# profile_data = create_ap_profile_bridge +# if profile_data: +# # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa_bridge"], run_id=instantiate_project, +# # status_id=1, +# # msg='5G WPA SSID created successfully - bridge mode') +# PASS = True +# else: +# # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa_bridge"], run_id=instantiate_project, +# # status_id=5, +# # msg='5G WPA SSID created successfully - bridge mode') +# PASS = False +# assert PASS +# +# # @pytest.mark.nat +# # def test_equipment_ap_profile_nat_mode(self, create_ap_profile_nat): +# # assert True +# # +# # @pytest.mark.vlan +# # def test_equipment_ap_profile_vlan_mode(self, create_ap_profile_vlan): +# # assert True +# + +# @pytest.mark.ssid +# @pytest.mark.nat +# class TestProfilesNAT(object): +# +# @pytest.mark.twog +# @pytest.mark.wpa +# def test_ssid_wpa_2g(self, create_wpa_ssid_2g_profile_nat): +# profile_data = create_wpa_ssid_2g_profile_nat +# if profile_data: +# # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa_bridge"], run_id=instantiate_project, +# # status_id=1, +# # msg='2G WPA SSID created successfully - bridge mode') +# PASS = True +# else: +# # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa_bridge"], run_id=instantiate_project, +# # status_id=5, +# # msg='2G WPA SSID create failed - bridge mode') +# PASS = False +# assert PASS +# +# @pytest.mark.fiveg +# @pytest.mark.wpa +# def test_ssid_wpa_5g(self, create_wpa_ssid_5g_profile_nat): +# profile_data = create_wpa_ssid_5g_profile_nat +# if profile_data: +# # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa_bridge"], run_id=instantiate_project, +# # status_id=1, +# # msg='5G WPA SSID created successfully - bridge mode') +# PASS = True +# else: +# # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa_bridge"], run_id=instantiate_project, +# # status_id=5, +# # msg='5G WPA SSID created successfully - bridge mode') +# PASS = False +# assert PASS +# +# @pytest.mark.twog +# @pytest.mark.wpa2_personal +# def test_ssid_wpa2_personal_2g(self, create_wpa2_p_ssid_2g_profile_nat): +# assert True +# +# @pytest.mark.fiveg +# @pytest.mark.wpa2_personal +# def test_ssid_wpa2_personal_5g(self, create_wpa2_p_ssid_5g_profile_nat): +# assert True +# +# @pytest.mark.twog +# @pytest.mark.wpa2_enterprise +# def test_ssid_wpa2_enterprise_2g(self, create_wpa2_e_ssid_2g_profile_nat): +# assert True +# +# @pytest.mark.fiveg +# @pytest.mark.wpa2_enterprise +# def test_ssid_wpa2_enterprise_5g(self, create_wpa2_e_ssid_5g_profile_nat): +# assert True + + +# @pytest.mark.ssid +# @pytest.mark.vlan +# class TestProfilesVLAN(object): +# +# @pytest.mark.twog +# @pytest.mark.wpa +# def test_ssid_wpa_2g(self, create_wpa_ssid_2g_profile_vlan): +# profile_data = create_wpa_ssid_2g_profile_vlan +# if profile_data: +# # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa_bridge"], run_id=instantiate_project, +# # status_id=1, +# # msg='2G WPA SSID created successfully - bridge mode') +# PASS = True +# else: +# # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa_bridge"], run_id=instantiate_project, +# # status_id=5, +# # msg='2G WPA SSID create failed - bridge mode') +# PASS = False +# assert PASS +# +# @pytest.mark.fiveg +# @pytest.mark.wpa +# def test_ssid_wpa_5g(self, create_wpa_ssid_5g_profile_vlan): +# profile_data = create_wpa_ssid_5g_profile_vlan +# if profile_data: +# # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa_bridge"], run_id=instantiate_project, +# # status_id=1, +# # msg='5G WPA SSID created successfully - bridge mode') +# PASS = True +# else: +# # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa_bridge"], run_id=instantiate_project, +# # status_id=5, +# # msg='5G WPA SSID created successfully - bridge mode') +# PASS = False +# assert PASS +# +# @pytest.mark.twog +# @pytest.mark.wpa2_personal +# def test_ssid_wpa2_personal_2g(self, create_wpa2_p_ssid_2g_profile_vlan): +# assert True +# +# @pytest.mark.fiveg +# @pytest.mark.wpa2_personal +# def test_ssid_wpa2_personal_5g(self, create_wpa2_p_ssid_5g_profile_vlan): +# assert True +# +# @pytest.mark.twog +# @pytest.mark.wpa2_enterprise +# def test_ssid_wpa2_enterprise_2g(self, create_wpa2_e_ssid_2g_profile_vlan): +# assert True +# +# @pytest.mark.fiveg +# @pytest.mark.wpa2_enterprise +# def test_ssid_wpa2_enterprise_5g(self, create_wpa2_e_ssid_5g_profile_vlan): +# assert True diff --git a/tests/configuration_data.py b/tests/configuration_data.py index 32d47f1d5..dab5e3daa 100644 --- a/tests/configuration_data.py +++ b/tests/configuration_data.py @@ -6,5 +6,127 @@ APNOS_CREDENTIAL_DATA = { 'jumphost_ip': "192.168.200.80", 'jumphost_username': "lanforge", 'jumphost_password': "lanforge", - 'jumphost_port': 22 + 'jumphost_port': 22 } + +""" +AP --- ssh + +ssh tunnel --- localhost:8800 + +""" + + +NOLA = { + # It is in NOLA-01 equipment 4 lab-ctlr minicom ap1 + "ecw5410": { + "cloudsdk_url": "https://wlan-portal-svc-nola-ext-03.cicd.lab.wlan.tip.build", + "customer_id": 2, + "equipment_id": 23 + }, + "ecw5211": { + "cloudsdk_url": "", + "customer_id": 2, + "equipment_id": "" + }, + # WORKS # NOLA -03 lab-ctlr minicom ap3, lf4 + "ec420": { + "cloudsdk_url": "http://wlan-ui.nola-qa.lab.wlan.tip.build", + "customer_id": 2, + "equipment_id": 7 + }, + "wf194c": { + "cloudsdk_url": "", + "customer_id": 2, + "equipment_id": "" + }, + # NOLA -01 lab-ctlr3 minicom ap3 + "eap102": { + "cloudsdk_url": "http://wlan-ui.nola-qa.lab.wlan.tip.build", + "customer_id": 2, + "equipment_id": "" + }, + # WORKS # NOLA -02 lab-ctlr minicom ap2, lf2 + "eap101": { + "cloudsdk_url": "http://wlan-ui.nola-qa.lab.wlan.tip.build", + "customer_id": 2, + "equipment_id": 8 + }, + "wf188n": { + "cloudsdk_url": "", + "customer_id": 2, + "equipment_id": "" + } +} + +TEST_CASES = { + "ap_upgrade": 2233, + "5g_wpa2_bridge": 2236, + "2g_wpa2_bridge": 2237, + "5g_wpa_bridge": 2419, + "2g_wpa_bridge": 2420, + "2g_wpa_nat": 4323, + "5g_wpa_nat": 4324, + "2g_wpa2_nat": 4325, + "5g_wpa2_nat": 4326, + "2g_eap_bridge": 5214, + "5g_eap_bridge": 5215, + "2g_eap_nat": 5216, + "5g_eap_nat": 5217, + "cloud_connection": 5222, + "cloud_fw": 5247, + "5g_wpa2_vlan": 5248, + "5g_wpa_vlan": 5249, + "5g_eap_vlan": 5250, + "2g_wpa2_vlan": 5251, + "2g_wpa_vlan": 5252, + "2g_eap_vlan": 5253, + "cloud_ver": 5540, + "bridge_vifc": 5541, + "nat_vifc": 5542, + "vlan_vifc": 5543, + "bridge_vifs": 5544, + "nat_vifs": 5545, + "vlan_vifs": 5546, + "upgrade_api": 5547, + "create_fw": 5548, + "ap_bridge": 5641, + "ap_nat": 5642, + "ap_vlan": 5643, + "ssid_2g_eap_bridge": 5644, + "ssid_2g_wpa2_bridge": 5645, + "ssid_2g_wpa_bridge": 5646, + "ssid_5g_eap_bridge": 5647, + "ssid_5g_wpa2_bridge": 5648, + "ssid_5g_wpa_bridge": 5649, + "ssid_2g_eap_nat": 5650, + "ssid_2g_wpa2_nat": 5651, + "ssid_2g_wpa_nat": 5652, + "ssid_5g_eap_nat": 5653, + "ssid_5g_wpa2_nat": 5654, + "ssid_5g_wpa_nat": 5655, + "ssid_2g_eap_vlan": 5656, + "ssid_2g_wpa2_vlan": 5657, + "ssid_2g_wpa_vlan": 5658, + "ssid_5g_eap_vlan": 5659, + "ssid_5g_wpa2_vlan": 5660, + "ssid_5g_wpa_vlan": 5661, + "radius_profile": 5808, + "bridge_ssid_update": 8742, + "nat_ssid_update": 8743, + "vlan_ssid_update": 8744 +} + +RADIUS_SERVER_DATA = { + "ip": "192.168.200.75", + "port": 1812, + "secret": "testing123" +} + +""" +orch + lab-ctlr + lab-ctlr2 + lab-ctlr3 + lab-ctlr4 +""" diff --git a/tests/conftest.py b/tests/conftest.py index 372a34935..17e8b6d90 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -14,6 +14,8 @@ if 'cloudsdk' not in sys.path: sys.path.append(f'../libs/cloudsdk') if 'apnos' not in sys.path: sys.path.append(f'../libs/apnos') +if 'testrails' not in sys.path: + sys.path.append(f'../libs/testrails') from apnos import APNOS from cloudsdk import CloudSDK @@ -21,9 +23,16 @@ from cloudsdk import ProfileUtility from cloudsdk import FirmwareUtility import pytest import logging +from configuration_data import APNOS_CREDENTIAL_DATA +from configuration_data import RADIUS_SERVER_DATA +from configuration_data import TEST_CASES +from configuration_data import NOLA +from testrail_api import APIClient def pytest_addoption(parser): + parser.addini("force-upload", "firmware-upload option") + parser.addini("jfrog-base-url", "jfrog base url") parser.addini("jfrog-user-id", "jfrog username") parser.addini("jfrog-user-password", "jfrog password") @@ -65,32 +74,61 @@ def pytest_addoption(parser): parser.addini("radius_server_ip", "Radius server IP") parser.addini("radius_port", "Radius Port") parser.addini("radius_secret", "Radius shared Secret") + + parser.addini("tr_url", "Test Rail URL") + parser.addini("tr_prefix", "Test Rail Prefix (Generally Testbed_name_)") + parser.addini("tr_user", "Testrail Username") + parser.addini("tr_pass", "Testrail Password") + parser.addini("tr_project_id", "Testrail Project ID") + parser.addini("milestone", "milestone Id") + # change behaviour parser.addoption( - "--skip-update-firmware", + "--skip-upgrade", action="store_true", - default=True, + default=False, help="skip updating firmware on the AP (useful for local testing)" ) + # change behaviour + parser.addoption( + "--force-upgrade", + action="store_true", + default=False, + help="Stop Upgrading Firmware if already latest" + ) # this has to be the last argument # example: --access-points ECW5410 EA8300-EU parser.addoption( - "--access-points", + "--model", # nargs="+", - default=["ECW5410"], - help="list of access points to test" + default="ecw5410", + help="AP Model which is needed to test" ) """ -Fixtures for Instantiate the Objects +Test session base fixture """ @pytest.fixture(scope="session") -def instantiate_cloudsdk(request): - sdk_client = CloudSDK(testbed=request.config.getini("testbed-name"), - customer_id=request.config.getini("sdk-customer-id")) +def testrun_session(request): + var = request.config.getoption("model") + yield var + + +""" +Instantiate Objects for Test session +""" + + +@pytest.fixture(scope="session") +def instantiate_cloudsdk(testrun_session): + try: + sdk_client = CloudSDK(testbed=NOLA[testrun_session]["cloudsdk_url"], + customer_id=NOLA[testrun_session]["customer_id"]) + except: + sdk_client = False yield sdk_client @@ -103,560 +141,436 @@ def instantiate_jFrog(request): yield jfrog_cred +@pytest.fixture(scope="session") +def instantiate_firmware(instantiate_cloudsdk, instantiate_jFrog): + try: + firmware_client = FirmwareUtility(jfrog_credentials=instantiate_jFrog, sdk_client=instantiate_cloudsdk) + except: + firmware_client = False + yield firmware_client + + +@pytest.fixture(scope="session") +def instantiate_profile(instantiate_cloudsdk): + try: + profile_object = ProfileUtility(sdk_client=instantiate_cloudsdk) + except: + profile_object = False + yield profile_object + + +@pytest.fixture(scope="session") +def instantiate_testrail(request): + tr_client = APIClient(request.config.getini("tr_url"), request.config.getini("tr_user"), + request.config.getini("tr_pass"), request.config.getini("tr_project_id")) + yield tr_client + + +@pytest.fixture(scope="session") +def instantiate_project(request, instantiate_testrail, get_equipment_model, get_latest_firmware): + #(instantiate_testrail) + + projId = instantiate_testrail.get_project_id(project_name=request.config.getini("tr_project_id")) + test_run_name = request.config.getini("tr_prefix") + get_equipment_model + "_" + str( + datetime.date.today()) + "_" + get_latest_firmware + instantiate_testrail.create_testrun(name=test_run_name, case_ids=list(TEST_CASES.values()), project_id=projId, + milestone_id=request.config.getini("milestone"), + description="Automated Nightly Sanity test run for new firmware build") + rid = instantiate_testrail.get_run_id( + test_run_name=request.config.getini("tr_prefix") + get_equipment_model + "_" + str( + datetime.date.today()) + "_" + get_latest_firmware) + yield rid + + """ -Fixtures for Getting Essentials from ini +Utility Fixtures """ @pytest.fixture(scope="session") -def get_testbed_name(request): - yield request.config.getini("testbed-name") +def get_equipment_id(testrun_session): + yield NOLA[testrun_session]["equipment_id"] @pytest.fixture(scope="session") -def get_customer_id(request): - yield request.config.getini("sdk-customer-id") +def get_latest_firmware(testrun_session, instantiate_firmware): + try: + latest_firmware = instantiate_firmware.get_latest_fw_version(testrun_session) + except: + latest_firmware = False + yield latest_firmware @pytest.fixture(scope="session") -def get_equipment_id(request): - yield request.config.getini("sdk-equipment-id") - - -""" -Fixtures for CloudSDK Utilities -""" +def check_ap_firmware_ssh(request, testrun_session): + try: + ap_ssh = APNOS(APNOS_CREDENTIAL_DATA) + active_fw = ap_ssh.get_active_firmware() + except Exception as e: + active_fw = False + #(active_fw) + yield active_fw @pytest.fixture(scope="session") -def get_equipment_model(request, instantiate_cloudsdk, get_equipment_id): - yield request.config.getini("equipment-model") - - -@pytest.fixture(scope="session") -def get_current_firmware(request, instantiate_cloudsdk, get_equipment_model): - yield request.config.getini("testbed-name") - - -def pytest_generate_tests(metafunc): - if 'access_points' in metafunc.fixturenames: - metafunc.parametrize("access_points", metafunc.config.getoption('--access-points'), scope="session") - - -# run something after all tests are done regardless of the outcome -def pytest_unconfigure(config): - # cleanup or reporting - print("Tests cleanup done") - - -""" -Basic CloudSDK inatance Objects -""" +def check_ap_firmware_cloud(instantiate_cloudsdk, get_equipment_id): + yield instantiate_cloudsdk.get_ap_firmware_old_method(equipment_id=get_equipment_id) @pytest.fixture(scope="function") -def setup_cloudsdk(request, instantiate_cloudsdk): - equipment_id = instantiate_cloudsdk.validate_equipment_availability( - equipment_id=int(request.config.getini("sdk-equipment-id"))) - if equipment_id == -1: - yield -1 - else: - yield equipment_id - - -@pytest.fixture(scope="session") -def upgrade_firmware(request, instantiate_jFrog, instantiate_cloudsdk, get_equipment_id): - if request.config.getoption("--skip-update-firmware"): - obj = FirmwareUtility(jfrog_credentials=instantiate_jFrog, sdk_client=instantiate_cloudsdk) - status = obj.upgrade_fw(equipment_id=get_equipment_id, force_upload=False, force_upgrade=False) - else: - status = "skip-upgrade" +def get_ap_manager_status(): + ap_ssh = APNOS(APNOS_CREDENTIAL_DATA) + status = ap_ssh.get_manager_state() + if "ACTIVE" not in status: + time.sleep(30) + ap_ssh = APNOS(APNOS_CREDENTIAL_DATA) + status = ap_ssh.get_manager_state() yield status -# @pytest.fixture(scope="session") -# def retrieve_latest_image(request, access_points): -# if request.config.getoption("--skip-update-firmware"): -# yield True -# yield True +@pytest.fixture(scope="session") +def should_upload_firmware(request): + yield request.config.getini("force-upload") @pytest.fixture(scope="session") -def get_latest_firmware(request, instantiate_cloudsdk, get_equipment_model): - yield request.config.getini("testbed-name") +def should_upgrade_firmware(request): + yield request.config.getoption("--force-upgrade") + + +@pytest.fixture(scope="session") +def upload_firmware(should_upload_firmware, instantiate_firmware, get_latest_firmware): + firmware_id = instantiate_firmware.upload_fw_on_cloud(fw_version=get_latest_firmware, + force_upload=should_upload_firmware) + yield firmware_id + + +@pytest.fixture(scope="session") +def upgrade_firmware(request, instantiate_firmware, get_equipment_id, check_ap_firmware_cloud, get_latest_firmware, + should_upgrade_firmware): + if get_latest_firmware != check_ap_firmware_cloud: + if request.config.getoption("--skip-upgrade"): + status = "skip-upgrade" + else: + status = instantiate_firmware.upgrade_fw(equipment_id=get_equipment_id, force_upload=False, + force_upgrade=should_upgrade_firmware) + else: + if should_upgrade_firmware: + status = instantiate_firmware.upgrade_fw(equipment_id=get_equipment_id, force_upload=False, + force_upgrade=should_upgrade_firmware) + else: + status = "skip-upgrade" + yield status + + +@pytest.fixture(scope="session") +def setup_profile_data(testrun_session): + profile_data = {} + for mode in "BRIDGE", "NAT", "VLAN": + profile_data[mode] = {} + for security in "OPEN", "WPA", "WPA2_P", "WPA2_E": + profile_data[mode][security] = {} + for radio in "2G", "5G": + profile_data[mode][security][radio] = {} + name_string = "%s-%s-%s_%s_%s" % ("Sanity", testrun_session, radio, security, mode) + passkey_string = "%s-%s_%s" % (radio, security, mode) + profile_data[mode][security][radio]["profile_name"] = name_string + profile_data[mode][security][radio]["ssid_name"] = name_string + if mode == "VLAN": + profile_data[mode][security][radio]["vlan"] = 100 + else: + profile_data[mode][security][radio]["vlan"] = 1 + if mode != "NAT": + profile_data[mode][security][radio]["mode"] = "BRIDGE" + else: + profile_data[mode][security][radio]["mode"] = "NAT" + if security != "OPEN": + profile_data[mode][security][radio]["security_key"] = passkey_string + else: + profile_data[mode][security][radio]["security_key"] = "[BLANK]" + yield profile_data + + +""" +Profile Utility +""" + + +@pytest.fixture(scope="class") +def reset_profile(instantiate_profile): + instantiate_profile.profile_creation_ids["ssid"] = [] + yield True @pytest.fixture(scope="function") -def disconnect_cloudsdk(instantiate_cloudsdk): - instantiate_cloudsdk.disconnect_cloudsdk() +def cleanup_cloud_profiles(instantiate_cloudsdk): + profile_object = ProfileUtility(sdk_client=instantiate_cloudsdk) + yield profile_object.cleanup_profiles() +@pytest.fixture(scope="session") +def create_radius_profile(instantiate_profile, testrun_session): + radius_info = { + "name": testrun_session + "-RADIUS-Sanity", + "ip": RADIUS_SERVER_DATA["ip"], + "port": RADIUS_SERVER_DATA["port"], + "secret": RADIUS_SERVER_DATA["secret"] + } + instantiate_profile.delete_profile_by_name(radius_info["name"]) + instantiate_profile.get_default_profiles() + profile_info = instantiate_profile.create_radius_profile(radius_info=radius_info) + yield profile_info + + +@pytest.fixture(scope="session") +def set_rf_profile(instantiate_profile): + try: + instantiate_profile.get_default_profiles() + profile = instantiate_profile.set_rf_profile() + except: + profile = False + yield profile + """ -Fixtures to Create Profiles and Push to vif config and delete after the test completion +BRIDGE MOde """ -@pytest.fixture(scope="class") -def setup_bridge_mode(request, instantiate_cloudsdk, create_bridge_profile, get_equipment_id): - # vif config and vif state logic here - logging.basicConfig(level=logging.DEBUG) - APNOS_CREDENTIAL_DATA = { - 'jumphost_ip': request.config.getini("jumphost_ip"), - 'jumphost_username': request.config.getini("jumphost_username"), - 'jumphost_password': request.config.getini("jumphost_password"), - 'jumphost_port': request.config.getini("jumphost_port") - } - obj = APNOS(APNOS_CREDENTIAL_DATA) - profile_data = [] - for i in create_bridge_profile: - for j in create_bridge_profile[i]: - if create_bridge_profile[i][j] != {}: - profile_data.append(create_bridge_profile[i][j]['ssid_name']) - log = logging.getLogger('test_1') - vif_config = list(obj.get_vif_config_ssids()) - vif_config.sort() - vif_state = list(obj.get_vif_state_ssids()) - vif_state.sort() - profile_data = list(profile_data) - profile_data.sort() - for i in range(18): - print("profiles pushed: ", profile_data) - print("vif config data: ", vif_config) - print("vif state data: ", vif_state) - if profile_data == vif_config: - print("matched") - if vif_config == vif_state: - status = True - print("matched 1") - break - else: - print("matched 2") - status = False - else: - status = False - time.sleep(10) - vif_config = list(obj.get_vif_config_ssids()) - vif_config.sort() - vif_state = list(obj.get_vif_state_ssids()) - vif_state.sort() - profile_data = list(profile_data) - profile_data.sort() - - yield [profile_data, vif_config, vif_state, create_bridge_profile] - delete_profiles(instantiate_cloudsdk, get_equipment_id) +@pytest.fixture(scope="session") +def create_wpa_ssid_2g_profile_bridge(instantiate_profile, setup_profile_data): + try: + profile_data = setup_profile_data["BRIDGE"]['WPA']['2G'] + instantiate_profile.get_default_profiles() + profile = instantiate_profile.create_wpa_ssid_profile(profile_data=profile_data, fiveg=False) + except: + profile = False + yield profile -@pytest.fixture(scope="class") -def create_bridge_profile(request, instantiate_cloudsdk, setup_bridge_profile_data, get_testbed_name, get_equipment_id, - get_equipment_model, - get_bridge_testcases): - print(setup_bridge_profile_data) - # SSID and AP name shall be used as testbed_name and mode - profile_object = ProfileUtility(sdk_client=instantiate_cloudsdk) - profile_object.get_default_profiles() - profile_object.set_rf_profile() - profile_list = {"open": {"2g": {}, "5g": {}}, "wpa": {"2g": {}, "5g": {}}, "wpa2_personal": {"2g": {}, "5g": {}}, - "wpa2_enterprise": {"2g": {}, "5g": {}}} +@pytest.fixture(scope="session") +def create_wpa_ssid_5g_profile_bridge(instantiate_profile, setup_profile_data): + try: + profile_data = setup_profile_data["BRIDGE"]['WPA']['5G'] + instantiate_profile.get_default_profiles() + profile = instantiate_profile.create_wpa_ssid_profile(profile_data=profile_data, two4g=False) + except: + profile = False + yield profile - if get_bridge_testcases["open_2g"]: - profile_data = setup_bridge_profile_data['OPEN']['2G'] - profile_list["open"]["2g"] = profile_data - profile_object.create_open_ssid_profile(profile_data=profile_data, fiveg=False) - if get_bridge_testcases["open_5g"]: +@pytest.fixture(scope="session") +def create_wpa2_p_ssid_2g_profile_bridge(instantiate_profile, setup_profile_data): + try: + profile_data = setup_profile_data["BRIDGE"]['WPA2_P']['2G'] + instantiate_profile.get_default_profiles() + profile = instantiate_profile.create_wpa2_personal_ssid_profile(profile_data=profile_data, fiveg=False) + except: + profile = False + yield profile - profile_data = setup_bridge_profile_data['OPEN']['5G'] - profile_list["open"]["5g"] = profile_data - profile_object.create_open_ssid_profile(profile_data=profile_data, two4g=False) - if get_bridge_testcases["wpa_2g"]: +@pytest.fixture(scope="session") +def create_wpa2_p_ssid_5g_profile_bridge(instantiate_profile, setup_profile_data): + try: + profile_data = setup_profile_data["BRIDGE"]['WPA2_P']['5G'] + instantiate_profile.get_default_profiles() + profile = instantiate_profile.create_wpa2_personal_ssid_profile(profile_data=profile_data, two4g=False) + except: + profile = False + yield profile - profile_data = setup_bridge_profile_data['WPA']['2G'] - profile_list["wpa"]["2g"] = profile_data - profile_object.create_wpa_ssid_profile(profile_data=profile_data, fiveg=False) - if get_bridge_testcases["wpa_5g"]: +@pytest.fixture(scope="session") +def create_wpa2_e_ssid_2g_profile_bridge(instantiate_profile, setup_profile_data): + try: + profile_data = setup_profile_data["BRIDGE"]['WPA2_E']['2G'] + instantiate_profile.get_default_profiles() + profile = instantiate_profile.create_wpa2_enterprise_ssid_profile(profile_data=profile_data, fiveg=False) + except Exception as e: + #(e) + profile = False + yield profile - profile_data = setup_bridge_profile_data['WPA']['5G'] - profile_list["wpa"]["5g"] = profile_data - profile_object.create_wpa_ssid_profile(profile_data=profile_data, two4g=False) - if get_bridge_testcases["wpa2_personal_2g"]: +@pytest.fixture(scope="session") +def create_wpa2_e_ssid_5g_profile_bridge(instantiate_profile, setup_profile_data): + try: + profile_data = setup_profile_data["BRIDGE"]['WPA2_E']['5G'] + instantiate_profile.get_default_profiles() + profile = instantiate_profile.create_wpa2_enterprise_ssid_profile(profile_data=profile_data, two4g=False) + except Exception as e: + #(e) + profile = False + yield profile - profile_data = setup_bridge_profile_data['WPA2']['2G'] - profile_list["wpa2_personal"]["2g"] = profile_data - profile_object.create_wpa2_personal_ssid_profile(profile_data=profile_data, fiveg=False) - if get_bridge_testcases["wpa2_personal_5g"]: +""" +NAT MOde +""" - profile_data = setup_bridge_profile_data['WPA2']['5G'] - profile_list["wpa2_personal"]["5g"] = profile_data - profile_object.create_wpa2_personal_ssid_profile(profile_data=profile_data, two4g=False) - if get_bridge_testcases["wpa2_enterprise_2g"] or get_bridge_testcases["wpa2_enterprise_5g"]: - radius_info = { - "name": get_testbed_name + "-RADIUS-Sanity", - "ip": request.config.getini("radius_server_ip"), - "port": request.config.getini("radius_port"), - "secret": request.config.getini("radius_secret") - } - profile_object.create_radius_profile(radius_info=radius_info) +@pytest.fixture(scope="session") +def create_wpa_ssid_2g_profile_nat(instantiate_profile, setup_profile_data): + try: + profile_data = setup_profile_data["NAT"]['WPA']['2G'] + instantiate_profile.get_default_profiles() + profile = instantiate_profile.create_wpa_ssid_profile(profile_data=profile_data, fiveg=False) + except: + profile = False + yield profile - if get_bridge_testcases["wpa2_enterprise_2g"]: - profile_data = setup_bridge_profile_data['EAP']['2G'] - profile_list["wpa2_enterprise"]["2g"] = profile_data - profile_object.create_wpa2_enterprise_ssid_profile(profile_data=profile_data, fiveg=False) +@pytest.fixture(scope="session") +def create_wpa_ssid_5g_profile_nat(instantiate_profile, setup_profile_data): + try: + profile_data = setup_profile_data["NAT"]['WPA']['5G'] + instantiate_profile.get_default_profiles() + profile = instantiate_profile.create_wpa_ssid_profile(profile_data=profile_data, two4g=False) + except: + profile = False + yield profile - if get_bridge_testcases["wpa2_enterprise_5g"]: - profile_data = setup_bridge_profile_data['EAP']['5G'] - profile_list["wpa2_enterprise"]["5g"] = profile_data - profile_object.create_wpa2_enterprise_ssid_profile(profile_data=profile_data, two4g=False) +@pytest.fixture(scope="session") +def create_wpa2_p_ssid_2g_profile_nat(instantiate_profile, setup_profile_data): + try: + profile_data = setup_profile_data["NAT"]['WPA2_P']['2G'] + instantiate_profile.get_default_profiles() + profile = instantiate_profile.create_wpa2_personal_ssid_profile(profile_data=profile_data, fiveg=False) + except: + profile = False + yield profile + +@pytest.fixture(scope="session") +def create_wpa2_p_ssid_5g_profile_nat(instantiate_profile, setup_profile_data): + try: + profile_data = setup_profile_data["NAT"]['WPA2_P']['5G'] + instantiate_profile.get_default_profiles() + profile = instantiate_profile.create_wpa2_personal_ssid_profile(profile_data=profile_data, two4g=False) + except: + profile = False + yield profile + + +@pytest.fixture(scope="session") +def create_wpa2_e_ssid_2g_profile_nat(instantiate_profile, setup_profile_data): + try: + profile_data = setup_profile_data["NAT"]['WPA2_E']['2G'] + instantiate_profile.get_default_profiles() + profile = instantiate_profile.create_wpa2_enterprise_ssid_profile(profile_data=profile_data, fiveg=False) + except: + profile = False + yield profile + + +@pytest.fixture(scope="session") +def create_wpa2_e_ssid_5g_profile_nat(instantiate_profile, setup_profile_data): + try: + profile_data = setup_profile_data["NAT"]['WPA2_E']['5G'] + instantiate_profile.get_default_profiles() + profile = instantiate_profile.create_wpa2_enterprise_ssid_profile(profile_data=profile_data, two4g=False) + except: + profile = False + yield profile + + +""" +VLAN MOde +""" + + +@pytest.fixture(scope="session") +def create_wpa_ssid_2g_profile_vlan(instantiate_profile, setup_profile_data): + try: + profile_data = setup_profile_data["VLAN"]['WPA']['2G'] + instantiate_profile.get_default_profiles() + profile = instantiate_profile.create_wpa_ssid_profile(profile_data=profile_data, fiveg=False) + except: + profile = False + yield profile + + +@pytest.fixture(scope="session") +def create_wpa_ssid_5g_profile_vlan(instantiate_profile, setup_profile_data): + try: + profile_data = setup_profile_data["VLAN"]['WPA']['5G'] + instantiate_profile.get_default_profiles() + profile = instantiate_profile.create_wpa_ssid_profile(profile_data=profile_data, two4g=False) + except: + profile = False + yield profile + + +@pytest.fixture(scope="session") +def create_wpa2_p_ssid_2g_profile_vlan(instantiate_profile, setup_profile_data): + try: + profile_data = setup_profile_data["VLAN"]['WPA2_P']['2G'] + instantiate_profile.get_default_profiles() + profile = instantiate_profile.create_wpa_ssid_profile(profile_data=profile_data, fiveg=False) + except: + profile = False + yield profile + + +@pytest.fixture(scope="session") +def create_wpa2_p_ssid_5g_profile_vlan(instantiate_profile, setup_profile_data): + try: + profile_data = setup_profile_data["VLAN"]['WPA2_P']['5G'] + instantiate_profile.get_default_profiles() + profile = instantiate_profile.create_wpa_ssid_profile(profile_data=profile_data, two4g=False) + except: + profile = False + yield profile + + +@pytest.fixture(scope="session") +def create_wpa2_e_ssid_2g_profile_vlan(instantiate_profile, setup_profile_data): + try: + profile_data = setup_profile_data["VLAN"]['WPA2_E']['2G'] + instantiate_profile.get_default_profiles() + profile = instantiate_profile.create_wpa_ssid_profile(profile_data=profile_data, fiveg=False) + except: + profile = False + yield profile + + +@pytest.fixture(scope="session") +def create_wpa2_e_ssid_5g_profile_vlan(instantiate_profile, setup_profile_data): + try: + profile_data = setup_profile_data["VLAN"]['WPA2_E']['5G'] + instantiate_profile.get_default_profiles() + profile = instantiate_profile.create_wpa_ssid_profile(profile_data=profile_data, two4g=False) + except: + profile = False + yield profile + + +@pytest.fixture(scope="session") +def create_ap_profile_bridge(instantiate_profile, testrun_session): profile_data = { - "profile_name": "%s-%s-%s" % (get_testbed_name, get_equipment_model, 'BRIDGE'), + "profile_name": "%s-%s-%s" % ("Sanity", testrun_session, 'BRIDGE'), } - profile_object.set_ap_profile(profile_data=profile_data) - profile_object.push_profile_old_method(equipment_id=get_equipment_id) - yield profile_list + profile_obj = instantiate_profile.set_ap_profile(profile_data=profile_data) + yield profile_obj -@pytest.fixture(scope="class") -def setup_nat_mode(request, instantiate_cloudsdk, create_nat_profile, get_equipment_id): - # vif config and vif state logic here - logging.basicConfig(level=logging.DEBUG) - log = logging.getLogger('test_1') - APNOS_CREDENTIAL_DATA = { - 'jumphost_ip': request.config.getini("jumphost_ip"), - 'jumphost_username': request.config.getini("jumphost_username"), - 'jumphost_password': request.config.getini("jumphost_password"), - 'jumphost_port': request.config.getini("jumphost_port") - } - obj = APNOS(APNOS_CREDENTIAL_DATA) - profile_data = [] - for i in create_nat_profile: - for j in create_nat_profile[i]: - if create_nat_profile[i][j] != {}: - profile_data.append(create_nat_profile[i][j]['ssid_name']) - vif_config = list(obj.get_vif_config_ssids()) - vif_config.sort() - vif_state = list(obj.get_vif_state_ssids()) - vif_state.sort() - profile_data = list(profile_data) - profile_data.sort() - for i in range(18): - print("profiles pushed: ", profile_data) - print("vif config data: ", vif_config) - print("vif state data: ", vif_state) - if profile_data == vif_config: - print("matched") - if vif_config == vif_state: - status = True - print("matched 1") - break - else: - print("matched 2") - status = False - else: - status = False - time.sleep(10) - vif_config = list(obj.get_vif_config_ssids()) - vif_config.sort() - vif_state = list(obj.get_vif_state_ssids()) - vif_state.sort() - profile_data = list(profile_data) - profile_data.sort() - - yield [profile_data, vif_config, vif_state, create_nat_profile] - delete_profiles(instantiate_cloudsdk, get_equipment_id) - - -@pytest.fixture(scope="class") -def create_nat_profile(request, instantiate_cloudsdk, setup_nat_profile_data, get_testbed_name, get_equipment_id, - get_nat_testcases, get_equipment_model): - print(setup_nat_profile_data) - # SSID and AP name shall be used as testbed_name and mode - profile_object = ProfileUtility(sdk_client=instantiate_cloudsdk) - profile_object.get_default_profiles() - profile_object.set_rf_profile() - profile_list = {"open": {"2g": {}, "5g": {}}, "wpa": {"2g": {}, "5g": {}}, "wpa2_personal": {"2g": {}, "5g": {}}, - "wpa2_enterprise": {"2g": {}, "5g": {}}} - - if get_nat_testcases["open_2g"]: - profile_data = setup_nat_profile_data['OPEN']['2G'] - profile_list["open"]["2g"] = profile_data - profile_object.create_open_ssid_profile(profile_data=profile_data, fiveg=False) - if get_nat_testcases["open_5g"]: - profile_data = setup_nat_profile_data['OPEN']['5G'] - profile_list["open"]["5g"] = profile_data - profile_object.create_open_ssid_profile(profile_data=profile_data, two4g=False) - - if get_nat_testcases["wpa_2g"]: - profile_data = setup_nat_profile_data['WPA']['2G'] - profile_list["wpa"]["2g"] = profile_data - profile_object.create_wpa_ssid_profile(profile_data=profile_data, fiveg=False) - - if get_nat_testcases["wpa_5g"]: - profile_data = setup_nat_profile_data['WPA']['5G'] - profile_list["wpa"]["5g"] = profile_data - profile_object.create_wpa_ssid_profile(profile_data=profile_data, two4g=False) - - if get_nat_testcases["wpa2_personal_2g"]: - profile_data = setup_nat_profile_data['WPA2']['2G'] - profile_list["wpa2_personal"]["2g"] = profile_data - profile_object.create_wpa2_personal_ssid_profile(profile_data=profile_data, fiveg=False) - - if get_nat_testcases["wpa2_personal_5g"]: - profile_data = setup_nat_profile_data['WPA2']['5G'] - profile_list["wpa2_personal"]["5g"] = profile_data - profile_object.create_wpa2_personal_ssid_profile(profile_data=profile_data, two4g=False) - - if get_nat_testcases["wpa2_enterprise_2g"] or get_nat_testcases["wpa2_enterprise_5g"]: - radius_info = { - "name": get_testbed_name + "-RADIUS-Sanity", - "ip": request.config.getini("radius_server_ip"), - "port": request.config.getini("radius_port"), - "secret": request.config.getini("radius_secret") - } - profile_object.create_radius_profile(radius_info=radius_info) - - if get_nat_testcases["wpa2_enterprise_2g"]: - profile_data = setup_nat_profile_data['EAP']['2G'] - profile_list["wpa2_enterprise"]["2g"] = profile_data - profile_object.create_wpa2_enterprise_ssid_profile(profile_data=profile_data, fiveg=False) - - if get_nat_testcases["wpa2_enterprise_5g"]: - profile_data = setup_nat_profile_data['EAP']['5G'] - profile_list["wpa2_enterprise"]["5g"] = profile_data - profile_object.create_wpa2_enterprise_ssid_profile(profile_data=profile_data, two4g=False) - +@pytest.fixture(scope="session") +def create_ap_profile_nat(instantiate_profile, testrun_session): profile_data = { - "profile_name": "%s-%s-%s" % (get_testbed_name, get_equipment_model, 'NAT'), + "profile_name": "%s-%s-%s" % ("Sanity", testrun_session, 'NAT'), } - profile_object.set_ap_profile(profile_data=profile_data) - profile_object.push_profile_old_method(equipment_id=get_equipment_id) - yield profile_list + profile_obj = instantiate_profile.set_ap_profile(profile_data=profile_data) + yield profile_obj -@pytest.fixture(scope="class") -def setup_vlan_mode(request, instantiate_cloudsdk, create_vlan_profile, get_equipment_id): - # vif config and vif state logic here - logging.basicConfig(level=logging.DEBUG) - log = logging.getLogger('test_1') - APNOS_CREDENTIAL_DATA = { - 'jumphost_ip': request.config.getini("jumphost_ip"), - 'jumphost_username': request.config.getini("jumphost_username"), - 'jumphost_password': request.config.getini("jumphost_password"), - 'jumphost_port': request.config.getini("jumphost_port") - } - obj = APNOS(APNOS_CREDENTIAL_DATA) - profile_data = [] - for i in create_vlan_profile: - for j in create_vlan_profile[i]: - if create_vlan_profile[i][j] != {}: - profile_data.append(create_vlan_profile[i][j]['ssid_name']) - log = logging.getLogger('test_1') - vif_config = list(obj.get_vif_config_ssids()) - vif_config.sort() - vif_state = list(obj.get_vif_state_ssids()) - vif_state.sort() - profile_data = list(profile_data) - profile_data.sort() - for i in range(18): - print("profiles pushed: ", profile_data) - print("vif config data: ", vif_config) - print("vif state data: ", vif_state) - if profile_data == vif_config: - print("matched") - if vif_config == vif_state: - status = True - print("matched 1") - break - else: - print("matched 2") - status = False - else: - status = False - time.sleep(10) - vif_config = list(obj.get_vif_config_ssids()) - vif_config.sort() - vif_state = list(obj.get_vif_state_ssids()) - vif_state.sort() - profile_data = list(profile_data) - profile_data.sort() - - # request.addfinalizer(delete_profiles(profile_data, instantiate_cloudsdk)) - yield [profile_data, vif_config, vif_state, create_vlan_profile] - delete_profiles(instantiate_cloudsdk, get_equipment_id) - - -@pytest.fixture(scope="class") -def create_vlan_profile(request, instantiate_cloudsdk, setup_vlan_profile_data, get_testbed_name, get_equipment_id, - get_vlan_testcases, get_equipment_model): - print(setup_vlan_profile_data) - # SSID and AP name shall be used as testbed_name and mode - profile_object = ProfileUtility(sdk_client=instantiate_cloudsdk) - profile_object.get_default_profiles() - profile_object.set_rf_profile() - profile_list = {"open": {"2g": {}, "5g": {}}, "wpa": {"2g": {}, "5g": {}}, "wpa2_personal": {"2g": {}, "5g": {}}, - "wpa2_enterprise": {"2g": {}, "5g": {}}} - - if get_vlan_testcases["open_2g"]: - profile_data = setup_vlan_profile_data['OPEN']['2G'] - profile_list["open"]["2g"] = profile_data - profile_object.create_open_ssid_profile(profile_data=profile_data, fiveg=False) - if get_vlan_testcases["open_5g"]: - profile_data = setup_vlan_profile_data['OPEN']['5G'] - profile_list["open"]["5g"] = profile_data - profile_object.create_open_ssid_profile(profile_data=profile_data, two4g=False) - - if get_vlan_testcases["wpa_2g"]: - profile_data = setup_vlan_profile_data['WPA']['2G'] - profile_list["wpa"]["2g"] = profile_data - profile_object.create_wpa_ssid_profile(profile_data=profile_data, fiveg=False) - - if get_vlan_testcases["wpa_5g"]: - profile_data = setup_vlan_profile_data['WPA']['5G'] - profile_list["wpa"]["5g"] = profile_data - profile_object.create_wpa_ssid_profile(profile_data=profile_data, two4g=False) - - if get_vlan_testcases["wpa2_personal_2g"]: - profile_data = setup_vlan_profile_data['WPA2']['2G'] - profile_list["wpa2_personal"]["2g"] = profile_data - profile_object.create_wpa2_personal_ssid_profile(profile_data=profile_data, fiveg=False) - - if get_vlan_testcases["wpa2_personal_5g"]: - profile_data = setup_vlan_profile_data['WPA2']['5G'] - profile_list["wpa2_personal"]["5g"] = profile_data - profile_object.create_wpa2_personal_ssid_profile(profile_data=profile_data, two4g=False) - - if get_vlan_testcases["wpa2_enterprise_2g"] or get_vlan_testcases["wpa2_enterprise_5g"]: - radius_info = { - "name": get_testbed_name + "-RADIUS-Sanity", - "ip": request.config.getini("radius_server_ip"), - "port": request.config.getini("radius_port"), - "secret": request.config.getini("radius_secret") - } - profile_object.create_radius_profile(radius_info=radius_info) - - if get_vlan_testcases["wpa2_enterprise_2g"]: - profile_data = setup_vlan_profile_data['EAP']['2G'] - profile_list["wpa2_enterprise"]["2g"] = profile_data - profile_object.create_wpa2_enterprise_ssid_profile(profile_data=profile_data, fiveg=False) - - if get_vlan_testcases["wpa2_enterprise_5g"]: - profile_data = setup_vlan_profile_data['EAP']['5G'] - profile_list["wpa2_enterprise"]["5g"] = profile_data - profile_object.create_wpa2_enterprise_ssid_profile(profile_data=profile_data, two4g=False) - +@pytest.fixture(scope="session") +def create_ap_profile_vlan(instantiate_profile, testrun_session): profile_data = { - "profile_name": "%s-%s-%s" % (get_testbed_name, get_equipment_model, 'VLAN'), + "profile_name": "%s-%s-%s" % ("Sanity", testrun_session, 'VLAN'), } - profile_object.set_ap_profile(profile_data=profile_data) - profile_object.push_profile_old_method(equipment_id=get_equipment_id) - yield profile_list - - -@pytest.fixture(scope="class") -def setup_bridge_profile_data(request, get_testbed_name, get_equipment_model): - profile_data = {} - equipment_model = get_equipment_model - mode = str(request._parent_request.fixturename).split("_")[1].upper() - if mode == "BRIDGE": - mode_str = "BR" - vlan_id = 1 - elif mode == "VLAN": - mode_str = "VLAN" - mode = "BRIDGE" - vlan_id = 100 - else: - mode_str = mode - vlan_id = 1 - for security in "OPEN", "WPA", "WPA2", "EAP": - profile_data[security] = {} - for radio in "2G", "5G": - name_string = "%s-%s-%s_%s_%s" % (get_testbed_name, equipment_model, radio, security, mode_str) - passkey_string = "%s-%s_%s" % (radio, security, mode) - profile_data[security][radio] = {} - profile_data[security][radio]["profile_name"] = name_string - profile_data[security][radio]["ssid_name"] = name_string - profile_data[security][radio]["mode"] = mode - profile_data[security][radio]["vlan"] = vlan_id - if security != "OPEN": - profile_data[security][radio]["security_key"] = passkey_string - else: - profile_data[security][radio]["security_key"] = "[BLANK]" - yield profile_data - - -@pytest.fixture(scope="class") -def setup_nat_profile_data(request, get_testbed_name, get_equipment_model): - profile_data = {} - equipment_model = get_equipment_model - mode = str(request._parent_request.fixturename).split("_")[1].upper() - if mode == "BRIDGE": - mode_str = "BR" - vlan_id = 1 - elif mode == "VLAN": - mode_str = "VLAN" - mode = "BRIDGE" - vlan_id = 100 - else: - mode_str = mode - vlan_id = 1 - for security in "OPEN", "WPA", "WPA2", "EAP": - profile_data[security] = {} - for radio in "2G", "5G": - name_string = "%s-%s-%s_%s_%s" % (get_testbed_name, equipment_model, radio, security, mode_str) - passkey_string = "%s-%s_%s" % (radio, security, mode) - profile_data[security][radio] = {} - profile_data[security][radio]["profile_name"] = name_string - profile_data[security][radio]["ssid_name"] = name_string - profile_data[security][radio]["mode"] = mode - profile_data[security][radio]["vlan"] = vlan_id - if security != "OPEN": - profile_data[security][radio]["security_key"] = passkey_string - else: - profile_data[security][radio]["security_key"] = "[BLANK]" - yield profile_data - - -@pytest.fixture(scope="class") -def setup_vlan_profile_data(request, get_testbed_name, get_equipment_model): - profile_data = {} - equipment_model = get_equipment_model - mode = str(request._parent_request.fixturename).split("_")[1].upper() - if mode == "BRIDGE": - mode_str = "BR" - vlan_id = 1 - elif mode == "VLAN": - mode_str = "VLAN" - mode = "BRIDGE" - vlan_id = 100 - else: - mode_str = mode - vlan_id = 1 - for security in "OPEN", "WPA", "WPA2", "EAP": - profile_data[security] = {} - for radio in "2G", "5G": - name_string = "%s-%s-%s_%s_%s" % (get_testbed_name, equipment_model, radio, security, mode_str) - passkey_string = "%s-%s_%s" % (radio, security, mode) - profile_data[security][radio] = {} - profile_data[security][radio]["profile_name"] = name_string - profile_data[security][radio]["ssid_name"] = name_string - profile_data[security][radio]["mode"] = mode - profile_data[security][radio]["vlan"] = vlan_id - if security != "OPEN": - profile_data[security][radio]["security_key"] = passkey_string - else: - profile_data[security][radio]["security_key"] = "[BLANK]" - yield profile_data - - -def delete_profiles(sdk_client=None, equipment_id=None): - profile_object = ProfileUtility(sdk_client=sdk_client) - profile_object.delete_current_profile(equipment_id=equipment_id) + profile_obj = instantiate_profile.set_ap_profile(profile_data=profile_data) + yield profile_obj @pytest.fixture(scope="function") @@ -675,158 +589,3 @@ def get_lanforge_data(request): "vlan": 100 } yield lanforge_data - - -# @pytest.fixture(scope="session") -# def get_testcase(request): -# import pdb -# pdb.set_trace() -# -# # mode = request.config.getoption("-m") -# # markers = [] -# # for i in request.node.iter_markers(): -# # markers.append(i.name) -# # a = set(mode.split(" ")) -# # b = set(markers) -# # markers = a.intersection(b) -# # yield list(markers) - - -@pytest.fixture(scope="session") -def get_bridge_testcases(request): - # import pdb - # pdb.set_trace() - print("callattr_ahead_of_alltests called") - security = {"open_2g": False, - "open_5g": False, - "wpa_5g": False, - "wpa_2g": False, - "wpa2_personal_5g": False, - "wpa2_personal_2g": False, - "wpa2_enterprise_5g": False, - "wpa2_enterprise_2g": False - } - session = request.node - for item in session.items: - for i in item.iter_markers(): - if str(i.name).__eq__("wpa_2g"): - print(i) - security["wpa_2g"] = True - - if str(i.name).__eq__("wpa_5g"): - print(i) - security["wpa_5g"] = True - - if str(i.name).__eq__("wpa2_personal_5g"): - print(i) - security["wpa2_personal_5g"] = True - - if str(i.name).__eq__("wpa2_personal_2g"): - print(i) - security["wpa2_personal_2g"] = True - - if str(i.name).__eq__("wpa2_enterprise_2g"): - print(i) - security["wpa2_enterprise_2g"] = True - - if str(i.name).__eq__("wpa2_enterprise_5g"): - print(i) - security["wpa2_enterprise_5g"] = True - - yield security - - -""" -open_2g -open_5g -wpa2_personal_5g -wpa2_personal_2g -wpa_5g -wpa_2g -wpa2_enterprise_5g -wpa2_enterprise_2g -""" - - -@pytest.fixture(scope="session") -def get_nat_testcases(request): - print("callattr_ahead_of_alltests called") - security = {"open_2g": False, - "open_5g": False, - "wpa_5g": False, - "wpa_2g": False, - "wpa2_personal_5g": False, - "wpa2_personal_2g": False, - "wpa2_enterprise_5g": False, - "wpa2_enterprise_2g": False - } - session = request.node - for item in session.items: - for i in item.iter_markers(): - if str(i.name).__eq__("wpa_2g"): - print(i) - security["wpa_2g"] = True - - if str(i.name).__eq__("wpa_5g"): - print(i) - security["wpa_5g"] = True - - if str(i.name).__eq__("wpa2_personal_5g"): - print(i) - security["wpa2_personal_5g"] = True - - if str(i.name).__eq__("wpa2_personal_2g"): - print(i) - security["wpa2_personal_2g"] = True - - if str(i.name).__eq__("wpa2_enterprise_2g"): - print(i) - security["wpa2_enterprise_2g"] = True - - if str(i.name).__eq__("wpa2_enterprise_5g"): - print(i) - security["wpa2_enterprise_5g"] = True - - yield security - - -@pytest.fixture(scope="session") -def get_vlan_testcases(request): - print("callattr_ahead_of_alltests called") - security = {"open_2g": False, - "open_5g": False, - "wpa_5g": False, - "wpa_2g": False, - "wpa2_personal_5g": False, - "wpa2_personal_2g": False, - "wpa2_enterprise_5g": False, - "wpa2_enterprise_2g": False - } - session = request.node - for item in session.items: - for i in item.iter_markers(): - if str(i.name).__eq__("wpa_2g"): - print(i) - security["wpa_2g"] = True - - if str(i.name).__eq__("wpa_5g"): - print(i) - security["wpa_5g"] = True - - if str(i.name).__eq__("wpa2_personal_5g"): - print(i) - security["wpa2_personal_5g"] = True - - if str(i.name).__eq__("wpa2_personal_2g"): - print(i) - security["wpa2_personal_2g"] = True - - if str(i.name).__eq__("wpa2_enterprise_2g"): - print(i) - security["wpa2_enterprise_2g"] = True - - if str(i.name).__eq__("wpa2_enterprise_5g"): - print(i) - security["wpa2_enterprise_5g"] = True - - yield security diff --git a/tests/pytest.ini b/tests/pytest.ini index 033eafb41..63bb9fa91 100644 --- a/tests/pytest.ini +++ b/tests/pytest.ini @@ -1,23 +1,22 @@ [pytest] addopts= --junitxml=test_everything.xml +# Firmware Utility Default Options +force-upload=True + + + + # jFrog parameters jfrog-base-url=tip.jFrog.io/artifactory/tip-wlan-ap-firmware jfrog-user-id=tip-read jfrog-user-password=tip-read # Cloud SDK parameters -testbed-name=nola-ext-03 equipment-model=ecw5410 sdk-user-id=support@example.com sdk-user-password=support -# Testrails parameters -testrail-base-url=telecominfraproject.testrail.com -testrail-project=opsfleet-wlan -testrail-user-id=gleb@opsfleet.com -testrail-user-password=use_command_line_to_pass_this - # Jumphost jumphost_ip=192.168.200.80 jumphost_port=22 @@ -44,31 +43,21 @@ lanforge-5g-radio=wiphy1 sdk-customer-id=2 sdk-equipment-id=23 -# Profile -skip-open=True -skip-wpa=False -skip-wpa2=False -skip-eap=False # Radius Settings radius_server_ip=192.168.200.75 radius_port=1812 radius_secret=testing123 + +# Testrail Info +tr_url=https://telecominfraproject.testrail.com +tr_prefix=Nola_ext_03_ +tr_user=shivam.thakur@candelatech.com +tr_pass= +tr_project_id=WLAN +milestone=29 + markers = sanity: Run the sanity for Client Connectivity test - bridge - nat - vlan - wpa - wpa_2g - wpa_5g - wpa2_personal - wpa2_enterprise - wpa2_personal_2g - wpa2_enterprise_2g - wpa2_personal_5g - wpa2_enterprise_5g - cloud - bearer - ping + From 5816f4cdbb7dbdb33ef5995f74d6131e40169da2 Mon Sep 17 00:00:00 2001 From: shivamcandela Date: Thu, 1 Apr 2021 02:55:17 +0530 Subject: [PATCH 39/45] equipment_ap profile library fixes and all test cases Signed-off-by: shivamcandela --- libs/cloudsdk/cloudsdk.py | 41 +- tests/ap_tests/test_apnos.py | 61 +-- tests/client_connectivity/test_bridge_mode.py | 465 +++++++++-------- tests/client_connectivity/test_nat_mode.py | 463 +++++++++-------- tests/client_connectivity/test_vlan_mode.py | 470 +++++++++--------- tests/cloudsdk_apnos/test_cloudsdk_apnos.py | 119 ++++- tests/cloudsdk_tests/test_cloud.py | 12 +- tests/cloudsdk_tests/test_profile.py | 416 ++++++++++------ tests/configuration_data.py | 4 +- tests/conftest.py | 47 +- tests/pytest.ini | 2 +- 11 files changed, 1172 insertions(+), 928 deletions(-) diff --git a/libs/cloudsdk/cloudsdk.py b/libs/cloudsdk/cloudsdk.py index c497d4bc4..21dca3bfe 100644 --- a/libs/cloudsdk/cloudsdk.py +++ b/libs/cloudsdk/cloudsdk.py @@ -182,10 +182,28 @@ class CloudSDK(ConfigureCloudSDK): Profile Utilities """ - def get_profile_by_id(self, profile_id=None): - # print(self.profile_client.get_profile_by_id(profile_id=profile_id)) - pass + def get_current_profile_on_equipment(self, equipment_id=None): + default_equipment_data = self.equipment_client.get_equipment_by_id(equipment_id=equipment_id, async_req=False) + return default_equipment_data._profile_id + def get_ssids_on_equipment(self, equipment_id=None): + profile_id = self.get_current_profile_on_equipment(equipment_id=equipment_id) + all_profiles = self.profile_client.get_profile_with_children(profile_id=profile_id) + ssid_name_list = [] + for i in all_profiles: + if i._profile_type == "ssid": + ssid_name_list.append(i._details['ssid']) + return all_profiles + + def get_ssid_profiles_from_equipment_profile(self, profile_id=None): + equipment_ap_profile = self.profile_client.get_profile_by_id(profile_id=profile_id) + ssid_name_list = [] + child_profile_ids = equipment_ap_profile.child_profile_ids + for i in child_profile_ids: + profile = self.profile_client.get_profile_by_id(profile_id=i) + if profile._profile_type == "ssid": + ssid_name_list.append(profile._details['ssid']) + return ssid_name_list """ default templates are as follows : profile_name= TipWlan-rf/ @@ -245,9 +263,9 @@ class ProfileUtility: return i return None - def get_profile_by_id(self, profile_id=None): + def get_ssid_name_by_profile_id(self, profile_id=None): profiles = self.profile_client.get_profile_by_id(profile_id=profile_id) - # print(profiles._child_profile_ids) + return profiles._details["ssid"] def get_default_profiles(self): pagination_context = """{ @@ -331,9 +349,9 @@ class ProfileUtility: for i in all_profiles._items: if i._name == profile_name: counts = self.profile_client.get_counts_of_equipment_that_use_profiles([i._id])[0] - # print(counts._value2) if counts._value2: self.set_equipment_to_profile(profile_id=i._id) + self.delete_profile(profile_id=[i._id]) else: self.delete_profile(profile_id=[i._id]) @@ -346,7 +364,7 @@ class ProfileUtility: }""" equipment_data = self.sdk_client.equipment_client.get_equipment_by_customer_id(customer_id=2, pagination_context=pagination_context) - + self.get_default_profiles() for i in equipment_data._items: if i._profile_id == profile_id: self.profile_creation_ids['ap'] = self.default_profiles['equipment_ap_2_radios']._id @@ -537,8 +555,9 @@ class ProfileUtility: default_profile = self.default_profiles['equipment_ap_2_radios'] default_profile._child_profile_ids = [] for i in self.profile_creation_ids: - for j in self.profile_creation_ids[i]: - default_profile._child_profile_ids.append(j) + if i != 'ap': + for j in self.profile_creation_ids[i]: + default_profile._child_profile_ids.append(j) default_profile._name = profile_data['profile_name'] # print(default_profile) @@ -746,7 +765,9 @@ class FirmwareUtility(JFrogUtility): print("firmware not available: ", firmware_version) return firmware_version - +# sdk_client = CloudSDK(testbed="https://wlan-portal-svc-nola-ext-03.cicd.lab.wlan.tip.build", customer_id=2) +# print(sdk_client.get_ssid_profiles_from_equipment_profile(profile_id=1256)) +# sdk_client.disconnect_cloudsdk() # sdk_client = CloudSDK(testbed="https://wlan-portal-svc-nola-ext-03.cicd.lab.wlan.tip.build", customer_id=2) # profile_obj = ProfileUtility(sdk_client=sdk_client) # profile_data = {'profile_name': 'Sanity-ecw5410-2G_WPA2_E_BRIDGE', 'ssid_name': 'Sanity-ecw5410-2G_WPA2_E_BRIDGE', 'vlan': 1, 'mode': 'BRIDGE', 'security_key': '2G-WPA2_E_BRIDGE'} diff --git a/tests/ap_tests/test_apnos.py b/tests/ap_tests/test_apnos.py index 4799ad387..439e3b644 100644 --- a/tests/ap_tests/test_apnos.py +++ b/tests/ap_tests/test_apnos.py @@ -3,46 +3,13 @@ import pytest from configuration_data import TEST_CASES -@pytest.mark.shivamy(after='test_something_1') -def test_something_2(): - assert True - - -@pytest.mark.sanity(depends=['TestFirmware']) -@pytest.mark.bridge(order=3) -@pytest.mark.nat(order=3) -@pytest.mark.vlan(order=3) -@pytest.mark.ap_firmware -class TestFirmwareAPNOS(object): - - @pytest.mark.check_active_firmware_ap - def test_ap_firmware(self, check_ap_firmware_ssh, get_latest_firmware): - print("5") - if check_ap_firmware_ssh == get_latest_firmware: - status = True - # instantiate_testrail.update_testrail(case_id=TEST_CASES["ap_upgrade"], run_id=instantiate_project, - # status_id=1, - # msg='Upgrade to ' + get_latest_firmware + ' successful') - else: - status = False - # instantiate_testrail.update_testrail(case_id=TEST_CASES["ap_upgrade"], run_id=instantiate_project, - # status_id=4, - # msg='Cannot reach AP after upgrade to check CLI - re-test required') - - assert status - - -@pytest.mark.basic -@pytest.mark.bridge(order=4) -@pytest.mark.nat(order=4) -@pytest.mark.vlan(order=4) +@pytest.mark.run(order=3) @pytest.mark.ap_connection class TestConnection(object): @pytest.mark.ap_manager_state - @pytest.mark.sanity(depends=['TestFirmwareAPNOS']) def test_ap_manager_state(self, get_ap_manager_status): - print("4") + print("5") if "ACTIVE" not in get_ap_manager_status: # instantiate_testrail.update_testrail(case_id=TEST_CASES["cloud_connection"], run_id=instantiate_project, # status_id=5, @@ -57,6 +24,24 @@ class TestConnection(object): # break test session if test case is false -@pytest.mark.shivamy(after='test_something_2') -def test_something_3(): - assert True +@pytest.mark.run(order=4) +@pytest.mark.ap_firmware +class TestFirmwareAPNOS(object): + + @pytest.mark.check_active_firmware_ap + def test_ap_firmware(self, check_ap_firmware_ssh, get_latest_firmware): + print("6") + if check_ap_firmware_ssh == get_latest_firmware: + status = True + # instantiate_testrail.update_testrail(case_id=TEST_CASES["ap_upgrade"], run_id=instantiate_project, + # status_id=1, + # msg='Upgrade to ' + get_latest_firmware + ' successful') + else: + status = False + # instantiate_testrail.update_testrail(case_id=TEST_CASES["ap_upgrade"], run_id=instantiate_project, + # status_id=4, + # msg='Cannot reach AP after upgrade to check CLI - re-test required') + + assert status + + diff --git a/tests/client_connectivity/test_bridge_mode.py b/tests/client_connectivity/test_bridge_mode.py index d01f0878d..2d25568e3 100644 --- a/tests/client_connectivity/test_bridge_mode.py +++ b/tests/client_connectivity/test_bridge_mode.py @@ -1,238 +1,227 @@ -# import pytest -# import sys -# -# for folder in 'py-json', 'py-scripts': -# if folder not in sys.path: -# sys.path.append(f'../lanforge/lanforge-scripts/{folder}') -# -# sys.path.append(f"../lanforge/lanforge-scripts/py-scripts/tip-cicd-sanity") -# -# sys.path.append(f'../libs') -# sys.path.append(f'../libs/lanforge/') -# -# from LANforge.LFUtils import * -# -# if 'py-json' not in sys.path: -# sys.path.append('../py-scripts') -# -# import sta_connect2 -# from sta_connect2 import StaConnect2 -# import eap_connect -# from eap_connect import EAPConnect -# import time -# -# -# -# class TestBridgeModeClientConnectivity(object): -# -# @pytest.mark.bridge -# @pytest.mark.wpa -# @pytest.mark.twog -# def test_single_client_wpa_2g(self, get_lanforge_data, create_wpa_ssid_2g_profile_bridge): -# profile_data = create_wpa_ssid_2g_profile_bridge -# print(profile_data) -# staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), -# debug_=False) -# staConnect.sta_mode = 0 -# staConnect.upstream_resource = 1 -# staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] -# staConnect.radio = get_lanforge_data["lanforge_5g"] -# staConnect.resource = 1 -# staConnect.dut_ssid = profile_data["ssid_name"] -# staConnect.dut_passwd = profile_data["security_key"] -# # {'profile_name': 'Sanity-ecw5410-2G_WPA_BRIDGE', 'ssid_name': 'Sanity-ecw5410-2G_WPA_BRIDGE', 'vlan': 1, -# # 'mode': 'BRIDGE', 'security_key': '2G-WPA_BRIDGE'} -# staConnect.dut_security = profile_data["security_key"].split("-")[1].split("_")[0].lower() -# staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] -# staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] -# staConnect.runtime_secs = 10 -# staConnect.bringup_time_sec = 60 -# staConnect.cleanup_on_exit = True -# # staConnect.cleanup() -# staConnect.setup() -# staConnect.start() -# print("napping %f sec" % staConnect.runtime_secs) -# time.sleep(staConnect.runtime_secs) -# staConnect.stop() -# staConnect.cleanup() -# run_results = staConnect.get_result_list() -# for result in run_results: -# print("test result: " + result) -# # result = 'pass' -# print("Single Client Connectivity :", staConnect.passes) -# assert staConnect.passes() -# # C2420 -# assert True -# -# @pytest.mark.bridge -# @pytest.mark.wpa -# @pytest.mark.fiveg -# def test_single_client_wpa_5g(self, setup_cloudsdk, upgrade_firmware, setup_bridge_mode, -# disconnect_cloudsdk, get_lanforge_data): -# profile_data = setup_bridge_mode[3]['wpa']['5g'] -# staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), -# debug_=False) -# staConnect.sta_mode = 0 -# staConnect.upstream_resource = 1 -# staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] -# staConnect.radio = get_lanforge_data["lanforge_5g"] -# staConnect.resource = 1 -# staConnect.dut_ssid = profile_data["ssid_name"] -# staConnect.dut_passwd = profile_data["security_key"] -# staConnect.dut_security = profile_data["security_key"].split("-")[1].split("_")[0].lower() -# staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] -# staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] -# staConnect.runtime_secs = 10 -# staConnect.bringup_time_sec = 60 -# staConnect.cleanup_on_exit = True -# # staConnect.cleanup() -# staConnect.setup() -# staConnect.start() -# print("napping %f sec" % staConnect.runtime_secs) -# time.sleep(staConnect.runtime_secs) -# staConnect.stop() -# staConnect.cleanup() -# run_results = staConnect.get_result_list() -# for result in run_results: -# print("test result: " + result) -# # result = 'pass' -# print("Single Client Connectivity :", staConnect.passes) -# assert staConnect.passes() -# # C2419 -# -# @pytest.mark.bridge -# @pytest.mark.wpa2_personal -# @pytest.mark.twog -# def test_single_client_wpa2_personal_2g(self, setup_cloudsdk, upgrade_firmware, setup_bridge_mode, -# disconnect_cloudsdk, get_lanforge_data): -# profile_data = setup_bridge_mode[3]['wpa2_personal']['2g'] -# staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), -# debug_=False) -# staConnect.sta_mode = 0 -# staConnect.upstream_resource = 1 -# staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] -# staConnect.radio = get_lanforge_data["lanforge_5g"] -# staConnect.resource = 1 -# staConnect.dut_ssid = profile_data["ssid_name"] -# staConnect.dut_passwd = profile_data["security_key"] -# staConnect.dut_security = profile_data["security_key"].split("-")[1].split("_")[0].lower() -# staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] -# staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] -# staConnect.runtime_secs = 10 -# staConnect.bringup_time_sec = 60 -# staConnect.cleanup_on_exit = True -# # staConnect.cleanup() -# staConnect.setup() -# staConnect.start() -# print("napping %f sec" % staConnect.runtime_secs) -# time.sleep(staConnect.runtime_secs) -# staConnect.stop() -# staConnect.cleanup() -# run_results = staConnect.get_result_list() -# for result in run_results: -# print("test result: " + result) -# # result = 'pass' -# print("Single Client Connectivity :", staConnect.passes) -# assert staConnect.passes() -# # C2237 -# -# @pytest.mark.bridge -# @pytest.mark.wpa2_personal -# @pytest.mark.fiveg -# def test_single_client_wpa2_personal_5g(self, setup_cloudsdk, upgrade_firmware, setup_bridge_mode, -# disconnect_cloudsdk, get_lanforge_data): -# profile_data = setup_bridge_mode[3]['wpa2_personal']['5g'] -# staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), -# debug_=False) -# staConnect.sta_mode = 0 -# staConnect.upstream_resource = 1 -# staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] -# staConnect.radio = get_lanforge_data["lanforge_5g"] -# staConnect.resource = 1 -# staConnect.dut_ssid = profile_data["ssid_name"] -# staConnect.dut_passwd = profile_data["security_key"] -# staConnect.dut_security = profile_data["security_key"].split("-")[1].split("_")[0].lower() -# staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] -# staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] -# staConnect.runtime_secs = 10 -# staConnect.bringup_time_sec = 60 -# staConnect.cleanup_on_exit = True -# # staConnect.cleanup() -# staConnect.setup() -# staConnect.start() -# print("napping %f sec" % staConnect.runtime_secs) -# time.sleep(staConnect.runtime_secs) -# staConnect.stop() -# staConnect.cleanup() -# run_results = staConnect.get_result_list() -# for result in run_results: -# print("test result: " + result) -# # result = 'pass' -# print("Single Client Connectivity :", staConnect.passes) -# assert staConnect.passes() -# # C2236 -# -# @pytest.mark.bridge -# @pytest.mark.wpa2_enterprise -# @pytest.mark.twog -# def test_single_client_wpa2_enterprise_2g(self, setup_cloudsdk, upgrade_firmware, setup_bridge_mode, -# disconnect_cloudsdk, get_lanforge_data): -# profile_data = setup_bridge_mode[3]['wpa2_enterprise']['2g'] -# eap_connect = EAPConnect(get_lanforge_data["lanforge_ip"], get_lanforge_data["lanforge-port-number"]) -# eap_connect.upstream_resource = 1 -# eap_connect.upstream_port = get_lanforge_data["lanforge_bridge_port"] -# eap_connect.security = "wpa2" -# eap_connect.sta_list = [get_lanforge_data["lanforge_5g_station"]] -# eap_connect.station_names = [get_lanforge_data["lanforge_5g_station"]] -# eap_connect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] -# eap_connect.ssid = profile_data["ssid_name"] -# eap_connect.radio = get_lanforge_data["lanforge_5g"] -# eap_connect.eap = "TTLS" -# eap_connect.identity = "nolaradius" -# eap_connect.ttls_passwd = "nolastart" -# eap_connect.runtime_secs = 10 -# eap_connect.setup() -# eap_connect.start() -# print("napping %f sec" % eap_connect.runtime_secs) -# time.sleep(eap_connect.runtime_secs) -# eap_connect.stop() -# eap_connect.cleanup() -# run_results = eap_connect.get_result_list() -# for result in run_results: -# print("test result: " + result) -# # result = 'pass' -# print("Single Client Connectivity :", eap_connect.passes) -# assert eap_connect.passes() -# # C5214 -# -# @pytest.mark.bridge -# @pytest.mark.wpa2_enterprise -# @pytest.mark.fiveg -# def test_single_client_wpa2_enterprise_5g(self, get_lanforge_data, create_wpa_ssid_2g_profile_bridge): -# profile_data = setup_bridge_mode[3]['wpa2_enterprise']['5g'] -# eap_connect = EAPConnect(get_lanforge_data["lanforge_ip"], get_lanforge_data["lanforge-port-number"]) -# eap_connect.upstream_resource = 1 -# eap_connect.upstream_port = get_lanforge_data["lanforge_bridge_port"] -# eap_connect.security = "wpa2" -# eap_connect.sta_list = [get_lanforge_data["lanforge_5g_station"]] -# eap_connect.station_names = [get_lanforge_data["lanforge_5g_station"]] -# eap_connect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] -# eap_connect.ssid = profile_data["ssid_name"] -# eap_connect.radio = get_lanforge_data["lanforge_5g"] -# eap_connect.eap = "TTLS" -# eap_connect.identity = "nolaradius" -# eap_connect.ttls_passwd = "nolastart" -# eap_connect.runtime_secs = 10 -# eap_connect.setup() -# eap_connect.start() -# print("napping %f sec" % eap_connect.runtime_secs) -# time.sleep(eap_connect.runtime_secs) -# eap_connect.stop() -# eap_connect.cleanup() -# run_results = eap_connect.get_result_list() -# for result in run_results: -# print("test result: " + result) -# # result = 'pass' -# print("Single Client Connectivity :", eap_connect.passes) -# assert eap_connect.passes() -# # C5215 +import pytest +import sys + +for folder in 'py-json', 'py-scripts': + if folder not in sys.path: + sys.path.append(f'../lanforge/lanforge-scripts/{folder}') + +sys.path.append(f"../lanforge/lanforge-scripts/py-scripts/tip-cicd-sanity") + +sys.path.append(f'../libs') +sys.path.append(f'../libs/lanforge/') + +from LANforge.LFUtils import * + +if 'py-json' not in sys.path: + sys.path.append('../py-scripts') + +import sta_connect2 +from sta_connect2 import StaConnect2 +import eap_connect +from eap_connect import EAPConnect +import time + + +@pytest.mark.run(order=13) +@pytest.mark.bridge +class TestBridgeModeClientConnectivity(object): + + @pytest.mark.wpa + @pytest.mark.twog + def test_single_client_wpa_2g(self, get_lanforge_data, setup_profile_data): + profile_data = setup_profile_data["BRIDGE"]["WPA"]["2G"] + print(profile_data, get_lanforge_data) + staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), + debug_=False) + staConnect.sta_mode = 0 + staConnect.upstream_resource = 1 + staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] + staConnect.radio = get_lanforge_data["lanforge_2dot4g"] + staConnect.resource = 1 + staConnect.dut_ssid = profile_data["ssid_name"] + staConnect.dut_passwd = profile_data["security_key"] + staConnect.dut_security = "wpa" + staConnect.station_names = [get_lanforge_data["lanforge_2dot4g_station"]] + staConnect.sta_prefix = get_lanforge_data["lanforge_2dot4g_prefix"] + staConnect.runtime_secs = 10 + staConnect.bringup_time_sec = 60 + staConnect.cleanup_on_exit = True + # staConnect.cleanup() + staConnect.setup() + staConnect.start() + print("napping %f sec" % staConnect.runtime_secs) + time.sleep(staConnect.runtime_secs) + staConnect.stop() + staConnect.cleanup() + run_results = staConnect.get_result_list() + for result in run_results: + print("test result: " + result) + # result = 'pass' + print("Single Client Connectivity :", staConnect.passes) + assert staConnect.passes() + # C2420 + + @pytest.mark.wpa + @pytest.mark.fiveg + def test_single_client_wpa_5g(self, get_lanforge_data, setup_profile_data): + profile_data = setup_profile_data["BRIDGE"]["WPA"]["5G"] + print(profile_data, get_lanforge_data) + staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), + debug_=False) + staConnect.sta_mode = 0 + staConnect.upstream_resource = 1 + staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] + staConnect.radio = get_lanforge_data["lanforge_5g"] + staConnect.resource = 1 + staConnect.dut_ssid = profile_data["ssid_name"] + staConnect.dut_passwd = profile_data["security_key"] + staConnect.dut_security = "wpa" + staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] + staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] + staConnect.runtime_secs = 10 + staConnect.bringup_time_sec = 60 + staConnect.cleanup_on_exit = True + # staConnect.cleanup() + staConnect.setup() + staConnect.start() + print("napping %f sec" % staConnect.runtime_secs) + time.sleep(staConnect.runtime_secs) + staConnect.stop() + staConnect.cleanup() + run_results = staConnect.get_result_list() + for result in run_results: + print("test result: " + result) + # result = 'pass' + print("Single Client Connectivity :", staConnect.passes) + assert staConnect.passes() + # C2419 + + @pytest.mark.wpa2_personal + @pytest.mark.twog + def test_single_client_wpa2_personal_2g(self, get_lanforge_data, setup_profile_data): + profile_data = setup_profile_data["BRIDGE"]["WPA2_P"]["2G"] + staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), + debug_=False) + staConnect.sta_mode = 0 + staConnect.upstream_resource = 1 + staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] + staConnect.radio = get_lanforge_data["lanforge_2dot4g"] + staConnect.resource = 1 + staConnect.dut_ssid = profile_data["ssid_name"] + staConnect.dut_passwd = profile_data["security_key"] + staConnect.dut_security = "wpa2" + staConnect.station_names = [get_lanforge_data["lanforge_2dot4g_station"]] + staConnect.sta_prefix = get_lanforge_data["lanforge_2dot4g_prefix"] + staConnect.runtime_secs = 10 + staConnect.bringup_time_sec = 60 + staConnect.cleanup_on_exit = True + # staConnect.cleanup() + staConnect.setup() + staConnect.start() + print("napping %f sec" % staConnect.runtime_secs) + time.sleep(staConnect.runtime_secs) + staConnect.stop() + staConnect.cleanup() + run_results = staConnect.get_result_list() + for result in run_results: + print("test result: " + result) + # result = 'pass' + print("Single Client Connectivity :", staConnect.passes) + assert staConnect.passes() + # C2237 + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + def test_single_client_wpa2_personal_5g(self, get_lanforge_data, setup_profile_data): + profile_data = setup_profile_data["BRIDGE"]["WPA2_P"]["5G"] + staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), + debug_=False) + staConnect.sta_mode = 0 + staConnect.upstream_resource = 1 + staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] + staConnect.radio = get_lanforge_data["lanforge_5g"] + staConnect.resource = 1 + staConnect.dut_ssid = profile_data["ssid_name"] + staConnect.dut_passwd = profile_data["security_key"] + staConnect.dut_security = "wpa2" + staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] + staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] + staConnect.runtime_secs = 10 + staConnect.bringup_time_sec = 60 + staConnect.cleanup_on_exit = True + # staConnect.cleanup() + staConnect.setup() + staConnect.start() + print("napping %f sec" % staConnect.runtime_secs) + time.sleep(staConnect.runtime_secs) + staConnect.stop() + staConnect.cleanup() + run_results = staConnect.get_result_list() + for result in run_results: + print("test result: " + result) + # result = 'pass' + print("Single Client Connectivity :", staConnect.passes) + assert staConnect.passes() + # C2236 + + @pytest.mark.wpa2_enterprise + @pytest.mark.twog + def test_single_client_wpa2_enterprise_2g(self, get_lanforge_data, setup_profile_data): + profile_data = setup_profile_data["BRIDGE"]["WPA2_E"]["2G"] + eap_connect = EAPConnect(get_lanforge_data["lanforge_ip"], get_lanforge_data["lanforge-port-number"]) + eap_connect.upstream_resource = 1 + eap_connect.upstream_port = get_lanforge_data["lanforge_bridge_port"] + eap_connect.security = "wpa2" + eap_connect.sta_list = [get_lanforge_data["lanforge_2dot4g_station"]] + eap_connect.station_names = [get_lanforge_data["lanforge_2dot4g_station"]] + eap_connect.sta_prefix = get_lanforge_data["lanforge_2dot4g_prefix"] + eap_connect.ssid = profile_data["ssid_name"] + eap_connect.radio = get_lanforge_data["lanforge_2dot4g"] + eap_connect.eap = "TTLS" + eap_connect.identity = "nolaradius" + eap_connect.ttls_passwd = "nolastart" + eap_connect.runtime_secs = 10 + eap_connect.setup() + eap_connect.start() + print("napping %f sec" % eap_connect.runtime_secs) + time.sleep(eap_connect.runtime_secs) + eap_connect.stop() + eap_connect.cleanup() + run_results = eap_connect.get_result_list() + for result in run_results: + print("test result: " + result) + # result = 'pass' + print("Single Client Connectivity :", eap_connect.passes) + assert eap_connect.passes() + # C5214 + + @pytest.mark.wpa2_enterprise + @pytest.mark.fiveg + def test_single_client_wpa2_enterprise_5g(self, get_lanforge_data, setup_profile_data): + profile_data = setup_profile_data["BRIDGE"]["WPA2_E"]["5G"] + eap_connect = EAPConnect(get_lanforge_data["lanforge_ip"], get_lanforge_data["lanforge-port-number"]) + eap_connect.upstream_resource = 1 + eap_connect.upstream_port = get_lanforge_data["lanforge_bridge_port"] + eap_connect.security = "wpa2" + eap_connect.sta_list = [get_lanforge_data["lanforge_5g_station"]] + eap_connect.station_names = [get_lanforge_data["lanforge_5g_station"]] + eap_connect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] + eap_connect.ssid = profile_data["ssid_name"] + eap_connect.radio = get_lanforge_data["lanforge_5g"] + eap_connect.eap = "TTLS" + eap_connect.identity = "nolaradius" + eap_connect.ttls_passwd = "nolastart" + eap_connect.runtime_secs = 10 + eap_connect.setup() + eap_connect.start() + print("napping %f sec" % eap_connect.runtime_secs) + time.sleep(eap_connect.runtime_secs) + eap_connect.stop() + eap_connect.cleanup() + run_results = eap_connect.get_result_list() + for result in run_results: + print("test result: " + result) + # result = 'pass' + print("Single Client Connectivity :", eap_connect.passes) + assert eap_connect.passes() + # # C5215 diff --git a/tests/client_connectivity/test_nat_mode.py b/tests/client_connectivity/test_nat_mode.py index 469b9bf66..e09601047 100644 --- a/tests/client_connectivity/test_nat_mode.py +++ b/tests/client_connectivity/test_nat_mode.py @@ -1,236 +1,227 @@ -# import pytest -# import sys -# -# for folder in 'py-json', 'py-scripts': -# if folder not in sys.path: -# sys.path.append(f'../lanforge/lanforge-scripts/{folder}') -# -# sys.path.append(f"../lanforge/lanforge-scripts/py-scripts/tip-cicd-something") -# -# sys.path.append(f'../libs') -# sys.path.append(f'../libs/lanforge/') -# -# from LANforge.LFUtils import * -# -# if 'py-json' not in sys.path: -# sys.path.append('../py-scripts') -# -# import sta_connect2 -# from sta_connect2 import StaConnect2 -# import eap_connect -# from eap_connect import EAPConnect -# import time -# -# class TestNATModeClientConnectivity(object): -# -# @pytest.mark.something -# @pytest.mark.nat -# @pytest.mark.wpa2_personal -# @pytest.mark.wpa2_personal_5g -# def test_single_client_wpa2_personal_5g(self, setup_cloudsdk, upgrade_firmware, setup_nat_mode, -# disconnect_cloudsdk, get_lanforge_data): -# profile_data = setup_nat_mode[3]['wpa2_personal']['5g'] -# staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), debug_=False) -# staConnect.sta_mode = 0 -# staConnect.upstream_resource = 1 -# staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] -# staConnect.radio = get_lanforge_data["lanforge_5g"] -# staConnect.resource = 1 -# staConnect.dut_ssid = profile_data["ssid_name"] -# staConnect.dut_passwd = profile_data["security_key"] -# staConnect.dut_security = profile_data["security_key"].split("-")[1].split("_")[0].lower() -# staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] -# staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] -# staConnect.runtime_secs = 10 -# staConnect.bringup_time_sec = 60 -# staConnect.cleanup_on_exit = True -# # staConnect.cleanup() -# staConnect.setup() -# staConnect.start() -# print("napping %f sec" % staConnect.runtime_secs) -# time.sleep(staConnect.runtime_secs) -# staConnect.stop() -# staConnect.cleanup() -# run_results = staConnect.get_result_list() -# for result in run_results: -# print("test result: " + result) -# # result = 'pass' -# print("Single Client Connectivity :", staConnect.passes) -# assert staConnect.passes() -# # C4326 -# -# @pytest.mark.something -# @pytest.mark.nat -# @pytest.mark.wpa2_personal -# @pytest.mark.wpa2_personal_2g -# def test_single_client_wpa2_personal_2g(self, setup_cloudsdk, upgrade_firmware, setup_nat_mode, -# disconnect_cloudsdk, get_lanforge_data): -# profile_data = setup_nat_mode[3]['wpa2_personal']['2g'] -# staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), debug_=False) -# staConnect.sta_mode = 0 -# staConnect.upstream_resource = 1 -# staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] -# staConnect.radio = get_lanforge_data["lanforge_5g"] -# staConnect.resource = 1 -# staConnect.dut_ssid = profile_data["ssid_name"] -# staConnect.dut_passwd = profile_data["security_key"] -# staConnect.dut_security = profile_data["security_key"].split("-")[1].split("_")[0].lower() -# staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] -# staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] -# staConnect.runtime_secs = 10 -# staConnect.bringup_time_sec = 60 -# staConnect.cleanup_on_exit = True -# # staConnect.cleanup() -# staConnect.setup() -# staConnect.start() -# print("napping %f sec" % staConnect.runtime_secs) -# time.sleep(staConnect.runtime_secs) -# staConnect.stop() -# staConnect.cleanup() -# run_results = staConnect.get_result_list() -# for result in run_results: -# print("test result: " + result) -# # result = 'pass' -# print("Single Client Connectivity :", staConnect.passes) -# assert staConnect.passes() -# # C4325 -# -# @pytest.mark.something -# @pytest.mark.nat -# @pytest.mark.wpa -# @pytest.mark.wpa_5g -# def test_single_client_wpa_5g(self, setup_cloudsdk, upgrade_firmware, setup_nat_mode, -# disconnect_cloudsdk, get_lanforge_data): -# profile_data = setup_nat_mode[3]['wpa']['5g'] -# staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), debug_=False) -# staConnect.sta_mode = 0 -# staConnect.upstream_resource = 1 -# staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] -# staConnect.radio = get_lanforge_data["lanforge_5g"] -# staConnect.resource = 1 -# staConnect.dut_ssid = profile_data["ssid_name"] -# staConnect.dut_passwd = profile_data["security_key"] -# staConnect.dut_security = profile_data["security_key"].split("-")[1].split("_")[0].lower() -# staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] -# staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] -# staConnect.runtime_secs = 10 -# staConnect.bringup_time_sec = 60 -# staConnect.cleanup_on_exit = True -# # staConnect.cleanup() -# staConnect.setup() -# staConnect.start() -# print("napping %f sec" % staConnect.runtime_secs) -# time.sleep(staConnect.runtime_secs) -# staConnect.stop() -# staConnect.cleanup() -# run_results = staConnect.get_result_list() -# for result in run_results: -# print("test result: " + result) -# # result = 'pass' -# print("Single Client Connectivity :", staConnect.passes) -# assert staConnect.passes() -# # C4324 -# -# @pytest.mark.something -# @pytest.mark.nat -# @pytest.mark.wpa -# @pytest.mark.wpa_2g -# def test_single_client_wpa_2g(self, setup_cloudsdk, upgrade_firmware, setup_nat_mode, -# disconnect_cloudsdk, get_lanforge_data): -# profile_data = setup_nat_mode[3]['wpa']['2g'] -# staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), debug_=False) -# staConnect.sta_mode = 0 -# staConnect.upstream_resource = 1 -# staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] -# staConnect.radio = get_lanforge_data["lanforge_5g"] -# staConnect.resource = 1 -# staConnect.dut_ssid = profile_data["ssid_name"] -# staConnect.dut_passwd = profile_data["security_key"] -# staConnect.dut_security = profile_data["security_key"].split("-")[1].split("_")[0].lower() -# staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] -# staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] -# staConnect.runtime_secs = 10 -# staConnect.bringup_time_sec = 60 -# staConnect.cleanup_on_exit = True -# # staConnect.cleanup() -# staConnect.setup() -# staConnect.start() -# print("napping %f sec" % staConnect.runtime_secs) -# time.sleep(staConnect.runtime_secs) -# staConnect.stop() -# staConnect.cleanup() -# run_results = staConnect.get_result_list() -# for result in run_results: -# print("test result: " + result) -# # result = 'pass' -# print("Single Client Connectivity :", staConnect.passes) -# assert staConnect.passes() -# # C4323 -# -# @pytest.mark.something -# @pytest.mark.nat -# @pytest.mark.wpa2_enterprise -# @pytest.mark.wpa2_enterprise_5g -# def test_single_client_wpa2_enterprise_5g(self, setup_cloudsdk, upgrade_firmware, setup_nat_mode, -# disconnect_cloudsdk, get_lanforge_data): -# profile_data = setup_nat_mode[3]['wpa2_enterprise']['5g'] -# eap_connect = EAPConnect(get_lanforge_data["lanforge_ip"], get_lanforge_data["lanforge-port-number"]) -# eap_connect.upstream_resource = 1 -# eap_connect.upstream_port = get_lanforge_data["lanforge_bridge_port"] -# eap_connect.security = "wpa2" -# eap_connect.sta_list = [get_lanforge_data["lanforge_5g_station"]] -# eap_connect.station_names = [get_lanforge_data["lanforge_5g_station"]] -# eap_connect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] -# eap_connect.ssid = profile_data["ssid_name"] -# eap_connect.radio = get_lanforge_data["lanforge_5g"] -# eap_connect.eap = "TTLS" -# eap_connect.identity = "nolaradius" -# eap_connect.ttls_passwd = "nolastart" -# eap_connect.runtime_secs = 10 -# eap_connect.setup() -# eap_connect.start() -# print("napping %f sec" % eap_connect.runtime_secs) -# time.sleep(eap_connect.runtime_secs) -# eap_connect.stop() -# eap_connect.cleanup() -# run_results = eap_connect.get_result_list() -# for result in run_results: -# print("test result: " + result) -# # result = 'pass' -# print("Single Client Connectivity :", eap_connect.passes) -# assert eap_connect.passes() -# # C5217 -# -# @pytest.mark.something -# @pytest.mark.nat -# @pytest.mark.wpa2_enterprise -# @pytest.mark.wpa2_enterprise_2g -# def test_single_client_wpa2_enterprise_2g(self, setup_cloudsdk, upgrade_firmware, setup_nat_mode, -# disconnect_cloudsdk, get_lanforge_data): -# profile_data = setup_nat_mode[3]['wpa2_enterprise']['2g'] -# eap_connect = EAPConnect(get_lanforge_data["lanforge_ip"], get_lanforge_data["lanforge-port-number"]) -# eap_connect.upstream_resource = 1 -# eap_connect.upstream_port = get_lanforge_data["lanforge_bridge_port"] -# eap_connect.security = "wpa2" -# eap_connect.sta_list = [get_lanforge_data["lanforge_5g_station"]] -# eap_connect.station_names = [get_lanforge_data["lanforge_5g_station"]] -# eap_connect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] -# eap_connect.ssid = profile_data["ssid_name"] -# eap_connect.radio = get_lanforge_data["lanforge_5g"] -# eap_connect.eap = "TTLS" -# eap_connect.identity = "nolaradius" -# eap_connect.ttls_passwd = "nolastart" -# eap_connect.runtime_secs = 10 -# eap_connect.setup() -# eap_connect.start() -# print("napping %f sec" % eap_connect.runtime_secs) -# time.sleep(eap_connect.runtime_secs) -# eap_connect.stop() -# eap_connect.cleanup() -# run_results = eap_connect.get_result_list() -# for result in run_results: -# print("test result: " + result) -# # result = 'pass' -# print("Single Client Connectivity :", eap_connect.passes) -# assert eap_connect.passes() -# # C5216 +import pytest +import sys + +for folder in 'py-json', 'py-scripts': + if folder not in sys.path: + sys.path.append(f'../lanforge/lanforge-scripts/{folder}') + +sys.path.append(f"../lanforge/lanforge-scripts/py-scripts/tip-cicd-something") + +sys.path.append(f'../libs') +sys.path.append(f'../libs/lanforge/') + +from LANforge.LFUtils import * + +if 'py-json' not in sys.path: + sys.path.append('../py-scripts') + +import sta_connect2 +from sta_connect2 import StaConnect2 +import eap_connect +from eap_connect import EAPConnect +import time + + +@pytest.mark.run(order=19) +@pytest.mark.nat +class TestNATModeClientConnectivity(object): + + @pytest.mark.wpa + @pytest.mark.twog + def test_single_client_wpa_2g(self, get_lanforge_data, setup_profile_data): + profile_data = setup_profile_data["NAT"]["WPA"]["2G"] + print(profile_data, get_lanforge_data) + staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), + debug_=False) + staConnect.sta_mode = 0 + staConnect.upstream_resource = 1 + staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] + staConnect.radio = get_lanforge_data["lanforge_2dot4g"] + staConnect.resource = 1 + staConnect.dut_ssid = profile_data["ssid_name"] + staConnect.dut_passwd = profile_data["security_key"] + staConnect.dut_security = "wpa" + staConnect.station_names = [get_lanforge_data["lanforge_2dot4g_station"]] + staConnect.sta_prefix = get_lanforge_data["lanforge_2dot4g_prefix"] + staConnect.runtime_secs = 10 + staConnect.bringup_time_sec = 60 + staConnect.cleanup_on_exit = True + # staConnect.cleanup() + staConnect.setup() + staConnect.start() + print("napping %f sec" % staConnect.runtime_secs) + time.sleep(staConnect.runtime_secs) + staConnect.stop() + staConnect.cleanup() + run_results = staConnect.get_result_list() + for result in run_results: + print("test result: " + result) + # result = 'pass' + print("Single Client Connectivity :", staConnect.passes) + assert staConnect.passes() + # C2420 + + @pytest.mark.wpa + @pytest.mark.fiveg + def test_single_client_wpa_5g(self, get_lanforge_data, setup_profile_data): + profile_data = setup_profile_data["NAT"]["WPA"]["5G"] + print(profile_data, get_lanforge_data) + staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), + debug_=False) + staConnect.sta_mode = 0 + staConnect.upstream_resource = 1 + staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] + staConnect.radio = get_lanforge_data["lanforge_5g"] + staConnect.resource = 1 + staConnect.dut_ssid = profile_data["ssid_name"] + staConnect.dut_passwd = profile_data["security_key"] + staConnect.dut_security = "wpa" + staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] + staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] + staConnect.runtime_secs = 10 + staConnect.bringup_time_sec = 60 + staConnect.cleanup_on_exit = True + # staConnect.cleanup() + staConnect.setup() + staConnect.start() + print("napping %f sec" % staConnect.runtime_secs) + time.sleep(staConnect.runtime_secs) + staConnect.stop() + staConnect.cleanup() + run_results = staConnect.get_result_list() + for result in run_results: + print("test result: " + result) + # result = 'pass' + print("Single Client Connectivity :", staConnect.passes) + assert staConnect.passes() + # C2419 + + @pytest.mark.wpa2_personal + @pytest.mark.twog + def test_single_client_wpa2_personal_2g(self, get_lanforge_data, setup_profile_data): + profile_data = setup_profile_data["NAT"]["WPA2_P"]["2G"] + staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), + debug_=False) + staConnect.sta_mode = 0 + staConnect.upstream_resource = 1 + staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] + staConnect.radio = get_lanforge_data["lanforge_2dot4g"] + staConnect.resource = 1 + staConnect.dut_ssid = profile_data["ssid_name"] + staConnect.dut_passwd = profile_data["security_key"] + staConnect.dut_security = "wpa2" + staConnect.station_names = [get_lanforge_data["lanforge_2dot4g_station"]] + staConnect.sta_prefix = get_lanforge_data["lanforge_2dot4g_prefix"] + staConnect.runtime_secs = 10 + staConnect.bringup_time_sec = 60 + staConnect.cleanup_on_exit = True + # staConnect.cleanup() + staConnect.setup() + staConnect.start() + print("napping %f sec" % staConnect.runtime_secs) + time.sleep(staConnect.runtime_secs) + staConnect.stop() + staConnect.cleanup() + run_results = staConnect.get_result_list() + for result in run_results: + print("test result: " + result) + # result = 'pass' + print("Single Client Connectivity :", staConnect.passes) + assert staConnect.passes() + # C2237 + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + def test_single_client_wpa2_personal_5g(self, get_lanforge_data, setup_profile_data): + profile_data = setup_profile_data["NAT"]["WPA2_P"]["5G"] + staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), + debug_=False) + staConnect.sta_mode = 0 + staConnect.upstream_resource = 1 + staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] + staConnect.radio = get_lanforge_data["lanforge_5g"] + staConnect.resource = 1 + staConnect.dut_ssid = profile_data["ssid_name"] + staConnect.dut_passwd = profile_data["security_key"] + staConnect.dut_security = "wpa2" + staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] + staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] + staConnect.runtime_secs = 10 + staConnect.bringup_time_sec = 60 + staConnect.cleanup_on_exit = True + # staConnect.cleanup() + staConnect.setup() + staConnect.start() + print("napping %f sec" % staConnect.runtime_secs) + time.sleep(staConnect.runtime_secs) + staConnect.stop() + staConnect.cleanup() + run_results = staConnect.get_result_list() + for result in run_results: + print("test result: " + result) + # result = 'pass' + print("Single Client Connectivity :", staConnect.passes) + assert staConnect.passes() + # C2236 + + @pytest.mark.wpa2_enterprise + @pytest.mark.twog + def test_single_client_wpa2_enterprise_2g(self, get_lanforge_data, setup_profile_data): + profile_data = setup_profile_data["NAT"]["WPA2_E"]["2G"] + eap_connect = EAPConnect(get_lanforge_data["lanforge_ip"], get_lanforge_data["lanforge-port-number"]) + eap_connect.upstream_resource = 1 + eap_connect.upstream_port = get_lanforge_data["lanforge_bridge_port"] + eap_connect.security = "wpa2" + eap_connect.sta_list = [get_lanforge_data["lanforge_2dot4g_station"]] + eap_connect.station_names = [get_lanforge_data["lanforge_2dot4g_station"]] + eap_connect.sta_prefix = get_lanforge_data["lanforge_2dot4g_prefix"] + eap_connect.ssid = profile_data["ssid_name"] + eap_connect.radio = get_lanforge_data["lanforge_2dot4g"] + eap_connect.eap = "TTLS" + eap_connect.identity = "nolaradius" + eap_connect.ttls_passwd = "nolastart" + eap_connect.runtime_secs = 10 + eap_connect.setup() + eap_connect.start() + print("napping %f sec" % eap_connect.runtime_secs) + time.sleep(eap_connect.runtime_secs) + eap_connect.stop() + eap_connect.cleanup() + run_results = eap_connect.get_result_list() + for result in run_results: + print("test result: " + result) + # result = 'pass' + print("Single Client Connectivity :", eap_connect.passes) + assert eap_connect.passes() + # C5214 + + @pytest.mark.wpa2_enterprise + @pytest.mark.fiveg + def test_single_client_wpa2_enterprise_5g(self, get_lanforge_data, setup_profile_data): + profile_data = setup_profile_data["NAT"]["WPA2_E"]["5G"] + eap_connect = EAPConnect(get_lanforge_data["lanforge_ip"], get_lanforge_data["lanforge-port-number"]) + eap_connect.upstream_resource = 1 + eap_connect.upstream_port = get_lanforge_data["lanforge_bridge_port"] + eap_connect.security = "wpa2" + eap_connect.sta_list = [get_lanforge_data["lanforge_5g_station"]] + eap_connect.station_names = [get_lanforge_data["lanforge_5g_station"]] + eap_connect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] + eap_connect.ssid = profile_data["ssid_name"] + eap_connect.radio = get_lanforge_data["lanforge_5g"] + eap_connect.eap = "TTLS" + eap_connect.identity = "nolaradius" + eap_connect.ttls_passwd = "nolastart" + eap_connect.runtime_secs = 10 + eap_connect.setup() + eap_connect.start() + print("napping %f sec" % eap_connect.runtime_secs) + time.sleep(eap_connect.runtime_secs) + eap_connect.stop() + eap_connect.cleanup() + run_results = eap_connect.get_result_list() + for result in run_results: + print("test result: " + result) + # result = 'pass' + print("Single Client Connectivity :", eap_connect.passes) + assert eap_connect.passes() + # # C5215 diff --git a/tests/client_connectivity/test_vlan_mode.py b/tests/client_connectivity/test_vlan_mode.py index ff12ba545..da0c08397 100644 --- a/tests/client_connectivity/test_vlan_mode.py +++ b/tests/client_connectivity/test_vlan_mode.py @@ -1,243 +1,227 @@ -# import pytest -# import sys -# -# for folder in 'py-json', 'py-scripts': -# if folder not in sys.path: -# sys.path.append(f'../lanforge/lanforge-scripts/{folder}') -# -# sys.path.append(f"../lanforge/lanforge-scripts/py-scripts/tip-cicd-something") -# -# sys.path.append(f'../libs') -# sys.path.append(f'../libs/lanforge/') -# -# from LANforge.LFUtils import * -# -# if 'py-json' not in sys.path: -# sys.path.append('../py-scripts') -# -# import sta_connect2 -# from sta_connect2 import StaConnect2 -# import eap_connect -# from eap_connect import EAPConnect -# import time -# -# -# @pytest.mark.usefixtures('setup_cloudsdk') -# @pytest.mark.usefixtures('upgrade_firmware') -# class TestVLANModeClientConnectivity(object): -# -# @pytest.mark.something -# @pytest.mark.vlan -# @pytest.mark.wpa2_personal -# @pytest.mark.wpa2_personal_5g -# def test_single_client_wpa2_personal_5g(self, setup_cloudsdk, upgrade_firmware, setup_vlan_mode, -# disconnect_cloudsdk, get_lanforge_data): -# profile_data = setup_vlan_mode[3]['wpa2_personal']['5g'] -# staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), -# debug_=False) -# staConnect.sta_mode = 0 -# staConnect.upstream_resource = 1 -# staConnect.upstream_port = get_lanforge_data["lanforge_vlan_port"] -# staConnect.radio = get_lanforge_data["lanforge_5g"] -# staConnect.resource = 1 -# staConnect.dut_ssid = profile_data["ssid_name"] -# staConnect.dut_passwd = profile_data["security_key"] -# staConnect.dut_security = profile_data["security_key"].split("-")[1].split("_")[0].lower() -# staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] -# staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] -# staConnect.runtime_secs = 10 -# staConnect.bringup_time_sec = 60 -# staConnect.cleanup_on_exit = True -# # staConnect.cleanup() -# staConnect.setup() -# staConnect.start() -# print("napping %f sec" % staConnect.runtime_secs) -# time.sleep(staConnect.runtime_secs) -# staConnect.stop() -# staConnect.cleanup() -# run_results = staConnect.get_result_list() -# for result in run_results: -# print("test result: " + result) -# # result = 'pass' -# print("Single Client Connectivity :", staConnect.passes) -# assert staConnect.passes() -# # C5248 -# -# @pytest.mark.something -# @pytest.mark.vlan -# @pytest.mark.wpa2_personal -# @pytest.mark.wpa2_personal_2g -# def test_single_client_wpa2_personal_2g(self, setup_cloudsdk, upgrade_firmware, setup_vlan_mode, -# disconnect_cloudsdk, get_lanforge_data): -# profile_data = setup_vlan_mode[3]['wpa2_personal']['2g'] -# staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), -# debug_=False) -# staConnect.sta_mode = 0 -# staConnect.upstream_resource = 1 -# staConnect.upstream_port = get_lanforge_data["lanforge_vlan_port"] -# staConnect.radio = get_lanforge_data["lanforge_5g"] -# staConnect.resource = 1 -# staConnect.dut_ssid = profile_data["ssid_name"] -# staConnect.dut_passwd = profile_data["security_key"] -# staConnect.dut_security = profile_data["security_key"].split("-")[1].split("_")[0].lower() -# staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] -# staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] -# staConnect.runtime_secs = 10 -# staConnect.bringup_time_sec = 60 -# staConnect.cleanup_on_exit = True -# # staConnect.cleanup() -# staConnect.setup() -# staConnect.start() -# print("napping %f sec" % staConnect.runtime_secs) -# time.sleep(staConnect.runtime_secs) -# staConnect.stop() -# staConnect.cleanup() -# run_results = staConnect.get_result_list() -# for result in run_results: -# print("test result: " + result) -# # result = 'pass' -# print("Single Client Connectivity :", staConnect.passes) -# assert staConnect.passes() -# # C5251 -# -# @pytest.mark.something -# @pytest.mark.vlan -# @pytest.mark.wpa -# @pytest.mark.wpa_5g -# def test_single_client_wpa_5g(self, setup_cloudsdk, upgrade_firmware, setup_vlan_mode, -# disconnect_cloudsdk, get_lanforge_data): -# profile_data = setup_vlan_mode[3]['wpa']['5g'] -# staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), -# debug_=False) -# staConnect.sta_mode = 0 -# staConnect.upstream_resource = 1 -# staConnect.upstream_port = get_lanforge_data["lanforge_vlan_port"] -# staConnect.radio = get_lanforge_data["lanforge_5g"] -# staConnect.resource = 1 -# staConnect.dut_ssid = profile_data["ssid_name"] -# staConnect.dut_passwd = profile_data["security_key"] -# staConnect.dut_security = profile_data["security_key"].split("-")[1].split("_")[0].lower() -# staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] -# staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] -# staConnect.runtime_secs = 10 -# staConnect.bringup_time_sec = 60 -# staConnect.cleanup_on_exit = True -# # staConnect.cleanup() -# staConnect.setup() -# staConnect.start() -# print("napping %f sec" % staConnect.runtime_secs) -# time.sleep(staConnect.runtime_secs) -# staConnect.stop() -# staConnect.cleanup() -# run_results = staConnect.get_result_list() -# for result in run_results: -# print("test result: " + result) -# # result = 'pass' -# print("Single Client Connectivity :", staConnect.passes) -# assert staConnect.passes() -# # C5249 -# -# @pytest.mark.something -# @pytest.mark.vlan -# @pytest.mark.wpa -# @pytest.mark.wpa_2g -# def test_single_client_wpa_2g(self, setup_cloudsdk, upgrade_firmware, setup_vlan_mode, -# disconnect_cloudsdk, get_lanforge_data): -# profile_data = setup_vlan_mode[3]['wpa']['2g'] -# staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), -# debug_=False) -# staConnect.sta_mode = 0 -# staConnect.upstream_resource = 1 -# staConnect.upstream_port = get_lanforge_data["lanforge_vlan_port"] -# staConnect.radio = get_lanforge_data["lanforge_5g"] -# staConnect.resource = 1 -# staConnect.dut_ssid = profile_data["ssid_name"] -# staConnect.dut_passwd = profile_data["security_key"] -# staConnect.dut_security = profile_data["security_key"].split("-")[1].split("_")[0].lower() -# staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] -# staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] -# staConnect.runtime_secs = 10 -# staConnect.bringup_time_sec = 60 -# staConnect.cleanup_on_exit = True -# # staConnect.cleanup() -# staConnect.setup() -# staConnect.start() -# print("napping %f sec" % staConnect.runtime_secs) -# time.sleep(staConnect.runtime_secs) -# staConnect.stop() -# staConnect.cleanup() -# run_results = staConnect.get_result_list() -# for result in run_results: -# print("test result: " + result) -# # result = 'pass' -# print("Single Client Connectivity :", staConnect.passes) -# assert staConnect.passes() -# # C5252 -# -# @pytest.mark.something -# @pytest.mark.vlan -# @pytest.mark.wpa2_enterprise -# @pytest.mark.wpa2_enterprise_5g -# def test_single_client_wpa2_enterprise_5g(self, setup_cloudsdk, upgrade_firmware, setup_vlan_mode, -# disconnect_cloudsdk, get_lanforge_data): -# profile_data = setup_vlan_mode[3]['wpa2_enterprise']['5g'] -# eap_connect = EAPConnect(get_lanforge_data["lanforge_ip"], get_lanforge_data["lanforge-port-number"]) -# eap_connect.upstream_resource = 1 -# eap_connect.upstream_port = get_lanforge_data["lanforge_vlan_port"] -# eap_connect.security = "wpa2" -# eap_connect.sta_list = [get_lanforge_data["lanforge_5g_station"]] -# eap_connect.station_names = [get_lanforge_data["lanforge_5g_station"]] -# eap_connect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] -# eap_connect.ssid = profile_data["ssid_name"] -# eap_connect.radio = get_lanforge_data["lanforge_5g"] -# eap_connect.eap = "TTLS" -# eap_connect.identity = "nolaradius" -# eap_connect.ttls_passwd = "nolastart" -# eap_connect.runtime_secs = 10 -# eap_connect.setup() -# eap_connect.start() -# print("napping %f sec" % eap_connect.runtime_secs) -# time.sleep(eap_connect.runtime_secs) -# eap_connect.stop() -# eap_connect.cleanup() -# run_results = eap_connect.get_result_list() -# for result in run_results: -# print("test result: " + result) -# # result = 'pass' -# print("Single Client Connectivity :", eap_connect.passes) -# assert eap_connect.passes() -# # C5250 -# -# @pytest.mark.something -# @pytest.mark.vlan -# @pytest.mark.wpa2_enterprise -# @pytest.mark.wpa2_enterprise_2g -# def test_single_client_wpa2_enterprise_2g(self, setup_cloudsdk, upgrade_firmware, setup_vlan_mode, -# disconnect_cloudsdk, get_lanforge_data): -# profile_data = setup_vlan_mode[3]['wpa2_enterprise']['2g'] -# eap_connect = EAPConnect(get_lanforge_data["lanforge_ip"], get_lanforge_data["lanforge-port-number"]) -# eap_connect.upstream_resource = 1 -# eap_connect.upstream_port = get_lanforge_data["lanforge_vlan_port"] -# eap_connect.security = "wpa2" -# eap_connect.sta_list = [get_lanforge_data["lanforge_5g_station"]] -# eap_connect.station_names = [get_lanforge_data["lanforge_5g_station"]] -# eap_connect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] -# eap_connect.ssid = profile_data["ssid_name"] -# eap_connect.radio = get_lanforge_data["lanforge_5g"] -# eap_connect.eap = "TTLS" -# eap_connect.identity = "nolaradius" -# eap_connect.ttls_passwd = "nolastart" -# eap_connect.runtime_secs = 10 -# eap_connect.setup() -# eap_connect.start() -# print("napping %f sec" % eap_connect.runtime_secs) -# time.sleep(eap_connect.runtime_secs) -# eap_connect.stop() -# eap_connect.cleanup() -# run_results = eap_connect.get_result_list() -# for result in run_results: -# print("test result: " + result) -# # result = 'pass' -# print("Single Client Connectivity :", eap_connect.passes) -# assert eap_connect.passes() -# # C5253 +import pytest +import sys + +for folder in 'py-json', 'py-scripts': + if folder not in sys.path: + sys.path.append(f'../lanforge/lanforge-scripts/{folder}') + +sys.path.append(f"../lanforge/lanforge-scripts/py-scripts/tip-cicd-something") + +sys.path.append(f'../libs') +sys.path.append(f'../libs/lanforge/') + +from LANforge.LFUtils import * + +if 'py-json' not in sys.path: + sys.path.append('../py-scripts') + +import sta_connect2 +from sta_connect2 import StaConnect2 +import eap_connect +from eap_connect import EAPConnect +import time + + +@pytest.mark.run(order=22) +@pytest.mark.vlan +class TestVlanModeClientConnectivity(object): + + @pytest.mark.wpa + @pytest.mark.twog + def test_single_client_wpa_2g(self, get_lanforge_data, setup_profile_data): + profile_data = setup_profile_data["VLAN"]["WPA"]["2G"] + print(profile_data, get_lanforge_data) + staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), + debug_=False) + staConnect.sta_mode = 0 + staConnect.upstream_resource = 1 + staConnect.upstream_port = get_lanforge_data["lanforge_vlan_port"] + staConnect.radio = get_lanforge_data["lanforge_2dot4g"] + staConnect.resource = 1 + staConnect.dut_ssid = profile_data["ssid_name"] + staConnect.dut_passwd = profile_data["security_key"] + staConnect.dut_security = "wpa" + staConnect.station_names = [get_lanforge_data["lanforge_2dot4g_station"]] + staConnect.sta_prefix = get_lanforge_data["lanforge_2dot4g_prefix"] + staConnect.runtime_secs = 10 + staConnect.bringup_time_sec = 60 + staConnect.cleanup_on_exit = True + # staConnect.cleanup() + staConnect.setup() + staConnect.start() + print("napping %f sec" % staConnect.runtime_secs) + time.sleep(staConnect.runtime_secs) + staConnect.stop() + staConnect.cleanup() + run_results = staConnect.get_result_list() + for result in run_results: + print("test result: " + result) + # result = 'pass' + print("Single Client Connectivity :", staConnect.passes) + assert staConnect.passes() + # C2420 + + @pytest.mark.wpa + @pytest.mark.fiveg + def test_single_client_wpa_5g(self, get_lanforge_data, setup_profile_data): + profile_data = setup_profile_data["VLAN"]["WPA"]["5G"] + print(profile_data, get_lanforge_data) + staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), + debug_=False) + staConnect.sta_mode = 0 + staConnect.upstream_resource = 1 + staConnect.upstream_port = get_lanforge_data["lanforge_vlan_port"] + staConnect.radio = get_lanforge_data["lanforge_5g"] + staConnect.resource = 1 + staConnect.dut_ssid = profile_data["ssid_name"] + staConnect.dut_passwd = profile_data["security_key"] + staConnect.dut_security = "wpa" + staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] + staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] + staConnect.runtime_secs = 10 + staConnect.bringup_time_sec = 60 + staConnect.cleanup_on_exit = True + # staConnect.cleanup() + staConnect.setup() + staConnect.start() + print("napping %f sec" % staConnect.runtime_secs) + time.sleep(staConnect.runtime_secs) + staConnect.stop() + staConnect.cleanup() + run_results = staConnect.get_result_list() + for result in run_results: + print("test result: " + result) + # result = 'pass' + print("Single Client Connectivity :", staConnect.passes) + assert staConnect.passes() + # C2419 + + @pytest.mark.wpa2_personal + @pytest.mark.twog + def test_single_client_wpa2_personal_2g(self, get_lanforge_data, setup_profile_data): + profile_data = setup_profile_data["VLAN"]["WPA2_P"]["2G"] + staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), + debug_=False) + staConnect.sta_mode = 0 + staConnect.upstream_resource = 1 + staConnect.upstream_port = get_lanforge_data["lanforge_vlan_port"] + staConnect.radio = get_lanforge_data["lanforge_2dot4g"] + staConnect.resource = 1 + staConnect.dut_ssid = profile_data["ssid_name"] + staConnect.dut_passwd = profile_data["security_key"] + staConnect.dut_security = "wpa2" + staConnect.station_names = [get_lanforge_data["lanforge_2dot4g_station"]] + staConnect.sta_prefix = get_lanforge_data["lanforge_2dot4g_prefix"] + staConnect.runtime_secs = 10 + staConnect.bringup_time_sec = 60 + staConnect.cleanup_on_exit = True + # staConnect.cleanup() + staConnect.setup() + staConnect.start() + print("napping %f sec" % staConnect.runtime_secs) + time.sleep(staConnect.runtime_secs) + staConnect.stop() + staConnect.cleanup() + run_results = staConnect.get_result_list() + for result in run_results: + print("test result: " + result) + # result = 'pass' + print("Single Client Connectivity :", staConnect.passes) + assert staConnect.passes() + # C2237 + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + def test_single_client_wpa2_personal_5g(self, get_lanforge_data, setup_profile_data): + profile_data = setup_profile_data["VLAN"]["WPA2_P"]["5G"] + staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), + debug_=False) + staConnect.sta_mode = 0 + staConnect.upstream_resource = 1 + staConnect.upstream_port = get_lanforge_data["lanforge_vlan_port"] + staConnect.radio = get_lanforge_data["lanforge_5g"] + staConnect.resource = 1 + staConnect.dut_ssid = profile_data["ssid_name"] + staConnect.dut_passwd = profile_data["security_key"] + staConnect.dut_security = "wpa2" + staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] + staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] + staConnect.runtime_secs = 10 + staConnect.bringup_time_sec = 60 + staConnect.cleanup_on_exit = True + # staConnect.cleanup() + staConnect.setup() + staConnect.start() + print("napping %f sec" % staConnect.runtime_secs) + time.sleep(staConnect.runtime_secs) + staConnect.stop() + staConnect.cleanup() + run_results = staConnect.get_result_list() + for result in run_results: + print("test result: " + result) + # result = 'pass' + print("Single Client Connectivity :", staConnect.passes) + assert staConnect.passes() + # C2236 + + @pytest.mark.wpa2_enterprise + @pytest.mark.twog + def test_single_client_wpa2_enterprise_2g(self, get_lanforge_data, setup_profile_data): + profile_data = setup_profile_data["VLAN"]["WPA2_E"]["2G"] + eap_connect = EAPConnect(get_lanforge_data["lanforge_ip"], get_lanforge_data["lanforge-port-number"]) + eap_connect.upstream_resource = 1 + eap_connect.upstream_port = get_lanforge_data["lanforge_vlan_port"] + eap_connect.security = "wpa2" + eap_connect.sta_list = [get_lanforge_data["lanforge_2dot4g_station"]] + eap_connect.station_names = [get_lanforge_data["lanforge_2dot4g_station"]] + eap_connect.sta_prefix = get_lanforge_data["lanforge_2dot4g_prefix"] + eap_connect.ssid = profile_data["ssid_name"] + eap_connect.radio = get_lanforge_data["lanforge_2dot4g"] + eap_connect.eap = "TTLS" + eap_connect.identity = "nolaradius" + eap_connect.ttls_passwd = "nolastart" + eap_connect.runtime_secs = 10 + eap_connect.setup() + eap_connect.start() + print("napping %f sec" % eap_connect.runtime_secs) + time.sleep(eap_connect.runtime_secs) + eap_connect.stop() + eap_connect.cleanup() + run_results = eap_connect.get_result_list() + for result in run_results: + print("test result: " + result) + # result = 'pass' + print("Single Client Connectivity :", eap_connect.passes) + assert eap_connect.passes() + # C5214 + + @pytest.mark.wpa2_enterprise + @pytest.mark.fiveg + def test_single_client_wpa2_enterprise_5g(self, get_lanforge_data, setup_profile_data): + profile_data = setup_profile_data["VLAN"]["WPA2_E"]["5G"] + eap_connect = EAPConnect(get_lanforge_data["lanforge_ip"], get_lanforge_data["lanforge-port-number"]) + eap_connect.upstream_resource = 1 + eap_connect.upstream_port = get_lanforge_data["lanforge_vlan_port"] + eap_connect.security = "wpa2" + eap_connect.sta_list = [get_lanforge_data["lanforge_5g_station"]] + eap_connect.station_names = [get_lanforge_data["lanforge_5g_station"]] + eap_connect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] + eap_connect.ssid = profile_data["ssid_name"] + eap_connect.radio = get_lanforge_data["lanforge_5g"] + eap_connect.eap = "TTLS" + eap_connect.identity = "nolaradius" + eap_connect.ttls_passwd = "nolastart" + eap_connect.runtime_secs = 10 + eap_connect.setup() + eap_connect.start() + print("napping %f sec" % eap_connect.runtime_secs) + time.sleep(eap_connect.runtime_secs) + eap_connect.stop() + eap_connect.cleanup() + run_results = eap_connect.get_result_list() + for result in run_results: + print("test result: " + result) + # result = 'pass' + print("Single Client Connectivity :", eap_connect.passes) + assert eap_connect.passes() + # # C5215 diff --git a/tests/cloudsdk_apnos/test_cloudsdk_apnos.py b/tests/cloudsdk_apnos/test_cloudsdk_apnos.py index 686f79c5b..a59c99af8 100644 --- a/tests/cloudsdk_apnos/test_cloudsdk_apnos.py +++ b/tests/cloudsdk_apnos/test_cloudsdk_apnos.py @@ -1,13 +1,126 @@ +import time + import pytest import sys +if 'apnos' not in sys.path: + sys.path.append(f'../libs/apnos') + if 'cloudsdk_tests' not in sys.path: sys.path.append(f'../../libs/cloudsdk') from cloudsdk import CloudSDK from configuration_data import TEST_CASES +from apnos import APNOS +from configuration_data import APNOS_CREDENTIAL_DATA -class TestCloudAPNOS(object): +class TestCloudPush(object): - def test_apnos_cloud(self): - pass \ No newline at end of file + @pytest.mark.run(order=10) + def test_apnos_profile_push_bridge(self, push_profile): + if push_profile: + pass + # pass + else: + pass + # Fail + assert push_profile + + @pytest.mark.run(order=16) + def test_apnos_profile_push_nat(self, push_profile): + if push_profile: + pass + # pass + else: + pass + # Fail + assert push_profile + + def test_apnos_profile_push_vlan(self, push_profile): + if push_profile: + pass + # pass + else: + pass + # Fail + assert push_profile + + +class TestCloudVifConfig(object): + + @pytest.mark.run(order=11) + @pytest.mark.vif_config_test + def test_vif_config_cloud_bridge(self, get_current_profile_cloud): + ap_ssh = APNOS(APNOS_CREDENTIAL_DATA) + get_current_profile_cloud.sort() + PASS = False + for i in range(0, 18): + vif_config = list(ap_ssh.get_vif_config_ssids()) + vif_config.sort() + print(vif_config) + print(get_current_profile_cloud) + if get_current_profile_cloud == vif_config: + PASS = True + break + time.sleep(10) + assert PASS + + @pytest.mark.run(order=17) + def test_vif_config_cloud_nat(self, get_current_profile_cloud): + ap_ssh = APNOS(APNOS_CREDENTIAL_DATA) + get_current_profile_cloud.sort() + PASS = False + for i in range(0, 18): + vif_config = list(ap_ssh.get_vif_config_ssids()) + vif_config.sort() + print(vif_config) + print(get_current_profile_cloud) + if get_current_profile_cloud == vif_config: + PASS = True + break + time.sleep(10) + assert PASS + + def test_vif_config_cloud_vlan(self, create_ap_profile_vlan, instantiate_profile): + assert True + + +class TestCloudVifState(object): + + @pytest.mark.run(order=12) + @pytest.mark.vif_config_test + def test_vif_state_cloud(self): + ap_ssh = APNOS(APNOS_CREDENTIAL_DATA) + PASS = False + for i in range(0, 18): + vif_state = list(ap_ssh.get_vif_state_ssids()) + vif_state.sort() + vif_config = list(ap_ssh.get_vif_config_ssids()) + vif_config.sort() + print(vif_config) + print(vif_state) + if vif_state == vif_config: + PASS = True + break + time.sleep(10) + assert PASS + + @pytest.mark.run(order=18) + def test_apnos_profile_push_nat(self): + ap_ssh = APNOS(APNOS_CREDENTIAL_DATA) + PASS = False + for i in range(0, 18): + vif_state = list(ap_ssh.get_vif_state_ssids()) + vif_state.sort() + vif_config = list(ap_ssh.get_vif_config_ssids()) + vif_config.sort() + print(vif_config) + print(vif_state) + if vif_state == vif_config: + PASS = True + break + time.sleep(10) + assert PASS + + def test_apnos_profile_push_vlan(self, create_ap_profile_vlan, instantiate_profile): + assert True diff --git a/tests/cloudsdk_tests/test_cloud.py b/tests/cloudsdk_tests/test_cloud.py index 1a17cd9a4..ce41160db 100644 --- a/tests/cloudsdk_tests/test_cloud.py +++ b/tests/cloudsdk_tests/test_cloud.py @@ -11,7 +11,7 @@ from cloudsdk import CloudSDK from configuration_data import TEST_CASES -@pytest.mark.sanity +@pytest.mark.run(order=1) @pytest.mark.bridge @pytest.mark.nat @pytest.mark.vlan @@ -40,7 +40,7 @@ class TestCloudSDK(object): assert PASS, cloudsdk_cluster_info -@pytest.mark.sanity(depends=['TestCloudSDK']) +@pytest.mark.run(order=2) @pytest.mark.bridge @pytest.mark.nat @pytest.mark.vlan @@ -64,7 +64,7 @@ class TestFirmware(object): @pytest.mark.firmware_upgrade def test_firmware_upgrade_request(self, upgrade_firmware): - print("2") + print("3") if not upgrade_firmware: # instantiate_testrail.update_testrail(case_id=TEST_CASES["upgrade_api"], run_id=instantiate_project, # status_id=0, @@ -79,7 +79,7 @@ class TestFirmware(object): @pytest.mark.check_active_firmware_cloud def test_active_version_cloud(self, check_ap_firmware_cloud): - print("3") + print("4") if not check_ap_firmware_cloud: # instantiate_testrail.update_testrail(case_id=TEST_CASES["cloud_fw"], run_id=instantiate_project, # status_id=5, @@ -93,7 +93,3 @@ class TestFirmware(object): assert PASS - -@pytest.mark.shivamy(before='test_something_2') -def test_something_1(): - assert True diff --git a/tests/cloudsdk_tests/test_profile.py b/tests/cloudsdk_tests/test_profile.py index 2ad4f2f4c..a9d32cabb 100644 --- a/tests/cloudsdk_tests/test_profile.py +++ b/tests/cloudsdk_tests/test_profile.py @@ -27,23 +27,33 @@ class TestProfileCleanup(object): assert True @pytest.mark.sanity_cleanup - @pytest.mark.sanity(after='TestConnection') + @pytest.mark.run(order=5) + @pytest.mark.bridge + @pytest.mark.nat + @pytest.mark.vlan def test_profile_cleanup(self, setup_profile_data, instantiate_profile, testrun_session): print("6") try: + instantiate_profile.delete_profile_by_name(profile_name="Sanity-ecw5410-BRIDGE") + instantiate_profile.delete_profile_by_name(profile_name="Sanity-" + testrun_session + "-NAT") + instantiate_profile.delete_profile_by_name(profile_name="Sanity-" + testrun_session + "-VLAN") for i in setup_profile_data: for j in setup_profile_data[i]: for k in setup_profile_data[i][j]: - instantiate_profile.delete_profile_by_name(profile_name=setup_profile_data[i][j][k]['profile_name']) + instantiate_profile.delete_profile_by_name( + profile_name=setup_profile_data[i][j][k]['profile_name']) instantiate_profile.delete_profile_by_name(profile_name=testrun_session + "-RADIUS-Sanity") + status = True except Exception as e: + print(e) status = False assert status -@pytest.mark.sanity(depends=['test_ap_manager_state']) +@pytest.mark.run(order=6) @pytest.mark.bridge +@pytest.mark.nat class TestRfProfile(object): @pytest.mark.rf @@ -63,7 +73,7 @@ class TestRfProfile(object): assert PASS -@pytest.mark.sanity(depends=['TestRfProfile']) +@pytest.mark.run(order=7) @pytest.mark.bridge class TestRadiusProfile(object): @@ -84,7 +94,7 @@ class TestRadiusProfile(object): assert PASS -@pytest.mark.sanity(after='TestRadiusProfile') +@pytest.mark.run(order=8) @pytest.mark.ssid @pytest.mark.bridge class TestProfilesBridge(object): @@ -195,143 +205,265 @@ class TestProfilesBridge(object): PASS = False assert PASS -# class TestEquipmentAPProfile(object): -# -# @pytest.mark.sanity(order=9) -# @pytest.mark.bridge -# @pytest.mark.bridge_pp(order=4) -# def test_equipment_ap_profile_bridge_mode(self, create_ap_profile_bridge): -# profile_data = create_ap_profile_bridge -# if profile_data: -# # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa_bridge"], run_id=instantiate_project, -# # status_id=1, -# # msg='5G WPA SSID created successfully - bridge mode') -# PASS = True -# else: -# # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa_bridge"], run_id=instantiate_project, -# # status_id=5, -# # msg='5G WPA SSID created successfully - bridge mode') -# PASS = False -# assert PASS -# -# # @pytest.mark.nat -# # def test_equipment_ap_profile_nat_mode(self, create_ap_profile_nat): -# # assert True -# # -# # @pytest.mark.vlan -# # def test_equipment_ap_profile_vlan_mode(self, create_ap_profile_vlan): -# # assert True -# -# @pytest.mark.ssid -# @pytest.mark.nat -# class TestProfilesNAT(object): -# -# @pytest.mark.twog -# @pytest.mark.wpa -# def test_ssid_wpa_2g(self, create_wpa_ssid_2g_profile_nat): -# profile_data = create_wpa_ssid_2g_profile_nat -# if profile_data: -# # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa_bridge"], run_id=instantiate_project, -# # status_id=1, -# # msg='2G WPA SSID created successfully - bridge mode') -# PASS = True -# else: -# # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa_bridge"], run_id=instantiate_project, -# # status_id=5, -# # msg='2G WPA SSID create failed - bridge mode') -# PASS = False -# assert PASS -# -# @pytest.mark.fiveg -# @pytest.mark.wpa -# def test_ssid_wpa_5g(self, create_wpa_ssid_5g_profile_nat): -# profile_data = create_wpa_ssid_5g_profile_nat -# if profile_data: -# # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa_bridge"], run_id=instantiate_project, -# # status_id=1, -# # msg='5G WPA SSID created successfully - bridge mode') -# PASS = True -# else: -# # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa_bridge"], run_id=instantiate_project, -# # status_id=5, -# # msg='5G WPA SSID created successfully - bridge mode') -# PASS = False -# assert PASS -# -# @pytest.mark.twog -# @pytest.mark.wpa2_personal -# def test_ssid_wpa2_personal_2g(self, create_wpa2_p_ssid_2g_profile_nat): -# assert True -# -# @pytest.mark.fiveg -# @pytest.mark.wpa2_personal -# def test_ssid_wpa2_personal_5g(self, create_wpa2_p_ssid_5g_profile_nat): -# assert True -# -# @pytest.mark.twog -# @pytest.mark.wpa2_enterprise -# def test_ssid_wpa2_enterprise_2g(self, create_wpa2_e_ssid_2g_profile_nat): -# assert True -# -# @pytest.mark.fiveg -# @pytest.mark.wpa2_enterprise -# def test_ssid_wpa2_enterprise_5g(self, create_wpa2_e_ssid_5g_profile_nat): -# assert True +@pytest.mark.equipment_ap +class TestEquipmentAPProfile(object): + + @pytest.mark.run(order=9) + @pytest.mark.bridge + def test_equipment_ap_profile_bridge_mode(self, instantiate_profile, create_ap_profile_bridge): + profile_data = create_ap_profile_bridge + if profile_data: + # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa_bridge"], run_id=instantiate_project, + # status_id=1, + # msg='5G WPA SSID created successfully - bridge mode') + PASS = True + else: + # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa_bridge"], run_id=instantiate_project, + # status_id=5, + # msg='5G WPA SSID created successfully - bridge mode') + PASS = False + assert PASS + + @pytest.mark.run(order=15) + @pytest.mark.nat + def test_equipment_ap_profile_nat_mode(self, create_ap_profile_nat): + profile_data = create_ap_profile_nat + if profile_data: + # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa_bridge"], run_id=instantiate_project, + # status_id=1, + # msg='5G WPA SSID created successfully - bridge mode') + PASS = True + else: + # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa_bridge"], run_id=instantiate_project, + # status_id=5, + # msg='5G WPA SSID created successfully - bridge mode') + PASS = False + assert PASS + + @pytest.mark.run(order=21) + @pytest.mark.vlan + def test_equipment_ap_profile_vlan_mode(self, create_ap_profile_vlan): + profile_data = create_ap_profile_vlan + if profile_data: + # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa_bridge"], run_id=instantiate_project, + # status_id=1, + # msg='5G WPA SSID created successfully - bridge mode') + PASS = True + else: + # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa_bridge"], run_id=instantiate_project, + # status_id=5, + # msg='5G WPA SSID created successfully - bridge mode') + PASS = False + assert PASS -# @pytest.mark.ssid -# @pytest.mark.vlan -# class TestProfilesVLAN(object): -# -# @pytest.mark.twog -# @pytest.mark.wpa -# def test_ssid_wpa_2g(self, create_wpa_ssid_2g_profile_vlan): -# profile_data = create_wpa_ssid_2g_profile_vlan -# if profile_data: -# # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa_bridge"], run_id=instantiate_project, -# # status_id=1, -# # msg='2G WPA SSID created successfully - bridge mode') -# PASS = True -# else: -# # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa_bridge"], run_id=instantiate_project, -# # status_id=5, -# # msg='2G WPA SSID create failed - bridge mode') -# PASS = False -# assert PASS -# -# @pytest.mark.fiveg -# @pytest.mark.wpa -# def test_ssid_wpa_5g(self, create_wpa_ssid_5g_profile_vlan): -# profile_data = create_wpa_ssid_5g_profile_vlan -# if profile_data: -# # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa_bridge"], run_id=instantiate_project, -# # status_id=1, -# # msg='5G WPA SSID created successfully - bridge mode') -# PASS = True -# else: -# # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa_bridge"], run_id=instantiate_project, -# # status_id=5, -# # msg='5G WPA SSID created successfully - bridge mode') -# PASS = False -# assert PASS -# -# @pytest.mark.twog -# @pytest.mark.wpa2_personal -# def test_ssid_wpa2_personal_2g(self, create_wpa2_p_ssid_2g_profile_vlan): -# assert True -# -# @pytest.mark.fiveg -# @pytest.mark.wpa2_personal -# def test_ssid_wpa2_personal_5g(self, create_wpa2_p_ssid_5g_profile_vlan): -# assert True -# -# @pytest.mark.twog -# @pytest.mark.wpa2_enterprise -# def test_ssid_wpa2_enterprise_2g(self, create_wpa2_e_ssid_2g_profile_vlan): -# assert True -# -# @pytest.mark.fiveg -# @pytest.mark.wpa2_enterprise -# def test_ssid_wpa2_enterprise_5g(self, create_wpa2_e_ssid_5g_profile_vlan): -# assert True +@pytest.mark.run(order=14) +@pytest.mark.ssid +@pytest.mark.nat +class TestProfilesNAT(object): + + def test_reset_profile(self, reset_profile): + print("9") + assert reset_profile + + @pytest.mark.twog + @pytest.mark.wpa + def test_ssid_wpa_2g(self, create_wpa_ssid_2g_profile_nat): + profile_data = create_wpa_ssid_2g_profile_nat + if profile_data: + # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa_bridge"], run_id=instantiate_project, + # status_id=1, + # msg='2G WPA SSID created successfully - bridge mode') + PASS = True + else: + # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa_bridge"], run_id=instantiate_project, + # status_id=5, + # msg='2G WPA SSID create failed - bridge mode') + PASS = False + assert PASS + + @pytest.mark.fiveg + @pytest.mark.wpa + def test_ssid_wpa_5g(self, create_wpa_ssid_5g_profile_nat): + profile_data = create_wpa_ssid_5g_profile_nat + if profile_data: + # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa_bridge"], run_id=instantiate_project, + # status_id=1, + # msg='5G WPA SSID created successfully - bridge mode') + PASS = True + else: + # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa_bridge"], run_id=instantiate_project, + # status_id=5, + # msg='5G WPA SSID created successfully - bridge mode') + PASS = False + assert PASS + + @pytest.mark.twog + @pytest.mark.wpa2_personal + def test_ssid_wpa2_personal_2g(self, create_wpa2_p_ssid_2g_profile_nat): + profile_data = create_wpa2_p_ssid_2g_profile_nat + if profile_data: + # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa_bridge"], run_id=instantiate_project, + # status_id=1, + # msg='2G WPA SSID created successfully - bridge mode') + PASS = True + else: + # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa_bridge"], run_id=instantiate_project, + # status_id=5, + # msg='2G WPA SSID create failed - bridge mode') + PASS = False + assert PASS + + @pytest.mark.fiveg + @pytest.mark.wpa2_personal + def test_ssid_wpa2_personal_5g(self, create_wpa2_p_ssid_5g_profile_nat): + profile_data = create_wpa2_p_ssid_5g_profile_nat + if profile_data: + # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa_bridge"], run_id=instantiate_project, + # status_id=1, + # msg='2G WPA SSID created successfully - bridge mode') + PASS = True + else: + # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa_bridge"], run_id=instantiate_project, + # status_id=5, + # msg='2G WPA SSID create failed - bridge mode') + PASS = False + assert PASS + + @pytest.mark.twog + @pytest.mark.wpa2_enterprise + def test_ssid_wpa2_enterprise_2g(self, create_wpa2_e_ssid_2g_profile_nat): + profile_data = create_wpa2_e_ssid_2g_profile_nat + if profile_data: + # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa_bridge"], run_id=instantiate_project, + # status_id=1, + # msg='2G WPA SSID created successfully - bridge mode') + PASS = True + else: + # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa_bridge"], run_id=instantiate_project, + # status_id=5, + # msg='2G WPA SSID create failed - bridge mode') + PASS = False + assert PASS + + @pytest.mark.fiveg + @pytest.mark.wpa2_enterprise + def test_ssid_wpa2_enterprise_5g(self, create_wpa2_e_ssid_5g_profile_nat): + profile_data = create_wpa2_e_ssid_5g_profile_nat + if profile_data: + # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa_bridge"], run_id=instantiate_project, + # status_id=1, + # msg='2G WPA SSID created successfully - bridge mode') + PASS = True + else: + # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa_bridge"], run_id=instantiate_project, + # status_id=5, + # msg='2G WPA SSID create failed - bridge mode') + PASS = False + assert PASS + + +@pytest.mark.run(order=20) +@pytest.mark.ssid +@pytest.mark.vlan +class TestProfilesVLAN(object): + + def test_reset_profile(self, reset_profile): + assert reset_profile + + @pytest.mark.twog + @pytest.mark.wpa + def test_ssid_wpa_2g(self, create_wpa_ssid_2g_profile_vlan): + profile_data = create_wpa_ssid_2g_profile_vlan + if profile_data: + # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa_bridge"], run_id=instantiate_project, + # status_id=1, + # msg='2G WPA SSID created successfully - bridge mode') + PASS = True + else: + # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa_bridge"], run_id=instantiate_project, + # status_id=5, + # msg='2G WPA SSID create failed - bridge mode') + PASS = False + assert PASS + + @pytest.mark.fiveg + @pytest.mark.wpa + def test_ssid_wpa_5g(self, create_wpa_ssid_5g_profile_vlan): + profile_data = create_wpa_ssid_5g_profile_vlan + if profile_data: + # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa_bridge"], run_id=instantiate_project, + # status_id=1, + # msg='5G WPA SSID created successfully - bridge mode') + PASS = True + else: + # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa_bridge"], run_id=instantiate_project, + # status_id=5, + # msg='5G WPA SSID created successfully - bridge mode') + PASS = False + assert PASS + + @pytest.mark.twog + @pytest.mark.wpa2_personal + def test_ssid_wpa2_personal_2g(self, create_wpa2_p_ssid_2g_profile_vlan): + profile_data = create_wpa2_p_ssid_2g_profile_vlan + if profile_data: + # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa_bridge"], run_id=instantiate_project, + # status_id=1, + # msg='5G WPA SSID created successfully - bridge mode') + PASS = True + else: + # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa_bridge"], run_id=instantiate_project, + # status_id=5, + # msg='5G WPA SSID created successfully - bridge mode') + PASS = False + assert PASS + + @pytest.mark.fiveg + @pytest.mark.wpa2_personal + def test_ssid_wpa2_personal_5g(self, create_wpa2_p_ssid_5g_profile_vlan): + profile_data = create_wpa2_p_ssid_5g_profile_vlan + if profile_data: + # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa_bridge"], run_id=instantiate_project, + # status_id=1, + # msg='5G WPA SSID created successfully - bridge mode') + PASS = True + else: + # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa_bridge"], run_id=instantiate_project, + # status_id=5, + # msg='5G WPA SSID created successfully - bridge mode') + PASS = False + assert PASS + + @pytest.mark.twog + @pytest.mark.wpa2_enterprise + def test_ssid_wpa2_enterprise_2g(self, create_wpa2_e_ssid_2g_profile_vlan): + profile_data = create_wpa2_e_ssid_2g_profile_vlan + if profile_data: + # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa_bridge"], run_id=instantiate_project, + # status_id=1, + # msg='5G WPA SSID created successfully - bridge mode') + PASS = True + else: + # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa_bridge"], run_id=instantiate_project, + # status_id=5, + # msg='5G WPA SSID created successfully - bridge mode') + PASS = False + assert PASS + + @pytest.mark.fiveg + @pytest.mark.wpa2_enterprise + def test_ssid_wpa2_enterprise_5g(self, create_wpa2_e_ssid_5g_profile_vlan): + profile_data = create_wpa2_e_ssid_5g_profile_vlan + if profile_data: + # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa_bridge"], run_id=instantiate_project, + # status_id=1, + # msg='5G WPA SSID created successfully - bridge mode') + PASS = True + else: + # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa_bridge"], run_id=instantiate_project, + # status_id=5, + # msg='5G WPA SSID created successfully - bridge mode') + PASS = False + assert PASS diff --git a/tests/configuration_data.py b/tests/configuration_data.py index dab5e3daa..a0e54214a 100644 --- a/tests/configuration_data.py +++ b/tests/configuration_data.py @@ -122,7 +122,9 @@ RADIUS_SERVER_DATA = { "port": 1812, "secret": "testing123" } - +RADIUS_CLIENT_CRED = { + "" +} """ orch lab-ctlr diff --git a/tests/conftest.py b/tests/conftest.py index 17e8b6d90..9d002b164 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -168,7 +168,7 @@ def instantiate_testrail(request): @pytest.fixture(scope="session") def instantiate_project(request, instantiate_testrail, get_equipment_model, get_latest_firmware): - #(instantiate_testrail) + # (instantiate_testrail) projId = instantiate_testrail.get_project_id(project_name=request.config.getini("tr_project_id")) test_run_name = request.config.getini("tr_prefix") + get_equipment_model + "_" + str( @@ -208,7 +208,7 @@ def check_ap_firmware_ssh(request, testrun_session): active_fw = ap_ssh.get_active_firmware() except Exception as e: active_fw = False - #(active_fw) + # (active_fw) yield active_fw @@ -331,6 +331,7 @@ def set_rf_profile(instantiate_profile): profile = False yield profile + """ BRIDGE MOde """ @@ -387,7 +388,7 @@ def create_wpa2_e_ssid_2g_profile_bridge(instantiate_profile, setup_profile_data instantiate_profile.get_default_profiles() profile = instantiate_profile.create_wpa2_enterprise_ssid_profile(profile_data=profile_data, fiveg=False) except Exception as e: - #(e) + # (e) profile = False yield profile @@ -399,7 +400,7 @@ def create_wpa2_e_ssid_5g_profile_bridge(instantiate_profile, setup_profile_data instantiate_profile.get_default_profiles() profile = instantiate_profile.create_wpa2_enterprise_ssid_profile(profile_data=profile_data, two4g=False) except Exception as e: - #(e) + # (e) profile = False yield profile @@ -548,10 +549,14 @@ def create_wpa2_e_ssid_5g_profile_vlan(instantiate_profile, setup_profile_data): @pytest.fixture(scope="session") def create_ap_profile_bridge(instantiate_profile, testrun_session): - profile_data = { - "profile_name": "%s-%s-%s" % ("Sanity", testrun_session, 'BRIDGE'), - } - profile_obj = instantiate_profile.set_ap_profile(profile_data=profile_data) + try: + profile_data = { + "profile_name": "%s-%s-%s" % ("Sanity", testrun_session, 'BRIDGE'), + } + profile_obj = instantiate_profile.set_ap_profile(profile_data=profile_data) + except Exception as e: + profile_obj = e + print(profile_obj) yield profile_obj @@ -573,6 +578,32 @@ def create_ap_profile_vlan(instantiate_profile, testrun_session): yield profile_obj +@pytest.fixture(scope="function") +def get_current_profile_cloud(instantiate_profile): + ssid_names = [] + print(instantiate_profile.profile_creation_ids["ssid"]) + for i in instantiate_profile.profile_creation_ids["ssid"]: + ssid_names.append(instantiate_profile.get_ssid_name_by_profile_id(profile_id=i)) + + yield ssid_names + + +""" +Profile Push Fixtures +""" + + +@pytest.fixture(scope="function") +def push_profile(instantiate_profile, get_equipment_id, setup_profile_data): + try: + instantiate_profile.push_profile_old_method(equipment_id=get_equipment_id) + status = True + except Exception as e: + status = False + + yield status + + @pytest.fixture(scope="function") def get_lanforge_data(request): lanforge_data = { diff --git a/tests/pytest.ini b/tests/pytest.ini index 63bb9fa91..e11a09100 100644 --- a/tests/pytest.ini +++ b/tests/pytest.ini @@ -2,7 +2,7 @@ addopts= --junitxml=test_everything.xml # Firmware Utility Default Options -force-upload=True +force-upload=False From 62a3b24168fcdd69f67a289349cf935228d22217 Mon Sep 17 00:00:00 2001 From: shivamcandela Date: Thu, 1 Apr 2021 17:52:17 +0530 Subject: [PATCH 40/45] pytest is on Signed-off-by: shivamcandela --- tests/ap_tests/test_apnos.py | 34 +- tests/client_connectivity/test_bridge_mode.py | 65 +++- tests/client_connectivity/test_nat_mode.py | 79 +++- tests/client_connectivity/test_vlan_mode.py | 73 +++- tests/cloudsdk_apnos/test_cloudsdk_apnos.py | 124 ++++-- tests/cloudsdk_tests/test_cloud.py | 52 +-- tests/cloudsdk_tests/test_profile.py | 367 +++++++++--------- tests/configuration_data.py | 2 +- tests/conftest.py | 14 +- tests/pytest.ini | 6 +- 10 files changed, 527 insertions(+), 289 deletions(-) diff --git a/tests/ap_tests/test_apnos.py b/tests/ap_tests/test_apnos.py index 439e3b644..da997f98e 100644 --- a/tests/ap_tests/test_apnos.py +++ b/tests/ap_tests/test_apnos.py @@ -4,43 +4,49 @@ from configuration_data import TEST_CASES @pytest.mark.run(order=3) +@pytest.mark.bridge +@pytest.mark.nat +@pytest.mark.vlan @pytest.mark.ap_connection class TestConnection(object): @pytest.mark.ap_manager_state - def test_ap_manager_state(self, get_ap_manager_status): + def test_ap_manager_state(self, get_ap_manager_status, instantiate_testrail, instantiate_project): print("5") if "ACTIVE" not in get_ap_manager_status: - # instantiate_testrail.update_testrail(case_id=TEST_CASES["cloud_connection"], run_id=instantiate_project, - # status_id=5, - # msg='CloudSDK connectivity failed') + instantiate_testrail.update_testrail(case_id=TEST_CASES["cloud_connection"], run_id=instantiate_project, + status_id=5, + msg='CloudSDK connectivity failed') status = False else: - # instantiate_testrail.update_testrail(case_id=TEST_CASES["cloud_connection"], run_id=instantiate_project, - # status_id=1, - # msg='Manager status is Active') + instantiate_testrail.update_testrail(case_id=TEST_CASES["cloud_connection"], run_id=instantiate_project, + status_id=1, + msg='Manager status is Active') status = True assert status # break test session if test case is false @pytest.mark.run(order=4) +@pytest.mark.bridge +@pytest.mark.nat +@pytest.mark.vlan @pytest.mark.ap_firmware class TestFirmwareAPNOS(object): @pytest.mark.check_active_firmware_ap - def test_ap_firmware(self, check_ap_firmware_ssh, get_latest_firmware): + def test_ap_firmware(self, check_ap_firmware_ssh, get_latest_firmware, instantiate_testrail, instantiate_project): print("6") if check_ap_firmware_ssh == get_latest_firmware: status = True - # instantiate_testrail.update_testrail(case_id=TEST_CASES["ap_upgrade"], run_id=instantiate_project, - # status_id=1, - # msg='Upgrade to ' + get_latest_firmware + ' successful') + instantiate_testrail.update_testrail(case_id=TEST_CASES["ap_upgrade"], run_id=instantiate_project, + status_id=1, + msg='Upgrade to ' + get_latest_firmware + ' successful') else: status = False - # instantiate_testrail.update_testrail(case_id=TEST_CASES["ap_upgrade"], run_id=instantiate_project, - # status_id=4, - # msg='Cannot reach AP after upgrade to check CLI - re-test required') + instantiate_testrail.update_testrail(case_id=TEST_CASES["ap_upgrade"], run_id=instantiate_project, + status_id=4, + msg='Cannot reach AP after upgrade to check CLI - re-test required') assert status diff --git a/tests/client_connectivity/test_bridge_mode.py b/tests/client_connectivity/test_bridge_mode.py index 2d25568e3..a971fb573 100644 --- a/tests/client_connectivity/test_bridge_mode.py +++ b/tests/client_connectivity/test_bridge_mode.py @@ -11,7 +11,7 @@ sys.path.append(f'../libs') sys.path.append(f'../libs/lanforge/') from LANforge.LFUtils import * - +from configuration_data import TEST_CASES if 'py-json' not in sys.path: sys.path.append('../py-scripts') @@ -28,7 +28,7 @@ class TestBridgeModeClientConnectivity(object): @pytest.mark.wpa @pytest.mark.twog - def test_single_client_wpa_2g(self, get_lanforge_data, setup_profile_data): + def test_single_client_wpa_2g(self, get_lanforge_data, setup_profile_data, instantiate_testrail, instantiate_project): profile_data = setup_profile_data["BRIDGE"]["WPA"]["2G"] print(profile_data, get_lanforge_data) staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), @@ -58,12 +58,20 @@ class TestBridgeModeClientConnectivity(object): print("test result: " + result) # result = 'pass' print("Single Client Connectivity :", staConnect.passes) + if staConnect.passes(): + instantiate_testrail.update_testrail(case_id=TEST_CASES["2g_wpa_bridge"], run_id=instantiate_project, + status_id=1, + msg='2G WPA Client Connectivity Passed successfully - bridge mode') + else: + instantiate_testrail.update_testrail(case_id=TEST_CASES["2g_wpa_bridge"], run_id=instantiate_project, + status_id=5, + msg='2G WPA Client Connectivity Failed - bridge mode') assert staConnect.passes() # C2420 @pytest.mark.wpa @pytest.mark.fiveg - def test_single_client_wpa_5g(self, get_lanforge_data, setup_profile_data): + def test_single_client_wpa_5g(self, get_lanforge_data, setup_profile_data, instantiate_project, instantiate_testrail): profile_data = setup_profile_data["BRIDGE"]["WPA"]["5G"] print(profile_data, get_lanforge_data) staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), @@ -93,12 +101,20 @@ class TestBridgeModeClientConnectivity(object): print("test result: " + result) # result = 'pass' print("Single Client Connectivity :", staConnect.passes) + if staConnect.passes(): + instantiate_testrail.update_testrail(case_id=TEST_CASES["25_wpa_bridge"], run_id=instantiate_project, + status_id=1, + msg='5G WPA Client Connectivity Passed successfully - bridge mode') + else: + instantiate_testrail.update_testrail(case_id=TEST_CASES["2g_wpa_bridge"], run_id=instantiate_project, + status_id=5, + msg='5G WPA Client Connectivity Failed - bridge mode') assert staConnect.passes() # C2419 @pytest.mark.wpa2_personal @pytest.mark.twog - def test_single_client_wpa2_personal_2g(self, get_lanforge_data, setup_profile_data): + def test_single_client_wpa2_personal_2g(self, get_lanforge_data, setup_profile_data, instantiate_project, instantiate_testrail): profile_data = setup_profile_data["BRIDGE"]["WPA2_P"]["2G"] staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), debug_=False) @@ -127,12 +143,20 @@ class TestBridgeModeClientConnectivity(object): print("test result: " + result) # result = 'pass' print("Single Client Connectivity :", staConnect.passes) + if staConnect.passes(): + instantiate_testrail.update_testrail(case_id=TEST_CASES["2g_wpa2_bridge"], run_id=instantiate_project, + status_id=1, + msg='2G WPA2 Client Connectivity Passed successfully - bridge mode') + else: + instantiate_testrail.update_testrail(case_id=TEST_CASES["2g_wpa2_bridge"], run_id=instantiate_project, + status_id=5, + msg='2G WPA2 Client Connectivity Failed - bridge mode') assert staConnect.passes() # C2237 @pytest.mark.wpa2_personal @pytest.mark.fiveg - def test_single_client_wpa2_personal_5g(self, get_lanforge_data, setup_profile_data): + def test_single_client_wpa2_personal_5g(self, get_lanforge_data, setup_profile_data, instantiate_project, instantiate_testrail): profile_data = setup_profile_data["BRIDGE"]["WPA2_P"]["5G"] staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), debug_=False) @@ -161,12 +185,20 @@ class TestBridgeModeClientConnectivity(object): print("test result: " + result) # result = 'pass' print("Single Client Connectivity :", staConnect.passes) + if staConnect.passes(): + instantiate_testrail.update_testrail(case_id=TEST_CASES["5g_wpa2_bridge"], run_id=instantiate_project, + status_id=1, + msg='5G WPA2 Client Connectivity Passed successfully - bridge mode') + else: + instantiate_testrail.update_testrail(case_id=TEST_CASES["5g_wpa2_bridge"], run_id=instantiate_project, + status_id=5, + msg='5G WPA2 Client Connectivity Failed - bridge mode') assert staConnect.passes() # C2236 @pytest.mark.wpa2_enterprise @pytest.mark.twog - def test_single_client_wpa2_enterprise_2g(self, get_lanforge_data, setup_profile_data): + def test_single_client_wpa2_enterprise_2g(self, get_lanforge_data, setup_profile_data, instantiate_project, instantiate_testrail): profile_data = setup_profile_data["BRIDGE"]["WPA2_E"]["2G"] eap_connect = EAPConnect(get_lanforge_data["lanforge_ip"], get_lanforge_data["lanforge-port-number"]) eap_connect.upstream_resource = 1 @@ -192,12 +224,21 @@ class TestBridgeModeClientConnectivity(object): print("test result: " + result) # result = 'pass' print("Single Client Connectivity :", eap_connect.passes) + if eap_connect.passes(): + instantiate_testrail.update_testrail(case_id=TEST_CASES["2g_eap_bridge"], run_id=instantiate_project, + status_id=1, + msg='5G WPA2 ENTERPRISE Client Connectivity Passed successfully - ' + 'bridge mode') + else: + instantiate_testrail.update_testrail(case_id=TEST_CASES["2g_eap_bridge"], run_id=instantiate_project, + status_id=5, + msg='5G WPA2 ENTERPRISE Client Connectivity Failed - bridge mode') assert eap_connect.passes() # C5214 @pytest.mark.wpa2_enterprise @pytest.mark.fiveg - def test_single_client_wpa2_enterprise_5g(self, get_lanforge_data, setup_profile_data): + def test_single_client_wpa2_enterprise_5g(self, get_lanforge_data, setup_profile_data, instantiate_project, instantiate_testrail): profile_data = setup_profile_data["BRIDGE"]["WPA2_E"]["5G"] eap_connect = EAPConnect(get_lanforge_data["lanforge_ip"], get_lanforge_data["lanforge-port-number"]) eap_connect.upstream_resource = 1 @@ -223,5 +264,13 @@ class TestBridgeModeClientConnectivity(object): print("test result: " + result) # result = 'pass' print("Single Client Connectivity :", eap_connect.passes) + if eap_connect.passes(): + instantiate_testrail.update_testrail(case_id=TEST_CASES["5g_eap_bridge"], run_id=instantiate_project, + status_id=1, + msg='5G WPA2 ENTERPRISE Client Connectivity Passed successfully - ' + 'bridge mode') + else: + instantiate_testrail.update_testrail(case_id=TEST_CASES["5g_eap_bridge"], run_id=instantiate_project, + status_id=5, + msg='5G WPA2 ENTERPRISE Client Connectivity Failed - bridge mode') assert eap_connect.passes() - # # C5215 diff --git a/tests/client_connectivity/test_nat_mode.py b/tests/client_connectivity/test_nat_mode.py index e09601047..dd4c94681 100644 --- a/tests/client_connectivity/test_nat_mode.py +++ b/tests/client_connectivity/test_nat_mode.py @@ -11,7 +11,7 @@ sys.path.append(f'../libs') sys.path.append(f'../libs/lanforge/') from LANforge.LFUtils import * - +from configuration_data import TEST_CASES if 'py-json' not in sys.path: sys.path.append('../py-scripts') @@ -24,18 +24,18 @@ import time @pytest.mark.run(order=19) @pytest.mark.nat -class TestNATModeClientConnectivity(object): +class TestNatModeClientConnectivity(object): @pytest.mark.wpa @pytest.mark.twog - def test_single_client_wpa_2g(self, get_lanforge_data, setup_profile_data): + def test_single_client_wpa_2g(self, get_lanforge_data, setup_profile_data, instantiate_testrail, instantiate_project): profile_data = setup_profile_data["NAT"]["WPA"]["2G"] print(profile_data, get_lanforge_data) staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), debug_=False) staConnect.sta_mode = 0 staConnect.upstream_resource = 1 - staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] + staConnect.upstream_port = get_lanforge_data["lanforge_nat_port"] staConnect.radio = get_lanforge_data["lanforge_2dot4g"] staConnect.resource = 1 staConnect.dut_ssid = profile_data["ssid_name"] @@ -58,19 +58,27 @@ class TestNATModeClientConnectivity(object): print("test result: " + result) # result = 'pass' print("Single Client Connectivity :", staConnect.passes) + if staConnect.passes(): + instantiate_testrail.update_testrail(case_id=TEST_CASES["2g_wpa_nat"], run_id=instantiate_project, + status_id=1, + msg='2G WPA Client Connectivity Passed successfully - nat mode') + else: + instantiate_testrail.update_testrail(case_id=TEST_CASES["2g_wpa_nat"], run_id=instantiate_project, + status_id=5, + msg='2G WPA Client Connectivity Failed - nat mode') assert staConnect.passes() # C2420 @pytest.mark.wpa @pytest.mark.fiveg - def test_single_client_wpa_5g(self, get_lanforge_data, setup_profile_data): + def test_single_client_wpa_5g(self, get_lanforge_data, setup_profile_data, instantiate_project, instantiate_testrail): profile_data = setup_profile_data["NAT"]["WPA"]["5G"] print(profile_data, get_lanforge_data) staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), debug_=False) staConnect.sta_mode = 0 staConnect.upstream_resource = 1 - staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] + staConnect.upstream_port = get_lanforge_data["lanforge_nat_port"] staConnect.radio = get_lanforge_data["lanforge_5g"] staConnect.resource = 1 staConnect.dut_ssid = profile_data["ssid_name"] @@ -93,18 +101,26 @@ class TestNATModeClientConnectivity(object): print("test result: " + result) # result = 'pass' print("Single Client Connectivity :", staConnect.passes) + if staConnect.passes(): + instantiate_testrail.update_testrail(case_id=TEST_CASES["25_wpa_nat"], run_id=instantiate_project, + status_id=1, + msg='5G WPA Client Connectivity Passed successfully - nat mode') + else: + instantiate_testrail.update_testrail(case_id=TEST_CASES["2g_wpa_nat"], run_id=instantiate_project, + status_id=5, + msg='5G WPA Client Connectivity Failed - nat mode') assert staConnect.passes() # C2419 @pytest.mark.wpa2_personal @pytest.mark.twog - def test_single_client_wpa2_personal_2g(self, get_lanforge_data, setup_profile_data): + def test_single_client_wpa2_personal_2g(self, get_lanforge_data, setup_profile_data, instantiate_project, instantiate_testrail): profile_data = setup_profile_data["NAT"]["WPA2_P"]["2G"] staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), debug_=False) staConnect.sta_mode = 0 staConnect.upstream_resource = 1 - staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] + staConnect.upstream_port = get_lanforge_data["lanforge_nat_port"] staConnect.radio = get_lanforge_data["lanforge_2dot4g"] staConnect.resource = 1 staConnect.dut_ssid = profile_data["ssid_name"] @@ -127,18 +143,26 @@ class TestNATModeClientConnectivity(object): print("test result: " + result) # result = 'pass' print("Single Client Connectivity :", staConnect.passes) + if staConnect.passes(): + instantiate_testrail.update_testrail(case_id=TEST_CASES["2g_wpa2_nat"], run_id=instantiate_project, + status_id=1, + msg='2G WPA2 Client Connectivity Passed successfully - nat mode') + else: + instantiate_testrail.update_testrail(case_id=TEST_CASES["2g_wpa2_nat"], run_id=instantiate_project, + status_id=5, + msg='2G WPA2 Client Connectivity Failed - nat mode') assert staConnect.passes() # C2237 @pytest.mark.wpa2_personal @pytest.mark.fiveg - def test_single_client_wpa2_personal_5g(self, get_lanforge_data, setup_profile_data): + def test_single_client_wpa2_personal_5g(self, get_lanforge_data, setup_profile_data, instantiate_project, instantiate_testrail): profile_data = setup_profile_data["NAT"]["WPA2_P"]["5G"] staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), debug_=False) staConnect.sta_mode = 0 staConnect.upstream_resource = 1 - staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] + staConnect.upstream_port = get_lanforge_data["lanforge_nat_port"] staConnect.radio = get_lanforge_data["lanforge_5g"] staConnect.resource = 1 staConnect.dut_ssid = profile_data["ssid_name"] @@ -161,16 +185,24 @@ class TestNATModeClientConnectivity(object): print("test result: " + result) # result = 'pass' print("Single Client Connectivity :", staConnect.passes) + if staConnect.passes(): + instantiate_testrail.update_testrail(case_id=TEST_CASES["5g_wpa2_nat"], run_id=instantiate_project, + status_id=1, + msg='5G WPA2 Client Connectivity Passed successfully - nat mode') + else: + instantiate_testrail.update_testrail(case_id=TEST_CASES["5g_wpa2_nat"], run_id=instantiate_project, + status_id=5, + msg='5G WPA2 Client Connectivity Failed - nat mode') assert staConnect.passes() # C2236 @pytest.mark.wpa2_enterprise @pytest.mark.twog - def test_single_client_wpa2_enterprise_2g(self, get_lanforge_data, setup_profile_data): + def test_single_client_wpa2_enterprise_2g(self, get_lanforge_data, setup_profile_data, instantiate_project, instantiate_testrail): profile_data = setup_profile_data["NAT"]["WPA2_E"]["2G"] eap_connect = EAPConnect(get_lanforge_data["lanforge_ip"], get_lanforge_data["lanforge-port-number"]) eap_connect.upstream_resource = 1 - eap_connect.upstream_port = get_lanforge_data["lanforge_bridge_port"] + eap_connect.upstream_port = get_lanforge_data["lanforge_nat_port"] eap_connect.security = "wpa2" eap_connect.sta_list = [get_lanforge_data["lanforge_2dot4g_station"]] eap_connect.station_names = [get_lanforge_data["lanforge_2dot4g_station"]] @@ -192,16 +224,25 @@ class TestNATModeClientConnectivity(object): print("test result: " + result) # result = 'pass' print("Single Client Connectivity :", eap_connect.passes) + if eap_connect.passes(): + instantiate_testrail.update_testrail(case_id=TEST_CASES["2g_eap_nat"], run_id=instantiate_project, + status_id=1, + msg='5G WPA2 ENTERPRISE Client Connectivity Passed successfully - ' + 'nat mode') + else: + instantiate_testrail.update_testrail(case_id=TEST_CASES["2g_eap_nat"], run_id=instantiate_project, + status_id=5, + msg='5G WPA2 ENTERPRISE Client Connectivity Failed - nat mode') assert eap_connect.passes() # C5214 @pytest.mark.wpa2_enterprise @pytest.mark.fiveg - def test_single_client_wpa2_enterprise_5g(self, get_lanforge_data, setup_profile_data): + def test_single_client_wpa2_enterprise_5g(self, get_lanforge_data, setup_profile_data, instantiate_project, instantiate_testrail): profile_data = setup_profile_data["NAT"]["WPA2_E"]["5G"] eap_connect = EAPConnect(get_lanforge_data["lanforge_ip"], get_lanforge_data["lanforge-port-number"]) eap_connect.upstream_resource = 1 - eap_connect.upstream_port = get_lanforge_data["lanforge_bridge_port"] + eap_connect.upstream_port = get_lanforge_data["lanforge_nat_port"] eap_connect.security = "wpa2" eap_connect.sta_list = [get_lanforge_data["lanforge_5g_station"]] eap_connect.station_names = [get_lanforge_data["lanforge_5g_station"]] @@ -223,5 +264,13 @@ class TestNATModeClientConnectivity(object): print("test result: " + result) # result = 'pass' print("Single Client Connectivity :", eap_connect.passes) + if eap_connect.passes(): + instantiate_testrail.update_testrail(case_id=TEST_CASES["5g_eap_nat"], run_id=instantiate_project, + status_id=1, + msg='5G WPA2 ENTERPRISE Client Connectivity Passed successfully - ' + 'nat mode') + else: + instantiate_testrail.update_testrail(case_id=TEST_CASES["5g_eap_nat"], run_id=instantiate_project, + status_id=5, + msg='5G WPA2 ENTERPRISE Client Connectivity Failed - nat mode') assert eap_connect.passes() - # # C5215 diff --git a/tests/client_connectivity/test_vlan_mode.py b/tests/client_connectivity/test_vlan_mode.py index da0c08397..8fd4b5053 100644 --- a/tests/client_connectivity/test_vlan_mode.py +++ b/tests/client_connectivity/test_vlan_mode.py @@ -11,7 +11,7 @@ sys.path.append(f'../libs') sys.path.append(f'../libs/lanforge/') from LANforge.LFUtils import * - +from configuration_data import TEST_CASES if 'py-json' not in sys.path: sys.path.append('../py-scripts') @@ -22,13 +22,14 @@ from eap_connect import EAPConnect import time -@pytest.mark.run(order=22) +@pytest.mark.run(order=25) @pytest.mark.vlan class TestVlanModeClientConnectivity(object): @pytest.mark.wpa @pytest.mark.twog - def test_single_client_wpa_2g(self, get_lanforge_data, setup_profile_data): + def test_single_client_wpa_2g(self, get_lanforge_data, setup_profile_data, instantiate_testrail, + instantiate_project): profile_data = setup_profile_data["VLAN"]["WPA"]["2G"] print(profile_data, get_lanforge_data) staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), @@ -58,12 +59,21 @@ class TestVlanModeClientConnectivity(object): print("test result: " + result) # result = 'pass' print("Single Client Connectivity :", staConnect.passes) + if staConnect.passes(): + instantiate_testrail.update_testrail(case_id=TEST_CASES["2g_wpa_vlan"], run_id=instantiate_project, + status_id=1, + msg='2G WPA Client Connectivity Passed successfully - vlan mode') + else: + instantiate_testrail.update_testrail(case_id=TEST_CASES["2g_wpa_vlan"], run_id=instantiate_project, + status_id=5, + msg='2G WPA Client Connectivity Failed - vlan mode') assert staConnect.passes() # C2420 @pytest.mark.wpa @pytest.mark.fiveg - def test_single_client_wpa_5g(self, get_lanforge_data, setup_profile_data): + def test_single_client_wpa_5g(self, get_lanforge_data, setup_profile_data, instantiate_project, + instantiate_testrail): profile_data = setup_profile_data["VLAN"]["WPA"]["5G"] print(profile_data, get_lanforge_data) staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), @@ -93,12 +103,21 @@ class TestVlanModeClientConnectivity(object): print("test result: " + result) # result = 'pass' print("Single Client Connectivity :", staConnect.passes) + if staConnect.passes(): + instantiate_testrail.update_testrail(case_id=TEST_CASES["25_wpa_vlan"], run_id=instantiate_project, + status_id=1, + msg='5G WPA Client Connectivity Passed successfully - vlan mode') + else: + instantiate_testrail.update_testrail(case_id=TEST_CASES["2g_wpa_vlan"], run_id=instantiate_project, + status_id=5, + msg='5G WPA Client Connectivity Failed - vlan mode') assert staConnect.passes() # C2419 @pytest.mark.wpa2_personal @pytest.mark.twog - def test_single_client_wpa2_personal_2g(self, get_lanforge_data, setup_profile_data): + def test_single_client_wpa2_personal_2g(self, get_lanforge_data, setup_profile_data, instantiate_project, + instantiate_testrail): profile_data = setup_profile_data["VLAN"]["WPA2_P"]["2G"] staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), debug_=False) @@ -127,12 +146,21 @@ class TestVlanModeClientConnectivity(object): print("test result: " + result) # result = 'pass' print("Single Client Connectivity :", staConnect.passes) + if staConnect.passes(): + instantiate_testrail.update_testrail(case_id=TEST_CASES["2g_wpa2_vlan"], run_id=instantiate_project, + status_id=1, + msg='2G WPA2 Client Connectivity Passed successfully - vlan mode') + else: + instantiate_testrail.update_testrail(case_id=TEST_CASES["2g_wpa2_vlan"], run_id=instantiate_project, + status_id=5, + msg='2G WPA2 Client Connectivity Failed - vlan mode') assert staConnect.passes() # C2237 @pytest.mark.wpa2_personal @pytest.mark.fiveg - def test_single_client_wpa2_personal_5g(self, get_lanforge_data, setup_profile_data): + def test_single_client_wpa2_personal_5g(self, get_lanforge_data, setup_profile_data, instantiate_project, + instantiate_testrail): profile_data = setup_profile_data["VLAN"]["WPA2_P"]["5G"] staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), debug_=False) @@ -161,12 +189,21 @@ class TestVlanModeClientConnectivity(object): print("test result: " + result) # result = 'pass' print("Single Client Connectivity :", staConnect.passes) + if staConnect.passes(): + instantiate_testrail.update_testrail(case_id=TEST_CASES["5g_wpa2_vlan"], run_id=instantiate_project, + status_id=1, + msg='5G WPA2 Client Connectivity Passed successfully - vlan mode') + else: + instantiate_testrail.update_testrail(case_id=TEST_CASES["5g_wpa2_vlan"], run_id=instantiate_project, + status_id=5, + msg='5G WPA2 Client Connectivity Failed - vlan mode') assert staConnect.passes() # C2236 @pytest.mark.wpa2_enterprise @pytest.mark.twog - def test_single_client_wpa2_enterprise_2g(self, get_lanforge_data, setup_profile_data): + def test_single_client_wpa2_enterprise_2g(self, get_lanforge_data, setup_profile_data, instantiate_project, + instantiate_testrail): profile_data = setup_profile_data["VLAN"]["WPA2_E"]["2G"] eap_connect = EAPConnect(get_lanforge_data["lanforge_ip"], get_lanforge_data["lanforge-port-number"]) eap_connect.upstream_resource = 1 @@ -192,12 +229,22 @@ class TestVlanModeClientConnectivity(object): print("test result: " + result) # result = 'pass' print("Single Client Connectivity :", eap_connect.passes) + if eap_connect.passes(): + instantiate_testrail.update_testrail(case_id=TEST_CASES["2g_eap_vlan"], run_id=instantiate_project, + status_id=1, + msg='5G WPA2 ENTERPRISE Client Connectivity Passed successfully - ' + 'vlan mode') + else: + instantiate_testrail.update_testrail(case_id=TEST_CASES["2g_eap_vlan"], run_id=instantiate_project, + status_id=5, + msg='5G WPA2 ENTERPRISE Client Connectivity Failed - vlan mode') assert eap_connect.passes() # C5214 @pytest.mark.wpa2_enterprise @pytest.mark.fiveg - def test_single_client_wpa2_enterprise_5g(self, get_lanforge_data, setup_profile_data): + def test_single_client_wpa2_enterprise_5g(self, get_lanforge_data, setup_profile_data, instantiate_project, + instantiate_testrail): profile_data = setup_profile_data["VLAN"]["WPA2_E"]["5G"] eap_connect = EAPConnect(get_lanforge_data["lanforge_ip"], get_lanforge_data["lanforge-port-number"]) eap_connect.upstream_resource = 1 @@ -223,5 +270,13 @@ class TestVlanModeClientConnectivity(object): print("test result: " + result) # result = 'pass' print("Single Client Connectivity :", eap_connect.passes) + if eap_connect.passes(): + instantiate_testrail.update_testrail(case_id=TEST_CASES["5g_eap_vlan"], run_id=instantiate_project, + status_id=1, + msg='5G WPA2 ENTERPRISE Client Connectivity Passed successfully - ' + 'vlan mode') + else: + instantiate_testrail.update_testrail(case_id=TEST_CASES["5g_eap_vlan"], run_id=instantiate_project, + status_id=5, + msg='5G WPA2 ENTERPRISE Client Connectivity Failed - vlan mode') assert eap_connect.passes() - # # C5215 diff --git a/tests/cloudsdk_apnos/test_cloudsdk_apnos.py b/tests/cloudsdk_apnos/test_cloudsdk_apnos.py index a59c99af8..2b45dfa75 100644 --- a/tests/cloudsdk_apnos/test_cloudsdk_apnos.py +++ b/tests/cloudsdk_apnos/test_cloudsdk_apnos.py @@ -14,43 +14,31 @@ from apnos import APNOS from configuration_data import APNOS_CREDENTIAL_DATA +@pytest.mark.profile_push class TestCloudPush(object): @pytest.mark.run(order=10) + @pytest.mark.bridge def test_apnos_profile_push_bridge(self, push_profile): - if push_profile: - pass - # pass - else: - pass - # Fail assert push_profile @pytest.mark.run(order=16) + @pytest.mark.nat def test_apnos_profile_push_nat(self, push_profile): - if push_profile: - pass - # pass - else: - pass - # Fail assert push_profile + @pytest.mark.run(order=22) + @pytest.mark.vlan def test_apnos_profile_push_vlan(self, push_profile): - if push_profile: - pass - # pass - else: - pass - # Fail assert push_profile +@pytest.mark.vif_config_test class TestCloudVifConfig(object): @pytest.mark.run(order=11) - @pytest.mark.vif_config_test - def test_vif_config_cloud_bridge(self, get_current_profile_cloud): + @pytest.mark.bridge + def test_vif_config_cloud_bridge(self, get_current_profile_cloud, instantiate_testrail, instantiate_project): ap_ssh = APNOS(APNOS_CREDENTIAL_DATA) get_current_profile_cloud.sort() PASS = False @@ -63,10 +51,19 @@ class TestCloudVifConfig(object): PASS = True break time.sleep(10) + if PASS: + instantiate_testrail.update_testrail(case_id=TEST_CASES["bridge_vifc"], run_id=instantiate_project, + status_id=1, + msg='Profiles Matched with vif config bridge mode- passed') + else: + instantiate_testrail.update_testrail(case_id=TEST_CASES["bridge_vifc"], run_id=instantiate_project, + status_id=5, + msg='Profiles does not with vif config bridge mode- failed') assert PASS @pytest.mark.run(order=17) - def test_vif_config_cloud_nat(self, get_current_profile_cloud): + @pytest.mark.nat + def test_vif_config_cloud_nat(self, get_current_profile_cloud, instantiate_testrail, instantiate_project): ap_ssh = APNOS(APNOS_CREDENTIAL_DATA) get_current_profile_cloud.sort() PASS = False @@ -79,17 +76,48 @@ class TestCloudVifConfig(object): PASS = True break time.sleep(10) + if PASS: + instantiate_testrail.update_testrail(case_id=TEST_CASES["nat_vifc"], run_id=instantiate_project, + status_id=1, + msg='Profiles Matched with vif config nat mode- passed') + else: + instantiate_testrail.update_testrail(case_id=TEST_CASES["nat_vifc"], run_id=instantiate_project, + status_id=5, + msg='Profiles does not with vif config nat mode - failed') assert PASS - def test_vif_config_cloud_vlan(self, create_ap_profile_vlan, instantiate_profile): - assert True + @pytest.mark.run(order=23) + @pytest.mark.vlan + def test_vif_config_cloud_vlan(self, get_current_profile_cloud, instantiate_testrail, instantiate_project): + ap_ssh = APNOS(APNOS_CREDENTIAL_DATA) + get_current_profile_cloud.sort() + PASS = False + for i in range(0, 18): + vif_config = list(ap_ssh.get_vif_config_ssids()) + vif_config.sort() + print(vif_config) + print(get_current_profile_cloud) + if get_current_profile_cloud == vif_config: + PASS = True + break + time.sleep(10) + if PASS: + instantiate_testrail.update_testrail(case_id=TEST_CASES["vlan_vifc"], run_id=instantiate_project, + status_id=1, + msg='Profiles Matched with vif config vlan mode- passed') + else: + instantiate_testrail.update_testrail(case_id=TEST_CASES["vlan_vifc"], run_id=instantiate_project, + status_id=5, + msg='Profiles Matched with vif config vlan mode - failed') + assert PASS +@pytest.mark.vif_state_test class TestCloudVifState(object): @pytest.mark.run(order=12) - @pytest.mark.vif_config_test - def test_vif_state_cloud(self): + @pytest.mark.bridge + def test_vif_state_cloud_bridge(self, instantiate_testrail, instantiate_project): ap_ssh = APNOS(APNOS_CREDENTIAL_DATA) PASS = False for i in range(0, 18): @@ -103,10 +131,19 @@ class TestCloudVifState(object): PASS = True break time.sleep(10) + if PASS: + instantiate_testrail.update_testrail(case_id=TEST_CASES["bridge_vifs"], run_id=instantiate_project, + status_id=1, + msg='vif config mateches with vif state bridge mode - passed') + else: + instantiate_testrail.update_testrail(case_id=TEST_CASES["bridge_vifs"], run_id=instantiate_project, + status_id=5, + msg='vif config mateches with vif state bridge mode - failed') assert PASS @pytest.mark.run(order=18) - def test_apnos_profile_push_nat(self): + @pytest.mark.nat + def test_vif_state_cloud_nat(self, instantiate_testrail, instantiate_project): ap_ssh = APNOS(APNOS_CREDENTIAL_DATA) PASS = False for i in range(0, 18): @@ -120,7 +157,38 @@ class TestCloudVifState(object): PASS = True break time.sleep(10) + if PASS: + instantiate_testrail.update_testrail(case_id=TEST_CASES["nat_vifs"], run_id=instantiate_project, + status_id=1, + msg='vif config mateches with vif state nat mode - passed') + else: + instantiate_testrail.update_testrail(case_id=TEST_CASES["nat_vifs"], run_id=instantiate_project, + status_id=5, + msg='vif config mateches with vif state nat mode - failed') assert PASS - def test_apnos_profile_push_vlan(self, create_ap_profile_vlan, instantiate_profile): - assert True + @pytest.mark.run(order=24) + @pytest.mark.vlan + def test_vif_state_cloud_vlan(self, instantiate_testrail, instantiate_project): + ap_ssh = APNOS(APNOS_CREDENTIAL_DATA) + PASS = False + for i in range(0, 18): + vif_state = list(ap_ssh.get_vif_state_ssids()) + vif_state.sort() + vif_config = list(ap_ssh.get_vif_config_ssids()) + vif_config.sort() + print(vif_config) + print(vif_state) + if vif_state == vif_config: + PASS = True + break + time.sleep(10) + if PASS: + instantiate_testrail.update_testrail(case_id=TEST_CASES["vlan_vifs"], run_id=instantiate_project, + status_id=1, + msg='vif config mateches with vif state vlan mode - passed') + else: + instantiate_testrail.update_testrail(case_id=TEST_CASES["vlan_vifs"], run_id=instantiate_project, + status_id=5, + msg='vif config mateches with vif state vlan mode - failed') + assert PASS diff --git a/tests/cloudsdk_tests/test_cloud.py b/tests/cloudsdk_tests/test_cloud.py index ce41160db..a6e3b5126 100644 --- a/tests/cloudsdk_tests/test_cloud.py +++ b/tests/cloudsdk_tests/test_cloud.py @@ -19,7 +19,7 @@ from configuration_data import TEST_CASES class TestCloudSDK(object): @pytest.mark.sdk_version_check - def test_cloud_sdk_version(self, instantiate_cloudsdk): + def test_cloud_sdk_version(self, instantiate_cloudsdk, instantiate_testrail, instantiate_project): print("1") cloudsdk_cluster_info = {} # Needed in Test Result try: @@ -28,13 +28,13 @@ class TestCloudSDK(object): cloudsdk_cluster_info['date'] = response._commit_date cloudsdk_cluster_info['commitId'] = response._commit_id cloudsdk_cluster_info['projectVersion'] = response._project_version - # instantiate_testrail.update_testrail(case_id=TEST_CASES["cloud_ver"], run_id=instantiate_project, - # status_id=1, msg='Read CloudSDK version from API successfully') + instantiate_testrail.update_testrail(case_id=TEST_CASES["cloud_ver"], run_id=instantiate_project, + status_id=1, msg='Read CloudSDK version from API successfully') PASS = True except: cloudsdk_cluster_info = {'date': "unknown", 'commitId': "unknown", 'projectVersion': "unknown"} - # instantiate_testrail.update_testrail(case_id=TEST_CASES["cloud_ver"], run_id=instantiate_project, - # status_id=0, msg='Could not read CloudSDK version from API') + instantiate_testrail.update_testrail(case_id=TEST_CASES["cloud_ver"], run_id=instantiate_project, + status_id=0, msg='Could not read CloudSDK version from API') PASS = False assert PASS, cloudsdk_cluster_info @@ -48,48 +48,48 @@ class TestCloudSDK(object): class TestFirmware(object): @pytest.mark.firmware_create - def test_firmware_create(self, upload_firmware): + def test_firmware_create(self, upload_firmware, instantiate_testrail, instantiate_project): print("2") if upload_firmware != 0: - # instantiate_testrail.update_testrail(case_id=TEST_CASES["create_fw"], run_id=instantiate_project, - # status_id=1, - # msg='Create new FW version by API successful') + instantiate_testrail.update_testrail(case_id=TEST_CASES["create_fw"], run_id=instantiate_project, + status_id=1, + msg='Create new FW version by API successful') PASS = True else: - # instantiate_testrail.update_testrail(case_id=TEST_CASES["create_fw"], run_id=instantiate_project, - # status_id=5, - # msg='Error creating new FW version by API') + instantiate_testrail.update_testrail(case_id=TEST_CASES["create_fw"], run_id=instantiate_project, + status_id=5, + msg='Error creating new FW version by API') PASS = False assert PASS @pytest.mark.firmware_upgrade - def test_firmware_upgrade_request(self, upgrade_firmware): + def test_firmware_upgrade_request(self, upgrade_firmware, instantiate_testrail, instantiate_project): print("3") if not upgrade_firmware: - # instantiate_testrail.update_testrail(case_id=TEST_CASES["upgrade_api"], run_id=instantiate_project, - # status_id=0, - # msg='Error requesting upgrade via API') + instantiate_testrail.update_testrail(case_id=TEST_CASES["upgrade_api"], run_id=instantiate_project, + status_id=0, + msg='Error requesting upgrade via API') PASS = False else: - # instantiate_testrail.update_testrail(case_id=TEST_CASES["upgrade_api"], run_id=instantiate_project, - # status_id=1, - # msg='Upgrade request using API successful') + instantiate_testrail.update_testrail(case_id=TEST_CASES["upgrade_api"], run_id=instantiate_project, + status_id=1, + msg='Upgrade request using API successful') PASS = True assert PASS @pytest.mark.check_active_firmware_cloud - def test_active_version_cloud(self, check_ap_firmware_cloud): + def test_active_version_cloud(self, check_ap_firmware_cloud, instantiate_testrail, instantiate_project): print("4") if not check_ap_firmware_cloud: - # instantiate_testrail.update_testrail(case_id=TEST_CASES["cloud_fw"], run_id=instantiate_project, - # status_id=5, - # msg='CLOUDSDK reporting incorrect firmware version.') + instantiate_testrail.update_testrail(case_id=TEST_CASES["cloud_fw"], run_id=instantiate_project, + status_id=5, + msg='CLOUDSDK reporting incorrect firmware version.') PASS = False else: PASS = True - # instantiate_testrail.update_testrail(case_id=TEST_CASES["cloud_fw"], run_id=instantiate_project, - # status_id=1, - # msg='CLOUDSDK reporting correct firmware version.') + instantiate_testrail.update_testrail(case_id=TEST_CASES["cloud_fw"], run_id=instantiate_project, + status_id=1, + msg='CLOUDSDK reporting correct firmware version.') assert PASS diff --git a/tests/cloudsdk_tests/test_profile.py b/tests/cloudsdk_tests/test_profile.py index a9d32cabb..b553b0555 100644 --- a/tests/cloudsdk_tests/test_profile.py +++ b/tests/cloudsdk_tests/test_profile.py @@ -54,6 +54,7 @@ class TestProfileCleanup(object): @pytest.mark.run(order=6) @pytest.mark.bridge @pytest.mark.nat +@pytest.mark.vlan class TestRfProfile(object): @pytest.mark.rf @@ -61,35 +62,31 @@ class TestRfProfile(object): print("7") profile_data = set_rf_profile if profile_data: - # instantiate_testrail.update_testrail(case_id=TEST_CASES["radius_profile"], run_id=instantiate_project, - # status_id=1, - # msg='RADIUS profile created successfully') PASS = True else: - # instantiate_testrail.update_testrail(case_id=TEST_CASES["radius_profile"], run_id=instantiate_project, - # status_id=5, - # msg='Failed to create RADIUS profile') PASS = False assert PASS @pytest.mark.run(order=7) @pytest.mark.bridge +@pytest.mark.nat +@pytest.mark.vlan class TestRadiusProfile(object): @pytest.mark.radius - def test_radius_profile_creation(self, instantiate_profile, create_radius_profile, testrun_session): + def test_radius_profile_creation(self, instantiate_profile, create_radius_profile, testrun_session, instantiate_testrail, instantiate_project): print("8") profile_data = create_radius_profile if profile_data._name == testrun_session + "-RADIUS-Sanity": - # instantiate_testrail.update_testrail(case_id=TEST_CASES["radius_profile"], run_id=instantiate_project, - # status_id=1, - # msg='RADIUS profile created successfully') + instantiate_testrail.update_testrail(case_id=TEST_CASES["radius_profile"], run_id=instantiate_project, + status_id=1, + msg='RADIUS profile created successfully') PASS = True else: - # instantiate_testrail.update_testrail(case_id=TEST_CASES["radius_profile"], run_id=instantiate_project, - # status_id=5, - # msg='Failed to create RADIUS profile') + instantiate_testrail.update_testrail(case_id=TEST_CASES["radius_profile"], run_id=instantiate_project, + status_id=5, + msg='Failed to create RADIUS profile') PASS = False assert PASS @@ -105,103 +102,103 @@ class TestProfilesBridge(object): @pytest.mark.fiveg @pytest.mark.wpa - def test_ssid_wpa_5g(self, instantiate_profile, create_wpa_ssid_5g_profile_bridge): + def test_ssid_wpa_5g(self, instantiate_profile, create_wpa_ssid_5g_profile_bridge, instantiate_testrail, instantiate_project): print("10") profile_data = create_wpa_ssid_5g_profile_bridge if profile_data: - # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa_bridge"], run_id=instantiate_project, - # status_id=1, - # msg='5G WPA SSID created successfully - bridge mode') + instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa_bridge"], run_id=instantiate_project, + status_id=1, + msg='5G WPA SSID created successfully - bridge mode') PASS = True else: - # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa_bridge"], run_id=instantiate_project, - # status_id=5, - # msg='5G WPA SSID created successfully - bridge mode') + instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa_bridge"], run_id=instantiate_project, + status_id=5, + msg='5G WPA SSID create failed - bridge mode') PASS = False assert PASS @pytest.mark.twog @pytest.mark.wpa - def test_ssid_wpa_2g(self, instantiate_profile, create_wpa_ssid_2g_profile_bridge): + def test_ssid_wpa_2g(self, instantiate_profile, create_wpa_ssid_2g_profile_bridge, instantiate_testrail, instantiate_project): print("11") profile_data = create_wpa_ssid_2g_profile_bridge if profile_data: - # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa_bridge"], run_id=instantiate_project, - # status_id=1, - # msg='2G WPA SSID created successfully - bridge mode') + instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa_bridge"], run_id=instantiate_project, + status_id=1, + msg='2G WPA SSID created successfully - bridge mode') PASS = True else: - # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa_bridge"], run_id=instantiate_project, - # status_id=5, - # msg='2G WPA SSID create failed - bridge mode') + instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa_bridge"], run_id=instantiate_project, + status_id=5, + msg='2G WPA SSID create failed - bridge mode') PASS = False assert PASS @pytest.mark.twog @pytest.mark.wpa2_personal - def test_ssid_wpa2_personal_2g(self, instantiate_profile, create_wpa2_p_ssid_2g_profile_bridge): + def test_ssid_wpa2_personal_2g(self, instantiate_profile, create_wpa2_p_ssid_2g_profile_bridge, instantiate_testrail, instantiate_project): print("12") profile_data = create_wpa2_p_ssid_2g_profile_bridge if profile_data: - # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa_bridge"], run_id=instantiate_project, - # status_id=1, - # msg='2G WPA SSID created successfully - bridge mode') + instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa2_bridge"], run_id=instantiate_project, + status_id=1, + msg='2G WPA2 PERSONAL SSID created successfully - bridge mode') PASS = True else: - # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa_bridge"], run_id=instantiate_project, - # status_id=5, - # msg='2G WPA SSID create failed - bridge mode') + instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa2_bridge"], run_id=instantiate_project, + status_id=5, + msg='2G WPA2 PERSONAL SSID create failed - bridge mode') PASS = False assert PASS @pytest.mark.fiveg @pytest.mark.wpa2_personal - def test_ssid_wpa2_personal_5g(self, instantiate_profile, create_wpa2_p_ssid_5g_profile_bridge): + def test_ssid_wpa2_personal_5g(self, instantiate_profile, create_wpa2_p_ssid_5g_profile_bridge, instantiate_testrail, instantiate_project): print("13") profile_data = create_wpa2_p_ssid_5g_profile_bridge if profile_data: - # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa_bridge"], run_id=instantiate_project, - # status_id=1, - # msg='2G WPA SSID created successfully - bridge mode') + instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa2_bridge"], run_id=instantiate_project, + status_id=1, + msg='5G WPA2 PERSONAL SSID created successfully - bridge mode') PASS = True else: - # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa_bridge"], run_id=instantiate_project, - # status_id=5, - # msg='2G WPA SSID create failed - bridge mode') + instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa2_bridge"], run_id=instantiate_project, + status_id=5, + msg='5G WPA2 PERSONAL SSID create failed - bridge mode') PASS = False assert PASS @pytest.mark.twog @pytest.mark.wpa2_enterprise - def test_ssid_wpa2_enterprise_2g(self, instantiate_profile, create_wpa2_e_ssid_2g_profile_bridge): + def test_ssid_wpa2_enterprise_2g(self, instantiate_profile, create_wpa2_e_ssid_2g_profile_bridge, instantiate_testrail, instantiate_project): print("14") profile_data = create_wpa2_e_ssid_2g_profile_bridge if profile_data: - # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa_bridge"], run_id=instantiate_project, - # status_id=1, - # msg='2G WPA SSID created successfully - bridge mode') + instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_eap_bridge"], run_id=instantiate_project, + status_id=1, + msg='2G WPA2 Enterprise SSID created successfully - bridge mode') PASS = True else: - # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa_bridge"], run_id=instantiate_project, - # status_id=5, - # msg='2G WPA SSID create failed - bridge mode') + instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_eap_bridge"], run_id=instantiate_project, + status_id=5, + msg='2G WPA2 Enterprise SSID create failed - bridge mode') PASS = False assert PASS @pytest.mark.fiveg @pytest.mark.wpa2_enterprise - def test_ssid_wpa2_enterprise_5g(self, instantiate_profile, create_wpa2_e_ssid_5g_profile_bridge): + def test_ssid_wpa2_enterprise_5g(self, instantiate_profile, create_wpa2_e_ssid_5g_profile_bridge, instantiate_testrail, instantiate_project): print("15") profile_data = create_wpa2_e_ssid_5g_profile_bridge if profile_data: - # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa_bridge"], run_id=instantiate_project, - # status_id=1, - # msg='2G WPA SSID created successfully - bridge mode') + instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_eap_bridge"], run_id=instantiate_project, + status_id=1, + msg='5G WPA2 Enterprise SSID created successfully - bridge mode') PASS = True else: - # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa_bridge"], run_id=instantiate_project, - # status_id=5, - # msg='2G WPA SSID create failed - bridge mode') + instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_eap_bridge"], run_id=instantiate_project, + status_id=5, + msg='5G WPA2 Enterprise SSID create failed - bridge mode') PASS = False assert PASS @@ -211,49 +208,49 @@ class TestEquipmentAPProfile(object): @pytest.mark.run(order=9) @pytest.mark.bridge - def test_equipment_ap_profile_bridge_mode(self, instantiate_profile, create_ap_profile_bridge): + def test_equipment_ap_profile_bridge_mode(self, instantiate_profile, create_ap_profile_bridge, instantiate_testrail, instantiate_project): profile_data = create_ap_profile_bridge if profile_data: - # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa_bridge"], run_id=instantiate_project, - # status_id=1, - # msg='5G WPA SSID created successfully - bridge mode') + instantiate_testrail.update_testrail(case_id=TEST_CASES["ap_bridge"], run_id=instantiate_project, + status_id=1, + msg='EQUIPMENT AP PROFILE created successfully - bridge mode') PASS = True else: - # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa_bridge"], run_id=instantiate_project, - # status_id=5, - # msg='5G WPA SSID created successfully - bridge mode') + instantiate_testrail.update_testrail(case_id=TEST_CASES["ap_bridge"], run_id=instantiate_project, + status_id=5, + msg='EQUIPMENT AP PROFILE CREATION Failed - bridge mode') PASS = False assert PASS @pytest.mark.run(order=15) @pytest.mark.nat - def test_equipment_ap_profile_nat_mode(self, create_ap_profile_nat): + def test_equipment_ap_profile_nat_mode(self, create_ap_profile_nat, instantiate_testrail, instantiate_project): profile_data = create_ap_profile_nat if profile_data: - # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa_bridge"], run_id=instantiate_project, - # status_id=1, - # msg='5G WPA SSID created successfully - bridge mode') + instantiate_testrail.update_testrail(case_id=TEST_CASES["ap_nat"], run_id=instantiate_project, + status_id=1, + msg='EQUIPMENT AP PROFILE CREATION successfully - nat mode') PASS = True else: - # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa_bridge"], run_id=instantiate_project, - # status_id=5, - # msg='5G WPA SSID created successfully - bridge mode') + instantiate_testrail.update_testrail(case_id=TEST_CASES["ap_nat"], run_id=instantiate_project, + status_id=5, + msg='EQUIPMENT AP PROFILE CREATION Failed - nat mode') PASS = False assert PASS @pytest.mark.run(order=21) @pytest.mark.vlan - def test_equipment_ap_profile_vlan_mode(self, create_ap_profile_vlan): + def test_equipment_ap_profile_vlan_mode(self, create_ap_profile_vlan, instantiate_testrail, instantiate_project): profile_data = create_ap_profile_vlan if profile_data: - # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa_bridge"], run_id=instantiate_project, - # status_id=1, - # msg='5G WPA SSID created successfully - bridge mode') + instantiate_testrail.update_testrail(case_id=TEST_CASES["ap_vlan"], run_id=instantiate_project, + status_id=1, + msg='EQUIPMENT AP PROFILE CREATION successfully - vlan mode') PASS = True else: - # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa_bridge"], run_id=instantiate_project, - # status_id=5, - # msg='5G WPA SSID created successfully - bridge mode') + instantiate_testrail.update_testrail(case_id=TEST_CASES["ap_vlan"], run_id=instantiate_project, + status_id=5, + msg='EQUIPMENT AP PROFILE CREATION failed - vlan mode') PASS = False assert PASS @@ -267,99 +264,105 @@ class TestProfilesNAT(object): print("9") assert reset_profile - @pytest.mark.twog - @pytest.mark.wpa - def test_ssid_wpa_2g(self, create_wpa_ssid_2g_profile_nat): - profile_data = create_wpa_ssid_2g_profile_nat - if profile_data: - # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa_bridge"], run_id=instantiate_project, - # status_id=1, - # msg='2G WPA SSID created successfully - bridge mode') - PASS = True - else: - # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa_bridge"], run_id=instantiate_project, - # status_id=5, - # msg='2G WPA SSID create failed - bridge mode') - PASS = False - assert PASS - @pytest.mark.fiveg @pytest.mark.wpa - def test_ssid_wpa_5g(self, create_wpa_ssid_5g_profile_nat): + def test_ssid_wpa_5g(self, instantiate_profile, create_wpa_ssid_5g_profile_nat, instantiate_testrail, instantiate_project): + print("10") profile_data = create_wpa_ssid_5g_profile_nat if profile_data: - # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa_bridge"], run_id=instantiate_project, - # status_id=1, - # msg='5G WPA SSID created successfully - bridge mode') + instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa_nat"], run_id=instantiate_project, + status_id=1, + msg='5G WPA SSID created successfully - nat mode') PASS = True else: - # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa_bridge"], run_id=instantiate_project, - # status_id=5, - # msg='5G WPA SSID created successfully - bridge mode') + instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa_nat"], run_id=instantiate_project, + status_id=5, + msg='5G WPA SSID create failed - nat mode') + PASS = False + assert PASS + + @pytest.mark.twog + @pytest.mark.wpa + def test_ssid_wpa_2g(self, instantiate_profile, create_wpa_ssid_2g_profile_nat, instantiate_testrail, instantiate_project): + print("11") + profile_data = create_wpa_ssid_2g_profile_nat + if profile_data: + instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa_nat"], run_id=instantiate_project, + status_id=1, + msg='2G WPA SSID created successfully - nat mode') + PASS = True + else: + instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa_nat"], run_id=instantiate_project, + status_id=5, + msg='2G WPA SSID create failed - nat mode') PASS = False assert PASS @pytest.mark.twog @pytest.mark.wpa2_personal - def test_ssid_wpa2_personal_2g(self, create_wpa2_p_ssid_2g_profile_nat): + def test_ssid_wpa2_personal_2g(self, instantiate_profile, create_wpa2_p_ssid_2g_profile_nat, instantiate_testrail, instantiate_project): + print("12") profile_data = create_wpa2_p_ssid_2g_profile_nat if profile_data: - # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa_bridge"], run_id=instantiate_project, - # status_id=1, - # msg='2G WPA SSID created successfully - bridge mode') + instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa2_nat"], run_id=instantiate_project, + status_id=1, + msg='2G WPA2 PERSONAL SSID created successfully - nat mode') PASS = True else: - # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa_bridge"], run_id=instantiate_project, - # status_id=5, - # msg='2G WPA SSID create failed - bridge mode') + instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa2_nat"], run_id=instantiate_project, + status_id=5, + msg='2G WPA2 PERSONAL SSID create failed - nat mode') PASS = False assert PASS @pytest.mark.fiveg @pytest.mark.wpa2_personal - def test_ssid_wpa2_personal_5g(self, create_wpa2_p_ssid_5g_profile_nat): + def test_ssid_wpa2_personal_5g(self, instantiate_profile, create_wpa2_p_ssid_5g_profile_nat, instantiate_testrail, instantiate_project): + print("13") profile_data = create_wpa2_p_ssid_5g_profile_nat if profile_data: - # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa_bridge"], run_id=instantiate_project, - # status_id=1, - # msg='2G WPA SSID created successfully - bridge mode') + instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa2_nat"], run_id=instantiate_project, + status_id=1, + msg='5G WPA2 PERSONAL SSID created successfully - nat mode') PASS = True else: - # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa_bridge"], run_id=instantiate_project, - # status_id=5, - # msg='2G WPA SSID create failed - bridge mode') + instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa2_nat"], run_id=instantiate_project, + status_id=5, + msg='5G WPA2 PERSONAL SSID create failed - nat mode') PASS = False assert PASS @pytest.mark.twog @pytest.mark.wpa2_enterprise - def test_ssid_wpa2_enterprise_2g(self, create_wpa2_e_ssid_2g_profile_nat): + def test_ssid_wpa2_enterprise_2g(self, instantiate_profile, create_wpa2_e_ssid_2g_profile_nat, instantiate_testrail, instantiate_project): + print("14") profile_data = create_wpa2_e_ssid_2g_profile_nat if profile_data: - # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa_bridge"], run_id=instantiate_project, - # status_id=1, - # msg='2G WPA SSID created successfully - bridge mode') + instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_eap_nat"], run_id=instantiate_project, + status_id=1, + msg='2G WPA2 Enterprise SSID created successfully - nat mode') PASS = True else: - # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa_bridge"], run_id=instantiate_project, - # status_id=5, - # msg='2G WPA SSID create failed - bridge mode') + instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_eap_nat"], run_id=instantiate_project, + status_id=5, + msg='2G WPA2 Enterprise SSID create failed - nat mode') PASS = False assert PASS @pytest.mark.fiveg @pytest.mark.wpa2_enterprise - def test_ssid_wpa2_enterprise_5g(self, create_wpa2_e_ssid_5g_profile_nat): + def test_ssid_wpa2_enterprise_5g(self, instantiate_profile, create_wpa2_e_ssid_5g_profile_nat, instantiate_testrail, instantiate_project): + print("15") profile_data = create_wpa2_e_ssid_5g_profile_nat if profile_data: - # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa_bridge"], run_id=instantiate_project, - # status_id=1, - # msg='2G WPA SSID created successfully - bridge mode') + instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_eap_nat"], run_id=instantiate_project, + status_id=1, + msg='5G WPA2 Enterprise SSID created successfully - nat mode') PASS = True else: - # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa_bridge"], run_id=instantiate_project, - # status_id=5, - # msg='2G WPA SSID create failed - bridge mode') + instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_eap_nat"], run_id=instantiate_project, + status_id=5, + msg='5G WPA2 Enterprise SSID create failed - nat mode') PASS = False assert PASS @@ -370,100 +373,108 @@ class TestProfilesNAT(object): class TestProfilesVLAN(object): def test_reset_profile(self, reset_profile): + print("9") assert reset_profile - @pytest.mark.twog - @pytest.mark.wpa - def test_ssid_wpa_2g(self, create_wpa_ssid_2g_profile_vlan): - profile_data = create_wpa_ssid_2g_profile_vlan - if profile_data: - # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa_bridge"], run_id=instantiate_project, - # status_id=1, - # msg='2G WPA SSID created successfully - bridge mode') - PASS = True - else: - # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa_bridge"], run_id=instantiate_project, - # status_id=5, - # msg='2G WPA SSID create failed - bridge mode') - PASS = False - assert PASS - @pytest.mark.fiveg @pytest.mark.wpa - def test_ssid_wpa_5g(self, create_wpa_ssid_5g_profile_vlan): + def test_ssid_wpa_5g(self, instantiate_profile, create_wpa_ssid_5g_profile_vlan, instantiate_testrail, instantiate_project): + print("10") profile_data = create_wpa_ssid_5g_profile_vlan if profile_data: - # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa_bridge"], run_id=instantiate_project, - # status_id=1, - # msg='5G WPA SSID created successfully - bridge mode') + instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa_vlan"], run_id=instantiate_project, + status_id=1, + msg='5G WPA SSID created successfully - vlan mode') PASS = True else: - # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa_bridge"], run_id=instantiate_project, - # status_id=5, - # msg='5G WPA SSID created successfully - bridge mode') + instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa_vlan"], run_id=instantiate_project, + status_id=5, + msg='5G WPA SSID create failed - vlan mode') + PASS = False + assert PASS + + @pytest.mark.twog + @pytest.mark.wpa + def test_ssid_wpa_2g(self, instantiate_profile, create_wpa_ssid_2g_profile_vlan, instantiate_testrail, instantiate_project): + print("11") + profile_data = create_wpa_ssid_2g_profile_vlan + if profile_data: + instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa_vlan"], run_id=instantiate_project, + status_id=1, + msg='2G WPA SSID created successfully - vlan mode') + PASS = True + else: + instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa_vlan"], run_id=instantiate_project, + status_id=5, + msg='2G WPA SSID create failed - vlan mode') PASS = False assert PASS @pytest.mark.twog @pytest.mark.wpa2_personal - def test_ssid_wpa2_personal_2g(self, create_wpa2_p_ssid_2g_profile_vlan): + def test_ssid_wpa2_personal_2g(self, instantiate_profile, create_wpa2_p_ssid_2g_profile_vlan, instantiate_testrail, instantiate_project): + print("12") profile_data = create_wpa2_p_ssid_2g_profile_vlan if profile_data: - # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa_bridge"], run_id=instantiate_project, - # status_id=1, - # msg='5G WPA SSID created successfully - bridge mode') + instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa2_vlan"], run_id=instantiate_project, + status_id=1, + msg='2G WPA2 PERSONAL SSID created successfully - vlan mode') PASS = True else: - # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa_bridge"], run_id=instantiate_project, - # status_id=5, - # msg='5G WPA SSID created successfully - bridge mode') + instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa2_vlan"], run_id=instantiate_project, + status_id=5, + msg='2G WPA2 PERSONAL SSID create failed - vlan mode') PASS = False assert PASS @pytest.mark.fiveg @pytest.mark.wpa2_personal - def test_ssid_wpa2_personal_5g(self, create_wpa2_p_ssid_5g_profile_vlan): + def test_ssid_wpa2_personal_5g(self, instantiate_profile, create_wpa2_p_ssid_5g_profile_vlan, instantiate_testrail, instantiate_project): + print("13") profile_data = create_wpa2_p_ssid_5g_profile_vlan if profile_data: - # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa_bridge"], run_id=instantiate_project, - # status_id=1, - # msg='5G WPA SSID created successfully - bridge mode') + instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa2_vlan"], run_id=instantiate_project, + status_id=1, + msg='5G WPA2 PERSONAL SSID created successfully - vlan mode') PASS = True else: - # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa_bridge"], run_id=instantiate_project, - # status_id=5, - # msg='5G WPA SSID created successfully - bridge mode') + instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa2_vlan"], run_id=instantiate_project, + status_id=5, + msg='5G WPA2 PERSONAL SSID create failed - vlan mode') PASS = False assert PASS @pytest.mark.twog @pytest.mark.wpa2_enterprise - def test_ssid_wpa2_enterprise_2g(self, create_wpa2_e_ssid_2g_profile_vlan): + def test_ssid_wpa2_enterprise_2g(self, instantiate_profile, create_wpa2_e_ssid_2g_profile_vlan, instantiate_testrail, instantiate_project): + print("14") profile_data = create_wpa2_e_ssid_2g_profile_vlan if profile_data: - # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa_bridge"], run_id=instantiate_project, - # status_id=1, - # msg='5G WPA SSID created successfully - bridge mode') + instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_eap_vlan"], run_id=instantiate_project, + status_id=1, + msg='2G WPA2 Enterprise SSID created successfully - vlan mode') PASS = True else: - # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa_bridge"], run_id=instantiate_project, - # status_id=5, - # msg='5G WPA SSID created successfully - bridge mode') + instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_eap_vlan"], run_id=instantiate_project, + status_id=5, + msg='2G WPA2 Enterprise SSID create failed - vlan mode') PASS = False assert PASS @pytest.mark.fiveg @pytest.mark.wpa2_enterprise - def test_ssid_wpa2_enterprise_5g(self, create_wpa2_e_ssid_5g_profile_vlan): + def test_ssid_wpa2_enterprise_5g(self, instantiate_profile, create_wpa2_e_ssid_5g_profile_vlan, instantiate_testrail, instantiate_project): + print("15") profile_data = create_wpa2_e_ssid_5g_profile_vlan if profile_data: - # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa_bridge"], run_id=instantiate_project, - # status_id=1, - # msg='5G WPA SSID created successfully - bridge mode') + instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_eap_vlan"], run_id=instantiate_project, + status_id=1, + msg='5G WPA2 Enterprise SSID created successfully - vlan mode') PASS = True else: - # instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa_bridge"], run_id=instantiate_project, - # status_id=5, - # msg='5G WPA SSID created successfully - bridge mode') + instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_eap_vlan"], run_id=instantiate_project, + status_id=5, + msg='5G WPA2 Enterprise SSID create failed - vlan mode') PASS = False assert PASS + diff --git a/tests/configuration_data.py b/tests/configuration_data.py index a0e54214a..56da3a813 100644 --- a/tests/configuration_data.py +++ b/tests/configuration_data.py @@ -22,7 +22,7 @@ NOLA = { "ecw5410": { "cloudsdk_url": "https://wlan-portal-svc-nola-ext-03.cicd.lab.wlan.tip.build", "customer_id": 2, - "equipment_id": 23 + "equipment_id": 24 }, "ecw5211": { "cloudsdk_url": "", diff --git a/tests/conftest.py b/tests/conftest.py index 9d002b164..91ee51dcc 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -167,17 +167,17 @@ def instantiate_testrail(request): @pytest.fixture(scope="session") -def instantiate_project(request, instantiate_testrail, get_equipment_model, get_latest_firmware): +def instantiate_project(request, instantiate_testrail, testrun_session, get_latest_firmware): # (instantiate_testrail) projId = instantiate_testrail.get_project_id(project_name=request.config.getini("tr_project_id")) - test_run_name = request.config.getini("tr_prefix") + get_equipment_model + "_" + str( + test_run_name = request.config.getini("tr_prefix") + testrun_session + "_" + str( datetime.date.today()) + "_" + get_latest_firmware instantiate_testrail.create_testrun(name=test_run_name, case_ids=list(TEST_CASES.values()), project_id=projId, milestone_id=request.config.getini("milestone"), description="Automated Nightly Sanity test run for new firmware build") rid = instantiate_testrail.get_run_id( - test_run_name=request.config.getini("tr_prefix") + get_equipment_model + "_" + str( + test_run_name=request.config.getini("tr_prefix") + testrun_session + "_" + str( datetime.date.today()) + "_" + get_latest_firmware) yield rid @@ -508,7 +508,7 @@ def create_wpa2_p_ssid_2g_profile_vlan(instantiate_profile, setup_profile_data): try: profile_data = setup_profile_data["VLAN"]['WPA2_P']['2G'] instantiate_profile.get_default_profiles() - profile = instantiate_profile.create_wpa_ssid_profile(profile_data=profile_data, fiveg=False) + profile = instantiate_profile.create_wpa2_personal_ssid_profile(profile_data=profile_data, fiveg=False) except: profile = False yield profile @@ -519,7 +519,7 @@ def create_wpa2_p_ssid_5g_profile_vlan(instantiate_profile, setup_profile_data): try: profile_data = setup_profile_data["VLAN"]['WPA2_P']['5G'] instantiate_profile.get_default_profiles() - profile = instantiate_profile.create_wpa_ssid_profile(profile_data=profile_data, two4g=False) + profile = instantiate_profile.create_wpa2_personal_ssid_profile(profile_data=profile_data, two4g=False) except: profile = False yield profile @@ -530,7 +530,7 @@ def create_wpa2_e_ssid_2g_profile_vlan(instantiate_profile, setup_profile_data): try: profile_data = setup_profile_data["VLAN"]['WPA2_E']['2G'] instantiate_profile.get_default_profiles() - profile = instantiate_profile.create_wpa_ssid_profile(profile_data=profile_data, fiveg=False) + profile = instantiate_profile.create_wpa2_enterprise_ssid_profile(profile_data=profile_data, fiveg=False) except: profile = False yield profile @@ -541,7 +541,7 @@ def create_wpa2_e_ssid_5g_profile_vlan(instantiate_profile, setup_profile_data): try: profile_data = setup_profile_data["VLAN"]['WPA2_E']['5G'] instantiate_profile.get_default_profiles() - profile = instantiate_profile.create_wpa_ssid_profile(profile_data=profile_data, two4g=False) + profile = instantiate_profile.create_wpa2_enterprise_ssid_profile(profile_data=profile_data, two4g=False) except: profile = False yield profile diff --git a/tests/pytest.ini b/tests/pytest.ini index e11a09100..b3b31ce64 100644 --- a/tests/pytest.ini +++ b/tests/pytest.ini @@ -24,7 +24,7 @@ jumphost_username=lanforge jumphost_password=lanforge # LANforge -lanforge-ip-address=localhost +lanforge-ip-address=192.168.200.80 lanforge-port-number=8080 lanforge-bridge-port=eth1 @@ -36,7 +36,7 @@ lanforge-5g-prefix=wlan1 lanforge-2dot4g-station=wlan1 lanforge-5g-station=wlan1 -lanforge-2dot4g-radio=wiphy0 +lanforge-2dot4g-radio=wiphy1 lanforge-5g-radio=wiphy1 # Cloud SDK settings @@ -54,7 +54,7 @@ radius_secret=testing123 tr_url=https://telecominfraproject.testrail.com tr_prefix=Nola_ext_03_ tr_user=shivam.thakur@candelatech.com -tr_pass= +tr_pass=las tr_project_id=WLAN milestone=29 From 979740d6102820715c56a06d91a31d12bf718f06 Mon Sep 17 00:00:00 2001 From: shivamcandela Date: Thu, 1 Apr 2021 20:02:53 +0530 Subject: [PATCH 41/45] testrail integration fixes Signed-off-by: shivamcandela --- tests/client_connectivity/test_bridge_mode.py | 4 ++-- tests/client_connectivity/test_nat_mode.py | 18 +++++++++--------- tests/client_connectivity/test_vlan_mode.py | 4 ++-- tests/pytest.ini | 2 +- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/tests/client_connectivity/test_bridge_mode.py b/tests/client_connectivity/test_bridge_mode.py index a971fb573..9b418b07c 100644 --- a/tests/client_connectivity/test_bridge_mode.py +++ b/tests/client_connectivity/test_bridge_mode.py @@ -102,11 +102,11 @@ class TestBridgeModeClientConnectivity(object): # result = 'pass' print("Single Client Connectivity :", staConnect.passes) if staConnect.passes(): - instantiate_testrail.update_testrail(case_id=TEST_CASES["25_wpa_bridge"], run_id=instantiate_project, + instantiate_testrail.update_testrail(case_id=TEST_CASES["5g_wpa_bridge"], run_id=instantiate_project, status_id=1, msg='5G WPA Client Connectivity Passed successfully - bridge mode') else: - instantiate_testrail.update_testrail(case_id=TEST_CASES["2g_wpa_bridge"], run_id=instantiate_project, + instantiate_testrail.update_testrail(case_id=TEST_CASES["5g_wpa_bridge"], run_id=instantiate_project, status_id=5, msg='5G WPA Client Connectivity Failed - bridge mode') assert staConnect.passes() diff --git a/tests/client_connectivity/test_nat_mode.py b/tests/client_connectivity/test_nat_mode.py index dd4c94681..13b84a7ea 100644 --- a/tests/client_connectivity/test_nat_mode.py +++ b/tests/client_connectivity/test_nat_mode.py @@ -35,7 +35,7 @@ class TestNatModeClientConnectivity(object): debug_=False) staConnect.sta_mode = 0 staConnect.upstream_resource = 1 - staConnect.upstream_port = get_lanforge_data["lanforge_nat_port"] + staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] staConnect.radio = get_lanforge_data["lanforge_2dot4g"] staConnect.resource = 1 staConnect.dut_ssid = profile_data["ssid_name"] @@ -67,7 +67,7 @@ class TestNatModeClientConnectivity(object): status_id=5, msg='2G WPA Client Connectivity Failed - nat mode') assert staConnect.passes() - # C2420 + @pytest.mark.wpa @pytest.mark.fiveg @@ -78,7 +78,7 @@ class TestNatModeClientConnectivity(object): debug_=False) staConnect.sta_mode = 0 staConnect.upstream_resource = 1 - staConnect.upstream_port = get_lanforge_data["lanforge_nat_port"] + staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] staConnect.radio = get_lanforge_data["lanforge_5g"] staConnect.resource = 1 staConnect.dut_ssid = profile_data["ssid_name"] @@ -102,11 +102,11 @@ class TestNatModeClientConnectivity(object): # result = 'pass' print("Single Client Connectivity :", staConnect.passes) if staConnect.passes(): - instantiate_testrail.update_testrail(case_id=TEST_CASES["25_wpa_nat"], run_id=instantiate_project, + instantiate_testrail.update_testrail(case_id=TEST_CASES["5g_wpa_nat"], run_id=instantiate_project, status_id=1, msg='5G WPA Client Connectivity Passed successfully - nat mode') else: - instantiate_testrail.update_testrail(case_id=TEST_CASES["2g_wpa_nat"], run_id=instantiate_project, + instantiate_testrail.update_testrail(case_id=TEST_CASES["5g_wpa_nat"], run_id=instantiate_project, status_id=5, msg='5G WPA Client Connectivity Failed - nat mode') assert staConnect.passes() @@ -120,7 +120,7 @@ class TestNatModeClientConnectivity(object): debug_=False) staConnect.sta_mode = 0 staConnect.upstream_resource = 1 - staConnect.upstream_port = get_lanforge_data["lanforge_nat_port"] + staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] staConnect.radio = get_lanforge_data["lanforge_2dot4g"] staConnect.resource = 1 staConnect.dut_ssid = profile_data["ssid_name"] @@ -162,7 +162,7 @@ class TestNatModeClientConnectivity(object): debug_=False) staConnect.sta_mode = 0 staConnect.upstream_resource = 1 - staConnect.upstream_port = get_lanforge_data["lanforge_nat_port"] + staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] staConnect.radio = get_lanforge_data["lanforge_5g"] staConnect.resource = 1 staConnect.dut_ssid = profile_data["ssid_name"] @@ -202,7 +202,7 @@ class TestNatModeClientConnectivity(object): profile_data = setup_profile_data["NAT"]["WPA2_E"]["2G"] eap_connect = EAPConnect(get_lanforge_data["lanforge_ip"], get_lanforge_data["lanforge-port-number"]) eap_connect.upstream_resource = 1 - eap_connect.upstream_port = get_lanforge_data["lanforge_nat_port"] + eap_connect.upstream_port = get_lanforge_data["lanforge_bridge_port"] eap_connect.security = "wpa2" eap_connect.sta_list = [get_lanforge_data["lanforge_2dot4g_station"]] eap_connect.station_names = [get_lanforge_data["lanforge_2dot4g_station"]] @@ -242,7 +242,7 @@ class TestNatModeClientConnectivity(object): profile_data = setup_profile_data["NAT"]["WPA2_E"]["5G"] eap_connect = EAPConnect(get_lanforge_data["lanforge_ip"], get_lanforge_data["lanforge-port-number"]) eap_connect.upstream_resource = 1 - eap_connect.upstream_port = get_lanforge_data["lanforge_nat_port"] + eap_connect.upstream_port = get_lanforge_data["lanforge_bridge_port"] eap_connect.security = "wpa2" eap_connect.sta_list = [get_lanforge_data["lanforge_5g_station"]] eap_connect.station_names = [get_lanforge_data["lanforge_5g_station"]] diff --git a/tests/client_connectivity/test_vlan_mode.py b/tests/client_connectivity/test_vlan_mode.py index 8fd4b5053..804848a88 100644 --- a/tests/client_connectivity/test_vlan_mode.py +++ b/tests/client_connectivity/test_vlan_mode.py @@ -104,11 +104,11 @@ class TestVlanModeClientConnectivity(object): # result = 'pass' print("Single Client Connectivity :", staConnect.passes) if staConnect.passes(): - instantiate_testrail.update_testrail(case_id=TEST_CASES["25_wpa_vlan"], run_id=instantiate_project, + instantiate_testrail.update_testrail(case_id=TEST_CASES["5g_wpa_vlan"], run_id=instantiate_project, status_id=1, msg='5G WPA Client Connectivity Passed successfully - vlan mode') else: - instantiate_testrail.update_testrail(case_id=TEST_CASES["2g_wpa_vlan"], run_id=instantiate_project, + instantiate_testrail.update_testrail(case_id=TEST_CASES["5g_wpa_vlan"], run_id=instantiate_project, status_id=5, msg='5G WPA Client Connectivity Failed - vlan mode') assert staConnect.passes() diff --git a/tests/pytest.ini b/tests/pytest.ini index b3b31ce64..0b58e18bf 100644 --- a/tests/pytest.ini +++ b/tests/pytest.ini @@ -54,7 +54,7 @@ radius_secret=testing123 tr_url=https://telecominfraproject.testrail.com tr_prefix=Nola_ext_03_ tr_user=shivam.thakur@candelatech.com -tr_pass=las +tr_pass=something tr_project_id=WLAN milestone=29 From 69a42cbc48781b490bc38c5905de503a591886ca Mon Sep 17 00:00:00 2001 From: shivamcandela Date: Thu, 8 Apr 2021 04:19:59 +0530 Subject: [PATCH 42/45] added testrails as an optional argument, cleaned the directories, added functionality of multiclient Signed-off-by: shivamcandela --- .../automationTests/APIClient.java | 319 ---- .../automationTests/APIException.java | 20 - .../automationTests/AccountTest.java | 486 ------ .../automationTests/DashboardTest.java | 387 ----- .../automationTests/LoginTest.java | 777 --------- .../automationTests/NetworkTest.java | 952 ----------- .../automationTests/ProfilesTest.java | 798 ---------- .../automationTests/SystemTests.java | 1385 ----------------- .../automationTests/UsersTest.java | 470 ------ .../automationTests/testSuite.java | 40 - cicd/README.txt | 109 -- cicd/ben-home-ecw5410/TESTBED_INFO.txt | 4 - cicd/ben-home-ecw5410/loop.bash | 8 - cicd/ben-home/TESTBED_INFO.txt | 4 - cicd/ferndale-basic-01/TESTBED_INFO.txt | 8 - cicd/ferndale-basic-01/loop.bash | 7 - cicd/ferndale-basic-01/loop1.bash | 7 - cicd/jfrog.pl | 493 ------ cicd/nola-basic-01/TESTBED_INFO.txt | 8 - cicd/nola-basic-01/loop.bash | 8 - cicd/nola-basic-02/TESTBED_INFO.txt | 8 - cicd/nola-basic-02/loop.bash | 8 - cicd/nola-basic-03/TESTBED_INFO.txt | 8 - cicd/nola-basic-03/loop.bash | 8 - cicd/nola-basic-04/TESTBED_INFO.txt | 8 - cicd/nola-basic-04/loop.bash | 8 - cicd/nola-basic-12/TESTBED_INFO.txt | 8 - cicd/nola-basic-12/loop.bash | 8 - cicd/nola-basic-13/TESTBED_INFO.txt | 8 - cicd/nola-basic-13/loop.bash | 8 - cicd/nola-basic-14/TESTBED_INFO.txt | 8 - cicd/nola-basic-14/loop.bash | 8 - cicd/nola-basic-15/TESTBED_INFO.txt | 8 - cicd/nola-basic-15/loop.bash | 8 - cicd/testbed_poll.pl | 525 ------- libs/apnos/apnos.py | 57 +- libs/cloudsdk/cloudsdk.py | 73 - libs/testrails/reporting.py | 7 + testbeds/README_OPENWRT.txt | 23 - .../ben-home-ecw5410/228_sta_scenario.txt | 9 - .../ben-home-ecw5410/AP-Auto-ap-auto-228.txt | 100 -- testbeds/ben-home-ecw5410/NOTES.txt | 10 - .../OpenWrt-overlay/etc/config/network | 33 - .../OpenWrt-overlay/etc/config/wireless | 30 - testbeds/ben-home-ecw5410/dpt-pkt-sz.txt | 55 - testbeds/ben-home-ecw5410/ecw-env.txt | 51 - testbeds/ben-home-ecw5410/run_basic.bash | 72 - testbeds/ben-home-ecw5410/run_basic_fast.bash | 77 - testbeds/ben-home-ecw5410/test_bed_cfg.bash | 55 - testbeds/ben-home-ecw5410/testbed_notes.html | 8 - testbeds/ben-home/228_sta_scenario.txt | 10 - testbeds/ben-home/AP-Auto-ap-auto-228.txt | 101 -- testbeds/ben-home/NOTES.txt | 10 - .../OpenWrt-overlay/etc/config/wireless | 46 - testbeds/ben-home/WCT-228sta.txt | 290 ---- testbeds/ben-home/dpt-pkt-sz.txt | 55 - testbeds/ben-home/run_basic.bash | 72 - testbeds/ben-home/run_basic_fast.bash | 77 - testbeds/ben-home/test_bed_cfg.bash | 58 - testbeds/ferndale-basic-01/NOTES.txt | 10 - .../OpenWrt-overlay/etc/config/wireless | 57 - testbeds/ferndale-basic-01/ap-auto.txt | 110 -- testbeds/ferndale-basic-01/dpt-pkt-sz.txt | 55 - testbeds/ferndale-basic-01/run_basic.bash | 71 - .../ferndale-basic-01/run_basic_fast.bash | 83 - testbeds/ferndale-basic-01/scenario.txt | 15 - testbeds/ferndale-basic-01/scenario_small.txt | 15 - testbeds/ferndale-basic-01/test_bed_cfg.bash | 61 - testbeds/ferndale-basic-01/wct.txt | 323 ---- testbeds/nola-basic-01/NOTES.txt | 2 - .../OpenWrt-overlay/etc/config/wireless | 32 - testbeds/nola-basic-01/ap-auto.txt | 111 -- testbeds/nola-basic-01/dpt-pkt-sz.txt | 55 - testbeds/nola-basic-01/run_basic.bash | 71 - testbeds/nola-basic-01/run_basic_fast.bash | 83 - testbeds/nola-basic-01/scenario.txt | 13 - testbeds/nola-basic-01/scenario_small.txt | 13 - testbeds/nola-basic-01/test_bed_cfg.bash | 60 - testbeds/nola-basic-01/wct.txt | 323 ---- testbeds/nola-basic-02/NOTES.txt | 2 - .../OpenWrt-overlay/etc/config/wireless | 32 - testbeds/nola-basic-02/ap-auto.txt | 111 -- testbeds/nola-basic-02/dpt-pkt-sz.txt | 55 - testbeds/nola-basic-02/run_basic.bash | 71 - testbeds/nola-basic-02/run_basic_fast.bash | 83 - testbeds/nola-basic-02/scenario.txt | 13 - testbeds/nola-basic-02/scenario_small.txt | 13 - testbeds/nola-basic-02/test_bed_cfg.bash | 60 - testbeds/nola-basic-02/wct.txt | 323 ---- testbeds/nola-basic-03/NOTES.txt | 2 - .../OpenWrt-overlay/etc/config/wireless | 34 - testbeds/nola-basic-03/ap-auto.txt | 111 -- testbeds/nola-basic-03/dpt-pkt-sz.txt | 55 - testbeds/nola-basic-03/run_basic.bash | 71 - testbeds/nola-basic-03/run_basic_fast.bash | 83 - testbeds/nola-basic-03/scenario.txt | 13 - testbeds/nola-basic-03/scenario_small.txt | 13 - testbeds/nola-basic-03/test_bed_cfg.bash | 60 - testbeds/nola-basic-03/wct.txt | 323 ---- testbeds/nola-basic-04/NOTES.txt | 2 - .../OpenWrt-overlay/etc/config/wireless | 32 - testbeds/nola-basic-04/ap-auto.txt | 111 -- testbeds/nola-basic-04/dpt-pkt-sz.txt | 55 - testbeds/nola-basic-04/run_basic.bash | 71 - testbeds/nola-basic-04/run_basic_fast.bash | 83 - testbeds/nola-basic-04/scenario.txt | 13 - testbeds/nola-basic-04/scenario_small.txt | 13 - testbeds/nola-basic-04/test_bed_cfg.bash | 60 - testbeds/nola-basic-04/wct.txt | 323 ---- testbeds/nola-basic-12/NOTES.txt | 2 - .../OpenWrt-overlay/etc/config/bugcheck | 2 - .../OpenWrt-overlay/etc/config/wireless | 33 - testbeds/nola-basic-12/ap-auto.txt | 120 -- testbeds/nola-basic-12/dpt-pkt-sz.txt | 55 - testbeds/nola-basic-12/run_basic.bash | 71 - testbeds/nola-basic-12/run_basic_fast.bash | 83 - testbeds/nola-basic-12/scenario.txt | 9 - testbeds/nola-basic-12/scenario_small.txt | 9 - testbeds/nola-basic-12/test_bed_cfg.bash | 62 - testbeds/nola-basic-12/wct.txt | 197 --- testbeds/nola-basic-13/NOTES.txt | 2 - .../OpenWrt-overlay/etc/config/bugcheck | 2 - .../OpenWrt-overlay/etc/config/wireless | 34 - testbeds/nola-basic-13/ap-auto.txt | 114 -- testbeds/nola-basic-13/dpt-pkt-sz.txt | 55 - testbeds/nola-basic-13/run_basic.bash | 71 - testbeds/nola-basic-13/run_basic_fast.bash | 83 - testbeds/nola-basic-13/scenario.txt | 11 - testbeds/nola-basic-13/scenario_small.txt | 11 - testbeds/nola-basic-13/test_bed_cfg.bash | 62 - testbeds/nola-basic-13/wct.txt | 191 --- testbeds/nola-basic-14/NOTES.txt | 2 - .../OpenWrt-overlay/etc/config/bugcheck | 2 - .../OpenWrt-overlay/etc/config/wireless | 34 - testbeds/nola-basic-14/ap-auto.txt | 111 -- testbeds/nola-basic-14/dpt-pkt-sz.txt | 55 - testbeds/nola-basic-14/run_basic.bash | 71 - testbeds/nola-basic-14/run_basic_fast.bash | 83 - testbeds/nola-basic-14/scenario.txt | 11 - testbeds/nola-basic-14/scenario_small.txt | 11 - testbeds/nola-basic-14/test_bed_cfg.bash | 62 - testbeds/nola-basic-14/wct.txt | 323 ---- testbeds/nola-basic-15/NOTES.txt | 1 - .../OpenWrt-overlay/etc/config/bugcheck | 2 - .../OpenWrt-overlay/etc/config/wireless | 32 - testbeds/nola-basic-15/ap-auto.txt | 111 -- testbeds/nola-basic-15/dpt-pkt-sz.txt | 55 - testbeds/nola-basic-15/run_basic.bash | 71 - testbeds/nola-basic-15/run_basic_fast.bash | 83 - testbeds/nola-basic-15/scenario.txt | 11 - testbeds/nola-basic-15/scenario_small.txt | 11 - testbeds/nola-basic-15/test_bed_cfg.bash | 62 - testbeds/nola-basic-15/wct.txt | 323 ---- tests/README.md | 75 +- tests/ap_tests/test_apnos.py | 2 +- tests/client_connectivity/test_bridge_mode.py | 60 +- tests/client_connectivity/test_nat_mode.py | 61 +- tests/client_connectivity/test_vlan_mode.py | 65 +- tests/cloudsdk_apnos/test_cloudsdk_apnos.py | 30 + tests/cloudsdk_tests/test_cloud.py | 6 +- tests/cloudsdk_tests/test_profile.py | 28 + tests/configuration_data.py | 9 +- tests/conftest.py | 51 +- tests/pytest.ini | 20 +- 164 files changed, 342 insertions(+), 15031 deletions(-) delete mode 100644 CICD_AP_CLOUDSDK/automationTests/APIClient.java delete mode 100644 CICD_AP_CLOUDSDK/automationTests/APIException.java delete mode 100644 CICD_AP_CLOUDSDK/automationTests/AccountTest.java delete mode 100644 CICD_AP_CLOUDSDK/automationTests/DashboardTest.java delete mode 100644 CICD_AP_CLOUDSDK/automationTests/LoginTest.java delete mode 100644 CICD_AP_CLOUDSDK/automationTests/NetworkTest.java delete mode 100644 CICD_AP_CLOUDSDK/automationTests/ProfilesTest.java delete mode 100644 CICD_AP_CLOUDSDK/automationTests/SystemTests.java delete mode 100644 CICD_AP_CLOUDSDK/automationTests/UsersTest.java delete mode 100644 CICD_AP_CLOUDSDK/automationTests/testSuite.java delete mode 100644 cicd/README.txt delete mode 100644 cicd/ben-home-ecw5410/TESTBED_INFO.txt delete mode 100755 cicd/ben-home-ecw5410/loop.bash delete mode 100644 cicd/ben-home/TESTBED_INFO.txt delete mode 100644 cicd/ferndale-basic-01/TESTBED_INFO.txt delete mode 100755 cicd/ferndale-basic-01/loop.bash delete mode 100755 cicd/ferndale-basic-01/loop1.bash delete mode 100755 cicd/jfrog.pl delete mode 100644 cicd/nola-basic-01/TESTBED_INFO.txt delete mode 100755 cicd/nola-basic-01/loop.bash delete mode 100644 cicd/nola-basic-02/TESTBED_INFO.txt delete mode 100755 cicd/nola-basic-02/loop.bash delete mode 100644 cicd/nola-basic-03/TESTBED_INFO.txt delete mode 100755 cicd/nola-basic-03/loop.bash delete mode 100644 cicd/nola-basic-04/TESTBED_INFO.txt delete mode 100755 cicd/nola-basic-04/loop.bash delete mode 100644 cicd/nola-basic-12/TESTBED_INFO.txt delete mode 100755 cicd/nola-basic-12/loop.bash delete mode 100644 cicd/nola-basic-13/TESTBED_INFO.txt delete mode 100755 cicd/nola-basic-13/loop.bash delete mode 100644 cicd/nola-basic-14/TESTBED_INFO.txt delete mode 100755 cicd/nola-basic-14/loop.bash delete mode 100644 cicd/nola-basic-15/TESTBED_INFO.txt delete mode 100755 cicd/nola-basic-15/loop.bash delete mode 100755 cicd/testbed_poll.pl create mode 100644 libs/testrails/reporting.py delete mode 100644 testbeds/README_OPENWRT.txt delete mode 100644 testbeds/ben-home-ecw5410/228_sta_scenario.txt delete mode 100644 testbeds/ben-home-ecw5410/AP-Auto-ap-auto-228.txt delete mode 100644 testbeds/ben-home-ecw5410/NOTES.txt delete mode 100644 testbeds/ben-home-ecw5410/OpenWrt-overlay/etc/config/network delete mode 100644 testbeds/ben-home-ecw5410/OpenWrt-overlay/etc/config/wireless delete mode 100644 testbeds/ben-home-ecw5410/dpt-pkt-sz.txt delete mode 100644 testbeds/ben-home-ecw5410/ecw-env.txt delete mode 100755 testbeds/ben-home-ecw5410/run_basic.bash delete mode 100755 testbeds/ben-home-ecw5410/run_basic_fast.bash delete mode 100644 testbeds/ben-home-ecw5410/test_bed_cfg.bash delete mode 100644 testbeds/ben-home-ecw5410/testbed_notes.html delete mode 100644 testbeds/ben-home/228_sta_scenario.txt delete mode 100644 testbeds/ben-home/AP-Auto-ap-auto-228.txt delete mode 100644 testbeds/ben-home/NOTES.txt delete mode 100644 testbeds/ben-home/OpenWrt-overlay/etc/config/wireless delete mode 100644 testbeds/ben-home/WCT-228sta.txt delete mode 100644 testbeds/ben-home/dpt-pkt-sz.txt delete mode 100755 testbeds/ben-home/run_basic.bash delete mode 100755 testbeds/ben-home/run_basic_fast.bash delete mode 100644 testbeds/ben-home/test_bed_cfg.bash delete mode 100644 testbeds/ferndale-basic-01/NOTES.txt delete mode 100644 testbeds/ferndale-basic-01/OpenWrt-overlay/etc/config/wireless delete mode 100644 testbeds/ferndale-basic-01/ap-auto.txt delete mode 100644 testbeds/ferndale-basic-01/dpt-pkt-sz.txt delete mode 100755 testbeds/ferndale-basic-01/run_basic.bash delete mode 100755 testbeds/ferndale-basic-01/run_basic_fast.bash delete mode 100644 testbeds/ferndale-basic-01/scenario.txt delete mode 100644 testbeds/ferndale-basic-01/scenario_small.txt delete mode 100644 testbeds/ferndale-basic-01/test_bed_cfg.bash delete mode 100644 testbeds/ferndale-basic-01/wct.txt delete mode 100644 testbeds/nola-basic-01/NOTES.txt delete mode 100644 testbeds/nola-basic-01/OpenWrt-overlay/etc/config/wireless delete mode 100644 testbeds/nola-basic-01/ap-auto.txt delete mode 100644 testbeds/nola-basic-01/dpt-pkt-sz.txt delete mode 100755 testbeds/nola-basic-01/run_basic.bash delete mode 100755 testbeds/nola-basic-01/run_basic_fast.bash delete mode 100644 testbeds/nola-basic-01/scenario.txt delete mode 100644 testbeds/nola-basic-01/scenario_small.txt delete mode 100644 testbeds/nola-basic-01/test_bed_cfg.bash delete mode 100644 testbeds/nola-basic-01/wct.txt delete mode 100644 testbeds/nola-basic-02/NOTES.txt delete mode 100644 testbeds/nola-basic-02/OpenWrt-overlay/etc/config/wireless delete mode 100644 testbeds/nola-basic-02/ap-auto.txt delete mode 100644 testbeds/nola-basic-02/dpt-pkt-sz.txt delete mode 100755 testbeds/nola-basic-02/run_basic.bash delete mode 100755 testbeds/nola-basic-02/run_basic_fast.bash delete mode 100644 testbeds/nola-basic-02/scenario.txt delete mode 100644 testbeds/nola-basic-02/scenario_small.txt delete mode 100644 testbeds/nola-basic-02/test_bed_cfg.bash delete mode 100644 testbeds/nola-basic-02/wct.txt delete mode 100644 testbeds/nola-basic-03/NOTES.txt delete mode 100644 testbeds/nola-basic-03/OpenWrt-overlay/etc/config/wireless delete mode 100644 testbeds/nola-basic-03/ap-auto.txt delete mode 100644 testbeds/nola-basic-03/dpt-pkt-sz.txt delete mode 100755 testbeds/nola-basic-03/run_basic.bash delete mode 100755 testbeds/nola-basic-03/run_basic_fast.bash delete mode 100644 testbeds/nola-basic-03/scenario.txt delete mode 100644 testbeds/nola-basic-03/scenario_small.txt delete mode 100644 testbeds/nola-basic-03/test_bed_cfg.bash delete mode 100644 testbeds/nola-basic-03/wct.txt delete mode 100644 testbeds/nola-basic-04/NOTES.txt delete mode 100644 testbeds/nola-basic-04/OpenWrt-overlay/etc/config/wireless delete mode 100644 testbeds/nola-basic-04/ap-auto.txt delete mode 100644 testbeds/nola-basic-04/dpt-pkt-sz.txt delete mode 100755 testbeds/nola-basic-04/run_basic.bash delete mode 100755 testbeds/nola-basic-04/run_basic_fast.bash delete mode 100644 testbeds/nola-basic-04/scenario.txt delete mode 100644 testbeds/nola-basic-04/scenario_small.txt delete mode 100644 testbeds/nola-basic-04/test_bed_cfg.bash delete mode 100644 testbeds/nola-basic-04/wct.txt delete mode 100644 testbeds/nola-basic-12/NOTES.txt delete mode 100644 testbeds/nola-basic-12/OpenWrt-overlay/etc/config/bugcheck delete mode 100644 testbeds/nola-basic-12/OpenWrt-overlay/etc/config/wireless delete mode 100644 testbeds/nola-basic-12/ap-auto.txt delete mode 100644 testbeds/nola-basic-12/dpt-pkt-sz.txt delete mode 100755 testbeds/nola-basic-12/run_basic.bash delete mode 100755 testbeds/nola-basic-12/run_basic_fast.bash delete mode 100644 testbeds/nola-basic-12/scenario.txt delete mode 100644 testbeds/nola-basic-12/scenario_small.txt delete mode 100644 testbeds/nola-basic-12/test_bed_cfg.bash delete mode 100644 testbeds/nola-basic-12/wct.txt delete mode 100644 testbeds/nola-basic-13/NOTES.txt delete mode 100644 testbeds/nola-basic-13/OpenWrt-overlay/etc/config/bugcheck delete mode 100644 testbeds/nola-basic-13/OpenWrt-overlay/etc/config/wireless delete mode 100644 testbeds/nola-basic-13/ap-auto.txt delete mode 100644 testbeds/nola-basic-13/dpt-pkt-sz.txt delete mode 100755 testbeds/nola-basic-13/run_basic.bash delete mode 100755 testbeds/nola-basic-13/run_basic_fast.bash delete mode 100644 testbeds/nola-basic-13/scenario.txt delete mode 100644 testbeds/nola-basic-13/scenario_small.txt delete mode 100644 testbeds/nola-basic-13/test_bed_cfg.bash delete mode 100644 testbeds/nola-basic-13/wct.txt delete mode 100644 testbeds/nola-basic-14/NOTES.txt delete mode 100644 testbeds/nola-basic-14/OpenWrt-overlay/etc/config/bugcheck delete mode 100644 testbeds/nola-basic-14/OpenWrt-overlay/etc/config/wireless delete mode 100644 testbeds/nola-basic-14/ap-auto.txt delete mode 100644 testbeds/nola-basic-14/dpt-pkt-sz.txt delete mode 100755 testbeds/nola-basic-14/run_basic.bash delete mode 100755 testbeds/nola-basic-14/run_basic_fast.bash delete mode 100644 testbeds/nola-basic-14/scenario.txt delete mode 100644 testbeds/nola-basic-14/scenario_small.txt delete mode 100644 testbeds/nola-basic-14/test_bed_cfg.bash delete mode 100644 testbeds/nola-basic-14/wct.txt delete mode 100644 testbeds/nola-basic-15/NOTES.txt delete mode 100644 testbeds/nola-basic-15/OpenWrt-overlay/etc/config/bugcheck delete mode 100644 testbeds/nola-basic-15/OpenWrt-overlay/etc/config/wireless delete mode 100644 testbeds/nola-basic-15/ap-auto.txt delete mode 100644 testbeds/nola-basic-15/dpt-pkt-sz.txt delete mode 100755 testbeds/nola-basic-15/run_basic.bash delete mode 100755 testbeds/nola-basic-15/run_basic_fast.bash delete mode 100644 testbeds/nola-basic-15/scenario.txt delete mode 100644 testbeds/nola-basic-15/scenario_small.txt delete mode 100644 testbeds/nola-basic-15/test_bed_cfg.bash delete mode 100644 testbeds/nola-basic-15/wct.txt diff --git a/CICD_AP_CLOUDSDK/automationTests/APIClient.java b/CICD_AP_CLOUDSDK/automationTests/APIClient.java deleted file mode 100644 index 1c0f1ae9c..000000000 --- a/CICD_AP_CLOUDSDK/automationTests/APIClient.java +++ /dev/null @@ -1,319 +0,0 @@ -package automationTests; - - -/** - * TestRail API binding for Java (API v2, available since TestRail 3.0) - * Updated for TestRail 5.7 - * - * Learn more: - * - * http://docs.gurock.com/testrail-api2/start - * http://docs.gurock.com/testrail-api2/accessing - * - * Copyright Gurock Software GmbH. See license.md for details. - */ - -import java.net.URL; -import java.net.HttpURLConnection; -import java.net.MalformedURLException; -import java.io.File; -import java.io.FileInputStream; -import java.io.FileOutputStream; -import java.io.IOException; -import java.io.InputStream; -import java.io.InputStreamReader; -import java.io.OutputStream; -import java.io.OutputStreamWriter; -import java.io.BufferedReader; -import java.io.BufferedWriter; -import java.util.Base64; -import org.json.simple.JSONObject; -import org.json.simple.JSONValue; - - -public class APIClient -{ - private String m_user; - private String m_password; - private String m_url; - - public APIClient(String base_url) - { - if (!base_url.endsWith("/")) - { - base_url += "/"; - } - - this.m_url = base_url + "index.php?/api/v2/"; - } - - /** - * Get/Set User - * - * Returns/sets the user used for authenticating the API requests. - */ - public String getUser() - { - return this.m_user; - } - - public void setUser(String user) - { - this.m_user = user; - } - - /** - * Get/Set Password - * - * Returns/sets the password used for authenticating the API requests. - */ - public String getPassword() - { - return this.m_password; - } - - public void setPassword(String password) - { - this.m_password = password; - } - - /** - * Send Get - * - * Issues a GET request (read) against the API and returns the result - * (as Object, see below). - * - * Arguments: - * - * uri The API method to call including parameters - * (e.g. get_case/1) - * - * Returns the parsed JSON response as standard object which can - * either be an instance of JSONObject or JSONArray (depending on the - * API method). In most cases, this returns a JSONObject instance which - * is basically the same as java.util.Map. - * - * If 'get_attachment/:attachment_id', returns a String - */ - public Object sendGet(String uri, String data) - throws MalformedURLException, IOException, APIException - { - return this.sendRequest("GET", uri, data); - } - - public Object sendGet(String uri) - throws MalformedURLException, IOException, APIException - { - return this.sendRequest("GET", uri, null); - } - - /** - * Send POST - * - * Issues a POST request (write) against the API and returns the result - * (as Object, see below). - * - * Arguments: - * - * uri The API method to call including parameters - * (e.g. add_case/1) - * data The data to submit as part of the request (e.g., - * a map) - * If adding an attachment, must be the path - * to the file - * - * Returns the parsed JSON response as standard object which can - * either be an instance of JSONObject or JSONArray (depending on the - * API method). In most cases, this returns a JSONObject instance which - * is basically the same as java.util.Map. - */ - public Object sendPost(String uri, Object data) - throws MalformedURLException, IOException, APIException - { - return this.sendRequest("POST", uri, data); - } - - private Object sendRequest(String method, String uri, Object data) - throws MalformedURLException, IOException, APIException - { - URL url = new URL(this.m_url + uri); - // Create the connection object and set the required HTTP method - // (GET/POST) and headers (content type and basic auth). - HttpURLConnection conn = (HttpURLConnection)url.openConnection(); - - String auth = getAuthorization(this.m_user, this.m_password); - conn.addRequestProperty("Authorization", "Basic " + auth); - - if (method.equals("POST")) - { - conn.setRequestMethod("POST"); - // Add the POST arguments, if any. We just serialize the passed - // data object (i.e. a dictionary) and then add it to the - // request body. - if (data != null) - { - if (uri.startsWith("add_attachment")) // add_attachment API requests - { - String boundary = "TestRailAPIAttachmentBoundary"; //Can be any random string - File uploadFile = new File((String)data); - - conn.setDoOutput(true); - conn.addRequestProperty("Content-Type", "multipart/form-data; boundary=" + boundary); - - OutputStream ostreamBody = conn.getOutputStream(); - BufferedWriter bodyWriter = new BufferedWriter(new OutputStreamWriter(ostreamBody)); - - bodyWriter.write("\n\n--" + boundary + "\r\n"); - bodyWriter.write("Content-Disposition: form-data; name=\"attachment\"; filename=\"" - + uploadFile.getName() + "\""); - bodyWriter.write("\r\n\r\n"); - bodyWriter.flush(); - - //Read file into request - InputStream istreamFile = new FileInputStream(uploadFile); - int bytesRead; - byte[] dataBuffer = new byte[1024]; - while ((bytesRead = istreamFile.read(dataBuffer)) != -1) - { - ostreamBody.write(dataBuffer, 0, bytesRead); - } - - ostreamBody.flush(); - - //end of attachment, add boundary - bodyWriter.write("\r\n--" + boundary + "--\r\n"); - bodyWriter.flush(); - - //Close streams - istreamFile.close(); - ostreamBody.close(); - bodyWriter.close(); - } - else // Not an attachment - { - conn.addRequestProperty("Content-Type", "application/json"); - byte[] block = JSONValue.toJSONString(data). - getBytes("UTF-8"); - - conn.setDoOutput(true); - OutputStream ostream = conn.getOutputStream(); - ostream.write(block); - ostream.close(); - } - } - } - else // GET request - { - conn.addRequestProperty("Content-Type", "application/json"); - } - - // Execute the actual web request (if it wasn't already initiated - // by getOutputStream above) and record any occurred errors (we use - // the error stream in this case). - int status = conn.getResponseCode(); - - InputStream istream; - if (status != 200) - { - istream = conn.getErrorStream(); - if (istream == null) - { - throw new APIException( - "TestRail API return HTTP " + status + - " (No additional error message received)" - ); - } - } - else - { - istream = conn.getInputStream(); - } - - // If 'get_attachment' (not 'get_attachments') returned valid status code, save the file - if ((istream != null) - && (uri.startsWith("get_attachment/"))) - { - FileOutputStream outputStream = new FileOutputStream((String)data); - - int bytesRead = 0; - byte[] buffer = new byte[1024]; - while ((bytesRead = istream.read(buffer)) > 0) - { - outputStream.write(buffer, 0, bytesRead); - } - - outputStream.close(); - istream.close(); - return (String) data; - } - - // Not an attachment received - // Read the response body, if any, and deserialize it from JSON. - String text = ""; - if (istream != null) - { - BufferedReader reader = new BufferedReader( - new InputStreamReader( - istream, - "UTF-8" - ) - ); - - String line; - while ((line = reader.readLine()) != null) - { - text += line; - text += System.getProperty("line.separator"); - } - - reader.close(); - } - - Object result; - if (!text.equals("")) - { - result = JSONValue.parse(text); - } - else - { - result = new JSONObject(); - } - - // Check for any occurred errors and add additional details to - // the exception message, if any (e.g. the error message returned - // by TestRail). - if (status != 200) - { - String error = "No additional error message received"; - if (result != null && result instanceof JSONObject) - { - JSONObject obj = (JSONObject) result; - if (obj.containsKey("error")) - { - error = '"' + (String) obj.get("error") + '"'; - } - } - - throw new APIException( - "TestRail API returned HTTP " + status + - "(" + error + ")" - ); - } - - return result; - } - - private static String getAuthorization(String user, String password) - { - try - { - return new String(Base64.getEncoder().encode((user + ":" + password).getBytes())); - } - catch (IllegalArgumentException e) - { - // Not thrown - } - - return ""; - } -} diff --git a/CICD_AP_CLOUDSDK/automationTests/APIException.java b/CICD_AP_CLOUDSDK/automationTests/APIException.java deleted file mode 100644 index 33e88836e..000000000 --- a/CICD_AP_CLOUDSDK/automationTests/APIException.java +++ /dev/null @@ -1,20 +0,0 @@ -package automationTests; - -/** - * TestRail API binding for Java (API v2, available since TestRail 3.0) - * - * Learn more: - * - * http://docs.gurock.com/testrail-api2/start - * http://docs.gurock.com/testrail-api2/accessing - * - * Copyright Gurock Software GmbH. See license.md for details. - */ - -public class APIException extends Exception -{ - public APIException(String message) - { - super(message); - } -} diff --git a/CICD_AP_CLOUDSDK/automationTests/AccountTest.java b/CICD_AP_CLOUDSDK/automationTests/AccountTest.java deleted file mode 100644 index dcc5f5232..000000000 --- a/CICD_AP_CLOUDSDK/automationTests/AccountTest.java +++ /dev/null @@ -1,486 +0,0 @@ -package automationTests; - -import static org.junit.jupiter.api.Assertions.*; - -import java.io.IOException; -import java.net.MalformedURLException; -import java.util.Calendar; -import java.util.HashMap; -import java.util.List; - -import org.junit.AfterClass; -import org.junit.Test; -import org.junit.jupiter.api.AfterAll; -import org.junit.jupiter.api.BeforeAll; -import org.junit.Assert; -import org.junit.BeforeClass; -import org.openqa.selenium.By; -import org.openqa.selenium.Keys; -import org.openqa.selenium.WebDriver; -import org.openqa.selenium.WebElement; -import org.openqa.selenium.chrome.ChromeDriver; -import org.openqa.selenium.chrome.ChromeOptions; -import org.openqa.selenium.interactions.Actions; -import org.json.simple.JSONArray; -import org.json.simple.JSONObject; -import org.json.simple.JSONValue; - -import java.util.Map; - -public class AccountTest{ - WebDriver driver; - static APIClient client; - static long runId; - @BeforeClass - public static void startTest() throws Exception - { - client = new APIClient("https://telecominfraproject.testrail.com"); - client.setUser("syama.devi@connectus.ai"); - client.setPassword("Connectus123$"); - JSONArray c = (JSONArray) client.sendGet("get_runs/5"); - runId = new Long(0); - - Calendar cal = Calendar.getInstance(); - //Months are indexed 0-11 so add 1 for current month - int month = cal.get(Calendar.MONTH) + 1; - String date = "UI Automation Run - " + cal.get(Calendar.DATE) + "/" + month + "/" + cal.get(Calendar.YEAR); - - for (int a = 0; a < c.size(); a++) { - if (((JSONObject) c.get(a)).get("name").equals(date)) { - runId = (Long) ((JSONObject) c.get(a)).get("id"); - } - } - } - - public void launchBrowser() { - System.setProperty("webdriver.chrome.driver", "/home/netex/nightly_sanity/ui-scripts/chromedriver"); - ChromeOptions options = new ChromeOptions(); - options.addArguments("--no-sandbox"); -// options.addArguments("--disable-dev-shm-usage"); - options.addArguments("--headless"); - options.addArguments("--window-size=1920,1080"); - driver = new ChromeDriver(options); - driver.get("https://wlan-ui.qa.lab.wlan.tip.build"); - } - - void closeBrowser() { - driver.close(); - } - - public void logIn() { - driver.findElement(By.id("login_email")).sendKeys("support@example.com"); - driver.findElement(By.id("login_password")).sendKeys("support"); - driver.findElement(By.xpath("//*[@id=\"login\"]/button/span")).click(); - } - - public void accountsScreen() throws Exception { - driver.findElement(By.linkText("Accounts")).click(); - } - - public void addAccountButton(int testId) throws MalformedURLException, IOException, APIException { - try { - Actions act = new Actions(driver); - act.moveToElement(driver.findElement(By.cssSelector("[title^='addaccount']"))).click().perform(); - } catch (Exception E) { - Map data = new HashMap(); - data.put("status_id", new Integer(5)); - data.put("comment", "Fail"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/"+testId, data); - fail("Fail"); - } - - } - - public void verifyAddAccountPopup(int testId) throws MalformedURLException, IOException, APIException { - Map data = new HashMap(); - try { - if (driver.findElement(By.id("rcDialogTitle0")).getText().equals("Add User")) { - //pass - } else { - - data.put("status_id", new Integer(5)); - data.put("comment", "Incorrect popup displayed"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/"+testId, data); - fail(); - } - } catch (Exception E) { - data.put("status_id", new Integer(5)); - data.put("comment", "Fail"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/"+testId, data); - fail("Fail"); - } - } - - public void addAccount(String account, String password, String confirmPassword, int testId) throws MalformedURLException, IOException, APIException { - try { - addAccountButton(testId); - Actions browser = new Actions(driver); - browser.sendKeys(Keys.TAB).perform(); - browser.sendKeys(Keys.TAB).perform(); - browser.sendKeys(account).perform(); - browser.sendKeys(Keys.TAB).perform(); - browser.sendKeys(Keys.TAB).perform(); - browser.sendKeys(password).perform(); - browser.sendKeys(Keys.TAB).perform(); - browser.sendKeys(confirmPassword).perform(); - browser.sendKeys(Keys.TAB).perform(); - browser.sendKeys(Keys.TAB).perform(); - browser.sendKeys(Keys.ENTER).perform(); - } catch (Exception E) { - Map data = new HashMap(); - data.put("status_id", new Integer(5)); - data.put("comment", "Fail"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/"+testId, data); - fail("Fail"); - } - - } - - public void blankEmailWarning(int testId) throws Exception { - try { - if (driver.findElement(By.cssSelector("[role^='alert']")).getText().equals("Please input your e-mail")) { - //pass - } else { - //System.out.print(driver.findElement(By.cssSelector("[role^='alert']")).getText()); - - fail("Incorrect warning displayed"); - } - } catch (Exception E) { - Map data = new HashMap(); - data.put("status_id", new Integer(5)); - data.put("comment", "Fail"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/"+testId, data); - fail("No warning displayed"); - } - } - - public void invalidPasswordsWarning(int testId) throws Exception { - try { - if (driver.findElement(By.cssSelector("[role^='alert']")).getText().equals("The two passwords do not match")) { - //pass - } else { - System.out.print(driver.findElement(By.cssSelector(".ant-form-item-explain > div")).getText()); - - fail("Incorrect warning displayed"); - } - } catch (Exception E) { - Map data = new HashMap(); - data.put("status_id", new Integer(5)); - data.put("comment", "Fail"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/"+testId, data); - fail("No warning displayed"); - } - } - - public void invalidEmailWarning(int testId) throws Exception { - try { - if (driver.findElement(By.cssSelector("[role^='alert']")).getText().equals("The input is not a valid e-mail")) { - //pass - } else { - System.out.print(driver.findElement(By.cssSelector(".ant-form-item-explain > div")).getText()); - - fail("Incorrect error displayed"); - } - } catch (Exception E) { - Map data = new HashMap(); - data.put("status_id", new Integer(5)); - data.put("comment", "Fail"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/"+testId, data); - fail("No error displayed"); - } - } - - public void editAccount(String oldName, String newName, int testId) throws Exception { - try { - WebElement tbl = driver.findElement(By.xpath("//table")); - List rows = tbl.findElements(By.tagName("tr")); - boolean found = false; - //row iteration - breakP: - for(int i=0; i cols = rows.get(i).findElements(By.tagName("td")); - - //column iteration - for(int j=0; j rows = tbl.findElements(By.tagName("tr")); - boolean found = false; - //row iteration - breakP: - for(int i=0; i cols = rows.get(i).findElements(By.tagName("td")); - - //column iteration - for(int j=0; j rows = tbl.findElements(By.tagName("tr")); - boolean found = false; - //row iteration - for(int i=0; i cols = rows.get(i).findElements(By.tagName("td")); - - //column iteration - for(int j=0; j rows = driver.findElements(By.cssSelector("[class^='chart']")); - List lines = driver.findElements(By.cssSelector("[class^='highcharts-tracker-line']")); - - if (lines.size()!= 5) { - failure(testId); - fail(); - } - - } - - public int countRows(int testId) throws MalformedURLException, IOException, APIException { - try { - - }catch (Exception E) { - failure(testId); - fail(); - } - WebElement tbl = driver.findElement(By.xpath("//table")); - List rows = tbl.findElements(By.tagName("tr")); - return rows.size()-2; - } - - public int findProfile(int testId) throws MalformedURLException, IOException, APIException { - try { - - }catch (Exception E) { - failure(testId); - fail(); - } - WebElement tbl = driver.findElement(By.xpath("//table")); - List rows = tbl.findElements(By.tagName("tr")); - int count = 0; - - - //row iteration - for(int i=2; i cols = rows.get(i).findElements(By.tagName("td")); - - if (!cols.get(7).getText().equals("")) { - count++; - } - - } - return count; - } - - public void verifyClientDevicesGraphs(int testId) throws MalformedURLException, IOException, APIException, InterruptedException { - List points = driver.findElements(By.cssSelector("[class^='highcharts-point']")); - points.get(1).click(); - points.get(2).click(); - Thread.sleep(1000); - List lines = driver.findElements(By.cssSelector("[class^='highcharts-tracker-line']")); - if (!lines.get(1).getAttribute("visibility").equals("hidden")||!lines.get(2).getAttribute("visibility").equals("hidden")) { - failure(testId); - fail(); - } - } - - public void verifyTrafficGraphs(int testId) throws MalformedURLException, IOException, APIException, InterruptedException { - List points = driver.findElements(By.cssSelector("[class^='highcharts-point']")); - points.get(3).click(); - points.get(4).click(); - Thread.sleep(1000); - List lines = driver.findElements(By.cssSelector("[class^='highcharts-tracker-line']")); - if (!lines.get(3).getAttribute("visibility").equals("hidden")||!lines.get(4).getAttribute("visibility").equals("hidden")) { - failure(testId); - fail(); - } - } - - public void verifyDashboardScreenDetails(int testId) throws MalformedURLException, IOException, APIException { - Map data = new HashMap(); - try { - if (!driver.findElement(By.cssSelector("#root > section > main > div > div > div.index-module__infoWrapper___2MqZn > div:nth-child(1) > div.ant-card-head > div > div")).getText().equals("Access Point")) { - data.put("status_id", new Integer(5)); - data.put("comment", "Fail"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/"+testId, data); - fail("Dashboard section not displayed"); - } else if (!driver.findElement(By.cssSelector("#root > section > main > div > div > div.index-module__infoWrapper___2MqZn > div:nth-child(2) > div.ant-card-head > div > div")).getText().equals("Client Devices")) { - data.put("status_id", new Integer(5)); - data.put("comment", "Fail"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/"+testId, data); - fail("Dashboard section not displayed"); - } else if (!driver.findElement(By.cssSelector("#root > section > main > div > div > div.index-module__infoWrapper___2MqZn > div:nth-child(3) > div.ant-card-head > div > div")).getText().equals("Usage Information (24 hours)")) { - data.put("status_id", new Integer(5)); - data.put("comment", "Fail"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/"+testId, data); - fail("Dashboard section not displayed"); - } else if (!driver.findElement(By.cssSelector("#root > section > main > div > div > div:nth-child(2) > div:nth-child(1) > div > div.ant-card-head > div > div.ant-card-head-title")).getText().equals("Inservice APs (24 hours)")) { - data.put("status_id", new Integer(5)); - data.put("comment", "Fail"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/"+testId, data); - fail("Dashboard section not displayed"); - } else if (!driver.findElement(By.cssSelector("#root > section > main > div > div > div:nth-child(2) > div:nth-child(2) > div > div.ant-card-head > div > div.ant-card-head-title")).getText().equals("Client Devices (24 hours)")) { - data.put("status_id", new Integer(5)); - data.put("comment", "Fail"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/"+testId, data); - fail("Dashboard section not displayed"); - } else if (!driver.findElement(By.cssSelector("#root > section > main > div > div > div:nth-child(2) > div:nth-child(3) > div > div.ant-card-head > div > div.ant-card-head-title")).getText().equals("Traffic (24 hours)")) { - data.put("status_id", new Integer(5)); - data.put("comment", "Fail"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/"+testId, data); - fail("Dashboard section not displayed"); - } else if (!driver.findElement(By.cssSelector("#root > section > main > div > div > div:nth-child(3) > div:nth-child(1) > div > div.ant-card-head > div > div")).getText().equals("AP Vendors")) { - data.put("status_id", new Integer(5)); - data.put("comment", "Fail"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/"+testId, data); - fail("Dashboard section not displayed"); - } else if (!driver.findElement(By.cssSelector("#root > section > main > div > div > div:nth-child(3) > div:nth-child(2) > div > div.ant-card-head > div > div")).getText().equals("Client Vendors")) { - - fail("Dashboard section not displayed"); - } - } catch (Exception E) { - - data.put("status_id", new Integer(5)); - data.put("comment", "Fail"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/"+testId, data); - fail("Dashboard section not displayed"); - } - - } - //C5218 - @Test - public void apDetailsTest() throws Exception { - Map data = new HashMap(); - DashboardTest obj = new DashboardTest(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(3000); - int displayed = obj.verifyAPNumber(5218); - Thread.sleep(1000); - obj.networkScreen(); - Thread.sleep(5000); - obj.loadAllProfiles(5218); - Thread.sleep(3000); - int actual = obj.countRows(5218); - Assert.assertEquals(displayed, actual); - obj.closeBrowser(); - - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/5218", data); - } - - //C5221 - @Test - public void displayGraphsTest() throws Exception { - Map data = new HashMap(); - DashboardTest obj = new DashboardTest(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(5000); - obj.verifyGraphs(5221); - Thread.sleep(2000); - obj.closeBrowser(); - - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/5221", data); - - } - - //C5220 - @Test - public void displayAllSectionsTest() throws Exception { - Map data = new HashMap(); - DashboardTest obj = new DashboardTest(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(5000); - obj.verifyDashboardScreenDetails(5220); - obj.closeBrowser(); - - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/5220", data); - - } - - //C5634 - @Test - public void clientDevicesGraphsTest() throws Exception { - int testId = 5634; - Map data = new HashMap(); - DashboardTest obj = new DashboardTest(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(5000); - obj.verifyClientDevicesGraphs(testId); - Thread.sleep(2000); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/"+testId, data); - } - - //C5635 - @Test - public void trafficGraphsTest() throws Exception { - int testId = 5635; - - DashboardTest obj = new DashboardTest(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(5000); - obj.verifyTrafficGraphs(testId); - Thread.sleep(2000); - obj.closeBrowser(); - - Map data = new HashMap(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/"+testId, data); - } - -// @Test -// void devicesDetailsTest() throws Exception { -// DashboardTest obj = new DashboardTest(); -// obj.launchBrowser(); -// obj.logIn(); -// Thread.sleep(3000); -// int displayed = obj.verifyDevicesNumber(); -// Thread.sleep(1000); -// obj.networkScreen(); -// Thread.sleep(5000); -// obj.clientDevicesScreen(); -// Thread.sleep(5000); -// obj.loadAllProfiles(); -// Thread.sleep(1000); -// int actual = obj.findProfile(); -// Assert.assertEquals(displayed, actual); -// } -} diff --git a/CICD_AP_CLOUDSDK/automationTests/LoginTest.java b/CICD_AP_CLOUDSDK/automationTests/LoginTest.java deleted file mode 100644 index 5983c7590..000000000 --- a/CICD_AP_CLOUDSDK/automationTests/LoginTest.java +++ /dev/null @@ -1,777 +0,0 @@ -package automationTests; -import org.openqa.selenium.By; -import org.openqa.selenium.Keys; -import org.openqa.selenium.WebDriver; -import org.openqa.selenium.WebElement; -import org.openqa.selenium.chrome.ChromeDriver; -import org.openqa.selenium.chrome.ChromeOptions; -import org.openqa.selenium.interactions.Actions; - -import static org.junit.jupiter.api.Assertions.*; - -import java.io.IOException; -import java.net.MalformedURLException; -import java.util.Calendar; -import java.util.HashMap; -import java.util.Map; - -import org.json.simple.JSONArray; -import org.json.simple.JSONObject; -import org.junit.Assert; -import org.junit.BeforeClass; -import org.junit.jupiter.api.AfterAll; -import org.junit.jupiter.api.AfterEach; -import org.junit.jupiter.api.BeforeAll; -import org.junit.runner.JUnitCore; -import org.junit.runner.Result; -import org.junit.Test; -import org.junit.internal.TextListener; -import org.openqa.selenium.By; -import org.openqa.selenium.WebDriver; -import org.openqa.selenium.chrome.ChromeDriver; - -public class LoginTest { - - WebDriver driver, driver2; - static APIClient client; - static long runId; -// static String Url = System.getenv("CLOUD_SDK_URL"); -// static String trUser = System.getenv("TR_USER"); -// static String trPwd = System.getenv("TR_PWD"); -// static String cloudsdkUser = "support@example.com"; -// static String cloudsdkPwd="support"; - - @BeforeClass - public static void startTest() throws Exception - { - client = new APIClient("https://telecominfraproject.testrail.com"); - client.setUser("syama.devi@connectus.ai"); - client.setPassword("Connect123$"); - - JSONArray c = (JSONArray) client.sendGet("get_runs/5"); - runId = new Long(0); - Calendar cal = Calendar.getInstance(); - //Months are indexed 0-11 so add 1 for current month - int month = cal.get(Calendar.MONTH) + 1; - String day = Integer.toString(cal.get(Calendar.DATE)); - if (day.length()<2) { - day = "0"+day; - } - String date = "UI Automation Run - " + day + "/" + month + "/" + cal.get(Calendar.YEAR); - for (int a = 0; a < c.size(); a++) { - if (((JSONObject) c.get(a)).get("name").equals(date)) { - runId = (Long) ((JSONObject) c.get(a)).get("id"); - } - } - } - - public void launchBrowser() { -// System.setProperty("webdriver.chrome.driver", "/Users/mohammadrahman/Downloads/chromedriver"); - System.setProperty("webdriver.chrome.driver", "/home/netex/nightly_sanity/ui-scripts/chromedriver"); - ChromeOptions options = new ChromeOptions(); - options.addArguments("--no-sandbox"); - options.addArguments("--headless"); - options.addArguments("--window-size=1920,1080"); - driver = new ChromeDriver(options); - driver.get("https://wlan-ui.qa.lab.wlan.tip.build"); - - } - - public void failure(int testId) throws MalformedURLException, IOException, APIException { - driver.close(); - Map data = new HashMap(); - data.put("status_id", new Integer(5)); - data.put("comment", "Fail"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/"+testId, data); - } - - public void login(String email, String password) { - driver.findElement(By.id("login_email")).sendKeys(email); - driver.findElement(By.id("login_password")).sendKeys(password); - driver.findElement(By.xpath("//*[@id=\"login\"]/button/span")).click(); - } - - - - public void checkHover(String box, int testId) throws Exception { - try { - String colour, colour2; - if (box.equals("confirm")) { - colour = driver.findElement(By.cssSelector("#login > button")).getCssValue("background-color"); - WebElement button = driver.findElement(By.cssSelector("#login > button")); - - Actions mouse = new Actions(driver); - mouse.moveToElement(button).perform(); - Thread.sleep(500); - - colour2 = driver.findElement(By.cssSelector("#login > button")).getCssValue("background-color"); - - } else if (box.equals("email")) { - colour = driver.findElement(By.cssSelector("#login_email")).getCssValue("border-color"); - WebElement button = driver.findElement(By.cssSelector("#login_email")); - - Actions mouse = new Actions(driver); - mouse.moveToElement(button).perform(); - Thread.sleep(500); - - colour2 = driver.findElement(By.cssSelector("#login_email")).getCssValue("border-color"); - - } else { - colour = driver.findElement(By.cssSelector("#login_password")).getCssValue("background-color"); - WebElement button = driver.findElement(By.cssSelector("#login_password")); - - Actions mouse = new Actions(driver); - mouse.moveToElement(button).perform(); - Thread.sleep(500); - - colour2 = driver.findElement(By.cssSelector("#login_password")).getCssValue("background-color"); - } - if (colour.equals(colour2)) { - Map data = new HashMap(); - data.put("status_id", new Integer(5)); - data.put("comment", "Fail"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/"+testId, data); - fail("failure"); - //Assert.assertNotEquals("Colours did not change when in focus", colour, colour2); - - } - } catch (Exception E) { - failure(testId); - fail(); - } - - - - } - - public void checkEmailFocus(int testId) throws Exception { - try { - WebElement email= driver.findElement(By.id("login_email")); - boolean emailFocus = email.equals(driver.switchTo().activeElement()); - if (!emailFocus) { - Map data = new HashMap(); - data.put("status_id", new Integer(5)); - data.put("comment", "Fail"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/"+testId, data); - } - Assert.assertEquals("Email field is not in focus", true, emailFocus); - } catch (Exception E){ - failure(testId); - fail(); - } - - - } - - public void checkTab(int testId) throws Exception { - try { - Actions browse = new Actions(driver); - browse.sendKeys(Keys.TAB).perform(); - Thread.sleep(1000); - WebElement email= driver.findElement(By.id("login_email")); -// System.out.print(driver.switchTo().activeElement()); - boolean emailFocus = email.equals(driver.switchTo().activeElement()); - - if (!emailFocus) { - Map data = new HashMap(); - data.put("status_id", new Integer(5)); - data.put("comment", "Fail"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/"+testId, data); - } - - Assert.assertEquals("Email field is not in focus",true, emailFocus); - - browse.sendKeys(Keys.TAB).perform(); - Thread.sleep(1000); - WebElement password= driver.findElement(By.id("login_password")); - boolean passwordFocus = password.equals(driver.switchTo().activeElement()); - - if (!passwordFocus) { - Map data = new HashMap(); - data.put("status_id", new Integer(5)); - data.put("comment", "Fail"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/"+testId, data); - } - Assert.assertEquals("Password field is not in focus",true, passwordFocus); - - browse.sendKeys(Keys.TAB).perform(); - Thread.sleep(1000); - WebElement confirm= driver.findElement(By.cssSelector("#login > button")); - boolean confirmFocus = confirm.equals(driver.switchTo().activeElement()); - - if (!confirmFocus) { - - } - Assert.assertEquals("Login button is not in focus", true, confirmFocus); - }catch (Exception E){ - failure(testId); - fail(); - } - - } - - public void coverPassword(String password, int testId) throws Exception { - try { - driver.findElement(By.id("login_password")).sendKeys(password); - - WebElement passwordCovered = driver.findElement(By.id("login_password")); - boolean passwordTest = (passwordCovered.getAttribute("type").equals("password")); - if (!passwordTest) { - Map data = new HashMap(); - data.put("status_id", new Integer(5)); - data.put("comment", "Fail"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/"+testId, data); - } - Assert.assertEquals("Password is uncovered", true, passwordTest); - Thread.sleep(1500); - - driver.findElement(By.cssSelector("#login > div.ant-row.ant-form-item.ant-form-item-has-success > div.ant-col.ant-col-15.ant-form-item-control > div > div > span > span > span > svg")).click();; - Thread.sleep(1500); - - WebElement passwordUncovered = driver.findElement(By.id("login_password")); - boolean passwordTest2 = (passwordCovered.getAttribute("type").equals("text")); - if (!passwordTest2) { - - } - Assert.assertEquals("Password is still hidden", true, passwordTest2); - } catch (Exception E){ - failure(testId); - fail(); - } - - - } - - public void copyPassword(String password, int testId) throws Exception { - try { - driver.findElement(By.id("login_password")).sendKeys(password); - - WebElement passwordCovered = driver.findElement(By.id("login_password")); - - WebElement locOfOrder = driver.findElement(By.id("login_password")); - Actions act = new Actions(driver); - act.moveToElement(locOfOrder).doubleClick().build().perform(); - - driver.findElement(By.id("login_password")).sendKeys(Keys.chord(Keys.CONTROL,"c")); - // now apply the command to paste - driver.findElement (By.id("login_email")).sendKeys(Keys.chord(Keys.CONTROL, "v")); - - //Assert.assertEquals(expected, actual); - } catch (Exception E){ - failure(testId); - fail(); - } - - } - - public void logout(int testId) throws Exception { - driver.findElement(By.cssSelector(".anticon-setting > svg")).click(); - Thread.sleep(2500); - driver.findElement(By.linkText("Log Out")).click(); - - } - public void loginEnter(String email, String password, int testId) { - driver.findElement(By.id("login_email")).sendKeys(email); - driver.findElement(By.id("login_password")).sendKeys(password); - driver.findElement(By.id("login_password")).sendKeys(Keys.ENTER); - //driver.sendKeys(Keys.RETURN); - } - public void backButton() { - driver.navigate().back(); - } - - public void loginBlank(int testId) { - driver.findElement(By.xpath("//*[@id=\"login\"]/button/span")).click(); - } - - public void errorNotification(int testId) throws Exception { - try { - boolean found = false; - if (driver.findElement(By.cssSelector(".ant-notification-notice-description")).getText().equals("Invalid e-mail or password.")) { - found = true; - } - if (!found) { - Map data = new HashMap(); - data.put("status_id", new Integer(5)); - data.put("comment", "Fail"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/"+testId, data); - } - Assert.assertEquals("No error message displayed", true, found); - } catch (Exception E){ - failure(testId); - fail(); - } - - } - - public void emailField(int testId) throws Exception { - try { - if (!driver.findElement(By.id("login_email")).isDisplayed()) { - Map data = new HashMap(); - data.put("status_id", new Integer(5)); - data.put("comment", "Fail"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/"+testId, data); - } - Assert.assertEquals("Email field not found", true, driver.findElement(By.id("login_email")).isDisplayed()); - } catch (Exception E) { - failure(testId); - fail(); - } - - - } - - public void passwordField(int testId) throws Exception { - try { - if (!driver.findElement(By.id("login_password")).isDisplayed()) { - Map data = new HashMap(); - data.put("status_id", new Integer(5)); - data.put("comment", "Password field not found"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/"+testId, data); - } - Assert.assertEquals("Password field not found", true, driver.findElement(By.id("login_password")).isDisplayed()); - } catch (Exception E) { - failure(testId); - fail(); - } - - } - - public void verifyLoginPass(int testId) throws Exception { - try { - String URL = driver.getCurrentUrl(); - if (!URL.equals("https://wlan-ui.qa.lab.wlan.tip.build/dashboard")) { - - } - Assert.assertEquals("Incorrect URL", URL, "https://wlan-ui.qa.lab.wlan.tip.build/dashboard"); - }catch (Exception E) { - failure(testId); - fail(); - } - - } - - public void verifyLoginFail(int testId) throws Exception { - try { - String URL = driver.getCurrentUrl(); - if (!URL.equals("https://wlan-ui.qa.lab.wlan.tip.build/login")) { - - } - Assert.assertEquals("Incorrect URL", URL, "https://wlan-ui.qa.lab.wlan.tip.build/login"); - }catch (Exception E) { - failure(testId); - fail(); - } - - } - - public void closeBrowser() { - driver.close(); - } - - - //C4099, C4164, C4172 - @Test - public void loginTest() throws Exception { - Map data = new HashMap(); - LoginTest obj = new LoginTest(); - obj.launchBrowser(); - Thread.sleep(2000); - obj.login("support@example.com", "support"); - Thread.sleep(3000); - obj.verifyLoginPass(4099); - Thread.sleep(1000); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/4099", data); - JSONObject t = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/4164", data); - JSONObject s = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/4172", data); - - } - - //C4097 - @Test - public void verifyEmailFieldTest() throws Exception { - Map data = new HashMap(); - LoginTest obj = new LoginTest(); - obj.launchBrowser(); - Thread.sleep(2000); - obj.emailField(4097); - Thread.sleep(1000); - obj.closeBrowser(); - - System.out.print("passed"); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/4097", data); - - } - - //C4098 - @Test - public void verifyPasswordFieldTest() throws Exception { - Map data = new HashMap(); - LoginTest obj = new LoginTest(); - obj.launchBrowser(); - Thread.sleep(2000); - obj.passwordField(4098); - Thread.sleep(1000); - obj.closeBrowser(); - System.out.print("passed"); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/4098", data); - - } - - //C4157 - @Test - public void loginTestUppercase() throws Exception { - Map data = new HashMap(); - LoginTest obj = new LoginTest(); - obj.launchBrowser(); - Thread.sleep(2000); - obj.login("SUPPORT@EXAMPLE.COM", "support"); - Thread.sleep(3000); - obj.verifyLoginPass(4157); - Thread.sleep(1000); - obj.closeBrowser(); - System.out.print("passed"); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/4157", data); - - } - - //C4166 - @Test - public void loginTestPasswordFail() throws Exception { - Map data = new HashMap(); - LoginTest obj = new LoginTest(); - obj.launchBrowser(); - Thread.sleep(2000); - obj.login("support@example.com", "support1"); - Thread.sleep(3000); - obj.verifyLoginFail(4166); - Thread.sleep(1000); - obj.closeBrowser(); - System.out.print("passed"); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/4166", data); - - } - - //C4167 - @Test - public void loginTestEmailFail() throws Exception { - Map data = new HashMap(); - LoginTest obj = new LoginTest(); - obj.launchBrowser(); - Thread.sleep(2000); - obj.login("support1@example.com", "support"); - Thread.sleep(3000); - obj.verifyLoginFail(4167); - Thread.sleep(1000); - obj.closeBrowser(); - System.out.print("passed"); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/4167", data); - - } - - //C4165 - @Test - public void loginTestEmailPasswordFail() throws Exception { - Map data = new HashMap(); - LoginTest obj = new LoginTest(); - obj.launchBrowser(); - Thread.sleep(2000); - obj.login("support1@example.com", "support1"); - Thread.sleep(3000); - obj.verifyLoginFail(4165); - Thread.sleep(1000); - obj.closeBrowser(); - System.out.print("passed"); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/4165", data); - - } - //C4168 - @Test - public void loginTestBlankFail() throws Exception { - Map data = new HashMap(); - LoginTest obj = new LoginTest(); - obj.launchBrowser(); - Thread.sleep(2000); - obj.loginBlank(4168); - Thread.sleep(3000); - obj.verifyLoginFail(4168); - Thread.sleep(1000); - obj.closeBrowser(); - System.out.print("passed"); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/4168", data); - - } - //C4163 - @Test - public void loginEnterKeyTest() throws Exception { - Map data = new HashMap(); - LoginTest obj = new LoginTest(); - obj.launchBrowser(); - Thread.sleep(2000); - obj.loginEnter("support@example.com", "support", 4163); - Thread.sleep(3000); - obj.verifyLoginPass(4163); - Thread.sleep(1000); - obj.closeBrowser(); - - System.out.print("passed"); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/4163", data); - - } - //C4169 - @Test - public void loginBackButtonTest() throws Exception { - Map data = new HashMap(); - LoginTest obj = new LoginTest(); - obj.launchBrowser(); - Thread.sleep(2000); - obj.login("support@example.com", "support"); - Thread.sleep(3000); - obj.verifyLoginPass(4169); - obj.backButton(); - Thread.sleep(3000); - obj.verifyLoginPass(4169); - Thread.sleep(1500); - obj.closeBrowser(); - - System.out.print("passed"); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/4169", data); - - } - //C4171 - @Test - public void logoutTest() throws Exception { - Map data = new HashMap(); - LoginTest obj = new LoginTest(); - obj.launchBrowser(); - Thread.sleep(2000); - obj.login("support@example.com", "support"); - Thread.sleep(3000); - obj.verifyLoginPass(4171); - obj.logout(4171); - Thread.sleep(3000); - obj.verifyLoginFail(4171); - obj.closeBrowser(); - - System.out.print("passed"); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/4171", data); - - } - - //C4160 - @Test - public void logoutBackButtonTest() throws Exception { - Map data = new HashMap(); - LoginTest obj = new LoginTest(); - obj.launchBrowser(); - Thread.sleep(2000); - obj.login("support@example.com", "support"); - Thread.sleep(3000); - obj.verifyLoginPass(4160); - obj.logout(4160); - Thread.sleep(3000); - obj.backButton(); - Thread.sleep(2000); - obj.verifyLoginFail(4160); - obj.closeBrowser(); - - System.out.print("passed"); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/4160", data); - } - - ///C4103 - @Test - public void showPasswordTest() throws Exception { - Map data = new HashMap(); - LoginTest obj = new LoginTest(); - obj.launchBrowser(); - Thread.sleep(2000); - obj.coverPassword("support", 4103); - Thread.sleep(3000); - obj.closeBrowser(); - - System.out.print("passed"); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/4103", data); - } - - //C4105 - @Test - public void errorNotificationTest() throws Exception { - Map data = new HashMap(); - LoginTest obj = new LoginTest(); - obj.launchBrowser(); - Thread.sleep(2000); - obj.login("support@example.com", "support1"); - Thread.sleep(2000); - obj.errorNotification(4105); - Thread.sleep(1000); - obj.closeBrowser(); - - System.out.print("passed"); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/4105", data); - } - //C4162 - @Test - public void tabFunctionalityTest() throws Exception { - Map data = new HashMap(); - LoginTest obj = new LoginTest(); - obj.launchBrowser(); - Thread.sleep(3000); - obj.checkTab(4162); - Thread.sleep(1000); - obj.closeBrowser(); - - System.out.print("passed"); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/4162", data); - } - //C4100 - @Test - public void hoverLoginButtonTest() throws Exception { - Map data = new HashMap(); - LoginTest obj = new LoginTest(); - obj.launchBrowser(); - Thread.sleep(3000); - obj.checkHover("confirm", 4100); - Thread.sleep(1000); - obj.closeBrowser(); - - System.out.print("passed"); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/4100", data); - } - //C4101 - @Test - public void hoverEmailFieldTest() throws Exception { - Map data = new HashMap(); - LoginTest obj = new LoginTest(); - obj.launchBrowser(); - Thread.sleep(3000); - obj.checkHover("email", 4101); - Thread.sleep(1000); - obj.closeBrowser(); - - System.out.print("passed"); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/4101", data); - } - //C4102 - @Test - public void hoverPwdFieldTest() throws Exception { - Map data = new HashMap(); - LoginTest obj = new LoginTest(); - obj.launchBrowser(); - Thread.sleep(3000); - obj.checkHover("password", 4102); - Thread.sleep(1000); - obj.closeBrowser(); - - System.out.print("passed"); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/4102", data); - } -// @Test -// public void stayLoggedInTest() throws Exception { -// Map data = new HashMap(); -// LoginTest obj = new LoginTest(); -// obj.launchBrowser(); -// Thread.sleep(2000); -// obj.login("support@example.com", "support"); -// Thread.sleep(3000); -// obj.verifyLoginPass(); -// Thread.sleep(1000); -// obj.closeBrowser(); -// Thread.sleep(2000); -// obj.launchPortal(); -// Thread.sleep(2500); -// obj.launchSecondWindow(); -// obj.closeBrowser(); -// data.put("status_id", new Integer(1)); -// data.put("comment", "This test worked fine!"); -// JSONObject r = (JSONObject) client.sendPost("add_result_for_case/812/5036", data); -// } -// @Test -// public void newBrowserTest() throws Exception { -// Map data = new HashMap(); -// LoginTest obj = new LoginTest(); -// obj.launchBrowser(); -// Thread.sleep(2000); -// obj.login("support@example.com", "support"); -// Thread.sleep(3000); -// obj.verifyLoginPass(); -// Thread.sleep(1000); -// obj.launchPortal(); -// obj.verifyLoginPass(); -// obj.closeBrowser(); -// data.put("status_id", new Integer(1)); -// data.put("comment", "This test worked fine!"); -// JSONObject r = (JSONObject) client.sendPost("add_result_for_case/812/5036", data); -// } - - //C4159 - @Test - public void copyPasswordTest() throws Exception { - Map data = new HashMap(); - LoginTest obj = new LoginTest(); - obj.launchBrowser(); - Thread.sleep(2000); - obj.copyPassword("support", 4159); - Thread.sleep(3000); - obj.closeBrowser(); - - System.out.print("passed"); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/4159", data); - } - //C4161 - @Test - public void initialFocusTest() throws Exception { - Map data = new HashMap(); - LoginTest obj = new LoginTest(); - obj.launchBrowser(); - Thread.sleep(2000); - obj.checkEmailFocus(4161); - Thread.sleep(3000); - obj.closeBrowser(); - - System.out.print("passed"); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/4161", data); - } -} diff --git a/CICD_AP_CLOUDSDK/automationTests/NetworkTest.java b/CICD_AP_CLOUDSDK/automationTests/NetworkTest.java deleted file mode 100644 index 658a842b3..000000000 --- a/CICD_AP_CLOUDSDK/automationTests/NetworkTest.java +++ /dev/null @@ -1,952 +0,0 @@ -package automationTests; - -import static org.junit.jupiter.api.Assertions.fail; - -import java.io.IOException; -import java.net.MalformedURLException; -import java.util.Calendar; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -import org.json.simple.JSONArray; -import org.json.simple.JSONObject; -import org.junit.Assert; -import org.junit.BeforeClass; -import org.junit.Test; -import org.openqa.selenium.By; -import org.openqa.selenium.Keys; -import org.openqa.selenium.WebDriver; -import org.openqa.selenium.WebElement; -import org.openqa.selenium.chrome.ChromeDriver; -import org.openqa.selenium.chrome.ChromeOptions; -import org.openqa.selenium.interactions.Actions; - - -public class NetworkTest { - WebDriver driver; - static APIClient client; - static long runId; -// static String Url = System.getenv("CLOUD_SDK_URL"); -// static String trUser = System.getenv("TR_USER"); -// static String trPwd = System.getenv("TR_PWD"); -// static String cloudsdkUser = "support@example.com"; -// static String cloudsdkPwd="support"; - - @BeforeClass - public static void startTest() throws Exception - { - client = new APIClient("https://telecominfraproject.testrail.com"); - client.setUser("syama.devi@connectus.ai"); - client.setPassword("Connect123$"); - - JSONArray c = (JSONArray) client.sendGet("get_runs/5"); - runId = new Long(0); - Calendar cal = Calendar.getInstance(); - //Months are indexed 0-11 so add 1 for current month - int month = cal.get(Calendar.MONTH) + 1; - String day = Integer.toString(cal.get(Calendar.DATE)); - if (day.length()<2) { - day = "0"+day; - } - String date = "UI Automation Run - " + day + "/" + month + "/" + cal.get(Calendar.YEAR); - for (int a = 0; a < c.size(); a++) { - if (((JSONObject) c.get(a)).get("name").equals(date)) { - runId = (Long) ((JSONObject) c.get(a)).get("id"); - } - } - } - - public void launchBrowser() { -// System.setProperty("webdriver.chrome.driver", "/Users/mohammadrahman/Downloads/chromedriver"); - System.setProperty("webdriver.chrome.driver", "/home/netex/nightly_sanity/ui-scripts/chromedriver"); - ChromeOptions options = new ChromeOptions(); - options.addArguments("--no-sandbox"); - options.addArguments("--headless"); - options.addArguments("--window-size=1920,1080"); - driver = new ChromeDriver(options); - driver.get("https://wlan-ui.qa.lab.wlan.tip.build"); - } - - public void failure(int testId) throws MalformedURLException, IOException, APIException { - driver.close(); - Map data = new HashMap(); - data.put("status_id", new Integer(5)); - data.put("comment", "Fail"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/"+testId, data); - } - - void closeBrowser() { - driver.close(); - } - - //Log into the CloudSDK portal - public void logIn() { - driver.findElement(By.id("login_email")).sendKeys("support@example.com"); - driver.findElement(By.id("login_password")).sendKeys("support"); - driver.findElement(By.xpath("//*[@id=\"login\"]/button/span")).click(); - } - - public void networkScreen(int testId) throws Exception { - try { - driver.findElement(By.linkText("Network")).click(); - }catch (Exception E) { - failure(testId); - fail("Fail"); - } - - } - - public void loadAllProfiles(int testId) throws Exception { - try { - while (driver.findElements(By.xpath("//*[@id=\"root\"]/section/main/div/div/div[3]/button/span")).size() != 0) { - driver.findElement(By.xpath("/html/body/div/section/main/div/div/div[3]/button/span")).click(); - Thread.sleep(2000); - } - }catch (Exception E) { - failure(testId); - fail("Fail"); - } - - } - - public void addLocation(String loc, int testId) throws Exception { - try { - driver.findElement(By.cssSelector(".ant-tree-node-content-wrapper:nth-child(3) > .ant-tree-title > span")).click(); - } catch (Exception E) { - failure(testId); - - fail("Locations not found"); - } - - Thread.sleep(1000); - - try { - driver.findElement(By.xpath("//span[contains(.,'Add Location')]")).click(); - } catch (Exception E) { - failure(testId); - - fail("Add location button not found"); - } - Thread.sleep(1000); - Actions browser = new Actions(driver); - browser.sendKeys(Keys.TAB).perform(); - browser.sendKeys(Keys.TAB).perform(); - browser.sendKeys(loc).perform(); - browser.sendKeys(Keys.TAB).perform(); - browser.sendKeys(Keys.TAB).perform(); - browser.sendKeys(Keys.ENTER).perform(); - Thread.sleep(2000); - - if (!driver.findElement(By.cssSelector(".ant-tree-treenode-switcher-close .ant-tree-title > span")).getText().equals(loc)) { - failure(testId); - fail("Fail"); - } - } - - public void deleteLocation(String loc, int testId) throws Exception { - driver.findElement(By.cssSelector(".ant-tree-treenode-switcher-close .ant-tree-title > span")).click(); - Thread.sleep(1000); - driver.findElement(By.xpath("//span[contains(.,'Delete Location')]")).click(); - Thread.sleep(2000); - if (!driver.findElement(By.cssSelector(".ant-modal-body > p > i")).getText().equals(loc)) { - failure(testId); - fail("Location not deleted"); - } - Actions browser = new Actions(driver); - browser.sendKeys(Keys.TAB).perform(); - browser.sendKeys(Keys.TAB).perform(); - browser.sendKeys(Keys.TAB).perform(); - browser.sendKeys(Keys.ENTER).perform(); - Thread.sleep(2000); - } - - //Verifies no field is blank in the column - public void verifyNetworkFields(boolean expected, String profile, int column, int testId) throws MalformedURLException, IOException, APIException { - WebElement tbl = driver.findElement(By.xpath("//table")); - List rows = tbl.findElements(By.tagName("tr")); - - //row iteration - for(int i=2; i cols = rows.get(i).findElements(By.tagName("td")); - System.out.print(cols.get(column).getText()); - if (cols.get(column).getText().equals(profile) && !expected) { - Map data = new HashMap(); - data.put("status_id", new Integer(5)); - data.put("comment", "Fail"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/"+testId, data); - fail("Fail"); - } - } - } - - //Verifies whether profile exists and clicks - public void findNetwork(String profile, int testId) throws MalformedURLException, IOException, APIException { - WebElement tbl = driver.findElement(By.xpath("//table")); - List rows = tbl.findElements(By.tagName("tr")); - boolean found = false; - - breakP: - //row iteration - for(int i=0; i cols = rows.get(i).findElements(By.tagName("td")); - - //column iteration - for(int j=0; j div > div > div.index-module__leftWrapContent___2iZZo > p:nth-child(1)")).getText().equals(profile)) { - //Pass - } - else { - //System.out.print(driver.findElement(By.cssSelector(".index-module__DeviceDetailCard___2CFDA.ant-card-bordered > div > div > div.index-module__leftWrapContent___2iZZo > p:nth-child(1)")).getText()); - Map data = new HashMap(); - data.put("status_id", new Integer(5)); - data.put("comment", "Fail"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/"+testId, data); - fail("Wrong profile"); - } - } catch (Exception E) { - failure(testId); - fail("Profile title not found"); - } - } - - - public void verifyAP(String profile, int testId) throws MalformedURLException, IOException, APIException { - try { - if (driver.findElement(By.cssSelector("#root > section > main > div > div > div.index-module__mainContent___1X1X6 > div > div.ant-card.ant-card-bordered.ant-card-contain-tabs > div.ant-card-head > div.ant-card-head-wrapper > div.ant-card-head-title > div > div > div:nth-child(1)")).getText().equals(profile)) { - //Correct profile - } - else { - Map data = new HashMap(); - data.put("status_id", new Integer(5)); - data.put("comment", "Fail"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/"+testId, data); - fail("Fail"); - } - } catch (Exception E) { - failure(testId); - fail("Profile title not found"); - } - } - - - public void verifyAPLocation(int testId) throws MalformedURLException, IOException, APIException { - try { - String location = driver.findElement(By.cssSelector(".ant-breadcrumb-link")).getText(); - - driver.findElement(By.cssSelector("[id^='rc-tabs-0-tab-location']")).click(); - Thread.sleep(2000); - String dropdownVerification = "[title^='"+location+"']"; - if (driver.findElements(By.cssSelector(dropdownVerification)).size()==0) { - Map data = new HashMap(); - data.put("status_id", new Integer(5)); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/"+testId, data); - fail("Wrong location"); - } - - } catch (Exception E) { - Map data = new HashMap(); - data.put("status_id", new Integer(5)); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/"+testId, data); - fail("Profile title not found"); - } - } - - public void refreshButton(int testId) throws Exception { - try { - driver.findElement(By.cssSelector("[title^='reload']")).click(); - } catch (Exception E) { - failure(testId); - fail ("Reload button not visible"); - } - - Thread.sleep(1000); - } - - - public void clientBlockedListButton(int testId) throws Exception { - driver.findElement(By.xpath("//span[contains(.,'Blocked List')]")).click(); - Thread.sleep(2000); - String URL = driver.getCurrentUrl(); - - if (!URL.equals("https://wlan-ui.qa.lab.wlan.tip.build/system/blockedlist")) { - failure(testId); - - fail (); - } - //Assert.assertEquals(URL, "https://portal.dev1.netexperience.com/configure/system/blockedlist"); - - } - - public void refreshNotificationAP(int testId) throws MalformedURLException, IOException, APIException { - - if (driver.findElement(By.cssSelector(".ant-notification-notice-description")).getText().equals("Access points reloaded.")) { - - } else { - failure(testId); - fail("Notification did not appear"); - } - } - public void refreshNotificationClientDevice(int testId) throws MalformedURLException, IOException, APIException { - if (driver.findElement(By.cssSelector(".ant-notification-notice-description")).getText().equals("Client devices reloaded.")) { - - } else { - failure(testId); - fail("Notification did not appear"); - } - } - - public void clientDevicesScreen(int testId) throws MalformedURLException, IOException, APIException { - try { - driver.findElement(By.linkText("Client Devices")).click(); - } catch (Exception E) { - failure(testId); - fail("Client Devices tab not visible"); - } - - } - - //C5603 - @Test - public void verifyNameFields() throws Exception { - int testId = 5603; - Map data = new HashMap(); - NetworkTest obj = new NetworkTest(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(3000); - obj.networkScreen(testId); - Thread.sleep(5000); - obj.loadAllProfiles(testId); - obj.verifyNetworkFields(false, "", 0, testId); - obj.verifyNetworkFields(false, "N/A", 0, testId); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/" + testId, data); - } - - //C5604 - @Test - public void verifyAlarmFields() throws Exception { - int testId = 5604; - Map data = new HashMap(); - NetworkTest obj = new NetworkTest(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(3000); - obj.networkScreen(testId); - Thread.sleep(5000); - obj.loadAllProfiles(testId); - obj.verifyNetworkFields(false, "", 1, testId); - obj.verifyNetworkFields(false, "N/A", 1, testId); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/" + testId, data); - } - - //C5605 - @Test - public void verifyModelField() throws Exception { - int testId = 5605; - Map data = new HashMap(); - NetworkTest obj = new NetworkTest(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(3000); - obj.networkScreen(testId); - Thread.sleep(5000); - obj.loadAllProfiles(testId); - obj.verifyNetworkFields(false, "", 2, testId); - obj.verifyNetworkFields(false, "N/A", 2, testId); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/" + testId, data); - } - - //C5606 - @Test - public void verifyIPField() throws Exception { - int testId = 5606; - Map data = new HashMap(); - NetworkTest obj = new NetworkTest(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(3000); - obj.networkScreen(testId); - Thread.sleep(5000); - obj.loadAllProfiles(testId); - obj.verifyNetworkFields(false, "", 3, testId); - obj.verifyNetworkFields(false, "N/A", 3, testId); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/" + testId, data); - } - - //C5607 - @Test - public void verifyMACField() throws Exception { - int testId = 5607; - Map data = new HashMap(); - NetworkTest obj = new NetworkTest(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(3000); - obj.networkScreen(testId); - Thread.sleep(5000); - obj.loadAllProfiles(testId); - obj.verifyNetworkFields(false, "", 4, testId); - obj.verifyNetworkFields(false, "N/A", 4, testId); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/" + testId, data); - } - - //C5608 - @Test - public void verifyManufacturerField() throws Exception { - int testId = 5608; - Map data = new HashMap(); - NetworkTest obj = new NetworkTest(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(3000); - obj.networkScreen(testId); - Thread.sleep(5000); - obj.loadAllProfiles(testId); - obj.verifyNetworkFields(false, "", 5, testId); - obj.verifyNetworkFields(false, "N/A", 5, testId); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/" + testId, data); - } - - //C5609 - @Test - public void verifyFirmwareField() throws Exception { - int testId = 5609; - Map data = new HashMap(); - NetworkTest obj = new NetworkTest(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(3000); - obj.networkScreen(testId); - Thread.sleep(5000); - obj.loadAllProfiles(testId); - obj.verifyNetworkFields(false, "", 6, testId); - obj.verifyNetworkFields(false, "N/A", 6, testId); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/" + testId, data); - } - - //C5610 - @Test - public void verifyAssetIdField() throws Exception { - int testId = 5610; - Map data = new HashMap(); - NetworkTest obj = new NetworkTest(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(3000); - obj.networkScreen(testId); - Thread.sleep(5000); - obj.loadAllProfiles(testId); - obj.verifyNetworkFields(false, "", 7, testId); - obj.verifyNetworkFields(false, "N/A", 7, testId); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/" + testId, data); - } - - //C5611 - @Test - public void verifyUpTimeField() throws Exception { - int testId = 5611; - Map data = new HashMap(); - NetworkTest obj = new NetworkTest(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(3000); - obj.networkScreen(testId); - Thread.sleep(5000); - obj.loadAllProfiles(testId); - obj.verifyNetworkFields(false, "", 8, testId); - obj.verifyNetworkFields(false, "N/A", 8, testId); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/" + testId, data); - } - - //C5612 - @Test - public void verifyProfileField() throws Exception { - int testId = 5612; - Map data = new HashMap(); - NetworkTest obj = new NetworkTest(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(3000); - obj.networkScreen(testId); - Thread.sleep(5000); - obj.loadAllProfiles(testId); - obj.verifyNetworkFields(false, "", 9, testId); - obj.verifyNetworkFields(false, "N/A", 9, testId); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/" + testId, data); - } - - //C5613 - @Test - public void verifyChannelField() throws Exception { - int testId = 5613; - Map data = new HashMap(); - NetworkTest obj = new NetworkTest(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(3000); - obj.networkScreen(testId); - Thread.sleep(5000); - obj.loadAllProfiles(testId); - obj.verifyNetworkFields(false, "", 10, testId); - obj.verifyNetworkFields(false, "N/A", 10, testId); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/" + testId, data); - } - - //C5614 - @Test - public void verifyOccupancyField() throws Exception { - int testId = 5614; - Map data = new HashMap(); - NetworkTest obj = new NetworkTest(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(3000); - obj.networkScreen(testId); - Thread.sleep(5000); - obj.loadAllProfiles(testId); - obj.verifyNetworkFields(false, "", 11, testId); - obj.verifyNetworkFields(false, "N/A", 11, testId); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/" + testId, data); - } - - //C5615 - @Test - public void verifyNoiseFloorField() throws Exception { - int testId = 5615; - Map data = new HashMap(); - NetworkTest obj = new NetworkTest(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(3000); - obj.networkScreen(testId); - Thread.sleep(5000); - obj.loadAllProfiles(testId); - obj.verifyNetworkFields(false, "", 12, testId); - obj.verifyNetworkFields(false, "N/A", 12, testId); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/" + testId, data); - } - - //C5616 - @Test - public void verifyDevicesField() throws Exception { - int testId = 5616; - Map data = new HashMap(); - NetworkTest obj = new NetworkTest(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(3000); - obj.networkScreen(testId); - Thread.sleep(5000); - obj.loadAllProfiles(testId); - obj.verifyNetworkFields(false, "", 13, testId); - obj.verifyNetworkFields(false, "N/A", 13, testId); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/" + testId, data); - } - - //C5618 - @Test - public void viewAPTest() throws Exception { - Map data = new HashMap(); - NetworkTest obj = new NetworkTest(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(3000); - obj.networkScreen(5618); - Thread.sleep(4500); - obj.findNetwork("Open_AP_21P10C69907629", 5618); - Thread.sleep(3000); - obj.verifyAP("Open_AP_21P10C69907629", 5618); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/5618", data); - - } - - //C5617 - @Test - public void refreshButtonTestAccessPoints() throws Exception { - Map data = new HashMap(); - NetworkTest obj = new NetworkTest(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(3000); - obj.networkScreen(5617); - Thread.sleep(4500); - obj.refreshButton(5617); - Thread.sleep(2000); - obj.refreshNotificationAP(5617); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/5617", data); - - } - - //C5590 - @Test - public void refreshButtonTestClientDevices() throws Exception { - Map data = new HashMap(); - NetworkTest obj = new NetworkTest(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(3000); - obj.networkScreen(5590); - Thread.sleep(4500); - obj.clientDevicesScreen(5590); - Thread.sleep(3500); - obj.refreshButton(5590); - Thread.sleep(2000); - obj.refreshNotificationClientDevice(5590); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/5590", data); - - } - - //C5592 - @Test - public void viewDeviceTest() throws Exception { - Map data = new HashMap(); - NetworkTest obj = new NetworkTest(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(3000); - obj.networkScreen(5592); - Thread.sleep(4500); - obj.clientDevicesScreen(5592); - Thread.sleep(3500); - obj.findNetwork("Mohammads-MBP", 5592); - Thread.sleep(3000); - obj.verifyDevice("Mohammads-MBP", 5592); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/5592", data); - - } - - //C5619 - @Test - public void addLocationTest() throws Exception { - Map data = new HashMap(); - NetworkTest obj = new NetworkTest(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(3000); - obj.networkScreen(5619); - Thread.sleep(4500); - obj.addLocation("Test", 5619); - Thread.sleep(3000); - obj.deleteLocation("Test", 5619); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/5619", data); - - } - - //C5620 - @Test - public void deleteLocationTest() throws Exception { - Map data = new HashMap(); - NetworkTest obj = new NetworkTest(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(3000); - obj.networkScreen(5620); - Thread.sleep(4500); - obj.addLocation("TestLoc", 5620); - Thread.sleep(2000); - obj.deleteLocation("TestLoc", 5620); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/5620", data); - - } - - //C5591 - @Test - public void clientBlockedListTest() throws Exception { - Map data = new HashMap(); - NetworkTest obj = new NetworkTest(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(3000); - obj.networkScreen(5591); - Thread.sleep(4500); - obj.clientDevicesScreen(5591); - Thread.sleep(3500); - obj.clientBlockedListButton(5591); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/5591", data); - - } - - //C5594 - @Test - public void verifyDevicesMACField() throws Exception { - int testId = 5594; - Map data = new HashMap(); - NetworkTest obj = new NetworkTest(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(2500); - obj.networkScreen(testId); - Thread.sleep(4500); - obj.clientDevicesScreen(testId); - Thread.sleep(2500); - obj.loadAllProfiles(testId); - obj.verifyNetworkFields(false, "", 1, testId); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/"+testId, data); - } - //C5595 - @Test - public void verifyDevicesManufacturerField() throws Exception { - int testId = 5595; - Map data = new HashMap(); - NetworkTest obj = new NetworkTest(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(2500); - obj.networkScreen(testId); - Thread.sleep(4500); - obj.clientDevicesScreen(testId); - Thread.sleep(2500); - obj.loadAllProfiles(testId); - obj.verifyNetworkFields(false, "", 2, testId); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/"+testId, data); - } - //C5596 - @Test - public void verifyDevicesIPField() throws Exception { - int testId = 5596; - Map data = new HashMap(); - NetworkTest obj = new NetworkTest(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(2500); - obj.networkScreen(testId); - Thread.sleep(4500); - obj.clientDevicesScreen(testId); - Thread.sleep(2500); - obj.loadAllProfiles(testId); - obj.verifyNetworkFields(false, "", 3, testId); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/"+testId, data); - } - //C5597 - @Test - public void verifyDevicesHostNameField() throws Exception { - int testId = 5597; - Map data = new HashMap(); - NetworkTest obj = new NetworkTest(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(2500); - obj.networkScreen(testId); - Thread.sleep(4500); - obj.clientDevicesScreen(testId); - Thread.sleep(2500); - obj.loadAllProfiles(testId); - obj.verifyNetworkFields(false, "", 4, testId); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/"+testId, data); - } - //C5598 - @Test - public void verifyDevicesAPField() throws Exception { - int testId = 5598; - Map data = new HashMap(); - NetworkTest obj = new NetworkTest(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(2500); - obj.networkScreen(testId); - Thread.sleep(4500); - obj.clientDevicesScreen(testId); - Thread.sleep(2500); - obj.loadAllProfiles(testId); - obj.verifyNetworkFields(false, "", 5, testId); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/"+testId, data); - } - //C5599 - @Test - public void verifyDevicesSSIDField() throws Exception { - int testId = 5599; - Map data = new HashMap(); - NetworkTest obj = new NetworkTest(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(2500); - obj.networkScreen(testId); - Thread.sleep(4500); - obj.clientDevicesScreen(testId); - Thread.sleep(2500); - obj.loadAllProfiles(testId); - obj.verifyNetworkFields(false, "", 6, testId); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/"+testId, data); - } - //C5600 - @Test - public void verifyDevicesBandField() throws Exception { - int testId = 5600; - Map data = new HashMap(); - NetworkTest obj = new NetworkTest(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(2500); - obj.networkScreen(testId); - Thread.sleep(4500); - obj.clientDevicesScreen(testId); - Thread.sleep(2500); - obj.loadAllProfiles(testId); - obj.verifyNetworkFields(false, "", 7, testId); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/"+testId, data); - } - //C5601 - @Test - public void verifyDevicesSignalField() throws Exception { - int testId = 5601; - Map data = new HashMap(); - NetworkTest obj = new NetworkTest(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(2500); - obj.networkScreen(testId); - Thread.sleep(4500); - obj.clientDevicesScreen(testId); - Thread.sleep(2500); - obj.loadAllProfiles(testId); - obj.verifyNetworkFields(false, "", 8, testId); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/"+testId, data); - } - //C5602 - @Test - public void verifyDevicesStatusField() throws Exception { - int testId = 5602; - Map data = new HashMap(); - NetworkTest obj = new NetworkTest(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(2500); - obj.networkScreen(testId); - Thread.sleep(4500); - obj.clientDevicesScreen(testId); - Thread.sleep(2500); - obj.loadAllProfiles(testId); - obj.verifyNetworkFields(false, "", 9, testId); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/"+testId, data); - } - - //C5623 - @Test - public void verifyAPLocationTest() throws Exception { - Map data = new HashMap(); - NetworkTest obj = new NetworkTest(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(3000); - obj.networkScreen(5623); - Thread.sleep(4500); - obj.findNetwork("Open_AP_21P10C69907629", 5623); - Thread.sleep(3000); - obj.verifyAPLocation(5623); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/5623", data); - - } -} diff --git a/CICD_AP_CLOUDSDK/automationTests/ProfilesTest.java b/CICD_AP_CLOUDSDK/automationTests/ProfilesTest.java deleted file mode 100644 index 349204f91..000000000 --- a/CICD_AP_CLOUDSDK/automationTests/ProfilesTest.java +++ /dev/null @@ -1,798 +0,0 @@ -package automationTests; - -import static org.junit.jupiter.api.Assertions.*; - -import java.io.IOException; -import java.net.MalformedURLException; -import java.util.Calendar; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -import org.openqa.selenium.By; -import org.openqa.selenium.Keys; -import org.openqa.selenium.WebDriver; -import org.openqa.selenium.WebElement; -import org.openqa.selenium.chrome.ChromeDriver; -import org.openqa.selenium.chrome.ChromeOptions; -import org.openqa.selenium.interactions.Actions; -import org.openqa.selenium.support.ui.Select; -import org.json.simple.JSONArray; -import org.json.simple.JSONObject; - -import static org.junit.jupiter.api.Assertions.*; - -import org.junit.Assert; -import org.junit.BeforeClass; -import org.junit.jupiter.api.AfterAll; -import org.junit.jupiter.api.AfterEach; -import org.junit.jupiter.api.BeforeAll; -import org.junit.Test; -import org.openqa.selenium.By; -import org.openqa.selenium.WebDriver; -import org.openqa.selenium.chrome.ChromeDriver; - -public class ProfilesTest { - WebDriver driver; - - static APIClient client; - static long runId; - -// static String Url = System.getenv("CLOUD_SDK_URL"); -// static String trUser = System.getenv("TR_USER"); -// static String trPwd = System.getenv("TR_PWD"); -// static String cloudsdkUser = "support@example.com"; -// static String cloudsdkPwd="support"; - @BeforeClass - public static void startTest() throws Exception - { - client = new APIClient("https://telecominfraproject.testrail.com"); - client.setUser("syama.devi@connectus.ai"); - client.setPassword("Connect123$"); - - JSONArray c = (JSONArray) client.sendGet("get_runs/5"); - runId = new Long(0); - Calendar cal = Calendar.getInstance(); - //Months are indexed 0-11 so add 1 for current month - int month = cal.get(Calendar.MONTH) + 1; - String day = Integer.toString(cal.get(Calendar.DATE)); - if (day.length()<2) { - day = "0"+day; - } - String date = "UI Automation Run - " + day + "/" + month + "/" + cal.get(Calendar.YEAR); - for (int a = 0; a < c.size(); a++) { - if (((JSONObject) c.get(a)).get("name").equals(date)) { - runId = (Long) ((JSONObject) c.get(a)).get("id"); - } - } - } - - public void launchBrowser() { - System.setProperty("webdriver.chrome.driver", "/home/netex/nightly_sanity/ui-scripts/chromedriver"); -// System.setProperty("webdriver.chrome.driver", "/Users/mohammadrahman/Downloads/chromedriver"); - ChromeOptions options = new ChromeOptions(); - options.addArguments("--no-sandbox"); - options.addArguments("--headless"); - options.addArguments("--window-size=1920,1080"); - driver = new ChromeDriver(options); - driver.get("https://wlan-ui.qa.lab.wlan.tip.build"); - } - - void closeBrowser() { - driver.close(); - } - - //Log into the CloudSDK portal - public void logIn() { - driver.findElement(By.id("login_email")).sendKeys("support@example.com"); - driver.findElement(By.id("login_password")).sendKeys("support"); - driver.findElement(By.xpath("//*[@id=\"login\"]/button/span")).click(); - } - - public void failure(int testId) throws MalformedURLException, IOException, APIException { - driver.close(); - Map data = new HashMap(); - data.put("status_id", new Integer(5)); - data.put("comment", "Fail"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/"+testId, data); - } - - //Navigates to profiles tab - public void profileScreen() throws Exception { - driver.findElement(By.linkText("Profiles")).click(); - } - - public void loadAllProfiles(int testId) throws Exception { - try { - while (driver.findElements(By.xpath("//*[@id=\"root\"]/section/main/div/div/div[3]/button/span")).size() != 0) { - driver.findElement(By.xpath("/html/body/div/section/main/div/div/div[3]/button/span")).click(); - Thread.sleep(1400); - } - } catch (Exception E) { - failure(testId); - fail(); - } - - } - - //Verifies whether profile exists - public void findProfile(boolean expected, String profile, int testId) throws Exception { - try { - Thread.sleep(2500); - WebElement tbl = driver.findElement(By.xpath("//table")); - List rows = tbl.findElements(By.tagName("tr")); - boolean found = false; - //row iteration - for(int i=0; i cols = rows.get(i).findElements(By.tagName("td")); - - //column iteration - for(int j=0; j rows = tbl.findElements(By.tagName("tr")); - boolean found = false; - breakP: - //row iteration - for(int i=0; i cols = rows.get(i).findElements(By.tagName("td")); - - //column iteration - for(int j=0; j .ant-card .ant-card-head-title")).getText().equals("Edit "+ profile)) { - //Correct profile - } - else { - failure(testId); - fail("Incorrect Profile selected"); - } - } catch (Exception E) { - failure(testId); - fail("No title found for profile"); - } - } - - public void deleteProfileButton(int testId) throws Exception { - try { - driver.findElement(By.cssSelector("[title^='delete-AutomationTest Profile']")).click(); - Thread.sleep(2000); - - if (driver.findElement(By.cssSelector(".ant-modal-title")).getText().equals("Are you sure?")){ - //No further steps needed - } else { - - fail("Popup displays incorrect text"); - } - } catch (Exception E) { - failure(testId); - fail(); - } - - - } - - public void deleteProfile(int testId) throws Exception { - try { - deleteProfileButton(testId); - Thread.sleep(1000); - driver.findElement(By.cssSelector(".ant-btn.index-module__Button___3SCd4.ant-btn-danger")).click(); - Thread.sleep(1000); - driver.navigate().refresh(); - Thread.sleep(3000); - } catch (Exception E) { - failure(testId); - fail(); - } - - } - - public void cancelDeleteProfile(int testId) throws Exception { - try { - deleteProfileButton(testId); - Thread.sleep(1000); - driver.findElement(By.cssSelector("body > div:nth-child(9) > div > div.ant-modal-wrap > div > div.ant-modal-content > div.ant-modal-footer > div > button:nth-child(1) > span")).click(); - Thread.sleep(1000); - driver.navigate().refresh(); - Thread.sleep(1500); - } catch (Exception E) { - failure(testId); - fail(); - } - - } - - //Clicks add profile button - public void addProfileButton(int testId) throws Exception { - try { - driver.findElement(By.xpath("//*[@id=\"root\"]/section/main/div/div/div[1]/div/a/button/span")).click(); - Thread.sleep(1000); - String URL = driver.getCurrentUrl(); - Assert.assertEquals("Incorrect URL", URL, "https://wlan-ui.qa.lab.wlan.tip.build/addprofile"); - } catch (Exception E) { - failure(testId); - fail(); - } - - } - - //Clicks refresh button - public void refreshButton(int testId) throws Exception { - try { - //Select SSID from the drop-down - driver.findElement(By.xpath("//*[@id=\"root\"]/section/main/div/div/div[1]/div/button")).click(); - Thread.sleep(1000); - } catch (Exception E) { - failure(testId); - fail(); - } - - } - - public void refreshNotification(int testId) throws MalformedURLException, IOException, APIException { - - try { - if (driver.findElement(By.cssSelector(".ant-notification-notice-description")).getText().equals("Profiles reloaded")) { - //pass - } - } catch (Exception E) { - failure(testId); - fail("Notification not found"); - } - - - } - - public void ssidDetails(int testId) throws MalformedURLException, IOException, APIException { - try { - driver.findElement(By.xpath("//*[@id=\"name\"]")).sendKeys("AutomationTest Profile"); - driver.findElement(By.xpath("//*[@id=\"ssid\"]")).sendKeys("Automation Test SSID"); - } catch (Exception E) { - failure(testId); - fail(); - } - - } - - public void saveProfile(int testId) throws MalformedURLException, IOException, APIException { - try { - driver.findElement(By.xpath("//*[@id=\"root\"]/section/main/div/div/div/div/button/span")).click(); - } catch (Exception E) { - failure(testId); - fail(); - } - - } - - public void abortCreatingProfile(int testId) throws Exception { - try { - driver.findElement(By.xpath("//*[@id=\"root\"]/section/main/div/div/div/button/span[2]")).click(); - Thread.sleep(1000); - driver.findElement(By.cssSelector("body > div:nth-child(9) > div > div.ant-modal-wrap > div > div.ant-modal-content > " - + "div.ant-modal-footer > div > button.ant-btn.index-module__Button___3SCd4.ant-btn-primary")).click(); - } catch (Exception E) { - failure(testId); - fail(); - } - - } - - public void useCaptivePortal(int testId) throws Exception { - try { - driver.findElement(By.xpath("//*[@id=\"captivePortal\"]/label[2]/span[1]/input")).click(); - Thread.sleep(1000); - - if (driver.findElements(By.xpath("//*[@id=\"captivePortalId\"]")).size()>0) { - //successfully found drop-down - } else { - - fail("No options for captive portal found"); - } - } catch (Exception E) { - failure(testId); - fail(); - } - - } - - public void ssidList(int testId) throws Exception { - try { - //System.out.print(driver.findElements(By.className("ant-select-selection-search-input")).size()); - Actions cursor = new Actions(driver); - WebElement input = driver.findElement(By.cssSelector("#rc_select_1")); - cursor.click(input); - cursor.sendKeys(input, "EA8300_5G_WPA2").perform(); - cursor.sendKeys(input, Keys.ENTER).perform(); - Thread.sleep(3000); - - if (driver.findElements(By.className("ant-table-empty")).size()!=0) { - failure(testId); - fail("Table not displaying SSIDs"); - } - } catch (Exception E) { - failure(testId); - fail(); - } - - - } - - public void bandwidthDetails(int testId) throws Exception { - try { - WebElement bandwidth = driver.findElement(By.xpath("//*[@id=\"bandwidthLimitDown\"]")); - //Actions action = new Actions(driver); - bandwidth.sendKeys(Keys.BACK_SPACE); - bandwidth.sendKeys("123"); - Thread.sleep(500); - - try { - if (!driver.findElement(By.cssSelector("#root > section > main > div > div > form > div.index-module__ProfilePage___OaO8O > div:nth-child(1) > div.ant-card-body > div:nth-child(3) > div.ant-col.ant-col-12.ant-form-item-control > div > div > div > div.ant-row.ant-form-item.ant-form-item-with-help.ant-form-item-has-error > div > div.ant-form-item-explain > div")) - .getText().equals("Downstream bandwidth limit can be a number between 0 and 100.")){ - failure(testId); - fail(); - } - } catch (Exception E) { - failure(testId); - fail(); - } - - bandwidth.sendKeys(Keys.BACK_SPACE); - bandwidth.sendKeys(Keys.BACK_SPACE); - bandwidth.sendKeys(Keys.BACK_SPACE); - - bandwidth.sendKeys("-10"); - Thread.sleep(500); - - - try { - if (!driver.findElement(By.cssSelector("#root > section > main > div > div > form > div.index-module__ProfilePage___OaO8O > div:nth-child(1) > div.ant-card-body > div:nth-child(3) > div.ant-col.ant-col-12.ant-form-item-control > div > div > div > div.ant-row.ant-form-item.ant-form-item-with-help.ant-form-item-has-error > div > div.ant-form-item-explain > div")) - .getText().equals("Downstream bandwidth limit can be a number between 0 and 100.")){ - failure(testId); - fail(); - } - } catch (Exception E) { - failure(testId); - fail(); - - } - - bandwidth.sendKeys(Keys.BACK_SPACE); - bandwidth.sendKeys(Keys.BACK_SPACE); - bandwidth.sendKeys(Keys.BACK_SPACE); - - bandwidth.sendKeys("10"); - Thread.sleep(500); - - - if (driver.findElements(By.cssSelector("#root > section > main > div > div > form > div.index-module__ProfilePage___OaO8O > div:nth-child(1) > div.ant-card-body > div:nth-child(3) > div.ant-col.ant-col-12.ant-form-item-control > div > div > div > div.ant-row.ant-form-item.ant-form-item-with-help.ant-form-item-has-error > div > div.ant-form-item-explain > div")) - .size()!=0){ - failure(testId); - fail(); - - } - } catch (Exception E) { - failure(testId); - fail(); - } - - - } - - public void selectSSID(int testId) throws Exception { - try { - Actions cursor = new Actions(driver); - cursor.sendKeys(Keys.TAB).perform(); - cursor.sendKeys(Keys.TAB).perform(); - cursor.sendKeys(Keys.TAB).perform(); - cursor.sendKeys(Keys.ENTER).perform(); - cursor.sendKeys(Keys.ENTER).perform(); - - Thread.sleep(1000); - - boolean found = true; - try { - if (!driver.findElement(By.cssSelector("#root > section > main > div > div > form > div.index-module__ProfilePage___OaO8O > div:nth-child(1) > div.ant-card-head > div > div")).getText().equals("SSID")) { - found = false; - } else if (!driver.findElement(By.cssSelector("#root > section > main > div > div > form > div.index-module__ProfilePage___OaO8O > div:nth-child(2) > div.ant-card-head > div > div")).getText().equals("Network Connectivity")) { - found = false; - } else if (!driver.findElement(By.cssSelector("#root > section > main > div > div > form > div.index-module__ProfilePage___OaO8O > div:nth-child(3) > div.ant-card-head > div > div")).getText().equals("Security and Encryption")) { - found = false; - } else if (!driver.findElement(By.cssSelector("#root > section > main > div > div > form > div.index-module__ProfilePage___OaO8O > div:nth-child(4) > div.ant-card-head > div > div")).getText().equals("Roaming")) { - found = false; - } - } catch (Exception E) { - failure(testId); - fail(); - - } - Assert.assertEquals(true, found); - } catch (Exception E) { - failure(testId); - fail(); - } - - } - - public void selectAP(int testId) throws Exception { - try { - Actions cursor = new Actions(driver); - cursor.sendKeys(Keys.TAB).perform(); - cursor.sendKeys(Keys.TAB).perform(); - cursor.sendKeys(Keys.TAB).perform(); - cursor.sendKeys(Keys.ENTER).perform(); - cursor.sendKeys(Keys.ARROW_DOWN).perform(); - cursor.sendKeys(Keys.ENTER).perform(); - Thread.sleep(1500); - - try { - if (!driver.findElement(By.cssSelector("#root > section > main > div > div > form > div.index-module__ProfilePage___OaO8O > div:nth-child(1) > div.ant-card-head > div > div")).getText().equals("LAN and Services")) { - failure(testId); - fail(); - } else if (!driver.findElement(By.cssSelector("#root > section > main > div > div > form > div.index-module__ProfilePage___OaO8O > div:nth-child(2) > div.ant-card-head > div > div")).getText().equals("Wireless Networks (SSIDs) Enabled on This Profile")) { - failure(testId); - fail(); - } - } catch (Exception E) { - failure(testId); - fail(); - } - - - //Assert.assertEquals(true, found); - } catch (Exception E) { - failure(testId); - fail(); - } - - } - //C4807 - @Test - public void addProfileButtonTest() throws Exception { - Map data = new HashMap(); - ProfilesTest obj = new ProfilesTest(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(3000); - obj.profileScreen(); - Thread.sleep(2500); - obj.addProfileButton(4807); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/4807", data); - } - - //C4808 - @Test - public void ssidOptionsVerificationTest() throws Exception { - Map data = new HashMap(); - ProfilesTest obj = new ProfilesTest(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(3000); - obj.profileScreen(); - Thread.sleep(2500); - obj.addProfileButton(4808); - Thread.sleep(1000); - obj.selectSSID(4088); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/4808", data); - } - - //C4809 - @Test - public void apOptionsVerificationTest() throws Exception { - Map data = new HashMap(); - ProfilesTest obj = new ProfilesTest(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(3000); - obj.profileScreen(); - Thread.sleep(2500); - obj.addProfileButton(4809); - Thread.sleep(1000); - obj.selectAP(4809); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/4809", data); - - } - //C4824 - @Test - public void refreshButtonTest() throws Exception { - Map data = new HashMap(); - ProfilesTest obj = new ProfilesTest(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(3000); - obj.profileScreen(); - Thread.sleep(2500); - obj.refreshButton(4824); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/4824", data); - - } - //C4818 - @Test - public void bandwidthTest() throws Exception { - Map data = new HashMap(); - - ProfilesTest obj = new ProfilesTest(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(3000); - obj.profileScreen(); - Thread.sleep(2500); - obj.addProfileButton(4818); - Thread.sleep(1000); - obj.selectSSID(4818); - obj.ssidDetails(4818); - obj.bandwidthDetails(4818); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/4818", data); - - } - - //C4819 - @Test - public void captivePortalDropdownTest() throws Exception { - Map data = new HashMap(); - ProfilesTest obj = new ProfilesTest(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(3000); - obj.profileScreen(); - Thread.sleep(2500); - obj.addProfileButton(4819); - Thread.sleep(1000); - obj.selectSSID(4819); - obj.ssidDetails(4819); - obj.useCaptivePortal(4819); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/4819", data); - } - - //C4822 - @Test - public void ssidListTest() throws Exception { - Map data = new HashMap(); - ProfilesTest obj = new ProfilesTest(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(3000); - obj.profileScreen(); - Thread.sleep(2500); - obj.addProfileButton(4822); - Thread.sleep(1000); - obj.selectAP(4822); - Thread.sleep(500); - obj.ssidList(4822); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/4822", data); - } - //C4810 - @Test - public void createProfileTest() throws Exception { - Map data = new HashMap(); - ProfilesTest obj = new ProfilesTest(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(3000); - obj.profileScreen(); - Thread.sleep(2500); - obj.addProfileButton(4810); - Thread.sleep(600); - obj.selectSSID(4810); - obj.ssidDetails(4810); - obj.saveProfile(4810); - Thread.sleep(1000); - obj.loadAllProfiles(4810); - obj.findProfile(true, "AutomationTest Profile",4810); - obj.deleteProfile(4810); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/4810", data); - } - //C4811 - @Test - public void profileNotCreatedTest() throws Exception { - Map data = new HashMap(); - ProfilesTest obj = new ProfilesTest(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(3000); - obj.profileScreen(); - Thread.sleep(2500); - obj.addProfileButton(4811); - Thread.sleep(600); - obj.selectSSID(4811); - obj.ssidDetails(4811); - obj.abortCreatingProfile(4811); - Thread.sleep(1000); - obj.loadAllProfiles(4811); - obj.findProfile(false, "AutomationTest Profile",4811); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/4811", data); - } - //C4814 - @Test - public void deleteProfileTest() throws Exception { - Map data = new HashMap(); - ProfilesTest obj = new ProfilesTest(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(3000); - obj.profileScreen(); - Thread.sleep(2500); - obj.addProfileButton(4814); - Thread.sleep(600); - obj.selectSSID(4814); - obj.ssidDetails(4814); - obj.saveProfile(4814); - Thread.sleep(1000); - obj.loadAllProfiles(4814); - Thread.sleep(1000); - obj.findProfile(true, "AutomationTest Profile",4814); - obj.deleteProfile(4814); - obj.loadAllProfiles(4814); - Thread.sleep(1500); - obj.findProfile(false, "AutomationTest Profile",4814); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/4814", data); - } - - //C4813 - @Test - public void cancelDeleteProfileTest() throws Exception { - Map data = new HashMap(); - ProfilesTest obj = new ProfilesTest(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(3000); - obj.profileScreen(); - Thread.sleep(2500); - obj.addProfileButton(4813); - Thread.sleep(600); - obj.selectSSID(4813); - obj.ssidDetails(4813); - obj.saveProfile(4813); - Thread.sleep(1000); - obj.loadAllProfiles(4813); - obj.findProfile(true, "AutomationTest Profile", 4813); - obj.cancelDeleteProfile(4813); - Thread.sleep(1500); - obj.loadAllProfiles(4813); - obj.findProfile(true, "AutomationTest Profile",4813); - //Delete profile at the end of the test - obj.deleteProfile(4813); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/4813", data); - } - //C4812 - @Test - public void verifyDeleteConfirmationTest() throws Exception { - Map data = new HashMap(); - ProfilesTest obj = new ProfilesTest(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(3000); - obj.profileScreen(); - Thread.sleep(2500); - obj.addProfileButton(4812); - Thread.sleep(600); - obj.selectSSID(4812); - obj.ssidDetails(4812); - obj.saveProfile(4812); - Thread.sleep(2000); - obj.loadAllProfiles(4812); - obj.findProfile(true, "AutomationTest Profile",4812); - obj.deleteProfileButton(4812); - obj.driver.navigate().refresh(); - Thread.sleep(2000); - obj.loadAllProfiles(4812); - obj.findProfile(true, "AutomationTest Profile",4812); - //Delete profile at the end of the test - obj.deleteProfile(4812); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/4812", data); - } - //C4815 - @Test - public void viewProfileTest() throws Exception { - Map data = new HashMap(); - ProfilesTest obj = new ProfilesTest(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(3000); - obj.profileScreen(); - Thread.sleep(2500); - obj.findProfile("ECW5410 Automation",4815); - Thread.sleep(5000); - obj.verifyProfile("ECW5410 Automation",4815); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/4815", data); - } - //C5035 - @Test - public void verifyFieldsTest() throws Exception { - Map data = new HashMap(); - ProfilesTest obj = new ProfilesTest(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(3000); - obj.profileScreen(); - Thread.sleep(2500); - obj.loadAllProfiles(5035); - obj.findProfile(false, "",5035); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/5035", data); - } -} diff --git a/CICD_AP_CLOUDSDK/automationTests/SystemTests.java b/CICD_AP_CLOUDSDK/automationTests/SystemTests.java deleted file mode 100644 index 9b2829761..000000000 --- a/CICD_AP_CLOUDSDK/automationTests/SystemTests.java +++ /dev/null @@ -1,1385 +0,0 @@ -package automationTests; - -import static org.junit.jupiter.api.Assertions.*; - -import java.io.IOException; -import java.net.MalformedURLException; -import java.util.ArrayList; -import java.util.Calendar; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -import org.json.simple.JSONArray; -import org.json.simple.JSONObject; -import org.junit.AfterClass; -import org.junit.Assert; -import org.junit.BeforeClass; -import org.junit.internal.TextListener; -import org.junit.jupiter.api.AfterAll; -import org.junit.jupiter.api.BeforeAll; -import org.junit.Test; -import org.junit.runner.JUnitCore; -import org.junit.runner.Result; -import org.openqa.selenium.By; -import org.openqa.selenium.Keys; -import org.openqa.selenium.WebDriver; -import org.openqa.selenium.WebElement; -import org.openqa.selenium.chrome.ChromeDriver; -import org.openqa.selenium.chrome.ChromeOptions; -import org.openqa.selenium.interactions.Actions; - -public class SystemTests { - WebDriver driver; - static APIClient client; - static long runId; -// static String Url = System.getenv("CLOUD_SDK_URL"); -// static String trUser = System.getenv("TR_USER"); -// static String trPwd = System.getenv("TR_PWD"); -// static String cloudsdkUser = "support@example.com"; -// static String cloudsdkPwd="support"; - - @BeforeClass - public static void startTest() throws Exception - { -// client.setUser(trUser); -// client.setPassword(trPwd); - client = new APIClient("https://telecominfraproject.testrail.com"); - client.setUser("syama.devi@connectus.ai"); - client.setPassword("Connect123$"); - - JSONArray c = (JSONArray) client.sendGet("get_runs/5"); - runId = new Long(0); - Calendar cal = Calendar.getInstance(); - //Months are indexed 0-11 so add 1 for current month - int month = cal.get(Calendar.MONTH) + 1; - String day = Integer.toString(cal.get(Calendar.DATE)); - if (day.length()<2) { - day = "0"+day; - } - String date = "UI Automation Run - " + day + "/" + month + "/" + cal.get(Calendar.YEAR); - for (int a = 0; a < c.size(); a++) { - if (((JSONObject) c.get(a)).get("name").equals(date)) { - runId = (Long) ((JSONObject) c.get(a)).get("id"); - } - } - } - - public void launchBrowser() { - System.setProperty("webdriver.chrome.driver", "/home/netex/nightly_sanity/ui-scripts/chromedriver"); -// System.setProperty("webdriver.chrome.driver", "/Users/mohammadrahman/Downloads/chromedriver"); - ChromeOptions options = new ChromeOptions(); - options.addArguments("--no-sandbox"); - options.addArguments("--headless"); - options.addArguments("--window-size=1920,1080"); - driver = new ChromeDriver(options); - driver.get("https://wlan-ui.qa.lab.wlan.tip.build"); - } - - public void closeBrowser() { - driver.close(); - } - - public void failure(int testId) throws MalformedURLException, IOException, APIException { - driver.close(); - Map data = new HashMap(); - data.put("status_id", new Integer(5)); - data.put("comment", "Fail"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/"+testId, data); - } - - //Log into the CloudSDK portal - public void logIn() { - driver.findElement(By.id("login_email")).sendKeys("support@example.com"); - driver.findElement(By.id("login_password")).sendKeys("support"); - driver.findElement(By.xpath("//*[@id=\"login\"]/button/span")).click(); - } - - //Navigates to systems tab - public void systemScreen(int testId) throws Exception { - try { - driver.findElement(By.linkText("System")).click(); - } catch (Exception E) { - failure(testId); - fail(); - } - - } - - public void ouiError(int testId) throws Exception { - try { - Actions cursor = new Actions(driver); - WebElement oui = driver.findElement(By.xpath("//*[@id=\"oui\"]")); - cursor.sendKeys(oui, "abc").build().perform(); - cursor.sendKeys(Keys.ENTER).build().perform(); - Thread.sleep(1000); - - - if (!driver.findElement(By.cssSelector(".ant-notification-notice-description")).getText().equals("No matching manufacturer found for OUI")) { - failure(testId); - fail(); - - } - } catch (Exception E) { - failure(testId); - fail(); - } - } - - public void ouiFormats(int testId) throws Exception { - Actions cursor = new Actions(driver); - WebElement oui = driver.findElement(By.xpath("//*[@id=\"oui\"]")); - cursor.sendKeys(oui, "88:12:4E").build().perform(); - cursor.sendKeys(Keys.ENTER).build().perform(); - Thread.sleep(1000); - - boolean found = false; - if (driver.findElements(By.cssSelector(".ant-notification-notice-description")).size()>0) { - found = true; - } - if (found) { - failure(testId); - fail(); - } - cursor.sendKeys(Keys.BACK_SPACE).perform(); - cursor.sendKeys(Keys.BACK_SPACE).perform(); - cursor.sendKeys(Keys.BACK_SPACE).perform(); - cursor.sendKeys(Keys.BACK_SPACE).perform(); - cursor.sendKeys(Keys.BACK_SPACE).perform(); - cursor.sendKeys(Keys.BACK_SPACE).perform(); - cursor.sendKeys(Keys.BACK_SPACE).perform(); - cursor.sendKeys(Keys.BACK_SPACE).perform(); - - cursor.sendKeys(oui, "88124E").build().perform(); - cursor.sendKeys(Keys.ENTER).build().perform(); - Thread.sleep(1000); - - if (driver.findElements(By.cssSelector(".ant-notification-notice-description")).size()>0) { - found = true; - } - if (found) { - failure(testId); - fail(); - } - - cursor.sendKeys(Keys.BACK_SPACE).perform(); - cursor.sendKeys(Keys.BACK_SPACE).perform(); - cursor.sendKeys(Keys.BACK_SPACE).perform(); - cursor.sendKeys(Keys.BACK_SPACE).perform(); - cursor.sendKeys(Keys.BACK_SPACE).perform(); - cursor.sendKeys(Keys.BACK_SPACE).perform(); - cursor.sendKeys(Keys.BACK_SPACE).perform(); - cursor.sendKeys(Keys.BACK_SPACE).perform(); - - cursor.sendKeys(oui, "88-12-4E").build().perform(); - cursor.sendKeys(Keys.ENTER).build().perform(); - Thread.sleep(2000); - - if (driver.findElements(By.cssSelector(".ant-notification-notice-description")).size()>0) { - failure(testId); - fail(); - } - } - - public void ouiLength(int testId) throws Exception { - try { - Actions cursor = new Actions(driver); - WebElement oui = driver.findElement(By.xpath("//*[@id=\"oui\"]")); - cursor.sendKeys(oui, "123456789").build().perform(); - cursor.sendKeys(Keys.ENTER).build().perform(); - Thread.sleep(3000); - - if (oui.getAttribute("value").length()>8) { - failure(testId); - fail(); - } - - } catch (Exception E) { - failure(testId); - fail(); - } - } - - public void addVersion(int testId) throws Exception { - try { - Thread.sleep(2000); - driver.findElement(By.xpath("//span[contains(.,'Add Version')]")).click(); - driver.findElement(By.xpath("//*[@id=\"modelId\"]")).sendKeys("TEST"); - driver.findElement(By.xpath("//*[@id=\"versionName\"]")).sendKeys("TEST"); - driver.findElement(By.xpath("//*[@id=\"filename\"]")).sendKeys("TEST"); - driver.findElement(By.xpath("//*[@id=\"validationCode\"]")).sendKeys("TEST"); - driver.findElement(By.cssSelector(".ant-btn.index-module__Button___3SCd4.ant-btn-primary")).click(); - Thread.sleep(1000); - }catch (Exception E) { - failure(testId); - fail(); - } - - } - - public void addBlankVersion(int testId) throws Exception { - - try { - driver.findElement(By.xpath("//*[@id=\"root\"]/section/main/div[2]/div[3]/button/span")).click(); - driver.findElement(By.xpath("//*[@id=\"modelId\"]")).sendKeys("TEST"); - driver.findElement(By.xpath("//*[@id=\"filename\"]")).sendKeys("TEST"); - driver.findElement(By.xpath("//*[@id=\"validationCode\"]")).sendKeys("TEST"); - driver.findElement(By.cssSelector(".ant-btn.index-module__Button___3SCd4.ant-btn-primary")).click(); - Thread.sleep(1000); - - try { - if (driver.findElement(By.cssSelector("body > div:nth-child(8) > div > div.ant-modal-wrap > div > div.ant-modal-content > div.ant-modal-body > form > div.ant-row.ant-form-item.ant-form-item-with-help.ant-form-item-has-error > div.ant-col.ant-col-15.ant-form-item-control > div.ant-form-item-explain > div")).getText().equals("Please input your Version Name")) { - //error message found - } else { - failure(testId); - fail("Incorrect error message displayed"); - } - } catch (Exception E) { - failure(testId); - fail("Error message not displayed"); - } - }catch (Exception E) { - failure(testId); - fail(); - } - - } - - public void addClient(String mac, int testId) throws Exception { - try { - try { - driver.findElement(By.xpath("//span[contains(.,'Add Client')]")).click(); - } catch (Exception E) { - failure(testId); - fail("Add Client button not found"); - } - - Actions browser = new Actions(driver); - browser.sendKeys(Keys.TAB).perform(); - browser.sendKeys(Keys.TAB).perform(); - browser.sendKeys(mac).perform(); - browser.sendKeys(Keys.TAB).perform(); - browser.sendKeys(Keys.TAB).perform(); - browser.sendKeys(Keys.ENTER).perform(); - } catch (Exception E) { - failure(testId); - fail(); - } - - - } - public void addInvalidClient(String mac, int testId) throws Exception { - try { - driver.findElement(By.xpath("//span[contains(.,'Add Client')]")).click(); - Actions browser = new Actions(driver); - browser.sendKeys(Keys.TAB).perform(); - browser.sendKeys(Keys.TAB).perform(); - browser.sendKeys(mac).perform(); - Thread.sleep(500); -// driver.findElement(By.cssSelector("body > div:nth-child(8) > div > div.ant-modal-wrap > div > div.ant-modal-content > div.ant-modal-body > form > div > div.ant-col.ant-col-12.ant-form-item-control > div.ant-form-item-explain > div")) -// .click(); - try { - if (!driver.findElement(By.cssSelector("body > div:nth-child(8) > div > div.ant-modal-wrap > div > div.ant-modal-content > div.ant-modal-body > form > div > div.ant-col.ant-col-12.ant-form-item-control > div.ant-form-item-explain > div")) - .getText().equals("Please enter a valid MAC Address.")){ - failure(testId); - fail("Incorrect error message displayed"); - } - } catch (Exception E) { - failure(testId); - fail("Error message not displayed"); - } - - browser.sendKeys(Keys.TAB).perform(); - browser.sendKeys(Keys.TAB).perform(); - browser.sendKeys(Keys.ENTER).perform(); - }catch (Exception E) { - failure(testId); - fail(); - } - - - } - - public void cancelAddClient(String mac, int testId) throws Exception { - try { - try { - driver.findElement(By.xpath("//span[contains(.,'Add Client')]")).click(); - } catch (Exception E) { - - fail("Add Client button not found"); - } - - Actions browser = new Actions(driver); - browser.sendKeys(Keys.TAB).perform(); - browser.sendKeys(Keys.TAB).perform(); - browser.sendKeys(mac).perform(); - browser.sendKeys(Keys.TAB).perform(); - browser.sendKeys(Keys.ENTER).perform(); - }catch (Exception E) { - failure(testId); - fail(); - } - - - } - - //Looks for the version given in the parameter and tests to see if it is the expected result - public void findVersion(boolean expected, String version, int testId) throws MalformedURLException, IOException, APIException { - - try { - WebElement tbl = driver.findElement(By.xpath("//*[@id=\"root\"]/section/main/div[2]/div[4]/div/div/div/div/div/table")); - List rows = tbl.findElements(By.tagName("tr")); - boolean found = false; - //row iteration - for(int i=0; i cols = rows.get(i).findElements(By.tagName("td")); - - //column iteration - for(int j=0; j section > main > div:nth-child(2) > div:nth-child(2) > div > div > div > div > div > table")); - List rows = tbl.findElements(By.tagName("tr")); - boolean found = false; - //row iteration - for(int i=0; i cols = rows.get(i).findElements(By.tagName("td")); - - //column iteration - for(int j=0; j rows = tbl.findElements(By.tagName("tr")); - boolean found = false; - //row iteration - for(int i=0; i cols = rows.get(i).findElements(By.tagName("td")); - //column iteration - for(int j=0; j rows = tbl.findElements(By.tagName("tr")); - boolean found = false; - //row iteration - for(int i=0; i cols = rows.get(i).findElements(By.tagName("td")); - //column iteration - for(int j=0; j section > main > div:nth-child(2) > div > form > div:nth-child(1) > div.ant-card-head > div > div")).getText().equals("Upload Manufacturer OUI Data")) { - - fail("Upload data section title incorrect"); - } else if (!driver.findElement(By.cssSelector("#root > section > main > div:nth-child(2) > div > form > div:nth-child(2) > div.ant-card-head > div > div")).getText().equals("Set a Manufacturer Alias")) { - - fail("Set manufacturer data section title incorrect"); - } - }catch (Exception E) { - failure(testId); - fail(); - } - //Assert.assertEquals(true, found); - } - - public void autoprovisionScreenDetails(boolean enabled, int testId) throws MalformedURLException, IOException, APIException { - if (enabled) { - try { - if (!driver.findElement(By.cssSelector("#root > section > main > div:nth-child(2) > form > div.index-module__Content___2GmAx > div:nth-child(1) > div.ant-card-head > div > div")).getText().equals("Target Location")) { - failure(testId); - fail("Target Location title incorrect"); - } else if (!driver.findElement(By.cssSelector("#root > section > main > div:nth-child(2) > form > div.index-module__Content___2GmAx > div:nth-child(2) > div.ant-card-head > div > div.ant-card-head-title")).getText().equals("Target Equipment Profiles")) { - - fail("Target equipment profiles title incorrect"); - } - } catch (Exception E) { - failure(testId); - fail(); - } - } else { - if (driver.findElements(By.cssSelector("#root > section > main > div:nth-child(2) > form > div.index-module__Content___2GmAx > div:nth-child(1) > div.ant-card-head > div > div")).size()!=0) { - - failure(testId); - fail(); - - - } - } - } - - public void clickSwitch() { - driver.findElement(By.cssSelector("#enabled")).click();; - } - - public void firmwareScreen(int testId) throws MalformedURLException, IOException, APIException { - try { - driver.findElement(By.xpath("//*[@id=\"rc-tabs-0-tab-firmware\"]")).click(); - }catch (Exception E) { - failure(testId); - fail(); - } - - } - - public void autoprovisionScreen(int testId) throws MalformedURLException, IOException, APIException { - try { - driver.findElement(By.xpath("//*[@id=\"rc-tabs-0-tab-autoprovision\"]")).click(); - }catch (Exception E) { - failure(testId); - fail(); - } - - } - - public void clientBListScreen(int testId) throws MalformedURLException, IOException, APIException { - try { - driver.findElement(By.xpath("//*[@id=\"rc-tabs-0-tab-blockedlist\"]")).click(); - }catch (Exception E) { - failure(testId); - fail(); - } - - } - - public void deleteMacButton(String name, int testId) throws Exception { - try { - driver.findElement(By.cssSelector("[title^='delete-mac-" + name + "']")).click(); - Thread.sleep(2000); - try { - if (driver.findElement(By.xpath("//*[@id=\"rcDialogTitle1\"]")).getText().equals("Are you sure?")){ - //No further steps needed - } else if (driver.findElement(By.xpath("//*[@id=\"rcDialogTitle2\"]")).getText().equals("Are you sure?")){ - //Will have this Id when version edit button has been clicked prior - } else { - failure(testId); - fail(); - } - } catch (Exception E) { - failure(testId); - fail(); - } - } catch (Exception E) { - failure(testId); - fail(); - } - - } - - public void deleteMac(String name, int testId) throws Exception { - try { - deleteMacButton(name,testId); - Thread.sleep(1000); - Actions browse = new Actions(driver); - browse.sendKeys(Keys.TAB).perform(); - browse.sendKeys(Keys.TAB).perform(); - browse.sendKeys(Keys.TAB).perform(); - browse.sendKeys(Keys.ENTER).perform(); - Thread.sleep(1000); - driver.navigate().refresh(); - } catch (Exception E) { - failure(testId); - fail(); - } - - } - - public void uniqueVersion(int testId) throws MalformedURLException, IOException, APIException { - - try { - WebElement tbl = driver.findElement(By.cssSelector("#root > section > main > div:nth-child(2) > div:nth-child(2) > div > div > div > div > div > table")); - List rows = tbl.findElements(By.tagName("tr")); - List ids = new ArrayList(); - - boolean found = false; - //row iteration - for(int i=1; i cols = rows.get(i).findElements(By.tagName("td")); - - if (ids.contains(cols.get(0).getText())) { - failure(testId); - fail(); - } else { -// System.out.print(cols.get(0).getText()); - ids.add(cols.get(0).getText()); - } - - } - - }catch (Exception E) { - failure(testId); - fail(); - } - } - - public List listOfVersions(int table, int testId) throws MalformedURLException, IOException, APIException { - List ids = new ArrayList(); - try { - WebElement tbl; - if (table == 1) { - tbl = driver.findElement(By.xpath("//table")); - } else { - tbl = driver.findElement(By.xpath("//*[@id=\"root\"]/section/main/div[2]/div[4]/div/div/div/div/div/table")); - } - - List rows = tbl.findElements(By.tagName("tr")); - //List ids = new ArrayList(); - - boolean found = false; - //row iteration - for(int i=1; i cols = rows.get(i).findElements(By.tagName("td")); - - if (!ids.contains(cols.get(0).getText())) { - ids.add(cols.get(0).getText()); - } - } - - return ids; - - }catch (Exception E) { - failure(testId); - fail(); - } - return ids; - } - - public int addModelAndClickDropdown(int testId) throws Exception { - driver.findElement(By.xpath("//span[contains(.,'Add Model Target Version')]")).click(); - Thread.sleep(1000); - Actions browse = new Actions(driver); - Thread.sleep(1000); - browse.sendKeys(Keys.TAB).perform(); - browse.sendKeys(Keys.TAB).perform(); - - browse.sendKeys(Keys.ENTER).perform(); - List versions = driver.findElements(By.cssSelector(".ant-select-item.ant-select-item-option")); - browse.sendKeys(Keys.ESCAPE).perform(); - System.out.print(versions.size()); - return versions.size(); - - } - - //C5037 - @Test - public void manufacturerScreenTest() throws Exception { - Map data = new HashMap(); - - SystemTests obj = new SystemTests(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(4000); - obj.systemScreen(5037); - Thread.sleep(2500); - obj.manufacturerScreenDetails(5037); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/5037", data); - - } - //C5036 - @Test - public void ouiDetailsTest() throws Exception { - Map data = new HashMap(); - SystemTests obj = new SystemTests(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(3000); - obj.systemScreen(5036); - Thread.sleep(2500); - obj.ouiError(5036); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/5036", data); - - } - //C5639 - @Test - public void ouiLengthTest() throws Exception { - Map data = new HashMap(); - SystemTests obj = new SystemTests(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(3000); - obj.systemScreen(5639); - Thread.sleep(2500); - obj.ouiLength(5639); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/5639", data); - } - //C5640 - @Test - public void ouiFormatTest() throws Exception { - Map data = new HashMap(); - SystemTests obj = new SystemTests(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(3000); - obj.systemScreen(5640); - Thread.sleep(2500); - obj.ouiFormats(5640); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/5640", data); - } - //C5040 - @Test - public void createVersionTest() throws Exception { - Map data = new HashMap(); - - SystemTests obj = new SystemTests(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(3000); - obj.systemScreen(5040); - Thread.sleep(2500); - //obj.manufacturerScreenDetails(); - obj.firmwareScreen(5040); - Thread.sleep(1000); - obj.addVersion(5040); - Thread.sleep(1000); - obj.findVersion(true, "TEST", 5040); - Thread.sleep(2000); - obj.deleteVersion(5040); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/5040", data); - - - } - //C5038 - @Test - public void allVersionFieldsTest() throws Exception { - Map data = new HashMap(); - - SystemTests obj = new SystemTests(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(3000); - obj.systemScreen(5038); - Thread.sleep(2500); - obj.firmwareScreen(5038); - Thread.sleep(1000); - obj.findVersion(false, "", 5038); - Thread.sleep(2000); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/5038", data); - - } - //C5039 - @Test - public void modelTargetVersionFieldsTest() throws Exception { - Map data = new HashMap(); - - SystemTests obj = new SystemTests(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(3000); - obj.systemScreen(5039); - Thread.sleep(2500); - obj.firmwareScreen(5039); - Thread.sleep(1000); - obj.findModelTargetVersion(false, "", 5039); - Thread.sleep(2000); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/5039", data); - - } - //C5057 - @Test - public void deleteVersionTest() throws Exception { - Map data = new HashMap(); - SystemTests obj = new SystemTests(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(3000); - obj.systemScreen(5057); - Thread.sleep(2500); - //obj.manufacturerScreenDetails(); - obj.firmwareScreen(5057); - Thread.sleep(1000); - obj.addVersion(5057); - Thread.sleep(3000); - obj.findVersion(true, "TEST", 5057); - Thread.sleep(2000); - obj.deleteVersion(5057); - Thread.sleep(1000); - obj.findVersion(false, "TEST", 5057); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/5057", data); - - } - //C5056 - @Test - public void editVersionTest() throws Exception { - Map data = new HashMap(); - SystemTests obj = new SystemTests(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(3000); - obj.systemScreen(5056); - Thread.sleep(2500); - obj.firmwareScreen(5056); - Thread.sleep(1000); - obj.addVersion(5056); - Thread.sleep(1000); - obj.editVersion(5056); - Thread.sleep(1500); - obj.findVersion(true, "TEST123", 5056); - obj.deleteVersion(5056); - Thread.sleep(6000); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/5056", data); - - } - //C5064 - @Test - public void abortEditVersionTest() throws Exception { - Map data = new HashMap(); - SystemTests obj = new SystemTests(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(3000); - obj.systemScreen(5064); - Thread.sleep(2500); - obj.firmwareScreen(5064); - Thread.sleep(1000); - obj.addVersion(5064); - Thread.sleep(1000); - obj.abortEditVersion(5064); - Thread.sleep(1500); - obj.findVersion(false, "TEST123", 5064); - obj.deleteVersion(5064); - Thread.sleep(2000); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/5064", data); - - } - //C5065 - @Test - public void createBlankVersionTest() throws Exception { - Map data = new HashMap(); - SystemTests obj = new SystemTests(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(3000); - obj.systemScreen(5065); - Thread.sleep(2500); - obj.firmwareScreen(5065); - Thread.sleep(1000); - obj.addBlankVersion(5065); - Thread.sleep(1000); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/5065", data); - - } - //C5041 - @Test - public void autoProvEnbableSwitchTest() throws Exception { - Map data = new HashMap(); - SystemTests obj = new SystemTests(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(3000); - obj.systemScreen(5041); - Thread.sleep(2500); - obj.autoprovisionScreen(5041); - Thread.sleep(1000); - obj.autoprovisionScreenDetails(true, 5041); - obj.clickSwitch(); - Thread.sleep(1000); - obj.autoprovisionScreenDetails(false, 5041); - obj.clickSwitch(); - Thread.sleep(1000); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/5041", data); - - } - - //C5054 - @Test - public void targetEquipmentFieldsTest() throws Exception { - Map data = new HashMap(); - SystemTests obj = new SystemTests(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(3000); - obj.systemScreen(5054); - Thread.sleep(2500); - obj.autoprovisionScreen(5054); - Thread.sleep(1000); - obj.findTargetEquipmentProfile(false, "", 5054); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/5054", data); - - } - //C5042 - @Test - public void createTargetEquipmentTest() throws Exception { - Map data = new HashMap(); - SystemTests obj = new SystemTests(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(3000); - obj.systemScreen(5042); - Thread.sleep(2500); - obj.autoprovisionScreen(5042); - Thread.sleep(1000); - obj.createTargetEquipmentProfile(5042); - Thread.sleep(1000); - obj.findTargetEquipmentProfile(true, "TEST", 5042); - obj.deleteTarget("TEST", 5042); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/5042", data); - - } - //C5052 - @Test - public void deleteTargetEquipmentTest() throws Exception { - Map data = new HashMap(); - SystemTests obj = new SystemTests(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(3000); - obj.systemScreen(5052); - Thread.sleep(2500); - obj.autoprovisionScreen(5052); - Thread.sleep(1000); - obj.createTargetEquipmentProfile(5052); - Thread.sleep(1000); - obj.deleteTarget("TEST", 5052); - Thread.sleep(2000); - obj.findTargetEquipmentProfile(false, "TEST", 5052); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/5052", data); - - } - //C5053 - @Test - public void editTargetEquipmentTest() throws Exception { - Map data = new HashMap(); - SystemTests obj = new SystemTests(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(3000); - obj.systemScreen(5053); - Thread.sleep(2500); - obj.autoprovisionScreen(5053); - Thread.sleep(1000); - obj.createTargetEquipmentProfile(5053); - Thread.sleep(1000); - obj.editTarget("TEST123", 5058); - Thread.sleep(1000); - obj.findTargetEquipmentProfile(true, "TEST123", 5053); - obj.editTarget("TEST", 5053); - Thread.sleep(1000); - obj.deleteTarget("TEST", 5053); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/5053", data); - - } - //C5058 - @Test - public void autoProvDropdownTest() throws Exception { - Map data = new HashMap(); - SystemTests obj = new SystemTests(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(3000); - obj.systemScreen(5058); - Thread.sleep(2500); - obj.autoprovisionScreen(5058); - Thread.sleep(1000); - obj.testAutoProvDropdown(5058); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/5058", data); - - } - - //C5060 - @Test - public void addClientTest() throws Exception { - Map data = new HashMap(); - SystemTests obj = new SystemTests(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(3000); - obj.systemScreen(5060); - Thread.sleep(1000); - obj.clientBListScreen(5060); - Thread.sleep(2500); - obj.addClient("6c:e8:5c:63:3b:5f", 5060); - Thread.sleep(1500); - obj.findMacAddress(true, "6c:e8:5c:63:3b:5f", 5060); - Thread.sleep(2000); - obj.deleteMac("6c:e8:5c:63:3b:5f", 5060); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/5060", data); - - } - - //C5061 - @Test - public void deleteClientTest() throws Exception { - Map data = new HashMap(); - SystemTests obj = new SystemTests(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(3000); - obj.systemScreen(5061); - Thread.sleep(1000); - obj.clientBListScreen(5061); - Thread.sleep(2500); - obj.addClient("6c:e8:5c:63:3b:5f", 5061); - Thread.sleep(3500); - obj.findMacAddress(true, "6c:e8:5c:63:3b:5f", 5061); - Thread.sleep(2000); - obj.deleteMac("6c:e8:5c:63:3b:5f", 5061); - Thread.sleep(2000); - obj.findMacAddress(false, "6c:e8:5c:63:3b:5f", 5061); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/5061", data); - - } - //C5063 - @Test - public void cancelAddingClientTest() throws Exception { - Map data = new HashMap(); - SystemTests obj = new SystemTests(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(3000); - obj.systemScreen(5063); - Thread.sleep(1000); - obj.clientBListScreen(5063); - Thread.sleep(2500); - obj.cancelAddClient("6c:e8:5c:63:3b:5f", 5063); - Thread.sleep(1500); - obj.findMacAddress(false, "6c:e8:5c:63:3b:5f", 5063); - Thread.sleep(2000); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/5063", data); - - } - //C5062 - @Test - public void addInvalidClientTest() throws Exception { - Map data = new HashMap(); - SystemTests obj = new SystemTests(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(3000); - obj.systemScreen(5062); - Thread.sleep(1000); - obj.clientBListScreen(5062); - Thread.sleep(2500); - obj.addInvalidClient("abc", 5062); - Thread.sleep(1500); - obj.findMacAddress(false, "abc", 5062); - Thread.sleep(2000); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/5062", data); - } - - //C5638 - @Test - public void uniqueFieldsTest() throws Exception { - Map data = new HashMap(); - SystemTests obj = new SystemTests(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(3000); - obj.systemScreen(5638); - Thread.sleep(4500); - obj.firmwareScreen(5638); - Thread.sleep(1000); - obj.uniqueVersion(5638); - Thread.sleep(2000); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/5638", data); - } - - //C5637 - @Test - public void versionsAvailableTest() throws Exception { - int testId = 5637; - Map data = new HashMap(); - SystemTests obj = new SystemTests(); - obj.launchBrowser(); - obj.logIn(); - Thread.sleep(3000); - obj.systemScreen(testId); - Thread.sleep(2500); - obj.firmwareScreen(testId); - Thread.sleep(1000); - List ids = obj.listOfVersions(2, testId); - int dropdownOptions = obj.addModelAndClickDropdown(testId); - List modTarg = obj.listOfVersions(1, testId); - int expected = ids.size() - modTarg.size(); - if (dropdownOptions!= expected) { - fail(); - } - - Thread.sleep(2000); - obj.closeBrowser(); - data.put("status_id", new Integer(1)); - data.put("comment", "This test worked fine!"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/"+testId, data); - } - -} diff --git a/CICD_AP_CLOUDSDK/automationTests/UsersTest.java b/CICD_AP_CLOUDSDK/automationTests/UsersTest.java deleted file mode 100644 index 715e8610e..000000000 --- a/CICD_AP_CLOUDSDK/automationTests/UsersTest.java +++ /dev/null @@ -1,470 +0,0 @@ -package automationTests; - -import static org.junit.jupiter.api.Assertions.*; - -import java.io.IOException; -import java.net.MalformedURLException; -import java.util.Calendar; -import java.util.HashMap; -import java.util.List; - -import org.junit.AfterClass; -import org.junit.Test; -import org.junit.jupiter.api.AfterAll; -import org.junit.jupiter.api.BeforeAll; -import org.junit.Assert; -import org.junit.BeforeClass; -import org.openqa.selenium.By; -import org.openqa.selenium.Keys; -import org.openqa.selenium.WebDriver; -import org.openqa.selenium.WebElement; -import org.openqa.selenium.chrome.ChromeDriver; -import org.openqa.selenium.chrome.ChromeOptions; -import org.openqa.selenium.interactions.Actions; -import org.json.simple.JSONArray; -import org.json.simple.JSONObject; -import org.json.simple.JSONValue; - -import java.util.Map; - -public class UsersTest{ - WebDriver driver; - static APIClient client; - static long runId; - -// static String Url = System.getenv("CLOUD_SDK_URL"); -// static String trUser = System.getenv("TR_USER"); -// static String trPwd = System.getenv("TR_PWD"); -// static String cloudsdkUser = "support@example.com"; -// static String cloudsdkPwd="support"; - @BeforeClass - public static void startTest() throws Exception - { - client = new APIClient("https://telecominfraproject.testrail.com"); - client.setUser("syama.devi@connectus.ai"); - client.setPassword("Connect123$"); - JSONArray c = (JSONArray) client.sendGet("get_runs/5"); - runId = new Long(0); - - Calendar cal = Calendar.getInstance(); - //Months are indexed 0-11 so add 1 for current month - int month = cal.get(Calendar.MONTH) + 1; - String day = Integer.toString(cal.get(Calendar.DATE)); - if (day.length()<2) { - day = "0"+day; - } - String date = "UI Automation Run - " + day + "/" + month + "/" + cal.get(Calendar.YEAR); - - for (int a = 0; a < c.size(); a++) { - if (((JSONObject) c.get(a)).get("name").equals(date)) { - runId = (Long) ((JSONObject) c.get(a)).get("id"); - } - } - } - - public void launchBrowser() { - System.setProperty("webdriver.chrome.driver", "/home/netex/nightly_sanity/ui-scripts/chromedriver"); -// System.setProperty("webdriver.chrome.driver", "/Users/mohammadrahman/Downloads/chromedriver"); - ChromeOptions options = new ChromeOptions(); - options.addArguments("--no-sandbox"); - options.addArguments("--headless"); - options.addArguments("--window-size=1920,1080"); - driver = new ChromeDriver(options); - driver.get("https://wlan-ui.qa.lab.wlan.tip.build"); - } - - void closeBrowser() { - driver.close(); - } - - public void logIn() { - driver.findElement(By.id("login_email")).sendKeys("support@example.com"); - driver.findElement(By.id("login_password")).sendKeys("support"); - driver.findElement(By.xpath("//*[@id=\"login\"]/button/span")).click(); - } - - public void failure(int testId) throws MalformedURLException, IOException, APIException { - driver.close(); - Map data = new HashMap(); - data.put("status_id", new Integer(5)); - data.put("comment", "Fail"); - JSONObject r = (JSONObject) client.sendPost("add_result_for_case/"+runId+"/"+testId, data); - } - - public void accountsScreen(int testId) throws Exception { - try { - driver.findElement(By.linkText("Users")).click(); - } catch (Exception E) { - failure(testId); - fail("Fail"); - } - - } - - public void addAccountButton(int testId) throws MalformedURLException, IOException, APIException { - try { - Actions act = new Actions(driver); - act.moveToElement(driver.findElement(By.cssSelector("[title^='addaccount']"))).click().perform(); - } catch (Exception E) { - failure(testId); - fail("Fail"); - } - - } - - public void verifyAddAccountPopup(int testId) throws MalformedURLException, IOException, APIException { - Map data = new HashMap(); - try { - if (driver.findElement(By.id("rcDialogTitle0")).getText().equals("Add User")) { - //pass - } else { - - failure(testId); - fail(); - } - } catch (Exception E) { - failure(testId); - fail("Fail"); - } - } - - public void addAccount(String account, String password, String confirmPassword, int testId) throws MalformedURLException, IOException, APIException { - try { - addAccountButton(testId); - Actions browser = new Actions(driver); - browser.sendKeys(Keys.TAB).perform(); - browser.sendKeys(Keys.TAB).perform(); - browser.sendKeys(account).perform(); - browser.sendKeys(Keys.TAB).perform(); - browser.sendKeys(Keys.TAB).perform(); - browser.sendKeys(password).perform(); - browser.sendKeys(Keys.TAB).perform(); - browser.sendKeys(confirmPassword).perform(); - browser.sendKeys(Keys.TAB).perform(); - browser.sendKeys(Keys.TAB).perform(); - browser.sendKeys(Keys.ENTER).perform(); - } catch (Exception E) { - failure(testId); - fail("Fail"); - } - - } - - public void blankEmailWarning(int testId) throws Exception { - try { - if (driver.findElement(By.cssSelector("[role^='alert']")).getText().equals("Please input your e-mail")) { - //pass - } else { - - failure(testId); - fail("Incorrect warning displayed"); - } - } catch (Exception E) { - failure(testId); - fail("No warning displayed"); - } - } - - public void invalidPasswordsWarning(int testId) throws Exception { - try { - if (driver.findElement(By.cssSelector("[role^='alert']")).getText().equals("The two passwords do not match")) { - //pass - } else { - - failure(testId); - fail("Incorrect warning displayed"); - } - } catch (Exception E) { - failure(testId); - fail("No warning displayed"); - } - } - - public void invalidEmailWarning(int testId) throws Exception { - try { - if (driver.findElement(By.cssSelector("[role^='alert']")).getText().equals("The input is not a valid e-mail")) { - //pass - } else { - - failure(testId); - fail("Incorrect error displayed"); - } - } catch (Exception E) { - failure(testId); - fail("No error displayed"); - } - } - - public void editAccount(String oldName, String newName, int testId) throws Exception { - try { - WebElement tbl = driver.findElement(By.xpath("//table")); - List rows = tbl.findElements(By.tagName("tr")); - boolean found = false; - //row iteration - breakP: - for(int i=0; i cols = rows.get(i).findElements(By.tagName("td")); - - //column iteration - for(int j=0; j rows = tbl.findElements(By.tagName("tr")); - boolean found = false; - //row iteration - breakP: - for(int i=0; i cols = rows.get(i).findElements(By.tagName("td")); - - //column iteration - for(int j=0; j rows = tbl.findElements(By.tagName("tr")); - boolean found = false; - //row iteration - for(int i=0; i cols = rows.get(i).findElements(By.tagName("td")); - - //column iteration - for(int j=0; j 0) { - System.out.println("Tests failed."); - System.exit(1); - } else { - System.out.println("Tests finished successfully."); - System.exit(0); - } - - } -} diff --git a/cicd/README.txt b/cicd/README.txt deleted file mode 100644 index 184cb3f73..000000000 --- a/cicd/README.txt +++ /dev/null @@ -1,109 +0,0 @@ -Potential polling method for CICD integration. - -* Polling should decrease network security head-aches such as setting - up VPN access for all test beds. - -*** - -Implementation: - -* Web server accessible to all CICD test beds runs a 'test orchestrator' logic, henceforth TO - * This TO will periodically query jfrog for latest openwrt builds (see jfrog.pl) - * If new build is found, a work-item file containing pertinent info, including the HW platform - will be created, example: - -CICD_TYPE=fast -CICD_RPT_NAME=ea8300 -CICD_RPT_DIR=greearb@192.168.100.195:/var/www/html/tip/testbeds//ferndale-basic-01/reports -CICD_HW=ea8300 -CICD_FILEDATE= -CICD_GITHASH= -CICD_URL=https://tip.jfrog.io/artifactory/tip-wlan-ap-firmware/ -CICD_FILE_NAME=ea8300 -CICD_URL_DATE=24-Apr-2020 16:32 - - * TO has manually configured list of test-beds, with some info about each test - bed, including the DUT HW platform and testing capabilities. - * It picks a test bed that matches the new build HW. - * That test bed will have a URL directory for it and it alone. - * The TO writes a new test configuration file into this directory. - The test configuration file will have the info above, and also have other - info including the tests to run and where to upload results when complete. - * TO looks for any completed results, and removes the work-item if result is found. - * TO will re-calculate historical charts and publish those if new results are found for a testbed. - It could generate email and/or poke the results into testrails or similar at this point. - * TO should run periodically every 1 minute or so to check on progress. - - -* Test bed polling: - * The test-bed (hence forth TB) will poll its directory on the TO web server to look for new jobs. - * When new job is found, the TB will download the test config file, and use scp to upload a file - to the TO to indicate it is working on the test. - * When test is complete, TB will upload results to TO server. TO now knows test bed is available - for more jobs. - * TB should pause for 2 minutes after uploading results to make sure TO notices the new results and - removes the old work item so that TB does not re-test the same work item. - - -* If we can implement something like CTF, it may take place of the Test Orchestrator. - - - - - -************* Installation / Usage *************** - -The jfrog.pl runs on the web server. This is the Test Orchestrator. -Create a directory structure looking similar to this: - -[greearb@ben-dt4 html]$ find tip -name "*" -print -tip -tip/testbeds -tip/testbeds/ferndale-basic-01 -tip/testbeds/ferndale-basic-01/pending_work -tip/testbeds/ferndale-basic-01/reports - -Copy the TESTBED_INFO from wlan-testing git to the tip/testbeds directory: - -[greearb@ben-dt4 testbeds]$ pwd -/var/www/html/tip/testbeds -cp -ar /home/greearb/git/tip/wlan-testing/cicd/ferndale-basic-01/ ./ - - -Run the jfrog.pl script from the tip/testbeds directory: - -/home/greearb/git/tip/wlan-testing/cicd/jfrog.pl --passwd secret --tb_url_base greearb@192.168.100.195:/var/www/html/tip/testbeds/ - -A work-item file will be created as needed, in my case, it is here: - -[greearb@ben-dt4 testbeds]$ cat ferndale-basic-01/pending_work/fast/CICD_TEST-ea8300 -CICD_TEST=fast -CICD_RPT_DIR=greearb@192.168.100.195:/var/www/html/tip/testbeds//ferndale-basic-01/reports/fast -CICD_RPT_NAME=ea8300 -CICD_HW=ea8300 -CICD_FILEDATE= -CICD_GITHASH= -CICD_URL=https://tip.jfrog.io/artifactory/tip-wlan-ap-firmware/ -CICD_FILE_NAME=ea8300 -CICD_URL_DATE=24-Apr-2020 16:32 - - - -************ Installation / Usage on Test Controller ************** - -# This runs on the test controller or Jump-Box. - -# Set up OS -sudo needs to work w/out password. - -sudo chmod a+rwx /dev/ttyUSB* -sudo pip3 install pexpect-serial - -Run testbed_poll.pl from the cicd testbed directory: - -The 192.168.100.195 system is the jfrog / Orchestrator machine. The jfrog -password is so that it can download the OpenWrt binary file from jfrog. - -cd ~/tip/wlan-testing/cicd/ferndale-basic-01 - -../testbed_poll.pl --jfrog_passwd secret --url http://192.168.100.195/tip/testbeds/testbed-ferndale-01/pending_work/ diff --git a/cicd/ben-home-ecw5410/TESTBED_INFO.txt b/cicd/ben-home-ecw5410/TESTBED_INFO.txt deleted file mode 100644 index f1cf1e6c3..000000000 --- a/cicd/ben-home-ecw5410/TESTBED_INFO.txt +++ /dev/null @@ -1,4 +0,0 @@ -TESTBED_HW=ecw5410 - -# Controller's view of the test bed, from wlan-testing/cicd/[testbed] directory -TESTBED_DIR=../../testbeds/ben-home-ecw5410 diff --git a/cicd/ben-home-ecw5410/loop.bash b/cicd/ben-home-ecw5410/loop.bash deleted file mode 100755 index 5b3cc75d5..000000000 --- a/cicd/ben-home-ecw5410/loop.bash +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash - -while true -do - ../testbed_poll.pl --jfrog_passwd tip-read --jfrog_user tip-read --url http://192.168.100.195/tip/testbeds/ben-home-ecw5410/pending_work/ || exit 1 - sleep 120 -done - diff --git a/cicd/ben-home/TESTBED_INFO.txt b/cicd/ben-home/TESTBED_INFO.txt deleted file mode 100644 index 327145c98..000000000 --- a/cicd/ben-home/TESTBED_INFO.txt +++ /dev/null @@ -1,4 +0,0 @@ -TESTBED_HW=mr8300 - -# Controller's view of the test bed, from wlan-testing/cicd/[testbed] directory -TESTBED_DIR=../../testbeds/ben-home diff --git a/cicd/ferndale-basic-01/TESTBED_INFO.txt b/cicd/ferndale-basic-01/TESTBED_INFO.txt deleted file mode 100644 index b3a846ca9..000000000 --- a/cicd/ferndale-basic-01/TESTBED_INFO.txt +++ /dev/null @@ -1,8 +0,0 @@ -TESTBED_HW=ea8300 -TESTBED_NAME=Ferndale-01 - -# Controller's view of the test bed, from wlan-testing/cicd/[testbed] directory -TESTBED_DIR=../../testbeds/ferndale-basic-01 - -TESTBED_CASEID_FAST=C1308 -TESTBED_CASEID_BASIC=C1309 diff --git a/cicd/ferndale-basic-01/loop.bash b/cicd/ferndale-basic-01/loop.bash deleted file mode 100755 index 7891f8126..000000000 --- a/cicd/ferndale-basic-01/loop.bash +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash - -while true -do - ../testbed_poll.pl --jfrog_passwd tip-read --jfrog_user tip-read --url http://orch/tip/testbeds/ferndale-basic-01/pending_work/ - sleep 120 -done diff --git a/cicd/ferndale-basic-01/loop1.bash b/cicd/ferndale-basic-01/loop1.bash deleted file mode 100755 index 168ae0654..000000000 --- a/cicd/ferndale-basic-01/loop1.bash +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash - -while true -do - ../testbed_poll.pl --jfrog_passwd tip-read --jfrog_user tip-read --url http://orch/tip/testbeds/ferndale-basic-01/pending_work/ - exit 0 -done diff --git a/cicd/jfrog.pl b/cicd/jfrog.pl deleted file mode 100755 index 207b38964..000000000 --- a/cicd/jfrog.pl +++ /dev/null @@ -1,493 +0,0 @@ -#!/usr/bin/perl - -# Query jfrog URL and get list of builds. -# This will be run on the test-bed orchestrator -# Run this in directory that contains the testbed_$hw/ directories -# Assumes cicd.class is found in ~/git/tip/wlan-lanforge-scripts/gui/ - -use strict; -use warnings; -use Getopt::Long; - -my $user = "cicd_user"; -my $passwd = ""; -my $url = "https://tip.jfrog.io/artifactory/tip-wlan-ap-firmware"; -my @platforms = ("ea8300", "ecw5410", "ec420", "eap102", "wf188n"); # Add more here as we have test beds that support them. -my $files_processed = "jfrog_files_processed.txt"; -my $tb_url_base = "cicd_user\@tip.cicd.cloud.com/testbeds"; # Used by SSH: scp -R results_dir cicd_user@tip.cicd.cloud.com/testbeds/ -my $help = 0; -my $cicd_prefix = "CICD_TEST"; -my $kpi_dir = "/home/greearb/git/tip/wlan-lanforge-scripts/gui/"; -my @ttypes = ("fast", "basic"); -my $duplicate_work = 1; -my $slack = ""; # file that holds slack URL in case we want the kpi tool to post slack announcements. - -#my $ul_host = "www"; -my $ul_host = ""; -my $ul_dir = "candela_html/examples/cicd/"; # used by scp -my $ul_dest = "$ul_host:$ul_dir"; # used by scp -my $other_ul_dest = ""; # used by scp -my $result_url_base = "http://localhost/tip/cicd"; - -my $usage = qq($0 - [--user { jfrog user (default: cicd_user) } - [--passwd { jfrog password } - [--slack { file holding slack webhook URL } - [--result_url_base { http://foo.com/tip/cicd } - [--url { jfrog URL, default is OpenWrt URL: https://tip.jfrog.io/artifactory/tip-wlan-ap-firmware/ } - [--files_processed { text file containing file names we have already processed } - [--tb_url_base { Where to report the test results? } - [--kpi_dir { Where the kpi java binary is found } - [--ul_host { Host that results should be copied too } - [--duplicate_work { Should we send work items to all available test beds? Default is 1 (true). Set to 0 to only send to one. } - -Example: - -# Use TIP jfrog repo -$0 --user cicd_user --passwd secret --url https://tip.jfrog.io/artifactory/tip-wlan-ap-firmware/ \\ - --files_processed jfrog_files_processed.txt \\ - --tb_url_base cicd_user\@tip.cicd.cloud.com/testbeds - -# Download images from candelatech.com web site (for developer testing and such) -$0 --tb_url_base greearb@192.168.100.195:/var/www/html/tip/testbeds/ \\ - --url http://www.candelatech.com/downloads/tip/test_images - -# This is what is used in TIP testbed orchestrator -$0 --passwd tip-read --user tip-read --tb_url_base lanforge\@orch:/var/www/html/tip/testbeds/ \\ - --kpi_dir /home/lanforge/git/tip/wlan-lanforge-scripts/gui \\ - --slack /home/lanforge/slack.txt \\ - --result_url_base http://3.130.51.163/tip/testbeds - -); - -GetOptions -( - 'user=s' => \$user, - 'passwd=s' => \$passwd, - 'slack=s' => \$slack, - 'url=s' => \$url, - 'files_processed=s' => \$files_processed, - 'tb_url_base=s' => \$tb_url_base, - 'result_url_base=s' => \$result_url_base, - 'kpi_dir=s' => \$kpi_dir, - 'ul_host=s' => \$ul_host, - 'duplicate_work=i' => \$duplicate_work, - 'help|?' => \$help, -) || (print($usage) && exit(1)); - -if ($help) { - print($usage) && exit(0); -} - -#if ($passwd eq "") { -# print("ERROR: You must specify jfrog password.\n"); -# exit(1); -#} - -my $slack_fname = ""; -if ($slack ne "") { - $slack_fname = "--slack_fname $slack"; -} - -my $i; - -my $pwd = `pwd`; -chomp($pwd); - -my $listing; -my @lines; -my $j; -my $do_nightly = 0; - -my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(); -my $last_hr = `cat last_jfrog_hour.txt`; -my $lh = 24; -if ($last_hr ne "") { - $lh = int($last_hr); - if ($lh > $hour) { - # tis the wee hours again, run a nightly. - $do_nightly = 1; - } -} -else { - $do_nightly = 1; -} -`echo $hour > last_jfrog_hour.txt`; - -# Check for any completed reports. -for ($j = 0; $j<@ttypes; $j++) { - my $ttype = $ttypes[$j]; - $listing = `ls */reports/$ttype/NEW_RESULTS-*`; - @lines = split(/\n/, $listing); - for ($i = 0; $i<@lines; $i++) { - my $ln = $lines[$i]; - chomp($ln); - if ($ln =~ /(.*)\/NEW_RESULTS/) { - my $process = $1; # For example: ben-home/reports/fast - my $completed = `cat $ln`; # Contents of the results file - chomp($completed); - if ($ln =~ /(.*)\/reports\/$ttype\/NEW_RESULTS/) { - my $tbed = $1; - my $cmd; - my $caseid = ""; - my $tb_pretty_name = $tbed; - my $tb_hw_type = ""; - - my $tb_info = `cat $tbed/TESTBED_INFO.txt`; - if ($tb_info =~ /TESTBED_HW=(.*)/g) { - $tb_hw_type = $1; - } - if ($tb_info =~ /TESTBED_NAME=(.*)/g) { - $tb_pretty_name = $1; - } - - print "Processing new results, line: $ln process: $process completed: $completed testbed: $tbed\n"; - - # Figure out the new directory from the work-item. - my $wi = `cat ./$tbed/pending_work/$completed`; - - `mv ./$tbed/pending_work/$completed /tmp/`; - - if ($wi =~ /CICD_CASE_ID=(\S+)/) { - $caseid = "--caseid $1"; - } - - if ($wi =~ /CICD_RPT_NAME=(.*)/) { - my $widir = $1; - - if ($ul_host ne "") { - # Ensure we have a place to copy the new report - $cmd = "ssh $ul_host \"mkdir -p $ul_dir/$tbed/$ttype\""; - print "Ensure directory exists: $cmd\n"; - `$cmd`; - - # Upload the report directory - $cmd = "scp -C -r $process/$widir $ul_dest/$tbed/$ttype/"; - print "Uploading: $cmd\n"; - `$cmd`; - } - } - else { - print "WARNING: No CICD_RPT_NAME line found in work-item contents:\n$wi\n"; - } - - $caseid .= " --results_url $result_url_base/$tbed/reports/$ttype"; - - $cmd = "cd $kpi_dir && java kpi $slack_fname --testbed_name \"$tb_pretty_name $tb_hw_type $ttype\" $caseid --dir \"$pwd/$process\" && cd -"; - print ("Running kpi: $cmd\n"); - `$cmd`; - `rm $ln`; - if ($ul_host ne "") { - $cmd = "scp -C $process/*.png $process/*.html $process/*.csv $process/*.ico $process/*.css $ul_dest/$tbed/$ttype/"; - print "Uploading: $cmd"; - `$cmd`; - } - - # This might need similar partial-upload logic as that above, if it is ever actually - # enabled. - if ($other_ul_dest ne "") { - $cmd = "scp -C -r $process $other_ul_dest/$tbed/"; - print "Uploading to secondary location: $cmd"; - `$cmd`; - } - } - } - } -} - -#Read in already_processed builds -my @processed = (); -$listing = `cat $files_processed`; -@lines = split(/\n/, $listing); -for ($i = 0; $i<@lines; $i++) { - my $ln = $lines[$i]; - chomp($ln); - print("Reported already processed: $ln\n"); - push(@processed, $ln); -} - -my $z; -if ($do_nightly) { - # Remove last 'pending' instance of each HW type so that we re-run the test for it. - for ($z = 0; $z < @platforms; $z++) { - my $q; - my $hw = $platforms[$z]; - for ($q = @processed - 1; $q >= 0; $q--) { - if ($processed[$q] =~ /$hw/) { - print("Nightly, re-doing: $processed[$q]\n"); - $processed[$q] = ""; - last; - } - } - } -} - -for ($z = 0; $z<@platforms; $z++) { - my $pf = $platforms[$z]; - # Interesting builds are now found in hardware sub-dirs - my @subdirs = ("trunk", "dev"); - for (my $sidx = 0; $sidx<@subdirs; $sidx++) { - my $sdir = $subdirs[$sidx]; - my $cmd = "curl -u $user:$passwd $url/$pf/$sdir/"; - print ("Calling command: $cmd\n"); - $listing = `$cmd`; - @lines = split(/\n/, $listing); - for ($i = 0; $i<@lines; $i++) { - my $ln = $lines[$i]; - chomp($ln); - - #print("ln -:$ln:-\n"); - - if (($ln =~ /href=\"(.*)\">(.*)<\/a>\s+(.*)\s+\S+\s+\S+/) - || ($ln =~ /class=\"indexcolname\">(.*)<\/a>.*class=\"indexcollastmod\">(\S+)\s+.*/)) { - my $fname = $1; - my $name = $2; - my $date = $3; - - # Skip header - if ($ln =~ /Last modified/) { - next; - } - - # Skip parent-dir - if ($ln =~ /Parent Directory/) { - next; - } - - # Skip artifacts directory - if ($ln =~ /artifacts/) { - next; - } - - # Skip staging builds - if ($ln =~ /staging/) { - next; - } - - # Skip dev directory - #if ($ln =~ /href=\"dev\/\">dev\/<\/a>/) { - # next; - #} - - #print("line matched -:$ln:-\n"); - #print("fname: $fname name: $name date: $date\n"); - - if ( grep( /^$fname\s+/, @processed ) ) { - # Skip this one, already processed. - next; - } - - my $hw = ""; - my $fdate = ""; - my $githash = ""; - - if ($fname =~ /^(\S+)-(\d\d\d\d-\d\d-\d\d)-(\S+).tar.gz/) { - $hw = $1; - $fdate = $2; - $githash = $3; - } else { - print "ERROR: Un-handled filename syntax: $fname, assuming file-name is hardware name.\n"; - $hw = $fname; - } - - # Find the least used testbed for this hardware. - my $dirs = `ls`; - my @dira = split(/\n/, $dirs); - my $best_tb = ""; - my $best_backlog = 0; - my $di; - for ($di = 0; $di<@dira; $di++) { - my $dname = $dira[$di]; - chomp($dname); - if (! -d $dname) { - next; - } - if (! -f "$dname/TESTBED_INFO.txt") { - next; - } - my $tb_info = `cat $dname/TESTBED_INFO.txt`; - my $tb_hw_type = ""; - if ($tb_info =~ /TESTBED_HW=(.*)/g) { - $tb_hw_type = $1; - } - if (!hw_matches($tb_hw_type, $hw)) { - print "Skipping test bed $dname, jfrog hardware type: -:$hw:- testbed hardware type: -:$tb_hw_type:-\n"; - next; - } - print "Checking testbed $dname backlog..\n"; - my $bklog = `ls $dname/pending_work/$cicd_prefix-*`; - my $bklog_count = split(/\n/, $bklog); - if ($best_tb eq "") { - $best_tb = $dname; - $best_backlog = $bklog_count; - } else { - if ($best_backlog > $bklog_count) { - $best_tb = $dname; - $best_backlog = $bklog_count; - } - } - } - - if ($best_tb eq "") { - print "ERROR: No test bed found for hardware type: $hw\n"; - last; - } - - my $fname_nogz = $fname; - if ($fname =~ /(.*)\.tar\.gz/) { - $fname_nogz = $1; - } - - my @tbs = ($best_tb); - - # For more test coverage, send work to rest of the available test beds as well. - if ($duplicate_work) { - for ($di = 0; $di<@dira; $di++) { - my $dname = $dira[$di]; - chomp($dname); - if (! -d $dname) { - next; - } - if ($dname eq $best_tb) { - next; # processed this one above - } - if (! -f "$dname/TESTBED_INFO.txt") { - next; - } - - my $tb_info = `cat $dname/TESTBED_INFO.txt`; - my $tb_hw_type = ""; - if ($tb_info =~ /TESTBED_HW=(.*)/g) { - $tb_hw_type = $1; - } - - if (!hw_matches($tb_hw_type, $hw)) { - print "Skipping test bed $dname, jfrog hardware type: -:$hw:- testbed hardware type: -:$tb_hw_type:-\n"; - next; - } - - push(@tbs, "$dname"); - } - } - - my $q; - for ($q = 0; $q < @tbs; $q++) { - $best_tb = $tbs[$q]; - my $caseid_fast = ""; - my $caseid_basic = ""; - - my $tb_info = `cat $best_tb/TESTBED_INFO.txt`; - if ($tb_info =~ /TESTBED_CASEID_FAST=(.*)/g) { - $caseid_fast = $1; - } - if ($tb_info =~ /TESTBED_CASEID_BASIC=(.*)/g) { - $caseid_basic = $1; - } - - my $ttype = "fast"; - # Ensure duplicate runs show up individually. - my $extra_run = 0; - if (-e "$best_tb/reports/$ttype/${fname_nogz}") { - $extra_run = 1; - while (-e "$best_tb/reports/$ttype/${fname_nogz}-$extra_run") { - $extra_run++; - } - } - - my $erun = ""; - if ($extra_run > 0) { - $erun = "-$extra_run"; - } - - my $work_fname = "$best_tb/pending_work/$cicd_prefix-$fname_nogz-$ttype"; - my $work_fname_a = $work_fname; - - system("mkdir -p $best_tb/pending_work"); - system("mkdir -p $best_tb/reports/$ttype"); - - open(FILE, ">", "$work_fname"); - - print FILE "CICD_TYPE=$ttype\n"; - print FILE "CICD_RPT_NAME=$fname_nogz$erun\n"; - print FILE "CICD_RPT_DIR=$tb_url_base/$best_tb/reports/$ttype\n"; - - print FILE "CICD_HW=$hw\nCICD_FILEDATE=$fdate\nCICD_GITHASH=$githash\n"; - print FILE "CICD_URL=$url/$pf/$sdir\nCICD_FILE_NAME=$fname\nCICD_URL_DATE=$date\n"; - if ($caseid_fast ne "") { - print FILE "CICD_CASE_ID=$caseid_fast\n"; - } - - close(FILE); - - print("Next: File Name: $fname Display Name: $name Date: $date TType: $ttype\n"); - print("Work item placed at: $work_fname\n"); - - - $ttype = "basic"; - # Ensure duplicate runs show up individually. - $extra_run = 0; - if (-e "$best_tb/reports/$ttype/${fname_nogz}") { - $extra_run = 1; - while (-e "$best_tb/reports/$ttype/${fname_nogz}-$extra_run") { - $extra_run++; - } - } - - $erun = ""; - if ($extra_run > 0) { - $erun = "-$extra_run"; - } - - $work_fname = "$best_tb/pending_work/$cicd_prefix-$fname_nogz-$ttype"; - - system("mkdir -p $best_tb/reports/$ttype"); - - open(FILE, ">", "$work_fname"); - - print FILE "CICD_TYPE=$ttype\n"; - print FILE "CICD_RPT_NAME=$fname_nogz$erun\n"; - print FILE "CICD_RPT_DIR=$tb_url_base/$best_tb/reports/$ttype\n"; - - print FILE "CICD_HW=$hw\nCICD_FILEDATE=$fdate\nCICD_GITHASH=$githash\n"; - print FILE "CICD_URL=$url/$pf/$sdir\nCICD_FILE_NAME=$fname\nCICD_URL_DATE=$date\n"; - if ($caseid_basic ne "") { - print FILE "CICD_CASE_ID=$caseid_basic\n"; - } - - close(FILE); - - print("Next: File Name: $fname Display Name: $name Date: $date TType: $ttype\n"); - print("Work item placed at: $work_fname\n"); - #print("To download: curl --location -o /tmp/$fname -u $user:$passwd $url/$pf/$fname\n"); - } # for all testbeds - - # Note this one is processed - `echo -n "$fname " >> $files_processed`; - `date >> $files_processed`; - } - - #print "$ln\n"; - }# for all lines in a directory listing - }# For all sub directories -}# for all URLs to process - -exit 0; - - -sub hw_matches { - my $a = shift; - my $b = shift; - - # Normalize equivalent HW types. - if ($a eq "mr8300") { - $a = "ea8300"; - } - if ($b eq "mr8300") { - $b = "ea8300"; - } - - if ($a eq $b) { - return 1; - } - return 0; -} diff --git a/cicd/nola-basic-01/TESTBED_INFO.txt b/cicd/nola-basic-01/TESTBED_INFO.txt deleted file mode 100644 index 549d48660..000000000 --- a/cicd/nola-basic-01/TESTBED_INFO.txt +++ /dev/null @@ -1,8 +0,0 @@ -TESTBED_HW=ecw5410 -TESTBED_NAME=NOLA-01 - -# Controller's view of the test bed, from wlan-testing/cicd/[testbed] directory -TESTBED_DIR=../../testbeds/nola-basic-01 - -#TESTBED_CASEID_FAST=C1308 -#TESTBED_CASEID_BASIC=C1309 diff --git a/cicd/nola-basic-01/loop.bash b/cicd/nola-basic-01/loop.bash deleted file mode 100755 index abb0e2079..000000000 --- a/cicd/nola-basic-01/loop.bash +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash - -while true -do - ../testbed_poll.pl --jfrog_passwd tip-read --jfrog_user tip-read --url http://orch/tip/testbeds/nola-basic-01/pending_work/ - sleep 120 -done - diff --git a/cicd/nola-basic-02/TESTBED_INFO.txt b/cicd/nola-basic-02/TESTBED_INFO.txt deleted file mode 100644 index d2c9f6fa8..000000000 --- a/cicd/nola-basic-02/TESTBED_INFO.txt +++ /dev/null @@ -1,8 +0,0 @@ -TESTBED_HW=ecw5410 -TESTBED_NAME=NOLA-02 - -# Controller's view of the test bed, from wlan-testing/cicd/[testbed] directory -TESTBED_DIR=../../testbeds/nola-basic-02 - -#TESTBED_CASEID_FAST=C1308 -#TESTBED_CASEID_BASIC=C1309 diff --git a/cicd/nola-basic-02/loop.bash b/cicd/nola-basic-02/loop.bash deleted file mode 100755 index 13f3dea28..000000000 --- a/cicd/nola-basic-02/loop.bash +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash - -while true -do - ../testbed_poll.pl --jfrog_passwd tip-read --jfrog_user tip-read --url http://orch/tip/testbeds/nola-basic-02/pending_work/ - sleep 120 -done - diff --git a/cicd/nola-basic-03/TESTBED_INFO.txt b/cicd/nola-basic-03/TESTBED_INFO.txt deleted file mode 100644 index 92ac16791..000000000 --- a/cicd/nola-basic-03/TESTBED_INFO.txt +++ /dev/null @@ -1,8 +0,0 @@ -TESTBED_HW=ec420 -TESTBED_NAME=NOLA-03 - -# Controller's view of the test bed, from wlan-testing/cicd/[testbed] directory -TESTBED_DIR=../../testbeds/nola-basic-03 - -#TESTBED_CASEID_FAST=C1308 -#TESTBED_CASEID_BASIC=C1309 diff --git a/cicd/nola-basic-03/loop.bash b/cicd/nola-basic-03/loop.bash deleted file mode 100755 index c41e101bc..000000000 --- a/cicd/nola-basic-03/loop.bash +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash - -while true -do - ../testbed_poll.pl --jfrog_passwd tip-read --jfrog_user tip-read --url http://orch/tip/testbeds/nola-basic-03/pending_work/ - sleep 120 -done - diff --git a/cicd/nola-basic-04/TESTBED_INFO.txt b/cicd/nola-basic-04/TESTBED_INFO.txt deleted file mode 100644 index 623738a65..000000000 --- a/cicd/nola-basic-04/TESTBED_INFO.txt +++ /dev/null @@ -1,8 +0,0 @@ -TESTBED_HW=ecw5410 -TESTBED_NAME=NOLA-04 - -# Controller's view of the test bed, from wlan-testing/cicd/[testbed] directory -TESTBED_DIR=../../testbeds/nola-basic-04 - -#TESTBED_CASEID_FAST=C1308 -#TESTBED_CASEID_BASIC=C1309 diff --git a/cicd/nola-basic-04/loop.bash b/cicd/nola-basic-04/loop.bash deleted file mode 100755 index f5296983d..000000000 --- a/cicd/nola-basic-04/loop.bash +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash - -while true -do - ../testbed_poll.pl --jfrog_passwd tip-read --jfrog_user tip-read --url http://orch/tip/testbeds/nola-basic-04/pending_work/ - sleep 120 -done - diff --git a/cicd/nola-basic-12/TESTBED_INFO.txt b/cicd/nola-basic-12/TESTBED_INFO.txt deleted file mode 100644 index 6bb8a2bb7..000000000 --- a/cicd/nola-basic-12/TESTBED_INFO.txt +++ /dev/null @@ -1,8 +0,0 @@ -TESTBED_HW=wf188n -TESTBED_NAME=NOLA-12 - -# Controller's view of the test bed, from wlan-testing/cicd/[testbed] directory -TESTBED_DIR=../../testbeds/nola-basic-12 - -#TESTBED_CASEID_FAST=C1308 -#TESTBED_CASEID_BASIC=C1309 diff --git a/cicd/nola-basic-12/loop.bash b/cicd/nola-basic-12/loop.bash deleted file mode 100755 index 95ab66ba0..000000000 --- a/cicd/nola-basic-12/loop.bash +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash - -while true -do - ../testbed_poll.pl --jfrog_passwd tip-read --jfrog_user tip-read --url http://orch/tip/testbeds/nola-basic-12/pending_work/ --dut_passwd openwifi --dut_user root --log stdout - sleep 120 -done - diff --git a/cicd/nola-basic-13/TESTBED_INFO.txt b/cicd/nola-basic-13/TESTBED_INFO.txt deleted file mode 100644 index 820bc53a4..000000000 --- a/cicd/nola-basic-13/TESTBED_INFO.txt +++ /dev/null @@ -1,8 +0,0 @@ -TESTBED_HW=eap102 -TESTBED_NAME=NOLA-13 - -# Controller's view of the test bed, from wlan-testing/cicd/[testbed] directory -TESTBED_DIR=../../testbeds/nola-basic-13 - -#TESTBED_CASEID_FAST=C1308 -#TESTBED_CASEID_BASIC=C1309 diff --git a/cicd/nola-basic-13/loop.bash b/cicd/nola-basic-13/loop.bash deleted file mode 100755 index 50f30df0a..000000000 --- a/cicd/nola-basic-13/loop.bash +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash - -while true -do - ../testbed_poll.pl --jfrog_passwd tip-read --jfrog_user tip-read --url http://orch/tip/testbeds/nola-basic-13/pending_work/ --dut_passwd openwifi --dut_user root - sleep 120 -done - diff --git a/cicd/nola-basic-14/TESTBED_INFO.txt b/cicd/nola-basic-14/TESTBED_INFO.txt deleted file mode 100644 index 18610f0ed..000000000 --- a/cicd/nola-basic-14/TESTBED_INFO.txt +++ /dev/null @@ -1,8 +0,0 @@ -TESTBED_HW=eap102 -TESTBED_NAME=NOLA-14 - -# Controller's view of the test bed, from wlan-testing/cicd/[testbed] directory -TESTBED_DIR=../../testbeds/nola-basic-14 - -#TESTBED_CASEID_FAST=C1308 -#TESTBED_CASEID_BASIC=C1309 diff --git a/cicd/nola-basic-14/loop.bash b/cicd/nola-basic-14/loop.bash deleted file mode 100755 index 2d268a657..000000000 --- a/cicd/nola-basic-14/loop.bash +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash - -while true -do - ../testbed_poll.pl --jfrog_passwd tip-read --jfrog_user tip-read --url http://orch/tip/testbeds/nola-basic-14/pending_work/ --dut_passwd openwifi --dut_user root - sleep 120 -done - diff --git a/cicd/nola-basic-15/TESTBED_INFO.txt b/cicd/nola-basic-15/TESTBED_INFO.txt deleted file mode 100644 index 754466a69..000000000 --- a/cicd/nola-basic-15/TESTBED_INFO.txt +++ /dev/null @@ -1,8 +0,0 @@ -TESTBED_HW=ecw5410 -TESTBED_NAME=NOLA-15 - -# Controller's view of the test bed, from wlan-testing/cicd/[testbed] directory -TESTBED_DIR=../../testbeds/nola-basic-15 - -#TESTBED_CASEID_FAST=C1308 -#TESTBED_CASEID_BASIC=C1309 diff --git a/cicd/nola-basic-15/loop.bash b/cicd/nola-basic-15/loop.bash deleted file mode 100755 index b7313265d..000000000 --- a/cicd/nola-basic-15/loop.bash +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash - -while true -do - ../testbed_poll.pl --jfrog_passwd tip-read --jfrog_user tip-read --url http://orch/tip/testbeds/nola-basic-15/pending_work/ --dut_passwd openwifi --dut_user root - sleep 120 -done - diff --git a/cicd/testbed_poll.pl b/cicd/testbed_poll.pl deleted file mode 100755 index 387010f1d..000000000 --- a/cicd/testbed_poll.pl +++ /dev/null @@ -1,525 +0,0 @@ -#!/usr/bin/perl - -# Query test-bed orchestator URL to see if there are new tests for us to run. -# This is expected to be run on the test-bed controller (not orchestrator) -# One of these processes will run for each test bed controlled by the controller. - -use strict; -use warnings; -use Getopt::Long; - -my $user = ""; -my $passwd = ""; -my $jfrog_user = "cicd_user"; -my $jfrog_passwd = ""; -my $url = ""; -my $next_info = "__next_test.txt"; -my $help = 0; -my $owt_log = ""; -my $dut_passwd = ""; -my $dut_user = "root"; -my $sysupgrade_n = 0; -#my $prompt = "root\@OpenAp"; -my $prompt = "root\@Open"; # match OpenWrt and OpenAp-foo -my $log = ""; - -my $usage = qq($0 - [--jfrog_user { jfrog user (default: cicd_user) } - [--jfrog_passwd { jfrog password } - [--user { for accessing URL } - [--passwd { for accessing URL } - [--dut_user { for accessing DUT } - [--dut_passwd { for accessing DUT } - [--url { test-orchestrator URL for this test bed } - [--next_info { output text file containing info about the next test to process } - [--sysupgrade-n { 0 | 1 } 1 means use the -n option when doing sysupgrade. - [--log {location} For instance: --log stdout, for openwrt_ctl expect script. - -Example: -$0 --user to_user --passwd secret --jfrog_user tip-read --jfrog_passwd tip-read \\ - --url https://tip.cicd.mycloud.com/testbed-ferndale-01/ --dut_passwd owrt --dut_user root - -# Use specific scenario file. -SCENARIO_CFG_FILE=/home/lanforge/git/wlan-testing/testbeds/ferndale-basic-01/scenario_small.txt \\ - ../testbed_poll.pl --jfrog_passwd tip-read --jfrog_user tip-read \\ - --url http://192.168.100.195/tip/testbeds/ferndale-basic-01/pending_work/ - -); - -GetOptions -( - 'jfrog_user=s' => \$jfrog_user, - 'jfrog_passwd=s' => \$jfrog_passwd, - 'user=s' => \$user, - 'passwd=s' => \$passwd, - 'dut_passwd=s' => \$dut_passwd, - 'dut_user=s' => \$dut_user, - 'url=s' => \$url, - 'next_info=s' => \$next_info, - 'sysupgrade_n=i' => \$sysupgrade_n, - 'log=s' => \$log, - 'help|?' => \$help, -) || (print($usage) && exit(1)); - -if ($help) { - print($usage) && exit(0); -} - -if ($jfrog_passwd eq "") { - print("ERROR: You must specify jfrog password.\n"); - exit(1); -} - -if ($user ne "" && $passwd eq "") { - print("ERROR: You must specify a password if specifying a user.\n"); - exit(1); -} - -if ($log ne "") { - $owt_log = "--log $log"; -} -my $owt_args = " --prompt $prompt"; - -if ($dut_user ne "") { - $owt_args .= " --user $dut_user"; -} - -if ($dut_passwd ne "") { - $owt_args .= " --passwd $dut_passwd"; -} - -$owt_log .= $owt_args; - -my $i; - -my $cuser = "-u $user:$passwd"; -if ($user eq "") { - $cuser = ""; -} - -my $cmd = "curl $cuser $url"; - -print_note("Checking Test-Orchestrator for new work-items"); -my $listing = do_system($cmd); -my @lines = split(/\n/, $listing); - -# First, if any have 'fast' in them, they get precedence. -for ($i = 0; $i<@lines; $i++) { - my $ln = $lines[$i]; - chomp($ln); - my $fast = 0; - if ($ln =~ /href=\"(CICD_TEST-.*-fast)\">(.*)<\/a>\s+(.*)\s+\S+\s+\S+/) { - $fast = 1; - } - elsif ($ln =~ /href=\"(CICD_TEST-.*-fast)\">(.*)<\/a>/) { - $fast = 1; - } - if ($fast) { - @lines[0] = $ln; - last; - } -} - -for ($i = 0; $i<@lines; $i++) { - my $ln = $lines[$i]; - chomp($ln); - - my $fname = ""; - my $name = ""; - my $date = ""; - - if ($ln =~ /href=\"(CICD_TEST-.*)\">(.*)<\/a>\s+(.*)\s+\S+\s+\S+/) { - $fname = $1; - $name = $2; - $date = $3; - } - elsif ($ln =~ /href=\"(CICD_TEST-.*)\">(.*)<\/a>/) { - $fname = $1; - } - - if ($fname ne "") { - # Grab that test file - $cmd = "curl --location $cuser -o $next_info $url/$fname"; - do_system($cmd); - - # Read in that file - my $jurl = ""; - my $jfile = ""; - my $report_to = ""; - my $report_name = ""; - my $swver = ""; - my $fdate = ""; - my $ttype = ""; - my $listing = do_system("cat $next_info"); - my @lines = split(/\n/, $listing); - for ($i = 0; $i<@lines; $i++) { - my $ln = $lines[$i]; - chomp($ln); - if ($ln =~ /^CICD_URL=(.*)/) { - $jurl = $1; - } - elsif ($ln =~ /^CICD_TYPE=(.*)/) { - $ttype = $1; - } - elsif ($ln =~ /^CICD_FILE_NAME=(.*)/) { - $jfile = $1; - } - elsif ($ln =~ /^CICD_RPT_DIR=(.*)/) { - $report_to = $1; - } - elsif ($ln =~ /^CICD_RPT_NAME=(.*)/) { - $report_name = $1; - } - elsif ($ln =~ /^CICD_GITHASH=(.*)/) { - $swver = $1; - } - elsif ($ln =~ /^CICD_FILEDATE=(.*)/) { - $fdate = $1; - } - } - - if ($swver eq "") { - $swver = $fdate; - } - - if ($swver eq "") { - $swver = "$jfile"; - } - - if ($jurl eq "") { - print("ERROR: No CICD_URL found, cannot download file.\n"); - exit(1); - } - if ($jfile eq "") { - print("ERROR: No CICD_FILE_NAME found, cannot download file.\n"); - exit(1); - } - - # Refresh wlan-ap repo if it exists. - if ( -d "../../../wlan-ap") { - do_system("cd ../../../wlan-ap && git pull && cd -"); - } - - print_note("Download latest AP Build from jfrog repository."); - my $cmd = "curl --location -o $jfile -u $jfrog_user:$jfrog_passwd $jurl/$jfile"; - do_system($cmd); - - do_system("rm -f openwrt-*.bin"); - do_system("rm -f *sysupgrade.*"); # just in case openwrt prefix changes. - do_system("tar xf $jfile"); - - # Detect if we are using full pkg or new trimmed sysupgrade image - my $full_owrt_pkg = 0; - my @listing = glob("*sysupgrade*"); - if (@listing > 0) { - print("NOTE: Found full openwrt package.\n"); - $full_owrt_pkg = 1; - } - else { - print("NOTE: Found trimmed sysupgrade openwrt package.\n"); - } - - print_note("Copy AP build to LANforge so LANforge can serve the file to AP"); - # Next steps here are to put the OpenWrt file on the LANforge system - my $tb_info = do_system("cat TESTBED_INFO.txt"); - my $tb_dir = ""; - if ($tb_info =~ /TESTBED_DIR=(.*)/) { - $tb_dir = $1; - } - - my $env = do_system(". $tb_dir/test_bed_cfg.bash && env"); - my $lfmgr = ""; - my $serial = ""; - my $cloud_sdk = ""; - - if ($env =~ /LFMANAGER=(.*)/) { - $lfmgr = $1; - } - else { - print("ERRROR: Could not find LFMANAGER in environment, configuration error!\n"); - print("env: $env\n"); - exit(1); - } - - if ($env =~ /USE_CLOUD_SDK=(\S+)/) { - $cloud_sdk = $1; - print("NOTE: Using cloud controller: $cloud_sdk\n"); - } - else { - print("NOTE: NOT Using cloud controller\n"); - } - #print("env: $env"); - #exit(0); - - if ($env =~ /AP_SERIAL=(.*)/) { - $serial = $1; - } - else { - print("ERRROR: Could not find AP_SERIAL in environment, configuration error!\n"); - exit(1); - } - - my $gmport = "3990"; - my $gmanager = $lfmgr; - my $scenario = "tip-auto"; # matches basic_regression.bash - - if ($env =~ /GMANAGER=(.*)/) { - $gmanager = $1; - } - if ($env =~ /GMPORT=(.*)/) { - $gmport = $1; - } - - print_note("Restart LANforge GUI to be sure it is in known state."); - # Restart the GUI on the LANforge system - do_system("ssh lanforge\@$lfmgr pkill -f \"miglayout.*8080\""); - - # and then get it onto the DUT, reboot DUT, re-configure as needed, - print_note("Request AP DUT to install the test image."); - if ($full_owrt_pkg) { - do_system("scp *sysupgrade.* lanforge\@$lfmgr:tip-$jfile"); - } - else { - do_system("scp $jfile lanforge\@$lfmgr:tip-$jfile"); - } - - - # TODO: Kill anything using the serial port - do_system("sudo lsof -t $serial | sudo xargs --no-run-if-empty kill -9"); - - print_note("Find AP DUT default gateway."); - # and then kick off automated regression test. - # Default gateway on the AP should be one of the ports on the LANforge system, so we can use - # that to scp the file to the DUT, via serial-console connection this controller has to the DUT. - my $ap_route = do_system("../../lanforge/lanforge-scripts/openwrt_ctl.py $owt_log --scheme serial --tty $serial --action cmd --value \"ip route show\""); - my $ap_gw = ""; - if ($ap_route =~ /default via (\S+)/) { - $ap_gw = $1; - } - if ($ap_gw eq "") { - print("ERROR: Could not find default gateway for AP, route info:\n$ap_route\n"); - if ($ap_route =~ /pexpect.exceptions.TIMEOUT/) { - # In case AP went into boot-loader, deal with that. - if ($ap_route =~ /\(IPQ\)/) { - print("WARNING: Detected Bootloader, will attempt to reset and recover.\n"); - do_system("../../lanforge/lanforge-scripts/openwrt_ctl.py --prompt \"(IPQ)\" --scheme serial --tty $serial --action cmd --value \"reset\""); - sleep(20); - $ap_route = do_system("../../lanforge/lanforge-scripts/openwrt_ctl.py $owt_log --scheme serial --tty $serial --action cmd --value \"ip route show\""); - if ($ap_route =~ /default via (\S+)/) { - $ap_gw = $1; - } - if ($ap_gw eq "") { - if ($ap_route =~ /pexpect.exceptions.TIMEOUT/) { - print("FATAL-ERROR: DUT is in bad state, bail out (find default GW, after bootloader reset).\n"); - exit(55); - } - } - } - else { - print("FATAL-ERROR: DUT is in bad state, bail out (find default GW).\n"); - exit(33); - } - } - # Re-apply scenario so the LANforge gateway/NAT is enabled for sure. - my $out = do_system("../../lanforge/lanforge-scripts/lf_gui_cmd.pl --manager $gmanager --port $gmport --scenario $scenario"); - # TODO: Use power-controller to reboot the AP and retry. - if ($out =~ /pexpect.exceptions.TIMEOUT/) { - print("FATAL-ERROR: DUT is in bad state, bail out.\n"); - exit(34); - } - - $out = do_system("../../lanforge/lanforge-scripts/openwrt_ctl.py $owt_log --scheme serial --tty $serial --action reboot"); - print ("Reboot DUT to try to recover networking:\n$out\n"); - if ($out =~ /pexpect.exceptions.TIMEOUT/) { - print("FATAL-ERROR: DUT is in bad state, bail out.\n"); - exit(35); - } - sleep(15); - - $ap_route = do_system("../../lanforge/lanforge-scripts/openwrt_ctl.py $owt_log --scheme serial --tty $serial --action cmd --value \"ip route show\""); - if ($ap_route =~ /default via (\S+)/g) { - $ap_gw = $1; - } - if ($ap_route =~ /pexpect.exceptions.TIMEOUT/) { - print("FATAL-ERROR: DUT is in bad state, bail out.\n"); - exit(36); - } - if ($ap_gw eq "") { - exit(1); - } - } - - print_note("Request AP DUT to install the test image and reboot."); - # TODO: Change this to curl download?? - my $ap_out; - if ($sysupgrade_n) { - $ap_out = do_system("../../lanforge/lanforge-scripts/openwrt_ctl.py $owt_log --scheme serial --tty $serial --action sysupgrade-n --value \"lanforge\@$ap_gw:tip-$jfile\""); - } - else { - $ap_out = do_system("../../lanforge/lanforge-scripts/openwrt_ctl.py $owt_log --scheme serial --tty $serial --action sysupgrade --value \"lanforge\@$ap_gw:tip-$jfile\""); - } - print ("Sys-upgrade results:\n$ap_out\n"); - if ($ap_out =~ /pexpect.exceptions.TIMEOUT/) { - print("FATAL-ERROR: DUT is in bad state, bail out.\n"); - exit(37); - } - # TODO: Verify this (and reboot below) worked. DUT can get wedged and in that case it will need - # a power-cycle to continue. - - # System should be rebooted at this point. - sleep(10); # Give it some more time - - if ($cloud_sdk eq "") { - print_note("Initialize AP, disable OpenVsync since this is stand-alone testbed."); - # Disable openvsync, it will re-write /etc/config/wireless - # This code should not be used when we get cloud-sdk wired up. - $ap_out = do_system("../../lanforge/lanforge-scripts/openwrt_ctl.py $owt_log --scheme serial --tty $serial --action cmd --value \"service opensync stop\""); - print ("Stop openvsync:\n$ap_out\n"); - if ($ap_out =~ /pexpect.exceptions.TIMEOUT/) { - print("FATAL-ERROR: DUT is in bad state, bail out.\n"); - exit(38); - } - $ap_out = do_system("../../lanforge/lanforge-scripts/openwrt_ctl.py $owt_log --scheme serial --tty $serial --action cmd --value \"service opensync disable\""); - print ("Disable openvsync:\n$ap_out\n"); - if ($ap_out =~ /pexpect.exceptions.TIMEOUT/) { - print("FATAL-ERROR: DUT is in bad state, bail out.\n"); - exit(39); - } - } - else { - print_note("Initialize AP, enable OpenVsync since this testbed is using Cloud-Controler: $cloud_sdk."); - $ap_out = do_system("../../lanforge/lanforge-scripts/openwrt_ctl.py $owt_log --scheme serial --tty $serial --action cmd --value \"service opensync enable\""); - print ("Enable openvsync:\n$ap_out\n"); - if ($ap_out =~ /pexpect.exceptions.TIMEOUT/) { - print("FATAL-ERROR: DUT is in bad state, bail out.\n"); - exit(40); - } - } - - # Enable bugcheck script - my $etc_bugcheck = "$tb_dir/OpenWrt-overlay/etc/config/bugcheck"; - open(FILE, ">", "$etc_bugcheck"); - print FILE "DO_BUGCHECK=1 -export DO_BUGCHECK -"; - close(FILE); - - # Re-apply overlay - print_note("Apply default AP configuration for this test bed."); - if ($cloud_sdk eq "") { - $ap_out = do_system("cd $tb_dir/OpenWrt-overlay && tar -cvzf ../overlay_tmp.tar.gz * && scp ../overlay_tmp.tar.gz lanforge\@$lfmgr:tip-overlay.tar.gz"); - } - else { - # Create /etc/hosts file that points us towards correct cloud-sdk machine - my $etc_hosts = "$tb_dir/OpenWrt-overlay/etc/hosts"; - open(FILE, ">", "$etc_hosts"); - print FILE "# Auto-Created by CICD process -127.0.0.1 localhost - -::1 localhost ip6-localhost ip6-loopback -ff02::1 ip6-allnodes -ff02::2 ip6-allrouters -$cloud_sdk opensync-mqtt-broker -$cloud_sdk opensync-wifi-controller -$cloud_sdk opensync.zone1.art2wave.com -"; - - # Leave 'wireless' out of the overlay since opensync will be designed to work with default config. - $ap_out = do_system("cd $tb_dir/OpenWrt-overlay && tar -cvzf ../overlay_tmp.tar.gz --exclude etc/config/wireless * && scp ../overlay_tmp.tar.gz lanforge\@$lfmgr:tip-overlay.tar.gz"); - unlink($etc_hosts); - close(FILE); - } - - - print ("Copy overlay to DUT\n"); - - for (my $q = 0; $q<10; $q++) { - $ap_out = do_system("../../lanforge/lanforge-scripts/openwrt_ctl.py $owt_log --scheme serial --tty $serial --action download --value \"lanforge\@$ap_gw:tip-overlay.tar.gz\" --value2 \"overlay.tgz\""); - print ("Download overlay to DUT:\n$ap_out\n"); - if ($ap_out =~ /ERROR: Could not connect to LANforge/g) { - # Try to restart the network - $ap_out = do_system("../../lanforge/lanforge-scripts/openwrt_ctl.py $owt_log --scheme serial --tty $serial --action cmd --value \"/etc/init.d/network restart\""); - print ("Request restart of DUT networking:\n$ap_out\n"); - if ($q == 9) { - # We have failed to apply overlay at this point, bail out. - print("ERROR: Could not apply overlay to DUT, exiting test attempt.\n"); - exit(1); - } - print("Will retry overlay download in 10 seconds, try $q / 10\n"); - sleep(10); - } - else { - last; - } - } - $ap_out = do_system("../../lanforge/lanforge-scripts/openwrt_ctl.py $owt_log --scheme serial --tty $serial --action cmd --value \"cd / && tar -xzf /tmp/overlay.tgz\""); - print ("Un-zip overlay on DUT:\n$ap_out\n"); - if ($ap_out =~ /pexpect.exceptions.TIMEOUT/) { - print("FATAL-ERROR: DUT is in bad state, bail out.\n"); - exit(41); - } - - print_note("Reboot AP so that new configuration is applied."); - $ap_out = do_system("../../lanforge/lanforge-scripts/openwrt_ctl.py $owt_log --scheme serial --tty $serial --action reboot"); - print ("Rebooted DUT so overlay takes effect:\n$ap_out\n"); - if ($ap_out =~ /pexpect.exceptions.TIMEOUT/) { - print("FATAL-ERROR: DUT is in bad state, bail out.\n"); - exit(42); - } - - my $dt = `date`; - print_note("$dt"); - - if ($ttype eq "fast") { - print_note("Start 'Fast' LANforge regression test."); - $ap_out = do_system("cd $tb_dir && APGW=$ap_gw DUT_SW_VER=$swver OWRTCTL_ARGS=\"$owt_args\" ./run_basic_fast.bash"); - } - else { - print_note("Start 'Fast' LANforge regression test."); - $ap_out = do_system("cd $tb_dir && APGW=$ap_gw DUT_SW_VER=$swver OWRTCTL_ARGS=\"$owt_args\" ./run_basic.bash"); - } - print("Regression $ttype test script output:\n$ap_out\n"); - - print_note("Upload results."); - - #When complete, upload the results to the requested location. - if ($ap_out =~ /Results-Dir: (.*)/) { - my $rslts_dir = $1; - if ($rslts_dir =~ /(.*)\'/) { - $rslts_dir = $1; - } - print ("Found results at: $rslts_dir\n"); - do_system("rm -fr /tmp/$report_name"); - do_system("mv $rslts_dir /tmp/$report_name"); - do_system("chmod -R a+r /tmp/$report_name"); - do_system("scp -C -r /tmp/$report_name $report_to/"); - do_system("echo $fname > /tmp/NEW_RESULTS-$fname"); - do_system("scp /tmp/NEW_RESULTS-$fname $report_to/"); - - # This will indirectly stop logread if it is running. - $ap_out = do_system("../../lanforge/lanforge-scripts/openwrt_ctl.py $owt_log --scheme serial --tty $serial --action cmd --value \"uptime\""); - if ($ap_out =~ /pexpect.exceptions.TIMEOUT/) { - print("FATAL-ERROR: DUT is in bad state, bail out.\n"); - exit(43); - } - } - - exit(0); - } - - #print "$ln\n"; -} - -exit 0; - -sub do_system { - my $cmd = shift; - print ">>> $cmd\n"; - return `$cmd 2>&1`; -} - -sub print_note { - my $n = shift; - my $hdr = "###############################################################"; - print "\n\n\n$hdr\n### $n\n$hdr\n\n"; -} diff --git a/libs/apnos/apnos.py b/libs/apnos/apnos.py index 6afc2db86..83bafd0c5 100644 --- a/libs/apnos/apnos.py +++ b/libs/apnos/apnos.py @@ -3,14 +3,15 @@ import paramiko class APNOS: - def __init__(self, jumphost_cred=None): + def __init__(self, credentials=None): self.owrt_args = "--prompt root@OpenAp -s serial --log stdout --user root --passwd openwifi" - if jumphost_cred is None: + if credentials is None: exit() - self.jumphost_ip = jumphost_cred['jumphost_ip'] # "192.168.200.80" - self.jumphost_username = jumphost_cred['jumphost_username'] # "lanforge" - self.jumphost_password = jumphost_cred['jumphost_password'] # "lanforge" - self.jumphost_port = jumphost_cred['jumphost_port'] # 22 + self.jumphost_ip = credentials['ip'] # "192.168.200.80" + self.jumphost_username = credentials['username'] # "lanforge" + self.jumphost_password = credentials['password'] # "lanforge" + self.jumphost_port = credentials['port'] # 22 + self.mode = credentials['mode'] # 1 for jumphost, 0 for direct ssh def ssh_cli_connect(self): client = paramiko.SSHClient() @@ -24,8 +25,11 @@ class APNOS: def iwinfo_status(self): client = self.ssh_cli_connect() - cmd = "cd %s/lanforge/lanforge-scripts/ && ./openwrt_ctl.py %s -t %s --action cmd --value \"%s\"" % ( - '/home', self.owrt_args, '/dev/ttyAP1', 'iwinfo') + if self.mode == 1: + cmd = "cd %s/lanforge/lanforge-scripts/ && ./openwrt_ctl.py %s -t %s --action cmd --value \"%s\"" % ( + '/home', self.owrt_args, '/dev/ttyAP1', 'iwinfo') + else: + cmd = 'iwinfo' stdin, stdout, stderr = client.exec_command(cmd) output = stdout.read() client.close() @@ -33,8 +37,11 @@ class APNOS: def get_vif_config(self): client = self.ssh_cli_connect() - cmd = "cd %s/lanforge/lanforge-scripts/ && ./openwrt_ctl.py %s -t %s --action cmd --value \"%s\"" % ( - '/home', self.owrt_args, '/dev/ttyAP1', "/usr/opensync/bin/ovsh s Wifi_VIF_Config -c") + if self.mode == 1: + cmd = "cd %s/lanforge/lanforge-scripts/ && ./openwrt_ctl.py %s -t %s --action cmd --value \"%s\"" % ( + '/home', self.owrt_args, '/dev/ttyAP1', "/usr/opensync/bin/ovsh s Wifi_VIF_Config -c") + else: + cmd = "/usr/opensync/bin/ovsh s Wifi_VIF_Config -c" stdin, stdout, stderr = client.exec_command(cmd) output = stdout.read() client.close() @@ -42,8 +49,11 @@ class APNOS: def get_vif_state(self): client = self.ssh_cli_connect() - cmd = "cd %s/lanforge/lanforge-scripts/ && ./openwrt_ctl.py %s -t %s --action cmd --value \"%s\"" % ( - '/home', self.owrt_args, '/dev/ttyAP1', "/usr/opensync/bin/ovsh s Wifi_VIF_State -c") + if self.mode == 1: + cmd = "cd %s/lanforge/lanforge-scripts/ && ./openwrt_ctl.py %s -t %s --action cmd --value \"%s\"" % ( + '/home', self.owrt_args, '/dev/ttyAP1', "/usr/opensync/bin/ovsh s Wifi_VIF_State -c") + else: + cmd = "/usr/opensync/bin/ovsh s Wifi_VIF_State -c" stdin, stdout, stderr = client.exec_command(cmd) output = stdout.read() client.close() @@ -70,8 +80,11 @@ class APNOS: def get_active_firmware(self): try: client = self.ssh_cli_connect() - cmd = "cd %s/lanforge/lanforge-scripts/ && ./openwrt_ctl.py %s -t %s --action cmd --value \"%s\"" % ( - '/home', self.owrt_args, '/dev/ttyAP1', '/usr/opensync/bin/ovsh s AWLAN_Node -c | grep FW_IMAGE_ACTIVE') + if self.mode == 1: + cmd = "cd %s/lanforge/lanforge-scripts/ && ./openwrt_ctl.py %s -t %s --action cmd --value \"%s\"" % ( + '/home', self.owrt_args, '/dev/ttyAP1', '/usr/opensync/bin/ovsh s AWLAN_Node -c | grep FW_IMAGE_ACTIVE') + else: + cmd = '/usr/opensync/bin/ovsh s AWLAN_Node -c | grep FW_IMAGE_ACTIVE' stdin, stdout, stderr = client.exec_command(cmd) output = stdout.read() # print(output) @@ -86,8 +99,11 @@ class APNOS: def get_manager_state(self): try: client = self.ssh_cli_connect() - cmd = "cd %s/lanforge/lanforge-scripts/ && ./openwrt_ctl.py %s -t %s --action cmd --value \"%s\"" % ( - '/home', self.owrt_args, '/dev/ttyAP1', '/usr/opensync/bin/ovsh s Manager -c | grep status') + if self.mode == 1: + cmd = "cd %s/lanforge/lanforge-scripts/ && ./openwrt_ctl.py %s -t %s --action cmd --value \"%s\"" % ( + '/home', self.owrt_args, '/dev/ttyAP1', '/usr/opensync/bin/ovsh s Manager -c | grep status') + else: + cmd = '/usr/opensync/bin/ovsh s Manager -c | grep status' stdin, stdout, stderr = client.exec_command(cmd) output = stdout.read() status = str(output.decode('utf-8').splitlines()) @@ -98,8 +114,11 @@ class APNOS: def get_status(self): client = self.ssh_cli_connect() - cmd = "cd %s/lanforge/lanforge-scripts/ && ./openwrt_ctl.py %s -t %s --action cmd --value \"%s\"" % ( - '/home', self.owrt_args, '/dev/ttyAP1', "/usr/opensync/bin/ovsh s Wifi_VIF_State -c") + if self.mode == 1: + cmd = "cd %s/lanforge/lanforge-scripts/ && ./openwrt_ctl.py %s -t %s --action cmd --value \"%s\"" % ( + '/home', self.owrt_args, '/dev/ttyAP1', "/usr/opensync/bin/ovsh s Wifi_VIF_State -c") + else: + cmd = "/usr/opensync/bin/ovsh s Wifi_VIF_State -c" stdin, stdout, stderr = client.exec_command(cmd) output = stdout.read() client.close() @@ -111,7 +130,9 @@ class APNOS: # 'jumphost_username': "lanforge", # 'jumphost_password': "lanforge", # 'jumphost_port': 22 +# 'mode': 1 # } +# mode can me 1 for ap direct ssh, and 0 for jumphost # obj = APNOS(jumphost_cred=APNOS_CREDENTIAL_DATA) # print(obj.get_active_firmware()) # print(obj.get_vif_config_ssids()) diff --git a/libs/cloudsdk/cloudsdk.py b/libs/cloudsdk/cloudsdk.py index 21dca3bfe..bceabf408 100644 --- a/libs/cloudsdk/cloudsdk.py +++ b/libs/cloudsdk/cloudsdk.py @@ -765,76 +765,3 @@ class FirmwareUtility(JFrogUtility): print("firmware not available: ", firmware_version) return firmware_version -# sdk_client = CloudSDK(testbed="https://wlan-portal-svc-nola-ext-03.cicd.lab.wlan.tip.build", customer_id=2) -# print(sdk_client.get_ssid_profiles_from_equipment_profile(profile_id=1256)) -# sdk_client.disconnect_cloudsdk() -# sdk_client = CloudSDK(testbed="https://wlan-portal-svc-nola-ext-03.cicd.lab.wlan.tip.build", customer_id=2) -# profile_obj = ProfileUtility(sdk_client=sdk_client) -# profile_data = {'profile_name': 'Sanity-ecw5410-2G_WPA2_E_BRIDGE', 'ssid_name': 'Sanity-ecw5410-2G_WPA2_E_BRIDGE', 'vlan': 1, 'mode': 'BRIDGE', 'security_key': '2G-WPA2_E_BRIDGE'} -# profile_obj.get_default_profiles() -# radius_info = { -# "name" : "something", -# "ip": "192.168.200.75", -# "port": 1812, -# "secret": "testing123" -# -# } -# profile_obj.create_radius_profile(radius_info=radius_info) -# profile_obj.create_wpa2_enterprise_ssid_profile(profile_data=profile_data, fiveg=False) -# # # profile_obj.delete_profile_by_name(profile_name="Test_Delete") -# sdk_client.disconnect_cloudsdk() -# # # -# sdk_client = CloudSDK(testbed="nola-ext-03", customer_id=2) -# sdk_client.get_ap_firmware_old_method(equipment_id=23) -# sdk_client.disconnect_cloudsdk() - -# sdk_client = CloudSDK(testbed="nola-ext-03", customer_id=2) -# profile_obj = ProfileUtility(sdk_client=sdk_client) -# profile_obj.get_default_profiles() -# profile_obj.set_rf_profile() -# # print(profile_obj.default_profiles["ssid"]._id) -# # profile_obj.get_profile_by_id(profile_id=profile_obj.default_profiles["ssid"]._id) -# # -# # print(profile_obj.default_profiles)default_profiles -# radius_info = { -# "name": "nola-ext-03" + "-RADIUS-Sanity", -# "ip": "192.168.200.75", -# "port": 1812, -# "secret": "testing123" -# } -# profile_obj.create_radius_profile(radius_info=radius_info) -# profile_data = { -# "profile_name": "NOLA-ext-03-WPA2-Enterprise-2G", -# "ssid_name": "NOLA-ext-03-WPA2-Enterprise-2G", -# "vlan": 1, -# "mode": "BRIDGE" -# } -# profile_obj.create_wpa2_enterprise_ssid_profile(profile_data=profile_data) -# profile_data = { -# "profile_name": "%s-%s-%s" % ("Nola-ext-03", "ecw5410", 'Bridge') -# } -# profile_obj.set_ap_profile(profile_data=profile_data) -# profile_obj.push_profile_old_method(equipment_id=23) -# sdk_client.disconnect_cloudsdk() -# -# # from testbed_info import JFROG_CREDENTIALS -# # -# JFROG_CREDENTIALS = { -# "user": "tip-read", -# "password": "tip-read" -# } -# sdk_client = CloudSDK(testbed="nola-ext-03", customer_id=2) -# obj = FirmwareUtility(jfrog_credentials=JFROG_CREDENTIALS, sdk_client=sdk_client) -# obj.upgrade_fw(equipment_id=23, force_upload=False, force_upgrade=False) -# sdk_client.disconnect_cloudsdk() -""" -Check the ap model -Check latest revision of a model -Check the firmware version on AP -Check if latest version is available on cloud - if not: - Upload to cloud - if yes: - continue -Upgrade the Firmware on AP -""" diff --git a/libs/testrails/reporting.py b/libs/testrails/reporting.py new file mode 100644 index 000000000..849c06082 --- /dev/null +++ b/libs/testrails/reporting.py @@ -0,0 +1,7 @@ +class Reporting: + + def __init__(self): + pass + + def update_testrail(self, case_id=None, run_id=None, status_id=1, msg=None): + pass \ No newline at end of file diff --git a/testbeds/README_OPENWRT.txt b/testbeds/README_OPENWRT.txt deleted file mode 100644 index 98443bbe6..000000000 --- a/testbeds/README_OPENWRT.txt +++ /dev/null @@ -1,23 +0,0 @@ -This automation assumes that the AP is configured as pass-through AP, not -router: - -# Until cloud-sdk is integrated, stop opensync so we can do local config -service opensync stop -service opensync disable - -# Configure /etc/config/network to bridge eth ports and wifi devices. - -# Disable DHCP -/etc/init.d/dnsmasq disable -/etc/init.d/dnsmasq stop - -# Disable DHCP v6 -/etc/init.d/odhcpd disable -/etc/init.d/odhcpd stop - -# Disable firewall ??? -/etc/init.d/firewall disable -/etc/init.d/firewall stop - -/etc/init.d/network reload - diff --git a/testbeds/ben-home-ecw5410/228_sta_scenario.txt b/testbeds/ben-home-ecw5410/228_sta_scenario.txt deleted file mode 100644 index 2414af434..000000000 --- a/testbeds/ben-home-ecw5410/228_sta_scenario.txt +++ /dev/null @@ -1,9 +0,0 @@ -profile_link 1.1 STA-AC 64 'DUT: ecw5410 Radio-2' NA wiphy1,AUTO -1 -profile_link 1.1 STA-AC 178 'DUT: ecw5410 Radio-1' NA wiphy0,AUTO -1 -profile_link 1.1 upstream-dhcp 1 'DUT: ecw5410 LAN' NA eth2,AUTO -1 -profile_link 1.1 uplink-nat 1 'DUT: uplink LAN 192.168.3.5/24' NA eth3,eth2 -1 -dut uplink 323 37 -dut ecw5410 459 125 -resource 1.1 244 252 - - diff --git a/testbeds/ben-home-ecw5410/AP-Auto-ap-auto-228.txt b/testbeds/ben-home-ecw5410/AP-Auto-ap-auto-228.txt deleted file mode 100644 index 16efb8c87..000000000 --- a/testbeds/ben-home-ecw5410/AP-Auto-ap-auto-228.txt +++ /dev/null @@ -1,100 +0,0 @@ -[BLANK] -sel_port-0: 1.1.eth2 -show_events: 1 -show_log: 0 -port_sorting: 0 -bg: 0xE0ECF8 -test_rig: -show_scan: 1 -auto_helper: 1 -skip_2: 1 -skip_5: 1 -dut5-0: ecw5410 OpenWrt-ecw-5 -dut2-0: ecw5410 OpenWrt-ecw-2 -dut5-1: NA -dut2-1: NA -dut5-2: NA -dut2-2: NA -spatial_streams: AUTO -bandw_options: AUTO -modes: Auto -upstream_port: 1.1.1 eth2 -operator: -mconn: 1 -tos: 0 -vid_buf: 1000000 -vid_speed: 700000 -reset_stall_thresh_udp_dl: 100000 -reset_stall_thresh_udp_ul: 100000 -reset_stall_thresh_tcp_dl: 100000 -reset_stall_thresh_tcp_ul: 100000 -reset_stall_thresh_l4: 100000 -reset_stall_thresh_voip: 20000 -stab_udp_dl_min: 500000 -stab_udp_dl_max: 0 -stab_udp_ul_min: 500000 -stab_udp_ul_max: 0 -stab_tcp_dl_min: 500000 -stab_tcp_dl_max: 0 -stab_tcp_ul_min: 500000 -stab_tcp_ul_max: 0 -dl_speed: 85% -ul_speed: 85% -max_stations_2: 178 -max_stations_5: 64 -max_stations_dual: 242 -lt_sta: 2 -voip_calls: 20 -lt_dur: 3600 -reset_dur: 3600 -lt_gi: 30 -dur20: 20 -hunt_retries: 1 -cap_dl: 1 -cap_ul: 0 -cap_use_pkt_sizes: 0 -stability_reset_radios: 0 -pkt_loss_thresh: 10000 -frame_sizes: 200, 512, 1024, MTU -capacities: 1, 2, 5, 10, 20, 40, 64, 128, 256, 512, 1024, MAX -radio2-0: 1.1.4 wiphy0 -radio5-0: 1.1.3 wiphy1 -basic_cx: 1 -tput: 0 -dual_band_tput: 0 -capacity: 0 -longterm: 0 -mix_stability: 0 -loop_iter: 1 -reset_batch_size: 1 -reset_duration_min: 10000 -reset_duration_max: 60000 - -# Configure pass/fail metrics for this testbed. -pf_text0: 2.4 DL 200 60Mbps -pf_text1: 2.4 DL 512 90Mbps -pf_text2: 2.4 DL 1024 110Mbps -pf_text3: 2.4 DL MTU 112Mbps -pf_text4: -pf_text5: 2.4 UL 200 60Mbps -pf_text6: 2.4 UL 512 90Mbps -pf_text7: 2.4 UL 1024 110Mbps -pf_text8: 2.4 UL MTU 112Mbps -pf_text9: -pf_text10: 5 DL 200 72Mbps -pf_text11: 5 DL 512 185Mbps -pf_text12: 5 DL 1024 370Mbps -pf_text13: 5 DL MTU 520Mbps -pf_text14: -pf_text15: 5 UL 200 85Mbps -pf_text16: 5 UL 512 220Mbps -pf_text17: 5 UL 1024 430Mbps -pf_text18: 5 UL MTU 600Mbps - -# Tune connect-time thresholds. -cx_prcnt: 950000 -cx_open_thresh: 35 -cx_psk_thresh: 75 -cx_1x_thresh: 130 - - diff --git a/testbeds/ben-home-ecw5410/NOTES.txt b/testbeds/ben-home-ecw5410/NOTES.txt deleted file mode 100644 index a6630fdfb..000000000 --- a/testbeds/ben-home-ecw5410/NOTES.txt +++ /dev/null @@ -1,10 +0,0 @@ - -DUT is an ECW5410 running TIP OpenWrt. -This uses ath10k-ct firmware, and by default, the ath10k driver only supports 32 stations per -radio. To improve this, I tweaked the setup using the fwcfg files. -The radios also only work on certain frequencies, so one has to configure them -carefully. - -See the OpenWrt-overlay directory for files that should be copied onto the DUT -to work with this test. Once OpenSync cloud stuff is complete, the overlay may -not be needed. diff --git a/testbeds/ben-home-ecw5410/OpenWrt-overlay/etc/config/network b/testbeds/ben-home-ecw5410/OpenWrt-overlay/etc/config/network deleted file mode 100644 index a75f02db1..000000000 --- a/testbeds/ben-home-ecw5410/OpenWrt-overlay/etc/config/network +++ /dev/null @@ -1,33 +0,0 @@ -config interface 'loopback' - option ifname 'lo' - option proto 'static' - option ipaddr '127.0.0.1' - option netmask '255.0.0.0' - -config globals 'globals' - option ula_prefix 'fd05:d9f9:75c8::/48' - -config interface 'lan' - option type 'bridge' - option ifname 'eth1 eth0' - option proto 'dhcp' -# option ipaddr '192.168.1.1' -# option netmask '255.255.255.0' -# option ip6assign '60' - -config device 'lan_eth1_dev' - option name 'eth1' - option macaddr '3c:2c:99:f4:51:73' - -#config interface 'wan' -# option ifname 'eth0' -# option proto 'dhcp' - -config device 'wan_eth0_dev' - option name 'eth0' - option macaddr '3c:2c:99:f4:51:72' - -config interface 'wan6' - option ifname 'eth0' - option proto 'dhcpv6' - diff --git a/testbeds/ben-home-ecw5410/OpenWrt-overlay/etc/config/wireless b/testbeds/ben-home-ecw5410/OpenWrt-overlay/etc/config/wireless deleted file mode 100644 index 47e16a451..000000000 --- a/testbeds/ben-home-ecw5410/OpenWrt-overlay/etc/config/wireless +++ /dev/null @@ -1,30 +0,0 @@ -config wifi-device 'radio0' - option type 'mac80211' - option channel '36' - option hwmode '11a' - option path 'soc/1b700000.pci/pci0001:00/0001:00:00.0/0001:01:00.0' - option htmode 'VHT80' - option disabled '0' - -config wifi-iface 'default_radio0' - option device 'radio0' - option network 'lan' - option mode 'ap' - option ssid 'OpenWrt-ecw-5' - option encryption 'none' - -config wifi-device 'radio1' - option type 'mac80211' - option channel '11' - option hwmode '11g' - option path 'soc/1b900000.pci/pci0002:00/0002:00:00.0/0002:01:00.0' - option htmode 'HT20' - option disabled '0' - -config wifi-iface 'default_radio1' - option device 'radio1' - option network 'lan' - option mode 'ap' - option ssid 'OpenWrt-ecw-2' - option encryption 'none' - diff --git a/testbeds/ben-home-ecw5410/dpt-pkt-sz.txt b/testbeds/ben-home-ecw5410/dpt-pkt-sz.txt deleted file mode 100644 index c77880bfc..000000000 --- a/testbeds/ben-home-ecw5410/dpt-pkt-sz.txt +++ /dev/null @@ -1,55 +0,0 @@ -[BLANK] -sel_port-0: 1.1.eth2 -show_events: 1 -show_log: 0 -port_sorting: 0 -bg: 0xE0ECF8 -test_rig: -show_scan: 1 -auto_helper: 0 -skip_2: 0 -skip_5: 0 -selected_dut: ecw5410 -duration: 15000 -traffic_port: 1.1.6 sta00000 -upstream_port: 1.1.1 eth2 -path_loss: 10 -speed: 85% -speed2: 0Kbps -min_rssi_bound: -150 -max_rssi_bound: 0 -channels: AUTO -modes: Auto -pkts: 60;142;256;512;1024;MTU;4000 -spatial_streams: AUTO -security_options: AUTO -bandw_options: AUTO -traffic_types: UDP -directions: DUT Transmit;DUT Receive -txo_preamble: OFDM -txo_mcs: 0 CCK, OFDM, HT, VHT -txo_retries: No Retry -txo_sgi: OFF -txo_txpower: 15 -attenuator: 0 -attenuator2: 0 -attenuator_mod: 255 -attenuator_mod2: 255 -attenuations: 0..+50..950 -attenuations2: 0..+50..950 -chamber: 0 -tt_deg: 0..+45..359 -cust_pkt_sz: -show_3s: 0 -show_ll_graphs: 0 -show_gp_graphs: 1 -show_1m: 1 -pause_iter: 0 -show_realtime: 1 -operator: -mconn: 1 -mpkt: 1000 -tos: 0 -loop_iterations: 1 - - diff --git a/testbeds/ben-home-ecw5410/ecw-env.txt b/testbeds/ben-home-ecw5410/ecw-env.txt deleted file mode 100644 index 2f5b6921b..000000000 --- a/testbeds/ben-home-ecw5410/ecw-env.txt +++ /dev/null @@ -1,51 +0,0 @@ -# Seems ECW can lose its environment sometimes, here is a proper environment: -# For whatever reason, I can only paste about two lines at a time...more and sometimes -# the bootloader seems to silently crash. - -setenv active '1' -setenv altbootcmd 'if test $changed = 0; then run do_change; else run do_recovery; fi' -setenv args_common 'root=mtd:ubi_rootfs rootfstype=squashfs' -setenv boot1 'echo Booting from partition: ${partname}' -setenv boot2 'nand device 1 && set mtdids nand0=nand0' -setenv boot3 'set mtdparts mtdparts=nand0:0x4000000@0x0(fs1),0x4000000@0x4000000(fs2)' -setenv boot4 'ubi part fs${partname} && ubi read 44000000 kernel' -setenv boot5 'cfgsel 44000000 && run bootfdtcmd' -setenv bootargs 'console=ttyHSL1,115200n8' -setenv bootcmd 'run setup && run bootlinux' -setenv bootdelay '2' -setenv bootlimit '3' -setenv bootlinux 'run boot1 boot2 boot3 boot4 boot5|| reset' -setenv change1 'if test $active = 1; then setenv active 2; else setenv active 1; fi' -setenv change2 'setenv bootcount; setenv changed 1; saveenv' -setenv change3 'echo Active partition changed to [$active]' -setenv do_change 'run change1 change2 change3; reset' -setenv do_lub 'run lub1 lub2 lub3' -setenv do_recovery 'run rec1 rec2 rec3 rec4 rec5 rec6 rec7 rec8; reset' -setenv eth1addr '3c:2c:99:f4:51:63' -setenv ethact 'eth0' -setenv ethaddr '3c:2c:99:f4:51:62' -setenv lub1 'tftpboot ${tftp_loadaddr} ${ub_file}' -setenv lub2 'sf probe && sf erase 0x100000 0x70000' -setenv lub3 'sf write ${tftp_loadaddr} 0x100000 ${filesize}' -setenv machid '136b' -setenv rec1 'echo Doing firmware recovery!' -setenv rec2 'setenv active 1 && setenv changed 0 && setenv bootcount 0' -setenv rec3 'saveenv' -setenv rec4 'sleep 2 && tftpboot ${tftp_loadaddr} ${recovery_file}' -setenv rec5 'imxtract ${tftp_loadaddr} ubi' -setenv rec6 'nand device 1 && nand erase.chip' -setenv rec7 'nand write ${fileaddr} 0x0 ${filesize}' -setenv rec8 'nand write ${fileaddr} 0x4000000 ${filesize}' -setenv recovery_file 'fwupdate.bin' -setenv setup 'if test $active = 1; then run setup1; else run setup2; fi' -setenv setup1 'partname=1 && setenv bootargs ubi.mtd=rootfs${partname} ${args_common}' -setenv setup2 'partname=2 && setenv bootargs ubi.mtd=rootfs${partname} ${args_common}' -setenv stderr 'serial' -setenv stdin 'serial' -setenv stdout 'serial' -setenv tftp_loadaddr '0x42000000' -setenv ub_file 'openwrt-ipq806x-u-boot.mbn' -setenv upgrade_available '1' -setenv bootcount '0' -saveenv -setenv baudrate '115200' diff --git a/testbeds/ben-home-ecw5410/run_basic.bash b/testbeds/ben-home-ecw5410/run_basic.bash deleted file mode 100755 index 830bb01b4..000000000 --- a/testbeds/ben-home-ecw5410/run_basic.bash +++ /dev/null @@ -1,72 +0,0 @@ -#!/bin/bash - -# Example usage of this script -# DUT_SW_VER=my-build-id ./run_basic.bash -# -# Other DUT variables in test_bed_cfg.bash may also be over-ridden, -# including those below. See LANforge 'add_dut' CLI command for -# details on what these variables are for. - -# DUT_FLAGS DUT_FLAGS_MASK DUT_SW_VER DUT_HW_VER DUT_MODEL -# DUT_SERIAL DUT_SSID1 DUT_SSID2 DUT_SSID3 -# DUT_PASSWD1 DUT_PASSWD2 DUT_PASSWD3 -# DUT_BSSID1 DUT_BSSID2 DUT_BSSID3 - -# Source config file -. test_bed_cfg.bash - -echo "Top wlan-testing git commits.
" > ./tmp_gitlog.html
-git log -n 8 --oneline >> ./tmp_gitlog.html
-echo "
" >> ./tmp_gitlog.html - -NOTES_HTML=`pwd`/testbed_notes.html -GITLOG=`pwd`/tmp_gitlog.html - -if [ -d "../../../wlan-ap" ] -then - DUTGITLOG=/tmp/${DUT_SW_VER}_dut_gitlog.html - echo "Top wlan-ap git commits.
" > $DUTGITLOG
-    (cd ../../../wlan-ap && git log -n 8 --oneline $DUT_SW_VER >> $DUTGITLOG && cd -)
-    echo "
" >> $DUTGITLOG - export DUTGITLOG -fi -export NOTES_HTML GITLOG - -# TODO: Copy config file to cloud controller and restart it -# and/or do other config to make it work. - -# Change to scripts dir -cd ../../lanforge/lanforge-scripts/gui - -# Where to place results. basic_regression.bash will use this variable. -RSLTS_DIR=/tmp/ben-basic-ecw5410-regression -export RSLTS_DIR - -# Clean any existing data from the results dir -rm -fr $RSLTS_DIR - -# Clean up old DHCP leases -../lf_gui_cmd.pl --manager $GMANAGER --port $GMPORT --cmd "cli clear_port_counters ALL ALL ALL dhcp_leases" - -# Run one test -# DEFAULT_ENABLE=0 DO_SHORT_AP_STABILITY_RESET=1 ./basic_regression.bash - - -# Run all tests -./basic_regression.bash - -cd - - -if [ ! -d $RSLTS_DIR ] -then - echo "Test did not run as expected, $RSLTS_DIR not found." - mkdir -p $RSLTS_DIR -fi - -if [ -f ${MY_TMPDIR}/basic_regression_log.txt ] -then - echo "Found ${MY_TMPDIR}/basic_regression_log.txt, moving into $RSLTS_DIR" - mv ${MY_TMPDIR}/basic_regression_log.txt $RSLTS_DIR/ -fi - -echo "See results in $RSLTS_DIR" diff --git a/testbeds/ben-home-ecw5410/run_basic_fast.bash b/testbeds/ben-home-ecw5410/run_basic_fast.bash deleted file mode 100755 index 7d15affb3..000000000 --- a/testbeds/ben-home-ecw5410/run_basic_fast.bash +++ /dev/null @@ -1,77 +0,0 @@ -#!/bin/bash - -# Example usage of this script -# DUT_SW_VER=my-build-id ./run_basic.bash -# -# Other DUT variables in test_bed_cfg.bash may also be over-ridden, -# including those below. See LANforge 'add_dut' CLI command for -# details on what these variables are for. - -# DUT_FLAGS DUT_FLAGS_MASK DUT_SW_VER DUT_HW_VER DUT_MODEL -# DUT_SERIAL DUT_SSID1 DUT_SSID2 DUT_SSID3 -# DUT_PASSWD1 DUT_PASSWD2 DUT_PASSWD3 -# DUT_BSSID1 DUT_BSSID2 DUT_BSSID3 - -# Source config file -. test_bed_cfg.bash - -echo "Top wlan-testing git commits.
" > ./tmp_gitlog.html
-git log -n 8 --oneline >> ./tmp_gitlog.html
-echo "
" >> ./tmp_gitlog.html - -NOTES_HTML=`pwd`/testbed_notes.html -GITLOG=`pwd`/tmp_gitlog.html - -if [ -d "../../../wlan-ap" ] -then - DUTGITLOG=/tmp/${DUT_SW_VER}_dut_gitlog.html - echo "Top wlan-ap git commits.
" > $DUTGITLOG
-    (cd ../../../wlan-ap && git log -n 8 --oneline $DUT_SW_VER >> $DUTGITLOG && cd -)
-    echo "
" >> $DUTGITLOG - export DUTGITLOG -fi - -export NOTES_HTML GITLOG - -# TODO: Copy config file to cloud controller and restart it -# and/or do other config to make it work. - -# Change to scripts dir -cd ../../lanforge/lanforge-scripts/gui - -# Where to place results. basic_regression.bash will use this variable. -RSLTS_DIR=/tmp/ben-basic-ecw5410-regression-fast -export RSLTS_DIR - -# Clean any existing data from the results dir -rm -fr $RSLTS_DIR - -# Clean up old DHCP leases -../lf_gui_cmd.pl --manager $GMANAGER --port $GMPORT --cmd "cli clear_port_counters ALL ALL ALL dhcp_leases" - -# Run a subset of available tests -# See 'Tests to run' comment in basic_regression.bash for available options. - -DEFAULT_ENABLE=0 WCT_DURATION=20s DO_SHORT_AP_BASIC_CX=1 DO_WCT_BI=1 ./basic_regression.bash - -#DEFAULT_ENABLE=0 WCT_DURATION=20s DO_SHORT_AP_BASIC_CX=1 DO_WCT_BI=0 ./basic_regression.bash - - -# Run all tests -#./basic_regression.bash - -cd - - -if [ ! -d $RSLTS_DIR ] -then - echo "Test did not run as expected, $RSLTS_DIR not found." - mkdir -p $RSLTS_DIR -fi - -if [ -f ${MY_TMPDIR}/basic_regression_log.txt ] -then - echo "Found ${MY_TMPDIR}/basic_regression_log.txt, moving into $RSLTS_DIR" - mv ${MY_TMPDIR}/basic_regression_log.txt $RSLTS_DIR/ -fi - -echo "See results in $RSLTS_DIR" diff --git a/testbeds/ben-home-ecw5410/test_bed_cfg.bash b/testbeds/ben-home-ecw5410/test_bed_cfg.bash deleted file mode 100644 index d18799810..000000000 --- a/testbeds/ben-home-ecw5410/test_bed_cfg.bash +++ /dev/null @@ -1,55 +0,0 @@ -# Example test-bed configuration - -# Scripts should source this file to set the default environment variables -# and then override the variables specific to their test case (and it can be done -# in opposite order for same results -# -# After the env variables are set, -# call the 'lanforge/lanforge-scripts/gui/basic_regression.bash' -# from the directory in which it resides. - -PWD=`pwd` -AP_SERIAL=${AP_SERIAL:-/dev/ttyUSB3} -LF_SERIAL=${LF_SERIAL:-/dev/ttyS4} -LFPASSWD=${LFPASSWD:-r} # Root password on LANforge machine -AP_AUTO_CFG_FILE=${AP_AUTO_CFG_FILE:-$PWD/AP-Auto-ap-auto-228.txt} -WCT_CFG_FILE=${WCT_CFG_FILE:-$PWD/WCT-228sta.txt} -DPT_CFG_FILE=${DPT_CFG_FILE:-$PWD/dpt-pkt-sz.txt} -SCENARIO_CFG_FILE=${SCENARIO_CFG_FILE:-$PWD/228_sta_scenario.txt} - -# LANforge target machine -LFMANAGER=${LFMANAGER:-192.168.3.188} - -# LANforge GUI machine (may often be same as target) -GMANAGER=${GMANAGER:-192.168.3.188} -GMPORT=${GMPORT:-3990} -MY_TMPDIR=${MY_TMPDIR:-/tmp} - -# Test configuration (10 minutes by default, in interest of time) -STABILITY_DURATION=${STABILITY_DURATION:-600} -TEST_RIG_ID=${TEST_RIG_ID:-Ben-Home-ECW5410-OTA} - -# DUT configuration -#DUT_FLAGS=${DUT_FLAGS:-0x22} # AP, WPA-PSK -DUT_FLAGS=${DUT_FLAGS:-0x2} # AP, Open -DUT_FLAGS_MASK=${DUT_FLAGS_MASK:-0xFFFF} -DUT_SW_VER=${DUT_SW_VER:-OpenWrt-Stock} -DUT_HW_VER=ECW5410 -DUT_MODEL=ECW5410 -DUT_SERIAL=${DUT_SERIAL:-NA} -DUT_SSID1=${DUT_SSID1:-OpenWrt-ecw-2} -DUT_SSID2=${DUT_SSID2:-OpenWrt-ecw-5} -DUT_PASSWD1=${DUT_PASSWD1:-12345678} -DUT_PASSWD2=${DUT_PASSWD2:-12345678} -DUT_BSSID1=3c:2c:99:f4:51:74 -DUT_BSSID2=3c:2c:99:f4:51:75 - -export LF_SERIAL AP_SERIAL LFPASSWD -export AP_AUTO_CFG_FILE WCT_CFG_FILE DPT_CFG_FILE SCENARIO_CFG_FILE -export LFMANAGER GMANAGER GMPORT MY_TMPDIR -export STABILITY_DURATION TEST_RIG_ID -export DUT_FLAGS DUT_FLAGS_MASK DUT_SW_VER DUT_HW_VER DUT_MODEL -export DUT_SERIAL DUT_SSID1 DUT_SSID2 DUT_SSID3 -export DUT_PASSWD1 DUT_PASSWD2 DUT_PASSWD3 -export DUT_BSSID1 DUT_BSSID2 DUT_BSSID3 - diff --git a/testbeds/ben-home-ecw5410/testbed_notes.html b/testbeds/ben-home-ecw5410/testbed_notes.html deleted file mode 100644 index 08a540844..000000000 --- a/testbeds/ben-home-ecw5410/testbed_notes.html +++ /dev/null @@ -1,8 +0,0 @@ - -

-This test-bed consists of a CT522 LANforge test system, with one ath9k a/b/g/n 3x3s and one wave-2 -4x4 5Ghz radio. It is connected over-the-air in a home office to the DUT, which is placed about 3 -feet away. The DUT is a Linksys ECW5410 (dual 4x4 wave-2 9984 chipset). -Local inteferers include an a/b/g/n AP serving the home. In general, there is not much wifi -traffic. -

diff --git a/testbeds/ben-home/228_sta_scenario.txt b/testbeds/ben-home/228_sta_scenario.txt deleted file mode 100644 index b597205d8..000000000 --- a/testbeds/ben-home/228_sta_scenario.txt +++ /dev/null @@ -1,10 +0,0 @@ -profile_link 1.1 STA-AC 64 'DUT: mr8300 Radio-2' NA wiphy0,AUTO -1 -profile_link 1.1 STA-AC 100 'DUT: mr8300 Radio-1' NA wiphy1,AUTO -1 -profile_link 1.1 STA-AC 64 'DUT: mr8300 Radio-3' NA wiphy2,AUTO -1 -profile_link 1.1 upstream-dhcp 1 'DUT: mr8300 LAN' NA eth0,AUTO -1 -profile_link 1.1 uplink-nat 1 'DUT: uplink LAN 192.168.3.5/24' NA eth1,eth0 -1 -dut uplink 323 37 -dut mr8300 459 125 -resource 1.1 244 252 - - diff --git a/testbeds/ben-home/AP-Auto-ap-auto-228.txt b/testbeds/ben-home/AP-Auto-ap-auto-228.txt deleted file mode 100644 index d9bdc3b57..000000000 --- a/testbeds/ben-home/AP-Auto-ap-auto-228.txt +++ /dev/null @@ -1,101 +0,0 @@ -[BLANK] -sel_port-0: 1.1.eth0 -show_events: 1 -show_log: 0 -port_sorting: 0 -bg: 0xE0ECF8 -test_rig: -show_scan: 1 -auto_helper: 1 -skip_2: 1 -skip_5: 1 -dut5-0: mr8300 OpenWrt-5hi -dut2-0: mr8300 OpenWrt-2 -dut5-1: NA -dut2-1: NA -dut5-2: NA -dut2-2: NA -spatial_streams: AUTO -bandw_options: AUTO -modes: Auto -upstream_port: 1.1.1 eth0 -operator: -mconn: 1 -tos: 0 -vid_buf: 1000000 -vid_speed: 700000 -reset_stall_thresh_udp_dl: 100000 -reset_stall_thresh_udp_ul: 100000 -reset_stall_thresh_tcp_dl: 100000 -reset_stall_thresh_tcp_ul: 100000 -reset_stall_thresh_l4: 100000 -reset_stall_thresh_voip: 20000 -stab_udp_dl_min: 500000 -stab_udp_dl_max: 0 -stab_udp_ul_min: 500000 -stab_udp_ul_max: 0 -stab_tcp_dl_min: 500000 -stab_tcp_dl_max: 0 -stab_tcp_ul_min: 500000 -stab_tcp_ul_max: 0 -dl_speed: 85% -ul_speed: 85% -max_stations_2: 100 -max_stations_5: 128 -max_stations_dual: 228 -lt_sta: 2 -voip_calls: 20 -lt_dur: 3600 -reset_dur: 3600 -lt_gi: 30 -dur20: 20 -hunt_retries: 1 -cap_dl: 1 -cap_ul: 0 -cap_use_pkt_sizes: 0 -stability_reset_radios: 0 -pkt_loss_thresh: 10000 -frame_sizes: 200, 512, 1024, MTU -capacities: 1, 2, 5, 10, 20, 40, 64, 128, 256, 512, 1024, MAX -radio2-0: 1.1.4 wiphy1 -radio5-0: 1.1.3 wiphy0 -radio5-1: 1.1.5 wiphy2 -basic_cx: 1 -tput: 0 -dual_band_tput: 0 -capacity: 0 -longterm: 0 -mix_stability: 0 -loop_iter: 1 -reset_batch_size: 1 -reset_duration_min: 10000 -reset_duration_max: 60000 - -# Configure pass/fail metrics for this testbed. -pf_text0: 2.4 DL 200 60Mbps -pf_text1: 2.4 DL 512 90Mbps -pf_text2: 2.4 DL 1024 110Mbps -pf_text3: 2.4 DL MTU 112Mbps -pf_text4: -pf_text5: 2.4 UL 200 60Mbps -pf_text6: 2.4 UL 512 90Mbps -pf_text7: 2.4 UL 1024 110Mbps -pf_text8: 2.4 UL MTU 112Mbps -pf_text9: -pf_text10: 5 DL 200 72Mbps -pf_text11: 5 DL 512 185Mbps -pf_text12: 5 DL 1024 370Mbps -pf_text13: 5 DL MTU 520Mbps -pf_text14: -pf_text15: 5 UL 200 85Mbps -pf_text16: 5 UL 512 220Mbps -pf_text17: 5 UL 1024 430Mbps -pf_text18: 5 UL MTU 600Mbps - -# Tune connect-time thresholds. -cx_prcnt: 950000 -cx_open_thresh: 35 -cx_psk_thresh: 75 -cx_1x_thresh: 130 - - diff --git a/testbeds/ben-home/NOTES.txt b/testbeds/ben-home/NOTES.txt deleted file mode 100644 index d6bfa3a86..000000000 --- a/testbeds/ben-home/NOTES.txt +++ /dev/null @@ -1,10 +0,0 @@ - -DUT is an MR8300, running TIP OpenWrt. -This uses ath10k-ct firmware, and by default, the ath10k driver only supports 32 stations per -radio. To improve this, I tweaked the setup using the fwcfg files. -The radios also only work on certain frequencies, so one has to configure them -carefully. - -See the OpenWrt-overlay directory for files that should be copied onto the DUT -to work with this test. Once OpenSync cloud stuff is complete, the overlay may -not be needed. diff --git a/testbeds/ben-home/OpenWrt-overlay/etc/config/wireless b/testbeds/ben-home/OpenWrt-overlay/etc/config/wireless deleted file mode 100644 index b62635086..000000000 --- a/testbeds/ben-home/OpenWrt-overlay/etc/config/wireless +++ /dev/null @@ -1,46 +0,0 @@ - -config wifi-device 'radio0' - option type 'mac80211' - option hwmode '11a' - option path 'soc/40000000.pci/pci0000:00/0000:00:00.0/0000:01:00.0' - option htmode 'VHT80' - option disabled '0' - option channel '149' - -config wifi-iface 'default_radio0' - option device 'radio0' - option network 'lan' - option mode 'ap' - option encryption 'none' - option ssid 'OpenWrt-MR8300' - -config wifi-device 'radio1' - option type 'mac80211' - option hwmode '11g' - option path 'platform/soc/a000000.wifi' - option htmode 'HT20' - option disabled '0' - option channel '1' - -config wifi-iface 'default_radio1' - option device 'radio1' - option network 'lan' - option mode 'ap' - option encryption 'none' - option ssid 'OpenWrt-MR8300' - -config wifi-device 'radio2' - option type 'mac80211' - option hwmode '11a' - option path 'platform/soc/a800000.wifi' - option htmode 'VHT80' - option disabled '0' - option channel '36' - -config wifi-iface 'default_radio2' - option device 'radio2' - option network 'lan' - option mode 'ap' - option encryption 'none' - option ssid 'OpenWrt-MR8300' - diff --git a/testbeds/ben-home/WCT-228sta.txt b/testbeds/ben-home/WCT-228sta.txt deleted file mode 100644 index 761bf73e3..000000000 --- a/testbeds/ben-home/WCT-228sta.txt +++ /dev/null @@ -1,290 +0,0 @@ -[BLANK] -sel_port-0: 1.1.eth0 -sel_port-1: 1.1.sta00000 -sel_port-2: 1.1.sta00001 -sel_port-3: 1.1.sta00002 -sel_port-4: 1.1.sta00003 -sel_port-5: 1.1.sta00004 -sel_port-6: 1.1.sta00005 -sel_port-7: 1.1.sta00006 -sel_port-8: 1.1.sta00007 -sel_port-9: 1.1.sta00008 -sel_port-10: 1.1.sta00009 -sel_port-11: 1.1.sta00010 -sel_port-12: 1.1.sta00011 -sel_port-13: 1.1.sta00012 -sel_port-14: 1.1.sta00013 -sel_port-15: 1.1.sta00014 -sel_port-16: 1.1.sta00015 -sel_port-17: 1.1.sta00016 -sel_port-18: 1.1.sta00017 -sel_port-19: 1.1.sta00018 -sel_port-20: 1.1.sta00019 -sel_port-21: 1.1.sta00020 -sel_port-22: 1.1.sta00021 -sel_port-23: 1.1.sta00022 -sel_port-24: 1.1.sta00023 -sel_port-25: 1.1.sta00024 -sel_port-26: 1.1.sta00025 -sel_port-27: 1.1.sta00026 -sel_port-28: 1.1.sta00027 -sel_port-29: 1.1.sta00028 -sel_port-30: 1.1.sta00029 -sel_port-31: 1.1.sta00030 -sel_port-32: 1.1.sta00031 -sel_port-33: 1.1.sta00032 -sel_port-34: 1.1.sta00033 -sel_port-35: 1.1.sta00034 -sel_port-36: 1.1.sta00035 -sel_port-37: 1.1.sta00036 -sel_port-38: 1.1.sta00037 -sel_port-39: 1.1.sta00038 -sel_port-40: 1.1.sta00039 -sel_port-41: 1.1.sta00040 -sel_port-42: 1.1.sta00041 -sel_port-43: 1.1.sta00042 -sel_port-44: 1.1.sta00043 -sel_port-45: 1.1.sta00044 -sel_port-46: 1.1.sta00045 -sel_port-47: 1.1.sta00046 -sel_port-48: 1.1.sta00047 -sel_port-49: 1.1.sta00048 -sel_port-50: 1.1.sta00049 -sel_port-51: 1.1.sta00050 -sel_port-52: 1.1.sta00051 -sel_port-53: 1.1.sta00052 -sel_port-54: 1.1.sta00053 -sel_port-55: 1.1.sta00054 -sel_port-56: 1.1.sta00055 -sel_port-57: 1.1.sta00056 -sel_port-58: 1.1.sta00057 -sel_port-59: 1.1.sta00058 -sel_port-60: 1.1.sta00059 -sel_port-61: 1.1.sta00060 -sel_port-62: 1.1.sta00061 -sel_port-63: 1.1.sta00062 -sel_port-64: 1.1.sta00063 -sel_port-65: 1.1.sta00500 -sel_port-66: 1.1.sta00501 -sel_port-67: 1.1.sta00502 -sel_port-68: 1.1.sta00503 -sel_port-69: 1.1.sta00504 -sel_port-70: 1.1.sta00505 -sel_port-71: 1.1.sta00506 -sel_port-72: 1.1.sta00507 -sel_port-73: 1.1.sta00508 -sel_port-74: 1.1.sta00509 -sel_port-75: 1.1.sta00510 -sel_port-76: 1.1.sta00511 -sel_port-77: 1.1.sta00512 -sel_port-78: 1.1.sta00513 -sel_port-79: 1.1.sta00514 -sel_port-80: 1.1.sta00515 -sel_port-81: 1.1.sta00516 -sel_port-82: 1.1.sta00517 -sel_port-83: 1.1.sta00518 -sel_port-84: 1.1.sta00519 -sel_port-85: 1.1.sta00520 -sel_port-86: 1.1.sta00521 -sel_port-87: 1.1.sta00522 -sel_port-88: 1.1.sta00523 -sel_port-89: 1.1.sta00524 -sel_port-90: 1.1.sta00525 -sel_port-91: 1.1.sta00526 -sel_port-92: 1.1.sta00527 -sel_port-93: 1.1.sta00528 -sel_port-94: 1.1.sta00529 -sel_port-95: 1.1.sta00530 -sel_port-96: 1.1.sta00531 -sel_port-97: 1.1.sta00532 -sel_port-98: 1.1.sta00533 -sel_port-99: 1.1.sta00534 -sel_port-100: 1.1.sta00535 -sel_port-101: 1.1.sta00536 -sel_port-102: 1.1.sta00537 -sel_port-103: 1.1.sta00538 -sel_port-104: 1.1.sta00539 -sel_port-105: 1.1.sta00540 -sel_port-106: 1.1.sta00541 -sel_port-107: 1.1.sta00542 -sel_port-108: 1.1.sta00543 -sel_port-109: 1.1.sta00544 -sel_port-110: 1.1.sta00545 -sel_port-111: 1.1.sta00546 -sel_port-112: 1.1.sta00547 -sel_port-113: 1.1.sta00548 -sel_port-114: 1.1.sta00549 -sel_port-115: 1.1.sta00550 -sel_port-116: 1.1.sta00551 -sel_port-117: 1.1.sta00552 -sel_port-118: 1.1.sta00553 -sel_port-119: 1.1.sta00554 -sel_port-120: 1.1.sta00555 -sel_port-121: 1.1.sta00556 -sel_port-122: 1.1.sta00557 -sel_port-123: 1.1.sta00558 -sel_port-124: 1.1.sta00559 -sel_port-125: 1.1.sta00560 -sel_port-126: 1.1.sta00561 -sel_port-127: 1.1.sta00562 -sel_port-128: 1.1.sta00563 -sel_port-129: 1.1.sta00564 -sel_port-130: 1.1.sta00565 -sel_port-131: 1.1.sta00566 -sel_port-132: 1.1.sta00567 -sel_port-133: 1.1.sta00568 -sel_port-134: 1.1.sta00569 -sel_port-135: 1.1.sta00570 -sel_port-136: 1.1.sta00571 -sel_port-137: 1.1.sta00572 -sel_port-138: 1.1.sta00573 -sel_port-139: 1.1.sta00574 -sel_port-140: 1.1.sta00575 -sel_port-141: 1.1.sta00576 -sel_port-142: 1.1.sta00577 -sel_port-143: 1.1.sta00578 -sel_port-144: 1.1.sta00579 -sel_port-145: 1.1.sta00580 -sel_port-146: 1.1.sta00581 -sel_port-147: 1.1.sta00582 -sel_port-148: 1.1.sta00583 -sel_port-149: 1.1.sta00584 -sel_port-150: 1.1.sta00585 -sel_port-151: 1.1.sta00586 -sel_port-152: 1.1.sta00587 -sel_port-153: 1.1.sta00588 -sel_port-154: 1.1.sta00589 -sel_port-155: 1.1.sta00590 -sel_port-156: 1.1.sta00591 -sel_port-157: 1.1.sta00592 -sel_port-158: 1.1.sta00593 -sel_port-159: 1.1.sta00594 -sel_port-160: 1.1.sta00595 -sel_port-161: 1.1.sta00596 -sel_port-162: 1.1.sta00597 -sel_port-163: 1.1.sta00598 -sel_port-164: 1.1.sta00599 -sel_port-165: 1.1.sta01000 -sel_port-166: 1.1.sta01001 -sel_port-167: 1.1.sta01002 -sel_port-168: 1.1.sta01003 -sel_port-169: 1.1.sta01004 -sel_port-170: 1.1.sta01005 -sel_port-171: 1.1.sta01006 -sel_port-172: 1.1.sta01007 -sel_port-173: 1.1.sta01008 -sel_port-174: 1.1.sta01009 -sel_port-175: 1.1.sta01010 -sel_port-176: 1.1.sta01011 -sel_port-177: 1.1.sta01012 -sel_port-178: 1.1.sta01013 -sel_port-179: 1.1.sta01014 -sel_port-180: 1.1.sta01015 -sel_port-181: 1.1.sta01016 -sel_port-182: 1.1.sta01017 -sel_port-183: 1.1.sta01018 -sel_port-184: 1.1.sta01019 -sel_port-185: 1.1.sta01020 -sel_port-186: 1.1.sta01021 -sel_port-187: 1.1.sta01022 -sel_port-188: 1.1.sta01023 -sel_port-189: 1.1.sta01024 -sel_port-190: 1.1.sta01025 -sel_port-191: 1.1.sta01026 -sel_port-192: 1.1.sta01027 -sel_port-193: 1.1.sta01028 -sel_port-194: 1.1.sta01029 -sel_port-195: 1.1.sta01030 -sel_port-196: 1.1.sta01031 -sel_port-197: 1.1.sta01032 -sel_port-198: 1.1.sta01033 -sel_port-199: 1.1.sta01034 -sel_port-200: 1.1.sta01035 -sel_port-201: 1.1.sta01036 -sel_port-202: 1.1.sta01037 -sel_port-203: 1.1.sta01038 -sel_port-204: 1.1.sta01039 -sel_port-205: 1.1.sta01040 -sel_port-206: 1.1.sta01041 -sel_port-207: 1.1.sta01042 -sel_port-208: 1.1.sta01043 -sel_port-209: 1.1.sta01044 -sel_port-210: 1.1.sta01045 -sel_port-211: 1.1.sta01046 -sel_port-212: 1.1.sta01047 -sel_port-213: 1.1.sta01048 -sel_port-214: 1.1.sta01049 -sel_port-215: 1.1.sta01050 -sel_port-216: 1.1.sta01051 -sel_port-217: 1.1.sta01052 -sel_port-218: 1.1.sta01053 -sel_port-219: 1.1.sta01054 -sel_port-220: 1.1.sta01055 -sel_port-221: 1.1.sta01056 -sel_port-222: 1.1.sta01057 -sel_port-223: 1.1.sta01058 -sel_port-224: 1.1.sta01059 -sel_port-225: 1.1.sta01060 -sel_port-226: 1.1.sta01061 -sel_port-227: 1.1.sta01062 -sel_port-228: 1.1.sta01063 -show_events: 1 -show_log: 0 -port_sorting: 0 -bg: 0xE0ECF8 -test_rig: -show_scan: 1 -auto_helper: 1 -skip_2: 0 -skip_5: 0 -batch_size: 1,2,5,10,20,45,60,100 -loop_iter: 1 -duration: 60000 -test_groups: 0 -test_groups_subset: 0 -protocol: UDP-IPv4 -dl_rate_sel: Total Download Rate: -dl_rate: 1000000000 -ul_rate_sel: Total Upload Rate: -ul_rate: 0 -prcnt_tcp: 100000 -l4_endp: -pdu_sz: -1 -mss_sel: 1 -sock_buffer: 0 -ip_tos: 0 -multi_conn: -1 -min_speed: -1 -ps_interval: 60-second Running Average -fairness: 0 -naptime: 0 -before_clear: 5000 -rpt_timer: 1000 -try_lower: 0 -rnd_rate: 1 -leave_ports_up: 0 -down_quiesce: 0 -udp_nat: 1 -record_other_ssids: 0 -clear_reset_counters: 0 -do_pf: 0 -pf_min_period_dl: 128000 -pf_min_period_ul: 0 -pf_max_reconnects: 0 -use_mix_pdu: 0 -pdu_prcnt_pps: 1 -pdu_prcnt_bps: 0 -pdu_mix_ln-0: -show_scan: 1 -show_golden_3p: 0 -save_csv: 0 -show_realtime: 1 -show_pie: 1 -show_per_loop_totals: 1 -show_cx_time: 1 -show_dhcp: 1 -show_anqp: 1 -show_4way: 1 -show_latency: 1 - - diff --git a/testbeds/ben-home/dpt-pkt-sz.txt b/testbeds/ben-home/dpt-pkt-sz.txt deleted file mode 100644 index c28ef6766..000000000 --- a/testbeds/ben-home/dpt-pkt-sz.txt +++ /dev/null @@ -1,55 +0,0 @@ -[BLANK] -sel_port-0: 1.1.eth0 -show_events: 1 -show_log: 0 -port_sorting: 0 -bg: 0xE0ECF8 -test_rig: -show_scan: 1 -auto_helper: 0 -skip_2: 0 -skip_5: 0 -selected_dut: mr8300 -duration: 15000 -traffic_port: 1.1.6 sta00000 -upstream_port: 1.1.1 eth0 -path_loss: 10 -speed: 85% -speed2: 0Kbps -min_rssi_bound: -150 -max_rssi_bound: 0 -channels: AUTO -modes: Auto -pkts: 60;142;256;512;1024;MTU;4000 -spatial_streams: AUTO -security_options: AUTO -bandw_options: AUTO -traffic_types: UDP -directions: DUT Transmit;DUT Receive -txo_preamble: OFDM -txo_mcs: 0 CCK, OFDM, HT, VHT -txo_retries: No Retry -txo_sgi: OFF -txo_txpower: 15 -attenuator: 0 -attenuator2: 0 -attenuator_mod: 255 -attenuator_mod2: 255 -attenuations: 0..+50..950 -attenuations2: 0..+50..950 -chamber: 0 -tt_deg: 0..+45..359 -cust_pkt_sz: -show_3s: 0 -show_ll_graphs: 0 -show_gp_graphs: 1 -show_1m: 1 -pause_iter: 0 -show_realtime: 1 -operator: -mconn: 1 -mpkt: 1000 -tos: 0 -loop_iterations: 1 - - diff --git a/testbeds/ben-home/run_basic.bash b/testbeds/ben-home/run_basic.bash deleted file mode 100755 index 66dfa2577..000000000 --- a/testbeds/ben-home/run_basic.bash +++ /dev/null @@ -1,72 +0,0 @@ -#!/bin/bash - -# Example usage of this script -# DUT_SW_VER=my-build-id ./run_basic.bash -# -# Other DUT variables in test_bed_cfg.bash may also be over-ridden, -# including those below. See LANforge 'add_dut' CLI command for -# details on what these variables are for. - -# DUT_FLAGS DUT_FLAGS_MASK DUT_SW_VER DUT_HW_VER DUT_MODEL -# DUT_SERIAL DUT_SSID1 DUT_SSID2 DUT_SSID3 -# DUT_PASSWD1 DUT_PASSWD2 DUT_PASSWD3 -# DUT_BSSID1 DUT_BSSID2 DUT_BSSID3 - -# Source config file -. test_bed_cfg.bash - -echo "Top wlan-testing git commits.

" > ./tmp_gitlog.html
-git log -n 8 --oneline >> ./tmp_gitlog.html
-echo "
" >> ./tmp_gitlog.html - -NOTES_HTML=`pwd`/testbed_notes.html -GITLOG=`pwd`/tmp_gitlog.html - -if [ -d "../../../wlan-ap" ] -then - DUTGITLOG=/tmp/${DUT_SW_VER}_dut_gitlog.html - echo "Top wlan-ap git commits.
" > $DUTGITLOG
-    (cd ../../../wlan-ap && git log -n 8 --oneline $DUT_SW_VER >> $DUTGITLOG && cd -)
-    echo "
" >> $DUTGITLOG - export DUTGITLOG -fi -export NOTES_HTML GITLOG - -# TODO: Copy config file to cloud controller and restart it -# and/or do other config to make it work. - -# Change to scripts dir -cd ../../lanforge/lanforge-scripts/gui - -# Where to place results. basic_regression.bash will use this variable. -RSLTS_DIR=/tmp/ben-basic-regression -export RSLTS_DIR - -# Clean any existing data from the results dir -rm -fr $RSLTS_DIR - -# Clean up old DHCP leases -../lf_gui_cmd.pl --manager $GMANAGER --port $GMPORT --cmd "cli clear_port_counters ALL ALL ALL dhcp_leases" - -# Run one test -# DEFAULT_ENABLE=0 DO_SHORT_AP_STABILITY_RESET=1 ./basic_regression.bash - - -# Run all tests -./basic_regression.bash - -cd - - -if [ ! -d $RSLTS_DIR ] -then - echo "Test did not run as expected, $RSLTS_DIR not found." - mkdir -p $RSLTS_DIR -fi - -if [ -f ${MY_TMPDIR}/basic_regression_log.txt ] -then - echo "Found ${MY_TMPDIR}/basic_regression_log.txt, moving into $RSLTS_DIR" - mv ${MY_TMPDIR}/basic_regression_log.txt $RSLTS_DIR/ -fi - -echo "See results in $RSLTS_DIR" diff --git a/testbeds/ben-home/run_basic_fast.bash b/testbeds/ben-home/run_basic_fast.bash deleted file mode 100755 index 4cb2f9f66..000000000 --- a/testbeds/ben-home/run_basic_fast.bash +++ /dev/null @@ -1,77 +0,0 @@ -#!/bin/bash - -# Example usage of this script -# DUT_SW_VER=my-build-id ./run_basic.bash -# -# Other DUT variables in test_bed_cfg.bash may also be over-ridden, -# including those below. See LANforge 'add_dut' CLI command for -# details on what these variables are for. - -# DUT_FLAGS DUT_FLAGS_MASK DUT_SW_VER DUT_HW_VER DUT_MODEL -# DUT_SERIAL DUT_SSID1 DUT_SSID2 DUT_SSID3 -# DUT_PASSWD1 DUT_PASSWD2 DUT_PASSWD3 -# DUT_BSSID1 DUT_BSSID2 DUT_BSSID3 - -# Source config file -. test_bed_cfg.bash - -echo "Top wlan-testing git commits.
" > ./tmp_gitlog.html
-git log -n 8 --oneline >> ./tmp_gitlog.html
-echo "
" >> ./tmp_gitlog.html - -NOTES_HTML=`pwd`/testbed_notes.html -GITLOG=`pwd`/tmp_gitlog.html - -if [ -d "../../../wlan-ap" ] -then - DUTGITLOG=/tmp/${DUT_SW_VER}_dut_gitlog.html - echo "Top wlan-ap git commits.
" > $DUTGITLOG
-    (cd ../../../wlan-ap && git log -n 8 --oneline $DUT_SW_VER >> $DUTGITLOG && cd -)
-    echo "
" >> $DUTGITLOG - export DUTGITLOG -fi - -export NOTES_HTML GITLOG - -# TODO: Copy config file to cloud controller and restart it -# and/or do other config to make it work. - -# Change to scripts dir -cd ../../lanforge/lanforge-scripts/gui - -# Where to place results. basic_regression.bash will use this variable. -RSLTS_DIR=/tmp/ben-basic-regression-fast -export RSLTS_DIR - -# Clean any existing data from the results dir -rm -fr $RSLTS_DIR - -# Clean up old DHCP leases -../lf_gui_cmd.pl --manager $GMANAGER --port $GMPORT --cmd "cli clear_port_counters ALL ALL ALL dhcp_leases" - -# Run a subset of available tests -# See 'Tests to run' comment in basic_regression.bash for available options. - -DEFAULT_ENABLE=0 WCT_DURATION=20s DO_SHORT_AP_BASIC_CX=1 DO_WCT_BI=1 ./basic_regression.bash - -#DEFAULT_ENABLE=0 WCT_DURATION=20s DO_SHORT_AP_BASIC_CX=1 DO_WCT_BI=0 ./basic_regression.bash - - -# Run all tests -#./basic_regression.bash - -cd - - -if [ ! -d $RSLTS_DIR ] -then - echo "Test did not run as expected, $RSLTS_DIR not found." - mkdir -p $RSLTS_DIR -fi - -if [ -f ${MY_TMPDIR}/basic_regression_log.txt ] -then - echo "Found ${MY_TMPDIR}/basic_regression_log.txt, moving into $RSLTS_DIR" - mv ${MY_TMPDIR}/basic_regression_log.txt $RSLTS_DIR/ -fi - -echo "See results in $RSLTS_DIR" diff --git a/testbeds/ben-home/test_bed_cfg.bash b/testbeds/ben-home/test_bed_cfg.bash deleted file mode 100644 index aa4c2d21d..000000000 --- a/testbeds/ben-home/test_bed_cfg.bash +++ /dev/null @@ -1,58 +0,0 @@ -# Example test-bed configuration - -# Scripts should source this file to set the default environment variables -# and then override the variables specific to their test case (and it can be done -# in opposite order for same results -# -# After the env variables are set, -# call the 'lanforge/lanforge-scripts/gui/basic_regression.bash' -# from the directory in which it resides. - -PWD=`pwd` -AP_SERIAL=${AP_SERIAL:-/dev/ttyUSB1} -LF_SERIAL=${LF_SERIAL:-/dev/ttyS5} -LFPASSWD=${LFPASSWD:-r} # Root password on LANforge machine -AP_AUTO_CFG_FILE=${AP_AUTO_CFG_FILE:-$PWD/AP-Auto-ap-auto-228.txt} -WCT_CFG_FILE=${WCT_CFG_FILE:-$PWD/WCT-228sta.txt} -DPT_CFG_FILE=${DPT_CFG_FILE:-$PWD/dpt-pkt-sz.txt} -SCENARIO_CFG_FILE=${SCENARIO_CFG_FILE:-$PWD/228_sta_scenario.txt} - -# LANforge target machine -LFMANAGER=${LFMANAGER:-192.168.3.190} - -# LANforge GUI machine (may often be same as target) -GMANAGER=${GMANAGER:-192.168.3.190} -GMPORT=${GMPORT:-3990} -MY_TMPDIR=${MY_TMPDIR:-/tmp} - -# Test configuration (10 minutes by default, in interest of time) -STABILITY_DURATION=${STABILITY_DURATION:-600} -TEST_RIG_ID=${TEST_RIG_ID:-Ben-Home-OTA} - -# DUT configuration -#DUT_FLAGS=${DUT_FLAGS:-0x22} # AP, WPA-PSK -DUT_FLAGS=${DUT_FLAGS:-0x2} # AP, Open -DUT_FLAGS_MASK=${DUT_FLAGS_MASK:-0xFFFF} -DUT_SW_VER=${DUT_SW_VER:-OpenWrt-Stock} -DUT_HW_VER=Linksys-MR8300 -DUT_MODEL=Linksys-MR8300 -DUT_SERIAL=${DUT_SERIAL:-NA} -DUT_SSID1=${DUT_SSID1:-OpenWrt-2} -DUT_SSID2=${DUT_SSID2:-OpenWrt-5lo} -DUT_SSID3=${DUT_SSID3:-OpenWrt-5hi} -DUT_PASSWD1=${DUT_PASSWD1:-12345678} -DUT_PASSWD2=${DUT_PASSWD2:-12345678} -DUT_PASSWD3=${DUT_PASSWD3:-12345678} -DUT_BSSID1=32:23:03:81:9c:29 -DUT_BSSID2=30:23:03:81:9c:27 -DUT_BSSID3=30:23:03:81:9c:28 - -export LF_SERIAL AP_SERIAL LFPASSWD -export AP_AUTO_CFG_FILE WCT_CFG_FILE DPT_CFG_FILE SCENARIO_CFG_FILE -export LFMANAGER GMANAGER GMPORT MY_TMPDIR -export STABILITY_DURATION TEST_RIG_ID -export DUT_FLAGS DUT_FLAGS_MASK DUT_SW_VER DUT_HW_VER DUT_MODEL -export DUT_SERIAL DUT_SSID1 DUT_SSID2 DUT_SSID3 -export DUT_PASSWD1 DUT_PASSWD2 DUT_PASSWD3 -export DUT_BSSID1 DUT_BSSID2 DUT_BSSID3 - diff --git a/testbeds/ferndale-basic-01/NOTES.txt b/testbeds/ferndale-basic-01/NOTES.txt deleted file mode 100644 index d6bfa3a86..000000000 --- a/testbeds/ferndale-basic-01/NOTES.txt +++ /dev/null @@ -1,10 +0,0 @@ - -DUT is an MR8300, running TIP OpenWrt. -This uses ath10k-ct firmware, and by default, the ath10k driver only supports 32 stations per -radio. To improve this, I tweaked the setup using the fwcfg files. -The radios also only work on certain frequencies, so one has to configure them -carefully. - -See the OpenWrt-overlay directory for files that should be copied onto the DUT -to work with this test. Once OpenSync cloud stuff is complete, the overlay may -not be needed. diff --git a/testbeds/ferndale-basic-01/OpenWrt-overlay/etc/config/wireless b/testbeds/ferndale-basic-01/OpenWrt-overlay/etc/config/wireless deleted file mode 100644 index 49398647e..000000000 --- a/testbeds/ferndale-basic-01/OpenWrt-overlay/etc/config/wireless +++ /dev/null @@ -1,57 +0,0 @@ -config wifi-device 'radio0' - option type 'mac80211' - option hwmode '11a' - option path 'soc/40000000.pci/pci0000:00/0000:00:00.0/0000:01:00.0' - option htmode 'VHT80' - option disabled '0' - option channel '149' - -config wifi-iface 'default_radio0' - option device 'radio0' - option network 'lan' - option mode 'ap' - option disabled '0' - option ssid 'Default-SSID-5gu' - option hidden '0' - option key '12345678' - option encryption 'psk-mixed' - option isolate '1' - -config wifi-device 'radio1' - option type 'mac80211' - option hwmode '11g' - option path 'platform/soc/a000000.wifi' - option htmode 'HT20' - option disabled '0' - option channel '6' - -config wifi-iface 'default_radio1' - option device 'radio1' - option network 'lan' - option mode 'ap' - option disabled '0' - option ssid 'Default-SSID-2g' - option hidden '0' - option key '12345678' - option encryption 'psk-mixed' - option isolate '1' - -config wifi-device 'radio2' - option type 'mac80211' - option hwmode '11a' - option path 'platform/soc/a800000.wifi' - option htmode 'VHT80' - option disabled '0' - option channel '36' - -config wifi-iface 'default_radio2' - option device 'radio2' - option network 'lan' - option mode 'ap' - option ssid 'Default-SSID-5gl' - option key '12345678' - option encryption 'psk-mixed' - option isolate '1' - option hidden '0' - option disabled '0' - diff --git a/testbeds/ferndale-basic-01/ap-auto.txt b/testbeds/ferndale-basic-01/ap-auto.txt deleted file mode 100644 index f9c101e67..000000000 --- a/testbeds/ferndale-basic-01/ap-auto.txt +++ /dev/null @@ -1,110 +0,0 @@ -[BLANK] -sel_port-0: 1.1.sta00500 -show_events: 1 -show_log: 0 -port_sorting: 0 -kpi_id: AP Auto -bg: 0xE0ECF8 -test_rig: -show_scan: 1 -auto_helper: 1 -skip_2: 1 -skip_5: 1 -dut5b-0: ea8300 Default-SSID-5gu -dut5-0: ea8300 Default-SSID-5gl -dut2-0: ea8300 Default-SSID-2g -dut5b-1: NA -dut5-1: NA -dut2-1: NA -dut5b-2: NA -dut5-2: NA -dut2-2: NA -spatial_streams: AUTO -bandw_options: AUTO -modes: Auto -upstream_port: 1.1.2 eth2 -operator: -mconn: 1 -tos: 0 -vid_buf: 1000000 -vid_speed: 700000 -reset_stall_thresh_udp_dl: 9600 -reset_stall_thresh_udp_ul: 9600 -reset_stall_thresh_tcp_dl: 9600 -reset_stall_thresh_tcp_ul: 9600 -reset_stall_thresh_l4: 100000 -reset_stall_thresh_voip: 20000 -stab_udp_dl_min: 56000 -stab_udp_dl_max: 0 -stab_udp_ul_min: 56000 -stab_udp_ul_max: 0 -stab_tcp_dl_min: 500000 -stab_tcp_dl_max: 0 -stab_tcp_ul_min: 500000 -stab_tcp_ul_max: 0 -dl_speed: 85% -ul_speed: 85% -max_stations_2: 128 -max_stations_5: 128 -max_stations_dual: 256 -lt_sta: 2 -voip_calls: 0 -lt_dur: 3600 -reset_dur: 600 -lt_gi: 30 -dur20: 20 -hunt_retries: 1 -cap_dl: 1 -cap_ul: 0 -cap_use_pkt_sizes: 0 -stability_reset_radios: 0 -pkt_loss_thresh: 10000 -frame_sizes: 200, 512, 1024, MTU -capacities: 1, 2, 5, 10, 20, 40, 64, 128, 256, 512, 1024, MAX -radio2-0: 1.1.4 wiphy0 -radio2-1: 1.1.6 wiphy2 -radio5-0: 1.1.5 wiphy1 -radio5-1: 1.1.7 wiphy3 -radio5-2: 1.1.8 wiphy4 -radio5-3: 1.1.9 wiphy5 -radio5-4: 1.1.10 wiphy6 -radio5-5: 1.1.11 wiphy7 -basic_cx: 1 -tput: 0 -dual_band_tput: 0 -capacity: 0 -longterm: 0 -mix_stability: 0 -loop_iter: 1 -reset_batch_size: 1 -reset_duration_min: 10000 -reset_duration_max: 60000 - -# Configure pass/fail metrics for this testbed. -pf_text0: 2.4 DL 200 70Mbps -pf_text1: 2.4 DL 512 110Mbps -pf_text2: 2.4 DL 1024 115Mbps -pf_text3: 2.4 DL MTU 120Mbps -pf_text4: -pf_text5: 2.4 UL 200 88Mbps -pf_text6: 2.4 UL 512 106Mbps -pf_text7: 2.4 UL 1024 115Mbps -pf_text8: 2.4 UL MTU 120Mbps -pf_text9: -pf_text10: 5 DL 200 72Mbps -pf_text11: 5 DL 512 185Mbps -pf_text12: 5 DL 1024 370Mbps -pf_text13: 5 DL MTU 525Mbps -pf_text14: -pf_text15: 5 UL 200 90Mbps -pf_text16: 5 UL 512 230Mbps -pf_text17: 5 UL 1024 450Mbps -pf_text18: 5 UL MTU 630Mbps - -# Tune connect-time thresholds. -cx_prcnt: 950000 -cx_open_thresh: 35 -cx_psk_thresh: 75 -cx_1x_thresh: 130 - - diff --git a/testbeds/ferndale-basic-01/dpt-pkt-sz.txt b/testbeds/ferndale-basic-01/dpt-pkt-sz.txt deleted file mode 100644 index b51685d6a..000000000 --- a/testbeds/ferndale-basic-01/dpt-pkt-sz.txt +++ /dev/null @@ -1,55 +0,0 @@ -[BLANK] -show_events: 1 -show_log: 0 -port_sorting: 0 -kpi_id: Dataplane -bg: 0xE0ECF8 -test_rig: -show_scan: 1 -auto_helper: 0 -skip_2: 0 -skip_5: 0 -selected_dut: ea8300 -duration: 15000 -traffic_port: 1.1.136 sta01001 -upstream_port: 1.1.2 eth2 -path_loss: 10 -speed: 85% -speed2: 0Kbps -min_rssi_bound: -150 -max_rssi_bound: 0 -channels: AUTO -modes: Auto -pkts: 60;142;256;512;1024;MTU;4000 -spatial_streams: AUTO -security_options: AUTO -bandw_options: AUTO -traffic_types: UDP -directions: DUT Transmit;DUT Receive -txo_preamble: OFDM -txo_mcs: 0 CCK, OFDM, HT, VHT -txo_retries: No Retry -txo_sgi: OFF -txo_txpower: 15 -attenuator: 0 -attenuator2: 0 -attenuator_mod: 255 -attenuator_mod2: 255 -attenuations: 0..+50..950 -attenuations2: 0..+50..950 -chamber: 0 -tt_deg: 0..+45..359 -cust_pkt_sz: -show_3s: 0 -show_ll_graphs: 1 -show_gp_graphs: 1 -show_1m: 1 -pause_iter: 0 -show_realtime: 1 -operator: -mconn: 1 -mpkt: 1000 -tos: 0 -loop_iterations: 1 - - diff --git a/testbeds/ferndale-basic-01/run_basic.bash b/testbeds/ferndale-basic-01/run_basic.bash deleted file mode 100755 index f95e5c7c7..000000000 --- a/testbeds/ferndale-basic-01/run_basic.bash +++ /dev/null @@ -1,71 +0,0 @@ -#!/bin/bash - -# Example usage of this script -# DUT_SW_VER=my-build-id ./run_basic.bash -# -# Other DUT variables in test_bed_cfg.bash may also be over-ridden, -# including those below. See LANforge 'add_dut' CLI command for -# details on what these variables are for. - -# DUT_FLAGS DUT_FLAGS_MASK DUT_SW_VER DUT_HW_VER DUT_MODEL -# DUT_SERIAL DUT_SSID1 DUT_SSID2 DUT_SSID3 -# DUT_PASSWD1 DUT_PASSWD2 DUT_PASSWD3 -# DUT_BSSID1 DUT_BSSID2 DUT_BSSID3 - -# Source config file -. test_bed_cfg.bash - -echo "Top wlan-testing git commits.
" > ./tmp_gitlog.html
-git log -n 8 --oneline >> ./tmp_gitlog.html
-echo "
" >> ./tmp_gitlog.html - -NOTES_HTML=`pwd`/testbed_notes.html -GITLOG=`pwd`/tmp_gitlog.html - -if [ -d "../../../wlan-ap" ] -then - DUTGITLOG=/tmp/${DUT_SW_VER}_dut_gitlog.html - echo "Top wlan-ap git commits.
" > $DUTGITLOG
-    (cd ../../../wlan-ap && git log -n 8 --oneline $DUT_SW_VER >> $DUTGITLOG && cd -)
-    echo "
" >> $DUTGITLOG - export DUTGITLOG -fi -export NOTES_HTML GITLOG - -# TODO: Copy config file to cloud controller and restart it -# and/or do other config to make it work. - -# Change to scripts dir -cd ../../lanforge/lanforge-scripts/gui - -# Where to place results. basic_regression.bash will use this variable. -RSLTS_DIR=/tmp/ferndale-01-basic-regression -export RSLTS_DIR - -# Clean any existing data from the results dir -rm -fr $RSLTS_DIR - -# Run one test -# DEFAULT_ENABLE=0 DO_SHORT_AP_STABILITY_RESET=1 ./basic_regression.bash - -# Clean up old DHCP leases -../lf_gui_cmd.pl --manager $GMANAGER --port $GMPORT --cmd "cli clear_port_counters ALL ALL ALL dhcp_leases" - -# Run all tests -./basic_regression.bash - -cd - - -if [ ! -d $RSLTS_DIR ] -then - echo "Test did not run as expected, $RSLTS_DIR not found." - mkdir -p $RSLTS_DIR -fi - -if [ -f ${MY_TMPDIR}/basic_regression_log.txt ] -then - echo "Found ${MY_TMPDIR}/basic_regression_log.txt, moving into $RSLTS_DIR" - mv ${MY_TMPDIR}/basic_regression_log.txt $RSLTS_DIR/ -fi - -echo "See results in $RSLTS_DIR" diff --git a/testbeds/ferndale-basic-01/run_basic_fast.bash b/testbeds/ferndale-basic-01/run_basic_fast.bash deleted file mode 100755 index 72b8cc7af..000000000 --- a/testbeds/ferndale-basic-01/run_basic_fast.bash +++ /dev/null @@ -1,83 +0,0 @@ -#!/bin/bash - -# Example usage of this script -# DUT_SW_VER=my-build-id ./run_basic.bash -# -# Other DUT variables in test_bed_cfg.bash may also be over-ridden, -# including those below. See LANforge 'add_dut' CLI command for -# details on what these variables are for. - -# DUT_FLAGS DUT_FLAGS_MASK DUT_SW_VER DUT_HW_VER DUT_MODEL -# DUT_SERIAL DUT_SSID1 DUT_SSID2 DUT_SSID3 -# DUT_PASSWD1 DUT_PASSWD2 DUT_PASSWD3 -# DUT_BSSID1 DUT_BSSID2 DUT_BSSID3 - -set -x - -DO_SHORT_AP_BASIC_CX=${DO_SHORT_AP_BASIC_CX:-1} -DO_WCT_BI=${DO_WCT_BI:-1} - -export DO_SHORT_AP_BASI_CX DO_WCT_BI - -# Source config file -. test_bed_cfg.bash - -echo "Top wlan-testing git commits.
" > ./tmp_gitlog.html
-git log -n 8 --oneline >> ./tmp_gitlog.html
-echo "
" >> ./tmp_gitlog.html - -NOTES_HTML=`pwd`/testbed_notes.html -GITLOG=`pwd`/tmp_gitlog.html - -if [ -d "../../../wlan-ap" ] -then - DUTGITLOG=/tmp/${DUT_SW_VER}_dut_gitlog.html - echo "Top wlan-ap git commits.
" > $DUTGITLOG
-    (cd ../../../wlan-ap && git log -n 8 --oneline $DUT_SW_VER >> $DUTGITLOG && cd -)
-    echo "
" >> $DUTGITLOG - export DUTGITLOG -fi -export NOTES_HTML GITLOG - -# TODO: Copy config file to cloud controller and restart it -# and/or do other config to make it work. - -# Change to scripts dir -cd ../../lanforge/lanforge-scripts/gui - -# Where to place results. basic_regression.bash will use this variable. -RSLTS_DIR=/tmp/ferndale-01-basic-regression-fast -export RSLTS_DIR - -# Clean any existing data from the results dir -rm -fr $RSLTS_DIR - -# Clean up old DHCP leases -../lf_gui_cmd.pl --manager $GMANAGER --port $GMPORT --cmd "cli clear_port_counters ALL ALL ALL dhcp_leases" - -# Run a subset of available tests -# See 'Tests to run' comment in basic_regression.bash for available options. - -#DEFAULT_ENABLE=0 WCT_DURATION=20s DO_SHORT_AP_BASIC_CX=1 DO_WCT_BI=1 ./basic_regression.bash - -DEFAULT_ENABLE=0 WCT_DURATION=20s ./basic_regression.bash - - -# Run all tests -#./basic_regression.bash - -cd - - -if [ ! -d $RSLTS_DIR ] -then - echo "Test did not run as expected, $RSLTS_DIR not found." - mkdir -p $RSLTS_DIR -fi - -if [ -f ${MY_TMPDIR}/basic_regression_log.txt ] -then - echo "Found ${MY_TMPDIR}/basic_regression_log.txt, moving into $RSLTS_DIR" - mv ${MY_TMPDIR}/basic_regression_log.txt $RSLTS_DIR/ -fi - -echo "See results in $RSLTS_DIR" diff --git a/testbeds/ferndale-basic-01/scenario.txt b/testbeds/ferndale-basic-01/scenario.txt deleted file mode 100644 index 78da790a3..000000000 --- a/testbeds/ferndale-basic-01/scenario.txt +++ /dev/null @@ -1,15 +0,0 @@ -profile_link 1.1 STA-AC 64 'DUT: ea8300 Radio-1' NA wiphy0,AUTO -1 -profile_link 1.1 STA-AC 64 'DUT: ea8300 Radio-1' NA wiphy2,AUTO -1 -profile_link 1.1 STA-AC 64 'DUT: ea8300 Radio-2' NA wiphy1,AUTO -1 -profile_link 1.1 STA-AC 64 'DUT: ea8300 Radio-3' NA wiphy3,AUTO -1 -profile_link 1.1 upstream-dhcp 1 NA NA eth2,AUTO -1 -profile_link 1.1 uplink-nat 1 'DUT: upstream LAN 92.168.100.1/24' NA eth3,eth2 -1 -profile_link 1.1 STA-AC 1 'DUT: ea8300 Radio-2' NA wiphy4,AUTO -1 -profile_link 1.1 STA-AC 1 'DUT: ea8300 Radio-3' NA wiphy5,AUTO -1 -profile_link 1.1 STA-AC 1 'DUT: ea8300 Radio-2' NA wiphy6,AUTO -1 -profile_link 1.1 STA-AC 1 'DUT: ea8300 Radio-3' NA wiphy7,AUTO -1 -dut ea8300 393 148 -dut upstream 306 62 -resource 1.1 132 218 - - diff --git a/testbeds/ferndale-basic-01/scenario_small.txt b/testbeds/ferndale-basic-01/scenario_small.txt deleted file mode 100644 index 29e92c5ac..000000000 --- a/testbeds/ferndale-basic-01/scenario_small.txt +++ /dev/null @@ -1,15 +0,0 @@ -profile_link 1.1 STA-AC 8 'DUT: ea8300 Radio-1' NA wiphy0,AUTO -1 -profile_link 1.1 STA-AC 8 'DUT: ea8300 Radio-1' NA wiphy2,AUTO -1 -profile_link 1.1 STA-AC 8 'DUT: ea8300 Radio-2' NA wiphy1,AUTO -1 -profile_link 1.1 STA-AC 8 'DUT: ea8300 Radio-3' NA wiphy3,AUTO -1 -profile_link 1.1 upstream-dhcp 1 NA NA eth2,AUTO -1 -profile_link 1.1 uplink-nat 1 'DUT: upstream LAN 92.168.100.1/24' NA eth3,eth2 -1 -#profile_link 1.1 STA-AC 1 'DUT: ea8300 Radio-2' NA wiphy4,AUTO -1 -#profile_link 1.1 STA-AC 1 'DUT: ea8300 Radio-3' NA wiphy5,AUTO -1 -#profile_link 1.1 STA-AC 1 'DUT: ea8300 Radio-2' NA wiphy6,AUTO -1 -#profile_link 1.1 STA-AC 1 'DUT: ea8300 Radio-3' NA wiphy7,AUTO -1 -dut ea8300 393 148 -dut upstream 306 62 -resource 1.1 132 218 - - diff --git a/testbeds/ferndale-basic-01/test_bed_cfg.bash b/testbeds/ferndale-basic-01/test_bed_cfg.bash deleted file mode 100644 index 4c3270d01..000000000 --- a/testbeds/ferndale-basic-01/test_bed_cfg.bash +++ /dev/null @@ -1,61 +0,0 @@ -# Example test-bed configuration - -# Scripts should source this file to set the default environment variables -# and then override the variables specific to their test case (and it can be done -# in opposite order for same results -# -# After the env variables are set, -# call the 'lanforge/lanforge-scripts/gui/basic_regression.bash' -# from the directory in which it resides. - -PWD=`pwd` -AP_SERIAL=${AP_SERIAL:-/dev/ttyUSB0} -LF_SERIAL=${LF_SERIAL:-/dev/ttyUSB1} -LFPASSWD=${LFPASSWD:-lanforge} # Root password on LANforge machine -AP_AUTO_CFG_FILE=${AP_AUTO_CFG_FILE:-$PWD/ap-auto.txt} -WCT_CFG_FILE=${WCT_CFG_FILE:-$PWD/wct.txt} -DPT_CFG_FILE=${DPT_CFG_FILE:-$PWD/dpt-pkt-sz.txt} -SCENARIO_CFG_FILE=${SCENARIO_CFG_FILE:-$PWD/scenario.txt} - -# Default to enable cloud-sdk for this testbed, cloud-sdk is at IP addr below -#USE_CLOUD_SDK=${USE_CLOUD_SDK:-192.168.100.164} - -# LANforge target machine -LFMANAGER=${LFMANAGER:-192.168.100.209} - -# LANforge GUI machine (may often be same as target) -GMANAGER=${GMANAGER:-192.168.100.209} -GMPORT=${GMPORT:-3990} -MY_TMPDIR=${MY_TMPDIR:-/tmp} - -# Test configuration (10 minutes by default, in interest of time) -STABILITY_DURATION=${STABILITY_DURATION:-600} -TEST_RIG_ID=${TEST_RIG_ID:-Ferndale-01-Basic} - -# DUT configuration -DUT_FLAGS=${DUT_FLAGS:-0x22} # AP, WPA-PSK -#DUT_FLAGS=${DUT_FLAGS:-0x2} # AP, Open -DUT_FLAGS_MASK=${DUT_FLAGS_MASK:-0xFFFF} -DUT_SW_VER=${DUT_SW_VER:-OpenWrt-Stock} -DUT_HW_VER=Linksys-EA8300 -DUT_MODEL=Linksys-EA8300 -DUT_SERIAL=${DUT_SERIAL:-NA} -DUT_SSID1=${DUT_SSID1:-Default-SSID-2g} -DUT_SSID2=${DUT_SSID2:-Default-SSID-5gl} -DUT_SSID3=${DUT_SSID3:-Default-SSID-5gu} -DUT_PASSWD1=${DUT_PASSWD1:-12345678} -DUT_PASSWD2=${DUT_PASSWD2:-12345678} -DUT_PASSWD3=${DUT_PASSWD3:-12345678} -DUT_BSSID1=24:f5:a2:08:21:6c -DUT_BSSID2=24:f5:a2:08:21:6d -DUT_BSSID3=26:f5:a2:08:21:6e - -export LF_SERIAL AP_SERIAL LFPASSWD -export AP_AUTO_CFG_FILE WCT_CFG_FILE DPT_CFG_FILE SCENARIO_CFG_FILE -export LFMANAGER GMANAGER GMPORT MY_TMPDIR -export STABILITY_DURATION TEST_RIG_ID -export DUT_FLAGS DUT_FLAGS_MASK DUT_SW_VER DUT_HW_VER DUT_MODEL -export DUT_SERIAL DUT_SSID1 DUT_SSID2 DUT_SSID3 -export DUT_PASSWD1 DUT_PASSWD2 DUT_PASSWD3 -export DUT_BSSID1 DUT_BSSID2 DUT_BSSID3 -export USE_CLOUD_SDK diff --git a/testbeds/ferndale-basic-01/wct.txt b/testbeds/ferndale-basic-01/wct.txt deleted file mode 100644 index 3c7910719..000000000 --- a/testbeds/ferndale-basic-01/wct.txt +++ /dev/null @@ -1,323 +0,0 @@ -[BLANK] -sel_port-0: 1.1.eth2 -sel_port-1: 1.1.sta00000 -sel_port-2: 1.1.sta01000 -sel_port-3: 1.1.sta00500 -sel_port-4: 1.1.sta01500 -sel_port-5: 1.1.sta03000 -sel_port-6: 1.1.sta03500 -sel_port-7: 1.1.sta04000 -sel_port-8: 1.1.sta04500 -sel_port-9: 1.1.sta00001 -sel_port-10: 1.1.sta01001 -sel_port-11: 1.1.sta00501 -sel_port-12: 1.1.sta01501 -sel_port-13: 1.1.sta00002 -sel_port-14: 1.1.sta01002 -sel_port-15: 1.1.sta00502 -sel_port-16: 1.1.sta01502 -sel_port-17: 1.1.sta00003 -sel_port-18: 1.1.sta01003 -sel_port-19: 1.1.sta00503 -sel_port-20: 1.1.sta01503 -sel_port-21: 1.1.sta00004 -sel_port-22: 1.1.sta01004 -sel_port-23: 1.1.sta00504 -sel_port-24: 1.1.sta01504 -sel_port-25: 1.1.sta00005 -sel_port-26: 1.1.sta01005 -sel_port-27: 1.1.sta00505 -sel_port-28: 1.1.sta01505 -sel_port-29: 1.1.sta00006 -sel_port-30: 1.1.sta01006 -sel_port-31: 1.1.sta00506 -sel_port-32: 1.1.sta01506 -sel_port-33: 1.1.sta00007 -sel_port-34: 1.1.sta01007 -sel_port-35: 1.1.sta00507 -sel_port-36: 1.1.sta01507 -sel_port-37: 1.1.sta00008 -sel_port-38: 1.1.sta01008 -sel_port-39: 1.1.sta00508 -sel_port-40: 1.1.sta01508 -sel_port-41: 1.1.sta00009 -sel_port-42: 1.1.sta01009 -sel_port-43: 1.1.sta00509 -sel_port-44: 1.1.sta01509 -sel_port-45: 1.1.sta00010 -sel_port-46: 1.1.sta01010 -sel_port-47: 1.1.sta00510 -sel_port-48: 1.1.sta01510 -sel_port-49: 1.1.sta00011 -sel_port-50: 1.1.sta01011 -sel_port-51: 1.1.sta00511 -sel_port-52: 1.1.sta01511 -sel_port-53: 1.1.sta00012 -sel_port-54: 1.1.sta01012 -sel_port-55: 1.1.sta00512 -sel_port-56: 1.1.sta01512 -sel_port-57: 1.1.sta00013 -sel_port-58: 1.1.sta01013 -sel_port-59: 1.1.sta00513 -sel_port-60: 1.1.sta01513 -sel_port-61: 1.1.sta00014 -sel_port-62: 1.1.sta01014 -sel_port-63: 1.1.sta00514 -sel_port-64: 1.1.sta01514 -sel_port-65: 1.1.sta00015 -sel_port-66: 1.1.sta01015 -sel_port-67: 1.1.sta00515 -sel_port-68: 1.1.sta01515 -sel_port-69: 1.1.sta00016 -sel_port-70: 1.1.sta01016 -sel_port-71: 1.1.sta00516 -sel_port-72: 1.1.sta01516 -sel_port-73: 1.1.sta00017 -sel_port-74: 1.1.sta01017 -sel_port-75: 1.1.sta00517 -sel_port-76: 1.1.sta01517 -sel_port-77: 1.1.sta00018 -sel_port-78: 1.1.sta01018 -sel_port-79: 1.1.sta00518 -sel_port-80: 1.1.sta01518 -sel_port-81: 1.1.sta00019 -sel_port-82: 1.1.sta01019 -sel_port-83: 1.1.sta00519 -sel_port-84: 1.1.sta01519 -sel_port-85: 1.1.sta00020 -sel_port-86: 1.1.sta01020 -sel_port-87: 1.1.sta00520 -sel_port-88: 1.1.sta01520 -sel_port-89: 1.1.sta00021 -sel_port-90: 1.1.sta01021 -sel_port-91: 1.1.sta00521 -sel_port-92: 1.1.sta01521 -sel_port-93: 1.1.sta00022 -sel_port-94: 1.1.sta01022 -sel_port-95: 1.1.sta00522 -sel_port-96: 1.1.sta01522 -sel_port-97: 1.1.sta00023 -sel_port-98: 1.1.sta01023 -sel_port-99: 1.1.sta00523 -sel_port-100: 1.1.sta01523 -sel_port-101: 1.1.sta00024 -sel_port-102: 1.1.sta01024 -sel_port-103: 1.1.sta00524 -sel_port-104: 1.1.sta01524 -sel_port-105: 1.1.sta00025 -sel_port-106: 1.1.sta01025 -sel_port-107: 1.1.sta00525 -sel_port-108: 1.1.sta01525 -sel_port-109: 1.1.sta00026 -sel_port-110: 1.1.sta01026 -sel_port-111: 1.1.sta00526 -sel_port-112: 1.1.sta01526 -sel_port-113: 1.1.sta00027 -sel_port-114: 1.1.sta01027 -sel_port-115: 1.1.sta00527 -sel_port-116: 1.1.sta01527 -sel_port-117: 1.1.sta00028 -sel_port-118: 1.1.sta01028 -sel_port-119: 1.1.sta00528 -sel_port-120: 1.1.sta01528 -sel_port-121: 1.1.sta00029 -sel_port-122: 1.1.sta01029 -sel_port-123: 1.1.sta00529 -sel_port-124: 1.1.sta01529 -sel_port-125: 1.1.sta00030 -sel_port-126: 1.1.sta01030 -sel_port-127: 1.1.sta00530 -sel_port-128: 1.1.sta01530 -sel_port-129: 1.1.sta00031 -sel_port-130: 1.1.sta01031 -sel_port-131: 1.1.sta00531 -sel_port-132: 1.1.sta01531 -sel_port-133: 1.1.sta00032 -sel_port-134: 1.1.sta01032 -sel_port-135: 1.1.sta00532 -sel_port-136: 1.1.sta01532 -sel_port-137: 1.1.sta00033 -sel_port-138: 1.1.sta01033 -sel_port-139: 1.1.sta00533 -sel_port-140: 1.1.sta01533 -sel_port-141: 1.1.sta00034 -sel_port-142: 1.1.sta01034 -sel_port-143: 1.1.sta00534 -sel_port-144: 1.1.sta01534 -sel_port-145: 1.1.sta00035 -sel_port-146: 1.1.sta01035 -sel_port-147: 1.1.sta00535 -sel_port-148: 1.1.sta01535 -sel_port-149: 1.1.sta00036 -sel_port-150: 1.1.sta01036 -sel_port-151: 1.1.sta00536 -sel_port-152: 1.1.sta01536 -sel_port-153: 1.1.sta00037 -sel_port-154: 1.1.sta01037 -sel_port-155: 1.1.sta00537 -sel_port-156: 1.1.sta01537 -sel_port-157: 1.1.sta00038 -sel_port-158: 1.1.sta01038 -sel_port-159: 1.1.sta00538 -sel_port-160: 1.1.sta01538 -sel_port-161: 1.1.sta00039 -sel_port-162: 1.1.sta01039 -sel_port-163: 1.1.sta00539 -sel_port-164: 1.1.sta01539 -sel_port-165: 1.1.sta00040 -sel_port-166: 1.1.sta01040 -sel_port-167: 1.1.sta00540 -sel_port-168: 1.1.sta01540 -sel_port-169: 1.1.sta00041 -sel_port-170: 1.1.sta01041 -sel_port-171: 1.1.sta00541 -sel_port-172: 1.1.sta01541 -sel_port-173: 1.1.sta00042 -sel_port-174: 1.1.sta01042 -sel_port-175: 1.1.sta00542 -sel_port-176: 1.1.sta01542 -sel_port-177: 1.1.sta00043 -sel_port-178: 1.1.sta01043 -sel_port-179: 1.1.sta00543 -sel_port-180: 1.1.sta01543 -sel_port-181: 1.1.sta00044 -sel_port-182: 1.1.sta01044 -sel_port-183: 1.1.sta00544 -sel_port-184: 1.1.sta01544 -sel_port-185: 1.1.sta00045 -sel_port-186: 1.1.sta01045 -sel_port-187: 1.1.sta00545 -sel_port-188: 1.1.sta01545 -sel_port-189: 1.1.sta00046 -sel_port-190: 1.1.sta01046 -sel_port-191: 1.1.sta00546 -sel_port-192: 1.1.sta01546 -sel_port-193: 1.1.sta00047 -sel_port-194: 1.1.sta01047 -sel_port-195: 1.1.sta00547 -sel_port-196: 1.1.sta01547 -sel_port-197: 1.1.sta00048 -sel_port-198: 1.1.sta01048 -sel_port-199: 1.1.sta00548 -sel_port-200: 1.1.sta01548 -sel_port-201: 1.1.sta00049 -sel_port-202: 1.1.sta01049 -sel_port-203: 1.1.sta00549 -sel_port-204: 1.1.sta01549 -sel_port-205: 1.1.sta00050 -sel_port-206: 1.1.sta01050 -sel_port-207: 1.1.sta00550 -sel_port-208: 1.1.sta01550 -sel_port-209: 1.1.sta00051 -sel_port-210: 1.1.sta01051 -sel_port-211: 1.1.sta00551 -sel_port-212: 1.1.sta01551 -sel_port-213: 1.1.sta00052 -sel_port-214: 1.1.sta01052 -sel_port-215: 1.1.sta00552 -sel_port-216: 1.1.sta01552 -sel_port-217: 1.1.sta00053 -sel_port-218: 1.1.sta01053 -sel_port-219: 1.1.sta00553 -sel_port-220: 1.1.sta01553 -sel_port-221: 1.1.sta00054 -sel_port-222: 1.1.sta01054 -sel_port-223: 1.1.sta00554 -sel_port-224: 1.1.sta01554 -sel_port-225: 1.1.sta00055 -sel_port-226: 1.1.sta01055 -sel_port-227: 1.1.sta00555 -sel_port-228: 1.1.sta01555 -sel_port-229: 1.1.sta00056 -sel_port-230: 1.1.sta01056 -sel_port-231: 1.1.sta00556 -sel_port-232: 1.1.sta01556 -sel_port-233: 1.1.sta00057 -sel_port-234: 1.1.sta01057 -sel_port-235: 1.1.sta00557 -sel_port-236: 1.1.sta01557 -sel_port-237: 1.1.sta00058 -sel_port-238: 1.1.sta01058 -sel_port-239: 1.1.sta00558 -sel_port-240: 1.1.sta01558 -sel_port-241: 1.1.sta00059 -sel_port-242: 1.1.sta01059 -sel_port-243: 1.1.sta00559 -sel_port-244: 1.1.sta01559 -sel_port-245: 1.1.sta00060 -sel_port-246: 1.1.sta01060 -sel_port-247: 1.1.sta00560 -sel_port-248: 1.1.sta01560 -sel_port-249: 1.1.sta00061 -sel_port-250: 1.1.sta01061 -sel_port-251: 1.1.sta00561 -sel_port-252: 1.1.sta01561 -sel_port-253: 1.1.sta00062 -sel_port-254: 1.1.sta01062 -sel_port-255: 1.1.sta00562 -sel_port-256: 1.1.sta01562 -sel_port-257: 1.1.sta00063 -sel_port-258: 1.1.sta01063 -sel_port-259: 1.1.sta00563 -sel_port-260: 1.1.sta01563 -show_events: 1 -show_log: 0 -port_sorting: 2 -kpi_id: WiFi Capacity -bg: 0xE0ECF8 -test_rig: -show_scan: 1 -auto_helper: 1 -skip_2: 0 -skip_5: 0 -batch_size: 1,5,10,20,40,80 -loop_iter: 1 -duration: 30000 -test_groups: 0 -test_groups_subset: 0 -protocol: TCP-IPv4 -dl_rate_sel: Total Download Rate: -dl_rate: 1000000000 -ul_rate_sel: Total Upload Rate: -ul_rate: 1000000000 -prcnt_tcp: 100000 -l4_endp: -pdu_sz: -1 -mss_sel: 1 -sock_buffer: 0 -ip_tos: 0 -multi_conn: -1 -min_speed: -1 -ps_interval: 60-second Running Average -fairness: 0 -naptime: 0 -before_clear: 5000 -rpt_timer: 1000 -try_lower: 0 -rnd_rate: 1 -leave_ports_up: 0 -down_quiesce: 0 -udp_nat: 1 -record_other_ssids: 0 -clear_reset_counters: 0 -do_pf: 0 -pf_min_period_dl: 128000 -pf_min_period_ul: 0 -pf_max_reconnects: 0 -use_mix_pdu: 0 -pdu_prcnt_pps: 1 -pdu_prcnt_bps: 0 -pdu_mix_ln-0: -show_scan: 1 -show_golden_3p: 0 -save_csv: 0 -show_realtime: 1 -show_pie: 1 -show_per_loop_totals: 1 -show_cx_time: 1 -show_dhcp: 1 -show_anqp: 1 -show_4way: 1 -show_latency: 1 - - diff --git a/testbeds/nola-basic-01/NOTES.txt b/testbeds/nola-basic-01/NOTES.txt deleted file mode 100644 index 9dabae284..000000000 --- a/testbeds/nola-basic-01/NOTES.txt +++ /dev/null @@ -1,2 +0,0 @@ - -DUT is an Edge-Core 5410, running TIP OpenWrt. diff --git a/testbeds/nola-basic-01/OpenWrt-overlay/etc/config/wireless b/testbeds/nola-basic-01/OpenWrt-overlay/etc/config/wireless deleted file mode 100644 index 20cf5293b..000000000 --- a/testbeds/nola-basic-01/OpenWrt-overlay/etc/config/wireless +++ /dev/null @@ -1,32 +0,0 @@ -config wifi-device 'radio0' - option type 'mac80211' - option channel '36' - option hwmode '11a' - option path 'soc/1b700000.pci/pci0001:00/0001:00:00.0/0001:01:00.0' - option htmode 'VHT80' - option disabled '0' - -config wifi-iface 'default_radio0' - option device 'radio0' - option network 'lan' - option mode 'ap' - option ssid 'Default-SSID-5gl' - option encryption 'psk-mixed' - option key '12345678' - -config wifi-device 'radio1' - option type 'mac80211' - option channel '11' - option hwmode '11g' - option path 'soc/1b900000.pci/pci0002:00/0002:00:00.0/0002:01:00.0' - option htmode 'HT20' - option disabled '0' - -config wifi-iface 'default_radio1' - option device 'radio1' - option network 'lan' - option mode 'ap' - option ssid 'Default-SSID-2g' - option encryption 'psk-mixed' - option key '12345678' - diff --git a/testbeds/nola-basic-01/ap-auto.txt b/testbeds/nola-basic-01/ap-auto.txt deleted file mode 100644 index 8ca4b220c..000000000 --- a/testbeds/nola-basic-01/ap-auto.txt +++ /dev/null @@ -1,111 +0,0 @@ -[BLANK] -sel_port-0: 1.1.sta00500 -show_events: 1 -show_log: 0 -port_sorting: 0 -kpi_id: AP Auto -bg: 0xE0ECF8 -test_rig: -show_scan: 1 -auto_helper: 1 -skip_2: 1 -skip_5: 1 -dut5b-0: NA -dut5-0: ecw5410 Default-SSID-5gl -dut2-0: ecw5410 Default-SSID-2g -dut5b-1: NA -dut5-1: NA -dut2-1: NA -dut5b-2: NA -dut5-2: NA -dut2-2: NA -spatial_streams: AUTO -bandw_options: AUTO -modes: Auto -upstream_port: 1.1.2 eth2 -operator: -mconn: 1 -tos: 0 -vid_buf: 1000000 -vid_speed: 700000 -reset_stall_thresh_udp_dl: 9600 -reset_stall_thresh_udp_ul: 9600 -reset_stall_thresh_tcp_dl: 9600 -reset_stall_thresh_tcp_ul: 9600 -reset_stall_thresh_l4: 100000 -reset_stall_thresh_voip: 20000 -stab_udp_dl_min: 56000 -stab_udp_dl_max: 0 -stab_udp_ul_min: 56000 -stab_udp_ul_max: 0 -stab_tcp_dl_min: 500000 -stab_tcp_dl_max: 0 -stab_tcp_ul_min: 500000 -stab_tcp_ul_max: 0 -dl_speed: 85% -ul_speed: 85% -max_stations_2: 66 -max_stations_5: 66 -max_stations_dual: 132 -lt_sta: 2 -voip_calls: 0 -lt_dur: 3600 -reset_dur: 600 -lt_gi: 30 -dur20: 20 -hunt_retries: 1 -cap_dl: 1 -cap_ul: 0 -cap_use_pkt_sizes: 0 -stability_reset_radios: 0 -pkt_loss_thresh: 10000 -frame_sizes: 200, 512, 1024, MTU -capacities: 1, 2, 5, 10, 20, 40, 64, 128, 256, 512, 1024, MAX -radio2-0: 1.1.4 wiphy0 -radio2-1: 1.1.6 wiphy2 -radio2-2: 1.1.8 wiphy4 -radio5-0: 1.1.5 wiphy1 -radio5-1: 1.1.7 wiphy3 -radio5-2: 1.1.9 wiphy5 -radio5-3: -radio5-4: -radio5-5: -basic_cx: 1 -tput: 0 -dual_band_tput: 0 -capacity: 0 -longterm: 0 -mix_stability: 0 -loop_iter: 1 -reset_batch_size: 1 -reset_duration_min: 10000 -reset_duration_max: 60000 - -# Configure pass/fail metrics for this testbed. -pf_text0: 2.4 DL 200 70Mbps -pf_text1: 2.4 DL 512 110Mbps -pf_text2: 2.4 DL 1024 115Mbps -pf_text3: 2.4 DL MTU 120Mbps -pf_text4: -pf_text5: 2.4 UL 200 88Mbps -pf_text6: 2.4 UL 512 106Mbps -pf_text7: 2.4 UL 1024 115Mbps -pf_text8: 2.4 UL MTU 120Mbps -pf_text9: -pf_text10: 5 DL 200 72Mbps -pf_text11: 5 DL 512 185Mbps -pf_text12: 5 DL 1024 370Mbps -pf_text13: 5 DL MTU 525Mbps -pf_text14: -pf_text15: 5 UL 200 90Mbps -pf_text16: 5 UL 512 230Mbps -pf_text17: 5 UL 1024 450Mbps -pf_text18: 5 UL MTU 630Mbps - -# Tune connect-time thresholds. -cx_prcnt: 950000 -cx_open_thresh: 35 -cx_psk_thresh: 75 -cx_1x_thresh: 130 - - diff --git a/testbeds/nola-basic-01/dpt-pkt-sz.txt b/testbeds/nola-basic-01/dpt-pkt-sz.txt deleted file mode 100644 index 5044ebd36..000000000 --- a/testbeds/nola-basic-01/dpt-pkt-sz.txt +++ /dev/null @@ -1,55 +0,0 @@ -[BLANK] -show_events: 1 -show_log: 0 -port_sorting: 0 -kpi_id: Dataplane -bg: 0xE0ECF8 -test_rig: -show_scan: 1 -auto_helper: 0 -skip_2: 0 -skip_5: 0 -selected_dut: ecw5410 -duration: 15000 -traffic_port: 1.1.136 sta00500 -upstream_port: 1.1.2 eth2 -path_loss: 10 -speed: 85% -speed2: 0Kbps -min_rssi_bound: -150 -max_rssi_bound: 0 -channels: AUTO -modes: Auto -pkts: 60;142;256;512;1024;MTU;4000 -spatial_streams: AUTO -security_options: AUTO -bandw_options: AUTO -traffic_types: UDP -directions: DUT Transmit;DUT Receive -txo_preamble: OFDM -txo_mcs: 0 CCK, OFDM, HT, VHT -txo_retries: No Retry -txo_sgi: OFF -txo_txpower: 15 -attenuator: 0 -attenuator2: 0 -attenuator_mod: 255 -attenuator_mod2: 255 -attenuations: 0..+50..950 -attenuations2: 0..+50..950 -chamber: 0 -tt_deg: 0..+45..359 -cust_pkt_sz: -show_3s: 0 -show_ll_graphs: 1 -show_gp_graphs: 1 -show_1m: 1 -pause_iter: 0 -show_realtime: 1 -operator: -mconn: 1 -mpkt: 1000 -tos: 0 -loop_iterations: 1 - - diff --git a/testbeds/nola-basic-01/run_basic.bash b/testbeds/nola-basic-01/run_basic.bash deleted file mode 100755 index 6e2cec8b5..000000000 --- a/testbeds/nola-basic-01/run_basic.bash +++ /dev/null @@ -1,71 +0,0 @@ -#!/bin/bash - -# Example usage of this script -# DUT_SW_VER=my-build-id ./run_basic.bash -# -# Other DUT variables in test_bed_cfg.bash may also be over-ridden, -# including those below. See LANforge 'add_dut' CLI command for -# details on what these variables are for. - -# DUT_FLAGS DUT_FLAGS_MASK DUT_SW_VER DUT_HW_VER DUT_MODEL -# DUT_SERIAL DUT_SSID1 DUT_SSID2 DUT_SSID3 -# DUT_PASSWD1 DUT_PASSWD2 DUT_PASSWD3 -# DUT_BSSID1 DUT_BSSID2 DUT_BSSID3 - -# Source config file -. test_bed_cfg.bash - -echo "Top wlan-testing git commits.
" > ./tmp_gitlog.html
-git log -n 8 --oneline >> ./tmp_gitlog.html
-echo "
" >> ./tmp_gitlog.html - -NOTES_HTML=`pwd`/testbed_notes.html -GITLOG=`pwd`/tmp_gitlog.html - -if [ -d "../../../wlan-ap" ] -then - DUTGITLOG=/tmp/${DUT_SW_VER}_dut_gitlog.html - echo "Top wlan-ap git commits.
" > $DUTGITLOG
-    (cd ../../../wlan-ap && git log -n 8 --oneline $DUT_SW_VER >> $DUTGITLOG && cd -)
-    echo "
" >> $DUTGITLOG - export DUTGITLOG -fi -export NOTES_HTML GITLOG - -# TODO: Copy config file to cloud controller and restart it -# and/or do other config to make it work. - -# Change to scripts dir -cd ../../lanforge/lanforge-scripts/gui - -# Where to place results. basic_regression.bash will use this variable. -RSLTS_DIR=/tmp/nola-01-basic-regression -export RSLTS_DIR - -# Clean any existing data from the results dir -rm -fr $RSLTS_DIR - -# Run one test -# DEFAULT_ENABLE=0 DO_SHORT_AP_STABILITY_RESET=1 ./basic_regression.bash - -# Clean up old DHCP leases -../lf_gui_cmd.pl --manager $GMANAGER --port $GMPORT --cmd "cli clear_port_counters ALL ALL ALL dhcp_leases" - -# Run all tests -./basic_regression.bash - -cd - - -if [ ! -d $RSLTS_DIR ] -then - echo "Test did not run as expected, $RSLTS_DIR not found." - mkdir -p $RSLTS_DIR -fi - -if [ -f ${MY_TMPDIR}/basic_regression_log.txt ] -then - echo "Found ${MY_TMPDIR}/basic_regression_log.txt, moving into $RSLTS_DIR" - mv ${MY_TMPDIR}/basic_regression_log.txt $RSLTS_DIR/ -fi - -echo "See results in $RSLTS_DIR" diff --git a/testbeds/nola-basic-01/run_basic_fast.bash b/testbeds/nola-basic-01/run_basic_fast.bash deleted file mode 100755 index 1031f296a..000000000 --- a/testbeds/nola-basic-01/run_basic_fast.bash +++ /dev/null @@ -1,83 +0,0 @@ -#!/bin/bash - -# Example usage of this script -# DUT_SW_VER=my-build-id ./run_basic.bash -# -# Other DUT variables in test_bed_cfg.bash may also be over-ridden, -# including those below. See LANforge 'add_dut' CLI command for -# details on what these variables are for. - -# DUT_FLAGS DUT_FLAGS_MASK DUT_SW_VER DUT_HW_VER DUT_MODEL -# DUT_SERIAL DUT_SSID1 DUT_SSID2 DUT_SSID3 -# DUT_PASSWD1 DUT_PASSWD2 DUT_PASSWD3 -# DUT_BSSID1 DUT_BSSID2 DUT_BSSID3 - -#set -x - -DO_SHORT_AP_BASIC_CX=${DO_SHORT_AP_BASIC_CX:-1} -DO_WCT_BI=${DO_WCT_BI:-1} - -export DO_SHORT_AP_BASI_CX DO_WCT_BI - -# Source config file -. test_bed_cfg.bash - -echo "Top wlan-testing git commits.
" > ./tmp_gitlog.html
-git log -n 8 --oneline >> ./tmp_gitlog.html
-echo "
" >> ./tmp_gitlog.html - -NOTES_HTML=`pwd`/testbed_notes.html -GITLOG=`pwd`/tmp_gitlog.html - -if [ -d "../../../wlan-ap" ] -then - DUTGITLOG=/tmp/${DUT_SW_VER}_dut_gitlog.html - echo "Top wlan-ap git commits.
" > $DUTGITLOG
-    (cd ../../../wlan-ap && git log -n 8 --oneline $DUT_SW_VER >> $DUTGITLOG && cd -)
-    echo "
" >> $DUTGITLOG - export DUTGITLOG -fi -export NOTES_HTML GITLOG - -# TODO: Copy config file to cloud controller and restart it -# and/or do other config to make it work. - -# Change to scripts dir -cd ../../lanforge/lanforge-scripts/gui - -# Where to place results. basic_regression.bash will use this variable. -RSLTS_DIR=/tmp/nola-01-basic-regression-fast -export RSLTS_DIR - -# Clean any existing data from the results dir -rm -fr $RSLTS_DIR - -# Clean up old DHCP leases -../lf_gui_cmd.pl --manager $GMANAGER --port $GMPORT --cmd "cli clear_port_counters ALL ALL ALL dhcp_leases" - -# Run a subset of available tests -# See 'Tests to run' comment in basic_regression.bash for available options. - -#DEFAULT_ENABLE=0 WCT_DURATION=20s DO_SHORT_AP_BASIC_CX=1 DO_WCT_BI=1 ./basic_regression.bash - -DEFAULT_ENABLE=0 WCT_DURATION=20s ./basic_regression.bash - - -# Run all tests -#./basic_regression.bash - -cd - - -if [ ! -d $RSLTS_DIR ] -then - echo "Test did not run as expected, $RSLTS_DIR not found." - mkdir -p $RSLTS_DIR -fi - -if [ -f ${MY_TMPDIR}/basic_regression_log.txt ] -then - echo "Found ${MY_TMPDIR}/basic_regression_log.txt, moving into $RSLTS_DIR" - mv ${MY_TMPDIR}/basic_regression_log.txt $RSLTS_DIR/ -fi - -echo "See results in $RSLTS_DIR" diff --git a/testbeds/nola-basic-01/scenario.txt b/testbeds/nola-basic-01/scenario.txt deleted file mode 100644 index 48d2275de..000000000 --- a/testbeds/nola-basic-01/scenario.txt +++ /dev/null @@ -1,13 +0,0 @@ -profile_link 1.1 STA-AC 64 'DUT: ecw5410 Radio-1' NA wiphy4,AUTO -1 -profile_link 1.1 STA-AC 64 'DUT: ecw5410 Radio-2' NA wiphy5,AUTO -1 -profile_link 1.1 upstream-dhcp 1 NA NA eth2,AUTO -1 -profile_link 1.1 uplink-nat 1 'DUT: upstream LAN 100.97.39.129/25' NA eth3,eth2 -1 -profile_link 1.1 STA-AC 1 'DUT: ecw5410 Radio-2' NA wiphy0,AUTO -1 -profile_link 1.1 STA-AC 1 'DUT: ecw5410 Radio-2' NA wiphy1,AUTO -1 -profile_link 1.1 STA-AC 1 'DUT: ecw5410 Radio-2' NA wiphy2,AUTO -1 -profile_link 1.1 STA-AC 1 'DUT: ecw5410 Radio-2' NA wiphy3,AUTO -1 -dut ecw5410 393 148 -dut upstream 306 62 -resource 1.1 132 218 - - diff --git a/testbeds/nola-basic-01/scenario_small.txt b/testbeds/nola-basic-01/scenario_small.txt deleted file mode 100644 index 3fe509994..000000000 --- a/testbeds/nola-basic-01/scenario_small.txt +++ /dev/null @@ -1,13 +0,0 @@ -profile_link 1.1 STA-AC 24 'DUT: ecw5410 Radio-1' NA wiphy4,AUTO -1 -profile_link 1.1 STA-AC 24 'DUT: ecw5410 Radio-2' NA wiphy5,AUTO -1 -profile_link 1.1 upstream-dhcp 1 NA NA eth2,AUTO -1 -profile_link 1.1 uplink-nat 1 'DUT: upstream LAN 100.97.39.129/25' NA eth3,eth2 -1 -profile_link 1.1 STA-AC 1 'DUT: ecw5410 Radio-2' NA wiphy0,AUTO -1 -profile_link 1.1 STA-AC 1 'DUT: ecw5410 Radio-2' NA wiphy1,AUTO -1 -profile_link 1.1 STA-AC 1 'DUT: ecw5410 Radio-2' NA wiphy2,AUTO -1 -profile_link 1.1 STA-AC 1 'DUT: ecw5410 Radio-2' NA wiphy3,AUTO -1 -dut ecw5410 393 148 -dut upstream 306 62 -resource 1.1 132 218 - - diff --git a/testbeds/nola-basic-01/test_bed_cfg.bash b/testbeds/nola-basic-01/test_bed_cfg.bash deleted file mode 100644 index 06870290d..000000000 --- a/testbeds/nola-basic-01/test_bed_cfg.bash +++ /dev/null @@ -1,60 +0,0 @@ -# Example test-bed configuration - -# Scripts should source this file to set the default environment variables -# and then override the variables specific to their test case (and it can be done -# in opposite order for same results -# -# After the env variables are set, -# call the 'lanforge/lanforge-scripts/gui/basic_regression.bash' -# from the directory in which it resides. - -PWD=`pwd` -AP_SERIAL=${AP_SERIAL:-/dev/ttyAP1} -LF_SERIAL=${LF_SERIAL:-/dev/ttyLF1} -LFPASSWD=${LFPASSWD:-lanforge} # Root password on LANforge machine -AP_AUTO_CFG_FILE=${AP_AUTO_CFG_FILE:-$PWD/ap-auto.txt} -WCT_CFG_FILE=${WCT_CFG_FILE:-$PWD/wct.txt} -DPT_CFG_FILE=${DPT_CFG_FILE:-$PWD/dpt-pkt-sz.txt} -SCENARIO_CFG_FILE=${SCENARIO_CFG_FILE:-$PWD/scenario.txt} - -# Default to enable cloud-sdk for this testbed, cloud-sdk is at IP addr below -#USE_CLOUD_SDK=${USE_CLOUD_SDK:-192.168.100.164} - -# LANforge target machine -LFMANAGER=${LFMANAGER:-lf1} - -# LANforge GUI machine (may often be same as target) -GMANAGER=${GMANAGER:-lf1} -GMPORT=${GMPORT:-3990} -MY_TMPDIR=${MY_TMPDIR:-/tmp} - -# Test configuration (10 minutes by default, in interest of time) -STABILITY_DURATION=${STABILITY_DURATION:-600} -TEST_RIG_ID=${TEST_RIG_ID:-NOLA-01-Basic} - -# DUT configuration -DUT_FLAGS=${DUT_FLAGS:-0x22} # AP, WPA-PSK -#DUT_FLAGS=${DUT_FLAGS:-0x2} # AP, Open -DUT_FLAGS_MASK=${DUT_FLAGS_MASK:-0xFFFF} -DUT_SW_VER=${DUT_SW_VER:-OpenWrt-TIP} -DUT_HW_VER=Edgecore-ECW5410 -DUT_MODEL=Edgecore-ECW5410 -DUT_SERIAL=${DUT_SERIAL:-NA} -DUT_SSID1=${DUT_SSID1:-Default-SSID-2g} -DUT_SSID2=${DUT_SSID2:-Default-SSID-5gl} -DUT_PASSWD1=${DUT_PASSWD1:-12345678} -DUT_PASSWD2=${DUT_PASSWD2:-12345678} -# 2.4 radio -DUT_BSSID1=3C:2C:99:F4:4E:78 -# 5Ghz radio -DUT_BSSID2=3C:2C:99:F4:4E:79 - -export LF_SERIAL AP_SERIAL LFPASSWD -export AP_AUTO_CFG_FILE WCT_CFG_FILE DPT_CFG_FILE SCENARIO_CFG_FILE -export LFMANAGER GMANAGER GMPORT MY_TMPDIR -export STABILITY_DURATION TEST_RIG_ID -export DUT_FLAGS DUT_FLAGS_MASK DUT_SW_VER DUT_HW_VER DUT_MODEL -export DUT_SERIAL DUT_SSID1 DUT_SSID2 DUT_SSID3 -export DUT_PASSWD1 DUT_PASSWD2 DUT_PASSWD3 -export DUT_BSSID1 DUT_BSSID2 DUT_BSSID3 -export USE_CLOUD_SDK diff --git a/testbeds/nola-basic-01/wct.txt b/testbeds/nola-basic-01/wct.txt deleted file mode 100644 index 3c7910719..000000000 --- a/testbeds/nola-basic-01/wct.txt +++ /dev/null @@ -1,323 +0,0 @@ -[BLANK] -sel_port-0: 1.1.eth2 -sel_port-1: 1.1.sta00000 -sel_port-2: 1.1.sta01000 -sel_port-3: 1.1.sta00500 -sel_port-4: 1.1.sta01500 -sel_port-5: 1.1.sta03000 -sel_port-6: 1.1.sta03500 -sel_port-7: 1.1.sta04000 -sel_port-8: 1.1.sta04500 -sel_port-9: 1.1.sta00001 -sel_port-10: 1.1.sta01001 -sel_port-11: 1.1.sta00501 -sel_port-12: 1.1.sta01501 -sel_port-13: 1.1.sta00002 -sel_port-14: 1.1.sta01002 -sel_port-15: 1.1.sta00502 -sel_port-16: 1.1.sta01502 -sel_port-17: 1.1.sta00003 -sel_port-18: 1.1.sta01003 -sel_port-19: 1.1.sta00503 -sel_port-20: 1.1.sta01503 -sel_port-21: 1.1.sta00004 -sel_port-22: 1.1.sta01004 -sel_port-23: 1.1.sta00504 -sel_port-24: 1.1.sta01504 -sel_port-25: 1.1.sta00005 -sel_port-26: 1.1.sta01005 -sel_port-27: 1.1.sta00505 -sel_port-28: 1.1.sta01505 -sel_port-29: 1.1.sta00006 -sel_port-30: 1.1.sta01006 -sel_port-31: 1.1.sta00506 -sel_port-32: 1.1.sta01506 -sel_port-33: 1.1.sta00007 -sel_port-34: 1.1.sta01007 -sel_port-35: 1.1.sta00507 -sel_port-36: 1.1.sta01507 -sel_port-37: 1.1.sta00008 -sel_port-38: 1.1.sta01008 -sel_port-39: 1.1.sta00508 -sel_port-40: 1.1.sta01508 -sel_port-41: 1.1.sta00009 -sel_port-42: 1.1.sta01009 -sel_port-43: 1.1.sta00509 -sel_port-44: 1.1.sta01509 -sel_port-45: 1.1.sta00010 -sel_port-46: 1.1.sta01010 -sel_port-47: 1.1.sta00510 -sel_port-48: 1.1.sta01510 -sel_port-49: 1.1.sta00011 -sel_port-50: 1.1.sta01011 -sel_port-51: 1.1.sta00511 -sel_port-52: 1.1.sta01511 -sel_port-53: 1.1.sta00012 -sel_port-54: 1.1.sta01012 -sel_port-55: 1.1.sta00512 -sel_port-56: 1.1.sta01512 -sel_port-57: 1.1.sta00013 -sel_port-58: 1.1.sta01013 -sel_port-59: 1.1.sta00513 -sel_port-60: 1.1.sta01513 -sel_port-61: 1.1.sta00014 -sel_port-62: 1.1.sta01014 -sel_port-63: 1.1.sta00514 -sel_port-64: 1.1.sta01514 -sel_port-65: 1.1.sta00015 -sel_port-66: 1.1.sta01015 -sel_port-67: 1.1.sta00515 -sel_port-68: 1.1.sta01515 -sel_port-69: 1.1.sta00016 -sel_port-70: 1.1.sta01016 -sel_port-71: 1.1.sta00516 -sel_port-72: 1.1.sta01516 -sel_port-73: 1.1.sta00017 -sel_port-74: 1.1.sta01017 -sel_port-75: 1.1.sta00517 -sel_port-76: 1.1.sta01517 -sel_port-77: 1.1.sta00018 -sel_port-78: 1.1.sta01018 -sel_port-79: 1.1.sta00518 -sel_port-80: 1.1.sta01518 -sel_port-81: 1.1.sta00019 -sel_port-82: 1.1.sta01019 -sel_port-83: 1.1.sta00519 -sel_port-84: 1.1.sta01519 -sel_port-85: 1.1.sta00020 -sel_port-86: 1.1.sta01020 -sel_port-87: 1.1.sta00520 -sel_port-88: 1.1.sta01520 -sel_port-89: 1.1.sta00021 -sel_port-90: 1.1.sta01021 -sel_port-91: 1.1.sta00521 -sel_port-92: 1.1.sta01521 -sel_port-93: 1.1.sta00022 -sel_port-94: 1.1.sta01022 -sel_port-95: 1.1.sta00522 -sel_port-96: 1.1.sta01522 -sel_port-97: 1.1.sta00023 -sel_port-98: 1.1.sta01023 -sel_port-99: 1.1.sta00523 -sel_port-100: 1.1.sta01523 -sel_port-101: 1.1.sta00024 -sel_port-102: 1.1.sta01024 -sel_port-103: 1.1.sta00524 -sel_port-104: 1.1.sta01524 -sel_port-105: 1.1.sta00025 -sel_port-106: 1.1.sta01025 -sel_port-107: 1.1.sta00525 -sel_port-108: 1.1.sta01525 -sel_port-109: 1.1.sta00026 -sel_port-110: 1.1.sta01026 -sel_port-111: 1.1.sta00526 -sel_port-112: 1.1.sta01526 -sel_port-113: 1.1.sta00027 -sel_port-114: 1.1.sta01027 -sel_port-115: 1.1.sta00527 -sel_port-116: 1.1.sta01527 -sel_port-117: 1.1.sta00028 -sel_port-118: 1.1.sta01028 -sel_port-119: 1.1.sta00528 -sel_port-120: 1.1.sta01528 -sel_port-121: 1.1.sta00029 -sel_port-122: 1.1.sta01029 -sel_port-123: 1.1.sta00529 -sel_port-124: 1.1.sta01529 -sel_port-125: 1.1.sta00030 -sel_port-126: 1.1.sta01030 -sel_port-127: 1.1.sta00530 -sel_port-128: 1.1.sta01530 -sel_port-129: 1.1.sta00031 -sel_port-130: 1.1.sta01031 -sel_port-131: 1.1.sta00531 -sel_port-132: 1.1.sta01531 -sel_port-133: 1.1.sta00032 -sel_port-134: 1.1.sta01032 -sel_port-135: 1.1.sta00532 -sel_port-136: 1.1.sta01532 -sel_port-137: 1.1.sta00033 -sel_port-138: 1.1.sta01033 -sel_port-139: 1.1.sta00533 -sel_port-140: 1.1.sta01533 -sel_port-141: 1.1.sta00034 -sel_port-142: 1.1.sta01034 -sel_port-143: 1.1.sta00534 -sel_port-144: 1.1.sta01534 -sel_port-145: 1.1.sta00035 -sel_port-146: 1.1.sta01035 -sel_port-147: 1.1.sta00535 -sel_port-148: 1.1.sta01535 -sel_port-149: 1.1.sta00036 -sel_port-150: 1.1.sta01036 -sel_port-151: 1.1.sta00536 -sel_port-152: 1.1.sta01536 -sel_port-153: 1.1.sta00037 -sel_port-154: 1.1.sta01037 -sel_port-155: 1.1.sta00537 -sel_port-156: 1.1.sta01537 -sel_port-157: 1.1.sta00038 -sel_port-158: 1.1.sta01038 -sel_port-159: 1.1.sta00538 -sel_port-160: 1.1.sta01538 -sel_port-161: 1.1.sta00039 -sel_port-162: 1.1.sta01039 -sel_port-163: 1.1.sta00539 -sel_port-164: 1.1.sta01539 -sel_port-165: 1.1.sta00040 -sel_port-166: 1.1.sta01040 -sel_port-167: 1.1.sta00540 -sel_port-168: 1.1.sta01540 -sel_port-169: 1.1.sta00041 -sel_port-170: 1.1.sta01041 -sel_port-171: 1.1.sta00541 -sel_port-172: 1.1.sta01541 -sel_port-173: 1.1.sta00042 -sel_port-174: 1.1.sta01042 -sel_port-175: 1.1.sta00542 -sel_port-176: 1.1.sta01542 -sel_port-177: 1.1.sta00043 -sel_port-178: 1.1.sta01043 -sel_port-179: 1.1.sta00543 -sel_port-180: 1.1.sta01543 -sel_port-181: 1.1.sta00044 -sel_port-182: 1.1.sta01044 -sel_port-183: 1.1.sta00544 -sel_port-184: 1.1.sta01544 -sel_port-185: 1.1.sta00045 -sel_port-186: 1.1.sta01045 -sel_port-187: 1.1.sta00545 -sel_port-188: 1.1.sta01545 -sel_port-189: 1.1.sta00046 -sel_port-190: 1.1.sta01046 -sel_port-191: 1.1.sta00546 -sel_port-192: 1.1.sta01546 -sel_port-193: 1.1.sta00047 -sel_port-194: 1.1.sta01047 -sel_port-195: 1.1.sta00547 -sel_port-196: 1.1.sta01547 -sel_port-197: 1.1.sta00048 -sel_port-198: 1.1.sta01048 -sel_port-199: 1.1.sta00548 -sel_port-200: 1.1.sta01548 -sel_port-201: 1.1.sta00049 -sel_port-202: 1.1.sta01049 -sel_port-203: 1.1.sta00549 -sel_port-204: 1.1.sta01549 -sel_port-205: 1.1.sta00050 -sel_port-206: 1.1.sta01050 -sel_port-207: 1.1.sta00550 -sel_port-208: 1.1.sta01550 -sel_port-209: 1.1.sta00051 -sel_port-210: 1.1.sta01051 -sel_port-211: 1.1.sta00551 -sel_port-212: 1.1.sta01551 -sel_port-213: 1.1.sta00052 -sel_port-214: 1.1.sta01052 -sel_port-215: 1.1.sta00552 -sel_port-216: 1.1.sta01552 -sel_port-217: 1.1.sta00053 -sel_port-218: 1.1.sta01053 -sel_port-219: 1.1.sta00553 -sel_port-220: 1.1.sta01553 -sel_port-221: 1.1.sta00054 -sel_port-222: 1.1.sta01054 -sel_port-223: 1.1.sta00554 -sel_port-224: 1.1.sta01554 -sel_port-225: 1.1.sta00055 -sel_port-226: 1.1.sta01055 -sel_port-227: 1.1.sta00555 -sel_port-228: 1.1.sta01555 -sel_port-229: 1.1.sta00056 -sel_port-230: 1.1.sta01056 -sel_port-231: 1.1.sta00556 -sel_port-232: 1.1.sta01556 -sel_port-233: 1.1.sta00057 -sel_port-234: 1.1.sta01057 -sel_port-235: 1.1.sta00557 -sel_port-236: 1.1.sta01557 -sel_port-237: 1.1.sta00058 -sel_port-238: 1.1.sta01058 -sel_port-239: 1.1.sta00558 -sel_port-240: 1.1.sta01558 -sel_port-241: 1.1.sta00059 -sel_port-242: 1.1.sta01059 -sel_port-243: 1.1.sta00559 -sel_port-244: 1.1.sta01559 -sel_port-245: 1.1.sta00060 -sel_port-246: 1.1.sta01060 -sel_port-247: 1.1.sta00560 -sel_port-248: 1.1.sta01560 -sel_port-249: 1.1.sta00061 -sel_port-250: 1.1.sta01061 -sel_port-251: 1.1.sta00561 -sel_port-252: 1.1.sta01561 -sel_port-253: 1.1.sta00062 -sel_port-254: 1.1.sta01062 -sel_port-255: 1.1.sta00562 -sel_port-256: 1.1.sta01562 -sel_port-257: 1.1.sta00063 -sel_port-258: 1.1.sta01063 -sel_port-259: 1.1.sta00563 -sel_port-260: 1.1.sta01563 -show_events: 1 -show_log: 0 -port_sorting: 2 -kpi_id: WiFi Capacity -bg: 0xE0ECF8 -test_rig: -show_scan: 1 -auto_helper: 1 -skip_2: 0 -skip_5: 0 -batch_size: 1,5,10,20,40,80 -loop_iter: 1 -duration: 30000 -test_groups: 0 -test_groups_subset: 0 -protocol: TCP-IPv4 -dl_rate_sel: Total Download Rate: -dl_rate: 1000000000 -ul_rate_sel: Total Upload Rate: -ul_rate: 1000000000 -prcnt_tcp: 100000 -l4_endp: -pdu_sz: -1 -mss_sel: 1 -sock_buffer: 0 -ip_tos: 0 -multi_conn: -1 -min_speed: -1 -ps_interval: 60-second Running Average -fairness: 0 -naptime: 0 -before_clear: 5000 -rpt_timer: 1000 -try_lower: 0 -rnd_rate: 1 -leave_ports_up: 0 -down_quiesce: 0 -udp_nat: 1 -record_other_ssids: 0 -clear_reset_counters: 0 -do_pf: 0 -pf_min_period_dl: 128000 -pf_min_period_ul: 0 -pf_max_reconnects: 0 -use_mix_pdu: 0 -pdu_prcnt_pps: 1 -pdu_prcnt_bps: 0 -pdu_mix_ln-0: -show_scan: 1 -show_golden_3p: 0 -save_csv: 0 -show_realtime: 1 -show_pie: 1 -show_per_loop_totals: 1 -show_cx_time: 1 -show_dhcp: 1 -show_anqp: 1 -show_4way: 1 -show_latency: 1 - - diff --git a/testbeds/nola-basic-02/NOTES.txt b/testbeds/nola-basic-02/NOTES.txt deleted file mode 100644 index 9dabae284..000000000 --- a/testbeds/nola-basic-02/NOTES.txt +++ /dev/null @@ -1,2 +0,0 @@ - -DUT is an Edge-Core 5410, running TIP OpenWrt. diff --git a/testbeds/nola-basic-02/OpenWrt-overlay/etc/config/wireless b/testbeds/nola-basic-02/OpenWrt-overlay/etc/config/wireless deleted file mode 100644 index 20cf5293b..000000000 --- a/testbeds/nola-basic-02/OpenWrt-overlay/etc/config/wireless +++ /dev/null @@ -1,32 +0,0 @@ -config wifi-device 'radio0' - option type 'mac80211' - option channel '36' - option hwmode '11a' - option path 'soc/1b700000.pci/pci0001:00/0001:00:00.0/0001:01:00.0' - option htmode 'VHT80' - option disabled '0' - -config wifi-iface 'default_radio0' - option device 'radio0' - option network 'lan' - option mode 'ap' - option ssid 'Default-SSID-5gl' - option encryption 'psk-mixed' - option key '12345678' - -config wifi-device 'radio1' - option type 'mac80211' - option channel '11' - option hwmode '11g' - option path 'soc/1b900000.pci/pci0002:00/0002:00:00.0/0002:01:00.0' - option htmode 'HT20' - option disabled '0' - -config wifi-iface 'default_radio1' - option device 'radio1' - option network 'lan' - option mode 'ap' - option ssid 'Default-SSID-2g' - option encryption 'psk-mixed' - option key '12345678' - diff --git a/testbeds/nola-basic-02/ap-auto.txt b/testbeds/nola-basic-02/ap-auto.txt deleted file mode 100644 index 8ca4b220c..000000000 --- a/testbeds/nola-basic-02/ap-auto.txt +++ /dev/null @@ -1,111 +0,0 @@ -[BLANK] -sel_port-0: 1.1.sta00500 -show_events: 1 -show_log: 0 -port_sorting: 0 -kpi_id: AP Auto -bg: 0xE0ECF8 -test_rig: -show_scan: 1 -auto_helper: 1 -skip_2: 1 -skip_5: 1 -dut5b-0: NA -dut5-0: ecw5410 Default-SSID-5gl -dut2-0: ecw5410 Default-SSID-2g -dut5b-1: NA -dut5-1: NA -dut2-1: NA -dut5b-2: NA -dut5-2: NA -dut2-2: NA -spatial_streams: AUTO -bandw_options: AUTO -modes: Auto -upstream_port: 1.1.2 eth2 -operator: -mconn: 1 -tos: 0 -vid_buf: 1000000 -vid_speed: 700000 -reset_stall_thresh_udp_dl: 9600 -reset_stall_thresh_udp_ul: 9600 -reset_stall_thresh_tcp_dl: 9600 -reset_stall_thresh_tcp_ul: 9600 -reset_stall_thresh_l4: 100000 -reset_stall_thresh_voip: 20000 -stab_udp_dl_min: 56000 -stab_udp_dl_max: 0 -stab_udp_ul_min: 56000 -stab_udp_ul_max: 0 -stab_tcp_dl_min: 500000 -stab_tcp_dl_max: 0 -stab_tcp_ul_min: 500000 -stab_tcp_ul_max: 0 -dl_speed: 85% -ul_speed: 85% -max_stations_2: 66 -max_stations_5: 66 -max_stations_dual: 132 -lt_sta: 2 -voip_calls: 0 -lt_dur: 3600 -reset_dur: 600 -lt_gi: 30 -dur20: 20 -hunt_retries: 1 -cap_dl: 1 -cap_ul: 0 -cap_use_pkt_sizes: 0 -stability_reset_radios: 0 -pkt_loss_thresh: 10000 -frame_sizes: 200, 512, 1024, MTU -capacities: 1, 2, 5, 10, 20, 40, 64, 128, 256, 512, 1024, MAX -radio2-0: 1.1.4 wiphy0 -radio2-1: 1.1.6 wiphy2 -radio2-2: 1.1.8 wiphy4 -radio5-0: 1.1.5 wiphy1 -radio5-1: 1.1.7 wiphy3 -radio5-2: 1.1.9 wiphy5 -radio5-3: -radio5-4: -radio5-5: -basic_cx: 1 -tput: 0 -dual_band_tput: 0 -capacity: 0 -longterm: 0 -mix_stability: 0 -loop_iter: 1 -reset_batch_size: 1 -reset_duration_min: 10000 -reset_duration_max: 60000 - -# Configure pass/fail metrics for this testbed. -pf_text0: 2.4 DL 200 70Mbps -pf_text1: 2.4 DL 512 110Mbps -pf_text2: 2.4 DL 1024 115Mbps -pf_text3: 2.4 DL MTU 120Mbps -pf_text4: -pf_text5: 2.4 UL 200 88Mbps -pf_text6: 2.4 UL 512 106Mbps -pf_text7: 2.4 UL 1024 115Mbps -pf_text8: 2.4 UL MTU 120Mbps -pf_text9: -pf_text10: 5 DL 200 72Mbps -pf_text11: 5 DL 512 185Mbps -pf_text12: 5 DL 1024 370Mbps -pf_text13: 5 DL MTU 525Mbps -pf_text14: -pf_text15: 5 UL 200 90Mbps -pf_text16: 5 UL 512 230Mbps -pf_text17: 5 UL 1024 450Mbps -pf_text18: 5 UL MTU 630Mbps - -# Tune connect-time thresholds. -cx_prcnt: 950000 -cx_open_thresh: 35 -cx_psk_thresh: 75 -cx_1x_thresh: 130 - - diff --git a/testbeds/nola-basic-02/dpt-pkt-sz.txt b/testbeds/nola-basic-02/dpt-pkt-sz.txt deleted file mode 100644 index aa10d1107..000000000 --- a/testbeds/nola-basic-02/dpt-pkt-sz.txt +++ /dev/null @@ -1,55 +0,0 @@ -[BLANK] -show_events: 1 -show_log: 0 -port_sorting: 0 -kpi_id: Dataplane -bg: 0xE0ECF8 -test_rig: -show_scan: 1 -auto_helper: 0 -skip_2: 0 -skip_5: 0 -selected_dut: ea8300 -duration: 15000 -traffic_port: 1.1.136 sta00500 -upstream_port: 1.1.2 eth2 -path_loss: 10 -speed: 85% -speed2: 0Kbps -min_rssi_bound: -150 -max_rssi_bound: 0 -channels: AUTO -modes: Auto -pkts: 60;142;256;512;1024;MTU;4000 -spatial_streams: AUTO -security_options: AUTO -bandw_options: AUTO -traffic_types: UDP -directions: DUT Transmit;DUT Receive -txo_preamble: OFDM -txo_mcs: 0 CCK, OFDM, HT, VHT -txo_retries: No Retry -txo_sgi: OFF -txo_txpower: 15 -attenuator: 0 -attenuator2: 0 -attenuator_mod: 255 -attenuator_mod2: 255 -attenuations: 0..+50..950 -attenuations2: 0..+50..950 -chamber: 0 -tt_deg: 0..+45..359 -cust_pkt_sz: -show_3s: 0 -show_ll_graphs: 1 -show_gp_graphs: 1 -show_1m: 1 -pause_iter: 0 -show_realtime: 1 -operator: -mconn: 1 -mpkt: 1000 -tos: 0 -loop_iterations: 1 - - diff --git a/testbeds/nola-basic-02/run_basic.bash b/testbeds/nola-basic-02/run_basic.bash deleted file mode 100755 index 12579b356..000000000 --- a/testbeds/nola-basic-02/run_basic.bash +++ /dev/null @@ -1,71 +0,0 @@ -#!/bin/bash - -# Example usage of this script -# DUT_SW_VER=my-build-id ./run_basic.bash -# -# Other DUT variables in test_bed_cfg.bash may also be over-ridden, -# including those below. See LANforge 'add_dut' CLI command for -# details on what these variables are for. - -# DUT_FLAGS DUT_FLAGS_MASK DUT_SW_VER DUT_HW_VER DUT_MODEL -# DUT_SERIAL DUT_SSID1 DUT_SSID2 DUT_SSID3 -# DUT_PASSWD1 DUT_PASSWD2 DUT_PASSWD3 -# DUT_BSSID1 DUT_BSSID2 DUT_BSSID3 - -# Source config file -. test_bed_cfg.bash - -echo "Top wlan-testing git commits.
" > ./tmp_gitlog.html
-git log -n 8 --oneline >> ./tmp_gitlog.html
-echo "
" >> ./tmp_gitlog.html - -NOTES_HTML=`pwd`/testbed_notes.html -GITLOG=`pwd`/tmp_gitlog.html - -if [ -d "../../../wlan-ap" ] -then - DUTGITLOG=/tmp/${DUT_SW_VER}_dut_gitlog.html - echo "Top wlan-ap git commits.
" > $DUTGITLOG
-    (cd ../../../wlan-ap && git log -n 8 --oneline $DUT_SW_VER >> $DUTGITLOG && cd -)
-    echo "
" >> $DUTGITLOG - export DUTGITLOG -fi -export NOTES_HTML GITLOG - -# TODO: Copy config file to cloud controller and restart it -# and/or do other config to make it work. - -# Change to scripts dir -cd ../../lanforge/lanforge-scripts/gui - -# Where to place results. basic_regression.bash will use this variable. -RSLTS_DIR=/tmp/nola-02-basic-regression -export RSLTS_DIR - -# Clean any existing data from the results dir -rm -fr $RSLTS_DIR - -# Run one test -# DEFAULT_ENABLE=0 DO_SHORT_AP_STABILITY_RESET=1 ./basic_regression.bash - -# Clean up old DHCP leases -../lf_gui_cmd.pl --manager $GMANAGER --port $GMPORT --cmd "cli clear_port_counters ALL ALL ALL dhcp_leases" - -# Run all tests -./basic_regression.bash - -cd - - -if [ ! -d $RSLTS_DIR ] -then - echo "Test did not run as expected, $RSLTS_DIR not found." - mkdir -p $RSLTS_DIR -fi - -if [ -f ${MY_TMPDIR}/basic_regression_log.txt ] -then - echo "Found ${MY_TMPDIR}/basic_regression_log.txt, moving into $RSLTS_DIR" - mv ${MY_TMPDIR}/basic_regression_log.txt $RSLTS_DIR/ -fi - -echo "See results in $RSLTS_DIR" diff --git a/testbeds/nola-basic-02/run_basic_fast.bash b/testbeds/nola-basic-02/run_basic_fast.bash deleted file mode 100755 index ebd4542c8..000000000 --- a/testbeds/nola-basic-02/run_basic_fast.bash +++ /dev/null @@ -1,83 +0,0 @@ -#!/bin/bash - -# Example usage of this script -# DUT_SW_VER=my-build-id ./run_basic.bash -# -# Other DUT variables in test_bed_cfg.bash may also be over-ridden, -# including those below. See LANforge 'add_dut' CLI command for -# details on what these variables are for. - -# DUT_FLAGS DUT_FLAGS_MASK DUT_SW_VER DUT_HW_VER DUT_MODEL -# DUT_SERIAL DUT_SSID1 DUT_SSID2 DUT_SSID3 -# DUT_PASSWD1 DUT_PASSWD2 DUT_PASSWD3 -# DUT_BSSID1 DUT_BSSID2 DUT_BSSID3 - -#set -x - -DO_SHORT_AP_BASIC_CX=${DO_SHORT_AP_BASIC_CX:-1} -DO_WCT_BI=${DO_WCT_BI:-1} - -export DO_SHORT_AP_BASI_CX DO_WCT_BI - -# Source config file -. test_bed_cfg.bash - -echo "Top wlan-testing git commits.
" > ./tmp_gitlog.html
-git log -n 8 --oneline >> ./tmp_gitlog.html
-echo "
" >> ./tmp_gitlog.html - -NOTES_HTML=`pwd`/testbed_notes.html -GITLOG=`pwd`/tmp_gitlog.html - -if [ -d "../../../wlan-ap" ] -then - DUTGITLOG=/tmp/${DUT_SW_VER}_dut_gitlog.html - echo "Top wlan-ap git commits.
" > $DUTGITLOG
-    (cd ../../../wlan-ap && git log -n 8 --oneline $DUT_SW_VER >> $DUTGITLOG && cd -)
-    echo "
" >> $DUTGITLOG - export DUTGITLOG -fi -export NOTES_HTML GITLOG - -# TODO: Copy config file to cloud controller and restart it -# and/or do other config to make it work. - -# Change to scripts dir -cd ../../lanforge/lanforge-scripts/gui - -# Where to place results. basic_regression.bash will use this variable. -RSLTS_DIR=/tmp/nola-02-basic-regression-fast -export RSLTS_DIR - -# Clean any existing data from the results dir -rm -fr $RSLTS_DIR - -# Clean up old DHCP leases -../lf_gui_cmd.pl --manager $GMANAGER --port $GMPORT --cmd "cli clear_port_counters ALL ALL ALL dhcp_leases" - -# Run a subset of available tests -# See 'Tests to run' comment in basic_regression.bash for available options. - -#DEFAULT_ENABLE=0 WCT_DURATION=20s DO_SHORT_AP_BASIC_CX=1 DO_WCT_BI=1 ./basic_regression.bash - -DEFAULT_ENABLE=0 WCT_DURATION=20s ./basic_regression.bash - - -# Run all tests -#./basic_regression.bash - -cd - - -if [ ! -d $RSLTS_DIR ] -then - echo "Test did not run as expected, $RSLTS_DIR not found." - mkdir -p $RSLTS_DIR -fi - -if [ -f ${MY_TMPDIR}/basic_regression_log.txt ] -then - echo "Found ${MY_TMPDIR}/basic_regression_log.txt, moving into $RSLTS_DIR" - mv ${MY_TMPDIR}/basic_regression_log.txt $RSLTS_DIR/ -fi - -echo "See results in $RSLTS_DIR" diff --git a/testbeds/nola-basic-02/scenario.txt b/testbeds/nola-basic-02/scenario.txt deleted file mode 100644 index 48d2275de..000000000 --- a/testbeds/nola-basic-02/scenario.txt +++ /dev/null @@ -1,13 +0,0 @@ -profile_link 1.1 STA-AC 64 'DUT: ecw5410 Radio-1' NA wiphy4,AUTO -1 -profile_link 1.1 STA-AC 64 'DUT: ecw5410 Radio-2' NA wiphy5,AUTO -1 -profile_link 1.1 upstream-dhcp 1 NA NA eth2,AUTO -1 -profile_link 1.1 uplink-nat 1 'DUT: upstream LAN 100.97.39.129/25' NA eth3,eth2 -1 -profile_link 1.1 STA-AC 1 'DUT: ecw5410 Radio-2' NA wiphy0,AUTO -1 -profile_link 1.1 STA-AC 1 'DUT: ecw5410 Radio-2' NA wiphy1,AUTO -1 -profile_link 1.1 STA-AC 1 'DUT: ecw5410 Radio-2' NA wiphy2,AUTO -1 -profile_link 1.1 STA-AC 1 'DUT: ecw5410 Radio-2' NA wiphy3,AUTO -1 -dut ecw5410 393 148 -dut upstream 306 62 -resource 1.1 132 218 - - diff --git a/testbeds/nola-basic-02/scenario_small.txt b/testbeds/nola-basic-02/scenario_small.txt deleted file mode 100644 index 3fe509994..000000000 --- a/testbeds/nola-basic-02/scenario_small.txt +++ /dev/null @@ -1,13 +0,0 @@ -profile_link 1.1 STA-AC 24 'DUT: ecw5410 Radio-1' NA wiphy4,AUTO -1 -profile_link 1.1 STA-AC 24 'DUT: ecw5410 Radio-2' NA wiphy5,AUTO -1 -profile_link 1.1 upstream-dhcp 1 NA NA eth2,AUTO -1 -profile_link 1.1 uplink-nat 1 'DUT: upstream LAN 100.97.39.129/25' NA eth3,eth2 -1 -profile_link 1.1 STA-AC 1 'DUT: ecw5410 Radio-2' NA wiphy0,AUTO -1 -profile_link 1.1 STA-AC 1 'DUT: ecw5410 Radio-2' NA wiphy1,AUTO -1 -profile_link 1.1 STA-AC 1 'DUT: ecw5410 Radio-2' NA wiphy2,AUTO -1 -profile_link 1.1 STA-AC 1 'DUT: ecw5410 Radio-2' NA wiphy3,AUTO -1 -dut ecw5410 393 148 -dut upstream 306 62 -resource 1.1 132 218 - - diff --git a/testbeds/nola-basic-02/test_bed_cfg.bash b/testbeds/nola-basic-02/test_bed_cfg.bash deleted file mode 100644 index 9b7f4ed07..000000000 --- a/testbeds/nola-basic-02/test_bed_cfg.bash +++ /dev/null @@ -1,60 +0,0 @@ -# Example test-bed configuration - -# Scripts should source this file to set the default environment variables -# and then override the variables specific to their test case (and it can be done -# in opposite order for same results -# -# After the env variables are set, -# call the 'lanforge/lanforge-scripts/gui/basic_regression.bash' -# from the directory in which it resides. - -PWD=`pwd` -AP_SERIAL=${AP_SERIAL:-/dev/ttyAP2} -LF_SERIAL=${LF_SERIAL:-/dev/ttyLF2} -LFPASSWD=${LFPASSWD:-lanforge} # Root password on LANforge machine -AP_AUTO_CFG_FILE=${AP_AUTO_CFG_FILE:-$PWD/ap-auto.txt} -WCT_CFG_FILE=${WCT_CFG_FILE:-$PWD/wct.txt} -DPT_CFG_FILE=${DPT_CFG_FILE:-$PWD/dpt-pkt-sz.txt} -SCENARIO_CFG_FILE=${SCENARIO_CFG_FILE:-$PWD/scenario.txt} - -# Default to enable cloud-sdk for this testbed, cloud-sdk is at IP addr below -#USE_CLOUD_SDK=${USE_CLOUD_SDK:-192.168.100.164} - -# LANforge target machine -LFMANAGER=${LFMANAGER:-lf2} - -# LANforge GUI machine (may often be same as target) -GMANAGER=${GMANAGER:-lf2} -GMPORT=${GMPORT:-3990} -MY_TMPDIR=${MY_TMPDIR:-/tmp} - -# Test configuration (10 minutes by default, in interest of time) -STABILITY_DURATION=${STABILITY_DURATION:-600} -TEST_RIG_ID=${TEST_RIG_ID:-NOLA-02-Basic} - -# DUT configuration -DUT_FLAGS=${DUT_FLAGS:-0x22} # AP, WPA-PSK -#DUT_FLAGS=${DUT_FLAGS:-0x2} # AP, Open -DUT_FLAGS_MASK=${DUT_FLAGS_MASK:-0xFFFF} -DUT_SW_VER=${DUT_SW_VER:-OpenWrt-TIP} -DUT_HW_VER=Edgecore-ECW5410 -DUT_MODEL=Edgecore-ECW5410 -DUT_SERIAL=${DUT_SERIAL:-NA} -DUT_SSID1=${DUT_SSID1:-Default-SSID-2g} -DUT_SSID2=${DUT_SSID2:-Default-SSID-5gl} -DUT_PASSWD1=${DUT_PASSWD1:-12345678} -DUT_PASSWD2=${DUT_PASSWD2:-12345678} -# 2.4 radio -DUT_BSSID1=68:21:5F:9D:0A:8B -# 5Ghz radio -DUT_BSSID2=68:21:5F:9D:0A:8C - -export LF_SERIAL AP_SERIAL LFPASSWD -export AP_AUTO_CFG_FILE WCT_CFG_FILE DPT_CFG_FILE SCENARIO_CFG_FILE -export LFMANAGER GMANAGER GMPORT MY_TMPDIR -export STABILITY_DURATION TEST_RIG_ID -export DUT_FLAGS DUT_FLAGS_MASK DUT_SW_VER DUT_HW_VER DUT_MODEL -export DUT_SERIAL DUT_SSID1 DUT_SSID2 DUT_SSID3 -export DUT_PASSWD1 DUT_PASSWD2 DUT_PASSWD3 -export DUT_BSSID1 DUT_BSSID2 DUT_BSSID3 -export USE_CLOUD_SDK diff --git a/testbeds/nola-basic-02/wct.txt b/testbeds/nola-basic-02/wct.txt deleted file mode 100644 index 3c7910719..000000000 --- a/testbeds/nola-basic-02/wct.txt +++ /dev/null @@ -1,323 +0,0 @@ -[BLANK] -sel_port-0: 1.1.eth2 -sel_port-1: 1.1.sta00000 -sel_port-2: 1.1.sta01000 -sel_port-3: 1.1.sta00500 -sel_port-4: 1.1.sta01500 -sel_port-5: 1.1.sta03000 -sel_port-6: 1.1.sta03500 -sel_port-7: 1.1.sta04000 -sel_port-8: 1.1.sta04500 -sel_port-9: 1.1.sta00001 -sel_port-10: 1.1.sta01001 -sel_port-11: 1.1.sta00501 -sel_port-12: 1.1.sta01501 -sel_port-13: 1.1.sta00002 -sel_port-14: 1.1.sta01002 -sel_port-15: 1.1.sta00502 -sel_port-16: 1.1.sta01502 -sel_port-17: 1.1.sta00003 -sel_port-18: 1.1.sta01003 -sel_port-19: 1.1.sta00503 -sel_port-20: 1.1.sta01503 -sel_port-21: 1.1.sta00004 -sel_port-22: 1.1.sta01004 -sel_port-23: 1.1.sta00504 -sel_port-24: 1.1.sta01504 -sel_port-25: 1.1.sta00005 -sel_port-26: 1.1.sta01005 -sel_port-27: 1.1.sta00505 -sel_port-28: 1.1.sta01505 -sel_port-29: 1.1.sta00006 -sel_port-30: 1.1.sta01006 -sel_port-31: 1.1.sta00506 -sel_port-32: 1.1.sta01506 -sel_port-33: 1.1.sta00007 -sel_port-34: 1.1.sta01007 -sel_port-35: 1.1.sta00507 -sel_port-36: 1.1.sta01507 -sel_port-37: 1.1.sta00008 -sel_port-38: 1.1.sta01008 -sel_port-39: 1.1.sta00508 -sel_port-40: 1.1.sta01508 -sel_port-41: 1.1.sta00009 -sel_port-42: 1.1.sta01009 -sel_port-43: 1.1.sta00509 -sel_port-44: 1.1.sta01509 -sel_port-45: 1.1.sta00010 -sel_port-46: 1.1.sta01010 -sel_port-47: 1.1.sta00510 -sel_port-48: 1.1.sta01510 -sel_port-49: 1.1.sta00011 -sel_port-50: 1.1.sta01011 -sel_port-51: 1.1.sta00511 -sel_port-52: 1.1.sta01511 -sel_port-53: 1.1.sta00012 -sel_port-54: 1.1.sta01012 -sel_port-55: 1.1.sta00512 -sel_port-56: 1.1.sta01512 -sel_port-57: 1.1.sta00013 -sel_port-58: 1.1.sta01013 -sel_port-59: 1.1.sta00513 -sel_port-60: 1.1.sta01513 -sel_port-61: 1.1.sta00014 -sel_port-62: 1.1.sta01014 -sel_port-63: 1.1.sta00514 -sel_port-64: 1.1.sta01514 -sel_port-65: 1.1.sta00015 -sel_port-66: 1.1.sta01015 -sel_port-67: 1.1.sta00515 -sel_port-68: 1.1.sta01515 -sel_port-69: 1.1.sta00016 -sel_port-70: 1.1.sta01016 -sel_port-71: 1.1.sta00516 -sel_port-72: 1.1.sta01516 -sel_port-73: 1.1.sta00017 -sel_port-74: 1.1.sta01017 -sel_port-75: 1.1.sta00517 -sel_port-76: 1.1.sta01517 -sel_port-77: 1.1.sta00018 -sel_port-78: 1.1.sta01018 -sel_port-79: 1.1.sta00518 -sel_port-80: 1.1.sta01518 -sel_port-81: 1.1.sta00019 -sel_port-82: 1.1.sta01019 -sel_port-83: 1.1.sta00519 -sel_port-84: 1.1.sta01519 -sel_port-85: 1.1.sta00020 -sel_port-86: 1.1.sta01020 -sel_port-87: 1.1.sta00520 -sel_port-88: 1.1.sta01520 -sel_port-89: 1.1.sta00021 -sel_port-90: 1.1.sta01021 -sel_port-91: 1.1.sta00521 -sel_port-92: 1.1.sta01521 -sel_port-93: 1.1.sta00022 -sel_port-94: 1.1.sta01022 -sel_port-95: 1.1.sta00522 -sel_port-96: 1.1.sta01522 -sel_port-97: 1.1.sta00023 -sel_port-98: 1.1.sta01023 -sel_port-99: 1.1.sta00523 -sel_port-100: 1.1.sta01523 -sel_port-101: 1.1.sta00024 -sel_port-102: 1.1.sta01024 -sel_port-103: 1.1.sta00524 -sel_port-104: 1.1.sta01524 -sel_port-105: 1.1.sta00025 -sel_port-106: 1.1.sta01025 -sel_port-107: 1.1.sta00525 -sel_port-108: 1.1.sta01525 -sel_port-109: 1.1.sta00026 -sel_port-110: 1.1.sta01026 -sel_port-111: 1.1.sta00526 -sel_port-112: 1.1.sta01526 -sel_port-113: 1.1.sta00027 -sel_port-114: 1.1.sta01027 -sel_port-115: 1.1.sta00527 -sel_port-116: 1.1.sta01527 -sel_port-117: 1.1.sta00028 -sel_port-118: 1.1.sta01028 -sel_port-119: 1.1.sta00528 -sel_port-120: 1.1.sta01528 -sel_port-121: 1.1.sta00029 -sel_port-122: 1.1.sta01029 -sel_port-123: 1.1.sta00529 -sel_port-124: 1.1.sta01529 -sel_port-125: 1.1.sta00030 -sel_port-126: 1.1.sta01030 -sel_port-127: 1.1.sta00530 -sel_port-128: 1.1.sta01530 -sel_port-129: 1.1.sta00031 -sel_port-130: 1.1.sta01031 -sel_port-131: 1.1.sta00531 -sel_port-132: 1.1.sta01531 -sel_port-133: 1.1.sta00032 -sel_port-134: 1.1.sta01032 -sel_port-135: 1.1.sta00532 -sel_port-136: 1.1.sta01532 -sel_port-137: 1.1.sta00033 -sel_port-138: 1.1.sta01033 -sel_port-139: 1.1.sta00533 -sel_port-140: 1.1.sta01533 -sel_port-141: 1.1.sta00034 -sel_port-142: 1.1.sta01034 -sel_port-143: 1.1.sta00534 -sel_port-144: 1.1.sta01534 -sel_port-145: 1.1.sta00035 -sel_port-146: 1.1.sta01035 -sel_port-147: 1.1.sta00535 -sel_port-148: 1.1.sta01535 -sel_port-149: 1.1.sta00036 -sel_port-150: 1.1.sta01036 -sel_port-151: 1.1.sta00536 -sel_port-152: 1.1.sta01536 -sel_port-153: 1.1.sta00037 -sel_port-154: 1.1.sta01037 -sel_port-155: 1.1.sta00537 -sel_port-156: 1.1.sta01537 -sel_port-157: 1.1.sta00038 -sel_port-158: 1.1.sta01038 -sel_port-159: 1.1.sta00538 -sel_port-160: 1.1.sta01538 -sel_port-161: 1.1.sta00039 -sel_port-162: 1.1.sta01039 -sel_port-163: 1.1.sta00539 -sel_port-164: 1.1.sta01539 -sel_port-165: 1.1.sta00040 -sel_port-166: 1.1.sta01040 -sel_port-167: 1.1.sta00540 -sel_port-168: 1.1.sta01540 -sel_port-169: 1.1.sta00041 -sel_port-170: 1.1.sta01041 -sel_port-171: 1.1.sta00541 -sel_port-172: 1.1.sta01541 -sel_port-173: 1.1.sta00042 -sel_port-174: 1.1.sta01042 -sel_port-175: 1.1.sta00542 -sel_port-176: 1.1.sta01542 -sel_port-177: 1.1.sta00043 -sel_port-178: 1.1.sta01043 -sel_port-179: 1.1.sta00543 -sel_port-180: 1.1.sta01543 -sel_port-181: 1.1.sta00044 -sel_port-182: 1.1.sta01044 -sel_port-183: 1.1.sta00544 -sel_port-184: 1.1.sta01544 -sel_port-185: 1.1.sta00045 -sel_port-186: 1.1.sta01045 -sel_port-187: 1.1.sta00545 -sel_port-188: 1.1.sta01545 -sel_port-189: 1.1.sta00046 -sel_port-190: 1.1.sta01046 -sel_port-191: 1.1.sta00546 -sel_port-192: 1.1.sta01546 -sel_port-193: 1.1.sta00047 -sel_port-194: 1.1.sta01047 -sel_port-195: 1.1.sta00547 -sel_port-196: 1.1.sta01547 -sel_port-197: 1.1.sta00048 -sel_port-198: 1.1.sta01048 -sel_port-199: 1.1.sta00548 -sel_port-200: 1.1.sta01548 -sel_port-201: 1.1.sta00049 -sel_port-202: 1.1.sta01049 -sel_port-203: 1.1.sta00549 -sel_port-204: 1.1.sta01549 -sel_port-205: 1.1.sta00050 -sel_port-206: 1.1.sta01050 -sel_port-207: 1.1.sta00550 -sel_port-208: 1.1.sta01550 -sel_port-209: 1.1.sta00051 -sel_port-210: 1.1.sta01051 -sel_port-211: 1.1.sta00551 -sel_port-212: 1.1.sta01551 -sel_port-213: 1.1.sta00052 -sel_port-214: 1.1.sta01052 -sel_port-215: 1.1.sta00552 -sel_port-216: 1.1.sta01552 -sel_port-217: 1.1.sta00053 -sel_port-218: 1.1.sta01053 -sel_port-219: 1.1.sta00553 -sel_port-220: 1.1.sta01553 -sel_port-221: 1.1.sta00054 -sel_port-222: 1.1.sta01054 -sel_port-223: 1.1.sta00554 -sel_port-224: 1.1.sta01554 -sel_port-225: 1.1.sta00055 -sel_port-226: 1.1.sta01055 -sel_port-227: 1.1.sta00555 -sel_port-228: 1.1.sta01555 -sel_port-229: 1.1.sta00056 -sel_port-230: 1.1.sta01056 -sel_port-231: 1.1.sta00556 -sel_port-232: 1.1.sta01556 -sel_port-233: 1.1.sta00057 -sel_port-234: 1.1.sta01057 -sel_port-235: 1.1.sta00557 -sel_port-236: 1.1.sta01557 -sel_port-237: 1.1.sta00058 -sel_port-238: 1.1.sta01058 -sel_port-239: 1.1.sta00558 -sel_port-240: 1.1.sta01558 -sel_port-241: 1.1.sta00059 -sel_port-242: 1.1.sta01059 -sel_port-243: 1.1.sta00559 -sel_port-244: 1.1.sta01559 -sel_port-245: 1.1.sta00060 -sel_port-246: 1.1.sta01060 -sel_port-247: 1.1.sta00560 -sel_port-248: 1.1.sta01560 -sel_port-249: 1.1.sta00061 -sel_port-250: 1.1.sta01061 -sel_port-251: 1.1.sta00561 -sel_port-252: 1.1.sta01561 -sel_port-253: 1.1.sta00062 -sel_port-254: 1.1.sta01062 -sel_port-255: 1.1.sta00562 -sel_port-256: 1.1.sta01562 -sel_port-257: 1.1.sta00063 -sel_port-258: 1.1.sta01063 -sel_port-259: 1.1.sta00563 -sel_port-260: 1.1.sta01563 -show_events: 1 -show_log: 0 -port_sorting: 2 -kpi_id: WiFi Capacity -bg: 0xE0ECF8 -test_rig: -show_scan: 1 -auto_helper: 1 -skip_2: 0 -skip_5: 0 -batch_size: 1,5,10,20,40,80 -loop_iter: 1 -duration: 30000 -test_groups: 0 -test_groups_subset: 0 -protocol: TCP-IPv4 -dl_rate_sel: Total Download Rate: -dl_rate: 1000000000 -ul_rate_sel: Total Upload Rate: -ul_rate: 1000000000 -prcnt_tcp: 100000 -l4_endp: -pdu_sz: -1 -mss_sel: 1 -sock_buffer: 0 -ip_tos: 0 -multi_conn: -1 -min_speed: -1 -ps_interval: 60-second Running Average -fairness: 0 -naptime: 0 -before_clear: 5000 -rpt_timer: 1000 -try_lower: 0 -rnd_rate: 1 -leave_ports_up: 0 -down_quiesce: 0 -udp_nat: 1 -record_other_ssids: 0 -clear_reset_counters: 0 -do_pf: 0 -pf_min_period_dl: 128000 -pf_min_period_ul: 0 -pf_max_reconnects: 0 -use_mix_pdu: 0 -pdu_prcnt_pps: 1 -pdu_prcnt_bps: 0 -pdu_mix_ln-0: -show_scan: 1 -show_golden_3p: 0 -save_csv: 0 -show_realtime: 1 -show_pie: 1 -show_per_loop_totals: 1 -show_cx_time: 1 -show_dhcp: 1 -show_anqp: 1 -show_4way: 1 -show_latency: 1 - - diff --git a/testbeds/nola-basic-03/NOTES.txt b/testbeds/nola-basic-03/NOTES.txt deleted file mode 100644 index 2ddf29991..000000000 --- a/testbeds/nola-basic-03/NOTES.txt +++ /dev/null @@ -1,2 +0,0 @@ - -DUT is an TP-Link EC420, running TIP OpenWrt. diff --git a/testbeds/nola-basic-03/OpenWrt-overlay/etc/config/wireless b/testbeds/nola-basic-03/OpenWrt-overlay/etc/config/wireless deleted file mode 100644 index 082f24dd1..000000000 --- a/testbeds/nola-basic-03/OpenWrt-overlay/etc/config/wireless +++ /dev/null @@ -1,34 +0,0 @@ -config wifi-device 'radio0' - option type 'mac80211' - option channel '36' - option hwmode '11a' - option path 'soc/40000000.pci/pci0000:00/0000:00:00.0/0000:01:00.0' - option htmode 'VHT80' - option disabled '0' - -config wifi-iface 'default_radio0' - option device 'radio0' - option network 'lan' - option mode 'ap' - option ssid 'Default-SSID-5gl' - option encryption 'psk-mixed' - option key '12345678' - option macaddr '00:00:ec:42:00:02' - -config wifi-device 'radio1' - option type 'mac80211' - option hwmode '11g' - option path 'platform/soc/a000000.wifi' - option htmode 'HT40' - option channel 'auto' - option disabled '0' - -config wifi-iface 'default_radio1' - option device 'radio1' - option network 'lan' - option mode 'ap' - option ssid 'Default-SSID-2g' - option encryption 'psk-mixed' - option key '12345678' - option macaddr '00:00:ec:42:00:01' - diff --git a/testbeds/nola-basic-03/ap-auto.txt b/testbeds/nola-basic-03/ap-auto.txt deleted file mode 100644 index b4c174313..000000000 --- a/testbeds/nola-basic-03/ap-auto.txt +++ /dev/null @@ -1,111 +0,0 @@ -[BLANK] -sel_port-0: 1.1.sta00500 -show_events: 1 -show_log: 0 -port_sorting: 0 -kpi_id: AP Auto -bg: 0xE0ECF8 -test_rig: -show_scan: 1 -auto_helper: 1 -skip_2: 1 -skip_5: 1 -dut5b-0: NA -dut5-0: ec420 Default-SSID-5gl -dut2-0: ec420 Default-SSID-2g -dut5b-1: NA -dut5-1: NA -dut2-1: NA -dut5b-2: NA -dut5-2: NA -dut2-2: NA -spatial_streams: AUTO -bandw_options: AUTO -modes: Auto -upstream_port: 1.1.2 eth2 -operator: -mconn: 1 -tos: 0 -vid_buf: 1000000 -vid_speed: 700000 -reset_stall_thresh_udp_dl: 9600 -reset_stall_thresh_udp_ul: 9600 -reset_stall_thresh_tcp_dl: 9600 -reset_stall_thresh_tcp_ul: 9600 -reset_stall_thresh_l4: 100000 -reset_stall_thresh_voip: 20000 -stab_udp_dl_min: 56000 -stab_udp_dl_max: 0 -stab_udp_ul_min: 56000 -stab_udp_ul_max: 0 -stab_tcp_dl_min: 500000 -stab_tcp_dl_max: 0 -stab_tcp_ul_min: 500000 -stab_tcp_ul_max: 0 -dl_speed: 85% -ul_speed: 85% -max_stations_2: 66 -max_stations_5: 66 -max_stations_dual: 132 -lt_sta: 2 -voip_calls: 0 -lt_dur: 3600 -reset_dur: 600 -lt_gi: 30 -dur20: 20 -hunt_retries: 1 -cap_dl: 1 -cap_ul: 0 -cap_use_pkt_sizes: 0 -stability_reset_radios: 0 -pkt_loss_thresh: 10000 -frame_sizes: 200, 512, 1024, MTU -capacities: 1, 2, 5, 10, 20, 40, 64, 128, 256, 512, 1024, MAX -radio2-0: 1.1.4 wiphy0 -radio2-1: 1.1.6 wiphy2 -radio2-2: 1.1.8 wiphy4 -radio5-0: 1.1.5 wiphy1 -radio5-1: 1.1.7 wiphy3 -radio5-2: 1.1.9 wiphy5 -radio5-3: -radio5-4: -radio5-5: -basic_cx: 1 -tput: 0 -dual_band_tput: 0 -capacity: 0 -longterm: 0 -mix_stability: 0 -loop_iter: 1 -reset_batch_size: 1 -reset_duration_min: 10000 -reset_duration_max: 60000 - -# Configure pass/fail metrics for this testbed. -pf_text0: 2.4 DL 200 70Mbps -pf_text1: 2.4 DL 512 110Mbps -pf_text2: 2.4 DL 1024 115Mbps -pf_text3: 2.4 DL MTU 120Mbps -pf_text4: -pf_text5: 2.4 UL 200 88Mbps -pf_text6: 2.4 UL 512 106Mbps -pf_text7: 2.4 UL 1024 115Mbps -pf_text8: 2.4 UL MTU 120Mbps -pf_text9: -pf_text10: 5 DL 200 72Mbps -pf_text11: 5 DL 512 185Mbps -pf_text12: 5 DL 1024 370Mbps -pf_text13: 5 DL MTU 525Mbps -pf_text14: -pf_text15: 5 UL 200 90Mbps -pf_text16: 5 UL 512 230Mbps -pf_text17: 5 UL 1024 450Mbps -pf_text18: 5 UL MTU 630Mbps - -# Tune connect-time thresholds. -cx_prcnt: 950000 -cx_open_thresh: 35 -cx_psk_thresh: 75 -cx_1x_thresh: 130 - - diff --git a/testbeds/nola-basic-03/dpt-pkt-sz.txt b/testbeds/nola-basic-03/dpt-pkt-sz.txt deleted file mode 100644 index f69d14477..000000000 --- a/testbeds/nola-basic-03/dpt-pkt-sz.txt +++ /dev/null @@ -1,55 +0,0 @@ -[BLANK] -show_events: 1 -show_log: 0 -port_sorting: 0 -kpi_id: Dataplane -bg: 0xE0ECF8 -test_rig: -show_scan: 1 -auto_helper: 0 -skip_2: 0 -skip_5: 0 -selected_dut: ec420 -duration: 15000 -traffic_port: 1.1.136 sta00500 -upstream_port: 1.1.2 eth2 -path_loss: 10 -speed: 85% -speed2: 0Kbps -min_rssi_bound: -150 -max_rssi_bound: 0 -channels: AUTO -modes: Auto -pkts: 60;142;256;512;1024;MTU;4000 -spatial_streams: AUTO -security_options: AUTO -bandw_options: AUTO -traffic_types: UDP -directions: DUT Transmit;DUT Receive -txo_preamble: OFDM -txo_mcs: 0 CCK, OFDM, HT, VHT -txo_retries: No Retry -txo_sgi: OFF -txo_txpower: 15 -attenuator: 0 -attenuator2: 0 -attenuator_mod: 255 -attenuator_mod2: 255 -attenuations: 0..+50..950 -attenuations2: 0..+50..950 -chamber: 0 -tt_deg: 0..+45..359 -cust_pkt_sz: -show_3s: 0 -show_ll_graphs: 1 -show_gp_graphs: 1 -show_1m: 1 -pause_iter: 0 -show_realtime: 1 -operator: -mconn: 1 -mpkt: 1000 -tos: 0 -loop_iterations: 1 - - diff --git a/testbeds/nola-basic-03/run_basic.bash b/testbeds/nola-basic-03/run_basic.bash deleted file mode 100755 index 2a6473747..000000000 --- a/testbeds/nola-basic-03/run_basic.bash +++ /dev/null @@ -1,71 +0,0 @@ -#!/bin/bash - -# Example usage of this script -# DUT_SW_VER=my-build-id ./run_basic.bash -# -# Other DUT variables in test_bed_cfg.bash may also be over-ridden, -# including those below. See LANforge 'add_dut' CLI command for -# details on what these variables are for. - -# DUT_FLAGS DUT_FLAGS_MASK DUT_SW_VER DUT_HW_VER DUT_MODEL -# DUT_SERIAL DUT_SSID1 DUT_SSID2 DUT_SSID3 -# DUT_PASSWD1 DUT_PASSWD2 DUT_PASSWD3 -# DUT_BSSID1 DUT_BSSID2 DUT_BSSID3 - -# Source config file -. test_bed_cfg.bash - -echo "Top wlan-testing git commits.
" > ./tmp_gitlog.html
-git log -n 8 --oneline >> ./tmp_gitlog.html
-echo "
" >> ./tmp_gitlog.html - -NOTES_HTML=`pwd`/testbed_notes.html -GITLOG=`pwd`/tmp_gitlog.html - -if [ -d "../../../wlan-ap" ] -then - DUTGITLOG=/tmp/${DUT_SW_VER}_dut_gitlog.html - echo "Top wlan-ap git commits.
" > $DUTGITLOG
-    (cd ../../../wlan-ap && git log -n 8 --oneline $DUT_SW_VER >> $DUTGITLOG && cd -)
-    echo "
" >> $DUTGITLOG - export DUTGITLOG -fi -export NOTES_HTML GITLOG - -# TODO: Copy config file to cloud controller and restart it -# and/or do other config to make it work. - -# Change to scripts dir -cd ../../lanforge/lanforge-scripts/gui - -# Where to place results. basic_regression.bash will use this variable. -RSLTS_DIR=/tmp/nola-03-basic-regression -export RSLTS_DIR - -# Clean any existing data from the results dir -rm -fr $RSLTS_DIR - -# Run one test -# DEFAULT_ENABLE=0 DO_SHORT_AP_STABILITY_RESET=1 ./basic_regression.bash - -# Clean up old DHCP leases -../lf_gui_cmd.pl --manager $GMANAGER --port $GMPORT --cmd "cli clear_port_counters ALL ALL ALL dhcp_leases" - -# Run all tests -./basic_regression.bash - -cd - - -if [ ! -d $RSLTS_DIR ] -then - echo "Test did not run as expected, $RSLTS_DIR not found." - mkdir -p $RSLTS_DIR -fi - -if [ -f ${MY_TMPDIR}/basic_regression_log.txt ] -then - echo "Found ${MY_TMPDIR}/basic_regression_log.txt, moving into $RSLTS_DIR" - mv ${MY_TMPDIR}/basic_regression_log.txt $RSLTS_DIR/ -fi - -echo "See results in $RSLTS_DIR" diff --git a/testbeds/nola-basic-03/run_basic_fast.bash b/testbeds/nola-basic-03/run_basic_fast.bash deleted file mode 100755 index 6e41c95de..000000000 --- a/testbeds/nola-basic-03/run_basic_fast.bash +++ /dev/null @@ -1,83 +0,0 @@ -#!/bin/bash - -# Example usage of this script -# DUT_SW_VER=my-build-id ./run_basic.bash -# -# Other DUT variables in test_bed_cfg.bash may also be over-ridden, -# including those below. See LANforge 'add_dut' CLI command for -# details on what these variables are for. - -# DUT_FLAGS DUT_FLAGS_MASK DUT_SW_VER DUT_HW_VER DUT_MODEL -# DUT_SERIAL DUT_SSID1 DUT_SSID2 DUT_SSID3 -# DUT_PASSWD1 DUT_PASSWD2 DUT_PASSWD3 -# DUT_BSSID1 DUT_BSSID2 DUT_BSSID3 - -#set -x - -DO_SHORT_AP_BASIC_CX=${DO_SHORT_AP_BASIC_CX:-1} -DO_WCT_BI=${DO_WCT_BI:-1} - -export DO_SHORT_AP_BASI_CX DO_WCT_BI - -# Source config file -. test_bed_cfg.bash - -echo "Top wlan-testing git commits.
" > ./tmp_gitlog.html
-git log -n 8 --oneline >> ./tmp_gitlog.html
-echo "
" >> ./tmp_gitlog.html - -NOTES_HTML=`pwd`/testbed_notes.html -GITLOG=`pwd`/tmp_gitlog.html - -if [ -d "../../../wlan-ap" ] -then - DUTGITLOG=/tmp/${DUT_SW_VER}_dut_gitlog.html - echo "Top wlan-ap git commits.
" > $DUTGITLOG
-    (cd ../../../wlan-ap && git log -n 8 --oneline $DUT_SW_VER >> $DUTGITLOG && cd -)
-    echo "
" >> $DUTGITLOG - export DUTGITLOG -fi -export NOTES_HTML GITLOG - -# TODO: Copy config file to cloud controller and restart it -# and/or do other config to make it work. - -# Change to scripts dir -cd ../../lanforge/lanforge-scripts/gui - -# Where to place results. basic_regression.bash will use this variable. -RSLTS_DIR=/tmp/nola-03-basic-regression-fast -export RSLTS_DIR - -# Clean any existing data from the results dir -rm -fr $RSLTS_DIR - -# Clean up old DHCP leases -../lf_gui_cmd.pl --manager $GMANAGER --port $GMPORT --cmd "cli clear_port_counters ALL ALL ALL dhcp_leases" - -# Run a subset of available tests -# See 'Tests to run' comment in basic_regression.bash for available options. - -#DEFAULT_ENABLE=0 WCT_DURATION=20s DO_SHORT_AP_BASIC_CX=1 DO_WCT_BI=1 ./basic_regression.bash - -DEFAULT_ENABLE=0 WCT_DURATION=20s ./basic_regression.bash - - -# Run all tests -#./basic_regression.bash - -cd - - -if [ ! -d $RSLTS_DIR ] -then - echo "Test did not run as expected, $RSLTS_DIR not found." - mkdir -p $RSLTS_DIR -fi - -if [ -f ${MY_TMPDIR}/basic_regression_log.txt ] -then - echo "Found ${MY_TMPDIR}/basic_regression_log.txt, moving into $RSLTS_DIR" - mv ${MY_TMPDIR}/basic_regression_log.txt $RSLTS_DIR/ -fi - -echo "See results in $RSLTS_DIR" diff --git a/testbeds/nola-basic-03/scenario.txt b/testbeds/nola-basic-03/scenario.txt deleted file mode 100644 index 25a9cce15..000000000 --- a/testbeds/nola-basic-03/scenario.txt +++ /dev/null @@ -1,13 +0,0 @@ -profile_link 1.1 STA-AC 64 'DUT: ec420 Radio-1' NA wiphy4,AUTO -1 -profile_link 1.1 STA-AC 64 'DUT: ec420 Radio-2' NA wiphy5,AUTO -1 -profile_link 1.1 upstream-dhcp 1 NA NA eth2,AUTO -1 -profile_link 1.1 uplink-nat 1 'DUT: upstream LAN 100.97.39.129/25' NA eth3,eth2 -1 -profile_link 1.1 STA-AC 1 'DUT: ec420 Radio-2' NA wiphy0,AUTO -1 -profile_link 1.1 STA-AC 1 'DUT: ec420 Radio-2' NA wiphy1,AUTO -1 -profile_link 1.1 STA-AC 1 'DUT: ec420 Radio-2' NA wiphy2,AUTO -1 -profile_link 1.1 STA-AC 1 'DUT: ec420 Radio-2' NA wiphy3,AUTO -1 -dut ec420 393 148 -dut upstream 306 62 -resource 1.1 132 218 - - diff --git a/testbeds/nola-basic-03/scenario_small.txt b/testbeds/nola-basic-03/scenario_small.txt deleted file mode 100644 index 4796c03ab..000000000 --- a/testbeds/nola-basic-03/scenario_small.txt +++ /dev/null @@ -1,13 +0,0 @@ -profile_link 1.1 STA-AC 24 'DUT: ec420 Radio-1' NA wiphy4,AUTO -1 -profile_link 1.1 STA-AC 24 'DUT: ec420 Radio-2' NA wiphy5,AUTO -1 -profile_link 1.1 upstream-dhcp 1 NA NA eth2,AUTO -1 -profile_link 1.1 uplink-nat 1 'DUT: upstream LAN 100.97.39.129/25' NA eth3,eth2 -1 -profile_link 1.1 STA-AC 1 'DUT: ec420 Radio-2' NA wiphy0,AUTO -1 -profile_link 1.1 STA-AC 1 'DUT: ec420 Radio-2' NA wiphy1,AUTO -1 -profile_link 1.1 STA-AC 1 'DUT: ec420 Radio-2' NA wiphy2,AUTO -1 -profile_link 1.1 STA-AC 1 'DUT: ec420 Radio-2' NA wiphy3,AUTO -1 -dut ec420 393 148 -dut upstream 306 62 -resource 1.1 132 218 - - diff --git a/testbeds/nola-basic-03/test_bed_cfg.bash b/testbeds/nola-basic-03/test_bed_cfg.bash deleted file mode 100644 index 2432edc31..000000000 --- a/testbeds/nola-basic-03/test_bed_cfg.bash +++ /dev/null @@ -1,60 +0,0 @@ -# Example test-bed configuration - -# Scripts should source this file to set the default environment variables -# and then override the variables specific to their test case (and it can be done -# in opposite order for same results -# -# After the env variables are set, -# call the 'lanforge/lanforge-scripts/gui/basic_regression.bash' -# from the directory in which it resides. - -PWD=`pwd` -AP_SERIAL=${AP_SERIAL:-/dev/ttyAP3} -LF_SERIAL=${LF_SERIAL:-/dev/ttyLF3} -LFPASSWD=${LFPASSWD:-lanforge} # Root password on LANforge machine -AP_AUTO_CFG_FILE=${AP_AUTO_CFG_FILE:-$PWD/ap-auto.txt} -WCT_CFG_FILE=${WCT_CFG_FILE:-$PWD/wct.txt} -DPT_CFG_FILE=${DPT_CFG_FILE:-$PWD/dpt-pkt-sz.txt} -SCENARIO_CFG_FILE=${SCENARIO_CFG_FILE:-$PWD/scenario.txt} - -# Default to enable cloud-sdk for this testbed, cloud-sdk is at IP addr below -#USE_CLOUD_SDK=${USE_CLOUD_SDK:-192.168.100.164} - -# LANforge target machine -LFMANAGER=${LFMANAGER:-lf3} - -# LANforge GUI machine (may often be same as target) -GMANAGER=${GMANAGER:-lf3} -GMPORT=${GMPORT:-3990} -MY_TMPDIR=${MY_TMPDIR:-/tmp} - -# Test configuration (10 minutes by default, in interest of time) -STABILITY_DURATION=${STABILITY_DURATION:-600} -TEST_RIG_ID=${TEST_RIG_ID:-NOLA-03-Basic} - -# DUT configuration -DUT_FLAGS=${DUT_FLAGS:-0x22} # AP, WPA-PSK -#DUT_FLAGS=${DUT_FLAGS:-0x2} # AP, Open -DUT_FLAGS_MASK=${DUT_FLAGS_MASK:-0xFFFF} -DUT_SW_VER=${DUT_SW_VER:-OpenWrt-TIP} -DUT_HW_VER="TP-Link EC420" -DUT_MODEL="TP-Link EC420" -DUT_SERIAL=${DUT_SERIAL:-NA} -DUT_SSID1=${DUT_SSID1:-Default-SSID-2g} -DUT_SSID2=${DUT_SSID2:-Default-SSID-5gl} -DUT_PASSWD1=${DUT_PASSWD1:-12345678} -DUT_PASSWD2=${DUT_PASSWD2:-12345678} -# 2.4 radio -DUT_BSSID1=00:00:ec:42:00:01 -# 5Ghz radio -DUT_BSSID2=00:00:ec:42:00:02 - -export LF_SERIAL AP_SERIAL LFPASSWD -export AP_AUTO_CFG_FILE WCT_CFG_FILE DPT_CFG_FILE SCENARIO_CFG_FILE -export LFMANAGER GMANAGER GMPORT MY_TMPDIR -export STABILITY_DURATION TEST_RIG_ID -export DUT_FLAGS DUT_FLAGS_MASK DUT_SW_VER DUT_HW_VER DUT_MODEL -export DUT_SERIAL DUT_SSID1 DUT_SSID2 DUT_SSID3 -export DUT_PASSWD1 DUT_PASSWD2 DUT_PASSWD3 -export DUT_BSSID1 DUT_BSSID2 DUT_BSSID3 -export USE_CLOUD_SDK diff --git a/testbeds/nola-basic-03/wct.txt b/testbeds/nola-basic-03/wct.txt deleted file mode 100644 index 3c7910719..000000000 --- a/testbeds/nola-basic-03/wct.txt +++ /dev/null @@ -1,323 +0,0 @@ -[BLANK] -sel_port-0: 1.1.eth2 -sel_port-1: 1.1.sta00000 -sel_port-2: 1.1.sta01000 -sel_port-3: 1.1.sta00500 -sel_port-4: 1.1.sta01500 -sel_port-5: 1.1.sta03000 -sel_port-6: 1.1.sta03500 -sel_port-7: 1.1.sta04000 -sel_port-8: 1.1.sta04500 -sel_port-9: 1.1.sta00001 -sel_port-10: 1.1.sta01001 -sel_port-11: 1.1.sta00501 -sel_port-12: 1.1.sta01501 -sel_port-13: 1.1.sta00002 -sel_port-14: 1.1.sta01002 -sel_port-15: 1.1.sta00502 -sel_port-16: 1.1.sta01502 -sel_port-17: 1.1.sta00003 -sel_port-18: 1.1.sta01003 -sel_port-19: 1.1.sta00503 -sel_port-20: 1.1.sta01503 -sel_port-21: 1.1.sta00004 -sel_port-22: 1.1.sta01004 -sel_port-23: 1.1.sta00504 -sel_port-24: 1.1.sta01504 -sel_port-25: 1.1.sta00005 -sel_port-26: 1.1.sta01005 -sel_port-27: 1.1.sta00505 -sel_port-28: 1.1.sta01505 -sel_port-29: 1.1.sta00006 -sel_port-30: 1.1.sta01006 -sel_port-31: 1.1.sta00506 -sel_port-32: 1.1.sta01506 -sel_port-33: 1.1.sta00007 -sel_port-34: 1.1.sta01007 -sel_port-35: 1.1.sta00507 -sel_port-36: 1.1.sta01507 -sel_port-37: 1.1.sta00008 -sel_port-38: 1.1.sta01008 -sel_port-39: 1.1.sta00508 -sel_port-40: 1.1.sta01508 -sel_port-41: 1.1.sta00009 -sel_port-42: 1.1.sta01009 -sel_port-43: 1.1.sta00509 -sel_port-44: 1.1.sta01509 -sel_port-45: 1.1.sta00010 -sel_port-46: 1.1.sta01010 -sel_port-47: 1.1.sta00510 -sel_port-48: 1.1.sta01510 -sel_port-49: 1.1.sta00011 -sel_port-50: 1.1.sta01011 -sel_port-51: 1.1.sta00511 -sel_port-52: 1.1.sta01511 -sel_port-53: 1.1.sta00012 -sel_port-54: 1.1.sta01012 -sel_port-55: 1.1.sta00512 -sel_port-56: 1.1.sta01512 -sel_port-57: 1.1.sta00013 -sel_port-58: 1.1.sta01013 -sel_port-59: 1.1.sta00513 -sel_port-60: 1.1.sta01513 -sel_port-61: 1.1.sta00014 -sel_port-62: 1.1.sta01014 -sel_port-63: 1.1.sta00514 -sel_port-64: 1.1.sta01514 -sel_port-65: 1.1.sta00015 -sel_port-66: 1.1.sta01015 -sel_port-67: 1.1.sta00515 -sel_port-68: 1.1.sta01515 -sel_port-69: 1.1.sta00016 -sel_port-70: 1.1.sta01016 -sel_port-71: 1.1.sta00516 -sel_port-72: 1.1.sta01516 -sel_port-73: 1.1.sta00017 -sel_port-74: 1.1.sta01017 -sel_port-75: 1.1.sta00517 -sel_port-76: 1.1.sta01517 -sel_port-77: 1.1.sta00018 -sel_port-78: 1.1.sta01018 -sel_port-79: 1.1.sta00518 -sel_port-80: 1.1.sta01518 -sel_port-81: 1.1.sta00019 -sel_port-82: 1.1.sta01019 -sel_port-83: 1.1.sta00519 -sel_port-84: 1.1.sta01519 -sel_port-85: 1.1.sta00020 -sel_port-86: 1.1.sta01020 -sel_port-87: 1.1.sta00520 -sel_port-88: 1.1.sta01520 -sel_port-89: 1.1.sta00021 -sel_port-90: 1.1.sta01021 -sel_port-91: 1.1.sta00521 -sel_port-92: 1.1.sta01521 -sel_port-93: 1.1.sta00022 -sel_port-94: 1.1.sta01022 -sel_port-95: 1.1.sta00522 -sel_port-96: 1.1.sta01522 -sel_port-97: 1.1.sta00023 -sel_port-98: 1.1.sta01023 -sel_port-99: 1.1.sta00523 -sel_port-100: 1.1.sta01523 -sel_port-101: 1.1.sta00024 -sel_port-102: 1.1.sta01024 -sel_port-103: 1.1.sta00524 -sel_port-104: 1.1.sta01524 -sel_port-105: 1.1.sta00025 -sel_port-106: 1.1.sta01025 -sel_port-107: 1.1.sta00525 -sel_port-108: 1.1.sta01525 -sel_port-109: 1.1.sta00026 -sel_port-110: 1.1.sta01026 -sel_port-111: 1.1.sta00526 -sel_port-112: 1.1.sta01526 -sel_port-113: 1.1.sta00027 -sel_port-114: 1.1.sta01027 -sel_port-115: 1.1.sta00527 -sel_port-116: 1.1.sta01527 -sel_port-117: 1.1.sta00028 -sel_port-118: 1.1.sta01028 -sel_port-119: 1.1.sta00528 -sel_port-120: 1.1.sta01528 -sel_port-121: 1.1.sta00029 -sel_port-122: 1.1.sta01029 -sel_port-123: 1.1.sta00529 -sel_port-124: 1.1.sta01529 -sel_port-125: 1.1.sta00030 -sel_port-126: 1.1.sta01030 -sel_port-127: 1.1.sta00530 -sel_port-128: 1.1.sta01530 -sel_port-129: 1.1.sta00031 -sel_port-130: 1.1.sta01031 -sel_port-131: 1.1.sta00531 -sel_port-132: 1.1.sta01531 -sel_port-133: 1.1.sta00032 -sel_port-134: 1.1.sta01032 -sel_port-135: 1.1.sta00532 -sel_port-136: 1.1.sta01532 -sel_port-137: 1.1.sta00033 -sel_port-138: 1.1.sta01033 -sel_port-139: 1.1.sta00533 -sel_port-140: 1.1.sta01533 -sel_port-141: 1.1.sta00034 -sel_port-142: 1.1.sta01034 -sel_port-143: 1.1.sta00534 -sel_port-144: 1.1.sta01534 -sel_port-145: 1.1.sta00035 -sel_port-146: 1.1.sta01035 -sel_port-147: 1.1.sta00535 -sel_port-148: 1.1.sta01535 -sel_port-149: 1.1.sta00036 -sel_port-150: 1.1.sta01036 -sel_port-151: 1.1.sta00536 -sel_port-152: 1.1.sta01536 -sel_port-153: 1.1.sta00037 -sel_port-154: 1.1.sta01037 -sel_port-155: 1.1.sta00537 -sel_port-156: 1.1.sta01537 -sel_port-157: 1.1.sta00038 -sel_port-158: 1.1.sta01038 -sel_port-159: 1.1.sta00538 -sel_port-160: 1.1.sta01538 -sel_port-161: 1.1.sta00039 -sel_port-162: 1.1.sta01039 -sel_port-163: 1.1.sta00539 -sel_port-164: 1.1.sta01539 -sel_port-165: 1.1.sta00040 -sel_port-166: 1.1.sta01040 -sel_port-167: 1.1.sta00540 -sel_port-168: 1.1.sta01540 -sel_port-169: 1.1.sta00041 -sel_port-170: 1.1.sta01041 -sel_port-171: 1.1.sta00541 -sel_port-172: 1.1.sta01541 -sel_port-173: 1.1.sta00042 -sel_port-174: 1.1.sta01042 -sel_port-175: 1.1.sta00542 -sel_port-176: 1.1.sta01542 -sel_port-177: 1.1.sta00043 -sel_port-178: 1.1.sta01043 -sel_port-179: 1.1.sta00543 -sel_port-180: 1.1.sta01543 -sel_port-181: 1.1.sta00044 -sel_port-182: 1.1.sta01044 -sel_port-183: 1.1.sta00544 -sel_port-184: 1.1.sta01544 -sel_port-185: 1.1.sta00045 -sel_port-186: 1.1.sta01045 -sel_port-187: 1.1.sta00545 -sel_port-188: 1.1.sta01545 -sel_port-189: 1.1.sta00046 -sel_port-190: 1.1.sta01046 -sel_port-191: 1.1.sta00546 -sel_port-192: 1.1.sta01546 -sel_port-193: 1.1.sta00047 -sel_port-194: 1.1.sta01047 -sel_port-195: 1.1.sta00547 -sel_port-196: 1.1.sta01547 -sel_port-197: 1.1.sta00048 -sel_port-198: 1.1.sta01048 -sel_port-199: 1.1.sta00548 -sel_port-200: 1.1.sta01548 -sel_port-201: 1.1.sta00049 -sel_port-202: 1.1.sta01049 -sel_port-203: 1.1.sta00549 -sel_port-204: 1.1.sta01549 -sel_port-205: 1.1.sta00050 -sel_port-206: 1.1.sta01050 -sel_port-207: 1.1.sta00550 -sel_port-208: 1.1.sta01550 -sel_port-209: 1.1.sta00051 -sel_port-210: 1.1.sta01051 -sel_port-211: 1.1.sta00551 -sel_port-212: 1.1.sta01551 -sel_port-213: 1.1.sta00052 -sel_port-214: 1.1.sta01052 -sel_port-215: 1.1.sta00552 -sel_port-216: 1.1.sta01552 -sel_port-217: 1.1.sta00053 -sel_port-218: 1.1.sta01053 -sel_port-219: 1.1.sta00553 -sel_port-220: 1.1.sta01553 -sel_port-221: 1.1.sta00054 -sel_port-222: 1.1.sta01054 -sel_port-223: 1.1.sta00554 -sel_port-224: 1.1.sta01554 -sel_port-225: 1.1.sta00055 -sel_port-226: 1.1.sta01055 -sel_port-227: 1.1.sta00555 -sel_port-228: 1.1.sta01555 -sel_port-229: 1.1.sta00056 -sel_port-230: 1.1.sta01056 -sel_port-231: 1.1.sta00556 -sel_port-232: 1.1.sta01556 -sel_port-233: 1.1.sta00057 -sel_port-234: 1.1.sta01057 -sel_port-235: 1.1.sta00557 -sel_port-236: 1.1.sta01557 -sel_port-237: 1.1.sta00058 -sel_port-238: 1.1.sta01058 -sel_port-239: 1.1.sta00558 -sel_port-240: 1.1.sta01558 -sel_port-241: 1.1.sta00059 -sel_port-242: 1.1.sta01059 -sel_port-243: 1.1.sta00559 -sel_port-244: 1.1.sta01559 -sel_port-245: 1.1.sta00060 -sel_port-246: 1.1.sta01060 -sel_port-247: 1.1.sta00560 -sel_port-248: 1.1.sta01560 -sel_port-249: 1.1.sta00061 -sel_port-250: 1.1.sta01061 -sel_port-251: 1.1.sta00561 -sel_port-252: 1.1.sta01561 -sel_port-253: 1.1.sta00062 -sel_port-254: 1.1.sta01062 -sel_port-255: 1.1.sta00562 -sel_port-256: 1.1.sta01562 -sel_port-257: 1.1.sta00063 -sel_port-258: 1.1.sta01063 -sel_port-259: 1.1.sta00563 -sel_port-260: 1.1.sta01563 -show_events: 1 -show_log: 0 -port_sorting: 2 -kpi_id: WiFi Capacity -bg: 0xE0ECF8 -test_rig: -show_scan: 1 -auto_helper: 1 -skip_2: 0 -skip_5: 0 -batch_size: 1,5,10,20,40,80 -loop_iter: 1 -duration: 30000 -test_groups: 0 -test_groups_subset: 0 -protocol: TCP-IPv4 -dl_rate_sel: Total Download Rate: -dl_rate: 1000000000 -ul_rate_sel: Total Upload Rate: -ul_rate: 1000000000 -prcnt_tcp: 100000 -l4_endp: -pdu_sz: -1 -mss_sel: 1 -sock_buffer: 0 -ip_tos: 0 -multi_conn: -1 -min_speed: -1 -ps_interval: 60-second Running Average -fairness: 0 -naptime: 0 -before_clear: 5000 -rpt_timer: 1000 -try_lower: 0 -rnd_rate: 1 -leave_ports_up: 0 -down_quiesce: 0 -udp_nat: 1 -record_other_ssids: 0 -clear_reset_counters: 0 -do_pf: 0 -pf_min_period_dl: 128000 -pf_min_period_ul: 0 -pf_max_reconnects: 0 -use_mix_pdu: 0 -pdu_prcnt_pps: 1 -pdu_prcnt_bps: 0 -pdu_mix_ln-0: -show_scan: 1 -show_golden_3p: 0 -save_csv: 0 -show_realtime: 1 -show_pie: 1 -show_per_loop_totals: 1 -show_cx_time: 1 -show_dhcp: 1 -show_anqp: 1 -show_4way: 1 -show_latency: 1 - - diff --git a/testbeds/nola-basic-04/NOTES.txt b/testbeds/nola-basic-04/NOTES.txt deleted file mode 100644 index 9dabae284..000000000 --- a/testbeds/nola-basic-04/NOTES.txt +++ /dev/null @@ -1,2 +0,0 @@ - -DUT is an Edge-Core 5410, running TIP OpenWrt. diff --git a/testbeds/nola-basic-04/OpenWrt-overlay/etc/config/wireless b/testbeds/nola-basic-04/OpenWrt-overlay/etc/config/wireless deleted file mode 100644 index 20cf5293b..000000000 --- a/testbeds/nola-basic-04/OpenWrt-overlay/etc/config/wireless +++ /dev/null @@ -1,32 +0,0 @@ -config wifi-device 'radio0' - option type 'mac80211' - option channel '36' - option hwmode '11a' - option path 'soc/1b700000.pci/pci0001:00/0001:00:00.0/0001:01:00.0' - option htmode 'VHT80' - option disabled '0' - -config wifi-iface 'default_radio0' - option device 'radio0' - option network 'lan' - option mode 'ap' - option ssid 'Default-SSID-5gl' - option encryption 'psk-mixed' - option key '12345678' - -config wifi-device 'radio1' - option type 'mac80211' - option channel '11' - option hwmode '11g' - option path 'soc/1b900000.pci/pci0002:00/0002:00:00.0/0002:01:00.0' - option htmode 'HT20' - option disabled '0' - -config wifi-iface 'default_radio1' - option device 'radio1' - option network 'lan' - option mode 'ap' - option ssid 'Default-SSID-2g' - option encryption 'psk-mixed' - option key '12345678' - diff --git a/testbeds/nola-basic-04/ap-auto.txt b/testbeds/nola-basic-04/ap-auto.txt deleted file mode 100644 index 8ca4b220c..000000000 --- a/testbeds/nola-basic-04/ap-auto.txt +++ /dev/null @@ -1,111 +0,0 @@ -[BLANK] -sel_port-0: 1.1.sta00500 -show_events: 1 -show_log: 0 -port_sorting: 0 -kpi_id: AP Auto -bg: 0xE0ECF8 -test_rig: -show_scan: 1 -auto_helper: 1 -skip_2: 1 -skip_5: 1 -dut5b-0: NA -dut5-0: ecw5410 Default-SSID-5gl -dut2-0: ecw5410 Default-SSID-2g -dut5b-1: NA -dut5-1: NA -dut2-1: NA -dut5b-2: NA -dut5-2: NA -dut2-2: NA -spatial_streams: AUTO -bandw_options: AUTO -modes: Auto -upstream_port: 1.1.2 eth2 -operator: -mconn: 1 -tos: 0 -vid_buf: 1000000 -vid_speed: 700000 -reset_stall_thresh_udp_dl: 9600 -reset_stall_thresh_udp_ul: 9600 -reset_stall_thresh_tcp_dl: 9600 -reset_stall_thresh_tcp_ul: 9600 -reset_stall_thresh_l4: 100000 -reset_stall_thresh_voip: 20000 -stab_udp_dl_min: 56000 -stab_udp_dl_max: 0 -stab_udp_ul_min: 56000 -stab_udp_ul_max: 0 -stab_tcp_dl_min: 500000 -stab_tcp_dl_max: 0 -stab_tcp_ul_min: 500000 -stab_tcp_ul_max: 0 -dl_speed: 85% -ul_speed: 85% -max_stations_2: 66 -max_stations_5: 66 -max_stations_dual: 132 -lt_sta: 2 -voip_calls: 0 -lt_dur: 3600 -reset_dur: 600 -lt_gi: 30 -dur20: 20 -hunt_retries: 1 -cap_dl: 1 -cap_ul: 0 -cap_use_pkt_sizes: 0 -stability_reset_radios: 0 -pkt_loss_thresh: 10000 -frame_sizes: 200, 512, 1024, MTU -capacities: 1, 2, 5, 10, 20, 40, 64, 128, 256, 512, 1024, MAX -radio2-0: 1.1.4 wiphy0 -radio2-1: 1.1.6 wiphy2 -radio2-2: 1.1.8 wiphy4 -radio5-0: 1.1.5 wiphy1 -radio5-1: 1.1.7 wiphy3 -radio5-2: 1.1.9 wiphy5 -radio5-3: -radio5-4: -radio5-5: -basic_cx: 1 -tput: 0 -dual_band_tput: 0 -capacity: 0 -longterm: 0 -mix_stability: 0 -loop_iter: 1 -reset_batch_size: 1 -reset_duration_min: 10000 -reset_duration_max: 60000 - -# Configure pass/fail metrics for this testbed. -pf_text0: 2.4 DL 200 70Mbps -pf_text1: 2.4 DL 512 110Mbps -pf_text2: 2.4 DL 1024 115Mbps -pf_text3: 2.4 DL MTU 120Mbps -pf_text4: -pf_text5: 2.4 UL 200 88Mbps -pf_text6: 2.4 UL 512 106Mbps -pf_text7: 2.4 UL 1024 115Mbps -pf_text8: 2.4 UL MTU 120Mbps -pf_text9: -pf_text10: 5 DL 200 72Mbps -pf_text11: 5 DL 512 185Mbps -pf_text12: 5 DL 1024 370Mbps -pf_text13: 5 DL MTU 525Mbps -pf_text14: -pf_text15: 5 UL 200 90Mbps -pf_text16: 5 UL 512 230Mbps -pf_text17: 5 UL 1024 450Mbps -pf_text18: 5 UL MTU 630Mbps - -# Tune connect-time thresholds. -cx_prcnt: 950000 -cx_open_thresh: 35 -cx_psk_thresh: 75 -cx_1x_thresh: 130 - - diff --git a/testbeds/nola-basic-04/dpt-pkt-sz.txt b/testbeds/nola-basic-04/dpt-pkt-sz.txt deleted file mode 100644 index aa10d1107..000000000 --- a/testbeds/nola-basic-04/dpt-pkt-sz.txt +++ /dev/null @@ -1,55 +0,0 @@ -[BLANK] -show_events: 1 -show_log: 0 -port_sorting: 0 -kpi_id: Dataplane -bg: 0xE0ECF8 -test_rig: -show_scan: 1 -auto_helper: 0 -skip_2: 0 -skip_5: 0 -selected_dut: ea8300 -duration: 15000 -traffic_port: 1.1.136 sta00500 -upstream_port: 1.1.2 eth2 -path_loss: 10 -speed: 85% -speed2: 0Kbps -min_rssi_bound: -150 -max_rssi_bound: 0 -channels: AUTO -modes: Auto -pkts: 60;142;256;512;1024;MTU;4000 -spatial_streams: AUTO -security_options: AUTO -bandw_options: AUTO -traffic_types: UDP -directions: DUT Transmit;DUT Receive -txo_preamble: OFDM -txo_mcs: 0 CCK, OFDM, HT, VHT -txo_retries: No Retry -txo_sgi: OFF -txo_txpower: 15 -attenuator: 0 -attenuator2: 0 -attenuator_mod: 255 -attenuator_mod2: 255 -attenuations: 0..+50..950 -attenuations2: 0..+50..950 -chamber: 0 -tt_deg: 0..+45..359 -cust_pkt_sz: -show_3s: 0 -show_ll_graphs: 1 -show_gp_graphs: 1 -show_1m: 1 -pause_iter: 0 -show_realtime: 1 -operator: -mconn: 1 -mpkt: 1000 -tos: 0 -loop_iterations: 1 - - diff --git a/testbeds/nola-basic-04/run_basic.bash b/testbeds/nola-basic-04/run_basic.bash deleted file mode 100755 index 89f8db436..000000000 --- a/testbeds/nola-basic-04/run_basic.bash +++ /dev/null @@ -1,71 +0,0 @@ -#!/bin/bash - -# Example usage of this script -# DUT_SW_VER=my-build-id ./run_basic.bash -# -# Other DUT variables in test_bed_cfg.bash may also be over-ridden, -# including those below. See LANforge 'add_dut' CLI command for -# details on what these variables are for. - -# DUT_FLAGS DUT_FLAGS_MASK DUT_SW_VER DUT_HW_VER DUT_MODEL -# DUT_SERIAL DUT_SSID1 DUT_SSID2 DUT_SSID3 -# DUT_PASSWD1 DUT_PASSWD2 DUT_PASSWD3 -# DUT_BSSID1 DUT_BSSID2 DUT_BSSID3 - -# Source config file -. test_bed_cfg.bash - -echo "Top wlan-testing git commits.
" > ./tmp_gitlog.html
-git log -n 8 --oneline >> ./tmp_gitlog.html
-echo "
" >> ./tmp_gitlog.html - -NOTES_HTML=`pwd`/testbed_notes.html -GITLOG=`pwd`/tmp_gitlog.html - -if [ -d "../../../wlan-ap" ] -then - DUTGITLOG=/tmp/${DUT_SW_VER}_dut_gitlog.html - echo "Top wlan-ap git commits.
" > $DUTGITLOG
-    (cd ../../../wlan-ap && git log -n 8 --oneline $DUT_SW_VER >> $DUTGITLOG && cd -)
-    echo "
" >> $DUTGITLOG - export DUTGITLOG -fi -export NOTES_HTML GITLOG - -# TODO: Copy config file to cloud controller and restart it -# and/or do other config to make it work. - -# Change to scripts dir -cd ../../lanforge/lanforge-scripts/gui - -# Where to place results. basic_regression.bash will use this variable. -RSLTS_DIR=/tmp/nola-04-basic-regression -export RSLTS_DIR - -# Clean any existing data from the results dir -rm -fr $RSLTS_DIR - -# Run one test -# DEFAULT_ENABLE=0 DO_SHORT_AP_STABILITY_RESET=1 ./basic_regression.bash - -# Clean up old DHCP leases -../lf_gui_cmd.pl --manager $GMANAGER --port $GMPORT --cmd "cli clear_port_counters ALL ALL ALL dhcp_leases" - -# Run all tests -./basic_regression.bash - -cd - - -if [ ! -d $RSLTS_DIR ] -then - echo "Test did not run as expected, $RSLTS_DIR not found." - mkdir -p $RSLTS_DIR -fi - -if [ -f ${MY_TMPDIR}/basic_regression_log.txt ] -then - echo "Found ${MY_TMPDIR}/basic_regression_log.txt, moving into $RSLTS_DIR" - mv ${MY_TMPDIR}/basic_regression_log.txt $RSLTS_DIR/ -fi - -echo "See results in $RSLTS_DIR" diff --git a/testbeds/nola-basic-04/run_basic_fast.bash b/testbeds/nola-basic-04/run_basic_fast.bash deleted file mode 100755 index ce203df65..000000000 --- a/testbeds/nola-basic-04/run_basic_fast.bash +++ /dev/null @@ -1,83 +0,0 @@ -#!/bin/bash - -# Example usage of this script -# DUT_SW_VER=my-build-id ./run_basic.bash -# -# Other DUT variables in test_bed_cfg.bash may also be over-ridden, -# including those below. See LANforge 'add_dut' CLI command for -# details on what these variables are for. - -# DUT_FLAGS DUT_FLAGS_MASK DUT_SW_VER DUT_HW_VER DUT_MODEL -# DUT_SERIAL DUT_SSID1 DUT_SSID2 DUT_SSID3 -# DUT_PASSWD1 DUT_PASSWD2 DUT_PASSWD3 -# DUT_BSSID1 DUT_BSSID2 DUT_BSSID3 - -#set -x - -DO_SHORT_AP_BASIC_CX=${DO_SHORT_AP_BASIC_CX:-1} -DO_WCT_BI=${DO_WCT_BI:-1} - -export DO_SHORT_AP_BASI_CX DO_WCT_BI - -# Source config file -. test_bed_cfg.bash - -echo "Top wlan-testing git commits.
" > ./tmp_gitlog.html
-git log -n 8 --oneline >> ./tmp_gitlog.html
-echo "
" >> ./tmp_gitlog.html - -NOTES_HTML=`pwd`/testbed_notes.html -GITLOG=`pwd`/tmp_gitlog.html - -if [ -d "../../../wlan-ap" ] -then - DUTGITLOG=/tmp/${DUT_SW_VER}_dut_gitlog.html - echo "Top wlan-ap git commits.
" > $DUTGITLOG
-    (cd ../../../wlan-ap && git log -n 8 --oneline $DUT_SW_VER >> $DUTGITLOG && cd -)
-    echo "
" >> $DUTGITLOG - export DUTGITLOG -fi -export NOTES_HTML GITLOG - -# TODO: Copy config file to cloud controller and restart it -# and/or do other config to make it work. - -# Change to scripts dir -cd ../../lanforge/lanforge-scripts/gui - -# Where to place results. basic_regression.bash will use this variable. -RSLTS_DIR=/tmp/nola-04-basic-regression-fast -export RSLTS_DIR - -# Clean any existing data from the results dir -rm -fr $RSLTS_DIR - -# Clean up old DHCP leases -../lf_gui_cmd.pl --manager $GMANAGER --port $GMPORT --cmd "cli clear_port_counters ALL ALL ALL dhcp_leases" - -# Run a subset of available tests -# See 'Tests to run' comment in basic_regression.bash for available options. - -#DEFAULT_ENABLE=0 WCT_DURATION=20s DO_SHORT_AP_BASIC_CX=1 DO_WCT_BI=1 ./basic_regression.bash - -DEFAULT_ENABLE=0 WCT_DURATION=20s ./basic_regression.bash - - -# Run all tests -#./basic_regression.bash - -cd - - -if [ ! -d $RSLTS_DIR ] -then - echo "Test did not run as expected, $RSLTS_DIR not found." - mkdir -p $RSLTS_DIR -fi - -if [ -f ${MY_TMPDIR}/basic_regression_log.txt ] -then - echo "Found ${MY_TMPDIR}/basic_regression_log.txt, moving into $RSLTS_DIR" - mv ${MY_TMPDIR}/basic_regression_log.txt $RSLTS_DIR/ -fi - -echo "See results in $RSLTS_DIR" diff --git a/testbeds/nola-basic-04/scenario.txt b/testbeds/nola-basic-04/scenario.txt deleted file mode 100644 index 48d2275de..000000000 --- a/testbeds/nola-basic-04/scenario.txt +++ /dev/null @@ -1,13 +0,0 @@ -profile_link 1.1 STA-AC 64 'DUT: ecw5410 Radio-1' NA wiphy4,AUTO -1 -profile_link 1.1 STA-AC 64 'DUT: ecw5410 Radio-2' NA wiphy5,AUTO -1 -profile_link 1.1 upstream-dhcp 1 NA NA eth2,AUTO -1 -profile_link 1.1 uplink-nat 1 'DUT: upstream LAN 100.97.39.129/25' NA eth3,eth2 -1 -profile_link 1.1 STA-AC 1 'DUT: ecw5410 Radio-2' NA wiphy0,AUTO -1 -profile_link 1.1 STA-AC 1 'DUT: ecw5410 Radio-2' NA wiphy1,AUTO -1 -profile_link 1.1 STA-AC 1 'DUT: ecw5410 Radio-2' NA wiphy2,AUTO -1 -profile_link 1.1 STA-AC 1 'DUT: ecw5410 Radio-2' NA wiphy3,AUTO -1 -dut ecw5410 393 148 -dut upstream 306 62 -resource 1.1 132 218 - - diff --git a/testbeds/nola-basic-04/scenario_small.txt b/testbeds/nola-basic-04/scenario_small.txt deleted file mode 100644 index 3fe509994..000000000 --- a/testbeds/nola-basic-04/scenario_small.txt +++ /dev/null @@ -1,13 +0,0 @@ -profile_link 1.1 STA-AC 24 'DUT: ecw5410 Radio-1' NA wiphy4,AUTO -1 -profile_link 1.1 STA-AC 24 'DUT: ecw5410 Radio-2' NA wiphy5,AUTO -1 -profile_link 1.1 upstream-dhcp 1 NA NA eth2,AUTO -1 -profile_link 1.1 uplink-nat 1 'DUT: upstream LAN 100.97.39.129/25' NA eth3,eth2 -1 -profile_link 1.1 STA-AC 1 'DUT: ecw5410 Radio-2' NA wiphy0,AUTO -1 -profile_link 1.1 STA-AC 1 'DUT: ecw5410 Radio-2' NA wiphy1,AUTO -1 -profile_link 1.1 STA-AC 1 'DUT: ecw5410 Radio-2' NA wiphy2,AUTO -1 -profile_link 1.1 STA-AC 1 'DUT: ecw5410 Radio-2' NA wiphy3,AUTO -1 -dut ecw5410 393 148 -dut upstream 306 62 -resource 1.1 132 218 - - diff --git a/testbeds/nola-basic-04/test_bed_cfg.bash b/testbeds/nola-basic-04/test_bed_cfg.bash deleted file mode 100644 index b73434570..000000000 --- a/testbeds/nola-basic-04/test_bed_cfg.bash +++ /dev/null @@ -1,60 +0,0 @@ -# Example test-bed configuration - -# Scripts should source this file to set the default environment variables -# and then override the variables specific to their test case (and it can be done -# in opposite order for same results -# -# After the env variables are set, -# call the 'lanforge/lanforge-scripts/gui/basic_regression.bash' -# from the directory in which it resides. - -PWD=`pwd` -AP_SERIAL=${AP_SERIAL:-/dev/ttyAP4} -LF_SERIAL=${LF_SERIAL:-/dev/ttyLF4} -LFPASSWD=${LFPASSWD:-lanforge} # Root password on LANforge machine -AP_AUTO_CFG_FILE=${AP_AUTO_CFG_FILE:-$PWD/ap-auto.txt} -WCT_CFG_FILE=${WCT_CFG_FILE:-$PWD/wct.txt} -DPT_CFG_FILE=${DPT_CFG_FILE:-$PWD/dpt-pkt-sz.txt} -SCENARIO_CFG_FILE=${SCENARIO_CFG_FILE:-$PWD/scenario.txt} - -# Default to enable cloud-sdk for this testbed, cloud-sdk is at IP addr below -#USE_CLOUD_SDK=${USE_CLOUD_SDK:-192.168.100.164} - -# LANforge target machine -LFMANAGER=${LFMANAGER:-lf4} - -# LANforge GUI machine (may often be same as target) -GMANAGER=${GMANAGER:-lf4} -GMPORT=${GMPORT:-3990} -MY_TMPDIR=${MY_TMPDIR:-/tmp} - -# Test configuration (10 minutes by default, in interest of time) -STABILITY_DURATION=${STABILITY_DURATION:-600} -TEST_RIG_ID=${TEST_RIG_ID:-NOLA-04-Basic} - -# DUT configuration -DUT_FLAGS=${DUT_FLAGS:-0x22} # AP, WPA-PSK -#DUT_FLAGS=${DUT_FLAGS:-0x2} # AP, Open -DUT_FLAGS_MASK=${DUT_FLAGS_MASK:-0xFFFF} -DUT_SW_VER=${DUT_SW_VER:-OpenWrt-TIP} -DUT_HW_VER=Edgecore-ECW5410 -DUT_MODEL=Edgecore-ECW5410 -DUT_SERIAL=${DUT_SERIAL:-NA} -DUT_SSID1=${DUT_SSID1:-Default-SSID-2g} -DUT_SSID2=${DUT_SSID2:-Default-SSID-5gl} -DUT_PASSWD1=${DUT_PASSWD1:-12345678} -DUT_PASSWD2=${DUT_PASSWD2:-12345678} -# 2.4 radio -DUT_BSSID1=68:21:5F:9D:0C:1B -# 5Ghz radio -DUT_BSSID2=68:21:5F:9D:0C:1C - -export LF_SERIAL AP_SERIAL LFPASSWD -export AP_AUTO_CFG_FILE WCT_CFG_FILE DPT_CFG_FILE SCENARIO_CFG_FILE -export LFMANAGER GMANAGER GMPORT MY_TMPDIR -export STABILITY_DURATION TEST_RIG_ID -export DUT_FLAGS DUT_FLAGS_MASK DUT_SW_VER DUT_HW_VER DUT_MODEL -export DUT_SERIAL DUT_SSID1 DUT_SSID2 DUT_SSID3 -export DUT_PASSWD1 DUT_PASSWD2 DUT_PASSWD3 -export DUT_BSSID1 DUT_BSSID2 DUT_BSSID3 -export USE_CLOUD_SDK diff --git a/testbeds/nola-basic-04/wct.txt b/testbeds/nola-basic-04/wct.txt deleted file mode 100644 index 3c7910719..000000000 --- a/testbeds/nola-basic-04/wct.txt +++ /dev/null @@ -1,323 +0,0 @@ -[BLANK] -sel_port-0: 1.1.eth2 -sel_port-1: 1.1.sta00000 -sel_port-2: 1.1.sta01000 -sel_port-3: 1.1.sta00500 -sel_port-4: 1.1.sta01500 -sel_port-5: 1.1.sta03000 -sel_port-6: 1.1.sta03500 -sel_port-7: 1.1.sta04000 -sel_port-8: 1.1.sta04500 -sel_port-9: 1.1.sta00001 -sel_port-10: 1.1.sta01001 -sel_port-11: 1.1.sta00501 -sel_port-12: 1.1.sta01501 -sel_port-13: 1.1.sta00002 -sel_port-14: 1.1.sta01002 -sel_port-15: 1.1.sta00502 -sel_port-16: 1.1.sta01502 -sel_port-17: 1.1.sta00003 -sel_port-18: 1.1.sta01003 -sel_port-19: 1.1.sta00503 -sel_port-20: 1.1.sta01503 -sel_port-21: 1.1.sta00004 -sel_port-22: 1.1.sta01004 -sel_port-23: 1.1.sta00504 -sel_port-24: 1.1.sta01504 -sel_port-25: 1.1.sta00005 -sel_port-26: 1.1.sta01005 -sel_port-27: 1.1.sta00505 -sel_port-28: 1.1.sta01505 -sel_port-29: 1.1.sta00006 -sel_port-30: 1.1.sta01006 -sel_port-31: 1.1.sta00506 -sel_port-32: 1.1.sta01506 -sel_port-33: 1.1.sta00007 -sel_port-34: 1.1.sta01007 -sel_port-35: 1.1.sta00507 -sel_port-36: 1.1.sta01507 -sel_port-37: 1.1.sta00008 -sel_port-38: 1.1.sta01008 -sel_port-39: 1.1.sta00508 -sel_port-40: 1.1.sta01508 -sel_port-41: 1.1.sta00009 -sel_port-42: 1.1.sta01009 -sel_port-43: 1.1.sta00509 -sel_port-44: 1.1.sta01509 -sel_port-45: 1.1.sta00010 -sel_port-46: 1.1.sta01010 -sel_port-47: 1.1.sta00510 -sel_port-48: 1.1.sta01510 -sel_port-49: 1.1.sta00011 -sel_port-50: 1.1.sta01011 -sel_port-51: 1.1.sta00511 -sel_port-52: 1.1.sta01511 -sel_port-53: 1.1.sta00012 -sel_port-54: 1.1.sta01012 -sel_port-55: 1.1.sta00512 -sel_port-56: 1.1.sta01512 -sel_port-57: 1.1.sta00013 -sel_port-58: 1.1.sta01013 -sel_port-59: 1.1.sta00513 -sel_port-60: 1.1.sta01513 -sel_port-61: 1.1.sta00014 -sel_port-62: 1.1.sta01014 -sel_port-63: 1.1.sta00514 -sel_port-64: 1.1.sta01514 -sel_port-65: 1.1.sta00015 -sel_port-66: 1.1.sta01015 -sel_port-67: 1.1.sta00515 -sel_port-68: 1.1.sta01515 -sel_port-69: 1.1.sta00016 -sel_port-70: 1.1.sta01016 -sel_port-71: 1.1.sta00516 -sel_port-72: 1.1.sta01516 -sel_port-73: 1.1.sta00017 -sel_port-74: 1.1.sta01017 -sel_port-75: 1.1.sta00517 -sel_port-76: 1.1.sta01517 -sel_port-77: 1.1.sta00018 -sel_port-78: 1.1.sta01018 -sel_port-79: 1.1.sta00518 -sel_port-80: 1.1.sta01518 -sel_port-81: 1.1.sta00019 -sel_port-82: 1.1.sta01019 -sel_port-83: 1.1.sta00519 -sel_port-84: 1.1.sta01519 -sel_port-85: 1.1.sta00020 -sel_port-86: 1.1.sta01020 -sel_port-87: 1.1.sta00520 -sel_port-88: 1.1.sta01520 -sel_port-89: 1.1.sta00021 -sel_port-90: 1.1.sta01021 -sel_port-91: 1.1.sta00521 -sel_port-92: 1.1.sta01521 -sel_port-93: 1.1.sta00022 -sel_port-94: 1.1.sta01022 -sel_port-95: 1.1.sta00522 -sel_port-96: 1.1.sta01522 -sel_port-97: 1.1.sta00023 -sel_port-98: 1.1.sta01023 -sel_port-99: 1.1.sta00523 -sel_port-100: 1.1.sta01523 -sel_port-101: 1.1.sta00024 -sel_port-102: 1.1.sta01024 -sel_port-103: 1.1.sta00524 -sel_port-104: 1.1.sta01524 -sel_port-105: 1.1.sta00025 -sel_port-106: 1.1.sta01025 -sel_port-107: 1.1.sta00525 -sel_port-108: 1.1.sta01525 -sel_port-109: 1.1.sta00026 -sel_port-110: 1.1.sta01026 -sel_port-111: 1.1.sta00526 -sel_port-112: 1.1.sta01526 -sel_port-113: 1.1.sta00027 -sel_port-114: 1.1.sta01027 -sel_port-115: 1.1.sta00527 -sel_port-116: 1.1.sta01527 -sel_port-117: 1.1.sta00028 -sel_port-118: 1.1.sta01028 -sel_port-119: 1.1.sta00528 -sel_port-120: 1.1.sta01528 -sel_port-121: 1.1.sta00029 -sel_port-122: 1.1.sta01029 -sel_port-123: 1.1.sta00529 -sel_port-124: 1.1.sta01529 -sel_port-125: 1.1.sta00030 -sel_port-126: 1.1.sta01030 -sel_port-127: 1.1.sta00530 -sel_port-128: 1.1.sta01530 -sel_port-129: 1.1.sta00031 -sel_port-130: 1.1.sta01031 -sel_port-131: 1.1.sta00531 -sel_port-132: 1.1.sta01531 -sel_port-133: 1.1.sta00032 -sel_port-134: 1.1.sta01032 -sel_port-135: 1.1.sta00532 -sel_port-136: 1.1.sta01532 -sel_port-137: 1.1.sta00033 -sel_port-138: 1.1.sta01033 -sel_port-139: 1.1.sta00533 -sel_port-140: 1.1.sta01533 -sel_port-141: 1.1.sta00034 -sel_port-142: 1.1.sta01034 -sel_port-143: 1.1.sta00534 -sel_port-144: 1.1.sta01534 -sel_port-145: 1.1.sta00035 -sel_port-146: 1.1.sta01035 -sel_port-147: 1.1.sta00535 -sel_port-148: 1.1.sta01535 -sel_port-149: 1.1.sta00036 -sel_port-150: 1.1.sta01036 -sel_port-151: 1.1.sta00536 -sel_port-152: 1.1.sta01536 -sel_port-153: 1.1.sta00037 -sel_port-154: 1.1.sta01037 -sel_port-155: 1.1.sta00537 -sel_port-156: 1.1.sta01537 -sel_port-157: 1.1.sta00038 -sel_port-158: 1.1.sta01038 -sel_port-159: 1.1.sta00538 -sel_port-160: 1.1.sta01538 -sel_port-161: 1.1.sta00039 -sel_port-162: 1.1.sta01039 -sel_port-163: 1.1.sta00539 -sel_port-164: 1.1.sta01539 -sel_port-165: 1.1.sta00040 -sel_port-166: 1.1.sta01040 -sel_port-167: 1.1.sta00540 -sel_port-168: 1.1.sta01540 -sel_port-169: 1.1.sta00041 -sel_port-170: 1.1.sta01041 -sel_port-171: 1.1.sta00541 -sel_port-172: 1.1.sta01541 -sel_port-173: 1.1.sta00042 -sel_port-174: 1.1.sta01042 -sel_port-175: 1.1.sta00542 -sel_port-176: 1.1.sta01542 -sel_port-177: 1.1.sta00043 -sel_port-178: 1.1.sta01043 -sel_port-179: 1.1.sta00543 -sel_port-180: 1.1.sta01543 -sel_port-181: 1.1.sta00044 -sel_port-182: 1.1.sta01044 -sel_port-183: 1.1.sta00544 -sel_port-184: 1.1.sta01544 -sel_port-185: 1.1.sta00045 -sel_port-186: 1.1.sta01045 -sel_port-187: 1.1.sta00545 -sel_port-188: 1.1.sta01545 -sel_port-189: 1.1.sta00046 -sel_port-190: 1.1.sta01046 -sel_port-191: 1.1.sta00546 -sel_port-192: 1.1.sta01546 -sel_port-193: 1.1.sta00047 -sel_port-194: 1.1.sta01047 -sel_port-195: 1.1.sta00547 -sel_port-196: 1.1.sta01547 -sel_port-197: 1.1.sta00048 -sel_port-198: 1.1.sta01048 -sel_port-199: 1.1.sta00548 -sel_port-200: 1.1.sta01548 -sel_port-201: 1.1.sta00049 -sel_port-202: 1.1.sta01049 -sel_port-203: 1.1.sta00549 -sel_port-204: 1.1.sta01549 -sel_port-205: 1.1.sta00050 -sel_port-206: 1.1.sta01050 -sel_port-207: 1.1.sta00550 -sel_port-208: 1.1.sta01550 -sel_port-209: 1.1.sta00051 -sel_port-210: 1.1.sta01051 -sel_port-211: 1.1.sta00551 -sel_port-212: 1.1.sta01551 -sel_port-213: 1.1.sta00052 -sel_port-214: 1.1.sta01052 -sel_port-215: 1.1.sta00552 -sel_port-216: 1.1.sta01552 -sel_port-217: 1.1.sta00053 -sel_port-218: 1.1.sta01053 -sel_port-219: 1.1.sta00553 -sel_port-220: 1.1.sta01553 -sel_port-221: 1.1.sta00054 -sel_port-222: 1.1.sta01054 -sel_port-223: 1.1.sta00554 -sel_port-224: 1.1.sta01554 -sel_port-225: 1.1.sta00055 -sel_port-226: 1.1.sta01055 -sel_port-227: 1.1.sta00555 -sel_port-228: 1.1.sta01555 -sel_port-229: 1.1.sta00056 -sel_port-230: 1.1.sta01056 -sel_port-231: 1.1.sta00556 -sel_port-232: 1.1.sta01556 -sel_port-233: 1.1.sta00057 -sel_port-234: 1.1.sta01057 -sel_port-235: 1.1.sta00557 -sel_port-236: 1.1.sta01557 -sel_port-237: 1.1.sta00058 -sel_port-238: 1.1.sta01058 -sel_port-239: 1.1.sta00558 -sel_port-240: 1.1.sta01558 -sel_port-241: 1.1.sta00059 -sel_port-242: 1.1.sta01059 -sel_port-243: 1.1.sta00559 -sel_port-244: 1.1.sta01559 -sel_port-245: 1.1.sta00060 -sel_port-246: 1.1.sta01060 -sel_port-247: 1.1.sta00560 -sel_port-248: 1.1.sta01560 -sel_port-249: 1.1.sta00061 -sel_port-250: 1.1.sta01061 -sel_port-251: 1.1.sta00561 -sel_port-252: 1.1.sta01561 -sel_port-253: 1.1.sta00062 -sel_port-254: 1.1.sta01062 -sel_port-255: 1.1.sta00562 -sel_port-256: 1.1.sta01562 -sel_port-257: 1.1.sta00063 -sel_port-258: 1.1.sta01063 -sel_port-259: 1.1.sta00563 -sel_port-260: 1.1.sta01563 -show_events: 1 -show_log: 0 -port_sorting: 2 -kpi_id: WiFi Capacity -bg: 0xE0ECF8 -test_rig: -show_scan: 1 -auto_helper: 1 -skip_2: 0 -skip_5: 0 -batch_size: 1,5,10,20,40,80 -loop_iter: 1 -duration: 30000 -test_groups: 0 -test_groups_subset: 0 -protocol: TCP-IPv4 -dl_rate_sel: Total Download Rate: -dl_rate: 1000000000 -ul_rate_sel: Total Upload Rate: -ul_rate: 1000000000 -prcnt_tcp: 100000 -l4_endp: -pdu_sz: -1 -mss_sel: 1 -sock_buffer: 0 -ip_tos: 0 -multi_conn: -1 -min_speed: -1 -ps_interval: 60-second Running Average -fairness: 0 -naptime: 0 -before_clear: 5000 -rpt_timer: 1000 -try_lower: 0 -rnd_rate: 1 -leave_ports_up: 0 -down_quiesce: 0 -udp_nat: 1 -record_other_ssids: 0 -clear_reset_counters: 0 -do_pf: 0 -pf_min_period_dl: 128000 -pf_min_period_ul: 0 -pf_max_reconnects: 0 -use_mix_pdu: 0 -pdu_prcnt_pps: 1 -pdu_prcnt_bps: 0 -pdu_mix_ln-0: -show_scan: 1 -show_golden_3p: 0 -save_csv: 0 -show_realtime: 1 -show_pie: 1 -show_per_loop_totals: 1 -show_cx_time: 1 -show_dhcp: 1 -show_anqp: 1 -show_4way: 1 -show_latency: 1 - - diff --git a/testbeds/nola-basic-12/NOTES.txt b/testbeds/nola-basic-12/NOTES.txt deleted file mode 100644 index 6cad5cf80..000000000 --- a/testbeds/nola-basic-12/NOTES.txt +++ /dev/null @@ -1,2 +0,0 @@ - -DUT is an cig 188n wifi-6, running TIP OpenWrt. diff --git a/testbeds/nola-basic-12/OpenWrt-overlay/etc/config/bugcheck b/testbeds/nola-basic-12/OpenWrt-overlay/etc/config/bugcheck deleted file mode 100644 index b138a6fad..000000000 --- a/testbeds/nola-basic-12/OpenWrt-overlay/etc/config/bugcheck +++ /dev/null @@ -1,2 +0,0 @@ -DO_BUGCHECK=1 -export DO_BUGCHECK diff --git a/testbeds/nola-basic-12/OpenWrt-overlay/etc/config/wireless b/testbeds/nola-basic-12/OpenWrt-overlay/etc/config/wireless deleted file mode 100644 index a2c72dbb2..000000000 --- a/testbeds/nola-basic-12/OpenWrt-overlay/etc/config/wireless +++ /dev/null @@ -1,33 +0,0 @@ -config wifi-device 'radio0' - option type 'mac80211' - option channel '36' - option hwmode '11a' - option path 'platform/soc/c000000.wifi' - option htmode 'HE80' - option disabled '0' - -config wifi-iface 'default_radio0' - option device 'radio0' - option network 'lan' - option mode 'ap' - option ssid 'Default-SSID-5gl' - option encryption 'psk-mixed' - option key '12345678' - option macaddr '00:c1:01:88:12:00' - -config wifi-device 'radio1' - option type 'mac80211' - option channel '11' - option hwmode '11g' - option path 'platform/soc/c000000.wifi+1' - option htmode 'HE20' - option disabled '0' - -config wifi-iface 'default_radio1' - option device 'radio1' - option network 'lan' - option mode 'ap' - option ssid 'Default-SSID-2g' - option encryption 'psk-mixed' - option key '12345678' - option macaddr '00:c1:01:88:12:01' diff --git a/testbeds/nola-basic-12/ap-auto.txt b/testbeds/nola-basic-12/ap-auto.txt deleted file mode 100644 index 0d3b14a58..000000000 --- a/testbeds/nola-basic-12/ap-auto.txt +++ /dev/null @@ -1,120 +0,0 @@ -[BLANK] -show_events: 1 -show_log: 0 -port_sorting: 0 -kpi_id: AP Auto -bg: 0xE0ECF8 -test_rig: NOLA-12-Basic -show_scan: 1 -auto_helper: 1 -skip_2: 1 -skip_5: 1 -skip_5b: 1 -skip_dual: 0 -skip_tri: 1 -dut5b-0: NA -dut5-0: TIP Default-SSID-5gl -dut2-0: TIP Default-SSID-2g -dut5b-1: NA -dut5-1: NA -dut2-1: NA -dut5b-2: NA -dut5-2: NA -dut2-2: NA -spatial_streams: AUTO -bandw_options: AUTO -modes: Auto -upstream_port: 1.1.2 eth2 -operator: -mconn: 1 -tos: 0 -vid_buf: 1000000 -vid_speed: 700000 -reset_stall_thresh_udp_dl: 9600 -cx_prcnt: 950000 -cx_open_thresh: 35 -cx_psk_thresh: 75 -cx_1x_thresh: 130 -reset_stall_thresh_udp_ul: 9600 -reset_stall_thresh_tcp_dl: 9600 -reset_stall_thresh_tcp_ul: 9600 -reset_stall_thresh_l4: 100000 -reset_stall_thresh_voip: 20000 -stab_mcast_dl_min: 100000 -stab_mcast_dl_max: 0 -stab_udp_dl_min: 56000 -stab_udp_dl_max: 0 -stab_udp_ul_min: 56000 -stab_udp_ul_max: 0 -stab_tcp_dl_min: 500000 -stab_tcp_dl_max: 0 -stab_tcp_ul_min: 500000 -stab_tcp_ul_max: 0 -dl_speed: 85% -ul_speed: 85% -max_stations_2: 65 -max_stations_5: 67 -max_stations_5b: 64 -max_stations_dual: 132 -max_stations_tri: 64 -lt_sta: 2 -voip_calls: 0 -lt_dur: 3600 -reset_dur: 600 -lt_gi: 30 -dur20: 20 -hunt_retries: 1 -hunt_iter: 100 -bind_bssid: 1 -set_txpower_default: 0 -cap_dl: 1 -cap_ul: 0 -cap_use_pkt_sizes: 0 -stability_reset_radios: 0 -stability_use_pkt_sizes: 0 -pkt_loss_thresh: 10000 -frame_sizes: 200, 512, 1024, MTU -capacities: 1, 2, 5, 10, 20, 40, 64, 128, 256, 512, 1024, MAX -pf_text0: 2.4 DL 200 70Mbps -pf_text1: 2.4 DL 512 110Mbps -pf_text2: 2.4 DL 1024 115Mbps -pf_text3: 2.4 DL MTU 120Mbps -pf_text4: -pf_text5: 2.4 UL 200 88Mbps -pf_text6: 2.4 UL 512 106Mbps -pf_text7: 2.4 UL 1024 115Mbps -pf_text8: 2.4 UL MTU 120Mbps -pf_text9: -pf_text10: 5 DL 200 72Mbps -pf_text11: 5 DL 512 185Mbps -pf_text12: 5 DL 1024 370Mbps -pf_text13: 5 DL MTU 525Mbps -pf_text14: -pf_text15: 5 UL 200 90Mbps -pf_text16: 5 UL 512 230Mbps -pf_text17: 5 UL 1024 450Mbps -pf_text18: 5 UL MTU 630Mbps -radio2-0: 1.1.4 wiphy2 -radio2-1: 1.1.6 wiphy4 -radio5-0: 1.1.5 wiphy3 -radio5-1: 1.1.7 wiphy5 -radio5-2: 1.1.9 wiphy6 -radio5-3: 1.1.9 wiphy7 -basic_cx: 1 -tput: 0 -tput_multi: 0 -tput_multi_tcp: 1 -tput_multi_udp: 1 -tput_multi_dl: 1 -tput_multi_ul: 1 -dual_band_tput: 0 -capacity: 0 -band_steering: 0 -longterm: 0 -mix_stability: 0 -loop_iter: 1 -reset_batch_size: 1 -reset_duration_min: 10000 -reset_duration_max: 60000 -bandsteer_always_5g: 0 - diff --git a/testbeds/nola-basic-12/dpt-pkt-sz.txt b/testbeds/nola-basic-12/dpt-pkt-sz.txt deleted file mode 100644 index 670fb0c2b..000000000 --- a/testbeds/nola-basic-12/dpt-pkt-sz.txt +++ /dev/null @@ -1,55 +0,0 @@ -[BLANK] -show_events: 1 -show_log: 0 -port_sorting: 0 -kpi_id: Dataplane -bg: 0xE0ECF8 -test_rig: -show_scan: 1 -auto_helper: 0 -skip_2: 0 -skip_5: 0 -selected_dut: TIP -duration: 15000 -traffic_port: 1.1.136 sta00500 -upstream_port: 1.1.2 eth2 -path_loss: 10 -speed: 85% -speed2: 0Kbps -min_rssi_bound: -150 -max_rssi_bound: 0 -channels: AUTO -modes: Auto -pkts: 60;142;256;512;1024;MTU;4000 -spatial_streams: AUTO -security_options: AUTO -bandw_options: AUTO -traffic_types: UDP -directions: DUT Transmit;DUT Receive -txo_preamble: OFDM -txo_mcs: 0 CCK, OFDM, HT, VHT -txo_retries: No Retry -txo_sgi: OFF -txo_txpower: 15 -attenuator: 0 -attenuator2: 0 -attenuator_mod: 255 -attenuator_mod2: 255 -attenuations: 0..+50..950 -attenuations2: 0..+50..950 -chamber: 0 -tt_deg: 0..+45..359 -cust_pkt_sz: -show_3s: 0 -show_ll_graphs: 1 -show_gp_graphs: 1 -show_1m: 1 -pause_iter: 0 -show_realtime: 1 -operator: -mconn: 1 -mpkt: 1000 -tos: 0 -loop_iterations: 1 - - diff --git a/testbeds/nola-basic-12/run_basic.bash b/testbeds/nola-basic-12/run_basic.bash deleted file mode 100755 index 7d88ff44d..000000000 --- a/testbeds/nola-basic-12/run_basic.bash +++ /dev/null @@ -1,71 +0,0 @@ -#!/bin/bash - -# Example usage of this script -# DUT_SW_VER=my-build-id ./run_basic.bash -# -# Other DUT variables in test_bed_cfg.bash may also be over-ridden, -# including those below. See LANforge 'add_dut' CLI command for -# details on what these variables are for. - -# DUT_FLAGS DUT_FLAGS_MASK DUT_SW_VER DUT_HW_VER DUT_MODEL -# DUT_SERIAL DUT_SSID1 DUT_SSID2 DUT_SSID3 -# DUT_PASSWD1 DUT_PASSWD2 DUT_PASSWD3 -# DUT_BSSID1 DUT_BSSID2 DUT_BSSID3 - -# Source config file -. test_bed_cfg.bash - -echo "Top wlan-testing git commits.
" > ./tmp_gitlog.html
-git log -n 8 --oneline >> ./tmp_gitlog.html
-echo "
" >> ./tmp_gitlog.html - -NOTES_HTML=`pwd`/testbed_notes.html -GITLOG=`pwd`/tmp_gitlog.html - -if [ -d "../../../wlan-ap" ] -then - DUTGITLOG=/tmp/${DUT_SW_VER}_dut_gitlog.html - echo "Top wlan-ap git commits.
" > $DUTGITLOG
-    (cd ../../../wlan-ap && git log -n 8 --oneline $DUT_SW_VER >> $DUTGITLOG && cd -)
-    echo "
" >> $DUTGITLOG - export DUTGITLOG -fi -export NOTES_HTML GITLOG - -# TODO: Copy config file to cloud controller and restart it -# and/or do other config to make it work. - -# Change to scripts dir -cd ../../lanforge/lanforge-scripts/gui - -# Where to place results. basic_regression.bash will use this variable. -RSLTS_DIR=/tmp/nola-${NOLA_NUM}-basic-regression -export RSLTS_DIR - -# Clean any existing data from the results dir -rm -fr $RSLTS_DIR - -# Run one test -# DEFAULT_ENABLE=0 DO_SHORT_AP_STABILITY_RESET=1 ./basic_regression.bash - -# Clean up old DHCP leases -../lf_gui_cmd.pl --manager $GMANAGER --port $GMPORT --cmd "cli clear_port_counters ALL ALL ALL dhcp_leases" - -# Run all tests -./basic_regression.bash - -cd - - -if [ ! -d $RSLTS_DIR ] -then - echo "Test did not run as expected, $RSLTS_DIR not found." - mkdir -p $RSLTS_DIR -fi - -if [ -f ${MY_TMPDIR}/basic_regression_log.txt ] -then - echo "Found ${MY_TMPDIR}/basic_regression_log.txt, moving into $RSLTS_DIR" - mv ${MY_TMPDIR}/basic_regression_log.txt $RSLTS_DIR/ -fi - -echo "See results in $RSLTS_DIR" diff --git a/testbeds/nola-basic-12/run_basic_fast.bash b/testbeds/nola-basic-12/run_basic_fast.bash deleted file mode 100755 index 1d85a73cd..000000000 --- a/testbeds/nola-basic-12/run_basic_fast.bash +++ /dev/null @@ -1,83 +0,0 @@ -#!/bin/bash - -# Example usage of this script -# DUT_SW_VER=my-build-id ./run_basic.bash -# -# Other DUT variables in test_bed_cfg.bash may also be over-ridden, -# including those below. See LANforge 'add_dut' CLI command for -# details on what these variables are for. - -# DUT_FLAGS DUT_FLAGS_MASK DUT_SW_VER DUT_HW_VER DUT_MODEL -# DUT_SERIAL DUT_SSID1 DUT_SSID2 DUT_SSID3 -# DUT_PASSWD1 DUT_PASSWD2 DUT_PASSWD3 -# DUT_BSSID1 DUT_BSSID2 DUT_BSSID3 - -#set -x - -DO_SHORT_AP_BASIC_CX=${DO_SHORT_AP_BASIC_CX:-1} -DO_WCT_BI=${DO_WCT_BI:-1} - -export DO_SHORT_AP_BASI_CX DO_WCT_BI - -# Source config file -. test_bed_cfg.bash - -echo "Top wlan-testing git commits.
" > ./tmp_gitlog.html
-git log -n 8 --oneline >> ./tmp_gitlog.html
-echo "
" >> ./tmp_gitlog.html - -NOTES_HTML=`pwd`/testbed_notes.html -GITLOG=`pwd`/tmp_gitlog.html - -if [ -d "../../../wlan-ap" ] -then - DUTGITLOG=/tmp/${DUT_SW_VER}_dut_gitlog.html - echo "Top wlan-ap git commits.
" > $DUTGITLOG
-    (cd ../../../wlan-ap && git log -n 8 --oneline $DUT_SW_VER >> $DUTGITLOG && cd -)
-    echo "
" >> $DUTGITLOG - export DUTGITLOG -fi -export NOTES_HTML GITLOG - -# TODO: Copy config file to cloud controller and restart it -# and/or do other config to make it work. - -# Change to scripts dir -cd ../../lanforge/lanforge-scripts/gui - -# Where to place results. basic_regression.bash will use this variable. -RSLTS_DIR=/tmp/nola-${NOLA_NUM}-basic-regression-fast -export RSLTS_DIR - -# Clean any existing data from the results dir -rm -fr $RSLTS_DIR - -# Clean up old DHCP leases -../lf_gui_cmd.pl --manager $GMANAGER --port $GMPORT --cmd "cli clear_port_counters ALL ALL ALL dhcp_leases" - -# Run a subset of available tests -# See 'Tests to run' comment in basic_regression.bash for available options. - -#DEFAULT_ENABLE=0 WCT_DURATION=20s DO_SHORT_AP_BASIC_CX=1 DO_WCT_BI=1 ./basic_regression.bash - -DEFAULT_ENABLE=0 WCT_DURATION=20s ./basic_regression.bash - - -# Run all tests -#./basic_regression.bash - -cd - - -if [ ! -d $RSLTS_DIR ] -then - echo "Test did not run as expected, $RSLTS_DIR not found." - mkdir -p $RSLTS_DIR -fi - -if [ -f ${MY_TMPDIR}/basic_regression_log.txt ] -then - echo "Found ${MY_TMPDIR}/basic_regression_log.txt, moving into $RSLTS_DIR" - mv ${MY_TMPDIR}/basic_regression_log.txt $RSLTS_DIR/ -fi - -echo "See results in $RSLTS_DIR" diff --git a/testbeds/nola-basic-12/scenario.txt b/testbeds/nola-basic-12/scenario.txt deleted file mode 100644 index f2ab6bd99..000000000 --- a/testbeds/nola-basic-12/scenario.txt +++ /dev/null @@ -1,9 +0,0 @@ -profile_link 1.1 STA-AC 64 'DUT: TIP Radio-1' NA wiphy2,AUTO -1 -profile_link 1.1 STA-AC 64 'DUT: TIP Radio-2' NA wiphy3,AUTO -1 -profile_link 1.1 upstream-dhcp 1 NA NA eth2,AUTO -1 -profile_link 1.1 uplink-nat 1 'DUT: upstream LAN 10.28.2.1/24' NA eth1,eth2 -1 -profile_link 1.1 STA-AC 1 'DUT: TIP Radio-2' NA ALL-AX,AUTO -1 -dut ecw5410 393 148 -dut TIP 395 295 -dut upstream 306 62 -resource 1.1 132 218 diff --git a/testbeds/nola-basic-12/scenario_small.txt b/testbeds/nola-basic-12/scenario_small.txt deleted file mode 100644 index 072c13b13..000000000 --- a/testbeds/nola-basic-12/scenario_small.txt +++ /dev/null @@ -1,9 +0,0 @@ -profile_link 1.1 STA-AC 24 'DUT: TIP Radio-1' NA wiphy2,AUTO -1 -profile_link 1.1 STA-AC 24 'DUT: TIP Radio-2' NA wiphy3,AUTO -1 -profile_link 1.1 upstream-dhcp 1 NA NA eth2,AUTO -1 -profile_link 1.1 uplink-nat 1 'DUT: upstream LAN 10.28.2.1/24' NA eth1,eth2 -1 -profile_link 1.1 STA-AC 1 'DUT: TIP Radio-2' NA ALL-AX,AUTO -1 -dut ecw5410 393 148 -dut TIP 395 295 -dut upstream 306 62 -resource 1.1 132 218 diff --git a/testbeds/nola-basic-12/test_bed_cfg.bash b/testbeds/nola-basic-12/test_bed_cfg.bash deleted file mode 100644 index 53c1a3ca4..000000000 --- a/testbeds/nola-basic-12/test_bed_cfg.bash +++ /dev/null @@ -1,62 +0,0 @@ -# Example test-bed configuration - -# Scripts should source this file to set the default environment variables -# and then override the variables specific to their test case (and it can be done -# in opposite order for same results -# -# After the env variables are set, -# call the 'lanforge/lanforge-scripts/gui/basic_regression.bash' -# from the directory in which it resides. - -NOLA_NUM=12 - -PWD=`pwd` -AP_SERIAL=${AP_SERIAL:-/dev/ttyAP1} -LF_SERIAL=${LF_SERIAL:-/dev/ttyLF1} -LFPASSWD=${LFPASSWD:-lanforge} # Root password on LANforge machine -AP_AUTO_CFG_FILE=${AP_AUTO_CFG_FILE:-$PWD/ap-auto.txt} -WCT_CFG_FILE=${WCT_CFG_FILE:-$PWD/wct.txt} -DPT_CFG_FILE=${DPT_CFG_FILE:-$PWD/dpt-pkt-sz.txt} -SCENARIO_CFG_FILE=${SCENARIO_CFG_FILE:-$PWD/scenario.txt} - -# Default to enable cloud-sdk for this testbed, cloud-sdk is at IP addr below -#USE_CLOUD_SDK=${USE_CLOUD_SDK:-192.168.100.164} - -# LANforge target machine -LFMANAGER=${LFMANAGER:-lf12} - -# LANforge GUI machine (may often be same as target) -GMANAGER=${GMANAGER:-lf12} -GMPORT=${GMPORT:-3990} -MY_TMPDIR=${MY_TMPDIR:-/tmp} - -# Test configuration (10 minutes by default, in interest of time) -STABILITY_DURATION=${STABILITY_DURATION:-600} -TEST_RIG_ID=${TEST_RIG_ID:-NOLA-${NOLA_NUM}-Basic} - -# DUT configuration -DUT_FLAGS=${DUT_FLAGS:-0x22} # AP, WPA-PSK -#DUT_FLAGS=${DUT_FLAGS:-0x2} # AP, Open -DUT_FLAGS_MASK=${DUT_FLAGS_MASK:-0xFFFF} -DUT_SW_VER=${DUT_SW_VER:-OpenWrt-TIP} -DUT_HW_VER=CIG-188n -DUT_MODEL=CIG-188n -DUT_SERIAL=${DUT_SERIAL:-NA} -DUT_SSID1=${DUT_SSID1:-Default-SSID-2g} -DUT_SSID2=${DUT_SSID2:-Default-SSID-5gl} -DUT_PASSWD1=${DUT_PASSWD1:-12345678} -DUT_PASSWD2=${DUT_PASSWD2:-12345678} -# 2.4 radio -DUT_BSSID1=00:c1:01:88:12:01 -# 5Ghz radio -DUT_BSSID2=00:c1:01:88:12:00 - -export LF_SERIAL AP_SERIAL LFPASSWD -export AP_AUTO_CFG_FILE WCT_CFG_FILE DPT_CFG_FILE SCENARIO_CFG_FILE -export LFMANAGER GMANAGER GMPORT MY_TMPDIR -export STABILITY_DURATION TEST_RIG_ID -export DUT_FLAGS DUT_FLAGS_MASK DUT_SW_VER DUT_HW_VER DUT_MODEL -export DUT_SERIAL DUT_SSID1 DUT_SSID2 DUT_SSID3 -export DUT_PASSWD1 DUT_PASSWD2 DUT_PASSWD3 -export DUT_BSSID1 DUT_BSSID2 DUT_BSSID3 -export USE_CLOUD_SDK diff --git a/testbeds/nola-basic-12/wct.txt b/testbeds/nola-basic-12/wct.txt deleted file mode 100644 index b4eeaa756..000000000 --- a/testbeds/nola-basic-12/wct.txt +++ /dev/null @@ -1,197 +0,0 @@ -[BLANK] -sel_port-0: 1.1.eth2 -sel_port-1: 1.1.sta00000 -sel_port-2: 1.1.sta00001 -sel_port-3: 1.1.sta00002 -sel_port-4: 1.1.sta00003 -sel_port-5: 1.1.sta00004 -sel_port-6: 1.1.sta00005 -sel_port-7: 1.1.sta00006 -sel_port-8: 1.1.sta00007 -sel_port-9: 1.1.sta00008 -sel_port-10: 1.1.sta00009 -sel_port-11: 1.1.sta00010 -sel_port-12: 1.1.sta00011 -sel_port-13: 1.1.sta00012 -sel_port-14: 1.1.sta00013 -sel_port-15: 1.1.sta00014 -sel_port-16: 1.1.sta00015 -sel_port-17: 1.1.sta00016 -sel_port-18: 1.1.sta00017 -sel_port-19: 1.1.sta00018 -sel_port-20: 1.1.sta00019 -sel_port-21: 1.1.sta00020 -sel_port-22: 1.1.sta00021 -sel_port-23: 1.1.sta00022 -sel_port-24: 1.1.sta00023 -sel_port-25: 1.1.sta00024 -sel_port-26: 1.1.sta00025 -sel_port-27: 1.1.sta00026 -sel_port-28: 1.1.sta00027 -sel_port-29: 1.1.sta00028 -sel_port-30: 1.1.sta00029 -sel_port-31: 1.1.sta00030 -sel_port-32: 1.1.sta00031 -sel_port-33: 1.1.sta00032 -sel_port-34: 1.1.sta00033 -sel_port-35: 1.1.sta00034 -sel_port-36: 1.1.sta00035 -sel_port-37: 1.1.sta00036 -sel_port-38: 1.1.sta00037 -sel_port-39: 1.1.sta00038 -sel_port-40: 1.1.sta00039 -sel_port-41: 1.1.sta00040 -sel_port-42: 1.1.sta00041 -sel_port-43: 1.1.sta00042 -sel_port-44: 1.1.sta00043 -sel_port-45: 1.1.sta00044 -sel_port-46: 1.1.sta00045 -sel_port-47: 1.1.sta00046 -sel_port-48: 1.1.sta00047 -sel_port-49: 1.1.sta00048 -sel_port-50: 1.1.sta00049 -sel_port-51: 1.1.sta00050 -sel_port-52: 1.1.sta00051 -sel_port-53: 1.1.sta00052 -sel_port-54: 1.1.sta00053 -sel_port-55: 1.1.sta00054 -sel_port-56: 1.1.sta00055 -sel_port-57: 1.1.sta00056 -sel_port-58: 1.1.sta00057 -sel_port-59: 1.1.sta00058 -sel_port-60: 1.1.sta00059 -sel_port-61: 1.1.sta00060 -sel_port-62: 1.1.sta00061 -sel_port-63: 1.1.sta00062 -sel_port-64: 1.1.sta00063 -sel_port-65: 1.1.sta00500 -sel_port-66: 1.1.sta00501 -sel_port-67: 1.1.sta00502 -sel_port-68: 1.1.sta00503 -sel_port-69: 1.1.sta00504 -sel_port-70: 1.1.sta00505 -sel_port-71: 1.1.sta00506 -sel_port-72: 1.1.sta00507 -sel_port-73: 1.1.sta00508 -sel_port-74: 1.1.sta00509 -sel_port-75: 1.1.sta00510 -sel_port-76: 1.1.sta00511 -sel_port-77: 1.1.sta00512 -sel_port-78: 1.1.sta00513 -sel_port-79: 1.1.sta00514 -sel_port-80: 1.1.sta00515 -sel_port-81: 1.1.sta00516 -sel_port-82: 1.1.sta00517 -sel_port-83: 1.1.sta00518 -sel_port-84: 1.1.sta00519 -sel_port-85: 1.1.sta00520 -sel_port-86: 1.1.sta00521 -sel_port-87: 1.1.sta00522 -sel_port-88: 1.1.sta00523 -sel_port-89: 1.1.sta00524 -sel_port-90: 1.1.sta00525 -sel_port-91: 1.1.sta00526 -sel_port-92: 1.1.sta00527 -sel_port-93: 1.1.sta00528 -sel_port-94: 1.1.sta00529 -sel_port-95: 1.1.sta00530 -sel_port-96: 1.1.sta00531 -sel_port-97: 1.1.sta00532 -sel_port-98: 1.1.sta00533 -sel_port-99: 1.1.sta00534 -sel_port-100: 1.1.sta00535 -sel_port-101: 1.1.sta00536 -sel_port-102: 1.1.sta00537 -sel_port-103: 1.1.sta00538 -sel_port-104: 1.1.sta00539 -sel_port-105: 1.1.sta00540 -sel_port-106: 1.1.sta00541 -sel_port-107: 1.1.sta00542 -sel_port-108: 1.1.sta00543 -sel_port-109: 1.1.sta00544 -sel_port-110: 1.1.sta00545 -sel_port-111: 1.1.sta00546 -sel_port-112: 1.1.sta00547 -sel_port-113: 1.1.sta00548 -sel_port-114: 1.1.sta00549 -sel_port-115: 1.1.sta00550 -sel_port-116: 1.1.sta00551 -sel_port-117: 1.1.sta00552 -sel_port-118: 1.1.sta00553 -sel_port-119: 1.1.sta00554 -sel_port-120: 1.1.sta00555 -sel_port-121: 1.1.sta00556 -sel_port-122: 1.1.sta00557 -sel_port-123: 1.1.sta00558 -sel_port-124: 1.1.sta00559 -sel_port-125: 1.1.sta00560 -sel_port-126: 1.1.sta00561 -sel_port-127: 1.1.sta00562 -sel_port-128: 1.1.sta00563 -sel_port-129: 1.1.wlan4 -sel_port-130: 1.1.wlan5 -sel_port-131: 1.1.wlan6 -sel_port-132: 1.1.wlan7 -show_events: 1 -show_log: 0 -port_sorting: 2 -kpi_id: Capacity-TCP-UL+DL -bg: 0xE0ECF8 -test_rig: NOLA-12-Basic -show_scan: 1 -auto_helper: 1 -skip_2: 0 -skip_5: 0 -skip_5b: 1 -skip_dual: 0 -skip_tri: 1 -batch_size: 1,5,10,20,40,80 -loop_iter: 1 -duration: 60000 -test_groups: 0 -test_groups_subset: 0 -protocol: TCP-IPv4 -dl_rate_sel: Total Download Rate: -dl_rate: 1000000000 -ul_rate_sel: Total Upload Rate: -ul_rate: 1000000000 -prcnt_tcp: 100000 -l4_endp: -pdu_sz: -1 -mss_sel: 1 -sock_buffer: 0 -ip_tos: 0 -multi_conn: -1 -min_speed: -1 -ps_interval: 60-second Running Average -fairness: 0 -naptime: 0 -before_clear: 5000 -rpt_timer: 1000 -try_lower: 0 -rnd_rate: 1 -leave_ports_up: 0 -down_quiesce: 0 -udp_nat: 1 -record_other_ssids: 0 -clear_reset_counters: 0 -do_pf: 0 -pf_min_period_dl: 128000 -pf_min_period_ul: 0 -pf_max_reconnects: 0 -use_mix_pdu: 0 -pdu_prcnt_pps: 1 -pdu_prcnt_bps: 0 -pdu_mix_ln-0: -show_scan: 1 -show_golden_3p: 0 -save_csv: 0 -show_realtime: 1 -show_pie: 1 -show_per_loop_totals: 1 -show_cx_time: 1 -show_dhcp: 1 -show_anqp: 1 -show_4way: 1 -show_latency: 1 - diff --git a/testbeds/nola-basic-13/NOTES.txt b/testbeds/nola-basic-13/NOTES.txt deleted file mode 100644 index 9fec63916..000000000 --- a/testbeds/nola-basic-13/NOTES.txt +++ /dev/null @@ -1,2 +0,0 @@ - -DUT is an EAP-102 wifi-6, running TIP OpenWrt. diff --git a/testbeds/nola-basic-13/OpenWrt-overlay/etc/config/bugcheck b/testbeds/nola-basic-13/OpenWrt-overlay/etc/config/bugcheck deleted file mode 100644 index b138a6fad..000000000 --- a/testbeds/nola-basic-13/OpenWrt-overlay/etc/config/bugcheck +++ /dev/null @@ -1,2 +0,0 @@ -DO_BUGCHECK=1 -export DO_BUGCHECK diff --git a/testbeds/nola-basic-13/OpenWrt-overlay/etc/config/wireless b/testbeds/nola-basic-13/OpenWrt-overlay/etc/config/wireless deleted file mode 100644 index 0c973bd5b..000000000 --- a/testbeds/nola-basic-13/OpenWrt-overlay/etc/config/wireless +++ /dev/null @@ -1,34 +0,0 @@ -config wifi-device 'radio0' - option type 'mac80211' - option channel '36' - option hwmode '11a' - option path 'platform/soc/c000000.wifi1' - option htmode 'HE80' - option disabled '0' - -config wifi-iface 'default_radio0' - option device 'radio0' - option network 'lan' - option mode 'ap' - option ssid 'Default-SSID-5gl' - option encryption 'psk-mixed' - option key '12345678' - option macaddr '00:00:ea:D2:01:02' - -config wifi-device 'radio1' - option type 'mac80211' - option channel '11' - option hwmode '11g' - option path 'platform/soc/c000000.wifi1+1' - option htmode 'HE20' - option disabled '0' - -config wifi-iface 'default_radio1' - option device 'radio1' - option network 'lan' - option mode 'ap' - option ssid 'Default-SSID-2g' - option encryption 'psk-mixed' - option key '12345678' - option macaddr '00:00:ea:92:01:02' - diff --git a/testbeds/nola-basic-13/ap-auto.txt b/testbeds/nola-basic-13/ap-auto.txt deleted file mode 100644 index 0727523bb..000000000 --- a/testbeds/nola-basic-13/ap-auto.txt +++ /dev/null @@ -1,114 +0,0 @@ -[BLANK] -sel_port-0: 1.1.sta00500 -show_events: 1 -show_log: 0 -port_sorting: 0 -kpi_id: AP Auto -bg: 0xE0ECF8 -test_rig: -show_scan: 1 -auto_helper: 1 -skip_2: 1 -skip_5: 1 -dut5b-0: NA -dut5-0: TIP Default-SSID-5gl -dut2-0: TIP Default-SSID-2g -dut5b-1: NA -dut5-1: NA -dut2-1: NA -dut5b-2: NA -dut5-2: NA -dut2-2: NA -spatial_streams: AUTO -bandw_options: AUTO -modes: Auto -upstream_port: 1.1.2 eth2 -operator: -mconn: 1 -tos: 0 -vid_buf: 1000000 -vid_speed: 700000 -reset_stall_thresh_udp_dl: 9600 -reset_stall_thresh_udp_ul: 9600 -reset_stall_thresh_tcp_dl: 9600 -reset_stall_thresh_tcp_ul: 9600 -reset_stall_thresh_l4: 100000 -reset_stall_thresh_voip: 20000 -stab_udp_dl_min: 56000 -stab_udp_dl_max: 0 -stab_udp_ul_min: 56000 -stab_udp_ul_max: 0 -stab_tcp_dl_min: 500000 -stab_tcp_dl_max: 0 -stab_tcp_ul_min: 500000 -stab_tcp_ul_max: 0 -dl_speed: 85% -ul_speed: 85% -#max_stations_2: 129 -#max_stations_5: 131 -#max_stations_dual: 260 -max_stations_2: 64 -max_stations_5: 64 -max_stations_dual: 128 -lt_sta: 2 -voip_calls: 0 -lt_dur: 3600 -reset_dur: 600 -lt_gi: 30 -dur20: 20 -hunt_retries: 1 -cap_dl: 1 -cap_ul: 0 -cap_use_pkt_sizes: 0 -stability_reset_radios: 0 -pkt_loss_thresh: 10000 -frame_sizes: 200, 512, 1024, MTU -capacities: 1, 2, 5, 10, 20, 40, 64, 128, 256, 512, 1024, MAX -radio2-0: 1.1.4 wiphy0 -radio2-1: 1.1.0 wiphy2 -radio2-2: 1.1.0 wiphy4 -radio5-0: 1.1.5 wiphy3 -radio5-1: 1.1.7 wiphy5 -radio5-2: 1.1.9 wiphy6 -radio5-3: 1.1.9 wiphy7 -radio5-4: 1.1.0 wiphy1 -radio5-5: -basic_cx: 1 -tput: 0 -dual_band_tput: 0 -capacity: 0 -longterm: 0 -mix_stability: 0 -loop_iter: 1 -reset_batch_size: 1 -reset_duration_min: 10000 -reset_duration_max: 60000 - -# Configure pass/fail metrics for this testbed. -pf_text0: 2.4 DL 200 70Mbps -pf_text1: 2.4 DL 512 110Mbps -pf_text2: 2.4 DL 1024 115Mbps -pf_text3: 2.4 DL MTU 120Mbps -pf_text4: -pf_text5: 2.4 UL 200 88Mbps -pf_text6: 2.4 UL 512 106Mbps -pf_text7: 2.4 UL 1024 115Mbps -pf_text8: 2.4 UL MTU 120Mbps -pf_text9: -pf_text10: 5 DL 200 72Mbps -pf_text11: 5 DL 512 185Mbps -pf_text12: 5 DL 1024 370Mbps -pf_text13: 5 DL MTU 525Mbps -pf_text14: -pf_text15: 5 UL 200 90Mbps -pf_text16: 5 UL 512 230Mbps -pf_text17: 5 UL 1024 450Mbps -pf_text18: 5 UL MTU 630Mbps - -# Tune connect-time thresholds. -cx_prcnt: 950000 -cx_open_thresh: 35 -cx_psk_thresh: 75 -cx_1x_thresh: 130 - - diff --git a/testbeds/nola-basic-13/dpt-pkt-sz.txt b/testbeds/nola-basic-13/dpt-pkt-sz.txt deleted file mode 100644 index 670fb0c2b..000000000 --- a/testbeds/nola-basic-13/dpt-pkt-sz.txt +++ /dev/null @@ -1,55 +0,0 @@ -[BLANK] -show_events: 1 -show_log: 0 -port_sorting: 0 -kpi_id: Dataplane -bg: 0xE0ECF8 -test_rig: -show_scan: 1 -auto_helper: 0 -skip_2: 0 -skip_5: 0 -selected_dut: TIP -duration: 15000 -traffic_port: 1.1.136 sta00500 -upstream_port: 1.1.2 eth2 -path_loss: 10 -speed: 85% -speed2: 0Kbps -min_rssi_bound: -150 -max_rssi_bound: 0 -channels: AUTO -modes: Auto -pkts: 60;142;256;512;1024;MTU;4000 -spatial_streams: AUTO -security_options: AUTO -bandw_options: AUTO -traffic_types: UDP -directions: DUT Transmit;DUT Receive -txo_preamble: OFDM -txo_mcs: 0 CCK, OFDM, HT, VHT -txo_retries: No Retry -txo_sgi: OFF -txo_txpower: 15 -attenuator: 0 -attenuator2: 0 -attenuator_mod: 255 -attenuator_mod2: 255 -attenuations: 0..+50..950 -attenuations2: 0..+50..950 -chamber: 0 -tt_deg: 0..+45..359 -cust_pkt_sz: -show_3s: 0 -show_ll_graphs: 1 -show_gp_graphs: 1 -show_1m: 1 -pause_iter: 0 -show_realtime: 1 -operator: -mconn: 1 -mpkt: 1000 -tos: 0 -loop_iterations: 1 - - diff --git a/testbeds/nola-basic-13/run_basic.bash b/testbeds/nola-basic-13/run_basic.bash deleted file mode 100755 index 7d88ff44d..000000000 --- a/testbeds/nola-basic-13/run_basic.bash +++ /dev/null @@ -1,71 +0,0 @@ -#!/bin/bash - -# Example usage of this script -# DUT_SW_VER=my-build-id ./run_basic.bash -# -# Other DUT variables in test_bed_cfg.bash may also be over-ridden, -# including those below. See LANforge 'add_dut' CLI command for -# details on what these variables are for. - -# DUT_FLAGS DUT_FLAGS_MASK DUT_SW_VER DUT_HW_VER DUT_MODEL -# DUT_SERIAL DUT_SSID1 DUT_SSID2 DUT_SSID3 -# DUT_PASSWD1 DUT_PASSWD2 DUT_PASSWD3 -# DUT_BSSID1 DUT_BSSID2 DUT_BSSID3 - -# Source config file -. test_bed_cfg.bash - -echo "Top wlan-testing git commits.
" > ./tmp_gitlog.html
-git log -n 8 --oneline >> ./tmp_gitlog.html
-echo "
" >> ./tmp_gitlog.html - -NOTES_HTML=`pwd`/testbed_notes.html -GITLOG=`pwd`/tmp_gitlog.html - -if [ -d "../../../wlan-ap" ] -then - DUTGITLOG=/tmp/${DUT_SW_VER}_dut_gitlog.html - echo "Top wlan-ap git commits.
" > $DUTGITLOG
-    (cd ../../../wlan-ap && git log -n 8 --oneline $DUT_SW_VER >> $DUTGITLOG && cd -)
-    echo "
" >> $DUTGITLOG - export DUTGITLOG -fi -export NOTES_HTML GITLOG - -# TODO: Copy config file to cloud controller and restart it -# and/or do other config to make it work. - -# Change to scripts dir -cd ../../lanforge/lanforge-scripts/gui - -# Where to place results. basic_regression.bash will use this variable. -RSLTS_DIR=/tmp/nola-${NOLA_NUM}-basic-regression -export RSLTS_DIR - -# Clean any existing data from the results dir -rm -fr $RSLTS_DIR - -# Run one test -# DEFAULT_ENABLE=0 DO_SHORT_AP_STABILITY_RESET=1 ./basic_regression.bash - -# Clean up old DHCP leases -../lf_gui_cmd.pl --manager $GMANAGER --port $GMPORT --cmd "cli clear_port_counters ALL ALL ALL dhcp_leases" - -# Run all tests -./basic_regression.bash - -cd - - -if [ ! -d $RSLTS_DIR ] -then - echo "Test did not run as expected, $RSLTS_DIR not found." - mkdir -p $RSLTS_DIR -fi - -if [ -f ${MY_TMPDIR}/basic_regression_log.txt ] -then - echo "Found ${MY_TMPDIR}/basic_regression_log.txt, moving into $RSLTS_DIR" - mv ${MY_TMPDIR}/basic_regression_log.txt $RSLTS_DIR/ -fi - -echo "See results in $RSLTS_DIR" diff --git a/testbeds/nola-basic-13/run_basic_fast.bash b/testbeds/nola-basic-13/run_basic_fast.bash deleted file mode 100755 index 1d85a73cd..000000000 --- a/testbeds/nola-basic-13/run_basic_fast.bash +++ /dev/null @@ -1,83 +0,0 @@ -#!/bin/bash - -# Example usage of this script -# DUT_SW_VER=my-build-id ./run_basic.bash -# -# Other DUT variables in test_bed_cfg.bash may also be over-ridden, -# including those below. See LANforge 'add_dut' CLI command for -# details on what these variables are for. - -# DUT_FLAGS DUT_FLAGS_MASK DUT_SW_VER DUT_HW_VER DUT_MODEL -# DUT_SERIAL DUT_SSID1 DUT_SSID2 DUT_SSID3 -# DUT_PASSWD1 DUT_PASSWD2 DUT_PASSWD3 -# DUT_BSSID1 DUT_BSSID2 DUT_BSSID3 - -#set -x - -DO_SHORT_AP_BASIC_CX=${DO_SHORT_AP_BASIC_CX:-1} -DO_WCT_BI=${DO_WCT_BI:-1} - -export DO_SHORT_AP_BASI_CX DO_WCT_BI - -# Source config file -. test_bed_cfg.bash - -echo "Top wlan-testing git commits.
" > ./tmp_gitlog.html
-git log -n 8 --oneline >> ./tmp_gitlog.html
-echo "
" >> ./tmp_gitlog.html - -NOTES_HTML=`pwd`/testbed_notes.html -GITLOG=`pwd`/tmp_gitlog.html - -if [ -d "../../../wlan-ap" ] -then - DUTGITLOG=/tmp/${DUT_SW_VER}_dut_gitlog.html - echo "Top wlan-ap git commits.
" > $DUTGITLOG
-    (cd ../../../wlan-ap && git log -n 8 --oneline $DUT_SW_VER >> $DUTGITLOG && cd -)
-    echo "
" >> $DUTGITLOG - export DUTGITLOG -fi -export NOTES_HTML GITLOG - -# TODO: Copy config file to cloud controller and restart it -# and/or do other config to make it work. - -# Change to scripts dir -cd ../../lanforge/lanforge-scripts/gui - -# Where to place results. basic_regression.bash will use this variable. -RSLTS_DIR=/tmp/nola-${NOLA_NUM}-basic-regression-fast -export RSLTS_DIR - -# Clean any existing data from the results dir -rm -fr $RSLTS_DIR - -# Clean up old DHCP leases -../lf_gui_cmd.pl --manager $GMANAGER --port $GMPORT --cmd "cli clear_port_counters ALL ALL ALL dhcp_leases" - -# Run a subset of available tests -# See 'Tests to run' comment in basic_regression.bash for available options. - -#DEFAULT_ENABLE=0 WCT_DURATION=20s DO_SHORT_AP_BASIC_CX=1 DO_WCT_BI=1 ./basic_regression.bash - -DEFAULT_ENABLE=0 WCT_DURATION=20s ./basic_regression.bash - - -# Run all tests -#./basic_regression.bash - -cd - - -if [ ! -d $RSLTS_DIR ] -then - echo "Test did not run as expected, $RSLTS_DIR not found." - mkdir -p $RSLTS_DIR -fi - -if [ -f ${MY_TMPDIR}/basic_regression_log.txt ] -then - echo "Found ${MY_TMPDIR}/basic_regression_log.txt, moving into $RSLTS_DIR" - mv ${MY_TMPDIR}/basic_regression_log.txt $RSLTS_DIR/ -fi - -echo "See results in $RSLTS_DIR" diff --git a/testbeds/nola-basic-13/scenario.txt b/testbeds/nola-basic-13/scenario.txt deleted file mode 100644 index d66adf262..000000000 --- a/testbeds/nola-basic-13/scenario.txt +++ /dev/null @@ -1,11 +0,0 @@ -profile_link 1.1 STA-AC 32 'DUT: TIP Radio-1' NA wiphy0,AUTO -1 -profile_link 1.1 STA-AC 32 'DUT: TIP Radio-2' NA wiphy1,AUTO -1 -profile_link 1.1 STA-AC 32 'DUT: TIP Radio-1' NA wiphy2,AUTO -1 -profile_link 1.1 STA-AC 28 'DUT: TIP Radio-2' NA wiphy3,AUTO -1 -profile_link 1.1 upstream-dhcp 1 NA NA eth2,AUTO -1 -profile_link 1.1 uplink-nat 1 'DUT: upstream LAN 10.28.2.1/24' NA eth3,eth2 -1 -profile_link 1.1 STA-AC 1 'DUT: TIP Radio-2' NA ALL-AX,AUTO -1 -dut ecw5410 393 148 -dut TIP 395 295 -dut upstream 306 62 -resource 1.1 132 218 diff --git a/testbeds/nola-basic-13/scenario_small.txt b/testbeds/nola-basic-13/scenario_small.txt deleted file mode 100644 index d70e64875..000000000 --- a/testbeds/nola-basic-13/scenario_small.txt +++ /dev/null @@ -1,11 +0,0 @@ -profile_link 1.1 STA-AC 24 'DUT: TIP Radio-1' NA wiphy0,AUTO -1 -profile_link 1.1 STA-AC 24 'DUT: TIP Radio-2' NA wiphy1,AUTO -1 -profile_link 1.1 STA-AC 24 'DUT: TIP Radio-1' NA wiphy2,AUTO -1 -profile_link 1.1 STA-AC 24 'DUT: TIP Radio-2' NA wiphy3,AUTO -1 -profile_link 1.1 upstream-dhcp 1 NA NA eth2,AUTO -1 -profile_link 1.1 uplink-nat 1 'DUT: upstream LAN 10.28.2.1/24' NA eth3,eth2 -1 -profile_link 1.1 STA-AC 1 'DUT: TIP Radio-2' NA ALL-AX,AUTO -1 -dut ecw5410 393 148 -dut TIP 395 295 -dut upstream 306 62 -resource 1.1 132 218 diff --git a/testbeds/nola-basic-13/test_bed_cfg.bash b/testbeds/nola-basic-13/test_bed_cfg.bash deleted file mode 100644 index a402bb941..000000000 --- a/testbeds/nola-basic-13/test_bed_cfg.bash +++ /dev/null @@ -1,62 +0,0 @@ -# Example test-bed configuration - -# Scripts should source this file to set the default environment variables -# and then override the variables specific to their test case (and it can be done -# in opposite order for same results -# -# After the env variables are set, -# call the 'lanforge/lanforge-scripts/gui/basic_regression.bash' -# from the directory in which it resides. - -NOLA_NUM=13 - -PWD=`pwd` -AP_SERIAL=${AP_SERIAL:-/dev/ttyAP2} -LF_SERIAL=${LF_SERIAL:-/dev/ttyLF2} -LFPASSWD=${LFPASSWD:-lanforge} # Root password on LANforge machine -AP_AUTO_CFG_FILE=${AP_AUTO_CFG_FILE:-$PWD/ap-auto.txt} -WCT_CFG_FILE=${WCT_CFG_FILE:-$PWD/wct.txt} -DPT_CFG_FILE=${DPT_CFG_FILE:-$PWD/dpt-pkt-sz.txt} -SCENARIO_CFG_FILE=${SCENARIO_CFG_FILE:-$PWD/scenario.txt} - -# Default to enable cloud-sdk for this testbed, cloud-sdk is at IP addr below -#USE_CLOUD_SDK=${USE_CLOUD_SDK:-192.168.100.164} - -# LANforge target machine -LFMANAGER=${LFMANAGER:-lf13} - -# LANforge GUI machine (may often be same as target) -GMANAGER=${GMANAGER:-lf13} -GMPORT=${GMPORT:-3990} -MY_TMPDIR=${MY_TMPDIR:-/tmp} - -# Test configuration (10 minutes by default, in interest of time) -STABILITY_DURATION=${STABILITY_DURATION:-600} -TEST_RIG_ID=${TEST_RIG_ID:-NOLA-${NOLA_NUM}-Basic} - -# DUT configuration -DUT_FLAGS=${DUT_FLAGS:-0x22} # AP, WPA-PSK -#DUT_FLAGS=${DUT_FLAGS:-0x2} # AP, Open -DUT_FLAGS_MASK=${DUT_FLAGS_MASK:-0xFFFF} -DUT_SW_VER=${DUT_SW_VER:-OpenWrt-TIP} -DUT_HW_VER=EAP-102 -DUT_MODEL=EAP-102 -DUT_SERIAL=${DUT_SERIAL:-NA} -DUT_SSID1=${DUT_SSID1:-Default-SSID-2g} -DUT_SSID2=${DUT_SSID2:-Default-SSID-5gl} -DUT_PASSWD1=${DUT_PASSWD1:-12345678} -DUT_PASSWD2=${DUT_PASSWD2:-12345678} -# 2.4 radio -DUT_BSSID1=00:00:ea:92:01:02 -# 5Ghz radio -DUT_BSSID2=00:00:ea:D2:01:02 - -export LF_SERIAL AP_SERIAL LFPASSWD -export AP_AUTO_CFG_FILE WCT_CFG_FILE DPT_CFG_FILE SCENARIO_CFG_FILE -export LFMANAGER GMANAGER GMPORT MY_TMPDIR -export STABILITY_DURATION TEST_RIG_ID -export DUT_FLAGS DUT_FLAGS_MASK DUT_SW_VER DUT_HW_VER DUT_MODEL -export DUT_SERIAL DUT_SSID1 DUT_SSID2 DUT_SSID3 -export DUT_PASSWD1 DUT_PASSWD2 DUT_PASSWD3 -export DUT_BSSID1 DUT_BSSID2 DUT_BSSID3 -export USE_CLOUD_SDK diff --git a/testbeds/nola-basic-13/wct.txt b/testbeds/nola-basic-13/wct.txt deleted file mode 100644 index c673f3abb..000000000 --- a/testbeds/nola-basic-13/wct.txt +++ /dev/null @@ -1,191 +0,0 @@ -[BLANK] -sel_port-0: 1.1.eth2 -sel_port-1: 1.1.sta00000 -sel_port-2: 1.1.sta00001 -sel_port-3: 1.1.sta00002 -sel_port-4: 1.1.sta00003 -sel_port-5: 1.1.sta00004 -sel_port-6: 1.1.sta00005 -sel_port-7: 1.1.sta00006 -sel_port-8: 1.1.sta00007 -sel_port-9: 1.1.sta00008 -sel_port-10: 1.1.sta00009 -sel_port-11: 1.1.sta00010 -sel_port-12: 1.1.sta00011 -sel_port-13: 1.1.sta00012 -sel_port-14: 1.1.sta00013 -sel_port-15: 1.1.sta00014 -sel_port-16: 1.1.sta00015 -sel_port-17: 1.1.sta00016 -sel_port-18: 1.1.sta00017 -sel_port-19: 1.1.sta00018 -sel_port-20: 1.1.sta00019 -sel_port-21: 1.1.sta00020 -sel_port-22: 1.1.sta00021 -sel_port-23: 1.1.sta00022 -sel_port-24: 1.1.sta00023 -sel_port-25: 1.1.sta00024 -sel_port-26: 1.1.sta00025 -sel_port-27: 1.1.sta00026 -sel_port-28: 1.1.sta00027 -sel_port-29: 1.1.sta00028 -sel_port-30: 1.1.sta00029 -sel_port-31: 1.1.sta00030 -sel_port-32: 1.1.sta00031 -sel_port-33: 1.1.sta00500 -sel_port-34: 1.1.sta00501 -sel_port-35: 1.1.sta00502 -sel_port-36: 1.1.sta00503 -sel_port-37: 1.1.sta00504 -sel_port-38: 1.1.sta00505 -sel_port-39: 1.1.sta00506 -sel_port-40: 1.1.sta00507 -sel_port-41: 1.1.sta00508 -sel_port-42: 1.1.sta00509 -sel_port-43: 1.1.sta00510 -sel_port-44: 1.1.sta00511 -sel_port-45: 1.1.sta00512 -sel_port-46: 1.1.sta00513 -sel_port-47: 1.1.sta00514 -sel_port-48: 1.1.sta00515 -sel_port-49: 1.1.sta00516 -sel_port-50: 1.1.sta00517 -sel_port-51: 1.1.sta00518 -sel_port-52: 1.1.sta00519 -sel_port-53: 1.1.sta00520 -sel_port-54: 1.1.sta00521 -sel_port-55: 1.1.sta00522 -sel_port-56: 1.1.sta00523 -sel_port-57: 1.1.sta00524 -sel_port-58: 1.1.sta00525 -sel_port-59: 1.1.sta00526 -sel_port-60: 1.1.sta00527 -sel_port-61: 1.1.sta00528 -sel_port-62: 1.1.sta00529 -sel_port-63: 1.1.sta00530 -sel_port-64: 1.1.sta00531 -sel_port-65: 1.1.sta01000 -sel_port-66: 1.1.sta01001 -sel_port-67: 1.1.sta01002 -sel_port-68: 1.1.sta01003 -sel_port-69: 1.1.sta01004 -sel_port-70: 1.1.sta01005 -sel_port-71: 1.1.sta01006 -sel_port-72: 1.1.sta01007 -sel_port-73: 1.1.sta01008 -sel_port-74: 1.1.sta01009 -sel_port-75: 1.1.sta01010 -sel_port-76: 1.1.sta01011 -sel_port-77: 1.1.sta01012 -sel_port-78: 1.1.sta01013 -sel_port-79: 1.1.sta01014 -sel_port-80: 1.1.sta01015 -sel_port-81: 1.1.sta01016 -sel_port-82: 1.1.sta01017 -sel_port-83: 1.1.sta01018 -sel_port-84: 1.1.sta01019 -sel_port-85: 1.1.sta01020 -sel_port-86: 1.1.sta01021 -sel_port-87: 1.1.sta01022 -sel_port-88: 1.1.sta01023 -sel_port-89: 1.1.sta01024 -sel_port-90: 1.1.sta01025 -sel_port-91: 1.1.sta01026 -sel_port-92: 1.1.sta01027 -sel_port-93: 1.1.sta01028 -sel_port-94: 1.1.sta01029 -sel_port-95: 1.1.sta01030 -sel_port-96: 1.1.sta01031 -sel_port-97: 1.1.sta01500 -sel_port-98: 1.1.sta01501 -sel_port-99: 1.1.sta01502 -sel_port-100: 1.1.sta01503 -sel_port-101: 1.1.sta01504 -sel_port-102: 1.1.sta01505 -sel_port-103: 1.1.sta01506 -sel_port-104: 1.1.sta01507 -sel_port-105: 1.1.sta01508 -sel_port-106: 1.1.sta01509 -sel_port-107: 1.1.sta01510 -sel_port-108: 1.1.sta01511 -sel_port-109: 1.1.sta01512 -sel_port-110: 1.1.sta01513 -sel_port-111: 1.1.sta01514 -sel_port-112: 1.1.sta01515 -sel_port-113: 1.1.sta01516 -sel_port-114: 1.1.sta01517 -sel_port-115: 1.1.sta01518 -sel_port-116: 1.1.sta01519 -sel_port-117: 1.1.sta01520 -sel_port-118: 1.1.sta01521 -sel_port-119: 1.1.sta01522 -sel_port-120: 1.1.sta01523 -sel_port-121: 1.1.sta01524 -sel_port-122: 1.1.sta01525 -sel_port-123: 1.1.sta01526 -sel_port-124: 1.1.sta01527 -sel_port-125: 1.1.wlan4 -sel_port-126: 1.1.wlan5 -sel_port-127: 1.1.wlan6 -sel_port-128: 1.1.wlan7 -show_events: 1 -show_log: 0 -port_sorting: 2 -kpi_id: WiFi Capacity -bg: 0xE0ECF8 -test_rig: -show_scan: 1 -auto_helper: 1 -skip_2: 0 -skip_5: 0 -batch_size: 1,5,10,20,40,80 -loop_iter: 1 -duration: 30000 -test_groups: 0 -test_groups_subset: 0 -protocol: TCP-IPv4 -dl_rate_sel: Total Download Rate: -dl_rate: 1000000000 -ul_rate_sel: Total Upload Rate: -ul_rate: 1000000000 -prcnt_tcp: 100000 -l4_endp: -pdu_sz: -1 -mss_sel: 1 -sock_buffer: 0 -ip_tos: 0 -multi_conn: -1 -min_speed: -1 -ps_interval: 60-second Running Average -fairness: 0 -naptime: 0 -before_clear: 5000 -rpt_timer: 1000 -try_lower: 0 -rnd_rate: 1 -leave_ports_up: 0 -down_quiesce: 0 -udp_nat: 1 -record_other_ssids: 0 -clear_reset_counters: 0 -do_pf: 0 -pf_min_period_dl: 128000 -pf_min_period_ul: 0 -pf_max_reconnects: 0 -use_mix_pdu: 0 -pdu_prcnt_pps: 1 -pdu_prcnt_bps: 0 -pdu_mix_ln-0: -show_scan: 1 -show_golden_3p: 0 -save_csv: 0 -show_realtime: 1 -show_pie: 1 -show_per_loop_totals: 1 -show_cx_time: 1 -show_dhcp: 1 -show_anqp: 1 -show_4way: 1 -show_latency: 1 - - diff --git a/testbeds/nola-basic-14/NOTES.txt b/testbeds/nola-basic-14/NOTES.txt deleted file mode 100644 index e708146af..000000000 --- a/testbeds/nola-basic-14/NOTES.txt +++ /dev/null @@ -1,2 +0,0 @@ -DUT is an EAP-102 wifi-6, running TIP OpenWrt. -Configured for <= 128 stations total. diff --git a/testbeds/nola-basic-14/OpenWrt-overlay/etc/config/bugcheck b/testbeds/nola-basic-14/OpenWrt-overlay/etc/config/bugcheck deleted file mode 100644 index b138a6fad..000000000 --- a/testbeds/nola-basic-14/OpenWrt-overlay/etc/config/bugcheck +++ /dev/null @@ -1,2 +0,0 @@ -DO_BUGCHECK=1 -export DO_BUGCHECK diff --git a/testbeds/nola-basic-14/OpenWrt-overlay/etc/config/wireless b/testbeds/nola-basic-14/OpenWrt-overlay/etc/config/wireless deleted file mode 100644 index f58ce0822..000000000 --- a/testbeds/nola-basic-14/OpenWrt-overlay/etc/config/wireless +++ /dev/null @@ -1,34 +0,0 @@ -config wifi-device 'radio0' - option type 'mac80211' - option channel '36' - option hwmode '11a' - option path 'platform/soc/c000000.wifi1' - option htmode 'HE80' - option disabled '0' - -config wifi-iface 'default_radio0' - option device 'radio0' - option network 'lan' - option mode 'ap' - option ssid 'Default-SSID-5gl' - option encryption 'psk-mixed' - option key '12345678' - option macaddr '00:00:ea:D2:01:03' - -config wifi-device 'radio1' - option type 'mac80211' - option channel '11' - option hwmode '11g' - option path 'platform/soc/c000000.wifi1+1' - option htmode 'HE20' - option disabled '0' - -config wifi-iface 'default_radio1' - option device 'radio1' - option network 'lan' - option mode 'ap' - option ssid 'Default-SSID-2g' - option encryption 'psk-mixed' - option key '12345678' - option macaddr '00:00:ea:92:01:03' - diff --git a/testbeds/nola-basic-14/ap-auto.txt b/testbeds/nola-basic-14/ap-auto.txt deleted file mode 100644 index df17fd21f..000000000 --- a/testbeds/nola-basic-14/ap-auto.txt +++ /dev/null @@ -1,111 +0,0 @@ -[BLANK] -sel_port-0: 1.1.sta00500 -show_events: 1 -show_log: 0 -port_sorting: 0 -kpi_id: AP Auto -bg: 0xE0ECF8 -test_rig: -show_scan: 1 -auto_helper: 1 -skip_2: 1 -skip_5: 1 -dut5b-0: NA -dut5-0: TIP Default-SSID-5gl -dut2-0: TIP Default-SSID-2g -dut5b-1: NA -dut5-1: NA -dut2-1: NA -dut5b-2: NA -dut5-2: NA -dut2-2: NA -spatial_streams: AUTO -bandw_options: AUTO -modes: Auto -upstream_port: 1.1.2 eth2 -operator: -mconn: 1 -tos: 0 -vid_buf: 1000000 -vid_speed: 700000 -reset_stall_thresh_udp_dl: 9600 -reset_stall_thresh_udp_ul: 9600 -reset_stall_thresh_tcp_dl: 9600 -reset_stall_thresh_tcp_ul: 9600 -reset_stall_thresh_l4: 100000 -reset_stall_thresh_voip: 20000 -stab_udp_dl_min: 56000 -stab_udp_dl_max: 0 -stab_udp_ul_min: 56000 -stab_udp_ul_max: 0 -stab_tcp_dl_min: 500000 -stab_tcp_dl_max: 0 -stab_tcp_ul_min: 500000 -stab_tcp_ul_max: 0 -dl_speed: 85% -ul_speed: 85% -max_stations_2: 60 -max_stations_5: 60 -max_stations_dual: 120 -lt_sta: 2 -voip_calls: 0 -lt_dur: 3600 -reset_dur: 600 -lt_gi: 30 -dur20: 20 -hunt_retries: 1 -cap_dl: 1 -cap_ul: 0 -cap_use_pkt_sizes: 0 -stability_reset_radios: 0 -pkt_loss_thresh: 10000 -frame_sizes: 200, 512, 1024, MTU -capacities: 1, 2, 5, 10, 20, 40, 64, 128, 256, 512, 1024, MAX -radio2-0: 1.1.4 wiphy0 -radio2-1: 1.1.0 wiphy2 -radio2-2: 1.1.0 wiphy4 -radio5-0: 1.1.5 wiphy3 -radio5-1: 1.1.7 wiphy5 -radio5-2: 1.1.9 wiphy6 -radio5-3: 1.1.9 wiphy7 -radio5-4: 1.1.0 wiphy1 -radio5-5: -basic_cx: 1 -tput: 0 -dual_band_tput: 0 -capacity: 0 -longterm: 0 -mix_stability: 0 -loop_iter: 1 -reset_batch_size: 1 -reset_duration_min: 10000 -reset_duration_max: 60000 - -# Configure pass/fail metrics for this testbed. -pf_text0: 2.4 DL 200 70Mbps -pf_text1: 2.4 DL 512 110Mbps -pf_text2: 2.4 DL 1024 115Mbps -pf_text3: 2.4 DL MTU 120Mbps -pf_text4: -pf_text5: 2.4 UL 200 88Mbps -pf_text6: 2.4 UL 512 106Mbps -pf_text7: 2.4 UL 1024 115Mbps -pf_text8: 2.4 UL MTU 120Mbps -pf_text9: -pf_text10: 5 DL 200 72Mbps -pf_text11: 5 DL 512 185Mbps -pf_text12: 5 DL 1024 370Mbps -pf_text13: 5 DL MTU 525Mbps -pf_text14: -pf_text15: 5 UL 200 90Mbps -pf_text16: 5 UL 512 230Mbps -pf_text17: 5 UL 1024 450Mbps -pf_text18: 5 UL MTU 630Mbps - -# Tune connect-time thresholds. -cx_prcnt: 950000 -cx_open_thresh: 35 -cx_psk_thresh: 75 -cx_1x_thresh: 130 - - diff --git a/testbeds/nola-basic-14/dpt-pkt-sz.txt b/testbeds/nola-basic-14/dpt-pkt-sz.txt deleted file mode 100644 index 670fb0c2b..000000000 --- a/testbeds/nola-basic-14/dpt-pkt-sz.txt +++ /dev/null @@ -1,55 +0,0 @@ -[BLANK] -show_events: 1 -show_log: 0 -port_sorting: 0 -kpi_id: Dataplane -bg: 0xE0ECF8 -test_rig: -show_scan: 1 -auto_helper: 0 -skip_2: 0 -skip_5: 0 -selected_dut: TIP -duration: 15000 -traffic_port: 1.1.136 sta00500 -upstream_port: 1.1.2 eth2 -path_loss: 10 -speed: 85% -speed2: 0Kbps -min_rssi_bound: -150 -max_rssi_bound: 0 -channels: AUTO -modes: Auto -pkts: 60;142;256;512;1024;MTU;4000 -spatial_streams: AUTO -security_options: AUTO -bandw_options: AUTO -traffic_types: UDP -directions: DUT Transmit;DUT Receive -txo_preamble: OFDM -txo_mcs: 0 CCK, OFDM, HT, VHT -txo_retries: No Retry -txo_sgi: OFF -txo_txpower: 15 -attenuator: 0 -attenuator2: 0 -attenuator_mod: 255 -attenuator_mod2: 255 -attenuations: 0..+50..950 -attenuations2: 0..+50..950 -chamber: 0 -tt_deg: 0..+45..359 -cust_pkt_sz: -show_3s: 0 -show_ll_graphs: 1 -show_gp_graphs: 1 -show_1m: 1 -pause_iter: 0 -show_realtime: 1 -operator: -mconn: 1 -mpkt: 1000 -tos: 0 -loop_iterations: 1 - - diff --git a/testbeds/nola-basic-14/run_basic.bash b/testbeds/nola-basic-14/run_basic.bash deleted file mode 100755 index 7d88ff44d..000000000 --- a/testbeds/nola-basic-14/run_basic.bash +++ /dev/null @@ -1,71 +0,0 @@ -#!/bin/bash - -# Example usage of this script -# DUT_SW_VER=my-build-id ./run_basic.bash -# -# Other DUT variables in test_bed_cfg.bash may also be over-ridden, -# including those below. See LANforge 'add_dut' CLI command for -# details on what these variables are for. - -# DUT_FLAGS DUT_FLAGS_MASK DUT_SW_VER DUT_HW_VER DUT_MODEL -# DUT_SERIAL DUT_SSID1 DUT_SSID2 DUT_SSID3 -# DUT_PASSWD1 DUT_PASSWD2 DUT_PASSWD3 -# DUT_BSSID1 DUT_BSSID2 DUT_BSSID3 - -# Source config file -. test_bed_cfg.bash - -echo "Top wlan-testing git commits.
" > ./tmp_gitlog.html
-git log -n 8 --oneline >> ./tmp_gitlog.html
-echo "
" >> ./tmp_gitlog.html - -NOTES_HTML=`pwd`/testbed_notes.html -GITLOG=`pwd`/tmp_gitlog.html - -if [ -d "../../../wlan-ap" ] -then - DUTGITLOG=/tmp/${DUT_SW_VER}_dut_gitlog.html - echo "Top wlan-ap git commits.
" > $DUTGITLOG
-    (cd ../../../wlan-ap && git log -n 8 --oneline $DUT_SW_VER >> $DUTGITLOG && cd -)
-    echo "
" >> $DUTGITLOG - export DUTGITLOG -fi -export NOTES_HTML GITLOG - -# TODO: Copy config file to cloud controller and restart it -# and/or do other config to make it work. - -# Change to scripts dir -cd ../../lanforge/lanforge-scripts/gui - -# Where to place results. basic_regression.bash will use this variable. -RSLTS_DIR=/tmp/nola-${NOLA_NUM}-basic-regression -export RSLTS_DIR - -# Clean any existing data from the results dir -rm -fr $RSLTS_DIR - -# Run one test -# DEFAULT_ENABLE=0 DO_SHORT_AP_STABILITY_RESET=1 ./basic_regression.bash - -# Clean up old DHCP leases -../lf_gui_cmd.pl --manager $GMANAGER --port $GMPORT --cmd "cli clear_port_counters ALL ALL ALL dhcp_leases" - -# Run all tests -./basic_regression.bash - -cd - - -if [ ! -d $RSLTS_DIR ] -then - echo "Test did not run as expected, $RSLTS_DIR not found." - mkdir -p $RSLTS_DIR -fi - -if [ -f ${MY_TMPDIR}/basic_regression_log.txt ] -then - echo "Found ${MY_TMPDIR}/basic_regression_log.txt, moving into $RSLTS_DIR" - mv ${MY_TMPDIR}/basic_regression_log.txt $RSLTS_DIR/ -fi - -echo "See results in $RSLTS_DIR" diff --git a/testbeds/nola-basic-14/run_basic_fast.bash b/testbeds/nola-basic-14/run_basic_fast.bash deleted file mode 100755 index 1d85a73cd..000000000 --- a/testbeds/nola-basic-14/run_basic_fast.bash +++ /dev/null @@ -1,83 +0,0 @@ -#!/bin/bash - -# Example usage of this script -# DUT_SW_VER=my-build-id ./run_basic.bash -# -# Other DUT variables in test_bed_cfg.bash may also be over-ridden, -# including those below. See LANforge 'add_dut' CLI command for -# details on what these variables are for. - -# DUT_FLAGS DUT_FLAGS_MASK DUT_SW_VER DUT_HW_VER DUT_MODEL -# DUT_SERIAL DUT_SSID1 DUT_SSID2 DUT_SSID3 -# DUT_PASSWD1 DUT_PASSWD2 DUT_PASSWD3 -# DUT_BSSID1 DUT_BSSID2 DUT_BSSID3 - -#set -x - -DO_SHORT_AP_BASIC_CX=${DO_SHORT_AP_BASIC_CX:-1} -DO_WCT_BI=${DO_WCT_BI:-1} - -export DO_SHORT_AP_BASI_CX DO_WCT_BI - -# Source config file -. test_bed_cfg.bash - -echo "Top wlan-testing git commits.
" > ./tmp_gitlog.html
-git log -n 8 --oneline >> ./tmp_gitlog.html
-echo "
" >> ./tmp_gitlog.html - -NOTES_HTML=`pwd`/testbed_notes.html -GITLOG=`pwd`/tmp_gitlog.html - -if [ -d "../../../wlan-ap" ] -then - DUTGITLOG=/tmp/${DUT_SW_VER}_dut_gitlog.html - echo "Top wlan-ap git commits.
" > $DUTGITLOG
-    (cd ../../../wlan-ap && git log -n 8 --oneline $DUT_SW_VER >> $DUTGITLOG && cd -)
-    echo "
" >> $DUTGITLOG - export DUTGITLOG -fi -export NOTES_HTML GITLOG - -# TODO: Copy config file to cloud controller and restart it -# and/or do other config to make it work. - -# Change to scripts dir -cd ../../lanforge/lanforge-scripts/gui - -# Where to place results. basic_regression.bash will use this variable. -RSLTS_DIR=/tmp/nola-${NOLA_NUM}-basic-regression-fast -export RSLTS_DIR - -# Clean any existing data from the results dir -rm -fr $RSLTS_DIR - -# Clean up old DHCP leases -../lf_gui_cmd.pl --manager $GMANAGER --port $GMPORT --cmd "cli clear_port_counters ALL ALL ALL dhcp_leases" - -# Run a subset of available tests -# See 'Tests to run' comment in basic_regression.bash for available options. - -#DEFAULT_ENABLE=0 WCT_DURATION=20s DO_SHORT_AP_BASIC_CX=1 DO_WCT_BI=1 ./basic_regression.bash - -DEFAULT_ENABLE=0 WCT_DURATION=20s ./basic_regression.bash - - -# Run all tests -#./basic_regression.bash - -cd - - -if [ ! -d $RSLTS_DIR ] -then - echo "Test did not run as expected, $RSLTS_DIR not found." - mkdir -p $RSLTS_DIR -fi - -if [ -f ${MY_TMPDIR}/basic_regression_log.txt ] -then - echo "Found ${MY_TMPDIR}/basic_regression_log.txt, moving into $RSLTS_DIR" - mv ${MY_TMPDIR}/basic_regression_log.txt $RSLTS_DIR/ -fi - -echo "See results in $RSLTS_DIR" diff --git a/testbeds/nola-basic-14/scenario.txt b/testbeds/nola-basic-14/scenario.txt deleted file mode 100644 index d70e64875..000000000 --- a/testbeds/nola-basic-14/scenario.txt +++ /dev/null @@ -1,11 +0,0 @@ -profile_link 1.1 STA-AC 24 'DUT: TIP Radio-1' NA wiphy0,AUTO -1 -profile_link 1.1 STA-AC 24 'DUT: TIP Radio-2' NA wiphy1,AUTO -1 -profile_link 1.1 STA-AC 24 'DUT: TIP Radio-1' NA wiphy2,AUTO -1 -profile_link 1.1 STA-AC 24 'DUT: TIP Radio-2' NA wiphy3,AUTO -1 -profile_link 1.1 upstream-dhcp 1 NA NA eth2,AUTO -1 -profile_link 1.1 uplink-nat 1 'DUT: upstream LAN 10.28.2.1/24' NA eth3,eth2 -1 -profile_link 1.1 STA-AC 1 'DUT: TIP Radio-2' NA ALL-AX,AUTO -1 -dut ecw5410 393 148 -dut TIP 395 295 -dut upstream 306 62 -resource 1.1 132 218 diff --git a/testbeds/nola-basic-14/scenario_small.txt b/testbeds/nola-basic-14/scenario_small.txt deleted file mode 100644 index d70e64875..000000000 --- a/testbeds/nola-basic-14/scenario_small.txt +++ /dev/null @@ -1,11 +0,0 @@ -profile_link 1.1 STA-AC 24 'DUT: TIP Radio-1' NA wiphy0,AUTO -1 -profile_link 1.1 STA-AC 24 'DUT: TIP Radio-2' NA wiphy1,AUTO -1 -profile_link 1.1 STA-AC 24 'DUT: TIP Radio-1' NA wiphy2,AUTO -1 -profile_link 1.1 STA-AC 24 'DUT: TIP Radio-2' NA wiphy3,AUTO -1 -profile_link 1.1 upstream-dhcp 1 NA NA eth2,AUTO -1 -profile_link 1.1 uplink-nat 1 'DUT: upstream LAN 10.28.2.1/24' NA eth3,eth2 -1 -profile_link 1.1 STA-AC 1 'DUT: TIP Radio-2' NA ALL-AX,AUTO -1 -dut ecw5410 393 148 -dut TIP 395 295 -dut upstream 306 62 -resource 1.1 132 218 diff --git a/testbeds/nola-basic-14/test_bed_cfg.bash b/testbeds/nola-basic-14/test_bed_cfg.bash deleted file mode 100644 index 8b489978b..000000000 --- a/testbeds/nola-basic-14/test_bed_cfg.bash +++ /dev/null @@ -1,62 +0,0 @@ -# Example test-bed configuration - -# Scripts should source this file to set the default environment variables -# and then override the variables specific to their test case (and it can be done -# in opposite order for same results -# -# After the env variables are set, -# call the 'lanforge/lanforge-scripts/gui/basic_regression.bash' -# from the directory in which it resides. - -NOLA_NUM=14 - -PWD=`pwd` -AP_SERIAL=${AP_SERIAL:-/dev/ttyAP3} -LF_SERIAL=${LF_SERIAL:-/dev/ttyLF3} -LFPASSWD=${LFPASSWD:-lanforge} # Root password on LANforge machine -AP_AUTO_CFG_FILE=${AP_AUTO_CFG_FILE:-$PWD/ap-auto.txt} -WCT_CFG_FILE=${WCT_CFG_FILE:-$PWD/wct.txt} -DPT_CFG_FILE=${DPT_CFG_FILE:-$PWD/dpt-pkt-sz.txt} -SCENARIO_CFG_FILE=${SCENARIO_CFG_FILE:-$PWD/scenario.txt} - -# Default to enable cloud-sdk for this testbed, cloud-sdk is at IP addr below -#USE_CLOUD_SDK=${USE_CLOUD_SDK:-192.168.100.164} - -# LANforge target machine -LFMANAGER=${LFMANAGER:-lf14} - -# LANforge GUI machine (may often be same as target) -GMANAGER=${GMANAGER:-lf14} -GMPORT=${GMPORT:-3990} -MY_TMPDIR=${MY_TMPDIR:-/tmp} - -# Test configuration (10 minutes by default, in interest of time) -STABILITY_DURATION=${STABILITY_DURATION:-600} -TEST_RIG_ID=${TEST_RIG_ID:-NOLA-${NOLA_NUM}-Basic} - -# DUT configuration -DUT_FLAGS=${DUT_FLAGS:-0x22} # AP, WPA-PSK -#DUT_FLAGS=${DUT_FLAGS:-0x2} # AP, Open -DUT_FLAGS_MASK=${DUT_FLAGS_MASK:-0xFFFF} -DUT_SW_VER=${DUT_SW_VER:-OpenWrt-TIP} -DUT_HW_VER=EAP-102 -DUT_MODEL=EAP-102 -DUT_SERIAL=${DUT_SERIAL:-NA} -DUT_SSID1=${DUT_SSID1:-Default-SSID-2g} -DUT_SSID2=${DUT_SSID2:-Default-SSID-5gl} -DUT_PASSWD1=${DUT_PASSWD1:-12345678} -DUT_PASSWD2=${DUT_PASSWD2:-12345678} -# 2.4 radio -DUT_BSSID1=00:00:ea:92:01:03 -# 5Ghz radio -DUT_BSSID2=00:00:ea:D2:01:03 - -export LF_SERIAL AP_SERIAL LFPASSWD -export AP_AUTO_CFG_FILE WCT_CFG_FILE DPT_CFG_FILE SCENARIO_CFG_FILE -export LFMANAGER GMANAGER GMPORT MY_TMPDIR -export STABILITY_DURATION TEST_RIG_ID -export DUT_FLAGS DUT_FLAGS_MASK DUT_SW_VER DUT_HW_VER DUT_MODEL -export DUT_SERIAL DUT_SSID1 DUT_SSID2 DUT_SSID3 -export DUT_PASSWD1 DUT_PASSWD2 DUT_PASSWD3 -export DUT_BSSID1 DUT_BSSID2 DUT_BSSID3 -export USE_CLOUD_SDK diff --git a/testbeds/nola-basic-14/wct.txt b/testbeds/nola-basic-14/wct.txt deleted file mode 100644 index 321ac7c13..000000000 --- a/testbeds/nola-basic-14/wct.txt +++ /dev/null @@ -1,323 +0,0 @@ -[BLANK] -sel_port-0: 1.1.eth2 -sel_port-1: 1.1.sta00000 -sel_port-2: 1.1.sta00001 -sel_port-3: 1.1.sta00002 -sel_port-4: 1.1.sta00003 -sel_port-5: 1.1.sta00004 -sel_port-6: 1.1.sta00005 -sel_port-7: 1.1.sta00006 -sel_port-8: 1.1.sta00007 -sel_port-9: 1.1.sta00008 -sel_port-10: 1.1.sta00009 -sel_port-11: 1.1.sta00010 -sel_port-12: 1.1.sta00011 -sel_port-13: 1.1.sta00012 -sel_port-14: 1.1.sta00013 -sel_port-15: 1.1.sta00014 -sel_port-16: 1.1.sta00015 -sel_port-17: 1.1.sta00016 -sel_port-18: 1.1.sta00017 -sel_port-19: 1.1.sta00018 -sel_port-20: 1.1.sta00019 -sel_port-21: 1.1.sta00020 -sel_port-22: 1.1.sta00021 -sel_port-23: 1.1.sta00022 -sel_port-24: 1.1.sta00023 -sel_port-25: 1.1.sta00024 -sel_port-26: 1.1.sta00025 -sel_port-27: 1.1.sta00026 -sel_port-28: 1.1.sta00027 -sel_port-29: 1.1.sta00028 -sel_port-30: 1.1.sta00029 -sel_port-31: 1.1.sta00030 -sel_port-32: 1.1.sta00031 -sel_port-33: 1.1.sta00032 -sel_port-34: 1.1.sta00033 -sel_port-35: 1.1.sta00034 -sel_port-36: 1.1.sta00035 -sel_port-37: 1.1.sta00036 -sel_port-38: 1.1.sta00037 -sel_port-39: 1.1.sta00038 -sel_port-40: 1.1.sta00039 -sel_port-41: 1.1.sta00040 -sel_port-42: 1.1.sta00041 -sel_port-43: 1.1.sta00042 -sel_port-44: 1.1.sta00043 -sel_port-45: 1.1.sta00044 -sel_port-46: 1.1.sta00045 -sel_port-47: 1.1.sta00046 -sel_port-48: 1.1.sta00047 -sel_port-49: 1.1.sta00048 -sel_port-50: 1.1.sta00049 -sel_port-51: 1.1.sta00050 -sel_port-52: 1.1.sta00051 -sel_port-53: 1.1.sta00052 -sel_port-54: 1.1.sta00053 -sel_port-55: 1.1.sta00054 -sel_port-56: 1.1.sta00055 -sel_port-57: 1.1.sta00056 -sel_port-58: 1.1.sta00057 -sel_port-59: 1.1.sta00058 -sel_port-60: 1.1.sta00059 -sel_port-61: 1.1.sta00060 -sel_port-62: 1.1.sta00061 -sel_port-63: 1.1.sta00062 -sel_port-64: 1.1.sta00063 -sel_port-65: 1.1.sta00500 -sel_port-66: 1.1.sta00501 -sel_port-67: 1.1.sta00502 -sel_port-68: 1.1.sta00503 -sel_port-69: 1.1.sta00504 -sel_port-70: 1.1.sta00505 -sel_port-71: 1.1.sta00506 -sel_port-72: 1.1.sta00507 -sel_port-73: 1.1.sta00508 -sel_port-74: 1.1.sta00509 -sel_port-75: 1.1.sta00510 -sel_port-76: 1.1.sta00511 -sel_port-77: 1.1.sta00512 -sel_port-78: 1.1.sta00513 -sel_port-79: 1.1.sta00514 -sel_port-80: 1.1.sta00515 -sel_port-81: 1.1.sta00516 -sel_port-82: 1.1.sta00517 -sel_port-83: 1.1.sta00518 -sel_port-84: 1.1.sta00519 -sel_port-85: 1.1.sta00520 -sel_port-86: 1.1.sta00521 -sel_port-87: 1.1.sta00522 -sel_port-88: 1.1.sta00523 -sel_port-89: 1.1.sta00524 -sel_port-90: 1.1.sta00525 -sel_port-91: 1.1.sta00526 -sel_port-92: 1.1.sta00527 -sel_port-93: 1.1.sta00528 -sel_port-94: 1.1.sta00529 -sel_port-95: 1.1.sta00530 -sel_port-96: 1.1.sta00531 -sel_port-97: 1.1.sta00532 -sel_port-98: 1.1.sta00533 -sel_port-99: 1.1.sta00534 -sel_port-100: 1.1.sta00535 -sel_port-101: 1.1.sta00536 -sel_port-102: 1.1.sta00537 -sel_port-103: 1.1.sta00538 -sel_port-104: 1.1.sta00539 -sel_port-105: 1.1.sta00540 -sel_port-106: 1.1.sta00541 -sel_port-107: 1.1.sta00542 -sel_port-108: 1.1.sta00543 -sel_port-109: 1.1.sta00544 -sel_port-110: 1.1.sta00545 -sel_port-111: 1.1.sta00546 -sel_port-112: 1.1.sta00547 -sel_port-113: 1.1.sta00548 -sel_port-114: 1.1.sta00549 -sel_port-115: 1.1.sta00550 -sel_port-116: 1.1.sta00551 -sel_port-117: 1.1.sta00552 -sel_port-118: 1.1.sta00553 -sel_port-119: 1.1.sta00554 -sel_port-120: 1.1.sta00555 -sel_port-121: 1.1.sta00556 -sel_port-122: 1.1.sta00557 -sel_port-123: 1.1.sta00558 -sel_port-124: 1.1.sta00559 -sel_port-125: 1.1.sta00560 -sel_port-126: 1.1.sta00561 -sel_port-127: 1.1.sta00562 -sel_port-128: 1.1.sta00563 -sel_port-129: 1.1.sta04000 -sel_port-130: 1.1.sta04001 -sel_port-131: 1.1.sta04002 -sel_port-132: 1.1.sta04003 -sel_port-133: 1.1.sta04004 -sel_port-134: 1.1.sta04005 -sel_port-135: 1.1.sta04006 -sel_port-136: 1.1.sta04007 -sel_port-137: 1.1.sta04008 -sel_port-138: 1.1.sta04009 -sel_port-139: 1.1.sta04010 -sel_port-140: 1.1.sta04011 -sel_port-141: 1.1.sta04012 -sel_port-142: 1.1.sta04013 -sel_port-143: 1.1.sta04014 -sel_port-144: 1.1.sta04015 -sel_port-145: 1.1.sta04016 -sel_port-146: 1.1.sta04017 -sel_port-147: 1.1.sta04018 -sel_port-148: 1.1.sta04019 -sel_port-149: 1.1.sta04020 -sel_port-150: 1.1.sta04021 -sel_port-151: 1.1.sta04022 -sel_port-152: 1.1.sta04023 -sel_port-153: 1.1.sta04024 -sel_port-154: 1.1.sta04025 -sel_port-155: 1.1.sta04026 -sel_port-156: 1.1.sta04027 -sel_port-157: 1.1.sta04028 -sel_port-158: 1.1.sta04029 -sel_port-159: 1.1.sta04030 -sel_port-160: 1.1.sta04031 -sel_port-161: 1.1.sta04032 -sel_port-162: 1.1.sta04033 -sel_port-163: 1.1.sta04034 -sel_port-164: 1.1.sta04035 -sel_port-165: 1.1.sta04036 -sel_port-166: 1.1.sta04037 -sel_port-167: 1.1.sta04038 -sel_port-168: 1.1.sta04039 -sel_port-169: 1.1.sta04040 -sel_port-170: 1.1.sta04041 -sel_port-171: 1.1.sta04042 -sel_port-172: 1.1.sta04043 -sel_port-173: 1.1.sta04044 -sel_port-174: 1.1.sta04045 -sel_port-175: 1.1.sta04046 -sel_port-176: 1.1.sta04047 -sel_port-177: 1.1.sta04048 -sel_port-178: 1.1.sta04049 -sel_port-179: 1.1.sta04050 -sel_port-180: 1.1.sta04051 -sel_port-181: 1.1.sta04052 -sel_port-182: 1.1.sta04053 -sel_port-183: 1.1.sta04054 -sel_port-184: 1.1.sta04055 -sel_port-185: 1.1.sta04056 -sel_port-186: 1.1.sta04057 -sel_port-187: 1.1.sta04058 -sel_port-188: 1.1.sta04059 -sel_port-189: 1.1.sta04060 -sel_port-190: 1.1.sta04061 -sel_port-191: 1.1.sta04062 -sel_port-192: 1.1.sta04063 -sel_port-193: 1.1.sta04500 -sel_port-194: 1.1.sta04501 -sel_port-195: 1.1.sta04502 -sel_port-196: 1.1.sta04503 -sel_port-197: 1.1.sta04504 -sel_port-198: 1.1.sta04505 -sel_port-199: 1.1.sta04506 -sel_port-200: 1.1.sta04507 -sel_port-201: 1.1.sta04508 -sel_port-202: 1.1.sta04509 -sel_port-203: 1.1.sta04510 -sel_port-204: 1.1.sta04511 -sel_port-205: 1.1.sta04512 -sel_port-206: 1.1.sta04513 -sel_port-207: 1.1.sta04514 -sel_port-208: 1.1.sta04515 -sel_port-209: 1.1.sta04516 -sel_port-210: 1.1.sta04517 -sel_port-211: 1.1.sta04518 -sel_port-212: 1.1.sta04519 -sel_port-213: 1.1.sta04520 -sel_port-214: 1.1.sta04521 -sel_port-215: 1.1.sta04522 -sel_port-216: 1.1.sta04523 -sel_port-217: 1.1.sta04524 -sel_port-218: 1.1.sta04525 -sel_port-219: 1.1.sta04526 -sel_port-220: 1.1.sta04527 -sel_port-221: 1.1.sta04528 -sel_port-222: 1.1.sta04529 -sel_port-223: 1.1.sta04530 -sel_port-224: 1.1.sta04531 -sel_port-225: 1.1.sta04532 -sel_port-226: 1.1.sta04533 -sel_port-227: 1.1.sta04534 -sel_port-228: 1.1.sta04535 -sel_port-229: 1.1.sta04536 -sel_port-230: 1.1.sta04537 -sel_port-231: 1.1.sta04538 -sel_port-232: 1.1.sta04539 -sel_port-233: 1.1.sta04540 -sel_port-234: 1.1.sta04541 -sel_port-235: 1.1.sta04542 -sel_port-236: 1.1.sta04543 -sel_port-237: 1.1.sta04544 -sel_port-238: 1.1.sta04545 -sel_port-239: 1.1.sta04546 -sel_port-240: 1.1.sta04547 -sel_port-241: 1.1.sta04548 -sel_port-242: 1.1.sta04549 -sel_port-243: 1.1.sta04550 -sel_port-244: 1.1.sta04551 -sel_port-245: 1.1.sta04552 -sel_port-246: 1.1.sta04553 -sel_port-247: 1.1.sta04554 -sel_port-248: 1.1.sta04555 -sel_port-249: 1.1.sta04556 -sel_port-250: 1.1.sta04557 -sel_port-251: 1.1.sta04558 -sel_port-252: 1.1.sta04559 -sel_port-253: 1.1.sta04560 -sel_port-254: 1.1.sta04561 -sel_port-255: 1.1.sta04562 -sel_port-256: 1.1.sta04563 -sel_port-257: 1.1.wlan4 -sel_port-258: 1.1.wlan5 -sel_port-259: 1.1.wlan6 -sel_port-260: 1.1.wlan7 -show_events: 1 -show_log: 0 -port_sorting: 2 -kpi_id: WiFi Capacity -bg: 0xE0ECF8 -test_rig: -show_scan: 1 -auto_helper: 1 -skip_2: 0 -skip_5: 0 -batch_size: 1,5,10,20,40,80 -loop_iter: 1 -duration: 30000 -test_groups: 0 -test_groups_subset: 0 -protocol: TCP-IPv4 -dl_rate_sel: Total Download Rate: -dl_rate: 1000000000 -ul_rate_sel: Total Upload Rate: -ul_rate: 1000000000 -prcnt_tcp: 100000 -l4_endp: -pdu_sz: -1 -mss_sel: 1 -sock_buffer: 0 -ip_tos: 0 -multi_conn: -1 -min_speed: -1 -ps_interval: 60-second Running Average -fairness: 0 -naptime: 0 -before_clear: 5000 -rpt_timer: 1000 -try_lower: 0 -rnd_rate: 1 -leave_ports_up: 0 -down_quiesce: 0 -udp_nat: 1 -record_other_ssids: 0 -clear_reset_counters: 0 -do_pf: 0 -pf_min_period_dl: 128000 -pf_min_period_ul: 0 -pf_max_reconnects: 0 -use_mix_pdu: 0 -pdu_prcnt_pps: 1 -pdu_prcnt_bps: 0 -pdu_mix_ln-0: -show_scan: 1 -show_golden_3p: 0 -save_csv: 0 -show_realtime: 1 -show_pie: 1 -show_per_loop_totals: 1 -show_cx_time: 1 -show_dhcp: 1 -show_anqp: 1 -show_4way: 1 -show_latency: 1 - - diff --git a/testbeds/nola-basic-15/NOTES.txt b/testbeds/nola-basic-15/NOTES.txt deleted file mode 100644 index 7a1412587..000000000 --- a/testbeds/nola-basic-15/NOTES.txt +++ /dev/null @@ -1 +0,0 @@ -DUT is an Edge-Core 5410 wifi-5, running TIP OpenWrt. diff --git a/testbeds/nola-basic-15/OpenWrt-overlay/etc/config/bugcheck b/testbeds/nola-basic-15/OpenWrt-overlay/etc/config/bugcheck deleted file mode 100644 index b138a6fad..000000000 --- a/testbeds/nola-basic-15/OpenWrt-overlay/etc/config/bugcheck +++ /dev/null @@ -1,2 +0,0 @@ -DO_BUGCHECK=1 -export DO_BUGCHECK diff --git a/testbeds/nola-basic-15/OpenWrt-overlay/etc/config/wireless b/testbeds/nola-basic-15/OpenWrt-overlay/etc/config/wireless deleted file mode 100644 index 20cf5293b..000000000 --- a/testbeds/nola-basic-15/OpenWrt-overlay/etc/config/wireless +++ /dev/null @@ -1,32 +0,0 @@ -config wifi-device 'radio0' - option type 'mac80211' - option channel '36' - option hwmode '11a' - option path 'soc/1b700000.pci/pci0001:00/0001:00:00.0/0001:01:00.0' - option htmode 'VHT80' - option disabled '0' - -config wifi-iface 'default_radio0' - option device 'radio0' - option network 'lan' - option mode 'ap' - option ssid 'Default-SSID-5gl' - option encryption 'psk-mixed' - option key '12345678' - -config wifi-device 'radio1' - option type 'mac80211' - option channel '11' - option hwmode '11g' - option path 'soc/1b900000.pci/pci0002:00/0002:00:00.0/0002:01:00.0' - option htmode 'HT20' - option disabled '0' - -config wifi-iface 'default_radio1' - option device 'radio1' - option network 'lan' - option mode 'ap' - option ssid 'Default-SSID-2g' - option encryption 'psk-mixed' - option key '12345678' - diff --git a/testbeds/nola-basic-15/ap-auto.txt b/testbeds/nola-basic-15/ap-auto.txt deleted file mode 100644 index 71769a40e..000000000 --- a/testbeds/nola-basic-15/ap-auto.txt +++ /dev/null @@ -1,111 +0,0 @@ -[BLANK] -sel_port-0: 1.1.sta00500 -show_events: 1 -show_log: 0 -port_sorting: 0 -kpi_id: AP Auto -bg: 0xE0ECF8 -test_rig: -show_scan: 1 -auto_helper: 1 -skip_2: 1 -skip_5: 1 -dut5b-0: NA -dut5-0: TIP Default-SSID-5gl -dut2-0: TIP Default-SSID-2g -dut5b-1: NA -dut5-1: NA -dut2-1: NA -dut5b-2: NA -dut5-2: NA -dut2-2: NA -spatial_streams: AUTO -bandw_options: AUTO -modes: Auto -upstream_port: 1.1.2 eth2 -operator: -mconn: 1 -tos: 0 -vid_buf: 1000000 -vid_speed: 700000 -reset_stall_thresh_udp_dl: 9600 -reset_stall_thresh_udp_ul: 9600 -reset_stall_thresh_tcp_dl: 9600 -reset_stall_thresh_tcp_ul: 9600 -reset_stall_thresh_l4: 100000 -reset_stall_thresh_voip: 20000 -stab_udp_dl_min: 56000 -stab_udp_dl_max: 0 -stab_udp_ul_min: 56000 -stab_udp_ul_max: 0 -stab_tcp_dl_min: 500000 -stab_tcp_dl_max: 0 -stab_tcp_ul_min: 500000 -stab_tcp_ul_max: 0 -dl_speed: 85% -ul_speed: 85% -max_stations_2: 129 -max_stations_5: 131 -max_stations_dual: 260 -lt_sta: 2 -voip_calls: 0 -lt_dur: 3600 -reset_dur: 600 -lt_gi: 30 -dur20: 20 -hunt_retries: 1 -cap_dl: 1 -cap_ul: 0 -cap_use_pkt_sizes: 0 -stability_reset_radios: 0 -pkt_loss_thresh: 10000 -frame_sizes: 200, 512, 1024, MTU -capacities: 1, 2, 5, 10, 20, 40, 64, 128, 256, 512, 1024, MAX -radio2-0: 1.1.4 wiphy0 -radio2-1: 1.1.0 wiphy2 -radio2-2: 1.1.0 wiphy4 -radio5-0: 1.1.5 wiphy3 -radio5-1: 1.1.7 wiphy5 -radio5-2: 1.1.9 wiphy6 -radio5-3: 1.1.9 wiphy7 -radio5-4: 1.1.0 wiphy1 -radio5-5: -basic_cx: 1 -tput: 0 -dual_band_tput: 0 -capacity: 0 -longterm: 0 -mix_stability: 0 -loop_iter: 1 -reset_batch_size: 1 -reset_duration_min: 10000 -reset_duration_max: 60000 - -# Configure pass/fail metrics for this testbed. -pf_text0: 2.4 DL 200 70Mbps -pf_text1: 2.4 DL 512 110Mbps -pf_text2: 2.4 DL 1024 115Mbps -pf_text3: 2.4 DL MTU 120Mbps -pf_text4: -pf_text5: 2.4 UL 200 88Mbps -pf_text6: 2.4 UL 512 106Mbps -pf_text7: 2.4 UL 1024 115Mbps -pf_text8: 2.4 UL MTU 120Mbps -pf_text9: -pf_text10: 5 DL 200 72Mbps -pf_text11: 5 DL 512 185Mbps -pf_text12: 5 DL 1024 370Mbps -pf_text13: 5 DL MTU 525Mbps -pf_text14: -pf_text15: 5 UL 200 90Mbps -pf_text16: 5 UL 512 230Mbps -pf_text17: 5 UL 1024 450Mbps -pf_text18: 5 UL MTU 630Mbps - -# Tune connect-time thresholds. -cx_prcnt: 950000 -cx_open_thresh: 35 -cx_psk_thresh: 75 -cx_1x_thresh: 130 - - diff --git a/testbeds/nola-basic-15/dpt-pkt-sz.txt b/testbeds/nola-basic-15/dpt-pkt-sz.txt deleted file mode 100644 index 670fb0c2b..000000000 --- a/testbeds/nola-basic-15/dpt-pkt-sz.txt +++ /dev/null @@ -1,55 +0,0 @@ -[BLANK] -show_events: 1 -show_log: 0 -port_sorting: 0 -kpi_id: Dataplane -bg: 0xE0ECF8 -test_rig: -show_scan: 1 -auto_helper: 0 -skip_2: 0 -skip_5: 0 -selected_dut: TIP -duration: 15000 -traffic_port: 1.1.136 sta00500 -upstream_port: 1.1.2 eth2 -path_loss: 10 -speed: 85% -speed2: 0Kbps -min_rssi_bound: -150 -max_rssi_bound: 0 -channels: AUTO -modes: Auto -pkts: 60;142;256;512;1024;MTU;4000 -spatial_streams: AUTO -security_options: AUTO -bandw_options: AUTO -traffic_types: UDP -directions: DUT Transmit;DUT Receive -txo_preamble: OFDM -txo_mcs: 0 CCK, OFDM, HT, VHT -txo_retries: No Retry -txo_sgi: OFF -txo_txpower: 15 -attenuator: 0 -attenuator2: 0 -attenuator_mod: 255 -attenuator_mod2: 255 -attenuations: 0..+50..950 -attenuations2: 0..+50..950 -chamber: 0 -tt_deg: 0..+45..359 -cust_pkt_sz: -show_3s: 0 -show_ll_graphs: 1 -show_gp_graphs: 1 -show_1m: 1 -pause_iter: 0 -show_realtime: 1 -operator: -mconn: 1 -mpkt: 1000 -tos: 0 -loop_iterations: 1 - - diff --git a/testbeds/nola-basic-15/run_basic.bash b/testbeds/nola-basic-15/run_basic.bash deleted file mode 100755 index 7d88ff44d..000000000 --- a/testbeds/nola-basic-15/run_basic.bash +++ /dev/null @@ -1,71 +0,0 @@ -#!/bin/bash - -# Example usage of this script -# DUT_SW_VER=my-build-id ./run_basic.bash -# -# Other DUT variables in test_bed_cfg.bash may also be over-ridden, -# including those below. See LANforge 'add_dut' CLI command for -# details on what these variables are for. - -# DUT_FLAGS DUT_FLAGS_MASK DUT_SW_VER DUT_HW_VER DUT_MODEL -# DUT_SERIAL DUT_SSID1 DUT_SSID2 DUT_SSID3 -# DUT_PASSWD1 DUT_PASSWD2 DUT_PASSWD3 -# DUT_BSSID1 DUT_BSSID2 DUT_BSSID3 - -# Source config file -. test_bed_cfg.bash - -echo "Top wlan-testing git commits.
" > ./tmp_gitlog.html
-git log -n 8 --oneline >> ./tmp_gitlog.html
-echo "
" >> ./tmp_gitlog.html - -NOTES_HTML=`pwd`/testbed_notes.html -GITLOG=`pwd`/tmp_gitlog.html - -if [ -d "../../../wlan-ap" ] -then - DUTGITLOG=/tmp/${DUT_SW_VER}_dut_gitlog.html - echo "Top wlan-ap git commits.
" > $DUTGITLOG
-    (cd ../../../wlan-ap && git log -n 8 --oneline $DUT_SW_VER >> $DUTGITLOG && cd -)
-    echo "
" >> $DUTGITLOG - export DUTGITLOG -fi -export NOTES_HTML GITLOG - -# TODO: Copy config file to cloud controller and restart it -# and/or do other config to make it work. - -# Change to scripts dir -cd ../../lanforge/lanforge-scripts/gui - -# Where to place results. basic_regression.bash will use this variable. -RSLTS_DIR=/tmp/nola-${NOLA_NUM}-basic-regression -export RSLTS_DIR - -# Clean any existing data from the results dir -rm -fr $RSLTS_DIR - -# Run one test -# DEFAULT_ENABLE=0 DO_SHORT_AP_STABILITY_RESET=1 ./basic_regression.bash - -# Clean up old DHCP leases -../lf_gui_cmd.pl --manager $GMANAGER --port $GMPORT --cmd "cli clear_port_counters ALL ALL ALL dhcp_leases" - -# Run all tests -./basic_regression.bash - -cd - - -if [ ! -d $RSLTS_DIR ] -then - echo "Test did not run as expected, $RSLTS_DIR not found." - mkdir -p $RSLTS_DIR -fi - -if [ -f ${MY_TMPDIR}/basic_regression_log.txt ] -then - echo "Found ${MY_TMPDIR}/basic_regression_log.txt, moving into $RSLTS_DIR" - mv ${MY_TMPDIR}/basic_regression_log.txt $RSLTS_DIR/ -fi - -echo "See results in $RSLTS_DIR" diff --git a/testbeds/nola-basic-15/run_basic_fast.bash b/testbeds/nola-basic-15/run_basic_fast.bash deleted file mode 100755 index 1d85a73cd..000000000 --- a/testbeds/nola-basic-15/run_basic_fast.bash +++ /dev/null @@ -1,83 +0,0 @@ -#!/bin/bash - -# Example usage of this script -# DUT_SW_VER=my-build-id ./run_basic.bash -# -# Other DUT variables in test_bed_cfg.bash may also be over-ridden, -# including those below. See LANforge 'add_dut' CLI command for -# details on what these variables are for. - -# DUT_FLAGS DUT_FLAGS_MASK DUT_SW_VER DUT_HW_VER DUT_MODEL -# DUT_SERIAL DUT_SSID1 DUT_SSID2 DUT_SSID3 -# DUT_PASSWD1 DUT_PASSWD2 DUT_PASSWD3 -# DUT_BSSID1 DUT_BSSID2 DUT_BSSID3 - -#set -x - -DO_SHORT_AP_BASIC_CX=${DO_SHORT_AP_BASIC_CX:-1} -DO_WCT_BI=${DO_WCT_BI:-1} - -export DO_SHORT_AP_BASI_CX DO_WCT_BI - -# Source config file -. test_bed_cfg.bash - -echo "Top wlan-testing git commits.
" > ./tmp_gitlog.html
-git log -n 8 --oneline >> ./tmp_gitlog.html
-echo "
" >> ./tmp_gitlog.html - -NOTES_HTML=`pwd`/testbed_notes.html -GITLOG=`pwd`/tmp_gitlog.html - -if [ -d "../../../wlan-ap" ] -then - DUTGITLOG=/tmp/${DUT_SW_VER}_dut_gitlog.html - echo "Top wlan-ap git commits.
" > $DUTGITLOG
-    (cd ../../../wlan-ap && git log -n 8 --oneline $DUT_SW_VER >> $DUTGITLOG && cd -)
-    echo "
" >> $DUTGITLOG - export DUTGITLOG -fi -export NOTES_HTML GITLOG - -# TODO: Copy config file to cloud controller and restart it -# and/or do other config to make it work. - -# Change to scripts dir -cd ../../lanforge/lanforge-scripts/gui - -# Where to place results. basic_regression.bash will use this variable. -RSLTS_DIR=/tmp/nola-${NOLA_NUM}-basic-regression-fast -export RSLTS_DIR - -# Clean any existing data from the results dir -rm -fr $RSLTS_DIR - -# Clean up old DHCP leases -../lf_gui_cmd.pl --manager $GMANAGER --port $GMPORT --cmd "cli clear_port_counters ALL ALL ALL dhcp_leases" - -# Run a subset of available tests -# See 'Tests to run' comment in basic_regression.bash for available options. - -#DEFAULT_ENABLE=0 WCT_DURATION=20s DO_SHORT_AP_BASIC_CX=1 DO_WCT_BI=1 ./basic_regression.bash - -DEFAULT_ENABLE=0 WCT_DURATION=20s ./basic_regression.bash - - -# Run all tests -#./basic_regression.bash - -cd - - -if [ ! -d $RSLTS_DIR ] -then - echo "Test did not run as expected, $RSLTS_DIR not found." - mkdir -p $RSLTS_DIR -fi - -if [ -f ${MY_TMPDIR}/basic_regression_log.txt ] -then - echo "Found ${MY_TMPDIR}/basic_regression_log.txt, moving into $RSLTS_DIR" - mv ${MY_TMPDIR}/basic_regression_log.txt $RSLTS_DIR/ -fi - -echo "See results in $RSLTS_DIR" diff --git a/testbeds/nola-basic-15/scenario.txt b/testbeds/nola-basic-15/scenario.txt deleted file mode 100644 index bde6a131d..000000000 --- a/testbeds/nola-basic-15/scenario.txt +++ /dev/null @@ -1,11 +0,0 @@ -profile_link 1.1 STA-AC 64 'DUT: TIP Radio-1' NA wiphy0,AUTO -1 -profile_link 1.1 STA-AC 64 'DUT: TIP Radio-2' NA wiphy1,AUTO -1 -profile_link 1.1 STA-AC 64 'DUT: TIP Radio-1' NA wiphy2,AUTO -1 -profile_link 1.1 STA-AC 64 'DUT: TIP Radio-2' NA wiphy3,AUTO -1 -profile_link 1.1 upstream-dhcp 1 NA NA eth2,AUTO -1 -profile_link 1.1 uplink-nat 1 'DUT: upstream LAN 10.28.2.1/24' NA eth3,eth2 -1 -profile_link 1.1 STA-AC 1 'DUT: TIP Radio-2' NA ALL-AX,AUTO -1 -dut ecw5410 393 148 -dut TIP 395 295 -dut upstream 306 62 -resource 1.1 132 218 diff --git a/testbeds/nola-basic-15/scenario_small.txt b/testbeds/nola-basic-15/scenario_small.txt deleted file mode 100644 index d70e64875..000000000 --- a/testbeds/nola-basic-15/scenario_small.txt +++ /dev/null @@ -1,11 +0,0 @@ -profile_link 1.1 STA-AC 24 'DUT: TIP Radio-1' NA wiphy0,AUTO -1 -profile_link 1.1 STA-AC 24 'DUT: TIP Radio-2' NA wiphy1,AUTO -1 -profile_link 1.1 STA-AC 24 'DUT: TIP Radio-1' NA wiphy2,AUTO -1 -profile_link 1.1 STA-AC 24 'DUT: TIP Radio-2' NA wiphy3,AUTO -1 -profile_link 1.1 upstream-dhcp 1 NA NA eth2,AUTO -1 -profile_link 1.1 uplink-nat 1 'DUT: upstream LAN 10.28.2.1/24' NA eth3,eth2 -1 -profile_link 1.1 STA-AC 1 'DUT: TIP Radio-2' NA ALL-AX,AUTO -1 -dut ecw5410 393 148 -dut TIP 395 295 -dut upstream 306 62 -resource 1.1 132 218 diff --git a/testbeds/nola-basic-15/test_bed_cfg.bash b/testbeds/nola-basic-15/test_bed_cfg.bash deleted file mode 100644 index 0f1d4c61e..000000000 --- a/testbeds/nola-basic-15/test_bed_cfg.bash +++ /dev/null @@ -1,62 +0,0 @@ -# Example test-bed configuration - -# Scripts should source this file to set the default environment variables -# and then override the variables specific to their test case (and it can be done -# in opposite order for same results -# -# After the env variables are set, -# call the 'lanforge/lanforge-scripts/gui/basic_regression.bash' -# from the directory in which it resides. - -NOLA_NUM=15 - -PWD=`pwd` -AP_SERIAL=${AP_SERIAL:-/dev/ttyAP4} -LF_SERIAL=${LF_SERIAL:-/dev/ttyLF4} -LFPASSWD=${LFPASSWD:-lanforge} # Root password on LANforge machine -AP_AUTO_CFG_FILE=${AP_AUTO_CFG_FILE:-$PWD/ap-auto.txt} -WCT_CFG_FILE=${WCT_CFG_FILE:-$PWD/wct.txt} -DPT_CFG_FILE=${DPT_CFG_FILE:-$PWD/dpt-pkt-sz.txt} -SCENARIO_CFG_FILE=${SCENARIO_CFG_FILE:-$PWD/scenario.txt} - -# Default to enable cloud-sdk for this testbed, cloud-sdk is at IP addr below -#USE_CLOUD_SDK=${USE_CLOUD_SDK:-192.168.100.164} - -# LANforge target machine -LFMANAGER=${LFMANAGER:-lf15} - -# LANforge GUI machine (may often be same as target) -GMANAGER=${GMANAGER:-lf15} -GMPORT=${GMPORT:-3990} -MY_TMPDIR=${MY_TMPDIR:-/tmp} - -# Test configuration (10 minutes by default, in interest of time) -STABILITY_DURATION=${STABILITY_DURATION:-600} -TEST_RIG_ID=${TEST_RIG_ID:-NOLA-${NOLA_NUM}-Basic} - -# DUT configuration -DUT_FLAGS=${DUT_FLAGS:-0x22} # AP, WPA-PSK -#DUT_FLAGS=${DUT_FLAGS:-0x2} # AP, Open -DUT_FLAGS_MASK=${DUT_FLAGS_MASK:-0xFFFF} -DUT_SW_VER=${DUT_SW_VER:-OpenWrt-TIP} -DUT_HW_VER=ECW5410 -DUT_MODEL=ECW5410 -DUT_SERIAL=${DUT_SERIAL:-NA} -DUT_SSID1=${DUT_SSID1:-Default-SSID-2g} -DUT_SSID2=${DUT_SSID2:-Default-SSID-5gl} -DUT_PASSWD1=${DUT_PASSWD1:-12345678} -DUT_PASSWD2=${DUT_PASSWD2:-12345678} -# 2.4 radio -DUT_BSSID1=68:21:5F:D2:F7:25 -# 5Ghz radio -DUT_BSSID2=68:21:5F:D2:F7:26 - -export LF_SERIAL AP_SERIAL LFPASSWD -export AP_AUTO_CFG_FILE WCT_CFG_FILE DPT_CFG_FILE SCENARIO_CFG_FILE -export LFMANAGER GMANAGER GMPORT MY_TMPDIR -export STABILITY_DURATION TEST_RIG_ID -export DUT_FLAGS DUT_FLAGS_MASK DUT_SW_VER DUT_HW_VER DUT_MODEL -export DUT_SERIAL DUT_SSID1 DUT_SSID2 DUT_SSID3 -export DUT_PASSWD1 DUT_PASSWD2 DUT_PASSWD3 -export DUT_BSSID1 DUT_BSSID2 DUT_BSSID3 -export USE_CLOUD_SDK diff --git a/testbeds/nola-basic-15/wct.txt b/testbeds/nola-basic-15/wct.txt deleted file mode 100644 index 321ac7c13..000000000 --- a/testbeds/nola-basic-15/wct.txt +++ /dev/null @@ -1,323 +0,0 @@ -[BLANK] -sel_port-0: 1.1.eth2 -sel_port-1: 1.1.sta00000 -sel_port-2: 1.1.sta00001 -sel_port-3: 1.1.sta00002 -sel_port-4: 1.1.sta00003 -sel_port-5: 1.1.sta00004 -sel_port-6: 1.1.sta00005 -sel_port-7: 1.1.sta00006 -sel_port-8: 1.1.sta00007 -sel_port-9: 1.1.sta00008 -sel_port-10: 1.1.sta00009 -sel_port-11: 1.1.sta00010 -sel_port-12: 1.1.sta00011 -sel_port-13: 1.1.sta00012 -sel_port-14: 1.1.sta00013 -sel_port-15: 1.1.sta00014 -sel_port-16: 1.1.sta00015 -sel_port-17: 1.1.sta00016 -sel_port-18: 1.1.sta00017 -sel_port-19: 1.1.sta00018 -sel_port-20: 1.1.sta00019 -sel_port-21: 1.1.sta00020 -sel_port-22: 1.1.sta00021 -sel_port-23: 1.1.sta00022 -sel_port-24: 1.1.sta00023 -sel_port-25: 1.1.sta00024 -sel_port-26: 1.1.sta00025 -sel_port-27: 1.1.sta00026 -sel_port-28: 1.1.sta00027 -sel_port-29: 1.1.sta00028 -sel_port-30: 1.1.sta00029 -sel_port-31: 1.1.sta00030 -sel_port-32: 1.1.sta00031 -sel_port-33: 1.1.sta00032 -sel_port-34: 1.1.sta00033 -sel_port-35: 1.1.sta00034 -sel_port-36: 1.1.sta00035 -sel_port-37: 1.1.sta00036 -sel_port-38: 1.1.sta00037 -sel_port-39: 1.1.sta00038 -sel_port-40: 1.1.sta00039 -sel_port-41: 1.1.sta00040 -sel_port-42: 1.1.sta00041 -sel_port-43: 1.1.sta00042 -sel_port-44: 1.1.sta00043 -sel_port-45: 1.1.sta00044 -sel_port-46: 1.1.sta00045 -sel_port-47: 1.1.sta00046 -sel_port-48: 1.1.sta00047 -sel_port-49: 1.1.sta00048 -sel_port-50: 1.1.sta00049 -sel_port-51: 1.1.sta00050 -sel_port-52: 1.1.sta00051 -sel_port-53: 1.1.sta00052 -sel_port-54: 1.1.sta00053 -sel_port-55: 1.1.sta00054 -sel_port-56: 1.1.sta00055 -sel_port-57: 1.1.sta00056 -sel_port-58: 1.1.sta00057 -sel_port-59: 1.1.sta00058 -sel_port-60: 1.1.sta00059 -sel_port-61: 1.1.sta00060 -sel_port-62: 1.1.sta00061 -sel_port-63: 1.1.sta00062 -sel_port-64: 1.1.sta00063 -sel_port-65: 1.1.sta00500 -sel_port-66: 1.1.sta00501 -sel_port-67: 1.1.sta00502 -sel_port-68: 1.1.sta00503 -sel_port-69: 1.1.sta00504 -sel_port-70: 1.1.sta00505 -sel_port-71: 1.1.sta00506 -sel_port-72: 1.1.sta00507 -sel_port-73: 1.1.sta00508 -sel_port-74: 1.1.sta00509 -sel_port-75: 1.1.sta00510 -sel_port-76: 1.1.sta00511 -sel_port-77: 1.1.sta00512 -sel_port-78: 1.1.sta00513 -sel_port-79: 1.1.sta00514 -sel_port-80: 1.1.sta00515 -sel_port-81: 1.1.sta00516 -sel_port-82: 1.1.sta00517 -sel_port-83: 1.1.sta00518 -sel_port-84: 1.1.sta00519 -sel_port-85: 1.1.sta00520 -sel_port-86: 1.1.sta00521 -sel_port-87: 1.1.sta00522 -sel_port-88: 1.1.sta00523 -sel_port-89: 1.1.sta00524 -sel_port-90: 1.1.sta00525 -sel_port-91: 1.1.sta00526 -sel_port-92: 1.1.sta00527 -sel_port-93: 1.1.sta00528 -sel_port-94: 1.1.sta00529 -sel_port-95: 1.1.sta00530 -sel_port-96: 1.1.sta00531 -sel_port-97: 1.1.sta00532 -sel_port-98: 1.1.sta00533 -sel_port-99: 1.1.sta00534 -sel_port-100: 1.1.sta00535 -sel_port-101: 1.1.sta00536 -sel_port-102: 1.1.sta00537 -sel_port-103: 1.1.sta00538 -sel_port-104: 1.1.sta00539 -sel_port-105: 1.1.sta00540 -sel_port-106: 1.1.sta00541 -sel_port-107: 1.1.sta00542 -sel_port-108: 1.1.sta00543 -sel_port-109: 1.1.sta00544 -sel_port-110: 1.1.sta00545 -sel_port-111: 1.1.sta00546 -sel_port-112: 1.1.sta00547 -sel_port-113: 1.1.sta00548 -sel_port-114: 1.1.sta00549 -sel_port-115: 1.1.sta00550 -sel_port-116: 1.1.sta00551 -sel_port-117: 1.1.sta00552 -sel_port-118: 1.1.sta00553 -sel_port-119: 1.1.sta00554 -sel_port-120: 1.1.sta00555 -sel_port-121: 1.1.sta00556 -sel_port-122: 1.1.sta00557 -sel_port-123: 1.1.sta00558 -sel_port-124: 1.1.sta00559 -sel_port-125: 1.1.sta00560 -sel_port-126: 1.1.sta00561 -sel_port-127: 1.1.sta00562 -sel_port-128: 1.1.sta00563 -sel_port-129: 1.1.sta04000 -sel_port-130: 1.1.sta04001 -sel_port-131: 1.1.sta04002 -sel_port-132: 1.1.sta04003 -sel_port-133: 1.1.sta04004 -sel_port-134: 1.1.sta04005 -sel_port-135: 1.1.sta04006 -sel_port-136: 1.1.sta04007 -sel_port-137: 1.1.sta04008 -sel_port-138: 1.1.sta04009 -sel_port-139: 1.1.sta04010 -sel_port-140: 1.1.sta04011 -sel_port-141: 1.1.sta04012 -sel_port-142: 1.1.sta04013 -sel_port-143: 1.1.sta04014 -sel_port-144: 1.1.sta04015 -sel_port-145: 1.1.sta04016 -sel_port-146: 1.1.sta04017 -sel_port-147: 1.1.sta04018 -sel_port-148: 1.1.sta04019 -sel_port-149: 1.1.sta04020 -sel_port-150: 1.1.sta04021 -sel_port-151: 1.1.sta04022 -sel_port-152: 1.1.sta04023 -sel_port-153: 1.1.sta04024 -sel_port-154: 1.1.sta04025 -sel_port-155: 1.1.sta04026 -sel_port-156: 1.1.sta04027 -sel_port-157: 1.1.sta04028 -sel_port-158: 1.1.sta04029 -sel_port-159: 1.1.sta04030 -sel_port-160: 1.1.sta04031 -sel_port-161: 1.1.sta04032 -sel_port-162: 1.1.sta04033 -sel_port-163: 1.1.sta04034 -sel_port-164: 1.1.sta04035 -sel_port-165: 1.1.sta04036 -sel_port-166: 1.1.sta04037 -sel_port-167: 1.1.sta04038 -sel_port-168: 1.1.sta04039 -sel_port-169: 1.1.sta04040 -sel_port-170: 1.1.sta04041 -sel_port-171: 1.1.sta04042 -sel_port-172: 1.1.sta04043 -sel_port-173: 1.1.sta04044 -sel_port-174: 1.1.sta04045 -sel_port-175: 1.1.sta04046 -sel_port-176: 1.1.sta04047 -sel_port-177: 1.1.sta04048 -sel_port-178: 1.1.sta04049 -sel_port-179: 1.1.sta04050 -sel_port-180: 1.1.sta04051 -sel_port-181: 1.1.sta04052 -sel_port-182: 1.1.sta04053 -sel_port-183: 1.1.sta04054 -sel_port-184: 1.1.sta04055 -sel_port-185: 1.1.sta04056 -sel_port-186: 1.1.sta04057 -sel_port-187: 1.1.sta04058 -sel_port-188: 1.1.sta04059 -sel_port-189: 1.1.sta04060 -sel_port-190: 1.1.sta04061 -sel_port-191: 1.1.sta04062 -sel_port-192: 1.1.sta04063 -sel_port-193: 1.1.sta04500 -sel_port-194: 1.1.sta04501 -sel_port-195: 1.1.sta04502 -sel_port-196: 1.1.sta04503 -sel_port-197: 1.1.sta04504 -sel_port-198: 1.1.sta04505 -sel_port-199: 1.1.sta04506 -sel_port-200: 1.1.sta04507 -sel_port-201: 1.1.sta04508 -sel_port-202: 1.1.sta04509 -sel_port-203: 1.1.sta04510 -sel_port-204: 1.1.sta04511 -sel_port-205: 1.1.sta04512 -sel_port-206: 1.1.sta04513 -sel_port-207: 1.1.sta04514 -sel_port-208: 1.1.sta04515 -sel_port-209: 1.1.sta04516 -sel_port-210: 1.1.sta04517 -sel_port-211: 1.1.sta04518 -sel_port-212: 1.1.sta04519 -sel_port-213: 1.1.sta04520 -sel_port-214: 1.1.sta04521 -sel_port-215: 1.1.sta04522 -sel_port-216: 1.1.sta04523 -sel_port-217: 1.1.sta04524 -sel_port-218: 1.1.sta04525 -sel_port-219: 1.1.sta04526 -sel_port-220: 1.1.sta04527 -sel_port-221: 1.1.sta04528 -sel_port-222: 1.1.sta04529 -sel_port-223: 1.1.sta04530 -sel_port-224: 1.1.sta04531 -sel_port-225: 1.1.sta04532 -sel_port-226: 1.1.sta04533 -sel_port-227: 1.1.sta04534 -sel_port-228: 1.1.sta04535 -sel_port-229: 1.1.sta04536 -sel_port-230: 1.1.sta04537 -sel_port-231: 1.1.sta04538 -sel_port-232: 1.1.sta04539 -sel_port-233: 1.1.sta04540 -sel_port-234: 1.1.sta04541 -sel_port-235: 1.1.sta04542 -sel_port-236: 1.1.sta04543 -sel_port-237: 1.1.sta04544 -sel_port-238: 1.1.sta04545 -sel_port-239: 1.1.sta04546 -sel_port-240: 1.1.sta04547 -sel_port-241: 1.1.sta04548 -sel_port-242: 1.1.sta04549 -sel_port-243: 1.1.sta04550 -sel_port-244: 1.1.sta04551 -sel_port-245: 1.1.sta04552 -sel_port-246: 1.1.sta04553 -sel_port-247: 1.1.sta04554 -sel_port-248: 1.1.sta04555 -sel_port-249: 1.1.sta04556 -sel_port-250: 1.1.sta04557 -sel_port-251: 1.1.sta04558 -sel_port-252: 1.1.sta04559 -sel_port-253: 1.1.sta04560 -sel_port-254: 1.1.sta04561 -sel_port-255: 1.1.sta04562 -sel_port-256: 1.1.sta04563 -sel_port-257: 1.1.wlan4 -sel_port-258: 1.1.wlan5 -sel_port-259: 1.1.wlan6 -sel_port-260: 1.1.wlan7 -show_events: 1 -show_log: 0 -port_sorting: 2 -kpi_id: WiFi Capacity -bg: 0xE0ECF8 -test_rig: -show_scan: 1 -auto_helper: 1 -skip_2: 0 -skip_5: 0 -batch_size: 1,5,10,20,40,80 -loop_iter: 1 -duration: 30000 -test_groups: 0 -test_groups_subset: 0 -protocol: TCP-IPv4 -dl_rate_sel: Total Download Rate: -dl_rate: 1000000000 -ul_rate_sel: Total Upload Rate: -ul_rate: 1000000000 -prcnt_tcp: 100000 -l4_endp: -pdu_sz: -1 -mss_sel: 1 -sock_buffer: 0 -ip_tos: 0 -multi_conn: -1 -min_speed: -1 -ps_interval: 60-second Running Average -fairness: 0 -naptime: 0 -before_clear: 5000 -rpt_timer: 1000 -try_lower: 0 -rnd_rate: 1 -leave_ports_up: 0 -down_quiesce: 0 -udp_nat: 1 -record_other_ssids: 0 -clear_reset_counters: 0 -do_pf: 0 -pf_min_period_dl: 128000 -pf_min_period_ul: 0 -pf_max_reconnects: 0 -use_mix_pdu: 0 -pdu_prcnt_pps: 1 -pdu_prcnt_bps: 0 -pdu_mix_ln-0: -show_scan: 1 -show_golden_3p: 0 -save_csv: 0 -show_realtime: 1 -show_pie: 1 -show_per_loop_totals: 1 -show_cx_time: 1 -show_dhcp: 1 -show_anqp: 1 -show_4way: 1 -show_latency: 1 - - diff --git a/tests/README.md b/tests/README.md index 37105e14b..9c6b30de2 100644 --- a/tests/README.md +++ b/tests/README.md @@ -18,48 +18,89 @@ You can modify the ini options by using switch -o Following are the examples for Running Client Connectivity Test with different Combinations: # Run the sanity test in all modes across wpa, wpa2 and eap) - pytest -m sanity -s + pytest -m run -s # Run the sanity test in all modes except wpa2_enterprise) - pytest -m "sanity and not wpa2_enterprise" -s + pytest -m "run and not wpa2_enterprise" -s # Run the bridge test in all modes across wpa, wpa2 and eap) - pytest -m bridge -s + pytest -m "run and bridge" -s # Run the bridge test in all modes except wpa2_enterprise) - pytest -m "bridge and not wpa2_enterprise" -s + pytest -m "run and bridge and not wpa2_enterprise" -s # Run the nat test in all modes across wpa, wpa2 and eap) - pytest -m nat -s + pytest -m "run and nat" -s # Run the nat test in all modes except wpa2_enterprise) - pytest -m "nat and not wpa2_enterprise" -s + pytest -m "run and nat and not wpa2_enterprise" -s # Run the vlan test in all modes across wpa, wpa2 and eap) - pytest -m vlan -s + pytest -m "run and vlan" -s # Run the vlan test in all modes except wpa2_enterprise) - pytest -m "vlan and not wpa2_enterprise" -s + pytest -m "run and vlan and not wpa2_enterprise" -s Following are the examples for cloudSDK standalone tests - # Run cloud connection test, it executes the two tests, bearer and ping - pytest -m cloud -s + # Run cloud test to check sdk version + pytest -m sdk_version_check -s - # Run cloud connection test, gets the bearer - pytest -m bearer -s + # Run cloud test to create firmware on cloudsdk instance (currently using pending) + pytest -m firmware_create -s - # Run cloud connection test, pings the portal - pytest -m ping -s + # Run cloud test to upgrade the latest firmware on AP (currently using pending) + pytest -m firmware_upgrade -s - more to be added ... + All test cases can be executed individually as well as part of sanity work flow also Following are the examples for apnos standalone tests - To be added... + # Run ap test to see the manager state on AP using SSH + pytest -m ap_manager_state -s + + # Run ap test to see if the AP is in latest firmware + pytest -m check_active_firmware_ap -s Following are the examples for apnos+cloudsdk mixed tests - To be added... + # Run apnos and cloudsdk test to verify if profiles that are pushed from cloud are same on vif_config + pytest -m vif_config_test -s + # Run apnos and cloudsdk test to verify if profiles that are pushed from cloud are same on vif_config + pytest -m vif_state_test -s + + +##General Notes: + +Please enter your testrail userid and password inside pytest.ini to run the sanity with testrails + + # Modify the below fields in tests/pytest.ini + tr_user=shivam.thakur@candelatech.com + tr_pass=Something + +you can always skip the use of testrails by adding an option "--skip-testrail" + + # Run test cases without testrails + pytest -m ap_manager_state -s --skip-testrail + + +you can always control the number of clients for test cases by just adding a command line option + + # Run test cases with multiclient + pytest -m "run and bridge" -s --skip-testrail -o num_stations=5 + + +Modify the tests/configuration_data.py, according to the requirement +#### AP SSH info is wrapped up in APNOS Library in libs/apnos/apnos.py +the configuration_data.py has the data structure in the below format, + + APNOS_CREDENTIAL_DATA = { + 'ip': "192.168.200.80", + 'username': "lanforge", + 'password': "lanforge", + 'port': 22, + 'mode': 1 + } + # There are two modes, (mode:0, AP direct ssh mode, mode:1, Jumphost mode) \ No newline at end of file diff --git a/tests/ap_tests/test_apnos.py b/tests/ap_tests/test_apnos.py index da997f98e..3a506c5f1 100644 --- a/tests/ap_tests/test_apnos.py +++ b/tests/ap_tests/test_apnos.py @@ -48,6 +48,6 @@ class TestFirmwareAPNOS(object): status_id=4, msg='Cannot reach AP after upgrade to check CLI - re-test required') - assert status + assert check_ap_firmware_ssh == get_latest_firmware diff --git a/tests/client_connectivity/test_bridge_mode.py b/tests/client_connectivity/test_bridge_mode.py index 9b418b07c..8177abf15 100644 --- a/tests/client_connectivity/test_bridge_mode.py +++ b/tests/client_connectivity/test_bridge_mode.py @@ -28,8 +28,11 @@ class TestBridgeModeClientConnectivity(object): @pytest.mark.wpa @pytest.mark.twog - def test_single_client_wpa_2g(self, get_lanforge_data, setup_profile_data, instantiate_testrail, instantiate_project): + def test_client_wpa_2g(self, request, get_lanforge_data, setup_profile_data, instantiate_testrail, instantiate_project): profile_data = setup_profile_data["BRIDGE"]["WPA"]["2G"] + station_names = [] + for i in range(0, int(request.config.getini("num_stations"))): + station_names.append(get_lanforge_data["lanforge_2dot4g_prefix"] + "0" + str(i)) print(profile_data, get_lanforge_data) staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), debug_=False) @@ -41,7 +44,7 @@ class TestBridgeModeClientConnectivity(object): staConnect.dut_ssid = profile_data["ssid_name"] staConnect.dut_passwd = profile_data["security_key"] staConnect.dut_security = "wpa" - staConnect.station_names = [get_lanforge_data["lanforge_2dot4g_station"]] + staConnect.station_names = station_names staConnect.sta_prefix = get_lanforge_data["lanforge_2dot4g_prefix"] staConnect.runtime_secs = 10 staConnect.bringup_time_sec = 60 @@ -71,9 +74,11 @@ class TestBridgeModeClientConnectivity(object): @pytest.mark.wpa @pytest.mark.fiveg - def test_single_client_wpa_5g(self, get_lanforge_data, setup_profile_data, instantiate_project, instantiate_testrail): + def test_client_wpa_5g(self, request, get_lanforge_data, setup_profile_data, instantiate_project, instantiate_testrail): profile_data = setup_profile_data["BRIDGE"]["WPA"]["5G"] - print(profile_data, get_lanforge_data) + station_names = [] + for i in range(0, int(request.config.getini("num_stations"))): + station_names.append(get_lanforge_data["lanforge_5g_prefix"] + "0" + str(i)) staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), debug_=False) staConnect.sta_mode = 0 @@ -84,7 +89,7 @@ class TestBridgeModeClientConnectivity(object): staConnect.dut_ssid = profile_data["ssid_name"] staConnect.dut_passwd = profile_data["security_key"] staConnect.dut_security = "wpa" - staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] + staConnect.station_names = station_names staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] staConnect.runtime_secs = 10 staConnect.bringup_time_sec = 60 @@ -114,8 +119,11 @@ class TestBridgeModeClientConnectivity(object): @pytest.mark.wpa2_personal @pytest.mark.twog - def test_single_client_wpa2_personal_2g(self, get_lanforge_data, setup_profile_data, instantiate_project, instantiate_testrail): + def test_client_wpa2_personal_2g(self, request, get_lanforge_data, setup_profile_data, instantiate_project, instantiate_testrail): profile_data = setup_profile_data["BRIDGE"]["WPA2_P"]["2G"] + station_names = [] + for i in range(0, int(request.config.getini("num_stations"))): + station_names.append(get_lanforge_data["lanforge_2dot4g_prefix"] + "0" + str(i)) staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), debug_=False) staConnect.sta_mode = 0 @@ -126,7 +134,7 @@ class TestBridgeModeClientConnectivity(object): staConnect.dut_ssid = profile_data["ssid_name"] staConnect.dut_passwd = profile_data["security_key"] staConnect.dut_security = "wpa2" - staConnect.station_names = [get_lanforge_data["lanforge_2dot4g_station"]] + staConnect.station_names = station_names staConnect.sta_prefix = get_lanforge_data["lanforge_2dot4g_prefix"] staConnect.runtime_secs = 10 staConnect.bringup_time_sec = 60 @@ -156,8 +164,11 @@ class TestBridgeModeClientConnectivity(object): @pytest.mark.wpa2_personal @pytest.mark.fiveg - def test_single_client_wpa2_personal_5g(self, get_lanforge_data, setup_profile_data, instantiate_project, instantiate_testrail): + def test_client_wpa2_personal_5g(self, request, get_lanforge_data, setup_profile_data, instantiate_project, instantiate_testrail): profile_data = setup_profile_data["BRIDGE"]["WPA2_P"]["5G"] + station_names = [] + for i in range(0, int(request.config.getini("num_stations"))): + station_names.append(get_lanforge_data["lanforge_5g_prefix"] + "0" + str(i)) staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), debug_=False) staConnect.sta_mode = 0 @@ -168,7 +179,7 @@ class TestBridgeModeClientConnectivity(object): staConnect.dut_ssid = profile_data["ssid_name"] staConnect.dut_passwd = profile_data["security_key"] staConnect.dut_security = "wpa2" - staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] + staConnect.station_names = station_names staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] staConnect.runtime_secs = 10 staConnect.bringup_time_sec = 60 @@ -198,14 +209,17 @@ class TestBridgeModeClientConnectivity(object): @pytest.mark.wpa2_enterprise @pytest.mark.twog - def test_single_client_wpa2_enterprise_2g(self, get_lanforge_data, setup_profile_data, instantiate_project, instantiate_testrail): + def test_client_wpa2_enterprise_2g(self, request, get_lanforge_data, setup_profile_data, instantiate_project, instantiate_testrail): profile_data = setup_profile_data["BRIDGE"]["WPA2_E"]["2G"] + station_names = [] + for i in range(0, int(request.config.getini("num_stations"))): + station_names.append(get_lanforge_data["lanforge_2dot4g_prefix"] + "0" + str(i)) eap_connect = EAPConnect(get_lanforge_data["lanforge_ip"], get_lanforge_data["lanforge-port-number"]) eap_connect.upstream_resource = 1 eap_connect.upstream_port = get_lanforge_data["lanforge_bridge_port"] eap_connect.security = "wpa2" - eap_connect.sta_list = [get_lanforge_data["lanforge_2dot4g_station"]] - eap_connect.station_names = [get_lanforge_data["lanforge_2dot4g_station"]] + eap_connect.sta_list = station_names + eap_connect.station_names = station_names eap_connect.sta_prefix = get_lanforge_data["lanforge_2dot4g_prefix"] eap_connect.ssid = profile_data["ssid_name"] eap_connect.radio = get_lanforge_data["lanforge_2dot4g"] @@ -218,7 +232,11 @@ class TestBridgeModeClientConnectivity(object): print("napping %f sec" % eap_connect.runtime_secs) time.sleep(eap_connect.runtime_secs) eap_connect.stop() - eap_connect.cleanup() + try: + eap_connect.cleanup() + eap_connect.cleanup() + except: + pass run_results = eap_connect.get_result_list() for result in run_results: print("test result: " + result) @@ -238,14 +256,17 @@ class TestBridgeModeClientConnectivity(object): @pytest.mark.wpa2_enterprise @pytest.mark.fiveg - def test_single_client_wpa2_enterprise_5g(self, get_lanforge_data, setup_profile_data, instantiate_project, instantiate_testrail): + def test_client_wpa2_enterprise_5g(self, request, get_lanforge_data, setup_profile_data, instantiate_project, instantiate_testrail): profile_data = setup_profile_data["BRIDGE"]["WPA2_E"]["5G"] + station_names = [] + for i in range(0, int(request.config.getini("num_stations"))): + station_names.append(get_lanforge_data["lanforge_5g_prefix"] + "0" + str(i)) eap_connect = EAPConnect(get_lanforge_data["lanforge_ip"], get_lanforge_data["lanforge-port-number"]) eap_connect.upstream_resource = 1 eap_connect.upstream_port = get_lanforge_data["lanforge_bridge_port"] eap_connect.security = "wpa2" - eap_connect.sta_list = [get_lanforge_data["lanforge_5g_station"]] - eap_connect.station_names = [get_lanforge_data["lanforge_5g_station"]] + eap_connect.sta_list = station_names + eap_connect.station_names = station_names eap_connect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] eap_connect.ssid = profile_data["ssid_name"] eap_connect.radio = get_lanforge_data["lanforge_5g"] @@ -258,7 +279,11 @@ class TestBridgeModeClientConnectivity(object): print("napping %f sec" % eap_connect.runtime_secs) time.sleep(eap_connect.runtime_secs) eap_connect.stop() - eap_connect.cleanup() + try: + eap_connect.cleanup() + eap_connect.cleanup() + except: + pass run_results = eap_connect.get_result_list() for result in run_results: print("test result: " + result) @@ -274,3 +299,4 @@ class TestBridgeModeClientConnectivity(object): status_id=5, msg='5G WPA2 ENTERPRISE Client Connectivity Failed - bridge mode') assert eap_connect.passes() + diff --git a/tests/client_connectivity/test_nat_mode.py b/tests/client_connectivity/test_nat_mode.py index 13b84a7ea..0e8aa6061 100644 --- a/tests/client_connectivity/test_nat_mode.py +++ b/tests/client_connectivity/test_nat_mode.py @@ -28,8 +28,11 @@ class TestNatModeClientConnectivity(object): @pytest.mark.wpa @pytest.mark.twog - def test_single_client_wpa_2g(self, get_lanforge_data, setup_profile_data, instantiate_testrail, instantiate_project): + def test_client_wpa_2g(self, request, get_lanforge_data, setup_profile_data, instantiate_testrail, instantiate_project): profile_data = setup_profile_data["NAT"]["WPA"]["2G"] + station_names = [] + for i in range(0, int(request.config.getini("num_stations"))): + station_names.append(get_lanforge_data["lanforge_2dot4g_prefix"] + "0" + str(i)) print(profile_data, get_lanforge_data) staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), debug_=False) @@ -41,7 +44,7 @@ class TestNatModeClientConnectivity(object): staConnect.dut_ssid = profile_data["ssid_name"] staConnect.dut_passwd = profile_data["security_key"] staConnect.dut_security = "wpa" - staConnect.station_names = [get_lanforge_data["lanforge_2dot4g_station"]] + staConnect.station_names = station_names staConnect.sta_prefix = get_lanforge_data["lanforge_2dot4g_prefix"] staConnect.runtime_secs = 10 staConnect.bringup_time_sec = 60 @@ -67,13 +70,15 @@ class TestNatModeClientConnectivity(object): status_id=5, msg='2G WPA Client Connectivity Failed - nat mode') assert staConnect.passes() - + # C2420 @pytest.mark.wpa @pytest.mark.fiveg - def test_single_client_wpa_5g(self, get_lanforge_data, setup_profile_data, instantiate_project, instantiate_testrail): + def test_client_wpa_5g(self, request, get_lanforge_data, setup_profile_data, instantiate_project, instantiate_testrail): profile_data = setup_profile_data["NAT"]["WPA"]["5G"] - print(profile_data, get_lanforge_data) + station_names = [] + for i in range(0, int(request.config.getini("num_stations"))): + station_names.append(get_lanforge_data["lanforge_5g_prefix"] + "0" + str(i)) staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), debug_=False) staConnect.sta_mode = 0 @@ -84,7 +89,7 @@ class TestNatModeClientConnectivity(object): staConnect.dut_ssid = profile_data["ssid_name"] staConnect.dut_passwd = profile_data["security_key"] staConnect.dut_security = "wpa" - staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] + staConnect.station_names = station_names staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] staConnect.runtime_secs = 10 staConnect.bringup_time_sec = 60 @@ -114,8 +119,11 @@ class TestNatModeClientConnectivity(object): @pytest.mark.wpa2_personal @pytest.mark.twog - def test_single_client_wpa2_personal_2g(self, get_lanforge_data, setup_profile_data, instantiate_project, instantiate_testrail): + def test_client_wpa2_personal_2g(self, request, get_lanforge_data, setup_profile_data, instantiate_project, instantiate_testrail): profile_data = setup_profile_data["NAT"]["WPA2_P"]["2G"] + station_names = [] + for i in range(0, int(request.config.getini("num_stations"))): + station_names.append(get_lanforge_data["lanforge_2dot4g_prefix"] + "0" + str(i)) staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), debug_=False) staConnect.sta_mode = 0 @@ -126,7 +134,7 @@ class TestNatModeClientConnectivity(object): staConnect.dut_ssid = profile_data["ssid_name"] staConnect.dut_passwd = profile_data["security_key"] staConnect.dut_security = "wpa2" - staConnect.station_names = [get_lanforge_data["lanforge_2dot4g_station"]] + staConnect.station_names = station_names staConnect.sta_prefix = get_lanforge_data["lanforge_2dot4g_prefix"] staConnect.runtime_secs = 10 staConnect.bringup_time_sec = 60 @@ -156,8 +164,11 @@ class TestNatModeClientConnectivity(object): @pytest.mark.wpa2_personal @pytest.mark.fiveg - def test_single_client_wpa2_personal_5g(self, get_lanforge_data, setup_profile_data, instantiate_project, instantiate_testrail): + def test_client_wpa2_personal_5g(self, request, get_lanforge_data, setup_profile_data, instantiate_project, instantiate_testrail): profile_data = setup_profile_data["NAT"]["WPA2_P"]["5G"] + station_names = [] + for i in range(0, int(request.config.getini("num_stations"))): + station_names.append(get_lanforge_data["lanforge_5g_prefix"] + "0" + str(i)) staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), debug_=False) staConnect.sta_mode = 0 @@ -168,7 +179,7 @@ class TestNatModeClientConnectivity(object): staConnect.dut_ssid = profile_data["ssid_name"] staConnect.dut_passwd = profile_data["security_key"] staConnect.dut_security = "wpa2" - staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] + staConnect.station_names = station_names staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] staConnect.runtime_secs = 10 staConnect.bringup_time_sec = 60 @@ -198,14 +209,17 @@ class TestNatModeClientConnectivity(object): @pytest.mark.wpa2_enterprise @pytest.mark.twog - def test_single_client_wpa2_enterprise_2g(self, get_lanforge_data, setup_profile_data, instantiate_project, instantiate_testrail): + def test_client_wpa2_enterprise_2g(self, request, get_lanforge_data, setup_profile_data, instantiate_project, instantiate_testrail): profile_data = setup_profile_data["NAT"]["WPA2_E"]["2G"] + station_names = [] + for i in range(0, int(request.config.getini("num_stations"))): + station_names.append(get_lanforge_data["lanforge_2dot4g_prefix"] + "0" + str(i)) eap_connect = EAPConnect(get_lanforge_data["lanforge_ip"], get_lanforge_data["lanforge-port-number"]) eap_connect.upstream_resource = 1 eap_connect.upstream_port = get_lanforge_data["lanforge_bridge_port"] eap_connect.security = "wpa2" - eap_connect.sta_list = [get_lanforge_data["lanforge_2dot4g_station"]] - eap_connect.station_names = [get_lanforge_data["lanforge_2dot4g_station"]] + eap_connect.sta_list = station_names + eap_connect.station_names = station_names eap_connect.sta_prefix = get_lanforge_data["lanforge_2dot4g_prefix"] eap_connect.ssid = profile_data["ssid_name"] eap_connect.radio = get_lanforge_data["lanforge_2dot4g"] @@ -218,7 +232,11 @@ class TestNatModeClientConnectivity(object): print("napping %f sec" % eap_connect.runtime_secs) time.sleep(eap_connect.runtime_secs) eap_connect.stop() - eap_connect.cleanup() + try: + eap_connect.cleanup() + eap_connect.cleanup() + except: + pass run_results = eap_connect.get_result_list() for result in run_results: print("test result: " + result) @@ -238,14 +256,17 @@ class TestNatModeClientConnectivity(object): @pytest.mark.wpa2_enterprise @pytest.mark.fiveg - def test_single_client_wpa2_enterprise_5g(self, get_lanforge_data, setup_profile_data, instantiate_project, instantiate_testrail): + def test_client_wpa2_enterprise_5g(self, request, get_lanforge_data, setup_profile_data, instantiate_project, instantiate_testrail): profile_data = setup_profile_data["NAT"]["WPA2_E"]["5G"] + station_names = [] + for i in range(0, int(request.config.getini("num_stations"))): + station_names.append(get_lanforge_data["lanforge_5g_prefix"] + "0" + str(i)) eap_connect = EAPConnect(get_lanforge_data["lanforge_ip"], get_lanforge_data["lanforge-port-number"]) eap_connect.upstream_resource = 1 eap_connect.upstream_port = get_lanforge_data["lanforge_bridge_port"] eap_connect.security = "wpa2" - eap_connect.sta_list = [get_lanforge_data["lanforge_5g_station"]] - eap_connect.station_names = [get_lanforge_data["lanforge_5g_station"]] + eap_connect.sta_list = station_names + eap_connect.station_names = station_names eap_connect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] eap_connect.ssid = profile_data["ssid_name"] eap_connect.radio = get_lanforge_data["lanforge_5g"] @@ -258,7 +279,11 @@ class TestNatModeClientConnectivity(object): print("napping %f sec" % eap_connect.runtime_secs) time.sleep(eap_connect.runtime_secs) eap_connect.stop() - eap_connect.cleanup() + try: + eap_connect.cleanup() + eap_connect.cleanup() + except: + pass run_results = eap_connect.get_result_list() for result in run_results: print("test result: " + result) diff --git a/tests/client_connectivity/test_vlan_mode.py b/tests/client_connectivity/test_vlan_mode.py index 804848a88..9cf2f4fdb 100644 --- a/tests/client_connectivity/test_vlan_mode.py +++ b/tests/client_connectivity/test_vlan_mode.py @@ -28,9 +28,11 @@ class TestVlanModeClientConnectivity(object): @pytest.mark.wpa @pytest.mark.twog - def test_single_client_wpa_2g(self, get_lanforge_data, setup_profile_data, instantiate_testrail, - instantiate_project): + def test_client_wpa_2g(self, request, get_lanforge_data, setup_profile_data, instantiate_testrail, instantiate_project): profile_data = setup_profile_data["VLAN"]["WPA"]["2G"] + station_names = [] + for i in range(0, int(request.config.getini("num_stations"))): + station_names.append(get_lanforge_data["lanforge_2dot4g_prefix"] + "0" + str(i)) print(profile_data, get_lanforge_data) staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), debug_=False) @@ -42,7 +44,7 @@ class TestVlanModeClientConnectivity(object): staConnect.dut_ssid = profile_data["ssid_name"] staConnect.dut_passwd = profile_data["security_key"] staConnect.dut_security = "wpa" - staConnect.station_names = [get_lanforge_data["lanforge_2dot4g_station"]] + staConnect.station_names = station_names staConnect.sta_prefix = get_lanforge_data["lanforge_2dot4g_prefix"] staConnect.runtime_secs = 10 staConnect.bringup_time_sec = 60 @@ -72,10 +74,11 @@ class TestVlanModeClientConnectivity(object): @pytest.mark.wpa @pytest.mark.fiveg - def test_single_client_wpa_5g(self, get_lanforge_data, setup_profile_data, instantiate_project, - instantiate_testrail): + def test_client_wpa_5g(self, request, get_lanforge_data, setup_profile_data, instantiate_project, instantiate_testrail): profile_data = setup_profile_data["VLAN"]["WPA"]["5G"] - print(profile_data, get_lanforge_data) + station_names = [] + for i in range(0, int(request.config.getini("num_stations"))): + station_names.append(get_lanforge_data["lanforge_5g_prefix"] + "0" + str(i)) staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), debug_=False) staConnect.sta_mode = 0 @@ -86,7 +89,7 @@ class TestVlanModeClientConnectivity(object): staConnect.dut_ssid = profile_data["ssid_name"] staConnect.dut_passwd = profile_data["security_key"] staConnect.dut_security = "wpa" - staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] + staConnect.station_names = station_names staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] staConnect.runtime_secs = 10 staConnect.bringup_time_sec = 60 @@ -116,9 +119,11 @@ class TestVlanModeClientConnectivity(object): @pytest.mark.wpa2_personal @pytest.mark.twog - def test_single_client_wpa2_personal_2g(self, get_lanforge_data, setup_profile_data, instantiate_project, - instantiate_testrail): + def test_client_wpa2_personal_2g(self, request, get_lanforge_data, setup_profile_data, instantiate_project, instantiate_testrail): profile_data = setup_profile_data["VLAN"]["WPA2_P"]["2G"] + station_names = [] + for i in range(0, int(request.config.getini("num_stations"))): + station_names.append(get_lanforge_data["lanforge_2dot4g_prefix"] + "0" + str(i)) staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), debug_=False) staConnect.sta_mode = 0 @@ -129,7 +134,7 @@ class TestVlanModeClientConnectivity(object): staConnect.dut_ssid = profile_data["ssid_name"] staConnect.dut_passwd = profile_data["security_key"] staConnect.dut_security = "wpa2" - staConnect.station_names = [get_lanforge_data["lanforge_2dot4g_station"]] + staConnect.station_names = station_names staConnect.sta_prefix = get_lanforge_data["lanforge_2dot4g_prefix"] staConnect.runtime_secs = 10 staConnect.bringup_time_sec = 60 @@ -159,9 +164,11 @@ class TestVlanModeClientConnectivity(object): @pytest.mark.wpa2_personal @pytest.mark.fiveg - def test_single_client_wpa2_personal_5g(self, get_lanforge_data, setup_profile_data, instantiate_project, - instantiate_testrail): + def test_client_wpa2_personal_5g(self, request, get_lanforge_data, setup_profile_data, instantiate_project, instantiate_testrail): profile_data = setup_profile_data["VLAN"]["WPA2_P"]["5G"] + station_names = [] + for i in range(0, int(request.config.getini("num_stations"))): + station_names.append(get_lanforge_data["lanforge_5g_prefix"] + "0" + str(i)) staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), debug_=False) staConnect.sta_mode = 0 @@ -172,7 +179,7 @@ class TestVlanModeClientConnectivity(object): staConnect.dut_ssid = profile_data["ssid_name"] staConnect.dut_passwd = profile_data["security_key"] staConnect.dut_security = "wpa2" - staConnect.station_names = [get_lanforge_data["lanforge_5g_station"]] + staConnect.station_names = station_names staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] staConnect.runtime_secs = 10 staConnect.bringup_time_sec = 60 @@ -202,15 +209,17 @@ class TestVlanModeClientConnectivity(object): @pytest.mark.wpa2_enterprise @pytest.mark.twog - def test_single_client_wpa2_enterprise_2g(self, get_lanforge_data, setup_profile_data, instantiate_project, - instantiate_testrail): + def test_client_wpa2_enterprise_2g(self, request, get_lanforge_data, setup_profile_data, instantiate_project, instantiate_testrail): profile_data = setup_profile_data["VLAN"]["WPA2_E"]["2G"] + station_names = [] + for i in range(0, int(request.config.getini("num_stations"))): + station_names.append(get_lanforge_data["lanforge_2dot4g_prefix"] + "0" + str(i)) eap_connect = EAPConnect(get_lanforge_data["lanforge_ip"], get_lanforge_data["lanforge-port-number"]) eap_connect.upstream_resource = 1 eap_connect.upstream_port = get_lanforge_data["lanforge_vlan_port"] eap_connect.security = "wpa2" - eap_connect.sta_list = [get_lanforge_data["lanforge_2dot4g_station"]] - eap_connect.station_names = [get_lanforge_data["lanforge_2dot4g_station"]] + eap_connect.sta_list = station_names + eap_connect.station_names = station_names eap_connect.sta_prefix = get_lanforge_data["lanforge_2dot4g_prefix"] eap_connect.ssid = profile_data["ssid_name"] eap_connect.radio = get_lanforge_data["lanforge_2dot4g"] @@ -223,7 +232,11 @@ class TestVlanModeClientConnectivity(object): print("napping %f sec" % eap_connect.runtime_secs) time.sleep(eap_connect.runtime_secs) eap_connect.stop() - eap_connect.cleanup() + try: + eap_connect.cleanup() + eap_connect.cleanup() + except: + pass run_results = eap_connect.get_result_list() for result in run_results: print("test result: " + result) @@ -243,15 +256,17 @@ class TestVlanModeClientConnectivity(object): @pytest.mark.wpa2_enterprise @pytest.mark.fiveg - def test_single_client_wpa2_enterprise_5g(self, get_lanforge_data, setup_profile_data, instantiate_project, - instantiate_testrail): + def test_client_wpa2_enterprise_5g(self, request, get_lanforge_data, setup_profile_data, instantiate_project, instantiate_testrail): profile_data = setup_profile_data["VLAN"]["WPA2_E"]["5G"] + station_names = [] + for i in range(0, int(request.config.getini("num_stations"))): + station_names.append(get_lanforge_data["lanforge_5g_prefix"] + "0" + str(i)) eap_connect = EAPConnect(get_lanforge_data["lanforge_ip"], get_lanforge_data["lanforge-port-number"]) eap_connect.upstream_resource = 1 eap_connect.upstream_port = get_lanforge_data["lanforge_vlan_port"] eap_connect.security = "wpa2" - eap_connect.sta_list = [get_lanforge_data["lanforge_5g_station"]] - eap_connect.station_names = [get_lanforge_data["lanforge_5g_station"]] + eap_connect.sta_list = station_names + eap_connect.station_names = station_names eap_connect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] eap_connect.ssid = profile_data["ssid_name"] eap_connect.radio = get_lanforge_data["lanforge_5g"] @@ -264,7 +279,11 @@ class TestVlanModeClientConnectivity(object): print("napping %f sec" % eap_connect.runtime_secs) time.sleep(eap_connect.runtime_secs) eap_connect.stop() - eap_connect.cleanup() + try: + eap_connect.cleanup() + eap_connect.cleanup() + except: + pass run_results = eap_connect.get_result_list() for result in run_results: print("test result: " + result) diff --git a/tests/cloudsdk_apnos/test_cloudsdk_apnos.py b/tests/cloudsdk_apnos/test_cloudsdk_apnos.py index 2b45dfa75..d4c8891b5 100644 --- a/tests/cloudsdk_apnos/test_cloudsdk_apnos.py +++ b/tests/cloudsdk_apnos/test_cloudsdk_apnos.py @@ -19,16 +19,31 @@ class TestCloudPush(object): @pytest.mark.run(order=10) @pytest.mark.bridge + @pytest.mark.fiveg + @pytest.mark.wpa + @pytest.mark.twog + @pytest.mark.wpa2_personal + @pytest.mark.wpa2_enterprise def test_apnos_profile_push_bridge(self, push_profile): assert push_profile @pytest.mark.run(order=16) @pytest.mark.nat + @pytest.mark.fiveg + @pytest.mark.wpa + @pytest.mark.twog + @pytest.mark.wpa2_personal + @pytest.mark.wpa2_enterprise def test_apnos_profile_push_nat(self, push_profile): assert push_profile @pytest.mark.run(order=22) @pytest.mark.vlan + @pytest.mark.fiveg + @pytest.mark.wpa + @pytest.mark.twog + @pytest.mark.wpa2_personal + @pytest.mark.wpa2_enterprise def test_apnos_profile_push_vlan(self, push_profile): assert push_profile @@ -117,6 +132,11 @@ class TestCloudVifState(object): @pytest.mark.run(order=12) @pytest.mark.bridge + @pytest.mark.fiveg + @pytest.mark.wpa + @pytest.mark.twog + @pytest.mark.wpa2_personal + @pytest.mark.wpa2_enterprise def test_vif_state_cloud_bridge(self, instantiate_testrail, instantiate_project): ap_ssh = APNOS(APNOS_CREDENTIAL_DATA) PASS = False @@ -143,6 +163,11 @@ class TestCloudVifState(object): @pytest.mark.run(order=18) @pytest.mark.nat + @pytest.mark.fiveg + @pytest.mark.wpa + @pytest.mark.twog + @pytest.mark.wpa2_personal + @pytest.mark.wpa2_enterprise def test_vif_state_cloud_nat(self, instantiate_testrail, instantiate_project): ap_ssh = APNOS(APNOS_CREDENTIAL_DATA) PASS = False @@ -169,6 +194,11 @@ class TestCloudVifState(object): @pytest.mark.run(order=24) @pytest.mark.vlan + @pytest.mark.fiveg + @pytest.mark.wpa + @pytest.mark.twog + @pytest.mark.wpa2_personal + @pytest.mark.wpa2_enterprise def test_vif_state_cloud_vlan(self, instantiate_testrail, instantiate_project): ap_ssh = APNOS(APNOS_CREDENTIAL_DATA) PASS = False diff --git a/tests/cloudsdk_tests/test_cloud.py b/tests/cloudsdk_tests/test_cloud.py index a6e3b5126..5b2262c3d 100644 --- a/tests/cloudsdk_tests/test_cloud.py +++ b/tests/cloudsdk_tests/test_cloud.py @@ -78,9 +78,9 @@ class TestFirmware(object): assert PASS @pytest.mark.check_active_firmware_cloud - def test_active_version_cloud(self, check_ap_firmware_cloud, instantiate_testrail, instantiate_project): + def test_active_version_cloud(self, get_latest_firmware, check_ap_firmware_cloud, instantiate_testrail, instantiate_project): print("4") - if not check_ap_firmware_cloud: + if get_latest_firmware != check_ap_firmware_cloud: instantiate_testrail.update_testrail(case_id=TEST_CASES["cloud_fw"], run_id=instantiate_project, status_id=5, msg='CLOUDSDK reporting incorrect firmware version.') @@ -91,5 +91,5 @@ class TestFirmware(object): status_id=1, msg='CLOUDSDK reporting correct firmware version.') - assert PASS + assert get_latest_firmware == check_ap_firmware_cloud diff --git a/tests/cloudsdk_tests/test_profile.py b/tests/cloudsdk_tests/test_profile.py index b553b0555..b1bef479a 100644 --- a/tests/cloudsdk_tests/test_profile.py +++ b/tests/cloudsdk_tests/test_profile.py @@ -31,6 +31,11 @@ class TestProfileCleanup(object): @pytest.mark.bridge @pytest.mark.nat @pytest.mark.vlan + @pytest.mark.fiveg + @pytest.mark.wpa + @pytest.mark.twog + @pytest.mark.wpa2_personal + @pytest.mark.wpa2_enterprise def test_profile_cleanup(self, setup_profile_data, instantiate_profile, testrun_session): print("6") try: @@ -55,6 +60,11 @@ class TestProfileCleanup(object): @pytest.mark.bridge @pytest.mark.nat @pytest.mark.vlan +@pytest.mark.fiveg +@pytest.mark.wpa +@pytest.mark.twog +@pytest.mark.wpa2_personal +@pytest.mark.wpa2_enterprise class TestRfProfile(object): @pytest.mark.rf @@ -72,6 +82,9 @@ class TestRfProfile(object): @pytest.mark.bridge @pytest.mark.nat @pytest.mark.vlan +@pytest.mark.wpa2_enterprise +@pytest.mark.twog +@pytest.mark.fiveg class TestRadiusProfile(object): @pytest.mark.radius @@ -208,6 +221,11 @@ class TestEquipmentAPProfile(object): @pytest.mark.run(order=9) @pytest.mark.bridge + @pytest.mark.fiveg + @pytest.mark.wpa + @pytest.mark.twog + @pytest.mark.wpa2_personal + @pytest.mark.wpa2_enterprise def test_equipment_ap_profile_bridge_mode(self, instantiate_profile, create_ap_profile_bridge, instantiate_testrail, instantiate_project): profile_data = create_ap_profile_bridge if profile_data: @@ -224,6 +242,11 @@ class TestEquipmentAPProfile(object): @pytest.mark.run(order=15) @pytest.mark.nat + @pytest.mark.fiveg + @pytest.mark.wpa + @pytest.mark.twog + @pytest.mark.wpa2_personal + @pytest.mark.wpa2_enterprise def test_equipment_ap_profile_nat_mode(self, create_ap_profile_nat, instantiate_testrail, instantiate_project): profile_data = create_ap_profile_nat if profile_data: @@ -240,6 +263,11 @@ class TestEquipmentAPProfile(object): @pytest.mark.run(order=21) @pytest.mark.vlan + @pytest.mark.fiveg + @pytest.mark.wpa + @pytest.mark.twog + @pytest.mark.wpa2_personal + @pytest.mark.wpa2_enterprise def test_equipment_ap_profile_vlan_mode(self, create_ap_profile_vlan, instantiate_testrail, instantiate_project): profile_data = create_ap_profile_vlan if profile_data: diff --git a/tests/configuration_data.py b/tests/configuration_data.py index 56da3a813..c61cc72a9 100644 --- a/tests/configuration_data.py +++ b/tests/configuration_data.py @@ -3,10 +3,11 @@ """ APNOS_CREDENTIAL_DATA = { - 'jumphost_ip': "192.168.200.80", - 'jumphost_username': "lanforge", - 'jumphost_password': "lanforge", - 'jumphost_port': 22 + 'ip': "192.168.200.80", + 'username': "lanforge", + 'password': "lanforge", + 'port': 22, + 'mode': 1 } """ diff --git a/tests/conftest.py b/tests/conftest.py index 91ee51dcc..056d3fa6c 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -28,6 +28,7 @@ from configuration_data import RADIUS_SERVER_DATA from configuration_data import TEST_CASES from configuration_data import NOLA from testrail_api import APIClient +from reporting import Reporting def pytest_addoption(parser): @@ -82,6 +83,8 @@ def pytest_addoption(parser): parser.addini("tr_project_id", "Testrail Project ID") parser.addini("milestone", "milestone Id") + parser.addini("num_stations", "Number of Stations/Clients for testing") + # change behaviour parser.addoption( "--skip-upgrade", @@ -94,7 +97,13 @@ def pytest_addoption(parser): "--force-upgrade", action="store_true", default=False, - help="Stop Upgrading Firmware if already latest" + help="force Upgrading Firmware even if it is already latest version" + ) + parser.addoption( + "--force-upload", + action="store_true", + default=False, + help="force Uploading Firmware even if it is already latest version" ) # this has to be the last argument # example: --access-points ECW5410 EA8300-EU @@ -104,8 +113,12 @@ def pytest_addoption(parser): default="ecw5410", help="AP Model which is needed to test" ) - - + parser.addoption( + "--skip-testrail", + action="store_true", + default=False, + help="Stop using Testrails" + ) """ Test session base fixture """ @@ -161,24 +174,28 @@ def instantiate_profile(instantiate_cloudsdk): @pytest.fixture(scope="session") def instantiate_testrail(request): - tr_client = APIClient(request.config.getini("tr_url"), request.config.getini("tr_user"), - request.config.getini("tr_pass"), request.config.getini("tr_project_id")) + if request.config.getoption("--skip-testrail"): + tr_client = Reporting() + else: + tr_client = APIClient(request.config.getini("tr_url"), request.config.getini("tr_user"), + request.config.getini("tr_pass"), request.config.getini("tr_project_id")) yield tr_client @pytest.fixture(scope="session") def instantiate_project(request, instantiate_testrail, testrun_session, get_latest_firmware): - # (instantiate_testrail) - - projId = instantiate_testrail.get_project_id(project_name=request.config.getini("tr_project_id")) - test_run_name = request.config.getini("tr_prefix") + testrun_session + "_" + str( - datetime.date.today()) + "_" + get_latest_firmware - instantiate_testrail.create_testrun(name=test_run_name, case_ids=list(TEST_CASES.values()), project_id=projId, - milestone_id=request.config.getini("milestone"), - description="Automated Nightly Sanity test run for new firmware build") - rid = instantiate_testrail.get_run_id( - test_run_name=request.config.getini("tr_prefix") + testrun_session + "_" + str( - datetime.date.today()) + "_" + get_latest_firmware) + if request.config.getoption("--skip-testrail"): + rid = "skip testrails" + else: + projId = instantiate_testrail.get_project_id(project_name=request.config.getini("tr_project_id")) + test_run_name = request.config.getini("tr_prefix") + testrun_session + "_" + str( + datetime.date.today()) + "_" + get_latest_firmware + instantiate_testrail.create_testrun(name=test_run_name, case_ids=list(TEST_CASES.values()), project_id=projId, + milestone_id=request.config.getini("milestone"), + description="Automated Nightly Sanity test run for new firmware build") + rid = instantiate_testrail.get_run_id( + test_run_name=request.config.getini("tr_prefix") + testrun_session + "_" + str( + datetime.date.today()) + "_" + get_latest_firmware) yield rid @@ -230,7 +247,7 @@ def get_ap_manager_status(): @pytest.fixture(scope="session") def should_upload_firmware(request): - yield request.config.getini("force-upload") + yield request.config.getoption("--force-upload") @pytest.fixture(scope="session") diff --git a/tests/pytest.ini b/tests/pytest.ini index 0b58e18bf..3acce28c6 100644 --- a/tests/pytest.ini +++ b/tests/pytest.ini @@ -1,12 +1,6 @@ [pytest] addopts= --junitxml=test_everything.xml -# Firmware Utility Default Options -force-upload=False - - - - # jFrog parameters jfrog-base-url=tip.jFrog.io/artifactory/tip-wlan-ap-firmware jfrog-user-id=tip-read @@ -30,15 +24,15 @@ lanforge-port-number=8080 lanforge-bridge-port=eth1 -lanforge-2dot4g-prefix=wlan1 -lanforge-5g-prefix=wlan1 +lanforge-2dot4g-prefix=wlan +lanforge-5g-prefix=wlan -lanforge-2dot4g-station=wlan1 -lanforge-5g-station=wlan1 lanforge-2dot4g-radio=wiphy1 lanforge-5g-radio=wiphy1 +num_stations=1 + # Cloud SDK settings sdk-customer-id=2 sdk-equipment-id=23 @@ -54,10 +48,14 @@ radius_secret=testing123 tr_url=https://telecominfraproject.testrail.com tr_prefix=Nola_ext_03_ tr_user=shivam.thakur@candelatech.com -tr_pass=something +tr_pass=Something tr_project_id=WLAN milestone=29 + +filterwarnings = + ignore::UserWarning + markers = sanity: Run the sanity for Client Connectivity test From 442608e35329e46de81a7569538799174a322a10 Mon Sep 17 00:00:00 2001 From: shivamcandela Date: Thu, 8 Apr 2021 20:44:31 +0530 Subject: [PATCH 43/45] Cleanup stuff Signed-off-by: shivamcandela --- libs/EXAMPLE-JSON-OBJECTS.txt | 207 --- libs/JfrogHelper.py | 62 - libs/ap_plus_sdk.py | 8 - libs/apnos/apnos.py | 100 +- libs/cloudsdk/cloudsdk.py | 22 +- libs/lab_ap_info.py | 1367 ----------------- libs/testrails/testrail_api.py | 6 +- tests/ap_tests/test_apnos.py | 4 - tests/client_connectivity/test_bridge_mode.py | 50 + tests/client_connectivity/test_nat_mode.py | 69 +- tests/client_connectivity/test_vlan_mode.py | 50 + tests/cloudsdk_tests/test_cloud.py | 6 - tests/cloudsdk_tests/test_profile.py | 21 - tests/conftest.py | 18 +- tests/pytest.ini | 2 +- 15 files changed, 239 insertions(+), 1753 deletions(-) delete mode 100644 libs/EXAMPLE-JSON-OBJECTS.txt delete mode 100644 libs/JfrogHelper.py delete mode 100644 libs/ap_plus_sdk.py delete mode 100755 libs/lab_ap_info.py diff --git a/libs/EXAMPLE-JSON-OBJECTS.txt b/libs/EXAMPLE-JSON-OBJECTS.txt deleted file mode 100644 index 688982af0..000000000 --- a/libs/EXAMPLE-JSON-OBJECTS.txt +++ /dev/null @@ -1,207 +0,0 @@ -#RF Profile looks like this (as of Feb 10, 2021) -# Default RF profile is 10 currently. -{ - "childProfileIds": [], - "createdTimestamp": 0, - "customerId": 2, - "details": { - "model_type": "RfConfiguration", - "profileType": "rf", - "rfConfigMap": { - "is2dot4GHz": { - "activeScanSettings": { - "enabled": true, - "model_type": "ActiveScanSettings", - "scanDurationMillis": 65, - "scanFrequencySeconds": 10 - }, - "autoChannelSelection": false, - "beaconInterval": 100, - "bestApEnabled": null, - "bestApSettings": { - "dropInSnrPercentage": 20, - "minLoadFactor": 50, - "mlComputed": true, - "model_type": "RadioBestApSettings" - }, - "channelBandwidth": "is20MHz", - "channelHopSettings": { - "model_type": "ChannelHopSettings", - "noiseFloorThresholdInDB": -75, - "noiseFloorThresholdTimeInSeconds": 180, - "nonWifiThresholdInPercentage": 50, - "nonWifiThresholdTimeInSeconds": 180, - "obssHopMode": "NON_WIFI" - }, - "clientDisconnectThresholdDb": -90, - "eirpTxPower": 18, - "forceScanDuringVoice": "disabled", - "managementRate": "auto", - "maxNumClients": 100, - "mimoMode": "twoByTwo", - "minAutoCellSize": -65, - "model_type": "RfElementConfiguration", - "multicastRate": "auto", - "neighbouringListApConfig": { - "maxAps": 25, - "minSignal": -85, - "model_type": "NeighbouringAPListConfiguration" - }, - "perimeterDetectionEnabled": true, - "probeResponseThresholdDb": -90, - "radioMode": "modeN", - "radioType": "is2dot4GHz", - "rf": "TipWlan-rf", - "rtsCtsThreshold": 65535, - "rxCellSizeDb": -90 - }, - "is5GHz": { - "activeScanSettings": { - "enabled": true, - "model_type": "ActiveScanSettings", - "scanDurationMillis": 65, - "scanFrequencySeconds": 10 - }, - "autoChannelSelection": false, - "beaconInterval": 100, - "bestApEnabled": null, - "bestApSettings": { - "dropInSnrPercentage": 30, - "minLoadFactor": 40, - "mlComputed": true, - "model_type": "RadioBestApSettings" - }, - "channelBandwidth": "is80MHz", - "channelHopSettings": { - "model_type": "ChannelHopSettings", - "noiseFloorThresholdInDB": -75, - "noiseFloorThresholdTimeInSeconds": 180, - "nonWifiThresholdInPercentage": 50, - "nonWifiThresholdTimeInSeconds": 180, - "obssHopMode": "NON_WIFI" - }, - "clientDisconnectThresholdDb": -90, - "eirpTxPower": 18, - "forceScanDuringVoice": "disabled", - "managementRate": "auto", - "maxNumClients": 100, - "mimoMode": "twoByTwo", - "minAutoCellSize": -65, - "model_type": "RfElementConfiguration", - "multicastRate": "auto", - "neighbouringListApConfig": { - "maxAps": 25, - "minSignal": -85, - "model_type": "NeighbouringAPListConfiguration" - }, - "perimeterDetectionEnabled": true, - "probeResponseThresholdDb": -90, - "radioMode": "modeAC", - "radioType": "is5GHz", - "rf": "TipWlan-rf", - "rtsCtsThreshold": 65535, - "rxCellSizeDb": -90 - }, - "is5GHzL": { - "activeScanSettings": { - "enabled": true, - "model_type": "ActiveScanSettings", - "scanDurationMillis": 65, - "scanFrequencySeconds": 10 - }, - "autoChannelSelection": false, - "beaconInterval": 100, - "bestApEnabled": null, - "bestApSettings": { - "dropInSnrPercentage": 30, - "minLoadFactor": 40, - "mlComputed": true, - "model_type": "RadioBestApSettings" - }, - "channelBandwidth": "is80MHz", - "channelHopSettings": { - "model_type": "ChannelHopSettings", - "noiseFloorThresholdInDB": -75, - "noiseFloorThresholdTimeInSeconds": 180, - "nonWifiThresholdInPercentage": 50, - "nonWifiThresholdTimeInSeconds": 180, - "obssHopMode": "NON_WIFI" - }, - "clientDisconnectThresholdDb": -90, - "eirpTxPower": 18, - "forceScanDuringVoice": "disabled", - "managementRate": "auto", - "maxNumClients": 100, - "mimoMode": "twoByTwo", - "minAutoCellSize": -65, - "model_type": "RfElementConfiguration", - "multicastRate": "auto", - "neighbouringListApConfig": { - "maxAps": 25, - "minSignal": -85, - "model_type": "NeighbouringAPListConfiguration" - }, - "perimeterDetectionEnabled": true, - "probeResponseThresholdDb": -90, - "radioMode": "modeAC", - "radioType": "is5GHzL", - "rf": "TipWlan-rf", - "rtsCtsThreshold": 65535, - "rxCellSizeDb": -90 - }, - "is5GHzU": { - "activeScanSettings": { - "enabled": true, - "model_type": "ActiveScanSettings", - "scanDurationMillis": 65, - "scanFrequencySeconds": 10 - }, - "autoChannelSelection": false, - "beaconInterval": 100, - "bestApEnabled": null, - "bestApSettings": { - "dropInSnrPercentage": 30, - "minLoadFactor": 40, - "mlComputed": true, - "model_type": "RadioBestApSettings" - }, - "channelBandwidth": "is80MHz", - "channelHopSettings": { - "model_type": "ChannelHopSettings", - "noiseFloorThresholdInDB": -75, - "noiseFloorThresholdTimeInSeconds": 180, - "nonWifiThresholdInPercentage": 50, - "nonWifiThresholdTimeInSeconds": 180, - "obssHopMode": "NON_WIFI" - }, - "clientDisconnectThresholdDb": -90, - "eirpTxPower": 18, - "forceScanDuringVoice": "disabled", - "managementRate": "auto", - "maxNumClients": 100, - "mimoMode": "twoByTwo", - "minAutoCellSize": -65, - "model_type": "RfElementConfiguration", - "multicastRate": "auto", - "neighbouringListApConfig": { - "maxAps": 25, - "minSignal": -85, - "model_type": "NeighbouringAPListConfiguration" - }, - "perimeterDetectionEnabled": true, - "probeResponseThresholdDb": -90, - "radioMode": "modeAC", - "radioType": "is5GHzU", - "rf": "TipWlan-rf", - "rtsCtsThreshold": 65535, - "rxCellSizeDb": -90 - } - } - }, - "id": 10, - "lastModifiedTimestamp": 0, - "model_type": "Profile", - "name": "TipWlan-rf", - "profileType": "rf" -} - diff --git a/libs/JfrogHelper.py b/libs/JfrogHelper.py deleted file mode 100644 index ec4aeb907..000000000 --- a/libs/JfrogHelper.py +++ /dev/null @@ -1,62 +0,0 @@ -import ssl -import base64 -import urllib.request -from bs4 import BeautifulSoup -import re -from ap_ssh import ssh_cli_active_fw -from lab_ap_info import * - - -class GetBuild: - def __init__(self, jfrog_user, jfrog_passwd, build, url=None): - self.user = jfrog_user - self.password = jfrog_passwd - ssl._create_default_https_context = ssl._create_unverified_context - if url: - self.jfrog_url = url - else: - self.jfrog_url = 'https://tip.jfrog.io/artifactory/tip-wlan-ap-firmware/' - self.build = build - - def get_user(self): - return self.user - - def get_passwd(self): - return self.password - - def get_latest_image(self, model, for_build=None): - - build_name = self.build - if for_build: - build_name = for_build - - url = self.jfrog_url + model + "/dev/" - print("JfrogHelper::get_latest_image, url: ", url) - - auth = str( - base64.b64encode( - bytes('%s:%s' % (self.user, self.password), 'utf-8') - ), - 'ascii' - ).strip() - headers = {'Authorization': 'Basic ' + auth} - - ''' FIND THE LATEST FILE NAME''' - # print(url) - req = urllib.request.Request(url, headers=headers) - response = urllib.request.urlopen(req) - html = response.read() - soup = BeautifulSoup(html, features="html.parser") - - # find the last pending link on dev - last_link = soup.find_all('a', href=re.compile(build_name))[-1] - latest_file = last_link['href'] - latest_fw = latest_file.replace('.tar.gz', '') - return latest_fw - - def check_latest_fw(self, ap_model=None): - for model in ap_models: - if model == ap_model: - return self.get_latest_image(model) - else: - continue diff --git a/libs/ap_plus_sdk.py b/libs/ap_plus_sdk.py deleted file mode 100644 index a6257fc55..000000000 --- a/libs/ap_plus_sdk.py +++ /dev/null @@ -1,8 +0,0 @@ -from lab_ap_info import * -from JfrogHelper import GetBuild -from ap_ssh import ssh_cli_active_fw - - -def get_ap_info(args): - return ssh_cli_active_fw(args) - pass diff --git a/libs/apnos/apnos.py b/libs/apnos/apnos.py index 83bafd0c5..c111a2add 100644 --- a/libs/apnos/apnos.py +++ b/libs/apnos/apnos.py @@ -1,3 +1,15 @@ +""" +APNOS Library : Used to execute SSH Commands in AP Using Direct-AP-SSH/ Jumphost-Serial Console + +Currently Having Methods: + 1. Get iwinfo + 2. AP Manager Satus + 3. Vif Config ssid's + 4. Vif State ssid's + 5. Get current Firmware + +""" + import paramiko @@ -6,59 +18,64 @@ class APNOS: def __init__(self, credentials=None): self.owrt_args = "--prompt root@OpenAp -s serial --log stdout --user root --passwd openwifi" if credentials is None: + print("No credentials Given") exit() - self.jumphost_ip = credentials['ip'] # "192.168.200.80" - self.jumphost_username = credentials['username'] # "lanforge" - self.jumphost_password = credentials['password'] # "lanforge" - self.jumphost_port = credentials['port'] # 22 + self.ip = credentials['ip'] # if mode=1, enter jumphost ip else ap ip address + self.username = credentials['username'] # if mode=1, enter jumphost username else ap username + self.password = credentials['password'] # if mode=1, enter jumphost password else ap password + self.port = credentials['port'] # if mode=1, enter jumphost ssh port else ap ssh port self.mode = credentials['mode'] # 1 for jumphost, 0 for direct ssh + if self.mode == 1: + self.tty = credentials['jumphost_tty'] # /dev/ttyAP1 + # Method to connect AP-CLI/ JUMPHOST-CLI def ssh_cli_connect(self): client = paramiko.SSHClient() client.set_missing_host_key_policy(paramiko.AutoAddPolicy()) print("Connecting to jumphost: %s@%s:%s with password: %s" % ( - self.jumphost_username, self.jumphost_ip, self.jumphost_port, self.jumphost_password)) - client.connect(self.jumphost_ip, username=self.jumphost_username, password=self.jumphost_password, - port=self.jumphost_port, timeout=10, allow_agent=False, banner_timeout=200) + self.username, self.ip, self.port, self.password)) + client.connect(self.ip, username=self.username, password=self.password, + port=self.port, timeout=10, allow_agent=False, banner_timeout=200) return client + # Method to get the iwinfo status of AP using AP-CLI/ JUMPHOST-CLI def iwinfo_status(self): client = self.ssh_cli_connect() + cmd = 'iwinfo' if self.mode == 1: - cmd = "cd %s/lanforge/lanforge-scripts/ && ./openwrt_ctl.py %s -t %s --action cmd --value \"%s\"" % ( - '/home', self.owrt_args, '/dev/ttyAP1', 'iwinfo') - else: - cmd = 'iwinfo' + cmd = f"cd /home/lanforge/lanforge-scripts/ && ./openwrt_ctl.py {self.owrt_args} -t {self.tty} --action " \ + f"cmd --value \"{cmd}\" " stdin, stdout, stderr = client.exec_command(cmd) output = stdout.read() client.close() return output + # Method to get the vif_config of AP using AP-CLI/ JUMPHOST-CLI def get_vif_config(self): client = self.ssh_cli_connect() + cmd = "/usr/opensync/bin/ovsh s Wifi_VIF_Config -c" if self.mode == 1: - cmd = "cd %s/lanforge/lanforge-scripts/ && ./openwrt_ctl.py %s -t %s --action cmd --value \"%s\"" % ( - '/home', self.owrt_args, '/dev/ttyAP1', "/usr/opensync/bin/ovsh s Wifi_VIF_Config -c") - else: - cmd = "/usr/opensync/bin/ovsh s Wifi_VIF_Config -c" + cmd = f"cd /home/lanforge/lanforge-scripts/ && ./openwrt_ctl.py {self.owrt_args} -t {self.tty} --action " \ + f"cmd --value \"{cmd}\" " stdin, stdout, stderr = client.exec_command(cmd) output = stdout.read() client.close() return output + # Method to get the vif_state of AP using AP-CLI/ JUMPHOST-CLI def get_vif_state(self): client = self.ssh_cli_connect() + cmd = "/usr/opensync/bin/ovsh s Wifi_VIF_State -c" if self.mode == 1: - cmd = "cd %s/lanforge/lanforge-scripts/ && ./openwrt_ctl.py %s -t %s --action cmd --value \"%s\"" % ( - '/home', self.owrt_args, '/dev/ttyAP1', "/usr/opensync/bin/ovsh s Wifi_VIF_State -c") - else: - cmd = "/usr/opensync/bin/ovsh s Wifi_VIF_State -c" + cmd = f"cd /home/lanforge/lanforge-scripts/ && ./openwrt_ctl.py {self.owrt_args} -t {self.tty} --action " \ + f"cmd --value \"{cmd}\" " stdin, stdout, stderr = client.exec_command(cmd) output = stdout.read() client.close() return output + # Method to get the vif_config ssid's of AP using AP-CLI/ JUMPHOST-CLI def get_vif_config_ssids(self): stdout = self.get_vif_config() ssid_list = [] @@ -68,6 +85,7 @@ class APNOS: ssid_list.append(ssid[0].split(":")[1].replace("'", "")) return ssid_list + # Method to get the vif_state ssid's of AP using AP-CLI/ JUMPHOST-CLI def get_vif_state_ssids(self): stdout = self.get_vif_state() ssid_list = [] @@ -77,14 +95,14 @@ class APNOS: ssid_list.append(ssid[0].split(":")[1].replace("'", "")) return ssid_list + # Method to get the active firmware of AP using AP-CLI/ JUMPHOST-CLI def get_active_firmware(self): try: client = self.ssh_cli_connect() + cmd = '/usr/opensync/bin/ovsh s AWLAN_Node -c | grep FW_IMAGE_ACTIVE' if self.mode == 1: - cmd = "cd %s/lanforge/lanforge-scripts/ && ./openwrt_ctl.py %s -t %s --action cmd --value \"%s\"" % ( - '/home', self.owrt_args, '/dev/ttyAP1', '/usr/opensync/bin/ovsh s AWLAN_Node -c | grep FW_IMAGE_ACTIVE') - else: - cmd = '/usr/opensync/bin/ovsh s AWLAN_Node -c | grep FW_IMAGE_ACTIVE' + cmd = f"cd /home/lanforge/lanforge-scripts/ && ./openwrt_ctl.py {self.owrt_args} -t {self.tty}" \ + f" --action cmd --value \"{cmd}\" " stdin, stdout, stderr = client.exec_command(cmd) output = stdout.read() # print(output) @@ -93,48 +111,24 @@ class APNOS: cli_active_fw = version_matrix_split.partition('"],[')[0] client.close() except Exception as e: + print(e) cli_active_fw = "Error" return cli_active_fw + # Method to get the manager state of AP using AP-CLI/ JUMPHOST-CLI def get_manager_state(self): try: client = self.ssh_cli_connect() + cmd = '/usr/opensync/bin/ovsh s Manager -c | grep status' if self.mode == 1: - cmd = "cd %s/lanforge/lanforge-scripts/ && ./openwrt_ctl.py %s -t %s --action cmd --value \"%s\"" % ( - '/home', self.owrt_args, '/dev/ttyAP1', '/usr/opensync/bin/ovsh s Manager -c | grep status') - else: - cmd = '/usr/opensync/bin/ovsh s Manager -c | grep status' + cmd = f"cd /home/lanforge/lanforge-scripts/ && ./openwrt_ctl.py {self.owrt_args} -t {self.tty}" \ + f" --action cmd --value \"{cmd}\" " stdin, stdout, stderr = client.exec_command(cmd) output = stdout.read() status = str(output.decode('utf-8').splitlines()) client.close() except Exception as e: + print(e) status = "Error" return status - def get_status(self): - client = self.ssh_cli_connect() - if self.mode == 1: - cmd = "cd %s/lanforge/lanforge-scripts/ && ./openwrt_ctl.py %s -t %s --action cmd --value \"%s\"" % ( - '/home', self.owrt_args, '/dev/ttyAP1', "/usr/opensync/bin/ovsh s Wifi_VIF_State -c") - else: - cmd = "/usr/opensync/bin/ovsh s Wifi_VIF_State -c" - stdin, stdout, stderr = client.exec_command(cmd) - output = stdout.read() - client.close() - return output - pass -# -# APNOS_CREDENTIAL_DATA = { -# 'jumphost_ip': "192.168.200.80", -# 'jumphost_username': "lanforge", -# 'jumphost_password': "lanforge", -# 'jumphost_port': 22 -# 'mode': 1 -# } -# mode can me 1 for ap direct ssh, and 0 for jumphost -# obj = APNOS(jumphost_cred=APNOS_CREDENTIAL_DATA) -# print(obj.get_active_firmware()) -# print(obj.get_vif_config_ssids()) -# print(get_vif_config_ssids()) -# print(get_vif_state_ssids()) diff --git a/libs/cloudsdk/cloudsdk.py b/libs/cloudsdk/cloudsdk.py index bceabf408..827df19b9 100644 --- a/libs/cloudsdk/cloudsdk.py +++ b/libs/cloudsdk/cloudsdk.py @@ -204,6 +204,7 @@ class CloudSDK(ConfigureCloudSDK): if profile._profile_type == "ssid": ssid_name_list.append(profile._details['ssid']) return ssid_name_list + """ default templates are as follows : profile_name= TipWlan-rf/ @@ -377,11 +378,10 @@ class ProfileUtility: def set_rf_profile(self, profile_data=None): default_profile = self.default_profiles['rf'] - # default_profile = self.sdk_client.get_profile_template(customer_id=2, profile_name="TipWlan-rf") if profile_data is None: self.profile_creation_ids['rf'].append(default_profile._id) - # Need to add functionality to add similar Profile and modify accordingly return True + """ method call: used to create a ssid profile with the given parameters """ @@ -391,7 +391,6 @@ class ProfileUtility: if profile_data is None: return False default_profile = self.default_profiles['ssid'] - # default_profile = self.sdk_client.get_profile_template(customer_id=2, profile_name="TipWlan-Cloud-Wifi") default_profile._details['appliedRadios'] = [] if two4g is True: default_profile._details['appliedRadios'].append("is2dot4GHz") @@ -418,7 +417,6 @@ class ProfileUtility: if profile_data is None: return False default_profile = self.default_profiles['ssid'] - # default_profile = self.sdk_client.get_profile_template(customer_id=2, profile_name="TipWlan-Cloud-Wifi") default_profile._details['appliedRadios'] = [] if two4g is True: default_profile._details['appliedRadios'].append("is2dot4GHz") @@ -445,7 +443,6 @@ class ProfileUtility: if profile_data is None: return False default_profile = self.default_profiles['ssid'] - # default_profile = self.sdk_client.get_profile_template(customer_id=2, profile_name="TipWlan-Cloud-Wifi") default_profile._details['appliedRadios'] = [] if two4g is True: default_profile._details['appliedRadios'].append("is2dot4GHz") @@ -471,7 +468,6 @@ class ProfileUtility: if profile_data is None: return False default_profile = self.default_profiles['ssid'] - # default_profile = self.sdk_client.get_profile_template(customer_id=2, profile_name="TipWlan-Cloud-Wifi") default_profile._details['appliedRadios'] = [] if two4g is True: default_profile._details['appliedRadios'].append("is2dot4GHz") @@ -495,8 +491,6 @@ class ProfileUtility: if profile_data is None: return False default_profile = self.default_profiles['ssid'] - # print(default_profile) - # default_profile = self.sdk_client.get_profile_template(customer_id=2, profile_name="TipWlan-Cloud-Wifi") default_profile._details['appliedRadios'] = [] if two4g is True: default_profile._details['appliedRadios'].append("is2dot4GHz") @@ -524,7 +518,6 @@ class ProfileUtility: if profile_data is None: return False default_profile = self.default_profiles['ssid'] - # default_profile = self.sdk_client.get_profile_template(customer_id=2, profile_name="TipWlan-Cloud-Wifi") default_profile._details['appliedRadios'] = [] if two4g is True: default_profile._details['appliedRadios'].append("is2dot4GHz") @@ -571,7 +564,6 @@ class ProfileUtility: """ def create_radius_profile(self, radius_info=None): - # default_profile = self.sdk_client.get_profile_template(customer_id=self.sdk_client.customer_id, profile_name="Radius-Profile") default_profile = self.default_profiles['radius'] default_profile._name = radius_info['name'] default_profile._details['primaryRadiusAuthServer']['ipAddress'] = radius_info['ip'] @@ -601,7 +593,14 @@ class ProfileUtility: method to verify if the expected ssid's are loaded in the ap vif config """ - def monitor_vif_conf(self): + def update_ssid_name(self, profile_name="Sanity-ecw5410-2G_WPA2_E_VLAN", new_profile_name="Shivam-Thakur"): + try: + profile = self.get_profile_by_name(profile_name=profile_name) + profile._details['ssid'] = new_profile_name + self.profile_client.update_profile(profile) + return True + except: + return False pass """ @@ -765,3 +764,4 @@ class FirmwareUtility(JFrogUtility): print("firmware not available: ", firmware_version) return firmware_version + diff --git a/libs/lab_ap_info.py b/libs/lab_ap_info.py deleted file mode 100755 index 33d731a88..000000000 --- a/libs/lab_ap_info.py +++ /dev/null @@ -1,1367 +0,0 @@ -#!/usr/bin/python3 - -##AP Models Under Test -ap_models = ["ec420","ea8300","ecw5211","ecw5410", "wf188n", "wf194c", "ex227", "ex447", "eap101", "eap102"] - -##Cloud Type(cloudsdk_tests = v1, CMAP = cmap) -cloud_type = "v1" - -##LANForge Info -lanforge_ip = "10.10.10.201" -lanforge_2dot4g = "wiphy6" -lanforge_5g = "wiphy6" -# For single client connectivity use cases, use full station name for prefix to only read traffic from client under test -lanforge_2dot4g_prefix = "wlan6" -lanforge_5g_prefix = "wlan6" -lanforge_2dot4g_station = "wlan6" -lanforge_5g_station = "wlan6" - -##RADIUS Info -radius_info = { - - "name": "Automation_RADIUS", - "subnet_name": "Lab", - "subnet": "10.10.0.0", - "subnet_mask": 16, - "region": "Toronto", - "server_name": "Lab-RADIUS", - "server_ip": "10.10.10.203", - "secret": "testing123", - "auth_port": 1812 -} -##AP Models for firmware upload -cloud_sdk_models = { - "ec420": "EC420-G1", - "ea8300": "EA8300-CA", - "ecw5211": "ECW5211", - "ecw5410": "ECW5410", - "wf188n": "WF188N", - "wf194c": "WF194C", - "ex227": "EX227", - "ex447": "EX447", - "eap101": "EAP101", - "eap102": "EAP102" -} - -mimo_5g = { - "ec420": "4x4", - "ea8300": "2x2", - "ecw5211": "2x2", - "ecw5410": "4x4", - "wf188n": "2x2", - "wf194c": "8x8", - "ex227": "", - "ex447": "", - "eap101": "2x2", - "eap102": "4x4" -} - -mimo_2dot4g = { - "ec420": "2x2", - "ea8300": "2x2", - "ecw5211": "2x2", - "ecw5410": "4x4", - "wf188n": "2x2", - "wf194c": "4x4", - "ex227": "", - "ex447": "", - "eap101": "2x2", - "eap102": "4x4" -} - -sanity_status = { - "ea8300": "failed", - "ecw5211": 'passed', - "ecw5410": 'failed', - "ec420": 'failed', - "wf188n": "failed", - "wf194c": "failed", - "ex227": "failed", - "ex447": "failed", - "eap101": "failed", - "eap102": "failed" -} - -##Customer ID for testing -customer_id = "2" - -##Equipment IDs for Lab APs under test -equipment_id_dict = { - "ea8300": "115", - "ecw5410": "116", - "ecw5211": "117", - "ec420": "27", - "wf188n": "135", - "ex227": "148", - "eap102": "147", - "wf194c": "152" -} - -equipment_ip_dict = { - "ea8300": "10.10.10.103", - "ecw5410": "10.10.10.105", - "ec420": "10.10.10.104", - "ecw5211": "10.10.10.102", - "wf188n": "10.10.10.179", - "wf194c": "10.10.10.184", - "ex227": "10.10.10.182", - "eap102": "10.10.10.183" -} - -eqiupment_credentials_dict = { - "ea8300": "openwifi", - "ecw5410": "openwifi", - "ec420": "openwifi", - "ecw5211": "admin123", - "wf188n": "openwifi", - "wf194c": "openwifi", - "ex227": "openwifi", - "ex447": "openwifi", - "eap101": "openwifi", - "eap102": "openwifi" -} - -##Test Case information - Maps a generic TC name to TestRail TC numbers -test_cases = { - "ap_upgrade": 2233, - "5g_wpa2_bridge": 2236, - "2g_wpa2_bridge": 2237, - "5g_wpa_bridge": 2419, - "2g_wpa_bridge": 2420, - "2g_wpa_nat": 4323, - "5g_wpa_nat": 4324, - "2g_wpa2_nat": 4325, - "5g_wpa2_nat": 4326, - "2g_eap_bridge": 5214, - "5g_eap_bridge": 5215, - "2g_eap_nat": 5216, - "5g_eap_nat": 5217, - "cloud_connection": 5222, - "cloud_fw": 5247, - "5g_wpa2_vlan": 5248, - "5g_wpa_vlan": 5249, - "5g_eap_vlan": 5250, - "2g_wpa2_vlan": 5251, - "2g_wpa_vlan": 5252, - "2g_eap_vlan": 5253, - "cloud_ver": 5540, - "bridge_vifc": 5541, - "nat_vifc": 5542, - "vlan_vifc": 5543, - "bridge_vifs": 5544, - "nat_vifs": 5545, - "vlan_vifs": 5546, - "upgrade_api": 5547, - "create_fw": 5548, - "ap_bridge": 5641, - "ap_nat": 5642, - "ap_vlan": 5643, - "ssid_2g_eap_bridge": 5644, - "ssid_2g_wpa2_bridge": 5645, - "ssid_2g_wpa_bridge": 5646, - "ssid_5g_eap_bridge": 5647, - "ssid_5g_wpa2_bridge": 5648, - "ssid_5g_wpa_bridge": 5649, - "ssid_2g_eap_nat": 5650, - "ssid_2g_wpa2_nat": 5651, - "ssid_2g_wpa_nat": 5652, - "ssid_5g_eap_nat": 5653, - "ssid_5g_wpa2_nat": 5654, - "ssid_5g_wpa_nat": 5655, - "ssid_2g_eap_vlan": 5656, - "ssid_2g_wpa2_vlan": 5657, - "ssid_2g_wpa_vlan": 5658, - "ssid_5g_eap_vlan": 5659, - "ssid_5g_wpa2_vlan": 5660, - "ssid_5g_wpa_vlan": 5661, - "radius_profile": 5808 -} - -## Other profiles -radius_profile = 4159 -rf_profile = 10 - -###Testing AP Profile Information -profile_info_dict = { - "ecw5410": { - "profile_id": "2", - "childProfileIds": [ - 3647, - 10, - 11, - 12, - 13, - 190, - 191 - ], - "fiveG_WPA2_SSID": "ECW5410_5G_WPA2", - "fiveG_WPA2_PSK": "Connectus123$", - "fiveG_WPA_SSID": "ECW5410_5G_WPA", - "fiveG_WPA_PSK": "Connectus123$", - "fiveG_OPEN_SSID": "ECW5410_5G_OPEN", - "fiveG_WPA2-EAP_SSID": "ECW5410_5G_WPA2-EAP", - "twoFourG_OPEN_SSID": "ECW5410_2dot4G_OPEN", - "twoFourG_WPA2_SSID": "ECW5410_2dot4G_WPA2", - "twoFourG_WPA2_PSK": "Connectus123$", - "twoFourG_WPA_SSID": "ECW5410_2dot4G_WPA", - "twoFourG_WPA_PSK": "Connectus123$", - "twoFourG_WPA2-EAP_SSID": "ECW5410_2dot4G_WPA2-EAP", - "fiveG_WPA2_profile": 3647, - "fiveG_WPA_profile": 13, - "fiveG_WPA2-EAP_profile": 191, - "twoFourG_WPA2_profile": 11, - "twoFourG_WPA_profile": 12, - "twoFourG_WPA2-EAP_profile": 190, - "ssid_list": [ - "ECW5410_5G_WPA2", - "ECW5410_5G_WPA", - "ECW5410_5G_WPA2-EAP", - "ECW5410_2dot4G_WPA2", - "ECW5410_2dot4G_WPA", - "ECW5410_2dot4G_WPA2-EAP" - ] - }, - - "ea8300": { - "profile_id": "153", - "childProfileIds": [ - 17, - 18, - 201, - 202, - 10, - 14, - 15 - ], - "fiveG_WPA2_SSID": "EA8300_5G_WPA2", - "fiveG_WPA2_PSK": "Connectus123$", - "fiveG_WPA_SSID": "EA8300_5G_WPA", - "fiveG_WPA_PSK": "Connectus123$", - "fiveG_OPEN_SSID": "EA8300_5G_OPEN", - "fiveG_WPA2-EAP_SSID": "EA8300_5G_WPA2-EAP", - "twoFourG_OPEN_SSID": "EA8300_2dot4G_OPEN", - "twoFourG_WPA2_SSID": "EA8300_2dot4G_WPA2", - "twoFourG_WPA2_PSK": "Connectus123$", - "twoFourG_WPA_SSID": "EA8300_2dot4G_WPA", - "twoFourG_WPA_PSK": "Connectus123$", - "twoFourG_WPA2-EAP_SSID": "EA8300_2dot4G_WPA2-EAP", - "fiveG_WPA2_profile": 14, - "fiveG_WPA_profile": 15, - "fiveG_WPA2-EAP_profile": 202, - "twoFourG_WPA2_profile": 17, - "twoFourG_WPA_profile": 18, - "twoFourG_WPA2-EAP_profile": 201, - # EA8300 has 2x 5GHz SSIDs because it is a tri-radio AP! - "ssid_list": [ - "EA8300_5G_WPA2", - "EA8300_5G_WPA2", - "EA8300_5G_WPA", - "EA8300_5G_WPA", - "EA8300_5G_WPA2-EAP", - "EA8300_5G_WPA2-EAP", - "EA8300_2dot4G_WPA2", - "EA8300_2dot4G_WPA", - "EA8300_2dot4G_WPA2-EAP" - ] - }, - - "ec420": { - "profile_id": "20", - "childProfileIds": [ - 209, - 210, - 21, - 22, - 24, - 25, - 10 - ], - "fiveG_WPA2_SSID": "EC420_5G_WPA2", - "fiveG_WPA2_PSK": "Connectus123$", - "fiveG_WPA_SSID": "EC420_5G_WPA", - "fiveG_WPA_PSK": "Connectus123$", - "fiveG_OPEN_SSID": "EC420_5G_OPEN", - "fiveG_WPA2-EAP_SSID": "EC420_5G_WPA2-EAP", - "twoFourG_OPEN_SSID": "EC420_2dot4G_OPEN", - "twoFourG_WPA2_SSID": "EC420_2dot4G_WPA2", - "twoFourG_WPA2_PSK": "Connectus123$", - "twoFourG_WPA_SSID": "EC420_2dot4G_WPA", - "twoFourG_WPA_PSK": "Connectus123$", - "twoFourG_WPA2-EAP_SSID": "EC420_2dot4G_WPA2-EAP", - "fiveG_WPA2_profile": 21, - "fiveG_WPA_profile": 22, - "fiveG_WPA2-EAP_profile": 210, - "twoFourG_WPA2_profile": 24, - "twoFourG_WPA_profile": 25, - "twoFourG_WPA2-EAP_profile": 209, - "ssid_list": [ - "EC420_5G_WPA2", - "EC420_5G_WPA", - "EC420_5G_WPA2-EAP", - "EC420_2dot4G_WPA2", - "EC420_2dot4G_WPA", - "EC420_2dot4G_WPA2-EAP" - ] - }, - - "ecw5211": { - "profile_id": "27", - "childProfileIds": [ - 32, - 10, - 28, - 29, - 205, - 206, - 31 - ], - "fiveG_WPA2_SSID": "ECW5211_5G_WPA2", - "fiveG_WPA2_PSK": "Connectus123$", - "fiveG_WPA_SSID": "ECW5211_5G_WPA", - "fiveG_WPA_PSK": "Connectus123$", - "fiveG_OPEN_SSID": "ECW5211_5G_OPEN", - "fiveG_WPA2-EAP_SSID": "ECW5211_5G_WPA2-EAP", - "twoFourG_OPEN_SSID": "ECW5211_2dot4G_OPEN", - "twoFourG_WPA2_SSID": "ECW5211_2dot4G_WPA2", - "twoFourG_WPA2_PSK": "Connectus123$", - "twoFourG_WPA_SSID": "ECW5211_2dot4G_WPA", - "twoFourG_WPA_PSK": "Connectus123$", - "twoFourG_WPA2-EAP_SSID": "ECW5211_2dot4G_WPA2-EAP", - "fiveG_WPA2_profile": 28, - "fiveG_WPA_profile": 29, - "fiveG_WPA2-EAP_profile": 206, - "twoFourG_WPA2_profile": 31, - "twoFourG_WPA_profile": 32, - "twoFourG_WPA2-EAP_profile": 205, - "ssid_list": [ - "ECW5211_5G_WPA2", - "ECW5211_5G_WPA", - "ECW5211_5G_WPA2-EAP", - "ECW5211_2dot4G_WPA2", - "ECW5211_2dot4G_WPA", - "ECW5211_2dot4G_WPA2-EAP" - ] - }, - - "wf188n": { - "profile_id": "3724", - "childProfileIds": [ - 3718, - 3719, - 3720, - 3721, - 3722, - 3723, - 10 - ], - "fiveG_WPA2_SSID": "WF188N_5G_WPA2", - "fiveG_WPA2_PSK": "Connectus123$", - "fiveG_WPA_SSID": "WF188N_5G_WPA", - "fiveG_WPA_PSK": "Connectus123$", - "fiveG_OPEN_SSID": "WF188N_5G_OPEN", - "fiveG_WPA2-EAP_SSID": "WF188N_5G_WPA2-EAP", - "twoFourG_OPEN_SSID": "WF188N_2dot4G_OPEN", - "twoFourG_WPA2_SSID": "WF188N_2dot4G_WPA2", - "twoFourG_WPA2_PSK": "Connectus123$", - "twoFourG_WPA_SSID": "WF188N_2dot4G_WPA", - "twoFourG_WPA_PSK": "Connectus123$", - "twoFourG_WPA2-EAP_SSID": "WF188N_2dot4G_WPA2-EAP", - "fiveG_WPA2_profile": 3719, - "fiveG_WPA_profile": 3720, - "fiveG_WPA2-EAP_profile": 3718, - "twoFourG_WPA2_profile": 3722, - "twoFourG_WPA_profile": 3723, - "twoFourG_WPA2-EAP_profile": 3721, - "ssid_list": [ - "WF188N_5G_WPA2", - "WF188N_5G_WPA", - "WF188N_5G_WPA2-EAP", - "WF188N_2dot4G_WPA2", - "WF188N_2dot4G_WPA", - "WF188N_2dot4G_WPA2-EAP" - ] - }, - - "wf194c": { - "profile_id": "4306", - "childProfileIds": [ - 4307, - 4308, - 4309, - 4310, - 4311, - 4312, - 10 - ], - "fiveG_WPA2_SSID": "WF194C_5G_WPA2", - "fiveG_WPA2_PSK": "Connectus123$", - "fiveG_WPA_SSID": "WF194C_5G_WPA", - "fiveG_WPA_PSK": "Connectus123$", - "fiveG_OPEN_SSID": "WF194C_5G_OPEN", - "fiveG_WPA2-EAP_SSID": "WF194C_5G_WPA2-EAP", - "twoFourG_OPEN_SSID": "WF194C_2dot4G_OPEN", - "twoFourG_WPA2_SSID": "WF194C_2dot4G_WPA2", - "twoFourG_WPA2_PSK": "Connectus123$", - "twoFourG_WPA_SSID": "WF194C_2dot4G_WPA", - "twoFourG_WPA_PSK": "Connectus123$", - "twoFourG_WPA2-EAP_SSID": "WF194C_2dot4G_WPA2-EAP", - "fiveG_WPA2_profile": 4308, - "fiveG_WPA_profile": 4307, - "fiveG_WPA2-EAP_profile": 4309, - "twoFourG_WPA2_profile": 4311, - "twoFourG_WPA_profile": 4310, - "twoFourG_WPA2-EAP_profile": 4312, - "ssid_list": [ - "WF194C_5G_WPA2", - "WF194C_5G_WPA", - "WF194C_5G_WPA2-EAP", - "WF194C_2dot4G_WPA2", - "WF194C_2dot4G_WPA", - "WF194C_2dot4G_WPA2-EAP" - ] - }, - - "ex227": { - "profile_id": "4964", - "childProfileIds": [ - 4958, - 4959, - 4960, - 4961, - 4962, - 4963, - 10 - ], - "fiveG_WPA2_SSID": "EX227_5G_WPA2", - "fiveG_WPA2_PSK": "Connectus123$", - "fiveG_WPA_SSID": "EX227_5G_WPA", - "fiveG_WPA_PSK": "Connectus123$", - "fiveG_OPEN_SSID": "EX227_5G_OPEN", - "fiveG_WPA2-EAP_SSID": "EX227_5G_WPA2-EAP", - "twoFourG_OPEN_SSID": "EX227_2dot4G_OPEN", - "twoFourG_WPA2_SSID": "EX227_2dot4G_WPA2", - "twoFourG_WPA2_PSK": "Connectus123$", - "twoFourG_WPA_SSID": "EX227_2dot4G_WPA", - "twoFourG_WPA_PSK": "Connectus123$", - "twoFourG_WPA2-EAP_SSID": "EX227_2dot4G_WPA2-EAP", - "fiveG_WPA2_profile": 4959, - "fiveG_WPA_profile": 4960, - "fiveG_WPA2-EAP_profile": 4958, - "twoFourG_WPA2_profile": 4962, - "twoFourG_WPA_profile": 4963, - "twoFourG_WPA2-EAP_profile": 4961, - "ssid_list": [ - "EX227_5G_WPA2", - "EX227_5G_WPA", - "EX227_5G_WPA2-EAP", - "EX227_2dot4G_WPA2", - "EX227_2dot4G_WPA", - "EX227_2dot4G_WPA2-EAP" - ] - }, - - "ex447": { - "profile_id": "5008", - "childProfileIds": [ - 5002, - 5003, - 5004, - 5005, - 5006, - 5007, - 10 - ], - "fiveG_WPA2_SSID": "EX447_5G_WPA2", - "fiveG_WPA2_PSK": "Connectus123$", - "fiveG_WPA_SSID": "EX447_5G_WPA", - "fiveG_WPA_PSK": "Connectus123$", - "fiveG_OPEN_SSID": "EX447_5G_OPEN", - "fiveG_WPA2-EAP_SSID": "EX447_5G_WPA2-EAP", - "twoFourG_OPEN_SSID": "EX447_2dot4G_OPEN", - "twoFourG_WPA2_SSID": "EX447_2dot4G_WPA2", - "twoFourG_WPA2_PSK": "Connectus123$", - "twoFourG_WPA_SSID": "EX447_2dot4G_WPA", - "twoFourG_WPA_PSK": "Connectus123$", - "twoFourG_WPA2-EAP_SSID": "EX447_2dot4G_WPA2-EAP", - "fiveG_WPA2_profile": 5003, - "fiveG_WPA_profile": 5004, - "fiveG_WPA2-EAP_profile": 5002, - "twoFourG_WPA2_profile": 5006, - "twoFourG_WPA_profile": 5007, - "twoFourG_WPA2-EAP_profile": 5005, - "ssid_list": [ - "EX447_5G_WPA2", - "EX447_5G_WPA", - "EX447_5G_WPA2-EAP", - "EX447_2dot4G_WPA2", - "EX447_2dot4G_WPA", - "EX447_2dot4G_WPA2-EAP" - ] - }, - - "eap101": { - "profile_id": "5029", - "childProfileIds": [ - 5023, - 5024, - 5025, - 5026, - 5027, - 5028, - 10 - ], - "fiveG_WPA2_SSID": "EAP101_5G_WPA2", - "fiveG_WPA2_PSK": "Connectus123$", - "fiveG_WPA_SSID": "EAP101_5G_WPA", - "fiveG_WPA_PSK": "Connectus123$", - "fiveG_OPEN_SSID": "EAP101_5G_OPEN", - "fiveG_WPA2-EAP_SSID": "EAP101_5G_WPA2-EAP", - "twoFourG_OPEN_SSID": "EAP101_2dot4G_OPEN", - "twoFourG_WPA2_SSID": "EAP101_2dot4G_WPA2", - "twoFourG_WPA2_PSK": "Connectus123$", - "twoFourG_WPA_SSID": "EAP101_2dot4G_WPA", - "twoFourG_WPA_PSK": "Connectus123$", - "twoFourG_WPA2-EAP_SSID": "EAP101_2dot4G_WPA2-EAP", - "fiveG_WPA2_profile": 5024, - "fiveG_WPA_profile": 5025, - "fiveG_WPA2-EAP_profile": 5023, - "twoFourG_WPA2_profile": 5027, - "twoFourG_WPA_profile": 5028, - "twoFourG_WPA2-EAP_profile": 5026, - "ssid_list": [ - "EAP101_5G_WPA2", - "EAP101_5G_WPA", - "EAP101_5G_WPA2-EAP", - "EAP101_2dot4G_WPA2", - "EAP101_2dot4G_WPA", - "EAP101_2dot4G_WPA2-EAP" - ] - }, - - "eap102": { - "profile_id": "5050", - "childProfileIds": [ - 5044, - 5045, - 5046, - 5057, - 5048, - 5049, - 10 - ], - "fiveG_WPA2_SSID": "EAP102_5G_WPA2", - "fiveG_WPA2_PSK": "Connectus123$", - "fiveG_WPA_SSID": "EAP102_5G_WPA", - "fiveG_WPA_PSK": "Connectus123$", - "fiveG_OPEN_SSID": "EAP102_5G_OPEN", - "fiveG_WPA2-EAP_SSID": "EAP102_5G_WPA2-EAP", - "twoFourG_OPEN_SSID": "EAP102_2dot4G_OPEN", - "twoFourG_WPA2_SSID": "EAP102_2dot4G_WPA2", - "twoFourG_WPA2_PSK": "Connectus123$", - "twoFourG_WPA_SSID": "EAP102_2dot4G_WPA", - "twoFourG_WPA_PSK": "Connectus123$", - "twoFourG_WPA2-EAP_SSID": "EAP102_2dot4G_WPA2-EAP", - "fiveG_WPA2_profile": 5045, - "fiveG_WPA_profile": 5046, - "fiveG_WPA2-EAP_profile": 5044, - "twoFourG_WPA2_profile": 5048, - "twoFourG_WPA_profile": 5049, - "twoFourG_WPA2-EAP_profile": 5047, - "ssid_list": [ - "EAP102_5G_WPA2", - "EAP102_5G_WPA", - "EAP102_5G_WPA2-EAP", - "EAP102_2dot4G_WPA2", - "EAP102_2dot4G_WPA", - "EAP102_2dot4G_WPA2-EAP" - ] - }, - - "ecw5410_nat": { - "profile_id": "68", - "childProfileIds": [ - 192, - 81, - 193, - 82, - 10, - 78, - 79 - ], - "fiveG_WPA2_SSID": "ECW5410_5G_WPA2_NAT", - "fiveG_WPA2_PSK": "Connectus123$", - "fiveG_WPA_SSID": "ECW5410_5G_WPA_NAT", - "fiveG_WPA_PSK": "Connectus123$", - "fiveG_OPEN_SSID": "ECW5410_5G_OPEN_NAT", - "fiveG_WPA2-EAP_SSID": "ECW5410_5G_WPA2-EAP_NAT", - "twoFourG_OPEN_SSID": "ECW5410_2dot4G_OPEN_NAT", - "twoFourG_WPA2_SSID": "ECW5410_2dot4G_WPA2_NAT", - "twoFourG_WPA2_PSK": "Connectus123$", - "twoFourG_WPA_SSID": "ECW5410_2dot4G_WPA_NAT", - "twoFourG_WPA_PSK": "Connectus123$", - "twoFourG_WPA2-EAP_SSID": "ECW5410_2dot4G_WPA2-EAP_NAT", - "fiveG_WPA2_profile": 78, - "fiveG_WPA_profile": 79, - "fiveG_WPA2-EAP_profile": 192, - "twoFourG_WPA2_profile": 81, - "twoFourG_WPA_profile": 82, - "twoFourG_WPA2-EAP_profile": 193, - "ssid_list": [ - "ECW5410_5G_WPA2_NAT", - "ECW5410_5G_WPA_NAT", - "ECW5410_5G_WPA2-EAP_NAT", - "ECW5410_2dot4G_WPA2_NAT", - "ECW5410_2dot4G_WPA_NAT", - "ECW5410_2dot4G_WPA2-EAP_NAT" - ] - }, - - "ea8300_nat": { - "profile_id": "67", - "childProfileIds": [ - 72, - 73, - 10, - 75, - 203, - 76, - 204 - ], - "fiveG_WPA2_SSID": "EA8300_5G_WPA2_NAT", - "fiveG_WPA2_PSK": "Connectus123$", - "fiveG_WPA_SSID": "EA8300_5G_WPA_NAT", - "fiveG_WPA_PSK": "Connectus123$", - "fiveG_OPEN_SSID": "EA8300_5G_OPEN_NAT", - "fiveG_WPA2-EAP_SSID": "EA8300_5G_WPA2-EAP_NAT", - "twoFourG_OPEN_SSID": "EA8300_2dot4G_OPEN_NAT", - "twoFourG_WPA2_SSID": "EA8300_2dot4G_WPA2_NAT", - "twoFourG_WPA2_PSK": "Connectus123$", - "twoFourG_WPA_SSID": "EA8300_2dot4G_WPA_NAT", - "twoFourG_WPA_PSK": "Connectus123$", - "twoFourG_WPA2-EAP_SSID": "EA8300_2dot4G_WPA2-EAP_NAT", - "fiveG_WPA2_profile": 72, - "fiveG_WPA_profile": 73, - "fiveG_WPA2-EAP_profile": 203, - "twoFourG_WPA2_profile": 75, - "twoFourG_WPA_profile": 76, - "twoFourG_WPA2-EAP_profile": 204, - # EA8300 has 2x 5GHz SSIDs because it is a tri-radio AP! - "ssid_list": [ - "EA8300_5G_WPA2_NAT", - "EA8300_5G_WPA2_NAT", - "EA8300_5G_WPA_NAT", - "EA8300_5G_WPA_NAT", - "EA8300_5G_WPA2-EAP_NAT", - "EA8300_5G_WPA2-EAP_NAT", - "EA8300_2dot4G_WPA2_NAT", - "EA8300_2dot4G_WPA_NAT", - "EA8300_2dot4G_WPA2-EAP_NAT" - ] - }, - - "ec420_nat": { - "profile_id": "70", - "childProfileIds": [ - 211, - 212, - 90, - 10, - 91, - 93, - 94 - ], - "fiveG_WPA2_SSID": "EC420_5G_WPA2_NAT", - "fiveG_WPA2_PSK": "Connectus123$", - "fiveG_WPA_SSID": "EC420_5G_WPA_NAT", - "fiveG_WPA_PSK": "Connectus123$", - "fiveG_OPEN_SSID": "EC420_5G_OPEN_NAT", - "fiveG_WPA2-EAP_SSID": "EC420_5G_WPA2-EAP_NAT", - "twoFourG_OPEN_SSID": "EC420_2dot4G_OPEN_NAT", - "twoFourG_WPA2_SSID": "EC420_2dot4G_WPA2_NAT", - "twoFourG_WPA2_PSK": "Connectus123$", - "twoFourG_WPA_SSID": "EC420_2dot4G_WPA_NAT", - "twoFourG_WPA_PSK": "Connectus123$", - "twoFourG_WPA2-EAP_SSID": "EC420_2dot4G_WPA2-EAP_NAT", - "fiveG_WPA2_profile": 90, - "fiveG_WPA_profile": 91, - "fiveG_WPA2-EAP_profile": 211, - "twoFourG_WPA2_profile": 93, - "twoFourG_WPA_profile": 94, - "twoFourG_WPA2-EAP_profile": 212, - "ssid_list": [ - "EC420_5G_WPA2_NAT", - "EC420_5G_WPA_NAT", - "EC420_5G_WPA2-EAP_NAT", - "EC420_2dot4G_WPA2_NAT", - "EC420_2dot4G_WPA_NAT", - "EC420_2dot4G_WPA2-EAP_NAT" - ] - }, - - "ecw5211_nat": { - "profile_id": "69", - "childProfileIds": [ - 208, - 84, - 85, - 87, - 88, - 10, - 207 - ], - "fiveG_WPA2_SSID": "ECW5211_5G_WPA2_NAT", - "fiveG_WPA2_PSK": "Connectus123$", - "fiveG_WPA_SSID": "ECW5211_5G_WPA_NAT", - "fiveG_WPA_PSK": "Connectus123$", - "fiveG_OPEN_SSID": "ECW5211_5G_OPEN_NAT", - "fiveG_WPA2-EAP_SSID": "ECW5211_5G_WPA2-EAP_NAT", - "twoFourG_OPEN_SSID": "ECW5211_2dot4G_OPEN_NAT", - "twoFourG_WPA2_SSID": "ECW5211_2dot4G_WPA2_NAT", - "twoFourG_WPA2_PSK": "Connectus123$", - "twoFourG_WPA_SSID": "ECW5211_2dot4G_WPA_NAT", - "twoFourG_WPA_PSK": "Connectus123$", - "twoFourG_WPA2-EAP_SSID": "ECW5211_2dot4G_WPA2-EAP_NAT", - "fiveG_WPA2_profile": 84, - "fiveG_WPA_profile": 85, - "fiveG_WPA2-EAP_profile": 207, - "twoFourG_WPA2_profile": 87, - "twoFourG_WPA_profile": 88, - "twoFourG_WPA2-EAP_profile": 208, - "ssid_list": [ - "ECW5211_5G_WPA2_NAT", - "ECW5211_5G_WPA_NAT", - "ECW5211_5G_WPA2-EAP_NAT", - "ECW5211_2dot4G_WPA2_NAT", - "ECW5211_2dot4G_WPA_NAT", - "ECW5211_2dot4G_WPA2-EAP_NAT" - ] - }, - - "wf188n_nat": { - "profile_id": "3732", - "childProfileIds": [ - 3728, - 3729, - 3730, - 3731, - 10, - 3726, - 3727 - ], - "fiveG_WPA2_SSID": "WF188N_5G_WPA2_NAT", - "fiveG_WPA2_PSK": "Connectus123$", - "fiveG_WPA_SSID": "WF188N_5G_WPA_NAT", - "fiveG_WPA_PSK": "Connectus123$", - "fiveG_OPEN_SSID": "WF188N_5G_OPEN_NAT", - "fiveG_WPA2-EAP_SSID": "WF188N_5G_WPA2-EAP_NAT", - "twoFourG_OPEN_SSID": "WF188N_2dot4G_OPEN_NAT", - "twoFourG_WPA2_SSID": "WF188N_2dot4G_WPA2_NAT", - "twoFourG_WPA2_PSK": "Connectus123$", - "twoFourG_WPA_SSID": "WF188N_2dot4G_WPA_NAT", - "twoFourG_WPA_PSK": "Connectus123$", - "twoFourG_WPA2-EAP_SSID": "WF188N_2dot4G_WPA2-EAP_NAT", - "fiveG_WPA2_profile": 3727, - "fiveG_WPA_profile": 3728, - "fiveG_WPA2-EAP_profile": 3726, - "twoFourG_WPA2_profile": 3730, - "twoFourG_WPA_profile": 3731, - "twoFourG_WPA2-EAP_profile": 3729, - "ssid_list": [ - "WF188N_5G_WPA2_NAT", - "WF188N_5G_WPA_NAT", - "WF188N_5G_WPA2-EAP_NAT", - "WF188N_2dot4G_WPA2_NAT", - "WF188N_2dot4G_WPA_NAT", - "WF188N_2dot4G_WPA2-EAP_NAT" - ] - }, - - "wf194c_nat": { - "profile_id": "4416", - "childProfileIds": [ - 4410, - 4411, - 4412, - 4413, - 10, - 4414, - 4415 - ], - "fiveG_WPA2_SSID": "WF194C_5G_WPA2_NAT", - "fiveG_WPA2_PSK": "Connectus123$", - "fiveG_WPA_SSID": "WF194C_5G_WPA_NAT", - "fiveG_WPA_PSK": "Connectus123$", - "fiveG_OPEN_SSID": "WF194C_5G_OPEN_NAT", - "fiveG_WPA2-EAP_SSID": "WF194C_5G_WPA2-EAP_NAT", - "twoFourG_OPEN_SSID": "WF194C_2dot4G_OPEN_NAT", - "twoFourG_WPA2_SSID": "WF194C_2dot4G_WPA2_NAT", - "twoFourG_WPA2_PSK": "Connectus123$", - "twoFourG_WPA_SSID": "WF194C_2dot4G_WPA_NAT", - "twoFourG_WPA_PSK": "Connectus123$", - "twoFourG_WPA2-EAP_SSID": "WF194C_2dot4G_WPA2-EAP_NAT", - "fiveG_WPA2_profile": 4411, - "fiveG_WPA_profile": 4412, - "fiveG_WPA2-EAP_profile": 4410, - "twoFourG_WPA2_profile": 4414, - "twoFourG_WPA_profile": 4415, - "twoFourG_WPA2-EAP_profile": 4413, - "ssid_list": [ - "WF194C_5G_WPA2_NAT", - "WF194C_5G_WPA_NAT", - "WF194C_5G_WPA2-EAP_NAT", - "WF194C_2dot4G_WPA2_NAT", - "WF194C_2dot4G_WPA_NAT", - "WF194C_2dot4G_WPA2-EAP_NAT" - ] - }, - - "ex227_nat": { - "profile_id": "4971", - "childProfileIds": [ - 4965, - 4966, - 4967, - 4968, - 10, - 4969, - 4970 - ], - "fiveG_WPA2_SSID": "EX227_5G_WPA2_NAT", - "fiveG_WPA2_PSK": "Connectus123$", - "fiveG_WPA_SSID": "EX227_5G_WPA_NAT", - "fiveG_WPA_PSK": "Connectus123$", - "fiveG_OPEN_SSID": "EX227_5G_OPEN_NAT", - "fiveG_WPA2-EAP_SSID": "EX227_5G_WPA2-EAP_NAT", - "twoFourG_OPEN_SSID": "EX227_2dot4G_OPEN_NAT", - "twoFourG_WPA2_SSID": "EX227_2dot4G_WPA2_NAT", - "twoFourG_WPA2_PSK": "Connectus123$", - "twoFourG_WPA_SSID": "EX227_2dot4G_WPA_NAT", - "twoFourG_WPA_PSK": "Connectus123$", - "twoFourG_WPA2-EAP_SSID": "EX227_2dot4G_WPA2-EAP_NAT", - "fiveG_WPA2_profile": 4966, - "fiveG_WPA_profile": 4967, - "fiveG_WPA2-EAP_profile": 4965, - "twoFourG_WPA2_profile": 4969, - "twoFourG_WPA_profile": 4970, - "twoFourG_WPA2-EAP_profile": 4968, - "ssid_list": [ - "EX227_5G_WPA2_NAT", - "EX227_5G_WPA_NAT", - "EX227_5G_WPA2-EAP_NAT", - "EX227_2dot4G_WPA2_NAT", - "EX227_2dot4G_WPA_NAT", - "EX227_2dot4G_WPA2-EAP_NAT" - ] - }, - - "ex447_nat": { - "profile_id": "5015", - "childProfileIds": [ - 5009, - 5010, - 5011, - 5012, - 10, - 5013, - 5014 - ], - "fiveG_WPA2_SSID": "EX447_5G_WPA2_NAT", - "fiveG_WPA2_PSK": "Connectus123$", - "fiveG_WPA_SSID": "EX447_5G_WPA_NAT", - "fiveG_WPA_PSK": "Connectus123$", - "fiveG_OPEN_SSID": "EX447_5G_OPEN_NAT", - "fiveG_WPA2-EAP_SSID": "EX447_5G_WPA2-EAP_NAT", - "twoFourG_OPEN_SSID": "EX447_2dot4G_OPEN_NAT", - "twoFourG_WPA2_SSID": "EX447_2dot4G_WPA2_NAT", - "twoFourG_WPA2_PSK": "Connectus123$", - "twoFourG_WPA_SSID": "EX447_2dot4G_WPA_NAT", - "twoFourG_WPA_PSK": "Connectus123$", - "twoFourG_WPA2-EAP_SSID": "EX447_2dot4G_WPA2-EAP_NAT", - "fiveG_WPA2_profile": 5010, - "fiveG_WPA_profile": 5011, - "fiveG_WPA2-EAP_profile": 5009, - "twoFourG_WPA2_profile": 5013, - "twoFourG_WPA_profile": 5014, - "twoFourG_WPA2-EAP_profile": 5012, - "ssid_list": [ - "EX447_5G_WPA2_NAT", - "EX447_5G_WPA_NAT", - "EX447_5G_WPA2-EAP_NAT", - "EX447_2dot4G_WPA2_NAT", - "EX447_2dot4G_WPA_NAT", - "EX447_2dot4G_WPA2-EAP_NAT" - ] - }, - - "eap102_nat": { - "profile_id": "5057", - "childProfileIds": [ - 5051, - 5052, - 5053, - 5054, - 10, - 5055, - 5056 - ], - "fiveG_WPA2_SSID": "EAP102_5G_WPA2_NAT", - "fiveG_WPA2_PSK": "Connectus123$", - "fiveG_WPA_SSID": "EAP102_5G_WPA_NAT", - "fiveG_WPA_PSK": "Connectus123$", - "fiveG_OPEN_SSID": "EAP102_5G_OPEN_NAT", - "fiveG_WPA2-EAP_SSID": "EAP102_5G_WPA2-EAP_NAT", - "twoFourG_OPEN_SSID": "EAP102_2dot4G_OPEN_NAT", - "twoFourG_WPA2_SSID": "EAP102_2dot4G_WPA2_NAT", - "twoFourG_WPA2_PSK": "Connectus123$", - "twoFourG_WPA_SSID": "EAP102_2dot4G_WPA_NAT", - "twoFourG_WPA_PSK": "Connectus123$", - "twoFourG_WPA2-EAP_SSID": "EAP102_2dot4G_WPA2-EAP_NAT", - "fiveG_WPA2_profile": 5052, - "fiveG_WPA_profile": 5053, - "fiveG_WPA2-EAP_profile": 5051, - "twoFourG_WPA2_profile": 5055, - "twoFourG_WPA_profile": 5056, - "twoFourG_WPA2-EAP_profile": 5054, - "ssid_list": [ - "EAP102_5G_WPA2_NAT", - "EAP102_5G_WPA_NAT", - "EAP102_5G_WPA2-EAP_NAT", - "EAP102_2dot4G_WPA2_NAT", - "EAP102_2dot4G_WPA_NAT", - "EAP102_2dot4G_WPA2-EAP_NAT" - ] - }, - - "eap101_nat": { - "profile_id": "5036", - "childProfileIds": [ - 5030, - 5031, - 5032, - 5033, - 10, - 5034, - 5035 - ], - "fiveG_WPA2_SSID": "EAP101_5G_WPA2_NAT", - "fiveG_WPA2_PSK": "Connectus123$", - "fiveG_WPA_SSID": "EAP101_5G_WPA_NAT", - "fiveG_WPA_PSK": "Connectus123$", - "fiveG_OPEN_SSID": "EAP101_5G_OPEN_NAT", - "fiveG_WPA2-EAP_SSID": "EAP101_5G_WPA2-EAP_NAT", - "twoFourG_OPEN_SSID": "EAP101_2dot4G_OPEN_NAT", - "twoFourG_WPA2_SSID": "EAP101_2dot4G_WPA2_NAT", - "twoFourG_WPA2_PSK": "Connectus123$", - "twoFourG_WPA_SSID": "EAP101_2dot4G_WPA_NAT", - "twoFourG_WPA_PSK": "Connectus123$", - "twoFourG_WPA2-EAP_SSID": "EAP101_2dot4G_WPA2-EAP_NAT", - "fiveG_WPA2_profile": 5031, - "fiveG_WPA_profile": 5032, - "fiveG_WPA2-EAP_profile": 5030, - "twoFourG_WPA2_profile": 5034, - "twoFourG_WPA_profile": 5035, - "twoFourG_WPA2-EAP_profile": 5033, - "ssid_list": [ - "EAP101_5G_WPA2_NAT", - "EAP101_5G_WPA_NAT", - "EAP101_5G_WPA2-EAP_NAT", - "EAP101_2dot4G_WPA2_NAT", - "EAP101_2dot4G_WPA_NAT", - "EAP101_2dot4G_WPA2-EAP_NAT" - ] - }, - - "ecw5410_vlan": { - "profile_id": "338", - "childProfileIds": [ - 336, - 320, - 337, - 10, - 333, - 334, - 335 - ], - "fiveG_WPA2_SSID": "ECW5410_5G_WPA2_VLAN", - "fiveG_WPA2_PSK": "Connectus123$", - "fiveG_WPA_SSID": "ECW5410_5G_WPA_VLAN", - "fiveG_WPA_PSK": "Connectus123$", - "fiveG_OPEN_SSID": "ECW5410_5G_OPEN_VLAN", - "fiveG_WPA2-EAP_SSID": "ECW5410_5G_WPA2-EAP_VLAN", - "twoFourG_OPEN_SSID": "ECW5410_2dot4G_OPEN_VLAN", - "twoFourG_WPA2_SSID": "ECW5410_2dot4G_WPA2_VLAN", - "twoFourG_WPA2_PSK": "Connectus123$", - "twoFourG_WPA_SSID": "ECW5410_2dot4G_WPA_VLAN", - "twoFourG_WPA_PSK": "Connectus123$", - "twoFourG_WPA2-EAP_SSID": "ECW5410_2dot4G_WPA2-EAP_VLAN", - "fiveG_WPA2_profile": 320, - "fiveG_WPA_profile": 333, - "fiveG_WPA2-EAP_profile": 337, - "twoFourG_WPA2_profile": 334, - "twoFourG_WPA_profile": 335, - "twoFourG_WPA2-EAP_profile": 336, - "ssid_list": [ - "ECW5410_5G_WPA2_VLAN", - "ECW5410_5G_WPA_VLAN", - "ECW5410_5G_WPA2-EAP_VLAN", - "ECW5410_2dot4G_WPA2_VLAN", - "ECW5410_2dot4G_WPA_VLAN", - "ECW5410_2dot4G_WPA2-EAP_VLAN" - ] - }, - - "ea8300_vlan": { - "profile_id": "319", - "childProfileIds": [ - 313, - 10, - 314, - 315, - 316, - 317, - 318 - ], - "fiveG_WPA2_SSID": "EA8300_5G_WPA2_VLAN", - "fiveG_WPA2_PSK": "Connectus123$", - "fiveG_WPA_SSID": "EA8300_5G_WPA_VLAN", - "fiveG_WPA_PSK": "Connectus123$", - "fiveG_OPEN_SSID": "EA8300_5G_OPEN_VLAN", - "fiveG_WPA2-EAP_SSID": "EA8300_5G_WPA2-EAP_VLAN", - "twoFourG_OPEN_SSID": "EA8300_2dot4G_OPEN_VLAN", - "twoFourG_WPA2_SSID": "EA8300_2dot4G_WPA2_VLAN", - "twoFourG_WPA2_PSK": "Connectus123$", - "twoFourG_WPA_SSID": "EA8300_2dot4G_WPA_VLAN", - "twoFourG_WPA_PSK": "Connectus123$", - "twoFourG_WPA2-EAP_SSID": "EA8300_2dot4G_WPA2-EAP_VLAN", - "fiveG_WPA2_profile": 313, - "fiveG_WPA_profile": 314, - "fiveG_WPA2-EAP_profile": 318, - "twoFourG_WPA2_profile": 315, - "twoFourG_WPA_profile": 316, - "twoFourG_WPA2-EAP_profile": 317, - # EA8300 has 2x 5GHz SSIDs because it is a tri-radio AP! - "ssid_list": [ - "EA8300_5G_WPA2_VLAN", - "EA8300_5G_WPA2_VLAN", - "EA8300_5G_WPA_VLAN", - "EA8300_5G_WPA_VLAN", - "EA8300_5G_WPA2-EAP_VLAN", - "EA8300_5G_WPA2-EAP_VLAN", - "EA8300_2dot4G_WPA2_VLAN", - "EA8300_2dot4G_WPA_VLAN", - "EA8300_2dot4G_WPA2-EAP_VLAN" - ] - }, - - "ec420_vlan": { - "profile_id": "357", - "childProfileIds": [ - 352, - 353, - 354, - 355, - 356, - 10, - 351 - ], - "fiveG_WPA2_SSID": "EC420_5G_WPA2_VLAN", - "fiveG_WPA2_PSK": "Connectus123$", - "fiveG_WPA_SSID": "EC420_5G_WPA_VLAN", - "fiveG_WPA_PSK": "Connectus123$", - "fiveG_OPEN_SSID": "EC420_5G_OPEN_VLAN", - "fiveG_WPA2-EAP_SSID": "EC420_5G_WPA2-EAP_VLAN", - "twoFourG_OPEN_SSID": "EC420_2dot4G_OPEN_VLAN", - "twoFourG_WPA2_SSID": "EC420_2dot4G_WPA2_VLAN", - "twoFourG_WPA2_PSK": "Connectus123$", - "twoFourG_WPA_SSID": "EC420_2dot4G_WPA_VLAN", - "twoFourG_WPA_PSK": "Connectus123$", - "twoFourG_WPA2-EAP_SSID": "EC420_2dot4G_WPA2-EAP_VLAN", - "fiveG_WPA2_profile": 351, - "fiveG_WPA_profile": 352, - "fiveG_WPA2-EAP_profile": 356, - "twoFourG_WPA2_profile": 353, - "twoFourG_WPA_profile": 354, - "twoFourG_WPA2-EAP_profile": 355, - "ssid_list": [ - "EC420_5G_WPA2_VLAN", - "EC420_5G_WPA_VLAN", - "EC420_5G_WPA2-EAP_VLAN", - "EC420_2dot4G_WPA2_VLAN", - "EC420_2dot4G_WPA_VLAN", - "EC420_2dot4G_WPA2-EAP_VLAN" - ] - }, - - "ecw5211_vlan": { - "profile_id": "364", - "childProfileIds": [ - 358, - 359, - 360, - 361, - 10, - 362, - 363 - ], - "fiveG_WPA2_SSID": "ECW5211_5G_WPA2_VLAN", - "fiveG_WPA2_PSK": "Connectus123$", - "fiveG_WPA_SSID": "ECW5211_5G_WPA_VLAN", - "fiveG_WPA_PSK": "Connectus123$", - "fiveG_OPEN_SSID": "ECW5211_5G_OPEN_VLAN", - "fiveG_WPA2-EAP_SSID": "ECW5211_5G_WPA2-EAP_VLAN", - "twoFourG_OPEN_SSID": "ECW5211_2dot4G_OPEN_VLAN", - "twoFourG_WPA2_SSID": "ECW5211_2dot4G_WPA2_VLAN", - "twoFourG_WPA2_PSK": "Connectus123$", - "twoFourG_WPA_SSID": "ECW5211_2dot4G_WPA_VLAN", - "twoFourG_WPA_PSK": "Connectus123$", - "twoFourG_WPA2-EAP_SSID": "ECW5211_2dot4G_WPA2-EAP_VLAN", - "fiveG_WPA2_profile": 358, - "fiveG_WPA_profile": 359, - "fiveG_WPA2-EAP_profile": 363, - "twoFourG_WPA2_profile": 360, - "twoFourG_WPA_profile": 361, - "twoFourG_WPA2-EAP_profile": 362, - "ssid_list": [ - "ECW5211_5G_WPA2_VLAN", - "ECW5211_5G_WPA_VLAN", - "ECW5211_5G_WPA2-EAP_VLAN", - "ECW5211_2dot4G_WPA2_VLAN", - "ECW5211_2dot4G_WPA_VLAN", - "ECW5211_2dot4G_WPA2-EAP_VLAN" - ] - }, - - "wf188n_vlan": { - "profile_id": "3740", - "childProfileIds": [ - 3734, - 3735, - 3736, - 3737, - 3738, - 10, - 3739 - ], - "fiveG_WPA2_SSID": "WF188N_5G_WPA2_VLAN", - "fiveG_WPA2_PSK": "Connectus123$", - "fiveG_WPA_SSID": "WF188N_5G_WPA_VLAN", - "fiveG_WPA_PSK": "Connectus123$", - "fiveG_OPEN_SSID": "WF188N_5G_OPEN_VLAN", - "fiveG_WPA2-EAP_SSID": "WF188N_5G_WPA2-EAP_VLAN", - "twoFourG_OPEN_SSID": "WF188N_2dot4G_OPEN_VLAN", - "twoFourG_WPA2_SSID": "WF188N_2dot4G_WPA2_VLAN", - "twoFourG_WPA2_PSK": "Connectus123$", - "twoFourG_WPA_SSID": "WF188N_2dot4G_WPA_VLAN", - "twoFourG_WPA_PSK": "Connectus123$", - "twoFourG_WPA2-EAP_SSID": "WF188N_2dot4G_WPA2-EAP_VLAN", - "fiveG_WPA2_profile": 3738, - "fiveG_WPA_profile": 3739, - "fiveG_WPA2-EAP_profile": 3737, - "twoFourG_WPA2_profile": 3722, - "twoFourG_WPA_profile": 3723, - "twoFourG_WPA2-EAP_profile": 3721, - "ssid_list": [ - "WF188N_5G_WPA2_VLAN", - "WF188N_5G_WPA_VLAN", - "WF188N_5G_WPA2-EAP_VLAN", - "WF188N_2dot4G_WPA2_VLAN", - "WF188N_2dot4G_WPA_VLAN", - "WF188N_2dot4G_WPA2-EAP_VLAN" - ] - }, - - "wf194c_vlan": { - "profile_id": "4429", - "childProfileIds": [ - 4423, - 4424, - 4425, - 4426, - 4427, - 10, - 4428 - ], - "fiveG_WPA2_SSID": "WF194C_5G_WPA2_VLAN", - "fiveG_WPA2_PSK": "Connectus123$", - "fiveG_WPA_SSID": "WF194C_5G_WPA_VLAN", - "fiveG_WPA_PSK": "Connectus123$", - "fiveG_OPEN_SSID": "WF194C_5G_OPEN_VLAN", - "fiveG_WPA2-EAP_SSID": "WF194C_5G_WPA2-EAP_VLAN", - "twoFourG_OPEN_SSID": "WF194C_2dot4G_OPEN_VLAN", - "twoFourG_WPA2_SSID": "WF194C_2dot4G_WPA2_VLAN", - "twoFourG_WPA2_PSK": "Connectus123$", - "twoFourG_WPA_SSID": "WF194C_2dot4G_WPA_VLAN", - "twoFourG_WPA_PSK": "Connectus123$", - "twoFourG_WPA2-EAP_SSID": "WF194C_2dot4G_WPA2-EAP_VLAN", - "fiveG_WPA2_profile": 4424, - "fiveG_WPA_profile": 4425, - "fiveG_WPA2-EAP_profile": 4423, - "twoFourG_WPA2_profile": 4427, - "twoFourG_WPA_profile": 4428, - "twoFourG_WPA2-EAP_profile": 4426, - "ssid_list": [ - "WF194C_5G_WPA2_VLAN", - "WF194C_5G_WPA_VLAN", - "WF194C_5G_WPA2-EAP_VLAN", - "WF194C_2dot4G_WPA2_VLAN", - "WF194C_2dot4G_WPA_VLAN", - "WF194C_2dot4G_WPA2-EAP_VLAN" - ] - }, - - "ex227_vlan": { - "profile_id": "4978", - "childProfileIds": [ - 4972, - 4973, - 4974, - 4975, - 4976, - 10, - 4977 - ], - "fiveG_WPA2_SSID": "EX227_5G_WPA2_VLAN", - "fiveG_WPA2_PSK": "Connectus123$", - "fiveG_WPA_SSID": "EX227_5G_WPA_VLAN", - "fiveG_WPA_PSK": "Connectus123$", - "fiveG_OPEN_SSID": "EX227_5G_OPEN_VLAN", - "fiveG_WPA2-EAP_SSID": "EX227_5G_WPA2-EAP_VLAN", - "twoFourG_OPEN_SSID": "EX227_2dot4G_OPEN_VLAN", - "twoFourG_WPA2_SSID": "EX227_2dot4G_WPA2_VLAN", - "twoFourG_WPA2_PSK": "Connectus123$", - "twoFourG_WPA_SSID": "EX227_2dot4G_WPA_VLAN", - "twoFourG_WPA_PSK": "Connectus123$", - "twoFourG_WPA2-EAP_SSID": "EX227_2dot4G_WPA2-EAP_VLAN", - "fiveG_WPA2_profile": 4973, - "fiveG_WPA_profile": 4974, - "fiveG_WPA2-EAP_profile": 4972, - "twoFourG_WPA2_profile": 4976, - "twoFourG_WPA_profile": 4977, - "twoFourG_WPA2-EAP_profile": 4975, - "ssid_list": [ - "EX227_5G_WPA2_VLAN", - "EX227_5G_WPA_VLAN", - "EX227_5G_WPA2-EAP_VLAN", - "EX227_2dot4G_WPA2_VLAN", - "EX227_2dot4G_WPA_VLAN", - "EX227_2dot4G_WPA2-EAP_VLAN" - ] - }, - - "ex447_vlan": { - "profile_id": "5022", - "childProfileIds": [ - 5016, - 5017, - 5018, - 5019, - 5020, - 10, - 5021 - ], - "fiveG_WPA2_SSID": "EX447_5G_WPA2_VLAN", - "fiveG_WPA2_PSK": "Connectus123$", - "fiveG_WPA_SSID": "EX447_5G_WPA_VLAN", - "fiveG_WPA_PSK": "Connectus123$", - "fiveG_OPEN_SSID": "EX447_5G_OPEN_VLAN", - "fiveG_WPA2-EAP_SSID": "EX447_5G_WPA2-EAP_VLAN", - "twoFourG_OPEN_SSID": "EX447_2dot4G_OPEN_VLAN", - "twoFourG_WPA2_SSID": "EX447_2dot4G_WPA2_VLAN", - "twoFourG_WPA2_PSK": "Connectus123$", - "twoFourG_WPA_SSID": "EX447_2dot4G_WPA_VLAN", - "twoFourG_WPA_PSK": "Connectus123$", - "twoFourG_WPA2-EAP_SSID": "EX447_2dot4G_WPA2-EAP_VLAN", - "fiveG_WPA2_profile": 4973, - "fiveG_WPA_profile": 4974, - "fiveG_WPA2-EAP_profile": 4972, - "twoFourG_WPA2_profile": 4976, - "twoFourG_WPA_profile": 4977, - "twoFourG_WPA2-EAP_profile": 4975, - "ssid_list": [ - "EX447_5G_WPA2_VLAN", - "EX447_5G_WPA_VLAN", - "EX447_5G_WPA2-EAP_VLAN", - "EX447_2dot4G_WPA2_VLAN", - "EX447_2dot4G_WPA_VLAN", - "EX447_2dot4G_WPA2-EAP_VLAN" - ] - }, - - "eap101_vlan": { - "profile_id": "5043", - "childProfileIds": [ - 5037, - 5038, - 5039, - 5040, - 5041, - 10, - 5042 - ], - "fiveG_WPA2_SSID": "EAP101_5G_WPA2_VLAN", - "fiveG_WPA2_PSK": "Connectus123$", - "fiveG_WPA_SSID": "EAP101_5G_WPA_VLAN", - "fiveG_WPA_PSK": "Connectus123$", - "fiveG_OPEN_SSID": "EAP101_5G_OPEN_VLAN", - "fiveG_WPA2-EAP_SSID": "EAP101_5G_WPA2-EAP_VLAN", - "twoFourG_OPEN_SSID": "EAP101_2dot4G_OPEN_VLAN", - "twoFourG_WPA2_SSID": "EAP101_2dot4G_WPA2_VLAN", - "twoFourG_WPA2_PSK": "Connectus123$", - "twoFourG_WPA_SSID": "EAP101_2dot4G_WPA_VLAN", - "twoFourG_WPA_PSK": "Connectus123$", - "twoFourG_WPA2-EAP_SSID": "EAP101_2dot4G_WPA2-EAP_VLAN", - "fiveG_WPA2_profile": 5038, - "fiveG_WPA_profile": 5039, - "fiveG_WPA2-EAP_profile": 5037, - "twoFourG_WPA2_profile": 5041, - "twoFourG_WPA_profile": 5042, - "twoFourG_WPA2-EAP_profile": 5040, - "ssid_list": [ - "EAP101_5G_WPA2_VLAN", - "EAP101_5G_WPA_VLAN", - "EAP101_5G_WPA2-EAP_VLAN", - "EAP101_2dot4G_WPA2_VLAN", - "EAP101_2dot4G_WPA_VLAN", - "EAP101_2dot4G_WPA2-EAP_VLAN" - ] - }, - - "eap102_vlan": { - "profile_id": "5064", - "childProfileIds": [ - 5058, - 5059, - 5060, - 5061, - 5062, - 10, - 5063 - ], - "fiveG_WPA2_SSID": "EAP102_5G_WPA2_VLAN", - "fiveG_WPA2_PSK": "Connectus123$", - "fiveG_WPA_SSID": "EAP102_5G_WPA_VLAN", - "fiveG_WPA_PSK": "Connectus123$", - "fiveG_OPEN_SSID": "EAP102_5G_OPEN_VLAN", - "fiveG_WPA2-EAP_SSID": "EAP102_5G_WPA2-EAP_VLAN", - "twoFourG_OPEN_SSID": "EAP102_2dot4G_OPEN_VLAN", - "twoFourG_WPA2_SSID": "EAP102_2dot4G_WPA2_VLAN", - "twoFourG_WPA2_PSK": "Connectus123$", - "twoFourG_WPA_SSID": "EAP102_2dot4G_WPA_VLAN", - "twoFourG_WPA_PSK": "Connectus123$", - "twoFourG_WPA2-EAP_SSID": "EAP102_2dot4G_WPA2-EAP_VLAN", - "fiveG_WPA2_profile": 5059, - "fiveG_WPA_profile": 5060, - "fiveG_WPA2-EAP_profile": 5058, - "twoFourG_WPA2_profile": 5060, - "twoFourG_WPA_profile": 5061, - "twoFourG_WPA2-EAP_profile": 5059, - "ssid_list": [ - "EAP102_5G_WPA2_VLAN", - "EAP102_5G_WPA_VLAN", - "EAP102_5G_WPA2-EAP_VLAN", - "EAP102_2dot4G_WPA2_VLAN", - "EAP102_2dot4G_WPA_VLAN", - "EAP102_2dot4G_WPA2-EAP_VLAN" - ] - }, -} diff --git a/libs/testrails/testrail_api.py b/libs/testrails/testrail_api.py index 841c2bc97..f8a01019d 100644 --- a/libs/testrails/testrail_api.py +++ b/libs/testrails/testrail_api.py @@ -1,4 +1,5 @@ -"""TestRail API binding for Python 3.x. +""" +TestRail API binding for Python 3.x. """ @@ -189,8 +190,5 @@ class APIClient: print("result in post", result) -# client: APIClient = APIClient(os.getenv('TR_URL')) - - class APIError(Exception): pass diff --git a/tests/ap_tests/test_apnos.py b/tests/ap_tests/test_apnos.py index 3a506c5f1..cd5bcb07e 100644 --- a/tests/ap_tests/test_apnos.py +++ b/tests/ap_tests/test_apnos.py @@ -12,7 +12,6 @@ class TestConnection(object): @pytest.mark.ap_manager_state def test_ap_manager_state(self, get_ap_manager_status, instantiate_testrail, instantiate_project): - print("5") if "ACTIVE" not in get_ap_manager_status: instantiate_testrail.update_testrail(case_id=TEST_CASES["cloud_connection"], run_id=instantiate_project, status_id=5, @@ -36,14 +35,11 @@ class TestFirmwareAPNOS(object): @pytest.mark.check_active_firmware_ap def test_ap_firmware(self, check_ap_firmware_ssh, get_latest_firmware, instantiate_testrail, instantiate_project): - print("6") if check_ap_firmware_ssh == get_latest_firmware: - status = True instantiate_testrail.update_testrail(case_id=TEST_CASES["ap_upgrade"], run_id=instantiate_project, status_id=1, msg='Upgrade to ' + get_latest_firmware + ' successful') else: - status = False instantiate_testrail.update_testrail(case_id=TEST_CASES["ap_upgrade"], run_id=instantiate_project, status_id=4, msg='Cannot reach AP after upgrade to check CLI - re-test required') diff --git a/tests/client_connectivity/test_bridge_mode.py b/tests/client_connectivity/test_bridge_mode.py index 8177abf15..0b93d8a4f 100644 --- a/tests/client_connectivity/test_bridge_mode.py +++ b/tests/client_connectivity/test_bridge_mode.py @@ -300,3 +300,53 @@ class TestBridgeModeClientConnectivity(object): msg='5G WPA2 ENTERPRISE Client Connectivity Failed - bridge mode') assert eap_connect.passes() + @pytest.mark.modify_ssid + @pytest.mark.parametrize( + 'update_ssid', + (["BRIDGE, WPA, 5G, Sanity-updated-5G-WPA-BRIDGE"]), + indirect=True + ) + def test_modify_ssid(self, request, update_ssid, get_lanforge_data, setup_profile_data, instantiate_testrail, instantiate_project): + profile_data = setup_profile_data["BRIDGE"]["WPA"]["5G"] + station_names = [] + for i in range(0, int(request.config.getini("num_stations"))): + station_names.append(get_lanforge_data["lanforge_5g_prefix"] + "0" + str(i)) + staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), + debug_=False) + staConnect.sta_mode = 0 + staConnect.upstream_resource = 1 + staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] + staConnect.radio = get_lanforge_data["lanforge_5g"] + staConnect.resource = 1 + staConnect.dut_ssid = profile_data["ssid_name"] + staConnect.dut_passwd = profile_data["security_key"] + staConnect.dut_security = "wpa" + staConnect.station_names = station_names + staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] + staConnect.runtime_secs = 10 + staConnect.bringup_time_sec = 60 + staConnect.cleanup_on_exit = True + # staConnect.cleanup() + staConnect.setup() + staConnect.start() + print("napping %f sec" % staConnect.runtime_secs) + time.sleep(staConnect.runtime_secs) + staConnect.stop() + staConnect.cleanup() + run_results = staConnect.get_result_list() + for result in run_results: + print("test result: " + result) + # result = 'pass' + print("Single Client Connectivity :", staConnect.passes) + if staConnect.passes(): + instantiate_testrail.update_testrail(case_id=TEST_CASES["bridge_ssid_update"], run_id=instantiate_project, + status_id=1, + msg='5G WPA Client Connectivity Passed successfully - bridge mode ' + 'updated ssid') + else: + instantiate_testrail.update_testrail(case_id=TEST_CASES["bridge_ssid_update"], run_id=instantiate_project, + status_id=5, + msg='5G WPA Client Connectivity Failed - bridge mode updated ssid') + assert staConnect.passes() + + diff --git a/tests/client_connectivity/test_nat_mode.py b/tests/client_connectivity/test_nat_mode.py index 0e8aa6061..d0f007b44 100644 --- a/tests/client_connectivity/test_nat_mode.py +++ b/tests/client_connectivity/test_nat_mode.py @@ -12,6 +12,7 @@ sys.path.append(f'../libs/lanforge/') from LANforge.LFUtils import * from configuration_data import TEST_CASES + if 'py-json' not in sys.path: sys.path.append('../py-scripts') @@ -28,7 +29,8 @@ class TestNatModeClientConnectivity(object): @pytest.mark.wpa @pytest.mark.twog - def test_client_wpa_2g(self, request, get_lanforge_data, setup_profile_data, instantiate_testrail, instantiate_project): + def test_client_wpa_2g(self, request, get_lanforge_data, setup_profile_data, instantiate_testrail, + instantiate_project): profile_data = setup_profile_data["NAT"]["WPA"]["2G"] station_names = [] for i in range(0, int(request.config.getini("num_stations"))): @@ -74,7 +76,8 @@ class TestNatModeClientConnectivity(object): @pytest.mark.wpa @pytest.mark.fiveg - def test_client_wpa_5g(self, request, get_lanforge_data, setup_profile_data, instantiate_project, instantiate_testrail): + def test_client_wpa_5g(self, request, get_lanforge_data, setup_profile_data, instantiate_project, + instantiate_testrail): profile_data = setup_profile_data["NAT"]["WPA"]["5G"] station_names = [] for i in range(0, int(request.config.getini("num_stations"))): @@ -119,7 +122,8 @@ class TestNatModeClientConnectivity(object): @pytest.mark.wpa2_personal @pytest.mark.twog - def test_client_wpa2_personal_2g(self, request, get_lanforge_data, setup_profile_data, instantiate_project, instantiate_testrail): + def test_client_wpa2_personal_2g(self, request, get_lanforge_data, setup_profile_data, instantiate_project, + instantiate_testrail): profile_data = setup_profile_data["NAT"]["WPA2_P"]["2G"] station_names = [] for i in range(0, int(request.config.getini("num_stations"))): @@ -164,7 +168,8 @@ class TestNatModeClientConnectivity(object): @pytest.mark.wpa2_personal @pytest.mark.fiveg - def test_client_wpa2_personal_5g(self, request, get_lanforge_data, setup_profile_data, instantiate_project, instantiate_testrail): + def test_client_wpa2_personal_5g(self, request, get_lanforge_data, setup_profile_data, instantiate_project, + instantiate_testrail): profile_data = setup_profile_data["NAT"]["WPA2_P"]["5G"] station_names = [] for i in range(0, int(request.config.getini("num_stations"))): @@ -209,7 +214,8 @@ class TestNatModeClientConnectivity(object): @pytest.mark.wpa2_enterprise @pytest.mark.twog - def test_client_wpa2_enterprise_2g(self, request, get_lanforge_data, setup_profile_data, instantiate_project, instantiate_testrail): + def test_client_wpa2_enterprise_2g(self, request, get_lanforge_data, setup_profile_data, instantiate_project, + instantiate_testrail): profile_data = setup_profile_data["NAT"]["WPA2_E"]["2G"] station_names = [] for i in range(0, int(request.config.getini("num_stations"))): @@ -256,7 +262,8 @@ class TestNatModeClientConnectivity(object): @pytest.mark.wpa2_enterprise @pytest.mark.fiveg - def test_client_wpa2_enterprise_5g(self, request, get_lanforge_data, setup_profile_data, instantiate_project, instantiate_testrail): + def test_client_wpa2_enterprise_5g(self, request, get_lanforge_data, setup_profile_data, instantiate_project, + instantiate_testrail): profile_data = setup_profile_data["NAT"]["WPA2_E"]["5G"] station_names = [] for i in range(0, int(request.config.getini("num_stations"))): @@ -299,3 +306,53 @@ class TestNatModeClientConnectivity(object): status_id=5, msg='5G WPA2 ENTERPRISE Client Connectivity Failed - nat mode') assert eap_connect.passes() + + @pytest.mark.modify_ssid + @pytest.mark.parametrize( + 'update_ssid', + (["NAT, WPA, 5G, Sanity-updated-5G-WPA-NAT"]), + indirect=True + ) + def test_modify_ssid(self, request, update_ssid, get_lanforge_data, setup_profile_data, instantiate_testrail, + instantiate_project): + profile_data = setup_profile_data["NAT"]["WPA"]["5G"] + station_names = [] + for i in range(0, int(request.config.getini("num_stations"))): + station_names.append(get_lanforge_data["lanforge_5g_prefix"] + "0" + str(i)) + staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), + debug_=False) + staConnect.sta_mode = 0 + staConnect.upstream_resource = 1 + staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] + staConnect.radio = get_lanforge_data["lanforge_5g"] + staConnect.resource = 1 + staConnect.dut_ssid = profile_data["ssid_name"] + staConnect.dut_passwd = profile_data["security_key"] + staConnect.dut_security = "wpa" + staConnect.station_names = station_names + staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] + staConnect.runtime_secs = 10 + staConnect.bringup_time_sec = 60 + staConnect.cleanup_on_exit = True + # staConnect.cleanup() + staConnect.setup() + staConnect.start() + print("napping %f sec" % staConnect.runtime_secs) + time.sleep(staConnect.runtime_secs) + staConnect.stop() + staConnect.cleanup() + run_results = staConnect.get_result_list() + for result in run_results: + print("test result: " + result) + # result = 'pass' + print("Single Client Connectivity :", staConnect.passes) + if staConnect.passes(): + instantiate_testrail.update_testrail(case_id=TEST_CASES["nat_ssid_update"], run_id=instantiate_project, + status_id=1, + msg='5G WPA Client Connectivity Passed successfully - nat mode ' + 'updated ssid') + else: + instantiate_testrail.update_testrail(case_id=TEST_CASES["nat_ssid_update"], run_id=instantiate_project, + status_id=5, + msg='5G WPA Client Connectivity Failed - nat mode updated ssid') + assert staConnect.passes() diff --git a/tests/client_connectivity/test_vlan_mode.py b/tests/client_connectivity/test_vlan_mode.py index 9cf2f4fdb..bbdaeeafd 100644 --- a/tests/client_connectivity/test_vlan_mode.py +++ b/tests/client_connectivity/test_vlan_mode.py @@ -299,3 +299,53 @@ class TestVlanModeClientConnectivity(object): status_id=5, msg='5G WPA2 ENTERPRISE Client Connectivity Failed - vlan mode') assert eap_connect.passes() + + @pytest.mark.modify_ssid + @pytest.mark.parametrize( + 'update_ssid', + (["VLAN, WPA, 5G, Sanity-updated-5G-WPA-VLAN"]), + indirect=True + ) + def test_modify_ssid(self, request, update_ssid, get_lanforge_data, setup_profile_data, instantiate_testrail, + instantiate_project): + profile_data = setup_profile_data["VLAN"]["WPA"]["5G"] + station_names = [] + for i in range(0, int(request.config.getini("num_stations"))): + station_names.append(get_lanforge_data["lanforge_5g_prefix"] + "0" + str(i)) + staConnect = StaConnect2(get_lanforge_data["lanforge_ip"], int(get_lanforge_data["lanforge-port-number"]), + debug_=False) + staConnect.sta_mode = 0 + staConnect.upstream_resource = 1 + staConnect.upstream_port = get_lanforge_data["lanforge_bridge_port"] + staConnect.radio = get_lanforge_data["lanforge_5g"] + staConnect.resource = 1 + staConnect.dut_ssid = profile_data["ssid_name"] + staConnect.dut_passwd = profile_data["security_key"] + staConnect.dut_security = "wpa" + staConnect.station_names = station_names + staConnect.sta_prefix = get_lanforge_data["lanforge_5g_prefix"] + staConnect.runtime_secs = 10 + staConnect.bringup_time_sec = 60 + staConnect.cleanup_on_exit = True + # staConnect.cleanup() + staConnect.setup() + staConnect.start() + print("napping %f sec" % staConnect.runtime_secs) + time.sleep(staConnect.runtime_secs) + staConnect.stop() + staConnect.cleanup() + run_results = staConnect.get_result_list() + for result in run_results: + print("test result: " + result) + # result = 'pass' + print("Single Client Connectivity :", staConnect.passes) + if staConnect.passes(): + instantiate_testrail.update_testrail(case_id=TEST_CASES["vlan_ssid_update"], run_id=instantiate_project, + status_id=1, + msg='5G WPA Client Connectivity Passed successfully - vlan mode ' + 'updated ssid') + else: + instantiate_testrail.update_testrail(case_id=TEST_CASES["vlan_ssid_update"], run_id=instantiate_project, + status_id=5, + msg='5G WPA Client Connectivity Failed - vlan mode updated ssid') + assert staConnect.passes() diff --git a/tests/cloudsdk_tests/test_cloud.py b/tests/cloudsdk_tests/test_cloud.py index 5b2262c3d..0190eecf7 100644 --- a/tests/cloudsdk_tests/test_cloud.py +++ b/tests/cloudsdk_tests/test_cloud.py @@ -20,7 +20,6 @@ class TestCloudSDK(object): @pytest.mark.sdk_version_check def test_cloud_sdk_version(self, instantiate_cloudsdk, instantiate_testrail, instantiate_project): - print("1") cloudsdk_cluster_info = {} # Needed in Test Result try: response = instantiate_cloudsdk.portal_ping() @@ -49,7 +48,6 @@ class TestFirmware(object): @pytest.mark.firmware_create def test_firmware_create(self, upload_firmware, instantiate_testrail, instantiate_project): - print("2") if upload_firmware != 0: instantiate_testrail.update_testrail(case_id=TEST_CASES["create_fw"], run_id=instantiate_project, status_id=1, @@ -64,7 +62,6 @@ class TestFirmware(object): @pytest.mark.firmware_upgrade def test_firmware_upgrade_request(self, upgrade_firmware, instantiate_testrail, instantiate_project): - print("3") if not upgrade_firmware: instantiate_testrail.update_testrail(case_id=TEST_CASES["upgrade_api"], run_id=instantiate_project, status_id=0, @@ -79,14 +76,11 @@ class TestFirmware(object): @pytest.mark.check_active_firmware_cloud def test_active_version_cloud(self, get_latest_firmware, check_ap_firmware_cloud, instantiate_testrail, instantiate_project): - print("4") if get_latest_firmware != check_ap_firmware_cloud: instantiate_testrail.update_testrail(case_id=TEST_CASES["cloud_fw"], run_id=instantiate_project, status_id=5, msg='CLOUDSDK reporting incorrect firmware version.') - PASS = False else: - PASS = True instantiate_testrail.update_testrail(case_id=TEST_CASES["cloud_fw"], run_id=instantiate_project, status_id=1, msg='CLOUDSDK reporting correct firmware version.') diff --git a/tests/cloudsdk_tests/test_profile.py b/tests/cloudsdk_tests/test_profile.py index b1bef479a..19114d252 100644 --- a/tests/cloudsdk_tests/test_profile.py +++ b/tests/cloudsdk_tests/test_profile.py @@ -110,13 +110,11 @@ class TestRadiusProfile(object): class TestProfilesBridge(object): def test_reset_profile(self, reset_profile): - print("9") assert reset_profile @pytest.mark.fiveg @pytest.mark.wpa def test_ssid_wpa_5g(self, instantiate_profile, create_wpa_ssid_5g_profile_bridge, instantiate_testrail, instantiate_project): - print("10") profile_data = create_wpa_ssid_5g_profile_bridge if profile_data: instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa_bridge"], run_id=instantiate_project, @@ -133,7 +131,6 @@ class TestProfilesBridge(object): @pytest.mark.twog @pytest.mark.wpa def test_ssid_wpa_2g(self, instantiate_profile, create_wpa_ssid_2g_profile_bridge, instantiate_testrail, instantiate_project): - print("11") profile_data = create_wpa_ssid_2g_profile_bridge if profile_data: instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa_bridge"], run_id=instantiate_project, @@ -150,7 +147,6 @@ class TestProfilesBridge(object): @pytest.mark.twog @pytest.mark.wpa2_personal def test_ssid_wpa2_personal_2g(self, instantiate_profile, create_wpa2_p_ssid_2g_profile_bridge, instantiate_testrail, instantiate_project): - print("12") profile_data = create_wpa2_p_ssid_2g_profile_bridge if profile_data: instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa2_bridge"], run_id=instantiate_project, @@ -167,7 +163,6 @@ class TestProfilesBridge(object): @pytest.mark.fiveg @pytest.mark.wpa2_personal def test_ssid_wpa2_personal_5g(self, instantiate_profile, create_wpa2_p_ssid_5g_profile_bridge, instantiate_testrail, instantiate_project): - print("13") profile_data = create_wpa2_p_ssid_5g_profile_bridge if profile_data: instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa2_bridge"], run_id=instantiate_project, @@ -184,7 +179,6 @@ class TestProfilesBridge(object): @pytest.mark.twog @pytest.mark.wpa2_enterprise def test_ssid_wpa2_enterprise_2g(self, instantiate_profile, create_wpa2_e_ssid_2g_profile_bridge, instantiate_testrail, instantiate_project): - print("14") profile_data = create_wpa2_e_ssid_2g_profile_bridge if profile_data: instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_eap_bridge"], run_id=instantiate_project, @@ -201,7 +195,6 @@ class TestProfilesBridge(object): @pytest.mark.fiveg @pytest.mark.wpa2_enterprise def test_ssid_wpa2_enterprise_5g(self, instantiate_profile, create_wpa2_e_ssid_5g_profile_bridge, instantiate_testrail, instantiate_project): - print("15") profile_data = create_wpa2_e_ssid_5g_profile_bridge if profile_data: instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_eap_bridge"], run_id=instantiate_project, @@ -289,13 +282,11 @@ class TestEquipmentAPProfile(object): class TestProfilesNAT(object): def test_reset_profile(self, reset_profile): - print("9") assert reset_profile @pytest.mark.fiveg @pytest.mark.wpa def test_ssid_wpa_5g(self, instantiate_profile, create_wpa_ssid_5g_profile_nat, instantiate_testrail, instantiate_project): - print("10") profile_data = create_wpa_ssid_5g_profile_nat if profile_data: instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa_nat"], run_id=instantiate_project, @@ -312,7 +303,6 @@ class TestProfilesNAT(object): @pytest.mark.twog @pytest.mark.wpa def test_ssid_wpa_2g(self, instantiate_profile, create_wpa_ssid_2g_profile_nat, instantiate_testrail, instantiate_project): - print("11") profile_data = create_wpa_ssid_2g_profile_nat if profile_data: instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa_nat"], run_id=instantiate_project, @@ -329,7 +319,6 @@ class TestProfilesNAT(object): @pytest.mark.twog @pytest.mark.wpa2_personal def test_ssid_wpa2_personal_2g(self, instantiate_profile, create_wpa2_p_ssid_2g_profile_nat, instantiate_testrail, instantiate_project): - print("12") profile_data = create_wpa2_p_ssid_2g_profile_nat if profile_data: instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa2_nat"], run_id=instantiate_project, @@ -346,7 +335,6 @@ class TestProfilesNAT(object): @pytest.mark.fiveg @pytest.mark.wpa2_personal def test_ssid_wpa2_personal_5g(self, instantiate_profile, create_wpa2_p_ssid_5g_profile_nat, instantiate_testrail, instantiate_project): - print("13") profile_data = create_wpa2_p_ssid_5g_profile_nat if profile_data: instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa2_nat"], run_id=instantiate_project, @@ -363,7 +351,6 @@ class TestProfilesNAT(object): @pytest.mark.twog @pytest.mark.wpa2_enterprise def test_ssid_wpa2_enterprise_2g(self, instantiate_profile, create_wpa2_e_ssid_2g_profile_nat, instantiate_testrail, instantiate_project): - print("14") profile_data = create_wpa2_e_ssid_2g_profile_nat if profile_data: instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_eap_nat"], run_id=instantiate_project, @@ -380,7 +367,6 @@ class TestProfilesNAT(object): @pytest.mark.fiveg @pytest.mark.wpa2_enterprise def test_ssid_wpa2_enterprise_5g(self, instantiate_profile, create_wpa2_e_ssid_5g_profile_nat, instantiate_testrail, instantiate_project): - print("15") profile_data = create_wpa2_e_ssid_5g_profile_nat if profile_data: instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_eap_nat"], run_id=instantiate_project, @@ -401,13 +387,11 @@ class TestProfilesNAT(object): class TestProfilesVLAN(object): def test_reset_profile(self, reset_profile): - print("9") assert reset_profile @pytest.mark.fiveg @pytest.mark.wpa def test_ssid_wpa_5g(self, instantiate_profile, create_wpa_ssid_5g_profile_vlan, instantiate_testrail, instantiate_project): - print("10") profile_data = create_wpa_ssid_5g_profile_vlan if profile_data: instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa_vlan"], run_id=instantiate_project, @@ -424,7 +408,6 @@ class TestProfilesVLAN(object): @pytest.mark.twog @pytest.mark.wpa def test_ssid_wpa_2g(self, instantiate_profile, create_wpa_ssid_2g_profile_vlan, instantiate_testrail, instantiate_project): - print("11") profile_data = create_wpa_ssid_2g_profile_vlan if profile_data: instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa_vlan"], run_id=instantiate_project, @@ -441,7 +424,6 @@ class TestProfilesVLAN(object): @pytest.mark.twog @pytest.mark.wpa2_personal def test_ssid_wpa2_personal_2g(self, instantiate_profile, create_wpa2_p_ssid_2g_profile_vlan, instantiate_testrail, instantiate_project): - print("12") profile_data = create_wpa2_p_ssid_2g_profile_vlan if profile_data: instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_wpa2_vlan"], run_id=instantiate_project, @@ -458,7 +440,6 @@ class TestProfilesVLAN(object): @pytest.mark.fiveg @pytest.mark.wpa2_personal def test_ssid_wpa2_personal_5g(self, instantiate_profile, create_wpa2_p_ssid_5g_profile_vlan, instantiate_testrail, instantiate_project): - print("13") profile_data = create_wpa2_p_ssid_5g_profile_vlan if profile_data: instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_wpa2_vlan"], run_id=instantiate_project, @@ -475,7 +456,6 @@ class TestProfilesVLAN(object): @pytest.mark.twog @pytest.mark.wpa2_enterprise def test_ssid_wpa2_enterprise_2g(self, instantiate_profile, create_wpa2_e_ssid_2g_profile_vlan, instantiate_testrail, instantiate_project): - print("14") profile_data = create_wpa2_e_ssid_2g_profile_vlan if profile_data: instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_2g_eap_vlan"], run_id=instantiate_project, @@ -492,7 +472,6 @@ class TestProfilesVLAN(object): @pytest.mark.fiveg @pytest.mark.wpa2_enterprise def test_ssid_wpa2_enterprise_5g(self, instantiate_profile, create_wpa2_e_ssid_5g_profile_vlan, instantiate_testrail, instantiate_project): - print("15") profile_data = create_wpa2_e_ssid_5g_profile_vlan if profile_data: instantiate_testrail.update_testrail(case_id=TEST_CASES["ssid_5g_eap_vlan"], run_id=instantiate_project, diff --git a/tests/conftest.py b/tests/conftest.py index 056d3fa6c..602de8755 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -119,6 +119,8 @@ def pytest_addoption(parser): default=False, help="Stop using Testrails" ) + + """ Test session base fixture """ @@ -225,7 +227,6 @@ def check_ap_firmware_ssh(request, testrun_session): active_fw = ap_ssh.get_active_firmware() except Exception as e: active_fw = False - # (active_fw) yield active_fw @@ -289,8 +290,8 @@ def setup_profile_data(testrun_session): profile_data[mode][security] = {} for radio in "2G", "5G": profile_data[mode][security][radio] = {} - name_string = "%s-%s-%s_%s_%s" % ("Sanity", testrun_session, radio, security, mode) - passkey_string = "%s-%s_%s" % (radio, security, mode) + name_string = f"{'Sanity'}-{testrun_session}-{radio}_{security}_{mode}" + passkey_string = f"{radio}-{security}_{mode}" profile_data[mode][security][radio]["profile_name"] = name_string profile_data[mode][security][radio]["ssid_name"] = name_string if mode == "VLAN": @@ -637,3 +638,14 @@ def get_lanforge_data(request): "vlan": 100 } yield lanforge_data + + +@pytest.fixture(scope="function") +def update_ssid(request, instantiate_profile, setup_profile_data): + requested_profile = str(request.param).replace(" ","").split(",") + profile = setup_profile_data[requested_profile[0]][requested_profile[1]][requested_profile[2]] + status = instantiate_profile.update_ssid_name(profile_name=profile["profile_name"], new_profile_name=requested_profile[3]) + setup_profile_data[requested_profile[0]][requested_profile[1]][requested_profile[2]]["profile_name"] = requested_profile[3] + setup_profile_data[requested_profile[0]][requested_profile[1]][requested_profile[2]]["ssid_name"] = requested_profile[3] + time.sleep(90) + yield status diff --git a/tests/pytest.ini b/tests/pytest.ini index 3acce28c6..b85406ab0 100644 --- a/tests/pytest.ini +++ b/tests/pytest.ini @@ -18,7 +18,7 @@ jumphost_username=lanforge jumphost_password=lanforge # LANforge -lanforge-ip-address=192.168.200.80 +lanforge-ip-address=localhost lanforge-port-number=8080 lanforge-bridge-port=eth1 From c393eb724c3752f5c17d639c6309d483667011dd Mon Sep 17 00:00:00 2001 From: shivamcandela Date: Thu, 8 Apr 2021 21:27:02 +0530 Subject: [PATCH 44/45] pytest initial framework: some cleanup based on comments Signed-off-by: shivamcandela --- tests/configuration_data.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/configuration_data.py b/tests/configuration_data.py index c61cc72a9..8e622115f 100644 --- a/tests/configuration_data.py +++ b/tests/configuration_data.py @@ -7,7 +7,8 @@ APNOS_CREDENTIAL_DATA = { 'username': "lanforge", 'password': "lanforge", 'port': 22, - 'mode': 1 + 'mode': 1, + 'jumphost_tty': '/dev/ttyAP1' } """ From f3ea0a344a1862bab97a930703ab916d2bdd96c1 Mon Sep 17 00:00:00 2001 From: shivamcandela Date: Thu, 8 Apr 2021 21:57:32 +0530 Subject: [PATCH 45/45] Docker file naming convention Signed-off-by: shivamcandela --- tests/Dockerfile | 11 +++++++++++ tests/Dockerfile-lint | 3 +++ 2 files changed, 14 insertions(+) create mode 100644 tests/Dockerfile create mode 100644 tests/Dockerfile-lint diff --git a/tests/Dockerfile b/tests/Dockerfile new file mode 100644 index 000000000..782cd092e --- /dev/null +++ b/tests/Dockerfile @@ -0,0 +1,11 @@ +FROM python:alpine3.12 +WORKDIR /tests +COPY . /tests + +RUN mkdir ~/.pip \ + && echo "[global]" > ~/.pip/pip.conf \ + && echo "index-url = https://pypi.org/simple" >> ~/.pip/pip.conf \ + && echo "extra-index-url = https://tip-read:tip-read@tip.jfrog.io/artifactory/api/pypi/tip-wlan-python-pypi-local/simple" >> ~/.pip/pip.conf +RUN pip3 install -r requirements.txt + +ENTRYPOINT [ "/bin/sh" ] diff --git a/tests/Dockerfile-lint b/tests/Dockerfile-lint new file mode 100644 index 000000000..bcab34e7f --- /dev/null +++ b/tests/Dockerfile-lint @@ -0,0 +1,3 @@ +FROM wlan-tip-tests +RUN pip3 install pylint +ENTRYPOINT [ "pylint" ]